@redsift/table 8.0.0-alpha.4 → 8.0.0-alpha.6
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/index.js +528 -798
- package/index.js.map +1 -1
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { GRID_DETAIL_PANEL_TOGGLE_COL_DEF, getGridNumericOperators as getGridNum
|
|
|
2
2
|
export { getGridBooleanOperators, getGridDateOperators, getGridSingleSelectOperators } from '@mui/x-data-grid-pro';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { forwardRef, useRef, useState, useEffect } from 'react';
|
|
5
|
-
import { Icon, Flexbox, Button, Checkbox, Shield } from '@redsift/design-system';
|
|
5
|
+
import { Icon, Flexbox, ColorPalette, ProductColorPalette, Button, Checkbox, Shield } from '@redsift/design-system';
|
|
6
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';
|
|
@@ -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$3() {
|
|
54
|
+
_extends$3 = 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$2() {
|
|
|
62
62
|
}
|
|
63
63
|
return target;
|
|
64
64
|
};
|
|
65
|
-
return _extends$
|
|
65
|
+
return _extends$3.apply(this, arguments);
|
|
66
66
|
}
|
|
67
|
-
function _objectWithoutPropertiesLoose$
|
|
67
|
+
function _objectWithoutPropertiesLoose$4(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$2(source, excluded) {
|
|
|
78
78
|
}
|
|
79
79
|
function _objectWithoutProperties(source, excluded) {
|
|
80
80
|
if (source == null) return {};
|
|
81
|
-
var target = _objectWithoutPropertiesLoose$
|
|
81
|
+
var target = _objectWithoutPropertiesLoose$4(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$1 = {};
|
|
163
|
+
var reactIs$1 = {
|
|
164
|
+
get exports(){ return reactIsExports$1; },
|
|
165
|
+
set exports(v){ reactIsExports$1 = v; },
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
-
var reactIs_production_min$
|
|
168
|
+
var reactIs_production_min$1 = {};
|
|
169
169
|
|
|
170
170
|
/** @license React v16.13.1
|
|
171
171
|
* react-is.production.min.js
|
|
@@ -175,14 +175,14 @@ var reactIs_production_min$2 = {};
|
|
|
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
|
|
181
|
-
reactIs_production_min$
|
|
182
|
-
reactIs_production_min$
|
|
183
|
-
reactIs_production_min$
|
|
178
|
+
var b$1="function"===typeof Symbol&&Symbol.for,c$1=b$1?Symbol.for("react.element"):60103,d$1=b$1?Symbol.for("react.portal"):60106,e$1=b$1?Symbol.for("react.fragment"):60107,f$2=b$1?Symbol.for("react.strict_mode"):60108,g$1=b$1?Symbol.for("react.profiler"):60114,h$1=b$1?Symbol.for("react.provider"):60109,k$2=b$1?Symbol.for("react.context"):60110,l$2=b$1?Symbol.for("react.async_mode"):60111,m$2=b$1?Symbol.for("react.concurrent_mode"):60111,n$2=b$1?Symbol.for("react.forward_ref"):60112,p$2=b$1?Symbol.for("react.suspense"):60113,q$2=b$1?
|
|
179
|
+
Symbol.for("react.suspense_list"):60120,r$1=b$1?Symbol.for("react.memo"):60115,t$1=b$1?Symbol.for("react.lazy"):60116,v$1=b$1?Symbol.for("react.block"):60121,w=b$1?Symbol.for("react.fundamental"):60117,x=b$1?Symbol.for("react.responder"):60118,y=b$1?Symbol.for("react.scope"):60119;
|
|
180
|
+
function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c$1:switch(a=a.type,a){case l$2:case m$2:case e$1:case g$1:case f$2:case p$2:return a;default:switch(a=a&&a.$$typeof,a){case k$2:case n$2:case t$1:case r$1:case h$1:return a;default:return u}}case d$1:return u}}}function A(a){return z(a)===m$2}reactIs_production_min$1.AsyncMode=l$2;reactIs_production_min$1.ConcurrentMode=m$2;reactIs_production_min$1.ContextConsumer=k$2;reactIs_production_min$1.ContextProvider=h$1;reactIs_production_min$1.Element=c$1;reactIs_production_min$1.ForwardRef=n$2;reactIs_production_min$1.Fragment=e$1;reactIs_production_min$1.Lazy=t$1;reactIs_production_min$1.Memo=r$1;reactIs_production_min$1.Portal=d$1;
|
|
181
|
+
reactIs_production_min$1.Profiler=g$1;reactIs_production_min$1.StrictMode=f$2;reactIs_production_min$1.Suspense=p$2;reactIs_production_min$1.isAsyncMode=function(a){return A(a)||z(a)===l$2};reactIs_production_min$1.isConcurrentMode=A;reactIs_production_min$1.isContextConsumer=function(a){return z(a)===k$2};reactIs_production_min$1.isContextProvider=function(a){return z(a)===h$1};reactIs_production_min$1.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c$1};reactIs_production_min$1.isForwardRef=function(a){return z(a)===n$2};reactIs_production_min$1.isFragment=function(a){return z(a)===e$1};reactIs_production_min$1.isLazy=function(a){return z(a)===t$1};
|
|
182
|
+
reactIs_production_min$1.isMemo=function(a){return z(a)===r$1};reactIs_production_min$1.isPortal=function(a){return z(a)===d$1};reactIs_production_min$1.isProfiler=function(a){return z(a)===g$1};reactIs_production_min$1.isStrictMode=function(a){return z(a)===f$2};reactIs_production_min$1.isSuspense=function(a){return z(a)===p$2};
|
|
183
|
+
reactIs_production_min$1.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e$1||a===m$2||a===g$1||a===f$2||a===p$2||a===q$2||"object"===typeof a&&null!==a&&(a.$$typeof===t$1||a.$$typeof===r$1||a.$$typeof===h$1||a.$$typeof===k$2||a.$$typeof===n$2||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v$1)};reactIs_production_min$1.typeOf=z;
|
|
184
184
|
|
|
185
|
-
var reactIs_development$
|
|
185
|
+
var reactIs_development$1 = {};
|
|
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$1.AsyncMode = AsyncMode;
|
|
336
|
+
reactIs_development$1.ConcurrentMode = ConcurrentMode;
|
|
337
|
+
reactIs_development$1.ContextConsumer = ContextConsumer;
|
|
338
|
+
reactIs_development$1.ContextProvider = ContextProvider;
|
|
339
|
+
reactIs_development$1.Element = Element;
|
|
340
|
+
reactIs_development$1.ForwardRef = ForwardRef;
|
|
341
|
+
reactIs_development$1.Fragment = Fragment;
|
|
342
|
+
reactIs_development$1.Lazy = Lazy;
|
|
343
|
+
reactIs_development$1.Memo = Memo;
|
|
344
|
+
reactIs_development$1.Portal = Portal;
|
|
345
|
+
reactIs_development$1.Profiler = Profiler;
|
|
346
|
+
reactIs_development$1.StrictMode = StrictMode;
|
|
347
|
+
reactIs_development$1.Suspense = Suspense;
|
|
348
|
+
reactIs_development$1.isAsyncMode = isAsyncMode;
|
|
349
|
+
reactIs_development$1.isConcurrentMode = isConcurrentMode;
|
|
350
|
+
reactIs_development$1.isContextConsumer = isContextConsumer;
|
|
351
|
+
reactIs_development$1.isContextProvider = isContextProvider;
|
|
352
|
+
reactIs_development$1.isElement = isElement;
|
|
353
|
+
reactIs_development$1.isForwardRef = isForwardRef;
|
|
354
|
+
reactIs_development$1.isFragment = isFragment;
|
|
355
|
+
reactIs_development$1.isLazy = isLazy;
|
|
356
|
+
reactIs_development$1.isMemo = isMemo;
|
|
357
|
+
reactIs_development$1.isPortal = isPortal;
|
|
358
|
+
reactIs_development$1.isProfiler = isProfiler;
|
|
359
|
+
reactIs_development$1.isStrictMode = isStrictMode;
|
|
360
|
+
reactIs_development$1.isSuspense = isSuspense;
|
|
361
|
+
reactIs_development$1.isValidElementType = isValidElementType;
|
|
362
|
+
reactIs_development$1.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$1;
|
|
370
370
|
} else {
|
|
371
|
-
module.exports = reactIs_development$
|
|
371
|
+
module.exports = reactIs_development$1;
|
|
372
372
|
}
|
|
373
|
-
} (reactIs$
|
|
373
|
+
} (reactIs$1));
|
|
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$1;
|
|
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$1;
|
|
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
|
|
1390
|
+
var reactIsExports = {};
|
|
1391
|
+
var reactIs = {
|
|
1392
|
+
get exports(){ return reactIsExports; },
|
|
1393
|
+
set exports(v){ reactIsExports = v; },
|
|
1394
1394
|
};
|
|
1395
1395
|
|
|
1396
|
-
var reactIs_production_min
|
|
1396
|
+
var reactIs_production_min = {};
|
|
1397
1397
|
|
|
1398
1398
|
/**
|
|
1399
1399
|
* @license React
|
|
@@ -1404,13 +1404,13 @@ var reactIs_production_min$1 = {};
|
|
|
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
|
|
1408
|
-
function v
|
|
1409
|
-
reactIs_production_min
|
|
1410
|
-
reactIs_production_min
|
|
1411
|
-
reactIs_production_min
|
|
1407
|
+
var b=Symbol.for("react.element"),c=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),e=Symbol.for("react.strict_mode"),f$1=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),h=Symbol.for("react.context"),k$1=Symbol.for("react.server_context"),l$1=Symbol.for("react.forward_ref"),m$1=Symbol.for("react.suspense"),n$1=Symbol.for("react.suspense_list"),p$1=Symbol.for("react.memo"),q$1=Symbol.for("react.lazy"),t=Symbol.for("react.offscreen"),u;u=Symbol.for("react.module.reference");
|
|
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$1:case e:case m$1:case n$1:return a;default:switch(a=a&&a.$$typeof,a){case k$1:case h:case l$1:case q$1:case p$1:case g:return a;default:return r}}case c:return r}}}reactIs_production_min.ContextConsumer=h;reactIs_production_min.ContextProvider=g;reactIs_production_min.Element=b;reactIs_production_min.ForwardRef=l$1;reactIs_production_min.Fragment=d;reactIs_production_min.Lazy=q$1;reactIs_production_min.Memo=p$1;reactIs_production_min.Portal=c;reactIs_production_min.Profiler=f$1;reactIs_production_min.StrictMode=e;reactIs_production_min.Suspense=m$1;
|
|
1409
|
+
reactIs_production_min.SuspenseList=n$1;reactIs_production_min.isAsyncMode=function(){return !1};reactIs_production_min.isConcurrentMode=function(){return !1};reactIs_production_min.isContextConsumer=function(a){return v(a)===h};reactIs_production_min.isContextProvider=function(a){return v(a)===g};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===b};reactIs_production_min.isForwardRef=function(a){return v(a)===l$1};reactIs_production_min.isFragment=function(a){return v(a)===d};reactIs_production_min.isLazy=function(a){return v(a)===q$1};reactIs_production_min.isMemo=function(a){return v(a)===p$1};
|
|
1410
|
+
reactIs_production_min.isPortal=function(a){return v(a)===c};reactIs_production_min.isProfiler=function(a){return v(a)===f$1};reactIs_production_min.isStrictMode=function(a){return v(a)===e};reactIs_production_min.isSuspense=function(a){return v(a)===m$1};reactIs_production_min.isSuspenseList=function(a){return v(a)===n$1};
|
|
1411
|
+
reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===d||a===f$1||a===e||a===m$1||a===n$1||a===t||"object"===typeof a&&null!==a&&(a.$$typeof===q$1||a.$$typeof===p$1||a.$$typeof===g||a.$$typeof===h||a.$$typeof===l$1||a.$$typeof===u||void 0!==a.getModuleId)?!0:!1};reactIs_production_min.typeOf=v;
|
|
1412
1412
|
|
|
1413
|
-
var reactIs_development
|
|
1413
|
+
var reactIs_development = {};
|
|
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
|
|
1604
|
-
reactIs_development
|
|
1605
|
-
reactIs_development
|
|
1606
|
-
reactIs_development
|
|
1607
|
-
reactIs_development
|
|
1608
|
-
reactIs_development
|
|
1609
|
-
reactIs_development
|
|
1610
|
-
reactIs_development
|
|
1611
|
-
reactIs_development
|
|
1612
|
-
reactIs_development
|
|
1613
|
-
reactIs_development
|
|
1614
|
-
reactIs_development
|
|
1615
|
-
reactIs_development
|
|
1616
|
-
reactIs_development
|
|
1617
|
-
reactIs_development
|
|
1618
|
-
reactIs_development
|
|
1619
|
-
reactIs_development
|
|
1620
|
-
reactIs_development
|
|
1621
|
-
reactIs_development
|
|
1622
|
-
reactIs_development
|
|
1623
|
-
reactIs_development
|
|
1624
|
-
reactIs_development
|
|
1625
|
-
reactIs_development
|
|
1626
|
-
reactIs_development
|
|
1627
|
-
reactIs_development
|
|
1628
|
-
reactIs_development
|
|
1629
|
-
reactIs_development
|
|
1630
|
-
reactIs_development
|
|
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;
|
|
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;
|
|
1638
1638
|
} else {
|
|
1639
|
-
module.exports = reactIs_development
|
|
1639
|
+
module.exports = reactIs_development;
|
|
1640
1640
|
}
|
|
1641
|
-
} (reactIs
|
|
1641
|
+
} (reactIs));
|
|
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
|
|
1678
|
+
case reactIsExports.ForwardRef:
|
|
1679
1679
|
return getWrappedName(Component, Component.render, 'ForwardRef');
|
|
1680
|
-
case reactIsExports
|
|
1680
|
+
case reactIsExports.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
|
|
2078
|
-
function q
|
|
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;
|
|
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$2() {
|
|
3452
|
+
_extends$2 = 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$1() {
|
|
|
3460
3460
|
}
|
|
3461
3461
|
return target;
|
|
3462
3462
|
};
|
|
3463
|
-
return _extends$
|
|
3463
|
+
return _extends$2.apply(this, arguments);
|
|
3464
3464
|
}
|
|
3465
3465
|
|
|
3466
|
-
function _objectWithoutPropertiesLoose$
|
|
3466
|
+
function _objectWithoutPropertiesLoose$3(source, excluded) {
|
|
3467
3467
|
if (source == null) return {};
|
|
3468
3468
|
var target = {};
|
|
3469
3469
|
var sourceKeys = Object.keys(source);
|
|
@@ -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$2({}, 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$3(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$2({
|
|
3547
3547
|
keys,
|
|
3548
3548
|
values: sortedValues,
|
|
3549
3549
|
up,
|
|
@@ -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$3(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$2({
|
|
4560
4560
|
mode: 'light'
|
|
4561
4561
|
}, paletteInput),
|
|
4562
4562
|
spacing,
|
|
4563
|
-
shape: _extends$
|
|
4563
|
+
shape: _extends$2({}, 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$2({}, 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,
|
|
@@ -4637,7 +4637,7 @@ function extendSxProp(props) {
|
|
|
4637
4637
|
const {
|
|
4638
4638
|
sx: inSx
|
|
4639
4639
|
} = props,
|
|
4640
|
-
other = _objectWithoutPropertiesLoose$
|
|
4640
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$C);
|
|
4641
4641
|
const {
|
|
4642
4642
|
systemProps,
|
|
4643
4643
|
otherProps
|
|
@@ -4651,17 +4651,17 @@ function extendSxProp(props) {
|
|
|
4651
4651
|
if (!isPlainObject(result)) {
|
|
4652
4652
|
return systemProps;
|
|
4653
4653
|
}
|
|
4654
|
-
return _extends$
|
|
4654
|
+
return _extends$2({}, systemProps, result);
|
|
4655
4655
|
};
|
|
4656
4656
|
} else {
|
|
4657
|
-
finalSx = _extends$
|
|
4657
|
+
finalSx = _extends$2({}, systemProps, inSx);
|
|
4658
4658
|
}
|
|
4659
|
-
return _extends$
|
|
4659
|
+
return _extends$2({}, otherProps, {
|
|
4660
4660
|
sx: finalSx
|
|
4661
4661
|
});
|
|
4662
4662
|
}
|
|
4663
4663
|
|
|
4664
|
-
function r
|
|
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}
|
|
4665
4665
|
|
|
4666
4666
|
const _excluded$B = ["className", "component"];
|
|
4667
4667
|
function createBox(options = {}) {
|
|
@@ -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$3(_extendSxProp, _excluded$B);
|
|
4685
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$2({
|
|
4686
4686
|
as: component,
|
|
4687
4687
|
ref: ref,
|
|
4688
4688
|
className: clsx(className, generateClassName ? generateClassName(defaultClassName) : defaultClassName),
|
|
@@ -4706,7 +4706,7 @@ function propsToClassKey(props) {
|
|
|
4706
4706
|
const {
|
|
4707
4707
|
variant
|
|
4708
4708
|
} = props,
|
|
4709
|
-
other = _objectWithoutPropertiesLoose$
|
|
4709
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$A);
|
|
4710
4710
|
let classKey = variant || '';
|
|
4711
4711
|
Object.keys(other).sort().forEach(key => {
|
|
4712
4712
|
if (key === 'color') {
|
|
@@ -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$2({}, props, {
|
|
4799
|
+
theme: resolveTheme(_extends$2({}, 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$3(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$2({
|
|
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$2({}, props, {
|
|
4848
|
+
theme: resolveTheme(_extends$2({}, 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$2({}, 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$2({}, 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$2({}, 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$2({}, props, {
|
|
4900
|
+
theme: resolveTheme(_extends$2({}, 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 = Object.assign ? Object.assign.bind() : function (target) {
|
|
5195
|
+
function _extends$1() {
|
|
5196
|
+
_extends$1 = 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() {
|
|
|
5204
5204
|
}
|
|
5205
5205
|
return target;
|
|
5206
5206
|
};
|
|
5207
|
-
return _extends.apply(this, arguments);
|
|
5207
|
+
return _extends$1.apply(this, arguments);
|
|
5208
5208
|
}
|
|
5209
5209
|
|
|
5210
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
5210
|
+
function _objectWithoutPropertiesLoose$2(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(source, excluded) {
|
|
|
5221
5221
|
}
|
|
5222
5222
|
|
|
5223
5223
|
function createMixins(breakpoints, mixins) {
|
|
5224
|
-
return _extends({
|
|
5224
|
+
return _extends$1({
|
|
5225
5225
|
toolbar: {
|
|
5226
5226
|
minHeight: 56,
|
|
5227
5227
|
[breakpoints.up('xs')]: {
|
|
@@ -5537,7 +5537,7 @@ function createPalette(palette) {
|
|
|
5537
5537
|
contrastThreshold = 3,
|
|
5538
5538
|
tonalOffset = 0.2
|
|
5539
5539
|
} = palette,
|
|
5540
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$y);
|
|
5540
|
+
other = _objectWithoutPropertiesLoose$2(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({}, color);
|
|
5568
|
+
color = _extends$1({}, 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$1({
|
|
5609
5609
|
// A collection of common colors.
|
|
5610
|
-
common: _extends({}, common$1),
|
|
5610
|
+
common: _extends$1({}, common$1),
|
|
5611
5611
|
// prevent mutable object.
|
|
5612
5612
|
// The palette mode, can be light or dark.
|
|
5613
5613
|
mode,
|
|
@@ -5692,7 +5692,7 @@ function createTypography(palette, typography) {
|
|
|
5692
5692
|
allVariants,
|
|
5693
5693
|
pxToRem: pxToRem2
|
|
5694
5694
|
} = _ref,
|
|
5695
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
5695
|
+
other = _objectWithoutPropertiesLoose$2(_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$1({
|
|
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$1({
|
|
5738
5738
|
htmlFontSize,
|
|
5739
5739
|
pxToRem,
|
|
5740
5740
|
fontFamily,
|
|
@@ -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({}, easing, inputTransitions.easing);
|
|
5806
|
-
const mergedDuration = _extends({}, duration, inputTransitions.duration);
|
|
5805
|
+
const mergedEasing = _extends$1({}, easing, inputTransitions.easing);
|
|
5806
|
+
const mergedDuration = _extends$1({}, 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(options, _excluded$w);
|
|
5813
|
+
other = _objectWithoutPropertiesLoose$2(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$1({
|
|
5838
5838
|
getAutoHeightDuration,
|
|
5839
5839
|
create
|
|
5840
5840
|
}, inputTransitions, {
|
|
@@ -5865,7 +5865,7 @@ function createTheme(options = {}, ...args) {
|
|
|
5865
5865
|
transitions: transitionsInput = {},
|
|
5866
5866
|
typography: typographyInput = {}
|
|
5867
5867
|
} = options,
|
|
5868
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$v);
|
|
5868
|
+
other = _objectWithoutPropertiesLoose$2(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({}, zIndex$1)
|
|
5882
|
+
zIndex: _extends$1({}, 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({}, defaultSxConfig$1, other == null ? void 0 : other.unstable_sxConfig);
|
|
5916
|
+
muiTheme.unstable_sxConfig = _extends$1({}, 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,6 +5996,21 @@ 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
|
+
|
|
5999
6014
|
/**
|
|
6000
6015
|
* Determines if a given element is a DOM element name (i.e. not a React component).
|
|
6001
6016
|
*/
|
|
@@ -6078,6 +6093,19 @@ function resolveComponentProps(componentProps, ownerState) {
|
|
|
6078
6093
|
return componentProps;
|
|
6079
6094
|
}
|
|
6080
6095
|
|
|
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
|
+
|
|
6081
6109
|
/**
|
|
6082
6110
|
* Removes event handlers from the given object.
|
|
6083
6111
|
* A field is considered an event handler if it is a function with a name beginning with `on`.
|
|
@@ -6178,7 +6206,7 @@ function useSlotProps(parameters) {
|
|
|
6178
6206
|
externalSlotProps,
|
|
6179
6207
|
ownerState
|
|
6180
6208
|
} = parameters,
|
|
6181
|
-
rest = _objectWithoutPropertiesLoose(parameters, _excluded$u);
|
|
6209
|
+
rest = _objectWithoutPropertiesLoose$1(parameters, _excluded$u);
|
|
6182
6210
|
const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
|
|
6183
6211
|
const {
|
|
6184
6212
|
props: mergedProps,
|
|
@@ -6885,7 +6913,7 @@ const Modal$2 = /*#__PURE__*/React.forwardRef(function Modal(props, forwardedRef
|
|
|
6885
6913
|
slotProps = {},
|
|
6886
6914
|
slots = {}
|
|
6887
6915
|
} = props,
|
|
6888
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$t);
|
|
6916
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$t);
|
|
6889
6917
|
// TODO: `modal`` must change its type in this file to match the type of methods
|
|
6890
6918
|
// provided by `ModalManager`
|
|
6891
6919
|
const manager = managerProp;
|
|
@@ -7217,7 +7245,7 @@ const TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize
|
|
|
7217
7245
|
style,
|
|
7218
7246
|
value
|
|
7219
7247
|
} = props,
|
|
7220
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$s);
|
|
7248
|
+
other = _objectWithoutPropertiesLoose$1(props, _excluded$s);
|
|
7221
7249
|
const {
|
|
7222
7250
|
current: isControlled
|
|
7223
7251
|
} = React.useRef(value != null);
|
|
@@ -7458,7 +7486,7 @@ function useFormControl() {
|
|
|
7458
7486
|
}
|
|
7459
7487
|
|
|
7460
7488
|
function GlobalStyles(props) {
|
|
7461
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends({}, props, {
|
|
7489
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(GlobalStyles$1, _extends$1({}, props, {
|
|
7462
7490
|
defaultTheme: defaultTheme$2,
|
|
7463
7491
|
themeId: THEME_ID
|
|
7464
7492
|
}));
|
|
@@ -7554,7 +7582,7 @@ const InputBaseRoot = styled$1('div', {
|
|
|
7554
7582
|
})(({
|
|
7555
7583
|
theme,
|
|
7556
7584
|
ownerState
|
|
7557
|
-
}) => _extends({}, theme.typography.body1, {
|
|
7585
|
+
}) => _extends$1({}, theme.typography.body1, {
|
|
7558
7586
|
color: (theme.vars || theme).palette.text.primary,
|
|
7559
7587
|
lineHeight: '1.4375em',
|
|
7560
7588
|
// 23px
|
|
@@ -7568,7 +7596,7 @@ const InputBaseRoot = styled$1('div', {
|
|
|
7568
7596
|
color: (theme.vars || theme).palette.text.disabled,
|
|
7569
7597
|
cursor: 'default'
|
|
7570
7598
|
}
|
|
7571
|
-
}, ownerState.multiline && _extends({
|
|
7599
|
+
}, ownerState.multiline && _extends$1({
|
|
7572
7600
|
padding: '4px 0 5px'
|
|
7573
7601
|
}, ownerState.size === 'small' && {
|
|
7574
7602
|
paddingTop: 1
|
|
@@ -7584,7 +7612,7 @@ const InputBaseComponent = styled$1('input', {
|
|
|
7584
7612
|
ownerState
|
|
7585
7613
|
}) => {
|
|
7586
7614
|
const light = theme.palette.mode === 'light';
|
|
7587
|
-
const placeholder = _extends({
|
|
7615
|
+
const placeholder = _extends$1({
|
|
7588
7616
|
color: 'currentColor'
|
|
7589
7617
|
}, theme.vars ? {
|
|
7590
7618
|
opacity: theme.vars.opacity.inputPlaceholder
|
|
@@ -7603,7 +7631,7 @@ const InputBaseComponent = styled$1('input', {
|
|
|
7603
7631
|
} : {
|
|
7604
7632
|
opacity: light ? 0.42 : 0.5
|
|
7605
7633
|
};
|
|
7606
|
-
return _extends({
|
|
7634
|
+
return _extends$1({
|
|
7607
7635
|
font: 'inherit',
|
|
7608
7636
|
letterSpacing: 'inherit',
|
|
7609
7637
|
color: 'currentColor',
|
|
@@ -7742,7 +7770,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7742
7770
|
type = 'text',
|
|
7743
7771
|
value: valueProp
|
|
7744
7772
|
} = props,
|
|
7745
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$r);
|
|
7773
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$r);
|
|
7746
7774
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
7747
7775
|
const {
|
|
7748
7776
|
current: isControlled
|
|
@@ -7877,13 +7905,13 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7877
7905
|
console.warn('MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set.');
|
|
7878
7906
|
}
|
|
7879
7907
|
}
|
|
7880
|
-
inputProps = _extends({
|
|
7908
|
+
inputProps = _extends$1({
|
|
7881
7909
|
type: undefined,
|
|
7882
7910
|
minRows: rows,
|
|
7883
7911
|
maxRows: rows
|
|
7884
7912
|
}, inputProps);
|
|
7885
7913
|
} else {
|
|
7886
|
-
inputProps = _extends({
|
|
7914
|
+
inputProps = _extends$1({
|
|
7887
7915
|
type: undefined,
|
|
7888
7916
|
maxRows,
|
|
7889
7917
|
minRows
|
|
@@ -7902,7 +7930,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7902
7930
|
muiFormControl.setAdornedStart(Boolean(startAdornment));
|
|
7903
7931
|
}
|
|
7904
7932
|
}, [muiFormControl, startAdornment]);
|
|
7905
|
-
const ownerState = _extends({}, props, {
|
|
7933
|
+
const ownerState = _extends$1({}, props, {
|
|
7906
7934
|
color: fcs.color || 'primary',
|
|
7907
7935
|
disabled: fcs.disabled,
|
|
7908
7936
|
endAdornment,
|
|
@@ -7920,10 +7948,10 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7920
7948
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
7921
7949
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
7922
7950
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
7923
|
-
inputProps = _extends({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
|
|
7951
|
+
inputProps = _extends$1({}, inputProps, (_slotProps$input = slotProps.input) != null ? _slotProps$input : componentsProps.input);
|
|
7924
7952
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
7925
|
-
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends({}, rootProps, !isHostComponent(Root) && {
|
|
7926
|
-
ownerState: _extends({}, ownerState, rootProps.ownerState)
|
|
7953
|
+
children: [!disableInjectingGlobalStyles && inputGlobalStyles, /*#__PURE__*/jsxRuntimeExports.jsxs(Root, _extends$1({}, rootProps, !isHostComponent(Root) && {
|
|
7954
|
+
ownerState: _extends$1({}, ownerState, rootProps.ownerState)
|
|
7927
7955
|
}, {
|
|
7928
7956
|
ref: ref,
|
|
7929
7957
|
onClick: handleClick
|
|
@@ -7931,7 +7959,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7931
7959
|
className: clsx(classes.root, rootProps.className, className, readOnly && 'MuiInputBase-readOnly'),
|
|
7932
7960
|
children: [startAdornment, /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
7933
7961
|
value: null,
|
|
7934
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends({
|
|
7962
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(Input, _extends$1({
|
|
7935
7963
|
ownerState: ownerState,
|
|
7936
7964
|
"aria-invalid": fcs.error,
|
|
7937
7965
|
"aria-describedby": ariaDescribedby,
|
|
@@ -7952,7 +7980,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7952
7980
|
type: type
|
|
7953
7981
|
}, inputProps, !isHostComponent(Input) && {
|
|
7954
7982
|
as: InputComponent,
|
|
7955
|
-
ownerState: _extends({}, ownerState, inputProps.ownerState)
|
|
7983
|
+
ownerState: _extends$1({}, ownerState, inputProps.ownerState)
|
|
7956
7984
|
}, {
|
|
7957
7985
|
ref: handleInputRef,
|
|
7958
7986
|
className: clsx(classes.input, inputProps.className, readOnly && 'MuiInputBase-readOnly'),
|
|
@@ -7960,7 +7988,7 @@ const InputBase = /*#__PURE__*/React.forwardRef(function InputBase(inProps, ref)
|
|
|
7960
7988
|
onChange: handleChange,
|
|
7961
7989
|
onFocus: handleFocus
|
|
7962
7990
|
}))
|
|
7963
|
-
}), endAdornment, renderSuffix ? renderSuffix(_extends({}, fcs, {
|
|
7991
|
+
}), endAdornment, renderSuffix ? renderSuffix(_extends$1({}, fcs, {
|
|
7964
7992
|
startAdornment
|
|
7965
7993
|
})) : null]
|
|
7966
7994
|
}))]
|
|
@@ -8201,7 +8229,7 @@ var InputBase$1 = InputBase;
|
|
|
8201
8229
|
function getInputUtilityClass(slot) {
|
|
8202
8230
|
return generateUtilityClass('MuiInput', slot);
|
|
8203
8231
|
}
|
|
8204
|
-
const inputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
|
|
8232
|
+
const inputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiInput', ['root', 'underline', 'input']));
|
|
8205
8233
|
var inputClasses$1 = inputClasses;
|
|
8206
8234
|
|
|
8207
8235
|
const _excluded$q = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
@@ -8215,7 +8243,7 @@ const useUtilityClasses$g = ownerState => {
|
|
|
8215
8243
|
input: ['input']
|
|
8216
8244
|
};
|
|
8217
8245
|
const composedClasses = composeClasses(slots, getInputUtilityClass, classes);
|
|
8218
|
-
return _extends({}, classes, composedClasses);
|
|
8246
|
+
return _extends$1({}, classes, composedClasses);
|
|
8219
8247
|
};
|
|
8220
8248
|
const InputRoot = styled$1(InputBaseRoot, {
|
|
8221
8249
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -8236,7 +8264,7 @@ const InputRoot = styled$1(InputBaseRoot, {
|
|
|
8236
8264
|
if (theme.vars) {
|
|
8237
8265
|
bottomLineColor = `rgba(${theme.vars.palette.common.onBackgroundChannel} / ${theme.vars.opacity.inputUnderline})`;
|
|
8238
8266
|
}
|
|
8239
|
-
return _extends({
|
|
8267
|
+
return _extends$1({
|
|
8240
8268
|
position: 'relative'
|
|
8241
8269
|
}, ownerState.formControl && {
|
|
8242
8270
|
'label + &': {
|
|
@@ -8317,7 +8345,7 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
|
|
|
8317
8345
|
slots = {},
|
|
8318
8346
|
type = 'text'
|
|
8319
8347
|
} = props,
|
|
8320
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$q);
|
|
8348
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$q);
|
|
8321
8349
|
const classes = useUtilityClasses$g(props);
|
|
8322
8350
|
const ownerState = {
|
|
8323
8351
|
disableUnderline
|
|
@@ -8330,7 +8358,7 @@ const Input = /*#__PURE__*/React.forwardRef(function Input(inProps, ref) {
|
|
|
8330
8358
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;
|
|
8331
8359
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : InputRoot;
|
|
8332
8360
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : InputInput;
|
|
8333
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
8361
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends$1({
|
|
8334
8362
|
slots: {
|
|
8335
8363
|
root: RootSlot,
|
|
8336
8364
|
input: InputSlot
|
|
@@ -8537,7 +8565,7 @@ var Input$1 = Input;
|
|
|
8537
8565
|
function getFilledInputUtilityClass(slot) {
|
|
8538
8566
|
return generateUtilityClass('MuiFilledInput', slot);
|
|
8539
8567
|
}
|
|
8540
|
-
const filledInputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
|
|
8568
|
+
const filledInputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiFilledInput', ['root', 'underline', 'input']));
|
|
8541
8569
|
var filledInputClasses$1 = filledInputClasses;
|
|
8542
8570
|
|
|
8543
8571
|
const _excluded$p = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
@@ -8551,7 +8579,7 @@ const useUtilityClasses$f = ownerState => {
|
|
|
8551
8579
|
input: ['input']
|
|
8552
8580
|
};
|
|
8553
8581
|
const composedClasses = composeClasses(slots, getFilledInputUtilityClass, classes);
|
|
8554
|
-
return _extends({}, classes, composedClasses);
|
|
8582
|
+
return _extends$1({}, classes, composedClasses);
|
|
8555
8583
|
};
|
|
8556
8584
|
const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
8557
8585
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -8573,7 +8601,7 @@ const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
|
8573
8601
|
const backgroundColor = light ? 'rgba(0, 0, 0, 0.06)' : 'rgba(255, 255, 255, 0.09)';
|
|
8574
8602
|
const hoverBackground = light ? 'rgba(0, 0, 0, 0.09)' : 'rgba(255, 255, 255, 0.13)';
|
|
8575
8603
|
const disabledBackground = light ? 'rgba(0, 0, 0, 0.12)' : 'rgba(255, 255, 255, 0.12)';
|
|
8576
|
-
return _extends({
|
|
8604
|
+
return _extends$1({
|
|
8577
8605
|
position: 'relative',
|
|
8578
8606
|
backgroundColor: theme.vars ? theme.vars.palette.FilledInput.bg : backgroundColor,
|
|
8579
8607
|
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
@@ -8646,7 +8674,7 @@ const FilledInputRoot = styled$1(InputBaseRoot, {
|
|
|
8646
8674
|
paddingLeft: 12
|
|
8647
8675
|
}, ownerState.endAdornment && {
|
|
8648
8676
|
paddingRight: 12
|
|
8649
|
-
}, ownerState.multiline && _extends({
|
|
8677
|
+
}, ownerState.multiline && _extends$1({
|
|
8650
8678
|
padding: '25px 12px 8px'
|
|
8651
8679
|
}, ownerState.size === 'small' && {
|
|
8652
8680
|
paddingTop: 21,
|
|
@@ -8663,7 +8691,7 @@ const FilledInputInput = styled$1(InputBaseComponent, {
|
|
|
8663
8691
|
})(({
|
|
8664
8692
|
theme,
|
|
8665
8693
|
ownerState
|
|
8666
|
-
}) => _extends({
|
|
8694
|
+
}) => _extends$1({
|
|
8667
8695
|
paddingTop: 25,
|
|
8668
8696
|
paddingRight: 12,
|
|
8669
8697
|
paddingBottom: 8,
|
|
@@ -8724,8 +8752,8 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
8724
8752
|
slots = {},
|
|
8725
8753
|
type = 'text'
|
|
8726
8754
|
} = props,
|
|
8727
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$p);
|
|
8728
|
-
const ownerState = _extends({}, props, {
|
|
8755
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$p);
|
|
8756
|
+
const ownerState = _extends$1({}, props, {
|
|
8729
8757
|
fullWidth,
|
|
8730
8758
|
inputComponent,
|
|
8731
8759
|
multiline,
|
|
@@ -8743,7 +8771,7 @@ const FilledInput = /*#__PURE__*/React.forwardRef(function FilledInput(inProps,
|
|
|
8743
8771
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge(slotProps != null ? slotProps : componentsPropsProp, filledInputComponentsProps) : filledInputComponentsProps;
|
|
8744
8772
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : FilledInputRoot;
|
|
8745
8773
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : FilledInputInput;
|
|
8746
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
8774
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends$1({
|
|
8747
8775
|
slots: {
|
|
8748
8776
|
root: RootSlot,
|
|
8749
8777
|
input: InputSlot
|
|
@@ -8975,7 +9003,7 @@ const NotchedOutlineRoot$1 = styled$1('fieldset')({
|
|
|
8975
9003
|
const NotchedOutlineLegend = styled$1('legend')(({
|
|
8976
9004
|
ownerState,
|
|
8977
9005
|
theme
|
|
8978
|
-
}) => _extends({
|
|
9006
|
+
}) => _extends$1({
|
|
8979
9007
|
float: 'unset',
|
|
8980
9008
|
// Fix conflict with bootstrap
|
|
8981
9009
|
width: 'auto',
|
|
@@ -8989,7 +9017,7 @@ const NotchedOutlineLegend = styled$1('legend')(({
|
|
|
8989
9017
|
duration: 150,
|
|
8990
9018
|
easing: theme.transitions.easing.easeOut
|
|
8991
9019
|
})
|
|
8992
|
-
}, ownerState.withLabel && _extends({
|
|
9020
|
+
}, ownerState.withLabel && _extends$1({
|
|
8993
9021
|
display: 'block',
|
|
8994
9022
|
// Fix conflict with normalize.css and sanitize.css
|
|
8995
9023
|
padding: 0,
|
|
@@ -9028,13 +9056,13 @@ function NotchedOutline(props) {
|
|
|
9028
9056
|
label,
|
|
9029
9057
|
notched
|
|
9030
9058
|
} = props,
|
|
9031
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$o);
|
|
9059
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$o);
|
|
9032
9060
|
const withLabel = label != null && label !== '';
|
|
9033
|
-
const ownerState = _extends({}, props, {
|
|
9061
|
+
const ownerState = _extends$1({}, props, {
|
|
9034
9062
|
notched,
|
|
9035
9063
|
withLabel
|
|
9036
9064
|
});
|
|
9037
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends({
|
|
9065
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(NotchedOutlineRoot$1, _extends$1({
|
|
9038
9066
|
"aria-hidden": true,
|
|
9039
9067
|
className: className,
|
|
9040
9068
|
ownerState: ownerState
|
|
@@ -9082,7 +9110,7 @@ process.env.NODE_ENV !== "production" ? NotchedOutline.propTypes = {
|
|
|
9082
9110
|
function getOutlinedInputUtilityClass(slot) {
|
|
9083
9111
|
return generateUtilityClass('MuiOutlinedInput', slot);
|
|
9084
9112
|
}
|
|
9085
|
-
const outlinedInputClasses = _extends({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
9113
|
+
const outlinedInputClasses = _extends$1({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
9086
9114
|
var outlinedInputClasses$1 = outlinedInputClasses;
|
|
9087
9115
|
|
|
9088
9116
|
const _excluded$n = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
@@ -9096,7 +9124,7 @@ const useUtilityClasses$e = ownerState => {
|
|
|
9096
9124
|
input: ['input']
|
|
9097
9125
|
};
|
|
9098
9126
|
const composedClasses = composeClasses(slots, getOutlinedInputUtilityClass, classes);
|
|
9099
|
-
return _extends({}, classes, composedClasses);
|
|
9127
|
+
return _extends$1({}, classes, composedClasses);
|
|
9100
9128
|
};
|
|
9101
9129
|
const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
9102
9130
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -9108,7 +9136,7 @@ const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
|
9108
9136
|
ownerState
|
|
9109
9137
|
}) => {
|
|
9110
9138
|
const borderColor = theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)';
|
|
9111
|
-
return _extends({
|
|
9139
|
+
return _extends$1({
|
|
9112
9140
|
position: 'relative',
|
|
9113
9141
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
9114
9142
|
[`&:hover .${outlinedInputClasses$1.notchedOutline}`]: {
|
|
@@ -9134,7 +9162,7 @@ const OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
|
9134
9162
|
paddingLeft: 14
|
|
9135
9163
|
}, ownerState.endAdornment && {
|
|
9136
9164
|
paddingRight: 14
|
|
9137
|
-
}, ownerState.multiline && _extends({
|
|
9165
|
+
}, ownerState.multiline && _extends$1({
|
|
9138
9166
|
padding: '16.5px 14px'
|
|
9139
9167
|
}, ownerState.size === 'small' && {
|
|
9140
9168
|
padding: '8.5px 14px'
|
|
@@ -9159,7 +9187,7 @@ const OutlinedInputInput = styled$1(InputBaseComponent, {
|
|
|
9159
9187
|
})(({
|
|
9160
9188
|
theme,
|
|
9161
9189
|
ownerState
|
|
9162
|
-
}) => _extends({
|
|
9190
|
+
}) => _extends$1({
|
|
9163
9191
|
padding: '16.5px 14px'
|
|
9164
9192
|
}, !theme.vars && {
|
|
9165
9193
|
'&:-webkit-autofill': {
|
|
@@ -9204,7 +9232,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9204
9232
|
slots = {},
|
|
9205
9233
|
type = 'text'
|
|
9206
9234
|
} = props,
|
|
9207
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$n);
|
|
9235
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$n);
|
|
9208
9236
|
const classes = useUtilityClasses$e(props);
|
|
9209
9237
|
const muiFormControl = useFormControl();
|
|
9210
9238
|
const fcs = formControlState({
|
|
@@ -9212,7 +9240,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9212
9240
|
muiFormControl,
|
|
9213
9241
|
states: ['required']
|
|
9214
9242
|
});
|
|
9215
|
-
const ownerState = _extends({}, props, {
|
|
9243
|
+
const ownerState = _extends$1({}, props, {
|
|
9216
9244
|
color: fcs.color || 'primary',
|
|
9217
9245
|
disabled: fcs.disabled,
|
|
9218
9246
|
error: fcs.error,
|
|
@@ -9226,7 +9254,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9226
9254
|
});
|
|
9227
9255
|
const RootSlot = (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : OutlinedInputRoot;
|
|
9228
9256
|
const InputSlot = (_ref2 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref2 : OutlinedInputInput;
|
|
9229
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends({
|
|
9257
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputBase$1, _extends$1({
|
|
9230
9258
|
slots: {
|
|
9231
9259
|
root: RootSlot,
|
|
9232
9260
|
input: InputSlot
|
|
@@ -9245,7 +9273,7 @@ const OutlinedInput = /*#__PURE__*/React.forwardRef(function OutlinedInput(inPro
|
|
|
9245
9273
|
ref: ref,
|
|
9246
9274
|
type: type
|
|
9247
9275
|
}, other, {
|
|
9248
|
-
classes: _extends({}, classes, {
|
|
9276
|
+
classes: _extends$1({}, classes, {
|
|
9249
9277
|
notchedOutline: null
|
|
9250
9278
|
})
|
|
9251
9279
|
}));
|
|
@@ -9448,12 +9476,12 @@ const FormLabelRoot = styled$1('label', {
|
|
|
9448
9476
|
overridesResolver: ({
|
|
9449
9477
|
ownerState
|
|
9450
9478
|
}, styles) => {
|
|
9451
|
-
return _extends({}, styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled);
|
|
9479
|
+
return _extends$1({}, styles.root, ownerState.color === 'secondary' && styles.colorSecondary, ownerState.filled && styles.filled);
|
|
9452
9480
|
}
|
|
9453
9481
|
})(({
|
|
9454
9482
|
theme,
|
|
9455
9483
|
ownerState
|
|
9456
|
-
}) => _extends({
|
|
9484
|
+
}) => _extends$1({
|
|
9457
9485
|
color: (theme.vars || theme).palette.text.secondary
|
|
9458
9486
|
}, theme.typography.body1, {
|
|
9459
9487
|
lineHeight: '1.4375em',
|
|
@@ -9490,14 +9518,14 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
|
|
|
9490
9518
|
className,
|
|
9491
9519
|
component = 'label'
|
|
9492
9520
|
} = props,
|
|
9493
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$m);
|
|
9521
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$m);
|
|
9494
9522
|
const muiFormControl = useFormControl();
|
|
9495
9523
|
const fcs = formControlState({
|
|
9496
9524
|
props,
|
|
9497
9525
|
muiFormControl,
|
|
9498
9526
|
states: ['color', 'required', 'focused', 'disabled', 'error', 'filled']
|
|
9499
9527
|
});
|
|
9500
|
-
const ownerState = _extends({}, props, {
|
|
9528
|
+
const ownerState = _extends$1({}, props, {
|
|
9501
9529
|
color: fcs.color || 'primary',
|
|
9502
9530
|
component,
|
|
9503
9531
|
disabled: fcs.disabled,
|
|
@@ -9507,7 +9535,7 @@ const FormLabel = /*#__PURE__*/React.forwardRef(function FormLabel(inProps, ref)
|
|
|
9507
9535
|
required: fcs.required
|
|
9508
9536
|
});
|
|
9509
9537
|
const classes = useUtilityClasses$d(ownerState);
|
|
9510
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends({
|
|
9538
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(FormLabelRoot, _extends$1({
|
|
9511
9539
|
as: component,
|
|
9512
9540
|
ownerState: ownerState,
|
|
9513
9541
|
className: clsx(classes.root, className),
|
|
@@ -9597,7 +9625,7 @@ const useUtilityClasses$c = ownerState => {
|
|
|
9597
9625
|
asterisk: [required && 'asterisk']
|
|
9598
9626
|
};
|
|
9599
9627
|
const composedClasses = composeClasses(slots, getInputLabelUtilityClasses, classes);
|
|
9600
|
-
return _extends({}, classes, composedClasses);
|
|
9628
|
+
return _extends$1({}, classes, composedClasses);
|
|
9601
9629
|
};
|
|
9602
9630
|
const InputLabelRoot = styled$1(FormLabel$1, {
|
|
9603
9631
|
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
@@ -9614,7 +9642,7 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9614
9642
|
})(({
|
|
9615
9643
|
theme,
|
|
9616
9644
|
ownerState
|
|
9617
|
-
}) => _extends({
|
|
9645
|
+
}) => _extends$1({
|
|
9618
9646
|
display: 'block',
|
|
9619
9647
|
transformOrigin: 'top left',
|
|
9620
9648
|
whiteSpace: 'nowrap',
|
|
@@ -9639,7 +9667,7 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9639
9667
|
duration: theme.transitions.duration.shorter,
|
|
9640
9668
|
easing: theme.transitions.easing.easeOut
|
|
9641
9669
|
})
|
|
9642
|
-
}, ownerState.variant === 'filled' && _extends({
|
|
9670
|
+
}, ownerState.variant === 'filled' && _extends$1({
|
|
9643
9671
|
// Chrome's autofill feature gives the input field a yellow background.
|
|
9644
9672
|
// Since the input field is behind the label in the HTML tree,
|
|
9645
9673
|
// the input field is drawn last and hides the label with an opaque background color.
|
|
@@ -9650,14 +9678,14 @@ const InputLabelRoot = styled$1(FormLabel$1, {
|
|
|
9650
9678
|
maxWidth: 'calc(100% - 24px)'
|
|
9651
9679
|
}, ownerState.size === 'small' && {
|
|
9652
9680
|
transform: 'translate(12px, 13px) scale(1)'
|
|
9653
|
-
}, ownerState.shrink && _extends({
|
|
9681
|
+
}, ownerState.shrink && _extends$1({
|
|
9654
9682
|
userSelect: 'none',
|
|
9655
9683
|
pointerEvents: 'auto',
|
|
9656
9684
|
transform: 'translate(12px, 7px) scale(0.75)',
|
|
9657
9685
|
maxWidth: 'calc(133% - 24px)'
|
|
9658
9686
|
}, ownerState.size === 'small' && {
|
|
9659
9687
|
transform: 'translate(12px, 4px) scale(0.75)'
|
|
9660
|
-
})), ownerState.variant === 'outlined' && _extends({
|
|
9688
|
+
})), ownerState.variant === 'outlined' && _extends$1({
|
|
9661
9689
|
// see comment above on filled.zIndex
|
|
9662
9690
|
zIndex: 1,
|
|
9663
9691
|
pointerEvents: 'none',
|
|
@@ -9683,7 +9711,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9683
9711
|
shrink: shrinkProp,
|
|
9684
9712
|
className
|
|
9685
9713
|
} = props,
|
|
9686
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$l);
|
|
9714
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$l);
|
|
9687
9715
|
const muiFormControl = useFormControl();
|
|
9688
9716
|
let shrink = shrinkProp;
|
|
9689
9717
|
if (typeof shrink === 'undefined' && muiFormControl) {
|
|
@@ -9694,7 +9722,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9694
9722
|
muiFormControl,
|
|
9695
9723
|
states: ['size', 'variant', 'required']
|
|
9696
9724
|
});
|
|
9697
|
-
const ownerState = _extends({}, props, {
|
|
9725
|
+
const ownerState = _extends$1({}, props, {
|
|
9698
9726
|
disableAnimation,
|
|
9699
9727
|
formControl: muiFormControl,
|
|
9700
9728
|
shrink,
|
|
@@ -9703,7 +9731,7 @@ const InputLabel = /*#__PURE__*/React.forwardRef(function InputLabel(inProps, re
|
|
|
9703
9731
|
required: fcs.required
|
|
9704
9732
|
});
|
|
9705
9733
|
const classes = useUtilityClasses$c(ownerState);
|
|
9706
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends({
|
|
9734
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(InputLabelRoot, _extends$1({
|
|
9707
9735
|
"data-shrink": shrink,
|
|
9708
9736
|
ownerState: ownerState,
|
|
9709
9737
|
ref: ref,
|
|
@@ -9804,11 +9832,11 @@ const FormControlRoot = styled$1('div', {
|
|
|
9804
9832
|
overridesResolver: ({
|
|
9805
9833
|
ownerState
|
|
9806
9834
|
}, styles) => {
|
|
9807
|
-
return _extends({}, styles.root, styles[`margin${capitalize(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth);
|
|
9835
|
+
return _extends$1({}, styles.root, styles[`margin${capitalize(ownerState.margin)}`], ownerState.fullWidth && styles.fullWidth);
|
|
9808
9836
|
}
|
|
9809
9837
|
})(({
|
|
9810
9838
|
ownerState
|
|
9811
|
-
}) => _extends({
|
|
9839
|
+
}) => _extends$1({
|
|
9812
9840
|
display: 'inline-flex',
|
|
9813
9841
|
flexDirection: 'column',
|
|
9814
9842
|
position: 'relative',
|
|
@@ -9872,8 +9900,8 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
|
|
|
9872
9900
|
size = 'medium',
|
|
9873
9901
|
variant = 'outlined'
|
|
9874
9902
|
} = props,
|
|
9875
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$k);
|
|
9876
|
-
const ownerState = _extends({}, props, {
|
|
9903
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$k);
|
|
9904
|
+
const ownerState = _extends$1({}, props, {
|
|
9877
9905
|
color,
|
|
9878
9906
|
component,
|
|
9879
9907
|
disabled,
|
|
@@ -9969,7 +9997,7 @@ const FormControl = /*#__PURE__*/React.forwardRef(function FormControl(inProps,
|
|
|
9969
9997
|
}, [adornedStart, color, disabled, error, filled, focused, fullWidth, hiddenLabel, registerEffect, required, size, variant]);
|
|
9970
9998
|
return /*#__PURE__*/jsxRuntimeExports.jsx(FormControlContext$1.Provider, {
|
|
9971
9999
|
value: childContext,
|
|
9972
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(FormControlRoot, _extends({
|
|
10000
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(FormControlRoot, _extends$1({
|
|
9973
10001
|
as: component,
|
|
9974
10002
|
ownerState: ownerState,
|
|
9975
10003
|
className: clsx(classes.root, className),
|
|
@@ -10097,7 +10125,7 @@ const FormHelperTextRoot = styled$1('p', {
|
|
|
10097
10125
|
})(({
|
|
10098
10126
|
theme,
|
|
10099
10127
|
ownerState
|
|
10100
|
-
}) => _extends({
|
|
10128
|
+
}) => _extends$1({
|
|
10101
10129
|
color: (theme.vars || theme).palette.text.secondary
|
|
10102
10130
|
}, theme.typography.caption, {
|
|
10103
10131
|
textAlign: 'left',
|
|
@@ -10127,14 +10155,14 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
|
|
|
10127
10155
|
className,
|
|
10128
10156
|
component = 'p'
|
|
10129
10157
|
} = props,
|
|
10130
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$j);
|
|
10158
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$j);
|
|
10131
10159
|
const muiFormControl = useFormControl();
|
|
10132
10160
|
const fcs = formControlState({
|
|
10133
10161
|
props,
|
|
10134
10162
|
muiFormControl,
|
|
10135
10163
|
states: ['variant', 'size', 'disabled', 'error', 'filled', 'focused', 'required']
|
|
10136
10164
|
});
|
|
10137
|
-
const ownerState = _extends({}, props, {
|
|
10165
|
+
const ownerState = _extends$1({}, props, {
|
|
10138
10166
|
component,
|
|
10139
10167
|
contained: fcs.variant === 'filled' || fcs.variant === 'outlined',
|
|
10140
10168
|
variant: fcs.variant,
|
|
@@ -10146,7 +10174,7 @@ const FormHelperText = /*#__PURE__*/React.forwardRef(function FormHelperText(inP
|
|
|
10146
10174
|
required: fcs.required
|
|
10147
10175
|
});
|
|
10148
10176
|
const classes = useUtilityClasses$a(ownerState);
|
|
10149
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends({
|
|
10177
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperTextRoot, _extends$1({
|
|
10150
10178
|
as: component,
|
|
10151
10179
|
ownerState: ownerState,
|
|
10152
10180
|
className: clsx(classes.root, className),
|
|
@@ -10219,274 +10247,19 @@ process.env.NODE_ENV !== "production" ? FormHelperText.propTypes /* remove-propt
|
|
|
10219
10247
|
} : void 0;
|
|
10220
10248
|
var FormHelperText$1 = FormHelperText;
|
|
10221
10249
|
|
|
10222
|
-
|
|
10223
|
-
|
|
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.
|
|
10237
|
-
*/
|
|
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;
|
|
10244
|
-
|
|
10245
|
-
var reactIs_development = {};
|
|
10246
|
-
|
|
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.
|
|
10250
|
+
/**
|
|
10251
|
+
* @ignore - internal component.
|
|
10254
10252
|
*/
|
|
10255
|
-
|
|
10256
|
-
if (process.env.NODE_ENV !==
|
|
10257
|
-
|
|
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;
|
|
10318
|
-
}
|
|
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;
|
|
10253
|
+
const ListContext = /*#__PURE__*/React.createContext({});
|
|
10254
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
10255
|
+
ListContext.displayName = 'ListContext';
|
|
10327
10256
|
}
|
|
10257
|
+
var ListContext$1 = ListContext;
|
|
10328
10258
|
|
|
10329
|
-
function
|
|
10330
|
-
|
|
10331
|
-
|
|
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']);
|
|
10259
|
+
function getListUtilityClass(slot) {
|
|
10260
|
+
return generateUtilityClass('MuiList', slot);
|
|
10261
|
+
}
|
|
10262
|
+
generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
10490
10263
|
|
|
10491
10264
|
const _excluded$i = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
10492
10265
|
const useUtilityClasses$9 = ownerState => {
|
|
@@ -10512,7 +10285,7 @@ const ListRoot = styled$1('ul', {
|
|
|
10512
10285
|
}
|
|
10513
10286
|
})(({
|
|
10514
10287
|
ownerState
|
|
10515
|
-
}) => _extends({
|
|
10288
|
+
}) => _extends$1({
|
|
10516
10289
|
listStyle: 'none',
|
|
10517
10290
|
margin: 0,
|
|
10518
10291
|
padding: 0,
|
|
@@ -10536,11 +10309,11 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
10536
10309
|
disablePadding = false,
|
|
10537
10310
|
subheader
|
|
10538
10311
|
} = props,
|
|
10539
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$i);
|
|
10312
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$i);
|
|
10540
10313
|
const context = React.useMemo(() => ({
|
|
10541
10314
|
dense
|
|
10542
10315
|
}), [dense]);
|
|
10543
|
-
const ownerState = _extends({}, props, {
|
|
10316
|
+
const ownerState = _extends$1({}, props, {
|
|
10544
10317
|
component,
|
|
10545
10318
|
dense,
|
|
10546
10319
|
disablePadding
|
|
@@ -10548,7 +10321,7 @@ const List = /*#__PURE__*/React.forwardRef(function List(inProps, ref) {
|
|
|
10548
10321
|
const classes = useUtilityClasses$9(ownerState);
|
|
10549
10322
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ListContext$1.Provider, {
|
|
10550
10323
|
value: context,
|
|
10551
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends({
|
|
10324
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsxs(ListRoot, _extends$1({
|
|
10552
10325
|
as: component,
|
|
10553
10326
|
className: clsx(classes.root, className),
|
|
10554
10327
|
ref: ref,
|
|
@@ -10685,7 +10458,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10685
10458
|
onKeyDown,
|
|
10686
10459
|
variant = 'selectedMenu'
|
|
10687
10460
|
} = props,
|
|
10688
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$h);
|
|
10461
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$h);
|
|
10689
10462
|
const listRef = React.useRef(null);
|
|
10690
10463
|
const textCriteriaRef = React.useRef({
|
|
10691
10464
|
keys: [],
|
|
@@ -10774,13 +10547,6 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10774
10547
|
// item and use the first valid item as a fallback
|
|
10775
10548
|
React.Children.forEach(children, (child, index) => {
|
|
10776
10549
|
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
|
-
}
|
|
10784
10550
|
return;
|
|
10785
10551
|
}
|
|
10786
10552
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -10816,7 +10582,7 @@ const MenuList = /*#__PURE__*/React.forwardRef(function MenuList(props, ref) {
|
|
|
10816
10582
|
}
|
|
10817
10583
|
return child;
|
|
10818
10584
|
});
|
|
10819
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends({
|
|
10585
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(List$1, _extends$1({
|
|
10820
10586
|
role: "menu",
|
|
10821
10587
|
ref: handleRef,
|
|
10822
10588
|
className: className,
|
|
@@ -10873,6 +10639,155 @@ process.env.NODE_ENV !== "production" ? MenuList.propTypes /* remove-proptypes *
|
|
|
10873
10639
|
} : void 0;
|
|
10874
10640
|
var MenuList$1 = MenuList;
|
|
10875
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$g = ["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$g);
|
|
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.
|
|
10763
|
+
* @default false
|
|
10764
|
+
*/
|
|
10765
|
+
square: propTypesExports.bool,
|
|
10766
|
+
/**
|
|
10767
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
10768
|
+
*/
|
|
10769
|
+
sx: propTypesExports.oneOfType([propTypesExports.arrayOf(propTypesExports.oneOfType([propTypesExports.func, propTypesExports.object, propTypesExports.bool])), propTypesExports.func, propTypesExports.object]),
|
|
10770
|
+
/**
|
|
10771
|
+
* The variant to use.
|
|
10772
|
+
* @default 'elevation'
|
|
10773
|
+
*/
|
|
10774
|
+
variant: propTypesExports /* @typescript-to-proptypes-ignore */.oneOfType([propTypesExports.oneOf(['elevation', 'outlined']), propTypesExports.string])
|
|
10775
|
+
} : void 0;
|
|
10776
|
+
var Paper$1 = Paper;
|
|
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
|
+
}
|
|
10790
|
+
|
|
10876
10791
|
function _setPrototypeOf(o, p) {
|
|
10877
10792
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
10878
10793
|
o.__proto__ = p;
|
|
@@ -11547,7 +11462,7 @@ function getTransitionProps(props, options) {
|
|
|
11547
11462
|
};
|
|
11548
11463
|
}
|
|
11549
11464
|
|
|
11550
|
-
const _excluded$
|
|
11465
|
+
const _excluded$f = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
11551
11466
|
function getScale(value) {
|
|
11552
11467
|
return `scale(${value}, ${value ** 2})`;
|
|
11553
11468
|
}
|
|
@@ -11591,7 +11506,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11591
11506
|
// eslint-disable-next-line react/prop-types
|
|
11592
11507
|
TransitionComponent = Transition$1
|
|
11593
11508
|
} = props,
|
|
11594
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
11509
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$f);
|
|
11595
11510
|
const timer = React.useRef();
|
|
11596
11511
|
const autoTimeout = React.useRef();
|
|
11597
11512
|
const theme = useTheme();
|
|
@@ -11693,7 +11608,7 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11693
11608
|
clearTimeout(timer.current);
|
|
11694
11609
|
};
|
|
11695
11610
|
}, []);
|
|
11696
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11611
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
|
|
11697
11612
|
appear: appear,
|
|
11698
11613
|
in: inProp,
|
|
11699
11614
|
nodeRef: nodeRef,
|
|
@@ -11707,8 +11622,8 @@ const Grow = /*#__PURE__*/React.forwardRef(function Grow(props, ref) {
|
|
|
11707
11622
|
timeout: timeout === 'auto' ? null : timeout
|
|
11708
11623
|
}, other, {
|
|
11709
11624
|
children: (state, childProps) => {
|
|
11710
|
-
return /*#__PURE__*/React.cloneElement(children, _extends({
|
|
11711
|
-
style: _extends({
|
|
11625
|
+
return /*#__PURE__*/React.cloneElement(children, _extends$1({
|
|
11626
|
+
style: _extends$1({
|
|
11712
11627
|
opacity: 0,
|
|
11713
11628
|
transform: getScale(0.75),
|
|
11714
11629
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
@@ -11795,7 +11710,7 @@ process.env.NODE_ENV !== "production" ? Grow.propTypes /* remove-proptypes */ =
|
|
|
11795
11710
|
Grow.muiSupportAuto = true;
|
|
11796
11711
|
var Grow$1 = Grow;
|
|
11797
11712
|
|
|
11798
|
-
const _excluded$
|
|
11713
|
+
const _excluded$e = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
11799
11714
|
const styles = {
|
|
11800
11715
|
entering: {
|
|
11801
11716
|
opacity: 1
|
|
@@ -11832,7 +11747,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11832
11747
|
// eslint-disable-next-line react/prop-types
|
|
11833
11748
|
TransitionComponent = Transition$1
|
|
11834
11749
|
} = props,
|
|
11835
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
11750
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$e);
|
|
11836
11751
|
const nodeRef = React.useRef(null);
|
|
11837
11752
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
|
11838
11753
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
|
@@ -11887,7 +11802,7 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11887
11802
|
addEndListener(nodeRef.current, next);
|
|
11888
11803
|
}
|
|
11889
11804
|
};
|
|
11890
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11805
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
|
|
11891
11806
|
appear: appear,
|
|
11892
11807
|
in: inProp,
|
|
11893
11808
|
nodeRef: nodeRef ,
|
|
@@ -11901,8 +11816,8 @@ const Fade = /*#__PURE__*/React.forwardRef(function Fade(props, ref) {
|
|
|
11901
11816
|
timeout: timeout
|
|
11902
11817
|
}, other, {
|
|
11903
11818
|
children: (state, childProps) => {
|
|
11904
|
-
return /*#__PURE__*/React.cloneElement(children, _extends({
|
|
11905
|
-
style: _extends({
|
|
11819
|
+
return /*#__PURE__*/React.cloneElement(children, _extends$1({
|
|
11820
|
+
style: _extends$1({
|
|
11906
11821
|
opacity: 0,
|
|
11907
11822
|
visibility: state === 'exited' && !inProp ? 'hidden' : undefined
|
|
11908
11823
|
}, styles[state], style, children.props.style),
|
|
@@ -11993,8 +11908,8 @@ function getBackdropUtilityClass(slot) {
|
|
|
11993
11908
|
}
|
|
11994
11909
|
generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
11995
11910
|
|
|
11996
|
-
const _excluded$
|
|
11997
|
-
const useUtilityClasses$
|
|
11911
|
+
const _excluded$d = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
11912
|
+
const useUtilityClasses$7 = ownerState => {
|
|
11998
11913
|
const {
|
|
11999
11914
|
classes,
|
|
12000
11915
|
invisible
|
|
@@ -12015,7 +11930,7 @@ const BackdropRoot = styled$1('div', {
|
|
|
12015
11930
|
}
|
|
12016
11931
|
})(({
|
|
12017
11932
|
ownerState
|
|
12018
|
-
}) => _extends({
|
|
11933
|
+
}) => _extends$1({
|
|
12019
11934
|
position: 'fixed',
|
|
12020
11935
|
display: 'flex',
|
|
12021
11936
|
alignItems: 'center',
|
|
@@ -12048,23 +11963,23 @@ const Backdrop = /*#__PURE__*/React.forwardRef(function Backdrop(inProps, ref) {
|
|
|
12048
11963
|
TransitionComponent = Fade$1,
|
|
12049
11964
|
transitionDuration
|
|
12050
11965
|
} = props,
|
|
12051
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12052
|
-
const ownerState = _extends({}, props, {
|
|
11966
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$d);
|
|
11967
|
+
const ownerState = _extends$1({}, props, {
|
|
12053
11968
|
component,
|
|
12054
11969
|
invisible
|
|
12055
11970
|
});
|
|
12056
|
-
const classes = useUtilityClasses$
|
|
11971
|
+
const classes = useUtilityClasses$7(ownerState);
|
|
12057
11972
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
12058
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends({
|
|
11973
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
|
|
12059
11974
|
in: open,
|
|
12060
11975
|
timeout: transitionDuration
|
|
12061
11976
|
}, other, {
|
|
12062
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends({
|
|
11977
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(BackdropRoot, _extends$1({
|
|
12063
11978
|
"aria-hidden": true
|
|
12064
11979
|
}, rootSlotProps, {
|
|
12065
11980
|
as: (_ref = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref : component,
|
|
12066
11981
|
className: clsx(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
12067
|
-
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
11982
|
+
ownerState: _extends$1({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
12068
11983
|
classes: classes,
|
|
12069
11984
|
ref: ref,
|
|
12070
11985
|
children: children
|
|
@@ -12169,7 +12084,7 @@ process.env.NODE_ENV !== "production" ? Backdrop.propTypes /* remove-proptypes *
|
|
|
12169
12084
|
} : void 0;
|
|
12170
12085
|
var Backdrop$1 = Backdrop;
|
|
12171
12086
|
|
|
12172
|
-
const _excluded$
|
|
12087
|
+
const _excluded$c = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "open", "slotProps", "slots", "theme"];
|
|
12173
12088
|
const ModalRoot = styled$1('div', {
|
|
12174
12089
|
name: 'MuiModal',
|
|
12175
12090
|
slot: 'Root',
|
|
@@ -12182,7 +12097,7 @@ const ModalRoot = styled$1('div', {
|
|
|
12182
12097
|
})(({
|
|
12183
12098
|
theme,
|
|
12184
12099
|
ownerState
|
|
12185
|
-
}) => _extends({
|
|
12100
|
+
}) => _extends$1({
|
|
12186
12101
|
position: 'fixed',
|
|
12187
12102
|
zIndex: (theme.vars || theme).zIndex.modal,
|
|
12188
12103
|
right: 0,
|
|
@@ -12248,7 +12163,7 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
12248
12163
|
// eslint-disable-next-line react/prop-types
|
|
12249
12164
|
theme
|
|
12250
12165
|
} = props,
|
|
12251
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
12166
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$c);
|
|
12252
12167
|
const [exited, setExited] = React.useState(true);
|
|
12253
12168
|
const commonProps = {
|
|
12254
12169
|
container,
|
|
@@ -12265,26 +12180,26 @@ const Modal = /*#__PURE__*/React.forwardRef(function Modal(inProps, ref) {
|
|
|
12265
12180
|
onClose,
|
|
12266
12181
|
open
|
|
12267
12182
|
};
|
|
12268
|
-
const ownerState = _extends({}, props, commonProps, {
|
|
12183
|
+
const ownerState = _extends$1({}, props, commonProps, {
|
|
12269
12184
|
exited
|
|
12270
12185
|
});
|
|
12271
12186
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
12272
12187
|
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
12273
12188
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
12274
12189
|
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
12275
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(ModalUnstyled, _extends({
|
|
12190
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(ModalUnstyled, _extends$1({
|
|
12276
12191
|
slots: {
|
|
12277
12192
|
root: RootSlot,
|
|
12278
12193
|
backdrop: BackdropSlot
|
|
12279
12194
|
},
|
|
12280
12195
|
slotProps: {
|
|
12281
|
-
root: () => _extends({}, resolveComponentProps(rootSlotProps, ownerState), !isHostComponent(RootSlot) && {
|
|
12196
|
+
root: () => _extends$1({}, resolveComponentProps(rootSlotProps, ownerState), !isHostComponent(RootSlot) && {
|
|
12282
12197
|
as: component,
|
|
12283
12198
|
theme
|
|
12284
12199
|
}, {
|
|
12285
12200
|
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))
|
|
12286
12201
|
}),
|
|
12287
|
-
backdrop: () => _extends({}, BackdropProps, resolveComponentProps(backdropSlotProps, ownerState), {
|
|
12202
|
+
backdrop: () => _extends$1({}, BackdropProps, resolveComponentProps(backdropSlotProps, ownerState), {
|
|
12288
12203
|
className: clsx(backdropSlotProps == null ? void 0 : backdropSlotProps.className, BackdropProps == null ? void 0 : BackdropProps.className, classes == null ? void 0 : classes.backdrop)
|
|
12289
12204
|
})
|
|
12290
12205
|
},
|
|
@@ -12467,150 +12382,13 @@ process.env.NODE_ENV !== "production" ? Modal.propTypes /* remove-proptypes */ =
|
|
|
12467
12382
|
} : void 0;
|
|
12468
12383
|
var Modal$1 = Modal;
|
|
12469
12384
|
|
|
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
|
-
|
|
12606
12385
|
function getPopoverUtilityClass(slot) {
|
|
12607
12386
|
return generateUtilityClass('MuiPopover', slot);
|
|
12608
12387
|
}
|
|
12609
12388
|
generateUtilityClasses('MuiPopover', ['root', 'paper']);
|
|
12610
12389
|
|
|
12611
12390
|
const _excluded$b = ["onEntering"],
|
|
12612
|
-
_excluded2$1 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "
|
|
12613
|
-
_excluded3 = ["slotProps"];
|
|
12391
|
+
_excluded2$1 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps"];
|
|
12614
12392
|
function getOffsetTop(rect, vertical) {
|
|
12615
12393
|
let offset = 0;
|
|
12616
12394
|
if (typeof vertical === 'number') {
|
|
@@ -12654,7 +12432,7 @@ const PopoverRoot = styled$1(Modal$1, {
|
|
|
12654
12432
|
slot: 'Root',
|
|
12655
12433
|
overridesResolver: (props, styles) => styles.root
|
|
12656
12434
|
})({});
|
|
12657
|
-
const PopoverPaper = styled$1(
|
|
12435
|
+
const PopoverPaper = styled$1(Paper$1, {
|
|
12658
12436
|
name: 'MuiPopover',
|
|
12659
12437
|
slot: 'Paper',
|
|
12660
12438
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -12672,7 +12450,6 @@ const PopoverPaper = styled$1(PaperBase, {
|
|
|
12672
12450
|
outline: 0
|
|
12673
12451
|
});
|
|
12674
12452
|
const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
12675
|
-
var _slotProps$paper, _slots$root, _slots$paper;
|
|
12676
12453
|
const props = useThemeProps({
|
|
12677
12454
|
props: inProps,
|
|
12678
12455
|
name: 'MuiPopover'
|
|
@@ -12692,9 +12469,7 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12692
12469
|
elevation = 8,
|
|
12693
12470
|
marginThreshold = 16,
|
|
12694
12471
|
open,
|
|
12695
|
-
PaperProps
|
|
12696
|
-
slots,
|
|
12697
|
-
slotProps,
|
|
12472
|
+
PaperProps = {},
|
|
12698
12473
|
transformOrigin = {
|
|
12699
12474
|
vertical: 'top',
|
|
12700
12475
|
horizontal: 'left'
|
|
@@ -12705,17 +12480,16 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12705
12480
|
onEntering
|
|
12706
12481
|
} = {}
|
|
12707
12482
|
} = props,
|
|
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;
|
|
12483
|
+
TransitionProps = _objectWithoutPropertiesLoose$2(props.TransitionProps, _excluded$b),
|
|
12484
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded2$1);
|
|
12711
12485
|
const paperRef = React.useRef();
|
|
12712
|
-
const handlePaperRef = useForkRef(paperRef,
|
|
12713
|
-
const ownerState = _extends({}, props, {
|
|
12486
|
+
const handlePaperRef = useForkRef(paperRef, PaperProps.ref);
|
|
12487
|
+
const ownerState = _extends$1({}, props, {
|
|
12714
12488
|
anchorOrigin,
|
|
12715
12489
|
anchorReference,
|
|
12716
12490
|
elevation,
|
|
12717
12491
|
marginThreshold,
|
|
12718
|
-
|
|
12492
|
+
PaperProps,
|
|
12719
12493
|
transformOrigin,
|
|
12720
12494
|
TransitionComponent,
|
|
12721
12495
|
transitionDuration: transitionDurationProp,
|
|
@@ -12880,54 +12654,34 @@ const Popover = /*#__PURE__*/React.forwardRef(function Popover(inProps, ref) {
|
|
|
12880
12654
|
// If the anchorEl prop is provided, use its parent body element as the container
|
|
12881
12655
|
// If neither are provided let the Modal take care of choosing the container
|
|
12882
12656
|
const container = containerProp || (anchorEl ? ownerDocument(resolveAnchorEl(anchorEl)).body : undefined);
|
|
12883
|
-
|
|
12884
|
-
|
|
12885
|
-
|
|
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
|
|
12657
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(PopoverRoot, _extends$1({
|
|
12658
|
+
BackdropProps: {
|
|
12659
|
+
invisible: true
|
|
12895
12660
|
},
|
|
12896
|
-
|
|
12897
|
-
|
|
12898
|
-
|
|
12899
|
-
|
|
12900
|
-
|
|
12901
|
-
|
|
12902
|
-
|
|
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({
|
|
12661
|
+
className: clsx(classes.root, className),
|
|
12662
|
+
container: container,
|
|
12663
|
+
open: open,
|
|
12664
|
+
ref: ref,
|
|
12665
|
+
ownerState: ownerState
|
|
12666
|
+
}, other, {
|
|
12667
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(TransitionComponent, _extends$1({
|
|
12924
12668
|
appear: true,
|
|
12925
12669
|
in: open,
|
|
12926
12670
|
onEntering: handleEntering,
|
|
12927
12671
|
onExited: handleExited,
|
|
12928
12672
|
timeout: transitionDuration
|
|
12929
12673
|
}, TransitionProps, {
|
|
12930
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(
|
|
12674
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(PopoverPaper, _extends$1({
|
|
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,
|
|
12931
12685
|
children: children
|
|
12932
12686
|
}))
|
|
12933
12687
|
}))
|
|
@@ -13033,34 +12787,11 @@ process.env.NODE_ENV !== "production" ? Popover.propTypes /* remove-proptypes */
|
|
|
13033
12787
|
open: propTypesExports.bool.isRequired,
|
|
13034
12788
|
/**
|
|
13035
12789
|
* 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
|
-
*
|
|
13040
12790
|
* @default {}
|
|
13041
12791
|
*/
|
|
13042
12792
|
PaperProps: propTypesExports /* @typescript-to-proptypes-ignore */.shape({
|
|
13043
12793
|
component: elementTypeAcceptingRef$1
|
|
13044
12794
|
}),
|
|
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
|
-
}),
|
|
13064
12795
|
/**
|
|
13065
12796
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
13066
12797
|
*/
|
|
@@ -13137,7 +12868,7 @@ const MenuRoot = styled$1(Popover$1, {
|
|
|
13137
12868
|
slot: 'Root',
|
|
13138
12869
|
overridesResolver: (props, styles) => styles.root
|
|
13139
12870
|
})({});
|
|
13140
|
-
const MenuPaper = styled$1(
|
|
12871
|
+
const MenuPaper = styled$1(Paper$1, {
|
|
13141
12872
|
name: 'MuiMenu',
|
|
13142
12873
|
slot: 'Paper',
|
|
13143
12874
|
overridesResolver: (props, styles) => styles.paper
|
|
@@ -13177,11 +12908,11 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
|
13177
12908
|
} = {},
|
|
13178
12909
|
variant = 'selectedMenu'
|
|
13179
12910
|
} = props,
|
|
13180
|
-
TransitionProps = _objectWithoutPropertiesLoose(props.TransitionProps, _excluded$a),
|
|
13181
|
-
other = _objectWithoutPropertiesLoose(props, _excluded2);
|
|
12911
|
+
TransitionProps = _objectWithoutPropertiesLoose$2(props.TransitionProps, _excluded$a),
|
|
12912
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded2);
|
|
13182
12913
|
const theme = useTheme();
|
|
13183
12914
|
const isRtl = theme.direction === 'rtl';
|
|
13184
|
-
const ownerState = _extends({}, props, {
|
|
12915
|
+
const ownerState = _extends$1({}, props, {
|
|
13185
12916
|
autoFocus,
|
|
13186
12917
|
disableAutoFocusItem,
|
|
13187
12918
|
MenuListProps,
|
|
@@ -13237,34 +12968,31 @@ const Menu = /*#__PURE__*/React.forwardRef(function Menu(inProps, ref) {
|
|
|
13237
12968
|
}
|
|
13238
12969
|
}
|
|
13239
12970
|
});
|
|
13240
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(MenuRoot, _extends({
|
|
12971
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(MenuRoot, _extends$1({
|
|
13241
12972
|
onClose: onClose,
|
|
13242
12973
|
anchorOrigin: {
|
|
13243
12974
|
vertical: 'bottom',
|
|
13244
12975
|
horizontal: isRtl ? 'right' : 'left'
|
|
13245
12976
|
},
|
|
13246
12977
|
transformOrigin: isRtl ? RTL_ORIGIN : LTR_ORIGIN,
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
-
},
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
classes: _extends({}, PaperProps.classes, {
|
|
13253
|
-
root: classes.paper
|
|
13254
|
-
})
|
|
12978
|
+
PaperProps: _extends$1({
|
|
12979
|
+
as: MenuPaper
|
|
12980
|
+
}, PaperProps, {
|
|
12981
|
+
classes: _extends$1({}, PaperProps.classes, {
|
|
12982
|
+
root: classes.paper
|
|
13255
12983
|
})
|
|
13256
|
-
},
|
|
12984
|
+
}),
|
|
13257
12985
|
className: classes.root,
|
|
13258
12986
|
open: open,
|
|
13259
12987
|
ref: ref,
|
|
13260
12988
|
transitionDuration: transitionDuration,
|
|
13261
|
-
TransitionProps: _extends({
|
|
12989
|
+
TransitionProps: _extends$1({
|
|
13262
12990
|
onEntering: handleEntering
|
|
13263
12991
|
}, TransitionProps),
|
|
13264
12992
|
ownerState: ownerState
|
|
13265
12993
|
}, other, {
|
|
13266
12994
|
classes: PopoverClasses,
|
|
13267
|
-
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuMenuList, _extends({
|
|
12995
|
+
children: /*#__PURE__*/jsxRuntimeExports.jsx(MenuMenuList, _extends$1({
|
|
13268
12996
|
onKeyDown: handleListKeyDown,
|
|
13269
12997
|
actions: menuListActionsRef,
|
|
13270
12998
|
autoFocus: autoFocus && (activeItemIndex === -1 || disableAutoFocusItem),
|
|
@@ -13386,7 +13114,7 @@ const useUtilityClasses$4 = ownerState => {
|
|
|
13386
13114
|
const nativeSelectSelectStyles = ({
|
|
13387
13115
|
ownerState,
|
|
13388
13116
|
theme
|
|
13389
|
-
}) => _extends({
|
|
13117
|
+
}) => _extends$1({
|
|
13390
13118
|
MozAppearance: 'none',
|
|
13391
13119
|
// Reset
|
|
13392
13120
|
WebkitAppearance: 'none',
|
|
@@ -13397,7 +13125,7 @@ const nativeSelectSelectStyles = ({
|
|
|
13397
13125
|
borderRadius: 0,
|
|
13398
13126
|
// Reset
|
|
13399
13127
|
cursor: 'pointer',
|
|
13400
|
-
'&:focus': _extends({}, theme.vars ? {
|
|
13128
|
+
'&:focus': _extends$1({}, theme.vars ? {
|
|
13401
13129
|
backgroundColor: `rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.05)`
|
|
13402
13130
|
} : {
|
|
13403
13131
|
backgroundColor: theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.05)' : 'rgba(255, 255, 255, 0.05)'
|
|
@@ -13453,7 +13181,7 @@ const NativeSelectSelect = styled$1('select', {
|
|
|
13453
13181
|
const nativeSelectIconStyles = ({
|
|
13454
13182
|
ownerState,
|
|
13455
13183
|
theme
|
|
13456
|
-
}) => _extends({
|
|
13184
|
+
}) => _extends$1({
|
|
13457
13185
|
// We use a position absolute over a flexbox in order to forward the pointer events
|
|
13458
13186
|
// to the input and to support wrapping tags..
|
|
13459
13187
|
position: 'absolute',
|
|
@@ -13496,15 +13224,15 @@ const NativeSelectInput = /*#__PURE__*/React.forwardRef(function NativeSelectInp
|
|
|
13496
13224
|
inputRef,
|
|
13497
13225
|
variant = 'standard'
|
|
13498
13226
|
} = props,
|
|
13499
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$9);
|
|
13500
|
-
const ownerState = _extends({}, props, {
|
|
13227
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$9);
|
|
13228
|
+
const ownerState = _extends$1({}, props, {
|
|
13501
13229
|
disabled,
|
|
13502
13230
|
variant,
|
|
13503
13231
|
error
|
|
13504
13232
|
});
|
|
13505
13233
|
const classes = useUtilityClasses$4(ownerState);
|
|
13506
13234
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
13507
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends({
|
|
13235
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(NativeSelectSelect, _extends$1({
|
|
13508
13236
|
ownerState: ownerState,
|
|
13509
13237
|
className: clsx(classes.select, className),
|
|
13510
13238
|
disabled: disabled,
|
|
@@ -13703,7 +13431,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13703
13431
|
value: valueProp,
|
|
13704
13432
|
variant = 'standard'
|
|
13705
13433
|
} = props,
|
|
13706
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$8);
|
|
13434
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$8);
|
|
13707
13435
|
const [value, setValueState] = useControlled({
|
|
13708
13436
|
controlled: valueProp,
|
|
13709
13437
|
default: defaultValue,
|
|
@@ -13985,7 +13713,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13985
13713
|
tabIndex = disabled ? null : 0;
|
|
13986
13714
|
}
|
|
13987
13715
|
const buttonId = SelectDisplayProps.id || (name ? `mui-component-select-${name}` : undefined);
|
|
13988
|
-
const ownerState = _extends({}, props, {
|
|
13716
|
+
const ownerState = _extends$1({}, props, {
|
|
13989
13717
|
variant,
|
|
13990
13718
|
value,
|
|
13991
13719
|
open,
|
|
@@ -13993,7 +13721,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
13993
13721
|
});
|
|
13994
13722
|
const classes = useUtilityClasses$3(ownerState);
|
|
13995
13723
|
return /*#__PURE__*/jsxRuntimeExports.jsxs(React.Fragment, {
|
|
13996
|
-
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SelectSelect, _extends({
|
|
13724
|
+
children: [/*#__PURE__*/jsxRuntimeExports.jsx(SelectSelect, _extends$1({
|
|
13997
13725
|
ref: handleDisplayRef,
|
|
13998
13726
|
tabIndex: tabIndex,
|
|
13999
13727
|
role: "button",
|
|
@@ -14018,7 +13746,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
14018
13746
|
className: "notranslate",
|
|
14019
13747
|
children: "\u200B"
|
|
14020
13748
|
})) : display
|
|
14021
|
-
})), /*#__PURE__*/jsxRuntimeExports.jsx(SelectNativeInput, _extends({
|
|
13749
|
+
})), /*#__PURE__*/jsxRuntimeExports.jsx(SelectNativeInput, _extends$1({
|
|
14022
13750
|
"aria-invalid": error,
|
|
14023
13751
|
value: Array.isArray(value) ? value.join(',') : value,
|
|
14024
13752
|
name: name,
|
|
@@ -14034,7 +13762,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
14034
13762
|
as: IconComponent,
|
|
14035
13763
|
className: classes.icon,
|
|
14036
13764
|
ownerState: ownerState
|
|
14037
|
-
}), /*#__PURE__*/jsxRuntimeExports.jsx(Menu$1, _extends({
|
|
13765
|
+
}), /*#__PURE__*/jsxRuntimeExports.jsx(Menu$1, _extends$1({
|
|
14038
13766
|
id: `menu-${name || ''}`,
|
|
14039
13767
|
anchorEl: anchorElement,
|
|
14040
13768
|
open: open,
|
|
@@ -14048,13 +13776,13 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
14048
13776
|
horizontal: 'center'
|
|
14049
13777
|
}
|
|
14050
13778
|
}, MenuProps, {
|
|
14051
|
-
MenuListProps: _extends({
|
|
13779
|
+
MenuListProps: _extends$1({
|
|
14052
13780
|
'aria-labelledby': labelId,
|
|
14053
13781
|
role: 'listbox',
|
|
14054
13782
|
disableListWrap: true
|
|
14055
13783
|
}, MenuProps.MenuListProps),
|
|
14056
|
-
PaperProps: _extends({}, MenuProps.PaperProps, {
|
|
14057
|
-
style: _extends({
|
|
13784
|
+
PaperProps: _extends$1({}, MenuProps.PaperProps, {
|
|
13785
|
+
style: _extends$1({
|
|
14058
13786
|
minWidth: menuMinWidth
|
|
14059
13787
|
}, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)
|
|
14060
13788
|
}),
|
|
@@ -14280,8 +14008,8 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
14280
14008
|
titleAccess,
|
|
14281
14009
|
viewBox = '0 0 24 24'
|
|
14282
14010
|
} = props,
|
|
14283
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$7);
|
|
14284
|
-
const ownerState = _extends({}, props, {
|
|
14011
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$7);
|
|
14012
|
+
const ownerState = _extends$1({}, props, {
|
|
14285
14013
|
color,
|
|
14286
14014
|
component,
|
|
14287
14015
|
fontSize,
|
|
@@ -14294,7 +14022,7 @@ const SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(inProps, ref) {
|
|
|
14294
14022
|
more.viewBox = viewBox;
|
|
14295
14023
|
}
|
|
14296
14024
|
const classes = useUtilityClasses$2(ownerState);
|
|
14297
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends({
|
|
14025
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(SvgIconRoot, _extends$1({
|
|
14298
14026
|
as: component,
|
|
14299
14027
|
className: clsx(classes.root, className),
|
|
14300
14028
|
focusable: "false",
|
|
@@ -14386,7 +14114,7 @@ var SvgIcon$1 = SvgIcon;
|
|
|
14386
14114
|
|
|
14387
14115
|
function createSvgIcon(path, displayName) {
|
|
14388
14116
|
function Component(props, ref) {
|
|
14389
|
-
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$1, _extends({
|
|
14117
|
+
return /*#__PURE__*/jsxRuntimeExports.jsx(SvgIcon$1, _extends$1({
|
|
14390
14118
|
"data-testid": `${displayName}Icon`,
|
|
14391
14119
|
ref: ref
|
|
14392
14120
|
}, props, {
|
|
@@ -14450,7 +14178,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14450
14178
|
SelectDisplayProps,
|
|
14451
14179
|
variant: variantProp = 'outlined'
|
|
14452
14180
|
} = props,
|
|
14453
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$6);
|
|
14181
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$6);
|
|
14454
14182
|
const inputComponent = native ? NativeSelectInput$1 : SelectInput$1;
|
|
14455
14183
|
const muiFormControl = useFormControl();
|
|
14456
14184
|
const fcs = formControlState({
|
|
@@ -14459,7 +14187,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14459
14187
|
states: ['variant', 'error']
|
|
14460
14188
|
});
|
|
14461
14189
|
const variant = fcs.variant || variantProp;
|
|
14462
|
-
const ownerState = _extends({}, props, {
|
|
14190
|
+
const ownerState = _extends$1({}, props, {
|
|
14463
14191
|
variant,
|
|
14464
14192
|
classes: classesProp
|
|
14465
14193
|
});
|
|
@@ -14478,11 +14206,11 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14478
14206
|
}[variant];
|
|
14479
14207
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
14480
14208
|
return /*#__PURE__*/jsxRuntimeExports.jsx(React.Fragment, {
|
|
14481
|
-
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends({
|
|
14209
|
+
children: /*#__PURE__*/React.cloneElement(InputComponent, _extends$1({
|
|
14482
14210
|
// Most of the logic is implemented in `SelectInput`.
|
|
14483
14211
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
14484
14212
|
inputComponent,
|
|
14485
|
-
inputProps: _extends({
|
|
14213
|
+
inputProps: _extends$1({
|
|
14486
14214
|
children,
|
|
14487
14215
|
error: fcs.error,
|
|
14488
14216
|
IconComponent,
|
|
@@ -14502,7 +14230,7 @@ const Select = /*#__PURE__*/React.forwardRef(function Select(inProps, ref) {
|
|
|
14502
14230
|
onOpen,
|
|
14503
14231
|
open,
|
|
14504
14232
|
renderValue,
|
|
14505
|
-
SelectDisplayProps: _extends({
|
|
14233
|
+
SelectDisplayProps: _extends$1({
|
|
14506
14234
|
id
|
|
14507
14235
|
}, SelectDisplayProps)
|
|
14508
14236
|
}, inputProps, {
|
|
@@ -14766,8 +14494,8 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14766
14494
|
value,
|
|
14767
14495
|
variant = 'outlined'
|
|
14768
14496
|
} = props,
|
|
14769
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$5);
|
|
14770
|
-
const ownerState = _extends({}, props, {
|
|
14497
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$5);
|
|
14498
|
+
const ownerState = _extends$1({}, props, {
|
|
14771
14499
|
autoFocus,
|
|
14772
14500
|
color,
|
|
14773
14501
|
disabled,
|
|
@@ -14802,7 +14530,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14802
14530
|
const helperTextId = helperText && id ? `${id}-helper-text` : undefined;
|
|
14803
14531
|
const inputLabelId = label && id ? `${id}-label` : undefined;
|
|
14804
14532
|
const InputComponent = variantComponent[variant];
|
|
14805
|
-
const InputElement = /*#__PURE__*/jsxRuntimeExports.jsx(InputComponent, _extends({
|
|
14533
|
+
const InputElement = /*#__PURE__*/jsxRuntimeExports.jsx(InputComponent, _extends$1({
|
|
14806
14534
|
"aria-describedby": helperTextId,
|
|
14807
14535
|
autoComplete: autoComplete,
|
|
14808
14536
|
autoFocus: autoFocus,
|
|
@@ -14824,7 +14552,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14824
14552
|
placeholder: placeholder,
|
|
14825
14553
|
inputProps: inputProps
|
|
14826
14554
|
}, InputMore, InputProps));
|
|
14827
|
-
return /*#__PURE__*/jsxRuntimeExports.jsxs(TextFieldRoot, _extends({
|
|
14555
|
+
return /*#__PURE__*/jsxRuntimeExports.jsxs(TextFieldRoot, _extends$1({
|
|
14828
14556
|
className: clsx(classes.root, className),
|
|
14829
14557
|
disabled: disabled,
|
|
14830
14558
|
error: error,
|
|
@@ -14835,12 +14563,12 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14835
14563
|
variant: variant,
|
|
14836
14564
|
ownerState: ownerState
|
|
14837
14565
|
}, other, {
|
|
14838
|
-
children: [label != null && label !== '' && /*#__PURE__*/jsxRuntimeExports.jsx(InputLabel$1, _extends({
|
|
14566
|
+
children: [label != null && label !== '' && /*#__PURE__*/jsxRuntimeExports.jsx(InputLabel$1, _extends$1({
|
|
14839
14567
|
htmlFor: id,
|
|
14840
14568
|
id: inputLabelId
|
|
14841
14569
|
}, InputLabelProps, {
|
|
14842
14570
|
children: label
|
|
14843
|
-
})), select ? /*#__PURE__*/jsxRuntimeExports.jsx(Select$1, _extends({
|
|
14571
|
+
})), select ? /*#__PURE__*/jsxRuntimeExports.jsx(Select$1, _extends$1({
|
|
14844
14572
|
"aria-describedby": helperTextId,
|
|
14845
14573
|
id: id,
|
|
14846
14574
|
labelId: inputLabelId,
|
|
@@ -14848,7 +14576,7 @@ const TextField = /*#__PURE__*/React.forwardRef(function TextField(inProps, ref)
|
|
|
14848
14576
|
input: InputElement
|
|
14849
14577
|
}, SelectProps, {
|
|
14850
14578
|
children: children
|
|
14851
|
-
})) : InputElement, helperText && /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperText$1, _extends({
|
|
14579
|
+
})) : InputElement, helperText && /*#__PURE__*/jsxRuntimeExports.jsx(FormHelperText$1, _extends$1({
|
|
14852
14580
|
id: helperTextId
|
|
14853
14581
|
}, FormHelperTextProps, {
|
|
14854
14582
|
children: helperText
|
|
@@ -15401,13 +15129,13 @@ const Toolbar = props => {
|
|
|
15401
15129
|
densityButtonProps,
|
|
15402
15130
|
densityButtonRef
|
|
15403
15131
|
} = props;
|
|
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$
|
|
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$3({}, filterButtonProps, {
|
|
15405
15133
|
ref: filterButtonRef
|
|
15406
|
-
})) : null, hasColumnsButton ? /*#__PURE__*/React__default.createElement(GridToolbarColumnsButton, _extends$
|
|
15134
|
+
})) : null, hasColumnsButton ? /*#__PURE__*/React__default.createElement(GridToolbarColumnsButton, _extends$3({}, columnsButtonProps, {
|
|
15407
15135
|
ref: columnsButtonRef
|
|
15408
|
-
})) : null, hasDensityButton ? /*#__PURE__*/React__default.createElement(GridToolbarDensitySelector, _extends$
|
|
15136
|
+
})) : null, hasDensityButton ? /*#__PURE__*/React__default.createElement(GridToolbarDensitySelector, _extends$3({}, densityButtonProps, {
|
|
15409
15137
|
ref: densityButtonRef
|
|
15410
|
-
})) : null, hasExportButton ? /*#__PURE__*/React__default.createElement(GridToolbarExport, _extends$
|
|
15138
|
+
})) : null, hasExportButton ? /*#__PURE__*/React__default.createElement(GridToolbarExport, _extends$3({
|
|
15411
15139
|
csvOptions: {
|
|
15412
15140
|
allColumns: true,
|
|
15413
15141
|
fileName: 'csv',
|
|
@@ -15446,26 +15174,28 @@ const BaseIcon = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15446
15174
|
fontSize = 'small'
|
|
15447
15175
|
} = props,
|
|
15448
15176
|
forwardedProps = _objectWithoutProperties(props, _excluded$4);
|
|
15449
|
-
return /*#__PURE__*/React__default.createElement(Icon, _extends$
|
|
15177
|
+
return /*#__PURE__*/React__default.createElement(Icon, _extends$3({}, forwardedProps, forwardedProps.inputProps, {
|
|
15450
15178
|
ref: ref,
|
|
15451
15179
|
size: fontSize,
|
|
15452
15180
|
icon: muiIconToDSIcon[displayName]
|
|
15453
15181
|
}));
|
|
15454
15182
|
});
|
|
15455
15183
|
|
|
15456
|
-
const _excluded$3 = ["children", "onClick", "startIcon"];
|
|
15184
|
+
const _excluded$3 = ["children", "color", "onClick", "startIcon"];
|
|
15457
15185
|
const BaseButton = /*#__PURE__*/forwardRef((props, ref) => {
|
|
15458
15186
|
const {
|
|
15459
15187
|
children,
|
|
15188
|
+
color: propsColor,
|
|
15460
15189
|
onClick,
|
|
15461
15190
|
startIcon
|
|
15462
15191
|
} = props,
|
|
15463
15192
|
forwardedProps = _objectWithoutProperties(props, _excluded$3);
|
|
15464
|
-
|
|
15193
|
+
const color = [...Object.values(ColorPalette), ...Object.values(ProductColorPalette)].includes(propsColor) ? propsColor : 'default';
|
|
15194
|
+
return /*#__PURE__*/React__default.createElement(Button, _extends$3({}, forwardedProps, {
|
|
15195
|
+
color: color,
|
|
15465
15196
|
onPress: onClick,
|
|
15466
15197
|
ref: ref,
|
|
15467
15198
|
variant: "unstyled",
|
|
15468
|
-
size: "small",
|
|
15469
15199
|
isActive: props['aria-expanded'] === 'true'
|
|
15470
15200
|
}), startIcon, children);
|
|
15471
15201
|
});
|
|
@@ -15479,7 +15209,7 @@ const BaseCheckbox = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15479
15209
|
onChange
|
|
15480
15210
|
} = props,
|
|
15481
15211
|
forwardedProps = _objectWithoutProperties(props, _excluded$2);
|
|
15482
|
-
return /*#__PURE__*/React__default.createElement(Checkbox, _extends$
|
|
15212
|
+
return /*#__PURE__*/React__default.createElement(Checkbox, _extends$3({}, forwardedProps, forwardedProps.inputProps, {
|
|
15483
15213
|
isSelected: checked && !indeterminate,
|
|
15484
15214
|
isColored: false,
|
|
15485
15215
|
isDisabled: disabled,
|
|
@@ -15528,44 +15258,44 @@ const DataGrid = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15528
15258
|
ref: datagridRef,
|
|
15529
15259
|
className: classNames(DataGrid.className, className),
|
|
15530
15260
|
$height: height
|
|
15531
|
-
}, /*#__PURE__*/React__default.createElement(DataGridPro, _extends$
|
|
15261
|
+
}, /*#__PURE__*/React__default.createElement(DataGridPro, _extends$3({}, forwardedProps, {
|
|
15532
15262
|
rows: rows,
|
|
15533
15263
|
filterModel: filterModel,
|
|
15534
15264
|
onFilterModelChange: onFilterModelChange,
|
|
15535
15265
|
components: _objectSpread2(_objectSpread2({
|
|
15536
15266
|
BaseButton,
|
|
15537
15267
|
BaseCheckbox,
|
|
15538
|
-
ColumnFilteredIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15268
|
+
ColumnFilteredIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15539
15269
|
displayName: "ColumnFilteredIcon"
|
|
15540
15270
|
})),
|
|
15541
|
-
ColumnSelectorIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15271
|
+
ColumnSelectorIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15542
15272
|
displayName: "ColumnSelectorIcon"
|
|
15543
15273
|
})),
|
|
15544
|
-
ColumnSortedAscendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15274
|
+
ColumnSortedAscendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15545
15275
|
displayName: "ColumnSortedAscendingIcon"
|
|
15546
15276
|
})),
|
|
15547
|
-
ColumnSortedDescendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15277
|
+
ColumnSortedDescendingIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15548
15278
|
displayName: "ColumnSortedDescendingIcon"
|
|
15549
15279
|
})),
|
|
15550
|
-
DensityCompactIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15280
|
+
DensityCompactIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15551
15281
|
displayName: "DensityCompactIcon"
|
|
15552
15282
|
})),
|
|
15553
|
-
DensityStandardIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15283
|
+
DensityStandardIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15554
15284
|
displayName: "DensityStandardIcon"
|
|
15555
15285
|
})),
|
|
15556
|
-
DensityComfortableIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15286
|
+
DensityComfortableIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15557
15287
|
displayName: "DensityComfortableIcon"
|
|
15558
15288
|
})),
|
|
15559
|
-
DetailPanelCollapseIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15289
|
+
DetailPanelCollapseIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15560
15290
|
displayName: "DetailPanelCollapseIcon"
|
|
15561
15291
|
})),
|
|
15562
|
-
DetailPanelExpandIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15292
|
+
DetailPanelExpandIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15563
15293
|
displayName: "DetailPanelExpandIcon"
|
|
15564
15294
|
})),
|
|
15565
|
-
ExportIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15295
|
+
ExportIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15566
15296
|
displayName: "ExportIcon"
|
|
15567
15297
|
})),
|
|
15568
|
-
OpenFilterButtonIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$
|
|
15298
|
+
OpenFilterButtonIcon: props => /*#__PURE__*/React__default.createElement(BaseIcon, _extends$3({}, props, {
|
|
15569
15299
|
displayName: "OpenFilterButtonIcon"
|
|
15570
15300
|
}))
|
|
15571
15301
|
}, !hideToolbar && {
|
|
@@ -15621,7 +15351,7 @@ const TextCell = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
15621
15351
|
shieldVariant
|
|
15622
15352
|
} = props,
|
|
15623
15353
|
forwardedProps = _objectWithoutProperties(props, _excluded);
|
|
15624
|
-
return /*#__PURE__*/React__default.createElement(StyledTextCell, _extends$
|
|
15354
|
+
return /*#__PURE__*/React__default.createElement(StyledTextCell, _extends$3({}, forwardedProps, {
|
|
15625
15355
|
className: classNames(TextCell.className, className),
|
|
15626
15356
|
ref: textCellRef
|
|
15627
15357
|
}), /*#__PURE__*/React__default.createElement(React__default.Fragment, null, shieldVariant ? /*#__PURE__*/React__default.createElement(Shield, {
|