@cgi-learning-hub/ui 1.3.3 → 1.3.4-dev.1733150814

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 (244) hide show
  1. package/dist/Backdrop-BlKt7y1x.js +360 -0
  2. package/dist/Backdrop-vSE8W9jq.cjs +1 -0
  3. package/dist/{Box-UE-zctbJ.js → Box-DErdbtsw.js} +9 -9
  4. package/dist/{Box-H49yQEt_.cjs → Box-DMYs7NTb.cjs} +1 -1
  5. package/dist/{Button-Bjy0iPNm.js → Button-CiqVGfRs.js} +14 -14
  6. package/dist/{Button-qc45QbX6.cjs → Button-D3dbHQM1.cjs} +1 -1
  7. package/dist/ButtonBase-BoWeLMzR.cjs +74 -0
  8. package/dist/{ButtonBase-CFD7NVUc.js → ButtonBase-DUPJVOlc.js} +232 -240
  9. package/dist/Card-Cnh4u4kb.cjs +1 -0
  10. package/dist/Card-mGRk1RuE.js +74 -0
  11. package/dist/{Checkbox-Ct5E_6h7.js → Checkbox-aJ1r7ufI.js} +12 -12
  12. package/dist/{Checkbox-CuYTY0gd.cjs → Checkbox-s_RdgUlw.cjs} +1 -1
  13. package/dist/{CircularProgress-By02Sdoh.js → CircularProgress-CfODO7vI.js} +17 -17
  14. package/dist/{CircularProgress-BPHINMQw.cjs → CircularProgress-DHgcUb1c.cjs} +7 -7
  15. package/dist/DatePicker-Dyf9Vhld.js +10845 -0
  16. package/dist/DatePicker-juzW4bLC.cjs +14 -0
  17. package/dist/DefaultPropsProvider-Biv7NHew.cjs +17 -0
  18. package/dist/{DefaultPropsProvider-CaRoy5OV.js → DefaultPropsProvider-xJkZOrdv.js} +146 -143
  19. package/dist/Delete-BOQTx9ze.js +8 -0
  20. package/dist/Delete-DyzDL8-Y.cjs +1 -0
  21. package/dist/DialogContent-D1KFPXhr.js +602 -0
  22. package/dist/DialogContent-Dphl2SKX.cjs +1 -0
  23. package/dist/DialogTitle-AQ-YU9PH.js +134 -0
  24. package/dist/DialogTitle-C8AdXsDz.cjs +1 -0
  25. package/dist/Divider-Bdp8beK-.cjs +1 -0
  26. package/dist/Divider-C0R1SUa4.js +296 -0
  27. package/dist/FormControlLabel-BlO93LTi.cjs +1 -0
  28. package/dist/FormControlLabel-w-X91z27.js +261 -0
  29. package/dist/FormGroup-6NoANcYk.js +95 -0
  30. package/dist/FormGroup-D0zSGn42.cjs +1 -0
  31. package/dist/FormLabel-BkiH7wl7.cjs +2 -0
  32. package/dist/{FormLabel-B4QlkhhB.js → FormLabel-CoLJ9tA8.js} +36 -42
  33. package/dist/Grow-DfACa72Q.cjs +1 -0
  34. package/dist/Grow-SW33sONG.js +193 -0
  35. package/dist/IconButton-DRs0xB4z.cjs +2 -0
  36. package/dist/{IconButton-Av8eJ5IG.js → IconButton-DjeMTpI5.js} +5 -5
  37. package/dist/{InputAdornment-BJfpEQAa.cjs → InputAdornment-B1pggfEX.cjs} +1 -1
  38. package/dist/{InputAdornment-COPtZlSD.js → InputAdornment-ByiVSgFT.js} +4 -4
  39. package/dist/{InputBase-Bbgoz8GV.js → InputBase-CvU0-Zg6.js} +59 -59
  40. package/dist/InputBase-Xfjv-RYp.cjs +3 -0
  41. package/dist/Link-Dmwt9wxb.js +266 -0
  42. package/dist/Link-Z_UCBvgV.cjs +1 -0
  43. package/dist/Menu-4U27Dst1.js +965 -0
  44. package/dist/Menu-DREdNbqu.cjs +7 -0
  45. package/dist/MenuItem-CN75Du-9.cjs +1 -0
  46. package/dist/{MenuItem-D7HWYhF3.js → MenuItem-CqPsuuC1.js} +69 -74
  47. package/dist/Modal-DWqBsogu.cjs +2 -0
  48. package/dist/Modal-D_mqYIr2.js +750 -0
  49. package/dist/Paper-CjMuucS5.cjs +2 -0
  50. package/dist/Paper-D973Ow-i.js +185 -0
  51. package/dist/Popper-B8oNZqtn.js +1407 -0
  52. package/dist/Popper-hzM0y1hA.cjs +4 -0
  53. package/dist/Portal-BKbBRbWN.js +86 -0
  54. package/dist/Portal-Bv2VRYHH.cjs +1 -0
  55. package/dist/Radio-BrzQH9pY.js +312 -0
  56. package/dist/Radio-DxbXYNhR.cjs +1 -0
  57. package/dist/Select-CL4E8NNL.cjs +3 -0
  58. package/dist/Select-CgAPAUTr.js +2602 -0
  59. package/dist/{Stack-y1PjTHKX.js → Stack-CYXQpKS2.js} +18 -18
  60. package/dist/{Stack-CEjx3KHM.cjs → Stack-WrITLr1B.cjs} +1 -1
  61. package/dist/{SwitchBase-yCuH0Tqk.js → SwitchBase-CGa9A6SL.js} +10 -10
  62. package/dist/{SwitchBase-URM3X3YZ.cjs → SwitchBase-Cqh9rxOh.cjs} +1 -1
  63. package/dist/{Tooltip-DO9GIhWC.js → TableSortLabel-hvz89Dvu.js} +2185 -3518
  64. package/dist/TableSortLabel-mAzX4tAl.cjs +98 -0
  65. package/dist/Tabs-BNqwYd2G.cjs +4 -0
  66. package/dist/{Tabs-DK4Bc5xo.js → Tabs-BPI2IyPx.js} +284 -282
  67. package/dist/{TextField-C-B529_r.js → TextField-C4nIxR_t.js} +24 -24
  68. package/dist/{TextField-BVAkADOb.cjs → TextField-Dy0Iblqt.cjs} +1 -1
  69. package/dist/Tooltip-Bdrv-e2a.js +720 -0
  70. package/dist/Tooltip-vg27N3PU.cjs +4 -0
  71. package/dist/{Typography-5OodZ94T.cjs → Typography-BF9bdWxl.cjs} +1 -1
  72. package/dist/{Typography-C_ESP41L.js → Typography-CUdlQxLM.js} +4 -4
  73. package/dist/assets/styles.css +1 -1
  74. package/dist/assets/styles2.css +1 -1
  75. package/dist/chainPropTypes-CEUi6Jb4.cjs +1 -0
  76. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +12 -12
  79. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  80. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  81. package/dist/components/DatePicker/index.cjs.js +1 -1
  82. package/dist/components/DatePicker/index.es.js +1 -1
  83. package/dist/components/Dropzone/Dropzone.cjs.js +1 -5
  84. package/dist/components/Dropzone/Dropzone.es.js +24 -2162
  85. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  86. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  87. package/dist/components/FileList/FileList.cjs.js +1 -1
  88. package/dist/components/FileList/FileList.es.js +1 -1
  89. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  90. package/dist/components/FileList/FileListItem.es.js +21 -22
  91. package/dist/components/Heading/Heading.cjs.js +1 -1
  92. package/dist/components/Heading/Heading.es.js +2 -2
  93. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -0
  94. package/dist/components/ImagePicker/ImagePicker.d.ts +12 -0
  95. package/dist/components/ImagePicker/ImagePicker.es.js +174 -0
  96. package/dist/components/ImagePicker/index.cjs.js +1 -0
  97. package/dist/components/ImagePicker/index.d.ts +2 -0
  98. package/dist/components/ImagePicker/index.es.js +4 -0
  99. package/dist/components/Loader/Loader.cjs.js +1 -1
  100. package/dist/components/Loader/Loader.es.js +2 -2
  101. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  102. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +3 -3
  103. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  104. package/dist/components/PasswordInput/PasswordInput.es.js +8 -7
  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.d.ts +1 -0
  111. package/dist/components/index.es.js +277 -265
  112. package/dist/components/stories/Button.stories.cjs.js +1 -1
  113. package/dist/components/stories/Button.stories.es.js +1 -1
  114. package/dist/components/stories/Card.stories.cjs.js +1 -0
  115. package/dist/components/stories/Card.stories.d.ts +7 -0
  116. package/dist/components/stories/Card.stories.es.js +193 -0
  117. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  118. package/dist/components/stories/Checkbox.stories.es.js +41 -12
  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 -0
  122. package/dist/components/stories/Dialog.stories.d.ts +7 -0
  123. package/dist/components/stories/Dialog.stories.es.js +53 -0
  124. package/dist/components/stories/Divider.stories.cjs.js +1 -0
  125. package/dist/components/stories/Divider.stories.d.ts +6 -0
  126. package/dist/components/stories/Divider.stories.es.js +41 -0
  127. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -0
  128. package/dist/components/stories/FormControlLabel.stories.d.ts +9 -0
  129. package/dist/components/stories/FormControlLabel.stories.es.js +378 -0
  130. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  131. package/dist/components/stories/Heading.stories.es.js +2 -2
  132. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  133. package/dist/components/stories/IconButton.stories.es.js +47 -11
  134. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -0
  135. package/dist/components/stories/ImagePicker.stories.d.ts +6 -0
  136. package/dist/components/stories/ImagePicker.stories.es.js +50 -0
  137. package/dist/components/stories/Link.stories.cjs.js +1 -0
  138. package/dist/components/stories/Link.stories.d.ts +7 -0
  139. package/dist/components/stories/Link.stories.es.js +43 -0
  140. package/dist/components/stories/Menu.stories.cjs.js +1 -0
  141. package/dist/components/stories/Menu.stories.d.ts +7 -0
  142. package/dist/components/stories/Menu.stories.es.js +51 -0
  143. package/dist/components/stories/Paper.stories.cjs.js +1 -0
  144. package/dist/components/stories/Paper.stories.d.ts +7 -0
  145. package/dist/components/stories/Paper.stories.es.js +28 -0
  146. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  147. package/dist/components/stories/RadioGroup.stories.es.js +70 -371
  148. package/dist/components/stories/Select.stories.cjs.js +1 -1
  149. package/dist/components/stories/Select.stories.es.js +3 -3
  150. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  151. package/dist/components/stories/TabList.stories.es.js +140 -90
  152. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  153. package/dist/components/stories/TextField.stories.es.js +1 -1
  154. package/dist/components/stories/Tooltip.stories.cjs.js +1 -0
  155. package/dist/components/stories/Tooltip.stories.d.ts +7 -0
  156. package/dist/components/stories/Tooltip.stories.es.js +46 -0
  157. package/dist/components/stories/Typography.stories.cjs.js +1 -0
  158. package/dist/components/stories/Typography.stories.d.ts +6 -0
  159. package/dist/components/stories/Typography.stories.es.js +65 -0
  160. package/dist/createChainedFunction-C0nujS3O.js +9 -0
  161. package/dist/createChainedFunction-CJmlQuW8.cjs +1 -0
  162. package/dist/{createSvgIcon-GU7fqNnI.cjs → createSvgIcon-BMmqQ2z0.cjs} +1 -1
  163. package/dist/{createSvgIcon-DxbvMQd7.js → createSvgIcon-CVd3Lo1D.js} +3 -3
  164. package/dist/debounce-46wSf_lW.js +15 -0
  165. package/dist/debounce-DpCj7ugL.cjs +1 -0
  166. package/dist/dividerClasses-CyDs_RPD.cjs +1 -0
  167. package/dist/dividerClasses-kN_Ky2Bl.js +9 -0
  168. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +1 -0
  169. package/dist/elementTypeAcceptingRef-modXfN2G.js +23 -0
  170. package/dist/{extendSxProp-D11-pC6h.cjs → extendSxProp-6YOo46ig.cjs} +1 -1
  171. package/dist/{extendSxProp-XQwkK0m7.js → extendSxProp-CHv0k-C6.js} +1 -1
  172. package/dist/formControlState-CuX6WjAX.cjs +1 -0
  173. package/dist/formControlState-vgaj2ksH.js +10 -0
  174. package/dist/fr-ChrHtTbj.cjs +1 -0
  175. package/dist/fr-rmVQsNbI.js +312 -0
  176. package/dist/{identifier-BqadgaK7.js → identifier-Bn0tF6ls.js} +612 -608
  177. package/dist/{identifier-BQH88SE0.cjs → identifier-Dax8VlUh.cjs} +19 -19
  178. package/dist/index-BNojWn2E.js +2152 -0
  179. package/dist/index-C5dNuV-2.cjs +5 -0
  180. package/dist/{index-BUxqDIr9.js → index-CVpJYeY2.js} +4 -4
  181. package/dist/{index-D7nFYLYq.cjs → index-D3PBNx_m.cjs} +1 -1
  182. package/dist/{index-CNv8ppur.cjs → index-OLlWw08I.cjs} +1 -1
  183. package/dist/{index-CRT92bm7.js → index-waINWr3i.js} +3 -3
  184. package/dist/index.cjs.js +1 -1
  185. package/dist/index.es.js +277 -265
  186. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  187. package/dist/isFocusVisible-DlSijby6.cjs +2 -0
  188. package/dist/isHostComponent-PydJW4A4.cjs +1 -0
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{memoTheme-B6o2KVgJ.cjs → memoTheme-BPA1FjB4.cjs} +1 -1
  191. package/dist/{memoTheme-DfGVDRrB.js → memoTheme-CMJVTZEg.js} +1 -1
  192. package/dist/ownerDocument-4MViGo3k.cjs +1 -0
  193. package/dist/ownerDocument-CUrv0DIK.js +6 -0
  194. package/dist/ownerWindow-DDHucZi0.cjs +1 -0
  195. package/dist/ownerWindow-niciwP7I.js +7 -0
  196. package/dist/refType-BmrOFNz6.js +7 -0
  197. package/dist/refType-Dm84STBj.cjs +1 -0
  198. package/dist/{resolveComponentProps-DTv6xPbb.cjs → resolveComponentProps-4nhUsl3a.cjs} +1 -1
  199. package/dist/{resolveComponentProps-CxJ2yAJn.js → resolveComponentProps-DHoZOPOi.js} +1 -1
  200. package/dist/useForkRef-CTI33h-3.cjs +1 -0
  201. package/dist/useForkRef-C_4o__cU.js +15 -0
  202. package/dist/{useSlot-42jgZftI.cjs → useSlot-CJAXUvYJ.cjs} +1 -1
  203. package/dist/{useSlot-Co14PUn6.js → useSlot-t9oGnIgq.js} +2 -2
  204. package/dist/{useTheme-tZYpFplW.cjs → useTheme-BIogn5Me.cjs} +1 -1
  205. package/dist/{useTheme-cVN-YQNB.cjs → useTheme-Bz4LKMiC.cjs} +1 -1
  206. package/dist/{useTheme-oM_SFWy4.js → useTheme-CBsFvF7I.js} +1 -1
  207. package/dist/{useTheme-CtT7O-Wk.js → useTheme-L3EQmvnN.js} +3 -3
  208. package/dist/{useThemeProps-BlQ3SLfB.js → useThemeProps-5Bku71LW.js} +2 -2
  209. package/dist/{useThemeProps-HLq2mDKk.cjs → useThemeProps-C692LOYf.cjs} +1 -1
  210. package/dist/{useThemeProps-r0DnR8FJ.cjs → useThemeProps-DNFKz8wS.cjs} +1 -1
  211. package/dist/{useThemeProps-FiA8ivG-.js → useThemeProps-I9EHeqzU.js} +3 -3
  212. package/dist/{useTimeout-D16vpBhn.js → useTimeout-3Y5y4gWq.js} +4 -4
  213. package/dist/{useTimeout-DWEGwfTA.cjs → useTimeout-CxOQget6.cjs} +1 -1
  214. package/dist/utils-BWx1W_q1.cjs +1 -0
  215. package/dist/utils-CE_a8glN.js +391 -0
  216. package/dist/utils-CusX8Edy.cjs +1 -0
  217. package/dist/utils-DWqc1kRF.js +13 -0
  218. package/package.json +5 -5
  219. package/dist/Backdrop-KAJqifAq.cjs +0 -1
  220. package/dist/Backdrop-RBPtVAPX.js +0 -744
  221. package/dist/ButtonBase-UEHzzfUL.cjs +0 -75
  222. package/dist/DatePicker-rhgpaD-r.cjs +0 -17
  223. package/dist/DatePicker-u4rtXGeo.js +0 -12791
  224. package/dist/DefaultPropsProvider-BrX6iuA3.cjs +0 -17
  225. package/dist/FormGroup-BBYEQB4C.cjs +0 -1
  226. package/dist/FormGroup-BVtE8Mrv.js +0 -348
  227. package/dist/FormLabel-D8jYibc1.cjs +0 -2
  228. package/dist/IconButton-CVyLtjcH.cjs +0 -2
  229. package/dist/InputBase-Ctmib7Br.cjs +0 -3
  230. package/dist/MenuItem-Els-vJZW.cjs +0 -1
  231. package/dist/Select-BlPQngVF.js +0 -4720
  232. package/dist/Select-ipcMZ4iK.cjs +0 -11
  233. package/dist/Tabs-Nvk94RTW.cjs +0 -4
  234. package/dist/Tooltip-DvPL2M0E.cjs +0 -100
  235. package/dist/formControlState-DCkDUdfO.cjs +0 -1
  236. package/dist/formControlState-DdQP43Uo.js +0 -21
  237. package/dist/fr-B8_MxRl5.js +0 -307
  238. package/dist/fr-Nvp7C-vS.cjs +0 -1
  239. package/dist/ownerWindow-BoRkeomM.js +0 -23
  240. package/dist/ownerWindow-Dk_4aaak.cjs +0 -1
  241. package/dist/refType-DlHf9HvO.js +0 -27
  242. package/dist/refType-Do7KaOvv.cjs +0 -1
  243. package/dist/useForkRef-D-DyzOXj.js +0 -21
  244. package/dist/useForkRef-D81w5oMb.cjs +0 -1
