@mui/material 5.15.12 → 5.15.13
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/Alert/Alert.d.ts +2 -2
- package/Autocomplete/Autocomplete.js +58 -49
- package/CHANGELOG.md +96 -0
- package/Drawer/Drawer.js +9 -3
- package/LinearProgress/LinearProgress.js +4 -4
- package/Menu/Menu.js +5 -4
- package/MenuList/MenuList.js +4 -2
- package/PaginationItem/PaginationItem.js +3 -3
- package/Rating/Rating.js +3 -3
- package/Slider/Slider.js +2 -3
- package/Switch/Switch.js +61 -41
- package/TabScrollButton/TabScrollButton.js +2 -3
- package/TablePagination/TablePaginationActions.js +14 -14
- package/Tabs/Tabs.js +3 -2
- package/Tooltip/Tooltip.js +5 -4
- package/index.js +1 -1
- package/legacy/Autocomplete/Autocomplete.js +62 -51
- package/legacy/Drawer/Drawer.js +8 -3
- package/legacy/LinearProgress/LinearProgress.js +4 -4
- package/legacy/Menu/Menu.js +5 -4
- package/legacy/MenuList/MenuList.js +3 -2
- package/legacy/PaginationItem/PaginationItem.js +3 -3
- package/legacy/Rating/Rating.js +3 -3
- package/legacy/Slider/Slider.js +2 -3
- package/legacy/Switch/Switch.js +88 -59
- package/legacy/TabScrollButton/TabScrollButton.js +2 -3
- package/legacy/TablePagination/TablePaginationActions.js +14 -14
- package/legacy/Tabs/Tabs.js +3 -2
- package/legacy/Tooltip/Tooltip.js +7 -3
- package/legacy/index.js +1 -1
- package/legacy/styles/experimental_extendTheme.js +3 -0
- package/modern/Autocomplete/Autocomplete.js +58 -49
- package/modern/Drawer/Drawer.js +9 -3
- package/modern/LinearProgress/LinearProgress.js +4 -4
- package/modern/Menu/Menu.js +5 -4
- package/modern/MenuList/MenuList.js +4 -2
- package/modern/PaginationItem/PaginationItem.js +3 -3
- package/modern/Rating/Rating.js +3 -3
- package/modern/Slider/Slider.js +2 -3
- package/modern/Switch/Switch.js +61 -41
- package/modern/TabScrollButton/TabScrollButton.js +2 -3
- package/modern/TablePagination/TablePaginationActions.js +14 -14
- package/modern/Tabs/Tabs.js +3 -2
- package/modern/Tooltip/Tooltip.js +5 -4
- package/modern/index.js +1 -1
- package/modern/styles/experimental_extendTheme.js +3 -0
- package/node/Autocomplete/Autocomplete.js +58 -49
- package/node/Drawer/Drawer.js +9 -3
- package/node/LinearProgress/LinearProgress.js +4 -4
- package/node/Menu/Menu.js +5 -4
- package/node/MenuList/MenuList.js +4 -2
- package/node/PaginationItem/PaginationItem.js +3 -3
- package/node/Rating/Rating.js +3 -3
- package/node/Slider/Slider.js +2 -3
- package/node/Switch/Switch.js +66 -46
- package/node/TabScrollButton/TabScrollButton.js +2 -3
- package/node/TablePagination/TablePaginationActions.js +14 -14
- package/node/Tabs/Tabs.js +3 -2
- package/node/Tooltip/Tooltip.js +5 -4
- package/node/index.js +1 -1
- package/node/styles/experimental_extendTheme.js +3 -0
- package/package.json +5 -5
- package/styles/experimental_extendTheme.d.ts +1 -0
- package/styles/experimental_extendTheme.js +3 -0
- package/umd/material-ui.development.js +356 -286
- package/umd/material-ui.production.min.js +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.15.
|
|
2
|
+
* @mui/material v5.15.13
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -7169,7 +7169,7 @@
|
|
|
7169
7169
|
return resolveProps(theme.components[name].defaultProps, props);
|
|
7170
7170
|
}
|
|
7171
7171
|
|
|
7172
|
-
function useThemeProps$
|
|
7172
|
+
function useThemeProps$6(_ref) {
|
|
7173
7173
|
var props = _ref.props,
|
|
7174
7174
|
name = _ref.name,
|
|
7175
7175
|
defaultTheme = _ref.defaultTheme,
|
|
@@ -8381,7 +8381,7 @@
|
|
|
8381
8381
|
border: 0,
|
|
8382
8382
|
clip: 'rect(0 0 0 0)',
|
|
8383
8383
|
height: '1px',
|
|
8384
|
-
margin: -
|
|
8384
|
+
margin: '-1px',
|
|
8385
8385
|
overflow: 'hidden',
|
|
8386
8386
|
padding: 0,
|
|
8387
8387
|
position: 'absolute',
|
|
@@ -8539,6 +8539,23 @@
|
|
|
8539
8539
|
ThemeProvider$2.propTypes = exactProp(ThemeProvider$2.propTypes) ;
|
|
8540
8540
|
}
|
|
8541
8541
|
|
|
8542
|
+
var RtlContext = /*#__PURE__*/React__namespace.createContext();
|
|
8543
|
+
function RtlProvider(_ref) {
|
|
8544
|
+
var value = _ref.value,
|
|
8545
|
+
props = _objectWithoutProperties(_ref, ["value"]);
|
|
8546
|
+
return /*#__PURE__*/jsxRuntime_1(RtlContext.Provider, _extends({
|
|
8547
|
+
value: value != null ? value : true
|
|
8548
|
+
}, props));
|
|
8549
|
+
}
|
|
8550
|
+
RtlProvider.propTypes = {
|
|
8551
|
+
children: PropTypes.node,
|
|
8552
|
+
value: PropTypes.bool
|
|
8553
|
+
} ;
|
|
8554
|
+
var useRtl = function useRtl() {
|
|
8555
|
+
var value = React__namespace.useContext(RtlContext);
|
|
8556
|
+
return value != null ? value : false;
|
|
8557
|
+
};
|
|
8558
|
+
|
|
8542
8559
|
var EMPTY_THEME = {};
|
|
8543
8560
|
function useThemeScoping(themeId, upperTheme, localTheme) {
|
|
8544
8561
|
var isPrivate = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;
|
|
@@ -8580,11 +8597,15 @@
|
|
|
8580
8597
|
}
|
|
8581
8598
|
var engineTheme = useThemeScoping(themeId, upperTheme, localTheme);
|
|
8582
8599
|
var privateTheme = useThemeScoping(themeId, upperPrivateTheme, localTheme, true);
|
|
8600
|
+
var rtlValue = engineTheme.direction === 'rtl';
|
|
8583
8601
|
return /*#__PURE__*/jsxRuntime_1(ThemeProvider$2, {
|
|
8584
8602
|
theme: privateTheme,
|
|
8585
8603
|
children: /*#__PURE__*/jsxRuntime_1(ThemeContext$2.Provider, {
|
|
8586
8604
|
value: engineTheme,
|
|
8587
|
-
children:
|
|
8605
|
+
children: /*#__PURE__*/jsxRuntime_1(RtlProvider, {
|
|
8606
|
+
value: rtlValue,
|
|
8607
|
+
children: children
|
|
8608
|
+
})
|
|
8588
8609
|
})
|
|
8589
8610
|
});
|
|
8590
8611
|
}
|
|
@@ -9455,7 +9476,7 @@
|
|
|
9455
9476
|
}
|
|
9456
9477
|
});
|
|
9457
9478
|
var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
|
|
9458
|
-
return useThemeProps$
|
|
9479
|
+
return useThemeProps$6({
|
|
9459
9480
|
props: inProps,
|
|
9460
9481
|
name: 'MuiContainer',
|
|
9461
9482
|
defaultTheme: defaultTheme$6
|
|
@@ -9843,7 +9864,7 @@
|
|
|
9843
9864
|
}
|
|
9844
9865
|
});
|
|
9845
9866
|
function useThemePropsDefault$1(props) {
|
|
9846
|
-
return useThemeProps$
|
|
9867
|
+
return useThemeProps$6({
|
|
9847
9868
|
props: props,
|
|
9848
9869
|
name: 'MuiGrid',
|
|
9849
9870
|
defaultTheme: defaultTheme$5
|
|
@@ -10010,7 +10031,7 @@
|
|
|
10010
10031
|
}
|
|
10011
10032
|
});
|
|
10012
10033
|
function useThemePropsDefault(props) {
|
|
10013
|
-
return useThemeProps$
|
|
10034
|
+
return useThemeProps$6({
|
|
10014
10035
|
props: props,
|
|
10015
10036
|
name: 'MuiStack',
|
|
10016
10037
|
defaultTheme: defaultTheme$4
|
|
@@ -11052,10 +11073,10 @@
|
|
|
11052
11073
|
return theme[THEME_ID] || theme;
|
|
11053
11074
|
}
|
|
11054
11075
|
|
|
11055
|
-
function useThemeProps$
|
|
11076
|
+
function useThemeProps$5(_ref) {
|
|
11056
11077
|
var props = _ref.props,
|
|
11057
11078
|
name = _ref.name;
|
|
11058
|
-
return useThemeProps$
|
|
11079
|
+
return useThemeProps$6({
|
|
11059
11080
|
props: props,
|
|
11060
11081
|
name: name,
|
|
11061
11082
|
defaultTheme: defaultTheme$3,
|
|
@@ -11383,6 +11404,9 @@
|
|
|
11383
11404
|
|
|
11384
11405
|
// MUI X - DataGrid needs this token.
|
|
11385
11406
|
setColorChannel(palette.background, 'default');
|
|
11407
|
+
|
|
11408
|
+
// added for consistency with the `background.default` token
|
|
11409
|
+
setColorChannel(palette.background, 'paper');
|
|
11386
11410
|
setColorChannel(palette.common, 'background');
|
|
11387
11411
|
setColorChannel(palette.common, 'onBackground');
|
|
11388
11412
|
setColorChannel(palette, 'divider');
|
|
@@ -11546,7 +11570,7 @@
|
|
|
11546
11570
|
};
|
|
11547
11571
|
});
|
|
11548
11572
|
var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
|
|
11549
|
-
var props = useThemeProps$
|
|
11573
|
+
var props = useThemeProps$5({
|
|
11550
11574
|
props: inProps,
|
|
11551
11575
|
name: 'MuiSvgIcon'
|
|
11552
11576
|
});
|
|
@@ -12790,7 +12814,7 @@
|
|
|
12790
12814
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
12791
12815
|
*/
|
|
12792
12816
|
var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
|
|
12793
|
-
var props = useThemeProps$
|
|
12817
|
+
var props = useThemeProps$5({
|
|
12794
12818
|
props: inProps,
|
|
12795
12819
|
name: 'MuiCollapse'
|
|
12796
12820
|
});
|
|
@@ -13120,7 +13144,7 @@
|
|
|
13120
13144
|
}));
|
|
13121
13145
|
});
|
|
13122
13146
|
var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
|
|
13123
|
-
var props = useThemeProps$
|
|
13147
|
+
var props = useThemeProps$5({
|
|
13124
13148
|
props: inProps,
|
|
13125
13149
|
name: 'MuiPaper'
|
|
13126
13150
|
});
|
|
@@ -13583,7 +13607,7 @@
|
|
|
13583
13607
|
}));
|
|
13584
13608
|
});
|
|
13585
13609
|
var Accordion = /*#__PURE__*/React__namespace.forwardRef(function Accordion(inProps, ref) {
|
|
13586
|
-
var props = useThemeProps$
|
|
13610
|
+
var props = useThemeProps$5({
|
|
13587
13611
|
props: inProps,
|
|
13588
13612
|
name: 'MuiAccordion'
|
|
13589
13613
|
});
|
|
@@ -13806,7 +13830,7 @@
|
|
|
13806
13830
|
});
|
|
13807
13831
|
});
|
|
13808
13832
|
var AccordionActions = /*#__PURE__*/React__namespace.forwardRef(function AccordionActions(inProps, ref) {
|
|
13809
|
-
var props = useThemeProps$
|
|
13833
|
+
var props = useThemeProps$5({
|
|
13810
13834
|
props: inProps,
|
|
13811
13835
|
name: 'MuiAccordionActions'
|
|
13812
13836
|
});
|
|
@@ -13879,7 +13903,7 @@
|
|
|
13879
13903
|
};
|
|
13880
13904
|
});
|
|
13881
13905
|
var AccordionDetails = /*#__PURE__*/React__namespace.forwardRef(function AccordionDetails(inProps, ref) {
|
|
13882
|
-
var props = useThemeProps$
|
|
13906
|
+
var props = useThemeProps$5({
|
|
13883
13907
|
props: inProps,
|
|
13884
13908
|
name: 'MuiAccordionDetails'
|
|
13885
13909
|
});
|
|
@@ -14059,7 +14083,7 @@
|
|
|
14059
14083
|
* TODO v5: Make private
|
|
14060
14084
|
*/
|
|
14061
14085
|
var TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRipple(inProps, ref) {
|
|
14062
|
-
var props = useThemeProps$
|
|
14086
|
+
var props = useThemeProps$5({
|
|
14063
14087
|
props: inProps,
|
|
14064
14088
|
name: 'MuiTouchRipple'
|
|
14065
14089
|
});
|
|
@@ -14335,7 +14359,7 @@
|
|
|
14335
14359
|
* It contains a load of style reset and some focus/ripple logic.
|
|
14336
14360
|
*/
|
|
14337
14361
|
var ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(inProps, ref) {
|
|
14338
|
-
var props = useThemeProps$
|
|
14362
|
+
var props = useThemeProps$5({
|
|
14339
14363
|
props: inProps,
|
|
14340
14364
|
name: 'MuiButtonBase'
|
|
14341
14365
|
});
|
|
@@ -14827,7 +14851,7 @@
|
|
|
14827
14851
|
});
|
|
14828
14852
|
});
|
|
14829
14853
|
var AccordionSummary = /*#__PURE__*/React__namespace.forwardRef(function AccordionSummary(inProps, ref) {
|
|
14830
|
-
var props = useThemeProps$
|
|
14854
|
+
var props = useThemeProps$5({
|
|
14831
14855
|
props: inProps,
|
|
14832
14856
|
name: 'MuiAccordionSummary'
|
|
14833
14857
|
});
|
|
@@ -14923,7 +14947,7 @@
|
|
|
14923
14947
|
|
|
14924
14948
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14925
14949
|
function createUseThemeProps(name) {
|
|
14926
|
-
return useThemeProps$
|
|
14950
|
+
return useThemeProps$5;
|
|
14927
14951
|
}
|
|
14928
14952
|
|
|
14929
14953
|
function getAlertUtilityClass(slot) {
|
|
@@ -15019,7 +15043,7 @@
|
|
|
15019
15043
|
* regarding the available icon options.
|
|
15020
15044
|
*/
|
|
15021
15045
|
var IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(inProps, ref) {
|
|
15022
|
-
var props = useThemeProps$
|
|
15046
|
+
var props = useThemeProps$5({
|
|
15023
15047
|
props: inProps,
|
|
15024
15048
|
name: 'MuiIconButton'
|
|
15025
15049
|
});
|
|
@@ -15146,7 +15170,7 @@
|
|
|
15146
15170
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
15147
15171
|
}), 'Close');
|
|
15148
15172
|
|
|
15149
|
-
var useThemeProps$
|
|
15173
|
+
var useThemeProps$4 = createUseThemeProps();
|
|
15150
15174
|
var useUtilityClasses$1F = function useUtilityClasses(ownerState) {
|
|
15151
15175
|
var variant = ownerState.variant,
|
|
15152
15176
|
color = ownerState.color,
|
|
@@ -15294,7 +15318,7 @@
|
|
|
15294
15318
|
})
|
|
15295
15319
|
};
|
|
15296
15320
|
var Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
|
|
15297
|
-
var props = useThemeProps$
|
|
15321
|
+
var props = useThemeProps$4({
|
|
15298
15322
|
props: inProps,
|
|
15299
15323
|
name: 'MuiAlert'
|
|
15300
15324
|
});
|
|
@@ -15579,7 +15603,7 @@
|
|
|
15579
15603
|
return colorTransformations$1[color] || color;
|
|
15580
15604
|
};
|
|
15581
15605
|
var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
|
|
15582
|
-
var themeProps = useThemeProps$
|
|
15606
|
+
var themeProps = useThemeProps$5({
|
|
15583
15607
|
props: inProps,
|
|
15584
15608
|
name: 'MuiTypography'
|
|
15585
15609
|
});
|
|
@@ -15705,7 +15729,7 @@
|
|
|
15705
15729
|
var alertTitleClasses = generateUtilityClasses$1('MuiAlertTitle', ['root']);
|
|
15706
15730
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
15707
15731
|
|
|
15708
|
-
var useThemeProps$
|
|
15732
|
+
var useThemeProps$3 = createUseThemeProps();
|
|
15709
15733
|
var useUtilityClasses$1D = function useUtilityClasses(ownerState) {
|
|
15710
15734
|
var classes = ownerState.classes;
|
|
15711
15735
|
var slots = {
|
|
@@ -15727,7 +15751,7 @@
|
|
|
15727
15751
|
};
|
|
15728
15752
|
});
|
|
15729
15753
|
var AlertTitle = /*#__PURE__*/React__namespace.forwardRef(function AlertTitle(inProps, ref) {
|
|
15730
|
-
var props = useThemeProps$
|
|
15754
|
+
var props = useThemeProps$3({
|
|
15731
15755
|
props: inProps,
|
|
15732
15756
|
name: 'MuiAlertTitle'
|
|
15733
15757
|
});
|
|
@@ -15865,7 +15889,7 @@
|
|
|
15865
15889
|
}));
|
|
15866
15890
|
});
|
|
15867
15891
|
var AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
15868
|
-
var props = useThemeProps$
|
|
15892
|
+
var props = useThemeProps$5({
|
|
15869
15893
|
props: inProps,
|
|
15870
15894
|
name: 'MuiAppBar'
|
|
15871
15895
|
});
|
|
@@ -20238,7 +20262,8 @@
|
|
|
20238
20262
|
ref: handleRef
|
|
20239
20263
|
// Apply the rows prop to get a "correct" first SSR paint
|
|
20240
20264
|
,
|
|
20241
|
-
rows: minRows
|
|
20265
|
+
rows: minRows,
|
|
20266
|
+
style: style
|
|
20242
20267
|
}, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
|
|
20243
20268
|
"aria-hidden": true,
|
|
20244
20269
|
className: props.className,
|
|
@@ -20716,7 +20741,7 @@
|
|
|
20716
20741
|
}
|
|
20717
20742
|
}
|
|
20718
20743
|
});
|
|
20719
|
-
var
|
|
20744
|
+
var getPreviousHighlightedOptionIndex = function getPreviousHighlightedOptionIndex() {
|
|
20720
20745
|
var isSameValue = function isSameValue(value1, value2) {
|
|
20721
20746
|
var label1 = value1 ? getOptionLabel(value1) : '';
|
|
20722
20747
|
var label2 = value2 ? getOptionLabel(value2) : '';
|
|
@@ -20727,15 +20752,12 @@
|
|
|
20727
20752
|
}) : isSameValue(previousProps.value, value))) {
|
|
20728
20753
|
var previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
|
|
20729
20754
|
if (previousHighlightedOption) {
|
|
20730
|
-
|
|
20755
|
+
return findIndex(filteredOptions, function (option) {
|
|
20731
20756
|
return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);
|
|
20732
20757
|
});
|
|
20733
|
-
if (previousHighlightedOptionExists) {
|
|
20734
|
-
return true;
|
|
20735
|
-
}
|
|
20736
20758
|
}
|
|
20737
20759
|
}
|
|
20738
|
-
return
|
|
20760
|
+
return -1;
|
|
20739
20761
|
};
|
|
20740
20762
|
var syncHighlightedIndex = React__namespace.useCallback(function () {
|
|
20741
20763
|
if (!popupOpen) {
|
|
@@ -20743,8 +20765,10 @@
|
|
|
20743
20765
|
}
|
|
20744
20766
|
|
|
20745
20767
|
// Check if the previously highlighted option still exists in the updated filtered options list and if the value and inputValue haven't changed
|
|
20746
|
-
// If it exists and the value and the inputValue haven't changed,
|
|
20747
|
-
|
|
20768
|
+
// If it exists and the value and the inputValue haven't changed, just update its index, otherwise continue execution
|
|
20769
|
+
var previousHighlightedOptionIndex = getPreviousHighlightedOptionIndex();
|
|
20770
|
+
if (previousHighlightedOptionIndex !== -1) {
|
|
20771
|
+
highlightedIndexRef.current = previousHighlightedOptionIndex;
|
|
20748
20772
|
return;
|
|
20749
20773
|
}
|
|
20750
20774
|
var valueItem = multiple ? value[0] : value;
|
|
@@ -21382,7 +21406,7 @@
|
|
|
21382
21406
|
var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
21383
21407
|
var _slots$root;
|
|
21384
21408
|
var theme = useTheme$3();
|
|
21385
|
-
var props = useThemeProps$
|
|
21409
|
+
var props = useThemeProps$5({
|
|
21386
21410
|
props: inProps,
|
|
21387
21411
|
name: 'MuiPopper'
|
|
21388
21412
|
});
|
|
@@ -21607,7 +21631,7 @@
|
|
|
21607
21631
|
});
|
|
21608
21632
|
});
|
|
21609
21633
|
var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
|
|
21610
|
-
var props = useThemeProps$
|
|
21634
|
+
var props = useThemeProps$5({
|
|
21611
21635
|
props: inProps,
|
|
21612
21636
|
name: 'MuiListSubheader'
|
|
21613
21637
|
});
|
|
@@ -21906,7 +21930,7 @@
|
|
|
21906
21930
|
* Chips represent complex entities in small blocks, such as a contact.
|
|
21907
21931
|
*/
|
|
21908
21932
|
var Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref) {
|
|
21909
|
-
var props = useThemeProps$
|
|
21933
|
+
var props = useThemeProps$5({
|
|
21910
21934
|
props: inProps,
|
|
21911
21935
|
name: 'MuiChip'
|
|
21912
21936
|
});
|
|
@@ -22394,7 +22418,7 @@
|
|
|
22394
22418
|
*/
|
|
22395
22419
|
var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
|
|
22396
22420
|
var _slotProps$input;
|
|
22397
|
-
var props = useThemeProps$
|
|
22421
|
+
var props = useThemeProps$5({
|
|
22398
22422
|
props: inProps,
|
|
22399
22423
|
name: 'MuiInputBase'
|
|
22400
22424
|
});
|
|
@@ -23233,7 +23257,7 @@
|
|
|
23233
23257
|
}));
|
|
23234
23258
|
var Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocomplete(inProps, ref) {
|
|
23235
23259
|
var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
|
|
23236
|
-
var props = useThemeProps$
|
|
23260
|
+
var props = useThemeProps$5({
|
|
23237
23261
|
props: inProps,
|
|
23238
23262
|
name: 'MuiAutocomplete'
|
|
23239
23263
|
});
|
|
@@ -23457,6 +23481,67 @@
|
|
|
23457
23481
|
var paperSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : componentsProps.paper;
|
|
23458
23482
|
var popperSlotProps = (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper;
|
|
23459
23483
|
var popupIndicatorSlotProps = (_slotProps$popupIndic = slotProps.popupIndicator) != null ? _slotProps$popupIndic : componentsProps.popupIndicator;
|
|
23484
|
+
var renderAutocompletePopperChildren = function renderAutocompletePopperChildren(children) {
|
|
23485
|
+
return /*#__PURE__*/jsxRuntime_1(AutocompletePopper, _extends({
|
|
23486
|
+
as: PopperComponent,
|
|
23487
|
+
disablePortal: disablePortal,
|
|
23488
|
+
style: {
|
|
23489
|
+
width: anchorEl ? anchorEl.clientWidth : null
|
|
23490
|
+
},
|
|
23491
|
+
ownerState: ownerState,
|
|
23492
|
+
role: "presentation",
|
|
23493
|
+
anchorEl: anchorEl,
|
|
23494
|
+
open: popupOpen
|
|
23495
|
+
}, popperSlotProps, {
|
|
23496
|
+
className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
|
|
23497
|
+
children: /*#__PURE__*/jsxRuntime_1(AutocompletePaper, _extends({
|
|
23498
|
+
ownerState: ownerState,
|
|
23499
|
+
as: PaperComponent
|
|
23500
|
+
}, paperSlotProps, {
|
|
23501
|
+
className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
|
|
23502
|
+
children: children
|
|
23503
|
+
}))
|
|
23504
|
+
}));
|
|
23505
|
+
};
|
|
23506
|
+
var autocompletePopper = null;
|
|
23507
|
+
if (!loading && groupedOptions.length > 0) {
|
|
23508
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteListbox, _extends({
|
|
23509
|
+
as: ListboxComponent,
|
|
23510
|
+
className: classes.listbox,
|
|
23511
|
+
ownerState: ownerState
|
|
23512
|
+
}, otherListboxProps, ListboxProps, {
|
|
23513
|
+
ref: combinedListboxRef,
|
|
23514
|
+
children: groupedOptions.map(function (option, index) {
|
|
23515
|
+
if (groupBy) {
|
|
23516
|
+
return renderGroup({
|
|
23517
|
+
key: option.key,
|
|
23518
|
+
group: option.group,
|
|
23519
|
+
children: option.options.map(function (option2, index2) {
|
|
23520
|
+
return renderListOption(option2, option.index + index2);
|
|
23521
|
+
})
|
|
23522
|
+
});
|
|
23523
|
+
}
|
|
23524
|
+
return renderListOption(option, index);
|
|
23525
|
+
})
|
|
23526
|
+
})));
|
|
23527
|
+
} else if (loading && groupedOptions.length === 0) {
|
|
23528
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
|
|
23529
|
+
className: classes.loading,
|
|
23530
|
+
ownerState: ownerState,
|
|
23531
|
+
children: loadingText
|
|
23532
|
+
}));
|
|
23533
|
+
} else if (groupedOptions.length === 0 && !freeSolo && !loading) {
|
|
23534
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteNoOptions, {
|
|
23535
|
+
className: classes.noOptions,
|
|
23536
|
+
ownerState: ownerState,
|
|
23537
|
+
role: "presentation",
|
|
23538
|
+
onMouseDown: function onMouseDown(event) {
|
|
23539
|
+
// Prevent input blur when interacting with the "no options" content
|
|
23540
|
+
event.preventDefault();
|
|
23541
|
+
},
|
|
23542
|
+
children: noOptionsText
|
|
23543
|
+
}));
|
|
23544
|
+
}
|
|
23460
23545
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
23461
23546
|
children: [/*#__PURE__*/jsxRuntime_1(AutocompleteRoot, _extends({
|
|
23462
23547
|
ref: ref,
|
|
@@ -23506,57 +23591,7 @@
|
|
|
23506
23591
|
readOnly: readOnly
|
|
23507
23592
|
}, getInputProps())
|
|
23508
23593
|
})
|
|
23509
|
-
})), anchorEl ?
|
|
23510
|
-
as: PopperComponent,
|
|
23511
|
-
disablePortal: disablePortal,
|
|
23512
|
-
style: {
|
|
23513
|
-
width: anchorEl ? anchorEl.clientWidth : null
|
|
23514
|
-
},
|
|
23515
|
-
ownerState: ownerState,
|
|
23516
|
-
role: "presentation",
|
|
23517
|
-
anchorEl: anchorEl,
|
|
23518
|
-
open: popupOpen
|
|
23519
|
-
}, popperSlotProps, {
|
|
23520
|
-
className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
|
|
23521
|
-
children: /*#__PURE__*/jsxRuntime_2(AutocompletePaper, _extends({
|
|
23522
|
-
ownerState: ownerState,
|
|
23523
|
-
as: PaperComponent
|
|
23524
|
-
}, paperSlotProps, {
|
|
23525
|
-
className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
|
|
23526
|
-
children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
|
|
23527
|
-
className: classes.loading,
|
|
23528
|
-
ownerState: ownerState,
|
|
23529
|
-
children: loadingText
|
|
23530
|
-
}) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/jsxRuntime_1(AutocompleteNoOptions, {
|
|
23531
|
-
className: classes.noOptions,
|
|
23532
|
-
ownerState: ownerState,
|
|
23533
|
-
role: "presentation",
|
|
23534
|
-
onMouseDown: function onMouseDown(event) {
|
|
23535
|
-
// Prevent input blur when interacting with the "no options" content
|
|
23536
|
-
event.preventDefault();
|
|
23537
|
-
},
|
|
23538
|
-
children: noOptionsText
|
|
23539
|
-
}) : null, groupedOptions.length > 0 ? /*#__PURE__*/jsxRuntime_1(AutocompleteListbox, _extends({
|
|
23540
|
-
as: ListboxComponent,
|
|
23541
|
-
className: classes.listbox,
|
|
23542
|
-
ownerState: ownerState
|
|
23543
|
-
}, otherListboxProps, ListboxProps, {
|
|
23544
|
-
ref: combinedListboxRef,
|
|
23545
|
-
children: groupedOptions.map(function (option, index) {
|
|
23546
|
-
if (groupBy) {
|
|
23547
|
-
return renderGroup({
|
|
23548
|
-
key: option.key,
|
|
23549
|
-
group: option.group,
|
|
23550
|
-
children: option.options.map(function (option2, index2) {
|
|
23551
|
-
return renderListOption(option2, option.index + index2);
|
|
23552
|
-
})
|
|
23553
|
-
});
|
|
23554
|
-
}
|
|
23555
|
-
return renderListOption(option, index);
|
|
23556
|
-
})
|
|
23557
|
-
})) : null]
|
|
23558
|
-
}))
|
|
23559
|
-
})) : null]
|
|
23594
|
+
})), anchorEl ? autocompletePopper : null]
|
|
23560
23595
|
});
|
|
23561
23596
|
});
|
|
23562
23597
|
Autocomplete.propTypes /* remove-proptypes */ = {
|
|
@@ -23998,7 +24033,7 @@
|
|
|
23998
24033
|
var avatarClasses = generateUtilityClasses$1('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
|
|
23999
24034
|
var avatarClasses$1 = avatarClasses;
|
|
24000
24035
|
|
|
24001
|
-
var useThemeProps$
|
|
24036
|
+
var useThemeProps$2 = createUseThemeProps();
|
|
24002
24037
|
var useUtilityClasses$1w = function useUtilityClasses(ownerState) {
|
|
24003
24038
|
var classes = ownerState.classes,
|
|
24004
24039
|
variant = ownerState.variant,
|
|
@@ -24130,7 +24165,7 @@
|
|
|
24130
24165
|
return loaded;
|
|
24131
24166
|
}
|
|
24132
24167
|
var Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps, ref) {
|
|
24133
|
-
var props = useThemeProps$
|
|
24168
|
+
var props = useThemeProps$2({
|
|
24134
24169
|
props: inProps,
|
|
24135
24170
|
name: 'MuiAvatar'
|
|
24136
24171
|
});
|
|
@@ -24320,7 +24355,7 @@
|
|
|
24320
24355
|
});
|
|
24321
24356
|
var AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
|
|
24322
24357
|
var _slotProps$additional;
|
|
24323
|
-
var props = useThemeProps$
|
|
24358
|
+
var props = useThemeProps$5({
|
|
24324
24359
|
props: inProps,
|
|
24325
24360
|
name: 'MuiAvatarGroup'
|
|
24326
24361
|
});
|
|
@@ -24702,7 +24737,7 @@
|
|
|
24702
24737
|
});
|
|
24703
24738
|
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
|
|
24704
24739
|
var _slotProps$root, _ref2, _slots$root;
|
|
24705
|
-
var props = useThemeProps$
|
|
24740
|
+
var props = useThemeProps$5({
|
|
24706
24741
|
props: inProps,
|
|
24707
24742
|
name: 'MuiBackdrop'
|
|
24708
24743
|
});
|
|
@@ -24855,7 +24890,7 @@
|
|
|
24855
24890
|
|
|
24856
24891
|
var RADIUS_STANDARD = 10;
|
|
24857
24892
|
var RADIUS_DOT = 4;
|
|
24858
|
-
var useThemeProps = createUseThemeProps();
|
|
24893
|
+
var useThemeProps$1 = createUseThemeProps();
|
|
24859
24894
|
var useUtilityClasses$1t = function useUtilityClasses(ownerState) {
|
|
24860
24895
|
var color = ownerState.color,
|
|
24861
24896
|
anchorOrigin = ownerState.anchorOrigin,
|
|
@@ -25058,7 +25093,7 @@
|
|
|
25058
25093
|
});
|
|
25059
25094
|
var Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
|
|
25060
25095
|
var _ref11, _slots$root, _ref12, _slots$badge, _slotProps$root, _slotProps$badge;
|
|
25061
|
-
var props = useThemeProps({
|
|
25096
|
+
var props = useThemeProps$1({
|
|
25062
25097
|
props: inProps,
|
|
25063
25098
|
name: 'MuiBadge'
|
|
25064
25099
|
});
|
|
@@ -25307,7 +25342,7 @@
|
|
|
25307
25342
|
};
|
|
25308
25343
|
});
|
|
25309
25344
|
var BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
|
|
25310
|
-
var props = useThemeProps$
|
|
25345
|
+
var props = useThemeProps$5({
|
|
25311
25346
|
props: inProps,
|
|
25312
25347
|
name: 'MuiBottomNavigation'
|
|
25313
25348
|
});
|
|
@@ -25463,7 +25498,7 @@
|
|
|
25463
25498
|
}));
|
|
25464
25499
|
});
|
|
25465
25500
|
var BottomNavigationAction = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigationAction(inProps, ref) {
|
|
25466
|
-
var props = useThemeProps$
|
|
25501
|
+
var props = useThemeProps$5({
|
|
25467
25502
|
props: inProps,
|
|
25468
25503
|
name: 'MuiBottomNavigationAction'
|
|
25469
25504
|
});
|
|
@@ -25730,7 +25765,7 @@
|
|
|
25730
25765
|
}, []);
|
|
25731
25766
|
}
|
|
25732
25767
|
var Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumbs(inProps, ref) {
|
|
25733
|
-
var props = useThemeProps$
|
|
25768
|
+
var props = useThemeProps$5({
|
|
25734
25769
|
props: inProps,
|
|
25735
25770
|
name: 'MuiBreadcrumbs'
|
|
25736
25771
|
});
|
|
@@ -26129,7 +26164,7 @@
|
|
|
26129
26164
|
var contextProps = React__namespace.useContext(ButtonGroupContext$1);
|
|
26130
26165
|
var buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
|
|
26131
26166
|
var resolvedProps = resolveProps(contextProps, inProps);
|
|
26132
|
-
var props = useThemeProps$
|
|
26167
|
+
var props = useThemeProps$5({
|
|
26133
26168
|
props: resolvedProps,
|
|
26134
26169
|
name: 'MuiButton'
|
|
26135
26170
|
});
|
|
@@ -26390,7 +26425,7 @@
|
|
|
26390
26425
|
})));
|
|
26391
26426
|
});
|
|
26392
26427
|
var ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
|
|
26393
|
-
var props = useThemeProps$
|
|
26428
|
+
var props = useThemeProps$5({
|
|
26394
26429
|
props: inProps,
|
|
26395
26430
|
name: 'MuiButtonGroup'
|
|
26396
26431
|
});
|
|
@@ -26579,7 +26614,7 @@
|
|
|
26579
26614
|
};
|
|
26580
26615
|
});
|
|
26581
26616
|
var Card = /*#__PURE__*/React__namespace.forwardRef(function Card(inProps, ref) {
|
|
26582
|
-
var props = useThemeProps$
|
|
26617
|
+
var props = useThemeProps$5({
|
|
26583
26618
|
props: inProps,
|
|
26584
26619
|
name: 'MuiCard'
|
|
26585
26620
|
});
|
|
@@ -26694,7 +26729,7 @@
|
|
|
26694
26729
|
};
|
|
26695
26730
|
});
|
|
26696
26731
|
var CardActionArea = /*#__PURE__*/React__namespace.forwardRef(function CardActionArea(inProps, ref) {
|
|
26697
|
-
var props = useThemeProps$
|
|
26732
|
+
var props = useThemeProps$5({
|
|
26698
26733
|
props: inProps,
|
|
26699
26734
|
name: 'MuiCardActionArea'
|
|
26700
26735
|
});
|
|
@@ -26778,7 +26813,7 @@
|
|
|
26778
26813
|
});
|
|
26779
26814
|
});
|
|
26780
26815
|
var CardActions = /*#__PURE__*/React__namespace.forwardRef(function CardActions(inProps, ref) {
|
|
26781
|
-
var props = useThemeProps$
|
|
26816
|
+
var props = useThemeProps$5({
|
|
26782
26817
|
props: inProps,
|
|
26783
26818
|
name: 'MuiCardActions'
|
|
26784
26819
|
});
|
|
@@ -26853,7 +26888,7 @@
|
|
|
26853
26888
|
};
|
|
26854
26889
|
});
|
|
26855
26890
|
var CardContent = /*#__PURE__*/React__namespace.forwardRef(function CardContent(inProps, ref) {
|
|
26856
|
-
var props = useThemeProps$
|
|
26891
|
+
var props = useThemeProps$5({
|
|
26857
26892
|
props: inProps,
|
|
26858
26893
|
name: 'MuiCardContent'
|
|
26859
26894
|
});
|
|
@@ -26964,7 +26999,7 @@
|
|
|
26964
26999
|
flex: '1 1 auto'
|
|
26965
27000
|
});
|
|
26966
27001
|
var CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(inProps, ref) {
|
|
26967
|
-
var props = useThemeProps$
|
|
27002
|
+
var props = useThemeProps$5({
|
|
26968
27003
|
props: inProps,
|
|
26969
27004
|
name: 'MuiCardHeader'
|
|
26970
27005
|
});
|
|
@@ -27133,7 +27168,7 @@
|
|
|
27133
27168
|
var MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
|
|
27134
27169
|
var IMAGE_COMPONENTS = ['picture', 'img'];
|
|
27135
27170
|
var CardMedia = /*#__PURE__*/React__namespace.forwardRef(function CardMedia(inProps, ref) {
|
|
27136
|
-
var props = useThemeProps$
|
|
27171
|
+
var props = useThemeProps$5({
|
|
27137
27172
|
props: inProps,
|
|
27138
27173
|
name: 'MuiCardMedia'
|
|
27139
27174
|
});
|
|
@@ -27544,7 +27579,7 @@
|
|
|
27544
27579
|
var defaultIndeterminateIcon = /*#__PURE__*/jsxRuntime_1(IndeterminateCheckBoxIcon, {});
|
|
27545
27580
|
var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inProps, ref) {
|
|
27546
27581
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
27547
|
-
var props = useThemeProps$
|
|
27582
|
+
var props = useThemeProps$5({
|
|
27548
27583
|
props: inProps,
|
|
27549
27584
|
name: 'MuiCheckbox'
|
|
27550
27585
|
});
|
|
@@ -27776,7 +27811,7 @@
|
|
|
27776
27811
|
* attribute to `true` on that region until it has finished loading.
|
|
27777
27812
|
*/
|
|
27778
27813
|
var CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function CircularProgress(inProps, ref) {
|
|
27779
|
-
var props = useThemeProps$
|
|
27814
|
+
var props = useThemeProps$5({
|
|
27780
27815
|
props: inProps,
|
|
27781
27816
|
name: 'MuiCircularProgress'
|
|
27782
27817
|
});
|
|
@@ -27917,7 +27952,7 @@
|
|
|
27917
27952
|
}
|
|
27918
27953
|
}),
|
|
27919
27954
|
useThemeProps: function useThemeProps(inProps) {
|
|
27920
|
-
return useThemeProps$
|
|
27955
|
+
return useThemeProps$5({
|
|
27921
27956
|
props: inProps,
|
|
27922
27957
|
name: 'MuiContainer'
|
|
27923
27958
|
});
|
|
@@ -28040,7 +28075,7 @@
|
|
|
28040
28075
|
return defaultStyles;
|
|
28041
28076
|
};
|
|
28042
28077
|
function CssBaseline(inProps) {
|
|
28043
|
-
var props = useThemeProps$
|
|
28078
|
+
var props = useThemeProps$5({
|
|
28044
28079
|
props: inProps,
|
|
28045
28080
|
name: 'MuiCssBaseline'
|
|
28046
28081
|
});
|
|
@@ -28169,7 +28204,7 @@
|
|
|
28169
28204
|
*/
|
|
28170
28205
|
var Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, ref) {
|
|
28171
28206
|
var _ref2, _slots$root, _ref3, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
28172
|
-
var props = useThemeProps$
|
|
28207
|
+
var props = useThemeProps$5({
|
|
28173
28208
|
name: 'MuiModal',
|
|
28174
28209
|
props: inProps
|
|
28175
28210
|
});
|
|
@@ -28623,7 +28658,7 @@
|
|
|
28623
28658
|
* Dialogs are overlaid modal paper based components with a backdrop.
|
|
28624
28659
|
*/
|
|
28625
28660
|
var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
|
|
28626
|
-
var props = useThemeProps$
|
|
28661
|
+
var props = useThemeProps$5({
|
|
28627
28662
|
props: inProps,
|
|
28628
28663
|
name: 'MuiDialog'
|
|
28629
28664
|
});
|
|
@@ -28907,7 +28942,7 @@
|
|
|
28907
28942
|
});
|
|
28908
28943
|
});
|
|
28909
28944
|
var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
|
|
28910
|
-
var props = useThemeProps$
|
|
28945
|
+
var props = useThemeProps$5({
|
|
28911
28946
|
props: inProps,
|
|
28912
28947
|
name: 'MuiDialogActions'
|
|
28913
28948
|
});
|
|
@@ -28999,7 +29034,7 @@
|
|
|
28999
29034
|
}));
|
|
29000
29035
|
});
|
|
29001
29036
|
var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
|
|
29002
|
-
var props = useThemeProps$
|
|
29037
|
+
var props = useThemeProps$5({
|
|
29003
29038
|
props: inProps,
|
|
29004
29039
|
name: 'MuiDialogContent'
|
|
29005
29040
|
});
|
|
@@ -29071,7 +29106,7 @@
|
|
|
29071
29106
|
}
|
|
29072
29107
|
})({});
|
|
29073
29108
|
var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
|
|
29074
|
-
var props = useThemeProps$
|
|
29109
|
+
var props = useThemeProps$5({
|
|
29075
29110
|
props: inProps,
|
|
29076
29111
|
name: 'MuiDialogContentText'
|
|
29077
29112
|
});
|
|
@@ -29132,7 +29167,7 @@
|
|
|
29132
29167
|
flex: '0 0 auto'
|
|
29133
29168
|
});
|
|
29134
29169
|
var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
|
|
29135
|
-
var props = useThemeProps$
|
|
29170
|
+
var props = useThemeProps$5({
|
|
29136
29171
|
props: inProps,
|
|
29137
29172
|
name: 'MuiDialogTitle'
|
|
29138
29173
|
});
|
|
@@ -29312,7 +29347,7 @@
|
|
|
29312
29347
|
});
|
|
29313
29348
|
});
|
|
29314
29349
|
var Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
29315
|
-
var props = useThemeProps$
|
|
29350
|
+
var props = useThemeProps$5({
|
|
29316
29351
|
props: inProps,
|
|
29317
29352
|
name: 'MuiDivider'
|
|
29318
29353
|
});
|
|
@@ -29849,8 +29884,9 @@
|
|
|
29849
29884
|
function isHorizontal(anchor) {
|
|
29850
29885
|
return ['left', 'right'].indexOf(anchor) !== -1;
|
|
29851
29886
|
}
|
|
29852
|
-
function getAnchor(
|
|
29853
|
-
|
|
29887
|
+
function getAnchor(_ref3, anchor) {
|
|
29888
|
+
var direction = _ref3.direction;
|
|
29889
|
+
return direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
|
|
29854
29890
|
}
|
|
29855
29891
|
|
|
29856
29892
|
/**
|
|
@@ -29858,11 +29894,12 @@
|
|
|
29858
29894
|
* when `variant="temporary"` is set.
|
|
29859
29895
|
*/
|
|
29860
29896
|
var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
|
|
29861
|
-
var props = useThemeProps$
|
|
29897
|
+
var props = useThemeProps$5({
|
|
29862
29898
|
props: inProps,
|
|
29863
29899
|
name: 'MuiDrawer'
|
|
29864
29900
|
});
|
|
29865
29901
|
var theme = useTheme();
|
|
29902
|
+
var isRtl = useRtl();
|
|
29866
29903
|
var defaultTransitionDuration = {
|
|
29867
29904
|
enter: theme.transitions.duration.enteringScreen,
|
|
29868
29905
|
exit: theme.transitions.duration.leavingScreen
|
|
@@ -29899,7 +29936,9 @@
|
|
|
29899
29936
|
React__namespace.useEffect(function () {
|
|
29900
29937
|
mounted.current = true;
|
|
29901
29938
|
}, []);
|
|
29902
|
-
var anchorInvariant = getAnchor(
|
|
29939
|
+
var anchorInvariant = getAnchor({
|
|
29940
|
+
direction: isRtl ? 'rtl' : 'ltr'
|
|
29941
|
+
}, anchorProp);
|
|
29903
29942
|
var anchor = anchorProp;
|
|
29904
29943
|
var ownerState = _extends({}, props, {
|
|
29905
29944
|
anchor: anchor,
|
|
@@ -30155,7 +30194,7 @@
|
|
|
30155
30194
|
});
|
|
30156
30195
|
});
|
|
30157
30196
|
var Fab = /*#__PURE__*/React__namespace.forwardRef(function Fab(inProps, ref) {
|
|
30158
|
-
var props = useThemeProps$
|
|
30197
|
+
var props = useThemeProps$5({
|
|
30159
30198
|
props: inProps,
|
|
30160
30199
|
name: 'MuiFab'
|
|
30161
30200
|
});
|
|
@@ -30426,7 +30465,7 @@
|
|
|
30426
30465
|
});
|
|
30427
30466
|
var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
|
|
30428
30467
|
var _ref5, _slots$root, _ref6, _slots$input;
|
|
30429
|
-
var props = useThemeProps$
|
|
30468
|
+
var props = useThemeProps$5({
|
|
30430
30469
|
props: inProps,
|
|
30431
30470
|
name: 'MuiFilledInput'
|
|
30432
30471
|
});
|
|
@@ -30746,7 +30785,7 @@
|
|
|
30746
30785
|
* For instance, only one input can be focused at the same time, the state shouldn't be shared.
|
|
30747
30786
|
*/
|
|
30748
30787
|
var FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormControl(inProps, ref) {
|
|
30749
|
-
var props = useThemeProps$
|
|
30788
|
+
var props = useThemeProps$5({
|
|
30750
30789
|
props: inProps,
|
|
30751
30790
|
name: 'MuiFormControl'
|
|
30752
30791
|
});
|
|
@@ -30977,7 +31016,7 @@
|
|
|
30977
31016
|
}
|
|
30978
31017
|
}),
|
|
30979
31018
|
useThemeProps: function useThemeProps(inProps) {
|
|
30980
|
-
return useThemeProps$
|
|
31019
|
+
return useThemeProps$5({
|
|
30981
31020
|
props: inProps,
|
|
30982
31021
|
name: 'MuiStack'
|
|
30983
31022
|
});
|
|
@@ -31106,7 +31145,7 @@
|
|
|
31106
31145
|
*/
|
|
31107
31146
|
var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
|
|
31108
31147
|
var _ref5, _slotProps$typography;
|
|
31109
|
-
var props = useThemeProps$
|
|
31148
|
+
var props = useThemeProps$5({
|
|
31110
31149
|
props: inProps,
|
|
31111
31150
|
name: 'MuiFormControlLabel'
|
|
31112
31151
|
});
|
|
@@ -31299,7 +31338,7 @@
|
|
|
31299
31338
|
* For the `Radio`, you should be using the `RadioGroup` component instead of this one.
|
|
31300
31339
|
*/
|
|
31301
31340
|
var FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(inProps, ref) {
|
|
31302
|
-
var props = useThemeProps$
|
|
31341
|
+
var props = useThemeProps$5({
|
|
31303
31342
|
props: inProps,
|
|
31304
31343
|
name: 'MuiFormGroup'
|
|
31305
31344
|
});
|
|
@@ -31404,7 +31443,7 @@
|
|
|
31404
31443
|
});
|
|
31405
31444
|
});
|
|
31406
31445
|
var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
|
|
31407
|
-
var props = useThemeProps$
|
|
31446
|
+
var props = useThemeProps$5({
|
|
31408
31447
|
props: inProps,
|
|
31409
31448
|
name: 'MuiFormHelperText'
|
|
31410
31449
|
});
|
|
@@ -31568,7 +31607,7 @@
|
|
|
31568
31607
|
});
|
|
31569
31608
|
});
|
|
31570
31609
|
var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
|
|
31571
|
-
var props = useThemeProps$
|
|
31610
|
+
var props = useThemeProps$5({
|
|
31572
31611
|
props: inProps,
|
|
31573
31612
|
name: 'MuiFormLabel'
|
|
31574
31613
|
});
|
|
@@ -32024,7 +32063,7 @@
|
|
|
32024
32063
|
return composeClasses(slots, getGridUtilityClass, classes);
|
|
32025
32064
|
};
|
|
32026
32065
|
var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
|
|
32027
|
-
var themeProps = useThemeProps$
|
|
32066
|
+
var themeProps = useThemeProps$5({
|
|
32028
32067
|
props: inProps,
|
|
32029
32068
|
name: 'MuiGrid'
|
|
32030
32069
|
});
|
|
@@ -32242,7 +32281,7 @@
|
|
|
32242
32281
|
}),
|
|
32243
32282
|
componentName: 'MuiGrid2',
|
|
32244
32283
|
useThemeProps: function useThemeProps(inProps) {
|
|
32245
|
-
return useThemeProps$
|
|
32284
|
+
return useThemeProps$5({
|
|
32246
32285
|
props: inProps,
|
|
32247
32286
|
name: 'MuiGrid2'
|
|
32248
32287
|
});
|
|
@@ -33094,7 +33133,7 @@
|
|
|
33094
33133
|
};
|
|
33095
33134
|
});
|
|
33096
33135
|
var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
|
|
33097
|
-
var props = useThemeProps$
|
|
33136
|
+
var props = useThemeProps$5({
|
|
33098
33137
|
props: inProps,
|
|
33099
33138
|
name: 'MuiIcon'
|
|
33100
33139
|
});
|
|
@@ -33219,7 +33258,7 @@
|
|
|
33219
33258
|
});
|
|
33220
33259
|
});
|
|
33221
33260
|
var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
|
|
33222
|
-
var props = useThemeProps$
|
|
33261
|
+
var props = useThemeProps$5({
|
|
33223
33262
|
props: inProps,
|
|
33224
33263
|
name: 'MuiImageList'
|
|
33225
33264
|
});
|
|
@@ -33380,7 +33419,7 @@
|
|
|
33380
33419
|
})));
|
|
33381
33420
|
});
|
|
33382
33421
|
var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
|
|
33383
|
-
var props = useThemeProps$
|
|
33422
|
+
var props = useThemeProps$5({
|
|
33384
33423
|
props: inProps,
|
|
33385
33424
|
name: 'MuiImageListItem'
|
|
33386
33425
|
});
|
|
@@ -33608,7 +33647,7 @@
|
|
|
33608
33647
|
});
|
|
33609
33648
|
});
|
|
33610
33649
|
var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
|
|
33611
|
-
var props = useThemeProps$
|
|
33650
|
+
var props = useThemeProps$5({
|
|
33612
33651
|
props: inProps,
|
|
33613
33652
|
name: 'MuiImageListItemBar'
|
|
33614
33653
|
});
|
|
@@ -33782,7 +33821,7 @@
|
|
|
33782
33821
|
})({});
|
|
33783
33822
|
var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
|
|
33784
33823
|
var _ref3, _slots$root, _ref4, _slots$input;
|
|
33785
|
-
var props = useThemeProps$
|
|
33824
|
+
var props = useThemeProps$5({
|
|
33786
33825
|
props: inProps,
|
|
33787
33826
|
name: 'MuiInput'
|
|
33788
33827
|
});
|
|
@@ -34070,7 +34109,7 @@
|
|
|
34070
34109
|
});
|
|
34071
34110
|
});
|
|
34072
34111
|
var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
|
|
34073
|
-
var props = useThemeProps$
|
|
34112
|
+
var props = useThemeProps$5({
|
|
34074
34113
|
props: inProps,
|
|
34075
34114
|
name: 'MuiInputAdornment'
|
|
34076
34115
|
});
|
|
@@ -34270,7 +34309,7 @@
|
|
|
34270
34309
|
}));
|
|
34271
34310
|
});
|
|
34272
34311
|
var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
34273
|
-
var props = useThemeProps$
|
|
34312
|
+
var props = useThemeProps$5({
|
|
34274
34313
|
name: 'MuiInputLabel',
|
|
34275
34314
|
props: inProps
|
|
34276
34315
|
});
|
|
@@ -34542,7 +34581,7 @@
|
|
|
34542
34581
|
* attribute to `true` on that region until it has finished loading.
|
|
34543
34582
|
*/
|
|
34544
34583
|
var LinearProgress = /*#__PURE__*/React__namespace.forwardRef(function LinearProgress(inProps, ref) {
|
|
34545
|
-
var props = useThemeProps$
|
|
34584
|
+
var props = useThemeProps$5({
|
|
34546
34585
|
props: inProps,
|
|
34547
34586
|
name: 'MuiLinearProgress'
|
|
34548
34587
|
});
|
|
@@ -34559,7 +34598,7 @@
|
|
|
34559
34598
|
variant: variant
|
|
34560
34599
|
});
|
|
34561
34600
|
var classes = useUtilityClasses$S(ownerState);
|
|
34562
|
-
var
|
|
34601
|
+
var isRtl = useRtl();
|
|
34563
34602
|
var rootProps = {};
|
|
34564
34603
|
var inlineStyles = {
|
|
34565
34604
|
bar1: {},
|
|
@@ -34571,7 +34610,7 @@
|
|
|
34571
34610
|
rootProps['aria-valuemin'] = 0;
|
|
34572
34611
|
rootProps['aria-valuemax'] = 100;
|
|
34573
34612
|
var transform = value - 100;
|
|
34574
|
-
if (
|
|
34613
|
+
if (isRtl) {
|
|
34575
34614
|
transform = -transform;
|
|
34576
34615
|
}
|
|
34577
34616
|
inlineStyles.bar1.transform = "translateX(".concat(transform, "%)");
|
|
@@ -34582,7 +34621,7 @@
|
|
|
34582
34621
|
if (variant === 'buffer') {
|
|
34583
34622
|
if (valueBuffer !== undefined) {
|
|
34584
34623
|
var _transform = (valueBuffer || 0) - 100;
|
|
34585
|
-
if (
|
|
34624
|
+
if (isRtl) {
|
|
34586
34625
|
_transform = -_transform;
|
|
34587
34626
|
}
|
|
34588
34627
|
inlineStyles.bar2.transform = "translateX(".concat(_transform, "%)");
|
|
@@ -34749,7 +34788,7 @@
|
|
|
34749
34788
|
}));
|
|
34750
34789
|
});
|
|
34751
34790
|
var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
|
|
34752
|
-
var props = useThemeProps$
|
|
34791
|
+
var props = useThemeProps$5({
|
|
34753
34792
|
props: inProps,
|
|
34754
34793
|
name: 'MuiLink'
|
|
34755
34794
|
});
|
|
@@ -34920,7 +34959,7 @@
|
|
|
34920
34959
|
});
|
|
34921
34960
|
});
|
|
34922
34961
|
var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
|
|
34923
|
-
var props = useThemeProps$
|
|
34962
|
+
var props = useThemeProps$5({
|
|
34924
34963
|
props: inProps,
|
|
34925
34964
|
name: 'MuiList'
|
|
34926
34965
|
});
|
|
@@ -35093,7 +35132,7 @@
|
|
|
35093
35132
|
});
|
|
35094
35133
|
});
|
|
35095
35134
|
var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
|
|
35096
|
-
var props = useThemeProps$
|
|
35135
|
+
var props = useThemeProps$5({
|
|
35097
35136
|
props: inProps,
|
|
35098
35137
|
name: 'MuiListItemButton'
|
|
35099
35138
|
});
|
|
@@ -35276,7 +35315,7 @@
|
|
|
35276
35315
|
* Must be used as the last child of ListItem to function properly.
|
|
35277
35316
|
*/
|
|
35278
35317
|
var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
35279
|
-
var props = useThemeProps$
|
|
35318
|
+
var props = useThemeProps$5({
|
|
35280
35319
|
props: inProps,
|
|
35281
35320
|
name: 'MuiListItemSecondaryAction'
|
|
35282
35321
|
});
|
|
@@ -35421,7 +35460,7 @@
|
|
|
35421
35460
|
* Uses an additional container component if `ListItemSecondaryAction` is the last child.
|
|
35422
35461
|
*/
|
|
35423
35462
|
var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
|
|
35424
|
-
var props = useThemeProps$
|
|
35463
|
+
var props = useThemeProps$5({
|
|
35425
35464
|
props: inProps,
|
|
35426
35465
|
name: 'MuiListItem'
|
|
35427
35466
|
});
|
|
@@ -35755,7 +35794,7 @@
|
|
|
35755
35794
|
* A simple wrapper to apply `List` styles to an `Avatar`.
|
|
35756
35795
|
*/
|
|
35757
35796
|
var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
|
|
35758
|
-
var props = useThemeProps$
|
|
35797
|
+
var props = useThemeProps$5({
|
|
35759
35798
|
props: inProps,
|
|
35760
35799
|
name: 'MuiListItemAvatar'
|
|
35761
35800
|
});
|
|
@@ -35834,7 +35873,7 @@
|
|
|
35834
35873
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
35835
35874
|
*/
|
|
35836
35875
|
var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
|
|
35837
|
-
var props = useThemeProps$
|
|
35876
|
+
var props = useThemeProps$5({
|
|
35838
35877
|
props: inProps,
|
|
35839
35878
|
name: 'MuiListItemIcon'
|
|
35840
35879
|
});
|
|
@@ -35917,7 +35956,7 @@
|
|
|
35917
35956
|
});
|
|
35918
35957
|
});
|
|
35919
35958
|
var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
|
|
35920
|
-
var props = useThemeProps$
|
|
35959
|
+
var props = useThemeProps$5({
|
|
35921
35960
|
props: inProps,
|
|
35922
35961
|
name: 'MuiListItemText'
|
|
35923
35962
|
});
|
|
@@ -36125,13 +36164,14 @@
|
|
|
36125
36164
|
}, [autoFocus]);
|
|
36126
36165
|
React__namespace.useImperativeHandle(actions, function () {
|
|
36127
36166
|
return {
|
|
36128
|
-
adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement,
|
|
36167
|
+
adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, _ref) {
|
|
36168
|
+
var direction = _ref.direction;
|
|
36129
36169
|
// Let's ignore that piece of logic if users are already overriding the width
|
|
36130
36170
|
// of the menu.
|
|
36131
36171
|
var noExplicitWidth = !listRef.current.style.width;
|
|
36132
36172
|
if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {
|
|
36133
36173
|
var scrollbarSize = "".concat(getScrollbarSize(ownerDocument(containerElement)), "px");
|
|
36134
|
-
listRef.current.style[
|
|
36174
|
+
listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;
|
|
36135
36175
|
listRef.current.style.width = "calc(100% + ".concat(scrollbarSize, ")");
|
|
36136
36176
|
}
|
|
36137
36177
|
return listRef.current;
|
|
@@ -36372,7 +36412,7 @@
|
|
|
36372
36412
|
});
|
|
36373
36413
|
var Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProps, ref) {
|
|
36374
36414
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
36375
|
-
var props = useThemeProps$
|
|
36415
|
+
var props = useThemeProps$5({
|
|
36376
36416
|
props: inProps,
|
|
36377
36417
|
name: 'MuiPopover'
|
|
36378
36418
|
});
|
|
@@ -36889,7 +36929,7 @@
|
|
|
36889
36929
|
});
|
|
36890
36930
|
var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
|
|
36891
36931
|
var _slots$paper, _slotProps$paper;
|
|
36892
|
-
var props = useThemeProps$
|
|
36932
|
+
var props = useThemeProps$5({
|
|
36893
36933
|
props: inProps,
|
|
36894
36934
|
name: 'MuiMenu'
|
|
36895
36935
|
});
|
|
@@ -36919,8 +36959,7 @@
|
|
|
36919
36959
|
_props$slotProps = props.slotProps,
|
|
36920
36960
|
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
36921
36961
|
other = _objectWithoutProperties(props, ["autoFocus", "children", "className", "disableAutoFocusItem", "MenuListProps", "onClose", "open", "PaperProps", "PopoverClasses", "transitionDuration", "TransitionProps", "variant", "slots", "slotProps"]);
|
|
36922
|
-
var
|
|
36923
|
-
var isRtl = theme.direction === 'rtl';
|
|
36962
|
+
var isRtl = useRtl();
|
|
36924
36963
|
var ownerState = _extends({}, props, {
|
|
36925
36964
|
autoFocus: autoFocus,
|
|
36926
36965
|
disableAutoFocusItem: disableAutoFocusItem,
|
|
@@ -36936,7 +36975,9 @@
|
|
|
36936
36975
|
var menuListActionsRef = React__namespace.useRef(null);
|
|
36937
36976
|
var handleEntering = function handleEntering(element, isAppearing) {
|
|
36938
36977
|
if (menuListActionsRef.current) {
|
|
36939
|
-
menuListActionsRef.current.adjustStyleForScrollbar(element,
|
|
36978
|
+
menuListActionsRef.current.adjustStyleForScrollbar(element, {
|
|
36979
|
+
direction: isRtl ? 'rtl' : 'ltr'
|
|
36980
|
+
});
|
|
36940
36981
|
}
|
|
36941
36982
|
if (onEntering) {
|
|
36942
36983
|
onEntering(element, isAppearing);
|
|
@@ -37232,7 +37273,7 @@
|
|
|
37232
37273
|
})));
|
|
37233
37274
|
});
|
|
37234
37275
|
var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
|
|
37235
|
-
var props = useThemeProps$
|
|
37276
|
+
var props = useThemeProps$5({
|
|
37236
37277
|
props: inProps,
|
|
37237
37278
|
name: 'MuiMenuItem'
|
|
37238
37279
|
});
|
|
@@ -37474,7 +37515,7 @@
|
|
|
37474
37515
|
});
|
|
37475
37516
|
});
|
|
37476
37517
|
var MobileStepper = /*#__PURE__*/React__namespace.forwardRef(function MobileStepper(inProps, ref) {
|
|
37477
|
-
var props = useThemeProps$
|
|
37518
|
+
var props = useThemeProps$5({
|
|
37478
37519
|
props: inProps,
|
|
37479
37520
|
name: 'MuiMobileStepper'
|
|
37480
37521
|
});
|
|
@@ -37791,7 +37832,7 @@
|
|
|
37791
37832
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
37792
37833
|
*/
|
|
37793
37834
|
var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
|
|
37794
|
-
var props = useThemeProps$
|
|
37835
|
+
var props = useThemeProps$5({
|
|
37795
37836
|
name: 'MuiNativeSelect',
|
|
37796
37837
|
props: inProps
|
|
37797
37838
|
});
|
|
@@ -38116,7 +38157,7 @@
|
|
|
38116
38157
|
});
|
|
38117
38158
|
var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
|
|
38118
38159
|
var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
|
|
38119
|
-
var props = useThemeProps$
|
|
38160
|
+
var props = useThemeProps$5({
|
|
38120
38161
|
props: inProps,
|
|
38121
38162
|
name: 'MuiOutlinedInput'
|
|
38122
38163
|
});
|
|
@@ -38666,7 +38707,7 @@
|
|
|
38666
38707
|
});
|
|
38667
38708
|
});
|
|
38668
38709
|
var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
|
|
38669
|
-
var props = useThemeProps$
|
|
38710
|
+
var props = useThemeProps$5({
|
|
38670
38711
|
props: inProps,
|
|
38671
38712
|
name: 'MuiPaginationItem'
|
|
38672
38713
|
});
|
|
@@ -38701,9 +38742,9 @@
|
|
|
38701
38742
|
type: type,
|
|
38702
38743
|
variant: variant
|
|
38703
38744
|
});
|
|
38704
|
-
var
|
|
38745
|
+
var isRtl = useRtl();
|
|
38705
38746
|
var classes = useUtilityClasses$C(ownerState);
|
|
38706
|
-
var normalizedIcons =
|
|
38747
|
+
var normalizedIcons = isRtl ? {
|
|
38707
38748
|
previous: slots.next || components.next || NavigateNextIcon,
|
|
38708
38749
|
next: slots.previous || components.previous || NavigateBeforeIcon,
|
|
38709
38750
|
last: slots.first || components.first || FirstPageIconDefault,
|
|
@@ -38869,7 +38910,7 @@
|
|
|
38869
38910
|
return "Go to ".concat(type, " page");
|
|
38870
38911
|
}
|
|
38871
38912
|
var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
|
|
38872
|
-
var props = useThemeProps$
|
|
38913
|
+
var props = useThemeProps$5({
|
|
38873
38914
|
props: inProps,
|
|
38874
38915
|
name: 'MuiPagination'
|
|
38875
38916
|
});
|
|
@@ -39224,7 +39265,7 @@
|
|
|
39224
39265
|
var defaultIcon$1 = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {});
|
|
39225
39266
|
var Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, ref) {
|
|
39226
39267
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
39227
|
-
var props = useThemeProps$
|
|
39268
|
+
var props = useThemeProps$5({
|
|
39228
39269
|
props: inProps,
|
|
39229
39270
|
name: 'MuiRadio'
|
|
39230
39271
|
});
|
|
@@ -39705,7 +39746,7 @@
|
|
|
39705
39746
|
return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
|
|
39706
39747
|
}
|
|
39707
39748
|
var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
|
|
39708
|
-
var props = useThemeProps$
|
|
39749
|
+
var props = useThemeProps$5({
|
|
39709
39750
|
name: 'MuiRating',
|
|
39710
39751
|
props: inProps
|
|
39711
39752
|
});
|
|
@@ -39751,7 +39792,7 @@
|
|
|
39751
39792
|
valueDerived = _useControlled2[0],
|
|
39752
39793
|
setValueState = _useControlled2[1];
|
|
39753
39794
|
var valueRounded = roundValueToPrecision(valueDerived, precision);
|
|
39754
|
-
var
|
|
39795
|
+
var isRtl = useRtl();
|
|
39755
39796
|
var _React$useState = React__namespace.useState({
|
|
39756
39797
|
hover: -1,
|
|
39757
39798
|
focus: -1
|
|
@@ -39787,7 +39828,7 @@
|
|
|
39787
39828
|
left = _rootNode$getBounding.left,
|
|
39788
39829
|
containerWidth = _rootNode$getBounding.width;
|
|
39789
39830
|
var percent;
|
|
39790
|
-
if (
|
|
39831
|
+
if (isRtl) {
|
|
39791
39832
|
percent = (right - event.clientX) / containerWidth;
|
|
39792
39833
|
} else {
|
|
39793
39834
|
percent = (event.clientX - left) / containerWidth;
|
|
@@ -40146,7 +40187,7 @@
|
|
|
40146
40187
|
}, colorSchemeStyles);
|
|
40147
40188
|
});
|
|
40148
40189
|
var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
40149
|
-
var props = useThemeProps$
|
|
40190
|
+
var props = useThemeProps$5({
|
|
40150
40191
|
props: inProps,
|
|
40151
40192
|
name: 'MuiScopedCssBaseline'
|
|
40152
40193
|
});
|
|
@@ -40868,7 +40909,7 @@
|
|
|
40868
40909
|
var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
|
|
40869
40910
|
var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
|
|
40870
40911
|
var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
40871
|
-
var props = useThemeProps$
|
|
40912
|
+
var props = useThemeProps$5({
|
|
40872
40913
|
name: 'MuiSelect',
|
|
40873
40914
|
props: inProps
|
|
40874
40915
|
});
|
|
@@ -41191,7 +41232,7 @@
|
|
|
41191
41232
|
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);
|
|
41192
41233
|
});
|
|
41193
41234
|
var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
|
|
41194
|
-
var props = useThemeProps$
|
|
41235
|
+
var props = useThemeProps$5({
|
|
41195
41236
|
props: inProps,
|
|
41196
41237
|
name: 'MuiSkeleton'
|
|
41197
41238
|
});
|
|
@@ -41679,12 +41720,11 @@
|
|
|
41679
41720
|
};
|
|
41680
41721
|
var Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
|
|
41681
41722
|
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;
|
|
41682
|
-
var props = useThemeProps$
|
|
41723
|
+
var props = useThemeProps$5({
|
|
41683
41724
|
props: inputProps,
|
|
41684
41725
|
name: 'MuiSlider'
|
|
41685
41726
|
});
|
|
41686
|
-
var
|
|
41687
|
-
var isRtl = theme.direction === 'rtl';
|
|
41727
|
+
var isRtl = useRtl();
|
|
41688
41728
|
var ariaLabel = props['aria-label'],
|
|
41689
41729
|
ariaValuetext = props['aria-valuetext'],
|
|
41690
41730
|
ariaLabelledby = props['aria-labelledby'],
|
|
@@ -42257,7 +42297,7 @@
|
|
|
42257
42297
|
marginRight: -8
|
|
42258
42298
|
});
|
|
42259
42299
|
var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
|
|
42260
|
-
var props = useThemeProps$
|
|
42300
|
+
var props = useThemeProps$5({
|
|
42261
42301
|
props: inProps,
|
|
42262
42302
|
name: 'MuiSnackbarContent'
|
|
42263
42303
|
});
|
|
@@ -42379,7 +42419,7 @@
|
|
|
42379
42419
|
})));
|
|
42380
42420
|
});
|
|
42381
42421
|
var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
|
|
42382
|
-
var props = useThemeProps$
|
|
42422
|
+
var props = useThemeProps$5({
|
|
42383
42423
|
props: inProps,
|
|
42384
42424
|
name: 'MuiSnackbar'
|
|
42385
42425
|
});
|
|
@@ -42914,7 +42954,7 @@
|
|
|
42914
42954
|
});
|
|
42915
42955
|
});
|
|
42916
42956
|
var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
|
|
42917
|
-
var props = useThemeProps$
|
|
42957
|
+
var props = useThemeProps$5({
|
|
42918
42958
|
props: inProps,
|
|
42919
42959
|
name: 'MuiSpeedDial'
|
|
42920
42960
|
});
|
|
@@ -43463,17 +43503,20 @@
|
|
|
43463
43503
|
};
|
|
43464
43504
|
function composeEventHandler(handler, eventHandler) {
|
|
43465
43505
|
return function (event) {
|
|
43506
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
43507
|
+
params[_key - 1] = arguments[_key];
|
|
43508
|
+
}
|
|
43466
43509
|
if (eventHandler) {
|
|
43467
|
-
eventHandler(event);
|
|
43510
|
+
eventHandler.apply(void 0, [event].concat(params));
|
|
43468
43511
|
}
|
|
43469
|
-
handler(event);
|
|
43512
|
+
handler.apply(void 0, [event].concat(params));
|
|
43470
43513
|
};
|
|
43471
43514
|
}
|
|
43472
43515
|
|
|
43473
43516
|
// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
43474
43517
|
var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
|
|
43475
43518
|
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;
|
|
43476
|
-
var props = useThemeProps$
|
|
43519
|
+
var props = useThemeProps$5({
|
|
43477
43520
|
props: inProps,
|
|
43478
43521
|
name: 'MuiTooltip'
|
|
43479
43522
|
});
|
|
@@ -43529,7 +43572,7 @@
|
|
|
43529
43572
|
children: childrenProp
|
|
43530
43573
|
});
|
|
43531
43574
|
var theme = useTheme();
|
|
43532
|
-
var isRtl =
|
|
43575
|
+
var isRtl = useRtl();
|
|
43533
43576
|
var _React$useState = React__namespace.useState(),
|
|
43534
43577
|
childNode = _React$useState[0],
|
|
43535
43578
|
setChildNode = _React$useState[1];
|
|
@@ -44146,7 +44189,7 @@
|
|
|
44146
44189
|
});
|
|
44147
44190
|
});
|
|
44148
44191
|
var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
44149
|
-
var props = useThemeProps$
|
|
44192
|
+
var props = useThemeProps$5({
|
|
44150
44193
|
props: inProps,
|
|
44151
44194
|
name: 'MuiSpeedDialAction'
|
|
44152
44195
|
});
|
|
@@ -44340,7 +44383,7 @@
|
|
|
44340
44383
|
}));
|
|
44341
44384
|
});
|
|
44342
44385
|
var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
44343
|
-
var props = useThemeProps$
|
|
44386
|
+
var props = useThemeProps$5({
|
|
44344
44387
|
props: inProps,
|
|
44345
44388
|
name: 'MuiSpeedDialIcon'
|
|
44346
44389
|
});
|
|
@@ -44471,7 +44514,7 @@
|
|
|
44471
44514
|
});
|
|
44472
44515
|
});
|
|
44473
44516
|
var Step = /*#__PURE__*/React__namespace.forwardRef(function Step(inProps, ref) {
|
|
44474
|
-
var props = useThemeProps$
|
|
44517
|
+
var props = useThemeProps$5({
|
|
44475
44518
|
props: inProps,
|
|
44476
44519
|
name: 'MuiStep'
|
|
44477
44520
|
});
|
|
@@ -44662,7 +44705,7 @@
|
|
|
44662
44705
|
};
|
|
44663
44706
|
});
|
|
44664
44707
|
var StepIcon = /*#__PURE__*/React__namespace.forwardRef(function StepIcon(inProps, ref) {
|
|
44665
|
-
var props = useThemeProps$
|
|
44708
|
+
var props = useThemeProps$5({
|
|
44666
44709
|
props: inProps,
|
|
44667
44710
|
name: 'MuiStepIcon'
|
|
44668
44711
|
});
|
|
@@ -44861,7 +44904,7 @@
|
|
|
44861
44904
|
});
|
|
44862
44905
|
var StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
|
|
44863
44906
|
var _slotProps$label;
|
|
44864
|
-
var props = useThemeProps$
|
|
44907
|
+
var props = useThemeProps$5({
|
|
44865
44908
|
props: inProps,
|
|
44866
44909
|
name: 'MuiStepLabel'
|
|
44867
44910
|
});
|
|
@@ -45025,7 +45068,7 @@
|
|
|
45025
45068
|
}));
|
|
45026
45069
|
});
|
|
45027
45070
|
var StepButton = /*#__PURE__*/React__namespace.forwardRef(function StepButton(inProps, ref) {
|
|
45028
|
-
var props = useThemeProps$
|
|
45071
|
+
var props = useThemeProps$5({
|
|
45029
45072
|
props: inProps,
|
|
45030
45073
|
name: 'MuiStepButton'
|
|
45031
45074
|
});
|
|
@@ -45159,7 +45202,7 @@
|
|
|
45159
45202
|
});
|
|
45160
45203
|
});
|
|
45161
45204
|
var StepConnector = /*#__PURE__*/React__namespace.forwardRef(function StepConnector(inProps, ref) {
|
|
45162
|
-
var props = useThemeProps$
|
|
45205
|
+
var props = useThemeProps$5({
|
|
45163
45206
|
props: inProps,
|
|
45164
45207
|
name: 'MuiStepConnector'
|
|
45165
45208
|
});
|
|
@@ -45256,7 +45299,7 @@
|
|
|
45256
45299
|
}
|
|
45257
45300
|
})({});
|
|
45258
45301
|
var StepContent = /*#__PURE__*/React__namespace.forwardRef(function StepContent(inProps, ref) {
|
|
45259
|
-
var props = useThemeProps$
|
|
45302
|
+
var props = useThemeProps$5({
|
|
45260
45303
|
props: inProps,
|
|
45261
45304
|
name: 'MuiStepContent'
|
|
45262
45305
|
});
|
|
@@ -45388,7 +45431,7 @@
|
|
|
45388
45431
|
});
|
|
45389
45432
|
var defaultConnector = /*#__PURE__*/jsxRuntime_1(StepConnector$1, {});
|
|
45390
45433
|
var Stepper = /*#__PURE__*/React__namespace.forwardRef(function Stepper(inProps, ref) {
|
|
45391
|
-
var props = useThemeProps$
|
|
45434
|
+
var props = useThemeProps$5({
|
|
45392
45435
|
props: inProps,
|
|
45393
45436
|
name: 'MuiStepper'
|
|
45394
45437
|
});
|
|
@@ -45654,7 +45697,7 @@
|
|
|
45654
45697
|
}
|
|
45655
45698
|
var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
45656
45699
|
var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
45657
|
-
var props = useThemeProps$
|
|
45700
|
+
var props = useThemeProps$6({
|
|
45658
45701
|
name: 'MuiSwipeableDrawer',
|
|
45659
45702
|
props: inProps
|
|
45660
45703
|
});
|
|
@@ -46165,6 +46208,7 @@
|
|
|
46165
46208
|
var switchClasses = generateUtilityClasses$1('MuiSwitch', ['root', 'edgeStart', 'edgeEnd', 'switchBase', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium', 'checked', 'disabled', 'input', 'thumb', 'track']);
|
|
46166
46209
|
var switchClasses$1 = switchClasses;
|
|
46167
46210
|
|
|
46211
|
+
var useThemeProps = createUseThemeProps();
|
|
46168
46212
|
var useUtilityClasses$g = function useUtilityClasses(ownerState) {
|
|
46169
46213
|
var classes = ownerState.classes,
|
|
46170
46214
|
edge = ownerState.edge,
|
|
@@ -46189,40 +46233,53 @@
|
|
|
46189
46233
|
var ownerState = props.ownerState;
|
|
46190
46234
|
return [styles.root, ownerState.edge && styles["edge".concat(capitalize(ownerState.edge))], styles["size".concat(capitalize(ownerState.size))]];
|
|
46191
46235
|
}
|
|
46192
|
-
})(
|
|
46193
|
-
|
|
46194
|
-
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
|
|
46199
|
-
|
|
46200
|
-
|
|
46201
|
-
|
|
46202
|
-
|
|
46203
|
-
|
|
46204
|
-
|
|
46205
|
-
|
|
46206
|
-
|
|
46207
|
-
|
|
46208
|
-
|
|
46236
|
+
})({
|
|
46237
|
+
display: 'inline-flex',
|
|
46238
|
+
width: 34 + 12 * 2,
|
|
46239
|
+
height: 14 + 12 * 2,
|
|
46240
|
+
overflow: 'hidden',
|
|
46241
|
+
padding: 12,
|
|
46242
|
+
boxSizing: 'border-box',
|
|
46243
|
+
position: 'relative',
|
|
46244
|
+
flexShrink: 0,
|
|
46245
|
+
zIndex: 0,
|
|
46246
|
+
// Reset the stacking context.
|
|
46247
|
+
verticalAlign: 'middle',
|
|
46248
|
+
// For correct alignment with the text.
|
|
46249
|
+
'@media print': {
|
|
46250
|
+
colorAdjust: 'exact'
|
|
46251
|
+
},
|
|
46252
|
+
variants: [{
|
|
46253
|
+
props: {
|
|
46254
|
+
edge: 'start'
|
|
46255
|
+
},
|
|
46256
|
+
style: {
|
|
46257
|
+
marginLeft: -8
|
|
46209
46258
|
}
|
|
46210
|
-
},
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46218
|
-
|
|
46219
|
-
|
|
46220
|
-
|
|
46221
|
-
|
|
46222
|
-
|
|
46223
|
-
|
|
46224
|
-
|
|
46225
|
-
|
|
46259
|
+
}, {
|
|
46260
|
+
props: {
|
|
46261
|
+
edge: 'end'
|
|
46262
|
+
},
|
|
46263
|
+
style: {
|
|
46264
|
+
marginRight: -8
|
|
46265
|
+
}
|
|
46266
|
+
}, {
|
|
46267
|
+
props: {
|
|
46268
|
+
size: 'small'
|
|
46269
|
+
},
|
|
46270
|
+
style: _defineProperty(_defineProperty({
|
|
46271
|
+
width: 40,
|
|
46272
|
+
height: 24,
|
|
46273
|
+
padding: 7
|
|
46274
|
+
}, "& .".concat(switchClasses$1.thumb), {
|
|
46275
|
+
width: 16,
|
|
46276
|
+
height: 16
|
|
46277
|
+
}), "& .".concat(switchClasses$1.switchBase), _defineProperty({
|
|
46278
|
+
padding: 4
|
|
46279
|
+
}, "&.".concat(switchClasses$1.checked), {
|
|
46280
|
+
transform: 'translateX(16px)'
|
|
46281
|
+
}))
|
|
46282
|
+
}]
|
|
46226
46283
|
});
|
|
46227
46284
|
var SwitchSwitchBase = styled$1(SwitchBase$1, {
|
|
46228
46285
|
name: 'MuiSwitch',
|
|
@@ -46231,8 +46288,8 @@
|
|
|
46231
46288
|
var ownerState = props.ownerState;
|
|
46232
46289
|
return [styles.switchBase, _defineProperty({}, "& .".concat(switchClasses$1.input), styles.input), ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))]];
|
|
46233
46290
|
}
|
|
46234
|
-
})(function (
|
|
46235
|
-
var theme =
|
|
46291
|
+
})(function (_ref2) {
|
|
46292
|
+
var theme = _ref2.theme;
|
|
46236
46293
|
return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
46237
46294
|
position: 'absolute',
|
|
46238
46295
|
top: 0,
|
|
@@ -46255,30 +46312,44 @@
|
|
|
46255
46312
|
left: '-100%',
|
|
46256
46313
|
width: '300%'
|
|
46257
46314
|
});
|
|
46258
|
-
}, function (
|
|
46259
|
-
var theme =
|
|
46260
|
-
|
|
46261
|
-
return _extends({
|
|
46315
|
+
}, function (_ref4) {
|
|
46316
|
+
var theme = _ref4.theme;
|
|
46317
|
+
return {
|
|
46262
46318
|
'&:hover': {
|
|
46263
46319
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.activeChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
46264
46320
|
// Reset on touch devices, it doesn't add specificity
|
|
46265
46321
|
'@media (hover: none)': {
|
|
46266
46322
|
backgroundColor: 'transparent'
|
|
46267
46323
|
}
|
|
46268
|
-
}
|
|
46269
|
-
|
|
46270
|
-
|
|
46271
|
-
|
|
46272
|
-
|
|
46273
|
-
|
|
46274
|
-
|
|
46275
|
-
|
|
46276
|
-
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46280
|
-
|
|
46281
|
-
|
|
46324
|
+
},
|
|
46325
|
+
variants: _toConsumableArray(Object.entries(theme.palette).filter(function (_ref5) {
|
|
46326
|
+
var _ref6 = _slicedToArray(_ref5, 2),
|
|
46327
|
+
value = _ref6[1];
|
|
46328
|
+
return value.main && value.light;
|
|
46329
|
+
}) // check all the used fields in the style below
|
|
46330
|
+
.map(function (_ref7) {
|
|
46331
|
+
var _ref8 = _slicedToArray(_ref7, 1),
|
|
46332
|
+
color = _ref8[0];
|
|
46333
|
+
return {
|
|
46334
|
+
props: {
|
|
46335
|
+
color: color
|
|
46336
|
+
},
|
|
46337
|
+
style: _defineProperty(_defineProperty({}, "&.".concat(switchClasses$1.checked), _defineProperty({
|
|
46338
|
+
color: (theme.vars || theme).palette[color].main,
|
|
46339
|
+
'&:hover': {
|
|
46340
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity),
|
|
46341
|
+
'@media (hover: none)': {
|
|
46342
|
+
backgroundColor: 'transparent'
|
|
46343
|
+
}
|
|
46344
|
+
}
|
|
46345
|
+
}, "&.".concat(switchClasses$1.disabled), {
|
|
46346
|
+
color: theme.vars ? theme.vars.palette.Switch["".concat(color, "DisabledColor")] : "".concat(theme.palette.mode === 'light' ? lighten(theme.palette[color].main, 0.62) : darken(theme.palette[color].main, 0.55))
|
|
46347
|
+
})), "&.".concat(switchClasses$1.checked, " + .").concat(switchClasses$1.track), {
|
|
46348
|
+
backgroundColor: (theme.vars || theme).palette[color].main
|
|
46349
|
+
})
|
|
46350
|
+
};
|
|
46351
|
+
}))
|
|
46352
|
+
};
|
|
46282
46353
|
});
|
|
46283
46354
|
var SwitchTrack = styled$1('span', {
|
|
46284
46355
|
name: 'MuiSwitch',
|
|
@@ -46286,8 +46357,8 @@
|
|
|
46286
46357
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46287
46358
|
return styles.track;
|
|
46288
46359
|
}
|
|
46289
|
-
})(function (
|
|
46290
|
-
var theme =
|
|
46360
|
+
})(function (_ref9) {
|
|
46361
|
+
var theme = _ref9.theme;
|
|
46291
46362
|
return {
|
|
46292
46363
|
height: '100%',
|
|
46293
46364
|
width: '100%',
|
|
@@ -46306,8 +46377,8 @@
|
|
|
46306
46377
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46307
46378
|
return styles.thumb;
|
|
46308
46379
|
}
|
|
46309
|
-
})(function (
|
|
46310
|
-
var theme =
|
|
46380
|
+
})(function (_ref10) {
|
|
46381
|
+
var theme = _ref10.theme;
|
|
46311
46382
|
return {
|
|
46312
46383
|
boxShadow: (theme.vars || theme).shadows[1],
|
|
46313
46384
|
backgroundColor: 'currentColor',
|
|
@@ -46317,7 +46388,7 @@
|
|
|
46317
46388
|
};
|
|
46318
46389
|
});
|
|
46319
46390
|
var Switch = /*#__PURE__*/React__namespace.forwardRef(function Switch(inProps, ref) {
|
|
46320
|
-
var props = useThemeProps
|
|
46391
|
+
var props = useThemeProps({
|
|
46321
46392
|
props: inProps,
|
|
46322
46393
|
name: 'MuiSwitch'
|
|
46323
46394
|
});
|
|
@@ -46542,7 +46613,7 @@
|
|
|
46542
46613
|
});
|
|
46543
46614
|
});
|
|
46544
46615
|
var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
|
|
46545
|
-
var props = useThemeProps$
|
|
46616
|
+
var props = useThemeProps$5({
|
|
46546
46617
|
props: inProps,
|
|
46547
46618
|
name: 'MuiTab'
|
|
46548
46619
|
});
|
|
@@ -46746,7 +46817,7 @@
|
|
|
46746
46817
|
});
|
|
46747
46818
|
var defaultComponent$4 = 'table';
|
|
46748
46819
|
var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
|
|
46749
|
-
var props = useThemeProps$
|
|
46820
|
+
var props = useThemeProps$5({
|
|
46750
46821
|
props: inProps,
|
|
46751
46822
|
name: 'MuiTable'
|
|
46752
46823
|
});
|
|
@@ -46867,7 +46938,7 @@
|
|
|
46867
46938
|
};
|
|
46868
46939
|
var defaultComponent$3 = 'tbody';
|
|
46869
46940
|
var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
|
|
46870
|
-
var props = useThemeProps$
|
|
46941
|
+
var props = useThemeProps$5({
|
|
46871
46942
|
props: inProps,
|
|
46872
46943
|
name: 'MuiTableBody'
|
|
46873
46944
|
});
|
|
@@ -47002,7 +47073,7 @@
|
|
|
47002
47073
|
* or otherwise a `<td>` element.
|
|
47003
47074
|
*/
|
|
47004
47075
|
var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
|
|
47005
|
-
var props = useThemeProps$
|
|
47076
|
+
var props = useThemeProps$5({
|
|
47006
47077
|
props: inProps,
|
|
47007
47078
|
name: 'MuiTableCell'
|
|
47008
47079
|
});
|
|
@@ -47141,7 +47212,7 @@
|
|
|
47141
47212
|
overflowX: 'auto'
|
|
47142
47213
|
});
|
|
47143
47214
|
var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
|
|
47144
|
-
var props = useThemeProps$
|
|
47215
|
+
var props = useThemeProps$5({
|
|
47145
47216
|
props: inProps,
|
|
47146
47217
|
name: 'MuiTableContainer'
|
|
47147
47218
|
});
|
|
@@ -47216,7 +47287,7 @@
|
|
|
47216
47287
|
};
|
|
47217
47288
|
var defaultComponent$2 = 'tfoot';
|
|
47218
47289
|
var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
|
|
47219
|
-
var props = useThemeProps$
|
|
47290
|
+
var props = useThemeProps$5({
|
|
47220
47291
|
props: inProps,
|
|
47221
47292
|
name: 'MuiTableFooter'
|
|
47222
47293
|
});
|
|
@@ -47295,7 +47366,7 @@
|
|
|
47295
47366
|
};
|
|
47296
47367
|
var defaultComponent$1 = 'thead';
|
|
47297
47368
|
var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
|
|
47298
|
-
var props = useThemeProps$
|
|
47369
|
+
var props = useThemeProps$5({
|
|
47299
47370
|
props: inProps,
|
|
47300
47371
|
name: 'MuiTableHead'
|
|
47301
47372
|
});
|
|
@@ -47391,7 +47462,7 @@
|
|
|
47391
47462
|
return ownerState.variant === 'regular' && theme.mixins.toolbar;
|
|
47392
47463
|
});
|
|
47393
47464
|
var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
|
|
47394
|
-
var props = useThemeProps$
|
|
47465
|
+
var props = useThemeProps$5({
|
|
47395
47466
|
props: inProps,
|
|
47396
47467
|
name: 'MuiToolbar'
|
|
47397
47468
|
});
|
|
@@ -47482,7 +47553,7 @@
|
|
|
47482
47553
|
_props$slotProps = props.slotProps,
|
|
47483
47554
|
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
47484
47555
|
other = _objectWithoutProperties(props, ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"]);
|
|
47485
|
-
var
|
|
47556
|
+
var isRtl = useRtl();
|
|
47486
47557
|
var handleFirstPageButtonClick = function handleFirstPageButtonClick(event) {
|
|
47487
47558
|
onPageChange(event, 0);
|
|
47488
47559
|
};
|
|
@@ -47503,14 +47574,14 @@
|
|
|
47503
47574
|
var LastButtonIcon = (_slots$lastButtonIcon = slots.lastButtonIcon) != null ? _slots$lastButtonIcon : LastPageIconDefault;
|
|
47504
47575
|
var NextButtonIcon = (_slots$nextButtonIcon = slots.nextButtonIcon) != null ? _slots$nextButtonIcon : KeyboardArrowRight;
|
|
47505
47576
|
var PreviousButtonIcon = (_slots$previousButton2 = slots.previousButtonIcon) != null ? _slots$previousButton2 : KeyboardArrowLeft;
|
|
47506
|
-
var FirstButtonSlot =
|
|
47507
|
-
var PreviousButtonSlot =
|
|
47508
|
-
var NextButtonSlot =
|
|
47509
|
-
var LastButtonSlot =
|
|
47510
|
-
var firstButtonSlotProps =
|
|
47511
|
-
var previousButtonSlotProps =
|
|
47512
|
-
var nextButtonSlotProps =
|
|
47513
|
-
var lastButtonSlotProps =
|
|
47577
|
+
var FirstButtonSlot = isRtl ? LastButton : FirstButton;
|
|
47578
|
+
var PreviousButtonSlot = isRtl ? NextButton : PreviousButton;
|
|
47579
|
+
var NextButtonSlot = isRtl ? PreviousButton : NextButton;
|
|
47580
|
+
var LastButtonSlot = isRtl ? FirstButton : LastButton;
|
|
47581
|
+
var firstButtonSlotProps = isRtl ? slotProps.lastButton : slotProps.firstButton;
|
|
47582
|
+
var previousButtonSlotProps = isRtl ? slotProps.nextButton : slotProps.previousButton;
|
|
47583
|
+
var nextButtonSlotProps = isRtl ? slotProps.previousButton : slotProps.nextButton;
|
|
47584
|
+
var lastButtonSlotProps = isRtl ? slotProps.firstButton : slotProps.lastButton;
|
|
47514
47585
|
return /*#__PURE__*/jsxRuntime_2("div", _extends({
|
|
47515
47586
|
ref: ref
|
|
47516
47587
|
}, other, {
|
|
@@ -47520,7 +47591,7 @@
|
|
|
47520
47591
|
"aria-label": getItemAriaLabel('first', page),
|
|
47521
47592
|
title: getItemAriaLabel('first', page)
|
|
47522
47593
|
}, firstButtonSlotProps, {
|
|
47523
|
-
children:
|
|
47594
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon)) : /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon))
|
|
47524
47595
|
})), /*#__PURE__*/jsxRuntime_1(PreviousButtonSlot, _extends({
|
|
47525
47596
|
onClick: handleBackButtonClick,
|
|
47526
47597
|
disabled: disabled || page === 0,
|
|
@@ -47528,7 +47599,7 @@
|
|
|
47528
47599
|
"aria-label": getItemAriaLabel('previous', page),
|
|
47529
47600
|
title: getItemAriaLabel('previous', page)
|
|
47530
47601
|
}, previousButtonSlotProps != null ? previousButtonSlotProps : backIconButtonProps, {
|
|
47531
|
-
children:
|
|
47602
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon)) : /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon))
|
|
47532
47603
|
})), /*#__PURE__*/jsxRuntime_1(NextButtonSlot, _extends({
|
|
47533
47604
|
onClick: handleNextButtonClick,
|
|
47534
47605
|
disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
|
|
@@ -47536,14 +47607,14 @@
|
|
|
47536
47607
|
"aria-label": getItemAriaLabel('next', page),
|
|
47537
47608
|
title: getItemAriaLabel('next', page)
|
|
47538
47609
|
}, nextButtonSlotProps != null ? nextButtonSlotProps : nextIconButtonProps, {
|
|
47539
|
-
children:
|
|
47610
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon)) : /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon))
|
|
47540
47611
|
})), showLastButton && /*#__PURE__*/jsxRuntime_1(LastButtonSlot, _extends({
|
|
47541
47612
|
onClick: handleLastPageButtonClick,
|
|
47542
47613
|
disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
|
|
47543
47614
|
"aria-label": getItemAriaLabel('last', page),
|
|
47544
47615
|
title: getItemAriaLabel('last', page)
|
|
47545
47616
|
}, lastButtonSlotProps, {
|
|
47546
|
-
children:
|
|
47617
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon)) : /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon))
|
|
47547
47618
|
}))]
|
|
47548
47619
|
}));
|
|
47549
47620
|
});
|
|
@@ -47765,7 +47836,7 @@
|
|
|
47765
47836
|
*/
|
|
47766
47837
|
var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
|
|
47767
47838
|
var _slotProps$select;
|
|
47768
|
-
var props = useThemeProps$
|
|
47839
|
+
var props = useThemeProps$5({
|
|
47769
47840
|
props: inProps,
|
|
47770
47841
|
name: 'MuiTablePagination'
|
|
47771
47842
|
});
|
|
@@ -48121,7 +48192,7 @@
|
|
|
48121
48192
|
* based on the material table element parent (head, body, etc).
|
|
48122
48193
|
*/
|
|
48123
48194
|
var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
|
|
48124
|
-
var props = useThemeProps$
|
|
48195
|
+
var props = useThemeProps$5({
|
|
48125
48196
|
props: inProps,
|
|
48126
48197
|
name: 'MuiTableRow'
|
|
48127
48198
|
});
|
|
@@ -48269,7 +48340,7 @@
|
|
|
48269
48340
|
* A button based label for placing inside `TableCell` for column sorting.
|
|
48270
48341
|
*/
|
|
48271
48342
|
var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
|
|
48272
|
-
var props = useThemeProps$
|
|
48343
|
+
var props = useThemeProps$5({
|
|
48273
48344
|
props: inProps,
|
|
48274
48345
|
name: 'MuiTableSortLabel'
|
|
48275
48346
|
});
|
|
@@ -48480,7 +48551,7 @@
|
|
|
48480
48551
|
});
|
|
48481
48552
|
var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
|
|
48482
48553
|
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
48483
|
-
var props = useThemeProps$
|
|
48554
|
+
var props = useThemeProps$5({
|
|
48484
48555
|
props: inProps,
|
|
48485
48556
|
name: 'MuiTabScrollButton'
|
|
48486
48557
|
});
|
|
@@ -48493,8 +48564,7 @@
|
|
|
48493
48564
|
props.orientation;
|
|
48494
48565
|
props.disabled;
|
|
48495
48566
|
var other = _objectWithoutProperties(props, ["className", "slots", "slotProps", "direction", "orientation", "disabled"]);
|
|
48496
|
-
var
|
|
48497
|
-
var isRtl = theme.direction === 'rtl';
|
|
48567
|
+
var isRtl = useRtl();
|
|
48498
48568
|
var ownerState = _extends({
|
|
48499
48569
|
isRtl: isRtl
|
|
48500
48570
|
}, props);
|
|
@@ -48758,12 +48828,12 @@
|
|
|
48758
48828
|
var defaultIndicatorStyle = {};
|
|
48759
48829
|
var warnedOnceTabPresent = false;
|
|
48760
48830
|
var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
|
|
48761
|
-
var props = useThemeProps$
|
|
48831
|
+
var props = useThemeProps$5({
|
|
48762
48832
|
props: inProps,
|
|
48763
48833
|
name: 'MuiTabs'
|
|
48764
48834
|
});
|
|
48765
48835
|
var theme = useTheme();
|
|
48766
|
-
var isRtl =
|
|
48836
|
+
var isRtl = useRtl();
|
|
48767
48837
|
var ariaLabel = props['aria-label'],
|
|
48768
48838
|
ariaLabelledBy = props['aria-labelledby'],
|
|
48769
48839
|
action = props.action,
|
|
@@ -48875,7 +48945,7 @@
|
|
|
48875
48945
|
clientWidth: tabsNode.clientWidth,
|
|
48876
48946
|
scrollLeft: tabsNode.scrollLeft,
|
|
48877
48947
|
scrollTop: tabsNode.scrollTop,
|
|
48878
|
-
scrollLeftNormalized: getNormalizedScrollLeft(tabsNode,
|
|
48948
|
+
scrollLeftNormalized: getNormalizedScrollLeft(tabsNode, isRtl ? 'rtl' : 'ltr'),
|
|
48879
48949
|
scrollWidth: tabsNode.scrollWidth,
|
|
48880
48950
|
top: rect.top,
|
|
48881
48951
|
bottom: rect.bottom,
|
|
@@ -49469,7 +49539,7 @@
|
|
|
49469
49539
|
* - using the underlying components directly as shown in the demos
|
|
49470
49540
|
*/
|
|
49471
49541
|
var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
|
|
49472
|
-
var props = useThemeProps$
|
|
49542
|
+
var props = useThemeProps$5({
|
|
49473
49543
|
props: inProps,
|
|
49474
49544
|
name: 'MuiTextField'
|
|
49475
49545
|
});
|
|
@@ -49885,7 +49955,7 @@
|
|
|
49885
49955
|
var resolvedProps = resolveProps(_extends({}, contextProps, {
|
|
49886
49956
|
selected: isValueSelected(inProps.value, contextValue)
|
|
49887
49957
|
}), inProps);
|
|
49888
|
-
var props = useThemeProps$
|
|
49958
|
+
var props = useThemeProps$5({
|
|
49889
49959
|
props: resolvedProps,
|
|
49890
49960
|
name: 'MuiToggleButton'
|
|
49891
49961
|
});
|
|
@@ -50089,7 +50159,7 @@
|
|
|
50089
50159
|
}));
|
|
50090
50160
|
});
|
|
50091
50161
|
var ToggleButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ToggleButtonGroup(inProps, ref) {
|
|
50092
|
-
var props = useThemeProps$
|
|
50162
|
+
var props = useThemeProps$5({
|
|
50093
50163
|
props: inProps,
|
|
50094
50164
|
name: 'MuiToggleButtonGroup'
|
|
50095
50165
|
});
|
|
@@ -50758,7 +50828,7 @@
|
|
|
50758
50828
|
exports.useStepContext = useStepContext;
|
|
50759
50829
|
exports.useStepperContext = useStepperContext;
|
|
50760
50830
|
exports.useTheme = useTheme;
|
|
50761
|
-
exports.useThemeProps = useThemeProps$
|
|
50831
|
+
exports.useThemeProps = useThemeProps$5;
|
|
50762
50832
|
exports.withStyles = withStyles;
|
|
50763
50833
|
exports.withTheme = withTheme;
|
|
50764
50834
|
|