@galaxy-ds/core 1.1.69 → 1.1.70
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/index.esm.js +333 -436
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +333 -436
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/AccordionBody/AccordionBody.d.ts +0 -4
- package/dist/AccordionBody/AccordionBodyProps.types.d.ts +0 -5
- package/dist/Icons/ActivityType/ActivityTypeVideoCall.d.ts +0 -3
- package/dist/Icons/ActivityType/index.d.ts +0 -1
- package/dist/Themes/LawConnect/common.d.ts +0 -277
- package/dist/Themes/LawConnect/index.d.ts +0 -1
- package/dist/Themes/LawConnect/pallette.d.ts +0 -228
- package/dist/Themes/LawConnect/theme.d.ts +0 -1
- package/dist/Themes/LawConnect/typography.d.ts +0 -93
package/dist/index.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import React__default, { Children, isValidElement, cloneElement, useState, useRe
|
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
4
|
import ReactDOM__default from 'react-dom';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
/*! *****************************************************************************
|
|
7
7
|
Copyright (c) Microsoft Corporation.
|
|
8
8
|
|
|
9
9
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -206,11 +206,17 @@ function _extends$1() {
|
|
|
206
206
|
function _typeof$1(obj) {
|
|
207
207
|
"@babel/helpers - typeof";
|
|
208
208
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
}
|
|
209
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
210
|
+
_typeof$1 = function _typeof(obj) {
|
|
211
|
+
return typeof obj;
|
|
212
|
+
};
|
|
213
|
+
} else {
|
|
214
|
+
_typeof$1 = function _typeof(obj) {
|
|
215
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
return _typeof$1(obj);
|
|
214
220
|
}
|
|
215
221
|
|
|
216
222
|
function isPlainObject(item) {
|
|
@@ -599,15 +605,9 @@ var objectAssign = shouldUseNative() ? Object.assign : function (target, source)
|
|
|
599
605
|
* LICENSE file in the root directory of this source tree.
|
|
600
606
|
*/
|
|
601
607
|
|
|
602
|
-
var ReactPropTypesSecret$
|
|
603
|
-
|
|
604
|
-
var ReactPropTypesSecret_1 = ReactPropTypesSecret$2;
|
|
608
|
+
var ReactPropTypesSecret$1 = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
|
|
605
609
|
|
|
606
|
-
var
|
|
607
|
-
|
|
608
|
-
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
609
|
-
|
|
610
|
-
var has$1 = has$2;
|
|
610
|
+
var ReactPropTypesSecret_1 = ReactPropTypesSecret$1;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -619,9 +619,9 @@ var has$1 = has$2;
|
|
|
619
619
|
var printWarning$1 = function() {};
|
|
620
620
|
|
|
621
621
|
if (process.env.NODE_ENV !== 'production') {
|
|
622
|
-
var ReactPropTypesSecret =
|
|
622
|
+
var ReactPropTypesSecret = ReactPropTypesSecret_1;
|
|
623
623
|
var loggedTypeFailures = {};
|
|
624
|
-
var has =
|
|
624
|
+
var has$1 = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
625
625
|
|
|
626
626
|
printWarning$1 = function(text) {
|
|
627
627
|
var message = 'Warning: ' + text;
|
|
@@ -633,7 +633,7 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
633
633
|
// This error was thrown as a convenience so that you can use this stack
|
|
634
634
|
// to find the callsite that caused this warning to fire.
|
|
635
635
|
throw new Error(message);
|
|
636
|
-
} catch (x) {
|
|
636
|
+
} catch (x) {}
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
|
|
@@ -648,10 +648,10 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
648
648
|
* @param {?Function} getStack Returns the component stack.
|
|
649
649
|
* @private
|
|
650
650
|
*/
|
|
651
|
-
function checkPropTypes
|
|
651
|
+
function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
|
|
652
652
|
if (process.env.NODE_ENV !== 'production') {
|
|
653
653
|
for (var typeSpecName in typeSpecs) {
|
|
654
|
-
if (has(typeSpecs, typeSpecName)) {
|
|
654
|
+
if (has$1(typeSpecs, typeSpecName)) {
|
|
655
655
|
var error;
|
|
656
656
|
// Prop type validation may throw. In case they do, we don't want to
|
|
657
657
|
// fail the render phase where it didn't fail before. So we log it.
|
|
@@ -662,8 +662,7 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
662
662
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
663
663
|
var err = Error(
|
|
664
664
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
665
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
666
|
-
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
665
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
667
666
|
);
|
|
668
667
|
err.name = 'Invariant Violation';
|
|
669
668
|
throw err;
|
|
@@ -703,15 +702,13 @@ function checkPropTypes$1(typeSpecs, values, location, componentName, getStack)
|
|
|
703
702
|
*
|
|
704
703
|
* @private
|
|
705
704
|
*/
|
|
706
|
-
checkPropTypes
|
|
705
|
+
checkPropTypes.resetWarningCache = function() {
|
|
707
706
|
if (process.env.NODE_ENV !== 'production') {
|
|
708
707
|
loggedTypeFailures = {};
|
|
709
708
|
}
|
|
710
709
|
};
|
|
711
710
|
|
|
712
|
-
var checkPropTypes_1 = checkPropTypes
|
|
713
|
-
|
|
714
|
-
var checkPropTypes = checkPropTypes_1;
|
|
711
|
+
var checkPropTypes_1 = checkPropTypes;
|
|
715
712
|
|
|
716
713
|
/**
|
|
717
714
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
@@ -726,7 +723,7 @@ var checkPropTypes = checkPropTypes_1;
|
|
|
726
723
|
|
|
727
724
|
|
|
728
725
|
|
|
729
|
-
|
|
726
|
+
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
730
727
|
var printWarning = function() {};
|
|
731
728
|
|
|
732
729
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -827,7 +824,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
827
824
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
828
825
|
var ReactPropTypes = {
|
|
829
826
|
array: createPrimitiveTypeChecker('array'),
|
|
830
|
-
bigint: createPrimitiveTypeChecker('bigint'),
|
|
831
827
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
832
828
|
func: createPrimitiveTypeChecker('function'),
|
|
833
829
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -873,9 +869,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
873
869
|
* is prohibitively expensive if they are created too often, such as what
|
|
874
870
|
* happens in oneOfType() for any type before the one that matched.
|
|
875
871
|
*/
|
|
876
|
-
function PropTypeError(message
|
|
872
|
+
function PropTypeError(message) {
|
|
877
873
|
this.message = message;
|
|
878
|
-
this.data = data && typeof data === 'object' ? data: {};
|
|
879
874
|
this.stack = '';
|
|
880
875
|
}
|
|
881
876
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -890,7 +885,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
890
885
|
componentName = componentName || ANONYMOUS;
|
|
891
886
|
propFullName = propFullName || propName;
|
|
892
887
|
|
|
893
|
-
if (secret !==
|
|
888
|
+
if (secret !== ReactPropTypesSecret_1) {
|
|
894
889
|
if (throwOnDirectAccess) {
|
|
895
890
|
// New behavior only for users of `prop-types` package
|
|
896
891
|
var err = new Error(
|
|
@@ -910,7 +905,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
910
905
|
) {
|
|
911
906
|
printWarning(
|
|
912
907
|
'You are manually calling a React.PropTypes validation ' +
|
|
913
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
908
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
914
909
|
'and will throw in the standalone `prop-types` package. ' +
|
|
915
910
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
916
911
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -949,10 +944,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
949
944
|
// 'of type `object`'.
|
|
950
945
|
var preciseType = getPreciseType(propValue);
|
|
951
946
|
|
|
952
|
-
return new PropTypeError(
|
|
953
|
-
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
954
|
-
{expectedType: expectedType}
|
|
955
|
-
);
|
|
947
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));
|
|
956
948
|
}
|
|
957
949
|
return null;
|
|
958
950
|
}
|
|
@@ -974,7 +966,7 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
974
966
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));
|
|
975
967
|
}
|
|
976
968
|
for (var i = 0; i < propValue.length; i++) {
|
|
977
|
-
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']',
|
|
969
|
+
var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);
|
|
978
970
|
if (error instanceof Error) {
|
|
979
971
|
return error;
|
|
980
972
|
}
|
|
@@ -1066,8 +1058,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1066
1058
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));
|
|
1067
1059
|
}
|
|
1068
1060
|
for (var key in propValue) {
|
|
1069
|
-
if (has
|
|
1070
|
-
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1061
|
+
if (has(propValue, key)) {
|
|
1062
|
+
var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1071
1063
|
if (error instanceof Error) {
|
|
1072
1064
|
return error;
|
|
1073
1065
|
}
|
|
@@ -1096,19 +1088,14 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1096
1088
|
}
|
|
1097
1089
|
|
|
1098
1090
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1099
|
-
var expectedTypes = [];
|
|
1100
1091
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
1101
1092
|
var checker = arrayOfTypeCheckers[i];
|
|
1102
|
-
|
|
1103
|
-
if (checkerResult == null) {
|
|
1093
|
+
if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {
|
|
1104
1094
|
return null;
|
|
1105
1095
|
}
|
|
1106
|
-
if (checkerResult.data && has$1(checkerResult.data, 'expectedType')) {
|
|
1107
|
-
expectedTypes.push(checkerResult.data.expectedType);
|
|
1108
|
-
}
|
|
1109
1096
|
}
|
|
1110
|
-
|
|
1111
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
1097
|
+
|
|
1098
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));
|
|
1112
1099
|
}
|
|
1113
1100
|
return createChainableTypeChecker(validate);
|
|
1114
1101
|
}
|
|
@@ -1123,13 +1110,6 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1123
1110
|
return createChainableTypeChecker(validate);
|
|
1124
1111
|
}
|
|
1125
1112
|
|
|
1126
|
-
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
1127
|
-
return new PropTypeError(
|
|
1128
|
-
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
1129
|
-
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
1130
|
-
);
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
1113
|
function createShapeTypeChecker(shapeTypes) {
|
|
1134
1114
|
function validate(props, propName, componentName, location, propFullName) {
|
|
1135
1115
|
var propValue = props[propName];
|
|
@@ -1139,10 +1119,10 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1139
1119
|
}
|
|
1140
1120
|
for (var key in shapeTypes) {
|
|
1141
1121
|
var checker = shapeTypes[key];
|
|
1142
|
-
if (
|
|
1143
|
-
|
|
1122
|
+
if (!checker) {
|
|
1123
|
+
continue;
|
|
1144
1124
|
}
|
|
1145
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1125
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1146
1126
|
if (error) {
|
|
1147
1127
|
return error;
|
|
1148
1128
|
}
|
|
@@ -1159,21 +1139,19 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1159
1139
|
if (propType !== 'object') {
|
|
1160
1140
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
1161
1141
|
}
|
|
1162
|
-
// We need to check all keys in case some are required but missing from
|
|
1142
|
+
// We need to check all keys in case some are required but missing from
|
|
1143
|
+
// props.
|
|
1163
1144
|
var allKeys = objectAssign({}, props[propName], shapeTypes);
|
|
1164
1145
|
for (var key in allKeys) {
|
|
1165
1146
|
var checker = shapeTypes[key];
|
|
1166
|
-
if (has$1(shapeTypes, key) && typeof checker !== 'function') {
|
|
1167
|
-
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
1168
|
-
}
|
|
1169
1147
|
if (!checker) {
|
|
1170
1148
|
return new PropTypeError(
|
|
1171
1149
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
1172
1150
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
1173
|
-
'\nValid keys: ' +
|
|
1151
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
1174
1152
|
);
|
|
1175
1153
|
}
|
|
1176
|
-
var error = checker(propValue, key, componentName, location, propFullName + '.' + key,
|
|
1154
|
+
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);
|
|
1177
1155
|
if (error) {
|
|
1178
1156
|
return error;
|
|
1179
1157
|
}
|
|
@@ -1315,8 +1293,8 @@ var factoryWithTypeCheckers = function(isValidElement, throwOnDirectAccess) {
|
|
|
1315
1293
|
return propValue.constructor.name;
|
|
1316
1294
|
}
|
|
1317
1295
|
|
|
1318
|
-
ReactPropTypes.checkPropTypes =
|
|
1319
|
-
ReactPropTypes.resetWarningCache =
|
|
1296
|
+
ReactPropTypes.checkPropTypes = checkPropTypes_1;
|
|
1297
|
+
ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;
|
|
1320
1298
|
ReactPropTypes.PropTypes = ReactPropTypes;
|
|
1321
1299
|
|
|
1322
1300
|
return ReactPropTypes;
|
|
@@ -1337,7 +1315,7 @@ emptyFunctionWithReset.resetWarningCache = emptyFunction;
|
|
|
1337
1315
|
|
|
1338
1316
|
var factoryWithThrowingShims = function() {
|
|
1339
1317
|
function shim(props, propName, componentName, location, propFullName, secret) {
|
|
1340
|
-
if (secret ===
|
|
1318
|
+
if (secret === ReactPropTypesSecret_1) {
|
|
1341
1319
|
// It is still safe when called from React.
|
|
1342
1320
|
return;
|
|
1343
1321
|
}
|
|
@@ -1355,7 +1333,6 @@ var factoryWithThrowingShims = function() {
|
|
|
1355
1333
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1356
1334
|
var ReactPropTypes = {
|
|
1357
1335
|
array: shim,
|
|
1358
|
-
bigint: shim,
|
|
1359
1336
|
bool: shim,
|
|
1360
1337
|
func: shim,
|
|
1361
1338
|
number: shim,
|
|
@@ -1384,10 +1361,6 @@ var factoryWithThrowingShims = function() {
|
|
|
1384
1361
|
return ReactPropTypes;
|
|
1385
1362
|
};
|
|
1386
1363
|
|
|
1387
|
-
var require$$1$3 = factoryWithTypeCheckers;
|
|
1388
|
-
|
|
1389
|
-
var require$$2$1 = factoryWithThrowingShims;
|
|
1390
|
-
|
|
1391
1364
|
/**
|
|
1392
1365
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
1393
1366
|
*
|
|
@@ -1402,11 +1375,11 @@ if (process.env.NODE_ENV !== 'production') {
|
|
|
1402
1375
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1403
1376
|
// http://fb.me/prop-types-in-prod
|
|
1404
1377
|
var throwOnDirectAccess = true;
|
|
1405
|
-
module.exports =
|
|
1378
|
+
module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);
|
|
1406
1379
|
} else {
|
|
1407
1380
|
// By explicitly using `prop-types` you are opting into new production behavior.
|
|
1408
1381
|
// http://fb.me/prop-types-in-prod
|
|
1409
|
-
module.exports =
|
|
1382
|
+
module.exports = factoryWithThrowingShims();
|
|
1410
1383
|
}
|
|
1411
1384
|
});
|
|
1412
1385
|
|
|
@@ -1442,7 +1415,7 @@ function acceptingRef(props, propName, componentName, location, propFullName) {
|
|
|
1442
1415
|
}
|
|
1443
1416
|
|
|
1444
1417
|
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://
|
|
1418
|
+
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://material-ui.com/r/caveat-with-refs-guide');
|
|
1446
1419
|
}
|
|
1447
1420
|
|
|
1448
1421
|
return null;
|
|
@@ -1483,7 +1456,7 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
|
|
|
1483
1456
|
}
|
|
1484
1457
|
|
|
1485
1458
|
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://
|
|
1459
|
+
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://material-ui.com/r/caveat-with-refs-guide');
|
|
1487
1460
|
}
|
|
1488
1461
|
|
|
1489
1462
|
return null;
|
|
@@ -1542,7 +1515,7 @@ function formatMuiErrorMessage(code) {
|
|
|
1542
1515
|
// see https://babeljs.io/docs/en/babel-plugin-transform-template-literals#loose
|
|
1543
1516
|
|
|
1544
1517
|
/* eslint-disable prefer-template */
|
|
1545
|
-
var url = 'https://
|
|
1518
|
+
var url = 'https://material-ui.com/production-error/?code=' + code;
|
|
1546
1519
|
|
|
1547
1520
|
for (var i = 1; i < arguments.length; i += 1) {
|
|
1548
1521
|
// rest params over-transpile for this case
|
|
@@ -2529,7 +2502,7 @@ var warnedOnce$1 = false;
|
|
|
2529
2502
|
function roundWithDeprecationWarning(value) {
|
|
2530
2503
|
if (process.env.NODE_ENV !== 'production') {
|
|
2531
2504
|
if (!warnedOnce$1) {
|
|
2532
|
-
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://
|
|
2505
|
+
console.warn(['Material-UI: The `theme.typography.round` helper is deprecated.', 'Head to https://material-ui.com/r/migration-v4/#theme for a migration path.'].join('\n'));
|
|
2533
2506
|
warnedOnce$1 = true;
|
|
2534
2507
|
}
|
|
2535
2508
|
}
|
|
@@ -3569,7 +3542,7 @@ function createTheme() {
|
|
|
3569
3542
|
if (process.env.NODE_ENV !== 'production') {
|
|
3570
3543
|
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
3544
|
root: _defineProperty({}, "&$".concat(key), child)
|
|
3572
|
-
}, null, 2), '', 'https://
|
|
3545
|
+
}, null, 2), '', 'https://material-ui.com/r/pseudo-classes-guide'].join('\n'));
|
|
3573
3546
|
} // Remove the style to prevent global conflicts.
|
|
3574
3547
|
|
|
3575
3548
|
|
|
@@ -3723,9 +3696,6 @@ function _defineProperties(target, props) {
|
|
|
3723
3696
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3724
3697
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3725
3698
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3726
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
3727
|
-
writable: false
|
|
3728
|
-
});
|
|
3729
3699
|
return Constructor;
|
|
3730
3700
|
}
|
|
3731
3701
|
|
|
@@ -4170,16 +4140,6 @@ function () {
|
|
|
4170
4140
|
this.options.jss.plugins.onProcessRule(rule);
|
|
4171
4141
|
return rule;
|
|
4172
4142
|
}
|
|
4173
|
-
/**
|
|
4174
|
-
* Replace rule, run plugins.
|
|
4175
|
-
*/
|
|
4176
|
-
;
|
|
4177
|
-
|
|
4178
|
-
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
4179
|
-
var newRule = this.rules.replace(name, style, options);
|
|
4180
|
-
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
4181
|
-
return newRule;
|
|
4182
|
-
}
|
|
4183
4143
|
/**
|
|
4184
4144
|
* Generates a CSS string.
|
|
4185
4145
|
*/
|
|
@@ -4591,33 +4551,12 @@ function () {
|
|
|
4591
4551
|
return rule;
|
|
4592
4552
|
}
|
|
4593
4553
|
/**
|
|
4594
|
-
*
|
|
4595
|
-
* Create a new rule and remove old one instead of overwriting
|
|
4596
|
-
* because we want to invoke onCreateRule hook to make plugins work.
|
|
4597
|
-
*/
|
|
4598
|
-
;
|
|
4599
|
-
|
|
4600
|
-
_proto.replace = function replace(name, decl, ruleOptions) {
|
|
4601
|
-
var oldRule = this.get(name);
|
|
4602
|
-
var oldIndex = this.index.indexOf(oldRule);
|
|
4603
|
-
|
|
4604
|
-
if (oldRule) {
|
|
4605
|
-
this.remove(oldRule);
|
|
4606
|
-
}
|
|
4607
|
-
|
|
4608
|
-
var options = ruleOptions;
|
|
4609
|
-
if (oldIndex !== -1) options = _extends$1({}, ruleOptions, {
|
|
4610
|
-
index: oldIndex
|
|
4611
|
-
});
|
|
4612
|
-
return this.add(name, decl, options);
|
|
4613
|
-
}
|
|
4614
|
-
/**
|
|
4615
|
-
* Get a rule by name or selector.
|
|
4554
|
+
* Get a rule.
|
|
4616
4555
|
*/
|
|
4617
4556
|
;
|
|
4618
4557
|
|
|
4619
|
-
_proto.get = function get(
|
|
4620
|
-
return this.map[
|
|
4558
|
+
_proto.get = function get(name) {
|
|
4559
|
+
return this.map[name];
|
|
4621
4560
|
}
|
|
4622
4561
|
/**
|
|
4623
4562
|
* Delete a rule.
|
|
@@ -4699,7 +4638,7 @@ function () {
|
|
|
4699
4638
|
}
|
|
4700
4639
|
|
|
4701
4640
|
if (name) {
|
|
4702
|
-
this.updateOne(this.
|
|
4641
|
+
this.updateOne(this.map[name], data, options);
|
|
4703
4642
|
} else {
|
|
4704
4643
|
for (var index = 0; index < this.index.length; index++) {
|
|
4705
4644
|
this.updateOne(this.index[index], data, options);
|
|
@@ -4871,40 +4810,6 @@ function () {
|
|
|
4871
4810
|
this.deployed = false;
|
|
4872
4811
|
return rule;
|
|
4873
4812
|
}
|
|
4874
|
-
/**
|
|
4875
|
-
* Replace a rule in the current stylesheet.
|
|
4876
|
-
*/
|
|
4877
|
-
;
|
|
4878
|
-
|
|
4879
|
-
_proto.replaceRule = function replaceRule(nameOrSelector, decl, options) {
|
|
4880
|
-
var oldRule = this.rules.get(nameOrSelector);
|
|
4881
|
-
if (!oldRule) return this.addRule(nameOrSelector, decl, options);
|
|
4882
|
-
var newRule = this.rules.replace(nameOrSelector, decl, options);
|
|
4883
|
-
|
|
4884
|
-
if (newRule) {
|
|
4885
|
-
this.options.jss.plugins.onProcessRule(newRule);
|
|
4886
|
-
}
|
|
4887
|
-
|
|
4888
|
-
if (this.attached) {
|
|
4889
|
-
if (!this.deployed) return newRule; // Don't replace / delete rule directly if there is no stringified version yet.
|
|
4890
|
-
// It will be inserted all together when .attach is called.
|
|
4891
|
-
|
|
4892
|
-
if (this.renderer) {
|
|
4893
|
-
if (!newRule) {
|
|
4894
|
-
this.renderer.deleteRule(oldRule);
|
|
4895
|
-
} else if (oldRule.renderable) {
|
|
4896
|
-
this.renderer.replaceRule(oldRule.renderable, newRule);
|
|
4897
|
-
}
|
|
4898
|
-
}
|
|
4899
|
-
|
|
4900
|
-
return newRule;
|
|
4901
|
-
} // We can't replace rules to a detached style node.
|
|
4902
|
-
// We will redeploy the sheet once user will attach it.
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
this.deployed = false;
|
|
4906
|
-
return newRule;
|
|
4907
|
-
}
|
|
4908
4813
|
/**
|
|
4909
4814
|
* Insert rule into the StyleSheet
|
|
4910
4815
|
*/
|
|
@@ -4932,12 +4837,12 @@ function () {
|
|
|
4932
4837
|
return added;
|
|
4933
4838
|
}
|
|
4934
4839
|
/**
|
|
4935
|
-
* Get a rule by name
|
|
4840
|
+
* Get a rule by name.
|
|
4936
4841
|
*/
|
|
4937
4842
|
;
|
|
4938
4843
|
|
|
4939
|
-
_proto.getRule = function getRule(
|
|
4940
|
-
return this.rules.get(
|
|
4844
|
+
_proto.getRule = function getRule(name) {
|
|
4845
|
+
return this.rules.get(name);
|
|
4941
4846
|
}
|
|
4942
4847
|
/**
|
|
4943
4848
|
* Delete a rule by name.
|
|
@@ -5718,7 +5623,7 @@ function () {
|
|
|
5718
5623
|
// like rules inside media queries or keyframes
|
|
5719
5624
|
|
|
5720
5625
|
if (rule.options.parent instanceof StyleSheet) {
|
|
5721
|
-
this.cssRules
|
|
5626
|
+
this.cssRules[index] = cssRule;
|
|
5722
5627
|
}
|
|
5723
5628
|
}
|
|
5724
5629
|
/**
|
|
@@ -5744,6 +5649,8 @@ function () {
|
|
|
5744
5649
|
}
|
|
5745
5650
|
/**
|
|
5746
5651
|
* Generate a new CSS rule and replace the existing one.
|
|
5652
|
+
*
|
|
5653
|
+
* Only used for some old browsers because they can't set a selector.
|
|
5747
5654
|
*/
|
|
5748
5655
|
;
|
|
5749
5656
|
|
|
@@ -5773,7 +5680,7 @@ var Jss =
|
|
|
5773
5680
|
function () {
|
|
5774
5681
|
function Jss(options) {
|
|
5775
5682
|
this.id = instanceCounter++;
|
|
5776
|
-
this.version = "10.
|
|
5683
|
+
this.version = "10.8.2";
|
|
5777
5684
|
this.plugins = new PluginsRegistry();
|
|
5778
5685
|
this.options = {
|
|
5779
5686
|
id: {
|
|
@@ -6074,16 +5981,6 @@ function () {
|
|
|
6074
5981
|
if (rule) this.options.jss.plugins.onProcessRule(rule);
|
|
6075
5982
|
return rule;
|
|
6076
5983
|
}
|
|
6077
|
-
/**
|
|
6078
|
-
* Replace rule, run plugins.
|
|
6079
|
-
*/
|
|
6080
|
-
;
|
|
6081
|
-
|
|
6082
|
-
_proto.replaceRule = function replaceRule(name, style, options) {
|
|
6083
|
-
var newRule = this.rules.replace(name, style, options);
|
|
6084
|
-
if (newRule) this.options.jss.plugins.onProcessRule(newRule);
|
|
6085
|
-
return newRule;
|
|
6086
|
-
}
|
|
6087
5984
|
/**
|
|
6088
5985
|
* Get index of a rule.
|
|
6089
5986
|
*/
|
|
@@ -6097,8 +5994,8 @@ function () {
|
|
|
6097
5994
|
*/
|
|
6098
5995
|
;
|
|
6099
5996
|
|
|
6100
|
-
_proto.toString = function toString(
|
|
6101
|
-
return this.rules.toString(
|
|
5997
|
+
_proto.toString = function toString() {
|
|
5998
|
+
return this.rules.toString();
|
|
6102
5999
|
};
|
|
6103
6000
|
|
|
6104
6001
|
return GlobalContainerRule;
|
|
@@ -6195,7 +6092,7 @@ function jssGlobal() {
|
|
|
6195
6092
|
}
|
|
6196
6093
|
}
|
|
6197
6094
|
|
|
6198
|
-
if (
|
|
6095
|
+
if (options.scoped === false) {
|
|
6199
6096
|
options.selector = name;
|
|
6200
6097
|
}
|
|
6201
6098
|
|
|
@@ -6293,18 +6190,9 @@ function jssNested() {
|
|
|
6293
6190
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
6294
6191
|
|
|
6295
6192
|
selector = selector.replace(refRegExp, replaceRef);
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
// for backward compatibility
|
|
6300
|
-
container.replaceRule(name, style[prop], _extends$1({}, options, {
|
|
6301
|
-
selector: selector
|
|
6302
|
-
}));
|
|
6303
|
-
} else {
|
|
6304
|
-
container.addRule(name, style[prop], _extends$1({}, options, {
|
|
6305
|
-
selector: selector
|
|
6306
|
-
}));
|
|
6307
|
-
}
|
|
6193
|
+
container.addRule(selector, style[prop], _extends$1({}, options, {
|
|
6194
|
+
selector: selector
|
|
6195
|
+
}));
|
|
6308
6196
|
} else if (isNestedConditional) {
|
|
6309
6197
|
// Place conditional right after the parent rule to ensure right ordering.
|
|
6310
6198
|
container.addRule(prop, {}, options).addRule(styleRule.key, style[prop], {
|
|
@@ -17694,7 +17582,7 @@ var InputBase = /*#__PURE__*/React.forwardRef(function InputBase(props, ref) {
|
|
|
17694
17582
|
var element = event.target || inputRef.current;
|
|
17695
17583
|
|
|
17696
17584
|
if (element == null) {
|
|
17697
|
-
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://
|
|
17585
|
+
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://material-ui.com/r/input-component-ref-interface for more info." : formatMuiErrorMessage(1));
|
|
17698
17586
|
}
|
|
17699
17587
|
|
|
17700
17588
|
checkDirty({
|
|
@@ -30316,13 +30204,13 @@ process.env.NODE_ENV !== "production" ? TextField.propTypes = {
|
|
|
30316
30204
|
* Number of rows to display when multiline option is set to true.
|
|
30317
30205
|
* @deprecated Use `minRows` instead.
|
|
30318
30206
|
*/
|
|
30319
|
-
rows:
|
|
30207
|
+
rows: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30320
30208
|
|
|
30321
30209
|
/**
|
|
30322
30210
|
* Maximum number of rows to display.
|
|
30323
30211
|
* @deprecated Use `maxRows` instead.
|
|
30324
30212
|
*/
|
|
30325
|
-
rowsMax:
|
|
30213
|
+
rowsMax: propTypes.oneOfType([propTypes.number, propTypes.string]),
|
|
30326
30214
|
|
|
30327
30215
|
/**
|
|
30328
30216
|
* Render a [`Select`](/api/select/) element while passing the Input element to `Select` as `input` parameter.
|
|
@@ -31019,16 +30907,16 @@ var AccordionSummary = function (props) {
|
|
|
31019
30907
|
return (React__default.createElement(MuiAccordionSummary, __assign$1({ className: classes.root }, props, { expandIcon: React__default.createElement(ChevronDownIcon, { fontSize: 'small' }) })));
|
|
31020
30908
|
};
|
|
31021
30909
|
|
|
31022
|
-
/**
|
|
31023
|
-
* @ignore - internal component.
|
|
30910
|
+
/**
|
|
30911
|
+
* @ignore - internal component.
|
|
31024
30912
|
*/
|
|
31025
30913
|
|
|
31026
30914
|
var CloseIcon = createSvgIcon$1( /*#__PURE__*/React.createElement("path", {
|
|
31027
30915
|
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"
|
|
31028
30916
|
}), 'Close');
|
|
31029
30917
|
|
|
31030
|
-
/**
|
|
31031
|
-
* @ignore - internal component.
|
|
30918
|
+
/**
|
|
30919
|
+
* @ignore - internal component.
|
|
31032
30920
|
*/
|
|
31033
30921
|
|
|
31034
30922
|
var ArrowDropDownIcon = createSvgIcon$1( /*#__PURE__*/React.createElement("path", {
|
|
@@ -32610,398 +32498,398 @@ process.env.NODE_ENV !== "production" ? Autocomplete$1.propTypes = {
|
|
|
32610
32498
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
32611
32499
|
// ----------------------------------------------------------------------
|
|
32612
32500
|
|
|
32613
|
-
/**
|
|
32614
|
-
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32615
|
-
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32616
|
-
* The inline completion string is visually highlighted and has a selected state.
|
|
32501
|
+
/**
|
|
32502
|
+
* If `true`, the portion of the selected suggestion that has not been typed by the user,
|
|
32503
|
+
* known as the completion string, appears inline after the input cursor in the textbox.
|
|
32504
|
+
* The inline completion string is visually highlighted and has a selected state.
|
|
32617
32505
|
*/
|
|
32618
32506
|
autoComplete: propTypes.bool,
|
|
32619
32507
|
|
|
32620
|
-
/**
|
|
32621
|
-
* If `true`, the first option is automatically highlighted.
|
|
32508
|
+
/**
|
|
32509
|
+
* If `true`, the first option is automatically highlighted.
|
|
32622
32510
|
*/
|
|
32623
32511
|
autoHighlight: propTypes.bool,
|
|
32624
32512
|
|
|
32625
|
-
/**
|
|
32626
|
-
* If `true`, the selected option becomes the value of the input
|
|
32627
|
-
* when the Autocomplete loses focus unless the user chooses
|
|
32628
|
-
* a different option or changes the character string in the input.
|
|
32513
|
+
/**
|
|
32514
|
+
* If `true`, the selected option becomes the value of the input
|
|
32515
|
+
* when the Autocomplete loses focus unless the user chooses
|
|
32516
|
+
* a different option or changes the character string in the input.
|
|
32629
32517
|
*/
|
|
32630
32518
|
autoSelect: propTypes.bool,
|
|
32631
32519
|
|
|
32632
|
-
/**
|
|
32633
|
-
* Control if the input should be blurred when an option is selected:
|
|
32634
|
-
*
|
|
32635
|
-
* - `false` the input is not blurred.
|
|
32636
|
-
* - `true` the input is always blurred.
|
|
32637
|
-
* - `touch` the input is blurred after a touch event.
|
|
32638
|
-
* - `mouse` the input is blurred after a mouse event.
|
|
32520
|
+
/**
|
|
32521
|
+
* Control if the input should be blurred when an option is selected:
|
|
32522
|
+
*
|
|
32523
|
+
* - `false` the input is not blurred.
|
|
32524
|
+
* - `true` the input is always blurred.
|
|
32525
|
+
* - `touch` the input is blurred after a touch event.
|
|
32526
|
+
* - `mouse` the input is blurred after a mouse event.
|
|
32639
32527
|
*/
|
|
32640
32528
|
blurOnSelect: propTypes.oneOfType([propTypes.oneOf(['mouse', 'touch']), propTypes.bool]),
|
|
32641
32529
|
|
|
32642
|
-
/**
|
|
32643
|
-
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32530
|
+
/**
|
|
32531
|
+
* Props applied to the [`Chip`](/api/chip/) element.
|
|
32644
32532
|
*/
|
|
32645
32533
|
ChipProps: propTypes.object,
|
|
32646
32534
|
|
|
32647
|
-
/**
|
|
32648
|
-
* Override or extend the styles applied to the component.
|
|
32649
|
-
* See [CSS API](#css) below for more details.
|
|
32535
|
+
/**
|
|
32536
|
+
* Override or extend the styles applied to the component.
|
|
32537
|
+
* See [CSS API](#css) below for more details.
|
|
32650
32538
|
*/
|
|
32651
32539
|
classes: propTypes.object,
|
|
32652
32540
|
|
|
32653
|
-
/**
|
|
32654
|
-
* @ignore
|
|
32541
|
+
/**
|
|
32542
|
+
* @ignore
|
|
32655
32543
|
*/
|
|
32656
32544
|
className: propTypes.string,
|
|
32657
32545
|
|
|
32658
|
-
/**
|
|
32659
|
-
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32660
|
-
*
|
|
32661
|
-
* Set to `true` if you want to help the user enter a new value.
|
|
32662
|
-
* Set to `false` if you want to help the user resume his search.
|
|
32546
|
+
/**
|
|
32547
|
+
* If `true`, the input's text will be cleared on blur if no value is selected.
|
|
32548
|
+
*
|
|
32549
|
+
* Set to `true` if you want to help the user enter a new value.
|
|
32550
|
+
* Set to `false` if you want to help the user resume his search.
|
|
32663
32551
|
*/
|
|
32664
32552
|
clearOnBlur: propTypes.bool,
|
|
32665
32553
|
|
|
32666
|
-
/**
|
|
32667
|
-
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32554
|
+
/**
|
|
32555
|
+
* If `true`, clear all values when the user presses escape and the popup is closed.
|
|
32668
32556
|
*/
|
|
32669
32557
|
clearOnEscape: propTypes.bool,
|
|
32670
32558
|
|
|
32671
|
-
/**
|
|
32672
|
-
* Override the default text for the *clear* icon button.
|
|
32673
|
-
*
|
|
32674
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32559
|
+
/**
|
|
32560
|
+
* Override the default text for the *clear* icon button.
|
|
32561
|
+
*
|
|
32562
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32675
32563
|
*/
|
|
32676
32564
|
clearText: propTypes.string,
|
|
32677
32565
|
|
|
32678
|
-
/**
|
|
32679
|
-
* The icon to display in place of the default close icon.
|
|
32566
|
+
/**
|
|
32567
|
+
* The icon to display in place of the default close icon.
|
|
32680
32568
|
*/
|
|
32681
32569
|
closeIcon: propTypes.node,
|
|
32682
32570
|
|
|
32683
|
-
/**
|
|
32684
|
-
* Override the default text for the *close popup* icon button.
|
|
32685
|
-
*
|
|
32686
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32571
|
+
/**
|
|
32572
|
+
* Override the default text for the *close popup* icon button.
|
|
32573
|
+
*
|
|
32574
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32687
32575
|
*/
|
|
32688
32576
|
closeText: propTypes.string,
|
|
32689
32577
|
|
|
32690
|
-
/**
|
|
32691
|
-
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32692
|
-
* You can inspect the popup markup with your browser tools.
|
|
32693
|
-
* Consider this option when you need to customize the component.
|
|
32578
|
+
/**
|
|
32579
|
+
* If `true`, the popup will ignore the blur event if the input is filled.
|
|
32580
|
+
* You can inspect the popup markup with your browser tools.
|
|
32581
|
+
* Consider this option when you need to customize the component.
|
|
32694
32582
|
*/
|
|
32695
32583
|
debug: propTypes.bool,
|
|
32696
32584
|
|
|
32697
|
-
/**
|
|
32698
|
-
* The default input value. Use when the component is not controlled.
|
|
32585
|
+
/**
|
|
32586
|
+
* The default input value. Use when the component is not controlled.
|
|
32699
32587
|
*/
|
|
32700
32588
|
defaultValue: propTypes.any,
|
|
32701
32589
|
|
|
32702
|
-
/**
|
|
32703
|
-
* If `true`, the input can't be cleared.
|
|
32590
|
+
/**
|
|
32591
|
+
* If `true`, the input can't be cleared.
|
|
32704
32592
|
*/
|
|
32705
32593
|
disableClearable: propTypes
|
|
32706
32594
|
/* @typescript-to-proptypes-ignore */
|
|
32707
32595
|
.bool,
|
|
32708
32596
|
|
|
32709
|
-
/**
|
|
32710
|
-
* If `true`, the popup won't close when a value is selected.
|
|
32597
|
+
/**
|
|
32598
|
+
* If `true`, the popup won't close when a value is selected.
|
|
32711
32599
|
*/
|
|
32712
32600
|
disableCloseOnSelect: propTypes.bool,
|
|
32713
32601
|
|
|
32714
|
-
/**
|
|
32715
|
-
* If `true`, the input will be disabled.
|
|
32602
|
+
/**
|
|
32603
|
+
* If `true`, the input will be disabled.
|
|
32716
32604
|
*/
|
|
32717
32605
|
disabled: propTypes.bool,
|
|
32718
32606
|
|
|
32719
|
-
/**
|
|
32720
|
-
* If `true`, will allow focus on disabled items.
|
|
32607
|
+
/**
|
|
32608
|
+
* If `true`, will allow focus on disabled items.
|
|
32721
32609
|
*/
|
|
32722
32610
|
disabledItemsFocusable: propTypes.bool,
|
|
32723
32611
|
|
|
32724
|
-
/**
|
|
32725
|
-
* If `true`, the list box in the popup will not wrap focus.
|
|
32612
|
+
/**
|
|
32613
|
+
* If `true`, the list box in the popup will not wrap focus.
|
|
32726
32614
|
*/
|
|
32727
32615
|
disableListWrap: propTypes.bool,
|
|
32728
32616
|
|
|
32729
|
-
/**
|
|
32730
|
-
* Disable the portal behavior.
|
|
32731
|
-
* The children stay within it's parent DOM hierarchy.
|
|
32617
|
+
/**
|
|
32618
|
+
* Disable the portal behavior.
|
|
32619
|
+
* The children stay within it's parent DOM hierarchy.
|
|
32732
32620
|
*/
|
|
32733
32621
|
disablePortal: propTypes.bool,
|
|
32734
32622
|
|
|
32735
|
-
/**
|
|
32736
|
-
* A filter function that determines the options that are eligible.
|
|
32737
|
-
*
|
|
32738
|
-
* @param {T[]} options The options to render.
|
|
32739
|
-
* @param {object} state The state of the component.
|
|
32740
|
-
* @returns {T[]}
|
|
32623
|
+
/**
|
|
32624
|
+
* A filter function that determines the options that are eligible.
|
|
32625
|
+
*
|
|
32626
|
+
* @param {T[]} options The options to render.
|
|
32627
|
+
* @param {object} state The state of the component.
|
|
32628
|
+
* @returns {T[]}
|
|
32741
32629
|
*/
|
|
32742
32630
|
filterOptions: propTypes.func,
|
|
32743
32631
|
|
|
32744
|
-
/**
|
|
32745
|
-
* If `true`, hide the selected options from the list box.
|
|
32632
|
+
/**
|
|
32633
|
+
* If `true`, hide the selected options from the list box.
|
|
32746
32634
|
*/
|
|
32747
32635
|
filterSelectedOptions: propTypes.bool,
|
|
32748
32636
|
|
|
32749
|
-
/**
|
|
32750
|
-
* Force the visibility display of the popup icon.
|
|
32637
|
+
/**
|
|
32638
|
+
* Force the visibility display of the popup icon.
|
|
32751
32639
|
*/
|
|
32752
32640
|
forcePopupIcon: propTypes.oneOfType([propTypes.oneOf(['auto']), propTypes.bool]),
|
|
32753
32641
|
|
|
32754
|
-
/**
|
|
32755
|
-
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32642
|
+
/**
|
|
32643
|
+
* If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.
|
|
32756
32644
|
*/
|
|
32757
32645
|
freeSolo: propTypes
|
|
32758
32646
|
/* @typescript-to-proptypes-ignore */
|
|
32759
32647
|
.bool,
|
|
32760
32648
|
|
|
32761
|
-
/**
|
|
32762
|
-
* If `true`, the input will take up the full width of its container.
|
|
32649
|
+
/**
|
|
32650
|
+
* If `true`, the input will take up the full width of its container.
|
|
32763
32651
|
*/
|
|
32764
32652
|
fullWidth: propTypes.bool,
|
|
32765
32653
|
|
|
32766
|
-
/**
|
|
32767
|
-
* The label to display when the tags are truncated (`limitTags`).
|
|
32768
|
-
*
|
|
32769
|
-
* @param {number} more The number of truncated tags.
|
|
32770
|
-
* @returns {ReactNode}
|
|
32654
|
+
/**
|
|
32655
|
+
* The label to display when the tags are truncated (`limitTags`).
|
|
32656
|
+
*
|
|
32657
|
+
* @param {number} more The number of truncated tags.
|
|
32658
|
+
* @returns {ReactNode}
|
|
32771
32659
|
*/
|
|
32772
32660
|
getLimitTagsText: propTypes.func,
|
|
32773
32661
|
|
|
32774
|
-
/**
|
|
32775
|
-
* Used to determine the disabled state for a given option.
|
|
32776
|
-
*
|
|
32777
|
-
* @param {T} option The option to test.
|
|
32778
|
-
* @returns {boolean}
|
|
32662
|
+
/**
|
|
32663
|
+
* Used to determine the disabled state for a given option.
|
|
32664
|
+
*
|
|
32665
|
+
* @param {T} option The option to test.
|
|
32666
|
+
* @returns {boolean}
|
|
32779
32667
|
*/
|
|
32780
32668
|
getOptionDisabled: propTypes.func,
|
|
32781
32669
|
|
|
32782
|
-
/**
|
|
32783
|
-
* Used to determine the string value for a given option.
|
|
32784
|
-
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32785
|
-
*
|
|
32786
|
-
* @param {T} option
|
|
32787
|
-
* @returns {string}
|
|
32670
|
+
/**
|
|
32671
|
+
* Used to determine the string value for a given option.
|
|
32672
|
+
* It's used to fill the input (and the list box options if `renderOption` is not provided).
|
|
32673
|
+
*
|
|
32674
|
+
* @param {T} option
|
|
32675
|
+
* @returns {string}
|
|
32788
32676
|
*/
|
|
32789
32677
|
getOptionLabel: propTypes.func,
|
|
32790
32678
|
|
|
32791
|
-
/**
|
|
32792
|
-
* Used to determine if an option is selected, considering the current value.
|
|
32793
|
-
* Uses strict equality by default.
|
|
32794
|
-
*
|
|
32795
|
-
* @param {T} option The option to test.
|
|
32796
|
-
* @param {T} value The value to test against.
|
|
32797
|
-
* @returns {boolean}
|
|
32679
|
+
/**
|
|
32680
|
+
* Used to determine if an option is selected, considering the current value.
|
|
32681
|
+
* Uses strict equality by default.
|
|
32682
|
+
*
|
|
32683
|
+
* @param {T} option The option to test.
|
|
32684
|
+
* @param {T} value The value to test against.
|
|
32685
|
+
* @returns {boolean}
|
|
32798
32686
|
*/
|
|
32799
32687
|
getOptionSelected: propTypes.func,
|
|
32800
32688
|
|
|
32801
|
-
/**
|
|
32802
|
-
* If provided, the options will be grouped under the returned string.
|
|
32803
|
-
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32804
|
-
*
|
|
32805
|
-
* @param {T} options The options to group.
|
|
32806
|
-
* @returns {string}
|
|
32689
|
+
/**
|
|
32690
|
+
* If provided, the options will be grouped under the returned string.
|
|
32691
|
+
* The groupBy value is also used as the text for group headings when `renderGroup` is not provided.
|
|
32692
|
+
*
|
|
32693
|
+
* @param {T} options The options to group.
|
|
32694
|
+
* @returns {string}
|
|
32807
32695
|
*/
|
|
32808
32696
|
groupBy: propTypes.func,
|
|
32809
32697
|
|
|
32810
|
-
/**
|
|
32811
|
-
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32812
|
-
* It should move focus to the first option and last option, respectively.
|
|
32698
|
+
/**
|
|
32699
|
+
* If `true`, the component handles the "Home" and "End" keys when the popup is open.
|
|
32700
|
+
* It should move focus to the first option and last option, respectively.
|
|
32813
32701
|
*/
|
|
32814
32702
|
handleHomeEndKeys: propTypes.bool,
|
|
32815
32703
|
|
|
32816
|
-
/**
|
|
32817
|
-
* This prop is used to help implement the accessibility logic.
|
|
32818
|
-
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32704
|
+
/**
|
|
32705
|
+
* This prop is used to help implement the accessibility logic.
|
|
32706
|
+
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
32819
32707
|
*/
|
|
32820
32708
|
id: propTypes.string,
|
|
32821
32709
|
|
|
32822
|
-
/**
|
|
32823
|
-
* If `true`, the highlight can move to the input.
|
|
32710
|
+
/**
|
|
32711
|
+
* If `true`, the highlight can move to the input.
|
|
32824
32712
|
*/
|
|
32825
32713
|
includeInputInList: propTypes.bool,
|
|
32826
32714
|
|
|
32827
|
-
/**
|
|
32828
|
-
* The input value.
|
|
32715
|
+
/**
|
|
32716
|
+
* The input value.
|
|
32829
32717
|
*/
|
|
32830
32718
|
inputValue: propTypes.string,
|
|
32831
32719
|
|
|
32832
|
-
/**
|
|
32833
|
-
* The maximum number of tags that will be visible when not focused.
|
|
32834
|
-
* Set `-1` to disable the limit.
|
|
32720
|
+
/**
|
|
32721
|
+
* The maximum number of tags that will be visible when not focused.
|
|
32722
|
+
* Set `-1` to disable the limit.
|
|
32835
32723
|
*/
|
|
32836
32724
|
limitTags: propTypes.number,
|
|
32837
32725
|
|
|
32838
|
-
/**
|
|
32839
|
-
* The component used to render the listbox.
|
|
32726
|
+
/**
|
|
32727
|
+
* The component used to render the listbox.
|
|
32840
32728
|
*/
|
|
32841
32729
|
ListboxComponent: propTypes.elementType,
|
|
32842
32730
|
|
|
32843
|
-
/**
|
|
32844
|
-
* Props applied to the Listbox element.
|
|
32731
|
+
/**
|
|
32732
|
+
* Props applied to the Listbox element.
|
|
32845
32733
|
*/
|
|
32846
32734
|
ListboxProps: propTypes.object,
|
|
32847
32735
|
|
|
32848
|
-
/**
|
|
32849
|
-
* If `true`, the component is in a loading state.
|
|
32736
|
+
/**
|
|
32737
|
+
* If `true`, the component is in a loading state.
|
|
32850
32738
|
*/
|
|
32851
32739
|
loading: propTypes.bool,
|
|
32852
32740
|
|
|
32853
|
-
/**
|
|
32854
|
-
* Text to display when in a loading state.
|
|
32855
|
-
*
|
|
32856
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32741
|
+
/**
|
|
32742
|
+
* Text to display when in a loading state.
|
|
32743
|
+
*
|
|
32744
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32857
32745
|
*/
|
|
32858
32746
|
loadingText: propTypes.node,
|
|
32859
32747
|
|
|
32860
|
-
/**
|
|
32861
|
-
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32748
|
+
/**
|
|
32749
|
+
* If `true`, `value` must be an array and the menu will support multiple selections.
|
|
32862
32750
|
*/
|
|
32863
32751
|
multiple: propTypes
|
|
32864
32752
|
/* @typescript-to-proptypes-ignore */
|
|
32865
32753
|
.bool,
|
|
32866
32754
|
|
|
32867
|
-
/**
|
|
32868
|
-
* Text to display when there are no options.
|
|
32869
|
-
*
|
|
32870
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32755
|
+
/**
|
|
32756
|
+
* Text to display when there are no options.
|
|
32757
|
+
*
|
|
32758
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32871
32759
|
*/
|
|
32872
32760
|
noOptionsText: propTypes.node,
|
|
32873
32761
|
|
|
32874
|
-
/**
|
|
32875
|
-
* Callback fired when the value changes.
|
|
32876
|
-
*
|
|
32877
|
-
* @param {object} event The event source of the callback.
|
|
32878
|
-
* @param {T|T[]} value The new value of the component.
|
|
32879
|
-
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32762
|
+
/**
|
|
32763
|
+
* Callback fired when the value changes.
|
|
32764
|
+
*
|
|
32765
|
+
* @param {object} event The event source of the callback.
|
|
32766
|
+
* @param {T|T[]} value The new value of the component.
|
|
32767
|
+
* @param {string} reason One of "create-option", "select-option", "remove-option", "blur" or "clear".
|
|
32880
32768
|
*/
|
|
32881
32769
|
onChange: propTypes.func,
|
|
32882
32770
|
|
|
32883
|
-
/**
|
|
32884
|
-
* Callback fired when the popup requests to be closed.
|
|
32885
|
-
* Use in controlled mode (see open).
|
|
32886
|
-
*
|
|
32887
|
-
* @param {object} event The event source of the callback.
|
|
32888
|
-
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32771
|
+
/**
|
|
32772
|
+
* Callback fired when the popup requests to be closed.
|
|
32773
|
+
* Use in controlled mode (see open).
|
|
32774
|
+
*
|
|
32775
|
+
* @param {object} event The event source of the callback.
|
|
32776
|
+
* @param {string} reason Can be: `"toggleInput"`, `"escape"`, `"select-option"`, `"blur"`.
|
|
32889
32777
|
*/
|
|
32890
32778
|
onClose: propTypes.func,
|
|
32891
32779
|
|
|
32892
|
-
/**
|
|
32893
|
-
* Callback fired when the highlight option changes.
|
|
32894
|
-
*
|
|
32895
|
-
* @param {object} event The event source of the callback.
|
|
32896
|
-
* @param {T} option The highlighted option.
|
|
32897
|
-
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32780
|
+
/**
|
|
32781
|
+
* Callback fired when the highlight option changes.
|
|
32782
|
+
*
|
|
32783
|
+
* @param {object} event The event source of the callback.
|
|
32784
|
+
* @param {T} option The highlighted option.
|
|
32785
|
+
* @param {string} reason Can be: `"keyboard"`, `"auto"`, `"mouse"`.
|
|
32898
32786
|
*/
|
|
32899
32787
|
onHighlightChange: propTypes.func,
|
|
32900
32788
|
|
|
32901
|
-
/**
|
|
32902
|
-
* Callback fired when the input value changes.
|
|
32903
|
-
*
|
|
32904
|
-
* @param {object} event The event source of the callback.
|
|
32905
|
-
* @param {string} value The new value of the text input.
|
|
32906
|
-
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32789
|
+
/**
|
|
32790
|
+
* Callback fired when the input value changes.
|
|
32791
|
+
*
|
|
32792
|
+
* @param {object} event The event source of the callback.
|
|
32793
|
+
* @param {string} value The new value of the text input.
|
|
32794
|
+
* @param {string} reason Can be: `"input"` (user input), `"reset"` (programmatic change), `"clear"`.
|
|
32907
32795
|
*/
|
|
32908
32796
|
onInputChange: propTypes.func,
|
|
32909
32797
|
|
|
32910
|
-
/**
|
|
32911
|
-
* Callback fired when the popup requests to be opened.
|
|
32912
|
-
* Use in controlled mode (see open).
|
|
32913
|
-
*
|
|
32914
|
-
* @param {object} event The event source of the callback.
|
|
32798
|
+
/**
|
|
32799
|
+
* Callback fired when the popup requests to be opened.
|
|
32800
|
+
* Use in controlled mode (see open).
|
|
32801
|
+
*
|
|
32802
|
+
* @param {object} event The event source of the callback.
|
|
32915
32803
|
*/
|
|
32916
32804
|
onOpen: propTypes.func,
|
|
32917
32805
|
|
|
32918
|
-
/**
|
|
32919
|
-
* Control the popup` open state.
|
|
32806
|
+
/**
|
|
32807
|
+
* Control the popup` open state.
|
|
32920
32808
|
*/
|
|
32921
32809
|
open: propTypes.bool,
|
|
32922
32810
|
|
|
32923
|
-
/**
|
|
32924
|
-
* If `true`, the popup will open on input focus.
|
|
32811
|
+
/**
|
|
32812
|
+
* If `true`, the popup will open on input focus.
|
|
32925
32813
|
*/
|
|
32926
32814
|
openOnFocus: propTypes.bool,
|
|
32927
32815
|
|
|
32928
|
-
/**
|
|
32929
|
-
* Override the default text for the *open popup* icon button.
|
|
32930
|
-
*
|
|
32931
|
-
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32816
|
+
/**
|
|
32817
|
+
* Override the default text for the *open popup* icon button.
|
|
32818
|
+
*
|
|
32819
|
+
* For localization purposes, you can use the provided [translations](/guides/localization/).
|
|
32932
32820
|
*/
|
|
32933
32821
|
openText: propTypes.string,
|
|
32934
32822
|
|
|
32935
|
-
/**
|
|
32936
|
-
* Array of options.
|
|
32823
|
+
/**
|
|
32824
|
+
* Array of options.
|
|
32937
32825
|
*/
|
|
32938
32826
|
options: propTypes.array.isRequired,
|
|
32939
32827
|
|
|
32940
|
-
/**
|
|
32941
|
-
* The component used to render the body of the popup.
|
|
32828
|
+
/**
|
|
32829
|
+
* The component used to render the body of the popup.
|
|
32942
32830
|
*/
|
|
32943
32831
|
PaperComponent: propTypes.elementType,
|
|
32944
32832
|
|
|
32945
|
-
/**
|
|
32946
|
-
* The component used to position the popup.
|
|
32833
|
+
/**
|
|
32834
|
+
* The component used to position the popup.
|
|
32947
32835
|
*/
|
|
32948
32836
|
PopperComponent: propTypes.elementType,
|
|
32949
32837
|
|
|
32950
|
-
/**
|
|
32951
|
-
* The icon to display in place of the default popup icon.
|
|
32838
|
+
/**
|
|
32839
|
+
* The icon to display in place of the default popup icon.
|
|
32952
32840
|
*/
|
|
32953
32841
|
popupIcon: propTypes.node,
|
|
32954
32842
|
|
|
32955
|
-
/**
|
|
32956
|
-
* Render the group.
|
|
32957
|
-
*
|
|
32958
|
-
* @param {any} option The group to render.
|
|
32959
|
-
* @returns {ReactNode}
|
|
32843
|
+
/**
|
|
32844
|
+
* Render the group.
|
|
32845
|
+
*
|
|
32846
|
+
* @param {any} option The group to render.
|
|
32847
|
+
* @returns {ReactNode}
|
|
32960
32848
|
*/
|
|
32961
32849
|
renderGroup: propTypes.func,
|
|
32962
32850
|
|
|
32963
|
-
/**
|
|
32964
|
-
* Render the input.
|
|
32965
|
-
*
|
|
32966
|
-
* @param {object} params
|
|
32967
|
-
* @returns {ReactNode}
|
|
32851
|
+
/**
|
|
32852
|
+
* Render the input.
|
|
32853
|
+
*
|
|
32854
|
+
* @param {object} params
|
|
32855
|
+
* @returns {ReactNode}
|
|
32968
32856
|
*/
|
|
32969
32857
|
renderInput: propTypes.func.isRequired,
|
|
32970
32858
|
|
|
32971
|
-
/**
|
|
32972
|
-
* Render the option, use `getOptionLabel` by default.
|
|
32973
|
-
*
|
|
32974
|
-
* @param {T} option The option to render.
|
|
32975
|
-
* @param {object} state The state of the component.
|
|
32976
|
-
* @returns {ReactNode}
|
|
32859
|
+
/**
|
|
32860
|
+
* Render the option, use `getOptionLabel` by default.
|
|
32861
|
+
*
|
|
32862
|
+
* @param {T} option The option to render.
|
|
32863
|
+
* @param {object} state The state of the component.
|
|
32864
|
+
* @returns {ReactNode}
|
|
32977
32865
|
*/
|
|
32978
32866
|
renderOption: propTypes.func,
|
|
32979
32867
|
|
|
32980
|
-
/**
|
|
32981
|
-
* Render the selected value.
|
|
32982
|
-
*
|
|
32983
|
-
* @param {T[]} value The `value` provided to the component.
|
|
32984
|
-
* @param {function} getTagProps A tag props getter.
|
|
32985
|
-
* @returns {ReactNode}
|
|
32868
|
+
/**
|
|
32869
|
+
* Render the selected value.
|
|
32870
|
+
*
|
|
32871
|
+
* @param {T[]} value The `value` provided to the component.
|
|
32872
|
+
* @param {function} getTagProps A tag props getter.
|
|
32873
|
+
* @returns {ReactNode}
|
|
32986
32874
|
*/
|
|
32987
32875
|
renderTags: propTypes.func,
|
|
32988
32876
|
|
|
32989
|
-
/**
|
|
32990
|
-
* If `true`, the input's text will be selected on focus.
|
|
32991
|
-
* It helps the user clear the selected value.
|
|
32877
|
+
/**
|
|
32878
|
+
* If `true`, the input's text will be selected on focus.
|
|
32879
|
+
* It helps the user clear the selected value.
|
|
32992
32880
|
*/
|
|
32993
32881
|
selectOnFocus: propTypes.bool,
|
|
32994
32882
|
|
|
32995
|
-
/**
|
|
32996
|
-
* The size of the autocomplete.
|
|
32883
|
+
/**
|
|
32884
|
+
* The size of the autocomplete.
|
|
32997
32885
|
*/
|
|
32998
32886
|
size: propTypes.oneOf(['medium', 'small']),
|
|
32999
32887
|
|
|
33000
|
-
/**
|
|
33001
|
-
* The value of the autocomplete.
|
|
33002
|
-
*
|
|
33003
|
-
* The value must have reference equality with the option in order to be selected.
|
|
33004
|
-
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
32888
|
+
/**
|
|
32889
|
+
* The value of the autocomplete.
|
|
32890
|
+
*
|
|
32891
|
+
* The value must have reference equality with the option in order to be selected.
|
|
32892
|
+
* You can customize the equality behavior with the `getOptionSelected` prop.
|
|
33005
32893
|
*/
|
|
33006
32894
|
value: propTypes.any
|
|
33007
32895
|
} : void 0;
|
|
@@ -33077,24 +32965,24 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
33077
32965
|
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
33078
32966
|
// ----------------------------------------------------------------------
|
|
33079
32967
|
|
|
33080
|
-
/**
|
|
33081
|
-
* The avatars to stack.
|
|
32968
|
+
/**
|
|
32969
|
+
* The avatars to stack.
|
|
33082
32970
|
*/
|
|
33083
32971
|
children: propTypes.node,
|
|
33084
32972
|
|
|
33085
|
-
/**
|
|
33086
|
-
* Override or extend the styles applied to the component.
|
|
33087
|
-
* See [CSS API](#css) below for more details.
|
|
32973
|
+
/**
|
|
32974
|
+
* Override or extend the styles applied to the component.
|
|
32975
|
+
* See [CSS API](#css) below for more details.
|
|
33088
32976
|
*/
|
|
33089
32977
|
classes: propTypes.object,
|
|
33090
32978
|
|
|
33091
|
-
/**
|
|
33092
|
-
* @ignore
|
|
32979
|
+
/**
|
|
32980
|
+
* @ignore
|
|
33093
32981
|
*/
|
|
33094
32982
|
className: propTypes.string,
|
|
33095
32983
|
|
|
33096
|
-
/**
|
|
33097
|
-
* Max avatars to show before +x.
|
|
32984
|
+
/**
|
|
32985
|
+
* Max avatars to show before +x.
|
|
33098
32986
|
*/
|
|
33099
32987
|
max: chainPropTypes(propTypes.number, function (props) {
|
|
33100
32988
|
if (props.max < 2) {
|
|
@@ -33102,8 +32990,8 @@ process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
|
33102
32990
|
}
|
|
33103
32991
|
}),
|
|
33104
32992
|
|
|
33105
|
-
/**
|
|
33106
|
-
* Spacing between avatars.
|
|
32993
|
+
/**
|
|
32994
|
+
* Spacing between avatars.
|
|
33107
32995
|
*/
|
|
33108
32996
|
spacing: propTypes.oneOfType([propTypes.oneOf(['medium', 'small']), propTypes.number])
|
|
33109
32997
|
} : void 0;
|
|
@@ -33559,21 +33447,33 @@ function _interopRequireDefault(obj) {
|
|
|
33559
33447
|
};
|
|
33560
33448
|
}
|
|
33561
33449
|
|
|
33562
|
-
module.exports = _interopRequireDefault
|
|
33450
|
+
module.exports = _interopRequireDefault;
|
|
33451
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33563
33452
|
});
|
|
33564
33453
|
|
|
33565
33454
|
var _typeof_1 = createCommonjsModule(function (module) {
|
|
33566
33455
|
function _typeof(obj) {
|
|
33567
33456
|
"@babel/helpers - typeof";
|
|
33568
33457
|
|
|
33569
|
-
|
|
33570
|
-
|
|
33571
|
-
|
|
33572
|
-
|
|
33573
|
-
|
|
33458
|
+
if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
|
|
33459
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
33460
|
+
return typeof obj;
|
|
33461
|
+
};
|
|
33462
|
+
|
|
33463
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33464
|
+
} else {
|
|
33465
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
33466
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
33467
|
+
};
|
|
33468
|
+
|
|
33469
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33470
|
+
}
|
|
33471
|
+
|
|
33472
|
+
return _typeof(obj);
|
|
33574
33473
|
}
|
|
33575
33474
|
|
|
33576
|
-
module.exports = _typeof
|
|
33475
|
+
module.exports = _typeof;
|
|
33476
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33577
33477
|
});
|
|
33578
33478
|
|
|
33579
33479
|
var interopRequireWildcard = createCommonjsModule(function (module) {
|
|
@@ -33629,7 +33529,8 @@ function _interopRequireWildcard(obj, nodeInterop) {
|
|
|
33629
33529
|
return newObj;
|
|
33630
33530
|
}
|
|
33631
33531
|
|
|
33632
|
-
module.exports = _interopRequireWildcard
|
|
33532
|
+
module.exports = _interopRequireWildcard;
|
|
33533
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
33633
33534
|
});
|
|
33634
33535
|
|
|
33635
33536
|
var _utils = /*@__PURE__*/getAugmentedNamespace(utils$1);
|
|
@@ -33647,7 +33548,7 @@ Object.defineProperty(exports, "default", {
|
|
|
33647
33548
|
});
|
|
33648
33549
|
});
|
|
33649
33550
|
|
|
33650
|
-
var require$$1$
|
|
33551
|
+
var require$$1$1 = createSvgIcon;
|
|
33651
33552
|
|
|
33652
33553
|
var ExpandLess = createCommonjsModule(function (module, exports) {
|
|
33653
33554
|
|
|
@@ -33662,7 +33563,7 @@ exports.default = void 0;
|
|
|
33662
33563
|
|
|
33663
33564
|
var React = interopRequireWildcard(React__default);
|
|
33664
33565
|
|
|
33665
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33566
|
+
var _createSvgIcon = interopRequireDefault(require$$1$1);
|
|
33666
33567
|
|
|
33667
33568
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33668
33569
|
d: "M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"
|
|
@@ -33686,7 +33587,7 @@ exports.default = void 0;
|
|
|
33686
33587
|
|
|
33687
33588
|
var React = interopRequireWildcard(React__default);
|
|
33688
33589
|
|
|
33689
|
-
var _createSvgIcon = interopRequireDefault(require$$1$
|
|
33590
|
+
var _createSvgIcon = interopRequireDefault(require$$1$1);
|
|
33690
33591
|
|
|
33691
33592
|
var _default = (0, _createSvgIcon.default)( /*#__PURE__*/React.createElement("path", {
|
|
33692
33593
|
d: "M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
@@ -34328,11 +34229,6 @@ var Icon = function (props) {
|
|
|
34328
34229
|
return (React__default.createElement(SvgIcon$1, __assign$1({}, props)));
|
|
34329
34230
|
};
|
|
34330
34231
|
|
|
34331
|
-
function LawconnectIcon(props) {
|
|
34332
|
-
return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", width: props.size + "px", viewBox: "0 0 141 140" },
|
|
34333
|
-
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.163 119.104a69.739 69.739 0 0049.313 20.426h.133a69.68 69.68 0 0064.35-43.067 69.663 69.663 0 005.281-26.673h-33.528v.042a36.23 36.23 0 01-22.382 33.464 36.236 36.236 0 11-13.853-69.718V.05a69.74 69.74 0 00-49.314 119.054zm119.049-95.585c0 12.962-10.507 23.47-23.469 23.47-12.962 0-23.47-10.508-23.47-23.47S103.782.049 116.744.049s23.469 10.508 23.469 23.47z", fill: "#ecedef" })));
|
|
34334
|
-
}
|
|
34335
|
-
|
|
34336
34232
|
var useStyles$m = makeStyles({
|
|
34337
34233
|
root: {
|
|
34338
34234
|
'&.gds-header': {
|
|
@@ -34400,8 +34296,6 @@ var useStyles$m = makeStyles({
|
|
|
34400
34296
|
var FormHeader = React__default.forwardRef(function (props, ref) {
|
|
34401
34297
|
var classes = useStyles$m();
|
|
34402
34298
|
return (React__default.createElement(Box$2, { className: clsx(classes.root, 'gds-header', props.fixed ? 'gds-header-fixed' : '') },
|
|
34403
|
-
React__default.createElement("div", { className: clsx(classes.root, 'gds-header_accent') },
|
|
34404
|
-
React__default.createElement(LawconnectIcon, { size: "260" })),
|
|
34405
34299
|
React__default.createElement(Box$2, { className: clsx(classes.root, 'gds-header_detail') },
|
|
34406
34300
|
React__default.createElement(Grid$2, { item: true, xs: 5, className: clsx("gds-toolbar-title") }, props.platformWeb ? (React__default.createElement(Typography, { color: "default", variant: "body2", upperCase: true }, props.title)) : (React__default.createElement(Typography, { variant: "h4", upperCase: true }, props.title))),
|
|
34407
34301
|
React__default.createElement(Grid$2, { item: true, xs: 7 },
|
|
@@ -39030,8 +38924,6 @@ var format$1 = /*#__PURE__*/Object.freeze({
|
|
|
39030
38924
|
'default': format
|
|
39031
38925
|
});
|
|
39032
38926
|
|
|
39033
|
-
var require$$1$1 = propTypes;
|
|
39034
|
-
|
|
39035
38927
|
var require$$8$2 = /*@__PURE__*/getAugmentedNamespace(endOfDay$1);
|
|
39036
38928
|
|
|
39037
38929
|
var require$$8$1 = /*@__PURE__*/getAugmentedNamespace(isBefore$1);
|
|
@@ -39055,7 +38947,7 @@ exports.default = exports.rangeShape = void 0;
|
|
|
39055
38947
|
|
|
39056
38948
|
var _react = _interopRequireWildcard(React__default);
|
|
39057
38949
|
|
|
39058
|
-
var _propTypes = _interopRequireDefault(
|
|
38950
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
39059
38951
|
|
|
39060
38952
|
var _classnames4 = _interopRequireDefault(classnames);
|
|
39061
38953
|
|
|
@@ -40051,7 +39943,7 @@ exports.default = void 0;
|
|
|
40051
39943
|
|
|
40052
39944
|
var _react = _interopRequireWildcard(React__default);
|
|
40053
39945
|
|
|
40054
|
-
var _propTypes = _interopRequireDefault(
|
|
39946
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
40055
39947
|
|
|
40056
39948
|
var _DayCell = _interopRequireWildcard(DayCell_1);
|
|
40057
39949
|
|
|
@@ -42435,7 +42327,7 @@ exports.default = void 0;
|
|
|
42435
42327
|
|
|
42436
42328
|
var _react = _interopRequireWildcard(React__default);
|
|
42437
42329
|
|
|
42438
|
-
var _propTypes = _interopRequireDefault(
|
|
42330
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
42439
42331
|
|
|
42440
42332
|
var _classnames = _interopRequireDefault(classnames);
|
|
42441
42333
|
|
|
@@ -42628,7 +42520,7 @@ exports.default = _default;
|
|
|
42628
42520
|
var reactList = createCommonjsModule(function (module, exports) {
|
|
42629
42521
|
(function (global, factory) {
|
|
42630
42522
|
{
|
|
42631
|
-
factory(
|
|
42523
|
+
factory(propTypes, React__default);
|
|
42632
42524
|
}
|
|
42633
42525
|
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : commonjsGlobal, function (_propTypes, _react) {
|
|
42634
42526
|
|
|
@@ -44014,7 +43906,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
44014
43906
|
});
|
|
44015
43907
|
exports.ariaLabelsShape = void 0;
|
|
44016
43908
|
|
|
44017
|
-
var _propTypes = _interopRequireDefault(
|
|
43909
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44018
43910
|
|
|
44019
43911
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
44020
43912
|
|
|
@@ -44065,7 +43957,7 @@ exports.default = void 0;
|
|
|
44065
43957
|
|
|
44066
43958
|
var _react = _interopRequireWildcard(React__default);
|
|
44067
43959
|
|
|
44068
|
-
var _propTypes = _interopRequireDefault(
|
|
43960
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44069
43961
|
|
|
44070
43962
|
|
|
44071
43963
|
|
|
@@ -44896,7 +44788,7 @@ exports.default = void 0;
|
|
|
44896
44788
|
|
|
44897
44789
|
var _react = _interopRequireWildcard(React__default);
|
|
44898
44790
|
|
|
44899
|
-
var _propTypes = _interopRequireDefault(
|
|
44791
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
44900
44792
|
|
|
44901
44793
|
var _Calendar = _interopRequireDefault(Calendar_1);
|
|
44902
44794
|
|
|
@@ -45322,7 +45214,7 @@ exports.default = void 0;
|
|
|
45322
45214
|
|
|
45323
45215
|
var _react = _interopRequireWildcard(React__default);
|
|
45324
45216
|
|
|
45325
|
-
var _propTypes = _interopRequireDefault(
|
|
45217
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45326
45218
|
|
|
45327
45219
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
45328
45220
|
|
|
@@ -45448,7 +45340,7 @@ exports.default = void 0;
|
|
|
45448
45340
|
|
|
45449
45341
|
var _react = _interopRequireWildcard(React__default);
|
|
45450
45342
|
|
|
45451
|
-
var _propTypes = _interopRequireDefault(
|
|
45343
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45452
45344
|
|
|
45453
45345
|
var _styles = _interopRequireDefault(styles);
|
|
45454
45346
|
|
|
@@ -45670,7 +45562,7 @@ exports.default = void 0;
|
|
|
45670
45562
|
|
|
45671
45563
|
var _react = _interopRequireWildcard(React__default);
|
|
45672
45564
|
|
|
45673
|
-
var _propTypes = _interopRequireDefault(
|
|
45565
|
+
var _propTypes = _interopRequireDefault(propTypes);
|
|
45674
45566
|
|
|
45675
45567
|
var _DateRange = _interopRequireDefault(DateRange_1);
|
|
45676
45568
|
|
|
@@ -49460,5 +49352,10 @@ function PoweredByLawconnectLogo(props) {
|
|
|
49460
49352
|
React__default.createElement("path", { d: "M80.642 24.615c-.459.307-.95.56-1.466.757a6.48 6.48 0 01-2.275.397c-1.547 0-2.74-.5-3.582-1.5-.841-1.002-1.262-2.45-1.263-4.345 0-1.88.421-3.321 1.263-4.322.842-1 2.036-1.5 3.582-1.5a6.48 6.48 0 012.275.397 7.31 7.31 0 011.47.761l1.651-1.65c-.649-.6-1.447-1.065-2.394-1.396a9.193 9.193 0 00-3.045-.498c-1.577 0-2.953.337-4.129 1.012a6.772 6.772 0 00-2.706 2.866c-.629 1.235-.943 2.68-.944 4.334 0 1.654.314 3.102.944 4.344a6.753 6.753 0 002.706 2.875c1.175.676 2.551 1.014 4.129 1.014a9.178 9.178 0 003.047-.501c.946-.33 1.743-.794 2.391-1.392l-1.654-1.653zM127.168 25.247a5.251 5.251 0 01-2.657.706c-.986 0-1.743-.25-2.271-.75-.528-.501-.839-1.267-.933-2.297h7.569v-.796c0-1.729-.443-3.086-1.33-4.072-.887-.986-2.095-1.478-3.624-1.478-1.047 0-1.983.243-2.809.728a4.963 4.963 0 00-1.922 2.047c-.455.88-.683 1.889-.682 3.028 0 1.789.527 3.199 1.582 4.23 1.055 1.031 2.492 1.547 4.31 1.547a7.458 7.458 0 002.354-.387c.768-.254 1.408-.588 1.919-1.002l-1.506-1.505zm-5.011-5.958c.462-.485 1.073-.727 1.831-.727s1.349.239 1.774.716c.425.478.652 1.179.682 2.104h-5.137c.104-.91.387-1.608.85-2.093zM137.147 25.615a4.387 4.387 0 01-1.558.296c-.986 0-1.751-.308-2.297-.922-.546-.614-.819-1.49-.819-2.626 0-1.152.273-2.036.819-2.65.546-.614 1.311-.921 2.297-.921a4.404 4.404 0 011.558.295c.265.1.52.222.765.364l1.521-1.52c-.452-.414-1.048-.744-1.789-.993a7.258 7.258 0 00-2.308-.375c-1.152 0-2.168.243-3.048.728a5.024 5.024 0 00-2.035 2.058c-.478.887-.717 1.907-.717 3.06 0 1.152.228 2.16.683 3.027a4.766 4.766 0 001.967 2.001c.856.47 1.868.705 3.036.706a7.486 7.486 0 002.365-.376c.737-.243 1.345-.575 1.824-.998l-1.514-1.51c-.24.139-.491.258-.75.356zM147.669 25.955a8.173 8.173 0 01-.834.044c-1.38 0-2.07-.743-2.069-2.229v-4.8h2.903v-2.137h-2.903v-3.32h-2.843v3.32h-2.138v2.138h2.138v4.844c0 1.426.371 2.499 1.114 3.218.743.72 1.896 1.08 3.457 1.081.357 0 .749-.02 1.175-.06v-2.1zM27.004.765h3.638c.89 0 1.584.223 2.08.668.496.445.744 1.07.744 1.872 0 .804-.248 1.43-.744 1.879-.497.448-1.19.673-2.08.673h-2.114v3.238h-1.524V.765zm3.45 3.922c1.047 0 1.57-.457 1.57-1.37 0-.465-.129-.809-.389-1.033-.26-.224-.653-.337-1.181-.34h-1.927v2.744l1.927-.001zM35.126 8.826c-.44-.24-.8-.607-1.032-1.052-.245-.458-.367-.99-.367-1.595.001-.604.123-1.134.367-1.59a2.546 2.546 0 011.032-1.045c.444-.244.962-.366 1.553-.366a3.188 3.188 0 011.554.366A2.51 2.51 0 0139.26 4.59c.241.453.361.983.36 1.59 0 .606-.12 1.137-.36 1.594-.229.446-.587.812-1.027 1.052-.445.244-.963.366-1.554.366-.59 0-1.108-.123-1.553-.366zm2.64-1.253c.252-.315.378-.78.378-1.394 0-.607-.126-1.07-.378-1.388-.252-.319-.615-.48-1.087-.482-.472 0-.837.16-1.093.482-.256.32-.384.783-.384 1.386 0 .613.126 1.078.379 1.394.252.315.614.473 1.086.472.481 0 .847-.157 1.099-.472v.002zM48.246 3.317h1.445l-2.27 5.78h-1.29l-1.418-3.722-1.382 3.722h-1.276l-2.28-5.78h1.513l1.478 4.017 1.477-4.017h1.063l1.477 4.04 1.463-4.04zM55.24 6.472h-3.934c.046.535.207.933.482 1.193s.67.39 1.181.39c.636 0 1.253-.216 1.749-.614l.426 1.016a3.105 3.105 0 01-1.011.531 3.87 3.87 0 01-1.22.201c-.945 0-1.691-.268-2.239-.803-.548-.535-.821-1.268-.82-2.198a3.375 3.375 0 01.354-1.571c.223-.443.57-.813.998-1.063a2.821 2.821 0 011.46-.379c.795 0 1.423.256 1.883.768.46.512.691 1.217.692 2.115v.414zm-3.49-1.879c-.24.252-.389.614-.444 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.527-.372-.922-.371-.393 0-.71.125-.95.377zM60.014 4.404l-.863.083c-.976.102-1.465.598-1.465 1.489v3.119H56.21v-5.78h1.406v1.018c.3-.692.919-1.07 1.858-1.134l.449-.035.092 1.24zM65.505 6.472h-3.932c.046.535.206.933.482 1.193.275.26.669.39 1.182.39.636 0 1.253-.216 1.748-.614l.425 1.016a3.1 3.1 0 01-1.006.531c-.394.132-.807.2-1.223.201-.945 0-1.692-.268-2.239-.803-.547-.535-.821-1.268-.822-2.198a3.367 3.367 0 01.355-1.571c.223-.443.57-.813.997-1.063a2.821 2.821 0 011.46-.379c.798 0 1.426.255 1.885.765.458.51.688 1.215.688 2.115v.417zm-3.489-1.879c-.24.252-.388.614-.443 1.087h2.67c-.015-.48-.133-.845-.354-1.093-.22-.248-.528-.372-.921-.371-.394 0-.712.125-.952.377zM71.994.765v8.33h-1.467V8.16c-.17.32-.431.584-.75.757-.342.186-.727.28-1.116.275a2.397 2.397 0 01-1.33-.378 2.511 2.511 0 01-.91-1.069 3.695 3.695 0 01-.324-1.59c0-.598.108-1.122.325-1.57a2.382 2.382 0 012.239-1.407c.385-.008.767.08 1.11.256.314.166.573.42.744.733V.765h1.479zm-1.85 6.794c.256-.323.383-.784.383-1.382 0-.599-.128-1.057-.383-1.377-.257-.318-.617-.478-1.082-.481-.472 0-.84.157-1.1.473-.261.315-.392.767-.39 1.358 0 .596.13 1.06.39 1.394.26.333.622.498 1.086.497.475.001.84-.16 1.097-.482zM80.784 3.541c.394.254.708.615.904 1.04.216.45.325.973.325 1.572.01.547-.1 1.09-.325 1.589-.195.435-.51.806-.908 1.07a2.394 2.394 0 01-1.329.377 2.266 2.266 0 01-1.116-.275 1.842 1.842 0 01-.75-.757v.934H76.13V.765h1.477v3.39c.17-.31.43-.564.745-.726.34-.174.718-.26 1.1-.254.47-.008.932.12 1.331.366zm-.638 4.006c.26-.33.39-.795.39-1.394 0-.59-.128-1.044-.384-1.359-.256-.315-.62-.472-1.092-.472-.473 0-.837.16-1.093.481-.255.321-.383.78-.384 1.376 0 .599.128 1.06.384 1.383.256.323.62.483 1.093.481.464 0 .826-.165 1.086-.496zM86.892 3.329h1.457l-3.474 7.893h-1.488L84.44 8.87 82.03 3.33h1.56l1.63 4.076 1.672-4.076z", fill: "#191919" })));
|
|
49461
49353
|
}
|
|
49462
49354
|
|
|
49355
|
+
function LawconnectIcon(props) {
|
|
49356
|
+
return (React__default.createElement("svg", { fill: "none", xmlns: "http://www.w3.org/2000/svg", width: props.size + "px", viewBox: "0 0 141 140" },
|
|
49357
|
+
React__default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M21.163 119.104a69.739 69.739 0 0049.313 20.426h.133a69.68 69.68 0 0064.35-43.067 69.663 69.663 0 005.281-26.673h-33.528v.042a36.23 36.23 0 01-22.382 33.464 36.236 36.236 0 11-13.853-69.718V.05a69.74 69.74 0 00-49.314 119.054zm119.049-95.585c0 12.962-10.507 23.47-23.469 23.47-12.962 0-23.47-10.508-23.47-23.47S103.782.049 116.744.049s23.469 10.508 23.469 23.47z", fill: "#ecedef" })));
|
|
49358
|
+
}
|
|
49359
|
+
|
|
49463
49360
|
export { AccessIcon, Accordion, AccordionDetails, AccordionPanel, AccordionSummary, AccountingIcon, ActivityLog, AppBar, AppointmentCalendar, AssignCurvedIcon, AttachmentIcon, Autocomplete, Avatar, AvatarBusinessIcon, AvatarCompanyIcon, AvatarGovernmentIcon, AvatarPeopleIcon, AvatarPersonIcon, AvatarTrustIcon, AvatarsGroup, BottomListButton, Box, BrowseIcon, Button, ButtonCaretIcon, ButtonFilterIcon, CalendarIcon, Card, Checkbox, ChevronDownIcon, Chip, CrossIcon, CssBaseline, DatePicker, DateRangePicker, Dialog, Divider, DocTypeEmailDraft$2 as DocTypeEmailDraft, DocTypeEmailRecieved, DocTypeEmailSent, Drawer, DrawerMenu, Dropdown, EmailSentIcon, EmptyState, FooterActions, FormBody, FormContainer, FormGroup, FormHeader, Grid, HeaderToolbar, HomeIcon, Icon, IconButton, InfoCircleIcon, Input, InputLabel, InsertLinkIcon, LawconnectIcon, LeapLogo, List, ListItem, ListItemAvatar, ListItemHoverContent, ListItemIcon, ListItemText, ListSubheader, Loader, LoaderIcon, Menu, MenuContext, MenuHeader, MenuItem, MenuItemSystem, Modal, ModalActions, ModalContent, ModalTitle, MoreVerticalIcon, NewAppointmentIcon as NewAppoinmentIcon, PoweredByLawconnectLogo, PreviewIcon, Radio, RadioGroup, ReportingIcon, ResponseIcon, RevokeAccessIcon, SearchIcon, SelectFilterEmptyIcon, SelectFilterFilledIcon, SidebarLayout, Switch, Tab, TabListItem, Table, TableBody, TableCell, TableCellIcon, TableContainer, TableFooter, TableHead, TableRow, Tabs, Tag, ThemeProvider, TickIcon, Toolbar, ToolbarButton, Tooltip, TwoColumnLayout, Typography, UserLinkIcon, UserLockIcon, UsersIcon, WarningIcon, baseline, createFilterOptions, themeDesktop, themeWeb };
|
|
49464
49361
|
//# sourceMappingURL=index.esm.js.map
|