@cgi-learning-hub/ui 1.3.4 → 1.3.5-dev.1736340751

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 (268) hide show
  1. package/dist/Backdrop-CvufxHMY.cjs +1 -0
  2. package/dist/{Backdrop-BlKt7y1x.js → Backdrop-DcDd6WZF.js} +13 -13
  3. package/dist/{Box-DErdbtsw.js → Box-Byz2BwGf.js} +10 -10
  4. package/dist/Box-mP2Th61z.cjs +1 -0
  5. package/dist/Button-BH9MUvmz.cjs +1 -0
  6. package/dist/{Button-CiqVGfRs.js → Button-BnNYfQ3E.js} +153 -119
  7. package/dist/ButtonBase-BXtyQVDC.cjs +74 -0
  8. package/dist/{ButtonBase-DUPJVOlc.js → ButtonBase-DAWDecOk.js} +42 -41
  9. package/dist/{Card-mGRk1RuE.js → Card-AJG0TUOx.js} +3 -3
  10. package/dist/Card-NqCXQteq.cjs +1 -0
  11. package/dist/{Checkbox-aJ1r7ufI.js → Checkbox-8Rhxpkjl.js} +23 -22
  12. package/dist/Checkbox-DYrDbdy1.cjs +1 -0
  13. package/dist/CircularProgress-BByrCLjv.cjs +28 -0
  14. package/dist/{CircularProgress-CfODO7vI.js → CircularProgress-Kwlef5fX.js} +14 -13
  15. package/dist/DatePicker-7-4p3Vtj.cjs +14 -0
  16. package/dist/{DatePicker-Dyf9Vhld.js → DatePicker-BS1OatwQ.js} +549 -546
  17. package/dist/DefaultPropsProvider-3KMGupjb.cjs +17 -0
  18. package/dist/DefaultPropsProvider-CvJPQJmL.js +454 -0
  19. package/dist/{Delete-BOQTx9ze.js → Delete-BkZN7Xu5.js} +1 -1
  20. package/dist/{Delete-DyzDL8-Y.cjs → Delete-D1EiKoL5.cjs} +1 -1
  21. package/dist/Dialog-D_lS4J_M.js +415 -0
  22. package/dist/Dialog-yOrNcHbG.cjs +1 -0
  23. package/dist/DialogContent-Dj_OjLZ6.cjs +1 -0
  24. package/dist/DialogContent-uc65XOEU.js +194 -0
  25. package/dist/DialogTitle-BboPDaoB.cjs +1 -0
  26. package/dist/{DialogTitle-AQ-YU9PH.js → DialogTitle-C8JOi-rq.js} +43 -42
  27. package/dist/Divider-CcrM3lNn.cjs +1 -0
  28. package/dist/{Divider-C0R1SUa4.js → Divider-KO-E6nU8.js} +8 -8
  29. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +1 -0
  30. package/dist/{FormControlLabel-w-X91z27.js → FormControlLabel-BmrKQtQA.js} +17 -16
  31. package/dist/{FormGroup-6NoANcYk.js → FormGroup-CbczEc6e.js} +12 -12
  32. package/dist/FormGroup-Y3P2AG0i.cjs +1 -0
  33. package/dist/{FormLabel-CoLJ9tA8.js → FormLabel-CfR4bb21.js} +6 -5
  34. package/dist/FormLabel-D1uvEhsH.cjs +2 -0
  35. package/dist/{Grow-SW33sONG.js → Grow-CQVPAYvp.js} +13 -13
  36. package/dist/Grow-CUBJs6WD.cjs +1 -0
  37. package/dist/IconButton-CJfzspZK.cjs +2 -0
  38. package/dist/{IconButton-DjeMTpI5.js → IconButton-CekuyD4r.js} +13 -12
  39. package/dist/InputAdornment-Cq0WhPxF.cjs +1 -0
  40. package/dist/{InputAdornment-ByiVSgFT.js → InputAdornment-iU5YnveW.js} +16 -15
  41. package/dist/{InputBase-CvU0-Zg6.js → InputBase-BJy3wwFB.js} +28 -26
  42. package/dist/InputBase-s1fk8TB4.cjs +3 -0
  43. package/dist/Link-CWczkFp0.cjs +1 -0
  44. package/dist/{Link-Dmwt9wxb.js → Link-CoQuUM0t.js} +11 -10
  45. package/dist/Menu-Bsx8PA-q.cjs +7 -0
  46. package/dist/{Menu-4U27Dst1.js → Menu-C7tKmcAh.js} +63 -61
  47. package/dist/MenuItem-BZ_EVaBq.cjs +1 -0
  48. package/dist/{MenuItem-CqPsuuC1.js → MenuItem-j8luVUcX.js} +7 -7
  49. package/dist/Modal-DImrEpYJ.cjs +2 -0
  50. package/dist/{Modal-D_mqYIr2.js → Modal-brWBFdK7.js} +76 -74
  51. package/dist/{Paper-D973Ow-i.js → Paper-BG4Vk_Um.js} +4 -4
  52. package/dist/Paper-Cr56xkCr.cjs +2 -0
  53. package/dist/{Popper-B8oNZqtn.js → Popper-DFZ_gRev.js} +240 -239
  54. package/dist/Popper-YT5WAMV-.cjs +4 -0
  55. package/dist/Portal-DF0RKOcD.cjs +1 -0
  56. package/dist/{Portal-BKbBRbWN.js → Portal-JEwcozmp.js} +3 -3
  57. package/dist/Radio-CVAEGXKi.cjs +1 -0
  58. package/dist/{Radio-BrzQH9pY.js → Radio-DGhot3Cd.js} +21 -20
  59. package/dist/Select-CwAWNiiv.cjs +3 -0
  60. package/dist/{Select-CgAPAUTr.js → Select-DmssuG5M.js} +62 -60
  61. package/dist/{Stack-CYXQpKS2.js → Stack-BzTJdRGj.js} +105 -60
  62. package/dist/Stack-Yq6rb7iK.cjs +1 -0
  63. package/dist/SwitchBase-DjIY_KWB.cjs +1 -0
  64. package/dist/{SwitchBase-CGa9A6SL.js → SwitchBase-Dlth5_F7.js} +38 -37
  65. package/dist/{TableSortLabel-hvz89Dvu.js → TableSortLabel-BsgRD4k4.js} +1289 -1268
  66. package/dist/TableSortLabel-D0N3e3cP.cjs +98 -0
  67. package/dist/{Tabs-BPI2IyPx.js → Tabs-CYbeTnJk.js} +292 -289
  68. package/dist/Tabs-KG4VWw-1.cjs +4 -0
  69. package/dist/TextField-BI9KVqjC.cjs +1 -0
  70. package/dist/{TextField-C4nIxR_t.js → TextField-Cri5Gxa7.js} +20 -19
  71. package/dist/{Tooltip-Bdrv-e2a.js → Tooltip-BhAHhzKz.js} +32 -30
  72. package/dist/Tooltip-DhDtvULK.cjs +4 -0
  73. package/dist/{Typography-CUdlQxLM.js → Typography-DBwTr_ix.js} +13 -12
  74. package/dist/Typography-DfRMDngd.cjs +1 -0
  75. package/dist/capitalize-B3GG7Wn6.cjs +1 -0
  76. package/dist/capitalize-CkF8kU4n.js +9 -0
  77. package/dist/components/Button/Button.cjs.js +1 -1
  78. package/dist/components/Button/Button.es.js +22 -21
  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/Dialog/Dialog.cjs.js +1 -0
  84. package/dist/components/Dialog/Dialog.d.ts +6 -0
  85. package/dist/components/Dialog/Dialog.es.js +28 -0
  86. package/dist/components/Dialog/index.cjs.js +1 -0
  87. package/dist/components/Dialog/index.d.ts +2 -0
  88. package/dist/components/Dialog/index.es.js +4 -0
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  91. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -0
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.d.ts +9 -0
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +44 -0
  94. package/dist/components/EllipsisWithTooltip/index.cjs.js +1 -0
  95. package/dist/components/EllipsisWithTooltip/index.d.ts +2 -0
  96. package/dist/components/EllipsisWithTooltip/index.es.js +4 -0
  97. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  98. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  99. package/dist/components/FileList/FileList.cjs.js +1 -1
  100. package/dist/components/FileList/FileList.es.js +1 -1
  101. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  102. package/dist/components/FileList/FileListItem.es.js +7 -7
  103. package/dist/components/Heading/Heading.cjs.js +1 -1
  104. package/dist/components/Heading/Heading.es.js +2 -2
  105. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  106. package/dist/components/ImagePicker/ImagePicker.d.ts +1 -0
  107. package/dist/components/ImagePicker/ImagePicker.es.js +29 -28
  108. package/dist/components/Loader/Loader.cjs.js +1 -1
  109. package/dist/components/Loader/Loader.es.js +1 -1
  110. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  111. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  112. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  113. package/dist/components/PasswordInput/PasswordInput.es.js +5 -5
  114. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  115. package/dist/components/QueryError/QueryError.es.js +14 -14
  116. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  117. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  118. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  119. package/dist/components/TextInput/TextInput.es.js +1 -1
  120. package/dist/components/index.cjs.js +1 -1
  121. package/dist/components/index.d.ts +7 -3
  122. package/dist/components/index.es.js +228 -220
  123. package/dist/components/stories/Button.stories.cjs.js +1 -1
  124. package/dist/components/stories/Button.stories.es.js +1 -1
  125. package/dist/components/stories/Card.stories.cjs.js +1 -1
  126. package/dist/components/stories/Card.stories.es.js +8 -8
  127. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  128. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  129. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  130. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  131. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  132. package/dist/components/stories/Dialog.stories.d.ts +1 -1
  133. package/dist/components/stories/Dialog.stories.es.js +26 -14
  134. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  135. package/dist/components/stories/Divider.stories.es.js +5 -5
  136. package/dist/components/stories/EllipsisWithTooltip.stories.cjs.js +1 -0
  137. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +6 -0
  138. package/dist/components/stories/EllipsisWithTooltip.stories.es.js +36 -0
  139. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  140. package/dist/components/stories/FormControlLabel.stories.es.js +69 -68
  141. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  142. package/dist/components/stories/Heading.stories.es.js +2 -2
  143. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  144. package/dist/components/stories/IconButton.stories.es.js +2 -2
  145. package/dist/components/stories/ImagePicker.stories.cjs.js +1 -1
  146. package/dist/components/stories/ImagePicker.stories.es.js +13 -6
  147. package/dist/components/stories/Link.stories.cjs.js +1 -1
  148. package/dist/components/stories/Link.stories.es.js +1 -1
  149. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  150. package/dist/components/stories/Menu.stories.es.js +16 -16
  151. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  152. package/dist/components/stories/Paper.stories.es.js +1 -1
  153. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  154. package/dist/components/stories/RadioGroup.stories.es.js +6 -6
  155. package/dist/components/stories/Select.stories.cjs.js +1 -1
  156. package/dist/components/stories/Select.stories.es.js +3 -3
  157. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  158. package/dist/components/stories/TabList.stories.es.js +9 -9
  159. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  160. package/dist/components/stories/TextField.stories.es.js +3 -3
  161. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  162. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  163. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  164. package/dist/components/stories/Typography.stories.es.js +1 -1
  165. package/dist/createSvgIcon--rEClVU7.cjs +1 -0
  166. package/dist/{createSvgIcon-CVd3Lo1D.js → createSvgIcon-C8nGcfF4.js} +6 -5
  167. package/dist/dividerClasses-CCAY3Pnr.cjs +1 -0
  168. package/dist/{dividerClasses-kN_Ky2Bl.js → dividerClasses-nh2-hkQB.js} +1 -1
  169. package/dist/{elementTypeAcceptingRef-modXfN2G.js → elementTypeAcceptingRef-D-5kcohU.js} +1 -1
  170. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +1 -0
  171. package/dist/{extendSxProp-CHv0k-C6.js → extendSxProp-C2ff0oGc.js} +1 -1
  172. package/dist/extendSxProp-apyK-EBz.cjs +1 -0
  173. package/dist/{fr-rmVQsNbI.js → fr-Bjufn3RW.js} +84 -84
  174. package/dist/{fr-ChrHtTbj.cjs → fr-JE-1WKP6.cjs} +1 -1
  175. package/dist/generateUtilityClasses-B_H9HEmg.cjs +59 -0
  176. package/dist/{identifier-Bn0tF6ls.js → generateUtilityClasses-Bssl7BA_.js} +898 -872
  177. package/dist/index-Aa73Kpym.cjs +1 -0
  178. package/dist/{index-CVpJYeY2.js → index-BCnPLuqJ.js} +23 -22
  179. package/dist/index-ChM1Ett8.cjs +5 -0
  180. package/dist/index-Cw0GDedk.cjs +17 -0
  181. package/dist/{index-BNojWn2E.js → index-CwvpOCso.js} +29 -29
  182. package/dist/index-DXD5J5Eu.js +186 -0
  183. package/dist/index.cjs.js +1 -1
  184. package/dist/index.es.js +228 -220
  185. package/dist/{memoTheme-BPA1FjB4.cjs → memoTheme-Bdg0Y_2O.cjs} +1 -1
  186. package/dist/{memoTheme-CMJVTZEg.js → memoTheme-D7Fyh_3C.js} +1 -1
  187. package/dist/mergeSlotProps-DuV-LTW7.cjs +1 -0
  188. package/dist/{resolveComponentProps-DHoZOPOi.js → mergeSlotProps-tUJEcwVu.js} +7 -7
  189. package/dist/refType-CoaxQOPt.cjs +1 -0
  190. package/dist/refType-DKYKROQk.js +5 -0
  191. package/dist/useEnhancedEffect-BQZ6dtCo.cjs +1 -0
  192. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  193. package/dist/useEventCallback-BAQJJ3ye.js +14 -0
  194. package/dist/useEventCallback-C0-Qw3Sm.cjs +1 -0
  195. package/dist/{useSlot-t9oGnIgq.js → useSlot-BTpHG6jf.js} +1 -1
  196. package/dist/useSlot-CByalpSD.cjs +1 -0
  197. package/dist/useSlotProps-B31YQlzb.js +45 -0
  198. package/dist/useSlotProps-BVSAQTNl.cjs +1 -0
  199. package/dist/useTheme-Cy5kyKJF.cjs +1 -0
  200. package/dist/useTheme-Dukx-__T.cjs +1 -0
  201. package/dist/useTheme-DyaNKf4e.js +11 -0
  202. package/dist/{useTheme-CBsFvF7I.js → useTheme-_xyy-wul.js} +1 -1
  203. package/dist/{useThemeProps-5Bku71LW.js → useThemeProps-BySkSe-M.js} +2 -2
  204. package/dist/useThemeProps-CdV_QwDl.cjs +1 -0
  205. package/dist/{useThemeProps-I9EHeqzU.js → useThemeProps-CwEQ4bv2.js} +3 -3
  206. package/dist/{useThemeProps-C692LOYf.cjs → useThemeProps-u_ESzK2f.cjs} +1 -1
  207. package/dist/useTimeout-COCrDKz-.cjs +1 -0
  208. package/dist/useTimeout-CrCYVizI.js +42 -0
  209. package/dist/{utils-CE_a8glN.js → utils-C6c4fj7D.js} +41 -41
  210. package/dist/utils-vmyQ2IaS.cjs +1 -0
  211. package/package.json +1 -1
  212. package/dist/Backdrop-vSE8W9jq.cjs +0 -1
  213. package/dist/Box-DMYs7NTb.cjs +0 -1
  214. package/dist/Button-D3dbHQM1.cjs +0 -1
  215. package/dist/ButtonBase-BoWeLMzR.cjs +0 -74
  216. package/dist/Card-Cnh4u4kb.cjs +0 -1
  217. package/dist/Checkbox-s_RdgUlw.cjs +0 -1
  218. package/dist/CircularProgress-DHgcUb1c.cjs +0 -28
  219. package/dist/DatePicker-juzW4bLC.cjs +0 -14
  220. package/dist/DefaultPropsProvider-Biv7NHew.cjs +0 -17
  221. package/dist/DefaultPropsProvider-xJkZOrdv.js +0 -487
  222. package/dist/DialogContent-D1KFPXhr.js +0 -602
  223. package/dist/DialogContent-Dphl2SKX.cjs +0 -1
  224. package/dist/DialogTitle-C8AdXsDz.cjs +0 -1
  225. package/dist/Divider-Bdp8beK-.cjs +0 -1
  226. package/dist/FormControlLabel-BlO93LTi.cjs +0 -1
  227. package/dist/FormGroup-D0zSGn42.cjs +0 -1
  228. package/dist/FormLabel-BkiH7wl7.cjs +0 -2
  229. package/dist/Grow-DfACa72Q.cjs +0 -1
  230. package/dist/IconButton-DRs0xB4z.cjs +0 -2
  231. package/dist/InputAdornment-B1pggfEX.cjs +0 -1
  232. package/dist/InputBase-Xfjv-RYp.cjs +0 -3
  233. package/dist/Link-Z_UCBvgV.cjs +0 -1
  234. package/dist/Menu-DREdNbqu.cjs +0 -7
  235. package/dist/MenuItem-CN75Du-9.cjs +0 -1
  236. package/dist/Modal-DWqBsogu.cjs +0 -2
  237. package/dist/Paper-CjMuucS5.cjs +0 -2
  238. package/dist/Popper-hzM0y1hA.cjs +0 -4
  239. package/dist/Portal-Bv2VRYHH.cjs +0 -1
  240. package/dist/Radio-DxbXYNhR.cjs +0 -1
  241. package/dist/Select-CL4E8NNL.cjs +0 -3
  242. package/dist/Stack-WrITLr1B.cjs +0 -1
  243. package/dist/SwitchBase-Cqh9rxOh.cjs +0 -1
  244. package/dist/TableSortLabel-mAzX4tAl.cjs +0 -98
  245. package/dist/Tabs-BNqwYd2G.cjs +0 -4
  246. package/dist/TextField-Dy0Iblqt.cjs +0 -1
  247. package/dist/Tooltip-vg27N3PU.cjs +0 -4
  248. package/dist/Typography-BF9bdWxl.cjs +0 -1
  249. package/dist/createSvgIcon-BMmqQ2z0.cjs +0 -1
  250. package/dist/dividerClasses-CyDs_RPD.cjs +0 -1
  251. package/dist/elementTypeAcceptingRef-5w32V5hP.cjs +0 -1
  252. package/dist/extendSxProp-6YOo46ig.cjs +0 -1
  253. package/dist/identifier-Dax8VlUh.cjs +0 -59
  254. package/dist/index-C5dNuV-2.cjs +0 -5
  255. package/dist/index-D3PBNx_m.cjs +0 -1
  256. package/dist/index-OLlWw08I.cjs +0 -1
  257. package/dist/index-waINWr3i.js +0 -45
  258. package/dist/refType-BmrOFNz6.js +0 -7
  259. package/dist/refType-Dm84STBj.cjs +0 -1
  260. package/dist/resolveComponentProps-4nhUsl3a.cjs +0 -1
  261. package/dist/useSlot-CJAXUvYJ.cjs +0 -1
  262. package/dist/useTheme-BIogn5Me.cjs +0 -1
  263. package/dist/useTheme-Bz4LKMiC.cjs +0 -1
  264. package/dist/useTheme-L3EQmvnN.js +0 -11
  265. package/dist/useThemeProps-DNFKz8wS.cjs +0 -1
  266. package/dist/useTimeout-3Y5y4gWq.js +0 -53
  267. package/dist/useTimeout-CxOQget6.cjs +0 -1
  268. package/dist/utils-CusX8Edy.cjs +0 -1
