@cgi-learning-hub/ui 1.7.0-dev.1754063892 → 1.7.0-dev.1754301119
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-D7CiHM6d.js → Alert-5HprKpir.js} +6 -6
- package/dist/{Alert-kxWN2hw0.js → Alert-CuHfEhGp.js} +11 -12
- package/dist/Alert-oX08_btj.cjs +1 -0
- package/dist/Alert-t9Y5Rmd0.cjs +1 -0
- package/dist/Autocomplete-B8P9Ovq8.cjs +6 -0
- package/dist/{Autocomplete-BfNqYbav.js → Autocomplete-CnlyVovu.js} +44 -45
- package/dist/Backdrop-BoQZpWZe.cjs +1 -0
- package/dist/{Backdrop-D7dPrxSb.js → Backdrop-afVH4rly.js} +36 -35
- package/dist/Badge-BzldmSCw.cjs +1 -0
- package/dist/{Badge-DBzOcFK5.js → Badge-DpZnnKn_.js} +9 -10
- package/dist/Box-DZPm-7sq.cjs +1 -0
- package/dist/{Box-CBqFcDTK.js → Box-Y5NFdtT9.js} +3 -3
- package/dist/{Button-CdzT4uYI.js → Button-ClQzrcfJ.js} +115 -149
- package/dist/Button-DirKtTwl.cjs +1 -0
- package/dist/{ButtonBase-C1FIHWcD.js → ButtonBase-C1B1bSuc.js} +2 -2
- package/dist/{ButtonBase-BOnOTx73.cjs → ButtonBase-CfNwaETo.cjs} +1 -1
- package/dist/CardContent-AsctHPxN.cjs +1 -0
- package/dist/{CardContent-cbluqmUz.js → CardContent-C-7Ills7.js} +3 -3
- package/dist/{Checkbox-CXMDqMmf.js → Checkbox-BDo-Ja4u.js} +26 -27
- package/dist/Checkbox-D-IlU3y3.cjs +1 -0
- package/dist/Chip-BMkket_G.cjs +1 -0
- package/dist/{Chip-BpeHDShb.js → Chip-DaVoVFrv.js} +102 -102
- package/dist/CircularProgress-DHKrC_wC.cjs +28 -0
- package/dist/{CircularProgress-ByBabaUG.js → CircularProgress-e2GwZjvZ.js} +13 -14
- package/dist/{Close-NlNVwj8F.cjs → Close-5D8Ib460.cjs} +1 -1
- package/dist/{Close-BjQCC0qE.js → Close-SkZcN5BS.js} +1 -1
- package/dist/{CloseRounded-XK3z7Pzh.cjs → CloseRounded-PDGvPmjB.cjs} +1 -1
- package/dist/{CloseRounded-DHTxUBWk.js → CloseRounded-pu2ZIJ3C.js} +1 -1
- package/dist/{CustomTreeItem-C1bfen5B.cjs → CustomTreeItem-BEITZFVP.cjs} +1 -1
- package/dist/{CustomTreeItem-D-4kMx41.js → CustomTreeItem-CzwoMYbo.js} +12 -12
- package/dist/DatePicker-BC18fq-N.cjs +16 -0
- package/dist/{DatePicker-DZrDegSu.js → DatePicker-BlhninZc.js} +2862 -2864
- package/dist/{DefaultPropsProvider-BrNsAtD3.js → DefaultPropsProvider-DUvQuMqx.js} +23 -23
- package/dist/DefaultPropsProvider-L6HBe-61.cjs +1 -0
- package/dist/{Delete-De1w6Wb0.js → Delete-BG2nuo1g.js} +1 -1
- package/dist/{Delete-jSTHS8bP.cjs → Delete-C3U_yHlr.cjs} +1 -1
- package/dist/Dialog-BrzV4wxg.cjs +1 -0
- package/dist/{Dialog-Cx__5cTV.js → Dialog-DNVqOw2s.js} +14 -15
- package/dist/DialogContent-CB_sWv9x.cjs +1 -0
- package/dist/{DialogContent-DrRkY205.js → DialogContent-D5a75H3s.js} +3 -3
- package/dist/DialogTitle-CNbmF6WW.cjs +1 -0
- package/dist/{DialogTitle-CdH-pj3R.js → DialogTitle-JZQnwtuk.js} +5 -5
- package/dist/{Divider-BTDjUp2v.js → Divider-CYeubXMv.js} +4 -4
- package/dist/Divider-LtKWCwQ0.cjs +1 -0
- package/dist/{Folder-BdmrBiSE.js → Folder-BOpUcb-0.js} +1 -1
- package/dist/{Folder-Ry-DhShC.cjs → Folder-Buw8vc6p.cjs} +1 -1
- package/dist/FormLabel-BgcoFMaK.cjs +2 -0
- package/dist/{FormLabel-BqkN_xxS.js → FormLabel-Co9lVChV.js} +15 -16
- package/dist/{Grid-Dal_bzkG.js → Grid-7Ov-bB30.js} +74 -82
- package/dist/Grid-DZuUDIfd.cjs +2 -0
- package/dist/{Grow-BpiZp6xU.js → Grow-BkwKF7q9.js} +1 -1
- package/dist/{Grow-DPkmt9jI.cjs → Grow-D3LPFWff.cjs} +1 -1
- package/dist/{IconButton-BrEiwZs1.js → IconButton-Blb-11WY.js} +5 -6
- package/dist/IconButton-eTKjCSYh.cjs +2 -0
- package/dist/InputAdornment-AXmehV8N.cjs +1 -0
- package/dist/{InputAdornment-6pibWhBs.js → InputAdornment-DVvWksJD.js} +14 -15
- package/dist/{InputBase--Jk0Al5O.js → InputBase-BH6v1g55.js} +50 -51
- package/dist/InputBase-CJ__hvW-.cjs +4 -0
- package/dist/{Link-8wJ87d6M.js → Link-CTpG0nMM.js} +10 -11
- package/dist/Link-J35C0yR7.cjs +1 -0
- package/dist/List-DqWGUj00.cjs +1 -0
- package/dist/{List-q9c0EQIN.js → List-HZ02T5IH.js} +2 -2
- package/dist/ListItem-DHXWFekp.cjs +1 -0
- package/dist/{ListItem-iH38wGFD.js → ListItem-d54kASOG.js} +4 -4
- package/dist/ListItemText-BBfnonUl.cjs +1 -0
- package/dist/{ListItemText-7p6JHq3z.js → ListItemText-DYmSkIYb.js} +9 -9
- package/dist/{Menu-CZF84BcH.cjs → Menu-DaY3i7bt.cjs} +5 -5
- package/dist/{Menu-B-AGEy5x.js → Menu-_ydVG0GC.js} +28 -28
- package/dist/{MenuItem-D-Y0l50p.js → MenuItem-Dm4LBnCD.js} +7 -7
- package/dist/MenuItem-H2jLZZlW.cjs +1 -0
- package/dist/{Modal-rm4Wr5mr.js → Modal-BzSNDBLR.js} +6 -6
- package/dist/Modal-Dzfy_1jJ.cjs +2 -0
- package/dist/{MoreVert-K_wr6kJS.js → MoreVert-B3ciLTYq.js} +1 -1
- package/dist/{MoreVert-4w5beLFq.cjs → MoreVert-IEpmt0uR.cjs} +1 -1
- package/dist/Paper-C556kWTS.cjs +2 -0
- package/dist/{Paper-CFhnudKQ.js → Paper-DyvwdVbr.js} +4 -4
- package/dist/{Popper-tW85AcRT.js → Popper-BeTnr75i.js} +4 -4
- package/dist/Popper-CUaI4ozF.cjs +4 -0
- package/dist/{Portal-DZrHcvYi.js → Portal-BlK6ttxt.js} +15 -15
- package/dist/Portal-CPOCKeMh.cjs +1 -0
- package/dist/{Radio-C1IIog7f.js → Radio-Bu3a_PCd.js} +78 -74
- package/dist/Radio-D7yE5cpq.cjs +1 -0
- package/dist/RadioGroup-D4RBSqS4.cjs +1 -0
- package/dist/{RadioGroup-C03E_nJT.js → RadioGroup-uNUiFbWR.js} +3 -3
- package/dist/{Select-qUF3oQz8.js → Select-DOdisH2t.js} +292 -284
- package/dist/Select-DuhWfirM.cjs +3 -0
- package/dist/{Stack-D1BZQ4nk.js → Stack-HQi3T-bA.js} +16 -16
- package/dist/Stack-g8Bqti2Z.cjs +1 -0
- package/dist/Stepper-CHdyehzy.cjs +1 -0
- package/dist/{Stepper-N5qN-x7q.js → Stepper-CLIIxOjX.js} +22 -23
- package/dist/Switch-BO43FkC8.cjs +1 -0
- package/dist/{Switch-PlSZBWfd.js → Switch-DMXAop9u.js} +19 -20
- package/dist/SwitchBase-DEmHoES3.cjs +1 -0
- package/dist/{SwitchBase-CAOV2ay6.js → SwitchBase-DHIl4C4Y.js} +50 -48
- package/dist/{Tab-DfH7qAIY.js → Tab-Wa4vpq-c.js} +75 -76
- package/dist/Tab-YDNeFPka.cjs +4 -0
- package/dist/{TextField-CUhKk24w.js → TextField-C1yi1eJS.js} +22 -23
- package/dist/TextField-C9KnxAy6.cjs +1 -0
- package/dist/ToggleButtonGroup-BO41LFPa.cjs +138 -0
- package/dist/{ToggleButtonGroup-D_I3DjEz.js → ToggleButtonGroup-BbPnmCNn.js} +1304 -1328
- package/dist/{Tooltip-BLSnjkFh.js → Tooltip-BJEo8ucK.js} +23 -24
- package/dist/Tooltip-D2pRQ5fo.cjs +4 -0
- package/dist/Typography-B9IL0Yyj.cjs +1 -0
- package/dist/{Typography-Bdfl0Alf.js → Typography-FOMqoyry.js} +6 -7
- package/dist/components/ActionBar/style.cjs.js +1 -1
- package/dist/components/ActionBar/style.es.js +2 -2
- package/dist/components/Alert/Alert.cjs.js +1 -1
- package/dist/components/Alert/Alert.es.js +4 -4
- package/dist/components/Alert/index.cjs.js +1 -1
- package/dist/components/Alert/index.es.js +1 -1
- 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 +3 -3
- 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 +4 -4
- 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/SearchInput/SearchInput.cjs.js +1 -1
- package/dist/components/SearchInput/SearchInput.es.js +4 -4
- package/dist/components/TreeView/TreeView.cjs.js +2 -2
- package/dist/components/TreeView/TreeView.es.js +39 -39
- 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 +44 -44
- 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/Badge.stories.cjs.js +1 -1
- package/dist/components/stories/Badge.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/ButtonGroup.stories.cjs.js +1 -1
- package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
- 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/Stepper.stories.cjs.js +1 -1
- package/dist/components/stories/Stepper.stories.es.js +4 -4
- 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 +1 -1
- package/dist/components/stories/TreeView.stories.es.js +12 -12
- package/dist/components/stories/Typography.stories.cjs.js +1 -1
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-nrGLeL-I.js → createSvgIcon-CBuQt1E7.js} +7 -8
- package/dist/createSvgIcon-DdYUnzSL.cjs +1 -0
- package/dist/{dividerClasses-Cds5AHtx.js → dividerClasses-DAQcMLKz.js} +1 -1
- package/dist/dividerClasses-ZjarMa6x.cjs +1 -0
- package/dist/{extendSxProp-e_bx8m3Z.js → extendSxProp-BqMCV2uy.js} +1 -1
- package/dist/extendSxProp-CJQ3kPMK.cjs +1 -0
- package/dist/identifier-DEr2pTmJ.cjs +55 -0
- package/dist/{generateUtilityClasses-32ARRWdA.js → identifier-MtSOtM28.js} +585 -615
- package/dist/{index-B9KBbi0q.js → index-6tKU6ZQK.js} +4 -4
- package/dist/index-DXLTUqRz.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +44 -44
- package/dist/listItemTextClasses-1rlNhf-V.cjs +1 -0
- package/dist/{listItemTextClasses-D1H_8v-c.js → listItemTextClasses-CEEJTyBd.js} +1 -1
- package/dist/{memoTheme-BBxIYGG7.js → memoTheme-BkQtxnmm.js} +1 -1
- package/dist/{memoTheme-BsSXjuJK.cjs → memoTheme-COFyM-Lj.cjs} +1 -1
- package/dist/mergeSlotProps-CxIbs-F-.cjs +1 -0
- package/dist/{mergeSlotProps-r8Lw8Cah.js → mergeSlotProps-DoT5Q_u9.js} +1 -1
- package/dist/styled-CrcV-2Lu.js +5 -0
- package/dist/styled-DI-9E4CZ.cjs +1 -0
- package/dist/useSlot-CDchSDy6.cjs +1 -0
- package/dist/{useSlot-DnOTNYbF.js → useSlot-CKkACQ6_.js} +1 -1
- package/dist/{useSlotProps-5aNXGFYF.cjs → useSlotProps-C6ampkNB.cjs} +1 -1
- package/dist/{useSlotProps-BwBEemtt.js → useSlotProps-gY5pnb4R.js} +1 -1
- package/dist/useTheme-BopB_RfW.js +11 -0
- package/dist/useTheme-CcW-d3_-.cjs +1 -0
- package/dist/useTheme-DtUyXlAF.cjs +1 -0
- package/dist/{useTheme-CMVVKo4v.js → useTheme-FvB4v6HF.js} +1 -1
- package/dist/useThemeProps-BrAWHIaw.cjs +1 -0
- package/dist/{useThemeProps-BIb0QYVO.cjs → useThemeProps-CMAEtBA0.cjs} +1 -1
- package/dist/useThemeProps-DFxy_wfq.js +17 -0
- package/dist/{useThemeProps-lFVeX-f0.js → useThemeProps-DQn1JzAi.js} +4 -4
- package/package.json +7 -7
- package/dist/Alert-C6iEisoq.cjs +0 -1
- package/dist/Alert-D4JVZyQU.cjs +0 -1
- package/dist/Autocomplete-1xee2eiQ.cjs +0 -6
- package/dist/Backdrop-DgkaE-oT.cjs +0 -1
- package/dist/Badge-BUbP5vp-.cjs +0 -1
- package/dist/Box-C1W2izKY.cjs +0 -1
- package/dist/Button-cDSw19Nq.cjs +0 -1
- package/dist/CardContent-D4botNGC.cjs +0 -1
- package/dist/Checkbox-BXKolrmm.cjs +0 -1
- package/dist/Chip-Ch-5oIUc.cjs +0 -1
- package/dist/CircularProgress-CTG6zAAM.cjs +0 -28
- package/dist/DatePicker-Slqqr585.cjs +0 -16
- package/dist/DefaultPropsProvider-H9bB_0gL.cjs +0 -1
- package/dist/Dialog-CzMU1Vaw.cjs +0 -1
- package/dist/DialogContent-mzqgUnTG.cjs +0 -1
- package/dist/DialogTitle-Ba_P5rRd.cjs +0 -1
- package/dist/Divider-CZPVxsPO.cjs +0 -1
- package/dist/FormLabel-DJ9MlN95.cjs +0 -2
- package/dist/Grid-gwsV6B8i.cjs +0 -2
- package/dist/IconButton-DQ0-3085.cjs +0 -2
- package/dist/InputAdornment-BM3llcq_.cjs +0 -1
- package/dist/InputBase-C4hx7uf2.cjs +0 -4
- package/dist/Link-CIQePe28.cjs +0 -1
- package/dist/List--5MPONUQ.cjs +0 -1
- package/dist/ListItem-C2_Z7drq.cjs +0 -1
- package/dist/ListItemText-D9-Pz-Pv.cjs +0 -1
- package/dist/MenuItem-Tfoo4dBw.cjs +0 -1
- package/dist/Modal-DeI0Mlfa.cjs +0 -2
- package/dist/Paper-_oaR1_0W.cjs +0 -2
- package/dist/Popper-D60dNc4H.cjs +0 -4
- package/dist/Portal-BXwfYalF.cjs +0 -1
- package/dist/Radio-DTyaqbCx.cjs +0 -1
- package/dist/RadioGroup-Ch703c6I.cjs +0 -1
- package/dist/Select-BFy88I22.cjs +0 -3
- package/dist/Stack-DraxEahz.cjs +0 -1
- package/dist/Stepper-DZ3G6yg0.cjs +0 -1
- package/dist/Switch-JAYiSudG.cjs +0 -1
- package/dist/SwitchBase-CLGs4Tit.cjs +0 -1
- package/dist/Tab-BnZwSzzt.cjs +0 -4
- package/dist/TextField-3tuxHLZ9.cjs +0 -1
- package/dist/ToggleButtonGroup-BZRf-b3W.cjs +0 -138
- package/dist/Tooltip-Bzb_mXr7.cjs +0 -4
- package/dist/Typography-CZKR4ZRK.cjs +0 -1
- package/dist/capitalize-CgHuXq7I.js +0 -9
- package/dist/capitalize-N-bUbBKG.cjs +0 -1
- package/dist/composeClasses-CZaHK87I.js +0 -51
- package/dist/composeClasses-DLNLdr2K.cjs +0 -1
- package/dist/createSvgIcon-DzMPK9Wt.cjs +0 -1
- package/dist/dividerClasses-DT1ACCA-.cjs +0 -1
- package/dist/extendSxProp-IrF6qCII.cjs +0 -1
- package/dist/generateUtilityClasses-CdsrTlgj.cjs +0 -55
- package/dist/index-DGUCeeBA.cjs +0 -1
- package/dist/listItemTextClasses-BK-fvEix.cjs +0 -1
- package/dist/mergeSlotProps-wZnr2VqA.cjs +0 -1
- package/dist/useSlot-BI_E4Zjs.cjs +0 -1
- package/dist/useTheme-6FgHgKII.cjs +0 -1
- package/dist/useTheme-Bjns7t5p.js +0 -11
- package/dist/useTheme-BxDf8E3o.cjs +0 -1
- package/dist/useThemeProps-BwzAhOV5.cjs +0 -1
- package/dist/useThemeProps-DV7UxDZG.js +0 -17
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
2
|
import { P as e } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { F as Je, G as Qe, H as ge,
|
|
3
|
+
import { F as Je, G as Qe, H as ge, K as ve, n as Re } from "./identifier-MtSOtM28.js";
|
|
4
4
|
import { u as Ze } from "./index-DX2Sl0Ig.js";
|
|
5
|
-
import { u as eo } from "./useTheme-
|
|
5
|
+
import { u as eo } from "./useTheme-BopB_RfW.js";
|
|
6
6
|
import { jsx as L, jsxs as Te } from "react/jsx-runtime";
|
|
7
|
-
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-
|
|
8
|
-
import { m as Y } from "./memoTheme-
|
|
9
|
-
import { u as I } from "./useSlot-
|
|
7
|
+
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-DUvQuMqx.js";
|
|
8
|
+
import { m as Y } from "./memoTheme-BkQtxnmm.js";
|
|
9
|
+
import { u as I } from "./useSlot-CKkACQ6_.js";
|
|
10
10
|
import { u as j, T as ro } from "./useTimeout-CrCYVizI.js";
|
|
11
11
|
import { u as po } from "./useControlled-nm4pBabJ.js";
|
|
12
12
|
import { u as no } from "./useId-CK6Kn3Tn.js";
|
|
13
13
|
import { a as be } from "./useEventCallback-Y2KwRxBw.js";
|
|
14
14
|
import { u as so } from "./useForkRef-u29GSuCu.js";
|
|
15
15
|
import { g as io, e as ao } from "./elementAcceptingRef-CEweUuUA.js";
|
|
16
|
-
import { G as lo } from "./Grow-
|
|
17
|
-
import { P as
|
|
18
|
-
import { c as Oe } from "./capitalize-CgHuXq7I.js";
|
|
16
|
+
import { G as lo } from "./Grow-BkwKF7q9.js";
|
|
17
|
+
import { P as Oe } from "./Popper-BeTnr75i.js";
|
|
19
18
|
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
20
19
|
function co(r) {
|
|
21
20
|
return Qe("MuiTooltip", r);
|
|
@@ -31,13 +30,13 @@ const uo = (r) => {
|
|
|
31
30
|
arrow: d,
|
|
32
31
|
touch: O,
|
|
33
32
|
placement: b
|
|
34
|
-
} = r,
|
|
33
|
+
} = r, K = {
|
|
35
34
|
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
|
36
|
-
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${
|
|
35
|
+
tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${ve(b.split("-")[0])}`],
|
|
37
36
|
arrow: ["arrow"]
|
|
38
37
|
};
|
|
39
|
-
return to(
|
|
40
|
-
}, fo = G(
|
|
38
|
+
return to(K, co, o);
|
|
39
|
+
}, fo = G(Oe, {
|
|
41
40
|
name: "MuiTooltip",
|
|
42
41
|
slot: "Popper",
|
|
43
42
|
overridesResolver: (r, o) => {
|
|
@@ -147,12 +146,12 @@ const uo = (r) => {
|
|
|
147
146
|
const {
|
|
148
147
|
ownerState: s
|
|
149
148
|
} = r;
|
|
150
|
-
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])}`]];
|
|
151
150
|
}
|
|
152
151
|
})(Y(({
|
|
153
152
|
theme: r
|
|
154
153
|
}) => ({
|
|
155
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg :
|
|
154
|
+
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
|
|
156
155
|
borderRadius: (r.vars || r).shape.borderRadius,
|
|
157
156
|
color: (r.vars || r).palette.common.white,
|
|
158
157
|
fontFamily: r.typography.fontFamily,
|
|
@@ -272,7 +271,7 @@ const uo = (r) => {
|
|
|
272
271
|
width: "1em",
|
|
273
272
|
height: "0.71em",
|
|
274
273
|
boxSizing: "border-box",
|
|
275
|
-
color: r.vars ? r.vars.palette.Tooltip.bg :
|
|
274
|
+
color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
|
|
276
275
|
"&::before": {
|
|
277
276
|
content: '""',
|
|
278
277
|
margin: "auto",
|
|
@@ -301,12 +300,12 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
301
300
|
}), {
|
|
302
301
|
arrow: O = !1,
|
|
303
302
|
children: b,
|
|
304
|
-
classes:
|
|
303
|
+
classes: K,
|
|
305
304
|
components: P = {},
|
|
306
305
|
componentsProps: x = {},
|
|
307
306
|
describeChild: Pe = !1,
|
|
308
307
|
disableFocusListener: xe = !1,
|
|
309
|
-
disableHoverListener:
|
|
308
|
+
disableHoverListener: q = !1,
|
|
310
309
|
disableInteractive: Ce = !1,
|
|
311
310
|
disableTouchListener: Me = !1,
|
|
312
311
|
enterDelay: X = 100,
|
|
@@ -407,7 +406,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
407
406
|
y: t.clientY
|
|
408
407
|
}, z.current && z.current.update();
|
|
409
408
|
}, w = {}, H = typeof g == "string";
|
|
410
|
-
Pe ? (w.title = !u && H && !
|
|
409
|
+
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
410
|
const a = {
|
|
412
411
|
...w,
|
|
413
412
|
...pe,
|
|
@@ -424,7 +423,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
424
423
|
`));
|
|
425
424
|
}, [i]));
|
|
426
425
|
const v = {};
|
|
427
|
-
Me || (a.onTouchStart = ke, a.onTouchEnd = Fe),
|
|
426
|
+
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
427
|
`));
|
|
429
428
|
const T = {
|
|
430
429
|
...d,
|
|
@@ -479,12 +478,12 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
479
478
|
elementType: lo,
|
|
480
479
|
externalForwardedProps: N,
|
|
481
480
|
ownerState: T
|
|
482
|
-
}), [Ye,
|
|
481
|
+
}), [Ye, Ke] = I("tooltip", {
|
|
483
482
|
elementType: ho,
|
|
484
483
|
className: _.tooltip,
|
|
485
484
|
externalForwardedProps: N,
|
|
486
485
|
ownerState: T
|
|
487
|
-
}), [
|
|
486
|
+
}), [qe, Xe] = I("arrow", {
|
|
488
487
|
elementType: go,
|
|
489
488
|
className: _.arrow,
|
|
490
489
|
externalForwardedProps: N,
|
|
@@ -493,7 +492,7 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
493
492
|
});
|
|
494
493
|
return /* @__PURE__ */ Te(n.Fragment, {
|
|
495
494
|
children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ L(ze, {
|
|
496
|
-
as: re ??
|
|
495
|
+
as: re ?? Oe,
|
|
497
496
|
placement: te,
|
|
498
497
|
anchorEl: k ? {
|
|
499
498
|
getBoundingClientRect: () => ({
|
|
@@ -519,8 +518,8 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
|
519
518
|
...t,
|
|
520
519
|
...Ge,
|
|
521
520
|
children: /* @__PURE__ */ Te(Ye, {
|
|
522
|
-
...
|
|
523
|
-
children: [g, O ? /* @__PURE__ */ L(
|
|
521
|
+
...Ke,
|
|
522
|
+
children: [g, O ? /* @__PURE__ */ L(qe, {
|
|
524
523
|
...Xe
|
|
525
524
|
}) : null]
|
|
526
525
|
})
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const Je=require("react"),e=require("./index-DLnSn8GT.cjs"),h=require("./identifier-DEr2pTmJ.cjs"),Qe=require("./index-CrINMjCH.cjs"),Ze=require("./useTheme-CcW-d3_-.cjs"),b=require("react/jsx-runtime"),C=require("./DefaultPropsProvider-L6HBe-61.cjs"),G=require("./memoTheme-COFyM-Lj.cjs"),q=require("./useSlot-CDchSDy6.cjs"),x=require("./useTimeout-COCrDKz-.cjs"),eo=require("./useControlled-QrrYcKxm.cjs"),oo=require("./useId-DNXtOFeX.cjs"),he=require("./useEventCallback-BxpcFap0.cjs"),to=require("./useForkRef-CFhhTu-Q.cjs"),Pe=require("./elementAcceptingRef-BZ42cOGO.cjs"),ro=require("./Grow-D3LPFWff.cjs"),we=require("./Popper-CUaI4ozF.cjs"),ge=require("./isFocusVisible-DlSijby6.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(Je);function ve(r){return h.generateUtilityClass("MuiTooltip",r)}const p=h.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:S,placement:P}=r,K={popper:["popper",!n&&"popperInteractive",l&&"popperArrow"],tooltip:["tooltip",l&&"tooltipArrow",S&&"touch",`tooltipPlacement${h.capitalize(P.split("-")[0])}`],arrow:["arrow"]};return C.composeClasses(K,ve,o)},io=C.styled(we.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]}})(G.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=C.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${h.capitalize(n.placement.split("-")[0])}`]]}})(G.memoTheme(({theme:r})=>({backgroundColor:r.vars?r.vars.palette.Tooltip.bg:h.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=C.styled("span",{name:"MuiTooltip",slot:"Arrow"})(G.memoTheme(({theme:r})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:r.vars?r.vars.palette.Tooltip.bg:h.alpha(r.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let k=!1;const be=new x.Timeout;let O={x:0,y:0};function A(r,o){return(n,...l)=>{o&&o(n,...l),r(n,...l)}}const Re=s.forwardRef(function(o,n){const l=C.useDefaultProps({props:o,name:"MuiTooltip"}),{arrow:S=!1,children:P,classes:K,components:E={},componentsProps:M={},describeChild:Oe=!1,disableFocusListener:xe=!1,disableHoverListener:X=!1,disableInteractive:Ce=!1,disableTouchListener:Se=!1,enterDelay:J=100,enterNextDelay:Q=0,enterTouchDelay:Ee=700,followCursor:F=!1,id:Me,leaveDelay:Z=0,leaveTouchDelay:je=1500,onClose:ee,onOpen:oe,open:te,placement:re="bottom",PopperComponent:pe,PopperProps:f={},slotProps:T={},slots:$e={},title:y,TransitionComponent:Ne,TransitionProps:Le,...ne}=l,d=s.isValidElement(P)?P:b.jsx("span",{children:P}),se=Ze.useTheme(),De=Qe.useRtl(),[i,ie]=s.useState(),[U,Ie]=s.useState(null),j=s.useRef(!1),W=Ce||F,ae=x.useTimeout(),B=x.useTimeout(),$=x.useTimeout(),le=x.useTimeout(),[qe,ce]=eo.useControlled({controlled:te,default:!1,name:"Tooltip",state:"open"});let m=qe;if(process.env.NODE_ENV!=="production"){const{current:t}=s.useRef(te!==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 V=oo.useId(Me),w=s.useRef(),N=he.useEventCallback(()=>{w.current!==void 0&&(document.body.style.WebkitUserSelect=w.current,w.current=void 0),le.clear()});s.useEffect(()=>N,[N]);const ue=t=>{be.clear(),k=!0,ce(!0),oe&&!m&&oe(t)},L=he.useEventCallback(t=>{be.start(800+Z,()=>{k=!1}),ce(!1),ee&&m&&ee(t),ae.start(se.transitions.duration.shortest,()=>{j.current=!1})}),D=t=>{j.current&&t.type!=="touchstart"||(i&&i.removeAttribute("title"),B.clear(),$.clear(),J||k&&Q?B.start(k?Q:J,()=>{ue(t)}):ue(t))},z=t=>{B.clear(),$.start(Z,()=>{L(t)})},[,de]=s.useState(!1),me=t=>{ge.isFocusVisible(t.target)||(de(!1),z(t))},fe=t=>{i||ie(t.currentTarget),ge.isFocusVisible(t.target)&&(de(!0),D(t))},Te=t=>{j.current=!0;const u=d.props;u.onTouchStart&&u.onTouchStart(t)},ke=t=>{Te(t),$.clear(),ae.clear(),N(),w.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",le.start(Ee,()=>{document.body.style.WebkitUserSelect=w.current,D(t)})},Ae=t=>{d.props.onTouchEnd&&d.props.onTouchEnd(t),N(),$.start(je,()=>{L(t)})};s.useEffect(()=>{if(!m)return;function t(u){u.key==="Escape"&&L(u)}return document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[L,m]);const Fe=to.useForkRef(Pe.getReactElementRef(d),ie,n);!y&&y!==0&&(m=!1);const _=s.useRef(),Ue=t=>{const u=d.props;u.onMouseMove&&u.onMouseMove(t),O={x:t.clientX,y:t.clientY},_.current&&_.current.update()},v={},H=typeof y=="string";Oe?(v.title=!m&&H&&!X?y:null,v["aria-describedby"]=m?V:null):(v["aria-label"]=H?y:null,v["aria-labelledby"]=m&&!H?V:null);const a={...v,...ne,...d.props,className:h.clsx(ne.className,d.props.className),onTouchStart:Te,ref:Fe,...F?{onMouseMove:Ue}:{}};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 R={};Se||(a.onTouchStart=ke,a.onTouchEnd=Ae),X||(a.onMouseOver=A(D,a.onMouseOver),a.onMouseLeave=A(z,a.onMouseLeave),W||(R.onMouseOver=D,R.onMouseLeave=z)),xe||(a.onFocus=A(fe,a.onFocus),a.onBlur=A(me,a.onBlur),W||(R.onFocus=fe,R.onBlur=me)),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 g={...l,isRtl:De,arrow:S,disableInteractive:W,placement:re,PopperComponentProp:pe,touch:j.current},c=typeof T.popper=="function"?T.popper(g):T.popper,We=s.useMemo(()=>{var u,ye;let t=[{name:"arrow",enabled:!!U,options:{element:U,padding:4}}];return(u=f.popperOptions)!=null&&u.modifiers&&(t=t.concat(f.popperOptions.modifiers)),(ye=c==null?void 0:c.popperOptions)!=null&&ye.modifiers&&(t=t.concat(c.popperOptions.modifiers)),{...f.popperOptions,...c==null?void 0:c.popperOptions,modifiers:t}},[U,f.popperOptions,c==null?void 0:c.popperOptions]),Y=so(g),Be=typeof T.transition=="function"?T.transition(g):T.transition,I={slots:{popper:E.Popper,transition:E.Transition??Ne,tooltip:E.Tooltip,arrow:E.Arrow,...$e},slotProps:{arrow:T.arrow??M.arrow,popper:{...f,...c??M.popper},tooltip:T.tooltip??M.tooltip,transition:{...Le,...Be??M.transition}}},[Ve,ze]=q.useSlot("popper",{elementType:io,externalForwardedProps:I,ownerState:g,className:h.clsx(Y.popper,f==null?void 0:f.className)}),[_e,He]=q.useSlot("transition",{elementType:ro.Grow,externalForwardedProps:I,ownerState:g}),[Ye,Ge]=q.useSlot("tooltip",{elementType:ao,className:Y.tooltip,externalForwardedProps:I,ownerState:g}),[Ke,Xe]=q.useSlot("arrow",{elementType:lo,className:Y.arrow,externalForwardedProps:I,ownerState:g,ref:Ie});return b.jsxs(s.Fragment,{children:[s.cloneElement(d,a),b.jsx(Ve,{as:pe??we.Popper,placement:re,anchorEl:F?{getBoundingClientRect:()=>({top:O.y,left:O.x,right:O.x,bottom:O.y,width:0,height:0})}:i,popperRef:_,open:i?m:!1,id:V,transition:!0,...R,...ze,popperOptions:We,children:({TransitionProps:t})=>b.jsx(_e,{timeout:se.transitions.duration.shorter,...t,...He,children:b.jsxs(Ye,{...Ge,children:[y,S?b.jsx(Ke,{...Xe}):null]})})})]})});process.env.NODE_ENV!=="production"&&(Re.propTypes={arrow:e.PropTypes.bool,children:Pe.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=Re;exports.getTooltipUtilityClass=ve;exports.tooltipClasses=p;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const S=require("react"),t=require("./index-DLnSn8GT.cjs"),a=require("./identifier-DEr2pTmJ.cjs"),C=require("./index-DXLTUqRz.cjs"),w=require("./memoTheme-COFyM-Lj.cjs"),B=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),q=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-L6HBe-61.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(S);function P(r){return a.generateUtilityClass("MuiTypography",r)}const W=a.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=C.internal_createExtendSxProp(),U=r=>{const{align:o,gutterBottom:e,noWrap:p,paragraph:i,variant:l,classes:s}=r,n={root:["root",l,r.align!=="inherit"&&`align${a.capitalize(o)}`,e&&"gutterBottom",p&&"noWrap",i&&"paragraph"]};return c.composeClasses(n,P,s)},_=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${a.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${a.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,...i}=c.useDefaultProps({props:o,name:"MuiTypography"}),l=!D[p],s=N({...i,...l&&{color:p}}),{align:n="inherit",className:g,component:u,gutterBottom:x=!1,noWrap:v=!1,paragraph:h=!1,variant:y="body1",variantMapping:f=b,...T}=s,m={...s,align:n,color:p,className:g,component:u,gutterBottom:x,noWrap:v,paragraph:h,variant:y,variantMapping:f},O=u||(h?"p":f[y]||b[y])||"span",j=U(m);return q.jsx(_,{as:O,ref:e,className:a.clsx(j.root,g),...T,ownerState:m,style:{...n!=="inherit"&&{"--Typography-textAlign":n},...T.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;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as O from "react";
|
|
2
2
|
import { P as r } from "./index-Sy88PpwE.js";
|
|
3
|
-
import { F as j, G as B, H as C } from "./
|
|
4
|
-
import { i as S } from "./index-
|
|
5
|
-
import { m as w } from "./memoTheme-
|
|
3
|
+
import { F as j, G as B, H as C, K as c } from "./identifier-MtSOtM28.js";
|
|
4
|
+
import { i as S } from "./index-6tKU6ZQK.js";
|
|
5
|
+
import { m as w } from "./memoTheme-BkQtxnmm.js";
|
|
6
6
|
import { c as P } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
7
7
|
import { jsx as W } from "react/jsx-runtime";
|
|
8
|
-
import { u as M, s as R, c as N } from "./DefaultPropsProvider-
|
|
9
|
-
import { c } from "./capitalize-CgHuXq7I.js";
|
|
8
|
+
import { u as M, s as R, c as N } from "./DefaultPropsProvider-DUvQuMqx.js";
|
|
10
9
|
function D(e) {
|
|
11
10
|
return B("MuiTypography", e);
|
|
12
11
|
}
|
|
13
|
-
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 = {
|
|
14
13
|
primary: !0,
|
|
15
14
|
secondary: !0,
|
|
16
15
|
error: !0,
|
|
@@ -257,5 +256,5 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
|
|
|
257
256
|
export {
|
|
258
257
|
$ as T,
|
|
259
258
|
D as g,
|
|
260
|
-
|
|
259
|
+
L as t
|
|
261
260
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../Button/Button.cjs.js"),o=require("../../DefaultPropsProvider-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../Button/Button.cjs.js"),o=require("../../DefaultPropsProvider-L6HBe-61.cjs"),n=require("../../Stack-g8Bqti2Z.cjs"),e=o.styled(n.Stack,{name:"MuiActionBar",slot:"Root"})(({theme:t})=>({position:"fixed",bottom:0,right:0,left:0,zIndex:"100",padding:"1rem",gap:"1rem",backgroundColor:t.palette.primary.main})),r=o.styled(n.Stack,{name:"MuiActionBar",slot:"LeftActionsContainer"})({}),i=o.styled(n.Stack,{name:"MuiActionBar",slot:"RightActionsContainer"})({}),s=o.styled(a,{name:"MuiActionBar",slot:"LeftActions"})(({theme:t})=>({color:t.palette.common.white,transition:"all 0.2s ease-in-out",borderRadius:"4px",padding:"8px 16px","&:hover":{backgroundColor:t.palette.primary.dark,transform:"translateY(-1px)"},"&:active":{transform:"translateY(0)",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}})),c=o.styled(a,{name:"MuiActionBar",slot:"RightActions"})(({theme:t})=>({color:t.palette.common.white,transition:"all 0.2s ease-in-out",borderRadius:"4px",padding:"8px 16px","&:hover":{backgroundColor:t.palette.primary.dark,transform:"translateY(-1px)"},"&:active":{transform:"translateY(0)",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.1)"}}));exports.LeftAction=s;exports.LeftActionsContainer=r;exports.RightAction=c;exports.RightActionsContainer=i;exports.Root=e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import n from "../Button/Button.es.js";
|
|
2
|
-
import { s as o } from "../../DefaultPropsProvider-
|
|
3
|
-
import { S as a } from "../../Stack-
|
|
2
|
+
import { s as o } from "../../DefaultPropsProvider-DUvQuMqx.js";
|
|
3
|
+
import { S as a } from "../../Stack-HQi3T-bA.js";
|
|
4
4
|
const s = o(a, {
|
|
5
5
|
name: "MuiActionBar",
|
|
6
6
|
slot: "Root"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require("react/jsx-runtime");require("../../useTheme-
|
|
1
|
+
"use strict";require("react/jsx-runtime");require("../../useTheme-CcW-d3_-.cjs");require("../../Alert-t9Y5Rmd0.cjs");const e=require("../../Alert-oX08_btj.cjs");require("../../identifier-DEr2pTmJ.cjs");module.exports=e.Alert;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../useTheme-
|
|
3
|
-
import "../../Alert-
|
|
4
|
-
import { b as a } from "../../Alert-
|
|
5
|
-
import "../../
|
|
2
|
+
import "../../useTheme-BopB_RfW.js";
|
|
3
|
+
import "../../Alert-CuHfEhGp.js";
|
|
4
|
+
import { b as a } from "../../Alert-5HprKpir.js";
|
|
5
|
+
import "../../identifier-MtSOtM28.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
8
8
|
};
|
|
@@ -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-oX08_btj.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-L6HBe-61.cjs"),n=require("../../Button-DirKtTwl.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-DUvQuMqx.js";
|
|
3
|
+
import { B as n } from "../../Button-ClQzrcfJ.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-BC18fq-N.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-BC18fq-N.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-PDGvPmjB.cjs"),c=require("@mui/material"),a=require("../../Dialog-BrzV4wxg.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-pu2ZIJ3C.js";
|
|
3
3
|
import { IconButton as s } from "@mui/material";
|
|
4
|
-
import { D as r } from "../../Dialog-
|
|
4
|
+
import { D as r } from "../../Dialog-DNVqOw2s.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-DdYUnzSL.cjs"),g=require("../../index-DIyAQH20.cjs"),x=require("../../Stack-g8Bqti2Z.cjs"),i=require("../../Typography-B9IL0Yyj.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-
|
|
2
|
+
import { c as a } from "../../createSvgIcon-CBuQt1E7.js";
|
|
3
3
|
import { u as f } from "../../index-CX0sAlmK.js";
|
|
4
|
-
import { S as y } from "../../Stack-
|
|
5
|
-
import { T as o } from "../../Typography-
|
|
4
|
+
import { S as y } from "../../Stack-HQi3T-bA.js";
|
|
5
|
+
import { T as o } from "../../Typography-FOMqoyry.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"),g=require("../../Stack-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("../../Stack-g8Bqti2Z.cjs"),n=require("../../Box-DZPm-7sq.cjs"),i=require("../../Typography-B9IL0Yyj.cjs"),m=({image:s,imageProps:c,imageSrc:o,title:h,description:r,descriptionProps:a,footer:e,svgProps:p,titleProps:l,imageHeight:u=200,...x})=>t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"0 auto",...x,children:[t.jsx(n.Box,{height:u,width:"auto",children:s??t.jsx("img",{src:o,height:"100%",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...l,children:h}),r?t.jsx(i.Typography,{color:"textSecondary",mt:2,...a,children:r}):null,e?t.jsx(n.Box,{mt:3,children:e}):null]});module.exports=m;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as g, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { S as p } from "../../Stack-
|
|
3
|
-
import { B as i } from "../../Box-
|
|
4
|
-
import { T as e } from "../../Typography-
|
|
2
|
+
import { S as p } from "../../Stack-HQi3T-bA.js";
|
|
3
|
+
import { B as i } from "../../Box-Y5NFdtT9.js";
|
|
4
|
+
import { T as e } from "../../Typography-FOMqoyry.js";
|
|
5
5
|
const j = ({
|
|
6
6
|
image: m,
|
|
7
7
|
imageProps: n,
|
|
@@ -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-DdYUnzSL.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-CBuQt1E7.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-g8Bqti2Z.cjs"),d=require("../../Typography-B9IL0Yyj.cjs"),j=require("../../createSvgIcon-DdYUnzSL.cjs"),I=require("../../CloseRounded-PDGvPmjB.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-HQi3T-bA.js";
|
|
8
|
+
import { T as p } from "../../Typography-FOMqoyry.js";
|
|
9
|
+
import { c as C } from "../../createSvgIcon-CBuQt1E7.js";
|
|
10
|
+
import { C as j } from "../../CloseRounded-pu2ZIJ3C.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)(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),m=require("../../Folder-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("../../Folder-Buw8vc6p.cjs"),f=require("../../MoreVert-IEpmt0uR.cjs"),s=require("@mui/material"),p=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),d=require("../ResourceCard/style.cjs.js"),n=require("./styles.cjs.js"),c=require("./types.cjs.js"),j=({isSelected:o=!1,onSelect:l=()=>{},title:x,subtitle:a,width:y="320px",onClick:t=()=>{},iconSize:u="2rem",hasNoButtonOnFocus:h=!1})=>{const i=e=>e.key==="Enter"||e.key===" ";return r.jsx(s.Box,{sx:{width:y},children:r.jsxs(d.StyledCard,{selected:o,onClick:t,onKeyDown:e=>{i(e)&&(e.preventDefault(),t==null||t())},role:"button",tabIndex:0,"aria-labelledby":"folder-title folder-subtitle","aria-pressed":o,children:[r.jsx(d.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),l()},onKeyDown:e=>{i(e)&&(e.preventDefault(),e.stopPropagation(),l())},className:"selected-icon",selected:o,role:"button",tabIndex:0,"aria-label":o?"Unselect folder":"Select folder","aria-pressed":o,hasNoButtonOnFocus:h,children:r.jsx(f.MoreVertIcon,{})}),r.jsxs(s.CardContent,{sx:n.FolderBodyStyle,children:[r.jsx(s.Box,{fontSize:u,sx:n.IconContainerStyle,children:r.jsx(m.FolderIcon,{color:"primary",sx:n.FolderIconStyle,"aria-hidden":"true"})}),r.jsxs(s.Box,{sx:n.TextContainerStyle,children:[r.jsx(p,{typographyProps:c.titleTypographyProps,tooltipProps:{placement:"bottom",arrow:!0},children:x}),a&&r.jsx(p,{typographyProps:c.subtitleTypographyProps,tooltipProps:{placement:"bottom",arrow:!0},children:a})]})]})]})})};module.exports=j;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import { F as c } from "../../Folder-
|
|
3
|
-
import { M as h } from "../../MoreVert-
|
|
2
|
+
import { F as c } from "../../Folder-BOpUcb-0.js";
|
|
3
|
+
import { M as h } from "../../MoreVert-B3ciLTYq.js";
|
|
4
4
|
import { Box as l, CardContent as x } from "@mui/material";
|
|
5
5
|
import i from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
|
|
6
6
|
import { StyledCard as u, SelectedIcon as b } from "../ResourceCard/style.es.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-g8Bqti2Z.cjs"),j=require("../../Typography-B9IL0Yyj.cjs"),y=({title:u,IconComponent:g,iconColor:n,iconProps:h,iconSize:e=28,titleProps:a,...x})=>d.jsxs(c.Stack,{direction:"row",alignItems:"center",gap:1,...x,children:[g?d.jsx(g,{sx:{fontSize:e,padding:"2px",borderRadius:1,color:n==null?void 0:n[500],backgroundColor:n==null?void 0:n[50]},...h}):null,d.jsx(j.Typography,{component:(a==null?void 0:a.component)??"h3",variant:(a==null?void 0:a.variant)??"h2",fontWeight:(a==null?void 0:a.fontWeight)??400,...a,children:u})]});module.exports=y;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as x, jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { S } from "../../Stack-
|
|
3
|
-
import { T as b } from "../../Typography-
|
|
2
|
+
import { S } from "../../Stack-HQi3T-bA.js";
|
|
3
|
+
import { T as b } from "../../Typography-FOMqoyry.js";
|
|
4
4
|
const y = ({
|
|
5
5
|
title: n,
|
|
6
6
|
IconComponent: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),h=require("../../createSvgIcon-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("../../createSvgIcon-DdYUnzSL.cjs"),v=require("../../Delete-C3U_yHlr.cjs"),o=require("@mui/material"),p=require("react"),C=require("../../index-DIyAQH20.cjs"),w=require("../../Stack-g8Bqti2Z.cjs"),i=require("../../Typography-B9IL0Yyj.cjs"),g=h.createSvgIcon(e.jsx("path",{d:"M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"}),"AddPhotoAlternate"),D=h.createSvgIcon(e.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create"),F=()=>e.jsxs(i.Typography,{textAlign:"center",fontSize:"14px",color:"grey.darker",children:[e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"Glissez-déposez"})," ","ou"," ",e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"cliquez"})," ","pour choisir une image"]}),A=()=>e.jsxs(i.Typography,{textAlign:"center",fontSize:"14px",color:"grey.darker",children:[e.jsx(o.Box,{component:"span",fontWeight:"bold",children:"Glissez"})," ","une image"]}),q=({defaultLabel:x=e.jsx(F,{}),dragLabel:m=e.jsx(A,{}),information:n,onFileChange:l=r=>{},width:u="160px",height:j="160px",initialFile:s=null,...y})=>{const[r,c]=p.useState(s);p.useEffect(()=>{c(s)},[s]);const f=t=>{const d=t[0]||null;c(d),l(d)},b=t=>{t.stopPropagation(),c(null),l(null)},k=t=>{t.stopPropagation(),a()},{open:a,getRootProps:z,getInputProps:I,isDragActive:S}=C.useDropzone({...y,maxFiles:1,onDropAccepted:f,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(w.Stack,{direction:"column",justifyContent:"center",alignItems:"center",width:u,minWidth:"150px",minHeight:"150px",height:j,borderRadius:1,sx:{cursor:"pointer",position:"relative",background:`${!r&&"linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,border:`${!r&&"1px dashed"}`,borderColor:t=>!r&&t.palette.grey.main},...z({onClick:a}),children:[e.jsx("input",{...I()}),r?e.jsxs(e.Fragment,{children:[e.jsxs(o.Box,{sx:{position:"absolute",top:"0.5rem",right:"0.5rem",display:"flex",gap:"0.3rem"},children:[e.jsx(o.Box,{onClick:k,sx:{backgroundColor:"common.white",display:"flex",borderRadius:"3px",alignItems:"center",justifyContent:"center",boxShadow:1,width:"2rem",height:"2rem",cursor:"pointer","&:hover":{backgroundColor:"grey.darker","& .MuiSvgIcon-root":{fill:t=>t.palette.common.white}}},children:e.jsx(D,{fontSize:"small"})}),e.jsx(o.Box,{onClick:b,sx:{backgroundColor:"common.white",display:"flex",borderRadius:"3px",alignItems:"center",boxShadow:1,justifyContent:"center",width:"2rem",height:"2rem",cursor:"pointer","&:hover":{backgroundColor:"grey.darker","& .MuiSvgIcon-root":{fill:t=>t.palette.common.white}}},children:e.jsx(v.DeleteIcon,{fontSize:"small"})})]}),e.jsx("img",{src:typeof r=="string"?r:URL.createObjectURL(r),alt:typeof r=="string"?r:r.name,style:{width:"100%",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:S?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),m,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]}):e.jsxs(o.Box,{sx:{display:"flex",flexDirection:"column",alignItems:"center",padding:"0.5rem",gap:"0.3rem"},children:[e.jsx(g,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),x,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=q;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as g } from "../../createSvgIcon-
|
|
3
|
-
import { D as w } from "../../Delete-
|
|
2
|
+
import { c as g } from "../../createSvgIcon-CBuQt1E7.js";
|
|
3
|
+
import { D as w } from "../../Delete-BG2nuo1g.js";
|
|
4
4
|
import { Box as n } from "@mui/material";
|
|
5
5
|
import { useState as D, useEffect as A } from "react";
|
|
6
6
|
import { u as j } from "../../index-CX0sAlmK.js";
|
|
7
|
-
import { S as F } from "../../Stack-
|
|
8
|
-
import { T as l } from "../../Typography-
|
|
7
|
+
import { S as F } from "../../Stack-HQi3T-bA.js";
|
|
8
|
+
import { T as l } from "../../Typography-FOMqoyry.js";
|
|
9
9
|
const h = g(/* @__PURE__ */ e("path", {
|
|
10
10
|
d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
|
|
11
11
|
}), "AddPhotoAlternate"), P = g(/* @__PURE__ */ e("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/Loader.css');const e=require("react/jsx-runtime"),r=require("../../Box-
|
|
1
|
+
"use strict";require('../../assets/Loader.css');const e=require("react/jsx-runtime"),r=require("../../Box-DZPm-7sq.cjs"),s=({})=>e.jsx(r.Box,{className:"cs-loader",color:"primary.main",children:e.jsxs(r.Box,{className:"cs-loader-inner",children:[e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"}),e.jsx("label",{children:"●"})]})});module.exports=s;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as l, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { B as r } from "../../Box-
|
|
2
|
+
import { B as r } from "../../Box-Y5NFdtT9.js";
|
|
3
3
|
import '../../assets/Loader.css';const o = ({}) => /* @__PURE__ */ l(r, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(r, { className: "cs-loader-inner", children: [
|
|
4
4
|
/* @__PURE__ */ l("label", { children: "●" }),
|
|
5
5
|
/* @__PURE__ */ l("label", { children: "●" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";require('../../assets/LoaderBackdrop.css');const r=require("react/jsx-runtime"),e=require("../../Backdrop-
|
|
1
|
+
"use strict";require('../../assets/LoaderBackdrop.css');const r=require("react/jsx-runtime"),e=require("../../Backdrop-BoQZpWZe.cjs"),c=require("../../Box-DZPm-7sq.cjs"),l=({})=>r.jsx(e.Backdrop,{open:!0,sx:{bgcolor:"background.default"},children:r.jsxs(c.Box,{className:"cs-loader-backdrop-inner",color:"primary.main",children:[r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"}),r.jsx("label",{children:"●"})]})});module.exports=l;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import { B as l } from "../../Backdrop-
|
|
3
|
-
import { B as o } from "../../Box-
|
|
2
|
+
import { B as l } from "../../Backdrop-afVH4rly.js";
|
|
3
|
+
import { B as o } from "../../Box-Y5NFdtT9.js";
|
|
4
4
|
import '../../assets/LoaderBackdrop.css';const n = ({}) => /* @__PURE__ */ r(l, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ e(o, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
|
|
5
5
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
6
6
|
/* @__PURE__ */ r("label", { children: "●" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const s=require("react/jsx-runtime"),l=require("react"),d=require("../../TextField-
|
|
1
|
+
"use strict";const s=require("react/jsx-runtime"),l=require("react"),d=require("../../TextField-C9KnxAy6.cjs"),a=require("../../InputAdornment-AXmehV8N.cjs"),u=require("../../IconButton-eTKjCSYh.cjs"),n=require("../../createSvgIcon-DdYUnzSL.cjs"),p=n.createSvgIcon(s.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility"),w=n.createSvgIcon(s.jsx("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff"),x=o=>{const[t,i]=l.useState(!1),c=()=>i(e=>!e),r=e=>{e.preventDefault()};return s.jsx(d.TextField,{...o,type:t?"text":"password",slotProps:{input:{endAdornment:s.jsx(a.InputAdornment,{position:"end",children:s.jsx(u.IconButton,{"aria-label":"toggle password visibility",onClick:c,onMouseDown:r,edge:"end",children:t?s.jsx(w,{}):s.jsx(p,{})})})}}})};module.exports=x;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as r } from "react";
|
|
3
|
-
import { T as a } from "../../TextField-
|
|
4
|
-
import { I as l } from "../../InputAdornment-
|
|
5
|
-
import { I as c } from "../../IconButton-
|
|
6
|
-
import { c as i } from "../../createSvgIcon-
|
|
3
|
+
import { T as a } from "../../TextField-C1yi1eJS.js";
|
|
4
|
+
import { I as l } from "../../InputAdornment-DVvWksJD.js";
|
|
5
|
+
import { I as c } from "../../IconButton-Blb-11WY.js";
|
|
6
|
+
import { c as i } from "../../createSvgIcon-CBuQt1E7.js";
|
|
7
7
|
const d = i(/* @__PURE__ */ o("path", {
|
|
8
8
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
9
9
|
}), "Visibility"), p = i(/* @__PURE__ */ o("path", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),m=require("../../MoreVert-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("../../MoreVert-IEpmt0uR.cjs"),d=require("@mui/material"),j=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),o=require("./style.cjs.js"),y=({isSelected:s=!1,onSelect:u=()=>{},image:x,title:c,defaultImage:h,propertyItems:p=[],infoIcons:l=[],size:t="md",width:i,onClick:n=()=>{},hasNoButtonOnFocus:b=!1})=>(l=l.slice(0,3),r.jsx(d.Box,{sx:{width:i&&t==="md"?i:"320px"},children:r.jsxs(o.StyledCard,{selected:s,size:t,onClick:n,onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),n==null||n())},role:"button",tabIndex:0,"aria-label":`Resource card for ${c}`,children:[r.jsx(o.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),u()},onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),u())},className:"selected-icon",selected:s,role:"button",tabIndex:0,"aria-label":s?"Unselect card":"Select card",hasNoButtonOnFocus:b,children:r.jsx(m.MoreVertIcon,{})}),r.jsx(d.Stack,{sx:{width:t=="sm"?110:"100%",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box"},children:r.jsx(o.ResourceCardImage,{image:x,defaultImage:h,size:t,role:"img","aria-label":`Image for ${c}`})}),r.jsxs(o.ResourceCardBody,{size:t,children:[r.jsx(j,{typographyProps:{variant:"h4",component:"p"},tooltipProps:{placement:"bottom",arrow:!0},children:c}),p.length>0&&p.map((e,a)=>r.jsxs(o.ResourcePropertyItem,{size:t,role:"group","aria-label":`Property ${a}`,children:[e.icon,r.jsx(o.ResourcePropertyText,{isLast:a===p.length-1,size:t,width:i,children:e.text})]},`property-${a}`)),r.jsx(o.PublicIconWrapper,{size:t,children:l.length>0&&l.map((e,a)=>r.jsx(d.Tooltip,{title:e.text,placement:"top",arrow:!0,children:r.jsx(o.ResourceIconItem,{size:t,role:"button",tabIndex:0,"aria-label":e.text,children:e.icon})},`info-${a}`))})]})]})}));module.exports=y;
|