@cgi-learning-hub/ui 1.6.0-dev.1750082787 → 1.6.0-dev.1750693069

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 (317) hide show
  1. package/dist/Alert-BhLIlUBu.js +368 -0
  2. package/dist/Alert-DPSZppEy.cjs +1 -0
  3. package/dist/Alert-OeEy_IGc.js +94 -0
  4. package/dist/Alert-rPyl-bqs.cjs +1 -0
  5. package/dist/Autocomplete-BdPO9SAd.cjs +6 -0
  6. package/dist/{Autocomplete-BVy1WjPe.js → Autocomplete-WZw_zCjA.js} +366 -368
  7. package/dist/{Backdrop-BSLhsv85.js → Backdrop-CjZYrxkZ.js} +5 -5
  8. package/dist/Backdrop-DeNTZlA5.cjs +1 -0
  9. package/dist/{Badge-D9BY47ln.js → Badge-Bwcsnbsa.js} +107 -99
  10. package/dist/Badge-DFzvdVS-.cjs +1 -0
  11. package/dist/{Box-DjbKEblU.js → Box-BI4osO9v.js} +3 -3
  12. package/dist/Box-DR3n_po_.cjs +1 -0
  13. package/dist/{Button-WTdCmXYm.js → Button-DDV5EfwJ.js} +115 -151
  14. package/dist/Button-DyJV5llI.cjs +1 -0
  15. package/dist/{ButtonBase-Cog6rzwh.js → ButtonBase-6TF6t2SP.js} +21 -22
  16. package/dist/ButtonBase-Dp6sf_dP.cjs +74 -0
  17. package/dist/CardContent-COfaU6E0.cjs +1 -0
  18. package/dist/{CardContent-rIQGzMEo.js → CardContent-D3uGcxlr.js} +34 -36
  19. package/dist/Checkbox-3hTSv0EZ.cjs +1 -0
  20. package/dist/{Checkbox-DUMc8-SB.js → Checkbox-BfBDowB2.js} +27 -28
  21. package/dist/Chip-BG0OU0KI.cjs +1 -0
  22. package/dist/{Chip-DUN-Fb_U.js → Chip-DmjZbx_X.js} +213 -164
  23. package/dist/CircularProgress-CXXyPavb.cjs +28 -0
  24. package/dist/{CircularProgress-DnqwyXnx.js → CircularProgress-DZuYTFz-.js} +34 -36
  25. package/dist/{Close-BFNngmx-.cjs → Close-7S2hSoFB.cjs} +1 -1
  26. package/dist/{Close-BD-KPNgj.js → Close-DEMecSZ6.js} +1 -1
  27. package/dist/{CloseRounded-BvDxY6j7.js → CloseRounded-CioV1GK3.js} +1 -1
  28. package/dist/{CloseRounded-e-a3RxlE.cjs → CloseRounded-DS-4-gMR.cjs} +1 -1
  29. package/dist/CustomTreeItem-B9FylIhL.js +2045 -0
  30. package/dist/CustomTreeItem-Bg8Ub4dn.cjs +41 -0
  31. package/dist/DatePicker-CH8XRum0.cjs +16 -0
  32. package/dist/DatePicker-DasS2wq6.js +10663 -0
  33. package/dist/DefaultPropsProvider-Cnf49AIv.cjs +1 -0
  34. package/dist/{DefaultPropsProvider-CRQ3Gr22.js → DefaultPropsProvider-DqazQPtr.js} +20 -20
  35. package/dist/{Delete-Cy45hwCy.js → Delete-B5VTV71K.js} +1 -1
  36. package/dist/{Delete-fIZ9JoWy.cjs → Delete-BvkBJXEM.cjs} +1 -1
  37. package/dist/Dialog-Btagj_Gt.cjs +1 -0
  38. package/dist/{Dialog-sYVRMluM.js → Dialog-DEWB041V.js} +36 -41
  39. package/dist/{DialogContent-Bnuj13Sv.js → DialogContent-C294EkoQ.js} +3 -3
  40. package/dist/DialogContent-DXfUge3c.cjs +1 -0
  41. package/dist/{DialogTitle-BT0ckfTq.js → DialogTitle-BSiId6Q1.js} +38 -40
  42. package/dist/DialogTitle-y2PrK6uU.cjs +1 -0
  43. package/dist/Divider-NermA5hZ.cjs +1 -0
  44. package/dist/{Divider-Bsr4YOx4.js → Divider-kKp4VqHh.js} +4 -4
  45. package/dist/{Folder-BvPvb5St.cjs → Folder-BfLBqDHM.cjs} +1 -1
  46. package/dist/{Folder-cn5kD2Zm.js → Folder-BgQP5-Ve.js} +1 -1
  47. package/dist/{FormLabel-C_NeUysJ.js → FormLabel-B3WAnPGP.js} +36 -38
  48. package/dist/FormLabel-JrZR9kt8.cjs +2 -0
  49. package/dist/Grid-BHYQ3JNy.cjs +2 -0
  50. package/dist/{Grid-CpuW2Xrl.js → Grid-DFk-4jnZ.js} +75 -83
  51. package/dist/Grow-BULCy6GX.cjs +1 -0
  52. package/dist/{Grow-DrWDr0WD.js → Grow-BfjkXlG8.js} +2 -2
  53. package/dist/{IconButton-ZOYYBKrY.js → IconButton-BYvak8Nw.js} +13 -15
  54. package/dist/IconButton-CjtMjZ9e.cjs +2 -0
  55. package/dist/{InputAdornment-mPJEEW62.js → InputAdornment-BBZXvhZ-.js} +14 -15
  56. package/dist/InputAdornment-DvHQMisT.cjs +1 -0
  57. package/dist/{InputBase-wf6Sq2-d.js → InputBase-BS5oknUK.js} +196 -194
  58. package/dist/InputBase-DPdKpmOz.cjs +4 -0
  59. package/dist/Link-BwbY60dS.cjs +1 -0
  60. package/dist/{Link-CPIGW37d.js → Link-DYPjEdvu.js} +10 -11
  61. package/dist/{List-4Tnjo8WV.js → List-CB_cqCSw.js} +2 -2
  62. package/dist/List-t9bWFewp.cjs +1 -0
  63. package/dist/{ListItem-CeosJHtu.js → ListItem-DAZQEir2.js} +25 -26
  64. package/dist/ListItem-DP7YmqZk.cjs +1 -0
  65. package/dist/ListItemText-cVnimPLO.cjs +1 -0
  66. package/dist/{ListItemText-BlTklQGT.js → ListItemText-qfdqJP77.js} +9 -9
  67. package/dist/{Menu-CtyhzSeU.js → Menu-9BK8jmzW.js} +101 -106
  68. package/dist/Menu-C61wLk41.cjs +7 -0
  69. package/dist/{MenuItem-Cpp55CvO.js → MenuItem-C8nduSzJ.js} +7 -7
  70. package/dist/MenuItem-DHM3qxwr.cjs +1 -0
  71. package/dist/{Modal-WaX5c2ks.js → Modal-D3Q9vEAI.js} +52 -57
  72. package/dist/Modal-DkzrSKHd.cjs +2 -0
  73. package/dist/{MoreVert-B37dOc0h.cjs → MoreVert-C-Rhn-xK.cjs} +1 -1
  74. package/dist/{MoreVert-DcA_LRP8.js → MoreVert-C_W1m_Z_.js} +1 -1
  75. package/dist/Paper-BbqZL5vx.cjs +2 -0
  76. package/dist/{Paper-yeP8q4RO.js → Paper-IQckggbn.js} +5 -5
  77. package/dist/{Popper-IzGPRFl_.js → Popper-CfFLBZ7-.js} +5 -6
  78. package/dist/Popper-DvWx5tR3.cjs +4 -0
  79. package/dist/{Portal-DTB-35pe.js → Portal-BlK6ttxt.js} +4 -4
  80. package/dist/Portal-CPOCKeMh.cjs +1 -0
  81. package/dist/Radio-Bwh_t6PC.cjs +1 -0
  82. package/dist/{Radio-DQq7Mj29.js → Radio-DKiu6lVB.js} +17 -19
  83. package/dist/RadioGroup-Cvnwt4JE.cjs +1 -0
  84. package/dist/{RadioGroup-D-KO9Ylf.js → RadioGroup-DFKMlNWO.js} +4 -4
  85. package/dist/Select-3HP39Z7o.cjs +3 -0
  86. package/dist/{Select-CHo4cwj1.js → Select-CpNF3a57.js} +425 -410
  87. package/dist/Stack-CIyfgZCM.cjs +1 -0
  88. package/dist/{Stack-B_iq0mhq.js → Stack-DSJ2DqNd.js} +36 -37
  89. package/dist/Stepper-CXHfLPtA.cjs +1 -0
  90. package/dist/{Stepper-Co2LRzY9.js → Stepper-DE2l91K0.js} +92 -98
  91. package/dist/{Switch-B0HwIwIM.js → Switch-BIcwDf_P.js} +24 -27
  92. package/dist/Switch-CTEqKDiv.cjs +1 -0
  93. package/dist/{SwitchBase-DrxqSNew.js → SwitchBase-DZV8S81Z.js} +21 -22
  94. package/dist/SwitchBase-P3zHVmLX.cjs +1 -0
  95. package/dist/{Tab-fionqt7a.js → Tab-Ckr6Bn59.js} +95 -98
  96. package/dist/Tab-r5imbU9z.cjs +4 -0
  97. package/dist/{TextField-CbcJBZMa.js → TextField-BenBw4oE.js} +46 -48
  98. package/dist/TextField-Brw3X9cn.cjs +1 -0
  99. package/dist/ToggleButtonGroup-CA1cSosV.cjs +138 -0
  100. package/dist/{ToggleButtonGroup-C2VnPpq_.js → ToggleButtonGroup-DhtAoGtM.js} +2916 -2878
  101. package/dist/Tooltip-BAOKe3SY.cjs +4 -0
  102. package/dist/{Tooltip-KsV9NFU9.js → Tooltip-KkgNQm4r.js} +26 -28
  103. package/dist/Typography-CSTmKyr8.cjs +1 -0
  104. package/dist/{Typography-CYUXO-Vm.js → Typography-Dy8r_tT2.js} +6 -7
  105. package/dist/components/Alert/Alert.cjs.js +1 -1
  106. package/dist/components/Alert/Alert.es.js +5 -4
  107. package/dist/components/Alert/index.cjs.js +1 -1
  108. package/dist/components/Alert/index.es.js +1 -1
  109. package/dist/components/Button/Button.cjs.js +1 -1
  110. package/dist/components/Button/Button.es.js +2 -2
  111. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  112. package/dist/components/DatePicker/DatePicker.d.ts +1 -2
  113. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  114. package/dist/components/DatePicker/index.cjs.js +1 -1
  115. package/dist/components/DatePicker/index.es.js +1 -1
  116. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  117. package/dist/components/Dialog/Dialog.es.js +2 -2
  118. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  119. package/dist/components/Dropzone/Dropzone.es.js +3 -3
  120. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  121. package/dist/components/EmptyState/EmptyState.es.js +3 -3
  122. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  123. package/dist/components/FileList/FileIcon.es.js +1 -1
  124. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  125. package/dist/components/FileList/FileListItem.es.js +4 -4
  126. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  127. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  128. package/dist/components/Heading/Heading.cjs.js +1 -1
  129. package/dist/components/Heading/Heading.es.js +2 -2
  130. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  131. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  132. package/dist/components/Loader/Loader.cjs.js +1 -1
  133. package/dist/components/Loader/Loader.es.js +1 -1
  134. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  135. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  136. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  137. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  138. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  139. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  140. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  141. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  142. package/dist/components/TreeView/TreeView.cjs.js +5 -7
  143. package/dist/components/TreeView/TreeView.es.js +1207 -1452
  144. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  145. package/dist/components/TreeView/components/CustomTreeItem.d.ts +2 -2
  146. package/dist/components/TreeView/components/CustomTreeItem.es.js +2 -2
  147. package/dist/components/TreeView/types.d.ts +5 -5
  148. package/dist/components/TreeView/utils.cjs.js +1 -1
  149. package/dist/components/TreeView/utils.es.js +3 -3
  150. package/dist/components/index.cjs.js +1 -1
  151. package/dist/components/index.es.js +44 -44
  152. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  153. package/dist/components/stories/Alert.stories.es.js +1 -1
  154. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  155. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  156. package/dist/components/stories/Badge.stories.cjs.js +1 -1
  157. package/dist/components/stories/Badge.stories.es.js +2 -2
  158. package/dist/components/stories/Button.stories.cjs.js +1 -1
  159. package/dist/components/stories/Button.stories.es.js +1 -1
  160. package/dist/components/stories/ButtonGroup.stories.cjs.js +1 -1
  161. package/dist/components/stories/ButtonGroup.stories.es.js +6 -6
  162. package/dist/components/stories/Card.stories.cjs.js +1 -1
  163. package/dist/components/stories/Card.stories.es.js +2 -2
  164. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  165. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  166. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  167. package/dist/components/stories/Chip.stories.es.js +1 -1
  168. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  169. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  170. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  171. package/dist/components/stories/Dialog.stories.es.js +2 -2
  172. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  173. package/dist/components/stories/Divider.stories.es.js +1 -1
  174. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  175. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  176. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  177. package/dist/components/stories/Heading.stories.es.js +2 -2
  178. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  179. package/dist/components/stories/IconButton.stories.es.js +2 -2
  180. package/dist/components/stories/Link.stories.cjs.js +1 -1
  181. package/dist/components/stories/Link.stories.es.js +1 -1
  182. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  183. package/dist/components/stories/Menu.stories.es.js +2 -2
  184. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  185. package/dist/components/stories/Paper.stories.es.js +1 -1
  186. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  187. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  188. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  189. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  190. package/dist/components/stories/Select.stories.cjs.js +1 -1
  191. package/dist/components/stories/Select.stories.es.js +3 -3
  192. package/dist/components/stories/Stepper.stories.cjs.js +1 -1
  193. package/dist/components/stories/Stepper.stories.es.js +4 -4
  194. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  195. package/dist/components/stories/TabList.stories.es.js +1 -1
  196. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  197. package/dist/components/stories/TextField.stories.es.js +1 -1
  198. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  199. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  200. package/dist/components/stories/TreeView.stories.cjs.js +1 -1
  201. package/dist/components/stories/TreeView.stories.es.js +13 -13
  202. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  203. package/dist/components/stories/Typography.stories.es.js +1 -1
  204. package/dist/{createSvgIcon-BWru5SCV.js → createSvgIcon-B1E6Wo8z.js} +7 -8
  205. package/dist/createSvgIcon-IET9soda.cjs +1 -0
  206. package/dist/{dividerClasses-Brli9oB2.js → dividerClasses-BPJZ8SFy.js} +1 -1
  207. package/dist/dividerClasses-C07OJKLL.cjs +1 -0
  208. package/dist/elementAcceptingRef-BZ42cOGO.cjs +1 -0
  209. package/dist/{extendSxProp-DPYS2LeU.js → extendSxProp-CesAxox9.js} +1 -1
  210. package/dist/extendSxProp-ZMCunXYm.cjs +1 -0
  211. package/dist/identifier-BoZelETM.cjs +55 -0
  212. package/dist/{generateUtilityClasses-BbL5PyhJ.js → identifier-PWESmBq6.js} +581 -611
  213. package/dist/{index-Blgqpey-.js → index-8G2jvqZ8.js} +4 -4
  214. package/dist/index-D3lMWU76.cjs +1 -0
  215. package/dist/index.cjs.js +1 -1
  216. package/dist/index.es.js +44 -44
  217. package/dist/integerPropType-BihGt2aU.js +31 -0
  218. package/dist/integerPropType-CR7ytEJG.cjs +1 -0
  219. package/dist/{listItemTextClasses-x9hDn3Oc.js → listItemTextClasses-B5VhLd9W.js} +1 -1
  220. package/dist/listItemTextClasses-CJDKfXvl.cjs +1 -0
  221. package/dist/{memoTheme-BvyhrtrO.cjs → memoTheme-BKfsJx_F.cjs} +1 -1
  222. package/dist/{memoTheme-C2ZnVSVg.js → memoTheme-DAFDflPY.js} +1 -1
  223. package/dist/{mergeSlotProps-Cy3pJiFs.js → mergeSlotProps-ChAye7iz.js} +1 -1
  224. package/dist/mergeSlotProps-DXwOW3FE.cjs +1 -0
  225. package/dist/styled-C7gyRDlj.js +5 -0
  226. package/dist/styled-Cax0O00h.cjs +1 -0
  227. package/dist/useControlled-QrrYcKxm.cjs +3 -0
  228. package/dist/useControlled-nm4pBabJ.js +31 -0
  229. package/dist/useSlot-BzdKwDQ5.js +125 -0
  230. package/dist/useSlot-C2FjoUpF.cjs +1 -0
  231. package/dist/useSlotProps-CrQGQLdL.cjs +1 -0
  232. package/dist/{useSlotProps-Bvolo5qn.js → useSlotProps-DdMuGelR.js} +1 -1
  233. package/dist/{useTheme-DlWqSSQs.js → useTheme--i9fxE_A.js} +1 -1
  234. package/dist/useTheme-BLMJDSsv.cjs +1 -0
  235. package/dist/useTheme-CooC_6Ep.cjs +1 -0
  236. package/dist/useTheme-XJ9sFCWX.js +11 -0
  237. package/dist/{useThemeProps-CHx0N1SM.js → useThemeProps-B4VFkcP0.js} +4 -4
  238. package/dist/{useThemeProps-Bf2NCpA_.cjs → useThemeProps-B9E_wuN9.cjs} +1 -1
  239. package/dist/useThemeProps-C1A3rnbh.cjs +1 -0
  240. package/dist/useThemeProps-CQ9rZe7g.js +17 -0
  241. package/package.json +12 -11
  242. package/dist/Alert-DdmE0EMo.js +0 -457
  243. package/dist/Alert-p6jIgCWU.cjs +0 -1
  244. package/dist/Autocomplete-v4ZcHulv.cjs +0 -6
  245. package/dist/Backdrop-0xfsnuri.cjs +0 -1
  246. package/dist/Badge-Dpxa8BPA.cjs +0 -1
  247. package/dist/Box-xgRKDOV1.cjs +0 -1
  248. package/dist/Button-qSgmSSw2.cjs +0 -1
  249. package/dist/ButtonBase-CsJxPLAx.cjs +0 -74
  250. package/dist/CardContent-BTTU3lDd.cjs +0 -1
  251. package/dist/Checkbox-jecO0f9-.cjs +0 -1
  252. package/dist/Chip-CkonlDiW.cjs +0 -1
  253. package/dist/CircularProgress-Bvcr-mus.cjs +0 -28
  254. package/dist/CustomTreeItem-Bo6LVL2g.cjs +0 -3
  255. package/dist/CustomTreeItem-D-Fd2rf4.js +0 -1342
  256. package/dist/DatePicker-CTAJnIvu.js +0 -10255
  257. package/dist/DatePicker-DDYXqvgA.cjs +0 -14
  258. package/dist/DefaultPropsProvider-CsTuCVNC.cjs +0 -1
  259. package/dist/Dialog-ByiFxqo3.cjs +0 -1
  260. package/dist/DialogContent-0WzVi_CB.cjs +0 -1
  261. package/dist/DialogTitle-Dq5hCek2.cjs +0 -1
  262. package/dist/Divider-DPIWZuaX.cjs +0 -1
  263. package/dist/FormLabel-BPReGp6x.cjs +0 -2
  264. package/dist/Grid-D0L0VF_j.cjs +0 -2
  265. package/dist/Grow-CxV2Td_c.cjs +0 -1
  266. package/dist/IconButton-BzvVYvTv.cjs +0 -2
  267. package/dist/InputAdornment-CiGypDyN.cjs +0 -1
  268. package/dist/InputBase-D7cWCjsM.cjs +0 -3
  269. package/dist/Link-6MI2s97g.cjs +0 -1
  270. package/dist/List-DNAAO5Md.cjs +0 -1
  271. package/dist/ListItem-DNNO5emo.cjs +0 -1
  272. package/dist/ListItemText-DTJBvetJ.cjs +0 -1
  273. package/dist/Menu-BD7yr5c5.cjs +0 -7
  274. package/dist/MenuItem-BnxRQgzx.cjs +0 -1
  275. package/dist/Modal-Dpz2n_rl.cjs +0 -2
  276. package/dist/Paper-Dy4nClba.cjs +0 -2
  277. package/dist/Popper-Dx7Ddmig.cjs +0 -4
  278. package/dist/Portal-B5KqLEa0.cjs +0 -1
  279. package/dist/Radio-TCZTDRDq.cjs +0 -1
  280. package/dist/RadioGroup-BlhT0LTh.cjs +0 -1
  281. package/dist/Select-YiRsvCtO.cjs +0 -3
  282. package/dist/Stack-CiqSL-ss.cjs +0 -1
  283. package/dist/Stepper-Bp48LpKw.cjs +0 -1
  284. package/dist/Switch-CmP4YhdJ.cjs +0 -1
  285. package/dist/SwitchBase-D-Pz73oW.cjs +0 -1
  286. package/dist/Tab-DaJQbLHr.cjs +0 -4
  287. package/dist/TextField-BD5v4wWW.cjs +0 -1
  288. package/dist/ToggleButtonGroup-cWPBztiH.cjs +0 -138
  289. package/dist/Tooltip-B-G3ZA40.cjs +0 -4
  290. package/dist/Typography-CTc5xI5k.cjs +0 -1
  291. package/dist/capitalize-3mO2QYxZ.js +0 -9
  292. package/dist/capitalize-jkeaHv-a.cjs +0 -1
  293. package/dist/composeClasses-6Jh42fnW.cjs +0 -1
  294. package/dist/composeClasses-PwLhKFRx.js +0 -51
  295. package/dist/createSvgIcon-r-LuM8rr.cjs +0 -1
  296. package/dist/dividerClasses-MIs6pQ1h.cjs +0 -1
  297. package/dist/extendSxProp-DjoHuUqk.cjs +0 -1
  298. package/dist/generateUtilityClasses-CEM-EnA0.cjs +0 -55
  299. package/dist/getReactElementRef-EVJnBPlV.cjs +0 -1
  300. package/dist/index-dnUj5rrV.cjs +0 -1
  301. package/dist/integerPropType-Ched4o4e.cjs +0 -1
  302. package/dist/integerPropType-D-nm5Xmm.js +0 -31
  303. package/dist/listItemTextClasses-BbeGMaIS.cjs +0 -1
  304. package/dist/mergeSlotProps-DTB2qS-_.cjs +0 -1
  305. package/dist/resolveComponentProps-CUWj-pue.cjs +0 -1
  306. package/dist/resolveComponentProps-DBhzJW60.js +0 -80
  307. package/dist/useControlled-BYdyS7Pn.js +0 -31
  308. package/dist/useControlled-Ysk4KqoX.cjs +0 -3
  309. package/dist/useSlot-CVpYSDNX.cjs +0 -1
  310. package/dist/useSlot-PbukIIii.js +0 -48
  311. package/dist/useSlotProps-DOS62OUK.cjs +0 -1
  312. package/dist/useTheme-B0omzE6M.js +0 -11
  313. package/dist/useTheme-CwVFTV8w.cjs +0 -1
  314. package/dist/useTheme-zxjGe7nF.cjs +0 -1
  315. package/dist/useThemeProps-Bel8apgw.js +0 -17
  316. package/dist/useThemeProps-C4zuxIb5.cjs +0 -1
  317. package/dist/{getReactElementRef-H8kwrWP1.js → elementAcceptingRef-CEweUuUA.js} +5 -5
