@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431

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 (276) hide show
  1. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
  4. package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
  5. package/dist/Button-B7kOjNW1.js +696 -0
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/CardContent-F4-KcZH8.js +226 -0
  11. package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
  12. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/Chip-OpRIs-sL.js +522 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
  16. package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
  17. package/dist/CloseRounded-BMEGLs8y.js +8 -0
  18. package/dist/CloseRounded-BRXBizmR.cjs +1 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/Dialog-CKS7yjT5.js +478 -0
  25. package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
  26. package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
  27. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
  28. package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
  29. package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
  30. package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
  31. package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
  43. package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
  44. package/dist/Menu-Cngt8Va9.cjs +7 -0
  45. package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
  48. package/dist/Modal-u82Ss4h_.cjs +2 -0
  49. package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
  50. package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
  51. package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
  52. package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
  53. package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/Radio-DSRS-tjj.js +568 -0
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/RadioGroup-cPdOWdYD.js +190 -0
  59. package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
  63. package/dist/Switch-B9uT9-d0.js +330 -0
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
  66. package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
  69. package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
  74. package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
  78. package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
  79. package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
  80. package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
  81. package/dist/components/Alert/Alert.es.js +13 -4
  82. package/dist/components/Button/Button.cjs.js +1 -1
  83. package/dist/components/Button/Button.d.ts +1 -2
  84. package/dist/components/Button/Button.es.js +12 -325
  85. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  86. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  87. package/dist/components/DatePicker/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/index.es.js +1 -1
  89. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  90. package/dist/components/Dialog/Dialog.es.js +12 -14
  91. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  92. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  93. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  94. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  95. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  96. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  97. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  98. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  99. package/dist/components/FileList/FileIcon.d.ts +3 -0
  100. package/dist/components/FileList/FileIcon.es.js +56 -0
  101. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  102. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  103. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  104. package/dist/components/FileList/FileList.cjs.js +1 -1
  105. package/dist/components/FileList/FileList.d.ts +5 -3
  106. package/dist/components/FileList/FileList.es.js +22 -15
  107. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  108. package/dist/components/FileList/FileListItem.d.ts +9 -5
  109. package/dist/components/FileList/FileListItem.es.js +118 -24
  110. package/dist/components/FileList/utils.cjs.js +1 -0
  111. package/dist/components/FileList/utils.d.ts +2 -0
  112. package/dist/components/FileList/utils.es.js +13 -0
  113. package/dist/components/Heading/Heading.cjs.js +1 -1
  114. package/dist/components/Heading/Heading.es.js +2 -2
  115. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  116. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  117. package/dist/components/Loader/Loader.cjs.js +1 -1
  118. package/dist/components/Loader/Loader.d.ts +1 -2
  119. package/dist/components/Loader/Loader.es.js +1 -1
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  121. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  122. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  123. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  124. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  125. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  126. package/dist/components/QueryError/QueryError.d.ts +2 -2
  127. package/dist/components/QueryError/QueryError.es.js +14 -14
  128. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  129. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  130. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  131. package/dist/components/ResourceCard/index.cjs.js +1 -0
  132. package/dist/components/ResourceCard/index.d.ts +2 -0
  133. package/dist/components/ResourceCard/index.es.js +4 -0
  134. package/dist/components/ResourceCard/style.cjs.js +1 -0
  135. package/dist/components/ResourceCard/style.es.js +125 -0
  136. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  137. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  138. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  139. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  140. package/dist/components/TextInput/TextInput.es.js +1 -1
  141. package/dist/components/index.cjs.js +1 -1
  142. package/dist/components/index.d.ts +35 -0
  143. package/dist/components/index.es.js +348 -294
  144. package/dist/components/stories/Button.stories.cjs.js +1 -1
  145. package/dist/components/stories/Button.stories.es.js +1 -1
  146. package/dist/components/stories/Card.stories.cjs.js +1 -1
  147. package/dist/components/stories/Card.stories.es.js +17 -168
  148. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  149. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  150. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  151. package/dist/components/stories/Chip.stories.d.ts +10 -0
  152. package/dist/components/stories/Chip.stories.es.js +77 -0
  153. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  154. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  155. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  156. package/dist/components/stories/Dialog.stories.es.js +2 -2
  157. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  158. package/dist/components/stories/Divider.stories.es.js +5 -5
  159. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  160. package/dist/components/stories/FileList.stories.es.js +144 -20
  161. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  162. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  163. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  164. package/dist/components/stories/Heading.stories.es.js +2 -2
  165. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  166. package/dist/components/stories/IconButton.stories.es.js +2 -2
  167. package/dist/components/stories/Link.stories.cjs.js +1 -1
  168. package/dist/components/stories/Link.stories.es.js +1 -1
  169. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  170. package/dist/components/stories/Menu.stories.es.js +16 -16
  171. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  172. package/dist/components/stories/Paper.stories.es.js +1 -1
  173. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  174. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  175. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  176. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  177. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  178. package/dist/components/stories/Select.stories.cjs.js +1 -1
  179. package/dist/components/stories/Select.stories.es.js +3 -3
  180. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  181. package/dist/components/stories/TabList.stories.es.js +14 -14
  182. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  183. package/dist/components/stories/TextField.stories.es.js +3 -3
  184. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  186. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  187. package/dist/components/stories/Typography.stories.es.js +1 -1
  188. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  189. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
  190. package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
  191. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
  192. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  193. package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
  194. package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
  195. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
  196. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  197. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  198. package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
  199. package/dist/hooks/lazySvgImport.d.ts +1 -1
  200. package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
  201. package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
  202. package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
  203. package/dist/index-T-RSwkXB.cjs +1 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
  207. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  208. package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
  209. package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
  211. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CC2AaOjN.cjs +1 -0
  215. package/dist/useSlot-GZu0V5wJ.js +48 -0
  216. package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
  217. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  218. package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
  219. package/dist/useTheme-BA7tMglY.js +11 -0
  220. package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
  221. package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  223. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
  224. package/dist/useThemeProps-BTfGtNci.js +17 -0
  225. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  226. package/dist/utils-CFI_-FMV.cjs +1 -0
  227. package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
  228. package/package.json +9 -9
  229. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  230. package/dist/Button-BH9MUvmz.cjs +0 -1
  231. package/dist/Button-BnNYfQ3E.js +0 -484
  232. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  233. package/dist/Card-AJG0TUOx.js +0 -74
  234. package/dist/Card-NqCXQteq.cjs +0 -1
  235. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  236. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  237. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  238. package/dist/Delete-BkZN7Xu5.js +0 -8
  239. package/dist/Delete-D1EiKoL5.cjs +0 -1
  240. package/dist/Dialog-D_lS4J_M.js +0 -415
  241. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  242. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  243. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  244. package/dist/FormGroup-CbczEc6e.js +0 -95
  245. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  246. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  247. package/dist/Grow-CUBJs6WD.cjs +0 -1
  248. package/dist/IconButton-CJfzspZK.cjs +0 -2
  249. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  250. package/dist/Link-CWczkFp0.cjs +0 -1
  251. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  252. package/dist/Modal-DImrEpYJ.cjs +0 -2
  253. package/dist/Portal-DF0RKOcD.cjs +0 -1
  254. package/dist/Radio-CVAEGXKi.cjs +0 -1
  255. package/dist/Radio-DGhot3Cd.js +0 -313
  256. package/dist/Select-CwAWNiiv.cjs +0 -3
  257. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  258. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  259. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  260. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  261. package/dist/TextField-BI9KVqjC.cjs +0 -1
  262. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  263. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  264. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  265. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  266. package/dist/index-Aa73Kpym.cjs +0 -1
  267. package/dist/index-Cw0GDedk.cjs +0 -17
  268. package/dist/index-DXD5J5Eu.js +0 -186
  269. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  270. package/dist/useSlot-BTpHG6jf.js +0 -50
  271. package/dist/useSlot-CByalpSD.cjs +0 -1
  272. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  273. package/dist/useTheme-DyaNKf4e.js +0 -11
  274. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  275. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  276. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,44 +1,59 @@
1
1
  import * as u from "react";
