@spothero/ui 14.3.0 → 14.3.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/CHANGELOG.tmp +3 -3
- package/backlog/Alert/Alert.js +4 -1
- package/backlog/AutoSuggestInput/AutoSuggestInput.js +17 -10
- package/backlog/AutoSuggestInput/AutoSuggestItem.js +10 -7
- package/backlog/AutoSuggestInput/AutoSuggestList.js +12 -9
- package/backlog/Badge/Badge.js +4 -1
- package/backlog/Chart/Chart.js +17 -10
- package/backlog/Checkbox/Checkbox.js +10 -7
- package/backlog/DateTime/DatePicker.js +10 -7
- package/backlog/DateTime/DatePickerCalendar.js +10 -7
- package/backlog/DateTime/DatePickerCalendarNavigation.js +10 -7
- package/backlog/DateTime/DatePickerCalendarWithRange.js +17 -10
- package/backlog/DateTime/DateTimePicker.js +10 -7
- package/backlog/DateTime/DateTimeRangePicker.js +20 -11
- package/backlog/DateTime/TimePicker.js +10 -7
- package/backlog/DateTime/date-time-assertions.js +4 -1
- package/backlog/DateTime/index.js +15 -7
- package/backlog/ErrorBoundary/ErrorBoundary.js +10 -7
- package/backlog/Flyout/Flyout.js +21 -11
- package/backlog/Form/Form.js +13 -8
- package/backlog/Form/FormElementError.js +4 -1
- package/backlog/Form/FormGroup.js +4 -1
- package/backlog/Form/FormGroupError.js +4 -1
- package/backlog/Form/index.js +11 -5
- package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +17 -10
- package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +4 -1
- package/backlog/GooglePlacesSearchInput/index.js +7 -3
- package/backlog/HorizontalRule/HorizontalRule.js +4 -1
- package/backlog/Label/Label.js +4 -1
- package/backlog/Modal/Modal.js +22 -12
- package/backlog/Modal/ModalContent.js +10 -7
- package/backlog/Modal/ModalFooter.js +10 -7
- package/backlog/Modal/index.js +9 -4
- package/backlog/Notification/Notification.js +10 -7
- package/backlog/Notification/NotificationContainer.js +10 -7
- package/backlog/Notification/NotificationPropTypes.js +4 -1
- package/backlog/Notification/index.js +7 -3
- package/backlog/PasswordControl/PasswordControl.js +13 -8
- package/backlog/Portal/Portal.js +10 -7
- package/backlog/PulseLoader/PulseLoader.js +4 -1
- package/backlog/Radio/Radio.js +10 -7
- package/backlog/Radio/RadioGroup.js +12 -9
- package/backlog/Radio/index.js +7 -3
- package/backlog/RenderInBody/RenderInBody.js +10 -7
- package/backlog/Select/Select.js +15 -10
- package/backlog/Select/SelectItemPropTypes.js +4 -1
- package/backlog/Select/index.js +7 -3
- package/backlog/SelectControlled/SelectControlled.js +15 -10
- package/backlog/SelectControlled/index.js +5 -2
- package/backlog/Sprite/Sprite.js +4 -1
- package/backlog/Tabs/Tab.js +10 -7
- package/backlog/Tabs/TabContent.js +9 -6
- package/backlog/Tabs/TabNavigation.js +13 -8
- package/backlog/Tabs/TabPanel.js +4 -1
- package/backlog/Tabs/Tabs.js +10 -7
- package/backlog/Tabs/index.js +13 -6
- package/backlog/TextArea/TextArea.js +10 -7
- package/backlog/TextInput/TextInput.js +12 -9
- package/backlog/TextInput/TextInputPropTypes.js +4 -1
- package/backlog/TextInput/index.js +7 -3
- package/backlog/Tooltip/Tooltip.js +16 -9
- package/backlog/index.js +111 -55
- package/backlog/v1/components/Button/Button.js +4 -1
- package/backlog/v1/components/Button/button-props.js +4 -1
- package/backlog/v1/components/Image/Image.js +12 -9
- package/backlog/v1/components/Loader/Loader.js +4 -1
- package/backlog/v1/components/Panel/Panel.js +10 -7
- package/backlog/v1/components/Table/Table.js +14 -9
- package/backlog/v1/components/Table/TableCell.js +4 -1
- package/backlog/v1/components/Table/TableCellPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableControls.js +4 -1
- package/backlog/v1/components/Table/TableFooter.js +4 -1
- package/backlog/v1/components/Table/TableHeading.js +10 -7
- package/backlog/v1/components/Table/TableHeadingPropTypes.js +4 -1
- package/backlog/v1/components/Table/TableSortSelector.js +10 -7
- package/backlog/v1/components/Table/TableSortType.js +4 -1
- package/backlog/v1/components/Table/index.js +13 -6
- package/backlog/v1/components/TextButton/TextButton.js +14 -7
- package/backlog/v1/components/index.js +15 -7
- package/backlog/v1/utils/deprecate.js +8 -3
- package/package.json +3 -3
- package/styles/v2/components/index.js +1 -1
- package/v1/index-bundled.cjs.js +2 -0
- package/v1/index-bundled.cjs.js.map +1 -0
- package/v1/index-bundled.esm.js +2 -0
- package/v1/index-bundled.esm.js.map +1 -0
- package/v1/{index-unbundled-cjs/index.js → index-unbundled.cjs.js} +932 -369
- package/v1/index-unbundled.cjs.js.map +1 -0
- package/v1/{index-unbundled-esm/index.js → index-unbundled.esm.js} +929 -366
- package/v1/index-unbundled.esm.js.map +1 -0
- package/v1/index.js +2 -2
- package/v2/index-bundled.cjs.js +25 -0
- package/v2/index-bundled.cjs.js.map +1 -0
- package/v2/index-bundled.esm.js +24 -0
- package/v2/index-bundled.esm.js.map +1 -0
- package/v2/{index-unbundled-cjs/index-9768b43e.js → index-unbundled.cjs.js} +5421 -1083
- package/v2/index-unbundled.cjs.js.map +1 -0
- package/v2/{index-unbundled-esm/index-4a79ec74.js → index-unbundled.esm.js} +5405 -1016
- package/v2/index-unbundled.esm.js.map +1 -0
- package/v2/index.js +2 -2
- package/v1/index-bundled-cjs/index.js +0 -2
- package/v1/index-bundled-cjs/index.js.map +0 -1
- package/v1/index-bundled-esm/index.js +0 -2
- package/v1/index-bundled-esm/index.js.map +0 -1
- package/v1/index-unbundled-cjs/index.js.map +0 -1
- package/v1/index-unbundled-esm/index.js.map +0 -1
- package/v2/index-bundled-cjs/ImageCarousel-bfdd3dbe.js +0 -2
- package/v2/index-bundled-cjs/ImageCarousel-bfdd3dbe.js.map +0 -1
- package/v2/index-bundled-cjs/index-fa71d123.js +0 -25
- package/v2/index-bundled-cjs/index-fa71d123.js.map +0 -1
- package/v2/index-bundled-cjs/index.js +0 -2
- package/v2/index-bundled-cjs/index.js.map +0 -1
- package/v2/index-bundled-esm/ImageCarousel-367b46dd.js +0 -2
- package/v2/index-bundled-esm/ImageCarousel-367b46dd.js.map +0 -1
- package/v2/index-bundled-esm/index-b266be99.js +0 -24
- package/v2/index-bundled-esm/index-b266be99.js.map +0 -1
- package/v2/index-bundled-esm/index.js +0 -2
- package/v2/index-bundled-esm/index.js.map +0 -1
- package/v2/index-unbundled-cjs/ImageCarousel-f32232e9.js +0 -3005
- package/v2/index-unbundled-cjs/ImageCarousel-f32232e9.js.map +0 -1
- package/v2/index-unbundled-cjs/index-9768b43e.js.map +0 -1
- package/v2/index-unbundled-cjs/index.js +0 -72
- package/v2/index-unbundled-cjs/index.js.map +0 -1
- package/v2/index-unbundled-esm/ImageCarousel-df49312f.js +0 -2998
- package/v2/index-unbundled-esm/ImageCarousel-df49312f.js.map +0 -1
- package/v2/index-unbundled-esm/index-4a79ec74.js.map +0 -1
- package/v2/index-unbundled-esm/index.js +0 -7
- package/v2/index-unbundled-esm/index.js.map +0 -1
|
@@ -177,12 +177,12 @@ var indexedObject = fails(function () {
|
|
|
177
177
|
return classofRaw(it) == 'String' ? split(it, '') : Object$6(it);
|
|
178
178
|
} : Object$6;
|
|
179
179
|
|
|
180
|
-
var TypeError$
|
|
180
|
+
var TypeError$i = global_1.TypeError;
|
|
181
181
|
|
|
182
182
|
// `RequireObjectCoercible` abstract operation
|
|
183
183
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
184
184
|
var requireObjectCoercible = function (it) {
|
|
185
|
-
if (it == undefined) throw TypeError$
|
|
185
|
+
if (it == undefined) throw TypeError$i("Can't call method on " + it);
|
|
186
186
|
return it;
|
|
187
187
|
};
|
|
188
188
|
|
|
@@ -278,12 +278,12 @@ var tryToString = function (argument) {
|
|
|
278
278
|
}
|
|
279
279
|
};
|
|
280
280
|
|
|
281
|
-
var TypeError$
|
|
281
|
+
var TypeError$h = global_1.TypeError;
|
|
282
282
|
|
|
283
283
|
// `Assert: IsCallable(argument) is true`
|
|
284
284
|
var aCallable = function (argument) {
|
|
285
285
|
if (isCallable(argument)) return argument;
|
|
286
|
-
throw TypeError$
|
|
286
|
+
throw TypeError$h(tryToString(argument) + ' is not a function');
|
|
287
287
|
};
|
|
288
288
|
|
|
289
289
|
// `GetMethod` abstract operation
|
|
@@ -293,7 +293,7 @@ var getMethod = function (V, P) {
|
|
|
293
293
|
return func == null ? undefined : aCallable(func);
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
var TypeError$
|
|
296
|
+
var TypeError$g = global_1.TypeError;
|
|
297
297
|
|
|
298
298
|
// `OrdinaryToPrimitive` abstract operation
|
|
299
299
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
@@ -302,7 +302,7 @@ var ordinaryToPrimitive = function (input, pref) {
|
|
|
302
302
|
if (pref === 'string' && isCallable(fn = input.toString) && !isObject$3(val = functionCall(fn, input))) return val;
|
|
303
303
|
if (isCallable(fn = input.valueOf) && !isObject$3(val = functionCall(fn, input))) return val;
|
|
304
304
|
if (pref !== 'string' && isCallable(fn = input.toString) && !isObject$3(val = functionCall(fn, input))) return val;
|
|
305
|
-
throw TypeError$
|
|
305
|
+
throw TypeError$g("Can't convert object to primitive value");
|
|
306
306
|
};
|
|
307
307
|
|
|
308
308
|
var isPure = true;
|
|
@@ -377,7 +377,7 @@ var wellKnownSymbol = function (name) {
|
|
|
377
377
|
} return WellKnownSymbolsStore$1[name];
|
|
378
378
|
};
|
|
379
379
|
|
|
380
|
-
var TypeError$
|
|
380
|
+
var TypeError$f = global_1.TypeError;
|
|
381
381
|
var TO_PRIMITIVE$1 = wellKnownSymbol('toPrimitive');
|
|
382
382
|
|
|
383
383
|
// `ToPrimitive` abstract operation
|
|
@@ -390,7 +390,7 @@ var toPrimitive = function (input, pref) {
|
|
|
390
390
|
if (pref === undefined) pref = 'default';
|
|
391
391
|
result = functionCall(exoticToPrim, input, pref);
|
|
392
392
|
if (!isObject$3(result) || isSymbol$2(result)) return result;
|
|
393
|
-
throw TypeError$
|
|
393
|
+
throw TypeError$f("Can't convert object to primitive value");
|
|
394
394
|
}
|
|
395
395
|
if (pref === undefined) pref = 'number';
|
|
396
396
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -478,15 +478,15 @@ var v8PrototypeDefineBug = descriptors && fails(function () {
|
|
|
478
478
|
});
|
|
479
479
|
|
|
480
480
|
var String$4 = global_1.String;
|
|
481
|
-
var TypeError$
|
|
481
|
+
var TypeError$e = global_1.TypeError;
|
|
482
482
|
|
|
483
483
|
// `Assert: Type(argument) is Object`
|
|
484
484
|
var anObject = function (argument) {
|
|
485
485
|
if (isObject$3(argument)) return argument;
|
|
486
|
-
throw TypeError$
|
|
486
|
+
throw TypeError$e(String$4(argument) + ' is not an object');
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
var TypeError$
|
|
489
|
+
var TypeError$d = global_1.TypeError;
|
|
490
490
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
491
491
|
var $defineProperty$1 = Object.defineProperty;
|
|
492
492
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -519,7 +519,7 @@ var f$6 = descriptors ? v8PrototypeDefineBug ? function defineProperty(O, P, Att
|
|
|
519
519
|
if (ie8DomDefine) try {
|
|
520
520
|
return $defineProperty$1(O, P, Attributes);
|
|
521
521
|
} catch (error) { /* empty */ }
|
|
522
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
522
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$d('Accessors not supported');
|
|
523
523
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
524
524
|
return O;
|
|
525
525
|
};
|
|
@@ -750,12 +750,12 @@ var isConstructor = !construct$3 || fails(function () {
|
|
|
750
750
|
|| called;
|
|
751
751
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
752
752
|
|
|
753
|
-
var TypeError$
|
|
753
|
+
var TypeError$c = global_1.TypeError;
|
|
754
754
|
|
|
755
755
|
// `Assert: IsConstructor(argument) is true`
|
|
756
756
|
var aConstructor = function (argument) {
|
|
757
757
|
if (isConstructor(argument)) return argument;
|
|
758
|
-
throw TypeError$
|
|
758
|
+
throw TypeError$c(tryToString(argument) + ' is not a constructor');
|
|
759
759
|
};
|
|
760
760
|
|
|
761
761
|
var ceil = Math.ceil;
|
|
@@ -795,7 +795,7 @@ var lengthOfArrayLike = function (obj) {
|
|
|
795
795
|
};
|
|
796
796
|
|
|
797
797
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
798
|
-
var createMethod$
|
|
798
|
+
var createMethod$4 = function (IS_INCLUDES) {
|
|
799
799
|
return function ($this, el, fromIndex) {
|
|
800
800
|
var O = toIndexedObject($this);
|
|
801
801
|
var length = lengthOfArrayLike(O);
|
|
@@ -817,10 +817,10 @@ var createMethod$3 = function (IS_INCLUDES) {
|
|
|
817
817
|
var arrayIncludes = {
|
|
818
818
|
// `Array.prototype.includes` method
|
|
819
819
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
820
|
-
includes: createMethod$
|
|
820
|
+
includes: createMethod$4(true),
|
|
821
821
|
// `Array.prototype.indexOf` method
|
|
822
822
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
823
|
-
indexOf: createMethod$
|
|
823
|
+
indexOf: createMethod$4(false)
|
|
824
824
|
};
|
|
825
825
|
|
|
826
826
|
var hiddenKeys$1 = {};
|
|
@@ -1023,6 +1023,126 @@ var construct$1 = construct$2;
|
|
|
1023
1023
|
|
|
1024
1024
|
var construct = construct$1;
|
|
1025
1025
|
|
|
1026
|
+
// `IsArray` abstract operation
|
|
1027
|
+
// https://tc39.es/ecma262/#sec-isarray
|
|
1028
|
+
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1029
|
+
var isArray$5 = Array.isArray || function isArray(argument) {
|
|
1030
|
+
return classofRaw(argument) == 'Array';
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
var createProperty = function (object, key, value) {
|
|
1034
|
+
var propertyKey = toPropertyKey(key);
|
|
1035
|
+
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1036
|
+
else object[propertyKey] = value;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
var SPECIES$5 = wellKnownSymbol('species');
|
|
1040
|
+
var Array$4 = global_1.Array;
|
|
1041
|
+
|
|
1042
|
+
// a part of `ArraySpeciesCreate` abstract operation
|
|
1043
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1044
|
+
var arraySpeciesConstructor = function (originalArray) {
|
|
1045
|
+
var C;
|
|
1046
|
+
if (isArray$5(originalArray)) {
|
|
1047
|
+
C = originalArray.constructor;
|
|
1048
|
+
// cross-realm fallback
|
|
1049
|
+
if (isConstructor(C) && (C === Array$4 || isArray$5(C.prototype))) C = undefined;
|
|
1050
|
+
else if (isObject$3(C)) {
|
|
1051
|
+
C = C[SPECIES$5];
|
|
1052
|
+
if (C === null) C = undefined;
|
|
1053
|
+
}
|
|
1054
|
+
} return C === undefined ? Array$4 : C;
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1057
|
+
// `ArraySpeciesCreate` abstract operation
|
|
1058
|
+
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1059
|
+
var arraySpeciesCreate = function (originalArray, length) {
|
|
1060
|
+
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
var SPECIES$4 = wellKnownSymbol('species');
|
|
1064
|
+
|
|
1065
|
+
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
|
1066
|
+
// We can't use this feature detection in V8 since it causes
|
|
1067
|
+
// deoptimization and serious performance degradation
|
|
1068
|
+
// https://github.com/zloirock/core-js/issues/677
|
|
1069
|
+
return engineV8Version >= 51 || !fails(function () {
|
|
1070
|
+
var array = [];
|
|
1071
|
+
var constructor = array.constructor = {};
|
|
1072
|
+
constructor[SPECIES$4] = function () {
|
|
1073
|
+
return { foo: 1 };
|
|
1074
|
+
};
|
|
1075
|
+
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
1076
|
+
});
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
1080
|
+
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
1081
|
+
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
1082
|
+
var TypeError$b = global_1.TypeError;
|
|
1083
|
+
|
|
1084
|
+
// We can't use this feature detection in V8 since it causes
|
|
1085
|
+
// deoptimization and serious performance degradation
|
|
1086
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
1087
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
|
|
1088
|
+
var array = [];
|
|
1089
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
1090
|
+
return array.concat()[0] !== array;
|
|
1091
|
+
});
|
|
1092
|
+
|
|
1093
|
+
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
1094
|
+
|
|
1095
|
+
var isConcatSpreadable = function (O) {
|
|
1096
|
+
if (!isObject$3(O)) return false;
|
|
1097
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
1098
|
+
return spreadable !== undefined ? !!spreadable : isArray$5(O);
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
var FORCED$3 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
1102
|
+
|
|
1103
|
+
// `Array.prototype.concat` method
|
|
1104
|
+
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
1105
|
+
// with adding support of @@isConcatSpreadable and @@species
|
|
1106
|
+
_export({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
1107
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1108
|
+
concat: function concat(arg) {
|
|
1109
|
+
var O = toObject(this);
|
|
1110
|
+
var A = arraySpeciesCreate(O, 0);
|
|
1111
|
+
var n = 0;
|
|
1112
|
+
var i, k, length, len, E;
|
|
1113
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
1114
|
+
E = i === -1 ? O : arguments[i];
|
|
1115
|
+
if (isConcatSpreadable(E)) {
|
|
1116
|
+
len = lengthOfArrayLike(E);
|
|
1117
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError$b(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
1118
|
+
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
1119
|
+
} else {
|
|
1120
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError$b(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
1121
|
+
createProperty(A, n++, E);
|
|
1122
|
+
}
|
|
1123
|
+
}
|
|
1124
|
+
A.length = n;
|
|
1125
|
+
return A;
|
|
1126
|
+
}
|
|
1127
|
+
});
|
|
1128
|
+
|
|
1129
|
+
var entryVirtual = function (CONSTRUCTOR) {
|
|
1130
|
+
return path[CONSTRUCTOR + 'Prototype'];
|
|
1131
|
+
};
|
|
1132
|
+
|
|
1133
|
+
var concat$5 = entryVirtual('Array').concat;
|
|
1134
|
+
|
|
1135
|
+
var ArrayPrototype$a = Array.prototype;
|
|
1136
|
+
|
|
1137
|
+
var concat$4 = function (it) {
|
|
1138
|
+
var own = it.concat;
|
|
1139
|
+
return it === ArrayPrototype$a || (objectIsPrototypeOf(ArrayPrototype$a, it) && own === ArrayPrototype$a.concat) ? concat$5 : own;
|
|
1140
|
+
};
|
|
1141
|
+
|
|
1142
|
+
var concat$3 = concat$4;
|
|
1143
|
+
|
|
1144
|
+
var concat$2 = concat$3;
|
|
1145
|
+
|
|
1026
1146
|
function _classCallCheck(instance, Constructor) {
|
|
1027
1147
|
if (!(instance instanceof Constructor)) {
|
|
1028
1148
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -1177,109 +1297,6 @@ function _inherits(subClass, superClass) {
|
|
|
1177
1297
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
1178
1298
|
}
|
|
1179
1299
|
|
|
1180
|
-
// `IsArray` abstract operation
|
|
1181
|
-
// https://tc39.es/ecma262/#sec-isarray
|
|
1182
|
-
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
1183
|
-
var isArray$5 = Array.isArray || function isArray(argument) {
|
|
1184
|
-
return classofRaw(argument) == 'Array';
|
|
1185
|
-
};
|
|
1186
|
-
|
|
1187
|
-
var createProperty = function (object, key, value) {
|
|
1188
|
-
var propertyKey = toPropertyKey(key);
|
|
1189
|
-
if (propertyKey in object) objectDefineProperty.f(object, propertyKey, createPropertyDescriptor(0, value));
|
|
1190
|
-
else object[propertyKey] = value;
|
|
1191
|
-
};
|
|
1192
|
-
|
|
1193
|
-
var SPECIES$5 = wellKnownSymbol('species');
|
|
1194
|
-
var Array$4 = global_1.Array;
|
|
1195
|
-
|
|
1196
|
-
// a part of `ArraySpeciesCreate` abstract operation
|
|
1197
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1198
|
-
var arraySpeciesConstructor = function (originalArray) {
|
|
1199
|
-
var C;
|
|
1200
|
-
if (isArray$5(originalArray)) {
|
|
1201
|
-
C = originalArray.constructor;
|
|
1202
|
-
// cross-realm fallback
|
|
1203
|
-
if (isConstructor(C) && (C === Array$4 || isArray$5(C.prototype))) C = undefined;
|
|
1204
|
-
else if (isObject$3(C)) {
|
|
1205
|
-
C = C[SPECIES$5];
|
|
1206
|
-
if (C === null) C = undefined;
|
|
1207
|
-
}
|
|
1208
|
-
} return C === undefined ? Array$4 : C;
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
// `ArraySpeciesCreate` abstract operation
|
|
1212
|
-
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
1213
|
-
var arraySpeciesCreate = function (originalArray, length) {
|
|
1214
|
-
return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);
|
|
1215
|
-
};
|
|
1216
|
-
|
|
1217
|
-
var SPECIES$4 = wellKnownSymbol('species');
|
|
1218
|
-
|
|
1219
|
-
var arrayMethodHasSpeciesSupport = function (METHOD_NAME) {
|
|
1220
|
-
// We can't use this feature detection in V8 since it causes
|
|
1221
|
-
// deoptimization and serious performance degradation
|
|
1222
|
-
// https://github.com/zloirock/core-js/issues/677
|
|
1223
|
-
return engineV8Version >= 51 || !fails(function () {
|
|
1224
|
-
var array = [];
|
|
1225
|
-
var constructor = array.constructor = {};
|
|
1226
|
-
constructor[SPECIES$4] = function () {
|
|
1227
|
-
return { foo: 1 };
|
|
1228
|
-
};
|
|
1229
|
-
return array[METHOD_NAME](Boolean).foo !== 1;
|
|
1230
|
-
});
|
|
1231
|
-
};
|
|
1232
|
-
|
|
1233
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
1234
|
-
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
1235
|
-
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
1236
|
-
var TypeError$9 = global_1.TypeError;
|
|
1237
|
-
|
|
1238
|
-
// We can't use this feature detection in V8 since it causes
|
|
1239
|
-
// deoptimization and serious performance degradation
|
|
1240
|
-
// https://github.com/zloirock/core-js/issues/679
|
|
1241
|
-
var IS_CONCAT_SPREADABLE_SUPPORT = engineV8Version >= 51 || !fails(function () {
|
|
1242
|
-
var array = [];
|
|
1243
|
-
array[IS_CONCAT_SPREADABLE] = false;
|
|
1244
|
-
return array.concat()[0] !== array;
|
|
1245
|
-
});
|
|
1246
|
-
|
|
1247
|
-
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
1248
|
-
|
|
1249
|
-
var isConcatSpreadable = function (O) {
|
|
1250
|
-
if (!isObject$3(O)) return false;
|
|
1251
|
-
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
1252
|
-
return spreadable !== undefined ? !!spreadable : isArray$5(O);
|
|
1253
|
-
};
|
|
1254
|
-
|
|
1255
|
-
var FORCED$3 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
1256
|
-
|
|
1257
|
-
// `Array.prototype.concat` method
|
|
1258
|
-
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
1259
|
-
// with adding support of @@isConcatSpreadable and @@species
|
|
1260
|
-
_export({ target: 'Array', proto: true, forced: FORCED$3 }, {
|
|
1261
|
-
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
1262
|
-
concat: function concat(arg) {
|
|
1263
|
-
var O = toObject(this);
|
|
1264
|
-
var A = arraySpeciesCreate(O, 0);
|
|
1265
|
-
var n = 0;
|
|
1266
|
-
var i, k, length, len, E;
|
|
1267
|
-
for (i = -1, length = arguments.length; i < length; i++) {
|
|
1268
|
-
E = i === -1 ? O : arguments[i];
|
|
1269
|
-
if (isConcatSpreadable(E)) {
|
|
1270
|
-
len = lengthOfArrayLike(E);
|
|
1271
|
-
if (n + len > MAX_SAFE_INTEGER) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
1272
|
-
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
1273
|
-
} else {
|
|
1274
|
-
if (n >= MAX_SAFE_INTEGER) throw TypeError$9(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
1275
|
-
createProperty(A, n++, E);
|
|
1276
|
-
}
|
|
1277
|
-
}
|
|
1278
|
-
A.length = n;
|
|
1279
|
-
return A;
|
|
1280
|
-
}
|
|
1281
|
-
});
|
|
1282
|
-
|
|
1283
1300
|
var String$2 = global_1.String;
|
|
1284
1301
|
|
|
1285
1302
|
var toString_1 = function (argument) {
|
|
@@ -1399,7 +1416,7 @@ var WeakMap$1 = global_1.WeakMap;
|
|
|
1399
1416
|
var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
|
|
1400
1417
|
|
|
1401
1418
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1402
|
-
var TypeError$
|
|
1419
|
+
var TypeError$9 = global_1.TypeError;
|
|
1403
1420
|
var WeakMap = global_1.WeakMap;
|
|
1404
1421
|
var set$1, get, has;
|
|
1405
1422
|
|
|
@@ -1411,7 +1428,7 @@ var getterFor = function (TYPE) {
|
|
|
1411
1428
|
return function (it) {
|
|
1412
1429
|
var state;
|
|
1413
1430
|
if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
|
|
1414
|
-
throw TypeError$
|
|
1431
|
+
throw TypeError$9('Incompatible receiver, ' + TYPE + ' required');
|
|
1415
1432
|
} return state;
|
|
1416
1433
|
};
|
|
1417
1434
|
};
|
|
@@ -1422,7 +1439,7 @@ if (nativeWeakMap || sharedStore.state) {
|
|
|
1422
1439
|
var wmhas = functionUncurryThis(store.has);
|
|
1423
1440
|
var wmset = functionUncurryThis(store.set);
|
|
1424
1441
|
set$1 = function (it, metadata) {
|
|
1425
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
1442
|
+
if (wmhas(store, it)) throw new TypeError$9(OBJECT_ALREADY_INITIALIZED);
|
|
1426
1443
|
metadata.facade = it;
|
|
1427
1444
|
wmset(store, it, metadata);
|
|
1428
1445
|
return metadata;
|
|
@@ -1437,7 +1454,7 @@ if (nativeWeakMap || sharedStore.state) {
|
|
|
1437
1454
|
var STATE = sharedKey('state');
|
|
1438
1455
|
hiddenKeys$1[STATE] = true;
|
|
1439
1456
|
set$1 = function (it, metadata) {
|
|
1440
|
-
if (hasOwnProperty_1(it, STATE)) throw new TypeError$
|
|
1457
|
+
if (hasOwnProperty_1(it, STATE)) throw new TypeError$9(OBJECT_ALREADY_INITIALIZED);
|
|
1441
1458
|
metadata.facade = it;
|
|
1442
1459
|
createNonEnumerableProperty(it, STATE, metadata);
|
|
1443
1460
|
return metadata;
|
|
@@ -1461,7 +1478,7 @@ var internalState = {
|
|
|
1461
1478
|
var push$2 = functionUncurryThis([].push);
|
|
1462
1479
|
|
|
1463
1480
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
1464
|
-
var createMethod$
|
|
1481
|
+
var createMethod$3 = function (TYPE) {
|
|
1465
1482
|
var IS_MAP = TYPE == 1;
|
|
1466
1483
|
var IS_FILTER = TYPE == 2;
|
|
1467
1484
|
var IS_SOME = TYPE == 3;
|
|
@@ -1501,28 +1518,28 @@ var createMethod$2 = function (TYPE) {
|
|
|
1501
1518
|
var arrayIteration = {
|
|
1502
1519
|
// `Array.prototype.forEach` method
|
|
1503
1520
|
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
1504
|
-
forEach: createMethod$
|
|
1521
|
+
forEach: createMethod$3(0),
|
|
1505
1522
|
// `Array.prototype.map` method
|
|
1506
1523
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
1507
|
-
map: createMethod$
|
|
1524
|
+
map: createMethod$3(1),
|
|
1508
1525
|
// `Array.prototype.filter` method
|
|
1509
1526
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
1510
|
-
filter: createMethod$
|
|
1527
|
+
filter: createMethod$3(2),
|
|
1511
1528
|
// `Array.prototype.some` method
|
|
1512
1529
|
// https://tc39.es/ecma262/#sec-array.prototype.some
|
|
1513
|
-
some: createMethod$
|
|
1530
|
+
some: createMethod$3(3),
|
|
1514
1531
|
// `Array.prototype.every` method
|
|
1515
1532
|
// https://tc39.es/ecma262/#sec-array.prototype.every
|
|
1516
|
-
every: createMethod$
|
|
1533
|
+
every: createMethod$3(4),
|
|
1517
1534
|
// `Array.prototype.find` method
|
|
1518
1535
|
// https://tc39.es/ecma262/#sec-array.prototype.find
|
|
1519
|
-
find: createMethod$
|
|
1536
|
+
find: createMethod$3(5),
|
|
1520
1537
|
// `Array.prototype.findIndex` method
|
|
1521
1538
|
// https://tc39.es/ecma262/#sec-array.prototype.findIndex
|
|
1522
|
-
findIndex: createMethod$
|
|
1539
|
+
findIndex: createMethod$3(6),
|
|
1523
1540
|
// `Array.prototype.filterReject` method
|
|
1524
1541
|
// https://github.com/tc39/proposal-array-filtering
|
|
1525
|
-
filterReject: createMethod$
|
|
1542
|
+
filterReject: createMethod$3(7)
|
|
1526
1543
|
};
|
|
1527
1544
|
|
|
1528
1545
|
var $forEach$1 = arrayIteration.forEach;
|
|
@@ -1538,7 +1555,7 @@ var getInternalState$3 = internalState.getterFor(SYMBOL);
|
|
|
1538
1555
|
var ObjectPrototype$1 = Object[PROTOTYPE];
|
|
1539
1556
|
var $Symbol = global_1.Symbol;
|
|
1540
1557
|
var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE];
|
|
1541
|
-
var TypeError$
|
|
1558
|
+
var TypeError$8 = global_1.TypeError;
|
|
1542
1559
|
var QObject = global_1.QObject;
|
|
1543
1560
|
var $stringify = getBuiltIn('JSON', 'stringify');
|
|
1544
1561
|
var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
@@ -1655,7 +1672,7 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) {
|
|
|
1655
1672
|
// https://tc39.es/ecma262/#sec-symbol-constructor
|
|
1656
1673
|
if (!nativeSymbol) {
|
|
1657
1674
|
$Symbol = function Symbol() {
|
|
1658
|
-
if (objectIsPrototypeOf(SymbolPrototype, this)) throw TypeError$
|
|
1675
|
+
if (objectIsPrototypeOf(SymbolPrototype, this)) throw TypeError$8('Symbol is not a constructor');
|
|
1659
1676
|
var description = !arguments.length || arguments[0] === undefined ? undefined : toString_1(arguments[0]);
|
|
1660
1677
|
var tag = uid(description);
|
|
1661
1678
|
var setter = function (value) {
|
|
@@ -1721,7 +1738,7 @@ _export({ target: SYMBOL, stat: true, forced: !nativeSymbol }, {
|
|
|
1721
1738
|
// `Symbol.keyFor` method
|
|
1722
1739
|
// https://tc39.es/ecma262/#sec-symbol.keyfor
|
|
1723
1740
|
keyFor: function keyFor(sym) {
|
|
1724
|
-
if (!isSymbol$2(sym)) throw TypeError$
|
|
1741
|
+
if (!isSymbol$2(sym)) throw TypeError$8(sym + ' is not a symbol');
|
|
1725
1742
|
if (hasOwnProperty_1(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym];
|
|
1726
1743
|
},
|
|
1727
1744
|
useSetter: function () { USE_SETTER = true; },
|
|
@@ -2169,7 +2186,7 @@ var charAt$1 = functionUncurryThis(''.charAt);
|
|
|
2169
2186
|
var charCodeAt = functionUncurryThis(''.charCodeAt);
|
|
2170
2187
|
var stringSlice = functionUncurryThis(''.slice);
|
|
2171
2188
|
|
|
2172
|
-
var createMethod$
|
|
2189
|
+
var createMethod$2 = function (CONVERT_TO_STRING) {
|
|
2173
2190
|
return function ($this, pos) {
|
|
2174
2191
|
var S = toString_1(requireObjectCoercible($this));
|
|
2175
2192
|
var position = toIntegerOrInfinity(pos);
|
|
@@ -2191,10 +2208,10 @@ var createMethod$1 = function (CONVERT_TO_STRING) {
|
|
|
2191
2208
|
var stringMultibyte = {
|
|
2192
2209
|
// `String.prototype.codePointAt` method
|
|
2193
2210
|
// https://tc39.es/ecma262/#sec-string.prototype.codepointat
|
|
2194
|
-
codeAt: createMethod$
|
|
2211
|
+
codeAt: createMethod$2(false),
|
|
2195
2212
|
// `String.prototype.at` method
|
|
2196
2213
|
// https://github.com/mathiasbynens/String.prototype.at
|
|
2197
|
-
charAt: createMethod$
|
|
2214
|
+
charAt: createMethod$2(true)
|
|
2198
2215
|
};
|
|
2199
2216
|
|
|
2200
2217
|
var charAt = stringMultibyte.charAt;
|
|
@@ -2303,23 +2320,6 @@ function _defineProperty(obj, key, value) {
|
|
|
2303
2320
|
return obj;
|
|
2304
2321
|
}
|
|
2305
2322
|
|
|
2306
|
-
var entryVirtual = function (CONSTRUCTOR) {
|
|
2307
|
-
return path[CONSTRUCTOR + 'Prototype'];
|
|
2308
|
-
};
|
|
2309
|
-
|
|
2310
|
-
var concat$5 = entryVirtual('Array').concat;
|
|
2311
|
-
|
|
2312
|
-
var ArrayPrototype$9 = Array.prototype;
|
|
2313
|
-
|
|
2314
|
-
var concat$4 = function (it) {
|
|
2315
|
-
var own = it.concat;
|
|
2316
|
-
return it === ArrayPrototype$9 || (objectIsPrototypeOf(ArrayPrototype$9, it) && own === ArrayPrototype$9.concat) ? concat$5 : own;
|
|
2317
|
-
};
|
|
2318
|
-
|
|
2319
|
-
var concat$3 = concat$4;
|
|
2320
|
-
|
|
2321
|
-
var concat$2 = concat$3;
|
|
2322
|
-
|
|
2323
2323
|
var mapToZero_1 = createCommonjsModule(function (module, exports) {
|
|
2324
2324
|
|
|
2325
2325
|
exports.__esModule = true;
|
|
@@ -4395,11 +4395,11 @@ internalMetadata.getWeakData;
|
|
|
4395
4395
|
internalMetadata.onFreeze;
|
|
4396
4396
|
|
|
4397
4397
|
var ITERATOR$3 = wellKnownSymbol('iterator');
|
|
4398
|
-
var ArrayPrototype$
|
|
4398
|
+
var ArrayPrototype$9 = Array.prototype;
|
|
4399
4399
|
|
|
4400
4400
|
// check on default Array iterator
|
|
4401
4401
|
var isArrayIteratorMethod = function (it) {
|
|
4402
|
-
return it !== undefined && (iterators.Array === it || ArrayPrototype$
|
|
4402
|
+
return it !== undefined && (iterators.Array === it || ArrayPrototype$9[ITERATOR$3] === it);
|
|
4403
4403
|
};
|
|
4404
4404
|
|
|
4405
4405
|
var ITERATOR$2 = wellKnownSymbol('iterator');
|
|
@@ -4410,12 +4410,12 @@ var getIteratorMethod$4 = function (it) {
|
|
|
4410
4410
|
|| iterators[classof(it)];
|
|
4411
4411
|
};
|
|
4412
4412
|
|
|
4413
|
-
var TypeError$
|
|
4413
|
+
var TypeError$7 = global_1.TypeError;
|
|
4414
4414
|
|
|
4415
4415
|
var getIterator = function (argument, usingIterator) {
|
|
4416
4416
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$4(argument) : usingIterator;
|
|
4417
4417
|
if (aCallable(iteratorMethod)) return anObject(functionCall(iteratorMethod, argument));
|
|
4418
|
-
throw TypeError$
|
|
4418
|
+
throw TypeError$7(tryToString(argument) + ' is not iterable');
|
|
4419
4419
|
};
|
|
4420
4420
|
|
|
4421
4421
|
var iteratorClose = function (iterator, kind, value) {
|
|
@@ -4438,7 +4438,7 @@ var iteratorClose = function (iterator, kind, value) {
|
|
|
4438
4438
|
return value;
|
|
4439
4439
|
};
|
|
4440
4440
|
|
|
4441
|
-
var TypeError$
|
|
4441
|
+
var TypeError$6 = global_1.TypeError;
|
|
4442
4442
|
|
|
4443
4443
|
var Result = function (stopped, result) {
|
|
4444
4444
|
this.stopped = stopped;
|
|
@@ -4471,7 +4471,7 @@ var iterate = function (iterable, unboundFunction, options) {
|
|
|
4471
4471
|
iterator = iterable;
|
|
4472
4472
|
} else {
|
|
4473
4473
|
iterFn = getIteratorMethod$4(iterable);
|
|
4474
|
-
if (!iterFn) throw TypeError$
|
|
4474
|
+
if (!iterFn) throw TypeError$6(tryToString(iterable) + ' is not iterable');
|
|
4475
4475
|
// optimisation for array iterators
|
|
4476
4476
|
if (isArrayIteratorMethod(iterFn)) {
|
|
4477
4477
|
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
@@ -4493,11 +4493,11 @@ var iterate = function (iterable, unboundFunction, options) {
|
|
|
4493
4493
|
} return new Result(false);
|
|
4494
4494
|
};
|
|
4495
4495
|
|
|
4496
|
-
var TypeError$
|
|
4496
|
+
var TypeError$5 = global_1.TypeError;
|
|
4497
4497
|
|
|
4498
4498
|
var anInstance = function (it, Prototype) {
|
|
4499
4499
|
if (objectIsPrototypeOf(Prototype, it)) return it;
|
|
4500
|
-
throw TypeError$
|
|
4500
|
+
throw TypeError$5('Incorrect invocation');
|
|
4501
4501
|
};
|
|
4502
4502
|
|
|
4503
4503
|
var defineProperty$2 = objectDefineProperty.f;
|
|
@@ -4999,11 +4999,11 @@ var $IndexOf = arrayIncludes.indexOf;
|
|
|
4999
4999
|
var un$IndexOf = functionUncurryThis([].indexOf);
|
|
5000
5000
|
|
|
5001
5001
|
var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0;
|
|
5002
|
-
var STRICT_METHOD$
|
|
5002
|
+
var STRICT_METHOD$3 = arrayMethodIsStrict('indexOf');
|
|
5003
5003
|
|
|
5004
5004
|
// `Array.prototype.indexOf` method
|
|
5005
5005
|
// https://tc39.es/ecma262/#sec-array.prototype.indexof
|
|
5006
|
-
_export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$
|
|
5006
|
+
_export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$3 }, {
|
|
5007
5007
|
indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
|
|
5008
5008
|
var fromIndex = arguments.length > 1 ? arguments[1] : undefined;
|
|
5009
5009
|
return NEGATIVE_ZERO
|
|
@@ -5015,11 +5015,11 @@ _export({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD$
|
|
|
5015
5015
|
|
|
5016
5016
|
var indexOf$5 = entryVirtual('Array').indexOf;
|
|
5017
5017
|
|
|
5018
|
-
var ArrayPrototype$
|
|
5018
|
+
var ArrayPrototype$8 = Array.prototype;
|
|
5019
5019
|
|
|
5020
5020
|
var indexOf$4 = function (it) {
|
|
5021
5021
|
var own = it.indexOf;
|
|
5022
|
-
return it === ArrayPrototype$
|
|
5022
|
+
return it === ArrayPrototype$8 || (objectIsPrototypeOf(ArrayPrototype$8, it) && own === ArrayPrototype$8.indexOf) ? indexOf$5 : own;
|
|
5023
5023
|
};
|
|
5024
5024
|
|
|
5025
5025
|
var indexOf$3 = indexOf$4;
|
|
@@ -5086,6 +5086,14 @@ function _objectWithoutProperties(source, excluded) {
|
|
|
5086
5086
|
return target;
|
|
5087
5087
|
}
|
|
5088
5088
|
|
|
5089
|
+
(function () {
|
|
5090
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
5091
|
+
enterModule && enterModule(module);
|
|
5092
|
+
})();
|
|
5093
|
+
|
|
5094
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
5095
|
+
return a;
|
|
5096
|
+
};
|
|
5089
5097
|
var props = {
|
|
5090
5098
|
/** Additional class(es) to add to the component. */
|
|
5091
5099
|
className: PropTypes__default['default'].string,
|
|
@@ -5121,6 +5129,61 @@ var props = {
|
|
|
5121
5129
|
/** Determines if the underlying HTML element should be an <a> or <button>. */
|
|
5122
5130
|
asAnchor: PropTypes__default['default'].bool
|
|
5123
5131
|
};
|
|
5132
|
+
var _default$c = props;
|
|
5133
|
+
|
|
5134
|
+
(function () {
|
|
5135
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
5136
|
+
|
|
5137
|
+
if (!reactHotLoader) {
|
|
5138
|
+
return;
|
|
5139
|
+
}
|
|
5140
|
+
|
|
5141
|
+
reactHotLoader.register(props, "props", "/tmp/build/d4767a07/beta-pr/src/v1/components/Button/button-props.js");
|
|
5142
|
+
reactHotLoader.register(_default$c, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Button/button-props.js");
|
|
5143
|
+
})();
|
|
5144
|
+
|
|
5145
|
+
(function () {
|
|
5146
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
5147
|
+
leaveModule && leaveModule(module);
|
|
5148
|
+
})();
|
|
5149
|
+
|
|
5150
|
+
var $forEach = arrayIteration.forEach;
|
|
5151
|
+
|
|
5152
|
+
|
|
5153
|
+
var STRICT_METHOD$2 = arrayMethodIsStrict('forEach');
|
|
5154
|
+
|
|
5155
|
+
// `Array.prototype.forEach` method implementation
|
|
5156
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
5157
|
+
var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg */) {
|
|
5158
|
+
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
5159
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
5160
|
+
} : [].forEach;
|
|
5161
|
+
|
|
5162
|
+
// `Array.prototype.forEach` method
|
|
5163
|
+
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
5164
|
+
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
5165
|
+
_export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, {
|
|
5166
|
+
forEach: arrayForEach
|
|
5167
|
+
});
|
|
5168
|
+
|
|
5169
|
+
var forEach$3 = entryVirtual('Array').forEach;
|
|
5170
|
+
|
|
5171
|
+
var forEach$2 = forEach$3;
|
|
5172
|
+
|
|
5173
|
+
var ArrayPrototype$7 = Array.prototype;
|
|
5174
|
+
|
|
5175
|
+
var DOMIterables = {
|
|
5176
|
+
DOMTokenList: true,
|
|
5177
|
+
NodeList: true
|
|
5178
|
+
};
|
|
5179
|
+
|
|
5180
|
+
var forEach$1 = function (it) {
|
|
5181
|
+
var own = it.forEach;
|
|
5182
|
+
return it === ArrayPrototype$7 || (objectIsPrototypeOf(ArrayPrototype$7, it) && own === ArrayPrototype$7.forEach)
|
|
5183
|
+
|| hasOwnProperty_1(DOMIterables, classof(it)) ? forEach$2 : own;
|
|
5184
|
+
};
|
|
5185
|
+
|
|
5186
|
+
var forEach = forEach$1;
|
|
5124
5187
|
|
|
5125
5188
|
var $includes = arrayIncludes.includes;
|
|
5126
5189
|
|
|
@@ -5144,11 +5207,11 @@ var isRegexp = function (it) {
|
|
|
5144
5207
|
return isObject$3(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classofRaw(it) == 'RegExp');
|
|
5145
5208
|
};
|
|
5146
5209
|
|
|
5147
|
-
var TypeError$
|
|
5210
|
+
var TypeError$4 = global_1.TypeError;
|
|
5148
5211
|
|
|
5149
5212
|
var notARegexp = function (it) {
|
|
5150
5213
|
if (isRegexp(it)) {
|
|
5151
|
-
throw TypeError$
|
|
5214
|
+
throw TypeError$4("The method doesn't accept regular expressions");
|
|
5152
5215
|
} return it;
|
|
5153
5216
|
};
|
|
5154
5217
|
|
|
@@ -5197,6 +5260,15 @@ var includes$1 = includes$2;
|
|
|
5197
5260
|
|
|
5198
5261
|
var includes = includes$1;
|
|
5199
5262
|
|
|
5263
|
+
(function () {
|
|
5264
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
5265
|
+
enterModule && enterModule(module);
|
|
5266
|
+
})();
|
|
5267
|
+
|
|
5268
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
5269
|
+
return a;
|
|
5270
|
+
};
|
|
5271
|
+
|
|
5200
5272
|
/* eslint-disable no-console */
|
|
5201
5273
|
|
|
5202
5274
|
/* eslint-disable no-undef */
|
|
@@ -5237,14 +5309,44 @@ var deprecate = function deprecate(_ref) {
|
|
|
5237
5309
|
|
|
5238
5310
|
console.group('DEPRECATION WARNING:');
|
|
5239
5311
|
console.log(concat$2(_context = "This component, ".concat(name, ", is now deprecated. Please use the v2 ")).call(_context, newName ? newName : name, " instead."));
|
|
5240
|
-
|
|
5312
|
+
|
|
5313
|
+
forEach(changes).call(changes, function (change) {
|
|
5241
5314
|
return console.log(change);
|
|
5242
5315
|
});
|
|
5316
|
+
|
|
5243
5317
|
console.groupEnd('DEPRECATION WARNING:');
|
|
5244
5318
|
};
|
|
5245
5319
|
|
|
5320
|
+
var _default$b = deprecate;
|
|
5321
|
+
|
|
5322
|
+
(function () {
|
|
5323
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
5324
|
+
|
|
5325
|
+
if (!reactHotLoader) {
|
|
5326
|
+
return;
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
reactHotLoader.register(DEPRECATION_LIST, "DEPRECATION_LIST", "/tmp/build/d4767a07/beta-pr/src/v1/utils/deprecate.js");
|
|
5330
|
+
reactHotLoader.register(deprecate, "deprecate", "/tmp/build/d4767a07/beta-pr/src/v1/utils/deprecate.js");
|
|
5331
|
+
reactHotLoader.register(_default$b, "default", "/tmp/build/d4767a07/beta-pr/src/v1/utils/deprecate.js");
|
|
5332
|
+
})();
|
|
5333
|
+
|
|
5334
|
+
(function () {
|
|
5335
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
5336
|
+
leaveModule && leaveModule(module);
|
|
5337
|
+
})();
|
|
5338
|
+
|
|
5246
5339
|
var _excluded$4 = ["className", "color", "iconPosition", "block", "loading", "asAnchor", "type"];
|
|
5247
|
-
|
|
5340
|
+
|
|
5341
|
+
(function () {
|
|
5342
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
5343
|
+
enterModule && enterModule(module);
|
|
5344
|
+
})();
|
|
5345
|
+
|
|
5346
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
5347
|
+
return a;
|
|
5348
|
+
};
|
|
5349
|
+
_default$b({
|
|
5248
5350
|
name: 'Button',
|
|
5249
5351
|
changes: ['iconPosition has been removed, iconLeft and iconRight have replaced it.', 'color is now variant and takes in new values.', 'block was removed, if full width is needed, use isFullWidth', 'loading was replaced by isLoading']
|
|
5250
5352
|
});
|
|
@@ -5280,20 +5382,41 @@ var Button = function Button(_ref) {
|
|
|
5280
5382
|
}, attrs));
|
|
5281
5383
|
};
|
|
5282
5384
|
|
|
5283
|
-
|
|
5284
|
-
Button.propTypes = props;
|
|
5385
|
+
Button.propTypes = _default$c;
|
|
5285
5386
|
Button.defaultProps = {
|
|
5286
5387
|
type: 'button'
|
|
5287
5388
|
};
|
|
5389
|
+
var _default$a = Button;
|
|
5390
|
+
|
|
5391
|
+
(function () {
|
|
5392
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
5393
|
+
|
|
5394
|
+
if (!reactHotLoader) {
|
|
5395
|
+
return;
|
|
5396
|
+
}
|
|
5288
5397
|
|
|
5289
|
-
|
|
5398
|
+
reactHotLoader.register(Button, "Button", "/tmp/build/d4767a07/beta-pr/src/v1/components/Button/Button.jsx");
|
|
5399
|
+
reactHotLoader.register(_default$a, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Button/Button.jsx");
|
|
5400
|
+
})();
|
|
5290
5401
|
|
|
5291
|
-
|
|
5402
|
+
(function () {
|
|
5403
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
5404
|
+
leaveModule && leaveModule(module);
|
|
5405
|
+
})();
|
|
5406
|
+
|
|
5407
|
+
(function () {
|
|
5408
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
5409
|
+
enterModule && enterModule(module);
|
|
5410
|
+
})();
|
|
5292
5411
|
|
|
5293
5412
|
function _createSuper$5(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$5(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5294
5413
|
|
|
5295
5414
|
function _isNativeReflectConstruct$5() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5296
|
-
|
|
5415
|
+
|
|
5416
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
5417
|
+
return a;
|
|
5418
|
+
};
|
|
5419
|
+
_default$b({
|
|
5297
5420
|
name: 'Panel',
|
|
5298
5421
|
newName: 'Accordion',
|
|
5299
5422
|
changes: ['---- Props ----', 'Use allowMultiple to let multiple items show as expanded at a time', 'Use allowToggle to allow items within the accordion, so any expanded accordion item can be collapsed again', 'instead of isOpen now use, defaultIndex, index to achieve the same effect', 'Use defaultIndex to set the initial index(es) of the expanded accordion item', 'Use index to set the index(es) of the expanded accordion item', 'onChange is the callback invoked when accordion items are expanded or collapsed', 'Use isDisabled to disable an AccordionItem', 'Use isFocusable to allow an AccordionItem to be focusable', 'The pseudo style props _expanded, _disabled, _hover can be passed into the AccordionButton to style it', '---- Changes in v2 component ----', 'Accordion (v2) now uses multiple components in order to parody this component', 'In Accordion (v2), there is no longer the option to pass in a custom icon', 'In Accordion (v2), the Title and Icon are now placed as children of AccordionButton component to enable the whole row to be clickable', 'The AccordionButton should be placed within a Heading component for markup and styling (v2/components/Heading)', 'In Accordion (v2), the Text is now a child of the AccordionPanel component', 'In order to add styles/markup to the text, it should be placed within a Text component (v2/components/Text)', 'Both AccordionPanel and AccordionIcon are children of AccordionItem', 'In Accordion (v2), showTitleToggle has been removed', 'In Accordion (v2), preview has been removed', 'onOpen and onClose are no longer needed in the v2 component', '---- Additional Information ----', 'new props are documented at: https://chakra-ui.com/docs/disclosure/accordion']
|
|
@@ -5392,7 +5515,7 @@ var Panel = /*#__PURE__*/function (_Component) {
|
|
|
5392
5515
|
className: classes
|
|
5393
5516
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
5394
5517
|
className: "Panel-title"
|
|
5395
|
-
}, showTitleToggle ? /*#__PURE__*/React__default['default'].createElement(
|
|
5518
|
+
}, showTitleToggle ? /*#__PURE__*/React__default['default'].createElement(_default$a, {
|
|
5396
5519
|
className: "Panel-toggle",
|
|
5397
5520
|
onClick: this._onToggle
|
|
5398
5521
|
}, panelTitle, isOpen ? closeIcon : openIcon) : /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, panelTitle, additionalTitleMarkup)), /*#__PURE__*/React__default['default'].createElement(lib_1, {
|
|
@@ -5408,6 +5531,13 @@ var Panel = /*#__PURE__*/function (_Component) {
|
|
|
5408
5531
|
className: "Panel-preview"
|
|
5409
5532
|
}, preview)));
|
|
5410
5533
|
}
|
|
5534
|
+
}, {
|
|
5535
|
+
key: "__reactstandin__regenerateByEval",
|
|
5536
|
+
value: // @ts-ignore
|
|
5537
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
5538
|
+
// @ts-ignore
|
|
5539
|
+
this[key] = eval(code);
|
|
5540
|
+
}
|
|
5411
5541
|
}], [{
|
|
5412
5542
|
key: "getDerivedStateFromProps",
|
|
5413
5543
|
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
@@ -5482,6 +5612,24 @@ _defineProperty(Panel, "defaultProps", {
|
|
|
5482
5612
|
})
|
|
5483
5613
|
});
|
|
5484
5614
|
|
|
5615
|
+
var _default$9 = Panel;
|
|
5616
|
+
|
|
5617
|
+
(function () {
|
|
5618
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
5619
|
+
|
|
5620
|
+
if (!reactHotLoader) {
|
|
5621
|
+
return;
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5624
|
+
reactHotLoader.register(Panel, "Panel", "/tmp/build/d4767a07/beta-pr/src/v1/components/Panel/Panel.jsx");
|
|
5625
|
+
reactHotLoader.register(_default$9, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Panel/Panel.jsx");
|
|
5626
|
+
})();
|
|
5627
|
+
|
|
5628
|
+
(function () {
|
|
5629
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
5630
|
+
leaveModule && leaveModule(module);
|
|
5631
|
+
})();
|
|
5632
|
+
|
|
5485
5633
|
// `Array.isArray` method
|
|
5486
5634
|
// https://tc39.es/ecma262/#sec-array.isarray
|
|
5487
5635
|
_export({ target: 'Array', stat: true }, {
|
|
@@ -5730,6 +5878,68 @@ var map$1 = map$2;
|
|
|
5730
5878
|
|
|
5731
5879
|
var map = map$1;
|
|
5732
5880
|
|
|
5881
|
+
// a string of all valid unicode whitespaces
|
|
5882
|
+
var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
5883
|
+
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
5884
|
+
|
|
5885
|
+
var replace$1 = functionUncurryThis(''.replace);
|
|
5886
|
+
var whitespace = '[' + whitespaces + ']';
|
|
5887
|
+
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
5888
|
+
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
5889
|
+
|
|
5890
|
+
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
5891
|
+
var createMethod$1 = function (TYPE) {
|
|
5892
|
+
return function ($this) {
|
|
5893
|
+
var string = toString_1(requireObjectCoercible($this));
|
|
5894
|
+
if (TYPE & 1) string = replace$1(string, ltrim, '');
|
|
5895
|
+
if (TYPE & 2) string = replace$1(string, rtrim, '');
|
|
5896
|
+
return string;
|
|
5897
|
+
};
|
|
5898
|
+
};
|
|
5899
|
+
|
|
5900
|
+
var stringTrim = {
|
|
5901
|
+
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
5902
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
5903
|
+
start: createMethod$1(1),
|
|
5904
|
+
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
5905
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
5906
|
+
end: createMethod$1(2),
|
|
5907
|
+
// `String.prototype.trim` method
|
|
5908
|
+
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
5909
|
+
trim: createMethod$1(3)
|
|
5910
|
+
};
|
|
5911
|
+
|
|
5912
|
+
var trim = stringTrim.trim;
|
|
5913
|
+
|
|
5914
|
+
|
|
5915
|
+
var $parseInt = global_1.parseInt;
|
|
5916
|
+
var Symbol$1 = global_1.Symbol;
|
|
5917
|
+
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
5918
|
+
var hex = /^[+-]?0x/i;
|
|
5919
|
+
var exec = functionUncurryThis(hex.exec);
|
|
5920
|
+
var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
|
|
5921
|
+
// MS Edge 18- broken with boxed symbols
|
|
5922
|
+
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
|
|
5923
|
+
|
|
5924
|
+
// `parseInt` method
|
|
5925
|
+
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
5926
|
+
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
5927
|
+
var S = trim(toString_1(string));
|
|
5928
|
+
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
5929
|
+
} : $parseInt;
|
|
5930
|
+
|
|
5931
|
+
// `parseInt` method
|
|
5932
|
+
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
5933
|
+
_export({ global: true, forced: parseInt != numberParseInt }, {
|
|
5934
|
+
parseInt: numberParseInt
|
|
5935
|
+
});
|
|
5936
|
+
|
|
5937
|
+
var _parseInt$2 = path.parseInt;
|
|
5938
|
+
|
|
5939
|
+
var _parseInt$1 = _parseInt$2;
|
|
5940
|
+
|
|
5941
|
+
var _parseInt = _parseInt$1;
|
|
5942
|
+
|
|
5733
5943
|
var TriangleDown = createCommonjsModule(function (module, exports) {
|
|
5734
5944
|
|
|
5735
5945
|
|
|
@@ -5824,12 +6034,44 @@ unwrapExports(TriangleUp);
|
|
|
5824
6034
|
|
|
5825
6035
|
var triangleUp = TriangleUp;
|
|
5826
6036
|
|
|
5827
|
-
|
|
6037
|
+
(function () {
|
|
6038
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
6039
|
+
enterModule && enterModule(module);
|
|
6040
|
+
})();
|
|
6041
|
+
|
|
6042
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
6043
|
+
return a;
|
|
6044
|
+
};
|
|
6045
|
+
|
|
6046
|
+
var _default$8 = {
|
|
5828
6047
|
ASC: 'Ascending',
|
|
5829
6048
|
DESC: 'Descending'
|
|
5830
6049
|
};
|
|
5831
6050
|
|
|
5832
|
-
|
|
6051
|
+
(function () {
|
|
6052
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
6053
|
+
|
|
6054
|
+
if (!reactHotLoader) {
|
|
6055
|
+
return;
|
|
6056
|
+
}
|
|
6057
|
+
|
|
6058
|
+
reactHotLoader.register(_default$8, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableSortType.js");
|
|
6059
|
+
})();
|
|
6060
|
+
|
|
6061
|
+
(function () {
|
|
6062
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
6063
|
+
leaveModule && leaveModule(module);
|
|
6064
|
+
})();
|
|
6065
|
+
|
|
6066
|
+
(function () {
|
|
6067
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
6068
|
+
enterModule && enterModule(module);
|
|
6069
|
+
})();
|
|
6070
|
+
|
|
6071
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
6072
|
+
return a;
|
|
6073
|
+
};
|
|
6074
|
+
var _default$7 = {
|
|
5833
6075
|
/** Additional class(es) to add to the component. */
|
|
5834
6076
|
className: PropTypes__default['default'].string,
|
|
5835
6077
|
|
|
@@ -5840,7 +6082,7 @@ var TableHeadingPropTypes = {
|
|
|
5840
6082
|
isSortable: PropTypes__default['default'].bool,
|
|
5841
6083
|
|
|
5842
6084
|
/** Determines whether or not this heading should render with sorting order arrow. */
|
|
5843
|
-
sortOrder: PropTypes__default['default'].oneOf([
|
|
6085
|
+
sortOrder: PropTypes__default['default'].oneOf([_default$8.ASC, _default$8.DESC]),
|
|
5844
6086
|
|
|
5845
6087
|
/**
|
|
5846
6088
|
* A function to call when a sortable header is clicked.
|
|
@@ -5851,11 +6093,35 @@ var TableHeadingPropTypes = {
|
|
|
5851
6093
|
onSortClick: PropTypes__default['default'].func
|
|
5852
6094
|
};
|
|
5853
6095
|
|
|
6096
|
+
(function () {
|
|
6097
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
6098
|
+
|
|
6099
|
+
if (!reactHotLoader) {
|
|
6100
|
+
return;
|
|
6101
|
+
}
|
|
6102
|
+
|
|
6103
|
+
reactHotLoader.register(_default$7, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableHeadingPropTypes.js");
|
|
6104
|
+
})();
|
|
6105
|
+
|
|
6106
|
+
(function () {
|
|
6107
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
6108
|
+
leaveModule && leaveModule(module);
|
|
6109
|
+
})();
|
|
6110
|
+
|
|
6111
|
+
(function () {
|
|
6112
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
6113
|
+
enterModule && enterModule(module);
|
|
6114
|
+
})();
|
|
6115
|
+
|
|
5854
6116
|
function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
5855
6117
|
|
|
5856
6118
|
function _isNativeReflectConstruct$4() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
5857
|
-
|
|
5858
|
-
|
|
6119
|
+
|
|
6120
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
6121
|
+
return a;
|
|
6122
|
+
};
|
|
6123
|
+
var ASC$1 = _default$8.ASC,
|
|
6124
|
+
DESC$1 = _default$8.DESC;
|
|
5859
6125
|
|
|
5860
6126
|
var TableHeading = /*#__PURE__*/function (_Component) {
|
|
5861
6127
|
_inherits(TableHeading, _Component);
|
|
@@ -5924,14 +6190,46 @@ var TableHeading = /*#__PURE__*/function (_Component) {
|
|
|
5924
6190
|
className: "TableHeading-sort-icon"
|
|
5925
6191
|
}))));
|
|
5926
6192
|
}
|
|
6193
|
+
}, {
|
|
6194
|
+
key: "__reactstandin__regenerateByEval",
|
|
6195
|
+
value: // @ts-ignore
|
|
6196
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
6197
|
+
// @ts-ignore
|
|
6198
|
+
this[key] = eval(code);
|
|
6199
|
+
}
|
|
5927
6200
|
}]);
|
|
5928
6201
|
|
|
5929
6202
|
return TableHeading;
|
|
5930
6203
|
}(React.Component);
|
|
5931
6204
|
|
|
5932
|
-
_defineProperty(TableHeading, "propTypes",
|
|
6205
|
+
_defineProperty(TableHeading, "propTypes", _default$7);
|
|
6206
|
+
|
|
6207
|
+
(function () {
|
|
6208
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
6209
|
+
|
|
6210
|
+
if (!reactHotLoader) {
|
|
6211
|
+
return;
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
reactHotLoader.register(ASC$1, "ASC", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableHeading.jsx");
|
|
6215
|
+
reactHotLoader.register(DESC$1, "DESC", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableHeading.jsx");
|
|
6216
|
+
reactHotLoader.register(TableHeading, "TableHeading", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableHeading.jsx");
|
|
6217
|
+
})();
|
|
5933
6218
|
|
|
5934
|
-
|
|
6219
|
+
(function () {
|
|
6220
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
6221
|
+
leaveModule && leaveModule(module);
|
|
6222
|
+
})();
|
|
6223
|
+
|
|
6224
|
+
(function () {
|
|
6225
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
6226
|
+
enterModule && enterModule(module);
|
|
6227
|
+
})();
|
|
6228
|
+
|
|
6229
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
6230
|
+
return a;
|
|
6231
|
+
};
|
|
6232
|
+
var _default$6 = {
|
|
5935
6233
|
/** Additional class(es) to add to the component. */
|
|
5936
6234
|
className: PropTypes__default['default'].string,
|
|
5937
6235
|
|
|
@@ -5942,6 +6240,30 @@ var TableCellPropTypes = {
|
|
|
5942
6240
|
value: PropTypes__default['default'].any
|
|
5943
6241
|
};
|
|
5944
6242
|
|
|
6243
|
+
(function () {
|
|
6244
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
6245
|
+
|
|
6246
|
+
if (!reactHotLoader) {
|
|
6247
|
+
return;
|
|
6248
|
+
}
|
|
6249
|
+
|
|
6250
|
+
reactHotLoader.register(_default$6, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableCellPropTypes.js");
|
|
6251
|
+
})();
|
|
6252
|
+
|
|
6253
|
+
(function () {
|
|
6254
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
6255
|
+
leaveModule && leaveModule(module);
|
|
6256
|
+
})();
|
|
6257
|
+
|
|
6258
|
+
(function () {
|
|
6259
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
6260
|
+
enterModule && enterModule(module);
|
|
6261
|
+
})();
|
|
6262
|
+
|
|
6263
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
6264
|
+
return a;
|
|
6265
|
+
};
|
|
6266
|
+
|
|
5945
6267
|
var TableCell = function TableCell(_ref) {
|
|
5946
6268
|
var className = _ref.className,
|
|
5947
6269
|
headingLabel = _ref.headingLabel,
|
|
@@ -5953,12 +6275,24 @@ var TableCell = function TableCell(_ref) {
|
|
|
5953
6275
|
}, /*#__PURE__*/React__default['default'].createElement("div", null, value));
|
|
5954
6276
|
};
|
|
5955
6277
|
|
|
5956
|
-
|
|
5957
|
-
|
|
6278
|
+
TableCell.propTypes = _default$6;
|
|
6279
|
+
var _default$5 = TableCell;
|
|
6280
|
+
|
|
6281
|
+
(function () {
|
|
6282
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
6283
|
+
|
|
6284
|
+
if (!reactHotLoader) {
|
|
6285
|
+
return;
|
|
6286
|
+
}
|
|
5958
6287
|
|
|
5959
|
-
|
|
6288
|
+
reactHotLoader.register(TableCell, "TableCell", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableCell.jsx");
|
|
6289
|
+
reactHotLoader.register(_default$5, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableCell.jsx");
|
|
6290
|
+
})();
|
|
5960
6291
|
|
|
5961
|
-
|
|
6292
|
+
(function () {
|
|
6293
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
6294
|
+
leaveModule && leaveModule(module);
|
|
6295
|
+
})();
|
|
5962
6296
|
|
|
5963
6297
|
var ChevronLeft = createCommonjsModule(function (module, exports) {
|
|
5964
6298
|
|
|
@@ -6027,32 +6361,104 @@ exports["default"] = void 0;
|
|
|
6027
6361
|
|
|
6028
6362
|
var _extends2 = _interopRequireDefault(_extends);
|
|
6029
6363
|
|
|
6030
|
-
var React = _interopRequireWildcard(React__default['default']);
|
|
6364
|
+
var React = _interopRequireWildcard(React__default['default']);
|
|
6365
|
+
|
|
6366
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
6367
|
+
|
|
6368
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty$1 && getOwnPropertyDescriptor$1; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor$1(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty$1(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
6369
|
+
|
|
6370
|
+
function SvgChevronRight(props, svgRef) {
|
|
6371
|
+
return /*#__PURE__*/React.createElement("svg", (0, _extends2["default"])({}, props, {
|
|
6372
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6373
|
+
viewBox: "0 0 1024 1024",
|
|
6374
|
+
fill: "currentColor",
|
|
6375
|
+
className: "Icon ".concat(props.className ? props.className : ''),
|
|
6376
|
+
ref: svgRef
|
|
6377
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
6378
|
+
d: "M841.6 518.4c0 17.1-4.3 29.9-17.1 38.4L257 1013.4c-21.3 17.1-46.9 12.8-64-8.5s-12.8-46.9 8.5-64l516.4-426.8L205.7 87.4c-21.3-12.8-25.6-42.7-8.5-68.3 12.8-21.3 42.7-25.6 64-8.5l563.3 469.5c12.9 8.5 17.1 21.3 17.1 38.3z"
|
|
6379
|
+
}));
|
|
6380
|
+
}
|
|
6381
|
+
|
|
6382
|
+
var ForwardRef = /*#__PURE__*/React.forwardRef(SvgChevronRight);
|
|
6383
|
+
var _default = ForwardRef;
|
|
6384
|
+
exports["default"] = _default;
|
|
6385
|
+
});
|
|
6386
|
+
|
|
6387
|
+
unwrapExports(ChevronRight);
|
|
6388
|
+
|
|
6389
|
+
var chevronRight = ChevronRight;
|
|
6390
|
+
|
|
6391
|
+
var TypeError$3 = global_1.TypeError;
|
|
6392
|
+
|
|
6393
|
+
// `Array.prototype.{ reduce, reduceRight }` methods implementation
|
|
6394
|
+
var createMethod = function (IS_RIGHT) {
|
|
6395
|
+
return function (that, callbackfn, argumentsLength, memo) {
|
|
6396
|
+
aCallable(callbackfn);
|
|
6397
|
+
var O = toObject(that);
|
|
6398
|
+
var self = indexedObject(O);
|
|
6399
|
+
var length = lengthOfArrayLike(O);
|
|
6400
|
+
var index = IS_RIGHT ? length - 1 : 0;
|
|
6401
|
+
var i = IS_RIGHT ? -1 : 1;
|
|
6402
|
+
if (argumentsLength < 2) while (true) {
|
|
6403
|
+
if (index in self) {
|
|
6404
|
+
memo = self[index];
|
|
6405
|
+
index += i;
|
|
6406
|
+
break;
|
|
6407
|
+
}
|
|
6408
|
+
index += i;
|
|
6409
|
+
if (IS_RIGHT ? index < 0 : length <= index) {
|
|
6410
|
+
throw TypeError$3('Reduce of empty array with no initial value');
|
|
6411
|
+
}
|
|
6412
|
+
}
|
|
6413
|
+
for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
|
|
6414
|
+
memo = callbackfn(memo, self[index], index, O);
|
|
6415
|
+
}
|
|
6416
|
+
return memo;
|
|
6417
|
+
};
|
|
6418
|
+
};
|
|
6419
|
+
|
|
6420
|
+
var arrayReduce = {
|
|
6421
|
+
// `Array.prototype.reduce` method
|
|
6422
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
6423
|
+
left: createMethod(false),
|
|
6424
|
+
// `Array.prototype.reduceRight` method
|
|
6425
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduceright
|
|
6426
|
+
right: createMethod(true)
|
|
6427
|
+
};
|
|
6428
|
+
|
|
6429
|
+
var engineIsNode = classofRaw(global_1.process) == 'process';
|
|
6430
|
+
|
|
6431
|
+
var $reduce = arrayReduce.left;
|
|
6432
|
+
|
|
6031
6433
|
|
|
6032
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof weakMap !== "function") return null; var cacheBabelInterop = new weakMap(); var cacheNodeInterop = new weakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
6033
6434
|
|
|
6034
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = defineProperty$1 && getOwnPropertyDescriptor$1; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? getOwnPropertyDescriptor$1(obj, key) : null; if (desc && (desc.get || desc.set)) { defineProperty$1(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
6035
6435
|
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
fill: "currentColor",
|
|
6041
|
-
className: "Icon ".concat(props.className ? props.className : ''),
|
|
6042
|
-
ref: svgRef
|
|
6043
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
6044
|
-
d: "M841.6 518.4c0 17.1-4.3 29.9-17.1 38.4L257 1013.4c-21.3 17.1-46.9 12.8-64-8.5s-12.8-46.9 8.5-64l516.4-426.8L205.7 87.4c-21.3-12.8-25.6-42.7-8.5-68.3 12.8-21.3 42.7-25.6 64-8.5l563.3 469.5c12.9 8.5 17.1 21.3 17.1 38.3z"
|
|
6045
|
-
}));
|
|
6046
|
-
}
|
|
6436
|
+
var STRICT_METHOD$1 = arrayMethodIsStrict('reduce');
|
|
6437
|
+
// Chrome 80-82 has a critical bug
|
|
6438
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
|
|
6439
|
+
var CHROME_BUG = !engineIsNode && engineV8Version > 79 && engineV8Version < 83;
|
|
6047
6440
|
|
|
6048
|
-
|
|
6049
|
-
|
|
6050
|
-
|
|
6441
|
+
// `Array.prototype.reduce` method
|
|
6442
|
+
// https://tc39.es/ecma262/#sec-array.prototype.reduce
|
|
6443
|
+
_export({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 || CHROME_BUG }, {
|
|
6444
|
+
reduce: function reduce(callbackfn /* , initialValue */) {
|
|
6445
|
+
var length = arguments.length;
|
|
6446
|
+
return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);
|
|
6447
|
+
}
|
|
6051
6448
|
});
|
|
6052
6449
|
|
|
6053
|
-
|
|
6450
|
+
var reduce$3 = entryVirtual('Array').reduce;
|
|
6054
6451
|
|
|
6055
|
-
var
|
|
6452
|
+
var ArrayPrototype$3 = Array.prototype;
|
|
6453
|
+
|
|
6454
|
+
var reduce$2 = function (it) {
|
|
6455
|
+
var own = it.reduce;
|
|
6456
|
+
return it === ArrayPrototype$3 || (objectIsPrototypeOf(ArrayPrototype$3, it) && own === ArrayPrototype$3.reduce) ? reduce$3 : own;
|
|
6457
|
+
};
|
|
6458
|
+
|
|
6459
|
+
var reduce$1 = reduce$2;
|
|
6460
|
+
|
|
6461
|
+
var reduce = reduce$1;
|
|
6056
6462
|
|
|
6057
6463
|
var $find = arrayIteration.find;
|
|
6058
6464
|
|
|
@@ -6073,117 +6479,17 @@ _export({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {
|
|
|
6073
6479
|
|
|
6074
6480
|
var find$3 = entryVirtual('Array').find;
|
|
6075
6481
|
|
|
6076
|
-
var ArrayPrototype$
|
|
6482
|
+
var ArrayPrototype$2 = Array.prototype;
|
|
6077
6483
|
|
|
6078
6484
|
var find$2 = function (it) {
|
|
6079
6485
|
var own = it.find;
|
|
6080
|
-
return it === ArrayPrototype$
|
|
6486
|
+
return it === ArrayPrototype$2 || (objectIsPrototypeOf(ArrayPrototype$2, it) && own === ArrayPrototype$2.find) ? find$3 : own;
|
|
6081
6487
|
};
|
|
6082
6488
|
|
|
6083
6489
|
var find$1 = find$2;
|
|
6084
6490
|
|
|
6085
6491
|
var find = find$1;
|
|
6086
6492
|
|
|
6087
|
-
var $forEach = arrayIteration.forEach;
|
|
6088
|
-
|
|
6089
|
-
|
|
6090
|
-
var STRICT_METHOD$1 = arrayMethodIsStrict('forEach');
|
|
6091
|
-
|
|
6092
|
-
// `Array.prototype.forEach` method implementation
|
|
6093
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
6094
|
-
var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) {
|
|
6095
|
-
return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
6096
|
-
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
6097
|
-
} : [].forEach;
|
|
6098
|
-
|
|
6099
|
-
// `Array.prototype.forEach` method
|
|
6100
|
-
// https://tc39.es/ecma262/#sec-array.prototype.foreach
|
|
6101
|
-
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
6102
|
-
_export({ target: 'Array', proto: true, forced: [].forEach != arrayForEach }, {
|
|
6103
|
-
forEach: arrayForEach
|
|
6104
|
-
});
|
|
6105
|
-
|
|
6106
|
-
var forEach$3 = entryVirtual('Array').forEach;
|
|
6107
|
-
|
|
6108
|
-
var forEach$2 = forEach$3;
|
|
6109
|
-
|
|
6110
|
-
var ArrayPrototype$2 = Array.prototype;
|
|
6111
|
-
|
|
6112
|
-
var DOMIterables = {
|
|
6113
|
-
DOMTokenList: true,
|
|
6114
|
-
NodeList: true
|
|
6115
|
-
};
|
|
6116
|
-
|
|
6117
|
-
var forEach$1 = function (it) {
|
|
6118
|
-
var own = it.forEach;
|
|
6119
|
-
return it === ArrayPrototype$2 || (objectIsPrototypeOf(ArrayPrototype$2, it) && own === ArrayPrototype$2.forEach)
|
|
6120
|
-
|| hasOwnProperty_1(DOMIterables, classof(it)) ? forEach$2 : own;
|
|
6121
|
-
};
|
|
6122
|
-
|
|
6123
|
-
var forEach = forEach$1;
|
|
6124
|
-
|
|
6125
|
-
// a string of all valid unicode whitespaces
|
|
6126
|
-
var whitespaces = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
|
|
6127
|
-
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
6128
|
-
|
|
6129
|
-
var replace$1 = functionUncurryThis(''.replace);
|
|
6130
|
-
var whitespace = '[' + whitespaces + ']';
|
|
6131
|
-
var ltrim = RegExp('^' + whitespace + whitespace + '*');
|
|
6132
|
-
var rtrim = RegExp(whitespace + whitespace + '*$');
|
|
6133
|
-
|
|
6134
|
-
// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
|
|
6135
|
-
var createMethod = function (TYPE) {
|
|
6136
|
-
return function ($this) {
|
|
6137
|
-
var string = toString_1(requireObjectCoercible($this));
|
|
6138
|
-
if (TYPE & 1) string = replace$1(string, ltrim, '');
|
|
6139
|
-
if (TYPE & 2) string = replace$1(string, rtrim, '');
|
|
6140
|
-
return string;
|
|
6141
|
-
};
|
|
6142
|
-
};
|
|
6143
|
-
|
|
6144
|
-
var stringTrim = {
|
|
6145
|
-
// `String.prototype.{ trimLeft, trimStart }` methods
|
|
6146
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimstart
|
|
6147
|
-
start: createMethod(1),
|
|
6148
|
-
// `String.prototype.{ trimRight, trimEnd }` methods
|
|
6149
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trimend
|
|
6150
|
-
end: createMethod(2),
|
|
6151
|
-
// `String.prototype.trim` method
|
|
6152
|
-
// https://tc39.es/ecma262/#sec-string.prototype.trim
|
|
6153
|
-
trim: createMethod(3)
|
|
6154
|
-
};
|
|
6155
|
-
|
|
6156
|
-
var trim = stringTrim.trim;
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
var $parseInt = global_1.parseInt;
|
|
6160
|
-
var Symbol$1 = global_1.Symbol;
|
|
6161
|
-
var ITERATOR = Symbol$1 && Symbol$1.iterator;
|
|
6162
|
-
var hex = /^[+-]?0x/i;
|
|
6163
|
-
var exec = functionUncurryThis(hex.exec);
|
|
6164
|
-
var FORCED$1 = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22
|
|
6165
|
-
// MS Edge 18- broken with boxed symbols
|
|
6166
|
-
|| (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));
|
|
6167
|
-
|
|
6168
|
-
// `parseInt` method
|
|
6169
|
-
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
6170
|
-
var numberParseInt = FORCED$1 ? function parseInt(string, radix) {
|
|
6171
|
-
var S = trim(toString_1(string));
|
|
6172
|
-
return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));
|
|
6173
|
-
} : $parseInt;
|
|
6174
|
-
|
|
6175
|
-
// `parseInt` method
|
|
6176
|
-
// https://tc39.es/ecma262/#sec-parseint-string-radix
|
|
6177
|
-
_export({ global: true, forced: parseInt != numberParseInt }, {
|
|
6178
|
-
parseInt: numberParseInt
|
|
6179
|
-
});
|
|
6180
|
-
|
|
6181
|
-
var _parseInt$2 = path.parseInt;
|
|
6182
|
-
|
|
6183
|
-
var _parseInt$1 = _parseInt$2;
|
|
6184
|
-
|
|
6185
|
-
var _parseInt = _parseInt$1;
|
|
6186
|
-
|
|
6187
6493
|
var $some = arrayIteration.some;
|
|
6188
6494
|
|
|
6189
6495
|
|
|
@@ -6336,8 +6642,6 @@ var validateArgumentsLength = function (passed, required) {
|
|
|
6336
6642
|
|
|
6337
6643
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(engineUserAgent);
|
|
6338
6644
|
|
|
6339
|
-
var engineIsNode = classofRaw(global_1.process) == 'process';
|
|
6340
|
-
|
|
6341
6645
|
var set = global_1.setImmediate;
|
|
6342
6646
|
var clear = global_1.clearImmediate;
|
|
6343
6647
|
var process$3 = global_1.process;
|
|
@@ -8128,7 +8432,16 @@ unwrapExports(dom$1);
|
|
|
8128
8432
|
var dom = dom$1;
|
|
8129
8433
|
|
|
8130
8434
|
var _excluded$3 = ["className", "size", "borderWidth", "additionalMarkup"];
|
|
8131
|
-
|
|
8435
|
+
|
|
8436
|
+
(function () {
|
|
8437
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8438
|
+
enterModule && enterModule(module);
|
|
8439
|
+
})();
|
|
8440
|
+
|
|
8441
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
8442
|
+
return a;
|
|
8443
|
+
};
|
|
8444
|
+
_default$b({
|
|
8132
8445
|
name: 'Loader',
|
|
8133
8446
|
newName: 'Loader',
|
|
8134
8447
|
changes: ['---- Changes in v2 component ----', '`borderWidth` is now `thickness`', '`additionalMarkup` is no longer supported within this component', '`className` is no longer explicitly supported, but a custom class could still be passed in if needed, but with the move to ChakraUI custom classes are generally not needed', '---- Additional Information ----', 'new props are documented at: https://chakra-ui.com/docs/feedback/circular-progress']
|
|
@@ -8154,7 +8467,6 @@ var Loader = function Loader(_ref) {
|
|
|
8154
8467
|
}), additionalMarkup);
|
|
8155
8468
|
};
|
|
8156
8469
|
|
|
8157
|
-
_c$4 = Loader;
|
|
8158
8470
|
Loader.propTypes = {
|
|
8159
8471
|
/** Additional class(es) to add to the component. */
|
|
8160
8472
|
className: PropTypes__default['default'].string,
|
|
@@ -8172,17 +8484,39 @@ Loader.defaultProps = {
|
|
|
8172
8484
|
size: 80,
|
|
8173
8485
|
borderWidth: 4
|
|
8174
8486
|
};
|
|
8487
|
+
var _default$4 = Loader;
|
|
8488
|
+
|
|
8489
|
+
(function () {
|
|
8490
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
8491
|
+
|
|
8492
|
+
if (!reactHotLoader) {
|
|
8493
|
+
return;
|
|
8494
|
+
}
|
|
8175
8495
|
|
|
8176
|
-
|
|
8496
|
+
reactHotLoader.register(Loader, "Loader", "/tmp/build/d4767a07/beta-pr/src/v1/components/Loader/Loader.jsx");
|
|
8497
|
+
reactHotLoader.register(_default$4, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Loader/Loader.jsx");
|
|
8498
|
+
})();
|
|
8177
8499
|
|
|
8178
|
-
|
|
8500
|
+
(function () {
|
|
8501
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
8502
|
+
leaveModule && leaveModule(module);
|
|
8503
|
+
})();
|
|
8179
8504
|
|
|
8180
8505
|
var _excluded$2 = ["optgroup"],
|
|
8181
8506
|
_excluded2$1 = ["className", "name", "items", "disabled", "loading", "error", "helpNode", "label", "dropdownIcon", "icon", "iconPosition", "required", "inline", "defaultValue", "placeholder", "onFocus"];
|
|
8182
8507
|
|
|
8508
|
+
(function () {
|
|
8509
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8510
|
+
enterModule && enterModule(module);
|
|
8511
|
+
})();
|
|
8512
|
+
|
|
8183
8513
|
function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8184
8514
|
|
|
8185
8515
|
function _isNativeReflectConstruct$3() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8516
|
+
|
|
8517
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
8518
|
+
return a;
|
|
8519
|
+
};
|
|
8186
8520
|
// SelectItemPropTypes,
|
|
8187
8521
|
// OptgroupPropTypes
|
|
8188
8522
|
// } from './SelectItemPropTypes';
|
|
@@ -8232,7 +8566,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
8232
8566
|
items = _this$props.items,
|
|
8233
8567
|
onChange = _this$props.onChange;
|
|
8234
8568
|
|
|
8235
|
-
var selectedItem = find(_context2 = items.
|
|
8569
|
+
var selectedItem = find(_context2 = reduce(items).call(items, function (options, _ref) {
|
|
8236
8570
|
var _context3, _context4;
|
|
8237
8571
|
|
|
8238
8572
|
var optgroup = _ref.optgroup,
|
|
@@ -8379,7 +8713,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
8379
8713
|
disabled: true
|
|
8380
8714
|
}, placeholder), map(items).call(items, function (item, i) {
|
|
8381
8715
|
return item.optgroup ? _this2._renderOptgroup(item) : _this2._renderItem(item, i);
|
|
8382
|
-
})), loading ? /*#__PURE__*/React__default['default'].createElement(
|
|
8716
|
+
})), loading ? /*#__PURE__*/React__default['default'].createElement(_default$4, {
|
|
8383
8717
|
size: 16,
|
|
8384
8718
|
borderWidth: 2
|
|
8385
8719
|
}) : dropdownIcon ? /*#__PURE__*/React.cloneElement(dropdownIcon, {
|
|
@@ -8392,6 +8726,13 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
8392
8726
|
className: "FormElement-help-text"
|
|
8393
8727
|
}, helpNode), !isValid && error);
|
|
8394
8728
|
}
|
|
8729
|
+
}, {
|
|
8730
|
+
key: "__reactstandin__regenerateByEval",
|
|
8731
|
+
value: // @ts-ignore
|
|
8732
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
8733
|
+
// @ts-ignore
|
|
8734
|
+
this[key] = eval(code);
|
|
8735
|
+
}
|
|
8395
8736
|
}]);
|
|
8396
8737
|
|
|
8397
8738
|
return Select;
|
|
@@ -8473,6 +8814,30 @@ _defineProperty(Select, "defaultProps", {
|
|
|
8473
8814
|
iconPosition: 'left'
|
|
8474
8815
|
});
|
|
8475
8816
|
|
|
8817
|
+
(function () {
|
|
8818
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
8819
|
+
|
|
8820
|
+
if (!reactHotLoader) {
|
|
8821
|
+
return;
|
|
8822
|
+
}
|
|
8823
|
+
|
|
8824
|
+
reactHotLoader.register(Select, "Select", "/tmp/build/d4767a07/beta-pr/src/Select/Select.jsx");
|
|
8825
|
+
})();
|
|
8826
|
+
|
|
8827
|
+
(function () {
|
|
8828
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
8829
|
+
leaveModule && leaveModule(module);
|
|
8830
|
+
})();
|
|
8831
|
+
|
|
8832
|
+
(function () {
|
|
8833
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8834
|
+
enterModule && enterModule(module);
|
|
8835
|
+
})();
|
|
8836
|
+
|
|
8837
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
8838
|
+
return a;
|
|
8839
|
+
};
|
|
8840
|
+
|
|
8476
8841
|
var TableControls = function TableControls(_ref) {
|
|
8477
8842
|
var currentPage = _ref.currentPage,
|
|
8478
8843
|
totalPages = _ref.totalPages,
|
|
@@ -8490,7 +8855,7 @@ var TableControls = function TableControls(_ref) {
|
|
|
8490
8855
|
className: "TableControls"
|
|
8491
8856
|
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
8492
8857
|
className: "TableControls-pagination"
|
|
8493
|
-
}, /*#__PURE__*/React__default['default'].createElement(
|
|
8858
|
+
}, /*#__PURE__*/React__default['default'].createElement(_default$a, {
|
|
8494
8859
|
color: "secondary",
|
|
8495
8860
|
disabled: currentPage === 1,
|
|
8496
8861
|
onClick: onPreviousPage
|
|
@@ -8499,14 +8864,13 @@ var TableControls = function TableControls(_ref) {
|
|
|
8499
8864
|
defaultValue: currentPage.toString(),
|
|
8500
8865
|
items: pages,
|
|
8501
8866
|
onChange: onPageChange
|
|
8502
|
-
}), /*#__PURE__*/React__default['default'].createElement(
|
|
8867
|
+
}), /*#__PURE__*/React__default['default'].createElement(_default$a, {
|
|
8503
8868
|
color: "secondary",
|
|
8504
8869
|
disabled: currentPage === totalPages,
|
|
8505
8870
|
onClick: onNextPage
|
|
8506
8871
|
}, /*#__PURE__*/React__default['default'].createElement(chevronRight, null))));
|
|
8507
8872
|
};
|
|
8508
8873
|
|
|
8509
|
-
_c$3 = TableControls;
|
|
8510
8874
|
TableControls.propTypes = {
|
|
8511
8875
|
currentPage: PropTypes__default['default'].number.isRequired,
|
|
8512
8876
|
totalPages: PropTypes__default['default'].number.isRequired,
|
|
@@ -8514,10 +8878,32 @@ TableControls.propTypes = {
|
|
|
8514
8878
|
onPreviousPage: PropTypes__default['default'].func.isRequired,
|
|
8515
8879
|
onNextPage: PropTypes__default['default'].func.isRequired
|
|
8516
8880
|
};
|
|
8881
|
+
var _default$3 = TableControls;
|
|
8882
|
+
|
|
8883
|
+
(function () {
|
|
8884
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
8517
8885
|
|
|
8518
|
-
|
|
8886
|
+
if (!reactHotLoader) {
|
|
8887
|
+
return;
|
|
8888
|
+
}
|
|
8889
|
+
|
|
8890
|
+
reactHotLoader.register(TableControls, "TableControls", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableControls.jsx");
|
|
8891
|
+
reactHotLoader.register(_default$3, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableControls.jsx");
|
|
8892
|
+
})();
|
|
8893
|
+
|
|
8894
|
+
(function () {
|
|
8895
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
8896
|
+
leaveModule && leaveModule(module);
|
|
8897
|
+
})();
|
|
8519
8898
|
|
|
8520
|
-
|
|
8899
|
+
(function () {
|
|
8900
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
8901
|
+
enterModule && enterModule(module);
|
|
8902
|
+
})();
|
|
8903
|
+
|
|
8904
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
8905
|
+
return a;
|
|
8906
|
+
};
|
|
8521
8907
|
|
|
8522
8908
|
var TableFooter = function TableFooter(_ref) {
|
|
8523
8909
|
var _context, _context2, _context3;
|
|
@@ -8549,7 +8935,7 @@ var TableFooter = function TableFooter(_ref) {
|
|
|
8549
8935
|
className: classes
|
|
8550
8936
|
}, showMessage && /*#__PURE__*/React__default['default'].createElement("div", {
|
|
8551
8937
|
className: "TableFooter-info"
|
|
8552
|
-
}, displayMessage), totalPages > 1 && /*#__PURE__*/React__default['default'].createElement(
|
|
8938
|
+
}, displayMessage), totalPages > 1 && /*#__PURE__*/React__default['default'].createElement(_default$3, {
|
|
8553
8939
|
currentPage: currentPage,
|
|
8554
8940
|
totalPages: totalPages,
|
|
8555
8941
|
onPageChange: onPageChange,
|
|
@@ -8558,7 +8944,6 @@ var TableFooter = function TableFooter(_ref) {
|
|
|
8558
8944
|
})));
|
|
8559
8945
|
};
|
|
8560
8946
|
|
|
8561
|
-
_c$2 = TableFooter;
|
|
8562
8947
|
TableFooter.propTypes = {
|
|
8563
8948
|
rowSize: PropTypes__default['default'].string.isRequired,
|
|
8564
8949
|
pageSize: PropTypes__default['default'].number.isRequired,
|
|
@@ -8572,12 +8957,24 @@ TableFooter.propTypes = {
|
|
|
8572
8957
|
onPreviousPage: PropTypes__default['default'].func.isRequired,
|
|
8573
8958
|
onNextPage: PropTypes__default['default'].func.isRequired
|
|
8574
8959
|
};
|
|
8575
|
-
var TableFooter$1 = _c2 = /*#__PURE__*/React__default['default'].memo(TableFooter);
|
|
8576
8960
|
|
|
8577
|
-
var
|
|
8961
|
+
var _default$2 = /*#__PURE__*/React__default['default'].memo(TableFooter);
|
|
8962
|
+
|
|
8963
|
+
(function () {
|
|
8964
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
8965
|
+
|
|
8966
|
+
if (!reactHotLoader) {
|
|
8967
|
+
return;
|
|
8968
|
+
}
|
|
8578
8969
|
|
|
8579
|
-
|
|
8580
|
-
$
|
|
8970
|
+
reactHotLoader.register(TableFooter, "TableFooter", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableFooter.jsx");
|
|
8971
|
+
reactHotLoader.register(_default$2, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableFooter.jsx");
|
|
8972
|
+
})();
|
|
8973
|
+
|
|
8974
|
+
(function () {
|
|
8975
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
8976
|
+
leaveModule && leaveModule(module);
|
|
8977
|
+
})();
|
|
8581
8978
|
|
|
8582
8979
|
function _arrayWithHoles(arr) {
|
|
8583
8980
|
if (isArray(arr)) return arr;
|
|
@@ -8621,11 +9018,20 @@ function _slicedToArray(arr, i) {
|
|
|
8621
9018
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
8622
9019
|
}
|
|
8623
9020
|
|
|
9021
|
+
(function () {
|
|
9022
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
9023
|
+
enterModule && enterModule(module);
|
|
9024
|
+
})();
|
|
9025
|
+
|
|
8624
9026
|
function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8625
9027
|
|
|
8626
9028
|
function _isNativeReflectConstruct$2() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8627
|
-
|
|
8628
|
-
|
|
9029
|
+
|
|
9030
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
9031
|
+
return a;
|
|
9032
|
+
};
|
|
9033
|
+
var ASC = _default$8.ASC,
|
|
9034
|
+
DESC = _default$8.DESC;
|
|
8629
9035
|
|
|
8630
9036
|
var TableSortSelector = /*#__PURE__*/function (_Component) {
|
|
8631
9037
|
_inherits(TableSortSelector, _Component);
|
|
@@ -8696,6 +9102,13 @@ var TableSortSelector = /*#__PURE__*/function (_Component) {
|
|
|
8696
9102
|
onChange: this._onSortChange
|
|
8697
9103
|
}));
|
|
8698
9104
|
}
|
|
9105
|
+
}, {
|
|
9106
|
+
key: "__reactstandin__regenerateByEval",
|
|
9107
|
+
value: // @ts-ignore
|
|
9108
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
9109
|
+
// @ts-ignore
|
|
9110
|
+
this[key] = eval(code);
|
|
9111
|
+
}
|
|
8699
9112
|
}]);
|
|
8700
9113
|
|
|
8701
9114
|
return TableSortSelector;
|
|
@@ -8708,13 +9121,39 @@ _defineProperty(TableSortSelector, "propTypes", {
|
|
|
8708
9121
|
onSortChange: PropTypes__default['default'].func.isRequired
|
|
8709
9122
|
});
|
|
8710
9123
|
|
|
9124
|
+
(function () {
|
|
9125
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
9126
|
+
|
|
9127
|
+
if (!reactHotLoader) {
|
|
9128
|
+
return;
|
|
9129
|
+
}
|
|
9130
|
+
|
|
9131
|
+
reactHotLoader.register(ASC, "ASC", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableSortSelector.jsx");
|
|
9132
|
+
reactHotLoader.register(DESC, "DESC", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableSortSelector.jsx");
|
|
9133
|
+
reactHotLoader.register(TableSortSelector, "TableSortSelector", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/TableSortSelector.jsx");
|
|
9134
|
+
})();
|
|
9135
|
+
|
|
9136
|
+
(function () {
|
|
9137
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
9138
|
+
leaveModule && leaveModule(module);
|
|
9139
|
+
})();
|
|
9140
|
+
|
|
8711
9141
|
var _excluded$1 = ["render"],
|
|
8712
9142
|
_excluded2 = ["className"];
|
|
8713
9143
|
|
|
9144
|
+
(function () {
|
|
9145
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
9146
|
+
enterModule && enterModule(module);
|
|
9147
|
+
})();
|
|
9148
|
+
|
|
8714
9149
|
function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
8715
9150
|
|
|
8716
9151
|
function _isNativeReflectConstruct$1() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
8717
|
-
|
|
9152
|
+
|
|
9153
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
9154
|
+
return a;
|
|
9155
|
+
};
|
|
9156
|
+
_default$b({
|
|
8718
9157
|
name: 'Table',
|
|
8719
9158
|
newName: 'Table',
|
|
8720
9159
|
changes: ['---- Props ----', 'In order to accomplish the same functionality as using `footerMessage`, now use the `<Tfoot />` component in the table structure instead of passing in as a prop', 'Pagination and Sorting are not yet supported in the v2 Table component', '---- Changes in v2 component ----', 'New v2 Table component is now a paired-down in functionality compaired to v1 version', '`containerClassName`, `headers`, `data`, `currentPage`, `sortOrder`, `sortDataKey`, `totalDataRowCount`, `rowSize`, `showFooterMessage`, `footerMessage`, `pageSize`, `sorting`, `onPageChange`, `onSortChange`, and `noDataAvailableMessage` are not yet supported in the v2 Table component', '---- Additional Information ----', 'new props are documented at: https://chakra-ui.com/docs/data-display/table']
|
|
@@ -8738,7 +9177,7 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
8738
9177
|
var value = _ref.value;
|
|
8739
9178
|
|
|
8740
9179
|
_this.setState({
|
|
8741
|
-
currentPage:
|
|
9180
|
+
currentPage: _parseInt(value, 10)
|
|
8742
9181
|
});
|
|
8743
9182
|
});
|
|
8744
9183
|
|
|
@@ -8836,7 +9275,7 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
8836
9275
|
|
|
8837
9276
|
var className = cell.className,
|
|
8838
9277
|
value = cell.value;
|
|
8839
|
-
var Cell = isObject__default['default'](cell) && cell.render ? cell.render :
|
|
9278
|
+
var Cell = isObject__default['default'](cell) && cell.render ? cell.render : _default$5;
|
|
8840
9279
|
|
|
8841
9280
|
var key = concat$2(_context2 = "".concat(i, "-")).call(_context2, dataKey);
|
|
8842
9281
|
|
|
@@ -8866,7 +9305,7 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
8866
9305
|
var _this$state2 = _this.state,
|
|
8867
9306
|
currentPage = _this$state2.currentPage,
|
|
8868
9307
|
totalPages = _this$state2.totalPages;
|
|
8869
|
-
return /*#__PURE__*/React__default['default'].createElement(
|
|
9308
|
+
return /*#__PURE__*/React__default['default'].createElement(_default$2, {
|
|
8870
9309
|
rowSize: rowSize,
|
|
8871
9310
|
pageSize: pageSize,
|
|
8872
9311
|
totalDataRowCount: totalDataRowCount,
|
|
@@ -8962,6 +9401,13 @@ var Table = /*#__PURE__*/function (_Component) {
|
|
|
8962
9401
|
className: tableClasses
|
|
8963
9402
|
}, this._renderHeadings(), this._renderRows()), this._renderFooter());
|
|
8964
9403
|
}
|
|
9404
|
+
}, {
|
|
9405
|
+
key: "__reactstandin__regenerateByEval",
|
|
9406
|
+
value: // @ts-ignore
|
|
9407
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
9408
|
+
// @ts-ignore
|
|
9409
|
+
this[key] = eval(code);
|
|
9410
|
+
}
|
|
8965
9411
|
}]);
|
|
8966
9412
|
|
|
8967
9413
|
return Table;
|
|
@@ -8999,7 +9445,7 @@ _defineProperty(Table, "propTypes", {
|
|
|
8999
9445
|
currentPage: PropTypes__default['default'].number,
|
|
9000
9446
|
|
|
9001
9447
|
/** Determines if table data will be sorted in ascending or descending order. */
|
|
9002
|
-
sortOrder: PropTypes__default['default'].oneOf([
|
|
9448
|
+
sortOrder: PropTypes__default['default'].oneOf([_default$8.ASC, _default$8.DESC]),
|
|
9003
9449
|
|
|
9004
9450
|
/** The header data key the table will be sorted on. */
|
|
9005
9451
|
sortDataKey: PropTypes__default['default'].string,
|
|
@@ -9069,36 +9515,45 @@ _defineProperty(Table, "defaultProps", {
|
|
|
9069
9515
|
showFooterMessage: true
|
|
9070
9516
|
});
|
|
9071
9517
|
|
|
9072
|
-
|
|
9518
|
+
(function () {
|
|
9519
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
9073
9520
|
|
|
9074
|
-
|
|
9521
|
+
if (!reactHotLoader) {
|
|
9522
|
+
return;
|
|
9523
|
+
}
|
|
9075
9524
|
|
|
9076
|
-
|
|
9525
|
+
reactHotLoader.register(PAGE_SIZE_MIN, "PAGE_SIZE_MIN", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/Table.jsx");
|
|
9526
|
+
reactHotLoader.register(PAGE_SIZE_MAX, "PAGE_SIZE_MAX", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/Table.jsx");
|
|
9527
|
+
reactHotLoader.register(Table, "Table", "/tmp/build/d4767a07/beta-pr/src/v1/components/Table/Table.jsx");
|
|
9528
|
+
})();
|
|
9077
9529
|
|
|
9530
|
+
(function () {
|
|
9531
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
9532
|
+
leaveModule && leaveModule(module);
|
|
9533
|
+
})();
|
|
9078
9534
|
|
|
9079
|
-
var
|
|
9535
|
+
var defineProperties$2 = objectDefineProperties.f;
|
|
9080
9536
|
|
|
9081
|
-
// `
|
|
9082
|
-
// https://tc39.es/ecma262/#sec-
|
|
9083
|
-
//
|
|
9084
|
-
_export({ target: '
|
|
9085
|
-
|
|
9086
|
-
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
9087
|
-
}
|
|
9537
|
+
// `Object.defineProperties` method
|
|
9538
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
9539
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
9540
|
+
_export({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties$2, sham: !descriptors }, {
|
|
9541
|
+
defineProperties: defineProperties$2
|
|
9088
9542
|
});
|
|
9089
9543
|
|
|
9090
|
-
var
|
|
9091
|
-
|
|
9092
|
-
var ArrayPrototype = Array.prototype;
|
|
9544
|
+
var defineProperties_1 = createCommonjsModule(function (module) {
|
|
9545
|
+
var Object = path.Object;
|
|
9093
9546
|
|
|
9094
|
-
var
|
|
9095
|
-
|
|
9096
|
-
return it === ArrayPrototype || (objectIsPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? filter$3 : own;
|
|
9547
|
+
var defineProperties = module.exports = function defineProperties(T, D) {
|
|
9548
|
+
return Object.defineProperties(T, D);
|
|
9097
9549
|
};
|
|
9098
9550
|
|
|
9099
|
-
|
|
9551
|
+
if (Object.defineProperties.sham) defineProperties.sham = true;
|
|
9552
|
+
});
|
|
9100
9553
|
|
|
9101
|
-
var
|
|
9554
|
+
var defineProperties$1 = defineProperties_1;
|
|
9555
|
+
|
|
9556
|
+
var defineProperties = defineProperties$1;
|
|
9102
9557
|
|
|
9103
9558
|
// `Object.getOwnPropertyDescriptors` method
|
|
9104
9559
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors
|
|
@@ -9124,12 +9579,52 @@ var getOwnPropertyDescriptors$1 = getOwnPropertyDescriptors$2;
|
|
|
9124
9579
|
|
|
9125
9580
|
var getOwnPropertyDescriptors = getOwnPropertyDescriptors$1;
|
|
9126
9581
|
|
|
9582
|
+
var $filter = arrayIteration.filter;
|
|
9583
|
+
|
|
9584
|
+
|
|
9585
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
9586
|
+
|
|
9587
|
+
// `Array.prototype.filter` method
|
|
9588
|
+
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
9589
|
+
// with adding support of @@species
|
|
9590
|
+
_export({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
9591
|
+
filter: function filter(callbackfn /* , thisArg */) {
|
|
9592
|
+
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
9593
|
+
}
|
|
9594
|
+
});
|
|
9595
|
+
|
|
9596
|
+
var filter$3 = entryVirtual('Array').filter;
|
|
9597
|
+
|
|
9598
|
+
var ArrayPrototype = Array.prototype;
|
|
9599
|
+
|
|
9600
|
+
var filter$2 = function (it) {
|
|
9601
|
+
var own = it.filter;
|
|
9602
|
+
return it === ArrayPrototype || (objectIsPrototypeOf(ArrayPrototype, it) && own === ArrayPrototype.filter) ? filter$3 : own;
|
|
9603
|
+
};
|
|
9604
|
+
|
|
9605
|
+
var filter$1 = filter$2;
|
|
9606
|
+
|
|
9607
|
+
var filter = filter$1;
|
|
9608
|
+
|
|
9609
|
+
var getOwnPropertySymbols = getOwnPropertySymbols$4;
|
|
9610
|
+
|
|
9611
|
+
var keys = keys$4;
|
|
9612
|
+
|
|
9127
9613
|
var _excluded = ["className", "children", "href", "iconPosition", "block", "disabled", "loading", "onClick"];
|
|
9128
9614
|
|
|
9615
|
+
(function () {
|
|
9616
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
9617
|
+
enterModule && enterModule(module);
|
|
9618
|
+
})();
|
|
9619
|
+
|
|
9129
9620
|
function ownKeys(object, enumerableOnly) { var keys$1 = keys(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly && (symbols = filter(symbols).call(symbols, function (sym) { return getOwnPropertyDescriptor$1(object, sym).enumerable; })), keys$1.push.apply(keys$1, symbols); } return keys$1; }
|
|
9130
9621
|
|
|
9131
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).
|
|
9132
|
-
|
|
9622
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? forEach(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : getOwnPropertyDescriptors ? defineProperties(target, getOwnPropertyDescriptors(source)) : forEach(_context2 = ownKeys(Object(source))).call(_context2, function (key) { defineProperty$1(target, key, getOwnPropertyDescriptor$1(source, key)); }); } return target; }
|
|
9623
|
+
|
|
9624
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
9625
|
+
return a;
|
|
9626
|
+
};
|
|
9627
|
+
_default$b({
|
|
9133
9628
|
name: 'TextButton',
|
|
9134
9629
|
newName: 'Button',
|
|
9135
9630
|
changes: ['Text button has now become a style variant of the v2 Button component', 'Since the v1 TextButton was a styled version of the v1 Button, the two have been combined in the v2 Button component. All of the core functionality of both v1 button types has been included in the v2 Button.', '---- Props ----', 'iconPosition has been removed, iconLeft and iconRight have replaced it.', 'color was removed.', 'block was removed, if full width is needed, use isFullWidth', 'loading was replaced by isLoading']
|
|
@@ -9167,7 +9662,6 @@ var TextButton = function TextButton(_ref) {
|
|
|
9167
9662
|
return /*#__PURE__*/React__default['default'].createElement(tag, opts, children);
|
|
9168
9663
|
};
|
|
9169
9664
|
|
|
9170
|
-
_c$1 = TextButton;
|
|
9171
9665
|
TextButton.propTypes = {
|
|
9172
9666
|
/** Additional class(es) to add to the component. */
|
|
9173
9667
|
className: PropTypes__default['default'].string,
|
|
@@ -9197,10 +9691,23 @@ TextButton.propTypes = {
|
|
|
9197
9691
|
*/
|
|
9198
9692
|
onClick: PropTypes__default['default'].func
|
|
9199
9693
|
};
|
|
9694
|
+
var _default$1 = TextButton;
|
|
9200
9695
|
|
|
9201
|
-
|
|
9696
|
+
(function () {
|
|
9697
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
9202
9698
|
|
|
9203
|
-
|
|
9699
|
+
if (!reactHotLoader) {
|
|
9700
|
+
return;
|
|
9701
|
+
}
|
|
9702
|
+
|
|
9703
|
+
reactHotLoader.register(TextButton, "TextButton", "/tmp/build/d4767a07/beta-pr/src/v1/components/TextButton/TextButton.jsx");
|
|
9704
|
+
reactHotLoader.register(_default$1, "default", "/tmp/build/d4767a07/beta-pr/src/v1/components/TextButton/TextButton.jsx");
|
|
9705
|
+
})();
|
|
9706
|
+
|
|
9707
|
+
(function () {
|
|
9708
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
9709
|
+
leaveModule && leaveModule(module);
|
|
9710
|
+
})();
|
|
9204
9711
|
|
|
9205
9712
|
var eventlistener = createCommonjsModule(function (module, exports) {
|
|
9206
9713
|
(function(root,factory){
|
|
@@ -10385,6 +10892,15 @@ var LazyLoad = unwrapExports(LazyLoad_1);
|
|
|
10385
10892
|
|
|
10386
10893
|
var environment = environment$1;
|
|
10387
10894
|
|
|
10895
|
+
(function () {
|
|
10896
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10897
|
+
enterModule && enterModule(module);
|
|
10898
|
+
})();
|
|
10899
|
+
|
|
10900
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
10901
|
+
return a;
|
|
10902
|
+
};
|
|
10903
|
+
|
|
10388
10904
|
var PulseLoader = function PulseLoader(_ref) {
|
|
10389
10905
|
var className = _ref.className,
|
|
10390
10906
|
size = _ref.size,
|
|
@@ -10426,7 +10942,6 @@ var PulseLoader = function PulseLoader(_ref) {
|
|
|
10426
10942
|
})), additionalMarkup);
|
|
10427
10943
|
};
|
|
10428
10944
|
|
|
10429
|
-
_c = PulseLoader;
|
|
10430
10945
|
PulseLoader.propTypes = {
|
|
10431
10946
|
/** Additional class(es) to add to the component. */
|
|
10432
10947
|
className: PropTypes__default['default'].string,
|
|
@@ -10444,15 +10959,37 @@ PulseLoader.defaultProps = {
|
|
|
10444
10959
|
size: 120,
|
|
10445
10960
|
borderWidth: 7
|
|
10446
10961
|
};
|
|
10962
|
+
var _default = PulseLoader;
|
|
10963
|
+
|
|
10964
|
+
(function () {
|
|
10965
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
10447
10966
|
|
|
10448
|
-
|
|
10967
|
+
if (!reactHotLoader) {
|
|
10968
|
+
return;
|
|
10969
|
+
}
|
|
10970
|
+
|
|
10971
|
+
reactHotLoader.register(PulseLoader, "PulseLoader", "/tmp/build/d4767a07/beta-pr/src/PulseLoader/PulseLoader.jsx");
|
|
10972
|
+
reactHotLoader.register(_default, "default", "/tmp/build/d4767a07/beta-pr/src/PulseLoader/PulseLoader.jsx");
|
|
10973
|
+
})();
|
|
10974
|
+
|
|
10975
|
+
(function () {
|
|
10976
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
10977
|
+
leaveModule && leaveModule(module);
|
|
10978
|
+
})();
|
|
10449
10979
|
|
|
10450
|
-
|
|
10980
|
+
(function () {
|
|
10981
|
+
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
10982
|
+
enterModule && enterModule(module);
|
|
10983
|
+
})();
|
|
10451
10984
|
|
|
10452
10985
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
10453
10986
|
|
|
10454
10987
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !construct) return false; if (construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
10455
10988
|
|
|
10989
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
10990
|
+
return a;
|
|
10991
|
+
};
|
|
10992
|
+
|
|
10456
10993
|
var Image = /*#__PURE__*/function (_Component) {
|
|
10457
10994
|
_inherits(Image, _Component);
|
|
10458
10995
|
|
|
@@ -10549,7 +11086,7 @@ var Image = /*#__PURE__*/function (_Component) {
|
|
|
10549
11086
|
maxWidth: width,
|
|
10550
11087
|
maxHeight: height
|
|
10551
11088
|
}
|
|
10552
|
-
}, showLoader && !isLoaded && /*#__PURE__*/React__default['default'].createElement(
|
|
11089
|
+
}, showLoader && !isLoaded && /*#__PURE__*/React__default['default'].createElement(_default, {
|
|
10553
11090
|
size: 32,
|
|
10554
11091
|
borderWidth: 2
|
|
10555
11092
|
}), /*#__PURE__*/React__default['default'].createElement("img", _extends({}, this._imageProps, {
|
|
@@ -10582,6 +11119,13 @@ var Image = /*#__PURE__*/function (_Component) {
|
|
|
10582
11119
|
|
|
10583
11120
|
return this._renderImage();
|
|
10584
11121
|
}
|
|
11122
|
+
}, {
|
|
11123
|
+
key: "__reactstandin__regenerateByEval",
|
|
11124
|
+
value: // @ts-ignore
|
|
11125
|
+
function __reactstandin__regenerateByEval(key, code) {
|
|
11126
|
+
// @ts-ignore
|
|
11127
|
+
this[key] = eval(code);
|
|
11128
|
+
}
|
|
10585
11129
|
}]);
|
|
10586
11130
|
|
|
10587
11131
|
return Image;
|
|
@@ -10629,10 +11173,29 @@ _defineProperty(Image, "defaultProps", {
|
|
|
10629
11173
|
cloudinaryCloudName: 'spothero'
|
|
10630
11174
|
});
|
|
10631
11175
|
|
|
10632
|
-
|
|
11176
|
+
(function () {
|
|
11177
|
+
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
11178
|
+
|
|
11179
|
+
if (!reactHotLoader) {
|
|
11180
|
+
return;
|
|
11181
|
+
}
|
|
11182
|
+
|
|
11183
|
+
reactHotLoader.register(Image, "Image", "/tmp/build/d4767a07/beta-pr/src/v1/components/Image/Image.jsx");
|
|
11184
|
+
})();
|
|
11185
|
+
|
|
11186
|
+
(function () {
|
|
11187
|
+
var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
|
|
11188
|
+
leaveModule && leaveModule(module);
|
|
11189
|
+
})();
|
|
11190
|
+
|
|
11191
|
+
typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
11192
|
+
return a;
|
|
11193
|
+
};
|
|
11194
|
+
|
|
11195
|
+
exports.Button = _default$a;
|
|
10633
11196
|
exports.Image = Image;
|
|
10634
|
-
exports.Loader =
|
|
10635
|
-
exports.Panel =
|
|
11197
|
+
exports.Loader = _default$4;
|
|
11198
|
+
exports.Panel = _default$9;
|
|
10636
11199
|
exports.Table = Table;
|
|
10637
|
-
exports.TextButton =
|
|
10638
|
-
//# sourceMappingURL=index.js.map
|
|
11200
|
+
exports.TextButton = _default$1;
|
|
11201
|
+
//# sourceMappingURL=index-unbundled.cjs.js.map
|