@cgi-learning-hub/ui 1.7.0 → 1.8.0-dev.1756195117

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 (330) hide show
  1. package/dist/Alert-CCAddvmN.cjs +1 -0
  2. package/dist/{Alert-OeEy_IGc.js → Alert-CY0ot7Q9.js} +7 -7
  3. package/dist/Alert-Dqk8yUzj.cjs +1 -0
  4. package/dist/{Alert-BhLIlUBu.js → Alert-bpzERS3n.js} +85 -84
  5. package/dist/{Autocomplete-WZw_zCjA.js → Autocomplete-C58-IF0F.js} +692 -675
  6. package/dist/Autocomplete-Dr_nOPLP.cjs +6 -0
  7. package/dist/{Backdrop-CjZYrxkZ.js → Backdrop-BKhYF22u.js} +39 -38
  8. package/dist/Backdrop-D0LHg40V.cjs +1 -0
  9. package/dist/Badge-BLQ9lQDm.cjs +1 -0
  10. package/dist/{Badge-Bwcsnbsa.js → Badge-BYxYuye1.js} +11 -10
  11. package/dist/{Box-BI4osO9v.js → Box-CQ3BMNr_.js} +4 -4
  12. package/dist/Box-VEPJVs-3.cjs +1 -0
  13. package/dist/Button-7-ViQGIl.cjs +1 -0
  14. package/dist/{Button-DDV5EfwJ.js → Button-Bb0YW9kM.js} +162 -125
  15. package/dist/{ButtonBase-Dp6sf_dP.cjs → ButtonBase-B1T-Lqz2.cjs} +1 -1
  16. package/dist/{ButtonBase-6TF6t2SP.js → ButtonBase-BEtR8-Lv.js} +7 -7
  17. package/dist/CardContent-DHsA4vHZ.cjs +1 -0
  18. package/dist/{CardContent-D3uGcxlr.js → CardContent-D_O38a2P.js} +4 -4
  19. package/dist/{Checkbox-BfBDowB2.js → Checkbox-BUc4uLEm.js} +85 -84
  20. package/dist/Checkbox-CCUAaeKc.cjs +1 -0
  21. package/dist/Chip-BqD6kZQu.js +574 -0
  22. package/dist/Chip-Gtwf_H4u.cjs +1 -0
  23. package/dist/CircularProgress-9SSFT_JT.cjs +28 -0
  24. package/dist/{CircularProgress-DZuYTFz-.js → CircularProgress-DLHunSUI.js} +15 -14
  25. package/dist/{Close-DEMecSZ6.js → Close-Bfa6kvKL.js} +1 -1
  26. package/dist/{Close-7S2hSoFB.cjs → Close-DgAWdt-h.cjs} +1 -1
  27. package/dist/{CloseRounded-CioV1GK3.js → CloseRounded-BmxvxW3h.js} +1 -1
  28. package/dist/{CloseRounded-DS-4-gMR.cjs → CloseRounded-Cmyp8ExI.cjs} +1 -1
  29. package/dist/{CustomTreeItem-Bg8Ub4dn.cjs → CustomTreeItem-CAWvvti1.cjs} +3 -3
  30. package/dist/{CustomTreeItem-B9FylIhL.js → CustomTreeItem-R9JdfW5S.js} +19 -19
  31. package/dist/{DatePicker-DasS2wq6.js → DatePicker-CPl6e2jQ.js} +2766 -2762
  32. package/dist/DatePicker-DzmgZZm2.cjs +16 -0
  33. package/dist/DefaultPropsProvider--EgnwFDi.cjs +1 -0
  34. package/dist/DefaultPropsProvider-BwYGfRVu.js +312 -0
  35. package/dist/{Delete-B5VTV71K.js → Delete-BbsnDAxB.js} +1 -1
  36. package/dist/{Delete-BvkBJXEM.cjs → Delete-CP1l1lK0.cjs} +1 -1
  37. package/dist/{Dialog-DEWB041V.js → Dialog-Bopi9166.js} +18 -17
  38. package/dist/Dialog-DBeA-P-5.cjs +1 -0
  39. package/dist/{DialogContent-C294EkoQ.js → DialogContent-BjQDm7Pm.js} +4 -4
  40. package/dist/DialogContent-LhC5HOzk.cjs +1 -0
  41. package/dist/DialogTitle-BngRm8Ai.cjs +1 -0
  42. package/dist/{DialogTitle-BSiId6Q1.js → DialogTitle-Bo0Gi01d.js} +6 -6
  43. package/dist/Divider-BMvxID38.cjs +1 -0
  44. package/dist/{Divider-kKp4VqHh.js → Divider-DY0U9aTK.js} +27 -27
  45. package/dist/{Folder-BgQP5-Ve.js → Folder-BEocKcZQ.js} +1 -1
  46. package/dist/{Folder-BfLBqDHM.cjs → Folder-DH_JFLkH.cjs} +1 -1
  47. package/dist/{FormLabel-B3WAnPGP.js → FormLabel-BfxjK0e6.js} +17 -16
  48. package/dist/FormLabel-D8szBNPL.cjs +2 -0
  49. package/dist/Grid-BK4F7WMn.cjs +2 -0
  50. package/dist/{Grid-DFk-4jnZ.js → Grid-BcHG0Tju.js} +83 -75
  51. package/dist/{Grow-BULCy6GX.cjs → Grow-CYNh0mFI.cjs} +1 -1
  52. package/dist/{Grow-BfjkXlG8.js → Grow-DIADFmT4.js} +4 -4
  53. package/dist/{IconButton-BYvak8Nw.js → IconButton-Bkyl-NVE.js} +60 -59
  54. package/dist/IconButton-CW3Ax1Re.cjs +2 -0
  55. package/dist/InputAdornment-CUNCJ9uu.cjs +1 -0
  56. package/dist/{InputAdornment-BBZXvhZ-.js → InputAdornment-RdcIDDtB.js} +16 -15
  57. package/dist/{InputBase-BS5oknUK.js → InputBase-BQvkpGXw.js} +52 -51
  58. package/dist/InputBase-DlQ4AmeL.cjs +4 -0
  59. package/dist/Link-BSTFC-cm.cjs +1 -0
  60. package/dist/{Link-DYPjEdvu.js → Link-B_3z4AZj.js} +81 -67
  61. package/dist/{List-CB_cqCSw.js → List-3IHU9lAZ.js} +3 -3
  62. package/dist/List-D6OWN6pC.cjs +1 -0
  63. package/dist/{ListItem-DAZQEir2.js → ListItem-C40mdSeT.js} +6 -6
  64. package/dist/ListItem-DAW9xSDR.cjs +1 -0
  65. package/dist/ListItemText-CSkIbczH.cjs +1 -0
  66. package/dist/{ListItemText-qfdqJP77.js → ListItemText-DKZYTXDc.js} +139 -139
  67. package/dist/{Menu-C61wLk41.cjs → Menu-CYG4lAV5.cjs} +5 -5
  68. package/dist/{Menu-9BK8jmzW.js → Menu-v2809GzG.js} +14 -14
  69. package/dist/MenuItem-CE1zzd3t.cjs +1 -0
  70. package/dist/{MenuItem-C8nduSzJ.js → MenuItem-CtaUN7Tf.js} +94 -94
  71. package/dist/{Modal-D3Q9vEAI.js → Modal-5Sd-onxN.js} +8 -8
  72. package/dist/Modal-Czds3gRe.cjs +2 -0
  73. package/dist/{MoreVert-C_W1m_Z_.js → MoreVert-D8Vmampk.js} +1 -1
  74. package/dist/{MoreVert-C-Rhn-xK.cjs → MoreVert-oRU8DXq_.cjs} +1 -1
  75. package/dist/{Paper-IQckggbn.js → Paper-CVfXywZr.js} +5 -5
  76. package/dist/Paper-DfgCIvIc.cjs +2 -0
  77. package/dist/{Popper-CfFLBZ7-.js → Popper-AaewvJPc.js} +7 -7
  78. package/dist/Popper-D7N2KmyK.cjs +4 -0
  79. package/dist/Portal-Cmv45gpL.cjs +1 -0
  80. package/dist/{Portal-BlK6ttxt.js → Portal-PkRJuFYN.js} +17 -17
  81. package/dist/{Radio-DKiu6lVB.js → Radio-CJMMhGKK.js} +196 -190
  82. package/dist/Radio-DSTF6-0u.cjs +1 -0
  83. package/dist/RadioGroup-Dv2H8eCy.cjs +1 -0
  84. package/dist/{RadioGroup-DFKMlNWO.js → RadioGroup-HN8d8Ia5.js} +4 -4
  85. package/dist/{Select-CpNF3a57.js → Select-B3A-Agfw.js} +643 -608
  86. package/dist/Select-Dx8bhqFc.cjs +3 -0
  87. package/dist/Stack-BLHXEe7p.cjs +1 -0
  88. package/dist/{Stack-DSJ2DqNd.js → Stack-Dxm_cNN7.js} +17 -17
  89. package/dist/{Stepper-DE2l91K0.js → Stepper-BzU8ArmD.js} +24 -23
  90. package/dist/Stepper-DKRSy-u6.cjs +1 -0
  91. package/dist/{Switch-BIcwDf_P.js → Switch-Kkgo0WAh.js} +103 -99
  92. package/dist/Switch-pAIsJqNE.cjs +1 -0
  93. package/dist/{SwitchBase-DZV8S81Z.js → SwitchBase-D25OhIzI.js} +47 -43
  94. package/dist/SwitchBase-Rj-rHz4Z.cjs +1 -0
  95. package/dist/{Tab-Ckr6Bn59.js → Tab-CD-dlBpG.js} +29 -28
  96. package/dist/Tab-DAnZTr_J.cjs +4 -0
  97. package/dist/TextField-BOV-t6n5.cjs +1 -0
  98. package/dist/{TextField-BenBw4oE.js → TextField-hWLcPKMC.js} +25 -24
  99. package/dist/{ToggleButtonGroup-DhtAoGtM.js → ToggleButtonGroup-DnkyxRyH.js} +2192 -2136
  100. package/dist/ToggleButtonGroup-tZHZu6VI.cjs +138 -0
  101. package/dist/{Tooltip-KkgNQm4r.js → Tooltip-Dyhu9Axq.js} +87 -86
  102. package/dist/Tooltip-uaa7kSpb.cjs +4 -0
  103. package/dist/{Typography-Dy8r_tT2.js → Typography-BCrXGKM_.js} +8 -7
  104. package/dist/Typography-CzfDwsAP.cjs +1 -0
  105. package/dist/capitalize-CqfTUOe6.js +9 -0
  106. package/dist/capitalize-nmXHj--f.cjs +1 -0
  107. package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
  108. package/dist/components/ActionBar/ActionBar.d.ts +3 -0
  109. package/dist/components/ActionBar/ActionBar.es.js +63 -0
  110. package/dist/components/ActionBar/index.cjs.js +1 -0
  111. package/dist/components/ActionBar/index.d.ts +2 -0
  112. package/dist/components/ActionBar/index.es.js +4 -0
  113. package/dist/components/ActionBar/style.cjs.js +1 -0
  114. package/dist/components/ActionBar/style.es.js +61 -0
  115. package/dist/components/ActionBar/types.cjs.js +1 -0
  116. package/dist/components/ActionBar/types.d.ts +17 -0
  117. package/dist/components/ActionBar/types.es.js +1 -0
  118. package/dist/components/Alert/Alert.cjs.js +1 -1
  119. package/dist/components/Alert/Alert.es.js +4 -4
  120. package/dist/components/Alert/index.cjs.js +1 -1
  121. package/dist/components/Alert/index.es.js +1 -1
  122. package/dist/components/Button/Button.cjs.js +1 -1
  123. package/dist/components/Button/Button.es.js +2 -2
  124. package/dist/components/ColorPicker/ColorPicker.cjs.js +4 -4
  125. package/dist/components/ColorPicker/ColorPicker.es.js +64 -64
  126. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  127. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  128. package/dist/components/DatePicker/index.cjs.js +1 -1
  129. package/dist/components/DatePicker/index.es.js +1 -1
  130. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  131. package/dist/components/Dialog/Dialog.es.js +2 -2
  132. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  133. package/dist/components/Dropzone/Dropzone.es.js +4 -4
  134. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  135. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  136. package/dist/components/EmptyState/EmptyState.es.js +22 -20
  137. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  138. package/dist/components/FileList/FileIcon.es.js +1 -1
  139. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  140. package/dist/components/FileList/FileListItem.es.js +4 -4
  141. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  142. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  143. package/dist/components/Heading/Heading.cjs.js +1 -1
  144. package/dist/components/Heading/Heading.es.js +2 -2
  145. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  146. package/dist/components/ImagePicker/ImagePicker.es.js +5 -5
  147. package/dist/components/Loader/Loader.cjs.js +1 -1
  148. package/dist/components/Loader/Loader.es.js +1 -1
  149. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  150. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  151. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  152. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  153. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  154. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  155. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  156. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  157. package/dist/components/TreeView/TreeView.cjs.js +2 -2
  158. package/dist/components/TreeView/TreeView.es.js +41 -41
  159. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  160. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  161. package/dist/components/TreeView/types.d.ts +1 -0
  162. package/dist/components/TreeView/utils.cjs.js +1 -1
  163. package/dist/components/TreeView/utils.es.js +3 -3
  164. package/dist/components/index.cjs.js +1 -1
  165. package/dist/components/index.d.ts +2 -1
  166. package/dist/components/index.es.js +302 -300
  167. package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
  168. package/dist/components/stories/ActionBar.stories.d.ts +11 -0
  169. package/dist/components/stories/ActionBar.stories.es.js +206 -0
  170. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  171. package/dist/components/stories/Alert.stories.es.js +1 -1
  172. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  173. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  174. package/dist/components/stories/Badge.stories.cjs.js +1 -1
  175. package/dist/components/stories/Badge.stories.es.js +2 -2
  176. package/dist/components/stories/Button.stories.cjs.js +1 -1
  177. package/dist/components/stories/Button.stories.es.js +1 -1
  178. package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
  179. package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
  180. package/dist/components/stories/Card.stories.cjs.js +1 -1
  181. package/dist/components/stories/Card.stories.es.js +2 -2
  182. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  183. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  184. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Chip.stories.es.js +1 -1
  186. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  187. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  188. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  189. package/dist/components/stories/Dialog.stories.es.js +2 -2
  190. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  191. package/dist/components/stories/Divider.stories.es.js +1 -1
  192. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  193. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  194. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  195. package/dist/components/stories/Heading.stories.es.js +2 -2
  196. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  197. package/dist/components/stories/IconButton.stories.es.js +2 -2
  198. package/dist/components/stories/Link.stories.cjs.js +1 -1
  199. package/dist/components/stories/Link.stories.es.js +1 -1
  200. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  201. package/dist/components/stories/Menu.stories.es.js +2 -2
  202. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  203. package/dist/components/stories/Paper.stories.es.js +1 -1
  204. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  205. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  206. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  207. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  208. package/dist/components/stories/Select.stories.cjs.js +1 -1
  209. package/dist/components/stories/Select.stories.es.js +3 -3
  210. package/dist/components/stories/Stepper.stories.cjs.js +1 -1
  211. package/dist/components/stories/Stepper.stories.es.js +4 -4
  212. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  213. package/dist/components/stories/TabList.stories.es.js +1 -1
  214. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  215. package/dist/components/stories/TextField.stories.es.js +1 -1
  216. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  217. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  218. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  219. package/dist/components/stories/TreeView.stories.es.js +12 -12
  220. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  221. package/dist/components/stories/Typography.stories.es.js +1 -1
  222. package/dist/composeClasses-CF8TNlsM.cjs +1 -0
  223. package/dist/composeClasses-YZNMOb8-.js +51 -0
  224. package/dist/{createSvgIcon-B1E6Wo8z.js → createSvgIcon-CjBLQGwH.js} +9 -8
  225. package/dist/createSvgIcon-D6Bf0D-L.cjs +1 -0
  226. package/dist/dividerClasses-B-pTb1RM.cjs +1 -0
  227. package/dist/{dividerClasses-BPJZ8SFy.js → dividerClasses-DaeUd1Wt.js} +1 -1
  228. package/dist/{elementAcceptingRef-CEweUuUA.js → elementAcceptingRef-CZLfau9O.js} +1 -1
  229. package/dist/{elementAcceptingRef-BZ42cOGO.cjs → elementAcceptingRef-CuMilXz3.cjs} +1 -1
  230. package/dist/{elementTypeAcceptingRef-DOeckaXy.js → elementTypeAcceptingRef-vRb2iI4O.js} +1 -1
  231. package/dist/{elementTypeAcceptingRef-BwZv9xBI.cjs → elementTypeAcceptingRef-vjR5jGLx.cjs} +1 -1
  232. package/dist/extendSxProp-B7ear6Mt.cjs +1 -0
  233. package/dist/{extendSxProp-CesAxox9.js → extendSxProp-CYcZXmNy.js} +1 -1
  234. package/dist/generateUtilityClasses-BMLLB4Uz.cjs +55 -0
  235. package/dist/generateUtilityClasses-BSBs8sf8.js +2703 -0
  236. package/dist/{index-Sy88PpwE.js → index-B9vkf41S.js} +2 -2
  237. package/dist/{index-DIyAQH20.cjs → index-BS46Ff4t.cjs} +1 -1
  238. package/dist/{index-DX2Sl0Ig.js → index-Ba4TEBpP.js} +1 -1
  239. package/dist/index-C7LHZznM.cjs +1 -0
  240. package/dist/{index-CX0sAlmK.js → index-CJMnfcQs.js} +1 -1
  241. package/dist/{index-CrINMjCH.cjs → index-D_kvDIOz.cjs} +1 -1
  242. package/dist/{index-8G2jvqZ8.js → index-DoJhn5B5.js} +48 -42
  243. package/dist/{index-DLnSn8GT.cjs → index-kjfz41UI.cjs} +1 -1
  244. package/dist/index.cjs.js +1 -1
  245. package/dist/index.es.js +302 -300
  246. package/dist/{listItemTextClasses-B5VhLd9W.js → listItemTextClasses-BXp3ggQU.js} +1 -1
  247. package/dist/listItemTextClasses-DbXYCyua.cjs +1 -0
  248. package/dist/{memoTheme-BKfsJx_F.cjs → memoTheme-DZ3r2a_u.cjs} +1 -1
  249. package/dist/{memoTheme-DAFDflPY.js → memoTheme-_Lq-6t75.js} +1 -1
  250. package/dist/{mergeSlotProps-ChAye7iz.js → mergeSlotProps-BauotErM.js} +1 -1
  251. package/dist/mergeSlotProps-DxEGON0Z.cjs +1 -0
  252. package/dist/{refType-Dp7CJc86.js → refType-8hihVLUh.js} +1 -1
  253. package/dist/{refType-B_IEJm4x.cjs → refType-DJyA--UV.cjs} +1 -1
  254. package/dist/useSlot-BQ5B4uxv.cjs +1 -0
  255. package/dist/{useSlot-BzdKwDQ5.js → useSlot-EJyrOSVX.js} +1 -1
  256. package/dist/{useSlotProps-CrQGQLdL.cjs → useSlotProps-BgLi3k0l.cjs} +1 -1
  257. package/dist/{useSlotProps-DdMuGelR.js → useSlotProps-Dqdl-VjK.js} +1 -1
  258. package/dist/useTheme-B-uC25ym.js +11 -0
  259. package/dist/useTheme-BF7BEGuC.cjs +1 -0
  260. package/dist/useTheme-Bp-Kqg9p.cjs +1 -0
  261. package/dist/{useTheme--i9fxE_A.js → useTheme-DiTK5w6x.js} +1 -1
  262. package/dist/useThemeProps-BPpcxcBc.cjs +1 -0
  263. package/dist/{useThemeProps-B9E_wuN9.cjs → useThemeProps-BR4m1AIN.cjs} +1 -1
  264. package/dist/{useThemeProps-B4VFkcP0.js → useThemeProps-Ddl3KJ8f.js} +4 -4
  265. package/dist/useThemeProps-zsxJokxk.js +17 -0
  266. package/dist/{utils-BQenyzDz.js → utils-B_pVp6UZ.js} +3 -3
  267. package/dist/utils-XujN9ndp.cjs +1 -0
  268. package/package.json +7 -7
  269. package/dist/Alert-DPSZppEy.cjs +0 -1
  270. package/dist/Alert-rPyl-bqs.cjs +0 -1
  271. package/dist/Autocomplete-BdPO9SAd.cjs +0 -6
  272. package/dist/Backdrop-DeNTZlA5.cjs +0 -1
  273. package/dist/Badge-DFzvdVS-.cjs +0 -1
  274. package/dist/Box-DR3n_po_.cjs +0 -1
  275. package/dist/Button-DyJV5llI.cjs +0 -1
  276. package/dist/CardContent-COfaU6E0.cjs +0 -1
  277. package/dist/Checkbox-3hTSv0EZ.cjs +0 -1
  278. package/dist/Chip-BG0OU0KI.cjs +0 -1
  279. package/dist/Chip-DmjZbx_X.js +0 -572
  280. package/dist/CircularProgress-CXXyPavb.cjs +0 -28
  281. package/dist/DatePicker-CH8XRum0.cjs +0 -16
  282. package/dist/DefaultPropsProvider-Cnf49AIv.cjs +0 -1
  283. package/dist/DefaultPropsProvider-DqazQPtr.js +0 -306
  284. package/dist/Dialog-Btagj_Gt.cjs +0 -1
  285. package/dist/DialogContent-DXfUge3c.cjs +0 -1
  286. package/dist/DialogTitle-y2PrK6uU.cjs +0 -1
  287. package/dist/Divider-NermA5hZ.cjs +0 -1
  288. package/dist/FormLabel-JrZR9kt8.cjs +0 -2
  289. package/dist/Grid-BHYQ3JNy.cjs +0 -2
  290. package/dist/IconButton-CjtMjZ9e.cjs +0 -2
  291. package/dist/InputAdornment-DvHQMisT.cjs +0 -1
  292. package/dist/InputBase-DPdKpmOz.cjs +0 -4
  293. package/dist/Link-BwbY60dS.cjs +0 -1
  294. package/dist/List-t9bWFewp.cjs +0 -1
  295. package/dist/ListItem-DP7YmqZk.cjs +0 -1
  296. package/dist/ListItemText-cVnimPLO.cjs +0 -1
  297. package/dist/MenuItem-DHM3qxwr.cjs +0 -1
  298. package/dist/Modal-DkzrSKHd.cjs +0 -2
  299. package/dist/Paper-BbqZL5vx.cjs +0 -2
  300. package/dist/Popper-DvWx5tR3.cjs +0 -4
  301. package/dist/Portal-CPOCKeMh.cjs +0 -1
  302. package/dist/Radio-Bwh_t6PC.cjs +0 -1
  303. package/dist/RadioGroup-Cvnwt4JE.cjs +0 -1
  304. package/dist/Select-3HP39Z7o.cjs +0 -3
  305. package/dist/Stack-CIyfgZCM.cjs +0 -1
  306. package/dist/Stepper-CXHfLPtA.cjs +0 -1
  307. package/dist/Switch-CTEqKDiv.cjs +0 -1
  308. package/dist/SwitchBase-P3zHVmLX.cjs +0 -1
  309. package/dist/Tab-r5imbU9z.cjs +0 -4
  310. package/dist/TextField-Brw3X9cn.cjs +0 -1
  311. package/dist/ToggleButtonGroup-CA1cSosV.cjs +0 -138
  312. package/dist/Tooltip-BAOKe3SY.cjs +0 -4
  313. package/dist/Typography-CSTmKyr8.cjs +0 -1
  314. package/dist/createSvgIcon-IET9soda.cjs +0 -1
  315. package/dist/dividerClasses-C07OJKLL.cjs +0 -1
  316. package/dist/extendSxProp-ZMCunXYm.cjs +0 -1
  317. package/dist/identifier-BoZelETM.cjs +0 -55
  318. package/dist/identifier-PWESmBq6.js +0 -2598
  319. package/dist/index-D3lMWU76.cjs +0 -1
  320. package/dist/listItemTextClasses-CJDKfXvl.cjs +0 -1
  321. package/dist/mergeSlotProps-DXwOW3FE.cjs +0 -1
  322. package/dist/styled-C7gyRDlj.js +0 -5
  323. package/dist/styled-Cax0O00h.cjs +0 -1
  324. package/dist/useSlot-C2FjoUpF.cjs +0 -1
  325. package/dist/useTheme-BLMJDSsv.cjs +0 -1
  326. package/dist/useTheme-CooC_6Ep.cjs +0 -1
  327. package/dist/useTheme-XJ9sFCWX.js +0 -11
  328. package/dist/useThemeProps-C1A3rnbh.cjs +0 -1
  329. package/dist/useThemeProps-CQ9rZe7g.js +0 -17
  330. package/dist/utils-ByXw_ZY1.cjs +0 -1
