@cgi-learning-hub/ui 1.3.5-dev.1736346072 → 1.3.5

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 (236) hide show
  1. package/dist/Backdrop-CvufxHMY.cjs +1 -0
  2. package/dist/{Backdrop-B78NPr0F.js → Backdrop-DcDd6WZF.js} +73 -70
  3. package/dist/{Box-BzbXlIpa.js → Box-Byz2BwGf.js} +3 -3
  4. package/dist/Box-mP2Th61z.cjs +1 -0
  5. package/dist/Button-BH9MUvmz.cjs +1 -0
  6. package/dist/{Button-By0vfP8J.js → Button-BnNYfQ3E.js} +153 -119
  7. package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
  8. package/dist/{ButtonBase-ZtXnS9gg.js → ButtonBase-DAWDecOk.js} +277 -277
  9. package/dist/{Card-CQBb4UMy.js → Card-AJG0TUOx.js} +3 -3
  10. package/dist/Card-NqCXQteq.cjs +1 -0
  11. package/dist/{Checkbox-CWN2YKNQ.js → Checkbox-8Rhxpkjl.js} +19 -18
  12. package/dist/Checkbox-DYrDbdy1.cjs +1 -0
  13. package/dist/CircularProgress-BByrCLjv.cjs +28 -0
  14. package/dist/{CircularProgress-B8D0BpDv.js → CircularProgress-Kwlef5fX.js} +14 -13
  15. package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
  16. package/dist/{DatePicker-D5Rf5NAr.js → DatePicker-BS1OatwQ.js} +2245 -2256
  17. package/dist/{DefaultPropsProvider-DS3RzjuS.cjs → DefaultPropsProvider-3KMGupjb.cjs} +3 -3
  18. package/dist/{DefaultPropsProvider-DEufUd_C.js → DefaultPropsProvider-CvJPQJmL.js} +20 -21
  19. package/dist/{Delete-DwpFA0q9.js → Delete-BkZN7Xu5.js} +1 -1
  20. package/dist/{Delete-DV3Q-OXQ.cjs → Delete-D1EiKoL5.cjs} +1 -1
  21. package/dist/{Dialog-CEC-r5SR.js → Dialog-D_lS4J_M.js} +16 -15
  22. package/dist/Dialog-yOrNcHbG.cjs +1 -0
  23. package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
  24. package/dist/{DialogContent-CmsuCpdK.js → DialogContent-uc65XOEU.js} +3 -3
  25. package/dist/DialogTitle-BboPDaoB.cjs +1 -0
  26. package/dist/{DialogTitle-CAsdh55l.js → DialogTitle-C8JOi-rq.js} +5 -5
  27. package/dist/Divider-CcrM3lNn.cjs +1 -0
  28. package/dist/{Divider-D8G4fS_W.js → Divider-KO-E6nU8.js} +4 -4
  29. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
  30. package/dist/{FormControlLabel-0Z4FgiQi.js → FormControlLabel-BmrKQtQA.js} +13 -12
  31. package/dist/{FormGroup-B6BQaLl5.js → FormGroup-CbczEc6e.js} +2 -2
  32. package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
  33. package/dist/{FormLabel-BljR05I0.js → FormLabel-CfR4bb21.js} +83 -80
  34. package/dist/FormLabel-D1uvEhsH.cjs +2 -0
  35. package/dist/{Grow-BknJanej.js → Grow-CQVPAYvp.js} +34 -37
  36. package/dist/Grow-CUBJs6WD.cjs +1 -0
  37. package/dist/IconButton-CJfzspZK.cjs +2 -0
  38. package/dist/{IconButton-C6hPeqXq.js → IconButton-CekuyD4r.js} +9 -8
  39. package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
  40. package/dist/{InputAdornment-DYe9bZdy.js → InputAdornment-iU5YnveW.js} +15 -15
  41. package/dist/{InputBase-bIxQpDEw.js → InputBase-BJy3wwFB.js} +24 -23
  42. package/dist/InputBase-s1fk8TB4.cjs +3 -0
  43. package/dist/Link-CWczkFp0.cjs +1 -0
  44. package/dist/{Link-69Y2GGzK.js → Link-CoQuUM0t.js} +11 -10
  45. package/dist/Menu-Bsx8PA-q.cjs +7 -0
  46. package/dist/{Menu-CrLJY61G.js → Menu-C7tKmcAh.js} +27 -26
  47. package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
  48. package/dist/{MenuItem-i8U9J9Ds.js → MenuItem-j8luVUcX.js} +6 -6
  49. package/dist/Modal-DImrEpYJ.cjs +2 -0
  50. package/dist/{Modal-Airm8V-9.js → Modal-brWBFdK7.js} +81 -82
  51. package/dist/{Paper-zmG6CtmU.js → Paper-BG4Vk_Um.js} +4 -4
  52. package/dist/Paper-Cr56xkCr.cjs +2 -0
  53. package/dist/{Popper-CQ0ZGqya.js → Popper-DFZ_gRev.js} +5 -5
  54. package/dist/Popper-YT5WAMV-.cjs +4 -0
  55. package/dist/Portal-DF0RKOcD.cjs +1 -0
  56. package/dist/{Portal-BSNCqu7q.js → Portal-JEwcozmp.js} +39 -34
  57. package/dist/Radio-CVAEGXKi.cjs +1 -0
  58. package/dist/{Radio-DAKlrqC8.js → Radio-DGhot3Cd.js} +16 -15
  59. package/dist/Select-CwAWNiiv.cjs +3 -0
  60. package/dist/{Select-B6NmIC6a.js → Select-DmssuG5M.js} +416 -424
  61. package/dist/{Stack-LOzokt50.js → Stack-BzTJdRGj.js} +105 -60
  62. package/dist/Stack-Yq6rb7iK.cjs +1 -0
  63. package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
  64. package/dist/{SwitchBase-CXvx1DtF.js → SwitchBase-Dlth5_F7.js} +23 -22
  65. package/dist/{TableSortLabel-C4rUHuBk.js → TableSortLabel-BsgRD4k4.js} +1706 -1808
  66. package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
  67. package/dist/{Tabs-DFlFghRY.js → Tabs-CYbeTnJk.js} +115 -113
  68. package/dist/Tabs-KG4VWw-1.cjs +4 -0
  69. package/dist/TextField-BI9KVqjC.cjs +1 -0
  70. package/dist/{TextField-B9Jog6CY.js → TextField-Cri5Gxa7.js} +20 -21
  71. package/dist/{Tooltip-zyIjqlzt.js → Tooltip-BhAHhzKz.js} +31 -30
  72. package/dist/Tooltip-DhDtvULK.cjs +4 -0
  73. package/dist/{Typography-DeEwslc2.js → Typography-DBwTr_ix.js} +39 -38
  74. package/dist/Typography-DfRMDngd.cjs +1 -0
  75. package/dist/capitalize-B3GG7Wn6.cjs +1 -0
  76. package/dist/capitalize-CkF8kU4n.js +9 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +140 -103
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  84. package/dist/components/Dialog/Dialog.es.js +2 -2
  85. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  86. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  87. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  88. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  89. package/dist/components/FileList/FileList.cjs.js +1 -1
  90. package/dist/components/FileList/FileList.es.js +1 -1
  91. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  92. package/dist/components/FileList/FileListItem.es.js +7 -7
  93. package/dist/components/Heading/Heading.cjs.js +1 -1
  94. package/dist/components/Heading/Heading.es.js +2 -2
  95. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  96. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  97. package/dist/components/Loader/Loader.cjs.js +1 -1
  98. package/dist/components/Loader/Loader.es.js +1 -1
  99. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  100. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  101. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  102. package/dist/components/PasswordInput/PasswordInput.es.js +3 -3
  103. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  104. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  105. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  106. package/dist/components/TextInput/TextInput.es.js +1 -1
  107. package/dist/components/index.cjs.js +1 -1
  108. package/dist/components/index.es.js +31 -31
  109. package/dist/components/stories/Button.stories.cjs.js +1 -1
  110. package/dist/components/stories/Button.stories.es.js +1 -1
  111. package/dist/components/stories/Card.stories.cjs.js +1 -1
  112. package/dist/components/stories/Card.stories.es.js +4 -4
  113. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  114. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  115. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  116. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  117. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  118. package/dist/components/stories/Dialog.stories.es.js +2 -2
  119. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  120. package/dist/components/stories/Divider.stories.es.js +1 -1
  121. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  122. package/dist/components/stories/FormControlLabel.stories.es.js +20 -19
  123. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  124. package/dist/components/stories/Heading.stories.es.js +2 -2
  125. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  126. package/dist/components/stories/IconButton.stories.es.js +2 -2
  127. package/dist/components/stories/Link.stories.cjs.js +1 -1
  128. package/dist/components/stories/Link.stories.es.js +1 -1
  129. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  130. package/dist/components/stories/Menu.stories.es.js +2 -2
  131. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  132. package/dist/components/stories/Paper.stories.es.js +1 -1
  133. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  134. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  135. package/dist/components/stories/Select.stories.cjs.js +1 -1
  136. package/dist/components/stories/Select.stories.es.js +3 -3
  137. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  138. package/dist/components/stories/TabList.stories.es.js +4 -4
  139. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  140. package/dist/components/stories/TextField.stories.es.js +1 -1
  141. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  142. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  143. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  144. package/dist/components/stories/Typography.stories.es.js +1 -1
  145. package/dist/createSvgIcon--rEClVU7.cjs +1 -0
  146. package/dist/{createSvgIcon-DCcHNe8S.js → createSvgIcon-C8nGcfF4.js} +41 -40
  147. package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
  148. package/dist/{dividerClasses-BIQl1sXf.js → dividerClasses-nh2-hkQB.js} +1 -1
  149. package/dist/{elementTypeAcceptingRef-C9ErcCVk.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
  150. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
  151. package/dist/{extendSxProp-BtWdisVp.js → extendSxProp-C2ff0oGc.js} +1 -1
  152. package/dist/extendSxProp-apyK-EBz.cjs +1 -0
  153. package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
  154. package/dist/{identifier-DuQ8Gjnk.js → generateUtilityClasses-Bssl7BA_.js} +811 -781
  155. package/dist/hooks/lazySvgImport.d.ts +1 -1
  156. package/dist/index-Aa73Kpym.cjs +1 -0
  157. package/dist/{index-CvvRovRe.js → index-BCnPLuqJ.js} +4 -4
  158. package/dist/index-ChM1Ett8.cjs +5 -0
  159. package/dist/index-Cw0GDedk.cjs +17 -0
  160. package/dist/{index-BrVfbiqv.js → index-CwvpOCso.js} +29 -29
  161. package/dist/index-DXD5J5Eu.js +186 -0
  162. package/dist/index.cjs.js +1 -1
  163. package/dist/index.es.js +31 -31
  164. package/dist/{memoTheme-BBurdur9.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
  165. package/dist/{memoTheme-BX806g-H.js → memoTheme-D7Fyh_3C.js} +1 -1
  166. package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
  167. package/dist/{resolveComponentProps-BsjDgxuc.js → mergeSlotProps-tUJEcwVu.js} +7 -7
  168. package/dist/refType-CoaxQOPt.cjs +1 -0
  169. package/dist/{refType-Bj5oVmPL.js → refType-DKYKROQk.js} +1 -1
  170. package/dist/useSlot-BTpHG6jf.js +50 -0
  171. package/dist/useSlot-CByalpSD.cjs +1 -0
  172. package/dist/{index-Bh3yiNTb.js → useSlotProps-B31YQlzb.js} +26 -26
  173. package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
  174. package/dist/useTheme-Cy5kyKJF.cjs +1 -0
  175. package/dist/useTheme-Dukx-__T.cjs +1 -0
  176. package/dist/useTheme-DyaNKf4e.js +11 -0
  177. package/dist/{useTheme-Btccn2RE.js → useTheme-_xyy-wul.js} +1 -1
  178. package/dist/{useThemeProps-DkiiJVq2.js → useThemeProps-BySkSe-M.js} +2 -2
  179. package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
  180. package/dist/{useThemeProps-SHbptCB5.js → useThemeProps-CwEQ4bv2.js} +3 -3
  181. package/dist/{useThemeProps-H1IpEt-K.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
  182. package/dist/{utils-CAhqvD6J.js → utils-C6c4fj7D.js} +41 -41
  183. package/dist/utils-vmyQ2IaS.cjs +1 -0
  184. package/package.json +9 -9
  185. package/dist/Backdrop-CGpJR5Hl.cjs +0 -1
  186. package/dist/Box-DjTF7J_q.cjs +0 -1
  187. package/dist/Button-D3qGoavT.cjs +0 -1
  188. package/dist/ButtonBase-CL4z-tXi.cjs +0 -74
  189. package/dist/Card-DVvNw_iY.cjs +0 -1
  190. package/dist/Checkbox-V6OQIwlV.cjs +0 -1
  191. package/dist/CircularProgress-Cgy3S9U3.cjs +0 -28
  192. package/dist/DatePicker-BPbdIoL9.cjs +0 -14
  193. package/dist/Dialog-BydVKebY.cjs +0 -1
  194. package/dist/DialogContent-BK2ayZAZ.cjs +0 -1
  195. package/dist/DialogTitle-BOT7MPXD.cjs +0 -1
  196. package/dist/Divider-tJEWvRjW.cjs +0 -1
  197. package/dist/FormControlLabel-B3aVcND9.cjs +0 -1
  198. package/dist/FormGroup-CaIWje6a.cjs +0 -1
  199. package/dist/FormLabel-cfHljFCc.cjs +0 -2
  200. package/dist/Grow-CTl1xcRO.cjs +0 -1
  201. package/dist/IconButton-DLqUtTTS.cjs +0 -2
  202. package/dist/InputAdornment-C-w19sIO.cjs +0 -1
  203. package/dist/InputBase-BNmBX1sj.cjs +0 -3
  204. package/dist/Link-CbFN--su.cjs +0 -1
  205. package/dist/Menu-CDKB-4vE.cjs +0 -7
  206. package/dist/MenuItem-Cz_afi4Z.cjs +0 -1
  207. package/dist/Modal-CAWPr5pr.cjs +0 -2
  208. package/dist/Paper-D7GaBTFY.cjs +0 -2
  209. package/dist/Popper-PxC5lBvF.cjs +0 -4
  210. package/dist/Portal-Cw7h9YXi.cjs +0 -1
  211. package/dist/Radio-D8JzkZ7R.cjs +0 -1
  212. package/dist/Select-D3AUyBzT.cjs +0 -3
  213. package/dist/Stack-ChAD7MBi.cjs +0 -1
  214. package/dist/SwitchBase-C9eGMRmU.cjs +0 -1
  215. package/dist/TableSortLabel-BJ0u2uA5.cjs +0 -98
  216. package/dist/Tabs-CSXp7psk.cjs +0 -4
  217. package/dist/TextField-dzDYEheV.cjs +0 -1
  218. package/dist/Tooltip-Dxitr7Ef.cjs +0 -4
  219. package/dist/Typography-Bwmxx4FZ.cjs +0 -1
  220. package/dist/createSvgIcon-B-TuJjUa.cjs +0 -1
  221. package/dist/dividerClasses-gUm5VAyT.cjs +0 -1
  222. package/dist/elementTypeAcceptingRef-BpVcc71P.cjs +0 -1
  223. package/dist/extendSxProp-RlEfz15o.cjs +0 -1
  224. package/dist/identifier-wZ6XDHde.cjs +0 -59
  225. package/dist/index-BtBEUHyX.cjs +0 -5
  226. package/dist/index-Cwbb61M9.cjs +0 -1
  227. package/dist/index-DGoTWEZ6.cjs +0 -1
  228. package/dist/refType-CqcE23ld.cjs +0 -1
  229. package/dist/resolveComponentProps-CwoUNybl.cjs +0 -1
  230. package/dist/useSlot-CcIPcgkB.cjs +0 -1
  231. package/dist/useSlot-D3Bt2dZB.js +0 -44
  232. package/dist/useTheme-C7xxleiU.cjs +0 -1
  233. package/dist/useTheme-CVDdFPAV.js +0 -11
  234. package/dist/useTheme-DZ8a53P0.cjs +0 -1
  235. package/dist/useThemeProps-BZX2pbh5.cjs +0 -1
  236. package/dist/utils-DWiPKWpw.cjs +0 -1
@@ -1,48 +1,49 @@
1
- import { jsxs as S, jsx as r } from "react/jsx-runtime";
2
- import { s as g, a as T, u as w, c as M } from "../../DefaultPropsProvider-DEufUd_C.js";
1
+ import { jsxs as E, jsx as s } from "react/jsx-runtime";
2
+ import { s as g, u as M, c as S } from "../../DefaultPropsProvider-CvJPQJmL.js";
3
3
  import * as P from "react";
4
- import { I as R, H as z, L as c, P as t } from "../../identifier-DuQ8Gjnk.js";
5
- import { B as O, a as j } from "../../Button-By0vfP8J.js";
6
- import { m as v } from "../../memoTheme-BX806g-H.js";
7
- import { u as U } from "../../useId-CK6Kn3Tn.js";
8
- import { c as N } from "../../chainPropTypes-D9lkm76m.js";
9
- import { C as W } from "../../CircularProgress-B8D0BpDv.js";
10
- function D(o) {
11
- return z("MuiLoadingButton", o);
4
+ import { I as R, H as T, P as n } from "../../generateUtilityClasses-Bssl7BA_.js";
5
+ import { B as j, a as z, r as O } from "../../Button-BnNYfQ3E.js";
6
+ import { m as h } from "../../memoTheme-D7Fyh_3C.js";
7
+ import { c } from "../../capitalize-CkF8kU4n.js";
8
+ import { u as k } from "../../useId-CK6Kn3Tn.js";
9
+ import { c as U } from "../../chainPropTypes-D9lkm76m.js";
10
+ import { C as W } from "../../CircularProgress-Kwlef5fX.js";
11
+ function N(t) {
12
+ return T("MuiLoadingButton", t);
12
13
  }
13
- const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), F = (o) => {
14
+ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator", "loadingIndicatorCenter", "loadingIndicatorStart", "loadingIndicatorEnd", "endIconLoadingEnd", "startIconLoadingStart"]), D = (t) => {
14
15
  const {
15
- loading: n,
16
+ loading: o,
16
17
  loadingPosition: i,
17
18
  classes: e
18
- } = o, u = {
19
- root: ["root", n && "loading"],
19
+ } = t, u = {
20
+ root: ["root", o && "loading"],
20
21
  label: ["label"],
21
- startIcon: [n && `startIconLoading${c(i)}`],
22
- endIcon: [n && `endIconLoading${c(i)}`],
23
- loadingIndicator: ["loadingIndicator", n && `loadingIndicator${c(i)}`]
24
- }, d = M(u, D, e);
22
+ startIcon: [o && `startIconLoading${c(i)}`],
23
+ endIcon: [o && `endIconLoading${c(i)}`],
24
+ loadingIndicator: ["loadingIndicator", o && `loadingIndicator${c(i)}`]
25
+ }, d = S(u, N, e);
25
26
  return {
26
27
  ...e,
27
28
  // forward the outlined, color, etc. classes to Button
28
29
  ...d
29
30
  };
30
- }, H = (o) => o !== "ownerState" && o !== "theme" && o !== "sx" && o !== "as" && o !== "classes", k = g(O, {
31
- shouldForwardProp: (o) => H(o) || o === "classes",
31
+ }, F = (t) => t !== "ownerState" && t !== "theme" && t !== "sx" && t !== "as" && t !== "classes", H = g(j, {
32
+ shouldForwardProp: (t) => F(t) || t === "classes",
32
33
  name: "MuiLoadingButton",
33
34
  slot: "Root",
34
- overridesResolver: (o, n) => [n.root, n.startIconLoadingStart && {
35
- [`& .${a.startIconLoadingStart}`]: n.startIconLoadingStart
36
- }, n.endIconLoadingEnd && {
37
- [`& .${a.endIconLoadingEnd}`]: n.endIconLoadingEnd
35
+ overridesResolver: (t, o) => [o.root, o.startIconLoadingStart && {
36
+ [`& .${a.startIconLoadingStart}`]: o.startIconLoadingStart
37
+ }, o.endIconLoadingEnd && {
38
+ [`& .${a.endIconLoadingEnd}`]: o.endIconLoadingEnd
38
39
  }]
39
- })(v(({
40
- theme: o
40
+ })(h(({
41
+ theme: t
41
42
  }) => ({
42
43
  display: "inline-flex",
43
44
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
44
- transition: o.transitions.create(["opacity"], {
45
- duration: o.transitions.duration.short
45
+ transition: t.transitions.create(["opacity"], {
46
+ duration: t.transitions.duration.short
46
47
  }),
47
48
  opacity: 0
48
49
  },
@@ -51,8 +52,8 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
51
52
  loadingPosition: "center"
52
53
  },
53
54
  style: {
54
- transition: o.transitions.create(["background-color", "box-shadow", "border-color"], {
55
- duration: o.transitions.duration.short
55
+ transition: t.transitions.create(["background-color", "box-shadow", "border-color"], {
56
+ duration: t.transitions.duration.short
56
57
  }),
57
58
  [`&.${a.loading}`]: {
58
59
  color: "transparent"
@@ -60,12 +61,12 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
60
61
  }
61
62
  }, {
62
63
  props: ({
63
- ownerState: n
64
- }) => n.loadingPosition === "start" && n.fullWidth,
64
+ ownerState: o
65
+ }) => o.loadingPosition === "start" && o.fullWidth,
65
66
  style: {
66
67
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
67
- transition: o.transitions.create(["opacity"], {
68
- duration: o.transitions.duration.short
68
+ transition: t.transitions.create(["opacity"], {
69
+ duration: t.transitions.duration.short
69
70
  }),
70
71
  opacity: 0,
71
72
  marginRight: -8
@@ -73,12 +74,12 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
73
74
  }
74
75
  }, {
75
76
  props: ({
76
- ownerState: n
77
- }) => n.loadingPosition === "end" && n.fullWidth,
77
+ ownerState: o
78
+ }) => o.loadingPosition === "end" && o.fullWidth,
78
79
  style: {
79
80
  [`& .${a.startIconLoadingStart}, & .${a.endIconLoadingEnd}`]: {
80
- transition: o.transitions.create(["opacity"], {
81
- duration: o.transitions.duration.short
81
+ transition: t.transitions.create(["opacity"], {
82
+ duration: t.transitions.duration.short
82
83
  }),
83
84
  opacity: 0,
84
85
  marginLeft: -8
@@ -88,14 +89,14 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
88
89
  }))), G = g("span", {
89
90
  name: "MuiLoadingButton",
90
91
  slot: "LoadingIndicator",
91
- overridesResolver: (o, n) => {
92
+ overridesResolver: (t, o) => {
92
93
  const {
93
94
  ownerState: i
94
- } = o;
95
- return [n.loadingIndicator, n[`loadingIndicator${c(i.loadingPosition)}`]];
95
+ } = t;
96
+ return [o.loadingIndicator, o[`loadingIndicator${c(i.loadingPosition)}`]];
96
97
  }
97
- })(v(({
98
- theme: o
98
+ })(h(({
99
+ theme: t
99
100
  }) => ({
100
101
  position: "absolute",
101
102
  visibility: "visible",
@@ -110,9 +111,9 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
110
111
  }
111
112
  }, {
112
113
  props: ({
113
- loadingPosition: n,
114
+ loadingPosition: o,
114
115
  ownerState: i
115
- }) => n === "start" && i.size !== "small",
116
+ }) => o === "start" && i.size !== "small",
116
117
  style: {
117
118
  left: 14
118
119
  }
@@ -131,7 +132,7 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
131
132
  style: {
132
133
  left: "50%",
133
134
  transform: "translate(-50%)",
134
- color: (o.vars || o).palette.action.disabled
135
+ color: (t.vars || t).palette.action.disabled
135
136
  }
136
137
  }, {
137
138
  props: {
@@ -143,9 +144,9 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
143
144
  }
144
145
  }, {
145
146
  props: ({
146
- loadingPosition: n,
147
+ loadingPosition: o,
147
148
  ownerState: i
148
- }) => n === "end" && i.size !== "small",
149
+ }) => o === "end" && i.size !== "small",
149
150
  style: {
150
151
  right: 14
151
152
  }
@@ -159,72 +160,72 @@ const a = R("MuiLoadingButton", ["root", "label", "loading", "loadingIndicator",
159
160
  }
160
161
  }, {
161
162
  props: ({
162
- ownerState: n
163
- }) => n.loadingPosition === "start" && n.fullWidth,
163
+ ownerState: o
164
+ }) => o.loadingPosition === "start" && o.fullWidth,
164
165
  style: {
165
166
  position: "relative",
166
167
  left: -10
167
168
  }
168
169
  }, {
169
170
  props: ({
170
- ownerState: n
171
- }) => n.loadingPosition === "end" && n.fullWidth,
171
+ ownerState: o
172
+ }) => o.loadingPosition === "end" && o.fullWidth,
172
173
  style: {
173
174
  position: "relative",
174
175
  right: -10
175
176
  }
176
177
  }]
177
- }))), h = g("span", {
178
+ }))), v = g("span", {
178
179
  name: "MuiLoadingButton",
179
180
  slot: "Label",
180
- overridesResolver: (o, n) => [n.label]
181
+ overridesResolver: (t, o) => [o.label]
181
182
  })({
182
183
  display: "inherit",
183
184
  alignItems: "inherit",
184
185
  justifyContent: "inherit"
185
- }), B = /* @__PURE__ */ P.forwardRef(function(n, i) {
186
- const e = P.useContext(j), u = T(e, n), d = w({
186
+ }), B = /* @__PURE__ */ P.forwardRef(function(o, i) {
187
+ const e = P.useContext(z), u = O(e, o), d = M({
187
188
  props: u,
188
189
  name: "MuiLoadingButton"
189
190
  }), {
190
- children: f,
191
- disabled: I = !1,
192
- id: x,
191
+ children: m,
192
+ disabled: f = !1,
193
+ id: C,
193
194
  loading: p = !1,
194
- loadingIndicator: $,
195
- loadingPosition: C = "center",
196
- variant: m = "text",
197
- ...E
198
- } = d, L = U(x), b = $ ?? /* @__PURE__ */ r(W, {
199
- "aria-labelledby": L,
195
+ loadingIndicator: x,
196
+ loadingPosition: $ = "center",
197
+ variant: I = "text",
198
+ ...w
199
+ } = d, b = k(C), y = x ?? /* @__PURE__ */ s(W, {
200
+ "aria-labelledby": b,
200
201
  color: "inherit",
201
202
  size: 16
202
- }), s = {
203
+ }), r = {
203
204
  ...d,
204
- disabled: I,
205
+ disabled: f,
205
206
  loading: p,
206
- loadingIndicator: b,
207
- loadingPosition: C,
208
- variant: m
209
- }, l = F(s), y = p ? /* @__PURE__ */ r(G, {
207
+ loadingIndicator: y,
208
+ loadingPosition: $,
209
+ variant: I
210
+ }, l = D(r), L = p ? /* @__PURE__ */ s(G, {
210
211
  className: l.loadingIndicator,
211
- ownerState: s,
212
- children: b
212
+ ownerState: r,
213
+ children: y
213
214
  }) : null;
214
- return /* @__PURE__ */ S(k, {
215
- disabled: I || p,
216
- id: L,
215
+ return /* @__PURE__ */ E(H, {
216
+ disabled: f || p,
217
+ id: b,
217
218
  ref: i,
218
- ...E,
219
- variant: m,
219
+ ...w,
220
+ variant: I,
220
221
  classes: l,
221
- ownerState: s,
222
- children: [s.loadingPosition === "end" ? /* @__PURE__ */ r(h, {
222
+ ownerState: r,
223
+ children: [r.loadingPosition === "end" ? /* @__PURE__ */ s(v, {
223
224
  className: l.label,
224
- children: f
225
- }) : y, s.loadingPosition === "end" ? y : /* @__PURE__ */ r(h, {
225
+ children: m
226
+ }) : L, r.loadingPosition === "end" ? L : /* @__PURE__ */ s(v, {
226
227
  className: l.label,
227
- children: f
228
+ children: m
228
229
  })]
229
230
  });
230
231
  });
@@ -236,63 +237,99 @@ process.env.NODE_ENV !== "production" && (B.propTypes = {
236
237
  /**
237
238
  * The content of the component.
238
239
  */
239
- children: t.node,
240
+ children: n.node,
240
241
  /**
241
242
  * Override or extend the styles applied to the component.
242
243
  */
243
- classes: t.object,
244
+ classes: n.object,
244
245
  /**
245
246
  * If `true`, the component is disabled.
246
247
  * @default false
247
248
  */
248
- disabled: t.bool,
249
+ disabled: n.bool,
249
250
  /**
250
251
  * @ignore
251
252
  */
252
- id: t.string,
253
+ id: n.string,
253
254
  /**
254
255
  * If `true`, the loading indicator is shown and the button becomes disabled.
255
256
  * @default false
256
257
  */
257
- loading: t.bool,
258
+ loading: n.bool,
258
259
  /**
259
260
  * Element placed before the children if the button is in loading state.
260
261
  * The node should contain an element with `role="progressbar"` with an accessible name.
261
262
  * By default we render a `CircularProgress` that is labelled by the button itself.
262
263
  * @default <CircularProgress color="inherit" size={16} />
263
264
  */
264
- loadingIndicator: t.node,
265
+ loadingIndicator: n.node,
265
266
  /**
266
267
  * The loading indicator can be positioned on the start, end, or the center of the button.
267
268
  * @default 'center'
268
269
  */
269
- loadingPosition: N(t.oneOf(["start", "end", "center"]), (o) => o.loadingPosition === "start" && !o.startIcon ? new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.') : o.loadingPosition === "end" && !o.endIcon ? new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.') : null),
270
+ loadingPosition: U(n.oneOf(["start", "end", "center"]), (t) => t.loadingPosition === "start" && !t.startIcon ? new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.') : t.loadingPosition === "end" && !t.endIcon ? new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.') : null),
270
271
  /**
271
272
  * The system prop that allows defining system overrides as well as additional CSS styles.
272
273
  */
273
- sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object]),
274
+ sx: n.oneOfType([n.arrayOf(n.oneOfType([n.func, n.object, n.bool])), n.func, n.object]),
274
275
  /**
275
276
  * The variant to use.
276
277
  * @default 'text'
277
278
  */
278
- variant: t.oneOfType([t.oneOf(["contained", "outlined", "text"]), t.string])
279
+ variant: n.oneOfType([n.oneOf(["contained", "outlined", "text"]), n.string])
279
280
  });
280
- const V = g(B)(({ color: o, theme: n }) => ({
281
+ const V = g(B)(({ color: t, theme: o }) => ({
282
+ justifyContent: "center",
283
+ alignItems: "center",
281
284
  minHeight: 38,
282
285
  textTransform: "none",
286
+ color: t,
287
+ borderColor: t,
288
+ borderRadius: 5,
289
+ borderWidth: 2,
283
290
  transition: "all 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms",
291
+ "&.MuiButton-contained": {
292
+ color: o.palette.common.white
293
+ },
284
294
  "&.MuiButton-outlined": {
285
295
  borderRadius: 5,
286
- borderWidth: 2
287
- /* "&:hover": {
288
- //backgroundColor: theme.palette[color].main,
289
- color: theme.palette.common.white,
290
- },*/
296
+ borderWidth: 2,
297
+ "&.MuiButton-colorPrimary": {
298
+ "&:active": {
299
+ borderColor: o.palette.primary.main,
300
+ color: o.palette.primary.main
301
+ },
302
+ "&:hover": {
303
+ backgroundColor: o.palette.primary.dark,
304
+ borderColor: o.palette.primary.dark,
305
+ color: o.palette.common.white
306
+ }
307
+ },
308
+ "&.MuiButton-colorSecondary": {
309
+ "&:active": {
310
+ borderColor: o.palette.secondary.main,
311
+ color: o.palette.secondary.main
312
+ },
313
+ "&:hover": {
314
+ backgroundColor: o.palette.secondary.main,
315
+ color: o.palette.common.white
316
+ }
317
+ },
318
+ "&.MuiButton-colorError": {
319
+ "&:active": {
320
+ borderColor: o.palette.error.main,
321
+ color: o.palette.error.main
322
+ },
323
+ "&:hover": {
324
+ backgroundColor: o.palette.error.main,
325
+ color: o.palette.common.white
326
+ }
327
+ }
291
328
  }
292
- })), Z = ({
293
- variant: o = "outlined",
294
- ...n
295
- }) => /* @__PURE__ */ r(V, { variant: o, ...n });
329
+ })), oo = ({
330
+ variant: t = "outlined",
331
+ ...o
332
+ }) => /* @__PURE__ */ s(V, { variant: t, ...o });
296
333
  export {
297
- Z as default
334
+ oo as default
298
335
  };
@@ -1 +1 @@
1
- "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-BPbdIoL9.cjs");module.exports=e.DatePicker;
1
+ "use strict";require("react/jsx-runtime");require("../../fr-JE-1WKP6.cjs");const e=require("../../DatePicker-7-4p3Vtj.cjs");module.exports=e.DatePicker;
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../fr-Bjufn3RW.js";
3
- import { D as p } from "../../DatePicker-D5Rf5NAr.js";
3
+ import { D as p } from "../../DatePicker-BS1OatwQ.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-BPbdIoL9.cjs");exports.DatePicker=e.DatePicker;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../DatePicker-7-4p3Vtj.cjs");exports.DatePicker=e.DatePicker;
@@ -1,4 +1,4 @@
1
- import { D as a } from "../../DatePicker-D5Rf5NAr.js";
1
+ import { D as a } from "../../DatePicker-BS1OatwQ.js";
2
2
  export {
3
3
  a as DatePicker
4
4
  };
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon-B-TuJjUa.cjs"),i=require("@mui/material"),a=require("../../Dialog-BydVKebY.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),r=({children:s,showCloseButton:l=!0,...e})=>{const o=()=>{var c;return(c=e.onClose)==null?void 0:c.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:16,top:16},children:n.jsx(u,{})}):null,s]})};module.exports=r;
1
+ "use strict";const n=require("react/jsx-runtime"),t=require("../../createSvgIcon--rEClVU7.cjs"),i=require("@mui/material"),a=require("../../Dialog-yOrNcHbG.cjs"),u=t.createSvgIcon(n.jsx("path",{d:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"}),"CloseRounded"),r=({children:s,showCloseButton:l=!0,...e})=>{const o=()=>{var c;return(c=e.onClose)==null?void 0:c.call(e,{},"escapeKeyDown")};return n.jsxs(a.Dialog,{...e,children:[l?n.jsx(i.IconButton,{"aria-label":"close",onClick:o,sx:{position:"absolute",right:16,top:16},children:n.jsx(u,{})}):null,s]})};module.exports=r;
@@ -1,7 +1,7 @@
1
1
  import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import { c as s } from "../../createSvgIcon-DCcHNe8S.js";
2
+ import { c as s } from "../../createSvgIcon-C8nGcfF4.js";
3
3
  import { IconButton as t } from "@mui/material";
4
- import { D as i } from "../../Dialog-CEC-r5SR.js";
4
+ import { D as i } from "../../Dialog-D_lS4J_M.js";
5
5
  const d = s(/* @__PURE__ */ l("path", {
6
6
  d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
7
7
  }), "CloseRounded"), g = ({
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon-B-TuJjUa.cjs"),d=require("../../index-BtBEUHyX.cjs"),a=require("../../Stack-ChAD7MBi.cjs"),r=require("../../Typography-Bwmxx4FZ.cjs"),h=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),u=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"),g=({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,...n})=>{const{getRootProps:t,getInputProps:p,isDragActive:l}=d.useDropzone(n);return e.jsxs(a.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:"18rem",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...t(),children:[e.jsx("input",{...p()}),l?e.jsxs(e.Fragment,{children:[e.jsx(h,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=g;
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("../../createSvgIcon--rEClVU7.cjs"),d=require("../../index-ChM1Ett8.cjs"),a=require("../../Stack-Yq6rb7iK.cjs"),r=require("../../Typography-DfRMDngd.cjs"),h=s.createSvgIcon(e.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"}),"FileUpload"),u=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"),g=({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,...n})=>{const{getRootProps:t,getInputProps:p,isDragActive:l}=d.useDropzone(n);return e.jsxs(a.Stack,{direction:"column",justifyContent:"center",alignItems:"center",spacing:1,width:"18rem",padding:1,border:"1px dashed",borderColor:"grey.main",borderRadius:1,sx:{cursor:"pointer"},...t(),children:[e.jsx("input",{...p()}),l?e.jsxs(e.Fragment,{children:[e.jsx(h,{color:"primary"}),e.jsx(r.Typography,{children:i})]}):e.jsxs(e.Fragment,{children:[e.jsx(u,{color:"primary"}),e.jsx(r.Typography,{children:c}),o?e.jsx(r.Typography,{fontSize:"0.875rem",color:"grey",children:o}):null]})]})};module.exports=g;
@@ -1,8 +1,8 @@
1
1
  import { jsx as r, jsxs as e, Fragment as c } from "react/jsx-runtime";
2
- import { c as s } from "../../createSvgIcon-DCcHNe8S.js";
3
- import { u as h } from "../../index-BrVfbiqv.js";
4
- import { S as m } from "../../Stack-LOzokt50.js";
5
- import { T as o } from "../../Typography-DeEwslc2.js";
2
+ import { c as s } from "../../createSvgIcon-C8nGcfF4.js";
3
+ import { u as h } from "../../index-CwvpOCso.js";
4
+ import { S as m } from "../../Stack-BzTJdRGj.js";
5
+ import { T as o } from "../../Typography-DBwTr_ix.js";
6
6
  const u = s(/* @__PURE__ */ r("path", {
7
7
  d: "M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"
8
8
  }), "FileUpload"), g = s(/* @__PURE__ */ r("path", {
@@ -1 +1 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("../../hooks/lazySvgImport.cjs.js"),g=require("../../Stack-ChAD7MBi.cjs"),i=require("../../Typography-Bwmxx4FZ.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-Yq6rb7iK.cjs"),i=require("../../Typography-DfRMDngd.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-LOzokt50.js";
4
- import { T as i } from "../../Typography-DeEwslc2.js";
3
+ import { S as p } from "../../Stack-BzTJdRGj.js";
4
+ import { T as i } from "../../Typography-DBwTr_ix.js";
5
5
  const y = ({
6
6
  svgName: o,
7
7
  title: n,
@@ -1 +1 @@
1
- "use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-DjTF7J_q.cjs"),n=({files:r=[]})=>i.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:r.map((s,e)=>i.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
1
+ "use strict";const i=require("react/jsx-runtime");require("react");const t=require("./FileListItem.cjs.js"),o=require("../../Box-mP2Th61z.cjs"),n=({files:r=[]})=>i.jsx(o.Box,{sx:{display:"flex",flexDirection:"column",rowGap:"0.5rem"},children:r.map((s,e)=>i.jsx(t,{file:s,uploading:e%2===0},e))});module.exports=n;
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import m from "./FileListItem.es.js";
4
- import { B as e } from "../../Box-BzbXlIpa.js";
4
+ import { B as e } from "../../Box-Byz2BwGf.js";
5
5
  const f = ({
6
6
  files: i = []
7
7
  }) => /* @__PURE__ */ r(e, { sx: { display: "flex", flexDirection: "column", rowGap: "0.5rem" }, children: i.map((t, o) => /* @__PURE__ */ r(
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),n=require("../../Delete-DV3Q-OXQ.cjs"),a=require("../../createSvgIcon-B-TuJjUa.cjs"),u=require("../../Stack-ChAD7MBi.cjs"),x=require("../../Box-DjTF7J_q.cjs"),t=require("../../Typography-Bwmxx4FZ.cjs"),l=require("../../IconButton-DLqUtTTS.cjs"),d=require("../../CircularProgress-Cgy3S9U3.cjs"),h=a.createSvgIcon(r.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),j=({file:e,uploading:c,onDelete:s})=>{const i=`${e.size} octets`,o=()=>s==null?void 0:s(e);return r.jsxs(u.Stack,{direction:"row",alignItems:"center",spacing:2,children:[r.jsx(h,{color:"primary"}),r.jsxs(x.Box,{sx:{width:"100%"},children:[r.jsx(t.Typography,{children:e.name}),r.jsx(t.Typography,{fontSize:"0.875rem",color:"grey",children:i})]}),r.jsx(l.IconButton,{onClick:o,disabled:c,children:c?r.jsx(d.CircularProgress,{size:24}):r.jsx(n.DeleteIcon,{})})]})};module.exports=j;
1
+ "use strict";const r=require("react/jsx-runtime"),n=require("../../Delete-D1EiKoL5.cjs"),a=require("../../createSvgIcon--rEClVU7.cjs"),u=require("../../Stack-Yq6rb7iK.cjs"),x=require("../../Box-mP2Th61z.cjs"),t=require("../../Typography-DfRMDngd.cjs"),l=require("../../IconButton-CJfzspZK.cjs"),d=require("../../CircularProgress-BByrCLjv.cjs"),h=a.createSvgIcon(r.jsx("path",{d:"M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"}),"InsertDriveFile"),j=({file:e,uploading:c,onDelete:s})=>{const i=`${e.size} octets`,o=()=>s==null?void 0:s(e);return r.jsxs(u.Stack,{direction:"row",alignItems:"center",spacing:2,children:[r.jsx(h,{color:"primary"}),r.jsxs(x.Box,{sx:{width:"100%"},children:[r.jsx(t.Typography,{children:e.name}),r.jsx(t.Typography,{fontSize:"0.875rem",color:"grey",children:i})]}),r.jsx(l.IconButton,{onClick:o,disabled:c,children:c?r.jsx(d.CircularProgress,{size:24}):r.jsx(n.DeleteIcon,{})})]})};module.exports=j;
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
- import { D as n } from "../../Delete-DwpFA0q9.js";
3
- import { c as a } from "../../createSvgIcon-DCcHNe8S.js";
4
- import { S as p } from "../../Stack-LOzokt50.js";
5
- import { B as d } from "../../Box-BzbXlIpa.js";
6
- import { T as s } from "../../Typography-DeEwslc2.js";
7
- import { I as l } from "../../IconButton-C6hPeqXq.js";
8
- import { C as I } from "../../CircularProgress-B8D0BpDv.js";
2
+ import { D as n } from "../../Delete-BkZN7Xu5.js";
3
+ import { c as a } from "../../createSvgIcon-C8nGcfF4.js";
4
+ import { S as p } from "../../Stack-BzTJdRGj.js";
5
+ import { B as d } from "../../Box-Byz2BwGf.js";
6
+ import { T as s } from "../../Typography-DBwTr_ix.js";
7
+ import { I as l } from "../../IconButton-CekuyD4r.js";
8
+ import { C as I } from "../../CircularProgress-Kwlef5fX.js";
9
9
  const f = a(/* @__PURE__ */ r("path", {
10
10
  d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm7 7V3.5L18.5 9z"
11
11
  }), "InsertDriveFile"), B = ({
@@ -1 +1 @@
1
- "use strict";const d=require("react/jsx-runtime"),c=require("../../Stack-ChAD7MBi.cjs"),j=require("../../Typography-Bwmxx4FZ.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-Yq6rb7iK.cjs"),j=require("../../Typography-DfRMDngd.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-LOzokt50.js";
3
- import { T as b } from "../../Typography-DeEwslc2.js";
2
+ import { S } from "../../Stack-BzTJdRGj.js";
3
+ import { T as b } from "../../Typography-DBwTr_ix.js";
4
4
  const y = ({
5
5
  title: n,
6
6
  IconComponent: g,
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("../../createSvgIcon-B-TuJjUa.cjs"),S=require("../../Delete-DV3Q-OXQ.cjs"),o=require("@mui/material"),v=require("react"),C=require("../../index-BtBEUHyX.cjs"),F=require("../../Stack-ChAD7MBi.cjs"),i=require("../../Typography-Bwmxx4FZ.cjs"),d=p.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"),w=p.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"),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"]}),q=({defaultLabel:g=e.jsx(D,{}),dragLabel:h=e.jsx(A,{}),information:n,onFileChange:s=t=>{},width:x="160px",height:m="160px",initialFile:u=null,...j})=>{const[t,c]=v.useState(u),y=r=>{const a=r[0]||null;c(a),s(a)},f=r=>{r.stopPropagation(),c(null),s(null)},b=r=>{r.stopPropagation(),l()},{open:l,getRootProps:k,getInputProps:z,isDragActive:I}=C.useDropzone({...j,maxFiles:1,onDropAccepted:y,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(F.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:l}),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(w,{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(S.DeleteIcon,{fontSize:"small"})})]}),e.jsx("img",{src:typeof t=="string"?t:URL.createObjectURL(t),alt:typeof t=="string"?t:t.name,style:{width:"auto",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:I?e.jsxs(e.Fragment,{children:[e.jsx(d,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),h,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(d,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),g,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=q;
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("../../createSvgIcon--rEClVU7.cjs"),S=require("../../Delete-D1EiKoL5.cjs"),o=require("@mui/material"),v=require("react"),C=require("../../index-ChM1Ett8.cjs"),F=require("../../Stack-Yq6rb7iK.cjs"),i=require("../../Typography-DfRMDngd.cjs"),d=p.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"),w=p.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"),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"]}),q=({defaultLabel:g=e.jsx(D,{}),dragLabel:h=e.jsx(A,{}),information:n,onFileChange:s=t=>{},width:x="160px",height:m="160px",initialFile:u=null,...j})=>{const[t,c]=v.useState(u),y=r=>{const a=r[0]||null;c(a),s(a)},f=r=>{r.stopPropagation(),c(null),s(null)},b=r=>{r.stopPropagation(),l()},{open:l,getRootProps:k,getInputProps:z,isDragActive:I}=C.useDropzone({...j,maxFiles:1,onDropAccepted:y,accept:{"image/*":[".png",".jpeg",".jpg",".gif"]},noClick:!0});return e.jsxs(F.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:l}),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(w,{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(S.DeleteIcon,{fontSize:"small"})})]}),e.jsx("img",{src:typeof t=="string"?t:URL.createObjectURL(t),alt:typeof t=="string"?t:t.name,style:{width:"auto",height:"100%",maxWidth:"100%",objectFit:"cover",borderRadius:"5px"}})]}):e.jsx(e.Fragment,{children:I?e.jsxs(e.Fragment,{children:[e.jsx(d,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),h,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(d,{color:"primary",style:{width:"2.5rem",height:"2.5rem"}}),g,n&&e.jsx(i.Typography,{textAlign:"center",fontSize:"12px",color:"grey",children:n})]})})]})};module.exports=q;
@@ -1,11 +1,11 @@
1
1
  import { jsx as e, jsxs as o, Fragment as c } from "react/jsx-runtime";
2
- import { c as h } from "../../createSvgIcon-DCcHNe8S.js";
3
- import { D as w } from "../../Delete-DwpFA0q9.js";
2
+ import { c as h } from "../../createSvgIcon-C8nGcfF4.js";
3
+ import { D as w } from "../../Delete-BkZN7Xu5.js";
4
4
  import { Box as n } from "@mui/material";
5
5
  import { useState as D } from "react";
6
- import { u as F } from "../../index-BrVfbiqv.js";
7
- import { S as A } from "../../Stack-LOzokt50.js";
8
- import { T as l } from "../../Typography-DeEwslc2.js";
6
+ import { u as F } from "../../index-CwvpOCso.js";
7
+ import { S as A } from "../../Stack-BzTJdRGj.js";
8
+ import { T as l } from "../../Typography-DBwTr_ix.js";
9
9
  const m = h(/* @__PURE__ */ e("path", {
10
10
  d: "M19 7v2.99s-1.99.01-2 0V7h-3s.01-1.99 0-2h3V2h2v3h3v2zm-3 4V8h-3V5H5c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-8zM5 19l3-4 2 3 3-4 4 5z"
11
11
  }), "AddPhotoAlternate"), j = h(/* @__PURE__ */ e("path", {
@@ -1 +1 @@
1
- "use strict";require('../../assets/styles.css');const e=require("react/jsx-runtime");;/* empty css */const r=require("../../Box-DjTF7J_q.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-mP2Th61z.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-BzbXlIpa.js";
3
+ import { B as l } from "../../Box-Byz2BwGf.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-CGpJR5Hl.cjs"),c=require("../../Box-DjTF7J_q.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-CvufxHMY.cjs"),c=require("../../Box-mP2Th61z.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-B78NPr0F.js";
4
- import { B as l } from "../../Box-BzbXlIpa.js";
3
+ import { B as e } from "../../Backdrop-DcDd6WZF.js";
4
+ import { B as l } from "../../Box-Byz2BwGf.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: "●" }),