@mui/material 5.15.12 → 5.15.14
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/Accordion.js +30 -23
- package/AccordionActions/AccordionActions.js +14 -12
- package/AccordionDetails/AccordionDetails.js +2 -2
- package/AccordionSummary/AccordionSummary.js +29 -23
- package/Alert/Alert.d.ts +2 -2
- package/Autocomplete/Autocomplete.d.ts +1 -1
- package/Autocomplete/Autocomplete.js +117 -82
- package/Autocomplete/autocompleteClasses.d.ts +3 -3
- package/CHANGELOG.md +203 -51
- package/CircularProgress/CircularProgress.d.ts +1 -1
- package/CircularProgress/CircularProgress.js +1 -1
- package/Drawer/Drawer.js +9 -3
- package/Icon/Icon.d.ts +1 -1
- package/Icon/Icon.js +1 -1
- package/LinearProgress/LinearProgress.js +4 -4
- package/Menu/Menu.js +5 -4
- package/MenuList/MenuList.js +4 -2
- package/OverridableComponent.d.ts +1 -1
- package/PaginationItem/PaginationItem.js +3 -3
- package/Popper/Popper.d.ts +3 -26
- package/README.md +2 -2
- package/Rating/Rating.js +3 -3
- package/Select/Select.d.ts +8 -20
- package/Slider/Slider.js +406 -226
- package/SvgIcon/SvgIcon.js +1 -1
- 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/Accordion/Accordion.js +33 -22
- package/legacy/AccordionActions/AccordionActions.js +17 -14
- package/legacy/AccordionDetails/AccordionDetails.js +2 -2
- package/legacy/AccordionSummary/AccordionSummary.js +31 -22
- package/legacy/Autocomplete/Autocomplete.js +194 -164
- package/legacy/CircularProgress/CircularProgress.js +1 -1
- package/legacy/Drawer/Drawer.js +8 -3
- package/legacy/Icon/Icon.js +1 -1
- 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 +375 -194
- package/legacy/SvgIcon/SvgIcon.js +1 -1
- 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 +4 -1
- package/legacy/styles/rootShouldForwardProp.js +5 -0
- package/legacy/styles/slotShouldForwardProp.js +5 -0
- package/legacy/styles/styled.js +4 -5
- package/legacy/usePagination/usePagination.js +1 -1
- package/modern/Accordion/Accordion.js +30 -23
- package/modern/AccordionActions/AccordionActions.js +14 -12
- package/modern/AccordionDetails/AccordionDetails.js +2 -2
- package/modern/AccordionSummary/AccordionSummary.js +29 -23
- package/modern/Autocomplete/Autocomplete.js +117 -82
- package/modern/CircularProgress/CircularProgress.js +1 -1
- package/modern/Drawer/Drawer.js +9 -3
- package/modern/Icon/Icon.js +1 -1
- 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 +339 -175
- package/modern/SvgIcon/SvgIcon.js +1 -1
- 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 +4 -1
- package/modern/styles/rootShouldForwardProp.js +3 -0
- package/modern/styles/slotShouldForwardProp.js +5 -0
- package/modern/styles/styled.js +4 -3
- package/modern/usePagination/usePagination.js +1 -1
- package/node/Accordion/Accordion.js +32 -25
- package/node/AccordionActions/AccordionActions.js +16 -14
- package/node/AccordionDetails/AccordionDetails.js +4 -4
- package/node/AccordionSummary/AccordionSummary.js +33 -27
- package/node/Autocomplete/Autocomplete.js +129 -94
- package/node/CircularProgress/CircularProgress.js +1 -1
- package/node/Drawer/Drawer.js +9 -3
- package/node/Icon/Icon.js +1 -1
- 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 +416 -236
- package/node/SvgIcon/SvgIcon.js +1 -1
- 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 +4 -1
- package/node/styles/rootShouldForwardProp.js +10 -0
- package/node/styles/slotShouldForwardProp.js +11 -0
- package/node/styles/styled.js +17 -8
- package/node/usePagination/usePagination.js +1 -1
- package/package.json +6 -6
- package/styles/experimental_extendTheme.d.ts +1 -0
- package/styles/experimental_extendTheme.js +4 -1
- package/styles/rootShouldForwardProp.d.ts +2 -0
- package/styles/rootShouldForwardProp.js +3 -0
- package/styles/slotShouldForwardProp.d.ts +2 -0
- package/styles/slotShouldForwardProp.js +5 -0
- package/styles/styled.d.ts +2 -3
- package/styles/styled.js +4 -3
- package/umd/material-ui.development.js +1048 -738
- package/umd/material-ui.production.min.js +2 -2
- package/usePagination/usePagination.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.15.
|
|
2
|
+
* @mui/material v5.15.14
|
|
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$c(_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
|
}
|
|
@@ -8717,7 +8738,7 @@
|
|
|
8717
8738
|
// do nothing if mode does not change
|
|
8718
8739
|
return currentState;
|
|
8719
8740
|
}
|
|
8720
|
-
var newMode =
|
|
8741
|
+
var newMode = mode != null ? mode : defaultMode;
|
|
8721
8742
|
try {
|
|
8722
8743
|
localStorage.setItem(modeStorageKey, newMode);
|
|
8723
8744
|
} catch (e) {
|
|
@@ -8798,11 +8819,17 @@
|
|
|
8798
8819
|
});
|
|
8799
8820
|
}
|
|
8800
8821
|
}, [joinedColorSchemes, colorSchemeStorageKey, defaultLightColorScheme, defaultDarkColorScheme]);
|
|
8801
|
-
var handleMediaQuery = React__namespace.useCallback(function (
|
|
8822
|
+
var handleMediaQuery = React__namespace.useCallback(function (event) {
|
|
8802
8823
|
if (state.mode === 'system') {
|
|
8803
8824
|
setState(function (currentState) {
|
|
8825
|
+
var systemMode = event != null && event.matches ? 'dark' : 'light';
|
|
8826
|
+
|
|
8827
|
+
// Early exit, nothing changed.
|
|
8828
|
+
if (currentState.systemMode === systemMode) {
|
|
8829
|
+
return currentState;
|
|
8830
|
+
}
|
|
8804
8831
|
return _extends({}, currentState, {
|
|
8805
|
-
systemMode:
|
|
8832
|
+
systemMode: systemMode
|
|
8806
8833
|
});
|
|
8807
8834
|
});
|
|
8808
8835
|
}
|
|
@@ -8823,36 +8850,36 @@
|
|
|
8823
8850
|
media.addListener(handler);
|
|
8824
8851
|
handler(media);
|
|
8825
8852
|
return function () {
|
|
8826
|
-
|
|
8853
|
+
media.removeListener(handler);
|
|
8827
8854
|
};
|
|
8828
8855
|
}, []);
|
|
8829
8856
|
|
|
8830
8857
|
// Handle when localStorage has changed
|
|
8831
8858
|
React__namespace.useEffect(function () {
|
|
8832
|
-
|
|
8833
|
-
var
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8837
|
-
|
|
8838
|
-
|
|
8839
|
-
|
|
8859
|
+
if (storageWindow) {
|
|
8860
|
+
var handleStorage = function handleStorage(event) {
|
|
8861
|
+
var value = event.newValue;
|
|
8862
|
+
if (typeof event.key === 'string' && event.key.startsWith(colorSchemeStorageKey) && (!value || joinedColorSchemes.match(value))) {
|
|
8863
|
+
// If the key is deleted, value will be null then reset color scheme to the default one.
|
|
8864
|
+
if (event.key.endsWith('light')) {
|
|
8865
|
+
setColorScheme({
|
|
8866
|
+
light: value
|
|
8867
|
+
});
|
|
8868
|
+
}
|
|
8869
|
+
if (event.key.endsWith('dark')) {
|
|
8870
|
+
setColorScheme({
|
|
8871
|
+
dark: value
|
|
8872
|
+
});
|
|
8873
|
+
}
|
|
8840
8874
|
}
|
|
8841
|
-
if (event.key
|
|
8842
|
-
|
|
8843
|
-
dark: value
|
|
8844
|
-
});
|
|
8875
|
+
if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {
|
|
8876
|
+
setMode(value || defaultMode);
|
|
8845
8877
|
}
|
|
8846
|
-
}
|
|
8847
|
-
if (event.key === modeStorageKey && (!value || ['light', 'dark', 'system'].includes(value))) {
|
|
8848
|
-
setMode(value || defaultMode);
|
|
8849
|
-
}
|
|
8850
|
-
};
|
|
8851
|
-
if (storageWindow) {
|
|
8878
|
+
};
|
|
8852
8879
|
// For syncing color-scheme changes between iframes
|
|
8853
8880
|
storageWindow.addEventListener('storage', handleStorage);
|
|
8854
8881
|
return function () {
|
|
8855
|
-
|
|
8882
|
+
storageWindow.removeEventListener('storage', handleStorage);
|
|
8856
8883
|
};
|
|
8857
8884
|
}
|
|
8858
8885
|
return undefined;
|
|
@@ -8896,53 +8923,53 @@
|
|
|
8896
8923
|
}
|
|
8897
8924
|
return value;
|
|
8898
8925
|
};
|
|
8899
|
-
function CssVarsProvider(
|
|
8900
|
-
var children =
|
|
8901
|
-
|
|
8902
|
-
themeProp =
|
|
8903
|
-
|
|
8904
|
-
modeStorageKey =
|
|
8905
|
-
|
|
8906
|
-
colorSchemeStorageKey =
|
|
8907
|
-
|
|
8908
|
-
attribute =
|
|
8909
|
-
|
|
8910
|
-
defaultMode =
|
|
8911
|
-
|
|
8912
|
-
defaultColorScheme =
|
|
8913
|
-
|
|
8914
|
-
disableTransitionOnChange =
|
|
8915
|
-
|
|
8916
|
-
storageWindow =
|
|
8917
|
-
|
|
8918
|
-
documentNode =
|
|
8919
|
-
|
|
8920
|
-
colorSchemeNode =
|
|
8921
|
-
|
|
8922
|
-
colorSchemeSelector =
|
|
8923
|
-
|
|
8924
|
-
disableNestedContext =
|
|
8925
|
-
|
|
8926
|
-
disableStyleSheetGeneration =
|
|
8926
|
+
function CssVarsProvider(props) {
|
|
8927
|
+
var children = props.children,
|
|
8928
|
+
_props$theme = props.theme,
|
|
8929
|
+
themeProp = _props$theme === void 0 ? defaultTheme : _props$theme,
|
|
8930
|
+
_props$modeStorageKey = props.modeStorageKey,
|
|
8931
|
+
modeStorageKey = _props$modeStorageKey === void 0 ? defaultModeStorageKey : _props$modeStorageKey,
|
|
8932
|
+
_props$colorSchemeSto = props.colorSchemeStorageKey,
|
|
8933
|
+
colorSchemeStorageKey = _props$colorSchemeSto === void 0 ? defaultColorSchemeStorageKey : _props$colorSchemeSto,
|
|
8934
|
+
_props$attribute = props.attribute,
|
|
8935
|
+
attribute = _props$attribute === void 0 ? defaultAttribute : _props$attribute,
|
|
8936
|
+
_props$defaultMode = props.defaultMode,
|
|
8937
|
+
defaultMode = _props$defaultMode === void 0 ? designSystemMode : _props$defaultMode,
|
|
8938
|
+
_props$defaultColorSc = props.defaultColorScheme,
|
|
8939
|
+
defaultColorScheme = _props$defaultColorSc === void 0 ? designSystemColorScheme : _props$defaultColorSc,
|
|
8940
|
+
_props$disableTransit = props.disableTransitionOnChange,
|
|
8941
|
+
disableTransitionOnChange = _props$disableTransit === void 0 ? designSystemTransitionOnChange : _props$disableTransit,
|
|
8942
|
+
_props$storageWindow = props.storageWindow,
|
|
8943
|
+
storageWindow = _props$storageWindow === void 0 ? typeof window === 'undefined' ? undefined : window : _props$storageWindow,
|
|
8944
|
+
_props$documentNode = props.documentNode,
|
|
8945
|
+
documentNode = _props$documentNode === void 0 ? typeof document === 'undefined' ? undefined : document : _props$documentNode,
|
|
8946
|
+
_props$colorSchemeNod = props.colorSchemeNode,
|
|
8947
|
+
colorSchemeNode = _props$colorSchemeNod === void 0 ? typeof document === 'undefined' ? undefined : document.documentElement : _props$colorSchemeNod,
|
|
8948
|
+
_props$colorSchemeSel = props.colorSchemeSelector,
|
|
8949
|
+
colorSchemeSelector = _props$colorSchemeSel === void 0 ? ':root' : _props$colorSchemeSel,
|
|
8950
|
+
_props$disableNestedC = props.disableNestedContext,
|
|
8951
|
+
disableNestedContext = _props$disableNestedC === void 0 ? false : _props$disableNestedC,
|
|
8952
|
+
_props$disableStyleSh = props.disableStyleSheetGeneration,
|
|
8953
|
+
disableStyleSheetGeneration = _props$disableStyleSh === void 0 ? false : _props$disableStyleSh;
|
|
8927
8954
|
var hasMounted = React__namespace.useRef(false);
|
|
8928
8955
|
var upperTheme = useTheme$1();
|
|
8929
8956
|
var ctx = React__namespace.useContext(ColorSchemeContext);
|
|
8930
8957
|
var nested = !!ctx && !disableNestedContext;
|
|
8931
8958
|
var scopedTheme = themeProp[themeId];
|
|
8932
|
-
var
|
|
8933
|
-
|
|
8934
|
-
colorSchemes =
|
|
8935
|
-
|
|
8936
|
-
components =
|
|
8937
|
-
|
|
8938
|
-
generateCssVars =
|
|
8959
|
+
var _ref = scopedTheme || themeProp,
|
|
8960
|
+
_ref$colorSchemes = _ref.colorSchemes,
|
|
8961
|
+
colorSchemes = _ref$colorSchemes === void 0 ? {} : _ref$colorSchemes,
|
|
8962
|
+
_ref$components = _ref.components,
|
|
8963
|
+
components = _ref$components === void 0 ? {} : _ref$components,
|
|
8964
|
+
_ref$generateCssVars = _ref.generateCssVars,
|
|
8965
|
+
generateCssVars = _ref$generateCssVars === void 0 ? function () {
|
|
8939
8966
|
return {
|
|
8940
8967
|
vars: {},
|
|
8941
8968
|
css: {}
|
|
8942
8969
|
};
|
|
8943
|
-
} :
|
|
8944
|
-
cssVarPrefix =
|
|
8945
|
-
restThemeProp = _objectWithoutProperties(
|
|
8970
|
+
} : _ref$generateCssVars,
|
|
8971
|
+
cssVarPrefix = _ref.cssVarPrefix,
|
|
8972
|
+
restThemeProp = _objectWithoutProperties(_ref, ["colorSchemes", "components", "generateCssVars", "cssVarPrefix"]);
|
|
8946
8973
|
var allColorSchemes = Object.keys(colorSchemes);
|
|
8947
8974
|
var defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
8948
8975
|
var defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
|
|
@@ -9011,10 +9038,10 @@
|
|
|
9011
9038
|
// The other color schemes uses selector, default as data attribute, to increase the CSS specificity so that they can override the default color scheme stylesheet.
|
|
9012
9039
|
var defaultColorSchemeStyleSheet = {};
|
|
9013
9040
|
var otherColorSchemesStyleSheet = {};
|
|
9014
|
-
Object.entries(colorSchemes).forEach(function (
|
|
9015
|
-
var
|
|
9016
|
-
key =
|
|
9017
|
-
scheme =
|
|
9041
|
+
Object.entries(colorSchemes).forEach(function (_ref2) {
|
|
9042
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
9043
|
+
key = _ref3[0],
|
|
9044
|
+
scheme = _ref3[1];
|
|
9018
9045
|
var _generateCssVars2 = generateCssVars(key),
|
|
9019
9046
|
css = _generateCssVars2.css,
|
|
9020
9047
|
vars = _generateCssVars2.vars;
|
|
@@ -9096,14 +9123,14 @@
|
|
|
9096
9123
|
}, []);
|
|
9097
9124
|
var contextValue = React__namespace.useMemo(function () {
|
|
9098
9125
|
return {
|
|
9099
|
-
|
|
9100
|
-
systemMode: systemMode,
|
|
9101
|
-
setMode: setMode,
|
|
9102
|
-
lightColorScheme: lightColorScheme,
|
|
9103
|
-
darkColorScheme: darkColorScheme,
|
|
9126
|
+
allColorSchemes: allColorSchemes,
|
|
9104
9127
|
colorScheme: colorScheme,
|
|
9128
|
+
darkColorScheme: darkColorScheme,
|
|
9129
|
+
lightColorScheme: lightColorScheme,
|
|
9130
|
+
mode: mode,
|
|
9105
9131
|
setColorScheme: setColorScheme,
|
|
9106
|
-
|
|
9132
|
+
setMode: setMode,
|
|
9133
|
+
systemMode: systemMode
|
|
9107
9134
|
};
|
|
9108
9135
|
}, [allColorSchemes, colorScheme, darkColorScheme, lightColorScheme, mode, setColorScheme, setMode, systemMode]);
|
|
9109
9136
|
var shouldGenerateStyleSheet = true;
|
|
@@ -9455,7 +9482,7 @@
|
|
|
9455
9482
|
}
|
|
9456
9483
|
});
|
|
9457
9484
|
var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
|
|
9458
|
-
return useThemeProps$
|
|
9485
|
+
return useThemeProps$c({
|
|
9459
9486
|
props: inProps,
|
|
9460
9487
|
name: 'MuiContainer',
|
|
9461
9488
|
defaultTheme: defaultTheme$6
|
|
@@ -9843,7 +9870,7 @@
|
|
|
9843
9870
|
}
|
|
9844
9871
|
});
|
|
9845
9872
|
function useThemePropsDefault$1(props) {
|
|
9846
|
-
return useThemeProps$
|
|
9873
|
+
return useThemeProps$c({
|
|
9847
9874
|
props: props,
|
|
9848
9875
|
name: 'MuiGrid',
|
|
9849
9876
|
defaultTheme: defaultTheme$5
|
|
@@ -10010,7 +10037,7 @@
|
|
|
10010
10037
|
}
|
|
10011
10038
|
});
|
|
10012
10039
|
function useThemePropsDefault(props) {
|
|
10013
|
-
return useThemeProps$
|
|
10040
|
+
return useThemeProps$c({
|
|
10014
10041
|
props: props,
|
|
10015
10042
|
name: 'MuiStack',
|
|
10016
10043
|
defaultTheme: defaultTheme$4
|
|
@@ -11052,10 +11079,10 @@
|
|
|
11052
11079
|
return theme[THEME_ID] || theme;
|
|
11053
11080
|
}
|
|
11054
11081
|
|
|
11055
|
-
function useThemeProps$
|
|
11082
|
+
function useThemeProps$b(_ref) {
|
|
11056
11083
|
var props = _ref.props,
|
|
11057
11084
|
name = _ref.name;
|
|
11058
|
-
return useThemeProps$
|
|
11085
|
+
return useThemeProps$c({
|
|
11059
11086
|
props: props,
|
|
11060
11087
|
name: name,
|
|
11061
11088
|
defaultTheme: defaultTheme$3,
|
|
@@ -11063,14 +11090,20 @@
|
|
|
11063
11090
|
});
|
|
11064
11091
|
}
|
|
11065
11092
|
|
|
11093
|
+
// copied from @mui/system/createStyled
|
|
11094
|
+
function slotShouldForwardProp(prop) {
|
|
11095
|
+
return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';
|
|
11096
|
+
}
|
|
11097
|
+
|
|
11066
11098
|
var rootShouldForwardProp = function rootShouldForwardProp(prop) {
|
|
11067
|
-
return
|
|
11099
|
+
return slotShouldForwardProp(prop) && prop !== 'classes';
|
|
11068
11100
|
};
|
|
11069
|
-
var
|
|
11101
|
+
var rootShouldForwardProp$1 = rootShouldForwardProp;
|
|
11102
|
+
|
|
11070
11103
|
var styled = createStyled({
|
|
11071
11104
|
themeId: THEME_ID,
|
|
11072
11105
|
defaultTheme: defaultTheme$3,
|
|
11073
|
-
rootShouldForwardProp: rootShouldForwardProp
|
|
11106
|
+
rootShouldForwardProp: rootShouldForwardProp$1
|
|
11074
11107
|
});
|
|
11075
11108
|
var styled$1 = styled;
|
|
11076
11109
|
|
|
@@ -11154,7 +11187,7 @@
|
|
|
11154
11187
|
if (!("".concat(key, "Channel") in obj)) {
|
|
11155
11188
|
// custom channel token is not provided, generate one.
|
|
11156
11189
|
// if channel token can't be generated, show a warning.
|
|
11157
|
-
obj["".concat(key, "Channel")] = private_safeColorChannel(toRgb(obj[key]), "MUI: Can't create `palette.".concat(key, "Channel` because `palette.").concat(key, "` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().") + '\n' + "To suppress this warning, you need to explicitly provide the `palette.".concat(key, "Channel` as a string (in rgb format,
|
|
11190
|
+
obj["".concat(key, "Channel")] = private_safeColorChannel(toRgb(obj[key]), "MUI: Can't create `palette.".concat(key, "Channel` because `palette.").concat(key, "` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().") + '\n' + "To suppress this warning, you need to explicitly provide the `palette.".concat(key, "Channel` as a string (in rgb format, for example \"12 12 12\") or undefined if you want to remove the channel token."));
|
|
11158
11191
|
}
|
|
11159
11192
|
}
|
|
11160
11193
|
var silent = function silent(fn) {
|
|
@@ -11383,6 +11416,9 @@
|
|
|
11383
11416
|
|
|
11384
11417
|
// MUI X - DataGrid needs this token.
|
|
11385
11418
|
setColorChannel(palette.background, 'default');
|
|
11419
|
+
|
|
11420
|
+
// added for consistency with the `background.default` token
|
|
11421
|
+
setColorChannel(palette.background, 'paper');
|
|
11386
11422
|
setColorChannel(palette.common, 'background');
|
|
11387
11423
|
setColorChannel(palette.common, 'onBackground');
|
|
11388
11424
|
setColorChannel(palette, 'divider');
|
|
@@ -11525,7 +11561,7 @@
|
|
|
11525
11561
|
height: '1em',
|
|
11526
11562
|
display: 'inline-block',
|
|
11527
11563
|
// the <svg> will define the property that has `currentColor`
|
|
11528
|
-
//
|
|
11564
|
+
// for example heroicons uses fill="none" and stroke="currentColor"
|
|
11529
11565
|
fill: ownerState.hasSvgAsChild ? undefined : 'currentColor',
|
|
11530
11566
|
flexShrink: 0,
|
|
11531
11567
|
transition: (_theme$transitions = theme.transitions) == null || (_theme$transitions$cr = _theme$transitions.create) == null ? void 0 : _theme$transitions$cr.call(_theme$transitions, 'fill', {
|
|
@@ -11546,7 +11582,7 @@
|
|
|
11546
11582
|
};
|
|
11547
11583
|
});
|
|
11548
11584
|
var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
|
|
11549
|
-
var props = useThemeProps$
|
|
11585
|
+
var props = useThemeProps$b({
|
|
11550
11586
|
props: inProps,
|
|
11551
11587
|
name: 'MuiSvgIcon'
|
|
11552
11588
|
});
|
|
@@ -11703,6 +11739,11 @@
|
|
|
11703
11739
|
return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
|
|
11704
11740
|
}
|
|
11705
11741
|
|
|
11742
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11743
|
+
function createUseThemeProps(name) {
|
|
11744
|
+
return useThemeProps$b;
|
|
11745
|
+
}
|
|
11746
|
+
|
|
11706
11747
|
function _setPrototypeOf(o, p) {
|
|
11707
11748
|
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
|
|
11708
11749
|
o.__proto__ = p;
|
|
@@ -12790,7 +12831,7 @@
|
|
|
12790
12831
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
12791
12832
|
*/
|
|
12792
12833
|
var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
|
|
12793
|
-
var props = useThemeProps$
|
|
12834
|
+
var props = useThemeProps$b({
|
|
12794
12835
|
props: inProps,
|
|
12795
12836
|
name: 'MuiCollapse'
|
|
12796
12837
|
});
|
|
@@ -13120,7 +13161,7 @@
|
|
|
13120
13161
|
}));
|
|
13121
13162
|
});
|
|
13122
13163
|
var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
|
|
13123
|
-
var props = useThemeProps$
|
|
13164
|
+
var props = useThemeProps$b({
|
|
13124
13165
|
props: inProps,
|
|
13125
13166
|
name: 'MuiPaper'
|
|
13126
13167
|
});
|
|
@@ -13497,6 +13538,7 @@
|
|
|
13497
13538
|
var accordionClasses = generateUtilityClasses$1('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
|
|
13498
13539
|
var accordionClasses$1 = accordionClasses;
|
|
13499
13540
|
|
|
13541
|
+
var useThemeProps$a = createUseThemeProps();
|
|
13500
13542
|
var useUtilityClasses$1L = function useUtilityClasses(ownerState) {
|
|
13501
13543
|
var classes = ownerState.classes,
|
|
13502
13544
|
square = ownerState.square,
|
|
@@ -13561,29 +13603,40 @@
|
|
|
13561
13603
|
backgroundColor: (theme.vars || theme).palette.action.disabledBackground
|
|
13562
13604
|
});
|
|
13563
13605
|
}, function (_ref4) {
|
|
13564
|
-
var theme = _ref4.theme
|
|
13565
|
-
|
|
13566
|
-
|
|
13567
|
-
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
|
|
13571
|
-
|
|
13572
|
-
|
|
13573
|
-
|
|
13574
|
-
|
|
13575
|
-
|
|
13576
|
-
|
|
13577
|
-
|
|
13578
|
-
|
|
13606
|
+
var theme = _ref4.theme;
|
|
13607
|
+
return {
|
|
13608
|
+
variants: [{
|
|
13609
|
+
props: function props(_props) {
|
|
13610
|
+
return !_props.square;
|
|
13611
|
+
},
|
|
13612
|
+
style: {
|
|
13613
|
+
borderRadius: 0,
|
|
13614
|
+
'&:first-of-type': {
|
|
13615
|
+
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
13616
|
+
borderTopRightRadius: (theme.vars || theme).shape.borderRadius
|
|
13617
|
+
},
|
|
13618
|
+
'&:last-of-type': {
|
|
13619
|
+
borderBottomLeftRadius: (theme.vars || theme).shape.borderRadius,
|
|
13620
|
+
borderBottomRightRadius: (theme.vars || theme).shape.borderRadius,
|
|
13621
|
+
// Fix a rendering issue on Edge
|
|
13622
|
+
'@supports (-ms-ime-align: auto)': {
|
|
13623
|
+
borderBottomLeftRadius: 0,
|
|
13624
|
+
borderBottomRightRadius: 0
|
|
13625
|
+
}
|
|
13626
|
+
}
|
|
13579
13627
|
}
|
|
13580
|
-
}
|
|
13581
|
-
|
|
13582
|
-
|
|
13583
|
-
|
|
13628
|
+
}, {
|
|
13629
|
+
props: function props(_props2) {
|
|
13630
|
+
return !_props2.disableGutters;
|
|
13631
|
+
},
|
|
13632
|
+
style: _defineProperty({}, "&.".concat(accordionClasses$1.expanded), {
|
|
13633
|
+
margin: '16px 0'
|
|
13634
|
+
})
|
|
13635
|
+
}]
|
|
13636
|
+
};
|
|
13584
13637
|
});
|
|
13585
13638
|
var Accordion = /*#__PURE__*/React__namespace.forwardRef(function Accordion(inProps, ref) {
|
|
13586
|
-
var props = useThemeProps$
|
|
13639
|
+
var props = useThemeProps$a({
|
|
13587
13640
|
props: inProps,
|
|
13588
13641
|
name: 'MuiAccordion'
|
|
13589
13642
|
});
|
|
@@ -13777,6 +13830,7 @@
|
|
|
13777
13830
|
var accordionActionsClasses = generateUtilityClasses$1('MuiAccordionActions', ['root', 'spacing']);
|
|
13778
13831
|
var accordionActionsClasses$1 = accordionActionsClasses;
|
|
13779
13832
|
|
|
13833
|
+
var useThemeProps$9 = createUseThemeProps();
|
|
13780
13834
|
var useUtilityClasses$1K = function useUtilityClasses(ownerState) {
|
|
13781
13835
|
var classes = ownerState.classes,
|
|
13782
13836
|
disableSpacing = ownerState.disableSpacing;
|
|
@@ -13792,21 +13846,24 @@
|
|
|
13792
13846
|
var ownerState = props.ownerState;
|
|
13793
13847
|
return [styles.root, !ownerState.disableSpacing && styles.spacing];
|
|
13794
13848
|
}
|
|
13795
|
-
})(
|
|
13796
|
-
|
|
13797
|
-
|
|
13798
|
-
|
|
13799
|
-
|
|
13800
|
-
|
|
13801
|
-
|
|
13802
|
-
|
|
13803
|
-
|
|
13804
|
-
|
|
13849
|
+
})({
|
|
13850
|
+
display: 'flex',
|
|
13851
|
+
alignItems: 'center',
|
|
13852
|
+
padding: 8,
|
|
13853
|
+
justifyContent: 'flex-end',
|
|
13854
|
+
variants: [{
|
|
13855
|
+
props: function props(_props) {
|
|
13856
|
+
return !_props.disableSpacing;
|
|
13857
|
+
},
|
|
13858
|
+
style: {
|
|
13859
|
+
'& > :not(style) ~ :not(style)': {
|
|
13860
|
+
marginLeft: 8
|
|
13861
|
+
}
|
|
13805
13862
|
}
|
|
13806
|
-
}
|
|
13863
|
+
}]
|
|
13807
13864
|
});
|
|
13808
13865
|
var AccordionActions = /*#__PURE__*/React__namespace.forwardRef(function AccordionActions(inProps, ref) {
|
|
13809
|
-
var props = useThemeProps$
|
|
13866
|
+
var props = useThemeProps$9({
|
|
13810
13867
|
props: inProps,
|
|
13811
13868
|
name: 'MuiAccordionActions'
|
|
13812
13869
|
});
|
|
@@ -13859,6 +13916,7 @@
|
|
|
13859
13916
|
var accordionDetailsClasses = generateUtilityClasses$1('MuiAccordionDetails', ['root']);
|
|
13860
13917
|
var accordionDetailsClasses$1 = accordionDetailsClasses;
|
|
13861
13918
|
|
|
13919
|
+
var useThemeProps$8 = createUseThemeProps();
|
|
13862
13920
|
var useUtilityClasses$1J = function useUtilityClasses(ownerState) {
|
|
13863
13921
|
var classes = ownerState.classes;
|
|
13864
13922
|
var slots = {
|
|
@@ -13879,7 +13937,7 @@
|
|
|
13879
13937
|
};
|
|
13880
13938
|
});
|
|
13881
13939
|
var AccordionDetails = /*#__PURE__*/React__namespace.forwardRef(function AccordionDetails(inProps, ref) {
|
|
13882
|
-
var props = useThemeProps$
|
|
13940
|
+
var props = useThemeProps$8({
|
|
13883
13941
|
props: inProps,
|
|
13884
13942
|
name: 'MuiAccordionDetails'
|
|
13885
13943
|
});
|
|
@@ -14059,7 +14117,7 @@
|
|
|
14059
14117
|
* TODO v5: Make private
|
|
14060
14118
|
*/
|
|
14061
14119
|
var TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRipple(inProps, ref) {
|
|
14062
|
-
var props = useThemeProps$
|
|
14120
|
+
var props = useThemeProps$b({
|
|
14063
14121
|
props: inProps,
|
|
14064
14122
|
name: 'MuiTouchRipple'
|
|
14065
14123
|
});
|
|
@@ -14335,7 +14393,7 @@
|
|
|
14335
14393
|
* It contains a load of style reset and some focus/ripple logic.
|
|
14336
14394
|
*/
|
|
14337
14395
|
var ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(inProps, ref) {
|
|
14338
|
-
var props = useThemeProps$
|
|
14396
|
+
var props = useThemeProps$b({
|
|
14339
14397
|
props: inProps,
|
|
14340
14398
|
name: 'MuiButtonBase'
|
|
14341
14399
|
});
|
|
@@ -14746,6 +14804,7 @@
|
|
|
14746
14804
|
var accordionSummaryClasses = generateUtilityClasses$1('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
|
|
14747
14805
|
var accordionSummaryClasses$1 = accordionSummaryClasses;
|
|
14748
14806
|
|
|
14807
|
+
var useThemeProps$7 = createUseThemeProps();
|
|
14749
14808
|
var useUtilityClasses$1H = function useUtilityClasses(ownerState) {
|
|
14750
14809
|
var classes = ownerState.classes,
|
|
14751
14810
|
expanded = ownerState.expanded,
|
|
@@ -14766,12 +14825,11 @@
|
|
|
14766
14825
|
return styles.root;
|
|
14767
14826
|
}
|
|
14768
14827
|
})(function (_ref) {
|
|
14769
|
-
var theme = _ref.theme
|
|
14770
|
-
ownerState = _ref.ownerState;
|
|
14828
|
+
var theme = _ref.theme;
|
|
14771
14829
|
var transition = {
|
|
14772
14830
|
duration: theme.transitions.duration.shortest
|
|
14773
14831
|
};
|
|
14774
|
-
return
|
|
14832
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
14775
14833
|
display: 'flex',
|
|
14776
14834
|
minHeight: 48,
|
|
14777
14835
|
padding: theme.spacing(0, 2),
|
|
@@ -14782,9 +14840,14 @@
|
|
|
14782
14840
|
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
14783
14841
|
}), "&:hover:not(.".concat(accordionSummaryClasses$1.disabled, ")"), {
|
|
14784
14842
|
cursor: 'pointer'
|
|
14785
|
-
}),
|
|
14786
|
-
|
|
14787
|
-
|
|
14843
|
+
}), "variants", [{
|
|
14844
|
+
props: function props(_props) {
|
|
14845
|
+
return !_props.disableGutters;
|
|
14846
|
+
},
|
|
14847
|
+
style: _defineProperty({}, "&.".concat(accordionSummaryClasses$1.expanded), {
|
|
14848
|
+
minHeight: 64
|
|
14849
|
+
})
|
|
14850
|
+
}]);
|
|
14788
14851
|
});
|
|
14789
14852
|
var AccordionSummaryContent = styled$1('div', {
|
|
14790
14853
|
name: 'MuiAccordionSummary',
|
|
@@ -14793,19 +14856,24 @@
|
|
|
14793
14856
|
return styles.content;
|
|
14794
14857
|
}
|
|
14795
14858
|
})(function (_ref3) {
|
|
14796
|
-
var theme = _ref3.theme
|
|
14797
|
-
|
|
14798
|
-
return _extends({
|
|
14859
|
+
var theme = _ref3.theme;
|
|
14860
|
+
return {
|
|
14799
14861
|
display: 'flex',
|
|
14800
14862
|
flexGrow: 1,
|
|
14801
|
-
margin: '12px 0'
|
|
14802
|
-
|
|
14803
|
-
|
|
14804
|
-
|
|
14805
|
-
|
|
14806
|
-
|
|
14807
|
-
|
|
14808
|
-
|
|
14863
|
+
margin: '12px 0',
|
|
14864
|
+
variants: [{
|
|
14865
|
+
props: function props(_props2) {
|
|
14866
|
+
return !_props2.disableGutters;
|
|
14867
|
+
},
|
|
14868
|
+
style: _defineProperty({
|
|
14869
|
+
transition: theme.transitions.create(['margin'], {
|
|
14870
|
+
duration: theme.transitions.duration.shortest
|
|
14871
|
+
})
|
|
14872
|
+
}, "&.".concat(accordionSummaryClasses$1.expanded), {
|
|
14873
|
+
margin: '20px 0'
|
|
14874
|
+
})
|
|
14875
|
+
}]
|
|
14876
|
+
};
|
|
14809
14877
|
});
|
|
14810
14878
|
var AccordionSummaryExpandIconWrapper = styled$1('div', {
|
|
14811
14879
|
name: 'MuiAccordionSummary',
|
|
@@ -14813,8 +14881,8 @@
|
|
|
14813
14881
|
overridesResolver: function overridesResolver(props, styles) {
|
|
14814
14882
|
return styles.expandIconWrapper;
|
|
14815
14883
|
}
|
|
14816
|
-
})(function (
|
|
14817
|
-
var theme =
|
|
14884
|
+
})(function (_ref4) {
|
|
14885
|
+
var theme = _ref4.theme;
|
|
14818
14886
|
return _defineProperty({
|
|
14819
14887
|
display: 'flex',
|
|
14820
14888
|
color: (theme.vars || theme).palette.action.active,
|
|
@@ -14827,7 +14895,7 @@
|
|
|
14827
14895
|
});
|
|
14828
14896
|
});
|
|
14829
14897
|
var AccordionSummary = /*#__PURE__*/React__namespace.forwardRef(function AccordionSummary(inProps, ref) {
|
|
14830
|
-
var props = useThemeProps$
|
|
14898
|
+
var props = useThemeProps$7({
|
|
14831
14899
|
props: inProps,
|
|
14832
14900
|
name: 'MuiAccordionSummary'
|
|
14833
14901
|
});
|
|
@@ -14921,11 +14989,6 @@
|
|
|
14921
14989
|
} ;
|
|
14922
14990
|
var AccordionSummary$1 = AccordionSummary;
|
|
14923
14991
|
|
|
14924
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
14925
|
-
function createUseThemeProps(name) {
|
|
14926
|
-
return useThemeProps$4;
|
|
14927
|
-
}
|
|
14928
|
-
|
|
14929
14992
|
function getAlertUtilityClass(slot) {
|
|
14930
14993
|
return generateUtilityClass$1('MuiAlert', slot);
|
|
14931
14994
|
}
|
|
@@ -15019,7 +15082,7 @@
|
|
|
15019
15082
|
* regarding the available icon options.
|
|
15020
15083
|
*/
|
|
15021
15084
|
var IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(inProps, ref) {
|
|
15022
|
-
var props = useThemeProps$
|
|
15085
|
+
var props = useThemeProps$b({
|
|
15023
15086
|
props: inProps,
|
|
15024
15087
|
name: 'MuiIconButton'
|
|
15025
15088
|
});
|
|
@@ -15146,7 +15209,7 @@
|
|
|
15146
15209
|
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
15210
|
}), 'Close');
|
|
15148
15211
|
|
|
15149
|
-
var useThemeProps$
|
|
15212
|
+
var useThemeProps$6 = createUseThemeProps();
|
|
15150
15213
|
var useUtilityClasses$1F = function useUtilityClasses(ownerState) {
|
|
15151
15214
|
var variant = ownerState.variant,
|
|
15152
15215
|
color = ownerState.color,
|
|
@@ -15294,7 +15357,7 @@
|
|
|
15294
15357
|
})
|
|
15295
15358
|
};
|
|
15296
15359
|
var Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
|
|
15297
|
-
var props = useThemeProps$
|
|
15360
|
+
var props = useThemeProps$6({
|
|
15298
15361
|
props: inProps,
|
|
15299
15362
|
name: 'MuiAlert'
|
|
15300
15363
|
});
|
|
@@ -15579,7 +15642,7 @@
|
|
|
15579
15642
|
return colorTransformations$1[color] || color;
|
|
15580
15643
|
};
|
|
15581
15644
|
var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
|
|
15582
|
-
var themeProps = useThemeProps$
|
|
15645
|
+
var themeProps = useThemeProps$b({
|
|
15583
15646
|
props: inProps,
|
|
15584
15647
|
name: 'MuiTypography'
|
|
15585
15648
|
});
|
|
@@ -15705,7 +15768,7 @@
|
|
|
15705
15768
|
var alertTitleClasses = generateUtilityClasses$1('MuiAlertTitle', ['root']);
|
|
15706
15769
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
15707
15770
|
|
|
15708
|
-
var useThemeProps$
|
|
15771
|
+
var useThemeProps$5 = createUseThemeProps();
|
|
15709
15772
|
var useUtilityClasses$1D = function useUtilityClasses(ownerState) {
|
|
15710
15773
|
var classes = ownerState.classes;
|
|
15711
15774
|
var slots = {
|
|
@@ -15727,7 +15790,7 @@
|
|
|
15727
15790
|
};
|
|
15728
15791
|
});
|
|
15729
15792
|
var AlertTitle = /*#__PURE__*/React__namespace.forwardRef(function AlertTitle(inProps, ref) {
|
|
15730
|
-
var props = useThemeProps$
|
|
15793
|
+
var props = useThemeProps$5({
|
|
15731
15794
|
props: inProps,
|
|
15732
15795
|
name: 'MuiAlertTitle'
|
|
15733
15796
|
});
|
|
@@ -15865,7 +15928,7 @@
|
|
|
15865
15928
|
}));
|
|
15866
15929
|
});
|
|
15867
15930
|
var AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
15868
|
-
var props = useThemeProps$
|
|
15931
|
+
var props = useThemeProps$b({
|
|
15869
15932
|
props: inProps,
|
|
15870
15933
|
name: 'MuiAppBar'
|
|
15871
15934
|
});
|
|
@@ -16398,7 +16461,7 @@
|
|
|
16398
16461
|
doc.addEventListener('keydown', loopFocus, true);
|
|
16399
16462
|
|
|
16400
16463
|
// With Edge, Safari and Firefox, no focus related events are fired when the focused area stops being a focused area.
|
|
16401
|
-
//
|
|
16464
|
+
// for example https://bugzilla.mozilla.org/show_bug.cgi?id=559561.
|
|
16402
16465
|
// Instead, we can look if the active element was restored on the BODY element.
|
|
16403
16466
|
//
|
|
16404
16467
|
// The whatwg spec defines how the browser should behave but does not explicitly mention any events:
|
|
@@ -20238,7 +20301,8 @@
|
|
|
20238
20301
|
ref: handleRef
|
|
20239
20302
|
// Apply the rows prop to get a "correct" first SSR paint
|
|
20240
20303
|
,
|
|
20241
|
-
rows: minRows
|
|
20304
|
+
rows: minRows,
|
|
20305
|
+
style: style
|
|
20242
20306
|
}, other)), /*#__PURE__*/jsxRuntime_1("textarea", {
|
|
20243
20307
|
"aria-hidden": true,
|
|
20244
20308
|
className: props.className,
|
|
@@ -20716,7 +20780,7 @@
|
|
|
20716
20780
|
}
|
|
20717
20781
|
}
|
|
20718
20782
|
});
|
|
20719
|
-
var
|
|
20783
|
+
var getPreviousHighlightedOptionIndex = function getPreviousHighlightedOptionIndex() {
|
|
20720
20784
|
var isSameValue = function isSameValue(value1, value2) {
|
|
20721
20785
|
var label1 = value1 ? getOptionLabel(value1) : '';
|
|
20722
20786
|
var label2 = value2 ? getOptionLabel(value2) : '';
|
|
@@ -20727,15 +20791,12 @@
|
|
|
20727
20791
|
}) : isSameValue(previousProps.value, value))) {
|
|
20728
20792
|
var previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
|
|
20729
20793
|
if (previousHighlightedOption) {
|
|
20730
|
-
|
|
20794
|
+
return findIndex(filteredOptions, function (option) {
|
|
20731
20795
|
return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);
|
|
20732
20796
|
});
|
|
20733
|
-
if (previousHighlightedOptionExists) {
|
|
20734
|
-
return true;
|
|
20735
|
-
}
|
|
20736
20797
|
}
|
|
20737
20798
|
}
|
|
20738
|
-
return
|
|
20799
|
+
return -1;
|
|
20739
20800
|
};
|
|
20740
20801
|
var syncHighlightedIndex = React__namespace.useCallback(function () {
|
|
20741
20802
|
if (!popupOpen) {
|
|
@@ -20743,8 +20804,10 @@
|
|
|
20743
20804
|
}
|
|
20744
20805
|
|
|
20745
20806
|
// 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
|
-
|
|
20807
|
+
// If it exists and the value and the inputValue haven't changed, just update its index, otherwise continue execution
|
|
20808
|
+
var previousHighlightedOptionIndex = getPreviousHighlightedOptionIndex();
|
|
20809
|
+
if (previousHighlightedOptionIndex !== -1) {
|
|
20810
|
+
highlightedIndexRef.current = previousHighlightedOptionIndex;
|
|
20748
20811
|
return;
|
|
20749
20812
|
}
|
|
20750
20813
|
var valueItem = multiple ? value[0] : value;
|
|
@@ -20817,7 +20880,7 @@
|
|
|
20817
20880
|
React__namespace.useEffect(function () {
|
|
20818
20881
|
if (!inputRef.current || inputRef.current.nodeName !== 'INPUT') {
|
|
20819
20882
|
if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {
|
|
20820
|
-
console.warn(["A textarea element was provided to ".concat(componentName, " where input was expected."), "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (
|
|
20883
|
+
console.warn(["A textarea element was provided to ".concat(componentName, " where input was expected."), "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join('\n'));
|
|
20821
20884
|
} else {
|
|
20822
20885
|
console.error(["MUI: Unable to find the input element. It was resolved to ".concat(inputRef.current, " while an HTMLInputElement was expected."), "Instead, ".concat(componentName, " expects an input element."), '', componentName === 'useAutocomplete' ? 'Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed.' : 'Make sure you have customized the input component correctly.'].join('\n'));
|
|
20823
20886
|
}
|
|
@@ -21382,7 +21445,7 @@
|
|
|
21382
21445
|
var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
21383
21446
|
var _slots$root;
|
|
21384
21447
|
var theme = useTheme$3();
|
|
21385
|
-
var props = useThemeProps$
|
|
21448
|
+
var props = useThemeProps$b({
|
|
21386
21449
|
props: inProps,
|
|
21387
21450
|
name: 'MuiPopper'
|
|
21388
21451
|
});
|
|
@@ -21607,7 +21670,7 @@
|
|
|
21607
21670
|
});
|
|
21608
21671
|
});
|
|
21609
21672
|
var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
|
|
21610
|
-
var props = useThemeProps$
|
|
21673
|
+
var props = useThemeProps$b({
|
|
21611
21674
|
props: inProps,
|
|
21612
21675
|
name: 'MuiListSubheader'
|
|
21613
21676
|
});
|
|
@@ -21906,7 +21969,7 @@
|
|
|
21906
21969
|
* Chips represent complex entities in small blocks, such as a contact.
|
|
21907
21970
|
*/
|
|
21908
21971
|
var Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref) {
|
|
21909
|
-
var props = useThemeProps$
|
|
21972
|
+
var props = useThemeProps$b({
|
|
21910
21973
|
props: inProps,
|
|
21911
21974
|
name: 'MuiChip'
|
|
21912
21975
|
});
|
|
@@ -22394,7 +22457,7 @@
|
|
|
22394
22457
|
*/
|
|
22395
22458
|
var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
|
|
22396
22459
|
var _slotProps$input;
|
|
22397
|
-
var props = useThemeProps$
|
|
22460
|
+
var props = useThemeProps$b({
|
|
22398
22461
|
props: inProps,
|
|
22399
22462
|
name: 'MuiInputBase'
|
|
22400
22463
|
});
|
|
@@ -22933,7 +22996,8 @@
|
|
|
22933
22996
|
var autocompleteClasses = generateUtilityClasses$1('MuiAutocomplete', ['root', 'expanded', 'fullWidth', 'focused', 'focusVisible', 'tag', 'tagSizeSmall', 'tagSizeMedium', 'hasPopupIcon', 'hasClearIcon', 'inputRoot', 'input', 'inputFocused', 'endAdornment', 'clearIndicator', 'popupIndicator', 'popupIndicatorOpen', 'popper', 'popperDisablePortal', 'paper', 'listbox', 'loading', 'noOptions', 'option', 'groupLabel', 'groupUl']);
|
|
22934
22997
|
var autocompleteClasses$1 = autocompleteClasses;
|
|
22935
22998
|
|
|
22936
|
-
var _ClearIcon, _ArrowDropDownIcon;
|
|
22999
|
+
var _styled, _ClearIcon, _ArrowDropDownIcon;
|
|
23000
|
+
var useThemeProps$4 = createUseThemeProps();
|
|
22937
23001
|
var useUtilityClasses$1x = function useUtilityClasses(ownerState) {
|
|
22938
23002
|
var classes = ownerState.classes,
|
|
22939
23003
|
disablePortal = ownerState.disablePortal,
|
|
@@ -22976,89 +23040,100 @@
|
|
|
22976
23040
|
size = ownerState.size;
|
|
22977
23041
|
return [_defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles.tag), _defineProperty({}, "& .".concat(autocompleteClasses$1.tag), styles["tagSize".concat(capitalize(size))]), _defineProperty({}, "& .".concat(autocompleteClasses$1.inputRoot), styles.inputRoot), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), styles.input), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), inputFocused && styles.inputFocused), styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];
|
|
22978
23042
|
}
|
|
22979
|
-
})(
|
|
22980
|
-
|
|
22981
|
-
|
|
22982
|
-
|
|
22983
|
-
|
|
22984
|
-
|
|
22985
|
-
|
|
22986
|
-
|
|
23043
|
+
})((_styled = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "&.".concat(autocompleteClasses$1.focused, " .").concat(autocompleteClasses$1.clearIndicator), {
|
|
23044
|
+
visibility: 'visible'
|
|
23045
|
+
}), '@media (pointer: fine)', _defineProperty({}, "&:hover .".concat(autocompleteClasses$1.clearIndicator), {
|
|
23046
|
+
visibility: 'visible'
|
|
23047
|
+
})), "& .".concat(autocompleteClasses$1.tag), {
|
|
23048
|
+
margin: 3,
|
|
23049
|
+
maxWidth: 'calc(100% - 6px)'
|
|
23050
|
+
}), "& .".concat(autocompleteClasses$1.inputRoot), _defineProperty(_defineProperty(_defineProperty({
|
|
23051
|
+
flexWrap: 'wrap'
|
|
23052
|
+
}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23053
|
+
paddingRight: 26 + 4
|
|
23054
|
+
}), ".".concat(autocompleteClasses$1.hasPopupIcon, ".").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23055
|
+
paddingRight: 52 + 4
|
|
23056
|
+
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23057
|
+
width: 0,
|
|
23058
|
+
minWidth: 30
|
|
23059
|
+
})), "& .".concat(inputClasses$1.root), {
|
|
23060
|
+
paddingBottom: 1,
|
|
23061
|
+
'& .MuiInput-input': {
|
|
23062
|
+
padding: '4px 4px 4px 0px'
|
|
23063
|
+
}
|
|
23064
|
+
}), "& .".concat(inputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({}, "& .".concat(inputClasses$1.input), {
|
|
23065
|
+
padding: '2px 4px 3px 0'
|
|
23066
|
+
})), "& .".concat(outlinedInputClasses$1.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
23067
|
+
padding: 9
|
|
23068
|
+
}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23069
|
+
paddingRight: 26 + 4 + 9
|
|
23070
|
+
}), ".".concat(autocompleteClasses$1.hasPopupIcon, ".").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23071
|
+
paddingRight: 52 + 4 + 9
|
|
23072
|
+
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23073
|
+
padding: '7.5px 4px 7.5px 5px'
|
|
23074
|
+
}), "& .".concat(autocompleteClasses$1.endAdornment), {
|
|
23075
|
+
right: 9
|
|
23076
|
+
})), "& .".concat(outlinedInputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({
|
|
23077
|
+
// Don't specify paddingRight, as it overrides the default value set when there is only
|
|
23078
|
+
// one of the popup or clear icon as the specificity is equal so the latter one wins
|
|
23079
|
+
paddingTop: 6,
|
|
23080
|
+
paddingBottom: 6,
|
|
23081
|
+
paddingLeft: 6
|
|
23082
|
+
}, "& .".concat(autocompleteClasses$1.input), {
|
|
23083
|
+
padding: '2.5px 4px 2.5px 8px'
|
|
23084
|
+
})), "& .".concat(filledInputClasses$1.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
23085
|
+
paddingTop: 19,
|
|
23086
|
+
paddingLeft: 8
|
|
23087
|
+
}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23088
|
+
paddingRight: 26 + 4 + 9
|
|
23089
|
+
}), ".".concat(autocompleteClasses$1.hasPopupIcon, ".").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23090
|
+
paddingRight: 52 + 4 + 9
|
|
23091
|
+
}), "& .".concat(filledInputClasses$1.input), {
|
|
23092
|
+
padding: '7px 4px'
|
|
23093
|
+
}), "& .".concat(autocompleteClasses$1.endAdornment), {
|
|
23094
|
+
right: 9
|
|
23095
|
+
})), "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({
|
|
23096
|
+
paddingBottom: 1
|
|
23097
|
+
}, "& .".concat(filledInputClasses$1.input), {
|
|
23098
|
+
padding: '2.5px 4px'
|
|
23099
|
+
})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_styled, "& .".concat(inputBaseClasses$1.hiddenLabel), {
|
|
23100
|
+
paddingTop: 8
|
|
23101
|
+
}), "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.hiddenLabel), _defineProperty({
|
|
23102
|
+
paddingTop: 0,
|
|
23103
|
+
paddingBottom: 0
|
|
23104
|
+
}, "& .".concat(autocompleteClasses$1.input), {
|
|
23105
|
+
paddingTop: 16,
|
|
23106
|
+
paddingBottom: 17
|
|
23107
|
+
})), "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.hiddenLabel, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), {
|
|
23108
|
+
paddingTop: 8,
|
|
23109
|
+
paddingBottom: 9
|
|
23110
|
+
})), "& .".concat(autocompleteClasses$1.input), {
|
|
23111
|
+
flexGrow: 1,
|
|
23112
|
+
textOverflow: 'ellipsis',
|
|
23113
|
+
opacity: 0
|
|
23114
|
+
}), "variants", [{
|
|
23115
|
+
props: {
|
|
23116
|
+
fullWidth: true
|
|
23117
|
+
},
|
|
23118
|
+
style: {
|
|
22987
23119
|
width: '100%'
|
|
22988
|
-
}
|
|
22989
|
-
|
|
22990
|
-
|
|
22991
|
-
|
|
23120
|
+
}
|
|
23121
|
+
}, {
|
|
23122
|
+
props: {
|
|
23123
|
+
size: 'small'
|
|
23124
|
+
},
|
|
23125
|
+
style: _defineProperty({}, "& .".concat(autocompleteClasses$1.tag), {
|
|
22992
23126
|
margin: 2,
|
|
22993
23127
|
maxWidth: 'calc(100% - 4px)'
|
|
22994
|
-
})
|
|
22995
|
-
|
|
22996
|
-
|
|
22997
|
-
|
|
22998
|
-
}
|
|
22999
|
-
|
|
23000
|
-
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23001
|
-
width: 0,
|
|
23002
|
-
minWidth: 30
|
|
23003
|
-
})), "& .".concat(inputClasses$1.root), {
|
|
23004
|
-
paddingBottom: 1,
|
|
23005
|
-
'& .MuiInput-input': {
|
|
23006
|
-
padding: '4px 4px 4px 0px'
|
|
23007
|
-
}
|
|
23008
|
-
}), "& .".concat(inputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({}, "& .".concat(inputClasses$1.input), {
|
|
23009
|
-
padding: '2px 4px 3px 0'
|
|
23010
|
-
})), "& .".concat(outlinedInputClasses$1.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
23011
|
-
padding: 9
|
|
23012
|
-
}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23013
|
-
paddingRight: 26 + 4 + 9
|
|
23014
|
-
}), ".".concat(autocompleteClasses$1.hasPopupIcon, ".").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23015
|
-
paddingRight: 52 + 4 + 9
|
|
23016
|
-
}), "& .".concat(autocompleteClasses$1.input), {
|
|
23017
|
-
padding: '7.5px 4px 7.5px 5px'
|
|
23018
|
-
}), "& .".concat(autocompleteClasses$1.endAdornment), {
|
|
23019
|
-
right: 9
|
|
23020
|
-
})), "& .".concat(outlinedInputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({
|
|
23021
|
-
// Don't specify paddingRight, as it overrides the default value set when there is only
|
|
23022
|
-
// one of the popup or clear icon as the specificity is equal so the latter one wins
|
|
23023
|
-
paddingTop: 6,
|
|
23024
|
-
paddingBottom: 6,
|
|
23025
|
-
paddingLeft: 6
|
|
23026
|
-
}, "& .".concat(autocompleteClasses$1.input), {
|
|
23027
|
-
padding: '2.5px 4px 2.5px 8px'
|
|
23028
|
-
})), "& .".concat(filledInputClasses$1.root), _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
23029
|
-
paddingTop: 19,
|
|
23030
|
-
paddingLeft: 8
|
|
23031
|
-
}, ".".concat(autocompleteClasses$1.hasPopupIcon, "&, .").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23032
|
-
paddingRight: 26 + 4 + 9
|
|
23033
|
-
}), ".".concat(autocompleteClasses$1.hasPopupIcon, ".").concat(autocompleteClasses$1.hasClearIcon, "&"), {
|
|
23034
|
-
paddingRight: 52 + 4 + 9
|
|
23035
|
-
}), "& .".concat(filledInputClasses$1.input), {
|
|
23036
|
-
padding: '7px 4px'
|
|
23037
|
-
}), "& .".concat(autocompleteClasses$1.endAdornment), {
|
|
23038
|
-
right: 9
|
|
23039
|
-
})), "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({
|
|
23040
|
-
paddingBottom: 1
|
|
23041
|
-
}, "& .".concat(filledInputClasses$1.input), {
|
|
23042
|
-
padding: '2.5px 4px'
|
|
23043
|
-
})), "& .".concat(inputBaseClasses$1.hiddenLabel), {
|
|
23044
|
-
paddingTop: 8
|
|
23045
|
-
}), "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.hiddenLabel), _defineProperty({
|
|
23046
|
-
paddingTop: 0,
|
|
23047
|
-
paddingBottom: 0
|
|
23048
|
-
}, "& .".concat(autocompleteClasses$1.input), {
|
|
23049
|
-
paddingTop: 16,
|
|
23050
|
-
paddingBottom: 17
|
|
23051
|
-
})), _defineProperty(_defineProperty(_extends3, "& .".concat(filledInputClasses$1.root, ".").concat(inputBaseClasses$1.hiddenLabel, ".").concat(inputBaseClasses$1.sizeSmall), _defineProperty({}, "& .".concat(autocompleteClasses$1.input), {
|
|
23052
|
-
paddingTop: 8,
|
|
23053
|
-
paddingBottom: 9
|
|
23054
|
-
})), "& .".concat(autocompleteClasses$1.input), _extends({
|
|
23055
|
-
flexGrow: 1,
|
|
23056
|
-
textOverflow: 'ellipsis',
|
|
23057
|
-
opacity: 0
|
|
23058
|
-
}, ownerState.inputFocused && {
|
|
23128
|
+
})
|
|
23129
|
+
}, {
|
|
23130
|
+
props: {
|
|
23131
|
+
inputFocused: true
|
|
23132
|
+
},
|
|
23133
|
+
style: _defineProperty({}, "& .".concat(autocompleteClasses$1.input), {
|
|
23059
23134
|
opacity: 1
|
|
23060
|
-
})
|
|
23061
|
-
});
|
|
23135
|
+
})
|
|
23136
|
+
}])));
|
|
23062
23137
|
var AutocompleteEndAdornment = styled$1('div', {
|
|
23063
23138
|
name: 'MuiAutocomplete',
|
|
23064
23139
|
slot: 'EndAdornment',
|
|
@@ -23086,18 +23161,21 @@
|
|
|
23086
23161
|
var AutocompletePopupIndicator = styled$1(IconButton$1, {
|
|
23087
23162
|
name: 'MuiAutocomplete',
|
|
23088
23163
|
slot: 'PopupIndicator',
|
|
23089
|
-
overridesResolver: function overridesResolver(
|
|
23090
|
-
var ownerState =
|
|
23164
|
+
overridesResolver: function overridesResolver(_ref6, styles) {
|
|
23165
|
+
var ownerState = _ref6.ownerState;
|
|
23091
23166
|
return _extends({}, styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen);
|
|
23092
23167
|
}
|
|
23093
|
-
})(
|
|
23094
|
-
|
|
23095
|
-
|
|
23096
|
-
|
|
23097
|
-
|
|
23098
|
-
|
|
23099
|
-
|
|
23100
|
-
|
|
23168
|
+
})({
|
|
23169
|
+
padding: 2,
|
|
23170
|
+
marginRight: -2,
|
|
23171
|
+
variants: [{
|
|
23172
|
+
props: {
|
|
23173
|
+
popupOpen: true
|
|
23174
|
+
},
|
|
23175
|
+
style: {
|
|
23176
|
+
transform: 'rotate(180deg)'
|
|
23177
|
+
}
|
|
23178
|
+
}]
|
|
23101
23179
|
});
|
|
23102
23180
|
var AutocompletePopper = styled$1(Popper$1, {
|
|
23103
23181
|
name: 'MuiAutocomplete',
|
|
@@ -23106,14 +23184,19 @@
|
|
|
23106
23184
|
var ownerState = props.ownerState;
|
|
23107
23185
|
return [_defineProperty({}, "& .".concat(autocompleteClasses$1.option), styles.option), styles.popper, ownerState.disablePortal && styles.popperDisablePortal];
|
|
23108
23186
|
}
|
|
23109
|
-
})(function (
|
|
23110
|
-
var theme =
|
|
23111
|
-
|
|
23112
|
-
|
|
23113
|
-
|
|
23114
|
-
|
|
23115
|
-
|
|
23116
|
-
|
|
23187
|
+
})(function (_ref8) {
|
|
23188
|
+
var theme = _ref8.theme;
|
|
23189
|
+
return {
|
|
23190
|
+
zIndex: (theme.vars || theme).zIndex.modal,
|
|
23191
|
+
variants: [{
|
|
23192
|
+
props: {
|
|
23193
|
+
disablePortal: true
|
|
23194
|
+
},
|
|
23195
|
+
style: {
|
|
23196
|
+
position: 'absolute'
|
|
23197
|
+
}
|
|
23198
|
+
}]
|
|
23199
|
+
};
|
|
23117
23200
|
});
|
|
23118
23201
|
var AutocompletePaper = styled$1(Paper$1, {
|
|
23119
23202
|
name: 'MuiAutocomplete',
|
|
@@ -23121,8 +23204,8 @@
|
|
|
23121
23204
|
overridesResolver: function overridesResolver(props, styles) {
|
|
23122
23205
|
return styles.paper;
|
|
23123
23206
|
}
|
|
23124
|
-
})(function (
|
|
23125
|
-
var theme =
|
|
23207
|
+
})(function (_ref9) {
|
|
23208
|
+
var theme = _ref9.theme;
|
|
23126
23209
|
return _extends({}, theme.typography.body1, {
|
|
23127
23210
|
overflow: 'auto'
|
|
23128
23211
|
});
|
|
@@ -23133,8 +23216,8 @@
|
|
|
23133
23216
|
overridesResolver: function overridesResolver(props, styles) {
|
|
23134
23217
|
return styles.loading;
|
|
23135
23218
|
}
|
|
23136
|
-
})(function (
|
|
23137
|
-
var theme =
|
|
23219
|
+
})(function (_ref10) {
|
|
23220
|
+
var theme = _ref10.theme;
|
|
23138
23221
|
return {
|
|
23139
23222
|
color: (theme.vars || theme).palette.text.secondary,
|
|
23140
23223
|
padding: '14px 16px'
|
|
@@ -23146,8 +23229,8 @@
|
|
|
23146
23229
|
overridesResolver: function overridesResolver(props, styles) {
|
|
23147
23230
|
return styles.noOptions;
|
|
23148
23231
|
}
|
|
23149
|
-
})(function (
|
|
23150
|
-
var theme =
|
|
23232
|
+
})(function (_ref11) {
|
|
23233
|
+
var theme = _ref11.theme;
|
|
23151
23234
|
return {
|
|
23152
23235
|
color: (theme.vars || theme).palette.text.secondary,
|
|
23153
23236
|
padding: '14px 16px'
|
|
@@ -23159,8 +23242,8 @@
|
|
|
23159
23242
|
overridesResolver: function overridesResolver(props, styles) {
|
|
23160
23243
|
return styles.listbox;
|
|
23161
23244
|
}
|
|
23162
|
-
})(function (
|
|
23163
|
-
var theme =
|
|
23245
|
+
})(function (_ref12) {
|
|
23246
|
+
var theme = _ref12.theme;
|
|
23164
23247
|
return _defineProperty({
|
|
23165
23248
|
listStyle: 'none',
|
|
23166
23249
|
margin: 0,
|
|
@@ -23213,8 +23296,8 @@
|
|
|
23213
23296
|
overridesResolver: function overridesResolver(props, styles) {
|
|
23214
23297
|
return styles.groupLabel;
|
|
23215
23298
|
}
|
|
23216
|
-
})(function (
|
|
23217
|
-
var theme =
|
|
23299
|
+
})(function (_ref14) {
|
|
23300
|
+
var theme = _ref14.theme;
|
|
23218
23301
|
return {
|
|
23219
23302
|
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
23220
23303
|
top: -8
|
|
@@ -23361,8 +23444,8 @@
|
|
|
23361
23444
|
var hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;
|
|
23362
23445
|
var _getInputProps = getInputProps(),
|
|
23363
23446
|
handleInputMouseDown = _getInputProps.onMouseDown;
|
|
23364
|
-
var
|
|
23365
|
-
externalListboxRef =
|
|
23447
|
+
var _ref15 = ListboxProps != null ? ListboxProps : {},
|
|
23448
|
+
externalListboxRef = _ref15.ref;
|
|
23366
23449
|
var _getListboxProps = getListboxProps(),
|
|
23367
23450
|
listboxRef = _getListboxProps.ref,
|
|
23368
23451
|
otherListboxProps = _objectWithoutProperties(_getListboxProps, ["ref"]);
|
|
@@ -23457,6 +23540,67 @@
|
|
|
23457
23540
|
var paperSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : componentsProps.paper;
|
|
23458
23541
|
var popperSlotProps = (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper;
|
|
23459
23542
|
var popupIndicatorSlotProps = (_slotProps$popupIndic = slotProps.popupIndicator) != null ? _slotProps$popupIndic : componentsProps.popupIndicator;
|
|
23543
|
+
var renderAutocompletePopperChildren = function renderAutocompletePopperChildren(children) {
|
|
23544
|
+
return /*#__PURE__*/jsxRuntime_1(AutocompletePopper, _extends({
|
|
23545
|
+
as: PopperComponent,
|
|
23546
|
+
disablePortal: disablePortal,
|
|
23547
|
+
style: {
|
|
23548
|
+
width: anchorEl ? anchorEl.clientWidth : null
|
|
23549
|
+
},
|
|
23550
|
+
ownerState: ownerState,
|
|
23551
|
+
role: "presentation",
|
|
23552
|
+
anchorEl: anchorEl,
|
|
23553
|
+
open: popupOpen
|
|
23554
|
+
}, popperSlotProps, {
|
|
23555
|
+
className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),
|
|
23556
|
+
children: /*#__PURE__*/jsxRuntime_1(AutocompletePaper, _extends({
|
|
23557
|
+
ownerState: ownerState,
|
|
23558
|
+
as: PaperComponent
|
|
23559
|
+
}, paperSlotProps, {
|
|
23560
|
+
className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),
|
|
23561
|
+
children: children
|
|
23562
|
+
}))
|
|
23563
|
+
}));
|
|
23564
|
+
};
|
|
23565
|
+
var autocompletePopper = null;
|
|
23566
|
+
if (!loading && groupedOptions.length > 0) {
|
|
23567
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteListbox, _extends({
|
|
23568
|
+
as: ListboxComponent,
|
|
23569
|
+
className: classes.listbox,
|
|
23570
|
+
ownerState: ownerState
|
|
23571
|
+
}, otherListboxProps, ListboxProps, {
|
|
23572
|
+
ref: combinedListboxRef,
|
|
23573
|
+
children: groupedOptions.map(function (option, index) {
|
|
23574
|
+
if (groupBy) {
|
|
23575
|
+
return renderGroup({
|
|
23576
|
+
key: option.key,
|
|
23577
|
+
group: option.group,
|
|
23578
|
+
children: option.options.map(function (option2, index2) {
|
|
23579
|
+
return renderListOption(option2, option.index + index2);
|
|
23580
|
+
})
|
|
23581
|
+
});
|
|
23582
|
+
}
|
|
23583
|
+
return renderListOption(option, index);
|
|
23584
|
+
})
|
|
23585
|
+
})));
|
|
23586
|
+
} else if (loading && groupedOptions.length === 0) {
|
|
23587
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteLoading, {
|
|
23588
|
+
className: classes.loading,
|
|
23589
|
+
ownerState: ownerState,
|
|
23590
|
+
children: loadingText
|
|
23591
|
+
}));
|
|
23592
|
+
} else if (groupedOptions.length === 0 && !freeSolo && !loading) {
|
|
23593
|
+
autocompletePopper = renderAutocompletePopperChildren( /*#__PURE__*/jsxRuntime_1(AutocompleteNoOptions, {
|
|
23594
|
+
className: classes.noOptions,
|
|
23595
|
+
ownerState: ownerState,
|
|
23596
|
+
role: "presentation",
|
|
23597
|
+
onMouseDown: function onMouseDown(event) {
|
|
23598
|
+
// Prevent input blur when interacting with the "no options" content
|
|
23599
|
+
event.preventDefault();
|
|
23600
|
+
},
|
|
23601
|
+
children: noOptionsText
|
|
23602
|
+
}));
|
|
23603
|
+
}
|
|
23460
23604
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
23461
23605
|
children: [/*#__PURE__*/jsxRuntime_1(AutocompleteRoot, _extends({
|
|
23462
23606
|
ref: ref,
|
|
@@ -23506,57 +23650,7 @@
|
|
|
23506
23650
|
readOnly: readOnly
|
|
23507
23651
|
}, getInputProps())
|
|
23508
23652
|
})
|
|
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]
|
|
23653
|
+
})), anchorEl ? autocompletePopper : null]
|
|
23560
23654
|
});
|
|
23561
23655
|
});
|
|
23562
23656
|
Autocomplete.propTypes /* remove-proptypes */ = {
|
|
@@ -23808,7 +23902,7 @@
|
|
|
23808
23902
|
ListboxProps: PropTypes.object,
|
|
23809
23903
|
/**
|
|
23810
23904
|
* If `true`, the component is in a loading state.
|
|
23811
|
-
* This shows the `loadingText` in place of suggestions (only if there are no suggestions to show,
|
|
23905
|
+
* This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).
|
|
23812
23906
|
* @default false
|
|
23813
23907
|
*/
|
|
23814
23908
|
loading: PropTypes.bool,
|
|
@@ -23998,7 +24092,7 @@
|
|
|
23998
24092
|
var avatarClasses = generateUtilityClasses$1('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
|
|
23999
24093
|
var avatarClasses$1 = avatarClasses;
|
|
24000
24094
|
|
|
24001
|
-
var useThemeProps$
|
|
24095
|
+
var useThemeProps$3 = createUseThemeProps();
|
|
24002
24096
|
var useUtilityClasses$1w = function useUtilityClasses(ownerState) {
|
|
24003
24097
|
var classes = ownerState.classes,
|
|
24004
24098
|
variant = ownerState.variant,
|
|
@@ -24130,7 +24224,7 @@
|
|
|
24130
24224
|
return loaded;
|
|
24131
24225
|
}
|
|
24132
24226
|
var Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps, ref) {
|
|
24133
|
-
var props = useThemeProps$
|
|
24227
|
+
var props = useThemeProps$3({
|
|
24134
24228
|
props: inProps,
|
|
24135
24229
|
name: 'MuiAvatar'
|
|
24136
24230
|
});
|
|
@@ -24320,7 +24414,7 @@
|
|
|
24320
24414
|
});
|
|
24321
24415
|
var AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
|
|
24322
24416
|
var _slotProps$additional;
|
|
24323
|
-
var props = useThemeProps$
|
|
24417
|
+
var props = useThemeProps$b({
|
|
24324
24418
|
props: inProps,
|
|
24325
24419
|
name: 'MuiAvatarGroup'
|
|
24326
24420
|
});
|
|
@@ -24702,7 +24796,7 @@
|
|
|
24702
24796
|
});
|
|
24703
24797
|
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
|
|
24704
24798
|
var _slotProps$root, _ref2, _slots$root;
|
|
24705
|
-
var props = useThemeProps$
|
|
24799
|
+
var props = useThemeProps$b({
|
|
24706
24800
|
props: inProps,
|
|
24707
24801
|
name: 'MuiBackdrop'
|
|
24708
24802
|
});
|
|
@@ -24855,7 +24949,7 @@
|
|
|
24855
24949
|
|
|
24856
24950
|
var RADIUS_STANDARD = 10;
|
|
24857
24951
|
var RADIUS_DOT = 4;
|
|
24858
|
-
var useThemeProps = createUseThemeProps();
|
|
24952
|
+
var useThemeProps$2 = createUseThemeProps();
|
|
24859
24953
|
var useUtilityClasses$1t = function useUtilityClasses(ownerState) {
|
|
24860
24954
|
var color = ownerState.color,
|
|
24861
24955
|
anchorOrigin = ownerState.anchorOrigin,
|
|
@@ -25058,7 +25152,7 @@
|
|
|
25058
25152
|
});
|
|
25059
25153
|
var Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
|
|
25060
25154
|
var _ref11, _slots$root, _ref12, _slots$badge, _slotProps$root, _slotProps$badge;
|
|
25061
|
-
var props = useThemeProps({
|
|
25155
|
+
var props = useThemeProps$2({
|
|
25062
25156
|
props: inProps,
|
|
25063
25157
|
name: 'MuiBadge'
|
|
25064
25158
|
});
|
|
@@ -25307,7 +25401,7 @@
|
|
|
25307
25401
|
};
|
|
25308
25402
|
});
|
|
25309
25403
|
var BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
|
|
25310
|
-
var props = useThemeProps$
|
|
25404
|
+
var props = useThemeProps$b({
|
|
25311
25405
|
props: inProps,
|
|
25312
25406
|
name: 'MuiBottomNavigation'
|
|
25313
25407
|
});
|
|
@@ -25463,7 +25557,7 @@
|
|
|
25463
25557
|
}));
|
|
25464
25558
|
});
|
|
25465
25559
|
var BottomNavigationAction = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigationAction(inProps, ref) {
|
|
25466
|
-
var props = useThemeProps$
|
|
25560
|
+
var props = useThemeProps$b({
|
|
25467
25561
|
props: inProps,
|
|
25468
25562
|
name: 'MuiBottomNavigationAction'
|
|
25469
25563
|
});
|
|
@@ -25730,7 +25824,7 @@
|
|
|
25730
25824
|
}, []);
|
|
25731
25825
|
}
|
|
25732
25826
|
var Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumbs(inProps, ref) {
|
|
25733
|
-
var props = useThemeProps$
|
|
25827
|
+
var props = useThemeProps$b({
|
|
25734
25828
|
props: inProps,
|
|
25735
25829
|
name: 'MuiBreadcrumbs'
|
|
25736
25830
|
});
|
|
@@ -25963,7 +26057,7 @@
|
|
|
25963
26057
|
};
|
|
25964
26058
|
var ButtonRoot = styled$1(ButtonBase$1, {
|
|
25965
26059
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
25966
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
26060
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
25967
26061
|
},
|
|
25968
26062
|
name: 'MuiButton',
|
|
25969
26063
|
slot: 'Root',
|
|
@@ -26129,7 +26223,7 @@
|
|
|
26129
26223
|
var contextProps = React__namespace.useContext(ButtonGroupContext$1);
|
|
26130
26224
|
var buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
|
|
26131
26225
|
var resolvedProps = resolveProps(contextProps, inProps);
|
|
26132
|
-
var props = useThemeProps$
|
|
26226
|
+
var props = useThemeProps$b({
|
|
26133
26227
|
props: resolvedProps,
|
|
26134
26228
|
name: 'MuiButton'
|
|
26135
26229
|
});
|
|
@@ -26390,7 +26484,7 @@
|
|
|
26390
26484
|
})));
|
|
26391
26485
|
});
|
|
26392
26486
|
var ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
|
|
26393
|
-
var props = useThemeProps$
|
|
26487
|
+
var props = useThemeProps$b({
|
|
26394
26488
|
props: inProps,
|
|
26395
26489
|
name: 'MuiButtonGroup'
|
|
26396
26490
|
});
|
|
@@ -26579,7 +26673,7 @@
|
|
|
26579
26673
|
};
|
|
26580
26674
|
});
|
|
26581
26675
|
var Card = /*#__PURE__*/React__namespace.forwardRef(function Card(inProps, ref) {
|
|
26582
|
-
var props = useThemeProps$
|
|
26676
|
+
var props = useThemeProps$b({
|
|
26583
26677
|
props: inProps,
|
|
26584
26678
|
name: 'MuiCard'
|
|
26585
26679
|
});
|
|
@@ -26694,7 +26788,7 @@
|
|
|
26694
26788
|
};
|
|
26695
26789
|
});
|
|
26696
26790
|
var CardActionArea = /*#__PURE__*/React__namespace.forwardRef(function CardActionArea(inProps, ref) {
|
|
26697
|
-
var props = useThemeProps$
|
|
26791
|
+
var props = useThemeProps$b({
|
|
26698
26792
|
props: inProps,
|
|
26699
26793
|
name: 'MuiCardActionArea'
|
|
26700
26794
|
});
|
|
@@ -26778,7 +26872,7 @@
|
|
|
26778
26872
|
});
|
|
26779
26873
|
});
|
|
26780
26874
|
var CardActions = /*#__PURE__*/React__namespace.forwardRef(function CardActions(inProps, ref) {
|
|
26781
|
-
var props = useThemeProps$
|
|
26875
|
+
var props = useThemeProps$b({
|
|
26782
26876
|
props: inProps,
|
|
26783
26877
|
name: 'MuiCardActions'
|
|
26784
26878
|
});
|
|
@@ -26853,7 +26947,7 @@
|
|
|
26853
26947
|
};
|
|
26854
26948
|
});
|
|
26855
26949
|
var CardContent = /*#__PURE__*/React__namespace.forwardRef(function CardContent(inProps, ref) {
|
|
26856
|
-
var props = useThemeProps$
|
|
26950
|
+
var props = useThemeProps$b({
|
|
26857
26951
|
props: inProps,
|
|
26858
26952
|
name: 'MuiCardContent'
|
|
26859
26953
|
});
|
|
@@ -26964,7 +27058,7 @@
|
|
|
26964
27058
|
flex: '1 1 auto'
|
|
26965
27059
|
});
|
|
26966
27060
|
var CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(inProps, ref) {
|
|
26967
|
-
var props = useThemeProps$
|
|
27061
|
+
var props = useThemeProps$b({
|
|
26968
27062
|
props: inProps,
|
|
26969
27063
|
name: 'MuiCardHeader'
|
|
26970
27064
|
});
|
|
@@ -27133,7 +27227,7 @@
|
|
|
27133
27227
|
var MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
|
|
27134
27228
|
var IMAGE_COMPONENTS = ['picture', 'img'];
|
|
27135
27229
|
var CardMedia = /*#__PURE__*/React__namespace.forwardRef(function CardMedia(inProps, ref) {
|
|
27136
|
-
var props = useThemeProps$
|
|
27230
|
+
var props = useThemeProps$b({
|
|
27137
27231
|
props: inProps,
|
|
27138
27232
|
name: 'MuiCardMedia'
|
|
27139
27233
|
});
|
|
@@ -27245,7 +27339,7 @@
|
|
|
27245
27339
|
});
|
|
27246
27340
|
});
|
|
27247
27341
|
var SwitchBaseInput = styled$1('input', {
|
|
27248
|
-
shouldForwardProp: rootShouldForwardProp
|
|
27342
|
+
shouldForwardProp: rootShouldForwardProp$1
|
|
27249
27343
|
})({
|
|
27250
27344
|
cursor: 'inherit',
|
|
27251
27345
|
position: 'absolute',
|
|
@@ -27512,7 +27606,7 @@
|
|
|
27512
27606
|
};
|
|
27513
27607
|
var CheckboxRoot = styled$1(SwitchBase$1, {
|
|
27514
27608
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
27515
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
27609
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
27516
27610
|
},
|
|
27517
27611
|
name: 'MuiCheckbox',
|
|
27518
27612
|
slot: 'Root',
|
|
@@ -27544,7 +27638,7 @@
|
|
|
27544
27638
|
var defaultIndeterminateIcon = /*#__PURE__*/jsxRuntime_1(IndeterminateCheckBoxIcon, {});
|
|
27545
27639
|
var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inProps, ref) {
|
|
27546
27640
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
27547
|
-
var props = useThemeProps$
|
|
27641
|
+
var props = useThemeProps$b({
|
|
27548
27642
|
props: inProps,
|
|
27549
27643
|
name: 'MuiCheckbox'
|
|
27550
27644
|
});
|
|
@@ -27776,7 +27870,7 @@
|
|
|
27776
27870
|
* attribute to `true` on that region until it has finished loading.
|
|
27777
27871
|
*/
|
|
27778
27872
|
var CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function CircularProgress(inProps, ref) {
|
|
27779
|
-
var props = useThemeProps$
|
|
27873
|
+
var props = useThemeProps$b({
|
|
27780
27874
|
props: inProps,
|
|
27781
27875
|
name: 'MuiCircularProgress'
|
|
27782
27876
|
});
|
|
@@ -27875,7 +27969,7 @@
|
|
|
27875
27969
|
/**
|
|
27876
27970
|
* The size of the component.
|
|
27877
27971
|
* If using a number, the pixel unit is assumed.
|
|
27878
|
-
* If using a string, you need to provide the CSS unit,
|
|
27972
|
+
* If using a string, you need to provide the CSS unit, for example '3rem'.
|
|
27879
27973
|
* @default 40
|
|
27880
27974
|
*/
|
|
27881
27975
|
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
@@ -27917,7 +28011,7 @@
|
|
|
27917
28011
|
}
|
|
27918
28012
|
}),
|
|
27919
28013
|
useThemeProps: function useThemeProps(inProps) {
|
|
27920
|
-
return useThemeProps$
|
|
28014
|
+
return useThemeProps$b({
|
|
27921
28015
|
props: inProps,
|
|
27922
28016
|
name: 'MuiContainer'
|
|
27923
28017
|
});
|
|
@@ -28040,7 +28134,7 @@
|
|
|
28040
28134
|
return defaultStyles;
|
|
28041
28135
|
};
|
|
28042
28136
|
function CssBaseline(inProps) {
|
|
28043
|
-
var props = useThemeProps$
|
|
28137
|
+
var props = useThemeProps$b({
|
|
28044
28138
|
props: inProps,
|
|
28045
28139
|
name: 'MuiCssBaseline'
|
|
28046
28140
|
});
|
|
@@ -28169,7 +28263,7 @@
|
|
|
28169
28263
|
*/
|
|
28170
28264
|
var Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, ref) {
|
|
28171
28265
|
var _ref2, _slots$root, _ref3, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
28172
|
-
var props = useThemeProps$
|
|
28266
|
+
var props = useThemeProps$b({
|
|
28173
28267
|
name: 'MuiModal',
|
|
28174
28268
|
props: inProps
|
|
28175
28269
|
});
|
|
@@ -28623,7 +28717,7 @@
|
|
|
28623
28717
|
* Dialogs are overlaid modal paper based components with a backdrop.
|
|
28624
28718
|
*/
|
|
28625
28719
|
var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
|
|
28626
|
-
var props = useThemeProps$
|
|
28720
|
+
var props = useThemeProps$b({
|
|
28627
28721
|
props: inProps,
|
|
28628
28722
|
name: 'MuiDialog'
|
|
28629
28723
|
});
|
|
@@ -28907,7 +29001,7 @@
|
|
|
28907
29001
|
});
|
|
28908
29002
|
});
|
|
28909
29003
|
var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
|
|
28910
|
-
var props = useThemeProps$
|
|
29004
|
+
var props = useThemeProps$b({
|
|
28911
29005
|
props: inProps,
|
|
28912
29006
|
name: 'MuiDialogActions'
|
|
28913
29007
|
});
|
|
@@ -28999,7 +29093,7 @@
|
|
|
28999
29093
|
}));
|
|
29000
29094
|
});
|
|
29001
29095
|
var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
|
|
29002
|
-
var props = useThemeProps$
|
|
29096
|
+
var props = useThemeProps$b({
|
|
29003
29097
|
props: inProps,
|
|
29004
29098
|
name: 'MuiDialogContent'
|
|
29005
29099
|
});
|
|
@@ -29062,7 +29156,7 @@
|
|
|
29062
29156
|
};
|
|
29063
29157
|
var DialogContentTextRoot = styled$1(Typography$1, {
|
|
29064
29158
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
29065
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
29159
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
29066
29160
|
},
|
|
29067
29161
|
name: 'MuiDialogContentText',
|
|
29068
29162
|
slot: 'Root',
|
|
@@ -29071,7 +29165,7 @@
|
|
|
29071
29165
|
}
|
|
29072
29166
|
})({});
|
|
29073
29167
|
var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
|
|
29074
|
-
var props = useThemeProps$
|
|
29168
|
+
var props = useThemeProps$b({
|
|
29075
29169
|
props: inProps,
|
|
29076
29170
|
name: 'MuiDialogContentText'
|
|
29077
29171
|
});
|
|
@@ -29132,7 +29226,7 @@
|
|
|
29132
29226
|
flex: '0 0 auto'
|
|
29133
29227
|
});
|
|
29134
29228
|
var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
|
|
29135
|
-
var props = useThemeProps$
|
|
29229
|
+
var props = useThemeProps$b({
|
|
29136
29230
|
props: inProps,
|
|
29137
29231
|
name: 'MuiDialogTitle'
|
|
29138
29232
|
});
|
|
@@ -29312,7 +29406,7 @@
|
|
|
29312
29406
|
});
|
|
29313
29407
|
});
|
|
29314
29408
|
var Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
29315
|
-
var props = useThemeProps$
|
|
29409
|
+
var props = useThemeProps$b({
|
|
29316
29410
|
props: inProps,
|
|
29317
29411
|
name: 'MuiDivider'
|
|
29318
29412
|
});
|
|
@@ -29779,7 +29873,7 @@
|
|
|
29779
29873
|
};
|
|
29780
29874
|
});
|
|
29781
29875
|
var DrawerDockedRoot = styled$1('div', {
|
|
29782
|
-
shouldForwardProp: rootShouldForwardProp,
|
|
29876
|
+
shouldForwardProp: rootShouldForwardProp$1,
|
|
29783
29877
|
name: 'MuiDrawer',
|
|
29784
29878
|
slot: 'Docked',
|
|
29785
29879
|
skipVariantsResolver: false,
|
|
@@ -29849,8 +29943,9 @@
|
|
|
29849
29943
|
function isHorizontal(anchor) {
|
|
29850
29944
|
return ['left', 'right'].indexOf(anchor) !== -1;
|
|
29851
29945
|
}
|
|
29852
|
-
function getAnchor(
|
|
29853
|
-
|
|
29946
|
+
function getAnchor(_ref3, anchor) {
|
|
29947
|
+
var direction = _ref3.direction;
|
|
29948
|
+
return direction === 'rtl' && isHorizontal(anchor) ? oppositeDirection[anchor] : anchor;
|
|
29854
29949
|
}
|
|
29855
29950
|
|
|
29856
29951
|
/**
|
|
@@ -29858,11 +29953,12 @@
|
|
|
29858
29953
|
* when `variant="temporary"` is set.
|
|
29859
29954
|
*/
|
|
29860
29955
|
var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
|
|
29861
|
-
var props = useThemeProps$
|
|
29956
|
+
var props = useThemeProps$b({
|
|
29862
29957
|
props: inProps,
|
|
29863
29958
|
name: 'MuiDrawer'
|
|
29864
29959
|
});
|
|
29865
29960
|
var theme = useTheme();
|
|
29961
|
+
var isRtl = useRtl();
|
|
29866
29962
|
var defaultTransitionDuration = {
|
|
29867
29963
|
enter: theme.transitions.duration.enteringScreen,
|
|
29868
29964
|
exit: theme.transitions.duration.leavingScreen
|
|
@@ -29899,7 +29995,9 @@
|
|
|
29899
29995
|
React__namespace.useEffect(function () {
|
|
29900
29996
|
mounted.current = true;
|
|
29901
29997
|
}, []);
|
|
29902
|
-
var anchorInvariant = getAnchor(
|
|
29998
|
+
var anchorInvariant = getAnchor({
|
|
29999
|
+
direction: isRtl ? 'rtl' : 'ltr'
|
|
30000
|
+
}, anchorProp);
|
|
29903
30001
|
var anchor = anchorProp;
|
|
29904
30002
|
var ownerState = _extends({}, props, {
|
|
29905
30003
|
anchor: anchor,
|
|
@@ -30067,7 +30165,7 @@
|
|
|
30067
30165
|
name: 'MuiFab',
|
|
30068
30166
|
slot: 'Root',
|
|
30069
30167
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
30070
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
30168
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
30071
30169
|
},
|
|
30072
30170
|
overridesResolver: function overridesResolver(props, styles) {
|
|
30073
30171
|
var ownerState = props.ownerState;
|
|
@@ -30155,7 +30253,7 @@
|
|
|
30155
30253
|
});
|
|
30156
30254
|
});
|
|
30157
30255
|
var Fab = /*#__PURE__*/React__namespace.forwardRef(function Fab(inProps, ref) {
|
|
30158
|
-
var props = useThemeProps$
|
|
30256
|
+
var props = useThemeProps$b({
|
|
30159
30257
|
props: inProps,
|
|
30160
30258
|
name: 'MuiFab'
|
|
30161
30259
|
});
|
|
@@ -30279,7 +30377,7 @@
|
|
|
30279
30377
|
};
|
|
30280
30378
|
var FilledInputRoot = styled$1(InputBaseRoot, {
|
|
30281
30379
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
30282
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
30380
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
30283
30381
|
},
|
|
30284
30382
|
name: 'MuiFilledInput',
|
|
30285
30383
|
slot: 'Root',
|
|
@@ -30426,7 +30524,7 @@
|
|
|
30426
30524
|
});
|
|
30427
30525
|
var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
|
|
30428
30526
|
var _ref5, _slots$root, _ref6, _slots$input;
|
|
30429
|
-
var props = useThemeProps$
|
|
30527
|
+
var props = useThemeProps$b({
|
|
30430
30528
|
props: inProps,
|
|
30431
30529
|
name: 'MuiFilledInput'
|
|
30432
30530
|
});
|
|
@@ -30746,7 +30844,7 @@
|
|
|
30746
30844
|
* For instance, only one input can be focused at the same time, the state shouldn't be shared.
|
|
30747
30845
|
*/
|
|
30748
30846
|
var FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormControl(inProps, ref) {
|
|
30749
|
-
var props = useThemeProps$
|
|
30847
|
+
var props = useThemeProps$b({
|
|
30750
30848
|
props: inProps,
|
|
30751
30849
|
name: 'MuiFormControl'
|
|
30752
30850
|
});
|
|
@@ -30977,7 +31075,7 @@
|
|
|
30977
31075
|
}
|
|
30978
31076
|
}),
|
|
30979
31077
|
useThemeProps: function useThemeProps(inProps) {
|
|
30980
|
-
return useThemeProps$
|
|
31078
|
+
return useThemeProps$b({
|
|
30981
31079
|
props: inProps,
|
|
30982
31080
|
name: 'MuiStack'
|
|
30983
31081
|
});
|
|
@@ -31106,7 +31204,7 @@
|
|
|
31106
31204
|
*/
|
|
31107
31205
|
var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
|
|
31108
31206
|
var _ref5, _slotProps$typography;
|
|
31109
|
-
var props = useThemeProps$
|
|
31207
|
+
var props = useThemeProps$b({
|
|
31110
31208
|
props: inProps,
|
|
31111
31209
|
name: 'MuiFormControlLabel'
|
|
31112
31210
|
});
|
|
@@ -31299,7 +31397,7 @@
|
|
|
31299
31397
|
* For the `Radio`, you should be using the `RadioGroup` component instead of this one.
|
|
31300
31398
|
*/
|
|
31301
31399
|
var FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(inProps, ref) {
|
|
31302
|
-
var props = useThemeProps$
|
|
31400
|
+
var props = useThemeProps$b({
|
|
31303
31401
|
props: inProps,
|
|
31304
31402
|
name: 'MuiFormGroup'
|
|
31305
31403
|
});
|
|
@@ -31404,7 +31502,7 @@
|
|
|
31404
31502
|
});
|
|
31405
31503
|
});
|
|
31406
31504
|
var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
|
|
31407
|
-
var props = useThemeProps$
|
|
31505
|
+
var props = useThemeProps$b({
|
|
31408
31506
|
props: inProps,
|
|
31409
31507
|
name: 'MuiFormHelperText'
|
|
31410
31508
|
});
|
|
@@ -31568,7 +31666,7 @@
|
|
|
31568
31666
|
});
|
|
31569
31667
|
});
|
|
31570
31668
|
var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
|
|
31571
|
-
var props = useThemeProps$
|
|
31669
|
+
var props = useThemeProps$b({
|
|
31572
31670
|
props: inProps,
|
|
31573
31671
|
name: 'MuiFormLabel'
|
|
31574
31672
|
});
|
|
@@ -32024,7 +32122,7 @@
|
|
|
32024
32122
|
return composeClasses(slots, getGridUtilityClass, classes);
|
|
32025
32123
|
};
|
|
32026
32124
|
var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
|
|
32027
|
-
var themeProps = useThemeProps$
|
|
32125
|
+
var themeProps = useThemeProps$b({
|
|
32028
32126
|
props: inProps,
|
|
32029
32127
|
name: 'MuiGrid'
|
|
32030
32128
|
});
|
|
@@ -32242,7 +32340,7 @@
|
|
|
32242
32340
|
}),
|
|
32243
32341
|
componentName: 'MuiGrid2',
|
|
32244
32342
|
useThemeProps: function useThemeProps(inProps) {
|
|
32245
|
-
return useThemeProps$
|
|
32343
|
+
return useThemeProps$b({
|
|
32246
32344
|
props: inProps,
|
|
32247
32345
|
name: 'MuiGrid2'
|
|
32248
32346
|
});
|
|
@@ -33094,7 +33192,7 @@
|
|
|
33094
33192
|
};
|
|
33095
33193
|
});
|
|
33096
33194
|
var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
|
|
33097
|
-
var props = useThemeProps$
|
|
33195
|
+
var props = useThemeProps$b({
|
|
33098
33196
|
props: inProps,
|
|
33099
33197
|
name: 'MuiIcon'
|
|
33100
33198
|
});
|
|
@@ -33133,7 +33231,7 @@
|
|
|
33133
33231
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
33134
33232
|
/**
|
|
33135
33233
|
* The base class applied to the icon. Defaults to 'material-icons', but can be changed to any
|
|
33136
|
-
* other base class that suits the icon font you're using (
|
|
33234
|
+
* other base class that suits the icon font you're using (for example material-icons-rounded, fas, etc).
|
|
33137
33235
|
* @default 'material-icons'
|
|
33138
33236
|
*/
|
|
33139
33237
|
baseClassName: PropTypes.string,
|
|
@@ -33219,7 +33317,7 @@
|
|
|
33219
33317
|
});
|
|
33220
33318
|
});
|
|
33221
33319
|
var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
|
|
33222
|
-
var props = useThemeProps$
|
|
33320
|
+
var props = useThemeProps$b({
|
|
33223
33321
|
props: inProps,
|
|
33224
33322
|
name: 'MuiImageList'
|
|
33225
33323
|
});
|
|
@@ -33380,7 +33478,7 @@
|
|
|
33380
33478
|
})));
|
|
33381
33479
|
});
|
|
33382
33480
|
var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
|
|
33383
|
-
var props = useThemeProps$
|
|
33481
|
+
var props = useThemeProps$b({
|
|
33384
33482
|
props: inProps,
|
|
33385
33483
|
name: 'MuiImageListItem'
|
|
33386
33484
|
});
|
|
@@ -33608,7 +33706,7 @@
|
|
|
33608
33706
|
});
|
|
33609
33707
|
});
|
|
33610
33708
|
var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
|
|
33611
|
-
var props = useThemeProps$
|
|
33709
|
+
var props = useThemeProps$b({
|
|
33612
33710
|
props: inProps,
|
|
33613
33711
|
name: 'MuiImageListItemBar'
|
|
33614
33712
|
});
|
|
@@ -33707,7 +33805,7 @@
|
|
|
33707
33805
|
};
|
|
33708
33806
|
var InputRoot = styled$1(InputBaseRoot, {
|
|
33709
33807
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
33710
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
33808
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
33711
33809
|
},
|
|
33712
33810
|
name: 'MuiInput',
|
|
33713
33811
|
slot: 'Root',
|
|
@@ -33782,7 +33880,7 @@
|
|
|
33782
33880
|
})({});
|
|
33783
33881
|
var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
|
|
33784
33882
|
var _ref3, _slots$root, _ref4, _slots$input;
|
|
33785
|
-
var props = useThemeProps$
|
|
33883
|
+
var props = useThemeProps$b({
|
|
33786
33884
|
props: inProps,
|
|
33787
33885
|
name: 'MuiInput'
|
|
33788
33886
|
});
|
|
@@ -34070,7 +34168,7 @@
|
|
|
34070
34168
|
});
|
|
34071
34169
|
});
|
|
34072
34170
|
var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
|
|
34073
|
-
var props = useThemeProps$
|
|
34171
|
+
var props = useThemeProps$b({
|
|
34074
34172
|
props: inProps,
|
|
34075
34173
|
name: 'MuiInputAdornment'
|
|
34076
34174
|
});
|
|
@@ -34198,7 +34296,7 @@
|
|
|
34198
34296
|
};
|
|
34199
34297
|
var InputLabelRoot = styled$1(FormLabel$1, {
|
|
34200
34298
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
34201
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
34299
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
34202
34300
|
},
|
|
34203
34301
|
name: 'MuiInputLabel',
|
|
34204
34302
|
slot: 'Root',
|
|
@@ -34270,7 +34368,7 @@
|
|
|
34270
34368
|
}));
|
|
34271
34369
|
});
|
|
34272
34370
|
var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
34273
|
-
var props = useThemeProps$
|
|
34371
|
+
var props = useThemeProps$b({
|
|
34274
34372
|
name: 'MuiInputLabel',
|
|
34275
34373
|
props: inProps
|
|
34276
34374
|
});
|
|
@@ -34542,7 +34640,7 @@
|
|
|
34542
34640
|
* attribute to `true` on that region until it has finished loading.
|
|
34543
34641
|
*/
|
|
34544
34642
|
var LinearProgress = /*#__PURE__*/React__namespace.forwardRef(function LinearProgress(inProps, ref) {
|
|
34545
|
-
var props = useThemeProps$
|
|
34643
|
+
var props = useThemeProps$b({
|
|
34546
34644
|
props: inProps,
|
|
34547
34645
|
name: 'MuiLinearProgress'
|
|
34548
34646
|
});
|
|
@@ -34559,7 +34657,7 @@
|
|
|
34559
34657
|
variant: variant
|
|
34560
34658
|
});
|
|
34561
34659
|
var classes = useUtilityClasses$S(ownerState);
|
|
34562
|
-
var
|
|
34660
|
+
var isRtl = useRtl();
|
|
34563
34661
|
var rootProps = {};
|
|
34564
34662
|
var inlineStyles = {
|
|
34565
34663
|
bar1: {},
|
|
@@ -34571,7 +34669,7 @@
|
|
|
34571
34669
|
rootProps['aria-valuemin'] = 0;
|
|
34572
34670
|
rootProps['aria-valuemax'] = 100;
|
|
34573
34671
|
var transform = value - 100;
|
|
34574
|
-
if (
|
|
34672
|
+
if (isRtl) {
|
|
34575
34673
|
transform = -transform;
|
|
34576
34674
|
}
|
|
34577
34675
|
inlineStyles.bar1.transform = "translateX(".concat(transform, "%)");
|
|
@@ -34582,7 +34680,7 @@
|
|
|
34582
34680
|
if (variant === 'buffer') {
|
|
34583
34681
|
if (valueBuffer !== undefined) {
|
|
34584
34682
|
var _transform = (valueBuffer || 0) - 100;
|
|
34585
|
-
if (
|
|
34683
|
+
if (isRtl) {
|
|
34586
34684
|
_transform = -_transform;
|
|
34587
34685
|
}
|
|
34588
34686
|
inlineStyles.bar2.transform = "translateX(".concat(_transform, "%)");
|
|
@@ -34749,7 +34847,7 @@
|
|
|
34749
34847
|
}));
|
|
34750
34848
|
});
|
|
34751
34849
|
var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
|
|
34752
|
-
var props = useThemeProps$
|
|
34850
|
+
var props = useThemeProps$b({
|
|
34753
34851
|
props: inProps,
|
|
34754
34852
|
name: 'MuiLink'
|
|
34755
34853
|
});
|
|
@@ -34920,7 +35018,7 @@
|
|
|
34920
35018
|
});
|
|
34921
35019
|
});
|
|
34922
35020
|
var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
|
|
34923
|
-
var props = useThemeProps$
|
|
35021
|
+
var props = useThemeProps$b({
|
|
34924
35022
|
props: inProps,
|
|
34925
35023
|
name: 'MuiList'
|
|
34926
35024
|
});
|
|
@@ -35034,7 +35132,7 @@
|
|
|
35034
35132
|
};
|
|
35035
35133
|
var ListItemButtonRoot = styled$1(ButtonBase$1, {
|
|
35036
35134
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
35037
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
35135
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
35038
35136
|
},
|
|
35039
35137
|
name: 'MuiListItemButton',
|
|
35040
35138
|
slot: 'Root',
|
|
@@ -35093,7 +35191,7 @@
|
|
|
35093
35191
|
});
|
|
35094
35192
|
});
|
|
35095
35193
|
var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
|
|
35096
|
-
var props = useThemeProps$
|
|
35194
|
+
var props = useThemeProps$b({
|
|
35097
35195
|
props: inProps,
|
|
35098
35196
|
name: 'MuiListItemButton'
|
|
35099
35197
|
});
|
|
@@ -35276,7 +35374,7 @@
|
|
|
35276
35374
|
* Must be used as the last child of ListItem to function properly.
|
|
35277
35375
|
*/
|
|
35278
35376
|
var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
35279
|
-
var props = useThemeProps$
|
|
35377
|
+
var props = useThemeProps$b({
|
|
35280
35378
|
props: inProps,
|
|
35281
35379
|
name: 'MuiListItemSecondaryAction'
|
|
35282
35380
|
});
|
|
@@ -35421,7 +35519,7 @@
|
|
|
35421
35519
|
* Uses an additional container component if `ListItemSecondaryAction` is the last child.
|
|
35422
35520
|
*/
|
|
35423
35521
|
var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
|
|
35424
|
-
var props = useThemeProps$
|
|
35522
|
+
var props = useThemeProps$b({
|
|
35425
35523
|
props: inProps,
|
|
35426
35524
|
name: 'MuiListItem'
|
|
35427
35525
|
});
|
|
@@ -35755,7 +35853,7 @@
|
|
|
35755
35853
|
* A simple wrapper to apply `List` styles to an `Avatar`.
|
|
35756
35854
|
*/
|
|
35757
35855
|
var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
|
|
35758
|
-
var props = useThemeProps$
|
|
35856
|
+
var props = useThemeProps$b({
|
|
35759
35857
|
props: inProps,
|
|
35760
35858
|
name: 'MuiListItemAvatar'
|
|
35761
35859
|
});
|
|
@@ -35834,7 +35932,7 @@
|
|
|
35834
35932
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
35835
35933
|
*/
|
|
35836
35934
|
var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
|
|
35837
|
-
var props = useThemeProps$
|
|
35935
|
+
var props = useThemeProps$b({
|
|
35838
35936
|
props: inProps,
|
|
35839
35937
|
name: 'MuiListItemIcon'
|
|
35840
35938
|
});
|
|
@@ -35917,7 +36015,7 @@
|
|
|
35917
36015
|
});
|
|
35918
36016
|
});
|
|
35919
36017
|
var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
|
|
35920
|
-
var props = useThemeProps$
|
|
36018
|
+
var props = useThemeProps$b({
|
|
35921
36019
|
props: inProps,
|
|
35922
36020
|
name: 'MuiListItemText'
|
|
35923
36021
|
});
|
|
@@ -36125,13 +36223,14 @@
|
|
|
36125
36223
|
}, [autoFocus]);
|
|
36126
36224
|
React__namespace.useImperativeHandle(actions, function () {
|
|
36127
36225
|
return {
|
|
36128
|
-
adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement,
|
|
36226
|
+
adjustStyleForScrollbar: function adjustStyleForScrollbar(containerElement, _ref) {
|
|
36227
|
+
var direction = _ref.direction;
|
|
36129
36228
|
// Let's ignore that piece of logic if users are already overriding the width
|
|
36130
36229
|
// of the menu.
|
|
36131
36230
|
var noExplicitWidth = !listRef.current.style.width;
|
|
36132
36231
|
if (containerElement.clientHeight < listRef.current.clientHeight && noExplicitWidth) {
|
|
36133
36232
|
var scrollbarSize = "".concat(getScrollbarSize(ownerDocument(containerElement)), "px");
|
|
36134
|
-
listRef.current.style[
|
|
36233
|
+
listRef.current.style[direction === 'rtl' ? 'paddingLeft' : 'paddingRight'] = scrollbarSize;
|
|
36135
36234
|
listRef.current.style.width = "calc(100% + ".concat(scrollbarSize, ")");
|
|
36136
36235
|
}
|
|
36137
36236
|
return listRef.current;
|
|
@@ -36372,7 +36471,7 @@
|
|
|
36372
36471
|
});
|
|
36373
36472
|
var Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProps, ref) {
|
|
36374
36473
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
36375
|
-
var props = useThemeProps$
|
|
36474
|
+
var props = useThemeProps$b({
|
|
36376
36475
|
props: inProps,
|
|
36377
36476
|
name: 'MuiPopover'
|
|
36378
36477
|
});
|
|
@@ -36855,7 +36954,7 @@
|
|
|
36855
36954
|
};
|
|
36856
36955
|
var MenuRoot = styled$1(Popover$1, {
|
|
36857
36956
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
36858
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
36957
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
36859
36958
|
},
|
|
36860
36959
|
name: 'MuiMenu',
|
|
36861
36960
|
slot: 'Root',
|
|
@@ -36889,7 +36988,7 @@
|
|
|
36889
36988
|
});
|
|
36890
36989
|
var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
|
|
36891
36990
|
var _slots$paper, _slotProps$paper;
|
|
36892
|
-
var props = useThemeProps$
|
|
36991
|
+
var props = useThemeProps$b({
|
|
36893
36992
|
props: inProps,
|
|
36894
36993
|
name: 'MuiMenu'
|
|
36895
36994
|
});
|
|
@@ -36919,8 +37018,7 @@
|
|
|
36919
37018
|
_props$slotProps = props.slotProps,
|
|
36920
37019
|
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
36921
37020
|
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';
|
|
37021
|
+
var isRtl = useRtl();
|
|
36924
37022
|
var ownerState = _extends({}, props, {
|
|
36925
37023
|
autoFocus: autoFocus,
|
|
36926
37024
|
disableAutoFocusItem: disableAutoFocusItem,
|
|
@@ -36936,7 +37034,9 @@
|
|
|
36936
37034
|
var menuListActionsRef = React__namespace.useRef(null);
|
|
36937
37035
|
var handleEntering = function handleEntering(element, isAppearing) {
|
|
36938
37036
|
if (menuListActionsRef.current) {
|
|
36939
|
-
menuListActionsRef.current.adjustStyleForScrollbar(element,
|
|
37037
|
+
menuListActionsRef.current.adjustStyleForScrollbar(element, {
|
|
37038
|
+
direction: isRtl ? 'rtl' : 'ltr'
|
|
37039
|
+
});
|
|
36940
37040
|
}
|
|
36941
37041
|
if (onEntering) {
|
|
36942
37042
|
onEntering(element, isAppearing);
|
|
@@ -37160,7 +37260,7 @@
|
|
|
37160
37260
|
};
|
|
37161
37261
|
var MenuItemRoot = styled$1(ButtonBase$1, {
|
|
37162
37262
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
37163
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
37263
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
37164
37264
|
},
|
|
37165
37265
|
name: 'MuiMenuItem',
|
|
37166
37266
|
slot: 'Root',
|
|
@@ -37232,7 +37332,7 @@
|
|
|
37232
37332
|
})));
|
|
37233
37333
|
});
|
|
37234
37334
|
var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
|
|
37235
|
-
var props = useThemeProps$
|
|
37335
|
+
var props = useThemeProps$b({
|
|
37236
37336
|
props: inProps,
|
|
37237
37337
|
name: 'MuiMenuItem'
|
|
37238
37338
|
});
|
|
@@ -37474,7 +37574,7 @@
|
|
|
37474
37574
|
});
|
|
37475
37575
|
});
|
|
37476
37576
|
var MobileStepper = /*#__PURE__*/React__namespace.forwardRef(function MobileStepper(inProps, ref) {
|
|
37477
|
-
var props = useThemeProps$
|
|
37577
|
+
var props = useThemeProps$b({
|
|
37478
37578
|
props: inProps,
|
|
37479
37579
|
name: 'MuiMobileStepper'
|
|
37480
37580
|
});
|
|
@@ -37653,7 +37753,7 @@
|
|
|
37653
37753
|
var NativeSelectSelect = styled$1('select', {
|
|
37654
37754
|
name: 'MuiNativeSelect',
|
|
37655
37755
|
slot: 'Select',
|
|
37656
|
-
shouldForwardProp: rootShouldForwardProp,
|
|
37756
|
+
shouldForwardProp: rootShouldForwardProp$1,
|
|
37657
37757
|
overridesResolver: function overridesResolver(props, styles) {
|
|
37658
37758
|
var ownerState = props.ownerState;
|
|
37659
37759
|
return [styles.select, styles[ownerState.variant], ownerState.error && styles.error, _defineProperty({}, "&.".concat(nativeSelectClasses$1.multiple), styles.multiple)];
|
|
@@ -37791,7 +37891,7 @@
|
|
|
37791
37891
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
37792
37892
|
*/
|
|
37793
37893
|
var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
|
|
37794
|
-
var props = useThemeProps$
|
|
37894
|
+
var props = useThemeProps$b({
|
|
37795
37895
|
name: 'MuiNativeSelect',
|
|
37796
37896
|
props: inProps
|
|
37797
37897
|
});
|
|
@@ -37894,7 +37994,7 @@
|
|
|
37894
37994
|
|
|
37895
37995
|
var _span$1;
|
|
37896
37996
|
var NotchedOutlineRoot$1 = styled$1('fieldset', {
|
|
37897
|
-
shouldForwardProp: rootShouldForwardProp
|
|
37997
|
+
shouldForwardProp: rootShouldForwardProp$1
|
|
37898
37998
|
})({
|
|
37899
37999
|
textAlign: 'left',
|
|
37900
38000
|
position: 'absolute',
|
|
@@ -37912,7 +38012,7 @@
|
|
|
37912
38012
|
minWidth: '0%'
|
|
37913
38013
|
});
|
|
37914
38014
|
var NotchedOutlineLegend = styled$1('legend', {
|
|
37915
|
-
shouldForwardProp: rootShouldForwardProp
|
|
38015
|
+
shouldForwardProp: rootShouldForwardProp$1
|
|
37916
38016
|
})(function (_ref) {
|
|
37917
38017
|
var ownerState = _ref.ownerState,
|
|
37918
38018
|
theme = _ref.theme;
|
|
@@ -38032,7 +38132,7 @@
|
|
|
38032
38132
|
};
|
|
38033
38133
|
var OutlinedInputRoot = styled$1(InputBaseRoot, {
|
|
38034
38134
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
38035
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
38135
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
38036
38136
|
},
|
|
38037
38137
|
name: 'MuiOutlinedInput',
|
|
38038
38138
|
slot: 'Root',
|
|
@@ -38116,7 +38216,7 @@
|
|
|
38116
38216
|
});
|
|
38117
38217
|
var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
|
|
38118
38218
|
var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
|
|
38119
|
-
var props = useThemeProps$
|
|
38219
|
+
var props = useThemeProps$b({
|
|
38120
38220
|
props: inProps,
|
|
38121
38221
|
name: 'MuiOutlinedInput'
|
|
38122
38222
|
});
|
|
@@ -38428,7 +38528,7 @@
|
|
|
38428
38528
|
endPages.length > 0 ? endPages[0] - 2 : count - 1);
|
|
38429
38529
|
|
|
38430
38530
|
// Basic list of items to render
|
|
38431
|
-
//
|
|
38531
|
+
// for example itemList = ['first', 'previous', 1, 'ellipsis', 4, 5, 6, 'ellipsis', 10, 'next', 'last']
|
|
38432
38532
|
var itemList = [].concat(_toConsumableArray(showFirstButton ? ['first'] : []), _toConsumableArray(hidePrevButton ? [] : ['previous']), _toConsumableArray(startPages), _toConsumableArray(siblingsStart > boundaryCount + 2 ? ['start-ellipsis'] : boundaryCount + 1 < count - boundaryCount ? [boundaryCount + 1] : []), _toConsumableArray(range(siblingsStart, siblingsEnd)), _toConsumableArray(siblingsEnd < count - boundaryCount - 1 ? ['end-ellipsis'] : count - boundaryCount > boundaryCount ? [count - boundaryCount] : []), _toConsumableArray(endPages), _toConsumableArray(hideNextButton ? [] : ['next']), _toConsumableArray(showLastButton ? ['last'] : []));
|
|
38433
38533
|
|
|
38434
38534
|
// Map the button type to its page number
|
|
@@ -38666,7 +38766,7 @@
|
|
|
38666
38766
|
});
|
|
38667
38767
|
});
|
|
38668
38768
|
var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
|
|
38669
|
-
var props = useThemeProps$
|
|
38769
|
+
var props = useThemeProps$b({
|
|
38670
38770
|
props: inProps,
|
|
38671
38771
|
name: 'MuiPaginationItem'
|
|
38672
38772
|
});
|
|
@@ -38701,9 +38801,9 @@
|
|
|
38701
38801
|
type: type,
|
|
38702
38802
|
variant: variant
|
|
38703
38803
|
});
|
|
38704
|
-
var
|
|
38804
|
+
var isRtl = useRtl();
|
|
38705
38805
|
var classes = useUtilityClasses$C(ownerState);
|
|
38706
|
-
var normalizedIcons =
|
|
38806
|
+
var normalizedIcons = isRtl ? {
|
|
38707
38807
|
previous: slots.next || components.next || NavigateNextIcon,
|
|
38708
38808
|
next: slots.previous || components.previous || NavigateBeforeIcon,
|
|
38709
38809
|
last: slots.first || components.first || FirstPageIconDefault,
|
|
@@ -38869,7 +38969,7 @@
|
|
|
38869
38969
|
return "Go to ".concat(type, " page");
|
|
38870
38970
|
}
|
|
38871
38971
|
var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
|
|
38872
|
-
var props = useThemeProps$
|
|
38972
|
+
var props = useThemeProps$b({
|
|
38873
38973
|
props: inProps,
|
|
38874
38974
|
name: 'MuiPagination'
|
|
38875
38975
|
});
|
|
@@ -39082,7 +39182,7 @@
|
|
|
39082
39182
|
}), 'RadioButtonChecked');
|
|
39083
39183
|
|
|
39084
39184
|
var RadioButtonIconRoot = styled$1('span', {
|
|
39085
|
-
shouldForwardProp: rootShouldForwardProp
|
|
39185
|
+
shouldForwardProp: rootShouldForwardProp$1
|
|
39086
39186
|
})({
|
|
39087
39187
|
position: 'relative',
|
|
39088
39188
|
display: 'flex'
|
|
@@ -39183,7 +39283,7 @@
|
|
|
39183
39283
|
};
|
|
39184
39284
|
var RadioRoot = styled$1(SwitchBase$1, {
|
|
39185
39285
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
39186
|
-
return rootShouldForwardProp(prop) || prop === 'classes';
|
|
39286
|
+
return rootShouldForwardProp$1(prop) || prop === 'classes';
|
|
39187
39287
|
},
|
|
39188
39288
|
name: 'MuiRadio',
|
|
39189
39289
|
slot: 'Root',
|
|
@@ -39224,7 +39324,7 @@
|
|
|
39224
39324
|
var defaultIcon$1 = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {});
|
|
39225
39325
|
var Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, ref) {
|
|
39226
39326
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
39227
|
-
var props = useThemeProps$
|
|
39327
|
+
var props = useThemeProps$b({
|
|
39228
39328
|
props: inProps,
|
|
39229
39329
|
name: 'MuiRadio'
|
|
39230
39330
|
});
|
|
@@ -39705,7 +39805,7 @@
|
|
|
39705
39805
|
return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
|
|
39706
39806
|
}
|
|
39707
39807
|
var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
|
|
39708
|
-
var props = useThemeProps$
|
|
39808
|
+
var props = useThemeProps$b({
|
|
39709
39809
|
name: 'MuiRating',
|
|
39710
39810
|
props: inProps
|
|
39711
39811
|
});
|
|
@@ -39751,7 +39851,7 @@
|
|
|
39751
39851
|
valueDerived = _useControlled2[0],
|
|
39752
39852
|
setValueState = _useControlled2[1];
|
|
39753
39853
|
var valueRounded = roundValueToPrecision(valueDerived, precision);
|
|
39754
|
-
var
|
|
39854
|
+
var isRtl = useRtl();
|
|
39755
39855
|
var _React$useState = React__namespace.useState({
|
|
39756
39856
|
hover: -1,
|
|
39757
39857
|
focus: -1
|
|
@@ -39787,7 +39887,7 @@
|
|
|
39787
39887
|
left = _rootNode$getBounding.left,
|
|
39788
39888
|
containerWidth = _rootNode$getBounding.width;
|
|
39789
39889
|
var percent;
|
|
39790
|
-
if (
|
|
39890
|
+
if (isRtl) {
|
|
39791
39891
|
percent = (right - event.clientX) / containerWidth;
|
|
39792
39892
|
} else {
|
|
39793
39893
|
percent = (event.clientX - left) / containerWidth;
|
|
@@ -40146,7 +40246,7 @@
|
|
|
40146
40246
|
}, colorSchemeStyles);
|
|
40147
40247
|
});
|
|
40148
40248
|
var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
40149
|
-
var props = useThemeProps$
|
|
40249
|
+
var props = useThemeProps$b({
|
|
40150
40250
|
props: inProps,
|
|
40151
40251
|
name: 'MuiScopedCssBaseline'
|
|
40152
40252
|
});
|
|
@@ -40860,7 +40960,7 @@
|
|
|
40860
40960
|
return styles.root;
|
|
40861
40961
|
},
|
|
40862
40962
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
40863
|
-
return rootShouldForwardProp(prop) && prop !== 'variant';
|
|
40963
|
+
return rootShouldForwardProp$1(prop) && prop !== 'variant';
|
|
40864
40964
|
},
|
|
40865
40965
|
slot: 'Root'
|
|
40866
40966
|
};
|
|
@@ -40868,7 +40968,7 @@
|
|
|
40868
40968
|
var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
|
|
40869
40969
|
var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
|
|
40870
40970
|
var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
40871
|
-
var props = useThemeProps$
|
|
40971
|
+
var props = useThemeProps$b({
|
|
40872
40972
|
name: 'MuiSelect',
|
|
40873
40973
|
props: inProps
|
|
40874
40974
|
});
|
|
@@ -41191,7 +41291,7 @@
|
|
|
41191
41291
|
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
41292
|
});
|
|
41193
41293
|
var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
|
|
41194
|
-
var props = useThemeProps$
|
|
41294
|
+
var props = useThemeProps$b({
|
|
41195
41295
|
props: inProps,
|
|
41196
41296
|
name: 'MuiSkeleton'
|
|
41197
41297
|
});
|
|
@@ -41333,6 +41433,7 @@
|
|
|
41333
41433
|
value: PropTypes.node
|
|
41334
41434
|
} ;
|
|
41335
41435
|
|
|
41436
|
+
var useThemeProps$1 = createUseThemeProps();
|
|
41336
41437
|
function Identity(x) {
|
|
41337
41438
|
return x;
|
|
41338
41439
|
}
|
|
@@ -41344,44 +41445,16 @@
|
|
|
41344
41445
|
return [styles.root, styles["color".concat(capitalize(ownerState.color))], ownerState.size !== 'medium' && styles["size".concat(capitalize(ownerState.size))], ownerState.marked && styles.marked, ownerState.orientation === 'vertical' && styles.vertical, ownerState.track === 'inverted' && styles.trackInverted, ownerState.track === false && styles.trackFalse];
|
|
41345
41446
|
}
|
|
41346
41447
|
})(function (_ref) {
|
|
41347
|
-
var
|
|
41348
|
-
|
|
41349
|
-
return
|
|
41448
|
+
var _theme$vars;
|
|
41449
|
+
var theme = _ref.theme;
|
|
41450
|
+
return _defineProperty(_defineProperty(_defineProperty({
|
|
41350
41451
|
borderRadius: 12,
|
|
41351
41452
|
boxSizing: 'content-box',
|
|
41352
41453
|
display: 'inline-block',
|
|
41353
41454
|
position: 'relative',
|
|
41354
41455
|
cursor: 'pointer',
|
|
41355
41456
|
touchAction: 'none',
|
|
41356
|
-
|
|
41357
|
-
WebkitTapHighlightColor: 'transparent'
|
|
41358
|
-
}, ownerState.orientation === 'horizontal' && _extends({
|
|
41359
|
-
height: 4,
|
|
41360
|
-
width: '100%',
|
|
41361
|
-
padding: '13px 0',
|
|
41362
|
-
// The primary input mechanism of the device includes a pointing device of limited accuracy.
|
|
41363
|
-
'@media (pointer: coarse)': {
|
|
41364
|
-
// Reach 42px touch target, about ~8mm on screen.
|
|
41365
|
-
padding: '20px 0'
|
|
41366
|
-
}
|
|
41367
|
-
}, ownerState.size === 'small' && {
|
|
41368
|
-
height: 2
|
|
41369
|
-
}, ownerState.marked && {
|
|
41370
|
-
marginBottom: 20
|
|
41371
|
-
}), ownerState.orientation === 'vertical' && _extends({
|
|
41372
|
-
height: '100%',
|
|
41373
|
-
width: 4,
|
|
41374
|
-
padding: '0 13px',
|
|
41375
|
-
// The primary input mechanism of the device includes a pointing device of limited accuracy.
|
|
41376
|
-
'@media (pointer: coarse)': {
|
|
41377
|
-
// Reach 42px touch target, about ~8mm on screen.
|
|
41378
|
-
padding: '0 20px'
|
|
41379
|
-
}
|
|
41380
|
-
}, ownerState.size === 'small' && {
|
|
41381
|
-
width: 2
|
|
41382
|
-
}, ownerState.marked && {
|
|
41383
|
-
marginRight: 44
|
|
41384
|
-
}), _defineProperty(_defineProperty({
|
|
41457
|
+
WebkitTapHighlightColor: 'transparent',
|
|
41385
41458
|
'@media print': {
|
|
41386
41459
|
colorAdjust: 'exact'
|
|
41387
41460
|
}
|
|
@@ -41391,7 +41464,79 @@
|
|
|
41391
41464
|
color: (theme.vars || theme).palette.grey[400]
|
|
41392
41465
|
}), "&.".concat(sliderClasses$1.dragging), _defineProperty({}, "& .".concat(sliderClasses$1.thumb, ", & .").concat(sliderClasses$1.track), {
|
|
41393
41466
|
transition: 'none'
|
|
41394
|
-
})))
|
|
41467
|
+
})), "variants", [].concat(_toConsumableArray(Object.keys(((_theme$vars = theme.vars) != null ? _theme$vars : theme).palette).filter(function (key) {
|
|
41468
|
+
var _theme$vars2;
|
|
41469
|
+
return ((_theme$vars2 = theme.vars) != null ? _theme$vars2 : theme).palette[key].main;
|
|
41470
|
+
}).map(function (color) {
|
|
41471
|
+
return {
|
|
41472
|
+
props: {
|
|
41473
|
+
color: color
|
|
41474
|
+
},
|
|
41475
|
+
style: {
|
|
41476
|
+
color: (theme.vars || theme).palette[color].main
|
|
41477
|
+
}
|
|
41478
|
+
};
|
|
41479
|
+
})), [{
|
|
41480
|
+
props: {
|
|
41481
|
+
orientation: 'horizontal'
|
|
41482
|
+
},
|
|
41483
|
+
style: {
|
|
41484
|
+
height: 4,
|
|
41485
|
+
width: '100%',
|
|
41486
|
+
padding: '13px 0',
|
|
41487
|
+
// The primary input mechanism of the device includes a pointing device of limited accuracy.
|
|
41488
|
+
'@media (pointer: coarse)': {
|
|
41489
|
+
// Reach 42px touch target, about ~8mm on screen.
|
|
41490
|
+
padding: '20px 0'
|
|
41491
|
+
}
|
|
41492
|
+
}
|
|
41493
|
+
}, {
|
|
41494
|
+
props: {
|
|
41495
|
+
orientation: 'horizontal',
|
|
41496
|
+
size: 'small'
|
|
41497
|
+
},
|
|
41498
|
+
style: {
|
|
41499
|
+
height: 2
|
|
41500
|
+
}
|
|
41501
|
+
}, {
|
|
41502
|
+
props: {
|
|
41503
|
+
orientation: 'horizontal',
|
|
41504
|
+
marked: true
|
|
41505
|
+
},
|
|
41506
|
+
style: {
|
|
41507
|
+
marginBottom: 20
|
|
41508
|
+
}
|
|
41509
|
+
}, {
|
|
41510
|
+
props: {
|
|
41511
|
+
orientation: 'vertical'
|
|
41512
|
+
},
|
|
41513
|
+
style: {
|
|
41514
|
+
height: '100%',
|
|
41515
|
+
width: 4,
|
|
41516
|
+
padding: '0 13px',
|
|
41517
|
+
// The primary input mechanism of the device includes a pointing device of limited accuracy.
|
|
41518
|
+
'@media (pointer: coarse)': {
|
|
41519
|
+
// Reach 42px touch target, about ~8mm on screen.
|
|
41520
|
+
padding: '0 20px'
|
|
41521
|
+
}
|
|
41522
|
+
}
|
|
41523
|
+
}, {
|
|
41524
|
+
props: {
|
|
41525
|
+
orientation: 'vertical',
|
|
41526
|
+
size: 'small'
|
|
41527
|
+
},
|
|
41528
|
+
style: {
|
|
41529
|
+
width: 2
|
|
41530
|
+
}
|
|
41531
|
+
}, {
|
|
41532
|
+
props: {
|
|
41533
|
+
orientation: 'vertical',
|
|
41534
|
+
marked: true
|
|
41535
|
+
},
|
|
41536
|
+
style: {
|
|
41537
|
+
marginRight: 44
|
|
41538
|
+
}
|
|
41539
|
+
}]));
|
|
41395
41540
|
});
|
|
41396
41541
|
var SliderRail = styled$1('span', {
|
|
41397
41542
|
name: 'MuiSlider',
|
|
@@ -41399,27 +41544,40 @@
|
|
|
41399
41544
|
overridesResolver: function overridesResolver(props, styles) {
|
|
41400
41545
|
return styles.rail;
|
|
41401
41546
|
}
|
|
41402
|
-
})(
|
|
41403
|
-
|
|
41404
|
-
|
|
41405
|
-
|
|
41406
|
-
|
|
41407
|
-
|
|
41408
|
-
|
|
41409
|
-
|
|
41410
|
-
|
|
41411
|
-
|
|
41412
|
-
|
|
41413
|
-
|
|
41414
|
-
|
|
41415
|
-
|
|
41416
|
-
|
|
41417
|
-
|
|
41418
|
-
|
|
41419
|
-
|
|
41420
|
-
|
|
41421
|
-
|
|
41422
|
-
|
|
41547
|
+
})({
|
|
41548
|
+
display: 'block',
|
|
41549
|
+
position: 'absolute',
|
|
41550
|
+
borderRadius: 'inherit',
|
|
41551
|
+
backgroundColor: 'currentColor',
|
|
41552
|
+
opacity: 0.38,
|
|
41553
|
+
variants: [{
|
|
41554
|
+
props: {
|
|
41555
|
+
orientation: 'horizontal'
|
|
41556
|
+
},
|
|
41557
|
+
style: {
|
|
41558
|
+
width: '100%',
|
|
41559
|
+
height: 'inherit',
|
|
41560
|
+
top: '50%',
|
|
41561
|
+
transform: 'translateY(-50%)'
|
|
41562
|
+
}
|
|
41563
|
+
}, {
|
|
41564
|
+
props: {
|
|
41565
|
+
orientation: 'vertical'
|
|
41566
|
+
},
|
|
41567
|
+
style: {
|
|
41568
|
+
height: '100%',
|
|
41569
|
+
width: 'inherit',
|
|
41570
|
+
left: '50%',
|
|
41571
|
+
transform: 'translateX(-50%)'
|
|
41572
|
+
}
|
|
41573
|
+
}, {
|
|
41574
|
+
props: {
|
|
41575
|
+
track: 'inverted'
|
|
41576
|
+
},
|
|
41577
|
+
style: {
|
|
41578
|
+
opacity: 1
|
|
41579
|
+
}
|
|
41580
|
+
}]
|
|
41423
41581
|
});
|
|
41424
41582
|
var SliderTrack = styled$1('span', {
|
|
41425
41583
|
name: 'MuiSlider',
|
|
@@ -41428,12 +41586,9 @@
|
|
|
41428
41586
|
return styles.track;
|
|
41429
41587
|
}
|
|
41430
41588
|
})(function (_ref3) {
|
|
41431
|
-
var
|
|
41432
|
-
|
|
41433
|
-
|
|
41434
|
-
// Same logic as the LinearProgress track color
|
|
41435
|
-
theme.palette.mode === 'light' ? lighten(theme.palette[ownerState.color].main, 0.62) : darken(theme.palette[ownerState.color].main, 0.5);
|
|
41436
|
-
return _extends({
|
|
41589
|
+
var _theme$vars3;
|
|
41590
|
+
var theme = _ref3.theme;
|
|
41591
|
+
return {
|
|
41437
41592
|
display: 'block',
|
|
41438
41593
|
position: 'absolute',
|
|
41439
41594
|
borderRadius: 'inherit',
|
|
@@ -41441,23 +41596,62 @@
|
|
|
41441
41596
|
backgroundColor: 'currentColor',
|
|
41442
41597
|
transition: theme.transitions.create(['left', 'width', 'bottom', 'height'], {
|
|
41443
41598
|
duration: theme.transitions.duration.shortest
|
|
41444
|
-
})
|
|
41445
|
-
|
|
41446
|
-
|
|
41447
|
-
|
|
41448
|
-
|
|
41449
|
-
|
|
41450
|
-
|
|
41451
|
-
|
|
41452
|
-
|
|
41453
|
-
|
|
41454
|
-
|
|
41455
|
-
|
|
41456
|
-
|
|
41457
|
-
|
|
41458
|
-
|
|
41459
|
-
|
|
41460
|
-
|
|
41599
|
+
}),
|
|
41600
|
+
variants: [{
|
|
41601
|
+
props: {
|
|
41602
|
+
size: 'small'
|
|
41603
|
+
},
|
|
41604
|
+
style: {
|
|
41605
|
+
border: 'none'
|
|
41606
|
+
}
|
|
41607
|
+
}, {
|
|
41608
|
+
props: {
|
|
41609
|
+
orientation: 'horizontal'
|
|
41610
|
+
},
|
|
41611
|
+
style: {
|
|
41612
|
+
height: 'inherit',
|
|
41613
|
+
top: '50%',
|
|
41614
|
+
transform: 'translateY(-50%)'
|
|
41615
|
+
}
|
|
41616
|
+
}, {
|
|
41617
|
+
props: {
|
|
41618
|
+
orientation: 'vertical'
|
|
41619
|
+
},
|
|
41620
|
+
style: {
|
|
41621
|
+
width: 'inherit',
|
|
41622
|
+
left: '50%',
|
|
41623
|
+
transform: 'translateX(-50%)'
|
|
41624
|
+
}
|
|
41625
|
+
}, {
|
|
41626
|
+
props: {
|
|
41627
|
+
track: false
|
|
41628
|
+
},
|
|
41629
|
+
style: {
|
|
41630
|
+
display: 'none'
|
|
41631
|
+
}
|
|
41632
|
+
}].concat(_toConsumableArray(Object.keys(((_theme$vars3 = theme.vars) != null ? _theme$vars3 : theme).palette).filter(function (key) {
|
|
41633
|
+
var _theme$vars4;
|
|
41634
|
+
return ((_theme$vars4 = theme.vars) != null ? _theme$vars4 : theme).palette[key].main;
|
|
41635
|
+
}).map(function (color) {
|
|
41636
|
+
return {
|
|
41637
|
+
props: {
|
|
41638
|
+
color: color,
|
|
41639
|
+
track: 'inverted'
|
|
41640
|
+
},
|
|
41641
|
+
style: _extends({}, theme.vars ? {
|
|
41642
|
+
backgroundColor: theme.vars.palette.Slider["".concat(color, "Track")],
|
|
41643
|
+
borderColor: theme.vars.palette.Slider["".concat(color, "Track")]
|
|
41644
|
+
} : _extends({
|
|
41645
|
+
backgroundColor: lighten(theme.palette[color].main, 0.62),
|
|
41646
|
+
borderColor: lighten(theme.palette[color].main, 0.62)
|
|
41647
|
+
}, theme.applyStyles('dark', {
|
|
41648
|
+
backgroundColor: darken(theme.palette[color].main, 0.5)
|
|
41649
|
+
}), theme.applyStyles('dark', {
|
|
41650
|
+
borderColor: darken(theme.palette[color].main, 0.5)
|
|
41651
|
+
})))
|
|
41652
|
+
};
|
|
41653
|
+
})))
|
|
41654
|
+
};
|
|
41461
41655
|
});
|
|
41462
41656
|
var SliderThumb = styled$1('span', {
|
|
41463
41657
|
name: 'MuiSlider',
|
|
@@ -41467,9 +41661,9 @@
|
|
|
41467
41661
|
return [styles.thumb, styles["thumbColor".concat(capitalize(ownerState.color))], ownerState.size !== 'medium' && styles["thumbSize".concat(capitalize(ownerState.size))]];
|
|
41468
41662
|
}
|
|
41469
41663
|
})(function (_ref4) {
|
|
41470
|
-
var
|
|
41471
|
-
|
|
41472
|
-
return
|
|
41664
|
+
var _theme$vars5;
|
|
41665
|
+
var theme = _ref4.theme;
|
|
41666
|
+
return _defineProperty(_defineProperty({
|
|
41473
41667
|
position: 'absolute',
|
|
41474
41668
|
width: 20,
|
|
41475
41669
|
height: 20,
|
|
@@ -41482,27 +41676,15 @@
|
|
|
41482
41676
|
justifyContent: 'center',
|
|
41483
41677
|
transition: theme.transitions.create(['box-shadow', 'left', 'bottom'], {
|
|
41484
41678
|
duration: theme.transitions.duration.shortest
|
|
41485
|
-
})
|
|
41486
|
-
|
|
41487
|
-
width: 12,
|
|
41488
|
-
height: 12
|
|
41489
|
-
}, ownerState.orientation === 'horizontal' && {
|
|
41490
|
-
top: '50%',
|
|
41491
|
-
transform: 'translate(-50%, -50%)'
|
|
41492
|
-
}, ownerState.orientation === 'vertical' && {
|
|
41493
|
-
left: '50%',
|
|
41494
|
-
transform: 'translate(-50%, 50%)'
|
|
41495
|
-
}, _defineProperty(_defineProperty(_defineProperty({
|
|
41496
|
-
'&::before': _extends({
|
|
41679
|
+
}),
|
|
41680
|
+
'&::before': {
|
|
41497
41681
|
position: 'absolute',
|
|
41498
41682
|
content: '""',
|
|
41499
41683
|
borderRadius: 'inherit',
|
|
41500
41684
|
width: '100%',
|
|
41501
41685
|
height: '100%',
|
|
41502
41686
|
boxShadow: (theme.vars || theme).shadows[2]
|
|
41503
|
-
},
|
|
41504
|
-
boxShadow: 'none'
|
|
41505
|
-
}),
|
|
41687
|
+
},
|
|
41506
41688
|
'&::after': {
|
|
41507
41689
|
position: 'absolute',
|
|
41508
41690
|
content: '""',
|
|
@@ -41514,18 +41696,60 @@
|
|
|
41514
41696
|
left: '50%',
|
|
41515
41697
|
transform: 'translate(-50%, -50%)'
|
|
41516
41698
|
}
|
|
41517
|
-
}, "
|
|
41518
|
-
boxShadow: "0px 0px 0px 8px ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / 0.16)") : alpha(theme.palette[ownerState.color].main, 0.16)),
|
|
41519
|
-
'@media (hover: none)': {
|
|
41520
|
-
boxShadow: 'none'
|
|
41521
|
-
}
|
|
41522
|
-
}), "&.".concat(sliderClasses$1.active), {
|
|
41523
|
-
boxShadow: "0px 0px 0px 14px ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / 0.16)") : alpha(theme.palette[ownerState.color].main, 0.16))
|
|
41524
|
-
}), "&.".concat(sliderClasses$1.disabled), {
|
|
41699
|
+
}, "&.".concat(sliderClasses$1.disabled), {
|
|
41525
41700
|
'&:hover': {
|
|
41526
41701
|
boxShadow: 'none'
|
|
41527
41702
|
}
|
|
41528
|
-
}))
|
|
41703
|
+
}), "variants", [].concat(_toConsumableArray(Object.keys(((_theme$vars5 = theme.vars) != null ? _theme$vars5 : theme).palette).filter(function (key) {
|
|
41704
|
+
var _theme$vars6;
|
|
41705
|
+
return ((_theme$vars6 = theme.vars) != null ? _theme$vars6 : theme).palette[key].main;
|
|
41706
|
+
}).map(function (color) {
|
|
41707
|
+
return {
|
|
41708
|
+
props: {
|
|
41709
|
+
color: color
|
|
41710
|
+
},
|
|
41711
|
+
style: _defineProperty(_defineProperty({}, "&:hover, &.".concat(sliderClasses$1.focusVisible), _extends({}, theme.vars ? {
|
|
41712
|
+
boxShadow: "0px 0px 0px 8px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)")
|
|
41713
|
+
} : {
|
|
41714
|
+
boxShadow: "0px 0px 0px 8px ".concat(alpha(theme.palette[color].main, 0.16))
|
|
41715
|
+
}, {
|
|
41716
|
+
'@media (hover: none)': {
|
|
41717
|
+
boxShadow: 'none'
|
|
41718
|
+
}
|
|
41719
|
+
})), "&.".concat(sliderClasses$1.active), _extends({}, theme.vars ? {
|
|
41720
|
+
boxShadow: "0px 0px 0px 14px rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.16)}")
|
|
41721
|
+
} : {
|
|
41722
|
+
boxShadow: "0px 0px 0px 14px ".concat(alpha(theme.palette[color].main, 0.16))
|
|
41723
|
+
}))
|
|
41724
|
+
};
|
|
41725
|
+
})), [{
|
|
41726
|
+
props: {
|
|
41727
|
+
size: 'small'
|
|
41728
|
+
},
|
|
41729
|
+
style: {
|
|
41730
|
+
width: 12,
|
|
41731
|
+
height: 12,
|
|
41732
|
+
'&::before': {
|
|
41733
|
+
boxShadow: 'none'
|
|
41734
|
+
}
|
|
41735
|
+
}
|
|
41736
|
+
}, {
|
|
41737
|
+
props: {
|
|
41738
|
+
orientation: 'horizontal'
|
|
41739
|
+
},
|
|
41740
|
+
style: {
|
|
41741
|
+
top: '50%',
|
|
41742
|
+
transform: 'translate(-50%, -50%)'
|
|
41743
|
+
}
|
|
41744
|
+
}, {
|
|
41745
|
+
props: {
|
|
41746
|
+
orientation: 'vertical'
|
|
41747
|
+
},
|
|
41748
|
+
style: {
|
|
41749
|
+
left: '50%',
|
|
41750
|
+
transform: 'translate(-50%, 50%)'
|
|
41751
|
+
}
|
|
41752
|
+
}]));
|
|
41529
41753
|
});
|
|
41530
41754
|
var SliderValueLabel = styled$1(SliderValueLabel$1, {
|
|
41531
41755
|
name: 'MuiSlider',
|
|
@@ -41533,17 +41757,16 @@
|
|
|
41533
41757
|
overridesResolver: function overridesResolver(props, styles) {
|
|
41534
41758
|
return styles.valueLabel;
|
|
41535
41759
|
}
|
|
41536
|
-
})(function (
|
|
41537
|
-
var theme =
|
|
41538
|
-
|
|
41539
|
-
|
|
41540
|
-
|
|
41541
|
-
}
|
|
41760
|
+
})(function (_ref6) {
|
|
41761
|
+
var theme = _ref6.theme;
|
|
41762
|
+
return _extends({
|
|
41763
|
+
zIndex: 1,
|
|
41764
|
+
whiteSpace: 'nowrap'
|
|
41765
|
+
}, theme.typography.body2, {
|
|
41542
41766
|
fontWeight: 500,
|
|
41543
41767
|
transition: theme.transitions.create(['transform'], {
|
|
41544
41768
|
duration: theme.transitions.duration.shortest
|
|
41545
41769
|
}),
|
|
41546
|
-
transform: "".concat(ownerState.orientation === 'vertical' ? 'translateY(-50%)' : 'translateY(-100%)', " scale(0)"),
|
|
41547
41770
|
position: 'absolute',
|
|
41548
41771
|
backgroundColor: (theme.vars || theme).palette.grey[600],
|
|
41549
41772
|
borderRadius: 2,
|
|
@@ -41551,37 +41774,67 @@
|
|
|
41551
41774
|
display: 'flex',
|
|
41552
41775
|
alignItems: 'center',
|
|
41553
41776
|
justifyContent: 'center',
|
|
41554
|
-
padding: '0.25rem 0.75rem'
|
|
41555
|
-
|
|
41556
|
-
|
|
41557
|
-
|
|
41558
|
-
|
|
41559
|
-
|
|
41560
|
-
|
|
41561
|
-
|
|
41562
|
-
|
|
41563
|
-
|
|
41564
|
-
|
|
41565
|
-
|
|
41566
|
-
|
|
41567
|
-
|
|
41568
|
-
|
|
41569
|
-
|
|
41570
|
-
|
|
41571
|
-
|
|
41572
|
-
|
|
41573
|
-
|
|
41574
|
-
|
|
41575
|
-
|
|
41576
|
-
|
|
41577
|
-
|
|
41578
|
-
|
|
41579
|
-
|
|
41580
|
-
|
|
41581
|
-
|
|
41582
|
-
|
|
41583
|
-
|
|
41584
|
-
|
|
41777
|
+
padding: '0.25rem 0.75rem',
|
|
41778
|
+
variants: [{
|
|
41779
|
+
props: {
|
|
41780
|
+
orientation: 'horizontal'
|
|
41781
|
+
},
|
|
41782
|
+
style: _defineProperty({
|
|
41783
|
+
transform: 'translateY(-100%) scale(0)',
|
|
41784
|
+
top: '-10px',
|
|
41785
|
+
transformOrigin: 'bottom center',
|
|
41786
|
+
'&::before': {
|
|
41787
|
+
position: 'absolute',
|
|
41788
|
+
content: '""',
|
|
41789
|
+
width: 8,
|
|
41790
|
+
height: 8,
|
|
41791
|
+
transform: 'translate(-50%, 50%) rotate(45deg)',
|
|
41792
|
+
backgroundColor: 'inherit',
|
|
41793
|
+
bottom: 0,
|
|
41794
|
+
left: '50%'
|
|
41795
|
+
}
|
|
41796
|
+
}, "&.".concat(sliderClasses$1.valueLabelOpen), {
|
|
41797
|
+
transform: 'translateY(-100%) scale(1)'
|
|
41798
|
+
})
|
|
41799
|
+
}, {
|
|
41800
|
+
props: {
|
|
41801
|
+
orientation: 'vertical'
|
|
41802
|
+
},
|
|
41803
|
+
style: _defineProperty({
|
|
41804
|
+
transform: 'translateY(-50%) scale(0)',
|
|
41805
|
+
right: '30px',
|
|
41806
|
+
top: '50%',
|
|
41807
|
+
transformOrigin: 'right center',
|
|
41808
|
+
'&::before': {
|
|
41809
|
+
position: 'absolute',
|
|
41810
|
+
content: '""',
|
|
41811
|
+
width: 8,
|
|
41812
|
+
height: 8,
|
|
41813
|
+
transform: 'translate(-50%, -50%) rotate(45deg)',
|
|
41814
|
+
backgroundColor: 'inherit',
|
|
41815
|
+
right: -8,
|
|
41816
|
+
top: '50%'
|
|
41817
|
+
}
|
|
41818
|
+
}, "&.".concat(sliderClasses$1.valueLabelOpen), {
|
|
41819
|
+
transform: 'translateY(-50%) scale(1)'
|
|
41820
|
+
})
|
|
41821
|
+
}, {
|
|
41822
|
+
props: {
|
|
41823
|
+
size: 'small'
|
|
41824
|
+
},
|
|
41825
|
+
style: {
|
|
41826
|
+
fontSize: theme.typography.pxToRem(12),
|
|
41827
|
+
padding: '0.25rem 0.5rem'
|
|
41828
|
+
}
|
|
41829
|
+
}, {
|
|
41830
|
+
props: {
|
|
41831
|
+
orientation: 'vertical',
|
|
41832
|
+
size: 'small'
|
|
41833
|
+
},
|
|
41834
|
+
style: {
|
|
41835
|
+
right: '20px'
|
|
41836
|
+
}
|
|
41837
|
+
}]
|
|
41585
41838
|
});
|
|
41586
41839
|
});
|
|
41587
41840
|
var SliderMark = styled$1('span', {
|
|
@@ -41594,26 +41847,40 @@
|
|
|
41594
41847
|
var markActive = props.markActive;
|
|
41595
41848
|
return [styles.mark, markActive && styles.markActive];
|
|
41596
41849
|
}
|
|
41597
|
-
})(function (
|
|
41598
|
-
var theme =
|
|
41599
|
-
|
|
41600
|
-
markActive = _ref6.markActive;
|
|
41601
|
-
return _extends({
|
|
41850
|
+
})(function (_ref7) {
|
|
41851
|
+
var theme = _ref7.theme;
|
|
41852
|
+
return {
|
|
41602
41853
|
position: 'absolute',
|
|
41603
41854
|
width: 2,
|
|
41604
41855
|
height: 2,
|
|
41605
41856
|
borderRadius: 1,
|
|
41606
|
-
backgroundColor: 'currentColor'
|
|
41607
|
-
|
|
41608
|
-
|
|
41609
|
-
|
|
41610
|
-
|
|
41611
|
-
|
|
41612
|
-
|
|
41613
|
-
|
|
41614
|
-
|
|
41615
|
-
|
|
41616
|
-
|
|
41857
|
+
backgroundColor: 'currentColor',
|
|
41858
|
+
variants: [{
|
|
41859
|
+
props: {
|
|
41860
|
+
orientation: 'horizontal'
|
|
41861
|
+
},
|
|
41862
|
+
style: {
|
|
41863
|
+
top: '50%',
|
|
41864
|
+
transform: 'translate(-1px, -50%)'
|
|
41865
|
+
}
|
|
41866
|
+
}, {
|
|
41867
|
+
props: {
|
|
41868
|
+
orientation: 'vertical'
|
|
41869
|
+
},
|
|
41870
|
+
style: {
|
|
41871
|
+
left: '50%',
|
|
41872
|
+
transform: 'translate(-50%, 1px)'
|
|
41873
|
+
}
|
|
41874
|
+
}, {
|
|
41875
|
+
props: {
|
|
41876
|
+
markActive: true
|
|
41877
|
+
},
|
|
41878
|
+
style: {
|
|
41879
|
+
backgroundColor: (theme.vars || theme).palette.background.paper,
|
|
41880
|
+
opacity: 0.8
|
|
41881
|
+
}
|
|
41882
|
+
}]
|
|
41883
|
+
};
|
|
41617
41884
|
});
|
|
41618
41885
|
var SliderMarkLabel = styled$1('span', {
|
|
41619
41886
|
name: 'MuiSlider',
|
|
@@ -41624,28 +41891,42 @@
|
|
|
41624
41891
|
overridesResolver: function overridesResolver(props, styles) {
|
|
41625
41892
|
return styles.markLabel;
|
|
41626
41893
|
}
|
|
41627
|
-
})(function (
|
|
41628
|
-
var theme =
|
|
41629
|
-
ownerState = _ref7.ownerState,
|
|
41630
|
-
markLabelActive = _ref7.markLabelActive;
|
|
41894
|
+
})(function (_ref8) {
|
|
41895
|
+
var theme = _ref8.theme;
|
|
41631
41896
|
return _extends({}, theme.typography.body2, {
|
|
41632
41897
|
color: (theme.vars || theme).palette.text.secondary,
|
|
41633
41898
|
position: 'absolute',
|
|
41634
|
-
whiteSpace: 'nowrap'
|
|
41635
|
-
|
|
41636
|
-
|
|
41637
|
-
|
|
41638
|
-
|
|
41639
|
-
|
|
41640
|
-
|
|
41641
|
-
|
|
41642
|
-
|
|
41643
|
-
|
|
41644
|
-
|
|
41645
|
-
|
|
41646
|
-
}
|
|
41647
|
-
|
|
41648
|
-
|
|
41899
|
+
whiteSpace: 'nowrap',
|
|
41900
|
+
variants: [{
|
|
41901
|
+
props: {
|
|
41902
|
+
orientation: 'horizontal'
|
|
41903
|
+
},
|
|
41904
|
+
style: {
|
|
41905
|
+
top: 30,
|
|
41906
|
+
transform: 'translateX(-50%)',
|
|
41907
|
+
'@media (pointer: coarse)': {
|
|
41908
|
+
top: 40
|
|
41909
|
+
}
|
|
41910
|
+
}
|
|
41911
|
+
}, {
|
|
41912
|
+
props: {
|
|
41913
|
+
orientation: 'vertical'
|
|
41914
|
+
},
|
|
41915
|
+
style: {
|
|
41916
|
+
left: 36,
|
|
41917
|
+
transform: 'translateY(50%)',
|
|
41918
|
+
'@media (pointer: coarse)': {
|
|
41919
|
+
left: 44
|
|
41920
|
+
}
|
|
41921
|
+
}
|
|
41922
|
+
}, {
|
|
41923
|
+
props: {
|
|
41924
|
+
markLabelActive: true
|
|
41925
|
+
},
|
|
41926
|
+
style: {
|
|
41927
|
+
color: (theme.vars || theme).palette.text.primary
|
|
41928
|
+
}
|
|
41929
|
+
}]
|
|
41649
41930
|
});
|
|
41650
41931
|
});
|
|
41651
41932
|
var useUtilityClasses$u = function useUtilityClasses(ownerState) {
|
|
@@ -41673,18 +41954,17 @@
|
|
|
41673
41954
|
};
|
|
41674
41955
|
return composeClasses(slots, getSliderUtilityClass, classes);
|
|
41675
41956
|
};
|
|
41676
|
-
var Forward = function Forward(
|
|
41677
|
-
var children =
|
|
41957
|
+
var Forward = function Forward(_ref9) {
|
|
41958
|
+
var children = _ref9.children;
|
|
41678
41959
|
return children;
|
|
41679
41960
|
};
|
|
41680
41961
|
var Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
|
|
41681
|
-
var
|
|
41682
|
-
var props = useThemeProps$
|
|
41962
|
+
var _ref10, _slots$root, _ref11, _slots$rail, _ref12, _slots$track, _ref13, _slots$thumb, _ref14, _slots$valueLabel, _ref15, _slots$mark, _ref16, _slots$markLabel, _ref17, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
41963
|
+
var props = useThemeProps$1({
|
|
41683
41964
|
props: inputProps,
|
|
41684
41965
|
name: 'MuiSlider'
|
|
41685
41966
|
});
|
|
41686
|
-
var
|
|
41687
|
-
var isRtl = theme.direction === 'rtl';
|
|
41967
|
+
var isRtl = useRtl();
|
|
41688
41968
|
var ariaLabel = props['aria-label'],
|
|
41689
41969
|
ariaValuetext = props['aria-valuetext'],
|
|
41690
41970
|
ariaLabelledby = props['aria-labelledby'],
|
|
@@ -41778,14 +42058,14 @@
|
|
|
41778
42058
|
var classes = useUtilityClasses$u(ownerState);
|
|
41779
42059
|
|
|
41780
42060
|
// support both `slots` and `components` for backward compatibility
|
|
41781
|
-
var RootSlot = (
|
|
41782
|
-
var RailSlot = (
|
|
41783
|
-
var TrackSlot = (
|
|
41784
|
-
var ThumbSlot = (
|
|
41785
|
-
var ValueLabelSlot = (
|
|
41786
|
-
var MarkSlot = (
|
|
41787
|
-
var MarkLabelSlot = (
|
|
41788
|
-
var InputSlot = (
|
|
42061
|
+
var RootSlot = (_ref10 = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref10 : SliderRoot;
|
|
42062
|
+
var RailSlot = (_ref11 = (_slots$rail = slots == null ? void 0 : slots.rail) != null ? _slots$rail : components.Rail) != null ? _ref11 : SliderRail;
|
|
42063
|
+
var TrackSlot = (_ref12 = (_slots$track = slots == null ? void 0 : slots.track) != null ? _slots$track : components.Track) != null ? _ref12 : SliderTrack;
|
|
42064
|
+
var ThumbSlot = (_ref13 = (_slots$thumb = slots == null ? void 0 : slots.thumb) != null ? _slots$thumb : components.Thumb) != null ? _ref13 : SliderThumb;
|
|
42065
|
+
var ValueLabelSlot = (_ref14 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref14 : SliderValueLabel;
|
|
42066
|
+
var MarkSlot = (_ref15 = (_slots$mark = slots == null ? void 0 : slots.mark) != null ? _slots$mark : components.Mark) != null ? _ref15 : SliderMark;
|
|
42067
|
+
var MarkLabelSlot = (_ref16 = (_slots$markLabel = slots == null ? void 0 : slots.markLabel) != null ? _slots$markLabel : components.MarkLabel) != null ? _ref16 : SliderMarkLabel;
|
|
42068
|
+
var InputSlot = (_ref17 = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input) != null ? _ref17 : 'input';
|
|
41789
42069
|
var rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
41790
42070
|
var railSlotProps = (_slotProps$rail = slotProps == null ? void 0 : slotProps.rail) != null ? _slotProps$rail : componentsProps.rail;
|
|
41791
42071
|
var trackSlotProps = (_slotProps$track = slotProps == null ? void 0 : slotProps.track) != null ? _slotProps$track : componentsProps.track;
|
|
@@ -42257,7 +42537,7 @@
|
|
|
42257
42537
|
marginRight: -8
|
|
42258
42538
|
});
|
|
42259
42539
|
var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
|
|
42260
|
-
var props = useThemeProps$
|
|
42540
|
+
var props = useThemeProps$b({
|
|
42261
42541
|
props: inProps,
|
|
42262
42542
|
name: 'MuiSnackbarContent'
|
|
42263
42543
|
});
|
|
@@ -42379,7 +42659,7 @@
|
|
|
42379
42659
|
})));
|
|
42380
42660
|
});
|
|
42381
42661
|
var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
|
|
42382
|
-
var props = useThemeProps$
|
|
42662
|
+
var props = useThemeProps$b({
|
|
42383
42663
|
props: inProps,
|
|
42384
42664
|
name: 'MuiSnackbar'
|
|
42385
42665
|
});
|
|
@@ -42914,7 +43194,7 @@
|
|
|
42914
43194
|
});
|
|
42915
43195
|
});
|
|
42916
43196
|
var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
|
|
42917
|
-
var props = useThemeProps$
|
|
43197
|
+
var props = useThemeProps$b({
|
|
42918
43198
|
props: inProps,
|
|
42919
43199
|
name: 'MuiSpeedDial'
|
|
42920
43200
|
});
|
|
@@ -43463,17 +43743,20 @@
|
|
|
43463
43743
|
};
|
|
43464
43744
|
function composeEventHandler(handler, eventHandler) {
|
|
43465
43745
|
return function (event) {
|
|
43746
|
+
for (var _len = arguments.length, params = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
43747
|
+
params[_key - 1] = arguments[_key];
|
|
43748
|
+
}
|
|
43466
43749
|
if (eventHandler) {
|
|
43467
|
-
eventHandler(event);
|
|
43750
|
+
eventHandler.apply(void 0, [event].concat(params));
|
|
43468
43751
|
}
|
|
43469
|
-
handler(event);
|
|
43752
|
+
handler.apply(void 0, [event].concat(params));
|
|
43470
43753
|
};
|
|
43471
43754
|
}
|
|
43472
43755
|
|
|
43473
43756
|
// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
43474
43757
|
var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
|
|
43475
43758
|
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$
|
|
43759
|
+
var props = useThemeProps$b({
|
|
43477
43760
|
props: inProps,
|
|
43478
43761
|
name: 'MuiTooltip'
|
|
43479
43762
|
});
|
|
@@ -43529,7 +43812,7 @@
|
|
|
43529
43812
|
children: childrenProp
|
|
43530
43813
|
});
|
|
43531
43814
|
var theme = useTheme();
|
|
43532
|
-
var isRtl =
|
|
43815
|
+
var isRtl = useRtl();
|
|
43533
43816
|
var _React$useState = React__namespace.useState(),
|
|
43534
43817
|
childNode = _React$useState[0],
|
|
43535
43818
|
setChildNode = _React$useState[1];
|
|
@@ -44146,7 +44429,7 @@
|
|
|
44146
44429
|
});
|
|
44147
44430
|
});
|
|
44148
44431
|
var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
44149
|
-
var props = useThemeProps$
|
|
44432
|
+
var props = useThemeProps$b({
|
|
44150
44433
|
props: inProps,
|
|
44151
44434
|
name: 'MuiSpeedDialAction'
|
|
44152
44435
|
});
|
|
@@ -44340,7 +44623,7 @@
|
|
|
44340
44623
|
}));
|
|
44341
44624
|
});
|
|
44342
44625
|
var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
44343
|
-
var props = useThemeProps$
|
|
44626
|
+
var props = useThemeProps$b({
|
|
44344
44627
|
props: inProps,
|
|
44345
44628
|
name: 'MuiSpeedDialIcon'
|
|
44346
44629
|
});
|
|
@@ -44471,7 +44754,7 @@
|
|
|
44471
44754
|
});
|
|
44472
44755
|
});
|
|
44473
44756
|
var Step = /*#__PURE__*/React__namespace.forwardRef(function Step(inProps, ref) {
|
|
44474
|
-
var props = useThemeProps$
|
|
44757
|
+
var props = useThemeProps$b({
|
|
44475
44758
|
props: inProps,
|
|
44476
44759
|
name: 'MuiStep'
|
|
44477
44760
|
});
|
|
@@ -44662,7 +44945,7 @@
|
|
|
44662
44945
|
};
|
|
44663
44946
|
});
|
|
44664
44947
|
var StepIcon = /*#__PURE__*/React__namespace.forwardRef(function StepIcon(inProps, ref) {
|
|
44665
|
-
var props = useThemeProps$
|
|
44948
|
+
var props = useThemeProps$b({
|
|
44666
44949
|
props: inProps,
|
|
44667
44950
|
name: 'MuiStepIcon'
|
|
44668
44951
|
});
|
|
@@ -44861,7 +45144,7 @@
|
|
|
44861
45144
|
});
|
|
44862
45145
|
var StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
|
|
44863
45146
|
var _slotProps$label;
|
|
44864
|
-
var props = useThemeProps$
|
|
45147
|
+
var props = useThemeProps$b({
|
|
44865
45148
|
props: inProps,
|
|
44866
45149
|
name: 'MuiStepLabel'
|
|
44867
45150
|
});
|
|
@@ -45025,7 +45308,7 @@
|
|
|
45025
45308
|
}));
|
|
45026
45309
|
});
|
|
45027
45310
|
var StepButton = /*#__PURE__*/React__namespace.forwardRef(function StepButton(inProps, ref) {
|
|
45028
|
-
var props = useThemeProps$
|
|
45311
|
+
var props = useThemeProps$b({
|
|
45029
45312
|
props: inProps,
|
|
45030
45313
|
name: 'MuiStepButton'
|
|
45031
45314
|
});
|
|
@@ -45159,7 +45442,7 @@
|
|
|
45159
45442
|
});
|
|
45160
45443
|
});
|
|
45161
45444
|
var StepConnector = /*#__PURE__*/React__namespace.forwardRef(function StepConnector(inProps, ref) {
|
|
45162
|
-
var props = useThemeProps$
|
|
45445
|
+
var props = useThemeProps$b({
|
|
45163
45446
|
props: inProps,
|
|
45164
45447
|
name: 'MuiStepConnector'
|
|
45165
45448
|
});
|
|
@@ -45256,7 +45539,7 @@
|
|
|
45256
45539
|
}
|
|
45257
45540
|
})({});
|
|
45258
45541
|
var StepContent = /*#__PURE__*/React__namespace.forwardRef(function StepContent(inProps, ref) {
|
|
45259
|
-
var props = useThemeProps$
|
|
45542
|
+
var props = useThemeProps$b({
|
|
45260
45543
|
props: inProps,
|
|
45261
45544
|
name: 'MuiStepContent'
|
|
45262
45545
|
});
|
|
@@ -45388,7 +45671,7 @@
|
|
|
45388
45671
|
});
|
|
45389
45672
|
var defaultConnector = /*#__PURE__*/jsxRuntime_1(StepConnector$1, {});
|
|
45390
45673
|
var Stepper = /*#__PURE__*/React__namespace.forwardRef(function Stepper(inProps, ref) {
|
|
45391
|
-
var props = useThemeProps$
|
|
45674
|
+
var props = useThemeProps$b({
|
|
45392
45675
|
props: inProps,
|
|
45393
45676
|
name: 'MuiStepper'
|
|
45394
45677
|
});
|
|
@@ -45498,7 +45781,7 @@
|
|
|
45498
45781
|
var Stepper$1 = Stepper;
|
|
45499
45782
|
|
|
45500
45783
|
var SwipeAreaRoot = styled$1('div', {
|
|
45501
|
-
shouldForwardProp: rootShouldForwardProp
|
|
45784
|
+
shouldForwardProp: rootShouldForwardProp$1
|
|
45502
45785
|
})(function (_ref) {
|
|
45503
45786
|
var theme = _ref.theme,
|
|
45504
45787
|
ownerState = _ref.ownerState;
|
|
@@ -45654,7 +45937,7 @@
|
|
|
45654
45937
|
}
|
|
45655
45938
|
var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
45656
45939
|
var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
45657
|
-
var props = useThemeProps$
|
|
45940
|
+
var props = useThemeProps$c({
|
|
45658
45941
|
name: 'MuiSwipeableDrawer',
|
|
45659
45942
|
props: inProps
|
|
45660
45943
|
});
|
|
@@ -46165,6 +46448,7 @@
|
|
|
46165
46448
|
var switchClasses = generateUtilityClasses$1('MuiSwitch', ['root', 'edgeStart', 'edgeEnd', 'switchBase', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium', 'checked', 'disabled', 'input', 'thumb', 'track']);
|
|
46166
46449
|
var switchClasses$1 = switchClasses;
|
|
46167
46450
|
|
|
46451
|
+
var useThemeProps = createUseThemeProps();
|
|
46168
46452
|
var useUtilityClasses$g = function useUtilityClasses(ownerState) {
|
|
46169
46453
|
var classes = ownerState.classes,
|
|
46170
46454
|
edge = ownerState.edge,
|
|
@@ -46189,40 +46473,53 @@
|
|
|
46189
46473
|
var ownerState = props.ownerState;
|
|
46190
46474
|
return [styles.root, ownerState.edge && styles["edge".concat(capitalize(ownerState.edge))], styles["size".concat(capitalize(ownerState.size))]];
|
|
46191
46475
|
}
|
|
46192
|
-
})(
|
|
46193
|
-
|
|
46194
|
-
|
|
46195
|
-
|
|
46196
|
-
|
|
46197
|
-
|
|
46198
|
-
|
|
46199
|
-
|
|
46200
|
-
|
|
46201
|
-
|
|
46202
|
-
|
|
46203
|
-
|
|
46204
|
-
|
|
46205
|
-
|
|
46206
|
-
|
|
46207
|
-
|
|
46208
|
-
|
|
46476
|
+
})({
|
|
46477
|
+
display: 'inline-flex',
|
|
46478
|
+
width: 34 + 12 * 2,
|
|
46479
|
+
height: 14 + 12 * 2,
|
|
46480
|
+
overflow: 'hidden',
|
|
46481
|
+
padding: 12,
|
|
46482
|
+
boxSizing: 'border-box',
|
|
46483
|
+
position: 'relative',
|
|
46484
|
+
flexShrink: 0,
|
|
46485
|
+
zIndex: 0,
|
|
46486
|
+
// Reset the stacking context.
|
|
46487
|
+
verticalAlign: 'middle',
|
|
46488
|
+
// For correct alignment with the text.
|
|
46489
|
+
'@media print': {
|
|
46490
|
+
colorAdjust: 'exact'
|
|
46491
|
+
},
|
|
46492
|
+
variants: [{
|
|
46493
|
+
props: {
|
|
46494
|
+
edge: 'start'
|
|
46495
|
+
},
|
|
46496
|
+
style: {
|
|
46497
|
+
marginLeft: -8
|
|
46209
46498
|
}
|
|
46210
|
-
},
|
|
46211
|
-
|
|
46212
|
-
|
|
46213
|
-
|
|
46214
|
-
|
|
46215
|
-
|
|
46216
|
-
|
|
46217
|
-
|
|
46218
|
-
|
|
46219
|
-
|
|
46220
|
-
|
|
46221
|
-
|
|
46222
|
-
|
|
46223
|
-
|
|
46224
|
-
|
|
46225
|
-
|
|
46499
|
+
}, {
|
|
46500
|
+
props: {
|
|
46501
|
+
edge: 'end'
|
|
46502
|
+
},
|
|
46503
|
+
style: {
|
|
46504
|
+
marginRight: -8
|
|
46505
|
+
}
|
|
46506
|
+
}, {
|
|
46507
|
+
props: {
|
|
46508
|
+
size: 'small'
|
|
46509
|
+
},
|
|
46510
|
+
style: _defineProperty(_defineProperty({
|
|
46511
|
+
width: 40,
|
|
46512
|
+
height: 24,
|
|
46513
|
+
padding: 7
|
|
46514
|
+
}, "& .".concat(switchClasses$1.thumb), {
|
|
46515
|
+
width: 16,
|
|
46516
|
+
height: 16
|
|
46517
|
+
}), "& .".concat(switchClasses$1.switchBase), _defineProperty({
|
|
46518
|
+
padding: 4
|
|
46519
|
+
}, "&.".concat(switchClasses$1.checked), {
|
|
46520
|
+
transform: 'translateX(16px)'
|
|
46521
|
+
}))
|
|
46522
|
+
}]
|
|
46226
46523
|
});
|
|
46227
46524
|
var SwitchSwitchBase = styled$1(SwitchBase$1, {
|
|
46228
46525
|
name: 'MuiSwitch',
|
|
@@ -46231,8 +46528,8 @@
|
|
|
46231
46528
|
var ownerState = props.ownerState;
|
|
46232
46529
|
return [styles.switchBase, _defineProperty({}, "& .".concat(switchClasses$1.input), styles.input), ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))]];
|
|
46233
46530
|
}
|
|
46234
|
-
})(function (
|
|
46235
|
-
var theme =
|
|
46531
|
+
})(function (_ref2) {
|
|
46532
|
+
var theme = _ref2.theme;
|
|
46236
46533
|
return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
46237
46534
|
position: 'absolute',
|
|
46238
46535
|
top: 0,
|
|
@@ -46255,30 +46552,44 @@
|
|
|
46255
46552
|
left: '-100%',
|
|
46256
46553
|
width: '300%'
|
|
46257
46554
|
});
|
|
46258
|
-
}, function (
|
|
46259
|
-
var theme =
|
|
46260
|
-
|
|
46261
|
-
return _extends({
|
|
46555
|
+
}, function (_ref4) {
|
|
46556
|
+
var theme = _ref4.theme;
|
|
46557
|
+
return {
|
|
46262
46558
|
'&:hover': {
|
|
46263
46559
|
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
46560
|
// Reset on touch devices, it doesn't add specificity
|
|
46265
46561
|
'@media (hover: none)': {
|
|
46266
46562
|
backgroundColor: 'transparent'
|
|
46267
46563
|
}
|
|
46268
|
-
}
|
|
46269
|
-
|
|
46270
|
-
|
|
46271
|
-
|
|
46272
|
-
|
|
46273
|
-
|
|
46274
|
-
|
|
46275
|
-
|
|
46276
|
-
|
|
46277
|
-
|
|
46278
|
-
|
|
46279
|
-
|
|
46280
|
-
|
|
46281
|
-
|
|
46564
|
+
},
|
|
46565
|
+
variants: _toConsumableArray(Object.entries(theme.palette).filter(function (_ref5) {
|
|
46566
|
+
var _ref6 = _slicedToArray(_ref5, 2),
|
|
46567
|
+
value = _ref6[1];
|
|
46568
|
+
return value.main && value.light;
|
|
46569
|
+
}) // check all the used fields in the style below
|
|
46570
|
+
.map(function (_ref7) {
|
|
46571
|
+
var _ref8 = _slicedToArray(_ref7, 1),
|
|
46572
|
+
color = _ref8[0];
|
|
46573
|
+
return {
|
|
46574
|
+
props: {
|
|
46575
|
+
color: color
|
|
46576
|
+
},
|
|
46577
|
+
style: _defineProperty(_defineProperty({}, "&.".concat(switchClasses$1.checked), _defineProperty({
|
|
46578
|
+
color: (theme.vars || theme).palette[color].main,
|
|
46579
|
+
'&:hover': {
|
|
46580
|
+
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),
|
|
46581
|
+
'@media (hover: none)': {
|
|
46582
|
+
backgroundColor: 'transparent'
|
|
46583
|
+
}
|
|
46584
|
+
}
|
|
46585
|
+
}, "&.".concat(switchClasses$1.disabled), {
|
|
46586
|
+
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))
|
|
46587
|
+
})), "&.".concat(switchClasses$1.checked, " + .").concat(switchClasses$1.track), {
|
|
46588
|
+
backgroundColor: (theme.vars || theme).palette[color].main
|
|
46589
|
+
})
|
|
46590
|
+
};
|
|
46591
|
+
}))
|
|
46592
|
+
};
|
|
46282
46593
|
});
|
|
46283
46594
|
var SwitchTrack = styled$1('span', {
|
|
46284
46595
|
name: 'MuiSwitch',
|
|
@@ -46286,8 +46597,8 @@
|
|
|
46286
46597
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46287
46598
|
return styles.track;
|
|
46288
46599
|
}
|
|
46289
|
-
})(function (
|
|
46290
|
-
var theme =
|
|
46600
|
+
})(function (_ref9) {
|
|
46601
|
+
var theme = _ref9.theme;
|
|
46291
46602
|
return {
|
|
46292
46603
|
height: '100%',
|
|
46293
46604
|
width: '100%',
|
|
@@ -46306,8 +46617,8 @@
|
|
|
46306
46617
|
overridesResolver: function overridesResolver(props, styles) {
|
|
46307
46618
|
return styles.thumb;
|
|
46308
46619
|
}
|
|
46309
|
-
})(function (
|
|
46310
|
-
var theme =
|
|
46620
|
+
})(function (_ref10) {
|
|
46621
|
+
var theme = _ref10.theme;
|
|
46311
46622
|
return {
|
|
46312
46623
|
boxShadow: (theme.vars || theme).shadows[1],
|
|
46313
46624
|
backgroundColor: 'currentColor',
|
|
@@ -46317,7 +46628,7 @@
|
|
|
46317
46628
|
};
|
|
46318
46629
|
});
|
|
46319
46630
|
var Switch = /*#__PURE__*/React__namespace.forwardRef(function Switch(inProps, ref) {
|
|
46320
|
-
var props = useThemeProps
|
|
46631
|
+
var props = useThemeProps({
|
|
46321
46632
|
props: inProps,
|
|
46322
46633
|
name: 'MuiSwitch'
|
|
46323
46634
|
});
|
|
@@ -46542,7 +46853,7 @@
|
|
|
46542
46853
|
});
|
|
46543
46854
|
});
|
|
46544
46855
|
var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
|
|
46545
|
-
var props = useThemeProps$
|
|
46856
|
+
var props = useThemeProps$b({
|
|
46546
46857
|
props: inProps,
|
|
46547
46858
|
name: 'MuiTab'
|
|
46548
46859
|
});
|
|
@@ -46746,7 +47057,7 @@
|
|
|
46746
47057
|
});
|
|
46747
47058
|
var defaultComponent$4 = 'table';
|
|
46748
47059
|
var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
|
|
46749
|
-
var props = useThemeProps$
|
|
47060
|
+
var props = useThemeProps$b({
|
|
46750
47061
|
props: inProps,
|
|
46751
47062
|
name: 'MuiTable'
|
|
46752
47063
|
});
|
|
@@ -46867,7 +47178,7 @@
|
|
|
46867
47178
|
};
|
|
46868
47179
|
var defaultComponent$3 = 'tbody';
|
|
46869
47180
|
var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
|
|
46870
|
-
var props = useThemeProps$
|
|
47181
|
+
var props = useThemeProps$b({
|
|
46871
47182
|
props: inProps,
|
|
46872
47183
|
name: 'MuiTableBody'
|
|
46873
47184
|
});
|
|
@@ -47002,7 +47313,7 @@
|
|
|
47002
47313
|
* or otherwise a `<td>` element.
|
|
47003
47314
|
*/
|
|
47004
47315
|
var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
|
|
47005
|
-
var props = useThemeProps$
|
|
47316
|
+
var props = useThemeProps$b({
|
|
47006
47317
|
props: inProps,
|
|
47007
47318
|
name: 'MuiTableCell'
|
|
47008
47319
|
});
|
|
@@ -47141,7 +47452,7 @@
|
|
|
47141
47452
|
overflowX: 'auto'
|
|
47142
47453
|
});
|
|
47143
47454
|
var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
|
|
47144
|
-
var props = useThemeProps$
|
|
47455
|
+
var props = useThemeProps$b({
|
|
47145
47456
|
props: inProps,
|
|
47146
47457
|
name: 'MuiTableContainer'
|
|
47147
47458
|
});
|
|
@@ -47216,7 +47527,7 @@
|
|
|
47216
47527
|
};
|
|
47217
47528
|
var defaultComponent$2 = 'tfoot';
|
|
47218
47529
|
var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
|
|
47219
|
-
var props = useThemeProps$
|
|
47530
|
+
var props = useThemeProps$b({
|
|
47220
47531
|
props: inProps,
|
|
47221
47532
|
name: 'MuiTableFooter'
|
|
47222
47533
|
});
|
|
@@ -47295,7 +47606,7 @@
|
|
|
47295
47606
|
};
|
|
47296
47607
|
var defaultComponent$1 = 'thead';
|
|
47297
47608
|
var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
|
|
47298
|
-
var props = useThemeProps$
|
|
47609
|
+
var props = useThemeProps$b({
|
|
47299
47610
|
props: inProps,
|
|
47300
47611
|
name: 'MuiTableHead'
|
|
47301
47612
|
});
|
|
@@ -47391,7 +47702,7 @@
|
|
|
47391
47702
|
return ownerState.variant === 'regular' && theme.mixins.toolbar;
|
|
47392
47703
|
});
|
|
47393
47704
|
var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
|
|
47394
|
-
var props = useThemeProps$
|
|
47705
|
+
var props = useThemeProps$b({
|
|
47395
47706
|
props: inProps,
|
|
47396
47707
|
name: 'MuiToolbar'
|
|
47397
47708
|
});
|
|
@@ -47482,7 +47793,7 @@
|
|
|
47482
47793
|
_props$slotProps = props.slotProps,
|
|
47483
47794
|
slotProps = _props$slotProps === void 0 ? {} : _props$slotProps,
|
|
47484
47795
|
other = _objectWithoutProperties(props, ["backIconButtonProps", "count", "disabled", "getItemAriaLabel", "nextIconButtonProps", "onPageChange", "page", "rowsPerPage", "showFirstButton", "showLastButton", "slots", "slotProps"]);
|
|
47485
|
-
var
|
|
47796
|
+
var isRtl = useRtl();
|
|
47486
47797
|
var handleFirstPageButtonClick = function handleFirstPageButtonClick(event) {
|
|
47487
47798
|
onPageChange(event, 0);
|
|
47488
47799
|
};
|
|
@@ -47503,14 +47814,14 @@
|
|
|
47503
47814
|
var LastButtonIcon = (_slots$lastButtonIcon = slots.lastButtonIcon) != null ? _slots$lastButtonIcon : LastPageIconDefault;
|
|
47504
47815
|
var NextButtonIcon = (_slots$nextButtonIcon = slots.nextButtonIcon) != null ? _slots$nextButtonIcon : KeyboardArrowRight;
|
|
47505
47816
|
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 =
|
|
47817
|
+
var FirstButtonSlot = isRtl ? LastButton : FirstButton;
|
|
47818
|
+
var PreviousButtonSlot = isRtl ? NextButton : PreviousButton;
|
|
47819
|
+
var NextButtonSlot = isRtl ? PreviousButton : NextButton;
|
|
47820
|
+
var LastButtonSlot = isRtl ? FirstButton : LastButton;
|
|
47821
|
+
var firstButtonSlotProps = isRtl ? slotProps.lastButton : slotProps.firstButton;
|
|
47822
|
+
var previousButtonSlotProps = isRtl ? slotProps.nextButton : slotProps.previousButton;
|
|
47823
|
+
var nextButtonSlotProps = isRtl ? slotProps.previousButton : slotProps.nextButton;
|
|
47824
|
+
var lastButtonSlotProps = isRtl ? slotProps.firstButton : slotProps.lastButton;
|
|
47514
47825
|
return /*#__PURE__*/jsxRuntime_2("div", _extends({
|
|
47515
47826
|
ref: ref
|
|
47516
47827
|
}, other, {
|
|
@@ -47520,7 +47831,7 @@
|
|
|
47520
47831
|
"aria-label": getItemAriaLabel('first', page),
|
|
47521
47832
|
title: getItemAriaLabel('first', page)
|
|
47522
47833
|
}, firstButtonSlotProps, {
|
|
47523
|
-
children:
|
|
47834
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon)) : /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon))
|
|
47524
47835
|
})), /*#__PURE__*/jsxRuntime_1(PreviousButtonSlot, _extends({
|
|
47525
47836
|
onClick: handleBackButtonClick,
|
|
47526
47837
|
disabled: disabled || page === 0,
|
|
@@ -47528,7 +47839,7 @@
|
|
|
47528
47839
|
"aria-label": getItemAriaLabel('previous', page),
|
|
47529
47840
|
title: getItemAriaLabel('previous', page)
|
|
47530
47841
|
}, previousButtonSlotProps != null ? previousButtonSlotProps : backIconButtonProps, {
|
|
47531
|
-
children:
|
|
47842
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon)) : /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon))
|
|
47532
47843
|
})), /*#__PURE__*/jsxRuntime_1(NextButtonSlot, _extends({
|
|
47533
47844
|
onClick: handleNextButtonClick,
|
|
47534
47845
|
disabled: disabled || (count !== -1 ? page >= Math.ceil(count / rowsPerPage) - 1 : false),
|
|
@@ -47536,14 +47847,14 @@
|
|
|
47536
47847
|
"aria-label": getItemAriaLabel('next', page),
|
|
47537
47848
|
title: getItemAriaLabel('next', page)
|
|
47538
47849
|
}, nextButtonSlotProps != null ? nextButtonSlotProps : nextIconButtonProps, {
|
|
47539
|
-
children:
|
|
47850
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(PreviousButtonIcon, _extends({}, slotProps.previousButtonIcon)) : /*#__PURE__*/jsxRuntime_1(NextButtonIcon, _extends({}, slotProps.nextButtonIcon))
|
|
47540
47851
|
})), showLastButton && /*#__PURE__*/jsxRuntime_1(LastButtonSlot, _extends({
|
|
47541
47852
|
onClick: handleLastPageButtonClick,
|
|
47542
47853
|
disabled: disabled || page >= Math.ceil(count / rowsPerPage) - 1,
|
|
47543
47854
|
"aria-label": getItemAriaLabel('last', page),
|
|
47544
47855
|
title: getItemAriaLabel('last', page)
|
|
47545
47856
|
}, lastButtonSlotProps, {
|
|
47546
|
-
children:
|
|
47857
|
+
children: isRtl ? /*#__PURE__*/jsxRuntime_1(FirstButtonIcon, _extends({}, slotProps.firstButtonIcon)) : /*#__PURE__*/jsxRuntime_1(LastButtonIcon, _extends({}, slotProps.lastButtonIcon))
|
|
47547
47858
|
}))]
|
|
47548
47859
|
}));
|
|
47549
47860
|
});
|
|
@@ -47765,7 +48076,7 @@
|
|
|
47765
48076
|
*/
|
|
47766
48077
|
var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
|
|
47767
48078
|
var _slotProps$select;
|
|
47768
|
-
var props = useThemeProps$
|
|
48079
|
+
var props = useThemeProps$b({
|
|
47769
48080
|
props: inProps,
|
|
47770
48081
|
name: 'MuiTablePagination'
|
|
47771
48082
|
});
|
|
@@ -48121,7 +48432,7 @@
|
|
|
48121
48432
|
* based on the material table element parent (head, body, etc).
|
|
48122
48433
|
*/
|
|
48123
48434
|
var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
|
|
48124
|
-
var props = useThemeProps$
|
|
48435
|
+
var props = useThemeProps$b({
|
|
48125
48436
|
props: inProps,
|
|
48126
48437
|
name: 'MuiTableRow'
|
|
48127
48438
|
});
|
|
@@ -48269,7 +48580,7 @@
|
|
|
48269
48580
|
* A button based label for placing inside `TableCell` for column sorting.
|
|
48270
48581
|
*/
|
|
48271
48582
|
var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
|
|
48272
|
-
var props = useThemeProps$
|
|
48583
|
+
var props = useThemeProps$b({
|
|
48273
48584
|
props: inProps,
|
|
48274
48585
|
name: 'MuiTableSortLabel'
|
|
48275
48586
|
});
|
|
@@ -48480,7 +48791,7 @@
|
|
|
48480
48791
|
});
|
|
48481
48792
|
var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
|
|
48482
48793
|
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
48483
|
-
var props = useThemeProps$
|
|
48794
|
+
var props = useThemeProps$b({
|
|
48484
48795
|
props: inProps,
|
|
48485
48796
|
name: 'MuiTabScrollButton'
|
|
48486
48797
|
});
|
|
@@ -48493,8 +48804,7 @@
|
|
|
48493
48804
|
props.orientation;
|
|
48494
48805
|
props.disabled;
|
|
48495
48806
|
var other = _objectWithoutProperties(props, ["className", "slots", "slotProps", "direction", "orientation", "disabled"]);
|
|
48496
|
-
var
|
|
48497
|
-
var isRtl = theme.direction === 'rtl';
|
|
48807
|
+
var isRtl = useRtl();
|
|
48498
48808
|
var ownerState = _extends({
|
|
48499
48809
|
isRtl: isRtl
|
|
48500
48810
|
}, props);
|
|
@@ -48758,12 +49068,12 @@
|
|
|
48758
49068
|
var defaultIndicatorStyle = {};
|
|
48759
49069
|
var warnedOnceTabPresent = false;
|
|
48760
49070
|
var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
|
|
48761
|
-
var props = useThemeProps$
|
|
49071
|
+
var props = useThemeProps$b({
|
|
48762
49072
|
props: inProps,
|
|
48763
49073
|
name: 'MuiTabs'
|
|
48764
49074
|
});
|
|
48765
49075
|
var theme = useTheme();
|
|
48766
|
-
var isRtl =
|
|
49076
|
+
var isRtl = useRtl();
|
|
48767
49077
|
var ariaLabel = props['aria-label'],
|
|
48768
49078
|
ariaLabelledBy = props['aria-labelledby'],
|
|
48769
49079
|
action = props.action,
|
|
@@ -48875,7 +49185,7 @@
|
|
|
48875
49185
|
clientWidth: tabsNode.clientWidth,
|
|
48876
49186
|
scrollLeft: tabsNode.scrollLeft,
|
|
48877
49187
|
scrollTop: tabsNode.scrollTop,
|
|
48878
|
-
scrollLeftNormalized: getNormalizedScrollLeft(tabsNode,
|
|
49188
|
+
scrollLeftNormalized: getNormalizedScrollLeft(tabsNode, isRtl ? 'rtl' : 'ltr'),
|
|
48879
49189
|
scrollWidth: tabsNode.scrollWidth,
|
|
48880
49190
|
top: rect.top,
|
|
48881
49191
|
bottom: rect.bottom,
|
|
@@ -49469,7 +49779,7 @@
|
|
|
49469
49779
|
* - using the underlying components directly as shown in the demos
|
|
49470
49780
|
*/
|
|
49471
49781
|
var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
|
|
49472
|
-
var props = useThemeProps$
|
|
49782
|
+
var props = useThemeProps$b({
|
|
49473
49783
|
props: inProps,
|
|
49474
49784
|
name: 'MuiTextField'
|
|
49475
49785
|
});
|
|
@@ -49885,7 +50195,7 @@
|
|
|
49885
50195
|
var resolvedProps = resolveProps(_extends({}, contextProps, {
|
|
49886
50196
|
selected: isValueSelected(inProps.value, contextValue)
|
|
49887
50197
|
}), inProps);
|
|
49888
|
-
var props = useThemeProps$
|
|
50198
|
+
var props = useThemeProps$b({
|
|
49889
50199
|
props: resolvedProps,
|
|
49890
50200
|
name: 'MuiToggleButton'
|
|
49891
50201
|
});
|
|
@@ -50089,7 +50399,7 @@
|
|
|
50089
50399
|
}));
|
|
50090
50400
|
});
|
|
50091
50401
|
var ToggleButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ToggleButtonGroup(inProps, ref) {
|
|
50092
|
-
var props = useThemeProps$
|
|
50402
|
+
var props = useThemeProps$b({
|
|
50093
50403
|
props: inProps,
|
|
50094
50404
|
name: 'MuiToggleButtonGroup'
|
|
50095
50405
|
});
|
|
@@ -50758,7 +51068,7 @@
|
|
|
50758
51068
|
exports.useStepContext = useStepContext;
|
|
50759
51069
|
exports.useStepperContext = useStepperContext;
|
|
50760
51070
|
exports.useTheme = useTheme;
|
|
50761
|
-
exports.useThemeProps = useThemeProps$
|
|
51071
|
+
exports.useThemeProps = useThemeProps$b;
|
|
50762
51072
|
exports.withStyles = withStyles;
|
|
50763
51073
|
exports.withTheme = withTheme;
|
|
50764
51074
|
|