@@ -0,0 +1,415 @@
1
+ import * as c from "react";
2
+ import { I as X, H as Y, G as x, P as e } from "./generateUtilityClasses-Bssl7BA_.js";
3
+ import { u as z } from "./useTheme-DyaNKf4e.js";
4
+ import { jsx as l } from "react/jsx-runtime";
5
+ import { s as d, u as _, c as q } from "./DefaultPropsProvider-CvJPQJmL.js";
6
+ import { m as G } from "./memoTheme-D7Fyh_3C.js";
7
+ import { B as J, F as Q } from "./Backdrop-DcDd6WZF.js";
8
+ import { M as Z } from "./Modal-brWBFdK7.js";
9
+ import { c as i } from "./capitalize-CkF8kU4n.js";
10
+ import { P } from "./Paper-BG4Vk_Um.js";
11
+ import { u as ee } from "./useId-CK6Kn3Tn.js";
12
+ const w = /* @__PURE__ */ c.createContext({});
13
+ process.env.NODE_ENV !== "production" && (w.displayName = "DialogContext");
14
+ function oe(r) {
15
+ return Y("MuiDialog", r);
16
+ }
17
+ const y = X("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), re = d(J, {
18
+ name: "MuiDialog",
19
+ slot: "Backdrop",
20
+ overrides: (r, o) => o.backdrop
21
+ })({
22
+ // Improve scrollable dialog support.
23
+ zIndex: -1
24
+ }), ae = (r) => {
25
+ const {
26
+ classes: o,
27
+ scroll: a,
28
+ maxWidth: n,
29
+ fullWidth: s,
30
+ fullScreen: u
31
+ } = r, m = {
32
+ root: ["root"],
33
+ container: ["container", `scroll${i(a)}`],
34
+ paper: ["paper", `paperScroll${i(a)}`, `paperWidth${i(String(n))}`, s && "paperFullWidth", u && "paperFullScreen"]
35
+ };
36
+ return q(m, oe, o);
37
+ }, te = d(Z, {
38
+ name: "MuiDialog",
39
+ slot: "Root",
40
+ overridesResolver: (r, o) => o.root
41
+ })({
42
+ "@media print": {
43
+ // Use !important to override the Modal inline-style.
44
+ position: "absolute !important"
45
+ }
46
+ }), ie = d("div", {
47
+ name: "MuiDialog",
48
+ slot: "Container",
49
+ overridesResolver: (r, o) => {
50
+ const {
51
+ ownerState: a
52
+ } = r;
53
+ return [o.container, o[`scroll${i(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
+ }), le = d(P, {
89
+ name: "MuiDialog",
90
+ slot: "Paper",
91
+ overridesResolver: (r, o) => {
92
+ const {
93
+ ownerState: a
94
+ } = r;
95
+ return [o.paper, o[`scrollPaper${i(a.scroll)}`], o[`paperWidth${i(String(a.maxWidth))}`], a.fullWidth && o.paperFullWidth, a.fullScreen && o.paperFullScreen];
96
+ }
97
+ })(G(({
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: o
128
+ }) => !o.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
+ [`&.${y.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((o) => o !== "xs").map((o) => ({
145
+ props: {
146
+ maxWidth: o
147
+ },
148
+ style: {
149
+ maxWidth: `${r.breakpoints.values[o]}${r.breakpoints.unit}`,
150
+ [`&.${y.paperScrollBody}`]: {
151
+ [r.breakpoints.down(r.breakpoints.values[o] + 32 * 2)]: {
152
+ maxWidth: "calc(100% - 64px)"
153
+ }
154
+ }
155
+ }
156
+ })), {
157
+ props: ({
158
+ ownerState: o
159
+ }) => o.fullWidth,
160
+ style: {
161
+ width: "calc(100% - 64px)"
162
+ }
163
+ }, {
164
+ props: ({
165
+ ownerState: o
166
+ }) => o.fullScreen,
167
+ style: {
168
+ margin: 0,
169
+ width: "100%",
170
+ maxWidth: "100%",
171
+ height: "100%",
172
+ maxHeight: "none",
173
+ borderRadius: 0,
174
+ [`&.${y.paperScrollBody}`]: {
175
+ margin: 0,
176
+ maxWidth: "100%"
177
+ }
178
+ }
179
+ }]
180
+ }))), ne = /* @__PURE__ */ c.forwardRef(function(o, a) {
181
+ const n = _({
182
+ props: o,
183
+ name: "MuiDialog"
184
+ }), s = z(), u = {
185
+ enter: s.transitions.duration.enteringScreen,
186
+ exit: s.transitions.duration.leavingScreen
187
+ }, {
188
+ "aria-describedby": m,
189
+ "aria-labelledby": T,
190
+ "aria-modal": B = !0,
191
+ BackdropComponent: M,
192
+ BackdropProps: $,
193
+ children: O,
194
+ className: N,
195
+ disableEscapeKeyDown: k = !1,
196
+ fullScreen: R = !1,
197
+ fullWidth: j = !1,
198
+ maxWidth: F = "sm",
199
+ onBackdropClick: C,
200
+ onClick: D,
201
+ onClose: f,
202
+ open: v,
203
+ PaperComponent: E = P,
204
+ PaperProps: W = {},
205
+ scroll: A = "paper",
206
+ TransitionComponent: I = Q,
207
+ transitionDuration: S = u,
208
+ TransitionProps: U,
209
+ ...H
210
+ } = n, p = {
211
+ ...n,
212
+ disableEscapeKeyDown: k,
213
+ fullScreen: R,
214
+ fullWidth: j,
215
+ maxWidth: F,
216
+ scroll: A
217
+ }, b = ae(p), g = c.useRef(), K = (t) => {
218
+ g.current = t.target === t.currentTarget;
219
+ }, L = (t) => {
220
+ D && D(t), g.current && (g.current = null, C && C(t), f && f(t, "backdropClick"));
221
+ }, h = ee(T), V = c.useMemo(() => ({
222
+ titleId: h
223
+ }), [h]);
224
+ return /* @__PURE__ */ l(te, {
225
+ className: x(b.root, N),
226
+ closeAfterTransition: !0,
227
+ components: {
228
+ Backdrop: re
229
+ },
230
+ componentsProps: {
231
+ backdrop: {
232
+ transitionDuration: S,
233
+ as: M,
234
+ ...$
235
+ }
236
+ },
237
+ disableEscapeKeyDown: k,
238
+ onClose: f,
239
+ open: v,
240
+ ref: a,
241
+ onClick: L,
242
+ ownerState: p,
243
+ ...H,
244
+ children: /* @__PURE__ */ l(I, {
245
+ appear: !0,
246
+ in: v,
247
+ timeout: S,
248
+ role: "presentation",
249
+ ...U,
250
+ children: /* @__PURE__ */ l(ie, {
251
+ className: x(b.container),
252
+ onMouseDown: K,
253
+ ownerState: p,
254
+ children: /* @__PURE__ */ l(le, {
255
+ as: E,
256
+ elevation: 24,
257
+ role: "dialog",
258
+ "aria-describedby": m,
259
+ "aria-labelledby": h,
260
+ "aria-modal": B,
261
+ ...W,
262
+ className: x(b.paper, W.className),
263
+ ownerState: p,
264
+ children: /* @__PURE__ */ l(w.Provider, {
265
+ value: V,
266
+ children: O
267
+ })
268
+ })
269
+ })
270
+ })
271
+ });
272
+ });
273
+ process.env.NODE_ENV !== "production" && (ne.propTypes = {
274
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
275
+ // │ These PropTypes are generated from the TypeScript type definitions. │
276
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
277
+ // └─────────────────────────────────────────────────────────────────────┘
278
+ /**
279
+ * The id(s) of the element(s) that describe the dialog.
280
+ */
281
+ "aria-describedby": e.string,
282
+ /**
283
+ * The id(s) of the element(s) that label the dialog.
284
+ */
285
+ "aria-labelledby": e.string,
286
+ /**
287
+ * Informs assistive technologies that the element is modal.
288
+ * It's added on the element with role="dialog".
289
+ * @default true
290
+ */
291
+ "aria-modal": e.oneOfType([e.oneOf(["false", "true"]), e.bool]),
292
+ /**
293
+ * A backdrop component. This prop enables custom backdrop rendering.
294
+ * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
295
+ * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
296
+ * @default styled(Backdrop, {
297
+ * name: 'MuiModal',
298
+ * slot: 'Backdrop',
299
+ * overridesResolver: (props, styles) => {
300
+ * return styles.backdrop;
301
+ * },
302
+ * })({
303
+ * zIndex: -1,
304
+ * })
305
+ */
306
+ BackdropComponent: e.elementType,
307
+ /**
308
+ * @ignore
309
+ */
310
+ BackdropProps: e.object,
311
+ /**
312
+ * Dialog children, usually the included sub-components.
313
+ */
314
+ children: e.node,
315
+ /**
316
+ * Override or extend the styles applied to the component.
317
+ */
318
+ classes: e.object,
319
+ /**
320
+ * @ignore
321
+ */
322
+ className: e.string,
323
+ /**
324
+ * If `true`, hitting escape will not fire the `onClose` callback.
325
+ * @default false
326
+ */
327
+ disableEscapeKeyDown: e.bool,
328
+ /**
329
+ * If `true`, the dialog is full-screen.
330
+ * @default false
331
+ */
332
+ fullScreen: e.bool,
333
+ /**
334
+ * If `true`, the dialog stretches to `maxWidth`.
335
+ *
336
+ * Notice that the dialog width grow is limited by the default margin.
337
+ * @default false
338
+ */
339
+ fullWidth: e.bool,
340
+ /**
341
+ * Determine the max-width of the dialog.
342
+ * The dialog width grows with the size of the screen.
343
+ * Set to `false` to disable `maxWidth`.
344
+ * @default 'sm'
345
+ */
346
+ maxWidth: e.oneOfType([e.oneOf(["xs", "sm", "md", "lg", "xl", !1]), e.string]),
347
+ /**
348
+ * Callback fired when the backdrop is clicked.
349
+ * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
350
+ */
351
+ onBackdropClick: e.func,
352
+ /**
353
+ * @ignore
354
+ */
355
+ onClick: e.func,
356
+ /**
357
+ * Callback fired when the component requests to be closed.
358
+ *
359
+ * @param {object} event The event source of the callback.
360
+ * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
361
+ */
362
+ onClose: e.func,
363
+ /**
364
+ * If `true`, the component is shown.
365
+ */
366
+ open: e.bool.isRequired,
367
+ /**
368
+ * The component used to render the body of the dialog.
369
+ * @default Paper
370
+ */
371
+ PaperComponent: e.elementType,
372
+ /**
373
+ * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
374
+ * @default {}
375
+ */
376
+ PaperProps: e.object,
377
+ /**
378
+ * Determine the container for scrolling the dialog.
379
+ * @default 'paper'
380
+ */
381
+ scroll: e.oneOf(["body", "paper"]),
382
+ /**
383
+ * The system prop that allows defining system overrides as well as additional CSS styles.
384
+ */
385
+ sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
386
+ /**
387
+ * The component used for the transition.
388
+ * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
389
+ * @default Fade
390
+ */
391
+ TransitionComponent: e.elementType,
392
+ /**
393
+ * The duration for the transition, in milliseconds.
394
+ * You may specify a single timeout for all transitions, or individually with an object.
395
+ * @default {
396
+ * enter: theme.transitions.duration.enteringScreen,
397
+ * exit: theme.transitions.duration.leavingScreen,
398
+ * }
399
+ */
400
+ transitionDuration: e.oneOfType([e.number, e.shape({
401
+ appear: e.number,
402
+ enter: e.number,
403
+ exit: e.number
404
+ })]),
405
+ /**
406
+ * Props applied to the transition element.
407
+ * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
408
+ */
409
+ TransitionProps: e.object
410
+ });
411
+ export {
412
+ ne as D,
413
+ w as a,
414
+ y as d
415
+ };
@@ -0,0 +1 @@
1
+ "use strict";const V=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),X=require("./useTheme-Cy5kyKJF.cjs"),n=require("react/jsx-runtime"),i=require("./DefaultPropsProvider-3KMGupjb.cjs"),Y=require("./memoTheme-Bdg0Y_2O.cjs"),S=require("./Backdrop-CvufxHMY.cjs"),H=require("./Modal-DImrEpYJ.cjs"),p=require("./capitalize-B3GG7Wn6.cjs"),W=require("./Paper-Cr56xkCr.cjs"),G=require("./useId-DNXtOFeX.cjs");function J(r){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const a in r)if(a!=="default"){const t=Object.getOwnPropertyDescriptor(r,a);Object.defineProperty(o,a,t.get?t:{enumerable:!0,get:()=>r[a]})}}return o.default=r,Object.freeze(o)}const d=J(V),g=d.createContext({});process.env.NODE_ENV!=="production"&&(g.displayName="DialogContext");function Q(r){return e.generateUtilityClass("MuiDialog",r)}const u=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),Z=i.styled(S.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(r,o)=>o.backdrop})({zIndex:-1}),ee=r=>{const{classes:o,scroll:a,maxWidth:t,fullWidth:l,fullScreen:y}=r,m={root:["root"],container:["container",`scroll${p.capitalize(a)}`],paper:["paper",`paperScroll${p.capitalize(a)}`,`paperWidth${p.capitalize(String(t))}`,l&&"paperFullWidth",y&&"paperFullScreen"]};return i.composeClasses(m,Q,o)},oe=i.styled(H.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(r,o)=>o.root})({"@media print":{position:"absolute !important"}}),re=i.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(r,o)=>{const{ownerState:a}=r;return[o.container,o[`scroll${p.capitalize(a.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"}}}]}),ae=i.styled(W.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(r,o)=>{const{ownerState:a}=r;return[o.paper,o[`scrollPaper${p.capitalize(a.scroll)}`],o[`paperWidth${p.capitalize(String(a.maxWidth))}`],a.fullWidth&&o.paperFullWidth,a.fullScreen&&o.paperFullScreen]}})(Y.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)`,[`&.${u.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}`,[`&.${u.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,[`&.${u.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),w=d.forwardRef(function(o,a){const t=i.useDefaultProps({props:o,name:"MuiDialog"}),l=X.useTheme(),y={enter:l.transitions.duration.enteringScreen,exit:l.transitions.duration.leavingScreen},{"aria-describedby":m,"aria-labelledby":j,"aria-modal":B=!0,BackdropComponent:M,BackdropProps:O,children:$,className:q,disableEscapeKeyDown:x=!1,fullScreen:N=!1,fullWidth:R=!1,maxWidth:z="sm",onBackdropClick:h,onClick:k,onClose:b,open:D,PaperComponent:F=W.Paper,PaperProps:C={},scroll:E="paper",TransitionComponent:A=S.Fade,transitionDuration:v=y,TransitionProps:I,...U}=t,c={...t,disableEscapeKeyDown:x,fullScreen:N,fullWidth:R,maxWidth:z,scroll:E},P=ee(c),f=d.useRef(),_=s=>{f.current=s.target===s.currentTarget},K=s=>{k&&k(s),f.current&&(f.current=null,h&&h(s),b&&b(s,"backdropClick"))},T=G.useId(j),L=d.useMemo(()=>({titleId:T}),[T]);return n.jsx(oe,{className:e.clsx(P.root,q),closeAfterTransition:!0,components:{Backdrop:Z},componentsProps:{backdrop:{transitionDuration:v,as:M,...O}},disableEscapeKeyDown:x,onClose:b,open:D,ref:a,onClick:K,ownerState:c,...U,children:n.jsx(A,{appear:!0,in:D,timeout:v,role:"presentation",...I,children:n.jsx(re,{className:e.clsx(P.container),onMouseDown:_,ownerState:c,children:n.jsx(ae,{as:F,elevation:24,role:"dialog","aria-describedby":m,"aria-labelledby":T,"aria-modal":B,...C,className:e.clsx(P.paper,C.className),ownerState:c,children:n.jsx(g.Provider,{value:L,children:$})})})})})});process.env.NODE_ENV!=="production"&&(w.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});exports.Dialog=w;exports.DialogContext=g;exports.dialogClasses=u;
@@ -0,0 +1 @@
1
+ "use strict";const D=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),d=require("react/jsx-runtime"),n=require("./DefaultPropsProvider-3KMGupjb.cjs"),P=require("./memoTheme-Bdg0Y_2O.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 U=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function j(o){return e.generateUtilityClass("MuiDialogTitle",o)}const T=e.generateUtilityClasses("MuiDialogTitle",["root"]),O=o=>{const{classes:s,dividers:t}=o,i={root:["root",t&&"dividers"]};return n.composeClasses(i,f,s)},S=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=O(r);return d.jsx(S,{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=U;exports.dialogTitleClasses=T;exports.getDialogActionsUtilityClass=u;exports.getDialogContentUtilityClass=f;exports.getDialogTitleUtilityClass=j;
@@ -0,0 +1,194 @@
1
+ import * as g from "react";
2
+ import { H as d, I as p, G as u, P as o } from "./generateUtilityClasses-Bssl7BA_.js";
3
+ import { jsx as f } from "react/jsx-runtime";
4
+ import { s as m, u as v, c as D } from "./DefaultPropsProvider-CvJPQJmL.js";
5
+ import { m as y } from "./memoTheme-D7Fyh_3C.js";
6
+ function C(s) {
7
+ return d("MuiDialogActions", s);
8
+ }
9
+ const E = p("MuiDialogActions", ["root", "spacing"]), b = (s) => {
10
+ const {
11
+ classes: t,
12
+ disableSpacing: e
13
+ } = s;
14
+ return D({
15
+ root: ["root", !e && "spacing"]
16
+ }, C, t);
17
+ }, x = m("div", {
18
+ name: "MuiDialogActions",
19
+ slot: "Root",
20
+ overridesResolver: (s, t) => {
21
+ const {
22
+ ownerState: e
23
+ } = s;
24
+ return [t.root, !e.disableSpacing && t.spacing];
25
+ }
26
+ })({
27
+ display: "flex",
28
+ alignItems: "center",
29
+ padding: 8,
30
+ justifyContent: "flex-end",
31
+ flex: "0 0 auto",
32
+ variants: [{
33
+ props: ({
34
+ ownerState: s
35
+ }) => !s.disableSpacing,
36
+ style: {
37
+ "& > :not(style) ~ :not(style)": {
38
+ marginLeft: 8
39
+ }
40
+ }
41
+ }]
42
+ }), T = /* @__PURE__ */ g.forwardRef(function(t, e) {
43
+ const i = v({
44
+ props: t,
45
+ name: "MuiDialogActions"
46
+ }), {
47
+ className: a,
48
+ disableSpacing: r = !1,
49
+ ...l
50
+ } = i, n = {
51
+ ...i,
52
+ disableSpacing: r
53
+ }, c = b(n);
54
+ return /* @__PURE__ */ f(x, {
55
+ className: u(c.root, a),
56
+ ownerState: n,
57
+ ref: e,
58
+ ...l
59
+ });
60
+ });
61
+ process.env.NODE_ENV !== "production" && (T.propTypes = {
62
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
63
+ // │ These PropTypes are generated from the TypeScript type definitions. │
64
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
65
+ // └─────────────────────────────────────────────────────────────────────┘
66
+ /**
67
+ * The content of the component.
68
+ */
69
+ children: o.node,
70
+ /**
71
+ * Override or extend the styles applied to the component.
72
+ */
73
+ classes: o.object,
74
+ /**
75
+ * @ignore
76
+ */
77
+ className: o.string,
78
+ /**
79
+ * If `true`, the actions do not have additional margin.
80
+ * @default false
81
+ */
82
+ disableSpacing: o.bool,
83
+ /**
84
+ * The system prop that allows defining system overrides as well as additional CSS styles.
85
+ */
86
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
87
+ });
88
+ function S(s) {
89
+ return d("MuiDialogContent", s);
90
+ }
91
+ const $ = p("MuiDialogContent", ["root", "dividers"]);
92
+ function h(s) {
93
+ return d("MuiDialogTitle", s);
94
+ }
95
+ const w = p("MuiDialogTitle", ["root"]), M = (s) => {
96
+ const {
97
+ classes: t,
98
+ dividers: e
99
+ } = s;
100
+ return D({
101
+ root: ["root", e && "dividers"]
102
+ }, S, t);
103
+ }, N = m("div", {
104
+ name: "MuiDialogContent",
105
+ slot: "Root",
106
+ overridesResolver: (s, t) => {
107
+ const {
108
+ ownerState: e
109
+ } = s;
110
+ return [t.root, e.dividers && t.dividers];
111
+ }
112
+ })(y(({
113
+ theme: s
114
+ }) => ({
115
+ flex: "1 1 auto",
116
+ // Add iOS momentum scrolling for iOS < 13.0
117
+ WebkitOverflowScrolling: "touch",
118
+ overflowY: "auto",
119
+ padding: "20px 24px",
120
+ variants: [{
121
+ props: ({
122
+ ownerState: t
123
+ }) => t.dividers,
124
+ style: {
125
+ padding: "16px 24px",
126
+ borderTop: `1px solid ${(s.vars || s).palette.divider}`,
127
+ borderBottom: `1px solid ${(s.vars || s).palette.divider}`
128
+ }
129
+ }, {
130
+ props: ({
131
+ ownerState: t
132
+ }) => !t.dividers,
133
+ style: {
134
+ [`.${w.root} + &`]: {
135
+ paddingTop: 0
136
+ }
137
+ }
138
+ }]
139
+ }))), A = /* @__PURE__ */ g.forwardRef(function(t, e) {
140
+ const i = v({
141
+ props: t,
142
+ name: "MuiDialogContent"
143
+ }), {
144
+ className: a,
145
+ dividers: r = !1,
146
+ ...l
147
+ } = i, n = {
148
+ ...i,
149
+ dividers: r
150
+ }, c = M(n);
151
+ return /* @__PURE__ */ f(N, {
152
+ className: u(c.root, a),
153
+ ownerState: n,
154
+ ref: e,
155
+ ...l
156
+ });
157
+ });
158
+ process.env.NODE_ENV !== "production" && (A.propTypes = {
159
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
160
+ // │ These PropTypes are generated from the TypeScript type definitions. │
161
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
162
+ // └─────────────────────────────────────────────────────────────────────┘
163
+ /**
164
+ * The content of the component.
165
+ */
166
+ children: o.node,
167
+ /**
168
+ * Override or extend the styles applied to the component.
169
+ */
170
+ classes: o.object,
171
+ /**
172
+ * @ignore
173
+ */
174
+ className: o.string,
175
+ /**
176
+ * Display the top and bottom dividers.
177
+ * @default false
178
+ */
179
+ dividers: o.bool,
180
+ /**
181
+ * The system prop that allows defining system overrides as well as additional CSS styles.
182
+ */
183
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
184
+ });
185
+ export {
186
+ T as D,
187
+ A as a,
188
+ $ as b,
189
+ S as c,
190
+ E as d,
191
+ w as e,
192
+ h as f,
193
+ C as g
194
+ };
@@ -0,0 +1 @@
1
+ "use strict";const C=require("react"),e=require("./generateUtilityClasses-B_H9HEmg.cjs"),n=require("./DefaultPropsProvider-3KMGupjb.cjs"),u=require("react/jsx-runtime"),y=require("./Typography-DfRMDngd.cjs"),D=require("./DialogContent-Dj_OjLZ6.cjs"),x=require("./Dialog-yOrNcHbG.cjs");function m(o){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(t,s,r.get?r:{enumerable:!0,get:()=>o[s]})}}return t.default=o,Object.freeze(t)}const i=m(C);function T(o){return e.generateUtilityClass("MuiDialogContentText",o)}const b=e.generateUtilityClasses("MuiDialogContentText",["root"]),j=o=>{const{classes:t}=o,s={root:["root"]},r=n.composeClasses(s,T,t);return{...t,...r}},O=n.styled(y.Typography,{shouldForwardProp:o=>n.rootShouldForwardProp(o)||o==="classes",name:"MuiDialogContentText",slot:"Root",overridesResolver:(o,t)=>t.root})({}),g=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogContentText"}),{children:c,className:p,...l}=r,a=j(l);return u.jsx(O,{component:"p",variant:"body1",color:"textSecondary",ref:s,ownerState:l,className:e.clsx(a.root,p),...r,classes:a})});process.env.NODE_ENV!=="production"&&(g.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,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])});const h=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,D.getDialogTitleUtilityClass,t)},N=n.styled(y.Typography,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(o,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),d=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogTitle"}),{className:c,id:p,...l}=r,a=r,f=h(a),{titleId:P=p}=i.useContext(x.DialogContext);return u.jsx(N,{component:"h2",className:e.clsx(f.root,c),ownerState:a,ref:s,variant:"h6",id:p??P,...l})});process.env.NODE_ENV!=="production"&&(d.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,id:e.PropTypes.string,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.DialogContentText=g;exports.DialogTitle=d;exports.dialogContentTextClasses=b;exports.getDialogContentTextUtilityClass=T;