@cgi-learning-hub/ui 1.4.0-dev.1742208889 → 1.4.0-dev.1742214247
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-DdpAZix8.js → Alert-BCd1tHk0.js} +9 -9
- package/dist/{Backdrop-BctCVgLy.js → Backdrop-CjDitjBW.js} +20 -19
- package/dist/Backdrop-DOdBqGqq.cjs +1 -0
- package/dist/{Box-DgqaLb7j.js → Box-GMNejc_m.js} +7 -7
- package/dist/{Button-B7kOjNW1.js → Button-x5rtZxJN.js} +6 -6
- package/dist/{ButtonBase-IZ_QjbpE.js → ButtonBase-CU1npQuI.js} +4 -4
- package/dist/{CardContent-F4-KcZH8.js → CardContent-CL_61cm-.js} +3 -3
- package/dist/{Checkbox-qUSjau0g.js → Checkbox-CtRSDqOe.js} +7 -7
- package/dist/{Chip-OpRIs-sL.js → Chip-ZIBpWC4I.js} +6 -6
- package/dist/{CircularProgress-CQxzJquv.js → CircularProgress-B28FKeiH.js} +4 -4
- package/dist/{CloseRounded-BMEGLs8y.js → CloseRounded-pP8asZiP.js} +1 -1
- package/dist/Collapse-Bvxtq7n-.cjs +1 -0
- package/dist/Collapse-CcMCOZ3q.js +334 -0
- package/dist/CustomTreeItem-CG7mGHC9.cjs +3 -0
- package/dist/CustomTreeItem-PTf-e74x.js +1003 -0
- package/dist/DatePicker-64gpvkmk.cjs +13 -0
- package/dist/{DatePicker-fFsWvNFc.js → DatePicker-XdCuICxv.js} +2117 -2535
- package/dist/{DefaultPropsProvider-Cqcb4sws.js → DefaultPropsProvider-CQixa6JQ.js} +7 -7
- package/dist/Delete-BQA9--_t.js +8 -0
- package/dist/Delete-DmeDAs0n.cjs +1 -0
- package/dist/{Dialog-CKS7yjT5.js → Dialog-C-Ptqtq-.js} +9 -9
- package/dist/{Dialog-B1wnk5BT.cjs → Dialog-CgEvhrbZ.cjs} +1 -1
- package/dist/{DialogContent-BzPaz5G8.js → DialogContent-1sjO2rQK.js} +3 -3
- package/dist/{DialogTitle-D3E_lDHD.js → DialogTitle-CGpa_QH9.js} +5 -5
- package/dist/{DialogTitle-mr9xn4JZ.cjs → DialogTitle-F6JD1f_z.cjs} +1 -1
- package/dist/{Divider-D-pZeQTm.js → Divider-CNGfzZqD.js} +8 -8
- package/dist/{FormLabel-3-CC-ZGw.js → FormLabel-BlaPVlwX.js} +67 -76
- package/dist/FormLabel-XpwTqbs8.cjs +2 -0
- package/dist/{Grow-DKgYCxiY.js → Grow-D5UIC41W.js} +14 -13
- package/dist/Grow-wjlsaPJ-.cjs +1 -0
- package/dist/{IconButton-CCNUMz2l.js → IconButton-CFUIddNg.js} +6 -6
- package/dist/{InputAdornment-DL8XIM8r.js → InputAdornment-GcbiriFv.js} +5 -5
- package/dist/{InputBase-By7jMrFP.js → InputBase-DJuF09Rf.js} +7 -7
- package/dist/{Link-C_GPIs0q.js → Link-DtsZ0d_s.js} +7 -7
- package/dist/List-BTPrBGqY.js +130 -0
- package/dist/List-Bo4pzQqG.cjs +1 -0
- package/dist/ListItem-C9OfYRAP.js +423 -0
- package/dist/ListItem-CB4JyjSb.cjs +1 -0
- package/dist/ListItemText-B_hEVsaT.js +928 -0
- package/dist/ListItemText-Bjd08uk4.cjs +1 -0
- package/dist/{Menu-BunOW0ot.js → Menu-DD_bqi6q.js} +306 -428
- package/dist/Menu-XypIRgTl.cjs +7 -0
- package/dist/{MenuItem-Cu3FTLl8.js → MenuItem-Byj-2QQd.js} +72 -77
- package/dist/MenuItem-vb36Ljmd.cjs +1 -0
- package/dist/{Modal-u82Ss4h_.cjs → Modal-BG3hPYyH.cjs} +1 -1
- package/dist/{Modal-DTJd7JJ6.js → Modal-S2P14Nsp.js} +8 -8
- package/dist/{Paper-BiZq6EF2.js → Paper-BrsaeLlu.js} +4 -4
- package/dist/{Popper-DjwR55WH.js → Popper-BNftxeQ5.js} +31 -30
- package/dist/Popper-BaxEpkdE.cjs +4 -0
- package/dist/{Portal-BByeByPq.js → Portal-BLEnzj1v.js} +2 -2
- package/dist/Portal-Bw9XOIah.cjs +1 -0
- package/dist/{Radio-DSRS-tjj.js → Radio-CRTKwNe5.js} +9 -9
- package/dist/{RadioGroup-cPdOWdYD.js → RadioGroup-NjI5PlIb.js} +3 -3
- package/dist/{Select-DZAzJA0y.cjs → Select-8kBUq_SZ.cjs} +1 -1
- package/dist/{Select-CZnKFG3o.js → Select-C0jrZLRg.js} +30 -30
- package/dist/{Stack-hbAJHQhq.js → Stack-Bm7M81n8.js} +22 -22
- package/dist/{Switch-B9uT9-d0.js → Switch-D5FnE7HW.js} +6 -6
- package/dist/{SwitchBase-CDkmnGAP.js → SwitchBase-91Mand9t.js} +5 -5
- package/dist/{Tabs-BYfDlOR9.js → Tabs-C5VIdTSp.js} +25 -24
- package/dist/Tabs-Csp29aqN.cjs +4 -0
- package/dist/{TextField-CwcPgdgD.cjs → TextField-BzqflYRV.cjs} +1 -1
- package/dist/{TextField-BKfXjPdH.js → TextField-D5jS5WjF.js} +8 -8
- package/dist/ToggleButtonGroup-Bpi3kmko.cjs +140 -0
- package/dist/{ToggleButtonGroup-B1yghh29.js → ToggleButtonGroup-CipWZLXf.js} +2641 -3875
- package/dist/Tooltip-DJmbLjU6.cjs +4 -0
- package/dist/{Tooltip-B1NGvrJP.js → Tooltip-DgTrUaHJ.js} +10 -10
- package/dist/{Typography-SIQ6eleU.js → Typography-Ct2Sc9KM.js} +5 -5
- package/dist/{capitalize-3KLkrEtk.js → capitalize-BJ0FEsU7.js} +1 -1
- package/dist/components/Alert/Alert.es.js +1 -1
- package/dist/components/Alert/index.es.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.es.js +4 -4
- package/dist/components/EmptyState/EmptyState.es.js +3 -3
- package/dist/components/FileList/FileIcon.es.js +1 -1
- package/dist/components/FileList/FileListItem.es.js +4 -4
- 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 +45 -46
- 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 +18 -16
- 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.d.ts +12 -0
- package/dist/components/TreeView/style.es.js +24 -0
- package/dist/components/TreeView/types.cjs.js +1 -0
- package/dist/components/TreeView/types.d.ts +37 -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 +51 -0
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.es.js +302 -299
- package/dist/components/stories/Alert.stories.es.js +1 -1
- package/dist/components/stories/Button.stories.es.js +1 -1
- package/dist/components/stories/Card.stories.es.js +2 -2
- package/dist/components/stories/Checkbox.stories.es.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.es.js +1 -1
- package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
- package/dist/components/stories/Heading.stories.es.js +2 -2
- package/dist/components/stories/IconButton.stories.es.js +2 -2
- 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.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.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 +4 -4
- 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 +63 -0
- package/dist/components/stories/TreeView.stories.d.ts +12 -0
- package/dist/components/stories/TreeView.stories.es.js +663 -0
- package/dist/components/stories/Typography.stories.es.js +1 -1
- package/dist/{createSvgIcon-K2ZAdASa.js → createSvgIcon-B62eln-G.js} +6 -6
- package/dist/{dividerClasses-afsB3Yy1.js → dividerClasses-DjJZQ2Lt.js} +1 -1
- package/dist/{elementTypeAcceptingRef-5ESWTE79.js → elementTypeAcceptingRef-B04tk6ag.js} +1 -1
- package/dist/{extendSxProp-dlShX1xL.js → extendSxProp-CgS-3O19.js} +1 -1
- package/dist/{generateUtilityClasses-DotvgSDH.js → generateUtilityClasses-EXBFO7eY.js} +9 -9
- package/dist/getReactElementRef-CTRMtaOQ.cjs +1 -0
- package/dist/getReactElementRef-DjLvttrJ.js +31 -0
- package/dist/{index-DTTmpNYg.js → index-BZ7ldAwE.js} +4 -4
- package/dist/index-Cr54V0sz.cjs +1 -0
- package/dist/index-D_xl88AE.js +22 -0
- package/dist/{index-B1u7G33_.js → index-DcwdJ8a_.js} +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -299
- package/dist/isMuiElement-BzDAj3yJ.cjs +1 -0
- package/dist/isMuiElement-DnSE4qG4.js +13 -0
- package/dist/listItemTextClasses-BCuJjsDp.cjs +1 -0
- package/dist/listItemTextClasses-Kxu3VILo.js +9 -0
- package/dist/{memoTheme-CqmIydD-.js → memoTheme-DJWQ754x.js} +1 -1
- package/dist/{refType-C210ipRY.js → refType-Bpj8bod6.js} +1 -1
- package/dist/{resolveComponentProps-CPmhKPdH.js → resolveComponentProps-CIdMNno4.js} +1 -1
- package/dist/{useSlot-GZu0V5wJ.js → useSlot-RbAtahZu.js} +1 -1
- package/dist/useSlotProps-BTRhbYwP.cjs +1 -0
- package/dist/useSlotProps-U2Iu6E0j.js +25 -0
- package/dist/{useTheme-tdgDVH1p.js → useTheme-CUKf8NYA.js} +1 -1
- package/dist/useTheme-Czi7oO55.js +11 -0
- package/dist/{useThemeProps-BQlPXzo3.js → useThemeProps-Bxjrhw9q.js} +2 -2
- package/dist/useThemeProps-v-SfXuGn.js +17 -0
- package/dist/{utils-CXhh35wP.js → utils-B2jSugkj.js} +76 -104
- package/dist/utils-lBmb5bp_.cjs +1 -0
- package/dist/warning-C8W811fV.js +11 -0
- package/dist/warning-DMUNDgRg.cjs +2 -0
- package/package.json +2 -1
- package/dist/Backdrop-DWp3AktL.cjs +0 -1
- package/dist/DatePicker-DrLKgvkx.cjs +0 -14
- package/dist/FormLabel-BV7-a0i5.cjs +0 -2
- package/dist/Grow-Z3KzFaK5.cjs +0 -1
- package/dist/Menu-Cngt8Va9.cjs +0 -7
- package/dist/MenuItem-Bha8aBMr.cjs +0 -1
- package/dist/MoreVert-CrM_1EkN.js +0 -8
- package/dist/MoreVert-CxgmXooO.cjs +0 -1
- package/dist/Popper-BVYscbsI.cjs +0 -4
- package/dist/Portal-DUHpWdY1.cjs +0 -1
- package/dist/Tabs-AyJ_tKtV.cjs +0 -4
- package/dist/ToggleButtonGroup-NqurNgWT.cjs +0 -140
- package/dist/Tooltip-oNmnF7Bc.cjs +0 -4
- package/dist/components/FolderCard/FolderCard.cjs.js +0 -1
- package/dist/components/FolderCard/FolderCard.d.ts +0 -10
- package/dist/components/FolderCard/FolderCard.es.js +0 -80
- package/dist/components/FolderCard/index.cjs.js +0 -1
- package/dist/components/FolderCard/index.d.ts +0 -2
- package/dist/components/FolderCard/index.es.js +0 -4
- package/dist/components/FolderCard/styles.cjs.js +0 -1
- package/dist/components/FolderCard/styles.d.ts +0 -10
- package/dist/components/FolderCard/styles.es.js +0 -13
- package/dist/components/FolderCard/types.cjs.js +0 -1
- package/dist/components/FolderCard/types.d.ts +0 -11
- package/dist/components/FolderCard/types.es.js +0 -14
- package/dist/components/stories/FolderCard.stories.cjs.js +0 -1
- package/dist/components/stories/FolderCard.stories.d.ts +0 -7
- package/dist/components/stories/FolderCard.stories.es.js +0 -71
- package/dist/useSlotProps-C9tsxDNg.js +0 -45
- package/dist/useSlotProps-CvOxvhyy.cjs +0 -1
- package/dist/useTheme-BA7tMglY.js +0 -11
- package/dist/useThemeProps-BTfGtNci.js +0 -17
- package/dist/utils-CFI_-FMV.cjs +0 -1
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";const Je=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),Qe=require("./index-Cr54V0sz.cjs"),Ze=require("./useTheme-CIf2b2wK.cjs"),g=require("react/jsx-runtime"),x=require("./DefaultPropsProvider-wpBXjN8r.cjs"),Y=require("./memoTheme-DrjvJtTP.cjs"),I=require("./useSlot-CC2AaOjN.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-CTRMtaOQ.cjs"),ro=require("./Grow-wjlsaPJ-.cjs"),Pe=require("./Popper-BaxEpkdE.cjs"),we=require("./capitalize-CEByPz9F.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,20 +1,20 @@
|
|
|
1
1
|
import * as n from "react";
|
|
2
|
-
import {
|
|
3
|
-
import { u as Ze } from "./
|
|
4
|
-
import { u as eo } from "./useTheme-
|
|
2
|
+
import { G as Je, H as Qe, I as ge, n as ve, P as e } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
3
|
+
import { u as Ze } from "./index-D_xl88AE.js";
|
|
4
|
+
import { u as eo } from "./useTheme-Czi7oO55.js";
|
|
5
5
|
import { jsx as L, jsxs as Te } from "react/jsx-runtime";
|
|
6
|
-
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-
|
|
7
|
-
import { m as Y } from "./memoTheme-
|
|
8
|
-
import { u as I } from "./useSlot-
|
|
6
|
+
import { u as oo, s as G, c as to } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
7
|
+
import { m as Y } from "./memoTheme-DJWQ754x.js";
|
|
8
|
+
import { u as I } from "./useSlot-RbAtahZu.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 Re } from "./Popper-
|
|
17
|
-
import { c as Oe } from "./capitalize-
|
|
14
|
+
import { g as io, e as ao } from "./getReactElementRef-DjLvttrJ.js";
|
|
15
|
+
import { G as lo } from "./Grow-D5UIC41W.js";
|
|
16
|
+
import { P as Re } from "./Popper-BNftxeQ5.js";
|
|
17
|
+
import { c as Oe } from "./capitalize-BJ0FEsU7.js";
|
|
18
18
|
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
19
19
|
function co(r) {
|
|
20
20
|
return Qe("MuiTooltip", r);
|
|
@@ -1,11 +1,11 @@
|
|
|
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-EXBFO7eY.js";
|
|
3
|
+
import { i as S } from "./index-BZ7ldAwE.js";
|
|
4
|
+
import { m as w } from "./memoTheme-DJWQ754x.js";
|
|
5
5
|
import { c as P } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
|
|
6
6
|
import { jsx as W } from "react/jsx-runtime";
|
|
7
|
-
import { u as M, s as R, c as N } from "./DefaultPropsProvider-
|
|
8
|
-
import { c } from "./capitalize-
|
|
7
|
+
import { u as M, s as R, c as N } from "./DefaultPropsProvider-CQixa6JQ.js";
|
|
8
|
+
import { c } from "./capitalize-BJ0FEsU7.js";
|
|
9
9
|
function D(e) {
|
|
10
10
|
return B("MuiTypography", e);
|
|
11
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as e } from "./generateUtilityClasses-
|
|
1
|
+
import { J as e } from "./generateUtilityClasses-EXBFO7eY.js";
|
|
2
2
|
function o(r) {
|
|
3
3
|
if (typeof r != "string")
|
|
4
4
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : e(7));
|
|
@@ -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-CQixa6JQ.js";
|
|
3
|
+
import { B as n } from "../../Button-x5rtZxJN.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-64gpvkmk.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-64gpvkmk.cjs");exports.DatePicker=e.DatePicker;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-BRXBizmR.cjs"),c=require("@mui/material"),u=require("../../Dialog-
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-BRXBizmR.cjs"),c=require("@mui/material"),u=require("../../Dialog-CgEvhrbZ.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-pP8asZiP.js";
|
|
3
3
|
import { IconButton as t } from "@mui/material";
|
|
4
|
-
import { D as c } from "../../Dialog-
|
|
4
|
+
import { D as c } from "../../Dialog-C-Ptqtq-.js";
|
|
5
5
|
const f = ({
|
|
6
6
|
children: e,
|
|
7
7
|
showCloseButton: a = !0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { c as t } from "../../createSvgIcon-
|
|
3
|
-
import { u } from "../../index-
|
|
4
|
-
import { S as g } from "../../Stack-
|
|
5
|
-
import { T as o } from "../../Typography-
|
|
2
|
+
import { c as t } from "../../createSvgIcon-B62eln-G.js";
|
|
3
|
+
import { u } from "../../index-DcwdJ8a_.js";
|
|
4
|
+
import { S as g } from "../../Stack-Bm7M81n8.js";
|
|
5
|
+
import { T as o } from "../../Typography-Ct2Sc9KM.js";
|
|
6
6
|
const f = t(/* @__PURE__ */ r("path", {
|
|
7
7
|
d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
|
|
8
8
|
}), "FileUpload"), z = t(/* @__PURE__ */ r("path", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { S as l } from "../../Stack-
|
|
3
|
-
import { B as g } from "../../Box-
|
|
4
|
-
import { T as o } from "../../Typography-
|
|
2
|
+
import { S as l } from "../../Stack-Bm7M81n8.js";
|
|
3
|
+
import { B as g } from "../../Box-GMNejc_m.js";
|
|
4
|
+
import { T as o } from "../../Typography-Ct2Sc9KM.js";
|
|
5
5
|
const y = ({
|
|
6
6
|
image: e,
|
|
7
7
|
imageProps: 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-B62eln-G.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", {
|
|
@@ -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-Bm7M81n8.js";
|
|
8
|
+
import { T as p } from "../../Typography-Ct2Sc9KM.js";
|
|
9
|
+
import { c as C } from "../../createSvgIcon-B62eln-G.js";
|
|
10
|
+
import { C as j } from "../../CloseRounded-pP8asZiP.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,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-Bm7M81n8.js";
|
|
3
|
+
import { T as b } from "../../Typography-Ct2Sc9KM.js";
|
|
4
4
|
const y = ({
|
|
5
5
|
title: n,
|
|
6
6
|
IconComponent: g,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("../../createSvgIcon-DJMYlO0S.cjs"),v=require("../../Delete-DmeDAs0n.cjs"),o=require("@mui/material"),p=require("react"),C=require("../../index-CVFzneYe.cjs"),w=require("../../Stack-B82ckLGm.cjs"),i=require("../../Typography-DPij13XT.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,17 +1,16 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as g } from "../../createSvgIcon-B62eln-G.js";
|
|
3
|
+
import { D as w } from "../../Delete-BQA9--_t.js";
|
|
3
4
|
import { Box as n } from "@mui/material";
|
|
4
|
-
import { useState as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import { T as l } from "../../Typography-
|
|
8
|
-
const
|
|
5
|
+
import { useState as D, useEffect as A } from "react";
|
|
6
|
+
import { u as j } from "../../index-DcwdJ8a_.js";
|
|
7
|
+
import { S as F } from "../../Stack-Bm7M81n8.js";
|
|
8
|
+
import { T as l } from "../../Typography-Ct2Sc9KM.js";
|
|
9
|
+
const h = g(/* @__PURE__ */ e("path", {
|
|
9
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"
|
|
10
|
-
}), "AddPhotoAlternate"),
|
|
11
|
+
}), "AddPhotoAlternate"), P = g(/* @__PURE__ */ e("path", {
|
|
11
12
|
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"
|
|
12
|
-
}), "Create"),
|
|
13
|
-
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
14
|
-
}), "Delete"), M = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
|
|
13
|
+
}), "Create"), R = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
|
|
15
14
|
/* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez-déposez" }),
|
|
16
15
|
" ",
|
|
17
16
|
"ou",
|
|
@@ -19,45 +18,45 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
19
18
|
/* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "cliquez" }),
|
|
20
19
|
" ",
|
|
21
20
|
"pour choisir une image"
|
|
22
|
-
] }),
|
|
21
|
+
] }), M = () => /* @__PURE__ */ o(l, { textAlign: "center", fontSize: "14px", color: "grey.darker", children: [
|
|
23
22
|
/* @__PURE__ */ e(n, { component: "span", fontWeight: "bold", children: "Glissez" }),
|
|
24
23
|
" ",
|
|
25
24
|
"une image"
|
|
26
|
-
] }),
|
|
27
|
-
defaultLabel: u = /* @__PURE__ */ e(
|
|
28
|
-
dragLabel: x = /* @__PURE__ */ e(
|
|
25
|
+
] }), $ = ({
|
|
26
|
+
defaultLabel: u = /* @__PURE__ */ e(R, {}),
|
|
27
|
+
dragLabel: x = /* @__PURE__ */ e(M, {}),
|
|
29
28
|
information: i,
|
|
30
|
-
onFileChange:
|
|
29
|
+
onFileChange: d = (r) => {
|
|
31
30
|
},
|
|
32
31
|
width: f = "160px",
|
|
33
32
|
height: y = "160px",
|
|
34
33
|
initialFile: c = null,
|
|
35
34
|
...b
|
|
36
35
|
}) => {
|
|
37
|
-
const [
|
|
36
|
+
const [r, a] = D(
|
|
38
37
|
c
|
|
39
38
|
);
|
|
40
|
-
|
|
39
|
+
A(() => {
|
|
41
40
|
a(c);
|
|
42
41
|
}, [c]);
|
|
43
|
-
const
|
|
44
|
-
const m =
|
|
45
|
-
a(m),
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
|
|
50
|
-
}, { open:
|
|
42
|
+
const k = (t) => {
|
|
43
|
+
const m = t[0] || null;
|
|
44
|
+
a(m), d(m);
|
|
45
|
+
}, z = (t) => {
|
|
46
|
+
t.stopPropagation(), a(null), d(null);
|
|
47
|
+
}, C = (t) => {
|
|
48
|
+
t.stopPropagation(), p();
|
|
49
|
+
}, { open: p, getRootProps: I, getInputProps: S, isDragActive: v } = j({
|
|
51
50
|
...b,
|
|
52
51
|
maxFiles: 1,
|
|
53
|
-
onDropAccepted:
|
|
52
|
+
onDropAccepted: k,
|
|
54
53
|
accept: {
|
|
55
54
|
"image/*": [".png", ".jpeg", ".jpg", ".gif"]
|
|
56
55
|
},
|
|
57
56
|
noClick: !0
|
|
58
57
|
});
|
|
59
58
|
return /* @__PURE__ */ o(
|
|
60
|
-
|
|
59
|
+
F,
|
|
61
60
|
{
|
|
62
61
|
direction: "column",
|
|
63
62
|
justifyContent: "center",
|
|
@@ -70,16 +69,16 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
70
69
|
sx: {
|
|
71
70
|
cursor: "pointer",
|
|
72
71
|
position: "relative",
|
|
73
|
-
background: `${!
|
|
74
|
-
border: `${!
|
|
75
|
-
borderColor: (
|
|
72
|
+
background: `${!r && "linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,
|
|
73
|
+
border: `${!r && "1px dashed"}`,
|
|
74
|
+
borderColor: (t) => !r && t.palette.grey.main
|
|
76
75
|
},
|
|
77
|
-
...
|
|
78
|
-
onClick:
|
|
76
|
+
...I({
|
|
77
|
+
onClick: p
|
|
79
78
|
}),
|
|
80
79
|
children: [
|
|
81
|
-
/* @__PURE__ */ e("input", { ...
|
|
82
|
-
|
|
80
|
+
/* @__PURE__ */ e("input", { ...S() }),
|
|
81
|
+
r ? /* @__PURE__ */ o(s, { children: [
|
|
83
82
|
/* @__PURE__ */ o(
|
|
84
83
|
n,
|
|
85
84
|
{
|
|
@@ -94,7 +93,7 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
94
93
|
/* @__PURE__ */ e(
|
|
95
94
|
n,
|
|
96
95
|
{
|
|
97
|
-
onClick:
|
|
96
|
+
onClick: C,
|
|
98
97
|
sx: {
|
|
99
98
|
backgroundColor: "common.white",
|
|
100
99
|
display: "flex",
|
|
@@ -108,17 +107,17 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
108
107
|
"&:hover": {
|
|
109
108
|
backgroundColor: "grey.darker",
|
|
110
109
|
"& .MuiSvgIcon-root": {
|
|
111
|
-
fill: (
|
|
110
|
+
fill: (t) => t.palette.common.white
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
},
|
|
115
|
-
children: /* @__PURE__ */ e(
|
|
114
|
+
children: /* @__PURE__ */ e(P, { fontSize: "small" })
|
|
116
115
|
}
|
|
117
116
|
),
|
|
118
117
|
/* @__PURE__ */ e(
|
|
119
118
|
n,
|
|
120
119
|
{
|
|
121
|
-
onClick:
|
|
120
|
+
onClick: z,
|
|
122
121
|
sx: {
|
|
123
122
|
backgroundColor: "common.white",
|
|
124
123
|
display: "flex",
|
|
@@ -132,11 +131,11 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
132
131
|
"&:hover": {
|
|
133
132
|
backgroundColor: "grey.darker",
|
|
134
133
|
"& .MuiSvgIcon-root": {
|
|
135
|
-
fill: (
|
|
134
|
+
fill: (t) => t.palette.common.white
|
|
136
135
|
}
|
|
137
136
|
}
|
|
138
137
|
},
|
|
139
|
-
children: /* @__PURE__ */ e(
|
|
138
|
+
children: /* @__PURE__ */ e(w, { fontSize: "small" })
|
|
140
139
|
}
|
|
141
140
|
)
|
|
142
141
|
]
|
|
@@ -145,8 +144,8 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
145
144
|
/* @__PURE__ */ e(
|
|
146
145
|
"img",
|
|
147
146
|
{
|
|
148
|
-
src: typeof
|
|
149
|
-
alt: typeof
|
|
147
|
+
src: typeof r == "string" ? r : URL.createObjectURL(r),
|
|
148
|
+
alt: typeof r == "string" ? r : r.name,
|
|
150
149
|
style: {
|
|
151
150
|
width: "100%",
|
|
152
151
|
height: "100%",
|
|
@@ -156,9 +155,9 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
157
|
)
|
|
159
|
-
] }) : /* @__PURE__ */ e(s, { children:
|
|
158
|
+
] }) : /* @__PURE__ */ e(s, { children: v ? /* @__PURE__ */ o(s, { children: [
|
|
160
159
|
/* @__PURE__ */ e(
|
|
161
|
-
|
|
160
|
+
h,
|
|
162
161
|
{
|
|
163
162
|
color: "primary",
|
|
164
163
|
style: {
|
|
@@ -181,7 +180,7 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
181
180
|
},
|
|
182
181
|
children: [
|
|
183
182
|
/* @__PURE__ */ e(
|
|
184
|
-
|
|
183
|
+
h,
|
|
185
184
|
{
|
|
186
185
|
color: "primary",
|
|
187
186
|
style: {
|
|
@@ -200,5 +199,5 @@ const g = d(/* @__PURE__ */ e("path", {
|
|
|
200
199
|
);
|
|
201
200
|
};
|
|
202
201
|
export {
|
|
203
|
-
|
|
202
|
+
$ as default
|
|
204
203
|
};
|
|
@@ -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-GMNejc_m.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-DOdBqGqq.cjs"),c=require("../../Box-DYA49L7w.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-CjDitjBW.js";
|
|
3
|
+
import { B as o } from "../../Box-GMNejc_m.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-BzqflYRV.cjs"),a=require("../../InputAdornment-CwFEJSXv.cjs"),u=require("../../IconButton-CVOPR4EM.cjs"),n=require("../../createSvgIcon-DJMYlO0S.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-D5jS5WjF.js";
|
|
4
|
+
import { I as l } from "../../InputAdornment-GcbiriFv.js";
|
|
5
|
+
import { I as c } from "../../IconButton-CFUIddNg.js";
|
|
6
|
+
import { c as i } from "../../createSvgIcon-B62eln-G.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"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),m=require("../../createSvgIcon-DJMYlO0S.cjs"),d=require("@mui/material"),b=require("../EllipsisWithTooltip/EllipsisWithTooltip.cjs.js"),o=require("./style.cjs.js"),j=m.createSvgIcon(r.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreVert"),g=({isSelected:l=!1,onSelect:x=()=>{},image:u,title:n,defaultImage:h,propertyItems:i=[],infoIcons:s=[],size:t="md",width:p,onClick:c=()=>{}})=>(s=s.slice(0,3),r.jsx(d.Box,{sx:{width:p&&t==="md"?p:"320px"},children:r.jsxs(o.StyledCard,{selected:l,size:t,onClick:c,onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),c==null||c())},role:"button",tabIndex:0,"aria-label":`Resource card for ${n}`,children:[r.jsx(o.SelectedIcon,{onClick:e=>{e.preventDefault(),e.stopPropagation(),x()},onKeyDown:e=>{(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),e.stopPropagation(),x())},className:"selected-icon",selected:l,role:"button",tabIndex:0,"aria-label":l?"Unselect card":"Select card",children:r.jsx(j,{})}),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:u,defaultImage:h,size:t,role:"img","aria-label":`Image for ${n}`})}),r.jsxs(o.ResourceCardBody,{size:t,children:[r.jsx(b,{typographyProps:{fontWeight:"700",fontSize:"1.1rem"},tooltipProps:{placement:"bottom",arrow:!0},children:n}),i.length>0&&i.map((e,a)=>r.jsxs(o.ResourcePropertyItem,{size:t,role:"group","aria-label":`Property ${a}`,children:[e.icon,r.jsx(o.ResourcePropertyText,{isLast:a===i.length-1,size:t,width:p,children:e.text})]},`property-${a}`)),r.jsx(o.PublicIconWrapper,{size:t,children:s.length>0&&s.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=g;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { c as h } from "../../createSvgIcon-B62eln-G.js";
|
|
3
3
|
import { Box as b, Stack as x, Tooltip as f } from "@mui/material";
|
|
4
4
|
import g from "../EllipsisWithTooltip/EllipsisWithTooltip.es.js";
|
|
5
|
-
import { StyledCard as y, SelectedIcon as P, ResourceCardImage as R, ResourceCardBody as
|
|
6
|
-
const
|
|
7
|
-
|
|
5
|
+
import { StyledCard as y, SelectedIcon as P, ResourceCardImage as R, ResourceCardBody as I, ResourcePropertyItem as D, ResourcePropertyText as $, PublicIconWrapper as v, ResourceIconItem as w } from "./style.es.js";
|
|
6
|
+
const S = h(/* @__PURE__ */ r("path", {
|
|
7
|
+
d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
|
8
|
+
}), "MoreVert"), B = ({
|
|
9
|
+
isSelected: c = !1,
|
|
8
10
|
onSelect: m = () => {
|
|
9
11
|
},
|
|
10
12
|
image: s,
|
|
11
|
-
title:
|
|
13
|
+
title: n,
|
|
12
14
|
defaultImage: u,
|
|
13
15
|
propertyItems: p = [],
|
|
14
16
|
infoIcons: a = [],
|
|
@@ -19,7 +21,7 @@ const B = ({
|
|
|
19
21
|
}) => (a = a.slice(0, 3), /* @__PURE__ */ r(b, { sx: { width: d && t === "md" ? d : "320px" }, children: /* @__PURE__ */ i(
|
|
20
22
|
y,
|
|
21
23
|
{
|
|
22
|
-
selected:
|
|
24
|
+
selected: c,
|
|
23
25
|
size: t,
|
|
24
26
|
onClick: l,
|
|
25
27
|
onKeyDown: (e) => {
|
|
@@ -27,7 +29,7 @@ const B = ({
|
|
|
27
29
|
},
|
|
28
30
|
role: "button",
|
|
29
31
|
tabIndex: 0,
|
|
30
|
-
"aria-label": `Resource card for ${
|
|
32
|
+
"aria-label": `Resource card for ${n}`,
|
|
31
33
|
children: [
|
|
32
34
|
/* @__PURE__ */ r(
|
|
33
35
|
P,
|
|
@@ -39,11 +41,11 @@ const B = ({
|
|
|
39
41
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), m());
|
|
40
42
|
},
|
|
41
43
|
className: "selected-icon",
|
|
42
|
-
selected:
|
|
44
|
+
selected: c,
|
|
43
45
|
role: "button",
|
|
44
46
|
tabIndex: 0,
|
|
45
|
-
"aria-label":
|
|
46
|
-
children: /* @__PURE__ */ r(
|
|
47
|
+
"aria-label": c ? "Unselect card" : "Select card",
|
|
48
|
+
children: /* @__PURE__ */ r(S, {})
|
|
47
49
|
}
|
|
48
50
|
),
|
|
49
51
|
/* @__PURE__ */ r(
|
|
@@ -63,22 +65,22 @@ const B = ({
|
|
|
63
65
|
defaultImage: u,
|
|
64
66
|
size: t,
|
|
65
67
|
role: "img",
|
|
66
|
-
"aria-label": `Image for ${
|
|
68
|
+
"aria-label": `Image for ${n}`
|
|
67
69
|
}
|
|
68
70
|
)
|
|
69
71
|
}
|
|
70
72
|
),
|
|
71
|
-
/* @__PURE__ */ i(
|
|
73
|
+
/* @__PURE__ */ i(I, { size: t, children: [
|
|
72
74
|
/* @__PURE__ */ r(
|
|
73
75
|
g,
|
|
74
76
|
{
|
|
75
77
|
typographyProps: { fontWeight: "700", fontSize: "1.1rem" },
|
|
76
78
|
tooltipProps: { placement: "bottom", arrow: !0 },
|
|
77
|
-
children:
|
|
79
|
+
children: n
|
|
78
80
|
}
|
|
79
81
|
),
|
|
80
82
|
p.length > 0 && p.map((e, o) => /* @__PURE__ */ i(
|
|
81
|
-
|
|
83
|
+
D,
|
|
82
84
|
{
|
|
83
85
|
size: t,
|
|
84
86
|
role: "group",
|
|
@@ -98,14 +100,14 @@ const B = ({
|
|
|
98
100
|
},
|
|
99
101
|
`property-${o}`
|
|
100
102
|
)),
|
|
101
|
-
/* @__PURE__ */ r(
|
|
103
|
+
/* @__PURE__ */ r(v, { size: t, children: a.length > 0 && a.map((e, o) => /* @__PURE__ */ r(
|
|
102
104
|
f,
|
|
103
105
|
{
|
|
104
106
|
title: e.text,
|
|
105
107
|
placement: "top",
|
|
106
108
|
arrow: !0,
|
|
107
109
|
children: /* @__PURE__ */ r(
|
|
108
|
-
|
|
110
|
+
w,
|
|
109
111
|
{
|
|
110
112
|
size: t,
|
|
111
113
|
role: "button",
|