@cgi-learning-hub/ui 1.3.5 → 1.4.0

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 (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  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-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.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-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -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;
@@ -1,8 +1,8 @@
1
1
  import * as g from "react";
2
- import { H as d, I as p, G as u, P as o } from "./generateUtilityClasses-Bssl7BA_.js";
2
+ import { H as p, I as d, G as u, P as o } from "./identifier-D58rA1gM.js";
3
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";
4
+ import { u as v, s as m, c as D } from "./DefaultPropsProvider-BcmyIf2H.js";
5
+ import { m as y } from "./memoTheme-DyiN-Awd.js";
6
6
  function C(s) {
7
7
  return d("MuiDialogActions", s);
8
8
  }
@@ -44,16 +44,16 @@ const E = p("MuiDialogActions", ["root", "spacing"]), b = (s) => {
44
44
  props: t,
45
45
  name: "MuiDialogActions"
46
46
  }), {
47
- className: a,
47
+ className: n,
48
48
  disableSpacing: r = !1,
49
49
  ...l
50
- } = i, n = {
50
+ } = i, a = {
51
51
  ...i,
52
52
  disableSpacing: r
53
- }, c = b(n);
53
+ }, c = b(a);
54
54
  return /* @__PURE__ */ f(x, {
55
- className: u(c.root, a),
56
- ownerState: n,
55
+ className: u(c.root, n),
56
+ ownerState: a,
57
57
  ref: e,
58
58
  ...l
59
59
  });
@@ -141,16 +141,16 @@ const w = p("MuiDialogTitle", ["root"]), M = (s) => {
141
141
  props: t,
142
142
  name: "MuiDialogContent"
143
143
  }), {
144
- className: a,
144
+ className: n,
145
145
  dividers: r = !1,
146
146
  ...l
147
- } = i, n = {
147
+ } = i, a = {
148
148
  ...i,
149
149
  dividers: r
150
- }, c = M(n);
150
+ }, c = M(a);
151
151
  return /* @__PURE__ */ f(N, {
152
- className: u(c.root, a),
153
- ownerState: n,
152
+ className: u(c.root, n),
153
+ ownerState: a,
154
154
  ref: e,
155
155
  ...l
156
156
  });
@@ -0,0 +1 @@
1
+ "use strict";const C=require("react"),e=require("./identifier-5n4d7br9.cjs"),n=require("./DefaultPropsProvider-QmkL7lbM.cjs"),T=require("react/jsx-runtime"),y=require("./Typography-DEAE8-8u.cjs"),D=require("./DialogContent-CGEdCDYk.cjs"),x=require("./Dialog-Cmv58WoN.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 u(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,u,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 T.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 v=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,D.getDialogTitleUtilityClass,t)},h=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=v(a),{titleId:P=p}=i.useContext(x.DialogContext);return T.jsx(h,{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=u;
@@ -1,47 +1,47 @@
1
1
  import * as i from "react";
2
- import { H as y, I as C, G as p, P as o } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { s as d, r as D, u as f, c as u } from "./DefaultPropsProvider-CvJPQJmL.js";
2
+ import { H as y, I as C, G as p, P as o } from "./identifier-D58rA1gM.js";
3
+ import { u as d, s as f, c as u, r as D } from "./DefaultPropsProvider-BcmyIf2H.js";
4
4
  import { jsx as m } from "react/jsx-runtime";
5
- import { T as g } from "./Typography-DBwTr_ix.js";
6
- import { f as N } from "./DialogContent-uc65XOEU.js";
7
- import { a as b } from "./Dialog-D_lS4J_M.js";
8
- function h(t) {
9
- return y("MuiDialogContentText", t);
5
+ import { T as g } from "./Typography-CE8fQQ8B.js";
6
+ import { f as v } from "./DialogContent-SYCCu1VD.js";
7
+ import { a as N } from "./Dialog-CgBiKk8B.js";
8
+ function b(t) {
9
+ return C("MuiDialogContentText", t);
10
10
  }
11
- const V = C("MuiDialogContentText", ["root"]), R = (t) => {
11
+ const V = y("MuiDialogContentText", ["root"]), h = (t) => {
12
12
  const {
13
13
  classes: s
14
14
  } = t, e = u({
15
15
  root: ["root"]
16
- }, h, s);
16
+ }, b, s);
17
17
  return {
18
18
  ...s,
19
19
  // forward classes to the Typography
20
20
  ...e
21
21
  };
22
- }, v = d(g, {
22
+ }, R = f(g, {
23
23
  shouldForwardProp: (t) => D(t) || t === "classes",
24
24
  name: "MuiDialogContentText",
25
25
  slot: "Root",
26
26
  overridesResolver: (t, s) => s.root
27
- })({}), w = /* @__PURE__ */ i.forwardRef(function(s, n) {
28
- const e = f({
27
+ })({}), w = /* @__PURE__ */ i.forwardRef(function(s, a) {
28
+ const e = d({
29
29
  props: s,
30
30
  name: "MuiDialogContentText"
31
31
  }), {
32
32
  children: c,
33
- className: r,
33
+ className: n,
34
34
  ...l
35
- } = e, a = R(l);
36
- return /* @__PURE__ */ m(v, {
35
+ } = e, r = h(l);
36
+ return /* @__PURE__ */ m(R, {
37
37
  component: "p",
38
38
  variant: "body1",
39
39
  color: "textSecondary",
40
- ref: n,
40
+ ref: a,
41
41
  ownerState: l,
42
- className: p(a.root, r),
42
+ className: p(r.root, n),
43
43
  ...e,
44
- classes: a
44
+ classes: r
45
45
  });
46
46
  });
47
47
  process.env.NODE_ENV !== "production" && (w.propTypes = {
@@ -72,32 +72,32 @@ const O = (t) => {
72
72
  } = t;
73
73
  return u({
74
74
  root: ["root"]
75
- }, N, s);
76
- }, j = d(g, {
75
+ }, v, s);
76
+ }, j = f(g, {
77
77
  name: "MuiDialogTitle",
78
78
  slot: "Root",
79
79
  overridesResolver: (t, s) => s.root
80
80
  })({
81
81
  padding: "16px 24px",
82
82
  flex: "0 0 auto"
83
- }), M = /* @__PURE__ */ i.forwardRef(function(s, n) {
84
- const e = f({
83
+ }), M = /* @__PURE__ */ i.forwardRef(function(s, a) {
84
+ const e = d({
85
85
  props: s,
86
86
  name: "MuiDialogTitle"
87
87
  }), {
88
88
  className: c,
89
- id: r,
89
+ id: n,
90
90
  ...l
91
- } = e, a = e, T = O(a), {
92
- titleId: x = r
93
- } = i.useContext(b);
91
+ } = e, r = e, T = O(r), {
92
+ titleId: x = n
93
+ } = i.useContext(N);
94
94
  return /* @__PURE__ */ m(j, {
95
95
  component: "h2",
96
96
  className: p(T.root, c),
97
- ownerState: a,
98
- ref: n,
97
+ ownerState: r,
98
+ ref: a,
99
99
  variant: "h6",
100
- id: r ?? x,
100
+ id: n ?? x,
101
101
  ...l
102
102
  });
103
103
  });
@@ -131,5 +131,5 @@ export {
131
131
  w as D,
132
132
  M as a,
133
133
  V as d,
134
- h as g
134
+ b as g
135
135
  };