@@ -1,74 +1,75 @@
1
1
  import * as u from "react";
2
- import { P as e } from "./index-Sy88PpwE.js";
3
- import { F as V, G as q, O as ve, H as de, K as _, Y as mo, X as go } from "./identifier-PWESmBq6.js";
4
- import { f as ye } from "./formControlState-vgaj2ksH.js";
5
- import { u as he } from "./useFormControl-CatNKXAi.js";
6
- import { u as G, s as h, c as A, r as F, e as vo } from "./DefaultPropsProvider-DqazQPtr.js";
7
- import { m as M } from "./memoTheme-DAFDflPY.js";
8
- import { jsx as g, jsxs as Oe } from "react/jsx-runtime";
9
- import { a as yo, b as ho } from "./FormLabel-B3WAnPGP.js";
10
- import { M as Oo } from "./Menu-9BK8jmzW.js";
11
- import { r as J } from "./refType-Dp7CJc86.js";
12
- import { i as Co } from "./utils-DWqc1kRF.js";
13
- import { u as qe } from "./useControlled-nm4pBabJ.js";
14
- import { u as He } from "./useForkRef-u29GSuCu.js";
15
- import { o as Io } from "./ownerDocument-CUrv0DIK.js";
16
- import { u as So } from "./useId-CK6Kn3Tn.js";
17
- import { c as xo } from "./createSvgIcon-B1E6Wo8z.js";
18
- import { g as wo } from "./elementAcceptingRef-CEweUuUA.js";
19
- import { c as Ce } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
20
- import { i as Ie, I as Se, a as xe, r as we, b as Re, c as Te } from "./InputBase-BS5oknUK.js";
21
- import { u as Ro } from "./useSlot-BzdKwDQ5.js";
22
- function To(o) {
23
- return q("MuiInput", o);
2
+ import { P as e } from "./index-B9vkf41S.js";
3
+ import { F as _, G as X, $ as Oe, H as ce, Y as Io, I as Ro } from "./generateUtilityClasses-BSBs8sf8.js";
4
+ import { f as Ce } from "./formControlState-vgaj2ksH.js";
5
+ import { u as Se } from "./useFormControl-CatNKXAi.js";
6
+ import { u as Z, s as C, c as D, r as j, e as wo } from "./DefaultPropsProvider-BwYGfRVu.js";
7
+ import { m as L } from "./memoTheme-_Lq-6t75.js";
8
+ import { jsx as v, jsxs as Ie } from "react/jsx-runtime";
9
+ import { c as K } from "./capitalize-CqfTUOe6.js";
10
+ import { a as xo, b as To } from "./FormLabel-BfxjK0e6.js";
11
+ import { M as Po } from "./Menu-v2809GzG.js";
12
+ import { r as ee } from "./refType-8hihVLUh.js";
13
+ import { i as No } from "./utils-DWqc1kRF.js";
14
+ import { u as Je } from "./useControlled-nm4pBabJ.js";
15
+ import { u as he } from "./useForkRef-u29GSuCu.js";
16
+ import { o as Qe } from "./ownerDocument-CUrv0DIK.js";
17
+ import { u as ko } from "./useId-CK6Kn3Tn.js";
18
+ import { c as Mo } from "./createSvgIcon-CjBLQGwH.js";
19
+ import { g as Fo } from "./elementAcceptingRef-CZLfau9O.js";
20
+ import { c as Re } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
21
+ import { i as we, I as xe, a as Te, r as Pe, b as Ne, c as ke } from "./InputBase-BQvkpGXw.js";
22
+ import { u as $o } from "./useSlot-EJyrOSVX.js";
23
+ function Eo(o) {
24
+ return X("MuiInput", o);
24
25
  }
25
- const H = {
26
- ...Ie,
27
- ...V("MuiInput", ["root", "underline", "input"])
26
+ const J = {
27
+ ...we,
28
+ ..._("MuiInput", ["root", "underline", "input"])
28
29
  };
29
- function Po(o) {
30
- return q("MuiOutlinedInput", o);
30
+ function jo(o) {
31
+ return X("MuiOutlinedInput", o);
31
32
  }
32
- const P = {
33
- ...Ie,
34
- ...V("MuiOutlinedInput", ["root", "notchedOutline", "input"])
33
+ const N = {
34
+ ...we,
35
+ ..._("MuiOutlinedInput", ["root", "notchedOutline", "input"])
35
36
  };
36
- function No(o) {
37
- return q("MuiFilledInput", o);
37
+ function Lo(o) {
38
+ return X("MuiFilledInput", o);
38
39
  }
39
- const W = {
40
- ...Ie,
41
- ...V("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
42
- }, $o = xo(/* @__PURE__ */ g("path", {
40
+ const A = {
41
+ ...we,
42
+ ..._("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
43
+ }, Bo = Mo(/* @__PURE__ */ v("path", {
43
44
  d: "M7 10l5 5 5-5z"
44
- }), "ArrowDropDown"), ko = (o) => {
45
+ }), "ArrowDropDown"), Wo = (o) => {
45
46
  const {
46
47
  classes: t,
47
48
  disableUnderline: n
48
- } = o, d = A({
49
+ } = o, p = D({
49
50
  root: ["root", !n && "underline"],
50
51
  input: ["input"]
51
- }, To, t);
52
+ }, Eo, t);
52
53
  return {
53
54
  ...t,
54
55
  // forward classes to the InputBase
55
- ...d
56
+ ...p
56
57
  };
57
- }, Eo = h(xe, {
58
- shouldForwardProp: (o) => F(o) || o === "classes",
58
+ }, Uo = C(Te, {
59
+ shouldForwardProp: (o) => j(o) || o === "classes",
59
60
  name: "MuiInput",
60
61
  slot: "Root",
61
62
  overridesResolver: (o, t) => {
62
63
  const {
63
64
  ownerState: n
64
65
  } = o;
65
- return [...we(o, t), !n.disableUnderline && t.underline];
66
+ return [...Pe(o, t), !n.disableUnderline && t.underline];
66
67
  }
67
- })(M(({
68
+ })(L(({
68
69
  theme: o
69
70
  }) => {
70
71
  let n = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)";
71
- return o.vars && (n = `rgba(${o.vars.palette.common.onBackgroundChannel} / ${o.vars.opacity.inputUnderline})`), {
72
+ return o.vars && (n = o.alpha(o.vars.palette.common.onBackground, o.vars.opacity.inputUnderline)), {
72
73
  position: "relative",
73
74
  variants: [{
74
75
  props: ({
@@ -98,12 +99,12 @@ const W = {
98
99
  pointerEvents: "none"
99
100
  // Transparent to the hover style.
100
101
  },
101
- [`&.${H.focused}:after`]: {
102
+ [`&.${J.focused}:after`]: {
102
103
  // translateX(0) is a workaround for Safari transform scale bug
103
104
  // See https://github.com/mui/material-ui/issues/31766
104
105
  transform: "scaleX(1) translateX(0)"
105
106
  },
106
- [`&.${H.error}`]: {
107
+ [`&.${J.error}`]: {
107
108
  "&::before, &::after": {
108
109
  borderBottomColor: (o.vars || o).palette.error.main
109
110
  }
@@ -121,18 +122,18 @@ const W = {
121
122
  pointerEvents: "none"
122
123
  // Transparent to the hover style.
123
124
  },
124
- [`&:hover:not(.${H.disabled}, .${H.error}):before`]: {
125
+ [`&:hover:not(.${J.disabled}, .${J.error}):before`]: {
125
126
  borderBottom: `2px solid ${(o.vars || o).palette.text.primary}`,
126
127
  // Reset on touch devices, it doesn't add specificity
127
128
  "@media (hover: none)": {
128
129
  borderBottom: `1px solid ${n}`
129
130
  }
130
131
  },
131
- [`&.${H.disabled}:before`]: {
132
+ [`&.${J.disabled}:before`]: {
132
133
  borderBottomStyle: "dotted"
133
134
  }
134
135
  }
135
- }, ...Object.entries(o.palette).filter(Ce()).map(([r]) => ({
136
+ }, ...Object.entries(o.palette).filter(Re()).map(([r]) => ({
136
137
  props: {
137
138
  color: r,
138
139
  disableUnderline: !1
@@ -144,48 +145,48 @@ const W = {
144
145
  }
145
146
  }))]
146
147
  };
147
- })), Fo = h(Re, {
148
+ })), Ao = C(Ne, {
148
149
  name: "MuiInput",
149
150
  slot: "Input",
150
- overridesResolver: Te
151
- })({}), Pe = /* @__PURE__ */ u.forwardRef(function(t, n) {
152
- const r = G({
151
+ overridesResolver: ke
152
+ })({}), Me = /* @__PURE__ */ u.forwardRef(function(t, n) {
153
+ const r = Z({
153
154
  props: t,
154
155
  name: "MuiInput"
155
156
  }), {
156
- disableUnderline: d = !1,
157
- components: p = {},
157
+ disableUnderline: p = !1,
158
+ components: d = {},
158
159
  componentsProps: a,
159
- fullWidth: i = !1,
160
- inputComponent: v = "input",
161
- multiline: b = !1,
162
- slotProps: c,
163
- slots: f = {},
164
- type: O = "text",
165
- ...C
166
- } = r, R = ko(r), y = {
160
+ fullWidth: l = !1,
161
+ inputComponent: y = "input",
162
+ multiline: m = !1,
163
+ slotProps: f,
164
+ slots: b = {},
165
+ type: S = "text",
166
+ ...I
167
+ } = r, x = Wo(r), h = {
167
168
  root: {
168
169
  ownerState: {
169
- disableUnderline: d
170
+ disableUnderline: p
170
171
  }
171
172
  }
172
- }, w = c ?? a ? ve(c ?? a, y) : y, I = f.root ?? p.Root ?? Eo, S = f.input ?? p.Input ?? Fo;
173
- return /* @__PURE__ */ g(Se, {
173
+ }, O = f ?? a ? Oe(f ?? a, h) : h, R = b.root ?? d.Root ?? Uo, w = b.input ?? d.Input ?? Ao;
174
+ return /* @__PURE__ */ v(xe, {
174
175
  slots: {
175
- root: I,
176
- input: S
176
+ root: R,
177
+ input: w
177
178
  },
178
- slotProps: w,
179
- fullWidth: i,
180
- inputComponent: v,
181
- multiline: b,
179
+ slotProps: O,
180
+ fullWidth: l,
181
+ inputComponent: y,
182
+ multiline: m,
182
183
  ref: n,
183
- type: O,
184
- ...C,
185
- classes: R
184
+ type: S,
185
+ ...I,
186
+ classes: x
186
187
  });
187
188
  });
188
- process.env.NODE_ENV !== "production" && (Pe.propTypes = {
189
+ process.env.NODE_ENV !== "production" && (Me.propTypes = {
189
190
  // ┌────────────────────────────── Warning ──────────────────────────────┐
190
191
  // │ These PropTypes are generated from the TypeScript type definitions. │
191
192
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -280,7 +281,7 @@ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
280
281
  /**
281
282
  * Pass a ref to the `input` element.
282
283
  */
283
- inputRef: J,
284
+ inputRef: ee,
284
285
  /**
285
286
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
286
287
  * FormControl.
@@ -370,30 +371,30 @@ process.env.NODE_ENV !== "production" && (Pe.propTypes = {
370
371
  */
371
372
  value: e.any
372
373
  });
373
- Pe.muiName = "Input";
374
- function Mo(o) {
375
- return q("MuiInputLabel", o);
374
+ Me.muiName = "Input";
375
+ function Do(o) {
376
+ return X("MuiInputLabel", o);
376
377
  }
377
- const Rt = V("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), jo = (o) => {
378
+ const Et = _("MuiInputLabel", ["root", "focused", "disabled", "error", "required", "asterisk", "formControl", "sizeSmall", "shrink", "animated", "standard", "filled", "outlined"]), zo = (o) => {
378
379
  const {
379
380
  classes: t,
380
381
  formControl: n,
381
382
  size: r,
382
- shrink: d,
383
- disableAnimation: p,
383
+ shrink: p,
384
+ disableAnimation: d,
384
385
  variant: a,
385
- required: i
386
- } = o, v = {
387
- root: ["root", n && "formControl", !p && "animated", d && "shrink", r && r !== "medium" && `size${_(r)}`, a],
388
- asterisk: [i && "asterisk"]
389
- }, b = A(v, Mo, t);
386
+ required: l
387
+ } = o, y = {
388
+ root: ["root", n && "formControl", !d && "animated", p && "shrink", r && r !== "medium" && `size${K(r)}`, a],
389
+ asterisk: [l && "asterisk"]
390
+ }, m = D(y, Do, t);
390
391
  return {
391
392
  ...t,
392
393
  // forward the focused, disabled, etc. classes to the FormLabel
393
- ...b
394
+ ...m
394
395
  };
395
- }, Lo = h(yo, {
396
- shouldForwardProp: (o) => F(o) || o === "classes",
396
+ }, Vo = C(xo, {
397
+ shouldForwardProp: (o) => j(o) || o === "classes",
397
398
  name: "MuiInputLabel",
398
399
  slot: "Root",
399
400
  overridesResolver: (o, t) => {
@@ -401,10 +402,10 @@ const Rt = V("MuiInputLabel", ["root", "focused", "disabled", "error", "required
401
402
  ownerState: n
402
403
  } = o;
403
404
  return [{
404
- [`& .${ho.asterisk}`]: t.asterisk
405
+ [`& .${To.asterisk}`]: t.asterisk
405
406
  }, 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]];
406
407
  }
407
- })(M(({
408
+ })(L(({
408
409
  theme: o
409
410
  }) => ({
410
411
  display: "block",
@@ -526,44 +527,44 @@ const Rt = V("MuiInputLabel", ["root", "focused", "disabled", "error", "required
526
527
  transform: "translate(14px, -9px) scale(0.75)"
527
528
  }
528
529
  }]
529
- }))), Bo = /* @__PURE__ */ u.forwardRef(function(t, n) {
530
- const r = G({
530
+ }))), qo = /* @__PURE__ */ u.forwardRef(function(t, n) {
531
+ const r = Z({
531
532
  name: "MuiInputLabel",
532
533
  props: t
533
534
  }), {
534
- disableAnimation: d = !1,
535
- margin: p,
535
+ disableAnimation: p = !1,
536
+ margin: d,
536
537
  shrink: a,
537
- variant: i,
538
- className: v,
539
- ...b
540
- } = r, c = he();
541
- let f = a;
542
- typeof f > "u" && c && (f = c.filled || c.focused || c.adornedStart);
543
- const O = ye({
538
+ variant: l,
539
+ className: y,
540
+ ...m
541
+ } = r, f = Se();
542
+ let b = a;
543
+ typeof b > "u" && f && (b = f.filled || f.focused || f.adornedStart);
544
+ const S = Ce({
544
545
  props: r,
545
- muiFormControl: c,
546
+ muiFormControl: f,
546
547
  states: ["size", "variant", "required", "focused"]
547
- }), C = {
548
+ }), I = {
548
549
  ...r,
549
- disableAnimation: d,
550
- formControl: c,
551
- shrink: f,
552
- size: O.size,
553
- variant: O.variant,
554
- required: O.required,
555
- focused: O.focused
556
- }, R = jo(C);
557
- return /* @__PURE__ */ g(Lo, {
558
- "data-shrink": f,
550
+ disableAnimation: p,
551
+ formControl: f,
552
+ shrink: b,
553
+ size: S.size,
554
+ variant: S.variant,
555
+ required: S.required,
556
+ focused: S.focused
557
+ }, x = zo(I);
558
+ return /* @__PURE__ */ v(Vo, {
559
+ "data-shrink": b,
559
560
  ref: n,
560
- className: de(R.root, v),
561
- ...b,
562
- ownerState: C,
563
- classes: R
561
+ className: ce(x.root, y),
562
+ ...m,
563
+ ownerState: I,
564
+ classes: x
564
565
  });
565
566
  });
566
- process.env.NODE_ENV !== "production" && (Bo.propTypes = {
567
+ process.env.NODE_ENV !== "production" && (qo.propTypes = {
567
568
  // ┌────────────────────────────── Warning ──────────────────────────────┐
568
569
  // │ These PropTypes are generated from the TypeScript type definitions. │
569
570
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -630,23 +631,25 @@ process.env.NODE_ENV !== "production" && (Bo.propTypes = {
630
631
  */
631
632
  variant: e.oneOf(["filled", "outlined", "standard"])
632
633
  });
633
- function Wo(o) {
634
- return q("MuiNativeSelect", o);
634
+ function _o(o) {
635
+ return X("MuiNativeSelect", o);
635
636
  }
636
- const Ne = V("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Ao = (o) => {
637
+ const Fe = _("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]), Xo = (o) => {
637
638
  const {
638
639
  classes: t,
639
640
  variant: n,
640
641
  disabled: r,
641
- multiple: d,
642
- open: p,
642
+ multiple: p,
643
+ open: d,
643
644
  error: a
644
- } = o, i = {
645
- select: ["select", n, r && "disabled", d && "multiple", a && "error"],
646
- icon: ["icon", `icon${_(n)}`, p && "iconOpen", r && "disabled"]
645
+ } = o, l = {
646
+ select: ["select", n, r && "disabled", p && "multiple", a && "error"],
647
+ icon: ["icon", `icon${K(n)}`, d && "iconOpen", r && "disabled"]
647
648
  };
648
- return A(i, Wo, t);
649
- }, Ye = h("select")(({
649
+ return D(l, _o, t);
650
+ }, to = C("select", {
651
+ name: "MuiNativeSelect"
652
+ })(({
650
653
  theme: o
651
654
  }) => ({
652
655
  // Reset
@@ -663,7 +666,7 @@ const Ne = V("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
663
666
  // Reset Chrome style
664
667
  borderRadius: 0
665
668
  },
666
- [`&.${Ne.disabled}`]: {
669
+ [`&.${Fe.disabled}`]: {
667
670
  cursor: "default"
668
671
  },
669
672
  "&[multiple]": {
@@ -708,19 +711,21 @@ const Ne = V("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
708
711
  }
709
712
  }
710
713
  }]
711
- })), Uo = h(Ye, {
714
+ })), Ko = C(to, {
712
715
  name: "MuiNativeSelect",
713
716
  slot: "Select",
714
- shouldForwardProp: F,
717
+ shouldForwardProp: j,
715
718
  overridesResolver: (o, t) => {
716
719
  const {
717
720
  ownerState: n
718
721
  } = o;
719
722
  return [t.select, t[n.variant], n.error && t.error, {
720
- [`&.${Ne.multiple}`]: t.multiple
723
+ [`&.${Fe.multiple}`]: t.multiple
721
724
  }];
722
725
  }
723
- })({}), Ge = h("svg")(({
726
+ })({}), no = C("svg", {
727
+ name: "MuiNativeSelect"
728
+ })(({
724
729
  theme: o
725
730
  }) => ({
726
731
  // We use a position absolute over a flexbox in order to forward the pointer events
@@ -732,7 +737,7 @@ const Ne = V("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
732
737
  // Don't block pointer events on the select under the icon.
733
738
  pointerEvents: "none",
734
739
  color: (o.vars || o).palette.action.active,
735
- [`&.${Ne.disabled}`]: {
740
+ [`&.${Fe.disabled}`]: {
736
741
  color: (o.vars || o).palette.action.disabled
737
742
  },
738
743
  variants: [{
@@ -757,45 +762,45 @@ const Ne = V("MuiNativeSelect", ["root", "select", "multiple", "filled", "outlin
757
762
  right: 7
758
763
  }
759
764
  }]
760
- })), Do = h(Ge, {
765
+ })), Ho = C(no, {
761
766
  name: "MuiNativeSelect",
762
767
  slot: "Icon",
763
768
  overridesResolver: (o, t) => {
764
769
  const {
765
770
  ownerState: n
766
771
  } = o;
767
- return [t.icon, n.variant && t[`icon${_(n.variant)}`], n.open && t.iconOpen];
772
+ return [t.icon, n.variant && t[`icon${K(n.variant)}`], n.open && t.iconOpen];
768
773
  }
769
- })({}), Je = /* @__PURE__ */ u.forwardRef(function(t, n) {
774
+ })({}), ro = /* @__PURE__ */ u.forwardRef(function(t, n) {
770
775
  const {
771
776
  className: r,
772
- disabled: d,
773
- error: p,
777
+ disabled: p,
778
+ error: d,
774
779
  IconComponent: a,
775
- inputRef: i,
776
- variant: v = "standard",
777
- ...b
778
- } = t, c = {
780
+ inputRef: l,
781
+ variant: y = "standard",
782
+ ...m
783
+ } = t, f = {
779
784
  ...t,
780
- disabled: d,
781
- variant: v,
782
- error: p
783
- }, f = Ao(c);
784
- return /* @__PURE__ */ Oe(u.Fragment, {
785
- children: [/* @__PURE__ */ g(Uo, {
786
- ownerState: c,
787
- className: de(f.select, r),
788
- disabled: d,
789
- ref: i || n,
790
- ...b
791
- }), t.multiple ? null : /* @__PURE__ */ g(Do, {
785
+ disabled: p,
786
+ variant: y,
787
+ error: d
788
+ }, b = Xo(f);
789
+ return /* @__PURE__ */ Ie(u.Fragment, {
790
+ children: [/* @__PURE__ */ v(Ko, {
791
+ ownerState: f,
792
+ className: ce(b.select, r),
793
+ disabled: p,
794
+ ref: l || n,
795
+ ...m
796
+ }), t.multiple ? null : /* @__PURE__ */ v(Ho, {
792
797
  as: a,
793
- ownerState: c,
794
- className: f.icon
798
+ ownerState: f,
799
+ className: b.icon
795
800
  })]
796
801
  });
797
802
  });
798
- process.env.NODE_ENV !== "production" && (Je.propTypes = {
803
+ process.env.NODE_ENV !== "production" && (ro.propTypes = {
799
804
  /**
800
805
  * The option elements to populate the select with.
801
806
  * Can be some `<option>` elements.
@@ -825,7 +830,7 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
825
830
  * Use that prop to pass a ref to the native select element.
826
831
  * @deprecated
827
832
  */
828
- inputRef: J,
833
+ inputRef: ee,
829
834
  /**
830
835
  * @ignore
831
836
  */
@@ -850,12 +855,12 @@ process.env.NODE_ENV !== "production" && (Je.propTypes = {
850
855
  */
851
856
  variant: e.oneOf(["standard", "outlined", "filled"])
852
857
  });
853
- function Qe(o) {
854
- return q("MuiSelect", o);
858
+ function so(o) {
859
+ return X("MuiSelect", o);
855
860
  }
856
- const Y = V("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
857
- var _e;
858
- const zo = h(Ye, {
861
+ const Q = _("MuiSelect", ["root", "select", "multiple", "filled", "outlined", "standard", "disabled", "focused", "icon", "iconOpen", "iconFilled", "iconOutlined", "iconStandard", "nativeInput", "error"]);
862
+ var Ze;
863
+ const Yo = C(to, {
859
864
  name: "MuiSelect",
860
865
  slot: "Select",
861
866
  overridesResolver: (o, t) => {
@@ -865,22 +870,22 @@ const zo = h(Ye, {
865
870
  return [
866
871
  // Win specificity over the input base
867
872
  {
868
- [`&.${Y.select}`]: t.select
873
+ [`&.${Q.select}`]: t.select
869
874
  },
870
875
  {
871
- [`&.${Y.select}`]: t[n.variant]
876
+ [`&.${Q.select}`]: t[n.variant]
872
877
  },
873
878
  {
874
- [`&.${Y.error}`]: t.error
879
+ [`&.${Q.error}`]: t.error
875
880
  },
876
881
  {
877
- [`&.${Y.multiple}`]: t.multiple
882
+ [`&.${Q.multiple}`]: t.multiple
878
883
  }
879
884
  ];
880
885
  }
881
886
  })({
882
887
  // Win specificity over the input base
883
- [`&.${Y.select}`]: {
888
+ [`&.${Q.select}`]: {
884
889
  height: "auto",
885
890
  // Resets for multiple select with chips
886
891
  minHeight: "1.4375em",
@@ -889,17 +894,17 @@ const zo = h(Ye, {
889
894
  whiteSpace: "nowrap",
890
895
  overflow: "hidden"
891
896
  }
892
- }), Vo = h(Ge, {
897
+ }), Go = C(no, {
893
898
  name: "MuiSelect",
894
899
  slot: "Icon",
895
900
  overridesResolver: (o, t) => {
896
901
  const {
897
902
  ownerState: n
898
903
  } = o;
899
- return [t.icon, n.variant && t[`icon${_(n.variant)}`], n.open && t.iconOpen];
904
+ return [t.icon, n.variant && t[`icon${K(n.variant)}`], n.open && t.iconOpen];
900
905
  }
901
- })({}), qo = h("input", {
902
- shouldForwardProp: (o) => vo(o) && o !== "classes",
906
+ })({}), Jo = C("input", {
907
+ shouldForwardProp: (o) => wo(o) && o !== "classes",
903
908
  name: "MuiSelect",
904
909
  slot: "NativeInput"
905
910
  })({
@@ -911,173 +916,206 @@ const zo = h(Ye, {
911
916
  width: "100%",
912
917
  boxSizing: "border-box"
913
918
  });
914
- function Ke(o, t) {
919
+ function eo(o, t) {
915
920
  return typeof t == "object" && t !== null ? o === t : String(o) === String(t);
916
921
  }
917
- function _o(o) {
922
+ function Qo(o) {
918
923
  return o == null || typeof o == "string" && !o.trim();
919
924
  }
920
- const Ko = (o) => {
925
+ const Zo = (o) => {
921
926
  const {
922
927
  classes: t,
923
928
  variant: n,
924
929
  disabled: r,
925
- multiple: d,
926
- open: p,
930
+ multiple: p,
931
+ open: d,
927
932
  error: a
928
- } = o, i = {
929
- select: ["select", n, r && "disabled", d && "multiple", a && "error"],
930
- icon: ["icon", `icon${_(n)}`, p && "iconOpen", r && "disabled"],
933
+ } = o, l = {
934
+ select: ["select", n, r && "disabled", p && "multiple", a && "error"],
935
+ icon: ["icon", `icon${K(n)}`, d && "iconOpen", r && "disabled"],
931
936
  nativeInput: ["nativeInput"]
932
937
  };
933
- return A(i, Qe, t);
934
- }, Ze = /* @__PURE__ */ u.forwardRef(function(t, n) {
935
- var ze;
938
+ return D(l, so, t);
939
+ }, ao = /* @__PURE__ */ u.forwardRef(function(t, n) {
940
+ var Ke, He, Ye, Ge;
936
941
  const {
937
942
  "aria-describedby": r,
938
- "aria-label": d,
939
- autoFocus: p,
943
+ "aria-label": p,
944
+ autoFocus: d,
940
945
  autoWidth: a,
941
- children: i,
942
- className: v,
943
- defaultOpen: b,
944
- defaultValue: c,
945
- disabled: f,
946
- displayEmpty: O,
947
- error: C = !1,
948
- IconComponent: R,
949
- inputRef: T,
950
- labelId: y,
951
- MenuProps: w = {},
952
- multiple: I,
953
- name: S,
954
- onBlur: $,
955
- onChange: k,
946
+ children: l,
947
+ className: y,
948
+ defaultOpen: m,
949
+ defaultValue: f,
950
+ disabled: b,
951
+ displayEmpty: S,
952
+ error: I = !1,
953
+ IconComponent: x,
954
+ inputRef: P,
955
+ labelId: h,
956
+ MenuProps: O = {},
957
+ multiple: R,
958
+ name: w,
959
+ onBlur: F,
960
+ onChange: $,
956
961
  onClose: E,
957
- onFocus: pe,
958
- onOpen: Q,
959
- open: Z,
960
- readOnly: ee,
961
- renderValue: oe,
962
- required: K,
963
- SelectDisplayProps: N = {},
964
- tabIndex: j,
962
+ onFocus: fe,
963
+ onOpen: oe,
964
+ open: te,
965
+ readOnly: ne,
966
+ renderValue: re,
967
+ required: H,
968
+ SelectDisplayProps: k = {},
969
+ tabIndex: B,
965
970
  // catching `type` from Input which makes no sense for SelectInput
966
- type: ue,
967
- value: Fe,
968
- variant: te = "standard",
969
- ...U
970
- } = t, [m, Me] = qe({
971
- controlled: Fe,
972
- default: c,
971
+ type: be,
972
+ value: Le,
973
+ variant: se = "standard",
974
+ ...z
975
+ } = t, [g, Be] = Je({
976
+ controlled: Le,
977
+ default: f,
973
978
  name: "Select"
974
- }), [je, to] = qe({
975
- controlled: Z,
976
- default: b,
979
+ }), [We, po] = Je({
980
+ controlled: te,
981
+ default: m,
977
982
  name: "Select"
978
- }), Le = u.useRef(null), L = u.useRef(null), [B, no] = u.useState(null), {
979
- current: ce
980
- } = u.useRef(Z != null), [ro, Be] = u.useState(), so = He(n, T), ao = u.useCallback((s) => {
981
- L.current = s, s && no(s);
982
- }, []), ne = B == null ? void 0 : B.parentNode;
983
- u.useImperativeHandle(so, () => ({
983
+ }), Ue = u.useRef(null), M = u.useRef(null), Ae = u.useRef(null), ae = u.useRef(!1), [W, uo] = u.useState(null), {
984
+ current: me
985
+ } = u.useRef(te != null), [co, De] = u.useState(), Y = W !== null && We, V = {
986
+ ...t,
987
+ variant: se,
988
+ value: g,
989
+ open: Y,
990
+ error: I
991
+ }, ie = {
992
+ ...O.PaperProps,
993
+ ...typeof ((Ke = O.slotProps) == null ? void 0 : Ke.paper) == "function" ? O.slotProps.paper(V) : (He = O.slotProps) == null ? void 0 : He.paper
994
+ }, fo = he(n, P), bo = he(ie.ref, Ae), mo = u.useCallback((s) => {
995
+ M.current = s, s && uo(s);
996
+ }, []), le = W == null ? void 0 : W.parentNode;
997
+ u.useImperativeHandle(fo, () => ({
984
998
  focus: () => {
985
- L.current.focus();
999
+ M.current.focus();
986
1000
  },
987
- node: Le.current,
988
- value: m
989
- }), [m]), u.useEffect(() => {
990
- b && je && B && !ce && (Be(a ? null : ne.clientWidth), L.current.focus());
991
- }, [B, a]), u.useEffect(() => {
992
- p && L.current.focus();
993
- }, [p]), u.useEffect(() => {
994
- if (!y)
1001
+ node: Ue.current,
1002
+ value: g
1003
+ }), [g]), u.useEffect(() => {
1004
+ m && We && W && !me && (De(a ? null : le.clientWidth), M.current.focus());
1005
+ }, [W, a]), u.useEffect(() => {
1006
+ d && M.current.focus();
1007
+ }, [d]), u.useEffect(() => {
1008
+ if (!h)
995
1009
  return;
996
- const s = Io(L.current).getElementById(y);
1010
+ const s = Qe(M.current).getElementById(h);
997
1011
  if (s) {
998
- const l = () => {
999
- getSelection().isCollapsed && L.current.focus();
1012
+ const i = () => {
1013
+ getSelection().isCollapsed && M.current.focus();
1000
1014
  };
1001
- return s.addEventListener("click", l), () => {
1002
- s.removeEventListener("click", l);
1015
+ return s.addEventListener("click", i), () => {
1016
+ s.removeEventListener("click", i);
1003
1017
  };
1004
1018
  }
1005
- }, [y]);
1006
- const re = (s, l) => {
1007
- s ? Q && Q(l) : E && E(l), ce || (Be(a ? null : ne.clientWidth), to(s));
1008
- }, io = (s) => {
1009
- s.button === 0 && (s.preventDefault(), L.current.focus(), re(!0, s));
1010
- }, lo = (s) => {
1011
- re(!1, s);
1012
- }, se = u.Children.toArray(i), po = (s) => {
1013
- const l = se.find((x) => x.props.value === s.target.value);
1014
- l !== void 0 && (Me(l.props.value), k && k(s, l));
1015
- }, uo = (s) => (l) => {
1016
- let x;
1017
- if (l.currentTarget.hasAttribute("tabindex")) {
1018
- if (I) {
1019
- x = Array.isArray(m) ? m.slice() : [];
1020
- const z = m.indexOf(s.props.value);
1021
- z === -1 ? x.push(s.props.value) : x.splice(z, 1);
1019
+ }, [h]);
1020
+ const G = (s, i) => {
1021
+ s ? oe && oe(i) : E && E(i), me || (De(a ? null : le.clientWidth), po(s));
1022
+ }, go = (s) => {
1023
+ if (s.button !== 0)
1024
+ return;
1025
+ s.preventDefault(), M.current.focus();
1026
+ const i = Qe(s.currentTarget);
1027
+ function c(T) {
1028
+ if (!M.current || Ae.current.contains(T.target))
1029
+ return;
1030
+ const U = M.current.getBoundingClientRect();
1031
+ T.clientX >= U.left && T.clientX <= U.right && T.clientY >= U.top && T.clientY <= U.bottom || G(!1, T);
1032
+ }
1033
+ i.addEventListener("mouseup", c, {
1034
+ once: !0
1035
+ }), G(!0, s);
1036
+ }, vo = (s) => {
1037
+ G(!1, s);
1038
+ }, pe = u.Children.toArray(l), yo = (s) => {
1039
+ const i = pe.find((c) => c.props.value === s.target.value);
1040
+ i !== void 0 && (Be(i.props.value), $ && $(s, i));
1041
+ }, ze = (s) => (i) => {
1042
+ let c;
1043
+ if (i.currentTarget.hasAttribute("tabindex")) {
1044
+ if (R) {
1045
+ c = Array.isArray(g) ? g.slice() : [];
1046
+ const T = g.indexOf(s.props.value);
1047
+ T === -1 ? c.push(s.props.value) : c.splice(T, 1);
1022
1048
  } else
1023
- x = s.props.value;
1024
- if (s.props.onClick && s.props.onClick(l), m !== x && (Me(x), k)) {
1025
- const z = l.nativeEvent || l, Ve = new z.constructor(z.type, z);
1026
- Object.defineProperty(Ve, "target", {
1049
+ c = s.props.value;
1050
+ if (g !== c && (Be(c), $)) {
1051
+ const T = i.nativeEvent || i, U = new T.constructor(T.type, T);
1052
+ Object.defineProperty(U, "target", {
1027
1053
  writable: !0,
1028
1054
  value: {
1029
- value: x,
1030
- name: S
1055
+ value: c,
1056
+ name: w
1031
1057
  }
1032
- }), k(Ve, s);
1058
+ }), $(U, s);
1033
1059
  }
1034
- I || re(!1, l);
1060
+ R || G(!1, i);
1035
1061
  }
1036
- }, co = (s) => {
1037
- ee || [
1062
+ }, ho = (s) => {
1063
+ ne || [
1038
1064
  " ",
1039
1065
  "ArrowUp",
1040
1066
  "ArrowDown",
1041
1067
  // The native select doesn't respond to enter on macOS, but it's recommended by
1042
1068
  // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/
1043
1069
  "Enter"
1044
- ].includes(s.key) && (s.preventDefault(), re(!0, s));
1045
- }, X = B !== null && je, fo = (s) => {
1046
- !X && $ && (Object.defineProperty(s, "target", {
1070
+ ].includes(s.key) && (s.preventDefault(), G(!0, s));
1071
+ }, Oo = (s) => {
1072
+ !Y && F && (Object.defineProperty(s, "target", {
1047
1073
  writable: !0,
1048
1074
  value: {
1049
- value: m,
1050
- name: S
1075
+ value: g,
1076
+ name: w
1051
1077
  }
1052
- }), $(s));
1078
+ }), F(s));
1053
1079
  };
1054
- delete U["aria-invalid"];
1055
- let D, We;
1056
- const ae = [];
1057
- let ie = !1, fe = !1;
1058
- (Co({
1059
- value: m
1060
- }) || O) && (oe ? D = oe(m) : ie = !0);
1061
- const bo = se.map((s) => {
1080
+ delete z["aria-invalid"];
1081
+ let q, Ve;
1082
+ const de = [];
1083
+ let ue = !1, ge = !1;
1084
+ (No({
1085
+ value: g
1086
+ }) || S) && (re ? q = re(g) : ue = !0);
1087
+ const Co = pe.map((s) => {
1062
1088
  if (!/* @__PURE__ */ u.isValidElement(s))
1063
1089
  return null;
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(`
1090
+ process.env.NODE_ENV !== "production" && Io.isFragment(s) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
1065
1091
  `));
1066
- let l;
1067
- if (I) {
1068
- if (!Array.isArray(m))
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 = m.some((x) => Ke(x, s.props.value)), l && ie && ae.push(s.props.children);
1092
+ let i;
1093
+ if (R) {
1094
+ if (!Array.isArray(g))
1095
+ throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : Ro(2));
1096
+ i = g.some((c) => eo(c, s.props.value)), i && ue && de.push(s.props.children);
1071
1097
  } else
1072
- l = Ke(m, s.props.value), l && ie && (We = s.props.children);
1073
- return l && (fe = !0), /* @__PURE__ */ u.cloneElement(s, {
1074
- "aria-selected": l ? "true" : "false",
1075
- onClick: uo(s),
1076
- onKeyUp: (x) => {
1077
- x.key === " " && x.preventDefault(), s.props.onKeyUp && s.props.onKeyUp(x);
1098
+ i = eo(g, s.props.value), i && ue && (Ve = s.props.children);
1099
+ return i && (ge = !0), /* @__PURE__ */ u.cloneElement(s, {
1100
+ "aria-selected": i ? "true" : "false",
1101
+ onPointerDown: () => {
1102
+ ae.current = !0;
1103
+ },
1104
+ onClick: (c) => {
1105
+ ae.current = !1, s.props.onClick && s.props.onClick(c), ze(s)(c);
1106
+ },
1107
+ onMouseUp: (c) => {
1108
+ if (ae.current) {
1109
+ ae.current = !1;
1110
+ return;
1111
+ }
1112
+ s.props.onMouseUp && s.props.onMouseUp(c), ze(s)(c);
1113
+ },
1114
+ onKeyUp: (c) => {
1115
+ c.key === " " && c.preventDefault(), s.props.onKeyUp && s.props.onKeyUp(c);
1078
1116
  },
1079
1117
  role: "option",
1080
- selected: l,
1118
+ selected: i,
1081
1119
  value: void 0,
1082
1120
  // The value is most likely not a valid HTML attribute.
1083
1121
  "data-value": s.props.value
@@ -1085,80 +1123,74 @@ const Ko = (o) => {
1085
1123
  });
1086
1124
  });
1087
1125
  process.env.NODE_ENV !== "production" && u.useEffect(() => {
1088
- if (!fe && !I && m !== "") {
1089
- const s = se.map((l) => l.props.value);
1090
- console.warn([`MUI: You have provided an out-of-range value \`${m}\` 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(`
1126
+ if (!ge && !R && g !== "") {
1127
+ const s = pe.map((i) => i.props.value);
1128
+ console.warn([`MUI: You have provided an out-of-range value \`${g}\` for the select ${w ? `(name="${w}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${s.filter((i) => i != null).map((i) => `\`${i}\``).join(", ") || '""'}.`].join(`
1091
1129
  `));
1092
1130
  }
1093
- }, [fe, se, I, S, m]), ie && (I ? ae.length === 0 ? D = null : D = ae.reduce((s, l, x) => (s.push(l), x < ae.length - 1 && s.push(", "), s), []) : D = We);
1094
- let Ae = ro;
1095
- !a && ce && B && (Ae = ne.clientWidth);
1096
- let be;
1097
- typeof j < "u" ? be = j : be = f ? null : 0;
1098
- const Ue = N.id || (S ? `mui-component-select-${S}` : void 0), le = {
1099
- ...t,
1100
- variant: te,
1101
- value: m,
1102
- open: X,
1103
- error: C
1104
- }, me = Ko(le), ge = {
1105
- ...w.PaperProps,
1106
- ...(ze = w.slotProps) == null ? void 0 : ze.paper
1107
- }, De = So();
1108
- return /* @__PURE__ */ Oe(u.Fragment, {
1109
- children: [/* @__PURE__ */ g(zo, {
1131
+ }, [ge, pe, R, w, g]), ue && (R ? de.length === 0 ? q = null : q = de.reduce((s, i, c) => (s.push(i), c < de.length - 1 && s.push(", "), s), []) : q = Ve);
1132
+ let qe = co;
1133
+ !a && me && W && (qe = le.clientWidth);
1134
+ let ve;
1135
+ typeof B < "u" ? ve = B : ve = b ? null : 0;
1136
+ const _e = k.id || (w ? `mui-component-select-${w}` : void 0), ye = Zo(V), So = {
1137
+ ...O.MenuListProps,
1138
+ ...typeof ((Ye = O.slotProps) == null ? void 0 : Ye.list) == "function" ? O.slotProps.list(V) : (Ge = O.slotProps) == null ? void 0 : Ge.list
1139
+ }, Xe = ko();
1140
+ return /* @__PURE__ */ Ie(u.Fragment, {
1141
+ children: [/* @__PURE__ */ v(Yo, {
1110
1142
  as: "div",
1111
- ref: ao,
1112
- tabIndex: be,
1143
+ ref: mo,
1144
+ tabIndex: ve,
1113
1145
  role: "combobox",
1114
- "aria-controls": X ? De : void 0,
1115
- "aria-disabled": f ? "true" : void 0,
1116
- "aria-expanded": X ? "true" : "false",
1146
+ "aria-controls": Y ? Xe : void 0,
1147
+ "aria-disabled": b ? "true" : void 0,
1148
+ "aria-expanded": Y ? "true" : "false",
1117
1149
  "aria-haspopup": "listbox",
1118
- "aria-label": d,
1119
- "aria-labelledby": [y, Ue].filter(Boolean).join(" ") || void 0,
1150
+ "aria-label": p,
1151
+ "aria-labelledby": [h, _e].filter(Boolean).join(" ") || void 0,
1120
1152
  "aria-describedby": r,
1121
- "aria-required": K ? "true" : void 0,
1122
- "aria-invalid": C ? "true" : void 0,
1123
- onKeyDown: co,
1124
- onMouseDown: f || ee ? null : io,
1125
- onBlur: fo,
1126
- onFocus: pe,
1127
- ...N,
1128
- ownerState: le,
1129
- className: de(N.className, me.select, v),
1130
- id: Ue,
1131
- children: _o(D) ? (
1153
+ "aria-required": H ? "true" : void 0,
1154
+ "aria-invalid": I ? "true" : void 0,
1155
+ onKeyDown: ho,
1156
+ onMouseDown: b || ne ? null : go,
1157
+ onBlur: Oo,
1158
+ onFocus: fe,
1159
+ ...k,
1160
+ ownerState: V,
1161
+ className: ce(k.className, ye.select, y),
1162
+ id: _e,
1163
+ children: Qo(q) ? (
1132
1164
  // notranslate needed while Google Translate will not fix zero-width space issue
1133
- _e || (_e = /* @__PURE__ */ g("span", {
1165
+ Ze || (Ze = /* @__PURE__ */ v("span", {
1134
1166
  className: "notranslate",
1135
1167
  "aria-hidden": !0,
1136
1168
  children: "​"
1137
1169
  }))
1138
- ) : D
1139
- }), /* @__PURE__ */ g(qo, {
1140
- "aria-invalid": C,
1141
- value: Array.isArray(m) ? m.join(",") : m,
1142
- name: S,
1143
- ref: Le,
1170
+ ) : q
1171
+ }), /* @__PURE__ */ v(Jo, {
1172
+ "aria-invalid": I,
1173
+ value: Array.isArray(g) ? g.join(",") : g,
1174
+ name: w,
1175
+ ref: Ue,
1144
1176
  "aria-hidden": !0,
1145
- onChange: po,
1177
+ onChange: yo,
1146
1178
  tabIndex: -1,
1147
- disabled: f,
1148
- className: me.nativeInput,
1149
- autoFocus: p,
1150
- required: K,
1151
- ...U,
1152
- ownerState: le
1153
- }), /* @__PURE__ */ g(Vo, {
1154
- as: R,
1155
- className: me.icon,
1156
- ownerState: le
1157
- }), /* @__PURE__ */ g(Oo, {
1158
- id: `menu-${S || ""}`,
1159
- anchorEl: ne,
1160
- open: X,
1161
- onClose: lo,
1179
+ disabled: b,
1180
+ className: ye.nativeInput,
1181
+ autoFocus: d,
1182
+ required: H,
1183
+ ...z,
1184
+ ownerState: V
1185
+ }), /* @__PURE__ */ v(Go, {
1186
+ as: x,
1187
+ className: ye.icon,
1188
+ ownerState: V
1189
+ }), /* @__PURE__ */ v(Po, {
1190
+ id: `menu-${w || ""}`,
1191
+ anchorEl: le,
1192
+ open: Y,
1193
+ onClose: vo,
1162
1194
  anchorOrigin: {
1163
1195
  vertical: "bottom",
1164
1196
  horizontal: "center"
@@ -1167,30 +1199,31 @@ const Ko = (o) => {
1167
1199
  vertical: "top",
1168
1200
  horizontal: "center"
1169
1201
  },
1170
- ...w,
1202
+ ...O,
1171
1203
  slotProps: {
1172
- ...w.slotProps,
1204
+ ...O.slotProps,
1173
1205
  list: {
1174
- "aria-labelledby": y,
1206
+ "aria-labelledby": h,
1175
1207
  role: "listbox",
1176
- "aria-multiselectable": I ? "true" : void 0,
1208
+ "aria-multiselectable": R ? "true" : void 0,
1177
1209
  disableListWrap: !0,
1178
- id: De,
1179
- ...w.MenuListProps
1210
+ id: Xe,
1211
+ ...So
1180
1212
  },
1181
1213
  paper: {
1182
- ...ge,
1214
+ ...ie,
1215
+ ref: bo,
1183
1216
  style: {
1184
- minWidth: Ae,
1185
- ...ge != null ? ge.style : null
1217
+ minWidth: qe,
1218
+ ...ie != null ? ie.style : null
1186
1219
  }
1187
1220
  }
1188
1221
  },
1189
- children: bo
1222
+ children: Co
1190
1223
  })]
1191
1224
  });
1192
1225
  });
1193
- process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1226
+ process.env.NODE_ENV !== "production" && (ao.propTypes = {
1194
1227
  /**
1195
1228
  * @ignore
1196
1229
  */
@@ -1250,7 +1283,7 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1250
1283
  * Imperative handle implementing `{ value: T, node: HTMLElement, focus(): void }`
1251
1284
  * Equivalent to `ref`
1252
1285
  */
1253
- inputRef: J,
1286
+ inputRef: ee,
1254
1287
  /**
1255
1288
  * The ID of an element that acts as an additional label. The Select will
1256
1289
  * be labelled by the additional label and the selected value.
@@ -1338,38 +1371,38 @@ process.env.NODE_ENV !== "production" && (Ze.propTypes = {
1338
1371
  */
1339
1372
  variant: e.oneOf(["standard", "outlined", "filled"])
1340
1373
  });
1341
- const Xo = (o) => {
1374
+ const et = (o) => {
1342
1375
  const {
1343
1376
  classes: t,
1344
1377
  disableUnderline: n,
1345
1378
  startAdornment: r,
1346
- endAdornment: d,
1347
- size: p,
1379
+ endAdornment: p,
1380
+ size: d,
1348
1381
  hiddenLabel: a,
1349
- multiline: i
1350
- } = o, v = {
1351
- root: ["root", !n && "underline", r && "adornedStart", d && "adornedEnd", p === "small" && `size${_(p)}`, a && "hiddenLabel", i && "multiline"],
1382
+ multiline: l
1383
+ } = o, y = {
1384
+ root: ["root", !n && "underline", r && "adornedStart", p && "adornedEnd", d === "small" && `size${K(d)}`, a && "hiddenLabel", l && "multiline"],
1352
1385
  input: ["input"]
1353
- }, b = A(v, No, t);
1386
+ }, m = D(y, Lo, t);
1354
1387
  return {
1355
1388
  ...t,
1356
1389
  // forward classes to the InputBase
1357
- ...b
1390
+ ...m
1358
1391
  };
1359
- }, Ho = h(xe, {
1360
- shouldForwardProp: (o) => F(o) || o === "classes",
1392
+ }, ot = C(Te, {
1393
+ shouldForwardProp: (o) => j(o) || o === "classes",
1361
1394
  name: "MuiFilledInput",
1362
1395
  slot: "Root",
1363
1396
  overridesResolver: (o, t) => {
1364
1397
  const {
1365
1398
  ownerState: n
1366
1399
  } = o;
1367
- return [...we(o, t), !n.disableUnderline && t.underline];
1400
+ return [...Pe(o, t), !n.disableUnderline && t.underline];
1368
1401
  }
1369
- })(M(({
1402
+ })(L(({
1370
1403
  theme: o
1371
1404
  }) => {
1372
- const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", r = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", d = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", p = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
1405
+ const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", r = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", p = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", d = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
1373
1406
  return {
1374
1407
  position: "relative",
1375
1408
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r,
@@ -1380,17 +1413,17 @@ const Xo = (o) => {
1380
1413
  easing: o.transitions.easing.easeOut
1381
1414
  }),
1382
1415
  "&:hover": {
1383
- backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : d,
1416
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : p,
1384
1417
  // Reset on touch devices, it doesn't add specificity
1385
1418
  "@media (hover: none)": {
1386
1419
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
1387
1420
  }
1388
1421
  },
1389
- [`&.${W.focused}`]: {
1422
+ [`&.${A.focused}`]: {
1390
1423
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : r
1391
1424
  },
1392
- [`&.${W.disabled}`]: {
1393
- backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : p
1425
+ [`&.${A.disabled}`]: {
1426
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : d
1394
1427
  },
1395
1428
  variants: [{
1396
1429
  props: ({
@@ -1411,18 +1444,18 @@ const Xo = (o) => {
1411
1444
  pointerEvents: "none"
1412
1445
  // Transparent to the hover style.
1413
1446
  },
1414
- [`&.${W.focused}:after`]: {
1447
+ [`&.${A.focused}:after`]: {
1415
1448
  // translateX(0) is a workaround for Safari transform scale bug
1416
1449
  // See https://github.com/mui/material-ui/issues/31766
1417
1450
  transform: "scaleX(1) translateX(0)"
1418
1451
  },
1419
- [`&.${W.error}`]: {
1452
+ [`&.${A.error}`]: {
1420
1453
  "&::before, &::after": {
1421
1454
  borderBottomColor: (o.vars || o).palette.error.main
1422
1455
  }
1423
1456
  },
1424
1457
  "&::before": {
1425
- borderBottom: `1px solid ${o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / ${o.vars.opacity.inputUnderline})` : n}`,
1458
+ borderBottom: `1px solid ${o.vars ? o.alpha(o.vars.palette.common.onBackground, o.vars.opacity.inputUnderline) : n}`,
1426
1459
  left: 0,
1427
1460
  bottom: 0,
1428
1461
  content: '"\\00a0"',
@@ -1434,15 +1467,15 @@ const Xo = (o) => {
1434
1467
  pointerEvents: "none"
1435
1468
  // Transparent to the hover style.
1436
1469
  },
1437
- [`&:hover:not(.${W.disabled}, .${W.error}):before`]: {
1470
+ [`&:hover:not(.${A.disabled}, .${A.error}):before`]: {
1438
1471
  borderBottom: `1px solid ${(o.vars || o).palette.text.primary}`
1439
1472
  },
1440
- [`&.${W.disabled}:before`]: {
1473
+ [`&.${A.disabled}:before`]: {
1441
1474
  borderBottomStyle: "dotted"
1442
1475
  }
1443
1476
  }
1444
- }, ...Object.entries(o.palette).filter(Ce()).map(([a]) => {
1445
- var i;
1477
+ }, ...Object.entries(o.palette).filter(Re()).map(([a]) => {
1478
+ var l;
1446
1479
  return {
1447
1480
  props: {
1448
1481
  disableUnderline: !1,
@@ -1450,7 +1483,7 @@ const Xo = (o) => {
1450
1483
  },
1451
1484
  style: {
1452
1485
  "&::after": {
1453
- borderBottom: `2px solid ${(i = (o.vars || o).palette[a]) == null ? void 0 : i.main}`
1486
+ borderBottom: `2px solid ${(l = (o.vars || o).palette[a]) == null ? void 0 : l.main}`
1454
1487
  }
1455
1488
  }
1456
1489
  };
@@ -1478,8 +1511,8 @@ const Xo = (o) => {
1478
1511
  }, {
1479
1512
  props: ({
1480
1513
  ownerState: a,
1481
- size: i
1482
- }) => a.multiline && i === "small",
1514
+ size: l
1515
+ }) => a.multiline && l === "small",
1483
1516
  style: {
1484
1517
  paddingTop: 21,
1485
1518
  paddingBottom: 4
@@ -1502,11 +1535,11 @@ const Xo = (o) => {
1502
1535
  }
1503
1536
  }]
1504
1537
  };
1505
- })), Yo = h(Re, {
1538
+ })), tt = C(Ne, {
1506
1539
  name: "MuiFilledInput",
1507
1540
  slot: "Input",
1508
- overridesResolver: Te
1509
- })(M(({
1541
+ overridesResolver: ke
1542
+ })(L(({
1510
1543
  theme: o
1511
1544
  }) => ({
1512
1545
  paddingTop: 25,
@@ -1585,50 +1618,50 @@ const Xo = (o) => {
1585
1618
  }
1586
1619
  }]
1587
1620
  }))), $e = /* @__PURE__ */ u.forwardRef(function(t, n) {
1588
- const r = G({
1621
+ const r = Z({
1589
1622
  props: t,
1590
1623
  name: "MuiFilledInput"
1591
1624
  }), {
1592
- disableUnderline: d = !1,
1593
- components: p = {},
1625
+ disableUnderline: p = !1,
1626
+ components: d = {},
1594
1627
  componentsProps: a,
1595
- fullWidth: i = !1,
1596
- hiddenLabel: v,
1628
+ fullWidth: l = !1,
1629
+ hiddenLabel: y,
1597
1630
  // declare here to prevent spreading to DOM
1598
- inputComponent: b = "input",
1599
- multiline: c = !1,
1600
- slotProps: f,
1601
- slots: O = {},
1602
- type: C = "text",
1603
- ...R
1604
- } = r, T = {
1631
+ inputComponent: m = "input",
1632
+ multiline: f = !1,
1633
+ slotProps: b,
1634
+ slots: S = {},
1635
+ type: I = "text",
1636
+ ...x
1637
+ } = r, P = {
1605
1638
  ...r,
1606
- disableUnderline: d,
1607
- fullWidth: i,
1608
- inputComponent: b,
1609
- multiline: c,
1610
- type: C
1611
- }, y = Xo(r), w = {
1639
+ disableUnderline: p,
1640
+ fullWidth: l,
1641
+ inputComponent: m,
1642
+ multiline: f,
1643
+ type: I
1644
+ }, h = et(r), O = {
1612
1645
  root: {
1613
- ownerState: T
1646
+ ownerState: P
1614
1647
  },
1615
1648
  input: {
1616
- ownerState: T
1649
+ ownerState: P
1617
1650
  }
1618
- }, I = f ?? a ? ve(w, f ?? a) : w, S = O.root ?? p.Root ?? Ho, $ = O.input ?? p.Input ?? Yo;
1619
- return /* @__PURE__ */ g(Se, {
1651
+ }, R = b ?? a ? Oe(O, b ?? a) : O, w = S.root ?? d.Root ?? ot, F = S.input ?? d.Input ?? tt;
1652
+ return /* @__PURE__ */ v(xe, {
1620
1653
  slots: {
1621
- root: S,
1622
- input: $
1654
+ root: w,
1655
+ input: F
1623
1656
  },
1624
- slotProps: I,
1625
- fullWidth: i,
1626
- inputComponent: b,
1627
- multiline: c,
1657
+ slotProps: R,
1658
+ fullWidth: l,
1659
+ inputComponent: m,
1660
+ multiline: f,
1628
1661
  ref: n,
1629
- type: C,
1630
- ...R,
1631
- classes: y
1662
+ type: I,
1663
+ ...x,
1664
+ classes: h
1632
1665
  });
1633
1666
  });
1634
1667
  process.env.NODE_ENV !== "production" && ($e.propTypes = {
@@ -1733,7 +1766,7 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
1733
1766
  /**
1734
1767
  * Pass a ref to the `input` element.
1735
1768
  */
1736
- inputRef: J,
1769
+ inputRef: ee,
1737
1770
  /**
1738
1771
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1739
1772
  * FormControl.
@@ -1824,9 +1857,10 @@ process.env.NODE_ENV !== "production" && ($e.propTypes = {
1824
1857
  value: e.any
1825
1858
  });
1826
1859
  $e.muiName = "Input";
1827
- var Xe;
1828
- const Go = h("fieldset", {
1829
- shouldForwardProp: F
1860
+ var oo;
1861
+ const nt = C("fieldset", {
1862
+ name: "MuiNotchedOutlined",
1863
+ shouldForwardProp: j
1830
1864
  })({
1831
1865
  textAlign: "left",
1832
1866
  position: "absolute",
@@ -1842,9 +1876,10 @@ const Go = h("fieldset", {
1842
1876
  borderWidth: 1,
1843
1877
  overflow: "hidden",
1844
1878
  minWidth: "0%"
1845
- }), Jo = h("legend", {
1846
- shouldForwardProp: F
1847
- })(M(({
1879
+ }), rt = C("legend", {
1880
+ name: "MuiNotchedOutlined",
1881
+ shouldForwardProp: j
1882
+ })(L(({
1848
1883
  theme: o
1849
1884
  }) => ({
1850
1885
  float: "unset",
@@ -1906,31 +1941,31 @@ const Go = h("fieldset", {
1906
1941
  }
1907
1942
  }]
1908
1943
  })));
1909
- function eo(o) {
1944
+ function io(o) {
1910
1945
  const {
1911
1946
  children: t,
1912
1947
  classes: n,
1913
1948
  className: r,
1914
- label: d,
1915
- notched: p,
1949
+ label: p,
1950
+ notched: d,
1916
1951
  ...a
1917
- } = o, i = d != null && d !== "", v = {
1952
+ } = o, l = p != null && p !== "", y = {
1918
1953
  ...o,
1919
- notched: p,
1920
- withLabel: i
1954
+ notched: d,
1955
+ withLabel: l
1921
1956
  };
1922
- return /* @__PURE__ */ g(Go, {
1957
+ return /* @__PURE__ */ v(nt, {
1923
1958
  "aria-hidden": !0,
1924
1959
  className: r,
1925
- ownerState: v,
1960
+ ownerState: y,
1926
1961
  ...a,
1927
- children: /* @__PURE__ */ g(Jo, {
1928
- ownerState: v,
1929
- children: i ? /* @__PURE__ */ g("span", {
1930
- children: d
1962
+ children: /* @__PURE__ */ v(rt, {
1963
+ ownerState: y,
1964
+ children: l ? /* @__PURE__ */ v("span", {
1965
+ children: p
1931
1966
  }) : (
1932
1967
  // notranslate needed while Google Translate will not fix zero-width space issue
1933
- Xe || (Xe = /* @__PURE__ */ g("span", {
1968
+ oo || (oo = /* @__PURE__ */ v("span", {
1934
1969
  className: "notranslate",
1935
1970
  "aria-hidden": !0,
1936
1971
  children: "​"
@@ -1939,7 +1974,7 @@ function eo(o) {
1939
1974
  })
1940
1975
  });
1941
1976
  }
1942
- process.env.NODE_ENV !== "production" && (eo.propTypes = {
1977
+ process.env.NODE_ENV !== "production" && (io.propTypes = {
1943
1978
  /**
1944
1979
  * The content of the component.
1945
1980
  */
@@ -1965,49 +2000,49 @@ process.env.NODE_ENV !== "production" && (eo.propTypes = {
1965
2000
  */
1966
2001
  style: e.object
1967
2002
  });
1968
- const Qo = (o) => {
2003
+ const st = (o) => {
1969
2004
  const {
1970
2005
  classes: t
1971
- } = o, r = A({
2006
+ } = o, r = D({
1972
2007
  root: ["root"],
1973
2008
  notchedOutline: ["notchedOutline"],
1974
2009
  input: ["input"]
1975
- }, Po, t);
2010
+ }, jo, t);
1976
2011
  return {
1977
2012
  ...t,
1978
2013
  // forward classes to the InputBase
1979
2014
  ...r
1980
2015
  };
1981
- }, Zo = h(xe, {
1982
- shouldForwardProp: (o) => F(o) || o === "classes",
2016
+ }, at = C(Te, {
2017
+ shouldForwardProp: (o) => j(o) || o === "classes",
1983
2018
  name: "MuiOutlinedInput",
1984
2019
  slot: "Root",
1985
- overridesResolver: we
1986
- })(M(({
2020
+ overridesResolver: Pe
2021
+ })(L(({
1987
2022
  theme: o
1988
2023
  }) => {
1989
2024
  const t = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
1990
2025
  return {
1991
2026
  position: "relative",
1992
2027
  borderRadius: (o.vars || o).shape.borderRadius,
1993
- [`&:hover .${P.notchedOutline}`]: {
2028
+ [`&:hover .${N.notchedOutline}`]: {
1994
2029
  borderColor: (o.vars || o).palette.text.primary
1995
2030
  },
1996
2031
  // Reset on touch devices, it doesn't add specificity
1997
2032
  "@media (hover: none)": {
1998
- [`&:hover .${P.notchedOutline}`]: {
1999
- borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
2033
+ [`&:hover .${N.notchedOutline}`]: {
2034
+ borderColor: o.vars ? o.alpha(o.vars.palette.common.onBackground, 0.23) : t
2000
2035
  }
2001
2036
  },
2002
- [`&.${P.focused} .${P.notchedOutline}`]: {
2037
+ [`&.${N.focused} .${N.notchedOutline}`]: {
2003
2038
  borderWidth: 2
2004
2039
  },
2005
- variants: [...Object.entries(o.palette).filter(Ce()).map(([n]) => ({
2040
+ variants: [...Object.entries(o.palette).filter(Re()).map(([n]) => ({
2006
2041
  props: {
2007
2042
  color: n
2008
2043
  },
2009
2044
  style: {
2010
- [`&.${P.focused} .${P.notchedOutline}`]: {
2045
+ [`&.${N.focused} .${N.notchedOutline}`]: {
2011
2046
  borderColor: (o.vars || o).palette[n].main
2012
2047
  }
2013
2048
  }
@@ -2015,10 +2050,10 @@ const Qo = (o) => {
2015
2050
  props: {},
2016
2051
  // to overide the above style
2017
2052
  style: {
2018
- [`&.${P.error} .${P.notchedOutline}`]: {
2053
+ [`&.${N.error} .${N.notchedOutline}`]: {
2019
2054
  borderColor: (o.vars || o).palette.error.main
2020
2055
  },
2021
- [`&.${P.disabled} .${P.notchedOutline}`]: {
2056
+ [`&.${N.disabled} .${N.notchedOutline}`]: {
2022
2057
  borderColor: (o.vars || o).palette.action.disabled
2023
2058
  }
2024
2059
  }
@@ -2053,21 +2088,21 @@ const Qo = (o) => {
2053
2088
  }
2054
2089
  }]
2055
2090
  };
2056
- })), et = h(eo, {
2091
+ })), it = C(io, {
2057
2092
  name: "MuiOutlinedInput",
2058
2093
  slot: "NotchedOutline"
2059
- })(M(({
2094
+ })(L(({
2060
2095
  theme: o
2061
2096
  }) => {
2062
2097
  const t = o.palette.mode === "light" ? "rgba(0, 0, 0, 0.23)" : "rgba(255, 255, 255, 0.23)";
2063
2098
  return {
2064
- borderColor: o.vars ? `rgba(${o.vars.palette.common.onBackgroundChannel} / 0.23)` : t
2099
+ borderColor: o.vars ? o.alpha(o.vars.palette.common.onBackground, 0.23) : t
2065
2100
  };
2066
- })), ot = h(Re, {
2101
+ })), lt = C(Ne, {
2067
2102
  name: "MuiOutlinedInput",
2068
2103
  slot: "Input",
2069
- overridesResolver: Te
2070
- })(M(({
2104
+ overridesResolver: ke
2105
+ })(L(({
2071
2106
  theme: o
2072
2107
  }) => ({
2073
2108
  padding: "16.5px 14px",
@@ -2120,75 +2155,75 @@ const Qo = (o) => {
2120
2155
  paddingRight: 0
2121
2156
  }
2122
2157
  }]
2123
- }))), ke = /* @__PURE__ */ u.forwardRef(function(t, n) {
2124
- const r = G({
2158
+ }))), Ee = /* @__PURE__ */ u.forwardRef(function(t, n) {
2159
+ const r = Z({
2125
2160
  props: t,
2126
2161
  name: "MuiOutlinedInput"
2127
2162
  }), {
2128
- components: d = {},
2129
- fullWidth: p = !1,
2163
+ components: p = {},
2164
+ fullWidth: d = !1,
2130
2165
  inputComponent: a = "input",
2131
- label: i,
2132
- multiline: v = !1,
2133
- notched: b,
2134
- slots: c = {},
2135
- slotProps: f = {},
2136
- type: O = "text",
2137
- ...C
2138
- } = r, R = Qo(r), T = he(), y = ye({
2166
+ label: l,
2167
+ multiline: y = !1,
2168
+ notched: m,
2169
+ slots: f = {},
2170
+ slotProps: b = {},
2171
+ type: S = "text",
2172
+ ...I
2173
+ } = r, x = st(r), P = Se(), h = Ce({
2139
2174
  props: r,
2140
- muiFormControl: T,
2175
+ muiFormControl: P,
2141
2176
  states: ["color", "disabled", "error", "focused", "hiddenLabel", "size", "required"]
2142
- }), w = {
2177
+ }), O = {
2143
2178
  ...r,
2144
- color: y.color || "primary",
2145
- disabled: y.disabled,
2146
- error: y.error,
2147
- focused: y.focused,
2148
- formControl: T,
2149
- fullWidth: p,
2150
- hiddenLabel: y.hiddenLabel,
2151
- multiline: v,
2152
- size: y.size,
2153
- type: O
2154
- }, I = c.root ?? d.Root ?? Zo, S = c.input ?? d.Input ?? ot, [$, k] = Ro("notchedOutline", {
2155
- elementType: et,
2156
- className: R.notchedOutline,
2179
+ color: h.color || "primary",
2180
+ disabled: h.disabled,
2181
+ error: h.error,
2182
+ focused: h.focused,
2183
+ formControl: P,
2184
+ fullWidth: d,
2185
+ hiddenLabel: h.hiddenLabel,
2186
+ multiline: y,
2187
+ size: h.size,
2188
+ type: S
2189
+ }, R = f.root ?? p.Root ?? at, w = f.input ?? p.Input ?? lt, [F, $] = $o("notchedOutline", {
2190
+ elementType: it,
2191
+ className: x.notchedOutline,
2157
2192
  shouldForwardComponentProp: !0,
2158
- ownerState: w,
2193
+ ownerState: O,
2159
2194
  externalForwardedProps: {
2160
- slots: c,
2161
- slotProps: f
2195
+ slots: f,
2196
+ slotProps: b
2162
2197
  },
2163
2198
  additionalProps: {
2164
- label: i != null && i !== "" && y.required ? /* @__PURE__ */ Oe(u.Fragment, {
2165
- children: [i, " ", "*"]
2166
- }) : i
2199
+ label: l != null && l !== "" && h.required ? /* @__PURE__ */ Ie(u.Fragment, {
2200
+ children: [l, " ", "*"]
2201
+ }) : l
2167
2202
  }
2168
2203
  });
2169
- return /* @__PURE__ */ g(Se, {
2204
+ return /* @__PURE__ */ v(xe, {
2170
2205
  slots: {
2171
- root: I,
2172
- input: S
2206
+ root: R,
2207
+ input: w
2173
2208
  },
2174
- slotProps: f,
2175
- renderSuffix: (E) => /* @__PURE__ */ g($, {
2176
- ...k,
2177
- notched: typeof b < "u" ? b : !!(E.startAdornment || E.filled || E.focused)
2209
+ slotProps: b,
2210
+ renderSuffix: (E) => /* @__PURE__ */ v(F, {
2211
+ ...$,
2212
+ notched: typeof m < "u" ? m : !!(E.startAdornment || E.filled || E.focused)
2178
2213
  }),
2179
- fullWidth: p,
2214
+ fullWidth: d,
2180
2215
  inputComponent: a,
2181
- multiline: v,
2216
+ multiline: y,
2182
2217
  ref: n,
2183
- type: O,
2184
- ...C,
2218
+ type: S,
2219
+ ...I,
2185
2220
  classes: {
2186
- ...R,
2221
+ ...x,
2187
2222
  notchedOutline: null
2188
2223
  }
2189
2224
  });
2190
2225
  });
2191
- process.env.NODE_ENV !== "production" && (ke.propTypes = {
2226
+ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
2192
2227
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2193
2228
  // │ These PropTypes are generated from the TypeScript type definitions. │
2194
2229
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2266,7 +2301,7 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
2266
2301
  /**
2267
2302
  * Pass a ref to the `input` element.
2268
2303
  */
2269
- inputRef: J,
2304
+ inputRef: ee,
2270
2305
  /**
2271
2306
  * The label of the `input`. It is only used for layout. The actual labelling
2272
2307
  * is handled by `InputLabel`.
@@ -2360,119 +2395,119 @@ process.env.NODE_ENV !== "production" && (ke.propTypes = {
2360
2395
  */
2361
2396
  value: e.any
2362
2397
  });
2363
- ke.muiName = "Input";
2364
- const tt = (o) => {
2398
+ Ee.muiName = "Input";
2399
+ const pt = (o) => {
2365
2400
  const {
2366
2401
  classes: t
2367
- } = o, r = A({
2402
+ } = o, r = D({
2368
2403
  root: ["root"]
2369
- }, Qe, t);
2404
+ }, so, t);
2370
2405
  return {
2371
2406
  ...t,
2372
2407
  ...r
2373
2408
  };
2374
- }, Ee = {
2409
+ }, je = {
2375
2410
  name: "MuiSelect",
2376
2411
  slot: "Root",
2377
- shouldForwardProp: (o) => F(o) && o !== "variant"
2378
- }, nt = h(Pe, Ee)(""), rt = h(ke, Ee)(""), st = h($e, Ee)(""), oo = /* @__PURE__ */ u.forwardRef(function(t, n) {
2379
- const r = G({
2412
+ shouldForwardProp: (o) => j(o) && o !== "variant"
2413
+ }, dt = C(Me, je)(""), ut = C(Ee, je)(""), ct = C($e, je)(""), lo = /* @__PURE__ */ u.forwardRef(function(t, n) {
2414
+ const r = Z({
2380
2415
  name: "MuiSelect",
2381
2416
  props: t
2382
2417
  }), {
2383
- autoWidth: d = !1,
2384
- children: p,
2418
+ autoWidth: p = !1,
2419
+ children: d,
2385
2420
  classes: a = {},
2386
- className: i,
2387
- defaultOpen: v = !1,
2388
- displayEmpty: b = !1,
2389
- IconComponent: c = $o,
2390
- id: f,
2391
- input: O,
2392
- inputProps: C,
2393
- label: R,
2394
- labelId: T,
2395
- MenuProps: y,
2396
- multiple: w = !1,
2397
- native: I = !1,
2398
- onClose: S,
2399
- onOpen: $,
2400
- open: k,
2421
+ className: l,
2422
+ defaultOpen: y = !1,
2423
+ displayEmpty: m = !1,
2424
+ IconComponent: f = Bo,
2425
+ id: b,
2426
+ input: S,
2427
+ inputProps: I,
2428
+ label: x,
2429
+ labelId: P,
2430
+ MenuProps: h,
2431
+ multiple: O = !1,
2432
+ native: R = !1,
2433
+ onClose: w,
2434
+ onOpen: F,
2435
+ open: $,
2401
2436
  renderValue: E,
2402
- SelectDisplayProps: pe,
2403
- variant: Q = "outlined",
2404
- ...Z
2405
- } = r, ee = I ? Je : Ze, oe = he(), K = ye({
2437
+ SelectDisplayProps: fe,
2438
+ variant: oe = "outlined",
2439
+ ...te
2440
+ } = r, ne = R ? ro : ao, re = Se(), H = Ce({
2406
2441
  props: r,
2407
- muiFormControl: oe,
2442
+ muiFormControl: re,
2408
2443
  states: ["variant", "error"]
2409
- }), N = K.variant || Q, j = {
2444
+ }), k = H.variant || oe, B = {
2410
2445
  ...r,
2411
- variant: N,
2446
+ variant: k,
2412
2447
  classes: a
2413
- }, ue = tt(j), {
2414
- root: Fe,
2415
- ...te
2416
- } = ue, U = O || {
2417
- standard: /* @__PURE__ */ g(nt, {
2418
- ownerState: j
2448
+ }, be = pt(B), {
2449
+ root: Le,
2450
+ ...se
2451
+ } = be, z = S || {
2452
+ standard: /* @__PURE__ */ v(dt, {
2453
+ ownerState: B
2419
2454
  }),
2420
- outlined: /* @__PURE__ */ g(rt, {
2421
- label: R,
2422
- ownerState: j
2455
+ outlined: /* @__PURE__ */ v(ut, {
2456
+ label: x,
2457
+ ownerState: B
2423
2458
  }),
2424
- filled: /* @__PURE__ */ g(st, {
2425
- ownerState: j
2459
+ filled: /* @__PURE__ */ v(ct, {
2460
+ ownerState: B
2426
2461
  })
2427
- }[N], m = He(n, wo(U));
2428
- return /* @__PURE__ */ g(u.Fragment, {
2429
- children: /* @__PURE__ */ u.cloneElement(U, {
2462
+ }[k], g = he(n, Fo(z));
2463
+ return /* @__PURE__ */ v(u.Fragment, {
2464
+ children: /* @__PURE__ */ u.cloneElement(z, {
2430
2465
  // Most of the logic is implemented in `SelectInput`.
2431
2466
  // The `Select` component is a simple API wrapper to expose something better to play with.
2432
- inputComponent: ee,
2467
+ inputComponent: ne,
2433
2468
  inputProps: {
2434
- children: p,
2435
- error: K.error,
2436
- IconComponent: c,
2437
- variant: N,
2469
+ children: d,
2470
+ error: H.error,
2471
+ IconComponent: f,
2472
+ variant: k,
2438
2473
  type: void 0,
2439
2474
  // We render a select. We can ignore the type provided by the `Input`.
2440
- multiple: w,
2441
- ...I ? {
2442
- id: f
2475
+ multiple: O,
2476
+ ...R ? {
2477
+ id: b
2443
2478
  } : {
2444
- autoWidth: d,
2445
- defaultOpen: v,
2446
- displayEmpty: b,
2447
- labelId: T,
2448
- MenuProps: y,
2449
- onClose: S,
2450
- onOpen: $,
2451
- open: k,
2479
+ autoWidth: p,
2480
+ defaultOpen: y,
2481
+ displayEmpty: m,
2482
+ labelId: P,
2483
+ MenuProps: h,
2484
+ onClose: w,
2485
+ onOpen: F,
2486
+ open: $,
2452
2487
  renderValue: E,
2453
2488
  SelectDisplayProps: {
2454
- id: f,
2455
- ...pe
2489
+ id: b,
2490
+ ...fe
2456
2491
  }
2457
2492
  },
2458
- ...C,
2459
- classes: C ? ve(te, C.classes) : te,
2460
- ...O ? O.props.inputProps : {}
2493
+ ...I,
2494
+ classes: I ? Oe(se, I.classes) : se,
2495
+ ...S ? S.props.inputProps : {}
2461
2496
  },
2462
- ...(w && I || b) && N === "outlined" ? {
2497
+ ...(O && R || m) && k === "outlined" ? {
2463
2498
  notched: !0
2464
2499
  } : {},
2465
- ref: m,
2466
- className: de(U.props.className, i, ue.root),
2500
+ ref: g,
2501
+ className: ce(z.props.className, l, be.root),
2467
2502
  // 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.
2468
- ...!O && {
2469
- variant: N
2503
+ ...!S && {
2504
+ variant: k
2470
2505
  },
2471
- ...Z
2506
+ ...te
2472
2507
  })
2473
2508
  });
2474
2509
  });
2475
- process.env.NODE_ENV !== "production" && (oo.propTypes = {
2510
+ process.env.NODE_ENV !== "production" && (lo.propTypes = {
2476
2511
  // ┌────────────────────────────── Warning ──────────────────────────────┐
2477
2512
  // │ These PropTypes are generated from the TypeScript type definitions. │
2478
2513
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -2619,20 +2654,20 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
2619
2654
  */
2620
2655
  variant: e.oneOf(["filled", "outlined", "standard"])
2621
2656
  });
2622
- oo.muiName = "Select";
2657
+ lo.muiName = "Select";
2623
2658
  export {
2624
- $o as A,
2659
+ Bo as A,
2625
2660
  $e as F,
2626
- Pe as I,
2627
- ke as O,
2628
- oo as S,
2629
- Bo as a,
2630
- Rt as b,
2631
- Mo as c,
2632
- Qe as d,
2633
- W as f,
2634
- To as g,
2635
- H as i,
2636
- P as o,
2637
- Y as s
2661
+ Me as I,
2662
+ Ee as O,
2663
+ lo as S,
2664
+ qo as a,
2665
+ Et as b,
2666
+ Do as c,
2667
+ so as d,
2668
+ A as f,
2669
+ Eo as g,
2670
+ J as i,
2671
+ N as o,
2672
+ Q as s
2638
2673
  };