@cgi-learning-hub/ui 1.4.0-dev.1740498210 → 1.4.0-dev.1741004759

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.
Files changed (239) hide show
  1. package/dist/{Backdrop-DdA12b-5.js → Backdrop-BctCVgLy.js} +5 -5
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/Box-DYA49L7w.cjs +1 -0
  4. package/dist/{Box-DbRInJ2-.js → Box-DgqaLb7j.js} +3 -3
  5. package/dist/{Button-rxIER0bL.js → Button-B7kOjNW1.js} +147 -113
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/{ButtonBase-C2rhY3j-.cjs → ButtonBase-D6tfI-8D.cjs} +1 -1
  8. package/dist/{ButtonBase-DzpmdR6N.js → ButtonBase-IZ_QjbpE.js} +4 -4
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/{CardContent-u1MKaFvP.js → CardContent-F4-KcZH8.js} +3 -3
  11. package/dist/Checkbox-DQgPXaym.cjs +1 -0
  12. package/dist/{Checkbox-BI77q7eR.js → Checkbox-qUSjau0g.js} +23 -22
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/{Chip-6-zATjcr.js → Chip-OpRIs-sL.js} +50 -49
  15. package/dist/{CircularProgress-CDa_qU1a.js → CircularProgress-CQxzJquv.js} +14 -13
  16. package/dist/CircularProgress-cPXhiRlM.cjs +28 -0
  17. package/dist/{CloseRounded-DTpqUeWr.js → CloseRounded-BMEGLs8y.js} +1 -1
  18. package/dist/{CloseRounded-DQWTEbNz.cjs → CloseRounded-BRXBizmR.cjs} +1 -1
  19. package/dist/{DatePicker-BTTLIBm9.js → DatePicker-C6MCYjpp.js} +529 -526
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/{DefaultPropsProvider-BcmyIf2H.js → DefaultPropsProvider-Cqcb4sws.js} +27 -27
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/{Dialog-CgBiKk8B.js → Dialog-CKS7yjT5.js} +17 -16
  25. package/dist/{DialogContent-SYCCu1VD.js → DialogContent-BzPaz5G8.js} +3 -3
  26. package/dist/DialogContent-DcZz4rBc.cjs +1 -0
  27. package/dist/{DialogTitle-_yayDwkI.js → DialogTitle-D3E_lDHD.js} +5 -5
  28. package/dist/DialogTitle-mr9xn4JZ.cjs +1 -0
  29. package/dist/{Divider-Doy31VS6.js → Divider-D-pZeQTm.js} +4 -4
  30. package/dist/Divider-D3hPb7s4.cjs +1 -0
  31. package/dist/{FormLabel-DjkS3S9h.js → FormLabel-3-CC-ZGw.js} +12 -11
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-DPD-iBAX.js → Grow-DKgYCxiY.js} +3 -3
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-B4bt0Hp2.js → IconButton-CCNUMz2l.js} +27 -26
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/InputAdornment-CwFEJSXv.cjs +1 -0
  38. package/dist/{InputAdornment-GzDm1zf_.js → InputAdornment-DL8XIM8r.js} +9 -8
  39. package/dist/{InputBase-CF5oNEfh.js → InputBase-By7jMrFP.js} +41 -40
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CnahHTmK.js → Link-C_GPIs0q.js} +11 -10
  43. package/dist/{Menu-DzBX10ev.js → Menu-BunOW0ot.js} +28 -28
  44. package/dist/{Menu-C-R0FVOB.cjs → Menu-Cngt8Va9.cjs} +6 -6
  45. package/dist/MenuItem-Bha8aBMr.cjs +1 -0
  46. package/dist/{MenuItem-DQQ-p2ie.js → MenuItem-Cu3FTLl8.js} +6 -6
  47. package/dist/{Modal-B8JRJWm0.js → Modal-DTJd7JJ6.js} +8 -8
  48. package/dist/{Modal-D8lS9C1l.cjs → Modal-u82Ss4h_.cjs} +2 -2
  49. package/dist/{Paper-CbgkVQVx.js → Paper-BiZq6EF2.js} +4 -4
  50. package/dist/Paper-EvOTlB_Q.cjs +2 -0
  51. package/dist/Popper-BVYscbsI.cjs +4 -0
  52. package/dist/{Popper-1-DDNRPD.js → Popper-DjwR55WH.js} +5 -5
  53. package/dist/{Portal-T-1Qk77D.js → Portal-BByeByPq.js} +2 -2
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/{Radio-BxMxeQa-.js → Radio-DSRS-tjj.js} +9 -8
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/{RadioGroup-BLrD8_Lp.js → RadioGroup-cPdOWdYD.js} +3 -3
  59. package/dist/{Select-B6mYfJPA.js → Select-CZnKFG3o.js} +40 -39
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-aCUdCw1A.js → Stack-hbAJHQhq.js} +105 -60
  63. package/dist/{Switch-BOpqo-TS.js → Switch-B9uT9-d0.js} +11 -10
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-BAjfatYA.js → SwitchBase-CDkmnGAP.js} +21 -20
  66. package/dist/SwitchBase-CnA6TA2P.cjs +1 -0
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CrWcC5nJ.js → Tabs-BYfDlOR9.js} +226 -225
  69. package/dist/{TextField-CAmc1Qpg.js → TextField-BKfXjPdH.js} +18 -17
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/{ToggleButtonGroup-ekxVeQCc.js → ToggleButtonGroup-sc2omtRp.js} +996 -984
  73. package/dist/{Tooltip-BvVFPsVR.js → Tooltip-B1NGvrJP.js} +30 -29
  74. package/dist/Tooltip-oNmnF7Bc.cjs +4 -0
  75. package/dist/Typography-DPij13XT.cjs +1 -0
  76. package/dist/{Typography-CE8fQQ8B.js → Typography-SIQ6eleU.js} +13 -12
  77. package/dist/capitalize-3KLkrEtk.js +9 -0
  78. package/dist/capitalize-CEByPz9F.cjs +1 -0
  79. package/dist/components/Button/Button.cjs.js +1 -1
  80. package/dist/components/Button/Button.es.js +2 -2
  81. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  82. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  83. package/dist/components/DatePicker/index.cjs.js +1 -1
  84. package/dist/components/DatePicker/index.es.js +1 -1
  85. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  86. package/dist/components/Dialog/Dialog.es.js +2 -2
  87. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  88. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  89. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  90. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  91. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  92. package/dist/components/FileList/FileIcon.es.js +1 -1
  93. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  94. package/dist/components/FileList/FileListItem.es.js +14 -13
  95. package/dist/components/Heading/Heading.cjs.js +1 -1
  96. package/dist/components/Heading/Heading.es.js +2 -2
  97. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  98. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +1 -1
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +3 -3
  105. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  106. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  107. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  108. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  109. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  110. package/dist/components/TextInput/TextInput.es.js +1 -1
  111. package/dist/components/index.cjs.js +1 -1
  112. package/dist/components/index.es.js +34 -34
  113. package/dist/components/stories/Button.stories.cjs.js +1 -1
  114. package/dist/components/stories/Button.stories.es.js +1 -1
  115. package/dist/components/stories/Card.stories.cjs.js +1 -1
  116. package/dist/components/stories/Card.stories.es.js +2 -2
  117. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  118. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  119. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  120. package/dist/components/stories/Chip.stories.es.js +1 -1
  121. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  122. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  123. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  124. package/dist/components/stories/Dialog.stories.es.js +2 -2
  125. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  126. package/dist/components/stories/Divider.stories.es.js +1 -1
  127. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  128. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  129. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  130. package/dist/components/stories/Heading.stories.es.js +2 -2
  131. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  132. package/dist/components/stories/IconButton.stories.es.js +2 -2
  133. package/dist/components/stories/Link.stories.cjs.js +1 -1
  134. package/dist/components/stories/Link.stories.es.js +1 -1
  135. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  136. package/dist/components/stories/Menu.stories.es.js +2 -2
  137. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  138. package/dist/components/stories/Paper.stories.es.js +1 -1
  139. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  140. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  141. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  142. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  143. package/dist/components/stories/Select.stories.cjs.js +1 -1
  144. package/dist/components/stories/Select.stories.es.js +3 -3
  145. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  146. package/dist/components/stories/TabList.stories.es.js +4 -4
  147. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  148. package/dist/components/stories/TextField.stories.es.js +1 -1
  149. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  150. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  151. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  152. package/dist/components/stories/Typography.stories.es.js +1 -1
  153. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  154. package/dist/{createSvgIcon-CCejzj0C.js → createSvgIcon-K2ZAdASa.js} +18 -17
  155. package/dist/dividerClasses-Dq1bCO_s.cjs +1 -0
  156. package/dist/{dividerClasses-DN9F43tq.js → dividerClasses-afsB3Yy1.js} +1 -1
  157. package/dist/{elementTypeAcceptingRef-CrAqn_fc.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  158. package/dist/elementTypeAcceptingRef-BjgxF5Bq.cjs +1 -0
  159. package/dist/extendSxProp-D-oLUmkR.cjs +1 -0
  160. package/dist/{extendSxProp-DFv-GFt5.js → extendSxProp-dlShX1xL.js} +1 -1
  161. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  162. package/dist/{identifier-D58rA1gM.js → generateUtilityClasses-DotvgSDH.js} +870 -840
  163. package/dist/{index-BGS2uu2L.js → index-B1u7G33_.js} +1 -1
  164. package/dist/index-CVFzneYe.cjs +5 -0
  165. package/dist/{index-ClXCinr6.js → index-DTTmpNYg.js} +4 -4
  166. package/dist/index-T-RSwkXB.cjs +1 -0
  167. package/dist/index.cjs.js +1 -1
  168. package/dist/index.es.js +34 -34
  169. package/dist/{memoTheme-DyiN-Awd.js → memoTheme-CqmIydD-.js} +1 -1
  170. package/dist/{memoTheme-C8EfvlY1.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  171. package/dist/refType-BkobP3bK.cjs +1 -0
  172. package/dist/{refType-B86yTZra.js → refType-C210ipRY.js} +1 -1
  173. package/dist/{resolveComponentProps-0QnU-fDT.js → resolveComponentProps-CPmhKPdH.js} +1 -1
  174. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  175. package/dist/{useSlot-CyXLaLc2.cjs → useSlot-CC2AaOjN.cjs} +1 -1
  176. package/dist/{useSlot-CZNcsPv1.js → useSlot-GZu0V5wJ.js} +1 -1
  177. package/dist/{index-DwHI-aa0.js → useSlotProps-C9tsxDNg.js} +26 -26
  178. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  179. package/dist/useTheme-7RGQRN-h.cjs +1 -0
  180. package/dist/useTheme-BA7tMglY.js +11 -0
  181. package/dist/useTheme-CIf2b2wK.cjs +1 -0
  182. package/dist/{useTheme-DxxkErdZ.js → useTheme-tdgDVH1p.js} +1 -1
  183. package/dist/{useThemeProps-CpNQz1Ap.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  184. package/dist/{useThemeProps-BGZrRNnL.js → useThemeProps-BQlPXzo3.js} +2 -2
  185. package/dist/useThemeProps-BTfGtNci.js +17 -0
  186. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  187. package/dist/utils-CFI_-FMV.cjs +1 -0
  188. package/dist/{utils-SrEVp7Pm.js → utils-CXhh35wP.js} +1 -1
  189. package/package.json +1 -1
  190. package/dist/Backdrop-COarwgJj.cjs +0 -1
  191. package/dist/Box-C0mEbUoK.cjs +0 -1
  192. package/dist/Button-1tZRtOeG.cjs +0 -1
  193. package/dist/CardContent-BXjX98Jd.cjs +0 -1
  194. package/dist/Checkbox-C6CIGK27.cjs +0 -1
  195. package/dist/Chip-CAPnyZyW.cjs +0 -1
  196. package/dist/CircularProgress-DTVP6gln.cjs +0 -28
  197. package/dist/DatePicker-CJ5-Udgh.cjs +0 -14
  198. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +0 -1
  199. package/dist/Dialog-Cmv58WoN.cjs +0 -1
  200. package/dist/DialogContent-CGEdCDYk.cjs +0 -1
  201. package/dist/DialogTitle-Dxm2NHs7.cjs +0 -1
  202. package/dist/Divider-D_LVNUqS.cjs +0 -1
  203. package/dist/FormLabel-D0gSgwnj.cjs +0 -2
  204. package/dist/Grow-D7scX77o.cjs +0 -1
  205. package/dist/IconButton-Edo5JMfQ.cjs +0 -2
  206. package/dist/InputAdornment-C9NrmB_z.cjs +0 -1
  207. package/dist/InputBase-CgOQ0M4_.cjs +0 -3
  208. package/dist/Link-CAbb9OCV.cjs +0 -1
  209. package/dist/MenuItem-Cp1_Q0FD.cjs +0 -1
  210. package/dist/Paper-C-oPGpbI.cjs +0 -2
  211. package/dist/Popper-uw9PkkLY.cjs +0 -4
  212. package/dist/Portal-bIKnnWR4.cjs +0 -1
  213. package/dist/Radio-CvCkmq8g.cjs +0 -1
  214. package/dist/RadioGroup-Ya-I8Lz1.cjs +0 -1
  215. package/dist/Select-KMdcuol6.cjs +0 -3
  216. package/dist/Stack-C6v70ALA.cjs +0 -1
  217. package/dist/Switch-DF4bSjED.cjs +0 -1
  218. package/dist/SwitchBase-7zONZyYP.cjs +0 -1
  219. package/dist/Tabs-Dploq_37.cjs +0 -4
  220. package/dist/TextField-BC7GvvHh.cjs +0 -1
  221. package/dist/ToggleButtonGroup-BCVgsika.cjs +0 -140
  222. package/dist/Tooltip-CWA-GKdK.cjs +0 -4
  223. package/dist/Typography-DEAE8-8u.cjs +0 -1
  224. package/dist/createSvgIcon-Dn4BBPej.cjs +0 -1
  225. package/dist/dividerClasses-Zk1QmrZw.cjs +0 -1
  226. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +0 -1
  227. package/dist/extendSxProp-BB6jYY1x.cjs +0 -1
  228. package/dist/identifier-5n4d7br9.cjs +0 -75
  229. package/dist/index-5BAFzrXD.cjs +0 -1
  230. package/dist/index-CFm-oAsb.cjs +0 -1
  231. package/dist/index-CJW5gB6d.cjs +0 -5
  232. package/dist/refType-CjW6JOBA.cjs +0 -1
  233. package/dist/resolveComponentProps-D0sgyopa.cjs +0 -1
  234. package/dist/useTheme-Bi8B4Op1.cjs +0 -1
  235. package/dist/useTheme-C_2IF7CS.cjs +0 -1
  236. package/dist/useTheme-Clhsq4HW.js +0 -11
  237. package/dist/useThemeProps-C6qniHmV.js +0 -17
  238. package/dist/useThemeProps-Dq3GRYN1.cjs +0 -1
  239. package/dist/utils-D4if93Yl.cjs +0 -1
@@ -1,19 +1,20 @@
1
1
  import * as n from "react";
2
- import { H as Je, I as Qe, G as ge, L as ve, n as Re, P as e } from "./identifier-D58rA1gM.js";
3
- import { u as Ze } from "./index-DwHI-aa0.js";
4
- import { u as eo } from "./useTheme-Clhsq4HW.js";
5
- import { jsx as N, jsxs as Te } from "react/jsx-runtime";
6
- import { u as oo, s as G, c as to } from "./DefaultPropsProvider-BcmyIf2H.js";
7
- import { m as Y } from "./memoTheme-DyiN-Awd.js";
8
- import { u as I } from "./useSlot-CZNcsPv1.js";
2
+ import { H as Je, I as Qe, G as ge, n as ve, P as e } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { u as Ze } from "./useSlotProps-C9tsxDNg.js";
4
+ import { u as eo } from "./useTheme-BA7tMglY.js";
5
+ import { jsx as L, jsxs as Te } from "react/jsx-runtime";
6
+ import { u as oo, s as G, c as to } from "./DefaultPropsProvider-Cqcb4sws.js";
7
+ import { m as Y } from "./memoTheme-CqmIydD-.js";
8
+ import { u as I } from "./useSlot-GZu0V5wJ.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 "./utils-SrEVp7Pm.js";
15
- import { G as lo } from "./Grow-DPD-iBAX.js";
16
- import { P as Oe } from "./Popper-1-DDNRPD.js";
14
+ import { g as io, e as ao } from "./utils-CXhh35wP.js";
15
+ import { G as lo } from "./Grow-DKgYCxiY.js";
16
+ import { P as Re } from "./Popper-DjwR55WH.js";
17
+ import { c as Oe } from "./capitalize-3KLkrEtk.js";
17
18
  import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
18
19
  function co(r) {
19
20
  return Qe("MuiTooltip", r);
@@ -31,11 +32,11 @@ const uo = (r) => {
31
32
  placement: b
32
33
  } = r, q = {
33
34
  popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
34
- tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${ve(b.split("-")[0])}`],
35
+ tooltip: ["tooltip", d && "tooltipArrow", O && "touch", `tooltipPlacement${Oe(b.split("-")[0])}`],
35
36
  arrow: ["arrow"]
36
37
  };
37
38
  return to(q, co, o);
38
- }, fo = G(Oe, {
39
+ }, fo = G(Re, {
39
40
  name: "MuiTooltip",
40
41
  slot: "Popper",
41
42
  overridesResolver: (r, o) => {
@@ -145,12 +146,12 @@ const uo = (r) => {
145
146
  const {
146
147
  ownerState: s
147
148
  } = r;
148
- return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${ve(s.placement.split("-")[0])}`]];
149
+ return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${Oe(s.placement.split("-")[0])}`]];
149
150
  }
150
151
  })(Y(({
151
152
  theme: r
152
153
  }) => ({
153
- backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
154
+ backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : ve(r.palette.grey[700], 0.92),
154
155
  borderRadius: (r.vars || r).shape.borderRadius,
155
156
  color: (r.vars || r).palette.common.white,
156
157
  fontFamily: r.typography.fontFamily,
@@ -271,7 +272,7 @@ const uo = (r) => {
271
272
  width: "1em",
272
273
  height: "0.71em",
273
274
  boxSizing: "border-box",
274
- color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
275
+ color: r.vars ? r.vars.palette.Tooltip.bg : ve(r.palette.grey[700], 0.9),
275
276
  "&::before": {
276
277
  content: '""',
277
278
  margin: "auto",
@@ -322,12 +323,12 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
322
323
  PopperComponent: re,
323
324
  PopperProps: f = {},
324
325
  slotProps: h = {},
325
- slots: Le = {},
326
+ slots: Ne = {},
326
327
  title: g,
327
- TransitionComponent: Ne,
328
+ TransitionComponent: Le,
328
329
  TransitionProps: Ie,
329
330
  ...pe
330
- } = d, m = /* @__PURE__ */ n.isValidElement(b) ? b : /* @__PURE__ */ N("span", {
331
+ } = d, m = /* @__PURE__ */ n.isValidElement(b) ? b : /* @__PURE__ */ L("span", {
331
332
  children: b
332
333
  }), ne = eo(), je = Ze(), [i, se] = n.useState(), [F, Ae] = n.useState(null), C = n.useRef(!1), U = Ce || k, ie = j(), W = j(), M = j(), ae = j(), [De, le] = po({
333
334
  controlled: oe,
@@ -448,13 +449,13 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
448
449
  ...l == null ? void 0 : l.popperOptions,
449
450
  modifiers: t
450
451
  };
451
- }, [F, f.popperOptions, l == null ? void 0 : l.popperOptions]), _ = uo(T), Ve = typeof h.transition == "function" ? h.transition(T) : h.transition, L = {
452
+ }, [F, f.popperOptions, l == null ? void 0 : l.popperOptions]), _ = uo(T), Ve = typeof h.transition == "function" ? h.transition(T) : h.transition, N = {
452
453
  slots: {
453
454
  popper: P.Popper,
454
- transition: P.Transition ?? Ne,
455
+ transition: P.Transition ?? Le,
455
456
  tooltip: P.Tooltip,
456
457
  arrow: P.Arrow,
457
- ...Le
458
+ ...Ne
458
459
  },
459
460
  slotProps: {
460
461
  arrow: h.arrow ?? x.arrow,
@@ -471,28 +472,28 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
471
472
  }
472
473
  }, [ze, He] = I("popper", {
473
474
  elementType: fo,
474
- externalForwardedProps: L,
475
+ externalForwardedProps: N,
475
476
  ownerState: T,
476
477
  className: ge(_.popper, f == null ? void 0 : f.className)
477
478
  }), [_e, Ge] = I("transition", {
478
479
  elementType: lo,
479
- externalForwardedProps: L,
480
+ externalForwardedProps: N,
480
481
  ownerState: T
481
482
  }), [Ye, qe] = I("tooltip", {
482
483
  elementType: ho,
483
484
  className: _.tooltip,
484
- externalForwardedProps: L,
485
+ externalForwardedProps: N,
485
486
  ownerState: T
486
487
  }), [Ke, Xe] = I("arrow", {
487
488
  elementType: go,
488
489
  className: _.arrow,
489
- externalForwardedProps: L,
490
+ externalForwardedProps: N,
490
491
  ownerState: T,
491
492
  ref: Ae
492
493
  });
493
494
  return /* @__PURE__ */ Te(n.Fragment, {
494
- children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ N(ze, {
495
- as: re ?? Oe,
495
+ children: [/* @__PURE__ */ n.cloneElement(m, a), /* @__PURE__ */ L(ze, {
496
+ as: re ?? Re,
496
497
  placement: te,
497
498
  anchorEl: k ? {
498
499
  getBoundingClientRect: () => ({
@@ -513,13 +514,13 @@ const To = /* @__PURE__ */ n.forwardRef(function(o, s) {
513
514
  popperOptions: Be,
514
515
  children: ({
515
516
  TransitionProps: t
516
- }) => /* @__PURE__ */ N(_e, {
517
+ }) => /* @__PURE__ */ L(_e, {
517
518
  timeout: ne.transitions.duration.shorter,
518
519
  ...t,
519
520
  ...Ge,
520
521
  children: /* @__PURE__ */ Te(Ye, {
521
522
  ...qe,
522
- children: [g, O ? /* @__PURE__ */ N(Ke, {
523
+ children: [g, O ? /* @__PURE__ */ L(Ke, {
523
524
  ...Xe
524
525
  }) : null]
525
526
  })
@@ -0,0 +1,4 @@
1
+ "use strict";const Je=require("react"),e=require("./generateUtilityClasses-De8NU9_E.cjs"),Qe=require("./useSlotProps-CvOxvhyy.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("./utils-CFI_-FMV.cjs"),ro=require("./Grow-Z3KzFaK5.cjs"),Pe=require("./Popper-BVYscbsI.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;
@@ -0,0 +1 @@
1
+ "use strict";const C=require("react"),t=require("./generateUtilityClasses-De8NU9_E.cjs"),S=require("./index-T-RSwkXB.cjs"),w=require("./memoTheme-DrjvJtTP.cjs"),B=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs"),q=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-wpBXjN8r.cjs"),y=require("./capitalize-CEByPz9F.cjs");function M(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const p=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(o,e,p.get?p:{enumerable:!0,get:()=>r[e]})}}return o.default=r,Object.freeze(o)}const R=M(C);function P(r){return t.generateUtilityClass("MuiTypography",r)}const W=t.generateUtilityClasses("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),D={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},N=S.internal_createExtendSxProp(),U=r=>{const{align:o,gutterBottom:e,noWrap:p,paragraph:s,variant:i,classes:n}=r,a={root:["root",i,r.align!=="inherit"&&`align${y.capitalize(o)}`,e&&"gutterBottom",p&&"noWrap",s&&"paragraph"]};return c.composeClasses(a,P,n)},z=c.styled("span",{name:"MuiTypography",slot:"Root",overridesResolver:(r,o)=>{const{ownerState:e}=r;return[o.root,e.variant&&o[e.variant],e.align!=="inherit"&&o[`align${y.capitalize(e.align)}`],e.noWrap&&o.noWrap,e.gutterBottom&&o.gutterBottom,e.paragraph&&o.paragraph]}})(w.memoTheme(({theme:r})=>{var o;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(r.typography).filter(([e,p])=>e!=="inherit"&&p&&typeof p=="object").map(([e,p])=>({props:{variant:e},style:p})),...Object.entries(r.palette).filter(B.createSimplePaletteValueFilter()).map(([e])=>({props:{color:e},style:{color:(r.vars||r).palette[e].main}})),...Object.entries(((o=r.palette)==null?void 0:o.text)||{}).filter(([,e])=>typeof e=="string").map(([e])=>({props:{color:`text${y.capitalize(e)}`},style:{color:(r.vars||r).palette.text[e]}})),{props:({ownerState:e})=>e.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d=R.forwardRef(function(o,e){const{color:p,...s}=c.useDefaultProps({props:o,name:"MuiTypography"}),i=!D[p],n=N({...s,...i&&{color:p}}),{align:a="inherit",className:g,component:u,gutterBottom:x=!1,noWrap:v=!1,paragraph:h=!1,variant:l="body1",variantMapping:T=b,...f}=n,m={...n,align:a,color:p,className:g,component:u,gutterBottom:x,noWrap:v,paragraph:h,variant:l,variantMapping:T},O=u||(h?"p":T[l]||b[l])||"span",j=U(m);return q.jsx(z,{as:O,ref:e,className:t.clsx(j.root,g),...f,ownerState:m,style:{...a!=="inherit"&&{"--Typography-textAlign":a},...f.style}})});process.env.NODE_ENV!=="production"&&(d.propTypes={align:t.PropTypes.oneOf(["center","inherit","justify","left","right"]),children:t.PropTypes.node,classes:t.PropTypes.object,className:t.PropTypes.string,color:t.PropTypes.oneOfType([t.PropTypes.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),t.PropTypes.string]),component:t.PropTypes.elementType,gutterBottom:t.PropTypes.bool,noWrap:t.PropTypes.bool,paragraph:t.PropTypes.bool,style:t.PropTypes.object,sx:t.PropTypes.oneOfType([t.PropTypes.arrayOf(t.PropTypes.oneOfType([t.PropTypes.func,t.PropTypes.object,t.PropTypes.bool])),t.PropTypes.func,t.PropTypes.object]),variant:t.PropTypes.oneOfType([t.PropTypes.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),t.PropTypes.string]),variantMapping:t.PropTypes.object});exports.Typography=d;exports.getTypographyUtilityClass=P;exports.typographyClasses=W;
@@ -1,14 +1,15 @@
1
1
  import * as O from "react";
2
- import { H as j, I as B, G as C, L as c, P as r } from "./identifier-D58rA1gM.js";
3
- import { i as S } from "./index-ClXCinr6.js";
4
- import { m as w } from "./memoTheme-DyiN-Awd.js";
2
+ import { H as j, I as B, G as C, P as r } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { i as S } from "./index-DTTmpNYg.js";
4
+ import { m as w } from "./memoTheme-CqmIydD-.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-BcmyIf2H.js";
7
+ import { u as M, s as R, c as N } from "./DefaultPropsProvider-Cqcb4sws.js";
8
+ import { c } from "./capitalize-3KLkrEtk.js";
8
9
  function D(e) {
9
10
  return B("MuiTypography", e);
10
11
  }
11
- const I = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), U = {
12
+ const L = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]), U = {
12
13
  primary: !0,
13
14
  secondary: !0,
14
15
  error: !0,
@@ -138,8 +139,8 @@ const I = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
138
139
  noWrap: x = !1,
139
140
  paragraph: y = !1,
140
141
  variant: l = "body1",
141
- variantMapping: u = b,
142
- ...m
142
+ variantMapping: m = b,
143
+ ...u
143
144
  } = i, f = {
144
145
  ...i,
145
146
  align: n,
@@ -150,19 +151,19 @@ const I = j("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subti
150
151
  noWrap: x,
151
152
  paragraph: y,
152
153
  variant: l,
153
- variantMapping: u
154
- }, v = h || (y ? "p" : u[l] || b[l]) || "span", T = E(f);
154
+ variantMapping: m
155
+ }, v = h || (y ? "p" : m[l] || b[l]) || "span", T = E(f);
155
156
  return /* @__PURE__ */ W(V, {
156
157
  as: v,
157
158
  ref: t,
158
159
  className: C(T.root, g),
159
- ...m,
160
+ ...u,
160
161
  ownerState: f,
161
162
  style: {
162
163
  ...n !== "inherit" && {
163
164
  "--Typography-textAlign": n
164
165
  },
165
- ...m.style
166
+ ...u.style
166
167
  }
167
168
  });
168
169
  });
@@ -255,5 +256,5 @@ process.env.NODE_ENV !== "production" && ($.propTypes = {
255
256
  export {
256
257
  $ as T,
257
258
  D as g,
258
- I as t
259
+ L as t
259
260
  };
@@ -0,0 +1,9 @@
1
+ import { J as e } from "./generateUtilityClasses-DotvgSDH.js";
2
+ function o(r) {
3
+ if (typeof r != "string")
4
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `capitalize(string)` expects a string argument." : e(7));
5
+ return r.charAt(0).toUpperCase() + r.slice(1);
6
+ }
7
+ export {
8
+ o as c
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r=require("./generateUtilityClasses-De8NU9_E.cjs");function t(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":r.formatMuiErrorMessage(7));return e.charAt(0).toUpperCase()+e.slice(1)}exports.capitalize=t;
@@ -1 +1 @@
1
- "use strict";const o=require("react/jsx-runtime"),r=require("../../DefaultPropsProvider-QmkL7lbM.cjs"),n=require("../../Button-1tZRtOeG.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
+ "use strict";const o=require("react/jsx-runtime"),r=require("../../DefaultPropsProvider-wpBXjN8r.cjs"),n=require("../../Button-UmeKHfcL.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-BcmyIf2H.js";
3
- import { B as n } from "../../Button-rxIER0bL.js";
2
+ import { s as e } from "../../DefaultPropsProvider-Cqcb4sws.js";
3
+ import { B as n } from "../../Button-B7kOjNW1.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");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-CJ5-Udgh.cjs");module.exports=e.DatePicker;
1
+ "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-CTIqTlNQ.cjs");module.exports=e.DatePicker;
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../fr-B3qrCNcK.js";
3
- import { D as p } from "../../DatePicker-BTTLIBm9.js";
3
+ import { D as p } from "../../DatePicker-C6MCYjpp.js";
4
4
  export {
5
5
  p as default
6
6
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-CJ5-Udgh.cjs");exports.DatePicker=e.DatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-CTIqTlNQ.cjs");exports.DatePicker=e.DatePicker;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../../DatePicker-BTTLIBm9.js";
1
+ import { D as a } from "../../DatePicker-C6MCYjpp.js";
2
2
  export {
3
3
  a as DatePicker
4
4
  };
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-DQWTEbNz.cjs"),c=require("@mui/material"),u=require("../../Dialog-Cmv58WoN.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
+ "use strict";const n=require("react/jsx-runtime"),t=require("../../CloseRounded-BRXBizmR.cjs"),c=require("@mui/material"),u=require("../../Dialog-B1wnk5BT.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-DTpqUeWr.js";
2
+ import { C as s } from "../../CloseRounded-BMEGLs8y.js";
3
3
  import { IconButton as t } from "@mui/material";
4
- import { D as c } from "../../Dialog-CgBiKk8B.js";
4
+ import { D as c } from "../../Dialog-CKS7yjT5.js";
5
5
  const f = ({
6
6
  children: e,
7
7
  showCloseButton: a = !0,
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-Dn4BBPej.cjs"),h=require("../../index-CJW5gB6d.cjs"),u=require("../../Stack-C6v70ALA.cjs"),r=require("../../Typography-DEAE8-8u.cjs"),g=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),x=s.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"),j=({defaultLabel:c="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:i="Déposer les fichiers ici",information:o,width:n,height:t,...p})=>{const{getRootProps:l,getInputProps:a,isDragActive:d}=h.useDropzone(p);return e.jsxs(u.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:n??"18rem",height:t??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...l(),children:[e.jsx("input",{...a()}),d?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(x,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=j;
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-DJMYlO0S.cjs"),h=require("../../index-CVFzneYe.cjs"),u=require("../../Stack-B82ckLGm.cjs"),r=require("../../Typography-DPij13XT.cjs"),g=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),x=s.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"),j=({defaultLabel:c="Glisser et déposer des fichiers ici, ou cliquer pour sélectionner des fichiers",dragLabel:i="Déposer les fichiers ici",information:o,width:n,height:t,...p})=>{const{getRootProps:l,getInputProps:a,isDragActive:d}=h.useDropzone(p);return e.jsxs(u.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:n??"18rem",height:t??"auto",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...l(),children:[e.jsx("input",{...a()}),d?e.jsxs(e.Fragment,{children:[e.jsx(g,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(x,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=j;
@@ -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-CCejzj0C.js";
3
- import { u } from "../../index-BGS2uu2L.js";
4
- import { S as g } from "../../Stack-aCUdCw1A.js";
5
- import { T as o } from "../../Typography-CE8fQQ8B.js";
2
+ import { c as t } from "../../createSvgIcon-K2ZAdASa.js";
3
+ import { u } from "../../index-B1u7G33_.js";
4
+ import { S as g } from "../../Stack-hbAJHQhq.js";
5
+ import { T as o } from "../../Typography-SIQ6eleU.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 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-C6v70ALA.cjs"),i=require("../../Typography-DEAE8-8u.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-B82ckLGm.cjs"),i=require("../../Typography-DPij13XT.cjs"),u=({svgName:n,title:s,description:e,descriptionProps:o,svgProps:c,titleProps:a,...h})=>{const{Svg:r}=l.useLazySvgImport(n);return r?t.jsxs(g.Stack,{direction:"column",alignItems:"center",margin:"auto",...h,children:[t.jsx("div",{style:{width:200,maxHeight:200},children:t.jsx(r,{width:"100%",height:"100%",preserveAspectRatio:"xMinYMin slice",...c})}),t.jsx(i.Typography,{variant:"h2",fontWeight:500,mt:3,...a,children:s}),e?t.jsx(i.Typography,{color:"grey",mt:2,...o,children:e}):null]}):null};module.exports=u;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as t } from "react/jsx-runtime";
2
2
  import { useLazySvgImport as h } from "../../hooks/lazySvgImport.es.js";
3
- import { S as p } from "../../Stack-aCUdCw1A.js";
4
- import { T as i } from "../../Typography-CE8fQQ8B.js";
3
+ import { S as p } from "../../Stack-hbAJHQhq.js";
4
+ import { T as i } from "../../Typography-SIQ6eleU.js";
5
5
  const y = ({
6
6
  svgName: o,
7
7
  title: n,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-Dn4BBPej.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
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),e=require("../../createSvgIcon-DJMYlO0S.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-CCejzj0C.js";
2
+ import { c as e } from "../../createSvgIcon-K2ZAdASa.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-C6v70ALA.cjs"),d=require("../../Typography-DEAE8-8u.cjs"),j=require("../../createSvgIcon-Dn4BBPej.cjs"),I=require("../../CloseRounded-DQWTEbNz.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"})),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),h=()=>r==null?void 0:r(t),u=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:u,id:"coucou",children:e.jsx(I.CloseRounded,{})})]}),disablePadding:!0,children:e.jsx(S,{onClick:h,isClickable:!!r,disabled:!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;
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-B82ckLGm.cjs"),d=require("../../Typography-DPij13XT.cjs"),j=require("../../createSvgIcon-DJMYlO0S.cjs"),I=require("../../CloseRounded-BRXBizmR.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;
@@ -3,12 +3,12 @@ import { styled as u, ListItemButton as b, ListItem as I, Box as l, CircularProg
3
3
  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
- import { displaySize as v, displayExtension as C } from "./utils.es.js";
7
- import { S as a } from "../../Stack-aCUdCw1A.js";
8
- import { T as p } from "../../Typography-CE8fQQ8B.js";
9
- import { c as R } from "../../createSvgIcon-CCejzj0C.js";
10
- import { C as j } from "../../CloseRounded-DTpqUeWr.js";
11
- const z = R(/* @__PURE__ */ r("path", {
6
+ import { displaySize as R, displayExtension as v } from "./utils.es.js";
7
+ import { S as a } from "../../Stack-hbAJHQhq.js";
8
+ import { T as p } from "../../Typography-SIQ6eleU.js";
9
+ import { c as C } from "../../createSvgIcon-K2ZAdASa.js";
10
+ import { C as j } from "../../CloseRounded-BMEGLs8y.js";
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)(
14
14
  ({ isClickable: t }) => ({
@@ -26,7 +26,8 @@ const z = R(/* @__PURE__ */ r("path", {
26
26
  width: "100%",
27
27
  justifyContent: "space-between",
28
28
  boxSizing: "border-box",
29
- paddingRight: "115px !important"
29
+ paddingRight: "115px !important",
30
+ userSelect: "text"
30
31
  })
31
32
  ), M = ({
32
33
  file: t,
@@ -35,7 +36,7 @@ const z = R(/* @__PURE__ */ r("path", {
35
36
  onDownload: s
36
37
  }) => {
37
38
  if (!t.name) return null;
38
- const i = v(t.size), o = C(t.name), x = () => e == null ? void 0 : e(t), g = (d) => {
39
+ const o = R(t.size), i = v(t.name), x = () => e == null ? void 0 : e(t), g = (d) => {
39
40
  d.stopPropagation(), c == null || c(t);
40
41
  }, y = (d) => {
41
42
  d.stopPropagation(), s == null || s(t);
@@ -53,7 +54,7 @@ const z = R(/* @__PURE__ */ r("path", {
53
54
  {
54
55
  onClick: x,
55
56
  isClickable: !!e,
56
- disabled: !e,
57
+ disableRipple: !e,
57
58
  children: /* @__PURE__ */ n(a, { direction: "row", alignItems: "center", spacing: 2, minWidth: "0", children: [
58
59
  /* @__PURE__ */ r(
59
60
  a,
@@ -76,7 +77,7 @@ const z = R(/* @__PURE__ */ r("path", {
76
77
  alignItems: "center",
77
78
  justifyContent: "center",
78
79
  display: "flex",
79
- children: /* @__PURE__ */ r(S, { extension: o ?? "" })
80
+ children: /* @__PURE__ */ r(S, { extension: i ?? "" })
80
81
  }
81
82
  )
82
83
  }
@@ -98,10 +99,10 @@ const z = R(/* @__PURE__ */ r("path", {
98
99
  alignItems: "center",
99
100
  gap: 1,
100
101
  children: [
101
- i && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: i }),
102
- i && o && /* @__PURE__ */ r(h, {}),
103
102
  o && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: o }),
104
- t.ownerName && (i || o) && /* @__PURE__ */ r(h, {}),
103
+ o && i && /* @__PURE__ */ r(h, {}),
104
+ i && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: i }),
105
+ t.ownerName && (o || i) && /* @__PURE__ */ r(h, {}),
105
106
  t.ownerName && /* @__PURE__ */ r(p, { variant: "caption", color: "text.secondary", children: t.ownerName })
106
107
  ]
107
108
  }
@@ -1 +1 @@
1
- "use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-C6v70ALA.cjs"),j=require("../../Typography-DEAE8-8u.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
+ "use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-B82ckLGm.cjs"),j=require("../../Typography-DPij13XT.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-aCUdCw1A.js";
3
- import { T as b } from "../../Typography-CE8fQQ8B.js";
2
+ import { S } from "../../Stack-hbAJHQhq.js";
3
+ import { T as b } from "../../Typography-SIQ6eleU.js";
4
4
  const y = ({
5
5
  title: n,
6
6
  IconComponent: g,
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),c=require("../../createSvgIcon-Dn4BBPej.cjs"),o=require("@mui/material"),I=require("react"),S=require("../../index-CJW5gB6d.cjs"),C=require("../../Stack-C6v70ALA.cjs"),i=require("../../Typography-DEAE8-8u.cjs"),p=c.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"),F=c.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"),w=c.createSvgIcon(e.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),D=()=>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"]}),P=({defaultLabel:h=e.jsx(D,{}),dragLabel:g=e.jsx(A,{}),information:n,onFileChange:s=t=>{},width:x="160px",height:m="160px",initialFile:u=null,...j})=>{const[t,l]=I.useState(u),y=r=>{const d=r[0]||null;l(d),s(d)},f=r=>{r.stopPropagation(),l(null),s(null)},b=r=>{r.stopPropagation(),a()},{open:a,getRootProps:k,getInputProps:z,isDragActive:v}=S.useDropzone({...j,maxFiles:1,onDropAccepted:y,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(C.Stack,{direction:"column",justifyContent:"center",alignItems:"center",width:x,minWidth:"150px",minHeight:"150px",height:m,borderRadius:1,sx:{cursor:"pointer",position:"relative",background:`${!t&&"linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,border:`${!t&&"1px dashed"}`,borderColor:r=>!t&&r.palette.grey.main},...k({onClick:a}),children:[e.jsx("input",{...z()}),t?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:b,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:r=>r.palette.common.white}}},children:e.jsx(F,{fontSize:"small"})}),e.jsx(o.Box,{onClick:f,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:r=>r.palette.common.white}}},children:e.jsx(w,{fontSize:"small"})})]}),e.jsx("img",{src:typeof t=="string"?t:URL.createObjectURL(t),alt:typeof t=="string"?t:t.name,style:{width:"100%",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:v?e.jsxs(e.Fragment,{children:[e.jsx(p,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),g,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(p,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),h,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=P;
1
+ "use strict";const e=require("react/jsx-runtime"),c=require("../../createSvgIcon-DJMYlO0S.cjs"),o=require("@mui/material"),I=require("react"),S=require("../../index-CVFzneYe.cjs"),C=require("../../Stack-B82ckLGm.cjs"),i=require("../../Typography-DPij13XT.cjs"),p=c.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"),F=c.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"),w=c.createSvgIcon(e.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete"),D=()=>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"]}),P=({defaultLabel:h=e.jsx(D,{}),dragLabel:g=e.jsx(A,{}),information:n,onFileChange:s=t=>{},width:x="160px",height:m="160px",initialFile:u=null,...j})=>{const[t,l]=I.useState(u),y=r=>{const d=r[0]||null;l(d),s(d)},f=r=>{r.stopPropagation(),l(null),s(null)},b=r=>{r.stopPropagation(),a()},{open:a,getRootProps:k,getInputProps:z,isDragActive:v}=S.useDropzone({...j,maxFiles:1,onDropAccepted:y,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(C.Stack,{direction:"column",justifyContent:"center",alignItems:"center",width:x,minWidth:"150px",minHeight:"150px",height:m,borderRadius:1,sx:{cursor:"pointer",position:"relative",background:`${!t&&"linear-gradient(180deg, #F5F7F9 0%, #FFF 100%)"}`,border:`${!t&&"1px dashed"}`,borderColor:r=>!t&&r.palette.grey.main},...k({onClick:a}),children:[e.jsx("input",{...z()}),t?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:b,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:r=>r.palette.common.white}}},children:e.jsx(F,{fontSize:"small"})}),e.jsx(o.Box,{onClick:f,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:r=>r.palette.common.white}}},children:e.jsx(w,{fontSize:"small"})})]}),e.jsx("img",{src:typeof t=="string"?t:URL.createObjectURL(t),alt:typeof t=="string"?t:t.name,style:{width:"100%",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:v?e.jsxs(e.Fragment,{children:[e.jsx(p,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),g,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(p,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),h,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=P;
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as o, Fragment as c } from "react/jsx-runtime";
2
- import { c as a } from "../../createSvgIcon-CCejzj0C.js";
2
+ import { c as a } from "../../createSvgIcon-K2ZAdASa.js";
3
3
  import { Box as n } from "@mui/material";
4
4
  import { useState as w } from "react";
5
- import { u as D } from "../../index-BGS2uu2L.js";
6
- import { S as F } from "../../Stack-aCUdCw1A.js";
7
- import { T as l } from "../../Typography-CE8fQQ8B.js";
5
+ import { u as D } from "../../index-B1u7G33_.js";
6
+ import { S as F } from "../../Stack-hbAJHQhq.js";
7
+ import { T as l } from "../../Typography-SIQ6eleU.js";
8
8
  const m = a(/* @__PURE__ */ e("path", {
9
9
  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
10
  }), "AddPhotoAlternate"), A = a(/* @__PURE__ */ e("path", {
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-C0mEbUoK.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
+ "use strict";require('../../assets/styles.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-DYA49L7w.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,6 +1,6 @@
1
1
  import { jsx as r, jsxs as e } from "react/jsx-runtime";
2
2
  import '../../assets/styles.css';/* empty css */
3
- import { B as l } from "../../Box-DbRInJ2-.js";
3
+ import { B as l } from "../../Box-DgqaLb7j.js";
4
4
  const i = ({}) => /* @__PURE__ */ r(l, { className: "cs-loader", color: "primary.main", children: /* @__PURE__ */ e(l, { className: "cs-loader-inner", children: [
5
5
  /* @__PURE__ */ r("label", { children: "●" }),
6
6
  /* @__PURE__ */ r("label", { children: "●" }),
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles2.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-COarwgJj.cjs"),c=require("../../Box-C0mEbUoK.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
+ "use strict";require('../../assets/styles2.css');const r=require("react/jsx-runtime");;/* empty css */const e=require("../../Backdrop-DWp3AktL.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,7 +1,7 @@
1
1
  import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
2
  import '../../assets/styles2.css';/* empty css */
3
- import { B as e } from "../../Backdrop-DdA12b-5.js";
4
- import { B as l } from "../../Box-DbRInJ2-.js";
3
+ import { B as e } from "../../Backdrop-BctCVgLy.js";
4
+ import { B as l } from "../../Box-DgqaLb7j.js";
5
5
  const n = ({}) => /* @__PURE__ */ r(e, { open: !0, sx: { bgcolor: "background.default" }, children: /* @__PURE__ */ o(l, { className: "cs-loader-backdrop-inner", color: "primary.main", children: [
6
6
  /* @__PURE__ */ r("label", { children: "●" }),
7
7
  /* @__PURE__ */ r("label", { children: "●" }),
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles2.css');require('../../assets/styles.css');const e=require("react/jsx-runtime"),u=require("react");require("../Alert/Alert.cjs.js");require("../Button/Button.cjs.js");require("../../fr-JE-1WKP6.cjs");require("@mui/material");require("../FileList/FileListItem.cjs.js");;/* empty css */;/* empty css */require("../ResourceCard/style.cjs.js");require("../SearchInput/SearchInput.cjs.js");const l=require("../TextInput/TextInput.cjs.js"),a=require("../../InputAdornment-C9NrmB_z.cjs"),d=require("../../IconButton-Edo5JMfQ.cjs"),n=require("../../createSvgIcon-Dn4BBPej.cjs"),q=n.createSvgIcon(e.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"),p=n.createSvgIcon(e.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"),w=s=>{const[r,i]=u.useState(!1),o=()=>i(t=>!t),c=t=>{t.preventDefault()};return e.jsx(l,{...s,variant:"outlined",label:s.label,type:r?"text":"password",InputProps:{endAdornment:e.jsx(a.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:o,onMouseDown:c,edge:"end",children:r?e.jsx(p,{}):e.jsx(q,{})})})}})};module.exports=w;
1
+ "use strict";require('../../assets/styles2.css');require('../../assets/styles.css');const e=require("react/jsx-runtime"),u=require("react");require("../Alert/Alert.cjs.js");require("../Button/Button.cjs.js");require("../../fr-JE-1WKP6.cjs");require("@mui/material");require("../FileList/FileListItem.cjs.js");;/* empty css */;/* empty css */require("../ResourceCard/style.cjs.js");require("../SearchInput/SearchInput.cjs.js");const l=require("../TextInput/TextInput.cjs.js"),a=require("../../InputAdornment-CwFEJSXv.cjs"),d=require("../../IconButton-CVOPR4EM.cjs"),n=require("../../createSvgIcon-DJMYlO0S.cjs"),q=n.createSvgIcon(e.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"),p=n.createSvgIcon(e.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"),w=s=>{const[r,i]=u.useState(!1),o=()=>i(t=>!t),c=t=>{t.preventDefault()};return e.jsx(l,{...s,variant:"outlined",label:s.label,type:r?"text":"password",InputProps:{endAdornment:e.jsx(a.InputAdornment,{position:"end",children:e.jsx(d.IconButton,{"aria-label":"toggle password visibility",onClick:o,onMouseDown:c,edge:"end",children:r?e.jsx(p,{}):e.jsx(q,{})})})}})};module.exports=w;