@galaxy-ds/core 1.1.67 → 1.1.69
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/dist/AccordionBody/AccordionBody.d.ts +4 -0
- package/dist/AccordionBody/AccordionBodyProps.types.d.ts +5 -0
- package/dist/Icons/ActivityType/ActivityTypeVideoCall.d.ts +3 -0
- package/dist/Icons/ActivityType/index.d.ts +1 -0
- package/dist/Themes/LawConnect/common.d.ts +277 -0
- package/dist/Themes/LawConnect/index.d.ts +1 -0
- package/dist/Themes/LawConnect/pallette.d.ts +228 -0
- package/dist/Themes/LawConnect/theme.d.ts +1 -0
- package/dist/Themes/LawConnect/typography.d.ts +93 -0
- package/dist/index.esm.js +430 -328
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +430 -328
- package/dist/index.js.map +1 -1
- package/dist/package.json +7 -7
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
30
30
|
var ReactDOM__namespace = /*#__PURE__*/_interopNamespace(ReactDOM);
|
|
31
31
|
var ReactDOM__default = /*#__PURE__*/_interopDefaultLegacy(ReactDOM);
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
/******************************************************************************
|
|
34
34
|
Copyright (c) Microsoft Corporation.
|
|
35
35
|
|
|
36
36
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -233,17 +233,11 @@ function _extends$1() {
|
|
|
233
233
|
function _typeof$1(obj) {
|
|
234
234
|
"@babel/helpers - typeof";
|
|
235
235
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}
|
|
241
|
-
_typeof$1 = function _typeof(obj) {
|
|
242
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
243
|
-
};
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
return _typeof$1(obj);
|
|
236
|
+
return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
237
|
+
return typeof obj;
|
|
238
|
+
} : function (obj) {
|
|
239
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
240
|
+
}, _typeof$1(obj);
|
|
247
241
|
}
|
|
248
242
|
|
|
249
243
|
function isPlainObject(item) {
|
|
@@ -632,9 +626,15 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
632
626
|
* LICENSE file in the root directory of this source tree.
|
|
633
627
|
*/
|
|
634
628
|
|
|
635
|
-
var ReactPropTypesSecret$
|
|
629
|
+
var ReactPropTypesSecret$2 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
630
|
+
|
|
631
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
|
|
636
632
|
|
|
637
|
-
var
|
|
633
|
+
var has$2 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
634
|
+
|
|
635
|
+
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
636
|
+
|
|
637
|
+
var has$1 = has$2;
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
640
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -646,9 +646,9 @@ var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
|
646
646
|
var printWarning$1 = function() {};
|
|
647
647
|
|
|
648
648
|
if (process.env.NODE_ENV !== 'production') {
|
|
649
|
-
var ReactPropTypesSecret =
|
|
649
|
+
var ReactPropTypesSecret = ReactPropTypesSecret$1;
|
|
650
650
|
var loggedTypeFailures = {};
|
|
651
|
-
var has
|
|
651
|
+
var has = has$1;
|
|
652
652
|
|
|
653
653
|
printWarning$1 = function(text) {
|
|
654
654
|
var message = 'Warning: ' + text;
|
|
@@ -660,7 +660,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
660
660
|
// This error was thrown as a convenience so that you can use this stack
|
|
661
661
|
// to find the callsite that caused this warning to fire.
|
|
662
662
|
throw new Error(message);
|
|
663
|
-
} catch (x) {}
|
|
663
|
+
} catch (x) { /**/ }
|
|
664
664
|
};
|
|
665
665
|
}
|
|
666
666
|
|
|
@@ -675,10 +675,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
675
675
|
* @param {?Function} getStack Returns the component stack.
|
|
676
676
|
* @private
|
|
677
677
|
*/
|
|
678
|
-
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
678
|
+
function checkPropTypes$1(typeSpecs, values, location, componentName, getStack) {
|
|
679
679
|
if (process.env.NODE_ENV !== 'production') {
|
|
680
680
|
for (var typeSpecName in typeSpecs) {
|
|
681
|
-
if (has
|
|
681
|
+
if (has(typeSpecs, typeSpecName)) {
|
|
682
682
|
var error;
|
|
683
683
|
// Prop type validation may throw. In case they do, we don't want to
|
|
684
684
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -689,7 +689,8 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
689
689
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
690
690
|
var err = Error(
|
|
691
691
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
692
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
692
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
693
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
693
694
|
);
|
|
694
695
|
err.name = 'Invariant Violation';
|
|
695
696
|
throw err;
|
|
@@ -729,13 +730,15 @@ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
|
729
730
|
*
|
|
730
731
|
* @private
|
|
731
732
|
*/
|
|
732
|
-
checkPropTypes.resetWarningCache = function() {
|
|
733
|
+
checkPropTypes$1.resetWarningCache = function() {
|
|
733
734
|
if (process.env.NODE_ENV !== 'production') {
|
|
734
735
|
loggedTypeFailures = {};
|
|
735
736
|
}
|
|
736
737
|
};
|
|
737
738
|
|
|
738
|
-
var checkPropTypes_1 = checkPropTypes;
|
|
739
|
+
var checkPropTypes_1 = checkPropTypes$1;
|
|
740
|
+
|
|
741
|
+
var checkPropTypes = checkPropTypes_1;
|
|
739
742
|
|
|
740
743
|
/**
|
|
741
744
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -750,7 +753,7 @@ var checkPropTypes_1 = checkPropTypes;
|
|
|
750
753
|
|
|
751
754
|
|
|
752
755
|
|
|
753
|
-
|
|
756
|
+
|
|
754
757
|
var printWarning = function() {};
|
|
755
758
|
|
|
756
759
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -851,6 +854,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
851
854
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
852
855
|
var ReactPropTypes = {
|
|
853
856
|
array: createPrimitiveTypeChecker('array'),
|
|
857
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
854
858
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
855
859
|
func: createPrimitiveTypeChecker('function'),
|
|
856
860
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -896,8 +900,9 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
896
900
|
* is prohibitively expensive if they are created too often, such as what
|
|
897
901
|
* happens in oneOfType() for any type before the one that matched.
|
|
898
902
|
*/
|
|
899
|
-
function PropTypeError(message) {
|
|
903
|
+
function PropTypeError(message, data) {
|
|
900
904
|
this.message = message;
|
|
905
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
901
906
|
this.stack = '';
|
|
902
907
|
}
|
|
903
908
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -912,7 +917,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
912
917
|
componentName = componentName || ANONYMOUS;
|
|
913
918
|
propFullName = propFullName || propName;
|
|
914
919
|
|
|
915
|
-
if (secret !==
|
|
920
|
+
if (secret !== ReactPropTypesSecret$1) {
|
|
916
921
|
if (throwOnDirectAccess) {
|
|
917
922
|
// New behavior only for users of `prop-types` package
|
|
918
923
|
var err = new Error(
|
|
@@ -932,7 +937,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
932
937
|
) {
|
|
933
938
|
printWarning(
|
|
934
939
|
'You are manually calling a React.PropTypes validation ' +
|
|
935
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
940
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
936
941
|
'and will throw in the standalone `prop-types` package. ' +
|
|
937
942
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
938
943
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -971,7 +976,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
971
976
|
// 'of type `object`'.
|
|
972
977
|
var preciseType = getPreciseType(propValue);
|
|
973
978
|
|
|
974
|
-
return new PropTypeError(
|
|
979
|
+
return new PropTypeError(
|
|
980
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
981
|
+
{expectedType: expectedType}
|
|
982
|
+
);
|
|
975
983
|
}
|
|
976
984
|
return null;
|
|
977
985
|
}
|
|
@@ -993,7 +1001,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
993
1001
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
994
1002
|
}
|
|
995
1003
|
for (var i = 0; i < propValue.length; i++) {
|
|
996
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']',
|
|
1004
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret$1);
|
|
997
1005
|
if (error instanceof Error) {
|
|
998
1006
|
return error;
|
|
999
1007
|
}
|
|
@@ -1085,8 +1093,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1085
1093
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
1086
1094
|
}
|
|
1087
1095
|
for (var key in propValue) {
|
|
1088
|
-
if (has(propValue, key)) {
|
|
1089
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1096
|
+
if (has$1(propValue, key)) {
|
|
1097
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1090
1098
|
if (error instanceof Error) {
|
|
1091
1099
|
return error;
|
|
1092
1100
|
}
|
|
@@ -1115,14 +1123,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1115
1123
|
}
|
|
1116
1124
|
|
|
1117
1125
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1126
|
+
var expectedTypes = [];
|
|
1118
1127
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
1119
1128
|
var checker = arrayOfTypeCheckers[i];
|
|
1120
|
-
|
|
1129
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret$1);
|
|
1130
|
+
if (checkerResult == null) {
|
|
1121
1131
|
return null;
|
|
1122
1132
|
}
|
|
1133
|
+
if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
|
|
1134
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
1135
|
+
}
|
|
1123
1136
|
}
|
|
1124
|
-
|
|
1125
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
1137
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
1138
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
1126
1139
|
}
|
|
1127
1140
|
return createChainableTypeChecker(validate);
|
|
1128
1141
|
}
|
|
@@ -1137,6 +1150,13 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1137
1150
|
return createChainableTypeChecker(validate);
|
|
1138
1151
|
}
|
|
1139
1152
|
|
|
1153
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
1154
|
+
return new PropTypeError(
|
|
1155
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
1156
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
1157
|
+
);
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1140
1160
|
function createShapeTypeChecker(shapeTypes) {
|
|
1141
1161
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1142
1162
|
var propValue = props[propName];
|
|
@@ -1146,10 +1166,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1146
1166
|
}
|
|
1147
1167
|
for (var key in shapeTypes) {
|
|
1148
1168
|
var checker = shapeTypes[key];
|
|
1149
|
-
if (
|
|
1150
|
-
|
|
1169
|
+
if (typeof checker !== 'function') {
|
|
1170
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1151
1171
|
}
|
|
1152
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1172
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1153
1173
|
if (error) {
|
|
1154
1174
|
return error;
|
|
1155
1175
|
}
|
|
@@ -1166,19 +1186,21 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1166
1186
|
if (propType !== 'object') {
|
|
1167
1187
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
1168
1188
|
}
|
|
1169
|
-
// We need to check all keys in case some are required but missing from
|
|
1170
|
-
// props.
|
|
1189
|
+
// We need to check all keys in case some are required but missing from props.
|
|
1171
1190
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
1172
1191
|
for (var key in allKeys) {
|
|
1173
1192
|
var checker = shapeTypes[key];
|
|
1193
|
+
if (has$1(shapeTypes, key) && typeof checker !== 'function') {
|
|
1194
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1195
|
+
}
|
|
1174
1196
|
if (!checker) {
|
|
1175
1197
|
return new PropTypeError(
|
|
1176
1198
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
1177
1199
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
1178
|
-
'\nValid keys: ' +
|
|
1200
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
1179
1201
|
);
|
|
1180
1202
|
}
|
|
1181
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1203
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret$1);
|
|
1182
1204
|
if (error) {
|
|
1183
1205
|
return error;
|
|
1184
1206
|
}
|
|
@@ -1320,8 +1342,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1320
1342
|
return propValue.constructor.name;
|
|
1321
1343
|
}
|
|
1322
1344
|
|
|
1323
|
-
ReactPropTypes.checkPropTypes =
|
|
1324
|
-
ReactPropTypes.resetWarningCache =
|
|
1345
|
+
ReactPropTypes.checkPropTypes = checkPropTypes;
|
|
1346
|
+
ReactPropTypes.resetWarningCache = checkPropTypes.resetWarningCache;
|
|
1325
1347
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1326
1348
|
|
|
1327
1349
|
return ReactPropTypes;
|
|
@@ -1342,7 +1364,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
1342
1364
|
|
|
1343
1365
|
var factoryWithThrowingShims = function() {
|
|
1344
1366
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1345
|
-
if (secret ===
|
|
1367
|
+
if (secret === ReactPropTypesSecret$1) {
|
|
1346
1368
|
// It is still safe when called from React.
|
|
1347
1369
|
return;
|
|
1348
1370
|
}
|
|
@@ -1360,6 +1382,7 @@ var factoryWithThrowingShims = function() {
|
|
|
1360
1382
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1361
1383
|
var ReactPropTypes = {
|
|
1362
1384
|
array: shim,
|
|
1385
|
+
bigint: shim,
|
|
1363
1386
|
bool: shim,
|
|
1364
1387
|
func: shim,
|
|
1365
1388
|
number: shim,
|
|
@@ -1388,6 +1411,10 @@ var factoryWithThrowingShims = function() {
|
|
|
1388
1411
|
return ReactPropTypes;
|
|
1389
1412
|
};
|
|
1390
1413
|
|
|
1414
|
+
var require$$1$3 = factoryWithTypeCheckers;
|
|
1415
|
+
|
|
1416
|
+
var require$$2$1 = factoryWithThrowingShims;
|
|
1417
|
+
|
|
1391
1418
|
/**
|
|
1392
1419
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1393
1420
|
*
|
|
@@ -1402,11 +1429,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1402
1429
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1403
1430
|
// http://fb.me/prop-types-in-prod
|
|
1404
1431
|
var throwOnDirectAccess = true;
|
|
1405
|
-
module.exports =
|
|
1432
|
+
module.exports = require$$1$3(ReactIs.isElement, throwOnDirectAccess);
|
|
1406
1433
|
} else {
|
|
1407
1434
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1408
1435
|
// http://fb.me/prop-types-in-prod
|
|
1409
|
-
module.exports =
|
|
1436
|
+
module.exports = require$$2$1();
|
|
1410
1437
|
}
|
|
1411
1438
|
});
|
|
1412
1439
|
|
|
@@ -1442,7 +1469,7 @@ function acceptingRef(props, propName, componentName, location, propFullName) {
|
|
|
1442
1469
|
}
|
|
1443
1470
|
|
|
1444
1471
|
if (warningHint !== undefined) {
|
|
1445
|
-
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://
|
|
1472
|
+
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://mui.com/r/caveat-with-refs-guide');
|
|
1446
1473
|
}
|
|
1447
1474
|
|
|
1448
1475
|
return null;
|
|
@@ -1483,7 +1510,7 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
|
|
|
1483
1510
|
}
|
|
1484
1511
|
|
|
1485
1512
|
if (warningHint !== undefined) {
|
|
1486
|
-
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element type that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://
|
|
1513
|
+
return new Error("Invalid ".concat(location, " `").concat(safePropName, "` supplied to `").concat(componentName, "`. ") + "Expected an element type that can hold a ref. ".concat(warningHint, " ") + 'For more information see https://mui.com/r/caveat-with-refs-guide');
|
|
1487
1514
|
}
|
|
1488
1515
|
|
|
1489
1516
|
return null;
|
|
@@ -1542,7 +1569,7 @@ function formatMuiErrorMessage(code) {
|
|
|
1542
1569
|
// see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
|
|
1543
1570
|
|
|
1544
1571
|
/* eslint-disable prefer-template */
|
|
1545
|
-
var url = 'https://
|
|
1572
|
+
var url = 'https://mui.com/production-error/?code=' + code;
|
|
1546
1573
|
|
|
1547
1574
|
for (var i = 1; i < arguments.length; i += 1) {
|
|
1548
1575
|
// rest params over-transpile for this case
|
|
@@ -2529,7 +2556,7 @@ var warnedOnce$1 = false;
|
|
|
2529
2556
|
function roundWithDeprecationWarning(value) {
|
|
2530
2557
|
if (process.env.NODE_ENV !== 'production') {
|
|
2531
2558
|
if (!warnedOnce$1) {
|
|
2532
|
-
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://
|
|
2559
|
+
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://mui.com/r/migration-v4/#theme for a migration path.'].join('\n'));
|
|
2533
2560
|
warnedOnce$1 = true;
|
|
2534
2561
|
}
|
|
2535
2562
|
}
|
|
@@ -3569,7 +3596,7 @@ function createTheme() {
|
|
|
3569
3596
|
if (process.env.NODE_ENV !== 'production') {
|
|
3570
3597
|
console.error(["Material-UI: The `".concat(parentKey, "` component increases ") + "the CSS specificity of the `".concat(key, "` internal state."), 'You can not override it like this: ', JSON.stringify(node, null, 2), '', 'Instead, you need to use the $ruleName syntax:', JSON.stringify({
|
|
3571
3598
|
root: _defineProperty({}, "&$".concat(key), child)
|
|
3572
|
-
}, null, 2), '', 'https://
|
|
3599
|
+
}, null, 2), '', 'https://mui.com/r/pseudo-classes-guide'].join('\n'));
|
|
3573
3600
|
} // Remove the style to prevent global conflicts.
|
|
3574
3601
|
|
|
3575
3602
|
|
|
@@ -3723,6 +3750,9 @@ function _defineProperties(target, props) {
|
|
|
3723
3750
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3724
3751
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3725
3752
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3753
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
3754
|
+
writable: false
|
|
3755
|
+
});
|
|
3726
3756
|
return Constructor;
|
|
3727
3757
|
}
|
|
3728
3758
|
|
|
@@ -4167,6 +4197,16 @@ function () {
|
|
|
4167
4197
|
this.options.jss.plugins.onProcessRule(rule);
|
|
4168
4198
|
return rule;
|
|
4169
4199
|
}
|
|
4200
|
+
/**
|
|
4201
|
+
* Replace rule, run plugins.
|
|
4202
|
+
*/
|
|
4203
|
+
;
|
|
4204
|
+
|
|
4205
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
4206
|
+
var newRule = this.rules.replace(name, style, options);
|
|
4207
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
4208
|
+
return newRule;
|
|
4209
|
+
}
|
|
4170
4210
|
/**
|
|
4171
4211
|
* Generates a CSS string.
|
|
4172
4212
|
*/
|
|
@@ -4578,12 +4618,33 @@ function () {
|
|
|
4578
4618
|
return rule;
|
|
4579
4619
|
}
|
|
4580
4620
|
/**
|
|
4581
|
-
*
|
|
4621
|
+
* Replace rule.
|
|
4622
|
+
* Create a new rule and remove old one instead of overwriting
|
|
4623
|
+
* because we want to invoke onCreateRule hook to make plugins work.
|
|
4582
4624
|
*/
|
|
4583
4625
|
;
|
|
4584
4626
|
|
|
4585
|
-
_proto.
|
|
4586
|
-
|
|
4627
|
+
_proto.replace = function replace(name, decl, ruleOptions) {
|
|
4628
|
+
var oldRule = this.get(name);
|
|
4629
|
+
var oldIndex = this.index.indexOf(oldRule);
|
|
4630
|
+
|
|
4631
|
+
if (oldRule) {
|
|
4632
|
+
this.remove(oldRule);
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4635
|
+
var options = ruleOptions;
|
|
4636
|
+
if (oldIndex !== -1) options = _extends$1({}, ruleOptions, {
|
|
4637
|
+
index: oldIndex
|
|
4638
|
+
});
|
|
4639
|
+
return this.add(name, decl, options);
|
|
4640
|
+
}
|
|
4641
|
+
/**
|
|
4642
|
+
* Get a rule by name or selector.
|
|
4643
|
+
*/
|
|
4644
|
+
;
|
|
4645
|
+
|
|
4646
|
+
_proto.get = function get(nameOrSelector) {
|
|
4647
|
+
return this.map[nameOrSelector];
|
|
4587
4648
|
}
|
|
4588
4649
|
/**
|
|
4589
4650
|
* Delete a rule.
|
|
@@ -4665,7 +4726,7 @@ function () {
|
|
|
4665
4726
|
}
|
|
4666
4727
|
|
|
4667
4728
|
if (name) {
|
|
4668
|
-
this.updateOne(this.
|
|
4729
|
+
this.updateOne(this.get(name), data, options);
|
|
4669
4730
|
} else {
|
|
4670
4731
|
for (var index = 0; index < this.index.length; index++) {
|
|
4671
4732
|
this.updateOne(this.index[index], data, options);
|
|
@@ -4837,6 +4898,40 @@ function () {
|
|
|
4837
4898
|
this.deployed = false;
|
|
4838
4899
|
return rule;
|
|
4839
4900
|
}
|
|
4901
|
+
/**
|
|
4902
|
+
* Replace a rule in the current stylesheet.
|
|
4903
|
+
*/
|
|
4904
|
+
;
|
|
4905
|
+
|
|
4906
|
+
_proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
|
|
4907
|
+
var oldRule = this.rules.get(nameOrSelector);
|
|
4908
|
+
if (!oldRule) return this.addRule(nameOrSelector, decl, options);
|
|
4909
|
+
var newRule = this.rules.replace(nameOrSelector, decl, options);
|
|
4910
|
+
|
|
4911
|
+
if (newRule) {
|
|
4912
|
+
this.options.jss.plugins.onProcessRule(newRule);
|
|
4913
|
+
}
|
|
4914
|
+
|
|
4915
|
+
if (this.attached) {
|
|
4916
|
+
if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
|
|
4917
|
+
// It will be inserted all together when .attach is called.
|
|
4918
|
+
|
|
4919
|
+
if (this.renderer) {
|
|
4920
|
+
if (!newRule) {
|
|
4921
|
+
this.renderer.deleteRule(oldRule);
|
|
4922
|
+
} else if (oldRule.renderable) {
|
|
4923
|
+
this.renderer.replaceRule(oldRule.renderable, newRule);
|
|
4924
|
+
}
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4927
|
+
return newRule;
|
|
4928
|
+
} // We can't replace rules to a detached style node.
|
|
4929
|
+
// We will redeploy the sheet once user will attach it.
|
|
4930
|
+
|
|
4931
|
+
|
|
4932
|
+
this.deployed = false;
|
|
4933
|
+
return newRule;
|
|
4934
|
+
}
|
|
4840
4935
|
/**
|
|
4841
4936
|
* Insert rule into the StyleSheet
|
|
4842
4937
|
*/
|
|
@@ -4864,12 +4959,12 @@ function () {
|
|
|
4864
4959
|
return added;
|
|
4865
4960
|
}
|
|
4866
4961
|
/**
|
|
4867
|
-
* Get a rule by name.
|
|
4962
|
+
* Get a rule by name or selector.
|
|
4868
4963
|
*/
|
|
4869
4964
|
;
|
|
4870
4965
|
|
|
4871
|
-
_proto.getRule = function getRule(
|
|
4872
|
-
return this.rules.get(
|
|
4966
|
+
_proto.getRule = function getRule(nameOrSelector) {
|
|
4967
|
+
return this.rules.get(nameOrSelector);
|
|
4873
4968
|
}
|
|
4874
4969
|
/**
|
|
4875
4970
|
* Delete a rule by name.
|
|
@@ -5650,7 +5745,7 @@ function () {
|
|
|
5650
5745
|
// like rules inside media queries or keyframes
|
|
5651
5746
|
|
|
5652
5747
|
if (rule.options.parent instanceof StyleSheet) {
|
|
5653
|
-
this.cssRules
|
|
5748
|
+
this.cssRules.splice(index, 0, cssRule);
|
|
5654
5749
|
}
|
|
5655
5750
|
}
|
|
5656
5751
|
/**
|
|
@@ -5676,8 +5771,6 @@ function () {
|
|
|
5676
5771
|
}
|
|
5677
5772
|
/**
|
|
5678
5773
|
* Generate a new CSS rule and replace the existing one.
|
|
5679
|
-
*
|
|
5680
|
-
* Only used for some old browsers because they can't set a selector.
|
|
5681
5774
|
*/
|
|
5682
5775
|
;
|
|
5683
5776
|
|
|
@@ -5707,7 +5800,7 @@ var Jss =
|
|
|
5707
5800
|
function () {
|
|
5708
5801
|
function Jss(options) {
|
|
5709
5802
|
this.id = instanceCounter++;
|
|
5710
|
-
this.version = "10.
|
|
5803
|
+
this.version = "10.9.0";
|
|
5711
5804
|
this.plugins = new PluginsRegistry();
|
|
5712
5805
|
this.options = {
|
|
5713
5806
|
id: {
|
|
@@ -6008,6 +6101,16 @@ function () {
|
|
|
6008
6101
|
if (rule) this.options.jss.plugins.onProcessRule(rule);
|
|
6009
6102
|
return rule;
|
|
6010
6103
|
}
|
|
6104
|
+
/**
|
|
6105
|
+
* Replace rule, run plugins.
|
|
6106
|
+
*/
|
|
6107
|
+
;
|
|
6108
|
+
|
|
6109
|
+
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
6110
|
+
var newRule = this.rules.replace(name, style, options);
|
|
6111
|
+
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
6112
|
+
return newRule;
|
|
6113
|
+
}
|
|
6011
6114
|
/**
|
|
6012
6115
|
* Get index of a rule.
|
|
6013
6116
|
*/
|
|
@@ -6021,8 +6124,8 @@ function () {
|
|
|
6021
6124
|
*/
|
|
6022
6125
|
;
|
|
6023
6126
|
|
|
6024
|
-
_proto.toString = function toString() {
|
|
6025
|
-
return this.rules.toString();
|
|
6127
|
+
_proto.toString = function toString(options) {
|
|
6128
|
+
return this.rules.toString(options);
|
|
6026
6129
|
};
|
|
6027
6130
|
|
|
6028
6131
|
return GlobalContainerRule;
|
|
@@ -6119,7 +6222,7 @@ function jssGlobal() {
|
|
|
6119
6222
|
}
|
|
6120
6223
|
}
|
|
6121
6224
|
|
|
6122
|
-
if (options.scoped === false) {
|
|
6225
|
+
if (!options.selector && options.scoped === false) {
|
|
6123
6226
|
options.selector = name;
|
|
6124
6227
|
}
|
|
6125
6228
|
|
|
@@ -6217,9 +6320,18 @@ function jssNested() {
|
|
|
6217
6320
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
6218
6321
|
|
|
6219
6322
|
selector = selector.replace(refRegExp, replaceRef);
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6323
|
+
var name = styleRule.key + "-" + prop;
|
|
6324
|
+
|
|
6325
|
+
if ('replaceRule' in container) {
|
|
6326
|
+
// for backward compatibility
|
|
6327
|
+
container.replaceRule(name, style[prop], _extends$1({}, options, {
|
|
6328
|
+
selector: selector
|
|
6329
|
+
}));
|
|
6330
|
+
} else {
|
|
6331
|
+
container.addRule(name, style[prop], _extends$1({}, options, {
|
|
6332
|
+
selector: selector
|
|
6333
|
+
}));
|
|
6334
|
+
}
|
|
6223
6335
|
} else if (isNestedConditional) {
|
|
6224
6336
|
// Place conditional right after the parent rule to ensure right ordering.
|
|
6225
6337
|
container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
|
|
@@ -17609,7 +17721,7 @@ var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(prop
|
|
|
17609
17721
|
var element = event.target || inputRef.current;
|
|
17610
17722
|
|
|
17611
17723
|
if (element == null) {
|
|
17612
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://
|
|
17724
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage(1));
|
|
17613
17725
|
}
|
|
17614
17726
|
|
|
17615
17727
|
checkDirty({
|
|
@@ -30231,13 +30343,13 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
30231
30343
|
* Number of rows to display when multiline option is set to true.
|
|
30232
30344
|
* @deprecated Use `minRows` instead.
|
|
30233
30345
|
*/
|
|
30234
|
-
rows: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30346
|
+
rows: deprecatedPropType(propTypes.oneOfType([propTypes.number, propTypes.string]), 'Use `minRows` instead'),
|
|
30235
30347
|
|
|
30236
30348
|
/**
|
|
30237
30349
|
* Maximum number of rows to display.
|
|
30238
30350
|
* @deprecated Use `maxRows` instead.
|
|
30239
30351
|
*/
|
|
30240
|
-
rowsMax: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30352
|
+
rowsMax: deprecatedPropType(propTypes.oneOfType([propTypes.number, propTypes.string]), 'Use `maxRows` instead'),
|
|
30241
30353
|
|
|
30242
30354
|
/**
|
|
30243
30355
|
* Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter.
|
|
@@ -30934,16 +31046,16 @@ var AccordionSummary = function (props) {
|
|
|
30934
31046
|
return (React__default["default"].createElement(MuiAccordionSummary, __assign$1({ className: classes.root }, props, { expandIcon: React__default["default"].createElement(ChevronDownIcon, { fontSize: 'small' }) })));
|
|
30935
31047
|
};
|
|
30936
31048
|
|
|
30937
|
-
/**
|
|
30938
|
-
* @ignore - internal component.
|
|
31049
|
+
/**
|
|
31050
|
+
* @ignore - internal component.
|
|
30939
31051
|
*/
|
|
30940
31052
|
|
|
30941
31053
|
var CloseIcon = createSvgIcon$1( /*#__PURE__*/React__namespace.createElement("path", {
|
|
30942
31054
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
30943
31055
|
}), 'Close');
|
|
30944
31056
|
|
|
30945
|
-
/**
|
|
30946
|
-
* @ignore - internal component.
|
|
31057
|
+
/**
|
|
31058
|
+
* @ignore - internal component.
|
|
30947
31059
|
*/
|
|
30948
31060
|
|
|
30949
31061
|
var ArrowDropDownIcon = createSvgIcon$1( /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -32525,398 +32637,398 @@ process.env.NODE_ENV !== "production" ? Autocomplete$1.propTypes = {
|
|
|
32525
32637
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
32526
32638
|
// ----------------------------------------------------------------------
|
|
32527
32639
|
|
|
32528
|
-
/**
|
|
32529
|
-
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32530
|
-
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32531
|
-
* The inline completion string is visually highlighted and has a selected state.
|
|
32640
|
+
/**
|
|
32641
|
+
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32642
|
+
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32643
|
+
* The inline completion string is visually highlighted and has a selected state.
|
|
32532
32644
|
*/
|
|
32533
32645
|
autoComplete: propTypes.bool,
|
|
32534
32646
|
|
|
32535
|
-
/**
|
|
32536
|
-
* If `true`, the first option is automatically highlighted.
|
|
32647
|
+
/**
|
|
32648
|
+
* If `true`, the first option is automatically highlighted.
|
|
32537
32649
|
*/
|
|
32538
32650
|
autoHighlight: propTypes.bool,
|
|
32539
32651
|
|
|
32540
|
-
/**
|
|
32541
|
-
* If `true`, the selected option becomes the value of the input
|
|
32542
|
-
* when the Autocomplete loses focus unless the user chooses
|
|
32543
|
-
* a different option or changes the character string in the input.
|
|
32652
|
+
/**
|
|
32653
|
+
* If `true`, the selected option becomes the value of the input
|
|
32654
|
+
* when the Autocomplete loses focus unless the user chooses
|
|
32655
|
+
* a different option or changes the character string in the input.
|
|
32544
32656
|
*/
|
|
32545
32657
|
autoSelect: propTypes.bool,
|
|
32546
32658
|
|
|
32547
|
-
/**
|
|
32548
|
-
* Control if the input should be blurred when an option is selected:
|
|
32549
|
-
*
|
|
32550
|
-
* - `false` the input is not blurred.
|
|
32551
|
-
* - `true` the input is always blurred.
|
|
32552
|
-
* - `touch` the input is blurred after a touch event.
|
|
32553
|
-
* - `mouse` the input is blurred after a mouse event.
|
|
32659
|
+
/**
|
|
32660
|
+
* Control if the input should be blurred when an option is selected:
|
|
32661
|
+
*
|
|
32662
|
+
* - `false` the input is not blurred.
|
|
32663
|
+
* - `true` the input is always blurred.
|
|
32664
|
+
* - `touch` the input is blurred after a touch event.
|
|
32665
|
+
* - `mouse` the input is blurred after a mouse event.
|
|
32554
32666
|
*/
|
|
32555
32667
|
blurOnSelect: propTypes.oneOfType([propTypes.oneOf(['mouse', 'touch']), propTypes.bool]),
|
|
32556
32668
|
|
|
32557
|
-
/**
|
|
32558
|
-
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32669
|
+
/**
|
|
32670
|
+
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32559
32671
|
*/
|
|
32560
32672
|
ChipProps: propTypes.object,
|
|
32561
32673
|
|
|
32562
|
-
/**
|
|
32563
|
-
* Override or extend the styles applied to the component.
|
|
32564
|
-
* See [CSS API](#css) below for more details.
|
|
32674
|
+
/**
|
|
32675
|
+
* Override or extend the styles applied to the component.
|
|
32676
|
+
* See [CSS API](#css) below for more details.
|
|
32565
32677
|
*/
|
|
32566
32678
|
classes: propTypes.object,
|
|
32567
32679
|
|
|
32568
|
-
/**
|
|
32569
|
-
* @ignore
|
|
32680
|
+
/**
|
|
32681
|
+
* @ignore
|
|
32570
32682
|
*/
|
|
32571
32683
|
className: propTypes.string,
|
|
32572
32684
|
|
|
32573
|
-
/**
|
|
32574
|
-
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32575
|
-
*
|
|
32576
|
-
* Set to `true` if you want to help the user enter a new value.
|
|
32577
|
-
* Set to `false` if you want to help the user resume his search.
|
|
32685
|
+
/**
|
|
32686
|
+
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32687
|
+
*
|
|
32688
|
+
* Set to `true` if you want to help the user enter a new value.
|
|
32689
|
+
* Set to `false` if you want to help the user resume his search.
|
|
32578
32690
|
*/
|
|
32579
32691
|
clearOnBlur: propTypes.bool,
|
|
32580
32692
|
|
|
32581
|
-
/**
|
|
32582
|
-
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32693
|
+
/**
|
|
32694
|
+
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32583
32695
|
*/
|
|
32584
32696
|
clearOnEscape: propTypes.bool,
|
|
32585
32697
|
|
|
32586
|
-
/**
|
|
32587
|
-
* Override the default text for the *clear* icon button.
|
|
32588
|
-
*
|
|
32589
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32698
|
+
/**
|
|
32699
|
+
* Override the default text for the *clear* icon button.
|
|
32700
|
+
*
|
|
32701
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32590
32702
|
*/
|
|
32591
32703
|
clearText: propTypes.string,
|
|
32592
32704
|
|
|
32593
|
-
/**
|
|
32594
|
-
* The icon to display in place of the default close icon.
|
|
32705
|
+
/**
|
|
32706
|
+
* The icon to display in place of the default close icon.
|
|
32595
32707
|
*/
|
|
32596
32708
|
closeIcon: propTypes.node,
|
|
32597
32709
|
|
|
32598
|
-
/**
|
|
32599
|
-
* Override the default text for the *close popup* icon button.
|
|
32600
|
-
*
|
|
32601
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32710
|
+
/**
|
|
32711
|
+
* Override the default text for the *close popup* icon button.
|
|
32712
|
+
*
|
|
32713
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32602
32714
|
*/
|
|
32603
32715
|
closeText: propTypes.string,
|
|
32604
32716
|
|
|
32605
|
-
/**
|
|
32606
|
-
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32607
|
-
* You can inspect the popup markup with your browser tools.
|
|
32608
|
-
* Consider this option when you need to customize the component.
|
|
32717
|
+
/**
|
|
32718
|
+
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32719
|
+
* You can inspect the popup markup with your browser tools.
|
|
32720
|
+
* Consider this option when you need to customize the component.
|
|
32609
32721
|
*/
|
|
32610
32722
|
debug: propTypes.bool,
|
|
32611
32723
|
|
|
32612
|
-
/**
|
|
32613
|
-
* The default input value. Use when the component is not controlled.
|
|
32724
|
+
/**
|
|
32725
|
+
* The default input value. Use when the component is not controlled.
|
|
32614
32726
|
*/
|
|
32615
32727
|
defaultValue: propTypes.any,
|
|
32616
32728
|
|
|
32617
|
-
/**
|
|
32618
|
-
* If `true`, the input can't be cleared.
|
|
32729
|
+
/**
|
|
32730
|
+
* If `true`, the input can't be cleared.
|
|
32619
32731
|
*/
|
|
32620
32732
|
disableClearable: propTypes
|
|
32621
32733
|
/* @typescript-to-proptypes-ignore */
|
|
32622
32734
|
.bool,
|
|
32623
32735
|
|
|
32624
|
-
/**
|
|
32625
|
-
* If `true`, the popup won't close when a value is selected.
|
|
32736
|
+
/**
|
|
32737
|
+
* If `true`, the popup won't close when a value is selected.
|
|
32626
32738
|
*/
|
|
32627
32739
|
disableCloseOnSelect: propTypes.bool,
|
|
32628
32740
|
|
|
32629
|
-
/**
|
|
32630
|
-
* If `true`, the input will be disabled.
|
|
32741
|
+
/**
|
|
32742
|
+
* If `true`, the input will be disabled.
|
|
32631
32743
|
*/
|
|
32632
32744
|
disabled: propTypes.bool,
|
|
32633
32745
|
|
|
32634
|
-
/**
|
|
32635
|
-
* If `true`, will allow focus on disabled items.
|
|
32746
|
+
/**
|
|
32747
|
+
* If `true`, will allow focus on disabled items.
|
|
32636
32748
|
*/
|
|
32637
32749
|
disabledItemsFocusable: propTypes.bool,
|
|
32638
32750
|
|
|
32639
|
-
/**
|
|
32640
|
-
* If `true`, the list box in the popup will not wrap focus.
|
|
32751
|
+
/**
|
|
32752
|
+
* If `true`, the list box in the popup will not wrap focus.
|
|
32641
32753
|
*/
|
|
32642
32754
|
disableListWrap: propTypes.bool,
|
|
32643
32755
|
|
|
32644
|
-
/**
|
|
32645
|
-
* Disable the portal behavior.
|
|
32646
|
-
* The children stay within it's parent DOM hierarchy.
|
|
32756
|
+
/**
|
|
32757
|
+
* Disable the portal behavior.
|
|
32758
|
+
* The children stay within it's parent DOM hierarchy.
|
|
32647
32759
|
*/
|
|
32648
32760
|
disablePortal: propTypes.bool,
|
|
32649
32761
|
|
|
32650
|
-
/**
|
|
32651
|
-
* A filter function that determines the options that are eligible.
|
|
32652
|
-
*
|
|
32653
|
-
* @param {T[]} options The options to render.
|
|
32654
|
-
* @param {object} state The state of the component.
|
|
32655
|
-
* @returns {T[]}
|
|
32762
|
+
/**
|
|
32763
|
+
* A filter function that determines the options that are eligible.
|
|
32764
|
+
*
|
|
32765
|
+
* @param {T[]} options The options to render.
|
|
32766
|
+
* @param {object} state The state of the component.
|
|
32767
|
+
* @returns {T[]}
|
|
32656
32768
|
*/
|
|
32657
32769
|
filterOptions: propTypes.func,
|
|
32658
32770
|
|
|
32659
|
-
/**
|
|
32660
|
-
* If `true`, hide the selected options from the list box.
|
|
32771
|
+
/**
|
|
32772
|
+
* If `true`, hide the selected options from the list box.
|
|
32661
32773
|
*/
|
|
32662
32774
|
filterSelectedOptions: propTypes.bool,
|
|
32663
32775
|
|
|
32664
|
-
/**
|
|
32665
|
-
* Force the visibility display of the popup icon.
|
|
32776
|
+
/**
|
|
32777
|
+
* Force the visibility display of the popup icon.
|
|
32666
32778
|
*/
|
|
32667
32779
|
forcePopupIcon: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.bool]),
|
|
32668
32780
|
|
|
32669
|
-
/**
|
|
32670
|
-
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32781
|
+
/**
|
|
32782
|
+
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32671
32783
|
*/
|
|
32672
32784
|
freeSolo: propTypes
|
|
32673
32785
|
/* @typescript-to-proptypes-ignore */
|
|
32674
32786
|
.bool,
|
|
32675
32787
|
|
|
32676
|
-
/**
|
|
32677
|
-
* If `true`, the input will take up the full width of its container.
|
|
32788
|
+
/**
|
|
32789
|
+
* If `true`, the input will take up the full width of its container.
|
|
32678
32790
|
*/
|
|
32679
32791
|
fullWidth: propTypes.bool,
|
|
32680
32792
|
|
|
32681
|
-
/**
|
|
32682
|
-
* The label to display when the tags are truncated (`limitTags`).
|
|
32683
|
-
*
|
|
32684
|
-
* @param {number} more The number of truncated tags.
|
|
32685
|
-
* @returns {ReactNode}
|
|
32793
|
+
/**
|
|
32794
|
+
* The label to display when the tags are truncated (`limitTags`).
|
|
32795
|
+
*
|
|
32796
|
+
* @param {number} more The number of truncated tags.
|
|
32797
|
+
* @returns {ReactNode}
|
|
32686
32798
|
*/
|
|
32687
32799
|
getLimitTagsText: propTypes.func,
|
|
32688
32800
|
|
|
32689
|
-
/**
|
|
32690
|
-
* Used to determine the disabled state for a given option.
|
|
32691
|
-
*
|
|
32692
|
-
* @param {T} option The option to test.
|
|
32693
|
-
* @returns {boolean}
|
|
32801
|
+
/**
|
|
32802
|
+
* Used to determine the disabled state for a given option.
|
|
32803
|
+
*
|
|
32804
|
+
* @param {T} option The option to test.
|
|
32805
|
+
* @returns {boolean}
|
|
32694
32806
|
*/
|
|
32695
32807
|
getOptionDisabled: propTypes.func,
|
|
32696
32808
|
|
|
32697
|
-
/**
|
|
32698
|
-
* Used to determine the string value for a given option.
|
|
32699
|
-
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32700
|
-
*
|
|
32701
|
-
* @param {T} option
|
|
32702
|
-
* @returns {string}
|
|
32809
|
+
/**
|
|
32810
|
+
* Used to determine the string value for a given option.
|
|
32811
|
+
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32812
|
+
*
|
|
32813
|
+
* @param {T} option
|
|
32814
|
+
* @returns {string}
|
|
32703
32815
|
*/
|
|
32704
32816
|
getOptionLabel: propTypes.func,
|
|
32705
32817
|
|
|
32706
|
-
/**
|
|
32707
|
-
* Used to determine if an option is selected, considering the current value.
|
|
32708
|
-
* Uses strict equality by default.
|
|
32709
|
-
*
|
|
32710
|
-
* @param {T} option The option to test.
|
|
32711
|
-
* @param {T} value The value to test against.
|
|
32712
|
-
* @returns {boolean}
|
|
32818
|
+
/**
|
|
32819
|
+
* Used to determine if an option is selected, considering the current value.
|
|
32820
|
+
* Uses strict equality by default.
|
|
32821
|
+
*
|
|
32822
|
+
* @param {T} option The option to test.
|
|
32823
|
+
* @param {T} value The value to test against.
|
|
32824
|
+
* @returns {boolean}
|
|
32713
32825
|
*/
|
|
32714
32826
|
getOptionSelected: propTypes.func,
|
|
32715
32827
|
|
|
32716
|
-
/**
|
|
32717
|
-
* If provided, the options will be grouped under the returned string.
|
|
32718
|
-
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32719
|
-
*
|
|
32720
|
-
* @param {T} options The options to group.
|
|
32721
|
-
* @returns {string}
|
|
32828
|
+
/**
|
|
32829
|
+
* If provided, the options will be grouped under the returned string.
|
|
32830
|
+
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32831
|
+
*
|
|
32832
|
+
* @param {T} options The options to group.
|
|
32833
|
+
* @returns {string}
|
|
32722
32834
|
*/
|
|
32723
32835
|
groupBy: propTypes.func,
|
|
32724
32836
|
|
|
32725
|
-
/**
|
|
32726
|
-
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32727
|
-
* It should move focus to the first option and last option, respectively.
|
|
32837
|
+
/**
|
|
32838
|
+
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32839
|
+
* It should move focus to the first option and last option, respectively.
|
|
32728
32840
|
*/
|
|
32729
32841
|
handleHomeEndKeys: propTypes.bool,
|
|
32730
32842
|
|
|
32731
|
-
/**
|
|
32732
|
-
* This prop is used to help implement the accessibility logic.
|
|
32733
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32843
|
+
/**
|
|
32844
|
+
* This prop is used to help implement the accessibility logic.
|
|
32845
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32734
32846
|
*/
|
|
32735
32847
|
id: propTypes.string,
|
|
32736
32848
|
|
|
32737
|
-
/**
|
|
32738
|
-
* If `true`, the highlight can move to the input.
|
|
32849
|
+
/**
|
|
32850
|
+
* If `true`, the highlight can move to the input.
|
|
32739
32851
|
*/
|
|
32740
32852
|
includeInputInList: propTypes.bool,
|
|
32741
32853
|
|
|
32742
|
-
/**
|
|
32743
|
-
* The input value.
|
|
32854
|
+
/**
|
|
32855
|
+
* The input value.
|
|
32744
32856
|
*/
|
|
32745
32857
|
inputValue: propTypes.string,
|
|
32746
32858
|
|
|
32747
|
-
/**
|
|
32748
|
-
* The maximum number of tags that will be visible when not focused.
|
|
32749
|
-
* Set `-1` to disable the limit.
|
|
32859
|
+
/**
|
|
32860
|
+
* The maximum number of tags that will be visible when not focused.
|
|
32861
|
+
* Set `-1` to disable the limit.
|
|
32750
32862
|
*/
|
|
32751
32863
|
limitTags: propTypes.number,
|
|
32752
32864
|
|
|
32753
|
-
/**
|
|
32754
|
-
* The component used to render the listbox.
|
|
32865
|
+
/**
|
|
32866
|
+
* The component used to render the listbox.
|
|
32755
32867
|
*/
|
|
32756
32868
|
ListboxComponent: propTypes.elementType,
|
|
32757
32869
|
|
|
32758
|
-
/**
|
|
32759
|
-
* Props applied to the Listbox element.
|
|
32870
|
+
/**
|
|
32871
|
+
* Props applied to the Listbox element.
|
|
32760
32872
|
*/
|
|
32761
32873
|
ListboxProps: propTypes.object,
|
|
32762
32874
|
|
|
32763
|
-
/**
|
|
32764
|
-
* If `true`, the component is in a loading state.
|
|
32875
|
+
/**
|
|
32876
|
+
* If `true`, the component is in a loading state.
|
|
32765
32877
|
*/
|
|
32766
32878
|
loading: propTypes.bool,
|
|
32767
32879
|
|
|
32768
|
-
/**
|
|
32769
|
-
* Text to display when in a loading state.
|
|
32770
|
-
*
|
|
32771
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32880
|
+
/**
|
|
32881
|
+
* Text to display when in a loading state.
|
|
32882
|
+
*
|
|
32883
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32772
32884
|
*/
|
|
32773
32885
|
loadingText: propTypes.node,
|
|
32774
32886
|
|
|
32775
|
-
/**
|
|
32776
|
-
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32887
|
+
/**
|
|
32888
|
+
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32777
32889
|
*/
|
|
32778
32890
|
multiple: propTypes
|
|
32779
32891
|
/* @typescript-to-proptypes-ignore */
|
|
32780
32892
|
.bool,
|
|
32781
32893
|
|
|
32782
|
-
/**
|
|
32783
|
-
* Text to display when there are no options.
|
|
32784
|
-
*
|
|
32785
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32894
|
+
/**
|
|
32895
|
+
* Text to display when there are no options.
|
|
32896
|
+
*
|
|
32897
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32786
32898
|
*/
|
|
32787
32899
|
noOptionsText: propTypes.node,
|
|
32788
32900
|
|
|
32789
|
-
/**
|
|
32790
|
-
* Callback fired when the value changes.
|
|
32791
|
-
*
|
|
32792
|
-
* @param {object} event The event source of the callback.
|
|
32793
|
-
* @param {T|T[]} value The new value of the component.
|
|
32794
|
-
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32901
|
+
/**
|
|
32902
|
+
* Callback fired when the value changes.
|
|
32903
|
+
*
|
|
32904
|
+
* @param {object} event The event source of the callback.
|
|
32905
|
+
* @param {T|T[]} value The new value of the component.
|
|
32906
|
+
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32795
32907
|
*/
|
|
32796
32908
|
onChange: propTypes.func,
|
|
32797
32909
|
|
|
32798
|
-
/**
|
|
32799
|
-
* Callback fired when the popup requests to be closed.
|
|
32800
|
-
* Use in controlled mode (see open).
|
|
32801
|
-
*
|
|
32802
|
-
* @param {object} event The event source of the callback.
|
|
32803
|
-
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32910
|
+
/**
|
|
32911
|
+
* Callback fired when the popup requests to be closed.
|
|
32912
|
+
* Use in controlled mode (see open).
|
|
32913
|
+
*
|
|
32914
|
+
* @param {object} event The event source of the callback.
|
|
32915
|
+
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32804
32916
|
*/
|
|
32805
32917
|
onClose: propTypes.func,
|
|
32806
32918
|
|
|
32807
|
-
/**
|
|
32808
|
-
* Callback fired when the highlight option changes.
|
|
32809
|
-
*
|
|
32810
|
-
* @param {object} event The event source of the callback.
|
|
32811
|
-
* @param {T} option The highlighted option.
|
|
32812
|
-
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32919
|
+
/**
|
|
32920
|
+
* Callback fired when the highlight option changes.
|
|
32921
|
+
*
|
|
32922
|
+
* @param {object} event The event source of the callback.
|
|
32923
|
+
* @param {T} option The highlighted option.
|
|
32924
|
+
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32813
32925
|
*/
|
|
32814
32926
|
onHighlightChange: propTypes.func,
|
|
32815
32927
|
|
|
32816
|
-
/**
|
|
32817
|
-
* Callback fired when the input value changes.
|
|
32818
|
-
*
|
|
32819
|
-
* @param {object} event The event source of the callback.
|
|
32820
|
-
* @param {string} value The new value of the text input.
|
|
32821
|
-
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32928
|
+
/**
|
|
32929
|
+
* Callback fired when the input value changes.
|
|
32930
|
+
*
|
|
32931
|
+
* @param {object} event The event source of the callback.
|
|
32932
|
+
* @param {string} value The new value of the text input.
|
|
32933
|
+
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32822
32934
|
*/
|
|
32823
32935
|
onInputChange: propTypes.func,
|
|
32824
32936
|
|
|
32825
|
-
/**
|
|
32826
|
-
* Callback fired when the popup requests to be opened.
|
|
32827
|
-
* Use in controlled mode (see open).
|
|
32828
|
-
*
|
|
32829
|
-
* @param {object} event The event source of the callback.
|
|
32937
|
+
/**
|
|
32938
|
+
* Callback fired when the popup requests to be opened.
|
|
32939
|
+
* Use in controlled mode (see open).
|
|
32940
|
+
*
|
|
32941
|
+
* @param {object} event The event source of the callback.
|
|
32830
32942
|
*/
|
|
32831
32943
|
onOpen: propTypes.func,
|
|
32832
32944
|
|
|
32833
|
-
/**
|
|
32834
|
-
* Control the popup` open state.
|
|
32945
|
+
/**
|
|
32946
|
+
* Control the popup` open state.
|
|
32835
32947
|
*/
|
|
32836
32948
|
open: propTypes.bool,
|
|
32837
32949
|
|
|
32838
|
-
/**
|
|
32839
|
-
* If `true`, the popup will open on input focus.
|
|
32950
|
+
/**
|
|
32951
|
+
* If `true`, the popup will open on input focus.
|
|
32840
32952
|
*/
|
|
32841
32953
|
openOnFocus: propTypes.bool,
|
|
32842
32954
|
|
|
32843
|
-
/**
|
|
32844
|
-
* Override the default text for the *open popup* icon button.
|
|
32845
|
-
*
|
|
32846
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32955
|
+
/**
|
|
32956
|
+
* Override the default text for the *open popup* icon button.
|
|
32957
|
+
*
|
|
32958
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32847
32959
|
*/
|
|
32848
32960
|
openText: propTypes.string,
|
|
32849
32961
|
|
|
32850
|
-
/**
|
|
32851
|
-
* Array of options.
|
|
32962
|
+
/**
|
|
32963
|
+
* Array of options.
|
|
32852
32964
|
*/
|
|
32853
32965
|
options: propTypes.array.isRequired,
|
|
32854
32966
|
|
|
32855
|
-
/**
|
|
32856
|
-
* The component used to render the body of the popup.
|
|
32967
|
+
/**
|
|
32968
|
+
* The component used to render the body of the popup.
|
|
32857
32969
|
*/
|
|
32858
32970
|
PaperComponent: propTypes.elementType,
|
|
32859
32971
|
|
|
32860
|
-
/**
|
|
32861
|
-
* The component used to position the popup.
|
|
32972
|
+
/**
|
|
32973
|
+
* The component used to position the popup.
|
|
32862
32974
|
*/
|
|
32863
32975
|
PopperComponent: propTypes.elementType,
|
|
32864
32976
|
|
|
32865
|
-
/**
|
|
32866
|
-
* The icon to display in place of the default popup icon.
|
|
32977
|
+
/**
|
|
32978
|
+
* The icon to display in place of the default popup icon.
|
|
32867
32979
|
*/
|
|
32868
32980
|
popupIcon: propTypes.node,
|
|
32869
32981
|
|
|
32870
|
-
/**
|
|
32871
|
-
* Render the group.
|
|
32872
|
-
*
|
|
32873
|
-
* @param {any} option The group to render.
|
|
32874
|
-
* @returns {ReactNode}
|
|
32982
|
+
/**
|
|
32983
|
+
* Render the group.
|
|
32984
|
+
*
|
|
32985
|
+
* @param {any} option The group to render.
|
|
32986
|
+
* @returns {ReactNode}
|
|
32875
32987
|
*/
|
|
32876
32988
|
renderGroup: propTypes.func,
|
|
32877
32989
|
|
|
32878
|
-
/**
|
|
32879
|
-
* Render the input.
|
|
32880
|
-
*
|
|
32881
|
-
* @param {object} params
|
|
32882
|
-
* @returns {ReactNode}
|
|
32990
|
+
/**
|
|
32991
|
+
* Render the input.
|
|
32992
|
+
*
|
|
32993
|
+
* @param {object} params
|
|
32994
|
+
* @returns {ReactNode}
|
|
32883
32995
|
*/
|
|
32884
32996
|
renderInput: propTypes.func.isRequired,
|
|
32885
32997
|
|
|
32886
|
-
/**
|
|
32887
|
-
* Render the option, use `getOptionLabel` by default.
|
|
32888
|
-
*
|
|
32889
|
-
* @param {T} option The option to render.
|
|
32890
|
-
* @param {object} state The state of the component.
|
|
32891
|
-
* @returns {ReactNode}
|
|
32998
|
+
/**
|
|
32999
|
+
* Render the option, use `getOptionLabel` by default.
|
|
33000
|
+
*
|
|
33001
|
+
* @param {T} option The option to render.
|
|
33002
|
+
* @param {object} state The state of the component.
|
|
33003
|
+
* @returns {ReactNode}
|
|
32892
33004
|
*/
|
|
32893
33005
|
renderOption: propTypes.func,
|
|
32894
33006
|
|
|
32895
|
-
/**
|
|
32896
|
-
* Render the selected value.
|
|
32897
|
-
*
|
|
32898
|
-
* @param {T[]} value The `value` provided to the component.
|
|
32899
|
-
* @param {function} getTagProps A tag props getter.
|
|
32900
|
-
* @returns {ReactNode}
|
|
33007
|
+
/**
|
|
33008
|
+
* Render the selected value.
|
|
33009
|
+
*
|
|
33010
|
+
* @param {T[]} value The `value` provided to the component.
|
|
33011
|
+
* @param {function} getTagProps A tag props getter.
|
|
33012
|
+
* @returns {ReactNode}
|
|
32901
33013
|
*/
|
|
32902
33014
|
renderTags: propTypes.func,
|
|
32903
33015
|
|
|
32904
|
-
/**
|
|
32905
|
-
* If `true`, the input's text will be selected on focus.
|
|
32906
|
-
* It helps the user clear the selected value.
|
|
33016
|
+
/**
|
|
33017
|
+
* If `true`, the input's text will be selected on focus.
|
|
33018
|
+
* It helps the user clear the selected value.
|
|
32907
33019
|
*/
|
|
32908
33020
|
selectOnFocus: propTypes.bool,
|
|
32909
33021
|
|
|
32910
|
-
/**
|
|
32911
|
-
* The size of the autocomplete.
|
|
33022
|
+
/**
|
|
33023
|
+
* The size of the autocomplete.
|
|
32912
33024
|
*/
|
|
32913
33025
|
size: propTypes.oneOf(['medium', 'small']),
|
|
32914
33026
|
|
|
32915
|
-
/**
|
|
32916
|
-
* The value of the autocomplete.
|
|
32917
|
-
*
|
|
32918
|
-
* The value must have reference equality with the option in order to be selected.
|
|
32919
|
-
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
33027
|
+
/**
|
|
33028
|
+
* The value of the autocomplete.
|
|
33029
|
+
*
|
|
33030
|
+
* The value must have reference equality with the option in order to be selected.
|
|
33031
|
+
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
32920
33032
|
*/
|
|
32921
33033
|
value: propTypes.any
|
|
32922
33034
|
} : void 0;
|
|
@@ -32992,24 +33104,24 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
32992
33104
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
32993
33105
|
// ----------------------------------------------------------------------
|
|
32994
33106
|
|
|
32995
|
-
/**
|
|
32996
|
-
* The avatars to stack.
|
|
33107
|
+
/**
|
|
33108
|
+
* The avatars to stack.
|
|
32997
33109
|
*/
|
|
32998
33110
|
children: propTypes.node,
|
|
32999
33111
|
|
|
33000
|
-
/**
|
|
33001
|
-
* Override or extend the styles applied to the component.
|
|
33002
|
-
* See [CSS API](#css) below for more details.
|
|
33112
|
+
/**
|
|
33113
|
+
* Override or extend the styles applied to the component.
|
|
33114
|
+
* See [CSS API](#css) below for more details.
|
|
33003
33115
|
*/
|
|
33004
33116
|
classes: propTypes.object,
|
|
33005
33117
|
|
|
33006
|
-
/**
|
|
33007
|
-
* @ignore
|
|
33118
|
+
/**
|
|
33119
|
+
* @ignore
|
|
33008
33120
|
*/
|
|
33009
33121
|
className: propTypes.string,
|
|
33010
33122
|
|
|
33011
|
-
/**
|
|
33012
|
-
* Max avatars to show before +x.
|
|
33123
|
+
/**
|
|
33124
|
+
* Max avatars to show before +x.
|
|
33013
33125
|
*/
|
|
33014
33126
|
max: chainPropTypes(propTypes.number, function (props) {
|
|
33015
33127
|
if (props.max < 2) {
|
|
@@ -33017,8 +33129,8 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
33017
33129
|
}
|
|
33018
33130
|
}),
|
|
33019
33131
|
|
|
33020
|
-
/**
|
|
33021
|
-
* Spacing between avatars.
|
|
33132
|
+
/**
|
|
33133
|
+
* Spacing between avatars.
|
|
33022
33134
|
*/
|
|
33023
33135
|
spacing: propTypes.oneOfType([propTypes.oneOf(['medium', 'small']), propTypes.number])
|
|
33024
33136
|
} : void 0;
|
|
@@ -33474,33 +33586,21 @@ function _interopRequireDefault(obj) {
|
|
|
33474
33586
|
};
|
|
33475
33587
|
}
|
|
33476
33588
|
|
|
33477
|
-
module.exports = _interopRequireDefault;
|
|
33478
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33589
|
+
module.exports = _interopRequireDefault, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33479
33590
|
});
|
|
33480
33591
|
|
|
33481
33592
|
var _typeof_1 = createCommonjsModule(function (module) {
|
|
33482
33593
|
function _typeof(obj) {
|
|
33483
33594
|
"@babel/helpers - typeof";
|
|
33484
33595
|
|
|
33485
|
-
|
|
33486
|
-
|
|
33487
|
-
|
|
33488
|
-
|
|
33489
|
-
|
|
33490
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33491
|
-
} else {
|
|
33492
|
-
module.exports = _typeof = function _typeof(obj) {
|
|
33493
|
-
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
33494
|
-
};
|
|
33495
|
-
|
|
33496
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33497
|
-
}
|
|
33498
|
-
|
|
33499
|
-
return _typeof(obj);
|
|
33596
|
+
return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
|
|
33597
|
+
return typeof obj;
|
|
33598
|
+
} : function (obj) {
|
|
33599
|
+
return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
33600
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
|
|
33500
33601
|
}
|
|
33501
33602
|
|
|
33502
|
-
module.exports = _typeof;
|
|
33503
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33603
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33504
33604
|
});
|
|
33505
33605
|
|
|
33506
33606
|
var interopRequireWildcard = createCommonjsModule(function (module) {
|
|
@@ -33556,8 +33656,7 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
33556
33656
|
return newObj;
|
|
33557
33657
|
}
|
|
33558
33658
|
|
|
33559
|
-
module.exports = _interopRequireWildcard;
|
|
33560
|
-
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33659
|
+
module.exports = _interopRequireWildcard, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
33561
33660
|
});
|
|
33562
33661
|
|
|
33563
33662
|
var _utils = /*@__PURE__*/getAugmentedNamespace(utils$1);
|
|
@@ -33575,7 +33674,7 @@ Object.defineProperty(exports, "default", {
|
|
|
33575
33674
|
});
|
|
33576
33675
|
});
|
|
33577
33676
|
|
|
33578
|
-
var require$$1$
|
|
33677
|
+
var require$$1$2 = createSvgIcon;
|
|
33579
33678
|
|
|
33580
33679
|
var ExpandLess = createCommonjsModule(function (module, exports) {
|
|
33581
33680
|
|
|
@@ -33590,7 +33689,7 @@ exports.default = void 0;
|
|
|
33590
33689
|
|
|
33591
33690
|
var React = interopRequireWildcard(React__default["default"]);
|
|
33592
33691
|
|
|
33593
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33692
|
+
var _createSvgIcon = interopRequireDefault(require$$1$2);
|
|
33594
33693
|
|
|
33595
33694
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33596
33695
|
d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
|
|
@@ -33614,7 +33713,7 @@ exports.default = void 0;
|
|
|
33614
33713
|
|
|
33615
33714
|
var React = interopRequireWildcard(React__default["default"]);
|
|
33616
33715
|
|
|
33617
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33716
|
+
var _createSvgIcon = interopRequireDefault(require$$1$2);
|
|
33618
33717
|
|
|
33619
33718
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33620
33719
|
d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
@@ -35526,6 +35625,7 @@ var AttachmentIcon = function (props) {
|
|
|
35526
35625
|
case 'png':
|
|
35527
35626
|
case 'gif':
|
|
35528
35627
|
case 'tiff':
|
|
35628
|
+
case 'tif':
|
|
35529
35629
|
icon = size === 'small' ? React__default["default"].createElement(DocTypeImage16, { fontSize: size }) : React__default["default"].createElement(DocTypeImage, { fontSize: size });
|
|
35530
35630
|
break;
|
|
35531
35631
|
case 'comment':
|
|
@@ -38957,6 +39057,8 @@ var format$1 = /*#__PURE__*/Object.freeze({
|
|
|
38957
39057
|
'default': format
|
|
38958
39058
|
});
|
|
38959
39059
|
|
|
39060
|
+
var require$$1$1 = propTypes;
|
|
39061
|
+
|
|
38960
39062
|
var require$$8$2 = /*@__PURE__*/getAugmentedNamespace(endOfDay$1);
|
|
38961
39063
|
|
|
38962
39064
|
var require$$8$1 = /*@__PURE__*/getAugmentedNamespace(isBefore$1);
|
|
@@ -38980,7 +39082,7 @@ exports.default = exports.rangeShape = void 0;
|
|
|
38980
39082
|
|
|
38981
39083
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
38982
39084
|
|
|
38983
|
-
var _propTypes = _interopRequireDefault(
|
|
39085
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
38984
39086
|
|
|
38985
39087
|
var _classnames4 = _interopRequireDefault(classnames);
|
|
38986
39088
|
|
|
@@ -39976,7 +40078,7 @@ exports.default = void 0;
|
|
|
39976
40078
|
|
|
39977
40079
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
39978
40080
|
|
|
39979
|
-
var _propTypes = _interopRequireDefault(
|
|
40081
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
39980
40082
|
|
|
39981
40083
|
var _DayCell = _interopRequireWildcard(DayCell_1);
|
|
39982
40084
|
|
|
@@ -42360,7 +42462,7 @@ exports.default = void 0;
|
|
|
42360
42462
|
|
|
42361
42463
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
42362
42464
|
|
|
42363
|
-
var _propTypes = _interopRequireDefault(
|
|
42465
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
42364
42466
|
|
|
42365
42467
|
var _classnames = _interopRequireDefault(classnames);
|
|
42366
42468
|
|
|
@@ -42553,7 +42655,7 @@ exports.default = _default;
|
|
|
42553
42655
|
var reactList = createCommonjsModule(function (module, exports) {
|
|
42554
42656
|
(function (global, factory) {
|
|
42555
42657
|
{
|
|
42556
|
-
factory(
|
|
42658
|
+
factory(require$$1$1, React__default["default"]);
|
|
42557
42659
|
}
|
|
42558
42660
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : commonjsGlobal, function (_propTypes, _react) {
|
|
42559
42661
|
|
|
@@ -43939,7 +44041,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
43939
44041
|
});
|
|
43940
44042
|
exports.ariaLabelsShape = void 0;
|
|
43941
44043
|
|
|
43942
|
-
var _propTypes = _interopRequireDefault(
|
|
44044
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
43943
44045
|
|
|
43944
44046
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
43945
44047
|
|
|
@@ -43990,7 +44092,7 @@ exports.default = void 0;
|
|
|
43990
44092
|
|
|
43991
44093
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
43992
44094
|
|
|
43993
|
-
var _propTypes = _interopRequireDefault(
|
|
44095
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
43994
44096
|
|
|
43995
44097
|
|
|
43996
44098
|
|
|
@@ -44821,7 +44923,7 @@ exports.default = void 0;
|
|
|
44821
44923
|
|
|
44822
44924
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
44823
44925
|
|
|
44824
|
-
var _propTypes = _interopRequireDefault(
|
|
44926
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
44825
44927
|
|
|
44826
44928
|
var _Calendar = _interopRequireDefault(Calendar_1);
|
|
44827
44929
|
|
|
@@ -45247,7 +45349,7 @@ exports.default = void 0;
|
|
|
45247
45349
|
|
|
45248
45350
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45249
45351
|
|
|
45250
|
-
var _propTypes = _interopRequireDefault(
|
|
45352
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
45251
45353
|
|
|
45252
45354
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
45253
45355
|
|
|
@@ -45373,7 +45475,7 @@ exports.default = void 0;
|
|
|
45373
45475
|
|
|
45374
45476
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45375
45477
|
|
|
45376
|
-
var _propTypes = _interopRequireDefault(
|
|
45478
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
45377
45479
|
|
|
45378
45480
|
var _styles = _interopRequireDefault(styles);
|
|
45379
45481
|
|
|
@@ -45595,7 +45697,7 @@ exports.default = void 0;
|
|
|
45595
45697
|
|
|
45596
45698
|
var _react = _interopRequireWildcard(React__default["default"]);
|
|
45597
45699
|
|
|
45598
|
-
var _propTypes = _interopRequireDefault(
|
|
45700
|
+
var _propTypes = _interopRequireDefault(require$$1$1);
|
|
45599
45701
|
|
|
45600
45702
|
var _DateRange = _interopRequireDefault(DateRange_1);
|
|
45601
45703
|
|