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