@@ -1,82 +1,81 @@
1
1
  import * as x from "react";
2
2
  import { P as t } from "./index-Sy88PpwE.js";
3
- import { F as Rt, G as Dt, H as Je, n as ct } from "./generateUtilityClasses-BbL5PyhJ.js";
4
- import { A as zt, f as he, o as $t, i as dt } from "./Select-CHo4cwj1.js";
5
- import { i as ie } from "./InputBase-wf6Sq2-d.js";
6
- import { C as jt } from "./Close-BD-KPNgj.js";
7
- import { m as le } from "./memoTheme-C2ZnVSVg.js";
8
- import { u as ft } from "./useSlot-PbukIIii.js";
9
- import { jsx as w, jsxs as _e } from "react/jsx-runtime";
10
- import { u as Nt, s as H, c as Et } from "./DefaultPropsProvider-CRQ3Gr22.js";
3
+ import { F as Rt, G as Dt, H as Je, K as Ye, n as ct } from "./identifier-PWESmBq6.js";
4
+ import { A as zt, f as he, o as St, i as dt } from "./Select-CpNF3a57.js";
5
+ import { i as le } from "./InputBase-BS5oknUK.js";
6
+ import { C as jt } from "./Close-DEMecSZ6.js";
7
+ import { m as pe } from "./memoTheme-DAFDflPY.js";
8
+ import { u as ft } from "./useSlot-BzdKwDQ5.js";
9
+ import { jsx as A, jsxs as Ke } from "react/jsx-runtime";
10
+ import { u as Nt, s as H, c as Et } from "./DefaultPropsProvider-DqazQPtr.js";
11
11
  import { u as Ut } from "./useId-CK6Kn3Tn.js";
