@mui/material 6.0.0-alpha.2 → 6.0.0-alpha.4
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/AppBar/AppBar.js +0 -1
- package/Avatar/Avatar.js +1 -1
- package/CHANGELOG.md +128 -0
- package/CardMedia/CardMedia.js +0 -1
- package/Checkbox/Checkbox.js +51 -20
- package/CircularProgress/CircularProgress.js +66 -30
- package/Dialog/Dialog.js +10 -1
- package/Fab/Fab.js +83 -43
- package/FormHelperText/FormHelperText.js +18 -8
- package/IconButton/IconButton.js +97 -40
- package/ImageList/ImageList.js +16 -14
- package/ImageListItem/ImageListItem.js +37 -22
- package/ImageListItemBar/ImageListItemBar.js +65 -32
- package/LinearProgress/LinearProgress.js +180 -75
- package/ListItem/ListItem.js +94 -50
- package/ListItemAvatar/ListItemAvatar.js +12 -8
- package/ListItemButton/ListItemButton.js +35 -15
- package/ListItemSecondaryAction/ListItemSecondaryAction.js +12 -8
- package/ListItemText/ListItemText.js +20 -11
- package/ListSubheader/ListSubheader.js +44 -19
- package/PaginationItem/PaginationItem.js +137 -76
- package/Radio/Radio.js +50 -20
- package/Radio/RadioButtonIcon.js +18 -12
- package/Rating/Rating.js +71 -37
- package/StepConnector/stepConnectorClasses.d.ts +6 -2
- package/StepLabel/StepLabel.d.ts +7 -0
- package/StepLabel/StepLabel.js +17 -6
- package/Table/Table.js +11 -6
- package/TableCell/TableCell.js +96 -41
- package/TableSortLabel/TableSortLabel.js +19 -9
- package/ToggleButton/ToggleButton.js +74 -45
- package/ToggleButtonGroup/ToggleButtonGroup.js +63 -51
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +8 -2
- package/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/Toolbar/Toolbar.js +33 -17
- package/Tooltip/Tooltip.js +1 -2
- package/Typography/Typography.js +6 -3
- package/index.js +1 -1
- package/modern/AppBar/AppBar.js +0 -1
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/CardMedia/CardMedia.js +0 -1
- package/modern/Checkbox/Checkbox.js +51 -20
- package/modern/CircularProgress/CircularProgress.js +66 -30
- package/modern/Dialog/Dialog.js +10 -1
- package/modern/Fab/Fab.js +83 -43
- package/modern/FormHelperText/FormHelperText.js +18 -8
- package/modern/IconButton/IconButton.js +97 -40
- package/modern/ImageList/ImageList.js +16 -14
- package/modern/ImageListItem/ImageListItem.js +37 -22
- package/modern/ImageListItemBar/ImageListItemBar.js +65 -32
- package/modern/LinearProgress/LinearProgress.js +180 -75
- package/modern/ListItem/ListItem.js +94 -50
- package/modern/ListItemAvatar/ListItemAvatar.js +12 -8
- package/modern/ListItemButton/ListItemButton.js +35 -15
- package/modern/ListItemSecondaryAction/ListItemSecondaryAction.js +12 -8
- package/modern/ListItemText/ListItemText.js +20 -11
- package/modern/ListSubheader/ListSubheader.js +44 -19
- package/modern/PaginationItem/PaginationItem.js +137 -76
- package/modern/Radio/Radio.js +50 -20
- package/modern/Radio/RadioButtonIcon.js +18 -12
- package/modern/Rating/Rating.js +71 -37
- package/modern/StepLabel/StepLabel.js +17 -6
- package/modern/Table/Table.js +11 -6
- package/modern/TableCell/TableCell.js +96 -41
- package/modern/TableSortLabel/TableSortLabel.js +19 -9
- package/modern/ToggleButton/ToggleButton.js +74 -45
- package/modern/ToggleButtonGroup/ToggleButtonGroup.js +63 -51
- package/modern/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/modern/Toolbar/Toolbar.js +33 -17
- package/modern/Tooltip/Tooltip.js +1 -2
- package/modern/Typography/Typography.js +6 -3
- package/modern/index.js +1 -1
- package/modern/styles/createTransitions.js +1 -3
- package/modern/styles/experimental_extendTheme.js +2 -1
- package/modern/styles/getOverlayAlpha.js +3 -4
- package/modern/zero-styled/index.js +1 -1
- package/node/AppBar/AppBar.js +0 -1
- package/node/Avatar/Avatar.js +1 -1
- package/node/CardMedia/CardMedia.js +0 -1
- package/node/Checkbox/Checkbox.js +54 -23
- package/node/CircularProgress/CircularProgress.js +72 -36
- package/node/Dialog/Dialog.js +10 -1
- package/node/Fab/Fab.js +85 -45
- package/node/FormHelperText/FormHelperText.js +18 -8
- package/node/IconButton/IconButton.js +99 -43
- package/node/ImageList/ImageList.js +16 -14
- package/node/ImageListItem/ImageListItem.js +37 -22
- package/node/ImageListItemBar/ImageListItemBar.js +65 -32
- package/node/LinearProgress/LinearProgress.js +188 -83
- package/node/ListItem/ListItem.js +94 -50
- package/node/ListItemAvatar/ListItemAvatar.js +12 -8
- package/node/ListItemButton/ListItemButton.js +35 -15
- package/node/ListItemSecondaryAction/ListItemSecondaryAction.js +12 -8
- package/node/ListItemText/ListItemText.js +20 -11
- package/node/ListSubheader/ListSubheader.js +44 -19
- package/node/PaginationItem/PaginationItem.js +141 -80
- package/node/Radio/Radio.js +52 -22
- package/node/Radio/RadioButtonIcon.js +21 -15
- package/node/Rating/Rating.js +71 -37
- package/node/StepLabel/StepLabel.js +17 -6
- package/node/Table/Table.js +11 -6
- package/node/TableCell/TableCell.js +96 -41
- package/node/TableSortLabel/TableSortLabel.js +19 -9
- package/node/ToggleButton/ToggleButton.js +76 -47
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +65 -53
- package/node/ToggleButtonGroup/toggleButtonGroupClasses.js +1 -1
- package/node/Toolbar/Toolbar.js +33 -17
- package/node/Tooltip/Tooltip.js +1 -2
- package/node/Typography/Typography.js +6 -3
- package/node/index.js +1 -1
- package/node/styles/createTransitions.js +1 -3
- package/node/styles/experimental_extendTheme.js +1 -0
- package/node/styles/getOverlayAlpha.js +4 -5
- package/node/zero-styled/index.js +6 -0
- package/package.json +4 -4
- package/styles/createTransitions.js +1 -3
- package/styles/experimental_extendTheme.d.ts +2 -0
- package/styles/experimental_extendTheme.js +2 -1
- package/styles/getOverlayAlpha.d.ts +1 -2
- package/styles/getOverlayAlpha.js +3 -4
- package/umd/material-ui.development.js +1849 -890
- package/umd/material-ui.production.min.js +4 -4
- package/zero-styled/index.d.ts +1 -1
- package/zero-styled/index.js +1 -1
- package/legacy/Accordion/Accordion.js +0 -306
- package/legacy/Accordion/AccordionContext.js +0 -13
- package/legacy/Accordion/accordionClasses.js +0 -7
- package/legacy/Accordion/index.js +0 -3
- package/legacy/AccordionActions/AccordionActions.js +0 -90
- package/legacy/AccordionActions/accordionActionsClasses.js +0 -7
- package/legacy/AccordionActions/index.js +0 -3
- package/legacy/AccordionDetails/AccordionDetails.js +0 -69
- package/legacy/AccordionDetails/accordionDetailsClasses.js +0 -7
- package/legacy/AccordionDetails/index.js +0 -3
- package/legacy/AccordionSummary/AccordionSummary.js +0 -198
- package/legacy/AccordionSummary/accordionSummaryClasses.js +0 -7
- package/legacy/AccordionSummary/index.js +0 -3
- package/legacy/Alert/Alert.js +0 -385
- package/legacy/Alert/alertClasses.js +0 -7
- package/legacy/Alert/index.js +0 -5
- package/legacy/AlertTitle/AlertTitle.js +0 -73
- package/legacy/AlertTitle/alertTitleClasses.js +0 -7
- package/legacy/AlertTitle/index.js +0 -5
- package/legacy/AppBar/AppBar.js +0 -235
- package/legacy/AppBar/appBarClasses.js +0 -7
- package/legacy/AppBar/index.js +0 -5
- package/legacy/Autocomplete/Autocomplete.js +0 -1127
- package/legacy/Autocomplete/autocompleteClasses.js +0 -7
- package/legacy/Autocomplete/index.js +0 -5
- package/legacy/Avatar/Avatar.js +0 -296
- package/legacy/Avatar/avatarClasses.js +0 -7
- package/legacy/Avatar/index.js +0 -5
- package/legacy/AvatarGroup/AvatarGroup.js +0 -205
- package/legacy/AvatarGroup/avatarGroupClasses.js +0 -7
- package/legacy/AvatarGroup/index.js +0 -5
- package/legacy/Backdrop/Backdrop.js +0 -211
- package/legacy/Backdrop/backdropClasses.js +0 -7
- package/legacy/Backdrop/index.js +0 -5
- package/legacy/Badge/Badge.js +0 -439
- package/legacy/Badge/badgeClasses.js +0 -9
- package/legacy/Badge/index.js +0 -5
- package/legacy/BottomNavigation/BottomNavigation.js +0 -124
- package/legacy/BottomNavigation/bottomNavigationClasses.js +0 -7
- package/legacy/BottomNavigation/index.js +0 -5
- package/legacy/BottomNavigationAction/BottomNavigationAction.js +0 -185
- package/legacy/BottomNavigationAction/bottomNavigationActionClasses.js +0 -7
- package/legacy/BottomNavigationAction/index.js +0 -5
- package/legacy/Box/Box.js +0 -35
- package/legacy/Box/boxClasses.js +0 -3
- package/legacy/Box/index.js +0 -5
- package/legacy/Breadcrumbs/BreadcrumbCollapsed.js +0 -88
- package/legacy/Breadcrumbs/Breadcrumbs.js +0 -253
- package/legacy/Breadcrumbs/breadcrumbsClasses.js +0 -7
- package/legacy/Breadcrumbs/index.js +0 -5
- package/legacy/Button/Button.js +0 -472
- package/legacy/Button/buttonClasses.js +0 -7
- package/legacy/Button/index.js +0 -5
- package/legacy/ButtonBase/ButtonBase.js +0 -487
- package/legacy/ButtonBase/Ripple.js +0 -89
- package/legacy/ButtonBase/TouchRipple.js +0 -267
- package/legacy/ButtonBase/buttonBaseClasses.js +0 -7
- package/legacy/ButtonBase/index.js +0 -7
- package/legacy/ButtonBase/touchRippleClasses.js +0 -7
- package/legacy/ButtonGroup/ButtonGroup.js +0 -371
- package/legacy/ButtonGroup/ButtonGroupButtonContext.js +0 -9
- package/legacy/ButtonGroup/ButtonGroupContext.js +0 -9
- package/legacy/ButtonGroup/buttonGroupClasses.js +0 -7
- package/legacy/ButtonGroup/index.js +0 -7
- package/legacy/Card/Card.js +0 -83
- package/legacy/Card/cardClasses.js +0 -7
- package/legacy/Card/index.js +0 -5
- package/legacy/CardActionArea/CardActionArea.js +0 -119
- package/legacy/CardActionArea/cardActionAreaClasses.js +0 -7
- package/legacy/CardActionArea/index.js +0 -5
- package/legacy/CardActions/CardActions.js +0 -89
- package/legacy/CardActions/cardActionsClasses.js +0 -7
- package/legacy/CardActions/index.js +0 -5
- package/legacy/CardContent/CardContent.js +0 -79
- package/legacy/CardContent/cardContentClasses.js +0 -7
- package/legacy/CardContent/index.js +0 -5
- package/legacy/CardHeader/CardHeader.js +0 -198
- package/legacy/CardHeader/cardHeaderClasses.js +0 -7
- package/legacy/CardHeader/index.js +0 -5
- package/legacy/CardMedia/CardMedia.js +0 -139
- package/legacy/CardMedia/cardMediaClasses.js +0 -7
- package/legacy/CardMedia/index.js +0 -5
- package/legacy/Checkbox/Checkbox.js +0 -212
- package/legacy/Checkbox/checkboxClasses.js +0 -7
- package/legacy/Checkbox/index.js +0 -5
- package/legacy/Chip/Chip.js +0 -547
- package/legacy/Chip/chipClasses.js +0 -7
- package/legacy/Chip/index.js +0 -5
- package/legacy/CircularProgress/CircularProgress.js +0 -224
- package/legacy/CircularProgress/circularProgressClasses.js +0 -7
- package/legacy/CircularProgress/index.js +0 -5
- package/legacy/ClickAwayListener/index.js +0 -1
- package/legacy/Collapse/Collapse.js +0 -383
- package/legacy/Collapse/collapseClasses.js +0 -7
- package/legacy/Collapse/index.js +0 -5
- package/legacy/Container/Container.js +0 -67
- package/legacy/Container/containerClasses.js +0 -7
- package/legacy/Container/index.js +0 -5
- package/legacy/CssBaseline/CssBaseline.js +0 -113
- package/legacy/CssBaseline/index.js +0 -3
- package/legacy/Dialog/Dialog.js +0 -392
- package/legacy/Dialog/DialogContext.js +0 -6
- package/legacy/Dialog/dialogClasses.js +0 -7
- package/legacy/Dialog/index.js +0 -5
- package/legacy/DialogActions/DialogActions.js +0 -88
- package/legacy/DialogActions/dialogActionsClasses.js +0 -7
- package/legacy/DialogActions/index.js +0 -5
- package/legacy/DialogContent/DialogContent.js +0 -93
- package/legacy/DialogContent/dialogContentClasses.js +0 -7
- package/legacy/DialogContent/index.js +0 -5
- package/legacy/DialogContentText/DialogContentText.js +0 -74
- package/legacy/DialogContentText/dialogContentTextClasses.js +0 -7
- package/legacy/DialogContentText/index.js +0 -5
- package/legacy/DialogTitle/DialogTitle.js +0 -80
- package/legacy/DialogTitle/dialogTitleClasses.js +0 -7
- package/legacy/DialogTitle/index.js +0 -5
- package/legacy/Divider/Divider.js +0 -316
- package/legacy/Divider/dividerClasses.js +0 -7
- package/legacy/Divider/index.js +0 -5
- package/legacy/Drawer/Drawer.js +0 -316
- package/legacy/Drawer/drawerClasses.js +0 -7
- package/legacy/Drawer/index.js +0 -5
- package/legacy/Fab/Fab.js +0 -229
- package/legacy/Fab/fabClasses.js +0 -7
- package/legacy/Fab/index.js +0 -5
- package/legacy/Fade/Fade.js +0 -206
- package/legacy/Fade/index.js +0 -3
- package/legacy/FilledInput/FilledInput.js +0 -425
- package/legacy/FilledInput/filledInputClasses.js +0 -9
- package/legacy/FilledInput/index.js +0 -5
- package/legacy/FormControl/FormControl.js +0 -315
- package/legacy/FormControl/FormControlContext.js +0 -9
- package/legacy/FormControl/formControlClasses.js +0 -7
- package/legacy/FormControl/formControlState.js +0 -14
- package/legacy/FormControl/index.js +0 -6
- package/legacy/FormControl/useFormControl.js +0 -7
- package/legacy/FormControlLabel/FormControlLabel.js +0 -258
- package/legacy/FormControlLabel/formControlLabelClasses.js +0 -7
- package/legacy/FormControlLabel/index.js +0 -5
- package/legacy/FormGroup/FormGroup.js +0 -103
- package/legacy/FormGroup/formGroupClasses.js +0 -7
- package/legacy/FormGroup/index.js +0 -5
- package/legacy/FormHelperText/FormHelperText.js +0 -167
- package/legacy/FormHelperText/formHelperTextClasses.js +0 -7
- package/legacy/FormHelperText/index.js +0 -5
- package/legacy/FormLabel/FormLabel.js +0 -166
- package/legacy/FormLabel/formLabelClasses.js +0 -7
- package/legacy/FormLabel/index.js +0 -6
- package/legacy/GlobalStyles/GlobalStyles.js +0 -26
- package/legacy/GlobalStyles/index.js +0 -1
- package/legacy/Grid/Grid.js +0 -561
- package/legacy/Grid/GridContext.js +0 -12
- package/legacy/Grid/gridClasses.js +0 -28
- package/legacy/Grid/index.js +0 -5
- package/legacy/Grow/Grow.js +0 -253
- package/legacy/Grow/index.js +0 -3
- package/legacy/Hidden/Hidden.js +0 -147
- package/legacy/Hidden/HiddenCss.js +0 -168
- package/legacy/Hidden/HiddenJs.js +0 -123
- package/legacy/Hidden/hiddenCssClasses.js +0 -7
- package/legacy/Hidden/index.js +0 -3
- package/legacy/Hidden/withWidth.js +0 -110
- package/legacy/Icon/Icon.js +0 -144
- package/legacy/Icon/iconClasses.js +0 -7
- package/legacy/Icon/index.js +0 -5
- package/legacy/IconButton/IconButton.js +0 -204
- package/legacy/IconButton/iconButtonClasses.js +0 -7
- package/legacy/IconButton/index.js +0 -5
- package/legacy/ImageList/ImageList.js +0 -155
- package/legacy/ImageList/ImageListContext.js +0 -13
- package/legacy/ImageList/imageListClasses.js +0 -7
- package/legacy/ImageList/index.js +0 -5
- package/legacy/ImageListItem/ImageListItem.js +0 -168
- package/legacy/ImageListItem/imageListItemClasses.js +0 -7
- package/legacy/ImageListItem/index.js +0 -5
- package/legacy/ImageListItemBar/ImageListItemBar.js +0 -211
- package/legacy/ImageListItemBar/imageListItemBarClasses.js +0 -7
- package/legacy/ImageListItemBar/index.js +0 -5
- package/legacy/Input/Input.js +0 -339
- package/legacy/Input/index.js +0 -5
- package/legacy/Input/inputClasses.js +0 -9
- package/legacy/InputAdornment/InputAdornment.js +0 -167
- package/legacy/InputAdornment/index.js +0 -5
- package/legacy/InputAdornment/inputAdornmentClasses.js +0 -7
- package/legacy/InputBase/InputBase.js +0 -713
- package/legacy/InputBase/index.js +0 -5
- package/legacy/InputBase/inputBaseClasses.js +0 -7
- package/legacy/InputBase/utils.js +0 -31
- package/legacy/InputLabel/InputLabel.js +0 -214
- package/legacy/InputLabel/index.js +0 -5
- package/legacy/InputLabel/inputLabelClasses.js +0 -7
- package/legacy/LinearProgress/LinearProgress.js +0 -285
- package/legacy/LinearProgress/index.js +0 -5
- package/legacy/LinearProgress/linearProgressClasses.js +0 -7
- package/legacy/Link/Link.js +0 -209
- package/legacy/Link/getTextDecoration.js +0 -24
- package/legacy/Link/index.js +0 -5
- package/legacy/Link/linkClasses.js +0 -7
- package/legacy/List/List.js +0 -126
- package/legacy/List/ListContext.js +0 -12
- package/legacy/List/index.js +0 -5
- package/legacy/List/listClasses.js +0 -7
- package/legacy/ListItem/ListItem.js +0 -425
- package/legacy/ListItem/index.js +0 -5
- package/legacy/ListItem/listItemClasses.js +0 -7
- package/legacy/ListItemAvatar/ListItemAvatar.js +0 -82
- package/legacy/ListItemAvatar/index.js +0 -5
- package/legacy/ListItemAvatar/listItemAvatarClasses.js +0 -7
- package/legacy/ListItemButton/ListItemButton.js +0 -242
- package/legacy/ListItemButton/index.js +0 -5
- package/legacy/ListItemButton/listItemButtonClasses.js +0 -7
- package/legacy/ListItemIcon/ListItemIcon.js +0 -86
- package/legacy/ListItemIcon/index.js +0 -5
- package/legacy/ListItemIcon/listItemIconClasses.js +0 -7
- package/legacy/ListItemSecondaryAction/ListItemSecondaryAction.js +0 -85
- package/legacy/ListItemSecondaryAction/index.js +0 -5
- package/legacy/ListItemSecondaryAction/listItemSecondaryActionClasses.js +0 -7
- package/legacy/ListItemText/ListItemText.js +0 -160
- package/legacy/ListItemText/index.js +0 -5
- package/legacy/ListItemText/listItemTextClasses.js +0 -7
- package/legacy/ListSubheader/ListSubheader.js +0 -139
- package/legacy/ListSubheader/index.js +0 -5
- package/legacy/ListSubheader/listSubheaderClasses.js +0 -7
- package/legacy/Menu/Menu.js +0 -317
- package/legacy/Menu/index.js +0 -5
- package/legacy/Menu/menuClasses.js +0 -7
- package/legacy/MenuItem/MenuItem.js +0 -251
- package/legacy/MenuItem/index.js +0 -5
- package/legacy/MenuItem/menuItemClasses.js +0 -7
- package/legacy/MenuList/MenuList.js +0 -285
- package/legacy/MenuList/index.js +0 -3
- package/legacy/MobileStepper/MobileStepper.js +0 -254
- package/legacy/MobileStepper/index.js +0 -5
- package/legacy/MobileStepper/mobileStepperClasses.js +0 -7
- package/legacy/Modal/Modal.js +0 -398
- package/legacy/Modal/index.js +0 -6
- package/legacy/Modal/modalClasses.js +0 -7
- package/legacy/NativeSelect/NativeSelect.js +0 -128
- package/legacy/NativeSelect/NativeSelectInput.js +0 -203
- package/legacy/NativeSelect/index.js +0 -5
- package/legacy/NativeSelect/nativeSelectClasses.js +0 -7
- package/legacy/NoSsr/index.js +0 -1
- package/legacy/OutlinedInput/NotchedOutline.js +0 -135
- package/legacy/OutlinedInput/OutlinedInput.js +0 -347
- package/legacy/OutlinedInput/index.js +0 -5
- package/legacy/OutlinedInput/outlinedInputClasses.js +0 -9
- package/legacy/Pagination/Pagination.js +0 -256
- package/legacy/Pagination/index.js +0 -5
- package/legacy/Pagination/paginationClasses.js +0 -7
- package/legacy/PaginationItem/PaginationItem.js +0 -356
- package/legacy/PaginationItem/index.js +0 -5
- package/legacy/PaginationItem/paginationItemClasses.js +0 -7
- package/legacy/Paper/Paper.js +0 -141
- package/legacy/Paper/index.js +0 -5
- package/legacy/Paper/paperClasses.js +0 -7
- package/legacy/Popover/Popover.js +0 -548
- package/legacy/Popover/index.js +0 -6
- package/legacy/Popover/popoverClasses.js +0 -7
- package/legacy/Popper/Popper.js +0 -207
- package/legacy/Popper/index.js +0 -3
- package/legacy/Portal/index.js +0 -1
- package/legacy/Radio/Radio.js +0 -212
- package/legacy/Radio/RadioButtonIcon.js +0 -81
- package/legacy/Radio/index.js +0 -5
- package/legacy/Radio/radioClasses.js +0 -7
- package/legacy/RadioGroup/RadioGroup.js +0 -118
- package/legacy/RadioGroup/RadioGroupContext.js +0 -9
- package/legacy/RadioGroup/index.js +0 -6
- package/legacy/RadioGroup/radioGroupClasses.js +0 -7
- package/legacy/RadioGroup/useRadioGroup.js +0 -7
- package/legacy/Rating/Rating.js +0 -657
- package/legacy/Rating/index.js +0 -3
- package/legacy/Rating/ratingClasses.js +0 -7
- package/legacy/ScopedCssBaseline/ScopedCssBaseline.js +0 -106
- package/legacy/ScopedCssBaseline/index.js +0 -5
- package/legacy/ScopedCssBaseline/scopedCssBaselineClasses.js +0 -7
- package/legacy/Select/Select.js +0 -290
- package/legacy/Select/SelectInput.js +0 -667
- package/legacy/Select/index.js +0 -5
- package/legacy/Select/selectClasses.js +0 -7
- package/legacy/Skeleton/Skeleton.js +0 -166
- package/legacy/Skeleton/index.js +0 -5
- package/legacy/Skeleton/skeletonClasses.js +0 -7
- package/legacy/Slide/Slide.js +0 -333
- package/legacy/Slide/index.js +0 -3
- package/legacy/Slider/Slider.js +0 -1063
- package/legacy/Slider/SliderValueLabel.js +0 -49
- package/legacy/Slider/SliderValueLabel.types.js +0 -1
- package/legacy/Slider/index.js +0 -6
- package/legacy/Slider/sliderClasses.js +0 -7
- package/legacy/Snackbar/Snackbar.js +0 -312
- package/legacy/Snackbar/index.js +0 -5
- package/legacy/Snackbar/snackbarClasses.js +0 -7
- package/legacy/SnackbarContent/SnackbarContent.js +0 -134
- package/legacy/SnackbarContent/index.js +0 -5
- package/legacy/SnackbarContent/snackbarContentClasses.js +0 -7
- package/legacy/SpeedDial/SpeedDial.js +0 -491
- package/legacy/SpeedDial/index.js +0 -5
- package/legacy/SpeedDial/speedDialClasses.js +0 -7
- package/legacy/SpeedDialAction/SpeedDialAction.js +0 -247
- package/legacy/SpeedDialAction/index.js +0 -5
- package/legacy/SpeedDialAction/speedDialActionClasses.js +0 -7
- package/legacy/SpeedDialIcon/SpeedDialIcon.js +0 -120
- package/legacy/SpeedDialIcon/index.js +0 -5
- package/legacy/SpeedDialIcon/speedDialIconClasses.js +0 -7
- package/legacy/Stack/Stack.js +0 -66
- package/legacy/Stack/index.js +0 -4
- package/legacy/Stack/stackClasses.js +0 -7
- package/legacy/Step/Step.js +0 -179
- package/legacy/Step/StepContext.js +0 -17
- package/legacy/Step/index.js +0 -7
- package/legacy/Step/stepClasses.js +0 -7
- package/legacy/StepButton/StepButton.js +0 -122
- package/legacy/StepButton/index.js +0 -5
- package/legacy/StepButton/stepButtonClasses.js +0 -7
- package/legacy/StepConnector/StepConnector.js +0 -142
- package/legacy/StepConnector/index.js +0 -5
- package/legacy/StepConnector/stepConnectorClasses.js +0 -7
- package/legacy/StepContent/StepContent.js +0 -152
- package/legacy/StepContent/index.js +0 -5
- package/legacy/StepContent/stepContentClasses.js +0 -7
- package/legacy/StepIcon/StepIcon.js +0 -162
- package/legacy/StepIcon/index.js +0 -5
- package/legacy/StepIcon/stepIconClasses.js +0 -7
- package/legacy/StepLabel/StepLabel.js +0 -258
- package/legacy/StepLabel/index.js +0 -5
- package/legacy/StepLabel/stepLabelClasses.js +0 -7
- package/legacy/Stepper/Stepper.js +0 -167
- package/legacy/Stepper/StepperContext.js +0 -17
- package/legacy/Stepper/index.js +0 -7
- package/legacy/Stepper/stepperClasses.js +0 -7
- package/legacy/StyledEngineProvider/index.js +0 -1
- package/legacy/SvgIcon/SvgIcon.js +0 -183
- package/legacy/SvgIcon/index.js +0 -5
- package/legacy/SvgIcon/svgIconClasses.js +0 -7
- package/legacy/SwipeableDrawer/SwipeArea.js +0 -81
- package/legacy/SwipeableDrawer/SwipeableDrawer.js +0 -621
- package/legacy/SwipeableDrawer/index.js +0 -3
- package/legacy/Switch/Switch.js +0 -337
- package/legacy/Switch/index.js +0 -5
- package/legacy/Switch/switchClasses.js +0 -7
- package/legacy/Tab/Tab.js +0 -249
- package/legacy/Tab/index.js +0 -5
- package/legacy/Tab/tabClasses.js +0 -7
- package/legacy/TabScrollButton/TabScrollButton.js +0 -153
- package/legacy/TabScrollButton/index.js +0 -5
- package/legacy/TabScrollButton/tabScrollButtonClasses.js +0 -7
- package/legacy/Table/Table.js +0 -130
- package/legacy/Table/TableContext.js +0 -12
- package/legacy/Table/Tablelvl2Context.js +0 -10
- package/legacy/Table/index.js +0 -5
- package/legacy/Table/tableClasses.js +0 -7
- package/legacy/TableBody/TableBody.js +0 -85
- package/legacy/TableBody/index.js +0 -5
- package/legacy/TableBody/tableBodyClasses.js +0 -7
- package/legacy/TableCell/TableCell.js +0 -208
- package/legacy/TableCell/index.js +0 -5
- package/legacy/TableCell/tableCellClasses.js +0 -7
- package/legacy/TableContainer/TableContainer.js +0 -77
- package/legacy/TableContainer/index.js +0 -5
- package/legacy/TableContainer/tableContainerClasses.js +0 -7
- package/legacy/TableFooter/TableFooter.js +0 -85
- package/legacy/TableFooter/index.js +0 -5
- package/legacy/TableFooter/tableFooterClasses.js +0 -7
- package/legacy/TableHead/TableHead.js +0 -85
- package/legacy/TableHead/index.js +0 -5
- package/legacy/TableHead/tableHeadClasses.js +0 -7
- package/legacy/TablePagination/TablePagination.js +0 -461
- package/legacy/TablePagination/TablePaginationActions.js +0 -182
- package/legacy/TablePagination/index.js +0 -5
- package/legacy/TablePagination/tablePaginationClasses.js +0 -7
- package/legacy/TableRow/TableRow.js +0 -123
- package/legacy/TableRow/index.js +0 -5
- package/legacy/TableRow/tableRowClasses.js +0 -7
- package/legacy/TableSortLabel/TableSortLabel.js +0 -165
- package/legacy/TableSortLabel/index.js +0 -5
- package/legacy/TableSortLabel/tableSortLabelClasses.js +0 -7
- package/legacy/Tabs/ScrollbarSize.js +0 -57
- package/legacy/Tabs/Tabs.js +0 -849
- package/legacy/Tabs/index.js +0 -5
- package/legacy/Tabs/tabsClasses.js +0 -7
- package/legacy/TextField/TextField.js +0 -381
- package/legacy/TextField/index.js +0 -5
- package/legacy/TextField/textFieldClasses.js +0 -7
- package/legacy/TextareaAutosize/index.js +0 -1
- package/legacy/ToggleButton/ToggleButton.js +0 -230
- package/legacy/ToggleButton/index.js +0 -5
- package/legacy/ToggleButton/toggleButtonClasses.js +0 -7
- package/legacy/ToggleButtonGroup/ToggleButtonGroup.js +0 -247
- package/legacy/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -9
- package/legacy/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -9
- package/legacy/ToggleButtonGroup/index.js +0 -5
- package/legacy/ToggleButtonGroup/isValueSelected.js +0 -11
- package/legacy/ToggleButtonGroup/toggleButtonGroupClasses.js +0 -7
- package/legacy/Toolbar/Toolbar.js +0 -115
- package/legacy/Toolbar/index.js +0 -3
- package/legacy/Toolbar/toolbarClasses.js +0 -7
- package/legacy/Tooltip/Tooltip.js +0 -788
- package/legacy/Tooltip/index.js +0 -5
- package/legacy/Tooltip/tooltipClasses.js +0 -7
- package/legacy/Typography/Typography.js +0 -198
- package/legacy/Typography/index.js +0 -5
- package/legacy/Typography/typographyClasses.js +0 -7
- package/legacy/Unstable_Grid2/Grid2.js +0 -36
- package/legacy/Unstable_Grid2/Grid2Props.js +0 -1
- package/legacy/Unstable_Grid2/grid2Classes.js +0 -28
- package/legacy/Unstable_Grid2/index.js +0 -6
- package/legacy/Unstable_TrapFocus/index.js +0 -1
- package/legacy/Zoom/Zoom.js +0 -206
- package/legacy/Zoom/index.js +0 -3
- package/legacy/className/index.js +0 -2
- package/legacy/colors/amber.js +0 -17
- package/legacy/colors/blue.js +0 -17
- package/legacy/colors/blueGrey.js +0 -17
- package/legacy/colors/brown.js +0 -17
- package/legacy/colors/common.js +0 -5
- package/legacy/colors/cyan.js +0 -17
- package/legacy/colors/deepOrange.js +0 -17
- package/legacy/colors/deepPurple.js +0 -17
- package/legacy/colors/green.js +0 -17
- package/legacy/colors/grey.js +0 -17
- package/legacy/colors/index.js +0 -20
- package/legacy/colors/indigo.js +0 -17
- package/legacy/colors/lightBlue.js +0 -17
- package/legacy/colors/lightGreen.js +0 -17
- package/legacy/colors/lime.js +0 -17
- package/legacy/colors/orange.js +0 -17
- package/legacy/colors/pink.js +0 -17
- package/legacy/colors/purple.js +0 -17
- package/legacy/colors/red.js +0 -17
- package/legacy/colors/teal.js +0 -17
- package/legacy/colors/yellow.js +0 -17
- package/legacy/darkScrollbar/index.js +0 -33
- package/legacy/generateUtilityClass/index.js +0 -1
- package/legacy/generateUtilityClasses/index.js +0 -1
- package/legacy/index.js +0 -288
- package/legacy/internal/SwitchBase.js +0 -275
- package/legacy/internal/animate.js +0 -41
- package/legacy/internal/svg-icons/Add.js +0 -12
- package/legacy/internal/svg-icons/ArrowDownward.js +0 -12
- package/legacy/internal/svg-icons/ArrowDropDown.js +0 -12
- package/legacy/internal/svg-icons/Cancel.js +0 -12
- package/legacy/internal/svg-icons/CheckBox.js +0 -12
- package/legacy/internal/svg-icons/CheckBoxOutlineBlank.js +0 -12
- package/legacy/internal/svg-icons/CheckCircle.js +0 -12
- package/legacy/internal/svg-icons/Close.js +0 -14
- package/legacy/internal/svg-icons/ErrorOutline.js +0 -12
- package/legacy/internal/svg-icons/FirstPage.js +0 -12
- package/legacy/internal/svg-icons/IndeterminateCheckBox.js +0 -12
- package/legacy/internal/svg-icons/InfoOutlined.js +0 -12
- package/legacy/internal/svg-icons/KeyboardArrowLeft.js +0 -12
- package/legacy/internal/svg-icons/KeyboardArrowRight.js +0 -12
- package/legacy/internal/svg-icons/LastPage.js +0 -12
- package/legacy/internal/svg-icons/MoreHoriz.js +0 -12
- package/legacy/internal/svg-icons/NavigateBefore.js +0 -12
- package/legacy/internal/svg-icons/NavigateNext.js +0 -12
- package/legacy/internal/svg-icons/Person.js +0 -12
- package/legacy/internal/svg-icons/RadioButtonChecked.js +0 -12
- package/legacy/internal/svg-icons/RadioButtonUnchecked.js +0 -12
- package/legacy/internal/svg-icons/ReportProblemOutlined.js +0 -12
- package/legacy/internal/svg-icons/Star.js +0 -12
- package/legacy/internal/svg-icons/StarBorder.js +0 -12
- package/legacy/internal/svg-icons/SuccessOutlined.js +0 -12
- package/legacy/internal/svg-icons/Warning.js +0 -12
- package/legacy/internal/switchBaseClasses.js +0 -7
- package/legacy/locale/index.js +0 -4389
- package/legacy/styles/CssVarsProvider.js +0 -39
- package/legacy/styles/ThemeProvider.js +0 -28
- package/legacy/styles/adaptV4Theme.js +0 -81
- package/legacy/styles/createGetSelector.js +0 -21
- package/legacy/styles/createMixins.js +0 -15
- package/legacy/styles/createMuiStrictModeTheme.js +0 -10
- package/legacy/styles/createPalette.js +0 -299
- package/legacy/styles/createStyles.js +0 -10
- package/legacy/styles/createTheme.js +0 -97
- package/legacy/styles/createTransitions.js +0 -97
- package/legacy/styles/createTypography.js +0 -93
- package/legacy/styles/cssUtils.js +0 -122
- package/legacy/styles/defaultTheme.js +0 -5
- package/legacy/styles/excludeVariablesFromRoot.js +0 -10
- package/legacy/styles/experimental_extendTheme.js +0 -377
- package/legacy/styles/getOverlayAlpha.js +0 -11
- package/legacy/styles/identifier.js +0 -1
- package/legacy/styles/index.js +0 -37
- package/legacy/styles/makeStyles.js +0 -4
- package/legacy/styles/responsiveFontSizes.js +0 -63
- package/legacy/styles/rootShouldForwardProp.js +0 -5
- package/legacy/styles/shadows.js +0 -10
- package/legacy/styles/shouldSkipGeneratingVar.js +0 -6
- package/legacy/styles/slotShouldForwardProp.js +0 -5
- package/legacy/styles/styled.js +0 -14
- package/legacy/styles/useTheme.js +0 -14
- package/legacy/styles/useThemeProps.js +0 -15
- package/legacy/styles/withStyles.js +0 -4
- package/legacy/styles/withTheme.js +0 -4
- package/legacy/styles/zIndex.js +0 -13
- package/legacy/transitions/index.js +0 -1
- package/legacy/transitions/transition.js +0 -1
- package/legacy/transitions/utils.js +0 -16
- package/legacy/types/OverridableComponentAugmentation.js +0 -1
- package/legacy/useAutocomplete/index.js +0 -3
- package/legacy/useAutocomplete/useAutocomplete.js +0 -4
- package/legacy/useMediaQuery/index.js +0 -1
- package/legacy/useMediaQuery/useMediaQueryTheme.js +0 -8
- package/legacy/usePagination/index.js +0 -3
- package/legacy/usePagination/usePagination.js +0 -122
- package/legacy/useScrollTrigger/index.js +0 -3
- package/legacy/useScrollTrigger/useScrollTrigger.js +0 -57
- package/legacy/useTouchRipple/index.js +0 -3
- package/legacy/useTouchRipple/useTouchRipple.js +0 -102
- package/legacy/utils/capitalize.js +0 -2
- package/legacy/utils/createChainedFunction.js +0 -2
- package/legacy/utils/createSvgIcon.js +0 -27
- package/legacy/utils/debounce.js +0 -2
- package/legacy/utils/deprecatedPropType.js +0 -2
- package/legacy/utils/getScrollbarSize.js +0 -2
- package/legacy/utils/index.js +0 -30
- package/legacy/utils/isMuiElement.js +0 -2
- package/legacy/utils/ownerDocument.js +0 -2
- package/legacy/utils/ownerWindow.js +0 -2
- package/legacy/utils/requirePropFactory.js +0 -2
- package/legacy/utils/scrollLeft.js +0 -1
- package/legacy/utils/setRef.js +0 -2
- package/legacy/utils/shouldSpreadAdditionalProps.js +0 -5
- package/legacy/utils/types.js +0 -1
- package/legacy/utils/unsupportedProp.js +0 -2
- package/legacy/utils/useControlled.js +0 -4
- package/legacy/utils/useEnhancedEffect.js +0 -4
- package/legacy/utils/useEventCallback.js +0 -4
- package/legacy/utils/useForkRef.js +0 -4
- package/legacy/utils/useId.js +0 -4
- package/legacy/utils/useIsFocusVisible.js +0 -4
- package/legacy/utils/useSlot.js +0 -71
- package/legacy/zero-styled/index.js +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/material v6.0.0-alpha.
|
|
2
|
+
* @mui/material v6.0.0-alpha.4
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
@@ -5160,11 +5160,6 @@
|
|
|
5160
5160
|
}, other);
|
|
5161
5161
|
}
|
|
5162
5162
|
|
|
5163
|
-
var shape = {
|
|
5164
|
-
borderRadius: 4
|
|
5165
|
-
};
|
|
5166
|
-
var shape$1 = shape;
|
|
5167
|
-
|
|
5168
5163
|
function _arrayWithHoles(arr) {
|
|
5169
5164
|
if (Array.isArray(arr)) return arr;
|
|
5170
5165
|
}
|
|
@@ -5220,6 +5215,98 @@
|
|
|
5220
5215
|
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
5221
5216
|
}
|
|
5222
5217
|
|
|
5218
|
+
/**
|
|
5219
|
+
* For using in `sx` prop to sort the breakpoint from low to high.
|
|
5220
|
+
* Note: this function does not work and will not support multiple units.
|
|
5221
|
+
* e.g. input: { '@container (min-width:300px)': '1rem', '@container (min-width:40rem)': '2rem' }
|
|
5222
|
+
* output: { '@container (min-width:40rem)': '2rem', '@container (min-width:300px)': '1rem' } // since 40 < 300 eventhough 40rem > 300px
|
|
5223
|
+
*/
|
|
5224
|
+
function sortContainerQueries(theme, css) {
|
|
5225
|
+
if (!theme.containerQueries) {
|
|
5226
|
+
return css;
|
|
5227
|
+
}
|
|
5228
|
+
var sorted = Object.keys(css).filter(function (key) {
|
|
5229
|
+
return key.startsWith('@container');
|
|
5230
|
+
}).sort(function (a, b) {
|
|
5231
|
+
var _a$match, _b$match;
|
|
5232
|
+
var regex = /min-width:\s*([0-9.]+)/;
|
|
5233
|
+
return +(((_a$match = a.match(regex)) == null ? void 0 : _a$match[1]) || 0) - +(((_b$match = b.match(regex)) == null ? void 0 : _b$match[1]) || 0);
|
|
5234
|
+
});
|
|
5235
|
+
if (!sorted.length) {
|
|
5236
|
+
return css;
|
|
5237
|
+
}
|
|
5238
|
+
return sorted.reduce(function (acc, key) {
|
|
5239
|
+
var value = css[key];
|
|
5240
|
+
delete acc[key];
|
|
5241
|
+
acc[key] = value;
|
|
5242
|
+
return acc;
|
|
5243
|
+
}, _extends({}, css));
|
|
5244
|
+
}
|
|
5245
|
+
function isCqShorthand(breakpointKeys, value) {
|
|
5246
|
+
return value.startsWith('@') && (breakpointKeys.some(function (key) {
|
|
5247
|
+
return value.startsWith("@".concat(key));
|
|
5248
|
+
}) || !!value.match(/^@\d/));
|
|
5249
|
+
}
|
|
5250
|
+
function getContainerQuery(theme, shorthand) {
|
|
5251
|
+
var matches = shorthand.match(/^@([^/]+)\/?(.+)?$/);
|
|
5252
|
+
if (!matches) {
|
|
5253
|
+
{
|
|
5254
|
+
throw new Error("MUI: The provided shorthand ".concat("(".concat(shorthand, ")"), " is invalid. The format should be `@<breakpoint | number>` or `@<breakpoint | number>/<container>`.\nFor example, `@sm` or `@600` or `@40rem/sidebar`.") );
|
|
5255
|
+
}
|
|
5256
|
+
}
|
|
5257
|
+
var _matches = _slicedToArray(matches, 3),
|
|
5258
|
+
containerQuery = _matches[1],
|
|
5259
|
+
containerName = _matches[2];
|
|
5260
|
+
var value = Number.isNaN(+containerQuery) ? containerQuery : +containerQuery;
|
|
5261
|
+
return theme.containerQueries(containerName).up(value);
|
|
5262
|
+
}
|
|
5263
|
+
function cssContainerQueries(themeInput) {
|
|
5264
|
+
var toContainerQuery = function toContainerQuery(mediaQuery, name) {
|
|
5265
|
+
return mediaQuery.replace('@media', name ? "@container ".concat(name) : '@container');
|
|
5266
|
+
};
|
|
5267
|
+
function attachCq(node, name) {
|
|
5268
|
+
node.up = function () {
|
|
5269
|
+
var _themeInput$breakpoin;
|
|
5270
|
+
return toContainerQuery((_themeInput$breakpoin = themeInput.breakpoints).up.apply(_themeInput$breakpoin, arguments), name);
|
|
5271
|
+
};
|
|
5272
|
+
node.down = function () {
|
|
5273
|
+
var _themeInput$breakpoin2;
|
|
5274
|
+
return toContainerQuery((_themeInput$breakpoin2 = themeInput.breakpoints).down.apply(_themeInput$breakpoin2, arguments), name);
|
|
5275
|
+
};
|
|
5276
|
+
node.between = function () {
|
|
5277
|
+
var _themeInput$breakpoin3;
|
|
5278
|
+
return toContainerQuery((_themeInput$breakpoin3 = themeInput.breakpoints).between.apply(_themeInput$breakpoin3, arguments), name);
|
|
5279
|
+
};
|
|
5280
|
+
node.only = function () {
|
|
5281
|
+
var _themeInput$breakpoin4;
|
|
5282
|
+
return toContainerQuery((_themeInput$breakpoin4 = themeInput.breakpoints).only.apply(_themeInput$breakpoin4, arguments), name);
|
|
5283
|
+
};
|
|
5284
|
+
node.not = function () {
|
|
5285
|
+
var _themeInput$breakpoin5;
|
|
5286
|
+
var result = toContainerQuery((_themeInput$breakpoin5 = themeInput.breakpoints).not.apply(_themeInput$breakpoin5, arguments), name);
|
|
5287
|
+
if (result.includes('not all and')) {
|
|
5288
|
+
// `@container` does not work with `not all and`, so need to invert the logic
|
|
5289
|
+
return result.replace('not all and ', '').replace('min-width:', 'width<').replace('max-width:', 'width>');
|
|
5290
|
+
}
|
|
5291
|
+
return result;
|
|
5292
|
+
};
|
|
5293
|
+
}
|
|
5294
|
+
var node = {};
|
|
5295
|
+
var containerQueries = function containerQueries(name) {
|
|
5296
|
+
attachCq(node, name);
|
|
5297
|
+
return node;
|
|
5298
|
+
};
|
|
5299
|
+
attachCq(containerQueries);
|
|
5300
|
+
return _extends({}, themeInput, {
|
|
5301
|
+
containerQueries: containerQueries
|
|
5302
|
+
});
|
|
5303
|
+
}
|
|
5304
|
+
|
|
5305
|
+
var shape = {
|
|
5306
|
+
borderRadius: 4
|
|
5307
|
+
};
|
|
5308
|
+
var shape$1 = shape;
|
|
5309
|
+
|
|
5223
5310
|
var responsivePropType = PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.object, PropTypes.array]) ;
|
|
5224
5311
|
var responsivePropType$1 = responsivePropType;
|
|
5225
5312
|
|
|
@@ -5269,6 +5356,19 @@
|
|
|
5269
5356
|
return "@media (min-width:".concat(values$1[key], "px)");
|
|
5270
5357
|
}
|
|
5271
5358
|
};
|
|
5359
|
+
var defaultContainerQueries = {
|
|
5360
|
+
containerQueries: function containerQueries(containerName) {
|
|
5361
|
+
return {
|
|
5362
|
+
up: function up(key) {
|
|
5363
|
+
var result = typeof key === 'number' ? key : values$1[key] || key;
|
|
5364
|
+
if (typeof result === 'number') {
|
|
5365
|
+
result = "".concat(result, "px");
|
|
5366
|
+
}
|
|
5367
|
+
return containerName ? "@container ".concat(containerName, " (min-width:").concat(result, ")") : "@container (min-width:".concat(result, ")");
|
|
5368
|
+
}
|
|
5369
|
+
};
|
|
5370
|
+
}
|
|
5371
|
+
};
|
|
5272
5372
|
function handleBreakpoints(props, propValue, styleFromPropValue) {
|
|
5273
5373
|
var theme = props.theme || {};
|
|
5274
5374
|
if (Array.isArray(propValue)) {
|
|
@@ -5281,8 +5381,14 @@
|
|
|
5281
5381
|
if (_typeof(propValue) === 'object') {
|
|
5282
5382
|
var _themeBreakpoints = theme.breakpoints || defaultBreakpoints;
|
|
5283
5383
|
return Object.keys(propValue).reduce(function (acc, breakpoint) {
|
|
5384
|
+
if (isCqShorthand(_themeBreakpoints.keys, breakpoint)) {
|
|
5385
|
+
var containerKey = getContainerQuery(theme.containerQueries ? theme : defaultContainerQueries, breakpoint);
|
|
5386
|
+
if (containerKey) {
|
|
5387
|
+
acc[containerKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
|
5388
|
+
}
|
|
5389
|
+
}
|
|
5284
5390
|
// key is breakpoint
|
|
5285
|
-
if (Object.keys(_themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
|
|
5391
|
+
else if (Object.keys(_themeBreakpoints.values || values$1).indexOf(breakpoint) !== -1) {
|
|
5286
5392
|
var mediaKey = _themeBreakpoints.up(breakpoint);
|
|
5287
5393
|
acc[mediaKey] = styleFromPropValue(propValue[breakpoint], breakpoint);
|
|
5288
5394
|
} else {
|
|
@@ -6160,6 +6266,9 @@
|
|
|
6160
6266
|
},
|
|
6161
6267
|
boxSizing: {},
|
|
6162
6268
|
// typography
|
|
6269
|
+
font: {
|
|
6270
|
+
themeKey: 'font'
|
|
6271
|
+
},
|
|
6163
6272
|
fontFamily: {
|
|
6164
6273
|
themeKey: 'typography'
|
|
6165
6274
|
},
|
|
@@ -6293,7 +6402,7 @@
|
|
|
6293
6402
|
}
|
|
6294
6403
|
}
|
|
6295
6404
|
});
|
|
6296
|
-
return removeUnusedBreakpoints(breakpointsKeys, css);
|
|
6405
|
+
return sortContainerQueries(theme, removeUnusedBreakpoints(breakpointsKeys, css));
|
|
6297
6406
|
}
|
|
6298
6407
|
return Array.isArray(sx) ? sx.map(traverse) : traverse(sx);
|
|
6299
6408
|
}
|
|
@@ -6399,6 +6508,7 @@
|
|
|
6399
6508
|
spacing: spacing,
|
|
6400
6509
|
shape: _extends({}, shape$1, shapeInput)
|
|
6401
6510
|
}, other);
|
|
6511
|
+
muiTheme = cssContainerQueries(muiTheme);
|
|
6402
6512
|
muiTheme.applyStyles = applyStyles$2;
|
|
6403
6513
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
6404
6514
|
args[_key - 1] = arguments[_key];
|
|
@@ -6835,17 +6945,9 @@
|
|
|
6835
6945
|
var reactIs_5 = reactIs.Memo;
|
|
6836
6946
|
reactIs.isValidElementType;
|
|
6837
6947
|
|
|
6838
|
-
// Simplified polyfill for IE11 support
|
|
6839
|
-
// https://github.com/JamesMGreene/Function.name/blob/58b314d4a983110c3682f1228f845d39ccca1817/Function.name.js#L3
|
|
6840
|
-
var fnNameMatchRegex = /^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;
|
|
6841
|
-
function getFunctionName(fn) {
|
|
6842
|
-
var match = "".concat(fn).match(fnNameMatchRegex);
|
|
6843
|
-
var name = match && match[1];
|
|
6844
|
-
return name || '';
|
|
6845
|
-
}
|
|
6846
6948
|
function getFunctionComponentName(Component) {
|
|
6847
6949
|
var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
6848
|
-
return Component.displayName || Component.name ||
|
|
6950
|
+
return Component.displayName || Component.name || fallback;
|
|
6849
6951
|
}
|
|
6850
6952
|
function getWrappedName(outerType, innerType, wrapperName) {
|
|
6851
6953
|
var functionName = getFunctionComponentName(innerType);
|
|
@@ -7168,7 +7270,7 @@
|
|
|
7168
7270
|
return resolveProps(theme.components[name].defaultProps, props);
|
|
7169
7271
|
}
|
|
7170
7272
|
|
|
7171
|
-
function useThemeProps$
|
|
7273
|
+
function useThemeProps$Q(_ref) {
|
|
7172
7274
|
var props = _ref.props,
|
|
7173
7275
|
name = _ref.name,
|
|
7174
7276
|
defaultTheme = _ref.defaultTheme,
|
|
@@ -8411,16 +8513,9 @@
|
|
|
8411
8513
|
return valueType;
|
|
8412
8514
|
}
|
|
8413
8515
|
}
|
|
8414
|
-
|
|
8415
|
-
// IE 11 support
|
|
8416
|
-
function ponyfillIsInteger(x) {
|
|
8417
|
-
// eslint-disable-next-line no-restricted-globals
|
|
8418
|
-
return typeof x === 'number' && isFinite(x) && Math.floor(x) === x;
|
|
8419
|
-
}
|
|
8420
|
-
var isInteger = Number.isInteger || ponyfillIsInteger;
|
|
8421
8516
|
function requiredInteger(props, propName, componentName, location) {
|
|
8422
8517
|
var propValue = props[propName];
|
|
8423
|
-
if (propValue == null || !isInteger(propValue)) {
|
|
8518
|
+
if (propValue == null || !Number.isInteger(propValue)) {
|
|
8424
8519
|
var propType = getTypeByValue(propValue);
|
|
8425
8520
|
return new RangeError("Invalid ".concat(location, " `").concat(propName, "` of type `").concat(propType, "` supplied to `").concat(componentName, "`, expected `integer`."));
|
|
8426
8521
|
}
|
|
@@ -9477,7 +9572,7 @@
|
|
|
9477
9572
|
}
|
|
9478
9573
|
});
|
|
9479
9574
|
var useThemePropsDefault$2 = function useThemePropsDefault(inProps) {
|
|
9480
|
-
return useThemeProps$
|
|
9575
|
+
return useThemeProps$Q({
|
|
9481
9576
|
props: inProps,
|
|
9482
9577
|
name: 'MuiContainer',
|
|
9483
9578
|
defaultTheme: defaultTheme$6
|
|
@@ -9865,7 +9960,7 @@
|
|
|
9865
9960
|
}
|
|
9866
9961
|
});
|
|
9867
9962
|
function useThemePropsDefault$1(props) {
|
|
9868
|
-
return useThemeProps$
|
|
9963
|
+
return useThemeProps$Q({
|
|
9869
9964
|
props: props,
|
|
9870
9965
|
name: 'MuiGrid',
|
|
9871
9966
|
defaultTheme: defaultTheme$5
|
|
@@ -10032,7 +10127,7 @@
|
|
|
10032
10127
|
}
|
|
10033
10128
|
});
|
|
10034
10129
|
function useThemePropsDefault(props) {
|
|
10035
|
-
return useThemeProps$
|
|
10130
|
+
return useThemeProps$Q({
|
|
10036
10131
|
props: props,
|
|
10037
10132
|
name: 'MuiStack',
|
|
10038
10133
|
defaultTheme: defaultTheme$4
|
|
@@ -10725,10 +10820,8 @@
|
|
|
10725
10820
|
var isString = function isString(value) {
|
|
10726
10821
|
return typeof value === 'string';
|
|
10727
10822
|
};
|
|
10728
|
-
// IE11 support, replace with Number.isNaN
|
|
10729
|
-
// eslint-disable-next-line no-restricted-globals
|
|
10730
10823
|
var isNumber = function isNumber(value) {
|
|
10731
|
-
return !isNaN(parseFloat(value));
|
|
10824
|
+
return !Number.isNaN(parseFloat(value));
|
|
10732
10825
|
};
|
|
10733
10826
|
if (!isString(props) && !Array.isArray(props)) {
|
|
10734
10827
|
console.error('MUI: Argument "props" must be a string or Array.');
|
|
@@ -11074,10 +11167,10 @@
|
|
|
11074
11167
|
return theme[THEME_ID] || theme;
|
|
11075
11168
|
}
|
|
11076
11169
|
|
|
11077
|
-
function useThemeProps$
|
|
11170
|
+
function useThemeProps$P(_ref) {
|
|
11078
11171
|
var props = _ref.props,
|
|
11079
11172
|
name = _ref.name;
|
|
11080
|
-
return useThemeProps$
|
|
11173
|
+
return useThemeProps$Q({
|
|
11081
11174
|
props: props,
|
|
11082
11175
|
name: name,
|
|
11083
11176
|
defaultTheme: defaultTheme$3,
|
|
@@ -11134,6 +11227,20 @@
|
|
|
11134
11227
|
throw new Error("MUI: withTheme is no longer exported from @mui/material/styles.\nYou have to import it from @mui/styles.\nSee https://mui.com/r/migration-v4/#mui-material-styles for more details." );
|
|
11135
11228
|
}
|
|
11136
11229
|
|
|
11230
|
+
function prepareTypographyVars(typography) {
|
|
11231
|
+
var vars = {};
|
|
11232
|
+
var entries = Object.entries(typography);
|
|
11233
|
+
entries.forEach(function (entry) {
|
|
11234
|
+
var _entry = _slicedToArray(entry, 2),
|
|
11235
|
+
key = _entry[0],
|
|
11236
|
+
value = _entry[1];
|
|
11237
|
+
if (_typeof(value) === 'object') {
|
|
11238
|
+
vars[key] = "".concat(value.fontStyle ? "".concat(value.fontStyle, " ") : '').concat(value.fontVariant ? "".concat(value.fontVariant, " ") : '').concat(value.fontWeight ? "".concat(value.fontWeight, " ") : '').concat(value.fontStretch ? "".concat(value.fontStretch, " ") : '').concat(value.fontSize || '').concat(value.lineHeight ? "/".concat(value.lineHeight, " ") : '').concat(value.fontFamily || '');
|
|
11239
|
+
}
|
|
11240
|
+
});
|
|
11241
|
+
return vars;
|
|
11242
|
+
}
|
|
11243
|
+
|
|
11137
11244
|
function shouldSkipGeneratingVar(keys) {
|
|
11138
11245
|
var _keys$;
|
|
11139
11246
|
return !!keys[0].match(/(cssVarPrefix|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||
|
|
@@ -11142,16 +11249,15 @@
|
|
|
11142
11249
|
}
|
|
11143
11250
|
|
|
11144
11251
|
// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61
|
|
11145
|
-
|
|
11252
|
+
function getOverlayAlpha(elevation) {
|
|
11146
11253
|
var alphaValue;
|
|
11147
11254
|
if (elevation < 1) {
|
|
11148
11255
|
alphaValue = 5.11916 * Math.pow(elevation, 2);
|
|
11149
11256
|
} else {
|
|
11150
11257
|
alphaValue = 4.5 * Math.log(elevation + 1) + 2;
|
|
11151
11258
|
}
|
|
11152
|
-
return (alphaValue /
|
|
11153
|
-
}
|
|
11154
|
-
var getOverlayAlpha$1 = getOverlayAlpha;
|
|
11259
|
+
return Math.round(alphaValue * 10) / 1000;
|
|
11260
|
+
}
|
|
11155
11261
|
|
|
11156
11262
|
/**
|
|
11157
11263
|
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
@@ -11187,7 +11293,7 @@
|
|
|
11187
11293
|
if (index === 0) {
|
|
11188
11294
|
return undefined;
|
|
11189
11295
|
}
|
|
11190
|
-
var overlay = getOverlayAlpha
|
|
11296
|
+
var overlay = getOverlayAlpha(index);
|
|
11191
11297
|
return "linear-gradient(rgba(255 255 255 / ".concat(overlay, "), rgba(255 255 255 / ").concat(overlay, "))");
|
|
11192
11298
|
});
|
|
11193
11299
|
function assignNode(obj, keys) {
|
|
@@ -11292,6 +11398,7 @@
|
|
|
11292
11398
|
overlays: ((_colorSchemesInput$da3 = colorSchemesInput.dark) == null ? void 0 : _colorSchemesInput$da3.overlays) || defaultDarkOverlays
|
|
11293
11399
|
})
|
|
11294
11400
|
}),
|
|
11401
|
+
font: _extends({}, prepareTypographyVars(muiTheme.typography), muiTheme.font),
|
|
11295
11402
|
spacing: getSpacingVal(input.spacing)
|
|
11296
11403
|
});
|
|
11297
11404
|
Object.keys(theme.colorSchemes).forEach(function (key) {
|
|
@@ -11633,7 +11740,7 @@
|
|
|
11633
11740
|
};
|
|
11634
11741
|
});
|
|
11635
11742
|
var SvgIcon = /*#__PURE__*/React__namespace.forwardRef(function SvgIcon(inProps, ref) {
|
|
11636
|
-
var props = useThemeProps$
|
|
11743
|
+
var props = useThemeProps$P({
|
|
11637
11744
|
props: inProps,
|
|
11638
11745
|
name: 'MuiSvgIcon'
|
|
11639
11746
|
});
|
|
@@ -11792,7 +11899,7 @@
|
|
|
11792
11899
|
|
|
11793
11900
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11794
11901
|
function createUseThemeProps(name) {
|
|
11795
|
-
return useThemeProps$
|
|
11902
|
+
return useThemeProps$P;
|
|
11796
11903
|
}
|
|
11797
11904
|
|
|
11798
11905
|
function _setPrototypeOf(o, p) {
|
|
@@ -12882,7 +12989,7 @@
|
|
|
12882
12989
|
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
|
|
12883
12990
|
*/
|
|
12884
12991
|
var Collapse = /*#__PURE__*/React__namespace.forwardRef(function Collapse(inProps, ref) {
|
|
12885
|
-
var props = useThemeProps$
|
|
12992
|
+
var props = useThemeProps$P({
|
|
12886
12993
|
props: inProps,
|
|
12887
12994
|
name: 'MuiCollapse'
|
|
12888
12995
|
});
|
|
@@ -13206,13 +13313,13 @@
|
|
|
13206
13313
|
}, ownerState.variant === 'elevation' && _extends({
|
|
13207
13314
|
boxShadow: (theme.vars || theme).shadows[ownerState.elevation]
|
|
13208
13315
|
}, !theme.vars && theme.palette.mode === 'dark' && {
|
|
13209
|
-
backgroundImage: "linear-gradient(".concat(alpha('#fff', getOverlayAlpha
|
|
13316
|
+
backgroundImage: "linear-gradient(".concat(alpha('#fff', getOverlayAlpha(ownerState.elevation)), ", ").concat(alpha('#fff', getOverlayAlpha(ownerState.elevation)), ")")
|
|
13210
13317
|
}, theme.vars && {
|
|
13211
13318
|
backgroundImage: (_theme$vars$overlays = theme.vars.overlays) == null ? void 0 : _theme$vars$overlays[ownerState.elevation]
|
|
13212
13319
|
}));
|
|
13213
13320
|
});
|
|
13214
13321
|
var Paper = /*#__PURE__*/React__namespace.forwardRef(function Paper(inProps, ref) {
|
|
13215
|
-
var props = useThemeProps$
|
|
13322
|
+
var props = useThemeProps$P({
|
|
13216
13323
|
props: inProps,
|
|
13217
13324
|
name: 'MuiPaper'
|
|
13218
13325
|
});
|
|
@@ -13589,7 +13696,7 @@
|
|
|
13589
13696
|
var accordionClasses = generateUtilityClasses$1('MuiAccordion', ['root', 'rounded', 'expanded', 'disabled', 'gutters', 'region']);
|
|
13590
13697
|
var accordionClasses$1 = accordionClasses;
|
|
13591
13698
|
|
|
13592
|
-
var useThemeProps$
|
|
13699
|
+
var useThemeProps$O = createUseThemeProps();
|
|
13593
13700
|
var useUtilityClasses$1M = function useUtilityClasses(ownerState) {
|
|
13594
13701
|
var classes = ownerState.classes,
|
|
13595
13702
|
square = ownerState.square,
|
|
@@ -13687,7 +13794,7 @@
|
|
|
13687
13794
|
};
|
|
13688
13795
|
});
|
|
13689
13796
|
var Accordion = /*#__PURE__*/React__namespace.forwardRef(function Accordion(inProps, ref) {
|
|
13690
|
-
var props = useThemeProps$
|
|
13797
|
+
var props = useThemeProps$O({
|
|
13691
13798
|
props: inProps,
|
|
13692
13799
|
name: 'MuiAccordion'
|
|
13693
13800
|
});
|
|
@@ -13881,7 +13988,7 @@
|
|
|
13881
13988
|
var accordionActionsClasses = generateUtilityClasses$1('MuiAccordionActions', ['root', 'spacing']);
|
|
13882
13989
|
var accordionActionsClasses$1 = accordionActionsClasses;
|
|
13883
13990
|
|
|
13884
|
-
var useThemeProps$
|
|
13991
|
+
var useThemeProps$N = createUseThemeProps();
|
|
13885
13992
|
var useUtilityClasses$1L = function useUtilityClasses(ownerState) {
|
|
13886
13993
|
var classes = ownerState.classes,
|
|
13887
13994
|
disableSpacing = ownerState.disableSpacing;
|
|
@@ -13914,7 +14021,7 @@
|
|
|
13914
14021
|
}]
|
|
13915
14022
|
});
|
|
13916
14023
|
var AccordionActions = /*#__PURE__*/React__namespace.forwardRef(function AccordionActions(inProps, ref) {
|
|
13917
|
-
var props = useThemeProps$
|
|
14024
|
+
var props = useThemeProps$N({
|
|
13918
14025
|
props: inProps,
|
|
13919
14026
|
name: 'MuiAccordionActions'
|
|
13920
14027
|
});
|
|
@@ -13967,7 +14074,7 @@
|
|
|
13967
14074
|
var accordionDetailsClasses = generateUtilityClasses$1('MuiAccordionDetails', ['root']);
|
|
13968
14075
|
var accordionDetailsClasses$1 = accordionDetailsClasses;
|
|
13969
14076
|
|
|
13970
|
-
var useThemeProps$
|
|
14077
|
+
var useThemeProps$M = createUseThemeProps();
|
|
13971
14078
|
var useUtilityClasses$1K = function useUtilityClasses(ownerState) {
|
|
13972
14079
|
var classes = ownerState.classes;
|
|
13973
14080
|
var slots = {
|
|
@@ -13988,7 +14095,7 @@
|
|
|
13988
14095
|
};
|
|
13989
14096
|
});
|
|
13990
14097
|
var AccordionDetails = /*#__PURE__*/React__namespace.forwardRef(function AccordionDetails(inProps, ref) {
|
|
13991
|
-
var props = useThemeProps$
|
|
14098
|
+
var props = useThemeProps$M({
|
|
13992
14099
|
props: inProps,
|
|
13993
14100
|
name: 'MuiAccordionDetails'
|
|
13994
14101
|
});
|
|
@@ -14123,7 +14230,7 @@
|
|
|
14123
14230
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
14124
14231
|
|
|
14125
14232
|
var _templateObject$3, _templateObject2$3, _templateObject3$3, _templateObject4$3;
|
|
14126
|
-
var useThemeProps$
|
|
14233
|
+
var useThemeProps$L = createUseThemeProps();
|
|
14127
14234
|
var DURATION = 550;
|
|
14128
14235
|
var DELAY_RIPPLE = 80;
|
|
14129
14236
|
var enterKeyframe = keyframes(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"])));
|
|
@@ -14169,7 +14276,7 @@
|
|
|
14169
14276
|
* TODO v5: Make private
|
|
14170
14277
|
*/
|
|
14171
14278
|
var TouchRipple = /*#__PURE__*/React__namespace.forwardRef(function TouchRipple(inProps, ref) {
|
|
14172
|
-
var props = useThemeProps$
|
|
14279
|
+
var props = useThemeProps$L({
|
|
14173
14280
|
props: inProps,
|
|
14174
14281
|
name: 'MuiTouchRipple'
|
|
14175
14282
|
});
|
|
@@ -14381,7 +14488,7 @@
|
|
|
14381
14488
|
var buttonBaseClasses = generateUtilityClasses$1('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
14382
14489
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
14383
14490
|
|
|
14384
|
-
var useThemeProps$
|
|
14491
|
+
var useThemeProps$K = createUseThemeProps();
|
|
14385
14492
|
var useUtilityClasses$1J = function useUtilityClasses(ownerState) {
|
|
14386
14493
|
var disabled = ownerState.disabled,
|
|
14387
14494
|
focusVisible = ownerState.focusVisible,
|
|
@@ -14446,7 +14553,7 @@
|
|
|
14446
14553
|
* It contains a load of style reset and some focus/ripple logic.
|
|
14447
14554
|
*/
|
|
14448
14555
|
var ButtonBase = /*#__PURE__*/React__namespace.forwardRef(function ButtonBase(inProps, ref) {
|
|
14449
|
-
var props = useThemeProps$
|
|
14556
|
+
var props = useThemeProps$K({
|
|
14450
14557
|
props: inProps,
|
|
14451
14558
|
name: 'MuiButtonBase'
|
|
14452
14559
|
});
|
|
@@ -14857,7 +14964,7 @@
|
|
|
14857
14964
|
var accordionSummaryClasses = generateUtilityClasses$1('MuiAccordionSummary', ['root', 'expanded', 'focusVisible', 'disabled', 'gutters', 'contentGutters', 'content', 'expandIconWrapper']);
|
|
14858
14965
|
var accordionSummaryClasses$1 = accordionSummaryClasses;
|
|
14859
14966
|
|
|
14860
|
-
var useThemeProps$
|
|
14967
|
+
var useThemeProps$J = createUseThemeProps();
|
|
14861
14968
|
var useUtilityClasses$1I = function useUtilityClasses(ownerState) {
|
|
14862
14969
|
var classes = ownerState.classes,
|
|
14863
14970
|
expanded = ownerState.expanded,
|
|
@@ -14948,7 +15055,7 @@
|
|
|
14948
15055
|
});
|
|
14949
15056
|
});
|
|
14950
15057
|
var AccordionSummary = /*#__PURE__*/React__namespace.forwardRef(function AccordionSummary(inProps, ref) {
|
|
14951
|
-
var props = useThemeProps$
|
|
15058
|
+
var props = useThemeProps$J({
|
|
14952
15059
|
props: inProps,
|
|
14953
15060
|
name: 'MuiAccordionSummary'
|
|
14954
15061
|
});
|
|
@@ -15054,6 +15161,7 @@
|
|
|
15054
15161
|
var iconButtonClasses = generateUtilityClasses$1('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
15055
15162
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
15056
15163
|
|
|
15164
|
+
var useThemeProps$I = createUseThemeProps();
|
|
15057
15165
|
var useUtilityClasses$1H = function useUtilityClasses(ownerState) {
|
|
15058
15166
|
var classes = ownerState.classes,
|
|
15059
15167
|
disabled = ownerState.disabled,
|
|
@@ -15073,9 +15181,8 @@
|
|
|
15073
15181
|
return [styles.root, ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))], ownerState.edge && styles["edge".concat(capitalize(ownerState.edge))], styles["size".concat(capitalize(ownerState.size))]];
|
|
15074
15182
|
}
|
|
15075
15183
|
})(function (_ref) {
|
|
15076
|
-
var theme = _ref.theme
|
|
15077
|
-
|
|
15078
|
-
return _extends({
|
|
15184
|
+
var theme = _ref.theme;
|
|
15185
|
+
return {
|
|
15079
15186
|
textAlign: 'center',
|
|
15080
15187
|
flex: '0 0 auto',
|
|
15081
15188
|
fontSize: theme.typography.pxToRem(24),
|
|
@@ -15086,48 +15193,122 @@
|
|
|
15086
15193
|
color: (theme.vars || theme).palette.action.active,
|
|
15087
15194
|
transition: theme.transitions.create('background-color', {
|
|
15088
15195
|
duration: theme.transitions.duration.shortest
|
|
15089
|
-
})
|
|
15090
|
-
|
|
15091
|
-
|
|
15092
|
-
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15196
|
+
}),
|
|
15197
|
+
variants: [{
|
|
15198
|
+
props: {
|
|
15199
|
+
disableRipple: false
|
|
15200
|
+
},
|
|
15201
|
+
style: {
|
|
15202
|
+
'&:hover': {
|
|
15203
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.activeChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
15204
|
+
// Reset on touch devices, it doesn't add specificity
|
|
15205
|
+
'@media (hover: none)': {
|
|
15206
|
+
backgroundColor: 'transparent'
|
|
15207
|
+
}
|
|
15208
|
+
}
|
|
15096
15209
|
}
|
|
15097
|
-
}
|
|
15098
|
-
|
|
15099
|
-
|
|
15100
|
-
|
|
15101
|
-
|
|
15102
|
-
|
|
15210
|
+
}, {
|
|
15211
|
+
props: {
|
|
15212
|
+
edge: 'start'
|
|
15213
|
+
},
|
|
15214
|
+
style: {
|
|
15215
|
+
marginLeft: -12
|
|
15216
|
+
}
|
|
15217
|
+
}, {
|
|
15218
|
+
props: {
|
|
15219
|
+
edge: 'start',
|
|
15220
|
+
size: 'small'
|
|
15221
|
+
},
|
|
15222
|
+
style: {
|
|
15223
|
+
marginLeft: -3
|
|
15224
|
+
}
|
|
15225
|
+
}, {
|
|
15226
|
+
props: {
|
|
15227
|
+
edge: 'end'
|
|
15228
|
+
},
|
|
15229
|
+
style: {
|
|
15230
|
+
marginRight: -12
|
|
15231
|
+
}
|
|
15232
|
+
}, {
|
|
15233
|
+
props: {
|
|
15234
|
+
edge: 'end',
|
|
15235
|
+
size: 'small'
|
|
15236
|
+
},
|
|
15237
|
+
style: {
|
|
15238
|
+
marginRight: -3
|
|
15239
|
+
}
|
|
15240
|
+
}]
|
|
15241
|
+
};
|
|
15103
15242
|
}, function (_ref2) {
|
|
15104
|
-
var
|
|
15105
|
-
|
|
15106
|
-
|
|
15107
|
-
|
|
15108
|
-
|
|
15109
|
-
|
|
15110
|
-
|
|
15111
|
-
|
|
15112
|
-
|
|
15113
|
-
|
|
15114
|
-
|
|
15243
|
+
var theme = _ref2.theme;
|
|
15244
|
+
return _defineProperty({
|
|
15245
|
+
variants: [{
|
|
15246
|
+
props: {
|
|
15247
|
+
color: 'inherit'
|
|
15248
|
+
},
|
|
15249
|
+
style: {
|
|
15250
|
+
color: 'inherit'
|
|
15251
|
+
}
|
|
15252
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref3) {
|
|
15253
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
|
15254
|
+
value = _ref4[1];
|
|
15255
|
+
return value.main;
|
|
15256
|
+
}) // check all the used fields in the style below
|
|
15257
|
+
.map(function (_ref5) {
|
|
15258
|
+
var _ref6 = _slicedToArray(_ref5, 1),
|
|
15259
|
+
color = _ref6[0];
|
|
15260
|
+
return {
|
|
15261
|
+
props: {
|
|
15262
|
+
color: color
|
|
15263
|
+
},
|
|
15264
|
+
style: {
|
|
15265
|
+
color: (theme.vars || theme).palette[color].main
|
|
15266
|
+
}
|
|
15267
|
+
};
|
|
15268
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref7) {
|
|
15269
|
+
var _ref8 = _slicedToArray(_ref7, 2),
|
|
15270
|
+
value = _ref8[1];
|
|
15271
|
+
return value.main;
|
|
15272
|
+
}) // check all the used fields in the style below
|
|
15273
|
+
.map(function (_ref9) {
|
|
15274
|
+
var _ref10 = _slicedToArray(_ref9, 1),
|
|
15275
|
+
color = _ref10[0];
|
|
15276
|
+
return {
|
|
15277
|
+
props: {
|
|
15278
|
+
color: color,
|
|
15279
|
+
disableRipple: false
|
|
15280
|
+
},
|
|
15281
|
+
style: {
|
|
15282
|
+
'&:hover': {
|
|
15283
|
+
backgroundColor: theme.vars ? "rgba(".concat((theme.vars || theme).palette[color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha((theme.vars || theme).palette[color].main, theme.palette.action.hoverOpacity),
|
|
15284
|
+
// Reset on touch devices, it doesn't add specificity
|
|
15285
|
+
'@media (hover: none)': {
|
|
15286
|
+
backgroundColor: 'transparent'
|
|
15287
|
+
}
|
|
15288
|
+
}
|
|
15289
|
+
}
|
|
15290
|
+
};
|
|
15291
|
+
})), [{
|
|
15292
|
+
props: {
|
|
15293
|
+
size: 'small'
|
|
15294
|
+
},
|
|
15295
|
+
style: {
|
|
15296
|
+
padding: 5,
|
|
15297
|
+
fontSize: theme.typography.pxToRem(18)
|
|
15298
|
+
}
|
|
15115
15299
|
}, {
|
|
15116
|
-
|
|
15117
|
-
|
|
15118
|
-
|
|
15300
|
+
props: {
|
|
15301
|
+
size: 'large'
|
|
15302
|
+
},
|
|
15303
|
+
style: {
|
|
15304
|
+
padding: 12,
|
|
15305
|
+
fontSize: theme.typography.pxToRem(28)
|
|
15119
15306
|
}
|
|
15120
|
-
})
|
|
15121
|
-
}
|
|
15122
|
-
padding: 5,
|
|
15123
|
-
fontSize: theme.typography.pxToRem(18)
|
|
15124
|
-
}, ownerState.size === 'large' && {
|
|
15125
|
-
padding: 12,
|
|
15126
|
-
fontSize: theme.typography.pxToRem(28)
|
|
15127
|
-
}, _defineProperty({}, "&.".concat(iconButtonClasses$1.disabled), {
|
|
15307
|
+
}])
|
|
15308
|
+
}, "&.".concat(iconButtonClasses$1.disabled), {
|
|
15128
15309
|
backgroundColor: 'transparent',
|
|
15129
15310
|
color: (theme.vars || theme).palette.action.disabled
|
|
15130
|
-
})
|
|
15311
|
+
});
|
|
15131
15312
|
});
|
|
15132
15313
|
|
|
15133
15314
|
/**
|
|
@@ -15135,7 +15316,7 @@
|
|
|
15135
15316
|
* regarding the available icon options.
|
|
15136
15317
|
*/
|
|
15137
15318
|
var IconButton = /*#__PURE__*/React__namespace.forwardRef(function IconButton(inProps, ref) {
|
|
15138
|
-
var props = useThemeProps$
|
|
15319
|
+
var props = useThemeProps$I({
|
|
15139
15320
|
props: inProps,
|
|
15140
15321
|
name: 'MuiIconButton'
|
|
15141
15322
|
});
|
|
@@ -15262,7 +15443,7 @@
|
|
|
15262
15443
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
15263
15444
|
}), 'Close');
|
|
15264
15445
|
|
|
15265
|
-
var useThemeProps$
|
|
15446
|
+
var useThemeProps$H = createUseThemeProps();
|
|
15266
15447
|
var useUtilityClasses$1G = function useUtilityClasses(ownerState) {
|
|
15267
15448
|
var variant = ownerState.variant,
|
|
15268
15449
|
color = ownerState.color,
|
|
@@ -15410,7 +15591,7 @@
|
|
|
15410
15591
|
})
|
|
15411
15592
|
};
|
|
15412
15593
|
var Alert = /*#__PURE__*/React__namespace.forwardRef(function Alert(inProps, ref) {
|
|
15413
|
-
var props = useThemeProps$
|
|
15594
|
+
var props = useThemeProps$H({
|
|
15414
15595
|
props: inProps,
|
|
15415
15596
|
name: 'MuiAlert'
|
|
15416
15597
|
});
|
|
@@ -15656,7 +15837,9 @@
|
|
|
15656
15837
|
margin: 0
|
|
15657
15838
|
}, ownerState.variant === 'inherit' && {
|
|
15658
15839
|
// Some elements, like <button> on Chrome have default font that doesn't inherit, reset this.
|
|
15659
|
-
font: 'inherit'
|
|
15840
|
+
font: 'inherit',
|
|
15841
|
+
lineHeight: 'inherit',
|
|
15842
|
+
letterSpacing: 'inherit'
|
|
15660
15843
|
}, ownerState.variant !== 'inherit' && theme.typography[ownerState.variant], ownerState.align !== 'inherit' && {
|
|
15661
15844
|
textAlign: ownerState.align
|
|
15662
15845
|
}, ownerState.noWrap && {
|
|
@@ -15695,7 +15878,7 @@
|
|
|
15695
15878
|
return colorTransformations$1[color] || color;
|
|
15696
15879
|
};
|
|
15697
15880
|
var Typography = /*#__PURE__*/React__namespace.forwardRef(function Typography(inProps, ref) {
|
|
15698
|
-
var themeProps = useThemeProps$
|
|
15881
|
+
var themeProps = useThemeProps$P({
|
|
15699
15882
|
props: inProps,
|
|
15700
15883
|
name: 'MuiTypography'
|
|
15701
15884
|
});
|
|
@@ -15734,9 +15917,10 @@
|
|
|
15734
15917
|
return /*#__PURE__*/jsxRuntime_1(TypographyRoot, _extends({
|
|
15735
15918
|
as: Component,
|
|
15736
15919
|
ref: ref,
|
|
15737
|
-
ownerState: ownerState,
|
|
15738
15920
|
className: clsx(classes.root, className)
|
|
15739
|
-
}, other
|
|
15921
|
+
}, other, {
|
|
15922
|
+
ownerState: ownerState
|
|
15923
|
+
}));
|
|
15740
15924
|
});
|
|
15741
15925
|
Typography.propTypes /* remove-proptypes */ = {
|
|
15742
15926
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -15821,7 +16005,7 @@
|
|
|
15821
16005
|
var alertTitleClasses = generateUtilityClasses$1('MuiAlertTitle', ['root']);
|
|
15822
16006
|
var alertTitleClasses$1 = alertTitleClasses;
|
|
15823
16007
|
|
|
15824
|
-
var useThemeProps$
|
|
16008
|
+
var useThemeProps$G = createUseThemeProps();
|
|
15825
16009
|
var useUtilityClasses$1E = function useUtilityClasses(ownerState) {
|
|
15826
16010
|
var classes = ownerState.classes;
|
|
15827
16011
|
var slots = {
|
|
@@ -15843,7 +16027,7 @@
|
|
|
15843
16027
|
};
|
|
15844
16028
|
});
|
|
15845
16029
|
var AlertTitle = /*#__PURE__*/React__namespace.forwardRef(function AlertTitle(inProps, ref) {
|
|
15846
|
-
var props = useThemeProps$
|
|
16030
|
+
var props = useThemeProps$G({
|
|
15847
16031
|
props: inProps,
|
|
15848
16032
|
name: 'MuiAlertTitle'
|
|
15849
16033
|
});
|
|
@@ -15889,7 +16073,7 @@
|
|
|
15889
16073
|
var appBarClasses = generateUtilityClasses$1('MuiAppBar', ['root', 'positionFixed', 'positionAbsolute', 'positionSticky', 'positionStatic', 'positionRelative', 'colorDefault', 'colorPrimary', 'colorSecondary', 'colorInherit', 'colorTransparent', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning']);
|
|
15890
16074
|
var appBarClasses$1 = appBarClasses;
|
|
15891
16075
|
|
|
15892
|
-
var useThemeProps$
|
|
16076
|
+
var useThemeProps$F = createUseThemeProps();
|
|
15893
16077
|
var useUtilityClasses$1D = function useUtilityClasses(ownerState) {
|
|
15894
16078
|
var color = ownerState.color,
|
|
15895
16079
|
position = ownerState.position,
|
|
@@ -15953,7 +16137,6 @@
|
|
|
15953
16137
|
position: 'sticky'
|
|
15954
16138
|
},
|
|
15955
16139
|
style: {
|
|
15956
|
-
// ⚠️ sticky is not supported by IE11.
|
|
15957
16140
|
position: 'sticky',
|
|
15958
16141
|
zIndex: (theme.vars || theme).zIndex.appBar,
|
|
15959
16142
|
top: 0,
|
|
@@ -16041,7 +16224,7 @@
|
|
|
16041
16224
|
};
|
|
16042
16225
|
});
|
|
16043
16226
|
var AppBar = /*#__PURE__*/React__namespace.forwardRef(function AppBar(inProps, ref) {
|
|
16044
|
-
var props = useThemeProps$
|
|
16227
|
+
var props = useThemeProps$F({
|
|
16045
16228
|
props: inProps,
|
|
16046
16229
|
name: 'MuiAppBar'
|
|
16047
16230
|
});
|
|
@@ -20159,8 +20342,7 @@
|
|
|
20159
20342
|
*/
|
|
20160
20343
|
function handleKeyDown(nativeEvent) {
|
|
20161
20344
|
if (!nativeEvent.defaultPrevented) {
|
|
20162
|
-
|
|
20163
|
-
if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
|
|
20345
|
+
if (nativeEvent.key === 'Escape') {
|
|
20164
20346
|
// not calling `preventDefault` since we don't know if people may ignore this event e.g. a permanently open snackbar
|
|
20165
20347
|
onClose == null || onClose(nativeEvent, 'escapeKeyDown');
|
|
20166
20348
|
}
|
|
@@ -20465,9 +20647,8 @@
|
|
|
20465
20647
|
} ;
|
|
20466
20648
|
|
|
20467
20649
|
// https://stackoverflow.com/questions/990904/remove-accents-diacritics-in-a-string-in-javascript
|
|
20468
|
-
// Give up on IE11 support for this feature
|
|
20469
20650
|
function stripDiacritics(string) {
|
|
20470
|
-
return
|
|
20651
|
+
return string.normalize('NFD').replace(/[\u0300-\u036f]/g, '');
|
|
20471
20652
|
}
|
|
20472
20653
|
function createFilterOptions() {
|
|
20473
20654
|
var config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
@@ -20504,16 +20685,6 @@
|
|
|
20504
20685
|
return typeof limit === 'number' ? filteredOptions.slice(0, limit) : filteredOptions;
|
|
20505
20686
|
};
|
|
20506
20687
|
}
|
|
20507
|
-
|
|
20508
|
-
// To replace with .findIndex() once we stop IE11 support.
|
|
20509
|
-
function findIndex(array, comp) {
|
|
20510
|
-
for (var i = 0; i < array.length; i += 1) {
|
|
20511
|
-
if (comp(array[i])) {
|
|
20512
|
-
return i;
|
|
20513
|
-
}
|
|
20514
|
-
}
|
|
20515
|
-
return -1;
|
|
20516
|
-
}
|
|
20517
20688
|
var defaultFilterOptions = createFilterOptions();
|
|
20518
20689
|
|
|
20519
20690
|
// Number of options to jump in list box when `Page Up` and `Page Down` keys are used.
|
|
@@ -20903,7 +21074,7 @@
|
|
|
20903
21074
|
}) : isSameValue(previousProps.value, value))) {
|
|
20904
21075
|
var previousHighlightedOption = previousProps.filteredOptions[highlightedIndexRef.current];
|
|
20905
21076
|
if (previousHighlightedOption) {
|
|
20906
|
-
return findIndex(
|
|
21077
|
+
return filteredOptions.findIndex(function (option) {
|
|
20907
21078
|
return getOptionLabel(option) === getOptionLabel(previousHighlightedOption);
|
|
20908
21079
|
});
|
|
20909
21080
|
}
|
|
@@ -20940,12 +21111,12 @@
|
|
|
20940
21111
|
var currentOption = filteredOptions[highlightedIndexRef.current];
|
|
20941
21112
|
|
|
20942
21113
|
// Keep the current highlighted index if possible
|
|
20943
|
-
if (multiple && currentOption && findIndex(
|
|
21114
|
+
if (multiple && currentOption && value.findIndex(function (val) {
|
|
20944
21115
|
return isOptionEqualToValue(currentOption, val);
|
|
20945
21116
|
}) !== -1) {
|
|
20946
21117
|
return;
|
|
20947
21118
|
}
|
|
20948
|
-
var itemIndex = findIndex(
|
|
21119
|
+
var itemIndex = filteredOptions.findIndex(function (optionItem) {
|
|
20949
21120
|
return isOptionEqualToValue(optionItem, valueItem);
|
|
20950
21121
|
});
|
|
20951
21122
|
if (itemIndex === -1) {
|
|
@@ -21052,7 +21223,7 @@
|
|
|
21052
21223
|
console.error(["MUI: The `isOptionEqualToValue` method of ".concat(componentName, " does not handle the arguments correctly."), "The component expects a single value to match a given option but found ".concat(matches.length, " matches.")].join('\n'));
|
|
21053
21224
|
}
|
|
21054
21225
|
}
|
|
21055
|
-
var itemIndex = findIndex(
|
|
21226
|
+
var itemIndex = newValue.findIndex(function (valueItem) {
|
|
21056
21227
|
return isOptionEqualToValue(option, valueItem);
|
|
21057
21228
|
});
|
|
21058
21229
|
if (itemIndex === -1) {
|
|
@@ -21557,7 +21728,7 @@
|
|
|
21557
21728
|
var Popper = /*#__PURE__*/React__namespace.forwardRef(function Popper(inProps, ref) {
|
|
21558
21729
|
var _slots$root;
|
|
21559
21730
|
var theme = useTheme$3();
|
|
21560
|
-
var props = useThemeProps$
|
|
21731
|
+
var props = useThemeProps$P({
|
|
21561
21732
|
props: inProps,
|
|
21562
21733
|
name: 'MuiPopper'
|
|
21563
21734
|
});
|
|
@@ -21755,34 +21926,62 @@
|
|
|
21755
21926
|
return [styles.root, ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))], !ownerState.disableGutters && styles.gutters, ownerState.inset && styles.inset, !ownerState.disableSticky && styles.sticky];
|
|
21756
21927
|
}
|
|
21757
21928
|
})(function (_ref) {
|
|
21758
|
-
var theme = _ref.theme
|
|
21759
|
-
|
|
21760
|
-
return _extends({
|
|
21929
|
+
var theme = _ref.theme;
|
|
21930
|
+
return {
|
|
21761
21931
|
boxSizing: 'border-box',
|
|
21762
21932
|
lineHeight: '48px',
|
|
21763
21933
|
listStyle: 'none',
|
|
21764
21934
|
color: (theme.vars || theme).palette.text.secondary,
|
|
21765
21935
|
fontFamily: theme.typography.fontFamily,
|
|
21766
21936
|
fontWeight: theme.typography.fontWeightMedium,
|
|
21767
|
-
fontSize: theme.typography.pxToRem(14)
|
|
21768
|
-
|
|
21769
|
-
|
|
21770
|
-
|
|
21771
|
-
|
|
21772
|
-
|
|
21773
|
-
|
|
21774
|
-
|
|
21775
|
-
|
|
21776
|
-
|
|
21777
|
-
|
|
21778
|
-
|
|
21779
|
-
|
|
21780
|
-
|
|
21781
|
-
|
|
21782
|
-
|
|
21937
|
+
fontSize: theme.typography.pxToRem(14),
|
|
21938
|
+
variants: [{
|
|
21939
|
+
props: {
|
|
21940
|
+
color: 'primary'
|
|
21941
|
+
},
|
|
21942
|
+
style: {
|
|
21943
|
+
color: (theme.vars || theme).palette.primary.main
|
|
21944
|
+
}
|
|
21945
|
+
}, {
|
|
21946
|
+
props: {
|
|
21947
|
+
color: 'inherit'
|
|
21948
|
+
},
|
|
21949
|
+
style: {
|
|
21950
|
+
color: 'inherit'
|
|
21951
|
+
}
|
|
21952
|
+
}, {
|
|
21953
|
+
props: function props(_ref2) {
|
|
21954
|
+
var ownerState = _ref2.ownerState;
|
|
21955
|
+
return !ownerState.disableGutters;
|
|
21956
|
+
},
|
|
21957
|
+
style: {
|
|
21958
|
+
paddingLeft: 16,
|
|
21959
|
+
paddingRight: 16
|
|
21960
|
+
}
|
|
21961
|
+
}, {
|
|
21962
|
+
props: function props(_ref3) {
|
|
21963
|
+
var ownerState = _ref3.ownerState;
|
|
21964
|
+
return ownerState.inset;
|
|
21965
|
+
},
|
|
21966
|
+
style: {
|
|
21967
|
+
paddingLeft: 72
|
|
21968
|
+
}
|
|
21969
|
+
}, {
|
|
21970
|
+
props: function props(_ref4) {
|
|
21971
|
+
var ownerState = _ref4.ownerState;
|
|
21972
|
+
return !ownerState.disableSticky;
|
|
21973
|
+
},
|
|
21974
|
+
style: {
|
|
21975
|
+
position: 'sticky',
|
|
21976
|
+
top: 0,
|
|
21977
|
+
zIndex: 1,
|
|
21978
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
21979
|
+
}
|
|
21980
|
+
}]
|
|
21981
|
+
};
|
|
21783
21982
|
});
|
|
21784
21983
|
var ListSubheader = /*#__PURE__*/React__namespace.forwardRef(function ListSubheader(inProps, ref) {
|
|
21785
|
-
var props = useThemeProps$
|
|
21984
|
+
var props = useThemeProps$P({
|
|
21786
21985
|
props: inProps,
|
|
21787
21986
|
name: 'MuiListSubheader'
|
|
21788
21987
|
});
|
|
@@ -21873,7 +22072,7 @@
|
|
|
21873
22072
|
var chipClasses = generateUtilityClasses$1('MuiChip', ['root', 'sizeSmall', 'sizeMedium', 'colorError', 'colorInfo', 'colorPrimary', 'colorSecondary', 'colorSuccess', 'colorWarning', 'disabled', 'clickable', 'clickableColorPrimary', 'clickableColorSecondary', 'deletable', 'deletableColorPrimary', 'deletableColorSecondary', 'outlined', 'filled', 'outlinedPrimary', 'outlinedSecondary', 'filledPrimary', 'filledSecondary', 'avatar', 'avatarSmall', 'avatarMedium', 'avatarColorPrimary', 'avatarColorSecondary', 'icon', 'iconSmall', 'iconMedium', 'iconColorPrimary', 'iconColorSecondary', 'label', 'labelSmall', 'labelMedium', 'deleteIcon', 'deleteIconSmall', 'deleteIconMedium', 'deleteIconColorPrimary', 'deleteIconColorSecondary', 'deleteIconOutlinedColorPrimary', 'deleteIconOutlinedColorSecondary', 'deleteIconFilledColorPrimary', 'deleteIconFilledColorSecondary', 'focusVisible']);
|
|
21874
22073
|
var chipClasses$1 = chipClasses;
|
|
21875
22074
|
|
|
21876
|
-
var useThemeProps$
|
|
22075
|
+
var useThemeProps$E = createUseThemeProps();
|
|
21877
22076
|
var useUtilityClasses$1A = function useUtilityClasses(ownerState) {
|
|
21878
22077
|
var classes = ownerState.classes,
|
|
21879
22078
|
disabled = ownerState.disabled,
|
|
@@ -22173,7 +22372,7 @@
|
|
|
22173
22372
|
* Chips represent complex entities in small blocks, such as a contact.
|
|
22174
22373
|
*/
|
|
22175
22374
|
var Chip = /*#__PURE__*/React__namespace.forwardRef(function Chip(inProps, ref) {
|
|
22176
|
-
var props = useThemeProps$
|
|
22375
|
+
var props = useThemeProps$E({
|
|
22177
22376
|
props: inProps,
|
|
22178
22377
|
name: 'MuiChip'
|
|
22179
22378
|
});
|
|
@@ -22661,7 +22860,7 @@
|
|
|
22661
22860
|
*/
|
|
22662
22861
|
var InputBase = /*#__PURE__*/React__namespace.forwardRef(function InputBase(inProps, ref) {
|
|
22663
22862
|
var _slotProps$input;
|
|
22664
|
-
var props = useThemeProps$
|
|
22863
|
+
var props = useThemeProps$P({
|
|
22665
22864
|
props: inProps,
|
|
22666
22865
|
name: 'MuiInputBase'
|
|
22667
22866
|
});
|
|
@@ -23201,7 +23400,7 @@
|
|
|
23201
23400
|
var autocompleteClasses$1 = autocompleteClasses;
|
|
23202
23401
|
|
|
23203
23402
|
var _styled, _ClearIcon, _ArrowDropDownIcon;
|
|
23204
|
-
var useThemeProps$
|
|
23403
|
+
var useThemeProps$D = createUseThemeProps();
|
|
23205
23404
|
var useUtilityClasses$1y = function useUtilityClasses(ownerState) {
|
|
23206
23405
|
var classes = ownerState.classes,
|
|
23207
23406
|
disablePortal = ownerState.disablePortal,
|
|
@@ -23520,7 +23719,7 @@
|
|
|
23520
23719
|
}));
|
|
23521
23720
|
var Autocomplete = /*#__PURE__*/React__namespace.forwardRef(function Autocomplete(inProps, ref) {
|
|
23522
23721
|
var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;
|
|
23523
|
-
var props = useThemeProps$
|
|
23722
|
+
var props = useThemeProps$D({
|
|
23524
23723
|
props: inProps,
|
|
23525
23724
|
name: 'MuiAutocomplete'
|
|
23526
23725
|
});
|
|
@@ -24296,7 +24495,7 @@
|
|
|
24296
24495
|
var avatarClasses = generateUtilityClasses$1('MuiAvatar', ['root', 'colorDefault', 'circular', 'rounded', 'square', 'img', 'fallback']);
|
|
24297
24496
|
var avatarClasses$1 = avatarClasses;
|
|
24298
24497
|
|
|
24299
|
-
var useThemeProps$
|
|
24498
|
+
var useThemeProps$C = createUseThemeProps();
|
|
24300
24499
|
var useUtilityClasses$1x = function useUtilityClasses(ownerState) {
|
|
24301
24500
|
var classes = ownerState.classes,
|
|
24302
24501
|
variant = ownerState.variant,
|
|
@@ -24371,7 +24570,7 @@
|
|
|
24371
24570
|
width: '100%',
|
|
24372
24571
|
height: '100%',
|
|
24373
24572
|
textAlign: 'center',
|
|
24374
|
-
// Handle non-square image.
|
|
24573
|
+
// Handle non-square image.
|
|
24375
24574
|
objectFit: 'cover',
|
|
24376
24575
|
// Hide alt text.
|
|
24377
24576
|
color: 'transparent',
|
|
@@ -24428,7 +24627,7 @@
|
|
|
24428
24627
|
return loaded;
|
|
24429
24628
|
}
|
|
24430
24629
|
var Avatar = /*#__PURE__*/React__namespace.forwardRef(function Avatar(inProps, ref) {
|
|
24431
|
-
var props = useThemeProps$
|
|
24630
|
+
var props = useThemeProps$C({
|
|
24432
24631
|
props: inProps,
|
|
24433
24632
|
name: 'MuiAvatar'
|
|
24434
24633
|
});
|
|
@@ -24589,7 +24788,7 @@
|
|
|
24589
24788
|
small: -16,
|
|
24590
24789
|
medium: -8
|
|
24591
24790
|
};
|
|
24592
|
-
var useThemeProps$
|
|
24791
|
+
var useThemeProps$B = createUseThemeProps();
|
|
24593
24792
|
var useUtilityClasses$1w = function useUtilityClasses(ownerState) {
|
|
24594
24793
|
var classes = ownerState.classes;
|
|
24595
24794
|
var slots = {
|
|
@@ -24620,7 +24819,7 @@
|
|
|
24620
24819
|
});
|
|
24621
24820
|
var AvatarGroup = /*#__PURE__*/React__namespace.forwardRef(function AvatarGroup(inProps, ref) {
|
|
24622
24821
|
var _slotProps$additional;
|
|
24623
|
-
var props = useThemeProps$
|
|
24822
|
+
var props = useThemeProps$B({
|
|
24624
24823
|
props: inProps,
|
|
24625
24824
|
name: 'MuiAvatarGroup'
|
|
24626
24825
|
});
|
|
@@ -24976,7 +25175,7 @@
|
|
|
24976
25175
|
var backdropClasses = generateUtilityClasses$1('MuiBackdrop', ['root', 'invisible']);
|
|
24977
25176
|
var backdropClasses$1 = backdropClasses;
|
|
24978
25177
|
|
|
24979
|
-
var useThemeProps$
|
|
25178
|
+
var useThemeProps$A = createUseThemeProps();
|
|
24980
25179
|
var useUtilityClasses$1v = function useUtilityClasses(ownerState) {
|
|
24981
25180
|
var classes = ownerState.classes,
|
|
24982
25181
|
invisible = ownerState.invisible;
|
|
@@ -25013,7 +25212,7 @@
|
|
|
25013
25212
|
}]
|
|
25014
25213
|
});
|
|
25015
25214
|
var Backdrop = /*#__PURE__*/React__namespace.forwardRef(function Backdrop(inProps, ref) {
|
|
25016
|
-
var props = useThemeProps$
|
|
25215
|
+
var props = useThemeProps$A({
|
|
25017
25216
|
props: inProps,
|
|
25018
25217
|
name: 'MuiBackdrop'
|
|
25019
25218
|
});
|
|
@@ -25184,7 +25383,7 @@
|
|
|
25184
25383
|
|
|
25185
25384
|
var RADIUS_STANDARD = 10;
|
|
25186
25385
|
var RADIUS_DOT = 4;
|
|
25187
|
-
var useThemeProps$
|
|
25386
|
+
var useThemeProps$z = createUseThemeProps();
|
|
25188
25387
|
var useUtilityClasses$1u = function useUtilityClasses(ownerState) {
|
|
25189
25388
|
var color = ownerState.color,
|
|
25190
25389
|
anchorOrigin = ownerState.anchorOrigin,
|
|
@@ -25387,7 +25586,7 @@
|
|
|
25387
25586
|
});
|
|
25388
25587
|
var Badge = /*#__PURE__*/React__namespace.forwardRef(function Badge(inProps, ref) {
|
|
25389
25588
|
var _ref11, _slots$root, _ref12, _slots$badge, _slotProps$root, _slotProps$badge;
|
|
25390
|
-
var props = useThemeProps$
|
|
25589
|
+
var props = useThemeProps$z({
|
|
25391
25590
|
props: inProps,
|
|
25392
25591
|
name: 'MuiBadge'
|
|
25393
25592
|
});
|
|
@@ -25611,7 +25810,7 @@
|
|
|
25611
25810
|
var bottomNavigationClasses = generateUtilityClasses$1('MuiBottomNavigation', ['root']);
|
|
25612
25811
|
var bottomNavigationClasses$1 = bottomNavigationClasses;
|
|
25613
25812
|
|
|
25614
|
-
var useThemeProps$
|
|
25813
|
+
var useThemeProps$y = createUseThemeProps();
|
|
25615
25814
|
var useUtilityClasses$1t = function useUtilityClasses(ownerState) {
|
|
25616
25815
|
var classes = ownerState.classes;
|
|
25617
25816
|
var slots = {
|
|
@@ -25635,7 +25834,7 @@
|
|
|
25635
25834
|
};
|
|
25636
25835
|
});
|
|
25637
25836
|
var BottomNavigation = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigation(inProps, ref) {
|
|
25638
|
-
var props = useThemeProps$
|
|
25837
|
+
var props = useThemeProps$y({
|
|
25639
25838
|
props: inProps,
|
|
25640
25839
|
name: 'MuiBottomNavigation'
|
|
25641
25840
|
});
|
|
@@ -25730,7 +25929,7 @@
|
|
|
25730
25929
|
var bottomNavigationActionClasses = generateUtilityClasses$1('MuiBottomNavigationAction', ['root', 'iconOnly', 'selected', 'label']);
|
|
25731
25930
|
var bottomNavigationActionClasses$1 = bottomNavigationActionClasses;
|
|
25732
25931
|
|
|
25733
|
-
var useThemeProps$
|
|
25932
|
+
var useThemeProps$x = createUseThemeProps();
|
|
25734
25933
|
var useUtilityClasses$1s = function useUtilityClasses(ownerState) {
|
|
25735
25934
|
var classes = ownerState.classes,
|
|
25736
25935
|
showLabel = ownerState.showLabel,
|
|
@@ -25812,7 +26011,7 @@
|
|
|
25812
26011
|
}]);
|
|
25813
26012
|
});
|
|
25814
26013
|
var BottomNavigationAction = /*#__PURE__*/React__namespace.forwardRef(function BottomNavigationAction(inProps, ref) {
|
|
25815
|
-
var props = useThemeProps$
|
|
26014
|
+
var props = useThemeProps$x({
|
|
25816
26015
|
props: inProps,
|
|
25817
26016
|
name: 'MuiBottomNavigationAction'
|
|
25818
26017
|
});
|
|
@@ -26020,7 +26219,7 @@
|
|
|
26020
26219
|
var breadcrumbsClasses = generateUtilityClasses$1('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);
|
|
26021
26220
|
var breadcrumbsClasses$1 = breadcrumbsClasses;
|
|
26022
26221
|
|
|
26023
|
-
var useThemeProps$
|
|
26222
|
+
var useThemeProps$w = createUseThemeProps();
|
|
26024
26223
|
var useUtilityClasses$1r = function useUtilityClasses(ownerState) {
|
|
26025
26224
|
var classes = ownerState.classes;
|
|
26026
26225
|
var slots = {
|
|
@@ -26080,7 +26279,7 @@
|
|
|
26080
26279
|
}, []);
|
|
26081
26280
|
}
|
|
26082
26281
|
var Breadcrumbs = /*#__PURE__*/React__namespace.forwardRef(function Breadcrumbs(inProps, ref) {
|
|
26083
|
-
var props = useThemeProps$
|
|
26282
|
+
var props = useThemeProps$w({
|
|
26084
26283
|
props: inProps,
|
|
26085
26284
|
name: 'MuiBreadcrumbs'
|
|
26086
26285
|
});
|
|
@@ -26280,7 +26479,7 @@
|
|
|
26280
26479
|
}
|
|
26281
26480
|
var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
|
|
26282
26481
|
|
|
26283
|
-
var useThemeProps$
|
|
26482
|
+
var useThemeProps$v = createUseThemeProps();
|
|
26284
26483
|
var useUtilityClasses$1q = function useUtilityClasses(ownerState) {
|
|
26285
26484
|
var color = ownerState.color,
|
|
26286
26485
|
disableElevation = ownerState.disableElevation,
|
|
@@ -26572,7 +26771,7 @@
|
|
|
26572
26771
|
var contextProps = React__namespace.useContext(ButtonGroupContext$1);
|
|
26573
26772
|
var buttonGroupButtonContextPositionClassName = React__namespace.useContext(ButtonGroupButtonContext$1);
|
|
26574
26773
|
var resolvedProps = resolveProps(contextProps, inProps);
|
|
26575
|
-
var props = useThemeProps$
|
|
26774
|
+
var props = useThemeProps$v({
|
|
26576
26775
|
props: resolvedProps,
|
|
26577
26776
|
name: 'MuiButton'
|
|
26578
26777
|
});
|
|
@@ -26738,7 +26937,7 @@
|
|
|
26738
26937
|
var buttonGroupClasses = generateUtilityClasses$1('MuiButtonGroup', ['root', 'contained', 'outlined', 'text', 'disableElevation', 'disabled', 'firstButton', 'fullWidth', 'horizontal', 'vertical', 'colorPrimary', 'colorSecondary', 'grouped', 'groupedHorizontal', 'groupedVertical', 'groupedText', 'groupedTextHorizontal', 'groupedTextVertical', 'groupedTextPrimary', 'groupedTextSecondary', 'groupedOutlined', 'groupedOutlinedHorizontal', 'groupedOutlinedVertical', 'groupedOutlinedPrimary', 'groupedOutlinedSecondary', 'groupedContained', 'groupedContainedHorizontal', 'groupedContainedVertical', 'groupedContainedPrimary', 'groupedContainedSecondary', 'lastButton', 'middleButton']);
|
|
26739
26938
|
var buttonGroupClasses$1 = buttonGroupClasses;
|
|
26740
26939
|
|
|
26741
|
-
var useThemeProps$
|
|
26940
|
+
var useThemeProps$u = createUseThemeProps();
|
|
26742
26941
|
var overridesResolver$6 = function overridesResolver(props, styles) {
|
|
26743
26942
|
var ownerState = props.ownerState;
|
|
26744
26943
|
return [_defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles.grouped), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant)).concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.variant)).concat(capitalize(ownerState.color))]), _defineProperty({}, "& .".concat(buttonGroupClasses$1.firstButton), styles.firstButton), _defineProperty({}, "& .".concat(buttonGroupClasses$1.lastButton), styles.lastButton), _defineProperty({}, "& .".concat(buttonGroupClasses$1.middleButton), styles.middleButton), styles.root, styles[ownerState.variant], ownerState.disableElevation === true && styles.disableElevation, ownerState.fullWidth && styles.fullWidth, ownerState.orientation === 'vertical' && styles.vertical];
|
|
@@ -26927,7 +27126,7 @@
|
|
|
26927
27126
|
});
|
|
26928
27127
|
});
|
|
26929
27128
|
var ButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ButtonGroup(inProps, ref) {
|
|
26930
|
-
var props = useThemeProps$
|
|
27129
|
+
var props = useThemeProps$u({
|
|
26931
27130
|
props: inProps,
|
|
26932
27131
|
name: 'MuiButtonGroup'
|
|
26933
27132
|
});
|
|
@@ -27097,7 +27296,7 @@
|
|
|
27097
27296
|
var cardClasses = generateUtilityClasses$1('MuiCard', ['root']);
|
|
27098
27297
|
var cardClasses$1 = cardClasses;
|
|
27099
27298
|
|
|
27100
|
-
var useThemeProps$
|
|
27299
|
+
var useThemeProps$t = createUseThemeProps();
|
|
27101
27300
|
var useUtilityClasses$1o = function useUtilityClasses(ownerState) {
|
|
27102
27301
|
var classes = ownerState.classes;
|
|
27103
27302
|
var slots = {
|
|
@@ -27115,7 +27314,7 @@
|
|
|
27115
27314
|
overflow: 'hidden'
|
|
27116
27315
|
});
|
|
27117
27316
|
var Card = /*#__PURE__*/React__namespace.forwardRef(function Card(inProps, ref) {
|
|
27118
|
-
var props = useThemeProps$
|
|
27317
|
+
var props = useThemeProps$t({
|
|
27119
27318
|
props: inProps,
|
|
27120
27319
|
name: 'MuiCard'
|
|
27121
27320
|
});
|
|
@@ -27174,7 +27373,7 @@
|
|
|
27174
27373
|
var cardActionAreaClasses = generateUtilityClasses$1('MuiCardActionArea', ['root', 'focusVisible', 'focusHighlight']);
|
|
27175
27374
|
var cardActionAreaClasses$1 = cardActionAreaClasses;
|
|
27176
27375
|
|
|
27177
|
-
var useThemeProps$
|
|
27376
|
+
var useThemeProps$s = createUseThemeProps();
|
|
27178
27377
|
var useUtilityClasses$1n = function useUtilityClasses(ownerState) {
|
|
27179
27378
|
var classes = ownerState.classes;
|
|
27180
27379
|
var slots = {
|
|
@@ -27231,7 +27430,7 @@
|
|
|
27231
27430
|
};
|
|
27232
27431
|
});
|
|
27233
27432
|
var CardActionArea = /*#__PURE__*/React__namespace.forwardRef(function CardActionArea(inProps, ref) {
|
|
27234
|
-
var props = useThemeProps$
|
|
27433
|
+
var props = useThemeProps$s({
|
|
27235
27434
|
props: inProps,
|
|
27236
27435
|
name: 'MuiCardActionArea'
|
|
27237
27436
|
});
|
|
@@ -27287,7 +27486,7 @@
|
|
|
27287
27486
|
var cardActionsClasses = generateUtilityClasses$1('MuiCardActions', ['root', 'spacing']);
|
|
27288
27487
|
var cardActionsClasses$1 = cardActionsClasses;
|
|
27289
27488
|
|
|
27290
|
-
var useThemeProps$
|
|
27489
|
+
var useThemeProps$r = createUseThemeProps();
|
|
27291
27490
|
var useUtilityClasses$1m = function useUtilityClasses(ownerState) {
|
|
27292
27491
|
var classes = ownerState.classes,
|
|
27293
27492
|
disableSpacing = ownerState.disableSpacing;
|
|
@@ -27319,7 +27518,7 @@
|
|
|
27319
27518
|
}]
|
|
27320
27519
|
});
|
|
27321
27520
|
var CardActions = /*#__PURE__*/React__namespace.forwardRef(function CardActions(inProps, ref) {
|
|
27322
|
-
var props = useThemeProps$
|
|
27521
|
+
var props = useThemeProps$r({
|
|
27323
27522
|
props: inProps,
|
|
27324
27523
|
name: 'MuiCardActions'
|
|
27325
27524
|
});
|
|
@@ -27372,7 +27571,7 @@
|
|
|
27372
27571
|
var cardContentClasses = generateUtilityClasses$1('MuiCardContent', ['root']);
|
|
27373
27572
|
var cardContentClasses$1 = cardContentClasses;
|
|
27374
27573
|
|
|
27375
|
-
var useThemeProps$
|
|
27574
|
+
var useThemeProps$q = createUseThemeProps();
|
|
27376
27575
|
var useUtilityClasses$1l = function useUtilityClasses(ownerState) {
|
|
27377
27576
|
var classes = ownerState.classes;
|
|
27378
27577
|
var slots = {
|
|
@@ -27393,7 +27592,7 @@
|
|
|
27393
27592
|
}
|
|
27394
27593
|
});
|
|
27395
27594
|
var CardContent = /*#__PURE__*/React__namespace.forwardRef(function CardContent(inProps, ref) {
|
|
27396
|
-
var props = useThemeProps$
|
|
27595
|
+
var props = useThemeProps$q({
|
|
27397
27596
|
props: inProps,
|
|
27398
27597
|
name: 'MuiCardContent'
|
|
27399
27598
|
});
|
|
@@ -27447,7 +27646,7 @@
|
|
|
27447
27646
|
var cardHeaderClasses = generateUtilityClasses$1('MuiCardHeader', ['root', 'avatar', 'action', 'content', 'title', 'subheader']);
|
|
27448
27647
|
var cardHeaderClasses$1 = cardHeaderClasses;
|
|
27449
27648
|
|
|
27450
|
-
var useThemeProps$
|
|
27649
|
+
var useThemeProps$p = createUseThemeProps();
|
|
27451
27650
|
var useUtilityClasses$1k = function useUtilityClasses(ownerState) {
|
|
27452
27651
|
var classes = ownerState.classes;
|
|
27453
27652
|
var slots = {
|
|
@@ -27505,7 +27704,7 @@
|
|
|
27505
27704
|
flex: '1 1 auto'
|
|
27506
27705
|
});
|
|
27507
27706
|
var CardHeader = /*#__PURE__*/React__namespace.forwardRef(function CardHeader(inProps, ref) {
|
|
27508
|
-
var props = useThemeProps$
|
|
27707
|
+
var props = useThemeProps$p({
|
|
27509
27708
|
props: inProps,
|
|
27510
27709
|
name: 'MuiCardHeader'
|
|
27511
27710
|
});
|
|
@@ -27639,7 +27838,7 @@
|
|
|
27639
27838
|
var cardMediaClasses = generateUtilityClasses$1('MuiCardMedia', ['root', 'media', 'img']);
|
|
27640
27839
|
var cardMediaClasses$1 = cardMediaClasses;
|
|
27641
27840
|
|
|
27642
|
-
var useThemeProps$
|
|
27841
|
+
var useThemeProps$o = createUseThemeProps();
|
|
27643
27842
|
var useUtilityClasses$1j = function useUtilityClasses(ownerState) {
|
|
27644
27843
|
var classes = ownerState.classes,
|
|
27645
27844
|
isMediaComponent = ownerState.isMediaComponent,
|
|
@@ -27675,7 +27874,6 @@
|
|
|
27675
27874
|
isImageComponent: true
|
|
27676
27875
|
},
|
|
27677
27876
|
style: {
|
|
27678
|
-
// ⚠️ object-fit is not supported by IE11.
|
|
27679
27877
|
objectFit: 'cover'
|
|
27680
27878
|
}
|
|
27681
27879
|
}]
|
|
@@ -27683,7 +27881,7 @@
|
|
|
27683
27881
|
var MEDIA_COMPONENTS = ['video', 'audio', 'picture', 'iframe', 'img'];
|
|
27684
27882
|
var IMAGE_COMPONENTS = ['picture', 'img'];
|
|
27685
27883
|
var CardMedia = /*#__PURE__*/React__namespace.forwardRef(function CardMedia(inProps, ref) {
|
|
27686
|
-
var props = useThemeProps$
|
|
27884
|
+
var props = useThemeProps$o({
|
|
27687
27885
|
props: inProps,
|
|
27688
27886
|
name: 'MuiCardMedia'
|
|
27689
27887
|
});
|
|
@@ -28049,6 +28247,7 @@
|
|
|
28049
28247
|
var checkboxClasses = generateUtilityClasses$1('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);
|
|
28050
28248
|
var checkboxClasses$1 = checkboxClasses;
|
|
28051
28249
|
|
|
28250
|
+
var useThemeProps$n = createUseThemeProps();
|
|
28052
28251
|
var useUtilityClasses$1h = function useUtilityClasses(ownerState) {
|
|
28053
28252
|
var classes = ownerState.classes,
|
|
28054
28253
|
indeterminate = ownerState.indeterminate,
|
|
@@ -28071,30 +28270,76 @@
|
|
|
28071
28270
|
return [styles.root, ownerState.indeterminate && styles.indeterminate, styles["size".concat(capitalize(ownerState.size))], ownerState.color !== 'default' && styles["color".concat(capitalize(ownerState.color))]];
|
|
28072
28271
|
}
|
|
28073
28272
|
})(function (_ref) {
|
|
28074
|
-
var theme = _ref.theme
|
|
28075
|
-
|
|
28076
|
-
|
|
28077
|
-
|
|
28078
|
-
|
|
28079
|
-
|
|
28080
|
-
|
|
28081
|
-
|
|
28082
|
-
|
|
28083
|
-
|
|
28273
|
+
var theme = _ref.theme;
|
|
28274
|
+
return {
|
|
28275
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
28276
|
+
variants: [{
|
|
28277
|
+
props: {
|
|
28278
|
+
color: 'default',
|
|
28279
|
+
disableRipple: false
|
|
28280
|
+
},
|
|
28281
|
+
style: {
|
|
28282
|
+
'&:hover': {
|
|
28283
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.activeChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)
|
|
28284
|
+
}
|
|
28084
28285
|
}
|
|
28085
|
-
}
|
|
28086
|
-
|
|
28087
|
-
|
|
28088
|
-
|
|
28089
|
-
|
|
28090
|
-
|
|
28286
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
|
|
28287
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
28288
|
+
palette = _ref3[1];
|
|
28289
|
+
return palette.main;
|
|
28290
|
+
}).map(function (_ref4) {
|
|
28291
|
+
var _ref5 = _slicedToArray(_ref4, 1),
|
|
28292
|
+
color = _ref5[0];
|
|
28293
|
+
return {
|
|
28294
|
+
props: {
|
|
28295
|
+
color: color,
|
|
28296
|
+
disableRipple: false
|
|
28297
|
+
},
|
|
28298
|
+
style: {
|
|
28299
|
+
'&:hover': {
|
|
28300
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)
|
|
28301
|
+
}
|
|
28302
|
+
}
|
|
28303
|
+
};
|
|
28304
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref6) {
|
|
28305
|
+
var _ref7 = _slicedToArray(_ref6, 2),
|
|
28306
|
+
palette = _ref7[1];
|
|
28307
|
+
return palette.main;
|
|
28308
|
+
}).map(function (_ref8) {
|
|
28309
|
+
var _ref9 = _slicedToArray(_ref8, 1),
|
|
28310
|
+
color = _ref9[0];
|
|
28311
|
+
return {
|
|
28312
|
+
props: {
|
|
28313
|
+
color: color
|
|
28314
|
+
},
|
|
28315
|
+
style: _defineProperty(_defineProperty({}, "&.".concat(checkboxClasses$1.checked, ", &.").concat(checkboxClasses$1.indeterminate), {
|
|
28316
|
+
color: (theme.vars || theme).palette[color].main
|
|
28317
|
+
}), "&.".concat(checkboxClasses$1.disabled), {
|
|
28318
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
28319
|
+
})
|
|
28320
|
+
};
|
|
28321
|
+
})), [{
|
|
28322
|
+
// Should be last to override other colors
|
|
28323
|
+
props: {
|
|
28324
|
+
disableRipple: false
|
|
28325
|
+
},
|
|
28326
|
+
style: {
|
|
28327
|
+
// Reset on touch devices, it doesn't add specificity
|
|
28328
|
+
'&:hover': {
|
|
28329
|
+
'@media (hover: none)': {
|
|
28330
|
+
backgroundColor: 'transparent'
|
|
28331
|
+
}
|
|
28332
|
+
}
|
|
28333
|
+
}
|
|
28334
|
+
}])
|
|
28335
|
+
};
|
|
28091
28336
|
});
|
|
28092
28337
|
var defaultCheckedIcon$1 = /*#__PURE__*/jsxRuntime_1(CheckBoxIcon, {});
|
|
28093
28338
|
var defaultIcon$2 = /*#__PURE__*/jsxRuntime_1(CheckBoxOutlineBlankIcon, {});
|
|
28094
28339
|
var defaultIndeterminateIcon = /*#__PURE__*/jsxRuntime_1(IndeterminateCheckBoxIcon, {});
|
|
28095
28340
|
var Checkbox = /*#__PURE__*/React__namespace.forwardRef(function Checkbox(inProps, ref) {
|
|
28096
28341
|
var _icon$props$fontSize, _indeterminateIcon$pr;
|
|
28097
|
-
var props = useThemeProps$
|
|
28342
|
+
var props = useThemeProps$n({
|
|
28098
28343
|
props: inProps,
|
|
28099
28344
|
name: 'MuiCheckbox'
|
|
28100
28345
|
});
|
|
@@ -28249,9 +28494,16 @@
|
|
|
28249
28494
|
var circularProgressClasses$1 = circularProgressClasses;
|
|
28250
28495
|
|
|
28251
28496
|
var _templateObject$2, _templateObject2$2, _templateObject3$2, _templateObject4$2;
|
|
28497
|
+
var useThemeProps$m = createUseThemeProps();
|
|
28252
28498
|
var SIZE = 44;
|
|
28253
28499
|
var circularRotateKeyframe = keyframes(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"])));
|
|
28254
28500
|
var circularDashKeyframe = keyframes(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"])));
|
|
28501
|
+
|
|
28502
|
+
// This implementation is for supporting both Styled-components v4+ and Pigment CSS.
|
|
28503
|
+
// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
|
|
28504
|
+
// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
|
|
28505
|
+
var rotateAnimation = typeof circularRotateKeyframe !== 'string' ? css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s linear infinite;\n "])), circularRotateKeyframe) : null;
|
|
28506
|
+
var dashAnimation = typeof circularDashKeyframe !== 'string' ? css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n animation: ", " 1.4s ease-in-out infinite;\n "])), circularDashKeyframe) : null;
|
|
28255
28507
|
var useUtilityClasses$1g = function useUtilityClasses(ownerState) {
|
|
28256
28508
|
var classes = ownerState.classes,
|
|
28257
28509
|
variant = ownerState.variant,
|
|
@@ -28272,18 +28524,40 @@
|
|
|
28272
28524
|
return [styles.root, styles[ownerState.variant], styles["color".concat(capitalize(ownerState.color))]];
|
|
28273
28525
|
}
|
|
28274
28526
|
})(function (_ref) {
|
|
28275
|
-
var
|
|
28276
|
-
|
|
28277
|
-
|
|
28278
|
-
|
|
28279
|
-
|
|
28280
|
-
|
|
28281
|
-
|
|
28282
|
-
|
|
28283
|
-
|
|
28284
|
-
|
|
28285
|
-
|
|
28286
|
-
|
|
28527
|
+
var theme = _ref.theme;
|
|
28528
|
+
return {
|
|
28529
|
+
display: 'inline-block',
|
|
28530
|
+
variants: [{
|
|
28531
|
+
props: {
|
|
28532
|
+
variant: 'determinate'
|
|
28533
|
+
},
|
|
28534
|
+
style: {
|
|
28535
|
+
transition: theme.transitions.create('transform')
|
|
28536
|
+
}
|
|
28537
|
+
}, {
|
|
28538
|
+
props: {
|
|
28539
|
+
variant: 'indeterminate'
|
|
28540
|
+
},
|
|
28541
|
+
style: rotateAnimation || {
|
|
28542
|
+
animation: "".concat(circularRotateKeyframe, " 1.4s linear infinite")
|
|
28543
|
+
}
|
|
28544
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
|
|
28545
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
28546
|
+
palette = _ref3[1];
|
|
28547
|
+
return palette.main;
|
|
28548
|
+
}).map(function (_ref4) {
|
|
28549
|
+
var _ref5 = _slicedToArray(_ref4, 1),
|
|
28550
|
+
color = _ref5[0];
|
|
28551
|
+
return {
|
|
28552
|
+
props: {
|
|
28553
|
+
color: color
|
|
28554
|
+
},
|
|
28555
|
+
style: {
|
|
28556
|
+
color: (theme.vars || theme).palette[color].main
|
|
28557
|
+
}
|
|
28558
|
+
};
|
|
28559
|
+
})))
|
|
28560
|
+
};
|
|
28287
28561
|
});
|
|
28288
28562
|
var CircularProgressSVG = styled$1('svg', {
|
|
28289
28563
|
name: 'MuiCircularProgress',
|
|
@@ -28301,21 +28575,37 @@
|
|
|
28301
28575
|
var ownerState = props.ownerState;
|
|
28302
28576
|
return [styles.circle, styles["circle".concat(capitalize(ownerState.variant))], ownerState.disableShrink && styles.circleDisableShrink];
|
|
28303
28577
|
}
|
|
28304
|
-
})(function (
|
|
28305
|
-
var
|
|
28306
|
-
|
|
28307
|
-
|
|
28308
|
-
|
|
28309
|
-
|
|
28310
|
-
|
|
28311
|
-
|
|
28312
|
-
|
|
28313
|
-
|
|
28314
|
-
|
|
28315
|
-
|
|
28316
|
-
|
|
28317
|
-
|
|
28318
|
-
|
|
28578
|
+
})(function (_ref6) {
|
|
28579
|
+
var theme = _ref6.theme;
|
|
28580
|
+
return {
|
|
28581
|
+
stroke: 'currentColor',
|
|
28582
|
+
variants: [{
|
|
28583
|
+
props: {
|
|
28584
|
+
variant: 'determinate'
|
|
28585
|
+
},
|
|
28586
|
+
style: {
|
|
28587
|
+
transition: theme.transitions.create('stroke-dashoffset')
|
|
28588
|
+
}
|
|
28589
|
+
}, {
|
|
28590
|
+
props: {
|
|
28591
|
+
variant: 'indeterminate'
|
|
28592
|
+
},
|
|
28593
|
+
style: {
|
|
28594
|
+
// Some default value that looks fine waiting for the animation to kicks in.
|
|
28595
|
+
strokeDasharray: '80px, 200px',
|
|
28596
|
+
strokeDashoffset: 0 // Add the unit to fix a Edge 16 and below bug.
|
|
28597
|
+
}
|
|
28598
|
+
}, {
|
|
28599
|
+
props: function props(_ref7) {
|
|
28600
|
+
var ownerState = _ref7.ownerState;
|
|
28601
|
+
return ownerState.variant === 'indeterminate' && !ownerState.disableShrink;
|
|
28602
|
+
},
|
|
28603
|
+
style: dashAnimation || {
|
|
28604
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
28605
|
+
animation: "".concat(circularDashKeyframe, " 1.4s ease-in-out infinite")
|
|
28606
|
+
}
|
|
28607
|
+
}]
|
|
28608
|
+
};
|
|
28319
28609
|
});
|
|
28320
28610
|
|
|
28321
28611
|
/**
|
|
@@ -28326,7 +28616,7 @@
|
|
|
28326
28616
|
* attribute to `true` on that region until it has finished loading.
|
|
28327
28617
|
*/
|
|
28328
28618
|
var CircularProgress = /*#__PURE__*/React__namespace.forwardRef(function CircularProgress(inProps, ref) {
|
|
28329
|
-
var props = useThemeProps$
|
|
28619
|
+
var props = useThemeProps$m({
|
|
28330
28620
|
props: inProps,
|
|
28331
28621
|
name: 'MuiCircularProgress'
|
|
28332
28622
|
});
|
|
@@ -28467,7 +28757,7 @@
|
|
|
28467
28757
|
}
|
|
28468
28758
|
}),
|
|
28469
28759
|
useThemeProps: function useThemeProps(inProps) {
|
|
28470
|
-
return useThemeProps$
|
|
28760
|
+
return useThemeProps$P({
|
|
28471
28761
|
props: inProps,
|
|
28472
28762
|
name: 'MuiContainer'
|
|
28473
28763
|
});
|
|
@@ -28590,7 +28880,7 @@
|
|
|
28590
28880
|
return defaultStyles;
|
|
28591
28881
|
};
|
|
28592
28882
|
function CssBaseline(inProps) {
|
|
28593
|
-
var props = useThemeProps$
|
|
28883
|
+
var props = useThemeProps$P({
|
|
28594
28884
|
props: inProps,
|
|
28595
28885
|
name: 'MuiCssBaseline'
|
|
28596
28886
|
});
|
|
@@ -28663,7 +28953,7 @@
|
|
|
28663
28953
|
var modalClasses = generateUtilityClasses$1('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
28664
28954
|
var modalClasses$1 = modalClasses;
|
|
28665
28955
|
|
|
28666
|
-
var useThemeProps$
|
|
28956
|
+
var useThemeProps$l = createUseThemeProps();
|
|
28667
28957
|
var useUtilityClasses$1f = function useUtilityClasses(ownerState) {
|
|
28668
28958
|
var open = ownerState.open,
|
|
28669
28959
|
exited = ownerState.exited,
|
|
@@ -28726,7 +29016,7 @@
|
|
|
28726
29016
|
*/
|
|
28727
29017
|
var Modal = /*#__PURE__*/React__namespace.forwardRef(function Modal(inProps, ref) {
|
|
28728
29018
|
var _ref3, _slots$root, _ref4, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
28729
|
-
var props = useThemeProps$
|
|
29019
|
+
var props = useThemeProps$l({
|
|
28730
29020
|
name: 'MuiModal',
|
|
28731
29021
|
props: inProps
|
|
28732
29022
|
});
|
|
@@ -29180,7 +29470,7 @@
|
|
|
29180
29470
|
* Dialogs are overlaid modal paper based components with a backdrop.
|
|
29181
29471
|
*/
|
|
29182
29472
|
var Dialog = /*#__PURE__*/React__namespace.forwardRef(function Dialog(inProps, ref) {
|
|
29183
|
-
var props = useThemeProps$
|
|
29473
|
+
var props = useThemeProps$P({
|
|
29184
29474
|
props: inProps,
|
|
29185
29475
|
name: 'MuiDialog'
|
|
29186
29476
|
});
|
|
@@ -29204,6 +29494,7 @@
|
|
|
29204
29494
|
_props$maxWidth = props.maxWidth,
|
|
29205
29495
|
maxWidth = _props$maxWidth === void 0 ? 'sm' : _props$maxWidth,
|
|
29206
29496
|
onBackdropClick = props.onBackdropClick,
|
|
29497
|
+
onClick = props.onClick,
|
|
29207
29498
|
onClose = props.onClose,
|
|
29208
29499
|
open = props.open,
|
|
29209
29500
|
_props$PaperComponent = props.PaperComponent,
|
|
@@ -29217,7 +29508,7 @@
|
|
|
29217
29508
|
_props$transitionDura = props.transitionDuration,
|
|
29218
29509
|
transitionDuration = _props$transitionDura === void 0 ? defaultTransitionDuration : _props$transitionDura,
|
|
29219
29510
|
TransitionProps = props.TransitionProps,
|
|
29220
|
-
other = _objectWithoutProperties(props, ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"]);
|
|
29511
|
+
other = _objectWithoutProperties(props, ["aria-describedby", "aria-labelledby", "BackdropComponent", "BackdropProps", "children", "className", "disableEscapeKeyDown", "fullScreen", "fullWidth", "maxWidth", "onBackdropClick", "onClick", "onClose", "open", "PaperComponent", "PaperProps", "scroll", "TransitionComponent", "transitionDuration", "TransitionProps"]);
|
|
29221
29512
|
var ownerState = _extends({}, props, {
|
|
29222
29513
|
disableEscapeKeyDown: disableEscapeKeyDown,
|
|
29223
29514
|
fullScreen: fullScreen,
|
|
@@ -29233,6 +29524,10 @@
|
|
|
29233
29524
|
backdropClick.current = event.target === event.currentTarget;
|
|
29234
29525
|
};
|
|
29235
29526
|
var handleBackdropClick = function handleBackdropClick(event) {
|
|
29527
|
+
if (onClick) {
|
|
29528
|
+
onClick(event);
|
|
29529
|
+
}
|
|
29530
|
+
|
|
29236
29531
|
// Ignore the events not coming from the "backdrop".
|
|
29237
29532
|
if (!backdropClick.current) {
|
|
29238
29533
|
return;
|
|
@@ -29371,6 +29666,10 @@
|
|
|
29371
29666
|
* @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
|
|
29372
29667
|
*/
|
|
29373
29668
|
onBackdropClick: PropTypes.func,
|
|
29669
|
+
/**
|
|
29670
|
+
* @ignore
|
|
29671
|
+
*/
|
|
29672
|
+
onClick: PropTypes.func,
|
|
29374
29673
|
/**
|
|
29375
29674
|
* Callback fired when the component requests to be closed.
|
|
29376
29675
|
*
|
|
@@ -29464,7 +29763,7 @@
|
|
|
29464
29763
|
});
|
|
29465
29764
|
});
|
|
29466
29765
|
var DialogActions = /*#__PURE__*/React__namespace.forwardRef(function DialogActions(inProps, ref) {
|
|
29467
|
-
var props = useThemeProps$
|
|
29766
|
+
var props = useThemeProps$P({
|
|
29468
29767
|
props: inProps,
|
|
29469
29768
|
name: 'MuiDialogActions'
|
|
29470
29769
|
});
|
|
@@ -29556,7 +29855,7 @@
|
|
|
29556
29855
|
}));
|
|
29557
29856
|
});
|
|
29558
29857
|
var DialogContent = /*#__PURE__*/React__namespace.forwardRef(function DialogContent(inProps, ref) {
|
|
29559
|
-
var props = useThemeProps$
|
|
29858
|
+
var props = useThemeProps$P({
|
|
29560
29859
|
props: inProps,
|
|
29561
29860
|
name: 'MuiDialogContent'
|
|
29562
29861
|
});
|
|
@@ -29628,7 +29927,7 @@
|
|
|
29628
29927
|
}
|
|
29629
29928
|
})({});
|
|
29630
29929
|
var DialogContentText = /*#__PURE__*/React__namespace.forwardRef(function DialogContentText(inProps, ref) {
|
|
29631
|
-
var props = useThemeProps$
|
|
29930
|
+
var props = useThemeProps$P({
|
|
29632
29931
|
props: inProps,
|
|
29633
29932
|
name: 'MuiDialogContentText'
|
|
29634
29933
|
});
|
|
@@ -29689,7 +29988,7 @@
|
|
|
29689
29988
|
flex: '0 0 auto'
|
|
29690
29989
|
});
|
|
29691
29990
|
var DialogTitle = /*#__PURE__*/React__namespace.forwardRef(function DialogTitle(inProps, ref) {
|
|
29692
|
-
var props = useThemeProps$
|
|
29991
|
+
var props = useThemeProps$P({
|
|
29693
29992
|
props: inProps,
|
|
29694
29993
|
name: 'MuiDialogTitle'
|
|
29695
29994
|
});
|
|
@@ -29744,7 +30043,7 @@
|
|
|
29744
30043
|
var dividerClasses = generateUtilityClasses$1('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
|
|
29745
30044
|
var dividerClasses$1 = dividerClasses;
|
|
29746
30045
|
|
|
29747
|
-
var useThemeProps$
|
|
30046
|
+
var useThemeProps$k = createUseThemeProps();
|
|
29748
30047
|
var useUtilityClasses$19 = function useUtilityClasses(ownerState) {
|
|
29749
30048
|
var absolute = ownerState.absolute,
|
|
29750
30049
|
children = ownerState.children,
|
|
@@ -29928,7 +30227,7 @@
|
|
|
29928
30227
|
};
|
|
29929
30228
|
});
|
|
29930
30229
|
var Divider = /*#__PURE__*/React__namespace.forwardRef(function Divider(inProps, ref) {
|
|
29931
|
-
var props = useThemeProps$
|
|
30230
|
+
var props = useThemeProps$k({
|
|
29932
30231
|
props: inProps,
|
|
29933
30232
|
name: 'MuiDivider'
|
|
29934
30233
|
});
|
|
@@ -30477,7 +30776,7 @@
|
|
|
30477
30776
|
* when `variant="temporary"` is set.
|
|
30478
30777
|
*/
|
|
30479
30778
|
var Drawer = /*#__PURE__*/React__namespace.forwardRef(function Drawer(inProps, ref) {
|
|
30480
|
-
var props = useThemeProps$
|
|
30779
|
+
var props = useThemeProps$P({
|
|
30481
30780
|
props: inProps,
|
|
30482
30781
|
name: 'MuiDrawer'
|
|
30483
30782
|
});
|
|
@@ -30674,6 +30973,7 @@
|
|
|
30674
30973
|
var fabClasses = generateUtilityClasses$1('MuiFab', ['root', 'primary', 'secondary', 'extended', 'circular', 'focusVisible', 'disabled', 'colorInherit', 'sizeSmall', 'sizeMedium', 'sizeLarge', 'info', 'error', 'warning', 'success']);
|
|
30675
30974
|
var fabClasses$1 = fabClasses;
|
|
30676
30975
|
|
|
30976
|
+
var useThemeProps$j = createUseThemeProps();
|
|
30677
30977
|
var useUtilityClasses$17 = function useUtilityClasses(ownerState) {
|
|
30678
30978
|
var color = ownerState.color,
|
|
30679
30979
|
variant = ownerState.variant,
|
|
@@ -30697,9 +30997,8 @@
|
|
|
30697
30997
|
}
|
|
30698
30998
|
})(function (_ref) {
|
|
30699
30999
|
var _theme$palette$getCon, _theme$palette;
|
|
30700
|
-
var theme = _ref.theme
|
|
30701
|
-
|
|
30702
|
-
return _extends({}, theme.typography.button, _defineProperty({
|
|
31000
|
+
var theme = _ref.theme;
|
|
31001
|
+
return _extends({}, theme.typography.button, _defineProperty(_defineProperty({
|
|
30703
31002
|
minHeight: 36,
|
|
30704
31003
|
transition: theme.transitions.create(['background-color', 'box-shadow', 'border-color'], {
|
|
30705
31004
|
duration: theme.transitions.duration["short"]
|
|
@@ -30726,50 +31025,97 @@
|
|
|
30726
31025
|
}
|
|
30727
31026
|
}, "&.".concat(fabClasses$1.focusVisible), {
|
|
30728
31027
|
boxShadow: (theme.vars || theme).shadows[6]
|
|
30729
|
-
}),
|
|
30730
|
-
|
|
30731
|
-
|
|
30732
|
-
|
|
30733
|
-
|
|
30734
|
-
|
|
30735
|
-
|
|
30736
|
-
borderRadius: 48 / 2,
|
|
30737
|
-
padding: '0 16px',
|
|
30738
|
-
width: 'auto',
|
|
30739
|
-
minHeight: 'auto',
|
|
30740
|
-
minWidth: 48,
|
|
30741
|
-
height: 48
|
|
30742
|
-
}, ownerState.variant === 'extended' && ownerState.size === 'small' && {
|
|
30743
|
-
width: 'auto',
|
|
30744
|
-
padding: '0 8px',
|
|
30745
|
-
borderRadius: 34 / 2,
|
|
30746
|
-
minWidth: 34,
|
|
30747
|
-
height: 34
|
|
30748
|
-
}, ownerState.variant === 'extended' && ownerState.size === 'medium' && {
|
|
30749
|
-
width: 'auto',
|
|
30750
|
-
padding: '0 16px',
|
|
30751
|
-
borderRadius: 40 / 2,
|
|
30752
|
-
minWidth: 40,
|
|
30753
|
-
height: 40
|
|
30754
|
-
}, ownerState.color === 'inherit' && {
|
|
30755
|
-
color: 'inherit'
|
|
30756
|
-
});
|
|
30757
|
-
}, function (_ref2) {
|
|
30758
|
-
var theme = _ref2.theme,
|
|
30759
|
-
ownerState = _ref2.ownerState;
|
|
30760
|
-
return _extends({}, ownerState.color !== 'inherit' && ownerState.color !== 'default' && (theme.vars || theme).palette[ownerState.color] != null && {
|
|
30761
|
-
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
30762
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
30763
|
-
'&:hover': {
|
|
30764
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
30765
|
-
// Reset on touch devices, it doesn't add specificity
|
|
30766
|
-
'@media (hover: none)': {
|
|
30767
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
30768
|
-
}
|
|
31028
|
+
}), "variants", [{
|
|
31029
|
+
props: {
|
|
31030
|
+
size: 'small'
|
|
31031
|
+
},
|
|
31032
|
+
style: {
|
|
31033
|
+
width: 40,
|
|
31034
|
+
height: 40
|
|
30769
31035
|
}
|
|
30770
|
-
}
|
|
30771
|
-
|
|
30772
|
-
|
|
31036
|
+
}, {
|
|
31037
|
+
props: {
|
|
31038
|
+
size: 'medium'
|
|
31039
|
+
},
|
|
31040
|
+
style: {
|
|
31041
|
+
width: 48,
|
|
31042
|
+
height: 48
|
|
31043
|
+
}
|
|
31044
|
+
}, {
|
|
31045
|
+
props: {
|
|
31046
|
+
variant: 'extended'
|
|
31047
|
+
},
|
|
31048
|
+
style: {
|
|
31049
|
+
borderRadius: 48 / 2,
|
|
31050
|
+
padding: '0 16px',
|
|
31051
|
+
width: 'auto',
|
|
31052
|
+
minHeight: 'auto',
|
|
31053
|
+
minWidth: 48,
|
|
31054
|
+
height: 48
|
|
31055
|
+
}
|
|
31056
|
+
}, {
|
|
31057
|
+
props: {
|
|
31058
|
+
variant: 'extended',
|
|
31059
|
+
size: 'small'
|
|
31060
|
+
},
|
|
31061
|
+
style: {
|
|
31062
|
+
width: 'auto',
|
|
31063
|
+
padding: '0 8px',
|
|
31064
|
+
borderRadius: 34 / 2,
|
|
31065
|
+
minWidth: 34,
|
|
31066
|
+
height: 34
|
|
31067
|
+
}
|
|
31068
|
+
}, {
|
|
31069
|
+
props: {
|
|
31070
|
+
variant: 'extended',
|
|
31071
|
+
size: 'medium'
|
|
31072
|
+
},
|
|
31073
|
+
style: {
|
|
31074
|
+
width: 'auto',
|
|
31075
|
+
padding: '0 16px',
|
|
31076
|
+
borderRadius: 40 / 2,
|
|
31077
|
+
minWidth: 40,
|
|
31078
|
+
height: 40
|
|
31079
|
+
}
|
|
31080
|
+
}, {
|
|
31081
|
+
props: {
|
|
31082
|
+
color: 'inherit'
|
|
31083
|
+
},
|
|
31084
|
+
style: {
|
|
31085
|
+
color: 'inherit'
|
|
31086
|
+
}
|
|
31087
|
+
}]));
|
|
31088
|
+
}, function (_ref2) {
|
|
31089
|
+
var theme = _ref2.theme;
|
|
31090
|
+
return {
|
|
31091
|
+
variants: _toConsumableArray(Object.entries(theme.palette).filter(function (_ref3) {
|
|
31092
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
|
31093
|
+
value = _ref4[1];
|
|
31094
|
+
return value.main && value.dark && value.contrastText;
|
|
31095
|
+
}) // check all the used fields in the style below
|
|
31096
|
+
.map(function (_ref5) {
|
|
31097
|
+
var _ref6 = _slicedToArray(_ref5, 1),
|
|
31098
|
+
color = _ref6[0];
|
|
31099
|
+
return {
|
|
31100
|
+
props: {
|
|
31101
|
+
color: color
|
|
31102
|
+
},
|
|
31103
|
+
style: {
|
|
31104
|
+
color: (theme.vars || theme).palette[color].contrastText,
|
|
31105
|
+
backgroundColor: (theme.vars || theme).palette[color].main,
|
|
31106
|
+
'&:hover': {
|
|
31107
|
+
backgroundColor: (theme.vars || theme).palette[color].dark,
|
|
31108
|
+
// Reset on touch devices, it doesn't add specificity
|
|
31109
|
+
'@media (hover: none)': {
|
|
31110
|
+
backgroundColor: (theme.vars || theme).palette[color].main
|
|
31111
|
+
}
|
|
31112
|
+
}
|
|
31113
|
+
}
|
|
31114
|
+
};
|
|
31115
|
+
}))
|
|
31116
|
+
};
|
|
31117
|
+
}, function (_ref7) {
|
|
31118
|
+
var theme = _ref7.theme;
|
|
30773
31119
|
return _defineProperty({}, "&.".concat(fabClasses$1.disabled), {
|
|
30774
31120
|
color: (theme.vars || theme).palette.action.disabled,
|
|
30775
31121
|
boxShadow: (theme.vars || theme).shadows[0],
|
|
@@ -30777,7 +31123,7 @@
|
|
|
30777
31123
|
});
|
|
30778
31124
|
});
|
|
30779
31125
|
var Fab = /*#__PURE__*/React__namespace.forwardRef(function Fab(inProps, ref) {
|
|
30780
|
-
var props = useThemeProps$
|
|
31126
|
+
var props = useThemeProps$j({
|
|
30781
31127
|
props: inProps,
|
|
30782
31128
|
name: 'MuiFab'
|
|
30783
31129
|
});
|
|
@@ -31048,7 +31394,7 @@
|
|
|
31048
31394
|
});
|
|
31049
31395
|
var FilledInput = /*#__PURE__*/React__namespace.forwardRef(function FilledInput(inProps, ref) {
|
|
31050
31396
|
var _ref5, _slots$root, _ref6, _slots$input;
|
|
31051
|
-
var props = useThemeProps$
|
|
31397
|
+
var props = useThemeProps$P({
|
|
31052
31398
|
props: inProps,
|
|
31053
31399
|
name: 'MuiFilledInput'
|
|
31054
31400
|
});
|
|
@@ -31304,7 +31650,7 @@
|
|
|
31304
31650
|
var formControlClasses = generateUtilityClasses$1('MuiFormControl', ['root', 'marginNone', 'marginNormal', 'marginDense', 'fullWidth', 'disabled']);
|
|
31305
31651
|
var formControlClasses$1 = formControlClasses;
|
|
31306
31652
|
|
|
31307
|
-
var useThemeProps$
|
|
31653
|
+
var useThemeProps$i = createUseThemeProps();
|
|
31308
31654
|
var useUtilityClasses$15 = function useUtilityClasses(ownerState) {
|
|
31309
31655
|
var classes = ownerState.classes,
|
|
31310
31656
|
margin = ownerState.margin,
|
|
@@ -31383,7 +31729,7 @@
|
|
|
31383
31729
|
* For instance, only one input can be focused at the same time, the state shouldn't be shared.
|
|
31384
31730
|
*/
|
|
31385
31731
|
var FormControl = /*#__PURE__*/React__namespace.forwardRef(function FormControl(inProps, ref) {
|
|
31386
|
-
var props = useThemeProps$
|
|
31732
|
+
var props = useThemeProps$i({
|
|
31387
31733
|
props: inProps,
|
|
31388
31734
|
name: 'MuiFormControl'
|
|
31389
31735
|
});
|
|
@@ -31614,7 +31960,7 @@
|
|
|
31614
31960
|
}
|
|
31615
31961
|
}),
|
|
31616
31962
|
useThemeProps: function useThemeProps(inProps) {
|
|
31617
|
-
return useThemeProps$
|
|
31963
|
+
return useThemeProps$P({
|
|
31618
31964
|
props: inProps,
|
|
31619
31965
|
name: 'MuiStack'
|
|
31620
31966
|
});
|
|
@@ -31675,7 +32021,7 @@
|
|
|
31675
32021
|
var formControlLabelClasses = generateUtilityClasses$1('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);
|
|
31676
32022
|
var formControlLabelClasses$1 = formControlLabelClasses;
|
|
31677
32023
|
|
|
31678
|
-
var useThemeProps$
|
|
32024
|
+
var useThemeProps$h = createUseThemeProps();
|
|
31679
32025
|
var useUtilityClasses$14 = function useUtilityClasses(ownerState) {
|
|
31680
32026
|
var classes = ownerState.classes,
|
|
31681
32027
|
disabled = ownerState.disabled,
|
|
@@ -31762,7 +32108,7 @@
|
|
|
31762
32108
|
*/
|
|
31763
32109
|
var FormControlLabel = /*#__PURE__*/React__namespace.forwardRef(function FormControlLabel(inProps, ref) {
|
|
31764
32110
|
var _ref7, _slotProps$typography;
|
|
31765
|
-
var props = useThemeProps$
|
|
32111
|
+
var props = useThemeProps$h({
|
|
31766
32112
|
props: inProps,
|
|
31767
32113
|
name: 'MuiFormControlLabel'
|
|
31768
32114
|
});
|
|
@@ -31922,7 +32268,7 @@
|
|
|
31922
32268
|
var formGroupClasses = generateUtilityClasses$1('MuiFormGroup', ['root', 'row', 'error']);
|
|
31923
32269
|
var formGroupClasses$1 = formGroupClasses;
|
|
31924
32270
|
|
|
31925
|
-
var useThemeProps$
|
|
32271
|
+
var useThemeProps$g = createUseThemeProps();
|
|
31926
32272
|
var useUtilityClasses$13 = function useUtilityClasses(ownerState) {
|
|
31927
32273
|
var classes = ownerState.classes,
|
|
31928
32274
|
row = ownerState.row,
|
|
@@ -31959,7 +32305,7 @@
|
|
|
31959
32305
|
* For the `Radio`, you should be using the `RadioGroup` component instead of this one.
|
|
31960
32306
|
*/
|
|
31961
32307
|
var FormGroup = /*#__PURE__*/React__namespace.forwardRef(function FormGroup(inProps, ref) {
|
|
31962
|
-
var props = useThemeProps$
|
|
32308
|
+
var props = useThemeProps$g({
|
|
31963
32309
|
props: inProps,
|
|
31964
32310
|
name: 'MuiFormGroup'
|
|
31965
32311
|
});
|
|
@@ -32042,11 +32388,10 @@
|
|
|
32042
32388
|
return [styles.root, ownerState.size && styles["size".concat(capitalize(ownerState.size))], ownerState.contained && styles.contained, ownerState.filled && styles.filled];
|
|
32043
32389
|
}
|
|
32044
32390
|
})(function (_ref) {
|
|
32045
|
-
var theme = _ref.theme
|
|
32046
|
-
ownerState = _ref.ownerState;
|
|
32391
|
+
var theme = _ref.theme;
|
|
32047
32392
|
return _extends({
|
|
32048
32393
|
color: (theme.vars || theme).palette.text.secondary
|
|
32049
|
-
}, theme.typography.caption, _defineProperty(_defineProperty({
|
|
32394
|
+
}, theme.typography.caption, _defineProperty(_defineProperty(_defineProperty({
|
|
32050
32395
|
textAlign: 'left',
|
|
32051
32396
|
marginTop: 3,
|
|
32052
32397
|
marginRight: 0,
|
|
@@ -32056,15 +32401,26 @@
|
|
|
32056
32401
|
color: (theme.vars || theme).palette.text.disabled
|
|
32057
32402
|
}), "&.".concat(formHelperTextClasses$1.error), {
|
|
32058
32403
|
color: (theme.vars || theme).palette.error.main
|
|
32059
|
-
}),
|
|
32060
|
-
|
|
32061
|
-
|
|
32062
|
-
|
|
32063
|
-
|
|
32064
|
-
|
|
32404
|
+
}), "variants", [{
|
|
32405
|
+
props: {
|
|
32406
|
+
size: 'small'
|
|
32407
|
+
},
|
|
32408
|
+
style: {
|
|
32409
|
+
marginTop: 4
|
|
32410
|
+
}
|
|
32411
|
+
}, {
|
|
32412
|
+
props: function props(_ref2) {
|
|
32413
|
+
var ownerState = _ref2.ownerState;
|
|
32414
|
+
return ownerState.contained;
|
|
32415
|
+
},
|
|
32416
|
+
style: {
|
|
32417
|
+
marginLeft: 14,
|
|
32418
|
+
marginRight: 14
|
|
32419
|
+
}
|
|
32420
|
+
}]));
|
|
32065
32421
|
});
|
|
32066
32422
|
var FormHelperText = /*#__PURE__*/React__namespace.forwardRef(function FormHelperText(inProps, ref) {
|
|
32067
|
-
var props = useThemeProps$
|
|
32423
|
+
var props = useThemeProps$P({
|
|
32068
32424
|
props: inProps,
|
|
32069
32425
|
name: 'MuiFormHelperText'
|
|
32070
32426
|
});
|
|
@@ -32228,7 +32584,7 @@
|
|
|
32228
32584
|
});
|
|
32229
32585
|
});
|
|
32230
32586
|
var FormLabel = /*#__PURE__*/React__namespace.forwardRef(function FormLabel(inProps, ref) {
|
|
32231
|
-
var props = useThemeProps$
|
|
32587
|
+
var props = useThemeProps$P({
|
|
32232
32588
|
props: inProps,
|
|
32233
32589
|
name: 'MuiFormLabel'
|
|
32234
32590
|
});
|
|
@@ -32687,7 +33043,7 @@
|
|
|
32687
33043
|
return composeClasses(slots, getGridUtilityClass, classes);
|
|
32688
33044
|
};
|
|
32689
33045
|
var Grid = /*#__PURE__*/React__namespace.forwardRef(function Grid(inProps, ref) {
|
|
32690
|
-
var themeProps = useThemeProps$
|
|
33046
|
+
var themeProps = useThemeProps$P({
|
|
32691
33047
|
props: inProps,
|
|
32692
33048
|
name: 'MuiGrid'
|
|
32693
33049
|
});
|
|
@@ -32905,7 +33261,7 @@
|
|
|
32905
33261
|
}),
|
|
32906
33262
|
componentName: 'MuiGrid2',
|
|
32907
33263
|
useThemeProps: function useThemeProps(inProps) {
|
|
32908
|
-
return useThemeProps$
|
|
33264
|
+
return useThemeProps$P({
|
|
32909
33265
|
props: inProps,
|
|
32910
33266
|
name: 'MuiGrid2'
|
|
32911
33267
|
});
|
|
@@ -33757,7 +34113,7 @@
|
|
|
33757
34113
|
};
|
|
33758
34114
|
});
|
|
33759
34115
|
var Icon = /*#__PURE__*/React__namespace.forwardRef(function Icon(inProps, ref) {
|
|
33760
|
-
var props = useThemeProps$
|
|
34116
|
+
var props = useThemeProps$P({
|
|
33761
34117
|
props: inProps,
|
|
33762
34118
|
name: 'MuiIcon'
|
|
33763
34119
|
});
|
|
@@ -33868,21 +34224,24 @@
|
|
|
33868
34224
|
var ownerState = props.ownerState;
|
|
33869
34225
|
return [styles.root, styles[ownerState.variant]];
|
|
33870
34226
|
}
|
|
33871
|
-
})(
|
|
33872
|
-
|
|
33873
|
-
|
|
33874
|
-
|
|
33875
|
-
|
|
33876
|
-
|
|
33877
|
-
|
|
33878
|
-
|
|
33879
|
-
|
|
33880
|
-
|
|
33881
|
-
|
|
33882
|
-
|
|
34227
|
+
})({
|
|
34228
|
+
display: 'grid',
|
|
34229
|
+
overflowY: 'auto',
|
|
34230
|
+
listStyle: 'none',
|
|
34231
|
+
padding: 0,
|
|
34232
|
+
// Add iOS momentum scrolling for iOS < 13.0
|
|
34233
|
+
WebkitOverflowScrolling: 'touch',
|
|
34234
|
+
variants: [{
|
|
34235
|
+
props: {
|
|
34236
|
+
variant: 'masonry'
|
|
34237
|
+
},
|
|
34238
|
+
style: {
|
|
34239
|
+
display: 'block'
|
|
34240
|
+
}
|
|
34241
|
+
}]
|
|
33883
34242
|
});
|
|
33884
34243
|
var ImageList = /*#__PURE__*/React__namespace.forwardRef(function ImageList(inProps, ref) {
|
|
33885
|
-
var props = useThemeProps$
|
|
34244
|
+
var props = useThemeProps$P({
|
|
33886
34245
|
props: inProps,
|
|
33887
34246
|
name: 'MuiImageList'
|
|
33888
34247
|
});
|
|
@@ -34017,33 +34376,45 @@
|
|
|
34017
34376
|
var ownerState = props.ownerState;
|
|
34018
34377
|
return [_defineProperty({}, "& .".concat(imageListItemClasses$1.img), styles.img), styles.root, styles[ownerState.variant]];
|
|
34019
34378
|
}
|
|
34020
|
-
})(
|
|
34021
|
-
|
|
34022
|
-
|
|
34023
|
-
|
|
34024
|
-
|
|
34025
|
-
|
|
34379
|
+
})(_defineProperty(_defineProperty({
|
|
34380
|
+
display: 'block',
|
|
34381
|
+
position: 'relative'
|
|
34382
|
+
}, "& .".concat(imageListItemClasses$1.img), {
|
|
34383
|
+
objectFit: 'cover',
|
|
34384
|
+
width: '100%',
|
|
34385
|
+
height: '100%',
|
|
34386
|
+
display: 'block'
|
|
34387
|
+
}), "variants", [{
|
|
34388
|
+
props: {
|
|
34389
|
+
variant: 'standard'
|
|
34390
|
+
},
|
|
34391
|
+
style: {
|
|
34026
34392
|
// For titlebar under list item
|
|
34027
34393
|
display: 'flex',
|
|
34028
34394
|
flexDirection: 'column'
|
|
34029
|
-
}
|
|
34395
|
+
}
|
|
34396
|
+
}, {
|
|
34397
|
+
props: {
|
|
34398
|
+
variant: 'woven'
|
|
34399
|
+
},
|
|
34400
|
+
style: {
|
|
34030
34401
|
height: '100%',
|
|
34031
34402
|
alignSelf: 'center',
|
|
34032
34403
|
'&:nth-of-type(even)': {
|
|
34033
34404
|
height: '70%'
|
|
34034
34405
|
}
|
|
34035
|
-
}
|
|
34036
|
-
|
|
34037
|
-
|
|
34038
|
-
|
|
34039
|
-
|
|
34040
|
-
},
|
|
34406
|
+
}
|
|
34407
|
+
}, {
|
|
34408
|
+
props: {
|
|
34409
|
+
variant: 'standard'
|
|
34410
|
+
},
|
|
34411
|
+
style: _defineProperty({}, "& .".concat(imageListItemClasses$1.img), {
|
|
34041
34412
|
height: 'auto',
|
|
34042
34413
|
flexGrow: 1
|
|
34043
|
-
})
|
|
34044
|
-
});
|
|
34414
|
+
})
|
|
34415
|
+
}]));
|
|
34045
34416
|
var ImageListItem = /*#__PURE__*/React__namespace.forwardRef(function ImageListItem(inProps, ref) {
|
|
34046
|
-
var props = useThemeProps$
|
|
34417
|
+
var props = useThemeProps$P({
|
|
34047
34418
|
props: inProps,
|
|
34048
34419
|
name: 'MuiImageListItem'
|
|
34049
34420
|
});
|
|
@@ -34181,25 +34552,40 @@
|
|
|
34181
34552
|
return [styles.root, styles["position".concat(capitalize(ownerState.position))]];
|
|
34182
34553
|
}
|
|
34183
34554
|
})(function (_ref) {
|
|
34184
|
-
var theme = _ref.theme
|
|
34185
|
-
|
|
34186
|
-
return _extends({
|
|
34555
|
+
var theme = _ref.theme;
|
|
34556
|
+
return {
|
|
34187
34557
|
position: 'absolute',
|
|
34188
34558
|
left: 0,
|
|
34189
34559
|
right: 0,
|
|
34190
34560
|
background: 'rgba(0, 0, 0, 0.5)',
|
|
34191
34561
|
display: 'flex',
|
|
34192
34562
|
alignItems: 'center',
|
|
34193
|
-
fontFamily: theme.typography.fontFamily
|
|
34194
|
-
|
|
34195
|
-
|
|
34196
|
-
|
|
34197
|
-
|
|
34198
|
-
|
|
34199
|
-
|
|
34200
|
-
|
|
34201
|
-
|
|
34202
|
-
|
|
34563
|
+
fontFamily: theme.typography.fontFamily,
|
|
34564
|
+
variants: [{
|
|
34565
|
+
props: {
|
|
34566
|
+
position: 'bottom'
|
|
34567
|
+
},
|
|
34568
|
+
style: {
|
|
34569
|
+
bottom: 0
|
|
34570
|
+
}
|
|
34571
|
+
}, {
|
|
34572
|
+
props: {
|
|
34573
|
+
position: 'top'
|
|
34574
|
+
},
|
|
34575
|
+
style: {
|
|
34576
|
+
top: 0
|
|
34577
|
+
}
|
|
34578
|
+
}, {
|
|
34579
|
+
props: {
|
|
34580
|
+
position: 'below'
|
|
34581
|
+
},
|
|
34582
|
+
style: {
|
|
34583
|
+
position: 'relative',
|
|
34584
|
+
background: 'transparent',
|
|
34585
|
+
alignItems: 'normal'
|
|
34586
|
+
}
|
|
34587
|
+
}]
|
|
34588
|
+
};
|
|
34203
34589
|
});
|
|
34204
34590
|
var ImageListItemBarTitleWrap = styled$1('div', {
|
|
34205
34591
|
name: 'MuiImageListItemBar',
|
|
@@ -34209,21 +34595,38 @@
|
|
|
34209
34595
|
return [styles.titleWrap, styles["titleWrap".concat(capitalize(ownerState.position))], ownerState.actionIcon && styles["titleWrapActionPos".concat(capitalize(ownerState.actionPosition))]];
|
|
34210
34596
|
}
|
|
34211
34597
|
})(function (_ref2) {
|
|
34212
|
-
var theme = _ref2.theme
|
|
34213
|
-
|
|
34214
|
-
return _extends({
|
|
34598
|
+
var theme = _ref2.theme;
|
|
34599
|
+
return {
|
|
34215
34600
|
flexGrow: 1,
|
|
34216
34601
|
padding: '12px 16px',
|
|
34217
34602
|
color: (theme.vars || theme).palette.common.white,
|
|
34218
|
-
overflow: 'hidden'
|
|
34219
|
-
|
|
34220
|
-
|
|
34221
|
-
|
|
34222
|
-
|
|
34223
|
-
|
|
34224
|
-
|
|
34225
|
-
|
|
34226
|
-
|
|
34603
|
+
overflow: 'hidden',
|
|
34604
|
+
variants: [{
|
|
34605
|
+
props: {
|
|
34606
|
+
position: 'below'
|
|
34607
|
+
},
|
|
34608
|
+
style: {
|
|
34609
|
+
padding: '6px 0 12px',
|
|
34610
|
+
color: 'inherit'
|
|
34611
|
+
}
|
|
34612
|
+
}, {
|
|
34613
|
+
props: function props(_ref3) {
|
|
34614
|
+
var ownerState = _ref3.ownerState;
|
|
34615
|
+
return ownerState.actionIcon && ownerState.actionPosition === 'left';
|
|
34616
|
+
},
|
|
34617
|
+
style: {
|
|
34618
|
+
paddingLeft: 0
|
|
34619
|
+
}
|
|
34620
|
+
}, {
|
|
34621
|
+
props: function props(_ref4) {
|
|
34622
|
+
var ownerState = _ref4.ownerState;
|
|
34623
|
+
return ownerState.actionIcon && ownerState.actionPosition === 'right';
|
|
34624
|
+
},
|
|
34625
|
+
style: {
|
|
34626
|
+
paddingRight: 0
|
|
34627
|
+
}
|
|
34628
|
+
}]
|
|
34629
|
+
};
|
|
34227
34630
|
});
|
|
34228
34631
|
var ImageListItemBarTitle = styled$1('div', {
|
|
34229
34632
|
name: 'MuiImageListItemBar',
|
|
@@ -34231,8 +34634,8 @@
|
|
|
34231
34634
|
overridesResolver: function overridesResolver(props, styles) {
|
|
34232
34635
|
return styles.title;
|
|
34233
34636
|
}
|
|
34234
|
-
})(function (
|
|
34235
|
-
var theme =
|
|
34637
|
+
})(function (_ref5) {
|
|
34638
|
+
var theme = _ref5.theme;
|
|
34236
34639
|
return {
|
|
34237
34640
|
fontSize: theme.typography.pxToRem(16),
|
|
34238
34641
|
lineHeight: '24px',
|
|
@@ -34247,8 +34650,8 @@
|
|
|
34247
34650
|
overridesResolver: function overridesResolver(props, styles) {
|
|
34248
34651
|
return styles.subtitle;
|
|
34249
34652
|
}
|
|
34250
|
-
})(function (
|
|
34251
|
-
var theme =
|
|
34653
|
+
})(function (_ref6) {
|
|
34654
|
+
var theme = _ref6.theme;
|
|
34252
34655
|
return {
|
|
34253
34656
|
fontSize: theme.typography.pxToRem(12),
|
|
34254
34657
|
lineHeight: 1,
|
|
@@ -34264,14 +34667,18 @@
|
|
|
34264
34667
|
var ownerState = props.ownerState;
|
|
34265
34668
|
return [styles.actionIcon, styles["actionIconActionPos".concat(capitalize(ownerState.actionPosition))]];
|
|
34266
34669
|
}
|
|
34267
|
-
})(
|
|
34268
|
-
|
|
34269
|
-
|
|
34270
|
-
|
|
34271
|
-
|
|
34670
|
+
})({
|
|
34671
|
+
variants: [{
|
|
34672
|
+
props: {
|
|
34673
|
+
actionPosition: 'left'
|
|
34674
|
+
},
|
|
34675
|
+
style: {
|
|
34676
|
+
order: -1
|
|
34677
|
+
}
|
|
34678
|
+
}]
|
|
34272
34679
|
});
|
|
34273
34680
|
var ImageListItemBar = /*#__PURE__*/React__namespace.forwardRef(function ImageListItemBar(inProps, ref) {
|
|
34274
|
-
var props = useThemeProps$
|
|
34681
|
+
var props = useThemeProps$P({
|
|
34275
34682
|
props: inProps,
|
|
34276
34683
|
name: 'MuiImageListItemBar'
|
|
34277
34684
|
});
|
|
@@ -34445,7 +34852,7 @@
|
|
|
34445
34852
|
})({});
|
|
34446
34853
|
var Input = /*#__PURE__*/React__namespace.forwardRef(function Input(inProps, ref) {
|
|
34447
34854
|
var _ref3, _slots$root, _ref4, _slots$input;
|
|
34448
|
-
var props = useThemeProps$
|
|
34855
|
+
var props = useThemeProps$P({
|
|
34449
34856
|
props: inProps,
|
|
34450
34857
|
name: 'MuiInput'
|
|
34451
34858
|
});
|
|
@@ -34733,7 +35140,7 @@
|
|
|
34733
35140
|
});
|
|
34734
35141
|
});
|
|
34735
35142
|
var InputAdornment = /*#__PURE__*/React__namespace.forwardRef(function InputAdornment(inProps, ref) {
|
|
34736
|
-
var props = useThemeProps$
|
|
35143
|
+
var props = useThemeProps$P({
|
|
34737
35144
|
props: inProps,
|
|
34738
35145
|
name: 'MuiInputAdornment'
|
|
34739
35146
|
});
|
|
@@ -34933,7 +35340,7 @@
|
|
|
34933
35340
|
}));
|
|
34934
35341
|
});
|
|
34935
35342
|
var InputLabel = /*#__PURE__*/React__namespace.forwardRef(function InputLabel(inProps, ref) {
|
|
34936
|
-
var props = useThemeProps$
|
|
35343
|
+
var props = useThemeProps$P({
|
|
34937
35344
|
name: 'MuiInputLabel',
|
|
34938
35345
|
props: inProps
|
|
34939
35346
|
});
|
|
@@ -35049,10 +35456,18 @@
|
|
|
35049
35456
|
var linearProgressClasses$1 = linearProgressClasses;
|
|
35050
35457
|
|
|
35051
35458
|
var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5, _templateObject6;
|
|
35459
|
+
var useThemeProps$f = createUseThemeProps();
|
|
35052
35460
|
var TRANSITION_DURATION = 4; // seconds
|
|
35053
35461
|
var indeterminate1Keyframe = keyframes(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"])));
|
|
35054
|
-
|
|
35055
|
-
|
|
35462
|
+
|
|
35463
|
+
// This implementation is for supporting both Styled-components v4+ and Pigment CSS.
|
|
35464
|
+
// A global animation has to be created here for Styled-components v4+ (https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#12).
|
|
35465
|
+
// which can be done by checking typeof indeterminate1Keyframe !== 'string' (at runtime, Pigment CSS transform keyframes`` to a string).
|
|
35466
|
+
var indeterminate1Animation = typeof indeterminate1Keyframe !== 'string' ? css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n animation: ", " 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "])), indeterminate1Keyframe) : null;
|
|
35467
|
+
var indeterminate2Keyframe = keyframes(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"])));
|
|
35468
|
+
var indeterminate2Animation = typeof indeterminate2Keyframe !== 'string' ? css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n animation: ", " 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "])), indeterminate2Keyframe) : null;
|
|
35469
|
+
var bufferKeyframe = keyframes(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"])));
|
|
35470
|
+
var bufferAnimation = typeof bufferKeyframe !== 'string' ? css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n animation: ", " 3s infinite linear;\n "])), bufferKeyframe) : null;
|
|
35056
35471
|
var useUtilityClasses$T = function useUtilityClasses(ownerState) {
|
|
35057
35472
|
var classes = ownerState.classes,
|
|
35058
35473
|
variant = ownerState.variant,
|
|
@@ -35066,9 +35481,6 @@
|
|
|
35066
35481
|
return composeClasses(slots, getLinearProgressUtilityClass, classes);
|
|
35067
35482
|
};
|
|
35068
35483
|
var getColorShade = function getColorShade(theme, color) {
|
|
35069
|
-
if (color === 'inherit') {
|
|
35070
|
-
return 'currentColor';
|
|
35071
|
-
}
|
|
35072
35484
|
if (theme.vars) {
|
|
35073
35485
|
return theme.vars.palette.LinearProgress["".concat(color, "Bg")];
|
|
35074
35486
|
}
|
|
@@ -35082,36 +35494,65 @@
|
|
|
35082
35494
|
return [styles.root, styles["color".concat(capitalize(ownerState.color))], styles[ownerState.variant]];
|
|
35083
35495
|
}
|
|
35084
35496
|
})(function (_ref) {
|
|
35085
|
-
var
|
|
35086
|
-
|
|
35087
|
-
return _extends({
|
|
35497
|
+
var theme = _ref.theme;
|
|
35498
|
+
return {
|
|
35088
35499
|
position: 'relative',
|
|
35089
35500
|
overflow: 'hidden',
|
|
35090
35501
|
display: 'block',
|
|
35091
35502
|
height: 4,
|
|
35092
|
-
zIndex: 0,
|
|
35093
35503
|
// Fix Safari's bug during composition of different paint.
|
|
35504
|
+
zIndex: 0,
|
|
35094
35505
|
'@media print': {
|
|
35095
35506
|
colorAdjust: 'exact'
|
|
35096
35507
|
},
|
|
35097
|
-
|
|
35098
|
-
|
|
35099
|
-
|
|
35100
|
-
|
|
35101
|
-
|
|
35102
|
-
|
|
35103
|
-
|
|
35104
|
-
|
|
35105
|
-
|
|
35106
|
-
|
|
35107
|
-
|
|
35108
|
-
|
|
35109
|
-
|
|
35110
|
-
|
|
35111
|
-
|
|
35112
|
-
|
|
35113
|
-
|
|
35114
|
-
|
|
35508
|
+
variants: [].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
|
|
35509
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
35510
|
+
value = _ref3[1];
|
|
35511
|
+
return value.main;
|
|
35512
|
+
}).map(function (_ref4) {
|
|
35513
|
+
var _ref5 = _slicedToArray(_ref4, 1),
|
|
35514
|
+
color = _ref5[0];
|
|
35515
|
+
return {
|
|
35516
|
+
props: {
|
|
35517
|
+
color: color
|
|
35518
|
+
},
|
|
35519
|
+
style: {
|
|
35520
|
+
backgroundColor: getColorShade(theme, color)
|
|
35521
|
+
}
|
|
35522
|
+
};
|
|
35523
|
+
})), [{
|
|
35524
|
+
props: function props(_ref6) {
|
|
35525
|
+
var ownerState = _ref6.ownerState;
|
|
35526
|
+
return ownerState.color === 'inherit' && ownerState.variant !== 'buffer';
|
|
35527
|
+
},
|
|
35528
|
+
style: {
|
|
35529
|
+
'&::before': {
|
|
35530
|
+
content: '""',
|
|
35531
|
+
position: 'absolute',
|
|
35532
|
+
left: 0,
|
|
35533
|
+
top: 0,
|
|
35534
|
+
right: 0,
|
|
35535
|
+
bottom: 0,
|
|
35536
|
+
backgroundColor: 'currentColor',
|
|
35537
|
+
opacity: 0.3
|
|
35538
|
+
}
|
|
35539
|
+
}
|
|
35540
|
+
}, {
|
|
35541
|
+
props: {
|
|
35542
|
+
variant: 'buffer'
|
|
35543
|
+
},
|
|
35544
|
+
style: {
|
|
35545
|
+
backgroundColor: 'transparent'
|
|
35546
|
+
}
|
|
35547
|
+
}, {
|
|
35548
|
+
props: {
|
|
35549
|
+
variant: 'query'
|
|
35550
|
+
},
|
|
35551
|
+
style: {
|
|
35552
|
+
transform: 'rotate(180deg)'
|
|
35553
|
+
}
|
|
35554
|
+
}])
|
|
35555
|
+
};
|
|
35115
35556
|
});
|
|
35116
35557
|
var LinearProgressDashed = styled$1('span', {
|
|
35117
35558
|
name: 'MuiLinearProgress',
|
|
@@ -35120,23 +35561,45 @@
|
|
|
35120
35561
|
var ownerState = props.ownerState;
|
|
35121
35562
|
return [styles.dashed, styles["dashedColor".concat(capitalize(ownerState.color))]];
|
|
35122
35563
|
}
|
|
35123
|
-
})(function (
|
|
35124
|
-
var
|
|
35125
|
-
|
|
35126
|
-
var backgroundColor = getColorShade(theme, ownerState.color);
|
|
35127
|
-
return _extends({
|
|
35564
|
+
})(function (_ref7) {
|
|
35565
|
+
var theme = _ref7.theme;
|
|
35566
|
+
return {
|
|
35128
35567
|
position: 'absolute',
|
|
35129
35568
|
marginTop: 0,
|
|
35130
35569
|
height: '100%',
|
|
35131
|
-
width: '100%'
|
|
35132
|
-
}, ownerState.color === 'inherit' && {
|
|
35133
|
-
opacity: 0.3
|
|
35134
|
-
}, {
|
|
35135
|
-
backgroundImage: "radial-gradient(".concat(backgroundColor, " 0%, ").concat(backgroundColor, " 16%, transparent 42%)"),
|
|
35570
|
+
width: '100%',
|
|
35136
35571
|
backgroundSize: '10px 10px',
|
|
35137
|
-
backgroundPosition: '0 -23px'
|
|
35138
|
-
|
|
35139
|
-
|
|
35572
|
+
backgroundPosition: '0 -23px',
|
|
35573
|
+
variants: [{
|
|
35574
|
+
props: {
|
|
35575
|
+
color: 'inherit'
|
|
35576
|
+
},
|
|
35577
|
+
style: {
|
|
35578
|
+
opacity: 0.3,
|
|
35579
|
+
backgroundImage: "radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"
|
|
35580
|
+
}
|
|
35581
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref8) {
|
|
35582
|
+
var _ref9 = _slicedToArray(_ref8, 2),
|
|
35583
|
+
value = _ref9[1];
|
|
35584
|
+
return value.main;
|
|
35585
|
+
}).map(function (_ref10) {
|
|
35586
|
+
var _ref11 = _slicedToArray(_ref10, 1),
|
|
35587
|
+
color = _ref11[0];
|
|
35588
|
+
var backgroundColor = getColorShade(theme, color);
|
|
35589
|
+
return {
|
|
35590
|
+
props: {
|
|
35591
|
+
color: color
|
|
35592
|
+
},
|
|
35593
|
+
style: {
|
|
35594
|
+
backgroundImage: "radial-gradient(".concat(backgroundColor, " 0%, ").concat(backgroundColor, " 16%, transparent 42%)")
|
|
35595
|
+
}
|
|
35596
|
+
};
|
|
35597
|
+
})))
|
|
35598
|
+
};
|
|
35599
|
+
}, bufferAnimation || {
|
|
35600
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
35601
|
+
animation: "".concat(bufferKeyframe, " 3s infinite linear")
|
|
35602
|
+
});
|
|
35140
35603
|
var LinearProgressBar1 = styled$1('span', {
|
|
35141
35604
|
name: 'MuiLinearProgress',
|
|
35142
35605
|
slot: 'Bar1',
|
|
@@ -35144,10 +35607,9 @@
|
|
|
35144
35607
|
var ownerState = props.ownerState;
|
|
35145
35608
|
return [styles.bar, styles["barColor".concat(capitalize(ownerState.color))], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar1Indeterminate, ownerState.variant === 'determinate' && styles.bar1Determinate, ownerState.variant === 'buffer' && styles.bar1Buffer];
|
|
35146
35609
|
}
|
|
35147
|
-
})(function (
|
|
35148
|
-
var
|
|
35149
|
-
|
|
35150
|
-
return _extends({
|
|
35610
|
+
})(function (_ref12) {
|
|
35611
|
+
var theme = _ref12.theme;
|
|
35612
|
+
return {
|
|
35151
35613
|
width: '100%',
|
|
35152
35614
|
position: 'absolute',
|
|
35153
35615
|
left: 0,
|
|
@@ -35155,16 +35617,61 @@
|
|
|
35155
35617
|
top: 0,
|
|
35156
35618
|
transition: 'transform 0.2s linear',
|
|
35157
35619
|
transformOrigin: 'left',
|
|
35158
|
-
|
|
35159
|
-
|
|
35160
|
-
|
|
35161
|
-
|
|
35162
|
-
|
|
35163
|
-
|
|
35164
|
-
|
|
35165
|
-
|
|
35166
|
-
|
|
35167
|
-
|
|
35620
|
+
variants: [{
|
|
35621
|
+
props: {
|
|
35622
|
+
color: 'inherit'
|
|
35623
|
+
},
|
|
35624
|
+
style: {
|
|
35625
|
+
backgroundColor: 'currentColor'
|
|
35626
|
+
}
|
|
35627
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref13) {
|
|
35628
|
+
var _ref14 = _slicedToArray(_ref13, 2),
|
|
35629
|
+
value = _ref14[1];
|
|
35630
|
+
return value.main;
|
|
35631
|
+
}).map(function (_ref15) {
|
|
35632
|
+
var _ref16 = _slicedToArray(_ref15, 1),
|
|
35633
|
+
color = _ref16[0];
|
|
35634
|
+
return {
|
|
35635
|
+
props: {
|
|
35636
|
+
color: color
|
|
35637
|
+
},
|
|
35638
|
+
style: {
|
|
35639
|
+
backgroundColor: (theme.vars || theme).palette[color].main
|
|
35640
|
+
}
|
|
35641
|
+
};
|
|
35642
|
+
})), [{
|
|
35643
|
+
props: {
|
|
35644
|
+
variant: 'determinate'
|
|
35645
|
+
},
|
|
35646
|
+
style: {
|
|
35647
|
+
transition: "transform .".concat(TRANSITION_DURATION, "s linear")
|
|
35648
|
+
}
|
|
35649
|
+
}, {
|
|
35650
|
+
props: {
|
|
35651
|
+
variant: 'buffer'
|
|
35652
|
+
},
|
|
35653
|
+
style: {
|
|
35654
|
+
zIndex: 1,
|
|
35655
|
+
transition: "transform .".concat(TRANSITION_DURATION, "s linear")
|
|
35656
|
+
}
|
|
35657
|
+
}, {
|
|
35658
|
+
props: function props(_ref17) {
|
|
35659
|
+
var ownerState = _ref17.ownerState;
|
|
35660
|
+
return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
|
|
35661
|
+
},
|
|
35662
|
+
style: {
|
|
35663
|
+
width: 'auto'
|
|
35664
|
+
}
|
|
35665
|
+
}, {
|
|
35666
|
+
props: function props(_ref18) {
|
|
35667
|
+
var ownerState = _ref18.ownerState;
|
|
35668
|
+
return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
|
|
35669
|
+
},
|
|
35670
|
+
style: indeterminate1Animation || {
|
|
35671
|
+
animation: "".concat(indeterminate1Keyframe, " 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite")
|
|
35672
|
+
}
|
|
35673
|
+
}])
|
|
35674
|
+
};
|
|
35168
35675
|
});
|
|
35169
35676
|
var LinearProgressBar2 = styled$1('span', {
|
|
35170
35677
|
name: 'MuiLinearProgress',
|
|
@@ -35173,28 +35680,81 @@
|
|
|
35173
35680
|
var ownerState = props.ownerState;
|
|
35174
35681
|
return [styles.bar, styles["barColor".concat(capitalize(ownerState.color))], (ownerState.variant === 'indeterminate' || ownerState.variant === 'query') && styles.bar2Indeterminate, ownerState.variant === 'buffer' && styles.bar2Buffer];
|
|
35175
35682
|
}
|
|
35176
|
-
})(function (
|
|
35177
|
-
var
|
|
35178
|
-
|
|
35179
|
-
return _extends({
|
|
35683
|
+
})(function (_ref19) {
|
|
35684
|
+
var theme = _ref19.theme;
|
|
35685
|
+
return {
|
|
35180
35686
|
width: '100%',
|
|
35181
35687
|
position: 'absolute',
|
|
35182
35688
|
left: 0,
|
|
35183
35689
|
bottom: 0,
|
|
35184
35690
|
top: 0,
|
|
35185
35691
|
transition: 'transform 0.2s linear',
|
|
35186
|
-
transformOrigin: 'left'
|
|
35187
|
-
|
|
35188
|
-
|
|
35189
|
-
|
|
35190
|
-
|
|
35191
|
-
|
|
35192
|
-
|
|
35193
|
-
|
|
35194
|
-
|
|
35195
|
-
|
|
35196
|
-
|
|
35197
|
-
|
|
35692
|
+
transformOrigin: 'left',
|
|
35693
|
+
variants: [].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref20) {
|
|
35694
|
+
var _ref21 = _slicedToArray(_ref20, 2),
|
|
35695
|
+
value = _ref21[1];
|
|
35696
|
+
return value.main;
|
|
35697
|
+
}).map(function (_ref22) {
|
|
35698
|
+
var _ref23 = _slicedToArray(_ref22, 1),
|
|
35699
|
+
color = _ref23[0];
|
|
35700
|
+
return {
|
|
35701
|
+
props: {
|
|
35702
|
+
color: color
|
|
35703
|
+
},
|
|
35704
|
+
style: {
|
|
35705
|
+
'--LinearProgressBar2-barColor': (theme.vars || theme).palette[color].main
|
|
35706
|
+
}
|
|
35707
|
+
};
|
|
35708
|
+
})), [{
|
|
35709
|
+
props: function props(_ref24) {
|
|
35710
|
+
var ownerState = _ref24.ownerState;
|
|
35711
|
+
return ownerState.variant !== 'buffer' && ownerState.color !== 'inherit';
|
|
35712
|
+
},
|
|
35713
|
+
style: {
|
|
35714
|
+
backgroundColor: 'var(--LinearProgressBar2-barColor, currentColor)'
|
|
35715
|
+
}
|
|
35716
|
+
}, {
|
|
35717
|
+
props: {
|
|
35718
|
+
color: 'inherit'
|
|
35719
|
+
},
|
|
35720
|
+
style: {
|
|
35721
|
+
opacity: 0.3
|
|
35722
|
+
}
|
|
35723
|
+
}], _toConsumableArray(Object.entries(theme.palette).filter(function (_ref25) {
|
|
35724
|
+
var _ref26 = _slicedToArray(_ref25, 2),
|
|
35725
|
+
value = _ref26[1];
|
|
35726
|
+
return value.main;
|
|
35727
|
+
}).map(function (_ref27) {
|
|
35728
|
+
var _ref28 = _slicedToArray(_ref27, 1),
|
|
35729
|
+
color = _ref28[0];
|
|
35730
|
+
return {
|
|
35731
|
+
props: {
|
|
35732
|
+
color: color,
|
|
35733
|
+
variant: 'buffer'
|
|
35734
|
+
},
|
|
35735
|
+
style: {
|
|
35736
|
+
backgroundColor: getColorShade(theme, color),
|
|
35737
|
+
transition: "transform .".concat(TRANSITION_DURATION, "s linear")
|
|
35738
|
+
}
|
|
35739
|
+
};
|
|
35740
|
+
})), [{
|
|
35741
|
+
props: function props(_ref29) {
|
|
35742
|
+
var ownerState = _ref29.ownerState;
|
|
35743
|
+
return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
|
|
35744
|
+
},
|
|
35745
|
+
style: {
|
|
35746
|
+
width: 'auto'
|
|
35747
|
+
}
|
|
35748
|
+
}, {
|
|
35749
|
+
props: function props(_ref30) {
|
|
35750
|
+
var ownerState = _ref30.ownerState;
|
|
35751
|
+
return ownerState.variant === 'indeterminate' || ownerState.variant === 'query';
|
|
35752
|
+
},
|
|
35753
|
+
style: indeterminate2Animation || {
|
|
35754
|
+
animation: "".concat(indeterminate2Keyframe, " 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite")
|
|
35755
|
+
}
|
|
35756
|
+
}])
|
|
35757
|
+
};
|
|
35198
35758
|
});
|
|
35199
35759
|
|
|
35200
35760
|
/**
|
|
@@ -35205,7 +35765,7 @@
|
|
|
35205
35765
|
* attribute to `true` on that region until it has finished loading.
|
|
35206
35766
|
*/
|
|
35207
35767
|
var LinearProgress = /*#__PURE__*/React__namespace.forwardRef(function LinearProgress(inProps, ref) {
|
|
35208
|
-
var props = useThemeProps$
|
|
35768
|
+
var props = useThemeProps$f({
|
|
35209
35769
|
props: inProps,
|
|
35210
35770
|
name: 'MuiLinearProgress'
|
|
35211
35771
|
});
|
|
@@ -35412,7 +35972,7 @@
|
|
|
35412
35972
|
}));
|
|
35413
35973
|
});
|
|
35414
35974
|
var Link = /*#__PURE__*/React__namespace.forwardRef(function Link(inProps, ref) {
|
|
35415
|
-
var props = useThemeProps$
|
|
35975
|
+
var props = useThemeProps$P({
|
|
35416
35976
|
props: inProps,
|
|
35417
35977
|
name: 'MuiLink'
|
|
35418
35978
|
});
|
|
@@ -35583,7 +36143,7 @@
|
|
|
35583
36143
|
});
|
|
35584
36144
|
});
|
|
35585
36145
|
var List = /*#__PURE__*/React__namespace.forwardRef(function List(inProps, ref) {
|
|
35586
|
-
var props = useThemeProps$
|
|
36146
|
+
var props = useThemeProps$P({
|
|
35587
36147
|
props: inProps,
|
|
35588
36148
|
name: 'MuiList'
|
|
35589
36149
|
});
|
|
@@ -35703,9 +36263,8 @@
|
|
|
35703
36263
|
slot: 'Root',
|
|
35704
36264
|
overridesResolver: overridesResolver$3
|
|
35705
36265
|
})(function (_ref) {
|
|
35706
|
-
var theme = _ref.theme
|
|
35707
|
-
|
|
35708
|
-
return _extends(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
36266
|
+
var theme = _ref.theme;
|
|
36267
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
35709
36268
|
display: 'flex',
|
|
35710
36269
|
flexGrow: 1,
|
|
35711
36270
|
justifyContent: 'flex-start',
|
|
@@ -35742,21 +36301,44 @@
|
|
|
35742
36301
|
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
35743
36302
|
}), "&.".concat(listItemButtonClasses$1.disabled), {
|
|
35744
36303
|
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
35745
|
-
}),
|
|
35746
|
-
|
|
35747
|
-
|
|
35748
|
-
|
|
35749
|
-
|
|
35750
|
-
|
|
35751
|
-
|
|
35752
|
-
|
|
35753
|
-
|
|
35754
|
-
|
|
35755
|
-
|
|
35756
|
-
|
|
36304
|
+
}), "variants", [{
|
|
36305
|
+
props: function props(_ref2) {
|
|
36306
|
+
var ownerState = _ref2.ownerState;
|
|
36307
|
+
return ownerState.divider;
|
|
36308
|
+
},
|
|
36309
|
+
style: {
|
|
36310
|
+
borderBottom: "1px solid ".concat((theme.vars || theme).palette.divider),
|
|
36311
|
+
backgroundClip: 'padding-box'
|
|
36312
|
+
}
|
|
36313
|
+
}, {
|
|
36314
|
+
props: {
|
|
36315
|
+
alignItems: 'flex-start'
|
|
36316
|
+
},
|
|
36317
|
+
style: {
|
|
36318
|
+
alignItems: 'flex-start'
|
|
36319
|
+
}
|
|
36320
|
+
}, {
|
|
36321
|
+
props: function props(_ref3) {
|
|
36322
|
+
var ownerState = _ref3.ownerState;
|
|
36323
|
+
return !ownerState.disableGutters;
|
|
36324
|
+
},
|
|
36325
|
+
style: {
|
|
36326
|
+
paddingLeft: 16,
|
|
36327
|
+
paddingRight: 16
|
|
36328
|
+
}
|
|
36329
|
+
}, {
|
|
36330
|
+
props: function props(_ref4) {
|
|
36331
|
+
var ownerState = _ref4.ownerState;
|
|
36332
|
+
return ownerState.dense;
|
|
36333
|
+
},
|
|
36334
|
+
style: {
|
|
36335
|
+
paddingTop: 4,
|
|
36336
|
+
paddingBottom: 4
|
|
36337
|
+
}
|
|
36338
|
+
}]);
|
|
35757
36339
|
});
|
|
35758
36340
|
var ListItemButton = /*#__PURE__*/React__namespace.forwardRef(function ListItemButton(inProps, ref) {
|
|
35759
|
-
var props = useThemeProps$
|
|
36341
|
+
var props = useThemeProps$P({
|
|
35760
36342
|
props: inProps,
|
|
35761
36343
|
name: 'MuiListItemButton'
|
|
35762
36344
|
});
|
|
@@ -35923,23 +36505,27 @@
|
|
|
35923
36505
|
var ownerState = props.ownerState;
|
|
35924
36506
|
return [styles.root, ownerState.disableGutters && styles.disableGutters];
|
|
35925
36507
|
}
|
|
35926
|
-
})(
|
|
35927
|
-
|
|
35928
|
-
|
|
35929
|
-
|
|
35930
|
-
|
|
35931
|
-
|
|
35932
|
-
|
|
35933
|
-
|
|
35934
|
-
|
|
35935
|
-
|
|
36508
|
+
})({
|
|
36509
|
+
position: 'absolute',
|
|
36510
|
+
right: 16,
|
|
36511
|
+
top: '50%',
|
|
36512
|
+
transform: 'translateY(-50%)',
|
|
36513
|
+
variants: [{
|
|
36514
|
+
props: function props(_ref) {
|
|
36515
|
+
var ownerState = _ref.ownerState;
|
|
36516
|
+
return ownerState.disableGutters;
|
|
36517
|
+
},
|
|
36518
|
+
style: {
|
|
36519
|
+
right: 0
|
|
36520
|
+
}
|
|
36521
|
+
}]
|
|
35936
36522
|
});
|
|
35937
36523
|
|
|
35938
36524
|
/**
|
|
35939
36525
|
* Must be used as the last child of ListItem to function properly.
|
|
35940
36526
|
*/
|
|
35941
36527
|
var ListItemSecondaryAction = /*#__PURE__*/React__namespace.forwardRef(function ListItemSecondaryAction(inProps, ref) {
|
|
35942
|
-
var props = useThemeProps$
|
|
36528
|
+
var props = useThemeProps$P({
|
|
35943
36529
|
props: inProps,
|
|
35944
36530
|
name: 'MuiListItemSecondaryAction'
|
|
35945
36531
|
});
|
|
@@ -36007,9 +36593,8 @@
|
|
|
36007
36593
|
slot: 'Root',
|
|
36008
36594
|
overridesResolver: overridesResolver$2
|
|
36009
36595
|
})(function (_ref) {
|
|
36010
|
-
var theme = _ref.theme
|
|
36011
|
-
|
|
36012
|
-
return _extends({
|
|
36596
|
+
var theme = _ref.theme;
|
|
36597
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
36013
36598
|
display: 'flex',
|
|
36014
36599
|
justifyContent: 'flex-start',
|
|
36015
36600
|
alignItems: 'center',
|
|
@@ -36018,22 +36603,7 @@
|
|
|
36018
36603
|
width: '100%',
|
|
36019
36604
|
boxSizing: 'border-box',
|
|
36020
36605
|
textAlign: 'left'
|
|
36021
|
-
},
|
|
36022
|
-
paddingTop: 8,
|
|
36023
|
-
paddingBottom: 8
|
|
36024
|
-
}, ownerState.dense && {
|
|
36025
|
-
paddingTop: 4,
|
|
36026
|
-
paddingBottom: 4
|
|
36027
|
-
}, !ownerState.disableGutters && {
|
|
36028
|
-
paddingLeft: 16,
|
|
36029
|
-
paddingRight: 16
|
|
36030
|
-
}, !!ownerState.secondaryAction && {
|
|
36031
|
-
// Add some space to avoid collision as `ListItemSecondaryAction`
|
|
36032
|
-
// is absolutely positioned.
|
|
36033
|
-
paddingRight: 48
|
|
36034
|
-
}), !!ownerState.secondaryAction && _defineProperty({}, "& > .".concat(listItemButtonClasses$1.root), {
|
|
36035
|
-
paddingRight: 48
|
|
36036
|
-
}), _defineProperty(_defineProperty(_defineProperty({}, "&.".concat(listItemClasses$1.focusVisible), {
|
|
36606
|
+
}, "&.".concat(listItemClasses$1.focusVisible), {
|
|
36037
36607
|
backgroundColor: (theme.vars || theme).palette.action.focus
|
|
36038
36608
|
}), "&.".concat(listItemClasses$1.selected), _defineProperty({
|
|
36039
36609
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
@@ -36041,34 +36611,102 @@
|
|
|
36041
36611
|
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)
|
|
36042
36612
|
})), "&.".concat(listItemClasses$1.disabled), {
|
|
36043
36613
|
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
36044
|
-
}),
|
|
36045
|
-
|
|
36046
|
-
|
|
36047
|
-
|
|
36048
|
-
|
|
36049
|
-
|
|
36050
|
-
|
|
36051
|
-
|
|
36052
|
-
}
|
|
36053
|
-
|
|
36054
|
-
|
|
36055
|
-
|
|
36614
|
+
}), "variants", [{
|
|
36615
|
+
props: function props(_ref2) {
|
|
36616
|
+
var ownerState = _ref2.ownerState;
|
|
36617
|
+
return !ownerState.disablePadding;
|
|
36618
|
+
},
|
|
36619
|
+
style: {
|
|
36620
|
+
paddingTop: 8,
|
|
36621
|
+
paddingBottom: 8
|
|
36622
|
+
}
|
|
36623
|
+
}, {
|
|
36624
|
+
props: function props(_ref3) {
|
|
36625
|
+
var ownerState = _ref3.ownerState;
|
|
36626
|
+
return !ownerState.disablePadding && ownerState.dense;
|
|
36627
|
+
},
|
|
36628
|
+
style: {
|
|
36629
|
+
paddingTop: 4,
|
|
36630
|
+
paddingBottom: 4
|
|
36631
|
+
}
|
|
36632
|
+
}, {
|
|
36633
|
+
props: function props(_ref4) {
|
|
36634
|
+
var ownerState = _ref4.ownerState;
|
|
36635
|
+
return !ownerState.disablePadding && !ownerState.disableGutters;
|
|
36636
|
+
},
|
|
36637
|
+
style: {
|
|
36638
|
+
paddingLeft: 16,
|
|
36639
|
+
paddingRight: 16
|
|
36640
|
+
}
|
|
36641
|
+
}, {
|
|
36642
|
+
props: function props(_ref5) {
|
|
36643
|
+
var ownerState = _ref5.ownerState;
|
|
36644
|
+
return !ownerState.disablePadding && !!ownerState.secondaryAction;
|
|
36645
|
+
},
|
|
36646
|
+
style: {
|
|
36647
|
+
// Add some space to avoid collision as `ListItemSecondaryAction`
|
|
36648
|
+
// is absolutely positioned.
|
|
36649
|
+
paddingRight: 48
|
|
36650
|
+
}
|
|
36651
|
+
}, {
|
|
36652
|
+
props: function props(_ref6) {
|
|
36653
|
+
var ownerState = _ref6.ownerState;
|
|
36654
|
+
return !!ownerState.secondaryAction;
|
|
36655
|
+
},
|
|
36656
|
+
style: _defineProperty({}, "& > .".concat(listItemButtonClasses$1.root), {
|
|
36657
|
+
paddingRight: 48
|
|
36658
|
+
})
|
|
36659
|
+
}, {
|
|
36660
|
+
props: {
|
|
36661
|
+
alignItems: 'flex-start'
|
|
36662
|
+
},
|
|
36663
|
+
style: {
|
|
36664
|
+
alignItems: 'flex-start'
|
|
36665
|
+
}
|
|
36666
|
+
}, {
|
|
36667
|
+
props: function props(_ref7) {
|
|
36668
|
+
var ownerState = _ref7.ownerState;
|
|
36669
|
+
return ownerState.divider;
|
|
36670
|
+
},
|
|
36671
|
+
style: {
|
|
36672
|
+
borderBottom: "1px solid ".concat((theme.vars || theme).palette.divider),
|
|
36673
|
+
backgroundClip: 'padding-box'
|
|
36674
|
+
}
|
|
36675
|
+
}, {
|
|
36676
|
+
props: function props(_ref8) {
|
|
36677
|
+
var ownerState = _ref8.ownerState;
|
|
36678
|
+
return ownerState.button;
|
|
36679
|
+
},
|
|
36680
|
+
style: _defineProperty({
|
|
36681
|
+
transition: theme.transitions.create('background-color', {
|
|
36682
|
+
duration: theme.transitions.duration.shortest
|
|
36683
|
+
}),
|
|
36684
|
+
'&:hover': {
|
|
36685
|
+
textDecoration: 'none',
|
|
36686
|
+
backgroundColor: (theme.vars || theme).palette.action.hover,
|
|
36687
|
+
// Reset on touch devices, it doesn't add specificity
|
|
36688
|
+
'@media (hover: none)': {
|
|
36689
|
+
backgroundColor: 'transparent'
|
|
36690
|
+
}
|
|
36691
|
+
}
|
|
36692
|
+
}, "&.".concat(listItemClasses$1.selected, ":hover"), {
|
|
36693
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
36056
36694
|
// Reset on touch devices, it doesn't add specificity
|
|
36057
36695
|
'@media (hover: none)': {
|
|
36058
|
-
backgroundColor:
|
|
36696
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
36059
36697
|
}
|
|
36698
|
+
})
|
|
36699
|
+
}, {
|
|
36700
|
+
props: function props(_ref9) {
|
|
36701
|
+
var ownerState = _ref9.ownerState;
|
|
36702
|
+
return ownerState.hasSecondaryAction;
|
|
36703
|
+
},
|
|
36704
|
+
style: {
|
|
36705
|
+
// Add some space to avoid collision as `ListItemSecondaryAction`
|
|
36706
|
+
// is absolutely positioned.
|
|
36707
|
+
paddingRight: 48
|
|
36060
36708
|
}
|
|
36061
|
-
}
|
|
36062
|
-
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
36063
|
-
// Reset on touch devices, it doesn't add specificity
|
|
36064
|
-
'@media (hover: none)': {
|
|
36065
|
-
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.primary.mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)
|
|
36066
|
-
}
|
|
36067
|
-
}), ownerState.hasSecondaryAction && {
|
|
36068
|
-
// Add some space to avoid collision as `ListItemSecondaryAction`
|
|
36069
|
-
// is absolutely positioned.
|
|
36070
|
-
paddingRight: 48
|
|
36071
|
-
});
|
|
36709
|
+
}]);
|
|
36072
36710
|
});
|
|
36073
36711
|
var ListItemContainer = styled$1('li', {
|
|
36074
36712
|
name: 'MuiListItem',
|
|
@@ -36084,7 +36722,7 @@
|
|
|
36084
36722
|
* Uses an additional container component if `ListItemSecondaryAction` is the last child.
|
|
36085
36723
|
*/
|
|
36086
36724
|
var ListItem = /*#__PURE__*/React__namespace.forwardRef(function ListItem(inProps, ref) {
|
|
36087
|
-
var props = useThemeProps$
|
|
36725
|
+
var props = useThemeProps$P({
|
|
36088
36726
|
props: inProps,
|
|
36089
36727
|
name: 'MuiListItem'
|
|
36090
36728
|
});
|
|
@@ -36404,21 +37042,24 @@
|
|
|
36404
37042
|
var ownerState = props.ownerState;
|
|
36405
37043
|
return [styles.root, ownerState.alignItems === 'flex-start' && styles.alignItemsFlexStart];
|
|
36406
37044
|
}
|
|
36407
|
-
})(
|
|
36408
|
-
|
|
36409
|
-
|
|
36410
|
-
|
|
36411
|
-
|
|
36412
|
-
|
|
36413
|
-
|
|
36414
|
-
|
|
37045
|
+
})({
|
|
37046
|
+
minWidth: 56,
|
|
37047
|
+
flexShrink: 0,
|
|
37048
|
+
variants: [{
|
|
37049
|
+
props: {
|
|
37050
|
+
alignItems: 'flex-start'
|
|
37051
|
+
},
|
|
37052
|
+
style: {
|
|
37053
|
+
marginTop: 8
|
|
37054
|
+
}
|
|
37055
|
+
}]
|
|
36415
37056
|
});
|
|
36416
37057
|
|
|
36417
37058
|
/**
|
|
36418
37059
|
* A simple wrapper to apply `List` styles to an `Avatar`.
|
|
36419
37060
|
*/
|
|
36420
37061
|
var ListItemAvatar = /*#__PURE__*/React__namespace.forwardRef(function ListItemAvatar(inProps, ref) {
|
|
36421
|
-
var props = useThemeProps$
|
|
37062
|
+
var props = useThemeProps$P({
|
|
36422
37063
|
props: inProps,
|
|
36423
37064
|
name: 'MuiListItemAvatar'
|
|
36424
37065
|
});
|
|
@@ -36497,7 +37138,7 @@
|
|
|
36497
37138
|
* A simple wrapper to apply `List` styles to an `Icon` or `SvgIcon`.
|
|
36498
37139
|
*/
|
|
36499
37140
|
var ListItemIcon = /*#__PURE__*/React__namespace.forwardRef(function ListItemIcon(inProps, ref) {
|
|
36500
|
-
var props = useThemeProps$
|
|
37141
|
+
var props = useThemeProps$P({
|
|
36501
37142
|
props: inProps,
|
|
36502
37143
|
name: 'MuiListItemIcon'
|
|
36503
37144
|
});
|
|
@@ -36565,22 +37206,32 @@
|
|
|
36565
37206
|
var ownerState = props.ownerState;
|
|
36566
37207
|
return [_defineProperty({}, "& .".concat(listItemTextClasses$1.primary), styles.primary), _defineProperty({}, "& .".concat(listItemTextClasses$1.secondary), styles.secondary), styles.root, ownerState.inset && styles.inset, ownerState.primary && ownerState.secondary && styles.multiline, ownerState.dense && styles.dense];
|
|
36567
37208
|
}
|
|
36568
|
-
})(
|
|
36569
|
-
|
|
36570
|
-
|
|
36571
|
-
|
|
36572
|
-
|
|
36573
|
-
|
|
36574
|
-
|
|
36575
|
-
|
|
36576
|
-
|
|
36577
|
-
|
|
36578
|
-
|
|
36579
|
-
|
|
36580
|
-
|
|
37209
|
+
})({
|
|
37210
|
+
flex: '1 1 auto',
|
|
37211
|
+
minWidth: 0,
|
|
37212
|
+
marginTop: 4,
|
|
37213
|
+
marginBottom: 4,
|
|
37214
|
+
variants: [{
|
|
37215
|
+
props: function props(_ref3) {
|
|
37216
|
+
var ownerState = _ref3.ownerState;
|
|
37217
|
+
return ownerState.primary && ownerState.secondary;
|
|
37218
|
+
},
|
|
37219
|
+
style: {
|
|
37220
|
+
marginTop: 6,
|
|
37221
|
+
marginBottom: 6
|
|
37222
|
+
}
|
|
37223
|
+
}, {
|
|
37224
|
+
props: function props(_ref4) {
|
|
37225
|
+
var ownerState = _ref4.ownerState;
|
|
37226
|
+
return ownerState.inset;
|
|
37227
|
+
},
|
|
37228
|
+
style: {
|
|
37229
|
+
paddingLeft: 56
|
|
37230
|
+
}
|
|
37231
|
+
}]
|
|
36581
37232
|
});
|
|
36582
37233
|
var ListItemText = /*#__PURE__*/React__namespace.forwardRef(function ListItemText(inProps, ref) {
|
|
36583
|
-
var props = useThemeProps$
|
|
37234
|
+
var props = useThemeProps$P({
|
|
36584
37235
|
props: inProps,
|
|
36585
37236
|
name: 'MuiListItemText'
|
|
36586
37237
|
});
|
|
@@ -36970,7 +37621,7 @@
|
|
|
36970
37621
|
var popoverClasses = generateUtilityClasses$1('MuiPopover', ['root', 'paper']);
|
|
36971
37622
|
var popoverClasses$1 = popoverClasses;
|
|
36972
37623
|
|
|
36973
|
-
var useThemeProps$
|
|
37624
|
+
var useThemeProps$e = createUseThemeProps();
|
|
36974
37625
|
function getOffsetTop(rect, vertical) {
|
|
36975
37626
|
var offset = 0;
|
|
36976
37627
|
if (typeof vertical === 'number') {
|
|
@@ -37037,7 +37688,7 @@
|
|
|
37037
37688
|
});
|
|
37038
37689
|
var Popover = /*#__PURE__*/React__namespace.forwardRef(function Popover(inProps, ref) {
|
|
37039
37690
|
var _slotProps$paper, _slots$root, _slots$paper;
|
|
37040
|
-
var props = useThemeProps$
|
|
37691
|
+
var props = useThemeProps$e({
|
|
37041
37692
|
props: inProps,
|
|
37042
37693
|
name: 'MuiPopover'
|
|
37043
37694
|
});
|
|
@@ -37554,7 +38205,7 @@
|
|
|
37554
38205
|
});
|
|
37555
38206
|
var Menu = /*#__PURE__*/React__namespace.forwardRef(function Menu(inProps, ref) {
|
|
37556
38207
|
var _slots$paper, _slotProps$paper;
|
|
37557
|
-
var props = useThemeProps$
|
|
38208
|
+
var props = useThemeProps$P({
|
|
37558
38209
|
props: inProps,
|
|
37559
38210
|
name: 'MuiMenu'
|
|
37560
38211
|
});
|
|
@@ -37898,7 +38549,7 @@
|
|
|
37898
38549
|
})));
|
|
37899
38550
|
});
|
|
37900
38551
|
var MenuItem = /*#__PURE__*/React__namespace.forwardRef(function MenuItem(inProps, ref) {
|
|
37901
|
-
var props = useThemeProps$
|
|
38552
|
+
var props = useThemeProps$P({
|
|
37902
38553
|
props: inProps,
|
|
37903
38554
|
name: 'MuiMenuItem'
|
|
37904
38555
|
});
|
|
@@ -38044,7 +38695,7 @@
|
|
|
38044
38695
|
var mobileStepperClasses = generateUtilityClasses$1('MuiMobileStepper', ['root', 'positionBottom', 'positionTop', 'positionStatic', 'dots', 'dot', 'dotActive', 'progress']);
|
|
38045
38696
|
var mobileStepperClasses$1 = mobileStepperClasses;
|
|
38046
38697
|
|
|
38047
|
-
var useThemeProps$
|
|
38698
|
+
var useThemeProps$d = createUseThemeProps();
|
|
38048
38699
|
var useUtilityClasses$H = function useUtilityClasses(ownerState) {
|
|
38049
38700
|
var classes = ownerState.classes,
|
|
38050
38701
|
position = ownerState.position;
|
|
@@ -38173,7 +38824,7 @@
|
|
|
38173
38824
|
}]
|
|
38174
38825
|
});
|
|
38175
38826
|
var MobileStepper = /*#__PURE__*/React__namespace.forwardRef(function MobileStepper(inProps, ref) {
|
|
38176
|
-
var props = useThemeProps$
|
|
38827
|
+
var props = useThemeProps$d({
|
|
38177
38828
|
props: inProps,
|
|
38178
38829
|
name: 'MuiMobileStepper'
|
|
38179
38830
|
});
|
|
@@ -38490,7 +39141,7 @@
|
|
|
38490
39141
|
* An alternative to `<Select native />` with a much smaller bundle size footprint.
|
|
38491
39142
|
*/
|
|
38492
39143
|
var NativeSelect = /*#__PURE__*/React__namespace.forwardRef(function NativeSelect(inProps, ref) {
|
|
38493
|
-
var props = useThemeProps$
|
|
39144
|
+
var props = useThemeProps$P({
|
|
38494
39145
|
name: 'MuiNativeSelect',
|
|
38495
39146
|
props: inProps
|
|
38496
39147
|
});
|
|
@@ -38815,7 +39466,7 @@
|
|
|
38815
39466
|
});
|
|
38816
39467
|
var OutlinedInput = /*#__PURE__*/React__namespace.forwardRef(function OutlinedInput(inProps, ref) {
|
|
38817
39468
|
var _ref5, _slots$root, _ref6, _slots$input, _React$Fragment;
|
|
38818
|
-
var props = useThemeProps$
|
|
39469
|
+
var props = useThemeProps$P({
|
|
38819
39470
|
props: inProps,
|
|
38820
39471
|
name: 'MuiOutlinedInput'
|
|
38821
39472
|
});
|
|
@@ -39194,6 +39845,7 @@
|
|
|
39194
39845
|
d: "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
39195
39846
|
}), 'NavigateNext');
|
|
39196
39847
|
|
|
39848
|
+
var useThemeProps$c = createUseThemeProps();
|
|
39197
39849
|
var overridesResolver = function overridesResolver(props, styles) {
|
|
39198
39850
|
var ownerState = props.ownerState;
|
|
39199
39851
|
return [styles.root, styles[ownerState.variant], styles["size".concat(capitalize(ownerState.size))], ownerState.variant === 'text' && styles["text".concat(capitalize(ownerState.color))], ownerState.variant === 'outlined' && styles["outlined".concat(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];
|
|
@@ -39226,9 +39878,8 @@
|
|
|
39226
39878
|
slot: 'Root',
|
|
39227
39879
|
overridesResolver: overridesResolver
|
|
39228
39880
|
})(function (_ref) {
|
|
39229
|
-
var theme = _ref.theme
|
|
39230
|
-
|
|
39231
|
-
return _extends({}, theme.typography.body2, _defineProperty({
|
|
39881
|
+
var theme = _ref.theme;
|
|
39882
|
+
return _extends({}, theme.typography.body2, _defineProperty(_defineProperty({
|
|
39232
39883
|
borderRadius: 32 / 2,
|
|
39233
39884
|
textAlign: 'center',
|
|
39234
39885
|
boxSizing: 'border-box',
|
|
@@ -39239,26 +39890,35 @@
|
|
|
39239
39890
|
height: 'auto'
|
|
39240
39891
|
}, "&.".concat(paginationItemClasses$1.disabled), {
|
|
39241
39892
|
opacity: (theme.vars || theme).palette.action.disabledOpacity
|
|
39242
|
-
}),
|
|
39243
|
-
|
|
39244
|
-
|
|
39245
|
-
|
|
39246
|
-
|
|
39247
|
-
|
|
39248
|
-
|
|
39249
|
-
|
|
39250
|
-
|
|
39251
|
-
|
|
39252
|
-
}
|
|
39893
|
+
}), "variants", [{
|
|
39894
|
+
props: {
|
|
39895
|
+
size: 'small'
|
|
39896
|
+
},
|
|
39897
|
+
style: {
|
|
39898
|
+
minWidth: 26,
|
|
39899
|
+
borderRadius: 26 / 2,
|
|
39900
|
+
margin: '0 1px',
|
|
39901
|
+
padding: '0 4px'
|
|
39902
|
+
}
|
|
39903
|
+
}, {
|
|
39904
|
+
props: {
|
|
39905
|
+
size: 'large'
|
|
39906
|
+
},
|
|
39907
|
+
style: {
|
|
39908
|
+
minWidth: 40,
|
|
39909
|
+
borderRadius: 40 / 2,
|
|
39910
|
+
padding: '0 10px',
|
|
39911
|
+
fontSize: theme.typography.pxToRem(15)
|
|
39912
|
+
}
|
|
39913
|
+
}]));
|
|
39253
39914
|
});
|
|
39254
39915
|
var PaginationItemPage = styled$1(ButtonBase$1, {
|
|
39255
39916
|
name: 'MuiPaginationItem',
|
|
39256
39917
|
slot: 'Root',
|
|
39257
39918
|
overridesResolver: overridesResolver
|
|
39258
39919
|
})(function (_ref2) {
|
|
39259
|
-
var theme = _ref2.theme
|
|
39260
|
-
|
|
39261
|
-
return _extends({}, theme.typography.body2, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
39920
|
+
var theme = _ref2.theme;
|
|
39921
|
+
return _extends({}, theme.typography.body2, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
39262
39922
|
borderRadius: 32 / 2,
|
|
39263
39923
|
textAlign: 'center',
|
|
39264
39924
|
boxSizing: 'border-box',
|
|
@@ -39294,57 +39954,108 @@
|
|
|
39294
39954
|
opacity: 1,
|
|
39295
39955
|
color: (theme.vars || theme).palette.action.disabled,
|
|
39296
39956
|
backgroundColor: (theme.vars || theme).palette.action.selected
|
|
39297
|
-
})),
|
|
39298
|
-
|
|
39299
|
-
|
|
39300
|
-
|
|
39301
|
-
|
|
39302
|
-
|
|
39303
|
-
|
|
39304
|
-
|
|
39305
|
-
|
|
39306
|
-
|
|
39307
|
-
padding: '0 10px',
|
|
39308
|
-
fontSize: theme.typography.pxToRem(15)
|
|
39309
|
-
}, ownerState.shape === 'rounded' && {
|
|
39310
|
-
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
39311
|
-
});
|
|
39312
|
-
}, function (_ref3) {
|
|
39313
|
-
var theme = _ref3.theme,
|
|
39314
|
-
ownerState = _ref3.ownerState;
|
|
39315
|
-
return _extends({}, ownerState.variant === 'text' && _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _extends({}, ownerState.color !== 'standard' && _defineProperty({
|
|
39316
|
-
color: (theme.vars || theme).palette[ownerState.color].contrastText,
|
|
39317
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main,
|
|
39318
|
-
'&:hover': {
|
|
39319
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,
|
|
39320
|
-
// Reset on touch devices, it doesn't add specificity
|
|
39321
|
-
'@media (hover: none)': {
|
|
39322
|
-
backgroundColor: (theme.vars || theme).palette[ownerState.color].main
|
|
39323
|
-
}
|
|
39957
|
+
})), "variants", [{
|
|
39958
|
+
props: {
|
|
39959
|
+
size: 'small'
|
|
39960
|
+
},
|
|
39961
|
+
style: {
|
|
39962
|
+
minWidth: 26,
|
|
39963
|
+
height: 26,
|
|
39964
|
+
borderRadius: 26 / 2,
|
|
39965
|
+
margin: '0 1px',
|
|
39966
|
+
padding: '0 4px'
|
|
39324
39967
|
}
|
|
39325
|
-
},
|
|
39326
|
-
|
|
39327
|
-
|
|
39328
|
-
|
|
39329
|
-
|
|
39330
|
-
|
|
39331
|
-
|
|
39332
|
-
|
|
39333
|
-
|
|
39334
|
-
|
|
39335
|
-
'&:hover': {
|
|
39336
|
-
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[ownerState.color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[ownerState.color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
|
|
39337
|
-
// Reset on touch devices, it doesn't add specificity
|
|
39338
|
-
'@media (hover: none)': {
|
|
39339
|
-
backgroundColor: 'transparent'
|
|
39340
|
-
}
|
|
39968
|
+
}, {
|
|
39969
|
+
props: {
|
|
39970
|
+
size: 'large'
|
|
39971
|
+
},
|
|
39972
|
+
style: {
|
|
39973
|
+
minWidth: 40,
|
|
39974
|
+
height: 40,
|
|
39975
|
+
borderRadius: 40 / 2,
|
|
39976
|
+
padding: '0 10px',
|
|
39977
|
+
fontSize: theme.typography.pxToRem(15)
|
|
39341
39978
|
}
|
|
39342
|
-
},
|
|
39343
|
-
|
|
39344
|
-
|
|
39345
|
-
|
|
39346
|
-
|
|
39347
|
-
|
|
39979
|
+
}, {
|
|
39980
|
+
props: {
|
|
39981
|
+
shape: 'rounded'
|
|
39982
|
+
},
|
|
39983
|
+
style: {
|
|
39984
|
+
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
39985
|
+
}
|
|
39986
|
+
}, {
|
|
39987
|
+
props: {
|
|
39988
|
+
variant: 'outlined'
|
|
39989
|
+
},
|
|
39990
|
+
style: _defineProperty({
|
|
39991
|
+
border: theme.vars ? "1px solid rgba(".concat(theme.vars.palette.common.onBackgroundChannel, " / 0.23)") : "1px solid ".concat(theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)')
|
|
39992
|
+
}, "&.".concat(paginationItemClasses$1.selected), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
|
|
39993
|
+
borderColor: (theme.vars || theme).palette.action.disabledBackground,
|
|
39994
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
39995
|
+
}))
|
|
39996
|
+
}, {
|
|
39997
|
+
props: {
|
|
39998
|
+
variant: 'text'
|
|
39999
|
+
},
|
|
40000
|
+
style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty({}, "&.".concat(paginationItemClasses$1.disabled), {
|
|
40001
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
40002
|
+
}))
|
|
40003
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref3) {
|
|
40004
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
|
40005
|
+
value = _ref4[1];
|
|
40006
|
+
return value.main && value.dark && value.contrastText;
|
|
40007
|
+
}).map(function (_ref5) {
|
|
40008
|
+
var _ref6 = _slicedToArray(_ref5, 1),
|
|
40009
|
+
color = _ref6[0];
|
|
40010
|
+
return {
|
|
40011
|
+
props: {
|
|
40012
|
+
variant: 'text',
|
|
40013
|
+
color: color
|
|
40014
|
+
},
|
|
40015
|
+
style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty(_defineProperty({
|
|
40016
|
+
color: (theme.vars || theme).palette[color].contrastText,
|
|
40017
|
+
backgroundColor: (theme.vars || theme).palette[color].main,
|
|
40018
|
+
'&:hover': {
|
|
40019
|
+
backgroundColor: (theme.vars || theme).palette[color].dark,
|
|
40020
|
+
// Reset on touch devices, it doesn't add specificity
|
|
40021
|
+
'@media (hover: none)': {
|
|
40022
|
+
backgroundColor: (theme.vars || theme).palette[color].main
|
|
40023
|
+
}
|
|
40024
|
+
}
|
|
40025
|
+
}, "&.".concat(paginationItemClasses$1.focusVisible), {
|
|
40026
|
+
backgroundColor: (theme.vars || theme).palette[color].dark
|
|
40027
|
+
}), "&.".concat(paginationItemClasses$1.disabled), {
|
|
40028
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
40029
|
+
}))
|
|
40030
|
+
};
|
|
40031
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref7) {
|
|
40032
|
+
var _ref8 = _slicedToArray(_ref7, 2),
|
|
40033
|
+
value = _ref8[1];
|
|
40034
|
+
return value.main && value.light;
|
|
40035
|
+
}).map(function (_ref9) {
|
|
40036
|
+
var _ref10 = _slicedToArray(_ref9, 1),
|
|
40037
|
+
color = _ref10[0];
|
|
40038
|
+
return {
|
|
40039
|
+
props: {
|
|
40040
|
+
variant: 'outlined',
|
|
40041
|
+
color: color
|
|
40042
|
+
},
|
|
40043
|
+
style: _defineProperty({}, "&.".concat(paginationItemClasses$1.selected), _defineProperty({
|
|
40044
|
+
color: (theme.vars || theme).palette[color].main,
|
|
40045
|
+
border: "1px solid ".concat(theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / 0.5)") : alpha(theme.palette[color].main, 0.5)),
|
|
40046
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.activatedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity),
|
|
40047
|
+
'&:hover': {
|
|
40048
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),
|
|
40049
|
+
// Reset on touch devices, it doesn't add specificity
|
|
40050
|
+
'@media (hover: none)': {
|
|
40051
|
+
backgroundColor: 'transparent'
|
|
40052
|
+
}
|
|
40053
|
+
}
|
|
40054
|
+
}, "&.".concat(paginationItemClasses$1.focusVisible), {
|
|
40055
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.activatedOpacity, " + ").concat(theme.vars.palette.action.focusOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)
|
|
40056
|
+
}))
|
|
40057
|
+
};
|
|
40058
|
+
})))));
|
|
39348
40059
|
});
|
|
39349
40060
|
var PaginationItemPageIcon = styled$1('div', {
|
|
39350
40061
|
name: 'MuiPaginationItem',
|
|
@@ -39352,20 +40063,30 @@
|
|
|
39352
40063
|
overridesResolver: function overridesResolver(props, styles) {
|
|
39353
40064
|
return styles.icon;
|
|
39354
40065
|
}
|
|
39355
|
-
})(function (
|
|
39356
|
-
var theme =
|
|
39357
|
-
|
|
39358
|
-
return _extends({
|
|
40066
|
+
})(function (_ref11) {
|
|
40067
|
+
var theme = _ref11.theme;
|
|
40068
|
+
return {
|
|
39359
40069
|
fontSize: theme.typography.pxToRem(20),
|
|
39360
|
-
margin: '0 -8px'
|
|
39361
|
-
|
|
39362
|
-
|
|
39363
|
-
|
|
39364
|
-
|
|
39365
|
-
|
|
40070
|
+
margin: '0 -8px',
|
|
40071
|
+
variants: [{
|
|
40072
|
+
props: {
|
|
40073
|
+
size: 'small'
|
|
40074
|
+
},
|
|
40075
|
+
style: {
|
|
40076
|
+
fontSize: theme.typography.pxToRem(18)
|
|
40077
|
+
}
|
|
40078
|
+
}, {
|
|
40079
|
+
props: {
|
|
40080
|
+
size: 'large'
|
|
40081
|
+
},
|
|
40082
|
+
style: {
|
|
40083
|
+
fontSize: theme.typography.pxToRem(22)
|
|
40084
|
+
}
|
|
40085
|
+
}]
|
|
40086
|
+
};
|
|
39366
40087
|
});
|
|
39367
40088
|
var PaginationItem = /*#__PURE__*/React__namespace.forwardRef(function PaginationItem(inProps, ref) {
|
|
39368
|
-
var props = useThemeProps$
|
|
40089
|
+
var props = useThemeProps$c({
|
|
39369
40090
|
props: inProps,
|
|
39370
40091
|
name: 'MuiPaginationItem'
|
|
39371
40092
|
});
|
|
@@ -39568,7 +40289,7 @@
|
|
|
39568
40289
|
return "Go to ".concat(type, " page");
|
|
39569
40290
|
}
|
|
39570
40291
|
var Pagination = /*#__PURE__*/React__namespace.forwardRef(function Pagination(inProps, ref) {
|
|
39571
|
-
var props = useThemeProps$
|
|
40292
|
+
var props = useThemeProps$P({
|
|
39572
40293
|
props: inProps,
|
|
39573
40294
|
name: 'MuiPagination'
|
|
39574
40295
|
});
|
|
@@ -39791,23 +40512,28 @@
|
|
|
39791
40512
|
transform: 'scale(1)'
|
|
39792
40513
|
});
|
|
39793
40514
|
var RadioButtonIconDot = styled$1(RadioButtonCheckedIcon)(function (_ref) {
|
|
39794
|
-
var theme = _ref.theme
|
|
39795
|
-
|
|
39796
|
-
return _extends({
|
|
40515
|
+
var theme = _ref.theme;
|
|
40516
|
+
return {
|
|
39797
40517
|
left: 0,
|
|
39798
40518
|
position: 'absolute',
|
|
39799
40519
|
transform: 'scale(0)',
|
|
39800
40520
|
transition: theme.transitions.create('transform', {
|
|
39801
40521
|
easing: theme.transitions.easing.easeIn,
|
|
39802
40522
|
duration: theme.transitions.duration.shortest
|
|
39803
|
-
})
|
|
39804
|
-
|
|
39805
|
-
|
|
39806
|
-
|
|
39807
|
-
|
|
39808
|
-
|
|
39809
|
-
|
|
39810
|
-
|
|
40523
|
+
}),
|
|
40524
|
+
variants: [{
|
|
40525
|
+
props: {
|
|
40526
|
+
checked: true
|
|
40527
|
+
},
|
|
40528
|
+
style: {
|
|
40529
|
+
transform: 'scale(1)',
|
|
40530
|
+
transition: theme.transitions.create('transform', {
|
|
40531
|
+
easing: theme.transitions.easing.easeOut,
|
|
40532
|
+
duration: theme.transitions.duration.shortest
|
|
40533
|
+
})
|
|
40534
|
+
}
|
|
40535
|
+
}]
|
|
40536
|
+
};
|
|
39811
40537
|
});
|
|
39812
40538
|
|
|
39813
40539
|
/**
|
|
@@ -39836,7 +40562,7 @@
|
|
|
39836
40562
|
})]
|
|
39837
40563
|
});
|
|
39838
40564
|
}
|
|
39839
|
-
RadioButtonIcon.propTypes = {
|
|
40565
|
+
RadioButtonIcon.propTypes /* remove-proptypes */ = {
|
|
39840
40566
|
/**
|
|
39841
40567
|
* If `true`, the component is checked.
|
|
39842
40568
|
*/
|
|
@@ -39871,6 +40597,7 @@
|
|
|
39871
40597
|
var radioClasses = generateUtilityClasses$1('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);
|
|
39872
40598
|
var radioClasses$1 = radioClasses;
|
|
39873
40599
|
|
|
40600
|
+
var useThemeProps$b = createUseThemeProps();
|
|
39874
40601
|
var useUtilityClasses$B = function useUtilityClasses(ownerState) {
|
|
39875
40602
|
var classes = ownerState.classes,
|
|
39876
40603
|
color = ownerState.color,
|
|
@@ -39891,23 +40618,68 @@
|
|
|
39891
40618
|
return [styles.root, ownerState.size !== 'medium' && styles["size".concat(capitalize(ownerState.size))], styles["color".concat(capitalize(ownerState.color))]];
|
|
39892
40619
|
}
|
|
39893
40620
|
})(function (_ref) {
|
|
39894
|
-
var theme = _ref.theme
|
|
39895
|
-
|
|
39896
|
-
return _extends({
|
|
40621
|
+
var theme = _ref.theme;
|
|
40622
|
+
return _defineProperty(_defineProperty({
|
|
39897
40623
|
color: (theme.vars || theme).palette.text.secondary
|
|
39898
|
-
},
|
|
39899
|
-
|
|
39900
|
-
|
|
40624
|
+
}, "&.".concat(radioClasses$1.disabled), {
|
|
40625
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
40626
|
+
}), "variants", [{
|
|
40627
|
+
props: {
|
|
40628
|
+
color: 'default',
|
|
40629
|
+
disableRipple: false
|
|
40630
|
+
},
|
|
40631
|
+
style: {
|
|
40632
|
+
'&:hover': {
|
|
40633
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.action.activeChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity)
|
|
40634
|
+
}
|
|
40635
|
+
}
|
|
40636
|
+
}].concat(_toConsumableArray(Object.entries(theme.palette).filter(function (_ref2) {
|
|
40637
|
+
var _ref3 = _slicedToArray(_ref2, 2),
|
|
40638
|
+
palette = _ref3[1];
|
|
40639
|
+
return palette.main;
|
|
40640
|
+
}).map(function (_ref4) {
|
|
40641
|
+
var _ref5 = _slicedToArray(_ref4, 1),
|
|
40642
|
+
color = _ref5[0];
|
|
40643
|
+
return {
|
|
40644
|
+
props: {
|
|
40645
|
+
color: color,
|
|
40646
|
+
disableRipple: false
|
|
40647
|
+
},
|
|
40648
|
+
style: {
|
|
40649
|
+
'&:hover': {
|
|
40650
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.hoverOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.hoverOpacity)
|
|
40651
|
+
}
|
|
40652
|
+
}
|
|
40653
|
+
};
|
|
40654
|
+
})), _toConsumableArray(Object.entries(theme.palette).filter(function (_ref6) {
|
|
40655
|
+
var _ref7 = _slicedToArray(_ref6, 2),
|
|
40656
|
+
palette = _ref7[1];
|
|
40657
|
+
return palette.main;
|
|
40658
|
+
}).map(function (_ref8) {
|
|
40659
|
+
var _ref9 = _slicedToArray(_ref8, 1),
|
|
40660
|
+
color = _ref9[0];
|
|
40661
|
+
return {
|
|
40662
|
+
props: {
|
|
40663
|
+
color: color
|
|
40664
|
+
},
|
|
40665
|
+
style: _defineProperty({}, "&.".concat(radioClasses$1.checked), {
|
|
40666
|
+
color: (theme.vars || theme).palette[color].main
|
|
40667
|
+
})
|
|
40668
|
+
};
|
|
40669
|
+
})), [{
|
|
40670
|
+
// Should be last to override other colors
|
|
40671
|
+
props: {
|
|
40672
|
+
disableRipple: false
|
|
40673
|
+
},
|
|
40674
|
+
style: {
|
|
39901
40675
|
// Reset on touch devices, it doesn't add specificity
|
|
39902
|
-
'
|
|
39903
|
-
|
|
40676
|
+
'&:hover': {
|
|
40677
|
+
'@media (hover: none)': {
|
|
40678
|
+
backgroundColor: 'transparent'
|
|
40679
|
+
}
|
|
39904
40680
|
}
|
|
39905
40681
|
}
|
|
39906
|
-
}
|
|
39907
|
-
color: (theme.vars || theme).palette[ownerState.color].main
|
|
39908
|
-
}), _defineProperty({}, "&.".concat(radioClasses$1.disabled), {
|
|
39909
|
-
color: (theme.vars || theme).palette.action.disabled
|
|
39910
|
-
}));
|
|
40682
|
+
}]));
|
|
39911
40683
|
});
|
|
39912
40684
|
function areEqualValues$1(a, b) {
|
|
39913
40685
|
if (_typeof(b) === 'object' && b !== null) {
|
|
@@ -39923,7 +40695,7 @@
|
|
|
39923
40695
|
var defaultIcon$1 = /*#__PURE__*/jsxRuntime_1(RadioButtonIcon, {});
|
|
39924
40696
|
var Radio = /*#__PURE__*/React__namespace.forwardRef(function Radio(inProps, ref) {
|
|
39925
40697
|
var _defaultIcon$props$fo, _defaultCheckedIcon$p;
|
|
39926
|
-
var props = useThemeProps$
|
|
40698
|
+
var props = useThemeProps$b({
|
|
39927
40699
|
props: inProps,
|
|
39928
40700
|
name: 'MuiRadio'
|
|
39929
40701
|
});
|
|
@@ -40227,9 +40999,8 @@
|
|
|
40227
40999
|
return [_defineProperty({}, "& .".concat(ratingClasses$1.visuallyHidden), styles.visuallyHidden), styles.root, styles["size".concat(capitalize(ownerState.size))], ownerState.readOnly && styles.readOnly];
|
|
40228
41000
|
}
|
|
40229
41001
|
})(function (_ref2) {
|
|
40230
|
-
var theme = _ref2.theme
|
|
40231
|
-
|
|
40232
|
-
return _extends(_defineProperty(_defineProperty(_defineProperty({
|
|
41002
|
+
var theme = _ref2.theme;
|
|
41003
|
+
return _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
40233
41004
|
display: 'inline-flex',
|
|
40234
41005
|
// Required to position the pristine input absolutely
|
|
40235
41006
|
position: 'relative',
|
|
@@ -40244,32 +41015,53 @@
|
|
|
40244
41015
|
pointerEvents: 'none'
|
|
40245
41016
|
}), "&.".concat(ratingClasses$1.focusVisible, " .").concat(ratingClasses$1.iconActive), {
|
|
40246
41017
|
outline: '1px solid #999'
|
|
40247
|
-
}), "& .".concat(ratingClasses$1.visuallyHidden), visuallyHidden$1),
|
|
40248
|
-
|
|
40249
|
-
|
|
40250
|
-
|
|
40251
|
-
|
|
40252
|
-
|
|
40253
|
-
|
|
41018
|
+
}), "& .".concat(ratingClasses$1.visuallyHidden), visuallyHidden$1), "variants", [{
|
|
41019
|
+
props: {
|
|
41020
|
+
size: 'small'
|
|
41021
|
+
},
|
|
41022
|
+
style: {
|
|
41023
|
+
fontSize: theme.typography.pxToRem(18)
|
|
41024
|
+
}
|
|
41025
|
+
}, {
|
|
41026
|
+
props: {
|
|
41027
|
+
size: 'large'
|
|
41028
|
+
},
|
|
41029
|
+
style: {
|
|
41030
|
+
fontSize: theme.typography.pxToRem(30)
|
|
41031
|
+
}
|
|
41032
|
+
}, {
|
|
41033
|
+
// TODO v6: use the .Mui-readOnly global state class
|
|
41034
|
+
props: function props(_ref3) {
|
|
41035
|
+
var ownerState = _ref3.ownerState;
|
|
41036
|
+
return ownerState.readOnly;
|
|
41037
|
+
},
|
|
41038
|
+
style: {
|
|
41039
|
+
pointerEvents: 'none'
|
|
41040
|
+
}
|
|
41041
|
+
}]);
|
|
40254
41042
|
});
|
|
40255
41043
|
var RatingLabel = styled$1('label', {
|
|
40256
41044
|
name: 'MuiRating',
|
|
40257
41045
|
slot: 'Label',
|
|
40258
|
-
overridesResolver: function overridesResolver(
|
|
40259
|
-
var ownerState =
|
|
41046
|
+
overridesResolver: function overridesResolver(_ref5, styles) {
|
|
41047
|
+
var ownerState = _ref5.ownerState;
|
|
40260
41048
|
return [styles.label, ownerState.emptyValueFocused && styles.labelEmptyValueActive];
|
|
40261
41049
|
}
|
|
40262
|
-
})(
|
|
40263
|
-
|
|
40264
|
-
|
|
40265
|
-
|
|
40266
|
-
|
|
40267
|
-
|
|
40268
|
-
|
|
40269
|
-
|
|
40270
|
-
|
|
40271
|
-
|
|
40272
|
-
|
|
41050
|
+
})({
|
|
41051
|
+
cursor: 'inherit',
|
|
41052
|
+
variants: [{
|
|
41053
|
+
props: function props(_ref6) {
|
|
41054
|
+
var ownerState = _ref6.ownerState;
|
|
41055
|
+
return ownerState.emptyValueFocused;
|
|
41056
|
+
},
|
|
41057
|
+
style: {
|
|
41058
|
+
top: 0,
|
|
41059
|
+
bottom: 0,
|
|
41060
|
+
position: 'absolute',
|
|
41061
|
+
outline: '1px solid #999',
|
|
41062
|
+
width: '100%'
|
|
41063
|
+
}
|
|
41064
|
+
}]
|
|
40273
41065
|
});
|
|
40274
41066
|
var RatingIcon = styled$1('span', {
|
|
40275
41067
|
name: 'MuiRating',
|
|
@@ -40278,10 +41070,9 @@
|
|
|
40278
41070
|
var ownerState = props.ownerState;
|
|
40279
41071
|
return [styles.icon, ownerState.iconEmpty && styles.iconEmpty, ownerState.iconFilled && styles.iconFilled, ownerState.iconHover && styles.iconHover, ownerState.iconFocus && styles.iconFocus, ownerState.iconActive && styles.iconActive];
|
|
40280
41072
|
}
|
|
40281
|
-
})(function (
|
|
40282
|
-
var theme =
|
|
40283
|
-
|
|
40284
|
-
return _extends({
|
|
41073
|
+
})(function (_ref7) {
|
|
41074
|
+
var theme = _ref7.theme;
|
|
41075
|
+
return {
|
|
40285
41076
|
// Fit wrapper to actual icon size.
|
|
40286
41077
|
display: 'flex',
|
|
40287
41078
|
transition: theme.transitions.create('transform', {
|
|
@@ -40289,12 +41080,25 @@
|
|
|
40289
41080
|
}),
|
|
40290
41081
|
// Fix mouseLeave issue.
|
|
40291
41082
|
// https://github.com/facebook/react/issues/4492
|
|
40292
|
-
pointerEvents: 'none'
|
|
40293
|
-
|
|
40294
|
-
|
|
40295
|
-
|
|
40296
|
-
|
|
40297
|
-
|
|
41083
|
+
pointerEvents: 'none',
|
|
41084
|
+
variants: [{
|
|
41085
|
+
props: function props(_ref8) {
|
|
41086
|
+
var ownerState = _ref8.ownerState;
|
|
41087
|
+
return ownerState.iconActive;
|
|
41088
|
+
},
|
|
41089
|
+
style: {
|
|
41090
|
+
transform: 'scale(1.2)'
|
|
41091
|
+
}
|
|
41092
|
+
}, {
|
|
41093
|
+
props: function props(_ref9) {
|
|
41094
|
+
var ownerState = _ref9.ownerState;
|
|
41095
|
+
return ownerState.iconEmpty;
|
|
41096
|
+
},
|
|
41097
|
+
style: {
|
|
41098
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
41099
|
+
}
|
|
41100
|
+
}]
|
|
41101
|
+
};
|
|
40298
41102
|
});
|
|
40299
41103
|
var RatingDecimal = styled$1('span', {
|
|
40300
41104
|
name: 'MuiRating',
|
|
@@ -40306,13 +41110,17 @@
|
|
|
40306
41110
|
var iconActive = props.iconActive;
|
|
40307
41111
|
return [styles.decimal, iconActive && styles.iconActive];
|
|
40308
41112
|
}
|
|
40309
|
-
})(
|
|
40310
|
-
|
|
40311
|
-
|
|
40312
|
-
|
|
40313
|
-
|
|
40314
|
-
|
|
40315
|
-
|
|
41113
|
+
})({
|
|
41114
|
+
position: 'relative',
|
|
41115
|
+
variants: [{
|
|
41116
|
+
props: function props(_ref10) {
|
|
41117
|
+
var iconActive = _ref10.iconActive;
|
|
41118
|
+
return iconActive;
|
|
41119
|
+
},
|
|
41120
|
+
style: {
|
|
41121
|
+
transform: 'scale(1.2)'
|
|
41122
|
+
}
|
|
41123
|
+
}]
|
|
40316
41124
|
});
|
|
40317
41125
|
function IconContainer(props) {
|
|
40318
41126
|
props.value;
|
|
@@ -40426,7 +41234,7 @@
|
|
|
40426
41234
|
return "".concat(value, " Star").concat(value !== 1 ? 's' : '');
|
|
40427
41235
|
}
|
|
40428
41236
|
var Rating = /*#__PURE__*/React__namespace.forwardRef(function Rating(inProps, ref) {
|
|
40429
|
-
var props = useThemeProps$
|
|
41237
|
+
var props = useThemeProps$P({
|
|
40430
41238
|
name: 'MuiRating',
|
|
40431
41239
|
props: inProps
|
|
40432
41240
|
});
|
|
@@ -40867,7 +41675,7 @@
|
|
|
40867
41675
|
}, colorSchemeStyles);
|
|
40868
41676
|
});
|
|
40869
41677
|
var ScopedCssBaseline = /*#__PURE__*/React__namespace.forwardRef(function ScopedCssBaseline(inProps, ref) {
|
|
40870
|
-
var props = useThemeProps$
|
|
41678
|
+
var props = useThemeProps$P({
|
|
40871
41679
|
props: inProps,
|
|
40872
41680
|
name: 'MuiScopedCssBaseline'
|
|
40873
41681
|
});
|
|
@@ -41589,7 +42397,7 @@
|
|
|
41589
42397
|
var StyledOutlinedInput = styled$1(OutlinedInput$1, styledRootConfig)('');
|
|
41590
42398
|
var StyledFilledInput = styled$1(FilledInput$1, styledRootConfig)('');
|
|
41591
42399
|
var Select = /*#__PURE__*/React__namespace.forwardRef(function Select(inProps, ref) {
|
|
41592
|
-
var props = useThemeProps$
|
|
42400
|
+
var props = useThemeProps$P({
|
|
41593
42401
|
name: 'MuiSelect',
|
|
41594
42402
|
props: inProps
|
|
41595
42403
|
});
|
|
@@ -41912,7 +42720,7 @@
|
|
|
41912
42720
|
return ownerState.animation === 'wave' && css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: ", " 2s linear 0.5s infinite;\n background: linear-gradient(\n 90deg,\n transparent,\n ", ",\n transparent\n );\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "])), waveKeyframe, (theme.vars || theme).palette.action.hover);
|
|
41913
42721
|
});
|
|
41914
42722
|
var Skeleton = /*#__PURE__*/React__namespace.forwardRef(function Skeleton(inProps, ref) {
|
|
41915
|
-
var props = useThemeProps$
|
|
42723
|
+
var props = useThemeProps$P({
|
|
41916
42724
|
props: inProps,
|
|
41917
42725
|
name: 'MuiSkeleton'
|
|
41918
42726
|
});
|
|
@@ -42054,7 +42862,7 @@
|
|
|
42054
42862
|
value: PropTypes.node
|
|
42055
42863
|
} ;
|
|
42056
42864
|
|
|
42057
|
-
var useThemeProps$
|
|
42865
|
+
var useThemeProps$a = createUseThemeProps();
|
|
42058
42866
|
function Identity(x) {
|
|
42059
42867
|
return x;
|
|
42060
42868
|
}
|
|
@@ -42581,7 +43389,7 @@
|
|
|
42581
43389
|
};
|
|
42582
43390
|
var Slider = /*#__PURE__*/React__namespace.forwardRef(function Slider(inputProps, ref) {
|
|
42583
43391
|
var _ref10, _slots$root, _ref11, _slots$rail, _ref12, _slots$track, _ref13, _slots$thumb, _ref14, _slots$valueLabel, _ref15, _slots$mark, _ref16, _slots$markLabel, _ref17, _slots$input, _slotProps$root, _slotProps$rail, _slotProps$track, _slotProps$thumb, _slotProps$valueLabel, _slotProps$mark, _slotProps$markLabel, _slotProps$input;
|
|
42584
|
-
var props = useThemeProps$
|
|
43392
|
+
var props = useThemeProps$a({
|
|
42585
43393
|
props: inputProps,
|
|
42586
43394
|
name: 'MuiSlider'
|
|
42587
43395
|
});
|
|
@@ -43158,7 +43966,7 @@
|
|
|
43158
43966
|
marginRight: -8
|
|
43159
43967
|
});
|
|
43160
43968
|
var SnackbarContent = /*#__PURE__*/React__namespace.forwardRef(function SnackbarContent(inProps, ref) {
|
|
43161
|
-
var props = useThemeProps$
|
|
43969
|
+
var props = useThemeProps$P({
|
|
43162
43970
|
props: inProps,
|
|
43163
43971
|
name: 'MuiSnackbarContent'
|
|
43164
43972
|
});
|
|
@@ -43280,7 +44088,7 @@
|
|
|
43280
44088
|
})));
|
|
43281
44089
|
});
|
|
43282
44090
|
var Snackbar = /*#__PURE__*/React__namespace.forwardRef(function Snackbar(inProps, ref) {
|
|
43283
|
-
var props = useThemeProps$
|
|
44091
|
+
var props = useThemeProps$P({
|
|
43284
44092
|
props: inProps,
|
|
43285
44093
|
name: 'MuiSnackbar'
|
|
43286
44094
|
});
|
|
@@ -43815,7 +44623,7 @@
|
|
|
43815
44623
|
});
|
|
43816
44624
|
});
|
|
43817
44625
|
var SpeedDial = /*#__PURE__*/React__namespace.forwardRef(function SpeedDial(inProps, ref) {
|
|
43818
|
-
var props = useThemeProps$
|
|
44626
|
+
var props = useThemeProps$P({
|
|
43819
44627
|
props: inProps,
|
|
43820
44628
|
name: 'MuiSpeedDial'
|
|
43821
44629
|
});
|
|
@@ -44377,7 +45185,7 @@
|
|
|
44377
45185
|
// TODO v6: Remove PopperComponent, PopperProps, TransitionComponent and TransitionProps.
|
|
44378
45186
|
var Tooltip = /*#__PURE__*/React__namespace.forwardRef(function Tooltip(inProps, ref) {
|
|
44379
45187
|
var _ref5, _slots$popper, _ref6, _ref7, _slots$transition, _ref8, _slots$tooltip, _ref9, _slots$arrow, _slotProps$popper, _ref10, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref11, _slotProps$tooltip2, _slotProps$arrow, _ref12, _slotProps$arrow2;
|
|
44380
|
-
var props = useThemeProps$
|
|
45188
|
+
var props = useThemeProps$P({
|
|
44381
45189
|
props: inProps,
|
|
44382
45190
|
name: 'MuiTooltip'
|
|
44383
45191
|
});
|
|
@@ -44599,8 +45407,7 @@
|
|
|
44599
45407
|
* @param {KeyboardEvent} nativeEvent
|
|
44600
45408
|
*/
|
|
44601
45409
|
function handleKeyDown(nativeEvent) {
|
|
44602
|
-
|
|
44603
|
-
if (nativeEvent.key === 'Escape' || nativeEvent.key === 'Esc') {
|
|
45410
|
+
if (nativeEvent.key === 'Escape') {
|
|
44604
45411
|
handleClose(nativeEvent);
|
|
44605
45412
|
}
|
|
44606
45413
|
}
|
|
@@ -45050,7 +45857,7 @@
|
|
|
45050
45857
|
});
|
|
45051
45858
|
});
|
|
45052
45859
|
var SpeedDialAction = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialAction(inProps, ref) {
|
|
45053
|
-
var props = useThemeProps$
|
|
45860
|
+
var props = useThemeProps$P({
|
|
45054
45861
|
props: inProps,
|
|
45055
45862
|
name: 'MuiSpeedDialAction'
|
|
45056
45863
|
});
|
|
@@ -45244,7 +46051,7 @@
|
|
|
45244
46051
|
}));
|
|
45245
46052
|
});
|
|
45246
46053
|
var SpeedDialIcon = /*#__PURE__*/React__namespace.forwardRef(function SpeedDialIcon(inProps, ref) {
|
|
45247
|
-
var props = useThemeProps$
|
|
46054
|
+
var props = useThemeProps$P({
|
|
45248
46055
|
props: inProps,
|
|
45249
46056
|
name: 'MuiSpeedDialIcon'
|
|
45250
46057
|
});
|
|
@@ -45347,7 +46154,7 @@
|
|
|
45347
46154
|
var stepClasses = generateUtilityClasses$1('MuiStep', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'completed']);
|
|
45348
46155
|
var stepClasses$1 = stepClasses;
|
|
45349
46156
|
|
|
45350
|
-
var useThemeProps$
|
|
46157
|
+
var useThemeProps$9 = createUseThemeProps();
|
|
45351
46158
|
var useUtilityClasses$n = function useUtilityClasses(ownerState) {
|
|
45352
46159
|
var classes = ownerState.classes,
|
|
45353
46160
|
orientation = ownerState.orientation,
|
|
@@ -45385,7 +46192,7 @@
|
|
|
45385
46192
|
}]
|
|
45386
46193
|
});
|
|
45387
46194
|
var Step = /*#__PURE__*/React__namespace.forwardRef(function Step(inProps, ref) {
|
|
45388
|
-
var props = useThemeProps$
|
|
46195
|
+
var props = useThemeProps$9({
|
|
45389
46196
|
props: inProps,
|
|
45390
46197
|
name: 'MuiStep'
|
|
45391
46198
|
});
|
|
@@ -45528,7 +46335,7 @@
|
|
|
45528
46335
|
var stepIconClasses$1 = stepIconClasses;
|
|
45529
46336
|
|
|
45530
46337
|
var _circle;
|
|
45531
|
-
var useThemeProps$
|
|
46338
|
+
var useThemeProps$8 = createUseThemeProps();
|
|
45532
46339
|
var useUtilityClasses$m = function useUtilityClasses(ownerState) {
|
|
45533
46340
|
var classes = ownerState.classes,
|
|
45534
46341
|
active = ownerState.active,
|
|
@@ -45577,7 +46384,7 @@
|
|
|
45577
46384
|
};
|
|
45578
46385
|
});
|
|
45579
46386
|
var StepIcon = /*#__PURE__*/React__namespace.forwardRef(function StepIcon(inProps, ref) {
|
|
45580
|
-
var props = useThemeProps$
|
|
46387
|
+
var props = useThemeProps$8({
|
|
45581
46388
|
props: inProps,
|
|
45582
46389
|
name: 'MuiStepIcon'
|
|
45583
46390
|
});
|
|
@@ -45681,7 +46488,7 @@
|
|
|
45681
46488
|
var stepLabelClasses = generateUtilityClasses$1('MuiStepLabel', ['root', 'horizontal', 'vertical', 'label', 'active', 'completed', 'error', 'disabled', 'iconContainer', 'alternativeLabel', 'labelContainer']);
|
|
45682
46489
|
var stepLabelClasses$1 = stepLabelClasses;
|
|
45683
46490
|
|
|
45684
|
-
var useThemeProps$
|
|
46491
|
+
var useThemeProps$7 = createUseThemeProps();
|
|
45685
46492
|
var useUtilityClasses$l = function useUtilityClasses(ownerState) {
|
|
45686
46493
|
var classes = ownerState.classes,
|
|
45687
46494
|
orientation = ownerState.orientation,
|
|
@@ -45776,7 +46583,7 @@
|
|
|
45776
46583
|
});
|
|
45777
46584
|
});
|
|
45778
46585
|
var StepLabel = /*#__PURE__*/React__namespace.forwardRef(function StepLabel(inProps, ref) {
|
|
45779
|
-
var props = useThemeProps$
|
|
46586
|
+
var props = useThemeProps$7({
|
|
45780
46587
|
props: inProps,
|
|
45781
46588
|
name: 'MuiStepLabel'
|
|
45782
46589
|
});
|
|
@@ -45819,7 +46626,9 @@
|
|
|
45819
46626
|
var classes = useUtilityClasses$l(ownerState);
|
|
45820
46627
|
var externalForwardedProps = {
|
|
45821
46628
|
slots: slots,
|
|
45822
|
-
slotProps: _extends({
|
|
46629
|
+
slotProps: _extends({
|
|
46630
|
+
stepIcon: StepIconProps
|
|
46631
|
+
}, componentsProps, slotProps)
|
|
45823
46632
|
};
|
|
45824
46633
|
var _useSlot = useSlot('label', {
|
|
45825
46634
|
elementType: StepLabelLabel,
|
|
@@ -45829,20 +46638,28 @@
|
|
|
45829
46638
|
_useSlot2 = _slicedToArray(_useSlot, 2),
|
|
45830
46639
|
LabelSlot = _useSlot2[0],
|
|
45831
46640
|
labelProps = _useSlot2[1];
|
|
46641
|
+
var _useSlot3 = useSlot('stepIcon', {
|
|
46642
|
+
elementType: StepIconComponent,
|
|
46643
|
+
externalForwardedProps: externalForwardedProps,
|
|
46644
|
+
ownerState: ownerState
|
|
46645
|
+
}),
|
|
46646
|
+
_useSlot4 = _slicedToArray(_useSlot3, 2),
|
|
46647
|
+
StepIconSlot = _useSlot4[0],
|
|
46648
|
+
stepIconProps = _useSlot4[1];
|
|
45832
46649
|
return /*#__PURE__*/jsxRuntime_2(StepLabelRoot, _extends({
|
|
45833
46650
|
className: clsx(classes.root, className),
|
|
45834
46651
|
ref: ref,
|
|
45835
46652
|
ownerState: ownerState
|
|
45836
46653
|
}, other, {
|
|
45837
|
-
children: [icon ||
|
|
46654
|
+
children: [icon || StepIconSlot ? /*#__PURE__*/jsxRuntime_1(StepLabelIconContainer, {
|
|
45838
46655
|
className: classes.iconContainer,
|
|
45839
46656
|
ownerState: ownerState,
|
|
45840
|
-
children: /*#__PURE__*/jsxRuntime_1(
|
|
46657
|
+
children: /*#__PURE__*/jsxRuntime_1(StepIconSlot, _extends({
|
|
45841
46658
|
completed: completed,
|
|
45842
46659
|
active: active,
|
|
45843
46660
|
error: error,
|
|
45844
46661
|
icon: icon
|
|
45845
|
-
},
|
|
46662
|
+
}, stepIconProps))
|
|
45846
46663
|
}) : null, /*#__PURE__*/jsxRuntime_2(StepLabelLabelContainer, {
|
|
45847
46664
|
className: classes.labelContainer,
|
|
45848
46665
|
ownerState: ownerState,
|
|
@@ -45896,21 +46713,25 @@
|
|
|
45896
46713
|
* @default {}
|
|
45897
46714
|
*/
|
|
45898
46715
|
slotProps: PropTypes.shape({
|
|
45899
|
-
label: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
46716
|
+
label: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
46717
|
+
stepIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
45900
46718
|
}),
|
|
45901
46719
|
/**
|
|
45902
46720
|
* The components used for each slot inside.
|
|
45903
46721
|
* @default {}
|
|
45904
46722
|
*/
|
|
45905
46723
|
slots: PropTypes.shape({
|
|
45906
|
-
label: PropTypes.elementType
|
|
46724
|
+
label: PropTypes.elementType,
|
|
46725
|
+
stepIcon: PropTypes.elementType
|
|
45907
46726
|
}),
|
|
45908
46727
|
/**
|
|
45909
46728
|
* The component to render in place of the [`StepIcon`](/material-ui/api/step-icon/).
|
|
46729
|
+
* @deprecated Use `slots.stepIcon` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
45910
46730
|
*/
|
|
45911
46731
|
StepIconComponent: PropTypes.elementType,
|
|
45912
46732
|
/**
|
|
45913
46733
|
* Props applied to the [`StepIcon`](/material-ui/api/step-icon/) element.
|
|
46734
|
+
* @deprecated Use `slotProps.stepIcon` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
45914
46735
|
*/
|
|
45915
46736
|
StepIconProps: PropTypes.object,
|
|
45916
46737
|
/**
|
|
@@ -45929,7 +46750,7 @@
|
|
|
45929
46750
|
var stepButtonClasses = generateUtilityClasses$1('MuiStepButton', ['root', 'horizontal', 'vertical', 'touchRipple']);
|
|
45930
46751
|
var stepButtonClasses$1 = stepButtonClasses;
|
|
45931
46752
|
|
|
45932
|
-
var useThemeProps$
|
|
46753
|
+
var useThemeProps$6 = createUseThemeProps();
|
|
45933
46754
|
var useUtilityClasses$k = function useUtilityClasses(ownerState) {
|
|
45934
46755
|
var classes = ownerState.classes,
|
|
45935
46756
|
orientation = ownerState.orientation;
|
|
@@ -45964,7 +46785,7 @@
|
|
|
45964
46785
|
}
|
|
45965
46786
|
}]));
|
|
45966
46787
|
var StepButton = /*#__PURE__*/React__namespace.forwardRef(function StepButton(inProps, ref) {
|
|
45967
|
-
var props = useThemeProps$
|
|
46788
|
+
var props = useThemeProps$6({
|
|
45968
46789
|
props: inProps,
|
|
45969
46790
|
name: 'MuiStepButton'
|
|
45970
46791
|
});
|
|
@@ -46041,7 +46862,7 @@
|
|
|
46041
46862
|
var stepConnectorClasses = generateUtilityClasses$1('MuiStepConnector', ['root', 'horizontal', 'vertical', 'alternativeLabel', 'active', 'completed', 'disabled', 'line', 'lineHorizontal', 'lineVertical']);
|
|
46042
46863
|
var stepConnectorClasses$1 = stepConnectorClasses;
|
|
46043
46864
|
|
|
46044
|
-
var useThemeProps$
|
|
46865
|
+
var useThemeProps$5 = createUseThemeProps();
|
|
46045
46866
|
var useUtilityClasses$j = function useUtilityClasses(ownerState) {
|
|
46046
46867
|
var classes = ownerState.classes,
|
|
46047
46868
|
orientation = ownerState.orientation,
|
|
@@ -46117,7 +46938,7 @@
|
|
|
46117
46938
|
};
|
|
46118
46939
|
});
|
|
46119
46940
|
var StepConnector = /*#__PURE__*/React__namespace.forwardRef(function StepConnector(inProps, ref) {
|
|
46120
|
-
var props = useThemeProps$
|
|
46941
|
+
var props = useThemeProps$5({
|
|
46121
46942
|
props: inProps,
|
|
46122
46943
|
name: 'MuiStepConnector'
|
|
46123
46944
|
});
|
|
@@ -46176,7 +46997,7 @@
|
|
|
46176
46997
|
var stepContentClasses = generateUtilityClasses$1('MuiStepContent', ['root', 'last', 'transition']);
|
|
46177
46998
|
var stepContentClasses$1 = stepContentClasses;
|
|
46178
46999
|
|
|
46179
|
-
var useThemeProps$
|
|
47000
|
+
var useThemeProps$4 = createUseThemeProps();
|
|
46180
47001
|
var useUtilityClasses$i = function useUtilityClasses(ownerState) {
|
|
46181
47002
|
var classes = ownerState.classes,
|
|
46182
47003
|
last = ownerState.last;
|
|
@@ -46220,7 +47041,7 @@
|
|
|
46220
47041
|
}
|
|
46221
47042
|
})({});
|
|
46222
47043
|
var StepContent = /*#__PURE__*/React__namespace.forwardRef(function StepContent(inProps, ref) {
|
|
46223
|
-
var props = useThemeProps$
|
|
47044
|
+
var props = useThemeProps$4({
|
|
46224
47045
|
props: inProps,
|
|
46225
47046
|
name: 'MuiStepContent'
|
|
46226
47047
|
});
|
|
@@ -46321,7 +47142,7 @@
|
|
|
46321
47142
|
var stepperClasses = generateUtilityClasses$1('MuiStepper', ['root', 'horizontal', 'vertical', 'alternativeLabel']);
|
|
46322
47143
|
var stepperClasses$1 = stepperClasses;
|
|
46323
47144
|
|
|
46324
|
-
var useThemeProps$
|
|
47145
|
+
var useThemeProps$3 = createUseThemeProps();
|
|
46325
47146
|
var useUtilityClasses$h = function useUtilityClasses(ownerState) {
|
|
46326
47147
|
var orientation = ownerState.orientation,
|
|
46327
47148
|
alternativeLabel = ownerState.alternativeLabel,
|
|
@@ -46366,7 +47187,7 @@
|
|
|
46366
47187
|
});
|
|
46367
47188
|
var defaultConnector = /*#__PURE__*/jsxRuntime_1(StepConnector$1, {});
|
|
46368
47189
|
var Stepper = /*#__PURE__*/React__namespace.forwardRef(function Stepper(inProps, ref) {
|
|
46369
|
-
var props = useThemeProps$
|
|
47190
|
+
var props = useThemeProps$3({
|
|
46370
47191
|
props: inProps,
|
|
46371
47192
|
name: 'MuiStepper'
|
|
46372
47193
|
});
|
|
@@ -46632,7 +47453,7 @@
|
|
|
46632
47453
|
}
|
|
46633
47454
|
var iOS = typeof navigator !== 'undefined' && /iPad|iPhone|iPod/.test(navigator.userAgent);
|
|
46634
47455
|
var SwipeableDrawer = /*#__PURE__*/React__namespace.forwardRef(function SwipeableDrawer(inProps, ref) {
|
|
46635
|
-
var props = useThemeProps$
|
|
47456
|
+
var props = useThemeProps$Q({
|
|
46636
47457
|
name: 'MuiSwipeableDrawer',
|
|
46637
47458
|
props: inProps
|
|
46638
47459
|
});
|
|
@@ -47143,7 +47964,7 @@
|
|
|
47143
47964
|
var switchClasses = generateUtilityClasses$1('MuiSwitch', ['root', 'edgeStart', 'edgeEnd', 'switchBase', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium', 'checked', 'disabled', 'input', 'thumb', 'track']);
|
|
47144
47965
|
var switchClasses$1 = switchClasses;
|
|
47145
47966
|
|
|
47146
|
-
var useThemeProps = createUseThemeProps();
|
|
47967
|
+
var useThemeProps$2 = createUseThemeProps();
|
|
47147
47968
|
var useUtilityClasses$g = function useUtilityClasses(ownerState) {
|
|
47148
47969
|
var classes = ownerState.classes,
|
|
47149
47970
|
edge = ownerState.edge,
|
|
@@ -47323,7 +48144,7 @@
|
|
|
47323
48144
|
};
|
|
47324
48145
|
});
|
|
47325
48146
|
var Switch = /*#__PURE__*/React__namespace.forwardRef(function Switch(inProps, ref) {
|
|
47326
|
-
var props = useThemeProps({
|
|
48147
|
+
var props = useThemeProps$2({
|
|
47327
48148
|
props: inProps,
|
|
47328
48149
|
name: 'MuiSwitch'
|
|
47329
48150
|
});
|
|
@@ -47548,7 +48369,7 @@
|
|
|
47548
48369
|
});
|
|
47549
48370
|
});
|
|
47550
48371
|
var Tab = /*#__PURE__*/React__namespace.forwardRef(function Tab(inProps, ref) {
|
|
47551
|
-
var props = useThemeProps$
|
|
48372
|
+
var props = useThemeProps$P({
|
|
47552
48373
|
props: inProps,
|
|
47553
48374
|
name: 'MuiTab'
|
|
47554
48375
|
});
|
|
@@ -47733,9 +48554,8 @@
|
|
|
47733
48554
|
return [styles.root, ownerState.stickyHeader && styles.stickyHeader];
|
|
47734
48555
|
}
|
|
47735
48556
|
})(function (_ref) {
|
|
47736
|
-
var theme = _ref.theme
|
|
47737
|
-
|
|
47738
|
-
return _extends({
|
|
48557
|
+
var theme = _ref.theme;
|
|
48558
|
+
return {
|
|
47739
48559
|
display: 'table',
|
|
47740
48560
|
width: '100%',
|
|
47741
48561
|
borderCollapse: 'collapse',
|
|
@@ -47745,14 +48565,21 @@
|
|
|
47745
48565
|
color: (theme.vars || theme).palette.text.secondary,
|
|
47746
48566
|
textAlign: 'left',
|
|
47747
48567
|
captionSide: 'bottom'
|
|
47748
|
-
})
|
|
47749
|
-
|
|
47750
|
-
|
|
47751
|
-
|
|
48568
|
+
}),
|
|
48569
|
+
variants: [{
|
|
48570
|
+
props: function props(_ref2) {
|
|
48571
|
+
var ownerState = _ref2.ownerState;
|
|
48572
|
+
return ownerState.stickyHeader;
|
|
48573
|
+
},
|
|
48574
|
+
style: {
|
|
48575
|
+
borderCollapse: 'separate'
|
|
48576
|
+
}
|
|
48577
|
+
}]
|
|
48578
|
+
};
|
|
47752
48579
|
});
|
|
47753
48580
|
var defaultComponent$4 = 'table';
|
|
47754
48581
|
var Table = /*#__PURE__*/React__namespace.forwardRef(function Table(inProps, ref) {
|
|
47755
|
-
var props = useThemeProps$
|
|
48582
|
+
var props = useThemeProps$P({
|
|
47756
48583
|
props: inProps,
|
|
47757
48584
|
name: 'MuiTable'
|
|
47758
48585
|
});
|
|
@@ -47871,7 +48698,7 @@
|
|
|
47871
48698
|
};
|
|
47872
48699
|
var defaultComponent$3 = 'tbody';
|
|
47873
48700
|
var TableBody = /*#__PURE__*/React__namespace.forwardRef(function TableBody(inProps, ref) {
|
|
47874
|
-
var props = useThemeProps$
|
|
48701
|
+
var props = useThemeProps$P({
|
|
47875
48702
|
props: inProps,
|
|
47876
48703
|
name: 'MuiTableBody'
|
|
47877
48704
|
});
|
|
@@ -47949,8 +48776,7 @@
|
|
|
47949
48776
|
return [styles.root, styles[ownerState.variant], styles["size".concat(capitalize(ownerState.size))], ownerState.padding !== 'normal' && styles["padding".concat(capitalize(ownerState.padding))], ownerState.align !== 'inherit' && styles["align".concat(capitalize(ownerState.align))], ownerState.stickyHeader && styles.stickyHeader];
|
|
47950
48777
|
}
|
|
47951
48778
|
})(function (_ref) {
|
|
47952
|
-
var theme = _ref.theme
|
|
47953
|
-
ownerState = _ref.ownerState;
|
|
48779
|
+
var theme = _ref.theme;
|
|
47954
48780
|
return _extends({}, theme.typography.body2, {
|
|
47955
48781
|
display: 'table-cell',
|
|
47956
48782
|
verticalAlign: 'inherit',
|
|
@@ -47958,46 +48784,103 @@
|
|
|
47958
48784
|
// Removes the alpha (sets it to 1), and lightens or darkens the theme color.
|
|
47959
48785
|
borderBottom: theme.vars ? "1px solid ".concat(theme.vars.palette.TableCell.border) : "1px solid\n ".concat(theme.palette.mode === 'light' ? lighten(alpha(theme.palette.divider, 1), 0.88) : darken(alpha(theme.palette.divider, 1), 0.68)),
|
|
47960
48786
|
textAlign: 'left',
|
|
47961
|
-
padding: 16
|
|
47962
|
-
|
|
47963
|
-
|
|
47964
|
-
|
|
47965
|
-
|
|
47966
|
-
|
|
47967
|
-
|
|
47968
|
-
|
|
47969
|
-
|
|
47970
|
-
|
|
47971
|
-
|
|
47972
|
-
|
|
47973
|
-
|
|
47974
|
-
|
|
47975
|
-
|
|
47976
|
-
|
|
47977
|
-
|
|
47978
|
-
|
|
47979
|
-
|
|
47980
|
-
|
|
47981
|
-
|
|
47982
|
-
|
|
47983
|
-
|
|
47984
|
-
|
|
47985
|
-
|
|
47986
|
-
|
|
47987
|
-
|
|
47988
|
-
|
|
47989
|
-
|
|
47990
|
-
|
|
47991
|
-
|
|
47992
|
-
|
|
47993
|
-
|
|
47994
|
-
|
|
47995
|
-
|
|
47996
|
-
|
|
47997
|
-
|
|
47998
|
-
|
|
47999
|
-
|
|
48000
|
-
|
|
48787
|
+
padding: 16,
|
|
48788
|
+
variants: [{
|
|
48789
|
+
props: {
|
|
48790
|
+
variant: 'head'
|
|
48791
|
+
},
|
|
48792
|
+
style: {
|
|
48793
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
48794
|
+
lineHeight: theme.typography.pxToRem(24),
|
|
48795
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
48796
|
+
}
|
|
48797
|
+
}, {
|
|
48798
|
+
props: {
|
|
48799
|
+
variant: 'body'
|
|
48800
|
+
},
|
|
48801
|
+
style: {
|
|
48802
|
+
color: (theme.vars || theme).palette.text.primary
|
|
48803
|
+
}
|
|
48804
|
+
}, {
|
|
48805
|
+
props: {
|
|
48806
|
+
variant: 'footer'
|
|
48807
|
+
},
|
|
48808
|
+
style: {
|
|
48809
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
48810
|
+
lineHeight: theme.typography.pxToRem(21),
|
|
48811
|
+
fontSize: theme.typography.pxToRem(12)
|
|
48812
|
+
}
|
|
48813
|
+
}, {
|
|
48814
|
+
props: {
|
|
48815
|
+
size: 'small'
|
|
48816
|
+
},
|
|
48817
|
+
style: _defineProperty({
|
|
48818
|
+
padding: '6px 16px'
|
|
48819
|
+
}, "&.".concat(tableCellClasses$1.paddingCheckbox), {
|
|
48820
|
+
width: 24,
|
|
48821
|
+
// prevent the checkbox column from growing
|
|
48822
|
+
padding: '0 12px 0 16px',
|
|
48823
|
+
'& > *': {
|
|
48824
|
+
padding: 0
|
|
48825
|
+
}
|
|
48826
|
+
})
|
|
48827
|
+
}, {
|
|
48828
|
+
props: {
|
|
48829
|
+
padding: 'checkbox'
|
|
48830
|
+
},
|
|
48831
|
+
style: {
|
|
48832
|
+
width: 48,
|
|
48833
|
+
// prevent the checkbox column from growing
|
|
48834
|
+
padding: '0 0 0 4px'
|
|
48835
|
+
}
|
|
48836
|
+
}, {
|
|
48837
|
+
props: {
|
|
48838
|
+
padding: 'none'
|
|
48839
|
+
},
|
|
48840
|
+
style: {
|
|
48841
|
+
padding: 0
|
|
48842
|
+
}
|
|
48843
|
+
}, {
|
|
48844
|
+
props: {
|
|
48845
|
+
align: 'left'
|
|
48846
|
+
},
|
|
48847
|
+
style: {
|
|
48848
|
+
textAlign: 'left'
|
|
48849
|
+
}
|
|
48850
|
+
}, {
|
|
48851
|
+
props: {
|
|
48852
|
+
align: 'center'
|
|
48853
|
+
},
|
|
48854
|
+
style: {
|
|
48855
|
+
textAlign: 'center'
|
|
48856
|
+
}
|
|
48857
|
+
}, {
|
|
48858
|
+
props: {
|
|
48859
|
+
align: 'right'
|
|
48860
|
+
},
|
|
48861
|
+
style: {
|
|
48862
|
+
textAlign: 'right',
|
|
48863
|
+
flexDirection: 'row-reverse'
|
|
48864
|
+
}
|
|
48865
|
+
}, {
|
|
48866
|
+
props: {
|
|
48867
|
+
align: 'justify'
|
|
48868
|
+
},
|
|
48869
|
+
style: {
|
|
48870
|
+
textAlign: 'justify'
|
|
48871
|
+
}
|
|
48872
|
+
}, {
|
|
48873
|
+
props: function props(_ref2) {
|
|
48874
|
+
var ownerState = _ref2.ownerState;
|
|
48875
|
+
return ownerState.stickyHeader;
|
|
48876
|
+
},
|
|
48877
|
+
style: {
|
|
48878
|
+
position: 'sticky',
|
|
48879
|
+
top: 0,
|
|
48880
|
+
zIndex: 2,
|
|
48881
|
+
backgroundColor: (theme.vars || theme).palette.background["default"]
|
|
48882
|
+
}
|
|
48883
|
+
}]
|
|
48001
48884
|
});
|
|
48002
48885
|
});
|
|
48003
48886
|
|
|
@@ -48006,7 +48889,7 @@
|
|
|
48006
48889
|
* or otherwise a `<td>` element.
|
|
48007
48890
|
*/
|
|
48008
48891
|
var TableCell = /*#__PURE__*/React__namespace.forwardRef(function TableCell(inProps, ref) {
|
|
48009
|
-
var props = useThemeProps$
|
|
48892
|
+
var props = useThemeProps$P({
|
|
48010
48893
|
props: inProps,
|
|
48011
48894
|
name: 'MuiTableCell'
|
|
48012
48895
|
});
|
|
@@ -48145,7 +49028,7 @@
|
|
|
48145
49028
|
overflowX: 'auto'
|
|
48146
49029
|
});
|
|
48147
49030
|
var TableContainer = /*#__PURE__*/React__namespace.forwardRef(function TableContainer(inProps, ref) {
|
|
48148
|
-
var props = useThemeProps$
|
|
49031
|
+
var props = useThemeProps$P({
|
|
48149
49032
|
props: inProps,
|
|
48150
49033
|
name: 'MuiTableContainer'
|
|
48151
49034
|
});
|
|
@@ -48220,7 +49103,7 @@
|
|
|
48220
49103
|
};
|
|
48221
49104
|
var defaultComponent$2 = 'tfoot';
|
|
48222
49105
|
var TableFooter = /*#__PURE__*/React__namespace.forwardRef(function TableFooter(inProps, ref) {
|
|
48223
|
-
var props = useThemeProps$
|
|
49106
|
+
var props = useThemeProps$P({
|
|
48224
49107
|
props: inProps,
|
|
48225
49108
|
name: 'MuiTableFooter'
|
|
48226
49109
|
});
|
|
@@ -48299,7 +49182,7 @@
|
|
|
48299
49182
|
};
|
|
48300
49183
|
var defaultComponent$1 = 'thead';
|
|
48301
49184
|
var TableHead = /*#__PURE__*/React__namespace.forwardRef(function TableHead(inProps, ref) {
|
|
48302
|
-
var props = useThemeProps$
|
|
49185
|
+
var props = useThemeProps$P({
|
|
48303
49186
|
props: inProps,
|
|
48304
49187
|
name: 'MuiTableHead'
|
|
48305
49188
|
});
|
|
@@ -48374,28 +49257,45 @@
|
|
|
48374
49257
|
return [styles.root, !ownerState.disableGutters && styles.gutters, styles[ownerState.variant]];
|
|
48375
49258
|
}
|
|
48376
49259
|
})(function (_ref) {
|
|
48377
|
-
var theme = _ref.theme
|
|
48378
|
-
|
|
48379
|
-
return _extends({
|
|
49260
|
+
var theme = _ref.theme;
|
|
49261
|
+
return {
|
|
48380
49262
|
position: 'relative',
|
|
48381
49263
|
display: 'flex',
|
|
48382
|
-
alignItems: 'center'
|
|
48383
|
-
|
|
48384
|
-
|
|
48385
|
-
|
|
48386
|
-
|
|
48387
|
-
|
|
48388
|
-
|
|
48389
|
-
|
|
48390
|
-
|
|
48391
|
-
|
|
49264
|
+
alignItems: 'center',
|
|
49265
|
+
variants: [{
|
|
49266
|
+
props: function props(_ref2) {
|
|
49267
|
+
var ownerState = _ref2.ownerState;
|
|
49268
|
+
return !ownerState.disableGutters;
|
|
49269
|
+
},
|
|
49270
|
+
style: _defineProperty({
|
|
49271
|
+
paddingLeft: theme.spacing(2),
|
|
49272
|
+
paddingRight: theme.spacing(2)
|
|
49273
|
+
}, theme.breakpoints.up('sm'), {
|
|
49274
|
+
paddingLeft: theme.spacing(3),
|
|
49275
|
+
paddingRight: theme.spacing(3)
|
|
49276
|
+
})
|
|
49277
|
+
}, {
|
|
49278
|
+
props: {
|
|
49279
|
+
variant: 'dense'
|
|
49280
|
+
},
|
|
49281
|
+
style: {
|
|
49282
|
+
minHeight: 48
|
|
49283
|
+
}
|
|
49284
|
+
}]
|
|
49285
|
+
};
|
|
48392
49286
|
}, function (_ref3) {
|
|
48393
|
-
var theme = _ref3.theme
|
|
48394
|
-
|
|
48395
|
-
|
|
49287
|
+
var theme = _ref3.theme;
|
|
49288
|
+
return {
|
|
49289
|
+
variants: [{
|
|
49290
|
+
props: {
|
|
49291
|
+
variant: 'regular'
|
|
49292
|
+
},
|
|
49293
|
+
style: theme.mixins.toolbar
|
|
49294
|
+
}]
|
|
49295
|
+
};
|
|
48396
49296
|
});
|
|
48397
49297
|
var Toolbar = /*#__PURE__*/React__namespace.forwardRef(function Toolbar(inProps, ref) {
|
|
48398
|
-
var props = useThemeProps$
|
|
49298
|
+
var props = useThemeProps$P({
|
|
48399
49299
|
props: inProps,
|
|
48400
49300
|
name: 'MuiToolbar'
|
|
48401
49301
|
});
|
|
@@ -48769,7 +49669,7 @@
|
|
|
48769
49669
|
*/
|
|
48770
49670
|
var TablePagination = /*#__PURE__*/React__namespace.forwardRef(function TablePagination(inProps, ref) {
|
|
48771
49671
|
var _slotProps$select;
|
|
48772
|
-
var props = useThemeProps$
|
|
49672
|
+
var props = useThemeProps$P({
|
|
48773
49673
|
props: inProps,
|
|
48774
49674
|
name: 'MuiTablePagination'
|
|
48775
49675
|
});
|
|
@@ -49125,7 +50025,7 @@
|
|
|
49125
50025
|
* based on the material table element parent (head, body, etc).
|
|
49126
50026
|
*/
|
|
49127
50027
|
var TableRow = /*#__PURE__*/React__namespace.forwardRef(function TableRow(inProps, ref) {
|
|
49128
|
-
var props = useThemeProps$
|
|
50028
|
+
var props = useThemeProps$P({
|
|
49129
50029
|
props: inProps,
|
|
49130
50030
|
name: 'MuiTableRow'
|
|
49131
50031
|
});
|
|
@@ -49251,9 +50151,8 @@
|
|
|
49251
50151
|
return [styles.icon, styles["iconDirection".concat(capitalize(ownerState.direction))]];
|
|
49252
50152
|
}
|
|
49253
50153
|
})(function (_ref3) {
|
|
49254
|
-
var theme = _ref3.theme
|
|
49255
|
-
|
|
49256
|
-
return _extends({
|
|
50154
|
+
var theme = _ref3.theme;
|
|
50155
|
+
return {
|
|
49257
50156
|
fontSize: 18,
|
|
49258
50157
|
marginRight: 4,
|
|
49259
50158
|
marginLeft: 4,
|
|
@@ -49261,19 +50160,30 @@
|
|
|
49261
50160
|
transition: theme.transitions.create(['opacity', 'transform'], {
|
|
49262
50161
|
duration: theme.transitions.duration.shorter
|
|
49263
50162
|
}),
|
|
49264
|
-
userSelect: 'none'
|
|
49265
|
-
|
|
49266
|
-
|
|
49267
|
-
|
|
49268
|
-
|
|
49269
|
-
|
|
50163
|
+
userSelect: 'none',
|
|
50164
|
+
variants: [{
|
|
50165
|
+
props: {
|
|
50166
|
+
direction: 'desc'
|
|
50167
|
+
},
|
|
50168
|
+
style: {
|
|
50169
|
+
transform: 'rotate(0deg)'
|
|
50170
|
+
}
|
|
50171
|
+
}, {
|
|
50172
|
+
props: {
|
|
50173
|
+
direction: 'asc'
|
|
50174
|
+
},
|
|
50175
|
+
style: {
|
|
50176
|
+
transform: 'rotate(180deg)'
|
|
50177
|
+
}
|
|
50178
|
+
}]
|
|
50179
|
+
};
|
|
49270
50180
|
});
|
|
49271
50181
|
|
|
49272
50182
|
/**
|
|
49273
50183
|
* A button based label for placing inside `TableCell` for column sorting.
|
|
49274
50184
|
*/
|
|
49275
50185
|
var TableSortLabel = /*#__PURE__*/React__namespace.forwardRef(function TableSortLabel(inProps, ref) {
|
|
49276
|
-
var props = useThemeProps$
|
|
50186
|
+
var props = useThemeProps$P({
|
|
49277
50187
|
props: inProps,
|
|
49278
50188
|
name: 'MuiTableSortLabel'
|
|
49279
50189
|
});
|
|
@@ -49484,7 +50394,7 @@
|
|
|
49484
50394
|
});
|
|
49485
50395
|
var TabScrollButton = /*#__PURE__*/React__namespace.forwardRef(function TabScrollButton(inProps, ref) {
|
|
49486
50396
|
var _slots$StartScrollBut, _slots$EndScrollButto;
|
|
49487
|
-
var props = useThemeProps$
|
|
50397
|
+
var props = useThemeProps$P({
|
|
49488
50398
|
props: inProps,
|
|
49489
50399
|
name: 'MuiTabScrollButton'
|
|
49490
50400
|
});
|
|
@@ -49761,7 +50671,7 @@
|
|
|
49761
50671
|
var defaultIndicatorStyle = {};
|
|
49762
50672
|
var warnedOnceTabPresent = false;
|
|
49763
50673
|
var Tabs = /*#__PURE__*/React__namespace.forwardRef(function Tabs(inProps, ref) {
|
|
49764
|
-
var props = useThemeProps$
|
|
50674
|
+
var props = useThemeProps$P({
|
|
49765
50675
|
props: inProps,
|
|
49766
50676
|
name: 'MuiTabs'
|
|
49767
50677
|
});
|
|
@@ -50472,7 +51382,7 @@
|
|
|
50472
51382
|
* - using the underlying components directly as shown in the demos
|
|
50473
51383
|
*/
|
|
50474
51384
|
var TextField = /*#__PURE__*/React__namespace.forwardRef(function TextField(inProps, ref) {
|
|
50475
|
-
var props = useThemeProps$
|
|
51385
|
+
var props = useThemeProps$P({
|
|
50476
51386
|
props: inProps,
|
|
50477
51387
|
name: 'MuiTextField'
|
|
50478
51388
|
});
|
|
@@ -50816,6 +51726,7 @@
|
|
|
50816
51726
|
return value === candidate;
|
|
50817
51727
|
}
|
|
50818
51728
|
|
|
51729
|
+
var useThemeProps$1 = createUseThemeProps();
|
|
50819
51730
|
var useUtilityClasses$1 = function useUtilityClasses(ownerState) {
|
|
50820
51731
|
var classes = ownerState.classes,
|
|
50821
51732
|
fullWidth = ownerState.fullWidth,
|
|
@@ -50836,22 +51747,13 @@
|
|
|
50836
51747
|
return [styles.root, styles["size".concat(capitalize(ownerState.size))]];
|
|
50837
51748
|
}
|
|
50838
51749
|
})(function (_ref) {
|
|
50839
|
-
var theme = _ref.theme
|
|
50840
|
-
|
|
50841
|
-
var selectedColor = ownerState.color === 'standard' ? theme.palette.text.primary : theme.palette[ownerState.color].main;
|
|
50842
|
-
var selectedColorChannel;
|
|
50843
|
-
if (theme.vars) {
|
|
50844
|
-
selectedColor = ownerState.color === 'standard' ? theme.vars.palette.text.primary : theme.vars.palette[ownerState.color].main;
|
|
50845
|
-
selectedColorChannel = ownerState.color === 'standard' ? theme.vars.palette.text.primaryChannel : theme.vars.palette[ownerState.color].mainChannel;
|
|
50846
|
-
}
|
|
50847
|
-
return _extends({}, theme.typography.button, {
|
|
51750
|
+
var theme = _ref.theme;
|
|
51751
|
+
return _extends({}, theme.typography.button, _defineProperty(_defineProperty(_defineProperty({
|
|
50848
51752
|
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
50849
51753
|
padding: 11,
|
|
50850
51754
|
border: "1px solid ".concat((theme.vars || theme).palette.divider),
|
|
50851
51755
|
color: (theme.vars || theme).palette.action.active
|
|
50852
|
-
},
|
|
50853
|
-
width: '100%'
|
|
50854
|
-
}, _defineProperty(_defineProperty(_defineProperty({}, "&.".concat(toggleButtonClasses$1.disabled), {
|
|
51756
|
+
}, "&.".concat(toggleButtonClasses$1.disabled), {
|
|
50855
51757
|
color: (theme.vars || theme).palette.action.disabled,
|
|
50856
51758
|
border: "1px solid ".concat((theme.vars || theme).palette.action.disabledBackground)
|
|
50857
51759
|
}), '&:hover', {
|
|
@@ -50861,23 +51763,64 @@
|
|
|
50861
51763
|
'@media (hover: none)': {
|
|
50862
51764
|
backgroundColor: 'transparent'
|
|
50863
51765
|
}
|
|
50864
|
-
}), "
|
|
50865
|
-
|
|
50866
|
-
|
|
50867
|
-
|
|
50868
|
-
|
|
50869
|
-
|
|
50870
|
-
|
|
50871
|
-
|
|
51766
|
+
}), "variants", [{
|
|
51767
|
+
props: {
|
|
51768
|
+
color: 'standard'
|
|
51769
|
+
},
|
|
51770
|
+
style: _defineProperty({}, "&.".concat(toggleButtonClasses$1.selected), {
|
|
51771
|
+
color: (theme.vars || theme).palette.text.primary,
|
|
51772
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity),
|
|
51773
|
+
'&:hover': {
|
|
51774
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
51775
|
+
// Reset on touch devices, it doesn't add specificity
|
|
51776
|
+
'@media (hover: none)': {
|
|
51777
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette.text.primaryChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette.text.primary, theme.palette.action.selectedOpacity)
|
|
51778
|
+
}
|
|
50872
51779
|
}
|
|
51780
|
+
})
|
|
51781
|
+
}].concat(_toConsumableArray(Object.keys((theme.vars || theme).palette).filter(function (key) {
|
|
51782
|
+
return theme.vars ? theme.vars.palette[key].main && theme.vars.palette[key].mainChannel : theme.palette[key].main;
|
|
51783
|
+
}).map(function (color) {
|
|
51784
|
+
return {
|
|
51785
|
+
props: {
|
|
51786
|
+
color: color
|
|
51787
|
+
},
|
|
51788
|
+
style: _defineProperty({}, "&.".concat(toggleButtonClasses$1.selected), {
|
|
51789
|
+
color: (theme.vars || theme).palette[color].main,
|
|
51790
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity),
|
|
51791
|
+
'&:hover': {
|
|
51792
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / calc(").concat(theme.vars.palette.action.selectedOpacity, " + ").concat(theme.vars.palette.action.hoverOpacity, "))") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),
|
|
51793
|
+
// Reset on touch devices, it doesn't add specificity
|
|
51794
|
+
'@media (hover: none)': {
|
|
51795
|
+
backgroundColor: theme.vars ? "rgba(".concat(theme.vars.palette[color].mainChannel, " / ").concat(theme.vars.palette.action.selectedOpacity, ")") : alpha(theme.palette[color].main, theme.palette.action.selectedOpacity)
|
|
51796
|
+
}
|
|
51797
|
+
}
|
|
51798
|
+
})
|
|
51799
|
+
};
|
|
51800
|
+
})), [{
|
|
51801
|
+
props: {
|
|
51802
|
+
fullWidth: true
|
|
51803
|
+
},
|
|
51804
|
+
style: {
|
|
51805
|
+
width: '100%'
|
|
50873
51806
|
}
|
|
50874
|
-
}
|
|
50875
|
-
|
|
50876
|
-
|
|
50877
|
-
|
|
50878
|
-
|
|
50879
|
-
|
|
50880
|
-
|
|
51807
|
+
}, {
|
|
51808
|
+
props: {
|
|
51809
|
+
size: 'small'
|
|
51810
|
+
},
|
|
51811
|
+
style: {
|
|
51812
|
+
padding: 7,
|
|
51813
|
+
fontSize: theme.typography.pxToRem(13)
|
|
51814
|
+
}
|
|
51815
|
+
}, {
|
|
51816
|
+
props: {
|
|
51817
|
+
size: 'large'
|
|
51818
|
+
},
|
|
51819
|
+
style: {
|
|
51820
|
+
padding: 15,
|
|
51821
|
+
fontSize: theme.typography.pxToRem(15)
|
|
51822
|
+
}
|
|
51823
|
+
}])));
|
|
50881
51824
|
});
|
|
50882
51825
|
var ToggleButton = /*#__PURE__*/React__namespace.forwardRef(function ToggleButton(inProps, ref) {
|
|
50883
51826
|
// props priority: `inProps` > `contextProps` > `themeDefaultProps`
|
|
@@ -50888,7 +51831,7 @@
|
|
|
50888
51831
|
var resolvedProps = resolveProps(_extends({}, contextProps, {
|
|
50889
51832
|
selected: isValueSelected(inProps.value, contextValue)
|
|
50890
51833
|
}), inProps);
|
|
50891
|
-
var props = useThemeProps$
|
|
51834
|
+
var props = useThemeProps$1({
|
|
50892
51835
|
props: resolvedProps,
|
|
50893
51836
|
name: 'MuiToggleButton'
|
|
50894
51837
|
});
|
|
@@ -51029,16 +51972,17 @@
|
|
|
51029
51972
|
function getToggleButtonGroupUtilityClass(slot) {
|
|
51030
51973
|
return generateUtilityClass$1('MuiToggleButtonGroup', slot);
|
|
51031
51974
|
}
|
|
51032
|
-
var toggleButtonGroupClasses = generateUtilityClasses$1('MuiToggleButtonGroup', ['root', 'selected', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
|
|
51975
|
+
var toggleButtonGroupClasses = generateUtilityClasses$1('MuiToggleButtonGroup', ['root', 'selected', 'horizontal', 'vertical', 'disabled', 'grouped', 'groupedHorizontal', 'groupedVertical', 'fullWidth', 'firstButton', 'lastButton', 'middleButton']);
|
|
51033
51976
|
var toggleButtonGroupClasses$1 = toggleButtonGroupClasses;
|
|
51034
51977
|
|
|
51978
|
+
var useThemeProps = createUseThemeProps();
|
|
51035
51979
|
var useUtilityClasses = function useUtilityClasses(ownerState) {
|
|
51036
51980
|
var classes = ownerState.classes,
|
|
51037
51981
|
orientation = ownerState.orientation,
|
|
51038
51982
|
fullWidth = ownerState.fullWidth,
|
|
51039
51983
|
disabled = ownerState.disabled;
|
|
51040
51984
|
var slots = {
|
|
51041
|
-
root: ['root', orientation
|
|
51985
|
+
root: ['root', orientation, fullWidth && 'fullWidth'],
|
|
51042
51986
|
grouped: ['grouped', "grouped".concat(capitalize(orientation)), disabled && 'disabled'],
|
|
51043
51987
|
firstButton: ['firstButton'],
|
|
51044
51988
|
lastButton: ['lastButton'],
|
|
@@ -51054,45 +51998,60 @@
|
|
|
51054
51998
|
return [_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), styles.grouped), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), styles["grouped".concat(capitalize(ownerState.orientation))]), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.firstButton), styles.firstButton), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.lastButton), styles.lastButton), _defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.middleButton), styles.middleButton), styles.root, ownerState.orientation === 'vertical' && styles.vertical, ownerState.fullWidth && styles.fullWidth];
|
|
51055
51999
|
}
|
|
51056
52000
|
})(function (_ref6) {
|
|
51057
|
-
var
|
|
51058
|
-
|
|
51059
|
-
return _extends({
|
|
52001
|
+
var theme = _ref6.theme;
|
|
52002
|
+
return {
|
|
51060
52003
|
display: 'inline-flex',
|
|
51061
|
-
borderRadius: (theme.vars || theme).shape.borderRadius
|
|
51062
|
-
|
|
51063
|
-
|
|
51064
|
-
|
|
51065
|
-
|
|
51066
|
-
|
|
51067
|
-
|
|
51068
|
-
|
|
51069
|
-
|
|
51070
|
-
|
|
51071
|
-
|
|
51072
|
-
|
|
51073
|
-
|
|
51074
|
-
|
|
51075
|
-
|
|
51076
|
-
|
|
51077
|
-
|
|
51078
|
-
|
|
51079
|
-
|
|
51080
|
-
|
|
51081
|
-
|
|
51082
|
-
|
|
51083
|
-
|
|
51084
|
-
|
|
51085
|
-
|
|
51086
|
-
|
|
51087
|
-
|
|
51088
|
-
|
|
51089
|
-
|
|
51090
|
-
|
|
51091
|
-
|
|
51092
|
-
|
|
52004
|
+
borderRadius: (theme.vars || theme).shape.borderRadius,
|
|
52005
|
+
variants: [{
|
|
52006
|
+
props: {
|
|
52007
|
+
orientation: 'vertical'
|
|
52008
|
+
},
|
|
52009
|
+
style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
52010
|
+
flexDirection: 'column'
|
|
52011
|
+
}, "& .".concat(toggleButtonGroupClasses$1.grouped), _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
|
|
52012
|
+
borderTop: 0,
|
|
52013
|
+
marginTop: 0
|
|
52014
|
+
})), "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
|
|
52015
|
+
borderBottomLeftRadius: 0,
|
|
52016
|
+
borderBottomRightRadius: 0
|
|
52017
|
+
}), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
|
|
52018
|
+
marginTop: -1,
|
|
52019
|
+
borderTop: '1px solid transparent',
|
|
52020
|
+
borderTopLeftRadius: 0,
|
|
52021
|
+
borderTopRightRadius: 0
|
|
52022
|
+
}), "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
|
|
52023
|
+
borderTop: '1px solid transparent'
|
|
52024
|
+
})
|
|
52025
|
+
}, {
|
|
52026
|
+
props: {
|
|
52027
|
+
fullWidth: true
|
|
52028
|
+
},
|
|
52029
|
+
style: {
|
|
52030
|
+
width: '100%'
|
|
52031
|
+
}
|
|
52032
|
+
}, {
|
|
52033
|
+
props: {
|
|
52034
|
+
orientation: 'horizontal'
|
|
52035
|
+
},
|
|
52036
|
+
style: _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "& .".concat(toggleButtonGroupClasses$1.grouped), _defineProperty({}, "&.".concat(toggleButtonGroupClasses$1.selected, " + .").concat(toggleButtonGroupClasses$1.grouped, ".").concat(toggleButtonGroupClasses$1.selected), {
|
|
52037
|
+
borderLeft: 0,
|
|
52038
|
+
marginLeft: 0
|
|
52039
|
+
})), "& .".concat(toggleButtonGroupClasses$1.firstButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
|
|
52040
|
+
borderTopRightRadius: 0,
|
|
52041
|
+
borderBottomRightRadius: 0
|
|
52042
|
+
}), "& .".concat(toggleButtonGroupClasses$1.lastButton, ",& .").concat(toggleButtonGroupClasses$1.middleButton), {
|
|
52043
|
+
marginLeft: -1,
|
|
52044
|
+
borderLeft: '1px solid transparent',
|
|
52045
|
+
borderTopLeftRadius: 0,
|
|
52046
|
+
borderBottomLeftRadius: 0
|
|
52047
|
+
}), "& .".concat(toggleButtonGroupClasses$1.lastButton, ".").concat(toggleButtonClasses$1.disabled, ",& .").concat(toggleButtonGroupClasses$1.middleButton, ".").concat(toggleButtonClasses$1.disabled), {
|
|
52048
|
+
borderLeft: '1px solid transparent'
|
|
52049
|
+
})
|
|
52050
|
+
}]
|
|
52051
|
+
};
|
|
51093
52052
|
});
|
|
51094
52053
|
var ToggleButtonGroup = /*#__PURE__*/React__namespace.forwardRef(function ToggleButtonGroup(inProps, ref) {
|
|
51095
|
-
var props = useThemeProps
|
|
52054
|
+
var props = useThemeProps({
|
|
51096
52055
|
props: inProps,
|
|
51097
52056
|
name: 'MuiToggleButtonGroup'
|
|
51098
52057
|
});
|
|
@@ -51606,7 +52565,7 @@
|
|
|
51606
52565
|
exports.getOffsetLeft = getOffsetLeft;
|
|
51607
52566
|
exports.getOffsetTop = getOffsetTop;
|
|
51608
52567
|
exports.getOutlinedInputUtilityClass = getOutlinedInputUtilityClass;
|
|
51609
|
-
exports.getOverlayAlpha = getOverlayAlpha
|
|
52568
|
+
exports.getOverlayAlpha = getOverlayAlpha;
|
|
51610
52569
|
exports.getPaginationItemUtilityClass = getPaginationItemUtilityClass;
|
|
51611
52570
|
exports.getPaginationUtilityClass = getPaginationUtilityClass;
|
|
51612
52571
|
exports.getPaperUtilityClass = getPaperUtilityClass;
|
|
@@ -51763,7 +52722,7 @@
|
|
|
51763
52722
|
exports.useStepContext = useStepContext;
|
|
51764
52723
|
exports.useStepperContext = useStepperContext;
|
|
51765
52724
|
exports.useTheme = useTheme;
|
|
51766
|
-
exports.useThemeProps = useThemeProps$
|
|
52725
|
+
exports.useThemeProps = useThemeProps$P;
|
|
51767
52726
|
exports.withStyles = withStyles;
|
|
51768
52727
|
exports.withTheme = withTheme;
|
|
51769
52728
|
|