@mui/material 5.11.4 → 5.11.5
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/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/Autocomplete.d.ts +3 -3
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Box/Box.d.ts +5 -22
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/CHANGELOG.md +58 -0
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/FormControlContext.d.ts +17 -17
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControl/useFormControl.d.ts +2 -2
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +34 -34
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +37 -37
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Slider/Slider.d.ts +1 -2
- package/Slider/Slider.js +222 -63
- package/Slider/SliderValueLabel.d.ts +15 -0
- package/Slider/SliderValueLabel.js +49 -0
- package/Slider/SliderValueLabel.types.d.ts +24 -0
- package/Slider/SliderValueLabel.types.js +1 -0
- package/Slider/index.d.ts +1 -0
- package/Slider/index.js +2 -1
- package/Slider/sliderClasses.d.ts +29 -0
- package/Slider/sliderClasses.js +5 -0
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/generateUtilityClass/index.d.ts +2 -2
- package/generateUtilityClasses/index.d.ts +1 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Slider/Slider.js +251 -72
- package/legacy/Slider/SliderValueLabel.js +45 -0
- package/legacy/Slider/SliderValueLabel.types.js +1 -0
- package/legacy/Slider/index.js +2 -1
- package/legacy/Slider/sliderClasses.js +5 -0
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +230 -144
- package/legacy/styles/experimental_extendTheme.js +16 -8
- package/locale/index.d.ts +75 -74
- package/locale/index.js +85 -0
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Slider/Slider.js +221 -62
- package/modern/Slider/SliderValueLabel.js +49 -0
- package/modern/Slider/SliderValueLabel.types.js +1 -0
- package/modern/Slider/index.js +2 -1
- package/modern/Slider/sliderClasses.js +5 -0
- package/modern/index.js +1 -1
- package/modern/locale/index.js +85 -0
- package/modern/styles/experimental_extendTheme.js +16 -8
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Slider/Slider.js +228 -71
- package/node/Slider/SliderValueLabel.js +57 -0
- package/node/Slider/SliderValueLabel.types.js +5 -0
- package/node/Slider/index.js +11 -1
- package/node/Slider/sliderClasses.js +13 -0
- package/node/index.js +1 -1
- package/node/locale/index.js +87 -1
- package/node/styles/experimental_extendTheme.js +16 -8
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +16 -16
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/styles/experimental_extendTheme.js +16 -8
- package/styles/getOverlayAlpha.d.ts +2 -2
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/types/OverridableComponentAugmentation.d.ts +31 -31
- package/umd/material-ui.development.js +497 -770
- package/umd/material-ui.production.min.js +21 -21
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v5.11.
|
|
2
|
+
* @mui/material v5.11.5
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -6847,7 +6847,7 @@
|
|
|
6847
6847
|
styleFunctionSx.filterProps = ['sx'];
|
|
6848
6848
|
var styleFunctionSx$1 = styleFunctionSx;
|
|
6849
6849
|
|
|
6850
|
-
const _excluded$
|
|
6850
|
+
const _excluded$2n = ["sx"];
|
|
6851
6851
|
const splitProps = props => {
|
|
6852
6852
|
var _props$theme$unstable, _props$theme;
|
|
6853
6853
|
const result = {
|
|
@@ -6868,7 +6868,7 @@
|
|
|
6868
6868
|
const {
|
|
6869
6869
|
sx: inSx
|
|
6870
6870
|
} = props,
|
|
6871
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
6871
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2n);
|
|
6872
6872
|
const {
|
|
6873
6873
|
systemProps,
|
|
6874
6874
|
otherProps
|
|
@@ -6894,7 +6894,7 @@
|
|
|
6894
6894
|
|
|
6895
6895
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
6896
6896
|
|
|
6897
|
-
const _excluded$
|
|
6897
|
+
const _excluded$2m = ["values", "unit", "step"];
|
|
6898
6898
|
const sortBreakpointsValues = values => {
|
|
6899
6899
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
6900
6900
|
key,
|
|
@@ -6929,7 +6929,7 @@
|
|
|
6929
6929
|
unit = 'px',
|
|
6930
6930
|
step = 5
|
|
6931
6931
|
} = breakpoints,
|
|
6932
|
-
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$
|
|
6932
|
+
other = _objectWithoutPropertiesLoose(breakpoints, _excluded$2m);
|
|
6933
6933
|
const sortedValues = sortBreakpointsValues(values);
|
|
6934
6934
|
const keys = Object.keys(sortedValues);
|
|
6935
6935
|
function up(key) {
|
|
@@ -7008,7 +7008,7 @@
|
|
|
7008
7008
|
return spacing;
|
|
7009
7009
|
}
|
|
7010
7010
|
|
|
7011
|
-
const _excluded$
|
|
7011
|
+
const _excluded$2l = ["breakpoints", "palette", "spacing", "shape"];
|
|
7012
7012
|
function createTheme$1(options = {}, ...args) {
|
|
7013
7013
|
const {
|
|
7014
7014
|
breakpoints: breakpointsInput = {},
|
|
@@ -7016,7 +7016,7 @@
|
|
|
7016
7016
|
spacing: spacingInput,
|
|
7017
7017
|
shape: shapeInput = {}
|
|
7018
7018
|
} = options,
|
|
7019
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
7019
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2l);
|
|
7020
7020
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
7021
7021
|
const spacing = createSpacing(spacingInput);
|
|
7022
7022
|
let muiTheme = deepmerge({
|
|
@@ -7127,7 +7127,7 @@
|
|
|
7127
7127
|
return useTheme$2(defaultTheme);
|
|
7128
7128
|
}
|
|
7129
7129
|
|
|
7130
|
-
const _excluded$
|
|
7130
|
+
const _excluded$2k = ["className", "component"];
|
|
7131
7131
|
function createBox(options = {}) {
|
|
7132
7132
|
const {
|
|
7133
7133
|
defaultTheme,
|
|
@@ -7144,7 +7144,7 @@
|
|
|
7144
7144
|
className,
|
|
7145
7145
|
component = 'div'
|
|
7146
7146
|
} = _extendSxProp,
|
|
7147
|
-
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$
|
|
7147
|
+
other = _objectWithoutPropertiesLoose(_extendSxProp, _excluded$2k);
|
|
7148
7148
|
return /*#__PURE__*/jsxRuntime_1(BoxRoot, _extends({
|
|
7149
7149
|
as: component,
|
|
7150
7150
|
ref: ref,
|
|
@@ -7155,7 +7155,7 @@
|
|
|
7155
7155
|
return Box;
|
|
7156
7156
|
}
|
|
7157
7157
|
|
|
7158
|
-
const _excluded$
|
|
7158
|
+
const _excluded$2j = ["variant"];
|
|
7159
7159
|
function isEmpty$3(string) {
|
|
7160
7160
|
return string.length === 0;
|
|
7161
7161
|
}
|
|
@@ -7169,7 +7169,7 @@
|
|
|
7169
7169
|
const {
|
|
7170
7170
|
variant
|
|
7171
7171
|
} = props,
|
|
7172
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
7172
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2j);
|
|
7173
7173
|
let classKey = variant || '';
|
|
7174
7174
|
Object.keys(other).sort().forEach(key => {
|
|
7175
7175
|
if (key === 'color') {
|
|
@@ -7181,7 +7181,7 @@
|
|
|
7181
7181
|
return classKey;
|
|
7182
7182
|
}
|
|
7183
7183
|
|
|
7184
|
-
const _excluded$
|
|
7184
|
+
const _excluded$2i = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"],
|
|
7185
7185
|
_excluded2$c = ["theme"],
|
|
7186
7186
|
_excluded3$1 = ["theme"];
|
|
7187
7187
|
function isEmpty$2(obj) {
|
|
@@ -7268,7 +7268,7 @@
|
|
|
7268
7268
|
skipSx: inputSkipSx,
|
|
7269
7269
|
overridesResolver
|
|
7270
7270
|
} = inputOptions,
|
|
7271
|
-
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$
|
|
7271
|
+
options = _objectWithoutPropertiesLoose(inputOptions, _excluded$2i);
|
|
7272
7272
|
|
|
7273
7273
|
// if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
7274
7274
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver : componentSlot && componentSlot !== 'Root' || false;
|
|
@@ -8165,7 +8165,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8165
8165
|
});
|
|
8166
8166
|
}
|
|
8167
8167
|
|
|
8168
|
-
const _excluded$
|
|
8168
|
+
const _excluded$2h = ["colorSchemes", "components", "cssVarPrefix"];
|
|
8169
8169
|
const DISABLE_CSS_TRANSITION = '*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}';
|
|
8170
8170
|
function createCssVarsProvider(options) {
|
|
8171
8171
|
const {
|
|
@@ -8217,7 +8217,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8217
8217
|
components = {},
|
|
8218
8218
|
cssVarPrefix
|
|
8219
8219
|
} = themeProp,
|
|
8220
|
-
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$
|
|
8220
|
+
restThemeProp = _objectWithoutPropertiesLoose(themeProp, _excluded$2h);
|
|
8221
8221
|
const allColorSchemes = Object.keys(colorSchemes);
|
|
8222
8222
|
const defaultLightColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.light;
|
|
8223
8223
|
const defaultDarkColorScheme = typeof defaultColorScheme === 'string' ? defaultColorScheme : defaultColorScheme.dark;
|
|
@@ -8515,7 +8515,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8515
8515
|
return getCssVar;
|
|
8516
8516
|
}
|
|
8517
8517
|
|
|
8518
|
-
const _excluded$
|
|
8518
|
+
const _excluded$2g = ["className", "component", "disableGutters", "fixed", "maxWidth", "classes"];
|
|
8519
8519
|
const defaultTheme$5 = createTheme$1();
|
|
8520
8520
|
const defaultCreateStyledComponent$1 = systemStyled('div', {
|
|
8521
8521
|
name: 'MuiContainer',
|
|
@@ -8611,7 +8611,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8611
8611
|
fixed = false,
|
|
8612
8612
|
maxWidth = 'lg'
|
|
8613
8613
|
} = props,
|
|
8614
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8614
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$2g);
|
|
8615
8615
|
const ownerState = _extends({}, props, {
|
|
8616
8616
|
component,
|
|
8617
8617
|
disableGutters,
|
|
@@ -8876,7 +8876,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8876
8876
|
return [`direction-xs-${String(direction)}`];
|
|
8877
8877
|
};
|
|
8878
8878
|
|
|
8879
|
-
const _excluded$
|
|
8879
|
+
const _excluded$2f = ["className", "columns", "container", "component", "direction", "wrap", "spacing", "rowSpacing", "columnSpacing", "disableEqualOverflow"];
|
|
8880
8880
|
const defaultTheme$4 = createTheme$1();
|
|
8881
8881
|
|
|
8882
8882
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
@@ -8934,7 +8934,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
8934
8934
|
columnSpacing: columnSpacingProp = spacingProp,
|
|
8935
8935
|
disableEqualOverflow: themeDisableEqualOverflow
|
|
8936
8936
|
} = props,
|
|
8937
|
-
rest = _objectWithoutPropertiesLoose(props, _excluded$
|
|
8937
|
+
rest = _objectWithoutPropertiesLoose(props, _excluded$2f);
|
|
8938
8938
|
// Because `disableEqualOverflow` can be set from the theme's defaultProps, the **nested** grid should look at the instance props instead.
|
|
8939
8939
|
let disableEqualOverflow = themeDisableEqualOverflow;
|
|
8940
8940
|
if (nested && themeDisableEqualOverflow !== undefined) {
|
|
@@ -9024,7 +9024,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9024
9024
|
return Grid;
|
|
9025
9025
|
}
|
|
9026
9026
|
|
|
9027
|
-
const _excluded$
|
|
9027
|
+
const _excluded$2e = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
9028
9028
|
_excluded2$b = ["type", "mode"];
|
|
9029
9029
|
function adaptV4Theme(inputTheme) {
|
|
9030
9030
|
{
|
|
@@ -9038,7 +9038,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9038
9038
|
props = {},
|
|
9039
9039
|
styleOverrides = {}
|
|
9040
9040
|
} = inputTheme,
|
|
9041
|
-
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$
|
|
9041
|
+
other = _objectWithoutPropertiesLoose(inputTheme, _excluded$2e);
|
|
9042
9042
|
const theme = _extends({}, other, {
|
|
9043
9043
|
components: {}
|
|
9044
9044
|
});
|
|
@@ -9119,7 +9119,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9119
9119
|
}, mixins);
|
|
9120
9120
|
}
|
|
9121
9121
|
|
|
9122
|
-
const _excluded$
|
|
9122
|
+
const _excluded$2d = ["mode", "contrastThreshold", "tonalOffset"];
|
|
9123
9123
|
const light = {
|
|
9124
9124
|
// The colors used to style the text.
|
|
9125
9125
|
text: {
|
|
@@ -9288,7 +9288,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9288
9288
|
contrastThreshold = 3,
|
|
9289
9289
|
tonalOffset = 0.2
|
|
9290
9290
|
} = palette,
|
|
9291
|
-
other = _objectWithoutPropertiesLoose(palette, _excluded$
|
|
9291
|
+
other = _objectWithoutPropertiesLoose(palette, _excluded$2d);
|
|
9292
9292
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
9293
9293
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
9294
9294
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -9412,7 +9412,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9412
9412
|
return paletteOutput;
|
|
9413
9413
|
}
|
|
9414
9414
|
|
|
9415
|
-
const _excluded$
|
|
9415
|
+
const _excluded$2c = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
9416
9416
|
function round$2(value) {
|
|
9417
9417
|
return Math.round(value * 1e5) / 1e5;
|
|
9418
9418
|
}
|
|
@@ -9443,7 +9443,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9443
9443
|
allVariants,
|
|
9444
9444
|
pxToRem: pxToRem2
|
|
9445
9445
|
} = _ref,
|
|
9446
|
-
other = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
9446
|
+
other = _objectWithoutPropertiesLoose(_ref, _excluded$2c);
|
|
9447
9447
|
{
|
|
9448
9448
|
if (typeof fontSize !== 'number') {
|
|
9449
9449
|
console.error('MUI: `fontSize` is required to be a number.');
|
|
@@ -9503,7 +9503,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9503
9503
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
9504
9504
|
var shadows$1 = shadows;
|
|
9505
9505
|
|
|
9506
|
-
const _excluded$
|
|
9506
|
+
const _excluded$2b = ["duration", "easing", "delay"];
|
|
9507
9507
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
9508
9508
|
// to learn the context in which each easing should be used.
|
|
9509
9509
|
const easing = {
|
|
@@ -9554,7 +9554,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9554
9554
|
easing: easingOption = mergedEasing.easeInOut,
|
|
9555
9555
|
delay = 0
|
|
9556
9556
|
} = options,
|
|
9557
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
9557
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2b);
|
|
9558
9558
|
{
|
|
9559
9559
|
const isString = value => typeof value === 'string';
|
|
9560
9560
|
// IE11 support, replace with Number.isNaN
|
|
@@ -9601,7 +9601,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9601
9601
|
};
|
|
9602
9602
|
var zIndex$1 = zIndex;
|
|
9603
9603
|
|
|
9604
|
-
const _excluded$
|
|
9604
|
+
const _excluded$2a = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
9605
9605
|
function createTheme(options = {}, ...args) {
|
|
9606
9606
|
const {
|
|
9607
9607
|
mixins: mixinsInput = {},
|
|
@@ -9609,7 +9609,7 @@ const theme2 = createTheme({ palette: {
|
|
|
9609
9609
|
transitions: transitionsInput = {},
|
|
9610
9610
|
typography: typographyInput = {}
|
|
9611
9611
|
} = options,
|
|
9612
|
-
other = _objectWithoutPropertiesLoose(options, _excluded$
|
|
9612
|
+
other = _objectWithoutPropertiesLoose(options, _excluded$2a);
|
|
9613
9613
|
if (options.vars) {
|
|
9614
9614
|
throw new Error(`MUI: \`vars\` is a private field used for CSS variables support.
|
|
9615
9615
|
Please use another name.` );
|
|
@@ -9937,7 +9937,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
9937
9937
|
};
|
|
9938
9938
|
var getOverlayAlpha$1 = getOverlayAlpha;
|
|
9939
9939
|
|
|
9940
|
-
const _excluded$
|
|
9940
|
+
const _excluded$29 = ["colorSchemes", "cssVarPrefix"],
|
|
9941
9941
|
_excluded2$a = ["palette"];
|
|
9942
9942
|
const defaultDarkOverlays = [...Array(25)].map((_, index) => {
|
|
9943
9943
|
if (index === 0) {
|
|
@@ -9958,6 +9958,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
9958
9958
|
obj[key] = defaultValue;
|
|
9959
9959
|
}
|
|
9960
9960
|
}
|
|
9961
|
+
function setColorChannel(obj, key) {
|
|
9962
|
+
if (!(`${key}Channel` in obj)) {
|
|
9963
|
+
// custom channel token is not provided, generate one.
|
|
9964
|
+
// if channel token can't be generated, show a warning.
|
|
9965
|
+
obj[`${key}Channel`] = private_safeColorChannel(obj[key], `MUI: Can't create \`palette.${key}Channel\` because \`palette.${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.${key}Channel\` as a string (in rgb format, e.g. "12 12 12") or undefined if you want to remove the channel token.`);
|
|
9966
|
+
}
|
|
9967
|
+
}
|
|
9961
9968
|
const silent = fn => {
|
|
9962
9969
|
try {
|
|
9963
9970
|
return fn();
|
|
@@ -9973,7 +9980,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
9973
9980
|
colorSchemes: colorSchemesInput = {},
|
|
9974
9981
|
cssVarPrefix = 'mui'
|
|
9975
9982
|
} = options,
|
|
9976
|
-
input = _objectWithoutPropertiesLoose(options, _excluded$
|
|
9983
|
+
input = _objectWithoutPropertiesLoose(options, _excluded$29);
|
|
9977
9984
|
const getCssVar = createGetCssVar(cssVarPrefix);
|
|
9978
9985
|
const _createThemeWithoutVa = createTheme(_extends({}, input, colorSchemesInput.light && {
|
|
9979
9986
|
palette: (_colorSchemesInput$li = colorSchemesInput.light) == null ? void 0 : _colorSchemesInput$li.palette
|
|
@@ -10148,11 +10155,12 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10148
10155
|
setColor(palette.TableCell, 'border', private_safeDarken(private_safeAlpha(palette.divider, 1), 0.68));
|
|
10149
10156
|
setColor(palette.Tooltip, 'bg', private_safeAlpha(palette.grey[700], 0.92));
|
|
10150
10157
|
}
|
|
10151
|
-
setColor(palette.background, 'defaultChannel', private_safeColorChannel(palette.background.default, 'MUI: The value of `palette.background.default` should be one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().')); // MUI X - DataGrid needs this token.
|
|
10152
10158
|
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10159
|
+
// MUI X - DataGrid needs this token.
|
|
10160
|
+
setColorChannel(palette.background, 'default');
|
|
10161
|
+
setColorChannel(palette.common, 'background');
|
|
10162
|
+
setColorChannel(palette.common, 'onBackground');
|
|
10163
|
+
setColorChannel(palette, 'divider');
|
|
10156
10164
|
Object.keys(palette).forEach(color => {
|
|
10157
10165
|
const colors = palette[color];
|
|
10158
10166
|
|
|
@@ -10174,16 +10182,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10174
10182
|
}
|
|
10175
10183
|
if (color === 'text') {
|
|
10176
10184
|
// Text colors: text.primary, text.secondary
|
|
10177
|
-
|
|
10178
|
-
|
|
10185
|
+
setColorChannel(palette[color], 'primary');
|
|
10186
|
+
setColorChannel(palette[color], 'secondary');
|
|
10179
10187
|
}
|
|
10180
10188
|
if (color === 'action') {
|
|
10181
10189
|
// Action colors: action.active, action.selected
|
|
10182
10190
|
if (colors.active) {
|
|
10183
|
-
|
|
10191
|
+
setColorChannel(palette[color], 'active');
|
|
10184
10192
|
}
|
|
10185
10193
|
if (colors.selected) {
|
|
10186
|
-
|
|
10194
|
+
setColorChannel(palette[color], 'selected');
|
|
10187
10195
|
}
|
|
10188
10196
|
}
|
|
10189
10197
|
}
|
|
@@ -10388,7 +10396,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10388
10396
|
};
|
|
10389
10397
|
}
|
|
10390
10398
|
|
|
10391
|
-
const _excluded$
|
|
10399
|
+
const _excluded$28 = ["elementType", "externalSlotProps", "ownerState"];
|
|
10392
10400
|
/**
|
|
10393
10401
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
10394
10402
|
* It merges the internal props of the component with the ones supplied by the user, allowing to customize the behavior.
|
|
@@ -10403,7 +10411,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10403
10411
|
externalSlotProps,
|
|
10404
10412
|
ownerState
|
|
10405
10413
|
} = parameters,
|
|
10406
|
-
rest = _objectWithoutPropertiesLoose(parameters, _excluded$
|
|
10414
|
+
rest = _objectWithoutPropertiesLoose(parameters, _excluded$28);
|
|
10407
10415
|
const resolvedComponentsProps = resolveComponentProps(externalSlotProps, ownerState);
|
|
10408
10416
|
const {
|
|
10409
10417
|
props: mergedProps,
|
|
@@ -10468,7 +10476,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10468
10476
|
}
|
|
10469
10477
|
const defaultFilterOptions = createFilterOptions();
|
|
10470
10478
|
|
|
10471
|
-
// Number of options to jump in list box when
|
|
10479
|
+
// Number of options to jump in list box when `Page Up` and `Page Down` keys are used.
|
|
10472
10480
|
const pageSize = 5;
|
|
10473
10481
|
const defaultIsActiveElementInListbox = listboxRef => {
|
|
10474
10482
|
var _listboxRef$current$p;
|
|
@@ -10854,7 +10862,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
10854
10862
|
if (inputRef.current && inputRef.current.nodeName === 'TEXTAREA') {
|
|
10855
10863
|
console.warn([`A textarea element was provided to ${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 (e.g. enter and arrow keys).`, `Make sure to test keyboard navigation and add custom event handlers if necessary.`].join('\n'));
|
|
10856
10864
|
} else {
|
|
10857
|
-
console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${componentName} expects an input element.`, '', componentName === 'useAutocomplete' ? 'Make sure you have
|
|
10865
|
+
console.error([`MUI: Unable to find the input element. It was resolved to ${inputRef.current} while an HTMLInputElement was expected.`, `Instead, ${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'));
|
|
10858
10866
|
}
|
|
10859
10867
|
}
|
|
10860
10868
|
}, [componentName]);
|
|
@@ -11377,7 +11385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11377
11385
|
}
|
|
11378
11386
|
generateUtilityClasses('MuiBadge', ['root', 'badge', 'invisible']);
|
|
11379
11387
|
|
|
11380
|
-
const _excluded$
|
|
11388
|
+
const _excluded$27 = ["badgeContent", "component", "children", "invisible", "max", "slotProps", "slots", "showZero"];
|
|
11381
11389
|
const useUtilityClasses$1P = ownerState => {
|
|
11382
11390
|
const {
|
|
11383
11391
|
invisible
|
|
@@ -11407,7 +11415,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11407
11415
|
slots = {},
|
|
11408
11416
|
showZero = false
|
|
11409
11417
|
} = props,
|
|
11410
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
11418
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$27);
|
|
11411
11419
|
const {
|
|
11412
11420
|
badgeContent,
|
|
11413
11421
|
max,
|
|
@@ -11868,7 +11876,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
11868
11876
|
}
|
|
11869
11877
|
|
|
11870
11878
|
// Make sure the next tab starts from the right place.
|
|
11871
|
-
// doc.activeElement
|
|
11879
|
+
// doc.activeElement refers to the origin.
|
|
11872
11880
|
if (doc.activeElement === rootRef.current && nativeEvent.shiftKey) {
|
|
11873
11881
|
// We need to ignore the next contain as
|
|
11874
11882
|
// it will try to move the focus back to the rootRef element.
|
|
@@ -14053,7 +14061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14053
14061
|
}
|
|
14054
14062
|
generateUtilityClasses('MuiPopperUnstyled', ['root']);
|
|
14055
14063
|
|
|
14056
|
-
const _excluded$
|
|
14064
|
+
const _excluded$26 = ["anchorEl", "children", "component", "direction", "disablePortal", "modifiers", "open", "ownerState", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps"],
|
|
14057
14065
|
_excluded2$9 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
14058
14066
|
function flipPlacement(placement, direction) {
|
|
14059
14067
|
if (direction === 'ltr') {
|
|
@@ -14106,7 +14114,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14106
14114
|
slots = {},
|
|
14107
14115
|
TransitionProps
|
|
14108
14116
|
} = props,
|
|
14109
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14117
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$26);
|
|
14110
14118
|
const tooltipRef = React__namespace.useRef(null);
|
|
14111
14119
|
const ownRef = useForkRef(tooltipRef, ref);
|
|
14112
14120
|
const popperRef = React__namespace.useRef(null);
|
|
@@ -14638,7 +14646,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14638
14646
|
const modalUnstyledClasses = generateUtilityClasses('MuiModal', ['root', 'hidden']);
|
|
14639
14647
|
var modalUnstyledClasses$1 = modalUnstyledClasses;
|
|
14640
14648
|
|
|
14641
|
-
const _excluded$
|
|
14649
|
+
const _excluded$25 = ["children", "classes", "closeAfterTransition", "component", "container", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "manager", "onBackdropClick", "onClose", "onKeyDown", "open", "onTransitionEnter", "onTransitionExited", "slotProps", "slots"];
|
|
14642
14650
|
const useUtilityClasses$1N = ownerState => {
|
|
14643
14651
|
const {
|
|
14644
14652
|
open,
|
|
@@ -14710,7 +14718,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
14710
14718
|
slotProps = {},
|
|
14711
14719
|
slots = {}
|
|
14712
14720
|
} = props,
|
|
14713
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
14721
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$25);
|
|
14714
14722
|
const [exited, setExited] = React__namespace.useState(!open);
|
|
14715
14723
|
const modal = React__namespace.useRef({});
|
|
14716
14724
|
const mountNodeRef = React__namespace.useRef(null);
|
|
@@ -15084,51 +15092,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15084
15092
|
const sliderUnstyledClasses = generateUtilityClasses('MuiSlider', ['root', 'active', 'focusVisible', 'disabled', 'dragging', 'marked', 'vertical', 'trackInverted', 'trackFalse', 'rail', 'track', 'mark', 'markActive', 'markLabel', 'markLabelActive', 'thumb', 'valueLabel', 'valueLabelOpen', 'valueLabelCircle', 'valueLabelLabel']);
|
|
15085
15093
|
var sliderUnstyledClasses$1 = sliderUnstyledClasses;
|
|
15086
15094
|
|
|
15087
|
-
const useValueLabelClasses = props => {
|
|
15088
|
-
const {
|
|
15089
|
-
open
|
|
15090
|
-
} = props;
|
|
15091
|
-
const utilityClasses = {
|
|
15092
|
-
offset: clsx(open && sliderUnstyledClasses$1.valueLabelOpen),
|
|
15093
|
-
circle: sliderUnstyledClasses$1.valueLabelCircle,
|
|
15094
|
-
label: sliderUnstyledClasses$1.valueLabelLabel
|
|
15095
|
-
};
|
|
15096
|
-
return utilityClasses;
|
|
15097
|
-
};
|
|
15098
|
-
|
|
15099
|
-
/**
|
|
15100
|
-
* @ignore - internal component.
|
|
15101
|
-
*/
|
|
15102
|
-
function SliderValueLabelUnstyled(props) {
|
|
15103
|
-
const {
|
|
15104
|
-
children,
|
|
15105
|
-
className,
|
|
15106
|
-
value
|
|
15107
|
-
} = props;
|
|
15108
|
-
const classes = useValueLabelClasses(props);
|
|
15109
|
-
return /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
15110
|
-
className: clsx(children.props.className)
|
|
15111
|
-
}, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
15112
|
-
children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
|
|
15113
|
-
className: clsx(classes.offset, className),
|
|
15114
|
-
"aria-hidden": true,
|
|
15115
|
-
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
15116
|
-
className: classes.circle,
|
|
15117
|
-
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
15118
|
-
className: classes.label,
|
|
15119
|
-
children: value
|
|
15120
|
-
})
|
|
15121
|
-
})
|
|
15122
|
-
})]
|
|
15123
|
-
}));
|
|
15124
|
-
}
|
|
15125
|
-
SliderValueLabelUnstyled.propTypes = {
|
|
15126
|
-
children: PropTypes.element.isRequired,
|
|
15127
|
-
className: PropTypes.string,
|
|
15128
|
-
theme: PropTypes.any,
|
|
15129
|
-
value: PropTypes.node
|
|
15130
|
-
} ;
|
|
15131
|
-
|
|
15132
15095
|
const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
|
|
15133
15096
|
function asc(a, b) {
|
|
15134
15097
|
return a - b;
|
|
@@ -15177,7 +15140,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15177
15140
|
y: event.clientY
|
|
15178
15141
|
};
|
|
15179
15142
|
}
|
|
15180
|
-
function valueToPercent(value, min, max) {
|
|
15143
|
+
function valueToPercent$1(value, min, max) {
|
|
15181
15144
|
return (value - min) * 100 / (max - min);
|
|
15182
15145
|
}
|
|
15183
15146
|
function percentToValue(percent, min, max) {
|
|
@@ -15648,8 +15611,8 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15648
15611
|
doc.addEventListener('mousemove', handleTouchMove);
|
|
15649
15612
|
doc.addEventListener('mouseup', handleTouchEnd);
|
|
15650
15613
|
};
|
|
15651
|
-
const trackOffset = valueToPercent(range ? values[0] : min, min, max);
|
|
15652
|
-
const trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;
|
|
15614
|
+
const trackOffset = valueToPercent$1(range ? values[0] : min, min, max);
|
|
15615
|
+
const trackLeap = valueToPercent$1(values[values.length - 1], min, max) - trackOffset;
|
|
15653
15616
|
const getRootProps = (otherHandlers = {}) => {
|
|
15654
15617
|
const ownEventHandlers = {
|
|
15655
15618
|
onMouseDown: createHandleMouseDown(otherHandlers || {})
|
|
@@ -15724,444 +15687,6 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
15724
15687
|
};
|
|
15725
15688
|
}
|
|
15726
15689
|
|
|
15727
|
-
const _excluded$25 = ["aria-label", "aria-valuetext", "aria-labelledby", "className", "component", "classes", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "orientation", "scale", "step", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat", "isRtl", "slotProps", "slots"];
|
|
15728
|
-
const Identity = x => x;
|
|
15729
|
-
const useUtilityClasses$1M = ownerState => {
|
|
15730
|
-
const {
|
|
15731
|
-
disabled,
|
|
15732
|
-
dragging,
|
|
15733
|
-
marked,
|
|
15734
|
-
orientation,
|
|
15735
|
-
track,
|
|
15736
|
-
classes
|
|
15737
|
-
} = ownerState;
|
|
15738
|
-
const slots = {
|
|
15739
|
-
root: ['root', disabled && 'disabled', dragging && 'dragging', marked && 'marked', orientation === 'vertical' && 'vertical', track === 'inverted' && 'trackInverted', track === false && 'trackFalse'],
|
|
15740
|
-
rail: ['rail'],
|
|
15741
|
-
track: ['track'],
|
|
15742
|
-
mark: ['mark'],
|
|
15743
|
-
markActive: ['markActive'],
|
|
15744
|
-
markLabel: ['markLabel'],
|
|
15745
|
-
markLabelActive: ['markLabelActive'],
|
|
15746
|
-
valueLabel: ['valueLabel'],
|
|
15747
|
-
thumb: ['thumb', disabled && 'disabled'],
|
|
15748
|
-
active: ['active'],
|
|
15749
|
-
disabled: ['disabled'],
|
|
15750
|
-
focusVisible: ['focusVisible']
|
|
15751
|
-
};
|
|
15752
|
-
return composeClasses(slots, getSliderUtilityClass, classes);
|
|
15753
|
-
};
|
|
15754
|
-
const Forward = ({
|
|
15755
|
-
children
|
|
15756
|
-
}) => children;
|
|
15757
|
-
const SliderUnstyled = /*#__PURE__*/React__namespace.forwardRef(function SliderUnstyled(props, ref) {
|
|
15758
|
-
var _ref, _slots$rail, _slots$track, _slots$thumb, _slots$valueLabel, _slots$mark, _slots$markLabel;
|
|
15759
|
-
const {
|
|
15760
|
-
'aria-label': ariaLabel,
|
|
15761
|
-
'aria-valuetext': ariaValuetext,
|
|
15762
|
-
'aria-labelledby': ariaLabelledby,
|
|
15763
|
-
className,
|
|
15764
|
-
component,
|
|
15765
|
-
classes: classesProp,
|
|
15766
|
-
disableSwap = false,
|
|
15767
|
-
disabled = false,
|
|
15768
|
-
getAriaLabel,
|
|
15769
|
-
getAriaValueText,
|
|
15770
|
-
marks: marksProp = false,
|
|
15771
|
-
max = 100,
|
|
15772
|
-
min = 0,
|
|
15773
|
-
orientation = 'horizontal',
|
|
15774
|
-
scale = Identity,
|
|
15775
|
-
step = 1,
|
|
15776
|
-
track = 'normal',
|
|
15777
|
-
valueLabelDisplay = 'off',
|
|
15778
|
-
valueLabelFormat = Identity,
|
|
15779
|
-
isRtl = false,
|
|
15780
|
-
slotProps = {},
|
|
15781
|
-
slots = {}
|
|
15782
|
-
} = props,
|
|
15783
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$25);
|
|
15784
|
-
|
|
15785
|
-
// all props with defaults
|
|
15786
|
-
// consider extracting to hook an reusing the lint rule for the variants
|
|
15787
|
-
const ownerState = _extends({}, props, {
|
|
15788
|
-
marks: marksProp,
|
|
15789
|
-
classes: classesProp,
|
|
15790
|
-
disabled,
|
|
15791
|
-
isRtl,
|
|
15792
|
-
max,
|
|
15793
|
-
min,
|
|
15794
|
-
orientation,
|
|
15795
|
-
scale,
|
|
15796
|
-
step,
|
|
15797
|
-
track,
|
|
15798
|
-
valueLabelDisplay,
|
|
15799
|
-
valueLabelFormat
|
|
15800
|
-
});
|
|
15801
|
-
const {
|
|
15802
|
-
axisProps,
|
|
15803
|
-
getRootProps,
|
|
15804
|
-
getHiddenInputProps,
|
|
15805
|
-
getThumbProps,
|
|
15806
|
-
open,
|
|
15807
|
-
active,
|
|
15808
|
-
axis,
|
|
15809
|
-
range,
|
|
15810
|
-
focusedThumbIndex,
|
|
15811
|
-
dragging,
|
|
15812
|
-
marks,
|
|
15813
|
-
values,
|
|
15814
|
-
trackOffset,
|
|
15815
|
-
trackLeap
|
|
15816
|
-
} = useSlider(_extends({}, ownerState, {
|
|
15817
|
-
ref
|
|
15818
|
-
}));
|
|
15819
|
-
ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
|
|
15820
|
-
ownerState.dragging = dragging;
|
|
15821
|
-
ownerState.focusedThumbIndex = focusedThumbIndex;
|
|
15822
|
-
const classes = useUtilityClasses$1M(ownerState);
|
|
15823
|
-
const Root = (_ref = component != null ? component : slots.root) != null ? _ref : 'span';
|
|
15824
|
-
const rootProps = useSlotProps({
|
|
15825
|
-
elementType: Root,
|
|
15826
|
-
getSlotProps: getRootProps,
|
|
15827
|
-
externalSlotProps: slotProps.root,
|
|
15828
|
-
externalForwardedProps: other,
|
|
15829
|
-
ownerState,
|
|
15830
|
-
className: [classes.root, className]
|
|
15831
|
-
});
|
|
15832
|
-
const Rail = (_slots$rail = slots.rail) != null ? _slots$rail : 'span';
|
|
15833
|
-
const railProps = useSlotProps({
|
|
15834
|
-
elementType: Rail,
|
|
15835
|
-
externalSlotProps: slotProps.rail,
|
|
15836
|
-
ownerState,
|
|
15837
|
-
className: classes.rail
|
|
15838
|
-
});
|
|
15839
|
-
const Track = (_slots$track = slots.track) != null ? _slots$track : 'span';
|
|
15840
|
-
const trackProps = useSlotProps({
|
|
15841
|
-
elementType: Track,
|
|
15842
|
-
externalSlotProps: slotProps.track,
|
|
15843
|
-
additionalProps: {
|
|
15844
|
-
style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
|
|
15845
|
-
},
|
|
15846
|
-
ownerState,
|
|
15847
|
-
className: classes.track
|
|
15848
|
-
});
|
|
15849
|
-
const Thumb = (_slots$thumb = slots.thumb) != null ? _slots$thumb : 'span';
|
|
15850
|
-
const thumbProps = useSlotProps({
|
|
15851
|
-
elementType: Thumb,
|
|
15852
|
-
getSlotProps: getThumbProps,
|
|
15853
|
-
externalSlotProps: slotProps.thumb,
|
|
15854
|
-
ownerState
|
|
15855
|
-
});
|
|
15856
|
-
const ValueLabel = (_slots$valueLabel = slots.valueLabel) != null ? _slots$valueLabel : SliderValueLabelUnstyled;
|
|
15857
|
-
const valueLabelProps = useSlotProps({
|
|
15858
|
-
elementType: ValueLabel,
|
|
15859
|
-
externalSlotProps: slotProps.valueLabel,
|
|
15860
|
-
ownerState
|
|
15861
|
-
});
|
|
15862
|
-
const Mark = (_slots$mark = slots.mark) != null ? _slots$mark : 'span';
|
|
15863
|
-
const markProps = useSlotProps({
|
|
15864
|
-
elementType: Mark,
|
|
15865
|
-
externalSlotProps: slotProps.mark,
|
|
15866
|
-
ownerState,
|
|
15867
|
-
className: classes.mark
|
|
15868
|
-
});
|
|
15869
|
-
const MarkLabel = (_slots$markLabel = slots.markLabel) != null ? _slots$markLabel : 'span';
|
|
15870
|
-
const markLabelProps = useSlotProps({
|
|
15871
|
-
elementType: MarkLabel,
|
|
15872
|
-
externalSlotProps: slotProps.markLabel,
|
|
15873
|
-
ownerState
|
|
15874
|
-
});
|
|
15875
|
-
const Input = slots.input || 'input';
|
|
15876
|
-
const inputProps = useSlotProps({
|
|
15877
|
-
elementType: Input,
|
|
15878
|
-
getSlotProps: getHiddenInputProps,
|
|
15879
|
-
externalSlotProps: slotProps.input,
|
|
15880
|
-
ownerState
|
|
15881
|
-
});
|
|
15882
|
-
return /*#__PURE__*/jsxRuntime_2(Root, _extends({}, rootProps, {
|
|
15883
|
-
children: [/*#__PURE__*/jsxRuntime_1(Rail, _extends({}, railProps)), /*#__PURE__*/jsxRuntime_1(Track, _extends({}, trackProps)), marks.filter(mark => mark.value >= min && mark.value <= max).map((mark, index) => {
|
|
15884
|
-
const percent = valueToPercent(mark.value, min, max);
|
|
15885
|
-
const style = axisProps[axis].offset(percent);
|
|
15886
|
-
let markActive;
|
|
15887
|
-
if (track === false) {
|
|
15888
|
-
markActive = values.indexOf(mark.value) !== -1;
|
|
15889
|
-
} else {
|
|
15890
|
-
markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
|
|
15891
|
-
}
|
|
15892
|
-
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
15893
|
-
children: [/*#__PURE__*/jsxRuntime_1(Mark, _extends({
|
|
15894
|
-
"data-index": index
|
|
15895
|
-
}, markProps, !isHostComponent(Mark) && {
|
|
15896
|
-
markActive
|
|
15897
|
-
}, {
|
|
15898
|
-
style: _extends({}, style, markProps.style),
|
|
15899
|
-
className: clsx(markProps.className, markActive && classes.markActive)
|
|
15900
|
-
})), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabel, _extends({
|
|
15901
|
-
"aria-hidden": true,
|
|
15902
|
-
"data-index": index
|
|
15903
|
-
}, markLabelProps, !isHostComponent(MarkLabel) && {
|
|
15904
|
-
markLabelActive: markActive
|
|
15905
|
-
}, {
|
|
15906
|
-
style: _extends({}, style, markLabelProps.style),
|
|
15907
|
-
className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
|
|
15908
|
-
children: mark.label
|
|
15909
|
-
})) : null]
|
|
15910
|
-
}, index);
|
|
15911
|
-
}), values.map((value, index) => {
|
|
15912
|
-
const percent = valueToPercent(value, min, max);
|
|
15913
|
-
const style = axisProps[axis].offset(percent);
|
|
15914
|
-
const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabel;
|
|
15915
|
-
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
15916
|
-
children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
|
|
15917
|
-
valueLabelFormat,
|
|
15918
|
-
valueLabelDisplay,
|
|
15919
|
-
value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
|
|
15920
|
-
index,
|
|
15921
|
-
open: open === index || active === index || valueLabelDisplay === 'on',
|
|
15922
|
-
disabled
|
|
15923
|
-
}, valueLabelProps, {
|
|
15924
|
-
className: clsx(classes.valueLabel, valueLabelProps.className),
|
|
15925
|
-
children: /*#__PURE__*/jsxRuntime_1(Thumb, _extends({
|
|
15926
|
-
"data-index": index,
|
|
15927
|
-
"data-focusvisible": focusedThumbIndex === index
|
|
15928
|
-
}, thumbProps, {
|
|
15929
|
-
className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
|
|
15930
|
-
style: _extends({}, style, {
|
|
15931
|
-
pointerEvents: disableSwap && active !== index ? 'none' : undefined
|
|
15932
|
-
}, thumbProps.style),
|
|
15933
|
-
children: /*#__PURE__*/jsxRuntime_1(Input, _extends({
|
|
15934
|
-
"data-index": index,
|
|
15935
|
-
"aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
|
|
15936
|
-
"aria-valuenow": scale(value),
|
|
15937
|
-
"aria-labelledby": ariaLabelledby,
|
|
15938
|
-
"aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
|
|
15939
|
-
value: values[index]
|
|
15940
|
-
}, inputProps))
|
|
15941
|
-
}))
|
|
15942
|
-
}))
|
|
15943
|
-
}, index);
|
|
15944
|
-
})]
|
|
15945
|
-
}));
|
|
15946
|
-
});
|
|
15947
|
-
SliderUnstyled.propTypes /* remove-proptypes */ = {
|
|
15948
|
-
// ----------------------------- Warning --------------------------------
|
|
15949
|
-
// | These PropTypes are generated from the TypeScript type definitions |
|
|
15950
|
-
// | To update them edit the d.ts file and run "yarn proptypes" |
|
|
15951
|
-
// ----------------------------------------------------------------------
|
|
15952
|
-
/**
|
|
15953
|
-
* The label of the slider.
|
|
15954
|
-
*/
|
|
15955
|
-
'aria-label': chainPropTypes(PropTypes.string, props => {
|
|
15956
|
-
const range = Array.isArray(props.value || props.defaultValue);
|
|
15957
|
-
if (range && props['aria-label'] != null) {
|
|
15958
|
-
return new Error('MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');
|
|
15959
|
-
}
|
|
15960
|
-
return null;
|
|
15961
|
-
}),
|
|
15962
|
-
/**
|
|
15963
|
-
* The id of the element containing a label for the slider.
|
|
15964
|
-
*/
|
|
15965
|
-
'aria-labelledby': PropTypes.string,
|
|
15966
|
-
/**
|
|
15967
|
-
* A string value that provides a user-friendly name for the current value of the slider.
|
|
15968
|
-
*/
|
|
15969
|
-
'aria-valuetext': chainPropTypes(PropTypes.string, props => {
|
|
15970
|
-
const range = Array.isArray(props.value || props.defaultValue);
|
|
15971
|
-
if (range && props['aria-valuetext'] != null) {
|
|
15972
|
-
return new Error('MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');
|
|
15973
|
-
}
|
|
15974
|
-
return null;
|
|
15975
|
-
}),
|
|
15976
|
-
/**
|
|
15977
|
-
* @ignore
|
|
15978
|
-
*/
|
|
15979
|
-
children: PropTypes.node,
|
|
15980
|
-
/**
|
|
15981
|
-
* Override or extend the styles applied to the component.
|
|
15982
|
-
*/
|
|
15983
|
-
classes: PropTypes.object,
|
|
15984
|
-
/**
|
|
15985
|
-
* @ignore
|
|
15986
|
-
*/
|
|
15987
|
-
className: PropTypes.string,
|
|
15988
|
-
/**
|
|
15989
|
-
* The component used for the root node.
|
|
15990
|
-
* Either a string to use a HTML element or a component.
|
|
15991
|
-
*/
|
|
15992
|
-
component: PropTypes.elementType,
|
|
15993
|
-
/**
|
|
15994
|
-
* The default value. Use when the component is not controlled.
|
|
15995
|
-
*/
|
|
15996
|
-
defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
|
|
15997
|
-
/**
|
|
15998
|
-
* If `true`, the component is disabled.
|
|
15999
|
-
* @default false
|
|
16000
|
-
*/
|
|
16001
|
-
disabled: PropTypes.bool,
|
|
16002
|
-
/**
|
|
16003
|
-
* If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
|
|
16004
|
-
* @default false
|
|
16005
|
-
*/
|
|
16006
|
-
disableSwap: PropTypes.bool,
|
|
16007
|
-
/**
|
|
16008
|
-
* Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
|
|
16009
|
-
* This is important for screen reader users.
|
|
16010
|
-
* @param {number} index The thumb label's index to format.
|
|
16011
|
-
* @returns {string}
|
|
16012
|
-
*/
|
|
16013
|
-
getAriaLabel: PropTypes.func,
|
|
16014
|
-
/**
|
|
16015
|
-
* Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
|
|
16016
|
-
* This is important for screen reader users.
|
|
16017
|
-
* @param {number} value The thumb label's value to format.
|
|
16018
|
-
* @param {number} index The thumb label's index to format.
|
|
16019
|
-
* @returns {string}
|
|
16020
|
-
*/
|
|
16021
|
-
getAriaValueText: PropTypes.func,
|
|
16022
|
-
/**
|
|
16023
|
-
* If `true` the Slider will be rendered right-to-left (with the lowest value on the right-hand side).
|
|
16024
|
-
* @default false
|
|
16025
|
-
*/
|
|
16026
|
-
isRtl: PropTypes.bool,
|
|
16027
|
-
/**
|
|
16028
|
-
* Marks indicate predetermined values to which the user can move the slider.
|
|
16029
|
-
* If `true` the marks are spaced according the value of the `step` prop.
|
|
16030
|
-
* If an array, it should contain objects with `value` and an optional `label` keys.
|
|
16031
|
-
* @default false
|
|
16032
|
-
*/
|
|
16033
|
-
marks: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
|
|
16034
|
-
label: PropTypes.node,
|
|
16035
|
-
value: PropTypes.number.isRequired
|
|
16036
|
-
})), PropTypes.bool]),
|
|
16037
|
-
/**
|
|
16038
|
-
* The maximum allowed value of the slider.
|
|
16039
|
-
* Should not be equal to min.
|
|
16040
|
-
* @default 100
|
|
16041
|
-
*/
|
|
16042
|
-
max: PropTypes.number,
|
|
16043
|
-
/**
|
|
16044
|
-
* The minimum allowed value of the slider.
|
|
16045
|
-
* Should not be equal to max.
|
|
16046
|
-
* @default 0
|
|
16047
|
-
*/
|
|
16048
|
-
min: PropTypes.number,
|
|
16049
|
-
/**
|
|
16050
|
-
* Name attribute of the hidden `input` element.
|
|
16051
|
-
*/
|
|
16052
|
-
name: PropTypes.string,
|
|
16053
|
-
/**
|
|
16054
|
-
* Callback function that is fired when the slider's value changed.
|
|
16055
|
-
*
|
|
16056
|
-
* @param {Event} event The event source of the callback.
|
|
16057
|
-
* You can pull out the new value by accessing `event.target.value` (any).
|
|
16058
|
-
* **Warning**: This is a generic event not a change event.
|
|
16059
|
-
* @param {number | number[]} value The new value.
|
|
16060
|
-
* @param {number} activeThumb Index of the currently moved thumb.
|
|
16061
|
-
*/
|
|
16062
|
-
onChange: PropTypes.func,
|
|
16063
|
-
/**
|
|
16064
|
-
* Callback function that is fired when the `mouseup` is triggered.
|
|
16065
|
-
*
|
|
16066
|
-
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
16067
|
-
* @param {number | number[]} value The new value.
|
|
16068
|
-
*/
|
|
16069
|
-
onChangeCommitted: PropTypes.func,
|
|
16070
|
-
/**
|
|
16071
|
-
* The component orientation.
|
|
16072
|
-
* @default 'horizontal'
|
|
16073
|
-
*/
|
|
16074
|
-
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
16075
|
-
/**
|
|
16076
|
-
* A transformation function, to change the scale of the slider.
|
|
16077
|
-
* @default (x) => x
|
|
16078
|
-
*/
|
|
16079
|
-
scale: PropTypes.func,
|
|
16080
|
-
/**
|
|
16081
|
-
* The props used for each slot inside the Slider.
|
|
16082
|
-
* @default {}
|
|
16083
|
-
*/
|
|
16084
|
-
slotProps: PropTypes.shape({
|
|
16085
|
-
input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16086
|
-
mark: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16087
|
-
markLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16088
|
-
rail: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16089
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16090
|
-
thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16091
|
-
track: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
16092
|
-
valueLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.shape({
|
|
16093
|
-
children: PropTypes.element,
|
|
16094
|
-
className: PropTypes.string,
|
|
16095
|
-
open: PropTypes.bool,
|
|
16096
|
-
style: PropTypes.object,
|
|
16097
|
-
value: PropTypes.number,
|
|
16098
|
-
valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on'])
|
|
16099
|
-
})])
|
|
16100
|
-
}),
|
|
16101
|
-
/**
|
|
16102
|
-
* The components used for each slot inside the Slider.
|
|
16103
|
-
* Either a string to use a HTML element or a component.
|
|
16104
|
-
* @default {}
|
|
16105
|
-
*/
|
|
16106
|
-
slots: PropTypes.shape({
|
|
16107
|
-
input: PropTypes.elementType,
|
|
16108
|
-
mark: PropTypes.elementType,
|
|
16109
|
-
markLabel: PropTypes.elementType,
|
|
16110
|
-
rail: PropTypes.elementType,
|
|
16111
|
-
root: PropTypes.elementType,
|
|
16112
|
-
thumb: PropTypes.elementType,
|
|
16113
|
-
track: PropTypes.elementType,
|
|
16114
|
-
valueLabel: PropTypes.elementType
|
|
16115
|
-
}),
|
|
16116
|
-
/**
|
|
16117
|
-
* The granularity with which the slider can step through values. (A "discrete" slider.)
|
|
16118
|
-
* The `min` prop serves as the origin for the valid values.
|
|
16119
|
-
* We recommend (max - min) to be evenly divisible by the step.
|
|
16120
|
-
*
|
|
16121
|
-
* When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
|
|
16122
|
-
* @default 1
|
|
16123
|
-
*/
|
|
16124
|
-
step: PropTypes.number,
|
|
16125
|
-
/**
|
|
16126
|
-
* Tab index attribute of the hidden `input` element.
|
|
16127
|
-
*/
|
|
16128
|
-
tabIndex: PropTypes.number,
|
|
16129
|
-
/**
|
|
16130
|
-
* The track presentation:
|
|
16131
|
-
*
|
|
16132
|
-
* - `normal` the track will render a bar representing the slider value.
|
|
16133
|
-
* - `inverted` the track will render a bar representing the remaining slider value.
|
|
16134
|
-
* - `false` the track will render without a bar.
|
|
16135
|
-
* @default 'normal'
|
|
16136
|
-
*/
|
|
16137
|
-
track: PropTypes.oneOf(['inverted', 'normal', false]),
|
|
16138
|
-
/**
|
|
16139
|
-
* The value of the slider.
|
|
16140
|
-
* For ranged sliders, provide an array with two values.
|
|
16141
|
-
*/
|
|
16142
|
-
value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
|
|
16143
|
-
/**
|
|
16144
|
-
* Controls when the value label is displayed:
|
|
16145
|
-
*
|
|
16146
|
-
* - `auto` the value label will display when the thumb is hovered or focused.
|
|
16147
|
-
* - `on` will display persistently.
|
|
16148
|
-
* - `off` will never display.
|
|
16149
|
-
* @default 'off'
|
|
16150
|
-
*/
|
|
16151
|
-
valueLabelDisplay: PropTypes.oneOf(['auto', 'off', 'on']),
|
|
16152
|
-
/**
|
|
16153
|
-
* The format function the value label's value.
|
|
16154
|
-
*
|
|
16155
|
-
* When a function is provided, it should have the following signature:
|
|
16156
|
-
*
|
|
16157
|
-
* - {number} value The value label's value to format
|
|
16158
|
-
* - {number} index The value label's index to format
|
|
16159
|
-
* @default (x) => x
|
|
16160
|
-
*/
|
|
16161
|
-
valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
|
|
16162
|
-
} ;
|
|
16163
|
-
var SliderUnstyled$1 = SliderUnstyled;
|
|
16164
|
-
|
|
16165
15690
|
const _excluded$24 = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
16166
15691
|
function getStyleValue(computedStyle, property) {
|
|
16167
15692
|
return parseInt(computedStyle[property], 10) || 0;
|
|
@@ -16405,7 +15930,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16405
15930
|
var svgIconClasses$1 = svgIconClasses;
|
|
16406
15931
|
|
|
16407
15932
|
const _excluded$23 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
16408
|
-
const useUtilityClasses$
|
|
15933
|
+
const useUtilityClasses$1M = ownerState => {
|
|
16409
15934
|
const {
|
|
16410
15935
|
color,
|
|
16411
15936
|
fontSize,
|
|
@@ -16483,7 +16008,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
16483
16008
|
if (!inheritViewBox) {
|
|
16484
16009
|
more.viewBox = viewBox;
|
|
16485
16010
|
}
|
|
16486
|
-
const classes = useUtilityClasses$
|
|
16011
|
+
const classes = useUtilityClasses$1M(ownerState);
|
|
16487
16012
|
return /*#__PURE__*/jsxRuntime_2(SvgIconRoot, _extends({
|
|
16488
16013
|
as: component,
|
|
16489
16014
|
className: clsx(classes.root, className),
|
|
@@ -17612,7 +17137,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17612
17137
|
var collapseClasses$1 = collapseClasses;
|
|
17613
17138
|
|
|
17614
17139
|
const _excluded$22 = ["addEndListener", "children", "className", "collapsedSize", "component", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "orientation", "style", "timeout", "TransitionComponent"];
|
|
17615
|
-
const useUtilityClasses$
|
|
17140
|
+
const useUtilityClasses$1L = ownerState => {
|
|
17616
17141
|
const {
|
|
17617
17142
|
orientation,
|
|
17618
17143
|
classes
|
|
@@ -17716,7 +17241,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17716
17241
|
orientation,
|
|
17717
17242
|
collapsedSize: collapsedSizeProp
|
|
17718
17243
|
});
|
|
17719
|
-
const classes = useUtilityClasses$
|
|
17244
|
+
const classes = useUtilityClasses$1L(ownerState);
|
|
17720
17245
|
const theme = useTheme();
|
|
17721
17246
|
const timer = React__namespace.useRef();
|
|
17722
17247
|
const wrapperRef = React__namespace.useRef(null);
|
|
@@ -17980,7 +17505,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
17980
17505
|
var paperClasses$1 = paperClasses;
|
|
17981
17506
|
|
|
17982
17507
|
const _excluded$21 = ["className", "component", "elevation", "square", "variant"];
|
|
17983
|
-
const useUtilityClasses$
|
|
17508
|
+
const useUtilityClasses$1K = ownerState => {
|
|
17984
17509
|
const {
|
|
17985
17510
|
square,
|
|
17986
17511
|
elevation,
|
|
@@ -18041,7 +17566,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18041
17566
|
square,
|
|
18042
17567
|
variant
|
|
18043
17568
|
});
|
|
18044
|
-
const classes = useUtilityClasses$
|
|
17569
|
+
const classes = useUtilityClasses$1K(ownerState);
|
|
18045
17570
|
{
|
|
18046
17571
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
18047
17572
|
const theme = useTheme();
|
|
@@ -18127,7 +17652,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18127
17652
|
var accordionClasses$1 = accordionClasses;
|
|
18128
17653
|
|
|
18129
17654
|
const _excluded$20 = ["children", "className", "defaultExpanded", "disabled", "disableGutters", "expanded", "onChange", "square", "TransitionComponent", "TransitionProps"];
|
|
18130
|
-
const useUtilityClasses$
|
|
17655
|
+
const useUtilityClasses$1J = ownerState => {
|
|
18131
17656
|
const {
|
|
18132
17657
|
classes,
|
|
18133
17658
|
square,
|
|
@@ -18265,7 +17790,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18265
17790
|
disableGutters,
|
|
18266
17791
|
expanded
|
|
18267
17792
|
});
|
|
18268
|
-
const classes = useUtilityClasses$
|
|
17793
|
+
const classes = useUtilityClasses$1J(ownerState);
|
|
18269
17794
|
return /*#__PURE__*/jsxRuntime_2(AccordionRoot, _extends({
|
|
18270
17795
|
className: clsx(classes.root, className),
|
|
18271
17796
|
ref: ref,
|
|
@@ -18372,7 +17897,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18372
17897
|
var accordionActionsClasses$1 = accordionActionsClasses;
|
|
18373
17898
|
|
|
18374
17899
|
const _excluded$1$ = ["className", "disableSpacing"];
|
|
18375
|
-
const useUtilityClasses$
|
|
17900
|
+
const useUtilityClasses$1I = ownerState => {
|
|
18376
17901
|
const {
|
|
18377
17902
|
classes,
|
|
18378
17903
|
disableSpacing
|
|
@@ -18416,7 +17941,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18416
17941
|
const ownerState = _extends({}, props, {
|
|
18417
17942
|
disableSpacing
|
|
18418
17943
|
});
|
|
18419
|
-
const classes = useUtilityClasses$
|
|
17944
|
+
const classes = useUtilityClasses$1I(ownerState);
|
|
18420
17945
|
return /*#__PURE__*/jsxRuntime_1(AccordionActionsRoot, _extends({
|
|
18421
17946
|
className: clsx(classes.root, className),
|
|
18422
17947
|
ref: ref,
|
|
@@ -18459,7 +17984,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18459
17984
|
var accordionDetailsClasses$1 = accordionDetailsClasses;
|
|
18460
17985
|
|
|
18461
17986
|
const _excluded$1_ = ["className"];
|
|
18462
|
-
const useUtilityClasses$
|
|
17987
|
+
const useUtilityClasses$1H = ownerState => {
|
|
18463
17988
|
const {
|
|
18464
17989
|
classes
|
|
18465
17990
|
} = ownerState;
|
|
@@ -18487,7 +18012,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18487
18012
|
} = props,
|
|
18488
18013
|
other = _objectWithoutPropertiesLoose(props, _excluded$1_);
|
|
18489
18014
|
const ownerState = props;
|
|
18490
|
-
const classes = useUtilityClasses$
|
|
18015
|
+
const classes = useUtilityClasses$1H(ownerState);
|
|
18491
18016
|
return /*#__PURE__*/jsxRuntime_1(AccordionDetailsRoot, _extends({
|
|
18492
18017
|
className: clsx(classes.root, className),
|
|
18493
18018
|
ref: ref,
|
|
@@ -18934,7 +18459,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
18934
18459
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
18935
18460
|
|
|
18936
18461
|
const _excluded$1Y = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
18937
|
-
const useUtilityClasses$
|
|
18462
|
+
const useUtilityClasses$1G = ownerState => {
|
|
18938
18463
|
const {
|
|
18939
18464
|
disabled,
|
|
18940
18465
|
focusVisible,
|
|
@@ -19202,7 +18727,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19202
18727
|
tabIndex,
|
|
19203
18728
|
focusVisible
|
|
19204
18729
|
});
|
|
19205
|
-
const classes = useUtilityClasses$
|
|
18730
|
+
const classes = useUtilityClasses$1G(ownerState);
|
|
19206
18731
|
return /*#__PURE__*/jsxRuntime_2(ButtonBaseRoot, _extends({
|
|
19207
18732
|
as: ComponentProp,
|
|
19208
18733
|
className: clsx(classes.root, className),
|
|
@@ -19400,7 +18925,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19400
18925
|
var accordionSummaryClasses$1 = accordionSummaryClasses;
|
|
19401
18926
|
|
|
19402
18927
|
const _excluded$1X = ["children", "className", "expandIcon", "focusVisibleClassName", "onClick"];
|
|
19403
|
-
const useUtilityClasses$
|
|
18928
|
+
const useUtilityClasses$1F = ownerState => {
|
|
19404
18929
|
const {
|
|
19405
18930
|
classes,
|
|
19406
18931
|
expanded,
|
|
@@ -19514,7 +19039,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19514
19039
|
disabled,
|
|
19515
19040
|
disableGutters
|
|
19516
19041
|
});
|
|
19517
|
-
const classes = useUtilityClasses$
|
|
19042
|
+
const classes = useUtilityClasses$1F(ownerState);
|
|
19518
19043
|
return /*#__PURE__*/jsxRuntime_2(AccordionSummaryRoot, _extends({
|
|
19519
19044
|
focusRipple: false,
|
|
19520
19045
|
disableRipple: true,
|
|
@@ -19592,7 +19117,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19592
19117
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
19593
19118
|
|
|
19594
19119
|
const _excluded$1W = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
19595
|
-
const useUtilityClasses$
|
|
19120
|
+
const useUtilityClasses$1E = ownerState => {
|
|
19596
19121
|
const {
|
|
19597
19122
|
classes,
|
|
19598
19123
|
disabled,
|
|
@@ -19700,7 +19225,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19700
19225
|
disableFocusRipple,
|
|
19701
19226
|
size
|
|
19702
19227
|
});
|
|
19703
|
-
const classes = useUtilityClasses$
|
|
19228
|
+
const classes = useUtilityClasses$1E(ownerState);
|
|
19704
19229
|
return /*#__PURE__*/jsxRuntime_1(IconButtonRoot, _extends({
|
|
19705
19230
|
className: clsx(classes.root, className),
|
|
19706
19231
|
centerRipple: true,
|
|
@@ -19802,7 +19327,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19802
19327
|
}), 'Close');
|
|
19803
19328
|
|
|
19804
19329
|
const _excluded$1V = ["action", "children", "className", "closeText", "color", "components", "componentsProps", "icon", "iconMapping", "onClose", "role", "severity", "slotProps", "slots", "variant"];
|
|
19805
|
-
const useUtilityClasses$
|
|
19330
|
+
const useUtilityClasses$1D = ownerState => {
|
|
19806
19331
|
const {
|
|
19807
19332
|
variant,
|
|
19808
19333
|
color,
|
|
@@ -19937,7 +19462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
19937
19462
|
severity,
|
|
19938
19463
|
variant
|
|
19939
19464
|
});
|
|
19940
|
-
const classes = useUtilityClasses$
|
|
19465
|
+
const classes = useUtilityClasses$1D(ownerState);
|
|
19941
19466
|
const AlertCloseButton = (_ref = (_slots$closeButton = slots.closeButton) != null ? _slots$closeButton : components.CloseButton) != null ? _ref : IconButton$1;
|
|
19942
19467
|
const AlertCloseIcon = (_ref2 = (_slots$closeIcon = slots.closeIcon) != null ? _slots$closeIcon : components.CloseIcon) != null ? _ref2 : ClearIcon;
|
|
19943
19468
|
const closeButtonProps = (_slotProps$closeButto = slotProps.closeButton) != null ? _slotProps$closeButto : componentsProps.closeButton;
|
|
@@ -20113,7 +19638,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20113
19638
|
var typographyClasses$1 = typographyClasses;
|
|
20114
19639
|
|
|
20115
19640
|
const _excluded$1U = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
20116
|
-
const useUtilityClasses$
|
|
19641
|
+
const useUtilityClasses$1C = ownerState => {
|
|
20117
19642
|
const {
|
|
20118
19643
|
align,
|
|
20119
19644
|
gutterBottom,
|
|
@@ -20209,7 +19734,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20209
19734
|
variantMapping
|
|
20210
19735
|
});
|
|
20211
19736
|
const Component = component || (paragraph ? 'p' : variantMapping[variant] || defaultVariantMapping[variant]) || 'span';
|
|
20212
|
-
const classes = useUtilityClasses$
|
|
19737
|
+
const classes = useUtilityClasses$1C(ownerState);
|
|
20213
19738
|
return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
|
|
20214
19739
|
as: Component,
|
|
20215
19740
|
ref: ref,
|
|
@@ -20301,7 +19826,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20301
19826
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
20302
19827
|
|
|
20303
19828
|
const _excluded$1T = ["className"];
|
|
20304
|
-
const useUtilityClasses$
|
|
19829
|
+
const useUtilityClasses$1B = ownerState => {
|
|
20305
19830
|
const {
|
|
20306
19831
|
classes
|
|
20307
19832
|
} = ownerState;
|
|
@@ -20332,7 +19857,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20332
19857
|
} = props,
|
|
20333
19858
|
other = _objectWithoutPropertiesLoose(props, _excluded$1T);
|
|
20334
19859
|
const ownerState = props;
|
|
20335
|
-
const classes = useUtilityClasses$
|
|
19860
|
+
const classes = useUtilityClasses$1B(ownerState);
|
|
20336
19861
|
return /*#__PURE__*/jsxRuntime_1(AlertTitleRoot, _extends({
|
|
20337
19862
|
gutterBottom: true,
|
|
20338
19863
|
component: "div",
|
|
@@ -20372,7 +19897,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20372
19897
|
var appBarClasses$1 = appBarClasses;
|
|
20373
19898
|
|
|
20374
19899
|
const _excluded$1S = ["className", "color", "enableColorOnDark", "position"];
|
|
20375
|
-
const useUtilityClasses$
|
|
19900
|
+
const useUtilityClasses$1A = ownerState => {
|
|
20376
19901
|
const {
|
|
20377
19902
|
color,
|
|
20378
19903
|
position,
|
|
@@ -20483,7 +20008,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20483
20008
|
position,
|
|
20484
20009
|
enableColorOnDark
|
|
20485
20010
|
});
|
|
20486
|
-
const classes = useUtilityClasses$
|
|
20011
|
+
const classes = useUtilityClasses$1A(ownerState);
|
|
20487
20012
|
return /*#__PURE__*/jsxRuntime_1(AppBarRoot, _extends({
|
|
20488
20013
|
square: true,
|
|
20489
20014
|
component: "header",
|
|
@@ -20716,7 +20241,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20716
20241
|
var listSubheaderClasses$1 = listSubheaderClasses;
|
|
20717
20242
|
|
|
20718
20243
|
const _excluded$1Q = ["className", "color", "component", "disableGutters", "disableSticky", "inset"];
|
|
20719
|
-
const useUtilityClasses$
|
|
20244
|
+
const useUtilityClasses$1z = ownerState => {
|
|
20720
20245
|
const {
|
|
20721
20246
|
classes,
|
|
20722
20247
|
color,
|
|
@@ -20785,7 +20310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20785
20310
|
disableSticky,
|
|
20786
20311
|
inset
|
|
20787
20312
|
});
|
|
20788
|
-
const classes = useUtilityClasses$
|
|
20313
|
+
const classes = useUtilityClasses$1z(ownerState);
|
|
20789
20314
|
return /*#__PURE__*/jsxRuntime_1(ListSubheaderRoot, _extends({
|
|
20790
20315
|
as: component,
|
|
20791
20316
|
className: clsx(classes.root, className),
|
|
@@ -20853,7 +20378,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
20853
20378
|
var chipClasses$1 = chipClasses;
|
|
20854
20379
|
|
|
20855
20380
|
const _excluded$1P = ["avatar", "className", "clickable", "color", "component", "deleteIcon", "disabled", "icon", "label", "onClick", "onDelete", "onKeyDown", "onKeyUp", "size", "variant", "tabIndex", "skipFocusWhenDisabled"];
|
|
20856
|
-
const useUtilityClasses$
|
|
20381
|
+
const useUtilityClasses$1y = ownerState => {
|
|
20857
20382
|
const {
|
|
20858
20383
|
classes,
|
|
20859
20384
|
disabled,
|
|
@@ -21179,7 +20704,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21179
20704
|
clickable,
|
|
21180
20705
|
variant
|
|
21181
20706
|
});
|
|
21182
|
-
const classes = useUtilityClasses$
|
|
20707
|
+
const classes = useUtilityClasses$1y(ownerState);
|
|
21183
20708
|
const moreProps = component === ButtonBase$1 ? _extends({
|
|
21184
20709
|
component: ComponentProp || 'div',
|
|
21185
20710
|
focusVisibleClassName: classes.focusVisible
|
|
@@ -21432,7 +20957,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21432
20957
|
} = props;
|
|
21433
20958
|
return [styles.input, ownerState.size === 'small' && styles.inputSizeSmall, ownerState.multiline && styles.inputMultiline, ownerState.type === 'search' && styles.inputTypeSearch, ownerState.startAdornment && styles.inputAdornedStart, ownerState.endAdornment && styles.inputAdornedEnd, ownerState.hiddenLabel && styles.inputHiddenLabel];
|
|
21434
20959
|
};
|
|
21435
|
-
const useUtilityClasses$
|
|
20960
|
+
const useUtilityClasses$1x = ownerState => {
|
|
21436
20961
|
const {
|
|
21437
20962
|
classes,
|
|
21438
20963
|
color,
|
|
@@ -21824,7 +21349,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
21824
21349
|
startAdornment,
|
|
21825
21350
|
type
|
|
21826
21351
|
});
|
|
21827
|
-
const classes = useUtilityClasses$
|
|
21352
|
+
const classes = useUtilityClasses$1x(ownerState);
|
|
21828
21353
|
const Root = slots.root || components.Root || InputBaseRoot;
|
|
21829
21354
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
21830
21355
|
const Input = slots.input || components.Input || InputBaseComponent;
|
|
@@ -22136,7 +21661,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22136
21661
|
|
|
22137
21662
|
var _ClearIcon, _ArrowDropDownIcon;
|
|
22138
21663
|
const _excluded$1N = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "ChipProps", "className", "clearIcon", "clearOnBlur", "clearOnEscape", "clearText", "closeText", "componentsProps", "defaultValue", "disableClearable", "disableCloseOnSelect", "disabled", "disabledItemsFocusable", "disableListWrap", "disablePortal", "filterOptions", "filterSelectedOptions", "forcePopupIcon", "freeSolo", "fullWidth", "getLimitTagsText", "getOptionDisabled", "getOptionLabel", "isOptionEqualToValue", "groupBy", "handleHomeEndKeys", "id", "includeInputInList", "inputValue", "limitTags", "ListboxComponent", "ListboxProps", "loading", "loadingText", "multiple", "noOptionsText", "onChange", "onClose", "onHighlightChange", "onInputChange", "onOpen", "open", "openOnFocus", "openText", "options", "PaperComponent", "PopperComponent", "popupIcon", "readOnly", "renderGroup", "renderInput", "renderOption", "renderTags", "selectOnFocus", "size", "slotProps", "value"];
|
|
22139
|
-
const useUtilityClasses$
|
|
21664
|
+
const useUtilityClasses$1w = ownerState => {
|
|
22140
21665
|
const {
|
|
22141
21666
|
classes,
|
|
22142
21667
|
disablePortal,
|
|
@@ -22559,7 +22084,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
22559
22084
|
popupOpen,
|
|
22560
22085
|
size
|
|
22561
22086
|
});
|
|
22562
|
-
const classes = useUtilityClasses$
|
|
22087
|
+
const classes = useUtilityClasses$1w(ownerState);
|
|
22563
22088
|
let startAdornment;
|
|
22564
22089
|
if (multiple && value.length > 0) {
|
|
22565
22090
|
const getCustomizedTagProps = params => _extends({
|
|
@@ -23138,7 +22663,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23138
22663
|
var avatarClasses$1 = avatarClasses;
|
|
23139
22664
|
|
|
23140
22665
|
const _excluded$1M = ["alt", "children", "className", "component", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
23141
|
-
const useUtilityClasses$
|
|
22666
|
+
const useUtilityClasses$1v = ownerState => {
|
|
23142
22667
|
const {
|
|
23143
22668
|
classes,
|
|
23144
22669
|
variant,
|
|
@@ -23280,7 +22805,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23280
22805
|
component,
|
|
23281
22806
|
variant
|
|
23282
22807
|
});
|
|
23283
|
-
const classes = useUtilityClasses$
|
|
22808
|
+
const classes = useUtilityClasses$1v(ownerState);
|
|
23284
22809
|
if (hasImgNotFailing) {
|
|
23285
22810
|
children = /*#__PURE__*/jsxRuntime_1(AvatarImg, _extends({
|
|
23286
22811
|
alt: alt,
|
|
@@ -23377,7 +22902,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23377
22902
|
small: -16,
|
|
23378
22903
|
medium: null
|
|
23379
22904
|
};
|
|
23380
|
-
const useUtilityClasses$
|
|
22905
|
+
const useUtilityClasses$1u = ownerState => {
|
|
23381
22906
|
const {
|
|
23382
22907
|
classes
|
|
23383
22908
|
} = ownerState;
|
|
@@ -23446,7 +22971,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23446
22971
|
component,
|
|
23447
22972
|
variant
|
|
23448
22973
|
});
|
|
23449
|
-
const classes = useUtilityClasses$
|
|
22974
|
+
const classes = useUtilityClasses$1u(ownerState);
|
|
23450
22975
|
const children = React__namespace.Children.toArray(childrenProp).filter(child => {
|
|
23451
22976
|
{
|
|
23452
22977
|
if (reactIs_2(child)) {
|
|
@@ -23769,7 +23294,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23769
23294
|
var backdropClasses$1 = backdropClasses;
|
|
23770
23295
|
|
|
23771
23296
|
const _excluded$1J = ["children", "component", "components", "componentsProps", "className", "invisible", "open", "slotProps", "slots", "transitionDuration", "TransitionComponent"];
|
|
23772
|
-
const useUtilityClasses$
|
|
23297
|
+
const useUtilityClasses$1t = ownerState => {
|
|
23773
23298
|
const {
|
|
23774
23299
|
classes,
|
|
23775
23300
|
invisible
|
|
@@ -23829,7 +23354,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23829
23354
|
component,
|
|
23830
23355
|
invisible
|
|
23831
23356
|
});
|
|
23832
|
-
const classes = useUtilityClasses$
|
|
23357
|
+
const classes = useUtilityClasses$1t(ownerState);
|
|
23833
23358
|
const rootSlotProps = (_slotProps$root = slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
23834
23359
|
return /*#__PURE__*/jsxRuntime_1(TransitionComponent, _extends({
|
|
23835
23360
|
in: open,
|
|
@@ -23955,7 +23480,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
23955
23480
|
const _excluded$1I = ["anchorOrigin", "className", "component", "components", "componentsProps", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
|
|
23956
23481
|
const RADIUS_STANDARD = 10;
|
|
23957
23482
|
const RADIUS_DOT = 4;
|
|
23958
|
-
const useUtilityClasses$
|
|
23483
|
+
const useUtilityClasses$1s = ownerState => {
|
|
23959
23484
|
const {
|
|
23960
23485
|
color,
|
|
23961
23486
|
anchorOrigin,
|
|
@@ -24143,7 +23668,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24143
23668
|
overlap,
|
|
24144
23669
|
variant
|
|
24145
23670
|
});
|
|
24146
|
-
const classes = useUtilityClasses$
|
|
23671
|
+
const classes = useUtilityClasses$1s(ownerState);
|
|
24147
23672
|
let displayValue;
|
|
24148
23673
|
if (variant !== 'dot') {
|
|
24149
23674
|
displayValue = badgeContentProp && Number(badgeContentProp) > max ? `${max}+` : badgeContentProp;
|
|
@@ -24314,7 +23839,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24314
23839
|
var bottomNavigationClasses$1 = bottomNavigationClasses;
|
|
24315
23840
|
|
|
24316
23841
|
const _excluded$1H = ["children", "className", "component", "onChange", "showLabels", "value"];
|
|
24317
|
-
const useUtilityClasses$
|
|
23842
|
+
const useUtilityClasses$1r = ownerState => {
|
|
24318
23843
|
const {
|
|
24319
23844
|
classes
|
|
24320
23845
|
} = ownerState;
|
|
@@ -24353,7 +23878,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24353
23878
|
component,
|
|
24354
23879
|
showLabels
|
|
24355
23880
|
});
|
|
24356
|
-
const classes = useUtilityClasses$
|
|
23881
|
+
const classes = useUtilityClasses$1r(ownerState);
|
|
24357
23882
|
return /*#__PURE__*/jsxRuntime_1(BottomNavigationRoot, _extends({
|
|
24358
23883
|
as: component,
|
|
24359
23884
|
className: clsx(classes.root, className),
|
|
@@ -24432,7 +23957,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24432
23957
|
var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
|
|
24433
23958
|
|
|
24434
23959
|
const _excluded$1G = ["className", "icon", "label", "onChange", "onClick", "selected", "showLabel", "value"];
|
|
24435
|
-
const useUtilityClasses$
|
|
23960
|
+
const useUtilityClasses$1q = ownerState => {
|
|
24436
23961
|
const {
|
|
24437
23962
|
classes,
|
|
24438
23963
|
showLabel,
|
|
@@ -24511,7 +24036,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24511
24036
|
} = props,
|
|
24512
24037
|
other = _objectWithoutPropertiesLoose(props, _excluded$1G);
|
|
24513
24038
|
const ownerState = props;
|
|
24514
|
-
const classes = useUtilityClasses$
|
|
24039
|
+
const classes = useUtilityClasses$1q(ownerState);
|
|
24515
24040
|
const handleChange = event => {
|
|
24516
24041
|
if (onChange) {
|
|
24517
24042
|
onChange(event, value);
|
|
@@ -24680,7 +24205,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24680
24205
|
var breadcrumbsClasses$1 = breadcrumbsClasses;
|
|
24681
24206
|
|
|
24682
24207
|
const _excluded$1F = ["children", "className", "component", "expandText", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "separator"];
|
|
24683
|
-
const useUtilityClasses$
|
|
24208
|
+
const useUtilityClasses$1p = ownerState => {
|
|
24684
24209
|
const {
|
|
24685
24210
|
classes
|
|
24686
24211
|
} = ownerState;
|
|
@@ -24764,7 +24289,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24764
24289
|
maxItems,
|
|
24765
24290
|
separator
|
|
24766
24291
|
});
|
|
24767
|
-
const classes = useUtilityClasses$
|
|
24292
|
+
const classes = useUtilityClasses$1p(ownerState);
|
|
24768
24293
|
const listRef = React__namespace.useRef(null);
|
|
24769
24294
|
const renderItemsBeforeAndAfter = allItems => {
|
|
24770
24295
|
const handleClickExpand = () => {
|
|
@@ -24893,7 +24418,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
24893
24418
|
var ButtonGroupContext$1 = ButtonGroupContext;
|
|
24894
24419
|
|
|
24895
24420
|
const _excluded$1E = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
24896
|
-
const useUtilityClasses$
|
|
24421
|
+
const useUtilityClasses$1o = ownerState => {
|
|
24897
24422
|
const {
|
|
24898
24423
|
color,
|
|
24899
24424
|
disableElevation,
|
|
@@ -25130,7 +24655,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25130
24655
|
type,
|
|
25131
24656
|
variant
|
|
25132
24657
|
});
|
|
25133
|
-
const classes = useUtilityClasses$
|
|
24658
|
+
const classes = useUtilityClasses$1o(ownerState);
|
|
25134
24659
|
const startIcon = startIconProp && /*#__PURE__*/jsxRuntime_1(ButtonStartIcon, {
|
|
25135
24660
|
className: classes.startIcon,
|
|
25136
24661
|
ownerState: ownerState,
|
|
@@ -25274,7 +24799,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25274
24799
|
[`& .${buttonGroupClasses$1.grouped}`]: styles[`grouped${capitalize(ownerState.variant)}${capitalize(ownerState.color)}`]
|
|
25275
24800
|
}, styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
|
|
25276
24801
|
};
|
|
25277
|
-
const useUtilityClasses$
|
|
24802
|
+
const useUtilityClasses$1n = ownerState => {
|
|
25278
24803
|
const {
|
|
25279
24804
|
classes,
|
|
25280
24805
|
color,
|
|
@@ -25396,7 +24921,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25396
24921
|
size,
|
|
25397
24922
|
variant
|
|
25398
24923
|
});
|
|
25399
|
-
const classes = useUtilityClasses$
|
|
24924
|
+
const classes = useUtilityClasses$1n(ownerState);
|
|
25400
24925
|
const context = React__namespace.useMemo(() => ({
|
|
25401
24926
|
className: classes.grouped,
|
|
25402
24927
|
color,
|
|
@@ -25505,7 +25030,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25505
25030
|
var cardClasses$1 = cardClasses;
|
|
25506
25031
|
|
|
25507
25032
|
const _excluded$1C = ["className", "raised"];
|
|
25508
|
-
const useUtilityClasses$
|
|
25033
|
+
const useUtilityClasses$1m = ownerState => {
|
|
25509
25034
|
const {
|
|
25510
25035
|
classes
|
|
25511
25036
|
} = ownerState;
|
|
@@ -25536,7 +25061,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25536
25061
|
const ownerState = _extends({}, props, {
|
|
25537
25062
|
raised
|
|
25538
25063
|
});
|
|
25539
|
-
const classes = useUtilityClasses$
|
|
25064
|
+
const classes = useUtilityClasses$1m(ownerState);
|
|
25540
25065
|
return /*#__PURE__*/jsxRuntime_1(CardRoot, _extends({
|
|
25541
25066
|
className: clsx(classes.root, className),
|
|
25542
25067
|
elevation: raised ? 8 : undefined,
|
|
@@ -25585,7 +25110,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25585
25110
|
var cardActionAreaClasses$1 = cardActionAreaClasses;
|
|
25586
25111
|
|
|
25587
25112
|
const _excluded$1B = ["children", "className", "focusVisibleClassName"];
|
|
25588
|
-
const useUtilityClasses$
|
|
25113
|
+
const useUtilityClasses$1l = ownerState => {
|
|
25589
25114
|
const {
|
|
25590
25115
|
classes
|
|
25591
25116
|
} = ownerState;
|
|
@@ -25648,7 +25173,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25648
25173
|
} = props,
|
|
25649
25174
|
other = _objectWithoutPropertiesLoose(props, _excluded$1B);
|
|
25650
25175
|
const ownerState = props;
|
|
25651
|
-
const classes = useUtilityClasses$
|
|
25176
|
+
const classes = useUtilityClasses$1l(ownerState);
|
|
25652
25177
|
return /*#__PURE__*/jsxRuntime_2(CardActionAreaRoot, _extends({
|
|
25653
25178
|
className: clsx(classes.root, className),
|
|
25654
25179
|
focusVisibleClassName: clsx(focusVisibleClassName, classes.focusVisible),
|
|
@@ -25696,7 +25221,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25696
25221
|
var cardActionsClasses$1 = cardActionsClasses;
|
|
25697
25222
|
|
|
25698
25223
|
const _excluded$1A = ["disableSpacing", "className"];
|
|
25699
|
-
const useUtilityClasses$
|
|
25224
|
+
const useUtilityClasses$1k = ownerState => {
|
|
25700
25225
|
const {
|
|
25701
25226
|
classes,
|
|
25702
25227
|
disableSpacing
|
|
@@ -25739,7 +25264,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25739
25264
|
const ownerState = _extends({}, props, {
|
|
25740
25265
|
disableSpacing
|
|
25741
25266
|
});
|
|
25742
|
-
const classes = useUtilityClasses$
|
|
25267
|
+
const classes = useUtilityClasses$1k(ownerState);
|
|
25743
25268
|
return /*#__PURE__*/jsxRuntime_1(CardActionsRoot, _extends({
|
|
25744
25269
|
className: clsx(classes.root, className),
|
|
25745
25270
|
ownerState: ownerState,
|
|
@@ -25782,7 +25307,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25782
25307
|
var cardContentClasses$1 = cardContentClasses;
|
|
25783
25308
|
|
|
25784
25309
|
const _excluded$1z = ["className", "component"];
|
|
25785
|
-
const useUtilityClasses$
|
|
25310
|
+
const useUtilityClasses$1j = ownerState => {
|
|
25786
25311
|
const {
|
|
25787
25312
|
classes
|
|
25788
25313
|
} = ownerState;
|
|
@@ -25816,7 +25341,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25816
25341
|
const ownerState = _extends({}, props, {
|
|
25817
25342
|
component
|
|
25818
25343
|
});
|
|
25819
|
-
const classes = useUtilityClasses$
|
|
25344
|
+
const classes = useUtilityClasses$1j(ownerState);
|
|
25820
25345
|
return /*#__PURE__*/jsxRuntime_1(CardContentRoot, _extends({
|
|
25821
25346
|
as: component,
|
|
25822
25347
|
className: clsx(classes.root, className),
|
|
@@ -25860,7 +25385,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25860
25385
|
var cardHeaderClasses$1 = cardHeaderClasses;
|
|
25861
25386
|
|
|
25862
25387
|
const _excluded$1y = ["action", "avatar", "className", "component", "disableTypography", "subheader", "subheaderTypographyProps", "title", "titleTypographyProps"];
|
|
25863
|
-
const useUtilityClasses$
|
|
25388
|
+
const useUtilityClasses$1i = ownerState => {
|
|
25864
25389
|
const {
|
|
25865
25390
|
classes
|
|
25866
25391
|
} = ownerState;
|
|
@@ -25934,7 +25459,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
25934
25459
|
component,
|
|
25935
25460
|
disableTypography
|
|
25936
25461
|
});
|
|
25937
|
-
const classes = useUtilityClasses$
|
|
25462
|
+
const classes = useUtilityClasses$1i(ownerState);
|
|
25938
25463
|
let title = titleProp;
|
|
25939
25464
|
if (title != null && title.type !== Typography$1 && !disableTypography) {
|
|
25940
25465
|
title = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
|
|
@@ -26049,7 +25574,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26049
25574
|
var cardMediaClasses$1 = cardMediaClasses;
|
|
26050
25575
|
|
|
26051
25576
|
const _excluded$1x = ["children", "className", "component", "image", "src", "style"];
|
|
26052
|
-
const useUtilityClasses$
|
|
25577
|
+
const useUtilityClasses$1h = ownerState => {
|
|
26053
25578
|
const {
|
|
26054
25579
|
classes,
|
|
26055
25580
|
isMediaComponent,
|
|
@@ -26111,7 +25636,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26111
25636
|
isMediaComponent,
|
|
26112
25637
|
isImageComponent: IMAGE_COMPONENTS.indexOf(component) !== -1
|
|
26113
25638
|
});
|
|
26114
|
-
const classes = useUtilityClasses$
|
|
25639
|
+
const classes = useUtilityClasses$1h(ownerState);
|
|
26115
25640
|
return /*#__PURE__*/jsxRuntime_1(CardMediaRoot, _extends({
|
|
26116
25641
|
className: clsx(classes.root, className),
|
|
26117
25642
|
as: component,
|
|
@@ -26180,7 +25705,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26180
25705
|
generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
26181
25706
|
|
|
26182
25707
|
const _excluded$1w = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
26183
|
-
const useUtilityClasses$
|
|
25708
|
+
const useUtilityClasses$1g = ownerState => {
|
|
26184
25709
|
const {
|
|
26185
25710
|
classes,
|
|
26186
25711
|
checked,
|
|
@@ -26292,7 +25817,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26292
25817
|
disableFocusRipple,
|
|
26293
25818
|
edge
|
|
26294
25819
|
});
|
|
26295
|
-
const classes = useUtilityClasses$
|
|
25820
|
+
const classes = useUtilityClasses$1g(ownerState);
|
|
26296
25821
|
return /*#__PURE__*/jsxRuntime_2(SwitchBaseRoot, _extends({
|
|
26297
25822
|
component: "span",
|
|
26298
25823
|
className: clsx(classes.root, className),
|
|
@@ -26454,7 +25979,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26454
25979
|
var checkboxClasses$1 = checkboxClasses;
|
|
26455
25980
|
|
|
26456
25981
|
const _excluded$1v = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
26457
|
-
const useUtilityClasses$
|
|
25982
|
+
const useUtilityClasses$1f = ownerState => {
|
|
26458
25983
|
const {
|
|
26459
25984
|
classes,
|
|
26460
25985
|
indeterminate,
|
|
@@ -26524,7 +26049,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26524
26049
|
indeterminate,
|
|
26525
26050
|
size
|
|
26526
26051
|
});
|
|
26527
|
-
const classes = useUtilityClasses$
|
|
26052
|
+
const classes = useUtilityClasses$1f(ownerState);
|
|
26528
26053
|
return /*#__PURE__*/jsxRuntime_1(CheckboxRoot, _extends({
|
|
26529
26054
|
type: "checkbox",
|
|
26530
26055
|
inputProps: _extends({
|
|
@@ -26681,7 +26206,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26681
26206
|
stroke-dashoffset: -125px;
|
|
26682
26207
|
}
|
|
26683
26208
|
`));
|
|
26684
|
-
const useUtilityClasses$
|
|
26209
|
+
const useUtilityClasses$1e = ownerState => {
|
|
26685
26210
|
const {
|
|
26686
26211
|
classes,
|
|
26687
26212
|
variant,
|
|
@@ -26783,7 +26308,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
26783
26308
|
value,
|
|
26784
26309
|
variant
|
|
26785
26310
|
});
|
|
26786
|
-
const classes = useUtilityClasses$
|
|
26311
|
+
const classes = useUtilityClasses$1e(ownerState);
|
|
26787
26312
|
const circleStyle = {};
|
|
26788
26313
|
const rootStyle = {};
|
|
26789
26314
|
const rootProps = {};
|
|
@@ -27083,7 +26608,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27083
26608
|
|
|
27084
26609
|
const _excluded$1t = ["BackdropComponent", "BackdropProps", "closeAfterTransition", "children", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "slotProps", "slots", "theme"];
|
|
27085
26610
|
const modalClasses = modalUnstyledClasses$1;
|
|
27086
|
-
const extendUtilityClasses
|
|
26611
|
+
const extendUtilityClasses = ownerState => {
|
|
27087
26612
|
return ownerState.classes;
|
|
27088
26613
|
};
|
|
27089
26614
|
const ModalRoot = styled$1('div', {
|
|
@@ -27174,7 +26699,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27174
26699
|
const ownerState = _extends({}, props, commonProps, {
|
|
27175
26700
|
exited
|
|
27176
26701
|
});
|
|
27177
|
-
const classes = extendUtilityClasses
|
|
26702
|
+
const classes = extendUtilityClasses(ownerState);
|
|
27178
26703
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : ModalRoot;
|
|
27179
26704
|
const BackdropSlot = (_ref2 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref2 : BackdropComponent;
|
|
27180
26705
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
@@ -27389,7 +26914,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27389
26914
|
// Improve scrollable dialog support.
|
|
27390
26915
|
zIndex: -1
|
|
27391
26916
|
});
|
|
27392
|
-
const useUtilityClasses$
|
|
26917
|
+
const useUtilityClasses$1d = ownerState => {
|
|
27393
26918
|
const {
|
|
27394
26919
|
classes,
|
|
27395
26920
|
scroll,
|
|
@@ -27550,7 +27075,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27550
27075
|
maxWidth,
|
|
27551
27076
|
scroll
|
|
27552
27077
|
});
|
|
27553
|
-
const classes = useUtilityClasses$
|
|
27078
|
+
const classes = useUtilityClasses$1d(ownerState);
|
|
27554
27079
|
const backdropClick = React__namespace.useRef();
|
|
27555
27080
|
const handleMouseDown = event => {
|
|
27556
27081
|
// We don't want to close the dialog when clicking the dialog content.
|
|
@@ -27760,7 +27285,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27760
27285
|
var dialogActionsClasses$1 = dialogActionsClasses;
|
|
27761
27286
|
|
|
27762
27287
|
const _excluded$1r = ["className", "disableSpacing"];
|
|
27763
|
-
const useUtilityClasses$
|
|
27288
|
+
const useUtilityClasses$1c = ownerState => {
|
|
27764
27289
|
const {
|
|
27765
27290
|
classes,
|
|
27766
27291
|
disableSpacing
|
|
@@ -27805,7 +27330,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27805
27330
|
const ownerState = _extends({}, props, {
|
|
27806
27331
|
disableSpacing
|
|
27807
27332
|
});
|
|
27808
|
-
const classes = useUtilityClasses$
|
|
27333
|
+
const classes = useUtilityClasses$1c(ownerState);
|
|
27809
27334
|
return /*#__PURE__*/jsxRuntime_1(DialogActionsRoot, _extends({
|
|
27810
27335
|
className: clsx(classes.root, className),
|
|
27811
27336
|
ownerState: ownerState,
|
|
@@ -27854,7 +27379,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27854
27379
|
var dialogTitleClasses$1 = dialogTitleClasses;
|
|
27855
27380
|
|
|
27856
27381
|
const _excluded$1q = ["className", "dividers"];
|
|
27857
|
-
const useUtilityClasses$
|
|
27382
|
+
const useUtilityClasses$1b = ownerState => {
|
|
27858
27383
|
const {
|
|
27859
27384
|
classes,
|
|
27860
27385
|
dividers
|
|
@@ -27904,7 +27429,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27904
27429
|
const ownerState = _extends({}, props, {
|
|
27905
27430
|
dividers
|
|
27906
27431
|
});
|
|
27907
|
-
const classes = useUtilityClasses$
|
|
27432
|
+
const classes = useUtilityClasses$1b(ownerState);
|
|
27908
27433
|
return /*#__PURE__*/jsxRuntime_1(DialogContentRoot, _extends({
|
|
27909
27434
|
className: clsx(classes.root, className),
|
|
27910
27435
|
ownerState: ownerState,
|
|
@@ -27947,7 +27472,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27947
27472
|
var dialogContentTextClasses$1 = dialogContentTextClasses;
|
|
27948
27473
|
|
|
27949
27474
|
const _excluded$1p = ["children", "className"];
|
|
27950
|
-
const useUtilityClasses$
|
|
27475
|
+
const useUtilityClasses$1a = ownerState => {
|
|
27951
27476
|
const {
|
|
27952
27477
|
classes
|
|
27953
27478
|
} = ownerState;
|
|
@@ -27972,7 +27497,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
27972
27497
|
className
|
|
27973
27498
|
} = props,
|
|
27974
27499
|
ownerState = _objectWithoutPropertiesLoose(props, _excluded$1p);
|
|
27975
|
-
const classes = useUtilityClasses$
|
|
27500
|
+
const classes = useUtilityClasses$1a(ownerState);
|
|
27976
27501
|
return /*#__PURE__*/jsxRuntime_1(DialogContentTextRoot, _extends({
|
|
27977
27502
|
component: "p",
|
|
27978
27503
|
variant: "body1",
|
|
@@ -28009,7 +27534,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28009
27534
|
var DialogContentText$1 = DialogContentText;
|
|
28010
27535
|
|
|
28011
27536
|
const _excluded$1o = ["className", "id"];
|
|
28012
|
-
const useUtilityClasses$
|
|
27537
|
+
const useUtilityClasses$19 = ownerState => {
|
|
28013
27538
|
const {
|
|
28014
27539
|
classes
|
|
28015
27540
|
} = ownerState;
|
|
@@ -28037,7 +27562,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28037
27562
|
} = props,
|
|
28038
27563
|
other = _objectWithoutPropertiesLoose(props, _excluded$1o);
|
|
28039
27564
|
const ownerState = props;
|
|
28040
|
-
const classes = useUtilityClasses$
|
|
27565
|
+
const classes = useUtilityClasses$19(ownerState);
|
|
28041
27566
|
const {
|
|
28042
27567
|
titleId: id = idProp
|
|
28043
27568
|
} = React__namespace.useContext(DialogContext$1);
|
|
@@ -28085,7 +27610,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28085
27610
|
var dividerClasses$1 = dividerClasses;
|
|
28086
27611
|
|
|
28087
27612
|
const _excluded$1n = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
|
|
28088
|
-
const useUtilityClasses$
|
|
27613
|
+
const useUtilityClasses$18 = ownerState => {
|
|
28089
27614
|
const {
|
|
28090
27615
|
absolute,
|
|
28091
27616
|
children,
|
|
@@ -28238,7 +27763,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28238
27763
|
textAlign,
|
|
28239
27764
|
variant
|
|
28240
27765
|
});
|
|
28241
|
-
const classes = useUtilityClasses$
|
|
27766
|
+
const classes = useUtilityClasses$18(ownerState);
|
|
28242
27767
|
return /*#__PURE__*/jsxRuntime_1(DividerRoot, _extends({
|
|
28243
27768
|
as: component,
|
|
28244
27769
|
className: clsx(classes.root, className),
|
|
@@ -28643,7 +28168,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28643
28168
|
} = props;
|
|
28644
28169
|
return [styles.root, (ownerState.variant === 'permanent' || ownerState.variant === 'persistent') && styles.docked, styles.modal];
|
|
28645
28170
|
};
|
|
28646
|
-
const useUtilityClasses$
|
|
28171
|
+
const useUtilityClasses$17 = ownerState => {
|
|
28647
28172
|
const {
|
|
28648
28173
|
classes,
|
|
28649
28174
|
anchor,
|
|
@@ -28793,7 +28318,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28793
28318
|
open,
|
|
28794
28319
|
variant
|
|
28795
28320
|
}, other);
|
|
28796
|
-
const classes = useUtilityClasses$
|
|
28321
|
+
const classes = useUtilityClasses$17(ownerState);
|
|
28797
28322
|
const drawer = /*#__PURE__*/jsxRuntime_1(DrawerPaper, _extends({
|
|
28798
28323
|
elevation: variant === 'temporary' ? elevation : 0,
|
|
28799
28324
|
square: true
|
|
@@ -28937,7 +28462,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
28937
28462
|
var fabClasses$1 = fabClasses;
|
|
28938
28463
|
|
|
28939
28464
|
const _excluded$1k = ["children", "className", "color", "component", "disabled", "disableFocusRipple", "focusVisibleClassName", "size", "variant"];
|
|
28940
|
-
const useUtilityClasses$
|
|
28465
|
+
const useUtilityClasses$16 = ownerState => {
|
|
28941
28466
|
const {
|
|
28942
28467
|
color,
|
|
28943
28468
|
variant,
|
|
@@ -29068,7 +28593,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29068
28593
|
size,
|
|
29069
28594
|
variant
|
|
29070
28595
|
});
|
|
29071
|
-
const classes = useUtilityClasses$
|
|
28596
|
+
const classes = useUtilityClasses$16(ownerState);
|
|
29072
28597
|
return /*#__PURE__*/jsxRuntime_1(FabRoot, _extends({
|
|
29073
28598
|
className: clsx(classes.root, className),
|
|
29074
28599
|
component: component,
|
|
@@ -29153,7 +28678,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29153
28678
|
var Fab$1 = Fab;
|
|
29154
28679
|
|
|
29155
28680
|
const _excluded$1j = ["disableUnderline", "components", "componentsProps", "fullWidth", "hiddenLabel", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
29156
|
-
const useUtilityClasses$
|
|
28681
|
+
const useUtilityClasses$15 = ownerState => {
|
|
29157
28682
|
const {
|
|
29158
28683
|
classes,
|
|
29159
28684
|
disableUnderline
|
|
@@ -29343,7 +28868,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29343
28868
|
multiline,
|
|
29344
28869
|
type
|
|
29345
28870
|
});
|
|
29346
|
-
const classes = useUtilityClasses$
|
|
28871
|
+
const classes = useUtilityClasses$15(props);
|
|
29347
28872
|
const filledInputComponentsProps = {
|
|
29348
28873
|
root: {
|
|
29349
28874
|
ownerState
|
|
@@ -29573,7 +29098,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29573
29098
|
var formControlClasses$1 = formControlClasses;
|
|
29574
29099
|
|
|
29575
29100
|
const _excluded$1i = ["children", "className", "color", "component", "disabled", "error", "focused", "fullWidth", "hiddenLabel", "margin", "required", "size", "variant"];
|
|
29576
|
-
const useUtilityClasses$
|
|
29101
|
+
const useUtilityClasses$14 = ownerState => {
|
|
29577
29102
|
const {
|
|
29578
29103
|
classes,
|
|
29579
29104
|
margin,
|
|
@@ -29671,7 +29196,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29671
29196
|
size,
|
|
29672
29197
|
variant
|
|
29673
29198
|
});
|
|
29674
|
-
const classes = useUtilityClasses$
|
|
29199
|
+
const classes = useUtilityClasses$14(ownerState);
|
|
29675
29200
|
const [adornedStart, setAdornedStart] = React__namespace.useState(() => {
|
|
29676
29201
|
// We need to iterate through the children and find the Input in order
|
|
29677
29202
|
// to fully support server-side rendering.
|
|
@@ -29854,7 +29379,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29854
29379
|
var formControlLabelClasses$1 = formControlLabelClasses;
|
|
29855
29380
|
|
|
29856
29381
|
const _excluded$1h = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
|
|
29857
|
-
const useUtilityClasses$
|
|
29382
|
+
const useUtilityClasses$13 = ownerState => {
|
|
29858
29383
|
const {
|
|
29859
29384
|
classes,
|
|
29860
29385
|
disabled,
|
|
@@ -29960,7 +29485,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
29960
29485
|
labelPlacement,
|
|
29961
29486
|
error: fcs.error
|
|
29962
29487
|
});
|
|
29963
|
-
const classes = useUtilityClasses$
|
|
29488
|
+
const classes = useUtilityClasses$13(ownerState);
|
|
29964
29489
|
const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
|
|
29965
29490
|
let label = labelProp;
|
|
29966
29491
|
if (label != null && label.type !== Typography$1 && !disableTypography) {
|
|
@@ -30064,7 +29589,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30064
29589
|
var formGroupClasses$1 = formGroupClasses;
|
|
30065
29590
|
|
|
30066
29591
|
const _excluded$1g = ["className", "row"];
|
|
30067
|
-
const useUtilityClasses$
|
|
29592
|
+
const useUtilityClasses$12 = ownerState => {
|
|
30068
29593
|
const {
|
|
30069
29594
|
classes,
|
|
30070
29595
|
row,
|
|
@@ -30119,7 +29644,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30119
29644
|
row,
|
|
30120
29645
|
error: fcs.error
|
|
30121
29646
|
});
|
|
30122
|
-
const classes = useUtilityClasses$
|
|
29647
|
+
const classes = useUtilityClasses$12(ownerState);
|
|
30123
29648
|
return /*#__PURE__*/jsxRuntime_1(FormGroupRoot, _extends({
|
|
30124
29649
|
className: clsx(classes.root, className),
|
|
30125
29650
|
ownerState: ownerState,
|
|
@@ -30163,7 +29688,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30163
29688
|
|
|
30164
29689
|
var _span$3;
|
|
30165
29690
|
const _excluded$1f = ["children", "className", "component", "disabled", "error", "filled", "focused", "margin", "required", "variant"];
|
|
30166
|
-
const useUtilityClasses$
|
|
29691
|
+
const useUtilityClasses$11 = ownerState => {
|
|
30167
29692
|
const {
|
|
30168
29693
|
classes,
|
|
30169
29694
|
contained,
|
|
@@ -30239,7 +29764,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30239
29764
|
focused: fcs.focused,
|
|
30240
29765
|
required: fcs.required
|
|
30241
29766
|
});
|
|
30242
|
-
const classes = useUtilityClasses$
|
|
29767
|
+
const classes = useUtilityClasses$11(ownerState);
|
|
30243
29768
|
return /*#__PURE__*/jsxRuntime_1(FormHelperTextRoot, _extends({
|
|
30244
29769
|
as: component,
|
|
30245
29770
|
ownerState: ownerState,
|
|
@@ -30320,7 +29845,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30320
29845
|
var formLabelClasses$1 = formLabelClasses;
|
|
30321
29846
|
|
|
30322
29847
|
const _excluded$1e = ["children", "className", "color", "component", "disabled", "error", "filled", "focused", "required"];
|
|
30323
|
-
const useUtilityClasses
|
|
29848
|
+
const useUtilityClasses$10 = ownerState => {
|
|
30324
29849
|
const {
|
|
30325
29850
|
classes,
|
|
30326
29851
|
color,
|
|
@@ -30400,7 +29925,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30400
29925
|
focused: fcs.focused,
|
|
30401
29926
|
required: fcs.required
|
|
30402
29927
|
});
|
|
30403
|
-
const classes = useUtilityClasses
|
|
29928
|
+
const classes = useUtilityClasses$10(ownerState);
|
|
30404
29929
|
return /*#__PURE__*/jsxRuntime_2(FormLabelRoot, _extends({
|
|
30405
29930
|
as: component,
|
|
30406
29931
|
ownerState: ownerState,
|
|
@@ -30806,7 +30331,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30806
30331
|
});
|
|
30807
30332
|
return classes;
|
|
30808
30333
|
}
|
|
30809
|
-
const useUtilityClasses
|
|
30334
|
+
const useUtilityClasses$$ = ownerState => {
|
|
30810
30335
|
const {
|
|
30811
30336
|
classes,
|
|
30812
30337
|
container,
|
|
@@ -30885,7 +30410,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30885
30410
|
}, breakpointsValues, {
|
|
30886
30411
|
breakpoints: breakpoints.keys
|
|
30887
30412
|
});
|
|
30888
|
-
const classes = useUtilityClasses
|
|
30413
|
+
const classes = useUtilityClasses$$(ownerState);
|
|
30889
30414
|
return /*#__PURE__*/jsxRuntime_1(GridContext$1.Provider, {
|
|
30890
30415
|
value: columns,
|
|
30891
30416
|
children: /*#__PURE__*/jsxRuntime_1(GridRoot, _extends({
|
|
@@ -31661,7 +31186,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31661
31186
|
generateUtilityClasses('PrivateHiddenCss', ['root', 'xlDown', 'xlUp', 'onlyXl', 'lgDown', 'lgUp', 'onlyLg', 'mdDown', 'mdUp', 'onlyMd', 'smDown', 'smUp', 'onlySm', 'xsDown', 'xsUp', 'onlyXs']);
|
|
31662
31187
|
|
|
31663
31188
|
const _excluded$1a = ["children", "className", "only"];
|
|
31664
|
-
const useUtilityClasses$
|
|
31189
|
+
const useUtilityClasses$_ = ownerState => {
|
|
31665
31190
|
const {
|
|
31666
31191
|
classes,
|
|
31667
31192
|
breakpoints
|
|
@@ -31760,7 +31285,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31760
31285
|
const ownerState = _extends({}, props, {
|
|
31761
31286
|
breakpoints
|
|
31762
31287
|
});
|
|
31763
|
-
const classes = useUtilityClasses$
|
|
31288
|
+
const classes = useUtilityClasses$_(ownerState);
|
|
31764
31289
|
return /*#__PURE__*/jsxRuntime_1(HiddenCssRoot, {
|
|
31765
31290
|
className: clsx(classes.root, className),
|
|
31766
31291
|
ownerState: ownerState,
|
|
@@ -31960,7 +31485,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
31960
31485
|
var iconClasses$1 = iconClasses;
|
|
31961
31486
|
|
|
31962
31487
|
const _excluded$18 = ["baseClassName", "className", "color", "component", "fontSize"];
|
|
31963
|
-
const useUtilityClasses$
|
|
31488
|
+
const useUtilityClasses$Z = ownerState => {
|
|
31964
31489
|
const {
|
|
31965
31490
|
color,
|
|
31966
31491
|
fontSize,
|
|
@@ -32033,7 +31558,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32033
31558
|
component: Component,
|
|
32034
31559
|
fontSize
|
|
32035
31560
|
});
|
|
32036
|
-
const classes = useUtilityClasses$
|
|
31561
|
+
const classes = useUtilityClasses$Z(ownerState);
|
|
32037
31562
|
return /*#__PURE__*/jsxRuntime_1(IconRoot, _extends({
|
|
32038
31563
|
as: Component,
|
|
32039
31564
|
className: clsx(baseClassName,
|
|
@@ -32110,7 +31635,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32110
31635
|
var ImageListContext$1 = ImageListContext;
|
|
32111
31636
|
|
|
32112
31637
|
const _excluded$17 = ["children", "className", "cols", "component", "rowHeight", "gap", "style", "variant"];
|
|
32113
|
-
const useUtilityClasses$
|
|
31638
|
+
const useUtilityClasses$Y = ownerState => {
|
|
32114
31639
|
const {
|
|
32115
31640
|
classes,
|
|
32116
31641
|
variant
|
|
@@ -32185,7 +31710,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32185
31710
|
rowHeight,
|
|
32186
31711
|
variant
|
|
32187
31712
|
});
|
|
32188
|
-
const classes = useUtilityClasses$
|
|
31713
|
+
const classes = useUtilityClasses$Y(ownerState);
|
|
32189
31714
|
return /*#__PURE__*/jsxRuntime_1(ImageListRoot, _extends({
|
|
32190
31715
|
as: component,
|
|
32191
31716
|
className: clsx(classes.root, classes[variant], className),
|
|
@@ -32259,7 +31784,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32259
31784
|
var imageListItemClasses$1 = imageListItemClasses;
|
|
32260
31785
|
|
|
32261
31786
|
const _excluded$16 = ["children", "className", "cols", "component", "rows", "style"];
|
|
32262
|
-
const useUtilityClasses$
|
|
31787
|
+
const useUtilityClasses$X = ownerState => {
|
|
32263
31788
|
const {
|
|
32264
31789
|
classes,
|
|
32265
31790
|
variant
|
|
@@ -32342,7 +31867,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32342
31867
|
rows,
|
|
32343
31868
|
variant
|
|
32344
31869
|
});
|
|
32345
|
-
const classes = useUtilityClasses$
|
|
31870
|
+
const classes = useUtilityClasses$X(ownerState);
|
|
32346
31871
|
return /*#__PURE__*/jsxRuntime_1(ImageListItemRoot, _extends({
|
|
32347
31872
|
as: component,
|
|
32348
31873
|
className: clsx(classes.root, classes[variant], className),
|
|
@@ -32423,7 +31948,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32423
31948
|
var imageListItemBarClasses$1 = imageListItemBarClasses;
|
|
32424
31949
|
|
|
32425
31950
|
const _excluded$15 = ["actionIcon", "actionPosition", "className", "subtitle", "title", "position"];
|
|
32426
|
-
const useUtilityClasses$
|
|
31951
|
+
const useUtilityClasses$W = ownerState => {
|
|
32427
31952
|
const {
|
|
32428
31953
|
classes,
|
|
32429
31954
|
position,
|
|
@@ -32561,7 +32086,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32561
32086
|
position,
|
|
32562
32087
|
actionPosition
|
|
32563
32088
|
});
|
|
32564
|
-
const classes = useUtilityClasses$
|
|
32089
|
+
const classes = useUtilityClasses$W(ownerState);
|
|
32565
32090
|
return /*#__PURE__*/jsxRuntime_2(ImageListItemBarRoot, _extends({
|
|
32566
32091
|
ownerState: ownerState,
|
|
32567
32092
|
className: clsx(classes.root, className),
|
|
@@ -32632,7 +32157,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32632
32157
|
var ImageListItemBar$1 = ImageListItemBar;
|
|
32633
32158
|
|
|
32634
32159
|
const _excluded$14 = ["disableUnderline", "components", "componentsProps", "fullWidth", "inputComponent", "multiline", "slotProps", "slots", "type"];
|
|
32635
|
-
const useUtilityClasses$
|
|
32160
|
+
const useUtilityClasses$V = ownerState => {
|
|
32636
32161
|
const {
|
|
32637
32162
|
classes,
|
|
32638
32163
|
disableUnderline
|
|
@@ -32745,7 +32270,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32745
32270
|
type = 'text'
|
|
32746
32271
|
} = props,
|
|
32747
32272
|
other = _objectWithoutPropertiesLoose(props, _excluded$14);
|
|
32748
|
-
const classes = useUtilityClasses$
|
|
32273
|
+
const classes = useUtilityClasses$V(props);
|
|
32749
32274
|
const ownerState = {
|
|
32750
32275
|
disableUnderline
|
|
32751
32276
|
};
|
|
@@ -32975,7 +32500,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
32975
32500
|
} = props;
|
|
32976
32501
|
return [styles.root, styles[`position${capitalize(ownerState.position)}`], ownerState.disablePointerEvents === true && styles.disablePointerEvents, styles[ownerState.variant]];
|
|
32977
32502
|
};
|
|
32978
|
-
const useUtilityClasses$
|
|
32503
|
+
const useUtilityClasses$U = ownerState => {
|
|
32979
32504
|
const {
|
|
32980
32505
|
classes,
|
|
32981
32506
|
disablePointerEvents,
|
|
@@ -33053,7 +32578,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33053
32578
|
position,
|
|
33054
32579
|
variant
|
|
33055
32580
|
});
|
|
33056
|
-
const classes = useUtilityClasses$
|
|
32581
|
+
const classes = useUtilityClasses$U(ownerState);
|
|
33057
32582
|
return /*#__PURE__*/jsxRuntime_1(FormControlContext$1.Provider, {
|
|
33058
32583
|
value: null,
|
|
33059
32584
|
children: /*#__PURE__*/jsxRuntime_1(InputAdornmentRoot, _extends({
|
|
@@ -33131,7 +32656,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33131
32656
|
var inputLabelClasses$1 = inputLabelClasses;
|
|
33132
32657
|
|
|
33133
32658
|
const _excluded$12 = ["disableAnimation", "margin", "shrink", "variant", "className"];
|
|
33134
|
-
const useUtilityClasses$
|
|
32659
|
+
const useUtilityClasses$T = ownerState => {
|
|
33135
32660
|
const {
|
|
33136
32661
|
classes,
|
|
33137
32662
|
formControl,
|
|
@@ -33249,7 +32774,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33249
32774
|
variant: fcs.variant,
|
|
33250
32775
|
required: fcs.required
|
|
33251
32776
|
});
|
|
33252
|
-
const classes = useUtilityClasses$
|
|
32777
|
+
const classes = useUtilityClasses$T(ownerState);
|
|
33253
32778
|
return /*#__PURE__*/jsxRuntime_1(InputLabelRoot, _extends({
|
|
33254
32779
|
"data-shrink": shrink,
|
|
33255
32780
|
ownerState: ownerState,
|
|
@@ -33391,7 +32916,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33391
32916
|
background-position: -200px -23px;
|
|
33392
32917
|
}
|
|
33393
32918
|
`));
|
|
33394
|
-
const useUtilityClasses$
|
|
32919
|
+
const useUtilityClasses$S = ownerState => {
|
|
33395
32920
|
const {
|
|
33396
32921
|
classes,
|
|
33397
32922
|
variant,
|
|
@@ -33573,7 +33098,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33573
33098
|
color,
|
|
33574
33099
|
variant
|
|
33575
33100
|
});
|
|
33576
|
-
const classes = useUtilityClasses$
|
|
33101
|
+
const classes = useUtilityClasses$S(ownerState);
|
|
33577
33102
|
const theme = useTheme();
|
|
33578
33103
|
const rootProps = {};
|
|
33579
33104
|
const inlineStyles = {
|
|
@@ -33700,7 +33225,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33700
33225
|
var getTextDecoration$1 = getTextDecoration;
|
|
33701
33226
|
|
|
33702
33227
|
const _excluded$10 = ["className", "color", "component", "onBlur", "onFocus", "TypographyClasses", "underline", "variant", "sx"];
|
|
33703
|
-
const useUtilityClasses$
|
|
33228
|
+
const useUtilityClasses$R = ownerState => {
|
|
33704
33229
|
const {
|
|
33705
33230
|
classes,
|
|
33706
33231
|
component,
|
|
@@ -33822,7 +33347,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33822
33347
|
underline,
|
|
33823
33348
|
variant
|
|
33824
33349
|
});
|
|
33825
|
-
const classes = useUtilityClasses$
|
|
33350
|
+
const classes = useUtilityClasses$R(ownerState);
|
|
33826
33351
|
return /*#__PURE__*/jsxRuntime_1(LinkRoot, _extends({
|
|
33827
33352
|
color: color,
|
|
33828
33353
|
className: clsx(classes.root, className),
|
|
@@ -33910,7 +33435,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33910
33435
|
var listClasses$1 = listClasses;
|
|
33911
33436
|
|
|
33912
33437
|
const _excluded$$ = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
33913
|
-
const useUtilityClasses$
|
|
33438
|
+
const useUtilityClasses$Q = ownerState => {
|
|
33914
33439
|
const {
|
|
33915
33440
|
classes,
|
|
33916
33441
|
disablePadding,
|
|
@@ -33966,7 +33491,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
33966
33491
|
dense,
|
|
33967
33492
|
disablePadding
|
|
33968
33493
|
});
|
|
33969
|
-
const classes = useUtilityClasses$
|
|
33494
|
+
const classes = useUtilityClasses$Q(ownerState);
|
|
33970
33495
|
return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
|
|
33971
33496
|
value: context,
|
|
33972
33497
|
children: /*#__PURE__*/jsxRuntime_2(ListRoot, _extends({
|
|
@@ -34043,7 +33568,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34043
33568
|
} = props;
|
|
34044
33569
|
return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
|
|
34045
33570
|
};
|
|
34046
|
-
const useUtilityClasses$
|
|
33571
|
+
const useUtilityClasses$P = ownerState => {
|
|
34047
33572
|
const {
|
|
34048
33573
|
alignItems,
|
|
34049
33574
|
classes,
|
|
@@ -34162,7 +33687,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34162
33687
|
divider,
|
|
34163
33688
|
selected
|
|
34164
33689
|
});
|
|
34165
|
-
const classes = useUtilityClasses$
|
|
33690
|
+
const classes = useUtilityClasses$P(ownerState);
|
|
34166
33691
|
const handleRef = useForkRef(listItemRef, ref);
|
|
34167
33692
|
return /*#__PURE__*/jsxRuntime_1(ListContext$1.Provider, {
|
|
34168
33693
|
value: childContext,
|
|
@@ -34266,7 +33791,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34266
33791
|
var listItemSecondaryActionClasses$1 = listItemSecondaryActionClasses;
|
|
34267
33792
|
|
|
34268
33793
|
const _excluded$Z = ["className"];
|
|
34269
|
-
const useUtilityClasses$
|
|
33794
|
+
const useUtilityClasses$O = ownerState => {
|
|
34270
33795
|
const {
|
|
34271
33796
|
disableGutters,
|
|
34272
33797
|
classes
|
|
@@ -34312,7 +33837,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34312
33837
|
const ownerState = _extends({}, props, {
|
|
34313
33838
|
disableGutters: context.disableGutters
|
|
34314
33839
|
});
|
|
34315
|
-
const classes = useUtilityClasses$
|
|
33840
|
+
const classes = useUtilityClasses$O(ownerState);
|
|
34316
33841
|
return /*#__PURE__*/jsxRuntime_1(ListItemSecondaryActionRoot, _extends({
|
|
34317
33842
|
className: clsx(classes.root, className),
|
|
34318
33843
|
ownerState: ownerState,
|
|
@@ -34352,7 +33877,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34352
33877
|
} = props;
|
|
34353
33878
|
return [styles.root, ownerState.dense && styles.dense, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters, !ownerState.disablePadding && styles.padding, ownerState.button && styles.button, ownerState.hasSecondaryAction && styles.secondaryAction];
|
|
34354
33879
|
};
|
|
34355
|
-
const useUtilityClasses$
|
|
33880
|
+
const useUtilityClasses$N = ownerState => {
|
|
34356
33881
|
const {
|
|
34357
33882
|
alignItems,
|
|
34358
33883
|
button,
|
|
@@ -34520,7 +34045,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34520
34045
|
hasSecondaryAction,
|
|
34521
34046
|
selected
|
|
34522
34047
|
});
|
|
34523
|
-
const classes = useUtilityClasses$
|
|
34048
|
+
const classes = useUtilityClasses$N(ownerState);
|
|
34524
34049
|
const handleRef = useForkRef(listItemRef, ref);
|
|
34525
34050
|
const Root = slots.root || components.Root || ListItemRoot;
|
|
34526
34051
|
const rootProps = slotProps.root || componentsProps.root || {};
|
|
@@ -34750,7 +34275,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34750
34275
|
var listItemAvatarClasses$1 = listItemAvatarClasses;
|
|
34751
34276
|
|
|
34752
34277
|
const _excluded$X = ["className"];
|
|
34753
|
-
const useUtilityClasses$
|
|
34278
|
+
const useUtilityClasses$M = ownerState => {
|
|
34754
34279
|
const {
|
|
34755
34280
|
alignItems,
|
|
34756
34281
|
classes
|
|
@@ -34794,7 +34319,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34794
34319
|
const ownerState = _extends({}, props, {
|
|
34795
34320
|
alignItems: context.alignItems
|
|
34796
34321
|
});
|
|
34797
|
-
const classes = useUtilityClasses$
|
|
34322
|
+
const classes = useUtilityClasses$M(ownerState);
|
|
34798
34323
|
return /*#__PURE__*/jsxRuntime_1(ListItemAvatarRoot, _extends({
|
|
34799
34324
|
className: clsx(classes.root, className),
|
|
34800
34325
|
ownerState: ownerState,
|
|
@@ -34832,7 +34357,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34832
34357
|
var listItemIconClasses$1 = listItemIconClasses;
|
|
34833
34358
|
|
|
34834
34359
|
const _excluded$W = ["className"];
|
|
34835
|
-
const useUtilityClasses$
|
|
34360
|
+
const useUtilityClasses$L = ownerState => {
|
|
34836
34361
|
const {
|
|
34837
34362
|
alignItems,
|
|
34838
34363
|
classes
|
|
@@ -34879,7 +34404,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34879
34404
|
const ownerState = _extends({}, props, {
|
|
34880
34405
|
alignItems: context.alignItems
|
|
34881
34406
|
});
|
|
34882
|
-
const classes = useUtilityClasses$
|
|
34407
|
+
const classes = useUtilityClasses$L(ownerState);
|
|
34883
34408
|
return /*#__PURE__*/jsxRuntime_1(ListItemIconRoot, _extends({
|
|
34884
34409
|
className: clsx(classes.root, className),
|
|
34885
34410
|
ownerState: ownerState,
|
|
@@ -34918,7 +34443,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34918
34443
|
var listItemTextClasses$1 = listItemTextClasses;
|
|
34919
34444
|
|
|
34920
34445
|
const _excluded$V = ["children", "className", "disableTypography", "inset", "primary", "primaryTypographyProps", "secondary", "secondaryTypographyProps"];
|
|
34921
|
-
const useUtilityClasses$
|
|
34446
|
+
const useUtilityClasses$K = ownerState => {
|
|
34922
34447
|
const {
|
|
34923
34448
|
classes,
|
|
34924
34449
|
inset,
|
|
@@ -34987,7 +34512,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
34987
34512
|
secondary: !!secondary,
|
|
34988
34513
|
dense
|
|
34989
34514
|
});
|
|
34990
|
-
const classes = useUtilityClasses$
|
|
34515
|
+
const classes = useUtilityClasses$K(ownerState);
|
|
34991
34516
|
if (primary != null && primary.type !== Typography$1 && !disableTypography) {
|
|
34992
34517
|
primary = /*#__PURE__*/jsxRuntime_1(Typography$1, _extends({
|
|
34993
34518
|
variant: dense ? 'body2' : 'body1',
|
|
@@ -35364,7 +34889,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35364
34889
|
function resolveAnchorEl(anchorEl) {
|
|
35365
34890
|
return typeof anchorEl === 'function' ? anchorEl() : anchorEl;
|
|
35366
34891
|
}
|
|
35367
|
-
const useUtilityClasses$
|
|
34892
|
+
const useUtilityClasses$J = ownerState => {
|
|
35368
34893
|
const {
|
|
35369
34894
|
classes
|
|
35370
34895
|
} = ownerState;
|
|
@@ -35442,7 +34967,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35442
34967
|
transitionDuration: transitionDurationProp,
|
|
35443
34968
|
TransitionProps
|
|
35444
34969
|
});
|
|
35445
|
-
const classes = useUtilityClasses$
|
|
34970
|
+
const classes = useUtilityClasses$J(ownerState);
|
|
35446
34971
|
|
|
35447
34972
|
// Returns the top/left offset of the position
|
|
35448
34973
|
// to attach to on the anchor element (or body if none is provided)
|
|
@@ -35799,7 +35324,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35799
35324
|
vertical: 'top',
|
|
35800
35325
|
horizontal: 'left'
|
|
35801
35326
|
};
|
|
35802
|
-
const useUtilityClasses$
|
|
35327
|
+
const useUtilityClasses$I = ownerState => {
|
|
35803
35328
|
const {
|
|
35804
35329
|
classes
|
|
35805
35330
|
} = ownerState;
|
|
@@ -35870,7 +35395,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
35870
35395
|
TransitionProps,
|
|
35871
35396
|
variant
|
|
35872
35397
|
});
|
|
35873
|
-
const classes = useUtilityClasses$
|
|
35398
|
+
const classes = useUtilityClasses$I(ownerState);
|
|
35874
35399
|
const autoFocusItem = autoFocus && !disableAutoFocusItem && open;
|
|
35875
35400
|
const menuListActionsRef = React__namespace.useRef(null);
|
|
35876
35401
|
const handleEntering = (element, isAppearing) => {
|
|
@@ -36050,7 +35575,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36050
35575
|
} = props;
|
|
36051
35576
|
return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];
|
|
36052
35577
|
};
|
|
36053
|
-
const useUtilityClasses$
|
|
35578
|
+
const useUtilityClasses$H = ownerState => {
|
|
36054
35579
|
const {
|
|
36055
35580
|
disabled,
|
|
36056
35581
|
dense,
|
|
@@ -36186,7 +35711,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36186
35711
|
divider,
|
|
36187
35712
|
disableGutters
|
|
36188
35713
|
});
|
|
36189
|
-
const classes = useUtilityClasses$
|
|
35714
|
+
const classes = useUtilityClasses$H(props);
|
|
36190
35715
|
const handleRef = useForkRef(menuItemRef, ref);
|
|
36191
35716
|
let tabIndex;
|
|
36192
35717
|
if (!props.disabled) {
|
|
@@ -36291,7 +35816,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36291
35816
|
var mobileStepperClasses$1 = mobileStepperClasses;
|
|
36292
35817
|
|
|
36293
35818
|
const _excluded$Q = ["activeStep", "backButton", "className", "LinearProgressProps", "nextButton", "position", "steps", "variant"];
|
|
36294
|
-
const useUtilityClasses$
|
|
35819
|
+
const useUtilityClasses$G = ownerState => {
|
|
36295
35820
|
const {
|
|
36296
35821
|
classes,
|
|
36297
35822
|
position
|
|
@@ -36403,7 +35928,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36403
35928
|
position,
|
|
36404
35929
|
variant
|
|
36405
35930
|
});
|
|
36406
|
-
const classes = useUtilityClasses$
|
|
35931
|
+
const classes = useUtilityClasses$G(ownerState);
|
|
36407
35932
|
return /*#__PURE__*/jsxRuntime_2(MobileStepperRoot, _extends({
|
|
36408
35933
|
square: true,
|
|
36409
35934
|
elevation: 0,
|
|
@@ -36488,7 +36013,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36488
36013
|
var nativeSelectClasses$1 = nativeSelectClasses;
|
|
36489
36014
|
|
|
36490
36015
|
const _excluded$P = ["className", "disabled", "IconComponent", "inputRef", "variant"];
|
|
36491
|
-
const useUtilityClasses$
|
|
36016
|
+
const useUtilityClasses$F = ownerState => {
|
|
36492
36017
|
const {
|
|
36493
36018
|
classes,
|
|
36494
36019
|
variant,
|
|
@@ -36619,7 +36144,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36619
36144
|
disabled,
|
|
36620
36145
|
variant
|
|
36621
36146
|
});
|
|
36622
|
-
const classes = useUtilityClasses$
|
|
36147
|
+
const classes = useUtilityClasses$F(ownerState);
|
|
36623
36148
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
36624
36149
|
children: [/*#__PURE__*/jsxRuntime_1(NativeSelectSelect, _extends({
|
|
36625
36150
|
ownerState: ownerState,
|
|
@@ -36689,7 +36214,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36689
36214
|
|
|
36690
36215
|
const _excluded$O = ["className", "children", "classes", "IconComponent", "input", "inputProps", "variant"],
|
|
36691
36216
|
_excluded2$4 = ["root"];
|
|
36692
|
-
const useUtilityClasses$
|
|
36217
|
+
const useUtilityClasses$E = ownerState => {
|
|
36693
36218
|
const {
|
|
36694
36219
|
classes
|
|
36695
36220
|
} = ownerState;
|
|
@@ -36725,7 +36250,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36725
36250
|
const ownerState = _extends({}, props, {
|
|
36726
36251
|
classes: classesProp
|
|
36727
36252
|
});
|
|
36728
|
-
const classes = useUtilityClasses$
|
|
36253
|
+
const classes = useUtilityClasses$E(ownerState);
|
|
36729
36254
|
const otherClasses = _objectWithoutPropertiesLoose(classesProp, _excluded2$4);
|
|
36730
36255
|
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
36731
36256
|
children: /*#__PURE__*/React__namespace.cloneElement(input, _extends({
|
|
@@ -36927,7 +36452,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
36927
36452
|
} ;
|
|
36928
36453
|
|
|
36929
36454
|
const _excluded$M = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
36930
|
-
const useUtilityClasses$
|
|
36455
|
+
const useUtilityClasses$D = ownerState => {
|
|
36931
36456
|
const {
|
|
36932
36457
|
classes
|
|
36933
36458
|
} = ownerState;
|
|
@@ -37046,7 +36571,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37046
36571
|
type = 'text'
|
|
37047
36572
|
} = props,
|
|
37048
36573
|
other = _objectWithoutPropertiesLoose(props, _excluded$M);
|
|
37049
|
-
const classes = useUtilityClasses$
|
|
36574
|
+
const classes = useUtilityClasses$D(props);
|
|
37050
36575
|
const muiFormControl = useFormControl();
|
|
37051
36576
|
const fcs = formControlState({
|
|
37052
36577
|
props,
|
|
@@ -37406,7 +36931,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37406
36931
|
} = props;
|
|
37407
36932
|
return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.variant === 'text' && styles[`text${capitalize(ownerState.color)}`], ownerState.variant === 'outlined' && styles[`outlined${capitalize(ownerState.color)}`], ownerState.shape === 'rounded' && styles.rounded, ownerState.type === 'page' && styles.page, (ownerState.type === 'start-ellipsis' || ownerState.type === 'end-ellipsis') && styles.ellipsis, (ownerState.type === 'previous' || ownerState.type === 'next') && styles.previousNext, (ownerState.type === 'first' || ownerState.type === 'last') && styles.firstLast];
|
|
37408
36933
|
};
|
|
37409
|
-
const useUtilityClasses$
|
|
36934
|
+
const useUtilityClasses$C = ownerState => {
|
|
37410
36935
|
const {
|
|
37411
36936
|
classes,
|
|
37412
36937
|
color,
|
|
@@ -37615,7 +37140,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37615
37140
|
variant
|
|
37616
37141
|
});
|
|
37617
37142
|
const theme = useTheme();
|
|
37618
|
-
const classes = useUtilityClasses$
|
|
37143
|
+
const classes = useUtilityClasses$C(ownerState);
|
|
37619
37144
|
const normalizedIcons = theme.direction === 'rtl' ? {
|
|
37620
37145
|
previous: slots.next || components.next || NavigateNextIcon,
|
|
37621
37146
|
next: slots.previous || components.previous || NavigateBeforeIcon,
|
|
@@ -37745,7 +37270,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37745
37270
|
var PaginationItem$1 = PaginationItem;
|
|
37746
37271
|
|
|
37747
37272
|
const _excluded$J = ["boundaryCount", "className", "color", "count", "defaultPage", "disabled", "getItemAriaLabel", "hideNextButton", "hidePrevButton", "onChange", "page", "renderItem", "shape", "showFirstButton", "showLastButton", "siblingCount", "size", "variant"];
|
|
37748
|
-
const useUtilityClasses$
|
|
37273
|
+
const useUtilityClasses$B = ownerState => {
|
|
37749
37274
|
const {
|
|
37750
37275
|
classes,
|
|
37751
37276
|
variant
|
|
@@ -37830,7 +37355,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37830
37355
|
size,
|
|
37831
37356
|
variant
|
|
37832
37357
|
});
|
|
37833
|
-
const classes = useUtilityClasses$
|
|
37358
|
+
const classes = useUtilityClasses$B(ownerState);
|
|
37834
37359
|
return /*#__PURE__*/jsxRuntime_1(PaginationRoot, _extends({
|
|
37835
37360
|
"aria-label": "pagination navigation",
|
|
37836
37361
|
className: clsx(classes.root, className),
|
|
@@ -38069,7 +37594,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38069
37594
|
var radioClasses$1 = radioClasses;
|
|
38070
37595
|
|
|
38071
37596
|
const _excluded$I = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
|
|
38072
|
-
const useUtilityClasses$
|
|
37597
|
+
const useUtilityClasses$A = ownerState => {
|
|
38073
37598
|
const {
|
|
38074
37599
|
classes,
|
|
38075
37600
|
color
|
|
@@ -38144,7 +37669,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38144
37669
|
color,
|
|
38145
37670
|
size
|
|
38146
37671
|
});
|
|
38147
|
-
const classes = useUtilityClasses$
|
|
37672
|
+
const classes = useUtilityClasses$A(ownerState);
|
|
38148
37673
|
const radioGroup = useRadioGroup();
|
|
38149
37674
|
let checked = checkedProp;
|
|
38150
37675
|
const onChange = createChainedFunction(onChangeProp, radioGroup && radioGroup.onChange);
|
|
@@ -38382,7 +37907,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38382
37907
|
const nearest = Math.round(value / precision) * precision;
|
|
38383
37908
|
return Number(nearest.toFixed(getDecimalPrecision(precision)));
|
|
38384
37909
|
}
|
|
38385
|
-
const useUtilityClasses$
|
|
37910
|
+
const useUtilityClasses$z = ownerState => {
|
|
38386
37911
|
const {
|
|
38387
37912
|
classes,
|
|
38388
37913
|
size,
|
|
@@ -38785,7 +38310,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38785
38310
|
readOnly,
|
|
38786
38311
|
size
|
|
38787
38312
|
});
|
|
38788
|
-
const classes = useUtilityClasses$
|
|
38313
|
+
const classes = useUtilityClasses$z(ownerState);
|
|
38789
38314
|
return /*#__PURE__*/jsxRuntime_2(RatingRoot, _extends({
|
|
38790
38315
|
ref: handleRef,
|
|
38791
38316
|
onMouseMove: handleMouseMove,
|
|
@@ -38997,7 +38522,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
38997
38522
|
var scopedCssBaselineClasses$1 = scopedCssBaselineClasses;
|
|
38998
38523
|
|
|
38999
38524
|
const _excluded$F = ["className", "component", "enableColorScheme"];
|
|
39000
|
-
const useUtilityClasses$
|
|
38525
|
+
const useUtilityClasses$y = ownerState => {
|
|
39001
38526
|
const {
|
|
39002
38527
|
classes
|
|
39003
38528
|
} = ownerState;
|
|
@@ -39045,7 +38570,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39045
38570
|
const ownerState = _extends({}, props, {
|
|
39046
38571
|
component
|
|
39047
38572
|
});
|
|
39048
|
-
const classes = useUtilityClasses$
|
|
38573
|
+
const classes = useUtilityClasses$y(ownerState);
|
|
39049
38574
|
return /*#__PURE__*/jsxRuntime_1(ScopedCssBaselineRoot, _extends({
|
|
39050
38575
|
as: component,
|
|
39051
38576
|
className: clsx(classes.root, className),
|
|
@@ -39160,7 +38685,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39160
38685
|
function isEmpty(display) {
|
|
39161
38686
|
return display == null || typeof display === 'string' && !display.trim();
|
|
39162
38687
|
}
|
|
39163
|
-
const useUtilityClasses$
|
|
38688
|
+
const useUtilityClasses$x = ownerState => {
|
|
39164
38689
|
const {
|
|
39165
38690
|
classes,
|
|
39166
38691
|
variant,
|
|
@@ -39518,7 +39043,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39518
39043
|
value,
|
|
39519
39044
|
open
|
|
39520
39045
|
});
|
|
39521
|
-
const classes = useUtilityClasses$
|
|
39046
|
+
const classes = useUtilityClasses$x(ownerState);
|
|
39522
39047
|
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
39523
39048
|
children: [/*#__PURE__*/jsxRuntime_1(SelectSelect, _extends({
|
|
39524
39049
|
ref: handleDisplayRef,
|
|
@@ -39733,7 +39258,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39733
39258
|
|
|
39734
39259
|
var _StyledInput, _StyledFilledInput;
|
|
39735
39260
|
const _excluded$D = ["autoWidth", "children", "classes", "className", "defaultOpen", "displayEmpty", "IconComponent", "id", "input", "inputProps", "label", "labelId", "MenuProps", "multiple", "native", "onClose", "onOpen", "open", "renderValue", "SelectDisplayProps", "variant"];
|
|
39736
|
-
const useUtilityClasses$
|
|
39261
|
+
const useUtilityClasses$w = ownerState => {
|
|
39737
39262
|
const {
|
|
39738
39263
|
classes
|
|
39739
39264
|
} = ownerState;
|
|
@@ -39796,7 +39321,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
39796
39321
|
variant,
|
|
39797
39322
|
classes: classesProp
|
|
39798
39323
|
});
|
|
39799
|
-
const classes = useUtilityClasses$
|
|
39324
|
+
const classes = useUtilityClasses$w(ownerState);
|
|
39800
39325
|
const inputComponentRef = useForkRef(ref, InputComponent.ref);
|
|
39801
39326
|
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
39802
39327
|
children: /*#__PURE__*/React__namespace.cloneElement(InputComponent, _extends({
|
|
@@ -40000,7 +39525,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40000
39525
|
_t2,
|
|
40001
39526
|
_t3,
|
|
40002
39527
|
_t4;
|
|
40003
|
-
const useUtilityClasses$
|
|
39528
|
+
const useUtilityClasses$v = ownerState => {
|
|
40004
39529
|
const {
|
|
40005
39530
|
classes,
|
|
40006
39531
|
variant,
|
|
@@ -40136,7 +39661,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40136
39661
|
variant,
|
|
40137
39662
|
hasChildren: Boolean(other.children)
|
|
40138
39663
|
});
|
|
40139
|
-
const classes = useUtilityClasses$
|
|
39664
|
+
const classes = useUtilityClasses$v(ownerState);
|
|
40140
39665
|
return /*#__PURE__*/jsxRuntime_1(SkeletonRoot, _extends({
|
|
40141
39666
|
as: component,
|
|
40142
39667
|
ref: ref,
|
|
@@ -40203,8 +39728,58 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40203
39728
|
} ;
|
|
40204
39729
|
var Skeleton$1 = Skeleton;
|
|
40205
39730
|
|
|
40206
|
-
const _excluded$B = ["component", "components", "componentsProps", "color", "size", "slotProps", "slots"];
|
|
40207
39731
|
const sliderClasses = _extends({}, sliderUnstyledClasses$1, generateUtilityClasses('MuiSlider', ['colorPrimary', 'colorSecondary', 'thumbColorPrimary', 'thumbColorSecondary', 'sizeSmall', 'thumbSizeSmall']));
|
|
39732
|
+
var sliderClasses$1 = sliderClasses;
|
|
39733
|
+
|
|
39734
|
+
const useValueLabelClasses = props => {
|
|
39735
|
+
const {
|
|
39736
|
+
open
|
|
39737
|
+
} = props;
|
|
39738
|
+
const utilityClasses = {
|
|
39739
|
+
offset: clsx(open && sliderClasses$1.valueLabelOpen),
|
|
39740
|
+
circle: sliderClasses$1.valueLabelCircle,
|
|
39741
|
+
label: sliderClasses$1.valueLabelLabel
|
|
39742
|
+
};
|
|
39743
|
+
return utilityClasses;
|
|
39744
|
+
};
|
|
39745
|
+
|
|
39746
|
+
/**
|
|
39747
|
+
* @ignore - internal component.
|
|
39748
|
+
*/
|
|
39749
|
+
function SliderValueLabel$1(props) {
|
|
39750
|
+
const {
|
|
39751
|
+
children,
|
|
39752
|
+
className,
|
|
39753
|
+
value
|
|
39754
|
+
} = props;
|
|
39755
|
+
const classes = useValueLabelClasses(props);
|
|
39756
|
+
return /*#__PURE__*/React__namespace.cloneElement(children, {
|
|
39757
|
+
className: clsx(children.props.className)
|
|
39758
|
+
}, /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
39759
|
+
children: [children.props.children, /*#__PURE__*/jsxRuntime_1("span", {
|
|
39760
|
+
className: clsx(classes.offset, className),
|
|
39761
|
+
"aria-hidden": true,
|
|
39762
|
+
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
39763
|
+
className: classes.circle,
|
|
39764
|
+
children: /*#__PURE__*/jsxRuntime_1("span", {
|
|
39765
|
+
className: classes.label,
|
|
39766
|
+
children: value
|
|
39767
|
+
})
|
|
39768
|
+
})
|
|
39769
|
+
})]
|
|
39770
|
+
}));
|
|
39771
|
+
}
|
|
39772
|
+
SliderValueLabel$1.propTypes = {
|
|
39773
|
+
children: PropTypes.element.isRequired,
|
|
39774
|
+
className: PropTypes.string,
|
|
39775
|
+
value: PropTypes.node
|
|
39776
|
+
} ;
|
|
39777
|
+
|
|
39778
|
+
const _excluded$B = ["aria-label", "aria-valuetext", "aria-labelledby", "component", "components", "componentsProps", "color", "classes", "className", "disableSwap", "disabled", "getAriaLabel", "getAriaValueText", "marks", "max", "min", "name", "onChange", "onChangeCommitted", "orientation", "size", "step", "scale", "slotProps", "slots", "tabIndex", "track", "value", "valueLabelDisplay", "valueLabelFormat"];
|
|
39779
|
+
const valueToPercent = (value, min, max) => (value - min) * 100 / (max - min);
|
|
39780
|
+
function Identity(x) {
|
|
39781
|
+
return x;
|
|
39782
|
+
}
|
|
40208
39783
|
const SliderRoot = styled$1('span', {
|
|
40209
39784
|
name: 'MuiSlider',
|
|
40210
39785
|
slot: 'Root',
|
|
@@ -40256,13 +39831,13 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40256
39831
|
'@media print': {
|
|
40257
39832
|
colorAdjust: 'exact'
|
|
40258
39833
|
},
|
|
40259
|
-
[`&.${sliderClasses.disabled}`]: {
|
|
39834
|
+
[`&.${sliderClasses$1.disabled}`]: {
|
|
40260
39835
|
pointerEvents: 'none',
|
|
40261
39836
|
cursor: 'default',
|
|
40262
39837
|
color: (theme.vars || theme).palette.grey[400]
|
|
40263
39838
|
},
|
|
40264
|
-
[`&.${sliderClasses.dragging}`]: {
|
|
40265
|
-
[`& .${sliderClasses.thumb}, & .${sliderClasses.track}`]: {
|
|
39839
|
+
[`&.${sliderClasses$1.dragging}`]: {
|
|
39840
|
+
[`& .${sliderClasses$1.thumb}, & .${sliderClasses$1.track}`]: {
|
|
40266
39841
|
transition: 'none'
|
|
40267
39842
|
}
|
|
40268
39843
|
}
|
|
@@ -40416,16 +39991,16 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40416
39991
|
left: '50%',
|
|
40417
39992
|
transform: 'translate(-50%, -50%)'
|
|
40418
39993
|
},
|
|
40419
|
-
[`&:hover, &.${sliderClasses.focusVisible}`]: {
|
|
39994
|
+
[`&:hover, &.${sliderClasses$1.focusVisible}`]: {
|
|
40420
39995
|
boxShadow: `0px 0px 0px 8px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`,
|
|
40421
39996
|
'@media (hover: none)': {
|
|
40422
39997
|
boxShadow: 'none'
|
|
40423
39998
|
}
|
|
40424
39999
|
},
|
|
40425
|
-
[`&.${sliderClasses.active}`]: {
|
|
40000
|
+
[`&.${sliderClasses$1.active}`]: {
|
|
40426
40001
|
boxShadow: `0px 0px 0px 14px ${theme.vars ? `rgba(${theme.vars.palette[ownerState.color].mainChannel} / 0.16)` : alpha(theme.palette[ownerState.color].main, 0.16)}`
|
|
40427
40002
|
},
|
|
40428
|
-
[`&.${sliderClasses.disabled}`]: {
|
|
40003
|
+
[`&.${sliderClasses$1.disabled}`]: {
|
|
40429
40004
|
'&:hover': {
|
|
40430
40005
|
boxShadow: 'none'
|
|
40431
40006
|
}
|
|
@@ -40441,7 +40016,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40441
40016
|
*/
|
|
40442
40017
|
children: PropTypes.node
|
|
40443
40018
|
} ;
|
|
40444
|
-
const SliderValueLabel = styled$1(
|
|
40019
|
+
const SliderValueLabel = styled$1(SliderValueLabel$1, {
|
|
40445
40020
|
name: 'MuiSlider',
|
|
40446
40021
|
slot: 'ValueLabel',
|
|
40447
40022
|
overridesResolver: (props, styles) => styles.valueLabel
|
|
@@ -40449,7 +40024,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40449
40024
|
theme,
|
|
40450
40025
|
ownerState
|
|
40451
40026
|
}) => _extends({
|
|
40452
|
-
[`&.${sliderClasses.valueLabelOpen}`]: {
|
|
40027
|
+
[`&.${sliderClasses$1.valueLabelOpen}`]: {
|
|
40453
40028
|
transform: 'translateY(-100%) scale(1)'
|
|
40454
40029
|
},
|
|
40455
40030
|
zIndex: 1,
|
|
@@ -40587,19 +40162,38 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40587
40162
|
*/
|
|
40588
40163
|
children: PropTypes.node
|
|
40589
40164
|
} ;
|
|
40590
|
-
const
|
|
40165
|
+
const useUtilityClasses$u = ownerState => {
|
|
40591
40166
|
const {
|
|
40167
|
+
disabled,
|
|
40168
|
+
dragging,
|
|
40169
|
+
marked,
|
|
40170
|
+
orientation,
|
|
40171
|
+
track,
|
|
40172
|
+
classes,
|
|
40592
40173
|
color,
|
|
40593
|
-
size
|
|
40594
|
-
classes = {}
|
|
40174
|
+
size
|
|
40595
40175
|
} = ownerState;
|
|
40596
|
-
|
|
40597
|
-
root:
|
|
40598
|
-
|
|
40599
|
-
|
|
40176
|
+
const slots = {
|
|
40177
|
+
root: ['root', disabled && 'disabled', dragging && 'dragging', marked && 'marked', orientation === 'vertical' && 'vertical', track === 'inverted' && 'trackInverted', track === false && 'trackFalse', color && `color${capitalize(color)}`, size && `size${capitalize(size)}`],
|
|
40178
|
+
rail: ['rail'],
|
|
40179
|
+
track: ['track'],
|
|
40180
|
+
mark: ['mark'],
|
|
40181
|
+
markActive: ['markActive'],
|
|
40182
|
+
markLabel: ['markLabel'],
|
|
40183
|
+
markLabelActive: ['markLabelActive'],
|
|
40184
|
+
valueLabel: ['valueLabel'],
|
|
40185
|
+
thumb: ['thumb', disabled && 'disabled', size && `thumbSize${capitalize(size)}`, color && `thumbColor${capitalize(color)}`],
|
|
40186
|
+
active: ['active'],
|
|
40187
|
+
disabled: ['disabled'],
|
|
40188
|
+
focusVisible: ['focusVisible']
|
|
40189
|
+
};
|
|
40190
|
+
return composeClasses(slots, getSliderUtilityClass, classes);
|
|
40600
40191
|
};
|
|
40192
|
+
const Forward = ({
|
|
40193
|
+
children
|
|
40194
|
+
}) => children;
|
|
40601
40195
|
const Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
|
|
40602
|
-
var _ref, _slots$root, _ref2, _slots$rail, _ref3, _slots$track, _ref4, _slots$thumb, _ref5, _slots$valueLabel, _ref6, _slots$mark, _ref7, _slots$markLabel, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
40196
|
+
var _ref, _slots$root, _ref2, _slots$rail, _ref3, _slots$track, _ref4, _slots$thumb, _ref5, _slots$valueLabel, _ref6, _slots$mark, _ref7, _slots$markLabel, _ref8, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
40603
40197
|
const props = useThemeProps({
|
|
40604
40198
|
props: inputProps,
|
|
40605
40199
|
name: 'MuiSlider'
|
|
@@ -40607,21 +40201,74 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40607
40201
|
const theme = useTheme();
|
|
40608
40202
|
const isRtl = theme.direction === 'rtl';
|
|
40609
40203
|
const {
|
|
40204
|
+
'aria-label': ariaLabel,
|
|
40205
|
+
'aria-valuetext': ariaValuetext,
|
|
40206
|
+
'aria-labelledby': ariaLabelledby,
|
|
40610
40207
|
// eslint-disable-next-line react/prop-types
|
|
40611
40208
|
component = 'span',
|
|
40612
40209
|
components = {},
|
|
40613
40210
|
componentsProps = {},
|
|
40614
40211
|
color = 'primary',
|
|
40212
|
+
classes: classesProp,
|
|
40213
|
+
// eslint-disable-next-line react/prop-types
|
|
40214
|
+
className,
|
|
40215
|
+
disableSwap = false,
|
|
40216
|
+
disabled = false,
|
|
40217
|
+
getAriaLabel,
|
|
40218
|
+
getAriaValueText,
|
|
40219
|
+
marks: marksProp = false,
|
|
40220
|
+
max = 100,
|
|
40221
|
+
min = 0,
|
|
40222
|
+
orientation = 'horizontal',
|
|
40615
40223
|
size = 'medium',
|
|
40224
|
+
step = 1,
|
|
40225
|
+
scale = Identity,
|
|
40616
40226
|
slotProps,
|
|
40617
|
-
slots
|
|
40227
|
+
slots,
|
|
40228
|
+
track = 'normal',
|
|
40229
|
+
valueLabelDisplay = 'off',
|
|
40230
|
+
valueLabelFormat = Identity
|
|
40618
40231
|
} = props,
|
|
40619
40232
|
other = _objectWithoutPropertiesLoose(props, _excluded$B);
|
|
40620
40233
|
const ownerState = _extends({}, props, {
|
|
40234
|
+
isRtl,
|
|
40235
|
+
max,
|
|
40236
|
+
min,
|
|
40237
|
+
classes: classesProp,
|
|
40238
|
+
disabled,
|
|
40239
|
+
disableSwap,
|
|
40240
|
+
orientation,
|
|
40241
|
+
marks: marksProp,
|
|
40621
40242
|
color,
|
|
40622
|
-
size
|
|
40243
|
+
size,
|
|
40244
|
+
step,
|
|
40245
|
+
scale,
|
|
40246
|
+
track,
|
|
40247
|
+
valueLabelDisplay,
|
|
40248
|
+
valueLabelFormat
|
|
40623
40249
|
});
|
|
40624
|
-
const
|
|
40250
|
+
const {
|
|
40251
|
+
axisProps,
|
|
40252
|
+
getRootProps,
|
|
40253
|
+
getHiddenInputProps,
|
|
40254
|
+
getThumbProps,
|
|
40255
|
+
open,
|
|
40256
|
+
active,
|
|
40257
|
+
axis,
|
|
40258
|
+
focusedThumbIndex,
|
|
40259
|
+
range,
|
|
40260
|
+
dragging,
|
|
40261
|
+
marks,
|
|
40262
|
+
values,
|
|
40263
|
+
trackOffset,
|
|
40264
|
+
trackLeap
|
|
40265
|
+
} = useSlider(_extends({}, ownerState, {
|
|
40266
|
+
ref
|
|
40267
|
+
}));
|
|
40268
|
+
ownerState.marked = marks.length > 0 && marks.some(mark => mark.label);
|
|
40269
|
+
ownerState.dragging = dragging;
|
|
40270
|
+
ownerState.focusedThumbIndex = focusedThumbIndex;
|
|
40271
|
+
const classes = useUtilityClasses$u(ownerState);
|
|
40625
40272
|
|
|
40626
40273
|
// support both `slots` and `components` for backward compatibility
|
|
40627
40274
|
const RootSlot = (_ref = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref : SliderRoot;
|
|
@@ -40631,7 +40278,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40631
40278
|
const ValueLabelSlot = (_ref5 = (_slots$valueLabel = slots == null ? void 0 : slots.valueLabel) != null ? _slots$valueLabel : components.ValueLabel) != null ? _ref5 : SliderValueLabel;
|
|
40632
40279
|
const MarkSlot = (_ref6 = (_slots$mark = slots == null ? void 0 : slots.mark) != null ? _slots$mark : components.Mark) != null ? _ref6 : SliderMark;
|
|
40633
40280
|
const MarkLabelSlot = (_ref7 = (_slots$markLabel = slots == null ? void 0 : slots.markLabel) != null ? _slots$markLabel : components.MarkLabel) != null ? _ref7 : SliderMarkLabel;
|
|
40634
|
-
const InputSlot = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input;
|
|
40281
|
+
const InputSlot = (_ref8 = (_slots$input = slots == null ? void 0 : slots.input) != null ? _slots$input : components.Input) != null ? _ref8 : 'input';
|
|
40635
40282
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
40636
40283
|
const railSlotProps = (_slotProps$rail = slotProps == null ? void 0 : slotProps.rail) != null ? _slotProps$rail : componentsProps.rail;
|
|
40637
40284
|
const trackSlotProps = (_slotProps$track = slotProps == null ? void 0 : slotProps.track) != null ? _slotProps$track : componentsProps.track;
|
|
@@ -40640,51 +40287,123 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40640
40287
|
const markSlotProps = (_slotProps$mark = slotProps == null ? void 0 : slotProps.mark) != null ? _slotProps$mark : componentsProps.mark;
|
|
40641
40288
|
const markLabelSlotProps = (_slotProps$markLabel = slotProps == null ? void 0 : slotProps.markLabel) != null ? _slotProps$markLabel : componentsProps.markLabel;
|
|
40642
40289
|
const inputSlotProps = (_slotProps$input = slotProps == null ? void 0 : slotProps.input) != null ? _slotProps$input : componentsProps.input;
|
|
40643
|
-
|
|
40644
|
-
|
|
40645
|
-
|
|
40646
|
-
|
|
40647
|
-
|
|
40648
|
-
|
|
40649
|
-
|
|
40650
|
-
valueLabel: ValueLabelSlot,
|
|
40651
|
-
mark: MarkSlot,
|
|
40652
|
-
markLabel: MarkLabelSlot,
|
|
40653
|
-
input: InputSlot
|
|
40654
|
-
},
|
|
40655
|
-
slotProps: _extends({}, componentsProps, {
|
|
40656
|
-
root: _extends({}, rootSlotProps, shouldSpreadAdditionalProps$1(RootSlot) && {
|
|
40657
|
-
as: component,
|
|
40658
|
-
ownerState: _extends({}, rootSlotProps == null ? void 0 : rootSlotProps.ownerState, {
|
|
40659
|
-
color,
|
|
40660
|
-
size
|
|
40661
|
-
})
|
|
40662
|
-
}),
|
|
40663
|
-
rail: railSlotProps,
|
|
40664
|
-
thumb: _extends({}, thumbSlotProps, shouldSpreadAdditionalProps$1(ThumbSlot) && {
|
|
40665
|
-
ownerState: _extends({}, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState, {
|
|
40666
|
-
color,
|
|
40667
|
-
size
|
|
40668
|
-
})
|
|
40669
|
-
}),
|
|
40670
|
-
track: _extends({}, trackSlotProps, shouldSpreadAdditionalProps$1(TrackSlot) && {
|
|
40671
|
-
ownerState: _extends({}, trackSlotProps == null ? void 0 : trackSlotProps.ownerState, {
|
|
40672
|
-
color,
|
|
40673
|
-
size
|
|
40674
|
-
})
|
|
40675
|
-
}),
|
|
40676
|
-
valueLabel: _extends({}, valueLabelSlotProps, shouldSpreadAdditionalProps$1(ValueLabelSlot) && {
|
|
40677
|
-
ownerState: _extends({}, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState, {
|
|
40678
|
-
color,
|
|
40679
|
-
size
|
|
40680
|
-
})
|
|
40681
|
-
}),
|
|
40682
|
-
mark: markSlotProps,
|
|
40683
|
-
markLabel: markLabelSlotProps,
|
|
40684
|
-
input: inputSlotProps
|
|
40290
|
+
const rootProps = useSlotProps({
|
|
40291
|
+
elementType: RootSlot,
|
|
40292
|
+
getSlotProps: getRootProps,
|
|
40293
|
+
externalSlotProps: rootSlotProps,
|
|
40294
|
+
externalForwardedProps: other,
|
|
40295
|
+
additionalProps: _extends({}, shouldSpreadAdditionalProps$1(RootSlot) && {
|
|
40296
|
+
as: component
|
|
40685
40297
|
}),
|
|
40686
|
-
|
|
40687
|
-
|
|
40298
|
+
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
40299
|
+
className: [classes.root, className]
|
|
40300
|
+
});
|
|
40301
|
+
const railProps = useSlotProps({
|
|
40302
|
+
elementType: RailSlot,
|
|
40303
|
+
externalSlotProps: railSlotProps,
|
|
40304
|
+
ownerState,
|
|
40305
|
+
className: classes.rail
|
|
40306
|
+
});
|
|
40307
|
+
const trackProps = useSlotProps({
|
|
40308
|
+
elementType: TrackSlot,
|
|
40309
|
+
externalSlotProps: trackSlotProps,
|
|
40310
|
+
additionalProps: {
|
|
40311
|
+
style: _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap))
|
|
40312
|
+
},
|
|
40313
|
+
ownerState: _extends({}, ownerState, trackSlotProps == null ? void 0 : trackSlotProps.ownerState),
|
|
40314
|
+
className: classes.track
|
|
40315
|
+
});
|
|
40316
|
+
const thumbProps = useSlotProps({
|
|
40317
|
+
elementType: ThumbSlot,
|
|
40318
|
+
getSlotProps: getThumbProps,
|
|
40319
|
+
externalSlotProps: thumbSlotProps,
|
|
40320
|
+
ownerState: _extends({}, ownerState, thumbSlotProps == null ? void 0 : thumbSlotProps.ownerState)
|
|
40321
|
+
});
|
|
40322
|
+
const valueLabelProps = useSlotProps({
|
|
40323
|
+
elementType: ValueLabelSlot,
|
|
40324
|
+
externalSlotProps: valueLabelSlotProps,
|
|
40325
|
+
ownerState: _extends({}, ownerState, valueLabelSlotProps == null ? void 0 : valueLabelSlotProps.ownerState),
|
|
40326
|
+
className: classes.valueLabel
|
|
40327
|
+
});
|
|
40328
|
+
const markProps = useSlotProps({
|
|
40329
|
+
elementType: MarkSlot,
|
|
40330
|
+
externalSlotProps: markSlotProps,
|
|
40331
|
+
ownerState,
|
|
40332
|
+
className: classes.mark
|
|
40333
|
+
});
|
|
40334
|
+
const markLabelProps = useSlotProps({
|
|
40335
|
+
elementType: MarkLabelSlot,
|
|
40336
|
+
externalSlotProps: markLabelSlotProps,
|
|
40337
|
+
ownerState
|
|
40338
|
+
});
|
|
40339
|
+
const inputSliderProps = useSlotProps({
|
|
40340
|
+
elementType: InputSlot,
|
|
40341
|
+
getSlotProps: getHiddenInputProps,
|
|
40342
|
+
externalSlotProps: inputSlotProps,
|
|
40343
|
+
ownerState
|
|
40344
|
+
});
|
|
40345
|
+
return /*#__PURE__*/jsxRuntime_2(RootSlot, _extends({}, rootProps, {
|
|
40346
|
+
children: [/*#__PURE__*/jsxRuntime_1(RailSlot, _extends({}, railProps)), /*#__PURE__*/jsxRuntime_1(TrackSlot, _extends({}, trackProps)), marks.filter(mark => mark.value >= min && mark.value <= max).map((mark, index) => {
|
|
40347
|
+
const percent = valueToPercent(mark.value, min, max);
|
|
40348
|
+
const style = axisProps[axis].offset(percent);
|
|
40349
|
+
let markActive;
|
|
40350
|
+
if (track === false) {
|
|
40351
|
+
markActive = values.indexOf(mark.value) !== -1;
|
|
40352
|
+
} else {
|
|
40353
|
+
markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
|
|
40354
|
+
}
|
|
40355
|
+
return /*#__PURE__*/jsxRuntime_2(React__namespace.Fragment, {
|
|
40356
|
+
children: [/*#__PURE__*/jsxRuntime_1(MarkSlot, _extends({
|
|
40357
|
+
"data-index": index
|
|
40358
|
+
}, markProps, !isHostComponent(MarkSlot) && {
|
|
40359
|
+
markActive
|
|
40360
|
+
}, {
|
|
40361
|
+
style: _extends({}, style, markProps.style),
|
|
40362
|
+
className: clsx(markProps.className, markActive && classes.markActive)
|
|
40363
|
+
})), mark.label != null ? /*#__PURE__*/jsxRuntime_1(MarkLabelSlot, _extends({
|
|
40364
|
+
"aria-hidden": true,
|
|
40365
|
+
"data-index": index
|
|
40366
|
+
}, markLabelProps, !isHostComponent(MarkLabelSlot) && {
|
|
40367
|
+
markLabelActive: markActive
|
|
40368
|
+
}, {
|
|
40369
|
+
style: _extends({}, style, markLabelProps.style),
|
|
40370
|
+
className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
|
|
40371
|
+
children: mark.label
|
|
40372
|
+
})) : null]
|
|
40373
|
+
}, index);
|
|
40374
|
+
}), values.map((value, index) => {
|
|
40375
|
+
const percent = valueToPercent(value, min, max);
|
|
40376
|
+
const style = axisProps[axis].offset(percent);
|
|
40377
|
+
const ValueLabelComponent = valueLabelDisplay === 'off' ? Forward : ValueLabelSlot;
|
|
40378
|
+
return /*#__PURE__*/jsxRuntime_1(React__namespace.Fragment, {
|
|
40379
|
+
children: /*#__PURE__*/jsxRuntime_1(ValueLabelComponent, _extends({}, !isHostComponent(ValueLabelComponent) && {
|
|
40380
|
+
valueLabelFormat,
|
|
40381
|
+
valueLabelDisplay,
|
|
40382
|
+
value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,
|
|
40383
|
+
index,
|
|
40384
|
+
open: open === index || active === index || valueLabelDisplay === 'on',
|
|
40385
|
+
disabled
|
|
40386
|
+
}, valueLabelProps, {
|
|
40387
|
+
children: /*#__PURE__*/jsxRuntime_1(ThumbSlot, _extends({
|
|
40388
|
+
"data-index": index,
|
|
40389
|
+
"data-focusvisible": focusedThumbIndex === index
|
|
40390
|
+
}, thumbProps, {
|
|
40391
|
+
className: clsx(classes.thumb, thumbProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
|
|
40392
|
+
style: _extends({}, style, {
|
|
40393
|
+
pointerEvents: disableSwap && active !== index ? 'none' : undefined
|
|
40394
|
+
}, thumbProps.style),
|
|
40395
|
+
children: /*#__PURE__*/jsxRuntime_1(InputSlot, _extends({
|
|
40396
|
+
"data-index": index,
|
|
40397
|
+
"aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
|
|
40398
|
+
"aria-valuenow": scale(value),
|
|
40399
|
+
"aria-labelledby": ariaLabelledby,
|
|
40400
|
+
"aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
|
|
40401
|
+
value: values[index]
|
|
40402
|
+
}, inputSliderProps))
|
|
40403
|
+
}))
|
|
40404
|
+
}))
|
|
40405
|
+
}, index);
|
|
40406
|
+
})]
|
|
40688
40407
|
}));
|
|
40689
40408
|
});
|
|
40690
40409
|
Slider.propTypes /* remove-proptypes */ = {
|
|
@@ -40854,7 +40573,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40854
40573
|
orientation: PropTypes.oneOf(['horizontal', 'vertical']),
|
|
40855
40574
|
/**
|
|
40856
40575
|
* A transformation function, to change the scale of the slider.
|
|
40857
|
-
* @
|
|
40576
|
+
* @param {any} x
|
|
40577
|
+
* @returns {any}
|
|
40578
|
+
* @default function Identity(x) {
|
|
40579
|
+
* return x;
|
|
40580
|
+
* }
|
|
40858
40581
|
*/
|
|
40859
40582
|
scale: PropTypes.func,
|
|
40860
40583
|
/**
|
|
@@ -40945,7 +40668,11 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
40945
40668
|
*
|
|
40946
40669
|
* - {number} value The value label's value to format
|
|
40947
40670
|
* - {number} index The value label's index to format
|
|
40948
|
-
* @
|
|
40671
|
+
* @param {any} x
|
|
40672
|
+
* @returns {any}
|
|
40673
|
+
* @default function Identity(x) {
|
|
40674
|
+
* return x;
|
|
40675
|
+
* }
|
|
40949
40676
|
*/
|
|
40950
40677
|
valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
|
|
40951
40678
|
} ;
|
|
@@ -49485,7 +49212,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
49485
49212
|
exports.setRef = setRef;
|
|
49486
49213
|
exports.shouldSkipGeneratingVar = shouldSkipGeneratingVar;
|
|
49487
49214
|
exports.skeletonClasses = skeletonClasses$1;
|
|
49488
|
-
exports.sliderClasses = sliderClasses;
|
|
49215
|
+
exports.sliderClasses = sliderClasses$1;
|
|
49489
49216
|
exports.snackbarClasses = snackbarClasses$1;
|
|
49490
49217
|
exports.snackbarContentClasses = snackbarContentClasses$1;
|
|
49491
49218
|
exports.speedDialActionClasses = speedDialActionClasses$1;
|