@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,21 +1,21 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Ze } from "./index-
|
|
4
|
-
import { u as eo } from "./useTheme-
|
|
2
|
+
import { F as Je, G as Qe, H as ge, K as ve, n as Re, P as e } from "./identifier-UGP6vjyr.js";
|
|
3
|
+
import { u as Ze } from "./index-Q0xeFkEM.js";
|
|
4
|
+
import { u as eo } from "./useTheme-9UmqLsq5.js";
|
|
5
5
|
import { jsx as L, jsxs as Te } from "react/jsx-runtime";
|
|
6
|
-
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-
|
|
7
|
-
import { m as Y } from "./memoTheme-
|
|
8
|
-
import { u as I } from "./useSlot-
|
|
6
|
+
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
7
|
+
import { m as Y } from "./memoTheme-D0vyNKLd.js";
|
|
8
|
+
import { u as I } from "./useSlot-CxlUbTmA.js";
|
|
9
9
|
import { u as j, T as ro } from "./useTimeout-CrCYVizI.js";
|
|
10
10
|
import { u as po } from "./useControlled-BYdyS7Pn.js";
|
|
11
11
|
import { u as no } from "./useId-CK6Kn3Tn.js";
|
|
12
|
-
import { u as be } from "./useEventCallback-
|
|
13
|
-
import { u as so } from "./useForkRef-
|
|
14
|
-
import { g as io
|
|
15
|
-
import { G as
|
|
16
|
-
import { P as
|
|
17
|
-
import { c as Oe } from "./capitalize-DSG2FA7x.js";
|
|
12
|
+
import { u as be } from "./useEventCallback-Yoj9nCug.js";
|
|
13
|
+
import { u as so } from "./useForkRef-u29GSuCu.js";
|
|
14
|
+
import { g as io } from "./getReactElementRef-B4Mdq17D.js";
|
|
15
|
+
import { G as ao } from "./Grow-C654F4zC.js";
|
|
16
|
+
import { P as Oe } from "./Popper-DbqO1kUk.js";
|
|
18
17
|
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
18
|
+
import { e as lo } from "./elementAcceptingRef-De-6sh1C.js";
|
|
19
19
|
function co(r) {
|
|
20
20
|
return Qe("MuiTooltip", r);
|
|
21
21
|
}
|
|
@@ -30,13 +30,13 @@ const uo = (r) => {
|
|
|
30
30
|
arrow: d,
|
|
31
31
|
touch: O,
|
|
32
32
|
placement: b
|
|
33
|
-
} = r,
|
|
33
|
+
} = r, K = {
|
|
34
34
|
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
|
35
|
-
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${
|
|
35
|
+
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${ve(b.split("-")[0])}`],
|
|
36
36
|
arrow: ["arrow"]
|
|
37
37
|
};
|
|
38
|
-
return to(
|
|
39
|
-
}, fo = G(
|
|
38
|
+
return to(K, co, o);
|
|
39
|
+
}, fo = G(Oe, {
|
|
40
40
|
name: "MuiTooltip",
|
|
41
41
|
slot: "Popper",
|
|
42
42
|
overridesResolver: (r, o) => {
|
|
@@ -146,12 +146,12 @@ const uo = (r) => {
|
|
|
146
146
|
const {
|
|
147
147
|
ownerState: s
|
|
148
148
|
} = r;
|
|
149
|
-
return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${
|
|
149
|
+
return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${ve(s.placement.split("-")[0])}`]];
|
|
150
150
|
}
|
|
151
151
|
})(Y(({
|
|
152
152
|
theme: r
|
|
153
153
|
}) => ({
|
|
154
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg :
|
|
154
|
+
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
|
|
155
155
|
borderRadius: (r.vars || r).shape.borderRadius,
|
|
156
156
|
color: (r.vars || r).palette.common.white,
|
|
157
157
|
fontFamily: r.typography.fontFamily,
|
|
@@ -272,7 +272,7 @@ const uo = (r) => {
|
|
|
272
272
|
width: "1em",
|
|
273
273
|
height: "0.71em",
|
|
274
274
|
boxSizing: "border-box",
|
|
275
|
-
color: r.vars ? r.vars.palette.Tooltip.bg :
|
|
275
|
+
color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
|
|
276
276
|
"&::before": {
|
|
277
277
|
content: '""',
|
|
278
278
|
margin: "auto",
|
|
@@ -301,12 +301,12 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
301
301
|
}), {
|
|
302
302
|
arrow: O = !1,
|
|
303
303
|
children: b,
|
|
304
|
-
classes:
|
|
304
|
+
classes: K,
|
|
305
305
|
components: P = {},
|
|
306
306
|
componentsProps: x = {},
|
|
307
307
|
describeChild: Pe = !1,
|
|
308
308
|
disableFocusListener: xe = !1,
|
|
309
|
-
disableHoverListener:
|
|
309
|
+
disableHoverListener: q = !1,
|
|
310
310
|
disableInteractive: Ce = !1,
|
|
311
311
|
disableTouchListener: Me = !1,
|
|
312
312
|
enterDelay: X = 100,
|
|
@@ -407,7 +407,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
407
407
|
y: t.clientY
|
|
408
408
|
}, z.current && z.current.update();
|
|
409
409
|
}, w = {}, H = typeof g == "string";
|
|
410
|
-
Pe ? (w.title = !u && H && !
|
|
410
|
+
Pe ? (w.title = !u && H && !q ? g : null, w["aria-describedby"] = u ? B : null) : (w["aria-label"] = H ? g : null, w["aria-labelledby"] = u && !H ? B : null);
|
|
411
411
|
const a = {
|
|
412
412
|
...w,
|
|
413
413
|
...pe,
|
|
@@ -424,7 +424,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
424
424
|
`));
|
|
425
425
|
}, [i]));
|
|
426
426
|
const v = {};
|
|
427
|
-
Me || (a.onTouchStart = ke, a.onTouchEnd = Fe),
|
|
427
|
+
Me || (a.onTouchStart = ke, a.onTouchEnd = Fe), q || (a.onMouseOver = D($, a.onMouseOver), a.onMouseLeave = D(V, a.onMouseLeave), U || (v.onMouseOver = $, v.onMouseLeave = V)), xe || (a.onFocus = D(de, a.onFocus), a.onBlur = D(ue, a.onBlur), U || (v.onFocus = de, v.onBlur = ue)), process.env.NODE_ENV !== "production" && m.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${m.props.title}\` or the Tooltip component.`].join(`
|
|
428
428
|
`));
|
|
429
429
|
const T = {
|
|
430
430
|
...d,
|
|
@@ -476,15 +476,15 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
476
476
|
ownerState: T,
|
|
477
477
|
className: ge(_.popper, f == null ? void 0 : f.className)
|
|
478
478
|
}), [_e, Ge] = I("transition", {
|
|
479
|
-
elementType:
|
|
479
|
+
elementType: ao,
|
|
480
480
|
externalForwardedProps: N,
|
|
481
481
|
ownerState: T
|
|
482
|
-
}), [Ye,
|
|
482
|
+
}), [Ye, Ke] = I("tooltip", {
|
|
483
483
|
elementType: ho,
|
|
484
484
|
className: _.tooltip,
|
|
485
485
|
externalForwardedProps: N,
|
|
486
486
|
ownerState: T
|
|
487
|
-
}), [
|
|
487
|
+
}), [qe, Xe] = I("arrow", {
|
|
488
488
|
elementType: go,
|
|
489
489
|
className: _.arrow,
|
|
490
490
|
externalForwardedProps: N,
|
|
@@ -493,7 +493,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
493
493
|
});
|
|
494
494
|
return /* @__PURE__ */ Te(n.Fragment, {
|
|
495
495
|
children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ L(ze, {
|
|
496
|
-
as: re ??
|
|
496
|
+
as: re ?? Oe,
|
|
497
497
|
placement: te,
|
|
498
498
|
anchorEl: k ? {
|
|
499
499
|
getBoundingClientRect: () => ({
|
|
@@ -519,8 +519,8 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
519
519
|
...t,
|
|
520
520
|
...Ge,
|
|
521
521
|
children: /* @__PURE__ */ Te(Ye, {
|
|
522
|
-
...
|
|
523
|
-
children: [g, O ? /* @__PURE__ */ L(
|
|
522
|
+
...Ke,
|
|
523
|
+
children: [g, O ? /* @__PURE__ */ L(qe, {
|
|
524
524
|
...Xe
|
|
525
525
|
}) : null]
|
|
526
526
|
})
|
|
@@ -541,7 +541,7 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
541
541
|
/**
|
|
542
542
|
* Tooltip reference element.
|
|
543
543
|
*/
|
|
544
|
-
children:
|
|
544
|
+
children: lo.isRequired,
|
|
545
545
|
/**
|
|
546
546
|
* Override or extend the styles applied to the component.
|
|
547
547
|
*/
|
|
@@ -553,7 +553,7 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
553
553
|
/**
|
|
554
554
|
* The components used for each slot inside.
|
|
555
555
|
*
|
|
556
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
556
|
+
* @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.
|
|
557
557
|
*
|
|
558
558
|
* @default {}
|
|
559
559
|
*/
|
|
@@ -567,7 +567,7 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
567
567
|
* The extra props for the slot components.
|
|
568
568
|
* You can override the existing props or add new ones.
|
|
569
569
|
*
|
|
570
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
570
|
+
* @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.
|
|
571
571
|
*
|
|
572
572
|
* @default {}
|
|
573
573
|
*/
|
|
@@ -661,15 +661,15 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
661
661
|
* Tooltip placement.
|
|
662
662
|
* @default 'bottom'
|
|
663
663
|
*/
|
|
664
|
-
placement: e.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
664
|
+
placement: e.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
665
665
|
/**
|
|
666
666
|
* The component used for the popper.
|
|
667
|
-
* @deprecated use the `slots.popper` prop instead. This prop will be removed in
|
|
667
|
+
* @deprecated use the `slots.popper` 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.
|
|
668
668
|
*/
|
|
669
669
|
PopperComponent: e.elementType,
|
|
670
670
|
/**
|
|
671
671
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
672
|
-
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in
|
|
672
|
+
* @deprecated use the `slotProps.popper` 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.
|
|
673
673
|
* @default {}
|
|
674
674
|
*/
|
|
675
675
|
PopperProps: e.object,
|
|
@@ -704,13 +704,13 @@ process.env.NODE_ENV !== "production" && (To.propTypes = {
|
|
|
704
704
|
/**
|
|
705
705
|
* The component used for the transition.
|
|
706
706
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
707
|
-
* @deprecated use the `slots.transition` prop instead. This prop will be removed in
|
|
707
|
+
* @deprecated use the `slots.transition` 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.
|
|
708
708
|
*/
|
|
709
709
|
TransitionComponent: e.elementType,
|
|
710
710
|
/**
|
|
711
711
|
* Props applied to the transition element.
|
|
712
712
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
713
|
-
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in
|
|
713
|
+
* @deprecated use the `slotProps.transition` 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.
|
|
714
714
|
* @default {}
|
|
715
715
|
*/
|
|
716
716
|
TransitionProps: e.object
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const Ke=require("react"),e=require("./identifier-gJdGmHeC.cjs"),Xe=require("./index-D14TzUgK.cjs"),Je=require("./useTheme-NQRIebh0.cjs"),g=require("react/jsx-runtime"),x=require("./DefaultPropsProvider-DLSItMqn.cjs"),Y=require("./memoTheme-GOMOSdXJ.cjs"),I=require("./useSlot-zJFQDOgm.cjs"),O=require("./useTimeout-COCrDKz-.cjs"),Qe=require("./useControlled-Ysk4KqoX.cjs"),Ze=require("./useId-DNXtOFeX.cjs"),ye=require("./useEventCallback-BxpcFap0.cjs"),eo=require("./useForkRef-CFhhTu-Q.cjs"),oo=require("./getReactElementRef-BPy0WStw.cjs"),to=require("./Grow-DPejKxV0.cjs"),be=require("./Popper-C6iJjm-m.cjs"),he=require("./isFocusVisible-DlSijby6.cjs"),ro=require("./elementAcceptingRef-BzA19fXF.cjs");function po(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const l=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(o,n,l.get?l:{enumerable:!0,get:()=>r[n]})}}return o.default=r,Object.freeze(o)}const s=po(Ke);function Pe(r){return e.generateUtilityClass("MuiTooltip",r)}const p=e.generateUtilityClasses("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function no(r){return Math.round(r*1e5)/1e5}const so=r=>{const{classes:o,disableInteractive:n,arrow:l,touch:C,placement:b}=r,G={popper:["popper",!n&&"popperInteractive",l&&"popperArrow"],tooltip:["tooltip",l&&"tooltipArrow",C&&"touch",`tooltipPlacement${e.capitalize(b.split("-")[0])}`],arrow:["arrow"]};return x.composeClasses(G,Pe,o)},io=x.styled(be.Popper,{name:"MuiTooltip",slot:"Popper",overridesResolver:(r,o)=>{const{ownerState:n}=r;return[o.popper,!n.disableInteractive&&o.popperInteractive,n.arrow&&o.popperArrow,!n.open&&o.popperClose]}})(Y.memoTheme(({theme:r})=>({zIndex:(r.vars||r).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:o})=>!o.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:o})=>!o,style:{pointerEvents:"none"}},{props:({ownerState:o})=>o.arrow,style:{[`&[data-popper-placement*="bottom"] .${p.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${p.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${p.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${p.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:o})=>o.arrow&&!o.isRtl,style:{[`&[data-popper-placement*="right"] .${p.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!!o.isRtl,style:{[`&[data-popper-placement*="right"] .${p.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!o.isRtl,style:{[`&[data-popper-placement*="left"] .${p.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:o})=>o.arrow&&!!o.isRtl,style:{[`&[data-popper-placement*="left"] .${p.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),ao=x.styled("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(r,o)=>{const{ownerState:n}=r;return[o.tooltip,n.touch&&o.touch,n.arrow&&o.tooltipArrow,o[`tooltipPlacement${e.capitalize(n.placement.split("-")[0])}`]]}})(Y.memoTheme(({theme:r})=>({backgroundColor:r.vars?r.vars.palette.Tooltip.bg:e.alpha(r.palette.grey[700],.92),borderRadius:(r.vars||r).shape.borderRadius,color:(r.vars||r).palette.common.white,fontFamily:r.typography.fontFamily,padding:"4px 8px",fontSize:r.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:r.typography.fontWeightMedium,[`.${p.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${p.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${p.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${p.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:o})=>o.arrow,style:{position:"relative",margin:0}},{props:({ownerState:o})=>o.touch,style:{padding:"8px 16px",fontSize:r.typography.pxToRem(14),lineHeight:`${no(16/14)}em`,fontWeight:r.typography.fontWeightRegular}},{props:({ownerState:o})=>!o.isRtl,style:{[`.${p.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${p.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:o})=>!o.isRtl&&o.touch,style:{[`.${p.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${p.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:o})=>!!o.isRtl,style:{[`.${p.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${p.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:o})=>!!o.isRtl&&o.touch,style:{[`.${p.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${p.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:o})=>o.touch,style:{[`.${p.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:o})=>o.touch,style:{[`.${p.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),lo=x.styled("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(r,o)=>o.arrow})(Y.memoTheme(({theme:r})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:r.vars?r.vars.palette.Tooltip.bg:e.alpha(r.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let q=!1;const ge=new O.Timeout;let R={x:0,y:0};function k(r,o){return(n,...l)=>{o&&o(n,...l),r(n,...l)}}const we=s.forwardRef(function(o,n){const l=x.useDefaultProps({props:o,name:"MuiTooltip"}),{arrow:C=!1,children:b,classes:G,components:S={},componentsProps:E={},describeChild:ve=!1,disableFocusListener:Re=!1,disableHoverListener:K=!1,disableInteractive:Oe=!1,disableTouchListener:xe=!1,enterDelay:X=100,enterNextDelay:J=0,enterTouchDelay:Ce=700,followCursor:A=!1,id:Se,leaveDelay:Q=0,leaveTouchDelay:Ee=1500,onClose:Z,onOpen:ee,open:oe,placement:te="bottom",PopperComponent:re,PopperProps:f={},slotProps:T={},slots:Me={},title:y,TransitionComponent:je,TransitionProps:$e,...pe}=l,d=s.isValidElement(b)?b:g.jsx("span",{children:b}),ne=Je.useTheme(),Ne=Xe.useRtl(),[i,se]=s.useState(),[F,Le]=s.useState(null),M=s.useRef(!1),U=Oe||A,ie=O.useTimeout(),W=O.useTimeout(),j=O.useTimeout(),ae=O.useTimeout(),[De,le]=Qe.useControlled({controlled:oe,default:!1,name:"Tooltip",state:"open"});let m=De;if(process.env.NODE_ENV!=="production"){const{current:t}=s.useRef(oe!==void 0);s.useEffect(()=>{i&&i.disabled&&!t&&y!==""&&i.tagName.toLowerCase()==="button"&&console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
2
|
+
`))},[y,i,t])}const B=Ze.useId(Se),P=s.useRef(),$=ye.useEventCallback(()=>{P.current!==void 0&&(document.body.style.WebkitUserSelect=P.current,P.current=void 0),ae.clear()});s.useEffect(()=>$,[$]);const ce=t=>{ge.clear(),q=!0,le(!0),ee&&!m&&ee(t)},N=ye.useEventCallback(t=>{ge.start(800+Q,()=>{q=!1}),le(!1),Z&&m&&Z(t),ie.start(ne.transitions.duration.shortest,()=>{M.current=!1})}),L=t=>{M.current&&t.type!=="touchstart"||(i&&i.removeAttribute("title"),W.clear(),j.clear(),X||q&&J?W.start(q?J:X,()=>{ce(t)}):ce(t))},V=t=>{W.clear(),j.start(Q,()=>{N(t)})},[,ue]=s.useState(!1),de=t=>{he.isFocusVisible(t.target)||(ue(!1),V(t))},me=t=>{i||se(t.currentTarget),he.isFocusVisible(t.target)&&(ue(!0),L(t))},fe=t=>{M.current=!0;const u=d.props;u.onTouchStart&&u.onTouchStart(t)},Ie=t=>{fe(t),j.clear(),ie.clear(),$(),P.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ae.start(Ce,()=>{document.body.style.WebkitUserSelect=P.current,L(t)})},qe=t=>{d.props.onTouchEnd&&d.props.onTouchEnd(t),$(),j.start(Ee,()=>{N(t)})};s.useEffect(()=>{if(!m)return;function t(u){u.key==="Escape"&&N(u)}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[N,m]);const ke=eo.useForkRef(oo.getReactElementRef(d),se,n);!y&&y!==0&&(m=!1);const z=s.useRef(),Ae=t=>{const u=d.props;u.onMouseMove&&u.onMouseMove(t),R={x:t.clientX,y:t.clientY},z.current&&z.current.update()},w={},_=typeof y=="string";ve?(w.title=!m&&_&&!K?y:null,w["aria-describedby"]=m?B:null):(w["aria-label"]=_?y:null,w["aria-labelledby"]=m&&!_?B:null);const a={...w,...pe,...d.props,className:e.clsx(pe.className,d.props.className),onTouchStart:fe,ref:ke,...A?{onMouseMove:Ae}:{}};process.env.NODE_ENV!=="production"&&(a["data-mui-internal-clone-element"]=!0,s.useEffect(()=>{i&&!i.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
3
|
+
`))},[i]));const v={};xe||(a.onTouchStart=Ie,a.onTouchEnd=qe),K||(a.onMouseOver=k(L,a.onMouseOver),a.onMouseLeave=k(V,a.onMouseLeave),U||(v.onMouseOver=L,v.onMouseLeave=V)),Re||(a.onFocus=k(me,a.onFocus),a.onBlur=k(de,a.onBlur),U||(v.onFocus=me,v.onBlur=de)),process.env.NODE_ENV!=="production"&&d.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${d.props.title}\` or the Tooltip component.`].join(`
|
|
4
|
+
`));const h={...l,isRtl:Ne,arrow:C,disableInteractive:U,placement:te,PopperComponentProp:re,touch:M.current},c=typeof T.popper=="function"?T.popper(h):T.popper,Fe=s.useMemo(()=>{var u,Te;let t=[{name:"arrow",enabled:!!F,options:{element:F,padding:4}}];return(u=f.popperOptions)!=null&&u.modifiers&&(t=t.concat(f.popperOptions.modifiers)),(Te=c==null?void 0:c.popperOptions)!=null&&Te.modifiers&&(t=t.concat(c.popperOptions.modifiers)),{...f.popperOptions,...c==null?void 0:c.popperOptions,modifiers:t}},[F,f.popperOptions,c==null?void 0:c.popperOptions]),H=so(h),Ue=typeof T.transition=="function"?T.transition(h):T.transition,D={slots:{popper:S.Popper,transition:S.Transition??je,tooltip:S.Tooltip,arrow:S.Arrow,...Me},slotProps:{arrow:T.arrow??E.arrow,popper:{...f,...c??E.popper},tooltip:T.tooltip??E.tooltip,transition:{...$e,...Ue??E.transition}}},[We,Be]=I.useSlot("popper",{elementType:io,externalForwardedProps:D,ownerState:h,className:e.clsx(H.popper,f==null?void 0:f.className)}),[Ve,ze]=I.useSlot("transition",{elementType:to.Grow,externalForwardedProps:D,ownerState:h}),[_e,He]=I.useSlot("tooltip",{elementType:ao,className:H.tooltip,externalForwardedProps:D,ownerState:h}),[Ye,Ge]=I.useSlot("arrow",{elementType:lo,className:H.arrow,externalForwardedProps:D,ownerState:h,ref:Le});return g.jsxs(s.Fragment,{children:[s.cloneElement(d,a),g.jsx(We,{as:re??be.Popper,placement:te,anchorEl:A?{getBoundingClientRect:()=>({top:R.y,left:R.x,right:R.x,bottom:R.y,width:0,height:0})}:i,popperRef:z,open:i?m:!1,id:B,transition:!0,...v,...Be,popperOptions:Fe,children:({TransitionProps:t})=>g.jsx(Ve,{timeout:ne.transitions.duration.shorter,...t,...ze,children:g.jsxs(_e,{...He,children:[y,C?g.jsx(Ye,{...Ge}):null]})})})]})});process.env.NODE_ENV!=="production"&&(we.propTypes={arrow:e.PropTypes.bool,children:ro.elementAcceptingRef.isRequired,classes:e.PropTypes.object,className:e.PropTypes.string,components:e.PropTypes.shape({Arrow:e.PropTypes.elementType,Popper:e.PropTypes.elementType,Tooltip:e.PropTypes.elementType,Transition:e.PropTypes.elementType}),componentsProps:e.PropTypes.shape({arrow:e.PropTypes.object,popper:e.PropTypes.object,tooltip:e.PropTypes.object,transition:e.PropTypes.object}),describeChild:e.PropTypes.bool,disableFocusListener:e.PropTypes.bool,disableHoverListener:e.PropTypes.bool,disableInteractive:e.PropTypes.bool,disableTouchListener:e.PropTypes.bool,enterDelay:e.PropTypes.number,enterNextDelay:e.PropTypes.number,enterTouchDelay:e.PropTypes.number,followCursor:e.PropTypes.bool,id:e.PropTypes.string,leaveDelay:e.PropTypes.number,leaveTouchDelay:e.PropTypes.number,onClose:e.PropTypes.func,onOpen:e.PropTypes.func,open:e.PropTypes.bool,placement:e.PropTypes.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:e.PropTypes.elementType,PopperProps:e.PropTypes.object,slotProps:e.PropTypes.shape({arrow:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),popper:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),tooltip:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({arrow:e.PropTypes.elementType,popper:e.PropTypes.elementType,tooltip:e.PropTypes.elementType,transition: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]),title:e.PropTypes.node,TransitionComponent:e.PropTypes.elementType,TransitionProps:e.PropTypes.object});exports.Tooltip=we;exports.getTooltipUtilityClass=Pe;exports.tooltipClasses=p;
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as O from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { i as S } from "./index-
|
|
4
|
-
import { m as w } from "./memoTheme-
|
|
2
|
+
import { F as j, G as B, H as C, K as c, P as r } from "./identifier-UGP6vjyr.js";
|
|
3
|
+
import { i as S } from "./index-DF_6gEtu.js";
|
|
4
|
+
import { m as w } from "./memoTheme-D0vyNKLd.js";
|
|
5
5
|
import { c as P } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
6
6
|
import { jsx as W } from "react/jsx-runtime";
|
|
7
|
-
import { u as M, s as R, c as N } from "./DefaultPropsProvider-
|
|
8
|
-
import { c } from "./capitalize-DSG2FA7x.js";
|
|
7
|
+
import { u as M, s as R, c as N } from "./DefaultPropsProvider-CojEWOKR.js";
|
|
9
8
|
function D(e) {
|
|
10
9
|
return B("MuiTypography", e);
|
|
11
10
|
}
|
|
12
|
-
const
|
|
11
|
+
const K = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), U = {
|
|
13
12
|
primary: !0,
|
|
14
13
|
secondary: !0,
|
|
15
14
|
error: !0,
|
|
@@ -139,8 +138,8 @@ const L = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
|
|
|
139
138
|
noWrap: x = !1,
|
|
140
139
|
paragraph: y = !1,
|
|
141
140
|
variant: l = "body1",
|
|
142
|
-
variantMapping:
|
|
143
|
-
...
|
|
141
|
+
variantMapping: u = b,
|
|
142
|
+
...m
|
|
144
143
|
} = i, f = {
|
|
145
144
|
...i,
|
|
146
145
|
align: n,
|
|
@@ -151,19 +150,19 @@ const L = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
|
|
|
151
150
|
noWrap: x,
|
|
152
151
|
paragraph: y,
|
|
153
152
|
variant: l,
|
|
154
|
-
variantMapping:
|
|
155
|
-
}, v = h || (y ? "p" :
|
|
153
|
+
variantMapping: u
|
|
154
|
+
}, v = h || (y ? "p" : u[l] || b[l]) || "span", T = E(f);
|
|
156
155
|
return /* @__PURE__ */ W(V, {
|
|
157
156
|
as: v,
|
|
158
157
|
ref: t,
|
|
159
158
|
className: C(T.root, g),
|
|
160
|
-
...
|
|
159
|
+
...m,
|
|
161
160
|
ownerState: f,
|
|
162
161
|
style: {
|
|
163
162
|
...n !== "inherit" && {
|
|
164
163
|
"--Typography-textAlign": n
|
|
165
164
|
},
|
|
166
|
-
...
|
|
165
|
+
...m.style
|
|
167
166
|
}
|
|
168
167
|
});
|
|
169
168
|
});
|
|
@@ -216,7 +215,7 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
|
216
215
|
/**
|
|
217
216
|
* If `true`, the element will be a paragraph element.
|
|
218
217
|
* @default false
|
|
219
|
-
* @deprecated Use the `component` prop instead. This prop will be removed in
|
|
218
|
+
* @deprecated Use the `component` 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.
|
|
220
219
|
*/
|
|
221
220
|
paragraph: r.bool,
|
|
222
221
|
/**
|
|
@@ -256,5 +255,5 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
|
256
255
|
export {
|
|
257
256
|
$ as T,
|
|
258
257
|
D as g,
|
|
259
|
-
|
|
258
|
+
K as t
|
|
260
259
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const j=require("react"),t=require("./identifier-gJdGmHeC.cjs"),S=require("./index-Cfd-LNZn.cjs"),C=require("./memoTheme-GOMOSdXJ.cjs"),w=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),B=require("react/jsx-runtime"),y=require("./DefaultPropsProvider-DLSItMqn.cjs");function M(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const p=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(o,e,p.get?p:{enumerable:!0,get:()=>r[e]})}}return o.default=r,Object.freeze(o)}const R=M(j);function b(r){return t.generateUtilityClass("MuiTypography",r)}const W=t.generateUtilityClasses("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),q={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},D=S.internal_createExtendSxProp(),N=r=>{const{align:o,gutterBottom:e,noWrap:p,paragraph:s,variant:i,classes:n}=r,a={root:["root",i,r.align!=="inherit"&&`align${t.capitalize(o)}`,e&&"gutterBottom",p&&"noWrap",s&&"paragraph"]};return y.composeClasses(a,b,n)},U=y.styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(r,o)=>{const{ownerState:e}=r;return[o.root,e.variant&&o[e.variant],e.align!=="inherit"&&o[`align${t.capitalize(e.align)}`],e.noWrap&&o.noWrap,e.gutterBottom&&o.gutterBottom,e.paragraph&&o.paragraph]}})(C.memoTheme(({theme:r})=>{var o;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(r.typography).filter(([e,p])=>e!=="inherit"&&p&&typeof p=="object").map(([e,p])=>({props:{variant:e},style:p})),...Object.entries(r.palette).filter(w.createSimplePaletteValueFilter()).map(([e])=>({props:{color:e},style:{color:(r.vars||r).palette[e].main}})),...Object.entries(((o=r.palette)==null?void 0:o.text)||{}).filter(([,e])=>typeof e=="string").map(([e])=>({props:{color:`text${t.capitalize(e)}`},style:{color:(r.vars||r).palette.text[e]}})),{props:({ownerState:e})=>e.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}})),m={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},P=R.forwardRef(function(o,e){const{color:p,...s}=y.useDefaultProps({props:o,name:"MuiTypography"}),i=!q[p],n=D({...s,...i&&{color:p}}),{align:a="inherit",className:c,component:g,gutterBottom:d=!1,noWrap:x=!1,paragraph:h=!1,variant:l="body1",variantMapping:u=m,...f}=n,T={...n,align:a,color:p,className:c,component:g,gutterBottom:d,noWrap:x,paragraph:h,variant:l,variantMapping:u},v=g||(h?"p":u[l]||m[l])||"span",O=N(T);return B.jsx(U,{as:v,ref:e,className:t.clsx(O.root,c),...f,ownerState:T,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...f.style}})});process.env.NODE_ENV!=="production"&&(P.propTypes={align:t.PropTypes.oneOf(["center","inherit","justify","left","right"]),children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),t.PropTypes.string]),component:t.PropTypes.elementType,gutterBottom:t.PropTypes.bool,noWrap:t.PropTypes.bool,paragraph:t.PropTypes.bool,style:t.PropTypes.object,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),variant:t.PropTypes.oneOfType([t.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),t.PropTypes.string]),variantMapping:t.PropTypes.object});exports.Typography=P;exports.getTypographyUtilityClass=b;exports.typographyClasses=W;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("../../useTheme-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("../../useTheme-NQRIebh0.cjs");const e=require("../../Alert-5zQ9TB22.cjs");require("../../identifier-gJdGmHeC.cjs");module.exports=e.Alert;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../useTheme-
|
|
3
|
-
import { b as i } from "../../Alert-
|
|
4
|
-
import "../../
|
|
2
|
+
import "../../useTheme-9UmqLsq5.js";
|
|
3
|
+
import { b as i } from "../../Alert-D5C84Q-b.js";
|
|
4
|
+
import "../../identifier-UGP6vjyr.js";
|
|
5
5
|
export {
|
|
6
6
|
i as default
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../Alert-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../Alert-5zQ9TB22.cjs");exports.Alert=e.Alert;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),d=require("@mui/material"),r=require("react"),T=require("../../Autocomplete-C6uWQlAq.cjs");var o=(n=>(n.SELECT_ALL="TOUT_SELECTIONNER",n.DESELECT_ALL="TOUT_DE_SELECTIONNER",n))(o||{});const x=({isAllSelectable:n=!1,onSelectAll:s,onDeselectAll:u,selectAllLabel:a="Tout sélectionner",deselectAllLabel:O="Tout désélectionner",...e})=>{if(!n||!e.multiple)return t.jsx(T.Autocomplete,{...e});const[i,l]=r.useState(!0),m=()=>{s&&s(),l(!1)},L=()=>{u&&u(),l(!0)};r.useEffect(()=>{l(e.value.length!==e.options.length)},[e.value,e.options]);const N=[i?"TOUT_SELECTIONNER":"TOUT_DE_SELECTIONNER",...e.options];return t.jsx(T.Autocomplete,{...e,options:N,renderOption:(E,c)=>{if(Object.values(o).includes(c)){const S=c;return t.jsxs(t.Fragment,{children:[t.jsx("li",{...E,onClick:S==="TOUT_SELECTIONNER"?m:L,children:i?a:O}),t.jsx(d.Divider,{sx:{marginTop:1,marginBottom:1}})]})}return t.jsx("li",{...E,children:c})}})};module.exports=x;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AutocompleteProps as MUIAutocompleteProps } from '@mui/material/Autocomplete';
|
|
2
|
+
import { FC, ReactNode } from 'react';
|
|
3
|
+
export type AutocompleteProps<T, Multiple extends boolean = false, DisableClearable extends boolean = false, FreeSolo extends boolean = false> = MUIAutocompleteProps<T, Multiple, DisableClearable, FreeSolo> & {
|
|
4
|
+
isAllSelectable?: boolean;
|
|
5
|
+
onSelectAll?: () => void;
|
|
6
|
+
onDeselectAll?: () => void;
|
|
7
|
+
selectAllLabel?: ReactNode;
|
|
8
|
+
deselectAllLabel?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const Autocomplete: FC<AutocompleteProps<any, boolean, boolean, boolean>>;
|
|
11
|
+
export default Autocomplete;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { jsx as n, jsxs as L, Fragment as d } from "react/jsx-runtime";
|
|
2
|
+
import { Divider as N } from "@mui/material";
|
|
3
|
+
import { useState as S, useEffect as _ } from "react";
|
|
4
|
+
import { A as o } from "../../Autocomplete-BjXP0c_4.js";
|
|
5
|
+
var r = /* @__PURE__ */ ((t) => (t.SELECT_ALL = "TOUT_SELECTIONNER", t.DESELECT_ALL = "TOUT_DE_SELECTIONNER", t))(r || {});
|
|
6
|
+
const I = ({
|
|
7
|
+
isAllSelectable: t = !1,
|
|
8
|
+
onSelectAll: i,
|
|
9
|
+
onDeselectAll: c,
|
|
10
|
+
selectAllLabel: s = "Tout sélectionner",
|
|
11
|
+
deselectAllLabel: a = "Tout désélectionner",
|
|
12
|
+
...e
|
|
13
|
+
}) => {
|
|
14
|
+
if (!t || !e.multiple)
|
|
15
|
+
return /* @__PURE__ */ n(o, { ...e });
|
|
16
|
+
const [T, l] = S(!0), m = () => {
|
|
17
|
+
i && i(), l(!1);
|
|
18
|
+
}, O = () => {
|
|
19
|
+
c && c(), l(!0);
|
|
20
|
+
};
|
|
21
|
+
_(() => {
|
|
22
|
+
l(e.value.length !== e.options.length);
|
|
23
|
+
}, [e.value, e.options]);
|
|
24
|
+
const f = [T ? "TOUT_SELECTIONNER" : "TOUT_DE_SELECTIONNER", ...e.options];
|
|
25
|
+
return /* @__PURE__ */ n(
|
|
26
|
+
o,
|
|
27
|
+
{
|
|
28
|
+
...e,
|
|
29
|
+
options: f,
|
|
30
|
+
renderOption: (u, E) => Object.values(r).includes(E) ? /* @__PURE__ */ L(d, { children: [
|
|
31
|
+
/* @__PURE__ */ n(
|
|
32
|
+
"li",
|
|
33
|
+
{
|
|
34
|
+
...u,
|
|
35
|
+
onClick: E === "TOUT_SELECTIONNER" ? m : O,
|
|
36
|
+
children: T ? s : a
|
|
37
|
+
}
|
|
38
|
+
),
|
|
39
|
+
/* @__PURE__ */ n(N, { sx: { marginTop: 1, marginBottom: 1 } })
|
|
40
|
+
] }) : /* @__PURE__ */ n(
|
|
41
|
+
"li",
|
|
42
|
+
{
|
|
43
|
+
...u,
|
|
44
|
+
children: E
|
|
45
|
+
}
|
|
46
|
+
)
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
I as default
|
|
52
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./Autocomplete.cjs.js");exports.Autocomplete=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const o=require("react/jsx-runtime"),r=require("../../DefaultPropsProvider-
|
|
1
|
+
"use strict";const o=require("react/jsx-runtime"),r=require("../../DefaultPropsProvider-DLSItMqn.cjs"),n=require("../../Button-CZTPCtLu.cjs"),i=r.styled(n.Button)(({color:t,theme:e})=>({minHeight:38,textTransform:"none",transition:"all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms","&.MuiButton-outlined":{borderRadius:5,borderWidth:2}})),s=({variant:t="outlined",...e})=>o.jsx(i,{variant:t,...e});module.exports=s;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { s as e } from "../../DefaultPropsProvider-
|
|
3
|
-
import { B as n } from "../../Button-
|
|
2
|
+
import { s as e } from "../../DefaultPropsProvider-CojEWOKR.js";
|
|
3
|
+
import { B as n } from "../../Button-Dhxe4eYH.js";
|
|
4
4
|
const i = e(n)(({ color: t, theme: o }) => ({
|
|
5
5
|
minHeight: 38,
|
|
6
6
|
textTransform: "none",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");const e=require("../../DatePicker-
|
|
1
|
+
"use strict";require("react/jsx-runtime");const e=require("../../DatePicker-PBy3aYBw.cjs");module.exports=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-PBy3aYBw.cjs");exports.DatePicker=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),s=require("../../CloseRounded-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),s=require("../../CloseRounded-BkPBIz0q.cjs"),c=require("@mui/material"),a=require("../../Dialog-BC20prgn.cjs"),r=({children:i,showCloseButton:o=!0,...e})=>{const t=()=>{var l;return(l=e.onClose)==null?void 0:l.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[o?n.jsx(c.IconButton,{"aria-label":"close",onClick:t,sx:{position:"absolute",right:15,top:15,color:l=>l.palette.text.primary},children:n.jsx(s.CloseRounded,{color:"inherit"})}):null,i]})};module.exports=r;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { C as a } from "../../CloseRounded-
|
|
2
|
+
import { C as a } from "../../CloseRounded-D9nattPL.js";
|
|
3
3
|
import { IconButton as s } from "@mui/material";
|
|
4
|
-
import { D as r } from "../../Dialog-
|
|
4
|
+
import { D as r } from "../../Dialog-Dk2BQsgk.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
children: i,
|
|
7
7
|
showCloseButton: n = !0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-DPiiTkVU.cjs"),g=require("../../index-Dmu1HrwE.cjs"),x=require("../../Stack-DpH56CPw.cjs"),i=require("../../Typography-DOpE-TJz.cjs"),y=o.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),j=o.createSvgIcon(e.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"}),"UploadFile"),m=({defaultLabel:t="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:s="Déposer les fichiers ici",information:c,width:a,height:d,slotProps:r={},...l})=>{var n;const{getRootProps:h,getInputProps:p,isDragActive:u}=g.useDropzone(l);return e.jsxs(x.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:a??"18rem",height:d??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer",...(n=r.root)==null?void 0:n.sx},...h(),children:[e.jsx("input",{...p(),...r.input}),u?e.jsxs(e.Fragment,{children:[e.jsx(y,{color:"primary",...r.icon}),e.jsx(i.Typography,{...r.label,children:s})]}):e.jsxs(e.Fragment,{children:[e.jsx(j,{color:"primary",...r.icon}),e.jsx(i.Typography,{...r.label,children:t}),c?e.jsx(i.Typography,{variant:"body2",color:"grey",...r.information,children:c}):null]})]})};module.exports=m;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i, Fragment as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as a } from "../../createSvgIcon-
|
|
3
|
-
import { u as f } from "../../index-
|
|
4
|
-
import { S as y } from "../../Stack-
|
|
5
|
-
import { T as o } from "../../Typography-
|
|
2
|
+
import { c as a } from "../../createSvgIcon-Q_5wEReh.js";
|
|
3
|
+
import { u as f } from "../../index-BEwCnUM5.js";
|
|
4
|
+
import { S as y } from "../../Stack-Bkppffhe.js";
|
|
5
|
+
import { T as o } from "../../Typography-BceX4HUn.js";
|
|
6
6
|
const v = a(/* @__PURE__ */ r("path", {
|
|
7
7
|
d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
|
|
8
8
|
}), "FileUpload"), z = a(/* @__PURE__ */ r("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("../../Stack-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("../../Stack-DpH56CPw.cjs"),g=require("../../Box-Bl24J58B.cjs"),e=require("../../Typography-DOpE-TJz.cjs"),x=({image:n,imageProps:o,imageSrc:i,title:s,description:r,descriptionProps:c,svgProps:l,titleProps:h,...a})=>t.jsxs(u.Stack,{direction:"column",alignItems:"center",margin:"0 auto",...a,children:[t.jsx(g.Box,{height:200,width:"auto",children:n??t.jsx("img",{src:i,height:"100%",...o})}),t.jsx(e.Typography,{variant:"h2",fontWeight:500,mt:3,...h,children:s}),r?t.jsx(e.Typography,{color:"textSecondary",mt:2,...c,children:r}):null]});module.exports=x;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { S as l } from "../../Stack-
|
|
3
|
-
import { B as g } from "../../Box-
|
|
4
|
-
import { T as o } from "../../Typography-
|
|
2
|
+
import { S as l } from "../../Stack-Bkppffhe.js";
|
|
3
|
+
import { B as g } from "../../Box-CXvmZ2dD.js";
|
|
4
|
+
import { T as o } from "../../Typography-BceX4HUn.js";
|
|
5
5
|
const y = ({
|
|
6
6
|
image: e,
|
|
7
7
|
imageProps: i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-DPiiTkVU.cjs"),s=e.createSvgIcon(c.jsx("path",{d:"M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"}),"CalendarViewMonthRounded"),n=e.createSvgIcon(c.jsx("path",{d:"M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5z"}),"DescriptionOutlined"),h=e.createSvgIcon(c.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zM6 20V4h7v5h5v11z"}),"InsertDriveFileOutlined"),a=e.createSvgIcon(c.jsx("path",{d:"M4 6.47 5.76 10H20v8H4zM22 4h-4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2z"}),"MovieOutlined"),o=e.createSvgIcon(c.jsx("path",{d:"M12 5v8.55c-.94-.54-2.1-.75-3.33-.32-1.34.48-2.37 1.67-2.61 3.07-.46 2.74 1.86 5.08 4.59 4.65 1.96-.31 3.35-2.11 3.35-4.1V7h2c1.1 0 2-.9 2-2s-.9-2-2-2h-2c-1.1 0-2 .9-2 2"}),"MusicNoteRounded"),r=e.createSvgIcon(c.jsx("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h5v1c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-1h5c1.1 0 1.99-.9 1.99-2L23 5c0-1.11-.9-2-2-2m-1 14H4c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h16c.55 0 1 .45 1 1v10c0 .55-.45 1-1 1m-5.52-5.13-3.98 2.28c-.67.38-1.5-.11-1.5-.87V8.72c0-.77.83-1.25 1.5-.87l3.98 2.28c.67.39.67 1.35 0 1.74"}),"OndemandVideoRounded"),d=e.createSvgIcon(c.jsx("path",{d:"M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-4.86 8.86-3 3.87L9 13.14 6 17h12z"}),"PhotoOutlined"),v=e.createSvgIcon(c.jsx("path",{d:"M20 2H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m0 14H8V4h12zM4 6H2v14c0 1.1.9 2 2 2h14v-2H4zm12 6V9c0-.55-.45-1-1-1h-2v5h2c.55 0 1-.45 1-1m-2-3h1v3h-1zm4 2h1v-1h-1V9h1V8h-2v5h1zm-8 0h1c.55 0 1-.45 1-1V9c0-.55-.45-1-1-1H9v5h1zm0-2h1v1h-1z"}),"PictureAsPdfOutlined"),i=({extension:t})=>{switch(t.toUpperCase()){case"MP3":case"MIDI":case"WAV":return c.jsx(o,{});case"JPG":case"JPEG":case"PNG":case"SVG":return c.jsx(d,{});case"MP4":case"MOV":case"AVI":return c.jsx(a,{});case"CSV":case"ODS":case"XLS":case"XLSX":return c.jsx(s,{});case"PDF":return c.jsx(v,{});case"ODT":case"DOC":case"DOCX":case"TXT":return c.jsx(n,{});case"ODP":case"PPT":case"PPTX":return c.jsx(r,{});default:return c.jsx(h,{})}};exports.FileIcon=i;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as e } from "../../createSvgIcon-
|
|
2
|
+
import { c as e } from "../../createSvgIcon-Q_5wEReh.js";
|
|
3
3
|
const t = e(/* @__PURE__ */ c("path", {
|
|
4
4
|
d: "M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2M8 11H4V6h4zm6 0h-4V6h4zm6 0h-4V6h4zM8 18H4v-5h4zm6 0h-4v-5h4zm6 0h-4v-5h4z"
|
|
5
5
|
}), "CalendarViewMonthRounded"), n = e(/* @__PURE__ */ c("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),n=require("@mui/material"),g=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),y=require("./FileIcon.cjs.js"),p=require("./FileInfosSeparator.cjs.js"),x=require("./utils.cjs.js"),s=require("../../Stack-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),n=require("@mui/material"),g=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),y=require("./FileIcon.cjs.js"),p=require("./FileInfosSeparator.cjs.js"),x=require("./utils.cjs.js"),s=require("../../Stack-DpH56CPw.cjs"),d=require("../../Typography-DOpE-TJz.cjs"),j=require("../../createSvgIcon-DPiiTkVU.cjs"),I=require("../../CloseRounded-BkPBIz0q.cjs"),b=j.createSvgIcon(e.jsx("path",{d:"M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"}),"DownloadRounded"),S=n.styled(n.ListItemButton)(({isClickable:t})=>({"&:hover":{boxShadow:t?"0 4px 8px rgba(192, 192, 192, 0.3)":"none",backgroundColor:"transparent"},opacity:"1 !important",borderRadius:"4px",cursor:t?"pointer":"default",display:"flex",flexDirection:"row",alignItems:"center",padding:"0.5rem 1rem",width:"100%",justifyContent:"space-between",boxSizing:"border-box",paddingRight:"115px !important",userSelect:"text"})),q=({file:t,onDelete:a,onClick:r,onDownload:c})=>{if(!t.name)return null;const o=x.displaySize(t.size),i=x.displayExtension(t.name),u=()=>r==null?void 0:r(t),h=l=>{l.stopPropagation(),a==null||a(t)},m=l=>{l.stopPropagation(),c==null||c(t)};return e.jsx(n.ListItem,{secondaryAction:e.jsxs(n.Box,{alignItems:"center",display:"flex",gap:"1rem",children:[t.isLoading?e.jsx(n.Box,{marginRight:1,children:e.jsx(n.CircularProgress,{size:24,color:"primary"})}):t.isDownloadable?e.jsx(n.IconButton,{onClick:m,children:e.jsx(b,{color:"primary"})}):null,t.isDeletable&&e.jsx(n.IconButton,{onClick:h,id:"coucou",children:e.jsx(I.CloseRounded,{})})]}),disablePadding:!0,children:e.jsx(S,{onClick:u,isClickable:!!r,disableRipple:!r,children:e.jsxs(s.Stack,{direction:"row",alignItems:"center",spacing:2,minWidth:"0",children:[e.jsx(s.Stack,{borderRadius:"4px",minWidth:"40px",maxWidth:"40px",minHeight:"40px",maxHeight:"40px",display:"flex",alignItems:"center",justifyContent:"center",sx:{backgroundColor:"grey.light"},children:e.jsx(n.Box,{color:"text.secondary",alignItems:"center",justifyContent:"center",display:"flex",children:e.jsx(y.FileIcon,{extension:i??""})})}),e.jsxs(s.Stack,{direction:"column",spacing:0,alignItems:"flex-start",minWidth:"0",children:[e.jsx(g,{typographyProps:{variant:"body1"},children:t.name}),e.jsxs(s.Stack,{display:"flex",flexDirection:"row",alignItems:"center",gap:1,children:[o&&e.jsx(d.Typography,{variant:"caption",color:"text.secondary",children:o}),o&&i&&e.jsx(p.FileInfosSeparator,{}),i&&e.jsx(d.Typography,{variant:"caption",color:"text.secondary",children:i}),t.ownerName&&(o||i)&&e.jsx(p.FileInfosSeparator,{}),t.ownerName&&e.jsx(d.Typography,{variant:"caption",color:"text.secondary",children:t.ownerName})]})]})]})})},crypto.randomUUID())};module.exports=q;
|
|
@@ -4,10 +4,10 @@ import w from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
|
|
|
4
4
|
import { FileIcon as S } from "./FileIcon.es.js";
|
|
5
5
|
import { FileInfosSeparator as h } from "./FileInfosSeparator.es.js";
|
|
6
6
|
import { displaySize as R, displayExtension as v } from "./utils.es.js";
|
|
7
|
-
import { S as a } from "../../Stack-
|
|
8
|
-
import { T as p } from "../../Typography-
|
|
9
|
-
import { c as C } from "../../createSvgIcon-
|
|
10
|
-
import { C as j } from "../../CloseRounded-
|
|
7
|
+
import { S as a } from "../../Stack-Bkppffhe.js";
|
|
8
|
+
import { T as p } from "../../Typography-BceX4HUn.js";
|
|
9
|
+
import { c as C } from "../../createSvgIcon-Q_5wEReh.js";
|
|
10
|
+
import { C as j } from "../../CloseRounded-D9nattPL.js";
|
|
11
11
|
const z = C(/* @__PURE__ */ r("path", {
|
|
12
12
|
d: "M16.59 9H15V4c0-.55-.45-1-1-1h-4c-.55 0-1 .45-1 1v5H7.41c-.89 0-1.34 1.08-.71 1.71l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59c.63-.63.19-1.71-.7-1.71M5 19c0 .55.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1H6c-.55 0-1 .45-1 1"
|
|
13
13
|
}), "DownloadRounded"), H = u(b)(
|