@cgi-learning-hub/ui 1.4.0 → 1.5.0-dev.1743511847
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-BoWYecXr.cjs +1 -0
- package/dist/Alert-D31xXLY_.js +452 -0
- package/dist/Autocomplete-C4BeJqHd.js +1829 -0
- package/dist/Autocomplete-QNC3IpEu.cjs +6 -0
- package/dist/Backdrop-A963bP01.cjs +1 -0
- package/dist/{Backdrop-DdA12b-5.js → Backdrop-Cwv7IqH8.js} +20 -19
- package/dist/{Box-DbRInJ2-.js → Box--MaxIKbn.js} +7 -7
- package/dist/Box-ge7hyt34.cjs +1 -0
- package/dist/Button-BkHaHEAp.cjs +1 -0
- package/dist/{Button-rxIER0bL.js → Button-kOBqHwsO.js} +147 -113
- package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-DIunRlDS.cjs} +1 -1
- package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-DYKChljK.js} +4 -4
- package/dist/{CardContent-u1MKaFvP.js → CardContent-BHHejD6b.js} +3 -3
- package/dist/CardContent-VzvauMnh.cjs +1 -0
- package/dist/Checkbox-CMW4C-5f.cjs +1 -0
- package/dist/{Checkbox-BI77q7eR.js → Checkbox-Vfd8tExZ.js} +23 -22
- package/dist/{Chip-6-zATjcr.js → Chip-CVtoGCpW.js} +50 -49
- package/dist/Chip-DnYryF72.cjs +1 -0
- package/dist/CircularProgress-4dhoIFaN.cjs +28 -0
- package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CAuw8noH.js} +14 -13
- package/dist/Close-D88q8bP4.js +9 -0
- package/dist/Close-gPyOHzhk.cjs +1 -0
- package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-D4Rf4Yq-.cjs} +1 -1
- package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-DXBTbQ8P.js} +1 -1
- package/dist/CustomTreeItem-DhiQBmjt.js +1341 -0
- package/dist/CustomTreeItem-DvuxaLU3.cjs +4 -0
- package/dist/DatePicker-BoM1keBS.cjs +14 -0
- package/dist/{DatePicker-BTTLIBm9.js → DatePicker-Cy18dRtr.js} +3032 -3133
- package/dist/DefaultPropsProvider-DhsUT47i.cjs +1 -0
- package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-ZFZfNXyN.js} +24 -24
- package/dist/Delete-abpyrxF4.cjs +1 -0
- package/dist/Delete-p7eKZ0Bk.js +8 -0
- package/dist/{Dialog-CgBiKk8B.js → Dialog-BdWhnP_F.js} +17 -16
- package/dist/Dialog-LbgQSeqb.cjs +1 -0
- package/dist/{DialogContent-SYCCu1VD.js → DialogContent-CazuB6uB.js} +3 -3
- package/dist/DialogContent-DBuTlPHe.cjs +1 -0
- package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-B98lWCsF.js} +5 -5
- package/dist/DialogTitle-DTwr1uD3.cjs +1 -0
- package/dist/{Divider-Doy31VS6.js → Divider-Bw612Jal.js} +8 -8
- package/dist/Divider-D3QqAaaL.cjs +1 -0
- package/dist/Folder-DbtkTNEB.js +8 -0
- package/dist/Folder-NcfJgwuN.cjs +1 -0
- package/dist/FormLabel-C_MIE5B5.cjs +2 -0
- package/dist/{FormLabel-DjkS3S9h.js → FormLabel-Sb7RO6Cr.js} +68 -76
- package/dist/Grow-B05P--4W.cjs +1 -0
- package/dist/{Grow-DPD-iBAX.js → Grow-CYTfRVAz.js} +14 -13
- package/dist/{IconButton-B4bt0Hp2.js → IconButton-BfOmPY_b.js} +27 -26
- package/dist/IconButton-Czd8uNt8.cjs +2 -0
- package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-Bq0xmUe9.js} +9 -8
- package/dist/InputAdornment-OOctzn5p.cjs +1 -0
- package/dist/InputBase-B7ajOn6r.cjs +3 -0
- package/dist/{InputBase-CF5oNEfh.js → InputBase-BemCmQtU.js} +41 -40
- package/dist/{Link-CnahHTmK.js → Link-Dlyo6tWB.js} +11 -10
- package/dist/Link-Dq7AP0Tt.cjs +1 -0
- package/dist/List-CBdWJkIa.cjs +1 -0
- package/dist/List-CV_4VCwT.js +130 -0
- package/dist/ListItem--Hj6zz4n.js +423 -0
- package/dist/ListItem-B2M8rFxh.cjs +1 -0
- package/dist/ListItemText-BeWOS4WA.js +928 -0
- package/dist/ListItemText-Yjh9Zoqh.cjs +1 -0
- package/dist/{Menu-DzBX10ev.js → Menu-BCmTJEi8.js} +302 -424
- package/dist/Menu-BHYjNOvv.cjs +7 -0
- package/dist/MenuItem-CpMKEsli.cjs +1 -0
- package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-CyARn9vd.js} +72 -77
- package/dist/{Modal-B8JRJWm0.js → Modal-4sDxsZsm.js} +8 -8
- package/dist/{Modal-D8lS9C1l.cjs → Modal-BvhfWPvw.cjs} +2 -2
- package/dist/MoreVert-RHtym60m.cjs +1 -0
- package/dist/MoreVert-WFvQcAf-.js +8 -0
- package/dist/Paper-CRHSfFG5.cjs +2 -0
- package/dist/{Paper-CbgkVQVx.js → Paper-D9hEGUDL.js} +4 -4
- package/dist/Popper-9z2UJQ7R.cjs +4 -0
- package/dist/{Popper-1-DDNRPD.js → Popper-BxJaaK-J.js} +31 -30
- package/dist/Portal-BkkZn65J.cjs +1 -0
- package/dist/{Portal-T-1Qk77D.js → Portal-jqIJ9-dR.js} +2 -2
- package/dist/Radio-Cj3mKEAT.cjs +1 -0
- package/dist/{Radio-BxMxeQa-.js → Radio-Dm7GnmRB.js} +9 -8
- package/dist/RadioGroup-D-aGM7xY.cjs +1 -0
- package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-b8jmEUAw.js} +3 -3
- package/dist/Select--p-t3vFP.cjs +3 -0
- package/dist/{Select-B6mYfJPA.js → Select-B9udggeF.js} +49 -48
- package/dist/{Stack-aCUdCw1A.js → Stack-Ba2nYyYI.js} +104 -59
- package/dist/Stack-DVHYuvhX.cjs +1 -0
- package/dist/Switch--DHfiMMI.cjs +1 -0
- package/dist/{Switch-BOpqo-TS.js → Switch-D9wihGbW.js} +11 -10
- package/dist/SwitchBase-D6Hcty5-.cjs +1 -0
- package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-hLPPZJfx.js} +21 -20
- package/dist/Tab-CoQ2exTs.cjs +4 -0
- package/dist/Tab-qZjEW6Cy.js +1394 -0
- package/dist/TextField-1N_cJeHB.cjs +1 -0
- package/dist/{TextField-CAmc1Qpg.js → TextField-B6qm5aBz.js} +18 -17
- package/dist/ToggleButtonGroup-Bz445DUg.cjs +137 -0
- package/dist/ToggleButtonGroup-DB7FU2Sy.js +7716 -0
- package/dist/{Tooltip-BvVFPsVR.js → Tooltip-UBiscQPm.js} +30 -29
- package/dist/Tooltip-arPEgWU6.cjs +4 -0
- package/dist/{Typography-CE8fQQ8B.js → Typography-BJPk_mTw.js} +13 -12
- package/dist/Typography-Daq_a9_t.cjs +1 -0
- package/dist/capitalize-CzyXIc5e.cjs +1 -0
- package/dist/capitalize-R3VbHRUv.js +9 -0
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.d.ts +3 -3
- package/dist/components/Alert/Alert.es.js +5 -20
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +2 -2
- 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 +2 -3
- 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.d.ts +2 -0
- package/dist/components/Dropzone/Dropzone.es.js +33 -30
- package/dist/components/Dropzone/types.cjs.js +1 -0
- package/dist/components/Dropzone/types.d.ts +8 -0
- package/dist/components/Dropzone/types.es.js +1 -0
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +10 -2
- package/dist/components/EmptyState/EmptyState.es.js +26 -26
- 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 +14 -13
- package/dist/components/FolderCard/FolderCard.cjs.js +1 -0
- package/dist/components/FolderCard/FolderCard.d.ts +11 -0
- package/dist/components/FolderCard/FolderCard.es.js +79 -0
- package/dist/components/FolderCard/index.cjs.js +1 -0
- package/dist/components/FolderCard/index.d.ts +2 -0
- package/dist/components/FolderCard/index.es.js +4 -0
- package/dist/components/FolderCard/styles.cjs.js +1 -0
- package/dist/components/FolderCard/styles.d.ts +20 -0
- package/dist/components/FolderCard/styles.es.js +23 -0
- package/dist/components/FolderCard/types.cjs.js +1 -0
- package/dist/components/FolderCard/types.d.ts +3 -0
- package/dist/components/FolderCard/types.es.js +14 -0
- 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 +54 -51
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +8 -9
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +4 -5
- package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/PasswordInput/PasswordInput.es.js +28 -37
- package/dist/components/QueryError/QueryError.cjs.js +1 -1
- package/dist/components/QueryError/QueryError.es.js +23 -20
- package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
- package/dist/components/ResourceCard/ResourceCard.es.js +21 -23
- 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 +7 -0
- package/dist/components/TreeView/TreeView.d.ts +4 -0
- package/dist/components/TreeView/TreeView.es.js +1892 -0
- package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -0
- package/dist/components/TreeView/components/CustomTreeItem.d.ts +6 -0
- package/dist/components/TreeView/components/CustomTreeItem.es.js +8 -0
- package/dist/components/TreeView/index.cjs.js +1 -0
- package/dist/components/TreeView/index.d.ts +2 -0
- package/dist/components/TreeView/index.es.js +6 -0
- package/dist/components/TreeView/style.cjs.js +1 -0
- package/dist/components/TreeView/style.es.js +35 -0
- package/dist/components/TreeView/types.cjs.js +1 -0
- package/dist/components/TreeView/types.d.ts +43 -0
- package/dist/components/TreeView/types.es.js +4 -0
- package/dist/components/TreeView/utils.cjs.js +1 -0
- package/dist/components/TreeView/utils.d.ts +6 -0
- package/dist/components/TreeView/utils.es.js +50 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +12 -1
- package/dist/components/index.es.js +368 -344
- 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 +3 -0
- package/dist/components/stories/Autocomplete.stories.d.ts +6 -0
- package/dist/components/stories/Autocomplete.stories.es.js +62 -0
- 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/EmptyState.stories.cjs.js +1 -1
- package/dist/components/stories/EmptyState.stories.es.js +23 -7
- package/dist/components/stories/FolderCard.stories.cjs.js +1 -0
- package/dist/components/stories/FolderCard.stories.d.ts +7 -0
- package/dist/components/stories/FolderCard.stories.es.js +71 -0
- 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 +21 -184
- 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 +69 -0
- package/dist/components/stories/TreeView.stories.d.ts +14 -0
- package/dist/components/stories/TreeView.stories.es.js +857 -0
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/createSvgIcon-DjTQ6UHI.cjs +1 -0
- package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-Dk3n_NBz.js} +19 -18
- package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-BbwdfVtE.js} +1 -1
- package/dist/dividerClasses-sb3FZiiC.cjs +1 -0
- package/dist/elementTypeAcceptingRef-CFAbKDTa.cjs +1 -0
- package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-Cqa8qLE7.js} +1 -1
- package/dist/extendSxProp-DG37PMfH.cjs +1 -0
- package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-u_I5DXAE.js} +1 -1
- package/dist/generateUtilityClasses-B90hrzv4.cjs +75 -0
- package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-SJ1QPUag.js} +867 -835
- package/dist/getReactElementRef-Blb86d4n.cjs +1 -0
- package/dist/getReactElementRef-DMv8jOEv.js +31 -0
- package/dist/{index-BGS2uu2L.js → index-8ZjeXGh4.js} +1 -1
- package/dist/index-C4sHlmg5.cjs +1 -0
- package/dist/index-D5we-BQd.cjs +1 -0
- package/dist/{index-ClXCinr6.js → index-DBDGMwpZ.js} +4 -4
- package/dist/index-DzunNw1H.cjs +5 -0
- package/dist/index-uoOKg_7A.js +22 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +368 -344
- package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/listItemTextClasses-Bh3BazNw.cjs +1 -0
- package/dist/listItemTextClasses-v8jRy934.js +9 -0
- package/dist/{memoTheme-DyiN-Awd.js → memoTheme-C9GnPENe.js} +1 -1
- package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-D8ch-Aus.cjs} +1 -1
- package/dist/refType-B7SJEv5t.cjs +1 -0
- package/dist/{refType-B86yTZra.js → refType-D-xpF9tL.js} +1 -1
- package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-BFteOhbz.js} +1 -1
- package/dist/resolveComponentProps-ZXhc99MU.cjs +1 -0
- package/dist/{useSlot-CZNcsPv1.js → useSlot-C73TTXlD.js} +1 -1
- package/dist/{useSlot-CyXLaLc2.cjs → useSlot-bB9P8y2N.cjs} +1 -1
- package/dist/useSlotProps-CuY7blPC.cjs +1 -0
- package/dist/useSlotProps-Cz_jXqU-.js +25 -0
- package/dist/useTheme-BI9bHTEJ.cjs +1 -0
- package/dist/{useTheme-DxxkErdZ.js → useTheme-C0OFZcd4.js} +1 -1
- package/dist/useTheme-C9d_IgK4.cjs +1 -0
- package/dist/useTheme-EvTdEPuY.js +11 -0
- package/dist/useThemeProps-DUEuJR3m.cjs +1 -0
- package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-ch-ZdCsr.js} +2 -2
- package/dist/useThemeProps-jdOTP9Fb.js +17 -0
- package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-qlNnBrri.cjs} +1 -1
- package/dist/utils-BODEd0eo.cjs +1 -0
- package/dist/{utils-SrEVp7Pm.js → utils-_bodXh-n.js} +76 -104
- package/package.json +2 -1
- package/dist/Backdrop-COarwgJj.cjs +0 -1
- package/dist/Box-C0mEbUoK.cjs +0 -1
- package/dist/Button-1tZRtOeG.cjs +0 -1
- package/dist/CardContent-BXjX98Jd.cjs +0 -1
- package/dist/Checkbox-C6CIGK27.cjs +0 -1
- package/dist/Chip-CAPnyZyW.cjs +0 -1
- package/dist/CircularProgress-DTVP6gln.cjs +0 -28
- package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
- package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
- package/dist/Dialog-Cmv58WoN.cjs +0 -1
- package/dist/DialogContent-CGEdCDYk.cjs +0 -1
- package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
- package/dist/Divider-D_LVNUqS.cjs +0 -1
- package/dist/FormLabel-D0gSgwnj.cjs +0 -2
- package/dist/Grow-D7scX77o.cjs +0 -1
- package/dist/IconButton-Edo5JMfQ.cjs +0 -2
- package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
- package/dist/InputBase-CgOQ0M4_.cjs +0 -3
- package/dist/Link-CAbb9OCV.cjs +0 -1
- package/dist/Menu-C-R0FVOB.cjs +0 -7
- package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
- package/dist/Paper-C-oPGpbI.cjs +0 -2
- package/dist/Popper-uw9PkkLY.cjs +0 -4
- package/dist/Portal-bIKnnWR4.cjs +0 -1
- package/dist/Radio-CvCkmq8g.cjs +0 -1
- package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
- package/dist/Select-KMdcuol6.cjs +0 -3
- package/dist/Stack-C6v70ALA.cjs +0 -1
- package/dist/Switch-DF4bSjED.cjs +0 -1
- package/dist/SwitchBase-7zONZyYP.cjs +0 -1
- package/dist/Tabs-CrWcC5nJ.js +0 -1225
- package/dist/Tabs-Dploq_37.cjs +0 -4
- package/dist/TextField-BC7GvvHh.cjs +0 -1
- package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
- package/dist/ToggleButtonGroup-ekxVeQCc.js +0 -10461
- package/dist/Tooltip-CWA-GKdK.cjs +0 -4
- package/dist/Typography-DEAE8-8u.cjs +0 -1
- package/dist/components/TextInput/TextInput.cjs.js +0 -1
- package/dist/components/TextInput/TextInput.d.ts +0 -4
- package/dist/components/TextInput/TextInput.es.js +0 -6
- package/dist/components/TextInput/index.cjs.js +0 -1
- package/dist/components/TextInput/index.d.ts +0 -2
- package/dist/components/TextInput/index.es.js +0 -4
- package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
- package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
- package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
- package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
- package/dist/fr-B3qrCNcK.js +0 -312
- package/dist/fr-JE-1WKP6.cjs +0 -1
- package/dist/identifier-5n4d7br9.cjs +0 -75
- package/dist/index-5BAFzrXD.cjs +0 -1
- package/dist/index-CFm-oAsb.cjs +0 -1
- package/dist/index-CJW5gB6d.cjs +0 -5
- package/dist/index-DwHI-aa0.js +0 -45
- package/dist/refType-CjW6JOBA.cjs +0 -1
- package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
- package/dist/useTheme-Bi8B4Op1.cjs +0 -1
- package/dist/useTheme-C_2IF7CS.cjs +0 -1
- package/dist/useTheme-Clhsq4HW.js +0 -11
- package/dist/useThemeProps-C6qniHmV.js +0 -17
- package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
- package/dist/utils-D4if93Yl.cjs +0 -1
- /package/dist/assets/{styles.css → Loader.css} +0 -0
- /package/dist/assets/{styles2.css → LoaderBackdrop.css} +0 -0
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Ze } from "./index-
|
|
4
|
-
import { u as eo } from "./useTheme-
|
|
5
|
-
import { jsx as
|
|
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-
|
|
2
|
+
import { G as Je, H as Qe, I as ge, n as ve, P as e } from "./generateUtilityClasses-SJ1QPUag.js";
|
|
3
|
+
import { u as Ze } from "./index-uoOKg_7A.js";
|
|
4
|
+
import { u as eo } from "./useTheme-EvTdEPuY.js";
|
|
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-ZFZfNXyN.js";
|
|
7
|
+
import { m as Y } from "./memoTheme-C9GnPENe.js";
|
|
8
|
+
import { u as I } from "./useSlot-C73TTXlD.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
12
|
import { u as be } from "./useEventCallback-BAQJJ3ye.js";
|
|
13
13
|
import { u as so } from "./useForkRef-C_4o__cU.js";
|
|
14
|
-
import { g as io, e as ao } from "./
|
|
15
|
-
import { G as lo } from "./Grow-
|
|
16
|
-
import { P as
|
|
14
|
+
import { g as io, e as ao } from "./getReactElementRef-DMv8jOEv.js";
|
|
15
|
+
import { G as lo } from "./Grow-CYTfRVAz.js";
|
|
16
|
+
import { P as Re } from "./Popper-BxJaaK-J.js";
|
|
17
|
+
import { c as Oe } from "./capitalize-R3VbHRUv.js";
|
|
17
18
|
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
18
19
|
function co(r) {
|
|
19
20
|
return Qe("MuiTooltip", r);
|
|
@@ -31,11 +32,11 @@ const uo = (r) => {
|
|
|
31
32
|
placement: b
|
|
32
33
|
} = r, q = {
|
|
33
34
|
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
|
34
|
-
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${
|
|
35
|
+
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${Oe(b.split("-")[0])}`],
|
|
35
36
|
arrow: ["arrow"]
|
|
36
37
|
};
|
|
37
38
|
return to(q, co, o);
|
|
38
|
-
}, fo = G(
|
|
39
|
+
}, fo = G(Re, {
|
|
39
40
|
name: "MuiTooltip",
|
|
40
41
|
slot: "Popper",
|
|
41
42
|
overridesResolver: (r, o) => {
|
|
@@ -145,12 +146,12 @@ const uo = (r) => {
|
|
|
145
146
|
const {
|
|
146
147
|
ownerState: s
|
|
147
148
|
} = r;
|
|
148
|
-
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${Oe(s.placement.split("-")[0])}`]];
|
|
149
150
|
}
|
|
150
151
|
})(Y(({
|
|
151
152
|
theme: r
|
|
152
153
|
}) => ({
|
|
153
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg :
|
|
154
|
+
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : ve(r.palette.grey[700], 0.92),
|
|
154
155
|
borderRadius: (r.vars || r).shape.borderRadius,
|
|
155
156
|
color: (r.vars || r).palette.common.white,
|
|
156
157
|
fontFamily: r.typography.fontFamily,
|
|
@@ -271,7 +272,7 @@ const uo = (r) => {
|
|
|
271
272
|
width: "1em",
|
|
272
273
|
height: "0.71em",
|
|
273
274
|
boxSizing: "border-box",
|
|
274
|
-
color: r.vars ? r.vars.palette.Tooltip.bg :
|
|
275
|
+
color: r.vars ? r.vars.palette.Tooltip.bg : ve(r.palette.grey[700], 0.9),
|
|
275
276
|
"&::before": {
|
|
276
277
|
content: '""',
|
|
277
278
|
margin: "auto",
|
|
@@ -322,12 +323,12 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
322
323
|
PopperComponent: re,
|
|
323
324
|
PopperProps: f = {},
|
|
324
325
|
slotProps: h = {},
|
|
325
|
-
slots:
|
|
326
|
+
slots: Ne = {},
|
|
326
327
|
title: g,
|
|
327
|
-
TransitionComponent:
|
|
328
|
+
TransitionComponent: Le,
|
|
328
329
|
TransitionProps: Ie,
|
|
329
330
|
...pe
|
|
330
|
-
} = d, m = /* @__PURE__ */ n.isValidElement(b) ? b : /* @__PURE__ */
|
|
331
|
+
} = d, m = /* @__PURE__ */ n.isValidElement(b) ? b : /* @__PURE__ */ L("span", {
|
|
331
332
|
children: b
|
|
332
333
|
}), ne = eo(), je = Ze(), [i, se] = n.useState(), [F, Ae] = n.useState(null), C = n.useRef(!1), U = Ce || k, ie = j(), W = j(), M = j(), ae = j(), [De, le] = po({
|
|
333
334
|
controlled: oe,
|
|
@@ -448,13 +449,13 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
448
449
|
...l == null ? void 0 : l.popperOptions,
|
|
449
450
|
modifiers: t
|
|
450
451
|
};
|
|
451
|
-
}, [F, f.popperOptions, l == null ? void 0 : l.popperOptions]), _ = uo(T), Ve = typeof h.transition == "function" ? h.transition(T) : h.transition,
|
|
452
|
+
}, [F, f.popperOptions, l == null ? void 0 : l.popperOptions]), _ = uo(T), Ve = typeof h.transition == "function" ? h.transition(T) : h.transition, N = {
|
|
452
453
|
slots: {
|
|
453
454
|
popper: P.Popper,
|
|
454
|
-
transition: P.Transition ??
|
|
455
|
+
transition: P.Transition ?? Le,
|
|
455
456
|
tooltip: P.Tooltip,
|
|
456
457
|
arrow: P.Arrow,
|
|
457
|
-
...
|
|
458
|
+
...Ne
|
|
458
459
|
},
|
|
459
460
|
slotProps: {
|
|
460
461
|
arrow: h.arrow ?? x.arrow,
|
|
@@ -471,28 +472,28 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
471
472
|
}
|
|
472
473
|
}, [ze, He] = I("popper", {
|
|
473
474
|
elementType: fo,
|
|
474
|
-
externalForwardedProps:
|
|
475
|
+
externalForwardedProps: N,
|
|
475
476
|
ownerState: T,
|
|
476
477
|
className: ge(_.popper, f == null ? void 0 : f.className)
|
|
477
478
|
}), [_e, Ge] = I("transition", {
|
|
478
479
|
elementType: lo,
|
|
479
|
-
externalForwardedProps:
|
|
480
|
+
externalForwardedProps: N,
|
|
480
481
|
ownerState: T
|
|
481
482
|
}), [Ye, qe] = I("tooltip", {
|
|
482
483
|
elementType: ho,
|
|
483
484
|
className: _.tooltip,
|
|
484
|
-
externalForwardedProps:
|
|
485
|
+
externalForwardedProps: N,
|
|
485
486
|
ownerState: T
|
|
486
487
|
}), [Ke, Xe] = I("arrow", {
|
|
487
488
|
elementType: go,
|
|
488
489
|
className: _.arrow,
|
|
489
|
-
externalForwardedProps:
|
|
490
|
+
externalForwardedProps: N,
|
|
490
491
|
ownerState: T,
|
|
491
492
|
ref: Ae
|
|
492
493
|
});
|
|
493
494
|
return /* @__PURE__ */ Te(n.Fragment, {
|
|
494
|
-
children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */
|
|
495
|
-
as: re ??
|
|
495
|
+
children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ L(ze, {
|
|
496
|
+
as: re ?? Re,
|
|
496
497
|
placement: te,
|
|
497
498
|
anchorEl: k ? {
|
|
498
499
|
getBoundingClientRect: () => ({
|
|
@@ -513,13 +514,13 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
513
514
|
popperOptions: Be,
|
|
514
515
|
children: ({
|
|
515
516
|
TransitionProps: t
|
|
516
|
-
}) => /* @__PURE__ */
|
|
517
|
+
}) => /* @__PURE__ */ L(_e, {
|
|
517
518
|
timeout: ne.transitions.duration.shorter,
|
|
518
519
|
...t,
|
|
519
520
|
...Ge,
|
|
520
521
|
children: /* @__PURE__ */ Te(Ye, {
|
|
521
522
|
...qe,
|
|
522
|
-
children: [g, O ? /* @__PURE__ */
|
|
523
|
+
children: [g, O ? /* @__PURE__ */ L(Ke, {
|
|
523
524
|
...Xe
|
|
524
525
|
}) : null]
|
|
525
526
|
})
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const Je=require("react"),e=require("./generateUtilityClasses-B90hrzv4.cjs"),Qe=require("./index-D5we-BQd.cjs"),Ze=require("./useTheme-C9d_IgK4.cjs"),g=require("react/jsx-runtime"),x=require("./DefaultPropsProvider-DhsUT47i.cjs"),Y=require("./memoTheme-D8ch-Aus.cjs"),I=require("./useSlot-bB9P8y2N.cjs"),O=require("./useTimeout-COCrDKz-.cjs"),eo=require("./useControlled-Ysk4KqoX.cjs"),oo=require("./useId-DNXtOFeX.cjs"),ye=require("./useEventCallback-C0-Qw3Sm.cjs"),to=require("./useForkRef-CTI33h-3.cjs"),be=require("./getReactElementRef-Blb86d4n.cjs"),ro=require("./Grow-B05P--4W.cjs"),Pe=require("./Popper-9z2UJQ7R.cjs"),we=require("./capitalize-CzyXIc5e.cjs"),he=require("./isFocusVisible-DlSijby6.cjs");function po(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const s in r)if(s!=="default"){const l=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(o,s,l.get?l:{enumerable:!0,get:()=>r[s]})}}return o.default=r,Object.freeze(o)}const n=po(Je);function ve(r){return e.generateUtilityClass("MuiTooltip",r)}const p=e.generateUtilityClasses("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function so(r){return Math.round(r*1e5)/1e5}const no=r=>{const{classes:o,disableInteractive:s,arrow:l,touch:C,placement:b}=r,G={popper:["popper",!s&&"popperInteractive",l&&"popperArrow"],tooltip:["tooltip",l&&"tooltipArrow",C&&"touch",`tooltipPlacement${we.capitalize(b.split("-")[0])}`],arrow:["arrow"]};return x.composeClasses(G,ve,o)},io=x.styled(Pe.Popper,{name:"MuiTooltip",slot:"Popper",overridesResolver:(r,o)=>{const{ownerState:s}=r;return[o.popper,!s.disableInteractive&&o.popperInteractive,s.arrow&&o.popperArrow,!s.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:s}=r;return[o.tooltip,s.touch&&o.touch,s.arrow&&o.tooltipArrow,o[`tooltipPlacement${we.capitalize(s.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:`${so(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(s,...l)=>{o&&o(s,...l),r(s,...l)}}const Re=n.forwardRef(function(o,s){const l=x.useDefaultProps({props:o,name:"MuiTooltip"}),{arrow:C=!1,children:b,classes:G,components:S={},componentsProps:E={},describeChild:Oe=!1,disableFocusListener:xe=!1,disableHoverListener:K=!1,disableInteractive:Ce=!1,disableTouchListener:Se=!1,enterDelay:X=100,enterNextDelay:J=0,enterTouchDelay:Ee=700,followCursor:A=!1,id:Me,leaveDelay:Q=0,leaveTouchDelay:je=1500,onClose:Z,onOpen:ee,open:oe,placement:te="bottom",PopperComponent:re,PopperProps:f={},slotProps:T={},slots:$e={},title:y,TransitionComponent:Ne,TransitionProps:Le,...pe}=l,d=n.isValidElement(b)?b:g.jsx("span",{children:b}),se=Ze.useTheme(),De=Qe.useRtl(),[i,ne]=n.useState(),[F,Ie]=n.useState(null),M=n.useRef(!1),U=Ce||A,ie=O.useTimeout(),W=O.useTimeout(),j=O.useTimeout(),ae=O.useTimeout(),[qe,le]=eo.useControlled({controlled:oe,default:!1,name:"Tooltip",state:"open"});let m=qe;if(process.env.NODE_ENV!=="production"){const{current:t}=n.useRef(oe!==void 0);n.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=oo.useId(Me),P=n.useRef(),$=ye.useEventCallback(()=>{P.current!==void 0&&(document.body.style.WebkitUserSelect=P.current,P.current=void 0),ae.clear()});n.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(se.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))},z=t=>{W.clear(),j.start(Q,()=>{N(t)})},[,ue]=n.useState(!1),de=t=>{he.isFocusVisible(t.target)||(ue(!1),z(t))},me=t=>{i||ne(t.currentTarget),he.isFocusVisible(t.target)&&(ue(!0),L(t))},fe=t=>{M.current=!0;const u=d.props;u.onTouchStart&&u.onTouchStart(t)},ke=t=>{fe(t),j.clear(),ie.clear(),$(),P.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ae.start(Ee,()=>{document.body.style.WebkitUserSelect=P.current,L(t)})},Ae=t=>{d.props.onTouchEnd&&d.props.onTouchEnd(t),$(),j.start(je,()=>{N(t)})};n.useEffect(()=>{if(!m)return;function t(u){u.key==="Escape"&&N(u)}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[N,m]);const Fe=to.useForkRef(be.getReactElementRef(d),ne,s);!y&&y!==0&&(m=!1);const V=n.useRef(),Ue=t=>{const u=d.props;u.onMouseMove&&u.onMouseMove(t),R={x:t.clientX,y:t.clientY},V.current&&V.current.update()},w={},_=typeof y=="string";Oe?(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:Fe,...A?{onMouseMove:Ue}:{}};process.env.NODE_ENV!=="production"&&(a["data-mui-internal-clone-element"]=!0,n.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={};Se||(a.onTouchStart=ke,a.onTouchEnd=Ae),K||(a.onMouseOver=k(L,a.onMouseOver),a.onMouseLeave=k(z,a.onMouseLeave),U||(v.onMouseOver=L,v.onMouseLeave=z)),xe||(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:De,arrow:C,disableInteractive:U,placement:te,PopperComponentProp:re,touch:M.current},c=typeof T.popper=="function"?T.popper(h):T.popper,We=n.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=no(h),Be=typeof T.transition=="function"?T.transition(h):T.transition,D={slots:{popper:S.Popper,transition:S.Transition??Ne,tooltip:S.Tooltip,arrow:S.Arrow,...$e},slotProps:{arrow:T.arrow??E.arrow,popper:{...f,...c??E.popper},tooltip:T.tooltip??E.tooltip,transition:{...Le,...Be??E.transition}}},[ze,Ve]=I.useSlot("popper",{elementType:io,externalForwardedProps:D,ownerState:h,className:e.clsx(H.popper,f==null?void 0:f.className)}),[_e,He]=I.useSlot("transition",{elementType:ro.Grow,externalForwardedProps:D,ownerState:h}),[Ye,Ge]=I.useSlot("tooltip",{elementType:ao,className:H.tooltip,externalForwardedProps:D,ownerState:h}),[Ke,Xe]=I.useSlot("arrow",{elementType:lo,className:H.arrow,externalForwardedProps:D,ownerState:h,ref:Ie});return g.jsxs(n.Fragment,{children:[n.cloneElement(d,a),g.jsx(ze,{as:re??Pe.Popper,placement:te,anchorEl:A?{getBoundingClientRect:()=>({top:R.y,left:R.x,right:R.x,bottom:R.y,width:0,height:0})}:i,popperRef:V,open:i?m:!1,id:B,transition:!0,...v,...Ve,popperOptions:We,children:({TransitionProps:t})=>g.jsx(_e,{timeout:se.transitions.duration.shorter,...t,...He,children:g.jsxs(Ye,{...Ge,children:[y,C?g.jsx(Ke,{...Xe}):null]})})})]})});process.env.NODE_ENV!=="production"&&(Re.propTypes={arrow:e.PropTypes.bool,children:be.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(["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=Re;exports.getTooltipUtilityClass=ve;exports.tooltipClasses=p;
|
|
@@ -1,14 +1,15 @@
|
|
|
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 { G as j, H as B, I as C, P as r } from "./generateUtilityClasses-SJ1QPUag.js";
|
|
3
|
+
import { i as S } from "./index-DBDGMwpZ.js";
|
|
4
|
+
import { m as w } from "./memoTheme-C9GnPENe.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-
|
|
7
|
+
import { u as M, s as R, c as N } from "./DefaultPropsProvider-ZFZfNXyN.js";
|
|
8
|
+
import { c } from "./capitalize-R3VbHRUv.js";
|
|
8
9
|
function D(e) {
|
|
9
10
|
return B("MuiTypography", e);
|
|
10
11
|
}
|
|
11
|
-
const
|
|
12
|
+
const L = 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 = {
|
|
12
13
|
primary: !0,
|
|
13
14
|
secondary: !0,
|
|
14
15
|
error: !0,
|
|
@@ -138,8 +139,8 @@ const I = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
|
|
|
138
139
|
noWrap: x = !1,
|
|
139
140
|
paragraph: y = !1,
|
|
140
141
|
variant: l = "body1",
|
|
141
|
-
variantMapping:
|
|
142
|
-
...
|
|
142
|
+
variantMapping: m = b,
|
|
143
|
+
...u
|
|
143
144
|
} = i, f = {
|
|
144
145
|
...i,
|
|
145
146
|
align: n,
|
|
@@ -150,19 +151,19 @@ const I = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
|
|
|
150
151
|
noWrap: x,
|
|
151
152
|
paragraph: y,
|
|
152
153
|
variant: l,
|
|
153
|
-
variantMapping:
|
|
154
|
-
}, v = h || (y ? "p" :
|
|
154
|
+
variantMapping: m
|
|
155
|
+
}, v = h || (y ? "p" : m[l] || b[l]) || "span", T = E(f);
|
|
155
156
|
return /* @__PURE__ */ W(V, {
|
|
156
157
|
as: v,
|
|
157
158
|
ref: t,
|
|
158
159
|
className: C(T.root, g),
|
|
159
|
-
...
|
|
160
|
+
...u,
|
|
160
161
|
ownerState: f,
|
|
161
162
|
style: {
|
|
162
163
|
...n !== "inherit" && {
|
|
163
164
|
"--Typography-textAlign": n
|
|
164
165
|
},
|
|
165
|
-
...
|
|
166
|
+
...u.style
|
|
166
167
|
}
|
|
167
168
|
});
|
|
168
169
|
});
|
|
@@ -255,5 +256,5 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
|
255
256
|
export {
|
|
256
257
|
$ as T,
|
|
257
258
|
D as g,
|
|
258
|
-
|
|
259
|
+
L as t
|
|
259
260
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const C=require("react"),t=require("./generateUtilityClasses-B90hrzv4.cjs"),S=require("./index-C4sHlmg5.cjs"),w=require("./memoTheme-D8ch-Aus.cjs"),B=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),q=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-DhsUT47i.cjs"),y=require("./capitalize-CzyXIc5e.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(C);function P(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"]),D={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},N=S.internal_createExtendSxProp(),U=r=>{const{align:o,gutterBottom:e,noWrap:p,paragraph:s,variant:i,classes:n}=r,a={root:["root",i,r.align!=="inherit"&&`align${y.capitalize(o)}`,e&&"gutterBottom",p&&"noWrap",s&&"paragraph"]};return c.composeClasses(a,P,n)},z=c.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${y.capitalize(e.align)}`],e.noWrap&&o.noWrap,e.gutterBottom&&o.gutterBottom,e.paragraph&&o.paragraph]}})(w.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(B.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${y.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}}]}})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d=R.forwardRef(function(o,e){const{color:p,...s}=c.useDefaultProps({props:o,name:"MuiTypography"}),i=!D[p],n=N({...s,...i&&{color:p}}),{align:a="inherit",className:g,component:u,gutterBottom:x=!1,noWrap:v=!1,paragraph:h=!1,variant:l="body1",variantMapping:T=b,...f}=n,m={...n,align:a,color:p,className:g,component:u,gutterBottom:x,noWrap:v,paragraph:h,variant:l,variantMapping:T},O=u||(h?"p":T[l]||b[l])||"span",j=U(m);return q.jsx(z,{as:O,ref:e,className:t.clsx(j.root,g),...f,ownerState:m,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...f.style}})});process.env.NODE_ENV!=="production"&&(d.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=d;exports.getTypographyUtilityClass=P;exports.typographyClasses=W;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const r=require("./generateUtilityClasses-B90hrzv4.cjs");function t(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":r.formatMuiErrorMessage(7));return e.charAt(0).toUpperCase()+e.slice(1)}exports.capitalize=t;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { J as e } from "./generateUtilityClasses-SJ1QPUag.js";
|
|
2
|
+
function o(r) {
|
|
3
|
+
if (typeof r != "string")
|
|
4
|
+
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : e(7));
|
|
5
|
+
return r.charAt(0).toUpperCase() + r.slice(1);
|
|
6
|
+
}
|
|
7
|
+
export {
|
|
8
|
+
o as c
|
|
9
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("../../useTheme-C9d_IgK4.cjs");const e=require("../../Alert-BoWYecXr.cjs");require("../../generateUtilityClasses-B90hrzv4.cjs");module.exports=e.Alert;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AlertProps as MUIAlertProps } from '@mui/material';
|
|
2
|
-
type AlertProps = {
|
|
1
|
+
import { AlertProps as MUIAlertProps } from '@mui/material/Alert';
|
|
2
|
+
export type AlertProps = {
|
|
3
3
|
title?: string;
|
|
4
|
-
} & Omit<MUIAlertProps, "
|
|
4
|
+
} & Omit<MUIAlertProps, "color">;
|
|
5
5
|
declare const Alert: React.FunctionComponent<AlertProps>;
|
|
6
6
|
export default Alert;
|
|
@@ -1,22 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
fontWeight: 600
|
|
6
|
-
}
|
|
7
|
-
})), s = (t) => /* @__PURE__ */ e(
|
|
8
|
-
d,
|
|
9
|
-
{
|
|
10
|
-
...t,
|
|
11
|
-
severity: t.severity,
|
|
12
|
-
color: t.severity,
|
|
13
|
-
variant: "standard",
|
|
14
|
-
children: [
|
|
15
|
-
t.title && /* @__PURE__ */ r(n, { children: t.title }),
|
|
16
|
-
t.children
|
|
17
|
-
]
|
|
18
|
-
}
|
|
19
|
-
);
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "../../useTheme-EvTdEPuY.js";
|
|
3
|
+
import { b as i } from "../../Alert-D31xXLY_.js";
|
|
4
|
+
import "../../generateUtilityClasses-SJ1QPUag.js";
|
|
20
5
|
export {
|
|
21
|
-
|
|
6
|
+
i as default
|
|
22
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../Alert-BoWYecXr.cjs");exports.Alert=e.Alert;
|
|
@@ -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-DhsUT47i.cjs"),n=require("../../Button-BkHaHEAp.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-ZFZfNXyN.js";
|
|
3
|
+
import { B as n } from "../../Button-kOBqHwsO.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");
|
|
1
|
+
"use strict";require("react/jsx-runtime");const e=require("../../DatePicker-BoM1keBS.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-BoM1keBS.cjs");exports.DatePicker=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-D4Rf4Yq-.cjs"),c=require("@mui/material"),u=require("../../Dialog-LbgQSeqb.cjs"),a=({children:s,showCloseButton:i=!0,...e})=>{const o=()=>{var l;return(l=e.onClose)==null?void 0:l.call(e,{},"escapeKeyDown")};return n.jsxs(u.Dialog,{...e,children:[i?n.jsx(c.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:24,top:24},children:n.jsx(t.CloseRounded,{})}):null,s]})};module.exports=a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { C as s } from "../../CloseRounded-
|
|
2
|
+
import { C as s } from "../../CloseRounded-DXBTbQ8P.js";
|
|
3
3
|
import { IconButton as t } from "@mui/material";
|
|
4
|
-
import { D as c } from "../../Dialog-
|
|
4
|
+
import { D as c } from "../../Dialog-BdWhnP_F.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
children: e,
|
|
7
7
|
showCloseButton: a = !0,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),o=require("../../createSvgIcon-DjTQ6UHI.cjs"),g=require("../../index-DzunNw1H.cjs"),x=require("../../Stack-DVHYuvhX.cjs"),i=require("../../Typography-Daq_a9_t.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,10 +1,12 @@
|
|
|
1
1
|
import { DropzoneProps as ReactDropzoneProps } from 'react-dropzone';
|
|
2
|
+
import { DropZoneSlotProps } from './types';
|
|
2
3
|
export type DropzoneProps = {
|
|
3
4
|
defaultLabel?: string;
|
|
4
5
|
dragLabel?: string;
|
|
5
6
|
information?: string;
|
|
6
7
|
width?: string;
|
|
7
8
|
height?: string;
|
|
9
|
+
slotProps?: DropZoneSlotProps;
|
|
8
10
|
} & ReactDropzoneProps;
|
|
9
11
|
declare const Dropzone: React.FunctionComponent<DropzoneProps>;
|
|
10
12
|
export default Dropzone;
|
|
@@ -1,52 +1,55 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import { u } from "../../index-
|
|
4
|
-
import { S as
|
|
5
|
-
import { T as o } from "../../Typography-
|
|
6
|
-
const
|
|
1
|
+
import { jsx as r, jsxs as i, Fragment as t } from "react/jsx-runtime";
|
|
2
|
+
import { c as a } from "../../createSvgIcon-Dk3n_NBz.js";
|
|
3
|
+
import { u as f } from "../../index-8ZjeXGh4.js";
|
|
4
|
+
import { S as y } from "../../Stack-Ba2nYyYI.js";
|
|
5
|
+
import { T as o } from "../../Typography-BJPk_mTw.js";
|
|
6
|
+
const v = a(/* @__PURE__ */ r("path", {
|
|
7
7
|
d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
|
|
8
|
-
}), "FileUpload"), z =
|
|
8
|
+
}), "FileUpload"), z = a(/* @__PURE__ */ r("path", {
|
|
9
9
|
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"
|
|
10
|
-
}), "UploadFile"),
|
|
11
|
-
defaultLabel:
|
|
12
|
-
dragLabel:
|
|
13
|
-
information:
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
16
|
-
|
|
10
|
+
}), "UploadFile"), H = ({
|
|
11
|
+
defaultLabel: l = "Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",
|
|
12
|
+
dragLabel: d = "Déposer les fichiers ici",
|
|
13
|
+
information: c,
|
|
14
|
+
width: p,
|
|
15
|
+
height: h,
|
|
16
|
+
slotProps: e = {},
|
|
17
|
+
...s
|
|
17
18
|
}) => {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
var n;
|
|
20
|
+
const { getRootProps: m, getInputProps: u, isDragActive: g } = f(s);
|
|
21
|
+
return /* @__PURE__ */ i(
|
|
22
|
+
y,
|
|
21
23
|
{
|
|
22
24
|
direction: "column",
|
|
23
25
|
justifyContent: "center",
|
|
24
26
|
alignItems: "center",
|
|
25
27
|
spacing: 1,
|
|
26
|
-
width:
|
|
27
|
-
height:
|
|
28
|
+
width: p ?? "18rem",
|
|
29
|
+
height: h ?? "auto",
|
|
28
30
|
padding: 1,
|
|
29
31
|
border: "1px dashed",
|
|
30
32
|
borderColor: "grey.main",
|
|
31
33
|
borderRadius: 1,
|
|
32
34
|
sx: {
|
|
33
|
-
cursor: "pointer"
|
|
35
|
+
cursor: "pointer",
|
|
36
|
+
...(n = e.root) == null ? void 0 : n.sx
|
|
34
37
|
},
|
|
35
|
-
...
|
|
38
|
+
...m(),
|
|
36
39
|
children: [
|
|
37
|
-
/* @__PURE__ */ r("input", { ...
|
|
38
|
-
|
|
39
|
-
/* @__PURE__ */ r(
|
|
40
|
-
/* @__PURE__ */ r(o, { children:
|
|
41
|
-
] }) : /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */ r(z, { color: "primary" }),
|
|
43
|
-
/* @__PURE__ */ r(o, { children:
|
|
44
|
-
|
|
40
|
+
/* @__PURE__ */ r("input", { ...u(), ...e.input }),
|
|
41
|
+
g ? /* @__PURE__ */ i(t, { children: [
|
|
42
|
+
/* @__PURE__ */ r(v, { color: "primary", ...e.icon }),
|
|
43
|
+
/* @__PURE__ */ r(o, { ...e.label, children: d })
|
|
44
|
+
] }) : /* @__PURE__ */ i(t, { children: [
|
|
45
|
+
/* @__PURE__ */ r(z, { color: "primary", ...e.icon }),
|
|
46
|
+
/* @__PURE__ */ r(o, { ...e.label, children: l }),
|
|
47
|
+
c ? /* @__PURE__ */ r(o, { variant: "body2", color: "grey", ...e.information, children: c }) : null
|
|
45
48
|
] })
|
|
46
49
|
]
|
|
47
50
|
}
|
|
48
51
|
);
|
|
49
52
|
};
|
|
50
53
|
export {
|
|
51
|
-
|
|
54
|
+
H as default
|
|
52
55
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StackProps, SvgIconProps, TypographyProps } from '@mui/material';
|
|
2
|
+
export type DropZoneSlotProps = {
|
|
3
|
+
root?: StackProps;
|
|
4
|
+
input?: React.InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
+
icon?: SvgIconProps;
|
|
6
|
+
label?: TypographyProps;
|
|
7
|
+
information?: TypographyProps;
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("../../Stack-DVHYuvhX.cjs"),g=require("../../Box-ge7hyt34.cjs"),e=require("../../Typography-Daq_a9_t.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,15 @@
|
|
|
1
1
|
import { StackProps } from '@mui/material/Stack';
|
|
2
2
|
import { TypographyProps } from '@mui/material/Typography';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import { ImgHTMLAttributes, ReactNode } from 'react';
|
|
4
|
+
export type EmptyStateProps = ({
|
|
5
|
+
image: ReactNode;
|
|
6
|
+
imageProps?: never;
|
|
7
|
+
imageSrc?: never;
|
|
8
|
+
} | {
|
|
9
|
+
image?: never;
|
|
10
|
+
imageProps?: ImgHTMLAttributes<HTMLImageElement>;
|
|
11
|
+
imageSrc: string;
|
|
12
|
+
}) & {
|
|
5
13
|
title: string;
|
|
6
14
|
description?: string;
|
|
7
15
|
descriptionProps?: TypographyProps;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { T as
|
|
1
|
+
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { S as l } from "../../Stack-Ba2nYyYI.js";
|
|
3
|
+
import { B as g } from "../../Box--MaxIKbn.js";
|
|
4
|
+
import { T as o } from "../../Typography-BJPk_mTw.js";
|
|
5
5
|
const y = ({
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
image: e,
|
|
7
|
+
imageProps: i,
|
|
8
|
+
imageSrc: a,
|
|
9
|
+
title: m,
|
|
8
10
|
description: r,
|
|
9
|
-
descriptionProps:
|
|
10
|
-
svgProps:
|
|
11
|
-
titleProps:
|
|
12
|
-
...
|
|
13
|
-
}) =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
] }) : null;
|
|
28
|
-
};
|
|
11
|
+
descriptionProps: n,
|
|
12
|
+
svgProps: p,
|
|
13
|
+
titleProps: h,
|
|
14
|
+
...c
|
|
15
|
+
}) => /* @__PURE__ */ s(
|
|
16
|
+
l,
|
|
17
|
+
{
|
|
18
|
+
direction: "column",
|
|
19
|
+
alignItems: "center",
|
|
20
|
+
margin: "0 auto",
|
|
21
|
+
...c,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ t(g, { height: 200, width: "auto", children: e ?? /* @__PURE__ */ t("img", { src: a, height: "100%", ...i }) }),
|
|
24
|
+
/* @__PURE__ */ t(o, { variant: "h2", fontWeight: 500, mt: 3, ...h, children: m }),
|
|
25
|
+
r ? /* @__PURE__ */ t(o, { color: "textSecondary", mt: 2, ...n, children: r }) : null
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
);
|
|
29
29
|
export {
|
|
30
30
|
y as default
|
|
31
31
|
};
|