12
- import { u as gt } from "./useControlled-BYdyS7Pn.js";
12
+ import { u as gt } from "./useControlled-nm4pBabJ.js";
13
13
  import { u as Bt } from "./usePreviousProps-ByGlbpJ6.js";
14
- import { a as Ke } from "./useEventCallback-Y2KwRxBw.js";
15
- import { s as Wt } from "./Portal-DTB-35pe.js";
16
- import { P as Mt } from "./Paper-yeP8q4RO.js";
17
- import { P as Vt } from "./Popper-IzGPRFl_.js";
18
- import { C as Gt } from "./Chip-DUN-Fb_U.js";
19
- import { c as Ye } from "./capitalize-3mO2QYxZ.js";
20
- import { I as Ft } from "./IconButton-ZOYYBKrY.js";
21
- import { c as St } from "./chainPropTypes-D9lkm76m.js";
22
- import { i as qt } from "./integerPropType-D-nm5Xmm.js";
23
- function Tt(n) {
14
+ import { a as _e } from "./useEventCallback-Y2KwRxBw.js";
15
+ import { s as Wt } from "./Portal-BlK6ttxt.js";
16
+ import { P as Mt } from "./Paper-IQckggbn.js";
17
+ import { P as Vt } from "./Popper-CfFLBZ7-.js";
18
+ import { C as Gt } from "./Chip-DmjZbx_X.js";
19
+ import { I as Ft } from "./IconButton-BYvak8Nw.js";
20
+ import { c as Tt } from "./chainPropTypes-D9lkm76m.js";
21
+ import { i as qt } from "./integerPropType-BihGt2aU.js";
22
+ function vt(n) {
24
23
  return n.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
25
24
  }
26
- function _t(n = {}) {
25
+ function Kt(n = {}) {
27
26
  const {
28
- ignoreAccents: a = !0,
27
+ ignoreAccents: i = !0,
29
28
  ignoreCase: d = !0,
30
29
  limit: m,
31
- matchFrom: S = "any",
30
+ matchFrom: T = "any",
32
31
  stringify: D,
33
- trim: T = !1
32
+ trim: v = !1
34
33
  } = n;
35
34
  return (N, {
36
35
  inputValue: B,
37
36
  getOptionLabel: I
38
37
  }) => {
39
- let C = T ? B.trim() : B;
40
- d && (C = C.toLowerCase()), a && (C = Tt(C));
41
- const W = C ? N.filter((pe) => {
42
- let E = (D || I)(pe);
43
- return d && (E = E.toLowerCase()), a && (E = Tt(E)), S === "start" ? E.startsWith(C) : E.includes(C);
38
+ let $ = v ? B.trim() : B;
39
+ d && ($ = $.toLowerCase()), i && ($ = vt($));
40
+ const W = $ ? N.filter((ue) => {
41
+ let E = (D || I)(ue);
42
+ return d && (E = E.toLowerCase()), i && (E = vt(E)), T === "start" ? E.startsWith($) : E.includes($);
44
43
  }) : N;
45
44
  return typeof m == "number" ? W.slice(0, m) : W;
46
45
  };
47
46
  }
48
- const Kt = _t(), At = 5, Jt = (n) => {
49
- var a;
50
- return n.current !== null && ((a = n.current.parentElement) == null ? void 0 : a.contains(document.activeElement));
47
+ const _t = Kt(), wt = 5, Jt = (n) => {
48
+ var i;
49
+ return n.current !== null && ((i = n.current.parentElement) == null ? void 0 : i.contains(document.activeElement));
51
50
  }, Xt = [];
52
- function wt(n, a, d, m) {
53
- if (a || n == null || m)
51
+ function At(n, i, d, m) {
52
+ if (i || n == null || m)
54
53
  return "";
55
- const S = d(n);
56
- return typeof S == "string" ? S : "";
54
+ const T = d(n);
55
+ return typeof T == "string" ? T : "";
57
56
  }
58
57
  function Yt(n) {
59
58
  const {
60
59
  // eslint-disable-next-line @typescript-eslint/naming-convention
61
- unstable_isActiveElementInListbox: a = Jt,
60
+ unstable_isActiveElementInListbox: i = Jt,
62
61
  // eslint-disable-next-line @typescript-eslint/naming-convention
63
62
  unstable_classNamePrefix: d = "Mui",
64
63
  autoComplete: m = !1,
65
- autoHighlight: S = !1,
64
+ autoHighlight: T = !1,
66
65
  autoSelect: D = !1,
67
- blurOnSelect: T = !1,
66
+ blurOnSelect: v = !1,
68
67
  clearOnBlur: N = !n.freeSolo,
69
68
  clearOnEscape: B = !1,
70
69
  componentName: I = "useAutocomplete",
71
- defaultValue: C = n.multiple ? Xt : null,
70
+ defaultValue: $ = n.multiple ? Xt : null,
72
71
  disableClearable: W = !1,
73
- disableCloseOnSelect: pe = !1,
72
+ disableCloseOnSelect: ue = !1,
74
73
  disabled: E,
75
- disabledItemsFocusable: we = !1,
74
+ disabledItemsFocusable: Ae = !1,
76
75
  disableListWrap: Le = !1,
77
- filterOptions: mt = Kt,
76
+ filterOptions: mt = _t,
78
77
  filterSelectedOptions: ke = !1,
79
- freeSolo: ue = !1,
78
+ freeSolo: ce = !1,
80
79
  getOptionDisabled: G,
81
80
  getOptionKey: Re,
82
81
  getOptionLabel: Qe = (o) => o.label ?? o,
@@ -95,13 +94,13 @@ function Yt(n) {
95
94
  open: ht,
96
95
  openOnFocus: yt = !1,
97
96
  options: xt,
98
- readOnly: _ = !1,
97
+ readOnly: K = !1,
99
98
  renderValue: L,
100
99
  selectOnFocus: ot = !n.freeSolo,
101
100
  value: Me
102
101
  } = n, M = Ut(bt);
103
- let $ = Qe;
104
- $ = (o) => {
102
+ let S = Qe;
103
+ S = (o) => {
105
104
  const e = Qe(o);
106
105
  if (typeof e != "string") {
107
106
  if (process.env.NODE_ENV !== "production") {
@@ -112,87 +111,87 @@ function Yt(n) {
112
111
  }
113
112
  return e;
114
113
  };
115
- const ce = x.useRef(!1), xe = x.useRef(!0), h = x.useRef(null), F = x.useRef(null), [Ie, It] = x.useState(null), [V, Ve] = x.useState(-1), nt = S ? 0 : -1, P = x.useRef(nt), Ot = x.useRef(wt(C ?? Me, u, $)).current, [i, Oe] = gt({
114
+ const xe = x.useRef(!1), Ie = x.useRef(!0), h = x.useRef(null), F = x.useRef(null), [Oe, It] = x.useState(null), [V, Ve] = x.useState(-1), nt = T ? 0 : -1, C = x.useRef(nt), Ot = x.useRef(At($ ?? Me, u, S)).current, [s, Pe] = gt({
116
115
  controlled: Me,
117
- default: C,
116
+ default: $,
118
117
  name: I
119
- }), [f, ne] = gt({
118
+ }), [g, ne] = gt({
120
119
  controlled: De,
121
120
  default: Ot,
122
121
  name: I,
123
122
  state: "inputValue"
124
123
  }), [de, Fe] = x.useState(!1), fe = x.useCallback((o, e, r) => {
125
- if (!(u ? i.length < e.length : e !== null) && !N)
124
+ if (!(u ? s.length < e.length : e !== null) && !N)
126
125
  return;
127
- const s = wt(e, u, $, L);
128
- f !== s && (ne(s), Q && Q(o, s, r));
129
- }, [$, f, u, Q, ne, N, i, L]), [K, Pe] = gt({
126
+ const a = At(e, u, S, L);
127
+ g !== a && (ne(a), Q && Q(o, a, r));
128
+ }, [S, g, u, Q, ne, N, s, L]), [_, re] = gt({
130
129
  controlled: ht,
131
130
  default: !1,
132
131
  name: I,
133
132
  state: "open"
134
- }), [Pt, ge] = x.useState(!0), He = !u && i != null && f === $(i), k = K && !_, b = k ? mt(
135
- xt.filter((o) => !(ke && (u ? i : [i]).some((e) => e !== null && Y(o, e)))),
133
+ }), [Pt, ge] = x.useState(!0), He = !u && s != null && g === S(s), k = _ && !K, b = k ? mt(
134
+ xt.filter((o) => !(ke && (u ? s : [s]).some((e) => e !== null && Y(o, e)))),
136
135
  // we use the empty string to manipulate `filterOptions` to not filter any options
137
136
  // i.e. the filter predicate always returns true
138
137
  {
139
- inputValue: He && Pt ? "" : f,
140
- getOptionLabel: $
138
+ inputValue: He && Pt ? "" : g,
139
+ getOptionLabel: S
141
140
  }
142
141
  ) : [], z = Bt({
143
142
  filteredOptions: b,
144
- value: i,
145
- inputValue: f
143
+ value: s,
144
+ inputValue: g
146
145
  });
147
146
  x.useEffect(() => {
148
- const o = i !== z.value;
149
- de && !o || ue && !o || fe(null, i, "reset");
150
- }, [i, fe, de, z.value, ue]);
151
- const ze = K && b.length > 0 && !_, j = Ke((o) => {
147
+ const o = s !== z.value;
148
+ de && !o || ce && !o || fe(null, s, "reset");
149
+ }, [s, fe, de, z.value, ce]);
150
+ const ze = _ && b.length > 0 && !K, j = _e((o) => {
152
151
  if (o === -1)
153
152
  h.current.focus();
154
153
  else {
155
154
  const e = L ? "data-item-index" : "data-tag-index";
156
- Ie.querySelector(`[${e}="${o}"]`).focus();
155
+ Oe.querySelector(`[${e}="${o}"]`).focus();
157
156
  }
158
157
  });
159
158
  x.useEffect(() => {
160
- u && V > i.length - 1 && (Ve(-1), j(-1));
161
- }, [i, u, V, j]);
159
+ u && V > s.length - 1 && (Ve(-1), j(-1));
160
+ }, [s, u, V, j]);
162
161
  function rt(o, e) {
163
162
  if (!F.current || o < 0 || o >= b.length)
164
163
  return -1;
165
164
  let r = o;
166
165
  for (; ; ) {
167
- const p = F.current.querySelector(`[data-option-index="${r}"]`), s = we ? !1 : !p || p.disabled || p.getAttribute("aria-disabled") === "true";
168
- if (p && p.hasAttribute("tabindex") && !s)
166
+ const p = F.current.querySelector(`[data-option-index="${r}"]`), a = Ae ? !1 : !p || p.disabled || p.getAttribute("aria-disabled") === "true";
167
+ if (p && p.hasAttribute("tabindex") && !a)
169
168
  return r;
170
169
  if (e === "next" ? r = (r + 1) % b.length : r = (r - 1 + b.length) % b.length, r === o)
171
170
  return -1;
172
171
  }
173
172
  }
174
- const J = Ke(({
173
+ const J = _e(({
175
174
  event: o,
176
175
  index: e,
177
176
  reason: r
178
177
  }) => {
179
- if (P.current = e, e === -1 ? h.current.removeAttribute("aria-activedescendant") : h.current.setAttribute("aria-activedescendant", `${M}-option-${e}`), Ne && ["mouse", "keyboard", "touch"].includes(r) && Ne(o, e === -1 ? null : b[e], r), !F.current)
178
+ if (C.current = e, e === -1 ? h.current.removeAttribute("aria-activedescendant") : h.current.setAttribute("aria-activedescendant", `${M}-option-${e}`), Ne && ["mouse", "keyboard", "touch"].includes(r) && Ne(o, e === -1 ? null : b[e], r), !F.current)
180
179
  return;
181
180
  const p = F.current.querySelector(`[role="option"].${d}-focused`);
182
181
  p && (p.classList.remove(`${d}-focused`), p.classList.remove(`${d}-focusVisible`));
183
- let s = F.current;
184
- if (F.current.getAttribute("role") !== "listbox" && (s = F.current.parentElement.querySelector('[role="listbox"]')), !s)
182
+ let a = F.current;
183
+ if (F.current.getAttribute("role") !== "listbox" && (a = F.current.parentElement.querySelector('[role="listbox"]')), !a)
185
184
  return;
186
185
  if (e === -1) {
187
- s.scrollTop = 0;
186
+ a.scrollTop = 0;
188
187
  return;
189
188
  }
190
- const g = F.current.querySelector(`[data-option-index="${e}"]`);
191
- if (g && (g.classList.add(`${d}-focused`), r === "keyboard" && g.classList.add(`${d}-focusVisible`), s.scrollHeight > s.clientHeight && r !== "mouse" && r !== "touch")) {
192
- const y = g, A = s.clientHeight + s.scrollTop, Te = y.offsetTop + y.offsetHeight;
193
- Te > A ? s.scrollTop = Te - s.clientHeight : y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0) < s.scrollTop && (s.scrollTop = y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0));
189
+ const f = F.current.querySelector(`[data-option-index="${e}"]`);
190
+ if (f && (f.classList.add(`${d}-focused`), r === "keyboard" && f.classList.add(`${d}-focusVisible`), a.scrollHeight > a.clientHeight && r !== "mouse" && r !== "touch")) {
191
+ const y = f, w = a.clientHeight + a.scrollTop, ve = y.offsetTop + y.offsetHeight;
192
+ ve > w ? a.scrollTop = ve - a.clientHeight : y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0) < a.scrollTop && (a.scrollTop = y.offsetTop - y.offsetHeight * (oe ? 1.3 : 0));
194
193
  }
195
- }), U = Ke(({
194
+ }), U = _e(({
196
195
  event: o,
197
196
  diff: e,
198
197
  direction: r = "next",
@@ -200,7 +199,7 @@ function Yt(n) {
200
199
  }) => {
201
200
  if (!k)
202
201
  return;
203
- const g = rt((() => {
202
+ const f = rt((() => {
204
203
  const y = b.length - 1;
205
204
  if (e === "reset")
206
205
  return nt;
@@ -208,40 +207,40 @@ function Yt(n) {
208
207
  return 0;
209
208
  if (e === "end")
210
209
  return y;
211
- const A = P.current + e;
212
- return A < 0 ? A === -1 && ye ? -1 : Le && P.current !== -1 || Math.abs(e) > 1 ? 0 : y : A > y ? A === y + 1 && ye ? -1 : Le || Math.abs(e) > 1 ? y : 0 : A;
210
+ const w = C.current + e;
211
+ return w < 0 ? w === -1 && ye ? -1 : Le && C.current !== -1 || Math.abs(e) > 1 ? 0 : y : w > y ? w === y + 1 && ye ? -1 : Le || Math.abs(e) > 1 ? y : 0 : w;
213
212
  })(), r);
214
213
  if (J({
215
- index: g,
214
+ index: f,
216
215
  reason: p,
217
216
  event: o
218
217
  }), m && e !== "reset")
219
- if (g === -1)
220
- h.current.value = f;
218
+ if (f === -1)
219
+ h.current.value = g;
221
220
  else {
222
- const y = $(b[g]);
223
- h.current.value = y, y.toLowerCase().indexOf(f.toLowerCase()) === 0 && f.length > 0 && h.current.setSelectionRange(f.length, y.length);
221
+ const y = S(b[f]);
222
+ h.current.value = y, y.toLowerCase().indexOf(g.toLowerCase()) === 0 && g.length > 0 && h.current.setSelectionRange(g.length, y.length);
224
223
  }
225
224
  }), at = () => {
226
225
  const o = (e, r) => {
227
- const p = e ? $(e) : "", s = r ? $(r) : "";
228
- return p === s;
226
+ const p = e ? S(e) : "", a = r ? S(r) : "";
227
+ return p === a;
229
228
  };
230
- if (P.current !== -1 && z.filteredOptions && z.filteredOptions.length !== b.length && z.inputValue === f && (u ? i.length === z.value.length && z.value.every((e, r) => $(i[r]) === $(e)) : o(z.value, i))) {
231
- const e = z.filteredOptions[P.current];
229
+ if (C.current !== -1 && z.filteredOptions && z.filteredOptions.length !== b.length && z.inputValue === g && (u ? s.length === z.value.length && z.value.every((e, r) => S(s[r]) === S(e)) : o(z.value, s))) {
230
+ const e = z.filteredOptions[C.current];
232
231
  if (e)
233
- return b.findIndex((r) => $(r) === $(e));
232
+ return b.findIndex((r) => S(r) === S(e));
234
233
  }
235
234
  return -1;
236
- }, ve = x.useCallback(() => {
235
+ }, Ce = x.useCallback(() => {
237
236
  if (!k)
238
237
  return;
239
238
  const o = at();
240
239
  if (o !== -1) {
241
- P.current = o;
240
+ C.current = o;
242
241
  return;
243
242
  }
244
- const e = u ? i[0] : i;
243
+ const e = u ? s[0] : s;
245
244
  if (b.length === 0 || e == null) {
246
245
  U({
247
246
  diff: "reset"
@@ -250,10 +249,10 @@ function Yt(n) {
250
249
  }
251
250
  if (F.current) {
252
251
  if (e != null) {
253
- const r = b[P.current];
254
- if (u && r && i.findIndex((s) => Y(r, s)) !== -1)
252
+ const r = b[C.current];
253
+ if (u && r && s.findIndex((a) => Y(r, a)) !== -1)
255
254
  return;
256
- const p = b.findIndex((s) => Y(s, e));
255
+ const p = b.findIndex((a) => Y(a, e));
257
256
  p === -1 ? U({
258
257
  diff: "reset"
259
258
  }) : J({
@@ -261,14 +260,14 @@ function Yt(n) {
261
260
  });
262
261
  return;
263
262
  }
264
- if (P.current >= b.length - 1) {
263
+ if (C.current >= b.length - 1) {
265
264
  J({
266
265
  index: b.length - 1
267
266
  });
268
267
  return;
269
268
  }
270
269
  J({
271
- index: P.current
270
+ index: C.current
272
271
  });
273
272
  }
274
273
  }, [
@@ -276,58 +275,58 @@ function Yt(n) {
276
275
  b.length,
277
276
  // Don't sync the highlighted index with the value when multiple
278
277
  // eslint-disable-next-line react-hooks/exhaustive-deps
279
- u ? !1 : i,
278
+ u ? !1 : s,
280
279
  ke,
281
280
  U,
282
281
  J,
283
282
  k,
284
- f,
283
+ g,
285
284
  u
286
- ]), st = Ke((o) => {
287
- Wt(F, o), o && ve();
285
+ ]), it = _e((o) => {
286
+ Wt(F, o), o && Ce();
288
287
  });
289
288
  process.env.NODE_ENV !== "production" && x.useEffect(() => {
290
289
  (!h.current || h.current.nodeName !== "INPUT") && (h.current && h.current.nodeName === "TEXTAREA" ? console.warn([`A textarea element was provided to ${I} where input was expected.`, "This is not a supported scenario but it may work under certain conditions.", "A textarea keyboard navigation may conflict with Autocomplete controls (for example enter and arrow keys).", "Make sure to test keyboard navigation and add custom event handlers if necessary."].join(`
291
290
  `)) : console.error([`MUI: Unable to find the input element. It was resolved to ${h.current} while an HTMLInputElement was expected.`, `Instead, ${I} expects an input element.`, "", I === "useAutocomplete" ? "Make sure you have bound getInputProps correctly and that the normal ref/effect resolutions order is guaranteed." : "Make sure you have customized the input component correctly."].join(`
292
291
  `)));
293
292
  }, [I]), x.useEffect(() => {
294
- ve();
295
- }, [ve]);
293
+ Ce();
294
+ }, [Ce]);
296
295
  const R = (o) => {
297
- K || (Pe(!0), ge(!0), Ee && Ee(o));
298
- }, re = (o, e) => {
299
- K && (Pe(!1), tt && tt(o, e));
296
+ _ || (re(!0), ge(!0), Ee && Ee(o));
297
+ }, ae = (o, e) => {
298
+ _ && (re(!1), tt && tt(o, e));
300
299
  }, X = (o, e, r, p) => {
301
300
  if (u) {
302
- if (i.length === e.length && i.every((s, g) => s === e[g]))
301
+ if (s.length === e.length && s.every((a, f) => a === e[f]))
303
302
  return;
304
- } else if (i === e)
303
+ } else if (s === e)
305
304
  return;
306
- et && et(o, e, r, p), Oe(e);
305
+ et && et(o, e, r, p), Pe(e);
307
306
  }, me = x.useRef(!1), q = (o, e, r = "selectOption", p = "options") => {
308
- let s = r, g = e;
307
+ let a = r, f = e;
309
308
  if (u) {
310
- if (g = Array.isArray(i) ? i.slice() : [], process.env.NODE_ENV !== "production") {
311
- const A = g.filter((Te) => Y(e, Te));
312
- A.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${I} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${A.length} matches.`].join(`
309
+ if (f = Array.isArray(s) ? s.slice() : [], process.env.NODE_ENV !== "production") {
310
+ const w = f.filter((ve) => Y(e, ve));
311
+ w.length > 1 && console.error([`MUI: The \`isOptionEqualToValue\` method of ${I} does not handle the arguments correctly.`, `The component expects a single value to match a given option but found ${w.length} matches.`].join(`
313
312
  `));
314
313
  }
315
- const y = g.findIndex((A) => Y(e, A));
316
- y === -1 ? g.push(e) : p !== "freeSolo" && (g.splice(y, 1), s = "removeOption");
314
+ const y = f.findIndex((w) => Y(e, w));
315
+ y === -1 ? f.push(e) : p !== "freeSolo" && (f.splice(y, 1), a = "removeOption");
317
316
  }
318
- fe(o, g, s), X(o, g, s, {
317
+ fe(o, f, a), X(o, f, a, {
319
318
  option: e
320
- }), !pe && (!o || !o.ctrlKey && !o.metaKey) && re(o, s), (T === !0 || T === "touch" && me.current || T === "mouse" && !me.current) && h.current.blur();
319
+ }), !ue && (!o || !o.ctrlKey && !o.metaKey) && ae(o, a), (v === !0 || v === "touch" && me.current || v === "mouse" && !me.current) && h.current.blur();
321
320
  };
322
321
  function je(o, e) {
323
322
  if (o === -1)
324
323
  return -1;
325
324
  let r = o;
326
325
  for (; ; ) {
327
- if (e === "next" && r === i.length || e === "previous" && r === -1)
326
+ if (e === "next" && r === s.length || e === "previous" && r === -1)
328
327
  return -1;
329
- const p = L ? "data-item-index" : "data-tag-index", s = Ie.querySelector(`[${p}="${r}"]`);
330
- if (!s || !s.hasAttribute("tabindex") || s.disabled || s.getAttribute("aria-disabled") === "true")
328
+ const p = L ? "data-item-index" : "data-tag-index", a = Oe.querySelector(`[${p}="${r}"]`);
329
+ if (!a || !a.hasAttribute("tabindex") || a.disabled || a.getAttribute("aria-disabled") === "true")
331
330
  r += e === "next" ? 1 : -1;
332
331
  else
333
332
  return r;
@@ -336,12 +335,12 @@ function Yt(n) {
336
335
  const Ue = (o, e) => {
337
336
  if (!u)
338
337
  return;
339
- f === "" && re(o, "toggleInput");
338
+ g === "" && ae(o, "toggleInput");
340
339
  let r = V;
341
- V === -1 ? f === "" && e === "previous" && (r = i.length - 1) : (r += e === "next" ? 1 : -1, r < 0 && (r = 0), r === i.length && (r = -1)), r = je(r, e), Ve(r), j(r);
342
- }, ae = (o) => {
343
- ce.current = !0, ne(""), Q && Q(o, "", "clear"), X(o, u ? [] : null, "clear");
344
- }, it = (o) => (e) => {
340
+ V === -1 ? g === "" && e === "previous" && (r = s.length - 1) : (r += e === "next" ? 1 : -1, r < 0 && (r = 0), r === s.length && (r = -1)), r = je(r, e), Ve(r), j(r);
341
+ }, ie = (o) => {
342
+ xe.current = !0, ne(""), Q && Q(o, "", "clear"), X(o, u ? [] : null, "clear");
343
+ }, st = (o) => (e) => {
345
344
  if (o.onKeyDown && o.onKeyDown(e), !e.defaultMuiPrevented && (V !== -1 && !["ArrowLeft", "ArrowRight"].includes(e.key) && (Ve(-1), j(-1)), e.which !== 229))
346
345
  switch (e.key) {
347
346
  case "Home":
@@ -362,7 +361,7 @@ function Yt(n) {
362
361
  break;
363
362
  case "PageUp":
364
363
  e.preventDefault(), U({
365
- diff: -At,
364
+ diff: -wt,
366
365
  direction: "previous",
367
366
  reason: "keyboard",
368
367
  event: e
@@ -370,7 +369,7 @@ function Yt(n) {
370
369
  break;
371
370
  case "PageDown":
372
371
  e.preventDefault(), U({
373
- diff: At,
372
+ diff: wt,
374
373
  direction: "next",
375
374
  reason: "keyboard",
376
375
  event: e
@@ -399,49 +398,49 @@ function Yt(n) {
399
398
  !u && L ? j(-1) : Ue(e, "next");
400
399
  break;
401
400
  case "Enter":
402
- if (P.current !== -1 && k) {
403
- const r = b[P.current], p = G ? G(r) : !1;
401
+ if (C.current !== -1 && k) {
402
+ const r = b[C.current], p = G ? G(r) : !1;
404
403
  if (e.preventDefault(), p)
405
404
  return;
406
405
  q(e, r, "selectOption"), m && h.current.setSelectionRange(h.current.value.length, h.current.value.length);
407
- } else ue && f !== "" && He === !1 && (u && e.preventDefault(), q(e, f, "createOption", "freeSolo"));
406
+ } else ce && g !== "" && He === !1 && (u && e.preventDefault(), q(e, g, "createOption", "freeSolo"));
408
407
  break;
409
408
  case "Escape":
410
- k ? (e.preventDefault(), e.stopPropagation(), re(e, "escape")) : B && (f !== "" || u && i.length > 0 || L) && (e.preventDefault(), e.stopPropagation(), ae(e));
409
+ k ? (e.preventDefault(), e.stopPropagation(), ae(e, "escape")) : B && (g !== "" || u && s.length > 0 || L) && (e.preventDefault(), e.stopPropagation(), ie(e));
411
410
  break;
412
411
  case "Backspace":
413
- if (u && !_ && f === "" && i.length > 0) {
414
- const r = V === -1 ? i.length - 1 : V, p = i.slice();
412
+ if (u && !K && g === "" && s.length > 0) {
413
+ const r = V === -1 ? s.length - 1 : V, p = s.slice();
415
414
  p.splice(r, 1), X(e, p, "removeOption", {
416
- option: i[r]
415
+ option: s[r]
417
416
  });
418
417
  }
419
- !u && L && !_ && (Oe(null), j(-1));
418
+ !u && L && !K && (Pe(null), j(-1));
420
419
  break;
421
420
  case "Delete":
422
- if (u && !_ && f === "" && i.length > 0 && V !== -1) {
423
- const r = V, p = i.slice();
421
+ if (u && !K && g === "" && s.length > 0 && V !== -1) {
422
+ const r = V, p = s.slice();
424
423
  p.splice(r, 1), X(e, p, "removeOption", {
425
- option: i[r]
424
+ option: s[r]
426
425
  });
427
426
  }
428
- !u && L && !_ && (Oe(null), j(-1));
427
+ !u && L && !K && (Pe(null), j(-1));
429
428
  break;
430
429
  }
431
430
  }, lt = (o) => {
432
- Fe(!0), yt && !ce.current && R(o);
431
+ Fe(!0), yt && !xe.current && R(o);
433
432
  }, se = (o) => {
434
- if (a(F)) {
433
+ if (i(F)) {
435
434
  h.current.focus();
436
435
  return;
437
436
  }
438
- Fe(!1), xe.current = !0, ce.current = !1, D && P.current !== -1 && k ? q(o, b[P.current], "blur") : D && ue && f !== "" ? q(o, f, "blur", "freeSolo") : N && fe(o, i, "blur"), re(o, "blur");
439
- }, Ce = (o) => {
440
- const e = o.target.value;
441
- f !== e && (ne(e), ge(!1), Q && Q(o, e, "input")), e === "" ? !W && !u && X(o, null, "clear") : R(o);
437
+ Fe(!1), Ie.current = !0, xe.current = !1, D && C.current !== -1 && k ? q(o, b[C.current], "blur") : D && ce && g !== "" ? q(o, g, "blur", "freeSolo") : N && fe(o, s, "blur"), ae(o, "blur");
442
438
  }, $e = (o) => {
439
+ const e = o.target.value;
440
+ g !== e && (ne(e), ge(!1), Q && Q(o, e, "input")), e === "" ? !W && !u && X(o, null, "clear") : R(o);
441
+ }, Se = (o) => {
443
442
  const e = Number(o.currentTarget.getAttribute("data-option-index"));
444
- P.current !== e && J({
443
+ C.current !== e && J({
445
444
  event: o,
446
445
  index: e,
447
446
  reason: "mouse"
@@ -456,35 +455,35 @@ function Yt(n) {
456
455
  const e = Number(o.currentTarget.getAttribute("data-option-index"));
457
456
  q(o, b[e], "selectOption"), me.current = !1;
458
457
  }, Be = (o) => (e) => {
459
- const r = i.slice();
458
+ const r = s.slice();
460
459
  r.splice(o, 1), X(e, r, "removeOption", {
461
- option: i[o]
460
+ option: s[o]
462
461
  });
463
- }, vt = (o) => {
462
+ }, Ct = (o) => {
464
463
  X(o, null, "removeOption", {
465
- option: i
464
+ option: s
466
465
  });
467
466
  }, be = (o) => {
468
- K ? re(o, "toggleInput") : R(o);
469
- }, v = (o) => {
470
- o.currentTarget.contains(o.target) && o.target.getAttribute("id") !== M && o.preventDefault();
467
+ _ ? ae(o, "toggleInput") : R(o);
471
468
  }, O = (o) => {
472
- o.currentTarget.contains(o.target) && (h.current.focus(), ot && xe.current && h.current.selectionEnd - h.current.selectionStart === 0 && h.current.select(), xe.current = !1);
469
+ o.currentTarget.contains(o.target) && o.target.getAttribute("id") !== M && o.preventDefault();
470
+ }, P = (o) => {
471
+ o.currentTarget.contains(o.target) && (h.current.focus(), ot && Ie.current && h.current.selectionEnd - h.current.selectionStart === 0 && h.current.select(), Ie.current = !1);
473
472
  }, Z = (o) => {
474
- !E && (f === "" || !K) && be(o);
473
+ !E && (g === "" || !_) && be(o);
475
474
  };
476
- let Se = ue && f.length > 0;
477
- Se = Se || (u ? i.length > 0 : i !== null);
475
+ let Te = ce && g.length > 0;
476
+ Te = Te || (u ? s.length > 0 : s !== null);
478
477
  let We = b;
479
478
  if (oe) {
480
479
  const o = /* @__PURE__ */ new Map();
481
480
  let e = !1;
482
- We = b.reduce((r, p, s) => {
483
- const g = oe(p);
484
- return r.length > 0 && r[r.length - 1].group === g ? r[r.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (o.get(g) && !e && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${I} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), e = !0), o.set(g, !0)), r.push({
485
- key: s,
486
- index: s,
487
- group: g,
481
+ We = b.reduce((r, p, a) => {
482
+ const f = oe(p);
483
+ return r.length > 0 && r[r.length - 1].group === f ? r[r.length - 1].options.push(p) : (process.env.NODE_ENV !== "production" && (o.get(f) && !e && (console.warn(`MUI: The options provided combined with the \`groupBy\` method of ${I} returns duplicated headers.`, "You can solve the issue by sorting the options with the output of `groupBy`."), e = !0), o.set(f, !0)), r.push({
484
+ key: a,
485
+ index: a,
486
+ group: f,
488
487
  options: [p]
489
488
  })), r;
490
489
  }, []);
@@ -492,9 +491,9 @@ function Yt(n) {
492
491
  return E && de && se(), {
493
492
  getRootProps: (o = {}) => ({
494
493
  ...o,
495
- onKeyDown: it(o),
496
- onMouseDown: v,
497
- onClick: O
494
+ onKeyDown: st(o),
495
+ onMouseDown: O,
496
+ onClick: P
498
497
  }),
499
498
  getInputLabelProps: () => ({
500
499
  id: `${M}-label`,
@@ -502,10 +501,10 @@ function Yt(n) {
502
501
  }),
503
502
  getInputProps: () => ({
504
503
  id: M,
505
- value: f,
504
+ value: g,
506
505
  onBlur: se,
507
506
  onFocus: lt,
508
- onChange: Ce,
507
+ onChange: $e,
509
508
  onMouseDown: Z,
510
509
  // if open then this is handled imperatively so don't let react override
511
510
  // only have an opinion about this when closed
@@ -525,7 +524,7 @@ function Yt(n) {
525
524
  getClearProps: () => ({
526
525
  tabIndex: -1,
527
526
  type: "button",
528
- onClick: ae
527
+ onClick: ie
529
528
  }),
530
529
  getItemProps: ({
531
530
  index: o = 0
@@ -539,8 +538,8 @@ function Yt(n) {
539
538
  "data-tag-index": o
540
539
  },
541
540
  tabIndex: -1,
542
- ...!_ && {
543
- onDelete: u ? Be(o) : vt
541
+ ...!K && {
542
+ onDelete: u ? Be(o) : Ct
544
543
  }
545
544
  }),
546
545
  getPopupIndicatorProps: () => ({
@@ -555,7 +554,7 @@ function Yt(n) {
555
554
  key: o,
556
555
  "data-tag-index": o,
557
556
  tabIndex: -1,
558
- ...!_ && {
557
+ ...!K && {
559
558
  onDelete: Be(o)
560
559
  }
561
560
  }),
@@ -563,7 +562,7 @@ function Yt(n) {
563
562
  role: "listbox",
564
563
  id: `${M}-listbox`,
565
564
  "aria-labelledby": `${M}-label`,
566
- ref: st,
565
+ ref: it,
567
566
  onMouseDown: (o) => {
568
567
  o.preventDefault();
569
568
  }
@@ -572,13 +571,13 @@ function Yt(n) {
572
571
  index: o,
573
572
  option: e
574
573
  }) => {
575
- const r = (u ? i : [i]).some((s) => s != null && Y(e, s)), p = G ? G(e) : !1;
574
+ const r = (u ? s : [s]).some((a) => a != null && Y(e, a)), p = G ? G(e) : !1;
576
575
  return {
577
- key: (Re == null ? void 0 : Re(e)) ?? $(e),
576
+ key: (Re == null ? void 0 : Re(e)) ?? S(e),
578
577
  tabIndex: -1,
579
578
  role: "option",
580
579
  id: `${M}-option-${o}`,
581
- onMouseMove: $e,
580
+ onMouseMove: Se,
582
581
  onClick: ut,
583
582
  onTouchStart: pt,
584
583
  "data-option-index": o,
@@ -587,13 +586,13 @@ function Yt(n) {
587
586
  };
588
587
  },
589
588
  id: M,
590
- inputValue: f,
591
- value: i,
592
- dirty: Se,
593
- expanded: k && Ie,
589
+ inputValue: g,
590
+ value: s,
591
+ dirty: Te,
592
+ expanded: k && Oe,
594
593
  popupOpen: k,
595
594
  focused: de || V !== -1,
596
- anchorEl: Ie,
595
+ anchorEl: Oe,
597
596
  setAnchorEl: It,
598
597
  focusedItem: V,
599
598
  // deprecated
@@ -604,27 +603,27 @@ function Yt(n) {
604
603
  function Qt(n) {
605
604
  return Dt("MuiListSubheader", n);
606
605
  }
607
- const Vo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
606
+ const Mo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
608
607
  const {
609
- classes: a,
608
+ classes: i,
610
609
  color: d,
611
610
  disableGutters: m,
612
- inset: S,
611
+ inset: T,
613
612
  disableSticky: D
614
- } = n, T = {
615
- root: ["root", d !== "default" && `color${Ye(d)}`, !m && "gutters", S && "inset", !D && "sticky"]
613
+ } = n, v = {
614
+ root: ["root", d !== "default" && `color${Ye(d)}`, !m && "gutters", T && "inset", !D && "sticky"]
616
615
  };
617
- return Et(T, Qt, a);
616
+ return Et(v, Qt, i);
618
617
  }, eo = H("li", {
619
618
  name: "MuiListSubheader",
620
619
  slot: "Root",
621
- overridesResolver: (n, a) => {
620
+ overridesResolver: (n, i) => {
622
621
  const {
623
622
  ownerState: d
624
623
  } = n;
625
- return [a.root, d.color !== "default" && a[`color${Ye(d.color)}`], !d.disableGutters && a.gutters, d.inset && a.inset, !d.disableSticky && a.sticky];
624
+ return [i.root, d.color !== "default" && i[`color${Ye(d.color)}`], !d.disableGutters && i.gutters, d.inset && i.inset, !d.disableSticky && i.sticky];
626
625
  }
627
- })(le(({
626
+ })(pe(({
628
627
  theme: n
629
628
  }) => ({
630
629
  boxSizing: "border-box",
@@ -650,23 +649,23 @@ const Vo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutt
650
649
  }
651
650
  }, {
652
651
  props: ({
653
- ownerState: a
654
- }) => !a.disableGutters,
652
+ ownerState: i
653
+ }) => !i.disableGutters,
655
654
  style: {
656
655
  paddingLeft: 16,
657
656
  paddingRight: 16
658
657
  }
659
658
  }, {
660
659
  props: ({
661
- ownerState: a
662
- }) => a.inset,
660
+ ownerState: i
661
+ }) => i.inset,
663
662
  style: {
664
663
  paddingLeft: 72
665
664
  }
666
665
  }, {
667
666
  props: ({
668
- ownerState: a
669
- }) => !a.disableSticky,
667
+ ownerState: i
668
+ }) => !i.disableSticky,
670
669
  style: {
671
670
  position: "sticky",
672
671
  top: 0,
@@ -674,32 +673,32 @@ const Vo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutt
674
673
  backgroundColor: (n.vars || n).palette.background.paper
675
674
  }
676
675
  }]
677
- }))), Xe = /* @__PURE__ */ x.forwardRef(function(a, d) {
676
+ }))), Xe = /* @__PURE__ */ x.forwardRef(function(i, d) {
678
677
  const m = Nt({
679
- props: a,
678
+ props: i,
680
679
  name: "MuiListSubheader"
681
680
  }), {
682
- className: S,
681
+ className: T,
683
682
  color: D = "default",
684
- component: T = "li",
683
+ component: v = "li",
685
684
  disableGutters: N = !1,
686
685
  disableSticky: B = !1,
687
686
  inset: I = !1,
688
- ...C
687
+ ...$
689
688
  } = m, W = {
690
689
  ...m,
691
690
  color: D,
692
- component: T,
691
+ component: v,
693
692
  disableGutters: N,
694
693
  disableSticky: B,
695
694
  inset: I
696
- }, pe = Zt(W);
697
- return /* @__PURE__ */ w(eo, {
698
- as: T,
699
- className: Je(pe.root, S),
695
+ }, ue = Zt(W);
696
+ return /* @__PURE__ */ A(eo, {
697
+ as: v,
698
+ className: Je(ue.root, T),
700
699
  ref: d,
701
700
  ownerState: W,
702
- ...C
701
+ ...$
703
702
  });
704
703
  });
705
704
  Xe && (Xe.muiSkipListHighlight = !0);
@@ -757,21 +756,21 @@ const l = Rt("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "fo
757
756
  var Lt, kt;
758
757
  const oo = (n) => {
759
758
  const {
760
- classes: a,
759
+ classes: i,
761
760
  disablePortal: d,
762
761
  expanded: m,
763
- focused: S,
762
+ focused: T,
764
763
  fullWidth: D,
765
- hasClearIcon: T,
764
+ hasClearIcon: v,
766
765
  hasPopupIcon: N,
767
766
  inputFocused: B,
768
767
  popupOpen: I,
769
- size: C
768
+ size: $
770
769
  } = n, W = {
771
- root: ["root", m && "expanded", S && "focused", D && "fullWidth", T && "hasClearIcon", N && "hasPopupIcon"],
770
+ root: ["root", m && "expanded", T && "focused", D && "fullWidth", v && "hasClearIcon", N && "hasPopupIcon"],
772
771
  inputRoot: ["inputRoot"],
773
772
  input: ["input", B && "inputFocused"],
774
- tag: ["tag", `tagSize${Ye(C)}`],
773
+ tag: ["tag", `tagSize${Ye($)}`],
775
774
  endAdornment: ["endAdornment"],
776
775
  clearIndicator: ["clearIndicator"],
777
776
  popupIndicator: ["popupIndicator", I && "popupIndicatorOpen"],
@@ -784,31 +783,31 @@ const oo = (n) => {
784
783
  groupLabel: ["groupLabel"],
785
784
  groupUl: ["groupUl"]
786
785
  };
787
- return Et(W, to, a);
786
+ return Et(W, to, i);
788
787
  }, no = H("div", {
789
788
  name: "MuiAutocomplete",
790
789
  slot: "Root",
791
- overridesResolver: (n, a) => {
790
+ overridesResolver: (n, i) => {
792
791
  const {
793
792
  ownerState: d
794
793
  } = n, {
795
794
  fullWidth: m,
796
- hasClearIcon: S,
795
+ hasClearIcon: T,
797
796
  hasPopupIcon: D,
798
- inputFocused: T,
797
+ inputFocused: v,
799
798
  size: N
800
799
  } = d;
801
800
  return [{
802
- [`& .${l.tag}`]: a.tag
801
+ [`& .${l.tag}`]: i.tag
803
802
  }, {
804
- [`& .${l.tag}`]: a[`tagSize${Ye(N)}`]
803
+ [`& .${l.tag}`]: i[`tagSize${Ye(N)}`]
805
804
  }, {
806
- [`& .${l.inputRoot}`]: a.inputRoot
805
+ [`& .${l.inputRoot}`]: i.inputRoot
807
806
  }, {
808
- [`& .${l.input}`]: a.input
807
+ [`& .${l.input}`]: i.input
809
808
  }, {
810
- [`& .${l.input}`]: T && a.inputFocused
811
- }, a.root, m && a.fullWidth, D && a.hasPopupIcon, S && a.hasClearIcon];
809
+ [`& .${l.input}`]: v && i.inputFocused
810
+ }, i.root, m && i.fullWidth, D && i.hasPopupIcon, T && i.hasClearIcon];
812
811
  }
813
812
  })({
814
813
  [`&.${l.focused} .${l.clearIndicator}`]: {
@@ -842,12 +841,12 @@ const oo = (n) => {
842
841
  padding: "4px 4px 4px 0px"
843
842
  }
844
843
  },
845
- [`& .${dt.root}.${ie.sizeSmall}`]: {
844
+ [`& .${dt.root}.${le.sizeSmall}`]: {
846
845
  [`& .${dt.input}`]: {
847
846
  padding: "2px 4px 3px 0"
848
847
  }
849
848
  },
850
- [`& .${$t.root}`]: {
849
+ [`& .${St.root}`]: {
851
850
  padding: 9,
852
851
  [`.${l.hasPopupIcon}&, .${l.hasClearIcon}&`]: {
853
852
  paddingRight: 39
@@ -862,7 +861,7 @@ const oo = (n) => {
862
861
  right: 9
863
862
  }
864
863
  },
865
- [`& .${$t.root}.${ie.sizeSmall}`]: {
864
+ [`& .${St.root}.${le.sizeSmall}`]: {
866
865
  // Don't specify paddingRight, as it overrides the default value set when there is only
867
866
  // one of the popup or clear icon as the specificity is equal so the latter one wins
868
867
  paddingTop: 6,
@@ -888,16 +887,16 @@ const oo = (n) => {
888
887
  right: 9
889
888
  }
890
889
  },
891
- [`& .${he.root}.${ie.sizeSmall}`]: {
890
+ [`& .${he.root}.${le.sizeSmall}`]: {
892
891
  paddingBottom: 1,
893
892
  [`& .${he.input}`]: {
894
893
  padding: "2.5px 4px"
895
894
  }
896
895
  },
897
- [`& .${ie.hiddenLabel}`]: {
896
+ [`& .${le.hiddenLabel}`]: {
898
897
  paddingTop: 8
899
898
  },
900
- [`& .${he.root}.${ie.hiddenLabel}`]: {
899
+ [`& .${he.root}.${le.hiddenLabel}`]: {
901
900
  paddingTop: 0,
902
901
  paddingBottom: 0,
903
902
  [`& .${l.input}`]: {
@@ -905,7 +904,7 @@ const oo = (n) => {
905
904
  paddingBottom: 17
906
905
  }
907
906
  },
908
- [`& .${he.root}.${ie.hiddenLabel}.${ie.sizeSmall}`]: {
907
+ [`& .${he.root}.${le.hiddenLabel}.${le.sizeSmall}`]: {
909
908
  [`& .${l.input}`]: {
910
909
  paddingTop: 8,
911
910
  paddingBottom: 9
@@ -954,8 +953,7 @@ const oo = (n) => {
954
953
  }]
955
954
  }), ro = H("div", {
956
955
  name: "MuiAutocomplete",
957
- slot: "EndAdornment",
958
- overridesResolver: (n, a) => a.endAdornment
956
+ slot: "EndAdornment"
959
957
  })({
960
958
  // We use a position absolute to support wrapping tags.
961
959
  position: "absolute",
@@ -964,20 +962,19 @@ const oo = (n) => {
964
962
  transform: "translate(0, -50%)"
965
963
  }), ao = H(Ft, {
966
964
  name: "MuiAutocomplete",
967
- slot: "ClearIndicator",
968
- overridesResolver: (n, a) => a.clearIndicator
965
+ slot: "ClearIndicator"
969
966
  })({
970
967
  marginRight: -2,
971
968
  padding: 4,
972
969
  visibility: "hidden"
973
- }), so = H(Ft, {
970
+ }), io = H(Ft, {
974
971
  name: "MuiAutocomplete",
975
972
  slot: "PopupIndicator",
976
- overridesResolver: (n, a) => {
973
+ overridesResolver: (n, i) => {
977
974
  const {
978
975
  ownerState: d
979
976
  } = n;
980
- return [a.popupIndicator, d.popupOpen && a.popupIndicatorOpen];
977
+ return [i.popupIndicator, d.popupOpen && i.popupIndicatorOpen];
981
978
  }
982
979
  })({
983
980
  padding: 2,
@@ -990,18 +987,18 @@ const oo = (n) => {
990
987
  transform: "rotate(180deg)"
991
988
  }
992
989
  }]
993
- }), io = H(Vt, {
990
+ }), so = H(Vt, {
994
991
  name: "MuiAutocomplete",
995
992
  slot: "Popper",
996
- overridesResolver: (n, a) => {
993
+ overridesResolver: (n, i) => {
997
994
  const {
998
995
  ownerState: d
999
996
  } = n;
1000
997
  return [{
1001
- [`& .${l.option}`]: a.option
1002
- }, a.popper, d.disablePortal && a.popperDisablePortal];
998
+ [`& .${l.option}`]: i.option
999
+ }, i.popper, d.disablePortal && i.popperDisablePortal];
1003
1000
  }
1004
- })(le(({
1001
+ })(pe(({
1005
1002
  theme: n
1006
1003
  }) => ({
1007
1004
  zIndex: (n.vars || n).zIndex.modal,
@@ -1015,36 +1012,32 @@ const oo = (n) => {
1015
1012
  }]
1016
1013
  }))), lo = H(Mt, {
1017
1014
  name: "MuiAutocomplete",
1018
- slot: "Paper",
1019
- overridesResolver: (n, a) => a.paper
1020
- })(le(({
1015
+ slot: "Paper"
1016
+ })(pe(({
1021
1017
  theme: n
1022
1018
  }) => ({
1023
1019
  ...n.typography.body1,
1024
1020
  overflow: "auto"
1025
1021
  }))), po = H("div", {
1026
1022
  name: "MuiAutocomplete",
1027
- slot: "Loading",
1028
- overridesResolver: (n, a) => a.loading
1029
- })(le(({
1023
+ slot: "Loading"
1024
+ })(pe(({
1030
1025
  theme: n
1031
1026
  }) => ({
1032
1027
  color: (n.vars || n).palette.text.secondary,
1033
1028
  padding: "14px 16px"
1034
1029
  }))), uo = H("div", {
1035
1030
  name: "MuiAutocomplete",
1036
- slot: "NoOptions",
1037
- overridesResolver: (n, a) => a.noOptions
1038
- })(le(({
1031
+ slot: "NoOptions"
1032
+ })(pe(({
1039
1033
  theme: n
1040
1034
  }) => ({
1041
1035
  color: (n.vars || n).palette.text.secondary,
1042
1036
  padding: "14px 16px"
1043
1037
  }))), co = H("ul", {
1044
1038
  name: "MuiAutocomplete",
1045
- slot: "Listbox",
1046
- overridesResolver: (n, a) => a.listbox
1047
- })(le(({
1039
+ slot: "Listbox"
1040
+ })(pe(({
1048
1041
  theme: n
1049
1042
  }) => ({
1050
1043
  listStyle: "none",
@@ -1100,44 +1093,42 @@ const oo = (n) => {
1100
1093
  }
1101
1094
  }))), fo = H(Xe, {
1102
1095
  name: "MuiAutocomplete",
1103
- slot: "GroupLabel",
1104
- overridesResolver: (n, a) => a.groupLabel
1105
- })(le(({
1096
+ slot: "GroupLabel"
1097
+ })(pe(({
1106
1098
  theme: n
1107
1099
  }) => ({
1108
1100
  backgroundColor: (n.vars || n).palette.background.paper,
1109
1101
  top: -8
1110
1102
  }))), go = H("ul", {
1111
1103
  name: "MuiAutocomplete",
1112
- slot: "GroupUl",
1113
- overridesResolver: (n, a) => a.groupUl
1104
+ slot: "GroupUl"
1114
1105
  })({
1115
1106
  padding: 0,
1116
1107
  [`& .${l.option}`]: {
1117
1108
  paddingLeft: 24
1118
1109
  }
1119
- }), mo = /* @__PURE__ */ x.forwardRef(function(a, d) {
1110
+ }), mo = /* @__PURE__ */ x.forwardRef(function(i, d) {
1120
1111
  const m = Nt({
1121
- props: a,
1112
+ props: i,
1122
1113
  name: "MuiAutocomplete"
1123
1114
  }), {
1124
- autoComplete: S = !1,
1115
+ autoComplete: T = !1,
1125
1116
  autoHighlight: D = !1,
1126
- autoSelect: T = !1,
1117
+ autoSelect: v = !1,
1127
1118
  blurOnSelect: N = !1,
1128
1119
  ChipProps: B,
1129
1120
  className: I,
1130
- clearIcon: C = Lt || (Lt = /* @__PURE__ */ w(jt, {
1121
+ clearIcon: $ = Lt || (Lt = /* @__PURE__ */ A(jt, {
1131
1122
  fontSize: "small"
1132
1123
  })),
1133
1124
  clearOnBlur: W = !m.freeSolo,
1134
- clearOnEscape: pe = !1,
1125
+ clearOnEscape: ue = !1,
1135
1126
  clearText: E = "Clear",
1136
- closeText: we = "Close",
1127
+ closeText: Ae = "Close",
1137
1128
  componentsProps: Le,
1138
1129
  defaultValue: mt = m.multiple ? [] : null,
1139
1130
  disableClearable: ke = !1,
1140
- disableCloseOnSelect: ue = !1,
1131
+ disableCloseOnSelect: ce = !1,
1141
1132
  disabled: G = !1,
1142
1133
  disabledItemsFocusable: Re = !1,
1143
1134
  disableListWrap: Qe = !1,
@@ -1156,32 +1147,32 @@ const oo = (n) => {
1156
1147
  handleHomeEndKeys: ht = !m.freeSolo,
1157
1148
  id: yt,
1158
1149
  includeInputInList: xt = !1,
1159
- inputValue: _,
1150
+ inputValue: K,
1160
1151
  limitTags: L = -1,
1161
1152
  ListboxComponent: ot,
1162
1153
  ListboxProps: Me,
1163
1154
  loading: M = !1,
1164
- loadingText: $ = "Loading…",
1165
- multiple: ce = !1,
1166
- noOptionsText: xe = "No options",
1155
+ loadingText: S = "Loading…",
1156
+ multiple: xe = !1,
1157
+ noOptionsText: Ie = "No options",
1167
1158
  onChange: h,
1168
1159
  onClose: F,
1169
- onHighlightChange: Ie,
1160
+ onHighlightChange: Oe,
1170
1161
  onInputChange: It,
1171
1162
  onOpen: V,
1172
1163
  open: Ve,
1173
1164
  openOnFocus: nt = !1,
1174
- openText: P = "Open",
1165
+ openText: C = "Open",
1175
1166
  options: Ot,
1176
- PaperComponent: i,
1177
- PopperComponent: Oe,
1178
- popupIcon: f = kt || (kt = /* @__PURE__ */ w(zt, {})),
1167
+ PaperComponent: s,
1168
+ PopperComponent: Pe,
1169
+ popupIcon: g = kt || (kt = /* @__PURE__ */ A(zt, {})),
1179
1170
  readOnly: ne = !1,
1180
1171
  renderGroup: de,
1181
1172
  renderInput: Fe,
1182
1173
  renderOption: fe,
1183
- renderTags: K,
1184
- renderValue: Pe,
1174
+ renderTags: _,
1175
+ renderValue: re,
1185
1176
  selectOnFocus: Pt = !m.freeSolo,
1186
1177
  size: ge = "medium",
1187
1178
  slots: He = {},
@@ -1195,43 +1186,43 @@ const oo = (n) => {
1195
1186
  getPopupIndicatorProps: J,
1196
1187
  getClearProps: U,
1197
1188
  getItemProps: at,
1198
- getListboxProps: ve,
1199
- getOptionProps: st,
1189
+ getListboxProps: Ce,
1190
+ getOptionProps: it,
1200
1191
  value: R,
1201
- dirty: re,
1192
+ dirty: ae,
1202
1193
  expanded: X,
1203
1194
  id: me,
1204
1195
  popupOpen: q,
1205
1196
  focused: je,
1206
1197
  focusedItem: Ue,
1207
- anchorEl: ae,
1208
- setAnchorEl: it,
1198
+ anchorEl: ie,
1199
+ setAnchorEl: st,
1209
1200
  inputValue: lt,
1210
1201
  groupedOptions: se
1211
1202
  } = Yt({
1212
1203
  ...m,
1213
1204
  componentName: "Autocomplete"
1214
- }), Ce = !ke && !G && re && !ne, $e = (!De || ye === !0) && ye !== !1, {
1205
+ }), $e = !ke && !G && ae && !ne, Se = (!De || ye === !0) && ye !== !1, {
1215
1206
  onMouseDown: pt
1216
1207
  } = j(), {
1217
1208
  ref: ut,
1218
1209
  ...Be
1219
- } = ve(), be = Ne || ((c) => c.label ?? c), v = {
1210
+ } = Ce(), be = Ne || ((c) => c.label ?? c), O = {
1220
1211
  ...m,
1221
1212
  disablePortal: oe,
1222
1213
  expanded: X,
1223
1214
  focused: je,
1224
1215
  fullWidth: Y,
1225
1216
  getOptionLabel: be,
1226
- hasClearIcon: Ce,
1227
- hasPopupIcon: $e,
1217
+ hasClearIcon: $e,
1218
+ hasPopupIcon: Se,
1228
1219
  inputFocused: Ue === -1,
1229
1220
  popupOpen: q,
1230
1221
  size: ge
1231
- }, O = oo(v), Z = {
1222
+ }, P = oo(O), Z = {
1232
1223
  slots: {
1233
- paper: i,
1234
- popper: Oe,
1224
+ paper: s,
1225
+ popper: Pe,
1235
1226
  ...He
1236
1227
  },
1237
1228
  slotProps: {
@@ -1240,98 +1231,98 @@ const oo = (n) => {
1240
1231
  ...Le,
1241
1232
  ...k
1242
1233
  }
1243
- }, [Se, We] = ft("listbox", {
1234
+ }, [Te, We] = ft("listbox", {
1244
1235
  elementType: co,
1245
1236
  externalForwardedProps: Z,
1246
- ownerState: v,
1247
- className: O.listbox,
1237
+ ownerState: O,
1238
+ className: P.listbox,
1248
1239
  additionalProps: Be,
1249
1240
  ref: ut
1250
1241
  }), [o, e] = ft("paper", {
1251
1242
  elementType: Mt,
1252
1243
  externalForwardedProps: Z,
1253
- ownerState: v,
1254
- className: O.paper
1244
+ ownerState: O,
1245
+ className: P.paper
1255
1246
  }), [r, p] = ft("popper", {
1256
1247
  elementType: Vt,
1257
1248
  externalForwardedProps: Z,
1258
- ownerState: v,
1259
- className: O.popper,
1249
+ ownerState: O,
1250
+ className: P.popper,
1260
1251
  additionalProps: {
1261
1252
  disablePortal: oe,
1262
1253
  style: {
1263
- width: ae ? ae.clientWidth : null
1254
+ width: ie ? ie.clientWidth : null
1264
1255
  },
1265
1256
  role: "presentation",
1266
- anchorEl: ae,
1257
+ anchorEl: ie,
1267
1258
  open: q
1268
1259
  }
1269
1260
  });
1270
- let s;
1271
- const g = (c) => ({
1272
- className: O.tag,
1261
+ let a;
1262
+ const f = (c) => ({
1263
+ className: P.tag,
1273
1264
  disabled: G,
1274
1265
  ...at(c)
1275
1266
  });
1276
- if (K && ce && R.length > 0 ? s = K(R, g, v) : Pe && R ? s = Pe(R, g, v) : ce && R.length > 0 && (s = R.map((c, ee) => {
1267
+ if (xe ? R.length > 0 && (_ ? a = _(R, f, O) : re ? a = re(R, f, O) : a = R.map((c, ee) => {
1277
1268
  const {
1278
1269
  key: te,
1279
- ...Ae
1280
- } = g({
1270
+ ...we
1271
+ } = f({
1281
1272
  index: ee
1282
1273
  });
1283
- return /* @__PURE__ */ w(Gt, {
1274
+ return /* @__PURE__ */ A(Gt, {
1284
1275
  label: be(c),
1285
1276
  size: ge,
1286
- ...Ae,
1277
+ ...we,
1287
1278
  ...Z.slotProps.chip
1288
1279
  }, te);
1289
- })), L > -1 && Array.isArray(s)) {
1290
- const c = s.length - L;
1291
- !je && c > 0 && (s = s.splice(0, L), s.push(/* @__PURE__ */ w("span", {
1292
- className: O.tag,
1280
+ })) : re && R != null && (a = re(R, f, O)), L > -1 && Array.isArray(a)) {
1281
+ const c = a.length - L;
1282
+ !je && c > 0 && (a = a.splice(0, L), a.push(/* @__PURE__ */ A("span", {
1283
+ className: P.tag,
1293
1284
  children: u(c)
1294
- }, s.length)));
1285
+ }, a.length)));
1295
1286
  }
1296
- const A = de || ((c) => /* @__PURE__ */ _e("li", {
1297
- children: [/* @__PURE__ */ w(fo, {
1298
- className: O.groupLabel,
1299
- ownerState: v,
1287
+ const w = de || ((c) => /* @__PURE__ */ Ke("li", {
1288
+ children: [/* @__PURE__ */ A(fo, {
1289
+ className: P.groupLabel,
1290
+ ownerState: O,
1300
1291
  component: "div",
1301
1292
  children: c.group
1302
- }), /* @__PURE__ */ w(go, {
1303
- className: O.groupUl,
1304
- ownerState: v,
1293
+ }), /* @__PURE__ */ A(go, {
1294
+ className: P.groupUl,
1295
+ ownerState: O,
1305
1296
  children: c.children
1306
1297
  })]
1307
1298
  }, c.key)), Ht = fe || ((c, ee) => {
1308
1299
  const {
1309
1300
  key: te,
1310
- ...Ae
1301
+ ...we
1311
1302
  } = c;
1312
- return /* @__PURE__ */ w("li", {
1313
- ...Ae,
1303
+ return /* @__PURE__ */ A("li", {
1304
+ ...we,
1314
1305
  children: be(ee)
1315
1306
  }, te);
1316
- }), Ct = (c, ee) => {
1317
- const te = st({
1307
+ }), $t = (c, ee) => {
1308
+ const te = it({
1318
1309
  option: c,
1319
1310
  index: ee
1320
1311
  });
1321
1312
  return Ht({
1322
1313
  ...te,
1323
- className: O.option
1314
+ className: P.option
1324
1315
  }, c, {
1325
1316
  selected: te["aria-selected"],
1326
1317
  index: ee,
1327
1318
  inputValue: lt
1328
- }, v);
1319
+ }, O);
1329
1320
  }, Ge = Z.slotProps.clearIndicator, qe = Z.slotProps.popupIndicator;
1330
- return /* @__PURE__ */ _e(x.Fragment, {
1331
- children: [/* @__PURE__ */ w(no, {
1321
+ return /* @__PURE__ */ Ke(x.Fragment, {
1322
+ children: [/* @__PURE__ */ A(no, {
1332
1323
  ref: d,
1333
- className: Je(O.root, I),
1334
- ownerState: v,
1324
+ className: Je(P.root, I),
1325
+ ownerState: O,
1335
1326
  ...ze(z),
1336
1327
  children: Fe({
1337
1328
  id: me,
@@ -1340,70 +1331,70 @@ const oo = (n) => {
1340
1331
  size: ge === "small" ? "small" : void 0,
1341
1332
  InputLabelProps: rt(),
1342
1333
  InputProps: {
1343
- ref: it,
1344
- className: O.inputRoot,
1345
- startAdornment: s,
1334
+ ref: st,
1335
+ className: P.inputRoot,
1336
+ startAdornment: a,
1346
1337
  onMouseDown: (c) => {
1347
1338
  c.target === c.currentTarget && pt(c);
1348
1339
  },
1349
- ...(Ce || $e) && {
1350
- endAdornment: /* @__PURE__ */ _e(ro, {
1351
- className: O.endAdornment,
1352
- ownerState: v,
1353
- children: [Ce ? /* @__PURE__ */ w(ao, {
1340
+ ...($e || Se) && {
1341
+ endAdornment: /* @__PURE__ */ Ke(ro, {
1342
+ className: P.endAdornment,
1343
+ ownerState: O,
1344
+ children: [$e ? /* @__PURE__ */ A(ao, {
1354
1345
  ...U(),
1355
1346
  "aria-label": E,
1356
1347
  title: E,
1357
- ownerState: v,
1348
+ ownerState: O,
1358
1349
  ...Ge,
1359
- className: Je(O.clearIndicator, Ge == null ? void 0 : Ge.className),
1360
- children: C
1361
- }) : null, $e ? /* @__PURE__ */ w(so, {
1350
+ className: Je(P.clearIndicator, Ge == null ? void 0 : Ge.className),
1351
+ children: $
1352
+ }) : null, Se ? /* @__PURE__ */ A(io, {
1362
1353
  ...J(),
1363
1354
  disabled: G,
1364
- "aria-label": q ? we : P,
1365
- title: q ? we : P,
1366
- ownerState: v,
1355
+ "aria-label": q ? Ae : C,
1356
+ title: q ? Ae : C,
1357
+ ownerState: O,
1367
1358
  ...qe,
1368
- className: Je(O.popupIndicator, qe == null ? void 0 : qe.className),
1369
- children: f
1359
+ className: Je(P.popupIndicator, qe == null ? void 0 : qe.className),
1360
+ children: g
1370
1361
  }) : null]
1371
1362
  })
1372
1363
  }
1373
1364
  },
1374
1365
  inputProps: {
1375
- className: O.input,
1366
+ className: P.input,
1376
1367
  disabled: G,
1377
1368
  readOnly: ne,
1378
1369
  ...j()
1379
1370
  }
1380
1371
  })
1381
- }), ae ? /* @__PURE__ */ w(io, {
1372
+ }), ie ? /* @__PURE__ */ A(so, {
1382
1373
  as: r,
1383
1374
  ...p,
1384
- children: /* @__PURE__ */ _e(lo, {
1375
+ children: /* @__PURE__ */ Ke(lo, {
1385
1376
  as: o,
1386
1377
  ...e,
1387
- children: [M && se.length === 0 ? /* @__PURE__ */ w(po, {
1388
- className: O.loading,
1389
- ownerState: v,
1390
- children: $
1391
- }) : null, se.length === 0 && !De && !M ? /* @__PURE__ */ w(uo, {
1392
- className: O.noOptions,
1393
- ownerState: v,
1378
+ children: [M && se.length === 0 ? /* @__PURE__ */ A(po, {
1379
+ className: P.loading,
1380
+ ownerState: O,
1381
+ children: S
1382
+ }) : null, se.length === 0 && !De && !M ? /* @__PURE__ */ A(uo, {
1383
+ className: P.noOptions,
1384
+ ownerState: O,
1394
1385
  role: "presentation",
1395
1386
  onMouseDown: (c) => {
1396
1387
  c.preventDefault();
1397
1388
  },
1398
- children: xe
1399
- }) : null, se.length > 0 ? /* @__PURE__ */ w(Se, {
1389
+ children: Ie
1390
+ }) : null, se.length > 0 ? /* @__PURE__ */ A(Te, {
1400
1391
  as: ot,
1401
1392
  ...We,
1402
- children: se.map((c, ee) => Ee ? A({
1393
+ children: se.map((c, ee) => Ee ? w({
1403
1394
  key: c.key,
1404
1395
  group: c.group,
1405
- children: c.options.map((te, Ae) => Ct(te, c.index + Ae))
1406
- }) : Ct(c, ee))
1396
+ children: c.options.map((te, we) => $t(te, c.index + we))
1397
+ }) : $t(c, ee))
1407
1398
  }) : null]
1408
1399
  })
1409
1400
  }) : null]
@@ -1505,7 +1496,7 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1505
1496
  * The default value. Use when the component is not controlled.
1506
1497
  * @default props.multiple ? [] : null
1507
1498
  */
1508
- defaultValue: St(t.any, (n) => n.multiple && n.defaultValue !== void 0 && !Array.isArray(n.defaultValue) ? new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.", `However, ${n.defaultValue} was provided.`].join(`
1499
+ defaultValue: Tt(t.any, (n) => n.multiple && n.defaultValue !== void 0 && !Array.isArray(n.defaultValue) ? new Error(["MUI: The Autocomplete expects the `defaultValue` prop to be an array when `multiple={true}` or undefined.", `However, ${n.defaultValue} was provided.`].join(`
1509
1500
  `)) : null),
1510
1501
  /**
1511
1502
  * If `true`, the input can't be cleared.
@@ -1776,6 +1767,13 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1776
1767
  /**
1777
1768
  * Render the input.
1778
1769
  *
1770
+ * **Note:** The `renderInput` prop must return a `TextField` component or a compatible custom component
1771
+ * that correctly forwards `InputProps.ref` and spreads `inputProps`. This ensures proper integration
1772
+ * with the Autocomplete's internal logic (e.g., focus management and keyboard navigation).
1773
+ *
1774
+ * Avoid using components like `DatePicker` or `Select` directly, as they may not forward the required props,
1775
+ * leading to runtime errors or unexpected behavior.
1776
+ *
1779
1777
  * @param {object} params
1780
1778
  * @returns {ReactNode}
1781
1779
  */
@@ -1852,7 +1850,7 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1852
1850
  * The value must have reference equality with the option in order to be selected.
1853
1851
  * You can customize the equality behavior with the `isOptionEqualToValue` prop.
1854
1852
  */
1855
- value: St(t.any, (n) => n.multiple && n.value !== void 0 && !Array.isArray(n.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${n.value} was provided.`].join(`
1853
+ value: Tt(t.any, (n) => n.multiple && n.value !== void 0 && !Array.isArray(n.value) ? new Error(["MUI: The Autocomplete expects the `value` prop to be an array when `multiple={true}` or undefined.", `However, ${n.value} was provided.`].join(`
1856
1854
  `)) : null)
1857
1855
  });
1858
1856
  export {
@@ -1860,7 +1858,7 @@ export {
1860
1858
  Xe as L,
1861
1859
  l as a,
1862
1860
  Qt as b,
1863
- _t as c,
1861
+ Kt as c,
1864
1862
  to as g,
1865
- Vo as l
1863
+ Mo as l
1866
1864
  };