@cgi-learning-hub/ui 1.5.1-dev.1744637282 → 1.5.1-dev.1744643558
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/Alert-5zQ9TB22.cjs +1 -0
- package/dist/{Alert-BfMYnyZX.js → Alert-D5C84Q-b.js} +27 -28
- package/dist/ArrowDropDown-Dt89EMyB.cjs +1 -0
- package/dist/ArrowDropDown-DvAbGzWJ.js +37 -0
- package/dist/{Autocomplete-DQyr97ya.js → Autocomplete-BjXP0c_4.js} +704 -665
- package/dist/Autocomplete-C6uWQlAq.cjs +6 -0
- package/dist/Backdrop-9ZMM04UV.cjs +1 -0
- package/dist/{Backdrop-B200pms1.js → Backdrop-CFkYB15z.js} +21 -20
- package/dist/Box-Bl24J58B.cjs +1 -0
- package/dist/{Box-D3Pi13ta.js → Box-CXvmZ2dD.js} +12 -12
- package/dist/Button-CZTPCtLu.cjs +1 -0
- package/dist/{Button-D1aKdjIh.js → Button-Dhxe4eYH.js} +114 -148
- package/dist/{ButtonBase-CBFRgTBs.cjs → ButtonBase-DDgwUJIY.cjs} +1 -1
- package/dist/{ButtonBase-Bncgzjtp.js → ButtonBase-uylSwkXQ.js} +24 -24
- package/dist/CardContent-CCMZ6TlJ.cjs +1 -0
- package/dist/{CardContent-DyggcxBG.js → CardContent-uV5Z3O4p.js} +5 -5
- package/dist/Checkbox-Dsa-pj_7.cjs +1 -0
- package/dist/{Checkbox-DkrWUPYT.js → Checkbox-hXnta6hd.js} +95 -68
- package/dist/Chip-BJSNxQBQ.cjs +1 -0
- package/dist/{Chip-Y39z3DS6.js → Chip-klg9LPzp.js} +53 -54
- package/dist/{CircularProgress-BDjnnyuL.js → CircularProgress-DcEnE5le.js} +28 -29
- package/dist/CircularProgress-XGMwsxSL.cjs +28 -0
- package/dist/{Close-DJDhRwj2.cjs → Close-Czm0dlR9.cjs} +1 -1
- package/dist/{Close-hx7dlgmZ.js → Close-KuFfPteA.js} +1 -1
- package/dist/{CloseRounded-DapqosK3.cjs → CloseRounded-BkPBIz0q.cjs} +1 -1
- package/dist/{CloseRounded-aZqv6aS-.js → CloseRounded-D9nattPL.js} +1 -1
- package/dist/{CustomTreeItem-CgdZ-hEx.js → CustomTreeItem-BITNDbQ_.js} +209 -216
- package/dist/CustomTreeItem-CI47uzgL.cjs +3 -0
- package/dist/{DatePicker-C2ZobNcJ.js → DatePicker-D1YD4uGk.js} +995 -1002
- package/dist/DatePicker-PBy3aYBw.cjs +13 -0
- package/dist/{DefaultPropsProvider-Ik4eAJdt.js → DefaultPropsProvider-CojEWOKR.js} +55 -55
- package/dist/DefaultPropsProvider-DLSItMqn.cjs +1 -0
- package/dist/{Delete-Cfk3fOW-.js → Delete-B4Xhz7O1.js} +1 -1
- package/dist/{Delete-DDxv1h6V.cjs → Delete-C0hR-twe.cjs} +1 -1
- package/dist/Dialog-BC20prgn.cjs +1 -0
- package/dist/{Dialog-Ccvug1yq.js → Dialog-Dk2BQsgk.js} +162 -169
- package/dist/{DialogContent-CIMpKm-U.js → DialogContent-C0BzN5yk.js} +3 -3
- package/dist/DialogContent-DqdeAbSs.cjs +1 -0
- package/dist/{DialogTitle-BwTvIaQe.js → DialogTitle-7MyBxAkp.js} +7 -7
- package/dist/DialogTitle-DwOXEToV.cjs +1 -0
- package/dist/{Divider-C2cBikSL.js → Divider-BC2Fp1JG.js} +8 -8
- package/dist/Divider-I7KOokm8.cjs +1 -0
- package/dist/{Folder-Bnoqtzc6.js → Folder-DYF788Ow.js} +1 -1
- package/dist/{Folder-DEtB13yM.cjs → Folder-ExV_xCn6.cjs} +1 -1
- package/dist/{FormLabel-EkpI8MQr.js → FormLabel-Dx6hkLPd.js} +24 -25
- package/dist/FormLabel-xZr5oZgx.cjs +2 -0
- package/dist/{Grow-B_clfUP9.js → Grow-C654F4zC.js} +6 -5
- package/dist/Grow-DPejKxV0.cjs +1 -0
- package/dist/{IconButton-D1mhTuaI.js → IconButton-BmspylGQ.js} +26 -27
- package/dist/IconButton-C1I_233O.cjs +2 -0
- package/dist/{InputAdornment-BxB8_tq-.js → InputAdornment-BrH8kQg8.js} +10 -11
- package/dist/InputAdornment-_UPzajRP.cjs +1 -0
- package/dist/{InputBase-BQnEIwl1.js → InputBase-B3APXSc_.js} +278 -277
- package/dist/InputBase-CELFJljc.cjs +3 -0
- package/dist/Link-BQrFDQ-K.cjs +1 -0
- package/dist/{Link-8ltXgZj7.js → Link-D3HS1nTr.js} +15 -16
- package/dist/List-Bii833np.cjs +1 -0
- package/dist/{List-DJsqHOqv.js → List-vQ97f0T4.js} +2 -2
- package/dist/ListItem-BtjE87R1.cjs +1 -0
- package/dist/{ListItem-BspNcHM_.js → ListItem-kT8cZ-t_.js} +17 -17
- package/dist/ListItemText-DaUQA10v.js +845 -0
- package/dist/ListItemText-Dov-H_Ii.cjs +2 -0
- package/dist/Menu-BGO4rdUL.cjs +7 -0
- package/dist/{Menu-DPhreDcS.js → Menu-bXn70x2T.js} +405 -335
- package/dist/{MenuItem-Fb7iU47J.js → MenuItem-88KizCxg.js} +14 -14
- package/dist/MenuItem-De2MJkYT.cjs +1 -0
- package/dist/{Modal-dmMiGSAp.js → Modal-BGSxrh8O.js} +240 -245
- package/dist/Modal-CPt1nneG.cjs +2 -0
- package/dist/{MoreVert-BCGFGn8f.js → MoreVert-BLY3HCz9.js} +1 -1
- package/dist/{MoreVert-DNeLf2VB.cjs → MoreVert-MSZXYrMO.cjs} +1 -1
- package/dist/Paper-CKG165jt.cjs +2 -0
- package/dist/{Paper-CEDxpHWv.js → Paper-D1MPGEsw.js} +9 -9
- package/dist/Popper-C6iJjm-m.cjs +4 -0
- package/dist/{Popper-D5_YIJX6.js → Popper-DbqO1kUk.js} +10 -10
- package/dist/Portal-C2eqRUQp.js +85 -0
- package/dist/Portal-Dm9aDz8_.cjs +1 -0
- package/dist/Radio-BEfQuau1.cjs +1 -0
- package/dist/{Radio-B4sx0387.js → Radio-BlcCOkYY.js} +226 -183
- package/dist/{RadioGroup-UStIK_UX.js → RadioGroup-C1L3hzrF.js} +20 -20
- package/dist/RadioGroup-CqCh25ZS.cjs +1 -0
- package/dist/Select-BTL6ppWW.cjs +3 -0
- package/dist/{Select-CxnCi-3l.js → Select-CWv7tdJU.js} +321 -349
- package/dist/{Stack-CzKIgmIE.js → Stack-Bkppffhe.js} +60 -104
- package/dist/Stack-DpH56CPw.cjs +1 -0
- package/dist/Switch-BIGFww3p.cjs +1 -0
- package/dist/{Switch-D3KweZGQ.js → Switch-CbNrfyJP.js} +167 -108
- package/dist/SwitchBase-BkcX4xzb.js +314 -0
- package/dist/SwitchBase-DA079uiU.cjs +1 -0
- package/dist/Tab-BsIC620i.cjs +4 -0
- package/dist/{Tab-C1r8JXwz.js → Tab-CeMAH2vi.js} +597 -537
- package/dist/{TextField-D-_WjPAW.js → TextField-ChDtIm6f.js} +133 -124
- package/dist/TextField-SGIs7v2v.cjs +1 -0
- package/dist/{ToggleButtonGroup-gxIqbo6a.js → ToggleButtonGroup-B8hGStTV.js} +1956 -1784
- package/dist/ToggleButtonGroup-C64DhY80.cjs +138 -0
- package/dist/{Tooltip-D0bof-68.js → Tooltip-DDiPhklW.js} +37 -37
- package/dist/Tooltip-DcBB_9cg.cjs +4 -0
- package/dist/{Typography-DBJqhIhB.js → Typography-BceX4HUn.js} +13 -14
- package/dist/Typography-DOpE-TJz.cjs +1 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +3 -3
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- package/dist/components/Autocomplete/Autocomplete.cjs.js +1 -0
- package/dist/components/Autocomplete/Autocomplete.d.ts +11 -0
- package/dist/components/Autocomplete/Autocomplete.es.js +52 -0
- package/dist/components/Autocomplete/index.cjs.js +1 -0
- package/dist/components/Autocomplete/index.d.ts +2 -0
- package/dist/components/Autocomplete/index.es.js +4 -0
- package/dist/components/Button/Button.cjs.js +1 -1
- package/dist/components/Button/Button.es.js +2 -2
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +1 -1
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/Dialog/Dialog.cjs.js +1 -1
- package/dist/components/Dialog/Dialog.es.js +2 -2
- package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
- package/dist/components/Dropzone/Dropzone.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.cjs.js +1 -1
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.cjs.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
- package/dist/components/FolderCard/FolderCard.es.js +2 -2
- package/dist/components/Heading/Heading.cjs.js +1 -1
- package/dist/components/Heading/Heading.es.js +2 -2
- package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
- package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
- package/dist/components/ResourceCard/style.cjs.js +1 -1
- package/dist/components/ResourceCard/style.es.js +25 -25
- package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +4 -4
- package/dist/components/TreeView/TreeView.es.js +14 -13
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
- package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
- package/dist/components/TreeView/utils.cjs.js +1 -1
- package/dist/components/TreeView/utils.es.js +3 -3
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.es.js +310 -311
- package/dist/components/stories/Alert.stories.cjs.js +1 -1
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
- package/dist/components/stories/Autocomplete.stories.es.js +2 -2
- package/dist/components/stories/Button.stories.cjs.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.cjs.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
- package/dist/components/stories/Checkbox.stories.es.js +1 -1
- package/dist/components/stories/Chip.stories.cjs.js +1 -1
- package/dist/components/stories/Chip.stories.es.js +1 -1
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/components/stories/Dialog.stories.cjs.js +1 -1
- package/dist/components/stories/Dialog.stories.es.js +2 -2
- package/dist/components/stories/Divider.stories.cjs.js +1 -1
- package/dist/components/stories/Divider.stories.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.cjs.js +1 -1
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.cjs.js +1 -1
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- package/dist/components/stories/Link.stories.cjs.js +1 -1
- package/dist/components/stories/Link.stories.es.js +1 -1
- package/dist/components/stories/Menu.stories.cjs.js +1 -1
- package/dist/components/stories/Menu.stories.es.js +2 -2
- package/dist/components/stories/Paper.stories.cjs.js +1 -1
- package/dist/components/stories/Paper.stories.es.js +1 -1
- package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
- package/dist/components/stories/RadioGroup.stories.es.js +3 -3
- package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
- package/dist/components/stories/ResourceCard.stories.es.js +1 -1
- package/dist/components/stories/Select.stories.cjs.js +1 -1
- package/dist/components/stories/Select.stories.es.js +3 -3
- package/dist/components/stories/TabList.stories.cjs.js +1 -1
- package/dist/components/stories/TabList.stories.es.js +1 -1
- package/dist/components/stories/TextField.stories.cjs.js +1 -1
- package/dist/components/stories/TextField.stories.es.js +1 -1
- package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
- package/dist/components/stories/Tooltip.stories.es.js +2 -2
- package/dist/components/stories/TreeView.stories.cjs.js +3 -3
- package/dist/components/stories/TreeView.stories.es.js +29 -29
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DPiiTkVU.cjs +1 -0
- package/dist/{createSvgIcon-CsMK8tGM.js → createSvgIcon-Q_5wEReh.js} +54 -55
- package/dist/dividerClasses-B_bu1fey.cjs +1 -0
- package/dist/{dividerClasses-BfxSqqSn.js → dividerClasses-CG6GpKdW.js} +1 -1
- package/dist/elementAcceptingRef-BzA19fXF.cjs +1 -0
- package/dist/elementAcceptingRef-De-6sh1C.js +25 -0
- package/dist/{elementTypeAcceptingRef-CW5o2Qxo.js → elementTypeAcceptingRef-DAXsN6bV.js} +1 -1
- package/dist/elementTypeAcceptingRef-DRPcjZd5.cjs +1 -0
- package/dist/{extendSxProp-DSA-5JvJ.js → extendSxProp-BNvofXln.js} +1 -1
- package/dist/extendSxProp-BZI5kY-d.cjs +1 -0
- package/dist/getReactElementRef-B4Mdq17D.js +8 -0
- package/dist/getReactElementRef-BPy0WStw.cjs +1 -0
- package/dist/{generateUtilityClasses-BpRGbQmY.js → identifier-UGP6vjyr.js} +811 -845
- package/dist/identifier-gJdGmHeC.cjs +74 -0
- package/dist/{index-CDLJvERp.js → index-BEwCnUM5.js} +2 -2
- package/dist/index-Cfd-LNZn.cjs +1 -0
- package/dist/index-D14TzUgK.cjs +1 -0
- package/dist/{index-CoYVLWJY.js → index-DF_6gEtu.js} +4 -4
- package/dist/index-Dmu1HrwE.cjs +5 -0
- package/dist/{index-JOgYmUF8.js → index-Q0xeFkEM.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +310 -311
- package/dist/inputBaseClasses-BMcreG7U.cjs +1 -0
- package/dist/inputBaseClasses-BPb0JVKx.js +9 -0
- package/dist/{listItemTextClasses-Cy10XsJj.js → listItemTextClasses-Ceqh8Tnn.js} +1 -1
- package/dist/listItemTextClasses-gsrBifRw.cjs +1 -0
- package/dist/{memoTheme-44McxcVZ.js → memoTheme-D0vyNKLd.js} +1 -1
- package/dist/{memoTheme-BhhxAcUJ.cjs → memoTheme-GOMOSdXJ.cjs} +1 -1
- package/dist/mergeSlotProps-BCz8yLkw.cjs +1 -0
- package/dist/mergeSlotProps-D_CzNhXE.js +62 -0
- package/dist/refType-53jD7LEO.cjs +1 -0
- package/dist/{refType-DsRJ5_Sj.js → refType-BjXePEDa.js} +1 -1
- package/dist/styled-C7OKoThH.cjs +1 -0
- package/dist/styled-blmInu6U.js +5 -0
- package/dist/useEventCallback-BxpcFap0.cjs +1 -0
- package/dist/useEventCallback-Yoj9nCug.js +15 -0
- package/dist/useForkRef-CFhhTu-Q.cjs +1 -0
- package/dist/useForkRef-u29GSuCu.js +27 -0
- package/dist/useSlot-CxlUbTmA.js +125 -0
- package/dist/useSlot-zJFQDOgm.cjs +1 -0
- package/dist/useSlotProps-CuEZ7HQe.cjs +1 -0
- package/dist/{useSlotProps-CDJdiQpV.js → useSlotProps-DspaNRnE.js} +2 -2
- package/dist/useTheme-9UmqLsq5.js +11 -0
- package/dist/useTheme-BJZcQSBU.cjs +1 -0
- package/dist/{useTheme-C2OE_AnH.js → useTheme-CXUszJGf.js} +1 -1
- package/dist/useTheme-NQRIebh0.cjs +1 -0
- package/dist/useThemeProps-B4kO75RK.js +17 -0
- package/dist/{useThemeProps-ClM1OENH.js → useThemeProps-DGawbBM3.js} +4 -4
- package/dist/useThemeProps-DnpiVoRo.cjs +1 -0
- package/dist/{useThemeProps-DQFApaJ_.cjs → useThemeProps-jU-2XOjK.cjs} +1 -1
- package/dist/utils-B2EQZFZP.cjs +1 -0
- package/dist/{utils-DFLaK7Ad.js → utils-CByxilR5.js} +1 -1
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +10 -10
- package/dist/Alert-Dg5u5Z7d.cjs +0 -1
- package/dist/Autocomplete-3xshJ4m_.cjs +0 -6
- package/dist/Backdrop-BrTs3LxC.cjs +0 -1
- package/dist/Box-CFuWIdLg.cjs +0 -1
- package/dist/Button-C7tsSPXV.cjs +0 -1
- package/dist/CardContent-BRUkl8hU.cjs +0 -1
- package/dist/Checkbox-C_wSNEHD.cjs +0 -1
- package/dist/Chip-DUeBMcO4.cjs +0 -1
- package/dist/CircularProgress-DdHpo4Bf.cjs +0 -28
- package/dist/CustomTreeItem-9kBuTFO8.cjs +0 -4
- package/dist/DatePicker-BYPJypQT.cjs +0 -14
- package/dist/DefaultPropsProvider-B6DqRWnX.cjs +0 -1
- package/dist/Dialog-DOXpPT7S.cjs +0 -1
- package/dist/DialogContent-BoIE95Tg.cjs +0 -1
- package/dist/DialogTitle-B_am69Lr.cjs +0 -1
- package/dist/Divider-Nyl7rx-c.cjs +0 -1
- package/dist/FormLabel-D4O160ND.cjs +0 -2
- package/dist/Grow-DKA2Mfhu.cjs +0 -1
- package/dist/IconButton-CGfKAsNI.cjs +0 -2
- package/dist/InputAdornment-BOcB8UIi.cjs +0 -1
- package/dist/InputBase-BIf-xtMJ.cjs +0 -3
- package/dist/Link-CS0qbKjo.cjs +0 -1
- package/dist/List-T5dKKWkc.cjs +0 -1
- package/dist/ListItem-BN7OXyEP.cjs +0 -1
- package/dist/ListItemText-6gXRtF3r.cjs +0 -1
- package/dist/ListItemText-afV0BrJL.js +0 -928
- package/dist/Menu-D6dHPVP_.cjs +0 -7
- package/dist/MenuItem-DOVsV_vI.cjs +0 -1
- package/dist/Modal-B8xPmNJd.cjs +0 -2
- package/dist/Paper-owda8LtM.cjs +0 -2
- package/dist/Popper-DMGJYlm7.cjs +0 -4
- package/dist/Portal-BKVc0iys.js +0 -81
- package/dist/Portal-CgaP8O8B.cjs +0 -1
- package/dist/Radio-OUfsD89D.cjs +0 -1
- package/dist/RadioGroup-Cr_IFflA.cjs +0 -1
- package/dist/Select-CUlunaOr.cjs +0 -3
- package/dist/Stack-D5_1ZBcn.cjs +0 -1
- package/dist/Switch-DpdnFebj.cjs +0 -1
- package/dist/SwitchBase-BsP35Aas.js +0 -262
- package/dist/SwitchBase-DMGf52a3.cjs +0 -1
- package/dist/Tab-DZvAf79O.cjs +0 -4
- package/dist/TextField-C0KpyS6X.cjs +0 -1
- package/dist/ToggleButtonGroup-UNGSwlQe.cjs +0 -137
- package/dist/Tooltip-BljbhP1z.cjs +0 -4
- package/dist/Typography-yvyJLNFu.cjs +0 -1
- package/dist/capitalize-CToVceBw.cjs +0 -1
- package/dist/capitalize-DSG2FA7x.js +0 -9
- package/dist/createSvgIcon-EiiLl5-A.cjs +0 -1
- package/dist/dividerClasses-BtzbOVqV.cjs +0 -1
- package/dist/elementTypeAcceptingRef-D1T31ZXC.cjs +0 -1
- package/dist/extendSxProp-BKP1AeGz.cjs +0 -1
- package/dist/generateUtilityClasses-q4qbJjmd.cjs +0 -75
- package/dist/getReactElementRef-CD3_Stk5.js +0 -31
- package/dist/getReactElementRef-yvpNgSpm.cjs +0 -1
- package/dist/index-Bt7ukCXi.cjs +0 -5
- package/dist/index-DCpyECL4.cjs +0 -1
- package/dist/index-baZm35zL.cjs +0 -1
- package/dist/listItemTextClasses-DePeZNtZ.cjs +0 -1
- package/dist/refType-DDdajp2p.cjs +0 -1
- package/dist/resolveComponentProps-BTEnlM7q.cjs +0 -1
- package/dist/resolveComponentProps-BZQ1jKzF.js +0 -80
- package/dist/useEnhancedEffect-BQZ6dtCo.cjs +0 -1
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useEventCallback-BAQJJ3ye.js +0 -14
- package/dist/useEventCallback-C0-Qw3Sm.cjs +0 -1
- package/dist/useForkRef-CTI33h-3.cjs +0 -1
- package/dist/useForkRef-C_4o__cU.js +0 -15
- package/dist/useSlot-CSTfsYPJ.cjs +0 -1
- package/dist/useSlot-CYOxsM2I.js +0 -48
- package/dist/useSlotProps-DTgWZk99.cjs +0 -1
- package/dist/useTheme-BDL2rp7a.js +0 -11
- package/dist/useTheme-CCi6a5Vl.cjs +0 -1
- package/dist/useTheme-DpMakc_Y.cjs +0 -1
- package/dist/useThemeProps-BnN3o4c1.cjs +0 -1
- package/dist/useThemeProps-DjkGUV8r.js +0 -17
- package/dist/utils-Cn6wZNus.cjs +0 -1
|
@@ -1,59 +1,36 @@
|
|
|
1
1
|
import * as u from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { O as me, P as e, F as ge, G as ve, H as ie, K as z, Z as bo, U as mo } from "./identifier-UGP6vjyr.js";
|
|
3
3
|
import { f as ye } from "./formControlState-vgaj2ksH.js";
|
|
4
4
|
import { u as he } from "./useFormControl-CatNKXAi.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { m as E } from "./memoTheme-
|
|
7
|
-
import { jsx as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
import { o as Io } from "./ownerDocument-CUrv0DIK.js";
|
|
5
|
+
import { u as X, s as h, c as B, r as k, e as go } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
6
|
+
import { m as E } from "./memoTheme-D0vyNKLd.js";
|
|
7
|
+
import { jsx as y, jsxs as Oe } from "react/jsx-runtime";
|
|
8
|
+
import { a as vo, b as yo } from "./FormLabel-Dx6hkLPd.js";
|
|
9
|
+
import { M as ho } from "./Menu-bXn70x2T.js";
|
|
10
|
+
import { r as H } from "./refType-BjXePEDa.js";
|
|
11
|
+
import { i as Oo } from "./utils-DWqc1kRF.js";
|
|
12
|
+
import { u as Ve } from "./useControlled-BYdyS7Pn.js";
|
|
13
|
+
import { u as Xe } from "./useForkRef-u29GSuCu.js";
|
|
14
|
+
import { o as Co } from "./ownerDocument-CUrv0DIK.js";
|
|
16
15
|
import { u as So } from "./useId-CK6Kn3Tn.js";
|
|
17
|
-
import {
|
|
18
|
-
import { g as
|
|
16
|
+
import { g as Io, i as _, a as Ro, f as L, b as xo, o as $, A as wo } from "./ArrowDropDown-DvAbGzWJ.js";
|
|
17
|
+
import { g as To } from "./getReactElementRef-B4Mdq17D.js";
|
|
19
18
|
import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
20
|
-
import {
|
|
21
|
-
|
|
22
|
-
return V("MuiInput", o);
|
|
23
|
-
}
|
|
24
|
-
const X = {
|
|
25
|
-
...Ie,
|
|
26
|
-
...z("MuiInput", ["root", "underline", "input"])
|
|
27
|
-
};
|
|
28
|
-
function To(o) {
|
|
29
|
-
return V("MuiOutlinedInput", o);
|
|
30
|
-
}
|
|
31
|
-
const P = {
|
|
32
|
-
...Ie,
|
|
33
|
-
...z("MuiOutlinedInput", ["root", "notchedOutline", "input"])
|
|
34
|
-
};
|
|
35
|
-
function No(o) {
|
|
36
|
-
return V("MuiFilledInput", o);
|
|
37
|
-
}
|
|
38
|
-
const L = {
|
|
39
|
-
...Ie,
|
|
40
|
-
...z("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
41
|
-
}, Po = Ro(/* @__PURE__ */ v("path", {
|
|
42
|
-
d: "M7 10l5 5 5-5z"
|
|
43
|
-
}), "ArrowDropDown"), $o = (o) => {
|
|
19
|
+
import { I as Se, a as Ie, r as Re, b as xe, i as we } from "./InputBase-B3APXSc_.js";
|
|
20
|
+
const No = (o) => {
|
|
44
21
|
const {
|
|
45
22
|
classes: t,
|
|
46
23
|
disableUnderline: n
|
|
47
24
|
} = o, i = B({
|
|
48
25
|
root: ["root", !n && "underline"],
|
|
49
26
|
input: ["input"]
|
|
50
|
-
},
|
|
27
|
+
}, Io, t);
|
|
51
28
|
return {
|
|
52
29
|
...t,
|
|
53
30
|
// forward classes to the InputBase
|
|
54
31
|
...i
|
|
55
32
|
};
|
|
56
|
-
},
|
|
33
|
+
}, $o = h(Ie, {
|
|
57
34
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
58
35
|
name: "MuiInput",
|
|
59
36
|
slot: "Root",
|
|
@@ -61,7 +38,7 @@ const L = {
|
|
|
61
38
|
const {
|
|
62
39
|
ownerState: n
|
|
63
40
|
} = o;
|
|
64
|
-
return [...
|
|
41
|
+
return [...Re(o, t), !n.disableUnderline && t.underline];
|
|
65
42
|
}
|
|
66
43
|
})(E(({
|
|
67
44
|
theme: o
|
|
@@ -97,12 +74,12 @@ const L = {
|
|
|
97
74
|
pointerEvents: "none"
|
|
98
75
|
// Transparent to the hover style.
|
|
99
76
|
},
|
|
100
|
-
[`&.${
|
|
77
|
+
[`&.${_.focused}:after`]: {
|
|
101
78
|
// translateX(0) is a workaround for Safari transform scale bug
|
|
102
79
|
// See https://github.com/mui/material-ui/issues/31766
|
|
103
80
|
transform: "scaleX(1) translateX(0)"
|
|
104
81
|
},
|
|
105
|
-
[`&.${
|
|
82
|
+
[`&.${_.error}`]: {
|
|
106
83
|
"&::before, &::after": {
|
|
107
84
|
borderBottomColor: (o.vars || o).palette.error.main
|
|
108
85
|
}
|
|
@@ -120,14 +97,14 @@ const L = {
|
|
|
120
97
|
pointerEvents: "none"
|
|
121
98
|
// Transparent to the hover style.
|
|
122
99
|
},
|
|
123
|
-
[`&:hover:not(.${
|
|
100
|
+
[`&:hover:not(.${_.disabled}, .${_.error}):before`]: {
|
|
124
101
|
borderBottom: `2px solid ${(o.vars || o).palette.text.primary}`,
|
|
125
102
|
// Reset on touch devices, it doesn't add specificity
|
|
126
103
|
"@media (hover: none)": {
|
|
127
104
|
borderBottom: `1px solid ${n}`
|
|
128
105
|
}
|
|
129
106
|
},
|
|
130
|
-
[`&.${
|
|
107
|
+
[`&.${_.disabled}:before`]: {
|
|
131
108
|
borderBottomStyle: "dotted"
|
|
132
109
|
}
|
|
133
110
|
}
|
|
@@ -143,12 +120,12 @@ const L = {
|
|
|
143
120
|
}
|
|
144
121
|
}))]
|
|
145
122
|
};
|
|
146
|
-
})),
|
|
123
|
+
})), Po = h(xe, {
|
|
147
124
|
name: "MuiInput",
|
|
148
125
|
slot: "Input",
|
|
149
|
-
overridesResolver:
|
|
150
|
-
})({}),
|
|
151
|
-
const r =
|
|
126
|
+
overridesResolver: we
|
|
127
|
+
})({}), Te = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
128
|
+
const r = X({
|
|
152
129
|
props: t,
|
|
153
130
|
name: "MuiInput"
|
|
154
131
|
}), {
|
|
@@ -162,17 +139,17 @@ const L = {
|
|
|
162
139
|
slots: c = {},
|
|
163
140
|
type: O = "text",
|
|
164
141
|
...C
|
|
165
|
-
} = r, w =
|
|
142
|
+
} = r, w = No(r), v = {
|
|
166
143
|
root: {
|
|
167
144
|
ownerState: {
|
|
168
145
|
disableUnderline: i
|
|
169
146
|
}
|
|
170
147
|
}
|
|
171
|
-
}, x = f ?? a ?
|
|
172
|
-
return /* @__PURE__ */
|
|
148
|
+
}, x = f ?? a ? me(f ?? a, v) : v, S = c.root ?? p.Root ?? $o, I = c.input ?? p.Input ?? Po;
|
|
149
|
+
return /* @__PURE__ */ y(Se, {
|
|
173
150
|
slots: {
|
|
174
|
-
root:
|
|
175
|
-
input:
|
|
151
|
+
root: S,
|
|
152
|
+
input: I
|
|
176
153
|
},
|
|
177
154
|
slotProps: x,
|
|
178
155
|
fullWidth: d,
|
|
@@ -184,7 +161,7 @@ const L = {
|
|
|
184
161
|
classes: w
|
|
185
162
|
});
|
|
186
163
|
});
|
|
187
|
-
process.env.NODE_ENV !== "production" && (
|
|
164
|
+
process.env.NODE_ENV !== "production" && (Te.propTypes = {
|
|
188
165
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
189
166
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
190
167
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -213,7 +190,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
213
190
|
/**
|
|
214
191
|
* The components used for each slot inside.
|
|
215
192
|
*
|
|
216
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
193
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
217
194
|
*
|
|
218
195
|
* @default {}
|
|
219
196
|
*/
|
|
@@ -225,7 +202,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
225
202
|
* The extra props for the slot components.
|
|
226
203
|
* You can override the existing props or add new ones.
|
|
227
204
|
*
|
|
228
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
205
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
229
206
|
*
|
|
230
207
|
* @default {}
|
|
231
208
|
*/
|
|
@@ -279,7 +256,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
279
256
|
/**
|
|
280
257
|
* Pass a ref to the `input` element.
|
|
281
258
|
*/
|
|
282
|
-
inputRef:
|
|
259
|
+
inputRef: H,
|
|
283
260
|
/**
|
|
284
261
|
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
285
262
|
* FormControl.
|
|
@@ -369,11 +346,11 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
369
346
|
*/
|
|
370
347
|
value: e.any
|
|
371
348
|
});
|
|
372
|
-
|
|
373
|
-
function
|
|
374
|
-
return
|
|
349
|
+
Te.muiName = "Input";
|
|
350
|
+
function ko(o) {
|
|
351
|
+
return ve("MuiInputLabel", o);
|
|
375
352
|
}
|
|
376
|
-
const
|
|
353
|
+
const Ct = ge("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Eo = (o) => {
|
|
377
354
|
const {
|
|
378
355
|
classes: t,
|
|
379
356
|
formControl: n,
|
|
@@ -383,15 +360,15 @@ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
383
360
|
variant: a,
|
|
384
361
|
required: d
|
|
385
362
|
} = o, b = {
|
|
386
|
-
root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "
|
|
363
|
+
root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "medium" && `size${z(r)}`, a],
|
|
387
364
|
asterisk: [d && "asterisk"]
|
|
388
|
-
}, m = B(b,
|
|
365
|
+
}, m = B(b, ko, t);
|
|
389
366
|
return {
|
|
390
367
|
...t,
|
|
391
368
|
// forward the focused, disabled, etc. classes to the FormLabel
|
|
392
369
|
...m
|
|
393
370
|
};
|
|
394
|
-
},
|
|
371
|
+
}, Fo = h(vo, {
|
|
395
372
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
396
373
|
name: "MuiInputLabel",
|
|
397
374
|
slot: "Root",
|
|
@@ -400,7 +377,7 @@ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
400
377
|
ownerState: n
|
|
401
378
|
} = o;
|
|
402
379
|
return [{
|
|
403
|
-
[`& .${
|
|
380
|
+
[`& .${yo.asterisk}`]: t.asterisk
|
|
404
381
|
}, t.root, n.formControl && t.formControl, n.size === "small" && t.sizeSmall, n.shrink && t.shrink, !n.disableAnimation && t.animated, n.focused && t.focused, t[n.variant]];
|
|
405
382
|
}
|
|
406
383
|
})(E(({
|
|
@@ -525,8 +502,8 @@ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
525
502
|
transform: "translate(14px, -9px) scale(0.75)"
|
|
526
503
|
}
|
|
527
504
|
}]
|
|
528
|
-
}))),
|
|
529
|
-
const r =
|
|
505
|
+
}))), jo = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
506
|
+
const r = X({
|
|
530
507
|
name: "MuiInputLabel",
|
|
531
508
|
props: t
|
|
532
509
|
}), {
|
|
@@ -552,17 +529,17 @@ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required
|
|
|
552
529
|
variant: O.variant,
|
|
553
530
|
required: O.required,
|
|
554
531
|
focused: O.focused
|
|
555
|
-
}, w =
|
|
556
|
-
return /* @__PURE__ */
|
|
532
|
+
}, w = Eo(C);
|
|
533
|
+
return /* @__PURE__ */ y(Fo, {
|
|
557
534
|
"data-shrink": c,
|
|
558
535
|
ref: n,
|
|
559
|
-
className:
|
|
536
|
+
className: ie(w.root, b),
|
|
560
537
|
...m,
|
|
561
538
|
ownerState: C,
|
|
562
539
|
classes: w
|
|
563
540
|
});
|
|
564
541
|
});
|
|
565
|
-
process.env.NODE_ENV !== "production" && (
|
|
542
|
+
process.env.NODE_ENV !== "production" && (jo.propTypes = {
|
|
566
543
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
567
544
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
568
545
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -617,9 +594,9 @@ process.env.NODE_ENV !== "production" && (Lo.propTypes = {
|
|
|
617
594
|
shrink: e.bool,
|
|
618
595
|
/**
|
|
619
596
|
* The size of the component.
|
|
620
|
-
* @default '
|
|
597
|
+
* @default 'medium'
|
|
621
598
|
*/
|
|
622
|
-
size: e.oneOfType([e.oneOf(["
|
|
599
|
+
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
623
600
|
/**
|
|
624
601
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
625
602
|
*/
|
|
@@ -629,10 +606,10 @@ process.env.NODE_ENV !== "production" && (Lo.propTypes = {
|
|
|
629
606
|
*/
|
|
630
607
|
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
631
608
|
});
|
|
632
|
-
function
|
|
633
|
-
return
|
|
609
|
+
function Mo(o) {
|
|
610
|
+
return ve("MuiNativeSelect", o);
|
|
634
611
|
}
|
|
635
|
-
const
|
|
612
|
+
const Ne = ge("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Lo = (o) => {
|
|
636
613
|
const {
|
|
637
614
|
classes: t,
|
|
638
615
|
variant: n,
|
|
@@ -642,10 +619,10 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
642
619
|
error: a
|
|
643
620
|
} = o, d = {
|
|
644
621
|
select: ["select", n, r && "disabled", i && "multiple", a && "error"],
|
|
645
|
-
icon: ["icon", `icon${
|
|
622
|
+
icon: ["icon", `icon${z(n)}`, p && "iconOpen", r && "disabled"]
|
|
646
623
|
};
|
|
647
|
-
return B(d,
|
|
648
|
-
},
|
|
624
|
+
return B(d, Mo, t);
|
|
625
|
+
}, He = h("select")(({
|
|
649
626
|
theme: o
|
|
650
627
|
}) => ({
|
|
651
628
|
// Reset
|
|
@@ -662,7 +639,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
662
639
|
// Reset Chrome style
|
|
663
640
|
borderRadius: 0
|
|
664
641
|
},
|
|
665
|
-
[`&.${
|
|
642
|
+
[`&.${Ne.disabled}`]: {
|
|
666
643
|
cursor: "default"
|
|
667
644
|
},
|
|
668
645
|
"&[multiple]": {
|
|
@@ -707,7 +684,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
707
684
|
}
|
|
708
685
|
}
|
|
709
686
|
}]
|
|
710
|
-
})),
|
|
687
|
+
})), Bo = h(He, {
|
|
711
688
|
name: "MuiNativeSelect",
|
|
712
689
|
slot: "Select",
|
|
713
690
|
shouldForwardProp: k,
|
|
@@ -716,10 +693,10 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
716
693
|
ownerState: n
|
|
717
694
|
} = o;
|
|
718
695
|
return [t.select, t[n.variant], n.error && t.error, {
|
|
719
|
-
[`&.${
|
|
696
|
+
[`&.${Ne.multiple}`]: t.multiple
|
|
720
697
|
}];
|
|
721
698
|
}
|
|
722
|
-
})({}),
|
|
699
|
+
})({}), Ge = h("svg")(({
|
|
723
700
|
theme: o
|
|
724
701
|
}) => ({
|
|
725
702
|
// We use a position absolute over a flexbox in order to forward the pointer events
|
|
@@ -731,7 +708,7 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
731
708
|
// Don't block pointer events on the select under the icon.
|
|
732
709
|
pointerEvents: "none",
|
|
733
710
|
color: (o.vars || o).palette.action.active,
|
|
734
|
-
[`&.${
|
|
711
|
+
[`&.${Ne.disabled}`]: {
|
|
735
712
|
color: (o.vars || o).palette.action.disabled
|
|
736
713
|
},
|
|
737
714
|
variants: [{
|
|
@@ -756,14 +733,14 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
756
733
|
right: 7
|
|
757
734
|
}
|
|
758
735
|
}]
|
|
759
|
-
})),
|
|
736
|
+
})), Wo = h(Ge, {
|
|
760
737
|
name: "MuiNativeSelect",
|
|
761
738
|
slot: "Icon",
|
|
762
739
|
overridesResolver: (o, t) => {
|
|
763
740
|
const {
|
|
764
741
|
ownerState: n
|
|
765
742
|
} = o;
|
|
766
|
-
return [t.icon, n.variant && t[`icon${
|
|
743
|
+
return [t.icon, n.variant && t[`icon${z(n.variant)}`], n.open && t.iconOpen];
|
|
767
744
|
}
|
|
768
745
|
})({}), Ye = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
769
746
|
const {
|
|
@@ -779,15 +756,15 @@ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
|
|
|
779
756
|
disabled: i,
|
|
780
757
|
variant: b,
|
|
781
758
|
error: p
|
|
782
|
-
}, c =
|
|
759
|
+
}, c = Lo(f);
|
|
783
760
|
return /* @__PURE__ */ Oe(u.Fragment, {
|
|
784
|
-
children: [/* @__PURE__ */
|
|
761
|
+
children: [/* @__PURE__ */ y(Bo, {
|
|
785
762
|
ownerState: f,
|
|
786
|
-
className:
|
|
763
|
+
className: ie(c.select, r),
|
|
787
764
|
disabled: i,
|
|
788
765
|
ref: d || n,
|
|
789
766
|
...m
|
|
790
|
-
}), t.multiple ? null : /* @__PURE__ */
|
|
767
|
+
}), t.multiple ? null : /* @__PURE__ */ y(Wo, {
|
|
791
768
|
as: a,
|
|
792
769
|
ownerState: f,
|
|
793
770
|
className: c.icon
|
|
@@ -824,7 +801,7 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
|
|
|
824
801
|
* Use that prop to pass a ref to the native select element.
|
|
825
802
|
* @deprecated
|
|
826
803
|
*/
|
|
827
|
-
inputRef:
|
|
804
|
+
inputRef: H,
|
|
828
805
|
/**
|
|
829
806
|
* @ignore
|
|
830
807
|
*/
|
|
@@ -849,12 +826,12 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
|
|
|
849
826
|
*/
|
|
850
827
|
variant: e.oneOf(["standard", "outlined", "filled"])
|
|
851
828
|
});
|
|
852
|
-
function
|
|
853
|
-
return
|
|
829
|
+
function Ze(o) {
|
|
830
|
+
return ve("MuiSelect", o);
|
|
854
831
|
}
|
|
855
|
-
const
|
|
856
|
-
var
|
|
857
|
-
const
|
|
832
|
+
const K = ge("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
|
|
833
|
+
var qe;
|
|
834
|
+
const Ao = h(He, {
|
|
858
835
|
name: "MuiSelect",
|
|
859
836
|
slot: "Select",
|
|
860
837
|
overridesResolver: (o, t) => {
|
|
@@ -864,22 +841,22 @@ const Do = h(Ge, {
|
|
|
864
841
|
return [
|
|
865
842
|
// Win specificity over the input base
|
|
866
843
|
{
|
|
867
|
-
[`&.${
|
|
844
|
+
[`&.${K.select}`]: t.select
|
|
868
845
|
},
|
|
869
846
|
{
|
|
870
|
-
[`&.${
|
|
847
|
+
[`&.${K.select}`]: t[n.variant]
|
|
871
848
|
},
|
|
872
849
|
{
|
|
873
|
-
[`&.${
|
|
850
|
+
[`&.${K.error}`]: t.error
|
|
874
851
|
},
|
|
875
852
|
{
|
|
876
|
-
[`&.${
|
|
853
|
+
[`&.${K.multiple}`]: t.multiple
|
|
877
854
|
}
|
|
878
855
|
];
|
|
879
856
|
}
|
|
880
857
|
})({
|
|
881
858
|
// Win specificity over the input base
|
|
882
|
-
[`&.${
|
|
859
|
+
[`&.${K.select}`]: {
|
|
883
860
|
height: "auto",
|
|
884
861
|
// Resets for multiple select with chips
|
|
885
862
|
minHeight: "1.4375em",
|
|
@@ -888,17 +865,17 @@ const Do = h(Ge, {
|
|
|
888
865
|
whiteSpace: "nowrap",
|
|
889
866
|
overflow: "hidden"
|
|
890
867
|
}
|
|
891
|
-
}),
|
|
868
|
+
}), Uo = h(Ge, {
|
|
892
869
|
name: "MuiSelect",
|
|
893
870
|
slot: "Icon",
|
|
894
871
|
overridesResolver: (o, t) => {
|
|
895
872
|
const {
|
|
896
873
|
ownerState: n
|
|
897
874
|
} = o;
|
|
898
|
-
return [t.icon, n.variant && t[`icon${
|
|
875
|
+
return [t.icon, n.variant && t[`icon${z(n.variant)}`], n.open && t.iconOpen];
|
|
899
876
|
}
|
|
900
|
-
})({}),
|
|
901
|
-
shouldForwardProp: (o) =>
|
|
877
|
+
})({}), Do = h("input", {
|
|
878
|
+
shouldForwardProp: (o) => go(o) && o !== "classes",
|
|
902
879
|
name: "MuiSelect",
|
|
903
880
|
slot: "NativeInput",
|
|
904
881
|
overridesResolver: (o, t) => t.nativeInput
|
|
@@ -911,13 +888,13 @@ const Do = h(Ge, {
|
|
|
911
888
|
width: "100%",
|
|
912
889
|
boxSizing: "border-box"
|
|
913
890
|
});
|
|
914
|
-
function
|
|
891
|
+
function _e(o, t) {
|
|
915
892
|
return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
|
|
916
893
|
}
|
|
917
|
-
function
|
|
894
|
+
function zo(o) {
|
|
918
895
|
return o == null || typeof o == "string" && !o.trim();
|
|
919
896
|
}
|
|
920
|
-
const
|
|
897
|
+
const Vo = (o) => {
|
|
921
898
|
const {
|
|
922
899
|
classes: t,
|
|
923
900
|
variant: n,
|
|
@@ -927,12 +904,12 @@ const _o = (o) => {
|
|
|
927
904
|
error: a
|
|
928
905
|
} = o, d = {
|
|
929
906
|
select: ["select", n, r && "disabled", i && "multiple", a && "error"],
|
|
930
|
-
icon: ["icon", `icon${
|
|
907
|
+
icon: ["icon", `icon${z(n)}`, p && "iconOpen", r && "disabled"],
|
|
931
908
|
nativeInput: ["nativeInput"]
|
|
932
909
|
};
|
|
933
|
-
return B(d,
|
|
934
|
-
},
|
|
935
|
-
var
|
|
910
|
+
return B(d, Ze, t);
|
|
911
|
+
}, Je = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
912
|
+
var De;
|
|
936
913
|
const {
|
|
937
914
|
"aria-describedby": r,
|
|
938
915
|
"aria-label": i,
|
|
@@ -947,132 +924,132 @@ const _o = (o) => {
|
|
|
947
924
|
error: C = !1,
|
|
948
925
|
IconComponent: w,
|
|
949
926
|
inputRef: T,
|
|
950
|
-
labelId:
|
|
927
|
+
labelId: v,
|
|
951
928
|
MenuProps: x = {},
|
|
952
|
-
multiple:
|
|
953
|
-
name:
|
|
929
|
+
multiple: S,
|
|
930
|
+
name: I,
|
|
954
931
|
onBlur: N,
|
|
955
932
|
onChange: W,
|
|
956
|
-
onClose:
|
|
957
|
-
onFocus:
|
|
958
|
-
onOpen:
|
|
933
|
+
onClose: G,
|
|
934
|
+
onFocus: le,
|
|
935
|
+
onOpen: Y,
|
|
959
936
|
open: Z,
|
|
960
|
-
readOnly:
|
|
961
|
-
renderValue:
|
|
962
|
-
required:
|
|
963
|
-
SelectDisplayProps:
|
|
937
|
+
readOnly: J,
|
|
938
|
+
renderValue: Q,
|
|
939
|
+
required: V,
|
|
940
|
+
SelectDisplayProps: P = {},
|
|
964
941
|
tabIndex: F,
|
|
965
942
|
// catching `type` from Input which makes no sense for SelectInput
|
|
966
|
-
type:
|
|
967
|
-
value:
|
|
968
|
-
variant:
|
|
943
|
+
type: pe,
|
|
944
|
+
value: Ee,
|
|
945
|
+
variant: ee = "standard",
|
|
969
946
|
...A
|
|
970
|
-
} = t, [g,
|
|
971
|
-
controlled:
|
|
947
|
+
} = t, [g, Fe] = Ve({
|
|
948
|
+
controlled: Ee,
|
|
972
949
|
default: f,
|
|
973
950
|
name: "Select"
|
|
974
|
-
}), [je,
|
|
951
|
+
}), [je, oo] = Ve({
|
|
975
952
|
controlled: Z,
|
|
976
953
|
default: m,
|
|
977
954
|
name: "Select"
|
|
978
|
-
}),
|
|
979
|
-
current:
|
|
980
|
-
} = u.useRef(Z != null), [
|
|
981
|
-
|
|
982
|
-
}, []),
|
|
983
|
-
u.useImperativeHandle(
|
|
955
|
+
}), Me = u.useRef(null), j = u.useRef(null), [M, to] = u.useState(null), {
|
|
956
|
+
current: de
|
|
957
|
+
} = u.useRef(Z != null), [no, Le] = u.useState(), ro = Xe(n, T), so = u.useCallback((s) => {
|
|
958
|
+
j.current = s, s && to(s);
|
|
959
|
+
}, []), oe = M == null ? void 0 : M.parentNode;
|
|
960
|
+
u.useImperativeHandle(ro, () => ({
|
|
984
961
|
focus: () => {
|
|
985
|
-
|
|
962
|
+
j.current.focus();
|
|
986
963
|
},
|
|
987
|
-
node:
|
|
964
|
+
node: Me.current,
|
|
988
965
|
value: g
|
|
989
966
|
}), [g]), u.useEffect(() => {
|
|
990
|
-
m && je &&
|
|
991
|
-
}, [
|
|
992
|
-
p &&
|
|
967
|
+
m && je && M && !de && (Le(a ? null : oe.clientWidth), j.current.focus());
|
|
968
|
+
}, [M, a]), u.useEffect(() => {
|
|
969
|
+
p && j.current.focus();
|
|
993
970
|
}, [p]), u.useEffect(() => {
|
|
994
|
-
if (!
|
|
971
|
+
if (!v)
|
|
995
972
|
return;
|
|
996
|
-
const s =
|
|
973
|
+
const s = Co(j.current).getElementById(v);
|
|
997
974
|
if (s) {
|
|
998
975
|
const l = () => {
|
|
999
|
-
getSelection().isCollapsed &&
|
|
976
|
+
getSelection().isCollapsed && j.current.focus();
|
|
1000
977
|
};
|
|
1001
978
|
return s.addEventListener("click", l), () => {
|
|
1002
979
|
s.removeEventListener("click", l);
|
|
1003
980
|
};
|
|
1004
981
|
}
|
|
1005
|
-
}, [
|
|
1006
|
-
const
|
|
1007
|
-
s ?
|
|
982
|
+
}, [v]);
|
|
983
|
+
const te = (s, l) => {
|
|
984
|
+
s ? Y && Y(l) : G && G(l), de || (Le(a ? null : oe.clientWidth), oo(s));
|
|
985
|
+
}, ao = (s) => {
|
|
986
|
+
s.button === 0 && (s.preventDefault(), j.current.focus(), te(!0, s));
|
|
1008
987
|
}, io = (s) => {
|
|
1009
|
-
|
|
1010
|
-
}, lo = (s) => {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
l !== void 0 && (Me(l.props.value), W && W(s, l));
|
|
1015
|
-
}, uo = (s) => (l) => {
|
|
988
|
+
te(!1, s);
|
|
989
|
+
}, ne = u.Children.toArray(d), lo = (s) => {
|
|
990
|
+
const l = ne.find((R) => R.props.value === s.target.value);
|
|
991
|
+
l !== void 0 && (Fe(l.props.value), W && W(s, l));
|
|
992
|
+
}, po = (s) => (l) => {
|
|
1016
993
|
let R;
|
|
1017
994
|
if (l.currentTarget.hasAttribute("tabindex")) {
|
|
1018
|
-
if (
|
|
995
|
+
if (S) {
|
|
1019
996
|
R = Array.isArray(g) ? g.slice() : [];
|
|
1020
997
|
const D = g.indexOf(s.props.value);
|
|
1021
998
|
D === -1 ? R.push(s.props.value) : R.splice(D, 1);
|
|
1022
999
|
} else
|
|
1023
1000
|
R = s.props.value;
|
|
1024
|
-
if (s.props.onClick && s.props.onClick(l), g !== R && (
|
|
1025
|
-
const D = l.nativeEvent || l,
|
|
1026
|
-
Object.defineProperty(
|
|
1001
|
+
if (s.props.onClick && s.props.onClick(l), g !== R && (Fe(R), W)) {
|
|
1002
|
+
const D = l.nativeEvent || l, ze = new D.constructor(D.type, D);
|
|
1003
|
+
Object.defineProperty(ze, "target", {
|
|
1027
1004
|
writable: !0,
|
|
1028
1005
|
value: {
|
|
1029
1006
|
value: R,
|
|
1030
|
-
name:
|
|
1007
|
+
name: I
|
|
1031
1008
|
}
|
|
1032
|
-
}), W(
|
|
1009
|
+
}), W(ze, s);
|
|
1033
1010
|
}
|
|
1034
|
-
|
|
1011
|
+
S || te(!1, l);
|
|
1035
1012
|
}
|
|
1036
|
-
},
|
|
1037
|
-
|
|
1013
|
+
}, uo = (s) => {
|
|
1014
|
+
J || [
|
|
1038
1015
|
" ",
|
|
1039
1016
|
"ArrowUp",
|
|
1040
1017
|
"ArrowDown",
|
|
1041
1018
|
// The native select doesn't respond to enter on macOS, but it's recommended by
|
|
1042
1019
|
// https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
|
|
1043
1020
|
"Enter"
|
|
1044
|
-
].includes(s.key) && (s.preventDefault(),
|
|
1045
|
-
},
|
|
1046
|
-
!
|
|
1021
|
+
].includes(s.key) && (s.preventDefault(), te(!0, s));
|
|
1022
|
+
}, q = M !== null && je, co = (s) => {
|
|
1023
|
+
!q && N && (Object.defineProperty(s, "target", {
|
|
1047
1024
|
writable: !0,
|
|
1048
1025
|
value: {
|
|
1049
1026
|
value: g,
|
|
1050
|
-
name:
|
|
1027
|
+
name: I
|
|
1051
1028
|
}
|
|
1052
1029
|
}), N(s));
|
|
1053
1030
|
};
|
|
1054
1031
|
delete A["aria-invalid"];
|
|
1055
|
-
let U,
|
|
1056
|
-
const
|
|
1057
|
-
let
|
|
1058
|
-
(
|
|
1032
|
+
let U, Be;
|
|
1033
|
+
const re = [];
|
|
1034
|
+
let se = !1, ue = !1;
|
|
1035
|
+
(Oo({
|
|
1059
1036
|
value: g
|
|
1060
|
-
}) || O) && (
|
|
1061
|
-
const
|
|
1037
|
+
}) || O) && (Q ? U = Q(g) : se = !0);
|
|
1038
|
+
const fo = ne.map((s) => {
|
|
1062
1039
|
if (!/* @__PURE__ */ u.isValidElement(s))
|
|
1063
1040
|
return null;
|
|
1064
|
-
process.env.NODE_ENV !== "production" &&
|
|
1041
|
+
process.env.NODE_ENV !== "production" && bo.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
1065
1042
|
`));
|
|
1066
1043
|
let l;
|
|
1067
|
-
if (
|
|
1044
|
+
if (S) {
|
|
1068
1045
|
if (!Array.isArray(g))
|
|
1069
|
-
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." :
|
|
1070
|
-
l = g.some((R) =>
|
|
1046
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : mo(2));
|
|
1047
|
+
l = g.some((R) => _e(R, s.props.value)), l && se && re.push(s.props.children);
|
|
1071
1048
|
} else
|
|
1072
|
-
l =
|
|
1073
|
-
return l && (
|
|
1049
|
+
l = _e(g, s.props.value), l && se && (Be = s.props.children);
|
|
1050
|
+
return l && (ue = !0), /* @__PURE__ */ u.cloneElement(s, {
|
|
1074
1051
|
"aria-selected": l ? "true" : "false",
|
|
1075
|
-
onClick:
|
|
1052
|
+
onClick: po(s),
|
|
1076
1053
|
onKeyUp: (R) => {
|
|
1077
1054
|
R.key === " " && R.preventDefault(), s.props.onKeyUp && s.props.onKeyUp(R);
|
|
1078
1055
|
},
|
|
@@ -1085,80 +1062,80 @@ const _o = (o) => {
|
|
|
1085
1062
|
});
|
|
1086
1063
|
});
|
|
1087
1064
|
process.env.NODE_ENV !== "production" && u.useEffect(() => {
|
|
1088
|
-
if (!
|
|
1089
|
-
const s =
|
|
1090
|
-
console.warn([`MUI: You have provided an out-of-range value \`${g}\` for the select ${
|
|
1065
|
+
if (!ue && !S && g !== "") {
|
|
1066
|
+
const s = ne.map((l) => l.props.value);
|
|
1067
|
+
console.warn([`MUI: You have provided an out-of-range value \`${g}\` for the select ${I ? `(name="${I}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${s.filter((l) => l != null).map((l) => `\`${l}\``).join(", ") || '""'}.`].join(`
|
|
1091
1068
|
`));
|
|
1092
1069
|
}
|
|
1093
|
-
}, [
|
|
1094
|
-
let
|
|
1095
|
-
!a &&
|
|
1096
|
-
let
|
|
1097
|
-
typeof F < "u" ?
|
|
1098
|
-
const
|
|
1070
|
+
}, [ue, ne, S, I, g]), se && (S ? re.length === 0 ? U = null : U = re.reduce((s, l, R) => (s.push(l), R < re.length - 1 && s.push(", "), s), []) : U = Be);
|
|
1071
|
+
let We = no;
|
|
1072
|
+
!a && de && M && (We = oe.clientWidth);
|
|
1073
|
+
let ce;
|
|
1074
|
+
typeof F < "u" ? ce = F : ce = c ? null : 0;
|
|
1075
|
+
const Ae = P.id || (I ? `mui-component-select-${I}` : void 0), ae = {
|
|
1099
1076
|
...t,
|
|
1100
|
-
variant:
|
|
1077
|
+
variant: ee,
|
|
1101
1078
|
value: g,
|
|
1102
|
-
open:
|
|
1079
|
+
open: q,
|
|
1103
1080
|
error: C
|
|
1104
|
-
},
|
|
1081
|
+
}, fe = Vo(ae), be = {
|
|
1105
1082
|
...x.PaperProps,
|
|
1106
|
-
...(
|
|
1107
|
-
},
|
|
1083
|
+
...(De = x.slotProps) == null ? void 0 : De.paper
|
|
1084
|
+
}, Ue = So();
|
|
1108
1085
|
return /* @__PURE__ */ Oe(u.Fragment, {
|
|
1109
|
-
children: [/* @__PURE__ */
|
|
1086
|
+
children: [/* @__PURE__ */ y(Ao, {
|
|
1110
1087
|
as: "div",
|
|
1111
|
-
ref:
|
|
1112
|
-
tabIndex:
|
|
1088
|
+
ref: so,
|
|
1089
|
+
tabIndex: ce,
|
|
1113
1090
|
role: "combobox",
|
|
1114
|
-
"aria-controls":
|
|
1091
|
+
"aria-controls": q ? Ue : void 0,
|
|
1115
1092
|
"aria-disabled": c ? "true" : void 0,
|
|
1116
|
-
"aria-expanded":
|
|
1093
|
+
"aria-expanded": q ? "true" : "false",
|
|
1117
1094
|
"aria-haspopup": "listbox",
|
|
1118
1095
|
"aria-label": i,
|
|
1119
|
-
"aria-labelledby": [
|
|
1096
|
+
"aria-labelledby": [v, Ae].filter(Boolean).join(" ") || void 0,
|
|
1120
1097
|
"aria-describedby": r,
|
|
1121
|
-
"aria-required":
|
|
1098
|
+
"aria-required": V ? "true" : void 0,
|
|
1122
1099
|
"aria-invalid": C ? "true" : void 0,
|
|
1123
|
-
onKeyDown:
|
|
1124
|
-
onMouseDown: c ||
|
|
1125
|
-
onBlur:
|
|
1126
|
-
onFocus:
|
|
1127
|
-
|
|
1128
|
-
ownerState:
|
|
1129
|
-
className:
|
|
1130
|
-
id:
|
|
1131
|
-
children:
|
|
1100
|
+
onKeyDown: uo,
|
|
1101
|
+
onMouseDown: c || J ? null : ao,
|
|
1102
|
+
onBlur: co,
|
|
1103
|
+
onFocus: le,
|
|
1104
|
+
...P,
|
|
1105
|
+
ownerState: ae,
|
|
1106
|
+
className: ie(P.className, fe.select, b),
|
|
1107
|
+
id: Ae,
|
|
1108
|
+
children: zo(U) ? (
|
|
1132
1109
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
1133
|
-
|
|
1110
|
+
qe || (qe = /* @__PURE__ */ y("span", {
|
|
1134
1111
|
className: "notranslate",
|
|
1135
1112
|
"aria-hidden": !0,
|
|
1136
1113
|
children: ""
|
|
1137
1114
|
}))
|
|
1138
1115
|
) : U
|
|
1139
|
-
}), /* @__PURE__ */
|
|
1116
|
+
}), /* @__PURE__ */ y(Do, {
|
|
1140
1117
|
"aria-invalid": C,
|
|
1141
1118
|
value: Array.isArray(g) ? g.join(",") : g,
|
|
1142
|
-
name:
|
|
1143
|
-
ref:
|
|
1119
|
+
name: I,
|
|
1120
|
+
ref: Me,
|
|
1144
1121
|
"aria-hidden": !0,
|
|
1145
|
-
onChange:
|
|
1122
|
+
onChange: lo,
|
|
1146
1123
|
tabIndex: -1,
|
|
1147
1124
|
disabled: c,
|
|
1148
|
-
className:
|
|
1125
|
+
className: fe.nativeInput,
|
|
1149
1126
|
autoFocus: p,
|
|
1150
|
-
required:
|
|
1127
|
+
required: V,
|
|
1151
1128
|
...A,
|
|
1152
|
-
ownerState:
|
|
1153
|
-
}), /* @__PURE__ */
|
|
1129
|
+
ownerState: ae
|
|
1130
|
+
}), /* @__PURE__ */ y(Uo, {
|
|
1154
1131
|
as: w,
|
|
1155
|
-
className:
|
|
1156
|
-
ownerState:
|
|
1157
|
-
}), /* @__PURE__ */
|
|
1158
|
-
id: `menu-${
|
|
1159
|
-
anchorEl:
|
|
1160
|
-
open:
|
|
1161
|
-
onClose:
|
|
1132
|
+
className: fe.icon,
|
|
1133
|
+
ownerState: ae
|
|
1134
|
+
}), /* @__PURE__ */ y(ho, {
|
|
1135
|
+
id: `menu-${I || ""}`,
|
|
1136
|
+
anchorEl: oe,
|
|
1137
|
+
open: q,
|
|
1138
|
+
onClose: io,
|
|
1162
1139
|
anchorOrigin: {
|
|
1163
1140
|
vertical: "bottom",
|
|
1164
1141
|
horizontal: "center"
|
|
@@ -1168,29 +1145,29 @@ const _o = (o) => {
|
|
|
1168
1145
|
horizontal: "center"
|
|
1169
1146
|
},
|
|
1170
1147
|
...x,
|
|
1171
|
-
MenuListProps: {
|
|
1172
|
-
"aria-labelledby": y,
|
|
1173
|
-
role: "listbox",
|
|
1174
|
-
"aria-multiselectable": I ? "true" : void 0,
|
|
1175
|
-
disableListWrap: !0,
|
|
1176
|
-
id: De,
|
|
1177
|
-
...x.MenuListProps
|
|
1178
|
-
},
|
|
1179
1148
|
slotProps: {
|
|
1180
1149
|
...x.slotProps,
|
|
1150
|
+
list: {
|
|
1151
|
+
"aria-labelledby": v,
|
|
1152
|
+
role: "listbox",
|
|
1153
|
+
"aria-multiselectable": S ? "true" : void 0,
|
|
1154
|
+
disableListWrap: !0,
|
|
1155
|
+
id: Ue,
|
|
1156
|
+
...x.MenuListProps
|
|
1157
|
+
},
|
|
1181
1158
|
paper: {
|
|
1182
|
-
...
|
|
1159
|
+
...be,
|
|
1183
1160
|
style: {
|
|
1184
|
-
minWidth:
|
|
1185
|
-
...
|
|
1161
|
+
minWidth: We,
|
|
1162
|
+
...be != null ? be.style : null
|
|
1186
1163
|
}
|
|
1187
1164
|
}
|
|
1188
1165
|
},
|
|
1189
|
-
children:
|
|
1166
|
+
children: fo
|
|
1190
1167
|
})]
|
|
1191
1168
|
});
|
|
1192
1169
|
});
|
|
1193
|
-
process.env.NODE_ENV !== "production" && (
|
|
1170
|
+
process.env.NODE_ENV !== "production" && (Je.propTypes = {
|
|
1194
1171
|
/**
|
|
1195
1172
|
* @ignore
|
|
1196
1173
|
*/
|
|
@@ -1250,7 +1227,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
|
|
|
1250
1227
|
* Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
|
|
1251
1228
|
* Equivalent to `ref`
|
|
1252
1229
|
*/
|
|
1253
|
-
inputRef:
|
|
1230
|
+
inputRef: H,
|
|
1254
1231
|
/**
|
|
1255
1232
|
* The ID of an element that acts as an additional label. The Select will
|
|
1256
1233
|
* be labelled by the additional label and the selected value.
|
|
@@ -1338,7 +1315,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
|
|
|
1338
1315
|
*/
|
|
1339
1316
|
variant: e.oneOf(["standard", "outlined", "filled"])
|
|
1340
1317
|
});
|
|
1341
|
-
const
|
|
1318
|
+
const qo = (o) => {
|
|
1342
1319
|
const {
|
|
1343
1320
|
classes: t,
|
|
1344
1321
|
disableUnderline: n,
|
|
@@ -1348,15 +1325,15 @@ const Ko = (o) => {
|
|
|
1348
1325
|
hiddenLabel: a,
|
|
1349
1326
|
multiline: d
|
|
1350
1327
|
} = o, b = {
|
|
1351
|
-
root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${
|
|
1328
|
+
root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${z(p)}`, a && "hiddenLabel", d && "multiline"],
|
|
1352
1329
|
input: ["input"]
|
|
1353
|
-
}, m = B(b,
|
|
1330
|
+
}, m = B(b, Ro, t);
|
|
1354
1331
|
return {
|
|
1355
1332
|
...t,
|
|
1356
1333
|
// forward classes to the InputBase
|
|
1357
1334
|
...m
|
|
1358
1335
|
};
|
|
1359
|
-
},
|
|
1336
|
+
}, _o = h(Ie, {
|
|
1360
1337
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
1361
1338
|
name: "MuiFilledInput",
|
|
1362
1339
|
slot: "Root",
|
|
@@ -1364,7 +1341,7 @@ const Ko = (o) => {
|
|
|
1364
1341
|
const {
|
|
1365
1342
|
ownerState: n
|
|
1366
1343
|
} = o;
|
|
1367
|
-
return [...
|
|
1344
|
+
return [...Re(o, t), !n.disableUnderline && t.underline];
|
|
1368
1345
|
}
|
|
1369
1346
|
})(E(({
|
|
1370
1347
|
theme: o
|
|
@@ -1502,10 +1479,10 @@ const Ko = (o) => {
|
|
|
1502
1479
|
}
|
|
1503
1480
|
}]
|
|
1504
1481
|
};
|
|
1505
|
-
})),
|
|
1482
|
+
})), Ko = h(xe, {
|
|
1506
1483
|
name: "MuiFilledInput",
|
|
1507
1484
|
slot: "Input",
|
|
1508
|
-
overridesResolver:
|
|
1485
|
+
overridesResolver: we
|
|
1509
1486
|
})(E(({
|
|
1510
1487
|
theme: o
|
|
1511
1488
|
}) => ({
|
|
@@ -1585,7 +1562,7 @@ const Ko = (o) => {
|
|
|
1585
1562
|
}
|
|
1586
1563
|
}]
|
|
1587
1564
|
}))), $e = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
1588
|
-
const r =
|
|
1565
|
+
const r = X({
|
|
1589
1566
|
props: t,
|
|
1590
1567
|
name: "MuiFilledInput"
|
|
1591
1568
|
}), {
|
|
@@ -1608,27 +1585,27 @@ const Ko = (o) => {
|
|
|
1608
1585
|
inputComponent: m,
|
|
1609
1586
|
multiline: f,
|
|
1610
1587
|
type: C
|
|
1611
|
-
},
|
|
1588
|
+
}, v = qo(r), x = {
|
|
1612
1589
|
root: {
|
|
1613
1590
|
ownerState: T
|
|
1614
1591
|
},
|
|
1615
1592
|
input: {
|
|
1616
1593
|
ownerState: T
|
|
1617
1594
|
}
|
|
1618
|
-
},
|
|
1619
|
-
return /* @__PURE__ */
|
|
1595
|
+
}, S = c ?? a ? me(x, c ?? a) : x, I = O.root ?? p.Root ?? _o, N = O.input ?? p.Input ?? Ko;
|
|
1596
|
+
return /* @__PURE__ */ y(Se, {
|
|
1620
1597
|
slots: {
|
|
1621
|
-
root:
|
|
1598
|
+
root: I,
|
|
1622
1599
|
input: N
|
|
1623
1600
|
},
|
|
1624
|
-
slotProps:
|
|
1601
|
+
slotProps: S,
|
|
1625
1602
|
fullWidth: d,
|
|
1626
1603
|
inputComponent: m,
|
|
1627
1604
|
multiline: f,
|
|
1628
1605
|
ref: n,
|
|
1629
1606
|
type: C,
|
|
1630
1607
|
...w,
|
|
1631
|
-
classes:
|
|
1608
|
+
classes: v
|
|
1632
1609
|
});
|
|
1633
1610
|
});
|
|
1634
1611
|
process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
@@ -1660,7 +1637,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
|
1660
1637
|
/**
|
|
1661
1638
|
* The components used for each slot inside.
|
|
1662
1639
|
*
|
|
1663
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
1640
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
1664
1641
|
*
|
|
1665
1642
|
* @default {}
|
|
1666
1643
|
*/
|
|
@@ -1672,7 +1649,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
|
1672
1649
|
* The extra props for the slot components.
|
|
1673
1650
|
* You can override the existing props or add new ones.
|
|
1674
1651
|
*
|
|
1675
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
1652
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
1676
1653
|
*
|
|
1677
1654
|
* @default {}
|
|
1678
1655
|
*/
|
|
@@ -1733,7 +1710,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
|
1733
1710
|
/**
|
|
1734
1711
|
* Pass a ref to the `input` element.
|
|
1735
1712
|
*/
|
|
1736
|
-
inputRef:
|
|
1713
|
+
inputRef: H,
|
|
1737
1714
|
/**
|
|
1738
1715
|
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
1739
1716
|
* FormControl.
|
|
@@ -1824,8 +1801,8 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
|
|
|
1824
1801
|
value: e.any
|
|
1825
1802
|
});
|
|
1826
1803
|
$e.muiName = "Input";
|
|
1827
|
-
var
|
|
1828
|
-
const
|
|
1804
|
+
var Ke;
|
|
1805
|
+
const Xo = h("fieldset", {
|
|
1829
1806
|
shouldForwardProp: k
|
|
1830
1807
|
})({
|
|
1831
1808
|
textAlign: "left",
|
|
@@ -1842,7 +1819,7 @@ const Go = h("fieldset", {
|
|
|
1842
1819
|
borderWidth: 1,
|
|
1843
1820
|
overflow: "hidden",
|
|
1844
1821
|
minWidth: "0%"
|
|
1845
|
-
}),
|
|
1822
|
+
}), Ho = h("legend", {
|
|
1846
1823
|
shouldForwardProp: k
|
|
1847
1824
|
})(E(({
|
|
1848
1825
|
theme: o
|
|
@@ -1906,7 +1883,7 @@ const Go = h("fieldset", {
|
|
|
1906
1883
|
}
|
|
1907
1884
|
}]
|
|
1908
1885
|
})));
|
|
1909
|
-
function
|
|
1886
|
+
function Qe(o) {
|
|
1910
1887
|
const {
|
|
1911
1888
|
children: t,
|
|
1912
1889
|
classes: n,
|
|
@@ -1919,18 +1896,18 @@ function eo(o) {
|
|
|
1919
1896
|
notched: p,
|
|
1920
1897
|
withLabel: d
|
|
1921
1898
|
};
|
|
1922
|
-
return /* @__PURE__ */
|
|
1899
|
+
return /* @__PURE__ */ y(Xo, {
|
|
1923
1900
|
"aria-hidden": !0,
|
|
1924
1901
|
className: r,
|
|
1925
1902
|
ownerState: b,
|
|
1926
1903
|
...a,
|
|
1927
|
-
children: /* @__PURE__ */
|
|
1904
|
+
children: /* @__PURE__ */ y(Ho, {
|
|
1928
1905
|
ownerState: b,
|
|
1929
|
-
children: d ? /* @__PURE__ */
|
|
1906
|
+
children: d ? /* @__PURE__ */ y("span", {
|
|
1930
1907
|
children: i
|
|
1931
1908
|
}) : (
|
|
1932
1909
|
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
1933
|
-
|
|
1910
|
+
Ke || (Ke = /* @__PURE__ */ y("span", {
|
|
1934
1911
|
className: "notranslate",
|
|
1935
1912
|
"aria-hidden": !0,
|
|
1936
1913
|
children: ""
|
|
@@ -1939,7 +1916,7 @@ function eo(o) {
|
|
|
1939
1916
|
})
|
|
1940
1917
|
});
|
|
1941
1918
|
}
|
|
1942
|
-
process.env.NODE_ENV !== "production" && (
|
|
1919
|
+
process.env.NODE_ENV !== "production" && (Qe.propTypes = {
|
|
1943
1920
|
/**
|
|
1944
1921
|
* The content of the component.
|
|
1945
1922
|
*/
|
|
@@ -1965,24 +1942,24 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
|
|
|
1965
1942
|
*/
|
|
1966
1943
|
style: e.object
|
|
1967
1944
|
});
|
|
1968
|
-
const
|
|
1945
|
+
const Go = (o) => {
|
|
1969
1946
|
const {
|
|
1970
1947
|
classes: t
|
|
1971
1948
|
} = o, r = B({
|
|
1972
1949
|
root: ["root"],
|
|
1973
1950
|
notchedOutline: ["notchedOutline"],
|
|
1974
1951
|
input: ["input"]
|
|
1975
|
-
},
|
|
1952
|
+
}, xo, t);
|
|
1976
1953
|
return {
|
|
1977
1954
|
...t,
|
|
1978
1955
|
// forward classes to the InputBase
|
|
1979
1956
|
...r
|
|
1980
1957
|
};
|
|
1981
|
-
},
|
|
1958
|
+
}, Yo = h(Ie, {
|
|
1982
1959
|
shouldForwardProp: (o) => k(o) || o === "classes",
|
|
1983
1960
|
name: "MuiOutlinedInput",
|
|
1984
1961
|
slot: "Root",
|
|
1985
|
-
overridesResolver:
|
|
1962
|
+
overridesResolver: Re
|
|
1986
1963
|
})(E(({
|
|
1987
1964
|
theme: o
|
|
1988
1965
|
}) => {
|
|
@@ -1990,16 +1967,16 @@ const Yo = (o) => {
|
|
|
1990
1967
|
return {
|
|
1991
1968
|
position: "relative",
|
|
1992
1969
|
borderRadius: (o.vars || o).shape.borderRadius,
|
|
1993
|
-
[`&:hover .${
|
|
1970
|
+
[`&:hover .${$.notchedOutline}`]: {
|
|
1994
1971
|
borderColor: (o.vars || o).palette.text.primary
|
|
1995
1972
|
},
|
|
1996
1973
|
// Reset on touch devices, it doesn't add specificity
|
|
1997
1974
|
"@media (hover: none)": {
|
|
1998
|
-
[`&:hover .${
|
|
1975
|
+
[`&:hover .${$.notchedOutline}`]: {
|
|
1999
1976
|
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
|
|
2000
1977
|
}
|
|
2001
1978
|
},
|
|
2002
|
-
[`&.${
|
|
1979
|
+
[`&.${$.focused} .${$.notchedOutline}`]: {
|
|
2003
1980
|
borderWidth: 2
|
|
2004
1981
|
},
|
|
2005
1982
|
variants: [...Object.entries(o.palette).filter(Ce()).map(([n]) => ({
|
|
@@ -2007,7 +1984,7 @@ const Yo = (o) => {
|
|
|
2007
1984
|
color: n
|
|
2008
1985
|
},
|
|
2009
1986
|
style: {
|
|
2010
|
-
[`&.${
|
|
1987
|
+
[`&.${$.focused} .${$.notchedOutline}`]: {
|
|
2011
1988
|
borderColor: (o.vars || o).palette[n].main
|
|
2012
1989
|
}
|
|
2013
1990
|
}
|
|
@@ -2015,10 +1992,10 @@ const Yo = (o) => {
|
|
|
2015
1992
|
props: {},
|
|
2016
1993
|
// to overide the above style
|
|
2017
1994
|
style: {
|
|
2018
|
-
[`&.${
|
|
1995
|
+
[`&.${$.error} .${$.notchedOutline}`]: {
|
|
2019
1996
|
borderColor: (o.vars || o).palette.error.main
|
|
2020
1997
|
},
|
|
2021
|
-
[`&.${
|
|
1998
|
+
[`&.${$.disabled} .${$.notchedOutline}`]: {
|
|
2022
1999
|
borderColor: (o.vars || o).palette.action.disabled
|
|
2023
2000
|
}
|
|
2024
2001
|
}
|
|
@@ -2053,7 +2030,7 @@ const Yo = (o) => {
|
|
|
2053
2030
|
}
|
|
2054
2031
|
}]
|
|
2055
2032
|
};
|
|
2056
|
-
})), Zo = h(
|
|
2033
|
+
})), Zo = h(Qe, {
|
|
2057
2034
|
name: "MuiOutlinedInput",
|
|
2058
2035
|
slot: "NotchedOutline",
|
|
2059
2036
|
overridesResolver: (o, t) => t.notchedOutline
|
|
@@ -2064,10 +2041,10 @@ const Yo = (o) => {
|
|
|
2064
2041
|
return {
|
|
2065
2042
|
borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
|
|
2066
2043
|
};
|
|
2067
|
-
})),
|
|
2044
|
+
})), Jo = h(xe, {
|
|
2068
2045
|
name: "MuiOutlinedInput",
|
|
2069
2046
|
slot: "Input",
|
|
2070
|
-
overridesResolver:
|
|
2047
|
+
overridesResolver: we
|
|
2071
2048
|
})(E(({
|
|
2072
2049
|
theme: o
|
|
2073
2050
|
}) => ({
|
|
@@ -2121,9 +2098,9 @@ const Yo = (o) => {
|
|
|
2121
2098
|
paddingRight: 0
|
|
2122
2099
|
}
|
|
2123
2100
|
}]
|
|
2124
|
-
}))),
|
|
2101
|
+
}))), Pe = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
2125
2102
|
var r;
|
|
2126
|
-
const i =
|
|
2103
|
+
const i = X({
|
|
2127
2104
|
props: t,
|
|
2128
2105
|
name: "MuiOutlinedInput"
|
|
2129
2106
|
}), {
|
|
@@ -2136,32 +2113,32 @@ const Yo = (o) => {
|
|
|
2136
2113
|
slots: c = {},
|
|
2137
2114
|
type: O = "text",
|
|
2138
2115
|
...C
|
|
2139
|
-
} = i, w =
|
|
2116
|
+
} = i, w = Go(i), T = he(), v = ye({
|
|
2140
2117
|
props: i,
|
|
2141
2118
|
muiFormControl: T,
|
|
2142
2119
|
states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
|
|
2143
2120
|
}), x = {
|
|
2144
2121
|
...i,
|
|
2145
|
-
color:
|
|
2146
|
-
disabled:
|
|
2147
|
-
error:
|
|
2148
|
-
focused:
|
|
2122
|
+
color: v.color || "primary",
|
|
2123
|
+
disabled: v.disabled,
|
|
2124
|
+
error: v.error,
|
|
2125
|
+
focused: v.focused,
|
|
2149
2126
|
formControl: T,
|
|
2150
2127
|
fullWidth: a,
|
|
2151
|
-
hiddenLabel:
|
|
2128
|
+
hiddenLabel: v.hiddenLabel,
|
|
2152
2129
|
multiline: m,
|
|
2153
|
-
size:
|
|
2130
|
+
size: v.size,
|
|
2154
2131
|
type: O
|
|
2155
|
-
},
|
|
2156
|
-
return /* @__PURE__ */
|
|
2132
|
+
}, S = c.root ?? p.Root ?? Yo, I = c.input ?? p.Input ?? Jo;
|
|
2133
|
+
return /* @__PURE__ */ y(Se, {
|
|
2157
2134
|
slots: {
|
|
2158
|
-
root:
|
|
2159
|
-
input:
|
|
2135
|
+
root: S,
|
|
2136
|
+
input: I
|
|
2160
2137
|
},
|
|
2161
|
-
renderSuffix: (N) => /* @__PURE__ */
|
|
2138
|
+
renderSuffix: (N) => /* @__PURE__ */ y(Zo, {
|
|
2162
2139
|
ownerState: x,
|
|
2163
2140
|
className: w.notchedOutline,
|
|
2164
|
-
label: b != null && b !== "" &&
|
|
2141
|
+
label: b != null && b !== "" && v.required ? r || (r = /* @__PURE__ */ Oe(u.Fragment, {
|
|
2165
2142
|
children: [b, " ", "*"]
|
|
2166
2143
|
})) : b,
|
|
2167
2144
|
notched: typeof f < "u" ? f : !!(N.startAdornment || N.filled || N.focused)
|
|
@@ -2178,7 +2155,7 @@ const Yo = (o) => {
|
|
|
2178
2155
|
}
|
|
2179
2156
|
});
|
|
2180
2157
|
});
|
|
2181
|
-
process.env.NODE_ENV !== "production" && (
|
|
2158
|
+
process.env.NODE_ENV !== "production" && (Pe.propTypes = {
|
|
2182
2159
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2183
2160
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2184
2161
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -2207,7 +2184,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
2207
2184
|
/**
|
|
2208
2185
|
* The components used for each slot inside.
|
|
2209
2186
|
*
|
|
2210
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
2187
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
2211
2188
|
*
|
|
2212
2189
|
* @default {}
|
|
2213
2190
|
*/
|
|
@@ -2256,7 +2233,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
2256
2233
|
/**
|
|
2257
2234
|
* Pass a ref to the `input` element.
|
|
2258
2235
|
*/
|
|
2259
|
-
inputRef:
|
|
2236
|
+
inputRef: H,
|
|
2260
2237
|
/**
|
|
2261
2238
|
* The label of the `input`. It is only used for layout. The actual labelling
|
|
2262
2239
|
* is handled by `InputLabel`.
|
|
@@ -2343,24 +2320,24 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
|
|
|
2343
2320
|
*/
|
|
2344
2321
|
value: e.any
|
|
2345
2322
|
});
|
|
2346
|
-
|
|
2347
|
-
const
|
|
2323
|
+
Pe.muiName = "Input";
|
|
2324
|
+
const Qo = (o) => {
|
|
2348
2325
|
const {
|
|
2349
2326
|
classes: t
|
|
2350
2327
|
} = o, r = B({
|
|
2351
2328
|
root: ["root"]
|
|
2352
|
-
},
|
|
2329
|
+
}, Ze, t);
|
|
2353
2330
|
return {
|
|
2354
2331
|
...t,
|
|
2355
2332
|
...r
|
|
2356
2333
|
};
|
|
2357
|
-
},
|
|
2334
|
+
}, ke = {
|
|
2358
2335
|
name: "MuiSelect",
|
|
2359
2336
|
overridesResolver: (o, t) => t.root,
|
|
2360
2337
|
shouldForwardProp: (o) => k(o) && o !== "variant",
|
|
2361
2338
|
slot: "Root"
|
|
2362
|
-
},
|
|
2363
|
-
const r =
|
|
2339
|
+
}, et = h(Te, ke)(""), ot = h(Pe, ke)(""), tt = h($e, ke)(""), eo = /* @__PURE__ */ u.forwardRef(function(t, n) {
|
|
2340
|
+
const r = X({
|
|
2364
2341
|
name: "MuiSelect",
|
|
2365
2342
|
props: t
|
|
2366
2343
|
}), {
|
|
@@ -2370,93 +2347,93 @@ const ot = (o) => {
|
|
|
2370
2347
|
className: d,
|
|
2371
2348
|
defaultOpen: b = !1,
|
|
2372
2349
|
displayEmpty: m = !1,
|
|
2373
|
-
IconComponent: f =
|
|
2350
|
+
IconComponent: f = wo,
|
|
2374
2351
|
id: c,
|
|
2375
2352
|
input: O,
|
|
2376
2353
|
inputProps: C,
|
|
2377
2354
|
label: w,
|
|
2378
2355
|
labelId: T,
|
|
2379
|
-
MenuProps:
|
|
2356
|
+
MenuProps: v,
|
|
2380
2357
|
multiple: x = !1,
|
|
2381
|
-
native:
|
|
2382
|
-
onClose:
|
|
2358
|
+
native: S = !1,
|
|
2359
|
+
onClose: I,
|
|
2383
2360
|
onOpen: N,
|
|
2384
2361
|
open: W,
|
|
2385
|
-
renderValue:
|
|
2386
|
-
SelectDisplayProps:
|
|
2387
|
-
variant:
|
|
2362
|
+
renderValue: G,
|
|
2363
|
+
SelectDisplayProps: le,
|
|
2364
|
+
variant: Y = "outlined",
|
|
2388
2365
|
...Z
|
|
2389
|
-
} = r,
|
|
2366
|
+
} = r, J = S ? Ye : Je, Q = he(), V = ye({
|
|
2390
2367
|
props: r,
|
|
2391
|
-
muiFormControl:
|
|
2368
|
+
muiFormControl: Q,
|
|
2392
2369
|
states: ["variant", "error"]
|
|
2393
|
-
}),
|
|
2370
|
+
}), P = V.variant || Y, F = {
|
|
2394
2371
|
...r,
|
|
2395
|
-
variant:
|
|
2372
|
+
variant: P,
|
|
2396
2373
|
classes: a
|
|
2397
|
-
},
|
|
2398
|
-
root:
|
|
2399
|
-
...
|
|
2400
|
-
} =
|
|
2401
|
-
standard: /* @__PURE__ */
|
|
2374
|
+
}, pe = Qo(F), {
|
|
2375
|
+
root: Ee,
|
|
2376
|
+
...ee
|
|
2377
|
+
} = pe, A = O || {
|
|
2378
|
+
standard: /* @__PURE__ */ y(et, {
|
|
2402
2379
|
ownerState: F
|
|
2403
2380
|
}),
|
|
2404
|
-
outlined: /* @__PURE__ */
|
|
2381
|
+
outlined: /* @__PURE__ */ y(ot, {
|
|
2405
2382
|
label: w,
|
|
2406
2383
|
ownerState: F
|
|
2407
2384
|
}),
|
|
2408
|
-
filled: /* @__PURE__ */
|
|
2385
|
+
filled: /* @__PURE__ */ y(tt, {
|
|
2409
2386
|
ownerState: F
|
|
2410
2387
|
})
|
|
2411
|
-
}[
|
|
2412
|
-
return /* @__PURE__ */
|
|
2388
|
+
}[P], g = Xe(n, To(A));
|
|
2389
|
+
return /* @__PURE__ */ y(u.Fragment, {
|
|
2413
2390
|
children: /* @__PURE__ */ u.cloneElement(A, {
|
|
2414
2391
|
// Most of the logic is implemented in `SelectInput`.
|
|
2415
2392
|
// The `Select` component is a simple API wrapper to expose something better to play with.
|
|
2416
|
-
inputComponent:
|
|
2393
|
+
inputComponent: J,
|
|
2417
2394
|
inputProps: {
|
|
2418
2395
|
children: p,
|
|
2419
|
-
error:
|
|
2396
|
+
error: V.error,
|
|
2420
2397
|
IconComponent: f,
|
|
2421
|
-
variant:
|
|
2398
|
+
variant: P,
|
|
2422
2399
|
type: void 0,
|
|
2423
2400
|
// We render a select. We can ignore the type provided by the `Input`.
|
|
2424
2401
|
multiple: x,
|
|
2425
|
-
...
|
|
2402
|
+
...S ? {
|
|
2426
2403
|
id: c
|
|
2427
2404
|
} : {
|
|
2428
2405
|
autoWidth: i,
|
|
2429
2406
|
defaultOpen: b,
|
|
2430
2407
|
displayEmpty: m,
|
|
2431
2408
|
labelId: T,
|
|
2432
|
-
MenuProps:
|
|
2433
|
-
onClose:
|
|
2409
|
+
MenuProps: v,
|
|
2410
|
+
onClose: I,
|
|
2434
2411
|
onOpen: N,
|
|
2435
2412
|
open: W,
|
|
2436
|
-
renderValue:
|
|
2413
|
+
renderValue: G,
|
|
2437
2414
|
SelectDisplayProps: {
|
|
2438
2415
|
id: c,
|
|
2439
|
-
...
|
|
2416
|
+
...le
|
|
2440
2417
|
}
|
|
2441
2418
|
},
|
|
2442
2419
|
...C,
|
|
2443
|
-
classes: C ?
|
|
2420
|
+
classes: C ? me(ee, C.classes) : ee,
|
|
2444
2421
|
...O ? O.props.inputProps : {}
|
|
2445
2422
|
},
|
|
2446
|
-
...(x &&
|
|
2423
|
+
...(x && S || m) && P === "outlined" ? {
|
|
2447
2424
|
notched: !0
|
|
2448
2425
|
} : {},
|
|
2449
2426
|
ref: g,
|
|
2450
|
-
className:
|
|
2427
|
+
className: ie(A.props.className, d, pe.root),
|
|
2451
2428
|
// If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
|
|
2452
2429
|
...!O && {
|
|
2453
|
-
variant:
|
|
2430
|
+
variant: P
|
|
2454
2431
|
},
|
|
2455
2432
|
...Z
|
|
2456
2433
|
})
|
|
2457
2434
|
});
|
|
2458
2435
|
});
|
|
2459
|
-
process.env.NODE_ENV !== "production" && (
|
|
2436
|
+
process.env.NODE_ENV !== "production" && (eo.propTypes = {
|
|
2460
2437
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
2461
2438
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
2462
2439
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -2603,20 +2580,15 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
|
|
|
2603
2580
|
*/
|
|
2604
2581
|
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
2605
2582
|
});
|
|
2606
|
-
|
|
2583
|
+
eo.muiName = "Select";
|
|
2607
2584
|
export {
|
|
2608
|
-
Po as A,
|
|
2609
2585
|
$e as F,
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
wo as g,
|
|
2619
|
-
X as i,
|
|
2620
|
-
P as o,
|
|
2621
|
-
H as s
|
|
2586
|
+
Te as I,
|
|
2587
|
+
Pe as O,
|
|
2588
|
+
eo as S,
|
|
2589
|
+
jo as a,
|
|
2590
|
+
Ze as b,
|
|
2591
|
+
ko as g,
|
|
2592
|
+
Ct as i,
|
|
2593
|
+
K as s
|
|
2622
2594
|
};
|