2
- import { H as U, I as D, _ as Oe, P as e, G as fe, J as fo } from "./generateUtilityClasses-Bssl7BA_.js";
3
- import { f as Ce } from "./formControlState-vgaj2ksH.js";
4
- import { u as Ie } from "./useFormControl-CatNKXAi.js";
5
- import { s as h, r as k, u as H, c as z, e as bo } from "./DefaultPropsProvider-CvJPQJmL.js";
6
- import { m as E } from "./memoTheme-D7Fyh_3C.js";
7
- import { jsx as v, jsxs as Se } from "react/jsx-runtime";
8
- import { a as mo, b as go } from "./FormLabel-CfR4bb21.js";
9
- import { c as V } from "./capitalize-CkF8kU4n.js";
10
- import { r as vo } from "./index-DXD5J5Eu.js";
11
- import { M as yo } from "./Menu-C7tKmcAh.js";
12
- import { r as G } from "./refType-DKYKROQk.js";
13
- import { i as ho } from "./utils-DWqc1kRF.js";
14
- import { u as Ve } from "./useControlled-BYdyS7Pn.js";
15
- import { u as Xe } from "./useForkRef-C_4o__cU.js";
16
- import { o as Oo } from "./ownerDocument-CUrv0DIK.js";
17
- import { u as Co } from "./useId-CK6Kn3Tn.js";
18
- import { c as Io } from "./createSvgIcon-C8nGcfF4.js";
19
- import { c as Re } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
20
- import { i as xe, a as we, r as Te, b as Ne, c as Pe, I as $e } from "./InputBase-BJy3wwFB.js";
21
- import { g as So } from "./utils-C6c4fj7D.js";
22
- function Ro(o) {
23
- return U("MuiInput", o);
2
+ import { H as z, I as V, a2 as ve, P as e, G as pe, Z as mo, J as go } from "./generateUtilityClasses-DotvgSDH.js";
3
+ import { f as ye } from "./formControlState-vgaj2ksH.js";
4
+ import { u as he } from "./useFormControl-CatNKXAi.js";
5
+ import { u as G, s as h, c as B, r as k, e as vo } from "./DefaultPropsProvider-Cqcb4sws.js";
6
+ import { m as E } from "./memoTheme-CqmIydD-.js";
7
+ import { jsx as v, jsxs as Oe } from "react/jsx-runtime";
8
+ import { c as q } from "./capitalize-3KLkrEtk.js";
9
+ import { a as yo, b as ho } from "./FormLabel-3-CC-ZGw.js";
10
+ import { M as Oo } from "./Menu-BunOW0ot.js";
11
+ import { r as J } from "./refType-C210ipRY.js";
12
+ import { i as Co } from "./utils-DWqc1kRF.js";
13
+ import { u as qe } from "./useControlled-BYdyS7Pn.js";
14
+ import { u as He } from "./useForkRef-C_4o__cU.js";
15
+ import { o as Io } from "./ownerDocument-CUrv0DIK.js";
16
+ import { u as So } from "./useId-CK6Kn3Tn.js";
17
+ import { c as Ro } from "./createSvgIcon-K2ZAdASa.js";
18
+ import { g as xo } from "./utils-CXhh35wP.js";
19
+ import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
20
+ import { i as Ie, I as Se, a as Re, r as xe, b as we, c as Te } from "./InputBase-By7jMrFP.js";
21
+ function wo(o) {
22
+ return V("MuiInput", o);
24
23
  }
25
- const K = {
26
- ...xe,
27
- ...D("MuiInput", ["root", "underline", "input"])
28
- }, xo = (o) => {
24
+ const X = {
25
+ ...Ie,
26
+ ...z("MuiInput", ["root", "underline", "input"])
27
+ };
28
+ function To(o) {
29
+ return V("MuiOutlinedInput", o);
30
+ }
31
+ const P = {
32
+ ...Ie,
33
+ ...z("MuiOutlinedInput", ["root", "notchedOutline", "input"])
34
+ };
35
+ function No(o) {
36
+ return V("MuiFilledInput", o);
37
+ }
38
+ const L = {
39
+ ...Ie,
40
+ ...z("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
41
+ }, Po = Ro(/* @__PURE__ */ v("path", {
42
+ d: "M7 10l5 5 5-5z"
43
+ }), "ArrowDropDown"), $o = (o) => {
29
44
  const {
30
45
  classes: t,
31
46
  disableUnderline: n
32
- } = o, i = z({
47
+ } = o, i = B({
33
48
  root: ["root", !n && "underline"],
34
49
  input: ["input"]
35
- }, Ro, t);
50
+ }, wo, t);
36
51
  return {
37
52
  ...t,
38
53
  // forward classes to the InputBase
39
54
  ...i
40
55
  };
41
- }, wo = h(we, {
56
+ }, ko = h(Re, {
42
57
  shouldForwardProp: (o) => k(o) || o === "classes",
43
58
  name: "MuiInput",
44
59
  slot: "Root",
@@ -46,7 +61,7 @@ const K = {
46
61
  const {
47
62
  ownerState: n
48
63
  } = o;
49
- return [...Te(o, t), !n.disableUnderline && t.underline];
64
+ return [...xe(o, t), !n.disableUnderline && t.underline];
50
65
  }
51
66
  })(E(({
52
67
  theme: o
@@ -82,12 +97,12 @@ const K = {
82
97
  pointerEvents: "none"
83
98
  // Transparent to the hover style.
84
99
  },
85
- [`&.${K.focused}:after`]: {
100
+ [`&.${X.focused}:after`]: {
86
101
  // translateX(0) is a workaround for Safari transform scale bug
87
102
  // See https://github.com/mui/material-ui/issues/31766
88
103
  transform: "scaleX(1) translateX(0)"
89
104
  },
90
- [`&.${K.error}`]: {
105
+ [`&.${X.error}`]: {
91
106
  "&::before, &::after": {
92
107
  borderBottomColor: (o.vars || o).palette.error.main
93
108
  }
@@ -105,18 +120,18 @@ const K = {
105
120
  pointerEvents: "none"
106
121
  // Transparent to the hover style.
107
122
  },
108
- [`&:hover:not(.${K.disabled}, .${K.error}):before`]: {
123
+ [`&:hover:not(.${X.disabled}, .${X.error}):before`]: {
109
124
  borderBottom: `2px solid ${(o.vars || o).palette.text.primary}`,
110
125
  // Reset on touch devices, it doesn't add specificity
111
126
  "@media (hover: none)": {
112
127
  borderBottom: `1px solid ${n}`
113
128
  }
114
129
  },
115
- [`&.${K.disabled}:before`]: {
130
+ [`&.${X.disabled}:before`]: {
116
131
  borderBottomStyle: "dotted"
117
132
  }
118
133
  }
119
- }, ...Object.entries(o.palette).filter(Re()).map(([r]) => ({
134
+ }, ...Object.entries(o.palette).filter(Ce()).map(([r]) => ({
120
135
  props: {
121
136
  color: r,
122
137
  disableUnderline: !1
@@ -128,12 +143,12 @@ const K = {
128
143
  }
129
144
  }))]
130
145
  };
131
- })), To = h(Ne, {
146
+ })), Eo = h(we, {
132
147
  name: "MuiInput",
133
148
  slot: "Input",
134
- overridesResolver: Pe
135
- })({}), de = /* @__PURE__ */ u.forwardRef(function(t, n) {
136
- const r = H({
149
+ overridesResolver: Te
150
+ })({}), Ne = /* @__PURE__ */ u.forwardRef(function(t, n) {
151
+ const r = G({
137
152
  props: t,
138
153
  name: "MuiInput"
139
154
  }), {
@@ -141,35 +156,35 @@ const K = {
141
156
  components: p = {},
142
157
  componentsProps: a,
143
158
  fullWidth: d = !1,
144
- inputComponent: m = "input",
145
- multiline: g = !1,
159
+ inputComponent: b = "input",
160
+ multiline: m = !1,
146
161
  slotProps: f,
147
162
  slots: c = {},
148
163
  type: O = "text",
149
- ...R
150
- } = r, w = xo(r), y = {
164
+ ...C
165
+ } = r, w = $o(r), y = {
151
166
  root: {
152
167
  ownerState: {
153
168
  disableUnderline: i
154
169
  }
155
170
  }
156
- }, x = f ?? a ? Oe(f ?? a, y) : y, C = c.root ?? p.Root ?? wo, I = c.input ?? p.Input ?? To;
157
- return /* @__PURE__ */ v($e, {
171
+ }, x = f ?? a ? ve(f ?? a, y) : y, I = c.root ?? p.Root ?? ko, S = c.input ?? p.Input ?? Eo;
172
+ return /* @__PURE__ */ v(Se, {
158
173
  slots: {
159
- root: C,
160
- input: I
174
+ root: I,
175
+ input: S
161
176
  },
162
177
  slotProps: x,
163
178
  fullWidth: d,
164
- inputComponent: m,
165
- multiline: g,
179
+ inputComponent: b,
180
+ multiline: m,
166
181
  ref: n,
167
182
  type: O,
168
- ...R,
183
+ ...C,
169
184
  classes: w
170
185
  });
171
186
  });
172
- process.env.NODE_ENV !== "production" && (de.propTypes = {
187
+ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
173
188
  // ┌────────────────────────────── Warning ──────────────────────────────┐
174
189
  // │ These PropTypes are generated from the TypeScript type definitions. │
175
190
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -264,7 +279,7 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
264
279
  /**
265
280
  * Pass a ref to the `input` element.
266
281
  */
267
- inputRef: G,
282
+ inputRef: J,
268
283
  /**
269
284
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
270
285
  * FormControl.
@@ -354,11 +369,11 @@ process.env.NODE_ENV !== "production" && (de.propTypes = {
354
369
  */
355
370
  value: e.any
356
371
  });
357
- de && (de.muiName = "Input");
358
- function No(o) {
359
- return U("MuiInputLabel", o);
372
+ Ne.muiName = "Input";
373
+ function Fo(o) {
374
+ return V("MuiInputLabel", o);
360
375
  }
361
- const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Po = (o) => {
376
+ const Rt = z("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), Mo = (o) => {
362
377
  const {
363
378
  classes: t,
364
379
  formControl: n,
@@ -367,16 +382,16 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
367
382
  disableAnimation: p,
368
383
  variant: a,
369
384
  required: d
370
- } = o, m = {
371
- root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "normal" && `size${V(r)}`, a],
385
+ } = o, b = {
386
+ root: ["root", n && "formControl", !p && "animated", i && "shrink", r && r !== "normal" && `size${q(r)}`, a],
372
387
  asterisk: [d && "asterisk"]
373
- }, g = z(m, No, t);
388
+ }, m = B(b, Fo, t);
374
389
  return {
375
390
  ...t,
376
391
  // forward the focused, disabled, etc. classes to the FormLabel
377
- ...g
392
+ ...m
378
393
  };
379
- }, $o = h(mo, {
394
+ }, jo = h(yo, {
380
395
  shouldForwardProp: (o) => k(o) || o === "classes",
381
396
  name: "MuiInputLabel",
382
397
  slot: "Root",
@@ -385,7 +400,7 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
385
400
  ownerState: n
386
401
  } = o;
387
402
  return [{
388
- [`& .${go.asterisk}`]: t.asterisk
403
+ [`& .${ho.asterisk}`]: t.asterisk
389
404
  }, t.root, n.formControl && t.formControl, n.size === "small" && t.sizeSmall, n.shrink && t.shrink, !n.disableAnimation && t.animated, n.focused && t.focused, t[n.variant]];
390
405
  }
391
406
  })(E(({
@@ -510,8 +525,8 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
510
525
  transform: "translate(14px, -9px) scale(0.75)"
511
526
  }
512
527
  }]
513
- }))), ko = /* @__PURE__ */ u.forwardRef(function(t, n) {
514
- const r = H({
528
+ }))), Lo = /* @__PURE__ */ u.forwardRef(function(t, n) {
529
+ const r = G({
515
530
  name: "MuiInputLabel",
516
531
  props: t
517
532
  }), {
@@ -519,16 +534,16 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
519
534
  margin: p,
520
535
  shrink: a,
521
536
  variant: d,
522
- className: m,
523
- ...g
524
- } = r, f = Ie();
537
+ className: b,
538
+ ...m
539
+ } = r, f = he();
525
540
  let c = a;
526
541
  typeof c > "u" && f && (c = f.filled || f.focused || f.adornedStart);
527
- const O = Ce({
542
+ const O = ye({
528
543
  props: r,
529
544
  muiFormControl: f,
530
545
  states: ["size", "variant", "required", "focused"]
531
- }), R = {
546
+ }), C = {
532
547
  ...r,
533
548
  disableAnimation: i,
534
549
  formControl: f,
@@ -537,17 +552,17 @@ const Rt = D("MuiInputLabel", ["root", "focused", "disabled", "error", "required
537
552
  variant: O.variant,
538
553
  required: O.required,
539
554
  focused: O.focused
540
- }, w = Po(R);
541
- return /* @__PURE__ */ v($o, {
555
+ }, w = Mo(C);
556
+ return /* @__PURE__ */ v(jo, {
542
557
  "data-shrink": c,
543
558
  ref: n,
544
- className: fe(w.root, m),
545
- ...g,
546
- ownerState: R,
559
+ className: pe(w.root, b),
560
+ ...m,
561
+ ownerState: C,
547
562
  classes: w
548
563
  });
549
564
  });
550
- process.env.NODE_ENV !== "production" && (ko.propTypes = {
565
+ process.env.NODE_ENV !== "production" && (Lo.propTypes = {
551
566
  // ┌────────────────────────────── Warning ──────────────────────────────┐
552
567
  // │ These PropTypes are generated from the TypeScript type definitions. │
553
568
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -614,10 +629,10 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
614
629
  */
615
630
  variant: e.oneOf(["filled", "outlined", "standard"])
616
631
  });
617
- function Eo(o) {
618
- return U("MuiNativeSelect", o);
632
+ function Bo(o) {
633
+ return V("MuiNativeSelect", o);
619
634
  }
620
- const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Fo = (o) => {
635
+ const Pe = z("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Wo = (o) => {
621
636
  const {
622
637
  classes: t,
623
638
  variant: n,
@@ -627,10 +642,10 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
627
642
  error: a
628
643
  } = o, d = {
629
644
  select: ["select", n, r && "disabled", i && "multiple", a && "error"],
630
- icon: ["icon", `icon${V(n)}`, p && "iconOpen", r && "disabled"]
645
+ icon: ["icon", `icon${q(n)}`, p && "iconOpen", r && "disabled"]
631
646
  };
632
- return z(d, Eo, t);
633
- }, He = h("select")(({
647
+ return B(d, Bo, t);
648
+ }, Ge = h("select")(({
634
649
  theme: o
635
650
  }) => ({
636
651
  // Reset
@@ -647,7 +662,7 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
647
662
  // Reset Chrome style
648
663
  borderRadius: 0
649
664
  },
650
- [`&.${ke.disabled}`]: {
665
+ [`&.${Pe.disabled}`]: {
651
666
  cursor: "default"
652
667
  },
653
668
  "&[multiple]": {
@@ -692,7 +707,7 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
692
707
  }
693
708
  }
694
709
  }]
695
- })), Mo = h(He, {
710
+ })), Ao = h(Ge, {
696
711
  name: "MuiNativeSelect",
697
712
  slot: "Select",
698
713
  shouldForwardProp: k,
@@ -701,10 +716,10 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
701
716
  ownerState: n
702
717
  } = o;
703
718
  return [t.select, t[n.variant], n.error && t.error, {
704
- [`&.${ke.multiple}`]: t.multiple
719
+ [`&.${Pe.multiple}`]: t.multiple
705
720
  }];
706
721
  }
707
- })({}), Ge = h("svg")(({
722
+ })({}), Je = h("svg")(({
708
723
  theme: o
709
724
  }) => ({
710
725
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -716,7 +731,7 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
716
731
  // Don't block pointer events on the select under the icon.
717
732
  pointerEvents: "none",
718
733
  color: (o.vars || o).palette.action.active,
719
- [`&.${ke.disabled}`]: {
734
+ [`&.${Pe.disabled}`]: {
720
735
  color: (o.vars || o).palette.action.disabled
721
736
  },
722
737
  variants: [{
@@ -741,45 +756,45 @@ const ke = D("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
741
756
  right: 7
742
757
  }
743
758
  }]
744
- })), jo = h(Ge, {
759
+ })), Uo = h(Je, {
745
760
  name: "MuiNativeSelect",
746
761
  slot: "Icon",
747
762
  overridesResolver: (o, t) => {
748
763
  const {
749
764
  ownerState: n
750
765
  } = o;
751
- return [t.icon, n.variant && t[`icon${V(n.variant)}`], n.open && t.iconOpen];
766
+ return [t.icon, n.variant && t[`icon${q(n.variant)}`], n.open && t.iconOpen];
752
767
  }
753
- })({}), Je = /* @__PURE__ */ u.forwardRef(function(t, n) {
768
+ })({}), Ye = /* @__PURE__ */ u.forwardRef(function(t, n) {
754
769
  const {
755
770
  className: r,
756
771
  disabled: i,
757
772
  error: p,
758
773
  IconComponent: a,
759
774
  inputRef: d,
760
- variant: m = "standard",
761
- ...g
775
+ variant: b = "standard",
776
+ ...m
762
777
  } = t, f = {
763
778
  ...t,
764
779
  disabled: i,
765
- variant: m,
780
+ variant: b,
766
781
  error: p
767
- }, c = Fo(f);
768
- return /* @__PURE__ */ Se(u.Fragment, {
769
- children: [/* @__PURE__ */ v(Mo, {
782
+ }, c = Wo(f);
783
+ return /* @__PURE__ */ Oe(u.Fragment, {
784
+ children: [/* @__PURE__ */ v(Ao, {
770
785
  ownerState: f,
771
- className: fe(c.select, r),
786
+ className: pe(c.select, r),
772
787
  disabled: i,
773
788
  ref: d || n,
774
- ...g
775
- }), t.multiple ? null : /* @__PURE__ */ v(jo, {
789
+ ...m
790
+ }), t.multiple ? null : /* @__PURE__ */ v(Uo, {
776
791
  as: a,
777
792
  ownerState: f,
778
793
  className: c.icon
779
794
  })]
780
795
  });
781
796
  });
782
- process.env.NODE_ENV !== "production" && (Je.propTypes = {
797
+ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
783
798
  /**
784
799
  * The option elements to populate the select with.
785
800
  * Can be some `<option>` elements.
@@ -809,7 +824,7 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
809
824
  * Use that prop to pass a ref to the native select element.
810
825
  * @deprecated
811
826
  */
812
- inputRef: G,
827
+ inputRef: J,
813
828
  /**
814
829
  * @ignore
815
830
  */
@@ -834,12 +849,12 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
834
849
  */
835
850
  variant: e.oneOf(["standard", "outlined", "filled"])
836
851
  });
837
- function Lo(o) {
838
- return U("MuiSelect", o);
852
+ function Ze(o) {
853
+ return V("MuiSelect", o);
839
854
  }
840
- const X = D("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
841
- var qe;
842
- const Bo = h(He, {
855
+ const H = z("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
856
+ var _e;
857
+ const Do = h(Ge, {
843
858
  name: "MuiSelect",
844
859
  slot: "Select",
845
860
  overridesResolver: (o, t) => {
@@ -849,22 +864,22 @@ const Bo = h(He, {
849
864
  return [
850
865
  // Win specificity over the input base
851
866
  {
852
- [`&.${X.select}`]: t.select
867
+ [`&.${H.select}`]: t.select
853
868
  },
854
869
  {
855
- [`&.${X.select}`]: t[n.variant]
870
+ [`&.${H.select}`]: t[n.variant]
856
871
  },
857
872
  {
858
- [`&.${X.error}`]: t.error
873
+ [`&.${H.error}`]: t.error
859
874
  },
860
875
  {
861
- [`&.${X.multiple}`]: t.multiple
876
+ [`&.${H.multiple}`]: t.multiple
862
877
  }
863
878
  ];
864
879
  }
865
880
  })({
866
881
  // Win specificity over the input base
867
- [`&.${X.select}`]: {
882
+ [`&.${H.select}`]: {
868
883
  height: "auto",
869
884
  // Resets for multiple select with chips
870
885
  minHeight: "1.4375em",
@@ -873,17 +888,17 @@ const Bo = h(He, {
873
888
  whiteSpace: "nowrap",
874
889
  overflow: "hidden"
875
890
  }
876
- }), Wo = h(Ge, {
891
+ }), zo = h(Je, {
877
892
  name: "MuiSelect",
878
893
  slot: "Icon",
879
894
  overridesResolver: (o, t) => {
880
895
  const {
881
896
  ownerState: n
882
897
  } = o;
883
- return [t.icon, n.variant && t[`icon${V(n.variant)}`], n.open && t.iconOpen];
898
+ return [t.icon, n.variant && t[`icon${q(n.variant)}`], n.open && t.iconOpen];
884
899
  }
885
- })({}), Ao = h("input", {
886
- shouldForwardProp: (o) => bo(o) && o !== "classes",
900
+ })({}), Vo = h("input", {
901
+ shouldForwardProp: (o) => vo(o) && o !== "classes",
887
902
  name: "MuiSelect",
888
903
  slot: "NativeInput",
889
904
  overridesResolver: (o, t) => t.nativeInput
@@ -896,13 +911,13 @@ const Bo = h(He, {
896
911
  width: "100%",
897
912
  boxSizing: "border-box"
898
913
  });
899
- function _e(o, t) {
914
+ function Ke(o, t) {
900
915
  return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
901
916
  }
902
- function Uo(o) {
917
+ function qo(o) {
903
918
  return o == null || typeof o == "string" && !o.trim();
904
919
  }
905
- const Do = (o) => {
920
+ const _o = (o) => {
906
921
  const {
907
922
  classes: t,
908
923
  variant: n,
@@ -912,75 +927,76 @@ const Do = (o) => {
912
927
  error: a
913
928
  } = o, d = {
914
929
  select: ["select", n, r && "disabled", i && "multiple", a && "error"],
915
- icon: ["icon", `icon${V(n)}`, p && "iconOpen", r && "disabled"],
930
+ icon: ["icon", `icon${q(n)}`, p && "iconOpen", r && "disabled"],
916
931
  nativeInput: ["nativeInput"]
917
932
  };
918
- return z(d, Lo, t);
919
- }, Ye = /* @__PURE__ */ u.forwardRef(function(t, n) {
920
- var De;
933
+ return B(d, Ze, t);
934
+ }, Qe = /* @__PURE__ */ u.forwardRef(function(t, n) {
935
+ var ze;
921
936
  const {
922
937
  "aria-describedby": r,
923
938
  "aria-label": i,
924
939
  autoFocus: p,
925
940
  autoWidth: a,
926
941
  children: d,
927
- className: m,
928
- defaultOpen: g,
942
+ className: b,
943
+ defaultOpen: m,
929
944
  defaultValue: f,
930
945
  disabled: c,
931
946
  displayEmpty: O,
932
- error: R = !1,
947
+ error: C = !1,
933
948
  IconComponent: w,
934
949
  inputRef: T,
935
950
  labelId: y,
936
951
  MenuProps: x = {},
937
- multiple: C,
938
- name: I,
952
+ multiple: I,
953
+ name: S,
939
954
  onBlur: N,
940
- onChange: L,
941
- onClose: J,
942
- onFocus: be,
943
- onOpen: Y,
955
+ onChange: W,
956
+ onClose: Y,
957
+ onFocus: de,
958
+ onOpen: Z,
944
959
  open: Q,
945
- readOnly: Z,
946
- renderValue: ee,
947
- SelectDisplayProps: B = {},
948
- tabIndex: $,
960
+ readOnly: ee,
961
+ renderValue: oe,
962
+ required: _,
963
+ SelectDisplayProps: $ = {},
964
+ tabIndex: F,
949
965
  // catching `type` from Input which makes no sense for SelectInput
950
- type: q,
951
- value: oe,
952
- variant: Fe = "standard",
953
- ..._
954
- } = t, [b, te] = Ve({
955
- controlled: oe,
966
+ type: ue,
967
+ value: Fe,
968
+ variant: te = "standard",
969
+ ...A
970
+ } = t, [g, Me] = qe({
971
+ controlled: Fe,
956
972
  default: f,
957
973
  name: "Select"
958
- }), [Me, eo] = Ve({
974
+ }), [je, to] = qe({
959
975
  controlled: Q,
960
- default: g,
976
+ default: m,
961
977
  name: "Select"
962
- }), je = u.useRef(null), F = u.useRef(null), [M, oo] = u.useState(null), {
963
- current: me
964
- } = u.useRef(Q != null), [to, Le] = u.useState(), no = Xe(n, T), ro = u.useCallback((s) => {
965
- F.current = s, s && oo(s);
966
- }, []), ne = M == null ? void 0 : M.parentNode;
967
- u.useImperativeHandle(no, () => ({
978
+ }), Le = u.useRef(null), M = u.useRef(null), [j, no] = u.useState(null), {
979
+ current: ce
980
+ } = u.useRef(Q != null), [ro, Be] = u.useState(), so = He(n, T), ao = u.useCallback((s) => {
981
+ M.current = s, s && no(s);
982
+ }, []), ne = j == null ? void 0 : j.parentNode;
983
+ u.useImperativeHandle(so, () => ({
968
984
  focus: () => {
969
- F.current.focus();
985
+ M.current.focus();
970
986
  },
971
- node: je.current,
972
- value: b
973
- }), [b]), u.useEffect(() => {
974
- g && Me && M && !me && (Le(a ? null : ne.clientWidth), F.current.focus());
975
- }, [M, a]), u.useEffect(() => {
976
- p && F.current.focus();
987
+ node: Le.current,
988
+ value: g
989
+ }), [g]), u.useEffect(() => {
990
+ m && je && j && !ce && (Be(a ? null : ne.clientWidth), M.current.focus());
991
+ }, [j, a]), u.useEffect(() => {
992
+ p && M.current.focus();
977
993
  }, [p]), u.useEffect(() => {
978
994
  if (!y)
979
995
  return;
980
- const s = Oo(F.current).getElementById(y);
996
+ const s = Io(M.current).getElementById(y);
981
997
  if (s) {
982
998
  const l = () => {
983
- getSelection().isCollapsed && F.current.focus();
999
+ getSelection().isCollapsed && M.current.focus();
984
1000
  };
985
1001
  return s.addEventListener("click", l), () => {
986
1002
  s.removeEventListener("click", l);
@@ -988,37 +1004,37 @@ const Do = (o) => {
988
1004
  }
989
1005
  }, [y]);
990
1006
  const re = (s, l) => {
991
- s ? Y && Y(l) : J && J(l), me || (Le(a ? null : ne.clientWidth), eo(s));
992
- }, so = (s) => {
993
- s.button === 0 && (s.preventDefault(), F.current.focus(), re(!0, s));
994
- }, ao = (s) => {
1007
+ s ? Z && Z(l) : Y && Y(l), ce || (Be(a ? null : ne.clientWidth), to(s));
1008
+ }, io = (s) => {
1009
+ s.button === 0 && (s.preventDefault(), M.current.focus(), re(!0, s));
1010
+ }, lo = (s) => {
995
1011
  re(!1, s);
996
- }, se = u.Children.toArray(d), io = (s) => {
997
- const l = se.find((S) => S.props.value === s.target.value);
998
- l !== void 0 && (te(l.props.value), L && L(s, l));
999
- }, lo = (s) => (l) => {
1000
- let S;
1012
+ }, se = u.Children.toArray(d), po = (s) => {
1013
+ const l = se.find((R) => R.props.value === s.target.value);
1014
+ l !== void 0 && (Me(l.props.value), W && W(s, l));
1015
+ }, uo = (s) => (l) => {
1016
+ let R;
1001
1017
  if (l.currentTarget.hasAttribute("tabindex")) {
1002
- if (C) {
1003
- S = Array.isArray(b) ? b.slice() : [];
1004
- const A = b.indexOf(s.props.value);
1005
- A === -1 ? S.push(s.props.value) : S.splice(A, 1);
1018
+ if (I) {
1019
+ R = Array.isArray(g) ? g.slice() : [];
1020
+ const D = g.indexOf(s.props.value);
1021
+ D === -1 ? R.push(s.props.value) : R.splice(D, 1);
1006
1022
  } else
1007
- S = s.props.value;
1008
- if (s.props.onClick && s.props.onClick(l), b !== S && (te(S), L)) {
1009
- const A = l.nativeEvent || l, ze = new A.constructor(A.type, A);
1010
- Object.defineProperty(ze, "target", {
1023
+ R = s.props.value;
1024
+ if (s.props.onClick && s.props.onClick(l), g !== R && (Me(R), W)) {
1025
+ const D = l.nativeEvent || l, Ve = new D.constructor(D.type, D);
1026
+ Object.defineProperty(Ve, "target", {
1011
1027
  writable: !0,
1012
1028
  value: {
1013
- value: S,
1014
- name: I
1029
+ value: R,
1030
+ name: S
1015
1031
  }
1016
- }), L(ze, s);
1032
+ }), W(Ve, s);
1017
1033
  }
1018
- C || re(!1, l);
1034
+ I || re(!1, l);
1019
1035
  }
1020
- }, po = (s) => {
1021
- Z || [
1036
+ }, co = (s) => {
1037
+ ee || [
1022
1038
  " ",
1023
1039
  "ArrowUp",
1024
1040
  "ArrowDown",
@@ -1026,39 +1042,39 @@ const Do = (o) => {
1026
1042
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
1027
1043
  "Enter"
1028
1044
  ].includes(s.key) && (s.preventDefault(), re(!0, s));
1029
- }, ae = M !== null && Me, uo = (s) => {
1030
- !ae && N && (Object.defineProperty(s, "target", {
1045
+ }, K = j !== null && je, fo = (s) => {
1046
+ !K && N && (Object.defineProperty(s, "target", {
1031
1047
  writable: !0,
1032
1048
  value: {
1033
- value: b,
1034
- name: I
1049
+ value: g,
1050
+ name: S
1035
1051
  }
1036
1052
  }), N(s));
1037
1053
  };
1038
- delete _["aria-invalid"];
1039
- let W, Be;
1040
- const ie = [];
1041
- let le = !1, ge = !1;
1042
- (ho({
1043
- value: b
1044
- }) || O) && (ee ? W = ee(b) : le = !0);
1045
- const co = se.map((s) => {
1054
+ delete A["aria-invalid"];
1055
+ let U, We;
1056
+ const ae = [];
1057
+ let ie = !1, fe = !1;
1058
+ (Co({
1059
+ value: g
1060
+ }) || O) && (oe ? U = oe(g) : ie = !0);
1061
+ const bo = se.map((s) => {
1046
1062
  if (!/* @__PURE__ */ u.isValidElement(s))
1047
1063
  return null;
1048
- process.env.NODE_ENV !== "production" && vo.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1064
+ process.env.NODE_ENV !== "production" && mo.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1049
1065
  `));
1050
1066
  let l;
1051
- if (C) {
1052
- if (!Array.isArray(b))
1053
- throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : fo(2));
1054
- l = b.some((S) => _e(S, s.props.value)), l && le && ie.push(s.props.children);
1067
+ if (I) {
1068
+ if (!Array.isArray(g))
1069
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : go(2));
1070
+ l = g.some((R) => Ke(R, s.props.value)), l && ie && ae.push(s.props.children);
1055
1071
  } else
1056
- l = _e(b, s.props.value), l && le && (Be = s.props.children);
1057
- return l && (ge = !0), /* @__PURE__ */ u.cloneElement(s, {
1072
+ l = Ke(g, s.props.value), l && ie && (We = s.props.children);
1073
+ return l && (fe = !0), /* @__PURE__ */ u.cloneElement(s, {
1058
1074
  "aria-selected": l ? "true" : "false",
1059
- onClick: lo(s),
1060
- onKeyUp: (S) => {
1061
- S.key === " " && S.preventDefault(), s.props.onKeyUp && s.props.onKeyUp(S);
1075
+ onClick: uo(s),
1076
+ onKeyUp: (R) => {
1077
+ R.key === " " && R.preventDefault(), s.props.onKeyUp && s.props.onKeyUp(R);
1062
1078
  },
1063
1079
  role: "option",
1064
1080
  selected: l,
@@ -1069,76 +1085,80 @@ const Do = (o) => {
1069
1085
  });
1070
1086
  });
1071
1087
  process.env.NODE_ENV !== "production" && u.useEffect(() => {
1072
- if (!ge && !C && b !== "") {
1088
+ if (!fe && !I && g !== "") {
1073
1089
  const s = se.map((l) => l.props.value);
1074
- console.warn([`MUI: You have provided an out-of-range value \`${b}\` for the select ${I ? `(name="${I}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${s.filter((l) => l != null).map((l) => `\`${l}\``).join(", ") || '""'}.`].join(`
1090
+ console.warn([`MUI: You have provided an out-of-range value \`${g}\` for the select ${S ? `(name="${S}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${s.filter((l) => l != null).map((l) => `\`${l}\``).join(", ") || '""'}.`].join(`
1075
1091
  `));
1076
1092
  }
1077
- }, [ge, se, C, I, b]), le && (C ? ie.length === 0 ? W = null : W = ie.reduce((s, l, S) => (s.push(l), S < ie.length - 1 && s.push(", "), s), []) : W = Be);
1078
- let We = to;
1079
- !a && me && M && (We = ne.clientWidth);
1080
- let ve;
1081
- typeof $ < "u" ? ve = $ : ve = c ? null : 0;
1082
- const Ae = B.id || (I ? `mui-component-select-${I}` : void 0), pe = {
1093
+ }, [fe, se, I, S, g]), ie && (I ? ae.length === 0 ? U = null : U = ae.reduce((s, l, R) => (s.push(l), R < ae.length - 1 && s.push(", "), s), []) : U = We);
1094
+ let Ae = ro;
1095
+ !a && ce && j && (Ae = ne.clientWidth);
1096
+ let be;
1097
+ typeof F < "u" ? be = F : be = c ? null : 0;
1098
+ const Ue = $.id || (S ? `mui-component-select-${S}` : void 0), le = {
1083
1099
  ...t,
1084
- variant: Fe,
1085
- value: b,
1086
- open: ae,
1087
- error: R
1088
- }, ye = Do(pe), he = {
1100
+ variant: te,
1101
+ value: g,
1102
+ open: K,
1103
+ error: C
1104
+ }, me = _o(le), ge = {
1089
1105
  ...x.PaperProps,
1090
- ...(De = x.slotProps) == null ? void 0 : De.paper
1091
- }, Ue = Co();
1092
- return /* @__PURE__ */ Se(u.Fragment, {
1093
- children: [/* @__PURE__ */ v(Bo, {
1106
+ ...(ze = x.slotProps) == null ? void 0 : ze.paper
1107
+ }, De = So();
1108
+ return /* @__PURE__ */ Oe(u.Fragment, {
1109
+ children: [/* @__PURE__ */ v(Do, {
1094
1110
  as: "div",
1095
- ref: ro,
1096
- tabIndex: ve,
1111
+ ref: ao,
1112
+ tabIndex: be,
1097
1113
  role: "combobox",
1098
- "aria-controls": Ue,
1114
+ "aria-controls": K ? De : void 0,
1099
1115
  "aria-disabled": c ? "true" : void 0,
1100
- "aria-expanded": ae ? "true" : "false",
1116
+ "aria-expanded": K ? "true" : "false",
1101
1117
  "aria-haspopup": "listbox",
1102
1118
  "aria-label": i,
1103
- "aria-labelledby": [y, Ae].filter(Boolean).join(" ") || void 0,
1119
+ "aria-labelledby": [y, Ue].filter(Boolean).join(" ") || void 0,
1104
1120
  "aria-describedby": r,
1105
- onKeyDown: po,
1106
- onMouseDown: c || Z ? null : so,
1107
- onBlur: uo,
1108
- onFocus: be,
1109
- ...B,
1110
- ownerState: pe,
1111
- className: fe(B.className, ye.select, m),
1112
- id: Ae,
1113
- children: Uo(W) ? (
1121
+ "aria-required": _ ? "true" : void 0,
1122
+ "aria-invalid": C ? "true" : void 0,
1123
+ onKeyDown: co,
1124
+ onMouseDown: c || ee ? null : io,
1125
+ onBlur: fo,
1126
+ onFocus: de,
1127
+ ...$,
1128
+ ownerState: le,
1129
+ className: pe($.className, me.select, b),
1130
+ id: Ue,
1131
+ children: qo(U) ? (
1114
1132
  // notranslate needed while Google Translate will not fix zero-width space issue
1115
- qe || (qe = /* @__PURE__ */ v("span", {
1133
+ _e || (_e = /* @__PURE__ */ v("span", {
1116
1134
  className: "notranslate",
1135
+ "aria-hidden": !0,
1117
1136
  children: "​"
1118
1137
  }))
1119
- ) : W
1120
- }), /* @__PURE__ */ v(Ao, {
1121
- "aria-invalid": R,
1122
- value: Array.isArray(b) ? b.join(",") : b,
1123
- name: I,
1124
- ref: je,
1138
+ ) : U
1139
+ }), /* @__PURE__ */ v(Vo, {
1140
+ "aria-invalid": C,
1141
+ value: Array.isArray(g) ? g.join(",") : g,
1142
+ name: S,
1143
+ ref: Le,
1125
1144
  "aria-hidden": !0,
1126
- onChange: io,
1145
+ onChange: po,
1127
1146
  tabIndex: -1,
1128
1147
  disabled: c,
1129
- className: ye.nativeInput,
1148
+ className: me.nativeInput,
1130
1149
  autoFocus: p,
1131
- ..._,
1132
- ownerState: pe
1133
- }), /* @__PURE__ */ v(Wo, {
1150
+ required: _,
1151
+ ...A,
1152
+ ownerState: le
1153
+ }), /* @__PURE__ */ v(zo, {
1134
1154
  as: w,
1135
- className: ye.icon,
1136
- ownerState: pe
1137
- }), /* @__PURE__ */ v(yo, {
1138
- id: `menu-${I || ""}`,
1155
+ className: me.icon,
1156
+ ownerState: le
1157
+ }), /* @__PURE__ */ v(Oo, {
1158
+ id: `menu-${S || ""}`,
1139
1159
  anchorEl: ne,
1140
- open: ae,
1141
- onClose: ao,
1160
+ open: K,
1161
+ onClose: lo,
1142
1162
  anchorOrigin: {
1143
1163
  vertical: "bottom",
1144
1164
  horizontal: "center"
@@ -1151,26 +1171,26 @@ const Do = (o) => {
1151
1171
  MenuListProps: {
1152
1172
  "aria-labelledby": y,
1153
1173
  role: "listbox",
1154
- "aria-multiselectable": C ? "true" : void 0,
1174
+ "aria-multiselectable": I ? "true" : void 0,
1155
1175
  disableListWrap: !0,
1156
- id: Ue,
1176
+ id: De,
1157
1177
  ...x.MenuListProps
1158
1178
  },
1159
1179
  slotProps: {
1160
1180
  ...x.slotProps,
1161
1181
  paper: {
1162
- ...he,
1182
+ ...ge,
1163
1183
  style: {
1164
- minWidth: We,
1165
- ...he != null ? he.style : null
1184
+ minWidth: Ae,
1185
+ ...ge != null ? ge.style : null
1166
1186
  }
1167
1187
  }
1168
1188
  },
1169
- children: co
1189
+ children: bo
1170
1190
  })]
1171
1191
  });
1172
1192
  });
1173
- process.env.NODE_ENV !== "production" && (Ye.propTypes = {
1193
+ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1174
1194
  /**
1175
1195
  * @ignore
1176
1196
  */
@@ -1230,7 +1250,7 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
1230
1250
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
1231
1251
  * Equivalent to `ref`
1232
1252
  */
1233
- inputRef: G,
1253
+ inputRef: J,
1234
1254
  /**
1235
1255
  * The ID of an element that acts as an additional label. The Select will
1236
1256
  * be labelled by the additional label and the selected value.
@@ -1293,6 +1313,10 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
1293
1313
  * @returns {ReactNode}
1294
1314
  */
1295
1315
  renderValue: e.func,
1316
+ /**
1317
+ * If `true`, the component is required.
1318
+ */
1319
+ required: e.bool,
1296
1320
  /**
1297
1321
  * Props applied to the clickable div element.
1298
1322
  */
@@ -1314,16 +1338,7 @@ process.env.NODE_ENV !== "production" && (Ye.propTypes = {
1314
1338
  */
1315
1339
  variant: e.oneOf(["standard", "outlined", "filled"])
1316
1340
  });
1317
- const zo = Io(/* @__PURE__ */ v("path", {
1318
- d: "M7 10l5 5 5-5z"
1319
- }), "ArrowDropDown");
1320
- function Vo(o) {
1321
- return U("MuiFilledInput", o);
1322
- }
1323
- const j = {
1324
- ...xe,
1325
- ...D("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
1326
- }, qo = (o) => {
1341
+ const Ko = (o) => {
1327
1342
  const {
1328
1343
  classes: t,
1329
1344
  disableUnderline: n,
@@ -1332,16 +1347,16 @@ const j = {
1332
1347
  size: p,
1333
1348
  hiddenLabel: a,
1334
1349
  multiline: d
1335
- } = o, m = {
1336
- root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${V(p)}`, a && "hiddenLabel", d && "multiline"],
1350
+ } = o, b = {
1351
+ root: ["root", !n && "underline", r && "adornedStart", i && "adornedEnd", p === "small" && `size${q(p)}`, a && "hiddenLabel", d && "multiline"],
1337
1352
  input: ["input"]
1338
- }, g = z(m, Vo, t);
1353
+ }, m = B(b, No, t);
1339
1354
  return {
1340
1355
  ...t,
1341
1356
  // forward classes to the InputBase
1342
- ...g
1357
+ ...m
1343
1358
  };
1344
- }, _o = h(we, {
1359
+ }, Xo = h(Re, {
1345
1360
  shouldForwardProp: (o) => k(o) || o === "classes",
1346
1361
  name: "MuiFilledInput",
1347
1362
  slot: "Root",
@@ -1349,7 +1364,7 @@ const j = {
1349
1364
  const {
1350
1365
  ownerState: n
1351
1366
  } = o;
1352
- return [...Te(o, t), !n.disableUnderline && t.underline];
1367
+ return [...xe(o, t), !n.disableUnderline && t.underline];
1353
1368
  }
1354
1369
  })(E(({
1355
1370
  theme: o
@@ -1371,10 +1386,10 @@ const j = {
1371
1386
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
1372
1387
  }
1373
1388
  },
1374
- [`&.${j.focused}`]: {
1389
+ [`&.${L.focused}`]: {
1375
1390
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
1376
1391
  },
1377
- [`&.${j.disabled}`]: {
1392
+ [`&.${L.disabled}`]: {
1378
1393
  backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : p
1379
1394
  },
1380
1395
  variants: [{
@@ -1396,12 +1411,12 @@ const j = {
1396
1411
  pointerEvents: "none"
1397
1412
  // Transparent to the hover style.
1398
1413
  },
1399
- [`&.${j.focused}:after`]: {
1414
+ [`&.${L.focused}:after`]: {
1400
1415
  // translateX(0) is a workaround for Safari transform scale bug
1401
1416
  // See https://github.com/mui/material-ui/issues/31766
1402
1417
  transform: "scaleX(1) translateX(0)"
1403
1418
  },
1404
- [`&.${j.error}`]: {
1419
+ [`&.${L.error}`]: {
1405
1420
  "&::before, &::after": {
1406
1421
  borderBottomColor: (o.vars || o).palette.error.main
1407
1422
  }
@@ -1419,14 +1434,14 @@ const j = {
1419
1434
  pointerEvents: "none"
1420
1435
  // Transparent to the hover style.
1421
1436
  },
1422
- [`&:hover:not(.${j.disabled}, .${j.error}):before`]: {
1437
+ [`&:hover:not(.${L.disabled}, .${L.error}):before`]: {
1423
1438
  borderBottom: `1px solid ${(o.vars || o).palette.text.primary}`
1424
1439
  },
1425
- [`&.${j.disabled}:before`]: {
1440
+ [`&.${L.disabled}:before`]: {
1426
1441
  borderBottomStyle: "dotted"
1427
1442
  }
1428
1443
  }
1429
- }, ...Object.entries(o.palette).filter(Re()).map(([a]) => {
1444
+ }, ...Object.entries(o.palette).filter(Ce()).map(([a]) => {
1430
1445
  var d;
1431
1446
  return {
1432
1447
  props: {
@@ -1487,10 +1502,10 @@ const j = {
1487
1502
  }
1488
1503
  }]
1489
1504
  };
1490
- })), Ko = h(Ne, {
1505
+ })), Ho = h(we, {
1491
1506
  name: "MuiFilledInput",
1492
1507
  slot: "Input",
1493
- overridesResolver: Pe
1508
+ overridesResolver: Te
1494
1509
  })(E(({
1495
1510
  theme: o
1496
1511
  }) => ({
@@ -1569,8 +1584,8 @@ const j = {
1569
1584
  paddingRight: 0
1570
1585
  }
1571
1586
  }]
1572
- }))), ue = /* @__PURE__ */ u.forwardRef(function(t, n) {
1573
- const r = H({
1587
+ }))), $e = /* @__PURE__ */ u.forwardRef(function(t, n) {
1588
+ const r = G({
1574
1589
  props: t,
1575
1590
  name: "MuiFilledInput"
1576
1591
  }), {
@@ -1578,45 +1593,45 @@ const j = {
1578
1593
  components: p = {},
1579
1594
  componentsProps: a,
1580
1595
  fullWidth: d = !1,
1581
- hiddenLabel: m,
1596
+ hiddenLabel: b,
1582
1597
  // declare here to prevent spreading to DOM
1583
- inputComponent: g = "input",
1598
+ inputComponent: m = "input",
1584
1599
  multiline: f = !1,
1585
1600
  slotProps: c,
1586
1601
  slots: O = {},
1587
- type: R = "text",
1602
+ type: C = "text",
1588
1603
  ...w
1589
1604
  } = r, T = {
1590
1605
  ...r,
1591
1606
  disableUnderline: i,
1592
1607
  fullWidth: d,
1593
- inputComponent: g,
1608
+ inputComponent: m,
1594
1609
  multiline: f,
1595
- type: R
1596
- }, y = qo(r), x = {
1610
+ type: C
1611
+ }, y = Ko(r), x = {
1597
1612
  root: {
1598
1613
  ownerState: T
1599
1614
  },
1600
1615
  input: {
1601
1616
  ownerState: T
1602
1617
  }
1603
- }, C = c ?? a ? Oe(x, c ?? a) : x, I = O.root ?? p.Root ?? _o, N = O.input ?? p.Input ?? Ko;
1604
- return /* @__PURE__ */ v($e, {
1618
+ }, I = c ?? a ? ve(x, c ?? a) : x, S = O.root ?? p.Root ?? Xo, N = O.input ?? p.Input ?? Ho;
1619
+ return /* @__PURE__ */ v(Se, {
1605
1620
  slots: {
1606
- root: I,
1621
+ root: S,
1607
1622
  input: N
1608
1623
  },
1609
- componentsProps: C,
1624
+ slotProps: I,
1610
1625
  fullWidth: d,
1611
- inputComponent: g,
1626
+ inputComponent: m,
1612
1627
  multiline: f,
1613
1628
  ref: n,
1614
- type: R,
1629
+ type: C,
1615
1630
  ...w,
1616
1631
  classes: y
1617
1632
  });
1618
1633
  });
1619
- process.env.NODE_ENV !== "production" && (ue.propTypes = {
1634
+ process.env.NODE_ENV !== "production" && ($e.propTypes = {
1620
1635
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1621
1636
  // │ These PropTypes are generated from the TypeScript type definitions. │
1622
1637
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1718,7 +1733,7 @@ process.env.NODE_ENV !== "production" && (ue.propTypes = {
1718
1733
  /**
1719
1734
  * Pass a ref to the `input` element.
1720
1735
  */
1721
- inputRef: G,
1736
+ inputRef: J,
1722
1737
  /**
1723
1738
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1724
1739
  * FormControl.
@@ -1808,9 +1823,9 @@ process.env.NODE_ENV !== "production" && (ue.propTypes = {
1808
1823
  */
1809
1824
  value: e.any
1810
1825
  });
1811
- ue && (ue.muiName = "Input");
1812
- var Ke;
1813
- const Xo = h("fieldset", {
1826
+ $e.muiName = "Input";
1827
+ var Xe;
1828
+ const Go = h("fieldset", {
1814
1829
  shouldForwardProp: k
1815
1830
  })({
1816
1831
  textAlign: "left",
@@ -1827,7 +1842,7 @@ const Xo = h("fieldset", {
1827
1842
  borderWidth: 1,
1828
1843
  overflow: "hidden",
1829
1844
  minWidth: "0%"
1830
- }), Ho = h("legend", {
1845
+ }), Jo = h("legend", {
1831
1846
  shouldForwardProp: k
1832
1847
  })(E(({
1833
1848
  theme: o
@@ -1891,7 +1906,7 @@ const Xo = h("fieldset", {
1891
1906
  }
1892
1907
  }]
1893
1908
  })));
1894
- function Qe(o) {
1909
+ function eo(o) {
1895
1910
  const {
1896
1911
  children: t,
1897
1912
  classes: n,
@@ -1899,31 +1914,32 @@ function Qe(o) {
1899
1914
  label: i,
1900
1915
  notched: p,
1901
1916
  ...a
1902
- } = o, d = i != null && i !== "", m = {
1917
+ } = o, d = i != null && i !== "", b = {
1903
1918
  ...o,
1904
1919
  notched: p,
1905
1920
  withLabel: d
1906
1921
  };
1907
- return /* @__PURE__ */ v(Xo, {
1922
+ return /* @__PURE__ */ v(Go, {
1908
1923
  "aria-hidden": !0,
1909
1924
  className: r,
1910
- ownerState: m,
1925
+ ownerState: b,
1911
1926
  ...a,
1912
- children: /* @__PURE__ */ v(Ho, {
1913
- ownerState: m,
1927
+ children: /* @__PURE__ */ v(Jo, {
1928
+ ownerState: b,
1914
1929
  children: d ? /* @__PURE__ */ v("span", {
1915
1930
  children: i
1916
1931
  }) : (
1917
1932
  // notranslate needed while Google Translate will not fix zero-width space issue
1918
- Ke || (Ke = /* @__PURE__ */ v("span", {
1933
+ Xe || (Xe = /* @__PURE__ */ v("span", {
1919
1934
  className: "notranslate",
1935
+ "aria-hidden": !0,
1920
1936
  children: "​"
1921
1937
  }))
1922
1938
  )
1923
1939
  })
1924
1940
  });
1925
1941
  }
1926
- process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1942
+ process.env.NODE_ENV !== "production" && (eo.propTypes = {
1927
1943
  /**
1928
1944
  * The content of the component.
1929
1945
  */
@@ -1949,30 +1965,24 @@ process.env.NODE_ENV !== "production" && (Qe.propTypes = {
1949
1965
  */
1950
1966
  style: e.object
1951
1967
  });
1952
- function Go(o) {
1953
- return U("MuiOutlinedInput", o);
1954
- }
1955
- const P = {
1956
- ...xe,
1957
- ...D("MuiOutlinedInput", ["root", "notchedOutline", "input"])
1958
- }, Jo = (o) => {
1968
+ const Yo = (o) => {
1959
1969
  const {
1960
1970
  classes: t
1961
- } = o, r = z({
1971
+ } = o, r = B({
1962
1972
  root: ["root"],
1963
1973
  notchedOutline: ["notchedOutline"],
1964
1974
  input: ["input"]
1965
- }, Go, t);
1975
+ }, To, t);
1966
1976
  return {
1967
1977
  ...t,
1968
1978
  // forward classes to the InputBase
1969
1979
  ...r
1970
1980
  };
1971
- }, Yo = h(we, {
1981
+ }, Zo = h(Re, {
1972
1982
  shouldForwardProp: (o) => k(o) || o === "classes",
1973
1983
  name: "MuiOutlinedInput",
1974
1984
  slot: "Root",
1975
- overridesResolver: Te
1985
+ overridesResolver: xe
1976
1986
  })(E(({
1977
1987
  theme: o
1978
1988
  }) => {
@@ -1992,7 +2002,7 @@ const P = {
1992
2002
  [`&.${P.focused} .${P.notchedOutline}`]: {
1993
2003
  borderWidth: 2
1994
2004
  },
1995
- variants: [...Object.entries(o.palette).filter(Re()).map(([n]) => ({
2005
+ variants: [...Object.entries(o.palette).filter(Ce()).map(([n]) => ({
1996
2006
  props: {
1997
2007
  color: n
1998
2008
  },
@@ -2043,7 +2053,7 @@ const P = {
2043
2053
  }
2044
2054
  }]
2045
2055
  };
2046
- })), Qo = h(Qe, {
2056
+ })), Qo = h(eo, {
2047
2057
  name: "MuiOutlinedInput",
2048
2058
  slot: "NotchedOutline",
2049
2059
  overridesResolver: (o, t) => t.notchedOutline
@@ -2054,10 +2064,10 @@ const P = {
2054
2064
  return {
2055
2065
  borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
2056
2066
  };
2057
- })), Zo = h(Ne, {
2067
+ })), et = h(we, {
2058
2068
  name: "MuiOutlinedInput",
2059
2069
  slot: "Input",
2060
- overridesResolver: Pe
2070
+ overridesResolver: Te
2061
2071
  })(E(({
2062
2072
  theme: o
2063
2073
  }) => ({
@@ -2111,22 +2121,22 @@ const P = {
2111
2121
  paddingRight: 0
2112
2122
  }
2113
2123
  }]
2114
- }))), ce = /* @__PURE__ */ u.forwardRef(function(t, n) {
2124
+ }))), ke = /* @__PURE__ */ u.forwardRef(function(t, n) {
2115
2125
  var r;
2116
- const i = H({
2126
+ const i = G({
2117
2127
  props: t,
2118
2128
  name: "MuiOutlinedInput"
2119
2129
  }), {
2120
2130
  components: p = {},
2121
2131
  fullWidth: a = !1,
2122
2132
  inputComponent: d = "input",
2123
- label: m,
2124
- multiline: g = !1,
2133
+ label: b,
2134
+ multiline: m = !1,
2125
2135
  notched: f,
2126
2136
  slots: c = {},
2127
2137
  type: O = "text",
2128
- ...R
2129
- } = i, w = Jo(i), T = Ie(), y = Ce({
2138
+ ...C
2139
+ } = i, w = Yo(i), T = he(), y = ye({
2130
2140
  props: i,
2131
2141
  muiFormControl: T,
2132
2142
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
@@ -2139,36 +2149,36 @@ const P = {
2139
2149
  formControl: T,
2140
2150
  fullWidth: a,
2141
2151
  hiddenLabel: y.hiddenLabel,
2142
- multiline: g,
2152
+ multiline: m,
2143
2153
  size: y.size,
2144
2154
  type: O
2145
- }, C = c.root ?? p.Root ?? Yo, I = c.input ?? p.Input ?? Zo;
2146
- return /* @__PURE__ */ v($e, {
2155
+ }, I = c.root ?? p.Root ?? Zo, S = c.input ?? p.Input ?? et;
2156
+ return /* @__PURE__ */ v(Se, {
2147
2157
  slots: {
2148
- root: C,
2149
- input: I
2158
+ root: I,
2159
+ input: S
2150
2160
  },
2151
2161
  renderSuffix: (N) => /* @__PURE__ */ v(Qo, {
2152
2162
  ownerState: x,
2153
2163
  className: w.notchedOutline,
2154
- label: m != null && m !== "" && y.required ? r || (r = /* @__PURE__ */ Se(u.Fragment, {
2155
- children: [m, " ", "*"]
2156
- })) : m,
2164
+ label: b != null && b !== "" && y.required ? r || (r = /* @__PURE__ */ Oe(u.Fragment, {
2165
+ children: [b, " ", "*"]
2166
+ })) : b,
2157
2167
  notched: typeof f < "u" ? f : !!(N.startAdornment || N.filled || N.focused)
2158
2168
  }),
2159
2169
  fullWidth: a,
2160
2170
  inputComponent: d,
2161
- multiline: g,
2171
+ multiline: m,
2162
2172
  ref: n,
2163
2173
  type: O,
2164
- ...R,
2174
+ ...C,
2165
2175
  classes: {
2166
2176
  ...w,
2167
2177
  notchedOutline: null
2168
2178
  }
2169
2179
  });
2170
2180
  });
2171
- process.env.NODE_ENV !== "production" && (ce.propTypes = {
2181
+ process.env.NODE_ENV !== "production" && (ke.propTypes = {
2172
2182
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2173
2183
  // │ These PropTypes are generated from the TypeScript type definitions. │
2174
2184
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2246,7 +2256,7 @@ process.env.NODE_ENV !== "production" && (ce.propTypes = {
2246
2256
  /**
2247
2257
  * Pass a ref to the `input` element.
2248
2258
  */
2249
- inputRef: G,
2259
+ inputRef: J,
2250
2260
  /**
2251
2261
  * The label of the `input`. It is only used for layout. The actual labelling
2252
2262
  * is handled by `InputLabel`.
@@ -2333,19 +2343,24 @@ process.env.NODE_ENV !== "production" && (ce.propTypes = {
2333
2343
  */
2334
2344
  value: e.any
2335
2345
  });
2336
- ce && (ce.muiName = "Input");
2337
- const et = (o) => {
2346
+ ke.muiName = "Input";
2347
+ const ot = (o) => {
2338
2348
  const {
2339
2349
  classes: t
2340
- } = o;
2341
- return t;
2350
+ } = o, r = B({
2351
+ root: ["root"]
2352
+ }, Ze, t);
2353
+ return {
2354
+ ...t,
2355
+ ...r
2356
+ };
2342
2357
  }, Ee = {
2343
2358
  name: "MuiSelect",
2344
2359
  overridesResolver: (o, t) => t.root,
2345
2360
  shouldForwardProp: (o) => k(o) && o !== "variant",
2346
2361
  slot: "Root"
2347
- }, ot = h(de, Ee)(""), tt = h(ce, Ee)(""), nt = h(ue, Ee)(""), Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
2348
- const r = H({
2362
+ }, tt = h(Ne, Ee)(""), nt = h(ke, Ee)(""), rt = h($e, Ee)(""), oo = /* @__PURE__ */ u.forwardRef(function(t, n) {
2363
+ const r = G({
2349
2364
  name: "MuiSelect",
2350
2365
  props: t
2351
2366
  }), {
@@ -2353,86 +2368,86 @@ const et = (o) => {
2353
2368
  children: p,
2354
2369
  classes: a = {},
2355
2370
  className: d,
2356
- defaultOpen: m = !1,
2357
- displayEmpty: g = !1,
2358
- IconComponent: f = zo,
2371
+ defaultOpen: b = !1,
2372
+ displayEmpty: m = !1,
2373
+ IconComponent: f = Po,
2359
2374
  id: c,
2360
2375
  input: O,
2361
- inputProps: R,
2376
+ inputProps: C,
2362
2377
  label: w,
2363
2378
  labelId: T,
2364
2379
  MenuProps: y,
2365
2380
  multiple: x = !1,
2366
- native: C = !1,
2367
- onClose: I,
2381
+ native: I = !1,
2382
+ onClose: S,
2368
2383
  onOpen: N,
2369
- open: L,
2370
- renderValue: J,
2371
- SelectDisplayProps: be,
2372
- variant: Y = "outlined",
2384
+ open: W,
2385
+ renderValue: Y,
2386
+ SelectDisplayProps: de,
2387
+ variant: Z = "outlined",
2373
2388
  ...Q
2374
- } = r, Z = C ? Je : Ye, ee = Ie(), B = Ce({
2389
+ } = r, ee = I ? Ye : Qe, oe = he(), _ = ye({
2375
2390
  props: r,
2376
- muiFormControl: ee,
2391
+ muiFormControl: oe,
2377
2392
  states: ["variant", "error"]
2378
- }), $ = B.variant || Y, q = {
2393
+ }), $ = _.variant || Z, F = {
2379
2394
  ...r,
2380
2395
  variant: $,
2381
2396
  classes: a
2382
- }, oe = et(q), {
2397
+ }, ue = ot(F), {
2383
2398
  root: Fe,
2384
- ..._
2385
- } = oe, b = O || {
2386
- standard: /* @__PURE__ */ v(ot, {
2387
- ownerState: q
2399
+ ...te
2400
+ } = ue, A = O || {
2401
+ standard: /* @__PURE__ */ v(tt, {
2402
+ ownerState: F
2388
2403
  }),
2389
- outlined: /* @__PURE__ */ v(tt, {
2404
+ outlined: /* @__PURE__ */ v(nt, {
2390
2405
  label: w,
2391
- ownerState: q
2406
+ ownerState: F
2392
2407
  }),
2393
- filled: /* @__PURE__ */ v(nt, {
2394
- ownerState: q
2408
+ filled: /* @__PURE__ */ v(rt, {
2409
+ ownerState: F
2395
2410
  })
2396
- }[$], te = Xe(n, So(b));
2411
+ }[$], g = He(n, xo(A));
2397
2412
  return /* @__PURE__ */ v(u.Fragment, {
2398
- children: /* @__PURE__ */ u.cloneElement(b, {
2413
+ children: /* @__PURE__ */ u.cloneElement(A, {
2399
2414
  // Most of the logic is implemented in `SelectInput`.
2400
2415
  // The `Select` component is a simple API wrapper to expose something better to play with.
2401
- inputComponent: Z,
2416
+ inputComponent: ee,
2402
2417
  inputProps: {
2403
2418
  children: p,
2404
- error: B.error,
2419
+ error: _.error,
2405
2420
  IconComponent: f,
2406
2421
  variant: $,
2407
2422
  type: void 0,
2408
2423
  // We render a select. We can ignore the type provided by the `Input`.
2409
2424
  multiple: x,
2410
- ...C ? {
2425
+ ...I ? {
2411
2426
  id: c
2412
2427
  } : {
2413
2428
  autoWidth: i,
2414
- defaultOpen: m,
2415
- displayEmpty: g,
2429
+ defaultOpen: b,
2430
+ displayEmpty: m,
2416
2431
  labelId: T,
2417
2432
  MenuProps: y,
2418
- onClose: I,
2433
+ onClose: S,
2419
2434
  onOpen: N,
2420
- open: L,
2421
- renderValue: J,
2435
+ open: W,
2436
+ renderValue: Y,
2422
2437
  SelectDisplayProps: {
2423
2438
  id: c,
2424
- ...be
2439
+ ...de
2425
2440
  }
2426
2441
  },
2427
- ...R,
2428
- classes: R ? Oe(_, R.classes) : _,
2442
+ ...C,
2443
+ classes: C ? ve(te, C.classes) : te,
2429
2444
  ...O ? O.props.inputProps : {}
2430
2445
  },
2431
- ...(x && C || g) && $ === "outlined" ? {
2446
+ ...(x && I || m) && $ === "outlined" ? {
2432
2447
  notched: !0
2433
2448
  } : {},
2434
- ref: te,
2435
- className: fe(b.props.className, d, oe.root),
2449
+ ref: g,
2450
+ className: pe(A.props.className, d, ue.root),
2436
2451
  // If a custom input is provided via 'input' prop, do not allow 'variant' to be propagated to it's root element. See https://github.com/mui/material-ui/issues/33894.
2437
2452
  ...!O && {
2438
2453
  variant: $
@@ -2441,7 +2456,7 @@ const et = (o) => {
2441
2456
  })
2442
2457
  });
2443
2458
  });
2444
- process.env.NODE_ENV !== "production" && (Ze.propTypes = {
2459
+ process.env.NODE_ENV !== "production" && (oo.propTypes = {
2445
2460
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2446
2461
  // │ These PropTypes are generated from the TypeScript type definitions. │
2447
2462
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2588,17 +2603,20 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
2588
2603
  */
2589
2604
  variant: e.oneOf(["filled", "outlined", "standard"])
2590
2605
  });
2591
- Ze.muiName = "Select";
2606
+ oo.muiName = "Select";
2592
2607
  export {
2593
- ue as F,
2594
- de as I,
2595
- ce as O,
2596
- Ze as S,
2597
- ko as a,
2608
+ Po as A,
2609
+ $e as F,
2610
+ Ne as I,
2611
+ ke as O,
2612
+ oo as S,
2613
+ Lo as a,
2598
2614
  Rt as b,
2599
- No as c,
2600
- Lo as d,
2601
- Ro as g,
2602
- K as i,
2603
- X as s
2615
+ Fo as c,
2616
+ Ze as d,
2617
+ L as f,
2618
+ wo as g,
2619
+ X as i,
2620
+ P as o,
2621
+ H as s
2604
2622
  };