@cgi-learning-hub/ui 1.9.0 → 1.10.0
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/index.cjs.js +63417 -1
- package/dist/index.d.ts +773 -1
- package/dist/index.es.js +63394 -417
- package/dist/ui.css +151 -0
- package/package.json +26 -24
- package/dist/Alert-BH_3hKCB.cjs +0 -1
- package/dist/Alert-BeVYzSS-.js +0 -94
- package/dist/Alert-BoYBWOXe.cjs +0 -1
- package/dist/Alert-CEu3llDi.js +0 -369
- package/dist/Autocomplete-BKpavKFW.cjs +0 -6
- package/dist/Autocomplete-DBZYn4YL.js +0 -1881
- package/dist/Backdrop-BvL371G3.js +0 -360
- package/dist/Backdrop-qOBrabpf.cjs +0 -1
- package/dist/Badge-2Kgbx-Cs.js +0 -466
- package/dist/Badge-DXl0Da36.cjs +0 -1
- package/dist/Box-BaZ7KlAc.js +0 -59
- package/dist/Box-CYQlQqRB.cjs +0 -1
- package/dist/Button-BP-QmmUu.cjs +0 -1
- package/dist/Button-C1mKNW-c.js +0 -698
- package/dist/ButtonBase-C2jRC_V7.js +0 -883
- package/dist/ButtonBase-DSJojbNE.cjs +0 -74
- package/dist/CardContent-DVcUynuH.cjs +0 -1
- package/dist/CardContent-kIapWv4T.js +0 -225
- package/dist/Checkbox-DhhuvKO5.cjs +0 -1
- package/dist/Checkbox-RxHWtafR.js +0 -271
- package/dist/Chip-DgGmi9yn.js +0 -574
- package/dist/Chip-n1kY-Dsh.cjs +0 -1
- package/dist/CircularProgress-BOm4zz7e.cjs +0 -28
- package/dist/CircularProgress-CLq0Rl-1.js +0 -253
- package/dist/Close-DR9m6hv3.cjs +0 -1
- package/dist/Close-vu-MZYNA.js +0 -9
- package/dist/CloseRounded-Cpp6nWQi.cjs +0 -1
- package/dist/CloseRounded-DF05lCUu.js +0 -8
- package/dist/CustomTreeItem-AecanDDg.js +0 -2046
- package/dist/CustomTreeItem-BBMp0k4i.cjs +0 -41
- package/dist/DatePicker-Cd-Aj-F8.js +0 -10758
- package/dist/DatePicker-Dj7U52Mk.cjs +0 -16
- package/dist/DefaultPropsProvider-BrmlvPWg.js +0 -312
- package/dist/DefaultPropsProvider-C1g4BXET.cjs +0 -1
- package/dist/Delete-C36W48MB.cjs +0 -1
- package/dist/Delete-DXUljXzP.js +0 -8
- package/dist/Dialog-C2HYr67H.cjs +0 -1
- package/dist/Dialog-D__8rwpw.js +0 -469
- package/dist/DialogContent-MPwmUJQp.js +0 -195
- package/dist/DialogContent-lup2v_ab.cjs +0 -1
- package/dist/DialogTitle-B8jOk7ZE.cjs +0 -1
- package/dist/DialogTitle-Dly5D3Ud.js +0 -134
- package/dist/Divider-BN12gMv9.js +0 -297
- package/dist/Divider-wisA5Qp_.cjs +0 -1
- package/dist/Folder-BSZMyA2L.js +0 -8
- package/dist/Folder-aAI_w_uF.cjs +0 -1
- package/dist/FormLabel-ByYWZh7M.cjs +0 -2
- package/dist/FormLabel-DtxJI2CU.js +0 -408
- package/dist/Grid-C0LY-MbT.js +0 -419
- package/dist/Grid-CPXE25PR.cjs +0 -2
- package/dist/Grow-6zwoqUfO.cjs +0 -1
- package/dist/Grow-CeGwnQpw.js +0 -197
- package/dist/IconButton-BTN16gZi.cjs +0 -2
- package/dist/IconButton-DBjiNqOa.js +0 -299
- package/dist/InputAdornment-C1r1YutO.cjs +0 -1
- package/dist/InputAdornment-DuR35FtU.js +0 -173
- package/dist/InputBase-CxknnWV4.cjs +0 -4
- package/dist/InputBase-D5UJOJBu.js +0 -797
- package/dist/Link-T11NCxGd.cjs +0 -1
- package/dist/Link-hWCqsQiI.js +0 -281
- package/dist/List-CmJ1jCss.js +0 -131
- package/dist/List-eQ4D0MvJ.cjs +0 -1
- package/dist/ListItem-CgWgbZ_g.cjs +0 -1
- package/dist/ListItem-onoPfwb4.js +0 -423
- package/dist/ListItemText-B-dySXgz.cjs +0 -1
- package/dist/ListItemText-BjhXxIIV.js +0 -441
- package/dist/Menu-D7B383z4.cjs +0 -7
- package/dist/Menu-DGvAkF5F.js +0 -911
- package/dist/MenuItem-Cusmy5t2.js +0 -268
- package/dist/MenuItem-D-4xzo-S.cjs +0 -1
- package/dist/Modal-DB9K8sJI.cjs +0 -2
- package/dist/Modal-DtjScKxh.js +0 -744
- package/dist/MoreVert-BwfUF9pO.cjs +0 -1
- package/dist/MoreVert-woCQ0dNf.js +0 -8
- package/dist/Paper-CZXfHfN_.js +0 -158
- package/dist/Paper-DcVuAxq3.cjs +0 -2
- package/dist/Popper-BwuGO_Si.js +0 -1407
- package/dist/Popper-D5Cs38W_.cjs +0 -4
- package/dist/Portal-Cmv45gpL.cjs +0 -1
- package/dist/Portal-PkRJuFYN.js +0 -85
- package/dist/Radio-DiyDpiVL.js +0 -617
- package/dist/Radio-DzKwkI68.cjs +0 -1
- package/dist/RadioGroup-BlkHQVRF.cjs +0 -1
- package/dist/RadioGroup-CjUaFqjJ.js +0 -191
- package/dist/Select-BxH16ruJ.js +0 -2648
- package/dist/Select-CSQfbogA.cjs +0 -3
- package/dist/Stack-ChvZzNqc.cjs +0 -1
- package/dist/Stack-pMJEpL7k.js +0 -173
- package/dist/Stepper-BsfN7O-W.cjs +0 -1
- package/dist/Stepper-DyH4sgY5.js +0 -966
- package/dist/Switch-BgZUmsKc.js +0 -392
- package/dist/Switch-Dr2jgPGV.cjs +0 -1
- package/dist/SwitchBase-BP_I-APE.cjs +0 -1
- package/dist/SwitchBase-BWz31Ed6.js +0 -319
- package/dist/Tab-Bksf_S4K.js +0 -1454
- package/dist/Tab-D2mI5G0L.cjs +0 -4
- package/dist/TextField-C9AnzUpZ.cjs +0 -1
- package/dist/TextField-Ctx4aW6-.js +0 -560
- package/dist/ToggleButtonGroup-CBw2I124.cjs +0 -138
- package/dist/ToggleButtonGroup-DtjRqNbI.js +0 -9091
- package/dist/Tooltip-C5AffX17.js +0 -722
- package/dist/Tooltip-CUm8vKGq.cjs +0 -4
- package/dist/TransitionGroupContext-DbLioz_6.js +0 -24
- package/dist/TransitionGroupContext-Zt4NoR0u.cjs +0 -1
- package/dist/Typography-Cr-aIusw.js +0 -261
- package/dist/Typography-DHjq4GzQ.cjs +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/LoaderBackdrop.css +0 -1
- package/dist/capitalize-3OjkeP9i.cjs +0 -1
- package/dist/capitalize-BHEX83JQ.js +0 -9
- package/dist/chainPropTypes-CEUi6Jb4.cjs +0 -1
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/client-error-CHkavqXs.cjs +0 -1
- package/dist/client-error-D0Ng5oOn.js +0 -393
- package/dist/components/ActionBar/ActionBar.cjs.js +0 -1
- package/dist/components/ActionBar/ActionBar.d.ts +0 -3
- package/dist/components/ActionBar/ActionBar.es.js +0 -63
- package/dist/components/ActionBar/index.cjs.js +0 -1
- package/dist/components/ActionBar/index.d.ts +0 -2
- package/dist/components/ActionBar/index.es.js +0 -4
- package/dist/components/ActionBar/style.cjs.js +0 -1
- package/dist/components/ActionBar/style.es.js +0 -61
- package/dist/components/ActionBar/types.cjs.js +0 -1
- package/dist/components/ActionBar/types.d.ts +0 -17
- package/dist/components/ActionBar/types.es.js +0 -1
- package/dist/components/Alert/Alert.cjs.js +0 -1
- package/dist/components/Alert/Alert.d.ts +0 -6
- package/dist/components/Alert/Alert.es.js +0 -8
- package/dist/components/Alert/index.cjs.js +0 -1
- package/dist/components/Alert/index.d.ts +0 -2
- package/dist/components/Alert/index.es.js +0 -4
- package/dist/components/Button/Button.cjs.js +0 -1
- package/dist/components/Button/Button.d.ts +0 -3
- package/dist/components/Button/Button.es.js +0 -44
- package/dist/components/Button/index.cjs.js +0 -1
- package/dist/components/Button/index.d.ts +0 -2
- package/dist/components/Button/index.es.js +0 -4
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.d.ts +0 -3
- package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -38
- package/dist/components/ButtonGroup/index.cjs.js +0 -1
- package/dist/components/ButtonGroup/index.d.ts +0 -2
- package/dist/components/ButtonGroup/index.es.js +0 -4
- package/dist/components/ButtonGroup/style.cjs.js +0 -1
- package/dist/components/ButtonGroup/style.es.js +0 -29
- package/dist/components/ButtonGroup/types.cjs.js +0 -1
- package/dist/components/ButtonGroup/types.d.ts +0 -22
- package/dist/components/ButtonGroup/types.es.js +0 -1
- package/dist/components/ColorPicker/ColorPicker.cjs.js +0 -27
- package/dist/components/ColorPicker/ColorPicker.d.ts +0 -4
- package/dist/components/ColorPicker/ColorPicker.es.js +0 -7960
- package/dist/components/ColorPicker/ColorPickerIcon.cjs.js +0 -1
- package/dist/components/ColorPicker/ColorPickerIcon.d.ts +0 -5
- package/dist/components/ColorPicker/ColorPickerIcon.es.js +0 -58
- package/dist/components/ColorPicker/index.cjs.js +0 -1
- package/dist/components/ColorPicker/index.d.ts +0 -3
- package/dist/components/ColorPicker/index.es.js +0 -4
- package/dist/components/ColorPicker/styles.cjs.js +0 -1
- package/dist/components/ColorPicker/styles.es.js +0 -28
- package/dist/components/ColorPicker/types.cjs.js +0 -1
- package/dist/components/ColorPicker/types.d.ts +0 -19
- package/dist/components/ColorPicker/types.es.js +0 -1
- package/dist/components/DatePicker/DatePicker.cjs.js +0 -1
- package/dist/components/DatePicker/DatePicker.d.ts +0 -6
- package/dist/components/DatePicker/DatePicker.es.js +0 -5
- package/dist/components/DatePicker/index.cjs.js +0 -1
- package/dist/components/DatePicker/index.d.ts +0 -2
- package/dist/components/DatePicker/index.es.js +0 -4
- package/dist/components/Dialog/Dialog.cjs.js +0 -1
- package/dist/components/Dialog/Dialog.d.ts +0 -6
- package/dist/components/Dialog/Dialog.es.js +0 -31
- package/dist/components/Dialog/index.cjs.js +0 -1
- package/dist/components/Dialog/index.d.ts +0 -2
- package/dist/components/Dialog/index.es.js +0 -4
- package/dist/components/Dropzone/Dropzone.cjs.js +0 -1
- package/dist/components/Dropzone/Dropzone.d.ts +0 -12
- package/dist/components/Dropzone/Dropzone.es.js +0 -55
- package/dist/components/Dropzone/index.cjs.js +0 -1
- package/dist/components/Dropzone/index.d.ts +0 -2
- package/dist/components/Dropzone/index.es.js +0 -4
- package/dist/components/Dropzone/types.cjs.js +0 -1
- package/dist/components/Dropzone/types.d.ts +0 -8
- package/dist/components/Dropzone/types.es.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +0 -9
- package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +0 -45
- package/dist/components/EllipsisWithTooltip/index.cjs.js +0 -1
- package/dist/components/EllipsisWithTooltip/index.d.ts +0 -2
- package/dist/components/EllipsisWithTooltip/index.es.js +0 -4
- package/dist/components/EmptyState/EmptyState.cjs.js +0 -1
- package/dist/components/EmptyState/EmptyState.d.ts +0 -22
- package/dist/components/EmptyState/EmptyState.es.js +0 -34
- package/dist/components/EmptyState/index.cjs.js +0 -1
- package/dist/components/EmptyState/index.d.ts +0 -2
- package/dist/components/EmptyState/index.es.js +0 -4
- package/dist/components/FileList/FileIcon.cjs.js +0 -1
- package/dist/components/FileList/FileIcon.d.ts +0 -3
- package/dist/components/FileList/FileIcon.es.js +0 -56
- package/dist/components/FileList/FileInfosSeparator.cjs.js +0 -1
- package/dist/components/FileList/FileInfosSeparator.d.ts +0 -1
- package/dist/components/FileList/FileInfosSeparator.es.js +0 -14
- package/dist/components/FileList/FileList.cjs.js +0 -1
- package/dist/components/FileList/FileList.d.ts +0 -9
- package/dist/components/FileList/FileList.es.js +0 -24
- package/dist/components/FileList/FileListItem.cjs.js +0 -1
- package/dist/components/FileList/FileListItem.d.ts +0 -16
- package/dist/components/FileList/FileListItem.es.js +0 -122
- package/dist/components/FileList/index.cjs.js +0 -1
- package/dist/components/FileList/index.d.ts +0 -4
- package/dist/components/FileList/index.es.js +0 -6
- package/dist/components/FileList/utils.cjs.js +0 -1
- package/dist/components/FileList/utils.d.ts +0 -2
- package/dist/components/FileList/utils.es.js +0 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
- package/dist/components/FolderCard/FolderCard.d.ts +0 -12
- package/dist/components/FolderCard/FolderCard.es.js +0 -88
- package/dist/components/FolderCard/index.cjs.js +0 -1
- package/dist/components/FolderCard/index.d.ts +0 -2
- package/dist/components/FolderCard/index.es.js +0 -4
- package/dist/components/FolderCard/styles.cjs.js +0 -1
- package/dist/components/FolderCard/styles.d.ts +0 -24
- package/dist/components/FolderCard/styles.es.js +0 -27
- package/dist/components/FolderCard/types.cjs.js +0 -1
- package/dist/components/FolderCard/types.d.ts +0 -3
- package/dist/components/FolderCard/types.es.js +0 -14
- package/dist/components/Heading/Heading.cjs.js +0 -1
- package/dist/components/Heading/Heading.d.ts +0 -14
- package/dist/components/Heading/Heading.es.js +0 -39
- package/dist/components/Heading/index.cjs.js +0 -1
- package/dist/components/Heading/index.d.ts +0 -2
- package/dist/components/Heading/index.es.js +0 -4
- package/dist/components/ImagePicker/ImagePicker.cjs.js +0 -1
- package/dist/components/ImagePicker/ImagePicker.d.ts +0 -13
- package/dist/components/ImagePicker/ImagePicker.es.js +0 -203
- package/dist/components/ImagePicker/index.cjs.js +0 -1
- package/dist/components/ImagePicker/index.d.ts +0 -2
- package/dist/components/ImagePicker/index.es.js +0 -4
- package/dist/components/Loader/Loader.cjs.js +0 -1
- package/dist/components/Loader/Loader.d.ts +0 -3
- package/dist/components/Loader/Loader.es.js +0 -11
- package/dist/components/Loader/index.cjs.js +0 -1
- package/dist/components/Loader/index.d.ts +0 -2
- package/dist/components/Loader/index.es.js +0 -4
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +0 -3
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +0 -12
- package/dist/components/LoaderBackdrop/index.cjs.js +0 -1
- package/dist/components/LoaderBackdrop/index.d.ts +0 -2
- package/dist/components/LoaderBackdrop/index.es.js +0 -4
- package/dist/components/PasswordInput/PasswordInput.cjs.js +0 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +0 -5
- package/dist/components/PasswordInput/PasswordInput.es.js +0 -39
- package/dist/components/PasswordInput/index.cjs.js +0 -1
- package/dist/components/PasswordInput/index.d.ts +0 -2
- package/dist/components/PasswordInput/index.es.js +0 -4
- package/dist/components/QueryError/QueryError.cjs.js +0 -1
- package/dist/components/QueryError/QueryError.d.ts +0 -8
- package/dist/components/QueryError/QueryError.es.js +0 -46
- package/dist/components/QueryError/helpers.cjs.js +0 -1
- package/dist/components/QueryError/helpers.d.ts +0 -11
- package/dist/components/QueryError/helpers.es.js +0 -10
- package/dist/components/QueryError/index.cjs.js +0 -1
- package/dist/components/QueryError/index.d.ts +0 -2
- package/dist/components/QueryError/index.es.js +0 -4
- package/dist/components/ResourceCard/ResourceCard.cjs.js +0 -1
- package/dist/components/ResourceCard/ResourceCard.d.ts +0 -25
- package/dist/components/ResourceCard/ResourceCard.es.js +0 -128
- package/dist/components/ResourceCard/index.cjs.js +0 -1
- package/dist/components/ResourceCard/index.d.ts +0 -2
- package/dist/components/ResourceCard/index.es.js +0 -4
- package/dist/components/ResourceCard/style.cjs.js +0 -1
- package/dist/components/ResourceCard/style.es.js +0 -130
- package/dist/components/SearchInput/SearchInput.cjs.js +0 -1
- package/dist/components/SearchInput/SearchInput.d.ts +0 -4
- package/dist/components/SearchInput/SearchInput.es.js +0 -38
- package/dist/components/SearchInput/index.cjs.js +0 -1
- package/dist/components/SearchInput/index.d.ts +0 -2
- package/dist/components/SearchInput/index.es.js +0 -4
- package/dist/components/TreeView/TreeView.cjs.js +0 -5
- package/dist/components/TreeView/TreeView.d.ts +0 -4
- package/dist/components/TreeView/TreeView.es.js +0 -1663
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +0 -1
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +0 -6
- package/dist/components/TreeView/components/CustomTreeItem.es.js +0 -9
- package/dist/components/TreeView/index.cjs.js +0 -1
- package/dist/components/TreeView/index.d.ts +0 -2
- package/dist/components/TreeView/index.es.js +0 -6
- package/dist/components/TreeView/style.cjs.js +0 -1
- package/dist/components/TreeView/style.es.js +0 -35
- package/dist/components/TreeView/types.cjs.js +0 -1
- package/dist/components/TreeView/types.d.ts +0 -45
- package/dist/components/TreeView/types.es.js +0 -4
- package/dist/components/TreeView/utils.cjs.js +0 -1
- package/dist/components/TreeView/utils.d.ts +0 -6
- package/dist/components/TreeView/utils.es.js +0 -50
- package/dist/components/index.cjs.js +0 -1
- package/dist/components/index.d.ts +0 -197
- package/dist/components/index.es.js +0 -419
- package/dist/components/stories/ActionBar.stories.cjs.js +0 -1
- package/dist/components/stories/ActionBar.stories.d.ts +0 -11
- package/dist/components/stories/ActionBar.stories.es.js +0 -206
- package/dist/components/stories/Alert.stories.cjs.js +0 -1
- package/dist/components/stories/Alert.stories.d.ts +0 -9
- package/dist/components/stories/Alert.stories.es.js +0 -32
- package/dist/components/stories/Autocomplete.stories.cjs.js +0 -3
- package/dist/components/stories/Autocomplete.stories.d.ts +0 -6
- package/dist/components/stories/Autocomplete.stories.es.js +0 -62
- package/dist/components/stories/Badge.stories.cjs.js +0 -1
- package/dist/components/stories/Badge.stories.d.ts +0 -17
- package/dist/components/stories/Badge.stories.es.js +0 -188
- package/dist/components/stories/Button.stories.cjs.js +0 -1
- package/dist/components/stories/Button.stories.d.ts +0 -8
- package/dist/components/stories/Button.stories.es.js +0 -61
- package/dist/components/stories/ButtonGroup.stories.cjs.js +0 -153
- package/dist/components/stories/ButtonGroup.stories.d.ts +0 -17
- package/dist/components/stories/ButtonGroup.stories.es.js +0 -1296
- package/dist/components/stories/Card.stories.cjs.js +0 -1
- package/dist/components/stories/Card.stories.d.ts +0 -7
- package/dist/components/stories/Card.stories.es.js +0 -42
- package/dist/components/stories/Checkbox.stories.cjs.js +0 -1
- package/dist/components/stories/Checkbox.stories.d.ts +0 -10
- package/dist/components/stories/Checkbox.stories.es.js +0 -57
- package/dist/components/stories/Chip.stories.cjs.js +0 -1
- package/dist/components/stories/Chip.stories.d.ts +0 -10
- package/dist/components/stories/Chip.stories.es.js +0 -77
- package/dist/components/stories/ColoPicker.stories.cjs.js +0 -1
- package/dist/components/stories/ColoPicker.stories.d.ts +0 -6
- package/dist/components/stories/ColoPicker.stories.es.js +0 -23
- package/dist/components/stories/DatePicker.stories.cjs.js +0 -1
- package/dist/components/stories/DatePicker.stories.d.ts +0 -6
- package/dist/components/stories/DatePicker.stories.es.js +0 -13
- package/dist/components/stories/Dialog.stories.cjs.js +0 -1
- package/dist/components/stories/Dialog.stories.d.ts +0 -7
- package/dist/components/stories/Dialog.stories.es.js +0 -65
- package/dist/components/stories/Divider.stories.cjs.js +0 -1
- package/dist/components/stories/Divider.stories.d.ts +0 -6
- package/dist/components/stories/Divider.stories.es.js +0 -41
- package/dist/components/stories/Dropzone.stories.cjs.js +0 -1
- package/dist/components/stories/Dropzone.stories.d.ts +0 -6
- package/dist/components/stories/Dropzone.stories.es.js +0 -14
- package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +0 -1
- package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +0 -6
- package/dist/components/stories/EllipsisWithTooltip.stories.es.js +0 -36
- package/dist/components/stories/EmptyState.stories.cjs.js +0 -1
- package/dist/components/stories/EmptyState.stories.d.ts +0 -6
- package/dist/components/stories/EmptyState.stories.es.js +0 -30
- package/dist/components/stories/FileList.stories.cjs.js +0 -8
- package/dist/components/stories/FileList.stories.d.ts +0 -6
- package/dist/components/stories/FileList.stories.es.js +0 -150
- package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
- package/dist/components/stories/FolderCard.stories.d.ts +0 -7
- package/dist/components/stories/FolderCard.stories.es.js +0 -71
- package/dist/components/stories/FormControlLabel.stories.cjs.js +0 -1
- package/dist/components/stories/FormControlLabel.stories.d.ts +0 -9
- package/dist/components/stories/FormControlLabel.stories.es.js +0 -55
- package/dist/components/stories/Heading.stories.cjs.js +0 -1
- package/dist/components/stories/Heading.stories.d.ts +0 -6
- package/dist/components/stories/Heading.stories.es.js +0 -20
- package/dist/components/stories/IconButton.stories.cjs.js +0 -1
- package/dist/components/stories/IconButton.stories.d.ts +0 -6
- package/dist/components/stories/IconButton.stories.es.js +0 -55
- package/dist/components/stories/ImagePicker.stories.cjs.js +0 -1
- package/dist/components/stories/ImagePicker.stories.d.ts +0 -6
- package/dist/components/stories/ImagePicker.stories.es.js +0 -57
- package/dist/components/stories/Link.stories.cjs.js +0 -1
- package/dist/components/stories/Link.stories.d.ts +0 -7
- package/dist/components/stories/Link.stories.es.js +0 -43
- package/dist/components/stories/Loader.stories.cjs.js +0 -1
- package/dist/components/stories/Loader.stories.d.ts +0 -6
- package/dist/components/stories/Loader.stories.es.js +0 -11
- package/dist/components/stories/LoaderBackdrop.stories.cjs.js +0 -1
- package/dist/components/stories/LoaderBackdrop.stories.d.ts +0 -6
- package/dist/components/stories/LoaderBackdrop.stories.es.js +0 -11
- package/dist/components/stories/Menu.stories.cjs.js +0 -1
- package/dist/components/stories/Menu.stories.d.ts +0 -7
- package/dist/components/stories/Menu.stories.es.js +0 -51
- package/dist/components/stories/Paper.stories.cjs.js +0 -1
- package/dist/components/stories/Paper.stories.d.ts +0 -7
- package/dist/components/stories/Paper.stories.es.js +0 -28
- package/dist/components/stories/PasswordInput.stories.cjs.js +0 -1
- package/dist/components/stories/PasswordInput.stories.d.ts +0 -6
- package/dist/components/stories/PasswordInput.stories.es.js +0 -13
- package/dist/components/stories/RadioGroup.stories.cjs.js +0 -1
- package/dist/components/stories/RadioGroup.stories.d.ts +0 -8
- package/dist/components/stories/RadioGroup.stories.es.js +0 -37
- package/dist/components/stories/ResourceCard.stories.cjs.js +0 -1
- package/dist/components/stories/ResourceCard.stories.d.ts +0 -9
- package/dist/components/stories/ResourceCard.stories.es.js +0 -141
- package/dist/components/stories/SearchInput.stories.cjs.js +0 -1
- package/dist/components/stories/SearchInput.stories.d.ts +0 -6
- package/dist/components/stories/SearchInput.stories.es.js +0 -13
- package/dist/components/stories/Select.stories.cjs.js +0 -1
- package/dist/components/stories/Select.stories.d.ts +0 -10
- package/dist/components/stories/Select.stories.es.js +0 -52
- package/dist/components/stories/Stepper.stories.cjs.js +0 -1
- package/dist/components/stories/Stepper.stories.d.ts +0 -7
- package/dist/components/stories/Stepper.stories.es.js +0 -161
- package/dist/components/stories/TabList.stories.cjs.js +0 -1
- package/dist/components/stories/TabList.stories.d.ts +0 -7
- package/dist/components/stories/TabList.stories.es.js +0 -73
- package/dist/components/stories/TextField.stories.cjs.js +0 -1
- package/dist/components/stories/TextField.stories.d.ts +0 -10
- package/dist/components/stories/TextField.stories.es.js +0 -69
- package/dist/components/stories/Tooltip.stories.cjs.js +0 -1
- package/dist/components/stories/Tooltip.stories.d.ts +0 -7
- package/dist/components/stories/Tooltip.stories.es.js +0 -46
- package/dist/components/stories/TreeView.stories.cjs.js +0 -69
- package/dist/components/stories/TreeView.stories.d.ts +0 -15
- package/dist/components/stories/TreeView.stories.es.js +0 -1036
- package/dist/components/stories/Typography.stories.cjs.js +0 -1
- package/dist/components/stories/Typography.stories.d.ts +0 -6
- package/dist/components/stories/Typography.stories.es.js +0 -65
- package/dist/composeClasses-BskurlZX.js +0 -51
- package/dist/composeClasses-vN5Almps.cjs +0 -1
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createChainedFunction-CJmlQuW8.cjs +0 -1
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createSimplePaletteValueFilter-PTK3TAhW.cjs +0 -1
- package/dist/createSvgIcon-CcWpa9Le.cjs +0 -1
- package/dist/createSvgIcon-DFIM5PqN.js +0 -254
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/debounce-DpCj7ugL.cjs +0 -1
- package/dist/dividerClasses-BEzQ_reA.js +0 -9
- package/dist/dividerClasses-BpVbhp8e.cjs +0 -1
- package/dist/elementAcceptingRef-CZLfau9O.js +0 -31
- package/dist/elementAcceptingRef-CuMilXz3.cjs +0 -1
- package/dist/elementTypeAcceptingRef-vRb2iI4O.js +0 -23
- package/dist/elementTypeAcceptingRef-vjR5jGLx.cjs +0 -1
- package/dist/error-CRNeivL7.js +0 -5
- package/dist/error-Dk3o6ber.cjs +0 -1
- package/dist/extendSxProp-DGsHTtAe.js +0 -37
- package/dist/extendSxProp-Dwd9vpYv.cjs +0 -1
- package/dist/formControlState-CuX6WjAX.cjs +0 -1
- package/dist/formControlState-vgaj2ksH.js +0 -10
- package/dist/generateUtilityClasses-B_xKAflz.js +0 -2703
- package/dist/generateUtilityClasses-CENS22bI.cjs +0 -55
- package/dist/hooks/lazySvgImport.cjs.js +0 -1
- package/dist/hooks/lazySvgImport.d.ts +0 -6
- package/dist/hooks/lazySvgImport.es.js +0 -34
- package/dist/index-B9vkf41S.js +0 -672
- package/dist/index-BPpGXp0s.cjs +0 -1
- package/dist/index-BS46Ff4t.cjs +0 -5
- package/dist/index-Ba4TEBpP.js +0 -22
- package/dist/index-CJMnfcQs.js +0 -2152
- package/dist/index-CwHv-blH.js +0 -97
- package/dist/index-D_kvDIOz.cjs +0 -1
- package/dist/index-kjfz41UI.cjs +0 -20
- package/dist/integerPropType-BihGt2aU.js +0 -31
- package/dist/integerPropType-CR7ytEJG.cjs +0 -1
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isFocusVisible-DlSijby6.cjs +0 -2
- package/dist/isHostComponent-PydJW4A4.cjs +0 -1
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-BzDAj3yJ.cjs +0 -1
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/listItemTextClasses-CEbo8A-K.js +0 -9
- package/dist/listItemTextClasses-wcJANWC3.cjs +0 -1
- package/dist/memoTheme-Bi1UNdyO.cjs +0 -1
- package/dist/memoTheme-C-PaH-Cy.js +0 -15
- package/dist/mergeSlotProps-CL6s5QgQ.cjs +0 -1
- package/dist/mergeSlotProps-DVtjofCS.js +0 -62
- package/dist/ownerDocument-4MViGo3k.cjs +0 -1
- package/dist/ownerDocument-CUrv0DIK.js +0 -6
- package/dist/ownerWindow-DDHucZi0.cjs +0 -1
- package/dist/ownerWindow-niciwP7I.js +0 -7
- package/dist/refType-8hihVLUh.js +0 -5
- package/dist/refType-DJyA--UV.cjs +0 -1
- package/dist/server-error-CqyYyPLN.cjs +0 -1
- package/dist/server-error-CvgIy7ap.js +0 -398
- package/dist/unsupportedProp-Bn6XWqwH.cjs +0 -1
- package/dist/unsupportedProp-BuVD30Gh.js +0 -9
- package/dist/useControlled-QrrYcKxm.cjs +0 -3
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEventCallback-BxpcFap0.cjs +0 -1
- package/dist/useEventCallback-Y2KwRxBw.js +0 -15
- package/dist/useForkRef-CFhhTu-Q.cjs +0 -1
- package/dist/useForkRef-u29GSuCu.js +0 -27
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useFormControl-haP0iPhl.cjs +0 -1
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useId-DNXtOFeX.cjs +0 -1
- package/dist/usePreviousProps-ByGlbpJ6.js +0 -10
- package/dist/usePreviousProps-jC3PWcIp.cjs +0 -1
- package/dist/useSlot-BSkdRaZr.js +0 -125
- package/dist/useSlot-C-aMxEm0.cjs +0 -1
- package/dist/useSlotProps-BVVfeURp.cjs +0 -1
- package/dist/useSlotProps-CWTjRiRv.js +0 -25
- package/dist/useTheme-0AkY41zn.js +0 -11
- package/dist/useTheme-BT6SDKkk.cjs +0 -1
- package/dist/useTheme-BrGF2Vm0.cjs +0 -1
- package/dist/useTheme-DSA6Ir8k.js +0 -18
- package/dist/useThemeProps-BWsN0TEk.cjs +0 -1
- package/dist/useThemeProps-CAonvyKa.js +0 -27
- package/dist/useThemeProps-JozrkyA_.cjs +0 -1
- package/dist/useThemeProps-hSh1qhnc.js +0 -17
- package/dist/useTimeout-COCrDKz-.cjs +0 -1
- package/dist/useTimeout-CrCYVizI.js +0 -42
- package/dist/utils-BWx1W_q1.cjs +0 -1
- package/dist/utils-B_pVp6UZ.js +0 -363
- package/dist/utils-DWqc1kRF.js +0 -13
- package/dist/utils-XujN9ndp.cjs +0 -1
- package/dist/warning-C8W811fV.js +0 -11
- package/dist/warning-DMUNDgRg.cjs +0 -2
package/dist/Tab-D2mI5G0L.cjs
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use strict";const Bo=require("react"),e=require("./index-kjfz41UI.cjs"),T=require("react/jsx-runtime"),h=require("./generateUtilityClasses-CENS22bI.cjs"),ze=require("./index-D_kvDIOz.cjs"),Eo=require("./useTheme-BrGF2Vm0.cjs"),v=require("./DefaultPropsProvider-C1g4BXET.cjs"),fe=require("./memoTheme-Bi1UNdyO.cjs"),se=require("./useEventCallback-BxpcFap0.cjs"),Le=require("./debounce-DpCj7ugL.cjs"),qe=require("./ownerWindow-DDHucZi0.cjs"),F=require("./useSlot-C-aMxEm0.cjs"),ae=require("./useSlotProps-BVVfeURp.cjs"),Ue=require("./createSvgIcon-CcWpa9Le.cjs"),Ae=require("./ButtonBase-DSJojbNE.cjs"),Io=require("./ownerDocument-4MViGo3k.cjs"),Oo=require("./refType-DJyA--UV.cjs"),Mo=require("./useThemeProps-BWsN0TEk.cjs"),Fe=require("./capitalize-3OjkeP9i.cjs"),Ro=require("./unsupportedProp-Bn6XWqwH.cjs");function No(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const l=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(o,n,l.get?l:{enumerable:!0,get:()=>t[n]})}}return o.default=t,Object.freeze(o)}const a=No(Bo),be=a.createContext(null);process.env.NODE_ENV!=="production"&&(be.displayName="TabContext");function jo(){const[t,o]=a.useState(null);return a.useEffect(()=>{o(`mui-p-${Math.round(Math.random()*1e5)}`)},[]),t}function Ve(t){const{children:o,value:n}=t,l=jo(),c=a.useMemo(()=>({idPrefix:l,value:n}),[l,n]);return T.jsx(be.Provider,{value:c,children:o})}process.env.NODE_ENV!=="production"&&(Ve.propTypes={children:e.PropTypes.node,value:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]).isRequired});function Te(){return a.useContext(be)}function Pe(t,o){const{idPrefix:n}=t;return n===null?null:`${t.idPrefix}-P-${o}`}function he(t,o){const{idPrefix:n}=t;return n===null?null:`${t.idPrefix}-T-${o}`}function Do(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}function ko(t,o,n,l={},c=()=>{}){const{ease:p=Do,duration:d=300}=l;let y=null;const b=o[t];let S=!1;const g=()=>{S=!0},P=m=>{if(S){c(new Error("Animation cancelled"));return}y===null&&(y=m);const C=Math.min(1,(m-y)/d);if(o[t]=p(C)*(n-b)+b,C>=1){requestAnimationFrame(()=>{c(null)});return}requestAnimationFrame(P)};return b===n?(c(new Error("Element already at target position")),g):(requestAnimationFrame(P),g)}const $o={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function He(t){const{onChange:o,...n}=t,l=a.useRef(),c=a.useRef(null),p=()=>{l.current=c.current.offsetHeight-c.current.clientHeight};return se.useEnhancedEffect(()=>{const d=Le.debounce(()=>{const b=l.current;p(),b!==l.current&&o(l.current)}),y=qe.ownerWindow(c.current);return y.addEventListener("resize",d),()=>{d.clear(),y.removeEventListener("resize",d)}},[o]),a.useEffect(()=>{p(),o(l.current)},[o]),T.jsx("div",{style:$o,...n,ref:c})}process.env.NODE_ENV!=="production"&&(He.propTypes={onChange:e.PropTypes.func.isRequired});const _e=Ue.createSvgIcon(T.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Ke=Ue.createSvgIcon(T.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Wo(t){return h.generateUtilityClass("MuiTabScrollButton",t)}const zo=h.generateUtilityClasses("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Lo=t=>{const{classes:o,orientation:n,disabled:l}=t,c={root:["root",n,l&&"disabled"]};return v.composeClasses(c,Wo,o)},qo=v.styled(Ae.ButtonBase,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.root,n.orientation&&o[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${zo.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),Xe=a.forwardRef(function(o,n){const l=v.useDefaultProps({props:o,name:"MuiTabScrollButton"}),{className:c,slots:p={},slotProps:d={},direction:y,orientation:b,disabled:S,...g}=l,P=ze.useRtl(),m={isRtl:P,...l},C=Lo(m),W=p.StartScrollButtonIcon??_e,I=p.EndScrollButtonIcon??Ke,w=ae.useSlotProps({elementType:W,externalSlotProps:d.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),G=ae.useSlotProps({elementType:I,externalSlotProps:d.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return T.jsx(qo,{component:"div",className:h.clsx(C.root,c),ref:n,role:null,ownerState:m,tabIndex:null,...g,style:{...g.style,...b==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${P?-90:90}deg)`}},children:y==="left"?T.jsx(W,{...w}):T.jsx(I,{...G})})});process.env.NODE_ENV!=="production"&&(Xe.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,direction:e.PropTypes.oneOf(["left","right"]).isRequired,disabled:e.PropTypes.bool,orientation:e.PropTypes.oneOf(["horizontal","vertical"]).isRequired,slotProps:e.PropTypes.shape({endScrollButtonIcon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),startScrollButtonIcon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({EndScrollButtonIcon:e.PropTypes.elementType,StartScrollButtonIcon:e.PropTypes.elementType}),style:e.PropTypes.object,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});function Ye(t){return h.generateUtilityClass("MuiTabs",t)}const le=h.generateUtilityClasses("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),De=(t,o)=>t===o?t.firstChild:o&&o.nextElementSibling?o.nextElementSibling:t.firstChild,ke=(t,o)=>t===o?t.lastChild:o&&o.previousElementSibling?o.previousElementSibling:t.lastChild,ne=(t,o,n)=>{let l=!1,c=n(t,o);for(;c;){if(c===t.firstChild){if(l)return;l=!0}const p=c.disabled||c.getAttribute("aria-disabled")==="true";if(!c.hasAttribute("tabindex")||p)c=n(t,c);else{c.focus();return}}},Uo=t=>{const{vertical:o,fixed:n,hideScrollbar:l,scrollableX:c,scrollableY:p,centered:d,scrollButtonsHideMobile:y,classes:b}=t,S={root:["root",o&&"vertical"],scroller:["scroller",n&&"fixed",l&&"hideScrollbar",c&&"scrollableX",p&&"scrollableY"],list:["list","flexContainer",o&&"flexContainerVertical",o&&"vertical",d&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",y&&"scrollButtonsHideMobile"],scrollableX:[c&&"scrollableX"],hideScrollbar:[l&&"hideScrollbar"]};return v.composeClasses(S,Ye,b)},Ao=v.styled("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[{[`& .${le.scrollButtons}`]:o.scrollButtons},{[`& .${le.scrollButtons}`]:n.scrollButtonsHideMobile&&o.scrollButtonsHideMobile},o.root,n.vertical&&o.vertical]}})(fe.memoTheme(({theme:t})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:o})=>o.vertical,style:{flexDirection:"column"}},{props:({ownerState:o})=>o.scrollButtonsHideMobile,style:{[`& .${le.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}}]}))),Fo=v.styled("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.scroller,n.fixed&&o.fixed,n.hideScrollbar&&o.hideScrollbar,n.scrollableX&&o.scrollableX,n.scrollableY&&o.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:t})=>t.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:t})=>t.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:t})=>t.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:t})=>t.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Vo=v.styled("div",{name:"MuiTabs",slot:"List",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.list,o.flexContainer,n.vertical&&o.flexContainerVertical,n.centered&&o.centered]}})({display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.centered,style:{justifyContent:"center"}}]}),Ho=v.styled("span",{name:"MuiTabs",slot:"Indicator"})(fe.memoTheme(({theme:t})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(t.vars||t).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(t.vars||t).palette.secondary.main}},{props:({ownerState:o})=>o.vertical,style:{height:"100%",width:2,right:0}}]}))),_o=v.styled(He)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),$e={};let We=!1;const Se=a.forwardRef(function(o,n){const l=v.useDefaultProps({props:o,name:"MuiTabs"}),c=Eo.useTheme(),p=ze.useRtl(),{"aria-label":d,"aria-labelledby":y,action:b,centered:S=!1,children:g,className:P,component:m="div",allowScrollButtonsMobile:C=!1,indicatorColor:W="primary",onChange:I,orientation:w="horizontal",ScrollButtonComponent:G,scrollButtons:M="auto",selectionFollowsFocus:ce,slots:R={},slotProps:U={},TabIndicatorProps:V={},TabScrollButtonProps:H={},textColor:J="primary",value:k,variant:N="standard",visibleScrollbar:ie=!1,...oo}=l,B=N==="scrollable",E=w==="vertical",_=E?"scrollTop":"scrollLeft",Q=E?"top":"left",Z=E?"bottom":"right",pe=E?"clientHeight":"clientWidth",K=E?"height":"width",j={...l,component:m,allowScrollButtonsMobile:C,indicatorColor:W,orientation:w,vertical:E,scrollButtons:M,textColor:J,variant:N,visibleScrollbar:ie,fixed:!B,hideScrollbar:B&&!ie,scrollableX:B&&!E,scrollableY:B&&E,centered:S&&!B,scrollButtonsHideMobile:!C},$=Uo(j),to=ae.useSlotProps({elementType:R.StartScrollButtonIcon,externalSlotProps:U.startScrollButtonIcon,ownerState:j}),ro=ae.useSlotProps({elementType:R.EndScrollButtonIcon,externalSlotProps:U.endScrollButtonIcon,ownerState:j});process.env.NODE_ENV!=="production"&&S&&B&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[me,no]=a.useState(!1),[z,ve]=a.useState($e),[ge,so]=a.useState(!1),[xe,lo]=a.useState(!1),[Ce,ao]=a.useState(!1),[we,co]=a.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,D=a.useRef(null),L=a.useRef(null),A={slots:R,slotProps:{indicator:V,scrollButton:H,...U}},Be=()=>{const r=D.current;let s;if(r){const u=r.getBoundingClientRect();s={clientWidth:r.clientWidth,scrollLeft:r.scrollLeft,scrollTop:r.scrollTop,scrollWidth:r.scrollWidth,top:u.top,bottom:u.bottom,left:u.left,right:u.right}}let i;if(r&&k!==!1){const u=L.current.children;if(u.length>0){const f=u[ee.get(k)];process.env.NODE_ENV!=="production"&&(f||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${k}".`,ee.keys?`You can provide one of the following values: ${Array.from(ee.keys()).join(", ")}.`:null].join(`
|
|
2
|
-
`))),i=f?f.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&!We&&i&&i.width===0&&i.height===0&&s.clientWidth!==0&&(s=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${k}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
3
|
-
`)),We=!0)}}return{tabsMeta:s,tabMeta:i}},X=se.useEventCallback(()=>{const{tabsMeta:r,tabMeta:s}=Be();let i=0,u;E?(u="top",s&&r&&(i=s.top-r.top+r.scrollTop)):(u=p?"right":"left",s&&r&&(i=(p?-1:1)*(s[u]-r[u]+r.scrollLeft)));const f={[u]:i,[K]:s?s[K]:0};if(typeof z[u]!="number"||typeof z[K]!="number")ve(f);else{const O=Math.abs(z[u]-f[u]),q=Math.abs(z[K]-f[K]);(O>=1||q>=1)&&ve(f)}}),ue=(r,{animation:s=!0}={})=>{s?ko(_,D.current,r,{duration:c.transitions.duration.standard}):D.current[_]=r},Ee=r=>{let s=D.current[_];E?s+=r:s+=r*(p?-1:1),ue(s)},Ie=()=>{const r=D.current[pe];let s=0;const i=Array.from(L.current.children);for(let u=0;u<i.length;u+=1){const f=i[u];if(s+f[pe]>r){u===0&&(s=r);break}s+=f[pe]}return s},io=()=>{Ee(-1*Ie())},po=()=>{Ee(Ie())},[uo,{onChange:oe,...yo}]=F.useSlot("scrollbar",{className:h.clsx($.scrollableX,$.hideScrollbar),elementType:_o,shouldForwardComponentProp:!0,externalForwardedProps:A,ownerState:j}),fo=a.useCallback(r=>{oe==null||oe(r),co({overflow:null,scrollbarWidth:r})},[oe]),[Oe,Me]=F.useSlot("scrollButtons",{className:h.clsx($.scrollButtons,H.className),elementType:Xe,externalForwardedProps:A,ownerState:j,additionalProps:{orientation:w,slots:{StartScrollButtonIcon:R.startScrollButtonIcon||R.StartScrollButtonIcon,EndScrollButtonIcon:R.endScrollButtonIcon||R.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:to,endScrollButtonIcon:ro}}}),bo=()=>{const r={};r.scrollbarSizeListener=B?T.jsx(uo,{...yo,onChange:fo}):null;const i=B&&(M==="auto"&&(ge||xe)||M===!0);return r.scrollButtonStart=i?T.jsx(Oe,{direction:p?"right":"left",onClick:io,disabled:!ge,...Me}):null,r.scrollButtonEnd=i?T.jsx(Oe,{direction:p?"left":"right",onClick:po,disabled:!xe,...Me}):null,r},Re=se.useEventCallback(r=>{const{tabsMeta:s,tabMeta:i}=Be();if(!(!i||!s)){if(i[Q]<s[Q]){const u=s[_]+(i[Q]-s[Q]);ue(u,{animation:r})}else if(i[Z]>s[Z]){const u=s[_]+(i[Z]-s[Z]);ue(u,{animation:r})}}}),te=se.useEventCallback(()=>{B&&M!==!1&&ao(!Ce)});a.useEffect(()=>{const r=Le.debounce(()=>{D.current&&X()});let s;const i=O=>{O.forEach(q=>{q.removedNodes.forEach(Y=>{s==null||s.unobserve(Y)}),q.addedNodes.forEach(Y=>{s==null||s.observe(Y)})}),r(),te()},u=qe.ownerWindow(D.current);u.addEventListener("resize",r);let f;return typeof ResizeObserver<"u"&&(s=new ResizeObserver(r),Array.from(L.current.children).forEach(O=>{s.observe(O)})),typeof MutationObserver<"u"&&(f=new MutationObserver(i),f.observe(L.current,{childList:!0})),()=>{r.clear(),u.removeEventListener("resize",r),f==null||f.disconnect(),s==null||s.disconnect()}},[X,te]),a.useEffect(()=>{const r=Array.from(L.current.children),s=r.length;if(typeof IntersectionObserver<"u"&&s>0&&B&&M!==!1){const i=r[0],u=r[s-1],f={root:D.current,threshold:.99},O=ye=>{so(!ye[0].isIntersecting)},q=new IntersectionObserver(O,f);q.observe(i);const Y=ye=>{lo(!ye[0].isIntersecting)},je=new IntersectionObserver(Y,f);return je.observe(u),()=>{q.disconnect(),je.disconnect()}}},[B,M,Ce,g==null?void 0:g.length]),a.useEffect(()=>{no(!0)},[]),a.useEffect(()=>{X()}),a.useEffect(()=>{Re($e!==z)},[Re,z]),a.useImperativeHandle(b,()=>({updateIndicator:X,updateScrollButtons:te}),[X,te]);const[To,Po]=F.useSlot("indicator",{className:h.clsx($.indicator,V.className),elementType:Ho,externalForwardedProps:A,ownerState:j,additionalProps:{style:z}}),Ne=T.jsx(To,{...Po});let re=0;const ho=a.Children.map(g,r=>{if(!a.isValidElement(r))return null;process.env.NODE_ENV!=="production"&&h.reactIsExports.isFragment(r)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
4
|
-
`));const s=r.props.value===void 0?re:r.props.value;ee.set(s,re);const i=s===k;return re+=1,a.cloneElement(r,{fullWidth:N==="fullWidth",indicator:i&&!me&&Ne,selected:i,selectionFollowsFocus:ce,onChange:I,textColor:J,value:s,...re===1&&k===!1&&!r.props.tabIndex?{tabIndex:0}:{}})}),So=r=>{if(r.altKey||r.shiftKey||r.ctrlKey||r.metaKey)return;const s=L.current,i=Io.ownerDocument(s).activeElement;if(i.getAttribute("role")!=="tab")return;let f=w==="horizontal"?"ArrowLeft":"ArrowUp",O=w==="horizontal"?"ArrowRight":"ArrowDown";switch(w==="horizontal"&&p&&(f="ArrowRight",O="ArrowLeft"),r.key){case f:r.preventDefault(),ne(s,i,ke);break;case O:r.preventDefault(),ne(s,i,De);break;case"Home":r.preventDefault(),ne(s,null,De);break;case"End":r.preventDefault(),ne(s,null,ke);break}},de=bo(),[mo,vo]=F.useSlot("root",{ref:n,className:h.clsx($.root,P),elementType:Ao,externalForwardedProps:{...A,...oo,component:m},ownerState:j}),[go,xo]=F.useSlot("scroller",{ref:D,className:$.scroller,elementType:Fo,externalForwardedProps:A,ownerState:j,additionalProps:{style:{overflow:we.overflow,[E?`margin${p?"Left":"Right"}`:"marginBottom"]:ie?void 0:-we.scrollbarWidth}}}),[Co,wo]=F.useSlot("list",{ref:L,className:h.clsx($.list,$.flexContainer),elementType:Vo,externalForwardedProps:A,ownerState:j,getSlotProps:r=>({...r,onKeyDown:s=>{var i;So(s),(i=r.onKeyDown)==null||i.call(r,s)}})});return T.jsxs(mo,{...vo,children:[de.scrollButtonStart,de.scrollbarSizeListener,T.jsxs(go,{...xo,children:[T.jsx(Co,{"aria-label":d,"aria-labelledby":y,"aria-orientation":w==="vertical"?"vertical":null,role:"tablist",...wo,children:ho}),me&&Ne]}),de.scrollButtonEnd]})});process.env.NODE_ENV!=="production"&&(Se.propTypes={action:Oo.refType,allowScrollButtonsMobile:e.PropTypes.bool,"aria-label":e.PropTypes.string,"aria-labelledby":e.PropTypes.string,centered:e.PropTypes.bool,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,indicatorColor:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary"]),e.PropTypes.string]),onChange:e.PropTypes.func,orientation:e.PropTypes.oneOf(["horizontal","vertical"]),ScrollButtonComponent:e.PropTypes.elementType,scrollButtons:e.PropTypes.oneOf(["auto",!1,!0]),selectionFollowsFocus:e.PropTypes.bool,slotProps:e.PropTypes.shape({endScrollButtonIcon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),indicator:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),list:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),scrollbar:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),scrollButtons:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),scroller:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),startScrollButtonIcon:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({endScrollButtonIcon:e.PropTypes.elementType,EndScrollButtonIcon:e.PropTypes.elementType,indicator:e.PropTypes.elementType,list:e.PropTypes.elementType,root:e.PropTypes.elementType,scrollbar:e.PropTypes.elementType,scrollButtons:e.PropTypes.elementType,scroller:e.PropTypes.elementType,startScrollButtonIcon:e.PropTypes.elementType,StartScrollButtonIcon:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TabIndicatorProps:e.PropTypes.object,TabScrollButtonProps:e.PropTypes.object,textColor:e.PropTypes.oneOf(["inherit","primary","secondary"]),value:e.PropTypes.any,variant:e.PropTypes.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:e.PropTypes.bool});const Ge=a.forwardRef(function(o,n){const{children:l,...c}=o,p=Te();if(p===null)throw new TypeError("No TabContext provided");const d=a.Children.map(l,y=>a.isValidElement(y)?a.cloneElement(y,{"aria-controls":Pe(p,y.props.value),id:he(p,y.props.value)}):null);return T.jsx(Se,{...c,ref:n,value:p.value,children:d})});process.env.NODE_ENV!=="production"&&(Ge.propTypes={children:e.PropTypes.node});function Je(t){return h.generateUtilityClass("MuiTabPanel",t)}const Ko=h.generateUtilityClasses("MuiTabPanel",["root","hidden"]),Xo=t=>{const{classes:o,hidden:n}=t,l={root:["root",n&&"hidden"]};return v.composeClasses(l,Je,o)},Yo=v.styled("div",{name:"MuiTabPanel",slot:"Root"})(({theme:t})=>({padding:t.spacing(3)})),Qe=a.forwardRef(function(o,n){const l=Mo.useThemeProps({props:o,name:"MuiTabPanel"}),{children:c,className:p,value:d,keepMounted:y=!1,...b}=l,S={...l},g=Xo(S),P=Te();if(P===null)throw new TypeError("No TabContext provided");const m=Pe(P,d),C=he(P,d);return T.jsx(Yo,{"aria-labelledby":C,className:h.clsx(g.root,p),hidden:d!==P.value,id:m,ref:n,role:"tabpanel",ownerState:S,...b,children:(y||d===P.value)&&c})});process.env.NODE_ENV!=="production"&&(Qe.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,keepMounted:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]).isRequired});function Ze(t){return h.generateUtilityClass("MuiTab",t)}const x=h.generateUtilityClasses("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),Go=t=>{const{classes:o,textColor:n,fullWidth:l,wrapped:c,icon:p,label:d,selected:y,disabled:b}=t,S={root:["root",p&&d&&"labelIcon",`textColor${Fe.capitalize(n)}`,l&&"fullWidth",c&&"wrapped",y&&"selected",b&&"disabled"],icon:["iconWrapper","icon"]};return v.composeClasses(S,Ze,o)},Jo=v.styled(Ae.ButtonBase,{name:"MuiTab",slot:"Root",overridesResolver:(t,o)=>{const{ownerState:n}=t;return[o.root,n.label&&n.icon&&o.labelIcon,o[`textColor${Fe.capitalize(n.textColor)}`],n.fullWidth&&o.fullWidth,n.wrapped&&o.wrapped,{[`& .${x.iconWrapper}`]:o.iconWrapper},{[`& .${x.icon}`]:o.icon}]}})(fe.memoTheme(({theme:t})=>({...t.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:o})=>o.label&&(o.iconPosition==="top"||o.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:o})=>o.label&&o.iconPosition!=="top"&&o.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:o})=>o.icon&&o.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:o,iconPosition:n})=>o.icon&&o.label&&n==="top",style:{[`& > .${x.icon}`]:{marginBottom:6}}},{props:({ownerState:o,iconPosition:n})=>o.icon&&o.label&&n==="bottom",style:{[`& > .${x.icon}`]:{marginTop:6}}},{props:({ownerState:o,iconPosition:n})=>o.icon&&o.label&&n==="start",style:{[`& > .${x.icon}`]:{marginRight:t.spacing(1)}}},{props:({ownerState:o,iconPosition:n})=>o.icon&&o.label&&n==="end",style:{[`& > .${x.icon}`]:{marginLeft:t.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${x.selected}`]:{opacity:1},[`&.${x.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${x.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${x.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(t.vars||t).palette.text.secondary,[`&.${x.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${x.disabled}`]:{color:(t.vars||t).palette.text.disabled}}},{props:({ownerState:o})=>o.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:o})=>o.wrapped,style:{fontSize:t.typography.pxToRem(12)}}]}))),eo=a.forwardRef(function(o,n){const l=v.useDefaultProps({props:o,name:"MuiTab"}),{className:c,disabled:p=!1,disableFocusRipple:d=!1,fullWidth:y,icon:b,iconPosition:S="top",indicator:g,label:P,onChange:m,onClick:C,onFocus:W,selected:I,selectionFollowsFocus:w,textColor:G="inherit",value:M,wrapped:ce=!1,...R}=l,U={...l,disabled:p,disableFocusRipple:d,selected:I,icon:!!b,iconPosition:S,label:!!P,fullWidth:y,textColor:G,wrapped:ce},V=Go(U),H=b&&P&&a.isValidElement(b)?a.cloneElement(b,{className:h.clsx(V.icon,b.props.className)}):b,J=N=>{!I&&m&&m(N,M),C&&C(N)},k=N=>{w&&!I&&m&&m(N,M),W&&W(N)};return T.jsxs(Jo,{focusRipple:!d,className:h.clsx(V.root,c),ref:n,role:"tab","aria-selected":I,disabled:p,onClick:J,onFocus:k,ownerState:U,tabIndex:I?0:-1,...R,children:[S==="top"||S==="start"?T.jsxs(a.Fragment,{children:[H,P]}):T.jsxs(a.Fragment,{children:[P,H]}),g]})});process.env.NODE_ENV!=="production"&&(eo.propTypes={children:Ro.unsupportedProp,classes:e.PropTypes.object,className:e.PropTypes.string,disabled:e.PropTypes.bool,disableFocusRipple:e.PropTypes.bool,disableRipple:e.PropTypes.bool,icon:e.PropTypes.oneOfType([e.PropTypes.element,e.PropTypes.string]),iconPosition:e.PropTypes.oneOf(["bottom","end","start","top"]),label:e.PropTypes.node,onChange:e.PropTypes.func,onClick:e.PropTypes.func,onFocus:e.PropTypes.func,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),value:e.PropTypes.any,wrapped:e.PropTypes.bool});exports.KeyboardArrowLeft=_e;exports.KeyboardArrowRight=Ke;exports.Tab=eo;exports.TabContext=Ve;exports.TabList=Ge;exports.TabPanel=Qe;exports.Tabs=Se;exports.getPanelId=Pe;exports.getTabId=he;exports.getTabPanelUtilityClass=Je;exports.getTabUtilityClass=Ze;exports.getTabsUtilityClass=Ye;exports.tabClasses=x;exports.tabPanelClasses=Ko;exports.tabsClasses=le;exports.useTabContext=Te;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const Fe=require("react"),e=require("./index-kjfz41UI.cjs"),y=require("./generateUtilityClasses-CENS22bI.cjs"),T=require("./useSlot-C-aMxEm0.cjs"),u=require("react/jsx-runtime"),P=require("./DefaultPropsProvider-C1g4BXET.cjs"),he=require("./useId-DNXtOFeX.cjs"),F=require("./Select-CSQfbogA.cjs"),Oe=require("./formControlState-CuX6WjAX.cjs"),Ce=require("./useFormControl-haP0iPhl.cjs"),ve=require("./memoTheme-Bi1UNdyO.cjs"),k=require("./capitalize-3OjkeP9i.cjs"),Se=require("./FormLabel-ByYWZh7M.cjs"),je=require("./refType-DJyA--UV.cjs");function Ie(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const W=Ie(Fe);function A(o){return y.generateUtilityClass("MuiFormHelperText",o)}const L=y.generateUtilityClasses("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var B;const qe=o=>{const{classes:r,contained:s,size:t,disabled:c,error:d,filled:n,focused:h,required:f}=o,O={root:["root",c&&"disabled",d&&"error",t&&`size${k.capitalize(t)}`,s&&"contained",h&&"focused",n&&"filled",f&&"required"]};return P.composeClasses(O,A,r)},we=P.styled("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:s}=o;return[r.root,s.size&&r[`size${k.capitalize(s.size)}`],s.contained&&r.contained,s.filled&&r.filled]}})(ve.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,...o.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${L.disabled}`]:{color:(o.vars||o).palette.text.disabled},[`&.${L.error}`]:{color:(o.vars||o).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:r})=>r.contained,style:{marginLeft:14,marginRight:14}}]}))),N=W.forwardRef(function(r,s){const t=P.useDefaultProps({props:r,name:"MuiFormHelperText"}),{children:c,className:d,component:n="p",disabled:h,error:f,filled:O,focused:j,margin:I,required:U,variant:C,...m}=t,q=Ce.useFormControl(),p=Oe.formControlState({props:t,muiFormControl:q,states:["variant","size","disabled","error","filled","focused","required"]}),b={...t,component:n,contained:p.variant==="filled"||p.variant==="outlined",variant:p.variant,size:p.size,disabled:p.disabled,error:p.error,filled:p.filled,focused:p.focused,required:p.required};delete b.ownerState;const w=qe(b);return u.jsx(we,{as:n,className:y.clsx(w.root,d),ref:s,...m,ownerState:b,children:c===" "?B||(B=u.jsx("span",{className:"notranslate","aria-hidden":!0,children:""})):c})});process.env.NODE_ENV!=="production"&&(N.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,component:e.PropTypes.elementType,disabled:e.PropTypes.bool,error:e.PropTypes.bool,filled:e.PropTypes.bool,focused:e.PropTypes.bool,margin:e.PropTypes.oneOf(["dense"]),required:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),variant:e.PropTypes.oneOfType([e.PropTypes.oneOf(["filled","outlined","standard"]),e.PropTypes.string])});function G(o){return y.generateUtilityClass("MuiTextField",o)}const He=y.generateUtilityClasses("MuiTextField",["root"]),Re={standard:F.Input,filled:F.FilledInput,outlined:F.OutlinedInput},ze=o=>{const{classes:r}=o,s={root:["root"]};return P.composeClasses(s,G,r)},Le=P.styled(Se.FormControl,{name:"MuiTextField",slot:"Root"})({}),J=W.forwardRef(function(r,s){const t=P.useDefaultProps({props:r,name:"MuiTextField"}),{autoComplete:c,autoFocus:d=!1,children:n,className:h,color:f="primary",defaultValue:O,disabled:j=!1,error:I=!1,FormHelperTextProps:U,fullWidth:C=!1,helperText:m,id:q,InputLabelProps:p,inputProps:b,InputProps:w,inputRef:K,label:x,maxRows:Q,minRows:X,multiline:M=!1,name:Y,onBlur:Z,onChange:ee,onFocus:oe,placeholder:re,required:D=!1,rows:se,select:v=!1,SelectProps:H,slots:E={},slotProps:te={},type:pe,value:_,variant:S="outlined",...ne}=t,l={...t,autoFocus:d,color:f,disabled:j,error:I,fullWidth:C,multiline:M,required:D,select:v,variant:S},le=ze(l);process.env.NODE_ENV!=="production"&&v&&!n&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const i=he.useId(q),R=m&&i?`${i}-helper-text`:void 0,$=x&&i?`${i}-label`:void 0,ie=Re[S],a={slots:E,slotProps:{input:w,inputLabel:p,htmlInput:b,formHelperText:U,select:H,...te}},g={},z=a.slotProps.inputLabel;S==="outlined"&&(z&&typeof z.shrink<"u"&&(g.notched=z.shrink),g.label=x),v&&((!H||!H.native)&&(g.id=void 0),g["aria-describedby"]=void 0);const[ae,ue]=T.useSlot("root",{elementType:Le,shouldForwardComponentProp:!0,externalForwardedProps:{...a,...ne},ownerState:l,className:y.clsx(le.root,h),ref:s,additionalProps:{disabled:j,error:I,fullWidth:C,required:D,color:f,variant:S}}),[ce,de]=T.useSlot("input",{elementType:ie,externalForwardedProps:a,additionalProps:g,ownerState:l}),[Te,ye]=T.useSlot("inputLabel",{elementType:F.InputLabel,externalForwardedProps:a,ownerState:l}),[Pe,fe]=T.useSlot("htmlInput",{elementType:"input",externalForwardedProps:a,ownerState:l}),[me,be]=T.useSlot("formHelperText",{elementType:N,externalForwardedProps:a,ownerState:l}),[xe,ge]=T.useSlot("select",{elementType:F.Select,externalForwardedProps:a,ownerState:l}),V=u.jsx(ce,{"aria-describedby":R,autoComplete:c,autoFocus:d,defaultValue:O,fullWidth:C,multiline:M,name:Y,rows:se,maxRows:Q,minRows:X,type:pe,value:_,id:i,inputRef:K,onBlur:Z,onChange:ee,onFocus:oe,placeholder:re,inputProps:fe,slots:{input:E.htmlInput?Pe:void 0},...de});return u.jsxs(ae,{...ue,children:[x!=null&&x!==""&&u.jsx(Te,{htmlFor:i,id:$,...ye,children:x}),v?u.jsx(xe,{"aria-describedby":R,id:i,labelId:$,value:_,input:V,...ge,children:n}):V,m&&u.jsx(me,{id:R,...be,children:m})]})});process.env.NODE_ENV!=="production"&&(J.propTypes={autoComplete:e.PropTypes.string,autoFocus:e.PropTypes.bool,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","error","info","success","warning"]),e.PropTypes.string]),defaultValue:e.PropTypes.any,disabled:e.PropTypes.bool,error:e.PropTypes.bool,FormHelperTextProps:e.PropTypes.object,fullWidth:e.PropTypes.bool,helperText:e.PropTypes.node,id:e.PropTypes.string,InputLabelProps:e.PropTypes.object,inputProps:e.PropTypes.object,InputProps:e.PropTypes.object,inputRef:je.refType,label:e.PropTypes.node,margin:e.PropTypes.oneOf(["dense","none","normal"]),maxRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),minRows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),multiline:e.PropTypes.bool,name:e.PropTypes.string,onBlur:e.PropTypes.func,onChange:e.PropTypes.func,onFocus:e.PropTypes.func,placeholder:e.PropTypes.string,required:e.PropTypes.bool,rows:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.string]),select:e.PropTypes.bool,SelectProps:e.PropTypes.object,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),e.PropTypes.string]),slotProps:e.PropTypes.shape({formHelperText:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),htmlInput:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),input:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),inputLabel:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),select:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({formHelperText:e.PropTypes.elementType,htmlInput:e.PropTypes.elementType,input:e.PropTypes.elementType,inputLabel:e.PropTypes.elementType,root:e.PropTypes.elementType,select:e.PropTypes.elementType}),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),type:e.PropTypes.string,value:e.PropTypes.any,variant:e.PropTypes.oneOf(["filled","outlined","standard"])});exports.FormHelperText=N;exports.TextField=J;exports.formHelperTextClasses=L;exports.getFormHelperTextUtilityClasses=A;exports.getTextFieldUtilityClass=G;exports.textFieldClasses=He;
|
|
@@ -1,560 +0,0 @@
|
|
|
1
|
-
import * as V from "react";
|
|
2
|
-
import { P as e } from "./index-B9vkf41S.js";
|
|
3
|
-
import { F as B, G as D, H as _ } from "./generateUtilityClasses-B_xKAflz.js";
|
|
4
|
-
import { u as c } from "./useSlot-BSkdRaZr.js";
|
|
5
|
-
import { jsx as m, jsxs as Fe } from "react/jsx-runtime";
|
|
6
|
-
import { u as W, s as k, c as A } from "./DefaultPropsProvider-BrmlvPWg.js";
|
|
7
|
-
import { u as ge } from "./useId-CK6Kn3Tn.js";
|
|
8
|
-
import { O as Oe, F as ve, I as Ie, a as we, S as Ce } from "./Select-BxH16ruJ.js";
|
|
9
|
-
import { f as Se } from "./formControlState-vgaj2ksH.js";
|
|
10
|
-
import { u as He } from "./useFormControl-CatNKXAi.js";
|
|
11
|
-
import { m as Re } from "./memoTheme-C-PaH-Cy.js";
|
|
12
|
-
import { c as G } from "./capitalize-BHEX83JQ.js";
|
|
13
|
-
import { F as je } from "./FormLabel-DtxJI2CU.js";
|
|
14
|
-
import { r as Le } from "./refType-8hihVLUh.js";
|
|
15
|
-
function ze(o) {
|
|
16
|
-
return D("MuiFormHelperText", o);
|
|
17
|
-
}
|
|
18
|
-
const U = B("MuiFormHelperText", ["root", "error", "disabled", "sizeSmall", "sizeMedium", "contained", "focused", "filled", "required"]);
|
|
19
|
-
var $;
|
|
20
|
-
const Ne = (o) => {
|
|
21
|
-
const {
|
|
22
|
-
classes: t,
|
|
23
|
-
contained: r,
|
|
24
|
-
size: s,
|
|
25
|
-
disabled: d,
|
|
26
|
-
error: u,
|
|
27
|
-
filled: l,
|
|
28
|
-
focused: h,
|
|
29
|
-
required: f
|
|
30
|
-
} = o, P = {
|
|
31
|
-
root: ["root", d && "disabled", u && "error", s && `size${G(s)}`, r && "contained", h && "focused", l && "filled", f && "required"]
|
|
32
|
-
};
|
|
33
|
-
return A(P, ze, t);
|
|
34
|
-
}, qe = k("p", {
|
|
35
|
-
name: "MuiFormHelperText",
|
|
36
|
-
slot: "Root",
|
|
37
|
-
overridesResolver: (o, t) => {
|
|
38
|
-
const {
|
|
39
|
-
ownerState: r
|
|
40
|
-
} = o;
|
|
41
|
-
return [t.root, r.size && t[`size${G(r.size)}`], r.contained && t.contained, r.filled && t.filled];
|
|
42
|
-
}
|
|
43
|
-
})(Re(({
|
|
44
|
-
theme: o
|
|
45
|
-
}) => ({
|
|
46
|
-
color: (o.vars || o).palette.text.secondary,
|
|
47
|
-
...o.typography.caption,
|
|
48
|
-
textAlign: "left",
|
|
49
|
-
marginTop: 3,
|
|
50
|
-
marginRight: 0,
|
|
51
|
-
marginBottom: 0,
|
|
52
|
-
marginLeft: 0,
|
|
53
|
-
[`&.${U.disabled}`]: {
|
|
54
|
-
color: (o.vars || o).palette.text.disabled
|
|
55
|
-
},
|
|
56
|
-
[`&.${U.error}`]: {
|
|
57
|
-
color: (o.vars || o).palette.error.main
|
|
58
|
-
},
|
|
59
|
-
variants: [{
|
|
60
|
-
props: {
|
|
61
|
-
size: "small"
|
|
62
|
-
},
|
|
63
|
-
style: {
|
|
64
|
-
marginTop: 4
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
props: ({
|
|
68
|
-
ownerState: t
|
|
69
|
-
}) => t.contained,
|
|
70
|
-
style: {
|
|
71
|
-
marginLeft: 14,
|
|
72
|
-
marginRight: 14
|
|
73
|
-
}
|
|
74
|
-
}]
|
|
75
|
-
}))), J = /* @__PURE__ */ V.forwardRef(function(t, r) {
|
|
76
|
-
const s = W({
|
|
77
|
-
props: t,
|
|
78
|
-
name: "MuiFormHelperText"
|
|
79
|
-
}), {
|
|
80
|
-
children: d,
|
|
81
|
-
className: u,
|
|
82
|
-
component: l = "p",
|
|
83
|
-
disabled: h,
|
|
84
|
-
error: f,
|
|
85
|
-
filled: P,
|
|
86
|
-
focused: v,
|
|
87
|
-
margin: I,
|
|
88
|
-
required: j,
|
|
89
|
-
variant: F,
|
|
90
|
-
...b
|
|
91
|
-
} = s, w = He(), n = Se({
|
|
92
|
-
props: s,
|
|
93
|
-
muiFormControl: w,
|
|
94
|
-
states: ["variant", "size", "disabled", "error", "filled", "focused", "required"]
|
|
95
|
-
}), T = {
|
|
96
|
-
...s,
|
|
97
|
-
component: l,
|
|
98
|
-
contained: n.variant === "filled" || n.variant === "outlined",
|
|
99
|
-
variant: n.variant,
|
|
100
|
-
size: n.size,
|
|
101
|
-
disabled: n.disabled,
|
|
102
|
-
error: n.error,
|
|
103
|
-
filled: n.filled,
|
|
104
|
-
focused: n.focused,
|
|
105
|
-
required: n.required
|
|
106
|
-
};
|
|
107
|
-
delete T.ownerState;
|
|
108
|
-
const C = Ne(T);
|
|
109
|
-
return /* @__PURE__ */ m(qe, {
|
|
110
|
-
as: l,
|
|
111
|
-
className: _(C.root, u),
|
|
112
|
-
ref: r,
|
|
113
|
-
...b,
|
|
114
|
-
ownerState: T,
|
|
115
|
-
children: d === " " ? (
|
|
116
|
-
// notranslate needed while Google Translate will not fix zero-width space issue
|
|
117
|
-
$ || ($ = /* @__PURE__ */ m("span", {
|
|
118
|
-
className: "notranslate",
|
|
119
|
-
"aria-hidden": !0,
|
|
120
|
-
children: ""
|
|
121
|
-
}))
|
|
122
|
-
) : d
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
process.env.NODE_ENV !== "production" && (J.propTypes = {
|
|
126
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
127
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
128
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
129
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
130
|
-
/**
|
|
131
|
-
* The content of the component.
|
|
132
|
-
*
|
|
133
|
-
* If `' '` is provided, the component reserves one line height for displaying a future message.
|
|
134
|
-
*/
|
|
135
|
-
children: e.node,
|
|
136
|
-
/**
|
|
137
|
-
* Override or extend the styles applied to the component.
|
|
138
|
-
*/
|
|
139
|
-
classes: e.object,
|
|
140
|
-
/**
|
|
141
|
-
* @ignore
|
|
142
|
-
*/
|
|
143
|
-
className: e.string,
|
|
144
|
-
/**
|
|
145
|
-
* The component used for the root node.
|
|
146
|
-
* Either a string to use a HTML element or a component.
|
|
147
|
-
*/
|
|
148
|
-
component: e.elementType,
|
|
149
|
-
/**
|
|
150
|
-
* If `true`, the helper text should be displayed in a disabled state.
|
|
151
|
-
*/
|
|
152
|
-
disabled: e.bool,
|
|
153
|
-
/**
|
|
154
|
-
* If `true`, helper text should be displayed in an error state.
|
|
155
|
-
*/
|
|
156
|
-
error: e.bool,
|
|
157
|
-
/**
|
|
158
|
-
* If `true`, the helper text should use filled classes key.
|
|
159
|
-
*/
|
|
160
|
-
filled: e.bool,
|
|
161
|
-
/**
|
|
162
|
-
* If `true`, the helper text should use focused classes key.
|
|
163
|
-
*/
|
|
164
|
-
focused: e.bool,
|
|
165
|
-
/**
|
|
166
|
-
* If `dense`, will adjust vertical spacing. This is normally obtained via context from
|
|
167
|
-
* FormControl.
|
|
168
|
-
*/
|
|
169
|
-
margin: e.oneOf(["dense"]),
|
|
170
|
-
/**
|
|
171
|
-
* If `true`, the helper text should use required classes key.
|
|
172
|
-
*/
|
|
173
|
-
required: e.bool,
|
|
174
|
-
/**
|
|
175
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
176
|
-
*/
|
|
177
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
178
|
-
/**
|
|
179
|
-
* The variant to use.
|
|
180
|
-
*/
|
|
181
|
-
variant: e.oneOfType([e.oneOf(["filled", "outlined", "standard"]), e.string])
|
|
182
|
-
});
|
|
183
|
-
function Me(o) {
|
|
184
|
-
return D("MuiTextField", o);
|
|
185
|
-
}
|
|
186
|
-
const eo = B("MuiTextField", ["root"]), Ee = {
|
|
187
|
-
standard: Ie,
|
|
188
|
-
filled: ve,
|
|
189
|
-
outlined: Oe
|
|
190
|
-
}, Ue = (o) => {
|
|
191
|
-
const {
|
|
192
|
-
classes: t
|
|
193
|
-
} = o;
|
|
194
|
-
return A({
|
|
195
|
-
root: ["root"]
|
|
196
|
-
}, Me, t);
|
|
197
|
-
}, $e = k(je, {
|
|
198
|
-
name: "MuiTextField",
|
|
199
|
-
slot: "Root"
|
|
200
|
-
})({}), Ve = /* @__PURE__ */ V.forwardRef(function(t, r) {
|
|
201
|
-
const s = W({
|
|
202
|
-
props: t,
|
|
203
|
-
name: "MuiTextField"
|
|
204
|
-
}), {
|
|
205
|
-
autoComplete: d,
|
|
206
|
-
autoFocus: u = !1,
|
|
207
|
-
children: l,
|
|
208
|
-
className: h,
|
|
209
|
-
color: f = "primary",
|
|
210
|
-
defaultValue: P,
|
|
211
|
-
disabled: v = !1,
|
|
212
|
-
error: I = !1,
|
|
213
|
-
FormHelperTextProps: j,
|
|
214
|
-
fullWidth: F = !1,
|
|
215
|
-
helperText: b,
|
|
216
|
-
id: w,
|
|
217
|
-
InputLabelProps: n,
|
|
218
|
-
inputProps: T,
|
|
219
|
-
InputProps: C,
|
|
220
|
-
inputRef: K,
|
|
221
|
-
label: y,
|
|
222
|
-
maxRows: Q,
|
|
223
|
-
minRows: X,
|
|
224
|
-
multiline: L = !1,
|
|
225
|
-
name: Y,
|
|
226
|
-
onBlur: Z,
|
|
227
|
-
onChange: ee,
|
|
228
|
-
onFocus: oe,
|
|
229
|
-
placeholder: te,
|
|
230
|
-
required: z = !1,
|
|
231
|
-
rows: re,
|
|
232
|
-
select: g = !1,
|
|
233
|
-
SelectProps: S,
|
|
234
|
-
slots: N = {},
|
|
235
|
-
slotProps: ne = {},
|
|
236
|
-
type: se,
|
|
237
|
-
value: q,
|
|
238
|
-
variant: O = "outlined",
|
|
239
|
-
...le
|
|
240
|
-
} = s, i = {
|
|
241
|
-
...s,
|
|
242
|
-
autoFocus: u,
|
|
243
|
-
color: f,
|
|
244
|
-
disabled: v,
|
|
245
|
-
error: I,
|
|
246
|
-
fullWidth: F,
|
|
247
|
-
multiline: L,
|
|
248
|
-
required: z,
|
|
249
|
-
select: g,
|
|
250
|
-
variant: O
|
|
251
|
-
}, ie = Ue(i);
|
|
252
|
-
process.env.NODE_ENV !== "production" && g && !l && console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");
|
|
253
|
-
const a = ge(w), H = b && a ? `${a}-helper-text` : void 0, M = y && a ? `${a}-label` : void 0, ae = Ee[O], p = {
|
|
254
|
-
slots: N,
|
|
255
|
-
slotProps: {
|
|
256
|
-
input: C,
|
|
257
|
-
inputLabel: n,
|
|
258
|
-
htmlInput: T,
|
|
259
|
-
formHelperText: j,
|
|
260
|
-
select: S,
|
|
261
|
-
...ne
|
|
262
|
-
}
|
|
263
|
-
}, x = {}, R = p.slotProps.inputLabel;
|
|
264
|
-
O === "outlined" && (R && typeof R.shrink < "u" && (x.notched = R.shrink), x.label = y), g && ((!S || !S.native) && (x.id = void 0), x["aria-describedby"] = void 0);
|
|
265
|
-
const [pe, de] = c("root", {
|
|
266
|
-
elementType: $e,
|
|
267
|
-
shouldForwardComponentProp: !0,
|
|
268
|
-
externalForwardedProps: {
|
|
269
|
-
...p,
|
|
270
|
-
...le
|
|
271
|
-
},
|
|
272
|
-
ownerState: i,
|
|
273
|
-
className: _(ie.root, h),
|
|
274
|
-
ref: r,
|
|
275
|
-
additionalProps: {
|
|
276
|
-
disabled: v,
|
|
277
|
-
error: I,
|
|
278
|
-
fullWidth: F,
|
|
279
|
-
required: z,
|
|
280
|
-
color: f,
|
|
281
|
-
variant: O
|
|
282
|
-
}
|
|
283
|
-
}), [ue, ce] = c("input", {
|
|
284
|
-
elementType: ae,
|
|
285
|
-
externalForwardedProps: p,
|
|
286
|
-
additionalProps: x,
|
|
287
|
-
ownerState: i
|
|
288
|
-
}), [me, fe] = c("inputLabel", {
|
|
289
|
-
elementType: we,
|
|
290
|
-
externalForwardedProps: p,
|
|
291
|
-
ownerState: i
|
|
292
|
-
}), [be, Te] = c("htmlInput", {
|
|
293
|
-
elementType: "input",
|
|
294
|
-
externalForwardedProps: p,
|
|
295
|
-
ownerState: i
|
|
296
|
-
}), [ye, xe] = c("formHelperText", {
|
|
297
|
-
elementType: J,
|
|
298
|
-
externalForwardedProps: p,
|
|
299
|
-
ownerState: i
|
|
300
|
-
}), [he, Pe] = c("select", {
|
|
301
|
-
elementType: Ce,
|
|
302
|
-
externalForwardedProps: p,
|
|
303
|
-
ownerState: i
|
|
304
|
-
}), E = /* @__PURE__ */ m(ue, {
|
|
305
|
-
"aria-describedby": H,
|
|
306
|
-
autoComplete: d,
|
|
307
|
-
autoFocus: u,
|
|
308
|
-
defaultValue: P,
|
|
309
|
-
fullWidth: F,
|
|
310
|
-
multiline: L,
|
|
311
|
-
name: Y,
|
|
312
|
-
rows: re,
|
|
313
|
-
maxRows: Q,
|
|
314
|
-
minRows: X,
|
|
315
|
-
type: se,
|
|
316
|
-
value: q,
|
|
317
|
-
id: a,
|
|
318
|
-
inputRef: K,
|
|
319
|
-
onBlur: Z,
|
|
320
|
-
onChange: ee,
|
|
321
|
-
onFocus: oe,
|
|
322
|
-
placeholder: te,
|
|
323
|
-
inputProps: Te,
|
|
324
|
-
slots: {
|
|
325
|
-
input: N.htmlInput ? be : void 0
|
|
326
|
-
},
|
|
327
|
-
...ce
|
|
328
|
-
});
|
|
329
|
-
return /* @__PURE__ */ Fe(pe, {
|
|
330
|
-
...de,
|
|
331
|
-
children: [y != null && y !== "" && /* @__PURE__ */ m(me, {
|
|
332
|
-
htmlFor: a,
|
|
333
|
-
id: M,
|
|
334
|
-
...fe,
|
|
335
|
-
children: y
|
|
336
|
-
}), g ? /* @__PURE__ */ m(he, {
|
|
337
|
-
"aria-describedby": H,
|
|
338
|
-
id: a,
|
|
339
|
-
labelId: M,
|
|
340
|
-
value: q,
|
|
341
|
-
input: E,
|
|
342
|
-
...Pe,
|
|
343
|
-
children: l
|
|
344
|
-
}) : E, b && /* @__PURE__ */ m(ye, {
|
|
345
|
-
id: H,
|
|
346
|
-
...xe,
|
|
347
|
-
children: b
|
|
348
|
-
})]
|
|
349
|
-
});
|
|
350
|
-
});
|
|
351
|
-
process.env.NODE_ENV !== "production" && (Ve.propTypes = {
|
|
352
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
353
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
354
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
355
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
356
|
-
/**
|
|
357
|
-
* This prop helps users to fill forms faster, especially on mobile devices.
|
|
358
|
-
* The name can be confusing, as it's more like an autofill.
|
|
359
|
-
* You can learn more about it [following the specification](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill).
|
|
360
|
-
*/
|
|
361
|
-
autoComplete: e.string,
|
|
362
|
-
/**
|
|
363
|
-
* If `true`, the `input` element is focused during the first mount.
|
|
364
|
-
* @default false
|
|
365
|
-
*/
|
|
366
|
-
autoFocus: e.bool,
|
|
367
|
-
/**
|
|
368
|
-
* @ignore
|
|
369
|
-
*/
|
|
370
|
-
children: e.node,
|
|
371
|
-
/**
|
|
372
|
-
* Override or extend the styles applied to the component.
|
|
373
|
-
*/
|
|
374
|
-
classes: e.object,
|
|
375
|
-
/**
|
|
376
|
-
* @ignore
|
|
377
|
-
*/
|
|
378
|
-
className: e.string,
|
|
379
|
-
/**
|
|
380
|
-
* The color of the component.
|
|
381
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
382
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
383
|
-
* @default 'primary'
|
|
384
|
-
*/
|
|
385
|
-
color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
386
|
-
/**
|
|
387
|
-
* The default value. Use when the component is not controlled.
|
|
388
|
-
*/
|
|
389
|
-
defaultValue: e.any,
|
|
390
|
-
/**
|
|
391
|
-
* If `true`, the component is disabled.
|
|
392
|
-
* @default false
|
|
393
|
-
*/
|
|
394
|
-
disabled: e.bool,
|
|
395
|
-
/**
|
|
396
|
-
* If `true`, the label is displayed in an error state.
|
|
397
|
-
* @default false
|
|
398
|
-
*/
|
|
399
|
-
error: e.bool,
|
|
400
|
-
/**
|
|
401
|
-
* Props applied to the [`FormHelperText`](https://mui.com/material-ui/api/form-helper-text/) element.
|
|
402
|
-
* @deprecated Use `slotProps.formHelperText` 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.
|
|
403
|
-
*/
|
|
404
|
-
FormHelperTextProps: e.object,
|
|
405
|
-
/**
|
|
406
|
-
* If `true`, the input will take up the full width of its container.
|
|
407
|
-
* @default false
|
|
408
|
-
*/
|
|
409
|
-
fullWidth: e.bool,
|
|
410
|
-
/**
|
|
411
|
-
* The helper text content.
|
|
412
|
-
*/
|
|
413
|
-
helperText: e.node,
|
|
414
|
-
/**
|
|
415
|
-
* The id of the `input` element.
|
|
416
|
-
* Use this prop to make `label` and `helperText` accessible for screen readers.
|
|
417
|
-
*/
|
|
418
|
-
id: e.string,
|
|
419
|
-
/**
|
|
420
|
-
* Props applied to the [`InputLabel`](https://mui.com/material-ui/api/input-label/) element.
|
|
421
|
-
* Pointer events like `onClick` are enabled if and only if `shrink` is `true`.
|
|
422
|
-
* @deprecated Use `slotProps.inputLabel` 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.
|
|
423
|
-
*/
|
|
424
|
-
InputLabelProps: e.object,
|
|
425
|
-
/**
|
|
426
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
|
|
427
|
-
* @deprecated Use `slotProps.htmlInput` 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.
|
|
428
|
-
*/
|
|
429
|
-
inputProps: e.object,
|
|
430
|
-
/**
|
|
431
|
-
* Props applied to the Input element.
|
|
432
|
-
* It will be a [`FilledInput`](https://mui.com/material-ui/api/filled-input/),
|
|
433
|
-
* [`OutlinedInput`](https://mui.com/material-ui/api/outlined-input/) or [`Input`](https://mui.com/material-ui/api/input/)
|
|
434
|
-
* component depending on the `variant` prop value.
|
|
435
|
-
* @deprecated Use `slotProps.input` 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.
|
|
436
|
-
*/
|
|
437
|
-
InputProps: e.object,
|
|
438
|
-
/**
|
|
439
|
-
* Pass a ref to the `input` element.
|
|
440
|
-
*/
|
|
441
|
-
inputRef: Le,
|
|
442
|
-
/**
|
|
443
|
-
* The label content.
|
|
444
|
-
*/
|
|
445
|
-
label: e.node,
|
|
446
|
-
/**
|
|
447
|
-
* If `dense` or `normal`, will adjust vertical spacing of this and contained components.
|
|
448
|
-
* @default 'none'
|
|
449
|
-
*/
|
|
450
|
-
margin: e.oneOf(["dense", "none", "normal"]),
|
|
451
|
-
/**
|
|
452
|
-
* Maximum number of rows to display when multiline option is set to true.
|
|
453
|
-
*/
|
|
454
|
-
maxRows: e.oneOfType([e.number, e.string]),
|
|
455
|
-
/**
|
|
456
|
-
* Minimum number of rows to display when multiline option is set to true.
|
|
457
|
-
*/
|
|
458
|
-
minRows: e.oneOfType([e.number, e.string]),
|
|
459
|
-
/**
|
|
460
|
-
* If `true`, a `textarea` element is rendered instead of an input.
|
|
461
|
-
* @default false
|
|
462
|
-
*/
|
|
463
|
-
multiline: e.bool,
|
|
464
|
-
/**
|
|
465
|
-
* Name attribute of the `input` element.
|
|
466
|
-
*/
|
|
467
|
-
name: e.string,
|
|
468
|
-
/**
|
|
469
|
-
* @ignore
|
|
470
|
-
*/
|
|
471
|
-
onBlur: e.func,
|
|
472
|
-
/**
|
|
473
|
-
* Callback fired when the value is changed.
|
|
474
|
-
*
|
|
475
|
-
* @param {object} event The event source of the callback.
|
|
476
|
-
* You can pull out the new value by accessing `event.target.value` (string).
|
|
477
|
-
*/
|
|
478
|
-
onChange: e.func,
|
|
479
|
-
/**
|
|
480
|
-
* @ignore
|
|
481
|
-
*/
|
|
482
|
-
onFocus: e.func,
|
|
483
|
-
/**
|
|
484
|
-
* The short hint displayed in the `input` before the user enters a value.
|
|
485
|
-
*/
|
|
486
|
-
placeholder: e.string,
|
|
487
|
-
/**
|
|
488
|
-
* If `true`, the label is displayed as required and the `input` element is required.
|
|
489
|
-
* @default false
|
|
490
|
-
*/
|
|
491
|
-
required: e.bool,
|
|
492
|
-
/**
|
|
493
|
-
* Number of rows to display when multiline option is set to true.
|
|
494
|
-
*/
|
|
495
|
-
rows: e.oneOfType([e.number, e.string]),
|
|
496
|
-
/**
|
|
497
|
-
* Render a [`Select`](https://mui.com/material-ui/api/select/) element while passing the Input element to `Select` as `input` parameter.
|
|
498
|
-
* If this option is set you must pass the options of the select as children.
|
|
499
|
-
* @default false
|
|
500
|
-
*/
|
|
501
|
-
select: e.bool,
|
|
502
|
-
/**
|
|
503
|
-
* Props applied to the [`Select`](https://mui.com/material-ui/api/select/) element.
|
|
504
|
-
* @deprecated Use `slotProps.select` 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.
|
|
505
|
-
*/
|
|
506
|
-
SelectProps: e.object,
|
|
507
|
-
/**
|
|
508
|
-
* The size of the component.
|
|
509
|
-
* @default 'medium'
|
|
510
|
-
*/
|
|
511
|
-
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
512
|
-
/**
|
|
513
|
-
* The props used for each slot inside.
|
|
514
|
-
* @default {}
|
|
515
|
-
*/
|
|
516
|
-
slotProps: e.shape({
|
|
517
|
-
formHelperText: e.oneOfType([e.func, e.object]),
|
|
518
|
-
htmlInput: e.oneOfType([e.func, e.object]),
|
|
519
|
-
input: e.oneOfType([e.func, e.object]),
|
|
520
|
-
inputLabel: e.oneOfType([e.func, e.object]),
|
|
521
|
-
select: e.oneOfType([e.func, e.object])
|
|
522
|
-
}),
|
|
523
|
-
/**
|
|
524
|
-
* The components used for each slot inside.
|
|
525
|
-
* @default {}
|
|
526
|
-
*/
|
|
527
|
-
slots: e.shape({
|
|
528
|
-
formHelperText: e.elementType,
|
|
529
|
-
htmlInput: e.elementType,
|
|
530
|
-
input: e.elementType,
|
|
531
|
-
inputLabel: e.elementType,
|
|
532
|
-
root: e.elementType,
|
|
533
|
-
select: e.elementType
|
|
534
|
-
}),
|
|
535
|
-
/**
|
|
536
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
537
|
-
*/
|
|
538
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
539
|
-
/**
|
|
540
|
-
* Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
|
|
541
|
-
*/
|
|
542
|
-
type: e.string,
|
|
543
|
-
/**
|
|
544
|
-
* The value of the `input` element, required for a controlled component.
|
|
545
|
-
*/
|
|
546
|
-
value: e.any,
|
|
547
|
-
/**
|
|
548
|
-
* The variant to use.
|
|
549
|
-
* @default 'outlined'
|
|
550
|
-
*/
|
|
551
|
-
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
552
|
-
});
|
|
553
|
-
export {
|
|
554
|
-
J as F,
|
|
555
|
-
Ve as T,
|
|
556
|
-
Me as a,
|
|
557
|
-
U as f,
|
|
558
|
-
ze as g,
|
|
559
|
-
eo as t
|
|
560
|
-
};
|