@e-llm-studio/instant-learning 0.0.106 → 0.0.107
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/_virtual/index.js +1 -1
- package/dist/_virtual/index10.js +1 -1
- package/dist/_virtual/index11.js +1 -1
- package/dist/_virtual/index12.js +1 -1
- package/dist/_virtual/index13.js +1 -1
- package/dist/_virtual/index14.js +1 -1
- package/dist/_virtual/index15.js +1 -1
- package/dist/_virtual/index16.js +1 -1
- package/dist/_virtual/index17.js +1 -1
- package/dist/_virtual/index18.js +1 -1
- package/dist/_virtual/index19.js +1 -1
- package/dist/_virtual/index2.js +1 -1
- package/dist/_virtual/index20.js +1 -1
- package/dist/_virtual/index21.js +1 -1
- package/dist/_virtual/index22.js +1 -1
- package/dist/_virtual/index23.js +1 -1
- package/dist/_virtual/index24.js +1 -1
- package/dist/_virtual/index25.js +1 -1
- package/dist/_virtual/index27.js +1 -1
- package/dist/_virtual/index28.js +1 -1
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/_virtual/index5.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index7.js +1 -1
- package/dist/_virtual/index8.js +1 -1
- package/dist/_virtual/index9.js +1 -1
- package/dist/cjs/_virtual/index.js +1 -1
- package/dist/cjs/_virtual/index10.js +1 -1
- package/dist/cjs/_virtual/index11.js +1 -1
- package/dist/cjs/_virtual/index12.js +1 -1
- package/dist/cjs/_virtual/index13.js +1 -1
- package/dist/cjs/_virtual/index14.js +1 -1
- package/dist/cjs/_virtual/index15.js +1 -1
- package/dist/cjs/_virtual/index16.js +1 -1
- package/dist/cjs/_virtual/index17.js +1 -1
- package/dist/cjs/_virtual/index18.js +1 -1
- package/dist/cjs/_virtual/index19.js +1 -1
- package/dist/cjs/_virtual/index2.js +1 -1
- package/dist/cjs/_virtual/index20.js +1 -1
- package/dist/cjs/_virtual/index21.js +1 -1
- package/dist/cjs/_virtual/index22.js +1 -1
- package/dist/cjs/_virtual/index23.js +1 -1
- package/dist/cjs/_virtual/index24.js +1 -1
- package/dist/cjs/_virtual/index25.js +1 -1
- package/dist/cjs/_virtual/index27.js +1 -1
- package/dist/cjs/_virtual/index28.js +1 -1
- package/dist/cjs/_virtual/index3.js +1 -1
- package/dist/cjs/_virtual/index4.js +1 -1
- package/dist/cjs/_virtual/index5.js +1 -1
- package/dist/cjs/_virtual/index6.js +1 -1
- package/dist/cjs/_virtual/index7.js +1 -1
- package/dist/cjs/_virtual/index8.js +1 -1
- package/dist/cjs/_virtual/index9.js +1 -1
- package/dist/cjs/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/ILPopup.styles.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/cjs/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/GeneralizationAccordion.js +1 -1
- package/dist/cjs/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/cjs/features/WtaWnta/WtaWnta.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
- package/dist/cjs/features/WtaWnta/_components/ValidationCard.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
- package/dist/cjs/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
- package/dist/cjs/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
- package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
- package/dist/cjs/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/index.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
- package/dist/cjs/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/merge.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
- package/dist/cjs/node_modules/@material-ui/system/esm/responsivePropType.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/utils/esm/elementAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js +1 -1
- package/dist/cjs/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Alert/Alert.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Alert/Alert.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/Badge.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/Badge.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Badge/useBadge.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Box/Box.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Box/Box.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Button/Button.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Button/Button.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Card/Card.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Card/Card.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Chip/Chip.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Chip/Chip.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Container/Container.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Container/Container.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
- package/dist/cjs/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Divider/Divider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Divider/Divider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Fab/Fab.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Fab/Fab.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Fade/Fade.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Fade/Fade.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Grid/Grid.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Grid/Grid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Grow/Grow.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Grow/Grow.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Icon/Icon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Icon/Icon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Input/Input.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Input/Input.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
- package/dist/cjs/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/Link.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/Link.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/List/List.js +1 -1
- package/dist/cjs/node_modules/@mui/material/List/List.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Menu/Menu.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Menu/Menu.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/Modal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/Modal.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/ModalManager.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
- package/dist/cjs/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
- package/dist/cjs/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Paper/Paper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Paper/Paper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popover/Popover.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popover/Popover.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/Popper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Popper/Popper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Portal/Portal.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Portal/Portal.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/Radio.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/Radio.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Rating/Rating.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Rating/Rating.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/Select.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/Select.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slide/Slide.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slide/Slide.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/Slider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/Slider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Stack/Stack.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Stack/Stack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Step/Step.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Step/Step.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Switch/Switch.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Switch/Switch.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tab/Tab.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tab/Tab.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Table/Table.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Table/Table.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TextField/TextField.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TextField/TextField.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
- package/dist/cjs/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/cjs/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Typography/Typography.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Typography/Typography.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js +1 -1
- package/dist/cjs/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
- package/dist/cjs/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/useTheme.js +1 -1
- package/dist/cjs/node_modules/@mui/material/styles/useTheme.js.map +1 -1
- package/dist/cjs/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/colorManipulator.js +1 -1
- package/dist/cjs/node_modules/@mui/system/createStyled.js +1 -1
- package/dist/cjs/node_modules/@mui/system/createStyled.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js +1 -1
- package/dist/cjs/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/cjs/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/cjs/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
- package/dist/cjs/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/graphql-ws/lib/index.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/json5/dist/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/index.js +1 -1
- package/dist/cjs/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js +1 -1
- package/dist/cjs/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/cjs/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/cjs/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
- package/dist/cjs/node_modules/unified/lib/index.js +1 -1
- package/dist/cjs/node_modules/unified/lib/index.js.map +1 -1
- package/dist/cjs/node_modules/uuid/dist/cjs-browser/index.js +1 -1
- package/dist/cjs/node_modules/vfile/lib/index.js +1 -1
- package/dist/cjs/node_modules/vfile/lib/index.js.map +1 -1
- package/dist/features/DocumentLearning/DocumentLearning.js +1 -1
- package/dist/features/DocumentLearning/_components/BookLearningForm.js +1 -1
- package/dist/features/DocumentLearning/_components/ChatComponent.js +1 -1
- package/dist/features/DocumentLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/features/IL-OTJ/ILOTJ.js +1 -1
- package/dist/features/IL-OTJ/_components/ChatComponent.js +1 -1
- package/dist/features/IL-OTJ/_components/ILPopup.js +1 -1
- package/dist/features/IL-OTJ/_components/ILPopup.styles.js +1 -1
- package/dist/features/IL-OTJ/_components/InputDataReasoningCard.js +1 -1
- package/dist/features/IL-OTJ/_components/MessageRendering.js +1 -1
- package/dist/features/IL-OTJ/_components/atoms/Textarea/Textarea.js +1 -1
- package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
- package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
- package/dist/features/InstantLearning/InstantLearning.js +1 -1
- package/dist/features/InstantLearning/_components/ChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ConflictingLearningWarnCard.js +1 -1
- package/dist/features/InstantLearning/_components/ConflictingLearningWarnCardDB.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualChatComponent.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualConflictDBCard.js +1 -1
- package/dist/features/InstantLearning/_components/ContextualLearningForm.js +1 -1
- package/dist/features/InstantLearning/_components/GeneralizationAccordion.js +1 -1
- package/dist/features/InstantLearning/_components/LearningDetailsForm.js +1 -1
- package/dist/features/WtaWnta/WtaWnta.js +1 -1
- package/dist/features/WtaWnta/_components/AgentDetailsForm.js +1 -1
- package/dist/features/WtaWnta/_components/SimilarConflictingCard.js +1 -1
- package/dist/features/WtaWnta/_components/ValidationCard.js +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js +1 -1
- package/dist/node_modules/@e-llm-studio/streaming-response/dist/index.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/colorManipulator.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createPalette.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createSpacing.js.map +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createTheme.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/styles/createTypography.js +1 -1
- package/dist/node_modules/@material-ui/core/esm/utils/capitalize.js +1 -1
- package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js +1 -1
- package/dist/node_modules/@material-ui/icons/utils/createSvgIcon.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/StylesProvider/StylesProvider.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/getStylesCreator/getStylesCreator.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/index.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withStyles/withStyles.js.map +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js +1 -1
- package/dist/node_modules/@material-ui/styles/esm/withTheme/withTheme.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/breakpoints.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/breakpoints.js.map +1 -1
- package/dist/node_modules/@material-ui/system/esm/merge.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/responsivePropType.js +1 -1
- package/dist/node_modules/@material-ui/system/esm/responsivePropType.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/utils/esm/elementAcceptingRef.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementAcceptingRef.js.map +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js.map +1 -1
- package/dist/node_modules/@material-ui/utils/esm/getDisplayName.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/refType.js +1 -1
- package/dist/node_modules/@material-ui/utils/esm/refType.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert.js +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar.js +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar.js +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge.js +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/useBadge.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box.js +1 -1
- package/dist/node_modules/@mui/material/Box/Box.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button.js +1 -1
- package/dist/node_modules/@mui/material/Button/Button.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card.js +1 -1
- package/dist/node_modules/@mui/material/Card/Card.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions.js +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent.js +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader.js +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia.js +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip.js +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse.js +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container.js +1 -1
- package/dist/node_modules/@mui/material/Container/Container.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline.js.map +1 -1
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider.js +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer.js +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab.js +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade.js +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel.js +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid.js +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon.js +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton.js +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList.js +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input.js +1 -1
- package/dist/node_modules/@mui/material/Input/Input.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel.js +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link.js +1 -1
- package/dist/node_modules/@mui/material/Link/Link.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js +1 -1
- package/dist/node_modules/@mui/material/Link/getTextDecoration.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List.js +1 -1
- package/dist/node_modules/@mui/material/List/List.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem.js +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText.js +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu.js +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList.js +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal.js +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/ModalManager.js +1 -1
- package/dist/node_modules/@mui/material/Modal/useModal.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr.js +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination.js +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover.js +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper.js +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper.js +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal.js +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio.js +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating.js +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select.js +1 -1
- package/dist/node_modules/@mui/material/Select/Select.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput.js +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide.js +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider.js +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/useSlider.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/useSnackbar.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack.js +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step.js +1 -1
- package/dist/node_modules/@mui/material/Step/Step.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton.js +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent.js +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper.js +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch.js +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab.js +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table.js +1 -1
- package/dist/node_modules/@mui/material/Table/Table.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody.js +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell.js +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer.js +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter.js +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead.js +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination.js +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow.js +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField.js +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar.js +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography.js +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js +1 -1
- package/dist/node_modules/@mui/material/Unstable_Grid2/Grid2.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom.js +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/svg-icons/Add.js +1 -1
- package/dist/node_modules/@mui/material/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/CssVarsProvider.js +1 -1
- package/dist/node_modules/@mui/material/styles/CssVarsProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js +1 -1
- package/dist/node_modules/@mui/material/styles/experimental_extendTheme.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme.js +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +1 -1
- package/dist/node_modules/@mui/system/createStyled.js +1 -1
- package/dist/node_modules/@mui/system/createStyled.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Box/Box.js +1 -1
- package/dist/node_modules/@mui/system/esm/Box/Box.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/Container.js +1 -1
- package/dist/node_modules/@mui/system/esm/Container/Container.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/Stack.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/Grid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js +1 -1
- package/dist/node_modules/@mui/system/esm/Unstable_Grid/createGrid.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType.js +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType.js.map +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/utils/esm/elementAcceptingRef/elementAcceptingRef.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
- package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/getDisplayName/getDisplayName.js +1 -1
- package/dist/node_modules/@mui/utils/esm/refType/refType.js +1 -1
- package/dist/node_modules/@mui/utils/esm/refType/refType.js.map +1 -1
- package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/graphql-ws/lib/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/json5/dist/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-markdown/lib/ast-to-react.js +1 -1
- package/dist/node_modules/react-markdown/lib/ast-to-react.js.map +1 -1
- package/dist/node_modules/react-markdown/lib/react-markdown.js +1 -1
- package/dist/node_modules/react-markdown/lib/react-markdown.js.map +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.development.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/cjs/react-is.production.min.js +1 -1
- package/dist/node_modules/react-markdown/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/CSSTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/ReplaceTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/SwitchTransition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/SwitchTransition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js +1 -1
- package/dist/node_modules/react-transition-group/esm/Transition.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js +1 -1
- package/dist/node_modules/react-transition-group/esm/TransitionGroup.js.map +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js +1 -1
- package/dist/node_modules/react-transition-group/esm/utils/PropTypes.js.map +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/node_modules/unified/lib/index.js.map +1 -1
- package/dist/node_modules/uuid/dist/cjs-browser/index.js +1 -1
- package/dist/node_modules/vfile/lib/index.js +1 -1
- package/dist/node_modules/vfile/lib/index.js.map +1 -1
- package/dist/types/src/features/IL-OTJ/ILOTJTest.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.d.ts +1 -1
- package/dist/types/src/features/IL-OTJ/_components/ILPopup.styles.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts +5 -1
- package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReplaceTransition.js","sources":["../../../../node_modules/react-transition-group/esm/ReplaceTransition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport TransitionGroup from './TransitionGroup';\n/**\n * The `<ReplaceTransition>` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * <ReplaceTransition in>\n * <Fade><div>I appear first</div></Fade>\n * <Fade><div>I replace the above</div></Fade>\n * </ReplaceTransition>\n * ```\n */\n\nvar ReplaceTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n var child = React.Children.toArray(children)[idx];\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n\n if (this.props[handler]) {\n var maybeNode = child.props.nodeRef ? undefined : ReactDOM.findDOMNode(this);\n this.props[handler](maybeNode);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = React.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return /*#__PURE__*/React.createElement(TransitionGroup, props, inProp ? React.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : React.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(React.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: PropTypes.bool.isRequired,\n children: function children(props, propName) {\n if (React.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nexport default ReplaceTransition;"],"names":["ReplaceTransition","_React$Component","_this","_len","arguments","length","_args","Array","_key","call","apply","this","concat","handleEnter","_len2","args","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","handleExited","_len7","_key7","_inheritsLoose","_proto","prototype","handler","idx","originalArgs","_child$props","children","props","child","React","Children","toArray","maybeNode","nodeRef","undefined","ReactDOM","findDOMNode","render","_this$props","inProp","in","_objectWithoutPropertiesLoose","_React$Children$toArr","first","second","onEnter","onEntering","onEntered","onExit","onExiting","onExited","createElement","TransitionGroup","cloneElement","key","Component","propTypes","process","env","NODE_ENV","PropTypes","bool","isRequired","propName","count","Error"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReplaceTransition.js","sources":["../../../../node_modules/react-transition-group/esm/ReplaceTransition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport TransitionGroup from './TransitionGroup';\n/**\n * The `<ReplaceTransition>` component is a specialized `Transition` component\n * that animates between two children.\n *\n * ```jsx\n * <ReplaceTransition in>\n * <Fade><div>I appear first</div></Fade>\n * <Fade><div>I replace the above</div></Fade>\n * </ReplaceTransition>\n * ```\n */\n\nvar ReplaceTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(ReplaceTransition, _React$Component);\n\n function ReplaceTransition() {\n var _this;\n\n for (var _len = arguments.length, _args = new Array(_len), _key = 0; _key < _len; _key++) {\n _args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(_args)) || this;\n\n _this.handleEnter = function () {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return _this.handleLifecycle('onEnter', 0, args);\n };\n\n _this.handleEntering = function () {\n for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n return _this.handleLifecycle('onEntering', 0, args);\n };\n\n _this.handleEntered = function () {\n for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n return _this.handleLifecycle('onEntered', 0, args);\n };\n\n _this.handleExit = function () {\n for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return _this.handleLifecycle('onExit', 1, args);\n };\n\n _this.handleExiting = function () {\n for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n return _this.handleLifecycle('onExiting', 1, args);\n };\n\n _this.handleExited = function () {\n for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n return _this.handleLifecycle('onExited', 1, args);\n };\n\n return _this;\n }\n\n var _proto = ReplaceTransition.prototype;\n\n _proto.handleLifecycle = function handleLifecycle(handler, idx, originalArgs) {\n var _child$props;\n\n var children = this.props.children;\n var child = React.Children.toArray(children)[idx];\n if (child.props[handler]) (_child$props = child.props)[handler].apply(_child$props, originalArgs);\n\n if (this.props[handler]) {\n var maybeNode = child.props.nodeRef ? undefined : ReactDOM.findDOMNode(this);\n this.props[handler](maybeNode);\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n inProp = _this$props.in,\n props = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\"]);\n\n var _React$Children$toArr = React.Children.toArray(children),\n first = _React$Children$toArr[0],\n second = _React$Children$toArr[1];\n\n delete props.onEnter;\n delete props.onEntering;\n delete props.onEntered;\n delete props.onExit;\n delete props.onExiting;\n delete props.onExited;\n return /*#__PURE__*/React.createElement(TransitionGroup, props, inProp ? React.cloneElement(first, {\n key: 'first',\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered\n }) : React.cloneElement(second, {\n key: 'second',\n onEnter: this.handleExit,\n onEntering: this.handleExiting,\n onEntered: this.handleExited\n }));\n };\n\n return ReplaceTransition;\n}(React.Component);\n\nReplaceTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n in: PropTypes.bool.isRequired,\n children: function children(props, propName) {\n if (React.Children.count(props[propName]) !== 2) return new Error(\"\\\"\" + propName + \"\\\" must be exactly two transition components.\");\n return null;\n }\n} : {};\nexport default ReplaceTransition;"],"names":["ReplaceTransition","_React$Component","_this","_len","arguments","length","_args","Array","_key","call","apply","this","concat","handleEnter","_len2","args","_key2","handleLifecycle","handleEntering","_len3","_key3","handleEntered","_len4","_key4","handleExit","_len5","_key5","handleExiting","_len6","_key6","handleExited","_len7","_key7","_inheritsLoose","_proto","prototype","handler","idx","originalArgs","_child$props","children","props","child","React","Children","toArray","maybeNode","nodeRef","undefined","ReactDOM","findDOMNode","render","_this$props","inProp","in","_objectWithoutPropertiesLoose","_React$Children$toArr","first","second","onEnter","onEntering","onEntered","onExit","onExiting","onExited","createElement","TransitionGroup","cloneElement","key","Component","propTypes","process","env","NODE_ENV","PropTypes","bool","isRequired","propName","count","Error"],"mappings":"8QAkBG,IAACA,EAAiC,SAAUC,GAG7C,SAASD,IAGP,IAFA,IAAIE,EAEKC,EAAOC,UAAUC,OAAQC,EAAQ,IAAIC,MAAMJ,GAAOK,EAAO,EAAGA,EAAOL,EAAMK,IAChFF,EAAME,GAAQJ,UAAUI,GAqD1B,OAlDAN,EAAQD,EAAiBQ,KAAKC,MAAMT,EAAkB,CAACU,MAAMC,OAAON,KAAWK,MAEzEE,YAAc,WAClB,IAAK,IAAIC,EAAQV,UAAUC,OAAQU,EAAO,IAAIR,MAAMO,GAAQE,EAAQ,EAAGA,EAAQF,EAAOE,IACpFD,EAAKC,GAASZ,UAAUY,GAG1B,OAAOd,EAAMe,gBAAgB,UAAW,EAAGF,EACjD,EAEIb,EAAMgB,eAAiB,WACrB,IAAK,IAAIC,EAAQf,UAAUC,OAAQU,EAAO,IAAIR,MAAMY,GAAQC,EAAQ,EAAGA,EAAQD,EAAOC,IACpFL,EAAKK,GAAShB,UAAUgB,GAG1B,OAAOlB,EAAMe,gBAAgB,aAAc,EAAGF,EACpD,EAEIb,EAAMmB,cAAgB,WACpB,IAAK,IAAIC,EAAQlB,UAAUC,OAAQU,EAAO,IAAIR,MAAMe,GAAQC,EAAQ,EAAGA,EAAQD,EAAOC,IACpFR,EAAKQ,GAASnB,UAAUmB,GAG1B,OAAOrB,EAAMe,gBAAgB,YAAa,EAAGF,EACnD,EAEIb,EAAMsB,WAAa,W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AsB,GAQnC,cANOf,EAAMkB,eACNlB,EAAMmB,kBACNnB,EAAMoB,iBACNpB,EAAMqB,cACNrB,EAAMsB,iBACNtB,EAAMuB,SACOrB,EAAMsB,cAAcC,EAAiBzB,EAAOY,EAASV,EAAMwB,aAAaV,EAAO,CACjGW,IAAK,QACLT,QAAShD,KAAKE,YACd+C,WAAYjD,KAAKO,eACjB2C,UAAWlD,KAAKU,gBACbsB,EAAMwB,aAAaT,EAAQ,CAC9BU,IAAK,SACLT,QAAShD,KAAKa,WACdoC,WAAYjD,KAAKgB,cACjBkC,UAAWlD,KAAKmB,eAEtB,EAES9B,CACT,CA5GqC,CA4GnC2C,EAAM0B,WAERrE,EAAkBsE,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CACpEnB,GAAIoB,EAAUC,KAAKC,WACnBpC,SAAU,SAAkBC,EAAOoC,GACjC,OAA8C,IAA1ClC,EAAMC,SAASkC,MAAMrC,EAAMoC,IAAyB,IAAIE,MAAM,IAAOF,EAAW,gDAC7E,IACR,GACC,CAAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import n from"react";import t from"../../../_virtual/
|
|
1
|
+
import e from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import n from"react";import t from"../../../_virtual/index3.js";import{ENTERING as r,EXITING as o,ENTERED as i}from"./Transition.js";import u from"./TransitionGroupContext.js";var a,c;var l={out:"out-in",in:"in-out"},s=function(e,n,t){return function(){var r;e.props[n]&&(r=e.props)[n].apply(r,arguments),t()}},d=((a={})[l.out]=function(e){var t=e.current,o=e.changeState;return n.cloneElement(t,{in:!1,onExited:s(t,"onExited",function(){o(r,null)})})},a[l.in]=function(e){var t=e.current,o=e.changeState,i=e.children;return[t,n.cloneElement(i,{in:!0,onEntered:s(i,"onEntered",function(){o(r)})})]},a),p=((c={})[l.out]=function(e){var t=e.children,r=e.changeState;return n.cloneElement(t,{in:!0,onEntered:s(t,"onEntered",function(){r(i,n.cloneElement(t,{in:!0}))})})},c[l.in]=function(e){var t=e.current,r=e.children,o=e.changeState;return[n.cloneElement(t,{in:!1,onExited:s(t,"onExited",function(){o(i,n.cloneElement(r,{in:!0}))})}),n.cloneElement(r,{in:!0})]},c),m=function(t){function a(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).state={status:i,current:null},e.appeared=!1,e.changeState=function(n,t){void 0===t&&(t=e.state.current),e.setState({status:n,current:t})},e}e(a,t);var c=a.prototype;return c.componentDidMount=function(){this.appeared=!0},a.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===r&&e.mode===l.in?{status:r}:!t.current||(i=t.current,u=e.children,i===u||n.isValidElement(i)&&n.isValidElement(u)&&null!=i.key&&i.key===u.key)?{current:n.cloneElement(e.children,{in:!0})}:{status:o};var i,u},c.render=function(){var e,t=this.props,a=t.children,c=t.mode,l=this.state,s=l.status,m=l.current,h={children:a,current:m,changeState:this.changeState,status:s};switch(s){case r:e=p[c](h);break;case o:e=d[c](h);break;case i:e=m}return n.createElement(u.Provider,{value:{isMounting:!this.appeared}},e)},a}(n.Component);m.propTypes="production"!==process.env.NODE_ENV?{mode:t.oneOf([l.in,l.out]),children:t.oneOfType([t.element.isRequired])}:{},m.defaultProps={mode:l.out};export{m as default,l as modes};
|
|
2
2
|
//# sourceMappingURL=SwitchTransition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchTransition.js","sources":["../../../../node_modules/react-transition-group/esm/SwitchTransition.js"],"sourcesContent":["import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n\nvar _leaveRenders, _enterRenders;\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ENTERED, ENTERING, EXITING } from './Transition';\nimport TransitionGroupContext from './TransitionGroupContext';\n\nfunction areChildrenDifferent(oldChildren, newChildren) {\n if (oldChildren === newChildren) return false;\n\n if (React.isValidElement(oldChildren) && React.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) {\n return false;\n }\n\n return true;\n}\n/**\n * Enum of modes for SwitchTransition component\n * @enum { string }\n */\n\n\nexport var modes = {\n out: 'out-in',\n in: 'in-out'\n};\n\nvar callHook = function callHook(element, name, cb) {\n return function () {\n var _element$props;\n\n element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments);\n cb();\n };\n};\n\nvar leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) {\n var current = _ref.current,\n changeState = _ref.changeState;\n return React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERING, null);\n })\n });\n}, _leaveRenders[modes.in] = function (_ref2) {\n var current = _ref2.current,\n changeState = _ref2.changeState,\n children = _ref2.children;\n return [current, React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERING);\n })\n })];\n}, _leaveRenders);\nvar enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) {\n var children = _ref3.children,\n changeState = _ref3.changeState;\n return React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n });\n}, _enterRenders[modes.in] = function (_ref4) {\n var current = _ref4.current,\n children = _ref4.children,\n changeState = _ref4.changeState;\n return [React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n }), React.cloneElement(children, {\n in: true\n })];\n}, _enterRenders);\n/**\n * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes).\n * You can use it when you want to control the render between state transitions.\n * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them.\n *\n * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child.\n * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child.\n *\n * **Note**: If you want the animation to happen simultaneously\n * (that is, to have the old child removed and a new child inserted **at the same time**),\n * you should use\n * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group)\n * instead.\n *\n * ```jsx\n * function App() {\n * const [state, setState] = useState(false);\n * return (\n * <SwitchTransition>\n * <CSSTransition\n * key={state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * addEndListener={(node, done) => node.addEventListener(\"transitionend\", done, false)}\n * classNames='fade'\n * >\n * <button onClick={() => setState(state => !state)}>\n * {state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * </button>\n * </CSSTransition>\n * </SwitchTransition>\n * );\n * }\n * ```\n *\n * ```css\n * .fade-enter{\n * opacity: 0;\n * }\n * .fade-exit{\n * opacity: 1;\n * }\n * .fade-enter-active{\n * opacity: 1;\n * }\n * .fade-exit-active{\n * opacity: 0;\n * }\n * .fade-enter-active,\n * .fade-exit-active{\n * transition: opacity 500ms;\n * }\n * ```\n */\n\nvar SwitchTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(SwitchTransition, _React$Component);\n\n function SwitchTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.state = {\n status: ENTERED,\n current: null\n };\n _this.appeared = false;\n\n _this.changeState = function (status, current) {\n if (current === void 0) {\n current = _this.state.current;\n }\n\n _this.setState({\n status: status,\n current: current\n });\n };\n\n return _this;\n }\n\n var _proto = SwitchTransition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.appeared = true;\n };\n\n SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {\n if (props.children == null) {\n return {\n current: null\n };\n }\n\n if (state.status === ENTERING && props.mode === modes.in) {\n return {\n status: ENTERING\n };\n }\n\n if (state.current && areChildrenDifferent(state.current, props.children)) {\n return {\n status: EXITING\n };\n }\n\n return {\n current: React.cloneElement(props.children, {\n in: true\n })\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n mode = _this$props.mode,\n _this$state = this.state,\n status = _this$state.status,\n current = _this$state.current;\n var data = {\n children: children,\n current: current,\n changeState: this.changeState,\n status: status\n };\n var component;\n\n switch (status) {\n case ENTERING:\n component = enterRenders[mode](data);\n break;\n\n case EXITING:\n component = leaveRenders[mode](data);\n break;\n\n case ENTERED:\n component = current;\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: {\n isMounting: !this.appeared\n }\n }, component);\n };\n\n return SwitchTransition;\n}(React.Component);\n\nSwitchTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Transition modes.\n * `out-in`: Current element transitions out first, then when complete, the new element transitions in.\n * `in-out`: New element transitions in first, then when complete, the current element transitions out.\n *\n * @type {'out-in'|'in-out'}\n */\n mode: PropTypes.oneOf([modes.in, modes.out]),\n\n /**\n * Any `Transition` or `CSSTransition` component.\n */\n children: PropTypes.oneOfType([PropTypes.element.isRequired])\n} : {};\nSwitchTransition.defaultProps = {\n mode: modes.out\n};\nexport default SwitchTransition;"],"names":["_leaveRenders","_enterRenders","modes","out","in","callHook","element","name","cb","_element$props","props","apply","arguments","leaveRenders","_ref","current","changeState","React","cloneElement","onExited","ENTERING","_ref2","children","onEntered","enterRenders","_ref3","ENTERED","_ref4","SwitchTransition","_React$Component","_this","_len","length","args","Array","_key","call","this","concat","state","status","appeared","setState","_inheritsLoose","_proto","prototype","componentDidMount","getDerivedStateFromProps","mode","oldChildren","newChildren","isValidElement","key","EXITING","render","component","_this$props","_this$state","data","createElement","TransitionGroupContext","Provider","value","isMounting","Component","propTypes","process","env","NODE_ENV","PropTypes","oneOf","oneOfType","isRequired","defaultProps"],"mappings":"gPAEA,IAAIA,EAAeC,EAsBT,IAACC,EAAQ,CACjBC,IAAK,SACLC,GAAI,UAGFC,EAAW,SAAkB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GAIV,OAAQA,GACN,KAAKpB,EACHmC,EAAY/B,EAAawB,GAAMU,GAC/B,MAEF,KAAKL,EACHE,EAAY1C,EAAamC,GAAMU,GAC/B,MAEF,KAAKhC,EACH6B,EAAYxC,EAGhB,OAAoBE,EAAM0C,cAAcC,EAAuBC,SAAU,CACvEC,MAAO,CACLC,YAAa1B,KAAKI,WAEnBc,EACP,EAES3B,CACT,CAnGoC,CAmGlCX,EAAM+C,WAERpC,EAAiBqC,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CAQnEpB,KAAMqB,EAAUC,MAAM,CAACpE,EAAME,GAAIF,EAAMC,MAKvCmB,SAAU+C,EAAUE,UAAU,CAACF,EAAU/D,QAAQkE,cAC/C,GACJ5C,EAAiB6C,aAAe,CAC9BzB,KAAM9C,EAAMC"}
|
|
1
|
+
{"version":3,"file":"SwitchTransition.js","sources":["../../../../node_modules/react-transition-group/esm/SwitchTransition.js"],"sourcesContent":["import _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\n\nvar _leaveRenders, _enterRenders;\n\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport { ENTERED, ENTERING, EXITING } from './Transition';\nimport TransitionGroupContext from './TransitionGroupContext';\n\nfunction areChildrenDifferent(oldChildren, newChildren) {\n if (oldChildren === newChildren) return false;\n\n if (React.isValidElement(oldChildren) && React.isValidElement(newChildren) && oldChildren.key != null && oldChildren.key === newChildren.key) {\n return false;\n }\n\n return true;\n}\n/**\n * Enum of modes for SwitchTransition component\n * @enum { string }\n */\n\n\nexport var modes = {\n out: 'out-in',\n in: 'in-out'\n};\n\nvar callHook = function callHook(element, name, cb) {\n return function () {\n var _element$props;\n\n element.props[name] && (_element$props = element.props)[name].apply(_element$props, arguments);\n cb();\n };\n};\n\nvar leaveRenders = (_leaveRenders = {}, _leaveRenders[modes.out] = function (_ref) {\n var current = _ref.current,\n changeState = _ref.changeState;\n return React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERING, null);\n })\n });\n}, _leaveRenders[modes.in] = function (_ref2) {\n var current = _ref2.current,\n changeState = _ref2.changeState,\n children = _ref2.children;\n return [current, React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERING);\n })\n })];\n}, _leaveRenders);\nvar enterRenders = (_enterRenders = {}, _enterRenders[modes.out] = function (_ref3) {\n var children = _ref3.children,\n changeState = _ref3.changeState;\n return React.cloneElement(children, {\n in: true,\n onEntered: callHook(children, 'onEntered', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n });\n}, _enterRenders[modes.in] = function (_ref4) {\n var current = _ref4.current,\n children = _ref4.children,\n changeState = _ref4.changeState;\n return [React.cloneElement(current, {\n in: false,\n onExited: callHook(current, 'onExited', function () {\n changeState(ENTERED, React.cloneElement(children, {\n in: true\n }));\n })\n }), React.cloneElement(children, {\n in: true\n })];\n}, _enterRenders);\n/**\n * A transition component inspired by the [vue transition modes](https://vuejs.org/v2/guide/transitions.html#Transition-Modes).\n * You can use it when you want to control the render between state transitions.\n * Based on the selected mode and the child's key which is the `Transition` or `CSSTransition` component, the `SwitchTransition` makes a consistent transition between them.\n *\n * If the `out-in` mode is selected, the `SwitchTransition` waits until the old child leaves and then inserts a new child.\n * If the `in-out` mode is selected, the `SwitchTransition` inserts a new child first, waits for the new child to enter and then removes the old child.\n *\n * **Note**: If you want the animation to happen simultaneously\n * (that is, to have the old child removed and a new child inserted **at the same time**),\n * you should use\n * [`TransitionGroup`](https://reactcommunity.org/react-transition-group/transition-group)\n * instead.\n *\n * ```jsx\n * function App() {\n * const [state, setState] = useState(false);\n * return (\n * <SwitchTransition>\n * <CSSTransition\n * key={state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * addEndListener={(node, done) => node.addEventListener(\"transitionend\", done, false)}\n * classNames='fade'\n * >\n * <button onClick={() => setState(state => !state)}>\n * {state ? \"Goodbye, world!\" : \"Hello, world!\"}\n * </button>\n * </CSSTransition>\n * </SwitchTransition>\n * );\n * }\n * ```\n *\n * ```css\n * .fade-enter{\n * opacity: 0;\n * }\n * .fade-exit{\n * opacity: 1;\n * }\n * .fade-enter-active{\n * opacity: 1;\n * }\n * .fade-exit-active{\n * opacity: 0;\n * }\n * .fade-enter-active,\n * .fade-exit-active{\n * transition: opacity 500ms;\n * }\n * ```\n */\n\nvar SwitchTransition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(SwitchTransition, _React$Component);\n\n function SwitchTransition() {\n var _this;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;\n _this.state = {\n status: ENTERED,\n current: null\n };\n _this.appeared = false;\n\n _this.changeState = function (status, current) {\n if (current === void 0) {\n current = _this.state.current;\n }\n\n _this.setState({\n status: status,\n current: current\n });\n };\n\n return _this;\n }\n\n var _proto = SwitchTransition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.appeared = true;\n };\n\n SwitchTransition.getDerivedStateFromProps = function getDerivedStateFromProps(props, state) {\n if (props.children == null) {\n return {\n current: null\n };\n }\n\n if (state.status === ENTERING && props.mode === modes.in) {\n return {\n status: ENTERING\n };\n }\n\n if (state.current && areChildrenDifferent(state.current, props.children)) {\n return {\n status: EXITING\n };\n }\n\n return {\n current: React.cloneElement(props.children, {\n in: true\n })\n };\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n children = _this$props.children,\n mode = _this$props.mode,\n _this$state = this.state,\n status = _this$state.status,\n current = _this$state.current;\n var data = {\n children: children,\n current: current,\n changeState: this.changeState,\n status: status\n };\n var component;\n\n switch (status) {\n case ENTERING:\n component = enterRenders[mode](data);\n break;\n\n case EXITING:\n component = leaveRenders[mode](data);\n break;\n\n case ENTERED:\n component = current;\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: {\n isMounting: !this.appeared\n }\n }, component);\n };\n\n return SwitchTransition;\n}(React.Component);\n\nSwitchTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * Transition modes.\n * `out-in`: Current element transitions out first, then when complete, the new element transitions in.\n * `in-out`: New element transitions in first, then when complete, the current element transitions out.\n *\n * @type {'out-in'|'in-out'}\n */\n mode: PropTypes.oneOf([modes.in, modes.out]),\n\n /**\n * Any `Transition` or `CSSTransition` component.\n */\n children: PropTypes.oneOfType([PropTypes.element.isRequired])\n} : {};\nSwitchTransition.defaultProps = {\n mode: modes.out\n};\nexport default SwitchTransition;"],"names":["_leaveRenders","_enterRenders","modes","out","in","callHook","element","name","cb","_element$props","props","apply","arguments","leaveRenders","_ref","current","changeState","React","cloneElement","onExited","ENTERING","_ref2","children","onEntered","enterRenders","_ref3","ENTERED","_ref4","SwitchTransition","_React$Component","_this","_len","length","args","Array","_key","call","this","concat","state","status","appeared","setState","_inheritsLoose","_proto","prototype","componentDidMount","getDerivedStateFromProps","mode","oldChildren","newChildren","isValidElement","key","EXITING","render","component","_this$props","_this$state","data","createElement","TransitionGroupContext","Provider","value","isMounting","Component","propTypes","process","env","NODE_ENV","PropTypes","oneOf","oneOfType","isRequired","defaultProps"],"mappings":"iPAEA,IAAIA,EAAeC,EAsBT,IAACC,EAAQ,CACjBC,IAAK,SACLC,GAAI,UAGFC,EAAW,SAAkBC,EAASC,EAAMC,GAC9C,OAAO,WACL,IAAIC,EAEJH,EAAQI,MAAMH,KAAUE,EAAiBH,EAAQI,OAAOH,GAAMI,MAAMF,EAAgBG,WACpFJ,GACJ,CACA,EAEIK,IAAgBb,EAAgB,IAAkBE,EAAMC,KAAO,SAAUW,GAC3E,IAAIC,EAAUD,EAAKC,QACfC,EAAcF,EAAKE,YACvB,OAAOC,EAAMC,aAAaH,EAAS,CACjCX,IAAI,EACJe,SAAUd,EAASU,EAAS,WAAY,WACtCC,EAAYI,EAAU,KAC5B,IAEA,EAAGpB,EAAcE,EAAME,IAAM,SAAUiB,GACrC,IAAIN,EAAUM,EAAMN,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E,UAAU,CAACF,EAAU/D,QAAQkE,cAC/C,GACJ5C,EAAiB6C,aAAe,CAC9BzB,KAAM9C,EAAMC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";import n from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import e from"../../../_virtual/
|
|
1
|
+
import t from"../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";import n from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import e from"../../../_virtual/index3.js";import i from"react";import o from"react-dom";import r from"./config.js";import{timeoutsShape as s}from"./utils/PropTypes.js";import a from"./TransitionGroupContext.js";import{forceReflow as u}from"./utils/reflow.js";var p="unmounted",l="exited",c="entering",d="entered",f="exiting",E=function(e){function s(t,n){var i;i=e.call(this,t,n)||this;var o,r=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?r?(o=l,i.appearStatus=c):o=d:o=t.unmountOnExit||t.mountOnEnter?p:l,i.state={status:o},i.nextCallback=null,i}n(s,e),s.getDerivedStateFromProps=function(t,n){return t.in&&n.status===p?{status:l}:null};var E=s.prototype;return E.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},E.componentDidUpdate=function(t){var n=null;if(t!==this.props){var e=this.state.status;this.props.in?e!==c&&e!==d&&(n=c):e!==c&&e!==d||(n=f)}this.updateStatus(!1,n)},E.componentWillUnmount=function(){this.cancelNextCallback()},E.getTimeouts=function(){var t,n,e,i=this.props.timeout;return t=n=e=i,null!=i&&"number"!=typeof i&&(t=i.exit,n=i.enter,e=void 0!==i.appear?i.appear:n),{exit:t,enter:n,appear:e}},E.updateStatus=function(t,n){if(void 0===t&&(t=!1),null!==n)if(this.cancelNextCallback(),n===c){if(this.props.unmountOnExit||this.props.mountOnEnter){var e=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this);e&&u(e)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:p})},E.performEnter=function(t){var n=this,e=this.props.enter,i=this.context?this.context.isMounting:t,s=this.props.nodeRef?[i]:[o.findDOMNode(this),i],a=s[0],u=s[1],p=this.getTimeouts(),l=i?p.appear:p.enter;!t&&!e||r.disabled?this.safeSetState({status:d},function(){n.props.onEntered(a)}):(this.props.onEnter(a,u),this.safeSetState({status:c},function(){n.props.onEntering(a,u),n.onTransitionEnd(l,function(){n.safeSetState({status:d},function(){n.props.onEntered(a,u)})})}))},E.performExit=function(){var t=this,n=this.props.exit,e=this.getTimeouts(),i=this.props.nodeRef?void 0:o.findDOMNode(this);n&&!r.disabled?(this.props.onExit(i),this.safeSetState({status:f},function(){t.props.onExiting(i),t.onTransitionEnd(e.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(i)})})})):this.safeSetState({status:l},function(){t.props.onExited(i)})},E.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},E.safeSetState=function(t,n){n=this.setNextCallback(n),this.setState(t,n)},E.setNextCallback=function(t){var n=this,e=!0;return this.nextCallback=function(i){e&&(e=!1,n.nextCallback=null,t(i))},this.nextCallback.cancel=function(){e=!1},this.nextCallback},E.onTransitionEnd=function(t,n){this.setNextCallback(n);var e=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this),i=null==t&&!this.props.addEndListener;if(e&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[e,this.nextCallback],s=r[0],a=r[1];this.props.addEndListener(s,a)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},E.render=function(){var n=this.state.status;if(n===p)return null;var e=this.props,o=e.children;e.in,e.mountOnEnter,e.unmountOnExit,e.appear,e.enter,e.exit,e.timeout,e.addEndListener,e.onEnter,e.onEntering,e.onEntered,e.onExit,e.onExiting,e.onExited,e.nodeRef;var r=t(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return i.createElement(a.Provider,{value:null},"function"==typeof o?o(n,r):i.cloneElement(i.Children.only(o),r))},s}(i.Component);function h(){}E.contextType=a,E.propTypes="production"!==process.env.NODE_ENV?{nodeRef:e.shape({current:"undefined"==typeof Element?e.any:function(t,n,i,o,r,s){var a=t[n];return e.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(t,n,i,o,r,s)}}),children:e.oneOfType([e.func.isRequired,e.element.isRequired]).isRequired,in:e.bool,mountOnEnter:e.bool,unmountOnExit:e.bool,appear:e.bool,enter:e.bool,exit:e.bool,timeout:function(t){var n=s;t.addEndListener||(n=n.isRequired);for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return n.apply(void 0,[t].concat(i))},addEndListener:e.func,onEnter:e.func,onEntering:e.func,onEntered:e.func,onExit:e.func,onExiting:e.func,onExited:e.func}:{},E.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},E.UNMOUNTED=p,E.EXITED=l,E.ENTERING=c,E.ENTERED=d,E.EXITING=f;export{d as ENTERED,c as ENTERING,l as EXITED,f as EXITING,p as UNMOUNTED,E as default};
|
|
2
2
|
//# sourceMappingURL=Transition.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transition.js","sources":["../../../../node_modules/react-transition-group/esm/Transition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;"],"names":["UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","props","context","_this","call","this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","_inheritsLoose","getDerivedStateFromProps","_ref","prevState","_proto","prototype","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","timeout","undefined","mounting","node","nodeRef","current","ReactDOM","findDOMNode","forceReflow","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","config","disabled","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","callback","setNextCallback","_this4","active","event","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","setTimeout","render","_this$props","children","childProps","_objectWithoutPropertiesLoose","React","createElement","TransitionGroupContext","Provider","value","cloneElement","Children","only","Component","noop","contextType","propTypes","process","env","NODE_ENV","PropTypes","shape","Element","any","propValue","key","componentName","location","propFullName","secret","instanceOf","ownerDocument","defaultView","oneOfType","func","isRequired","element","bool","pt","timeoutsShape","_len","arguments","length","args","Array","_key","apply","concat","defaultProps"],"mappings":"oZASU,IAACA,EAAY,YACZC,EAAS,SACTC,EAAW,WACXC,EAAU,UACVC,EAAU,UA6FjBC,EAA0B,SAAUC,GAGtC,SAASD,EAAWE,EAAOC,GACzB,IAAIC,EAEJA,EAAQH,EAAiBI,KAAKC,KAAMJ,EAAOC,IAAYG,KACvD,IAGIC,EADAC,EAFcL,MAEuBM,WAAaP,EAAMQ,MAAQR,EAAMM,OAuB1E,OArBAJ,EAAMO,aAAe,KAEjBT,EAAMU,GACJJ,GACFD,EAAgBX,EAChBQ,EAAMO,aAAed,GAErBU,EAAgBT,EAIhBS,EADEL,EAAMW,eAAiBX,EAAMY,aACfnB,EAEAC,EAIpBQ,EAAMW,MAAQ,CACZC,OAAQT,GAEVH,EAAMa,aAAe,KACdb,CACR,CAhCDc,EAAelB,EAAYC,GAkC3BD,EAAWmB,yBAA2B,SAAkCC,EAAMC,GAG5E,OAFaD,EAAKR,IAEJS,EAAUL,SAAWrB,EAC1B,CACLqB,OAAQpB,GAIL,IACR,EAkBD,IAAI0B,EAAStB,EAAWuB,UAkPxB,OAhPAD,EAAOE,kBAAoB,WACzBlB,KAAKmB,cAAa,EAAMnB,KAAKK,aACjC,EAEEW,EAAOI,mBAAqB,SAA4BC,GACtD,IAAIC,EAAa,KAEjB,GAAID,IAAcrB,KAAKJ,MAAO,CAC5B,IAAIc,EAASV,KAAKS,MAAMC,OAEpBV,KAAKJ,MAAMU,GACTI,IAAWnB,GAAYmB,IAAWlB,IACpC8B,EAAa/B,GAGXmB,IAAWnB,GAAYmB,IAAWlB,IACpC8B,EAAa7B,EAGlB,CAEDO,KAAKmB,cAAa,EAAOG,EAC7B,EAEEN,EAAOO,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OAAO,EACPsB,MAAM,EACNwB,QAASkC,EACTjC,WAAYiC,EACZnC,UAAWmC,EACX9B,OAAQ8B,EACR7B,UAAW6B,EACX5B,SAAU4B,GAEZ1F,EAAWL,UAAYA,EACvBK,EAAWJ,OAASA,EACpBI,EAAWH,SAAWA,EACtBG,EAAWF,QAAUA,EACrBE,EAAWD,QAAUA"}
|
|
1
|
+
{"version":3,"file":"Transition.js","sources":["../../../../node_modules/react-transition-group/esm/Transition.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport config from './config';\nimport { timeoutsShape } from './utils/PropTypes';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { forceReflow } from './utils/reflow';\nexport var UNMOUNTED = 'unmounted';\nexport var EXITED = 'exited';\nexport var ENTERING = 'entering';\nexport var ENTERED = 'entered';\nexport var EXITING = 'exiting';\n/**\n * The Transition component lets you describe a transition from one component\n * state to another _over time_ with a simple declarative API. Most commonly\n * it's used to animate the mounting and unmounting of a component, but can also\n * be used to describe in-place transition states as well.\n *\n * ---\n *\n * **Note**: `Transition` is a platform-agnostic base component. If you're using\n * transitions in CSS, you'll probably want to use\n * [`CSSTransition`](https://reactcommunity.org/react-transition-group/css-transition)\n * instead. It inherits all the features of `Transition`, but contains\n * additional features necessary to play nice with CSS transitions (hence the\n * name of the component).\n *\n * ---\n *\n * By default the `Transition` component does not alter the behavior of the\n * component it renders, it only tracks \"enter\" and \"exit\" states for the\n * components. It's up to you to give meaning and effect to those states. For\n * example we can add styles to a component when it enters or exits:\n *\n * ```jsx\n * import { Transition } from 'react-transition-group';\n *\n * const duration = 300;\n *\n * const defaultStyle = {\n * transition: `opacity ${duration}ms ease-in-out`,\n * opacity: 0,\n * }\n *\n * const transitionStyles = {\n * entering: { opacity: 1 },\n * entered: { opacity: 1 },\n * exiting: { opacity: 0 },\n * exited: { opacity: 0 },\n * };\n *\n * const Fade = ({ in: inProp }) => (\n * <Transition in={inProp} timeout={duration}>\n * {state => (\n * <div style={{\n * ...defaultStyle,\n * ...transitionStyles[state]\n * }}>\n * I'm a fade Transition!\n * </div>\n * )}\n * </Transition>\n * );\n * ```\n *\n * There are 4 main states a Transition can be in:\n * - `'entering'`\n * - `'entered'`\n * - `'exiting'`\n * - `'exited'`\n *\n * Transition state is toggled via the `in` prop. When `true` the component\n * begins the \"Enter\" stage. During this stage, the component will shift from\n * its current transition state, to `'entering'` for the duration of the\n * transition and then to the `'entered'` stage once it's complete. Let's take\n * the following example (we'll use the\n * [useState](https://reactjs.org/docs/hooks-reference.html#usestate) hook):\n *\n * ```jsx\n * function App() {\n * const [inProp, setInProp] = useState(false);\n * return (\n * <div>\n * <Transition in={inProp} timeout={500}>\n * {state => (\n * // ...\n * )}\n * </Transition>\n * <button onClick={() => setInProp(true)}>\n * Click to Enter\n * </button>\n * </div>\n * );\n * }\n * ```\n *\n * When the button is clicked the component will shift to the `'entering'` state\n * and stay there for 500ms (the value of `timeout`) before it finally switches\n * to `'entered'`.\n *\n * When `in` is `false` the same thing happens except the state moves from\n * `'exiting'` to `'exited'`.\n */\n\nvar Transition = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(Transition, _React$Component);\n\n function Transition(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n var parentGroup = context; // In the context of a TransitionGroup all enters are really appears\n\n var appear = parentGroup && !parentGroup.isMounting ? props.enter : props.appear;\n var initialStatus;\n _this.appearStatus = null;\n\n if (props.in) {\n if (appear) {\n initialStatus = EXITED;\n _this.appearStatus = ENTERING;\n } else {\n initialStatus = ENTERED;\n }\n } else {\n if (props.unmountOnExit || props.mountOnEnter) {\n initialStatus = UNMOUNTED;\n } else {\n initialStatus = EXITED;\n }\n }\n\n _this.state = {\n status: initialStatus\n };\n _this.nextCallback = null;\n return _this;\n }\n\n Transition.getDerivedStateFromProps = function getDerivedStateFromProps(_ref, prevState) {\n var nextIn = _ref.in;\n\n if (nextIn && prevState.status === UNMOUNTED) {\n return {\n status: EXITED\n };\n }\n\n return null;\n } // getSnapshotBeforeUpdate(prevProps) {\n // let nextStatus = null\n // if (prevProps !== this.props) {\n // const { status } = this.state\n // if (this.props.in) {\n // if (status !== ENTERING && status !== ENTERED) {\n // nextStatus = ENTERING\n // }\n // } else {\n // if (status === ENTERING || status === ENTERED) {\n // nextStatus = EXITING\n // }\n // }\n // }\n // return { nextStatus }\n // }\n ;\n\n var _proto = Transition.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.updateStatus(true, this.appearStatus);\n };\n\n _proto.componentDidUpdate = function componentDidUpdate(prevProps) {\n var nextStatus = null;\n\n if (prevProps !== this.props) {\n var status = this.state.status;\n\n if (this.props.in) {\n if (status !== ENTERING && status !== ENTERED) {\n nextStatus = ENTERING;\n }\n } else {\n if (status === ENTERING || status === ENTERED) {\n nextStatus = EXITING;\n }\n }\n }\n\n this.updateStatus(false, nextStatus);\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.cancelNextCallback();\n };\n\n _proto.getTimeouts = function getTimeouts() {\n var timeout = this.props.timeout;\n var exit, enter, appear;\n exit = enter = appear = timeout;\n\n if (timeout != null && typeof timeout !== 'number') {\n exit = timeout.exit;\n enter = timeout.enter; // TODO: remove fallback for next major\n\n appear = timeout.appear !== undefined ? timeout.appear : enter;\n }\n\n return {\n exit: exit,\n enter: enter,\n appear: appear\n };\n };\n\n _proto.updateStatus = function updateStatus(mounting, nextStatus) {\n if (mounting === void 0) {\n mounting = false;\n }\n\n if (nextStatus !== null) {\n // nextStatus will always be ENTERING or EXITING.\n this.cancelNextCallback();\n\n if (nextStatus === ENTERING) {\n if (this.props.unmountOnExit || this.props.mountOnEnter) {\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this); // https://github.com/reactjs/react-transition-group/pull/749\n // With unmountOnExit or mountOnEnter, the enter animation should happen at the transition between `exited` and `entering`.\n // To make the animation happen, we have to separate each rendering and avoid being processed as batched.\n\n if (node) forceReflow(node);\n }\n\n this.performEnter(mounting);\n } else {\n this.performExit();\n }\n } else if (this.props.unmountOnExit && this.state.status === EXITED) {\n this.setState({\n status: UNMOUNTED\n });\n }\n };\n\n _proto.performEnter = function performEnter(mounting) {\n var _this2 = this;\n\n var enter = this.props.enter;\n var appearing = this.context ? this.context.isMounting : mounting;\n\n var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM.findDOMNode(this), appearing],\n maybeNode = _ref2[0],\n maybeAppearing = _ref2[1];\n\n var timeouts = this.getTimeouts();\n var enterTimeout = appearing ? timeouts.appear : timeouts.enter; // no enter animation skip right to ENTERED\n // if we are mounting and running this it means appear _must_ be set\n\n if (!mounting && !enter || config.disabled) {\n this.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode);\n });\n return;\n }\n\n this.props.onEnter(maybeNode, maybeAppearing);\n this.safeSetState({\n status: ENTERING\n }, function () {\n _this2.props.onEntering(maybeNode, maybeAppearing);\n\n _this2.onTransitionEnd(enterTimeout, function () {\n _this2.safeSetState({\n status: ENTERED\n }, function () {\n _this2.props.onEntered(maybeNode, maybeAppearing);\n });\n });\n });\n };\n\n _proto.performExit = function performExit() {\n var _this3 = this;\n\n var exit = this.props.exit;\n var timeouts = this.getTimeouts();\n var maybeNode = this.props.nodeRef ? undefined : ReactDOM.findDOMNode(this); // no exit animation skip right to EXITED\n\n if (!exit || config.disabled) {\n this.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n return;\n }\n\n this.props.onExit(maybeNode);\n this.safeSetState({\n status: EXITING\n }, function () {\n _this3.props.onExiting(maybeNode);\n\n _this3.onTransitionEnd(timeouts.exit, function () {\n _this3.safeSetState({\n status: EXITED\n }, function () {\n _this3.props.onExited(maybeNode);\n });\n });\n });\n };\n\n _proto.cancelNextCallback = function cancelNextCallback() {\n if (this.nextCallback !== null) {\n this.nextCallback.cancel();\n this.nextCallback = null;\n }\n };\n\n _proto.safeSetState = function safeSetState(nextState, callback) {\n // This shouldn't be necessary, but there are weird race conditions with\n // setState callbacks and unmounting in testing, so always make sure that\n // we can cancel any pending setState callbacks after we unmount.\n callback = this.setNextCallback(callback);\n this.setState(nextState, callback);\n };\n\n _proto.setNextCallback = function setNextCallback(callback) {\n var _this4 = this;\n\n var active = true;\n\n this.nextCallback = function (event) {\n if (active) {\n active = false;\n _this4.nextCallback = null;\n callback(event);\n }\n };\n\n this.nextCallback.cancel = function () {\n active = false;\n };\n\n return this.nextCallback;\n };\n\n _proto.onTransitionEnd = function onTransitionEnd(timeout, handler) {\n this.setNextCallback(handler);\n var node = this.props.nodeRef ? this.props.nodeRef.current : ReactDOM.findDOMNode(this);\n var doesNotHaveTimeoutOrListener = timeout == null && !this.props.addEndListener;\n\n if (!node || doesNotHaveTimeoutOrListener) {\n setTimeout(this.nextCallback, 0);\n return;\n }\n\n if (this.props.addEndListener) {\n var _ref3 = this.props.nodeRef ? [this.nextCallback] : [node, this.nextCallback],\n maybeNode = _ref3[0],\n maybeNextCallback = _ref3[1];\n\n this.props.addEndListener(maybeNode, maybeNextCallback);\n }\n\n if (timeout != null) {\n setTimeout(this.nextCallback, timeout);\n }\n };\n\n _proto.render = function render() {\n var status = this.state.status;\n\n if (status === UNMOUNTED) {\n return null;\n }\n\n var _this$props = this.props,\n children = _this$props.children,\n _in = _this$props.in,\n _mountOnEnter = _this$props.mountOnEnter,\n _unmountOnExit = _this$props.unmountOnExit,\n _appear = _this$props.appear,\n _enter = _this$props.enter,\n _exit = _this$props.exit,\n _timeout = _this$props.timeout,\n _addEndListener = _this$props.addEndListener,\n _onEnter = _this$props.onEnter,\n _onEntering = _this$props.onEntering,\n _onEntered = _this$props.onEntered,\n _onExit = _this$props.onExit,\n _onExiting = _this$props.onExiting,\n _onExited = _this$props.onExited,\n _nodeRef = _this$props.nodeRef,\n childProps = _objectWithoutPropertiesLoose(_this$props, [\"children\", \"in\", \"mountOnEnter\", \"unmountOnExit\", \"appear\", \"enter\", \"exit\", \"timeout\", \"addEndListener\", \"onEnter\", \"onEntering\", \"onEntered\", \"onExit\", \"onExiting\", \"onExited\", \"nodeRef\"]);\n\n return (\n /*#__PURE__*/\n // allows for nested Transitions\n React.createElement(TransitionGroupContext.Provider, {\n value: null\n }, typeof children === 'function' ? children(status, childProps) : React.cloneElement(React.Children.only(children), childProps))\n );\n };\n\n return Transition;\n}(React.Component);\n\nTransition.contextType = TransitionGroupContext;\nTransition.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * A React reference to DOM element that need to transition:\n * https://stackoverflow.com/a/51127130/4671932\n *\n * - When `nodeRef` prop is used, `node` is not passed to callback functions\n * (e.g. `onEnter`) because user already has direct access to the node.\n * - When changing `key` prop of `Transition` in a `TransitionGroup` a new\n * `nodeRef` need to be provided to `Transition` with changed `key` prop\n * (see\n * [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).\n */\n nodeRef: PropTypes.shape({\n current: typeof Element === 'undefined' ? PropTypes.any : function (propValue, key, componentName, location, propFullName, secret) {\n var value = propValue[key];\n return PropTypes.instanceOf(value && 'ownerDocument' in value ? value.ownerDocument.defaultView.Element : Element)(propValue, key, componentName, location, propFullName, secret);\n }\n }),\n\n /**\n * A `function` child can be used instead of a React element. This function is\n * called with the current transition status (`'entering'`, `'entered'`,\n * `'exiting'`, `'exited'`), which can be used to apply context\n * specific props to a component.\n *\n * ```jsx\n * <Transition in={this.state.in} timeout={150}>\n * {state => (\n * <MyComponent className={`fade fade-${state}`} />\n * )}\n * </Transition>\n * ```\n */\n children: PropTypes.oneOfType([PropTypes.func.isRequired, PropTypes.element.isRequired]).isRequired,\n\n /**\n * Show the component; triggers the enter or exit states\n */\n in: PropTypes.bool,\n\n /**\n * By default the child component is mounted immediately along with\n * the parent `Transition` component. If you want to \"lazy mount\" the component on the\n * first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay\n * mounted, even on \"exited\", unless you also specify `unmountOnExit`.\n */\n mountOnEnter: PropTypes.bool,\n\n /**\n * By default the child component stays mounted after it reaches the `'exited'` state.\n * Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.\n */\n unmountOnExit: PropTypes.bool,\n\n /**\n * By default the child component does not perform the enter transition when\n * it first mounts, regardless of the value of `in`. If you want this\n * behavior, set both `appear` and `in` to `true`.\n *\n * > **Note**: there are no special appear states like `appearing`/`appeared`, this prop\n * > only adds an additional enter transition. However, in the\n * > `<CSSTransition>` component that first enter transition does result in\n * > additional `.appear-*` classes, that way you can choose to style it\n * > differently.\n */\n appear: PropTypes.bool,\n\n /**\n * Enable or disable enter transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * Enable or disable exit transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * The duration of the transition, in milliseconds.\n * Required unless `addEndListener` is provided.\n *\n * You may specify a single timeout for all transitions:\n *\n * ```jsx\n * timeout={500}\n * ```\n *\n * or individually:\n *\n * ```jsx\n * timeout={{\n * appear: 500,\n * enter: 300,\n * exit: 500,\n * }}\n * ```\n *\n * - `appear` defaults to the value of `enter`\n * - `enter` defaults to `0`\n * - `exit` defaults to `0`\n *\n * @type {number | { enter?: number, exit?: number, appear?: number }}\n */\n timeout: function timeout(props) {\n var pt = timeoutsShape;\n if (!props.addEndListener) pt = pt.isRequired;\n\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return pt.apply(void 0, [props].concat(args));\n },\n\n /**\n * Add a custom transition end trigger. Called with the transitioning\n * DOM node and a `done` callback. Allows for more fine grained transition end\n * logic. Timeouts are still used as a fallback if provided.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * ```jsx\n * addEndListener={(node, done) => {\n * // use the css transitionend event to mark the finish of a transition\n * node.addEventListener('transitionend', done, false);\n * }}\n * ```\n */\n addEndListener: PropTypes.func,\n\n /**\n * Callback fired before the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEnter: PropTypes.func,\n\n /**\n * Callback fired after the \"entering\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool)\n */\n onEntering: PropTypes.func,\n\n /**\n * Callback fired after the \"entered\" status is applied. An extra parameter\n * `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement, isAppearing: bool) -> void\n */\n onEntered: PropTypes.func,\n\n /**\n * Callback fired before the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExit: PropTypes.func,\n\n /**\n * Callback fired after the \"exiting\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed.\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExiting: PropTypes.func,\n\n /**\n * Callback fired after the \"exited\" status is applied.\n *\n * **Note**: when `nodeRef` prop is passed, `node` is not passed\n *\n * @type Function(node: HtmlElement) -> void\n */\n onExited: PropTypes.func\n} : {}; // Name the function so it is clearer in the documentation\n\nfunction noop() {}\n\nTransition.defaultProps = {\n in: false,\n mountOnEnter: false,\n unmountOnExit: false,\n appear: false,\n enter: true,\n exit: true,\n onEnter: noop,\n onEntering: noop,\n onEntered: noop,\n onExit: noop,\n onExiting: noop,\n onExited: noop\n};\nTransition.UNMOUNTED = UNMOUNTED;\nTransition.EXITED = EXITED;\nTransition.ENTERING = ENTERING;\nTransition.ENTERED = ENTERED;\nTransition.EXITING = EXITING;\nexport default Transition;"],"names":["UNMOUNTED","EXITED","ENTERING","ENTERED","EXITING","Transition","_React$Component","props","context","_this","call","this","initialStatus","appear","isMounting","enter","appearStatus","in","unmountOnExit","mountOnEnter","state","status","nextCallback","_inheritsLoose","getDerivedStateFromProps","_ref","prevState","_proto","prototype","componentDidMount","updateStatus","componentDidUpdate","prevProps","nextStatus","componentWillUnmount","cancelNextCallback","getTimeouts","exit","timeout","undefined","mounting","node","nodeRef","current","ReactDOM","findDOMNode","forceReflow","performEnter","performExit","setState","_this2","appearing","_ref2","maybeNode","maybeAppearing","timeouts","enterTimeout","config","disabled","safeSetState","onEntered","onEnter","onEntering","onTransitionEnd","_this3","onExit","onExiting","onExited","cancel","nextState","callback","setNextCallback","_this4","active","event","handler","doesNotHaveTimeoutOrListener","addEndListener","_ref3","maybeNextCallback","setTimeout","render","_this$props","children","childProps","_objectWithoutPropertiesLoose","React","createElement","TransitionGroupContext","Provider","value","cloneElement","Children","only","Component","noop","contextType","propTypes","process","env","NODE_ENV","PropTypes","shape","Element","any","propValue","key","componentName","location","propFullName","secret","instanceOf","ownerDocument","defaultView","oneOfType","func","isRequired","element","bool","pt","timeoutsShape","_len","arguments","length","args","Array","_key","apply","concat","defaultProps"],"mappings":"qZASU,IAACA,EAAY,YACZC,EAAS,SACTC,EAAW,WACXC,EAAU,UACVC,EAAU,UA6FjBC,EAA0B,SAAUC,GAGtC,SAASD,EAAWE,EAAOC,GACzB,IAAIC,EAEJA,EAAQH,EAAiBI,KAAKC,KAAMJ,EAAOC,IAAYG,KACvD,IAGIC,EADAC,EAFcL,MAEuBM,WAAaP,EAAMQ,MAAQR,EAAMM,OAuB1E,OArBAJ,EAAMO,aAAe,KAEjBT,EAAMU,GACJJ,GACFD,EAAgBX,EAChBQ,EAAMO,aAAed,GAErBU,EAAgBT,EAIhBS,EADEL,EAAMW,eAAiBX,EAAMY,aACfnB,EAEAC,EAIpBQ,EAAMW,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B,KAKjBjF,KAAMgE,EAAUiB,KA4BhBhF,QAAS,SAAiB/B,GACxB,IAAIgH,EAAKC,EACJjH,EAAMsE,iBAAgB0C,EAAKA,EAAGH,YAEnC,IAAK,IAAIK,EAAOC,UAAUC,OAAQC,EAAO,IAAIC,MAAMJ,EAAO,EAAIA,EAAO,EAAI,GAAIK,EAAO,EAAGA,EAAOL,EAAMK,IAClGF,EAAKE,EAAO,GAAKJ,UAAUI,GAG7B,OAAOP,EAAGQ,WAAM,EAAQ,CAACxH,GAAOyH,OAAOJ,GACxC,EAgBD/C,eAAgBwB,EAAUc,KAU1BtD,QAASwC,EAAUc,KAUnBrD,WAAYuC,EAAUc,KAUtBvD,UAAWyC,EAAUc,KASrBlD,OAAQoC,EAAUc,KASlBjD,UAAWmC,EAAUc,KASrBhD,SAAUkC,EAAUc,MAClB,GAIJ9G,EAAW4H,aAAe,CACxBhH,IAAI,EACJE,cAAc,EACdD,eAAe,EACfL,QAAQ,EACRE,OAAO,EACPsB,MAAM,EACNwB,QAASkC,EACTjC,WAAYiC,EACZnC,UAAWmC,EACX9B,OAAQ8B,EACR7B,UAAW6B,EACX5B,SAAU4B,GAEZ1F,EAAWL,UAAYA,EACvBK,EAAWJ,OAASA,EACpBI,EAAWH,SAAWA,EACtBG,EAAWF,QAAUA,EACrBE,EAAWD,QAAUA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";import t from"../../@babel/runtime/helpers/esm/extends.js";import n from"../../@babel/runtime/helpers/esm/assertThisInitialized.js";import r from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import o from"../../../_virtual/
|
|
1
|
+
import e from"../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js";import t from"../../@babel/runtime/helpers/esm/extends.js";import n from"../../@babel/runtime/helpers/esm/assertThisInitialized.js";import r from"../../@babel/runtime/helpers/esm/inheritsLoose.js";import o from"../../../_virtual/index3.js";import i from"react";import s from"./TransitionGroupContext.js";import{getInitialChildMapping as a,getNextChildMapping as l,getChildMapping as p}from"./utils/ChildMapping.js";var c=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},d=function(o){function d(e,t){var r,i=(r=o.call(this,e,t)||this).handleExited.bind(n(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}r(d,o);var u=d.prototype;return u.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},u.componentWillUnmount=function(){this.mounted=!1},d.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?a(e,r):l(e,n,r),firstRender:!1}},u.handleExited=function(e,n){var r=p(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(n),this.mounted&&this.setState(function(n){var r=t({},n.children);return delete r[e.key],{children:r}}))},u.render=function(){var t=this.props,n=t.component,r=t.childFactory,o=e(t,["component","childFactory"]),a=this.state.contextValue,l=c(this.state.children).map(r);return delete o.appear,delete o.enter,delete o.exit,null===n?i.createElement(s.Provider,{value:a},l):i.createElement(s.Provider,{value:a},i.createElement(n,o,l))},d}(i.Component);d.propTypes="production"!==process.env.NODE_ENV?{component:o.any,children:o.node,appear:o.bool,enter:o.bool,exit:o.bool,childFactory:o.func}:{},d.defaultProps={component:"div",childFactory:function(e){return e}};export{d as default};
|
|
2
2
|
//# sourceMappingURL=TransitionGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransitionGroup.js","sources":["../../../../node_modules/react-transition-group/esm/TransitionGroup.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `<TransitionGroup>` renders a `<div>` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `<div>` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `<Transition>` components, that are toggled `in` and out as they\n * leave. the `<TransitionGroup>` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `<Transition>` as\n * with our `<Fade>` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;"],"names":["values","Object","obj","keys","map","k","TransitionGroup","_React$Component","props","context","_this","handleExited","call","this","bind","_assertThisInitialized","state","contextValue","isMounting","firstRender","_inheritsLoose","_proto","prototype","componentDidMount","mounted","setState","componentWillUnmount","getDerivedStateFromProps","nextProps","_ref","prevChildMapping","children","getInitialChildMapping","getNextChildMapping","child","node","currentChildMapping","getChildMapping","key","onExited","_extends","render","_this$props","Component","component","childFactory","_objectWithoutPropertiesLoose","appear","enter","exit","React","createElement","TransitionGroupContext","Provider","value","propTypes","process","env","NODE_ENV","PropTypes","any","bool","func","defaultProps"],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransitionGroup.js","sources":["../../../../node_modules/react-transition-group/esm/TransitionGroup.js"],"sourcesContent":["import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport TransitionGroupContext from './TransitionGroupContext';\nimport { getChildMapping, getInitialChildMapping, getNextChildMapping } from './utils/ChildMapping';\n\nvar values = Object.values || function (obj) {\n return Object.keys(obj).map(function (k) {\n return obj[k];\n });\n};\n\nvar defaultProps = {\n component: 'div',\n childFactory: function childFactory(child) {\n return child;\n }\n};\n/**\n * The `<TransitionGroup>` component manages a set of transition components\n * (`<Transition>` and `<CSSTransition>`) in a list. Like with the transition\n * components, `<TransitionGroup>` is a state machine for managing the mounting\n * and unmounting of components over time.\n *\n * Consider the example below. As items are removed or added to the TodoList the\n * `in` prop is toggled automatically by the `<TransitionGroup>`.\n *\n * Note that `<TransitionGroup>` does not define any animation behavior!\n * Exactly _how_ a list item animates is up to the individual transition\n * component. This means you can mix and match animations across different list\n * items.\n */\n\nvar TransitionGroup = /*#__PURE__*/function (_React$Component) {\n _inheritsLoose(TransitionGroup, _React$Component);\n\n function TransitionGroup(props, context) {\n var _this;\n\n _this = _React$Component.call(this, props, context) || this;\n\n var handleExited = _this.handleExited.bind(_assertThisInitialized(_this)); // Initial children should all be entering, dependent on appear\n\n\n _this.state = {\n contextValue: {\n isMounting: true\n },\n handleExited: handleExited,\n firstRender: true\n };\n return _this;\n }\n\n var _proto = TransitionGroup.prototype;\n\n _proto.componentDidMount = function componentDidMount() {\n this.mounted = true;\n this.setState({\n contextValue: {\n isMounting: false\n }\n });\n };\n\n _proto.componentWillUnmount = function componentWillUnmount() {\n this.mounted = false;\n };\n\n TransitionGroup.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {\n var prevChildMapping = _ref.children,\n handleExited = _ref.handleExited,\n firstRender = _ref.firstRender;\n return {\n children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),\n firstRender: false\n };\n } // node is `undefined` when user provided `nodeRef` prop\n ;\n\n _proto.handleExited = function handleExited(child, node) {\n var currentChildMapping = getChildMapping(this.props.children);\n if (child.key in currentChildMapping) return;\n\n if (child.props.onExited) {\n child.props.onExited(node);\n }\n\n if (this.mounted) {\n this.setState(function (state) {\n var children = _extends({}, state.children);\n\n delete children[child.key];\n return {\n children: children\n };\n });\n }\n };\n\n _proto.render = function render() {\n var _this$props = this.props,\n Component = _this$props.component,\n childFactory = _this$props.childFactory,\n props = _objectWithoutPropertiesLoose(_this$props, [\"component\", \"childFactory\"]);\n\n var contextValue = this.state.contextValue;\n var children = values(this.state.children).map(childFactory);\n delete props.appear;\n delete props.enter;\n delete props.exit;\n\n if (Component === null) {\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, children);\n }\n\n return /*#__PURE__*/React.createElement(TransitionGroupContext.Provider, {\n value: contextValue\n }, /*#__PURE__*/React.createElement(Component, props, children));\n };\n\n return TransitionGroup;\n}(React.Component);\n\nTransitionGroup.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /**\n * `<TransitionGroup>` renders a `<div>` by default. You can change this\n * behavior by providing a `component` prop.\n * If you use React v16+ and would like to avoid a wrapping `<div>` element\n * you can pass in `component={null}`. This is useful if the wrapping div\n * borks your css styles.\n */\n component: PropTypes.any,\n\n /**\n * A set of `<Transition>` components, that are toggled `in` and out as they\n * leave. the `<TransitionGroup>` will inject specific transition props, so\n * remember to spread them through if you are wrapping the `<Transition>` as\n * with our `<Fade>` example.\n *\n * While this component is meant for multiple `Transition` or `CSSTransition`\n * children, sometimes you may want to have a single transition child with\n * content that you want to be transitioned out and in when you change it\n * (e.g. routes, images etc.) In that case you can change the `key` prop of\n * the transition child as you change its content, this will cause\n * `TransitionGroup` to transition the child out and back in.\n */\n children: PropTypes.node,\n\n /**\n * A convenience prop that enables or disables appear animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n appear: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables enter animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n enter: PropTypes.bool,\n\n /**\n * A convenience prop that enables or disables exit animations\n * for all children. Note that specifying this will override any defaults set\n * on individual children Transitions.\n */\n exit: PropTypes.bool,\n\n /**\n * You may need to apply reactive updates to a child as it is exiting.\n * This is generally done by using `cloneElement` however in the case of an exiting\n * child the element has already been removed and not accessible to the consumer.\n *\n * If you do need to update a child as it leaves you can provide a `childFactory`\n * to wrap every child, even the ones that are leaving.\n *\n * @type Function(child: ReactElement) -> ReactElement\n */\n childFactory: PropTypes.func\n} : {};\nTransitionGroup.defaultProps = defaultProps;\nexport default TransitionGroup;"],"names":["values","Object","obj","keys","map","k","TransitionGroup","_React$Component","props","context","_this","handleExited","call","this","bind","_assertThisInitialized","state","contextValue","isMounting","firstRender","_inheritsLoose","_proto","prototype","componentDidMount","mounted","setState","componentWillUnmount","getDerivedStateFromProps","nextProps","_ref","prevChildMapping","children","getInitialChildMapping","getNextChildMapping","child","node","currentChildMapping","getChildMapping","key","onExited","_extends","render","_this$props","Component","component","childFactory","_objectWithoutPropertiesLoose","appear","enter","exit","React","createElement","TransitionGroupContext","Provider","value","propTypes","process","env","NODE_ENV","PropTypes","any","bool","func","defaultProps"],"mappings":"+eASA,IAAIA,EAASC,OAAOD,QAAU,SAAUE,GACtC,OAAOD,OAAOE,KAAKD,GAAKE,IAAI,SAAUC,GACpC,OAAOH,EAAIG,EACf,EACA,EAuBIC,EAA+B,SAAUC,GAG3C,SAASD,EAAgBE,EAAOC,GAC9B,IAAIC,EAIAC,GAFJD,EAAQH,EAAiBK,KAAKC,KAAML,EAAOC,IAAYI,MAE9BF,aAAaG,KAAKC,EAAuBL,IAUlE,OAPAA,EAAMM,MAAQ,CACZC,aAAc,CACZC,YAAY,GAEdP,aAAcA,EACdQ,aAAa,GAERT,CACR,CAlBDU,EAAed,EAAiBC,GAoBhC,IAAIc,EAASf,EAAgBgB,UAqE7B,OAnEAD,EAAOE,kBAAoB,WACzBV,KAAKW,SAAU,EACfX,KAAKY,SAAS,CACZR,aAAc,CACZC,YAAY,IAGpB,EAEEG,EAAOK,qBAAuB,WAC5Bb,KAAKW,SAAU,CACnB,EAEElB,EAAgBqB,yBAA2B,SAAkCC,EAAWC,GACtF,IAAIC,EAAmBD,EAAKE,SACxBpB,EAAekB,EAAKlB,aAExB,MAAO,CACLoB,SAFgBF,EAAKV,YAEGa,EAAuBJ,EAAWjB,GAAgBsB,EAAoBL,EAAWE,EAAkBnB,GAC3HQ,aAAa,EAEhB,EAGDE,EAAOV,aAAe,SAAsBuB,EAAOC,GACjD,IAAIC,EAAsBC,EAAgBxB,KAAKL,MAAMuB,UACjDG,EAAMI,OAAOF,IAEbF,EAAM1B,MAAM+B,UACdL,EAAM1B,MAAM+B,SAASJ,GAGnBtB,KAAKW,SACPX,KAAKY,SAAS,SAAUT,GACtB,IAAIe,EAAWS,EAAS,CAAE,EAAExB,EAAMe,UAGlC,cADOA,EAASG,EAAMI,KACf,CACLP,SAAUA,EAEpB,GAEA,EAEEV,EAAOoB,OAAS,WACd,IAAIC,EAAc7B,KAAKL,MACnBmC,EAAYD,EAAYE,UACxBC,EAAeH,EAAYG,aAC3BrC,EAAQsC,EAA8BJ,EAAa,CAAC,YAAa,iBAEjEzB,EAAeJ,KAAKG,MAAMC,aAC1Bc,EAAW/B,EAAOa,KAAKG,MAAMe,UAAU3B,IAAIyC,GAK/C,cAJOrC,EAAMuC,cACNvC,EAAMwC,aACNxC,EAAMyC,KAEK,OAAdN,EACkBO,EAAMC,cAAcC,EAAuBC,SAAU,CACvEC,MAAOrC,GACNc,GAGemB,EAAMC,cAAcC,EAAuBC,SAAU,CACvEC,MAAOrC,GACOiC,EAAMC,cAAcR,EAAWnC,EAAOuB,GAC1D,EAESzB,CACT,CA3FmC,CA2FjC4C,EAAMP,WAERrC,EAAgBiD,UAAqC,eAAzBC,QAAQC,IAAIC,SAA4B,CAQlEd,UAAWe,EAAUC,IAerB7B,SAAU4B,EAAUxB,KAOpBY,OAAQY,EAAUE,KAOlBb,MAAOW,EAAUE,KAOjBZ,KAAMU,EAAUE,KAYhBhB,aAAcc,EAAUG,MACtB,GACJxD,EAAgByD,aA5KG,CACjBnB,UAAW,MACXC,aAAc,SAAsBX,GAClC,OAAOA,CACR"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"../../../../_virtual/
|
|
1
|
+
import e from"../../../../_virtual/index3.js";var n="production"!==process.env.NODE_ENV?e.oneOfType([e.number,e.shape({enter:e.number,exit:e.number,appear:e.number}).isRequired]):null,r="production"!==process.env.NODE_ENV?e.oneOfType([e.string,e.shape({enter:e.string,exit:e.string,active:e.string}),e.shape({enter:e.string,enterDone:e.string,enterActive:e.string,exit:e.string,exitDone:e.string,exitActive:e.string})]):null;export{r as classNamesShape,n as timeoutsShape};
|
|
2
2
|
//# sourceMappingURL=PropTypes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropTypes.js","sources":["../../../../../node_modules/react-transition-group/esm/utils/PropTypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;"],"names":["timeoutsShape","process","env","NODE_ENV","PropTypes","oneOfType","number","shape","enter","exit","appear","isRequired","classNamesShape","string","active","enterDone","enterActive","exitDone","exitActive"],"mappings":"
|
|
1
|
+
{"version":3,"file":"PropTypes.js","sources":["../../../../../node_modules/react-transition-group/esm/utils/PropTypes.js"],"sourcesContent":["import PropTypes from 'prop-types';\nexport var timeoutsShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.number, PropTypes.shape({\n enter: PropTypes.number,\n exit: PropTypes.number,\n appear: PropTypes.number\n}).isRequired]) : null;\nexport var classNamesShape = process.env.NODE_ENV !== 'production' ? PropTypes.oneOfType([PropTypes.string, PropTypes.shape({\n enter: PropTypes.string,\n exit: PropTypes.string,\n active: PropTypes.string\n}), PropTypes.shape({\n enter: PropTypes.string,\n enterDone: PropTypes.string,\n enterActive: PropTypes.string,\n exit: PropTypes.string,\n exitDone: PropTypes.string,\n exitActive: PropTypes.string\n})]) : null;"],"names":["timeoutsShape","process","env","NODE_ENV","PropTypes","oneOfType","number","shape","enter","exit","appear","isRequired","classNamesShape","string","active","enterDone","enterActive","exitDone","exitActive"],"mappings":"8CACU,IAACA,EAAyC,eAAzBC,QAAQC,IAAIC,SAA4BC,EAAUC,UAAU,CAACD,EAAUE,OAAQF,EAAUG,MAAM,CACxHC,MAAOJ,EAAUE,OACjBG,KAAML,EAAUE,OAChBI,OAAQN,EAAUE,SACjBK,aAAe,KACPC,EAA2C,eAAzBX,QAAQC,IAAIC,SAA4BC,EAAUC,UAAU,CAACD,EAAUS,OAAQT,EAAUG,MAAM,CAC1HC,MAAOJ,EAAUS,OACjBJ,KAAML,EAAUS,OAChBC,OAAQV,EAAUS,SAChBT,EAAUG,MAAM,CAClBC,MAAOJ,EAAUS,OACjBE,UAAWX,EAAUS,OACrBG,YAAaZ,EAAUS,OACvBJ,KAAML,EAAUS,OAChBI,SAAUb,EAAUS,OACpBK,WAAYd,EAAUS,WACjB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{bail as n}from"../../bail/index.js";import e from"../../../_virtual/
|
|
1
|
+
import{bail as n}from"../../bail/index.js";import e from"../../../_virtual/index7.js";import r from"../../../_virtual/index8.js";import t from"../../is-plain-obj/index.js";import{trough as o}from"../../trough/lib/index.js";import{VFile as i}from"../../vfile/lib/index.js";const s=function i(){const s=o(),w=[];let m,d={},h=-1;return b.data=function(n,e){if("string"==typeof n)return 2===arguments.length?(p("data",m),d[n]=e,b):f.call(d,n)&&d[n]||null;if(n)return p("data",m),d=n,b;return d},b.Parser=void 0,b.Compiler=void 0,b.freeze=function(){if(m)return b;for(;++h<w.length;){const[n,...e]=w[h];if(!1===e[0])continue;!0===e[0]&&(e[0]=void 0);const r=n.call(b,...e);"function"==typeof r&&s.use(r)}return m=!0,h=Number.POSITIVE_INFINITY,b},b.attachers=w,b.use=function(n,...e){let o;if(p("use",m),null==n);else if("function"==typeof n)u(n,...e);else{if("object"!=typeof n)throw new TypeError("Expected usable value, not `"+n+"`");Array.isArray(n)?f(n):s(n)}o&&(d.settings=Object.assign(d.settings||{},o));return b;function i(n){if("function"==typeof n)u(n);else{if("object"!=typeof n)throw new TypeError("Expected usable value, not `"+n+"`");if(Array.isArray(n)){const[e,...r]=n;u(e,...r)}else s(n)}}function s(n){f(n.plugins),n.settings&&(o=Object.assign(o||{},n.settings))}function f(n){let e=-1;if(null==n);else{if(!Array.isArray(n))throw new TypeError("Expected a list of plugins, not `"+n+"`");for(;++e<n.length;){i(n[e])}}}function u(n,e){let o,i=-1;for(;++i<w.length;)if(w[i][0]===n){o=w[i];break}o?(t(o[1])&&t(e)&&(e=r(!0,o[1],e)),o[1]=e):w.push([...arguments])}},b.parse=function(n){b.freeze();const e=g(n),r=b.Parser;if(c("parse",r),u(r,"parse"))return new r(String(e),e).parse();return r(String(e),e)},b.stringify=function(n,e){b.freeze();const r=g(e),t=b.Compiler;if(l("stringify",t),a(n),u(t,"compile"))return new t(n,r).compile();return t(n,r)},b.run=function(n,e,r){a(n),b.freeze(),r||"function"!=typeof e||(r=e,e=void 0);if(!r)return new Promise(t);function t(t,o){function i(e,i,s){i=i||n,e?o(e):t?t(i):r(null,i,s)}s.run(n,g(e),i)}t(null,r)},b.runSync=function(e,r){let t,o;return b.run(e,r,i),y("runSync","run",o),t;function i(e,r){n(e),t=r,o=!0}},b.process=function(n,r){if(b.freeze(),c("process",b.Parser),l("process",b.Compiler),!r)return new Promise(t);function t(t,o){const i=g(n);function s(n,e){n||!e?o(n):t?t(e):r(null,e)}b.run(b.parse(i),i,(n,r,t)=>{if(!n&&r&&t){const i=b.stringify(r,t);null==i||("string"==typeof(o=i)||e(o)?t.value=i:t.result=i),s(n,t)}else s(n);var o})}t(null,r)},b.processSync=function(e){let r;b.freeze(),c("processSync",b.Parser),l("processSync",b.Compiler);const t=g(e);return b.process(t,o),y("processSync","process",r),t;function o(e){r=!0,n(e)}},b;function b(){const n=i();let e=-1;for(;++e<w.length;)n.use(...w[e]);return n.data(r(!0,{},d)),n}}().freeze(),f={}.hasOwnProperty;function u(n,e){return"function"==typeof n&&n.prototype&&(function(n){let e;for(e in n)if(f.call(n,e))return!0;return!1}(n.prototype)||e in n.prototype)}function c(n,e){if("function"!=typeof e)throw new TypeError("Cannot `"+n+"` without `Parser`")}function l(n,e){if("function"!=typeof e)throw new TypeError("Cannot `"+n+"` without `Compiler`")}function p(n,e){if(e)throw new Error("Cannot call `"+n+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function a(n){if(!t(n)||"string"!=typeof n.type)throw new TypeError("Expected node, got `"+n+"`")}function y(n,e,r){if(!r)throw new Error("`"+n+"` finished async. Use `"+e+"` instead")}function g(n){return function(n){return Boolean(n&&"object"==typeof n&&"message"in n&&"messages"in n)}(n)?n:new i(n)}export{s as unified};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../node_modules/unified/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('vfile').VFileCompatible} VFileCompatible\n * @typedef {import('vfile').VFileValue} VFileValue\n * @typedef {import('..').Processor} Processor\n * @typedef {import('..').Plugin} Plugin\n * @typedef {import('..').Preset} Preset\n * @typedef {import('..').Pluggable} Pluggable\n * @typedef {import('..').PluggableList} PluggableList\n * @typedef {import('..').Transformer} Transformer\n * @typedef {import('..').Parser} Parser\n * @typedef {import('..').Compiler} Compiler\n * @typedef {import('..').RunCallback} RunCallback\n * @typedef {import('..').ProcessCallback} ProcessCallback\n *\n * @typedef Context\n * @property {Node} tree\n * @property {VFile} file\n */\n\nimport {bail} from 'bail'\nimport isBuffer from 'is-buffer'\nimport extend from 'extend'\nimport isPlainObj from 'is-plain-obj'\nimport {trough} from 'trough'\nimport {VFile} from 'vfile'\n\n// Expose a frozen processor.\nexport const unified = base().freeze()\n\nconst own = {}.hasOwnProperty\n\n// Function to create the first processor.\n/**\n * @returns {Processor}\n */\nfunction base() {\n const transformers = trough()\n /** @type {Processor['attachers']} */\n const attachers = []\n /** @type {Record<string, unknown>} */\n let namespace = {}\n /** @type {boolean|undefined} */\n let frozen\n let freezeIndex = -1\n\n // Data management.\n // @ts-expect-error: overloads are handled.\n processor.data = data\n processor.Parser = undefined\n processor.Compiler = undefined\n\n // Lock.\n processor.freeze = freeze\n\n // Plugins.\n processor.attachers = attachers\n // @ts-expect-error: overloads are handled.\n processor.use = use\n\n // API.\n processor.parse = parse\n processor.stringify = stringify\n // @ts-expect-error: overloads are handled.\n processor.run = run\n processor.runSync = runSync\n // @ts-expect-error: overloads are handled.\n processor.process = process\n processor.processSync = processSync\n\n // Expose.\n return processor\n\n // Create a new processor based on the processor in the current scope.\n /** @type {Processor} */\n function processor() {\n const destination = base()\n let index = -1\n\n while (++index < attachers.length) {\n destination.use(...attachers[index])\n }\n\n destination.data(extend(true, {}, namespace))\n\n return destination\n }\n\n /**\n * @param {string|Record<string, unknown>} [key]\n * @param {unknown} [value]\n * @returns {unknown}\n */\n function data(key, value) {\n if (typeof key === 'string') {\n // Set `key`.\n if (arguments.length === 2) {\n assertUnfrozen('data', frozen)\n namespace[key] = value\n return processor\n }\n\n // Get `key`.\n return (own.call(namespace, key) && namespace[key]) || null\n }\n\n // Set space.\n if (key) {\n assertUnfrozen('data', frozen)\n namespace = key\n return processor\n }\n\n // Get space.\n return namespace\n }\n\n /** @type {Processor['freeze']} */\n function freeze() {\n if (frozen) {\n return processor\n }\n\n while (++freezeIndex < attachers.length) {\n const [attacher, ...options] = attachers[freezeIndex]\n\n if (options[0] === false) {\n continue\n }\n\n if (options[0] === true) {\n options[0] = undefined\n }\n\n /** @type {Transformer|void} */\n const transformer = attacher.call(processor, ...options)\n\n if (typeof transformer === 'function') {\n transformers.use(transformer)\n }\n }\n\n frozen = true\n freezeIndex = Number.POSITIVE_INFINITY\n\n return processor\n }\n\n /**\n * @param {Pluggable|null|undefined} [value]\n * @param {...unknown} options\n * @returns {Processor}\n */\n function use(value, ...options) {\n /** @type {Record<string, unknown>|undefined} */\n let settings\n\n assertUnfrozen('use', frozen)\n\n if (value === null || value === undefined) {\n // Empty.\n } else if (typeof value === 'function') {\n addPlugin(value, ...options)\n } else if (typeof value === 'object') {\n if (Array.isArray(value)) {\n addList(value)\n } else {\n addPreset(value)\n }\n } else {\n throw new TypeError('Expected usable value, not `' + value + '`')\n }\n\n if (settings) {\n namespace.settings = Object.assign(namespace.settings || {}, settings)\n }\n\n return processor\n\n /**\n * @param {import('..').Pluggable<unknown[]>} value\n * @returns {void}\n */\n function add(value) {\n if (typeof value === 'function') {\n addPlugin(value)\n } else if (typeof value === 'object') {\n if (Array.isArray(value)) {\n const [plugin, ...options] = value\n addPlugin(plugin, ...options)\n } else {\n addPreset(value)\n }\n } else {\n throw new TypeError('Expected usable value, not `' + value + '`')\n }\n }\n\n /**\n * @param {Preset} result\n * @returns {void}\n */\n function addPreset(result) {\n addList(result.plugins)\n\n if (result.settings) {\n settings = Object.assign(settings || {}, result.settings)\n }\n }\n\n /**\n * @param {PluggableList|null|undefined} [plugins]\n * @returns {void}\n */\n function addList(plugins) {\n let index = -1\n\n if (plugins === null || plugins === undefined) {\n // Empty.\n } else if (Array.isArray(plugins)) {\n while (++index < plugins.length) {\n const thing = plugins[index]\n add(thing)\n }\n } else {\n throw new TypeError('Expected a list of plugins, not `' + plugins + '`')\n }\n }\n\n /**\n * @param {Plugin} plugin\n * @param {...unknown} [value]\n * @returns {void}\n */\n function addPlugin(plugin, value) {\n let index = -1\n /** @type {Processor['attachers'][number]|undefined} */\n let entry\n\n while (++index < attachers.length) {\n if (attachers[index][0] === plugin) {\n entry = attachers[index]\n break\n }\n }\n\n if (entry) {\n if (isPlainObj(entry[1]) && isPlainObj(value)) {\n value = extend(true, entry[1], value)\n }\n\n entry[1] = value\n } else {\n // @ts-expect-error: fine.\n attachers.push([...arguments])\n }\n }\n }\n\n /** @type {Processor['parse']} */\n function parse(doc) {\n processor.freeze()\n const file = vfile(doc)\n const Parser = processor.Parser\n assertParser('parse', Parser)\n\n if (newable(Parser, 'parse')) {\n // @ts-expect-error: `newable` checks this.\n return new Parser(String(file), file).parse()\n }\n\n // @ts-expect-error: `newable` checks this.\n return Parser(String(file), file) // eslint-disable-line new-cap\n }\n\n /** @type {Processor['stringify']} */\n function stringify(node, doc) {\n processor.freeze()\n const file = vfile(doc)\n const Compiler = processor.Compiler\n assertCompiler('stringify', Compiler)\n assertNode(node)\n\n if (newable(Compiler, 'compile')) {\n // @ts-expect-error: `newable` checks this.\n return new Compiler(node, file).compile()\n }\n\n // @ts-expect-error: `newable` checks this.\n return Compiler(node, file) // eslint-disable-line new-cap\n }\n\n /**\n * @param {Node} node\n * @param {VFileCompatible|RunCallback} [doc]\n * @param {RunCallback} [callback]\n * @returns {Promise<Node>|void}\n */\n function run(node, doc, callback) {\n assertNode(node)\n processor.freeze()\n\n if (!callback && typeof doc === 'function') {\n callback = doc\n doc = undefined\n }\n\n if (!callback) {\n return new Promise(executor)\n }\n\n executor(null, callback)\n\n /**\n * @param {null|((node: Node) => void)} resolve\n * @param {(error: Error) => void} reject\n * @returns {void}\n */\n function executor(resolve, reject) {\n // @ts-expect-error: `doc` can’t be a callback anymore, we checked.\n transformers.run(node, vfile(doc), done)\n\n /**\n * @param {Error|null} error\n * @param {Node} tree\n * @param {VFile} file\n * @returns {void}\n */\n function done(error, tree, file) {\n tree = tree || node\n if (error) {\n reject(error)\n } else if (resolve) {\n resolve(tree)\n } else {\n // @ts-expect-error: `callback` is defined if `resolve` is not.\n callback(null, tree, file)\n }\n }\n }\n }\n\n /** @type {Processor['runSync']} */\n function runSync(node, file) {\n /** @type {Node|undefined} */\n let result\n /** @type {boolean|undefined} */\n let complete\n\n processor.run(node, file, done)\n\n assertDone('runSync', 'run', complete)\n\n // @ts-expect-error: we either bailed on an error or have a tree.\n return result\n\n /**\n * @param {Error|null} [error]\n * @param {Node} [tree]\n * @returns {void}\n */\n function done(error, tree) {\n bail(error)\n result = tree\n complete = true\n }\n }\n\n /**\n * @param {VFileCompatible} doc\n * @param {ProcessCallback} [callback]\n * @returns {Promise<VFile>|undefined}\n */\n function process(doc, callback) {\n processor.freeze()\n assertParser('process', processor.Parser)\n assertCompiler('process', processor.Compiler)\n\n if (!callback) {\n return new Promise(executor)\n }\n\n executor(null, callback)\n\n /**\n * @param {null|((file: VFile) => void)} resolve\n * @param {(error?: Error|null|undefined) => void} reject\n * @returns {void}\n */\n function executor(resolve, reject) {\n const file = vfile(doc)\n\n processor.run(processor.parse(file), file, (error, tree, file) => {\n if (error || !tree || !file) {\n done(error)\n } else {\n /** @type {unknown} */\n const result = processor.stringify(tree, file)\n\n if (result === undefined || result === null) {\n // Empty.\n } else if (looksLikeAVFileValue(result)) {\n file.value = result\n } else {\n file.result = result\n }\n\n done(error, file)\n }\n })\n\n /**\n * @param {Error|null|undefined} [error]\n * @param {VFile|undefined} [file]\n * @returns {void}\n */\n function done(error, file) {\n if (error || !file) {\n reject(error)\n } else if (resolve) {\n resolve(file)\n } else {\n // @ts-expect-error: `callback` is defined if `resolve` is not.\n callback(null, file)\n }\n }\n }\n }\n\n /** @type {Processor['processSync']} */\n function processSync(doc) {\n /** @type {boolean|undefined} */\n let complete\n\n processor.freeze()\n assertParser('processSync', processor.Parser)\n assertCompiler('processSync', processor.Compiler)\n\n const file = vfile(doc)\n\n processor.process(file, done)\n\n assertDone('processSync', 'process', complete)\n\n return file\n\n /**\n * @param {Error|null|undefined} [error]\n * @returns {void}\n */\n function done(error) {\n complete = true\n bail(error)\n }\n }\n}\n\n/**\n * Check if `value` is a constructor.\n *\n * @param {unknown} value\n * @param {string} name\n * @returns {boolean}\n */\nfunction newable(value, name) {\n return (\n typeof value === 'function' &&\n // Prototypes do exist.\n // type-coverage:ignore-next-line\n value.prototype &&\n // A function with keys in its prototype is probably a constructor.\n // Classes’ prototype methods are not enumerable, so we check if some value\n // exists in the prototype.\n // type-coverage:ignore-next-line\n (keys(value.prototype) || name in value.prototype)\n )\n}\n\n/**\n * Check if `value` is an object with keys.\n *\n * @param {Record<string, unknown>} value\n * @returns {boolean}\n */\nfunction keys(value) {\n /** @type {string} */\n let key\n\n for (key in value) {\n if (own.call(value, key)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Assert a parser is available.\n *\n * @param {string} name\n * @param {unknown} value\n * @returns {asserts value is Parser}\n */\nfunction assertParser(name, value) {\n if (typeof value !== 'function') {\n throw new TypeError('Cannot `' + name + '` without `Parser`')\n }\n}\n\n/**\n * Assert a compiler is available.\n *\n * @param {string} name\n * @param {unknown} value\n * @returns {asserts value is Compiler}\n */\nfunction assertCompiler(name, value) {\n if (typeof value !== 'function') {\n throw new TypeError('Cannot `' + name + '` without `Compiler`')\n }\n}\n\n/**\n * Assert the processor is not frozen.\n *\n * @param {string} name\n * @param {unknown} frozen\n * @returns {asserts frozen is false}\n */\nfunction assertUnfrozen(name, frozen) {\n if (frozen) {\n throw new Error(\n 'Cannot call `' +\n name +\n '` on a frozen processor.\\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.'\n )\n }\n}\n\n/**\n * Assert `node` is a unist node.\n *\n * @param {unknown} node\n * @returns {asserts node is Node}\n */\nfunction assertNode(node) {\n // `isPlainObj` unfortunately uses `any` instead of `unknown`.\n // type-coverage:ignore-next-line\n if (!isPlainObj(node) || typeof node.type !== 'string') {\n throw new TypeError('Expected node, got `' + node + '`')\n // Fine.\n }\n}\n\n/**\n * Assert that `complete` is `true`.\n *\n * @param {string} name\n * @param {string} asyncName\n * @param {unknown} complete\n * @returns {asserts complete is true}\n */\nfunction assertDone(name, asyncName, complete) {\n if (!complete) {\n throw new Error(\n '`' + name + '` finished async. Use `' + asyncName + '` instead'\n )\n }\n}\n\n/**\n * @param {VFileCompatible} [value]\n * @returns {VFile}\n */\nfunction vfile(value) {\n return looksLikeAVFile(value) ? value : new VFile(value)\n}\n\n/**\n * @param {VFileCompatible} [value]\n * @returns {value is VFile}\n */\nfunction looksLikeAVFile(value) {\n return Boolean(\n value &&\n typeof value === 'object' &&\n 'message' in value &&\n 'messages' in value\n )\n}\n\n/**\n * @param {unknown} [value]\n * @returns {value is VFileValue}\n */\nfunction looksLikeAVFileValue(value) {\n return typeof value === 'string' || isBuffer(value)\n}\n"],"names":["unified","base","transformers","trough","attachers","frozen","namespace","freezeIndex","processor","data","key","value","arguments","length","assertUnfrozen","own","call","Parser","undefined","Compiler","freeze","attacher","options","transformer","use","Number","POSITIVE_INFINITY","settings","addPlugin","TypeError","Array","isArray","addList","addPreset","Object","assign","add","plugin","result","plugins","index","entry","isPlainObj","extend","push","parse","doc","file","vfile","assertParser","newable","String","stringify","node","assertCompiler","assertNode","compile","run","callback","Promise","executor","resolve","reject","done","error","tree","runSync","complete","assertDone","bail","process","isBuffer","processSync","destination","hasOwnProperty","name","prototype","keys","Error","type","asyncName","Boolean","looksLikeAVFile","VFile"],"mappings":"kRA4BY,MAACA,EAQb,SAASC,IACP,MAAMC,EAAeC,IAEfC,EAAY,GAElB,IAEIC,EAFAC,EAAY,CAAE,EAGdC,GAAe,EA2BnB,OAvBAC,EAAUC,KA6CV,SAAcC,EAAKC,GACjB,GAAmB,iBAARD,EAET,OAAyB,IAArBE,UAAUC,QACZC,EAAe,OAAQT,GACvBC,EAAUI,GAAOC,EACVH,GAIDO,EAAIC,KAAKV,EAAWI,IAAQJ,EAAUI,IAAS,KAIzD,GAAIA,EAGF,OAFAI,EAAe,OAAQT,GACvBC,EAAYI,EACLF,EAIT,OAAOF,CACR,EAlEDE,EAAUS,YAASC,EACnBV,EAAUW,cAAWD,EAGrBV,EAAUY,OAiEV,WACE,GAAIf,EACF,OAAOG,EAGT,OAASD,EAAcH,EAAUS,QAAQ,CACvC,MAAOQ,KAAaC,GAAWlB,EAAUG,GAEzC,IAAmB,IAAfe,EAAQ,GACV,UAGiB,IAAfA,EAAQ,KACVA,EAAQ,QAAKJ,GAIf,MAAMK,EAAcF,EAASL,KAAKR,KAAcc,G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D,eAkbf,SAASxB,EAAQvC,EAAOgE,GACtB,MACmB,mBAAVhE,GAGPA,EAAMiE,YAeV,SAAcjE,GAEZ,IAAID,EAEJ,IAAKA,KAAOC,EACV,GAAII,EAAIC,KAAKL,EAAOD,GAClB,OAAO,EAIX,OAAO,CACT,CArBKmE,CAAKlE,EAAMiE,YAAcD,KAAQhE,EAAMiE,UAE5C,CA4BA,SAAS3B,EAAa0B,EAAMhE,GAC1B,GAAqB,mBAAVA,EACT,MAAM,IAAIkB,UAAU,WAAa8C,EAAO,qBAE5C,CASA,SAASrB,EAAeqB,EAAMhE,GAC5B,GAAqB,mBAAVA,EACT,MAAM,IAAIkB,UAAU,WAAa8C,EAAO,uBAE5C,CASA,SAAS7D,EAAe6D,EAAMtE,GAC5B,GAAIA,EACF,MAAM,IAAIyE,MACR,gBACEH,EACA,mHAGR,CAQA,SAASpB,EAAWF,GAGlB,IAAKX,EAAWW,IAA8B,iBAAdA,EAAK0B,KACnC,MAAM,IAAIlD,UAAU,uBAAyBwB,EAAO,IAGxD,CAUA,SAASe,EAAWO,EAAMK,EAAWb,GACnC,IAAKA,EACH,MAAM,IAAIW,MACR,IAAMH,EAAO,0BAA4BK,EAAY,YAG3D,CAMA,SAAShC,EAAMrC,GACb,OAOF,SAAyBA,GACvB,OAAOsE,QACLtE,GACmB,iBAAVA,GACP,YAAaA,GACb,aAAcA,EAEpB,CAdSuE,CAAgBvE,GAASA,EAAQ,IAAIwE,EAAMxE,EACpD"}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../node_modules/unified/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('vfile').VFileCompatible} VFileCompatible\n * @typedef {import('vfile').VFileValue} VFileValue\n * @typedef {import('..').Processor} Processor\n * @typedef {import('..').Plugin} Plugin\n * @typedef {import('..').Preset} Preset\n * @typedef {import('..').Pluggable} Pluggable\n * @typedef {import('..').PluggableList} PluggableList\n * @typedef {import('..').Transformer} Transformer\n * @typedef {import('..').Parser} Parser\n * @typedef {import('..').Compiler} Compiler\n * @typedef {import('..').RunCallback} RunCallback\n * @typedef {import('..').ProcessCallback} ProcessCallback\n *\n * @typedef Context\n * @property {Node} tree\n * @property {VFile} file\n */\n\nimport {bail} from 'bail'\nimport isBuffer from 'is-buffer'\nimport extend from 'extend'\nimport isPlainObj from 'is-plain-obj'\nimport {trough} from 'trough'\nimport {VFile} from 'vfile'\n\n// Expose a frozen processor.\nexport const unified = base().freeze()\n\nconst own = {}.hasOwnProperty\n\n// Function to create the first processor.\n/**\n * @returns {Processor}\n */\nfunction base() {\n const transformers = trough()\n /** @type {Processor['attachers']} */\n const attachers = []\n /** @type {Record<string, unknown>} */\n let namespace = {}\n /** @type {boolean|undefined} */\n let frozen\n let freezeIndex = -1\n\n // Data management.\n // @ts-expect-error: overloads are handled.\n processor.data = data\n processor.Parser = undefined\n processor.Compiler = undefined\n\n // Lock.\n processor.freeze = freeze\n\n // Plugins.\n processor.attachers = attachers\n // @ts-expect-error: overloads are handled.\n processor.use = use\n\n // API.\n processor.parse = parse\n processor.stringify = stringify\n // @ts-expect-error: overloads are handled.\n processor.run = run\n processor.runSync = runSync\n // @ts-expect-error: overloads are handled.\n processor.process = process\n processor.processSync = processSync\n\n // Expose.\n return processor\n\n // Create a new processor based on the processor in the current scope.\n /** @type {Processor} */\n function processor() {\n const destination = base()\n let index = -1\n\n while (++index < attachers.length) {\n destination.use(...attachers[index])\n }\n\n destination.data(extend(true, {}, namespace))\n\n return destination\n }\n\n /**\n * @param {string|Record<string, unknown>} [key]\n * @param {unknown} [value]\n * @returns {unknown}\n */\n function data(key, value) {\n if (typeof key === 'string') {\n // Set `key`.\n if (arguments.length === 2) {\n assertUnfrozen('data', frozen)\n namespace[key] = value\n return processor\n }\n\n // Get `key`.\n return (own.call(namespace, key) && namespace[key]) || null\n }\n\n // Set space.\n if (key) {\n assertUnfrozen('data', frozen)\n namespace = key\n return processor\n }\n\n // Get space.\n return namespace\n }\n\n /** @type {Processor['freeze']} */\n function freeze() {\n if (frozen) {\n return processor\n }\n\n while (++freezeIndex < attachers.length) {\n const [attacher, ...options] = attachers[freezeIndex]\n\n if (options[0] === false) {\n continue\n }\n\n if (options[0] === true) {\n options[0] = undefined\n }\n\n /** @type {Transformer|void} */\n const transformer = attacher.call(processor, ...options)\n\n if (typeof transformer === 'function') {\n transformers.use(transformer)\n }\n }\n\n frozen = true\n freezeIndex = Number.POSITIVE_INFINITY\n\n return processor\n }\n\n /**\n * @param {Pluggable|null|undefined} [value]\n * @param {...unknown} options\n * @returns {Processor}\n */\n function use(value, ...options) {\n /** @type {Record<string, unknown>|undefined} */\n let settings\n\n assertUnfrozen('use', frozen)\n\n if (value === null || value === undefined) {\n // Empty.\n } else if (typeof value === 'function') {\n addPlugin(value, ...options)\n } else if (typeof value === 'object') {\n if (Array.isArray(value)) {\n addList(value)\n } else {\n addPreset(value)\n }\n } else {\n throw new TypeError('Expected usable value, not `' + value + '`')\n }\n\n if (settings) {\n namespace.settings = Object.assign(namespace.settings || {}, settings)\n }\n\n return processor\n\n /**\n * @param {import('..').Pluggable<unknown[]>} value\n * @returns {void}\n */\n function add(value) {\n if (typeof value === 'function') {\n addPlugin(value)\n } else if (typeof value === 'object') {\n if (Array.isArray(value)) {\n const [plugin, ...options] = value\n addPlugin(plugin, ...options)\n } else {\n addPreset(value)\n }\n } else {\n throw new TypeError('Expected usable value, not `' + value + '`')\n }\n }\n\n /**\n * @param {Preset} result\n * @returns {void}\n */\n function addPreset(result) {\n addList(result.plugins)\n\n if (result.settings) {\n settings = Object.assign(settings || {}, result.settings)\n }\n }\n\n /**\n * @param {PluggableList|null|undefined} [plugins]\n * @returns {void}\n */\n function addList(plugins) {\n let index = -1\n\n if (plugins === null || plugins === undefined) {\n // Empty.\n } else if (Array.isArray(plugins)) {\n while (++index < plugins.length) {\n const thing = plugins[index]\n add(thing)\n }\n } else {\n throw new TypeError('Expected a list of plugins, not `' + plugins + '`')\n }\n }\n\n /**\n * @param {Plugin} plugin\n * @param {...unknown} [value]\n * @returns {void}\n */\n function addPlugin(plugin, value) {\n let index = -1\n /** @type {Processor['attachers'][number]|undefined} */\n let entry\n\n while (++index < attachers.length) {\n if (attachers[index][0] === plugin) {\n entry = attachers[index]\n break\n }\n }\n\n if (entry) {\n if (isPlainObj(entry[1]) && isPlainObj(value)) {\n value = extend(true, entry[1], value)\n }\n\n entry[1] = value\n } else {\n // @ts-expect-error: fine.\n attachers.push([...arguments])\n }\n }\n }\n\n /** @type {Processor['parse']} */\n function parse(doc) {\n processor.freeze()\n const file = vfile(doc)\n const Parser = processor.Parser\n assertParser('parse', Parser)\n\n if (newable(Parser, 'parse')) {\n // @ts-expect-error: `newable` checks this.\n return new Parser(String(file), file).parse()\n }\n\n // @ts-expect-error: `newable` checks this.\n return Parser(String(file), file) // eslint-disable-line new-cap\n }\n\n /** @type {Processor['stringify']} */\n function stringify(node, doc) {\n processor.freeze()\n const file = vfile(doc)\n const Compiler = processor.Compiler\n assertCompiler('stringify', Compiler)\n assertNode(node)\n\n if (newable(Compiler, 'compile')) {\n // @ts-expect-error: `newable` checks this.\n return new Compiler(node, file).compile()\n }\n\n // @ts-expect-error: `newable` checks this.\n return Compiler(node, file) // eslint-disable-line new-cap\n }\n\n /**\n * @param {Node} node\n * @param {VFileCompatible|RunCallback} [doc]\n * @param {RunCallback} [callback]\n * @returns {Promise<Node>|void}\n */\n function run(node, doc, callback) {\n assertNode(node)\n processor.freeze()\n\n if (!callback && typeof doc === 'function') {\n callback = doc\n doc = undefined\n }\n\n if (!callback) {\n return new Promise(executor)\n }\n\n executor(null, callback)\n\n /**\n * @param {null|((node: Node) => void)} resolve\n * @param {(error: Error) => void} reject\n * @returns {void}\n */\n function executor(resolve, reject) {\n // @ts-expect-error: `doc` can’t be a callback anymore, we checked.\n transformers.run(node, vfile(doc), done)\n\n /**\n * @param {Error|null} error\n * @param {Node} tree\n * @param {VFile} file\n * @returns {void}\n */\n function done(error, tree, file) {\n tree = tree || node\n if (error) {\n reject(error)\n } else if (resolve) {\n resolve(tree)\n } else {\n // @ts-expect-error: `callback` is defined if `resolve` is not.\n callback(null, tree, file)\n }\n }\n }\n }\n\n /** @type {Processor['runSync']} */\n function runSync(node, file) {\n /** @type {Node|undefined} */\n let result\n /** @type {boolean|undefined} */\n let complete\n\n processor.run(node, file, done)\n\n assertDone('runSync', 'run', complete)\n\n // @ts-expect-error: we either bailed on an error or have a tree.\n return result\n\n /**\n * @param {Error|null} [error]\n * @param {Node} [tree]\n * @returns {void}\n */\n function done(error, tree) {\n bail(error)\n result = tree\n complete = true\n }\n }\n\n /**\n * @param {VFileCompatible} doc\n * @param {ProcessCallback} [callback]\n * @returns {Promise<VFile>|undefined}\n */\n function process(doc, callback) {\n processor.freeze()\n assertParser('process', processor.Parser)\n assertCompiler('process', processor.Compiler)\n\n if (!callback) {\n return new Promise(executor)\n }\n\n executor(null, callback)\n\n /**\n * @param {null|((file: VFile) => void)} resolve\n * @param {(error?: Error|null|undefined) => void} reject\n * @returns {void}\n */\n function executor(resolve, reject) {\n const file = vfile(doc)\n\n processor.run(processor.parse(file), file, (error, tree, file) => {\n if (error || !tree || !file) {\n done(error)\n } else {\n /** @type {unknown} */\n const result = processor.stringify(tree, file)\n\n if (result === undefined || result === null) {\n // Empty.\n } else if (looksLikeAVFileValue(result)) {\n file.value = result\n } else {\n file.result = result\n }\n\n done(error, file)\n }\n })\n\n /**\n * @param {Error|null|undefined} [error]\n * @param {VFile|undefined} [file]\n * @returns {void}\n */\n function done(error, file) {\n if (error || !file) {\n reject(error)\n } else if (resolve) {\n resolve(file)\n } else {\n // @ts-expect-error: `callback` is defined if `resolve` is not.\n callback(null, file)\n }\n }\n }\n }\n\n /** @type {Processor['processSync']} */\n function processSync(doc) {\n /** @type {boolean|undefined} */\n let complete\n\n processor.freeze()\n assertParser('processSync', processor.Parser)\n assertCompiler('processSync', processor.Compiler)\n\n const file = vfile(doc)\n\n processor.process(file, done)\n\n assertDone('processSync', 'process', complete)\n\n return file\n\n /**\n * @param {Error|null|undefined} [error]\n * @returns {void}\n */\n function done(error) {\n complete = true\n bail(error)\n }\n }\n}\n\n/**\n * Check if `value` is a constructor.\n *\n * @param {unknown} value\n * @param {string} name\n * @returns {boolean}\n */\nfunction newable(value, name) {\n return (\n typeof value === 'function' &&\n // Prototypes do exist.\n // type-coverage:ignore-next-line\n value.prototype &&\n // A function with keys in its prototype is probably a constructor.\n // Classes’ prototype methods are not enumerable, so we check if some value\n // exists in the prototype.\n // type-coverage:ignore-next-line\n (keys(value.prototype) || name in value.prototype)\n )\n}\n\n/**\n * Check if `value` is an object with keys.\n *\n * @param {Record<string, unknown>} value\n * @returns {boolean}\n */\nfunction keys(value) {\n /** @type {string} */\n let key\n\n for (key in value) {\n if (own.call(value, key)) {\n return true\n }\n }\n\n return false\n}\n\n/**\n * Assert a parser is available.\n *\n * @param {string} name\n * @param {unknown} value\n * @returns {asserts value is Parser}\n */\nfunction assertParser(name, value) {\n if (typeof value !== 'function') {\n throw new TypeError('Cannot `' + name + '` without `Parser`')\n }\n}\n\n/**\n * Assert a compiler is available.\n *\n * @param {string} name\n * @param {unknown} value\n * @returns {asserts value is Compiler}\n */\nfunction assertCompiler(name, value) {\n if (typeof value !== 'function') {\n throw new TypeError('Cannot `' + name + '` without `Compiler`')\n }\n}\n\n/**\n * Assert the processor is not frozen.\n *\n * @param {string} name\n * @param {unknown} frozen\n * @returns {asserts frozen is false}\n */\nfunction assertUnfrozen(name, frozen) {\n if (frozen) {\n throw new Error(\n 'Cannot call `' +\n name +\n '` on a frozen processor.\\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.'\n )\n }\n}\n\n/**\n * Assert `node` is a unist node.\n *\n * @param {unknown} node\n * @returns {asserts node is Node}\n */\nfunction assertNode(node) {\n // `isPlainObj` unfortunately uses `any` instead of `unknown`.\n // type-coverage:ignore-next-line\n if (!isPlainObj(node) || typeof node.type !== 'string') {\n throw new TypeError('Expected node, got `' + node + '`')\n // Fine.\n }\n}\n\n/**\n * Assert that `complete` is `true`.\n *\n * @param {string} name\n * @param {string} asyncName\n * @param {unknown} complete\n * @returns {asserts complete is true}\n */\nfunction assertDone(name, asyncName, complete) {\n if (!complete) {\n throw new Error(\n '`' + name + '` finished async. Use `' + asyncName + '` instead'\n )\n }\n}\n\n/**\n * @param {VFileCompatible} [value]\n * @returns {VFile}\n */\nfunction vfile(value) {\n return looksLikeAVFile(value) ? value : new VFile(value)\n}\n\n/**\n * @param {VFileCompatible} [value]\n * @returns {value is VFile}\n */\nfunction looksLikeAVFile(value) {\n return Boolean(\n value &&\n typeof value === 'object' &&\n 'message' in value &&\n 'messages' in value\n )\n}\n\n/**\n * @param {unknown} [value]\n * @returns {value is VFileValue}\n */\nfunction looksLikeAVFileValue(value) {\n return typeof value === 'string' || isBuffer(value)\n}\n"],"names":["unified","base","transformers","trough","attachers","frozen","namespace","freezeIndex","processor","data","key","value","arguments","length","assertUnfrozen","own","call","Parser","undefined","Compiler","freeze","attacher","options","transformer","use","Number","POSITIVE_INFINITY","settings","addPlugin","TypeError","Array","isArray","addList","addPreset","Object","assign","add","plugin","result","plugins","index","entry","isPlainObj","extend","push","parse","doc","file","vfile","assertParser","newable","String","stringify","node","assertCompiler","assertNode","compile","run","callback","Promise","executor","resolve","reject","done","error","tree","runSync","complete","assertDone","bail","process","isBuffer","processSync","destination","hasOwnProperty","name","prototype","keys","Error","type","asyncName","Boolean","looksLikeAVFile","VFile"],"mappings":"gRA4BY,MAACA,EAQb,SAASC,IACP,MAAMC,EAAeC,IAEfC,EAAY,GAElB,IAEIC,EAFAC,EAAY,CAAE,EAGdC,GAAe,EA2BnB,OAvBAC,EAAUC,KA6CV,SAAcC,EAAKC,GACjB,GAAmB,iBAARD,EAET,OAAyB,IAArBE,UAAUC,QACZC,EAAe,OAAQT,GACvBC,EAAUI,GAAOC,EACVH,GAIDO,EAAIC,KAAKV,EAAWI,IAAQJ,EAAUI,IAAS,KAIzD,GAAIA,EAGF,OAFAI,EAAe,OAAQT,G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}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__exports as e}from"../../../../_virtual/
|
|
1
|
+
import{__exports as e}from"../../../../_virtual/index12.js";import{__require as r}from"./max.js";import{__require as t}from"./nil.js";import{__require as n}from"./parse.js";import{__require as i}from"./stringify.js";import{__require as u}from"./v1.js";import{__require as o}from"./v1ToV6.js";import{__require as a}from"./v3.js";import{__require as f}from"./v4.js";import{__require as v}from"./v5.js";import{__require as m}from"./v6.js";import{__require as s}from"./v6ToV1.js";import{__require as d}from"./v7.js";import{__require as l}from"./validate.js";import{__require as p}from"./version.js";var _;function c(){return _||(_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.version=e.validate=e.v7=e.v6ToV1=e.v6=e.v5=e.v4=e.v3=e.v1ToV6=e.v1=e.stringify=e.parse=e.NIL=e.MAX=void 0;var _=r();Object.defineProperty(e,"MAX",{enumerable:!0,get:function(){return _.default}});var c=t();Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return c.default}});var j=n();Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return j.default}});var b=i();Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return b.default}});var y=u();Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return y.default}});var g=o();Object.defineProperty(e,"v1ToV6",{enumerable:!0,get:function(){return g.default}});var q=a();Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return q.default}});var O=f();Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return O.default}});var P=v();Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return P.default}});var T=m();Object.defineProperty(e,"v6",{enumerable:!0,get:function(){return T.default}});var V=s();Object.defineProperty(e,"v6ToV1",{enumerable:!0,get:function(){return V.default}});var x=d();Object.defineProperty(e,"v7",{enumerable:!0,get:function(){return x.default}});var M=l();Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return M.default}});var A=p();Object.defineProperty(e,"version",{enumerable:!0,get:function(){return A.default}})}(e)),e}export{c as __require};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import t from"../../../_virtual/
|
|
1
|
+
import t from"../../../_virtual/index7.js";import{VFileMessage as e}from"../../vfile-message/lib/index.js";import{path as s}from"./minpath.browser.js";import{proc as i}from"./minproc.browser.js";import{urlToPath as n}from"./minurl.browser.js";import{isUrl as r}from"./minurl.shared.js";const a=["history","path","basename","stem","extname","dirname"];class h{constructor(e){let s;s=e?"string"==typeof e||function(e){return t(e)}(e)?{value:e}:r(e)?{path:e}:e:{},this.data={},this.messages=[],this.history=[],this.cwd=i.cwd(),this.value,this.stored,this.result,this.map;let n,h=-1;for(;++h<a.length;){const t=a[h];t in s&&void 0!==s[t]&&null!==s[t]&&(this[t]="history"===t?[...s[t]]:s[t])}for(n in s)a.includes(n)||(this[n]=s[n])}get path(){return this.history[this.history.length-1]}set path(t){r(t)&&(t=n(t)),m(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return"string"==typeof this.path?s.dirname(this.path):void 0}set dirname(t){p(this.basename,"dirname"),this.path=s.join(t||"",this.basename)}get basename(){return"string"==typeof this.path?s.basename(this.path):void 0}set basename(t){m(t,"basename"),o(t,"basename"),this.path=s.join(this.dirname||"",t)}get extname(){return"string"==typeof this.path?s.extname(this.path):void 0}set extname(t){if(o(t,"extname"),p(this.dirname,"extname"),t){if(46!==t.charCodeAt(0))throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=s.join(this.dirname,this.stem+(t||""))}get stem(){return"string"==typeof this.path?s.basename(this.path,this.extname):void 0}set stem(t){m(t,"stem"),o(t,"stem"),this.path=s.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,s,i){const n=new e(t,s,i);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}info(t,e,s){const i=this.message(t,e,s);return i.fatal=null,i}fail(t,e,s){const i=this.message(t,e,s);throw i.fatal=!0,i}}function o(t,e){if(t&&t.includes(s.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+s.sep+"`")}function m(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function p(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}export{h as VFile};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|