@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 @@
|
|
|
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","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":"6mCAmBA,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,GAe3B,OAdqBD,EAAOE,QAAO,SAAUC,EAAKR,EAAOS,GACvD,IAAIC,EAAWP,KAAKQ,IAAIL,EAAeN,GAEvC,OAAY,OAARQ,GAAgBE,EAAWF,EAAIE,UAAYA,IAAaF,EAAIE,SACvD,CACLA,SAAUA,EACVD,MAAOA,GAIJD,CACR,GAAE,MAC+BC,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,EAAe1B,EAAOC,EAAKC,GAClC,OAAuB,KAAfF,EAAQC,IAAcC,EAAMD,EACtC,CAmBA,SAAS0B,EAAiB3B,EAAO4B,EAAM3B,GACrC,IAAI4B,EAAU1B,KAAK2B,OAAO9B,EAAQC,GAAO2B,GAAQA,EAAO3B,EACxD,OAAO8B,OAAOF,EAAQG,QAfxB,SAA6BC,GAG3B,GAAI9B,KAAKQ,IAAIsB,GAAO,EAAG,CACrB,IAAIC,EAAQD,EAAIE,gBAAgBC,MAAM,MAClCC,EAAqBH,EAAM,GAAGE,MAAM,KAAK,GAC7C,OAAQC,EAAqBA,EAAmBlB,OAAS,GA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lD1G,iBAAkBqG,EAAUO,UAAU,CAACP,EAAUC,OAAQD,EAAUW,SAEtDE,EAAW9N,EAAQ,CAChCyF,KAAM,aADOqI,CAEZ5J"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import*as t from"react";import{clsx as r}from"../../../../clsx/dist/clsx.m.js";import a from"../styles/withStyles.js";var s=a((function(t){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:e({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 a=e.children,s=e.classes,o=e.className,n=e.open,l=e.value,i=e.valueLabelDisplay;return"off"===i?a:t.cloneElement(a,{className:r(a.props.className,(n||"on"===i)&&s.open,s.thumb)},t.createElement("span",{className:r(s.offset,o)},t.createElement("span",{className:s.circle},t.createElement("span",{className:s.label},l))))}));export{s as default};
|
|
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":["ValueLabel$1","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":"uLAwEA,IAAeA,EAAAC,GAnEF,SAAgBC,GAC3B,MAAO,CACLC,MAAO,CACL,SAAU,CACR,YAAa,CACXC,UAAW,gCAIjBC,KAAM,CAAE,EACRC,OAAQC,EAAS,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,EAAKP,EAASD,MAAMG,WAAYlC,GAA8B,OAAtBoC,IAA+BH,EAAQjC,KAAMiC,EAAQnC,QAC1FuC,EAAMG,cAAc,OAAQ,CAC1CN,UAAWK,EAAKN,EAAQhC,OAAQiC,IAClBG,EAAMG,cAAc,OAAQ,CAC1CN,UAAWD,EAAQhB,QACLoB,EAAMG,cAAc,OAAQ,CAC1CN,UAAWD,EAAQR,OAClBU,KACL"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import n from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import t from"../../../../@babel/runtime/helpers/esm/extends.js";import*as o from"react";import r from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import s from"../styles/withStyles.js";import{duration as a}from"../styles/transitions.js";import u from"../ClickAwayListener/ClickAwayListener.js";import c from"../utils/useEventCallback.js";import p from"../utils/capitalize.js";import l from"../utils/createChainedFunction.js";import m from"../utils/deprecatedPropType.js";import f from"../Grow/Grow.js";import d from"../SnackbarContent/SnackbarContent.js";var E=function(e){var o={top:8},r={bottom:8},i={justifyContent:"flex-end"},s={justifyContent:"flex-start"},a={top:24},u={bottom:24},c={right:24},p={left:24},l={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:t({},o,n({},e.breakpoints.up("sm"),t({},a,l))),anchorOriginBottomCenter:t({},r,n({},e.breakpoints.up("sm"),t({},u,l))),anchorOriginTopRight:t({},o,i,n({},e.breakpoints.up("sm"),t({left:"auto"},a,c))),anchorOriginBottomRight:t({},r,i,n({},e.breakpoints.up("sm"),t({left:"auto"},u,c))),anchorOriginTopLeft:t({},o,s,n({},e.breakpoints.up("sm"),t({right:"auto"},a,p))),anchorOriginBottomLeft:t({},r,s,n({},e.breakpoints.up("sm"),t({right:"auto"},u,p)))}},b=o.forwardRef((function(n,r){var s=n.action,m=n.anchorOrigin,E=(m=void 0===m?{vertical:"bottom",horizontal:"center"}:m).vertical,b=m.horizontal,h=n.autoHideDuration,g=void 0===h?null:h,v=n.children,x=n.classes,C=n.className,w=n.ClickAwayListenerProps,T=n.ContentProps,j=n.disableWindowBlurListener,y=void 0!==j&&j,k=n.message,L=n.onClose,P=n.onEnter,O=n.onEntered,D=n.onEntering,M=n.onExit,S=n.onExited,z=n.onExiting,A=n.onMouseEnter,B=n.onMouseLeave,H=n.open,N=n.resumeHideDuration,R=n.TransitionComponent,U=void 0===R?f:R,W=n.transitionDuration,I=void 0===W?{enter:a.enteringScreen,exit:a.leavingScreen}:W,q=n.TransitionProps,G=e(n,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),_=o.useRef(),F=o.useState(!0),V=F[0],X=F[1],J=c((function(){L&&L.apply(void 0,arguments)})),K=c((function(e){L&&null!=e&&(clearTimeout(_.current),_.current=setTimeout((function(){J(null,"timeout")}),e))}));o.useEffect((function(){return H&&K(g),function(){clearTimeout(_.current)}}),[H,g,K]);var Q=function(){clearTimeout(_.current)},Y=o.useCallback((function(){null!=g&&K(null!=N?N:.5*g)}),[g,N,K]);return o.useEffect((function(){if(!y&&H)return window.addEventListener("focus",Y),window.addEventListener("blur",Q),function(){window.removeEventListener("focus",Y),window.removeEventListener("blur",Q)}}),[y,Y,H]),!H&&V?null:o.createElement(u,t({onClickAway:function(e){L&&L(e,"clickaway")}},w),o.createElement("div",t({className:i(x.root,x["anchorOrigin".concat(p(E)).concat(p(b))],C),onMouseEnter:function(e){A&&A(e),Q()},onMouseLeave:function(e){B&&B(e),Y()},ref:r},G),o.createElement(U,t({appear:!0,in:H,onEnter:l((function(){X(!1)}),P),onEntered:O,onEntering:D,onExit:M,onExited:l((function(){X(!0)}),S),onExiting:z,timeout:I,direction:"top"===E?"down":"up"},q),v||o.createElement(d,t({message:k,action:s},T)))))}));"production"!==process.env.NODE_ENV&&(b.propTypes={action:r.node,anchorOrigin:r.shape({horizontal:r.oneOf(["center","left","right"]).isRequired,vertical:r.oneOf(["bottom","top"]).isRequired}),autoHideDuration:r.number,children:r.element,classes:r.object,className:r.string,ClickAwayListenerProps:r.object,ContentProps:r.object,disableWindowBlurListener:r.bool,key:r.any,message:r.node,onClose:r.func,onEnter:m(r.func,"Use the `TransitionProps` prop instead."),onEntered:m(r.func,"Use the `TransitionProps` prop instead."),onEntering:m(r.func,"Use the `TransitionProps` prop instead."),onExit:m(r.func,"Use the `TransitionProps` prop instead."),onExited:m(r.func,"Use the `TransitionProps` prop instead."),onExiting:m(r.func,"Use the `TransitionProps` prop instead."),onMouseEnter:r.func,onMouseLeave:r.func,open:r.bool,resumeHideDuration:r.number,TransitionComponent:r.elementType,transitionDuration:r.oneOfType([r.number,r.shape({appear:r.number,enter:r.number,exit:r.number})]),TransitionProps:r.object}),s(E,{flip:!1,name:"MuiSnackbar"})(b);export{E as styles};
|
|
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":"mvBAeU,IAACA,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,EAAS,CAAE,EAAEpB,EAAMqB,EAA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QC,aAS/C5E,iBAAkBwE,EAAUK,OAK5B5E,SAAUuE,EAAUM,QAMpB5E,QAASsE,EAAUO,OAKnB5E,UAAWqE,EAAUQ,OAKrB5E,uBAAwBoE,EAAUO,OAKlC1E,aAAcmE,EAAUO,OAKxBxE,0BAA2BiE,EAAUS,KAQrCC,IAAKV,EAAUW,IAKf3E,QAASgE,EAAUC,KAYnBhE,QAAS+D,EAAUY,KAMnB1E,QAAS2E,EAAmBb,EAAUY,KAAM,2CAM5CzE,UAAW0E,EAAmBb,EAAUY,KAAM,2CAM9CxE,WAAYyE,EAAmBb,EAAUY,KAAM,2CAM/CvE,OAAQwE,EAAmBb,EAAUY,KAAM,2CAM3CtE,SAAUuE,EAAmBb,EAAUY,KAAM,2CAM7CrE,UAAWsE,EAAmBb,EAAUY,KAAM,2CAK9CpE,aAAcwD,EAAUY,KAKxBnE,aAAcuD,EAAUY,KAKxBlE,KAAMsD,EAAUS,KAQhB9D,mBAAoBqD,EAAUK,OAM9BxD,oBAAqBmD,EAAUc,YAM/B9D,mBAAoBgD,EAAUe,UAAU,CAACf,EAAUK,OAAQL,EAAUE,MAAM,CACzEZ,OAAQU,EAAUK,OAClBpD,MAAO+C,EAAUK,OACjBjD,KAAM4C,EAAUK,WAMlB/C,gBAAiB0C,EAAUO,SAEdS,EAAWlI,EAAQ,CAChCmI,MAAM,EACNC,KAAM,eAFOF,CAGZnG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import r from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import t from"../../../../@babel/runtime/helpers/esm/extends.js";import*as a from"react";import s from"../../../../../_virtual/index2.js";import{clsx as o}from"../../../../clsx/dist/clsx.m.js";import i from"../styles/withStyles.js";import l from"../Paper/Paper.js";import{emphasize as n}from"../styles/colorManipulator.js";var m=function(e){var a="light"===e.palette.type?.8:.98,s=n(e.palette.background.default,a);return{root:t({},e.typography.body2,r({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=a.forwardRef((function(r,s){var i=r.action,n=r.classes,m=r.className,p=r.message,c=r.role,d=void 0===c?"alert":c,f=e(r,["action","classes","className","message","role"]);return a.createElement(l,t({role:d,square:!0,elevation:6,className:o(n.root,m),ref:s},f),a.createElement("div",{className:n.message},p),i?a.createElement("div",{className:n.action},i):null)}));"production"!==process.env.NODE_ENV&&(p.propTypes={action:s.node,classes:s.object,className:s.string,message:s.node,role:s.string});var c=i(m,{name:"MuiSnackbarContent"})(p);export{c as default,m as styles};
|
|
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","SnackbarContent$1","withStyles","name"],"mappings":"4dASU,IAACA,EAAS,SAAgBC,GAClC,IAAIC,EAAkC,UAAvBD,EAAME,QAAQC,KAAmB,GAAM,IAClDC,EAAkBC,EAAUL,EAAME,QAAQI,WAAWC,QAASN,GAClE,MAAO,CAELO,KAAMC,EAAS,CAAE,EAAET,EAAMU,WAAWC,MAAOC,EAAgB,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,EAAyBP,EAAO,CAAC,SAAU,UAAW,YAAa,UAAW,SAE1F,OAAoBF,EAAMU,cAAcC,EAAOjC,EAAS,CACtD6B,KAAMA,EACNK,QAAQ,EACRC,UAAW,EACXR,UAAWS,EAAKV,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,EAAUC,KAMlBhB,QAASe,EAAUE,OAKnBhB,UAAWc,EAAUG,OAKrB5B,QAASyB,EAAUC,KAKnBb,KAAMY,EAAUG,SAElB,IAAeC,EAAAC,EAAWxD,EAAQ,CAChCyD,KAAM,sBADOD,CAEZzB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as a from"react";import{r as o}from"../../../../../_virtual/index.js";import i from"../../../../../_virtual/index2.js";import{clsx as n}from"../../../../clsx/dist/clsx.m.js";import l from"../styles/withStyles.js";var r={root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},s=a.forwardRef((function(i,l){var r=i.active,s=void 0!==r&&r,d=i.alternativeLabel,c=i.children,m=i.classes,p=i.className,v=i.completed,b=void 0!==v&&v,u=i.connector,f=i.disabled,x=void 0!==f&&f,h=i.expanded,j=void 0!==h&&h,E=i.index,g=i.last,N=i.orientation,L=t(i,["active","alternativeLabel","children","classes","className","completed","connector","disabled","expanded","index","last","orientation"]),y=u?a.cloneElement(u,{orientation:N,alternativeLabel:d,index:E,active:s,completed:b,disabled:x}):null,_=a.createElement("div",e({className:n(m.root,m[N],p,d&&m.alternativeLabel,b&&m.completed),ref:l},L),y&&d&&0!==E?y:null,a.Children.map(c,(function(t){return a.isValidElement(t)?("production"!==process.env.NODE_ENV&&o.isFragment(t)&&console.error(["Material-UI: The Step component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n")),a.cloneElement(t,e({active:s,alternativeLabel:d,completed:b,disabled:x,expanded:j,last:g,icon:E+1,orientation:N},t.props))):null})));return y&&!d&&0!==E?a.createElement(a.Fragment,null,y,_):_}));"production"!==process.env.NODE_ENV&&(s.propTypes={active:i.bool,children:i.node,classes:i.object,className:i.string,completed:i.bool,disabled:i.bool,expanded:i.bool}),l(r,{name:"MuiStep"})(s);export{r as styles};
|
|
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":"8WAOU,IAACA,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,EAC5CT,EAAmBO,EAAMP,iBACzBW,EAAWJ,EAAMI,SACjBC,EAAUL,EAAMK,QAChBC,EAAYN,EAAMM,UAClBC,EAAmBP,EAAMJ,UACzBA,OAAiC,IAArBW,GAAsCA,EAClDC,EAAgBR,EAAMS,UACtBC,EAAkBV,EAAMW,SACxBA,OAA+B,IAApBD,GAAqCA,EAChDE,EAAkBZ,EAAMa,SACxBA,OAA+B,IAApBD,GAAqCA,EAChDE,EAAQd,EAAMc,MACdC,EAAOf,EAAMe,KACbC,EAAchB,EAAMgB,YACpBC,EAAQC,EAAyBlB,EAAO,CAAC,SAAU,mBAAoB,WAAY,UAAW,YAAa,YAAa,YAAa,WAAY,WAAY,QAAS,OAAQ,gBAE9KS,EAAYD,EAA6BV,EAAMqB,aAAaX,EAAe,CAC7EQ,YAAaA,EACbvB,iBAAkBA,EAClBqB,MAAOA,EACPX,OAAQA,EACRP,UAAWA,EACXe,SAAUA,IACP,KACDS,EAA2BtB,EAAMuB,cAAc,MAAOC,EAAS,CACjEhB,UAAWiB,EAAKlB,EAAQjB,KAAMiB,EAAQW,GAAcV,EAAWb,GAAoBY,EAAQZ,iBAAkBG,GAAaS,EAAQT,WAClIK,IAAKA,GACJgB,GAAQR,GAAahB,GAA8B,IAAVqB,EAAcL,EAAY,KAAMX,EAAM0B,SAASC,IAAIrB,GAAU,SAAUsB,GACjH,OAAmB5B,EAAM6B,eAAeD,IAIX,eAAzBE,QAAQC,IAAIC,UACVC,EAAAA,WAAWL,IACbM,QAAQC,MAAM,CAAC,wEAAyE,wCAAwCC,KAAK,OAIrHpC,EAAMqB,aAAaO,EAAOJ,EAAS,CACrDnB,OAAQA,EACRV,iBAAkBA,EAClBG,UAAWA,EACXe,SAAUA,EACVE,SAAUA,EACVE,KAAMA,EACNoB,KAAMrB,EAAQ,EACdE,YAAaA,GACZU,EAAM1B,SAlBA,IAmBV,KAED,OAAIS,IAAchB,GAA8B,IAAVqB,EAChBhB,EAAMuB,cAAcvB,EAAMsC,SAAU,KAAM3B,EAAWW,GAGpEA,CACT,IACyB,eAAzBQ,QAAQC,IAAIC,WAA4BjC,EAAKwC,UAAY,CASvDlC,OAAQmC,EAAUC,KAKlBnC,SAAUkC,EAAUE,KAMpBnC,QAASiC,EAAUG,OAKnBnC,UAAWgC,EAAUI,OAKrB9C,UAAW0C,EAAUC,KAMrB5B,SAAU2B,EAAUC,KAKpB1B,SAAUyB,EAAUC,OAEPI,EAAWxD,EAAQ,CAChCyD,KAAM,WADOD,CAEZ9C"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import o from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as t from"react";import a from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import l from"../styles/withStyles.js";import r from"../ButtonBase/ButtonBase.js";import s from"../StepLabel/StepLabel.js";import n from"../utils/isMuiElement.js";var p={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)"}},c=t.forwardRef((function(a,l){var p=a.active,c=a.alternativeLabel,m=a.children,d=a.classes,b=a.className,u=a.completed,f=a.disabled;a.expanded;var x=a.icon;a.last;var v=a.optional,h=a.orientation,j=o(a,["active","alternativeLabel","children","classes","className","completed","disabled","expanded","icon","last","optional","orientation"]),g={active:p,alternativeLabel:c,completed:u,disabled:f,icon:x,optional:v,orientation:h},L=n(m,["StepLabel"])?t.cloneElement(m,g):t.createElement(s,g,m);return t.createElement(r,e({focusRipple:!0,disabled:f,TouchRippleProps:{className:d.touchRipple},className:i(d.root,d[h],b),ref:l},j),L)}));"production"!==process.env.NODE_ENV&&(c.propTypes={active:a.bool,alternativeLabel:a.bool,children:a.node,classes:a.object.isRequired,className:a.string,completed:a.bool,disabled:a.bool,expanded:a.bool,icon:a.node,last:a.bool,optional:a.node,orientation:a.oneOf(["horizontal","vertical"])}),l(p,{name:"MuiStepButton"})(c);export{p as styles};
|
|
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":"qbASU,IAACA,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,EAAyBf,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,EAAad,EAAU,CAAC,cAA6BN,EAAMqB,aAAaf,EAAUY,GAA2BlB,EAAMsB,cAAcC,EAAWL,EAAYZ,GACpK,OAAoBN,EAAMsB,cAAcE,EAAYC,EAAS,CAC3DC,aAAa,EACbhB,SAAUA,EACViB,iBAAkB,CAChBnB,UAAWD,EAAQV,aAErBW,UAAWoB,EAAKrB,EAAQlB,KAAMkB,EAAQQ,GAAcP,GACpDL,IAAKA,GACJa,GAAQG,EACb,IACyB,eAAzBU,QAAQC,IAAIC,WAA4BhC,EAAWiC,UAAY,CAK7D5B,OAAQ6B,EAAUC,KAMlB7B,iBAAkB4B,EAAUC,KAK5B5B,SAAU2B,EAAUE,KAMpB5B,QAAS0B,EAAUG,OAAOC,WAK1B7B,UAAWyB,EAAUK,OAMrB7B,UAAWwB,EAAUC,KAMrBxB,SAAUuB,EAAUC,KAMpBvB,SAAUsB,EAAUC,KAKpBtB,KAAMqB,EAAUE,KAKhBtB,KAAMoB,EAAUC,KAKhBpB,SAAUmB,EAAUE,KAKpBpB,YAAakB,EAAUM,MAAM,CAAC,aAAc,eAE/BC,EAAWpD,EAAQ,CAChCqD,KAAM,iBADOD,CAEZzC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as r from"react";import a from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import l from"../styles/withStyles.js";var o=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}}},s=r.forwardRef((function(a,l){var o=a.active,s=a.alternativeLabel,n=void 0!==s&&s,c=a.classes,d=a.className,p=a.completed,m=a.disabled;a.index;var b=a.orientation,v=void 0===b?"horizontal":b,f=t(a,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return r.createElement("div",e({className:i(c.root,c[v],d,n&&c.alternativeLabel,o&&c.active,p&&c.completed,m&&c.disabled),ref:l},f),r.createElement("span",{className:i(c.line,{horizontal:c.lineHorizontal,vertical:c.lineVertical}[v])}))}));"production"!==process.env.NODE_ENV&&(s.propTypes={classes:a.object,className:a.string});var n=l(o,{name:"MuiStepConnector"})(s);export{n as default,o as styles};
|
|
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","propTyp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SAAY8B,EAAQV,cACpBc,MAEN,IACyB,eAAzBM,QAAQC,IAAIC,WAA4BlB,EAAcmB,UAAY,CAUhEb,QAASc,EAAUC,OAKnBd,UAAWa,EAAUE,SAEvB,IAAeC,EAAAC,EAAWrD,EAAQ,CAChCsD,KAAM,oBADOD,CAEZxB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as o from"react";import r from"../../../../../_virtual/index2.js";import{clsx as n}from"../../../../clsx/dist/clsx.m.js";import i from"../Collapse/Collapse.js";import a from"../styles/withStyles.js";var s=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:{}}},p=o.forwardRef((function(r,a){var s=r.active;r.alternativeLabel;var p=r.children,l=r.classes,m=r.className;r.completed;var c=r.expanded,d=r.last;r.optional;var u=r.orientation,f=r.TransitionComponent,v=void 0===f?i:f,b=r.transitionDuration,h=void 0===b?"auto":b,g=r.TransitionProps,x=t(r,["active","alternativeLabel","children","classes","className","completed","expanded","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]);"production"!==process.env.NODE_ENV&&"vertical"!==u&&console.error("Material-UI: <StepContent /> is only designed for use with the vertical stepper.");var T=h;return"auto"!==h||v.muiSupportAuto||(T=void 0),o.createElement("div",e({className:n(l.root,m,d&&l.last),ref:a},x),o.createElement(v,e({in:s||c,className:l.transition,timeout:T,unmountOnExit:!0},g),p))}));"production"!==process.env.NODE_ENV&&(p.propTypes={children:r.node,classes:r.object,className:r.string,TransitionComponent:r.elementType,transitionDuration:r.oneOfType([r.oneOf(["auto"]),r.number,r.shape({appear:r.number,enter:r.number,exit:r.number})]),TransitionProps:r.object}),a(s,{name:"MuiStepContent"})(p);export{s as styles};
|
|
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":"gWAOU,IAACA,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,EAAWF,EACpEG,EAAwBd,EAAMe,mBAC9BC,OAAmD,IAA1BF,EAAmC,OAASA,EACrEG,EAAkBjB,EAAMiB,gBACxBC,EAAQC,EAAyBnB,EAAO,CAAC,SAAU,mBAAoB,WAAY,UAAW,YAAa,YAAa,WAAY,OAAQ,WAAY,cAAe,sBAAuB,qBAAsB,oBAE3L,eAAzBoB,QAAQC,IAAIC,UACM,aAAhBZ,GACFa,QAAQC,MAAM,oFAIlB,IAAIT,EAAqBC,EAMzB,MAJ+B,SAA3BA,GAAsCJ,EAAoBa,iBAC5DV,OAAqBW,GAGH5B,EAAM6B,cAAc,MAAOC,EAAS,CACtDtB,UAAWuB,EAAKxB,EAAQpB,KAAMqB,EAAWX,GAAQU,EAAQV,MACzDM,IAAKA,GACJiB,GAAqBpB,EAAM6B,cAAcf,EAAqBgB,EAAS,CACxEE,GAAI5B,GAAUM,EACdF,UAAWD,EAAQT,WACnBmC,QAAShB,EACTiB,eAAe,GACdf,GAAkBb,GACvB,IACyB,eAAzBgB,QAAQC,IAAIC,WAA4BzB,EAAYoC,UAAY,CAS9D7B,SAAU8B,EAAUC,KAMpB9B,QAAS6B,EAAUE,OAKnB9B,UAAW4B,EAAUG,OAMrBzB,oBAAqBsB,EAAUI,YAQ/BvB,mBAAoBmB,EAAUK,UAAU,CAACL,EAAUM,MAAM,CAAC,SAAUN,EAAUO,OAAQP,EAAUQ,MAAM,CACpGC,OAAQT,EAAUO,OAClBG,MAAOV,EAAUO,OACjBI,KAAMX,EAAUO,WAMlBxB,gBAAiBiB,EAAUE,SAEdU,EAAW/D,EAAQ,CAChCgE,KAAM,kBADOD,CAEZjD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";import r from"../../../../../_virtual/index2.js";import{clsx as t}from"../../../../clsx/dist/clsx.m.js";import o from"../internal/svg-icons/CheckCircle.js";import a from"../internal/svg-icons/Warning.js";import c from"../styles/withStyles.js";import i from"../SvgIcon/SvgIcon.js";var l=function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$completed":{color:e.palette.primary.main},"&$active":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}},n=e.createElement("circle",{cx:"12",cy:"12",r:"12"}),m=e.forwardRef((function(r,c){var l=r.completed,m=void 0!==l&&l,s=r.icon,p=r.active,f=void 0!==p&&p,d=r.error,v=void 0!==d&&d,y=r.classes;if("number"==typeof s||"string"==typeof s){var x=t(y.root,f&&y.active,v&&y.error,m&&y.completed);return v?e.createElement(a,{className:x,ref:c}):m?e.createElement(o,{className:x,ref:c}):e.createElement(i,{className:x,ref:c},n,e.createElement("text",{className:y.text,x:"12",y:"16",textAnchor:"middle"},s))}return s}));"production"!==process.env.NODE_ENV&&(m.propTypes={active:r.bool,classes:r.object,completed:r.bool,error:r.bool,icon:r.node});var s=c(l,{name:"MuiStepIcon"})(m);export{s as default,l as styles};
|
|
2
|
+
//# sourceMappingURL=StepIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepIcon.js","sources":["../../../../../../node_modules/@material-ui/core/esm/StepIcon/StepIcon.js"],"sourcesContent":["import * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport CheckCircle from '../internal/svg-icons/CheckCircle';\nimport Warning from '../internal/svg-icons/Warning';\nimport withStyles from '../styles/withStyles';\nimport SvgIcon from '../SvgIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'block',\n color: theme.palette.text.disabled,\n '&$completed': {\n color: theme.palette.primary.main\n },\n '&$active': {\n color: theme.palette.primary.main\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Styles applied to the SVG text element. */\n text: {\n fill: theme.palette.primary.contrastText,\n fontSize: theme.typography.caption.fontSize,\n fontFamily: theme.typography.fontFamily\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 `error={true}`. */\n error: {}\n };\n};\n\nvar _ref = /*#__PURE__*/React.createElement(\"circle\", {\n cx: \"12\",\n cy: \"12\",\n r: \"12\"\n});\n\nvar StepIcon = /*#__PURE__*/React.forwardRef(function StepIcon(props, ref) {\n var _props$completed = props.completed,\n completed = _props$completed === void 0 ? false : _props$completed,\n icon = props.icon,\n _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n classes = props.classes;\n\n if (typeof icon === 'number' || typeof icon === 'string') {\n var className = clsx(classes.root, active && classes.active, error && classes.error, completed && classes.completed);\n\n if (error) {\n return /*#__PURE__*/React.createElement(Warning, {\n className: className,\n ref: ref\n });\n }\n\n if (completed) {\n return /*#__PURE__*/React.createElement(CheckCircle, {\n className: className,\n ref: ref\n });\n }\n\n return /*#__PURE__*/React.createElement(SvgIcon, {\n className: className,\n ref: ref\n }, _ref, /*#__PURE__*/React.createElement(\"text\", {\n className: classes.text,\n x: \"12\",\n y: \"16\",\n textAnchor: \"middle\"\n }, icon));\n }\n\n return icon;\n});\nprocess.env.NODE_ENV !== \"production\" ? StepIcon.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 * Whether this step is active.\n */\n active: PropTypes.bool,\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 * Mark the step as completed. Is passed to child components.\n */\n completed: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * The label displayed in the step icon.\n */\n icon: PropTypes.node\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepIcon'\n})(StepIcon);"],"names":["styles","theme","root","display","color","palette","text","disabled","primary","main","error","fill","contrastText","fontSize","typography","caption","fontFamily","active","completed","_ref","React","createElement","cx","cy","r","StepIcon","forwardRef","props","ref","_props$completed","icon","_props$active","_props$error","classes","className","clsx","Warning","CheckCircle","SvgIcon","x","y","textAnchor","process","env","NODE_ENV","propTypes","PropTypes","bool","object","node","StepIcon$1","withStyles","name"],"mappings":"gTAOU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,QAAS,QACTC,MAAOH,EAAMI,QAAQC,KAAKC,SAC1B,cAAe,CACbH,MAAOH,EAAMI,QAAQG,QAAQC,MAE/B,WAAY,CACVL,MAAOH,EAAMI,QAAQG,QAAQC,MAE/B,UAAW,CACTL,MAAOH,EAAMI,QAAQK,MAAMD,OAK/BH,KAAM,CACJK,KAAMV,EAAMI,QAAQG,QAAQI,aAC5BC,SAAUZ,EAAMa,WAAWC,QAAQF,SACnCG,WAAYf,EAAMa,WAAWE,YAI/BC,OAAQ,CAAE,EAGVC,UAAW,CAAE,EAGbR,MAAO,CAAE,EAEb,EAEIS,EAAoBC,EAAMC,cAAc,SAAU,CACpDC,GAAI,KACJC,GAAI,KACJC,EAAG,OAGDC,EAAwBL,EAAMM,YAAW,SAAkBC,EAAOC,GACpE,IAAIC,EAAmBF,EAAMT,UACzBA,OAAiC,IAArBW,GAAsCA,EAClDC,EAAOH,EAAMG,KACbC,EAAgBJ,EAAMV,OACtBA,OAA2B,IAAlBc,GAAmCA,EAC5CC,EAAeL,EAAMjB,MACrBA,OAAyB,IAAjBsB,GAAkCA,EAC1CC,EAAUN,EAAMM,QAEpB,GAAoB,iBAATH,GAAqC,iBAATA,EAAmB,CACxD,IAAII,EAAYC,EAAKF,EAAQ/B,KAAMe,GAAUgB,EAAQhB,OAAQP,GAASuB,EAAQvB,MAAOQ,GAAae,EAAQf,WAE1G,OAAIR,EACkBU,EAAMC,cAAce,EAAS,CAC/CF,UAAWA,EACXN,IAAKA,IAILV,EACkBE,EAAMC,cAAcgB,EAAa,CACnDH,UAAWA,EACXN,IAAKA,IAIWR,EAAMC,cAAciB,EAAS,CAC/CJ,UAAWA,EACXN,IAAKA,GACJT,EAAmBC,EAAMC,cAAc,OAAQ,CAChDa,UAAWD,EAAQ3B,KACnBiC,EAAG,KACHC,EAAG,KACHC,WAAY,UACXX,GACJ,CAED,OAAOA,CACT,IACyB,eAAzBY,QAAQC,IAAIC,WAA4BnB,EAASoB,UAAY,CAS3D5B,OAAQ6B,EAAUC,KAMlBd,QAASa,EAAUE,OAKnB9B,UAAW4B,EAAUC,KAKrBrC,MAAOoC,EAAUC,KAKjBjB,KAAMgB,EAAUG,OAElB,IAAeC,EAAAC,EAAWnD,EAAQ,CAChCoD,KAAM,eADOD,CAEZ1B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as o from"react";import a from"../../../../../_virtual/index2.js";import{clsx as r}from"../../../../clsx/dist/clsx.m.js";import l from"../styles/withStyles.js";import n from"../Typography/Typography.js";import i from"../StepIcon/StepIcon.js";var s=function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}},c=o.forwardRef((function(a,l){var s=a.active,c=void 0!==s&&s,p=a.alternativeLabel,m=void 0!==p&&p,d=a.children,b=a.classes,v=a.className,f=a.completed,h=void 0!==f&&f,u=a.disabled,x=void 0!==u&&u,y=a.error,g=void 0!==y&&y;a.expanded;var S=a.icon;a.last;var L=a.optional,j=a.orientation,N=void 0===j?"horizontal":j,I=a.StepIconComponent,C=a.StepIconProps,E=t(a,["active","alternativeLabel","children","classes","className","completed","disabled","error","expanded","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),$=I;return S&&!$&&($=i),o.createElement("span",e({className:r(b.root,b[N],v,x&&b.disabled,m&&b.alternativeLabel,g&&b.error),ref:l},E),S||$?o.createElement("span",{className:r(b.iconContainer,m&&b.alternativeLabel)},o.createElement($,e({completed:h,active:c,error:g,icon:S},C))):null,o.createElement("span",{className:b.labelContainer},d?o.createElement(n,{variant:"body2",component:"span",display:"block",className:r(b.label,m&&b.alternativeLabel,h&&b.completed,c&&b.active,g&&b.error)},d):null,L))}));"production"!==process.env.NODE_ENV&&(c.propTypes={children:a.node,classes:a.object,className:a.string,disabled:a.bool,error:a.bool,icon:a.node,optional:a.node,StepIconComponent:a.elementType,StepIconProps:a.object}),c.muiName="StepLabel";var p=l(s,{name:"MuiStepLabel"})(c);export{p as default,s as styles};
|
|
2
|
+
//# sourceMappingURL=StepLabel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepLabel.js","sources":["../../../../../../node_modules/@material-ui/core/esm/StepLabel/StepLabel.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 Typography from '../Typography';\nimport StepIcon from '../StepIcon';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n '&$alternativeLabel': {\n flexDirection: 'column'\n },\n '&$disabled': {\n cursor: 'default'\n }\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\n /* Styles applied to the `Typography` component which wraps `children`. */\n label: {\n color: theme.palette.text.secondary,\n '&$active': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$completed': {\n color: theme.palette.text.primary,\n fontWeight: 500\n },\n '&$alternativeLabel': {\n textAlign: 'center',\n marginTop: 16\n },\n '&$error': {\n color: theme.palette.error.main\n }\n },\n\n /* Pseudo-class applied to the `Typography` component if `active={true}`. */\n active: {},\n\n /* Pseudo-class applied to the `Typography` component if `completed={true}`. */\n completed: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `error={true}`. */\n error: {},\n\n /* Pseudo-class applied to the root element and `Typography` component if `disabled={true}`. */\n disabled: {},\n\n /* Styles applied to the `icon` container element. */\n iconContainer: {\n flexShrink: 0,\n // Fix IE 11 issue\n display: 'flex',\n paddingRight: 8,\n '&$alternativeLabel': {\n paddingRight: 0\n }\n },\n\n /* Pseudo-class applied to the root and icon container and `Typography` if `alternativeLabel={true}`. */\n alternativeLabel: {},\n\n /* Styles applied to the container element which wraps `Typography` and `optional`. */\n labelContainer: {\n width: '100%'\n }\n };\n};\nvar StepLabel = /*#__PURE__*/React.forwardRef(function StepLabel(props, ref) {\n var _props$active = props.active,\n active = _props$active === void 0 ? false : _props$active,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\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 _props$disabled = props.disabled,\n disabled = _props$disabled === void 0 ? false : _props$disabled,\n _props$error = props.error,\n error = _props$error === void 0 ? false : _props$error,\n expanded = props.expanded,\n icon = props.icon,\n last = props.last,\n optional = props.optional,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n StepIconComponentProp = props.StepIconComponent,\n StepIconProps = props.StepIconProps,\n other = _objectWithoutProperties(props, [\"active\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"completed\", \"disabled\", \"error\", \"expanded\", \"icon\", \"last\", \"optional\", \"orientation\", \"StepIconComponent\", \"StepIconProps\"]);\n\n var StepIconComponent = StepIconComponentProp;\n\n if (icon && !StepIconComponent) {\n StepIconComponent = StepIcon;\n }\n\n return /*#__PURE__*/React.createElement(\"span\", _extends({\n className: clsx(classes.root, classes[orientation], className, disabled && classes.disabled, alternativeLabel && classes.alternativeLabel, error && classes.error),\n ref: ref\n }, other), icon || StepIconComponent ? /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.iconContainer, alternativeLabel && classes.alternativeLabel)\n }, /*#__PURE__*/React.createElement(StepIconComponent, _extends({\n completed: completed,\n active: active,\n error: error,\n icon: icon\n }, StepIconProps))) : null, /*#__PURE__*/React.createElement(\"span\", {\n className: classes.labelContainer\n }, children ? /*#__PURE__*/React.createElement(Typography, {\n variant: \"body2\",\n component: \"span\",\n display: \"block\",\n className: clsx(classes.label, alternativeLabel && classes.alternativeLabel, completed && classes.completed, active && classes.active, error && classes.error)\n }, children) : null, optional));\n});\nprocess.env.NODE_ENV !== \"production\" ? StepLabel.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 * In most cases will simply be a string containing a title for the label.\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 disabled, will also disable the button if\n * `StepLabelButton` is a child of `StepLabel`. Is passed to child components.\n */\n disabled: PropTypes.bool,\n\n /**\n * Mark the step as failed.\n */\n error: PropTypes.bool,\n\n /**\n * Override the default label of the step icon.\n */\n icon: PropTypes.node,\n\n /**\n * The optional node to display.\n */\n optional: PropTypes.node,\n\n /**\n * The component to render in place of the [`StepIcon`](/api/step-icon/).\n */\n StepIconComponent: PropTypes.elementType,\n\n /**\n * Props applied to the [`StepIcon`](/api/step-icon/) element.\n */\n StepIconProps: PropTypes.object\n} : void 0;\nStepLabel.muiName = 'StepLabel';\nexport default withStyles(styles, {\n name: 'MuiStepLabel'\n})(StepLabel);"],"names":["styles","theme","root","display","alignItems","flexDirection","cursor","horizontal","vertical","label","color","palette","text","secondary","primary","fontWeight","textAlign","marginTop","error","main","active","completed","disabled","iconContainer","flexShrink","paddingRight","alternativeLabel","labelContainer","width","StepLabel","React","forwardRef","props","ref","_props$active","_props$alternativeLab","children","classes","className","_props$completed","_props$disabled","_props$error","expanded","icon","last","optional","_props$orientation","orientation","StepIconComponentProp","StepIconComponent","StepIconProps","other","_objectWithoutProperties","StepIcon","createElement","_extends","clsx","Typography","variant","component","process","env","NODE_ENV","propTypes","PropTypes","node","object","string","bool","elementType","muiName","StepLabel$1","withStyles","name"],"mappings":"2YAQU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,QAAS,OACTC,WAAY,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/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as o from"react";import r from"../../../../../_virtual/index2.js";import{clsx as n}from"../../../../clsx/dist/clsx.m.js";import a from"../styles/withStyles.js";import i from"../Paper/Paper.js";import l from"../StepConnector/StepConnector.js";var s={root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},c=o.createElement(l,null),m=o.forwardRef((function(r,a){var l=r.activeStep,s=void 0===l?0:l,m=r.alternativeLabel,p=void 0!==m&&m,d=r.children,v=r.classes,f=r.className,b=r.connector,u=void 0===b?c:b,h=r.nonLinear,x=void 0!==h&&h,j=r.orientation,L=void 0===j?"horizontal":j,E=t(r,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),S=o.isValidElement(u)?o.cloneElement(u,{orientation:L}):null,N=o.Children.toArray(d),g=N.map((function(t,r){var n={index:r,active:!1,completed:!1,disabled:!1};return s===r?n.active=!0:!x&&s>r?n.completed=!0:!x&&s<r&&(n.disabled=!0),o.cloneElement(t,e({alternativeLabel:p,connector:S,last:r+1===N.length,orientation:L},n,t.props))}));return o.createElement(i,e({square:!0,elevation:0,className:n(v.root,v[L],f,p&&v.alternativeLabel),ref:a},E),g)}));"production"!==process.env.NODE_ENV&&(m.propTypes={activeStep:r.number,alternativeLabel:r.bool,children:r.node,classes:r.object,className:r.string,connector:r.element,nonLinear:r.bool,orientation:r.oneOf(["horizontal","vertical"])}),a(s,{name:"MuiStepper"})(m);export{s as styles};
|
|
2
|
+
//# sourceMappingURL=Stepper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.js","sources":["../../../../../../node_modules/@material-ui/core/esm/Stepper/Stepper.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 Paper from '../Paper';\nimport StepConnector from '../StepConnector';\nexport var styles = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n padding: 24\n },\n\n /* Styles applied to the root element if `orientation=\"horizontal\"`. */\n horizontal: {\n flexDirection: 'row',\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `orientation=\"vertical\"`. */\n vertical: {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `alternativeLabel={true}`. */\n alternativeLabel: {\n alignItems: 'flex-start'\n }\n};\nvar defaultConnector = /*#__PURE__*/React.createElement(StepConnector, null);\nvar Stepper = /*#__PURE__*/React.forwardRef(function Stepper(props, ref) {\n var _props$activeStep = props.activeStep,\n activeStep = _props$activeStep === void 0 ? 0 : _props$activeStep,\n _props$alternativeLab = props.alternativeLabel,\n alternativeLabel = _props$alternativeLab === void 0 ? false : _props$alternativeLab,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$connector = props.connector,\n connectorProp = _props$connector === void 0 ? defaultConnector : _props$connector,\n _props$nonLinear = props.nonLinear,\n nonLinear = _props$nonLinear === void 0 ? false : _props$nonLinear,\n _props$orientation = props.orientation,\n orientation = _props$orientation === void 0 ? 'horizontal' : _props$orientation,\n other = _objectWithoutProperties(props, [\"activeStep\", \"alternativeLabel\", \"children\", \"classes\", \"className\", \"connector\", \"nonLinear\", \"orientation\"]);\n\n var connector = /*#__PURE__*/React.isValidElement(connectorProp) ? /*#__PURE__*/React.cloneElement(connectorProp, {\n orientation: orientation\n }) : null;\n var childrenArray = React.Children.toArray(children);\n var steps = childrenArray.map(function (step, index) {\n var state = {\n index: index,\n active: false,\n completed: false,\n disabled: false\n };\n\n if (activeStep === index) {\n state.active = true;\n } else if (!nonLinear && activeStep > index) {\n state.completed = true;\n } else if (!nonLinear && activeStep < index) {\n state.disabled = true;\n }\n\n return /*#__PURE__*/React.cloneElement(step, _extends({\n alternativeLabel: alternativeLabel,\n connector: connector,\n last: index + 1 === childrenArray.length,\n orientation: orientation\n }, state, step.props));\n });\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n elevation: 0,\n className: clsx(classes.root, classes[orientation], className, alternativeLabel && classes.alternativeLabel),\n ref: ref\n }, other), steps);\n});\nprocess.env.NODE_ENV !== \"production\" ? Stepper.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 * Set the active step (zero based index).\n * Set to -1 to disable all the steps.\n */\n activeStep: PropTypes.number,\n\n /**\n * If set to 'true' and orientation is horizontal,\n * then the step label will be positioned under the icon.\n */\n alternativeLabel: PropTypes.bool,\n\n /**\n * Two or more `<Step />` components.\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 * An element to be placed between each step.\n */\n connector: PropTypes.element,\n\n /**\n * If set the `Stepper` will not assist in controlling steps for linear flow.\n */\n nonLinear: PropTypes.bool,\n\n /**\n * The stepper orientation (layout flow direction).\n */\n orientation: PropTypes.oneOf(['horizontal', 'vertical'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiStepper'\n})(Stepper);"],"names":["styles","root","display","padding","horizontal","flexDirection","alignItems","vertical","alternativeLabel","defaultConnector","React","createElement","StepConnector","Stepper","forwardRef","props","ref","_props$activeStep","activeStep","_props$alternativeLab","children","classes","className","_props$connector","connector","connectorProp","_props$nonLinear","nonLinear","_props$orientation","orientation","other","_objectWithoutProperties","isValidElement","cloneElement","childrenArray","Children","toArray","steps","map","step","index","state","active","completed","disabled","_extends","last","length","Paper","square","elevation","clsx","process","env","NODE_ENV","propTypes","PropTypes","number","bool","node","object","string","element","oneOf","withStyles","name"],"mappings":"2YAQU,IAACA,EAAS,CAElBC,KAAM,CACJC,QAAS,OACTC,QAA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pB,KAAMoB,EAAQQ,GAAcP,EAAWd,GAAoBa,EAAQb,kBAC3FQ,IAAKA,GACJc,GAAQO,EACb,IACyB,eAAzBe,QAAQC,IAAIC,WAA4BzC,EAAQ0C,UAAY,CAU1DrC,WAAYsC,EAAUC,OAMtBjD,iBAAkBgD,EAAUE,KAK5BtC,SAAUoC,EAAUG,KAMpBtC,QAASmC,EAAUI,OAKnBtC,UAAWkC,EAAUK,OAKrBrC,UAAWgC,EAAUM,QAKrBnC,UAAW6B,EAAUE,KAKrB7B,YAAa2B,EAAUO,MAAM,CAAC,aAAc,eAE/BC,EAAWhE,EAAQ,CAChCiE,KAAM,cADOD,CAEZnD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import t from"../../../../@babel/runtime/helpers/esm/extends.js";import e from"../../../../@babel/runtime/helpers/esm/defineProperty.js";import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as o from"react";import s from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import a from"../styles/withStyles.js";import m from"../utils/capitalize.js";import{isHorizontal as n}from"../Drawer/Drawer.js";var c=function(t){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:t.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}},p=o.forwardRef((function(s,a){var c=s.anchor,p=s.classes,l=s.className,h=s.width,f=r(s,["anchor","classes","className","width"]);return o.createElement("div",t({className:i(p.root,p["anchor".concat(m(c))],l),ref:a,style:e({},n(c)?"width":"height",h)},f))}));"production"!==process.env.NODE_ENV&&(p.propTypes={anchor:s.oneOf(["left","top","right","bottom"]).isRequired,classes:s.object.isRequired,className:s.string,width:s.number.isRequired});var l=a(c,{name:"PrivateSwipeArea"})(p);export{l as default,c as styles};
|
|
2
|
+
//# sourceMappingURL=SwipeArea.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeArea.js","sources":["../../../../../../node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeArea.js"],"sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _defineProperty from \"@babel/runtime/helpers/esm/defineProperty\";\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 capitalize from '../utils/capitalize';\nimport { isHorizontal } from '../Drawer/Drawer';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'fixed',\n top: 0,\n left: 0,\n bottom: 0,\n zIndex: theme.zIndex.drawer - 1\n },\n anchorLeft: {\n right: 'auto'\n },\n anchorRight: {\n left: 'auto',\n right: 0\n },\n anchorTop: {\n bottom: 'auto',\n right: 0\n },\n anchorBottom: {\n top: 'auto',\n bottom: 0,\n right: 0\n }\n };\n};\n/**\n * @ignore - internal component.\n */\n\nvar SwipeArea = /*#__PURE__*/React.forwardRef(function SwipeArea(props, ref) {\n var anchor = props.anchor,\n classes = props.classes,\n className = props.className,\n width = props.width,\n other = _objectWithoutProperties(props, [\"anchor\", \"classes\", \"className\", \"width\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, classes[\"anchor\".concat(capitalize(anchor))], className),\n ref: ref,\n style: _defineProperty({}, isHorizontal(anchor) ? 'width' : 'height', width)\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? SwipeArea.propTypes = {\n /**\n * Side on which to attach the discovery area.\n */\n anchor: PropTypes.oneOf(['left', 'top', 'right', 'bottom']).isRequired,\n\n /**\n * @ignore\n */\n classes: PropTypes.object.isRequired,\n\n /**\n * @ignore\n */\n className: PropTypes.string,\n\n /**\n * The width of the left most (or right most) area in pixels where the\n * drawer can be swiped open from.\n */\n width: PropTypes.number.isRequired\n} : void 0;\nexport default withStyles(styles, {\n name: 'PrivateSwipeArea'\n})(SwipeArea);"],"names":["styles","theme","root","position","top","left","bottom","zIndex","drawer","anchorLeft","right","anchorRight","anchorTop","anchorBottom","SwipeArea","React","forwardRef","props","ref","anchor","classes","className","width","other","_objectWithoutProperties","createElement","_extends","clsx","concat","capitalize","style","_defineProperty","isHorizontal","process","env","NODE_ENV","propTypes","PropTypes","oneOf","isRequired","object","string","number","SwipeArea$1","withStyles","name"],"mappings":"0dASU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,SAAU,QACVC,IAAK,EACLC,KAAM,EACNC,OAAQ,EACRC,OAAQN,EAAMM,OAAOC,OAAS,GAEhCC,WAAY,CACVC,MAAO,QAETC,YAAa,CACXN,KAAM,OACNK,MAAO,GAETE,UAAW,CACTN,OAAQ,OACRI,MAAO,GAETG,aAAc,CACZT,IAAK,OACLE,OAAQ,EACRI,MAAO,GAGb,EAKII,EAAyBC,EAAMC,YAAW,SAAmBC,EAAOC,GACtE,IAAIC,EAASF,EAAME,OACfC,EAAUH,EAAMG,QAChBC,EAAYJ,EAAMI,UAClBC,EAAQL,EAAMK,MACdC,EAAQC,EAAyBP,EAAO,CAAC,SAAU,UAAW,YAAa,UAE/E,OAAoBF,EAAMU,cAAc,MAAOC,EAAS,CACtDL,UAAWM,EAAKP,EAAQlB,KAAMkB,EAAQ,SAASQ,OAAOC,EAAWV,KAAWE,GAC5EH,IAAKA,EACLY,MAAOC,EAAgB,CAAA,EAAIC,EAAab,GAAU,QAAU,SAAUG,IACrEC,GACL,IACyB,eAAzBU,QAAQC,IAAIC,WAA4BrB,EAAUsB,UAAY,CAI5DjB,OAAQkB,EAAUC,MAAM,CAAC,OAAQ,MAAO,QAAS,WAAWC,WAK5DnB,QAASiB,EAAUG,OAAOD,WAK1BlB,UAAWgB,EAAUI,OAMrBnB,MAAOe,EAAUK,OAAOH,aAE1B,IAAeI,EAAAC,EAAW5C,EAAQ,CAChC6C,KAAM,oBADOD,CAEZ9B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import r from"../../../../@babel/runtime/helpers/esm/extends.js";import*as t from"react";import n from"../../../../../_virtual/index2.js";import*as i from"react-dom";import"../../../utils/esm/elementAcceptingRef.js";import o from"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import"../../../styles/esm/index.js";import a,{getAnchor as s,isHorizontal as c}from"../Drawer/Drawer.js";import u from"../utils/ownerDocument.js";import l from"../utils/useEventCallback.js";import{duration as p}from"../styles/transitions.js";import m from"../styles/useTheme.js";import{getTransitionProps as f}from"../transitions/utils.js";import d from"../NoSsr/NoSsr.js";import v from"./SwipeArea.js";import h from"../../../styles/esm/getThemeProps/getThemeProps.js";var y=null;function b(e,r){return"right"===e?document.body.offsetWidth-r[0].pageX:r[0].pageX}function g(e,r){return"bottom"===e?window.innerHeight-r[0].clientY:r[0].clientY}function w(e,r){return e?r.clientWidth:r.clientHeight}function T(e,r,t,n){return Math.min(Math.max(t?r-e:n+r-e,0),n)}var P="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),S={enter:p.enteringScreen,exit:p.leavingScreen},j="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,E=t.forwardRef((function(n,o){var p=m(),E=h({name:"MuiSwipeableDrawer",props:r({},n),theme:p}),x=E.anchor,k=void 0===x?"left":x,D=E.disableBackdropTransition,H=void 0!==D&&D,M=E.disableDiscovery,O=void 0!==M&&M,R=E.disableSwipeToOpen,W=void 0===R?P:R,X=E.hideBackdrop,Y=E.hysteresis,A=void 0===Y?.52:Y,B=E.minFlingVelocity,C=void 0===B?450:B,L=E.ModalProps,V=(L=void 0===L?{}:L).BackdropProps,N=e(L,["BackdropProps"]),F=E.onClose,q=E.onOpen,_=E.open,G=E.PaperProps,z=void 0===G?{}:G,I=E.SwipeAreaProps,J=E.swipeAreaWidth,K=void 0===J?20:J,Q=E.transitionDuration,U=void 0===Q?S:Q,Z=E.variant,$=void 0===Z?"temporary":Z,ee=e(E,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"]),re=t.useState(!1),te=re[0],ne=re[1],ie=t.useRef({isSwiping:null}),oe=t.useRef(),ae=t.useRef(),se=t.useRef(),ce=t.useRef(!1),ue=t.useRef();j((function(){ue.current=null}),[_]);var le=t.useCallback((function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.mode,n=void 0===t?null:t,i=r.changeTransition,o=void 0===i||i,a=s(p,k),u=-1!==["right","bottom"].indexOf(a)?1:-1,l=c(k),m=l?"translate(".concat(u*e,"px, 0)"):"translate(0, ".concat(u*e,"px)"),d=se.current.style;d.webkitTransform=m,d.transform=m;var v="";if(n&&(v=p.transitions.create("all",f({timeout:U},{mode:n}))),o&&(d.webkitTransition=v,d.transition=v),!H&&!X){var h=ae.current.style;h.opacity=1-e/w(l,se.current),o&&(h.webkitTransition=v,h.transition=v)}}),[k,H,X,p,U]),pe=l((function(e){if(ce.current)if(y=null,ce.current=!1,ne(!1),ie.current.isSwiping){ie.current.isSwiping=null;var r,t=s(p,k),n=c(k);r=n?b(t,e.changedTouches):g(t,e.changedTouches);var i=n?ie.current.startX:ie.current.startY,o=w(n,se.current),a=T(r,i,_,o),u=a/o;Math.abs(ie.current.velocity)>C&&(ue.current=1e3*Math.abs((o-a)/ie.current.velocity)),_?ie.current.velocity>C||u>A?F():le(0,{mode:"exit"}):ie.current.velocity<-C||1-u>A?q():le(w(n,se.current),{mode:"enter"})}else ie.current.isSwiping=null})),me=l((function(e){if(se.current&&ce.current&&(null==y||y===ie.current)){var r=s(p,k),t=c(k),n=b(r,e.touches),i=g(r,e.touches);if(_&&se.current.contains(e.target)&&null==y){var o=function(e){var r=e.domTreeShapes,t=e.start,n=e.current,i=e.anchor,o={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return r.some((function(e){var r=n>=t;"top"!==i&&"left"!==i||(r=!r);var c="left"===i||"right"===i?"x":"y",u=e[o[c]],l=u>0,p=u+e[s[c]]<e[a[c]];return r&&p||!r&&l?e:null}))}({domTreeShapes:function(e,r){for(var t=[];e&&e!==r;){var n=window.getComputedStyle(e);"absolute"===n.getPropertyValue("position")||"hidden"===n.getPropertyValue("overflow-x")?t=[]:(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&t.push(e),e=e.parentElement}return t}(e.target,se.current),start:t?ie.current.startX:ie.current.startY,current:t?n:i,anchor:k});if(o)return void(y=o);y=ie.current}if(null==ie.current.isSwiping){var a=Math.abs(n-ie.current.startX),u=Math.abs(i-ie.current.startY);a>u&&e.cancelable&&e.preventDefault();var l=t?a>u&&a>3:u>a&&u>3;if(!0===l||(t?u>3:a>3)){if(ie.current.isSwiping=l,!l)return void pe(e);ie.current.startX=n,ie.current.startY=i,O||_||(t?ie.current.startX-=K:ie.current.startY-=K)}}if(ie.current.isSwiping){var m=w(t,se.current),f=t?ie.current.startX:ie.current.startY;_&&!ie.current.paperHit&&(f=Math.min(f,m));var d=T(t?n:i,f,_,m);if(_)if(ie.current.paperHit)0===d&&(ie.current.startX=n,ie.current.startY=i);else{if(!(t?n<m:i<m))return;ie.current.paperHit=!0,ie.current.startX=n,ie.current.startY=i}null===ie.current.lastTranslate&&(ie.current.lastTranslate=d,ie.current.lastTime=performance.now()+1);var v=(d-ie.current.lastTranslate)/(performance.now()-ie.current.lastTime)*1e3;ie.current.velocity=.4*ie.current.velocity+.6*v,ie.current.lastTranslate=d,ie.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),le(d)}}})),fe=l((function(e){if(!e.defaultPrevented&&!e.muiHandled&&(!_||ae.current.contains(e.target)||se.current.contains(e.target))){var r=s(p,k),t=c(k),n=b(r,e.touches),i=g(r,e.touches);if(!_){if(W||e.target!==oe.current)return;if(t){if(n>K)return}else if(i>K)return}e.muiHandled=!0,y=null,ie.current.startX=n,ie.current.startY=i,ne(!0),!_&&se.current&&le(w(t,se.current)+(O?20:-K),{changeTransition:!1}),ie.current.velocity=0,ie.current.lastTime=null,ie.current.lastTranslate=null,ie.current.paperHit=!1,ce.current=!0}}));t.useEffect((function(){if("temporary"===$){var e=u(se.current);return e.addEventListener("touchstart",fe),e.addEventListener("touchmove",me,{passive:!1}),e.addEventListener("touchend",pe),function(){e.removeEventListener("touchstart",fe),e.removeEventListener("touchmove",me,{passive:!1}),e.removeEventListener("touchend",pe)}}}),[$,fe,me,pe]),t.useEffect((function(){return function(){y===ie.current&&(y=null)}}),[]),t.useEffect((function(){_||ne(!1)}),[_]);var de=t.useCallback((function(e){ae.current=i.findDOMNode(e)}),[]);return t.createElement(t.Fragment,null,t.createElement(a,r({open:!("temporary"!==$||!te)||_,variant:$,ModalProps:r({BackdropProps:r({},V,{ref:de})},N),PaperProps:r({},z,{style:r({pointerEvents:"temporary"!==$||_?"":"none"},z.style),ref:se}),anchor:k,transitionDuration:ue.current||U,onClose:F,ref:o},ee)),!W&&"temporary"===$&&t.createElement(d,null,t.createElement(v,r({anchor:k,ref:oe,width:K},I))))}));"production"!==process.env.NODE_ENV&&(E.propTypes={anchor:n.oneOf(["left","top","right","bottom"]),children:n.node,disableBackdropTransition:n.bool,disableDiscovery:n.bool,disableSwipeToOpen:n.bool,hideBackdrop:n.bool,hysteresis:n.number,minFlingVelocity:n.number,ModalProps:n.shape({BackdropProps:n.shape({component:o})}),onClose:n.func.isRequired,onOpen:n.func.isRequired,open:n.bool.isRequired,PaperProps:n.shape({component:o,style:n.object}),SwipeAreaProps:n.object,swipeAreaWidth:n.number,transitionDuration:n.oneOfType([n.number,n.shape({enter:n.number,exit:n.number})]),variant:n.oneOf(["permanent","persistent","temporary"])});export{E as default};
|
|
2
|
+
//# sourceMappingURL=SwipeableDrawer.js.map
|