@mui/material 5.15.5 → 5.15.7
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/Accordion/index.js +0 -2
- package/AccordionActions/index.js +0 -2
- package/AccordionDetails/index.js +0 -2
- package/AccordionSummary/index.js +0 -2
- package/Avatar/Avatar.js +33 -16
- package/AvatarGroup/AvatarGroup.js +19 -39
- package/Badge/Badge.js +2 -2
- package/ButtonBase/TouchRipple.js +9 -14
- package/CHANGELOG.md +401 -249
- package/Collapse/Collapse.js +3 -8
- package/Grow/Grow.js +3 -8
- package/PaginationItem/PaginationItem.js +1 -1
- package/PaginationItem/paginationItemClasses.d.ts +20 -4
- package/PaginationItem/paginationItemClasses.js +1 -1
- package/README.md +5 -5
- package/Rating/Rating.js +1 -0
- package/Rating/index.js +0 -2
- package/Select/Select.js +1 -1
- package/SpeedDial/SpeedDial.js +7 -12
- package/TablePagination/TablePagination.d.ts +1 -1
- package/Toolbar/index.js +0 -2
- package/Tooltip/Tooltip.js +29 -40
- package/index.js +1 -3
- package/legacy/Accordion/index.js +0 -2
- package/legacy/AccordionActions/index.js +0 -2
- package/legacy/AccordionDetails/index.js +0 -2
- package/legacy/AccordionSummary/index.js +0 -2
- package/legacy/Avatar/Avatar.js +33 -16
- package/legacy/AvatarGroup/AvatarGroup.js +6 -31
- package/legacy/Badge/Badge.js +2 -2
- package/legacy/ButtonBase/TouchRipple.js +9 -14
- package/legacy/Collapse/Collapse.js +3 -8
- package/legacy/Grow/Grow.js +3 -8
- package/legacy/PaginationItem/PaginationItem.js +1 -1
- package/legacy/PaginationItem/paginationItemClasses.js +1 -1
- package/legacy/Rating/Rating.js +1 -0
- package/legacy/Rating/index.js +0 -2
- package/legacy/Select/Select.js +1 -1
- package/legacy/SpeedDial/SpeedDial.js +7 -12
- package/legacy/Toolbar/index.js +0 -2
- package/legacy/Tooltip/Tooltip.js +29 -38
- package/legacy/index.js +1 -3
- package/legacy/zero-styled/index.js +7 -2
- package/modern/Accordion/index.js +0 -2
- package/modern/AccordionActions/index.js +0 -2
- package/modern/AccordionDetails/index.js +0 -2
- package/modern/AccordionSummary/index.js +0 -2
- package/modern/Avatar/Avatar.js +33 -16
- package/modern/AvatarGroup/AvatarGroup.js +19 -39
- package/modern/Badge/Badge.js +2 -2
- package/modern/ButtonBase/TouchRipple.js +9 -14
- package/modern/Collapse/Collapse.js +3 -8
- package/modern/Grow/Grow.js +3 -8
- package/modern/PaginationItem/PaginationItem.js +1 -1
- package/modern/PaginationItem/paginationItemClasses.js +1 -1
- package/modern/Rating/Rating.js +1 -0
- package/modern/Rating/index.js +0 -2
- package/modern/Select/Select.js +1 -1
- package/modern/SpeedDial/SpeedDial.js +7 -12
- package/modern/Toolbar/index.js +0 -2
- package/modern/Tooltip/Tooltip.js +29 -40
- package/modern/index.js +1 -3
- package/modern/zero-styled/index.js +7 -2
- package/node/Accordion/index.js +0 -1
- package/node/AccordionActions/index.js +0 -1
- package/node/AccordionDetails/index.js +0 -1
- package/node/AccordionSummary/index.js +0 -1
- package/node/Avatar/Avatar.js +33 -16
- package/node/AvatarGroup/AvatarGroup.js +19 -39
- package/node/Badge/Badge.js +2 -2
- package/node/ButtonBase/TouchRipple.js +9 -14
- package/node/Collapse/Collapse.js +2 -7
- package/node/Grow/Grow.js +2 -7
- package/node/PaginationItem/PaginationItem.js +1 -1
- package/node/PaginationItem/paginationItemClasses.js +1 -1
- package/node/Rating/Rating.js +1 -0
- package/node/Rating/index.js +0 -1
- package/node/Select/Select.js +1 -1
- package/node/SpeedDial/SpeedDial.js +6 -11
- package/node/Toolbar/index.js +0 -1
- package/node/Tooltip/Tooltip.js +28 -39
- package/node/index.js +1 -3
- package/node/zero-styled/index.js +7 -1
- package/package.json +7 -7
- package/styles/experimental_extendTheme.d.ts +3 -2
- package/umd/material-ui.development.js +400 -292
- package/umd/material-ui.production.min.js +4 -4
- package/zero-styled/index.d.ts +2 -1
- package/zero-styled/index.js +7 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.15.
|
|
2
|
+
* @mui/material v5.15.7
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -5764,9 +5764,104 @@
|
|
|
5764
5764
|
}, refs);
|
|
5765
5765
|
}
|
|
5766
5766
|
|
|
5767
|
+
var UNINITIALIZED = {};
|
|
5768
|
+
|
|
5769
|
+
/**
|
|
5770
|
+
* A React.useRef() that is initialized lazily with a function. Note that it accepts an optional
|
|
5771
|
+
* initialization argument, so the initialization function doesn't need to be an inline closure.
|
|
5772
|
+
*
|
|
5773
|
+
* @usage
|
|
5774
|
+
* const ref = useLazyRef(sortColumns, columns)
|
|
5775
|
+
*/
|
|
5776
|
+
function useLazyRef(init, initArg) {
|
|
5777
|
+
var ref = React__namespace.useRef(UNINITIALIZED);
|
|
5778
|
+
if (ref.current === UNINITIALIZED) {
|
|
5779
|
+
ref.current = init(initArg);
|
|
5780
|
+
}
|
|
5781
|
+
return ref;
|
|
5782
|
+
}
|
|
5783
|
+
|
|
5784
|
+
function _classCallCheck(instance, Constructor) {
|
|
5785
|
+
if (!(instance instanceof Constructor)) {
|
|
5786
|
+
throw new TypeError("Cannot call a class as a function");
|
|
5787
|
+
}
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
function _defineProperties(target, props) {
|
|
5791
|
+
for (var i = 0; i < props.length; i++) {
|
|
5792
|
+
var descriptor = props[i];
|
|
5793
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
5794
|
+
descriptor.configurable = true;
|
|
5795
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
5796
|
+
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
5797
|
+
}
|
|
5798
|
+
}
|
|
5799
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
5800
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5801
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5802
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
5803
|
+
writable: false
|
|
5804
|
+
});
|
|
5805
|
+
return Constructor;
|
|
5806
|
+
}
|
|
5807
|
+
|
|
5808
|
+
var EMPTY = [];
|
|
5809
|
+
|
|
5810
|
+
/**
|
|
5811
|
+
* A React.useEffect equivalent that runs once, when the component is mounted.
|
|
5812
|
+
*/
|
|
5813
|
+
function useOnMount(fn) {
|
|
5814
|
+
/* eslint-disable react-hooks/exhaustive-deps */
|
|
5815
|
+
React__namespace.useEffect(fn, EMPTY);
|
|
5816
|
+
/* eslint-enable react-hooks/exhaustive-deps */
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5819
|
+
var Timeout = /*#__PURE__*/function () {
|
|
5820
|
+
function Timeout() {
|
|
5821
|
+
var _this = this;
|
|
5822
|
+
_classCallCheck(this, Timeout);
|
|
5823
|
+
this.currentId = 0;
|
|
5824
|
+
this.clear = function () {
|
|
5825
|
+
if (_this.currentId !== 0) {
|
|
5826
|
+
clearTimeout(_this.currentId);
|
|
5827
|
+
_this.currentId = 0;
|
|
5828
|
+
}
|
|
5829
|
+
};
|
|
5830
|
+
this.disposeEffect = function () {
|
|
5831
|
+
return _this.clear;
|
|
5832
|
+
};
|
|
5833
|
+
}
|
|
5834
|
+
_createClass(Timeout, [{
|
|
5835
|
+
key: "start",
|
|
5836
|
+
value:
|
|
5837
|
+
/**
|
|
5838
|
+
* Executes `fn` after `delay`, clearing any previously scheduled call.
|
|
5839
|
+
*/
|
|
5840
|
+
function start(delay, fn) {
|
|
5841
|
+
var _this2 = this;
|
|
5842
|
+
this.clear();
|
|
5843
|
+
this.currentId = setTimeout(function () {
|
|
5844
|
+
_this2.currentId = 0;
|
|
5845
|
+
fn();
|
|
5846
|
+
}, delay);
|
|
5847
|
+
}
|
|
5848
|
+
}], [{
|
|
5849
|
+
key: "create",
|
|
5850
|
+
value: function create() {
|
|
5851
|
+
return new Timeout();
|
|
5852
|
+
}
|
|
5853
|
+
}]);
|
|
5854
|
+
return Timeout;
|
|
5855
|
+
}();
|
|
5856
|
+
function useTimeout() {
|
|
5857
|
+
var timeout = useLazyRef(Timeout.create).current;
|
|
5858
|
+
useOnMount(timeout.disposeEffect);
|
|
5859
|
+
return timeout;
|
|
5860
|
+
}
|
|
5861
|
+
|
|
5767
5862
|
var hadKeyboardEvent = true;
|
|
5768
5863
|
var hadFocusVisibleRecently = false;
|
|
5769
|
-
var hadFocusVisibleRecentlyTimeout;
|
|
5864
|
+
var hadFocusVisibleRecentlyTimeout = new Timeout();
|
|
5770
5865
|
var inputTypesWhitelist = {
|
|
5771
5866
|
text: true,
|
|
5772
5867
|
search: true,
|
|
@@ -5886,10 +5981,9 @@
|
|
|
5886
5981
|
// If we don't see a visibility change within 100ms, it's probably a
|
|
5887
5982
|
// regular focus change.
|
|
5888
5983
|
hadFocusVisibleRecently = true;
|
|
5889
|
-
|
|
5890
|
-
hadFocusVisibleRecentlyTimeout = window.setTimeout(function () {
|
|
5984
|
+
hadFocusVisibleRecentlyTimeout.start(100, function () {
|
|
5891
5985
|
hadFocusVisibleRecently = false;
|
|
5892
|
-
}
|
|
5986
|
+
});
|
|
5893
5987
|
isFocusVisibleRef.current = false;
|
|
5894
5988
|
return true;
|
|
5895
5989
|
}
|
|
@@ -7405,6 +7499,79 @@
|
|
|
7405
7499
|
styleFunctionSx.filterProps = ['sx'];
|
|
7406
7500
|
var styleFunctionSx$1 = styleFunctionSx;
|
|
7407
7501
|
|
|
7502
|
+
/**
|
|
7503
|
+
* A universal utility to style components with multiple color modes. Always use it from the theme object.
|
|
7504
|
+
* It works with:
|
|
7505
|
+
* - [Basic theme](https://mui.com/material-ui/customization/dark-mode/)
|
|
7506
|
+
* - [CSS theme variables](https://mui.com/material-ui/experimental-api/css-theme-variables/overview/)
|
|
7507
|
+
* - Zero-runtime engine
|
|
7508
|
+
*
|
|
7509
|
+
* Tips: Use an array over object spread and place `theme.applyStyles()` last.
|
|
7510
|
+
*
|
|
7511
|
+
* ✅ [{ background: '#e5e5e5' }, theme.applyStyles('dark', { background: '#1c1c1c' })]
|
|
7512
|
+
*
|
|
7513
|
+
* 🚫 { background: '#e5e5e5', ...theme.applyStyles('dark', { background: '#1c1c1c' })}
|
|
7514
|
+
*
|
|
7515
|
+
* @example
|
|
7516
|
+
* 1. using with `styled`:
|
|
7517
|
+
* ```jsx
|
|
7518
|
+
* const Component = styled('div')(({ theme }) => [
|
|
7519
|
+
* { background: '#e5e5e5' },
|
|
7520
|
+
* theme.applyStyles('dark', {
|
|
7521
|
+
* background: '#1c1c1c',
|
|
7522
|
+
* color: '#fff',
|
|
7523
|
+
* }),
|
|
7524
|
+
* ]);
|
|
7525
|
+
* ```
|
|
7526
|
+
*
|
|
7527
|
+
* @example
|
|
7528
|
+
* 2. using with `sx` prop:
|
|
7529
|
+
* ```jsx
|
|
7530
|
+
* <Box sx={theme => [
|
|
7531
|
+
* { background: '#e5e5e5' },
|
|
7532
|
+
* theme.applyStyles('dark', {
|
|
7533
|
+
* background: '#1c1c1c',
|
|
7534
|
+
* color: '#fff',
|
|
7535
|
+
* }),
|
|
7536
|
+
* ]}
|
|
7537
|
+
* />
|
|
7538
|
+
* ```
|
|
7539
|
+
*
|
|
7540
|
+
* @example
|
|
7541
|
+
* 3. theming a component:
|
|
7542
|
+
* ```jsx
|
|
7543
|
+
* extendTheme({
|
|
7544
|
+
* components: {
|
|
7545
|
+
* MuiButton: {
|
|
7546
|
+
* styleOverrides: {
|
|
7547
|
+
* root: ({ theme }) => [
|
|
7548
|
+
* { background: '#e5e5e5' },
|
|
7549
|
+
* theme.applyStyles('dark', {
|
|
7550
|
+
* background: '#1c1c1c',
|
|
7551
|
+
* color: '#fff',
|
|
7552
|
+
* }),
|
|
7553
|
+
* ],
|
|
7554
|
+
* },
|
|
7555
|
+
* }
|
|
7556
|
+
* }
|
|
7557
|
+
* })
|
|
7558
|
+
*```
|
|
7559
|
+
*/
|
|
7560
|
+
function applyStyles$2(key, styles) {
|
|
7561
|
+
// @ts-expect-error this is 'any' type
|
|
7562
|
+
var theme = this;
|
|
7563
|
+
if (theme.vars && typeof theme.getColorSchemeSelector === 'function') {
|
|
7564
|
+
// If CssVarsProvider is used as a provider,
|
|
7565
|
+
// returns '* :where([data-mui-color-scheme="light|dark"]) &'
|
|
7566
|
+
var selector = theme.getColorSchemeSelector(key).replace(/(\[[^\]]+\])/, '*:where($1)');
|
|
7567
|
+
return _defineProperty({}, selector, styles);
|
|
7568
|
+
}
|
|
7569
|
+
if (theme.palette.mode === key) {
|
|
7570
|
+
return styles;
|
|
7571
|
+
}
|
|
7572
|
+
return {};
|
|
7573
|
+
}
|
|
7574
|
+
|
|
7408
7575
|
function createTheme$1() {
|
|
7409
7576
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7410
7577
|
var _options$breakpoints = options.breakpoints,
|
|
@@ -7428,6 +7595,7 @@
|
|
|
7428
7595
|
spacing: spacing,
|
|
7429
7596
|
shape: _extends({}, shape$1, shapeInput)
|
|
7430
7597
|
}, other);
|
|
7598
|
+
muiTheme.applyStyles = applyStyles$2;
|
|
7431
7599
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
7432
7600
|
args[_key - 1] = arguments[_key];
|
|
7433
7601
|
}
|
|
@@ -7918,7 +8086,7 @@
|
|
|
7918
8086
|
return resolveProps(theme.components[name].defaultProps, props);
|
|
7919
8087
|
}
|
|
7920
8088
|
|
|
7921
|
-
function useThemeProps$
|
|
8089
|
+
function useThemeProps$2(_ref) {
|
|
7922
8090
|
var props = _ref.props,
|
|
7923
8091
|
name = _ref.name,
|
|
7924
8092
|
defaultTheme = _ref.defaultTheme,
|
|
@@ -9243,7 +9411,7 @@
|
|
|
9243
9411
|
}
|
|
9244
9412
|
});
|
|
9245
9413
|
var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
|
|
9246
|
-
return useThemeProps$
|
|
9414
|
+
return useThemeProps$2({
|
|
9247
9415
|
props: inProps,
|
|
9248
9416
|
name: 'MuiContainer',
|
|
9249
9417
|
defaultTheme: defaultTheme$6
|
|
@@ -9631,7 +9799,7 @@
|
|
|
9631
9799
|
}
|
|
9632
9800
|
});
|
|
9633
9801
|
function useThemePropsDefault$1(props) {
|
|
9634
|
-
return useThemeProps$
|
|
9802
|
+
return useThemeProps$2({
|
|
9635
9803
|
props: props,
|
|
9636
9804
|
name: 'MuiGrid',
|
|
9637
9805
|
defaultTheme: defaultTheme$5
|
|
@@ -9795,7 +9963,7 @@
|
|
|
9795
9963
|
}
|
|
9796
9964
|
});
|
|
9797
9965
|
function useThemePropsDefault(props) {
|
|
9798
|
-
return useThemeProps$
|
|
9966
|
+
return useThemeProps$2({
|
|
9799
9967
|
props: props,
|
|
9800
9968
|
name: 'MuiStack',
|
|
9801
9969
|
defaultTheme: defaultTheme$4
|
|
@@ -10837,10 +11005,10 @@
|
|
|
10837
11005
|
return theme[THEME_ID] || theme;
|
|
10838
11006
|
}
|
|
10839
11007
|
|
|
10840
|
-
function useThemeProps(_ref) {
|
|
11008
|
+
function useThemeProps$1(_ref) {
|
|
10841
11009
|
var props = _ref.props,
|
|
10842
11010
|
name = _ref.name;
|
|
10843
|
-
return useThemeProps$
|
|
11011
|
+
return useThemeProps$2({
|
|
10844
11012
|
props: props,
|
|
10845
11013
|
name: name,
|
|
10846
11014
|
defaultTheme: defaultTheme$3,
|
|
@@ -11331,7 +11499,7 @@
|
|
|
11331
11499
|
};
|
|
11332
11500
|
});
|
|
11333
11501
|
var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
|
|
11334
|
-
var props = useThemeProps({
|
|
11502
|
+
var props = useThemeProps$1({
|
|
11335
11503
|
props: inProps,
|
|
11336
11504
|
name: 'MuiSvgIcon'
|
|
11337
11505
|
});
|
|
@@ -12575,7 +12743,7 @@
|
|
|
12575
12743
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
12576
12744
|
*/
|
|
12577
12745
|
var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
|
|
12578
|
-
var props = useThemeProps({
|
|
12746
|
+
var props = useThemeProps$1({
|
|
12579
12747
|
props: inProps,
|
|
12580
12748
|
name: 'MuiCollapse'
|
|
12581
12749
|
});
|
|
@@ -12607,17 +12775,12 @@
|
|
|
12607
12775
|
});
|
|
12608
12776
|
var classes = useUtilityClasses$1N(ownerState);
|
|
12609
12777
|
var theme = useTheme();
|
|
12610
|
-
var timer =
|
|
12778
|
+
var timer = useTimeout();
|
|
12611
12779
|
var wrapperRef = React__namespace.useRef(null);
|
|
12612
12780
|
var autoTransitionDuration = React__namespace.useRef();
|
|
12613
12781
|
var collapsedSize = typeof collapsedSizeProp === 'number' ? "".concat(collapsedSizeProp, "px") : collapsedSizeProp;
|
|
12614
12782
|
var isHorizontal = orientation === 'horizontal';
|
|
12615
12783
|
var size = isHorizontal ? 'width' : 'height';
|
|
12616
|
-
React__namespace.useEffect(function () {
|
|
12617
|
-
return function () {
|
|
12618
|
-
clearTimeout(timer.current);
|
|
12619
|
-
};
|
|
12620
|
-
}, []);
|
|
12621
12784
|
var nodeRef = React__namespace.useRef(null);
|
|
12622
12785
|
var handleRef = useForkRef(ref, nodeRef);
|
|
12623
12786
|
var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {
|
|
@@ -12716,7 +12879,7 @@
|
|
|
12716
12879
|
});
|
|
12717
12880
|
var handleAddEndListener = function handleAddEndListener(next) {
|
|
12718
12881
|
if (timeout === 'auto') {
|
|
12719
|
-
timer.
|
|
12882
|
+
timer.start(autoTransitionDuration.current || 0, next);
|
|
12720
12883
|
}
|
|
12721
12884
|
if (addEndListener) {
|
|
12722
12885
|
// Old call signature before `react-transition-group` implemented `nodeRef`
|
|
@@ -12908,7 +13071,7 @@
|
|
|
12908
13071
|
}));
|
|
12909
13072
|
});
|
|
12910
13073
|
var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
|
|
12911
|
-
var props = useThemeProps({
|
|
13074
|
+
var props = useThemeProps$1({
|
|
12912
13075
|
props: inProps,
|
|
12913
13076
|
name: 'MuiPaper'
|
|
12914
13077
|
});
|
|
@@ -13368,7 +13531,7 @@
|
|
|
13368
13531
|
}));
|
|
13369
13532
|
});
|
|
13370
13533
|
var Accordion = /*#__PURE__*/React__namespace.forwardRef(function Accordion(inProps, ref) {
|
|
13371
|
-
var props = useThemeProps({
|
|
13534
|
+
var props = useThemeProps$1({
|
|
13372
13535
|
props: inProps,
|
|
13373
13536
|
name: 'MuiAccordion'
|
|
13374
13537
|
});
|
|
@@ -13592,7 +13755,7 @@
|
|
|
13592
13755
|
});
|
|
13593
13756
|
});
|
|
13594
13757
|
var AccordionActions = /*#__PURE__*/React__namespace.forwardRef(function AccordionActions(inProps, ref) {
|
|
13595
|
-
var props = useThemeProps({
|
|
13758
|
+
var props = useThemeProps$1({
|
|
13596
13759
|
props: inProps,
|
|
13597
13760
|
name: 'MuiAccordionActions'
|
|
13598
13761
|
});
|
|
@@ -13665,7 +13828,7 @@
|
|
|
13665
13828
|
};
|
|
13666
13829
|
});
|
|
13667
13830
|
var AccordionDetails = /*#__PURE__*/React__namespace.forwardRef(function AccordionDetails(inProps, ref) {
|
|
13668
|
-
var props = useThemeProps({
|
|
13831
|
+
var props = useThemeProps$1({
|
|
13669
13832
|
props: inProps,
|
|
13670
13833
|
name: 'MuiAccordionDetails'
|
|
13671
13834
|
});
|
|
@@ -13846,7 +14009,7 @@
|
|
|
13846
14009
|
* TODO v5: Make private
|
|
13847
14010
|
*/
|
|
13848
14011
|
var TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRipple(inProps, ref) {
|
|
13849
|
-
var props = useThemeProps({
|
|
14012
|
+
var props = useThemeProps$1({
|
|
13850
14013
|
props: inProps,
|
|
13851
14014
|
name: 'MuiTouchRipple'
|
|
13852
14015
|
});
|
|
@@ -13872,18 +14035,11 @@
|
|
|
13872
14035
|
var ignoringMouseDown = React__namespace.useRef(false);
|
|
13873
14036
|
// We use a timer in order to only show the ripples for touch "click" like events.
|
|
13874
14037
|
// We don't want to display the ripple for touch scroll events.
|
|
13875
|
-
var startTimer =
|
|
14038
|
+
var startTimer = useTimeout();
|
|
13876
14039
|
|
|
13877
14040
|
// This is the hook called once the previous timeout is ready.
|
|
13878
14041
|
var startTimerCommit = React__namespace.useRef(null);
|
|
13879
14042
|
var container = React__namespace.useRef(null);
|
|
13880
|
-
React__namespace.useEffect(function () {
|
|
13881
|
-
return function () {
|
|
13882
|
-
if (startTimer.current) {
|
|
13883
|
-
clearTimeout(startTimer.current);
|
|
13884
|
-
}
|
|
13885
|
-
};
|
|
13886
|
-
}, []);
|
|
13887
14043
|
var startCommit = React__namespace.useCallback(function (params) {
|
|
13888
14044
|
var pulsate = params.pulsate,
|
|
13889
14045
|
rippleX = params.rippleX,
|
|
@@ -13979,12 +14135,13 @@
|
|
|
13979
14135
|
});
|
|
13980
14136
|
};
|
|
13981
14137
|
// Delay the execution of the ripple effect.
|
|
13982
|
-
|
|
14138
|
+
// We have to make a tradeoff with this delay value.
|
|
14139
|
+
startTimer.start(DELAY_RIPPLE, function () {
|
|
13983
14140
|
if (startTimerCommit.current) {
|
|
13984
14141
|
startTimerCommit.current();
|
|
13985
14142
|
startTimerCommit.current = null;
|
|
13986
14143
|
}
|
|
13987
|
-
}
|
|
14144
|
+
});
|
|
13988
14145
|
}
|
|
13989
14146
|
} else {
|
|
13990
14147
|
startCommit({
|
|
@@ -13995,21 +14152,21 @@
|
|
|
13995
14152
|
cb: cb
|
|
13996
14153
|
});
|
|
13997
14154
|
}
|
|
13998
|
-
}, [centerProp, startCommit]);
|
|
14155
|
+
}, [centerProp, startCommit, startTimer]);
|
|
13999
14156
|
var pulsate = React__namespace.useCallback(function () {
|
|
14000
14157
|
start({}, {
|
|
14001
14158
|
pulsate: true
|
|
14002
14159
|
});
|
|
14003
14160
|
}, [start]);
|
|
14004
14161
|
var stop = React__namespace.useCallback(function (event, cb) {
|
|
14005
|
-
|
|
14162
|
+
startTimer.clear();
|
|
14006
14163
|
|
|
14007
14164
|
// The touch interaction occurs too quickly.
|
|
14008
14165
|
// We still want to show ripple effect.
|
|
14009
14166
|
if ((event == null ? void 0 : event.type) === 'touchend' && startTimerCommit.current) {
|
|
14010
14167
|
startTimerCommit.current();
|
|
14011
14168
|
startTimerCommit.current = null;
|
|
14012
|
-
startTimer.
|
|
14169
|
+
startTimer.start(0, function () {
|
|
14013
14170
|
stop(event, cb);
|
|
14014
14171
|
});
|
|
14015
14172
|
return;
|
|
@@ -14022,7 +14179,7 @@
|
|
|
14022
14179
|
return oldRipples;
|
|
14023
14180
|
});
|
|
14024
14181
|
rippleCallback.current = cb;
|
|
14025
|
-
}, []);
|
|
14182
|
+
}, [startTimer]);
|
|
14026
14183
|
React__namespace.useImperativeHandle(ref, function () {
|
|
14027
14184
|
return {
|
|
14028
14185
|
pulsate: pulsate,
|
|
@@ -14129,7 +14286,7 @@
|
|
|
14129
14286
|
* It contains a load of style reset and some focus/ripple logic.
|
|
14130
14287
|
*/
|
|
14131
14288
|
var ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(inProps, ref) {
|
|
14132
|
-
var props = useThemeProps({
|
|
14289
|
+
var props = useThemeProps$1({
|
|
14133
14290
|
props: inProps,
|
|
14134
14291
|
name: 'MuiButtonBase'
|
|
14135
14292
|
});
|
|
@@ -14621,7 +14778,7 @@
|
|
|
14621
14778
|
});
|
|
14622
14779
|
});
|
|
14623
14780
|
var AccordionSummary = /*#__PURE__*/React__namespace.forwardRef(function AccordionSummary(inProps, ref) {
|
|
14624
|
-
var props = useThemeProps({
|
|
14781
|
+
var props = useThemeProps$1({
|
|
14625
14782
|
props: inProps,
|
|
14626
14783
|
name: 'MuiAccordionSummary'
|
|
14627
14784
|
});
|
|
@@ -14808,7 +14965,7 @@
|
|
|
14808
14965
|
* regarding the available icon options.
|
|
14809
14966
|
*/
|
|
14810
14967
|
var IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(inProps, ref) {
|
|
14811
|
-
var props = useThemeProps({
|
|
14968
|
+
var props = useThemeProps$1({
|
|
14812
14969
|
props: inProps,
|
|
14813
14970
|
name: 'MuiIconButton'
|
|
14814
14971
|
});
|
|
@@ -15042,7 +15199,7 @@
|
|
|
15042
15199
|
};
|
|
15043
15200
|
var Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
|
|
15044
15201
|
var _ref4, _slots$closeButton, _ref5, _slots$closeIcon, _slotProps$closeButto, _slotProps$closeIcon;
|
|
15045
|
-
var props = useThemeProps({
|
|
15202
|
+
var props = useThemeProps$1({
|
|
15046
15203
|
props: inProps,
|
|
15047
15204
|
name: 'MuiAlert'
|
|
15048
15205
|
});
|
|
@@ -15316,7 +15473,7 @@
|
|
|
15316
15473
|
return colorTransformations$1[color] || color;
|
|
15317
15474
|
};
|
|
15318
15475
|
var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
|
|
15319
|
-
var themeProps = useThemeProps({
|
|
15476
|
+
var themeProps = useThemeProps$1({
|
|
15320
15477
|
props: inProps,
|
|
15321
15478
|
name: 'MuiTypography'
|
|
15322
15479
|
});
|
|
@@ -15463,7 +15620,7 @@
|
|
|
15463
15620
|
};
|
|
15464
15621
|
});
|
|
15465
15622
|
var AlertTitle = /*#__PURE__*/React__namespace.forwardRef(function AlertTitle(inProps, ref) {
|
|
15466
|
-
var props = useThemeProps({
|
|
15623
|
+
var props = useThemeProps$1({
|
|
15467
15624
|
props: inProps,
|
|
15468
15625
|
name: 'MuiAlertTitle'
|
|
15469
15626
|
});
|
|
@@ -15601,7 +15758,7 @@
|
|
|
15601
15758
|
}));
|
|
15602
15759
|
});
|
|
15603
15760
|
var AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
15604
|
-
var props = useThemeProps({
|
|
15761
|
+
var props = useThemeProps$1({
|
|
15605
15762
|
props: inProps,
|
|
15606
15763
|
name: 'MuiAppBar'
|
|
15607
15764
|
});
|
|
@@ -18499,30 +18656,6 @@
|
|
|
18499
18656
|
transition: PropTypes.bool
|
|
18500
18657
|
} ;
|
|
18501
18658
|
|
|
18502
|
-
function _classCallCheck(instance, Constructor) {
|
|
18503
|
-
if (!(instance instanceof Constructor)) {
|
|
18504
|
-
throw new TypeError("Cannot call a class as a function");
|
|
18505
|
-
}
|
|
18506
|
-
}
|
|
18507
|
-
|
|
18508
|
-
function _defineProperties(target, props) {
|
|
18509
|
-
for (var i = 0; i < props.length; i++) {
|
|
18510
|
-
var descriptor = props[i];
|
|
18511
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
18512
|
-
descriptor.configurable = true;
|
|
18513
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
18514
|
-
Object.defineProperty(target, toPropertyKey(descriptor.key), descriptor);
|
|
18515
|
-
}
|
|
18516
|
-
}
|
|
18517
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
18518
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
18519
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
18520
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
18521
|
-
writable: false
|
|
18522
|
-
});
|
|
18523
|
-
return Constructor;
|
|
18524
|
-
}
|
|
18525
|
-
|
|
18526
18659
|
// Is a vertical scrollbar displayed?
|
|
18527
18660
|
function isOverflowing(container) {
|
|
18528
18661
|
var doc = ownerDocument(container);
|
|
@@ -19706,7 +19839,7 @@
|
|
|
19706
19839
|
onClose = parameters.onClose,
|
|
19707
19840
|
open = parameters.open,
|
|
19708
19841
|
resumeHideDuration = parameters.resumeHideDuration;
|
|
19709
|
-
var timerAutoHide =
|
|
19842
|
+
var timerAutoHide = useTimeout();
|
|
19710
19843
|
React__namespace.useEffect(function () {
|
|
19711
19844
|
if (!open) {
|
|
19712
19845
|
return undefined;
|
|
@@ -19736,28 +19869,23 @@
|
|
|
19736
19869
|
if (!onClose || autoHideDurationParam == null) {
|
|
19737
19870
|
return;
|
|
19738
19871
|
}
|
|
19739
|
-
|
|
19740
|
-
timerAutoHide.current = setTimeout(function () {
|
|
19872
|
+
timerAutoHide.start(autoHideDurationParam, function () {
|
|
19741
19873
|
handleClose(null, 'timeout');
|
|
19742
|
-
}
|
|
19874
|
+
});
|
|
19743
19875
|
});
|
|
19744
19876
|
React__namespace.useEffect(function () {
|
|
19745
19877
|
if (open) {
|
|
19746
19878
|
setAutoHideTimer(autoHideDuration);
|
|
19747
19879
|
}
|
|
19748
|
-
return
|
|
19749
|
-
|
|
19750
|
-
};
|
|
19751
|
-
}, [open, autoHideDuration, setAutoHideTimer]);
|
|
19880
|
+
return timerAutoHide.clear;
|
|
19881
|
+
}, [open, autoHideDuration, setAutoHideTimer, timerAutoHide]);
|
|
19752
19882
|
var handleClickAway = function handleClickAway(event) {
|
|
19753
19883
|
onClose == null || onClose(event, 'clickaway');
|
|
19754
19884
|
};
|
|
19755
19885
|
|
|
19756
19886
|
// Pause the timer when the user is interacting with the Snackbar
|
|
19757
19887
|
// or when the user hide the window.
|
|
19758
|
-
var handlePause =
|
|
19759
|
-
clearTimeout(timerAutoHide.current);
|
|
19760
|
-
};
|
|
19888
|
+
var handlePause = timerAutoHide.clear;
|
|
19761
19889
|
|
|
19762
19890
|
// Restart the timer when the user is no longer interacting with the Snackbar
|
|
19763
19891
|
// or when the window is shown back.
|
|
@@ -19805,7 +19933,7 @@
|
|
|
19805
19933
|
};
|
|
19806
19934
|
}
|
|
19807
19935
|
return undefined;
|
|
19808
|
-
}, [disableWindowBlurListener, handleResume,
|
|
19936
|
+
}, [disableWindowBlurListener, open, handleResume, handlePause]);
|
|
19809
19937
|
var getRootProps = function getRootProps() {
|
|
19810
19938
|
var externalProps = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
19811
19939
|
var externalEventHandlers = _extends({}, extractEventHandlers(parameters), extractEventHandlers(externalProps));
|
|
@@ -21169,7 +21297,7 @@
|
|
|
21169
21297
|
var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
21170
21298
|
var _slots$root;
|
|
21171
21299
|
var theme = useTheme$3();
|
|
21172
|
-
var props = useThemeProps({
|
|
21300
|
+
var props = useThemeProps$1({
|
|
21173
21301
|
props: inProps,
|
|
21174
21302
|
name: 'MuiPopper'
|
|
21175
21303
|
});
|
|
@@ -21394,7 +21522,7 @@
|
|
|
21394
21522
|
});
|
|
21395
21523
|
});
|
|
21396
21524
|
var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
|
|
21397
|
-
var props = useThemeProps({
|
|
21525
|
+
var props = useThemeProps$1({
|
|
21398
21526
|
props: inProps,
|
|
21399
21527
|
name: 'MuiListSubheader'
|
|
21400
21528
|
});
|
|
@@ -21693,7 +21821,7 @@
|
|
|
21693
21821
|
* Chips represent complex entities in small blocks, such as a contact.
|
|
21694
21822
|
*/
|
|
21695
21823
|
var Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref) {
|
|
21696
|
-
var props = useThemeProps({
|
|
21824
|
+
var props = useThemeProps$1({
|
|
21697
21825
|
props: inProps,
|
|
21698
21826
|
name: 'MuiChip'
|
|
21699
21827
|
});
|
|
@@ -22181,7 +22309,7 @@
|
|
|
22181
22309
|
*/
|
|
22182
22310
|
var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
|
|
22183
22311
|
var _slotProps$input;
|
|
22184
|
-
var props = useThemeProps({
|
|
22312
|
+
var props = useThemeProps$1({
|
|
22185
22313
|
props: inProps,
|
|
22186
22314
|
name: 'MuiInputBase'
|
|
22187
22315
|
});
|
|
@@ -23019,7 +23147,7 @@
|
|
|
23019
23147
|
}));
|
|
23020
23148
|
var Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocomplete(inProps, ref) {
|
|
23021
23149
|
var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
|
|
23022
|
-
var props = useThemeProps({
|
|
23150
|
+
var props = useThemeProps$1({
|
|
23023
23151
|
props: inProps,
|
|
23024
23152
|
name: 'MuiAutocomplete'
|
|
23025
23153
|
});
|
|
@@ -23804,9 +23932,8 @@
|
|
|
23804
23932
|
return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];
|
|
23805
23933
|
}
|
|
23806
23934
|
})(function (_ref) {
|
|
23807
|
-
var theme = _ref.theme
|
|
23808
|
-
|
|
23809
|
-
return _extends({
|
|
23935
|
+
var theme = _ref.theme;
|
|
23936
|
+
return {
|
|
23810
23937
|
position: 'relative',
|
|
23811
23938
|
display: 'flex',
|
|
23812
23939
|
alignItems: 'center',
|
|
@@ -23819,18 +23946,36 @@
|
|
|
23819
23946
|
lineHeight: 1,
|
|
23820
23947
|
borderRadius: '50%',
|
|
23821
23948
|
overflow: 'hidden',
|
|
23822
|
-
userSelect: 'none'
|
|
23823
|
-
|
|
23824
|
-
|
|
23825
|
-
|
|
23826
|
-
|
|
23827
|
-
|
|
23828
|
-
|
|
23829
|
-
|
|
23830
|
-
|
|
23831
|
-
|
|
23832
|
-
|
|
23833
|
-
|
|
23949
|
+
userSelect: 'none',
|
|
23950
|
+
variants: [{
|
|
23951
|
+
props: {
|
|
23952
|
+
variant: 'rounded'
|
|
23953
|
+
},
|
|
23954
|
+
style: {
|
|
23955
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
23956
|
+
}
|
|
23957
|
+
}, {
|
|
23958
|
+
props: {
|
|
23959
|
+
variant: 'square'
|
|
23960
|
+
},
|
|
23961
|
+
style: {
|
|
23962
|
+
borderRadius: 0
|
|
23963
|
+
}
|
|
23964
|
+
}, {
|
|
23965
|
+
props: {
|
|
23966
|
+
colorDefault: true
|
|
23967
|
+
},
|
|
23968
|
+
style: _extends({
|
|
23969
|
+
color: (theme.vars || theme).palette.background["default"]
|
|
23970
|
+
}, theme.vars ? {
|
|
23971
|
+
backgroundColor: theme.vars.palette.Avatar.defaultBg
|
|
23972
|
+
} : _extends({
|
|
23973
|
+
backgroundColor: theme.palette.grey[400]
|
|
23974
|
+
}, theme.applyStyles('dark', {
|
|
23975
|
+
backgroundColor: theme.palette.grey[600]
|
|
23976
|
+
})))
|
|
23977
|
+
}]
|
|
23978
|
+
};
|
|
23834
23979
|
});
|
|
23835
23980
|
var AvatarImg = styled$1('img', {
|
|
23836
23981
|
name: 'MuiAvatar',
|
|
@@ -23899,7 +24044,7 @@
|
|
|
23899
24044
|
return loaded;
|
|
23900
24045
|
}
|
|
23901
24046
|
var Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps, ref) {
|
|
23902
|
-
var props = useThemeProps({
|
|
24047
|
+
var props = useThemeProps$1({
|
|
23903
24048
|
props: inProps,
|
|
23904
24049
|
name: 'MuiAvatar'
|
|
23905
24050
|
});
|
|
@@ -23939,7 +24084,7 @@
|
|
|
23939
24084
|
ownerState: ownerState,
|
|
23940
24085
|
className: classes.img
|
|
23941
24086
|
}, imgProps));
|
|
23942
|
-
} else if (childrenProp != null) {
|
|
24087
|
+
} else if (childrenProp != null && childrenProp !== '' && typeof childrenProp !== 'boolean') {
|
|
23943
24088
|
children = childrenProp;
|
|
23944
24089
|
} else if (hasImg && alt) {
|
|
23945
24090
|
children = alt[0];
|
|
@@ -24041,36 +24186,21 @@
|
|
|
24041
24186
|
return _extends(_defineProperty({}, "& .".concat(avatarGroupClasses$1.avatar), styles.avatar), styles.root);
|
|
24042
24187
|
}
|
|
24043
24188
|
})(function (_ref) {
|
|
24044
|
-
var theme = _ref.theme
|
|
24189
|
+
var theme = _ref.theme,
|
|
24190
|
+
ownerState = _ref.ownerState;
|
|
24191
|
+
var marginValue = ownerState.spacing && SPACINGS$2[ownerState.spacing] !== undefined ? SPACINGS$2[ownerState.spacing] : -ownerState.spacing;
|
|
24045
24192
|
return _defineProperty(_defineProperty(_defineProperty({}, "& .".concat(avatarClasses$1.root), {
|
|
24046
24193
|
border: "2px solid ".concat((theme.vars || theme).palette.background["default"]),
|
|
24047
24194
|
boxSizing: 'content-box',
|
|
24048
|
-
marginLeft: -8,
|
|
24195
|
+
marginLeft: marginValue != null ? marginValue : -8,
|
|
24049
24196
|
'&:last-child': {
|
|
24050
24197
|
marginLeft: 0
|
|
24051
24198
|
}
|
|
24052
24199
|
}), "display", 'flex'), "flexDirection", 'row-reverse');
|
|
24053
24200
|
});
|
|
24054
|
-
var AvatarGroupAvatar = styled$1(Avatar$1, {
|
|
24055
|
-
name: 'MuiAvatarGroup',
|
|
24056
|
-
slot: 'Avatar',
|
|
24057
|
-
overridesResolver: function overridesResolver(props, styles) {
|
|
24058
|
-
return styles.avatar;
|
|
24059
|
-
}
|
|
24060
|
-
})(function (_ref3) {
|
|
24061
|
-
var theme = _ref3.theme;
|
|
24062
|
-
return {
|
|
24063
|
-
border: "2px solid ".concat((theme.vars || theme).palette.background["default"]),
|
|
24064
|
-
boxSizing: 'content-box',
|
|
24065
|
-
marginLeft: -8,
|
|
24066
|
-
'&:last-child': {
|
|
24067
|
-
marginLeft: 0
|
|
24068
|
-
}
|
|
24069
|
-
};
|
|
24070
|
-
});
|
|
24071
24201
|
var AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
|
|
24072
24202
|
var _slotProps$additional;
|
|
24073
|
-
var props = useThemeProps({
|
|
24203
|
+
var props = useThemeProps$1({
|
|
24074
24204
|
props: inProps,
|
|
24075
24205
|
name: 'MuiAvatarGroup'
|
|
24076
24206
|
});
|
|
@@ -24115,7 +24245,6 @@
|
|
|
24115
24245
|
var maxAvatars = Math.min(children.length, clampedMax - 1);
|
|
24116
24246
|
var extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);
|
|
24117
24247
|
var extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : "+".concat(extraAvatars);
|
|
24118
|
-
var marginLeft = spacing && SPACINGS$2[spacing] !== undefined ? SPACINGS$2[spacing] : -spacing;
|
|
24119
24248
|
var additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;
|
|
24120
24249
|
return /*#__PURE__*/jsxRuntime_2(AvatarGroupRoot, _extends({
|
|
24121
24250
|
as: component,
|
|
@@ -24123,23 +24252,14 @@
|
|
|
24123
24252
|
className: clsx(classes.root, className),
|
|
24124
24253
|
ref: ref
|
|
24125
24254
|
}, other, {
|
|
24126
|
-
children: [extraAvatars ? /*#__PURE__*/jsxRuntime_1(
|
|
24127
|
-
ownerState: ownerState,
|
|
24255
|
+
children: [extraAvatars ? /*#__PURE__*/jsxRuntime_1(Avatar$1, _extends({
|
|
24128
24256
|
variant: variant
|
|
24129
24257
|
}, additionalAvatarSlotProps, {
|
|
24130
24258
|
className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),
|
|
24131
|
-
style: _extends({
|
|
24132
|
-
marginLeft: marginLeft
|
|
24133
|
-
}, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.style),
|
|
24134
24259
|
children: extraAvatarsElement
|
|
24135
|
-
})) : null, children.slice(0, maxAvatars).reverse().map(function (child
|
|
24260
|
+
})) : null, children.slice(0, maxAvatars).reverse().map(function (child) {
|
|
24136
24261
|
return /*#__PURE__*/React__namespace.cloneElement(child, {
|
|
24137
24262
|
className: clsx(child.props.className, classes.avatar),
|
|
24138
|
-
style: _extends({
|
|
24139
|
-
// Consistent with "&:last-child" styling for the default spacing,
|
|
24140
|
-
// we do not apply custom marginLeft spacing on the last child
|
|
24141
|
-
marginLeft: index === maxAvatars - 1 ? undefined : marginLeft
|
|
24142
|
-
}, child.props.style),
|
|
24143
24263
|
variant: child.props.variant || variant
|
|
24144
24264
|
});
|
|
24145
24265
|
})]
|
|
@@ -24462,7 +24582,7 @@
|
|
|
24462
24582
|
});
|
|
24463
24583
|
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
|
|
24464
24584
|
var _slotProps$root, _ref2, _slots$root;
|
|
24465
|
-
var props = useThemeProps({
|
|
24585
|
+
var props = useThemeProps$1({
|
|
24466
24586
|
props: inProps,
|
|
24467
24587
|
name: 'MuiBackdrop'
|
|
24468
24588
|
});
|
|
@@ -24605,6 +24725,11 @@
|
|
|
24605
24725
|
} ;
|
|
24606
24726
|
var Backdrop$1 = Backdrop;
|
|
24607
24727
|
|
|
24728
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
24729
|
+
function createUseThemeProps(name) {
|
|
24730
|
+
return useThemeProps$1;
|
|
24731
|
+
}
|
|
24732
|
+
|
|
24608
24733
|
function getBadgeUtilityClass(slot) {
|
|
24609
24734
|
return generateUtilityClass$1('MuiBadge', slot);
|
|
24610
24735
|
}
|
|
@@ -24615,6 +24740,7 @@
|
|
|
24615
24740
|
|
|
24616
24741
|
var RADIUS_STANDARD = 10;
|
|
24617
24742
|
var RADIUS_DOT = 4;
|
|
24743
|
+
var useThemeProps = createUseThemeProps();
|
|
24618
24744
|
var useUtilityClasses$1t = function useUtilityClasses(ownerState) {
|
|
24619
24745
|
var color = ownerState.color,
|
|
24620
24746
|
anchorOrigin = ownerState.anchorOrigin,
|
|
@@ -25066,7 +25192,7 @@
|
|
|
25066
25192
|
};
|
|
25067
25193
|
});
|
|
25068
25194
|
var BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
|
|
25069
|
-
var props = useThemeProps({
|
|
25195
|
+
var props = useThemeProps$1({
|
|
25070
25196
|
props: inProps,
|
|
25071
25197
|
name: 'MuiBottomNavigation'
|
|
25072
25198
|
});
|
|
@@ -25222,7 +25348,7 @@
|
|
|
25222
25348
|
}));
|
|
25223
25349
|
});
|
|
25224
25350
|
var BottomNavigationAction = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigationAction(inProps, ref) {
|
|
25225
|
-
var props = useThemeProps({
|
|
25351
|
+
var props = useThemeProps$1({
|
|
25226
25352
|
props: inProps,
|
|
25227
25353
|
name: 'MuiBottomNavigationAction'
|
|
25228
25354
|
});
|
|
@@ -25489,7 +25615,7 @@
|
|
|
25489
25615
|
}, []);
|
|
25490
25616
|
}
|
|
25491
25617
|
var Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumbs(inProps, ref) {
|
|
25492
|
-
var props = useThemeProps({
|
|
25618
|
+
var props = useThemeProps$1({
|
|
25493
25619
|
props: inProps,
|
|
25494
25620
|
name: 'MuiBreadcrumbs'
|
|
25495
25621
|
});
|
|
@@ -25888,7 +26014,7 @@
|
|
|
25888
26014
|
var contextProps = React__namespace.useContext(ButtonGroupContext$1);
|
|
25889
26015
|
var buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
|
|
25890
26016
|
var resolvedProps = resolveProps(contextProps, inProps);
|
|
25891
|
-
var props = useThemeProps({
|
|
26017
|
+
var props = useThemeProps$1({
|
|
25892
26018
|
props: resolvedProps,
|
|
25893
26019
|
name: 'MuiButton'
|
|
25894
26020
|
});
|
|
@@ -26149,7 +26275,7 @@
|
|
|
26149
26275
|
})));
|
|
26150
26276
|
});
|
|
26151
26277
|
var ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
|
|
26152
|
-
var props = useThemeProps({
|
|
26278
|
+
var props = useThemeProps$1({
|
|
26153
26279
|
props: inProps,
|
|
26154
26280
|
name: 'MuiButtonGroup'
|
|
26155
26281
|
});
|
|
@@ -26338,7 +26464,7 @@
|
|
|
26338
26464
|
};
|
|
26339
26465
|
});
|
|
26340
26466
|
var Card = /*#__PURE__*/React__namespace.forwardRef(function Card(inProps, ref) {
|
|
26341
|
-
var props = useThemeProps({
|
|
26467
|
+
var props = useThemeProps$1({
|
|
26342
26468
|
props: inProps,
|
|
26343
26469
|
name: 'MuiCard'
|
|
26344
26470
|
});
|
|
@@ -26453,7 +26579,7 @@
|
|
|
26453
26579
|
};
|
|
26454
26580
|
});
|
|
26455
26581
|
var CardActionArea = /*#__PURE__*/React__namespace.forwardRef(function CardActionArea(inProps, ref) {
|
|
26456
|
-
var props = useThemeProps({
|
|
26582
|
+
var props = useThemeProps$1({
|
|
26457
26583
|
props: inProps,
|
|
26458
26584
|
name: 'MuiCardActionArea'
|
|
26459
26585
|
});
|
|
@@ -26537,7 +26663,7 @@
|
|
|
26537
26663
|
});
|
|
26538
26664
|
});
|
|
26539
26665
|
var CardActions = /*#__PURE__*/React__namespace.forwardRef(function CardActions(inProps, ref) {
|
|
26540
|
-
var props = useThemeProps({
|
|
26666
|
+
var props = useThemeProps$1({
|
|
26541
26667
|
props: inProps,
|
|
26542
26668
|
name: 'MuiCardActions'
|
|
26543
26669
|
});
|
|
@@ -26612,7 +26738,7 @@
|
|
|
26612
26738
|
};
|
|
26613
26739
|
});
|
|
26614
26740
|
var CardContent = /*#__PURE__*/React__namespace.forwardRef(function CardContent(inProps, ref) {
|
|
26615
|
-
var props = useThemeProps({
|
|
26741
|
+
var props = useThemeProps$1({
|
|
26616
26742
|
props: inProps,
|
|
26617
26743
|
name: 'MuiCardContent'
|
|
26618
26744
|
});
|
|
@@ -26723,7 +26849,7 @@
|
|
|
26723
26849
|
flex: '1 1 auto'
|
|
26724
26850
|
});
|
|
26725
26851
|
var CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(inProps, ref) {
|
|
26726
|
-
var props = useThemeProps({
|
|
26852
|
+
var props = useThemeProps$1({
|
|
26727
26853
|
props: inProps,
|
|
26728
26854
|
name: 'MuiCardHeader'
|
|
26729
26855
|
});
|
|
@@ -26892,7 +27018,7 @@
|
|
|
26892
27018
|
var MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
|
|
26893
27019
|
var IMAGE_COMPONENTS = ['picture', 'img'];
|
|
26894
27020
|
var CardMedia = /*#__PURE__*/React__namespace.forwardRef(function CardMedia(inProps, ref) {
|
|
26895
|
-
var props = useThemeProps({
|
|
27021
|
+
var props = useThemeProps$1({
|
|
26896
27022
|
props: inProps,
|
|
26897
27023
|
name: 'MuiCardMedia'
|
|
26898
27024
|
});
|
|
@@ -27304,7 +27430,7 @@
|
|
|
27304
27430
|
var defaultIndeterminateIcon = /*#__PURE__*/jsxRuntime_1(IndeterminateCheckBoxIcon, {});
|
|
27305
27431
|
var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inProps, ref) {
|
|
27306
27432
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
27307
|
-
var props = useThemeProps({
|
|
27433
|
+
var props = useThemeProps$1({
|
|
27308
27434
|
props: inProps,
|
|
27309
27435
|
name: 'MuiCheckbox'
|
|
27310
27436
|
});
|
|
@@ -27536,7 +27662,7 @@
|
|
|
27536
27662
|
* attribute to `true` on that region until it has finished loading.
|
|
27537
27663
|
*/
|
|
27538
27664
|
var CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function CircularProgress(inProps, ref) {
|
|
27539
|
-
var props = useThemeProps({
|
|
27665
|
+
var props = useThemeProps$1({
|
|
27540
27666
|
props: inProps,
|
|
27541
27667
|
name: 'MuiCircularProgress'
|
|
27542
27668
|
});
|
|
@@ -27676,8 +27802,8 @@
|
|
|
27676
27802
|
return [styles.root, styles["maxWidth".concat(capitalize(String(ownerState.maxWidth)))], ownerState.fixed && styles.fixed, ownerState.disableGutters && styles.disableGutters];
|
|
27677
27803
|
}
|
|
27678
27804
|
}),
|
|
27679
|
-
useThemeProps: function useThemeProps
|
|
27680
|
-
return useThemeProps({
|
|
27805
|
+
useThemeProps: function useThemeProps(inProps) {
|
|
27806
|
+
return useThemeProps$1({
|
|
27681
27807
|
props: inProps,
|
|
27682
27808
|
name: 'MuiContainer'
|
|
27683
27809
|
});
|
|
@@ -27800,7 +27926,7 @@
|
|
|
27800
27926
|
return defaultStyles;
|
|
27801
27927
|
};
|
|
27802
27928
|
function CssBaseline(inProps) {
|
|
27803
|
-
var props = useThemeProps({
|
|
27929
|
+
var props = useThemeProps$1({
|
|
27804
27930
|
props: inProps,
|
|
27805
27931
|
name: 'MuiCssBaseline'
|
|
27806
27932
|
});
|
|
@@ -27929,7 +28055,7 @@
|
|
|
27929
28055
|
*/
|
|
27930
28056
|
var Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, ref) {
|
|
27931
28057
|
var _ref2, _slots$root, _ref3, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
27932
|
-
var props = useThemeProps({
|
|
28058
|
+
var props = useThemeProps$1({
|
|
27933
28059
|
name: 'MuiModal',
|
|
27934
28060
|
props: inProps
|
|
27935
28061
|
});
|
|
@@ -28383,7 +28509,7 @@
|
|
|
28383
28509
|
* Dialogs are overlaid modal paper based components with a backdrop.
|
|
28384
28510
|
*/
|
|
28385
28511
|
var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
|
|
28386
|
-
var props = useThemeProps({
|
|
28512
|
+
var props = useThemeProps$1({
|
|
28387
28513
|
props: inProps,
|
|
28388
28514
|
name: 'MuiDialog'
|
|
28389
28515
|
});
|
|
@@ -28667,7 +28793,7 @@
|
|
|
28667
28793
|
});
|
|
28668
28794
|
});
|
|
28669
28795
|
var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
|
|
28670
|
-
var props = useThemeProps({
|
|
28796
|
+
var props = useThemeProps$1({
|
|
28671
28797
|
props: inProps,
|
|
28672
28798
|
name: 'MuiDialogActions'
|
|
28673
28799
|
});
|
|
@@ -28759,7 +28885,7 @@
|
|
|
28759
28885
|
}));
|
|
28760
28886
|
});
|
|
28761
28887
|
var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
|
|
28762
|
-
var props = useThemeProps({
|
|
28888
|
+
var props = useThemeProps$1({
|
|
28763
28889
|
props: inProps,
|
|
28764
28890
|
name: 'MuiDialogContent'
|
|
28765
28891
|
});
|
|
@@ -28831,7 +28957,7 @@
|
|
|
28831
28957
|
}
|
|
28832
28958
|
})({});
|
|
28833
28959
|
var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
|
|
28834
|
-
var props = useThemeProps({
|
|
28960
|
+
var props = useThemeProps$1({
|
|
28835
28961
|
props: inProps,
|
|
28836
28962
|
name: 'MuiDialogContentText'
|
|
28837
28963
|
});
|
|
@@ -28892,7 +29018,7 @@
|
|
|
28892
29018
|
flex: '0 0 auto'
|
|
28893
29019
|
});
|
|
28894
29020
|
var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
|
|
28895
|
-
var props = useThemeProps({
|
|
29021
|
+
var props = useThemeProps$1({
|
|
28896
29022
|
props: inProps,
|
|
28897
29023
|
name: 'MuiDialogTitle'
|
|
28898
29024
|
});
|
|
@@ -29072,7 +29198,7 @@
|
|
|
29072
29198
|
});
|
|
29073
29199
|
});
|
|
29074
29200
|
var Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
29075
|
-
var props = useThemeProps({
|
|
29201
|
+
var props = useThemeProps$1({
|
|
29076
29202
|
props: inProps,
|
|
29077
29203
|
name: 'MuiDivider'
|
|
29078
29204
|
});
|
|
@@ -29618,7 +29744,7 @@
|
|
|
29618
29744
|
* when `variant="temporary"` is set.
|
|
29619
29745
|
*/
|
|
29620
29746
|
var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
|
|
29621
|
-
var props = useThemeProps({
|
|
29747
|
+
var props = useThemeProps$1({
|
|
29622
29748
|
props: inProps,
|
|
29623
29749
|
name: 'MuiDrawer'
|
|
29624
29750
|
});
|
|
@@ -29915,7 +30041,7 @@
|
|
|
29915
30041
|
});
|
|
29916
30042
|
});
|
|
29917
30043
|
var Fab = /*#__PURE__*/React__namespace.forwardRef(function Fab(inProps, ref) {
|
|
29918
|
-
var props = useThemeProps({
|
|
30044
|
+
var props = useThemeProps$1({
|
|
29919
30045
|
props: inProps,
|
|
29920
30046
|
name: 'MuiFab'
|
|
29921
30047
|
});
|
|
@@ -30186,7 +30312,7 @@
|
|
|
30186
30312
|
});
|
|
30187
30313
|
var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
|
|
30188
30314
|
var _ref5, _slots$root, _ref6, _slots$input;
|
|
30189
|
-
var props = useThemeProps({
|
|
30315
|
+
var props = useThemeProps$1({
|
|
30190
30316
|
props: inProps,
|
|
30191
30317
|
name: 'MuiFilledInput'
|
|
30192
30318
|
});
|
|
@@ -30506,7 +30632,7 @@
|
|
|
30506
30632
|
* For instance, only one input can be focused at the same time, the state shouldn't be shared.
|
|
30507
30633
|
*/
|
|
30508
30634
|
var FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormControl(inProps, ref) {
|
|
30509
|
-
var props = useThemeProps({
|
|
30635
|
+
var props = useThemeProps$1({
|
|
30510
30636
|
props: inProps,
|
|
30511
30637
|
name: 'MuiFormControl'
|
|
30512
30638
|
});
|
|
@@ -30736,8 +30862,8 @@
|
|
|
30736
30862
|
return styles.root;
|
|
30737
30863
|
}
|
|
30738
30864
|
}),
|
|
30739
|
-
useThemeProps: function useThemeProps
|
|
30740
|
-
return useThemeProps({
|
|
30865
|
+
useThemeProps: function useThemeProps(inProps) {
|
|
30866
|
+
return useThemeProps$1({
|
|
30741
30867
|
props: inProps,
|
|
30742
30868
|
name: 'MuiStack'
|
|
30743
30869
|
});
|
|
@@ -30866,7 +30992,7 @@
|
|
|
30866
30992
|
*/
|
|
30867
30993
|
var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
|
|
30868
30994
|
var _ref5, _slotProps$typography;
|
|
30869
|
-
var props = useThemeProps({
|
|
30995
|
+
var props = useThemeProps$1({
|
|
30870
30996
|
props: inProps,
|
|
30871
30997
|
name: 'MuiFormControlLabel'
|
|
30872
30998
|
});
|
|
@@ -31059,7 +31185,7 @@
|
|
|
31059
31185
|
* For the `Radio`, you should be using the `RadioGroup` component instead of this one.
|
|
31060
31186
|
*/
|
|
31061
31187
|
var FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(inProps, ref) {
|
|
31062
|
-
var props = useThemeProps({
|
|
31188
|
+
var props = useThemeProps$1({
|
|
31063
31189
|
props: inProps,
|
|
31064
31190
|
name: 'MuiFormGroup'
|
|
31065
31191
|
});
|
|
@@ -31164,7 +31290,7 @@
|
|
|
31164
31290
|
});
|
|
31165
31291
|
});
|
|
31166
31292
|
var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
|
|
31167
|
-
var props = useThemeProps({
|
|
31293
|
+
var props = useThemeProps$1({
|
|
31168
31294
|
props: inProps,
|
|
31169
31295
|
name: 'MuiFormHelperText'
|
|
31170
31296
|
});
|
|
@@ -31328,7 +31454,7 @@
|
|
|
31328
31454
|
});
|
|
31329
31455
|
});
|
|
31330
31456
|
var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
|
|
31331
|
-
var props = useThemeProps({
|
|
31457
|
+
var props = useThemeProps$1({
|
|
31332
31458
|
props: inProps,
|
|
31333
31459
|
name: 'MuiFormLabel'
|
|
31334
31460
|
});
|
|
@@ -31784,7 +31910,7 @@
|
|
|
31784
31910
|
return composeClasses(slots, getGridUtilityClass, classes);
|
|
31785
31911
|
};
|
|
31786
31912
|
var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
|
|
31787
|
-
var themeProps = useThemeProps({
|
|
31913
|
+
var themeProps = useThemeProps$1({
|
|
31788
31914
|
props: inProps,
|
|
31789
31915
|
name: 'MuiGrid'
|
|
31790
31916
|
});
|
|
@@ -32001,8 +32127,8 @@
|
|
|
32001
32127
|
}
|
|
32002
32128
|
}),
|
|
32003
32129
|
componentName: 'MuiGrid2',
|
|
32004
|
-
useThemeProps: function useThemeProps
|
|
32005
|
-
return useThemeProps({
|
|
32130
|
+
useThemeProps: function useThemeProps(inProps) {
|
|
32131
|
+
return useThemeProps$1({
|
|
32006
32132
|
props: inProps,
|
|
32007
32133
|
name: 'MuiGrid2'
|
|
32008
32134
|
});
|
|
@@ -32094,7 +32220,7 @@
|
|
|
32094
32220
|
_props$TransitionComp = props.TransitionComponent,
|
|
32095
32221
|
TransitionComponent = _props$TransitionComp === void 0 ? Transition$1 : _props$TransitionComp,
|
|
32096
32222
|
other = _objectWithoutProperties(props, ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"]);
|
|
32097
|
-
var timer =
|
|
32223
|
+
var timer = useTimeout();
|
|
32098
32224
|
var autoTimeout = React__namespace.useRef();
|
|
32099
32225
|
var theme = useTheme();
|
|
32100
32226
|
var nodeRef = React__namespace.useRef(null);
|
|
@@ -32182,18 +32308,13 @@
|
|
|
32182
32308
|
var handleExited = normalizedTransitionCallback(onExited);
|
|
32183
32309
|
var handleAddEndListener = function handleAddEndListener(next) {
|
|
32184
32310
|
if (timeout === 'auto') {
|
|
32185
|
-
timer.
|
|
32311
|
+
timer.start(autoTimeout.current || 0, next);
|
|
32186
32312
|
}
|
|
32187
32313
|
if (addEndListener) {
|
|
32188
32314
|
// Old call signature before `react-transition-group` implemented `nodeRef`
|
|
32189
32315
|
addEndListener(nodeRef.current, next);
|
|
32190
32316
|
}
|
|
32191
32317
|
};
|
|
32192
|
-
React__namespace.useEffect(function () {
|
|
32193
|
-
return function () {
|
|
32194
|
-
clearTimeout(timer.current);
|
|
32195
|
-
};
|
|
32196
|
-
}, []);
|
|
32197
32318
|
return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
|
|
32198
32319
|
appear: appear,
|
|
32199
32320
|
"in": inProp,
|
|
@@ -32997,7 +33118,7 @@
|
|
|
32997
33118
|
};
|
|
32998
33119
|
});
|
|
32999
33120
|
var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
|
|
33000
|
-
var props = useThemeProps({
|
|
33121
|
+
var props = useThemeProps$1({
|
|
33001
33122
|
props: inProps,
|
|
33002
33123
|
name: 'MuiIcon'
|
|
33003
33124
|
});
|
|
@@ -33122,7 +33243,7 @@
|
|
|
33122
33243
|
});
|
|
33123
33244
|
});
|
|
33124
33245
|
var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
|
|
33125
|
-
var props = useThemeProps({
|
|
33246
|
+
var props = useThemeProps$1({
|
|
33126
33247
|
props: inProps,
|
|
33127
33248
|
name: 'MuiImageList'
|
|
33128
33249
|
});
|
|
@@ -33283,7 +33404,7 @@
|
|
|
33283
33404
|
})));
|
|
33284
33405
|
});
|
|
33285
33406
|
var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
|
|
33286
|
-
var props = useThemeProps({
|
|
33407
|
+
var props = useThemeProps$1({
|
|
33287
33408
|
props: inProps,
|
|
33288
33409
|
name: 'MuiImageListItem'
|
|
33289
33410
|
});
|
|
@@ -33511,7 +33632,7 @@
|
|
|
33511
33632
|
});
|
|
33512
33633
|
});
|
|
33513
33634
|
var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
|
|
33514
|
-
var props = useThemeProps({
|
|
33635
|
+
var props = useThemeProps$1({
|
|
33515
33636
|
props: inProps,
|
|
33516
33637
|
name: 'MuiImageListItemBar'
|
|
33517
33638
|
});
|
|
@@ -33685,7 +33806,7 @@
|
|
|
33685
33806
|
})({});
|
|
33686
33807
|
var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
|
|
33687
33808
|
var _ref3, _slots$root, _ref4, _slots$input;
|
|
33688
|
-
var props = useThemeProps({
|
|
33809
|
+
var props = useThemeProps$1({
|
|
33689
33810
|
props: inProps,
|
|
33690
33811
|
name: 'MuiInput'
|
|
33691
33812
|
});
|
|
@@ -33973,7 +34094,7 @@
|
|
|
33973
34094
|
});
|
|
33974
34095
|
});
|
|
33975
34096
|
var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
|
|
33976
|
-
var props = useThemeProps({
|
|
34097
|
+
var props = useThemeProps$1({
|
|
33977
34098
|
props: inProps,
|
|
33978
34099
|
name: 'MuiInputAdornment'
|
|
33979
34100
|
});
|
|
@@ -34173,7 +34294,7 @@
|
|
|
34173
34294
|
}));
|
|
34174
34295
|
});
|
|
34175
34296
|
var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
34176
|
-
var props = useThemeProps({
|
|
34297
|
+
var props = useThemeProps$1({
|
|
34177
34298
|
name: 'MuiInputLabel',
|
|
34178
34299
|
props: inProps
|
|
34179
34300
|
});
|
|
@@ -34445,7 +34566,7 @@
|
|
|
34445
34566
|
* attribute to `true` on that region until it has finished loading.
|
|
34446
34567
|
*/
|
|
34447
34568
|
var LinearProgress = /*#__PURE__*/React__namespace.forwardRef(function LinearProgress(inProps, ref) {
|
|
34448
|
-
var props = useThemeProps({
|
|
34569
|
+
var props = useThemeProps$1({
|
|
34449
34570
|
props: inProps,
|
|
34450
34571
|
name: 'MuiLinearProgress'
|
|
34451
34572
|
});
|
|
@@ -34652,7 +34773,7 @@
|
|
|
34652
34773
|
}));
|
|
34653
34774
|
});
|
|
34654
34775
|
var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
|
|
34655
|
-
var props = useThemeProps({
|
|
34776
|
+
var props = useThemeProps$1({
|
|
34656
34777
|
props: inProps,
|
|
34657
34778
|
name: 'MuiLink'
|
|
34658
34779
|
});
|
|
@@ -34823,7 +34944,7 @@
|
|
|
34823
34944
|
});
|
|
34824
34945
|
});
|
|
34825
34946
|
var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
|
|
34826
|
-
var props = useThemeProps({
|
|
34947
|
+
var props = useThemeProps$1({
|
|
34827
34948
|
props: inProps,
|
|
34828
34949
|
name: 'MuiList'
|
|
34829
34950
|
});
|
|
@@ -34996,7 +35117,7 @@
|
|
|
34996
35117
|
});
|
|
34997
35118
|
});
|
|
34998
35119
|
var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
|
|
34999
|
-
var props = useThemeProps({
|
|
35120
|
+
var props = useThemeProps$1({
|
|
35000
35121
|
props: inProps,
|
|
35001
35122
|
name: 'MuiListItemButton'
|
|
35002
35123
|
});
|
|
@@ -35179,7 +35300,7 @@
|
|
|
35179
35300
|
* Must be used as the last child of ListItem to function properly.
|
|
35180
35301
|
*/
|
|
35181
35302
|
var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
35182
|
-
var props = useThemeProps({
|
|
35303
|
+
var props = useThemeProps$1({
|
|
35183
35304
|
props: inProps,
|
|
35184
35305
|
name: 'MuiListItemSecondaryAction'
|
|
35185
35306
|
});
|
|
@@ -35324,7 +35445,7 @@
|
|
|
35324
35445
|
* Uses an additional container component if `ListItemSecondaryAction` is the last child.
|
|
35325
35446
|
*/
|
|
35326
35447
|
var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
|
|
35327
|
-
var props = useThemeProps({
|
|
35448
|
+
var props = useThemeProps$1({
|
|
35328
35449
|
props: inProps,
|
|
35329
35450
|
name: 'MuiListItem'
|
|
35330
35451
|
});
|
|
@@ -35658,7 +35779,7 @@
|
|
|
35658
35779
|
* A simple wrapper to apply `List` styles to an `Avatar`.
|
|
35659
35780
|
*/
|
|
35660
35781
|
var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
|
|
35661
|
-
var props = useThemeProps({
|
|
35782
|
+
var props = useThemeProps$1({
|
|
35662
35783
|
props: inProps,
|
|
35663
35784
|
name: 'MuiListItemAvatar'
|
|
35664
35785
|
});
|
|
@@ -35737,7 +35858,7 @@
|
|
|
35737
35858
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
35738
35859
|
*/
|
|
35739
35860
|
var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
|
|
35740
|
-
var props = useThemeProps({
|
|
35861
|
+
var props = useThemeProps$1({
|
|
35741
35862
|
props: inProps,
|
|
35742
35863
|
name: 'MuiListItemIcon'
|
|
35743
35864
|
});
|
|
@@ -35820,7 +35941,7 @@
|
|
|
35820
35941
|
});
|
|
35821
35942
|
});
|
|
35822
35943
|
var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
|
|
35823
|
-
var props = useThemeProps({
|
|
35944
|
+
var props = useThemeProps$1({
|
|
35824
35945
|
props: inProps,
|
|
35825
35946
|
name: 'MuiListItemText'
|
|
35826
35947
|
});
|
|
@@ -36275,7 +36396,7 @@
|
|
|
36275
36396
|
});
|
|
36276
36397
|
var Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProps, ref) {
|
|
36277
36398
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
36278
|
-
var props = useThemeProps({
|
|
36399
|
+
var props = useThemeProps$1({
|
|
36279
36400
|
props: inProps,
|
|
36280
36401
|
name: 'MuiPopover'
|
|
36281
36402
|
});
|
|
@@ -36792,7 +36913,7 @@
|
|
|
36792
36913
|
});
|
|
36793
36914
|
var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
|
|
36794
36915
|
var _slots$paper, _slotProps$paper;
|
|
36795
|
-
var props = useThemeProps({
|
|
36916
|
+
var props = useThemeProps$1({
|
|
36796
36917
|
props: inProps,
|
|
36797
36918
|
name: 'MuiMenu'
|
|
36798
36919
|
});
|
|
@@ -37135,7 +37256,7 @@
|
|
|
37135
37256
|
})));
|
|
37136
37257
|
});
|
|
37137
37258
|
var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
|
|
37138
|
-
var props = useThemeProps({
|
|
37259
|
+
var props = useThemeProps$1({
|
|
37139
37260
|
props: inProps,
|
|
37140
37261
|
name: 'MuiMenuItem'
|
|
37141
37262
|
});
|
|
@@ -37377,7 +37498,7 @@
|
|
|
37377
37498
|
});
|
|
37378
37499
|
});
|
|
37379
37500
|
var MobileStepper = /*#__PURE__*/React__namespace.forwardRef(function MobileStepper(inProps, ref) {
|
|
37380
|
-
var props = useThemeProps({
|
|
37501
|
+
var props = useThemeProps$1({
|
|
37381
37502
|
props: inProps,
|
|
37382
37503
|
name: 'MuiMobileStepper'
|
|
37383
37504
|
});
|
|
@@ -37695,7 +37816,7 @@
|
|
|
37695
37816
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
37696
37817
|
*/
|
|
37697
37818
|
var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
|
|
37698
|
-
var props = useThemeProps({
|
|
37819
|
+
var props = useThemeProps$1({
|
|
37699
37820
|
name: 'MuiNativeSelect',
|
|
37700
37821
|
props: inProps
|
|
37701
37822
|
});
|
|
@@ -38021,7 +38142,7 @@
|
|
|
38021
38142
|
});
|
|
38022
38143
|
var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
|
|
38023
38144
|
var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
|
|
38024
|
-
var props = useThemeProps({
|
|
38145
|
+
var props = useThemeProps$1({
|
|
38025
38146
|
props: inProps,
|
|
38026
38147
|
name: 'MuiOutlinedInput'
|
|
38027
38148
|
});
|
|
@@ -38381,7 +38502,7 @@
|
|
|
38381
38502
|
function getPaginationItemUtilityClass(slot) {
|
|
38382
38503
|
return generateUtilityClass$1('MuiPaginationItem', slot);
|
|
38383
38504
|
}
|
|
38384
|
-
var paginationItemClasses = generateUtilityClasses$1('MuiPaginationItem', ['root', 'page', 'sizeSmall', 'sizeLarge', 'text', 'textPrimary', 'textSecondary', 'outlined', 'outlinedPrimary', 'outlinedSecondary', 'rounded', 'ellipsis', 'firstLast', 'previousNext', 'focusVisible', 'disabled', 'selected', 'icon']);
|
|
38505
|
+
var paginationItemClasses = generateUtilityClasses$1('MuiPaginationItem', ['root', 'page', 'sizeSmall', 'sizeLarge', 'text', 'textPrimary', 'textSecondary', 'outlined', 'outlinedPrimary', 'outlinedSecondary', 'rounded', 'ellipsis', 'firstLast', 'previousNext', 'focusVisible', 'disabled', 'selected', 'icon', 'colorPrimary', 'colorSecondary']);
|
|
38385
38506
|
var paginationItemClasses$1 = paginationItemClasses;
|
|
38386
38507
|
|
|
38387
38508
|
var FirstPageIconDefault = createSvgIcon( /*#__PURE__*/jsxRuntime_1("path", {
|
|
@@ -38414,7 +38535,7 @@
|
|
|
38414
38535
|
type = ownerState.type,
|
|
38415
38536
|
variant = ownerState.variant;
|
|
38416
38537
|
var slots = {
|
|
38417
|
-
root: ['root', "size".concat(capitalize(size)), variant, shape, color !== 'standard' && "".concat(variant).concat(capitalize(color)), disabled && 'disabled', selected && 'selected', {
|
|
38538
|
+
root: ['root', "size".concat(capitalize(size)), variant, shape, color !== 'standard' && "color".concat(capitalize(color)), color !== 'standard' && "".concat(variant).concat(capitalize(color)), disabled && 'disabled', selected && 'selected', {
|
|
38418
38539
|
page: 'page',
|
|
38419
38540
|
first: 'firstLast',
|
|
38420
38541
|
last: 'firstLast',
|
|
@@ -38571,7 +38692,7 @@
|
|
|
38571
38692
|
});
|
|
38572
38693
|
});
|
|
38573
38694
|
var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
|
|
38574
|
-
var props = useThemeProps({
|
|
38695
|
+
var props = useThemeProps$1({
|
|
38575
38696
|
props: inProps,
|
|
38576
38697
|
name: 'MuiPaginationItem'
|
|
38577
38698
|
});
|
|
@@ -38774,7 +38895,7 @@
|
|
|
38774
38895
|
return "Go to ".concat(type, " page");
|
|
38775
38896
|
}
|
|
38776
38897
|
var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
|
|
38777
|
-
var props = useThemeProps({
|
|
38898
|
+
var props = useThemeProps$1({
|
|
38778
38899
|
props: inProps,
|
|
38779
38900
|
name: 'MuiPagination'
|
|
38780
38901
|
});
|
|
@@ -39130,7 +39251,7 @@
|
|
|
39130
39251
|
var defaultIcon$1 = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {});
|
|
39131
39252
|
var Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, ref) {
|
|
39132
39253
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
39133
|
-
var props = useThemeProps({
|
|
39254
|
+
var props = useThemeProps$1({
|
|
39134
39255
|
props: inProps,
|
|
39135
39256
|
name: 'MuiRadio'
|
|
39136
39257
|
});
|
|
@@ -39422,6 +39543,7 @@
|
|
|
39422
39543
|
color: '#faaf00',
|
|
39423
39544
|
cursor: 'pointer',
|
|
39424
39545
|
textAlign: 'left',
|
|
39546
|
+
width: 'min-content',
|
|
39425
39547
|
WebkitTapHighlightColor: 'transparent'
|
|
39426
39548
|
}, "&.".concat(ratingClasses$1.disabled), {
|
|
39427
39549
|
opacity: (theme.vars || theme).palette.action.disabledOpacity,
|
|
@@ -39610,7 +39732,7 @@
|
|
|
39610
39732
|
return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
|
|
39611
39733
|
}
|
|
39612
39734
|
var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
|
|
39613
|
-
var props = useThemeProps({
|
|
39735
|
+
var props = useThemeProps$1({
|
|
39614
39736
|
name: 'MuiRating',
|
|
39615
39737
|
props: inProps
|
|
39616
39738
|
});
|
|
@@ -40051,7 +40173,7 @@
|
|
|
40051
40173
|
}, colorSchemeStyles);
|
|
40052
40174
|
});
|
|
40053
40175
|
var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
40054
|
-
var props = useThemeProps({
|
|
40176
|
+
var props = useThemeProps$1({
|
|
40055
40177
|
props: inProps,
|
|
40056
40178
|
name: 'MuiScopedCssBaseline'
|
|
40057
40179
|
});
|
|
@@ -40774,7 +40896,7 @@
|
|
|
40774
40896
|
var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
|
|
40775
40897
|
var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
|
|
40776
40898
|
var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
40777
|
-
var props = useThemeProps({
|
|
40899
|
+
var props = useThemeProps$1({
|
|
40778
40900
|
name: 'MuiSelect',
|
|
40779
40901
|
props: inProps
|
|
40780
40902
|
});
|
|
@@ -40867,7 +40989,7 @@
|
|
|
40867
40989
|
}, inputProps, {
|
|
40868
40990
|
classes: inputProps ? deepmerge(restOfClasses, inputProps.classes) : restOfClasses
|
|
40869
40991
|
}, input ? input.props.inputProps : {})
|
|
40870
|
-
}, multiple && _native && variant === 'outlined' ? {
|
|
40992
|
+
}, (multiple && _native || displayEmpty) && variant === 'outlined' ? {
|
|
40871
40993
|
notched: true
|
|
40872
40994
|
} : {}, {
|
|
40873
40995
|
ref: inputComponentRef,
|
|
@@ -41097,7 +41219,7 @@
|
|
|
41097
41219
|
return ownerState.animation === 'wave' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ", " 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ", ",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "])), waveKeyframe, (theme.vars || theme).palette.action.hover);
|
|
41098
41220
|
});
|
|
41099
41221
|
var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
|
|
41100
|
-
var props = useThemeProps({
|
|
41222
|
+
var props = useThemeProps$1({
|
|
41101
41223
|
props: inProps,
|
|
41102
41224
|
name: 'MuiSkeleton'
|
|
41103
41225
|
});
|
|
@@ -41585,7 +41707,7 @@
|
|
|
41585
41707
|
};
|
|
41586
41708
|
var Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
|
|
41587
41709
|
var _ref9, _slots$root, _ref10, _slots$rail, _ref11, _slots$track, _ref12, _slots$thumb, _ref13, _slots$valueLabel, _ref14, _slots$mark, _ref15, _slots$markLabel, _ref16, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
41588
|
-
var props = useThemeProps({
|
|
41710
|
+
var props = useThemeProps$1({
|
|
41589
41711
|
props: inputProps,
|
|
41590
41712
|
name: 'MuiSlider'
|
|
41591
41713
|
});
|
|
@@ -42157,7 +42279,7 @@
|
|
|
42157
42279
|
marginRight: -8
|
|
42158
42280
|
});
|
|
42159
42281
|
var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
|
|
42160
|
-
var props = useThemeProps({
|
|
42282
|
+
var props = useThemeProps$1({
|
|
42161
42283
|
props: inProps,
|
|
42162
42284
|
name: 'MuiSnackbarContent'
|
|
42163
42285
|
});
|
|
@@ -42279,7 +42401,7 @@
|
|
|
42279
42401
|
})));
|
|
42280
42402
|
});
|
|
42281
42403
|
var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
|
|
42282
|
-
var props = useThemeProps({
|
|
42404
|
+
var props = useThemeProps$1({
|
|
42283
42405
|
props: inProps,
|
|
42284
42406
|
name: 'MuiSnackbar'
|
|
42285
42407
|
});
|
|
@@ -42814,7 +42936,7 @@
|
|
|
42814
42936
|
});
|
|
42815
42937
|
});
|
|
42816
42938
|
var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
|
|
42817
|
-
var props = useThemeProps({
|
|
42939
|
+
var props = useThemeProps$1({
|
|
42818
42940
|
props: inProps,
|
|
42819
42941
|
name: 'MuiSpeedDial'
|
|
42820
42942
|
});
|
|
@@ -42864,12 +42986,7 @@
|
|
|
42864
42986
|
direction: direction
|
|
42865
42987
|
});
|
|
42866
42988
|
var classes = useUtilityClasses$r(ownerState);
|
|
42867
|
-
var eventTimer =
|
|
42868
|
-
React__namespace.useEffect(function () {
|
|
42869
|
-
return function () {
|
|
42870
|
-
clearTimeout(eventTimer.current);
|
|
42871
|
-
};
|
|
42872
|
-
}, []);
|
|
42989
|
+
var eventTimer = useTimeout();
|
|
42873
42990
|
|
|
42874
42991
|
/**
|
|
42875
42992
|
* an index in actions.current
|
|
@@ -42952,9 +43069,9 @@
|
|
|
42952
43069
|
if (event.type === 'blur' && onBlur) {
|
|
42953
43070
|
onBlur(event);
|
|
42954
43071
|
}
|
|
42955
|
-
|
|
43072
|
+
eventTimer.clear();
|
|
42956
43073
|
if (event.type === 'blur') {
|
|
42957
|
-
eventTimer.
|
|
43074
|
+
eventTimer.start(0, function () {
|
|
42958
43075
|
setOpenState(false);
|
|
42959
43076
|
if (onClose) {
|
|
42960
43077
|
onClose(event, 'blur');
|
|
@@ -42971,7 +43088,7 @@
|
|
|
42971
43088
|
if (FabProps.onClick) {
|
|
42972
43089
|
FabProps.onClick(event);
|
|
42973
43090
|
}
|
|
42974
|
-
|
|
43091
|
+
eventTimer.clear();
|
|
42975
43092
|
if (open) {
|
|
42976
43093
|
setOpenState(false);
|
|
42977
43094
|
if (onClose) {
|
|
@@ -42995,10 +43112,10 @@
|
|
|
42995
43112
|
// When moving the focus between two items,
|
|
42996
43113
|
// a chain if blur and focus event is triggered.
|
|
42997
43114
|
// We only handle the last event.
|
|
42998
|
-
|
|
43115
|
+
eventTimer.clear();
|
|
42999
43116
|
if (!open) {
|
|
43000
43117
|
// Wait for a future focus or click event
|
|
43001
|
-
eventTimer.
|
|
43118
|
+
eventTimer.start(0, function () {
|
|
43002
43119
|
setOpenState(true);
|
|
43003
43120
|
if (onOpen) {
|
|
43004
43121
|
var eventMap = {
|
|
@@ -43361,7 +43478,7 @@
|
|
|
43361
43478
|
};
|
|
43362
43479
|
});
|
|
43363
43480
|
var hystersisOpen = false;
|
|
43364
|
-
var hystersisTimer =
|
|
43481
|
+
var hystersisTimer = new Timeout();
|
|
43365
43482
|
var cursorPosition = {
|
|
43366
43483
|
x: 0,
|
|
43367
43484
|
y: 0
|
|
@@ -43378,7 +43495,7 @@
|
|
|
43378
43495
|
// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
43379
43496
|
var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
|
|
43380
43497
|
var _ref5, _slots$popper, _ref6, _ref7, _slots$transition, _ref8, _slots$tooltip, _ref9, _slots$arrow, _slotProps$popper, _ref10, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref11, _slotProps$tooltip2, _slotProps$arrow, _ref12, _slotProps$arrow2;
|
|
43381
|
-
var props = useThemeProps({
|
|
43498
|
+
var props = useThemeProps$1({
|
|
43382
43499
|
props: inProps,
|
|
43383
43500
|
name: 'MuiTooltip'
|
|
43384
43501
|
});
|
|
@@ -43443,10 +43560,10 @@
|
|
|
43443
43560
|
setArrowRef = _React$useState2[1];
|
|
43444
43561
|
var ignoreNonTouchEvents = React__namespace.useRef(false);
|
|
43445
43562
|
var disableInteractive = disableInteractiveProp || followCursor;
|
|
43446
|
-
var closeTimer =
|
|
43447
|
-
var enterTimer =
|
|
43448
|
-
var leaveTimer =
|
|
43449
|
-
var touchTimer =
|
|
43563
|
+
var closeTimer = useTimeout();
|
|
43564
|
+
var enterTimer = useTimeout();
|
|
43565
|
+
var leaveTimer = useTimeout();
|
|
43566
|
+
var touchTimer = useTimeout();
|
|
43450
43567
|
var _useControlled = useControlled({
|
|
43451
43568
|
controlled: openProp,
|
|
43452
43569
|
"default": false,
|
|
@@ -43469,23 +43586,18 @@
|
|
|
43469
43586
|
}
|
|
43470
43587
|
var id = useId(idProp);
|
|
43471
43588
|
var prevUserSelect = React__namespace.useRef();
|
|
43472
|
-
var stopTouchInteraction =
|
|
43589
|
+
var stopTouchInteraction = useEventCallback(function () {
|
|
43473
43590
|
if (prevUserSelect.current !== undefined) {
|
|
43474
43591
|
document.body.style.WebkitUserSelect = prevUserSelect.current;
|
|
43475
43592
|
prevUserSelect.current = undefined;
|
|
43476
43593
|
}
|
|
43477
|
-
|
|
43478
|
-
}
|
|
43594
|
+
touchTimer.clear();
|
|
43595
|
+
});
|
|
43479
43596
|
React__namespace.useEffect(function () {
|
|
43480
|
-
return
|
|
43481
|
-
clearTimeout(closeTimer.current);
|
|
43482
|
-
clearTimeout(enterTimer.current);
|
|
43483
|
-
clearTimeout(leaveTimer.current);
|
|
43484
|
-
stopTouchInteraction();
|
|
43485
|
-
};
|
|
43597
|
+
return stopTouchInteraction;
|
|
43486
43598
|
}, [stopTouchInteraction]);
|
|
43487
43599
|
var handleOpen = function handleOpen(event) {
|
|
43488
|
-
|
|
43600
|
+
hystersisTimer.clear();
|
|
43489
43601
|
hystersisOpen = true;
|
|
43490
43602
|
|
|
43491
43603
|
// The mouseover event will trigger for every nested element in the tooltip.
|
|
@@ -43501,18 +43613,16 @@
|
|
|
43501
43613
|
* @param {React.SyntheticEvent | Event} event
|
|
43502
43614
|
*/
|
|
43503
43615
|
function (event) {
|
|
43504
|
-
|
|
43505
|
-
hystersisTimer = setTimeout(function () {
|
|
43616
|
+
hystersisTimer.start(800 + leaveDelay, function () {
|
|
43506
43617
|
hystersisOpen = false;
|
|
43507
|
-
}
|
|
43618
|
+
});
|
|
43508
43619
|
setOpenState(false);
|
|
43509
43620
|
if (onClose && open) {
|
|
43510
43621
|
onClose(event);
|
|
43511
43622
|
}
|
|
43512
|
-
|
|
43513
|
-
closeTimer.current = setTimeout(function () {
|
|
43623
|
+
closeTimer.start(theme.transitions.duration.shortest, function () {
|
|
43514
43624
|
ignoreNonTouchEvents.current = false;
|
|
43515
|
-
}
|
|
43625
|
+
});
|
|
43516
43626
|
});
|
|
43517
43627
|
var handleEnter = function handleEnter(event) {
|
|
43518
43628
|
if (ignoreNonTouchEvents.current && event.type !== 'touchstart') {
|
|
@@ -43525,22 +43635,21 @@
|
|
|
43525
43635
|
if (childNode) {
|
|
43526
43636
|
childNode.removeAttribute('title');
|
|
43527
43637
|
}
|
|
43528
|
-
|
|
43529
|
-
|
|
43638
|
+
enterTimer.clear();
|
|
43639
|
+
leaveTimer.clear();
|
|
43530
43640
|
if (enterDelay || hystersisOpen && enterNextDelay) {
|
|
43531
|
-
enterTimer.
|
|
43641
|
+
enterTimer.start(hystersisOpen ? enterNextDelay : enterDelay, function () {
|
|
43532
43642
|
handleOpen(event);
|
|
43533
|
-
}
|
|
43643
|
+
});
|
|
43534
43644
|
} else {
|
|
43535
43645
|
handleOpen(event);
|
|
43536
43646
|
}
|
|
43537
43647
|
};
|
|
43538
43648
|
var handleLeave = function handleLeave(event) {
|
|
43539
|
-
|
|
43540
|
-
|
|
43541
|
-
leaveTimer.current = setTimeout(function () {
|
|
43649
|
+
enterTimer.clear();
|
|
43650
|
+
leaveTimer.start(leaveDelay, function () {
|
|
43542
43651
|
handleClose(event);
|
|
43543
|
-
}
|
|
43652
|
+
});
|
|
43544
43653
|
};
|
|
43545
43654
|
var _useIsFocusVisible = useIsFocusVisible(),
|
|
43546
43655
|
isFocusVisibleRef = _useIsFocusVisible.isFocusVisibleRef,
|
|
@@ -43581,26 +43690,25 @@
|
|
|
43581
43690
|
var handleMouseLeave = handleLeave;
|
|
43582
43691
|
var handleTouchStart = function handleTouchStart(event) {
|
|
43583
43692
|
detectTouchStart(event);
|
|
43584
|
-
|
|
43585
|
-
|
|
43693
|
+
leaveTimer.clear();
|
|
43694
|
+
closeTimer.clear();
|
|
43586
43695
|
stopTouchInteraction();
|
|
43587
43696
|
prevUserSelect.current = document.body.style.WebkitUserSelect;
|
|
43588
43697
|
// Prevent iOS text selection on long-tap.
|
|
43589
43698
|
document.body.style.WebkitUserSelect = 'none';
|
|
43590
|
-
touchTimer.
|
|
43699
|
+
touchTimer.start(enterTouchDelay, function () {
|
|
43591
43700
|
document.body.style.WebkitUserSelect = prevUserSelect.current;
|
|
43592
43701
|
handleEnter(event);
|
|
43593
|
-
}
|
|
43702
|
+
});
|
|
43594
43703
|
};
|
|
43595
43704
|
var handleTouchEnd = function handleTouchEnd(event) {
|
|
43596
43705
|
if (children.props.onTouchEnd) {
|
|
43597
43706
|
children.props.onTouchEnd(event);
|
|
43598
43707
|
}
|
|
43599
43708
|
stopTouchInteraction();
|
|
43600
|
-
|
|
43601
|
-
leaveTimer.current = setTimeout(function () {
|
|
43709
|
+
leaveTimer.start(leaveTouchDelay, function () {
|
|
43602
43710
|
handleClose(event);
|
|
43603
|
-
}
|
|
43711
|
+
});
|
|
43604
43712
|
};
|
|
43605
43713
|
React__namespace.useEffect(function () {
|
|
43606
43714
|
if (!open) {
|
|
@@ -44061,7 +44169,7 @@
|
|
|
44061
44169
|
});
|
|
44062
44170
|
});
|
|
44063
44171
|
var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
44064
|
-
var props = useThemeProps({
|
|
44172
|
+
var props = useThemeProps$1({
|
|
44065
44173
|
props: inProps,
|
|
44066
44174
|
name: 'MuiSpeedDialAction'
|
|
44067
44175
|
});
|
|
@@ -44255,7 +44363,7 @@
|
|
|
44255
44363
|
}));
|
|
44256
44364
|
});
|
|
44257
44365
|
var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
44258
|
-
var props = useThemeProps({
|
|
44366
|
+
var props = useThemeProps$1({
|
|
44259
44367
|
props: inProps,
|
|
44260
44368
|
name: 'MuiSpeedDialIcon'
|
|
44261
44369
|
});
|
|
@@ -44386,7 +44494,7 @@
|
|
|
44386
44494
|
});
|
|
44387
44495
|
});
|
|
44388
44496
|
var Step = /*#__PURE__*/React__namespace.forwardRef(function Step(inProps, ref) {
|
|
44389
|
-
var props = useThemeProps({
|
|
44497
|
+
var props = useThemeProps$1({
|
|
44390
44498
|
props: inProps,
|
|
44391
44499
|
name: 'MuiStep'
|
|
44392
44500
|
});
|
|
@@ -44577,7 +44685,7 @@
|
|
|
44577
44685
|
};
|
|
44578
44686
|
});
|
|
44579
44687
|
var StepIcon = /*#__PURE__*/React__namespace.forwardRef(function StepIcon(inProps, ref) {
|
|
44580
|
-
var props = useThemeProps({
|
|
44688
|
+
var props = useThemeProps$1({
|
|
44581
44689
|
props: inProps,
|
|
44582
44690
|
name: 'MuiStepIcon'
|
|
44583
44691
|
});
|
|
@@ -44776,7 +44884,7 @@
|
|
|
44776
44884
|
});
|
|
44777
44885
|
var StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
|
|
44778
44886
|
var _slotProps$label;
|
|
44779
|
-
var props = useThemeProps({
|
|
44887
|
+
var props = useThemeProps$1({
|
|
44780
44888
|
props: inProps,
|
|
44781
44889
|
name: 'MuiStepLabel'
|
|
44782
44890
|
});
|
|
@@ -44940,7 +45048,7 @@
|
|
|
44940
45048
|
}));
|
|
44941
45049
|
});
|
|
44942
45050
|
var StepButton = /*#__PURE__*/React__namespace.forwardRef(function StepButton(inProps, ref) {
|
|
44943
|
-
var props = useThemeProps({
|
|
45051
|
+
var props = useThemeProps$1({
|
|
44944
45052
|
props: inProps,
|
|
44945
45053
|
name: 'MuiStepButton'
|
|
44946
45054
|
});
|
|
@@ -45074,7 +45182,7 @@
|
|
|
45074
45182
|
});
|
|
45075
45183
|
});
|
|
45076
45184
|
var StepConnector = /*#__PURE__*/React__namespace.forwardRef(function StepConnector(inProps, ref) {
|
|
45077
|
-
var props = useThemeProps({
|
|
45185
|
+
var props = useThemeProps$1({
|
|
45078
45186
|
props: inProps,
|
|
45079
45187
|
name: 'MuiStepConnector'
|
|
45080
45188
|
});
|
|
@@ -45171,7 +45279,7 @@
|
|
|
45171
45279
|
}
|
|
45172
45280
|
})({});
|
|
45173
45281
|
var StepContent = /*#__PURE__*/React__namespace.forwardRef(function StepContent(inProps, ref) {
|
|
45174
|
-
var props = useThemeProps({
|
|
45282
|
+
var props = useThemeProps$1({
|
|
45175
45283
|
props: inProps,
|
|
45176
45284
|
name: 'MuiStepContent'
|
|
45177
45285
|
});
|
|
@@ -45303,7 +45411,7 @@
|
|
|
45303
45411
|
});
|
|
45304
45412
|
var defaultConnector = /*#__PURE__*/jsxRuntime_1(StepConnector$1, {});
|
|
45305
45413
|
var Stepper = /*#__PURE__*/React__namespace.forwardRef(function Stepper(inProps, ref) {
|
|
45306
|
-
var props = useThemeProps({
|
|
45414
|
+
var props = useThemeProps$1({
|
|
45307
45415
|
props: inProps,
|
|
45308
45416
|
name: 'MuiStepper'
|
|
45309
45417
|
});
|
|
@@ -45569,7 +45677,7 @@
|
|
|
45569
45677
|
}
|
|
45570
45678
|
var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
45571
45679
|
var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
45572
|
-
var props = useThemeProps$
|
|
45680
|
+
var props = useThemeProps$2({
|
|
45573
45681
|
name: 'MuiSwipeableDrawer',
|
|
45574
45682
|
props: inProps
|
|
45575
45683
|
});
|
|
@@ -46232,7 +46340,7 @@
|
|
|
46232
46340
|
};
|
|
46233
46341
|
});
|
|
46234
46342
|
var Switch = /*#__PURE__*/React__namespace.forwardRef(function Switch(inProps, ref) {
|
|
46235
|
-
var props = useThemeProps({
|
|
46343
|
+
var props = useThemeProps$1({
|
|
46236
46344
|
props: inProps,
|
|
46237
46345
|
name: 'MuiSwitch'
|
|
46238
46346
|
});
|
|
@@ -46457,7 +46565,7 @@
|
|
|
46457
46565
|
});
|
|
46458
46566
|
});
|
|
46459
46567
|
var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
|
|
46460
|
-
var props = useThemeProps({
|
|
46568
|
+
var props = useThemeProps$1({
|
|
46461
46569
|
props: inProps,
|
|
46462
46570
|
name: 'MuiTab'
|
|
46463
46571
|
});
|
|
@@ -46661,7 +46769,7 @@
|
|
|
46661
46769
|
});
|
|
46662
46770
|
var defaultComponent$4 = 'table';
|
|
46663
46771
|
var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
|
|
46664
|
-
var props = useThemeProps({
|
|
46772
|
+
var props = useThemeProps$1({
|
|
46665
46773
|
props: inProps,
|
|
46666
46774
|
name: 'MuiTable'
|
|
46667
46775
|
});
|
|
@@ -46782,7 +46890,7 @@
|
|
|
46782
46890
|
};
|
|
46783
46891
|
var defaultComponent$3 = 'tbody';
|
|
46784
46892
|
var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
|
|
46785
|
-
var props = useThemeProps({
|
|
46893
|
+
var props = useThemeProps$1({
|
|
46786
46894
|
props: inProps,
|
|
46787
46895
|
name: 'MuiTableBody'
|
|
46788
46896
|
});
|
|
@@ -46917,7 +47025,7 @@
|
|
|
46917
47025
|
* or otherwise a `<td>` element.
|
|
46918
47026
|
*/
|
|
46919
47027
|
var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
|
|
46920
|
-
var props = useThemeProps({
|
|
47028
|
+
var props = useThemeProps$1({
|
|
46921
47029
|
props: inProps,
|
|
46922
47030
|
name: 'MuiTableCell'
|
|
46923
47031
|
});
|
|
@@ -47056,7 +47164,7 @@
|
|
|
47056
47164
|
overflowX: 'auto'
|
|
47057
47165
|
});
|
|
47058
47166
|
var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
|
|
47059
|
-
var props = useThemeProps({
|
|
47167
|
+
var props = useThemeProps$1({
|
|
47060
47168
|
props: inProps,
|
|
47061
47169
|
name: 'MuiTableContainer'
|
|
47062
47170
|
});
|
|
@@ -47131,7 +47239,7 @@
|
|
|
47131
47239
|
};
|
|
47132
47240
|
var defaultComponent$2 = 'tfoot';
|
|
47133
47241
|
var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
|
|
47134
|
-
var props = useThemeProps({
|
|
47242
|
+
var props = useThemeProps$1({
|
|
47135
47243
|
props: inProps,
|
|
47136
47244
|
name: 'MuiTableFooter'
|
|
47137
47245
|
});
|
|
@@ -47210,7 +47318,7 @@
|
|
|
47210
47318
|
};
|
|
47211
47319
|
var defaultComponent$1 = 'thead';
|
|
47212
47320
|
var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
|
|
47213
|
-
var props = useThemeProps({
|
|
47321
|
+
var props = useThemeProps$1({
|
|
47214
47322
|
props: inProps,
|
|
47215
47323
|
name: 'MuiTableHead'
|
|
47216
47324
|
});
|
|
@@ -47306,7 +47414,7 @@
|
|
|
47306
47414
|
return ownerState.variant === 'regular' && theme.mixins.toolbar;
|
|
47307
47415
|
});
|
|
47308
47416
|
var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
|
|
47309
|
-
var props = useThemeProps({
|
|
47417
|
+
var props = useThemeProps$1({
|
|
47310
47418
|
props: inProps,
|
|
47311
47419
|
name: 'MuiToolbar'
|
|
47312
47420
|
});
|
|
@@ -47680,7 +47788,7 @@
|
|
|
47680
47788
|
*/
|
|
47681
47789
|
var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
|
|
47682
47790
|
var _slotProps$select;
|
|
47683
|
-
var props = useThemeProps({
|
|
47791
|
+
var props = useThemeProps$1({
|
|
47684
47792
|
props: inProps,
|
|
47685
47793
|
name: 'MuiTablePagination'
|
|
47686
47794
|
});
|
|
@@ -48036,7 +48144,7 @@
|
|
|
48036
48144
|
* based on the material table element parent (head, body, etc).
|
|
48037
48145
|
*/
|
|
48038
48146
|
var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
|
|
48039
|
-
var props = useThemeProps({
|
|
48147
|
+
var props = useThemeProps$1({
|
|
48040
48148
|
props: inProps,
|
|
48041
48149
|
name: 'MuiTableRow'
|
|
48042
48150
|
});
|
|
@@ -48184,7 +48292,7 @@
|
|
|
48184
48292
|
* A button based label for placing inside `TableCell` for column sorting.
|
|
48185
48293
|
*/
|
|
48186
48294
|
var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
|
|
48187
|
-
var props = useThemeProps({
|
|
48295
|
+
var props = useThemeProps$1({
|
|
48188
48296
|
props: inProps,
|
|
48189
48297
|
name: 'MuiTableSortLabel'
|
|
48190
48298
|
});
|
|
@@ -48395,7 +48503,7 @@
|
|
|
48395
48503
|
});
|
|
48396
48504
|
var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
|
|
48397
48505
|
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
48398
|
-
var props = useThemeProps({
|
|
48506
|
+
var props = useThemeProps$1({
|
|
48399
48507
|
props: inProps,
|
|
48400
48508
|
name: 'MuiTabScrollButton'
|
|
48401
48509
|
});
|
|
@@ -48673,7 +48781,7 @@
|
|
|
48673
48781
|
var defaultIndicatorStyle = {};
|
|
48674
48782
|
var warnedOnceTabPresent = false;
|
|
48675
48783
|
var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
|
|
48676
|
-
var props = useThemeProps({
|
|
48784
|
+
var props = useThemeProps$1({
|
|
48677
48785
|
props: inProps,
|
|
48678
48786
|
name: 'MuiTabs'
|
|
48679
48787
|
});
|
|
@@ -49384,7 +49492,7 @@
|
|
|
49384
49492
|
* - using the underlying components directly as shown in the demos
|
|
49385
49493
|
*/
|
|
49386
49494
|
var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
|
|
49387
|
-
var props = useThemeProps({
|
|
49495
|
+
var props = useThemeProps$1({
|
|
49388
49496
|
props: inProps,
|
|
49389
49497
|
name: 'MuiTextField'
|
|
49390
49498
|
});
|
|
@@ -49800,7 +49908,7 @@
|
|
|
49800
49908
|
var resolvedProps = resolveProps(_extends({}, contextProps, {
|
|
49801
49909
|
selected: isValueSelected(inProps.value, contextValue)
|
|
49802
49910
|
}), inProps);
|
|
49803
|
-
var props = useThemeProps({
|
|
49911
|
+
var props = useThemeProps$1({
|
|
49804
49912
|
props: resolvedProps,
|
|
49805
49913
|
name: 'MuiToggleButton'
|
|
49806
49914
|
});
|
|
@@ -50004,7 +50112,7 @@
|
|
|
50004
50112
|
}));
|
|
50005
50113
|
});
|
|
50006
50114
|
var ToggleButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ToggleButtonGroup(inProps, ref) {
|
|
50007
|
-
var props = useThemeProps({
|
|
50115
|
+
var props = useThemeProps$1({
|
|
50008
50116
|
props: inProps,
|
|
50009
50117
|
name: 'MuiToggleButtonGroup'
|
|
50010
50118
|
});
|
|
@@ -50673,7 +50781,7 @@
|
|
|
50673
50781
|
exports.useStepContext = useStepContext;
|
|
50674
50782
|
exports.useStepperContext = useStepperContext;
|
|
50675
50783
|
exports.useTheme = useTheme;
|
|
50676
|
-
exports.useThemeProps = useThemeProps;
|
|
50784
|
+
exports.useThemeProps = useThemeProps$1;
|
|
50677
50785
|
exports.withStyles = withStyles;
|
|
50678
50786
|
exports.withTheme = withTheme;
|
|
50679
50787
|
|