@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
@@ -1,602 +0,0 @@
1
- import * as d from "react";
2
- import { H as y, I as x, L as u, G as m, P as o } from "./identifier-Bn0tF6ls.js";
3
- import { u as G } from "./useTheme-L3EQmvnN.js";
4
- import { jsx as p } from "react/jsx-runtime";
5
- import { s as f, u as S, c as w } from "./DefaultPropsProvider-xJkZOrdv.js";
6
- import { m as B } from "./memoTheme-CMJVTZEg.js";
7
- import { B as J, F as Q } from "./Backdrop-BlKt7y1x.js";
8
- import { M as Z } from "./Modal-D_mqYIr2.js";
9
- import { P as R } from "./Paper-D973Ow-i.js";
10
- import { u as oo } from "./useId-CK6Kn3Tn.js";
11
- function eo(a) {
12
- return y("MuiDialog", a);
13
- }
14
- const k = x("MuiDialog", ["root", "scrollPaper", "scrollBody", "container", "paper", "paperScrollPaper", "paperScrollBody", "paperWidthFalse", "paperWidthXs", "paperWidthSm", "paperWidthMd", "paperWidthLg", "paperWidthXl", "paperFullWidth", "paperFullScreen"]), $ = /* @__PURE__ */ d.createContext({});
15
- process.env.NODE_ENV !== "production" && ($.displayName = "DialogContext");
16
- const ao = f(J, {
17
- name: "MuiDialog",
18
- slot: "Backdrop",
19
- overrides: (a, e) => e.backdrop
20
- })({
21
- // Improve scrollable dialog support.
22
- zIndex: -1
23
- }), to = (a) => {
24
- const {
25
- classes: e,
26
- scroll: t,
27
- maxWidth: r,
28
- fullWidth: s,
29
- fullScreen: i
30
- } = a, n = {
31
- root: ["root"],
32
- container: ["container", `scroll${u(t)}`],
33
- paper: ["paper", `paperScroll${u(t)}`, `paperWidth${u(String(r))}`, s && "paperFullWidth", i && "paperFullScreen"]
34
- };
35
- return w(n, eo, e);
36
- }, ro = f(Z, {
37
- name: "MuiDialog",
38
- slot: "Root",
39
- overridesResolver: (a, e) => e.root
40
- })({
41
- "@media print": {
42
- // Use !important to override the Modal inline-style.
43
- position: "absolute !important"
44
- }
45
- }), so = f("div", {
46
- name: "MuiDialog",
47
- slot: "Container",
48
- overridesResolver: (a, e) => {
49
- const {
50
- ownerState: t
51
- } = a;
52
- return [e.container, e[`scroll${u(t.scroll)}`]];
53
- }
54
- })({
55
- height: "100%",
56
- "@media print": {
57
- height: "auto"
58
- },
59
- // We disable the focus ring for mouse, touch and keyboard users.
60
- outline: 0,
61
- variants: [{
62
- props: {
63
- scroll: "paper"
64
- },
65
- style: {
66
- display: "flex",
67
- justifyContent: "center",
68
- alignItems: "center"
69
- }
70
- }, {
71
- props: {
72
- scroll: "body"
73
- },
74
- style: {
75
- overflowY: "auto",
76
- overflowX: "hidden",
77
- textAlign: "center",
78
- "&::after": {
79
- content: '""',
80
- display: "inline-block",
81
- verticalAlign: "middle",
82
- height: "100%",
83
- width: "0"
84
- }
85
- }
86
- }]
87
- }), io = f(R, {
88
- name: "MuiDialog",
89
- slot: "Paper",
90
- overridesResolver: (a, e) => {
91
- const {
92
- ownerState: t
93
- } = a;
94
- return [e.paper, e[`scrollPaper${u(t.scroll)}`], e[`paperWidth${u(String(t.maxWidth))}`], t.fullWidth && e.paperFullWidth, t.fullScreen && e.paperFullScreen];
95
- }
96
- })(B(({
97
- theme: a
98
- }) => ({
99
- margin: 32,
100
- position: "relative",
101
- overflowY: "auto",
102
- "@media print": {
103
- overflowY: "visible",
104
- boxShadow: "none"
105
- },
106
- variants: [{
107
- props: {
108
- scroll: "paper"
109
- },
110
- style: {
111
- display: "flex",
112
- flexDirection: "column",
113
- maxHeight: "calc(100% - 64px)"
114
- }
115
- }, {
116
- props: {
117
- scroll: "body"
118
- },
119
- style: {
120
- display: "inline-block",
121
- verticalAlign: "middle",
122
- textAlign: "initial"
123
- }
124
- }, {
125
- props: ({
126
- ownerState: e
127
- }) => !e.maxWidth,
128
- style: {
129
- maxWidth: "calc(100% - 64px)"
130
- }
131
- }, {
132
- props: {
133
- maxWidth: "xs"
134
- },
135
- style: {
136
- maxWidth: a.breakpoints.unit === "px" ? Math.max(a.breakpoints.values.xs, 444) : `max(${a.breakpoints.values.xs}${a.breakpoints.unit}, 444px)`,
137
- [`&.${k.paperScrollBody}`]: {
138
- [a.breakpoints.down(Math.max(a.breakpoints.values.xs, 444) + 32 * 2)]: {
139
- maxWidth: "calc(100% - 64px)"
140
- }
141
- }
142
- }
143
- }, ...Object.keys(a.breakpoints.values).filter((e) => e !== "xs").map((e) => ({
144
- props: {
145
- maxWidth: e
146
- },
147
- style: {
148
- maxWidth: `${a.breakpoints.values[e]}${a.breakpoints.unit}`,
149
- [`&.${k.paperScrollBody}`]: {
150
- [a.breakpoints.down(a.breakpoints.values[e] + 32 * 2)]: {
151
- maxWidth: "calc(100% - 64px)"
152
- }
153
- }
154
- }
155
- })), {
156
- props: ({
157
- ownerState: e
158
- }) => e.fullWidth,
159
- style: {
160
- width: "calc(100% - 64px)"
161
- }
162
- }, {
163
- props: ({
164
- ownerState: e
165
- }) => e.fullScreen,
166
- style: {
167
- margin: 0,
168
- width: "100%",
169
- maxWidth: "100%",
170
- height: "100%",
171
- maxHeight: "none",
172
- borderRadius: 0,
173
- [`&.${k.paperScrollBody}`]: {
174
- margin: 0,
175
- maxWidth: "100%"
176
- }
177
- }
178
- }]
179
- }))), no = /* @__PURE__ */ d.forwardRef(function(e, t) {
180
- const r = S({
181
- props: e,
182
- name: "MuiDialog"
183
- }), s = G(), i = {
184
- enter: s.transitions.duration.enteringScreen,
185
- exit: s.transitions.duration.leavingScreen
186
- }, {
187
- "aria-describedby": n,
188
- "aria-labelledby": l,
189
- "aria-modal": g = !0,
190
- BackdropComponent: j,
191
- BackdropProps: A,
192
- children: E,
193
- className: F,
194
- disableEscapeKeyDown: T = !1,
195
- fullScreen: U = !1,
196
- fullWidth: I = !1,
197
- maxWidth: L = "sm",
198
- onBackdropClick: W,
199
- onClick: M,
200
- onClose: v,
201
- open: P,
202
- PaperComponent: V = R,
203
- PaperProps: N = {},
204
- scroll: Y = "paper",
205
- TransitionComponent: _ = Q,
206
- transitionDuration: O = i,
207
- TransitionProps: H,
208
- ...K
209
- } = r, b = {
210
- ...r,
211
- disableEscapeKeyDown: T,
212
- fullScreen: U,
213
- fullWidth: I,
214
- maxWidth: L,
215
- scroll: Y
216
- }, h = to(b), D = d.useRef(), X = (c) => {
217
- D.current = c.target === c.currentTarget;
218
- }, z = (c) => {
219
- M && M(c), D.current && (D.current = null, W && W(c), v && v(c, "backdropClick"));
220
- }, C = oo(l), q = d.useMemo(() => ({
221
- titleId: C
222
- }), [C]);
223
- return /* @__PURE__ */ p(ro, {
224
- className: m(h.root, F),
225
- closeAfterTransition: !0,
226
- components: {
227
- Backdrop: ao
228
- },
229
- componentsProps: {
230
- backdrop: {
231
- transitionDuration: O,
232
- as: j,
233
- ...A
234
- }
235
- },
236
- disableEscapeKeyDown: T,
237
- onClose: v,
238
- open: P,
239
- ref: t,
240
- onClick: z,
241
- ownerState: b,
242
- ...K,
243
- children: /* @__PURE__ */ p(_, {
244
- appear: !0,
245
- in: P,
246
- timeout: O,
247
- role: "presentation",
248
- ...H,
249
- children: /* @__PURE__ */ p(so, {
250
- className: m(h.container),
251
- onMouseDown: X,
252
- ownerState: b,
253
- children: /* @__PURE__ */ p(io, {
254
- as: V,
255
- elevation: 24,
256
- role: "dialog",
257
- "aria-describedby": n,
258
- "aria-labelledby": C,
259
- "aria-modal": g,
260
- ...N,
261
- className: m(h.paper, N.className),
262
- ownerState: b,
263
- children: /* @__PURE__ */ p($.Provider, {
264
- value: q,
265
- children: E
266
- })
267
- })
268
- })
269
- })
270
- });
271
- });
272
- process.env.NODE_ENV !== "production" && (no.propTypes = {
273
- // ┌────────────────────────────── Warning ──────────────────────────────┐
274
- // │ These PropTypes are generated from the TypeScript type definitions. │
275
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
276
- // └─────────────────────────────────────────────────────────────────────┘
277
- /**
278
- * The id(s) of the element(s) that describe the dialog.
279
- */
280
- "aria-describedby": o.string,
281
- /**
282
- * The id(s) of the element(s) that label the dialog.
283
- */
284
- "aria-labelledby": o.string,
285
- /**
286
- * Informs assistive technologies that the element is modal.
287
- * It's added on the element with role="dialog".
288
- * @default true
289
- */
290
- "aria-modal": o.oneOfType([o.oneOf(["false", "true"]), o.bool]),
291
- /**
292
- * A backdrop component. This prop enables custom backdrop rendering.
293
- * @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.
294
- * Use the `slots.backdrop` prop to make your application ready for the next version of Material UI.
295
- * @default styled(Backdrop, {
296
- * name: 'MuiModal',
297
- * slot: 'Backdrop',
298
- * overridesResolver: (props, styles) => {
299
- * return styles.backdrop;
300
- * },
301
- * })({
302
- * zIndex: -1,
303
- * })
304
- */
305
- BackdropComponent: o.elementType,
306
- /**
307
- * @ignore
308
- */
309
- BackdropProps: o.object,
310
- /**
311
- * Dialog children, usually the included sub-components.
312
- */
313
- children: o.node,
314
- /**
315
- * Override or extend the styles applied to the component.
316
- */
317
- classes: o.object,
318
- /**
319
- * @ignore
320
- */
321
- className: o.string,
322
- /**
323
- * If `true`, hitting escape will not fire the `onClose` callback.
324
- * @default false
325
- */
326
- disableEscapeKeyDown: o.bool,
327
- /**
328
- * If `true`, the dialog is full-screen.
329
- * @default false
330
- */
331
- fullScreen: o.bool,
332
- /**
333
- * If `true`, the dialog stretches to `maxWidth`.
334
- *
335
- * Notice that the dialog width grow is limited by the default margin.
336
- * @default false
337
- */
338
- fullWidth: o.bool,
339
- /**
340
- * Determine the max-width of the dialog.
341
- * The dialog width grows with the size of the screen.
342
- * Set to `false` to disable `maxWidth`.
343
- * @default 'sm'
344
- */
345
- maxWidth: o.oneOfType([o.oneOf(["xs", "sm", "md", "lg", "xl", !1]), o.string]),
346
- /**
347
- * Callback fired when the backdrop is clicked.
348
- * @deprecated Use the `onClose` prop with the `reason` argument to handle the `backdropClick` events.
349
- */
350
- onBackdropClick: o.func,
351
- /**
352
- * @ignore
353
- */
354
- onClick: o.func,
355
- /**
356
- * Callback fired when the component requests to be closed.
357
- *
358
- * @param {object} event The event source of the callback.
359
- * @param {string} reason Can be: `"escapeKeyDown"`, `"backdropClick"`.
360
- */
361
- onClose: o.func,
362
- /**
363
- * If `true`, the component is shown.
364
- */
365
- open: o.bool.isRequired,
366
- /**
367
- * The component used to render the body of the dialog.
368
- * @default Paper
369
- */
370
- PaperComponent: o.elementType,
371
- /**
372
- * Props applied to the [`Paper`](https://mui.com/material-ui/api/paper/) element.
373
- * @default {}
374
- */
375
- PaperProps: o.object,
376
- /**
377
- * Determine the container for scrolling the dialog.
378
- * @default 'paper'
379
- */
380
- scroll: o.oneOf(["body", "paper"]),
381
- /**
382
- * The system prop that allows defining system overrides as well as additional CSS styles.
383
- */
384
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
385
- /**
386
- * The component used for the transition.
387
- * [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
388
- * @default Fade
389
- */
390
- TransitionComponent: o.elementType,
391
- /**
392
- * The duration for the transition, in milliseconds.
393
- * You may specify a single timeout for all transitions, or individually with an object.
394
- * @default {
395
- * enter: theme.transitions.duration.enteringScreen,
396
- * exit: theme.transitions.duration.leavingScreen,
397
- * }
398
- */
399
- transitionDuration: o.oneOfType([o.number, o.shape({
400
- appear: o.number,
401
- enter: o.number,
402
- exit: o.number
403
- })]),
404
- /**
405
- * Props applied to the transition element.
406
- * By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
407
- */
408
- TransitionProps: o.object
409
- });
410
- function lo(a) {
411
- return y("MuiDialogActions", a);
412
- }
413
- const Wo = x("MuiDialogActions", ["root", "spacing"]), po = (a) => {
414
- const {
415
- classes: e,
416
- disableSpacing: t
417
- } = a;
418
- return w({
419
- root: ["root", !t && "spacing"]
420
- }, lo, e);
421
- }, co = f("div", {
422
- name: "MuiDialogActions",
423
- slot: "Root",
424
- overridesResolver: (a, e) => {
425
- const {
426
- ownerState: t
427
- } = a;
428
- return [e.root, !t.disableSpacing && e.spacing];
429
- }
430
- })({
431
- display: "flex",
432
- alignItems: "center",
433
- padding: 8,
434
- justifyContent: "flex-end",
435
- flex: "0 0 auto",
436
- variants: [{
437
- props: ({
438
- ownerState: a
439
- }) => !a.disableSpacing,
440
- style: {
441
- "& > :not(style) ~ :not(style)": {
442
- marginLeft: 8
443
- }
444
- }
445
- }]
446
- }), uo = /* @__PURE__ */ d.forwardRef(function(e, t) {
447
- const r = S({
448
- props: e,
449
- name: "MuiDialogActions"
450
- }), {
451
- className: s,
452
- disableSpacing: i = !1,
453
- ...n
454
- } = r, l = {
455
- ...r,
456
- disableSpacing: i
457
- }, g = po(l);
458
- return /* @__PURE__ */ p(co, {
459
- className: m(g.root, s),
460
- ownerState: l,
461
- ref: t,
462
- ...n
463
- });
464
- });
465
- process.env.NODE_ENV !== "production" && (uo.propTypes = {
466
- // ┌────────────────────────────── Warning ──────────────────────────────┐
467
- // │ These PropTypes are generated from the TypeScript type definitions. │
468
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
469
- // └─────────────────────────────────────────────────────────────────────┘
470
- /**
471
- * The content of the component.
472
- */
473
- children: o.node,
474
- /**
475
- * Override or extend the styles applied to the component.
476
- */
477
- classes: o.object,
478
- /**
479
- * @ignore
480
- */
481
- className: o.string,
482
- /**
483
- * If `true`, the actions do not have additional margin.
484
- * @default false
485
- */
486
- disableSpacing: o.bool,
487
- /**
488
- * The system prop that allows defining system overrides as well as additional CSS styles.
489
- */
490
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
491
- });
492
- function fo(a) {
493
- return y("MuiDialogContent", a);
494
- }
495
- const Mo = x("MuiDialogContent", ["root", "dividers"]);
496
- function Po(a) {
497
- return y("MuiDialogTitle", a);
498
- }
499
- const go = x("MuiDialogTitle", ["root"]), mo = (a) => {
500
- const {
501
- classes: e,
502
- dividers: t
503
- } = a;
504
- return w({
505
- root: ["root", t && "dividers"]
506
- }, fo, e);
507
- }, bo = f("div", {
508
- name: "MuiDialogContent",
509
- slot: "Root",
510
- overridesResolver: (a, e) => {
511
- const {
512
- ownerState: t
513
- } = a;
514
- return [e.root, t.dividers && e.dividers];
515
- }
516
- })(B(({
517
- theme: a
518
- }) => ({
519
- flex: "1 1 auto",
520
- // Add iOS momentum scrolling for iOS < 13.0
521
- WebkitOverflowScrolling: "touch",
522
- overflowY: "auto",
523
- padding: "20px 24px",
524
- variants: [{
525
- props: ({
526
- ownerState: e
527
- }) => e.dividers,
528
- style: {
529
- padding: "16px 24px",
530
- borderTop: `1px solid ${(a.vars || a).palette.divider}`,
531
- borderBottom: `1px solid ${(a.vars || a).palette.divider}`
532
- }
533
- }, {
534
- props: ({
535
- ownerState: e
536
- }) => !e.dividers,
537
- style: {
538
- [`.${go.root} + &`]: {
539
- paddingTop: 0
540
- }
541
- }
542
- }]
543
- }))), yo = /* @__PURE__ */ d.forwardRef(function(e, t) {
544
- const r = S({
545
- props: e,
546
- name: "MuiDialogContent"
547
- }), {
548
- className: s,
549
- dividers: i = !1,
550
- ...n
551
- } = r, l = {
552
- ...r,
553
- dividers: i
554
- }, g = mo(l);
555
- return /* @__PURE__ */ p(bo, {
556
- className: m(g.root, s),
557
- ownerState: l,
558
- ref: t,
559
- ...n
560
- });
561
- });
562
- process.env.NODE_ENV !== "production" && (yo.propTypes = {
563
- // ┌────────────────────────────── Warning ──────────────────────────────┐
564
- // │ These PropTypes are generated from the TypeScript type definitions. │
565
- // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
566
- // └─────────────────────────────────────────────────────────────────────┘
567
- /**
568
- * The content of the component.
569
- */
570
- children: o.node,
571
- /**
572
- * Override or extend the styles applied to the component.
573
- */
574
- classes: o.object,
575
- /**
576
- * @ignore
577
- */
578
- className: o.string,
579
- /**
580
- * Display the top and bottom dividers.
581
- * @default false
582
- */
583
- dividers: o.bool,
584
- /**
585
- * The system prop that allows defining system overrides as well as additional CSS styles.
586
- */
587
- sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object])
588
- });
589
- export {
590
- no as D,
591
- uo as a,
592
- yo as b,
593
- Wo as c,
594
- k as d,
595
- lo as e,
596
- Mo as f,
597
- eo as g,
598
- fo as h,
599
- go as i,
600
- Po as j,
601
- $ as k
602
- };
@@ -1 +0,0 @@
1
- "use strict";const Q=require("react"),e=require("./identifier-Dax8VlUh.cjs"),Z=require("./useTheme-BIogn5Me.cjs"),c=require("react/jsx-runtime"),a=require("./DefaultPropsProvider-Biv7NHew.cjs"),w=require("./memoTheme-BPA1FjB4.cjs"),W=require("./Backdrop-vSE8W9jq.cjs"),ee=require("./Modal-DWqBsogu.cjs"),j=require("./Paper-CjMuucS5.cjs"),oe=require("./useId-DNXtOFeX.cjs");function se(o){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const r in o)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(o,r);Object.defineProperty(s,r,t.get?t:{enumerable:!0,get:()=>o[r]})}}return s.default=o,Object.freeze(s)}const u=se(Q);function M(o){return e.generateUtilityClass("MuiDialog",o)}const T=e.generateUtilityClasses("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),x=u.createContext({});process.env.NODE_ENV!=="production"&&(x.displayName="DialogContext");const re=a.styled(W.Backdrop,{name:"MuiDialog",slot:"Backdrop",overrides:(o,s)=>s.backdrop})({zIndex:-1}),te=o=>{const{classes:s,scroll:r,maxWidth:t,fullWidth:i,fullScreen:n}=o,l={root:["root"],container:["container",`scroll${e.capitalize(r)}`],paper:["paper",`paperScroll${e.capitalize(r)}`,`paperWidth${e.capitalize(String(t))}`,i&&"paperFullWidth",n&&"paperFullScreen"]};return a.composeClasses(l,M,s)},ae=a.styled(ee.Modal,{name:"MuiDialog",slot:"Root",overridesResolver:(o,s)=>s.root})({"@media print":{position:"absolute !important"}}),ie=a.styled("div",{name:"MuiDialog",slot:"Container",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.container,s[`scroll${e.capitalize(r.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),ne=a.styled(j.Paper,{name:"MuiDialog",slot:"Paper",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.paper,s[`scrollPaper${e.capitalize(r.scroll)}`],s[`paperWidth${e.capitalize(String(r.maxWidth))}`],r.fullWidth&&s.paperFullWidth,r.fullScreen&&s.paperFullScreen]}})(w.memoTheme(({theme:o})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:s})=>!s.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:o.breakpoints.unit==="px"?Math.max(o.breakpoints.values.xs,444):`max(${o.breakpoints.values.xs}${o.breakpoints.unit}, 444px)`,[`&.${T.paperScrollBody}`]:{[o.breakpoints.down(Math.max(o.breakpoints.values.xs,444)+32*2)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(o.breakpoints.values).filter(s=>s!=="xs").map(s=>({props:{maxWidth:s},style:{maxWidth:`${o.breakpoints.values[s]}${o.breakpoints.unit}`,[`&.${T.paperScrollBody}`]:{[o.breakpoints.down(o.breakpoints.values[s]+32*2)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:s})=>s.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:s})=>s.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${T.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),O=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialog"}),i=Z.useTheme(),n={enter:i.transitions.duration.enteringScreen,exit:i.transitions.duration.leavingScreen},{"aria-describedby":l,"aria-labelledby":p,"aria-modal":y=!0,BackdropComponent:A,BackdropProps:q,children:E,className:z,disableEscapeKeyDown:C=!1,fullScreen:F=!1,fullWidth:_=!1,maxWidth:I="sm",onBackdropClick:D,onClick:v,onClose:f,open:h,PaperComponent:V=j.Paper,PaperProps:k={},scroll:L="paper",TransitionComponent:Y=W.Fade,transitionDuration:S=n,TransitionProps:K,...X}=t,g={...t,disableEscapeKeyDown:C,fullScreen:F,fullWidth:_,maxWidth:I,scroll:L},P=te(g),b=u.useRef(),H=d=>{b.current=d.target===d.currentTarget},G=d=>{v&&v(d),b.current&&(b.current=null,D&&D(d),f&&f(d,"backdropClick"))},m=oe.useId(p),J=u.useMemo(()=>({titleId:m}),[m]);return c.jsx(ae,{className:e.clsx(P.root,z),closeAfterTransition:!0,components:{Backdrop:re},componentsProps:{backdrop:{transitionDuration:S,as:A,...q}},disableEscapeKeyDown:C,onClose:f,open:h,ref:r,onClick:G,ownerState:g,...X,children:c.jsx(Y,{appear:!0,in:h,timeout:S,role:"presentation",...K,children:c.jsx(ie,{className:e.clsx(P.container),onMouseDown:H,ownerState:g,children:c.jsx(ne,{as:V,elevation:24,role:"dialog","aria-describedby":l,"aria-labelledby":m,"aria-modal":y,...k,className:e.clsx(P.paper,k.className),ownerState:g,children:c.jsx(x.Provider,{value:J,children:E})})})})})});process.env.NODE_ENV!=="production"&&(O.propTypes={"aria-describedby":e.PropTypes.string,"aria-labelledby":e.PropTypes.string,"aria-modal":e.PropTypes.oneOfType([e.PropTypes.oneOf(["false","true"]),e.PropTypes.bool]),BackdropComponent:e.PropTypes.elementType,BackdropProps:e.PropTypes.object,children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableEscapeKeyDown:e.PropTypes.bool,fullScreen:e.PropTypes.bool,fullWidth:e.PropTypes.bool,maxWidth:e.PropTypes.oneOfType([e.PropTypes.oneOf(["xs","sm","md","lg","xl",!1]),e.PropTypes.string]),onBackdropClick:e.PropTypes.func,onClick:e.PropTypes.func,onClose:e.PropTypes.func,open:e.PropTypes.bool.isRequired,PaperComponent:e.PropTypes.elementType,PaperProps:e.PropTypes.object,scroll:e.PropTypes.oneOf(["body","paper"]),sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object]),TransitionComponent:e.PropTypes.elementType,transitionDuration:e.PropTypes.oneOfType([e.PropTypes.number,e.PropTypes.shape({appear:e.PropTypes.number,enter:e.PropTypes.number,exit:e.PropTypes.number})]),TransitionProps:e.PropTypes.object});function N(o){return e.generateUtilityClass("MuiDialogActions",o)}const le=e.generateUtilityClasses("MuiDialogActions",["root","spacing"]),pe=o=>{const{classes:s,disableSpacing:r}=o,t={root:["root",!r&&"spacing"]};return a.composeClasses(t,N,s)},ce=a.styled("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.root,!r.disableSpacing&&s.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:o})=>!o.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),R=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialogActions"}),{className:i,disableSpacing:n=!1,...l}=t,p={...t,disableSpacing:n},y=pe(p);return c.jsx(ce,{className:e.clsx(y.root,i),ownerState:p,ref:r,...l})});process.env.NODE_ENV!=="production"&&(R.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,disableSpacing:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});function U(o){return e.generateUtilityClass("MuiDialogContent",o)}const de=e.generateUtilityClasses("MuiDialogContent",["root","dividers"]);function ue(o){return e.generateUtilityClass("MuiDialogTitle",o)}const B=e.generateUtilityClasses("MuiDialogTitle",["root"]),ye=o=>{const{classes:s,dividers:r}=o,t={root:["root",r&&"dividers"]};return a.composeClasses(t,U,s)},ge=a.styled("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(o,s)=>{const{ownerState:r}=o;return[s.root,r.dividers&&s.dividers]}})(w.memoTheme(({theme:o})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:s})=>s.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(o.vars||o).palette.divider}`,borderBottom:`1px solid ${(o.vars||o).palette.divider}`}},{props:({ownerState:s})=>!s.dividers,style:{[`.${B.root} + &`]:{paddingTop:0}}}]}))),$=u.forwardRef(function(s,r){const t=a.useDefaultProps({props:s,name:"MuiDialogContent"}),{className:i,dividers:n=!1,...l}=t,p={...t,dividers:n},y=ye(p);return c.jsx(ge,{className:e.clsx(y.root,i),ownerState:p,ref:r,...l})});process.env.NODE_ENV!=="production"&&($.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,dividers:e.PropTypes.bool,sx:e.PropTypes.oneOfType([e.PropTypes.arrayOf(e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object,e.PropTypes.bool])),e.PropTypes.func,e.PropTypes.object])});exports.Dialog=O;exports.DialogActions=R;exports.DialogContent=$;exports.DialogContext=x;exports.dialogActionsClasses=le;exports.dialogClasses=T;exports.dialogContentClasses=de;exports.dialogTitleClasses=B;exports.getDialogActionsUtilityClass=N;exports.getDialogContentUtilityClass=U;exports.getDialogTitleUtilityClass=ue;exports.getDialogUtilityClass=M;
@@ -1 +0,0 @@
1
- "use strict";const D=require("react"),e=require("./identifier-Dax8VlUh.cjs"),n=require("./DefaultPropsProvider-Biv7NHew.cjs"),T=require("react/jsx-runtime"),y=require("./Typography-BF9bdWxl.cjs"),u=require("./DialogContent-Dphl2SKX.cjs");function x(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=x(D);function d(o){return e.generateUtilityClass("MuiDialogContentText",o)}const m=e.generateUtilityClasses("MuiDialogContentText",["root"]),b=o=>{const{classes:t}=o,s={root:["root"]},r=n.composeClasses(s,d,t);return{...t,...r}},j=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=b(l);return T.jsx(j,{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 O=o=>{const{classes:t}=o,s={root:["root"]};return n.composeClasses(s,u.getDialogTitleUtilityClass,t)},v=n.styled(y.Typography,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(o,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),f=i.forwardRef(function(t,s){const r=n.useDefaultProps({props:t,name:"MuiDialogTitle"}),{className:c,id:p,...l}=r,a=r,P=O(a),{titleId:C=p}=i.useContext(u.DialogContext);return T.jsx(v,{component:"h2",className:e.clsx(P.root,c),ownerState:a,ref:s,variant:"h6",id:p??C,...l})});process.env.NODE_ENV!=="production"&&(f.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=f;exports.dialogContentTextClasses=m;exports.getDialogContentTextUtilityClass=d;
@@ -1 +0,0 @@
1
- "use strict";const P=require("react"),i=require("./identifier-Dax8VlUh.cjs"),y=require("./memoTheme-BPA1FjB4.cjs"),w=require("./dividerClasses-CyDs_RPD.cjs"),u=require("react/jsx-runtime"),c=require("./DefaultPropsProvider-Biv7NHew.cjs");function D(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const O=D(P),R=t=>{const{absolute:e,children:r,classes:o,flexItem:d,light:s,orientation:n,textAlign:a,variant:l}=t,f={root:["root",e&&"absolute",l,s&&"light",n==="vertical"&&"vertical",d&&"flexItem",r&&"withChildren",r&&n==="vertical"&&"withChildrenVertical",a==="right"&&n!=="vertical"&&"textAlignRight",a==="left"&&n!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",n==="vertical"&&"wrapperVertical"]};return c.composeClasses(f,w.getDividerUtilityClass,o)},S=c.styled("div",{name:"MuiDivider",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.root,r.absolute&&e.absolute,e[r.variant],r.light&&e.light,r.orientation==="vertical"&&e.vertical,r.flexItem&&e.flexItem,r.children&&e.withChildren,r.children&&r.orientation==="vertical"&&e.withChildrenVertical,r.textAlign==="right"&&r.orientation!=="vertical"&&e.textAlignRight,r.textAlign==="left"&&r.orientation!=="vertical"&&e.textAlignLeft]}})(y.memoTheme(({theme:t})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:t.vars?`rgba(${t.vars.palette.dividerChannel} / 0.08)`:i.alpha(t.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:t.spacing(2),marginRight:t.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:t.spacing(1),marginBottom:t.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&e.orientation!=="vertical",style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(t.vars||t).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>e.orientation==="vertical"&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(t.vars||t).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>e.textAlign==="right"&&e.orientation!=="vertical",style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>e.textAlign==="left"&&e.orientation!=="vertical",style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),A=c.styled("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(t,e)=>{const{ownerState:r}=t;return[e.wrapper,r.orientation==="vertical"&&e.wrapperVertical]}})(y.memoTheme(({theme:t})=>({display:"inline-block",paddingLeft:`calc(${t.spacing(1)} * 1.2)`,paddingRight:`calc(${t.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${t.spacing(1)} * 1.2)`,paddingBottom:`calc(${t.spacing(1)} * 1.2)`}}]}))),p=O.forwardRef(function(e,r){const o=c.useDefaultProps({props:e,name:"MuiDivider"}),{absolute:d=!1,children:s,className:n,orientation:a="horizontal",component:l=s||a==="vertical"?"div":"hr",flexItem:f=!1,light:b=!1,role:g=l!=="hr"?"separator":void 0,textAlign:T="center",variant:m="fullWidth",...x}=o,v={...o,absolute:d,component:l,flexItem:f,light:b,orientation:a,role:g,textAlign:T,variant:m},h=R(v);return u.jsx(S,{as:l,className:i.clsx(h.root,n),role:g,ref:r,ownerState:v,"aria-orientation":g==="separator"&&(l!=="hr"||a==="vertical")?a:void 0,...x,children:s?u.jsx(A,{className:h.wrapper,ownerState:v,children:s}):null})});p&&(p.muiSkipListHighlight=!0);process.env.NODE_ENV!=="production"&&(p.propTypes={absolute:i.PropTypes.bool,children:i.PropTypes.node,classes:i.PropTypes.object,className:i.PropTypes.string,component:i.PropTypes.elementType,flexItem:i.PropTypes.bool,light:i.PropTypes.bool,orientation:i.PropTypes.oneOf(["horizontal","vertical"]),role:i.PropTypes.string,sx:i.PropTypes.oneOfType([i.PropTypes.arrayOf(i.PropTypes.oneOfType([i.PropTypes.func,i.PropTypes.object,i.PropTypes.bool])),i.PropTypes.func,i.PropTypes.object]),textAlign:i.PropTypes.oneOf(["center","left","right"]),variant:i.PropTypes.oneOfType([i.PropTypes.oneOf(["fullWidth","inset","middle"]),i.PropTypes.string])});exports.Divider=p;
@@ -1 +0,0 @@
1
- "use strict";const U=require("react"),e=require("./identifier-Dax8VlUh.cjs"),v=require("./memoTheme-BPA1FjB4.cjs"),E=require("./formControlState-CuX6WjAX.cjs"),_=require("./useSlot-CJAXUvYJ.cjs"),m=require("react/jsx-runtime"),b=require("./DefaultPropsProvider-Biv7NHew.cjs"),z=require("./useFormControl-haP0iPhl.cjs"),C=require("./Typography-BF9bdWxl.cjs"),A=require("./refType-Dm84STBj.cjs");function B(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const t in o)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>o[t]})}}return r.default=o,Object.freeze(r)}const q=B(U);function L(o){return e.generateUtilityClass("MuiFormControlLabel",o)}const a=e.generateUtilityClasses("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),H=o=>{const{classes:r,disabled:t,labelPlacement:s,error:u,required:y}=o,P={root:["root",t&&"disabled",`labelPlacement${e.capitalize(s)}`,u&&"error",y&&"required"],label:["label",t&&"disabled"],asterisk:["asterisk",u&&"error"]};return b.composeClasses(P,L,r)},I=b.styled("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(o,r)=>{const{ownerState:t}=o;return[{[`& .${a.label}`]:r.label},r.root,r[`labelPlacement${e.capitalize(t.labelPlacement)}`]]}})(v.memoTheme(({theme:o})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${a.disabled}`]:{cursor:"default"},[`& .${a.label}`]:{[`&.${a.disabled}`]:{color:(o.vars||o).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:r})=>r==="start"||r==="top"||r==="bottom",style:{marginLeft:16}}]}))),V=b.styled("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(o,r)=>r.asterisk})(v.memoTheme(({theme:o})=>({[`&.${a.error}`]:{color:(o.vars||o).palette.error.main}}))),j=q.forwardRef(function(r,t){const s=b.useDefaultProps({props:r,name:"MuiFormControlLabel"}),{checked:u,className:y,componentsProps:P={},control:n,disabled:x,disableTypography:R,inputRef:W,label:F,labelPlacement:O="end",name:G,onChange:J,required:S,slots:k={},slotProps:N={},value:K,...w}=s,p=z.useFormControl(),g=x??n.props.disabled??(p==null?void 0:p.disabled),f=S??n.props.required,h={disabled:g,required:f};["checked","name","onChange","value","inputRef"].forEach(d=>{typeof n.props[d]>"u"&&typeof s[d]<"u"&&(h[d]=s[d])});const D=E.formControlState({props:s,muiFormControl:p,states:["error"]}),i={...s,disabled:g,labelPlacement:O,required:f,error:D.error},T=H(i),$={slots:k,slotProps:{...P,...N}},[M,c]=_.useSlot("typography",{elementType:C.Typography,externalForwardedProps:$,ownerState:i});let l=F;return l!=null&&l.type!==C.Typography&&!R&&(l=m.jsx(M,{component:"span",...c,className:e.clsx(T.label,c==null?void 0:c.className),children:l})),m.jsxs(I,{className:e.clsx(T.root,y),ownerState:i,ref:t,...w,children:[q.cloneElement(n,h),f?m.jsxs("div",{children:[l,m.jsxs(V,{ownerState:i,"aria-hidden":!0,className:T.asterisk,children:[" ","*"]})]}):l]})});process.env.NODE_ENV!=="production"&&(j.propTypes={checked:e.PropTypes.bool,classes:e.PropTypes.object,className:e.PropTypes.string,componentsProps:e.PropTypes.shape({typography:e.PropTypes.object}),control:e.PropTypes.element.isRequired,disabled:e.PropTypes.bool,disableTypography:e.PropTypes.bool,inputRef:A.refType,label:e.PropTypes.node,labelPlacement:e.PropTypes.oneOf(["bottom","end","start","top"]),name:e.PropTypes.string,onChange:e.PropTypes.func,required:e.PropTypes.bool,slotProps:e.PropTypes.shape({typography:e.PropTypes.oneOfType([e.PropTypes.func,e.PropTypes.object])}),slots:e.PropTypes.shape({typography: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]),value:e.PropTypes.any});exports.FormControlLabel=j;exports.formControlLabelClasses=a;exports.getFormControlLabelUtilityClasses=L;
@@ -1 +0,0 @@
1
- "use strict";const P=require("react"),o=require("./identifier-Dax8VlUh.cjs"),d=require("./useFormControl-haP0iPhl.cjs"),T=require("./formControlState-CuX6WjAX.cjs"),w=require("react/jsx-runtime"),p=require("./DefaultPropsProvider-Biv7NHew.cjs");function C(r){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const t in r)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(r,t);Object.defineProperty(e,t,s.get?s:{enumerable:!0,get:()=>r[t]})}}return e.default=r,Object.freeze(e)}const F=C(P);function u(r){return o.generateUtilityClass("MuiFormGroup",r)}const G=o.generateUtilityClasses("MuiFormGroup",["root","row","error"]),b=r=>{const{classes:e,row:t,error:s}=r,n={root:["root",t&&"row",s&&"error"]};return p.composeClasses(n,u,e)},g=p.styled("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(r,e)=>{const{ownerState:t}=r;return[e.root,t.row&&e.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),a=F.forwardRef(function(e,t){const s=p.useDefaultProps({props:e,name:"MuiFormGroup"}),{className:n,row:l=!1,...i}=s,f=d.useFormControl(),m=T.formControlState({props:s,muiFormControl:f,states:["error"]}),c={...s,row:l,error:m.error},y=b(c);return w.jsx(g,{className:o.clsx(y.root,n),ownerState:c,ref:t,...i})});process.env.NODE_ENV!=="production"&&(a.propTypes={children:o.PropTypes.node,classes:o.PropTypes.object,className:o.PropTypes.string,row:o.PropTypes.bool,sx:o.PropTypes.oneOfType([o.PropTypes.arrayOf(o.PropTypes.oneOfType([o.PropTypes.func,o.PropTypes.object,o.PropTypes.bool])),o.PropTypes.func,o.PropTypes.object])});exports.FormGroup=a;exports.formGroupClasses=G;exports.getFormGroupUtilityClass=u;
@@ -1,2 +0,0 @@
1
- "use strict";const G=require("react"),e=require("./identifier-Dax8VlUh.cjs"),x=require("./utils-BWx1W_q1.cjs"),W=require("./useFormControl-haP0iPhl.cjs"),O=require("react/jsx-runtime"),u=require("./DefaultPropsProvider-Biv7NHew.cjs"),J=require("./formControlState-CuX6WjAX.cjs"),k=require("./memoTheme-BPA1FjB4.cjs"),K=require("./createSimplePaletteValueFilter-PTK3TAhW.cjs");function Q(o){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const s in o)if(s!=="default"){const t=Object.getOwnPropertyDescriptor(o,s);Object.defineProperty(r,s,t.get?t:{enumerable:!0,get:()=>o[s]})}}return r.default=o,Object.freeze(r)}const i=Q(G);function v(o,r){var s,t,l;return i.isValidElement(o)&&r.indexOf(o.type.muiName??((l=(t=(s=o.type)==null?void 0:s._payload)==null?void 0:t.value)==null?void 0:l.muiName))!==-1}function $(o){return e.generateUtilityClass("MuiFormControl",o)}const X=e.generateUtilityClasses("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]),Y=o=>{const{classes:r,margin:s,fullWidth:t}=o,l={root:["root",s!=="none"&&`margin${e.capitalize(s)}`,t&&"fullWidth"]};return u.composeClasses(l,$,r)},Z=u.styled("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:o},r)=>({...r.root,...r[`margin${e.capitalize(o.margin)}`],...o.fullWidth&&r.fullWidth})})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),_=i.forwardRef(function(r,s){const t=u.useDefaultProps({props:r,name:"MuiFormControl"}),{children:l,className:f,color:m="primary",component:c="div",disabled:a=!1,error:P=!1,focused:S,fullWidth:g=!1,hiddenLabel:C=!1,margin:h="none",required:y=!1,size:n="medium",variant:d="outlined",...F}=t,L={...t,color:m,component:c,disabled:a,error:P,fullWidth:g,hiddenLabel:C,margin:h,required:y,size:n,variant:d},V=Y(L),[M,B]=i.useState(()=>{let T=!1;return l&&i.Children.forEach(l,p=>{if(!v(p,["Input","Select"]))return;const w=v(p,["Select"])?p.props.input:p;w&&x.isAdornedStart(w.props)&&(T=!0)}),T}),[R,E]=i.useState(()=>{let T=!1;return l&&i.Children.forEach(l,p=>{v(p,["Input","Select"])&&(x.isFilled(p.props,!0)||x.isFilled(p.props.inputProps,!0))&&(T=!0)}),T}),[U,q]=i.useState(!1);a&&U&&q(!1);const D=S!==void 0&&!a?S:U;let N;const j=i.useRef(!1);process.env.NODE_ENV!=="production"&&(N=()=>(j.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
2
- `)),j.current=!0,()=>{j.current=!1}));const H=i.useMemo(()=>({adornedStart:M,setAdornedStart:B,color:m,disabled:a,error:P,filled:R,focused:D,fullWidth:g,hiddenLabel:C,size:n,onBlur:()=>{q(!1)},onEmpty:()=>{E(!1)},onFilled:()=>{E(!0)},onFocus:()=>{q(!0)},registerEffect:N,required:y,variant:d}),[M,m,a,P,R,D,g,C,N,y,n,d]);return O.jsx(W.FormControlContext.Provider,{value:H,children:O.jsx(Z,{as:c,ownerState:L,className:e.clsx(V.root,f),ref:s,...F,children:l})})});process.env.NODE_ENV!=="production"&&(_.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["primary","secondary","error","info","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,disabled:e.PropTypes.bool,error:e.PropTypes.bool,focused:e.PropTypes.bool,fullWidth:e.PropTypes.bool,hiddenLabel:e.PropTypes.bool,margin:e.PropTypes.oneOf(["dense","none","normal"]),required:e.PropTypes.bool,size:e.PropTypes.oneOfType([e.PropTypes.oneOf(["medium","small"]),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]),variant:e.PropTypes.oneOf(["filled","outlined","standard"])});function z(o){return e.generateUtilityClass("MuiFormLabel",o)}const b=e.generateUtilityClasses("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),ee=o=>{const{classes:r,color:s,focused:t,disabled:l,error:f,filled:m,required:c}=o,a={root:["root",`color${e.capitalize(s)}`,l&&"disabled",f&&"error",m&&"filled",t&&"focused",c&&"required"],asterisk:["asterisk",f&&"error"]};return u.composeClasses(a,z,r)},A=u.styled("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:o},r)=>({...r.root,...o.color==="secondary"&&r.colorSecondary,...o.filled&&r.filled})})(k.memoTheme(({theme:o})=>({color:(o.vars||o).palette.text.secondary,...o.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(o.palette).filter(K.createSimplePaletteValueFilter()).map(([r])=>({props:{color:r},style:{[`&.${b.focused}`]:{color:(o.vars||o).palette[r].main}}})),{props:{},style:{[`&.${b.disabled}`]:{color:(o.vars||o).palette.text.disabled},[`&.${b.error}`]:{color:(o.vars||o).palette.error.main}}}]}))),oe=u.styled("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(o,r)=>r.asterisk})(k.memoTheme(({theme:o})=>({[`&.${b.error}`]:{color:(o.vars||o).palette.error.main}}))),I=i.forwardRef(function(r,s){const t=u.useDefaultProps({props:r,name:"MuiFormLabel"}),{children:l,className:f,color:m,component:c="label",disabled:a,error:P,filled:S,focused:g,required:C,...h}=t,y=W.useFormControl(),n=J.formControlState({props:t,muiFormControl:y,states:["color","required","focused","disabled","error","filled"]}),d={...t,color:n.color||"primary",component:c,disabled:n.disabled,error:n.error,filled:n.filled,focused:n.focused,required:n.required},F=ee(d);return O.jsxs(A,{as:c,ownerState:d,className:e.clsx(F.root,f),ref:s,...h,children:[l,n.required&&O.jsxs(oe,{ownerState:d,"aria-hidden":!0,className:F.asterisk,children:[" ","*"]})]})});process.env.NODE_ENV!=="production"&&(I.propTypes={children:e.PropTypes.node,classes:e.PropTypes.object,className:e.PropTypes.string,color:e.PropTypes.oneOfType([e.PropTypes.oneOf(["error","info","primary","secondary","success","warning"]),e.PropTypes.string]),component:e.PropTypes.elementType,disabled:e.PropTypes.bool,error:e.PropTypes.bool,filled:e.PropTypes.bool,focused:e.PropTypes.bool,required: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.FormControl=_;exports.FormLabel=I;exports.FormLabelRoot=A;exports.formControlClasses=X;exports.formLabelClasses=b;exports.getFormControlUtilityClasses=$;exports.getFormLabelUtilityClasses=z;exports.isMuiElement=v;