@cgi-learning-hub/ui 1.6.0 → 1.7.0-dev.1750752562

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 (364) hide show
  1. package/dist/{Alert-PmI169Dq.js → Alert-BhLIlUBu.js} +126 -212
  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-BIBR54X2.js → Autocomplete-WZw_zCjA.js} +391 -398
  7. package/dist/{Backdrop-BxgGvlLM.js → Backdrop-CjZYrxkZ.js} +5 -5
  8. package/dist/Backdrop-DeNTZlA5.cjs +1 -0
  9. package/dist/Badge-Bwcsnbsa.js +465 -0
  10. package/dist/Badge-DFzvdVS-.cjs +1 -0
  11. package/dist/{Box-o7Tjjyko.js → Box-BI4osO9v.js} +3 -3
  12. package/dist/Box-DR3n_po_.cjs +1 -0
  13. package/dist/{Button-D974vesA.js → Button-DDV5EfwJ.js} +115 -151
  14. package/dist/Button-DyJV5llI.cjs +1 -0
  15. package/dist/{ButtonBase-Chb99sDQ.js → ButtonBase-6TF6t2SP.js} +22 -23
  16. package/dist/ButtonBase-Dp6sf_dP.cjs +74 -0
  17. package/dist/CardContent-COfaU6E0.cjs +1 -0
  18. package/dist/{CardContent-DaZl2i3G.js → CardContent-D3uGcxlr.js} +34 -36
  19. package/dist/Checkbox-3hTSv0EZ.cjs +1 -0
  20. package/dist/{Checkbox-p-PKpEw_.js → Checkbox-BfBDowB2.js} +27 -28
  21. package/dist/Chip-BG0OU0KI.cjs +1 -0
  22. package/dist/{Chip-CPR3r42q.js → Chip-DmjZbx_X.js} +213 -164
  23. package/dist/CircularProgress-CXXyPavb.cjs +28 -0
  24. package/dist/{CircularProgress-DVKNRMKq.js → CircularProgress-DZuYTFz-.js} +34 -36
  25. package/dist/{Close-DyRqry3p.cjs → Close-7S2hSoFB.cjs} +1 -1
  26. package/dist/{Close-m-MX3rFn.js → Close-DEMecSZ6.js} +1 -1
  27. package/dist/{CloseRounded-CjjQdrNy.js → CloseRounded-CioV1GK3.js} +1 -1
  28. package/dist/{CloseRounded-Bpxbxvyb.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-hFv1J_xl.js → DefaultPropsProvider-DqazQPtr.js} +36 -34
  35. package/dist/{Delete-9fJbdRit.js → Delete-B5VTV71K.js} +1 -1
  36. package/dist/{Delete-CEX2hq0f.cjs → Delete-BvkBJXEM.cjs} +1 -1
  37. package/dist/Dialog-Btagj_Gt.cjs +1 -0
  38. package/dist/{Dialog-BzsWl6Vl.js → Dialog-DEWB041V.js} +36 -41
  39. package/dist/{DialogContent-B41jvlMn.js → DialogContent-C294EkoQ.js} +3 -3
  40. package/dist/DialogContent-DXfUge3c.cjs +1 -0
  41. package/dist/{DialogTitle-CVvztEM0.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-CJwnMdVg.js → Divider-kKp4VqHh.js} +4 -4
  45. package/dist/{Folder-7plrMkOp.cjs → Folder-BfLBqDHM.cjs} +1 -1
  46. package/dist/{Folder-CutUz0bW.js → Folder-BgQP5-Ve.js} +1 -1
  47. package/dist/{FormLabel-DSi2pGSZ.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-DFk-4jnZ.js +411 -0
  51. package/dist/Grow-BULCy6GX.cjs +1 -0
  52. package/dist/{Grow-FFFqe81C.js → Grow-BfjkXlG8.js} +2 -2
  53. package/dist/{IconButton-CgwURB2g.js → IconButton-BYvak8Nw.js} +13 -15
  54. package/dist/IconButton-CjtMjZ9e.cjs +2 -0
  55. package/dist/{InputAdornment-DgWvMLgR.js → InputAdornment-BBZXvhZ-.js} +14 -15
  56. package/dist/InputAdornment-DvHQMisT.cjs +1 -0
  57. package/dist/{InputBase-DxLqRpcl.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-rb-SwfiY.js → Link-DYPjEdvu.js} +10 -11
  61. package/dist/{List-BjfdkeEI.js → List-CB_cqCSw.js} +2 -2
  62. package/dist/List-t9bWFewp.cjs +1 -0
  63. package/dist/{ListItem-B0EiObKw.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-qfdqJP77.js +441 -0
  67. package/dist/{Menu-By6cOqEO.js → Menu-9BK8jmzW.js} +110 -114
  68. package/dist/Menu-C61wLk41.cjs +7 -0
  69. package/dist/{MenuItem-B1FTx8Uo.js → MenuItem-C8nduSzJ.js} +8 -8
  70. package/dist/MenuItem-DHM3qxwr.cjs +1 -0
  71. package/dist/{Modal-vrLLqk9Y.js → Modal-D3Q9vEAI.js} +51 -55
  72. package/dist/Modal-DkzrSKHd.cjs +2 -0
  73. package/dist/{MoreVert-DC6HBf1h.cjs → MoreVert-C-Rhn-xK.cjs} +1 -1
  74. package/dist/{MoreVert-DJ8sAY3o.js → MoreVert-C_W1m_Z_.js} +1 -1
  75. package/dist/Paper-BbqZL5vx.cjs +2 -0
  76. package/dist/Paper-IQckggbn.js +158 -0
  77. package/dist/{Popper-DfwuvxaQ.js → Popper-CfFLBZ7-.js} +6 -7
  78. package/dist/Popper-DvWx5tR3.cjs +4 -0
  79. package/dist/{Portal-ChC9wmMZ.js → Portal-BlK6ttxt.js} +5 -5
  80. package/dist/Portal-CPOCKeMh.cjs +1 -0
  81. package/dist/Radio-Bwh_t6PC.cjs +1 -0
  82. package/dist/{Radio-BqY-su_F.js → Radio-DKiu6lVB.js} +17 -19
  83. package/dist/RadioGroup-Cvnwt4JE.cjs +1 -0
  84. package/dist/{RadioGroup-BQvlYFpE.js → RadioGroup-DFKMlNWO.js} +4 -4
  85. package/dist/Select-3HP39Z7o.cjs +3 -0
  86. package/dist/{Select-DZMwqCYA.js → Select-CpNF3a57.js} +425 -410
  87. package/dist/Stack-CIyfgZCM.cjs +1 -0
  88. package/dist/{Stack-CMUWQxQn.js → Stack-DSJ2DqNd.js} +36 -37
  89. package/dist/Stepper-CXHfLPtA.cjs +1 -0
  90. package/dist/Stepper-DE2l91K0.js +965 -0
  91. package/dist/{Switch-Bg4QB4PJ.js → Switch-BIcwDf_P.js} +24 -27
  92. package/dist/Switch-CTEqKDiv.cjs +1 -0
  93. package/dist/{SwitchBase-EDFBMPd7.js → SwitchBase-DZV8S81Z.js} +21 -22
  94. package/dist/SwitchBase-P3zHVmLX.cjs +1 -0
  95. package/dist/{Tab-52AkFc9v.js → Tab-Ckr6Bn59.js} +96 -99
  96. package/dist/Tab-r5imbU9z.cjs +4 -0
  97. package/dist/{TextField-DG9mRp_m.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/{Badge-rX7YUmBc.js → ToggleButtonGroup-DhtAoGtM.js} +3144 -4140
  101. package/dist/Tooltip-BAOKe3SY.cjs +4 -0
  102. package/dist/{Tooltip-DCgaU2em.js → Tooltip-KkgNQm4r.js} +27 -29
  103. package/dist/Typography-CSTmKyr8.cjs +1 -0
  104. package/dist/{Typography-DwMlN0K5.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/ButtonGroup/ButtonGroup.cjs.js +1 -0
  112. package/dist/components/ButtonGroup/ButtonGroup.d.ts +3 -0
  113. package/dist/components/ButtonGroup/ButtonGroup.es.js +38 -0
  114. package/dist/components/ButtonGroup/index.cjs.js +1 -0
  115. package/dist/components/ButtonGroup/index.d.ts +2 -0
  116. package/dist/components/ButtonGroup/index.es.js +4 -0
  117. package/dist/components/ButtonGroup/style.cjs.js +1 -0
  118. package/dist/components/ButtonGroup/style.es.js +29 -0
  119. package/dist/components/ButtonGroup/types.cjs.js +1 -0
  120. package/dist/components/ButtonGroup/types.d.ts +22 -0
  121. package/dist/components/ButtonGroup/types.es.js +1 -0
  122. package/dist/components/ColorPicker/ColorPicker.cjs.js +1 -1
  123. package/dist/components/ColorPicker/ColorPicker.es.js +5 -5
  124. package/dist/components/ColorPicker/styles.es.js +13 -11
  125. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  126. package/dist/components/DatePicker/DatePicker.d.ts +1 -2
  127. package/dist/components/DatePicker/DatePicker.es.js +1 -1
  128. package/dist/components/DatePicker/index.cjs.js +1 -1
  129. package/dist/components/DatePicker/index.es.js +1 -1
  130. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  131. package/dist/components/Dialog/Dialog.es.js +8 -3
  132. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  133. package/dist/components/Dropzone/Dropzone.es.js +3 -3
  134. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  135. package/dist/components/EmptyState/EmptyState.d.ts +1 -0
  136. package/dist/components/EmptyState/EmptyState.es.js +13 -12
  137. package/dist/components/FileList/FileIcon.cjs.js +1 -1
  138. package/dist/components/FileList/FileIcon.es.js +1 -1
  139. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  140. package/dist/components/FileList/FileListItem.es.js +4 -4
  141. package/dist/components/FolderCard/FolderCard.cjs.js +1 -1
  142. package/dist/components/FolderCard/FolderCard.es.js +2 -2
  143. package/dist/components/Heading/Heading.cjs.js +1 -1
  144. package/dist/components/Heading/Heading.es.js +2 -2
  145. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  146. package/dist/components/ImagePicker/ImagePicker.es.js +4 -4
  147. package/dist/components/Loader/Loader.cjs.js +1 -1
  148. package/dist/components/Loader/Loader.es.js +1 -1
  149. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  150. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  151. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  152. package/dist/components/PasswordInput/PasswordInput.es.js +4 -4
  153. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -1
  154. package/dist/components/ResourceCard/ResourceCard.es.js +1 -1
  155. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  156. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  157. package/dist/components/TreeView/TreeView.cjs.js +5 -7
  158. package/dist/components/TreeView/TreeView.es.js +1207 -1452
  159. package/dist/components/TreeView/components/CustomTreeItem.cjs.js +1 -1
  160. package/dist/components/TreeView/components/CustomTreeItem.d.ts +2 -2
  161. package/dist/components/TreeView/components/CustomTreeItem.es.js +3 -3
  162. package/dist/components/TreeView/types.d.ts +5 -5
  163. package/dist/components/TreeView/utils.cjs.js +1 -1
  164. package/dist/components/TreeView/utils.es.js +3 -3
  165. package/dist/components/index.cjs.js +1 -1
  166. package/dist/components/index.d.ts +7 -2
  167. package/dist/components/index.es.js +402 -391
  168. package/dist/components/stories/Alert.stories.cjs.js +1 -1
  169. package/dist/components/stories/Alert.stories.d.ts +1 -1
  170. package/dist/components/stories/Alert.stories.es.js +1 -1
  171. package/dist/components/stories/Autocomplete.stories.cjs.js +1 -1
  172. package/dist/components/stories/Autocomplete.stories.d.ts +1 -1
  173. package/dist/components/stories/Autocomplete.stories.es.js +2 -2
  174. package/dist/components/stories/Badge.stories.cjs.js +1 -0
  175. package/dist/components/stories/Badge.stories.d.ts +17 -0
  176. package/dist/components/stories/Badge.stories.es.js +188 -0
  177. package/dist/components/stories/Button.stories.cjs.js +1 -1
  178. package/dist/components/stories/Button.stories.d.ts +1 -1
  179. package/dist/components/stories/Button.stories.es.js +1 -1
  180. package/dist/components/stories/ButtonGroup.stories.cjs.js +153 -0
  181. package/dist/components/stories/ButtonGroup.stories.d.ts +17 -0
  182. package/dist/components/stories/ButtonGroup.stories.es.js +1296 -0
  183. package/dist/components/stories/Card.stories.cjs.js +1 -1
  184. package/dist/components/stories/Card.stories.d.ts +1 -1
  185. package/dist/components/stories/Card.stories.es.js +2 -2
  186. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  187. package/dist/components/stories/Checkbox.stories.d.ts +1 -1
  188. package/dist/components/stories/Checkbox.stories.es.js +1 -1
  189. package/dist/components/stories/Chip.stories.cjs.js +1 -1
  190. package/dist/components/stories/Chip.stories.d.ts +1 -1
  191. package/dist/components/stories/Chip.stories.es.js +1 -1
  192. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  193. package/dist/components/stories/DatePicker.stories.d.ts +1 -1
  194. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  195. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  196. package/dist/components/stories/Dialog.stories.d.ts +1 -1
  197. package/dist/components/stories/Dialog.stories.es.js +2 -2
  198. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  199. package/dist/components/stories/Divider.stories.d.ts +1 -1
  200. package/dist/components/stories/Divider.stories.es.js +1 -1
  201. package/dist/components/stories/Dropzone.stories.d.ts +1 -1
  202. package/dist/components/stories/EllipsisWithTooltip.stories.d.ts +1 -1
  203. package/dist/components/stories/EmptyState.stories.d.ts +1 -1
  204. package/dist/components/stories/FileList.stories.d.ts +1 -1
  205. package/dist/components/stories/FolderCard.stories.d.ts +1 -1
  206. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  207. package/dist/components/stories/FormControlLabel.stories.d.ts +1 -1
  208. package/dist/components/stories/FormControlLabel.stories.es.js +3 -3
  209. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  210. package/dist/components/stories/Heading.stories.d.ts +1 -1
  211. package/dist/components/stories/Heading.stories.es.js +2 -2
  212. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  213. package/dist/components/stories/IconButton.stories.d.ts +1 -1
  214. package/dist/components/stories/IconButton.stories.es.js +2 -2
  215. package/dist/components/stories/ImagePicker.stories.d.ts +1 -1
  216. package/dist/components/stories/Link.stories.cjs.js +1 -1
  217. package/dist/components/stories/Link.stories.d.ts +1 -1
  218. package/dist/components/stories/Link.stories.es.js +1 -1
  219. package/dist/components/stories/Loader.stories.d.ts +1 -1
  220. package/dist/components/stories/LoaderBackdrop.stories.d.ts +1 -1
  221. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  222. package/dist/components/stories/Menu.stories.d.ts +1 -1
  223. package/dist/components/stories/Menu.stories.es.js +2 -2
  224. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  225. package/dist/components/stories/Paper.stories.d.ts +1 -1
  226. package/dist/components/stories/Paper.stories.es.js +1 -1
  227. package/dist/components/stories/PasswordInput.stories.d.ts +1 -1
  228. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  229. package/dist/components/stories/RadioGroup.stories.d.ts +1 -1
  230. package/dist/components/stories/RadioGroup.stories.es.js +3 -3
  231. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -1
  232. package/dist/components/stories/ResourceCard.stories.d.ts +1 -1
  233. package/dist/components/stories/ResourceCard.stories.es.js +1 -1
  234. package/dist/components/stories/SearchInput.stories.d.ts +1 -1
  235. package/dist/components/stories/Select.stories.cjs.js +1 -1
  236. package/dist/components/stories/Select.stories.d.ts +1 -1
  237. package/dist/components/stories/Select.stories.es.js +3 -3
  238. package/dist/components/stories/Stepper.stories.cjs.js +1 -0
  239. package/dist/components/stories/Stepper.stories.d.ts +7 -0
  240. package/dist/components/stories/Stepper.stories.es.js +161 -0
  241. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  242. package/dist/components/stories/TabList.stories.d.ts +1 -1
  243. package/dist/components/stories/TabList.stories.es.js +1 -1
  244. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  245. package/dist/components/stories/TextField.stories.d.ts +1 -1
  246. package/dist/components/stories/TextField.stories.es.js +1 -1
  247. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  248. package/dist/components/stories/Tooltip.stories.d.ts +1 -1
  249. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  250. package/dist/components/stories/TreeView.stories.cjs.js +3 -3
  251. package/dist/components/stories/TreeView.stories.d.ts +1 -1
  252. package/dist/components/stories/TreeView.stories.es.js +39 -38
  253. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  254. package/dist/components/stories/Typography.stories.d.ts +1 -1
  255. package/dist/components/stories/Typography.stories.es.js +1 -1
  256. package/dist/{createSvgIcon-BlKmtOkV.js → createSvgIcon-B1E6Wo8z.js} +7 -8
  257. package/dist/createSvgIcon-IET9soda.cjs +1 -0
  258. package/dist/{dividerClasses-Glz8RJdF.js → dividerClasses-BPJZ8SFy.js} +1 -1
  259. package/dist/dividerClasses-C07OJKLL.cjs +1 -0
  260. package/dist/elementAcceptingRef-BZ42cOGO.cjs +1 -0
  261. package/dist/{extendSxProp-BouzOuB6.js → extendSxProp-CesAxox9.js} +1 -1
  262. package/dist/extendSxProp-ZMCunXYm.cjs +1 -0
  263. package/dist/identifier-BoZelETM.cjs +55 -0
  264. package/dist/{generateUtilityClasses-DngCqveO.js → identifier-PWESmBq6.js} +582 -612
  265. package/dist/{index-l8yqod25.js → index-8G2jvqZ8.js} +4 -4
  266. package/dist/index-D3lMWU76.cjs +1 -0
  267. package/dist/index.cjs.js +1 -1
  268. package/dist/index.es.js +402 -391
  269. package/dist/integerPropType-BihGt2aU.js +31 -0
  270. package/dist/integerPropType-CR7ytEJG.cjs +1 -0
  271. package/dist/{listItemTextClasses-BRj19IXv.js → listItemTextClasses-B5VhLd9W.js} +1 -1
  272. package/dist/listItemTextClasses-CJDKfXvl.cjs +1 -0
  273. package/dist/{memoTheme-BAbn60Cb.cjs → memoTheme-BKfsJx_F.cjs} +1 -1
  274. package/dist/{memoTheme-nmt7i1dS.js → memoTheme-DAFDflPY.js} +1 -1
  275. package/dist/{mergeSlotProps-BBciKnr4.js → mergeSlotProps-ChAye7iz.js} +1 -1
  276. package/dist/mergeSlotProps-DXwOW3FE.cjs +1 -0
  277. package/dist/styled-C7gyRDlj.js +5 -0
  278. package/dist/styled-Cax0O00h.cjs +1 -0
  279. package/dist/useControlled-QrrYcKxm.cjs +3 -0
  280. package/dist/useControlled-nm4pBabJ.js +31 -0
  281. package/dist/{useEventCallback-Yoj9nCug.js → useEventCallback-Y2KwRxBw.js} +2 -2
  282. package/dist/usePreviousProps-ByGlbpJ6.js +10 -0
  283. package/dist/usePreviousProps-jC3PWcIp.cjs +1 -0
  284. package/dist/{useSlot-BDb1lvxu.js → useSlot-BzdKwDQ5.js} +1 -1
  285. package/dist/useSlot-C2FjoUpF.cjs +1 -0
  286. package/dist/{useSlotProps-OhEflPiz.cjs → useSlotProps-CrQGQLdL.cjs} +1 -1
  287. package/dist/{useSlotProps-B_D8u0j-.js → useSlotProps-DdMuGelR.js} +1 -1
  288. package/dist/{useTheme-D9cVynB-.js → useTheme--i9fxE_A.js} +1 -1
  289. package/dist/useTheme-BLMJDSsv.cjs +1 -0
  290. package/dist/useTheme-CooC_6Ep.cjs +1 -0
  291. package/dist/useTheme-XJ9sFCWX.js +11 -0
  292. package/dist/{useThemeProps-ggw56DH-.js → useThemeProps-B4VFkcP0.js} +4 -4
  293. package/dist/{useThemeProps-DQOn-ezC.cjs → useThemeProps-B9E_wuN9.cjs} +1 -1
  294. package/dist/useThemeProps-C1A3rnbh.cjs +1 -0
  295. package/dist/useThemeProps-CQ9rZe7g.js +17 -0
  296. package/package.json +12 -11
  297. package/dist/Alert-DW8yCR-B.cjs +0 -1
  298. package/dist/Autocomplete-D9hZ2wrR.cjs +0 -6
  299. package/dist/Backdrop-3TL73mAe.cjs +0 -1
  300. package/dist/Badge-DhyDno9j.cjs +0 -138
  301. package/dist/Box-DYD6q-6M.cjs +0 -1
  302. package/dist/Button-y1LmxqGA.cjs +0 -1
  303. package/dist/ButtonBase-Cteo-mSC.cjs +0 -74
  304. package/dist/CardContent-ji0_AneN.cjs +0 -1
  305. package/dist/Checkbox-XXqW_dbW.cjs +0 -1
  306. package/dist/Chip-Bpcd3tnL.cjs +0 -1
  307. package/dist/CircularProgress-Wqx0-T36.cjs +0 -28
  308. package/dist/CustomTreeItem-DPyfIueW.cjs +0 -3
  309. package/dist/CustomTreeItem-hIRSCwAW.js +0 -1336
  310. package/dist/DatePicker-BMzW4v1g.js +0 -10255
  311. package/dist/DatePicker-CNhBoaI3.cjs +0 -14
  312. package/dist/DefaultPropsProvider-B1crdkTC.cjs +0 -1
  313. package/dist/Dialog-B2LKe7ZM.cjs +0 -1
  314. package/dist/DialogContent-BbCu_OEw.cjs +0 -1
  315. package/dist/DialogTitle-SwUSpeBT.cjs +0 -1
  316. package/dist/Divider-Cshcr5kR.cjs +0 -1
  317. package/dist/FormLabel-0LbNeQQU.cjs +0 -2
  318. package/dist/Grow-aEgTOewU.cjs +0 -1
  319. package/dist/IconButton-BKwDNYJl.cjs +0 -2
  320. package/dist/InputAdornment-C7e-kyf7.cjs +0 -1
  321. package/dist/InputBase-pYQWRFK2.cjs +0 -3
  322. package/dist/Link-DUtuCYMx.cjs +0 -1
  323. package/dist/List-BH_S4Hqm.cjs +0 -1
  324. package/dist/ListItem-D33t-hkx.cjs +0 -1
  325. package/dist/ListItemText-B8jlTz59.cjs +0 -2
  326. package/dist/ListItemText-BeyHu1da.js +0 -853
  327. package/dist/Menu-BjrN8rMF.cjs +0 -7
  328. package/dist/MenuItem-Cz_x60jl.cjs +0 -1
  329. package/dist/Modal-DxwlW5NV.cjs +0 -2
  330. package/dist/Paper-984iTz4H.js +0 -186
  331. package/dist/Paper-Bh9CKUCb.cjs +0 -2
  332. package/dist/Popper-yO_RaCbM.cjs +0 -4
  333. package/dist/Portal-B5KqLEa0.cjs +0 -1
  334. package/dist/Radio-C7zzpRFc.cjs +0 -1
  335. package/dist/RadioGroup-BlUWRmLG.cjs +0 -1
  336. package/dist/Select-Doay7ukI.cjs +0 -3
  337. package/dist/Stack-BVWbOqY_.cjs +0 -1
  338. package/dist/Switch-CEfqaD33.cjs +0 -1
  339. package/dist/SwitchBase-DvCITKv8.cjs +0 -1
  340. package/dist/Tab-C6H241Pf.cjs +0 -4
  341. package/dist/TextField-bE2NUKKK.cjs +0 -1
  342. package/dist/Tooltip-D_w-IJoD.cjs +0 -4
  343. package/dist/Typography-De-21leI.cjs +0 -1
  344. package/dist/capitalize-BHFotl9B.js +0 -9
  345. package/dist/capitalize-CKLkSyDO.cjs +0 -1
  346. package/dist/composeClasses-CJKlIaRn.js +0 -51
  347. package/dist/composeClasses-CWgX5SFD.cjs +0 -1
  348. package/dist/createSvgIcon-BgBODH2F.cjs +0 -1
  349. package/dist/dividerClasses-D3gnW6kZ.cjs +0 -1
  350. package/dist/extendSxProp-Cm-DtZe3.cjs +0 -1
  351. package/dist/generateUtilityClasses-CMlilM6r.cjs +0 -55
  352. package/dist/getReactElementRef-EVJnBPlV.cjs +0 -1
  353. package/dist/index-BzsuDIEl.cjs +0 -1
  354. package/dist/listItemTextClasses-BJFgw1ah.cjs +0 -1
  355. package/dist/mergeSlotProps-Z5-o9vSe.cjs +0 -1
  356. package/dist/useControlled-BYdyS7Pn.js +0 -31
  357. package/dist/useControlled-Ysk4KqoX.cjs +0 -3
  358. package/dist/useSlot-W0PiuVaZ.cjs +0 -1
  359. package/dist/useTheme-C59wIJ3-.js +0 -11
  360. package/dist/useTheme-ClhInrO2.cjs +0 -1
  361. package/dist/useTheme-CqYtLDbs.cjs +0 -1
  362. package/dist/useThemeProps-BFQ8ndnj.js +0 -17
  363. package/dist/useThemeProps-DYpozGhe.cjs +0 -1
  364. package/dist/{getReactElementRef-H8kwrWP1.js → elementAcceptingRef-CEweUuUA.js} +5 -5
@@ -1,86 +1,81 @@
1
- import * as y from "react";
1
+ import * as x from "react";
2
2
  import { P as t } from "./index-Sy88PpwE.js";
3
- import { F as kt, G as Rt, H as Je, n as ct } from "./generateUtilityClasses-DngCqveO.js";
4
- import { A as Ht, f as he, o as $t, i as dt } from "./Select-DZMwqCYA.js";
5
- import { i as ie } from "./InputBase-DxLqRpcl.js";
6
- import { C as zt } from "./Close-m-MX3rFn.js";
7
- import { m as le } from "./memoTheme-nmt7i1dS.js";
8
- import { u as ft } from "./useSlot-BDb1lvxu.js";
9
- import { jsx as w, jsxs as _e } from "react/jsx-runtime";
10
- import { u as Dt, s as H, c as Nt } from "./DefaultPropsProvider-hFv1J_xl.js";
11
- import { u as jt } from "./useId-CK6Kn3Tn.js";
12
- import { u as gt } from "./useControlled-BYdyS7Pn.js";
13
- import { u as Ke } from "./useEventCallback-Yoj9nCug.js";
14
- import { s as Ut } from "./Portal-ChC9wmMZ.js";
15
- import { P as Et, i as Bt } from "./Paper-984iTz4H.js";
16
- import { P as Mt } from "./Popper-DfwuvxaQ.js";
17
- import { C as Wt } from "./Chip-CPR3r42q.js";
18
- import { c as Ye } from "./capitalize-BHFotl9B.js";
19
- import { I as Vt } from "./IconButton-CgwURB2g.js";
20
- import { c as St } from "./chainPropTypes-D9lkm76m.js";
21
- const Gt = (n) => {
22
- const a = y.useRef({});
23
- return y.useEffect(() => {
24
- a.current = n;
25
- }), a.current;
26
- };
27
- function Tt(n) {
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
+ import { u as Ut } from "./useId-CK6Kn3Tn.js";
12
+ import { u as gt } from "./useControlled-nm4pBabJ.js";
13
+ import { u as Bt } from "./usePreviousProps-ByGlbpJ6.js";
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) {
28
23
  return n.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
29
24
  }
30
- function qt(n = {}) {
25
+ function Kt(n = {}) {
31
26
  const {
32
- ignoreAccents: a = !0,
27
+ ignoreAccents: i = !0,
33
28
  ignoreCase: d = !0,
34
29
  limit: m,
35
- matchFrom: S = "any",
30
+ matchFrom: T = "any",
36
31
  stringify: D,
37
- trim: T = !1
32
+ trim: v = !1
38
33
  } = n;
39
34
  return (N, {
40
35
  inputValue: B,
41
36
  getOptionLabel: I
42
37
  }) => {
43
- let C = T ? B.trim() : B;
44
- d && (C = C.toLowerCase()), a && (C = Tt(C));
45
- const W = C ? N.filter((pe) => {
46
- let E = (D || I)(pe);
47
- 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($);
48
43
  }) : N;
49
44
  return typeof m == "number" ? W.slice(0, m) : W;
50
45
  };
51
46
  }
52
- const _t = qt(), Kt = 5, Jt = (n) => {
53
- var a;
54
- 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));
55
50
  }, Xt = [];
56
- function At(n, a, d, m) {
57
- if (a || n == null || m)
51
+ function At(n, i, d, m) {
52
+ if (i || n == null || m)
58
53
  return "";
59
- const S = d(n);
60
- return typeof S == "string" ? S : "";
54
+ const T = d(n);
55
+ return typeof T == "string" ? T : "";
61
56
  }
62
57
  function Yt(n) {
63
58
  const {
64
59
  // eslint-disable-next-line @typescript-eslint/naming-convention
65
- unstable_isActiveElementInListbox: a = Jt,
60
+ unstable_isActiveElementInListbox: i = Jt,
66
61
  // eslint-disable-next-line @typescript-eslint/naming-convention
67
62
  unstable_classNamePrefix: d = "Mui",
68
63
  autoComplete: m = !1,
69
- autoHighlight: S = !1,
64
+ autoHighlight: T = !1,
70
65
  autoSelect: D = !1,
71
- blurOnSelect: T = !1,
66
+ blurOnSelect: v = !1,
72
67
  clearOnBlur: N = !n.freeSolo,
73
68
  clearOnEscape: B = !1,
74
69
  componentName: I = "useAutocomplete",
75
- defaultValue: C = n.multiple ? Xt : null,
70
+ defaultValue: $ = n.multiple ? Xt : null,
76
71
  disableClearable: W = !1,
77
- disableCloseOnSelect: pe = !1,
72
+ disableCloseOnSelect: ue = !1,
78
73
  disabled: E,
79
- disabledItemsFocusable: we = !1,
74
+ disabledItemsFocusable: Ae = !1,
80
75
  disableListWrap: Le = !1,
81
76
  filterOptions: mt = _t,
82
77
  filterSelectedOptions: ke = !1,
83
- freeSolo: ue = !1,
78
+ freeSolo: ce = !1,
84
79
  getOptionDisabled: G,
85
80
  getOptionKey: Re,
86
81
  getOptionLabel: Qe = (o) => o.label ?? o,
@@ -99,13 +94,13 @@ function Yt(n) {
99
94
  open: ht,
100
95
  openOnFocus: yt = !1,
101
96
  options: xt,
102
- readOnly: _ = !1,
97
+ readOnly: K = !1,
103
98
  renderValue: L,
104
99
  selectOnFocus: ot = !n.freeSolo,
105
100
  value: Me
106
- } = n, M = jt(bt);
107
- let $ = Qe;
108
- $ = (o) => {
101
+ } = n, M = Ut(bt);
102
+ let S = Qe;
103
+ S = (o) => {
109
104
  const e = Qe(o);
110
105
  if (typeof e != "string") {
111
106
  if (process.env.NODE_ENV !== "production") {
@@ -116,87 +111,87 @@ function Yt(n) {
116
111
  }
117
112
  return e;
118
113
  };
119
- const ce = y.useRef(!1), xe = y.useRef(!0), h = y.useRef(null), F = y.useRef(null), [Ie, It] = y.useState(null), [V, Ve] = y.useState(-1), nt = S ? 0 : -1, P = y.useRef(nt), Ot = y.useRef(At(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({
120
115
  controlled: Me,
121
- default: C,
116
+ default: $,
122
117
  name: I
123
- }), [f, ne] = gt({
118
+ }), [g, ne] = gt({
124
119
  controlled: De,
125
120
  default: Ot,
126
121
  name: I,
127
122
  state: "inputValue"
128
- }), [de, Fe] = y.useState(!1), fe = y.useCallback((o, e, r) => {
129
- if (!(u ? i.length < e.length : e !== null) && !N)
123
+ }), [de, Fe] = x.useState(!1), fe = x.useCallback((o, e, r) => {
124
+ if (!(u ? s.length < e.length : e !== null) && !N)
130
125
  return;
131
- const s = At(e, u, $, L);
132
- f !== s && (ne(s), Q && Q(o, s, r));
133
- }, [$, 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({
134
129
  controlled: ht,
135
130
  default: !1,
136
131
  name: I,
137
132
  state: "open"
138
- }), [Pt, ge] = y.useState(!0), He = !u && i != null && f === $(i), k = K && !_, b = k ? mt(
139
- 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)))),
140
135
  // we use the empty string to manipulate `filterOptions` to not filter any options
141
136
  // i.e. the filter predicate always returns true
142
137
  {
143
- inputValue: He && Pt ? "" : f,
144
- getOptionLabel: $
138
+ inputValue: He && Pt ? "" : g,
139
+ getOptionLabel: S
145
140
  }
146
- ) : [], z = Gt({
141
+ ) : [], z = Bt({
147
142
  filteredOptions: b,
148
- value: i,
149
- inputValue: f
143
+ value: s,
144
+ inputValue: g
150
145
  });
151
- y.useEffect(() => {
152
- const o = i !== z.value;
153
- de && !o || ue && !o || fe(null, i, "reset");
154
- }, [i, fe, de, z.value, ue]);
155
- const ze = K && b.length > 0 && !_, j = Ke((o) => {
146
+ x.useEffect(() => {
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) => {
156
151
  if (o === -1)
157
152
  h.current.focus();
158
153
  else {
159
154
  const e = L ? "data-item-index" : "data-tag-index";
160
- Ie.querySelector(`[${e}="${o}"]`).focus();
155
+ Oe.querySelector(`[${e}="${o}"]`).focus();
161
156
  }
162
157
  });
163
- y.useEffect(() => {
164
- u && V > i.length - 1 && (Ve(-1), j(-1));
165
- }, [i, u, V, j]);
158
+ x.useEffect(() => {
159
+ u && V > s.length - 1 && (Ve(-1), j(-1));
160
+ }, [s, u, V, j]);
166
161
  function rt(o, e) {
167
162
  if (!F.current || o < 0 || o >= b.length)
168
163
  return -1;
169
164
  let r = o;
170
165
  for (; ; ) {
171
- const p = F.current.querySelector(`[data-option-index="${r}"]`), s = we ? !1 : !p || p.disabled || p.getAttribute("aria-disabled") === "true";
172
- 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)
173
168
  return r;
174
169
  if (e === "next" ? r = (r + 1) % b.length : r = (r - 1 + b.length) % b.length, r === o)
175
170
  return -1;
176
171
  }
177
172
  }
178
- const J = Ke(({
173
+ const J = _e(({
179
174
  event: o,
180
175
  index: e,
181
176
  reason: r
182
177
  }) => {
183
- 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)
184
179
  return;
185
180
  const p = F.current.querySelector(`[role="option"].${d}-focused`);
186
181
  p && (p.classList.remove(`${d}-focused`), p.classList.remove(`${d}-focusVisible`));
187
- let s = F.current;
188
- 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)
189
184
  return;
190
185
  if (e === -1) {
191
- s.scrollTop = 0;
186
+ a.scrollTop = 0;
192
187
  return;
193
188
  }
194
- const g = F.current.querySelector(`[data-option-index="${e}"]`);
195
- if (g && (g.classList.add(`${d}-focused`), r === "keyboard" && g.classList.add(`${d}-focusVisible`), s.scrollHeight > s.clientHeight && r !== "mouse" && r !== "touch")) {
196
- const x = g, A = s.clientHeight + s.scrollTop, Te = x.offsetTop + x.offsetHeight;
197
- Te > A ? s.scrollTop = Te - s.clientHeight : x.offsetTop - x.offsetHeight * (oe ? 1.3 : 0) < s.scrollTop && (s.scrollTop = x.offsetTop - x.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));
198
193
  }
199
- }), U = Ke(({
194
+ }), U = _e(({
200
195
  event: o,
201
196
  diff: e,
202
197
  direction: r = "next",
@@ -204,48 +199,48 @@ function Yt(n) {
204
199
  }) => {
205
200
  if (!k)
206
201
  return;
207
- const g = rt((() => {
208
- const x = b.length - 1;
202
+ const f = rt((() => {
203
+ const y = b.length - 1;
209
204
  if (e === "reset")
210
205
  return nt;
211
206
  if (e === "start")
212
207
  return 0;
213
208
  if (e === "end")
214
- return x;
215
- const A = P.current + e;
216
- return A < 0 ? A === -1 && ye ? -1 : Le && P.current !== -1 || Math.abs(e) > 1 ? 0 : x : A > x ? A === x + 1 && ye ? -1 : Le || Math.abs(e) > 1 ? x : 0 : A;
209
+ return y;
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;
217
212
  })(), r);
218
213
  if (J({
219
- index: g,
214
+ index: f,
220
215
  reason: p,
221
216
  event: o
222
217
  }), m && e !== "reset")
223
- if (g === -1)
224
- h.current.value = f;
218
+ if (f === -1)
219
+ h.current.value = g;
225
220
  else {
226
- const x = $(b[g]);
227
- h.current.value = x, x.toLowerCase().indexOf(f.toLowerCase()) === 0 && f.length > 0 && h.current.setSelectionRange(f.length, x.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);
228
223
  }
229
224
  }), at = () => {
230
225
  const o = (e, r) => {
231
- const p = e ? $(e) : "", s = r ? $(r) : "";
232
- return p === s;
226
+ const p = e ? S(e) : "", a = r ? S(r) : "";
227
+ return p === a;
233
228
  };
234
- 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))) {
235
- 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];
236
231
  if (e)
237
- return b.findIndex((r) => $(r) === $(e));
232
+ return b.findIndex((r) => S(r) === S(e));
238
233
  }
239
234
  return -1;
240
- }, ve = y.useCallback(() => {
235
+ }, Ce = x.useCallback(() => {
241
236
  if (!k)
242
237
  return;
243
238
  const o = at();
244
239
  if (o !== -1) {
245
- P.current = o;
240
+ C.current = o;
246
241
  return;
247
242
  }
248
- const e = u ? i[0] : i;
243
+ const e = u ? s[0] : s;
249
244
  if (b.length === 0 || e == null) {
250
245
  U({
251
246
  diff: "reset"
@@ -254,10 +249,10 @@ function Yt(n) {
254
249
  }
255
250
  if (F.current) {
256
251
  if (e != null) {
257
- const r = b[P.current];
258
- 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)
259
254
  return;
260
- const p = b.findIndex((s) => Y(s, e));
255
+ const p = b.findIndex((a) => Y(a, e));
261
256
  p === -1 ? U({
262
257
  diff: "reset"
263
258
  }) : J({
@@ -265,14 +260,14 @@ function Yt(n) {
265
260
  });
266
261
  return;
267
262
  }
268
- if (P.current >= b.length - 1) {
263
+ if (C.current >= b.length - 1) {
269
264
  J({
270
265
  index: b.length - 1
271
266
  });
272
267
  return;
273
268
  }
274
269
  J({
275
- index: P.current
270
+ index: C.current
276
271
  });
277
272
  }
278
273
  }, [
@@ -280,58 +275,58 @@ function Yt(n) {
280
275
  b.length,
281
276
  // Don't sync the highlighted index with the value when multiple
282
277
  // eslint-disable-next-line react-hooks/exhaustive-deps
283
- u ? !1 : i,
278
+ u ? !1 : s,
284
279
  ke,
285
280
  U,
286
281
  J,
287
282
  k,
288
- f,
283
+ g,
289
284
  u
290
- ]), st = Ke((o) => {
291
- Ut(F, o), o && ve();
285
+ ]), it = _e((o) => {
286
+ Wt(F, o), o && Ce();
292
287
  });
293
- process.env.NODE_ENV !== "production" && y.useEffect(() => {
288
+ process.env.NODE_ENV !== "production" && x.useEffect(() => {
294
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(`
295
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(`
296
291
  `)));
297
- }, [I]), y.useEffect(() => {
298
- ve();
299
- }, [ve]);
292
+ }, [I]), x.useEffect(() => {
293
+ Ce();
294
+ }, [Ce]);
300
295
  const R = (o) => {
301
- K || (Pe(!0), ge(!0), Ee && Ee(o));
302
- }, re = (o, e) => {
303
- 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));
304
299
  }, X = (o, e, r, p) => {
305
300
  if (u) {
306
- 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]))
307
302
  return;
308
- } else if (i === e)
303
+ } else if (s === e)
309
304
  return;
310
- et && et(o, e, r, p), Oe(e);
311
- }, me = y.useRef(!1), q = (o, e, r = "selectOption", p = "options") => {
312
- let s = r, g = e;
305
+ et && et(o, e, r, p), Pe(e);
306
+ }, me = x.useRef(!1), q = (o, e, r = "selectOption", p = "options") => {
307
+ let a = r, f = e;
313
308
  if (u) {
314
- if (g = Array.isArray(i) ? i.slice() : [], process.env.NODE_ENV !== "production") {
315
- const A = g.filter((Te) => Y(e, Te));
316
- 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(`
317
312
  `));
318
313
  }
319
- const x = g.findIndex((A) => Y(e, A));
320
- x === -1 ? g.push(e) : p !== "freeSolo" && (g.splice(x, 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");
321
316
  }
322
- fe(o, g, s), X(o, g, s, {
317
+ fe(o, f, a), X(o, f, a, {
323
318
  option: e
324
- }), !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();
325
320
  };
326
321
  function je(o, e) {
327
322
  if (o === -1)
328
323
  return -1;
329
324
  let r = o;
330
325
  for (; ; ) {
331
- if (e === "next" && r === i.length || e === "previous" && r === -1)
326
+ if (e === "next" && r === s.length || e === "previous" && r === -1)
332
327
  return -1;
333
- const p = L ? "data-item-index" : "data-tag-index", s = Ie.querySelector(`[${p}="${r}"]`);
334
- 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")
335
330
  r += e === "next" ? 1 : -1;
336
331
  else
337
332
  return r;
@@ -340,12 +335,12 @@ function Yt(n) {
340
335
  const Ue = (o, e) => {
341
336
  if (!u)
342
337
  return;
343
- f === "" && re(o, "toggleInput");
338
+ g === "" && ae(o, "toggleInput");
344
339
  let r = V;
345
- 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);
346
- }, ae = (o) => {
347
- ce.current = !0, ne(""), Q && Q(o, "", "clear"), X(o, u ? [] : null, "clear");
348
- }, 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) => {
349
344
  if (o.onKeyDown && o.onKeyDown(e), !e.defaultMuiPrevented && (V !== -1 && !["ArrowLeft", "ArrowRight"].includes(e.key) && (Ve(-1), j(-1)), e.which !== 229))
350
345
  switch (e.key) {
351
346
  case "Home":
@@ -366,7 +361,7 @@ function Yt(n) {
366
361
  break;
367
362
  case "PageUp":
368
363
  e.preventDefault(), U({
369
- diff: -5,
364
+ diff: -wt,
370
365
  direction: "previous",
371
366
  reason: "keyboard",
372
367
  event: e
@@ -374,7 +369,7 @@ function Yt(n) {
374
369
  break;
375
370
  case "PageDown":
376
371
  e.preventDefault(), U({
377
- diff: Kt,
372
+ diff: wt,
378
373
  direction: "next",
379
374
  reason: "keyboard",
380
375
  event: e
@@ -403,49 +398,49 @@ function Yt(n) {
403
398
  !u && L ? j(-1) : Ue(e, "next");
404
399
  break;
405
400
  case "Enter":
406
- if (P.current !== -1 && k) {
407
- 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;
408
403
  if (e.preventDefault(), p)
409
404
  return;
410
405
  q(e, r, "selectOption"), m && h.current.setSelectionRange(h.current.value.length, h.current.value.length);
411
- } 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"));
412
407
  break;
413
408
  case "Escape":
414
- 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));
415
410
  break;
416
411
  case "Backspace":
417
- if (u && !_ && f === "" && i.length > 0) {
418
- 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();
419
414
  p.splice(r, 1), X(e, p, "removeOption", {
420
- option: i[r]
415
+ option: s[r]
421
416
  });
422
417
  }
423
- !u && L && !_ && (Oe(null), j(-1));
418
+ !u && L && !K && (Pe(null), j(-1));
424
419
  break;
425
420
  case "Delete":
426
- if (u && !_ && f === "" && i.length > 0 && V !== -1) {
427
- const r = V, p = i.slice();
421
+ if (u && !K && g === "" && s.length > 0 && V !== -1) {
422
+ const r = V, p = s.slice();
428
423
  p.splice(r, 1), X(e, p, "removeOption", {
429
- option: i[r]
424
+ option: s[r]
430
425
  });
431
426
  }
432
- !u && L && !_ && (Oe(null), j(-1));
427
+ !u && L && !K && (Pe(null), j(-1));
433
428
  break;
434
429
  }
435
430
  }, lt = (o) => {
436
- Fe(!0), yt && !ce.current && R(o);
431
+ Fe(!0), yt && !xe.current && R(o);
437
432
  }, se = (o) => {
438
- if (a(F)) {
433
+ if (i(F)) {
439
434
  h.current.focus();
440
435
  return;
441
436
  }
442
- 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");
443
- }, Ce = (o) => {
444
- const e = o.target.value;
445
- 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");
446
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) => {
447
442
  const e = Number(o.currentTarget.getAttribute("data-option-index"));
448
- P.current !== e && J({
443
+ C.current !== e && J({
449
444
  event: o,
450
445
  index: e,
451
446
  reason: "mouse"
@@ -460,35 +455,35 @@ function Yt(n) {
460
455
  const e = Number(o.currentTarget.getAttribute("data-option-index"));
461
456
  q(o, b[e], "selectOption"), me.current = !1;
462
457
  }, Be = (o) => (e) => {
463
- const r = i.slice();
458
+ const r = s.slice();
464
459
  r.splice(o, 1), X(e, r, "removeOption", {
465
- option: i[o]
460
+ option: s[o]
466
461
  });
467
- }, vt = (o) => {
462
+ }, Ct = (o) => {
468
463
  X(o, null, "removeOption", {
469
- option: i
464
+ option: s
470
465
  });
471
466
  }, be = (o) => {
472
- K ? re(o, "toggleInput") : R(o);
473
- }, v = (o) => {
474
- o.currentTarget.contains(o.target) && o.target.getAttribute("id") !== M && o.preventDefault();
467
+ _ ? ae(o, "toggleInput") : R(o);
475
468
  }, O = (o) => {
476
- 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);
477
472
  }, Z = (o) => {
478
- !E && (f === "" || !K) && be(o);
473
+ !E && (g === "" || !_) && be(o);
479
474
  };
480
- let Se = ue && f.length > 0;
481
- Se = Se || (u ? i.length > 0 : i !== null);
475
+ let Te = ce && g.length > 0;
476
+ Te = Te || (u ? s.length > 0 : s !== null);
482
477
  let We = b;
483
478
  if (oe) {
484
479
  const o = /* @__PURE__ */ new Map();
485
480
  let e = !1;
486
- We = b.reduce((r, p, s) => {
487
- const g = oe(p);
488
- 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({
489
- key: s,
490
- index: s,
491
- 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,
492
487
  options: [p]
493
488
  })), r;
494
489
  }, []);
@@ -496,9 +491,9 @@ function Yt(n) {
496
491
  return E && de && se(), {
497
492
  getRootProps: (o = {}) => ({
498
493
  ...o,
499
- onKeyDown: it(o),
500
- onMouseDown: v,
501
- onClick: O
494
+ onKeyDown: st(o),
495
+ onMouseDown: O,
496
+ onClick: P
502
497
  }),
503
498
  getInputLabelProps: () => ({
504
499
  id: `${M}-label`,
@@ -506,10 +501,10 @@ function Yt(n) {
506
501
  }),
507
502
  getInputProps: () => ({
508
503
  id: M,
509
- value: f,
504
+ value: g,
510
505
  onBlur: se,
511
506
  onFocus: lt,
512
- onChange: Ce,
507
+ onChange: $e,
513
508
  onMouseDown: Z,
514
509
  // if open then this is handled imperatively so don't let react override
515
510
  // only have an opinion about this when closed
@@ -529,7 +524,7 @@ function Yt(n) {
529
524
  getClearProps: () => ({
530
525
  tabIndex: -1,
531
526
  type: "button",
532
- onClick: ae
527
+ onClick: ie
533
528
  }),
534
529
  getItemProps: ({
535
530
  index: o = 0
@@ -543,8 +538,8 @@ function Yt(n) {
543
538
  "data-tag-index": o
544
539
  },
545
540
  tabIndex: -1,
546
- ...!_ && {
547
- onDelete: u ? Be(o) : vt
541
+ ...!K && {
542
+ onDelete: u ? Be(o) : Ct
548
543
  }
549
544
  }),
550
545
  getPopupIndicatorProps: () => ({
@@ -559,7 +554,7 @@ function Yt(n) {
559
554
  key: o,
560
555
  "data-tag-index": o,
561
556
  tabIndex: -1,
562
- ...!_ && {
557
+ ...!K && {
563
558
  onDelete: Be(o)
564
559
  }
565
560
  }),
@@ -567,7 +562,7 @@ function Yt(n) {
567
562
  role: "listbox",
568
563
  id: `${M}-listbox`,
569
564
  "aria-labelledby": `${M}-label`,
570
- ref: st,
565
+ ref: it,
571
566
  onMouseDown: (o) => {
572
567
  o.preventDefault();
573
568
  }
@@ -576,13 +571,13 @@ function Yt(n) {
576
571
  index: o,
577
572
  option: e
578
573
  }) => {
579
- 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;
580
575
  return {
581
- key: (Re == null ? void 0 : Re(e)) ?? $(e),
576
+ key: (Re == null ? void 0 : Re(e)) ?? S(e),
582
577
  tabIndex: -1,
583
578
  role: "option",
584
579
  id: `${M}-option-${o}`,
585
- onMouseMove: $e,
580
+ onMouseMove: Se,
586
581
  onClick: ut,
587
582
  onTouchStart: pt,
588
583
  "data-option-index": o,
@@ -591,13 +586,13 @@ function Yt(n) {
591
586
  };
592
587
  },
593
588
  id: M,
594
- inputValue: f,
595
- value: i,
596
- dirty: Se,
597
- expanded: k && Ie,
589
+ inputValue: g,
590
+ value: s,
591
+ dirty: Te,
592
+ expanded: k && Oe,
598
593
  popupOpen: k,
599
594
  focused: de || V !== -1,
600
- anchorEl: Ie,
595
+ anchorEl: Oe,
601
596
  setAnchorEl: It,
602
597
  focusedItem: V,
603
598
  // deprecated
@@ -606,29 +601,29 @@ function Yt(n) {
606
601
  };
607
602
  }
608
603
  function Qt(n) {
609
- return Rt("MuiListSubheader", n);
604
+ return Dt("MuiListSubheader", n);
610
605
  }
611
- const Eo = kt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
606
+ const Mo = Rt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]), Zt = (n) => {
612
607
  const {
613
- classes: a,
608
+ classes: i,
614
609
  color: d,
615
610
  disableGutters: m,
616
- inset: S,
611
+ inset: T,
617
612
  disableSticky: D
618
- } = n, T = {
619
- 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"]
620
615
  };
621
- return Nt(T, Qt, a);
616
+ return Et(v, Qt, i);
622
617
  }, eo = H("li", {
623
618
  name: "MuiListSubheader",
624
619
  slot: "Root",
625
- overridesResolver: (n, a) => {
620
+ overridesResolver: (n, i) => {
626
621
  const {
627
622
  ownerState: d
628
623
  } = n;
629
- 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];
630
625
  }
631
- })(le(({
626
+ })(pe(({
632
627
  theme: n
633
628
  }) => ({
634
629
  boxSizing: "border-box",
@@ -654,23 +649,23 @@ const Eo = kt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutt
654
649
  }
655
650
  }, {
656
651
  props: ({
657
- ownerState: a
658
- }) => !a.disableGutters,
652
+ ownerState: i
653
+ }) => !i.disableGutters,
659
654
  style: {
660
655
  paddingLeft: 16,
661
656
  paddingRight: 16
662
657
  }
663
658
  }, {
664
659
  props: ({
665
- ownerState: a
666
- }) => a.inset,
660
+ ownerState: i
661
+ }) => i.inset,
667
662
  style: {
668
663
  paddingLeft: 72
669
664
  }
670
665
  }, {
671
666
  props: ({
672
- ownerState: a
673
- }) => !a.disableSticky,
667
+ ownerState: i
668
+ }) => !i.disableSticky,
674
669
  style: {
675
670
  position: "sticky",
676
671
  top: 0,
@@ -678,32 +673,32 @@ const Eo = kt("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutt
678
673
  backgroundColor: (n.vars || n).palette.background.paper
679
674
  }
680
675
  }]
681
- }))), Xe = /* @__PURE__ */ y.forwardRef(function(a, d) {
682
- const m = Dt({
683
- props: a,
676
+ }))), Xe = /* @__PURE__ */ x.forwardRef(function(i, d) {
677
+ const m = Nt({
678
+ props: i,
684
679
  name: "MuiListSubheader"
685
680
  }), {
686
- className: S,
681
+ className: T,
687
682
  color: D = "default",
688
- component: T = "li",
683
+ component: v = "li",
689
684
  disableGutters: N = !1,
690
685
  disableSticky: B = !1,
691
686
  inset: I = !1,
692
- ...C
687
+ ...$
693
688
  } = m, W = {
694
689
  ...m,
695
690
  color: D,
696
- component: T,
691
+ component: v,
697
692
  disableGutters: N,
698
693
  disableSticky: B,
699
694
  inset: I
700
- }, pe = Zt(W);
701
- return /* @__PURE__ */ w(eo, {
702
- as: T,
703
- className: Je(pe.root, S),
695
+ }, ue = Zt(W);
696
+ return /* @__PURE__ */ A(eo, {
697
+ as: v,
698
+ className: Je(ue.root, T),
704
699
  ref: d,
705
700
  ownerState: W,
706
- ...C
701
+ ...$
707
702
  });
708
703
  });
709
704
  Xe && (Xe.muiSkipListHighlight = !0);
@@ -755,27 +750,27 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
755
750
  sx: t.oneOfType([t.arrayOf(t.oneOfType([t.func, t.object, t.bool])), t.func, t.object])
756
751
  });
757
752
  function to(n) {
758
- return Rt("MuiAutocomplete", n);
753
+ return Dt("MuiAutocomplete", n);
759
754
  }
760
- const l = kt("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
761
- var wt, Lt;
755
+ const l = Rt("MuiAutocomplete", ["root", "expanded", "fullWidth", "focused", "focusVisible", "tag", "tagSizeSmall", "tagSizeMedium", "hasPopupIcon", "hasClearIcon", "inputRoot", "input", "inputFocused", "endAdornment", "clearIndicator", "popupIndicator", "popupIndicatorOpen", "popper", "popperDisablePortal", "paper", "listbox", "loading", "noOptions", "option", "groupLabel", "groupUl"]);
756
+ var Lt, kt;
762
757
  const oo = (n) => {
763
758
  const {
764
- classes: a,
759
+ classes: i,
765
760
  disablePortal: d,
766
761
  expanded: m,
767
- focused: S,
762
+ focused: T,
768
763
  fullWidth: D,
769
- hasClearIcon: T,
764
+ hasClearIcon: v,
770
765
  hasPopupIcon: N,
771
766
  inputFocused: B,
772
767
  popupOpen: I,
773
- size: C
768
+ size: $
774
769
  } = n, W = {
775
- 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"],
776
771
  inputRoot: ["inputRoot"],
777
772
  input: ["input", B && "inputFocused"],
778
- tag: ["tag", `tagSize${Ye(C)}`],
773
+ tag: ["tag", `tagSize${Ye($)}`],
779
774
  endAdornment: ["endAdornment"],
780
775
  clearIndicator: ["clearIndicator"],
781
776
  popupIndicator: ["popupIndicator", I && "popupIndicatorOpen"],
@@ -788,31 +783,31 @@ const oo = (n) => {
788
783
  groupLabel: ["groupLabel"],
789
784
  groupUl: ["groupUl"]
790
785
  };
791
- return Nt(W, to, a);
786
+ return Et(W, to, i);
792
787
  }, no = H("div", {
793
788
  name: "MuiAutocomplete",
794
789
  slot: "Root",
795
- overridesResolver: (n, a) => {
790
+ overridesResolver: (n, i) => {
796
791
  const {
797
792
  ownerState: d
798
793
  } = n, {
799
794
  fullWidth: m,
800
- hasClearIcon: S,
795
+ hasClearIcon: T,
801
796
  hasPopupIcon: D,
802
- inputFocused: T,
797
+ inputFocused: v,
803
798
  size: N
804
799
  } = d;
805
800
  return [{
806
- [`& .${l.tag}`]: a.tag
801
+ [`& .${l.tag}`]: i.tag
807
802
  }, {
808
- [`& .${l.tag}`]: a[`tagSize${Ye(N)}`]
803
+ [`& .${l.tag}`]: i[`tagSize${Ye(N)}`]
809
804
  }, {
810
- [`& .${l.inputRoot}`]: a.inputRoot
805
+ [`& .${l.inputRoot}`]: i.inputRoot
811
806
  }, {
812
- [`& .${l.input}`]: a.input
807
+ [`& .${l.input}`]: i.input
813
808
  }, {
814
- [`& .${l.input}`]: T && a.inputFocused
815
- }, 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];
816
811
  }
817
812
  })({
818
813
  [`&.${l.focused} .${l.clearIndicator}`]: {
@@ -846,12 +841,12 @@ const oo = (n) => {
846
841
  padding: "4px 4px 4px 0px"
847
842
  }
848
843
  },
849
- [`& .${dt.root}.${ie.sizeSmall}`]: {
844
+ [`& .${dt.root}.${le.sizeSmall}`]: {
850
845
  [`& .${dt.input}`]: {
851
846
  padding: "2px 4px 3px 0"
852
847
  }
853
848
  },
854
- [`& .${$t.root}`]: {
849
+ [`& .${St.root}`]: {
855
850
  padding: 9,
856
851
  [`.${l.hasPopupIcon}&, .${l.hasClearIcon}&`]: {
857
852
  paddingRight: 39
@@ -866,7 +861,7 @@ const oo = (n) => {
866
861
  right: 9
867
862
  }
868
863
  },
869
- [`& .${$t.root}.${ie.sizeSmall}`]: {
864
+ [`& .${St.root}.${le.sizeSmall}`]: {
870
865
  // Don't specify paddingRight, as it overrides the default value set when there is only
871
866
  // one of the popup or clear icon as the specificity is equal so the latter one wins
872
867
  paddingTop: 6,
@@ -892,16 +887,16 @@ const oo = (n) => {
892
887
  right: 9
893
888
  }
894
889
  },
895
- [`& .${he.root}.${ie.sizeSmall}`]: {
890
+ [`& .${he.root}.${le.sizeSmall}`]: {
896
891
  paddingBottom: 1,
897
892
  [`& .${he.input}`]: {
898
893
  padding: "2.5px 4px"
899
894
  }
900
895
  },
901
- [`& .${ie.hiddenLabel}`]: {
896
+ [`& .${le.hiddenLabel}`]: {
902
897
  paddingTop: 8
903
898
  },
904
- [`& .${he.root}.${ie.hiddenLabel}`]: {
899
+ [`& .${he.root}.${le.hiddenLabel}`]: {
905
900
  paddingTop: 0,
906
901
  paddingBottom: 0,
907
902
  [`& .${l.input}`]: {
@@ -909,7 +904,7 @@ const oo = (n) => {
909
904
  paddingBottom: 17
910
905
  }
911
906
  },
912
- [`& .${he.root}.${ie.hiddenLabel}.${ie.sizeSmall}`]: {
907
+ [`& .${he.root}.${le.hiddenLabel}.${le.sizeSmall}`]: {
913
908
  [`& .${l.input}`]: {
914
909
  paddingTop: 8,
915
910
  paddingBottom: 9
@@ -958,30 +953,28 @@ const oo = (n) => {
958
953
  }]
959
954
  }), ro = H("div", {
960
955
  name: "MuiAutocomplete",
961
- slot: "EndAdornment",
962
- overridesResolver: (n, a) => a.endAdornment
956
+ slot: "EndAdornment"
963
957
  })({
964
958
  // We use a position absolute to support wrapping tags.
965
959
  position: "absolute",
966
960
  right: 0,
967
961
  top: "50%",
968
962
  transform: "translate(0, -50%)"
969
- }), ao = H(Vt, {
963
+ }), ao = H(Ft, {
970
964
  name: "MuiAutocomplete",
971
- slot: "ClearIndicator",
972
- overridesResolver: (n, a) => a.clearIndicator
965
+ slot: "ClearIndicator"
973
966
  })({
974
967
  marginRight: -2,
975
968
  padding: 4,
976
969
  visibility: "hidden"
977
- }), so = H(Vt, {
970
+ }), io = H(Ft, {
978
971
  name: "MuiAutocomplete",
979
972
  slot: "PopupIndicator",
980
- overridesResolver: (n, a) => {
973
+ overridesResolver: (n, i) => {
981
974
  const {
982
975
  ownerState: d
983
976
  } = n;
984
- return [a.popupIndicator, d.popupOpen && a.popupIndicatorOpen];
977
+ return [i.popupIndicator, d.popupOpen && i.popupIndicatorOpen];
985
978
  }
986
979
  })({
987
980
  padding: 2,
@@ -994,18 +987,18 @@ const oo = (n) => {
994
987
  transform: "rotate(180deg)"
995
988
  }
996
989
  }]
997
- }), io = H(Mt, {
990
+ }), so = H(Vt, {
998
991
  name: "MuiAutocomplete",
999
992
  slot: "Popper",
1000
- overridesResolver: (n, a) => {
993
+ overridesResolver: (n, i) => {
1001
994
  const {
1002
995
  ownerState: d
1003
996
  } = n;
1004
997
  return [{
1005
- [`& .${l.option}`]: a.option
1006
- }, a.popper, d.disablePortal && a.popperDisablePortal];
998
+ [`& .${l.option}`]: i.option
999
+ }, i.popper, d.disablePortal && i.popperDisablePortal];
1007
1000
  }
1008
- })(le(({
1001
+ })(pe(({
1009
1002
  theme: n
1010
1003
  }) => ({
1011
1004
  zIndex: (n.vars || n).zIndex.modal,
@@ -1017,38 +1010,34 @@ const oo = (n) => {
1017
1010
  position: "absolute"
1018
1011
  }
1019
1012
  }]
1020
- }))), lo = H(Et, {
1013
+ }))), lo = H(Mt, {
1021
1014
  name: "MuiAutocomplete",
1022
- slot: "Paper",
1023
- overridesResolver: (n, a) => a.paper
1024
- })(le(({
1015
+ slot: "Paper"
1016
+ })(pe(({
1025
1017
  theme: n
1026
1018
  }) => ({
1027
1019
  ...n.typography.body1,
1028
1020
  overflow: "auto"
1029
1021
  }))), po = H("div", {
1030
1022
  name: "MuiAutocomplete",
1031
- slot: "Loading",
1032
- overridesResolver: (n, a) => a.loading
1033
- })(le(({
1023
+ slot: "Loading"
1024
+ })(pe(({
1034
1025
  theme: n
1035
1026
  }) => ({
1036
1027
  color: (n.vars || n).palette.text.secondary,
1037
1028
  padding: "14px 16px"
1038
1029
  }))), uo = H("div", {
1039
1030
  name: "MuiAutocomplete",
1040
- slot: "NoOptions",
1041
- overridesResolver: (n, a) => a.noOptions
1042
- })(le(({
1031
+ slot: "NoOptions"
1032
+ })(pe(({
1043
1033
  theme: n
1044
1034
  }) => ({
1045
1035
  color: (n.vars || n).palette.text.secondary,
1046
1036
  padding: "14px 16px"
1047
1037
  }))), co = H("ul", {
1048
1038
  name: "MuiAutocomplete",
1049
- slot: "Listbox",
1050
- overridesResolver: (n, a) => a.listbox
1051
- })(le(({
1039
+ slot: "Listbox"
1040
+ })(pe(({
1052
1041
  theme: n
1053
1042
  }) => ({
1054
1043
  listStyle: "none",
@@ -1104,44 +1093,42 @@ const oo = (n) => {
1104
1093
  }
1105
1094
  }))), fo = H(Xe, {
1106
1095
  name: "MuiAutocomplete",
1107
- slot: "GroupLabel",
1108
- overridesResolver: (n, a) => a.groupLabel
1109
- })(le(({
1096
+ slot: "GroupLabel"
1097
+ })(pe(({
1110
1098
  theme: n
1111
1099
  }) => ({
1112
1100
  backgroundColor: (n.vars || n).palette.background.paper,
1113
1101
  top: -8
1114
1102
  }))), go = H("ul", {
1115
1103
  name: "MuiAutocomplete",
1116
- slot: "GroupUl",
1117
- overridesResolver: (n, a) => a.groupUl
1104
+ slot: "GroupUl"
1118
1105
  })({
1119
1106
  padding: 0,
1120
1107
  [`& .${l.option}`]: {
1121
1108
  paddingLeft: 24
1122
1109
  }
1123
- }), mo = /* @__PURE__ */ y.forwardRef(function(a, d) {
1124
- const m = Dt({
1125
- props: a,
1110
+ }), mo = /* @__PURE__ */ x.forwardRef(function(i, d) {
1111
+ const m = Nt({
1112
+ props: i,
1126
1113
  name: "MuiAutocomplete"
1127
1114
  }), {
1128
- autoComplete: S = !1,
1115
+ autoComplete: T = !1,
1129
1116
  autoHighlight: D = !1,
1130
- autoSelect: T = !1,
1117
+ autoSelect: v = !1,
1131
1118
  blurOnSelect: N = !1,
1132
1119
  ChipProps: B,
1133
1120
  className: I,
1134
- clearIcon: C = wt || (wt = /* @__PURE__ */ w(zt, {
1121
+ clearIcon: $ = Lt || (Lt = /* @__PURE__ */ A(jt, {
1135
1122
  fontSize: "small"
1136
1123
  })),
1137
1124
  clearOnBlur: W = !m.freeSolo,
1138
- clearOnEscape: pe = !1,
1125
+ clearOnEscape: ue = !1,
1139
1126
  clearText: E = "Clear",
1140
- closeText: we = "Close",
1127
+ closeText: Ae = "Close",
1141
1128
  componentsProps: Le,
1142
1129
  defaultValue: mt = m.multiple ? [] : null,
1143
1130
  disableClearable: ke = !1,
1144
- disableCloseOnSelect: ue = !1,
1131
+ disableCloseOnSelect: ce = !1,
1145
1132
  disabled: G = !1,
1146
1133
  disabledItemsFocusable: Re = !1,
1147
1134
  disableListWrap: Qe = !1,
@@ -1160,32 +1147,32 @@ const oo = (n) => {
1160
1147
  handleHomeEndKeys: ht = !m.freeSolo,
1161
1148
  id: yt,
1162
1149
  includeInputInList: xt = !1,
1163
- inputValue: _,
1150
+ inputValue: K,
1164
1151
  limitTags: L = -1,
1165
1152
  ListboxComponent: ot,
1166
1153
  ListboxProps: Me,
1167
1154
  loading: M = !1,
1168
- loadingText: $ = "Loading…",
1169
- multiple: ce = !1,
1170
- noOptionsText: xe = "No options",
1155
+ loadingText: S = "Loading…",
1156
+ multiple: xe = !1,
1157
+ noOptionsText: Ie = "No options",
1171
1158
  onChange: h,
1172
1159
  onClose: F,
1173
- onHighlightChange: Ie,
1160
+ onHighlightChange: Oe,
1174
1161
  onInputChange: It,
1175
1162
  onOpen: V,
1176
1163
  open: Ve,
1177
1164
  openOnFocus: nt = !1,
1178
- openText: P = "Open",
1165
+ openText: C = "Open",
1179
1166
  options: Ot,
1180
- PaperComponent: i,
1181
- PopperComponent: Oe,
1182
- popupIcon: f = Lt || (Lt = /* @__PURE__ */ w(Ht, {})),
1167
+ PaperComponent: s,
1168
+ PopperComponent: Pe,
1169
+ popupIcon: g = kt || (kt = /* @__PURE__ */ A(zt, {})),
1183
1170
  readOnly: ne = !1,
1184
1171
  renderGroup: de,
1185
1172
  renderInput: Fe,
1186
1173
  renderOption: fe,
1187
- renderTags: K,
1188
- renderValue: Pe,
1174
+ renderTags: _,
1175
+ renderValue: re,
1189
1176
  selectOnFocus: Pt = !m.freeSolo,
1190
1177
  size: ge = "medium",
1191
1178
  slots: He = {},
@@ -1199,43 +1186,43 @@ const oo = (n) => {
1199
1186
  getPopupIndicatorProps: J,
1200
1187
  getClearProps: U,
1201
1188
  getItemProps: at,
1202
- getListboxProps: ve,
1203
- getOptionProps: st,
1189
+ getListboxProps: Ce,
1190
+ getOptionProps: it,
1204
1191
  value: R,
1205
- dirty: re,
1192
+ dirty: ae,
1206
1193
  expanded: X,
1207
1194
  id: me,
1208
1195
  popupOpen: q,
1209
1196
  focused: je,
1210
1197
  focusedItem: Ue,
1211
- anchorEl: ae,
1212
- setAnchorEl: it,
1198
+ anchorEl: ie,
1199
+ setAnchorEl: st,
1213
1200
  inputValue: lt,
1214
1201
  groupedOptions: se
1215
1202
  } = Yt({
1216
1203
  ...m,
1217
1204
  componentName: "Autocomplete"
1218
- }), Ce = !ke && !G && re && !ne, $e = (!De || ye === !0) && ye !== !1, {
1205
+ }), $e = !ke && !G && ae && !ne, Se = (!De || ye === !0) && ye !== !1, {
1219
1206
  onMouseDown: pt
1220
1207
  } = j(), {
1221
1208
  ref: ut,
1222
1209
  ...Be
1223
- } = ve(), be = Ne || ((c) => c.label ?? c), v = {
1210
+ } = Ce(), be = Ne || ((c) => c.label ?? c), O = {
1224
1211
  ...m,
1225
1212
  disablePortal: oe,
1226
1213
  expanded: X,
1227
1214
  focused: je,
1228
1215
  fullWidth: Y,
1229
1216
  getOptionLabel: be,
1230
- hasClearIcon: Ce,
1231
- hasPopupIcon: $e,
1217
+ hasClearIcon: $e,
1218
+ hasPopupIcon: Se,
1232
1219
  inputFocused: Ue === -1,
1233
1220
  popupOpen: q,
1234
1221
  size: ge
1235
- }, O = oo(v), Z = {
1222
+ }, P = oo(O), Z = {
1236
1223
  slots: {
1237
- paper: i,
1238
- popper: Oe,
1224
+ paper: s,
1225
+ popper: Pe,
1239
1226
  ...He
1240
1227
  },
1241
1228
  slotProps: {
@@ -1244,98 +1231,98 @@ const oo = (n) => {
1244
1231
  ...Le,
1245
1232
  ...k
1246
1233
  }
1247
- }, [Se, We] = ft("listbox", {
1234
+ }, [Te, We] = ft("listbox", {
1248
1235
  elementType: co,
1249
1236
  externalForwardedProps: Z,
1250
- ownerState: v,
1251
- className: O.listbox,
1237
+ ownerState: O,
1238
+ className: P.listbox,
1252
1239
  additionalProps: Be,
1253
1240
  ref: ut
1254
1241
  }), [o, e] = ft("paper", {
1255
- elementType: Et,
1242
+ elementType: Mt,
1256
1243
  externalForwardedProps: Z,
1257
- ownerState: v,
1258
- className: O.paper
1244
+ ownerState: O,
1245
+ className: P.paper
1259
1246
  }), [r, p] = ft("popper", {
1260
- elementType: Mt,
1247
+ elementType: Vt,
1261
1248
  externalForwardedProps: Z,
1262
- ownerState: v,
1263
- className: O.popper,
1249
+ ownerState: O,
1250
+ className: P.popper,
1264
1251
  additionalProps: {
1265
1252
  disablePortal: oe,
1266
1253
  style: {
1267
- width: ae ? ae.clientWidth : null
1254
+ width: ie ? ie.clientWidth : null
1268
1255
  },
1269
1256
  role: "presentation",
1270
- anchorEl: ae,
1257
+ anchorEl: ie,
1271
1258
  open: q
1272
1259
  }
1273
1260
  });
1274
- let s;
1275
- const g = (c) => ({
1276
- className: O.tag,
1261
+ let a;
1262
+ const f = (c) => ({
1263
+ className: P.tag,
1277
1264
  disabled: G,
1278
1265
  ...at(c)
1279
1266
  });
1280
- 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) => {
1281
1268
  const {
1282
1269
  key: te,
1283
- ...Ae
1284
- } = g({
1270
+ ...we
1271
+ } = f({
1285
1272
  index: ee
1286
1273
  });
1287
- return /* @__PURE__ */ w(Wt, {
1274
+ return /* @__PURE__ */ A(Gt, {
1288
1275
  label: be(c),
1289
1276
  size: ge,
1290
- ...Ae,
1277
+ ...we,
1291
1278
  ...Z.slotProps.chip
1292
1279
  }, te);
1293
- })), L > -1 && Array.isArray(s)) {
1294
- const c = s.length - L;
1295
- !je && c > 0 && (s = s.splice(0, L), s.push(/* @__PURE__ */ w("span", {
1296
- 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,
1297
1284
  children: u(c)
1298
- }, s.length)));
1285
+ }, a.length)));
1299
1286
  }
1300
- const A = de || ((c) => /* @__PURE__ */ _e("li", {
1301
- children: [/* @__PURE__ */ w(fo, {
1302
- className: O.groupLabel,
1303
- ownerState: v,
1287
+ const w = de || ((c) => /* @__PURE__ */ Ke("li", {
1288
+ children: [/* @__PURE__ */ A(fo, {
1289
+ className: P.groupLabel,
1290
+ ownerState: O,
1304
1291
  component: "div",
1305
1292
  children: c.group
1306
- }), /* @__PURE__ */ w(go, {
1307
- className: O.groupUl,
1308
- ownerState: v,
1293
+ }), /* @__PURE__ */ A(go, {
1294
+ className: P.groupUl,
1295
+ ownerState: O,
1309
1296
  children: c.children
1310
1297
  })]
1311
- }, c.key)), Ft = fe || ((c, ee) => {
1298
+ }, c.key)), Ht = fe || ((c, ee) => {
1312
1299
  const {
1313
1300
  key: te,
1314
- ...Ae
1301
+ ...we
1315
1302
  } = c;
1316
- return /* @__PURE__ */ w("li", {
1317
- ...Ae,
1303
+ return /* @__PURE__ */ A("li", {
1304
+ ...we,
1318
1305
  children: be(ee)
1319
1306
  }, te);
1320
- }), Ct = (c, ee) => {
1321
- const te = st({
1307
+ }), $t = (c, ee) => {
1308
+ const te = it({
1322
1309
  option: c,
1323
1310
  index: ee
1324
1311
  });
1325
- return Ft({
1312
+ return Ht({
1326
1313
  ...te,
1327
- className: O.option
1314
+ className: P.option
1328
1315
  }, c, {
1329
1316
  selected: te["aria-selected"],
1330
1317
  index: ee,
1331
1318
  inputValue: lt
1332
- }, v);
1319
+ }, O);
1333
1320
  }, Ge = Z.slotProps.clearIndicator, qe = Z.slotProps.popupIndicator;
1334
- return /* @__PURE__ */ _e(y.Fragment, {
1335
- children: [/* @__PURE__ */ w(no, {
1321
+ return /* @__PURE__ */ Ke(x.Fragment, {
1322
+ children: [/* @__PURE__ */ A(no, {
1336
1323
  ref: d,
1337
- className: Je(O.root, I),
1338
- ownerState: v,
1324
+ className: Je(P.root, I),
1325
+ ownerState: O,
1339
1326
  ...ze(z),
1340
1327
  children: Fe({
1341
1328
  id: me,
@@ -1344,70 +1331,70 @@ const oo = (n) => {
1344
1331
  size: ge === "small" ? "small" : void 0,
1345
1332
  InputLabelProps: rt(),
1346
1333
  InputProps: {
1347
- ref: it,
1348
- className: O.inputRoot,
1349
- startAdornment: s,
1334
+ ref: st,
1335
+ className: P.inputRoot,
1336
+ startAdornment: a,
1350
1337
  onMouseDown: (c) => {
1351
1338
  c.target === c.currentTarget && pt(c);
1352
1339
  },
1353
- ...(Ce || $e) && {
1354
- endAdornment: /* @__PURE__ */ _e(ro, {
1355
- className: O.endAdornment,
1356
- ownerState: v,
1357
- 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, {
1358
1345
  ...U(),
1359
1346
  "aria-label": E,
1360
1347
  title: E,
1361
- ownerState: v,
1348
+ ownerState: O,
1362
1349
  ...Ge,
1363
- className: Je(O.clearIndicator, Ge == null ? void 0 : Ge.className),
1364
- children: C
1365
- }) : null, $e ? /* @__PURE__ */ w(so, {
1350
+ className: Je(P.clearIndicator, Ge == null ? void 0 : Ge.className),
1351
+ children: $
1352
+ }) : null, Se ? /* @__PURE__ */ A(io, {
1366
1353
  ...J(),
1367
1354
  disabled: G,
1368
- "aria-label": q ? we : P,
1369
- title: q ? we : P,
1370
- ownerState: v,
1355
+ "aria-label": q ? Ae : C,
1356
+ title: q ? Ae : C,
1357
+ ownerState: O,
1371
1358
  ...qe,
1372
- className: Je(O.popupIndicator, qe == null ? void 0 : qe.className),
1373
- children: f
1359
+ className: Je(P.popupIndicator, qe == null ? void 0 : qe.className),
1360
+ children: g
1374
1361
  }) : null]
1375
1362
  })
1376
1363
  }
1377
1364
  },
1378
1365
  inputProps: {
1379
- className: O.input,
1366
+ className: P.input,
1380
1367
  disabled: G,
1381
1368
  readOnly: ne,
1382
1369
  ...j()
1383
1370
  }
1384
1371
  })
1385
- }), ae ? /* @__PURE__ */ w(io, {
1372
+ }), ie ? /* @__PURE__ */ A(so, {
1386
1373
  as: r,
1387
1374
  ...p,
1388
- children: /* @__PURE__ */ _e(lo, {
1375
+ children: /* @__PURE__ */ Ke(lo, {
1389
1376
  as: o,
1390
1377
  ...e,
1391
- children: [M && se.length === 0 ? /* @__PURE__ */ w(po, {
1392
- className: O.loading,
1393
- ownerState: v,
1394
- children: $
1395
- }) : null, se.length === 0 && !De && !M ? /* @__PURE__ */ w(uo, {
1396
- className: O.noOptions,
1397
- 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,
1398
1385
  role: "presentation",
1399
1386
  onMouseDown: (c) => {
1400
1387
  c.preventDefault();
1401
1388
  },
1402
- children: xe
1403
- }) : null, se.length > 0 ? /* @__PURE__ */ w(Se, {
1389
+ children: Ie
1390
+ }) : null, se.length > 0 ? /* @__PURE__ */ A(Te, {
1404
1391
  as: ot,
1405
1392
  ...We,
1406
- children: se.map((c, ee) => Ee ? A({
1393
+ children: se.map((c, ee) => Ee ? w({
1407
1394
  key: c.key,
1408
1395
  group: c.group,
1409
- children: c.options.map((te, Ae) => Ct(te, c.index + Ae))
1410
- }) : Ct(c, ee))
1396
+ children: c.options.map((te, we) => $t(te, c.index + we))
1397
+ }) : $t(c, ee))
1411
1398
  }) : null]
1412
1399
  })
1413
1400
  }) : null]
@@ -1509,7 +1496,7 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1509
1496
  * The default value. Use when the component is not controlled.
1510
1497
  * @default props.multiple ? [] : null
1511
1498
  */
1512
- 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(`
1513
1500
  `)) : null),
1514
1501
  /**
1515
1502
  * If `true`, the input can't be cleared.
@@ -1647,7 +1634,7 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1647
1634
  * Set `-1` to disable the limit.
1648
1635
  * @default -1
1649
1636
  */
1650
- limitTags: Bt,
1637
+ limitTags: qt,
1651
1638
  /**
1652
1639
  * The component used to render the listbox.
1653
1640
  * @default 'ul'
@@ -1780,6 +1767,13 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1780
1767
  /**
1781
1768
  * Render the input.
1782
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
+ *
1783
1777
  * @param {object} params
1784
1778
  * @returns {ReactNode}
1785
1779
  */
@@ -1856,7 +1850,7 @@ process.env.NODE_ENV !== "production" && (mo.propTypes = {
1856
1850
  * The value must have reference equality with the option in order to be selected.
1857
1851
  * You can customize the equality behavior with the `isOptionEqualToValue` prop.
1858
1852
  */
1859
- 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(`
1860
1854
  `)) : null)
1861
1855
  });
1862
1856
  export {
@@ -1864,8 +1858,7 @@ export {
1864
1858
  Xe as L,
1865
1859
  l as a,
1866
1860
  Qt as b,
1867
- qt as c,
1861
+ Kt as c,
1868
1862
  to as g,
1869
- Eo as l,
1870
- Gt as u
1863
+ Mo as l
1871
1864
  };