@erpsquad/common 1.8.98 → 1.8.100
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/index.esm10.js +3 -3
- package/dist/_virtual/index/index.esm11.js +3 -3
- package/dist/_virtual/index/index.esm4.js +1 -1
- package/dist/_virtual/index/index.esm5.js +3 -3
- package/dist/_virtual/index/index.esm6.js +3 -3
- package/dist/_virtual/index/index.esm7.js +3 -3
- package/dist/_virtual/index/index.esm8.js +3 -3
- package/dist/_virtual/index/index.esm9.js +3 -3
- package/dist/_virtual/index/index10.js +1 -1
- package/dist/_virtual/index/index11.js +1 -1
- package/dist/_virtual/index/index4.js +1 -1
- package/dist/_virtual/index/index5.js +1 -1
- package/dist/_virtual/index/index6.js +1 -1
- package/dist/_virtual/index/index7.js +1 -1
- package/dist/_virtual/index/index8.js +1 -1
- package/dist/_virtual/index/index9.js +1 -1
- package/dist/api-client/api.hrms/api/index.esm.js +12 -1
- package/dist/api-client/api.hrms/api/index.esm.js.map +1 -1
- package/dist/api-client/api.hrms/api/index.js +1 -1
- package/dist/api-client/api.hrms/api/index.js.map +1 -1
- package/dist/api-client/api.inventory/api/index.esm.js +30 -95
- package/dist/api-client/api.inventory/api/index.esm.js.map +1 -1
- package/dist/api-client/api.inventory/api/index.js +1 -1
- package/dist/api-client/api.inventory/api/index.js.map +1 -1
- package/dist/api-client/api.inventory/api-types.d.ts +425 -930
- package/dist/api-client/api.inventory/api.d.ts +10 -14
- package/dist/api-client/api.rbac/api/index.esm2.js +0 -218
- package/dist/api-client/api.rbac/api/index.esm2.js.map +1 -1
- package/dist/api-client/api.rbac/api/index2.js +1 -1
- package/dist/api-client/api.rbac/api/index2.js.map +1 -1
- package/dist/components/action-bar/action-bar/index.esm.js +1 -2
- package/dist/components/action-bar/action-bar/index.esm.js.map +1 -1
- package/dist/components/action-bar/action-bar/index.js +5 -5
- package/dist/components/action-bar/action-bar/index.js.map +1 -1
- package/dist/components/editor/custom-editor/index.esm.js +3 -1
- package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
- package/dist/components/editor/custom-editor/index.js +2 -2
- package/dist/components/editor/custom-editor/index.js.map +1 -1
- package/dist/components/filter/components/delete-group/index.esm.js +0 -1
- package/dist/components/filter/components/delete-group/index.esm.js.map +1 -1
- package/dist/components/filter/components/delete-group/index.js +1 -1
- package/dist/components/filter/components/delete-group/index.js.map +1 -1
- package/dist/components/filter/filter/index.esm.js +1 -2
- package/dist/components/filter/filter/index.esm.js.map +1 -1
- package/dist/components/filter/filter/index.js +12 -12
- package/dist/components/filter/filter/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +5 -3
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +6 -6
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js.map +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select.d.ts +1 -0
- package/dist/components/header/header/index.esm.js +3 -1
- package/dist/components/header/header/index.esm.js.map +1 -1
- package/dist/components/header/header/index.js +21 -21
- package/dist/components/header/header/index.js.map +1 -1
- package/dist/components/header/redux/actionCreator/index.esm.js +2 -1
- package/dist/components/header/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/components/header/redux/actionCreator/index.js +1 -1
- package/dist/components/header/redux/actionCreator/index.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -2
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js.map +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.esm.js.map +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.js.map +1 -1
- package/dist/components/providers/ERPUIProvider/index.esm.js +15 -1
- package/dist/components/providers/ERPUIProvider/index.esm.js.map +1 -1
- package/dist/components/providers/ERPUIProvider/index.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.js.map +1 -1
- package/dist/components/providers/ERPUIProvider.d.ts +2 -0
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -2
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
- package/dist/components/reports-title-bar/redux/actionCreator/index.js.map +1 -1
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +2 -1
- package/dist/components/share-modal/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
- package/dist/components/share-modal/redux/actionCreator/index.js.map +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js.map +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js.map +1 -1
- package/dist/components/upload/upload/index.esm.js +3 -2
- package/dist/components/upload/upload/index.esm.js.map +1 -1
- package/dist/components/upload/upload/index.js +29 -29
- package/dist/components/upload/upload/index.js.map +1 -1
- package/dist/constants/defaultColumns/index.esm.js +1 -1
- package/dist/constants/defaultColumns/index.esm.js.map +1 -1
- package/dist/constants/defaultColumns/index.js +1 -1
- package/dist/constants/defaultColumns/index.js.map +1 -1
- package/dist/contexts/AuthContext/index.esm.js +4 -3
- package/dist/contexts/AuthContext/index.esm.js.map +1 -1
- package/dist/contexts/AuthContext/index.js +2 -2
- package/dist/contexts/AuthContext/index.js.map +1 -1
- package/dist/contexts/languageContext/index.esm.js +2 -1
- package/dist/contexts/languageContext/index.esm.js.map +1 -1
- package/dist/contexts/languageContext/index.js +2 -2
- package/dist/contexts/languageContext/index.js.map +1 -1
- package/dist/hooks/use-material-calculations/index.esm.js +1 -2
- package/dist/hooks/use-material-calculations/index.esm.js.map +1 -1
- package/dist/hooks/use-material-calculations/index.js +1 -1
- package/dist/hooks/use-material-calculations/index.js.map +1 -1
- package/dist/hooks/useLangauge/index.esm.js +1 -2
- package/dist/hooks/useLangauge/index.esm.js.map +1 -1
- package/dist/hooks/useLangauge/index.js +1 -1
- package/dist/hooks/useLangauge/index.js.map +1 -1
- package/dist/index.esm.js +9 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js +14 -15
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js.map +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js +1 -1
- package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js.map +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js +2 -3
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js +1 -1
- package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js +2 -3
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js +2 -2
- package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.js +1 -1
- package/dist/node_modules/@mui/lab/TabList/TabList/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js +2 -2
- package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +2 -2
- package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +1 -1
- package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +1 -1
- package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +1 -2
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +2 -2
- package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.js +2 -2
- package/dist/node_modules/@mui/material/Accordion/Accordion/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +1 -1
- package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js +2 -2
- package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js +2 -2
- package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.js +1 -1
- package/dist/node_modules/@mui/material/Alert/Alert/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js +1 -1
- package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.js +1 -1
- package/dist/node_modules/@mui/material/AppBar/AppBar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js +1 -1
- package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.js +1 -1
- package/dist/node_modules/@mui/material/Avatar/Avatar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js +1 -1
- package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.js +1 -1
- package/dist/node_modules/@mui/material/Badge/Badge/index.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +3 -3
- package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +2 -2
- package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Box/Box/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.js +1 -1
- package/dist/node_modules/@mui/material/Box/Box/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js +2 -2
- package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Button/Button/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.js +1 -1
- package/dist/node_modules/@mui/material/Button/Button/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js +3 -3
- package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Card/Card/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.js +1 -1
- package/dist/node_modules/@mui/material/Card/Card/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +2 -2
- package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +2 -2
- package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.js +1 -1
- package/dist/node_modules/@mui/material/CardContent/CardContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +1 -1
- package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js +2 -2
- package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js +1 -1
- package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.js +1 -1
- package/dist/node_modules/@mui/material/Chip/Chip/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js +6 -6
- package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js +1 -1
- package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.js +1 -1
- package/dist/node_modules/@mui/material/Collapse/Collapse/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Container/Container/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.js +1 -1
- package/dist/node_modules/@mui/material/Container/Container/index.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js +2 -2
- package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/Dialog/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js +2 -2
- package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js +1 -1
- package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.js +1 -1
- package/dist/node_modules/@mui/material/Divider/Divider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.js +1 -1
- package/dist/node_modules/@mui/material/Drawer/Drawer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Fab/Fab/index.js +2 -2
- package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.js +1 -1
- package/dist/node_modules/@mui/material/Fade/Fade/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js +1 -1
- package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.js +2 -2
- package/dist/node_modules/@mui/material/FormControl/FormControl/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js +1 -1
- package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js +1 -1
- package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js +2 -2
- package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js +2 -2
- package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/Grid/index.js +2 -2
- package/dist/node_modules/@mui/material/Grid/Grid/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Grid/GridContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Grow/Grow/index.js +2 -2
- package/dist/node_modules/@mui/material/Grow/Grow/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +2 -2
- package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +1 -1
- package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Icon/Icon/index.js +2 -2
- package/dist/node_modules/@mui/material/Icon/Icon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.js +1 -1
- package/dist/node_modules/@mui/material/IconButton/IconButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +2 -2
- package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +2 -2
- package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +1 -1
- package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Input/Input/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Input/Input/index.js +2 -2
- package/dist/node_modules/@mui/material/Input/Input/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js +2 -2
- package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js +5 -6
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.js +1 -1
- package/dist/node_modules/@mui/material/InputBase/InputBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js +5 -5
- package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Link/Link/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.js +1 -1
- package/dist/node_modules/@mui/material/Link/Link/index.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/List/List/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/List/List/index.js +2 -2
- package/dist/node_modules/@mui/material/List/List/index.js.map +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/List/ListContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.js +1 -1
- package/dist/node_modules/@mui/material/List/ListContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItem/ListItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js +2 -2
- package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js +1 -1
- package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js +2 -2
- package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Menu/Menu/index.js +2 -2
- package/dist/node_modules/@mui/material/Menu/Menu/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js +1 -1
- package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.js +2 -2
- package/dist/node_modules/@mui/material/MenuList/MenuList/index.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +1 -1
- package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.js +1 -1
- package/dist/node_modules/@mui/material/Modal/Modal/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +2 -2
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js +1 -1
- package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +1 -1
- package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js +2 -2
- package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.js +1 -1
- package/dist/node_modules/@mui/material/Pagination/Pagination/index.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js +1 -1
- package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.js +1 -1
- package/dist/node_modules/@mui/material/Paper/Paper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js +6 -7
- package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popover/Popover/index.js +2 -2
- package/dist/node_modules/@mui/material/Popover/Popover/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js +4 -5
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.js +3 -3
- package/dist/node_modules/@mui/material/Popper/BasePopper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.js +1 -1
- package/dist/node_modules/@mui/material/Popper/Popper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Portal/Portal/index.js +4 -4
- package/dist/node_modules/@mui/material/Portal/Portal/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.js +1 -1
- package/dist/node_modules/@mui/material/Radio/Radio/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Rating/Rating/index.js +6 -6
- package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +2 -2
- package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Select/Select/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.js +1 -1
- package/dist/node_modules/@mui/material/Select/Select/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js +4 -5
- package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Select/SelectInput/index.js +2 -2
- package/dist/node_modules/@mui/material/Select/SelectInput/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js +1 -1
- package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.js +1 -1
- package/dist/node_modules/@mui/material/Slide/Slide/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.js +1 -1
- package/dist/node_modules/@mui/material/Slider/Slider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js +1 -1
- package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js +1 -1
- package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +3 -3
- package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +1 -1
- package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.js +1 -1
- package/dist/node_modules/@mui/material/Stack/Stack/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.js +1 -1
- package/dist/node_modules/@mui/material/Step/Step/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +1 -1
- package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +1 -1
- package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +1 -1
- package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +1 -1
- package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +2 -2
- package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +2 -2
- package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +2 -2
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +1 -1
- package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Switch/Switch/index.js +2 -2
- package/dist/node_modules/@mui/material/Switch/Switch/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.js +1 -1
- package/dist/node_modules/@mui/material/Tab/Tab/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js +2 -2
- package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Table/Table/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Table/index.js +2 -2
- package/dist/node_modules/@mui/material/Table/Table/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.js +1 -1
- package/dist/node_modules/@mui/material/Table/TableContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js +1 -1
- package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.js +1 -1
- package/dist/node_modules/@mui/material/TableBody/TableBody/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.js +1 -1
- package/dist/node_modules/@mui/material/TableCell/TableCell/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js +2 -2
- package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js +1 -1
- package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.js +1 -1
- package/dist/node_modules/@mui/material/TableHead/TableHead/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +2 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +2 -2
- package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.js +1 -1
- package/dist/node_modules/@mui/material/TableRow/TableRow/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js +1 -1
- package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js +1 -1
- package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js +6 -7
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +2 -2
- package/dist/node_modules/@mui/material/Tabs/Tabs/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TextField/TextField/index.js +2 -2
- package/dist/node_modules/@mui/material/TextField/TextField/index.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js +1 -1
- package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js +2 -3
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js +2 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js +1 -1
- package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js +2 -2
- package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js +4 -5
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js +2 -2
- package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Typography/Typography/index.js +2 -2
- package/dist/node_modules/@mui/material/Typography/Typography/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js +2 -2
- package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +1 -1
- package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.js +2 -2
- package/dist/node_modules/@mui/material/internal/SwitchBase/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js +4 -5
- package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createPalette/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js +3 -4
- package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTransitions/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/createTypography/index.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.js +1 -1
- package/dist/node_modules/@mui/material/styles/useTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js +5 -6
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js +1 -1
- package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js +2 -2
- package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.esm.js +1 -2
- package/dist/node_modules/@mui/material/utils/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.js +1 -1
- package/dist/node_modules/@mui/material/utils/index/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js +5 -6
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js +2 -2
- package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js +1 -2
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js +1 -2
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js +1 -1
- package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js +1 -2
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js +1 -2
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.esm.js +8 -2
- package/dist/node_modules/@mui/styled-engine/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.js +1 -1
- package/dist/node_modules/@mui/styled-engine/index/index.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +10 -11
- package/dist/node_modules/@mui/system/colorManipulator/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
- package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.esm.js +8 -9
- package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js +4 -5
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js +2 -2
- package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/borders/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/borders/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/breakpoints/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js +3 -4
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/colorManipulator/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/compose/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/compose/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js +2 -3
- package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/createStyled/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js +3 -4
- package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/cssGrid/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/responsivePropType/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.esm.js +6 -7
- package/dist/node_modules/@mui/system/esm/spacing/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/spacing/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.esm.js +1 -2
- package/dist/node_modules/@mui/system/esm/style/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/style/index.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js +2 -3
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js +1 -1
- package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js.map +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
- package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js +1 -2
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js +1 -1
- package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js +2 -3
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js +4 -4
- package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js +4 -5
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js +2 -2
- package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js +3 -4
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js +1 -2
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js.map +1 -1
- package/dist/node_modules/@mui/x-date-pickers/internals/utils/warning/index.esm.js.map +1 -1
- package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.esm.js.map +1 -1
- package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.js.map +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js +20 -11
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js.map +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js +1 -1
- package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js.map +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js +6 -7
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js.map +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js +1 -1
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js.map +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.esm.js +2 -3
- package/dist/node_modules/notistack/notistack.esm/index.esm.js.map +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.js +1 -1
- package/dist/node_modules/notistack/notistack.esm/index.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.esm.js +3 -4
- package/dist/node_modules/prop-types/checkPropTypes/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.js +1 -1
- package/dist/node_modules/prop-types/checkPropTypes/index.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js +5 -6
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js.map +1 -1
- package/dist/node_modules/prop-types/index/index.esm.js +1 -2
- package/dist/node_modules/prop-types/index/index.esm.js.map +1 -1
- package/dist/node_modules/prop-types/index/index.js +1 -1
- package/dist/node_modules/prop-types/index/index.js.map +1 -1
- package/dist/src/api-client/api.inventory/api.d.ts +10 -14
- package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-select.d.ts +1 -0
- package/dist/src/components/providers/ERPUIProvider.d.ts +2 -0
- package/dist/src/utils/api-config.d.ts +24 -0
- package/dist/src/utils/api.d.ts +9 -18
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/style.css +71 -71
- package/dist/utils/api/index.esm.js +41 -41
- package/dist/utils/api/index.esm.js.map +1 -1
- package/dist/utils/api/index.js +1 -1
- package/dist/utils/api/index.js.map +1 -1
- package/dist/utils/api-config/index.esm.js +56 -0
- package/dist/utils/api-config/index.esm.js.map +1 -0
- package/dist/utils/api-config/index.js +2 -0
- package/dist/utils/api-config/index.js.map +1 -0
- package/dist/utils/api-config.d.ts +24 -0
- package/dist/utils/api.d.ts +9 -18
- package/dist/utils/common/index.esm.js +12 -8
- package/dist/utils/common/index.esm.js.map +1 -1
- package/dist/utils/common/index.js +1 -1
- package/dist/utils/common/index.js.map +1 -1
- package/dist/utils/common-utility/index.esm.js +7 -13
- package/dist/utils/common-utility/index.esm.js.map +1 -1
- package/dist/utils/common-utility/index.js +5 -5
- package/dist/utils/common-utility/index.js.map +1 -1
- package/dist/utils/index.esm.js +9 -1
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/views/form-builder/redux/actionCreator/index.esm.js +1 -2
- package/dist/views/form-builder/redux/actionCreator/index.esm.js.map +1 -1
- package/dist/views/form-builder/redux/actionCreator/index.js +1 -1
- package/dist/views/form-builder/redux/actionCreator/index.js.map +1 -1
- package/dist/views/template-editor/components/EditorSidebar/index.esm.js +4 -3
- package/dist/views/template-editor/components/EditorSidebar/index.esm.js.map +1 -1
- package/dist/views/template-editor/components/EditorSidebar/index.js +14 -14
- package/dist/views/template-editor/components/EditorSidebar/index.js.map +1 -1
- package/dist/views/template-editor/templates/index.esm.js +0 -2
- package/dist/views/template-editor/templates/index.esm.js.map +1 -1
- package/dist/views/template-editor/templates/index.js +5 -5
- package/dist/views/template-editor/templates/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Autocomplete/Autocomplete.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar _ClearIcon, _ArrowDropDownIcon;\nconst _excluded = [\"autoComplete\", \"autoHighlight\", \"autoSelect\", \"blurOnSelect\", \"ChipProps\", \"className\", \"clearIcon\", \"clearOnBlur\", \"clearOnEscape\", \"clearText\", \"closeText\", \"componentsProps\", \"defaultValue\", \"disableClearable\", \"disableCloseOnSelect\", \"disabled\", \"disabledItemsFocusable\", \"disableListWrap\", \"disablePortal\", \"filterOptions\", \"filterSelectedOptions\", \"forcePopupIcon\", \"freeSolo\", \"fullWidth\", \"getLimitTagsText\", \"getOptionDisabled\", \"getOptionKey\", \"getOptionLabel\", \"isOptionEqualToValue\", \"groupBy\", \"handleHomeEndKeys\", \"id\", \"includeInputInList\", \"inputValue\", \"limitTags\", \"ListboxComponent\", \"ListboxProps\", \"loading\", \"loadingText\", \"multiple\", \"noOptionsText\", \"onChange\", \"onClose\", \"onHighlightChange\", \"onInputChange\", \"onOpen\", \"open\", \"openOnFocus\", \"openText\", \"options\", \"PaperComponent\", \"PopperComponent\", \"popupIcon\", \"readOnly\", \"renderGroup\", \"renderInput\", \"renderOption\", \"renderTags\", \"selectOnFocus\", \"size\", \"slotProps\", \"value\"],\n _excluded2 = [\"ref\"],\n _excluded3 = [\"key\"],\n _excluded4 = [\"key\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport useAutocomplete, { createFilterOptions } from '../useAutocomplete';\nimport Popper from '../Popper';\nimport ListSubheader from '../ListSubheader';\nimport Paper from '../Paper';\nimport IconButton from '../IconButton';\nimport Chip from '../Chip';\nimport inputClasses from '../Input/inputClasses';\nimport inputBaseClasses from '../InputBase/inputBaseClasses';\nimport outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';\nimport filledInputClasses from '../FilledInput/filledInputClasses';\nimport ClearIcon from '../internal/svg-icons/Close';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport autocompleteClasses, { getAutocompleteUtilityClass } from './autocompleteClasses';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePortal,\n expanded,\n focused,\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n popupOpen,\n size\n } = ownerState;\n const slots = {\n root: ['root', expanded && 'expanded', focused && 'focused', fullWidth && 'fullWidth', hasClearIcon && 'hasClearIcon', hasPopupIcon && 'hasPopupIcon'],\n inputRoot: ['inputRoot'],\n input: ['input', inputFocused && 'inputFocused'],\n tag: ['tag', `tagSize${capitalize(size)}`],\n endAdornment: ['endAdornment'],\n clearIndicator: ['clearIndicator'],\n popupIndicator: ['popupIndicator', popupOpen && 'popupIndicatorOpen'],\n popper: ['popper', disablePortal && 'popperDisablePortal'],\n paper: ['paper'],\n listbox: ['listbox'],\n loading: ['loading'],\n noOptions: ['noOptions'],\n option: ['option'],\n groupLabel: ['groupLabel'],\n groupUl: ['groupUl']\n };\n return composeClasses(slots, getAutocompleteUtilityClass, classes);\n};\nconst AutocompleteRoot = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n size\n } = ownerState;\n return [{\n [`& .${autocompleteClasses.tag}`]: styles.tag\n }, {\n [`& .${autocompleteClasses.tag}`]: styles[`tagSize${capitalize(size)}`]\n }, {\n [`& .${autocompleteClasses.inputRoot}`]: styles.inputRoot\n }, {\n [`& .${autocompleteClasses.input}`]: styles.input\n }, {\n [`& .${autocompleteClasses.input}`]: inputFocused && styles.inputFocused\n }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];\n }\n})({\n [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n },\n /* Avoid double tap issue on iOS */\n '@media (pointer: fine)': {\n [`&:hover .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n }\n },\n [`& .${autocompleteClasses.tag}`]: {\n margin: 3,\n maxWidth: 'calc(100% - 6px)'\n },\n [`& .${autocompleteClasses.inputRoot}`]: {\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4\n },\n [`& .${autocompleteClasses.input}`]: {\n width: 0,\n minWidth: 30\n }\n },\n [`& .${inputClasses.root}`]: {\n paddingBottom: 1,\n '& .MuiInput-input': {\n padding: '4px 4px 4px 0px'\n }\n },\n [`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${inputClasses.input}`]: {\n padding: '2px 4px 3px 0'\n }\n },\n [`& .${outlinedInputClasses.root}`]: {\n padding: 9,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${autocompleteClasses.input}`]: {\n padding: '7.5px 4px 7.5px 5px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n // Don't specify paddingRight, as it overrides the default value set when there is only\n // one of the popup or clear icon as the specificity is equal so the latter one wins\n paddingTop: 6,\n paddingBottom: 6,\n paddingLeft: 6,\n [`& .${autocompleteClasses.input}`]: {\n padding: '2.5px 4px 2.5px 8px'\n }\n },\n [`& .${filledInputClasses.root}`]: {\n paddingTop: 19,\n paddingLeft: 8,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${filledInputClasses.input}`]: {\n padding: '7px 4px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n paddingBottom: 1,\n [`& .${filledInputClasses.input}`]: {\n padding: '2.5px 4px'\n }\n },\n [`& .${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 8\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 0,\n paddingBottom: 0,\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 16,\n paddingBottom: 17\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 8,\n paddingBottom: 9\n }\n },\n [`& .${autocompleteClasses.input}`]: {\n flexGrow: 1,\n textOverflow: 'ellipsis',\n opacity: 0\n },\n variants: [{\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n [`& .${autocompleteClasses.tag}`]: {\n margin: 2,\n maxWidth: 'calc(100% - 4px)'\n }\n }\n }, {\n props: {\n inputFocused: true\n },\n style: {\n [`& .${autocompleteClasses.input}`]: {\n opacity: 1\n }\n }\n }, {\n props: {\n multiple: true\n },\n style: {\n [`& .${autocompleteClasses.inputRoot}`]: {\n flexWrap: 'wrap'\n }\n }\n }]\n});\nconst AutocompleteEndAdornment = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'EndAdornment',\n overridesResolver: (props, styles) => styles.endAdornment\n})({\n // We use a position absolute to support wrapping tags.\n position: 'absolute',\n right: 0,\n top: '50%',\n transform: 'translate(0, -50%)'\n});\nconst AutocompleteClearIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'ClearIndicator',\n overridesResolver: (props, styles) => styles.clearIndicator\n})({\n marginRight: -2,\n padding: 4,\n visibility: 'hidden'\n});\nconst AutocompletePopupIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'PopupIndicator',\n overridesResolver: ({\n ownerState\n }, styles) => _extends({}, styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen)\n})({\n padding: 2,\n marginRight: -2,\n variants: [{\n props: {\n popupOpen: true\n },\n style: {\n transform: 'rotate(180deg)'\n }\n }]\n});\nconst AutocompletePopper = styled(Popper, {\n name: 'MuiAutocomplete',\n slot: 'Popper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${autocompleteClasses.option}`]: styles.option\n }, styles.popper, ownerState.disablePortal && styles.popperDisablePortal];\n }\n})(({\n theme\n}) => ({\n zIndex: (theme.vars || theme).zIndex.modal,\n variants: [{\n props: {\n disablePortal: true\n },\n style: {\n position: 'absolute'\n }\n }]\n}));\nconst AutocompletePaper = styled(Paper, {\n name: 'MuiAutocomplete',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})(({\n theme\n}) => _extends({}, theme.typography.body1, {\n overflow: 'auto'\n}));\nconst AutocompleteLoading = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Loading',\n overridesResolver: (props, styles) => styles.loading\n})(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n}));\nconst AutocompleteNoOptions = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'NoOptions',\n overridesResolver: (props, styles) => styles.noOptions\n})(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n}));\nconst AutocompleteListbox = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Listbox',\n overridesResolver: (props, styles) => styles.listbox\n})(({\n theme\n}) => ({\n listStyle: 'none',\n margin: 0,\n padding: '8px 0',\n maxHeight: '40vh',\n overflow: 'auto',\n position: 'relative',\n [`& .${autocompleteClasses.option}`]: {\n minHeight: 48,\n display: 'flex',\n overflow: 'hidden',\n justifyContent: 'flex-start',\n alignItems: 'center',\n cursor: 'pointer',\n paddingTop: 6,\n boxSizing: 'border-box',\n outline: '0',\n WebkitTapHighlightColor: 'transparent',\n paddingBottom: 6,\n paddingLeft: 16,\n paddingRight: 16,\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n },\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&[aria-disabled=\"true\"]': {\n opacity: (theme.vars || theme).palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n '&[aria-selected=\"true\"]': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: (theme.vars || theme).palette.action.selected\n }\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n }\n }\n}));\nconst AutocompleteGroupLabel = styled(ListSubheader, {\n name: 'MuiAutocomplete',\n slot: 'GroupLabel',\n overridesResolver: (props, styles) => styles.groupLabel\n})(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n top: -8\n}));\nconst AutocompleteGroupUl = styled('ul', {\n name: 'MuiAutocomplete',\n slot: 'GroupUl',\n overridesResolver: (props, styles) => styles.groupUl\n})({\n padding: 0,\n [`& .${autocompleteClasses.option}`]: {\n paddingLeft: 24\n }\n});\nexport { createFilterOptions };\nconst Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps, ref) {\n var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAutocomplete'\n });\n\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const {\n autoComplete = false,\n autoHighlight = false,\n autoSelect = false,\n blurOnSelect = false,\n ChipProps,\n className,\n clearIcon = _ClearIcon || (_ClearIcon = /*#__PURE__*/_jsx(ClearIcon, {\n fontSize: \"small\"\n })),\n clearOnBlur = !props.freeSolo,\n clearOnEscape = false,\n clearText = 'Clear',\n closeText = 'Close',\n componentsProps = {},\n defaultValue = props.multiple ? [] : null,\n disableClearable = false,\n disableCloseOnSelect = false,\n disabled = false,\n disabledItemsFocusable = false,\n disableListWrap = false,\n disablePortal = false,\n filterSelectedOptions = false,\n forcePopupIcon = 'auto',\n freeSolo = false,\n fullWidth = false,\n getLimitTagsText = more => `+${more}`,\n getOptionLabel: getOptionLabelProp,\n groupBy,\n handleHomeEndKeys = !props.freeSolo,\n includeInputInList = false,\n limitTags = -1,\n ListboxComponent = 'ul',\n ListboxProps,\n loading = false,\n loadingText = 'Loading…',\n multiple = false,\n noOptionsText = 'No options',\n openOnFocus = false,\n openText = 'Open',\n PaperComponent = Paper,\n PopperComponent = Popper,\n popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/_jsx(ArrowDropDownIcon, {})),\n readOnly = false,\n renderGroup: renderGroupProp,\n renderInput,\n renderOption: renderOptionProp,\n renderTags,\n selectOnFocus = !props.freeSolo,\n size = 'medium',\n slotProps = {}\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n /* eslint-enable @typescript-eslint/no-unused-vars */\n\n const {\n getRootProps,\n getInputProps,\n getInputLabelProps,\n getPopupIndicatorProps,\n getClearProps,\n getTagProps,\n getListboxProps,\n getOptionProps,\n value,\n dirty,\n expanded,\n id,\n popupOpen,\n focused,\n focusedTag,\n anchorEl,\n setAnchorEl,\n inputValue,\n groupedOptions\n } = useAutocomplete(_extends({}, props, {\n componentName: 'Autocomplete'\n }));\n const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;\n const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;\n const {\n onMouseDown: handleInputMouseDown\n } = getInputProps();\n const {\n ref: externalListboxRef\n } = ListboxProps != null ? ListboxProps : {};\n const _getListboxProps = getListboxProps(),\n {\n ref: listboxRef\n } = _getListboxProps,\n otherListboxProps = _objectWithoutPropertiesLoose(_getListboxProps, _excluded2);\n const combinedListboxRef = useForkRef(listboxRef, externalListboxRef);\n const defaultGetOptionLabel = option => {\n var _option$label;\n return (_option$label = option.label) != null ? _option$label : option;\n };\n const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;\n\n // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.\n const ownerState = _extends({}, props, {\n disablePortal,\n expanded,\n focused,\n fullWidth,\n getOptionLabel,\n hasClearIcon,\n hasPopupIcon,\n inputFocused: focusedTag === -1,\n popupOpen,\n size\n });\n const classes = useUtilityClasses(ownerState);\n let startAdornment;\n if (multiple && value.length > 0) {\n const getCustomizedTagProps = params => _extends({\n className: classes.tag,\n disabled\n }, getTagProps(params));\n if (renderTags) {\n startAdornment = renderTags(value, getCustomizedTagProps, ownerState);\n } else {\n startAdornment = value.map((option, index) => {\n const _getCustomizedTagProp = getCustomizedTagProps({\n index\n }),\n {\n key\n } = _getCustomizedTagProp,\n customTagProps = _objectWithoutPropertiesLoose(_getCustomizedTagProp, _excluded3);\n return /*#__PURE__*/_jsx(Chip, _extends({\n label: getOptionLabel(option),\n size: size\n }, customTagProps, ChipProps), key);\n });\n }\n }\n if (limitTags > -1 && Array.isArray(startAdornment)) {\n const more = startAdornment.length - limitTags;\n if (!focused && more > 0) {\n startAdornment = startAdornment.splice(0, limitTags);\n startAdornment.push( /*#__PURE__*/_jsx(\"span\", {\n className: classes.tag,\n children: getLimitTagsText(more)\n }, startAdornment.length));\n }\n }\n const defaultRenderGroup = params => /*#__PURE__*/_jsxs(\"li\", {\n children: [/*#__PURE__*/_jsx(AutocompleteGroupLabel, {\n className: classes.groupLabel,\n ownerState: ownerState,\n component: \"div\",\n children: params.group\n }), /*#__PURE__*/_jsx(AutocompleteGroupUl, {\n className: classes.groupUl,\n ownerState: ownerState,\n children: params.children\n })]\n }, params.key);\n const renderGroup = renderGroupProp || defaultRenderGroup;\n const defaultRenderOption = (props2, option) => {\n // Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642\n const {\n key\n } = props2,\n otherProps = _objectWithoutPropertiesLoose(props2, _excluded4);\n return /*#__PURE__*/_jsx(\"li\", _extends({}, otherProps, {\n children: getOptionLabel(option)\n }), key);\n };\n const renderOption = renderOptionProp || defaultRenderOption;\n const renderListOption = (option, index) => {\n const optionProps = getOptionProps({\n option,\n index\n });\n return renderOption(_extends({}, optionProps, {\n className: classes.option\n }), option, {\n selected: optionProps['aria-selected'],\n index,\n inputValue\n }, ownerState);\n };\n const clearIndicatorSlotProps = (_slotProps$clearIndic = slotProps.clearIndicator) != null ? _slotProps$clearIndic : componentsProps.clearIndicator;\n const paperSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : componentsProps.paper;\n const popperSlotProps = (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper;\n const popupIndicatorSlotProps = (_slotProps$popupIndic = slotProps.popupIndicator) != null ? _slotProps$popupIndic : componentsProps.popupIndicator;\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(AutocompleteRoot, _extends({\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, getRootProps(other), {\n children: renderInput({\n id,\n disabled,\n fullWidth: true,\n size: size === 'small' ? 'small' : undefined,\n InputLabelProps: getInputLabelProps(),\n InputProps: _extends({\n ref: setAnchorEl,\n className: classes.inputRoot,\n startAdornment,\n onClick: event => {\n if (event.target === event.currentTarget) {\n handleInputMouseDown(event);\n }\n }\n }, (hasClearIcon || hasPopupIcon) && {\n endAdornment: /*#__PURE__*/_jsxs(AutocompleteEndAdornment, {\n className: classes.endAdornment,\n ownerState: ownerState,\n children: [hasClearIcon ? /*#__PURE__*/_jsx(AutocompleteClearIndicator, _extends({}, getClearProps(), {\n \"aria-label\": clearText,\n title: clearText,\n ownerState: ownerState\n }, clearIndicatorSlotProps, {\n className: clsx(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),\n children: clearIcon\n })) : null, hasPopupIcon ? /*#__PURE__*/_jsx(AutocompletePopupIndicator, _extends({}, getPopupIndicatorProps(), {\n disabled: disabled,\n \"aria-label\": popupOpen ? closeText : openText,\n title: popupOpen ? closeText : openText,\n ownerState: ownerState\n }, popupIndicatorSlotProps, {\n className: clsx(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),\n children: popupIcon\n })) : null]\n })\n }),\n inputProps: _extends({\n className: classes.input,\n disabled,\n readOnly\n }, getInputProps())\n })\n })), anchorEl ? /*#__PURE__*/_jsx(AutocompletePopper, _extends({\n as: PopperComponent,\n disablePortal: disablePortal,\n style: {\n width: anchorEl ? anchorEl.clientWidth : null\n },\n ownerState: ownerState,\n role: \"presentation\",\n anchorEl: anchorEl,\n open: popupOpen\n }, popperSlotProps, {\n className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),\n children: /*#__PURE__*/_jsxs(AutocompletePaper, _extends({\n ownerState: ownerState,\n as: PaperComponent\n }, paperSlotProps, {\n className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),\n children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/_jsx(AutocompleteLoading, {\n className: classes.loading,\n ownerState: ownerState,\n children: loadingText\n }) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/_jsx(AutocompleteNoOptions, {\n className: classes.noOptions,\n ownerState: ownerState,\n role: \"presentation\",\n onMouseDown: event => {\n // Prevent input blur when interacting with the \"no options\" content\n event.preventDefault();\n },\n children: noOptionsText\n }) : null, groupedOptions.length > 0 ? /*#__PURE__*/_jsx(AutocompleteListbox, _extends({\n as: ListboxComponent,\n className: classes.listbox,\n ownerState: ownerState\n }, otherListboxProps, ListboxProps, {\n ref: combinedListboxRef,\n children: groupedOptions.map((option, index) => {\n if (groupBy) {\n return renderGroup({\n key: option.key,\n group: option.group,\n children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))\n });\n }\n return renderListOption(option, index);\n })\n })) : null]\n }))\n })) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Autocomplete.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the portion of the selected suggestion that the user hasn't typed,\n * known as the completion string, appears inline after the input cursor in the textbox.\n * The inline completion string is visually highlighted and has a selected state.\n * @default false\n */\n autoComplete: PropTypes.bool,\n /**\n * If `true`, the first option is automatically highlighted.\n * @default false\n */\n autoHighlight: PropTypes.bool,\n /**\n * If `true`, the selected option becomes the value of the input\n * when the Autocomplete loses focus unless the user chooses\n * a different option or changes the character string in the input.\n *\n * When using the `freeSolo` mode, the typed value will be the input value\n * if the Autocomplete loses focus without highlighting an option.\n * @default false\n */\n autoSelect: PropTypes.bool,\n /**\n * Control if the input should be blurred when an option is selected:\n *\n * - `false` the input is not blurred.\n * - `true` the input is always blurred.\n * - `touch` the input is blurred after a touch event.\n * - `mouse` the input is blurred after a mouse event.\n * @default false\n */\n blurOnSelect: PropTypes.oneOfType([PropTypes.oneOf(['mouse', 'touch']), PropTypes.bool]),\n /**\n * Props applied to the [`Chip`](/material-ui/api/chip/) element.\n */\n ChipProps: PropTypes.object,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The icon to display in place of the default clear icon.\n * @default <ClearIcon fontSize=\"small\" />\n */\n clearIcon: PropTypes.node,\n /**\n * If `true`, the input's text is cleared on blur if no value is selected.\n *\n * Set it to `true` if you want to help the user enter a new value.\n * Set it to `false` if you want to help the user resume their search.\n * @default !props.freeSolo\n */\n clearOnBlur: PropTypes.bool,\n /**\n * If `true`, clear all values when the user presses escape and the popup is closed.\n * @default false\n */\n clearOnEscape: PropTypes.bool,\n /**\n * Override the default text for the *clear* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Clear'\n */\n clearText: PropTypes.string,\n /**\n * Override the default text for the *close popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Close'\n */\n closeText: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n clearIndicator: PropTypes.object,\n paper: PropTypes.object,\n popper: PropTypes.object,\n popupIndicator: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n * @default props.multiple ? [] : null\n */\n defaultValue: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.defaultValue !== undefined && !Array.isArray(props.defaultValue)) {\n return new Error(['MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.', `However, ${props.defaultValue} was provided.`].join('\\n'));\n }\n return null;\n }),\n /**\n * If `true`, the input can't be cleared.\n * @default false\n */\n disableClearable: PropTypes.bool,\n /**\n * If `true`, the popup won't close when a value is selected.\n * @default false\n */\n disableCloseOnSelect: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the list box in the popup will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * If `true`, the `Popper` content will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * A function that determines the filtered options to be rendered on search.\n *\n * @default createFilterOptions()\n * @param {Value[]} options The options to render.\n * @param {object} state The state of the component.\n * @returns {Value[]}\n */\n filterOptions: PropTypes.func,\n /**\n * If `true`, hide the selected options from the list box.\n * @default false\n */\n filterSelectedOptions: PropTypes.bool,\n /**\n * Force the visibility display of the popup icon.\n * @default 'auto'\n */\n forcePopupIcon: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.bool]),\n /**\n * If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.\n * @default false\n */\n freeSolo: PropTypes.bool,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The label to display when the tags are truncated (`limitTags`).\n *\n * @param {number} more The number of truncated tags.\n * @returns {ReactNode}\n * @default (more) => `+${more}`\n */\n getLimitTagsText: PropTypes.func,\n /**\n * Used to determine the disabled state for a given option.\n *\n * @param {Value} option The option to test.\n * @returns {boolean}\n */\n getOptionDisabled: PropTypes.func,\n /**\n * Used to determine the key for a given option.\n * This can be useful when the labels of options are not unique (since labels are used as keys by default).\n *\n * @param {Value} option The option to get the key for.\n * @returns {string | number}\n */\n getOptionKey: PropTypes.func,\n /**\n * Used to determine the string value for a given option.\n * It's used to fill the input (and the list box options if `renderOption` is not provided).\n *\n * If used in free solo mode, it must accept both the type of the options and a string.\n *\n * @param {Value} option\n * @returns {string}\n * @default (option) => option.label ?? option\n */\n getOptionLabel: PropTypes.func,\n /**\n * If provided, the options will be grouped under the returned string.\n * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.\n *\n * @param {Value} options The options to group.\n * @returns {string}\n */\n groupBy: PropTypes.func,\n /**\n * If `true`, the component handles the \"Home\" and \"End\" keys when the popup is open.\n * It should move focus to the first option and last option, respectively.\n * @default !props.freeSolo\n */\n handleHomeEndKeys: PropTypes.bool,\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide an id it will fall back to a randomly generated one.\n */\n id: PropTypes.string,\n /**\n * If `true`, the highlight can move to the input.\n * @default false\n */\n includeInputInList: PropTypes.bool,\n /**\n * The input value.\n */\n inputValue: PropTypes.string,\n /**\n * Used to determine if the option represents the given value.\n * Uses strict equality by default.\n * ⚠️ Both arguments need to be handled, an option can only match with one value.\n *\n * @param {Value} option The option to test.\n * @param {Value} value The value to test against.\n * @returns {boolean}\n */\n isOptionEqualToValue: PropTypes.func,\n /**\n * The maximum number of tags that will be visible when not focused.\n * Set `-1` to disable the limit.\n * @default -1\n */\n limitTags: integerPropType,\n /**\n * The component used to render the listbox.\n * @default 'ul'\n */\n ListboxComponent: PropTypes.elementType,\n /**\n * Props applied to the Listbox element.\n */\n ListboxProps: PropTypes.object,\n /**\n * If `true`, the component is in a loading state.\n * This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Text to display when in a loading state.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Loading…'\n */\n loadingText: PropTypes.node,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n * @default false\n */\n multiple: PropTypes.bool,\n /**\n * Text to display when there are no options.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'No options'\n */\n noOptionsText: PropTypes.node,\n /**\n * Callback fired when the value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value|Value[]} value The new value of the component.\n * @param {string} reason One of \"createOption\", \"selectOption\", \"removeOption\", \"blur\" or \"clear\".\n * @param {string} [details]\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} reason Can be: `\"toggleInput\"`, `\"escape\"`, `\"selectOption\"`, `\"removeOption\"`, `\"blur\"`.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the highlight option changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value} option The highlighted option.\n * @param {string} reason Can be: `\"keyboard\"`, `\"auto\"`, `\"mouse\"`, `\"touch\"`.\n */\n onHighlightChange: PropTypes.func,\n /**\n * Callback fired when the input value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} value The new value of the text input.\n * @param {string} reason Can be: `\"input\"` (user input), `\"reset\"` (programmatic change), `\"clear\"`.\n */\n onInputChange: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * If `true`, the popup will open on input focus.\n * @default false\n */\n openOnFocus: PropTypes.bool,\n /**\n * Override the default text for the *open popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Open'\n */\n openText: PropTypes.string,\n /**\n * Array of options.\n */\n options: PropTypes.array.isRequired,\n /**\n * The component used to render the body of the popup.\n * @default Paper\n */\n PaperComponent: PropTypes.elementType,\n /**\n * The component used to position the popup.\n * @default Popper\n */\n PopperComponent: PropTypes.elementType,\n /**\n * The icon to display in place of the default popup icon.\n * @default <ArrowDropDownIcon />\n */\n popupIcon: PropTypes.node,\n /**\n * If `true`, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted.\n * @default false\n */\n readOnly: PropTypes.bool,\n /**\n * Render the group.\n *\n * @param {AutocompleteRenderGroupParams} params The group to render.\n * @returns {ReactNode}\n */\n renderGroup: PropTypes.func,\n /**\n * Render the input.\n *\n * @param {object} params\n * @returns {ReactNode}\n */\n renderInput: PropTypes.func.isRequired,\n /**\n * Render the option, use `getOptionLabel` by default.\n *\n * @param {object} props The props to apply on the li element.\n * @param {Value} option The option to render.\n * @param {object} state The state of each option.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderOption: PropTypes.func,\n /**\n * Render the selected value.\n *\n * @param {Value[]} value The `value` provided to the component.\n * @param {function} getTagProps A tag props getter.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderTags: PropTypes.func,\n /**\n * If `true`, the input's text is selected on focus.\n * It helps the user clear the selected value.\n * @default !props.freeSolo\n */\n selectOnFocus: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n clearIndicator: PropTypes.object,\n paper: PropTypes.object,\n popper: PropTypes.object,\n popupIndicator: PropTypes.object\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the autocomplete.\n *\n * The value must have reference equality with the option in order to be selected.\n * You can customize the equality behavior with the `isOptionEqualToValue` prop.\n */\n value: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.value !== undefined && !Array.isArray(props.value)) {\n return new Error(['MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.', `However, ${props.value} was provided.`].join('\\n'));\n }\n return null;\n })\n} : void 0;\nexport default Autocomplete;"],"names":["_ClearIcon","_ArrowDropDownIcon","_excluded","_excluded2","_excluded3","_excluded4","AutocompleteRoot","styled","name","slot","overridesResolver","props","styles","ownerState","fullWidth","hasClearIcon","hasPopupIcon","inputFocused","size","autocompleteClasses","tag","capitalize","inputRoot","input","root","focused","clearIndicator","visibility","margin","maxWidth","paddingRight","width","minWidth","inputClasses","paddingBottom","padding","inputBaseClasses","sizeSmall","outlinedInputClasses","endAdornment","right","paddingTop","paddingLeft","filledInputClasses","hiddenLabel","flexGrow","textOverflow","opacity","variants","style","multiple","flexWrap","AutocompleteEndAdornment","position","top","transform","AutocompleteClearIndicator","IconButton","marginRight","AutocompletePopupIndicator","_extends","popupIndicator","popupOpen","popupIndicatorOpen","AutocompletePopper","Popper","option","popper","disablePortal","popperDisablePortal","theme","zIndex","vars","modal","AutocompletePaper","Paper","paper","typography","body1","overflow","AutocompleteLoading","loading","color","palette","text","secondary","AutocompleteNoOptions","noOptions","AutocompleteListbox","listbox","listStyle","maxHeight","minHeight","display","justifyContent","alignItems","cursor","boxSizing","outline","WebkitTapHighlightColor","breakpoints","up","backgroundColor","action","hover","disabledOpacity","pointerEvents","focusVisible","focus","primary","mainChannel","selectedOpacity","alpha","main","hoverOpacity","selected","focusOpacity","AutocompleteGroupLabel","ListSubheader","groupLabel","background","AutocompleteGroupUl","groupUl","Autocomplete","React","forwardRef","inProps","ref","_slotProps$clearIndic","_slotProps$paper","_slotProps$popper","_slotProps$popupIndic","useDefaultProps","ChipProps","className","clearIcon","_jsx","ClearIcon","fontSize","clearText","closeText","componentsProps","disableClearable","disabled","forcePopupIcon","freeSolo","getLimitTagsText","more","getOptionLabel","getOptionLabelProp","groupBy","limitTags","ListboxComponent","ListboxProps","loadingText","noOptionsText","openText","PaperComponent","PopperComponent","popupIcon","ArrowDropDownIcon","readOnly","renderGroup","renderGroupProp","renderInput","renderOption","renderOptionProp","renderTags","slotProps","other","_objectWithoutPropertiesLoose","getRootProps","getInputProps","getInputLabelProps","getPopupIndicatorProps","getClearProps","getTagProps","getListboxProps","getOptionProps","value","dirty","expanded","id","focusedTag","anchorEl","setAnchorEl","inputValue","groupedOptions","useAutocomplete","componentName","onMouseDown","handleInputMouseDown","externalListboxRef","_getListboxProps","listboxRef","otherListboxProps","combinedListboxRef","useForkRef","_option$label","label","classes","slots","composeClasses","getAutocompleteUtilityClass","useUtilityClasses","startAdornment","length","getCustomizedTagProps","params","map","index","_getCustomizedTagProp","key","customTagProps","Chip","Array","isArray","splice","push","children","_jsxs","component","group","props2","otherProps","renderListOption","optionProps","clearIndicatorSlotProps","paperSlotProps","popperSlotProps","popupIndicatorSlotProps","Fragment","clsx","InputLabelProps","InputProps","onClick","event","target","currentTarget","title","inputProps","as","clientWidth","role","open","preventDefault","options","option2","index2","NODE_ENV","propTypes","autoComplete","PropTypes","bool","autoHighlight","autoSelect","blurOnSelect","oneOfType","oneOf","object","string","node","clearOnBlur","clearOnEscape","shape","defaultValue","chainPropTypes","any","Error","join","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","filterOptions","func","filterSelectedOptions","getOptionDisabled","getOptionKey","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","integerPropType","elementType","onChange","onClose","onHighlightChange","onInputChange","onKeyDown","onOpen","openOnFocus","array","isRequired","selectOnFocus","sx","arrayOf"],"mappings":"40DAIIA,EAAYC,wBAChB,MAAMC,EAAY,CAAC,eAAgB,gBAAiB,aAAc,eAAgB,YAAa,YAAa,YAAa,cAAe,gBAAiB,YAAa,YAAa,kBAAmB,eAAgB,mBAAoB,uBAAwB,WAAY,yBAA0B,kBAAmB,gBAAiB,gBAAiB,wBAAyB,iBAAkB,WAAY,YAAa,mBAAoB,oBAAqB,eAAgB,iBAAkB,uBAAwB,UAAW,oBAAqB,KAAM,qBAAsB,aAAc,YAAa,mBAAoB,eAAgB,UAAW,cAAe,WAAY,gBAAiB,WAAY,UAAW,oBAAqB,gBAAiB,SAAU,OAAQ,cAAe,WAAY,UAAW,iBAAkB,kBAAmB,YAAa,W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QAASD,EAAAA,QAAUsB,KAAMtB,UAAUO,SAO/IhF,MAAOuF,EAAAA,QAAed,EAAAA,QAAUe,IAAKhQ,GAC/BA,EAAMuC,eAA4B,IAAhBvC,EAAMwK,QAAwBoC,MAAMC,QAAQ7M,EAAMwK,OAC/D,IAAIyF,MAAM,CAAC,qGAAsG,YAAYjQ,EAAMwK,uBAAuB0F,KAAK,OAEjK","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Autocomplete/Autocomplete.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nvar _ClearIcon, _ArrowDropDownIcon;\nconst _excluded = [\"autoComplete\", \"autoHighlight\", \"autoSelect\", \"blurOnSelect\", \"ChipProps\", \"className\", \"clearIcon\", \"clearOnBlur\", \"clearOnEscape\", \"clearText\", \"closeText\", \"componentsProps\", \"defaultValue\", \"disableClearable\", \"disableCloseOnSelect\", \"disabled\", \"disabledItemsFocusable\", \"disableListWrap\", \"disablePortal\", \"filterOptions\", \"filterSelectedOptions\", \"forcePopupIcon\", \"freeSolo\", \"fullWidth\", \"getLimitTagsText\", \"getOptionDisabled\", \"getOptionKey\", \"getOptionLabel\", \"isOptionEqualToValue\", \"groupBy\", \"handleHomeEndKeys\", \"id\", \"includeInputInList\", \"inputValue\", \"limitTags\", \"ListboxComponent\", \"ListboxProps\", \"loading\", \"loadingText\", \"multiple\", \"noOptionsText\", \"onChange\", \"onClose\", \"onHighlightChange\", \"onInputChange\", \"onOpen\", \"open\", \"openOnFocus\", \"openText\", \"options\", \"PaperComponent\", \"PopperComponent\", \"popupIcon\", \"readOnly\", \"renderGroup\", \"renderInput\", \"renderOption\", \"renderTags\", \"selectOnFocus\", \"size\", \"slotProps\", \"value\"],\n _excluded2 = [\"ref\"],\n _excluded3 = [\"key\"],\n _excluded4 = [\"key\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport useAutocomplete, { createFilterOptions } from '../useAutocomplete';\nimport Popper from '../Popper';\nimport ListSubheader from '../ListSubheader';\nimport Paper from '../Paper';\nimport IconButton from '../IconButton';\nimport Chip from '../Chip';\nimport inputClasses from '../Input/inputClasses';\nimport inputBaseClasses from '../InputBase/inputBaseClasses';\nimport outlinedInputClasses from '../OutlinedInput/outlinedInputClasses';\nimport filledInputClasses from '../FilledInput/filledInputClasses';\nimport ClearIcon from '../internal/svg-icons/Close';\nimport ArrowDropDownIcon from '../internal/svg-icons/ArrowDropDown';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport autocompleteClasses, { getAutocompleteUtilityClass } from './autocompleteClasses';\nimport capitalize from '../utils/capitalize';\nimport useForkRef from '../utils/useForkRef';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n disablePortal,\n expanded,\n focused,\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n popupOpen,\n size\n } = ownerState;\n const slots = {\n root: ['root', expanded && 'expanded', focused && 'focused', fullWidth && 'fullWidth', hasClearIcon && 'hasClearIcon', hasPopupIcon && 'hasPopupIcon'],\n inputRoot: ['inputRoot'],\n input: ['input', inputFocused && 'inputFocused'],\n tag: ['tag', `tagSize${capitalize(size)}`],\n endAdornment: ['endAdornment'],\n clearIndicator: ['clearIndicator'],\n popupIndicator: ['popupIndicator', popupOpen && 'popupIndicatorOpen'],\n popper: ['popper', disablePortal && 'popperDisablePortal'],\n paper: ['paper'],\n listbox: ['listbox'],\n loading: ['loading'],\n noOptions: ['noOptions'],\n option: ['option'],\n groupLabel: ['groupLabel'],\n groupUl: ['groupUl']\n };\n return composeClasses(slots, getAutocompleteUtilityClass, classes);\n};\nconst AutocompleteRoot = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n const {\n fullWidth,\n hasClearIcon,\n hasPopupIcon,\n inputFocused,\n size\n } = ownerState;\n return [{\n [`& .${autocompleteClasses.tag}`]: styles.tag\n }, {\n [`& .${autocompleteClasses.tag}`]: styles[`tagSize${capitalize(size)}`]\n }, {\n [`& .${autocompleteClasses.inputRoot}`]: styles.inputRoot\n }, {\n [`& .${autocompleteClasses.input}`]: styles.input\n }, {\n [`& .${autocompleteClasses.input}`]: inputFocused && styles.inputFocused\n }, styles.root, fullWidth && styles.fullWidth, hasPopupIcon && styles.hasPopupIcon, hasClearIcon && styles.hasClearIcon];\n }\n})({\n [`&.${autocompleteClasses.focused} .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n },\n /* Avoid double tap issue on iOS */\n '@media (pointer: fine)': {\n [`&:hover .${autocompleteClasses.clearIndicator}`]: {\n visibility: 'visible'\n }\n },\n [`& .${autocompleteClasses.tag}`]: {\n margin: 3,\n maxWidth: 'calc(100% - 6px)'\n },\n [`& .${autocompleteClasses.inputRoot}`]: {\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4\n },\n [`& .${autocompleteClasses.input}`]: {\n width: 0,\n minWidth: 30\n }\n },\n [`& .${inputClasses.root}`]: {\n paddingBottom: 1,\n '& .MuiInput-input': {\n padding: '4px 4px 4px 0px'\n }\n },\n [`& .${inputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${inputClasses.input}`]: {\n padding: '2px 4px 3px 0'\n }\n },\n [`& .${outlinedInputClasses.root}`]: {\n padding: 9,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${autocompleteClasses.input}`]: {\n padding: '7.5px 4px 7.5px 5px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${outlinedInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n // Don't specify paddingRight, as it overrides the default value set when there is only\n // one of the popup or clear icon as the specificity is equal so the latter one wins\n paddingTop: 6,\n paddingBottom: 6,\n paddingLeft: 6,\n [`& .${autocompleteClasses.input}`]: {\n padding: '2.5px 4px 2.5px 8px'\n }\n },\n [`& .${filledInputClasses.root}`]: {\n paddingTop: 19,\n paddingLeft: 8,\n [`.${autocompleteClasses.hasPopupIcon}&, .${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 26 + 4 + 9\n },\n [`.${autocompleteClasses.hasPopupIcon}.${autocompleteClasses.hasClearIcon}&`]: {\n paddingRight: 52 + 4 + 9\n },\n [`& .${filledInputClasses.input}`]: {\n padding: '7px 4px'\n },\n [`& .${autocompleteClasses.endAdornment}`]: {\n right: 9\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.sizeSmall}`]: {\n paddingBottom: 1,\n [`& .${filledInputClasses.input}`]: {\n padding: '2.5px 4px'\n }\n },\n [`& .${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 8\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}`]: {\n paddingTop: 0,\n paddingBottom: 0,\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 16,\n paddingBottom: 17\n }\n },\n [`& .${filledInputClasses.root}.${inputBaseClasses.hiddenLabel}.${inputBaseClasses.sizeSmall}`]: {\n [`& .${autocompleteClasses.input}`]: {\n paddingTop: 8,\n paddingBottom: 9\n }\n },\n [`& .${autocompleteClasses.input}`]: {\n flexGrow: 1,\n textOverflow: 'ellipsis',\n opacity: 0\n },\n variants: [{\n props: {\n fullWidth: true\n },\n style: {\n width: '100%'\n }\n }, {\n props: {\n size: 'small'\n },\n style: {\n [`& .${autocompleteClasses.tag}`]: {\n margin: 2,\n maxWidth: 'calc(100% - 4px)'\n }\n }\n }, {\n props: {\n inputFocused: true\n },\n style: {\n [`& .${autocompleteClasses.input}`]: {\n opacity: 1\n }\n }\n }, {\n props: {\n multiple: true\n },\n style: {\n [`& .${autocompleteClasses.inputRoot}`]: {\n flexWrap: 'wrap'\n }\n }\n }]\n});\nconst AutocompleteEndAdornment = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'EndAdornment',\n overridesResolver: (props, styles) => styles.endAdornment\n})({\n // We use a position absolute to support wrapping tags.\n position: 'absolute',\n right: 0,\n top: '50%',\n transform: 'translate(0, -50%)'\n});\nconst AutocompleteClearIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'ClearIndicator',\n overridesResolver: (props, styles) => styles.clearIndicator\n})({\n marginRight: -2,\n padding: 4,\n visibility: 'hidden'\n});\nconst AutocompletePopupIndicator = styled(IconButton, {\n name: 'MuiAutocomplete',\n slot: 'PopupIndicator',\n overridesResolver: ({\n ownerState\n }, styles) => _extends({}, styles.popupIndicator, ownerState.popupOpen && styles.popupIndicatorOpen)\n})({\n padding: 2,\n marginRight: -2,\n variants: [{\n props: {\n popupOpen: true\n },\n style: {\n transform: 'rotate(180deg)'\n }\n }]\n});\nconst AutocompletePopper = styled(Popper, {\n name: 'MuiAutocomplete',\n slot: 'Popper',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [{\n [`& .${autocompleteClasses.option}`]: styles.option\n }, styles.popper, ownerState.disablePortal && styles.popperDisablePortal];\n }\n})(({\n theme\n}) => ({\n zIndex: (theme.vars || theme).zIndex.modal,\n variants: [{\n props: {\n disablePortal: true\n },\n style: {\n position: 'absolute'\n }\n }]\n}));\nconst AutocompletePaper = styled(Paper, {\n name: 'MuiAutocomplete',\n slot: 'Paper',\n overridesResolver: (props, styles) => styles.paper\n})(({\n theme\n}) => _extends({}, theme.typography.body1, {\n overflow: 'auto'\n}));\nconst AutocompleteLoading = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Loading',\n overridesResolver: (props, styles) => styles.loading\n})(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n}));\nconst AutocompleteNoOptions = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'NoOptions',\n overridesResolver: (props, styles) => styles.noOptions\n})(({\n theme\n}) => ({\n color: (theme.vars || theme).palette.text.secondary,\n padding: '14px 16px'\n}));\nconst AutocompleteListbox = styled('div', {\n name: 'MuiAutocomplete',\n slot: 'Listbox',\n overridesResolver: (props, styles) => styles.listbox\n})(({\n theme\n}) => ({\n listStyle: 'none',\n margin: 0,\n padding: '8px 0',\n maxHeight: '40vh',\n overflow: 'auto',\n position: 'relative',\n [`& .${autocompleteClasses.option}`]: {\n minHeight: 48,\n display: 'flex',\n overflow: 'hidden',\n justifyContent: 'flex-start',\n alignItems: 'center',\n cursor: 'pointer',\n paddingTop: 6,\n boxSizing: 'border-box',\n outline: '0',\n WebkitTapHighlightColor: 'transparent',\n paddingBottom: 6,\n paddingLeft: 16,\n paddingRight: 16,\n [theme.breakpoints.up('sm')]: {\n minHeight: 'auto'\n },\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: (theme.vars || theme).palette.action.hover,\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: 'transparent'\n }\n },\n '&[aria-disabled=\"true\"]': {\n opacity: (theme.vars || theme).palette.action.disabledOpacity,\n pointerEvents: 'none'\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: (theme.vars || theme).palette.action.focus\n },\n '&[aria-selected=\"true\"]': {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n [`&.${autocompleteClasses.focused}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n // Reset on touch devices, it doesn't add specificity\n '@media (hover: none)': {\n backgroundColor: (theme.vars || theme).palette.action.selected\n }\n },\n [`&.${autocompleteClasses.focusVisible}`]: {\n backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n }\n }\n }\n}));\nconst AutocompleteGroupLabel = styled(ListSubheader, {\n name: 'MuiAutocomplete',\n slot: 'GroupLabel',\n overridesResolver: (props, styles) => styles.groupLabel\n})(({\n theme\n}) => ({\n backgroundColor: (theme.vars || theme).palette.background.paper,\n top: -8\n}));\nconst AutocompleteGroupUl = styled('ul', {\n name: 'MuiAutocomplete',\n slot: 'GroupUl',\n overridesResolver: (props, styles) => styles.groupUl\n})({\n padding: 0,\n [`& .${autocompleteClasses.option}`]: {\n paddingLeft: 24\n }\n});\nexport { createFilterOptions };\nconst Autocomplete = /*#__PURE__*/React.forwardRef(function Autocomplete(inProps, ref) {\n var _slotProps$clearIndic, _slotProps$paper, _slotProps$popper, _slotProps$popupIndic;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAutocomplete'\n });\n\n /* eslint-disable @typescript-eslint/no-unused-vars */\n const {\n autoComplete = false,\n autoHighlight = false,\n autoSelect = false,\n blurOnSelect = false,\n ChipProps,\n className,\n clearIcon = _ClearIcon || (_ClearIcon = /*#__PURE__*/_jsx(ClearIcon, {\n fontSize: \"small\"\n })),\n clearOnBlur = !props.freeSolo,\n clearOnEscape = false,\n clearText = 'Clear',\n closeText = 'Close',\n componentsProps = {},\n defaultValue = props.multiple ? [] : null,\n disableClearable = false,\n disableCloseOnSelect = false,\n disabled = false,\n disabledItemsFocusable = false,\n disableListWrap = false,\n disablePortal = false,\n filterSelectedOptions = false,\n forcePopupIcon = 'auto',\n freeSolo = false,\n fullWidth = false,\n getLimitTagsText = more => `+${more}`,\n getOptionLabel: getOptionLabelProp,\n groupBy,\n handleHomeEndKeys = !props.freeSolo,\n includeInputInList = false,\n limitTags = -1,\n ListboxComponent = 'ul',\n ListboxProps,\n loading = false,\n loadingText = 'Loading…',\n multiple = false,\n noOptionsText = 'No options',\n openOnFocus = false,\n openText = 'Open',\n PaperComponent = Paper,\n PopperComponent = Popper,\n popupIcon = _ArrowDropDownIcon || (_ArrowDropDownIcon = /*#__PURE__*/_jsx(ArrowDropDownIcon, {})),\n readOnly = false,\n renderGroup: renderGroupProp,\n renderInput,\n renderOption: renderOptionProp,\n renderTags,\n selectOnFocus = !props.freeSolo,\n size = 'medium',\n slotProps = {}\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n /* eslint-enable @typescript-eslint/no-unused-vars */\n\n const {\n getRootProps,\n getInputProps,\n getInputLabelProps,\n getPopupIndicatorProps,\n getClearProps,\n getTagProps,\n getListboxProps,\n getOptionProps,\n value,\n dirty,\n expanded,\n id,\n popupOpen,\n focused,\n focusedTag,\n anchorEl,\n setAnchorEl,\n inputValue,\n groupedOptions\n } = useAutocomplete(_extends({}, props, {\n componentName: 'Autocomplete'\n }));\n const hasClearIcon = !disableClearable && !disabled && dirty && !readOnly;\n const hasPopupIcon = (!freeSolo || forcePopupIcon === true) && forcePopupIcon !== false;\n const {\n onMouseDown: handleInputMouseDown\n } = getInputProps();\n const {\n ref: externalListboxRef\n } = ListboxProps != null ? ListboxProps : {};\n const _getListboxProps = getListboxProps(),\n {\n ref: listboxRef\n } = _getListboxProps,\n otherListboxProps = _objectWithoutPropertiesLoose(_getListboxProps, _excluded2);\n const combinedListboxRef = useForkRef(listboxRef, externalListboxRef);\n const defaultGetOptionLabel = option => {\n var _option$label;\n return (_option$label = option.label) != null ? _option$label : option;\n };\n const getOptionLabel = getOptionLabelProp || defaultGetOptionLabel;\n\n // If you modify this, make sure to keep the `AutocompleteOwnerState` type in sync.\n const ownerState = _extends({}, props, {\n disablePortal,\n expanded,\n focused,\n fullWidth,\n getOptionLabel,\n hasClearIcon,\n hasPopupIcon,\n inputFocused: focusedTag === -1,\n popupOpen,\n size\n });\n const classes = useUtilityClasses(ownerState);\n let startAdornment;\n if (multiple && value.length > 0) {\n const getCustomizedTagProps = params => _extends({\n className: classes.tag,\n disabled\n }, getTagProps(params));\n if (renderTags) {\n startAdornment = renderTags(value, getCustomizedTagProps, ownerState);\n } else {\n startAdornment = value.map((option, index) => {\n const _getCustomizedTagProp = getCustomizedTagProps({\n index\n }),\n {\n key\n } = _getCustomizedTagProp,\n customTagProps = _objectWithoutPropertiesLoose(_getCustomizedTagProp, _excluded3);\n return /*#__PURE__*/_jsx(Chip, _extends({\n label: getOptionLabel(option),\n size: size\n }, customTagProps, ChipProps), key);\n });\n }\n }\n if (limitTags > -1 && Array.isArray(startAdornment)) {\n const more = startAdornment.length - limitTags;\n if (!focused && more > 0) {\n startAdornment = startAdornment.splice(0, limitTags);\n startAdornment.push( /*#__PURE__*/_jsx(\"span\", {\n className: classes.tag,\n children: getLimitTagsText(more)\n }, startAdornment.length));\n }\n }\n const defaultRenderGroup = params => /*#__PURE__*/_jsxs(\"li\", {\n children: [/*#__PURE__*/_jsx(AutocompleteGroupLabel, {\n className: classes.groupLabel,\n ownerState: ownerState,\n component: \"div\",\n children: params.group\n }), /*#__PURE__*/_jsx(AutocompleteGroupUl, {\n className: classes.groupUl,\n ownerState: ownerState,\n children: params.children\n })]\n }, params.key);\n const renderGroup = renderGroupProp || defaultRenderGroup;\n const defaultRenderOption = (props2, option) => {\n // Need to clearly apply key because of https://github.com/vercel/next.js/issues/55642\n const {\n key\n } = props2,\n otherProps = _objectWithoutPropertiesLoose(props2, _excluded4);\n return /*#__PURE__*/_jsx(\"li\", _extends({}, otherProps, {\n children: getOptionLabel(option)\n }), key);\n };\n const renderOption = renderOptionProp || defaultRenderOption;\n const renderListOption = (option, index) => {\n const optionProps = getOptionProps({\n option,\n index\n });\n return renderOption(_extends({}, optionProps, {\n className: classes.option\n }), option, {\n selected: optionProps['aria-selected'],\n index,\n inputValue\n }, ownerState);\n };\n const clearIndicatorSlotProps = (_slotProps$clearIndic = slotProps.clearIndicator) != null ? _slotProps$clearIndic : componentsProps.clearIndicator;\n const paperSlotProps = (_slotProps$paper = slotProps.paper) != null ? _slotProps$paper : componentsProps.paper;\n const popperSlotProps = (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper;\n const popupIndicatorSlotProps = (_slotProps$popupIndic = slotProps.popupIndicator) != null ? _slotProps$popupIndic : componentsProps.popupIndicator;\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(AutocompleteRoot, _extends({\n ref: ref,\n className: clsx(classes.root, className),\n ownerState: ownerState\n }, getRootProps(other), {\n children: renderInput({\n id,\n disabled,\n fullWidth: true,\n size: size === 'small' ? 'small' : undefined,\n InputLabelProps: getInputLabelProps(),\n InputProps: _extends({\n ref: setAnchorEl,\n className: classes.inputRoot,\n startAdornment,\n onClick: event => {\n if (event.target === event.currentTarget) {\n handleInputMouseDown(event);\n }\n }\n }, (hasClearIcon || hasPopupIcon) && {\n endAdornment: /*#__PURE__*/_jsxs(AutocompleteEndAdornment, {\n className: classes.endAdornment,\n ownerState: ownerState,\n children: [hasClearIcon ? /*#__PURE__*/_jsx(AutocompleteClearIndicator, _extends({}, getClearProps(), {\n \"aria-label\": clearText,\n title: clearText,\n ownerState: ownerState\n }, clearIndicatorSlotProps, {\n className: clsx(classes.clearIndicator, clearIndicatorSlotProps == null ? void 0 : clearIndicatorSlotProps.className),\n children: clearIcon\n })) : null, hasPopupIcon ? /*#__PURE__*/_jsx(AutocompletePopupIndicator, _extends({}, getPopupIndicatorProps(), {\n disabled: disabled,\n \"aria-label\": popupOpen ? closeText : openText,\n title: popupOpen ? closeText : openText,\n ownerState: ownerState\n }, popupIndicatorSlotProps, {\n className: clsx(classes.popupIndicator, popupIndicatorSlotProps == null ? void 0 : popupIndicatorSlotProps.className),\n children: popupIcon\n })) : null]\n })\n }),\n inputProps: _extends({\n className: classes.input,\n disabled,\n readOnly\n }, getInputProps())\n })\n })), anchorEl ? /*#__PURE__*/_jsx(AutocompletePopper, _extends({\n as: PopperComponent,\n disablePortal: disablePortal,\n style: {\n width: anchorEl ? anchorEl.clientWidth : null\n },\n ownerState: ownerState,\n role: \"presentation\",\n anchorEl: anchorEl,\n open: popupOpen\n }, popperSlotProps, {\n className: clsx(classes.popper, popperSlotProps == null ? void 0 : popperSlotProps.className),\n children: /*#__PURE__*/_jsxs(AutocompletePaper, _extends({\n ownerState: ownerState,\n as: PaperComponent\n }, paperSlotProps, {\n className: clsx(classes.paper, paperSlotProps == null ? void 0 : paperSlotProps.className),\n children: [loading && groupedOptions.length === 0 ? /*#__PURE__*/_jsx(AutocompleteLoading, {\n className: classes.loading,\n ownerState: ownerState,\n children: loadingText\n }) : null, groupedOptions.length === 0 && !freeSolo && !loading ? /*#__PURE__*/_jsx(AutocompleteNoOptions, {\n className: classes.noOptions,\n ownerState: ownerState,\n role: \"presentation\",\n onMouseDown: event => {\n // Prevent input blur when interacting with the \"no options\" content\n event.preventDefault();\n },\n children: noOptionsText\n }) : null, groupedOptions.length > 0 ? /*#__PURE__*/_jsx(AutocompleteListbox, _extends({\n as: ListboxComponent,\n className: classes.listbox,\n ownerState: ownerState\n }, otherListboxProps, ListboxProps, {\n ref: combinedListboxRef,\n children: groupedOptions.map((option, index) => {\n if (groupBy) {\n return renderGroup({\n key: option.key,\n group: option.group,\n children: option.options.map((option2, index2) => renderListOption(option2, option.index + index2))\n });\n }\n return renderListOption(option, index);\n })\n })) : null]\n }))\n })) : null]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? Autocomplete.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * If `true`, the portion of the selected suggestion that the user hasn't typed,\n * known as the completion string, appears inline after the input cursor in the textbox.\n * The inline completion string is visually highlighted and has a selected state.\n * @default false\n */\n autoComplete: PropTypes.bool,\n /**\n * If `true`, the first option is automatically highlighted.\n * @default false\n */\n autoHighlight: PropTypes.bool,\n /**\n * If `true`, the selected option becomes the value of the input\n * when the Autocomplete loses focus unless the user chooses\n * a different option or changes the character string in the input.\n *\n * When using the `freeSolo` mode, the typed value will be the input value\n * if the Autocomplete loses focus without highlighting an option.\n * @default false\n */\n autoSelect: PropTypes.bool,\n /**\n * Control if the input should be blurred when an option is selected:\n *\n * - `false` the input is not blurred.\n * - `true` the input is always blurred.\n * - `touch` the input is blurred after a touch event.\n * - `mouse` the input is blurred after a mouse event.\n * @default false\n */\n blurOnSelect: PropTypes.oneOfType([PropTypes.oneOf(['mouse', 'touch']), PropTypes.bool]),\n /**\n * Props applied to the [`Chip`](/material-ui/api/chip/) element.\n */\n ChipProps: PropTypes.object,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The icon to display in place of the default clear icon.\n * @default <ClearIcon fontSize=\"small\" />\n */\n clearIcon: PropTypes.node,\n /**\n * If `true`, the input's text is cleared on blur if no value is selected.\n *\n * Set it to `true` if you want to help the user enter a new value.\n * Set it to `false` if you want to help the user resume their search.\n * @default !props.freeSolo\n */\n clearOnBlur: PropTypes.bool,\n /**\n * If `true`, clear all values when the user presses escape and the popup is closed.\n * @default false\n */\n clearOnEscape: PropTypes.bool,\n /**\n * Override the default text for the *clear* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Clear'\n */\n clearText: PropTypes.string,\n /**\n * Override the default text for the *close popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Close'\n */\n closeText: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n componentsProps: PropTypes.shape({\n clearIndicator: PropTypes.object,\n paper: PropTypes.object,\n popper: PropTypes.object,\n popupIndicator: PropTypes.object\n }),\n /**\n * The default value. Use when the component is not controlled.\n * @default props.multiple ? [] : null\n */\n defaultValue: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.defaultValue !== undefined && !Array.isArray(props.defaultValue)) {\n return new Error(['MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.', `However, ${props.defaultValue} was provided.`].join('\\n'));\n }\n return null;\n }),\n /**\n * If `true`, the input can't be cleared.\n * @default false\n */\n disableClearable: PropTypes.bool,\n /**\n * If `true`, the popup won't close when a value is selected.\n * @default false\n */\n disableCloseOnSelect: PropTypes.bool,\n /**\n * If `true`, the component is disabled.\n * @default false\n */\n disabled: PropTypes.bool,\n /**\n * If `true`, will allow focus on disabled items.\n * @default false\n */\n disabledItemsFocusable: PropTypes.bool,\n /**\n * If `true`, the list box in the popup will not wrap focus.\n * @default false\n */\n disableListWrap: PropTypes.bool,\n /**\n * If `true`, the `Popper` content will be under the DOM hierarchy of the parent component.\n * @default false\n */\n disablePortal: PropTypes.bool,\n /**\n * A function that determines the filtered options to be rendered on search.\n *\n * @default createFilterOptions()\n * @param {Value[]} options The options to render.\n * @param {object} state The state of the component.\n * @returns {Value[]}\n */\n filterOptions: PropTypes.func,\n /**\n * If `true`, hide the selected options from the list box.\n * @default false\n */\n filterSelectedOptions: PropTypes.bool,\n /**\n * Force the visibility display of the popup icon.\n * @default 'auto'\n */\n forcePopupIcon: PropTypes.oneOfType([PropTypes.oneOf(['auto']), PropTypes.bool]),\n /**\n * If `true`, the Autocomplete is free solo, meaning that the user input is not bound to provided options.\n * @default false\n */\n freeSolo: PropTypes.bool,\n /**\n * If `true`, the input will take up the full width of its container.\n * @default false\n */\n fullWidth: PropTypes.bool,\n /**\n * The label to display when the tags are truncated (`limitTags`).\n *\n * @param {number} more The number of truncated tags.\n * @returns {ReactNode}\n * @default (more) => `+${more}`\n */\n getLimitTagsText: PropTypes.func,\n /**\n * Used to determine the disabled state for a given option.\n *\n * @param {Value} option The option to test.\n * @returns {boolean}\n */\n getOptionDisabled: PropTypes.func,\n /**\n * Used to determine the key for a given option.\n * This can be useful when the labels of options are not unique (since labels are used as keys by default).\n *\n * @param {Value} option The option to get the key for.\n * @returns {string | number}\n */\n getOptionKey: PropTypes.func,\n /**\n * Used to determine the string value for a given option.\n * It's used to fill the input (and the list box options if `renderOption` is not provided).\n *\n * If used in free solo mode, it must accept both the type of the options and a string.\n *\n * @param {Value} option\n * @returns {string}\n * @default (option) => option.label ?? option\n */\n getOptionLabel: PropTypes.func,\n /**\n * If provided, the options will be grouped under the returned string.\n * The groupBy value is also used as the text for group headings when `renderGroup` is not provided.\n *\n * @param {Value} options The options to group.\n * @returns {string}\n */\n groupBy: PropTypes.func,\n /**\n * If `true`, the component handles the \"Home\" and \"End\" keys when the popup is open.\n * It should move focus to the first option and last option, respectively.\n * @default !props.freeSolo\n */\n handleHomeEndKeys: PropTypes.bool,\n /**\n * This prop is used to help implement the accessibility logic.\n * If you don't provide an id it will fall back to a randomly generated one.\n */\n id: PropTypes.string,\n /**\n * If `true`, the highlight can move to the input.\n * @default false\n */\n includeInputInList: PropTypes.bool,\n /**\n * The input value.\n */\n inputValue: PropTypes.string,\n /**\n * Used to determine if the option represents the given value.\n * Uses strict equality by default.\n * ⚠️ Both arguments need to be handled, an option can only match with one value.\n *\n * @param {Value} option The option to test.\n * @param {Value} value The value to test against.\n * @returns {boolean}\n */\n isOptionEqualToValue: PropTypes.func,\n /**\n * The maximum number of tags that will be visible when not focused.\n * Set `-1` to disable the limit.\n * @default -1\n */\n limitTags: integerPropType,\n /**\n * The component used to render the listbox.\n * @default 'ul'\n */\n ListboxComponent: PropTypes.elementType,\n /**\n * Props applied to the Listbox element.\n */\n ListboxProps: PropTypes.object,\n /**\n * If `true`, the component is in a loading state.\n * This shows the `loadingText` in place of suggestions (only if there are no suggestions to show, for example `options` are empty).\n * @default false\n */\n loading: PropTypes.bool,\n /**\n * Text to display when in a loading state.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Loading…'\n */\n loadingText: PropTypes.node,\n /**\n * If `true`, `value` must be an array and the menu will support multiple selections.\n * @default false\n */\n multiple: PropTypes.bool,\n /**\n * Text to display when there are no options.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'No options'\n */\n noOptionsText: PropTypes.node,\n /**\n * Callback fired when the value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value|Value[]} value The new value of the component.\n * @param {string} reason One of \"createOption\", \"selectOption\", \"removeOption\", \"blur\" or \"clear\".\n * @param {string} [details]\n */\n onChange: PropTypes.func,\n /**\n * Callback fired when the popup requests to be closed.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} reason Can be: `\"toggleInput\"`, `\"escape\"`, `\"selectOption\"`, `\"removeOption\"`, `\"blur\"`.\n */\n onClose: PropTypes.func,\n /**\n * Callback fired when the highlight option changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {Value} option The highlighted option.\n * @param {string} reason Can be: `\"keyboard\"`, `\"auto\"`, `\"mouse\"`, `\"touch\"`.\n */\n onHighlightChange: PropTypes.func,\n /**\n * Callback fired when the input value changes.\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n * @param {string} value The new value of the text input.\n * @param {string} reason Can be: `\"input\"` (user input), `\"reset\"` (programmatic change), `\"clear\"`.\n */\n onInputChange: PropTypes.func,\n /**\n * @ignore\n */\n onKeyDown: PropTypes.func,\n /**\n * Callback fired when the popup requests to be opened.\n * Use in controlled mode (see open).\n *\n * @param {React.SyntheticEvent} event The event source of the callback.\n */\n onOpen: PropTypes.func,\n /**\n * If `true`, the component is shown.\n */\n open: PropTypes.bool,\n /**\n * If `true`, the popup will open on input focus.\n * @default false\n */\n openOnFocus: PropTypes.bool,\n /**\n * Override the default text for the *open popup* icon button.\n *\n * For localization purposes, you can use the provided [translations](/material-ui/guides/localization/).\n * @default 'Open'\n */\n openText: PropTypes.string,\n /**\n * Array of options.\n */\n options: PropTypes.array.isRequired,\n /**\n * The component used to render the body of the popup.\n * @default Paper\n */\n PaperComponent: PropTypes.elementType,\n /**\n * The component used to position the popup.\n * @default Popper\n */\n PopperComponent: PropTypes.elementType,\n /**\n * The icon to display in place of the default popup icon.\n * @default <ArrowDropDownIcon />\n */\n popupIcon: PropTypes.node,\n /**\n * If `true`, the component becomes readonly. It is also supported for multiple tags where the tag cannot be deleted.\n * @default false\n */\n readOnly: PropTypes.bool,\n /**\n * Render the group.\n *\n * @param {AutocompleteRenderGroupParams} params The group to render.\n * @returns {ReactNode}\n */\n renderGroup: PropTypes.func,\n /**\n * Render the input.\n *\n * @param {object} params\n * @returns {ReactNode}\n */\n renderInput: PropTypes.func.isRequired,\n /**\n * Render the option, use `getOptionLabel` by default.\n *\n * @param {object} props The props to apply on the li element.\n * @param {Value} option The option to render.\n * @param {object} state The state of each option.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderOption: PropTypes.func,\n /**\n * Render the selected value.\n *\n * @param {Value[]} value The `value` provided to the component.\n * @param {function} getTagProps A tag props getter.\n * @param {object} ownerState The state of the Autocomplete component.\n * @returns {ReactNode}\n */\n renderTags: PropTypes.func,\n /**\n * If `true`, the input's text is selected on focus.\n * It helps the user clear the selected value.\n * @default !props.freeSolo\n */\n selectOnFocus: PropTypes.bool,\n /**\n * The size of the component.\n * @default 'medium'\n */\n size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium']), PropTypes.string]),\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n clearIndicator: PropTypes.object,\n paper: PropTypes.object,\n popper: PropTypes.object,\n popupIndicator: PropTypes.object\n }),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The value of the autocomplete.\n *\n * The value must have reference equality with the option in order to be selected.\n * You can customize the equality behavior with the `isOptionEqualToValue` prop.\n */\n value: chainPropTypes(PropTypes.any, props => {\n if (props.multiple && props.value !== undefined && !Array.isArray(props.value)) {\n return new Error(['MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.', `However, ${props.value} was provided.`].join('\\n'));\n }\n return null;\n })\n} : void 0;\nexport default Autocomplete;"],"names":["_ClearIcon","_ArrowDropDownIcon","_excluded","_excluded2","_excluded3","_excluded4","AutocompleteRoot","styled","name","slot","overridesResolver","props","styles","ownerState","fullWidth","hasClearIcon","hasPopupIcon","inputFocused","size","autocompleteClasses","tag","capitalize","inputRoot","input","root","focused","clearIndicator","visibility","margin","maxWidth","paddingRight","width","minWidth","inputClasses","paddingBottom","padding","inputBaseClasses","sizeSmall","outlinedInputClasses","endAdornment","right","paddingTop","paddingLeft","filledInputClasses","hiddenLabel","flexGrow","textOverflow","opacity","variants","style","multiple","flexWrap","AutocompleteEndAdornment","position","top","transform","AutocompleteClearIndicator","IconButton","marginRight","AutocompletePopupIndicator","_extends","popupIndicator","popupOpen","popupIndicatorOpen","AutocompletePopper","Popper","option","popper","disablePortal","popperDisablePortal","theme","zIndex","vars","modal","AutocompletePaper","Paper","paper","typography","body1","overflow","AutocompleteLoading","loading","color","palette","text","secondary","AutocompleteNoOptions","noOptions","AutocompleteListbox","listbox","listStyle","maxHeight","minHeight","display","justifyContent","alignItems","cursor","boxSizing","outline","WebkitTapHighlightColor","breakpoints","up","backgroundColor","action","hover","disabledOpacity","pointerEvents","focusVisible","focus","primary","mainChannel","selectedOpacity","alpha","main","hoverOpacity","selected","focusOpacity","AutocompleteGroupLabel","ListSubheader","groupLabel","background","AutocompleteGroupUl","groupUl","Autocomplete","React","forwardRef","inProps","ref","_slotProps$clearIndic","_slotProps$paper","_slotProps$popper","_slotProps$popupIndic","useDefaultProps","ChipProps","className","clearIcon","_jsx","ClearIcon","fontSize","clearText","closeText","componentsProps","disableClearable","disabled","forcePopupIcon","freeSolo","getLimitTagsText","more","getOptionLabel","getOptionLabelProp","groupBy","limitTags","ListboxComponent","ListboxProps","loadingText","noOptionsText","openText","PaperComponent","PopperComponent","popupIcon","ArrowDropDownIcon","readOnly","renderGroup","renderGroupProp","renderInput","renderOption","renderOptionProp","renderTags","slotProps","other","_objectWithoutPropertiesLoose","getRootProps","getInputProps","getInputLabelProps","getPopupIndicatorProps","getClearProps","getTagProps","getListboxProps","getOptionProps","value","dirty","expanded","id","focusedTag","anchorEl","setAnchorEl","inputValue","groupedOptions","useAutocomplete","componentName","onMouseDown","handleInputMouseDown","externalListboxRef","_getListboxProps","listboxRef","otherListboxProps","combinedListboxRef","useForkRef","_option$label","label","classes","slots","composeClasses","getAutocompleteUtilityClass","useUtilityClasses","startAdornment","length","getCustomizedTagProps","params","map","index","_getCustomizedTagProp","key","customTagProps","Chip","Array","isArray","splice","push","children","_jsxs","component","group","props2","otherProps","renderListOption","optionProps","clearIndicatorSlotProps","paperSlotProps","popperSlotProps","popupIndicatorSlotProps","Fragment","clsx","InputLabelProps","InputProps","onClick","event","target","currentTarget","title","inputProps","as","clientWidth","role","open","preventDefault","options","option2","index2","process","env","NODE_ENV","propTypes","autoComplete","PropTypes","bool","autoHighlight","autoSelect","blurOnSelect","oneOfType","oneOf","object","string","node","clearOnBlur","clearOnEscape","shape","defaultValue","chainPropTypes","any","Error","join","disableCloseOnSelect","disabledItemsFocusable","disableListWrap","filterOptions","func","filterSelectedOptions","getOptionDisabled","getOptionKey","handleHomeEndKeys","includeInputInList","isOptionEqualToValue","integerPropType","elementType","onChange","onClose","onHighlightChange","onInputChange","onKeyDown","onOpen","openOnFocus","array","isRequired","selectOnFocus","sx","arrayOf"],"mappings":"40DAIIA,EAAYC,wBAChB,MAAMC,EAAY,CAAC,eAAgB,gBAAiB,aAAc,eAAgB,YAAa,YAAa,YAAa,cAAe,gBAAiB,YAAa,YAAa,kBAAmB,eAAgB,mBAAoB,uBAAwB,WAAY,yBAA0B,kBAAmB,gBAAiB,gBAAiB,wBAAyB,iBAAkB,WAAY,YAAa,mBAAoB,oBAAqB,eAAgB,iBAAkB,uBAAwB,UAAW,oBAAqB,KAAM,qBAAsB,aAAc,YAAa,mBAAoB,eAAgB,UAAW,cAAe,WAAY,gBAAiB,WAAY,UAAW,oBAAqB,gBAAiB,SAAU,OAAQ,cAAe,WAAY,UAAW,iBAAkB,kBAAmB,YAAa,WAAY,cAAe,cAAe,eAAgB,aAAc,gBAAiB,OAAQ,YAAa,SACz8BC,EAAa,CAAC,OACdC,EAAa,CAAC,OACdC,EAAa,CAAC,OA2DVC,EAAmBC,EAAAA,QAAO,MAAO,CACrCC,KAAM,kBACNC,KAAM,OACNC,kBAAmB,CAACC,EAAOC,KACzB,MAAMC,WACJA,GACEF,GACEG,UACJA,EAAAC,aACAA,EAAAC,aACAA,EAAAC,aACAA,EAAAC,KACAA,GACEL,EACJ,MAAO,CAAC,CACN,CAAC,MAAMM,EAAAA,QAAoBC,OAAQR,EAAOQ,KACzC,CACD,CAAC,MAAMD,UAAoBC,OAAQR,EAAO,UAAUS,EAAAA,QAAWH,OAC9D,CACD,CAAC,MAAMC,EAAAA,QAAoBG,aAAcV,EAAOU,WAC/C,CACD,CAAC,MAAMH,EAAAA,QAAoBI,SAAUX,EAAOW,OAC3C,CACD,CAAC,MAAMJ,EAAAA,QAAoBI,SAAUN,GAAgBL,EAAOK,cAC3DL,EAAOY,KAAMV,GAAaF,EAAOE,UAAWE,GAAgBJ,EAAOI,aAAcD,GAAgBH,EAA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B7H,UAAW+F,EAAAA,QAAUS,KAKrBtG,SAAU6F,EAAAA,QAAUC,KAOpB7F,YAAa4F,EAAAA,QAAUsB,KAOvBhH,YAAa0F,EAAAA,QAAUsB,KAAKiB,WAU5BhI,aAAcyF,EAAAA,QAAUsB,KASxB7G,WAAYuF,EAAAA,QAAUsB,KAMtBkB,cAAexC,EAAAA,QAAUC,KAKzB7O,KAAM4O,EAAAA,QAAgDK,UAAU,CAACL,EAAAA,QAAUM,MAAM,CAAC,QAAS,WAAYN,EAAAA,QAAUQ,SAKjH9F,UAAWsF,EAAAA,QAAUY,MAAM,CACzBhP,eAAgBoO,EAAAA,QAAUO,OAC1BzL,MAAOkL,EAAAA,QAAUO,OACjBlM,OAAQ2L,EAAAA,QAAUO,OAClBxM,eAAgBiM,EAAAA,QAAUO,SAK5BkC,GAAIzC,EAAAA,QAAUK,UAAU,CAACL,EAAAA,QAAU0C,QAAQ1C,EAAAA,QAAUK,UAAU,CAACL,UAAUsB,KAAMtB,EAAAA,QAAUO,OAAQP,UAAUC,QAASD,EAAAA,QAAUsB,KAAMtB,UAAUO,SAO/IlF,MAAOyF,EAAAA,QAAed,UAAUe,IAAKlQ,GAC/BA,EAAMuC,eAA4B,IAAhBvC,EAAMwK,QAAwBoC,MAAMC,QAAQ7M,EAAMwK,OAC/D,IAAI2F,MAAM,CAAC,qGAAsG,YAAYnQ,EAAMwK,uBAAuB4F,KAAK,OAEjK","x_google_ignoreList":[0]}
|
|
@@ -10,7 +10,6 @@ import { jsx } from "react/jsx-runtime";
|
|
|
10
10
|
import { useDefaultProps } from "../../DefaultPropsProvider/DefaultPropsProvider/index.esm.js";
|
|
11
11
|
import styled from "../../styles/styled/index.esm.js";
|
|
12
12
|
import composeClasses from "../../../utils/esm/composeClasses/composeClasses/index.esm.js";
|
|
13
|
-
var define_process_env_default = {};
|
|
14
13
|
const _excluded = ["alt", "children", "className", "component", "slots", "slotProps", "imgProps", "sizes", "src", "srcSet", "variant"];
|
|
15
14
|
const useUtilityClasses = (ownerState) => {
|
|
16
15
|
const {
|
|
@@ -209,7 +208,7 @@ const Avatar = /* @__PURE__ */ React.forwardRef(function Avatar2(inProps, ref) {
|
|
|
209
208
|
children
|
|
210
209
|
}));
|
|
211
210
|
});
|
|
212
|
-
|
|
211
|
+
process.env.NODE_ENV !== "production" ? Avatar.propTypes = {
|
|
213
212
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
214
213
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
215
214
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/Avatar/Avatar.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"alt\", \"children\", \"className\", \"component\", \"slots\", \"slotProps\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Person from '../internal/svg-icons/Person';\nimport { getAvatarUtilityClass } from './avatarClasses';\nimport useSlot from '../utils/useSlot';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n colorDefault\n } = ownerState;\n const slots = {\n root: ['root', variant, colorDefault && 'colorDefault'],\n img: ['img'],\n fallback: ['fallback']\n };\n return composeClasses(slots, getAvatarUtilityClass, classes);\n};\nconst AvatarRoot = styled('div', {\n name: 'MuiAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];\n }\n})(({\n theme\n}) => ({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none',\n variants: [{\n props: {\n variant: 'rounded'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }\n }, {\n props: {\n variant: 'square'\n },\n style: {\n borderRadius: 0\n }\n }, {\n props: {\n colorDefault: true\n },\n style: _extends({\n color: (theme.vars || theme).palette.background.default\n }, theme.vars ? {\n backgroundColor: theme.vars.palette.Avatar.defaultBg\n } : _extends({\n backgroundColor: theme.palette.grey[400]\n }, theme.applyStyles('dark', {\n backgroundColor: theme.palette.grey[600]\n })))\n }]\n}));\nconst AvatarImg = styled('img', {\n name: 'MuiAvatar',\n slot: 'Img',\n overridesResolver: (props, styles) => styles.img\n})({\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n});\nconst AvatarFallback = styled(Person, {\n name: 'MuiAvatar',\n slot: 'Fallback',\n overridesResolver: (props, styles) => styles.fallback\n})({\n width: '75%',\n height: '75%'\n});\nfunction useLoaded({\n crossOrigin,\n referrerPolicy,\n src,\n srcSet\n}) {\n const [loaded, setLoaded] = React.useState(false);\n React.useEffect(() => {\n if (!src && !srcSet) {\n return undefined;\n }\n setLoaded(false);\n let active = true;\n const image = new Image();\n image.onload = () => {\n if (!active) {\n return;\n }\n setLoaded('loaded');\n };\n image.onerror = () => {\n if (!active) {\n return;\n }\n setLoaded('error');\n };\n image.crossOrigin = crossOrigin;\n image.referrerPolicy = referrerPolicy;\n image.src = src;\n if (srcSet) {\n image.srcset = srcSet;\n }\n return () => {\n active = false;\n };\n }, [crossOrigin, referrerPolicy, src, srcSet]);\n return loaded;\n}\nconst Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatar'\n });\n const {\n alt,\n children: childrenProp,\n className,\n component = 'div',\n slots = {},\n slotProps = {},\n imgProps,\n sizes,\n src,\n srcSet,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let children = null;\n\n // Use a hook instead of onError on the img element to support server-side rendering.\n const loaded = useLoaded(_extends({}, imgProps, {\n src,\n srcSet\n }));\n const hasImg = src || srcSet;\n const hasImgNotFailing = hasImg && loaded !== 'error';\n const ownerState = _extends({}, props, {\n colorDefault: !hasImgNotFailing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [ImgSlot, imgSlotProps] = useSlot('img', {\n className: classes.img,\n elementType: AvatarImg,\n externalForwardedProps: {\n slots,\n slotProps: {\n img: _extends({}, imgProps, slotProps.img)\n }\n },\n additionalProps: {\n alt,\n src,\n srcSet,\n sizes\n },\n ownerState\n });\n if (hasImgNotFailing) {\n children = /*#__PURE__*/_jsx(ImgSlot, _extends({}, imgSlotProps));\n // We only render valid children, non valid children are rendered with a fallback\n // We consider that invalid children are all falsy values, except 0, which is valid.\n } else if (!!childrenProp || childrenProp === 0) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/_jsx(AvatarFallback, {\n ownerState: ownerState,\n className: classes.fallback\n });\n }\n return /*#__PURE__*/_jsx(AvatarRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n */\n imgProps: PropTypes.object,\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n img: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n img: PropTypes.elementType\n }),\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The shape of the avatar.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default Avatar;"],"names":["Avatar","_jsx"],"mappings":";;;;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,OAAO,YAAY,aAAa,aAAa,SAAS,aAAa,YAAY,SAAS,OAAO,UAAU,SAAS;AAWrI,MAAM,oBAAoB,CAAA,eAAc;AACtC,QAAM;AAAA,I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AU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,SAAS,UAAgD,UAAU,CAAC,UAAU,MAAM,CAAC,YAAY,WAAW,QAAQ,CAAC,GAAG,UAAU,MAAM,CAAC;AAC3I,IAAI;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/Avatar/Avatar.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"alt\", \"children\", \"className\", \"component\", \"slots\", \"slotProps\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Person from '../internal/svg-icons/Person';\nimport { getAvatarUtilityClass } from './avatarClasses';\nimport useSlot from '../utils/useSlot';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n colorDefault\n } = ownerState;\n const slots = {\n root: ['root', variant, colorDefault && 'colorDefault'],\n img: ['img'],\n fallback: ['fallback']\n };\n return composeClasses(slots, getAvatarUtilityClass, classes);\n};\nconst AvatarRoot = styled('div', {\n name: 'MuiAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];\n }\n})(({\n theme\n}) => ({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none',\n variants: [{\n props: {\n variant: 'rounded'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }\n }, {\n props: {\n variant: 'square'\n },\n style: {\n borderRadius: 0\n }\n }, {\n props: {\n colorDefault: true\n },\n style: _extends({\n color: (theme.vars || theme).palette.background.default\n }, theme.vars ? {\n backgroundColor: theme.vars.palette.Avatar.defaultBg\n } : _extends({\n backgroundColor: theme.palette.grey[400]\n }, theme.applyStyles('dark', {\n backgroundColor: theme.palette.grey[600]\n })))\n }]\n}));\nconst AvatarImg = styled('img', {\n name: 'MuiAvatar',\n slot: 'Img',\n overridesResolver: (props, styles) => styles.img\n})({\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n});\nconst AvatarFallback = styled(Person, {\n name: 'MuiAvatar',\n slot: 'Fallback',\n overridesResolver: (props, styles) => styles.fallback\n})({\n width: '75%',\n height: '75%'\n});\nfunction useLoaded({\n crossOrigin,\n referrerPolicy,\n src,\n srcSet\n}) {\n const [loaded, setLoaded] = React.useState(false);\n React.useEffect(() => {\n if (!src && !srcSet) {\n return undefined;\n }\n setLoaded(false);\n let active = true;\n const image = new Image();\n image.onload = () => {\n if (!active) {\n return;\n }\n setLoaded('loaded');\n };\n image.onerror = () => {\n if (!active) {\n return;\n }\n setLoaded('error');\n };\n image.crossOrigin = crossOrigin;\n image.referrerPolicy = referrerPolicy;\n image.src = src;\n if (srcSet) {\n image.srcset = srcSet;\n }\n return () => {\n active = false;\n };\n }, [crossOrigin, referrerPolicy, src, srcSet]);\n return loaded;\n}\nconst Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatar'\n });\n const {\n alt,\n children: childrenProp,\n className,\n component = 'div',\n slots = {},\n slotProps = {},\n imgProps,\n sizes,\n src,\n srcSet,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let children = null;\n\n // Use a hook instead of onError on the img element to support server-side rendering.\n const loaded = useLoaded(_extends({}, imgProps, {\n src,\n srcSet\n }));\n const hasImg = src || srcSet;\n const hasImgNotFailing = hasImg && loaded !== 'error';\n const ownerState = _extends({}, props, {\n colorDefault: !hasImgNotFailing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [ImgSlot, imgSlotProps] = useSlot('img', {\n className: classes.img,\n elementType: AvatarImg,\n externalForwardedProps: {\n slots,\n slotProps: {\n img: _extends({}, imgProps, slotProps.img)\n }\n },\n additionalProps: {\n alt,\n src,\n srcSet,\n sizes\n },\n ownerState\n });\n if (hasImgNotFailing) {\n children = /*#__PURE__*/_jsx(ImgSlot, _extends({}, imgSlotProps));\n // We only render valid children, non valid children are rendered with a fallback\n // We consider that invalid children are all falsy values, except 0, which is valid.\n } else if (!!childrenProp || childrenProp === 0) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/_jsx(AvatarFallback, {\n ownerState: ownerState,\n className: classes.fallback\n });\n }\n return /*#__PURE__*/_jsx(AvatarRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n */\n imgProps: PropTypes.object,\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n img: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n img: PropTypes.elementType\n }),\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The shape of the avatar.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default Avatar;"],"names":["Avatar","_jsx"],"mappings":";;;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,OAAO,YAAY,aAAa,aAAa,SAAS,aAAa,YAAY,SAAS,OAAO,UAAU,SAAS;AAWrI,MAAM,oBAAoB,gBAAc;AACtC,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,EACJ,IAAM;AACJ,QAAM,QAAQ;AAAA,IACZ,MAAM,CAAC,QAAQ,SAAS,gBAAgB,cAAc;AAAA,IACtD,KAAK,CAAC,KAAK;AAAA,IACX,UAAU,CAAC,UAAU;AAAA,EACzB;AACE,SAAO,eAA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@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose/index.js"),t=require("../../../../@babel/runtime/helpers/esm/extends/index.js"),r=require("react"),a=require("../../../../prop-types/index/index.js"),s=require("../../../../clsx/dist/clsx/index.js"),o=require("../../internal/svg-icons/Person/index.js"),l=require("../avatarClasses/index.js"),n=require("../../utils/useSlot/index.js"),i=require("react/jsx-runtime"),u=require("../../DefaultPropsProvider/DefaultPropsProvider/index.js"),d=require("../../styles/styled/index.js"),c=require("../../../utils/esm/composeClasses/composeClasses/index.js");function f(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,t}var p=/* @__PURE__ */f(r);const m=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],g=d.default("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:t.default({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:t.default({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),v=d.default("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),y=d.default(o.default,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),b=/* @__PURE__ */p.forwardRef(function(r,a){const o=u.useDefaultProps({props:r,name:"MuiAvatar"}),{alt:d,children:f,className:b,component:j="div",slots:x={},slotProps:h={},imgProps:P,sizes:S,src:O,srcSet:q,variant:k="circular"}=o,w=e.default(o,m);let D=null;const R=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:a}){const[s,o]=p.useState(!1);return p.useEffect(()=>{if(!r&&!a)return;o(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&o("loaded")},l.onerror=()=>{s&&o("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,a&&(l.srcset=a),()=>{s=!1}},[e,t,r,a]),s}(t.default({},P,{src:O,srcSet:q})),T=O||q,C=T&&"error"!==R,N=t.default({},o,{colorDefault:!C,component:j,variant:k}),A=(e=>{const{classes:t,variant:r,colorDefault:a}=e,s={root:["root",r,a&&"colorDefault"],img:["img"],fallback:["fallback"]};return c.default(s,l.getAvatarUtilityClass,t)})(N),[z,F]=n.default("img",{className:A.img,elementType:v,externalForwardedProps:{slots:x,slotProps:{img:t.default({},P,h.img)}},additionalProps:{alt:d,src:O,srcSet:q,sizes:S},ownerState:N});return D=C?/* @__PURE__ */i.jsx(z,t.default({},F)):f||0===f?f:T&&d?d[0]:/* @__PURE__ */i.jsx(y,{ownerState:N,className:A.fallback}),/* @__PURE__ */i.jsx(g,t.default({as:j,ownerState:N,className:s.clsx(A.root,b),ref:a},w,{children:D}))});"production"!==
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../@babel/runtime/helpers/esm/objectWithoutPropertiesLoose/index.js"),t=require("../../../../@babel/runtime/helpers/esm/extends/index.js"),r=require("react"),a=require("../../../../prop-types/index/index.js"),s=require("../../../../clsx/dist/clsx/index.js"),o=require("../../internal/svg-icons/Person/index.js"),l=require("../avatarClasses/index.js"),n=require("../../utils/useSlot/index.js"),i=require("react/jsx-runtime"),u=require("../../DefaultPropsProvider/DefaultPropsProvider/index.js"),d=require("../../styles/styled/index.js"),c=require("../../../utils/esm/composeClasses/composeClasses/index.js");function f(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(r){if("default"!==r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,t}var p=/* @__PURE__ */f(r);const m=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],g=d.default("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:t.default({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:t.default({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),v=d.default("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),y=d.default(o.default,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"}),b=/* @__PURE__ */p.forwardRef(function(r,a){const o=u.useDefaultProps({props:r,name:"MuiAvatar"}),{alt:d,children:f,className:b,component:j="div",slots:x={},slotProps:h={},imgProps:P,sizes:S,src:O,srcSet:q,variant:k="circular"}=o,w=e.default(o,m);let D=null;const R=function({crossOrigin:e,referrerPolicy:t,src:r,srcSet:a}){const[s,o]=p.useState(!1);return p.useEffect(()=>{if(!r&&!a)return;o(!1);let s=!0;const l=new Image;return l.onload=()=>{s&&o("loaded")},l.onerror=()=>{s&&o("error")},l.crossOrigin=e,l.referrerPolicy=t,l.src=r,a&&(l.srcset=a),()=>{s=!1}},[e,t,r,a]),s}(t.default({},P,{src:O,srcSet:q})),T=O||q,C=T&&"error"!==R,N=t.default({},o,{colorDefault:!C,component:j,variant:k}),A=(e=>{const{classes:t,variant:r,colorDefault:a}=e,s={root:["root",r,a&&"colorDefault"],img:["img"],fallback:["fallback"]};return c.default(s,l.getAvatarUtilityClass,t)})(N),[z,F]=n.default("img",{className:A.img,elementType:v,externalForwardedProps:{slots:x,slotProps:{img:t.default({},P,h.img)}},additionalProps:{alt:d,src:O,srcSet:q,sizes:S},ownerState:N});return D=C?/* @__PURE__ */i.jsx(z,t.default({},F)):f||0===f?f:T&&d?d[0]:/* @__PURE__ */i.jsx(y,{ownerState:N,className:A.fallback}),/* @__PURE__ */i.jsx(g,t.default({as:j,ownerState:N,className:s.clsx(A.root,b),ref:a},w,{children:D}))});"production"!==process.env.NODE_ENV&&(b.propTypes={alt:a.default.string,children:a.default.node,classes:a.default.object,className:a.default.string,component:a.default.elementType,imgProps:a.default.object,sizes:a.default.string,slotProps:a.default.shape({img:a.default.oneOfType([a.default.func,a.default.object])}),slots:a.default.shape({img:a.default.elementType}),src:a.default.string,srcSet:a.default.string,sx:a.default.oneOfType([a.default.arrayOf(a.default.oneOfType([a.default.func,a.default.object,a.default.bool])),a.default.func,a.default.object]),variant:a.default.oneOfType([a.default.oneOf(["circular","rounded","square"]),a.default.string])}),exports.default=b;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Avatar/Avatar.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"alt\", \"children\", \"className\", \"component\", \"slots\", \"slotProps\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Person from '../internal/svg-icons/Person';\nimport { getAvatarUtilityClass } from './avatarClasses';\nimport useSlot from '../utils/useSlot';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n colorDefault\n } = ownerState;\n const slots = {\n root: ['root', variant, colorDefault && 'colorDefault'],\n img: ['img'],\n fallback: ['fallback']\n };\n return composeClasses(slots, getAvatarUtilityClass, classes);\n};\nconst AvatarRoot = styled('div', {\n name: 'MuiAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];\n }\n})(({\n theme\n}) => ({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none',\n variants: [{\n props: {\n variant: 'rounded'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }\n }, {\n props: {\n variant: 'square'\n },\n style: {\n borderRadius: 0\n }\n }, {\n props: {\n colorDefault: true\n },\n style: _extends({\n color: (theme.vars || theme).palette.background.default\n }, theme.vars ? {\n backgroundColor: theme.vars.palette.Avatar.defaultBg\n } : _extends({\n backgroundColor: theme.palette.grey[400]\n }, theme.applyStyles('dark', {\n backgroundColor: theme.palette.grey[600]\n })))\n }]\n}));\nconst AvatarImg = styled('img', {\n name: 'MuiAvatar',\n slot: 'Img',\n overridesResolver: (props, styles) => styles.img\n})({\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n});\nconst AvatarFallback = styled(Person, {\n name: 'MuiAvatar',\n slot: 'Fallback',\n overridesResolver: (props, styles) => styles.fallback\n})({\n width: '75%',\n height: '75%'\n});\nfunction useLoaded({\n crossOrigin,\n referrerPolicy,\n src,\n srcSet\n}) {\n const [loaded, setLoaded] = React.useState(false);\n React.useEffect(() => {\n if (!src && !srcSet) {\n return undefined;\n }\n setLoaded(false);\n let active = true;\n const image = new Image();\n image.onload = () => {\n if (!active) {\n return;\n }\n setLoaded('loaded');\n };\n image.onerror = () => {\n if (!active) {\n return;\n }\n setLoaded('error');\n };\n image.crossOrigin = crossOrigin;\n image.referrerPolicy = referrerPolicy;\n image.src = src;\n if (srcSet) {\n image.srcset = srcSet;\n }\n return () => {\n active = false;\n };\n }, [crossOrigin, referrerPolicy, src, srcSet]);\n return loaded;\n}\nconst Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatar'\n });\n const {\n alt,\n children: childrenProp,\n className,\n component = 'div',\n slots = {},\n slotProps = {},\n imgProps,\n sizes,\n src,\n srcSet,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let children = null;\n\n // Use a hook instead of onError on the img element to support server-side rendering.\n const loaded = useLoaded(_extends({}, imgProps, {\n src,\n srcSet\n }));\n const hasImg = src || srcSet;\n const hasImgNotFailing = hasImg && loaded !== 'error';\n const ownerState = _extends({}, props, {\n colorDefault: !hasImgNotFailing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [ImgSlot, imgSlotProps] = useSlot('img', {\n className: classes.img,\n elementType: AvatarImg,\n externalForwardedProps: {\n slots,\n slotProps: {\n img: _extends({}, imgProps, slotProps.img)\n }\n },\n additionalProps: {\n alt,\n src,\n srcSet,\n sizes\n },\n ownerState\n });\n if (hasImgNotFailing) {\n children = /*#__PURE__*/_jsx(ImgSlot, _extends({}, imgSlotProps));\n // We only render valid children, non valid children are rendered with a fallback\n // We consider that invalid children are all falsy values, except 0, which is valid.\n } else if (!!childrenProp || childrenProp === 0) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/_jsx(AvatarFallback, {\n ownerState: ownerState,\n className: classes.fallback\n });\n }\n return /*#__PURE__*/_jsx(AvatarRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n */\n imgProps: PropTypes.object,\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n img: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n img: PropTypes.elementType\n }),\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The shape of the avatar.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default Avatar;"],"names":["_excluded","AvatarRoot","styled","name","slot","overridesResolver","props","styles","ownerState","root","variant","colorDefault","theme","position","display","alignItems","justifyContent","flexShrink","width","height","fontFamily","typography","fontSize","pxToRem","lineHeight","borderRadius","overflow","userSelect","variants","style","vars","shape","_extends","color","palette","background","default","backgroundColor","Avatar","defaultBg","grey","applyStyles","AvatarImg","img","textAlign","objectFit","textIndent","AvatarFallback","Person","fallback","React","forwardRef","inProps","ref","useDefaultProps","alt","children","childrenProp","className","component","slots","slotProps","imgProps","sizes","src","srcSet","other","_objectWithoutPropertiesLoose","loaded","crossOrigin","referrerPolicy","setLoaded","useState","useEffect","active","image","Image","onload","onerror","srcset","useLoaded","hasImg","hasImgNotFailing","classes","composeClasses","getAvatarUtilityClass","useUtilityClasses","ImgSlot","imgSlotProps","useSlot","elementType","externalForwardedProps","additionalProps","_jsx","as","clsx","NODE_ENV","propTypes","PropTypes","string","node","object","oneOfType","func","sx","arrayOf","bool","oneOf"],"mappings":"ugCAIA,MAAMA,EAAY,CAAC,MAAO,WAAY,YAAa,YAAa,QAAS,YAAa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UAAU,CAACJ,UAAUK,KAAML,EAAAA,QAAUG,OAAQH,UAAUQ,QAASR,EAAAA,QAAUK,KAAML,UAAUG,SAK/I3F,QAASwF,EAAAA,QAAgDI,UAAU,CAACJ,EAAAA,QAAUS,MAAM,CAAC,WAAY,UAAW,WAAYT,EAAAA,QAAUC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Avatar/Avatar.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"alt\", \"children\", \"className\", \"component\", \"slots\", \"slotProps\", \"imgProps\", \"sizes\", \"src\", \"srcSet\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { styled } from '../zero-styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Person from '../internal/svg-icons/Person';\nimport { getAvatarUtilityClass } from './avatarClasses';\nimport useSlot from '../utils/useSlot';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n const {\n classes,\n variant,\n colorDefault\n } = ownerState;\n const slots = {\n root: ['root', variant, colorDefault && 'colorDefault'],\n img: ['img'],\n fallback: ['fallback']\n };\n return composeClasses(slots, getAvatarUtilityClass, classes);\n};\nconst AvatarRoot = styled('div', {\n name: 'MuiAvatar',\n slot: 'Root',\n overridesResolver: (props, styles) => {\n const {\n ownerState\n } = props;\n return [styles.root, styles[ownerState.variant], ownerState.colorDefault && styles.colorDefault];\n }\n})(({\n theme\n}) => ({\n position: 'relative',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n flexShrink: 0,\n width: 40,\n height: 40,\n fontFamily: theme.typography.fontFamily,\n fontSize: theme.typography.pxToRem(20),\n lineHeight: 1,\n borderRadius: '50%',\n overflow: 'hidden',\n userSelect: 'none',\n variants: [{\n props: {\n variant: 'rounded'\n },\n style: {\n borderRadius: (theme.vars || theme).shape.borderRadius\n }\n }, {\n props: {\n variant: 'square'\n },\n style: {\n borderRadius: 0\n }\n }, {\n props: {\n colorDefault: true\n },\n style: _extends({\n color: (theme.vars || theme).palette.background.default\n }, theme.vars ? {\n backgroundColor: theme.vars.palette.Avatar.defaultBg\n } : _extends({\n backgroundColor: theme.palette.grey[400]\n }, theme.applyStyles('dark', {\n backgroundColor: theme.palette.grey[600]\n })))\n }]\n}));\nconst AvatarImg = styled('img', {\n name: 'MuiAvatar',\n slot: 'Img',\n overridesResolver: (props, styles) => styles.img\n})({\n width: '100%',\n height: '100%',\n textAlign: 'center',\n // Handle non-square image. The property isn't supported by IE11.\n objectFit: 'cover',\n // Hide alt text.\n color: 'transparent',\n // Hide the image broken icon, only works on Chrome.\n textIndent: 10000\n});\nconst AvatarFallback = styled(Person, {\n name: 'MuiAvatar',\n slot: 'Fallback',\n overridesResolver: (props, styles) => styles.fallback\n})({\n width: '75%',\n height: '75%'\n});\nfunction useLoaded({\n crossOrigin,\n referrerPolicy,\n src,\n srcSet\n}) {\n const [loaded, setLoaded] = React.useState(false);\n React.useEffect(() => {\n if (!src && !srcSet) {\n return undefined;\n }\n setLoaded(false);\n let active = true;\n const image = new Image();\n image.onload = () => {\n if (!active) {\n return;\n }\n setLoaded('loaded');\n };\n image.onerror = () => {\n if (!active) {\n return;\n }\n setLoaded('error');\n };\n image.crossOrigin = crossOrigin;\n image.referrerPolicy = referrerPolicy;\n image.src = src;\n if (srcSet) {\n image.srcset = srcSet;\n }\n return () => {\n active = false;\n };\n }, [crossOrigin, referrerPolicy, src, srcSet]);\n return loaded;\n}\nconst Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatar'\n });\n const {\n alt,\n children: childrenProp,\n className,\n component = 'div',\n slots = {},\n slotProps = {},\n imgProps,\n sizes,\n src,\n srcSet,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let children = null;\n\n // Use a hook instead of onError on the img element to support server-side rendering.\n const loaded = useLoaded(_extends({}, imgProps, {\n src,\n srcSet\n }));\n const hasImg = src || srcSet;\n const hasImgNotFailing = hasImg && loaded !== 'error';\n const ownerState = _extends({}, props, {\n colorDefault: !hasImgNotFailing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const [ImgSlot, imgSlotProps] = useSlot('img', {\n className: classes.img,\n elementType: AvatarImg,\n externalForwardedProps: {\n slots,\n slotProps: {\n img: _extends({}, imgProps, slotProps.img)\n }\n },\n additionalProps: {\n alt,\n src,\n srcSet,\n sizes\n },\n ownerState\n });\n if (hasImgNotFailing) {\n children = /*#__PURE__*/_jsx(ImgSlot, _extends({}, imgSlotProps));\n // We only render valid children, non valid children are rendered with a fallback\n // We consider that invalid children are all falsy values, except 0, which is valid.\n } else if (!!childrenProp || childrenProp === 0) {\n children = childrenProp;\n } else if (hasImg && alt) {\n children = alt[0];\n } else {\n children = /*#__PURE__*/_jsx(AvatarFallback, {\n ownerState: ownerState,\n className: classes.fallback\n });\n }\n return /*#__PURE__*/_jsx(AvatarRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: children\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? Avatar.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * Used in combination with `src` or `srcSet` to\n * provide an alt attribute for the rendered `img` element.\n */\n alt: PropTypes.string,\n /**\n * Used to render icon or text elements inside the Avatar if `src` is not set.\n * This can be an element, or just a string.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#attributes) applied to the `img` element if the component is used to display an image.\n * It can be used to listen for the loading error event.\n * @deprecated Use `slotProps.img` instead. This prop will be removed in v7. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).\n */\n imgProps: PropTypes.object,\n /**\n * The `sizes` attribute for the `img` element.\n */\n sizes: PropTypes.string,\n /**\n * The props used for each slot inside.\n * @default {}\n */\n slotProps: PropTypes.shape({\n img: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n }),\n /**\n * The components used for each slot inside.\n * @default {}\n */\n slots: PropTypes.shape({\n img: PropTypes.elementType\n }),\n /**\n * The `src` attribute for the `img` element.\n */\n src: PropTypes.string,\n /**\n * The `srcSet` attribute for the `img` element.\n * Use this attribute for responsive image display.\n */\n srcSet: PropTypes.string,\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The shape of the avatar.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default Avatar;"],"names":["_excluded","AvatarRoot","styled","name","slot","overridesResolver","props","styles","ownerState","root","variant","colorDefault","theme","position","display","alignItems","justifyContent","flexShrink","width","height","fontFamily","typography","fontSize","pxToRem","lineHeight","borderRadius","overflow","userSelect","variants","style","vars","shape","_extends","color","palette","background","default","backgroundColor","Avatar","defaultBg","grey","applyStyles","AvatarImg","img","textAlign","objectFit","textIndent","AvatarFallback","Person","fallback","React","forwardRef","inProps","ref","useDefaultProps","alt","children","childrenProp","className","component","slots","slotProps","imgProps","sizes","src","srcSet","other","_objectWithoutPropertiesLoose","loaded","crossOrigin","referrerPolicy","setLoaded","useState","useEffect","active","image","Image","onload","onerror","srcset","useLoaded","hasImg","hasImgNotFailing","classes","composeClasses","getAvatarUtilityClass","useUtilityClasses","ImgSlot","imgSlotProps","useSlot","elementType","externalForwardedProps","additionalProps","_jsx","as","clsx","process","env","NODE_ENV","propTypes","PropTypes","string","node","object","oneOfType","func","sx","arrayOf","bool","oneOf"],"mappings":"ugCAIA,MAAMA,EAAY,CAAC,MAAO,WAAY,YAAa,YAAa,QAAS,YAAa,WAAY,QAAS,MAAO,SAAU,WAwBtHC,EAAaC,EAAAA,QAAO,MAAO,CAC/BC,KAAM,YACNC,KAAM,OACNC,kBAAmB,CAACC,EAAOC,KACzB,MAAMC,WACJA,GACEF,EACJ,MAAO,CAACC,EAAOE,KAAMF,EAAOC,EAAWE,SAAUF,EAAWG,cAAgBJ,EAAOI,gBAPpET,CAShB,EACDU,YACF,CACEC,SAAU,WACVC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,WAAY,EACZC,MAAO,GACPC,OAAQ,GACRC,WAAYR,EAAMS,WAAWD,WAC7BE,SAAUV,EAAMS,WAAWE,QAAQ,IACnCC,WAAY,EACZC,aAAc,MACdC,SAAU,SACVC,WAAY,OACZC,SAAU,CAAC,CACTtB,MAAO,CACLI,QAAS,WAEXmB,MAAO,CACLJ,cAAeb,EAAMkB,MAAQlB,GAAOmB,MAAMN,eAE3C,CACDnB,MAAO,CACLI,QAAS,UAEXmB,MAAO,CACLJ,aAAc,IAEf,CACDnB,MAAO,CACLK,cAAc,GAEhBkB,MAAOG,EAAAA,QAAS,CACdC,OAAQrB,EAAMkB,MAAQlB,GAAOsB,QAAQC,WAAWC,SAC/CxB,EAAMkB,KAAO,CACdO,gBAAiBzB,EAAMkB,KAAKI,QAAQI,OAAOC,WACzCP,UAAS,CACXK,gBAAiBzB,EAAMsB,QAAQM,KAAK,MACnC5B,EAAM6B,YAAY,OAAQ,CAC3BJ,gBAAiBzB,EAAMsB,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AAAA,QAAUG,OAIpBxC,MAAOqC,EAAAA,QAAUC,OAKjBxC,UAAWuC,EAAAA,QAAUrE,MAAM,CACzBY,IAAKyD,EAAAA,QAAUI,UAAU,CAACJ,EAAAA,QAAUK,KAAML,EAAAA,QAAUG,WAMtD3C,MAAOwC,EAAAA,QAAUrE,MAAM,CACrBY,IAAKyD,EAAAA,QAAUV,cAKjB1B,IAAKoC,EAAAA,QAAUC,OAKfpC,OAAQmC,EAAAA,QAAUC,OAIlBK,GAAIN,EAAAA,QAAUI,UAAU,CAACJ,EAAAA,QAAUO,QAAQP,EAAAA,QAAUI,UAAU,CAACJ,UAAUK,KAAML,EAAAA,QAAUG,OAAQH,UAAUQ,QAASR,EAAAA,QAAUK,KAAML,UAAUG,SAK/I7F,QAAS0F,EAAAA,QAAgDI,UAAU,CAACJ,EAAAA,QAAUS,MAAM,CAAC,WAAY,UAAW,WAAYT,EAAAA,QAAUC","x_google_ignoreList":[0]}
|
|
@@ -12,7 +12,6 @@ import Avatar from "../../Avatar/Avatar/index.esm.js";
|
|
|
12
12
|
import composeClasses from "../../../utils/esm/composeClasses/composeClasses/index.esm.js";
|
|
13
13
|
import avatarClasses from "../../Avatar/avatarClasses/index.esm.js";
|
|
14
14
|
import chainPropTypes from "../../../utils/esm/chainPropTypes/chainPropTypes/index.esm.js";
|
|
15
|
-
var define_process_env_default = {};
|
|
16
15
|
const _excluded = ["children", "className", "component", "componentsProps", "max", "renderSurplus", "slotProps", "spacing", "total", "variant"];
|
|
17
16
|
const SPACINGS = {
|
|
18
17
|
small: -16,
|
|
@@ -79,7 +78,7 @@ const AvatarGroup = /* @__PURE__ */ React.forwardRef(function AvatarGroup2(inPro
|
|
|
79
78
|
});
|
|
80
79
|
const classes = useUtilityClasses(ownerState);
|
|
81
80
|
const children = React.Children.toArray(childrenProp).filter((child) => {
|
|
82
|
-
if (
|
|
81
|
+
if (process.env.NODE_ENV !== "production") {
|
|
83
82
|
if (isFragment(child)) {
|
|
84
83
|
console.error(["MUI: The AvatarGroup component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join("\n"));
|
|
85
84
|
}
|
|
@@ -114,7 +113,7 @@ const AvatarGroup = /* @__PURE__ */ React.forwardRef(function AvatarGroup2(inPro
|
|
|
114
113
|
})]
|
|
115
114
|
}));
|
|
116
115
|
});
|
|
117
|
-
|
|
116
|
+
process.env.NODE_ENV !== "production" ? AvatarGroup.propTypes = {
|
|
118
117
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
119
118
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
120
119
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/AvatarGroup/AvatarGroup.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"component\", \"componentsProps\", \"max\", \"renderSurplus\", \"slotProps\", \"spacing\", \"total\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Avatar, { avatarClasses } from '../Avatar';\nimport avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SPACINGS = {\n small: -16,\n medium: null\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n avatar: ['avatar']\n };\n return composeClasses(slots, getAvatarGroupUtilityClass, classes);\n};\nconst AvatarGroupRoot = styled('div', {\n name: 'MuiAvatarGroup',\n slot: 'Root',\n overridesResolver: (props, styles) => _extends({\n [`& .${avatarGroupClasses.avatar}`]: styles.avatar\n }, styles.root)\n})(({\n theme,\n ownerState\n}) => {\n const marginValue = ownerState.spacing && SPACINGS[ownerState.spacing] !== undefined ? SPACINGS[ownerState.spacing] : -ownerState.spacing;\n return {\n [`& .${avatarClasses.root}`]: {\n border: `2px solid ${(theme.vars || theme).palette.background.default}`,\n boxSizing: 'content-box',\n marginLeft: marginValue != null ? marginValue : -8,\n '&:last-child': {\n marginLeft: 0\n }\n },\n display: 'flex',\n flexDirection: 'row-reverse'\n };\n});\nconst AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, ref) {\n var _slotProps$additional;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatarGroup'\n });\n const {\n children: childrenProp,\n className,\n component = 'div',\n componentsProps = {},\n max = 5,\n renderSurplus,\n slotProps = {},\n spacing = 'medium',\n total,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let clampedMax = max < 2 ? 2 : max;\n const ownerState = _extends({}, props, {\n max,\n spacing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const children = React.Children.toArray(childrenProp).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The AvatarGroup component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n });\n const totalAvatars = total || children.length;\n if (totalAvatars === clampedMax) {\n clampedMax += 1;\n }\n clampedMax = Math.min(totalAvatars + 1, clampedMax);\n const maxAvatars = Math.min(children.length, clampedMax - 1);\n const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);\n const extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : `+${extraAvatars}`;\n const additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;\n return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: [extraAvatars ? /*#__PURE__*/_jsx(Avatar, _extends({\n variant: variant\n }, additionalAvatarSlotProps, {\n className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),\n children: extraAvatarsElement\n })) : null, children.slice(0, maxAvatars).reverse().map(child => {\n return /*#__PURE__*/React.cloneElement(child, {\n className: clsx(child.props.className, classes.avatar),\n variant: child.props.variant || variant\n });\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? AvatarGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The avatars to stack.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n additionalAvatar: PropTypes.object\n }),\n /**\n * Max avatars to show before +x.\n * @default 5\n */\n max: chainPropTypes(PropTypes.number, props => {\n if (props.max < 2) {\n return new Error(['MUI: The prop `max` should be equal to 2 or above.', 'A value below is clamped to 2.'].join('\\n'));\n }\n return null;\n }),\n /**\n * custom renderer of extraAvatars\n * @param {number} surplus number of extra avatars\n * @returns {React.ReactNode} custom element to display\n */\n renderSurplus: PropTypes.func,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n additionalAvatar: PropTypes.object\n }),\n /**\n * Spacing between avatars.\n * @default 'medium'\n */\n spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The total number of avatars. Used for calculating the number of extra avatars.\n * @default children.length\n */\n total: PropTypes.number,\n /**\n * The variant to use.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default AvatarGroup;"],"names":["AvatarGroup","_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,YAAY,aAAa,aAAa,mBAAmB,OAAO,iBAAiB,aAAa,WAAW,SAAS,SAAS;AAa9I,MAAM,WAAW;AAAA,EACf,OAAO;AAAA,EACP,QAAQ;AACV;AACA,MAAM,oBAAoB,CAAA,eAAc;AACtC,QAAM;AAAA,IACJ;AAAA,EAAA,IACE;AACJ,QAAM,QAAQ;AAAA,IACZ,MAAM,CAAC,MAAM;AAAA,IACb,QAAQ,CAAC,QAAQ;AAAA,EAAA;AAEnB,SAAO,eAAe,OAAO,4BAA4B,OAAO;AAClE;AACA,MAAM,kBAAkB,OAAO,OAAO;AAAA,EACpC,MAAM;AAAA,EACN,MAAM;AAAA,EACN,mBAAmB,CAAC,OAAO,WAAW,SAAS;AAAA,IAC7C,CAAC,MAAM,mBAAmB,MAAM,EAAE,GAAG,OAAO;AAAA,EAAA,GAC3C,OAAO,IAAI;AAChB,CAAC,EAAE,CAAC;AAAA,EACF;AAAA,EACA;AACF,MAAM;AACJ,QAAM,cAAc,WAAW,WAAW,SAAS,WAAW,OAAO,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AAiB,UAAU,MAAM;AAAA,IAC/B,kBAAkB,UAAU;AAAA,EAAA,CAC7B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKD,KAAK,eAAe,UAAU,QAAQ,CAAA,UAAS;AAC7C,QAAI,MAAM,MAAM,GAAG;AACjB,aAAO,IAAI,MAAM,CAAC,sDAAsD,gCAAgC,EAAE,KAAK,IAAI,CAAC;AAAA,IACtH;AACA,WAAO;AAAA,EACT,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMD,eAAe,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASzB,WAAW,UAAU,MAAM;AAAA,IACzB,kBAAkB,UAAU;AAAA,EAAA,CAC7B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKD,SAAS,UAAU,UAAU,CAAC,UAAU,MAAM,CAAC,UAAU,OAAO,CAAC,GAAG,UAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA,EAIrF,IAAI,UAAU,UAAU,CAAC,UAAU,QAAQ,UAAU,UAAU,CAAC,UAAU,MAAM,UAAU,QAAQ,UAAU,IAAI,CAAC,CAAC,GAAG,UAAU,MAAM,UAAU,MAAM,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAKtJ,OAAO,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA,EAKjB,SAAS,UAAgD,UAAU,CAAC,UAAU,MAAM,CAAC,YAAY,WAAW,QAAQ,CAAC,GAAG,UAAU,MAAM,CAAC;AAC3I,IAAI;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/material/AvatarGroup/AvatarGroup.js"],"sourcesContent":["'use client';\n\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nconst _excluded = [\"children\", \"className\", \"component\", \"componentsProps\", \"max\", \"renderSurplus\", \"slotProps\", \"spacing\", \"total\", \"variant\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { isFragment } from 'react-is';\nimport clsx from 'clsx';\nimport chainPropTypes from '@mui/utils/chainPropTypes';\nimport composeClasses from '@mui/utils/composeClasses';\nimport styled from '../styles/styled';\nimport { useDefaultProps } from '../DefaultPropsProvider';\nimport Avatar, { avatarClasses } from '../Avatar';\nimport avatarGroupClasses, { getAvatarGroupUtilityClass } from './avatarGroupClasses';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nconst SPACINGS = {\n small: -16,\n medium: null\n};\nconst useUtilityClasses = ownerState => {\n const {\n classes\n } = ownerState;\n const slots = {\n root: ['root'],\n avatar: ['avatar']\n };\n return composeClasses(slots, getAvatarGroupUtilityClass, classes);\n};\nconst AvatarGroupRoot = styled('div', {\n name: 'MuiAvatarGroup',\n slot: 'Root',\n overridesResolver: (props, styles) => _extends({\n [`& .${avatarGroupClasses.avatar}`]: styles.avatar\n }, styles.root)\n})(({\n theme,\n ownerState\n}) => {\n const marginValue = ownerState.spacing && SPACINGS[ownerState.spacing] !== undefined ? SPACINGS[ownerState.spacing] : -ownerState.spacing;\n return {\n [`& .${avatarClasses.root}`]: {\n border: `2px solid ${(theme.vars || theme).palette.background.default}`,\n boxSizing: 'content-box',\n marginLeft: marginValue != null ? marginValue : -8,\n '&:last-child': {\n marginLeft: 0\n }\n },\n display: 'flex',\n flexDirection: 'row-reverse'\n };\n});\nconst AvatarGroup = /*#__PURE__*/React.forwardRef(function AvatarGroup(inProps, ref) {\n var _slotProps$additional;\n const props = useDefaultProps({\n props: inProps,\n name: 'MuiAvatarGroup'\n });\n const {\n children: childrenProp,\n className,\n component = 'div',\n componentsProps = {},\n max = 5,\n renderSurplus,\n slotProps = {},\n spacing = 'medium',\n total,\n variant = 'circular'\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n let clampedMax = max < 2 ? 2 : max;\n const ownerState = _extends({}, props, {\n max,\n spacing,\n component,\n variant\n });\n const classes = useUtilityClasses(ownerState);\n const children = React.Children.toArray(childrenProp).filter(child => {\n if (process.env.NODE_ENV !== 'production') {\n if (isFragment(child)) {\n console.error([\"MUI: The AvatarGroup component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n }\n }\n return /*#__PURE__*/React.isValidElement(child);\n });\n const totalAvatars = total || children.length;\n if (totalAvatars === clampedMax) {\n clampedMax += 1;\n }\n clampedMax = Math.min(totalAvatars + 1, clampedMax);\n const maxAvatars = Math.min(children.length, clampedMax - 1);\n const extraAvatars = Math.max(totalAvatars - clampedMax, totalAvatars - maxAvatars, 0);\n const extraAvatarsElement = renderSurplus ? renderSurplus(extraAvatars) : `+${extraAvatars}`;\n const additionalAvatarSlotProps = (_slotProps$additional = slotProps.additionalAvatar) != null ? _slotProps$additional : componentsProps.additionalAvatar;\n return /*#__PURE__*/_jsxs(AvatarGroupRoot, _extends({\n as: component,\n ownerState: ownerState,\n className: clsx(classes.root, className),\n ref: ref\n }, other, {\n children: [extraAvatars ? /*#__PURE__*/_jsx(Avatar, _extends({\n variant: variant\n }, additionalAvatarSlotProps, {\n className: clsx(classes.avatar, additionalAvatarSlotProps == null ? void 0 : additionalAvatarSlotProps.className),\n children: extraAvatarsElement\n })) : null, children.slice(0, maxAvatars).reverse().map(child => {\n return /*#__PURE__*/React.cloneElement(child, {\n className: clsx(child.props.className, classes.avatar),\n variant: child.props.variant || variant\n });\n })]\n }));\n});\nprocess.env.NODE_ENV !== \"production\" ? AvatarGroup.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the d.ts file and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * The avatars to stack.\n */\n children: PropTypes.node,\n /**\n * Override or extend the styles applied to the component.\n */\n classes: PropTypes.object,\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * The component used for the root node.\n * Either a string to use a HTML element or a component.\n */\n component: PropTypes.elementType,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `slotProps` prop.\n * It's recommended to use the `slotProps` prop instead, as `componentsProps` will be deprecated in the future.\n *\n * @default {}\n */\n componentsProps: PropTypes.shape({\n additionalAvatar: PropTypes.object\n }),\n /**\n * Max avatars to show before +x.\n * @default 5\n */\n max: chainPropTypes(PropTypes.number, props => {\n if (props.max < 2) {\n return new Error(['MUI: The prop `max` should be equal to 2 or above.', 'A value below is clamped to 2.'].join('\\n'));\n }\n return null;\n }),\n /**\n * custom renderer of extraAvatars\n * @param {number} surplus number of extra avatars\n * @returns {React.ReactNode} custom element to display\n */\n renderSurplus: PropTypes.func,\n /**\n * The extra props for the slot components.\n * You can override the existing props or add new ones.\n *\n * This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.\n *\n * @default {}\n */\n slotProps: PropTypes.shape({\n additionalAvatar: PropTypes.object\n }),\n /**\n * Spacing between avatars.\n * @default 'medium'\n */\n spacing: PropTypes.oneOfType([PropTypes.oneOf(['medium', 'small']), PropTypes.number]),\n /**\n * The system prop that allows defining system overrides as well as additional CSS styles.\n */\n sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n /**\n * The total number of avatars. Used for calculating the number of extra avatars.\n * @default children.length\n */\n total: PropTypes.number,\n /**\n * The variant to use.\n * @default 'circular'\n */\n variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['circular', 'rounded', 'square']), PropTypes.string])\n} : void 0;\nexport default AvatarGroup;"],"names":["AvatarGroup","_jsxs","_jsx"],"mappings":";;;;;;;;;;;;;;AAIA,MAAM,YAAY,CAAC,YAAY,aAAa,aAAa,mBAAmB,OAAO,iBAAiB,aAAa,WAAW,SAAS,SAAS;AAa9I,MAAM,WAAW;AAAA,EAC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