@cgi-learning-hub/ui 1.3.5 → 1.4.0

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