@e-llm-studio/citation 0.0.71 → 0.0.72
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/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/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/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/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/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":"index.esm.js","sources":["../../../../../node_modules/react-window/dist/index.esm.js"],"sourcesContent":["import _extends from '@babel/runtime/helpers/esm/extends';\nimport _assertThisInitialized from '@babel/runtime/helpers/esm/assertThisInitialized';\nimport _inheritsLoose from '@babel/runtime/helpers/esm/inheritsLoose';\nimport memoizeOne from 'memoize-one';\nimport { createElement, PureComponent } from 'react';\nimport _objectWithoutPropertiesLoose from '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';\n\n// Animation frame based implementation of setTimeout.\n// Inspired by Joe Lambert, https://gist.github.com/joelambert/1002116#file-requesttimeout-js\nvar hasNativePerformanceNow = typeof performance === 'object' && typeof performance.now === 'function';\nvar now = hasNativePerformanceNow ? function () {\n return performance.now();\n} : function () {\n return Date.now();\n};\nfunction cancelTimeout(timeoutID) {\n cancelAnimationFrame(timeoutID.id);\n}\nfunction requestTimeout(callback, delay) {\n var start = now();\n\n function tick() {\n if (now() - start >= delay) {\n callback.call(null);\n } else {\n timeoutID.id = requestAnimationFrame(tick);\n }\n }\n\n var timeoutID = {\n id: requestAnimationFrame(tick)\n };\n return timeoutID;\n}\n\nvar size = -1; // This utility copied from \"dom-helpers\" package.\n\nfunction getScrollbarSize(recalculate) {\n if (recalculate === void 0) {\n recalculate = false;\n }\n\n if (size === -1 || recalculate) {\n var div = document.createElement('div');\n var style = div.style;\n style.width = '50px';\n style.height = '50px';\n style.overflow = 'scroll';\n document.body.appendChild(div);\n size = div.offsetWidth - div.clientWidth;\n document.body.removeChild(div);\n }\n\n return size;\n}\nvar cachedRTLResult = null; // TRICKY According to the spec, scrollLeft should be negative for RTL aligned elements.\n// Chrome does not seem to adhere; its scrollLeft values are positive (measured relative to the left).\n// Safari's elastic bounce makes detecting this even more complicated wrt potential false positives.\n// The safest way to check this is to intentionally set a negative offset,\n// and then verify that the subsequent \"scroll\" event matches the negative offset.\n// If it does not match, then we can assume a non-standard RTL scroll implementation.\n\nfunction getRTLOffsetType(recalculate) {\n if (recalculate === void 0) {\n recalculate = false;\n }\n\n if (cachedRTLResult === null || recalculate) {\n var outerDiv = document.createElement('div');\n var outerStyle = outerDiv.style;\n outerStyle.width = '50px';\n outerStyle.height = '50px';\n outerStyle.overflow = 'scroll';\n outerStyle.direction = 'rtl';\n var innerDiv = document.createElement('div');\n var innerStyle = innerDiv.style;\n innerStyle.width = '100px';\n innerStyle.height = '100px';\n outerDiv.appendChild(innerDiv);\n document.body.appendChild(outerDiv);\n\n if (outerDiv.scrollLeft > 0) {\n cachedRTLResult = 'positive-descending';\n } else {\n outerDiv.scrollLeft = 1;\n\n if (outerDiv.scrollLeft === 0) {\n cachedRTLResult = 'negative';\n } else {\n cachedRTLResult = 'positive-ascending';\n }\n }\n\n document.body.removeChild(outerDiv);\n return cachedRTLResult;\n }\n\n return cachedRTLResult;\n}\n\nvar IS_SCROLLING_DEBOUNCE_INTERVAL = 150;\n\nvar defaultItemKey = function defaultItemKey(_ref) {\n var columnIndex = _ref.columnIndex,\n data = _ref.data,\n rowIndex = _ref.rowIndex;\n return rowIndex + \":\" + columnIndex;\n}; // In DEV mode, this Set helps us only log a warning once per component instance.\n// This avoids spamming the console every time a render happens.\n\n\nvar devWarningsOverscanCount = null;\nvar devWarningsOverscanRowsColumnsCount = null;\nvar devWarningsTagName = null;\n\nif (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined' && typeof window.WeakSet !== 'undefined') {\n devWarningsOverscanCount = /*#__PURE__*/new WeakSet();\n devWarningsOverscanRowsColumnsCount = /*#__PURE__*/new WeakSet();\n devWarningsTagName = /*#__PURE__*/new WeakSet();\n }\n}\n\nfunction createGridComponent(_ref2) {\n var _class;\n\n var getColumnOffset = _ref2.getColumnOffset,\n getColumnStartIndexForOffset = _ref2.getColumnStartIndexForOffset,\n getColumnStopIndexForStartIndex = _ref2.getColumnStopIndexForStartIndex,\n getColumnWidth = _ref2.getColumnWidth,\n getEstimatedTotalHeight = _ref2.getEstimatedTotalHeight,\n getEstimatedTotalWidth = _ref2.getEstimatedTotalWidth,\n getOffsetForColumnAndAlignment = _ref2.getOffsetForColumnAndAlignment,\n getOffsetForRowAndAlignment = _ref2.getOffsetForRowAndAlignment,\n getRowHeight = _ref2.getRowHeight,\n getRowOffset = _ref2.getRowOffset,\n getRowStartIndexForOffset = _ref2.getRowStartIndexForOffset,\n getRowStopIndexForStartIndex = _ref2.getRowStopIndexForStartIndex,\n initInstanceProps = _ref2.initInstanceProps,\n shouldResetStyleCacheOnItemSizeChange = _ref2.shouldResetStyleCacheOnItemSizeChange,\n validateProps = _ref2.validateProps;\n return _class = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(Grid, _PureComponent);\n\n // Always use explicit constructor for React components.\n // It produces less code after transpilation. (#26)\n // eslint-disable-next-line no-useless-constructor\n function Grid(props) {\n var _this;\n\n _this = _PureComponent.call(this, props) || this;\n _this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));\n _this._resetIsScrollingTimeoutId = null;\n _this._outerRef = void 0;\n _this.state = {\n instance: _assertThisInitialized(_this),\n isScrolling: false,\n horizontalScrollDirection: 'forward',\n scrollLeft: typeof _this.props.initialScrollLeft === 'number' ? _this.props.initialScrollLeft : 0,\n scrollTop: typeof _this.props.initialScrollTop === 'number' ? _this.props.initialScrollTop : 0,\n scrollUpdateWasRequested: false,\n verticalScrollDirection: 'forward'\n };\n _this._callOnItemsRendered = void 0;\n _this._callOnItemsRendered = memoizeOne(function (overscanColumnStartIndex, overscanColumnStopIndex, overscanRowStartIndex, overscanRowStopIndex, visibleColumnStartIndex, visibleColumnStopIndex, visibleRowStartIndex, visibleRowStopIndex) {\n return _this.props.onItemsRendered({\n overscanColumnStartIndex: overscanColumnStartIndex,\n overscanColumnStopIndex: overscanColumnStopIndex,\n overscanRowStartIndex: overscanRowStartIndex,\n overscanRowStopIndex: overscanRowStopIndex,\n visibleColumnStartIndex: visibleColumnStartIndex,\n visibleColumnStopIndex: visibleColumnStopIndex,\n visibleRowStartIndex: visibleRowStartIndex,\n visibleRowStopIndex: visibleRowStopIndex\n });\n });\n _this._callOnScroll = void 0;\n _this._callOnScroll = memoizeOne(function (scrollLeft, scrollTop, horizontalScrollDirection, verticalScrollDirection, scrollUpdateWasRequested) {\n return _this.props.onScroll({\n horizontalScrollDirection: horizontalScrollDirection,\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n verticalScrollDirection: verticalScrollDirection,\n scrollUpdateWasRequested: scrollUpdateWasRequested\n });\n });\n _this._getItemStyle = void 0;\n\n _this._getItemStyle = function (rowIndex, columnIndex) {\n var _this$props = _this.props,\n columnWidth = _this$props.columnWidth,\n direction = _this$props.direction,\n rowHeight = _this$props.rowHeight;\n\n var itemStyleCache = _this._getItemStyleCache(shouldResetStyleCacheOnItemSizeChange && columnWidth, shouldResetStyleCacheOnItemSizeChange && direction, shouldResetStyleCacheOnItemSizeChange && rowHeight);\n\n var key = rowIndex + \":\" + columnIndex;\n var style;\n\n if (itemStyleCache.hasOwnProperty(key)) {\n style = itemStyleCache[key];\n } else {\n var _offset = getColumnOffset(_this.props, columnIndex, _this._instanceProps);\n\n var isRtl = direction === 'rtl';\n itemStyleCache[key] = style = {\n position: 'absolute',\n left: isRtl ? undefined : _offset,\n right: isRtl ? _offset : undefined,\n top: getRowOffset(_this.props, rowIndex, _this._instanceProps),\n height: getRowHeight(_this.props, rowIndex, _this._instanceProps),\n width: getColumnWidth(_this.props, columnIndex, _this._instanceProps)\n };\n }\n\n return style;\n };\n\n _this._getItemStyleCache = void 0;\n _this._getItemStyleCache = memoizeOne(function (_, __, ___) {\n return {};\n });\n\n _this._onScroll = function (event) {\n var _event$currentTarget = event.currentTarget,\n clientHeight = _event$currentTarget.clientHeight,\n clientWidth = _event$currentTarget.clientWidth,\n scrollLeft = _event$currentTarget.scrollLeft,\n scrollTop = _event$currentTarget.scrollTop,\n scrollHeight = _event$currentTarget.scrollHeight,\n scrollWidth = _event$currentTarget.scrollWidth;\n\n _this.setState(function (prevState) {\n if (prevState.scrollLeft === scrollLeft && prevState.scrollTop === scrollTop) {\n // Scroll position may have been updated by cDM/cDU,\n // In which case we don't need to trigger another render,\n // And we don't want to update state.isScrolling.\n return null;\n }\n\n var direction = _this.props.direction; // TRICKY According to the spec, scrollLeft should be negative for RTL aligned elements.\n // This is not the case for all browsers though (e.g. Chrome reports values as positive, measured relative to the left).\n // It's also easier for this component if we convert offsets to the same format as they would be in for ltr.\n // So the simplest solution is to determine which browser behavior we're dealing with, and convert based on it.\n\n var calculatedScrollLeft = scrollLeft;\n\n if (direction === 'rtl') {\n switch (getRTLOffsetType()) {\n case 'negative':\n calculatedScrollLeft = -scrollLeft;\n break;\n\n case 'positive-descending':\n calculatedScrollLeft = scrollWidth - clientWidth - scrollLeft;\n break;\n }\n } // Prevent Safari's elastic scrolling from causing visual shaking when scrolling past bounds.\n\n\n calculatedScrollLeft = Math.max(0, Math.min(calculatedScrollLeft, scrollWidth - clientWidth));\n var calculatedScrollTop = Math.max(0, Math.min(scrollTop, scrollHeight - clientHeight));\n return {\n isScrolling: true,\n horizontalScrollDirection: prevState.scrollLeft < scrollLeft ? 'forward' : 'backward',\n scrollLeft: calculatedScrollLeft,\n scrollTop: calculatedScrollTop,\n verticalScrollDirection: prevState.scrollTop < scrollTop ? 'forward' : 'backward',\n scrollUpdateWasRequested: false\n };\n }, _this._resetIsScrollingDebounced);\n };\n\n _this._outerRefSetter = function (ref) {\n var outerRef = _this.props.outerRef;\n _this._outerRef = ref;\n\n if (typeof outerRef === 'function') {\n outerRef(ref);\n } else if (outerRef != null && typeof outerRef === 'object' && outerRef.hasOwnProperty('current')) {\n outerRef.current = ref;\n }\n };\n\n _this._resetIsScrollingDebounced = function () {\n if (_this._resetIsScrollingTimeoutId !== null) {\n cancelTimeout(_this._resetIsScrollingTimeoutId);\n }\n\n _this._resetIsScrollingTimeoutId = requestTimeout(_this._resetIsScrolling, IS_SCROLLING_DEBOUNCE_INTERVAL);\n };\n\n _this._resetIsScrolling = function () {\n _this._resetIsScrollingTimeoutId = null;\n\n _this.setState({\n isScrolling: false\n }, function () {\n // Clear style cache after state update has been committed.\n // This way we don't break pure sCU for items that don't use isScrolling param.\n _this._getItemStyleCache(-1);\n });\n };\n\n return _this;\n }\n\n Grid.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, prevState) {\n validateSharedProps(nextProps, prevState);\n validateProps(nextProps);\n return null;\n };\n\n var _proto = Grid.prototype;\n\n _proto.scrollTo = function scrollTo(_ref3) {\n var scrollLeft = _ref3.scrollLeft,\n scrollTop = _ref3.scrollTop;\n\n if (scrollLeft !== undefined) {\n scrollLeft = Math.max(0, scrollLeft);\n }\n\n if (scrollTop !== undefined) {\n scrollTop = Math.max(0, scrollTop);\n }\n\n this.setState(function (prevState) {\n if (scrollLeft === undefined) {\n scrollLeft = prevState.scrollLeft;\n }\n\n if (scrollTop === undefined) {\n scrollTop = prevState.scrollTop;\n }\n\n if (prevState.scrollLeft === scrollLeft && prevState.scrollTop === scrollTop) {\n return null;\n }\n\n return {\n horizontalScrollDirection: prevState.scrollLeft < scrollLeft ? 'forward' : 'backward',\n scrollLeft: scrollLeft,\n scrollTop: scrollTop,\n scrollUpdateWasRequested: true,\n verticalScrollDirection: prevState.scrollTop < scrollTop ? 'forward' : 'backward'\n };\n }, this._resetIsScrollingDebounced);\n };\n\n _proto.scrollToItem = function scrollToItem(_ref4) {\n var _ref4$align = _ref4.align,\n align = _ref4$align === void 0 ? 'auto' : _ref4$align,\n columnIndex = _ref4.columnIndex,\n rowIndex = _ref4.rowIndex;\n var _this$props2 = this.props,\n columnCount = _this$props2.columnCount,\n height = _this$props2.height,\n rowCount = _this$props2.rowCount,\n width = _this$props2.width;\n var _this$state = this.state,\n scrollLeft = _this$state.scrollLeft,\n scrollTop = _this$state.scrollTop;\n var scrollbarSize = getScrollbarSize();\n\n if (columnIndex !== undefined) {\n columnIndex = Math.max(0, Math.min(columnIndex, columnCount - 1));\n }\n\n if (rowIndex !== undefined) {\n rowIndex = Math.max(0, Math.min(rowIndex, rowCount - 1));\n }\n\n var estimatedTotalHeight = getEstimatedTotalHeight(this.props, this._instanceProps);\n var estimatedTotalWidth = getEstimatedTotalWidth(this.props, this._instanceProps); // The scrollbar size should be considered when scrolling an item into view,\n // to ensure it's fully visible.\n // But we only need to account for its size when it's actually visible.\n\n var horizontalScrollbarSize = estimatedTotalWidth > width ? scrollbarSize : 0;\n var verticalScrollbarSize = estimatedTotalHeight > height ? scrollbarSize : 0;\n this.scrollTo({\n scrollLeft: columnIndex !== undefined ? getOffsetForColumnAndAlignment(this.props, columnIndex, align, scrollLeft, this._instanceProps, verticalScrollbarSize) : scrollLeft,\n scrollTop: rowIndex !== undefined ? getOffsetForRowAndAlignment(this.props, rowIndex, align, scrollTop, this._instanceProps, horizontalScrollbarSize) : scrollTop\n });\n };\n\n _proto.componentDidMount = function componentDidMount() {\n var _this$props3 = this.props,\n initialScrollLeft = _this$props3.initialScrollLeft,\n initialScrollTop = _this$props3.initialScrollTop;\n\n if (this._outerRef != null) {\n var outerRef = this._outerRef;\n\n if (typeof initialScrollLeft === 'number') {\n outerRef.scrollLeft = initialScrollLeft;\n }\n\n if (typeof initialScrollTop === 'number') {\n outerRef.scrollTop = initialScrollTop;\n }\n }\n\n this._callPropsCallbacks();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n var direction = this.props.direction;\n var _this$state2 = this.state,\n scrollLeft = _this$state2.scrollLeft,\n scrollTop = _this$state2.scrollTop,\n scrollUpdateWasRequested = _this$state2.scrollUpdateWasRequested;\n\n if (scrollUpdateWasRequested && this._outerRef != null) {\n // TRICKY According to the spec, scrollLeft should be negative for RTL aligned elements.\n // This is not the case for all browsers though (e.g. Chrome reports values as positive, measured relative to the left).\n // So we need to determine which browser behavior we're dealing with, and mimic it.\n var outerRef = this._outerRef;\n\n if (direction === 'rtl') {\n switch (getRTLOffsetType()) {\n case 'negative':\n outerRef.scrollLeft = -scrollLeft;\n break;\n\n case 'positive-ascending':\n outerRef.scrollLeft = scrollLeft;\n break;\n\n default:\n var clientWidth = outerRef.clientWidth,\n scrollWidth = outerRef.scrollWidth;\n outerRef.scrollLeft = scrollWidth - clientWidth - scrollLeft;\n break;\n }\n } else {\n outerRef.scrollLeft = Math.max(0, scrollLeft);\n }\n\n outerRef.scrollTop = Math.max(0, scrollTop);\n }\n\n this._callPropsCallbacks();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this._resetIsScrollingTimeoutId !== null) {\n cancelTimeout(this._resetIsScrollingTimeoutId);\n }\n };\n\n _proto.render = function render() {\n var _this$props4 = this.props,\n children = _this$props4.children,\n className = _this$props4.className,\n columnCount = _this$props4.columnCount,\n direction = _this$props4.direction,\n height = _this$props4.height,\n innerRef = _this$props4.innerRef,\n innerElementType = _this$props4.innerElementType,\n innerTagName = _this$props4.innerTagName,\n itemData = _this$props4.itemData,\n _this$props4$itemKey = _this$props4.itemKey,\n itemKey = _this$props4$itemKey === void 0 ? defaultItemKey : _this$props4$itemKey,\n outerElementType = _this$props4.outerElementType,\n outerTagName = _this$props4.outerTagName,\n rowCount = _this$props4.rowCount,\n style = _this$props4.style,\n useIsScrolling = _this$props4.useIsScrolling,\n width = _this$props4.width;\n var isScrolling = this.state.isScrolling;\n\n var _this$_getHorizontalR = this._getHorizontalRangeToRender(),\n columnStartIndex = _this$_getHorizontalR[0],\n columnStopIndex = _this$_getHorizontalR[1];\n\n var _this$_getVerticalRan = this._getVerticalRangeToRender(),\n rowStartIndex = _this$_getVerticalRan[0],\n rowStopIndex = _this$_getVerticalRan[1];\n\n var items = [];\n\n if (columnCount > 0 && rowCount) {\n for (var _rowIndex = rowStartIndex; _rowIndex <= rowStopIndex; _rowIndex++) {\n for (var _columnIndex = columnStartIndex; _columnIndex <= columnStopIndex; _columnIndex++) {\n items.push(createElement(children, {\n columnIndex: _columnIndex,\n data: itemData,\n isScrolling: useIsScrolling ? isScrolling : undefined,\n key: itemKey({\n columnIndex: _columnIndex,\n data: itemData,\n rowIndex: _rowIndex\n }),\n rowIndex: _rowIndex,\n style: this._getItemStyle(_rowIndex, _columnIndex)\n }));\n }\n }\n } // Read this value AFTER items have been created,\n // So their actual sizes (if variable) are taken into consideration.\n\n\n var estimatedTotalHeight = getEstimatedTotalHeight(this.props, this._instanceProps);\n var estimatedTotalWidth = getEstimatedTotalWidth(this.props, this._instanceProps);\n return createElement(outerElementType || outerTagName || 'div', {\n className: className,\n onScroll: this._onScroll,\n ref: this._outerRefSetter,\n style: _extends({\n position: 'relative',\n height: height,\n width: width,\n overflow: 'auto',\n WebkitOverflowScrolling: 'touch',\n willChange: 'transform',\n direction: direction\n }, style)\n }, createElement(innerElementType || innerTagName || 'div', {\n children: items,\n ref: innerRef,\n style: {\n height: estimatedTotalHeight,\n pointerEvents: isScrolling ? 'none' : undefined,\n width: estimatedTotalWidth\n }\n }));\n };\n\n _proto._callPropsCallbacks = function _callPropsCallbacks() {\n var _this$props5 = this.props,\n columnCount = _this$props5.columnCount,\n onItemsRendered = _this$props5.onItemsRendered,\n onScroll = _this$props5.onScroll,\n rowCount = _this$props5.rowCount;\n\n if (typeof onItemsRendered === 'function') {\n if (columnCount > 0 && rowCount > 0) {\n var _this$_getHorizontalR2 = this._getHorizontalRangeToRender(),\n _overscanColumnStartIndex = _this$_getHorizontalR2[0],\n _overscanColumnStopIndex = _this$_getHorizontalR2[1],\n _visibleColumnStartIndex = _this$_getHorizontalR2[2],\n _visibleColumnStopIndex = _this$_getHorizontalR2[3];\n\n var _this$_getVerticalRan2 = this._getVerticalRangeToRender(),\n _overscanRowStartIndex = _this$_getVerticalRan2[0],\n _overscanRowStopIndex = _this$_getVerticalRan2[1],\n _visibleRowStartIndex = _this$_getVerticalRan2[2],\n _visibleRowStopIndex = _this$_getVerticalRan2[3];\n\n this._callOnItemsRendered(_overscanColumnStartIndex, _overscanColumnStopIndex, _overscanRowStartIndex, _overscanRowStopIndex, _visibleColumnStartIndex, _visibleColumnStopIndex, _visibleRowStartIndex, _visibleRowStopIndex);\n }\n }\n\n if (typeof onScroll === 'function') {\n var _this$state3 = this.state,\n _horizontalScrollDirection = _this$state3.horizontalScrollDirection,\n _scrollLeft = _this$state3.scrollLeft,\n _scrollTop = _this$state3.scrollTop,\n _scrollUpdateWasRequested = _this$state3.scrollUpdateWasRequested,\n _verticalScrollDirection = _this$state3.verticalScrollDirection;\n\n this._callOnScroll(_scrollLeft, _scrollTop, _horizontalScrollDirection, _verticalScrollDirection, _scrollUpdateWasRequested);\n }\n } // Lazily create and cache item styles while scrolling,\n // So that pure component sCU will prevent re-renders.\n // We maintain this cache, and pass a style prop rather than index,\n // So that List can clear cached styles and force item re-render if necessary.\n ;\n\n _proto._getHorizontalRangeToRender = function _getHorizontalRangeToRender() {\n var _this$props6 = this.props,\n columnCount = _this$props6.columnCount,\n overscanColumnCount = _this$props6.overscanColumnCount,\n overscanColumnsCount = _this$props6.overscanColumnsCount,\n overscanCount = _this$props6.overscanCount,\n rowCount = _this$props6.rowCount;\n var _this$state4 = this.state,\n horizontalScrollDirection = _this$state4.horizontalScrollDirection,\n isScrolling = _this$state4.isScrolling,\n scrollLeft = _this$state4.scrollLeft;\n var overscanCountResolved = overscanColumnCount || overscanColumnsCount || overscanCount || 1;\n\n if (columnCount === 0 || rowCount === 0) {\n return [0, 0, 0, 0];\n }\n\n var startIndex = getColumnStartIndexForOffset(this.props, scrollLeft, this._instanceProps);\n var stopIndex = getColumnStopIndexForStartIndex(this.props, startIndex, scrollLeft, this._instanceProps); // Overscan by one item in each direction so that tab/focus works.\n // If there isn't at least one extra item, tab loops back around.\n\n var overscanBackward = !isScrolling || horizontalScrollDirection === 'backward' ? Math.max(1, overscanCountResolved) : 1;\n var overscanForward = !isScrolling || horizontalScrollDirection === 'forward' ? Math.max(1, overscanCountResolved) : 1;\n return [Math.max(0, startIndex - overscanBackward), Math.max(0, Math.min(columnCount - 1, stopIndex + overscanForward)), startIndex, stopIndex];\n };\n\n _proto._getVerticalRangeToRender = function _getVerticalRangeToRender() {\n var _this$props7 = this.props,\n columnCount = _this$props7.columnCount,\n overscanCount = _this$props7.overscanCount,\n overscanRowCount = _this$props7.overscanRowCount,\n overscanRowsCount = _this$props7.overscanRowsCount,\n rowCount = _this$props7.rowCount;\n var _this$state5 = this.state,\n isScrolling = _this$state5.isScrolling,\n verticalScrollDirection = _this$state5.verticalScrollDirection,\n scrollTop = _this$state5.scrollTop;\n var overscanCountResolved = overscanRowCount || overscanRowsCount || overscanCount || 1;\n\n if (columnCount === 0 || rowCount === 0) {\n return [0, 0, 0, 0];\n }\n\n var startIndex = getRowStartIndexForOffset(this.props, scrollTop, this._instanceProps);\n var stopIndex = getRowStopIndexForStartIndex(this.props, startIndex, scrollTop, this._instanceProps); // Overscan by one item in each direction so that tab/focus works.\n // If there isn't at least one extra item, tab loops back around.\n\n var overscanBackward = !isScrolling || verticalScrollDirection === 'backward' ? Math.max(1, overscanCountResolved) : 1;\n var overscanForward = !isScrolling || verticalScrollDirection === 'forward' ? Math.max(1, overscanCountResolved) : 1;\n return [Math.max(0, startIndex - overscanBackward), Math.max(0, Math.min(rowCount - 1, stopIndex + overscanForward)), startIndex, stopIndex];\n };\n\n return Grid;\n }(PureComponent), _class.defaultProps = {\n direction: 'ltr',\n itemData: undefined,\n useIsScrolling: false\n }, _class;\n}\n\nvar validateSharedProps = function validateSharedProps(_ref5, _ref6) {\n var children = _ref5.children,\n direction = _ref5.direction,\n height = _ref5.height,\n innerTagName = _ref5.innerTagName,\n outerTagName = _ref5.outerTagName,\n overscanColumnsCount = _ref5.overscanColumnsCount,\n overscanCount = _ref5.overscanCount,\n overscanRowsCount = _ref5.overscanRowsCount,\n width = _ref5.width;\n var instance = _ref6.instance;\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof overscanCount === 'number') {\n if (devWarningsOverscanCount && !devWarningsOverscanCount.has(instance)) {\n devWarningsOverscanCount.add(instance);\n console.warn('The overscanCount prop has been deprecated. ' + 'Please use the overscanColumnCount and overscanRowCount props instead.');\n }\n }\n\n if (typeof overscanColumnsCount === 'number' || typeof overscanRowsCount === 'number') {\n if (devWarningsOverscanRowsColumnsCount && !devWarningsOverscanRowsColumnsCount.has(instance)) {\n devWarningsOverscanRowsColumnsCount.add(instance);\n console.warn('The overscanColumnsCount and overscanRowsCount props have been deprecated. ' + 'Please use the overscanColumnCount and overscanRowCount props instead.');\n }\n }\n\n if (innerTagName != null || outerTagName != null) {\n if (devWarningsTagName && !devWarningsTagName.has(instance)) {\n devWarningsTagName.add(instance);\n console.warn('The innerTagName and outerTagName props have been deprecated. ' + 'Please use the innerElementType and outerElementType props instead.');\n }\n }\n\n if (children == null) {\n throw Error('An invalid \"children\" prop has been specified. ' + 'Value should be a React component. ' + (\"\\\"\" + (children === null ? 'null' : typeof children) + \"\\\" was specified.\"));\n }\n\n switch (direction) {\n case 'ltr':\n case 'rtl':\n // Valid values\n break;\n\n default:\n throw Error('An invalid \"direction\" prop has been specified. ' + 'Value should be either \"ltr\" or \"rtl\". ' + (\"\\\"\" + direction + \"\\\" was specified.\"));\n }\n\n if (typeof width !== 'number') {\n throw Error('An invalid \"width\" prop has been specified. ' + 'Grids must specify a number for width. ' + (\"\\\"\" + (width === null ? 'null' : typeof width) + \"\\\" was specified.\"));\n }\n\n if (typeof height !== 'number') {\n throw Error('An invalid \"height\" prop has been specified. ' + 'Grids must specify a number for height. ' + (\"\\\"\" + (height === null ? 'null' : typeof height) + \"\\\" was specified.\"));\n }\n }\n};\n\nvar DEFAULT_ESTIMATED_ITEM_SIZE = 50;\n\nvar getEstimatedTotalHeight = function getEstimatedTotalHeight(_ref, _ref2) {\n var rowCount = _ref.rowCount;\n var rowMetadataMap = _ref2.rowMetadataMap,\n estimatedRowHeight = _ref2.estimatedRowHeight,\n lastMeasuredRowIndex = _ref2.lastMeasuredRowIndex;\n var totalSizeOfMeasuredRows = 0; // Edge case check for when the number of items decreases while a scroll is in progress.\n // https://github.com/bvaughn/react-window/pull/138\n\n if (lastMeasuredRowIndex >= rowCount) {\n lastMeasuredRowIndex = rowCount - 1;\n }\n\n if (lastMeasuredRowIndex >= 0) {\n var itemMetadata = rowMetadataMap[lastMeasuredRowIndex];\n totalSizeOfMeasuredRows = itemMetadata.offset + itemMetadata.size;\n }\n\n var numUnmeasuredItems = rowCount - lastMeasuredRowIndex - 1;\n var totalSizeOfUnmeasuredItems = numUnmeasuredItems * estimatedRowHeight;\n return totalSizeOfMeasuredRows + totalSizeOfUnmeasuredItems;\n};\n\nvar getEstimatedTotalWidth = function getEstimatedTotalWidth(_ref3, _ref4) {\n var columnCount = _ref3.columnCount;\n var columnMetadataMap = _ref4.columnMetadataMap,\n estimatedColumnWidth = _ref4.estimatedColumnWidth,\n lastMeasuredColumnIndex = _ref4.lastMeasuredColumnIndex;\n var totalSizeOfMeasuredRows = 0; // Edge case check for when the number of items decreases while a scroll is in progress.\n // https://github.com/bvaughn/react-window/pull/138\n\n if (lastMeasuredColumnIndex >= columnCount) {\n lastMeasuredColumnIndex = columnCount - 1;\n }\n\n if (lastMeasuredColumnIndex >= 0) {\n var itemMetadata = columnMetadataMap[lastMeasuredColumnIndex];\n totalSizeOfMeasuredRows = itemMetadata.offset + itemMetadata.size;\n }\n\n var numUnmeasuredItems = columnCount - lastMeasuredColumnIndex - 1;\n var totalSizeOfUnmeasuredItems = numUnmeasuredItems * estimatedColumnWidth;\n return totalSizeOfMeasuredRows + totalSizeOfUnmeasuredItems;\n};\n\nvar getItemMetadata = function getItemMetadata(itemType, props, index, instanceProps) {\n var itemMetadataMap, itemSize, lastMeasuredIndex;\n\n if (itemType === 'column') {\n itemMetadataMap = instanceProps.columnMetadataMap;\n itemSize = props.columnWidth;\n lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex;\n } else {\n itemMetadataMap = instanceProps.rowMetadataMap;\n itemSize = props.rowHeight;\n lastMeasuredIndex = instanceProps.lastMeasuredRowIndex;\n }\n\n if (index > lastMeasuredIndex) {\n var offset = 0;\n\n if (lastMeasuredIndex >= 0) {\n var itemMetadata = itemMetadataMap[lastMeasuredIndex];\n offset = itemMetadata.offset + itemMetadata.size;\n }\n\n for (var i = lastMeasuredIndex + 1; i <= index; i++) {\n var size = itemSize(i);\n itemMetadataMap[i] = {\n offset: offset,\n size: size\n };\n offset += size;\n }\n\n if (itemType === 'column') {\n instanceProps.lastMeasuredColumnIndex = index;\n } else {\n instanceProps.lastMeasuredRowIndex = index;\n }\n }\n\n return itemMetadataMap[index];\n};\n\nvar findNearestItem = function findNearestItem(itemType, props, instanceProps, offset) {\n var itemMetadataMap, lastMeasuredIndex;\n\n if (itemType === 'column') {\n itemMetadataMap = instanceProps.columnMetadataMap;\n lastMeasuredIndex = instanceProps.lastMeasuredColumnIndex;\n } else {\n itemMetadataMap = instanceProps.rowMetadataMap;\n lastMeasuredIndex = instanceProps.lastMeasuredRowIndex;\n }\n\n var lastMeasuredItemOffset = lastMeasuredIndex > 0 ? itemMetadataMap[lastMeasuredIndex].offset : 0;\n\n if (lastMeasuredItemOffset >= offset) {\n // If we've already measured items within this range just use a binary search as it's faster.\n return findNearestItemBinarySearch(itemType, props, instanceProps, lastMeasuredIndex, 0, offset);\n } else {\n // If we haven't yet measured this high, fallback to an exponential search with an inner binary search.\n // The exponential search avoids pre-computing sizes for the full set of items as a binary search would.\n // The overall complexity for this approach is O(log n).\n return findNearestItemExponentialSearch(itemType, props, instanceProps, Math.max(0, lastMeasuredIndex), offset);\n }\n};\n\nvar findNearestItemBinarySearch = function findNearestItemBinarySearch(itemType, props, instanceProps, high, low, offset) {\n while (low <= high) {\n var middle = low + Math.floor((high - low) / 2);\n var currentOffset = getItemMetadata(itemType, props, middle, instanceProps).offset;\n\n if (currentOffset === offset) {\n return middle;\n } else if (currentOffset < offset) {\n low = middle + 1;\n } else if (currentOffset > offset) {\n high = middle - 1;\n }\n }\n\n if (low > 0) {\n return low - 1;\n } else {\n return 0;\n }\n};\n\nvar findNearestItemExponentialSearch = function findNearestItemExponentialSearch(itemType, props, instanceProps, index, offset) {\n var itemCount = itemType === 'column' ? props.columnCount : props.rowCount;\n var interval = 1;\n\n while (index < itemCount && getItemMetadata(itemType, props, index, instanceProps).offset < offset) {\n index += interval;\n interval *= 2;\n }\n\n return findNearestItemBinarySearch(itemType, props, instanceProps, Math.min(index, itemCount - 1), Math.floor(index / 2), offset);\n};\n\nvar getOffsetForIndexAndAlignment = function getOffsetForIndexAndAlignment(itemType, props, index, align, scrollOffset, instanceProps, scrollbarSize) {\n var size = itemType === 'column' ? props.width : props.height;\n var itemMetadata = getItemMetadata(itemType, props, index, instanceProps); // Get estimated total size after ItemMetadata is computed,\n // To ensure it reflects actual measurements instead of just estimates.\n\n var estimatedTotalSize = itemType === 'column' ? getEstimatedTotalWidth(props, instanceProps) : getEstimatedTotalHeight(props, instanceProps);\n var maxOffset = Math.max(0, Math.min(estimatedTotalSize - size, itemMetadata.offset));\n var minOffset = Math.max(0, itemMetadata.offset - size + scrollbarSize + itemMetadata.size);\n\n if (align === 'smart') {\n if (scrollOffset >= minOffset - size && scrollOffset <= maxOffset + size) {\n align = 'auto';\n } else {\n align = 'center';\n }\n }\n\n switch (align) {\n case 'start':\n return maxOffset;\n\n case 'end':\n return minOffset;\n\n case 'center':\n return Math.round(minOffset + (maxOffset - minOffset) / 2);\n\n case 'auto':\n default:\n if (scrollOffset >= minOffset && scrollOffset <= maxOffset) {\n return scrollOffset;\n } else if (minOffset > maxOffset) {\n // Because we only take into account the scrollbar size when calculating minOffset\n // this value can be larger than maxOffset when at the end of the list\n return minOffset;\n } else if (scrollOffset < minOffset) {\n return minOffset;\n } else {\n return maxOffset;\n }\n\n }\n};\n\nvar VariableSizeGrid = /*#__PURE__*/createGridComponent({\n getColumnOffset: function getColumnOffset(props, index, instanceProps) {\n return getItemMetadata('column', props, index, instanceProps).offset;\n },\n getColumnStartIndexForOffset: function getColumnStartIndexForOffset(props, scrollLeft, instanceProps) {\n return findNearestItem('column', props, instanceProps, scrollLeft);\n },\n getColumnStopIndexForStartIndex: function getColumnStopIndexForStartIndex(props, startIndex, scrollLeft, instanceProps) {\n var columnCount = props.columnCount,\n width = props.width;\n var itemMetadata = getItemMetadata('column', props, startIndex, instanceProps);\n var maxOffset = scrollLeft + width;\n var offset = itemMetadata.offset + itemMetadata.size;\n var stopIndex = startIndex;\n\n while (stopIndex < columnCount - 1 && offset < maxOffset) {\n stopIndex++;\n offset += getItemMetadata('column', props, stopIndex, instanceProps).size;\n }\n\n return stopIndex;\n },\n getColumnWidth: function getColumnWidth(props, index, instanceProps) {\n return instanceProps.columnMetadataMap[index].size;\n },\n getEstimatedTotalHeight: getEstimatedTotalHeight,\n getEstimatedTotalWidth: getEstimatedTotalWidth,\n getOffsetForColumnAndAlignment: function getOffsetForColumnAndAlignment(props, index, align, scrollOffset, instanceProps, scrollbarSize) {\n return getOffsetForIndexAndAlignment('column', props, index, align, scrollOffset, instanceProps, scrollbarSize);\n },\n getOffsetForRowAndAlignment: function getOffsetForRowAndAlignment(props, index, align, scrollOffset, instanceProps, scrollbarSize) {\n return getOffsetForIndexAndAlignment('row', props, index, align, scrollOffset, instanceProps, scrollbarSize);\n },\n getRowOffset: function getRowOffset(props, index, instanceProps) {\n return getItemMetadata('row', props, index, instanceProps).offset;\n },\n getRowHeight: function getRowHeight(props, index, instanceProps) {\n return instanceProps.rowMetadataMap[index].size;\n },\n getRowStartIndexForOffset: function getRowStartIndexForOffset(props, scrollTop, instanceProps) {\n return findNearestItem('row', props, instanceProps, scrollTop);\n },\n getRowStopIndexForStartIndex: function getRowStopIndexForStartIndex(props, startIndex, scrollTop, instanceProps) {\n var rowCount = props.rowCount,\n height = props.height;\n var itemMetadata = getItemMetadata('row', props, startIndex, instanceProps);\n var maxOffset = scrollTop + height;\n var offset = itemMetadata.offset + itemMetadata.size;\n var stopIndex = startIndex;\n\n while (stopIndex < rowCount - 1 && offset < maxOffset) {\n stopIndex++;\n offset += getItemMetadata('row', props, stopIndex, instanceProps).size;\n }\n\n return stopIndex;\n },\n initInstanceProps: function initInstanceProps(props, instance) {\n var _ref5 = props,\n estimatedColumnWidth = _ref5.estimatedColumnWidth,\n estimatedRowHeight = _ref5.estimatedRowHeight;\n var instanceProps = {\n columnMetadataMap: {},\n estimatedColumnWidth: estimatedColumnWidth || DEFAULT_ESTIMATED_ITEM_SIZE,\n estimatedRowHeight: estimatedRowHeight || DEFAULT_ESTIMATED_ITEM_SIZE,\n lastMeasuredColumnIndex: -1,\n lastMeasuredRowIndex: -1,\n rowMetadataMap: {}\n };\n\n instance.resetAfterColumnIndex = function (columnIndex, shouldForceUpdate) {\n if (shouldForceUpdate === void 0) {\n shouldForceUpdate = true;\n }\n\n instance.resetAfterIndices({\n columnIndex: columnIndex,\n shouldForceUpdate: shouldForceUpdate\n });\n };\n\n instance.resetAfterRowIndex = function (rowIndex, shouldForceUpdate) {\n if (shouldForceUpdate === void 0) {\n shouldForceUpdate = true;\n }\n\n instance.resetAfterIndices({\n rowIndex: rowIndex,\n shouldForceUpdate: shouldForceUpdate\n });\n };\n\n instance.resetAfterIndices = function (_ref6) {\n var columnIndex = _ref6.columnIndex,\n rowIndex = _ref6.rowIndex,\n _ref6$shouldForceUpda = _ref6.shouldForceUpdate,\n shouldForceUpdate = _ref6$shouldForceUpda === void 0 ? true : _ref6$shouldForceUpda;\n\n if (typeof columnIndex === 'number') {\n instanceProps.lastMeasuredColumnIndex = Math.min(instanceProps.lastMeasuredColumnIndex, columnIndex - 1);\n }\n\n if (typeof rowIndex === 'number') {\n instanceProps.lastMeasuredRowIndex = Math.min(instanceProps.lastMeasuredRowIndex, rowIndex - 1);\n } // We could potentially optimize further by only evicting styles after this index,\n // But since styles are only cached while scrolling is in progress-\n // It seems an unnecessary optimization.\n // It's unlikely that resetAfterIndex() will be called while a user is scrolling.\n\n\n instance._getItemStyleCache(-1);\n\n if (shouldForceUpdate) {\n instance.forceUpdate();\n }\n };\n\n return instanceProps;\n },\n shouldResetStyleCacheOnItemSizeChange: false,\n validateProps: function validateProps(_ref7) {\n var columnWidth = _ref7.columnWidth,\n rowHeight = _ref7.rowHeight;\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof columnWidth !== 'function') {\n throw Error('An invalid \"columnWidth\" prop has been specified. ' + 'Value should be a function. ' + (\"\\\"\" + (columnWidth === null ? 'null' : typeof columnWidth) + \"\\\" was specified.\"));\n } else if (typeof rowHeight !== 'function') {\n throw Error('An invalid \"rowHeight\" prop has been specified. ' + 'Value should be a function. ' + (\"\\\"\" + (rowHeight === null ? 'null' : typeof rowHeight) + \"\\\" was specified.\"));\n }\n }\n }\n});\n\nvar IS_SCROLLING_DEBOUNCE_INTERVAL$1 = 150;\n\nvar defaultItemKey$1 = function defaultItemKey(index, data) {\n return index;\n}; // In DEV mode, this Set helps us only log a warning once per component instance.\n// This avoids spamming the console every time a render happens.\n\n\nvar devWarningsDirection = null;\nvar devWarningsTagName$1 = null;\n\nif (process.env.NODE_ENV !== 'production') {\n if (typeof window !== 'undefined' && typeof window.WeakSet !== 'undefined') {\n devWarningsDirection = /*#__PURE__*/new WeakSet();\n devWarningsTagName$1 = /*#__PURE__*/new WeakSet();\n }\n}\n\nfunction createListComponent(_ref) {\n var _class;\n\n var getItemOffset = _ref.getItemOffset,\n getEstimatedTotalSize = _ref.getEstimatedTotalSize,\n getItemSize = _ref.getItemSize,\n getOffsetForIndexAndAlignment = _ref.getOffsetForIndexAndAlignment,\n getStartIndexForOffset = _ref.getStartIndexForOffset,\n getStopIndexForStartIndex = _ref.getStopIndexForStartIndex,\n initInstanceProps = _ref.initInstanceProps,\n shouldResetStyleCacheOnItemSizeChange = _ref.shouldResetStyleCacheOnItemSizeChange,\n validateProps = _ref.validateProps;\n return _class = /*#__PURE__*/function (_PureComponent) {\n _inheritsLoose(List, _PureComponent);\n\n // Always use explicit constructor for React components.\n // It produces less code after transpilation. (#26)\n // eslint-disable-next-line no-useless-constructor\n function List(props) {\n var _this;\n\n _this = _PureComponent.call(this, props) || this;\n _this._instanceProps = initInstanceProps(_this.props, _assertThisInitialized(_this));\n _this._outerRef = void 0;\n _this._resetIsScrollingTimeoutId = null;\n _this.state = {\n instance: _assertThisInitialized(_this),\n isScrolling: false,\n scrollDirection: 'forward',\n scrollOffset: typeof _this.props.initialScrollOffset === 'number' ? _this.props.initialScrollOffset : 0,\n scrollUpdateWasRequested: false\n };\n _this._callOnItemsRendered = void 0;\n _this._callOnItemsRendered = memoizeOne(function (overscanStartIndex, overscanStopIndex, visibleStartIndex, visibleStopIndex) {\n return _this.props.onItemsRendered({\n overscanStartIndex: overscanStartIndex,\n overscanStopIndex: overscanStopIndex,\n visibleStartIndex: visibleStartIndex,\n visibleStopIndex: visibleStopIndex\n });\n });\n _this._callOnScroll = void 0;\n _this._callOnScroll = memoizeOne(function (scrollDirection, scrollOffset, scrollUpdateWasRequested) {\n return _this.props.onScroll({\n scrollDirection: scrollDirection,\n scrollOffset: scrollOffset,\n scrollUpdateWasRequested: scrollUpdateWasRequested\n });\n });\n _this._getItemStyle = void 0;\n\n _this._getItemStyle = function (index) {\n var _this$props = _this.props,\n direction = _this$props.direction,\n itemSize = _this$props.itemSize,\n layout = _this$props.layout;\n\n var itemStyleCache = _this._getItemStyleCache(shouldResetStyleCacheOnItemSizeChange && itemSize, shouldResetStyleCacheOnItemSizeChange && layout, shouldResetStyleCacheOnItemSizeChange && direction);\n\n var style;\n\n if (itemStyleCache.hasOwnProperty(index)) {\n style = itemStyleCache[index];\n } else {\n var _offset = getItemOffset(_this.props, index, _this._instanceProps);\n\n var size = getItemSize(_this.props, index, _this._instanceProps); // TODO Deprecate direction \"horizontal\"\n\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var isRtl = direction === 'rtl';\n var offsetHorizontal = isHorizontal ? _offset : 0;\n itemStyleCache[index] = style = {\n position: 'absolute',\n left: isRtl ? undefined : offsetHorizontal,\n right: isRtl ? offsetHorizontal : undefined,\n top: !isHorizontal ? _offset : 0,\n height: !isHorizontal ? size : '100%',\n width: isHorizontal ? size : '100%'\n };\n }\n\n return style;\n };\n\n _this._getItemStyleCache = void 0;\n _this._getItemStyleCache = memoizeOne(function (_, __, ___) {\n return {};\n });\n\n _this._onScrollHorizontal = function (event) {\n var _event$currentTarget = event.currentTarget,\n clientWidth = _event$currentTarget.clientWidth,\n scrollLeft = _event$currentTarget.scrollLeft,\n scrollWidth = _event$currentTarget.scrollWidth;\n\n _this.setState(function (prevState) {\n if (prevState.scrollOffset === scrollLeft) {\n // Scroll position may have been updated by cDM/cDU,\n // In which case we don't need to trigger another render,\n // And we don't want to update state.isScrolling.\n return null;\n }\n\n var direction = _this.props.direction;\n var scrollOffset = scrollLeft;\n\n if (direction === 'rtl') {\n // TRICKY According to the spec, scrollLeft should be negative for RTL aligned elements.\n // This is not the case for all browsers though (e.g. Chrome reports values as positive, measured relative to the left).\n // It's also easier for this component if we convert offsets to the same format as they would be in for ltr.\n // So the simplest solution is to determine which browser behavior we're dealing with, and convert based on it.\n switch (getRTLOffsetType()) {\n case 'negative':\n scrollOffset = -scrollLeft;\n break;\n\n case 'positive-descending':\n scrollOffset = scrollWidth - clientWidth - scrollLeft;\n break;\n }\n } // Prevent Safari's elastic scrolling from causing visual shaking when scrolling past bounds.\n\n\n scrollOffset = Math.max(0, Math.min(scrollOffset, scrollWidth - clientWidth));\n return {\n isScrolling: true,\n scrollDirection: prevState.scrollOffset < scrollOffset ? 'forward' : 'backward',\n scrollOffset: scrollOffset,\n scrollUpdateWasRequested: false\n };\n }, _this._resetIsScrollingDebounced);\n };\n\n _this._onScrollVertical = function (event) {\n var _event$currentTarget2 = event.currentTarget,\n clientHeight = _event$currentTarget2.clientHeight,\n scrollHeight = _event$currentTarget2.scrollHeight,\n scrollTop = _event$currentTarget2.scrollTop;\n\n _this.setState(function (prevState) {\n if (prevState.scrollOffset === scrollTop) {\n // Scroll position may have been updated by cDM/cDU,\n // In which case we don't need to trigger another render,\n // And we don't want to update state.isScrolling.\n return null;\n } // Prevent Safari's elastic scrolling from causing visual shaking when scrolling past bounds.\n\n\n var scrollOffset = Math.max(0, Math.min(scrollTop, scrollHeight - clientHeight));\n return {\n isScrolling: true,\n scrollDirection: prevState.scrollOffset < scrollOffset ? 'forward' : 'backward',\n scrollOffset: scrollOffset,\n scrollUpdateWasRequested: false\n };\n }, _this._resetIsScrollingDebounced);\n };\n\n _this._outerRefSetter = function (ref) {\n var outerRef = _this.props.outerRef;\n _this._outerRef = ref;\n\n if (typeof outerRef === 'function') {\n outerRef(ref);\n } else if (outerRef != null && typeof outerRef === 'object' && outerRef.hasOwnProperty('current')) {\n outerRef.current = ref;\n }\n };\n\n _this._resetIsScrollingDebounced = function () {\n if (_this._resetIsScrollingTimeoutId !== null) {\n cancelTimeout(_this._resetIsScrollingTimeoutId);\n }\n\n _this._resetIsScrollingTimeoutId = requestTimeout(_this._resetIsScrolling, IS_SCROLLING_DEBOUNCE_INTERVAL$1);\n };\n\n _this._resetIsScrolling = function () {\n _this._resetIsScrollingTimeoutId = null;\n\n _this.setState({\n isScrolling: false\n }, function () {\n // Clear style cache after state update has been committed.\n // This way we don't break pure sCU for items that don't use isScrolling param.\n _this._getItemStyleCache(-1, null);\n });\n };\n\n return _this;\n }\n\n List.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, prevState) {\n validateSharedProps$1(nextProps, prevState);\n validateProps(nextProps);\n return null;\n };\n\n var _proto = List.prototype;\n\n _proto.scrollTo = function scrollTo(scrollOffset) {\n scrollOffset = Math.max(0, scrollOffset);\n this.setState(function (prevState) {\n if (prevState.scrollOffset === scrollOffset) {\n return null;\n }\n\n return {\n scrollDirection: prevState.scrollOffset < scrollOffset ? 'forward' : 'backward',\n scrollOffset: scrollOffset,\n scrollUpdateWasRequested: true\n };\n }, this._resetIsScrollingDebounced);\n };\n\n _proto.scrollToItem = function scrollToItem(index, align) {\n if (align === void 0) {\n align = 'auto';\n }\n\n var _this$props2 = this.props,\n itemCount = _this$props2.itemCount,\n layout = _this$props2.layout;\n var scrollOffset = this.state.scrollOffset;\n index = Math.max(0, Math.min(index, itemCount - 1)); // The scrollbar size should be considered when scrolling an item into view, to ensure it's fully visible.\n // But we only need to account for its size when it's actually visible.\n // This is an edge case for lists; normally they only scroll in the dominant direction.\n\n var scrollbarSize = 0;\n\n if (this._outerRef) {\n var outerRef = this._outerRef;\n\n if (layout === 'vertical') {\n scrollbarSize = outerRef.scrollWidth > outerRef.clientWidth ? getScrollbarSize() : 0;\n } else {\n scrollbarSize = outerRef.scrollHeight > outerRef.clientHeight ? getScrollbarSize() : 0;\n }\n }\n\n this.scrollTo(getOffsetForIndexAndAlignment(this.props, index, align, scrollOffset, this._instanceProps, scrollbarSize));\n };\n\n _proto.componentDidMount = function componentDidMount() {\n var _this$props3 = this.props,\n direction = _this$props3.direction,\n initialScrollOffset = _this$props3.initialScrollOffset,\n layout = _this$props3.layout;\n\n if (typeof initialScrollOffset === 'number' && this._outerRef != null) {\n var outerRef = this._outerRef; // TODO Deprecate direction \"horizontal\"\n\n if (direction === 'horizontal' || layout === 'horizontal') {\n outerRef.scrollLeft = initialScrollOffset;\n } else {\n outerRef.scrollTop = initialScrollOffset;\n }\n }\n\n this._callPropsCallbacks();\n };\n\n _proto.componentDidUpdate = function componentDidUpdate() {\n var _this$props4 = this.props,\n direction = _this$props4.direction,\n layout = _this$props4.layout;\n var _this$state = this.state,\n scrollOffset = _this$state.scrollOffset,\n scrollUpdateWasRequested = _this$state.scrollUpdateWasRequested;\n\n if (scrollUpdateWasRequested && this._outerRef != null) {\n var outerRef = this._outerRef; // TODO Deprecate direction \"horizontal\"\n\n if (direction === 'horizontal' || layout === 'horizontal') {\n if (direction === 'rtl') {\n // TRICKY According to the spec, scrollLeft should be negative for RTL aligned elements.\n // This is not the case for all browsers though (e.g. Chrome reports values as positive, measured relative to the left).\n // So we need to determine which browser behavior we're dealing with, and mimic it.\n switch (getRTLOffsetType()) {\n case 'negative':\n outerRef.scrollLeft = -scrollOffset;\n break;\n\n case 'positive-ascending':\n outerRef.scrollLeft = scrollOffset;\n break;\n\n default:\n var clientWidth = outerRef.clientWidth,\n scrollWidth = outerRef.scrollWidth;\n outerRef.scrollLeft = scrollWidth - clientWidth - scrollOffset;\n break;\n }\n } else {\n outerRef.scrollLeft = scrollOffset;\n }\n } else {\n outerRef.scrollTop = scrollOffset;\n }\n }\n\n this._callPropsCallbacks();\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n if (this._resetIsScrollingTimeoutId !== null) {\n cancelTimeout(this._resetIsScrollingTimeoutId);\n }\n };\n\n _proto.render = function render() {\n var _this$props5 = this.props,\n children = _this$props5.children,\n className = _this$props5.className,\n direction = _this$props5.direction,\n height = _this$props5.height,\n innerRef = _this$props5.innerRef,\n innerElementType = _this$props5.innerElementType,\n innerTagName = _this$props5.innerTagName,\n itemCount = _this$props5.itemCount,\n itemData = _this$props5.itemData,\n _this$props5$itemKey = _this$props5.itemKey,\n itemKey = _this$props5$itemKey === void 0 ? defaultItemKey$1 : _this$props5$itemKey,\n layout = _this$props5.layout,\n outerElementType = _this$props5.outerElementType,\n outerTagName = _this$props5.outerTagName,\n style = _this$props5.style,\n useIsScrolling = _this$props5.useIsScrolling,\n width = _this$props5.width;\n var isScrolling = this.state.isScrolling; // TODO Deprecate direction \"horizontal\"\n\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var onScroll = isHorizontal ? this._onScrollHorizontal : this._onScrollVertical;\n\n var _this$_getRangeToRend = this._getRangeToRender(),\n startIndex = _this$_getRangeToRend[0],\n stopIndex = _this$_getRangeToRend[1];\n\n var items = [];\n\n if (itemCount > 0) {\n for (var _index = startIndex; _index <= stopIndex; _index++) {\n items.push(createElement(children, {\n data: itemData,\n key: itemKey(_index, itemData),\n index: _index,\n isScrolling: useIsScrolling ? isScrolling : undefined,\n style: this._getItemStyle(_index)\n }));\n }\n } // Read this value AFTER items have been created,\n // So their actual sizes (if variable) are taken into consideration.\n\n\n var estimatedTotalSize = getEstimatedTotalSize(this.props, this._instanceProps);\n return createElement(outerElementType || outerTagName || 'div', {\n className: className,\n onScroll: onScroll,\n ref: this._outerRefSetter,\n style: _extends({\n position: 'relative',\n height: height,\n width: width,\n overflow: 'auto',\n WebkitOverflowScrolling: 'touch',\n willChange: 'transform',\n direction: direction\n }, style)\n }, createElement(innerElementType || innerTagName || 'div', {\n children: items,\n ref: innerRef,\n style: {\n height: isHorizontal ? '100%' : estimatedTotalSize,\n pointerEvents: isScrolling ? 'none' : undefined,\n width: isHorizontal ? estimatedTotalSize : '100%'\n }\n }));\n };\n\n _proto._callPropsCallbacks = function _callPropsCallbacks() {\n if (typeof this.props.onItemsRendered === 'function') {\n var itemCount = this.props.itemCount;\n\n if (itemCount > 0) {\n var _this$_getRangeToRend2 = this._getRangeToRender(),\n _overscanStartIndex = _this$_getRangeToRend2[0],\n _overscanStopIndex = _this$_getRangeToRend2[1],\n _visibleStartIndex = _this$_getRangeToRend2[2],\n _visibleStopIndex = _this$_getRangeToRend2[3];\n\n this._callOnItemsRendered(_overscanStartIndex, _overscanStopIndex, _visibleStartIndex, _visibleStopIndex);\n }\n }\n\n if (typeof this.props.onScroll === 'function') {\n var _this$state2 = this.state,\n _scrollDirection = _this$state2.scrollDirection,\n _scrollOffset = _this$state2.scrollOffset,\n _scrollUpdateWasRequested = _this$state2.scrollUpdateWasRequested;\n\n this._callOnScroll(_scrollDirection, _scrollOffset, _scrollUpdateWasRequested);\n }\n } // Lazily create and cache item styles while scrolling,\n // So that pure component sCU will prevent re-renders.\n // We maintain this cache, and pass a style prop rather than index,\n // So that List can clear cached styles and force item re-render if necessary.\n ;\n\n _proto._getRangeToRender = function _getRangeToRender() {\n var _this$props6 = this.props,\n itemCount = _this$props6.itemCount,\n overscanCount = _this$props6.overscanCount;\n var _this$state3 = this.state,\n isScrolling = _this$state3.isScrolling,\n scrollDirection = _this$state3.scrollDirection,\n scrollOffset = _this$state3.scrollOffset;\n\n if (itemCount === 0) {\n return [0, 0, 0, 0];\n }\n\n var startIndex = getStartIndexForOffset(this.props, scrollOffset, this._instanceProps);\n var stopIndex = getStopIndexForStartIndex(this.props, startIndex, scrollOffset, this._instanceProps); // Overscan by one item in each direction so that tab/focus works.\n // If there isn't at least one extra item, tab loops back around.\n\n var overscanBackward = !isScrolling || scrollDirection === 'backward' ? Math.max(1, overscanCount) : 1;\n var overscanForward = !isScrolling || scrollDirection === 'forward' ? Math.max(1, overscanCount) : 1;\n return [Math.max(0, startIndex - overscanBackward), Math.max(0, Math.min(itemCount - 1, stopIndex + overscanForward)), startIndex, stopIndex];\n };\n\n return List;\n }(PureComponent), _class.defaultProps = {\n direction: 'ltr',\n itemData: undefined,\n layout: 'vertical',\n overscanCount: 2,\n useIsScrolling: false\n }, _class;\n} // NOTE: I considered further wrapping individual items with a pure ListItem component.\n// This would avoid ever calling the render function for the same index more than once,\n// But it would also add the overhead of a lot of components/fibers.\n// I assume people already do this (render function returning a class component),\n// So my doing it would just unnecessarily double the wrappers.\n\nvar validateSharedProps$1 = function validateSharedProps(_ref2, _ref3) {\n var children = _ref2.children,\n direction = _ref2.direction,\n height = _ref2.height,\n layout = _ref2.layout,\n innerTagName = _ref2.innerTagName,\n outerTagName = _ref2.outerTagName,\n width = _ref2.width;\n var instance = _ref3.instance;\n\n if (process.env.NODE_ENV !== 'production') {\n if (innerTagName != null || outerTagName != null) {\n if (devWarningsTagName$1 && !devWarningsTagName$1.has(instance)) {\n devWarningsTagName$1.add(instance);\n console.warn('The innerTagName and outerTagName props have been deprecated. ' + 'Please use the innerElementType and outerElementType props instead.');\n }\n } // TODO Deprecate direction \"horizontal\"\n\n\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n\n switch (direction) {\n case 'horizontal':\n case 'vertical':\n if (devWarningsDirection && !devWarningsDirection.has(instance)) {\n devWarningsDirection.add(instance);\n console.warn('The direction prop should be either \"ltr\" (default) or \"rtl\". ' + 'Please use the layout prop to specify \"vertical\" (default) or \"horizontal\" orientation.');\n }\n\n break;\n\n case 'ltr':\n case 'rtl':\n // Valid values\n break;\n\n default:\n throw Error('An invalid \"direction\" prop has been specified. ' + 'Value should be either \"ltr\" or \"rtl\". ' + (\"\\\"\" + direction + \"\\\" was specified.\"));\n }\n\n switch (layout) {\n case 'horizontal':\n case 'vertical':\n // Valid values\n break;\n\n default:\n throw Error('An invalid \"layout\" prop has been specified. ' + 'Value should be either \"horizontal\" or \"vertical\". ' + (\"\\\"\" + layout + \"\\\" was specified.\"));\n }\n\n if (children == null) {\n throw Error('An invalid \"children\" prop has been specified. ' + 'Value should be a React component. ' + (\"\\\"\" + (children === null ? 'null' : typeof children) + \"\\\" was specified.\"));\n }\n\n if (isHorizontal && typeof width !== 'number') {\n throw Error('An invalid \"width\" prop has been specified. ' + 'Horizontal lists must specify a number for width. ' + (\"\\\"\" + (width === null ? 'null' : typeof width) + \"\\\" was specified.\"));\n } else if (!isHorizontal && typeof height !== 'number') {\n throw Error('An invalid \"height\" prop has been specified. ' + 'Vertical lists must specify a number for height. ' + (\"\\\"\" + (height === null ? 'null' : typeof height) + \"\\\" was specified.\"));\n }\n }\n};\n\nvar DEFAULT_ESTIMATED_ITEM_SIZE$1 = 50;\n\nvar getItemMetadata$1 = function getItemMetadata(props, index, instanceProps) {\n var _ref = props,\n itemSize = _ref.itemSize;\n var itemMetadataMap = instanceProps.itemMetadataMap,\n lastMeasuredIndex = instanceProps.lastMeasuredIndex;\n\n if (index > lastMeasuredIndex) {\n var offset = 0;\n\n if (lastMeasuredIndex >= 0) {\n var itemMetadata = itemMetadataMap[lastMeasuredIndex];\n offset = itemMetadata.offset + itemMetadata.size;\n }\n\n for (var i = lastMeasuredIndex + 1; i <= index; i++) {\n var size = itemSize(i);\n itemMetadataMap[i] = {\n offset: offset,\n size: size\n };\n offset += size;\n }\n\n instanceProps.lastMeasuredIndex = index;\n }\n\n return itemMetadataMap[index];\n};\n\nvar findNearestItem$1 = function findNearestItem(props, instanceProps, offset) {\n var itemMetadataMap = instanceProps.itemMetadataMap,\n lastMeasuredIndex = instanceProps.lastMeasuredIndex;\n var lastMeasuredItemOffset = lastMeasuredIndex > 0 ? itemMetadataMap[lastMeasuredIndex].offset : 0;\n\n if (lastMeasuredItemOffset >= offset) {\n // If we've already measured items within this range just use a binary search as it's faster.\n return findNearestItemBinarySearch$1(props, instanceProps, lastMeasuredIndex, 0, offset);\n } else {\n // If we haven't yet measured this high, fallback to an exponential search with an inner binary search.\n // The exponential search avoids pre-computing sizes for the full set of items as a binary search would.\n // The overall complexity for this approach is O(log n).\n return findNearestItemExponentialSearch$1(props, instanceProps, Math.max(0, lastMeasuredIndex), offset);\n }\n};\n\nvar findNearestItemBinarySearch$1 = function findNearestItemBinarySearch(props, instanceProps, high, low, offset) {\n while (low <= high) {\n var middle = low + Math.floor((high - low) / 2);\n var currentOffset = getItemMetadata$1(props, middle, instanceProps).offset;\n\n if (currentOffset === offset) {\n return middle;\n } else if (currentOffset < offset) {\n low = middle + 1;\n } else if (currentOffset > offset) {\n high = middle - 1;\n }\n }\n\n if (low > 0) {\n return low - 1;\n } else {\n return 0;\n }\n};\n\nvar findNearestItemExponentialSearch$1 = function findNearestItemExponentialSearch(props, instanceProps, index, offset) {\n var itemCount = props.itemCount;\n var interval = 1;\n\n while (index < itemCount && getItemMetadata$1(props, index, instanceProps).offset < offset) {\n index += interval;\n interval *= 2;\n }\n\n return findNearestItemBinarySearch$1(props, instanceProps, Math.min(index, itemCount - 1), Math.floor(index / 2), offset);\n};\n\nvar getEstimatedTotalSize = function getEstimatedTotalSize(_ref2, _ref3) {\n var itemCount = _ref2.itemCount;\n var itemMetadataMap = _ref3.itemMetadataMap,\n estimatedItemSize = _ref3.estimatedItemSize,\n lastMeasuredIndex = _ref3.lastMeasuredIndex;\n var totalSizeOfMeasuredItems = 0; // Edge case check for when the number of items decreases while a scroll is in progress.\n // https://github.com/bvaughn/react-window/pull/138\n\n if (lastMeasuredIndex >= itemCount) {\n lastMeasuredIndex = itemCount - 1;\n }\n\n if (lastMeasuredIndex >= 0) {\n var itemMetadata = itemMetadataMap[lastMeasuredIndex];\n totalSizeOfMeasuredItems = itemMetadata.offset + itemMetadata.size;\n }\n\n var numUnmeasuredItems = itemCount - lastMeasuredIndex - 1;\n var totalSizeOfUnmeasuredItems = numUnmeasuredItems * estimatedItemSize;\n return totalSizeOfMeasuredItems + totalSizeOfUnmeasuredItems;\n};\n\nvar VariableSizeList = /*#__PURE__*/createListComponent({\n getItemOffset: function getItemOffset(props, index, instanceProps) {\n return getItemMetadata$1(props, index, instanceProps).offset;\n },\n getItemSize: function getItemSize(props, index, instanceProps) {\n return instanceProps.itemMetadataMap[index].size;\n },\n getEstimatedTotalSize: getEstimatedTotalSize,\n getOffsetForIndexAndAlignment: function getOffsetForIndexAndAlignment(props, index, align, scrollOffset, instanceProps, scrollbarSize) {\n var direction = props.direction,\n height = props.height,\n layout = props.layout,\n width = props.width; // TODO Deprecate direction \"horizontal\"\n\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var size = isHorizontal ? width : height;\n var itemMetadata = getItemMetadata$1(props, index, instanceProps); // Get estimated total size after ItemMetadata is computed,\n // To ensure it reflects actual measurements instead of just estimates.\n\n var estimatedTotalSize = getEstimatedTotalSize(props, instanceProps);\n var maxOffset = Math.max(0, Math.min(estimatedTotalSize - size, itemMetadata.offset));\n var minOffset = Math.max(0, itemMetadata.offset - size + itemMetadata.size + scrollbarSize);\n\n if (align === 'smart') {\n if (scrollOffset >= minOffset - size && scrollOffset <= maxOffset + size) {\n align = 'auto';\n } else {\n align = 'center';\n }\n }\n\n switch (align) {\n case 'start':\n return maxOffset;\n\n case 'end':\n return minOffset;\n\n case 'center':\n return Math.round(minOffset + (maxOffset - minOffset) / 2);\n\n case 'auto':\n default:\n if (scrollOffset >= minOffset && scrollOffset <= maxOffset) {\n return scrollOffset;\n } else if (scrollOffset < minOffset) {\n return minOffset;\n } else {\n return maxOffset;\n }\n\n }\n },\n getStartIndexForOffset: function getStartIndexForOffset(props, offset, instanceProps) {\n return findNearestItem$1(props, instanceProps, offset);\n },\n getStopIndexForStartIndex: function getStopIndexForStartIndex(props, startIndex, scrollOffset, instanceProps) {\n var direction = props.direction,\n height = props.height,\n itemCount = props.itemCount,\n layout = props.layout,\n width = props.width; // TODO Deprecate direction \"horizontal\"\n\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var size = isHorizontal ? width : height;\n var itemMetadata = getItemMetadata$1(props, startIndex, instanceProps);\n var maxOffset = scrollOffset + size;\n var offset = itemMetadata.offset + itemMetadata.size;\n var stopIndex = startIndex;\n\n while (stopIndex < itemCount - 1 && offset < maxOffset) {\n stopIndex++;\n offset += getItemMetadata$1(props, stopIndex, instanceProps).size;\n }\n\n return stopIndex;\n },\n initInstanceProps: function initInstanceProps(props, instance) {\n var _ref4 = props,\n estimatedItemSize = _ref4.estimatedItemSize;\n var instanceProps = {\n itemMetadataMap: {},\n estimatedItemSize: estimatedItemSize || DEFAULT_ESTIMATED_ITEM_SIZE$1,\n lastMeasuredIndex: -1\n };\n\n instance.resetAfterIndex = function (index, shouldForceUpdate) {\n if (shouldForceUpdate === void 0) {\n shouldForceUpdate = true;\n }\n\n instanceProps.lastMeasuredIndex = Math.min(instanceProps.lastMeasuredIndex, index - 1); // We could potentially optimize further by only evicting styles after this index,\n // But since styles are only cached while scrolling is in progress-\n // It seems an unnecessary optimization.\n // It's unlikely that resetAfterIndex() will be called while a user is scrolling.\n\n instance._getItemStyleCache(-1);\n\n if (shouldForceUpdate) {\n instance.forceUpdate();\n }\n };\n\n return instanceProps;\n },\n shouldResetStyleCacheOnItemSizeChange: false,\n validateProps: function validateProps(_ref5) {\n var itemSize = _ref5.itemSize;\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof itemSize !== 'function') {\n throw Error('An invalid \"itemSize\" prop has been specified. ' + 'Value should be a function. ' + (\"\\\"\" + (itemSize === null ? 'null' : typeof itemSize) + \"\\\" was specified.\"));\n }\n }\n }\n});\n\nvar FixedSizeGrid = /*#__PURE__*/createGridComponent({\n getColumnOffset: function getColumnOffset(_ref, index) {\n var columnWidth = _ref.columnWidth;\n return index * columnWidth;\n },\n getColumnWidth: function getColumnWidth(_ref2, index) {\n var columnWidth = _ref2.columnWidth;\n return columnWidth;\n },\n getRowOffset: function getRowOffset(_ref3, index) {\n var rowHeight = _ref3.rowHeight;\n return index * rowHeight;\n },\n getRowHeight: function getRowHeight(_ref4, index) {\n var rowHeight = _ref4.rowHeight;\n return rowHeight;\n },\n getEstimatedTotalHeight: function getEstimatedTotalHeight(_ref5) {\n var rowCount = _ref5.rowCount,\n rowHeight = _ref5.rowHeight;\n return rowHeight * rowCount;\n },\n getEstimatedTotalWidth: function getEstimatedTotalWidth(_ref6) {\n var columnCount = _ref6.columnCount,\n columnWidth = _ref6.columnWidth;\n return columnWidth * columnCount;\n },\n getOffsetForColumnAndAlignment: function getOffsetForColumnAndAlignment(_ref7, columnIndex, align, scrollLeft, instanceProps, scrollbarSize) {\n var columnCount = _ref7.columnCount,\n columnWidth = _ref7.columnWidth,\n width = _ref7.width;\n var lastColumnOffset = Math.max(0, columnCount * columnWidth - width);\n var maxOffset = Math.min(lastColumnOffset, columnIndex * columnWidth);\n var minOffset = Math.max(0, columnIndex * columnWidth - width + scrollbarSize + columnWidth);\n\n if (align === 'smart') {\n if (scrollLeft >= minOffset - width && scrollLeft <= maxOffset + width) {\n align = 'auto';\n } else {\n align = 'center';\n }\n }\n\n switch (align) {\n case 'start':\n return maxOffset;\n\n case 'end':\n return minOffset;\n\n case 'center':\n // \"Centered\" offset is usually the average of the min and max.\n // But near the edges of the list, this doesn't hold true.\n var middleOffset = Math.round(minOffset + (maxOffset - minOffset) / 2);\n\n if (middleOffset < Math.ceil(width / 2)) {\n return 0; // near the beginning\n } else if (middleOffset > lastColumnOffset + Math.floor(width / 2)) {\n return lastColumnOffset; // near the end\n } else {\n return middleOffset;\n }\n\n case 'auto':\n default:\n if (scrollLeft >= minOffset && scrollLeft <= maxOffset) {\n return scrollLeft;\n } else if (minOffset > maxOffset) {\n // Because we only take into account the scrollbar size when calculating minOffset\n // this value can be larger than maxOffset when at the end of the list\n return minOffset;\n } else if (scrollLeft < minOffset) {\n return minOffset;\n } else {\n return maxOffset;\n }\n\n }\n },\n getOffsetForRowAndAlignment: function getOffsetForRowAndAlignment(_ref8, rowIndex, align, scrollTop, instanceProps, scrollbarSize) {\n var rowHeight = _ref8.rowHeight,\n height = _ref8.height,\n rowCount = _ref8.rowCount;\n var lastRowOffset = Math.max(0, rowCount * rowHeight - height);\n var maxOffset = Math.min(lastRowOffset, rowIndex * rowHeight);\n var minOffset = Math.max(0, rowIndex * rowHeight - height + scrollbarSize + rowHeight);\n\n if (align === 'smart') {\n if (scrollTop >= minOffset - height && scrollTop <= maxOffset + height) {\n align = 'auto';\n } else {\n align = 'center';\n }\n }\n\n switch (align) {\n case 'start':\n return maxOffset;\n\n case 'end':\n return minOffset;\n\n case 'center':\n // \"Centered\" offset is usually the average of the min and max.\n // But near the edges of the list, this doesn't hold true.\n var middleOffset = Math.round(minOffset + (maxOffset - minOffset) / 2);\n\n if (middleOffset < Math.ceil(height / 2)) {\n return 0; // near the beginning\n } else if (middleOffset > lastRowOffset + Math.floor(height / 2)) {\n return lastRowOffset; // near the end\n } else {\n return middleOffset;\n }\n\n case 'auto':\n default:\n if (scrollTop >= minOffset && scrollTop <= maxOffset) {\n return scrollTop;\n } else if (minOffset > maxOffset) {\n // Because we only take into account the scrollbar size when calculating minOffset\n // this value can be larger than maxOffset when at the end of the list\n return minOffset;\n } else if (scrollTop < minOffset) {\n return minOffset;\n } else {\n return maxOffset;\n }\n\n }\n },\n getColumnStartIndexForOffset: function getColumnStartIndexForOffset(_ref9, scrollLeft) {\n var columnWidth = _ref9.columnWidth,\n columnCount = _ref9.columnCount;\n return Math.max(0, Math.min(columnCount - 1, Math.floor(scrollLeft / columnWidth)));\n },\n getColumnStopIndexForStartIndex: function getColumnStopIndexForStartIndex(_ref10, startIndex, scrollLeft) {\n var columnWidth = _ref10.columnWidth,\n columnCount = _ref10.columnCount,\n width = _ref10.width;\n var left = startIndex * columnWidth;\n var numVisibleColumns = Math.ceil((width + scrollLeft - left) / columnWidth);\n return Math.max(0, Math.min(columnCount - 1, startIndex + numVisibleColumns - 1 // -1 is because stop index is inclusive\n ));\n },\n getRowStartIndexForOffset: function getRowStartIndexForOffset(_ref11, scrollTop) {\n var rowHeight = _ref11.rowHeight,\n rowCount = _ref11.rowCount;\n return Math.max(0, Math.min(rowCount - 1, Math.floor(scrollTop / rowHeight)));\n },\n getRowStopIndexForStartIndex: function getRowStopIndexForStartIndex(_ref12, startIndex, scrollTop) {\n var rowHeight = _ref12.rowHeight,\n rowCount = _ref12.rowCount,\n height = _ref12.height;\n var top = startIndex * rowHeight;\n var numVisibleRows = Math.ceil((height + scrollTop - top) / rowHeight);\n return Math.max(0, Math.min(rowCount - 1, startIndex + numVisibleRows - 1 // -1 is because stop index is inclusive\n ));\n },\n initInstanceProps: function initInstanceProps(props) {// Noop\n },\n shouldResetStyleCacheOnItemSizeChange: true,\n validateProps: function validateProps(_ref13) {\n var columnWidth = _ref13.columnWidth,\n rowHeight = _ref13.rowHeight;\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof columnWidth !== 'number') {\n throw Error('An invalid \"columnWidth\" prop has been specified. ' + 'Value should be a number. ' + (\"\\\"\" + (columnWidth === null ? 'null' : typeof columnWidth) + \"\\\" was specified.\"));\n }\n\n if (typeof rowHeight !== 'number') {\n throw Error('An invalid \"rowHeight\" prop has been specified. ' + 'Value should be a number. ' + (\"\\\"\" + (rowHeight === null ? 'null' : typeof rowHeight) + \"\\\" was specified.\"));\n }\n }\n }\n});\n\nvar FixedSizeList = /*#__PURE__*/createListComponent({\n getItemOffset: function getItemOffset(_ref, index) {\n var itemSize = _ref.itemSize;\n return index * itemSize;\n },\n getItemSize: function getItemSize(_ref2, index) {\n var itemSize = _ref2.itemSize;\n return itemSize;\n },\n getEstimatedTotalSize: function getEstimatedTotalSize(_ref3) {\n var itemCount = _ref3.itemCount,\n itemSize = _ref3.itemSize;\n return itemSize * itemCount;\n },\n getOffsetForIndexAndAlignment: function getOffsetForIndexAndAlignment(_ref4, index, align, scrollOffset, instanceProps, scrollbarSize) {\n var direction = _ref4.direction,\n height = _ref4.height,\n itemCount = _ref4.itemCount,\n itemSize = _ref4.itemSize,\n layout = _ref4.layout,\n width = _ref4.width;\n // TODO Deprecate direction \"horizontal\"\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var size = isHorizontal ? width : height;\n var lastItemOffset = Math.max(0, itemCount * itemSize - size);\n var maxOffset = Math.min(lastItemOffset, index * itemSize);\n var minOffset = Math.max(0, index * itemSize - size + itemSize + scrollbarSize);\n\n if (align === 'smart') {\n if (scrollOffset >= minOffset - size && scrollOffset <= maxOffset + size) {\n align = 'auto';\n } else {\n align = 'center';\n }\n }\n\n switch (align) {\n case 'start':\n return maxOffset;\n\n case 'end':\n return minOffset;\n\n case 'center':\n {\n // \"Centered\" offset is usually the average of the min and max.\n // But near the edges of the list, this doesn't hold true.\n var middleOffset = Math.round(minOffset + (maxOffset - minOffset) / 2);\n\n if (middleOffset < Math.ceil(size / 2)) {\n return 0; // near the beginning\n } else if (middleOffset > lastItemOffset + Math.floor(size / 2)) {\n return lastItemOffset; // near the end\n } else {\n return middleOffset;\n }\n }\n\n case 'auto':\n default:\n if (scrollOffset >= minOffset && scrollOffset <= maxOffset) {\n return scrollOffset;\n } else if (scrollOffset < minOffset) {\n return minOffset;\n } else {\n return maxOffset;\n }\n\n }\n },\n getStartIndexForOffset: function getStartIndexForOffset(_ref5, offset) {\n var itemCount = _ref5.itemCount,\n itemSize = _ref5.itemSize;\n return Math.max(0, Math.min(itemCount - 1, Math.floor(offset / itemSize)));\n },\n getStopIndexForStartIndex: function getStopIndexForStartIndex(_ref6, startIndex, scrollOffset) {\n var direction = _ref6.direction,\n height = _ref6.height,\n itemCount = _ref6.itemCount,\n itemSize = _ref6.itemSize,\n layout = _ref6.layout,\n width = _ref6.width;\n // TODO Deprecate direction \"horizontal\"\n var isHorizontal = direction === 'horizontal' || layout === 'horizontal';\n var offset = startIndex * itemSize;\n var size = isHorizontal ? width : height;\n var numVisibleItems = Math.ceil((size + scrollOffset - offset) / itemSize);\n return Math.max(0, Math.min(itemCount - 1, startIndex + numVisibleItems - 1 // -1 is because stop index is inclusive\n ));\n },\n initInstanceProps: function initInstanceProps(props) {// Noop\n },\n shouldResetStyleCacheOnItemSizeChange: true,\n validateProps: function validateProps(_ref7) {\n var itemSize = _ref7.itemSize;\n\n if (process.env.NODE_ENV !== 'production') {\n if (typeof itemSize !== 'number') {\n throw Error('An invalid \"itemSize\" prop has been specified. ' + 'Value should be a number. ' + (\"\\\"\" + (itemSize === null ? 'null' : typeof itemSize) + \"\\\" was specified.\"));\n }\n }\n }\n});\n\n// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nfunction shallowDiffers(prev, next) {\n for (var attribute in prev) {\n if (!(attribute in next)) {\n return true;\n }\n }\n\n for (var _attribute in next) {\n if (prev[_attribute] !== next[_attribute]) {\n return true;\n }\n }\n\n return false;\n}\n\nvar _excluded = [\"style\"],\n _excluded2 = [\"style\"];\n// It knows to compare individual style props and ignore the wrapper object.\n// See https://reactjs.org/docs/react-api.html#reactmemo\n\nfunction areEqual(prevProps, nextProps) {\n var prevStyle = prevProps.style,\n prevRest = _objectWithoutPropertiesLoose(prevProps, _excluded);\n\n var nextStyle = nextProps.style,\n nextRest = _objectWithoutPropertiesLoose(nextProps, _excluded2);\n\n return !shallowDiffers(prevStyle, nextStyle) && !shallowDiffers(prevRest, nextRest);\n}\n\n// It knows to compare individual style props and ignore the wrapper object.\n// See https://reactjs.org/docs/react-component.html#shouldcomponentupdate\n\nfunction shouldComponentUpdate(nextProps, nextState) {\n return !areEqual(this.props, nextProps) || shallowDiffers(this.state, nextState);\n}\n\nexport { FixedSizeGrid, FixedSizeList, VariableSizeGrid, VariableSizeList, areEqual, shouldComponentUpdate };\n//# sourceMappingURL=index.esm.js.map\n"],"names":["now","performance","Date","cancelTimeout","timeoutID","cancelAnimationFrame","id","size","getScrollbarSize","recalculate","div","document","createElement","style","width","height","overflow","body","appendChild","offsetWidth","clientWidth","removeChild","cachedRTLResult","getRTLOffsetType","outerDiv","outerStyle","direction","innerDiv","innerStyle","scrollLeft","process","env","NODE_ENV","defaultItemKey$1","index","data","devWarningsDirection","devWarningsTagName$1","createListComponent","_ref","_class","getItemOffset","getEstimatedTotalSize","getItemSize","getOffsetForIndexAndAlignment","getStartIndexForOffset","getStopIndexForStartIndex","initInstanceProps","shouldResetStyleCacheOnItemSizeChange","validateProps","_PureComponent","List","props","_this","call","this","_instanceProps","_assertThisInitialized","_outerRef","_resetIsScrollingTimeoutId","state","instance","isScrolling","scrollDirection","scrollOffset","initialScrollOffset","scrollUpdateWasRequested","_callOnItemsRendered","memoizeOne","overscanStartIndex","overscanStopIndex","visibleStartIndex","visibleStopIndex","onItemsRendered","_callOnScroll","onScroll","_getItemStyle","_this$props","itemSize","layout","itemStyleCache","_getItemStyleCache","hasOwnProperty","_offset","isHorizontal","isRtl","offsetHorizontal","position","left","undefined","right","top","_","__","___","_onScrollHorizontal","event","_event$currentTarget","currentTarget","scrollWidth","setState","prevState","Math","max","min","_resetIsScrollingDebounced","_onScrollVertical","_event$currentTarget2","clientHeight","scrollHeight","scrollTop","_outerRefSetter","ref","outerRef","current","callback","delay","start","_resetIsScrolling","requestAnimationFrame","tick","_inheritsLoose","getDerivedStateFromProps","nextProps","validateSharedProps$1","_proto","prototype","scrollTo","scrollToItem","align","_this$props2","itemCount","scrollbarSize","componentDidMount","_this$props3","_callPropsCallbacks","componentDidUpdate","_this$props4","_this$state","componentWillUnmount","render","_this$props5","children","className","innerRef","innerElementType","innerTagName","itemData","_this$props5$itemKey","itemKey","outerElementType","outerTagName","useIsScrolling","_this$_getRangeToRend","_getRangeToRender","startIndex","stopIndex","items","_index","push","key","estimatedTotalSize","_extends","WebkitOverflowScrolling","willChange","pointerEvents","_this$_getRangeToRend2","_overscanStartIndex","_overscanStopIndex","_visibleStartIndex","_visibleStopIndex","_this$state2","_scrollDirection","_scrollOffset","_scrollUpdateWasRequested","_this$props6","overscanCount","_this$state3","overscanBackward","overscanForward","PureComponent","defaultProps","window","WeakSet","_ref2","_ref3","has","add","console","warn","Error","FixedSizeList","_ref4","instanceProps","lastItemOffset","maxOffset","minOffset","middleOffset","round","ceil","floor","_ref5","offset","_ref6","numVisibleItems","_ref7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AM,8EAAyG,OAAbhH,EAAoB,cAAgBA,GAAY,mBAG7J"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"../../node_modules/tslib/tslib.es6.mjs.js";import{jsx as o,jsxs as i}from"react/jsx-runtime";import r from"../../node_modules/react-virtualized-auto-sizer/dist/react-virtualized-auto-sizer.esm.js";import{FixedSizeList as m}from"../../node_modules/react-window/dist/index.esm.js";import"../../node_modules/@material-ui/utils/esm/elementAcceptingRef.js";import"../../node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js";import"../../_virtual/index.js";import"../../node_modules/@material-ui/utils/esm/ponyfillGlobal.js";import"../../node_modules/@material-ui/utils/esm/refType.js";import"../../node_modules/@material-ui/core/esm/styles/createPalette.js";import"../../node_modules/@material-ui/system/esm/borders.js";import"../../_virtual/index2.js";import"../../node_modules/@material-ui/system/esm/display.js";import"../../node_modules/@material-ui/system/esm/flexbox.js";import"../../node_modules/@material-ui/system/esm/grid.js";import"../../node_modules/@material-ui/system/esm/palette.js";import"../../node_modules/@material-ui/system/esm/positions.js";import"../../node_modules/@material-ui/system/esm/shadows.js";import"../../node_modules/@material-ui/system/esm/sizing.js";import"../../node_modules/@material-ui/system/esm/spacing.js";import"../../node_modules/@material-ui/system/esm/responsivePropType.js";import"../../node_modules/@material-ui/system/esm/typography.js";import"../../node_modules/@material-ui/styles/esm/index.js";import"../../node_modules/@material-ui/core/esm/styles/defaultTheme.js";import t from"react";import"../../node_modules/@material-ui/core/esm/styles/withTheme.js";import"../../node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js";import"react-dom";import"../../node_modules/@material-ui/core/esm/Accordion/Accordion.js";import"../../node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.js";import"../../node_modules/@material-ui/core/esm/AccordionDetails/AccordionDetails.js";import"../../node_modules/@material-ui/core/esm/AccordionSummary/AccordionSummary.js";import"../../node_modules/@material-ui/core/esm/AppBar/AppBar.js";import"../../node_modules/@material-ui/core/esm/Avatar/Avatar.js";import"../../node_modules/@material-ui/core/esm/Backdrop/Backdrop.js";import"../../node_modules/@material-ui/core/esm/Badge/Badge.js";import"../../node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.js";import"../../node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js";import"../../node_modules/@material-ui/core/esm/Box/Box.js";import"../../node_modules/@material-ui/core/esm/Breadcrumbs/Breadcrumbs.js";import"../../node_modules/@material-ui/core/esm/Button/Button.js";import"../../node_modules/@material-ui/core/esm/ButtonBase/ButtonBase.js";import"../../node_modules/@material-ui/core/esm/ButtonGroup/ButtonGroup.js";import"../../node_modules/@material-ui/core/esm/Card/Card.js";import"../../node_modules/@material-ui/core/esm/CardActionArea/CardActionArea.js";import"../../node_modules/@material-ui/core/esm/CardActions/CardActions.js";import"../../node_modules/@material-ui/core/esm/CardContent/CardContent.js";import"../../node_modules/@material-ui/core/esm/CardHeader/CardHeader.js";import"../../node_modules/@material-ui/core/esm/CardMedia/CardMedia.js";import"../../node_modules/@material-ui/core/esm/Checkbox/Checkbox.js";import"../../node_modules/@material-ui/core/esm/Chip/Chip.js";import"../../node_modules/@material-ui/core/esm/CircularProgress/CircularProgress.js";import"../../node_modules/@material-ui/core/esm/ClickAwayListener/ClickAwayListener.js";import"../../node_modules/@material-ui/core/esm/Collapse/Collapse.js";import"../../node_modules/@material-ui/core/esm/Container/Container.js";import"../../node_modules/@material-ui/core/esm/CssBaseline/CssBaseline.js";import"../../node_modules/@material-ui/core/esm/Dialog/Dialog.js";import"../../node_modules/@material-ui/core/esm/DialogActions/DialogActions.js";import"../../node_modules/@material-ui/core/esm/DialogContent/DialogContent.js";import"../../node_modules/@material-ui/core/esm/DialogContentText/DialogContentText.js";import"../../node_modules/@material-ui/core/esm/DialogTitle/DialogTitle.js";import"../../node_modules/@material-ui/core/esm/Divider/Divider.js";import"../../node_modules/@material-ui/core/esm/Drawer/Drawer.js";import"../../node_modules/@material-ui/core/esm/ExpansionPanel/ExpansionPanel.js";import"../../node_modules/@material-ui/core/esm/ExpansionPanelActions/ExpansionPanelActions.js";import"../../node_modules/@material-ui/core/esm/ExpansionPanelDetails/ExpansionPanelDetails.js";import"../../node_modules/@material-ui/core/esm/ExpansionPanelSummary/ExpansionPanelSummary.js";import"../../node_modules/@material-ui/core/esm/Fab/Fab.js";import"../../node_modules/@material-ui/core/esm/Fade/Fade.js";import"../../node_modules/@material-ui/core/esm/FilledInput/FilledInput.js";import"../../node_modules/@material-ui/core/esm/FormControl/FormControl.js";import"../../node_modules/@material-ui/core/esm/FormControl/FormControlContext.js";import"../../node_modules/@material-ui/core/esm/FormControlLabel/FormControlLabel.js";import"../../node_modules/@material-ui/core/esm/FormGroup/FormGroup.js";import"../../node_modules/@material-ui/core/esm/FormHelperText/FormHelperText.js";import"../../node_modules/@material-ui/core/esm/FormLabel/FormLabel.js";import"../../node_modules/@material-ui/core/esm/Grid/Grid.js";import"../../node_modules/@material-ui/core/esm/GridList/GridList.js";import"../../node_modules/@material-ui/core/esm/GridListTile/GridListTile.js";import"../../node_modules/@material-ui/core/esm/GridListTileBar/GridListTileBar.js";import"../../node_modules/@material-ui/core/esm/Grow/Grow.js";import"../../node_modules/@material-ui/core/esm/Hidden/Hidden.js";import"../../node_modules/@material-ui/core/esm/Icon/Icon.js";import"../../node_modules/@material-ui/core/esm/IconButton/IconButton.js";import"../../node_modules/@material-ui/core/esm/ImageList/ImageList.js";import"../../node_modules/@material-ui/core/esm/ImageListItem/ImageListItem.js";import"../../node_modules/@material-ui/core/esm/ImageListItemBar/ImageListItemBar.js";import"../../node_modules/@material-ui/core/esm/Input/Input.js";import"../../node_modules/@material-ui/core/esm/InputAdornment/InputAdornment.js";import"../../node_modules/@material-ui/core/esm/InputBase/InputBase.js";import"../../node_modules/@material-ui/core/esm/InputLabel/InputLabel.js";import"../../node_modules/@material-ui/core/esm/LinearProgress/LinearProgress.js";import"../../node_modules/@material-ui/core/esm/Link/Link.js";import"../../node_modules/@material-ui/core/esm/List/List.js";import"../../node_modules/@material-ui/core/esm/ListItem/ListItem.js";import"../../node_modules/@material-ui/core/esm/ListItemAvatar/ListItemAvatar.js";import"../../node_modules/@material-ui/core/esm/ListItemIcon/ListItemIcon.js";import"../../node_modules/@material-ui/core/esm/ListItemSecondaryAction/ListItemSecondaryAction.js";import"../../node_modules/@material-ui/core/esm/ListItemText/ListItemText.js";import"../../node_modules/@material-ui/core/esm/ListSubheader/ListSubheader.js";import"../../node_modules/@material-ui/core/esm/Menu/Menu.js";import"../../node_modules/@material-ui/core/esm/MenuItem/MenuItem.js";import"../../node_modules/@material-ui/core/esm/MenuList/MenuList.js";import"../../node_modules/@material-ui/core/esm/MobileStepper/MobileStepper.js";import"../../node_modules/@material-ui/core/esm/Modal/Modal.js";import"../../node_modules/@material-ui/core/esm/NativeSelect/NativeSelect.js";import"../../node_modules/@material-ui/core/esm/NoSsr/NoSsr.js";import"../../node_modules/@material-ui/core/esm/OutlinedInput/OutlinedInput.js";import s from"../../node_modules/@material-ui/core/esm/Paper/Paper.js";import"../../node_modules/@material-ui/core/esm/Popover/Popover.js";import"../../node_modules/@material-ui/core/esm/Popper/Popper.js";import"../../node_modules/@material-ui/core/esm/Portal/Portal.js";import"../../node_modules/@material-ui/core/esm/Radio/Radio.js";import"../../node_modules/@material-ui/core/esm/RadioGroup/RadioGroup.js";import"../../node_modules/@material-ui/core/esm/RadioGroup/RadioGroupContext.js";import"../../node_modules/@material-ui/core/esm/RootRef/RootRef.js";import"../../node_modules/@material-ui/core/esm/Select/Select.js";import"../../node_modules/@material-ui/core/esm/Slide/Slide.js";import"../../node_modules/@material-ui/core/esm/Slider/Slider.js";import"../../node_modules/@material-ui/core/esm/Snackbar/Snackbar.js";import"../../node_modules/@material-ui/core/esm/SnackbarContent/SnackbarContent.js";import"../../node_modules/@material-ui/core/esm/Step/Step.js";import"../../node_modules/@material-ui/core/esm/StepButton/StepButton.js";import"../../node_modules/@material-ui/core/esm/StepConnector/StepConnector.js";import"../../node_modules/@material-ui/core/esm/StepContent/StepContent.js";import"../../node_modules/@material-ui/core/esm/StepIcon/StepIcon.js";import"../../node_modules/@material-ui/core/esm/StepLabel/StepLabel.js";import"../../node_modules/@material-ui/core/esm/Stepper/Stepper.js";import"../../node_modules/@material-ui/core/esm/SwipeableDrawer/SwipeableDrawer.js";import"../../node_modules/@material-ui/core/esm/Switch/Switch.js";import"../../node_modules/@material-ui/core/esm/Tab/Tab.js";import"../../node_modules/@material-ui/core/esm/Table/Table.js";import"../../node_modules/@material-ui/core/esm/TableBody/TableBody.js";import"../../node_modules/@material-ui/core/esm/TableCell/TableCell.js";import"../../node_modules/@material-ui/core/esm/TableContainer/TableContainer.js";import"../../node_modules/@material-ui/core/esm/TableFooter/TableFooter.js";import"../../node_modules/@material-ui/core/esm/TableHead/TableHead.js";import"../../node_modules/@material-ui/core/esm/TablePagination/TablePagination.js";import"../../node_modules/@material-ui/core/esm/TableRow/TableRow.js";import"../../node_modules/@material-ui/core/esm/TableSortLabel/TableSortLabel.js";import"../../node_modules/@material-ui/core/esm/Tabs/Tabs.js";import"../../node_modules/@material-ui/core/esm/TabScrollButton/TabScrollButton.js";import"../../node_modules/@material-ui/core/esm/TextField/TextField.js";import"../../node_modules/@material-ui/core/esm/TextareaAutosize/TextareaAutosize.js";import"../../node_modules/@material-ui/core/esm/Toolbar/Toolbar.js";import"../../node_modules/@material-ui/core/esm/Tooltip/Tooltip.js";import"../../node_modules/@material-ui/core/esm/Typography/Typography.js";import"../../node_modules/@material-ui/core/esm/Unstable_TrapFocus/Unstable_TrapFocus.js";import"../../_virtual/hoist-non-react-statics.cjs.js";import"../../node_modules/@material-ui/core/esm/Zoom/Zoom.js";import a from"../../node_modules/@material-ui/lab/esm/Skeleton/Skeleton.js";import l from"./paginatedTable.module.css.js";var d=function(d){var n=d.headers,u=d.tableData,p=d.onNextPage,c=d.loadingMore,j=void 0!==c&&c,_=d.headerRefs,b=d.totalFileRecords,h=d.columnWidth,g=void 0===h?250:h,x=d.rowHeight,f=void 0===x?45:x,v=d.style,S=d.className,C=void 0===S?"":S,T=d.styleOverrides,y=void 0===T?{}:T,I=t.useRef(null),L=t.useCallback((function(e){var o=e.visibleStopIndex;b&&u.length>=b||!j&&o>=u.length-10&&p()}),[j,u.length,p,b]),B=e({color:"#111827",fontFamily:"Inter, sans-serif",fontSize:"14px",cursor:"default",padding:"12px 24px",borderBottom:"1px solid #e5e7eb",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},y.dataRow),w=e({padding:"12px 24px",borderBottom:"1px solid #e5e7eb",fontWeight:"bold",color:"#374151",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},y.headerRow),A=t.useCallback((function(i){var r=i.index,m=i.style;if(j&&r===u.length)return o("div",e({style:e(e({},m),{display:"flex",width:"".concat(n.length*g,"px"),backgroundColor:r%2==0?"#ffffff":"#f9fafb"})},{children:n.map((function(i,r){var m=r===n.length-1;return o("div",e({style:{flex:"0 0 ".concat(g,"px"),padding:"12px 24px",borderBottom:"1px solid #e5e7eb",borderRight:m?"none":"1px solid #e5e7eb",boxSizing:"border-box"}},{children:o(a,{variant:"rect",width:"100%",height:20,className:"rounded-[0.25rem]",animation:"wave"})}),"loading-".concat(r))}))}));var t=u[r],s=r%2==0;return o("div",e({style:e(e({},m),{display:"flex",width:"".concat(n.length*g,"px"),backgroundColor:s?"#ffffff":"#f9fafb"})},{children:n.map((function(i,m){var s=m===n.length-1;return function(i,r,m,t){return o("div",e({title:r[i],style:e({flex:"0 0 ".concat(g,"px"),position:"relative",borderRight:t?"none":"1px solid #e5e7eb",boxSizing:"border-box"},B)},{children:r[i]}),"".concat(i,"-").concat(m))}(i,t,r,s)}))}))}),[n,u,j]);return o(s,e({elevation:0,style:e({border:"1px solid #e5e7eb",borderRadius:"0",height:"65vh",minHeight:"425px",overflowY:"hidden",position:"relative"},v),className:"".concat(l.custom_scrollbar," ").concat(C)},{children:i("div",e({style:{minWidth:"".concat(n.length*g,"px"),height:"100%"}},{children:[o("div",e({style:{display:"flex",backgroundColor:"#f9fafb",position:"sticky",top:0,zIndex:1,width:"".concat(n.length*g,"px")}},{children:n.map((function(i,r){var m=r===n.length-1;return o("div",e({ref:function(e){_.current[i]=e},style:e({borderRight:m?"none":"1px solid #e5e7eb",flex:"0 0 ".concat(g,"px"),boxSizing:"border-box"},w)},{children:i}),i)}))})),o("div",e({style:{minHeight:"380px",height:"calc(60vh)",width:"100%"}},{children:o(r,{children:function(i){var r=i.height,t=i.width;return o(m,e({ref:I,height:r,width:t,itemCount:j?u.length+1:u.length,itemSize:f,onItemsRendered:L,overscanCount:20},{children:A}))}})}))]}))}))};export{d as default};
|
|
2
|
+
//# sourceMappingURL=PaginatedTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginatedTable.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import a from"../../node_modules/style-inject/dist/style-inject.es.js";var l={custom_scrollbar:"paginatedTable-module_custom_scrollbar__nIG5W"};a(".paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar{height:6.312px}.paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar-thumb{background:#98a2b3!important;border-radius:3.607px;opacity:.4}.paginatedTable-module_custom_scrollbar__nIG5W::-webkit-scrollbar-track{background:#0000}");export{l as default};
|
|
2
|
+
//# sourceMappingURL=paginatedTable.module.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paginatedTable.module.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";
|
|
1
|
+
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";export{default as PaginatedTable}from"./features/PaginatedTable/PaginatedTable.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPrototypeOf.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js"],"sourcesContent":["function _getPrototypeOf(t) {\n return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {\n return t.__proto__ || Object.getPrototypeOf(t);\n }, _getPrototypeOf(t);\n}\nexport { _getPrototypeOf as default };"],"names":["_getPrototypeOf","t","Object","setPrototypeOf","getPrototypeOf","bind","__proto__"],"mappings":"AAAA,SAASA,EAAgBC,GACvB,OAAOD,EAAkBE,OAAOC,eAAiBD,OAAOE,eAAeC,OAAS,SAAUJ,GACxF,OAAOA,EAAEK,WAAaJ,OAAOE,eAAeH,EAChD,EAAKD,EAAgBC,EACrB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"./setPrototypeOf.js";function t(t,o){if("function"!=typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&e(t,o)}export{t as default};
|
|
2
|
+
//# sourceMappingURL=inherits.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inherits.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/esm/inherits.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _inherits(t, e) {\n if (\"function\" != typeof e && null !== e) throw new TypeError(\"Super expression must either be null or a function\");\n t.prototype = Object.create(e && e.prototype, {\n constructor: {\n value: t,\n writable: !0,\n configurable: !0\n }\n }), Object.defineProperty(t, \"prototype\", {\n writable: !1\n }), e && setPrototypeOf(t, e);\n}\nexport { _inherits as default };"],"names":["_inherits","t","e","TypeError","prototype","Object","create","constructor","value","writable","configurable","defineProperty","setPrototypeOf"],"mappings":"mCACA,SAASA,EAAUC,EAAGC,GACpB,GAAI,mBAAqBA,GAAK,OAASA,EAAG,MAAM,IAAIC,UAAU,sDAC9DF,EAAEG,UAAYC,OAAOC,OAAOJ,GAAKA,EAAEE,UAAW,CAC5CG,YAAa,CACXC,MAAOP,EACPQ,UAAU,EACVC,cAAc,KAEdL,OAAOM,eAAeV,EAAG,YAAa,CACxCQ,UAAU,IACRP,GAAKU,EAAeX,EAAGC,EAC7B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"./typeof.js";import o from"./assertThisInitialized.js";function t(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return o(t)}export{t as default};
|
|
2
|
+
//# sourceMappingURL=possibleConstructorReturn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"possibleConstructorReturn.js","sources":["../../../../../../node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nfunction _possibleConstructorReturn(t, e) {\n if (e && (\"object\" == _typeof(e) || \"function\" == typeof e)) return e;\n if (void 0 !== e) throw new TypeError(\"Derived constructors may only return object or undefined\");\n return assertThisInitialized(t);\n}\nexport { _possibleConstructorReturn as default };"],"names":["_possibleConstructorReturn","t","e","_typeof","TypeError","assertThisInitialized"],"mappings":"qEAEA,SAASA,EAA2BC,EAAGC,GACrC,GAAIA,IAAM,UAAYC,EAAQD,IAAM,mBAAqBA,GAAI,OAAOA,EACpE,QAAI,IAAWA,EAAG,MAAM,IAAIE,UAAU,4DACtC,OAAOC,EAAsBJ,EAC/B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import s from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as r from"react";import i from"../../../../../_virtual/index2.js";import{clsx as t}from"../../../../clsx/dist/clsx.m.js";import o from"../styles/withStyles.js";var a={root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > :not(:first-child)":{marginLeft:8}}},n=r.forwardRef((function(i,o){var a=i.classes,n=i.className,c=i.disableSpacing,l=void 0!==c&&c,m=s(i,["classes","className","disableSpacing"]);return r.createElement("div",e({className:t(a.root,n,!l&&a.spacing),ref:o},m))}));"production"!==process.env.NODE_ENV&&(n.propTypes={children:i.node,classes:i.object,className:i.string,disableSpacing:i.bool}),o(a,{name:"MuiAccordionActions"})(n);export{a as styles};
|
|
2
|
+
//# sourceMappingURL=AccordionActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionActions.js","sources":["../../../../../../node_modules/@material-ui/core/esm/AccordionActions/AccordionActions.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 = {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n alignItems: 'center',\n padding: 8,\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `disableSpacing={false}`. */\n spacing: {\n '& > :not(:first-child)': {\n marginLeft: 8\n }\n }\n};\nvar AccordionActions = /*#__PURE__*/React.forwardRef(function AccordionActions(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$disableSpacing = props.disableSpacing,\n disableSpacing = _props$disableSpacing === void 0 ? false : _props$disableSpacing,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"disableSpacing\"]);\n\n return /*#__PURE__*/React.createElement(\"div\", _extends({\n className: clsx(classes.root, className, !disableSpacing && classes.spacing),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AccordionActions.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 content of the component.\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 * If `true`, the actions do not have additional margin.\n */\n disableSpacing: PropTypes.bool\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAccordionActions'\n})(AccordionActions);"],"names":["styles","root","display","alignItems","padding","justifyContent","spacing","marginLeft","AccordionActions","React","forwardRef","props","ref","classes","className","_props$disableSpacing","disableSpacing","other","_objectWithoutProperties","createElement","_extends","clsx","process","env","NODE_ENV","propTypes","children","PropTypes","node","object","string","bool","withStyles","name"],"mappings":"yTAMU,IAACA,EAAS,CAElBC,KAAM,CACJC,QAAS,OACTC,WAAY,SACZC,QAAS,EACTC,eAAgB,YAIlBC,QAAS,CACP,yBAA0B,CACxBC,WAAY,KAIdC,EAAgCC,EAAMC,YAAW,SAA0BC,EAAOC,GACpF,IAAIC,EAAUF,EAAME,QAChBC,EAAYH,EAAMG,UAClBC,EAAwBJ,EAAMK,eAC9BA,OAA2C,IAA1BD,GAA2CA,EAC5DE,EAAQC,EAAyBP,EAAO,CAAC,UAAW,YAAa,mBAErE,OAAoBF,EAAMU,cAAc,MAAOC,EAAS,CACtDN,UAAWO,EAAKR,EAAQZ,KAAMa,GAAYE,GAAkBH,EAAQP,SACpEM,IAAKA,GACJK,GACL,IACyB,eAAzBK,QAAQC,IAAIC,WAA4BhB,EAAiBiB,UAAY,CASnEC,SAAUC,EAAUC,KAMpBf,QAASc,EAAUE,OAKnBf,UAAWa,EAAUG,OAKrBd,eAAgBW,EAAUI,OAEbC,EAAWhC,EAAQ,CAChCiC,KAAM,uBADOD,CAEZxB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"../../../../@babel/runtime/helpers/esm/extends.js";import t from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as e from"react";import r from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import a from"../styles/withStyles.js";import s from"../utils/capitalize.js";import n from"../Paper/Paper.js";var l=function(o){var t="light"===o.palette.type?o.palette.grey[100]:o.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:o.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0,"@media print":{position:"absolute"}},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:o.palette.getContrastText(t)},colorPrimary:{backgroundColor:o.palette.primary.main,color:o.palette.primary.contrastText},colorSecondary:{backgroundColor:o.palette.secondary.main,color:o.palette.secondary.contrastText},colorInherit:{color:"inherit"},colorTransparent:{backgroundColor:"transparent",color:"inherit"}}},p=e.forwardRef((function(r,a){var l=r.classes,p=r.className,c=r.color,m=void 0===c?"primary":c,d=r.position,f=void 0===d?"fixed":d,u=t(r,["classes","className","color","position"]);return e.createElement(n,o({square:!0,component:"header",elevation:4,className:i(l.root,l["position".concat(s(f))],l["color".concat(s(m))],p,"fixed"===f&&"mui-fixed"),ref:a},u))}));"production"!==process.env.NODE_ENV&&(p.propTypes={children:r.node,classes:r.object,className:r.string,color:r.oneOf(["default","inherit","primary","secondary","transparent"]),position:r.oneOf(["absolute","fixed","relative","static","sticky"])}),a(l,{name:"MuiAppBar"})(p);export{l as styles};
|
|
2
|
+
//# sourceMappingURL=AppBar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppBar.js","sources":["../../../../../../node_modules/@material-ui/core/esm/AppBar/AppBar.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 capitalize from '../utils/capitalize';\nimport Paper from '../Paper';\nexport var styles = function styles(theme) {\n var backgroundColorDefault = theme.palette.type === 'light' ? theme.palette.grey[100] : theme.palette.grey[900];\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n boxSizing: 'border-box',\n // Prevent padding issue with the Modal and fixed positioned AppBar.\n zIndex: theme.zIndex.appBar,\n flexShrink: 0\n },\n\n /* Styles applied to the root element if `position=\"fixed\"`. */\n positionFixed: {\n position: 'fixed',\n top: 0,\n left: 'auto',\n right: 0,\n '@media print': {\n // Prevent the app bar to be visible on each printed page.\n position: 'absolute'\n }\n },\n\n /* Styles applied to the root element if `position=\"absolute\"`. */\n positionAbsolute: {\n position: 'absolute',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"sticky\"`. */\n positionSticky: {\n // ⚠️ sticky is not supported by IE 11.\n position: 'sticky',\n top: 0,\n left: 'auto',\n right: 0\n },\n\n /* Styles applied to the root element if `position=\"static\"`. */\n positionStatic: {\n position: 'static'\n },\n\n /* Styles applied to the root element if `position=\"relative\"`. */\n positionRelative: {\n position: 'relative'\n },\n\n /* Styles applied to the root element if `color=\"default\"`. */\n colorDefault: {\n backgroundColor: backgroundColorDefault,\n color: theme.palette.getContrastText(backgroundColorDefault)\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"inherit\"`. */\n colorInherit: {\n color: 'inherit'\n },\n\n /* Styles applied to the root element if `color=\"transparent\"`. */\n colorTransparent: {\n backgroundColor: 'transparent',\n color: 'inherit'\n }\n };\n};\nvar AppBar = /*#__PURE__*/React.forwardRef(function AppBar(props, ref) {\n var classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'primary' : _props$color,\n _props$position = props.position,\n position = _props$position === void 0 ? 'fixed' : _props$position,\n other = _objectWithoutProperties(props, [\"classes\", \"className\", \"color\", \"position\"]);\n\n return /*#__PURE__*/React.createElement(Paper, _extends({\n square: true,\n component: \"header\",\n elevation: 4,\n className: clsx(classes.root, classes[\"position\".concat(capitalize(position))], classes[\"color\".concat(capitalize(color))], className, position === 'fixed' && 'mui-fixed'),\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? AppBar.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 content of the component.\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 color of the component. It supports those theme colors that make sense for this component.\n */\n color: PropTypes.oneOf(['default', 'inherit', 'primary', 'secondary', 'transparent']),\n\n /**\n * The positioning type. The behavior of the different options is described\n * [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).\n * Note: `sticky` is not universally supported and will fall back to `static` when unavailable.\n */\n position: PropTypes.oneOf(['absolute', 'fixed', 'relative', 'static', 'sticky'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAppBar'\n})(AppBar);"],"names":["styles","theme","backgroundColorDefault","palette","type","grey","root","display","flexDirection","width","boxSizing","zIndex","appBar","flexShrink","positionFixed","position","top","left","right","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","backgroundColor","color","getContrastText","colorPrimary","primary","main","contrastText","colorSecondary","secondary","colorInherit","colorTransparent","AppBar","React","forwardRef","props","ref","classes","className","_props$color","_props$position","other","_objectWithoutProperties","createElement","Paper","_extends","square","component","elevation","clsx","concat","capitalize","process","env","NODE_ENV","propTypes","children","PropTypes","node","object","string","oneOf","withStyles","name"],"mappings":"gYAQU,IAACA,EAAS,SAAgBC,GAClC,IAAIC,EAAgD,UAAvBD,EAAME,QAAQC,KAAmBH,EAAME,QAAQE,KAAK,KAAOJ,EAAME,QAAQE,KAAK,KAC3G,MAAO,CAELC,KAAM,CACJC,QAAS,OACTC,cAAe,SACfC,MAAO,OACPC,UAAW,aAEXC,OAAQV,EAAMU,OAAOC,OACrBC,WAAY,GAIdC,cAAe,CACbC,SAAU,QACVC,IAAK,EACLC,KAAM,OACNC,MAAO,EACP,eAAgB,CAEdH,SAAU,aAKdI,iBAAkB,CAChBJ,SAAU,WACVC,IAAK,EACLC,KAAM,OACNC,MAAO,GAITE,eAAgB,CAEdL,SAAU,SACVC,IAAK,EACLC,KAAM,OACNC,MAAO,GAITG,eAAgB,CACdN,SAAU,UAIZO,iBAAkB,CAChBP,SAAU,YAIZQ,aAAc,CACZC,gBAAiBtB,EACjBuB,MAAOxB,EAAME,QAAQuB,gBAAgBxB,IAIvCyB,aAAc,CACZH,gBAAiBvB,EAAME,QAAQyB,QAAQC,KACvCJ,MAAOxB,EAAME,QAAQyB,QAAQE,cAI/BC,eAAgB,CACdP,gBAAiBvB,EAAME,QAAQ6B,UAAUH,KACzCJ,MAAOxB,EAAME,QAAQ6B,UAAUF,cAIjCG,aAAc,CACZR,MAAO,WAITS,iBAAkB,CAChBV,gBAAiB,cACjBC,MAAO,WAGb,EACIU,EAAsBC,EAAMC,YAAW,SAAgBC,EAAOC,GAChE,IAAIC,EAAUF,EAAME,QAChBC,EAAYH,EAAMG,UAClBC,EAAeJ,EAAMb,MACrBA,OAAyB,IAAjBiB,EAA0B,UAAYA,EAC9CC,EAAkBL,EAAMvB,SACxBA,OAA+B,IAApB4B,EAA6B,QAAUA,EAClDC,EAAQC,EAAyBP,EAAO,CAAC,UAAW,YAAa,QAAS,aAE9E,OAAoBF,EAAMU,cAAcC,EAAOC,EAAS,CACtDC,QAAQ,EACRC,UAAW,SACXC,UAAW,EACXV,UAAWW,EAAKZ,EAAQlC,KAAMkC,EAAQ,WAAWa,OAAOC,EAAWvC,KAAayB,EAAQ,QAAQa,OAAOC,EAAW7B,KAAUgB,EAAwB,UAAb1B,GAAwB,aAC/JwB,IAAKA,GACJK,GACL,IACyB,eAAzBW,QAAQC,IAAIC,WAA4BtB,EAAOuB,UAAY,CASzDC,SAAUC,EAAUC,KAMpBrB,QAASoB,EAAUE,OAKnBrB,UAAWmB,EAAUG,OAKrBtC,MAAOmC,EAAUI,MAAM,CAAC,UAAW,UAAW,UAAW,YAAa,gBAOtEjD,SAAU6C,EAAUI,MAAM,CAAC,WAAY,QAAS,WAAY,SAAU,aAEzDC,EAAWjE,EAAQ,CAChCkE,KAAM,aADOD,CAEZ9B"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../../@babel/runtime/helpers/esm/extends.js";import r from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as t from"react";import s from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import n from"../../../utils/esm/chainPropTypes.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import o from"../styles/withStyles.js";import l from"../internal/svg-icons/Person.js";var a=function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}};var c=t.forwardRef((function(s,n){var o=s.alt,a=s.children,c=s.classes,m=s.className,u=s.component,p=void 0===u?"div":u,d=s.imgProps,f=s.sizes,g=s.src,h=s.srcSet,v=s.variant,y=void 0===v?"circular":v,b=r(s,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),j=null,S=function(e){var r=e.src,s=e.srcSet,i=t.useState(!1),n=i[0],o=i[1];return t.useEffect((function(){if(r||s){o(!1);var e=!0,t=new Image;return t.src=r,t.srcSet=s,t.onload=function(){e&&o("loaded")},t.onerror=function(){e&&o("error")},function(){e=!1}}}),[r,s]),n}({src:g,srcSet:h}),w=g||h,x=w&&"error"!==S;return j=x?t.createElement("img",e({alt:o,src:g,srcSet:h,sizes:f,className:c.img},d)):null!=a?a:w&&o?o[0]:t.createElement(l,{className:c.fallback}),t.createElement(p,e({className:i(c.root,c.system,c[y],m,!x&&c.colorDefault),ref:n},b),j)}));"production"!==process.env.NODE_ENV&&(c.propTypes={alt:s.string,children:s.node,classes:n(s.object,(function(e){var r=e.classes;if(null==r)return null;if(null!=r.circle&&r.circle.split(" ").length>1)throw new Error("Material-UI: The `circle` class is deprecated. Use `circular` instead.");return null})),className:s.string,component:s.elementType,imgProps:s.object,sizes:s.string,src:s.string,srcSet:s.string,variant:n(s.oneOf(["circle","circular","rounded","square"]),(function(e){if("circle"===e.variant)throw new Error('Material-UI: `variant="circle"` is deprecated. Use `variant="circular"` instead.');return null}))}),o(a,{name:"MuiAvatar"})(c);export{a as styles};
|
|
2
|
+
//# sourceMappingURL=Avatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.js","sources":["../../../../../../node_modules/@material-ui/core/esm/Avatar/Avatar.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 { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport Person from '../internal/svg-icons/Person';\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none'\n },\n\n /* Styles applied to the root element if not `src` or `srcSet`. */\n colorDefault: {\n color: theme.palette.background.default,\n backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[400] : theme.palette.grey[600]\n },\n\n /* Styles applied to the root element if `variant=\"circle\"`. */\n circle: {},\n\n /* Styles applied to the root element if `variant=\"circular\"`. */\n circular: {},\n\n /* Styles applied to the root element if `variant=\"rounded\"`. */\n rounded: {\n borderRadius: theme.shape.borderRadius\n },\n\n /* Styles applied to the root element if `variant=\"square\"`. */\n square: {\n borderRadius: 0\n },\n\n /* Styles applied to the img element if either `src` or `srcSet` is defined. */\n img: {\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE 11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n },\n\n /* Styles applied to the fallback icon */\n fallback: {\n width: '75%',\n height: '75%'\n }\n };\n};\n\nfunction useLoaded(_ref) {\n var src = _ref.src,\n srcSet = _ref.srcSet;\n\n var _React$useState = React.useState(false),\n loaded = _React$useState[0],\n setLoaded = _React$useState[1];\n\n React.useEffect(function () {\n if (!src && !srcSet) {\n return undefined;\n }\n\n setLoaded(false);\n var active = true;\n var image = new Image();\n image.src = src;\n image.srcSet = srcSet;\n\n image.onload = function () {\n if (!active) {\n return;\n }\n\n setLoaded('loaded');\n };\n\n image.onerror = function () {\n if (!active) {\n return;\n }\n\n setLoaded('error');\n };\n\n return function () {\n active = false;\n };\n }, [src, srcSet]);\n return loaded;\n}\n\nvar Avatar = /*#__PURE__*/React.forwardRef(function Avatar(props, ref) {\n var alt = props.alt,\n childrenProp = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n imgProps = props.imgProps,\n sizes = props.sizes,\n src = props.src,\n srcSet = props.srcSet,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'circular' : _props$variant,\n other = _objectWithoutProperties(props, [\"alt\", \"children\", \"classes\", \"className\", \"component\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"]);\n\n var children = null; // Use a hook instead of onError on the img element to support server-side rendering.\n\n var loaded = useLoaded({\n src: src,\n srcSet: srcSet\n });\n var hasImg = src || srcSet;\n var hasImgNotFailing = hasImg && loaded !== 'error';\n\n if (hasImgNotFailing) {\n children = /*#__PURE__*/React.createElement(\"img\", _extends({\n alt: alt,\n src: src,\n srcSet: srcSet,\n sizes: sizes,\n className: classes.img\n }, imgProps));\n } else if (childrenProp != null) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/React.createElement(Person, {\n className: classes.fallback\n });\n }\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, classes.system, classes[variant], className, !hasImgNotFailing && classes.colorDefault),\n ref: ref\n }, other), children);\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.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 * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\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: chainPropTypes(PropTypes.object, function (props) {\n var classes = props.classes;\n\n if (classes == null) {\n return null;\n }\n\n if (classes.circle != null && // 2 classnames? one from withStyles the other must be custom\n classes.circle.split(' ').length > 1) {\n throw new Error(\"Material-UI: The `circle` class is deprecated. Use `circular` instead.\");\n }\n\n return null;\n }),\n\n /**\n * @ignore\n */\n className: PropTypes.string,\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 * Attributes applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n */\n imgProps: PropTypes.object,\n\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n\n /**\n * The shape of the avatar.\n */\n variant: chainPropTypes(PropTypes.oneOf(['circle', 'circular', 'rounded', 'square']), function (props) {\n var variant = props.variant;\n\n if (variant === 'circle') {\n throw new Error('Material-UI: `variant=\"circle\"` is deprecated. Use `variant=\"circular\"` instead.');\n }\n\n return null;\n })\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiAvatar'\n})(Avatar);"],"names":["styles","theme","root","position","display","alignItems","justifyContent","flexShrink","width","height","fontFamily","typography","fontSize","pxToRem","lineHeight","borderRadius","overflow","userSelect","colorDefault","color","palette","background","default","backgroundColor","type","grey","circle","circular","rounded","shape","square","img","textAlign","objectFit","textIndent","fallback","Avatar","React","forwardRef","props","ref","alt","childrenProp","children","classes","className","_props$component","component","Component","imgProps","sizes","src","srcSet","_props$variant","variant","other","_objectWithoutProperties","loaded","_ref","_React$useState","useState","setLoaded","useEffect","active","image","Image","onload","onerror","useLoaded","hasImg","hasImgNotFailing","createElement","_extends","Person","clsx","system","process","env","NODE_ENV","propTypes","PropTypes","string","node","chainPropTypes","object","split","length","Error","elementType","oneOf","withStyles","name"],"mappings":"goBAQU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,SAAU,WACVC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,WAAY,EACZC,MAAO,GACPC,OAAQ,GACRC,WAAYT,EAAMU,WAAWD,WAC7BE,SAAUX,EAAMU,WAAWE,QAAQ,IACnCC,WAAY,EACZC,aAAc,MACdC,SAAU,SACVC,WAAY,QAIdC,aAAc,CACZC,MAAOlB,EAAMmB,QAAQC,WAAWC,QAChCC,gBAAwC,UAAvBtB,EAAMmB,QAAQI,KAAmBvB,EAAMmB,QAAQK,KAAK,KAAOxB,EAAMmB,QAAQK,KAAK,MAIjGC,OAAQ,CAAE,EAGVC,SAAU,CAAE,EAGZC,QAAS,CACPb,aAAcd,EAAM4B,MAAMd,cAI5Be,OAAQ,CACNf,aAAc,GAIhBgB,IAAK,CACHvB,MAAO,OACPC,OAAQ,OACRuB,UAAW,SAEXC,UAAW,QAEXd,MAAO,cAEPe,WAAY,KAIdC,SAAU,CACR3B,MAAO,MACPC,OAAQ,OAGd,EA4CA,IAAI2B,EAAsBC,EAAMC,YAAW,SAAgBC,EAAOC,GAChE,IAAIC,EAAMF,EAAME,IACZC,EAAeH,EAAMI,SACrBC,EAAUL,E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OAAQ/B,EAAQU,GAAUT,GAAYyB,GAAoB1B,EAAQ1B,cACxGsB,IAAKA,GACJe,GAAQZ,EACb,IACyB,eAAzBiC,QAAQC,IAAIC,WAA4B1C,EAAO2C,UAAY,CAUzDtC,IAAKuC,EAAUC,OAMftC,SAAUqC,EAAUE,KAMpBtC,QAASuC,EAAeH,EAAUI,QAAQ,SAAU7C,GAClD,IAAIK,EAAUL,EAAMK,QAEpB,GAAe,MAAXA,EACF,OAAO,KAGT,GAAsB,MAAlBA,EAAQlB,QACZkB,EAAQlB,OAAO2D,MAAM,KAAKC,OAAS,EACjC,MAAM,IAAIC,MAAM,0EAGlB,OAAO,IACX,IAKE1C,UAAWmC,EAAUC,OAMrBlC,UAAWiC,EAEVQ,YAMDvC,SAAU+B,EAAUI,OAKpBlC,MAAO8B,EAAUC,OAKjB9B,IAAK6B,EAAUC,OAMf7B,OAAQ4B,EAAUC,OAKlB3B,QAAS6B,EAAeH,EAAUS,MAAM,CAAC,SAAU,WAAY,UAAW,YAAY,SAAUlD,GAG9F,GAAgB,WAFFA,EAAMe,QAGlB,MAAM,IAAIiC,MAAM,oFAGlB,OAAO,IACX,MAEeG,EAAW1F,EAAQ,CAChC2F,KAAM,aADOD,CAEZtD"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import r from"../../../../@babel/runtime/helpers/esm/slicedToArray.js";import t from"../../../../@babel/runtime/helpers/esm/extends.js";import a from"../../../../@babel/runtime/helpers/esm/objectWithoutProperties.js";import*as e from"react";import n from"../../../../../_virtual/index2.js";import{clsx as i}from"../../../../clsx/dist/clsx.m.js";import o from"../../../utils/esm/chainPropTypes.js";import"../../../utils/esm/elementAcceptingRef.js";import"../../../utils/esm/elementTypeAcceptingRef.js";import"../../../../../_virtual/index.js";import"../../../utils/esm/ponyfillGlobal.js";import"../../../utils/esm/refType.js";import s from"../styles/withStyles.js";import l from"../utils/capitalize.js";var c=function(r){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:r.typography.fontFamily,fontWeight:r.typography.fontWeightMedium,fontSize:r.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:r.transitions.create("transform",{easing:r.transitions.easing.easeInOut,duration:r.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:r.palette.primary.main,color:r.palette.primary.contrastText},colorSecondary:{backgroundColor:r.palette.secondary.main,color:r.palette.secondary.contrastText},colorError:{backgroundColor:r.palette.error.main,color:r.palette.error.contrastText},dot:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightRectangular:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftRectangular:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftRectangular:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightCircular:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginBottomRightCircular:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginTopLeftCircular:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginBottomLeftCircular:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:r.transitions.create("transform",{easing:r.transitions.easing.easeInOut,duration:r.transitions.duration.leavingScreen})}}},m=e.forwardRef((function(r,n){var o=r.anchorOrigin,s=void 0===o?{vertical:"top",horizontal:"right"}:o,c=r.badgeContent,m=r.children,g=r.classes,f=r.className,p=r.color,h=void 0===p?"default":p,d=r.component,u=void 0===d?"span":d,O=r.invisible,b=r.max,v=void 0===b?99:b,R=r.overlap,y=void 0===R?"rectangle":R,T=r.showZero,x=void 0!==T&&T,C=r.variant,j=void 0===C?"standard":C,w=a(r,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),$=O;null==O&&(0===c&&!x||null==c&&"dot"!==j)&&($=!0);var B="";return"dot"!==j&&(B=c>v?"".concat(v,"+"):c),e.createElement(u,t({className:i(g.root,f),ref:n},w),m,e.createElement("span",{className:i(g.badge,g["".concat(s.horizontal).concat(l(s.vertical),"}")],g["anchorOrigin".concat(l(s.vertical)).concat(l(s.horizontal)).concat(l(y))],"default"!==h&&g["color".concat(l(h))],$&&g.invisible,"dot"===j&&g.dot)},B))}));"production"!==process.env.NODE_ENV&&(m.propTypes={anchorOrigin:n.shape({horizontal:n.oneOf(["left","right"]).isRequired,vertical:n.oneOf(["bottom","top"]).isRequired}),badgeContent:n.node,children:n.node,classes:o(n.object,(function(t){var a=t.classes;return null==a||[["anchorOriginTopRightRectangle","anchorOriginTopRightRectangular"],["anchorOriginBottomRightRectangle","anchorOriginBottomRightRectangular"],["anchorOriginTopLeftRectangle","anchorOriginTopLeftRectangular"],["anchorOriginBottomLeftRectangle","anchorOriginBottomLeftRectangular"],["anchorOriginTopRightCircle","anchorOriginTopRightCircular"],["anchorOriginBottomRightCircle","anchorOriginBottomRightCircular"],["anchorOriginTopLeftCircle","anchorOriginTopLeftCircular"]].forEach((function(t){var e=r(t,2),n=e[0],i=e[1];if(null!=a[n]&&a[n].split(" ").length>1)throw new Error("Material-UI: The `".concat(n,"` class was deprecated. Use `").concat(i,"` instead."))})),null})),className:n.string,color:n.oneOf(["default","error","primary","secondary"]),component:n.elementType,invisible:n.bool,max:n.number,overlap:o(n.oneOf(["circle","rectangle","circular","rectangular"]),(function(r){var t=r.overlap,a=void 0===t?"rectangle":t;if("rectangle"===a)throw new Error('Material-UI: `overlap="rectangle"` was deprecated. Use `overlap="rectangular"` instead.');if("circle"===a)throw new Error('Material-UI: `overlap="circle"` was deprecated. Use `overlap="circular"` instead.');return null})),showZero:n.bool,variant:n.oneOf(["dot","standard"])}),s(c,{name:"MuiBadge"})(m);export{c as styles};
|
|
2
|
+
//# sourceMappingURL=Badge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Badge.js","sources":["../../../../../../node_modules/@material-ui/core/esm/Badge/Badge.js"],"sourcesContent":["import _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _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 { chainPropTypes } from '@material-ui/utils';\nimport withStyles from '../styles/withStyles';\nimport capitalize from '../utils/capitalize';\nvar RADIUS_STANDARD = 10;\nvar RADIUS_DOT = 4;\nexport var styles = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n position: 'relative',\n display: 'inline-flex',\n // For correct alignment with the text.\n verticalAlign: 'middle',\n flexShrink: 0\n },\n\n /* Styles applied to the badge `span` element. */\n badge: {\n display: 'flex',\n flexDirection: 'row',\n flexWrap: 'wrap',\n justifyContent: 'center',\n alignContent: 'center',\n alignItems: 'center',\n position: 'absolute',\n boxSizing: 'border-box',\n fontFamily: theme.typography.fontFamily,\n fontWeight: theme.typography.fontWeightMedium,\n fontSize: theme.typography.pxToRem(12),\n minWidth: RADIUS_STANDARD * 2,\n lineHeight: 1,\n padding: '0 6px',\n height: RADIUS_STANDARD * 2,\n borderRadius: RADIUS_STANDARD,\n zIndex: 1,\n // Render the badge on top of potential ripples.\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.enteringScreen\n })\n },\n\n /* Styles applied to the root element if `color=\"primary\"`. */\n colorPrimary: {\n backgroundColor: theme.palette.primary.main,\n color: theme.palette.primary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"secondary\"`. */\n colorSecondary: {\n backgroundColor: theme.palette.secondary.main,\n color: theme.palette.secondary.contrastText\n },\n\n /* Styles applied to the root element if `color=\"error\"`. */\n colorError: {\n backgroundColor: theme.palette.error.main,\n color: theme.palette.error.contrastText\n },\n\n /* Styles applied to the root element if `variant=\"dot\"`. */\n dot: {\n borderRadius: RADIUS_DOT,\n height: RADIUS_DOT * 2,\n minWidth: RADIUS_DOT * 2,\n padding: 0\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"rectangle\"`. */\n anchorOriginTopRightRectangle: {\n top: 0,\n right: 0,\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"rectangular\"`. */\n anchorOriginTopRightRectangular: {\n top: 0,\n right: 0,\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"rectangle\"`. */\n anchorOriginBottomRightRectangle: {\n bottom: 0,\n right: 0,\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"rectangular\"`. */\n anchorOriginBottomRightRectangular: {\n bottom: 0,\n right: 0,\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"rectangle\"`. */\n anchorOriginTopLeftRectangle: {\n top: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"rectangular\"`. */\n anchorOriginTopLeftRectangular: {\n top: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"rectangle\"`. */\n anchorOriginBottomLeftRectangle: {\n bottom: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"rectangular\"`. */\n anchorOriginBottomLeftRectangular: {\n bottom: 0,\n left: 0,\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"circle\"`. */\n anchorOriginTopRightCircle: {\n top: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }} overlap=\"circular\"`. */\n anchorOriginTopRightCircular: {\n top: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, -50%)',\n transformOrigin: '100% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"circle\"`. */\n anchorOriginBottomRightCircle: {\n bottom: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }} overlap=\"circular\"`. */\n anchorOriginBottomRightCircular: {\n bottom: '14%',\n right: '14%',\n transform: 'scale(1) translate(50%, 50%)',\n transformOrigin: '100% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"circle\"`. */\n anchorOriginTopLeftCircle: {\n top: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }} overlap=\"circular\"`. */\n anchorOriginTopLeftCircular: {\n top: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, -50%)',\n transformOrigin: '0% 0%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, -50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"circle\"`. */\n anchorOriginBottomLeftCircle: {\n bottom: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }} overlap=\"circular\"`. */\n anchorOriginBottomLeftCircular: {\n bottom: '14%',\n left: '14%',\n transform: 'scale(1) translate(-50%, 50%)',\n transformOrigin: '0% 100%',\n '&$invisible': {\n transform: 'scale(0) translate(-50%, 50%)'\n }\n },\n\n /* Pseudo-class to the badge `span` element if `invisible={true}`. */\n invisible: {\n transition: theme.transitions.create('transform', {\n easing: theme.transitions.easing.easeInOut,\n duration: theme.transitions.duration.leavingScreen\n })\n }\n };\n};\nvar Badge = /*#__PURE__*/React.forwardRef(function Badge(props, ref) {\n var _props$anchorOrigin = props.anchorOrigin,\n anchorOrigin = _props$anchorOrigin === void 0 ? {\n vertical: 'top',\n horizontal: 'right'\n } : _props$anchorOrigin,\n badgeContent = props.badgeContent,\n children = props.children,\n classes = props.classes,\n className = props.className,\n _props$color = props.color,\n color = _props$color === void 0 ? 'default' : _props$color,\n _props$component = props.component,\n ComponentProp = _props$component === void 0 ? 'span' : _props$component,\n invisibleProp = props.invisible,\n _props$max = props.max,\n max = _props$max === void 0 ? 99 : _props$max,\n _props$overlap = props.overlap,\n overlap = _props$overlap === void 0 ? 'rectangle' : _props$overlap,\n _props$showZero = props.showZero,\n showZero = _props$showZero === void 0 ? false : _props$showZero,\n _props$variant = props.variant,\n variant = _props$variant === void 0 ? 'standard' : _props$variant,\n other = _objectWithoutProperties(props, [\"anchorOrigin\", \"badgeContent\", \"children\", \"classes\", \"className\", \"color\", \"component\", \"invisible\", \"max\", \"overlap\", \"showZero\", \"variant\"]);\n\n var invisible = invisibleProp;\n\n if (invisibleProp == null && (badgeContent === 0 && !showZero || badgeContent == null && variant !== 'dot')) {\n invisible = true;\n }\n\n var displayValue = '';\n\n if (variant !== 'dot') {\n displayValue = badgeContent > max ? \"\".concat(max, \"+\") : badgeContent;\n }\n\n return /*#__PURE__*/React.createElement(ComponentProp, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), children, /*#__PURE__*/React.createElement(\"span\", {\n className: clsx(classes.badge, classes[\"\".concat(anchorOrigin.horizontal).concat(capitalize(anchorOrigin.vertical), \"}\")], classes[\"anchorOrigin\".concat(capitalize(anchorOrigin.vertical)).concat(capitalize(anchorOrigin.horizontal)).concat(capitalize(overlap))], color !== 'default' && classes[\"color\".concat(capitalize(color))], invisible && classes.invisible, variant === 'dot' && classes.dot)\n }, displayValue));\n});\nprocess.env.NODE_ENV !== \"production\" ? Badge.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 anchor of the badge.\n */\n anchorOrigin: PropTypes.shape({\n horizontal: PropTypes.oneOf(['left', 'right']).isRequired,\n vertical: PropTypes.oneOf(['bottom', 'top']).isRequired\n }),\n\n /**\n * The content rendered within the badge.\n */\n badgeContent: PropTypes.node,\n\n /**\n * The badge will be added relative to this node.\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: chainPropTypes(PropTypes.object, function (props) {\n var classes = props.classes;\n\n if (classes == null) {\n return null;\n }\n\n [['anchorOriginTopRightRectangle', 'anchorOriginTopRightRectangular'], ['anchorOriginBottomRightRectangle', 'anchorOriginBottomRightRectangular'], ['anchorOriginTopLeftRectangle', 'anchorOriginTopLeftRectangular'], ['anchorOriginBottomLeftRectangle', 'anchorOriginBottomLeftRectangular'], ['anchorOriginTopRightCircle', 'anchorOriginTopRightCircular'], ['anchorOriginBottomRightCircle', 'anchorOriginBottomRightCircular'], ['anchorOriginTopLeftCircle', 'anchorOriginTopLeftCircular']].forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n deprecatedClassKey = _ref2[0],\n newClassKey = _ref2[1];\n\n if (classes[deprecatedClassKey] != null && // 2 classnames? one from withStyles the other must be custom\n classes[deprecatedClassKey].split(' ').length > 1) {\n throw new Error(\"Material-UI: The `\".concat(deprecatedClassKey, \"` class was deprecated. Use `\").concat(newClassKey, \"` instead.\"));\n }\n });\n return null;\n }),\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(['default', 'error', '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 * If `true`, the badge will be invisible.\n */\n invisible: PropTypes.bool,\n\n /**\n * Max count to show.\n */\n max: PropTypes.number,\n\n /**\n * Wrapped shape the badge should overlap.\n */\n overlap: chainPropTypes(PropTypes.oneOf(['circle', 'rectangle', 'circular', 'rectangular']), function (props) {\n var _props$overlap2 = props.overlap,\n overlap = _props$overlap2 === void 0 ? 'rectangle' : _props$overlap2;\n\n if (overlap === 'rectangle') {\n throw new Error('Material-UI: `overlap=\"rectangle\"` was deprecated. Use `overlap=\"rectangular\"` instead.');\n }\n\n if (overlap === 'circle') {\n throw new Error('Material-UI: `overlap=\"circle\"` was deprecated. Use `overlap=\"circular\"` instead.');\n }\n\n return null;\n }),\n\n /**\n * Controls whether the badge is hidden when `badgeContent` is zero.\n */\n showZero: PropTypes.bool,\n\n /**\n * The variant to use.\n */\n variant: PropTypes.oneOf(['dot', 'standard'])\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBadge'\n})(Badge);"],"names":["styles","theme","root","position","display","verticalAlign","flexShrink","badge","flexDirection","flexWrap","justifyContent","alignContent","alignItems","boxSizing","fontFamily","typography","fontWeight","fontWeightMedium","fontSize","pxToRem","minWidth","RADIUS_STANDARD","lineHeight","padding","height","borderRadius","zIndex","transition","transitions","create","easing","easeInOut","duration","enteringScreen","colorPrimary","backgroundColor","palette","primary","main","color","contrastText","colorSecondary","secondary","colorError","error","dot","RADIUS_DOT","anchorOriginTopRightRectangle","top","right","transform","transformOrigin","anchorOriginTopRightRectangular","anchorOriginBottomRightRectangle","bottom","anchorOriginBottomRightRectangular","anchorOriginTopLeftRectangle","left","anchorOriginTopLeftRectangular","anchorOriginBottomLeftRectangle","anchorOriginBottomLeftRectangular","anchorOriginTopRightCircle","anchorOriginTopRightCircular","anchorOriginBottomRightCircle","anchorOriginBottomRightCircular","anchorOriginTopLeftCircle","anchorOriginTopLeftCircular","anchorOriginBottomLeftCircle","anchorOriginBottomLeftCircular","invisible","leavingScreen","Badge","React","forwardRef","props","ref","_props$anchorOrigin","anchorOrigin","vertical","horizontal","badgeContent","children","classes","className","_props$color","_props$component","component","ComponentProp","invisibleProp","_props$max","max","_props$overlap","overlap","_props$showZero","showZero","_props$variant","variant","other","_objectWithoutProperties","displayValue","concat","createElement","_extends","clsx","capitalize","process","env","NODE_ENV","propTypes","PropTypes","shape","oneOf","isRequired","node","chainPropTypes","object","forEach","_ref","_ref2","_slicedToArray","deprecatedClassKey","newClassKey","split","length","Error","string","elementType","bool","number","_props$overlap2","withStyles","name"],"mappings":"8rBASA,IAEWA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,SAAU,WACVC,QAAS,cAETC,cAAe,SACfC,WAAY,GAIdC,MAAO,CACLH,QAAS,OACTI,cAAe,MACfC,SAAU,OACVC,eAAgB,SAChBC,aAAc,SACdC,WAAY,SACZT,SAAU,WACVU,UAAW,aACXC,WAAYb,EAAMc,WAAWD,WAC7BE,WAAYf,EAAMc,WAAWE,iBAC7BC,SAAUjB,EAAMc,WAAWI,QAAQ,IACnCC,SAAUC,GACVC,WAAY,EACZC,QAAS,QACTC,OAAQH,GACRI,aA9BgB,GA+BhBC,OAAQ,EAERC,WAAY1B,EAAM2B,YAAYC,OAAO,YAAa,CAChDC,OAAQ7B,EAAM2B,YAAYE,OAAOC,UACjCC,SAAU/B,EAAM2B,YAAYI,SAASC,kBAKzCC,aAAc,CACZC,gBAAiBlC,EAAMmC,QAAQC,QAAQC,KACvCC,MAAOtC,EAAMmC,QAAQC,QAAQG,cAI/BC,eAAgB,CACdN,gBAAiBlC,EAAMmC,QAAQM,UAAUJ,KACzCC,MAAOtC,EAAMmC,QAAQM,UAAUF,cAIjCG,WAAY,CACVR,gBAAiBlC,EAAMmC,QAAQQ,MAAMN,KACrCC,MAAOtC,EAAMmC,QAAQQ,MAAMJ,cAI7BK,IAAK,CACHpB,aA1DW,EA2DXD,OAAQsB,EACR1B,SAAU0B,EACVvB,QAAS,GAIXwB,8BAA+B,CAC7BC,IAAK,EACLC,MAAO,EACPC,UAAW,gCACXC,gBAAiB,UACjB,cAAe,CACbD,UAAW,kCAKfE,gCAAiC,CAC/BJ,IAAK,EACLC,MAAO,EACPC,UAAW,gCACXC,gBAAiB,UACjB,cAAe,CACbD,UAAW,kCAKfG,iCAAkC,CAChCC,OAAQ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S,UAAW,cAMvDzB,UAAWuB,EAEViB,YAKDzD,UAAWwC,EAAUkB,KAKrBrC,IAAKmB,EAAUmB,OAKfpC,QAASsB,EAAeL,EAAUE,MAAM,CAAC,SAAU,YAAa,WAAY,iBAAiB,SAAUrC,GACrG,IAAIuD,EAAkBvD,EAAMkB,QACxBA,OAA8B,IAApBqC,EAA6B,YAAcA,EAEzD,GAAgB,cAAZrC,EACF,MAAM,IAAIgC,MAAM,2FAGlB,GAAgB,WAAZhC,EACF,MAAM,IAAIgC,MAAM,qFAGlB,OAAO,IACX,IAKE9B,SAAUe,EAAUkB,KAKpB/B,QAASa,EAAUE,MAAM,CAAC,MAAO,eAEpBmB,EAAWlI,EAAQ,CAChCmI,KAAM,YADOD,CAEZ3D"}
|
|
@@ -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 r from"react";import{r as n}from"../../../../../_virtual/index.js";import s from"../../../../../_virtual/index2.js";import{clsx as a}from"../../../../clsx/dist/clsx.m.js";import t from"../styles/withStyles.js";var i=function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}},l=r.forwardRef((function(s,t){var i=s.children,l=s.classes,p=s.className,c=s.component,m=void 0===c?"div":c,d=s.onChange,u=s.showLabels,h=void 0!==u&&u,v=s.value,f=o(s,["children","classes","className","component","onChange","showLabels","value"]);return r.createElement(m,e({className:a(l.root,p),ref:t},f),r.Children.map(i,(function(e,o){if(!r.isValidElement(e))return null;"production"!==process.env.NODE_ENV&&n.isFragment(e)&&console.error(["Material-UI: The BottomNavigation component doesn't accept a Fragment as a child.","Consider providing an array instead."].join("\n"));var s=void 0===e.props.value?o:e.props.value;return r.cloneElement(e,{selected:s===v,showLabel:void 0!==e.props.showLabel?e.props.showLabel:h,value:s,onChange:d})})))}));"production"!==process.env.NODE_ENV&&(l.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,onChange:s.func,showLabels:s.bool,value:s.any}),t(i,{name:"MuiBottomNavigation"})(l);export{i as styles};
|
|
2
|
+
//# sourceMappingURL=BottomNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BottomNavigation.js","sources":["../../../../../../node_modules/@material-ui/core/esm/BottomNavigation/BottomNavigation.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 = function styles(theme) {\n return {\n /* Styles applied to the root element. */\n root: {\n display: 'flex',\n justifyContent: 'center',\n height: 56,\n backgroundColor: theme.palette.background.paper\n }\n };\n};\nvar BottomNavigation = /*#__PURE__*/React.forwardRef(function BottomNavigation(props, ref) {\n var children = props.children,\n classes = props.classes,\n className = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n onChange = props.onChange,\n _props$showLabels = props.showLabels,\n showLabels = _props$showLabels === void 0 ? false : _props$showLabels,\n value = props.value,\n other = _objectWithoutProperties(props, [\"children\", \"classes\", \"className\", \"component\", \"onChange\", \"showLabels\", \"value\"]);\n\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: clsx(classes.root, className),\n ref: ref\n }, other), React.Children.map(children, function (child, childIndex) {\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 BottomNavigation component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n\n var childValue = child.props.value === undefined ? childIndex : child.props.value;\n return /*#__PURE__*/React.cloneElement(child, {\n selected: childValue === value,\n showLabel: child.props.showLabel !== undefined ? child.props.showLabel : showLabels,\n value: childValue,\n onChange: onChange\n });\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? BottomNavigation.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 content of the component.\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 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 * Callback fired when the value changes.\n *\n * @param {object} event The event source of the callback.\n * @param {any} value We default to the index of the child.\n */\n onChange: PropTypes.func,\n\n /**\n * If `true`, all `BottomNavigationAction`s will show their labels.\n * By default, only the selected `BottomNavigationAction` will show its label.\n */\n showLabels: PropTypes.bool,\n\n /**\n * The value of the currently selected `BottomNavigationAction`.\n */\n value: PropTypes.any\n} : void 0;\nexport default withStyles(styles, {\n name: 'MuiBottomNavigation'\n})(BottomNavigation);"],"names":["styles","theme","root","display","justifyContent","height","backgroundColor","palette","background","paper","BottomNavigation","React","forwardRef","props","ref","children","classes","className","_props$component","component","Component","onChange","_props$showLabels","showLabels","value","other","_objectWithoutProperties","createElement","_extends","clsx","Children","map","child","childIndex","isValidElement","process","env","NODE_ENV","isFragment","console","error","join","childValue","undefined","cloneElement","selected","showLabel","propTypes","PropTypes","node","object","string","elementType","func","bool","any","withStyles","name"],"mappings":"8WAOU,IAACA,EAAS,SAAgBC,GAClC,MAAO,CAELC,KAAM,CACJC,QAAS,OACTC,eAAgB,SAChBC,OAAQ,GACRC,gBAAiBL,EAAMM,QAAQC,WAAWC,OAGhD,EACIC,EAAgCC,EAAMC,YAAW,SAA0BC,EAAOC,GACpF,IAAIC,EAAWF,EAAME,SACjBC,EAAUH,EAAMG,QAChBC,EAAYJ,EAAMI,UAClBC,EAAmBL,EAAMM,UACzBC,OAAiC,IAArBF,EAA8B,MAAQA,EAClDG,EAAWR,EAAMQ,SACjBC,EAAoBT,EAAMU,WAC1BA,OAAmC,IAAtBD,GAAuCA,EACpDE,EAAQX,EAAMW,MACdC,EAAQC,EAAyBb,EAAO,CAAC,WAAY,UAAW,YAAa,YAAa,WAAY,aAAc,UAExH,OAAoBF,EAAMgB,cAAcP,EAAWQ,EAAS,CAC1DX,UAAWY,EAAKb,EAAQd,KAAMe,GAC9BH,IAAKA,GACJW,GAAQd,EAAMmB,SAASC,IAAIhB,GAAU,SAAUiB,EAAOC,GACvD,IAAmBtB,EAAMuB,eAAeF,GACtC,OAAO,KAGoB,eAAzBG,QAAQC,IAAIC,UACVC,EAAAA,WAAWN,IACbO,QAAQC,MAAM,CAAC,oFAAqF,wCAAwCC,KAAK,OAIrJ,IAAIC,OAAmCC,IAAtBX,EAAMnB,MAAMW,MAAsBS,EAAaD,EAAMnB,MAAMW,MAC5E,OAAoBb,EAAMiC,aAAaZ,EAAO,CAC5Ca,SAAUH,IAAelB,EACzBsB,eAAqCH,IAA1BX,EAAMnB,MAAMiC,UAA0Bd,EAAMnB,MAAMiC,UAAYvB,EACzEC,MAAOkB,EACPrB,SAAUA,GAEb,IACH,IACyB,eAAzBc,QAAQC,IAAIC,WAA4B3B,EAAiBqC,UAAY,CASnEhC,SAAUiC,EAAUC,KAMpBjC,QAASgC,EAAUE,OAKnBjC,UAAW+B,EAAUG,OAMrBhC,UAAW6B,EAEVI,YAQD/B,SAAU2B,EAAUK,KAMpB9B,WAAYyB,EAAUM,KAKtB9B,MAAOwB,EAAUO,MAEJC,EAAWxD,EAAQ,CAChCyD,KAAM,uBADOD,CAEZ9C"}
|
package/dist/node_modules/@material-ui/core/esm/BottomNavigationAction/BottomNavigationAction.js
ADDED
|
@@ -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 n from"../../../../../_virtual/index2.js";import{clsx as a}from"../../../../clsx/dist/clsx.m.js";import s from"../styles/withStyles.js";import i from"../ButtonBase/ButtonBase.js";import l from"../utils/unsupportedProp.js";var r=function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"6px 12px 8px",minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}},c=t.forwardRef((function(n,s){var l=n.classes,r=n.className,c=n.icon,p=n.label,m=n.onChange,d=n.onClick,f=n.selected,u=n.showLabel,y=n.value,h=o(n,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"]);return t.createElement(i,e({ref:s,className:a(l.root,r,f?l.selected:!u&&l.iconOnly),focusRipple:!0,onClick:function(e){m&&m(e,y),d&&d(e)}},h),t.createElement("span",{className:l.wrapper},c,t.createElement("span",{className:a(l.label,f?l.selected:!u&&l.iconOnly)},p)))}));"production"!==process.env.NODE_ENV&&(c.propTypes={children:l,classes:n.object,className:n.string,icon:n.node,label:n.node,onChange:n.func,onClick:n.func,selected:n.bool,showLabel:n.bool,value:n.any}),s(r,{name:"MuiBottomNavigationAction"})(c);export{r as styles};
|
|
2
|
+
//# sourceMappingURL=BottomNavigationAction.js.map
|