@e-llm-studio/citation 0.0.71 → 0.0.73
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/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js +2 -0
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -0
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +2 -0
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +2 -0
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js +2 -0
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +2 -0
- package/dist/cjs/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/AppBar/AppBar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/AppBar/AppBar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Avatar/Avatar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Avatar/Avatar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Badge/Badge.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Badge/Badge.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Box/Box.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Box/Box.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Breadcrumbs/BreadcrumbCollapsed.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Breadcrumbs/Breadcrumbs.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Button/Button.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Button/Button.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ButtonGroup/ButtonGroup.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Card/Card.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Card/Card.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardActionArea/CardActionArea.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardActionArea/CardActionArea.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardActions/CardActions.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardActions/CardActions.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardContent/CardContent.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardContent/CardContent.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardHeader/CardHeader.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardHeader/CardHeader.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardMedia/CardMedia.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CardMedia/CardMedia.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Checkbox/Checkbox.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Checkbox/Checkbox.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Chip/Chip.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Chip/Chip.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Container/Container.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Container/Container.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/DialogActions/DialogActions.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/DialogActions/DialogActions.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Divider/Divider.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Divider/Divider.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Drawer/Drawer.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Drawer/Drawer.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanelContext.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanelContext.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Fab/Fab.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Fab/Fab.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FilledInput/FilledInput.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FilledInput/FilledInput.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/FormControl.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/FormControl.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/FormControlContext.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/FormControlContext.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/formControlState.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControl/formControlState.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormGroup/FormGroup.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormGroup/FormGroup.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormLabel/FormLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/FormLabel/FormLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Grid/Grid.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Grid/Grid.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridList/GridList.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridList/GridList.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridListTile/GridListTile.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridListTile/GridListTile.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridListTileBar/GridListTileBar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/GridListTileBar/GridListTileBar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/Hidden.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/Hidden.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/HiddenCss.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/HiddenCss.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/HiddenJs.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Hidden/HiddenJs.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Icon/Icon.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Icon/Icon.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageList/ImageList.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageList/ImageList.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageListItem/ImageListItem.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageListItem/ImageListItem.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageListItemBar/ImageListItemBar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ImageListItemBar/ImageListItemBar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Input/Input.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Input/Input.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputBase/InputBase.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputBase/InputBase.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputBase/utils.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputBase/utils.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputLabel/InputLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/InputLabel/InputLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Link/Link.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Link/Link.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/List/List.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/List/List.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/List/ListContext.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/List/ListContext.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItem/ListItem.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItem/ListItem.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemText/ListItemText.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListItemText/ListItemText.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Menu/Menu.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Menu/Menu.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MenuItem/MenuItem.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MenuItem/MenuItem.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MenuList/MenuList.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MenuList/MenuList.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NoSsr/NoSsr.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/NoSsr/NoSsr.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Popover/Popover.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Popover/Popover.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Radio/Radio.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Radio/Radio.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Radio/RadioButtonIcon.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Radio/RadioButtonIcon.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/useRadioGroup.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RadioGroup/useRadioGroup.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RootRef/RootRef.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/RootRef/RootRef.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Select/Select.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Select/Select.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Select/SelectInput.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Select/SelectInput.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slide/Slide.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slide/Slide.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slider/Slider.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slider/Slider.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slider/ValueLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Slider/ValueLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Snackbar/Snackbar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Snackbar/Snackbar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Step/Step.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Step/Step.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepButton/StepButton.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepButton/StepButton.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepConnector/StepConnector.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepConnector/StepConnector.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepContent/StepContent.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepContent/StepContent.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepIcon/StepIcon.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepIcon/StepIcon.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepLabel/StepLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/StepLabel/StepLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Stepper/Stepper.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Stepper/Stepper.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeArea.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeArea.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeableDrawer.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeableDrawer.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tab/Tab.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tab/Tab.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/Table.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/Table.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/TableContext.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/TableContext.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableBody/TableBody.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableBody/TableBody.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableCell/TableCell.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableCell/TableCell.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableContainer/TableContainer.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableContainer/TableContainer.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableFooter/TableFooter.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableFooter/TableFooter.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableHead/TableHead.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableHead/TableHead.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TablePagination/TablePagination.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TablePagination/TablePagination.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TablePagination/TablePaginationActions.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TablePagination/TablePaginationActions.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableRow/TableRow.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableRow/TableRow.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/TabIndicator.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/TabIndicator.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/Tabs.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Tabs/Tabs.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TextField/TextField.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TextField/TextField.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Toolbar/Toolbar.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Toolbar/Toolbar.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Zoom/Zoom.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/Zoom/Zoom.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/animate.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/animate.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBox.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBox.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBoxOutlineBlank.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBoxOutlineBlank.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckCircle.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/CheckCircle.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/IndeterminateCheckBox.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/IndeterminateCheckBox.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/MoreHoriz.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/MoreHoriz.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Person.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Person.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonChecked.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonChecked.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonUnchecked.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonUnchecked.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Warning.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/internal/svg-icons/Warning.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/styled.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/styled.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/utils/scrollLeft.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/utils/scrollLeft.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/withWidth/withWidth.js +2 -0
- package/dist/cjs/node_modules/@material-ui/core/esm/withWidth/withWidth.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/styles/esm/styled/styled.js +2 -0
- package/dist/cjs/node_modules/@material-ui/styles/esm/styled/styled.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/system/esm/borders.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/borders.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/display.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/display.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/flexbox.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/flexbox.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/grid.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/grid.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/memoize.js +2 -0
- package/dist/cjs/node_modules/@material-ui/system/esm/memoize.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/system/esm/palette.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/palette.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/positions.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/positions.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/shadows.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/shadows.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/sizing.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/sizing.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/styleFunctionSx.js +2 -0
- package/dist/cjs/node_modules/@material-ui/system/esm/styleFunctionSx.js.map +1 -0
- package/dist/cjs/node_modules/@material-ui/system/esm/typography.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/typography.js.map +1 -1
- package/dist/cjs/node_modules/memoize-one/dist/memoize-one.esm.js +2 -0
- package/dist/cjs/node_modules/memoize-one/dist/memoize-one.esm.js.map +1 -0
- package/dist/cjs/node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js +2 -0
- package/dist/cjs/node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js.map +1 -0
- package/dist/cjs/node_modules/react-window/dist/index.esm.js +2 -0
- package/dist/cjs/node_modules/react-window/dist/index.esm.js.map +1 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/features/Bookemon/Bookemon.js +1 -1
- package/dist/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js +2 -0
- package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -0
- package/dist/features/PaginatedTable/paginatedTable.module.css.js +2 -0
- package/dist/features/PaginatedTable/paginatedTable.module.css.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/inherits.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/AppBar/AppBar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/AppBar/AppBar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Avatar/Avatar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Avatar/Avatar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Badge/Badge.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Badge/Badge.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Box/Box.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Box/Box.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Breadcrumbs/BreadcrumbCollapsed.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Breadcrumbs/Breadcrumbs.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Breadcrumbs/Breadcrumbs.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Button/Button.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Button/Button.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ButtonGroup/ButtonGroup.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Card/Card.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Card/Card.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CardActionArea/CardActionArea.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CardActionArea/CardActionArea.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CardActions/CardActions.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CardActions/CardActions.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CardContent/CardContent.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CardContent/CardContent.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CardHeader/CardHeader.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CardHeader/CardHeader.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CardMedia/CardMedia.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CardMedia/CardMedia.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Checkbox/Checkbox.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Checkbox/Checkbox.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Chip/Chip.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Chip/Chip.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Container/Container.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Container/Container.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/DialogActions/DialogActions.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/DialogActions/DialogActions.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Divider/Divider.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Divider/Divider.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Drawer/Drawer.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Drawer/Drawer.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanelContext.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanelContext.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Fab/Fab.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Fab/Fab.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FilledInput/FilledInput.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FilledInput/FilledInput.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormControl/FormControl.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormControl/FormControl.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormControl/FormControlContext.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/FormControl/FormControlContext.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/FormControl/formControlState.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormControl/formControlState.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormGroup/FormGroup.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormGroup/FormGroup.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/FormLabel/FormLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/FormLabel/FormLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Grid/Grid.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Grid/Grid.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/GridList/GridList.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/GridList/GridList.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/GridListTile/GridListTile.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/GridListTile/GridListTile.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/GridListTileBar/GridListTileBar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/GridListTileBar/GridListTileBar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/Hidden.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/Hidden.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/HiddenCss.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/HiddenCss.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/HiddenJs.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Hidden/HiddenJs.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Icon/Icon.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Icon/Icon.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ImageList/ImageList.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ImageList/ImageList.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ImageListItem/ImageListItem.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ImageListItem/ImageListItem.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ImageListItemBar/ImageListItemBar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ImageListItemBar/ImageListItemBar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Input/Input.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Input/Input.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/InputBase/InputBase.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/InputBase/InputBase.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/InputBase/utils.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/InputBase/utils.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/InputLabel/InputLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/InputLabel/InputLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Link/Link.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Link/Link.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/List/List.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/List/List.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/List/ListContext.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/List/ListContext.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListItem/ListItem.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListItem/ListItem.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemText/ListItemText.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListItemText/ListItemText.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Menu/Menu.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Menu/Menu.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/MenuItem/MenuItem.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/MenuItem/MenuItem.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/MenuList/MenuList.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/MenuList/MenuList.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/NativeSelect/NativeSelectInput.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/NoSsr/NoSsr.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/NoSsr/NoSsr.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/OutlinedInput/NotchedOutline.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Popover/Popover.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Popover/Popover.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Radio/Radio.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Radio/Radio.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Radio/RadioButtonIcon.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Radio/RadioButtonIcon.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/useRadioGroup.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/RadioGroup/useRadioGroup.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/RootRef/RootRef.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/RootRef/RootRef.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Select/Select.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Select/Select.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Select/SelectInput.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Select/SelectInput.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Slide/Slide.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Slide/Slide.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Slider/Slider.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Slider/Slider.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Slider/ValueLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Slider/ValueLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Snackbar/Snackbar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Snackbar/Snackbar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Step/Step.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Step/Step.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/StepButton/StepButton.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/StepButton/StepButton.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/StepConnector/StepConnector.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/StepConnector/StepConnector.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/StepContent/StepContent.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/StepContent/StepContent.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/StepIcon/StepIcon.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/StepIcon/StepIcon.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/StepLabel/StepLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/StepLabel/StepLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Stepper/Stepper.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Stepper/Stepper.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeArea.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeArea.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeableDrawer.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeableDrawer.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Tab/Tab.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Tab/Tab.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Table/Table.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Table/Table.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Table/TableContext.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Table/TableContext.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Table/Tablelvl2Context.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableBody/TableBody.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableBody/TableBody.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableCell/TableCell.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableCell/TableCell.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableContainer/TableContainer.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableContainer/TableContainer.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableFooter/TableFooter.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableFooter/TableFooter.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableHead/TableHead.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableHead/TableHead.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TablePagination/TablePagination.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TablePagination/TablePagination.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TablePagination/TablePaginationActions.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TablePagination/TablePaginationActions.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableRow/TableRow.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableRow/TableRow.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/ScrollbarSize.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/TabIndicator.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/TabIndicator.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/Tabs.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Tabs/Tabs.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TextField/TextField.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TextField/TextField.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Toolbar/Toolbar.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Toolbar/Toolbar.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/Zoom/Zoom.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/Zoom/Zoom.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/animate.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/animate.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDownward.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/ArrowDropDown.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Cancel.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBox.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBox.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBoxOutlineBlank.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckBoxOutlineBlank.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckCircle.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/CheckCircle.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/IndeterminateCheckBox.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/IndeterminateCheckBox.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowLeft.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/KeyboardArrowRight.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/MoreHoriz.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/MoreHoriz.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Person.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Person.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonChecked.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonChecked.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonUnchecked.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/RadioButtonUnchecked.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Warning.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/internal/svg-icons/Warning.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/styled.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/styles/styled.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/useMediaQuery/useMediaQuery.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/utils/scrollLeft.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/utils/scrollLeft.js.map +1 -0
- package/dist/node_modules/@material-ui/core/esm/withWidth/withWidth.js +2 -0
- package/dist/node_modules/@material-ui/core/esm/withWidth/withWidth.js.map +1 -0
- package/dist/node_modules/@material-ui/styles/esm/styled/styled.js +2 -0
- package/dist/node_modules/@material-ui/styles/esm/styled/styled.js.map +1 -0
- package/dist/node_modules/@material-ui/system/esm/borders.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/borders.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/display.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/display.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/flexbox.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/flexbox.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/grid.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/grid.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/memoize.js +2 -0
- package/dist/node_modules/@material-ui/system/esm/memoize.js.map +1 -0
- package/dist/node_modules/@material-ui/system/esm/palette.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/palette.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/positions.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/positions.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/shadows.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/shadows.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/sizing.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/sizing.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/spacing.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/spacing.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/styleFunctionSx.js +2 -0
- package/dist/node_modules/@material-ui/system/esm/styleFunctionSx.js.map +1 -0
- package/dist/node_modules/@material-ui/system/esm/typography.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/typography.js.map +1 -1
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js +2 -0
- package/dist/node_modules/memoize-one/dist/memoize-one.esm.js.map +1 -0
- package/dist/node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js +2 -0
- package/dist/node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js.map +1 -0
- package/dist/node_modules/react-window/dist/index.esm.js +2 -0
- package/dist/node_modules/react-window/dist/index.esm.js.map +1 -0
- package/dist/types/src/BookemonTest.d.ts.map +1 -1
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +3 -0
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +1 -0
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +15 -0
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +1 -0
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +1 -0
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts +2 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +1 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +2 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +1 -1
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +27 -0
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/types/CodeCitationTypes.d.ts +19 -0
- package/dist/types/src/types/CodeCitationTypes.d.ts.map +1 -1
- package/dist/types/src/utils/helperFunctions.d.ts +4 -0
- package/dist/types/src/utils/helperFunctions.d.ts.map +1 -1
- package/package.json +9 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/slicedToArray.js"),n=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=require("../../../../@babel/runtime/helpers/esm/typeof.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js");var r=require("../../../utils/esm/formatMuiErrorMessage.js"),l=require("../../../../../_virtual/index.js");require("../../../utils/esm/ponyfillGlobal.js");var u=require("../../../utils/esm/refType.js"),o=require("react"),i=require("../../../../../_virtual/index2.js"),s=require("../../../../clsx/dist/clsx.m.js"),c=require("../utils/ownerDocument.js"),d=require("../utils/capitalize.js"),p=require("../Menu/Menu.js"),f=require("../InputBase/utils.js"),v=require("../utils/useForkRef.js"),m=require("../utils/useControlled.js");function b(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var y=b(o);function h(e,t){return"object"===a.default(t)&&null!==t?e===t:String(e)===String(t)}var j=y.forwardRef((function(a,u){var o=a["aria-label"],i=a.autoFocus,b=a.autoWidth,j=a.children,g=a.classes,E=a.className,O=a.defaultValue,P=a.disabled,q=a.displayEmpty,x=a.IconComponent,I=a.inputRef,C=a.labelId,M=a.MenuProps,w=void 0===M?{}:M,D=a.multiple,N=a.name,F=a.onBlur,S=a.onChange,A=a.onClose,_=a.onFocus,R=a.onOpen,V=a.open,T=a.readOnly,k=a.renderValue,W=a.SelectDisplayProps,B=void 0===W?{}:W,U=a.tabIndex;a.type;var L=a.value,K=a.variant,z=void 0===K?"standard":K,H=n.default(a,["aria-label","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"]),G=m.default({controlled:L,default:O,name:"Select"}),Y=t.default(G,2),J=Y[0],Q=Y[1],X=y.useRef(null),Z=y.useState(null),$=Z[0],ee=Z[1],te=y.useRef(null!=V).current,ne=y.useState(),ae=ne[0],re=ne[1],le=y.useState(!1),ue=le[0],oe=le[1],ie=v.default(u,I);y.useImperativeHandle(ie,(function(){return{focus:function(){$.focus()},node:X.current,value:J}}),[$,J]),y.useEffect((function(){i&&$&&$.focus()}),[i,$]),y.useEffect((function(){if($){var e=c.default($).getElementById(C);if(e){var t=function(){getSelection().isCollapsed&&$.focus()};return e.addEventListener("click",t),function(){e.removeEventListener("click",t)}}}}),[C,$]);var se,ce,de=function(e,t){e?R&&R(t):A&&A(t),te||(re(b?null:$.clientWidth),oe(e))},pe=y.Children.toArray(j),fe=function(e){return function(t){var n;if(D||de(!1,t),D){n=Array.isArray(J)?J.slice():[];var a=J.indexOf(e.props.value);-1===a?n.push(e.props.value):n.splice(a,1)}else n=e.props.value;e.props.onClick&&e.props.onClick(t),J!==n&&(Q(n),S&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:N}}),S(t,e)))}},ve=null!==$&&(te?V:ue);delete H["aria-invalid"];var me=[],be=!1,ye=!1;(f.isFilled({value:J})||q)&&(k?se=k(J):be=!0);var he=pe.map((function(e){if(!y.isValidElement(e))return null;var t;if("production"!==process.env.NODE_ENV&&l.reactIsExports.isFragment(e)&&console.error(["Material-UI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),D){if(!Array.isArray(J))throw new Error("production"!==process.env.NODE_ENV?"Material-UI: The `value` prop must be an array when using the `Select` component with `multiple`.":r.default(2));(t=J.some((function(t){return h(t,e.props.value)})))&&be&&me.push(e.props.children)}else(t=h(J,e.props.value))&&be&&(ce=e.props.children);return t&&(ye=!0),y.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:fe(e),onKeyUp:function(t){" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})}));"production"!==process.env.NODE_ENV&&y.useEffect((function(){if(!ye&&!D&&""!==J){var e=pe.map((function(e){return e.props.value}));console.warn(["Material-UI: You have provided an out-of-range value `".concat(J,"` for the select ").concat(N?'(name="'.concat(N,'") '):"","component."),"Consider providing a value that matches one of the available options or ''.","The available values are ".concat(e.filter((function(e){return null!=e})).map((function(e){return"`".concat(e,"`")})).join(", ")||'""',".")].join("\n"))}}),[ye,pe,D,N,J]),be&&(se=D?me.join(", "):ce);var je,ge=ae;!b&&te&&$&&(ge=$.clientWidth),je=void 0!==U?U:P?null:0;var Ee=B.id||(N?"mui-component-select-".concat(N):void 0);return y.createElement(y.Fragment,null,y.createElement("div",e.default({className:s.clsx(g.root,g.select,g.selectMenu,g[z],E,P&&g.disabled),ref:ee,tabIndex:je,role:"button","aria-disabled":P?"true":void 0,"aria-expanded":ve?"true":void 0,"aria-haspopup":"listbox","aria-label":o,"aria-labelledby":[C,Ee].filter(Boolean).join(" ")||void 0,onKeyDown:function(e){if(!T){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),de(!0,e))}},onMouseDown:P||T?null:function(e){0===e.button&&(e.preventDefault(),$.focus(),de(!0,e))},onBlur:function(e){!ve&&F&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:J,name:N}}),F(e))},onFocus:_},B,{id:Ee}),function(e){return null==e||"string"==typeof e&&!e.trim()}(se)?y.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):se),y.createElement("input",e.default({value:Array.isArray(J)?J.join(","):J,name:N,ref:X,"aria-hidden":!0,onChange:function(e){var t=pe.map((function(e){return e.props.value})).indexOf(e.target.value);if(-1!==t){var n=pe[t];Q(n.props.value),S&&S(e,n)}},tabIndex:-1,className:g.nativeInput,autoFocus:i},H)),y.createElement(x,{className:s.clsx(g.icon,g["icon".concat(d.default(z))],ve&&g.iconOpen,P&&g.disabled)}),y.createElement(p.default,e.default({id:"menu-".concat(N||""),anchorEl:$,open:ve,onClose:function(e){de(!1,e)}},w,{MenuListProps:e.default({"aria-labelledby":C,role:"listbox",disableListWrap:!0},w.MenuListProps),PaperProps:e.default({},w.PaperProps,{style:e.default({minWidth:ge},null!=w.PaperProps?w.PaperProps.style:null)})}),he))}));"production"!==process.env.NODE_ENV&&(j.propTypes={"aria-label":i.default.string,autoFocus:i.default.bool,autoWidth:i.default.bool,children:i.default.node,classes:i.default.object.isRequired,className:i.default.string,defaultValue:i.default.any,disabled:i.default.bool,displayEmpty:i.default.bool,IconComponent:i.default.elementType.isRequired,inputRef:u.default,labelId:i.default.string,MenuProps:i.default.object,multiple:i.default.bool,name:i.default.string,onBlur:i.default.func,onChange:i.default.func,onClose:i.default.func,onFocus:i.default.func,onOpen:i.default.func,open:i.default.bool,readOnly:i.default.bool,renderValue:i.default.func,SelectDisplayProps:i.default.object,tabIndex:i.default.oneOfType([i.default.number,i.default.string]),type:i.default.any,value:i.default.any,variant:i.default.oneOf(["standard","outlined","filled"])}),exports.default=j;
|
|
2
|
+
//# sourceMappingURL=SelectInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectInput.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Select/SelectInput.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport { formatMuiErrorMessage as _formatMuiErrorMessage } from \"@material-ui/utils\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport ownerDocument from '../utils/ownerDocument';\nimport capitalize from '../utils/capitalize';\nimport { refType } from '@material-ui/utils';\nimport Menu from '../Menu/Menu';\nimport { isFilled } from '../InputBase/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useControlled from '../utils/useControlled';\n\nfunction areEqualValues(a, b) {\n if (_typeof(b) === 'object' && b !== null) {\n return a === b;\n }\n\n return String(a) === String(b);\n}\n\nfunction isEmpty(display) {\n return display == null || typeof display === 'string' && !display.trim();\n}\n/**\n * @ignore - internal component.\n */\n\n\nvar SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref) {\n var ariaLabel = props['aria-label'],\n autoFocus = props.autoFocus,\n autoWidth = props.autoWidth,\n children = props.children,\n classes = props.classes,\n className = props.className,\n defaultValue = props.defaultValue,\n disabled = props.disabled,\n displayEmpty = props.displayEmpty,\n IconComponent = props.IconComponent,\n inputRefProp = props.inputRef,\n labelId = props.labelId,\n _props$MenuProps = props.MenuProps,\n MenuProps = _props$MenuProps === void 0 ? {} : _props$MenuProps,\n multiple = props.multiple,\n name = props.name,\n onBlur = props.onBlur,\n onChange = props.onChange,\n onClose = props.onClose,\n onFocus = props.onFocus,\n onOpen = props.onOpen,\n openProp = props.open,\n readOnly = props.readOnly,\n renderValue = props.renderValue,\n _props$SelectDisplayP = props.SelectDisplayProps,\n SelectDisplayProps = _props$SelectDisplayP === void 0 ? {} : _props$SelectDisplayP,\n tabIndexProp = props.tabIndex,\n type = props.type,\n valueProp = props.value,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"aria-label\", \"autoFocus\", \"autoWidth\", \"children\", \"classes\", \"className\", \"defaultValue\", \"disabled\", \"displayEmpty\", \"IconComponent\", \"inputRef\", \"labelId\", \"MenuProps\", \"multiple\", \"name\", \"onBlur\", \"onChange\", \"onClose\", \"onFocus\", \"onOpen\", \"open\", \"readOnly\", \"renderValue\", \"SelectDisplayProps\", \"tabIndex\", \"type\", \"value\", \"variant\"]);\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Select'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n value = _useControlled2[0],\n setValue = _useControlled2[1];\n\n var inputRef = React.useRef(null);\n\n var _React$useState = React.useState(null),\n displayNode = _React$useState[0],\n setDisplayNode = _React$useState[1];\n\n var _React$useRef = React.useRef(openProp != null),\n isOpenControlled = _React$useRef.current;\n\n var _React$useState2 = React.useState(),\n menuMinWidthState = _React$useState2[0],\n setMenuMinWidthState = _React$useState2[1];\n\n var _React$useState3 = React.useState(false),\n openState = _React$useState3[0],\n setOpenState = _React$useState3[1];\n\n var handleRef = useForkRef(ref, inputRefProp);\n React.useImperativeHandle(handleRef, function () {\n return {\n focus: function focus() {\n displayNode.focus();\n },\n node: inputRef.current,\n value: value\n };\n }, [displayNode, value]);\n React.useEffect(function () {\n if (autoFocus && displayNode) {\n displayNode.focus();\n }\n }, [autoFocus, displayNode]);\n React.useEffect(function () {\n if (displayNode) {\n var label = ownerDocument(displayNode).getElementById(labelId);\n\n if (label) {\n var handler = function handler() {\n if (getSelection().isCollapsed) {\n displayNode.focus();\n }\n };\n\n label.addEventListener('click', handler);\n return function () {\n label.removeEventListener('click', handler);\n };\n }\n }\n\n return undefined;\n }, [labelId, displayNode]);\n\n var update = function update(open, event) {\n if (open) {\n if (onOpen) {\n onOpen(event);\n }\n } else if (onClose) {\n onClose(event);\n }\n\n if (!isOpenControlled) {\n setMenuMinWidthState(autoWidth ? null : displayNode.clientWidth);\n setOpenState(open);\n }\n };\n\n var handleMouseDown = function handleMouseDown(event) {\n // Ignore everything but left-click\n if (event.button !== 0) {\n return;\n } // Hijack the default focus behavior.\n\n\n event.preventDefault();\n displayNode.focus();\n update(true, event);\n };\n\n var handleClose = function handleClose(event) {\n update(false, event);\n };\n\n var childrenArray = React.Children.toArray(children); // Support autofill.\n\n var handleChange = function handleChange(event) {\n var index = childrenArray.map(function (child) {\n return child.props.value;\n }).indexOf(event.target.value);\n\n if (index === -1) {\n return;\n }\n\n var child = childrenArray[index];\n setValue(child.props.value);\n\n if (onChange) {\n onChange(event, child);\n }\n };\n\n var handleItemClick = function handleItemClick(child) {\n return function (event) {\n if (!multiple) {\n update(false, event);\n }\n\n var newValue;\n\n if (multiple) {\n newValue = Array.isArray(value) ? value.slice() : [];\n var itemIndex = value.indexOf(child.props.value);\n\n if (itemIndex === -1) {\n newValue.push(child.props.value);\n } else {\n newValue.splice(itemIndex, 1);\n }\n } else {\n newValue = child.props.value;\n }\n\n if (child.props.onClick) {\n child.props.onClick(event);\n }\n\n if (value === newValue) {\n return;\n }\n\n setValue(newValue);\n\n if (onChange) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: newValue,\n name: name\n }\n });\n onChange(event, child);\n }\n };\n };\n\n var handleKeyDown = function handleKeyDown(event) {\n if (!readOnly) {\n var validKeys = [' ', 'ArrowUp', 'ArrowDown', // The native select doesn't respond to enter on MacOS, but it's recommended by\n // https://www.w3.org/TR/wai-aria-practices/examples/listbox/listbox-collapsible.html\n 'Enter'];\n\n if (validKeys.indexOf(event.key) !== -1) {\n event.preventDefault();\n update(true, event);\n }\n }\n };\n\n var open = displayNode !== null && (isOpenControlled ? openProp : openState);\n\n var handleBlur = function handleBlur(event) {\n // if open event.stopImmediatePropagation\n if (!open && onBlur) {\n event.persist(); // Preact support, target is read only property on a native event.\n\n Object.defineProperty(event, 'target', {\n writable: true,\n value: {\n value: value,\n name: name\n }\n });\n onBlur(event);\n }\n };\n\n delete other['aria-invalid'];\n var display;\n var displaySingle;\n var displayMultiple = [];\n var computeDisplay = false;\n var foundMatch = false; // No need to display any value if the field is empty.\n\n if (isFilled({\n value: value\n }) || displayEmpty) {\n if (renderValue) {\n display = renderValue(value);\n } else {\n computeDisplay = true;\n }\n }\n\n var items = childrenArray.map(function (child) {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Select component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var selected;\n\n if (multiple) {\n if (!Array.isArray(value)) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? \"Material-UI: The `value` prop must be an array when using the `Select` component with `multiple`.\" : _formatMuiErrorMessage(2));\n }\n\n selected = value.some(function (v) {\n return areEqualValues(v, child.props.value);\n });\n\n if (selected && computeDisplay) {\n displayMultiple.push(child.props.children);\n }\n } else {\n selected = areEqualValues(value, child.props.value);\n\n if (selected && computeDisplay) {\n displaySingle = child.props.children;\n }\n }\n\n if (selected) {\n foundMatch = true;\n }\n\n return /*#__PURE__*/React.cloneElement(child, {\n 'aria-selected': selected ? 'true' : undefined,\n onClick: handleItemClick(child),\n onKeyUp: function onKeyUp(event) {\n if (event.key === ' ') {\n // otherwise our MenuItems dispatches a click event\n // it's not behavior of the native <option> and causes\n // the select to close immediately since we open on space keydown\n event.preventDefault();\n }\n\n if (child.props.onKeyUp) {\n child.props.onKeyUp(event);\n }\n },\n role: 'option',\n selected: selected,\n value: undefined,\n // The value is most likely not a valid HTML attribute.\n 'data-value': child.props.value // Instead, we provide it as a data attribute.\n\n });\n });\n\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useEffect(function () {\n if (!foundMatch && !multiple && value !== '') {\n var values = childrenArray.map(function (child) {\n return child.props.value;\n });\n console.warn([\"Material-UI: You have provided an out-of-range value `\".concat(value, \"` for the select \").concat(name ? \"(name=\\\"\".concat(name, \"\\\") \") : '', \"component.\"), \"Consider providing a value that matches one of the available options or ''.\", \"The available values are \".concat(values.filter(function (x) {\n return x != null;\n }).map(function (x) {\n return \"`\".concat(x, \"`\");\n }).join(', ') || '\"\"', \".\")].join('\\n'));\n }\n }, [foundMatch, childrenArray, multiple, name, value]);\n }\n\n if (computeDisplay) {\n display = multiple ? displayMultiple.join(', ') : displaySingle;\n } // Avoid performing a layout computation in the render method.\n\n\n var menuMinWidth = menuMinWidthState;\n\n if (!autoWidth && isOpenControlled && displayNode) {\n menuMinWidth = displayNode.clientWidth;\n }\n\n var tabIndex;\n\n if (typeof tabIndexProp !== 'undefined') {\n tabIndex = tabIndexProp;\n } else {\n tabIndex = disabled ? null : 0;\n }\n\n var buttonId = SelectDisplayProps.id || (name ? \"mui-component-select-\".concat(name) : undefined);\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, // TODO v5: merge root and select\n classes.select, classes.selectMenu, classes[variant], className, disabled && classes.disabled),\n ref: setDisplayNode,\n tabIndex: tabIndex,\n role: \"button\",\n \"aria-disabled\": disabled ? 'true' : undefined,\n \"aria-expanded\": open ? 'true' : undefined,\n \"aria-haspopup\": \"listbox\",\n \"aria-label\": ariaLabel,\n \"aria-labelledby\": [labelId, buttonId].filter(Boolean).join(' ') || undefined,\n onKeyDown: handleKeyDown,\n onMouseDown: disabled || readOnly ? null : handleMouseDown,\n onBlur: handleBlur,\n onFocus: onFocus\n }, SelectDisplayProps, {\n // The id is required for proper a11y\n id: buttonId\n }), isEmpty(display) ?\n /*#__PURE__*/\n // eslint-disable-next-line react/no-danger\n React.createElement(\"span\", {\n dangerouslySetInnerHTML: {\n __html: '​'\n }\n }) : display), /*#__PURE__*/React.createElement(\"input\", _extends({\n value: Array.isArray(value) ? value.join(',') : value,\n name: name,\n ref: inputRef,\n \"aria-hidden\": true,\n onChange: handleChange,\n tabIndex: -1,\n className: classes.nativeInput,\n autoFocus: autoFocus\n }, other)), /*#__PURE__*/React.createElement(IconComponent, {\n className: clsx(classes.icon, classes[\"icon\".concat(capitalize(variant))], open && classes.iconOpen, disabled && classes.disabled)\n }), /*#__PURE__*/React.createElement(Menu, _extends({\n id: \"menu-\".concat(name || ''),\n anchorEl: displayNode,\n open: open,\n onClose: handleClose\n }, MenuProps, {\n MenuListProps: _extends({\n 'aria-labelledby': labelId,\n role: 'listbox',\n disableListWrap: true\n }, MenuProps.MenuListProps),\n PaperProps: _extends({}, MenuProps.PaperProps, {\n style: _extends({\n minWidth: menuMinWidth\n }, MenuProps.PaperProps != null ? MenuProps.PaperProps.style : null)\n })\n }), items));\n});\nprocess.env.NODE_ENV !== \"production\" ? SelectInput.propTypes = {\n /**\n * @ignore\n */\n 'aria-label': PropTypes.string,\n\n /**\n * @ignore\n */\n autoFocus: PropTypes.bool,\n\n /**\n * If `true`, the width of the popover will automatically be set according to the items inside the\n * menu, otherwise it will be at least the width of the select input.\n */\n autoWidth: PropTypes.bool,\n\n /**\n * The option elements to populate the select with.\n * Can be some `<MenuItem>` elements.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * The CSS class name of the select element.\n */\n className: PropTypes.string,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.any,\n\n /**\n * If `true`, the select will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * If `true`, the selected item is displayed even if its value is empty.\n */\n displayEmpty: PropTypes.bool,\n\n /**\n * The icon that displays the arrow.\n */\n IconComponent: PropTypes.elementType.isRequired,\n\n /**\n * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`\n * Equivalent to `ref`\n */\n inputRef: refType,\n\n /**\n * The ID of an element that acts as an additional label. The Select will\n * be labelled by the additional label and the selected value.\n */\n labelId: PropTypes.string,\n\n /**\n * Props applied to the [`Menu`](/api/menu/) element.\n */\n MenuProps: PropTypes.object,\n\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n */\n multiple: PropTypes.bool,\n\n /**\n * Name attribute of the `select` or hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * @ignore\n */\n onBlur: PropTypes.func,\n\n /**\n * Callback function fired when a menu item is selected.\n *\n * @param {object} event The event source of the callback.\n * You can pull out the new value by accessing `event.target.value` (any).\n * @param {object} [child] The react element that was selected.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onClose: PropTypes.func,\n\n /**\n * @ignore\n */\n onFocus: PropTypes.func,\n\n /**\n * Callback fired when the component requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {object} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n\n /**\n * Control `select` open state.\n */\n open: PropTypes.bool,\n\n /**\n * @ignore\n */\n readOnly: PropTypes.bool,\n\n /**\n * Render the selected value.\n *\n * @param {any} value The `value` provided to the component.\n * @returns {ReactNode}\n */\n renderValue: PropTypes.func,\n\n /**\n * Props applied to the clickable div element.\n */\n SelectDisplayProps: PropTypes.object,\n\n /**\n * @ignore\n */\n tabIndex: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n\n /**\n * @ignore\n */\n type: PropTypes.any,\n\n /**\n * The input value.\n */\n value: PropTypes.any,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['standard', 'outlined', 'filled'])\n} : void 0;\nexport default SelectInput;"],"names":["areEqualValues","a","b","_typeof","String","SelectInput","React","forwardRef","props","ref","ariaLabel","autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","IconComponent","inputRefProp","inputRef","labelId","_props$MenuProps","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","openProp","open","readOnly","renderValue","_props$SelectDisplayP","SelectDisplayProps","tabIndexProp","tabIndex","type","valueProp","value","_props$variant","variant","other","_objectWithoutProperties","_useControlled","useControlled","controlled","default","_useControlled2","_slicedToArray","setValue","useRef","_React$useState","useState","displayNode","setDisplayNode","isOpenControlled","current","_React$useState2","menuMinWidthState","setMenuMinWidthState","_React$useState3","openState","setOpenState","handleRef","useForkRef","useImperativeHandle","focus","node","useEffect","label","ownerDocument","getElementById","handler","getSelection","isCollapsed","addEventListener","removeEventListener","display","displaySingle","update","event","clientWidth","childrenArray","Children","toArray","handleItemClick","child","newValue","Array","isArray","slice","itemIndex","indexOf","push","splice","onClick","persist","Object","defineProperty","writable","displayMultiple","computeDisplay","foundMatch","isFilled","items","map","isValidElement","selected","process","env","NODE_ENV","isFragment","console","error","join","Error","_formatMuiErrorMessage","some","v","cloneElement","undefined","onKeyUp","key","preventDefault","role","values","warn","concat","filter","x","menuMinWidth","buttonId","id","createElement","Fragment","_extends","clsx","root","select","selectMenu","Boolean","onKeyDown","onMouseDown","button","trim","isEmpty","dangerouslySetInnerHTML","__html","index","target","nativeInput","icon","capitalize","iconOpen","Menu","anchorEl","MenuListProps","disableListWrap","PaperProps","style","minWidth","propTypes","PropTypes","string","bool","object","isRequired","any","elementType","refType","func","oneOfType","number","oneOf"],"mappings":"gwCAiBA,SAASA,EAAeC,EAAGC,GACzB,MAAmB,WAAfC,EAAO,QAACD,IAAyB,OAANA,EACtBD,IAAMC,EAGRE,OAAOH,KAAOG,OAAOF,EAC9B,CAUG,IAACG,EAA2BC,EAAMC,YAAW,SAAqBC,EAAOC,GACvE,IAACC,EAAYF,EAAM,cAClBG,EAAYH,EAAMG,UAClBC,EAAYJ,EAAMI,UAClBC,EAAWL,EAAMK,SACjBC,EAAUN,EAAMM,QAChBC,EAAYP,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,KAAMqI,EAAS,QAACE,KAKhBtI,SAAUoI,EAAS,QAACE,KAQpBrI,YAAamI,EAAS,QAACQ,KAKvBzI,mBAAoBiI,EAAS,QAACG,OAK9BlI,SAAU+H,EAAS,QAACS,UAAU,CAACT,EAAS,QAACU,OAAQV,EAAAA,QAAUC,SAK3D/H,KAAM8H,EAAS,QAACK,IAKhBjI,MAAO4H,EAAS,QAACK,IAKjB/H,QAAS0H,EAAS,QAACW,MAAM,CAAC,WAAY,WAAY"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),n=require("react"),r=require("../../../../../_virtual/index2.js"),i=require("react-dom"),o=require("../utils/debounce.js");require("../../../../react-transition-group/esm/CSSTransition.js"),require("../../../../react-transition-group/esm/ReplaceTransition.js"),require("../../../../react-transition-group/esm/SwitchTransition.js"),require("../../../../react-transition-group/esm/TransitionGroup.js");var s=require("../../../../react-transition-group/esm/Transition.js"),a=require("../../../utils/esm/elementAcceptingRef.js");require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var u=require("../utils/useForkRef.js"),l=require("../styles/useTheme.js"),f=require("../styles/transitions.js"),c=require("../transitions/utils.js");function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var p=d(n),m=d(i);function g(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var i=window.getComputedStyle(t);n=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("transform")}var o=0,s=0;if(n&&"none"!==n&&"string"==typeof n){var a=n.split("(")[1].split(")")[0].split(",");o=parseInt(a[4],10),s=parseInt(a[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(o-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-o,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(s-r.top,"px)"):"translateY(-".concat(r.top+r.height-s,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var y={enter:f.duration.enteringScreen,exit:f.duration.leavingScreen},E=p.forwardRef((function(n,r){var i=n.children,a=n.direction,f=void 0===a?"down":a,d=n.in,E=n.onEnter,b=n.onEntered,v=n.onEntering,x=n.onExit,j=n.onExited,w=n.onExiting,T=n.style,h=n.timeout,q=void 0===h?y:h,k=n.TransitionComponent,O=void 0===k?s.default:k,P=t.default(n,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),R=l.default(),C=p.useRef(null),_=p.useCallback((function(e){C.current=m.findDOMNode(e)}),[]),S=u.default(i.ref,_),V=u.default(S,r),z=function(e){return function(t){e&&(void 0===t?e(C.current):e(C.current,t))}},D=z((function(e,t){g(f,e),c.reflow(e),E&&E(e,t)})),M=z((function(t,n){var r=c.getTransitionProps({timeout:q,style:T},{mode:"enter"});t.style.webkitTransition=R.transitions.create("-webkit-transform",e.default({},r,{easing:R.transitions.easing.easeOut})),t.style.transition=R.transitions.create("transform",e.default({},r,{easing:R.transitions.easing.easeOut})),t.style.webkitTransform="none",t.style.transform="none",v&&v(t,n)})),N=z(b),X=z(w),Y=z((function(t){var n=c.getTransitionProps({timeout:q,style:T},{mode:"exit"});t.style.webkitTransition=R.transitions.create("-webkit-transform",e.default({},n,{easing:R.transitions.easing.sharp})),t.style.transition=R.transitions.create("transform",e.default({},n,{easing:R.transitions.easing.sharp})),g(f,t),x&&x(t)})),A=z((function(e){e.style.webkitTransition="",e.style.transition="",j&&j(e)})),G=p.useCallback((function(){C.current&&g(f,C.current)}),[f]);return p.useEffect((function(){if(!d&&"down"!==f&&"right"!==f){var e=o.default((function(){C.current&&g(f,C.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[f,d]),p.useEffect((function(){d||G()}),[d,G]),p.createElement(O,e.default({nodeRef:C,onEnter:D,onEntered:N,onEntering:M,onExit:Y,onExited:A,onExiting:X,appear:!0,in:d,timeout:q},P),(function(t,n){return p.cloneElement(i,e.default({ref:V,style:e.default({visibility:"exited"!==t||d?void 0:"hidden"},T,i.props.style)},n))}))}));"production"!==process.env.NODE_ENV&&(E.propTypes={children:a.default,direction:r.default.oneOf(["down","left","right","up"]),in:r.default.bool,onEnter:r.default.func,onEntered:r.default.func,onEntering:r.default.func,onExit:r.default.func,onExited:r.default.func,onExiting:r.default.func,style:r.default.object,timeout:r.default.oneOfType([r.default.number,r.default.shape({appear:r.default.number,enter:r.default.number,exit:r.default.number})])}),exports.default=E,exports.setTranslateValue=g;
|
|
2
|
+
//# sourceMappingURL=Slide.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slide.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Slide/Slide.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport * as ReactDOM from 'react-dom';\nimport debounce from '../utils/debounce';\nimport { Transition } from 'react-transition-group';\nimport { elementAcceptingRef } from '@material-ui/utils';\nimport useForkRef from '../utils/useForkRef';\nimport useTheme from '../styles/useTheme';\nimport { duration } from '../styles/transitions';\nimport { reflow, getTransitionProps } from '../transitions/utils'; // Translate the node so he can't be seen on the screen.\n// Later, we gonna translate back the node to his original location\n// with `none`.`\n\nfunction getTranslateValue(direction, node) {\n var rect = node.getBoundingClientRect();\n var transform;\n\n if (node.fakeTransform) {\n transform = node.fakeTransform;\n } else {\n var computedStyle = window.getComputedStyle(node);\n transform = computedStyle.getPropertyValue('-webkit-transform') || computedStyle.getPropertyValue('transform');\n }\n\n var offsetX = 0;\n var offsetY = 0;\n\n if (transform && transform !== 'none' && typeof transform === 'string') {\n var transformValues = transform.split('(')[1].split(')')[0].split(',');\n offsetX = parseInt(transformValues[4], 10);\n offsetY = parseInt(transformValues[5], 10);\n }\n\n if (direction === 'left') {\n return \"translateX(\".concat(window.innerWidth, \"px) translateX(\").concat(offsetX - rect.left, \"px)\");\n }\n\n if (direction === 'right') {\n return \"translateX(-\".concat(rect.left + rect.width - offsetX, \"px)\");\n }\n\n if (direction === 'up') {\n return \"translateY(\".concat(window.innerHeight, \"px) translateY(\").concat(offsetY - rect.top, \"px)\");\n } // direction === 'down'\n\n\n return \"translateY(-\".concat(rect.top + rect.height - offsetY, \"px)\");\n}\n\nexport function setTranslateValue(direction, node) {\n var transform = getTranslateValue(direction, node);\n\n if (transform) {\n node.style.webkitTransform = transform;\n node.style.transform = transform;\n }\n}\nvar defaultTimeout = {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n};\n/**\n * The Slide transition is used by the [Drawer](/components/drawers/) component.\n * It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.\n */\n\nvar Slide = /*#__PURE__*/React.forwardRef(function Slide(props, ref) {\n var children = props.children,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'down' : _props$direction,\n inProp = props.in,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n style = props.style,\n _props$timeout = props.timeout,\n timeout = _props$timeout === void 0 ? defaultTimeout : _props$timeout,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Transition : _props$TransitionComp,\n other = _objectWithoutProperties(props, [\"children\", \"direction\", \"in\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"style\", \"timeout\", \"TransitionComponent\"]);\n\n var theme = useTheme();\n var childrenRef = React.useRef(null);\n /**\n * used in cloneElement(children, { ref: handleRef })\n */\n\n var handleOwnRef = React.useCallback(function (instance) {\n // #StrictMode ready\n childrenRef.current = ReactDOM.findDOMNode(instance);\n }, []);\n var handleRefIntermediary = useForkRef(children.ref, handleOwnRef);\n var handleRef = useForkRef(handleRefIntermediary, ref);\n\n var normalizedTransitionCallback = function normalizedTransitionCallback(callback) {\n return function (isAppearing) {\n if (callback) {\n // onEnterXxx and onExitXxx callbacks have a different arguments.length value.\n if (isAppearing === undefined) {\n callback(childrenRef.current);\n } else {\n callback(childrenRef.current, isAppearing);\n }\n }\n };\n };\n\n var handleEnter = normalizedTransitionCallback(function (node, isAppearing) {\n setTranslateValue(direction, node);\n reflow(node);\n\n if (onEnter) {\n onEnter(node, isAppearing);\n }\n });\n var handleEntering = normalizedTransitionCallback(function (node, isAppearing) {\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'enter'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends({}, transitionProps, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.transition = theme.transitions.create('transform', _extends({}, transitionProps, {\n easing: theme.transitions.easing.easeOut\n }));\n node.style.webkitTransform = 'none';\n node.style.transform = 'none';\n\n if (onEntering) {\n onEntering(node, isAppearing);\n }\n });\n var handleEntered = normalizedTransitionCallback(onEntered);\n var handleExiting = normalizedTransitionCallback(onExiting);\n var handleExit = normalizedTransitionCallback(function (node) {\n var transitionProps = getTransitionProps({\n timeout: timeout,\n style: style\n }, {\n mode: 'exit'\n });\n node.style.webkitTransition = theme.transitions.create('-webkit-transform', _extends({}, transitionProps, {\n easing: theme.transitions.easing.sharp\n }));\n node.style.transition = theme.transitions.create('transform', _extends({}, transitionProps, {\n easing: theme.transitions.easing.sharp\n }));\n setTranslateValue(direction, node);\n\n if (onExit) {\n onExit(node);\n }\n });\n var handleExited = normalizedTransitionCallback(function (node) {\n // No need for transitions when the component is hidden\n node.style.webkitTransition = '';\n node.style.transition = '';\n\n if (onExited) {\n onExited(node);\n }\n });\n var updatePosition = React.useCallback(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n }, [direction]);\n React.useEffect(function () {\n // Skip configuration where the position is screen size invariant.\n if (inProp || direction === 'down' || direction === 'right') {\n return undefined;\n }\n\n var handleResize = debounce(function () {\n if (childrenRef.current) {\n setTranslateValue(direction, childrenRef.current);\n }\n });\n window.addEventListener('resize', handleResize);\n return function () {\n handleResize.clear();\n window.removeEventListener('resize', handleResize);\n };\n }, [direction, inProp]);\n React.useEffect(function () {\n if (!inProp) {\n // We need to update the position of the drawer when the direction change and\n // when it's hidden.\n updatePosition();\n }\n }, [inProp, updatePosition]);\n return /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n nodeRef: childrenRef,\n onEnter: handleEnter,\n onEntered: handleEntered,\n onEntering: handleEntering,\n onExit: handleExit,\n onExited: handleExited,\n onExiting: handleExiting,\n appear: true,\n in: inProp,\n timeout: timeout\n }, other), function (state, childProps) {\n return /*#__PURE__*/React.cloneElement(children, _extends({\n ref: handleRef,\n style: _extends({\n visibility: state === 'exited' && !inProp ? 'hidden' : undefined\n }, style, children.props.style)\n }, childProps));\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Slide.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * A single child content element.\n */\n children: elementAcceptingRef,\n\n /**\n * Direction the child node will enter from.\n */\n direction: PropTypes.oneOf(['down', 'left', 'right', 'up']),\n\n /**\n * If `true`, show the component; triggers the enter or exit animation.\n */\n in: PropTypes.bool,\n\n /**\n * @ignore\n */\n onEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntered: PropTypes.func,\n\n /**\n * @ignore\n */\n onEntering: PropTypes.func,\n\n /**\n * @ignore\n */\n onExit: PropTypes.func,\n\n /**\n * @ignore\n */\n onExited: PropTypes.func,\n\n /**\n * @ignore\n */\n onExiting: PropTypes.func,\n\n /**\n * @ignore\n */\n style: PropTypes.object,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n timeout: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })])\n} : void 0;\nexport default Slide;"],"names":["setTranslateValue","direction","node","transform","rect","getBoundingClientRect","fakeTransform","computedStyle","window","getComputedStyle","getPropertyValue","offsetX","offsetY","transformValues","split","parseInt","concat","innerWidth","left","width","innerHeight","top","height","getTranslateValue","style","webkitTransform","defaultTimeout","enter","duration","enteringScreen","exit","leavingScreen","Slide","React","forwardRef","props","ref","children","_props$direction","inProp","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","_props$timeout","timeout","_props$TransitionComp","TransitionComponent","Transition","other","_objectWithoutProperties","theme","useTheme","childrenRef","useRef","handleOwnRef","useCallback","instance","current","ReactDOM","findDOMNode","handleRefIntermediary","useForkRef","handleRef","normalizedTransitionCallback","callback","isAppearing","undefined","handleEnter","reflow","handleEntering","transitionProps","getTransitionProps","mode","webkitTransition","transitions","create","_extends","easing","easeOut","transition","handleEntered","handleExiting","handleExit","sharp","handleExited","updatePosition","useEffect","handleResize","debounce","addEventListener","clear","removeEventListener","createElement","nodeRef","appear","state","childProps","cloneElement","visibility","process","env","NODE_ENV","propTypes","elementAcceptingRef","PropTypes","oneOf","bool","func","object","oneOfType","number","shape"],"mappings":"w2CAmDO,SAASA,EAAkBC,EAAWC,GAC3C,IAAIC,EArCN,SAA2BF,EAAWC,GACpC,IACIC,EADAC,EAAOF,EAAKG,wBAGhB,GAAIH,EAAKI,cACPH,EAAYD,EAAKI,kBACZ,CACL,IAAIC,EAAgBC,OAAOC,iBAAiBP,GAC5CC,EAAYI,EAAcG,iBAAiB,sBAAwBH,EAAcG,iBAAiB,YACnG,CA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X,UAC3C9C,EAAOa,EAASF,MAAMX,QACxB4E,GACP,GACA,IACyB,eAAzBG,QAAQC,IAAIC,WAA4BzE,EAAM0E,UAAY,CASxDrE,SAAUsE,EAAmB,QAK7B1G,UAAW2G,EAAS,QAACC,MAAM,CAAC,OAAQ,OAAQ,QAAS,OAKrDrE,GAAIoE,EAAS,QAACE,KAKdrE,QAASmE,EAAS,QAACG,KAKnBrE,UAAWkE,EAAS,QAACG,KAKrBpE,WAAYiE,EAAS,QAACG,KAKtBnE,OAAQgE,EAAS,QAACG,KAKlBlE,SAAU+D,EAAS,QAACG,KAKpBjE,UAAW8D,EAAS,QAACG,KAKrBvF,MAAOoF,EAAS,QAACI,OAMjBhE,QAAS4D,EAAS,QAACK,UAAU,CAACL,EAAS,QAACM,OAAQN,EAAS,QAACO,MAAM,CAC9DjB,OAAQU,EAAS,QAACM,OAClBvF,MAAOiF,EAAS,QAACM,OACjBpF,KAAM8E,EAAS,QAACM"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/toConsumableArray.js"),t=require("../../../../@babel/runtime/helpers/esm/slicedToArray.js"),a=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=require("../../../../@babel/runtime/helpers/esm/extends.js"),n=require("react"),l=require("../../../../../_virtual/index2.js"),i=require("../../../../clsx/dist/clsx.m.js"),o=require("../../../utils/esm/chainPropTypes.js");require("../../../utils/esm/elementAcceptingRef.js"),require("../../../utils/esm/elementTypeAcceptingRef.js"),require("../../../../../_virtual/index.js"),require("../../../utils/esm/ponyfillGlobal.js"),require("../../../utils/esm/refType.js");var u=require("../styles/withStyles.js"),s=require("../styles/useTheme.js"),c=require("../styles/colorManipulator.js"),d=require("../utils/useIsFocusVisible.js"),f=require("../utils/ownerDocument.js"),v=require("../utils/useEventCallback.js"),m=require("../utils/useForkRef.js"),p=require("../utils/capitalize.js"),b=require("../utils/useControlled.js"),h=require("./ValueLabel.js");function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var x=g(n);function y(e,t){return e-t}function w(e,t,a){return Math.min(Math.max(t,e),a)}function k(e,t){var a=e.reduce((function(e,a,r){var n=Math.abs(t-a);return null===e||n<e.distance||n===e.distance?{distance:n,index:r}:e}),null);return a.index}function L(e,t){if(void 0!==t.current&&e.changedTouches){for(var a=0;a<e.changedTouches.length;a+=1){var r=e.changedTouches[a];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function A(e,t,a){return 100*(e-t)/(a-t)}function E(e,t,a){var r=Math.round((e-a)/t)*t+a;return Number(r.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),a=t[0].split(".")[1];return(a?a.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function C(e){var t=e.values,a=e.source,r=e.newValue,n=e.index;if(t[n]===r)return a;var l=t.slice();return l[n]=r,l}function j(e){var t=e.sliderRef,a=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===a||t.current.querySelector('[role="slider"][data-index="'.concat(a,'"]')).focus(),r&&r(a)}var T={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},V=function(e){return e},q=function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"13px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 13px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}},"@media print":{colorAdjust:"exact"}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?c.lighten(e.palette.primary.main,.62):c.darken(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',borderRadius:"50%",left:-15,top:-15,right:-15,bottom:-15},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(c.alpha(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(c.alpha(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(c.alpha(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(c.alpha(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{left:"calc(-50% - 4px)"},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:r.default({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:26,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:26,transform:"translateY(50%)"},"@media (pointer: coarse)":{top:40,"$vertical &":{left:31}}}),markLabelActive:{color:e.palette.text.primary}}},O=x.forwardRef((function(n,l){var o=n["aria-label"],u=n["aria-labelledby"],c=n["aria-valuetext"],g=n.classes,q=n.className,O=n.color,R=void 0===O?"primary":O,S=n.component,$=void 0===S?"span":S,M=n.defaultValue,D=n.disabled,I=void 0!==D&&D,N=n.getAriaLabel,F=n.getAriaValueText,P=n.marks,z=void 0!==P&&P,B=n.max,_=void 0===B?100:B,Y=n.min,U=void 0===Y?0:Y,X=n.name,H=n.onChange,W=n.onChangeCommitted,G=n.onMouseDown,K=n.orientation,J=void 0===K?"horizontal":K,Q=n.scale,Z=void 0===Q?V:Q,ee=n.step,te=void 0===ee?1:ee,ae=n.ThumbComponent,re=void 0===ae?"span":ae,ne=n.track,le=void 0===ne?"normal":ne,ie=n.value,oe=n.ValueLabelComponent,ue=void 0===oe?h.default:oe,se=n.valueLabelDisplay,ce=void 0===se?"off":se,de=n.valueLabelFormat,fe=void 0===de?V:de,ve=a.default(n,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","scale","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),me=s.default(),pe=x.useRef(),be=x.useState(-1),he=be[0],ge=be[1],xe=x.useState(-1),ye=xe[0],we=xe[1],ke=b.default({controlled:ie,default:M,name:"Slider"}),Le=t.default(ke,2),Ae=Le[0],Ee=Le[1],Ce=Array.isArray(Ae),je=Ce?Ae.slice().sort(y):[Ae];je=je.map((function(e){return w(e,U,_)}));var Te=!0===z&&null!==te?e.default(Array(Math.floor((_-U)/te)+1)).map((function(e,t){return{value:U+te*t}})):z||[],Ve=d.default(),qe=Ve.isFocusVisible,Oe=Ve.onBlurVisible,Re=Ve.ref,Se=x.useState(-1),$e=Se[0],Me=Se[1],De=x.useRef(),Ie=m.default(Re,De),Ne=m.default(l,Ie),Fe=v.default((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));qe(e)&&Me(t),we(t)})),Pe=v.default((function(){-1!==$e&&(Me(-1),Oe()),we(-1)})),ze=v.default((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));we(t)})),Be=v.default((function(){we(-1)})),_e="rtl"===me.direction,Ye=v.default((function(e){var t,a=Number(e.currentTarget.getAttribute("data-index")),r=je[a],n=(_-U)/10,l=Te.map((function(e){return e.value})),i=l.indexOf(r),o=_e?"ArrowLeft":"ArrowRight",u=_e?"ArrowRight":"ArrowLeft";switch(e.key){case"Home":t=U;break;case"End":t=_;break;case"PageUp":te&&(t=r+n);break;case"PageDown":te&&(t=r-n);break;case o:case"ArrowUp":t=te?r+te:l[i+1]||l[l.length-1];break;case u:case"ArrowDown":t=te?r-te:l[i-1]||l[0];break;default:return}if(e.preventDefault(),te&&(t=E(t,te,U)),t=w(t,U,_),Ce){var s=t;t=C({values:je,source:Ae,newValue:t,index:a}).sort(y),j({sliderRef:De,activeIndex:t.indexOf(s)})}Ee(t),Me(a),H&&H(e,t),W&&W(e,t)})),Ue=x.useRef(),Xe=J;_e&&"vertical"!==J&&(Xe+="-reverse");var He=function(e){var t,a,r=e.finger,n=e.move,l=void 0!==n&&n,i=e.values,o=e.source,u=De.current.getBoundingClientRect(),s=u.width,c=u.height,d=u.bottom,f=u.left;if(t=0===Xe.indexOf("vertical")?(d-r.y)/c:(r.x-f)/s,-1!==Xe.indexOf("-reverse")&&(t=1-t),a=function(e,t,a){return(a-t)*e+t}(t,U,_),te)a=E(a,te,U);else{var v=Te.map((function(e){return e.value}));a=v[k(v,a)]}a=w(a,U,_);var m=0;if(Ce){var p=a;m=(a=C({values:i,source:o,newValue:a,index:m=l?Ue.current:k(i,a)}).sort(y)).indexOf(p),Ue.current=m}return{newValue:a,activeIndex:m}},We=v.default((function(e){var t=L(e,pe);if(t){var a=He({finger:t,move:!0,values:je,source:Ae}),r=a.newValue,n=a.activeIndex;j({sliderRef:De,activeIndex:n,setActive:ge}),Ee(r),H&&H(e,r)}})),Ge=v.default((function(e){var t=L(e,pe);if(t){var a=He({finger:t,values:je,source:Ae}).newValue;ge(-1),"touchend"===e.type&&we(-1),W&&W(e,a),pe.current=void 0;var r=f.default(De.current);r.removeEventListener("mousemove",We),r.removeEventListener("mouseup",Ge),r.removeEventListener("touchmove",We),r.removeEventListener("touchend",Ge)}})),Ke=v.default((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(pe.current=t.identifier);var a=L(e,pe),r=He({finger:a,values:je,source:Ae}),n=r.newValue,l=r.activeIndex;j({sliderRef:De,activeIndex:l,setActive:ge}),Ee(n),H&&H(e,n);var i=f.default(De.current);i.addEventListener("touchmove",We),i.addEventListener("touchend",Ge)}));x.useEffect((function(){var e=De.current;e.addEventListener("touchstart",Ke);var t=f.default(e);return function(){e.removeEventListener("touchstart",Ke),t.removeEventListener("mousemove",We),t.removeEventListener("mouseup",Ge),t.removeEventListener("touchmove",We),t.removeEventListener("touchend",Ge)}}),[Ge,We,Ke]);var Je=v.default((function(e){G&&G(e),e.preventDefault();var t=L(e,pe),a=He({finger:t,values:je,source:Ae}),r=a.newValue,n=a.activeIndex;j({sliderRef:De,activeIndex:n,setActive:ge}),Ee(r),H&&H(e,r);var l=f.default(De.current);l.addEventListener("mousemove",We),l.addEventListener("mouseup",Ge)})),Qe=A(Ce?je[0]:U,U,_),Ze=A(je[je.length-1],U,_)-Qe,et=r.default({},T[Xe].offset(Qe),T[Xe].leap(Ze));return x.createElement($,r.default({ref:Ne,className:i.clsx(g.root,g["color".concat(p.default(R))],q,I&&g.disabled,Te.length>0&&Te.some((function(e){return e.label}))&&g.marked,!1===le&&g.trackFalse,"vertical"===J&&g.vertical,"inverted"===le&&g.trackInverted),onMouseDown:Je},ve),x.createElement("span",{className:g.rail}),x.createElement("span",{className:g.track,style:et}),x.createElement("input",{value:je.join(","),name:X,type:"hidden"}),Te.map((function(e,t){var a,r=A(e.value,U,_),n=T[Xe].offset(r);return a=!1===le?-1!==je.indexOf(e.value):"normal"===le&&(Ce?e.value>=je[0]&&e.value<=je[je.length-1]:e.value<=je[0])||"inverted"===le&&(Ce?e.value<=je[0]||e.value>=je[je.length-1]:e.value>=je[0]),x.createElement(x.Fragment,{key:e.value},x.createElement("span",{style:n,"data-index":t,className:i.clsx(g.mark,a&&g.markActive)}),null!=e.label?x.createElement("span",{"aria-hidden":!0,"data-index":t,style:n,className:i.clsx(g.markLabel,a&&g.markLabelActive)},e.label):null)})),je.map((function(e,t){var a=A(e,U,_),r=T[Xe].offset(a);return x.createElement(ue,{key:t,valueLabelFormat:fe,valueLabelDisplay:ce,className:g.valueLabel,value:"function"==typeof fe?fe(Z(e),t):fe,index:t,open:ye===t||he===t||"on"===ce,disabled:I},x.createElement(re,{className:i.clsx(g.thumb,g["thumbColor".concat(p.default(R))],he===t&&g.active,I&&g.disabled,$e===t&&g.focusVisible),tabIndex:I?null:0,role:"slider",style:r,"data-index":t,"aria-label":N?N(t):o,"aria-labelledby":u,"aria-orientation":J,"aria-valuemax":Z(_),"aria-valuemin":Z(U),"aria-valuenow":Z(e),"aria-valuetext":F?F(Z(e),t):c,onKeyDown:Ye,onFocus:Fe,onBlur:Pe,onMouseOver:ze,onMouseLeave:Be}))})))}));"production"!==process.env.NODE_ENV&&(O.propTypes={"aria-label":o.default(l.default.string,(function(e){return Array.isArray(e.value||e.defaultValue)&&null!=e["aria-label"]?new Error("Material-UI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider."):null})),"aria-labelledby":l.default.string,"aria-valuetext":o.default(l.default.string,(function(e){return Array.isArray(e.value||e.defaultValue)&&null!=e["aria-valuetext"]?new Error("Material-UI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider."):null})),classes:l.default.object.isRequired,className:l.default.string,color:l.default.oneOf(["primary","secondary"]),component:l.default.elementType,defaultValue:l.default.oneOfType([l.default.number,l.default.arrayOf(l.default.number)]),disabled:l.default.bool,getAriaLabel:l.default.func,getAriaValueText:l.default.func,marks:l.default.oneOfType([l.default.bool,l.default.array]),max:l.default.number,min:l.default.number,name:l.default.string,onChange:l.default.func,onChangeCommitted:l.default.func,onMouseDown:l.default.func,orientation:l.default.oneOf(["horizontal","vertical"]),scale:l.default.func,step:l.default.number,ThumbComponent:l.default.elementType,track:l.default.oneOf(["normal",!1,"inverted"]),value:l.default.oneOfType([l.default.number,l.default.arrayOf(l.default.number)]),ValueLabelComponent:l.default.elementType,valueLabelDisplay:l.default.oneOf(["on","auto","off"]),valueLabelFormat:l.default.oneOfType([l.default.string,l.default.func])}),u.default(q,{name:"MuiSlider"})(O),exports.styles=q;
|
|
2
|
+
//# sourceMappingURL=Slider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Slider/Slider.js"],"sourcesContent":["import _toConsumableArray from \"@babel/runtime/helpers/esm/toConsumableArray\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport useTheme from '../styles/useTheme';\nimport { alpha, lighten, darken } from '../styles/colorManipulator';\nimport useIsFocusVisible from '../utils/useIsFocusVisible';\nimport ownerDocument from '../utils/ownerDocument';\nimport useEventCallback from '../utils/useEventCallback';\nimport useForkRef from '../utils/useForkRef';\nimport capitalize from '../utils/capitalize';\nimport useControlled from '../utils/useControlled';\nimport ValueLabel from './ValueLabel';\n\nfunction asc(a, b) {\n return a - b;\n}\n\nfunction clamp(value, min, max) {\n return Math.min(Math.max(min, value), max);\n}\n\nfunction findClosest(values, currentValue) {\n var _values$reduce = values.reduce(function (acc, value, index) {\n var distance = Math.abs(currentValue - value);\n\n if (acc === null || distance < acc.distance || distance === acc.distance) {\n return {\n distance: distance,\n index: index\n };\n }\n\n return acc;\n }, null),\n closestIndex = _values$reduce.index;\n\n return closestIndex;\n}\n\nfunction trackFinger(event, touchId) {\n if (touchId.current !== undefined && event.changedTouches) {\n for (var i = 0; i < event.changedTouches.length; i += 1) {\n var touch = event.changedTouches[i];\n\n if (touch.identifier === touchId.current) {\n return {\n x: touch.clientX,\n y: touch.clientY\n };\n }\n }\n\n return false;\n }\n\n return {\n x: event.clientX,\n y: event.clientY\n };\n}\n\nfunction valueToPercent(value, min, max) {\n return (value - min) * 100 / (max - min);\n}\n\nfunction percentToValue(percent, min, max) {\n return (max - min) * percent + min;\n}\n\nfunction getDecimalPrecision(num) {\n // This handles the case when num is very small (0.00000001), js will turn this into 1e-8.\n // When num is bigger than 1 or less than -1 it won't get converted to this notation so it's fine.\n if (Math.abs(num) < 1) {\n var parts = num.toExponential().split('e-');\n var matissaDecimalPart = parts[0].split('.')[1];\n return (matissaDecimalPart ? matissaDecimalPart.length : 0) + parseInt(parts[1], 10);\n }\n\n var decimalPart = num.toString().split('.')[1];\n return decimalPart ? decimalPart.length : 0;\n}\n\nfunction roundValueToStep(value, step, min) {\n var nearest = Math.round((value - min) / step) * step + min;\n return Number(nearest.toFixed(getDecimalPrecision(step)));\n}\n\nfunction setValueIndex(_ref) {\n var values = _ref.values,\n source = _ref.source,\n newValue = _ref.newValue,\n index = _ref.index;\n\n // Performance shortcut\n if (values[index] === newValue) {\n return source;\n }\n\n var output = values.slice();\n output[index] = newValue;\n return output;\n}\n\nfunction focusThumb(_ref2) {\n var sliderRef = _ref2.sliderRef,\n activeIndex = _ref2.activeIndex,\n setActive = _ref2.setActive;\n\n if (!sliderRef.current.contains(document.activeElement) || Number(document.activeElement.getAttribute('data-index')) !== activeIndex) {\n sliderRef.current.querySelector(\"[role=\\\"slider\\\"][data-index=\\\"\".concat(activeIndex, \"\\\"]\")).focus();\n }\n\n if (setActive) {\n setActive(activeIndex);\n }\n}\n\nvar axisProps = {\n horizontal: {\n offset: function offset(percent) {\n return {\n left: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n 'horizontal-reverse': {\n offset: function offset(percent) {\n return {\n right: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n width: \"\".concat(percent, \"%\")\n };\n }\n },\n vertical: {\n offset: function offset(percent) {\n return {\n bottom: \"\".concat(percent, \"%\")\n };\n },\n leap: function leap(percent) {\n return {\n height: \"\".concat(percent, \"%\")\n };\n }\n }\n};\n\nvar Identity = function Identity(x) {\n return x;\n};\n\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n height: 2,\n width: '100%',\n boxSizing: 'content-box',\n padding: '13px 0',\n display: 'inline-block',\n position: 'relative',\n cursor: 'pointer',\n touchAction: 'none',\n color: theme.palette.primary.main,\n WebkitTapHighlightColor: 'transparent',\n '&$disabled': {\n pointerEvents: 'none',\n cursor: 'default',\n color: theme.palette.grey[400]\n },\n '&$vertical': {\n width: 2,\n height: '100%',\n padding: '0 13px'\n },\n // The primary input mechanism of the device includes a pointing device of limited accuracy.\n '@media (pointer: coarse)': {\n // Reach 42px touch target, about ~8mm on screen.\n padding: '20px 0',\n '&$vertical': {\n padding: '0 20px'\n }\n },\n '@media print': {\n colorAdjust: 'exact'\n }\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n color: theme.palette.secondary.main\n },\n\n /* Styles applied to the root element if `marks` is provided with at least one label. */\n marked: {\n marginBottom: 20,\n '&$vertical': {\n marginBottom: 'auto',\n marginRight: 20\n }\n },\n\n /* Pseudo-class applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Pseudo-class applied to the root and thumb element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the rail element. */\n rail: {\n display: 'block',\n position: 'absolute',\n width: '100%',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n opacity: 0.38,\n '$vertical &': {\n height: '100%',\n width: 2\n }\n },\n\n /* Styles applied to the track element. */\n track: {\n display: 'block',\n position: 'absolute',\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor',\n '$vertical &': {\n width: 2\n }\n },\n\n /* Styles applied to the track element if `track={false}`. */\n trackFalse: {\n '& $track': {\n display: 'none'\n }\n },\n\n /* Styles applied to the track element if `track=\"inverted\"`. */\n trackInverted: {\n '& $track': {\n backgroundColor: // Same logic as the LinearProgress track color\n theme.palette.type === 'light' ? lighten(theme.palette.primary.main, 0.62) : darken(theme.palette.primary.main, 0.5)\n },\n '& $rail': {\n opacity: 1\n }\n },\n\n /* Styles applied to the thumb element. */\n thumb: {\n position: 'absolute',\n width: 12,\n height: 12,\n marginLeft: -6,\n marginTop: -5,\n boxSizing: 'border-box',\n borderRadius: '50%',\n outline: 0,\n backgroundColor: 'currentColor',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n transition: theme.transitions.create(['box-shadow'], {\n duration: theme.transitions.duration.shortest\n }),\n '&::after': {\n position: 'absolute',\n content: '\"\"',\n borderRadius: '50%',\n // reach 42px hit target (2 * 15 + thumb diameter)\n left: -15,\n top: -15,\n right: -15,\n bottom: -15\n },\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(alpha(theme.palette.primary.main, 0.16)),\n '@media (hover: none)': {\n boxShadow: 'none'\n }\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(alpha(theme.palette.primary.main, 0.16))\n },\n '&$disabled': {\n width: 8,\n height: 8,\n marginLeft: -4,\n marginTop: -3,\n '&:hover': {\n boxShadow: 'none'\n }\n },\n '$vertical &': {\n marginLeft: -5,\n marginBottom: -6\n },\n '$vertical &$disabled': {\n marginLeft: -3,\n marginBottom: -4\n }\n },\n\n /* Styles applied to the thumb element if `color=\"primary\"`. */\n thumbColorPrimary: {// TODO v5: move the style here\n },\n\n /* Styles applied to the thumb element if `color=\"secondary\"`. */\n thumbColorSecondary: {\n '&$focusVisible,&:hover': {\n boxShadow: \"0px 0px 0px 8px \".concat(alpha(theme.palette.secondary.main, 0.16))\n },\n '&$active': {\n boxShadow: \"0px 0px 0px 14px \".concat(alpha(theme.palette.secondary.main, 0.16))\n }\n },\n\n /* Pseudo-class applied to the thumb element if it's active. */\n active: {},\n\n /* Pseudo-class applied to the thumb element if keyboard focused. */\n focusVisible: {},\n\n /* Styles applied to the thumb label element. */\n valueLabel: {\n // IE 11 centering bug, to remove from the customization demos once no longer supported\n left: 'calc(-50% - 4px)'\n },\n\n /* Styles applied to the mark element. */\n mark: {\n position: 'absolute',\n width: 2,\n height: 2,\n borderRadius: 1,\n backgroundColor: 'currentColor'\n },\n\n /* Styles applied to the mark element if active (depending on the value). */\n markActive: {\n backgroundColor: theme.palette.background.paper,\n opacity: 0.8\n },\n\n /* Styles applied to the mark label element. */\n markLabel: _extends({}, theme.typography.body2, {\n color: theme.palette.text.secondary,\n position: 'absolute',\n top: 26,\n transform: 'translateX(-50%)',\n whiteSpace: 'nowrap',\n '$vertical &': {\n top: 'auto',\n left: 26,\n transform: 'translateY(50%)'\n },\n '@media (pointer: coarse)': {\n top: 40,\n '$vertical &': {\n left: 31\n }\n }\n }),\n\n /* Styles applied to the mark label element if active (depending on the value). */\n markLabelActive: {\n color: theme.palette.text.primary\n }\n };\n};\nvar Slider = /*#__PURE__*/React.forwardRef(function Slider(props, ref) {\n var ariaLabel = props['aria-label'],\n ariaLabelledby = props['aria-labelledby'],\n ariaValuetext = props['aria-valuetext'],\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'span' : _props$component,\n defaultValue = props.defaultValue,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n getAriaLabel = props.getAriaLabel,\n getAriaValueText = props.getAriaValueText,\n _props$marks = props.marks,\n marksProp = _props$marks === void 0 ? false : _props$marks,\n _props$max = props.max,\n max = _props$max === void 0 ? 100 : _props$max,\n _props$min = props.min,\n min = _props$min === void 0 ? 0 : _props$min,\n name = props.name,\n onChange = props.onChange,\n onChangeCommitted = props.onChangeCommitted,\n onMouseDown = props.onMouseDown,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n _props$scale = props.scale,\n scale = _props$scale === void 0 ? Identity : _props$scale,\n _props$step = props.step,\n step = _props$step === void 0 ? 1 : _props$step,\n _props$ThumbComponent = props.ThumbComponent,\n ThumbComponent = _props$ThumbComponent === void 0 ? 'span' : _props$ThumbComponent,\n _props$track = props.track,\n track = _props$track === void 0 ? 'normal' : _props$track,\n valueProp = props.value,\n _props$ValueLabelComp = props.ValueLabelComponent,\n ValueLabelComponent = _props$ValueLabelComp === void 0 ? ValueLabel : _props$ValueLabelComp,\n _props$valueLabelDisp = props.valueLabelDisplay,\n valueLabelDisplay = _props$valueLabelDisp === void 0 ? 'off' : _props$valueLabelDisp,\n _props$valueLabelForm = props.valueLabelFormat,\n valueLabelFormat = _props$valueLabelForm === void 0 ? Identity : _props$valueLabelForm,\n other = _objectWithoutProperties(props, [\"aria-label\", \"aria-labelledby\", \"aria-valuetext\", \"classes\", \"className\", \"color\", \"component\", \"defaultValue\", \"disabled\", \"getAriaLabel\", \"getAriaValueText\", \"marks\", \"max\", \"min\", \"name\", \"onChange\", \"onChangeCommitted\", \"onMouseDown\", \"orientation\", \"scale\", \"step\", \"ThumbComponent\", \"track\", \"value\", \"ValueLabelComponent\", \"valueLabelDisplay\", \"valueLabelFormat\"]);\n\n var theme = useTheme();\n var touchId = React.useRef(); // We can't use the :active browser pseudo-classes.\n // - The active state isn't triggered when clicking on the rail.\n // - The active state isn't transfered when inversing a range slider.\n\n var _React$useState = React.useState(-1),\n active = _React$useState[0],\n setActive = _React$useState[1];\n\n var _React$useState2 = React.useState(-1),\n open = _React$useState2[0],\n setOpen = _React$useState2[1];\n\n var _useControlled = useControlled({\n controlled: valueProp,\n default: defaultValue,\n name: 'Slider'\n }),\n _useControlled2 = _slicedToArray(_useControlled, 2),\n valueDerived = _useControlled2[0],\n setValueState = _useControlled2[1];\n\n var range = Array.isArray(valueDerived);\n var values = range ? valueDerived.slice().sort(asc) : [valueDerived];\n values = values.map(function (value) {\n return clamp(value, min, max);\n });\n var marks = marksProp === true && step !== null ? _toConsumableArray(Array(Math.floor((max - min) / step) + 1)).map(function (_, index) {\n return {\n value: min + step * index\n };\n }) : marksProp || [];\n\n var _useIsFocusVisible = useIsFocusVisible(),\n isFocusVisible = _useIsFocusVisible.isFocusVisible,\n onBlurVisible = _useIsFocusVisible.onBlurVisible,\n focusVisibleRef = _useIsFocusVisible.ref;\n\n var _React$useState3 = React.useState(-1),\n focusVisible = _React$useState3[0],\n setFocusVisible = _React$useState3[1];\n\n var sliderRef = React.useRef();\n var handleFocusRef = useForkRef(focusVisibleRef, sliderRef);\n var handleRef = useForkRef(ref, handleFocusRef);\n var handleFocus = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n\n if (isFocusVisible(event)) {\n setFocusVisible(index);\n }\n\n setOpen(index);\n });\n var handleBlur = useEventCallback(function () {\n if (focusVisible !== -1) {\n setFocusVisible(-1);\n onBlurVisible();\n }\n\n setOpen(-1);\n });\n var handleMouseOver = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n setOpen(index);\n });\n var handleMouseLeave = useEventCallback(function () {\n setOpen(-1);\n });\n var isRtl = theme.direction === 'rtl';\n var handleKeyDown = useEventCallback(function (event) {\n var index = Number(event.currentTarget.getAttribute('data-index'));\n var value = values[index];\n var tenPercents = (max - min) / 10;\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var marksIndex = marksValues.indexOf(value);\n var newValue;\n var increaseKey = isRtl ? 'ArrowLeft' : 'ArrowRight';\n var decreaseKey = isRtl ? 'ArrowRight' : 'ArrowLeft';\n\n switch (event.key) {\n case 'Home':\n newValue = min;\n break;\n\n case 'End':\n newValue = max;\n break;\n\n case 'PageUp':\n if (step) {\n newValue = value + tenPercents;\n }\n\n break;\n\n case 'PageDown':\n if (step) {\n newValue = value - tenPercents;\n }\n\n break;\n\n case increaseKey:\n case 'ArrowUp':\n if (step) {\n newValue = value + step;\n } else {\n newValue = marksValues[marksIndex + 1] || marksValues[marksValues.length - 1];\n }\n\n break;\n\n case decreaseKey:\n case 'ArrowDown':\n if (step) {\n newValue = value - step;\n } else {\n newValue = marksValues[marksIndex - 1] || marksValues[0];\n }\n\n break;\n\n default:\n return;\n } // Prevent scroll of the page\n\n\n event.preventDefault();\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n }\n\n newValue = clamp(newValue, min, max);\n\n if (range) {\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values,\n source: valueDerived,\n newValue: newValue,\n index: index\n }).sort(asc);\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: newValue.indexOf(previousValue)\n });\n }\n\n setValueState(newValue);\n setFocusVisible(index);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n });\n var previousIndex = React.useRef();\n var axis = orientation;\n\n if (isRtl && orientation !== \"vertical\") {\n axis += '-reverse';\n }\n\n var getFingerNewValue = function getFingerNewValue(_ref3) {\n var finger = _ref3.finger,\n _ref3$move = _ref3.move,\n move = _ref3$move === void 0 ? false : _ref3$move,\n values2 = _ref3.values,\n source = _ref3.source;\n var slider = sliderRef.current;\n\n var _slider$getBoundingCl = slider.getBoundingClientRect(),\n width = _slider$getBoundingCl.width,\n height = _slider$getBoundingCl.height,\n bottom = _slider$getBoundingCl.bottom,\n left = _slider$getBoundingCl.left;\n\n var percent;\n\n if (axis.indexOf('vertical') === 0) {\n percent = (bottom - finger.y) / height;\n } else {\n percent = (finger.x - left) / width;\n }\n\n if (axis.indexOf('-reverse') !== -1) {\n percent = 1 - percent;\n }\n\n var newValue;\n newValue = percentToValue(percent, min, max);\n\n if (step) {\n newValue = roundValueToStep(newValue, step, min);\n } else {\n var marksValues = marks.map(function (mark) {\n return mark.value;\n });\n var closestIndex = findClosest(marksValues, newValue);\n newValue = marksValues[closestIndex];\n }\n\n newValue = clamp(newValue, min, max);\n var activeIndex = 0;\n\n if (range) {\n if (!move) {\n activeIndex = findClosest(values2, newValue);\n } else {\n activeIndex = previousIndex.current;\n }\n\n var previousValue = newValue;\n newValue = setValueIndex({\n values: values2,\n source: source,\n newValue: newValue,\n index: activeIndex\n }).sort(asc);\n activeIndex = newValue.indexOf(previousValue);\n previousIndex.current = activeIndex;\n }\n\n return {\n newValue: newValue,\n activeIndex: activeIndex\n };\n };\n\n var handleTouchMove = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue = getFingerNewValue({\n finger: finger,\n move: true,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue.newValue,\n activeIndex = _getFingerNewValue.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n });\n var handleTouchEnd = useEventCallback(function (event) {\n var finger = trackFinger(event, touchId);\n\n if (!finger) {\n return;\n }\n\n var _getFingerNewValue2 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue2.newValue;\n\n setActive(-1);\n\n if (event.type === 'touchend') {\n setOpen(-1);\n }\n\n if (onChangeCommitted) {\n onChangeCommitted(event, newValue);\n }\n\n touchId.current = undefined;\n var doc = ownerDocument(sliderRef.current);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n });\n var handleTouchStart = useEventCallback(function (event) {\n // Workaround as Safari has partial support for touchAction: 'none'.\n event.preventDefault();\n var touch = event.changedTouches[0];\n\n if (touch != null) {\n // A number that uniquely identifies the current finger in the touch session.\n touchId.current = touch.identifier;\n }\n\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue3 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue3.newValue,\n activeIndex = _getFingerNewValue3.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('touchmove', handleTouchMove);\n doc.addEventListener('touchend', handleTouchEnd);\n });\n React.useEffect(function () {\n var slider = sliderRef.current;\n slider.addEventListener('touchstart', handleTouchStart);\n var doc = ownerDocument(slider);\n return function () {\n slider.removeEventListener('touchstart', handleTouchStart);\n doc.removeEventListener('mousemove', handleTouchMove);\n doc.removeEventListener('mouseup', handleTouchEnd);\n doc.removeEventListener('touchmove', handleTouchMove);\n doc.removeEventListener('touchend', handleTouchEnd);\n };\n }, [handleTouchEnd, handleTouchMove, handleTouchStart]);\n var handleMouseDown = useEventCallback(function (event) {\n if (onMouseDown) {\n onMouseDown(event);\n }\n\n event.preventDefault();\n var finger = trackFinger(event, touchId);\n\n var _getFingerNewValue4 = getFingerNewValue({\n finger: finger,\n values: values,\n source: valueDerived\n }),\n newValue = _getFingerNewValue4.newValue,\n activeIndex = _getFingerNewValue4.activeIndex;\n\n focusThumb({\n sliderRef: sliderRef,\n activeIndex: activeIndex,\n setActive: setActive\n });\n setValueState(newValue);\n\n if (onChange) {\n onChange(event, newValue);\n }\n\n var doc = ownerDocument(sliderRef.current);\n doc.addEventListener('mousemove', handleTouchMove);\n doc.addEventListener('mouseup', handleTouchEnd);\n });\n var trackOffset = valueToPercent(range ? values[0] : min, min, max);\n var trackLeap = valueToPercent(values[values.length - 1], min, max) - trackOffset;\n\n var trackStyle = _extends({}, axisProps[axis].offset(trackOffset), axisProps[axis].leap(trackLeap));\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n ref: handleRef,\n className: clsx(classes.root, classes[\"color\".concat(capitalize(color))], className, disabled && classes.disabled, marks.length > 0 && marks.some(function (mark) {\n return mark.label;\n }) && classes.marked, track === false && classes.trackFalse, orientation === 'vertical' && classes.vertical, track === 'inverted' && classes.trackInverted),\n onMouseDown: handleMouseDown\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.rail\n }), /*#__PURE__*/React.createElement(\"span\", {\n className: classes.track,\n style: trackStyle\n }), /*#__PURE__*/React.createElement(\"input\", {\n value: values.join(','),\n name: name,\n type: \"hidden\"\n }), marks.map(function (mark, index) {\n var percent = valueToPercent(mark.value, min, max);\n var style = axisProps[axis].offset(percent);\n var markActive;\n\n if (track === false) {\n markActive = values.indexOf(mark.value) !== -1;\n } else {\n markActive = track === 'normal' && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === 'inverted' && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);\n }\n\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: mark.value\n }, /*#__PURE__*/React.createElement(\"span\", {\n style: style,\n \"data-index\": index,\n className: clsx(classes.mark, markActive && classes.markActive)\n }), mark.label != null ? /*#__PURE__*/React.createElement(\"span\", {\n \"aria-hidden\": true,\n \"data-index\": index,\n style: style,\n className: clsx(classes.markLabel, markActive && classes.markLabelActive)\n }, mark.label) : null);\n }), values.map(function (value, index) {\n var percent = valueToPercent(value, min, max);\n var style = axisProps[axis].offset(percent);\n return /*#__PURE__*/React.createElement(ValueLabelComponent, {\n key: index,\n valueLabelFormat: valueLabelFormat,\n valueLabelDisplay: valueLabelDisplay,\n className: classes.valueLabel,\n value: typeof valueLabelFormat === 'function' ? valueLabelFormat(scale(value), index) : valueLabelFormat,\n index: index,\n open: open === index || active === index || valueLabelDisplay === 'on',\n disabled: disabled\n }, /*#__PURE__*/React.createElement(ThumbComponent, {\n className: clsx(classes.thumb, classes[\"thumbColor\".concat(capitalize(color))], active === index && classes.active, disabled && classes.disabled, focusVisible === index && classes.focusVisible),\n tabIndex: disabled ? null : 0,\n role: \"slider\",\n style: style,\n \"data-index\": index,\n \"aria-label\": getAriaLabel ? getAriaLabel(index) : ariaLabel,\n \"aria-labelledby\": ariaLabelledby,\n \"aria-orientation\": orientation,\n \"aria-valuemax\": scale(max),\n \"aria-valuemin\": scale(min),\n \"aria-valuenow\": scale(value),\n \"aria-valuetext\": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,\n onKeyDown: handleKeyDown,\n onFocus: handleFocus,\n onBlur: handleBlur,\n onMouseOver: handleMouseOver,\n onMouseLeave: handleMouseLeave\n }));\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Slider.propTypes = {\n /**\n * The label of the slider.\n */\n 'aria-label': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-label'] != null) {\n return new Error('Material-UI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * The id of the element containing a label for the slider.\n */\n 'aria-labelledby': PropTypes.string,\n\n /**\n * A string value that provides a user-friendly name for the current value of the slider.\n */\n 'aria-valuetext': chainPropTypes(PropTypes.string, function (props) {\n var range = Array.isArray(props.value || props.defaultValue);\n\n if (range && props['aria-valuetext'] != null) {\n return new Error('Material-UI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.');\n }\n\n return null;\n }),\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['primary', 'secondary']),\n\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes\n /* @typescript-to-proptypes-ignore */\n .elementType,\n\n /**\n * The default element value. Use when the component is not controlled.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * If `true`, the slider will be disabled.\n */\n disabled: PropTypes.bool,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.\n *\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaLabel: PropTypes.func,\n\n /**\n * Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.\n *\n * @param {number} value The thumb label's value to format.\n * @param {number} index The thumb label's index to format.\n * @returns {string}\n */\n getAriaValueText: PropTypes.func,\n\n /**\n * Marks indicate predetermined values to which the user can move the slider.\n * If `true` the marks will be spaced according the value of the `step` prop.\n * If an array, it should contain objects with `value` and an optional `label` keys.\n */\n marks: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),\n\n /**\n * The maximum allowed value of the slider.\n * Should not be equal to min.\n */\n max: PropTypes.number,\n\n /**\n * The minimum allowed value of the slider.\n * Should not be equal to max.\n */\n min: PropTypes.number,\n\n /**\n * Name attribute of the hidden `input` element.\n */\n name: PropTypes.string,\n\n /**\n * Callback function that is fired when the slider's value changed.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChange: PropTypes.func,\n\n /**\n * Callback function that is fired when the `mouseup` is triggered.\n *\n * @param {object} event The event source of the callback.\n * @param {number | number[]} value The new value.\n */\n onChangeCommitted: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseDown: PropTypes.func,\n\n /**\n * The slider orientation.\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical']),\n\n /**\n * A transformation function, to change the scale of the slider.\n */\n scale: PropTypes.func,\n\n /**\n * The granularity with which the slider can step through values. (A \"discrete\" slider.)\n * The `min` prop serves as the origin for the valid values.\n * We recommend (max - min) to be evenly divisible by the step.\n *\n * When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.\n */\n step: PropTypes.number,\n\n /**\n * The component used to display the value label.\n */\n ThumbComponent: PropTypes.elementType,\n\n /**\n * The track presentation:\n *\n * - `normal` the track will render a bar representing the slider value.\n * - `inverted` the track will render a bar representing the remaining slider value.\n * - `false` the track will render without a bar.\n */\n track: PropTypes.oneOf(['normal', false, 'inverted']),\n\n /**\n * The value of the slider.\n * For ranged sliders, provide an array with two values.\n */\n value: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)]),\n\n /**\n * The value label component.\n */\n ValueLabelComponent: PropTypes.elementType,\n\n /**\n * Controls when the value label is displayed:\n *\n * - `auto` the value label will display when the thumb is hovered or focused.\n * - `on` will display persistently.\n * - `off` will never display.\n */\n valueLabelDisplay: PropTypes.oneOf(['on', 'auto', 'off']),\n\n /**\n * The format function the value label's value.\n *\n * When a function is provided, it should have the following signature:\n *\n * - {number} value The value label's value to format\n * - {number} index The value label's index to format\n */\n valueLabelFormat: PropTypes.oneOfType([PropTypes.string, PropTypes.func])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSlider'\n})(Slider);"],"names":["asc","a","b","clamp","value","min","max","Math","findClosest","values","currentValue","_values$reduce","reduce","acc","index","distance","abs","trackFinger","event","touchId","undefined","current","changedTouches","i","length","touch","identifier","x","clientX","y","clientY","valueToPercent","roundValueToStep","step","nearest","round","Number","toFixed","num","parts","toExponential","split","matissaDecimalPart","parseInt","decimalPart","toString","getDecimalPrecision","setValueIndex","_ref","source","newValue","output","slice","focusThumb","_ref2","sliderRef","activeIndex","setActive","contains","document","activeElement","getAttribute","querySelector","concat","focus","axisProps","horizontal","offset","percent","left","leap","width","right","vertical","bottom","height","Identity","styles","theme","root","boxSizing","padding","display","position","cursor","touchAction","color","palette","primary","main","WebkitTapHighlightColor","pointerEvents","grey","colorAdjust","colorPrimary","colorSecondary","secondary","marked","marginBottom","marginRight","disabled","rail","borderRadius","backgroundColor","opacity","track","trackFalse","trackInverted","type","lighten","darken","thumb","marginLeft","marginTop","outline","alignItems","justifyContent","transition","transitions","create","duration","shortest","content","top","boxShadow","alpha","thumbColorPrimary","thumbColorSecondary","active","focusVisible","valueLabel","mark","markActive","background","paper","markLabel","_extends","typography","body2","text","transform","whiteSpace","markLabelActive","Slider","React","forwardRef","props","ref","ariaLabel","ariaLabelledby","ariaValuetext","classes","className","_props$color","_props$component","component","Component","defaultValue","_props$disabled","getAriaLabel","getAriaValueText","_props$marks","marks","marksProp","_props$max","_props$min","name","onChange","onChangeCommitted","onMouseDown","_props$orientation","orientation","_props$scale","scale","_props$step","_props$ThumbComponent","ThumbComponent","_props$track","valueProp","_props$ValueLabelComp","ValueLabelComponent","ValueLabel","_props$valueLabelDisp","valueLabelDisplay","_props$valueLabelForm","valueLabelFormat","other","_objectWithoutProperties","useTheme","useRef","_React$useState","useState","_React$useState2","open","setOpen","_useControlled","useControlled","controlled","default","_useControlled2","_slicedToArray","valueDerived","setValueState","range","Array","isArray","sort","map","_toConsumableArray","floor","_","_useIsFocusVisible","useIsFocusVisible","isFocusVisible","onBlurVisible","focusVisibleRef","_React$useState3","setFocusVisible","handleFocusRef","useForkRef","handleRef","handleFocus","useEventCallback","currentTarget","handleBlur","handleMouseOver","handleMouseLeave","isRtl","direction","handleKeyDown","tenPercents","marksValues","marksIndex","indexOf","increaseKey","decreaseKey","key","preventDefault","previousValue","previousIndex","axis","getFingerNewValue","_ref3","finger","_ref3$move","move","values2","_slider$getBoundingCl","getBoundingClientRect","percentToValue","handleTouchMove","_getFingerNewValue","handleTouchEnd","doc","ownerDocument","removeEventListener","handleTouchStart","_getFingerNewValue3","addEventListener","useEffect","slider","handleMouseDown","_getFingerNewValue4","trackOffset","trackLeap","trackStyle","createElement","clsx","capitalize","some","label","style","join","Fragment","tabIndex","role","onKeyDown","onFocus","onBlur","onMouseOver","onMouseLeave","process","env","NODE_ENV","propTypes","chainPropTypes","PropTypes","string","Error","object","isRequired","oneOf","elementType","oneOfType","number","arrayOf","bool","func","array","withStyles"],"mappings":"i6CAmBA,SAASA,EAAIC,EAAGC,GACd,OAAOD,EAAIC,CACb,CAEA,SAASC,EAAMC,EAAOC,EAAKC,GACzB,OAAOC,KAAKF,IAAIE,KAAKD,IAAID,EAAKD,GAAQE,EACxC,CAEA,SAASE,EAAYC,EAAQC,GAC3B,IAAIC,EAAiBF,EAAOG,QAAO,SAAUC,EAAKT,EAAOU,GACvD,IAAIC,EAAWR,KAAKS,IAAIN,EAAeN,GAEvC,OAAY,OAARS,GAAgBE,EAAWF,EAAIE,UAAYA,IAAaF,EAAIE,SACvD,CACLA,SAAUA,EACVD,MAAOA,GAIJD,CACR,GAAE,MAGH,OAFmBF,EAAeG,KAGpC,CAEA,SAASG,EAAYC,EAAOC,GAC1B,QAAwBC,IAApBD,EAAQE,SAAyBH,EAAMI,eAAgB,CACzD,IAAK,IAAIC,EAAI,EAAGA,EAAIL,EAAMI,eAAeE,OAAQD,GAAK,EAAG,CACvD,IAAIE,EAAQP,EAAMI,eAAeC,GAEjC,GAAIE,EAAMC,aAAeP,EAAQE,QAC/B,MAAO,CACLM,EAAGF,EAAMG,QACTC,EAAGJ,EAAMK,QAGd,CAED,OAAO,CACR,CAED,MAAO,CACLH,EAAGT,EAAMU,QACTC,EAAGX,EAAMY,QAEb,CAEA,SAASC,EAAe3B,EAAOC,EAAKC,GAClC,OAAuB,KAAfF,EAAQC,IAAcC,EAAMD,EACtC,CAmBA,SAAS2B,EAAiB5B,EAAO6B,EAAM5B,GACrC,IAAI6B,EAAU3B,KAAK4B,OAAO/B,EAAQC,GAAO4B,GAAQA,EAAO5B,EACxD,OAAO+B,OAAOF,EAAQG,QAfxB,SAA6BC,GAG3B,GAAI/B,KAA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,KAAMwH,EAAS,QAACC,OAQhBxH,SAAUuH,EAAS,QAACW,KAQpBjI,kBAAmBsH,EAAS,QAACW,KAK7BhI,YAAaqH,EAAS,QAACW,KAKvB9H,YAAamH,EAAAA,QAAUK,MAAM,CAAC,aAAc,aAK5CtH,MAAOiH,EAAS,QAACW,KASjBxQ,KAAM6P,EAAS,QAACQ,OAKhBtH,eAAgB8G,EAAS,QAACM,YAS1B3L,MAAOqL,EAAS,QAACK,MAAM,CAAC,UAAU,EAAO,aAMzC/R,MAAO0R,EAAS,QAACO,UAAU,CAACP,UAAUQ,OAAQR,EAAS,QAACS,QAAQT,EAAAA,QAAUQ,UAK1ElH,oBAAqB0G,EAAS,QAACM,YAS/B7G,kBAAmBuG,EAAS,QAACK,MAAM,CAAC,KAAM,OAAQ,QAUlD1G,iBAAkBqG,EAAS,QAACO,UAAU,CAACP,EAAS,QAACC,OAAQD,EAAAA,QAAUW,SAEtDE,EAAU,QAAC9N,EAAQ,CAChCyF,KAAM,aADOqI,CAEZ5J"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("react"),r=require("../../../../clsx/dist/clsx.m.js"),a=require("../styles/withStyles.js");function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=s(t);var o=a.default((function(t){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:e.default({zIndex:1},t.typography.body2,{fontSize:t.typography.pxToRem(12),lineHeight:1.2,transition:t.transitions.create(["transform"],{duration:t.transitions.duration.shortest}),top:-34,transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:t.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,a=e.classes,s=e.className,o=e.open,l=e.value,c=e.valueLabelDisplay;return"off"===c?t:n.cloneElement(t,{className:r.clsx(t.props.className,(o||"on"===c)&&a.open,a.thumb)},n.createElement("span",{className:r.clsx(a.offset,s)},n.createElement("span",{className:a.circle},n.createElement("span",{className:a.label},l))))}));exports.default=o;
|
|
2
|
+
//# sourceMappingURL=ValueLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValueLabel.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Slider/ValueLabel.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\n\nvar styles = function styles(theme) {\n return {\n thumb: {\n '&$open': {\n '& $offset': {\n transform: 'scale(1) translateY(-10px)'\n }\n }\n },\n open: {},\n offset: _extends({\n zIndex: 1\n }, theme.typography.body2, {\n fontSize: theme.typography.pxToRem(12),\n lineHeight: 1.2,\n transition: theme.transitions.create(['transform'], {\n duration: theme.transitions.duration.shortest\n }),\n top: -34,\n transformOrigin: 'bottom center',\n transform: 'scale(0)',\n position: 'absolute'\n }),\n circle: {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n width: 32,\n height: 32,\n borderRadius: '50% 50% 50% 0',\n backgroundColor: 'currentColor',\n transform: 'rotate(-45deg)'\n },\n label: {\n color: theme.palette.primary.contrastText,\n transform: 'rotate(45deg)'\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\n\nfunction ValueLabel(props) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n open = props.open,\n value = props.value,\n valueLabelDisplay = props.valueLabelDisplay;\n\n if (valueLabelDisplay === 'off') {\n return children;\n }\n\n return /*#__PURE__*/React.cloneElement(children, {\n className: clsx(children.props.className, (open || valueLabelDisplay === 'on') && classes.open, classes.thumb)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.offset, className)\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.circle\n }, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.label\n }, value))));\n}\n\nexport default withStyles(styles, {\n name: 'PrivateValueLabel'\n})(ValueLabel);"],"names":["withStyles","theme","thumb","transform","open","offset","_extends","zIndex","typography","body2","fontSize","pxToRem","lineHeight","transition","transitions","create","duration","shortest","top","transformOrigin","position","circle","display","alignItems","justifyContent","width","height","borderRadius","backgroundColor","label","color","palette","primary","contrastText","name","props","children","classes","className","value","valueLabelDisplay","React","cloneElement","clsx","createElement"],"mappings":"shBAwEA,IAAeA,EAAAA,EAAAA,SAnEF,SAAgBC,GAC3B,MAAO,CACLC,MAAO,CACL,SAAU,CACR,YAAa,CACXC,UAAW,gCAIjBC,KAAM,CAAE,EACRC,OAAQC,EAAAA,QAAS,CACfC,OAAQ,GACPN,EAAMO,WAAWC,MAAO,CACzBC,SAAUT,EAAMO,WAAWG,QAAQ,IACnCC,WAAY,IACZC,WAAYZ,EAAMa,YAAYC,OAAO,CAAC,aAAc,CAClDC,SAAUf,EAAMa,YAAYE,SAASC,WAEvCC,KAAM,GACNC,gBAAiB,gBACjBhB,UAAW,WACXiB,SAAU,aAEZC,OAAQ,CACNC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,MAAO,GACPC,OAAQ,GACRC,aAAc,gBACdC,gBAAiB,eACjBzB,UAAW,kBAEb0B,MAAO,CACLC,MAAO7B,EAAM8B,QAAQC,QAAQC,aAC7B9B,UAAW,iBAGjB,GA6BkC,CAChC+B,KAAM,qBADOlC,EAvBf,SAAoBmC,GAClB,IAAIC,EAAWD,EAAMC,SACjBC,EAAUF,EAAME,QAChBC,EAAYH,EAAMG,UAClBlC,EAAO+B,EAAM/B,KACbmC,EAAQJ,EAAMI,MACdC,EAAoBL,EAAMK,kBAE9B,MAA0B,QAAtBA,EACKJ,EAGWK,EAAMC,aAAaN,EAAU,CAC/CE,UAAWK,EAAAA,KAAKP,EAASD,MAAMG,WAAYlC,GAA8B,OAAtBoC,IAA+BH,EAAQjC,KAAMiC,EAAQnC,QAC1FuC,EAAMG,cAAc,OAAQ,CAC1CN,UAAWK,EAAIA,KAACN,EAAQhC,OAAQiC,IAClBG,EAAMG,cAAc,OAAQ,CAC1CN,UAAWD,EAAQhB,QACLoB,EAAMG,cAAc,OAAQ,CAC1CN,UAAWD,EAAQR,OAClBU,KACL"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../../@babel/runtime/helpers/esm/defineProperty.js"),n=require("../../../../@babel/runtime/helpers/esm/extends.js"),r=require("react"),o=require("../../../../../_virtual/index2.js"),i=require("../../../../clsx/dist/clsx.m.js"),a=require("../styles/withStyles.js"),u=require("../styles/transitions.js"),s=require("../ClickAwayListener/ClickAwayListener.js"),l=require("../utils/useEventCallback.js"),d=require("../utils/capitalize.js"),f=require("../utils/createChainedFunction.js"),c=require("../utils/deprecatedPropType.js"),p=require("../Grow/Grow.js"),m=require("../SnackbarContent/SnackbarContent.js");function b(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var E=b(r),h=function(e){var r={top:8},o={bottom:8},i={justifyContent:"flex-end"},a={justifyContent:"flex-start"},u={top:24},s={bottom:24},l={right:24},d={left:24},f={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:n.default({},r,t.default({},e.breakpoints.up("sm"),n.default({},u,f))),anchorOriginBottomCenter:n.default({},o,t.default({},e.breakpoints.up("sm"),n.default({},s,f))),anchorOriginTopRight:n.default({},r,i,t.default({},e.breakpoints.up("sm"),n.default({left:"auto"},u,l))),anchorOriginBottomRight:n.default({},o,i,t.default({},e.breakpoints.up("sm"),n.default({left:"auto"},s,l))),anchorOriginTopLeft:n.default({},r,a,t.default({},e.breakpoints.up("sm"),n.default({right:"auto"},u,d))),anchorOriginBottomLeft:n.default({},o,a,t.default({},e.breakpoints.up("sm"),n.default({right:"auto"},s,d)))}},g=E.forwardRef((function(t,r){var o=t.action,a=t.anchorOrigin,c=(a=void 0===a?{vertical:"bottom",horizontal:"center"}:a).vertical,b=a.horizontal,h=t.autoHideDuration,g=void 0===h?null:h,v=t.children,j=t.classes,x=t.className,y=t.ClickAwayListenerProps,C=t.ContentProps,w=t.disableWindowBlurListener,T=void 0!==w&&w,k=t.message,O=t.onClose,P=t.onEnter,L=t.onEntered,q=t.onEntering,D=t.onExit,M=t.onExited,z=t.onExiting,S=t.onMouseEnter,A=t.onMouseLeave,B=t.open,H=t.resumeHideDuration,N=t.TransitionComponent,R=void 0===N?p.default:N,U=t.transitionDuration,_=void 0===U?{enter:u.duration.enteringScreen,exit:u.duration.leavingScreen}:U,W=t.TransitionProps,I=e.default(t,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),G=E.useRef(),F=E.useState(!0),V=F[0],X=F[1],J=l.default((function(){O&&O.apply(void 0,arguments)})),K=l.default((function(e){O&&null!=e&&(clearTimeout(G.current),G.current=setTimeout((function(){J(null,"timeout")}),e))}));E.useEffect((function(){return B&&K(g),function(){clearTimeout(G.current)}}),[B,g,K]);var Q=function(){clearTimeout(G.current)},Y=E.useCallback((function(){null!=g&&K(null!=H?H:.5*g)}),[g,H,K]);return E.useEffect((function(){if(!T&&B)return window.addEventListener("focus",Y),window.addEventListener("blur",Q),function(){window.removeEventListener("focus",Y),window.removeEventListener("blur",Q)}}),[T,Y,B]),!B&&V?null:E.createElement(s.default,n.default({onClickAway:function(e){O&&O(e,"clickaway")}},y),E.createElement("div",n.default({className:i.clsx(j.root,j["anchorOrigin".concat(d.default(c)).concat(d.default(b))],x),onMouseEnter:function(e){S&&S(e),Q()},onMouseLeave:function(e){A&&A(e),Y()},ref:r},I),E.createElement(R,n.default({appear:!0,in:B,onEnter:f.default((function(){X(!1)}),P),onEntered:L,onEntering:q,onExit:D,onExited:f.default((function(){X(!0)}),M),onExiting:z,timeout:_,direction:"top"===c?"down":"up"},W),v||E.createElement(m.default,n.default({message:k,action:o},C)))))}));"production"!==process.env.NODE_ENV&&(g.propTypes={action:o.default.node,anchorOrigin:o.default.shape({horizontal:o.default.oneOf(["center","left","right"]).isRequired,vertical:o.default.oneOf(["bottom","top"]).isRequired}),autoHideDuration:o.default.number,children:o.default.element,classes:o.default.object,className:o.default.string,ClickAwayListenerProps:o.default.object,ContentProps:o.default.object,disableWindowBlurListener:o.default.bool,key:o.default.any,message:o.default.node,onClose:o.default.func,onEnter:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onEntered:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onEntering:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onExit:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onExited:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onExiting:c.default(o.default.func,"Use the `TransitionProps` prop instead."),onMouseEnter:o.default.func,onMouseLeave:o.default.func,open:o.default.bool,resumeHideDuration:o.default.number,TransitionComponent:o.default.elementType,transitionDuration:o.default.oneOfType([o.default.number,o.default.shape({appear:o.default.number,enter:o.default.number,exit:o.default.number})]),TransitionProps:o.default.object}),a.default(h,{flip:!1,name:"MuiSnackbar"})(g),exports.styles=h;
|
|
2
|
+
//# sourceMappingURL=Snackbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snackbar.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Snackbar/Snackbar.js"],"sourcesContent":["import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport { duration } from '../styles/transitions';\nimport ClickAwayListener from '../ClickAwayListener';\nimport useEventCallback from '../utils/useEventCallback';\nimport capitalize from '../utils/capitalize';\nimport createChainedFunction from '../utils/createChainedFunction';\nimport deprecatedPropType from '../utils/deprecatedPropType';\nimport Grow from '../Grow';\nimport SnackbarContent from '../SnackbarContent';\nexport var styles = function styles(theme) {\n var top1 = {\n top: 8\n };\n var bottom1 = {\n bottom: 8\n };\n var right = {\n justifyContent: 'flex-end'\n };\n var left = {\n justifyContent: 'flex-start'\n };\n var top3 = {\n top: 24\n };\n var bottom3 = {\n bottom: 24\n };\n var right3 = {\n right: 24\n };\n var left3 = {\n left: 24\n };\n var center = {\n left: '50%',\n right: 'auto',\n transform: 'translateX(-50%)'\n };\n return {\n /* Styles applied to the root element. */\n root: {\n zIndex: theme.zIndex.snackbar,\n position: 'fixed',\n display: 'flex',\n left: 8,\n right: 8,\n justifyContent: 'center',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */\n anchorOriginTopCenter: _extends({}, top1, _defineProperty({}, theme.breakpoints.up('sm'), _extends({}, top3, center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */\n anchorOriginBottomCenter: _extends({}, bottom1, _defineProperty({}, theme.breakpoints.up('sm'), _extends({}, bottom3, center))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */\n anchorOriginTopRight: _extends({}, top1, right, _defineProperty({}, theme.breakpoints.up('sm'), _extends({\n left: 'auto'\n }, top3, right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */\n anchorOriginBottomRight: _extends({}, bottom1, right, _defineProperty({}, theme.breakpoints.up('sm'), _extends({\n left: 'auto'\n }, bottom3, right3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */\n anchorOriginTopLeft: _extends({}, top1, left, _defineProperty({}, theme.breakpoints.up('sm'), _extends({\n right: 'auto'\n }, top3, left3))),\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */\n anchorOriginBottomLeft: _extends({}, bottom1, left, _defineProperty({}, theme.breakpoints.up('sm'), _extends({\n right: 'auto'\n }, bottom3, left3)))\n };\n};\nvar Snackbar = /*#__PURE__*/React.forwardRef(function Snackbar(props, ref) {\n var action = props.action,\n _props$anchorOrigin = props.anchorOrigin;\n _props$anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'bottom',\n horizontal: 'center'\n } : _props$anchorOrigin;\n\n var vertical = _props$anchorOrigin.vertical,\n horizontal = _props$anchorOrigin.horizontal,\n _props$autoHideDurati = props.autoHideDuration,\n autoHideDuration = _props$autoHideDurati === void 0 ? null : _props$autoHideDurati,\n children = props.children,\n classes = props.classes,\n className = props.className,\n ClickAwayListenerProps = props.ClickAwayListenerProps,\n ContentProps = props.ContentProps,\n _props$disableWindowB = props.disableWindowBlurListener,\n disableWindowBlurListener = _props$disableWindowB === void 0 ? false : _props$disableWindowB,\n message = props.message,\n onClose = props.onClose,\n onEnter = props.onEnter,\n onEntered = props.onEntered,\n onEntering = props.onEntering,\n onExit = props.onExit,\n onExited = props.onExited,\n onExiting = props.onExiting,\n onMouseEnter = props.onMouseEnter,\n onMouseLeave = props.onMouseLeave,\n open = props.open,\n resumeHideDuration = props.resumeHideDuration,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Grow : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDuration = _props$transitionDura === void 0 ? {\n enter: duration.enteringScreen,\n exit: duration.leavingScreen\n } : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"action\", \"anchorOrigin\", \"autoHideDuration\", \"children\", \"classes\", \"className\", \"ClickAwayListenerProps\", \"ContentProps\", \"disableWindowBlurListener\", \"message\", \"onClose\", \"onEnter\", \"onEntered\", \"onEntering\", \"onExit\", \"onExited\", \"onExiting\", \"onMouseEnter\", \"onMouseLeave\", \"open\", \"resumeHideDuration\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n var timerAutoHide = React.useRef();\n\n var _React$useState = React.useState(true),\n exited = _React$useState[0],\n setExited = _React$useState[1];\n\n var handleClose = useEventCallback(function () {\n if (onClose) {\n onClose.apply(void 0, arguments);\n }\n });\n var setAutoHideTimer = useEventCallback(function (autoHideDurationParam) {\n if (!onClose || autoHideDurationParam == null) {\n return;\n }\n\n clearTimeout(timerAutoHide.current);\n timerAutoHide.current = setTimeout(function () {\n handleClose(null, 'timeout');\n }, autoHideDurationParam);\n });\n React.useEffect(function () {\n if (open) {\n setAutoHideTimer(autoHideDuration);\n }\n\n return function () {\n clearTimeout(timerAutoHide.current);\n };\n }, [open, autoHideDuration, setAutoHideTimer]); // Pause the timer when the user is interacting with the Snackbar\n // or when the user hide the window.\n\n var handlePause = function handlePause() {\n clearTimeout(timerAutoHide.current);\n }; // Restart the timer when the user is no longer interacting with the Snackbar\n // or when the window is shown back.\n\n\n var handleResume = React.useCallback(function () {\n if (autoHideDuration != null) {\n setAutoHideTimer(resumeHideDuration != null ? resumeHideDuration : autoHideDuration * 0.5);\n }\n }, [autoHideDuration, resumeHideDuration, setAutoHideTimer]);\n\n var handleMouseEnter = function handleMouseEnter(event) {\n if (onMouseEnter) {\n onMouseEnter(event);\n }\n\n handlePause();\n };\n\n var handleMouseLeave = function handleMouseLeave(event) {\n if (onMouseLeave) {\n onMouseLeave(event);\n }\n\n handleResume();\n };\n\n var handleClickAway = function handleClickAway(event) {\n if (onClose) {\n onClose(event, 'clickaway');\n }\n };\n\n var handleExited = function handleExited() {\n setExited(true);\n };\n\n var handleEnter = function handleEnter() {\n setExited(false);\n };\n\n React.useEffect(function () {\n if (!disableWindowBlurListener && open) {\n window.addEventListener('focus', handleResume);\n window.addEventListener('blur', handlePause);\n return function () {\n window.removeEventListener('focus', handleResume);\n window.removeEventListener('blur', handlePause);\n };\n }\n\n return undefined;\n }, [disableWindowBlurListener, handleResume, open]); // So we only render active snackbars.\n\n if (!open && exited) {\n return null;\n }\n\n return /*#__PURE__*/React.createElement(ClickAwayListener, _extends({\n onClickAway: handleClickAway\n }, ClickAwayListenerProps), /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"anchorOrigin\".concat(capitalize(vertical)).concat(capitalize(horizontal))], className),\n onMouseEnter: handleMouseEnter,\n onMouseLeave: handleMouseLeave,\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n appear: true,\n in: open,\n onEnter: createChainedFunction(handleEnter, onEnter),\n onEntered: onEntered,\n onEntering: onEntering,\n onExit: onExit,\n onExited: createChainedFunction(handleExited, onExited),\n onExiting: onExiting,\n timeout: transitionDuration,\n direction: vertical === 'top' ? 'down' : 'up'\n }, TransitionProps), children || /*#__PURE__*/React.createElement(SnackbarContent, _extends({\n message: message,\n action: action\n }, ContentProps)))));\n});\nprocess.env.NODE_ENV !== \"production\" ? Snackbar.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * The anchor of the `Snackbar`.\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['center', 'left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n\n /**\n * The number of milliseconds to wait before automatically calling the\n * `onClose` function. `onClose` should then set the state of the `open`\n * prop to hide the Snackbar. This behavior is disabled by default with\n * the `null` value.\n */\n autoHideDuration: PropTypes.number,\n\n /**\n * Replace the `SnackbarContent` component.\n */\n children: PropTypes.element,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Props applied to the `ClickAwayListener` element.\n */\n ClickAwayListenerProps: PropTypes.object,\n\n /**\n * Props applied to the [`SnackbarContent`](/api/snackbar-content/) element.\n */\n ContentProps: PropTypes.object,\n\n /**\n * If `true`, the `autoHideDuration` timer will expire even if the window is not focused.\n */\n disableWindowBlurListener: PropTypes.bool,\n\n /**\n * When displaying multiple consecutive Snackbars from a parent rendering a single\n * <Snackbar/>, add the key prop to ensure independent treatment of each message.\n * e.g. <Snackbar key={message} />, otherwise, the message may update-in-place and\n * features such as autoHideDuration may be canceled.\n */\n key: PropTypes.any,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * Callback fired when the component requests to be closed.\n * Typically `onClose` is used to set state in the parent component,\n * which is used to control the `Snackbar` `open` prop.\n * The `reason` parameter can optionally be used to control the response to `onClose`,\n * for example ignoring `clickaway`.\n *\n * @param {object} event The event source of the callback.\n * @param {string} reason Can be: `\"timeout\"` (`autoHideDuration` expired), `\"clickaway\"`.\n */\n onClose: PropTypes.func,\n\n /**\n * Callback fired before the transition is entering.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEnter: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the transition has entered.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntered: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the transition is entering.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onEntering: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired before the transition is exiting.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExit: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the transition has exited.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExited: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * Callback fired when the transition is exiting.\n * @deprecated Use the `TransitionProps` prop instead.\n */\n onExiting: deprecatedPropType(PropTypes.func, 'Use the `TransitionProps` prop instead.'),\n\n /**\n * @ignore\n */\n onMouseEnter: PropTypes.func,\n\n /**\n * @ignore\n */\n onMouseLeave: PropTypes.func,\n\n /**\n * If `true`, `Snackbar` is open.\n */\n open: PropTypes.bool,\n\n /**\n * The number of milliseconds to wait before dismissing after user interaction.\n * If `autoHideDuration` prop isn't specified, it does nothing.\n * If `autoHideDuration` prop is specified but `resumeHideDuration` isn't,\n * we default to `autoHideDuration / 2` ms.\n */\n resumeHideDuration: PropTypes.number,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * The duration for the transition, in milliseconds.\n * You may specify a single timeout for all transitions, or individually with an object.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n flip: false,\n name: 'MuiSnackbar'\n})(Snackbar);"],"names":["styles","theme","top1","top","bottom1","bottom","right","justifyContent","left","top3","bottom3","right3","left3","center","transform","root","zIndex","snackbar","position","display","alignItems","anchorOriginTopCenter","_extends","_defineProperty","breakpoints","up","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","Snackbar","React","forwardRef","props","ref","action","_props$anchorOrigin","anchorOrigin","vertical","horizontal","_props$autoHideDurati","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","_props$disableWindowB","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","_props$TransitionComp","TransitionComponent","Grow","_props$transitionDura","transitionDuration","enter","duration","enteringScreen","exit","leavingScreen","TransitionProps","other","_objectWithoutProperties","timerAutoHide","useRef","_React$useState","useState","exited","setExited","handleClose","useEventCallback","apply","arguments","setAutoHideTimer","autoHideDurationParam","clearTimeout","current","setTimeout","useEffect","handlePause","handleResume","useCallback","window","addEventListener","removeEventListener","createElement","ClickAwayListener","onClickAway","event","clsx","concat","capitalize","appear","in","createChainedFunction","timeout","direction","SnackbarContent","process","env","NODE_ENV","propTypes","PropTypes","node","shape","oneOf","isRequired","number","element","object","string","bool","key","any","func","deprecatedPropType","elementType","oneOfType","withStyles","flip","name"],"mappings":"gjCAeWA,EAAS,SAAgBC,GAClC,IAAIC,EAAO,CACTC,IAAK,GAEHC,EAAU,CACZC,OAAQ,GAENC,EAAQ,CACVC,eAAgB,YAEdC,EAAO,CACTD,eAAgB,cAEdE,EAAO,CACTN,IAAK,IAEHO,EAAU,CACZL,OAAQ,IAENM,EAAS,CACXL,MAAO,IAELM,EAAQ,CACVJ,KAAM,IAEJK,EAAS,CACXL,KAAM,MACNF,MAAO,OACPQ,UAAW,oBAEb,MAAO,CAELC,KAAM,CACJC,OAAQf,EAAMe,OAAOC,SACrBC,SAAU,QACVC,QAAS,OACTX,KAAM,EACNF,MAAO,EACPC,eAAgB,SAChBa,WAAY,UAIdC,sBAAuBC,EAAQ,QAAC,CAAE,EAAEpB,EAAMqB,EAAe,QAAC,CAAE,EAAEtB,EAAMuB,YAAYC,GAAG,MAAOH,EAAQ,QAAC,CAA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!0});var e=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),t=require("../../../../@babel/runtime/helpers/esm/defineProperty.js"),r=require("../../../../@babel/runtime/helpers/esm/extends.js"),a=require("react"),s=require("../../../../../_virtual/index2.js"),l=require("../../../../clsx/dist/clsx.m.js"),i=require("../styles/withStyles.js"),n=require("../Paper/Paper.js"),o=require("../styles/colorManipulator.js");function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var c=u(a),d=function(e){var a="light"===e.palette.type?.8:.98,s=o.emphasize(e.palette.background.default,a);return{root:r.default({},e.typography.body2,t.default({color:e.palette.getContrastText(s),backgroundColor:s,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288})),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}},p=c.forwardRef((function(t,a){var s=t.action,i=t.classes,o=t.className,u=t.message,d=t.role,p=void 0===d?"alert":d,f=e.default(t,["action","classes","className","message","role"]);return c.createElement(n.default,r.default({role:p,square:!0,elevation:6,className:l.clsx(i.root,o),ref:a},f),c.createElement("div",{className:i.message},u),s?c.createElement("div",{className:i.action},s):null)}));"production"!==process.env.NODE_ENV&&(p.propTypes={action:s.default.node,classes:s.default.object,className:s.default.string,message:s.default.node,role:s.default.string});var f=i.default(d,{name:"MuiSnackbarContent"})(p);exports.default=f,exports.styles=d;
|
|
2
|
+
//# sourceMappingURL=SnackbarContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SnackbarContent.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js"],"sourcesContent":["import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport Paper from '../Paper';\nimport { emphasize } from '../styles/colorManipulator';\nexport var styles = function styles(theme) {\n var emphasis = theme.palette.type === 'light' ? 0.8 : 0.98;\n var backgroundColor = emphasize(theme.palette.background.default, emphasis);\n return {\n /* Styles applied to the root element. */\n root: _extends({}, theme.typography.body2, _defineProperty({\n color: theme.palette.getContrastText(backgroundColor),\n backgroundColor: backgroundColor,\n display: 'flex',\n alignItems: 'center',\n flexWrap: 'wrap',\n padding: '6px 16px',\n borderRadius: theme.shape.borderRadius,\n flexGrow: 1\n }, theme.breakpoints.up('sm'), {\n flexGrow: 'initial',\n minWidth: 288\n })),\n\n /* Styles applied to the message wrapper element. */\n message: {\n padding: '8px 0'\n },\n\n /* Styles applied to the action wrapper element if `action` is provided. */\n action: {\n display: 'flex',\n alignItems: 'center',\n marginLeft: 'auto',\n paddingLeft: 16,\n marginRight: -8\n }\n };\n};\nvar SnackbarContent = /*#__PURE__*/React.forwardRef(function SnackbarContent(props, ref) {\n var action = props.action,\n classes = props.classes,\n className = props.className,\n message = props.message,\n _props$role = props.role,\n role = _props$role === void 0 ? 'alert' : _props$role,\n other = _objectWithoutProperties(props, [\"action\", \"classes\", \"className\", \"message\", \"role\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n role: role,\n square: true,\n elevation: 6,\n className: clsx(classes.root, className),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"div\", {\n className: classes.message\n }, message), action ? /*#__PURE__*/React.createElement(\"div\", {\n className: classes.action\n }, action) : null);\n});\nprocess.env.NODE_ENV !== \"production\" ? SnackbarContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * The action to display. It renders after the message, at the end of the snackbar.\n */\n action: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The message to display.\n */\n message: PropTypes.node,\n\n /**\n * The ARIA role attribute of the element.\n */\n role: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiSnackbarContent'\n})(SnackbarContent);"],"names":["styles","theme","emphasis","palette","type","backgroundColor","emphasize","background","default","root","_extends","typography","body2","_defineProperty","color","getContrastText","display","alignItems","flexWrap","padding","borderRadius","shape","flexGrow","breakpoints","up","minWidth","message","action","marginLeft","paddingLeft","marginRight","SnackbarContent","React","forwardRef","props","ref","classes","className","_props$role","role","other","_objectWithoutProperties","createElement","Paper","square","elevation","clsx","process","env","NODE_ENV","propTypes","PropTypes","node","object","string","withStyles","name"],"mappings":"oyBASWA,EAAS,SAAgBC,GAClC,IAAIC,EAAkC,UAAvBD,EAAME,QAAQC,KAAmB,GAAM,IAClDC,EAAkBC,EAAAA,UAAUL,EAAME,QAAQI,WAAWC,QAASN,GAClE,MAAO,CAELO,KAAMC,EAAQ,QAAC,CAAE,EAAET,EAAMU,WAAWC,MAAOC,UAAgB,CACzDC,MAAOb,EAAME,QAAQY,gBAAgBV,GACrCA,gBAAiBA,EACjBW,QAAS,OACTC,WAAY,SACZC,SAAU,OACVC,QAAS,WACTC,aAAcnB,EAAMoB,MAAMD,aAC1BE,SAAU,GACTrB,EAAMsB,YAAYC,GAAG,MAAO,CAC7BF,SAAU,UACVG,SAAU,OAIZC,QAAS,CACPP,QAAS,SAIXQ,OAAQ,CACNX,QAAS,OACTC,WAAY,SACZW,WAAY,OACZC,YAAa,GACbC,aAAc,GAGpB,EACIC,EAA+BC,EAAMC,YAAW,SAAyBC,EAAOC,GAClF,IAAIR,EAASO,EAAMP,OACfS,EAAUF,EAAME,QAChBC,EAAYH,EAAMG,UAClBX,EAAUQ,EAAMR,QAChBY,EAAcJ,EAAMK,KACpBA,OAAuB,IAAhBD,EAAyB,QAAUA,EAC1CE,EAAQC,EAAAA,QAAyBP,EAAO,CAAC,SAAU,UAAW,YAAa,UAAW,SAE1F,OAAoBF,EAAMU,cAAcC,EAAK,QAAEjC,UAAS,CACtD6B,KAAMA,EACNK,QAAQ,EACRC,UAAW,EACXR,UAAWS,EAAIA,KAACV,EAAQ3B,KAAM4B,GAC9BF,IAAKA,GACJK,GAAqBR,EAAMU,cAAc,MAAO,CACjDL,UAAWD,EAAQV,SAClBA,GAAUC,EAAsBK,EAAMU,cAAc,MAAO,CAC5DL,UAAWD,EAAQT,QAClBA,GAAU,KACf,IACyB,eAAzBoB,QAAQC,IAAIC,WAA4BlB,EAAgBmB,UAAY,CASlEvB,OAAQwB,EAAS,QAACC,KAMlBhB,QAASe,EAAS,QAACE,OAKnBhB,UAAWc,EAAS,QAACG,OAKrB5B,QAASyB,EAAS,QAACC,KAKnBb,KAAMY,EAAS,QAACG,SAElB,IAAeC,EAAAA,EAAAA,QAAWvD,EAAQ,CAChCwD,KAAM,sBADOD,CAEZxB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=require("react"),r=require("../../../../../_virtual/index.js"),l=require("../../../../../_virtual/index2.js"),n=require("../../../../clsx/dist/clsx.m.js"),i=require("../styles/withStyles.js");function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var r=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,r.get?r:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var d=o(a),s={root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},c=d.forwardRef((function(a,l){var i=a.active,o=void 0!==i&&i,s=a.alternativeLabel,c=a.children,u=a.classes,p=a.className,f=a.completed,v=void 0!==f&&f,b=a.connector,m=a.disabled,x=void 0!==m&&m,j=a.expanded,h=void 0!==j&&j,g=a.index,E=a.last,y=a.orientation,O=t.default(a,["active","alternativeLabel","children","classes","className","completed","connector","disabled","expanded","index","last","orientation"]),N=b?d.cloneElement(b,{orientation:y,alternativeLabel:s,index:g,active:o,completed:v,disabled:x}):null,_=d.createElement("div",e.default({className:n.clsx(u.root,u[y],p,s&&u.alternativeLabel,v&&u.completed),ref:l},O),N&&s&&0!==g?N:null,d.Children.map(c,(function(t){return d.isValidElement(t)?("production"!==process.env.NODE_ENV&&r.reactIsExports.isFragment(t)&&console.error(["Material-UI: The Step component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),d.cloneElement(t,e.default({active:o,alternativeLabel:s,completed:v,disabled:x,expanded:h,last:E,icon:g+1,orientation:y},t.props))):null})));return N&&!s&&0!==g?d.createElement(d.Fragment,null,N,_):_}));"production"!==process.env.NODE_ENV&&(c.propTypes={active:l.default.bool,children:l.default.node,classes:l.default.object,className:l.default.string,completed:l.default.bool,disabled:l.default.bool,expanded:l.default.bool}),i.default(s,{name:"MuiStep"})(c),exports.styles=s;
|
|
2
|
+
//# sourceMappingURL=Step.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Step.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/Step/Step.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n paddingLeft: 8,\n paddingRight: 8\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {},\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n flex: 1,\n position: 'relative'\n },\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {}\n};\nvar Step = /*#__PURE__*/React.forwardRef(function Step(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n connectorProp = props.connector,\n _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$expanded = props.expanded,\n expanded = _props$expanded === void 0 ? false : _props$expanded,\n index = props.index,\n last = props.last,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"connector\", \"disabled\", \"expanded\", \"index\", \"last\", \"orientation\"]);\n\n var connector = connectorProp ? /*#__PURE__*/React.cloneElement(connectorProp, {\n orientation: orientation,\n alternativeLabel: alternativeLabel,\n index: index,\n active: active,\n completed: completed,\n disabled: disabled\n }) : null;\n var newChildren = /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, completed && classes.completed),\n ref: ref\n }, other), connector && alternativeLabel && index !== 0 ? connector : null, React.Children.map(children, function (child) {\n if (! /*#__PURE__*/React.isValidElement(child)) {\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"Material-UI: The Step component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n return /*#__PURE__*/React.cloneElement(child, _extends({\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n expanded: expanded,\n last: last,\n icon: index + 1,\n orientation: orientation\n }, child.props));\n }));\n\n if (connector && !alternativeLabel && index !== 0) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, connector, newChildren);\n }\n\n return newChildren;\n});\nprocess.env.NODE_ENV !== \"production\" ? Step.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Sets the step as active. Is passed to child components.\n */\n active: PropTypes.bool,\n\n /**\n * Should be `Step` sub-components such as `StepLabel`, `StepContent`.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as disabled, will also disable the button if\n * `StepButton` is a child of `Step`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Expand the step.\n */\n expanded: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStep'\n})(Step);"],"names":["styles","root","horizontal","paddingLeft","paddingRight","vertical","alternativeLabel","flex","position","completed","Step","React","forwardRef","props","ref","_props$active","active","children","classes","className","_props$completed","connectorProp","connector","_props$disabled","disabled","_props$expanded","expanded","index","last","orientation","other","_objectWithoutProperties","cloneElement","newChildren","createElement","_extends","clsx","Children","map","child","isValidElement","process","env","NODE_ENV","isFragment","console","error","join","icon","Fragment","propTypes","PropTypes","bool","node","object","string","withStyles","name"],"mappings":"ksBAOWA,EAAS,CAElBC,KAAM,CAAE,EAGRC,WAAY,CACVC,YAAa,EACbC,aAAc,GAIhBC,SAAU,CAAE,EAGZC,iBAAkB,CAChBC,KAAM,EACNC,SAAU,YAIZC,UAAW,CAAE,GAEXC,EAAoBC,EAAMC,YAAW,SAAcC,EAAOC,GAC5D,IAAIC,EAAgBF,EAAMG,OACtBA,OAA2B,IAAlBD,GAAmCA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B,EAAMuB,cAAcvB,EAAMsC,SAAU,KAAM3B,EAAWW,GAGpEA,CACT,IACyB,eAAzBQ,QAAQC,IAAIC,WAA4BjC,EAAKwC,UAAY,CASvDlC,OAAQmC,EAAS,QAACC,KAKlBnC,SAAUkC,EAAS,QAACE,KAMpBnC,QAASiC,EAAS,QAACG,OAKnBnC,UAAWgC,EAAS,QAACI,OAKrB9C,UAAW0C,EAAS,QAACC,KAMrB5B,SAAU2B,EAAS,QAACC,KAKpB1B,SAAUyB,EAAS,QAACC,OAEPI,EAAU,QAACxD,EAAQ,CAChCyD,KAAM,WADOD,CAEZ9C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),a=require("react"),l=require("../../../../../_virtual/index2.js"),r=require("../../../../clsx/dist/clsx.m.js"),o=require("../styles/withStyles.js"),i=require("../ButtonBase/ButtonBase.js"),n=require("../StepLabel/StepLabel.js"),s=require("../utils/isMuiElement.js");function d(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(a){if("default"!==a){var l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:function(){return e[a]}})}})),t.default=e,Object.freeze(t)}var u=d(a),c={root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start",padding:"8px",margin:"-8px"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}},p=u.forwardRef((function(a,l){var o=a.active,d=a.alternativeLabel,c=a.children,p=a.classes,f=a.className,b=a.completed,m=a.disabled;a.expanded;var v=a.icon;a.last;var x=a.optional,j=a.orientation,h=t.default(a,["active","alternativeLabel","children","classes","className","completed","disabled","expanded","icon","last","optional","orientation"]),g={active:o,alternativeLabel:d,completed:b,disabled:m,icon:v,optional:x,orientation:j},q=s.default(c,["StepLabel"])?u.cloneElement(c,g):u.createElement(n.default,g,c);return u.createElement(i.default,e.default({focusRipple:!0,disabled:m,TouchRippleProps:{className:p.touchRipple},className:r.clsx(p.root,p[j],f),ref:l},h),q)}));"production"!==process.env.NODE_ENV&&(p.propTypes={active:l.default.bool,alternativeLabel:l.default.bool,children:l.default.node,classes:l.default.object.isRequired,className:l.default.string,completed:l.default.bool,disabled:l.default.bool,expanded:l.default.bool,icon:l.default.node,last:l.default.bool,optional:l.default.node,orientation:l.default.oneOf(["horizontal","vertical"])}),o.default(c,{name:"MuiStepButton"})(p),exports.styles=c;
|
|
2
|
+
//# sourceMappingURL=StepButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepButton.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/StepButton/StepButton.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport ButtonBase from '../ButtonBase';\nimport StepLabel from '../StepLabel';\nimport isMuiElement from '../utils/isMuiElement';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n width: '100%',\n padding: '24px 16px',\n margin: '-24px -16px',\n boxSizing: 'content-box'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n justifyContent: 'flex-start',\n padding: '8px',\n margin: '-8px'\n },\n\n /* Styles applied to the `ButtonBase` touch-ripple. */\n touchRipple: {\n color: 'rgba(0, 0, 0, 0.3)'\n }\n};\nvar StepButton = /*#__PURE__*/React.forwardRef(function StepButton(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\"]);\n\n var childProps = {\n active: active,\n alternativeLabel: alternativeLabel,\n completed: completed,\n disabled: disabled,\n icon: icon,\n optional: optional,\n orientation: orientation\n };\n var child = isMuiElement(children, ['StepLabel']) ? /*#__PURE__*/React.cloneElement(children, childProps) : /*#__PURE__*/React.createElement(StepLabel, childProps, children);\n return /*#__PURE__*/React.createElement(ButtonBase, _extends({\n focusRipple: true,\n disabled: disabled,\n TouchRippleProps: {\n className: classes.touchRipple\n },\n className: clsx(classes.root, classes[orientation], className),\n ref: ref\n }, other), child);\n});\nprocess.env.NODE_ENV !== \"production\" ? StepButton.propTypes = {\n /**\n * @ignore\n * Passed in via `Step` - passed through to `StepLabel`.\n */\n active: PropTypes.bool,\n\n /**\n * @ignore\n * Set internally by Stepper when it's supplied with the alternativeLabel property.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Can be a `StepLabel` or a node to place inside `StepLabel` as children.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * @ignore\n * Sets completed styling. Is passed to StepLabel.\n */\n completed: PropTypes.bool,\n\n /**\n * @ignore\n * Disables the button and sets disabled styling. Is passed to StepLabel.\n */\n disabled: PropTypes.bool,\n\n /**\n * @ignore\n * potentially passed from parent `Step`\n */\n expanded: PropTypes.bool,\n\n /**\n * The icon displayed by the step label.\n */\n icon: PropTypes.node,\n\n /**\n * @ignore\n */\n last: PropTypes.bool,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * @ignore\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepButton'\n})(StepButton);"],"names":["styles","root","width","padding","margin","boxSizing","horizontal","vertical","justifyContent","touchRipple","color","StepButton","React","forwardRef","props","ref","active","alternativeLabel","children","classes","className","completed","disabled","expanded","icon","last","optional","orientation","other","_objectWithoutProperties","childProps","child","isMuiElement","cloneElement","createElement","StepLabel","ButtonBase","_extends","focusRipple","TouchRippleProps","clsx","process","env","NODE_ENV","propTypes","PropTypes","bool","node","object","isRequired","string","oneOf","withStyles","name"],"mappings":"0wBASWA,EAAS,CAElBC,KAAM,CACJC,MAAO,OACPC,QAAS,YACTC,OAAQ,cACRC,UAAW,eAIbC,WAAY,CAAE,EAGdC,SAAU,CACRC,eAAgB,aAChBL,QAAS,MACTC,OAAQ,QAIVK,YAAa,CACXC,MAAO,uBAGPC,EAA0BC,EAAMC,YAAW,SAAoBC,EAAOC,GACrE,IAACC,EAASF,EAAME,OACfC,EAAmBH,EAAMG,iBACzBC,EAAWJ,EAAMI,SACjBC,EAAUL,EAAMK,QAChBC,EAAYN,EAAMM,UAClBC,EAAYP,EAAMO,UAClBC,EAAWR,EAAMQ,SACNR,EAAMS,SACvB,IAAMC,EAAOV,EAAMU,KACNV,EAAMW,KACnB,IAAMC,EAAWZ,EAAMY,SACjBC,EAAcb,EAAMa,YACpBC,EAAQC,EAAwB,QAACf,EAAO,CAAC,SAAU,mBAAoB,WAAY,UAAW,YAAa,YAAa,WAAY,WAAY,OAAQ,OAAQ,WAAY,gBAE5KgB,EAAa,CACfd,OAAQA,EACRC,iBAAkBA,EAClBI,UAAWA,EACXC,SAAUA,EACVE,KAAMA,EACNE,SAAUA,EACVC,YAAaA,GAEXI,EAAQC,EAAAA,QAAad,EAAU,CAAC,cAA6BN,EAAMqB,aAAaf,EAAUY,GAA2BlB,EAAMsB,cAAcC,EAAAA,QAAWL,EAAYZ,GACpK,OAAoBN,EAAMsB,cAAcE,EAAU,QAAEC,UAAS,CAC3DC,aAAa,EACbhB,SAAUA,EACViB,iBAAkB,CAChBnB,UAAWD,EAAQV,aAErBW,UAAWoB,EAAIA,KAACrB,EAAQlB,KAAMkB,EAAQQ,GAAcP,GACpDL,IAAKA,GACJa,GAAQG,EACb,IACyB,eAAzBU,QAAQC,IAAIC,WAA4BhC,EAAWiC,UAAY,CAK7D5B,OAAQ6B,EAAS,QAACC,KAMlB7B,iBAAkB4B,EAAS,QAACC,KAK5B5B,SAAU2B,EAAS,QAACE,KAMpB5B,QAAS0B,EAAAA,QAAUG,OAAOC,WAK1B7B,UAAWyB,EAAS,QAACK,OAMrB7B,UAAWwB,EAAS,QAACC,KAMrBxB,SAAUuB,EAAS,QAACC,KAMpBvB,SAAUsB,EAAS,QAACC,KAKpBtB,KAAMqB,EAAS,QAACE,KAKhBtB,KAAMoB,EAAS,QAACC,KAKhBpB,SAAUmB,EAAS,QAACE,KAKpBpB,YAAakB,EAAAA,QAAUM,MAAM,CAAC,aAAc,eAE/BC,EAAU,QAACpD,EAAQ,CAChCqD,KAAM,iBADOD,CAEZzC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=require("react"),l=require("../../../../../_virtual/index2.js"),a=require("../../../../clsx/dist/clsx.m.js"),i=require("../styles/withStyles.js");function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var s=o(r),n=function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}},c=s.forwardRef((function(r,l){var i=r.active,o=r.alternativeLabel,n=void 0!==o&&o,c=r.classes,d=r.className,u=r.completed,p=r.disabled;r.index;var b=r.orientation,f=void 0===b?"horizontal":b,v=t.default(r,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return s.createElement("div",e.default({className:a.clsx(c.root,c[f],d,n&&c.alternativeLabel,i&&c.active,u&&c.completed,p&&c.disabled),ref:l},v),s.createElement("span",{className:a.clsx(c.line,{horizontal:c.lineHorizontal,vertical:c.lineVertical}[f])}))}));"production"!==process.env.NODE_ENV&&(c.propTypes={classes:l.default.object,className:l.default.string});var d=i.default(n,{name:"MuiStepConnector"})(c);exports.default=d,exports.styles=n;
|
|
2
|
+
//# sourceMappingURL=StepConnector.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepConnector.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/StepConnector/StepConnector.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n flex: '1 1 auto'\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {},\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n marginLeft: 12,\n // half icon\n padding: '0 0 8px'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n position: 'absolute',\n top: 8 + 4,\n left: 'calc(-50% + 20px)',\n right: 'calc(50% + 20px)'\n },\n\n /* Pseudo-class applied to the root element if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the root element if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the line element. */\n line: {\n display: 'block',\n borderColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n lineHorizontal: {\n borderTopStyle: 'solid',\n borderTopWidth: 1\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n lineVertical: {\n borderLeftStyle: 'solid',\n borderLeftWidth: 1,\n minHeight: 24\n }\n };\n};\nvar StepConnector = /*#__PURE__*/React.forwardRef(function StepConnector(props, ref) {\n var active = props.active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n disabled = props.disabled,\n index = props.index,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"classes\", \"className\", \"completed\", \"disabled\", \"index\", \"orientation\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel, active && classes.active, completed && classes.completed, disabled && classes.disabled),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.line, {\n 'horizontal': classes.lineHorizontal,\n 'vertical': classes.lineVertical\n }[orientation])\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepConnector.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepConnector'\n})(StepConnector);"],"names":["styles","theme","root","flex","horizontal","vertical","marginLeft","padding","alternativeLabel","position","top","left","right","active","completed","disabled","line","display","borderColor","palette","type","grey","lineHorizontal","borderTopStyle","borderTopWidth","lineVertical","borderLeftStyle","borderLeftWidth","minHeight","StepConnector","React","forwardRef","props","ref","_props$alternativeLab","classes","className","index","_props$orientation","orientation","other","_objectWithoutProperties","createElement","_extends","clsx","process","env","NODE_ENV","propTypes","PropTypes","object","string","withStyles","name"],"mappings":"opBAMWA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,KAAM,YAIRC,WAAY,CAAE,EAGdC,SAAU,CACRC,WAAY,GAEZC,QAAS,WAIXC,iBAAkB,CAChBC,SAAU,WACVC,IAAK,GACLC,KAAM,oBACNC,MAAO,oBAITC,OAAQ,CAAE,EAGVC,UAAW,CAAE,EAGbC,SAAU,CAAE,EAGZC,KAAM,CACJC,QAAS,QACTC,YAAoC,UAAvBjB,EAAMkB,QAAQC,KAAmBnB,EAAMkB,QAAQE,KAAK,KAAOpB,EAAMkB,QAAQE,KAAK,MAI7FC,eAAgB,CACdC,eAAgB,QAChBC,eAAgB,GAIlBC,aAAc,CACZC,gBAAiB,QACjBC,gBAAiB,EACjBC,UAAW,IAGjB,EACIC,EAA6BC,EAAMC,YAAW,SAAuBC,EAAOC,GAC3E,IAACpB,EAASmB,EAAMnB,OACfqB,EAAwBF,EAAMxB,iBAC9BA,OAA6C,IAA1B0B,GAA2CA,EAC9DC,EAAUH,EAAMG,QAChBC,EAAYJ,EAAMI,UAClBtB,EAAYkB,EAAMlB,UAClBC,EAAWiB,EAAMjB,SACTiB,EAAMK,MACpB,IAAMC,EAAqBN,EAAMO,YAC3BA,OAAqC,IAAvBD,EAAgC,aAAeA,EAC7DE,EAAQC,EAAwB,QAACT,EAAO,CAAC,SAAU,mBAAoB,UAAW,YAAa,YAAa,WAAY,QAAS,gBAErI,OAAoBF,EAAMY,cAAc,MAAOC,UAAS,CACtDP,UAAWQ,EAAAA,KAAKT,EAAQjC,KAAMiC,EAAQI,GAAcH,EAAW5B,GAAoB2B,EAAQ3B,iBAAkBK,GAAUsB,EAAQtB,OAAQC,GAAaqB,EAAQrB,UAAWC,GAAYoB,EAAQpB,UAC3LkB,IAAKA,GACJO,GAAqBV,EAAMY,cAAc,OAAQ,CAClDN,UAAWQ,EAAAA,KAAKT,EAAQnB,KAAM,CAC5BZ,WAAc+B,EAAQb,eACtBjB,SAAY8B,EAAQV,cACpBc,MAEN,IACyB,eAAzBM,QAAQC,IAAIC,WAA4BlB,EAAcmB,UAAY,CAUhEb,QAASc,EAAS,QAACC,OAKnBd,UAAWa,EAAS,QAACE,SAEvB,IAAeC,EAAAA,EAAAA,QAAWpD,EAAQ,CAChCqD,KAAM,oBADOD,CAEZvB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/extends.js"),t=require("../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=require("react"),a=require("../../../../../_virtual/index2.js"),n=require("../../../../clsx/dist/clsx.m.js"),o=require("../Collapse/Collapse.js"),i=require("../styles/withStyles.js");function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=s(r),u=function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}},d=l.forwardRef((function(r,a){var i=r.active;r.alternativeLabel;var s=r.children,u=r.classes,d=r.className;r.completed;var p=r.expanded,c=r.last;r.optional;var f=r.orientation,m=r.TransitionComponent,v=void 0===m?o.default:m,b=r.transitionDuration,j=void 0===b?"auto":b,y=r.TransitionProps,g=t.default(r,["active","alternativeLabel","children","classes","className","completed","expanded","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]);"production"!==process.env.NODE_ENV&&"vertical"!==f&&console.error("Material-UI: <StepContent /> is only designed for use with the vertical stepper.");var h=j;return"auto"!==j||v.muiSupportAuto||(h=void 0),l.createElement("div",e.default({className:n.clsx(u.root,d,c&&u.last),ref:a},g),l.createElement(v,e.default({in:i||p,className:u.transition,timeout:h,unmountOnExit:!0},y),s))}));"production"!==process.env.NODE_ENV&&(d.propTypes={children:a.default.node,classes:a.default.object,className:a.default.string,TransitionComponent:a.default.elementType,transitionDuration:a.default.oneOfType([a.default.oneOf(["auto"]),a.default.number,a.default.shape({appear:a.default.number,enter:a.default.number,exit:a.default.number})]),TransitionProps:a.default.object}),i.default(u,{name:"MuiStepContent"})(d),exports.styles=u;
|
|
2
|
+
//# sourceMappingURL=StepContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepContent.js","sources":["../../../../../../../node_modules/@material-ui/core/esm/StepContent/StepContent.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport Collapse from '../Collapse';\nimport withStyles from '../styles/withStyles';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n marginTop: 8,\n marginLeft: 12,\n // half icon\n paddingLeft: 8 + 12,\n // margin + half icon\n paddingRight: 8,\n borderLeft: \"1px solid \".concat(theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600])\n },\n\n /* Styles applied to the root element if `last={true}` (controlled by `Step`). */\n last: {\n borderLeft: 'none'\n },\n\n /* Styles applied to the Transition component. */\n transition: {}\n };\n};\nvar StepContent = /*#__PURE__*/React.forwardRef(function StepContent(props, ref) {\n var active = props.active,\n alternativeLabel = props.alternativeLabel,\n children = props.children,\n classes = props.classes,\n className = props.className,\n completed = props.completed,\n expanded = props.expanded,\n last = props.last,\n optional = props.optional,\n orientation = props.orientation,\n _props$TransitionComp = props.TransitionComponent,\n TransitionComponent = _props$TransitionComp === void 0 ? Collapse : _props$TransitionComp,\n _props$transitionDura = props.transitionDuration,\n transitionDurationProp = _props$transitionDura === void 0 ? 'auto' : _props$transitionDura,\n TransitionProps = props.TransitionProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"expanded\", \"last\", \"optional\", \"orientation\", \"TransitionComponent\", \"transitionDuration\", \"TransitionProps\"]);\n\n if (process.env.NODE_ENV !== 'production') {\n if (orientation !== 'vertical') {\n console.error('Material-UI: <StepContent /> is only designed for use with the vertical stepper.');\n }\n }\n\n var transitionDuration = transitionDurationProp;\n\n if (transitionDurationProp === 'auto' && !TransitionComponent.muiSupportAuto) {\n transitionDuration = undefined;\n }\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, last && classes.last),\n ref: ref\n }, other), /*#__PURE__*/React.createElement(TransitionComponent, _extends({\n in: active || expanded,\n className: classes.transition,\n timeout: transitionDuration,\n unmountOnExit: true\n }, TransitionProps), children));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepContent.propTypes = {\n // ----------------------------- Warning --------------------------------\n // | These PropTypes are generated from the TypeScript type definitions |\n // | To update them edit the d.ts file and run \"yarn proptypes\" |\n // ----------------------------------------------------------------------\n\n /**\n * Step content.\n */\n children: PropTypes.node,\n\n /**\n * Override or extend the styles applied to the component.\n * See [CSS API](#css) below for more details.\n */\n classes: PropTypes.object,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The component used for the transition.\n * [Follow this guide](/components/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.\n */\n TransitionComponent: PropTypes.elementType,\n\n /**\n * Adjust the duration of the content expand transition.\n * Passed as a prop to the transition component.\n *\n * Set to 'auto' to automatically calculate transition time based on height.\n */\n transitionDuration: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.number, PropTypes.shape({\n appear: PropTypes.number,\n enter: PropTypes.number,\n exit: PropTypes.number\n })]),\n\n /**\n * Props applied to the [`Transition`](http://reactcommunity.org/react-transition-group/transition#Transition-props) element.\n */\n TransitionProps: PropTypes.object\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepContent'\n})(StepContent);"],"names":["styles","theme","root","marginTop","marginLeft","paddingLeft","paddingRight","borderLeft","concat","palette","type","grey","last","transition","StepContent","React","forwardRef","props","ref","active","alternativeLabel","children","classes","className","completed","expanded","optional","orientation","_props$TransitionComp","TransitionComponent","Collapse","_props$transitionDura","transitionDuration","transitionDurationProp","TransitionProps","other","_objectWithoutProperties","process","env","NODE_ENV","console","error","muiSupportAuto","undefined","createElement","_extends","clsx","in","timeout","unmountOnExit","propTypes","PropTypes","node","object","string","elementType","oneOfType","oneOf","number","shape","appear","enter","exit","withStyles","name"],"mappings":"yrBAOWA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,UAAW,EACXC,WAAY,GAEZC,YAAa,GAEbC,aAAc,EACdC,WAAY,aAAaC,OAA8B,UAAvBP,EAAMQ,QAAQC,KAAmBT,EAAMQ,QAAQE,KAAK,KAAOV,EAAMQ,QAAQE,KAAK,OAIhHC,KAAM,CACJL,WAAY,QAIdM,WAAY,CAAE,EAElB,EACIC,EAA2BC,EAAMC,YAAW,SAAqBC,EAAOC,GACvE,IAACC,EAASF,EAAME,OACIF,EAAMG,iBAC/B,IAAMC,EAAWJ,EAAMI,SACjBC,EAAUL,EAAMK,QAChBC,EAAYN,EAAMM,UACNN,EAAMO,UACxB,IAAMC,EAAWR,EAAMQ,SACjBb,EAAOK,EAAML,KACFK,EAAMS,SACvB,IAAMC,EAAcV,EAAMU,YACpBC,EAAwBX,EAAMY,oBAC9BA,OAAgD,IAA1BD,EAAmCE,EAAAA,QAAWF,EACpEG,EAAwBd,EAAMe,mBAC9BC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