@cgi-learning-hub/ui 1.3.5-dev.1740134624 → 1.3.5-dev.1740156229

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 (242) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-CZ3ay4ta.js → Backdrop-DdA12b-5.js} +5 -5
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Cpg9IWKr.js → Box-DbRInJ2-.js} +3 -3
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/{ButtonBase-C9D6EAt-.cjs → ButtonBase-C2rhY3j-.cjs} +1 -1
  8. package/dist/{ButtonBase-ylADCBW1.js → ButtonBase-DzpmdR6N.js} +4 -4
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/{CardContent-CHoWb0DR.js → CardContent-u1MKaFvP.js} +3 -3
  11. package/dist/{Checkbox-92V5IqYF.js → Checkbox-BI77q7eR.js} +22 -23
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/{Chip-I3ytWE-R.js → Chip-6-zATjcr.js} +49 -50
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/CircularProgress-CDa_qU1a.js +252 -0
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/{CloseRounded-BpiJGsCY.cjs → CloseRounded-DQWTEbNz.cjs} +1 -1
  18. package/dist/{CloseRounded-Di7N75zk.js → CloseRounded-DTpqUeWr.js} +1 -1
  19. package/dist/{DatePicker-ByvIBsyI.js → DatePicker-BTTLIBm9.js} +538 -536
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/{DefaultPropsProvider-CmOKr9hq.js → DefaultPropsProvider-BcmyIf2H.js} +27 -27
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-4rDvu_sh.js → DialogContent-SYCCu1VD.js} +3 -3
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-Bw1Q-9PX.js → DialogTitle-_yayDwkI.js} +5 -5
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-CeOjSQMP.js → Divider-Doy31VS6.js} +4 -4
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-Cm4Ba58U.js → FormLabel-DjkS3S9h.js} +79 -80
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-BL8Bx4y5.js → Grow-DPD-iBAX.js} +3 -3
  35. package/dist/{IconButton-C4GFAbeH.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-XfxRdI9K.js → InputAdornment-GzDm1zf_.js} +8 -9
  39. package/dist/{InputBase-DBsV_L3Y.js → InputBase-CF5oNEfh.js} +215 -210
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-Dqbq0dpE.js → Link-CnahHTmK.js} +48 -49
  43. package/dist/{Menu-DiQ9wnM_.cjs → Menu-C-R0FVOB.cjs} +6 -6
  44. package/dist/{Menu-CtlPVqJo.js → Menu-DzBX10ev.js} +28 -28
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-BCyMn0B-.js → MenuItem-DQQ-p2ie.js} +6 -6
  47. package/dist/{Modal-BBc68t3R.js → Modal-B8JRJWm0.js} +8 -8
  48. package/dist/{Modal-CGCKjoqp.cjs → Modal-D8lS9C1l.cjs} +2 -2
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BIgadgtb.js → Paper-CbgkVQVx.js} +4 -4
  51. package/dist/{Popper-Dotov0nV.js → Popper-1-DDNRPD.js} +5 -5
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-DvgoZfYl.js → Portal-T-1Qk77D.js} +2 -2
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/{Radio-BmCVKlgN.js → Radio-BxMxeQa-.js} +8 -9
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/{RadioGroup-BoBajGjF.js → RadioGroup-BLrD8_Lp.js} +3 -3
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DCbhewsz.js → Select-B6mYfJPA.js} +195 -191
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-CSgGU-cq.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/{Switch-JIoNRv7S.js → Switch-BOpqo-TS.js} +10 -11
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Ccit_gYg.js → SwitchBase-BAjfatYA.js} +20 -21
  67. package/dist/{Tabs-Bhy2g9Y0.js → Tabs-CrWcC5nJ.js} +225 -226
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-FNS4AqVd.js → TextField-CAmc1Qpg.js} +17 -18
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/{ToggleButtonGroup-qi5MsGIW.js → ToggleButtonGroup-ekxVeQCc.js} +3088 -3229
  73. package/dist/{Tooltip-AHSVG6xQ.js → Tooltip-BvVFPsVR.js} +29 -30
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{Typography-C9ltjPyz.js → Typography-CE8fQQ8B.js} +12 -13
  76. package/dist/Typography-DEAE8-8u.cjs +1 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +2 -2
  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/FileIcon.cjs.js +1 -1
  90. package/dist/components/FileList/FileIcon.es.js +1 -1
  91. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  92. package/dist/components/FileList/FileListItem.es.js +4 -4
  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 +4 -4
  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/ResourceCard/ResourceCard.cjs.js +1 -1
  104. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  105. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  106. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  107. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  108. package/dist/components/TextInput/TextInput.es.js +1 -1
  109. package/dist/components/index.cjs.js +1 -1
  110. package/dist/components/index.es.js +341 -340
  111. package/dist/components/stories/Button.stories.cjs.js +1 -1
  112. package/dist/components/stories/Button.stories.es.js +1 -1
  113. package/dist/components/stories/Card.stories.cjs.js +1 -1
  114. package/dist/components/stories/Card.stories.es.js +2 -2
  115. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  116. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  117. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  118. package/dist/components/stories/Chip.stories.es.js +1 -1
  119. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  120. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  121. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  122. package/dist/components/stories/Dialog.stories.es.js +2 -2
  123. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  124. package/dist/components/stories/Divider.stories.es.js +1 -1
  125. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  126. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  127. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  128. package/dist/components/stories/Heading.stories.es.js +2 -2
  129. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  130. package/dist/components/stories/IconButton.stories.es.js +2 -2
  131. package/dist/components/stories/Link.stories.cjs.js +1 -1
  132. package/dist/components/stories/Link.stories.es.js +1 -1
  133. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  134. package/dist/components/stories/Menu.stories.es.js +2 -2
  135. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  136. package/dist/components/stories/Paper.stories.es.js +1 -1
  137. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  138. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  139. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  140. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  141. package/dist/components/stories/Select.stories.cjs.js +1 -1
  142. package/dist/components/stories/Select.stories.es.js +3 -3
  143. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  144. package/dist/components/stories/TabList.stories.es.js +4 -4
  145. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  146. package/dist/components/stories/TextField.stories.es.js +1 -1
  147. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  148. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  149. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  150. package/dist/components/stories/Typography.stories.es.js +1 -1
  151. package/dist/{createSvgIcon-CIearCnQ.js → createSvgIcon-CCejzj0C.js} +17 -18
  152. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  153. package/dist/{dividerClasses-DHKvPyr8.js → dividerClasses-DN9F43tq.js} +1 -1
  154. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  155. package/dist/{elementTypeAcceptingRef-BnBq35EV.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  156. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  157. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  158. package/dist/{extendSxProp-D1UphbpP.js → extendSxProp-DFv-GFt5.js} +1 -1
  159. package/dist/identifier-5n4d7br9.cjs +75 -0
  160. package/dist/{generateUtilityClasses-v9KcqdK1.js → identifier-D58rA1gM.js} +832 -862
  161. package/dist/index-5BAFzrXD.cjs +1 -0
  162. package/dist/{index-OesDQygc.js → index-BGS2uu2L.js} +1 -1
  163. package/dist/index-CFm-oAsb.cjs +1 -0
  164. package/dist/index-CJW5gB6d.cjs +5 -0
  165. package/dist/{index-BhCs2pHX.js → index-ClXCinr6.js} +4 -4
  166. package/dist/{useSlotProps-pX6ti4cn.js → index-DwHI-aa0.js} +26 -26
  167. package/dist/index.cjs.js +1 -1
  168. package/dist/index.es.js +341 -340
  169. package/dist/{memoTheme-D1tPxCd9.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  170. package/dist/{memoTheme-D-rebSfX.js → memoTheme-DyiN-Awd.js} +1 -1
  171. package/dist/{refType-DcE_kWty.js → refType-B86yTZra.js} +1 -1
  172. package/dist/refType-CjW6JOBA.cjs +1 -0
  173. package/dist/{resolveComponentProps-kRRJ79Kv.js → resolveComponentProps-0QnU-fDT.js} +1 -1
  174. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  175. package/dist/useSlot-CZNcsPv1.js +48 -0
  176. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  177. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  178. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  179. package/dist/useTheme-Clhsq4HW.js +11 -0
  180. package/dist/{useTheme-BB8ZCoMF.js → useTheme-DxxkErdZ.js} +1 -1
  181. package/dist/{useThemeProps-DnDXTiQj.js → useThemeProps-BGZrRNnL.js} +2 -2
  182. package/dist/useThemeProps-C6qniHmV.js +17 -0
  183. package/dist/{useThemeProps-DcOn-vk2.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  184. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  185. package/dist/utils-D4if93Yl.cjs +1 -0
  186. package/dist/{utils-CSBYZkoB.js → utils-SrEVp7Pm.js} +1 -1
  187. package/package.json +7 -7
  188. package/dist/Backdrop-BY124k9Q.cjs +0 -1
  189. package/dist/Box-CVaz7diG.cjs +0 -1
  190. package/dist/Button-Bqcf-Wrh.js +0 -483
  191. package/dist/Button-qwUFZs87.cjs +0 -1
  192. package/dist/CardContent-BMiRcSGk.cjs +0 -1
  193. package/dist/Checkbox-DVRfGO8D.cjs +0 -1
  194. package/dist/Chip-Ch7Ec9PJ.cjs +0 -1
  195. package/dist/DatePicker-D3AfDdBL.cjs +0 -14
  196. package/dist/DefaultPropsProvider-PRhNsS_3.cjs +0 -1
  197. package/dist/Dialog-DouQwf1_.cjs +0 -1
  198. package/dist/Dialog-GVgQOV8v.js +0 -415
  199. package/dist/DialogContent-DMvW6Xos.cjs +0 -1
  200. package/dist/DialogTitle-BTBnlhmM.cjs +0 -1
  201. package/dist/Divider-CISPNs7L.cjs +0 -1
  202. package/dist/FormLabel-CtCBcJ-1.cjs +0 -2
  203. package/dist/Grow-BjcgF7nV.cjs +0 -1
  204. package/dist/IconButton-loyqjXrR.cjs +0 -2
  205. package/dist/InputAdornment-CLIvW7Gk.cjs +0 -1
  206. package/dist/InputBase-BXcShs87.cjs +0 -3
  207. package/dist/Link-DgsVJ4Wk.cjs +0 -1
  208. package/dist/MenuItem-DuLNR389.cjs +0 -1
  209. package/dist/Paper-DYhLUL1K.cjs +0 -2
  210. package/dist/Popper-CyMmAyHW.cjs +0 -4
  211. package/dist/Portal-BC_MWv30.cjs +0 -1
  212. package/dist/Radio-Cta61QrN.cjs +0 -1
  213. package/dist/RadioGroup-CA-GTAeR.cjs +0 -1
  214. package/dist/Select-Bm-ZcxRN.cjs +0 -3
  215. package/dist/Stack-B68ooSQ-.cjs +0 -1
  216. package/dist/Switch-BMjiyNyB.cjs +0 -1
  217. package/dist/SwitchBase-CaXyAuEt.cjs +0 -1
  218. package/dist/Tabs-ll24SDcl.cjs +0 -4
  219. package/dist/TextField-C5lHwquP.cjs +0 -1
  220. package/dist/ToggleButtonGroup-CEPDUgtK.cjs +0 -167
  221. package/dist/Tooltip-C2KS56xn.cjs +0 -4
  222. package/dist/Typography-Y-OGmT9M.cjs +0 -1
  223. package/dist/capitalize-Cq3s4y8R.cjs +0 -1
  224. package/dist/capitalize-yX_QSknw.js +0 -9
  225. package/dist/createSvgIcon-DKtSalut.cjs +0 -1
  226. package/dist/dividerClasses-1ChhOCNX.cjs +0 -1
  227. package/dist/elementTypeAcceptingRef-BgjnOQqe.cjs +0 -1
  228. package/dist/extendSxProp-Dolw-tGY.cjs +0 -1
  229. package/dist/generateUtilityClasses-0dYt6eGZ.cjs +0 -75
  230. package/dist/index-BUATG6-f.cjs +0 -5
  231. package/dist/index-CgWaRcwQ.cjs +0 -1
  232. package/dist/refType-DdkUp8DT.cjs +0 -1
  233. package/dist/resolveComponentProps-CGmtduHt.cjs +0 -1
  234. package/dist/useSlot-BYekfmak.cjs +0 -1
  235. package/dist/useSlot-CQW01GLa.js +0 -44
  236. package/dist/useSlotProps-NZH6_nAj.cjs +0 -1
  237. package/dist/useTheme-B1HNivkF.cjs +0 -1
  238. package/dist/useTheme-C0AF6jAe.cjs +0 -1
  239. package/dist/useTheme-Dyx3LMQU.js +0 -11
  240. package/dist/useThemeProps-BAXMP5Ww.cjs +0 -1
  241. package/dist/useThemeProps-KNNlKFR_.js +0 -17
  242. package/dist/utils-C6YMiaf0.cjs +0 -1
@@ -1,4 +1,4 @@
1
- import { Z as A, $ as V, M as Z, a0 as G, O as J, Q as j, K as U, a1 as X, P as x, u as Y, T as ee } from "./generateUtilityClasses-v9KcqdK1.js";
1
+ import { _ as A, a0 as V, M as W, a1 as G, O as U, Q as j, J as X, L as Y, P as x, u as Z, T as ee } from "./identifier-D58rA1gM.js";
2
2
  import * as I from "react";
3
3
  import { jsx as te } from "react/jsx-runtime";
4
4
  function Pe(e, n, t = void 0) {
@@ -14,11 +14,11 @@ function Pe(e, n, t = void 0) {
14
14
  }
15
15
  return o;
16
16
  }
17
- function M(e, n = "") {
17
+ function L(e, n = "") {
18
18
  return e.displayName || e.name || n;
19
19
  }
20
20
  function k(e, n, t) {
21
- const o = M(n);
21
+ const o = L(n);
22
22
  return e.displayName || (o !== "" ? `${t}(${o})` : t);
23
23
  }
24
24
  function ne(e) {
@@ -26,7 +26,7 @@ function ne(e) {
26
26
  if (typeof e == "string")
27
27
  return e;
28
28
  if (typeof e == "function")
29
- return M(e, "Component");
29
+ return L(e, "Component");
30
30
  if (typeof e == "object")
31
31
  switch (e.$$typeof) {
32
32
  case A.ForwardRef:
@@ -51,7 +51,7 @@ function re(e) {
51
51
  typeof r.style != "function" && (r.style = V(r.style));
52
52
  }), o;
53
53
  }
54
- const oe = Z();
54
+ const oe = W();
55
55
  function b(e) {
56
56
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
57
57
  }
@@ -76,11 +76,11 @@ function O(e, n) {
76
76
  } = t;
77
77
  o = a;
78
78
  }
79
- return z(e, t.variants, [o]);
79
+ return M(e, t.variants, [o]);
80
80
  }
81
81
  return t != null && t.isProcessed ? t.style : t;
82
82
  }
83
- function z(e, n, t = []) {
83
+ function M(e, n, t = []) {
84
84
  var r;
85
85
  let o;
86
86
  e: for (let a = 0; a < n.length; a += 1) {
@@ -120,28 +120,28 @@ function ae(e = {}) {
120
120
  name: u,
121
121
  slot: y,
122
122
  skipVariantsResolver: F,
123
- skipSx: L,
123
+ skipSx: K,
124
124
  // TODO v6: remove `lowercaseFirstLetter()` in the next major release
125
125
  // For more details: https://github.com/mui/material-ui/pull/37908
126
- overridesResolver: $ = se(H(y)),
126
+ overridesResolver: _ = se(z(y)),
127
127
  ...q
128
128
  } = d, B = F !== void 0 ? F : (
129
129
  // TODO v6: remove `Root` in the next major release
130
130
  // For more details: https://github.com/mui/material-ui/pull/37908
131
131
  y && y !== "Root" && y !== "root" || !1
132
- ), C = L || !1;
132
+ ), C = K || !1;
133
133
  let P = b;
134
134
  y === "Root" || y === "root" ? P = o : y ? P = r : le(s) && (P = void 0);
135
- const T = J(s, {
135
+ const T = U(s, {
136
136
  shouldForwardProp: P,
137
137
  label: ce(u, y),
138
138
  ...q
139
- }), Q = (c) => {
139
+ }), J = (c) => {
140
140
  if (typeof c == "function" && c.__emotion_real !== c)
141
141
  return function(S) {
142
142
  return O(S, c);
143
143
  };
144
- if (U(c)) {
144
+ if (X(c)) {
145
145
  const f = re(c);
146
146
  return f.variants ? function(h) {
147
147
  return O(h, f);
@@ -149,37 +149,37 @@ function ae(e = {}) {
149
149
  }
150
150
  return c;
151
151
  }, g = (...c) => {
152
- const f = [], S = c.map(Q), h = [];
153
- if (f.push(a), u && $ && h.push(function(p) {
152
+ const f = [], S = c.map(J), h = [];
153
+ if (f.push(a), u && _ && h.push(function(p) {
154
154
  var w, D;
155
155
  const l = (D = (w = p.theme.components) == null ? void 0 : w[u]) == null ? void 0 : D.styleOverrides;
156
156
  if (!l)
157
157
  return null;
158
158
  const v = {};
159
- for (const _ in l)
160
- v[_] = O(p, l[_]);
161
- return $(p, v);
159
+ for (const $ in l)
160
+ v[$] = O(p, l[$]);
161
+ return _(p, v);
162
162
  }), u && !B && h.push(function(p) {
163
163
  var v, w;
164
164
  const m = p.theme, l = (w = (v = m == null ? void 0 : m.components) == null ? void 0 : v[u]) == null ? void 0 : w.variants;
165
- return l ? z(p, l) : null;
165
+ return l ? M(p, l) : null;
166
166
  }), C || h.push(j), Array.isArray(S[0])) {
167
167
  const N = S.shift(), p = new Array(f.length).fill(""), m = new Array(h.length).fill("");
168
168
  let l;
169
169
  l = [...p, ...N, ...m], l.raw = [...p, ...N.raw, ...m], f.unshift(l);
170
170
  }
171
- const W = [...f, ...S, ...h], R = T(...W);
171
+ const Q = [...f, ...S, ...h], R = T(...Q);
172
172
  return s.muiName && (R.muiName = s.muiName), process.env.NODE_ENV !== "production" && (R.displayName = ue(u, y, s)), R;
173
173
  };
174
174
  return T.withConfig && (g.withConfig = T.withConfig), g;
175
175
  };
176
176
  }
177
177
  function ue(e, n, t) {
178
- return e ? `${e}${X(n || "")}` : `Styled(${ne(t)})`;
178
+ return e ? `${e}${Y(n || "")}` : `Styled(${ne(t)})`;
179
179
  }
180
180
  function ce(e, n) {
181
181
  let t;
182
- return process.env.NODE_ENV !== "production" && e && (t = `${e}-${H(n || "Root")}`), t;
182
+ return process.env.NODE_ENV !== "production" && e && (t = `${e}-${z(n || "Root")}`), t;
183
183
  }
184
184
  function fe(e) {
185
185
  for (const n in e)
@@ -192,7 +192,7 @@ function le(e) {
192
192
  // it's a lowercase character
193
193
  e.charCodeAt(0) > 96;
194
194
  }
195
- function H(e) {
195
+ function z(e) {
196
196
  return e && e.charAt(0).toLowerCase() + e.slice(1);
197
197
  }
198
198
  function E(e, n) {
@@ -227,12 +227,12 @@ function E(e, n) {
227
227
  }
228
228
  return t;
229
229
  }
230
- const K = /* @__PURE__ */ I.createContext(void 0);
230
+ const H = /* @__PURE__ */ I.createContext(void 0);
231
231
  function de({
232
232
  value: e,
233
233
  children: n
234
234
  }) {
235
- return /* @__PURE__ */ te(K.Provider, {
235
+ return /* @__PURE__ */ te(H.Provider, {
236
236
  value: e,
237
237
  children: n
238
238
  });
@@ -266,7 +266,7 @@ function pe({
266
266
  props: e,
267
267
  name: n
268
268
  }) {
269
- const t = I.useContext(K);
269
+ const t = I.useContext(H);
270
270
  return ye({
271
271
  props: e,
272
272
  name: n,
@@ -275,7 +275,7 @@ function pe({
275
275
  }
276
276
  });
277
277
  }
278
- const he = Y();
278
+ const he = Z();
279
279
  function me(e) {
280
280
  return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
281
281
  }
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./identifier-5n4d7br9.cjs"),X=require("react"),Y=require("react/jsx-runtime");function Z(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const $=Z(X);function ee(e,r,t=void 0){const o={};for(const n in e){const c=e[n];let i="",s=!0;for(let p=0;p<c.length;p+=1){const l=c[p];l&&(i+=(s===!0?"":" ")+r(l),s=!1,t&&t[l]&&(i+=" "+t[l]))}o[n]=i}return o}function V(e,r=""){return e.displayName||e.name||r}function A(e,r,t){const o=V(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function te(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return V(e,"Component");if(typeof e=="object")switch(e.$$typeof){case u.reactIsExports.ForwardRef:return A(e,e.render,"ForwardRef");case u.reactIsExports.Memo:return A(e,e.type,"memo");default:return}}}function k(e){const{variants:r,...t}=e,o={variants:r,style:u.internal_serializeStyles(t),isProcessed:!0};return o.style===t||r&&r.forEach(n=>{typeof n.style!="function"&&(n.style=u.internal_serializeStyles(n.style))}),o}const re=u.createTheme$1();function T(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function ne(e){return e?(r,t)=>t[e]:null}function oe(e,r,t){e.theme=ue(e.theme)?t:e.theme[r]||e.theme}function x(e,r){const t=typeof r=="function"?r(e):r;if(Array.isArray(t))return t.flatMap(o=>x(e,o));if(Array.isArray(t==null?void 0:t.variants)){let o;if(t.isProcessed)o=t.style;else{const{variants:n,...c}=t;o=c}return z(e,t.variants,[o])}return t!=null&&t.isProcessed?t.style:t}function z(e,r,t=[]){var n;let o;e:for(let c=0;c<r.length;c+=1){const i=r[c];if(typeof i.props=="function"){if(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(o))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((n=e.ownerState)==null?void 0:n[s])!==i.props[s])continue e;typeof i.style=="function"?(o??(o={...e,...e.ownerState,ownerState:e.ownerState}),t.push(i.style(o))):t.push(i.style)}return t}function I(e={}){const{themeId:r,defaultTheme:t=re,rootShouldForwardProp:o=T,slotShouldForwardProp:n=T}=e;function c(s){oe(s,r,t)}return(s,p={})=>{u.internal_mutateStyles(s,a=>a.filter(f=>f!==u.styleFunctionSx));const{name:l,slot:y,skipVariantsResolver:R,skipSx:B,overridesResolver:_=ne(q(y)),...W}=p,G=R!==void 0?R:y&&y!=="Root"&&y!=="root"||!1,J=B||!1;let O=T;y==="Root"||y==="root"?O=o:y?O=n:ce(s)&&(O=void 0);const g=u.styled(s,{shouldForwardProp:O,label:ie(l,y),...W}),Q=a=>{if(typeof a=="function"&&a.__emotion_real!==a)return function(P){return x(P,a)};if(u.isPlainObject(a)){const f=k(a);return f.variants?function(m){return x(m,f)}:f.style}return a},D=(...a)=>{const f=[],P=a.map(Q),m=[];if(f.push(c),l&&_&&m.push(function(h){var w,j;const d=(j=(w=h.theme.components)==null?void 0:w[l])==null?void 0:j.styleOverrides;if(!d)return null;const v={};for(const E in d)v[E]=x(h,d[E]);return _(h,v)}),l&&!G&&m.push(function(h){var v,w;const S=h.theme,d=(w=(v=S==null?void 0:S.components)==null?void 0:v[l])==null?void 0:w.variants;return d?z(h,d):null}),J||m.push(u.styleFunctionSx),Array.isArray(P[0])){const N=P.shift(),h=new Array(f.length).fill(""),S=new Array(m.length).fill("");let d;d=[...h,...N,...S],d.raw=[...h,...N.raw,...S],f.unshift(d)}const U=[...f,...P,...m],F=g(...U);return s.muiName&&(F.muiName=s.muiName),process.env.NODE_ENV!=="production"&&(F.displayName=se(l,y,s)),F};return g.withConfig&&(D.withConfig=g.withConfig),D}}function se(e,r,t){return e?`${e}${u.capitalize(r||"")}`:`Styled(${te(t)})`}function ie(e,r){let t;return process.env.NODE_ENV!=="production"&&e&&(t=`${e}-${q(r||"Root")}`),t}function ue(e){for(const r in e)return!1;return!0}function ce(e){return typeof e=="string"&&e.charCodeAt(0)>96}function q(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function b(e,r){const t={...r};for(const o in e)if(Object.prototype.hasOwnProperty.call(e,o)){const n=o;if(n==="components"||n==="slots")t[n]={...e[n],...t[n]};else if(n==="componentsProps"||n==="slotProps"){const c=e[n],i=r[n];if(!i)t[n]=c||{};else if(!c)t[n]=i;else{t[n]={...i};for(const s in c)if(Object.prototype.hasOwnProperty.call(c,s)){const p=s;t[n][p]=b(c[p],i[p])}}}else t[n]===void 0&&(t[n]=e[n])}return t}const M=$.createContext(void 0);function H({value:e,children:r}){return Y.jsx(M.Provider,{value:e,children:r})}process.env.NODE_ENV!=="production"&&(H.propTypes={children:u.PropTypes.node,value:u.PropTypes.object});function le(e){const{theme:r,name:t,props:o}=e;if(!r||!r.components||!r.components[t])return o;const n=r.components[t];return n.defaultProps?b(n.defaultProps,o):!n.styleOverrides&&!n.variants?b(n,o):o}function ae({props:e,name:r}){const t=$.useContext(M);return le({props:e,name:r,theme:{components:t}})}const L=u.createTheme();function C(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const K=e=>C(e)&&e!=="classes",fe=I({themeId:u.THEME_ID,defaultTheme:L,rootShouldForwardProp:K});process.env.NODE_ENV!=="production"&&(u.PropTypes.node,u.PropTypes.object.isRequired);function de(e){return ae(e)}exports.DefaultPropsProvider=H;exports.composeClasses=ee;exports.createStyled=I;exports.defaultTheme=L;exports.preprocessStyles=k;exports.resolveProps=b;exports.rootShouldForwardProp=K;exports.shouldForwardProp=T;exports.slotShouldForwardProp=C;exports.styled=fe;exports.useDefaultProps=de;
@@ -0,0 +1,477 @@
1
+ import * as u from "react";
2
+ import { H as io, I as po, G as k, L as l, P as o } from "./identifier-D58rA1gM.js";
3
+ import { u as co } from "./useTheme-Clhsq4HW.js";
4
+ import { jsx as i } from "react/jsx-runtime";
5
+ import { u as uo, s as m, c as mo } from "./DefaultPropsProvider-BcmyIf2H.js";
6
+ import { m as bo } from "./memoTheme-DyiN-Awd.js";
7
+ import { u as p } from "./useSlot-CZNcsPv1.js";
8
+ import { P as B } from "./Paper-CbgkVQVx.js";
9
+ import { F as w, B as fo } from "./Backdrop-DdA12b-5.js";
10
+ import { u as yo } from "./useId-CK6Kn3Tn.js";
11
+ import { M as ho } from "./Modal-B8JRJWm0.js";
12
+ const O = /* @__PURE__ */ u.createContext({});
13
+ process.env.NODE_ENV !== "production" && (O.displayName = "DialogContext");
14
+ function go(r) {
15
+ return po("MuiDialog", r);
16
+ }
17
+ const P = io("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), xo = m(fo, {
18
+ name: "MuiDialog",
19
+ slot: "Backdrop",
20
+ overrides: (r, e) => e.backdrop
21
+ })({
22
+ // Improve scrollable dialog support.
23
+ zIndex: -1
24
+ }), ko = (r) => {
25
+ const {
26
+ classes: e,
27
+ scroll: a,
28
+ maxWidth: c,
29
+ fullWidth: d,
30
+ fullScreen: b
31
+ } = r, f = {
32
+ root: ["root"],
33
+ container: ["container", `scroll${l(a)}`],
34
+ paper: ["paper", `paperScroll${l(a)}`, `paperWidth${l(String(c))}`, d && "paperFullWidth", b && "paperFullScreen"]
35
+ };
36
+ return mo(f, go, e);
37
+ }, Po = m(ho, {
38
+ name: "MuiDialog",
39
+ slot: "Root",
40
+ overridesResolver: (r, e) => e.root
41
+ })({
42
+ "@media print": {
43
+ // Use !important to override the Modal inline-style.
44
+ position: "absolute !important"
45
+ }
46
+ }), Co = m("div", {
47
+ name: "MuiDialog",
48
+ slot: "Container",
49
+ overridesResolver: (r, e) => {
50
+ const {
51
+ ownerState: a
52
+ } = r;
53
+ return [e.container, e[`scroll${l(a.scroll)}`]];
54
+ }
55
+ })({
56
+ height: "100%",
57
+ "@media print": {
58
+ height: "auto"
59
+ },
60
+ // We disable the focus ring for mouse, touch and keyboard users.
61
+ outline: 0,
62
+ variants: [{
63
+ props: {
64
+ scroll: "paper"
65
+ },
66
+ style: {
67
+ display: "flex",
68
+ justifyContent: "center",
69
+ alignItems: "center"
70
+ }
71
+ }, {
72
+ props: {
73
+ scroll: "body"
74
+ },
75
+ style: {
76
+ overflowY: "auto",
77
+ overflowX: "hidden",
78
+ textAlign: "center",
79
+ "&::after": {
80
+ content: '""',
81
+ display: "inline-block",
82
+ verticalAlign: "middle",
83
+ height: "100%",
84
+ width: "0"
85
+ }
86
+ }
87
+ }]
88
+ }), So = m(B, {
89
+ name: "MuiDialog",
90
+ slot: "Paper",
91
+ overridesResolver: (r, e) => {
92
+ const {
93
+ ownerState: a
94
+ } = r;
95
+ return [e.paper, e[`scrollPaper${l(a.scroll)}`], e[`paperWidth${l(String(a.maxWidth))}`], a.fullWidth && e.paperFullWidth, a.fullScreen && e.paperFullScreen];
96
+ }
97
+ })(bo(({
98
+ theme: r
99
+ }) => ({
100
+ margin: 32,
101
+ position: "relative",
102
+ overflowY: "auto",
103
+ "@media print": {
104
+ overflowY: "visible",
105
+ boxShadow: "none"
106
+ },
107
+ variants: [{
108
+ props: {
109
+ scroll: "paper"
110
+ },
111
+ style: {
112
+ display: "flex",
113
+ flexDirection: "column",
114
+ maxHeight: "calc(100% - 64px)"
115
+ }
116
+ }, {
117
+ props: {
118
+ scroll: "body"
119
+ },
120
+ style: {
121
+ display: "inline-block",
122
+ verticalAlign: "middle",
123
+ textAlign: "initial"
124
+ }
125
+ }, {
126
+ props: ({
127
+ ownerState: e
128
+ }) => !e.maxWidth,
129
+ style: {
130
+ maxWidth: "calc(100% - 64px)"
131
+ }
132
+ }, {
133
+ props: {
134
+ maxWidth: "xs"
135
+ },
136
+ style: {
137
+ maxWidth: r.breakpoints.unit === "px" ? Math.max(r.breakpoints.values.xs, 444) : `max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,
138
+ [`&.${P.paperScrollBody}`]: {
139
+ [r.breakpoints.down(Math.max(r.breakpoints.values.xs, 444) + 32 * 2)]: {
140
+ maxWidth: "calc(100% - 64px)"
141
+ }
142
+ }
143
+ }
144
+ }, ...Object.keys(r.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
145
+ props: {
146
+ maxWidth: e
147
+ },
148
+ style: {
149
+ maxWidth: `${r.breakpoints.values[e]}${r.breakpoints.unit}`,
150
+ [`&.${P.paperScrollBody}`]: {
151
+ [r.breakpoints.down(r.breakpoints.values[e] + 32 * 2)]: {
152
+ maxWidth: "calc(100% - 64px)"
153
+ }
154
+ }
155
+ }
156
+ })), {
157
+ props: ({
158
+ ownerState: e
159
+ }) => e.fullWidth,
160
+ style: {
161
+ width: "calc(100% - 64px)"
162
+ }
163
+ }, {
164
+ props: ({
165
+ ownerState: e
166
+ }) => e.fullScreen,
167
+ style: {
168
+ margin: 0,
169
+ width: "100%",
170
+ maxWidth: "100%",
171
+ height: "100%",
172
+ maxHeight: "none",
173
+ borderRadius: 0,
174
+ [`&.${P.paperScrollBody}`]: {
175
+ margin: 0,
176
+ maxWidth: "100%"
177
+ }
178
+ }
179
+ }]
180
+ }))), To = /* @__PURE__ */ u.forwardRef(function(e, a) {
181
+ const c = uo({
182
+ props: e,
183
+ name: "MuiDialog"
184
+ }), d = co(), b = {
185
+ enter: d.transitions.duration.enteringScreen,
186
+ exit: d.transitions.duration.leavingScreen
187
+ }, {
188
+ "aria-describedby": f,
189
+ "aria-labelledby": M,
190
+ "aria-modal": j = !0,
191
+ BackdropComponent: F,
192
+ BackdropProps: $,
193
+ children: N,
194
+ className: R,
195
+ disableEscapeKeyDown: C = !1,
196
+ fullScreen: E = !1,
197
+ fullWidth: A = !1,
198
+ maxWidth: I = "sm",
199
+ onBackdropClick: S,
200
+ onClick: T,
201
+ onClose: y,
202
+ open: D,
203
+ PaperComponent: L = B,
204
+ PaperProps: v = {},
205
+ scroll: U = "paper",
206
+ slots: H = {},
207
+ slotProps: K = {},
208
+ TransitionComponent: V = w,
209
+ transitionDuration: W = b,
210
+ TransitionProps: X,
211
+ ...Y
212
+ } = c, t = {
213
+ ...c,
214
+ disableEscapeKeyDown: C,
215
+ fullScreen: E,
216
+ fullWidth: A,
217
+ maxWidth: I,
218
+ scroll: U
219
+ }, h = ko(t), g = u.useRef(), z = (n) => {
220
+ g.current = n.target === n.currentTarget;
221
+ }, _ = (n) => {
222
+ T && T(n), g.current && (g.current = null, S && S(n), y && y(n, "backdropClick"));
223
+ }, x = yo(M), q = u.useMemo(() => ({
224
+ titleId: x
225
+ }), [x]), G = {
226
+ transition: V,
227
+ ...H
228
+ }, J = {
229
+ transition: X,
230
+ paper: v,
231
+ backdrop: $,
232
+ ...K
233
+ }, s = {
234
+ slots: G,
235
+ slotProps: J
236
+ }, [Q, Z] = p("root", {
237
+ elementType: Po,
238
+ shouldForwardComponentProp: !0,
239
+ externalForwardedProps: s,
240
+ ownerState: t,
241
+ className: k(h.root, R),
242
+ ref: a
243
+ }), [oo, eo] = p("backdrop", {
244
+ elementType: xo,
245
+ shouldForwardComponentProp: !0,
246
+ externalForwardedProps: s,
247
+ ownerState: t
248
+ }), [ro, ao] = p("paper", {
249
+ elementType: So,
250
+ shouldForwardComponentProp: !0,
251
+ externalForwardedProps: s,
252
+ ownerState: t,
253
+ className: k(h.paper, v.className)
254
+ }), [to, no] = p("container", {
255
+ elementType: Co,
256
+ externalForwardedProps: s,
257
+ ownerState: t,
258
+ className: k(h.container)
259
+ }), [lo, so] = p("transition", {
260
+ elementType: w,
261
+ externalForwardedProps: s,
262
+ ownerState: t,
263
+ additionalProps: {
264
+ appear: !0,
265
+ in: D,
266
+ timeout: W,
267
+ role: "presentation"
268
+ }
269
+ });
270
+ return /* @__PURE__ */ i(Q, {
271
+ closeAfterTransition: !0,
272
+ slots: {
273
+ backdrop: oo
274
+ },
275
+ slotProps: {
276
+ backdrop: {
277
+ transitionDuration: W,
278
+ as: F,
279
+ ...eo
280
+ }
281
+ },
282
+ disableEscapeKeyDown: C,
283
+ onClose: y,
284
+ open: D,
285
+ onClick: _,
286
+ ...Z,
287
+ ...Y,
288
+ children: /* @__PURE__ */ i(lo, {
289
+ ...so,
290
+ children: /* @__PURE__ */ i(to, {
291
+ onMouseDown: z,
292
+ ...no,
293
+ children: /* @__PURE__ */ i(ro, {
294
+ as: L,
295
+ elevation: 24,
296
+ role: "dialog",
297
+ "aria-describedby": f,
298
+ "aria-labelledby": x,
299
+ "aria-modal": j,
300
+ ...ao,
301
+ children: /* @__PURE__ */ i(O.Provider, {
302
+ value: q,
303
+ children: N
304
+ })
305
+ })
306
+ })
307
+ })
308
+ });
309
+ });
310
+ process.env.NODE_ENV !== "production" && (To.propTypes = {
311
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
312
+ // │ These PropTypes are generated from the TypeScript type definitions. │
313
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
314
+ // └─────────────────────────────────────────────────────────────────────┘
315
+ /**
316
+ * The id(s) of the element(s) that describe the dialog.
317
+ */
318
+ "aria-describedby": o.string,
319
+ /**
320
+ * The id(s) of the element(s) that label the dialog.
321
+ */
322
+ "aria-labelledby": o.string,
323
+ /**
324
+ * Informs assistive technologies that the element is modal.
325
+ * It's added on the element with role="dialog".
326
+ * @default true
327
+ */
328
+ "aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
329
+ /**
330
+ * A backdrop component. This prop enables custom backdrop rendering.
331
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
332
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
333
+ * @default styled(Backdrop, {
334
+ * name: 'MuiModal',
335
+ * slot: 'Backdrop',
336
+ * overridesResolver: (props, styles) => {
337
+ * return styles.backdrop;
338
+ * },
339
+ * })({
340
+ * zIndex: -1,
341
+ * })
342
+ */
343
+ BackdropComponent: o.elementType,
344
+ /**
345
+ * @ignore
346
+ */
347
+ BackdropProps: o.object,
348
+ /**
349
+ * Dialog children, usually the included sub-components.
350
+ */
351
+ children: o.node,
352
+ /**
353
+ * Override or extend the styles applied to the component.
354
+ */
355
+ classes: o.object,
356
+ /**
357
+ * @ignore
358
+ */
359
+ className: o.string,
360
+ /**
361
+ * If `true`, hitting escape will not fire the `onClose` callback.
362
+ * @default false
363
+ */
364
+ disableEscapeKeyDown: o.bool,
365
+ /**
366
+ * If `true`, the dialog is full-screen.
367
+ * @default false
368
+ */
369
+ fullScreen: o.bool,
370
+ /**
371
+ * If `true`, the dialog stretches to `maxWidth`.
372
+ *
373
+ * Notice that the dialog width grow is limited by the default margin.
374
+ * @default false
375
+ */
376
+ fullWidth: o.bool,
377
+ /**
378
+ * Determine the max-width of the dialog.
379
+ * The dialog width grows with the size of the screen.
380
+ * Set to `false` to disable `maxWidth`.
381
+ * @default 'sm'
382
+ */
383
+ maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
384
+ /**
385
+ * Callback fired when the backdrop is clicked.
386
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
387
+ */
388
+ onBackdropClick: o.func,
389
+ /**
390
+ * @ignore
391
+ */
392
+ onClick: o.func,
393
+ /**
394
+ * Callback fired when the component requests to be closed.
395
+ *
396
+ * @param {object} event The event source of the callback.
397
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
398
+ */
399
+ onClose: o.func,
400
+ /**
401
+ * If `true`, the component is shown.
402
+ */
403
+ open: o.bool.isRequired,
404
+ /**
405
+ * The component used to render the body of the dialog.
406
+ * @default Paper
407
+ */
408
+ PaperComponent: o.elementType,
409
+ /**
410
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
411
+ * @default {}
412
+ * @deprecated Use `slotProps.paper` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
413
+ */
414
+ PaperProps: o.object,
415
+ /**
416
+ * Determine the container for scrolling the dialog.
417
+ * @default 'paper'
418
+ */
419
+ scroll: o.oneOf(["body", "paper"]),
420
+ /**
421
+ * The props used for each slot inside.
422
+ * @default {}
423
+ */
424
+ slotProps: o.shape({
425
+ backdrop: o.oneOfType([o.func, o.object]),
426
+ container: o.oneOfType([o.func, o.object]),
427
+ paper: o.oneOfType([o.func, o.object]),
428
+ root: o.oneOfType([o.func, o.object]),
429
+ transition: o.oneOfType([o.func, o.object])
430
+ }),
431
+ /**
432
+ * The components used for each slot inside.
433
+ * @default {}
434
+ */
435
+ slots: o.shape({
436
+ backdrop: o.elementType,
437
+ container: o.elementType,
438
+ paper: o.elementType,
439
+ root: o.elementType,
440
+ transition: o.elementType
441
+ }),
442
+ /**
443
+ * The system prop that allows defining system overrides as well as additional CSS styles.
444
+ */
445
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
446
+ /**
447
+ * The component used for the transition.
448
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
449
+ * @default Fade
450
+ * @deprecated Use `slots.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
451
+ */
452
+ TransitionComponent: o.elementType,
453
+ /**
454
+ * The duration for the transition, in milliseconds.
455
+ * You may specify a single timeout for all transitions, or individually with an object.
456
+ * @default {
457
+ * enter: theme.transitions.duration.enteringScreen,
458
+ * exit: theme.transitions.duration.leavingScreen,
459
+ * }
460
+ */
461
+ transitionDuration: o.oneOfType([o.number, o.shape({
462
+ appear: o.number,
463
+ enter: o.number,
464
+ exit: o.number
465
+ })]),
466
+ /**
467
+ * Props applied to the transition element.
468
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
469
+ * @deprecated Use `slotProps.transition` instead. This prop will be removed in v7. See [Migrating from deprecated APIs](/material-ui/migration/migrating-from-deprecated-apis/) for more details.
470
+ */
471
+ TransitionProps: o.object
472
+ });
473
+ export {
474
+ To as D,
475
+ O as a,
476
+ P as d
477
+ };
@@ -0,0 +1 @@
1
+ "use strict";const ne=require("react"),e=require("./identifier-5n4d7br9.cjs"),le=require("./useTheme-C_2IF7CS.cjs"),i=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-QmkL7lbM.cjs"),ie=require("./memoTheme-C8EfvlY1.cjs"),c=require("./useSlot-CyXLaLc2.cjs"),w=require("./Paper-C-oPGpbI.cjs"),h=require("./Backdrop-COarwgJj.cjs"),ce=require("./useId-DNXtOFeX.cjs"),de=require("./Modal-D8lS9C1l.cjs");function ue(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const p in r)if(p!=="default"){const t=Object.getOwnPropertyDescriptor(r,p);Object.defineProperty(o,p,t.get?t:{enumerable:!0,get:()=>r[p]})}}return o.default=r,Object.freeze(o)}const u=ue(ne),x=u.createContext({});process.env.NODE_ENV!=="production"&&(x.displayName="DialogContext");function ye(r){return e.generateUtilityClass("MuiDialog",r)}const y=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Pe=n.styled(h.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(r,o)=>o.backdrop})({zIndex:-1}),Te=r=>{const{classes:o,scroll:p,maxWidth:t,fullWidth:d,fullScreen:P}=r,T={root:["root"],container:["container",`scroll${e.capitalize(p)}`],paper:["paper",`paperScroll${e.capitalize(p)}`,`paperWidth${e.capitalize(String(t))}`,d&&"paperFullWidth",P&&"paperFullScreen"]};return n.composeClasses(T,ye,o)},be=n.styled(de.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(r,o)=>o.root})({"@media print":{position:"absolute !important"}}),me=n.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(r,o)=>{const{ownerState:p}=r;return[o.container,o[`scroll${e.capitalize(p.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),fe=n.styled(w.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(r,o)=>{const{ownerState:p}=r;return[o.paper,o[`scrollPaper${e.capitalize(p.scroll)}`],o[`paperWidth${e.capitalize(String(p.maxWidth))}`],p.fullWidth&&o.paperFullWidth,p.fullScreen&&o.paperFullScreen]}})(ie.memoTheme(({theme:r})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:o})=>!o.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:r.breakpoints.unit==="px"?Math.max(r.breakpoints.values.xs,444):`max(${r.breakpoints.values.xs}${r.breakpoints.unit}, 444px)`,[`&.${y.paperScrollBody}`]:{[r.breakpoints.down(Math.max(r.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(r.breakpoints.values).filter(o=>o!=="xs").map(o=>({props:{maxWidth:o},style:{maxWidth:`${r.breakpoints.values[o]}${r.breakpoints.unit}`,[`&.${y.paperScrollBody}`]:{[r.breakpoints.down(r.breakpoints.values[o]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:o})=>o.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:o})=>o.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${y.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),j=u.forwardRef(function(o,p){const t=n.useDefaultProps({props:o,name:"MuiDialog"}),d=le.useTheme(),P={enter:d.transitions.duration.enteringScreen,exit:d.transitions.duration.leavingScreen},{"aria-describedby":T,"aria-labelledby":O,"aria-modal":B=!0,BackdropComponent:M,BackdropProps:F,children:R,className:$,disableEscapeKeyDown:k=!1,fullScreen:q=!1,fullWidth:N=!1,maxWidth:z="sm",onBackdropClick:S,onClick:C,onClose:b,open:D,PaperComponent:E=w.Paper,PaperProps:v={},scroll:A="paper",slots:I={},slotProps:_={},TransitionComponent:U=h.Fade,transitionDuration:W=P,TransitionProps:K,...L}=t,s={...t,disableEscapeKeyDown:k,fullScreen:q,fullWidth:N,maxWidth:z,scroll:A},m=Te(s),f=u.useRef(),V=a=>{f.current=a.target===a.currentTarget},X=a=>{C&&C(a),f.current&&(f.current=null,S&&S(a),b&&b(a,"backdropClick"))},g=ce.useId(O),Y=u.useMemo(()=>({titleId:g}),[g]),H={transition:U,...I},G={transition:K,paper:v,backdrop:F,..._},l={slots:H,slotProps:G},[J,Q]=c.useSlot("root",{elementType:be,shouldForwardComponentProp:!0,externalForwardedProps:l,ownerState:s,className:e.clsx(m.root,$),ref:p}),[Z,ee]=c.useSlot("backdrop",{elementType:Pe,shouldForwardComponentProp:!0,externalForwardedProps:l,ownerState:s}),[oe,re]=c.useSlot("paper",{elementType:fe,shouldForwardComponentProp:!0,externalForwardedProps:l,ownerState:s,className:e.clsx(m.paper,v.className)}),[pe,te]=c.useSlot("container",{elementType:me,externalForwardedProps:l,ownerState:s,className:e.clsx(m.container)}),[se,ae]=c.useSlot("transition",{elementType:h.Fade,externalForwardedProps:l,ownerState:s,additionalProps:{appear:!0,in:D,timeout:W,role:"presentation"}});return i.jsx(J,{closeAfterTransition:!0,slots:{backdrop:Z},slotProps:{backdrop:{transitionDuration:W,as:M,...ee}},disableEscapeKeyDown:k,onClose:b,open:D,onClick:X,...Q,...L,children:i.jsx(se,{...ae,children:i.jsx(pe,{onMouseDown:V,...te,children:i.jsx(oe,{as:E,elevation:24,role:"dialog","aria-describedby":T,"aria-labelledby":g,"aria-modal":B,...re,children:i.jsx(x.Provider,{value:Y,children:R})})})})})});process.env.NODE_ENV!=="production"&&(j.propTypes={"aria-describedby":e.PropTypes.string,"aria-labelledby":e.PropTypes.string,"aria-modal":e.PropTypes.oneOfType([e.PropTypes.oneOf(["false","true"]),e.PropTypes.bool]),BackdropComponent:e.PropTypes.elementType,BackdropProps:e.PropTypes.object,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableEscapeKeyDown:e.PropTypes.bool,fullScreen:e.PropTypes.bool,fullWidth:e.PropTypes.bool,maxWidth:e.PropTypes.oneOfType([e.PropTypes.oneOf(["xs","sm","md","lg","xl",!1]),e.PropTypes.string]),onBackdropClick:e.PropTypes.func,onClick:e.PropTypes.func,onClose:e.PropTypes.func,open:e.PropTypes.bool.isRequired,PaperComponent:e.PropTypes.elementType,PaperProps:e.PropTypes.object,scroll:e.PropTypes.oneOf(["body","paper"]),slotProps:e.PropTypes.shape({backdrop:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),container:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),paper:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),root:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object]),transition:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({backdrop:e.PropTypes.elementType,container:e.PropTypes.elementType,paper:e.PropTypes.elementType,root: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]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})]),TransitionProps:e.PropTypes.object});exports.Dialog=j;exports.DialogContext=x;exports.dialogClasses=y;
@@ -0,0 +1 @@
1
+ "use strict";const D=require("react"),e=require("./identifier-5n4d7br9.cjs"),d=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-QmkL7lbM.cjs"),P=require("./memoTheme-C8EfvlY1.cjs");function v(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(s,t,i.get?i:{enumerable:!0,get:()=>o[t]})}}return s.default=o,Object.freeze(s)}const g=v(D);function u(o){return e.generateUtilityClass("MuiDialogActions",o)}const b=e.generateUtilityClasses("MuiDialogActions",["root","spacing"]),m=o=>{const{classes:s,disableSpacing:t}=o,i={root:["root",!t&&"spacing"]};return n.composeClasses(i,u,s)},x=n.styled("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,!t.disableSpacing&&s.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:o})=>!o.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),y=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogActions"}),{className:a,disableSpacing:l=!1,...p}=i,r={...i,disableSpacing:l},c=m(r);return d.jsx(x,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(y.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,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])});function f(o){return e.generateUtilityClass("MuiDialogContent",o)}const j=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function O(o){return e.generateUtilityClass("MuiDialogTitle",o)}const T=e.generateUtilityClasses("MuiDialogTitle",["root"]),S=o=>{const{classes:s,dividers:t}=o,i={root:["root",t&&"dividers"]};return n.composeClasses(i,f,s)},U=n.styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:t}=o;return[s.root,t.dividers&&s.dividers]}})(P.memoTheme(({theme:o})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:s})=>s.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(o.vars||o).palette.divider}`,borderBottom:`1px solid ${(o.vars||o).palette.divider}`}},{props:({ownerState:s})=>!s.dividers,style:{[`.${T.root} + &`]:{paddingTop:0}}}]}))),C=g.forwardRef(function(s,t){const i=n.useDefaultProps({props:s,name:"MuiDialogContent"}),{className:a,dividers:l=!1,...p}=i,r={...i,dividers:l},c=S(r);return d.jsx(U,{className:e.clsx(c.root,a),ownerState:r,ref:t,...p})});process.env.NODE_ENV!=="production"&&(C.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,dividers:e.PropTypes.bool,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])});exports.DialogActions=y;exports.DialogContent=C;exports.dialogActionsClasses=b;exports.dialogContentClasses=j;exports.dialogTitleClasses=T;exports.getDialogActionsUtilityClass=u;exports.getDialogContentUtilityClass=f;exports.getDialogTitleUtilityClass=O;