@@ -0,0 +1,602 @@
1
+ import * as d from "react";
2
+ import { H as y, I as x, L as u, G as m, P as o } from "./identifier-Bn0tF6ls.js";
3
+ import { u as G } from "./useTheme-L3EQmvnN.js";
4
+ import { jsx as p } from "react/jsx-runtime";
5
+ import { s as f, u as S, c as w } from "./DefaultPropsProvider-xJkZOrdv.js";
6
+ import { m as B } from "./memoTheme-CMJVTZEg.js";
7
+ import { B as J, F as Q } from "./Backdrop-BlKt7y1x.js";
8
+ import { M as Z } from "./Modal-D_mqYIr2.js";
9
+ import { P as R } from "./Paper-D973Ow-i.js";
10
+ import { u as oo } from "./useId-CK6Kn3Tn.js";
11
+ function eo(a) {
12
+ return y("MuiDialog", a);
13
+ }
14
+ const k = x("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), $ = /* @__PURE__ */ d.createContext({});
15
+ process.env.NODE_ENV !== "production" && ($.displayName = "DialogContext");
16
+ const ao = f(J, {
17
+ name: "MuiDialog",
18
+ slot: "Backdrop",
19
+ overrides: (a, e) => e.backdrop
20
+ })({
21
+ // Improve scrollable dialog support.
22
+ zIndex: -1
23
+ }), to = (a) => {
24
+ const {
25
+ classes: e,
26
+ scroll: t,
27
+ maxWidth: r,
28
+ fullWidth: s,
29
+ fullScreen: i
30
+ } = a, n = {
31
+ root: ["root"],
32
+ container: ["container", `scroll${u(t)}`],
33
+ paper: ["paper", `paperScroll${u(t)}`, `paperWidth${u(String(r))}`, s && "paperFullWidth", i && "paperFullScreen"]
34
+ };
35
+ return w(n, eo, e);
36
+ }, ro = f(Z, {
37
+ name: "MuiDialog",
38
+ slot: "Root",
39
+ overridesResolver: (a, e) => e.root
40
+ })({
41
+ "@media print": {
42
+ // Use !important to override the Modal inline-style.
43
+ position: "absolute !important"
44
+ }
45
+ }), so = f("div", {
46
+ name: "MuiDialog",
47
+ slot: "Container",
48
+ overridesResolver: (a, e) => {
49
+ const {
50
+ ownerState: t
51
+ } = a;
52
+ return [e.container, e[`scroll${u(t.scroll)}`]];
53
+ }
54
+ })({
55
+ height: "100%",
56
+ "@media print": {
57
+ height: "auto"
58
+ },
59
+ // We disable the focus ring for mouse, touch and keyboard users.
60
+ outline: 0,
61
+ variants: [{
62
+ props: {
63
+ scroll: "paper"
64
+ },
65
+ style: {
66
+ display: "flex",
67
+ justifyContent: "center",
68
+ alignItems: "center"
69
+ }
70
+ }, {
71
+ props: {
72
+ scroll: "body"
73
+ },
74
+ style: {
75
+ overflowY: "auto",
76
+ overflowX: "hidden",
77
+ textAlign: "center",
78
+ "&::after": {
79
+ content: '""',
80
+ display: "inline-block",
81
+ verticalAlign: "middle",
82
+ height: "100%",
83
+ width: "0"
84
+ }
85
+ }
86
+ }]
87
+ }), io = f(R, {
88
+ name: "MuiDialog",
89
+ slot: "Paper",
90
+ overridesResolver: (a, e) => {
91
+ const {
92
+ ownerState: t
93
+ } = a;
94
+ return [e.paper, e[`scrollPaper${u(t.scroll)}`], e[`paperWidth${u(String(t.maxWidth))}`], t.fullWidth && e.paperFullWidth, t.fullScreen && e.paperFullScreen];
95
+ }
96
+ })(B(({
97
+ theme: a
98
+ }) => ({
99
+ margin: 32,
100
+ position: "relative",
101
+ overflowY: "auto",
102
+ "@media print": {
103
+ overflowY: "visible",
104
+ boxShadow: "none"
105
+ },
106
+ variants: [{
107
+ props: {
108
+ scroll: "paper"
109
+ },
110
+ style: {
111
+ display: "flex",
112
+ flexDirection: "column",
113
+ maxHeight: "calc(100% - 64px)"
114
+ }
115
+ }, {
116
+ props: {
117
+ scroll: "body"
118
+ },
119
+ style: {
120
+ display: "inline-block",
121
+ verticalAlign: "middle",
122
+ textAlign: "initial"
123
+ }
124
+ }, {
125
+ props: ({
126
+ ownerState: e
127
+ }) => !e.maxWidth,
128
+ style: {
129
+ maxWidth: "calc(100% - 64px)"
130
+ }
131
+ }, {
132
+ props: {
133
+ maxWidth: "xs"
134
+ },
135
+ style: {
136
+ maxWidth: a.breakpoints.unit === "px" ? Math.max(a.breakpoints.values.xs, 444) : `max(${a.breakpoints.values.xs}${a.breakpoints.unit}, 444px)`,
137
+ [`&.${k.paperScrollBody}`]: {
138
+ [a.breakpoints.down(Math.max(a.breakpoints.values.xs, 444) + 32 * 2)]: {
139
+ maxWidth: "calc(100% - 64px)"
140
+ }
141
+ }
142
+ }
143
+ }, ...Object.keys(a.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
144
+ props: {
145
+ maxWidth: e
146
+ },
147
+ style: {
148
+ maxWidth: `${a.breakpoints.values[e]}${a.breakpoints.unit}`,
149
+ [`&.${k.paperScrollBody}`]: {
150
+ [a.breakpoints.down(a.breakpoints.values[e] + 32 * 2)]: {
151
+ maxWidth: "calc(100% - 64px)"
152
+ }
153
+ }
154
+ }
155
+ })), {
156
+ props: ({
157
+ ownerState: e
158
+ }) => e.fullWidth,
159
+ style: {
160
+ width: "calc(100% - 64px)"
161
+ }
162
+ }, {
163
+ props: ({
164
+ ownerState: e
165
+ }) => e.fullScreen,
166
+ style: {
167
+ margin: 0,
168
+ width: "100%",
169
+ maxWidth: "100%",
170
+ height: "100%",
171
+ maxHeight: "none",
172
+ borderRadius: 0,
173
+ [`&.${k.paperScrollBody}`]: {
174
+ margin: 0,
175
+ maxWidth: "100%"
176
+ }
177
+ }
178
+ }]
179
+ }))), no = /* @__PURE__ */ d.forwardRef(function(e, t) {
180
+ const r = S({
181
+ props: e,
182
+ name: "MuiDialog"
183
+ }), s = G(), i = {
184
+ enter: s.transitions.duration.enteringScreen,
185
+ exit: s.transitions.duration.leavingScreen
186
+ }, {
187
+ "aria-describedby": n,
188
+ "aria-labelledby": l,
189
+ "aria-modal": g = !0,
190
+ BackdropComponent: j,
191
+ BackdropProps: A,
192
+ children: E,
193
+ className: F,
194
+ disableEscapeKeyDown: T = !1,
195
+ fullScreen: U = !1,
196
+ fullWidth: I = !1,
197
+ maxWidth: L = "sm",
198
+ onBackdropClick: W,
199
+ onClick: M,
200
+ onClose: v,
201
+ open: P,
202
+ PaperComponent: V = R,
203
+ PaperProps: N = {},
204
+ scroll: Y = "paper",
205
+ TransitionComponent: _ = Q,
206
+ transitionDuration: O = i,
207
+ TransitionProps: H,
208
+ ...K
209
+ } = r, b = {
210
+ ...r,
211
+ disableEscapeKeyDown: T,
212
+ fullScreen: U,
213
+ fullWidth: I,
214
+ maxWidth: L,
215
+ scroll: Y
216
+ }, h = to(b), D = d.useRef(), X = (c) => {
217
+ D.current = c.target === c.currentTarget;
218
+ }, z = (c) => {
219
+ M && M(c), D.current && (D.current = null, W && W(c), v && v(c, "backdropClick"));
220
+ }, C = oo(l), q = d.useMemo(() => ({
221
+ titleId: C
222
+ }), [C]);
223
+ return /* @__PURE__ */ p(ro, {
224
+ className: m(h.root, F),
225
+ closeAfterTransition: !0,
226
+ components: {
227
+ Backdrop: ao
228
+ },
229
+ componentsProps: {
230
+ backdrop: {
231
+ transitionDuration: O,
232
+ as: j,
233
+ ...A
234
+ }
235
+ },
236
+ disableEscapeKeyDown: T,
237
+ onClose: v,
238
+ open: P,
239
+ ref: t,
240
+ onClick: z,
241
+ ownerState: b,
242
+ ...K,
243
+ children: /* @__PURE__ */ p(_, {
244
+ appear: !0,
245
+ in: P,
246
+ timeout: O,
247
+ role: "presentation",
248
+ ...H,
249
+ children: /* @__PURE__ */ p(so, {
250
+ className: m(h.container),
251
+ onMouseDown: X,
252
+ ownerState: b,
253
+ children: /* @__PURE__ */ p(io, {
254
+ as: V,
255
+ elevation: 24,
256
+ role: "dialog",
257
+ "aria-describedby": n,
258
+ "aria-labelledby": C,
259
+ "aria-modal": g,
260
+ ...N,
261
+ className: m(h.paper, N.className),
262
+ ownerState: b,
263
+ children: /* @__PURE__ */ p($.Provider, {
264
+ value: q,
265
+ children: E
266
+ })
267
+ })
268
+ })
269
+ })
270
+ });
271
+ });
272
+ process.env.NODE_ENV !== "production" && (no.propTypes = {
273
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
274
+ // │ These PropTypes are generated from the TypeScript type definitions. │
275
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
276
+ // └─────────────────────────────────────────────────────────────────────┘
277
+ /**
278
+ * The id(s) of the element(s) that describe the dialog.
279
+ */
280
+ "aria-describedby": o.string,
281
+ /**
282
+ * The id(s) of the element(s) that label the dialog.
283
+ */
284
+ "aria-labelledby": o.string,
285
+ /**
286
+ * Informs assistive technologies that the element is modal.
287
+ * It's added on the element with role="dialog".
288
+ * @default true
289
+ */
290
+ "aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
291
+ /**
292
+ * A backdrop component. This prop enables custom backdrop rendering.
293
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
294
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
295
+ * @default styled(Backdrop, {
296
+ * name: 'MuiModal',
297
+ * slot: 'Backdrop',
298
+ * overridesResolver: (props, styles) => {
299
+ * return styles.backdrop;
300
+ * },
301
+ * })({
302
+ * zIndex: -1,
303
+ * })
304
+ */
305
+ BackdropComponent: o.elementType,
306
+ /**
307
+ * @ignore
308
+ */
309
+ BackdropProps: o.object,
310
+ /**
311
+ * Dialog children, usually the included sub-components.
312
+ */
313
+ children: o.node,
314
+ /**
315
+ * Override or extend the styles applied to the component.
316
+ */
317
+ classes: o.object,
318
+ /**
319
+ * @ignore
320
+ */
321
+ className: o.string,
322
+ /**
323
+ * If `true`, hitting escape will not fire the `onClose` callback.
324
+ * @default false
325
+ */
326
+ disableEscapeKeyDown: o.bool,
327
+ /**
328
+ * If `true`, the dialog is full-screen.
329
+ * @default false
330
+ */
331
+ fullScreen: o.bool,
332
+ /**
333
+ * If `true`, the dialog stretches to `maxWidth`.
334
+ *
335
+ * Notice that the dialog width grow is limited by the default margin.
336
+ * @default false
337
+ */
338
+ fullWidth: o.bool,
339
+ /**
340
+ * Determine the max-width of the dialog.
341
+ * The dialog width grows with the size of the screen.
342
+ * Set to `false` to disable `maxWidth`.
343
+ * @default 'sm'
344
+ */
345
+ maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
346
+ /**
347
+ * Callback fired when the backdrop is clicked.
348
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
349
+ */
350
+ onBackdropClick: o.func,
351
+ /**
352
+ * @ignore
353
+ */
354
+ onClick: o.func,
355
+ /**
356
+ * Callback fired when the component requests to be closed.
357
+ *
358
+ * @param {object} event The event source of the callback.
359
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
360
+ */
361
+ onClose: o.func,
362
+ /**
363
+ * If `true`, the component is shown.
364
+ */
365
+ open: o.bool.isRequired,
366
+ /**
367
+ * The component used to render the body of the dialog.
368
+ * @default Paper
369
+ */
370
+ PaperComponent: o.elementType,
371
+ /**
372
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
373
+ * @default {}
374
+ */
375
+ PaperProps: o.object,
376
+ /**
377
+ * Determine the container for scrolling the dialog.
378
+ * @default 'paper'
379
+ */
380
+ scroll: o.oneOf(["body", "paper"]),
381
+ /**
382
+ * The system prop that allows defining system overrides as well as additional CSS styles.
383
+ */
384
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
385
+ /**
386
+ * The component used for the transition.
387
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
388
+ * @default Fade
389
+ */
390
+ TransitionComponent: o.elementType,
391
+ /**
392
+ * The duration for the transition, in milliseconds.
393
+ * You may specify a single timeout for all transitions, or individually with an object.
394
+ * @default {
395
+ * enter: theme.transitions.duration.enteringScreen,
396
+ * exit: theme.transitions.duration.leavingScreen,
397
+ * }
398
+ */
399
+ transitionDuration: o.oneOfType([o.number, o.shape({
400
+ appear: o.number,
401
+ enter: o.number,
402
+ exit: o.number
403
+ })]),
404
+ /**
405
+ * Props applied to the transition element.
406
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
407
+ */
408
+ TransitionProps: o.object
409
+ });
410
+ function lo(a) {
411
+ return y("MuiDialogActions", a);
412
+ }
413
+ const Wo = x("MuiDialogActions", ["root", "spacing"]), po = (a) => {
414
+ const {
415
+ classes: e,
416
+ disableSpacing: t
417
+ } = a;
418
+ return w({
419
+ root: ["root", !t && "spacing"]
420
+ }, lo, e);
421
+ }, co = f("div", {
422
+ name: "MuiDialogActions",
423
+ slot: "Root",
424
+ overridesResolver: (a, e) => {
425
+ const {
426
+ ownerState: t
427
+ } = a;
428
+ return [e.root, !t.disableSpacing && e.spacing];
429
+ }
430
+ })({
431
+ display: "flex",
432
+ alignItems: "center",
433
+ padding: 8,
434
+ justifyContent: "flex-end",
435
+ flex: "0 0 auto",
436
+ variants: [{
437
+ props: ({
438
+ ownerState: a
439
+ }) => !a.disableSpacing,
440
+ style: {
441
+ "& > :not(style) ~ :not(style)": {
442
+ marginLeft: 8
443
+ }
444
+ }
445
+ }]
446
+ }), uo = /* @__PURE__ */ d.forwardRef(function(e, t) {
447
+ const r = S({
448
+ props: e,
449
+ name: "MuiDialogActions"
450
+ }), {
451
+ className: s,
452
+ disableSpacing: i = !1,
453
+ ...n
454
+ } = r, l = {
455
+ ...r,
456
+ disableSpacing: i
457
+ }, g = po(l);
458
+ return /* @__PURE__ */ p(co, {
459
+ className: m(g.root, s),
460
+ ownerState: l,
461
+ ref: t,
462
+ ...n
463
+ });
464
+ });
465
+ process.env.NODE_ENV !== "production" && (uo.propTypes = {
466
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
467
+ // │ These PropTypes are generated from the TypeScript type definitions. │
468
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
469
+ // └─────────────────────────────────────────────────────────────────────┘
470
+ /**
471
+ * The content of the component.
472
+ */
473
+ children: o.node,
474
+ /**
475
+ * Override or extend the styles applied to the component.
476
+ */
477
+ classes: o.object,
478
+ /**
479
+ * @ignore
480
+ */
481
+ className: o.string,
482
+ /**
483
+ * If `true`, the actions do not have additional margin.
484
+ * @default false
485
+ */
486
+ disableSpacing: o.bool,
487
+ /**
488
+ * The system prop that allows defining system overrides as well as additional CSS styles.
489
+ */
490
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
491
+ });
492
+ function fo(a) {
493
+ return y("MuiDialogContent", a);
494
+ }
495
+ const Mo = x("MuiDialogContent", ["root", "dividers"]);
496
+ function Po(a) {
497
+ return y("MuiDialogTitle", a);
498
+ }
499
+ const go = x("MuiDialogTitle", ["root"]), mo = (a) => {
500
+ const {
501
+ classes: e,
502
+ dividers: t
503
+ } = a;
504
+ return w({
505
+ root: ["root", t && "dividers"]
506
+ }, fo, e);
507
+ }, bo = f("div", {
508
+ name: "MuiDialogContent",
509
+ slot: "Root",
510
+ overridesResolver: (a, e) => {
511
+ const {
512
+ ownerState: t
513
+ } = a;
514
+ return [e.root, t.dividers && e.dividers];
515
+ }
516
+ })(B(({
517
+ theme: a
518
+ }) => ({
519
+ flex: "1 1 auto",
520
+ // Add iOS momentum scrolling for iOS < 13.0
521
+ WebkitOverflowScrolling: "touch",
522
+ overflowY: "auto",
523
+ padding: "20px 24px",
524
+ variants: [{
525
+ props: ({
526
+ ownerState: e
527
+ }) => e.dividers,
528
+ style: {
529
+ padding: "16px 24px",
530
+ borderTop: `1px solid ${(a.vars || a).palette.divider}`,
531
+ borderBottom: `1px solid ${(a.vars || a).palette.divider}`
532
+ }
533
+ }, {
534
+ props: ({
535
+ ownerState: e
536
+ }) => !e.dividers,
537
+ style: {
538
+ [`.${go.root} + &`]: {
539
+ paddingTop: 0
540
+ }
541
+ }
542
+ }]
543
+ }))), yo = /* @__PURE__ */ d.forwardRef(function(e, t) {
544
+ const r = S({
545
+ props: e,
546
+ name: "MuiDialogContent"
547
+ }), {
548
+ className: s,
549
+ dividers: i = !1,
550
+ ...n
551
+ } = r, l = {
552
+ ...r,
553
+ dividers: i
554
+ }, g = mo(l);
555
+ return /* @__PURE__ */ p(bo, {
556
+ className: m(g.root, s),
557
+ ownerState: l,
558
+ ref: t,
559
+ ...n
560
+ });
561
+ });
562
+ process.env.NODE_ENV !== "production" && (yo.propTypes = {
563
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
564
+ // │ These PropTypes are generated from the TypeScript type definitions. │
565
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
566
+ // └─────────────────────────────────────────────────────────────────────┘
567
+ /**
568
+ * The content of the component.
569
+ */
570
+ children: o.node,
571
+ /**
572
+ * Override or extend the styles applied to the component.
573
+ */
574
+ classes: o.object,
575
+ /**
576
+ * @ignore
577
+ */
578
+ className: o.string,
579
+ /**
580
+ * Display the top and bottom dividers.
581
+ * @default false
582
+ */
583
+ dividers: o.bool,
584
+ /**
585
+ * The system prop that allows defining system overrides as well as additional CSS styles.
586
+ */
587
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
588
+ });
589
+ export {
590
+ no as D,
591
+ uo as a,
592
+ yo as b,
593
+ Wo as c,
594
+ k as d,
595
+ lo as e,
596
+ Mo as f,
597
+ eo as g,
598
+ fo as h,
599
+ go as i,
600
+ Po as j,
601
+ $ as k
602
+ };
@@ -0,0 +1 @@
1
+ "use strict";const Q=require("react"),e=require("./identifier-Dax8VlUh.cjs"),Z=require("./useTheme-BIogn5Me.cjs"),c=require("react/jsx-runtime"),a=require("./DefaultPropsProvider-Biv7NHew.cjs"),w=require("./memoTheme-BPA1FjB4.cjs"),W=require("./Backdrop-vSE8W9jq.cjs"),ee=require("./Modal-DWqBsogu.cjs"),j=require("./Paper-CjMuucS5.cjs"),oe=require("./useId-DNXtOFeX.cjs");function se(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,t.get?t:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const u=se(Q);function M(o){return e.generateUtilityClass("MuiDialog",o)}const T=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x=u.createContext({});process.env.NODE_ENV!=="production"&&(x.displayName="DialogContext");const re=a.styled(W.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(o,s)=>s.backdrop})({zIndex:-1}),te=o=>{const{classes:s,scroll:r,maxWidth:t,fullWidth:i,fullScreen:n}=o,l={root:["root"],container:["container",`scroll${e.capitalize(r)}`],paper:["paper",`paperScroll${e.capitalize(r)}`,`paperWidth${e.capitalize(String(t))}`,i&&"paperFullWidth",n&&"paperFullScreen"]};return a.composeClasses(l,M,s)},ae=a.styled(ee.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(o,s)=>s.root})({"@media print":{position:"absolute !important"}}),ie=a.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.container,s[`scroll${e.capitalize(r.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"}}}]}),ne=a.styled(j.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.paper,s[`scrollPaper${e.capitalize(r.scroll)}`],s[`paperWidth${e.capitalize(String(r.maxWidth))}`],r.fullWidth&&s.paperFullWidth,r.fullScreen&&s.paperFullScreen]}})(w.memoTheme(({theme:o})=>({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:s})=>!s.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:o.breakpoints.unit==="px"?Math.max(o.breakpoints.values.xs,444):`max(${o.breakpoints.values.xs}${o.breakpoints.unit}, 444px)`,[`&.${T.paperScrollBody}`]:{[o.breakpoints.down(Math.max(o.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(o.breakpoints.values).filter(s=>s!=="xs").map(s=>({props:{maxWidth:s},style:{maxWidth:`${o.breakpoints.values[s]}${o.breakpoints.unit}`,[`&.${T.paperScrollBody}`]:{[o.breakpoints.down(o.breakpoints.values[s]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:s})=>s.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:s})=>s.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${T.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),O=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialog"}),i=Z.useTheme(),n={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":p,"aria-modal":y=!0,BackdropComponent:A,BackdropProps:q,children:E,className:z,disableEscapeKeyDown:C=!1,fullScreen:F=!1,fullWidth:_=!1,maxWidth:I="sm",onBackdropClick:D,onClick:v,onClose:f,open:h,PaperComponent:V=j.Paper,PaperProps:k={},scroll:L="paper",TransitionComponent:Y=W.Fade,transitionDuration:S=n,TransitionProps:K,...X}=t,g={...t,disableEscapeKeyDown:C,fullScreen:F,fullWidth:_,maxWidth:I,scroll:L},P=te(g),b=u.useRef(),H=d=>{b.current=d.target===d.currentTarget},G=d=>{v&&v(d),b.current&&(b.current=null,D&&D(d),f&&f(d,"backdropClick"))},m=oe.useId(p),J=u.useMemo(()=>({titleId:m}),[m]);return c.jsx(ae,{className:e.clsx(P.root,z),closeAfterTransition:!0,components:{Backdrop:re},componentsProps:{backdrop:{transitionDuration:S,as:A,...q}},disableEscapeKeyDown:C,onClose:f,open:h,ref:r,onClick:G,ownerState:g,...X,children:c.jsx(Y,{appear:!0,in:h,timeout:S,role:"presentation",...K,children:c.jsx(ie,{className:e.clsx(P.container),onMouseDown:H,ownerState:g,children:c.jsx(ne,{as:V,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":m,"aria-modal":y,...k,className:e.clsx(P.paper,k.className),ownerState:g,children:c.jsx(x.Provider,{value:J,children:E})})})})})});process.env.NODE_ENV!=="production"&&(O.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"]),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});function N(o){return e.generateUtilityClass("MuiDialogActions",o)}const le=e.generateUtilityClasses("MuiDialogActions",["root","spacing"]),pe=o=>{const{classes:s,disableSpacing:r}=o,t={root:["root",!r&&"spacing"]};return a.composeClasses(t,N,s)},ce=a.styled("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.root,!r.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}}}]}),R=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialogActions"}),{className:i,disableSpacing:n=!1,...l}=t,p={...t,disableSpacing:n},y=pe(p);return c.jsx(ce,{className:e.clsx(y.root,i),ownerState:p,ref:r,...l})});process.env.NODE_ENV!=="production"&&(R.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 U(o){return e.generateUtilityClass("MuiDialogContent",o)}const de=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function ue(o){return e.generateUtilityClass("MuiDialogTitle",o)}const B=e.generateUtilityClasses("MuiDialogTitle",["root"]),ye=o=>{const{classes:s,dividers:r}=o,t={root:["root",r&&"dividers"]};return a.composeClasses(t,U,s)},ge=a.styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.root,r.dividers&&s.dividers]}})(w.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:{[`.${B.root} + &`]:{paddingTop:0}}}]}))),$=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialogContent"}),{className:i,dividers:n=!1,...l}=t,p={...t,dividers:n},y=ye(p);return c.jsx(ge,{className:e.clsx(y.root,i),ownerState:p,ref:r,...l})});process.env.NODE_ENV!=="production"&&($.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.Dialog=O;exports.DialogActions=R;exports.DialogContent=$;exports.DialogContext=x;exports.dialogActionsClasses=le;exports.dialogClasses=T;exports.dialogContentClasses=de;exports.dialogTitleClasses=B;exports.getDialogActionsUtilityClass=N;exports.getDialogContentUtilityClass=U;exports.getDialogTitleUtilityClass=ue;exports.getDialogUtilityClass=M;