@redsift/table 8.0.0-alpha.2 → 8.0.0-alpha.3
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/CONTRIBUTING.md +3 -3
- package/index.js +973 -659
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/style/index.css +1 -1
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOpera
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { forwardRef, useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { Icon, Flexbox, Button, Checkbox, Shield } from '@redsift/design-system';
|
|
6
|
-
import { mdiSync, mdiChevronUp, mdiChevronDown, mdiChevronRight,
|
|
6
|
+
import { mdiSync, mdiFilterVariant, mdiViewColumn, mdiChevronUp, mdiChevronDown, mdiViewHeadline, mdiViewSequential, mdiViewStream, mdiChevronRight, mdiTrayArrowDown } from '@redsift/icons';
|
|
7
7
|
import emStyled from '@emotion/styled';
|
|
8
8
|
import { Global, ThemeContext } from '@emotion/react';
|
|
9
9
|
import * as ReactDOM from 'react-dom';
|
|
@@ -50,8 +50,8 @@ function _defineProperty(obj, key, value) {
|
|
|
50
50
|
}
|
|
51
51
|
return obj;
|
|
52
52
|
}
|
|
53
|
-
function _extends$
|
|
54
|
-
_extends$
|
|
53
|
+
function _extends$2() {
|
|
54
|
+
_extends$2 = Object.assign ? Object.assign.bind() : function (target) {
|
|
55
55
|
for (var i = 1; i < arguments.length; i++) {
|
|
56
56
|
var source = arguments[i];
|
|
57
57
|
for (var key in source) {
|
|
@@ -62,9 +62,9 @@ function _extends$3() {
|
|
|
62
62
|
}
|
|
63
63
|
return target;
|
|
64
64
|
};
|
|
65
|
-
return _extends$
|
|
65
|
+
return _extends$2.apply(this, arguments);
|
|
66
66
|
}
|
|
67
|
-
function _objectWithoutPropertiesLoose$
|
|
67
|
+
function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
68
68
|
if (source == null) return {};
|
|
69
69
|
var target = {};
|
|
70
70
|
var sourceKeys = Object.keys(source);
|
|
@@ -78,7 +78,7 @@ function _objectWithoutPropertiesLoose$4(source, excluded) {
|
|
|
78
78
|
}
|
|
79
79
|
function _objectWithoutProperties(source, excluded) {
|
|
80
80
|
if (source == null) return {};
|
|
81
|
-
var target = _objectWithoutPropertiesLoose$
|
|
81
|
+
var target = _objectWithoutPropertiesLoose$2(source, excluded);
|
|
82
82
|
var key, i;
|
|
83
83
|
if (Object.getOwnPropertySymbols) {
|
|
84
84
|
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
@@ -159,13 +159,13 @@ var propTypes = {
|
|
|
159
159
|
set exports(v){ propTypesExports = v; },
|
|
160
160
|
};
|
|
161
161
|
|
|
162
|
-
var reactIsExports$
|
|
163
|
-
var reactIs$
|
|
164
|
-
get exports(){ return reactIsExports$
|
|
165
|
-
set exports(v){ reactIsExports$
|
|
162
|
+
var reactIsExports$2 = {};
|
|
163
|
+
var reactIs$2 = {
|
|
164
|
+
get exports(){ return reactIsExports$2; },
|
|
165
|
+
set exports(v){ reactIsExports$2 = v; },
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
var reactIs_production_min$
|
|
168
|
+
var reactIs_production_min$2 = {};
|
|
169
169
|
|
|
170
170
|
/** @license React v16.13.1
|
|
171
171
|
* react-is.production.min.js
|
|
@@ -175,14 +175,14 @@ var reactIs_production_min$1 = {};
|
|
|
175
175
|
* This source code is licensed under the MIT license found in the
|
|
176
176
|
* LICENSE file in the root directory of this source tree.
|
|
177
177
|
*/
|
|
178
|
-
var b$
|
|
179
|
-
Symbol.for("react.suspense_list"):60120,r$
|
|
180
|
-
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$
|
|
181
|
-
reactIs_production_min$
|
|
182
|
-
reactIs_production_min$
|
|
183
|
-
reactIs_production_min$
|
|
178
|
+
var b$2="function"===typeof Symbol&&Symbol.for,c$2=b$2?Symbol.for("react.element"):60103,d$2=b$2?Symbol.for("react.portal"):60106,e$2=b$2?Symbol.for("react.fragment"):60107,f$3=b$2?Symbol.for("react.strict_mode"):60108,g$2=b$2?Symbol.for("react.profiler"):60114,h$2=b$2?Symbol.for("react.provider"):60109,k$3=b$2?Symbol.for("react.context"):60110,l$3=b$2?Symbol.for("react.async_mode"):60111,m$3=b$2?Symbol.for("react.concurrent_mode"):60111,n$3=b$2?Symbol.for("react.forward_ref"):60112,p$3=b$2?Symbol.for("react.suspense"):60113,q$3=b$2?
|
|
179
|
+
Symbol.for("react.suspense_list"):60120,r$2=b$2?Symbol.for("react.memo"):60115,t$1=b$2?Symbol.for("react.lazy"):60116,v$2=b$2?Symbol.for("react.block"):60121,w$1=b$2?Symbol.for("react.fundamental"):60117,x$1=b$2?Symbol.for("react.responder"):60118,y$1=b$2?Symbol.for("react.scope"):60119;
|
|
180
|
+
function z$1(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$2:switch(a=a.type,a){case l$3:case m$3:case e$2:case g$2:case f$3:case p$3:return a;default:switch(a=a&&a.$$typeof,a){case k$3:case n$3:case t$1:case r$2:case h$2:return a;default:return u}}case d$2:return u}}}function A$1(a){return z$1(a)===m$3}reactIs_production_min$2.AsyncMode=l$3;reactIs_production_min$2.ConcurrentMode=m$3;reactIs_production_min$2.ContextConsumer=k$3;reactIs_production_min$2.ContextProvider=h$2;reactIs_production_min$2.Element=c$2;reactIs_production_min$2.ForwardRef=n$3;reactIs_production_min$2.Fragment=e$2;reactIs_production_min$2.Lazy=t$1;reactIs_production_min$2.Memo=r$2;reactIs_production_min$2.Portal=d$2;
|
|
181
|
+
reactIs_production_min$2.Profiler=g$2;reactIs_production_min$2.StrictMode=f$3;reactIs_production_min$2.Suspense=p$3;reactIs_production_min$2.isAsyncMode=function(a){return A$1(a)||z$1(a)===l$3};reactIs_production_min$2.isConcurrentMode=A$1;reactIs_production_min$2.isContextConsumer=function(a){return z$1(a)===k$3};reactIs_production_min$2.isContextProvider=function(a){return z$1(a)===h$2};reactIs_production_min$2.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$2};reactIs_production_min$2.isForwardRef=function(a){return z$1(a)===n$3};reactIs_production_min$2.isFragment=function(a){return z$1(a)===e$2};reactIs_production_min$2.isLazy=function(a){return z$1(a)===t$1};
|
|
182
|
+
reactIs_production_min$2.isMemo=function(a){return z$1(a)===r$2};reactIs_production_min$2.isPortal=function(a){return z$1(a)===d$2};reactIs_production_min$2.isProfiler=function(a){return z$1(a)===g$2};reactIs_production_min$2.isStrictMode=function(a){return z$1(a)===f$3};reactIs_production_min$2.isSuspense=function(a){return z$1(a)===p$3};
|
|
183
|
+
reactIs_production_min$2.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$2||a===m$3||a===g$2||a===f$3||a===p$3||a===q$3||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$2||a.$$typeof===h$2||a.$$typeof===k$3||a.$$typeof===n$3||a.$$typeof===w$1||a.$$typeof===x$1||a.$$typeof===y$1||a.$$typeof===v$2)};reactIs_production_min$2.typeOf=z$1;
|
|
184
184
|
|
|
185
|
-
var reactIs_development$
|
|
185
|
+
var reactIs_development$2 = {};
|
|
186
186
|
|
|
187
187
|
/** @license React v16.13.1
|
|
188
188
|
* react-is.development.js
|
|
@@ -332,45 +332,45 @@ function isSuspense(object) {
|
|
|
332
332
|
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
reactIs_development$
|
|
336
|
-
reactIs_development$
|
|
337
|
-
reactIs_development$
|
|
338
|
-
reactIs_development$
|
|
339
|
-
reactIs_development$
|
|
340
|
-
reactIs_development$
|
|
341
|
-
reactIs_development$
|
|
342
|
-
reactIs_development$
|
|
343
|
-
reactIs_development$
|
|
344
|
-
reactIs_development$
|
|
345
|
-
reactIs_development$
|
|
346
|
-
reactIs_development$
|
|
347
|
-
reactIs_development$
|
|
348
|
-
reactIs_development$
|
|
349
|
-
reactIs_development$
|
|
350
|
-
reactIs_development$
|
|
351
|
-
reactIs_development$
|
|
352
|
-
reactIs_development$
|
|
353
|
-
reactIs_development$
|
|
354
|
-
reactIs_development$
|
|
355
|
-
reactIs_development$
|
|
356
|
-
reactIs_development$
|
|
357
|
-
reactIs_development$
|
|
358
|
-
reactIs_development$
|
|
359
|
-
reactIs_development$
|
|
360
|
-
reactIs_development$
|
|
361
|
-
reactIs_development$
|
|
362
|
-
reactIs_development$
|
|
335
|
+
reactIs_development$2.AsyncMode = AsyncMode;
|
|
336
|
+
reactIs_development$2.ConcurrentMode = ConcurrentMode;
|
|
337
|
+
reactIs_development$2.ContextConsumer = ContextConsumer;
|
|
338
|
+
reactIs_development$2.ContextProvider = ContextProvider;
|
|
339
|
+
reactIs_development$2.Element = Element;
|
|
340
|
+
reactIs_development$2.ForwardRef = ForwardRef;
|
|
341
|
+
reactIs_development$2.Fragment = Fragment;
|
|
342
|
+
reactIs_development$2.Lazy = Lazy;
|
|
343
|
+
reactIs_development$2.Memo = Memo;
|
|
344
|
+
reactIs_development$2.Portal = Portal;
|
|
345
|
+
reactIs_development$2.Profiler = Profiler;
|
|
346
|
+
reactIs_development$2.StrictMode = StrictMode;
|
|
347
|
+
reactIs_development$2.Suspense = Suspense;
|
|
348
|
+
reactIs_development$2.isAsyncMode = isAsyncMode;
|
|
349
|
+
reactIs_development$2.isConcurrentMode = isConcurrentMode;
|
|
350
|
+
reactIs_development$2.isContextConsumer = isContextConsumer;
|
|
351
|
+
reactIs_development$2.isContextProvider = isContextProvider;
|
|
352
|
+
reactIs_development$2.isElement = isElement;
|
|
353
|
+
reactIs_development$2.isForwardRef = isForwardRef;
|
|
354
|
+
reactIs_development$2.isFragment = isFragment;
|
|
355
|
+
reactIs_development$2.isLazy = isLazy;
|
|
356
|
+
reactIs_development$2.isMemo = isMemo;
|
|
357
|
+
reactIs_development$2.isPortal = isPortal;
|
|
358
|
+
reactIs_development$2.isProfiler = isProfiler;
|
|
359
|
+
reactIs_development$2.isStrictMode = isStrictMode;
|
|
360
|
+
reactIs_development$2.isSuspense = isSuspense;
|
|
361
|
+
reactIs_development$2.isValidElementType = isValidElementType;
|
|
362
|
+
reactIs_development$2.typeOf = typeOf;
|
|
363
363
|
})();
|
|
364
364
|
}
|
|
365
365
|
|
|
366
366
|
(function (module) {
|
|
367
367
|
|
|
368
368
|
if (process.env.NODE_ENV === 'production') {
|
|
369
|
-
module.exports = reactIs_production_min$
|
|
369
|
+
module.exports = reactIs_production_min$2;
|
|
370
370
|
} else {
|
|
371
|
-
module.exports = reactIs_development$
|
|
371
|
+
module.exports = reactIs_development$2;
|
|
372
372
|
}
|
|
373
|
-
} (reactIs$
|
|
373
|
+
} (reactIs$2));
|
|
374
374
|
|
|
375
375
|
/*
|
|
376
376
|
object-assign
|
|
@@ -583,7 +583,7 @@ var checkPropTypes_1 = checkPropTypes$1;
|
|
|
583
583
|
* LICENSE file in the root directory of this source tree.
|
|
584
584
|
*/
|
|
585
585
|
|
|
586
|
-
var ReactIs$1 = reactIsExports$
|
|
586
|
+
var ReactIs$1 = reactIsExports$2;
|
|
587
587
|
var assign = objectAssign;
|
|
588
588
|
|
|
589
589
|
var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;
|
|
@@ -1255,7 +1255,7 @@ var factoryWithThrowingShims = function() {
|
|
|
1255
1255
|
*/
|
|
1256
1256
|
|
|
1257
1257
|
if (process.env.NODE_ENV !== 'production') {
|
|
1258
|
-
var ReactIs = reactIsExports$
|
|
1258
|
+
var ReactIs = reactIsExports$2;
|
|
1259
1259
|
|
|
1260
1260
|
// By explicitly using `prop-types` you are opting into new development behavior.
|
|
1261
1261
|
// http://fb.me/prop-types-in-prod
|
|
@@ -1387,13 +1387,13 @@ function formatMuiErrorMessage(code) {
|
|
|
1387
1387
|
/* eslint-enable prefer-template */
|
|
1388
1388
|
}
|
|
1389
1389
|
|
|
1390
|
-
var reactIsExports = {};
|
|
1391
|
-
var reactIs = {
|
|
1392
|
-
get exports(){ return reactIsExports; },
|
|
1393
|
-
set exports(v){ reactIsExports = v; },
|
|
1390
|
+
var reactIsExports$1 = {};
|
|
1391
|
+
var reactIs$1 = {
|
|
1392
|
+
get exports(){ return reactIsExports$1; },
|
|
1393
|
+
set exports(v){ reactIsExports$1 = v; },
|
|
1394
1394
|
};
|
|
1395
1395
|
|
|
1396
|
-
var reactIs_production_min = {};
|
|
1396
|
+
var reactIs_production_min$1 = {};
|
|
1397
1397
|
|
|
1398
1398
|
/**
|
|
1399
1399
|
* @license React
|
|
@@ -1404,13 +1404,13 @@ var reactIs_production_min = {};
|
|
|
1404
1404
|
* This source code is licensed under the MIT license found in the
|
|
1405
1405
|
* LICENSE file in the root directory of this source tree.
|
|
1406
1406
|
*/
|
|
1407
|
-
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f$
|
|
1408
|
-
function v(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b:switch(a=a.type,a){case d:case f$
|
|
1409
|
-
reactIs_production_min.SuspenseList=n$
|
|
1410
|
-
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f$
|
|
1411
|
-
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f$
|
|
1407
|
+
var b$1=Symbol.for("react.element"),c$1=Symbol.for("react.portal"),d$1=Symbol.for("react.fragment"),e$1=Symbol.for("react.strict_mode"),f$2=Symbol.for("react.profiler"),g$1=Symbol.for("react.provider"),h$1=Symbol.for("react.context"),k$2=Symbol.for("react.server_context"),l$2=Symbol.for("react.forward_ref"),m$2=Symbol.for("react.suspense"),n$2=Symbol.for("react.suspense_list"),p$2=Symbol.for("react.memo"),q$2=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u$1;u$1=Symbol.for("react.module.reference");
|
|
1408
|
+
function v$1(a){if("object"===typeof a&&null!==a){var r=a.$$typeof;switch(r){case b$1:switch(a=a.type,a){case d$1:case f$2:case e$1:case m$2:case n$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case h$1:case l$2:case q$2:case p$2:case g$1:return a;default:return r}}case c$1:return r}}}reactIs_production_min$1.ContextConsumer=h$1;reactIs_production_min$1.ContextProvider=g$1;reactIs_production_min$1.Element=b$1;reactIs_production_min$1.ForwardRef=l$2;reactIs_production_min$1.Fragment=d$1;reactIs_production_min$1.Lazy=q$2;reactIs_production_min$1.Memo=p$2;reactIs_production_min$1.Portal=c$1;reactIs_production_min$1.Profiler=f$2;reactIs_production_min$1.StrictMode=e$1;reactIs_production_min$1.Suspense=m$2;
|
|
1409
|
+
reactIs_production_min$1.SuspenseList=n$2;reactIs_production_min$1.isAsyncMode=function(){return !1};reactIs_production_min$1.isConcurrentMode=function(){return !1};reactIs_production_min$1.isContextConsumer=function(a){return v$1(a)===h$1};reactIs_production_min$1.isContextProvider=function(a){return v$1(a)===g$1};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b$1};reactIs_production_min$1.isForwardRef=function(a){return v$1(a)===l$2};reactIs_production_min$1.isFragment=function(a){return v$1(a)===d$1};reactIs_production_min$1.isLazy=function(a){return v$1(a)===q$2};reactIs_production_min$1.isMemo=function(a){return v$1(a)===p$2};
|
|
1410
|
+
reactIs_production_min$1.isPortal=function(a){return v$1(a)===c$1};reactIs_production_min$1.isProfiler=function(a){return v$1(a)===f$2};reactIs_production_min$1.isStrictMode=function(a){return v$1(a)===e$1};reactIs_production_min$1.isSuspense=function(a){return v$1(a)===m$2};reactIs_production_min$1.isSuspenseList=function(a){return v$1(a)===n$2};
|
|
1411
|
+
reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d$1||a===f$2||a===e$1||a===m$2||a===n$2||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q$2||a.$$typeof===p$2||a.$$typeof===g$1||a.$$typeof===h$1||a.$$typeof===l$2||a.$$typeof===u$1||void 0!==a.getModuleId)?!0:!1};reactIs_production_min$1.typeOf=v$1;
|
|
1412
1412
|
|
|
1413
|
-
var reactIs_development = {};
|
|
1413
|
+
var reactIs_development$1 = {};
|
|
1414
1414
|
|
|
1415
1415
|
/**
|
|
1416
1416
|
* @license React
|
|
@@ -1600,45 +1600,45 @@ function isSuspenseList(object) {
|
|
|
1600
1600
|
return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
|
|
1601
1601
|
}
|
|
1602
1602
|
|
|
1603
|
-
reactIs_development.ContextConsumer = ContextConsumer;
|
|
1604
|
-
reactIs_development.ContextProvider = ContextProvider;
|
|
1605
|
-
reactIs_development.Element = Element;
|
|
1606
|
-
reactIs_development.ForwardRef = ForwardRef;
|
|
1607
|
-
reactIs_development.Fragment = Fragment;
|
|
1608
|
-
reactIs_development.Lazy = Lazy;
|
|
1609
|
-
reactIs_development.Memo = Memo;
|
|
1610
|
-
reactIs_development.Portal = Portal;
|
|
1611
|
-
reactIs_development.Profiler = Profiler;
|
|
1612
|
-
reactIs_development.StrictMode = StrictMode;
|
|
1613
|
-
reactIs_development.Suspense = Suspense;
|
|
1614
|
-
reactIs_development.SuspenseList = SuspenseList;
|
|
1615
|
-
reactIs_development.isAsyncMode = isAsyncMode;
|
|
1616
|
-
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
1617
|
-
reactIs_development.isContextConsumer = isContextConsumer;
|
|
1618
|
-
reactIs_development.isContextProvider = isContextProvider;
|
|
1619
|
-
reactIs_development.isElement = isElement;
|
|
1620
|
-
reactIs_development.isForwardRef = isForwardRef;
|
|
1621
|
-
reactIs_development.isFragment = isFragment;
|
|
1622
|
-
reactIs_development.isLazy = isLazy;
|
|
1623
|
-
reactIs_development.isMemo = isMemo;
|
|
1624
|
-
reactIs_development.isPortal = isPortal;
|
|
1625
|
-
reactIs_development.isProfiler = isProfiler;
|
|
1626
|
-
reactIs_development.isStrictMode = isStrictMode;
|
|
1627
|
-
reactIs_development.isSuspense = isSuspense;
|
|
1628
|
-
reactIs_development.isSuspenseList = isSuspenseList;
|
|
1629
|
-
reactIs_development.isValidElementType = isValidElementType;
|
|
1630
|
-
reactIs_development.typeOf = typeOf;
|
|
1603
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
1604
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
1605
|
+
reactIs_development$1.Element = Element;
|
|
1606
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
1607
|
+
reactIs_development$1.Fragment = Fragment;
|
|
1608
|
+
reactIs_development$1.Lazy = Lazy;
|
|
1609
|
+
reactIs_development$1.Memo = Memo;
|
|
1610
|
+
reactIs_development$1.Portal = Portal;
|
|
1611
|
+
reactIs_development$1.Profiler = Profiler;
|
|
1612
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
1613
|
+
reactIs_development$1.Suspense = Suspense;
|
|
1614
|
+
reactIs_development$1.SuspenseList = SuspenseList;
|
|
1615
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
1616
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
1617
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
1618
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
1619
|
+
reactIs_development$1.isElement = isElement;
|
|
1620
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
1621
|
+
reactIs_development$1.isFragment = isFragment;
|
|
1622
|
+
reactIs_development$1.isLazy = isLazy;
|
|
1623
|
+
reactIs_development$1.isMemo = isMemo;
|
|
1624
|
+
reactIs_development$1.isPortal = isPortal;
|
|
1625
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
1626
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
1627
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
1628
|
+
reactIs_development$1.isSuspenseList = isSuspenseList;
|
|
1629
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
1630
|
+
reactIs_development$1.typeOf = typeOf;
|
|
1631
1631
|
})();
|
|
1632
1632
|
}
|
|
1633
1633
|
|
|
1634
1634
|
(function (module) {
|
|
1635
1635
|
|
|
1636
1636
|
if (process.env.NODE_ENV === 'production') {
|
|
1637
|
-
module.exports = reactIs_production_min;
|
|
1637
|
+
module.exports = reactIs_production_min$1;
|
|
1638
1638
|
} else {
|
|
1639
|
-
module.exports = reactIs_development;
|
|
1639
|
+
module.exports = reactIs_development$1;
|
|
1640
1640
|
}
|
|
1641
|
-
} (reactIs));
|
|
1641
|
+
} (reactIs$1));
|
|
1642
1642
|
|
|
1643
1643
|
// Simplified polyfill for IE11 support
|
|
1644
1644
|
// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
|
|
@@ -1675,9 +1675,9 @@ function getDisplayName(Component) {
|
|
|
1675
1675
|
// TypeScript can't have components as objects but they exist in the form of `memo` or `Suspense`
|
|
1676
1676
|
if (typeof Component === 'object') {
|
|
1677
1677
|
switch (Component.$$typeof) {
|
|
1678
|
-
case reactIsExports.ForwardRef:
|
|
1678
|
+
case reactIsExports$1.ForwardRef:
|
|
1679
1679
|
return getWrappedName(Component, Component.render, 'ForwardRef');
|
|
1680
|
-
case reactIsExports.Memo:
|
|
1680
|
+
case reactIsExports$1.Memo:
|
|
1681
1681
|
return getWrappedName(Component, Component.type, 'memo');
|
|
1682
1682
|
default:
|
|
1683
1683
|
return undefined;
|
|
@@ -2074,8 +2074,8 @@ var reactJsxRuntime_production_min = {};
|
|
|
2074
2074
|
* This source code is licensed under the MIT license found in the
|
|
2075
2075
|
* LICENSE file in the root directory of this source tree.
|
|
2076
2076
|
*/
|
|
2077
|
-
var f=React__default,k=Symbol.for("react.element"),l=Symbol.for("react.fragment"),m=Object.prototype.hasOwnProperty,n=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p={key:!0,ref:!0,__self:!0,__source:!0};
|
|
2078
|
-
function q(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m.call(a,b)&&!p.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k,type:c,key:e,ref:h,props:d,_owner:n.current}}reactJsxRuntime_production_min.Fragment=l;reactJsxRuntime_production_min.jsx=q;reactJsxRuntime_production_min.jsxs=q;
|
|
2077
|
+
var f$1=React__default,k$1=Symbol.for("react.element"),l$1=Symbol.for("react.fragment"),m$1=Object.prototype.hasOwnProperty,n$1=f$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,p$1={key:!0,ref:!0,__self:!0,__source:!0};
|
|
2078
|
+
function q$1(c,a,g){var b,d={},e=null,h=null;void 0!==g&&(e=""+g);void 0!==a.key&&(e=""+a.key);void 0!==a.ref&&(h=a.ref);for(b in a)m$1.call(a,b)&&!p$1.hasOwnProperty(b)&&(d[b]=a[b]);if(c&&c.defaultProps)for(b in a=c.defaultProps,a)void 0===d[b]&&(d[b]=a[b]);return {$$typeof:k$1,type:c,key:e,ref:h,props:d,_owner:n$1.current}}reactJsxRuntime_production_min.Fragment=l$1;reactJsxRuntime_production_min.jsx=q$1;reactJsxRuntime_production_min.jsxs=q$1;
|
|
2079
2079
|
|
|
2080
2080
|
var reactJsxRuntime_development = {};
|
|
2081
2081
|
|
|
@@ -3448,8 +3448,8 @@ const internal_processStyles = (tag, processor) => {
|
|
|
3448
3448
|
}
|
|
3449
3449
|
};
|
|
3450
3450
|
|
|
3451
|
-
function _extends$
|
|
3452
|
-
_extends$
|
|
3451
|
+
function _extends$1() {
|
|
3452
|
+
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
3453
3453
|
for (var i = 1; i < arguments.length; i++) {
|
|
3454
3454
|
var source = arguments[i];
|
|
3455
3455
|
for (var key in source) {
|
|
@@ -3460,10 +3460,10 @@ function _extends$2() {
|
|
|
3460
3460
|
}
|
|
3461
3461
|
return target;
|
|
3462
3462
|
};
|
|
3463
|
-
return _extends$
|
|
3463
|
+
return _extends$1.apply(this, arguments);
|
|
3464
3464
|
}
|
|
3465
3465
|
|
|
3466
|
-
function _objectWithoutPropertiesLoose$
|
|
3466
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
3467
3467
|
if (source == null) return {};
|
|
3468
3468
|
var target = {};
|
|
3469
3469
|
var sourceKeys = Object.keys(source);
|
|
@@ -3476,7 +3476,7 @@ function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
|
3476
3476
|
return target;
|
|
3477
3477
|
}
|
|
3478
3478
|
|
|
3479
|
-
const _excluded$
|
|
3479
|
+
const _excluded$E = ["values", "unit", "step"];
|
|
3480
3480
|
const sortBreakpointsValues = values => {
|
|
3481
3481
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
3482
3482
|
key,
|
|
@@ -3485,7 +3485,7 @@ const sortBreakpointsValues = values => {
|
|
|
3485
3485
|
// Sort in ascending order
|
|
3486
3486
|
breakpointsAsArray.sort((breakpoint1, breakpoint2) => breakpoint1.val - breakpoint2.val);
|
|
3487
3487
|
return breakpointsAsArray.reduce((acc, obj) => {
|
|
3488
|
-
return _extends$
|
|
3488
|
+
return _extends$1({}, acc, {
|
|
3489
3489
|
[obj.key]: obj.val
|
|
3490
3490
|
});
|
|
3491
3491
|
}, {});
|
|
@@ -3511,7 +3511,7 @@ function createBreakpoints(breakpoints) {
|
|
|
3511
3511
|
unit = 'px',
|
|
3512
3512
|
step = 5
|
|
3513
3513
|
} = breakpoints,
|
|
3514
|
-
other = _objectWithoutPropertiesLoose$
|
|
3514
|
+
other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$E);
|
|
3515
3515
|
const sortedValues = sortBreakpointsValues(values);
|
|
3516
3516
|
const keys = Object.keys(sortedValues);
|
|
3517
3517
|
function up(key) {
|
|
@@ -3543,7 +3543,7 @@ function createBreakpoints(breakpoints) {
|
|
|
3543
3543
|
}
|
|
3544
3544
|
return between(key, keys[keys.indexOf(key) + 1]).replace('@media', '@media not all and');
|
|
3545
3545
|
}
|
|
3546
|
-
return _extends$
|
|
3546
|
+
return _extends$1({
|
|
3547
3547
|
keys,
|
|
3548
3548
|
values: sortedValues,
|
|
3549
3549
|
up,
|
|
@@ -4540,7 +4540,7 @@ const styleFunctionSx = unstable_createStyleFunctionSx();
|
|
|
4540
4540
|
styleFunctionSx.filterProps = ['sx'];
|
|
4541
4541
|
var styleFunctionSx$1 = styleFunctionSx;
|
|
4542
4542
|
|
|
4543
|
-
const _excluded$
|
|
4543
|
+
const _excluded$D = ["breakpoints", "palette", "spacing", "shape"];
|
|
4544
4544
|
function createTheme$1(options = {}, ...args) {
|
|
4545
4545
|
const {
|
|
4546
4546
|
breakpoints: breakpointsInput = {},
|
|
@@ -4548,7 +4548,7 @@ function createTheme$1(options = {}, ...args) {
|
|
|
4548
4548
|
spacing: spacingInput,
|
|
4549
4549
|
shape: shapeInput = {}
|
|
4550
4550
|
} = options,
|
|
4551
|
-
other = _objectWithoutPropertiesLoose$
|
|
4551
|
+
other = _objectWithoutPropertiesLoose$1(options, _excluded$D);
|
|
4552
4552
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
4553
4553
|
const spacing = createSpacing(spacingInput);
|
|
4554
4554
|
let muiTheme = deepmerge({
|
|
@@ -4556,14 +4556,14 @@ function createTheme$1(options = {}, ...args) {
|
|
|
4556
4556
|
direction: 'ltr',
|
|
4557
4557
|
components: {},
|
|
4558
4558
|
// Inject component definitions.
|
|
4559
|
-
palette: _extends$
|
|
4559
|
+
palette: _extends$1({
|
|
4560
4560
|
mode: 'light'
|
|
4561
4561
|
}, paletteInput),
|
|
4562
4562
|
spacing,
|
|
4563
|
-
shape: _extends$
|
|
4563
|
+
shape: _extends$1({}, shape$1, shapeInput)
|
|
4564
4564
|
}, other);
|
|
4565
4565
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
4566
|
-
muiTheme.unstable_sxConfig = _extends$
|
|
4566
|
+
muiTheme.unstable_sxConfig = _extends$1({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
|
4567
4567
|
muiTheme.unstable_sx = function sx(props) {
|
|
4568
4568
|
return styleFunctionSx$1({
|
|
4569
4569
|
sx: props,
|
|
@@ -4616,7 +4616,7 @@ process.env.NODE_ENV !== "production" ? GlobalStyles$1.propTypes /* remove-propt
|
|
|
4616
4616
|
themeId: propTypesExports.string
|
|
4617
4617
|
} : void 0;
|
|
4618
4618
|
|
|
4619
|
-
const _excluded$
|
|
4619
|
+
const _excluded$C = ["sx"];
|
|
4620
4620
|
const splitProps = props => {
|
|
4621
4621
|
var _props$theme$unstable, _props$theme;
|
|
4622
4622
|
const result = {
|
|
@@ -4637,7 +4637,7 @@ function extendSxProp(props) {
|
|
|
4637
4637
|
const {
|
|
4638
4638
|
sx: inSx
|
|
4639
4639
|
} = props,
|
|
4640
|
-
other = _objectWithoutPropertiesLoose$
|
|
4640
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$C);
|
|
4641
4641
|
const {
|
|
4642
4642
|
systemProps,
|
|
4643
4643
|
otherProps
|
|
@@ -4651,19 +4651,19 @@ function extendSxProp(props) {
|
|
|
4651
4651
|
if (!isPlainObject(result)) {
|
|
4652
4652
|
return systemProps;
|
|
4653
4653
|
}
|
|
4654
|
-
return _extends$
|
|
4654
|
+
return _extends$1({}, systemProps, result);
|
|
4655
4655
|
};
|
|
4656
4656
|
} else {
|
|
4657
|
-
finalSx = _extends$
|
|
4657
|
+
finalSx = _extends$1({}, systemProps, inSx);
|
|
4658
4658
|
}
|
|
4659
|
-
return _extends$
|
|
4659
|
+
return _extends$1({}, otherProps, {
|
|
4660
4660
|
sx: finalSx
|
|
4661
4661
|
});
|
|
4662
4662
|
}
|
|
4663
4663
|
|
|
4664
|
-
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4664
|
+
function r$1(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r$1(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r$1(e))&&(n&&(n+=" "),n+=t);return n}
|
|
4665
4665
|
|
|
4666
|
-
const _excluded$
|
|
4666
|
+
const _excluded$B = ["className", "component"];
|
|
4667
4667
|
function createBox(options = {}) {
|
|
4668
4668
|
const {
|
|
4669
4669
|
themeId,
|
|
@@ -4681,8 +4681,8 @@ function createBox(options = {}) {
|
|
|
4681
4681
|
className,
|
|
4682
4682
|
component = 'div'
|
|
4683
4683
|
} = _extendSxProp,
|
|
4684
|
-
other = _objectWithoutPropertiesLoose$
|
|
4685
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$
|
|
4684
|
+
other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$B);
|
|
4685
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$1({
|
|
4686
4686
|
as: component,
|
|
4687
4687
|
ref: ref,
|
|
4688
4688
|
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
@@ -4692,7 +4692,7 @@ function createBox(options = {}) {
|
|
|
4692
4692
|
return Box;
|
|
4693
4693
|
}
|
|
4694
4694
|
|
|
4695
|
-
const _excluded$
|
|
4695
|
+
const _excluded$A = ["variant"];
|
|
4696
4696
|
function isEmpty$3(string) {
|
|
4697
4697
|
return string.length === 0;
|
|
4698
4698
|
}
|
|
@@ -4706,7 +4706,7 @@ function propsToClassKey(props) {
|
|
|
4706
4706
|
const {
|
|
4707
4707
|
variant
|
|
4708
4708
|
} = props,
|
|
4709
|
-
other = _objectWithoutPropertiesLoose$
|
|
4709
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$A);
|
|
4710
4710
|
let classKey = variant || '';
|
|
4711
4711
|
Object.keys(other).sort().forEach(key => {
|
|
4712
4712
|
if (key === 'color') {
|
|
@@ -4718,7 +4718,7 @@ function propsToClassKey(props) {
|
|
|
4718
4718
|
return classKey;
|
|
4719
4719
|
}
|
|
4720
4720
|
|
|
4721
|
-
const _excluded$
|
|
4721
|
+
const _excluded$z = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
4722
4722
|
function isEmpty$2(obj) {
|
|
4723
4723
|
return Object.keys(obj).length === 0;
|
|
4724
4724
|
}
|
|
@@ -4795,8 +4795,8 @@ function createStyled(input = {}) {
|
|
|
4795
4795
|
slotShouldForwardProp = shouldForwardProp
|
|
4796
4796
|
} = input;
|
|
4797
4797
|
const systemSx = props => {
|
|
4798
|
-
return styleFunctionSx$1(_extends$
|
|
4799
|
-
theme: resolveTheme(_extends$
|
|
4798
|
+
return styleFunctionSx$1(_extends$1({}, props, {
|
|
4799
|
+
theme: resolveTheme(_extends$1({}, props, {
|
|
4800
4800
|
defaultTheme,
|
|
4801
4801
|
themeId
|
|
4802
4802
|
}))
|
|
@@ -4813,7 +4813,7 @@ function createStyled(input = {}) {
|
|
|
4813
4813
|
skipSx: inputSkipSx,
|
|
4814
4814
|
overridesResolver
|
|
4815
4815
|
} = inputOptions,
|
|
4816
|
-
options = _objectWithoutPropertiesLoose$
|
|
4816
|
+
options = _objectWithoutPropertiesLoose$1(inputOptions, _excluded$z);
|
|
4817
4817
|
|
|
4818
4818
|
// if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
4819
4819
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -4834,7 +4834,7 @@ function createStyled(input = {}) {
|
|
|
4834
4834
|
// for string (html) tag, preserve the behavior in emotion & styled-components.
|
|
4835
4835
|
shouldForwardPropOption = undefined;
|
|
4836
4836
|
}
|
|
4837
|
-
const defaultStyledResolver = styled$2(tag, _extends$
|
|
4837
|
+
const defaultStyledResolver = styled$2(tag, _extends$1({
|
|
4838
4838
|
shouldForwardProp: shouldForwardPropOption,
|
|
4839
4839
|
label
|
|
4840
4840
|
}, options));
|
|
@@ -4844,8 +4844,8 @@ function createStyled(input = {}) {
|
|
|
4844
4844
|
// component stays as a function. This condition makes sure that we do not interpolate functions
|
|
4845
4845
|
// which are basically components used as a selectors.
|
|
4846
4846
|
return typeof stylesArg === 'function' && stylesArg.__emotion_real !== stylesArg ? props => {
|
|
4847
|
-
return stylesArg(_extends$
|
|
4848
|
-
theme: resolveTheme(_extends$
|
|
4847
|
+
return stylesArg(_extends$1({}, props, {
|
|
4848
|
+
theme: resolveTheme(_extends$1({}, props, {
|
|
4849
4849
|
defaultTheme,
|
|
4850
4850
|
themeId
|
|
4851
4851
|
}))
|
|
@@ -4855,7 +4855,7 @@ function createStyled(input = {}) {
|
|
|
4855
4855
|
let transformedStyleArg = styleArg;
|
|
4856
4856
|
if (componentName && overridesResolver) {
|
|
4857
4857
|
expressionsWithDefaultTheme.push(props => {
|
|
4858
|
-
const theme = resolveTheme(_extends$
|
|
4858
|
+
const theme = resolveTheme(_extends$1({}, props, {
|
|
4859
4859
|
defaultTheme,
|
|
4860
4860
|
themeId
|
|
4861
4861
|
}));
|
|
@@ -4863,7 +4863,7 @@ function createStyled(input = {}) {
|
|
|
4863
4863
|
if (styleOverrides) {
|
|
4864
4864
|
const resolvedStyleOverrides = {};
|
|
4865
4865
|
Object.entries(styleOverrides).forEach(([slotKey, slotStyle]) => {
|
|
4866
|
-
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$
|
|
4866
|
+
resolvedStyleOverrides[slotKey] = typeof slotStyle === 'function' ? slotStyle(_extends$1({}, props, {
|
|
4867
4867
|
theme
|
|
4868
4868
|
})) : slotStyle;
|
|
4869
4869
|
});
|
|
@@ -4874,7 +4874,7 @@ function createStyled(input = {}) {
|
|
|
4874
4874
|
}
|
|
4875
4875
|
if (componentName && !skipVariantsResolver) {
|
|
4876
4876
|
expressionsWithDefaultTheme.push(props => {
|
|
4877
|
-
const theme = resolveTheme(_extends$
|
|
4877
|
+
const theme = resolveTheme(_extends$1({}, props, {
|
|
4878
4878
|
defaultTheme,
|
|
4879
4879
|
themeId
|
|
4880
4880
|
}));
|
|
@@ -4896,8 +4896,8 @@ function createStyled(input = {}) {
|
|
|
4896
4896
|
// which are basically components used as a selectors.
|
|
4897
4897
|
styleArg.__emotion_real !== styleArg) {
|
|
4898
4898
|
// If the type is function, we need to define the default theme.
|
|
4899
|
-
transformedStyleArg = props => styleArg(_extends$
|
|
4900
|
-
theme: resolveTheme(_extends$
|
|
4899
|
+
transformedStyleArg = props => styleArg(_extends$1({}, props, {
|
|
4900
|
+
theme: resolveTheme(_extends$1({}, props, {
|
|
4901
4901
|
defaultTheme,
|
|
4902
4902
|
themeId
|
|
4903
4903
|
}))
|
|
@@ -5192,8 +5192,8 @@ function lighten(color, coefficient) {
|
|
|
5192
5192
|
|
|
5193
5193
|
var THEME_ID = '$$material';
|
|
5194
5194
|
|
|
5195
|
-
function _extends
|
|
5196
|
-
_extends
|
|
5195
|
+
function _extends() {
|
|
5196
|
+
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
5197
5197
|
for (var i = 1; i < arguments.length; i++) {
|
|
5198
5198
|
var source = arguments[i];
|
|
5199
5199
|
for (var key in source) {
|
|
@@ -5204,10 +5204,10 @@ function _extends$1() {
|
|
|
5204
5204
|
}
|
|
5205
5205
|
return target;
|
|
5206
5206
|
};
|
|
5207
|
-
return _extends
|
|
5207
|
+
return _extends.apply(this, arguments);
|
|
5208
5208
|
}
|
|
5209
5209
|
|
|
5210
|
-
function _objectWithoutPropertiesLoose
|
|
5210
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
5211
5211
|
if (source == null) return {};
|
|
5212
5212
|
var target = {};
|
|
5213
5213
|
var sourceKeys = Object.keys(source);
|
|
@@ -5221,7 +5221,7 @@ function _objectWithoutPropertiesLoose$2(source, excluded) {
|
|
|
5221
5221
|
}
|
|
5222
5222
|
|
|
5223
5223
|
function createMixins(breakpoints, mixins) {
|
|
5224
|
-
return _extends
|
|
5224
|
+
return _extends({
|
|
5225
5225
|
toolbar: {
|
|
5226
5226
|
minHeight: 56,
|
|
5227
5227
|
[breakpoints.up('xs')]: {
|
|
@@ -5368,7 +5368,7 @@ const green = {
|
|
|
5368
5368
|
};
|
|
5369
5369
|
var green$1 = green;
|
|
5370
5370
|
|
|
5371
|
-
const _excluded$
|
|
5371
|
+
const _excluded$y = ["mode", "contrastThreshold", "tonalOffset"];
|
|
5372
5372
|
const light = {
|
|
5373
5373
|
// The colors used to style the text.
|
|
5374
5374
|
text: {
|
|
@@ -5537,7 +5537,7 @@ function createPalette(palette) {
|
|
|
5537
5537
|
contrastThreshold = 3,
|
|
5538
5538
|
tonalOffset = 0.2
|
|
5539
5539
|
} = palette,
|
|
5540
|
-
other = _objectWithoutPropertiesLoose
|
|
5540
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$y);
|
|
5541
5541
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
5542
5542
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
5543
5543
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -5565,7 +5565,7 @@ function createPalette(palette) {
|
|
|
5565
5565
|
lightShade = 300,
|
|
5566
5566
|
darkShade = 700
|
|
5567
5567
|
}) => {
|
|
5568
|
-
color = _extends
|
|
5568
|
+
color = _extends({}, color);
|
|
5569
5569
|
if (!color.main && color[mainShade]) {
|
|
5570
5570
|
color.main = color[mainShade];
|
|
5571
5571
|
}
|
|
@@ -5605,9 +5605,9 @@ const theme2 = createTheme({ palette: {
|
|
|
5605
5605
|
console.error(`MUI: The palette mode \`${mode}\` is not supported.`);
|
|
5606
5606
|
}
|
|
5607
5607
|
}
|
|
5608
|
-
const paletteOutput = deepmerge(_extends
|
|
5608
|
+
const paletteOutput = deepmerge(_extends({
|
|
5609
5609
|
// A collection of common colors.
|
|
5610
|
-
common: _extends
|
|
5610
|
+
common: _extends({}, common$1),
|
|
5611
5611
|
// prevent mutable object.
|
|
5612
5612
|
// The palette mode, can be light or dark.
|
|
5613
5613
|
mode,
|
|
@@ -5661,7 +5661,7 @@ const theme2 = createTheme({ palette: {
|
|
|
5661
5661
|
return paletteOutput;
|
|
5662
5662
|
}
|
|
5663
5663
|
|
|
5664
|
-
const _excluded$
|
|
5664
|
+
const _excluded$x = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
5665
5665
|
function round(value) {
|
|
5666
5666
|
return Math.round(value * 1e5) / 1e5;
|
|
5667
5667
|
}
|
|
@@ -5692,7 +5692,7 @@ function createTypography(palette, typography) {
|
|
|
5692
5692
|
allVariants,
|
|
5693
5693
|
pxToRem: pxToRem2
|
|
5694
5694
|
} = _ref,
|
|
5695
|
-
other = _objectWithoutPropertiesLoose
|
|
5695
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
5696
5696
|
if (process.env.NODE_ENV !== 'production') {
|
|
5697
5697
|
if (typeof fontSize !== 'number') {
|
|
5698
5698
|
console.error('MUI: `fontSize` is required to be a number.');
|
|
@@ -5703,7 +5703,7 @@ function createTypography(palette, typography) {
|
|
|
5703
5703
|
}
|
|
5704
5704
|
const coef = fontSize / 14;
|
|
5705
5705
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
5706
|
-
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends
|
|
5706
|
+
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends({
|
|
5707
5707
|
fontFamily,
|
|
5708
5708
|
fontWeight,
|
|
5709
5709
|
fontSize: pxToRem(size),
|
|
@@ -5734,7 +5734,7 @@ function createTypography(palette, typography) {
|
|
|
5734
5734
|
letterSpacing: 'inherit'
|
|
5735
5735
|
}
|
|
5736
5736
|
};
|
|
5737
|
-
return deepmerge(_extends
|
|
5737
|
+
return deepmerge(_extends({
|
|
5738
5738
|
htmlFontSize,
|
|
5739
5739
|
pxToRem,
|
|
5740
5740
|
fontFamily,
|
|
@@ -5759,7 +5759,7 @@ function createShadow(...px) {
|
|
|
5759
5759
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
5760
5760
|
var shadows$1 = shadows;
|
|
5761
5761
|
|
|
5762
|
-
const _excluded$
|
|
5762
|
+
const _excluded$w = ["duration", "easing", "delay"];
|
|
5763
5763
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
5764
5764
|
// to learn the context in which each easing should be used.
|
|
5765
5765
|
const easing = {
|
|
@@ -5802,15 +5802,15 @@ function getAutoHeightDuration(height) {
|
|
|
5802
5802
|
return Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10);
|
|
5803
5803
|
}
|
|
5804
5804
|
function createTransitions(inputTransitions) {
|
|
5805
|
-
const mergedEasing = _extends
|
|
5806
|
-
const mergedDuration = _extends
|
|
5805
|
+
const mergedEasing = _extends({}, easing, inputTransitions.easing);
|
|
5806
|
+
const mergedDuration = _extends({}, duration, inputTransitions.duration);
|
|
5807
5807
|
const create = (props = ['all'], options = {}) => {
|
|
5808
5808
|
const {
|
|
5809
5809
|
duration: durationOption = mergedDuration.standard,
|
|
5810
5810
|
easing: easingOption = mergedEasing.easeInOut,
|
|
5811
5811
|
delay = 0
|
|
5812
5812
|
} = options,
|
|
5813
|
-
other = _objectWithoutPropertiesLoose
|
|
5813
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$w);
|
|
5814
5814
|
if (process.env.NODE_ENV !== 'production') {
|
|
5815
5815
|
const isString = value => typeof value === 'string';
|
|
5816
5816
|
// IE11 support, replace with Number.isNaN
|
|
@@ -5834,7 +5834,7 @@ function createTransitions(inputTransitions) {
|
|
|
5834
5834
|
}
|
|
5835
5835
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
5836
5836
|
};
|
|
5837
|
-
return _extends
|
|
5837
|
+
return _extends({
|
|
5838
5838
|
getAutoHeightDuration,
|
|
5839
5839
|
create
|
|
5840
5840
|
}, inputTransitions, {
|
|
@@ -5857,7 +5857,7 @@ const zIndex = {
|
|
|
5857
5857
|
};
|
|
5858
5858
|
var zIndex$1 = zIndex;
|
|
5859
5859
|
|
|
5860
|
-
const _excluded$
|
|
5860
|
+
const _excluded$v = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
5861
5861
|
function createTheme(options = {}, ...args) {
|
|
5862
5862
|
const {
|
|
5863
5863
|
mixins: mixinsInput = {},
|
|
@@ -5865,7 +5865,7 @@ function createTheme(options = {}, ...args) {
|
|
|
5865
5865
|
transitions: transitionsInput = {},
|
|
5866
5866
|
typography: typographyInput = {}
|
|
5867
5867
|
} = options,
|
|
5868
|
-
other = _objectWithoutPropertiesLoose
|
|
5868
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$v);
|
|
5869
5869
|
if (options.vars) {
|
|
5870
5870
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: \`vars\` is a private field used for CSS variables support.
|
|
5871
5871
|
Please use another name.` : formatMuiErrorMessage(18));
|
|
@@ -5879,7 +5879,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
|
5879
5879
|
shadows: shadows$1.slice(),
|
|
5880
5880
|
typography: createTypography(palette, typographyInput),
|
|
5881
5881
|
transitions: createTransitions(transitionsInput),
|
|
5882
|
-
zIndex: _extends
|
|
5882
|
+
zIndex: _extends({}, zIndex$1)
|
|
5883
5883
|
});
|
|
5884
5884
|
muiTheme = deepmerge(muiTheme, other);
|
|
5885
5885
|
muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);
|
|
@@ -5913,7 +5913,7 @@ Please use another name.` : formatMuiErrorMessage(18));
|
|
|
5913
5913
|
}
|
|
5914
5914
|
});
|
|
5915
5915
|
}
|
|
5916
|
-
muiTheme.unstable_sxConfig = _extends
|
|
5916
|
+
muiTheme.unstable_sxConfig = _extends({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
|
5917
5917
|
muiTheme.unstable_sx = function sx(props) {
|
|
5918
5918
|
return styleFunctionSx$1({
|
|
5919
5919
|
sx: props,
|
|
@@ -5996,21 +5996,6 @@ process.env.NODE_ENV !== "production" ? Box.propTypes /* remove-proptypes */ = {
|
|
|
5996
5996
|
} : void 0;
|
|
5997
5997
|
var Box$1 = Box;
|
|
5998
5998
|
|
|
5999
|
-
function _extends() {
|
|
6000
|
-
_extends = Object.assign ? Object.assign.bind() : function (target) {
|
|
6001
|
-
for (var i = 1; i < arguments.length; i++) {
|
|
6002
|
-
var source = arguments[i];
|
|
6003
|
-
for (var key in source) {
|
|
6004
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
6005
|
-
target[key] = source[key];
|
|
6006
|
-
}
|
|
6007
|
-
}
|
|
6008
|
-
}
|
|
6009
|
-
return target;
|
|
6010
|
-
};
|
|
6011
|
-
return _extends.apply(this, arguments);
|
|
6012
|
-
}
|
|
6013
|
-
|
|
6014
5999
|
/**
|
|
6015
6000
|
* Determines if a given element is a DOM element name (i.e. not a React component).
|
|
6016
6001
|
*/
|
|
@@ -6093,19 +6078,6 @@ function resolveComponentProps(componentProps, ownerState) {
|
|
|
6093
6078
|
return componentProps;
|
|
6094
6079
|
}
|
|
6095
6080
|
|
|
6096
|
-
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
6097
|
-
if (source == null) return {};
|
|
6098
|
-
var target = {};
|
|
6099
|
-
var sourceKeys = Object.keys(source);
|
|
6100
|
-
var key, i;
|
|
6101
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
6102
|
-
key = sourceKeys[i];
|
|
6103
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
6104
|
-
target[key] = source[key];
|
|
6105
|
-
}
|
|
6106
|
-
return target;
|
|
6107
|
-
}
|
|
6108
|
-
|
|
6109
6081
|
/**
|
|
6110
6082
|
* Removes event handlers from the given object.
|
|
6111
6083
|
* A field is considered an event handler if it is a function with a name beginning with `on`.
|
|
@@ -6190,7 +6162,7 @@ function mergeSlotProps(parameters) {
|
|
|
6190
6162
|
};
|
|
6191
6163
|
}
|
|
6192
6164
|
|
|
6193
|
-
const _excluded$
|
|
6165
|
+
const _excluded$u = ["elementType", "externalSlotProps", "ownerState"];
|
|
6194
6166
|
/**
|
|
6195
6167
|
* @ignore - do not document.
|
|
6196
6168
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
@@ -6206,7 +6178,7 @@ function useSlotProps(parameters) {
|
|
|
6206
6178
|
externalSlotProps,
|
|
6207
6179
|
ownerState
|
|
6208
6180
|
} = parameters,
|
|
6209
|
-
rest = _objectWithoutPropertiesLoose
|
|
6181
|
+
rest = _objectWithoutPropertiesLoose(parameters, _excluded$u);
|
|
6210
6182
|
const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
|
|
6211
6183
|
const {
|
|
6212
6184
|
props: mergedProps,
|
|
@@ -6844,7 +6816,7 @@ function getModalUtilityClass(slot) {
|
|
|
6844
6816
|
}
|
|
6845
6817
|
generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
6846
6818
|
|
|
6847
|
-
const _excluded$
|
|
6819
|
+
const _excluded$t = ["children", "closeAfterTransition", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
|
|
6848
6820
|
const useUtilityClasses$i = ownerState => {
|
|
6849
6821
|
const {
|
|
6850
6822
|
open,
|
|
@@ -6913,7 +6885,7 @@ const Modal$2 = /*#__PURE__*/React.forwardRef(function Modal(props, forwardedRef
|
|
|
6913
6885
|
slotProps = {},
|
|
6914
6886
|
slots = {}
|
|
6915
6887
|
} = props,
|
|
6916
|
-
other = _objectWithoutPropertiesLoose
|
|
6888
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$t);
|
|
6917
6889
|
// TODO: `modal`` must change its type in this file to match the type of methods
|
|
6918
6890
|
// provided by `ModalManager`
|
|
6919
6891
|
const manager = managerProp;
|
|
@@ -7203,7 +7175,7 @@ process.env.NODE_ENV !== "production" ? Modal$2.propTypes /* remove-proptypes */
|
|
|
7203
7175
|
} : void 0;
|
|
7204
7176
|
var ModalUnstyled = Modal$2;
|
|
7205
7177
|
|
|
7206
|
-
const _excluded$
|
|
7178
|
+
const _excluded$s = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
7207
7179
|
function getStyleValue(value) {
|
|
7208
7180
|
return parseInt(value, 10) || 0;
|
|
7209
7181
|
}
|
|
@@ -7245,7 +7217,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
|
|
|
7245
7217
|
style,
|
|
7246
7218
|
value
|
|
7247
7219
|
} = props,
|
|
7248
|
-
other = _objectWithoutPropertiesLoose
|
|
7220
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$s);
|
|
7249
7221
|
const {
|
|
7250
7222
|
current: isControlled
|
|
7251
7223
|
} = React.useRef(value != null);
|
|
@@ -7486,7 +7458,7 @@ function useFormControl() {
|
|
|
7486
7458
|
}
|
|
7487
7459
|
|
|
7488
7460
|
function GlobalStyles(props) {
|
|
7489
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends
|
|
7461
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends({}, props, {
|
|
7490
7462
|
defaultTheme: defaultTheme$2,
|
|
7491
7463
|
themeId: THEME_ID
|
|
7492
7464
|
}));
|
|
@@ -7539,7 +7511,7 @@ function getInputBaseUtilityClass(slot) {
|
|
|
7539
7511
|
const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
|
|
7540
7512
|
var inputBaseClasses$1 = inputBaseClasses;
|
|
7541
7513
|
|
|
7542
|
-
const _excluded$
|
|
7514
|
+
const _excluded$r = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
|
|
7543
7515
|
const rootOverridesResolver = (props, styles) => {
|
|
7544
7516
|
const {
|
|
7545
7517
|
ownerState
|
|
@@ -7582,7 +7554,7 @@ const InputBaseRoot = styled$1('div', {
|
|
|
7582
7554
|
})(({
|
|
7583
7555
|
theme,
|
|
7584
7556
|
ownerState
|
|
7585
|
-
}) => _extends
|
|
7557
|
+
}) => _extends({}, theme.typography.body1, {
|
|
7586
7558
|
color: (theme.vars || theme).palette.text.primary,
|
|
7587
7559
|
lineHeight: '1.4375em',
|
|
7588
7560
|
// 23px
|
|
@@ -7596,7 +7568,7 @@ const InputBaseRoot = styled$1('div', {
|
|
|
7596
7568
|
color: (theme.vars || theme).palette.text.disabled,
|
|
7597
7569
|
cursor: 'default'
|
|
7598
7570
|
}
|
|
7599
|
-
}, ownerState.multiline && _extends
|
|
7571
|
+
}, ownerState.multiline && _extends({
|
|
7600
7572
|
padding: '4px 0 5px'
|
|
7601
7573
|
}, ownerState.size === 'small' && {
|
|
7602
7574
|
paddingTop: 1
|
|
@@ -7612,7 +7584,7 @@ const InputBaseComponent = styled$1('input', {
|
|
|
7612
7584
|
ownerState
|
|
7613
7585
|
}) => {
|
|
7614
7586
|
const light = theme.palette.mode === 'light';
|
|
7615
|
-
const placeholder = _extends
|
|
7587
|
+
const placeholder = _extends({
|
|
7616
7588
|
color: 'currentColor'
|
|
7617
7589
|
}, theme.vars ? {
|
|
7618
7590
|
opacity: theme.vars.opacity.inputPlaceholder
|
|
@@ -7631,7 +7603,7 @@ const InputBaseComponent = styled$1('input', {
|
|
|
7631
7603
|
} : {
|
|
7632
7604
|
opacity: light ? 0.42 : 0.5
|
|
7633
7605
|
};
|
|
7634
|
-
return _extends
|
|
7606
|
+
return _extends({
|
|
7635
7607
|
font: 'inherit',
|
|
7636
7608
|
letterSpacing: 'inherit',
|
|
7637
7609
|
color: 'currentColor',
|
|
@@ -7770,7 +7742,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7770
7742
|
type = 'text',
|
|
7771
7743
|
value: valueProp
|
|
7772
7744
|
} = props,
|
|
7773
|
-
other = _objectWithoutPropertiesLoose
|
|
7745
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$r);
|
|
7774
7746
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
7775
7747
|
const {
|
|
7776
7748
|
current: isControlled
|
|
@@ -7905,13 +7877,13 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7905
7877
|
console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
|
|
7906
7878
|
}
|
|
7907
7879
|
}
|
|
7908
|
-
inputProps = _extends
|
|
7880
|
+
inputProps = _extends({
|
|
7909
7881
|
type: undefined,
|
|
7910
7882
|
minRows: rows,
|
|
7911
7883
|
maxRows: rows
|
|
7912
7884
|
}, inputProps);
|
|
7913
7885
|
} else {
|
|
7914
|
-
inputProps = _extends
|
|
7886
|
+
inputProps = _extends({
|
|
7915
7887
|
type: undefined,
|
|
7916
7888
|
maxRows,
|
|
7917
7889
|
minRows
|
|
@@ -7930,7 +7902,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7930
7902
|
muiFormControl.setAdornedStart(Boolean(startAdornment));
|
|
7931
7903
|
}
|
|
7932
7904
|
}, [muiFormControl, startAdornment]);
|
|
7933
|
-
const ownerState = _extends
|
|
7905
|
+
const ownerState = _extends({}, props, {
|
|
7934
7906
|
color: fcs.color || 'primary',
|
|
7935
7907
|
disabled: fcs.disabled,
|
|
7936
7908
|
endAdornment,
|
|
@@ -7948,10 +7920,10 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7948
7920
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
7949
7921
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
7950
7922
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
7951
|
-
inputProps = _extends
|
|
7923
|
+
inputProps = _extends({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
|
|
7952
7924
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
7953
|
-
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends
|
|
7954
|
-
ownerState: _extends
|
|
7925
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
7926
|
+
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
7955
7927
|
}, {
|
|
7956
7928
|
ref: ref,
|
|
7957
7929
|
onClick: handleClick
|
|
@@ -7959,7 +7931,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7959
7931
|
className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
|
|
7960
7932
|
children: [startAdornment, /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
7961
7933
|
value: null,
|
|
7962
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends
|
|
7934
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends({
|
|
7963
7935
|
ownerState: ownerState,
|
|
7964
7936
|
"aria-invalid": fcs.error,
|
|
7965
7937
|
"aria-describedby": ariaDescribedby,
|
|
@@ -7980,7 +7952,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7980
7952
|
type: type
|
|
7981
7953
|
}, inputProps, !isHostComponent(Input) && {
|
|
7982
7954
|
as: InputComponent,
|
|
7983
|
-
ownerState: _extends
|
|
7955
|
+
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
7984
7956
|
}, {
|
|
7985
7957
|
ref: handleInputRef,
|
|
7986
7958
|
className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
|
|
@@ -7988,7 +7960,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7988
7960
|
onChange: handleChange,
|
|
7989
7961
|
onFocus: handleFocus
|
|
7990
7962
|
}))
|
|
7991
|
-
}), endAdornment, renderSuffix ? renderSuffix(_extends
|
|
7963
|
+
}), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {
|
|
7992
7964
|
startAdornment
|
|
7993
7965
|
})) : null]
|
|
7994
7966
|
}))]
|
|
@@ -8229,10 +8201,10 @@ var InputBase$1 = InputBase;
|
|
|
8229
8201
|
function getInputUtilityClass(slot) {
|
|
8230
8202
|
return generateUtilityClass('MuiInput', slot);
|
|
8231
8203
|
}
|
|
8232
|
-
const inputClasses = _extends
|
|
8204
|
+
const inputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
|
|
8233
8205
|
var inputClasses$1 = inputClasses;
|
|
8234
8206
|
|
|
8235
|
-
const _excluded$
|
|
8207
|
+
const _excluded$q = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
8236
8208
|
const useUtilityClasses$g = ownerState => {
|
|
8237
8209
|
const {
|
|
8238
8210
|
classes,
|
|
@@ -8243,7 +8215,7 @@ const useUtilityClasses$g = ownerState => {
|
|
|
8243
8215
|
input: ['input']
|
|
8244
8216
|
};
|
|
8245
8217
|
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
8246
|
-
return _extends
|
|
8218
|
+
return _extends({}, classes, composedClasses);
|
|
8247
8219
|
};
|
|
8248
8220
|
const InputRoot = styled$1(InputBaseRoot, {
|
|
8249
8221
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -8264,7 +8236,7 @@ const InputRoot = styled$1(InputBaseRoot, {
|
|
|
8264
8236
|
if (theme.vars) {
|
|
8265
8237
|
bottomLineColor = `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})`;
|
|
8266
8238
|
}
|
|
8267
|
-
return _extends
|
|
8239
|
+
return _extends({
|
|
8268
8240
|
position: 'relative'
|
|
8269
8241
|
}, ownerState.formControl && {
|
|
8270
8242
|
'label + &': {
|
|
@@ -8345,7 +8317,7 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
|
|
|
8345
8317
|
slots = {},
|
|
8346
8318
|
type = 'text'
|
|
8347
8319
|
} = props,
|
|
8348
|
-
other = _objectWithoutPropertiesLoose
|
|
8320
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$q);
|
|
8349
8321
|
const classes = useUtilityClasses$g(props);
|
|
8350
8322
|
const ownerState = {
|
|
8351
8323
|
disableUnderline
|
|
@@ -8358,7 +8330,7 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
|
|
|
8358
8330
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;
|
|
8359
8331
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : InputRoot;
|
|
8360
8332
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : InputInput;
|
|
8361
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends
|
|
8333
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
8362
8334
|
slots: {
|
|
8363
8335
|
root: RootSlot,
|
|
8364
8336
|
input: InputSlot
|
|
@@ -8565,10 +8537,10 @@ var Input$1 = Input;
|
|
|
8565
8537
|
function getFilledInputUtilityClass(slot) {
|
|
8566
8538
|
return generateUtilityClass('MuiFilledInput', slot);
|
|
8567
8539
|
}
|
|
8568
|
-
const filledInputClasses = _extends
|
|
8540
|
+
const filledInputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
|
|
8569
8541
|
var filledInputClasses$1 = filledInputClasses;
|
|
8570
8542
|
|
|
8571
|
-
const _excluded$
|
|
8543
|
+
const _excluded$p = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
8572
8544
|
const useUtilityClasses$f = ownerState => {
|
|
8573
8545
|
const {
|
|
8574
8546
|
classes,
|
|
@@ -8579,7 +8551,7 @@ const useUtilityClasses$f = ownerState => {
|
|
|
8579
8551
|
input: ['input']
|
|
8580
8552
|
};
|
|
8581
8553
|
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
8582
|
-
return _extends
|
|
8554
|
+
return _extends({}, classes, composedClasses);
|
|
8583
8555
|
};
|
|
8584
8556
|
const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
8585
8557
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -8601,7 +8573,7 @@ const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
|
8601
8573
|
const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
|
|
8602
8574
|
const hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';
|
|
8603
8575
|
const disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';
|
|
8604
|
-
return _extends
|
|
8576
|
+
return _extends({
|
|
8605
8577
|
position: 'relative',
|
|
8606
8578
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,
|
|
8607
8579
|
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
@@ -8674,7 +8646,7 @@ const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
|
8674
8646
|
paddingLeft: 12
|
|
8675
8647
|
}, ownerState.endAdornment && {
|
|
8676
8648
|
paddingRight: 12
|
|
8677
|
-
}, ownerState.multiline && _extends
|
|
8649
|
+
}, ownerState.multiline && _extends({
|
|
8678
8650
|
padding: '25px 12px 8px'
|
|
8679
8651
|
}, ownerState.size === 'small' && {
|
|
8680
8652
|
paddingTop: 21,
|
|
@@ -8691,7 +8663,7 @@ const FilledInputInput = styled$1(InputBaseComponent, {
|
|
|
8691
8663
|
})(({
|
|
8692
8664
|
theme,
|
|
8693
8665
|
ownerState
|
|
8694
|
-
}) => _extends
|
|
8666
|
+
}) => _extends({
|
|
8695
8667
|
paddingTop: 25,
|
|
8696
8668
|
paddingRight: 12,
|
|
8697
8669
|
paddingBottom: 8,
|
|
@@ -8752,8 +8724,8 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
8752
8724
|
slots = {},
|
|
8753
8725
|
type = 'text'
|
|
8754
8726
|
} = props,
|
|
8755
|
-
other = _objectWithoutPropertiesLoose
|
|
8756
|
-
const ownerState = _extends
|
|
8727
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$p);
|
|
8728
|
+
const ownerState = _extends({}, props, {
|
|
8757
8729
|
fullWidth,
|
|
8758
8730
|
inputComponent,
|
|
8759
8731
|
multiline,
|
|
@@ -8771,7 +8743,7 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
8771
8743
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
|
|
8772
8744
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
|
|
8773
8745
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
|
|
8774
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends
|
|
8746
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
8775
8747
|
slots: {
|
|
8776
8748
|
root: RootSlot,
|
|
8777
8749
|
input: InputSlot
|
|
@@ -8983,7 +8955,7 @@ FilledInput.muiName = 'Input';
|
|
|
8983
8955
|
var FilledInput$1 = FilledInput;
|
|
8984
8956
|
|
|
8985
8957
|
var _span$2;
|
|
8986
|
-
const _excluded$
|
|
8958
|
+
const _excluded$o = ["children", "classes", "className", "label", "notched"];
|
|
8987
8959
|
const NotchedOutlineRoot$1 = styled$1('fieldset')({
|
|
8988
8960
|
textAlign: 'left',
|
|
8989
8961
|
position: 'absolute',
|
|
@@ -9003,7 +8975,7 @@ const NotchedOutlineRoot$1 = styled$1('fieldset')({
|
|
|
9003
8975
|
const NotchedOutlineLegend = styled$1('legend')(({
|
|
9004
8976
|
ownerState,
|
|
9005
8977
|
theme
|
|
9006
|
-
}) => _extends
|
|
8978
|
+
}) => _extends({
|
|
9007
8979
|
float: 'unset',
|
|
9008
8980
|
// Fix conflict with bootstrap
|
|
9009
8981
|
width: 'auto',
|
|
@@ -9017,7 +8989,7 @@ const NotchedOutlineLegend = styled$1('legend')(({
|
|
|
9017
8989
|
duration: 150,
|
|
9018
8990
|
easing: theme.transitions.easing.easeOut
|
|
9019
8991
|
})
|
|
9020
|
-
}, ownerState.withLabel && _extends
|
|
8992
|
+
}, ownerState.withLabel && _extends({
|
|
9021
8993
|
display: 'block',
|
|
9022
8994
|
// Fix conflict with normalize.css and sanitize.css
|
|
9023
8995
|
padding: 0,
|
|
@@ -9056,13 +9028,13 @@ function NotchedOutline(props) {
|
|
|
9056
9028
|
label,
|
|
9057
9029
|
notched
|
|
9058
9030
|
} = props,
|
|
9059
|
-
other = _objectWithoutPropertiesLoose
|
|
9031
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$o);
|
|
9060
9032
|
const withLabel = label != null && label !== '';
|
|
9061
|
-
const ownerState = _extends
|
|
9033
|
+
const ownerState = _extends({}, props, {
|
|
9062
9034
|
notched,
|
|
9063
9035
|
withLabel
|
|
9064
9036
|
});
|
|
9065
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends
|
|
9037
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends({
|
|
9066
9038
|
"aria-hidden": true,
|
|
9067
9039
|
className: className,
|
|
9068
9040
|
ownerState: ownerState
|
|
@@ -9110,10 +9082,10 @@ process.env.NODE_ENV !== "production" ? NotchedOutline.propTypes = {
|
|
|
9110
9082
|
function getOutlinedInputUtilityClass(slot) {
|
|
9111
9083
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
|
9112
9084
|
}
|
|
9113
|
-
const outlinedInputClasses = _extends
|
|
9085
|
+
const outlinedInputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
9114
9086
|
var outlinedInputClasses$1 = outlinedInputClasses;
|
|
9115
9087
|
|
|
9116
|
-
const _excluded$
|
|
9088
|
+
const _excluded$n = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
9117
9089
|
const useUtilityClasses$e = ownerState => {
|
|
9118
9090
|
const {
|
|
9119
9091
|
classes
|
|
@@ -9124,7 +9096,7 @@ const useUtilityClasses$e = ownerState => {
|
|
|
9124
9096
|
input: ['input']
|
|
9125
9097
|
};
|
|
9126
9098
|
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
9127
|
-
return _extends
|
|
9099
|
+
return _extends({}, classes, composedClasses);
|
|
9128
9100
|
};
|
|
9129
9101
|
const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
9130
9102
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -9136,7 +9108,7 @@ const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
|
9136
9108
|
ownerState
|
|
9137
9109
|
}) => {
|
|
9138
9110
|
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
9139
|
-
return _extends
|
|
9111
|
+
return _extends({
|
|
9140
9112
|
position: 'relative',
|
|
9141
9113
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
9142
9114
|
[`&:hover .${outlinedInputClasses$1.notchedOutline}`]: {
|
|
@@ -9162,7 +9134,7 @@ const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
|
9162
9134
|
paddingLeft: 14
|
|
9163
9135
|
}, ownerState.endAdornment && {
|
|
9164
9136
|
paddingRight: 14
|
|
9165
|
-
}, ownerState.multiline && _extends
|
|
9137
|
+
}, ownerState.multiline && _extends({
|
|
9166
9138
|
padding: '16.5px 14px'
|
|
9167
9139
|
}, ownerState.size === 'small' && {
|
|
9168
9140
|
padding: '8.5px 14px'
|
|
@@ -9187,7 +9159,7 @@ const OutlinedInputInput = styled$1(InputBaseComponent, {
|
|
|
9187
9159
|
})(({
|
|
9188
9160
|
theme,
|
|
9189
9161
|
ownerState
|
|
9190
|
-
}) => _extends
|
|
9162
|
+
}) => _extends({
|
|
9191
9163
|
padding: '16.5px 14px'
|
|
9192
9164
|
}, !theme.vars && {
|
|
9193
9165
|
'&:-webkit-autofill': {
|
|
@@ -9232,7 +9204,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9232
9204
|
slots = {},
|
|
9233
9205
|
type = 'text'
|
|
9234
9206
|
} = props,
|
|
9235
|
-
other = _objectWithoutPropertiesLoose
|
|
9207
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$n);
|
|
9236
9208
|
const classes = useUtilityClasses$e(props);
|
|
9237
9209
|
const muiFormControl = useFormControl();
|
|
9238
9210
|
const fcs = formControlState({
|
|
@@ -9240,7 +9212,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9240
9212
|
muiFormControl,
|
|
9241
9213
|
states: ['required']
|
|
9242
9214
|
});
|
|
9243
|
-
const ownerState = _extends
|
|
9215
|
+
const ownerState = _extends({}, props, {
|
|
9244
9216
|
color: fcs.color || 'primary',
|
|
9245
9217
|
disabled: fcs.disabled,
|
|
9246
9218
|
error: fcs.error,
|
|
@@ -9254,7 +9226,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9254
9226
|
});
|
|
9255
9227
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
|
|
9256
9228
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
|
|
9257
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends
|
|
9229
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
9258
9230
|
slots: {
|
|
9259
9231
|
root: RootSlot,
|
|
9260
9232
|
input: InputSlot
|
|
@@ -9273,7 +9245,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9273
9245
|
ref: ref,
|
|
9274
9246
|
type: type
|
|
9275
9247
|
}, other, {
|
|
9276
|
-
classes: _extends
|
|
9248
|
+
classes: _extends({}, classes, {
|
|
9277
9249
|
notchedOutline: null
|
|
9278
9250
|
})
|
|
9279
9251
|
}));
|
|
@@ -9453,7 +9425,7 @@ function getFormLabelUtilityClasses(slot) {
|
|
|
9453
9425
|
const formLabelClasses = generateUtilityClasses('MuiFormLabel', ['root', 'colorSecondary', 'focused', 'disabled', 'error', 'filled', 'required', 'asterisk']);
|
|
9454
9426
|
var formLabelClasses$1 = formLabelClasses;
|
|
9455
9427
|
|
|
9456
|
-
const _excluded$
|
|
9428
|
+
const _excluded$m = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
|
|
9457
9429
|
const useUtilityClasses$d = ownerState => {
|
|
9458
9430
|
const {
|
|
9459
9431
|
classes,
|
|
@@ -9476,12 +9448,12 @@ const FormLabelRoot = styled$1('label', {
|
|
|
9476
9448
|
overridesResolver: ({
|
|
9477
9449
|
ownerState
|
|
9478
9450
|
}, styles) => {
|
|
9479
|
-
return _extends
|
|
9451
|
+
return _extends({}, styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled);
|
|
9480
9452
|
}
|
|
9481
9453
|
})(({
|
|
9482
9454
|
theme,
|
|
9483
9455
|
ownerState
|
|
9484
|
-
}) => _extends
|
|
9456
|
+
}) => _extends({
|
|
9485
9457
|
color: (theme.vars || theme).palette.text.secondary
|
|
9486
9458
|
}, theme.typography.body1, {
|
|
9487
9459
|
lineHeight: '1.4375em',
|
|
@@ -9518,14 +9490,14 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
|
|
|
9518
9490
|
className,
|
|
9519
9491
|
component = 'label'
|
|
9520
9492
|
} = props,
|
|
9521
|
-
other = _objectWithoutPropertiesLoose
|
|
9493
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$m);
|
|
9522
9494
|
const muiFormControl = useFormControl();
|
|
9523
9495
|
const fcs = formControlState({
|
|
9524
9496
|
props,
|
|
9525
9497
|
muiFormControl,
|
|
9526
9498
|
states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']
|
|
9527
9499
|
});
|
|
9528
|
-
const ownerState = _extends
|
|
9500
|
+
const ownerState = _extends({}, props, {
|
|
9529
9501
|
color: fcs.color || 'primary',
|
|
9530
9502
|
component,
|
|
9531
9503
|
disabled: fcs.disabled,
|
|
@@ -9535,7 +9507,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
|
|
|
9535
9507
|
required: fcs.required
|
|
9536
9508
|
});
|
|
9537
9509
|
const classes = useUtilityClasses$d(ownerState);
|
|
9538
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends
|
|
9510
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends({
|
|
9539
9511
|
as: component,
|
|
9540
9512
|
ownerState: ownerState,
|
|
9541
9513
|
className: clsx(classes.root, className),
|
|
@@ -9609,7 +9581,7 @@ function getInputLabelUtilityClasses(slot) {
|
|
|
9609
9581
|
}
|
|
9610
9582
|
generateUtilityClasses('MuiInputLabel', ['root', 'focused', 'disabled', 'error', 'required', 'asterisk', 'formControl', 'sizeSmall', 'shrink', 'animated', 'standard', 'filled', 'outlined']);
|
|
9611
9583
|
|
|
9612
|
-
const _excluded$
|
|
9584
|
+
const _excluded$l = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
9613
9585
|
const useUtilityClasses$c = ownerState => {
|
|
9614
9586
|
const {
|
|
9615
9587
|
classes,
|
|
@@ -9625,7 +9597,7 @@ const useUtilityClasses$c = ownerState => {
|
|
|
9625
9597
|
asterisk: [required && 'asterisk']
|
|
9626
9598
|
};
|
|
9627
9599
|
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
9628
|
-
return _extends
|
|
9600
|
+
return _extends({}, classes, composedClasses);
|
|
9629
9601
|
};
|
|
9630
9602
|
const InputLabelRoot = styled$1(FormLabel$1, {
|
|
9631
9603
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -9642,7 +9614,7 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9642
9614
|
})(({
|
|
9643
9615
|
theme,
|
|
9644
9616
|
ownerState
|
|
9645
|
-
}) => _extends
|
|
9617
|
+
}) => _extends({
|
|
9646
9618
|
display: 'block',
|
|
9647
9619
|
transformOrigin: 'top left',
|
|
9648
9620
|
whiteSpace: 'nowrap',
|
|
@@ -9667,7 +9639,7 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9667
9639
|
duration: theme.transitions.duration.shorter,
|
|
9668
9640
|
easing: theme.transitions.easing.easeOut
|
|
9669
9641
|
})
|
|
9670
|
-
}, ownerState.variant === 'filled' && _extends
|
|
9642
|
+
}, ownerState.variant === 'filled' && _extends({
|
|
9671
9643
|
// Chrome's autofill feature gives the input field a yellow background.
|
|
9672
9644
|
// Since the input field is behind the label in the HTML tree,
|
|
9673
9645
|
// the input field is drawn last and hides the label with an opaque background color.
|
|
@@ -9678,14 +9650,14 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9678
9650
|
maxWidth: 'calc(100% - 24px)'
|
|
9679
9651
|
}, ownerState.size === 'small' && {
|
|
9680
9652
|
transform: 'translate(12px, 13px) scale(1)'
|
|
9681
|
-
}, ownerState.shrink && _extends
|
|
9653
|
+
}, ownerState.shrink && _extends({
|
|
9682
9654
|
userSelect: 'none',
|
|
9683
9655
|
pointerEvents: 'auto',
|
|
9684
9656
|
transform: 'translate(12px, 7px) scale(0.75)',
|
|
9685
9657
|
maxWidth: 'calc(133% - 24px)'
|
|
9686
9658
|
}, ownerState.size === 'small' && {
|
|
9687
9659
|
transform: 'translate(12px, 4px) scale(0.75)'
|
|
9688
|
-
})), ownerState.variant === 'outlined' && _extends
|
|
9660
|
+
})), ownerState.variant === 'outlined' && _extends({
|
|
9689
9661
|
// see comment above on filled.zIndex
|
|
9690
9662
|
zIndex: 1,
|
|
9691
9663
|
pointerEvents: 'none',
|
|
@@ -9711,7 +9683,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9711
9683
|
shrink: shrinkProp,
|
|
9712
9684
|
className
|
|
9713
9685
|
} = props,
|
|
9714
|
-
other = _objectWithoutPropertiesLoose
|
|
9686
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$l);
|
|
9715
9687
|
const muiFormControl = useFormControl();
|
|
9716
9688
|
let shrink = shrinkProp;
|
|
9717
9689
|
if (typeof shrink === 'undefined' && muiFormControl) {
|
|
@@ -9722,7 +9694,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9722
9694
|
muiFormControl,
|
|
9723
9695
|
states: ['size', 'variant', 'required']
|
|
9724
9696
|
});
|
|
9725
|
-
const ownerState = _extends
|
|
9697
|
+
const ownerState = _extends({}, props, {
|
|
9726
9698
|
disableAnimation,
|
|
9727
9699
|
formControl: muiFormControl,
|
|
9728
9700
|
shrink,
|
|
@@ -9731,7 +9703,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9731
9703
|
required: fcs.required
|
|
9732
9704
|
});
|
|
9733
9705
|
const classes = useUtilityClasses$c(ownerState);
|
|
9734
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends
|
|
9706
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends({
|
|
9735
9707
|
"data-shrink": shrink,
|
|
9736
9708
|
ownerState: ownerState,
|
|
9737
9709
|
ref: ref,
|
|
@@ -9814,7 +9786,7 @@ function getFormControlUtilityClasses(slot) {
|
|
|
9814
9786
|
}
|
|
9815
9787
|
generateUtilityClasses('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
|
|
9816
9788
|
|
|
9817
|
-
const _excluded$
|
|
9789
|
+
const _excluded$k = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
|
|
9818
9790
|
const useUtilityClasses$b = ownerState => {
|
|
9819
9791
|
const {
|
|
9820
9792
|
classes,
|
|
@@ -9832,11 +9804,11 @@ const FormControlRoot = styled$1('div', {
|
|
|
9832
9804
|
overridesResolver: ({
|
|
9833
9805
|
ownerState
|
|
9834
9806
|
}, styles) => {
|
|
9835
|
-
return _extends
|
|
9807
|
+
return _extends({}, styles.root, styles[`margin${capitalize(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth);
|
|
9836
9808
|
}
|
|
9837
9809
|
})(({
|
|
9838
9810
|
ownerState
|
|
9839
|
-
}) => _extends
|
|
9811
|
+
}) => _extends({
|
|
9840
9812
|
display: 'inline-flex',
|
|
9841
9813
|
flexDirection: 'column',
|
|
9842
9814
|
position: 'relative',
|
|
@@ -9900,8 +9872,8 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
|
|
|
9900
9872
|
size = 'medium',
|
|
9901
9873
|
variant = 'outlined'
|
|
9902
9874
|
} = props,
|
|
9903
|
-
other = _objectWithoutPropertiesLoose
|
|
9904
|
-
const ownerState = _extends
|
|
9875
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$k);
|
|
9876
|
+
const ownerState = _extends({}, props, {
|
|
9905
9877
|
color,
|
|
9906
9878
|
component,
|
|
9907
9879
|
disabled,
|
|
@@ -9997,7 +9969,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
|
|
|
9997
9969
|
}, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, required, size, variant]);
|
|
9998
9970
|
return /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
9999
9971
|
value: childContext,
|
|
10000
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(FormControlRoot, _extends
|
|
9972
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(FormControlRoot, _extends({
|
|
10001
9973
|
as: component,
|
|
10002
9974
|
ownerState: ownerState,
|
|
10003
9975
|
className: clsx(classes.root, className),
|
|
@@ -10096,7 +10068,7 @@ const formHelperTextClasses = generateUtilityClasses('MuiFormHelperText', ['root
|
|
|
10096
10068
|
var formHelperTextClasses$1 = formHelperTextClasses;
|
|
10097
10069
|
|
|
10098
10070
|
var _span$1;
|
|
10099
|
-
const _excluded$
|
|
10071
|
+
const _excluded$j = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
|
|
10100
10072
|
const useUtilityClasses$a = ownerState => {
|
|
10101
10073
|
const {
|
|
10102
10074
|
classes,
|
|
@@ -10125,7 +10097,7 @@ const FormHelperTextRoot = styled$1('p', {
|
|
|
10125
10097
|
})(({
|
|
10126
10098
|
theme,
|
|
10127
10099
|
ownerState
|
|
10128
|
-
}) => _extends
|
|
10100
|
+
}) => _extends({
|
|
10129
10101
|
color: (theme.vars || theme).palette.text.secondary
|
|
10130
10102
|
}, theme.typography.caption, {
|
|
10131
10103
|
textAlign: 'left',
|
|
@@ -10155,14 +10127,14 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
|
|
|
10155
10127
|
className,
|
|
10156
10128
|
component = 'p'
|
|
10157
10129
|
} = props,
|
|
10158
|
-
other = _objectWithoutPropertiesLoose
|
|
10130
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$j);
|
|
10159
10131
|
const muiFormControl = useFormControl();
|
|
10160
10132
|
const fcs = formControlState({
|
|
10161
10133
|
props,
|
|
10162
10134
|
muiFormControl,
|
|
10163
10135
|
states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']
|
|
10164
10136
|
});
|
|
10165
|
-
const ownerState = _extends
|
|
10137
|
+
const ownerState = _extends({}, props, {
|
|
10166
10138
|
component,
|
|
10167
10139
|
contained: fcs.variant === 'filled' || fcs.variant === 'outlined',
|
|
10168
10140
|
variant: fcs.variant,
|
|
@@ -10174,7 +10146,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
|
|
|
10174
10146
|
required: fcs.required
|
|
10175
10147
|
});
|
|
10176
10148
|
const classes = useUtilityClasses$a(ownerState);
|
|
10177
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends
|
|
10149
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends({
|
|
10178
10150
|
as: component,
|
|
10179
10151
|
ownerState: ownerState,
|
|
10180
10152
|
className: clsx(classes.root, className),
|
|
@@ -10247,58 +10219,313 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes /* remove-propt
|
|
|
10247
10219
|
} : void 0;
|
|
10248
10220
|
var FormHelperText$1 = FormHelperText;
|
|
10249
10221
|
|
|
10250
|
-
|
|
10251
|
-
|
|
10222
|
+
var reactIsExports = {};
|
|
10223
|
+
var reactIs = {
|
|
10224
|
+
get exports(){ return reactIsExports; },
|
|
10225
|
+
set exports(v){ reactIsExports = v; },
|
|
10226
|
+
};
|
|
10227
|
+
|
|
10228
|
+
var reactIs_production_min = {};
|
|
10229
|
+
|
|
10230
|
+
/** @license React v17.0.2
|
|
10231
|
+
* react-is.production.min.js
|
|
10232
|
+
*
|
|
10233
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10234
|
+
*
|
|
10235
|
+
* This source code is licensed under the MIT license found in the
|
|
10236
|
+
* LICENSE file in the root directory of this source tree.
|
|
10252
10237
|
*/
|
|
10253
|
-
|
|
10254
|
-
if (
|
|
10255
|
-
|
|
10256
|
-
}
|
|
10257
|
-
|
|
10238
|
+
var b=60103,c=60106,d=60107,e=60108,f=60114,g=60109,h=60110,k=60112,l=60113,m=60120,n=60115,p=60116,q=60121,r=60122,u=60117,v=60129,w=60131;
|
|
10239
|
+
if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;b=x("react.element");c=x("react.portal");d=x("react.fragment");e=x("react.strict_mode");f=x("react.profiler");g=x("react.provider");h=x("react.context");k=x("react.forward_ref");l=x("react.suspense");m=x("react.suspense_list");n=x("react.memo");p=x("react.lazy");q=x("react.block");r=x("react.server.block");u=x("react.fundamental");v=x("react.debug_trace_mode");w=x("react.legacy_hidden");}
|
|
10240
|
+
function y(a){if("object"===typeof a&&null!==a){var t=a.$$typeof;switch(t){case b:switch(a=a.type,a){case d:case f:case e:case l:case m:return a;default:switch(a=a&&a.$$typeof,a){case h:case k:case p:case n:case g:return a;default:return t}}case c:return t}}}var z=g,A=b,B=k,C=d,D=p,E=n,F=c,G=f,H=e,I=l;reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=z;reactIs_production_min.Element=A;reactIs_production_min.ForwardRef=B;reactIs_production_min.Fragment=C;reactIs_production_min.Lazy=D;reactIs_production_min.Memo=E;reactIs_production_min.Portal=F;reactIs_production_min.Profiler=G;reactIs_production_min.StrictMode=H;
|
|
10241
|
+
reactIs_production_min.Suspense=I;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return y(a)===h};reactIs_production_min.isContextProvider=function(a){return y(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return y(a)===k};reactIs_production_min.isFragment=function(a){return y(a)===d};reactIs_production_min.isLazy=function(a){return y(a)===p};reactIs_production_min.isMemo=function(a){return y(a)===n};
|
|
10242
|
+
reactIs_production_min.isPortal=function(a){return y(a)===c};reactIs_production_min.isProfiler=function(a){return y(a)===f};reactIs_production_min.isStrictMode=function(a){return y(a)===e};reactIs_production_min.isSuspense=function(a){return y(a)===l};reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f||a===v||a===e||a===l||a===m||a===w||"object"===typeof a&&null!==a&&(a.$$typeof===p||a.$$typeof===n||a.$$typeof===g||a.$$typeof===h||a.$$typeof===k||a.$$typeof===u||a.$$typeof===q||a[0]===r)?!0:!1};
|
|
10243
|
+
reactIs_production_min.typeOf=y;
|
|
10258
10244
|
|
|
10259
|
-
|
|
10260
|
-
return generateUtilityClass('MuiList', slot);
|
|
10261
|
-
}
|
|
10262
|
-
generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
10245
|
+
var reactIs_development = {};
|
|
10263
10246
|
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10276
|
-
|
|
10277
|
-
|
|
10278
|
-
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10247
|
+
/** @license React v17.0.2
|
|
10248
|
+
* react-is.development.js
|
|
10249
|
+
*
|
|
10250
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
10251
|
+
*
|
|
10252
|
+
* This source code is licensed under the MIT license found in the
|
|
10253
|
+
* LICENSE file in the root directory of this source tree.
|
|
10254
|
+
*/
|
|
10255
|
+
|
|
10256
|
+
if (process.env.NODE_ENV !== "production") {
|
|
10257
|
+
(function() {
|
|
10258
|
+
|
|
10259
|
+
// ATTENTION
|
|
10260
|
+
// When adding new symbols to this file,
|
|
10261
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
10262
|
+
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
|
10263
|
+
// nor polyfill, then a plain number is used for performance.
|
|
10264
|
+
var REACT_ELEMENT_TYPE = 0xeac7;
|
|
10265
|
+
var REACT_PORTAL_TYPE = 0xeaca;
|
|
10266
|
+
var REACT_FRAGMENT_TYPE = 0xeacb;
|
|
10267
|
+
var REACT_STRICT_MODE_TYPE = 0xeacc;
|
|
10268
|
+
var REACT_PROFILER_TYPE = 0xead2;
|
|
10269
|
+
var REACT_PROVIDER_TYPE = 0xeacd;
|
|
10270
|
+
var REACT_CONTEXT_TYPE = 0xeace;
|
|
10271
|
+
var REACT_FORWARD_REF_TYPE = 0xead0;
|
|
10272
|
+
var REACT_SUSPENSE_TYPE = 0xead1;
|
|
10273
|
+
var REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
|
10274
|
+
var REACT_MEMO_TYPE = 0xead3;
|
|
10275
|
+
var REACT_LAZY_TYPE = 0xead4;
|
|
10276
|
+
var REACT_BLOCK_TYPE = 0xead9;
|
|
10277
|
+
var REACT_SERVER_BLOCK_TYPE = 0xeada;
|
|
10278
|
+
var REACT_FUNDAMENTAL_TYPE = 0xead5;
|
|
10279
|
+
var REACT_DEBUG_TRACING_MODE_TYPE = 0xeae1;
|
|
10280
|
+
var REACT_LEGACY_HIDDEN_TYPE = 0xeae3;
|
|
10281
|
+
|
|
10282
|
+
if (typeof Symbol === 'function' && Symbol.for) {
|
|
10283
|
+
var symbolFor = Symbol.for;
|
|
10284
|
+
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
|
10285
|
+
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
|
10286
|
+
REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
|
|
10287
|
+
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
|
10288
|
+
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
|
10289
|
+
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
|
10290
|
+
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
|
10291
|
+
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
|
10292
|
+
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
|
10293
|
+
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
|
10294
|
+
REACT_MEMO_TYPE = symbolFor('react.memo');
|
|
10295
|
+
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
|
10296
|
+
REACT_BLOCK_TYPE = symbolFor('react.block');
|
|
10297
|
+
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
|
10298
|
+
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
|
10299
|
+
symbolFor('react.scope');
|
|
10300
|
+
symbolFor('react.opaque.id');
|
|
10301
|
+
REACT_DEBUG_TRACING_MODE_TYPE = symbolFor('react.debug_trace_mode');
|
|
10302
|
+
symbolFor('react.offscreen');
|
|
10303
|
+
REACT_LEGACY_HIDDEN_TYPE = symbolFor('react.legacy_hidden');
|
|
10304
|
+
}
|
|
10305
|
+
|
|
10306
|
+
// Filter certain DOM attributes (e.g. src, href) if their values are empty strings.
|
|
10307
|
+
|
|
10308
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
10309
|
+
|
|
10310
|
+
function isValidElementType(type) {
|
|
10311
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
10312
|
+
return true;
|
|
10313
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
10314
|
+
|
|
10315
|
+
|
|
10316
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || type === REACT_DEBUG_TRACING_MODE_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || type === REACT_LEGACY_HIDDEN_TYPE || enableScopeAPI ) {
|
|
10317
|
+
return true;
|
|
10285
10318
|
}
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10319
|
+
|
|
10320
|
+
if (typeof type === 'object' && type !== null) {
|
|
10321
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_BLOCK_TYPE || type[0] === REACT_SERVER_BLOCK_TYPE) {
|
|
10322
|
+
return true;
|
|
10323
|
+
}
|
|
10324
|
+
}
|
|
10325
|
+
|
|
10326
|
+
return false;
|
|
10327
|
+
}
|
|
10328
|
+
|
|
10329
|
+
function typeOf(object) {
|
|
10330
|
+
if (typeof object === 'object' && object !== null) {
|
|
10331
|
+
var $$typeof = object.$$typeof;
|
|
10332
|
+
|
|
10333
|
+
switch ($$typeof) {
|
|
10334
|
+
case REACT_ELEMENT_TYPE:
|
|
10335
|
+
var type = object.type;
|
|
10336
|
+
|
|
10337
|
+
switch (type) {
|
|
10338
|
+
case REACT_FRAGMENT_TYPE:
|
|
10339
|
+
case REACT_PROFILER_TYPE:
|
|
10340
|
+
case REACT_STRICT_MODE_TYPE:
|
|
10341
|
+
case REACT_SUSPENSE_TYPE:
|
|
10342
|
+
case REACT_SUSPENSE_LIST_TYPE:
|
|
10343
|
+
return type;
|
|
10344
|
+
|
|
10345
|
+
default:
|
|
10346
|
+
var $$typeofType = type && type.$$typeof;
|
|
10347
|
+
|
|
10348
|
+
switch ($$typeofType) {
|
|
10349
|
+
case REACT_CONTEXT_TYPE:
|
|
10350
|
+
case REACT_FORWARD_REF_TYPE:
|
|
10351
|
+
case REACT_LAZY_TYPE:
|
|
10352
|
+
case REACT_MEMO_TYPE:
|
|
10353
|
+
case REACT_PROVIDER_TYPE:
|
|
10354
|
+
return $$typeofType;
|
|
10355
|
+
|
|
10356
|
+
default:
|
|
10357
|
+
return $$typeof;
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
}
|
|
10361
|
+
|
|
10362
|
+
case REACT_PORTAL_TYPE:
|
|
10363
|
+
return $$typeof;
|
|
10364
|
+
}
|
|
10365
|
+
}
|
|
10366
|
+
|
|
10367
|
+
return undefined;
|
|
10368
|
+
}
|
|
10369
|
+
var ContextConsumer = REACT_CONTEXT_TYPE;
|
|
10370
|
+
var ContextProvider = REACT_PROVIDER_TYPE;
|
|
10371
|
+
var Element = REACT_ELEMENT_TYPE;
|
|
10372
|
+
var ForwardRef = REACT_FORWARD_REF_TYPE;
|
|
10373
|
+
var Fragment = REACT_FRAGMENT_TYPE;
|
|
10374
|
+
var Lazy = REACT_LAZY_TYPE;
|
|
10375
|
+
var Memo = REACT_MEMO_TYPE;
|
|
10376
|
+
var Portal = REACT_PORTAL_TYPE;
|
|
10377
|
+
var Profiler = REACT_PROFILER_TYPE;
|
|
10378
|
+
var StrictMode = REACT_STRICT_MODE_TYPE;
|
|
10379
|
+
var Suspense = REACT_SUSPENSE_TYPE;
|
|
10380
|
+
var hasWarnedAboutDeprecatedIsAsyncMode = false;
|
|
10381
|
+
var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
|
|
10382
|
+
|
|
10383
|
+
function isAsyncMode(object) {
|
|
10384
|
+
{
|
|
10385
|
+
if (!hasWarnedAboutDeprecatedIsAsyncMode) {
|
|
10386
|
+
hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
10387
|
+
|
|
10388
|
+
console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
10389
|
+
}
|
|
10390
|
+
}
|
|
10391
|
+
|
|
10392
|
+
return false;
|
|
10393
|
+
}
|
|
10394
|
+
function isConcurrentMode(object) {
|
|
10395
|
+
{
|
|
10396
|
+
if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
|
|
10397
|
+
hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
|
|
10398
|
+
|
|
10399
|
+
console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
|
|
10400
|
+
}
|
|
10401
|
+
}
|
|
10402
|
+
|
|
10403
|
+
return false;
|
|
10404
|
+
}
|
|
10405
|
+
function isContextConsumer(object) {
|
|
10406
|
+
return typeOf(object) === REACT_CONTEXT_TYPE;
|
|
10407
|
+
}
|
|
10408
|
+
function isContextProvider(object) {
|
|
10409
|
+
return typeOf(object) === REACT_PROVIDER_TYPE;
|
|
10410
|
+
}
|
|
10411
|
+
function isElement(object) {
|
|
10412
|
+
return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
|
|
10413
|
+
}
|
|
10414
|
+
function isForwardRef(object) {
|
|
10415
|
+
return typeOf(object) === REACT_FORWARD_REF_TYPE;
|
|
10416
|
+
}
|
|
10417
|
+
function isFragment(object) {
|
|
10418
|
+
return typeOf(object) === REACT_FRAGMENT_TYPE;
|
|
10419
|
+
}
|
|
10420
|
+
function isLazy(object) {
|
|
10421
|
+
return typeOf(object) === REACT_LAZY_TYPE;
|
|
10422
|
+
}
|
|
10423
|
+
function isMemo(object) {
|
|
10424
|
+
return typeOf(object) === REACT_MEMO_TYPE;
|
|
10425
|
+
}
|
|
10426
|
+
function isPortal(object) {
|
|
10427
|
+
return typeOf(object) === REACT_PORTAL_TYPE;
|
|
10428
|
+
}
|
|
10429
|
+
function isProfiler(object) {
|
|
10430
|
+
return typeOf(object) === REACT_PROFILER_TYPE;
|
|
10431
|
+
}
|
|
10432
|
+
function isStrictMode(object) {
|
|
10433
|
+
return typeOf(object) === REACT_STRICT_MODE_TYPE;
|
|
10434
|
+
}
|
|
10435
|
+
function isSuspense(object) {
|
|
10436
|
+
return typeOf(object) === REACT_SUSPENSE_TYPE;
|
|
10437
|
+
}
|
|
10438
|
+
|
|
10439
|
+
reactIs_development.ContextConsumer = ContextConsumer;
|
|
10440
|
+
reactIs_development.ContextProvider = ContextProvider;
|
|
10441
|
+
reactIs_development.Element = Element;
|
|
10442
|
+
reactIs_development.ForwardRef = ForwardRef;
|
|
10443
|
+
reactIs_development.Fragment = Fragment;
|
|
10444
|
+
reactIs_development.Lazy = Lazy;
|
|
10445
|
+
reactIs_development.Memo = Memo;
|
|
10446
|
+
reactIs_development.Portal = Portal;
|
|
10447
|
+
reactIs_development.Profiler = Profiler;
|
|
10448
|
+
reactIs_development.StrictMode = StrictMode;
|
|
10449
|
+
reactIs_development.Suspense = Suspense;
|
|
10450
|
+
reactIs_development.isAsyncMode = isAsyncMode;
|
|
10451
|
+
reactIs_development.isConcurrentMode = isConcurrentMode;
|
|
10452
|
+
reactIs_development.isContextConsumer = isContextConsumer;
|
|
10453
|
+
reactIs_development.isContextProvider = isContextProvider;
|
|
10454
|
+
reactIs_development.isElement = isElement;
|
|
10455
|
+
reactIs_development.isForwardRef = isForwardRef;
|
|
10456
|
+
reactIs_development.isFragment = isFragment;
|
|
10457
|
+
reactIs_development.isLazy = isLazy;
|
|
10458
|
+
reactIs_development.isMemo = isMemo;
|
|
10459
|
+
reactIs_development.isPortal = isPortal;
|
|
10460
|
+
reactIs_development.isProfiler = isProfiler;
|
|
10461
|
+
reactIs_development.isStrictMode = isStrictMode;
|
|
10462
|
+
reactIs_development.isSuspense = isSuspense;
|
|
10463
|
+
reactIs_development.isValidElementType = isValidElementType;
|
|
10464
|
+
reactIs_development.typeOf = typeOf;
|
|
10465
|
+
})();
|
|
10466
|
+
}
|
|
10467
|
+
|
|
10468
|
+
(function (module) {
|
|
10469
|
+
|
|
10470
|
+
if (process.env.NODE_ENV === 'production') {
|
|
10471
|
+
module.exports = reactIs_production_min;
|
|
10472
|
+
} else {
|
|
10473
|
+
module.exports = reactIs_development;
|
|
10474
|
+
}
|
|
10475
|
+
} (reactIs));
|
|
10476
|
+
|
|
10477
|
+
/**
|
|
10478
|
+
* @ignore - internal component.
|
|
10479
|
+
*/
|
|
10480
|
+
const ListContext = /*#__PURE__*/React.createContext({});
|
|
10481
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10482
|
+
ListContext.displayName = 'ListContext';
|
|
10483
|
+
}
|
|
10484
|
+
var ListContext$1 = ListContext;
|
|
10485
|
+
|
|
10486
|
+
function getListUtilityClass(slot) {
|
|
10487
|
+
return generateUtilityClass('MuiList', slot);
|
|
10488
|
+
}
|
|
10489
|
+
generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
10490
|
+
|
|
10491
|
+
const _excluded$i = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
10492
|
+
const useUtilityClasses$9 = ownerState => {
|
|
10493
|
+
const {
|
|
10494
|
+
classes,
|
|
10495
|
+
disablePadding,
|
|
10496
|
+
dense,
|
|
10497
|
+
subheader
|
|
10498
|
+
} = ownerState;
|
|
10499
|
+
const slots = {
|
|
10500
|
+
root: ['root', !disablePadding && 'padding', dense && 'dense', subheader && 'subheader']
|
|
10501
|
+
};
|
|
10502
|
+
return composeClasses(slots, getListUtilityClass, classes);
|
|
10503
|
+
};
|
|
10504
|
+
const ListRoot = styled$1('ul', {
|
|
10505
|
+
name: 'MuiList',
|
|
10506
|
+
slot: 'Root',
|
|
10507
|
+
overridesResolver: (props, styles) => {
|
|
10508
|
+
const {
|
|
10509
|
+
ownerState
|
|
10510
|
+
} = props;
|
|
10511
|
+
return [styles.root, !ownerState.disablePadding && styles.padding, ownerState.dense && styles.dense, ownerState.subheader && styles.subheader];
|
|
10512
|
+
}
|
|
10513
|
+
})(({
|
|
10514
|
+
ownerState
|
|
10515
|
+
}) => _extends({
|
|
10516
|
+
listStyle: 'none',
|
|
10517
|
+
margin: 0,
|
|
10518
|
+
padding: 0,
|
|
10519
|
+
position: 'relative'
|
|
10520
|
+
}, !ownerState.disablePadding && {
|
|
10521
|
+
paddingTop: 8,
|
|
10522
|
+
paddingBottom: 8
|
|
10523
|
+
}, ownerState.subheader && {
|
|
10524
|
+
paddingTop: 0
|
|
10525
|
+
}));
|
|
10526
|
+
const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
10527
|
+
const props = useThemeProps({
|
|
10528
|
+
props: inProps,
|
|
10302
10529
|
name: 'MuiList'
|
|
10303
10530
|
});
|
|
10304
10531
|
const {
|
|
@@ -10309,11 +10536,11 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
10309
10536
|
disablePadding = false,
|
|
10310
10537
|
subheader
|
|
10311
10538
|
} = props,
|
|
10312
|
-
other = _objectWithoutPropertiesLoose
|
|
10539
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$i);
|
|
10313
10540
|
const context = React.useMemo(() => ({
|
|
10314
10541
|
dense
|
|
10315
10542
|
}), [dense]);
|
|
10316
|
-
const ownerState = _extends
|
|
10543
|
+
const ownerState = _extends({}, props, {
|
|
10317
10544
|
component,
|
|
10318
10545
|
dense,
|
|
10319
10546
|
disablePadding
|
|
@@ -10321,7 +10548,7 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
10321
10548
|
const classes = useUtilityClasses$9(ownerState);
|
|
10322
10549
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
10323
10550
|
value: context,
|
|
10324
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends
|
|
10551
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends({
|
|
10325
10552
|
as: component,
|
|
10326
10553
|
className: clsx(classes.root, className),
|
|
10327
10554
|
ref: ref,
|
|
@@ -10376,7 +10603,7 @@ process.env.NODE_ENV !== "production" ? List.propTypes /* remove-proptypes */ =
|
|
|
10376
10603
|
} : void 0;
|
|
10377
10604
|
var List$1 = List;
|
|
10378
10605
|
|
|
10379
|
-
const _excluded$
|
|
10606
|
+
const _excluded$h = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
|
|
10380
10607
|
function nextItem(list, item, disableListWrap) {
|
|
10381
10608
|
if (list === item) {
|
|
10382
10609
|
return list.firstChild;
|
|
@@ -10458,7 +10685,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10458
10685
|
onKeyDown,
|
|
10459
10686
|
variant = 'selectedMenu'
|
|
10460
10687
|
} = props,
|
|
10461
|
-
other = _objectWithoutPropertiesLoose
|
|
10688
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$h);
|
|
10462
10689
|
const listRef = React.useRef(null);
|
|
10463
10690
|
const textCriteriaRef = React.useRef({
|
|
10464
10691
|
keys: [],
|
|
@@ -10547,6 +10774,13 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10547
10774
|
// item and use the first valid item as a fallback
|
|
10548
10775
|
React.Children.forEach(children, (child, index) => {
|
|
10549
10776
|
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
10777
|
+
if (activeItemIndex === index) {
|
|
10778
|
+
activeItemIndex += 1;
|
|
10779
|
+
if (activeItemIndex >= children.length) {
|
|
10780
|
+
// there are no focusable items within the list.
|
|
10781
|
+
activeItemIndex = -1;
|
|
10782
|
+
}
|
|
10783
|
+
}
|
|
10550
10784
|
return;
|
|
10551
10785
|
}
|
|
10552
10786
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10582,7 +10816,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10582
10816
|
}
|
|
10583
10817
|
return child;
|
|
10584
10818
|
});
|
|
10585
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends
|
|
10819
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends({
|
|
10586
10820
|
role: "menu",
|
|
10587
10821
|
ref: handleRef,
|
|
10588
10822
|
className: className,
|
|
@@ -10617,176 +10851,27 @@ process.env.NODE_ENV !== "production" ? MenuList.propTypes /* remove-proptypes *
|
|
|
10617
10851
|
*/
|
|
10618
10852
|
className: propTypesExports.string,
|
|
10619
10853
|
/**
|
|
10620
|
-
* If `true`, will allow focus on disabled items.
|
|
10621
|
-
* @default false
|
|
10622
|
-
*/
|
|
10623
|
-
disabledItemsFocusable: propTypesExports.bool,
|
|
10624
|
-
/**
|
|
10625
|
-
* If `true`, the menu items will not wrap focus.
|
|
10626
|
-
* @default false
|
|
10627
|
-
*/
|
|
10628
|
-
disableListWrap: propTypesExports.bool,
|
|
10629
|
-
/**
|
|
10630
|
-
* @ignore
|
|
10631
|
-
*/
|
|
10632
|
-
onKeyDown: propTypesExports.func,
|
|
10633
|
-
/**
|
|
10634
|
-
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
|
10635
|
-
* and the vertical alignment relative to the anchor element.
|
|
10636
|
-
* @default 'selectedMenu'
|
|
10637
|
-
*/
|
|
10638
|
-
variant: propTypesExports.oneOf(['menu', 'selectedMenu'])
|
|
10639
|
-
} : void 0;
|
|
10640
|
-
var MenuList$1 = MenuList;
|
|
10641
|
-
|
|
10642
|
-
function getPaperUtilityClass(slot) {
|
|
10643
|
-
return generateUtilityClass('MuiPaper', slot);
|
|
10644
|
-
}
|
|
10645
|
-
generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
10646
|
-
|
|
10647
|
-
const _excluded$d = ["className", "component", "elevation", "square", "variant"];
|
|
10648
|
-
const useUtilityClasses$8 = ownerState => {
|
|
10649
|
-
const {
|
|
10650
|
-
square,
|
|
10651
|
-
elevation,
|
|
10652
|
-
variant,
|
|
10653
|
-
classes
|
|
10654
|
-
} = ownerState;
|
|
10655
|
-
const slots = {
|
|
10656
|
-
root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
|
|
10657
|
-
};
|
|
10658
|
-
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
10659
|
-
};
|
|
10660
|
-
const PaperRoot = styled$1('div', {
|
|
10661
|
-
name: 'MuiPaper',
|
|
10662
|
-
slot: 'Root',
|
|
10663
|
-
overridesResolver: (props, styles) => {
|
|
10664
|
-
const {
|
|
10665
|
-
ownerState
|
|
10666
|
-
} = props;
|
|
10667
|
-
return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
|
|
10668
|
-
}
|
|
10669
|
-
})(({
|
|
10670
|
-
theme,
|
|
10671
|
-
ownerState
|
|
10672
|
-
}) => {
|
|
10673
|
-
var _theme$vars$overlays;
|
|
10674
|
-
return _extends$1({
|
|
10675
|
-
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
10676
|
-
color: (theme.vars || theme).palette.text.primary,
|
|
10677
|
-
transition: theme.transitions.create('box-shadow')
|
|
10678
|
-
}, !ownerState.square && {
|
|
10679
|
-
borderRadius: theme.shape.borderRadius
|
|
10680
|
-
}, ownerState.variant === 'outlined' && {
|
|
10681
|
-
border: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
10682
|
-
}, ownerState.variant === 'elevation' && _extends$1({
|
|
10683
|
-
boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
|
|
10684
|
-
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
10685
|
-
backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
|
|
10686
|
-
}, theme.vars && {
|
|
10687
|
-
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
|
|
10688
|
-
}));
|
|
10689
|
-
});
|
|
10690
|
-
const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
10691
|
-
const props = useThemeProps({
|
|
10692
|
-
props: inProps,
|
|
10693
|
-
name: 'MuiPaper'
|
|
10694
|
-
});
|
|
10695
|
-
const {
|
|
10696
|
-
className,
|
|
10697
|
-
component = 'div',
|
|
10698
|
-
elevation = 1,
|
|
10699
|
-
square = false,
|
|
10700
|
-
variant = 'elevation'
|
|
10701
|
-
} = props,
|
|
10702
|
-
other = _objectWithoutPropertiesLoose$2(props, _excluded$d);
|
|
10703
|
-
const ownerState = _extends$1({}, props, {
|
|
10704
|
-
component,
|
|
10705
|
-
elevation,
|
|
10706
|
-
square,
|
|
10707
|
-
variant
|
|
10708
|
-
});
|
|
10709
|
-
const classes = useUtilityClasses$8(ownerState);
|
|
10710
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
10711
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
10712
|
-
const theme = useTheme();
|
|
10713
|
-
if (theme.shadows[elevation] === undefined) {
|
|
10714
|
-
console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
|
|
10715
|
-
}
|
|
10716
|
-
}
|
|
10717
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(PaperRoot, _extends$1({
|
|
10718
|
-
as: component,
|
|
10719
|
-
ownerState: ownerState,
|
|
10720
|
-
className: clsx(classes.root, className),
|
|
10721
|
-
ref: ref
|
|
10722
|
-
}, other));
|
|
10723
|
-
});
|
|
10724
|
-
process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
|
|
10725
|
-
// ----------------------------- Warning --------------------------------
|
|
10726
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
10727
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
10728
|
-
// ----------------------------------------------------------------------
|
|
10729
|
-
/**
|
|
10730
|
-
* The content of the component.
|
|
10731
|
-
*/
|
|
10732
|
-
children: propTypesExports.node,
|
|
10733
|
-
/**
|
|
10734
|
-
* Override or extend the styles applied to the component.
|
|
10735
|
-
*/
|
|
10736
|
-
classes: propTypesExports.object,
|
|
10737
|
-
/**
|
|
10738
|
-
* @ignore
|
|
10739
|
-
*/
|
|
10740
|
-
className: propTypesExports.string,
|
|
10741
|
-
/**
|
|
10742
|
-
* The component used for the root node.
|
|
10743
|
-
* Either a string to use a HTML element or a component.
|
|
10744
|
-
*/
|
|
10745
|
-
component: propTypesExports.elementType,
|
|
10746
|
-
/**
|
|
10747
|
-
* Shadow depth, corresponds to `dp` in the spec.
|
|
10748
|
-
* It accepts values between 0 and 24 inclusive.
|
|
10749
|
-
* @default 1
|
|
10750
|
-
*/
|
|
10751
|
-
elevation: chainPropTypes(integerPropType, props => {
|
|
10752
|
-
const {
|
|
10753
|
-
elevation,
|
|
10754
|
-
variant
|
|
10755
|
-
} = props;
|
|
10756
|
-
if (elevation > 0 && variant === 'outlined') {
|
|
10757
|
-
return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
|
|
10758
|
-
}
|
|
10759
|
-
return null;
|
|
10760
|
-
}),
|
|
10761
|
-
/**
|
|
10762
|
-
* If `true`, rounded corners are disabled.
|
|
10854
|
+
* If `true`, will allow focus on disabled items.
|
|
10763
10855
|
* @default false
|
|
10764
10856
|
*/
|
|
10765
|
-
|
|
10857
|
+
disabledItemsFocusable: propTypesExports.bool,
|
|
10766
10858
|
/**
|
|
10767
|
-
*
|
|
10859
|
+
* If `true`, the menu items will not wrap focus.
|
|
10860
|
+
* @default false
|
|
10768
10861
|
*/
|
|
10769
|
-
|
|
10862
|
+
disableListWrap: propTypesExports.bool,
|
|
10770
10863
|
/**
|
|
10771
|
-
*
|
|
10772
|
-
* @default 'elevation'
|
|
10864
|
+
* @ignore
|
|
10773
10865
|
*/
|
|
10774
|
-
|
|
10866
|
+
onKeyDown: propTypesExports.func,
|
|
10867
|
+
/**
|
|
10868
|
+
* The variant to use. Use `menu` to prevent selected items from impacting the initial focus
|
|
10869
|
+
* and the vertical alignment relative to the anchor element.
|
|
10870
|
+
* @default 'selectedMenu'
|
|
10871
|
+
*/
|
|
10872
|
+
variant: propTypesExports.oneOf(['menu', 'selectedMenu'])
|
|
10775
10873
|
} : void 0;
|
|
10776
|
-
var
|
|
10777
|
-
|
|
10778
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
10779
|
-
if (source == null) return {};
|
|
10780
|
-
var target = {};
|
|
10781
|
-
var sourceKeys = Object.keys(source);
|
|
10782
|
-
var key, i;
|
|
10783
|
-
for (i = 0; i < sourceKeys.length; i++) {
|
|
10784
|
-
key = sourceKeys[i];
|
|
10785
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
10786
|
-
target[key] = source[key];
|
|
10787
|
-
}
|
|
10788
|
-
return target;
|
|
10789
|
-
}
|
|
10874
|
+
var MenuList$1 = MenuList;
|
|
10790
10875
|
|
|
10791
10876
|
function _setPrototypeOf(o, p) {
|
|
10792
10877
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
@@ -11462,7 +11547,7 @@ function getTransitionProps(props, options) {
|
|
|
11462
11547
|
};
|
|
11463
11548
|
}
|
|
11464
11549
|
|
|
11465
|
-
const _excluded$
|
|
11550
|
+
const _excluded$g = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
11466
11551
|
function getScale(value) {
|
|
11467
11552
|
return `scale(${value}, ${value ** 2})`;
|
|
11468
11553
|
}
|
|
@@ -11506,7 +11591,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11506
11591
|
// eslint-disable-next-line react/prop-types
|
|
11507
11592
|
TransitionComponent = Transition$1
|
|
11508
11593
|
} = props,
|
|
11509
|
-
other = _objectWithoutPropertiesLoose
|
|
11594
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$g);
|
|
11510
11595
|
const timer = React.useRef();
|
|
11511
11596
|
const autoTimeout = React.useRef();
|
|
11512
11597
|
const theme = useTheme();
|
|
@@ -11608,7 +11693,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11608
11693
|
clearTimeout(timer.current);
|
|
11609
11694
|
};
|
|
11610
11695
|
}, []);
|
|
11611
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends
|
|
11696
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11612
11697
|
appear: appear,
|
|
11613
11698
|
in: inProp,
|
|
11614
11699
|
nodeRef: nodeRef,
|
|
@@ -11622,8 +11707,8 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11622
11707
|
timeout: timeout === 'auto' ? null : timeout
|
|
11623
11708
|
}, other, {
|
|
11624
11709
|
children: (state, childProps) => {
|
|
11625
|
-
return /*#__PURE__*/React.cloneElement(children, _extends
|
|
11626
|
-
style: _extends
|
|
11710
|
+
return /*#__PURE__*/React.cloneElement(children, _extends({
|
|
11711
|
+
style: _extends({
|
|
11627
11712
|
opacity: 0,
|
|
11628
11713
|
transform: getScale(0.75),
|
|
11629
11714
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
@@ -11710,7 +11795,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
|
|
|
11710
11795
|
Grow.muiSupportAuto = true;
|
|
11711
11796
|
var Grow$1 = Grow;
|
|
11712
11797
|
|
|
11713
|
-
const _excluded$
|
|
11798
|
+
const _excluded$f = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
11714
11799
|
const styles = {
|
|
11715
11800
|
entering: {
|
|
11716
11801
|
opacity: 1
|
|
@@ -11747,7 +11832,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11747
11832
|
// eslint-disable-next-line react/prop-types
|
|
11748
11833
|
TransitionComponent = Transition$1
|
|
11749
11834
|
} = props,
|
|
11750
|
-
other = _objectWithoutPropertiesLoose
|
|
11835
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$f);
|
|
11751
11836
|
const nodeRef = React.useRef(null);
|
|
11752
11837
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
|
11753
11838
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
|
@@ -11802,7 +11887,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11802
11887
|
addEndListener(nodeRef.current, next);
|
|
11803
11888
|
}
|
|
11804
11889
|
};
|
|
11805
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends
|
|
11890
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11806
11891
|
appear: appear,
|
|
11807
11892
|
in: inProp,
|
|
11808
11893
|
nodeRef: nodeRef ,
|
|
@@ -11816,8 +11901,8 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11816
11901
|
timeout: timeout
|
|
11817
11902
|
}, other, {
|
|
11818
11903
|
children: (state, childProps) => {
|
|
11819
|
-
return /*#__PURE__*/React.cloneElement(children, _extends
|
|
11820
|
-
style: _extends
|
|
11904
|
+
return /*#__PURE__*/React.cloneElement(children, _extends({
|
|
11905
|
+
style: _extends({
|
|
11821
11906
|
opacity: 0,
|
|
11822
11907
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
11823
11908
|
}, styles[state], style, children.props.style),
|
|
@@ -11908,8 +11993,8 @@ function getBackdropUtilityClass(slot) {
|
|
|
11908
11993
|
}
|
|
11909
11994
|
generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
11910
11995
|
|
|
11911
|
-
const _excluded$
|
|
11912
|
-
const useUtilityClasses$
|
|
11996
|
+
const _excluded$e = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
11997
|
+
const useUtilityClasses$8 = ownerState => {
|
|
11913
11998
|
const {
|
|
11914
11999
|
classes,
|
|
11915
12000
|
invisible
|
|
@@ -11930,7 +12015,7 @@ const BackdropRoot = styled$1('div', {
|
|
|
11930
12015
|
}
|
|
11931
12016
|
})(({
|
|
11932
12017
|
ownerState
|
|
11933
|
-
}) => _extends
|
|
12018
|
+
}) => _extends({
|
|
11934
12019
|
position: 'fixed',
|
|
11935
12020
|
display: 'flex',
|
|
11936
12021
|
alignItems: 'center',
|
|
@@ -11963,23 +12048,23 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
11963
12048
|
TransitionComponent = Fade$1,
|
|
11964
12049
|
transitionDuration
|
|
11965
12050
|
} = props,
|
|
11966
|
-
other = _objectWithoutPropertiesLoose
|
|
11967
|
-
const ownerState = _extends
|
|
12051
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$e);
|
|
12052
|
+
const ownerState = _extends({}, props, {
|
|
11968
12053
|
component,
|
|
11969
12054
|
invisible
|
|
11970
12055
|
});
|
|
11971
|
-
const classes = useUtilityClasses$
|
|
12056
|
+
const classes = useUtilityClasses$8(ownerState);
|
|
11972
12057
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
11973
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends
|
|
12058
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11974
12059
|
in: open,
|
|
11975
12060
|
timeout: transitionDuration
|
|
11976
12061
|
}, other, {
|
|
11977
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends
|
|
12062
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends({
|
|
11978
12063
|
"aria-hidden": true
|
|
11979
12064
|
}, rootSlotProps, {
|
|
11980
12065
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
11981
12066
|
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
11982
|
-
ownerState: _extends
|
|
12067
|
+
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
11983
12068
|
classes: classes,
|
|
11984
12069
|
ref: ref,
|
|
11985
12070
|
children: children
|
|
@@ -12084,7 +12169,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
12084
12169
|
} : void 0;
|
|
12085
12170
|
var Backdrop$1 = Backdrop;
|
|
12086
12171
|
|
|
12087
|
-
const _excluded$
|
|
12172
|
+
const _excluded$d = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
|
|
12088
12173
|
const ModalRoot = styled$1('div', {
|
|
12089
12174
|
name: 'MuiModal',
|
|
12090
12175
|
slot: 'Root',
|
|
@@ -12097,7 +12182,7 @@ const ModalRoot = styled$1('div', {
|
|
|
12097
12182
|
})(({
|
|
12098
12183
|
theme,
|
|
12099
12184
|
ownerState
|
|
12100
|
-
}) => _extends
|
|
12185
|
+
}) => _extends({
|
|
12101
12186
|
position: 'fixed',
|
|
12102
12187
|
zIndex: (theme.vars || theme).zIndex.modal,
|
|
12103
12188
|
right: 0,
|
|
@@ -12163,7 +12248,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
12163
12248
|
// eslint-disable-next-line react/prop-types
|
|
12164
12249
|
theme
|
|
12165
12250
|
} = props,
|
|
12166
|
-
other = _objectWithoutPropertiesLoose
|
|
12251
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$d);
|
|
12167
12252
|
const [exited, setExited] = React.useState(true);
|
|
12168
12253
|
const commonProps = {
|
|
12169
12254
|
container,
|
|
@@ -12180,26 +12265,26 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
12180
12265
|
onClose,
|
|
12181
12266
|
open
|
|
12182
12267
|
};
|
|
12183
|
-
const ownerState = _extends
|
|
12268
|
+
const ownerState = _extends({}, props, commonProps, {
|
|
12184
12269
|
exited
|
|
12185
12270
|
});
|
|
12186
12271
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
12187
12272
|
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
12188
12273
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
12189
12274
|
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
12190
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(ModalUnstyled, _extends
|
|
12275
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ModalUnstyled, _extends({
|
|
12191
12276
|
slots: {
|
|
12192
12277
|
root: RootSlot,
|
|
12193
12278
|
backdrop: BackdropSlot
|
|
12194
12279
|
},
|
|
12195
12280
|
slotProps: {
|
|
12196
|
-
root: () => _extends
|
|
12281
|
+
root: () => _extends({}, resolveComponentProps(rootSlotProps, ownerState), !isHostComponent(RootSlot) && {
|
|
12197
12282
|
as: component,
|
|
12198
12283
|
theme
|
|
12199
12284
|
}, {
|
|
12200
12285
|
className: clsx(className, rootSlotProps == null ? void 0 : rootSlotProps.className, classes == null ? void 0 : classes.root, !ownerState.open && ownerState.exited && (classes == null ? void 0 : classes.hidden))
|
|
12201
12286
|
}),
|
|
12202
|
-
backdrop: () => _extends
|
|
12287
|
+
backdrop: () => _extends({}, BackdropProps, resolveComponentProps(backdropSlotProps, ownerState), {
|
|
12203
12288
|
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop)
|
|
12204
12289
|
})
|
|
12205
12290
|
},
|
|
@@ -12382,13 +12467,150 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
|
|
|
12382
12467
|
} : void 0;
|
|
12383
12468
|
var Modal$1 = Modal;
|
|
12384
12469
|
|
|
12470
|
+
function getPaperUtilityClass(slot) {
|
|
12471
|
+
return generateUtilityClass('MuiPaper', slot);
|
|
12472
|
+
}
|
|
12473
|
+
generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
12474
|
+
|
|
12475
|
+
const _excluded$c = ["className", "component", "elevation", "square", "variant"];
|
|
12476
|
+
const useUtilityClasses$7 = ownerState => {
|
|
12477
|
+
const {
|
|
12478
|
+
square,
|
|
12479
|
+
elevation,
|
|
12480
|
+
variant,
|
|
12481
|
+
classes
|
|
12482
|
+
} = ownerState;
|
|
12483
|
+
const slots = {
|
|
12484
|
+
root: ['root', variant, !square && 'rounded', variant === 'elevation' && `elevation${elevation}`]
|
|
12485
|
+
};
|
|
12486
|
+
return composeClasses(slots, getPaperUtilityClass, classes);
|
|
12487
|
+
};
|
|
12488
|
+
const PaperRoot = styled$1('div', {
|
|
12489
|
+
name: 'MuiPaper',
|
|
12490
|
+
slot: 'Root',
|
|
12491
|
+
overridesResolver: (props, styles) => {
|
|
12492
|
+
const {
|
|
12493
|
+
ownerState
|
|
12494
|
+
} = props;
|
|
12495
|
+
return [styles.root, styles[ownerState.variant], !ownerState.square && styles.rounded, ownerState.variant === 'elevation' && styles[`elevation${ownerState.elevation}`]];
|
|
12496
|
+
}
|
|
12497
|
+
})(({
|
|
12498
|
+
theme,
|
|
12499
|
+
ownerState
|
|
12500
|
+
}) => {
|
|
12501
|
+
var _theme$vars$overlays;
|
|
12502
|
+
return _extends({
|
|
12503
|
+
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
12504
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
12505
|
+
transition: theme.transitions.create('box-shadow')
|
|
12506
|
+
}, !ownerState.square && {
|
|
12507
|
+
borderRadius: theme.shape.borderRadius
|
|
12508
|
+
}, ownerState.variant === 'outlined' && {
|
|
12509
|
+
border: `1px solid ${(theme.vars || theme).palette.divider}`
|
|
12510
|
+
}, ownerState.variant === 'elevation' && _extends({
|
|
12511
|
+
boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
|
|
12512
|
+
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
12513
|
+
backgroundImage: `linear-gradient(${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))}, ${alpha('#fff', getOverlayAlpha$1(ownerState.elevation))})`
|
|
12514
|
+
}, theme.vars && {
|
|
12515
|
+
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
|
|
12516
|
+
}));
|
|
12517
|
+
});
|
|
12518
|
+
const Paper = /*#__PURE__*/React.forwardRef(function Paper(inProps, ref) {
|
|
12519
|
+
const props = useThemeProps({
|
|
12520
|
+
props: inProps,
|
|
12521
|
+
name: 'MuiPaper'
|
|
12522
|
+
});
|
|
12523
|
+
const {
|
|
12524
|
+
className,
|
|
12525
|
+
component = 'div',
|
|
12526
|
+
elevation = 1,
|
|
12527
|
+
square = false,
|
|
12528
|
+
variant = 'elevation'
|
|
12529
|
+
} = props,
|
|
12530
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$c);
|
|
12531
|
+
const ownerState = _extends({}, props, {
|
|
12532
|
+
component,
|
|
12533
|
+
elevation,
|
|
12534
|
+
square,
|
|
12535
|
+
variant
|
|
12536
|
+
});
|
|
12537
|
+
const classes = useUtilityClasses$7(ownerState);
|
|
12538
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
12539
|
+
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
12540
|
+
const theme = useTheme();
|
|
12541
|
+
if (theme.shadows[elevation] === undefined) {
|
|
12542
|
+
console.error([`MUI: The elevation provided <Paper elevation={${elevation}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${elevation}]\` is defined.`].join('\n'));
|
|
12543
|
+
}
|
|
12544
|
+
}
|
|
12545
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(PaperRoot, _extends({
|
|
12546
|
+
as: component,
|
|
12547
|
+
ownerState: ownerState,
|
|
12548
|
+
className: clsx(classes.root, className),
|
|
12549
|
+
ref: ref
|
|
12550
|
+
}, other));
|
|
12551
|
+
});
|
|
12552
|
+
process.env.NODE_ENV !== "production" ? Paper.propTypes /* remove-proptypes */ = {
|
|
12553
|
+
// ----------------------------- Warning --------------------------------
|
|
12554
|
+
// | These PropTypes are generated from the TypeScript type definitions |
|
|
12555
|
+
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
12556
|
+
// ----------------------------------------------------------------------
|
|
12557
|
+
/**
|
|
12558
|
+
* The content of the component.
|
|
12559
|
+
*/
|
|
12560
|
+
children: propTypesExports.node,
|
|
12561
|
+
/**
|
|
12562
|
+
* Override or extend the styles applied to the component.
|
|
12563
|
+
*/
|
|
12564
|
+
classes: propTypesExports.object,
|
|
12565
|
+
/**
|
|
12566
|
+
* @ignore
|
|
12567
|
+
*/
|
|
12568
|
+
className: propTypesExports.string,
|
|
12569
|
+
/**
|
|
12570
|
+
* The component used for the root node.
|
|
12571
|
+
* Either a string to use a HTML element or a component.
|
|
12572
|
+
*/
|
|
12573
|
+
component: propTypesExports.elementType,
|
|
12574
|
+
/**
|
|
12575
|
+
* Shadow depth, corresponds to `dp` in the spec.
|
|
12576
|
+
* It accepts values between 0 and 24 inclusive.
|
|
12577
|
+
* @default 1
|
|
12578
|
+
*/
|
|
12579
|
+
elevation: chainPropTypes(integerPropType, props => {
|
|
12580
|
+
const {
|
|
12581
|
+
elevation,
|
|
12582
|
+
variant
|
|
12583
|
+
} = props;
|
|
12584
|
+
if (elevation > 0 && variant === 'outlined') {
|
|
12585
|
+
return new Error(`MUI: Combining \`elevation={${elevation}}\` with \`variant="${variant}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`);
|
|
12586
|
+
}
|
|
12587
|
+
return null;
|
|
12588
|
+
}),
|
|
12589
|
+
/**
|
|
12590
|
+
* If `true`, rounded corners are disabled.
|
|
12591
|
+
* @default false
|
|
12592
|
+
*/
|
|
12593
|
+
square: propTypesExports.bool,
|
|
12594
|
+
/**
|
|
12595
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
12596
|
+
*/
|
|
12597
|
+
sx: propTypesExports.oneOfType([propTypesExports.arrayOf(propTypesExports.oneOfType([propTypesExports.func, propTypesExports.object, propTypesExports.bool])), propTypesExports.func, propTypesExports.object]),
|
|
12598
|
+
/**
|
|
12599
|
+
* The variant to use.
|
|
12600
|
+
* @default 'elevation'
|
|
12601
|
+
*/
|
|
12602
|
+
variant: propTypesExports /* @typescript-to-proptypes-ignore */.oneOfType([propTypesExports.oneOf(['elevation', 'outlined']), propTypesExports.string])
|
|
12603
|
+
} : void 0;
|
|
12604
|
+
var PaperBase = Paper;
|
|
12605
|
+
|
|
12385
12606
|
function getPopoverUtilityClass(slot) {
|
|
12386
12607
|
return generateUtilityClass('MuiPopover', slot);
|
|
12387
12608
|
}
|
|
12388
12609
|
generateUtilityClasses('MuiPopover', ['root', 'paper']);
|
|
12389
12610
|
|
|
12390
|
-
const _excluded$
|
|
12391
|
-
_excluded2$
|
|
12611
|
+
const _excluded$b = ["onEntering"],
|
|
12612
|
+
_excluded2$1 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"],
|
|
12613
|
+
_excluded3 = ["slotProps"];
|
|
12392
12614
|
function getOffsetTop(rect, vertical) {
|
|
12393
12615
|
let offset = 0;
|
|
12394
12616
|
if (typeof vertical === 'number') {
|
|
@@ -12432,7 +12654,7 @@ const PopoverRoot = styled$1(Modal$1, {
|
|
|
12432
12654
|
slot: 'Root',
|
|
12433
12655
|
overridesResolver: (props, styles) => styles.root
|
|
12434
12656
|
})({});
|
|
12435
|
-
const PopoverPaper = styled$1(
|
|
12657
|
+
const PopoverPaper = styled$1(PaperBase, {
|
|
12436
12658
|
name: 'MuiPopover',
|
|
12437
12659
|
slot: 'Paper',
|
|
12438
12660
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -12450,6 +12672,7 @@ const PopoverPaper = styled$1(Paper$1, {
|
|
|
12450
12672
|
outline: 0
|
|
12451
12673
|
});
|
|
12452
12674
|
const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
12675
|
+
var _slotProps$paper, _slots$root, _slots$paper;
|
|
12453
12676
|
const props = useThemeProps({
|
|
12454
12677
|
props: inProps,
|
|
12455
12678
|
name: 'MuiPopover'
|
|
@@ -12469,7 +12692,9 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12469
12692
|
elevation = 8,
|
|
12470
12693
|
marginThreshold = 16,
|
|
12471
12694
|
open,
|
|
12472
|
-
PaperProps = {},
|
|
12695
|
+
PaperProps: PaperPropsProp = {},
|
|
12696
|
+
slots,
|
|
12697
|
+
slotProps,
|
|
12473
12698
|
transformOrigin = {
|
|
12474
12699
|
vertical: 'top',
|
|
12475
12700
|
horizontal: 'left'
|
|
@@ -12480,16 +12705,17 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12480
12705
|
onEntering
|
|
12481
12706
|
} = {}
|
|
12482
12707
|
} = props,
|
|
12483
|
-
TransitionProps = _objectWithoutPropertiesLoose
|
|
12484
|
-
other = _objectWithoutPropertiesLoose
|
|
12708
|
+
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$b),
|
|
12709
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2$1);
|
|
12710
|
+
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
12485
12711
|
const paperRef = React.useRef();
|
|
12486
|
-
const handlePaperRef = useForkRef(paperRef,
|
|
12487
|
-
const ownerState = _extends
|
|
12712
|
+
const handlePaperRef = useForkRef(paperRef, externalPaperSlotProps.ref);
|
|
12713
|
+
const ownerState = _extends({}, props, {
|
|
12488
12714
|
anchorOrigin,
|
|
12489
12715
|
anchorReference,
|
|
12490
12716
|
elevation,
|
|
12491
12717
|
marginThreshold,
|
|
12492
|
-
|
|
12718
|
+
externalPaperSlotProps,
|
|
12493
12719
|
transformOrigin,
|
|
12494
12720
|
TransitionComponent,
|
|
12495
12721
|
transitionDuration: transitionDurationProp,
|
|
@@ -12654,34 +12880,54 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12654
12880
|
// If the anchorEl prop is provided, use its parent body element as the container
|
|
12655
12881
|
// If neither are provided let the Modal take care of choosing the container
|
|
12656
12882
|
const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12883
|
+
const RootSlot = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : PopoverRoot;
|
|
12884
|
+
const PaperSlot = (_slots$paper = slots == null ? void 0 : slots.paper) != null ? _slots$paper : PopoverPaper;
|
|
12885
|
+
const paperProps = useSlotProps({
|
|
12886
|
+
elementType: PaperSlot,
|
|
12887
|
+
externalSlotProps: _extends({}, externalPaperSlotProps, {
|
|
12888
|
+
style: isPositioned ? externalPaperSlotProps.style : _extends({}, externalPaperSlotProps.style, {
|
|
12889
|
+
opacity: 0
|
|
12890
|
+
})
|
|
12891
|
+
}),
|
|
12892
|
+
additionalProps: {
|
|
12893
|
+
elevation,
|
|
12894
|
+
ref: handlePaperRef
|
|
12660
12895
|
},
|
|
12661
|
-
|
|
12662
|
-
|
|
12663
|
-
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
|
|
12667
|
-
|
|
12896
|
+
ownerState,
|
|
12897
|
+
className: clsx(classes.paper, externalPaperSlotProps == null ? void 0 : externalPaperSlotProps.className)
|
|
12898
|
+
});
|
|
12899
|
+
const _useSlotProps = useSlotProps({
|
|
12900
|
+
elementType: RootSlot,
|
|
12901
|
+
externalSlotProps: (slotProps == null ? void 0 : slotProps.root) || {},
|
|
12902
|
+
externalForwardedProps: other,
|
|
12903
|
+
additionalProps: {
|
|
12904
|
+
ref,
|
|
12905
|
+
slotProps: {
|
|
12906
|
+
backdrop: {
|
|
12907
|
+
invisible: true
|
|
12908
|
+
}
|
|
12909
|
+
},
|
|
12910
|
+
container,
|
|
12911
|
+
open
|
|
12912
|
+
},
|
|
12913
|
+
ownerState,
|
|
12914
|
+
className: clsx(classes.root, className)
|
|
12915
|
+
}),
|
|
12916
|
+
{
|
|
12917
|
+
slotProps: rootSlotPropsProp
|
|
12918
|
+
} = _useSlotProps,
|
|
12919
|
+
rootProps = _objectWithoutPropertiesLoose(_useSlotProps, _excluded3);
|
|
12920
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(RootSlot, _extends({}, rootProps, !isHostComponent(RootSlot) && {
|
|
12921
|
+
slotProps: rootSlotPropsProp
|
|
12922
|
+
}, {
|
|
12923
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
12668
12924
|
appear: true,
|
|
12669
12925
|
in: open,
|
|
12670
12926
|
onEntering: handleEntering,
|
|
12671
12927
|
onExited: handleExited,
|
|
12672
12928
|
timeout: transitionDuration
|
|
12673
12929
|
}, TransitionProps, {
|
|
12674
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(
|
|
12675
|
-
elevation: elevation
|
|
12676
|
-
}, PaperProps, {
|
|
12677
|
-
ref: handlePaperRef,
|
|
12678
|
-
className: clsx(classes.paper, PaperProps.className)
|
|
12679
|
-
}, isPositioned ? undefined : {
|
|
12680
|
-
style: _extends$1({}, PaperProps.style, {
|
|
12681
|
-
opacity: 0
|
|
12682
|
-
})
|
|
12683
|
-
}, {
|
|
12684
|
-
ownerState: ownerState,
|
|
12930
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(PaperSlot, _extends({}, paperProps, {
|
|
12685
12931
|
children: children
|
|
12686
12932
|
}))
|
|
12687
12933
|
}))
|
|
@@ -12787,11 +13033,34 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
12787
13033
|
open: propTypesExports.bool.isRequired,
|
|
12788
13034
|
/**
|
|
12789
13035
|
* Props applied to the [`Paper`](/material-ui/api/paper/) element.
|
|
13036
|
+
*
|
|
13037
|
+
* This prop is an alias for `slotProps.paper` and will be overriden by it if both are used.
|
|
13038
|
+
* @deprecated Use `slotProps.paper` instead.
|
|
13039
|
+
*
|
|
12790
13040
|
* @default {}
|
|
12791
13041
|
*/
|
|
12792
13042
|
PaperProps: propTypesExports /* @typescript-to-proptypes-ignore */.shape({
|
|
12793
13043
|
component: elementTypeAcceptingRef$1
|
|
12794
13044
|
}),
|
|
13045
|
+
/**
|
|
13046
|
+
* The extra props for the slot components.
|
|
13047
|
+
* You can override the existing props or add new ones.
|
|
13048
|
+
*
|
|
13049
|
+
* @default {}
|
|
13050
|
+
*/
|
|
13051
|
+
slotProps: propTypesExports.shape({
|
|
13052
|
+
paper: propTypesExports.oneOfType([propTypesExports.func, propTypesExports.object]),
|
|
13053
|
+
root: propTypesExports.oneOfType([propTypesExports.func, propTypesExports.object])
|
|
13054
|
+
}),
|
|
13055
|
+
/**
|
|
13056
|
+
* The components used for each slot inside.
|
|
13057
|
+
*
|
|
13058
|
+
* @default {}
|
|
13059
|
+
*/
|
|
13060
|
+
slots: propTypesExports.shape({
|
|
13061
|
+
paper: propTypesExports.elementType,
|
|
13062
|
+
root: propTypesExports.elementType
|
|
13063
|
+
}),
|
|
12795
13064
|
/**
|
|
12796
13065
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
12797
13066
|
*/
|
|
@@ -12841,8 +13110,8 @@ function getMenuUtilityClass(slot) {
|
|
|
12841
13110
|
}
|
|
12842
13111
|
generateUtilityClasses('MuiMenu', ['root', 'paper', 'list']);
|
|
12843
13112
|
|
|
12844
|
-
const _excluded$
|
|
12845
|
-
_excluded2
|
|
13113
|
+
const _excluded$a = ["onEntering"],
|
|
13114
|
+
_excluded2 = ["autoFocus", "children", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant"];
|
|
12846
13115
|
const RTL_ORIGIN = {
|
|
12847
13116
|
vertical: 'top',
|
|
12848
13117
|
horizontal: 'right'
|
|
@@ -12868,7 +13137,7 @@ const MenuRoot = styled$1(Popover$1, {
|
|
|
12868
13137
|
slot: 'Root',
|
|
12869
13138
|
overridesResolver: (props, styles) => styles.root
|
|
12870
13139
|
})({});
|
|
12871
|
-
const MenuPaper = styled$1(
|
|
13140
|
+
const MenuPaper = styled$1(PopoverPaper, {
|
|
12872
13141
|
name: 'MuiMenu',
|
|
12873
13142
|
slot: 'Paper',
|
|
12874
13143
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -12908,11 +13177,11 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
|
12908
13177
|
} = {},
|
|
12909
13178
|
variant = 'selectedMenu'
|
|
12910
13179
|
} = props,
|
|
12911
|
-
TransitionProps = _objectWithoutPropertiesLoose
|
|
12912
|
-
other = _objectWithoutPropertiesLoose
|
|
13180
|
+
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$a),
|
|
13181
|
+
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
12913
13182
|
const theme = useTheme();
|
|
12914
13183
|
const isRtl = theme.direction === 'rtl';
|
|
12915
|
-
const ownerState = _extends
|
|
13184
|
+
const ownerState = _extends({}, props, {
|
|
12916
13185
|
autoFocus,
|
|
12917
13186
|
disableAutoFocusItem,
|
|
12918
13187
|
MenuListProps,
|
|
@@ -12968,31 +13237,34 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
|
12968
13237
|
}
|
|
12969
13238
|
}
|
|
12970
13239
|
});
|
|
12971
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(MenuRoot, _extends
|
|
13240
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(MenuRoot, _extends({
|
|
12972
13241
|
onClose: onClose,
|
|
12973
13242
|
anchorOrigin: {
|
|
12974
13243
|
vertical: 'bottom',
|
|
12975
13244
|
horizontal: isRtl ? 'right' : 'left'
|
|
12976
13245
|
},
|
|
12977
13246
|
transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
},
|
|
12981
|
-
|
|
12982
|
-
|
|
13247
|
+
slots: {
|
|
13248
|
+
paper: MenuPaper
|
|
13249
|
+
},
|
|
13250
|
+
slotProps: {
|
|
13251
|
+
paper: _extends({}, PaperProps, {
|
|
13252
|
+
classes: _extends({}, PaperProps.classes, {
|
|
13253
|
+
root: classes.paper
|
|
13254
|
+
})
|
|
12983
13255
|
})
|
|
12984
|
-
}
|
|
13256
|
+
},
|
|
12985
13257
|
className: classes.root,
|
|
12986
13258
|
open: open,
|
|
12987
13259
|
ref: ref,
|
|
12988
13260
|
transitionDuration: transitionDuration,
|
|
12989
|
-
TransitionProps: _extends
|
|
13261
|
+
TransitionProps: _extends({
|
|
12990
13262
|
onEntering: handleEntering
|
|
12991
13263
|
}, TransitionProps),
|
|
12992
13264
|
ownerState: ownerState
|
|
12993
13265
|
}, other, {
|
|
12994
13266
|
classes: PopoverClasses,
|
|
12995
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuMenuList, _extends
|
|
13267
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuMenuList, _extends({
|
|
12996
13268
|
onKeyDown: handleListKeyDown,
|
|
12997
13269
|
actions: menuListActionsRef,
|
|
12998
13270
|
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
|
@@ -13095,7 +13367,7 @@ function getNativeSelectUtilityClasses(slot) {
|
|
|
13095
13367
|
const nativeSelectClasses = generateUtilityClasses('MuiNativeSelect', ['root', 'select', 'multiple', 'filled', 'outlined', 'standard', 'disabled', 'icon', 'iconOpen', 'iconFilled', 'iconOutlined', 'iconStandard', 'nativeInput', 'error']);
|
|
13096
13368
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
13097
13369
|
|
|
13098
|
-
const _excluded$
|
|
13370
|
+
const _excluded$9 = ["className", "disabled", "error", "IconComponent", "inputRef", "variant"];
|
|
13099
13371
|
const useUtilityClasses$4 = ownerState => {
|
|
13100
13372
|
const {
|
|
13101
13373
|
classes,
|
|
@@ -13114,7 +13386,7 @@ const useUtilityClasses$4 = ownerState => {
|
|
|
13114
13386
|
const nativeSelectSelectStyles = ({
|
|
13115
13387
|
ownerState,
|
|
13116
13388
|
theme
|
|
13117
|
-
}) => _extends
|
|
13389
|
+
}) => _extends({
|
|
13118
13390
|
MozAppearance: 'none',
|
|
13119
13391
|
// Reset
|
|
13120
13392
|
WebkitAppearance: 'none',
|
|
@@ -13125,7 +13397,7 @@ const nativeSelectSelectStyles = ({
|
|
|
13125
13397
|
borderRadius: 0,
|
|
13126
13398
|
// Reset
|
|
13127
13399
|
cursor: 'pointer',
|
|
13128
|
-
'&:focus': _extends
|
|
13400
|
+
'&:focus': _extends({}, theme.vars ? {
|
|
13129
13401
|
backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`
|
|
13130
13402
|
} : {
|
|
13131
13403
|
backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'
|
|
@@ -13181,7 +13453,7 @@ const NativeSelectSelect = styled$1('select', {
|
|
|
13181
13453
|
const nativeSelectIconStyles = ({
|
|
13182
13454
|
ownerState,
|
|
13183
13455
|
theme
|
|
13184
|
-
}) => _extends
|
|
13456
|
+
}) => _extends({
|
|
13185
13457
|
// We use a position absolute over a flexbox in order to forward the pointer events
|
|
13186
13458
|
// to the input and to support wrapping tags..
|
|
13187
13459
|
position: 'absolute',
|
|
@@ -13224,15 +13496,15 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
|
|
|
13224
13496
|
inputRef,
|
|
13225
13497
|
variant = 'standard'
|
|
13226
13498
|
} = props,
|
|
13227
|
-
other = _objectWithoutPropertiesLoose
|
|
13228
|
-
const ownerState = _extends
|
|
13499
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$9);
|
|
13500
|
+
const ownerState = _extends({}, props, {
|
|
13229
13501
|
disabled,
|
|
13230
13502
|
variant,
|
|
13231
13503
|
error
|
|
13232
13504
|
});
|
|
13233
13505
|
const classes = useUtilityClasses$4(ownerState);
|
|
13234
13506
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
13235
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends
|
|
13507
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends({
|
|
13236
13508
|
ownerState: ownerState,
|
|
13237
13509
|
className: clsx(classes.select, className),
|
|
13238
13510
|
disabled: disabled,
|
|
@@ -13309,7 +13581,7 @@ const selectClasses = generateUtilityClasses('MuiSelect', ['select', 'multiple',
|
|
|
13309
13581
|
var selectClasses$1 = selectClasses;
|
|
13310
13582
|
|
|
13311
13583
|
var _span;
|
|
13312
|
-
const _excluded$
|
|
13584
|
+
const _excluded$8 = ["aria-describedby", "aria-label", "autoFocus", "autoWidth", "children", "className", "defaultOpen", "defaultValue", "disabled", "displayEmpty", "error", "IconComponent", "inputRef", "labelId", "MenuProps", "multiple", "name", "onBlur", "onChange", "onClose", "onFocus", "onOpen", "open", "readOnly", "renderValue", "SelectDisplayProps", "tabIndex", "type", "value", "variant"];
|
|
13313
13585
|
const SelectSelect = styled$1('div', {
|
|
13314
13586
|
name: 'MuiSelect',
|
|
13315
13587
|
slot: 'Select',
|
|
@@ -13431,7 +13703,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13431
13703
|
value: valueProp,
|
|
13432
13704
|
variant = 'standard'
|
|
13433
13705
|
} = props,
|
|
13434
|
-
other = _objectWithoutPropertiesLoose
|
|
13706
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$8);
|
|
13435
13707
|
const [value, setValueState] = useControlled({
|
|
13436
13708
|
controlled: valueProp,
|
|
13437
13709
|
default: defaultValue,
|
|
@@ -13713,7 +13985,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13713
13985
|
tabIndex = disabled ? null : 0;
|
|
13714
13986
|
}
|
|
13715
13987
|
const buttonId = SelectDisplayProps.id || (name ? `mui-component-select-${name}` : undefined);
|
|
13716
|
-
const ownerState = _extends
|
|
13988
|
+
const ownerState = _extends({}, props, {
|
|
13717
13989
|
variant,
|
|
13718
13990
|
value,
|
|
13719
13991
|
open,
|
|
@@ -13721,7 +13993,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13721
13993
|
});
|
|
13722
13994
|
const classes = useUtilityClasses$3(ownerState);
|
|
13723
13995
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
13724
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SelectSelect, _extends
|
|
13996
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SelectSelect, _extends({
|
|
13725
13997
|
ref: handleDisplayRef,
|
|
13726
13998
|
tabIndex: tabIndex,
|
|
13727
13999
|
role: "button",
|
|
@@ -13746,7 +14018,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13746
14018
|
className: "notranslate",
|
|
13747
14019
|
children: "\u200B"
|
|
13748
14020
|
})) : display
|
|
13749
|
-
})), /*#__PURE__*/jsxRuntimeExports.jsx(SelectNativeInput, _extends
|
|
14021
|
+
})), /*#__PURE__*/jsxRuntimeExports.jsx(SelectNativeInput, _extends({
|
|
13750
14022
|
"aria-invalid": error,
|
|
13751
14023
|
value: Array.isArray(value) ? value.join(',') : value,
|
|
13752
14024
|
name: name,
|
|
@@ -13762,7 +14034,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13762
14034
|
as: IconComponent,
|
|
13763
14035
|
className: classes.icon,
|
|
13764
14036
|
ownerState: ownerState
|
|
13765
|
-
}), /*#__PURE__*/jsxRuntimeExports.jsx(Menu$1, _extends
|
|
14037
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx(Menu$1, _extends({
|
|
13766
14038
|
id: `menu-${name || ''}`,
|
|
13767
14039
|
anchorEl: anchorElement,
|
|
13768
14040
|
open: open,
|
|
@@ -13776,13 +14048,13 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13776
14048
|
horizontal: 'center'
|
|
13777
14049
|
}
|
|
13778
14050
|
}, MenuProps, {
|
|
13779
|
-
MenuListProps: _extends
|
|
14051
|
+
MenuListProps: _extends({
|
|
13780
14052
|
'aria-labelledby': labelId,
|
|
13781
14053
|
role: 'listbox',
|
|
13782
14054
|
disableListWrap: true
|
|
13783
14055
|
}, MenuProps.MenuListProps),
|
|
13784
|
-
PaperProps: _extends
|
|
13785
|
-
style: _extends
|
|
14056
|
+
PaperProps: _extends({}, MenuProps.PaperProps, {
|
|
14057
|
+
style: _extends({
|
|
13786
14058
|
minWidth: menuMinWidth
|
|
13787
14059
|
}, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
|
|
13788
14060
|
}),
|
|
@@ -13942,7 +14214,7 @@ function getSvgIconUtilityClass(slot) {
|
|
|
13942
14214
|
}
|
|
13943
14215
|
generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
13944
14216
|
|
|
13945
|
-
const _excluded$
|
|
14217
|
+
const _excluded$7 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
13946
14218
|
const useUtilityClasses$2 = ownerState => {
|
|
13947
14219
|
const {
|
|
13948
14220
|
color,
|
|
@@ -14008,8 +14280,8 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
14008
14280
|
titleAccess,
|
|
14009
14281
|
viewBox = '0 0 24 24'
|
|
14010
14282
|
} = props,
|
|
14011
|
-
other = _objectWithoutPropertiesLoose
|
|
14012
|
-
const ownerState = _extends
|
|
14283
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$7);
|
|
14284
|
+
const ownerState = _extends({}, props, {
|
|
14013
14285
|
color,
|
|
14014
14286
|
component,
|
|
14015
14287
|
fontSize,
|
|
@@ -14022,7 +14294,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
14022
14294
|
more.viewBox = viewBox;
|
|
14023
14295
|
}
|
|
14024
14296
|
const classes = useUtilityClasses$2(ownerState);
|
|
14025
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends
|
|
14297
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends({
|
|
14026
14298
|
as: component,
|
|
14027
14299
|
className: clsx(classes.root, className),
|
|
14028
14300
|
focusable: "false",
|
|
@@ -14114,7 +14386,7 @@ var SvgIcon$1 = SvgIcon;
|
|
|
14114
14386
|
|
|
14115
14387
|
function createSvgIcon(path, displayName) {
|
|
14116
14388
|
function Component(props, ref) {
|
|
14117
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$1, _extends
|
|
14389
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$1, _extends({
|
|
14118
14390
|
"data-testid": `${displayName}Icon`,
|
|
14119
14391
|
ref: ref
|
|
14120
14392
|
}, props, {
|
|
@@ -14134,7 +14406,7 @@ var ArrowDropDownIcon = createSvgIcon( /*#__PURE__*/jsxRuntimeExports.jsx("path"
|
|
|
14134
14406
|
d: "M7 10l5 5 5-5z"
|
|
14135
14407
|
}), 'ArrowDropDown');
|
|
14136
14408
|
|
|
14137
|
-
const _excluded$
|
|
14409
|
+
const _excluded$6 = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
14138
14410
|
const useUtilityClasses$1 = ownerState => {
|
|
14139
14411
|
const {
|
|
14140
14412
|
classes
|
|
@@ -14178,7 +14450,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14178
14450
|
SelectDisplayProps,
|
|
14179
14451
|
variant: variantProp = 'outlined'
|
|
14180
14452
|
} = props,
|
|
14181
|
-
other = _objectWithoutPropertiesLoose
|
|
14453
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$6);
|
|
14182
14454
|
const inputComponent = native ? NativeSelectInput$1 : SelectInput$1;
|
|
14183
14455
|
const muiFormControl = useFormControl();
|
|
14184
14456
|
const fcs = formControlState({
|
|
@@ -14187,7 +14459,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14187
14459
|
states: ['variant', 'error']
|
|
14188
14460
|
});
|
|
14189
14461
|
const variant = fcs.variant || variantProp;
|
|
14190
|
-
const ownerState = _extends
|
|
14462
|
+
const ownerState = _extends({}, props, {
|
|
14191
14463
|
variant,
|
|
14192
14464
|
classes: classesProp
|
|
14193
14465
|
});
|
|
@@ -14206,11 +14478,11 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14206
14478
|
}[variant];
|
|
14207
14479
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
14208
14480
|
return /*#__PURE__*/jsxRuntimeExports.jsx(React.Fragment, {
|
|
14209
|
-
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends
|
|
14481
|
+
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends({
|
|
14210
14482
|
// Most of the logic is implemented in `SelectInput`.
|
|
14211
14483
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
14212
14484
|
inputComponent,
|
|
14213
|
-
inputProps: _extends
|
|
14485
|
+
inputProps: _extends({
|
|
14214
14486
|
children,
|
|
14215
14487
|
error: fcs.error,
|
|
14216
14488
|
IconComponent,
|
|
@@ -14230,7 +14502,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14230
14502
|
onOpen,
|
|
14231
14503
|
open,
|
|
14232
14504
|
renderValue,
|
|
14233
|
-
SelectDisplayProps: _extends
|
|
14505
|
+
SelectDisplayProps: _extends({
|
|
14234
14506
|
id
|
|
14235
14507
|
}, SelectDisplayProps)
|
|
14236
14508
|
}, inputProps, {
|
|
@@ -14401,7 +14673,7 @@ function getTextFieldUtilityClass(slot) {
|
|
|
14401
14673
|
}
|
|
14402
14674
|
generateUtilityClasses('MuiTextField', ['root']);
|
|
14403
14675
|
|
|
14404
|
-
const _excluded$
|
|
14676
|
+
const _excluded$5 = ["autoComplete", "autoFocus", "children", "className", "color", "defaultValue", "disabled", "error", "FormHelperTextProps", "fullWidth", "helperText", "id", "InputLabelProps", "inputProps", "InputProps", "inputRef", "label", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "placeholder", "required", "rows", "select", "SelectProps", "type", "value", "variant"];
|
|
14405
14677
|
const variantComponent = {
|
|
14406
14678
|
standard: Input$1,
|
|
14407
14679
|
filled: FilledInput$1,
|
|
@@ -14494,8 +14766,8 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14494
14766
|
value,
|
|
14495
14767
|
variant = 'outlined'
|
|
14496
14768
|
} = props,
|
|
14497
|
-
other = _objectWithoutPropertiesLoose
|
|
14498
|
-
const ownerState = _extends
|
|
14769
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$5);
|
|
14770
|
+
const ownerState = _extends({}, props, {
|
|
14499
14771
|
autoFocus,
|
|
14500
14772
|
color,
|
|
14501
14773
|
disabled,
|
|
@@ -14530,7 +14802,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14530
14802
|
const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
|
|
14531
14803
|
const inputLabelId = label && id ? `${id}-label` : undefined;
|
|
14532
14804
|
const InputComponent = variantComponent[variant];
|
|
14533
|
-
const InputElement = /*#__PURE__*/jsxRuntimeExports.jsx(InputComponent, _extends
|
|
14805
|
+
const InputElement = /*#__PURE__*/jsxRuntimeExports.jsx(InputComponent, _extends({
|
|
14534
14806
|
"aria-describedby": helperTextId,
|
|
14535
14807
|
autoComplete: autoComplete,
|
|
14536
14808
|
autoFocus: autoFocus,
|
|
@@ -14552,7 +14824,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14552
14824
|
placeholder: placeholder,
|
|
14553
14825
|
inputProps: inputProps
|
|
14554
14826
|
}, InputMore, InputProps));
|
|
14555
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(TextFieldRoot, _extends
|
|
14827
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(TextFieldRoot, _extends({
|
|
14556
14828
|
className: clsx(classes.root, className),
|
|
14557
14829
|
disabled: disabled,
|
|
14558
14830
|
error: error,
|
|
@@ -14563,12 +14835,12 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14563
14835
|
variant: variant,
|
|
14564
14836
|
ownerState: ownerState
|
|
14565
14837
|
}, other, {
|
|
14566
|
-
children: [label != null && label !== '' && /*#__PURE__*/jsxRuntimeExports.jsx(InputLabel$1, _extends
|
|
14838
|
+
children: [label != null && label !== '' && /*#__PURE__*/jsxRuntimeExports.jsx(InputLabel$1, _extends({
|
|
14567
14839
|
htmlFor: id,
|
|
14568
14840
|
id: inputLabelId
|
|
14569
14841
|
}, InputLabelProps, {
|
|
14570
14842
|
children: label
|
|
14571
|
-
})), select ? /*#__PURE__*/jsxRuntimeExports.jsx(Select$1, _extends
|
|
14843
|
+
})), select ? /*#__PURE__*/jsxRuntimeExports.jsx(Select$1, _extends({
|
|
14572
14844
|
"aria-describedby": helperTextId,
|
|
14573
14845
|
id: id,
|
|
14574
14846
|
labelId: inputLabelId,
|
|
@@ -14576,7 +14848,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14576
14848
|
input: InputElement
|
|
14577
14849
|
}, SelectProps, {
|
|
14578
14850
|
children: children
|
|
14579
|
-
})) : InputElement, helperText && /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperText$1, _extends
|
|
14851
|
+
})) : InputElement, helperText && /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperText$1, _extends({
|
|
14580
14852
|
id: helperTextId
|
|
14581
14853
|
}, FormHelperTextProps, {
|
|
14582
14854
|
children: helperText
|
|
@@ -15040,14 +15312,14 @@ const StyledDataGrid = styled$3.div`
|
|
|
15040
15312
|
width: 100%;
|
|
15041
15313
|
|
|
15042
15314
|
.MuiDataGrid-root {
|
|
15043
|
-
font-family: var(--redsift-typography-datagrid-font-family);
|
|
15315
|
+
font-family: var(--redsift-typography-datagrid-header-font-family);
|
|
15044
15316
|
border: none;
|
|
15045
15317
|
}
|
|
15046
15318
|
|
|
15047
15319
|
.MuiDataGrid-row {
|
|
15048
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15049
|
-
font-size: var(--redsift-typography-datagrid-
|
|
15050
|
-
font-weight: var(--redsift-typography-datagrid-
|
|
15320
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15321
|
+
font-size: var(--redsift-typography-datagrid-cell-font-size);
|
|
15322
|
+
font-weight: var(--redsift-typography-datagrid-cell-font-weight);
|
|
15051
15323
|
}
|
|
15052
15324
|
|
|
15053
15325
|
.MuiDataGrid-columnHeaderTitle {
|
|
@@ -15066,14 +15338,14 @@ const StyledDataGrid = styled$3.div`
|
|
|
15066
15338
|
|
|
15067
15339
|
.MuiTablePagination-root {
|
|
15068
15340
|
.MuiTablePagination-selectLabel {
|
|
15069
|
-
font-family: var(--redsift-typography-datagrid-font-family);
|
|
15341
|
+
font-family: var(--redsift-typography-datagrid-header-font-family);
|
|
15070
15342
|
}
|
|
15071
15343
|
.MuiTablePagination-displayedRows {
|
|
15072
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15344
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15073
15345
|
}
|
|
15074
15346
|
|
|
15075
15347
|
.MuiInputBase-root {
|
|
15076
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15348
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15077
15349
|
}
|
|
15078
15350
|
}
|
|
15079
15351
|
|
|
@@ -15082,15 +15354,15 @@ const StyledDataGrid = styled$3.div`
|
|
|
15082
15354
|
}
|
|
15083
15355
|
|
|
15084
15356
|
.MuiDataGrid-rowCount {
|
|
15085
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15357
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15086
15358
|
}
|
|
15087
15359
|
|
|
15088
15360
|
.MuiTablePagination-displayedRows {
|
|
15089
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15361
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15090
15362
|
}
|
|
15091
15363
|
|
|
15092
15364
|
.MuiBadge-standard {
|
|
15093
|
-
font-family: var(--redsift-typography-datagrid-
|
|
15365
|
+
font-family: var(--redsift-typography-datagrid-cell-font-family);
|
|
15094
15366
|
}
|
|
15095
15367
|
`;
|
|
15096
15368
|
|
|
@@ -15129,13 +15401,13 @@ const Toolbar = props => {
|
|
|
15129
15401
|
densityButtonProps,
|
|
15130
15402
|
densityButtonRef
|
|
15131
15403
|
} = props;
|
|
15132
|
-
return /*#__PURE__*/React__default.createElement(GridToolbarWrapper, null, /*#__PURE__*/React__default.createElement(GridToolbarContainer, null, /*#__PURE__*/React__default.createElement(Flexbox, null, hasFilterButton ? /*#__PURE__*/React__default.createElement(GridToolbarFilterButton, _extends$
|
|
15404
|
+
return /*#__PURE__*/React__default.createElement(GridToolbarWrapper, null, /*#__PURE__*/React__default.createElement(GridToolbarContainer, null, /*#__PURE__*/React__default.createElement(Flexbox, null, hasFilterButton ? /*#__PURE__*/React__default.createElement(GridToolbarFilterButton, _extends$2({}, filterButtonProps, {
|
|
15133
15405
|
ref: filterButtonRef
|
|
15134
|
-
})) : null, hasColumnsButton ? /*#__PURE__*/React__default.createElement(GridToolbarColumnsButton, _extends$
|
|
15406
|
+
})) : null, hasColumnsButton ? /*#__PURE__*/React__default.createElement(GridToolbarColumnsButton, _extends$2({}, columnsButtonProps, {
|
|
15135
15407
|
ref: columnsButtonRef
|
|
15136
|
-
})) : null, hasDensityButton ? /*#__PURE__*/React__default.createElement(GridToolbarDensitySelector, _extends$
|
|
15408
|
+
})) : null, hasDensityButton ? /*#__PURE__*/React__default.createElement(GridToolbarDensitySelector, _extends$2({}, densityButtonProps, {
|
|
15137
15409
|
ref: densityButtonRef
|
|
15138
|
-
})) : null, hasExportButton ? /*#__PURE__*/React__default.createElement(GridToolbarExport, _extends$
|
|
15410
|
+
})) : null, hasExportButton ? /*#__PURE__*/React__default.createElement(GridToolbarExport, _extends$2({
|
|
15139
15411
|
csvOptions: {
|
|
15140
15412
|
allColumns: true,
|
|
15141
15413
|
fileName: 'csv',
|
|
@@ -15154,35 +15426,76 @@ const Toolbar = props => {
|
|
|
15154
15426
|
})) : null)));
|
|
15155
15427
|
};
|
|
15156
15428
|
|
|
15157
|
-
const _excluded$
|
|
15158
|
-
|
|
15159
|
-
|
|
15429
|
+
const _excluded$4 = ["displayName", "fontSize"];
|
|
15430
|
+
const muiIconToDSIcon = {
|
|
15431
|
+
ColumnFilteredIcon: mdiFilterVariant,
|
|
15432
|
+
ColumnSelectorIcon: mdiViewColumn,
|
|
15433
|
+
ColumnSortedAscendingIcon: mdiChevronUp,
|
|
15434
|
+
ColumnSortedDescendingIcon: mdiChevronDown,
|
|
15435
|
+
DensityCompactIcon: mdiViewHeadline,
|
|
15436
|
+
DensityStandardIcon: mdiViewSequential,
|
|
15437
|
+
DensityComfortableIcon: mdiViewStream,
|
|
15438
|
+
DetailPanelCollapseIcon: mdiChevronDown,
|
|
15439
|
+
DetailPanelExpandIcon: mdiChevronRight,
|
|
15440
|
+
ExportIcon: mdiTrayArrowDown,
|
|
15441
|
+
OpenFilterButtonIcon: mdiFilterVariant
|
|
15442
|
+
};
|
|
15443
|
+
const BaseIcon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
15444
|
+
const {
|
|
15445
|
+
displayName,
|
|
15446
|
+
fontSize = 'small'
|
|
15447
|
+
} = props,
|
|
15448
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$4);
|
|
15449
|
+
return /*#__PURE__*/React__default.createElement(Icon, _extends$2({}, forwardedProps, forwardedProps.inputProps, {
|
|
15450
|
+
ref: ref,
|
|
15451
|
+
size: fontSize,
|
|
15452
|
+
icon: muiIconToDSIcon[displayName]
|
|
15453
|
+
}));
|
|
15454
|
+
});
|
|
15455
|
+
|
|
15456
|
+
const _excluded$3 = ["children", "onClick", "startIcon"];
|
|
15457
|
+
const BaseButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
15458
|
+
const {
|
|
15459
|
+
children,
|
|
15460
|
+
onClick,
|
|
15461
|
+
startIcon
|
|
15462
|
+
} = props,
|
|
15463
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$3);
|
|
15464
|
+
return /*#__PURE__*/React__default.createElement(Button, _extends$2({}, forwardedProps, {
|
|
15465
|
+
onPress: onClick,
|
|
15466
|
+
ref: ref,
|
|
15467
|
+
variant: "unstyled",
|
|
15468
|
+
size: "small",
|
|
15469
|
+
isActive: props['aria-expanded'] === 'true'
|
|
15470
|
+
}), startIcon, children);
|
|
15471
|
+
});
|
|
15472
|
+
|
|
15473
|
+
const _excluded$2 = ["checked", "indeterminate", "disabled", "onChange"];
|
|
15474
|
+
const BaseCheckbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
15475
|
+
const {
|
|
15476
|
+
checked,
|
|
15477
|
+
indeterminate,
|
|
15478
|
+
disabled,
|
|
15479
|
+
onChange
|
|
15480
|
+
} = props,
|
|
15481
|
+
forwardedProps = _objectWithoutProperties(props, _excluded$2);
|
|
15482
|
+
return /*#__PURE__*/React__default.createElement(Checkbox, _extends$2({}, forwardedProps, forwardedProps.inputProps, {
|
|
15483
|
+
isSelected: checked && !indeterminate,
|
|
15484
|
+
isColored: false,
|
|
15485
|
+
isDisabled: disabled,
|
|
15486
|
+
isIndeterminate: indeterminate,
|
|
15487
|
+
ref: ref,
|
|
15488
|
+
onChange: (isChecked, value, name, event) => onChange(event)
|
|
15489
|
+
}));
|
|
15490
|
+
});
|
|
15491
|
+
|
|
15492
|
+
const _excluded$1 = ["className", "filterModel", "hideToolbar", "height", "license", "onFilterModelChange", "rows"];
|
|
15160
15493
|
const COMPONENT_NAME$1 = 'DataGrid';
|
|
15161
15494
|
const CLASSNAME$1 = 'redsift-datagrid';
|
|
15162
15495
|
const DEFAULT_PROPS = {
|
|
15163
15496
|
license: process.env.MUI_LICENSE_KEY,
|
|
15164
15497
|
height: '500px'
|
|
15165
15498
|
};
|
|
15166
|
-
const ColumnSortedAscendingIcon = () => /*#__PURE__*/React__default.createElement(Icon, {
|
|
15167
|
-
icon: mdiChevronUp,
|
|
15168
|
-
size: "small"
|
|
15169
|
-
});
|
|
15170
|
-
const ColumnSortedDescendingIcon = () => /*#__PURE__*/React__default.createElement(Icon, {
|
|
15171
|
-
icon: mdiChevronDown,
|
|
15172
|
-
size: "small"
|
|
15173
|
-
});
|
|
15174
|
-
const DetailPanelExpandIcon = () => /*#__PURE__*/React__default.createElement(Icon, {
|
|
15175
|
-
icon: mdiChevronRight,
|
|
15176
|
-
size: "small"
|
|
15177
|
-
});
|
|
15178
|
-
const DetailPanelCollapseIcon = () => /*#__PURE__*/React__default.createElement(Icon, {
|
|
15179
|
-
icon: mdiChevronDown,
|
|
15180
|
-
size: "small"
|
|
15181
|
-
});
|
|
15182
|
-
const ColumnFilteredIcon = () => /*#__PURE__*/React__default.createElement(Icon, {
|
|
15183
|
-
icon: mdiFilterVariant,
|
|
15184
|
-
size: "small"
|
|
15185
|
-
});
|
|
15186
15499
|
const DataGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
15187
15500
|
var _props$componentsProp;
|
|
15188
15501
|
const datagridRef = ref || useRef();
|
|
@@ -15215,45 +15528,46 @@ const DataGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15215
15528
|
ref: datagridRef,
|
|
15216
15529
|
className: classNames(DataGrid.className, className),
|
|
15217
15530
|
$height: height
|
|
15218
|
-
}, /*#__PURE__*/React__default.createElement(DataGridPro, _extends$
|
|
15531
|
+
}, /*#__PURE__*/React__default.createElement(DataGridPro, _extends$2({}, forwardedProps, {
|
|
15219
15532
|
rows: rows,
|
|
15220
15533
|
filterModel: filterModel,
|
|
15221
15534
|
onFilterModelChange: onFilterModelChange,
|
|
15222
15535
|
components: _objectSpread2(_objectSpread2({
|
|
15223
|
-
BaseButton
|
|
15224
|
-
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
|
-
|
|
15228
|
-
|
|
15229
|
-
|
|
15230
|
-
|
|
15231
|
-
|
|
15232
|
-
|
|
15233
|
-
}),
|
|
15234
|
-
|
|
15235
|
-
|
|
15236
|
-
|
|
15237
|
-
|
|
15238
|
-
|
|
15239
|
-
|
|
15240
|
-
|
|
15241
|
-
|
|
15242
|
-
|
|
15243
|
-
|
|
15244
|
-
|
|
15245
|
-
|
|
15246
|
-
|
|
15247
|
-
|
|
15248
|
-
|
|
15249
|
-
|
|
15250
|
-
|
|
15251
|
-
|
|
15252
|
-
|
|
15253
|
-
|
|
15254
|
-
|
|
15255
|
-
|
|
15256
|
-
|
|
15536
|
+
BaseButton,
|
|
15537
|
+
BaseCheckbox,
|
|
15538
|
+
ColumnFilteredIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15539
|
+
displayName: "ColumnFilteredIcon"
|
|
15540
|
+
})),
|
|
15541
|
+
ColumnSelectorIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15542
|
+
displayName: "ColumnSelectorIcon"
|
|
15543
|
+
})),
|
|
15544
|
+
ColumnSortedAscendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15545
|
+
displayName: "ColumnSortedAscendingIcon"
|
|
15546
|
+
})),
|
|
15547
|
+
ColumnSortedDescendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15548
|
+
displayName: "ColumnSortedDescendingIcon"
|
|
15549
|
+
})),
|
|
15550
|
+
DensityCompactIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15551
|
+
displayName: "DensityCompactIcon"
|
|
15552
|
+
})),
|
|
15553
|
+
DensityStandardIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15554
|
+
displayName: "DensityStandardIcon"
|
|
15555
|
+
})),
|
|
15556
|
+
DensityComfortableIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15557
|
+
displayName: "DensityComfortableIcon"
|
|
15558
|
+
})),
|
|
15559
|
+
DetailPanelCollapseIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15560
|
+
displayName: "DetailPanelCollapseIcon"
|
|
15561
|
+
})),
|
|
15562
|
+
DetailPanelExpandIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15563
|
+
displayName: "DetailPanelExpandIcon"
|
|
15564
|
+
})),
|
|
15565
|
+
ExportIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15566
|
+
displayName: "ExportIcon"
|
|
15567
|
+
})),
|
|
15568
|
+
OpenFilterButtonIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$2({}, props, {
|
|
15569
|
+
displayName: "OpenFilterButtonIcon"
|
|
15570
|
+
}))
|
|
15257
15571
|
}, !hideToolbar && {
|
|
15258
15572
|
Toolbar
|
|
15259
15573
|
}), props.components),
|
|
@@ -15307,7 +15621,7 @@ const TextCell = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15307
15621
|
shieldVariant
|
|
15308
15622
|
} = props,
|
|
15309
15623
|
forwardedProps = _objectWithoutProperties(props, _excluded);
|
|
15310
|
-
return /*#__PURE__*/React__default.createElement(StyledTextCell, _extends$
|
|
15624
|
+
return /*#__PURE__*/React__default.createElement(StyledTextCell, _extends$2({}, forwardedProps, {
|
|
15311
15625
|
className: classNames(TextCell.className, className),
|
|
15312
15626
|
ref: textCellRef
|
|
15313
15627
|
}), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, shieldVariant ? /*#__PURE__*/React__default.createElement(Shield, {
|