@cgi-learning-hub/ui 1.3.5 → 1.4.0-dev.1740589431

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 (276) hide show
  1. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-BctCVgLy.js} +79 -82
  2. package/dist/Backdrop-DWp3AktL.cjs +1 -0
  3. package/dist/{Box-mP2Th61z.cjs → Box-DYA49L7w.cjs} +1 -1
  4. package/dist/{Box-Byz2BwGf.js → Box-DgqaLb7j.js} +8 -8
  5. package/dist/Button-B7kOjNW1.js +696 -0
  6. package/dist/Button-UmeKHfcL.cjs +1 -0
  7. package/dist/ButtonBase-D6tfI-8D.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-IZ_QjbpE.js} +334 -334
  9. package/dist/CardContent-5bW4A4d2.cjs +1 -0
  10. package/dist/CardContent-F4-KcZH8.js +226 -0
  11. package/dist/{Checkbox-DYrDbdy1.cjs → Checkbox-DQgPXaym.cjs} +1 -1
  12. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-qUSjau0g.js} +26 -26
  13. package/dist/Chip-BTnuWGEU.cjs +1 -0
  14. package/dist/Chip-OpRIs-sL.js +522 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CQxzJquv.js} +11 -11
  16. package/dist/{CircularProgress-BByrCLjv.cjs → CircularProgress-cPXhiRlM.cjs} +4 -4
  17. package/dist/CloseRounded-BMEGLs8y.js +8 -0
  18. package/dist/CloseRounded-BRXBizmR.cjs +1 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-C6MCYjpp.js} +3113 -3600
  20. package/dist/DatePicker-CTIqTlNQ.cjs +14 -0
  21. package/dist/DefaultPropsProvider-Cqcb4sws.js +303 -0
  22. package/dist/DefaultPropsProvider-wpBXjN8r.cjs +1 -0
  23. package/dist/Dialog-B1wnk5BT.cjs +1 -0
  24. package/dist/Dialog-CKS7yjT5.js +478 -0
  25. package/dist/{DialogContent-uc65XOEU.js → DialogContent-BzPaz5G8.js} +13 -13
  26. package/dist/{DialogContent-Dj_OjLZ6.cjs → DialogContent-DcZz4rBc.cjs} +1 -1
  27. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-D3E_lDHD.js} +30 -30
  28. package/dist/{DialogTitle-BboPDaoB.cjs → DialogTitle-mr9xn4JZ.cjs} +1 -1
  29. package/dist/{Divider-KO-E6nU8.js → Divider-D-pZeQTm.js} +8 -8
  30. package/dist/{Divider-CcrM3lNn.cjs → Divider-D3hPb7s4.cjs} +1 -1
  31. package/dist/{FormLabel-CfR4bb21.js → FormLabel-3-CC-ZGw.js} +131 -133
  32. package/dist/FormLabel-BV7-a0i5.cjs +2 -0
  33. package/dist/{Grow-CQVPAYvp.js → Grow-DKgYCxiY.js} +46 -43
  34. package/dist/Grow-Z3KzFaK5.cjs +1 -0
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-CCNUMz2l.js} +132 -64
  36. package/dist/IconButton-CVOPR4EM.cjs +2 -0
  37. package/dist/{InputAdornment-Cq0WhPxF.cjs → InputAdornment-CwFEJSXv.cjs} +1 -1
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-DL8XIM8r.js} +15 -14
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-By7jMrFP.js} +221 -215
  40. package/dist/InputBase-Cejvjv1E.cjs +3 -0
  41. package/dist/Link-2ncpUcIp.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-C_GPIs0q.js} +46 -46
  43. package/dist/{Menu-C7tKmcAh.js → Menu-BunOW0ot.js} +72 -73
  44. package/dist/Menu-Cngt8Va9.cjs +7 -0
  45. package/dist/{MenuItem-BZ_EVaBq.cjs → MenuItem-Bha8aBMr.cjs} +1 -1
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-Cu3FTLl8.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-DTJd7JJ6.js} +99 -98
  48. package/dist/Modal-u82Ss4h_.cjs +2 -0
  49. package/dist/{Paper-BG4Vk_Um.js → Paper-BiZq6EF2.js} +8 -8
  50. package/dist/{Paper-Cr56xkCr.cjs → Paper-EvOTlB_Q.cjs} +2 -2
  51. package/dist/{Popper-YT5WAMV-.cjs → Popper-BVYscbsI.cjs} +3 -3
  52. package/dist/{Popper-DFZ_gRev.js → Popper-DjwR55WH.js} +241 -243
  53. package/dist/{Portal-JEwcozmp.js → Portal-BByeByPq.js} +34 -39
  54. package/dist/Portal-DUHpWdY1.cjs +1 -0
  55. package/dist/Radio-CSl8GQNk.cjs +1 -0
  56. package/dist/Radio-DSRS-tjj.js +568 -0
  57. package/dist/RadioGroup-DL4hhZzK.cjs +1 -0
  58. package/dist/RadioGroup-cPdOWdYD.js +190 -0
  59. package/dist/{Select-DmssuG5M.js → Select-CZnKFG3o.js} +419 -401
  60. package/dist/Select-DZAzJA0y.cjs +3 -0
  61. package/dist/Stack-B82ckLGm.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-hbAJHQhq.js} +29 -29
  63. package/dist/Switch-B9uT9-d0.js +330 -0
  64. package/dist/Switch-DWKHe4z_.cjs +1 -0
  65. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-CDkmnGAP.js} +29 -29
  66. package/dist/{SwitchBase-DjIY_KWB.cjs → SwitchBase-CnA6TA2P.cjs} +1 -1
  67. package/dist/Tabs-AyJ_tKtV.cjs +4 -0
  68. package/dist/{Tabs-CYbeTnJk.js → Tabs-BYfDlOR9.js} +336 -337
  69. package/dist/{TextField-Cri5Gxa7.js → TextField-BKfXjPdH.js} +29 -27
  70. package/dist/TextField-CwcPgdgD.cjs +1 -0
  71. package/dist/ToggleButtonGroup-DIp0fcXW.cjs +140 -0
  72. package/dist/ToggleButtonGroup-sc2omtRp.js +10473 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-B1NGvrJP.js} +14 -14
  74. package/dist/{Tooltip-DhDtvULK.cjs → Tooltip-oNmnF7Bc.cjs} +3 -3
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DfRMDngd.cjs → Typography-DPij13XT.cjs} +1 -1
  78. package/dist/{Typography-DBwTr_ix.js → Typography-SIQ6eleU.js} +9 -9
  79. package/dist/{capitalize-CkF8kU4n.js → capitalize-3KLkrEtk.js} +1 -1
  80. package/dist/{capitalize-B3GG7Wn6.cjs → capitalize-CEByPz9F.cjs} +1 -1
  81. package/dist/components/Alert/Alert.es.js +13 -4
  82. package/dist/components/Button/Button.cjs.js +1 -1
  83. package/dist/components/Button/Button.d.ts +1 -2
  84. package/dist/components/Button/Button.es.js +12 -325
  85. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  86. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  87. package/dist/components/DatePicker/index.cjs.js +1 -1
  88. package/dist/components/DatePicker/index.es.js +1 -1
  89. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  90. package/dist/components/Dialog/Dialog.es.js +12 -14
  91. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  92. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  93. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  94. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  95. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  96. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  97. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  98. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  99. package/dist/components/FileList/FileIcon.d.ts +3 -0
  100. package/dist/components/FileList/FileIcon.es.js +56 -0
  101. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  102. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  103. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  104. package/dist/components/FileList/FileList.cjs.js +1 -1
  105. package/dist/components/FileList/FileList.d.ts +5 -3
  106. package/dist/components/FileList/FileList.es.js +22 -15
  107. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  108. package/dist/components/FileList/FileListItem.d.ts +9 -5
  109. package/dist/components/FileList/FileListItem.es.js +118 -24
  110. package/dist/components/FileList/utils.cjs.js +1 -0
  111. package/dist/components/FileList/utils.d.ts +2 -0
  112. package/dist/components/FileList/utils.es.js +13 -0
  113. package/dist/components/Heading/Heading.cjs.js +1 -1
  114. package/dist/components/Heading/Heading.es.js +2 -2
  115. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  116. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  117. package/dist/components/Loader/Loader.cjs.js +1 -1
  118. package/dist/components/Loader/Loader.d.ts +1 -2
  119. package/dist/components/Loader/Loader.es.js +1 -1
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  121. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  122. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  123. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  124. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  125. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  126. package/dist/components/QueryError/QueryError.d.ts +2 -2
  127. package/dist/components/QueryError/QueryError.es.js +14 -14
  128. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  129. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  130. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  131. package/dist/components/ResourceCard/index.cjs.js +1 -0
  132. package/dist/components/ResourceCard/index.d.ts +2 -0
  133. package/dist/components/ResourceCard/index.es.js +4 -0
  134. package/dist/components/ResourceCard/style.cjs.js +1 -0
  135. package/dist/components/ResourceCard/style.es.js +125 -0
  136. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  137. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  138. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  139. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  140. package/dist/components/TextInput/TextInput.es.js +1 -1
  141. package/dist/components/index.cjs.js +1 -1
  142. package/dist/components/index.d.ts +35 -0
  143. package/dist/components/index.es.js +348 -294
  144. package/dist/components/stories/Button.stories.cjs.js +1 -1
  145. package/dist/components/stories/Button.stories.es.js +1 -1
  146. package/dist/components/stories/Card.stories.cjs.js +1 -1
  147. package/dist/components/stories/Card.stories.es.js +17 -168
  148. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  149. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  150. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  151. package/dist/components/stories/Chip.stories.d.ts +10 -0
  152. package/dist/components/stories/Chip.stories.es.js +77 -0
  153. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  154. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  155. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  156. package/dist/components/stories/Dialog.stories.es.js +2 -2
  157. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  158. package/dist/components/stories/Divider.stories.es.js +5 -5
  159. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  160. package/dist/components/stories/FileList.stories.es.js +144 -20
  161. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  162. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  163. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  164. package/dist/components/stories/Heading.stories.es.js +2 -2
  165. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  166. package/dist/components/stories/IconButton.stories.es.js +2 -2
  167. package/dist/components/stories/Link.stories.cjs.js +1 -1
  168. package/dist/components/stories/Link.stories.es.js +1 -1
  169. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  170. package/dist/components/stories/Menu.stories.es.js +16 -16
  171. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  172. package/dist/components/stories/Paper.stories.es.js +1 -1
  173. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  174. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  175. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  176. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  177. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  178. package/dist/components/stories/Select.stories.cjs.js +1 -1
  179. package/dist/components/stories/Select.stories.es.js +3 -3
  180. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  181. package/dist/components/stories/TabList.stories.es.js +14 -14
  182. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  183. package/dist/components/stories/TextField.stories.es.js +3 -3
  184. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  185. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  186. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  187. package/dist/components/stories/Typography.stories.es.js +1 -1
  188. package/dist/createSvgIcon-DJMYlO0S.cjs +1 -0
  189. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-K2ZAdASa.js} +57 -55
  190. package/dist/{dividerClasses-CCAY3Pnr.cjs → dividerClasses-Dq1bCO_s.cjs} +1 -1
  191. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-afsB3Yy1.js} +3 -3
  192. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-5ESWTE79.js} +1 -1
  193. package/dist/{elementTypeAcceptingRef-DZsNbuLU.cjs → elementTypeAcceptingRef-BjgxF5Bq.cjs} +1 -1
  194. package/dist/{extendSxProp-apyK-EBz.cjs → extendSxProp-D-oLUmkR.cjs} +1 -1
  195. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-dlShX1xL.js} +3 -3
  196. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  197. package/dist/generateUtilityClasses-De8NU9_E.cjs +75 -0
  198. package/dist/generateUtilityClasses-DotvgSDH.js +3297 -0
  199. package/dist/hooks/lazySvgImport.d.ts +1 -1
  200. package/dist/{index-CwvpOCso.js → index-B1u7G33_.js} +29 -29
  201. package/dist/{index-ChM1Ett8.cjs → index-CVFzneYe.cjs} +1 -1
  202. package/dist/{index-BCnPLuqJ.js → index-DTTmpNYg.js} +22 -22
  203. package/dist/index-T-RSwkXB.cjs +1 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-CqmIydD-.js} +1 -1
  207. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-DrjvJtTP.cjs} +1 -1
  208. package/dist/{refType-CoaxQOPt.cjs → refType-BkobP3bK.cjs} +1 -1
  209. package/dist/{refType-DKYKROQk.js → refType-C210ipRY.js} +1 -1
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-CPmhKPdH.js} +7 -7
  211. package/dist/resolveComponentProps-PuUs-PsA.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CC2AaOjN.cjs +1 -0
  215. package/dist/useSlot-GZu0V5wJ.js +48 -0
  216. package/dist/{useSlotProps-B31YQlzb.js → useSlotProps-C9tsxDNg.js} +11 -11
  217. package/dist/useSlotProps-CvOxvhyy.cjs +1 -0
  218. package/dist/{useTheme-Dukx-__T.cjs → useTheme-7RGQRN-h.cjs} +1 -1
  219. package/dist/useTheme-BA7tMglY.js +11 -0
  220. package/dist/{useTheme-Cy5kyKJF.cjs → useTheme-CIf2b2wK.cjs} +1 -1
  221. package/dist/{useTheme-_xyy-wul.js → useTheme-tdgDVH1p.js} +1 -1
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-AnS1uVAy.cjs} +1 -1
  223. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BQlPXzo3.js} +2 -2
  224. package/dist/useThemeProps-BTfGtNci.js +17 -0
  225. package/dist/useThemeProps-DxBEHys5.cjs +1 -0
  226. package/dist/utils-CFI_-FMV.cjs +1 -0
  227. package/dist/{utils-C6c4fj7D.js → utils-CXhh35wP.js} +41 -41
  228. package/package.json +9 -9
  229. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  230. package/dist/Button-BH9MUvmz.cjs +0 -1
  231. package/dist/Button-BnNYfQ3E.js +0 -484
  232. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  233. package/dist/Card-AJG0TUOx.js +0 -74
  234. package/dist/Card-NqCXQteq.cjs +0 -1
  235. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  236. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  237. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  238. package/dist/Delete-BkZN7Xu5.js +0 -8
  239. package/dist/Delete-D1EiKoL5.cjs +0 -1
  240. package/dist/Dialog-D_lS4J_M.js +0 -415
  241. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  242. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  243. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  244. package/dist/FormGroup-CbczEc6e.js +0 -95
  245. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  246. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  247. package/dist/Grow-CUBJs6WD.cjs +0 -1
  248. package/dist/IconButton-CJfzspZK.cjs +0 -2
  249. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  250. package/dist/Link-CWczkFp0.cjs +0 -1
  251. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  252. package/dist/Modal-DImrEpYJ.cjs +0 -2
  253. package/dist/Portal-DF0RKOcD.cjs +0 -1
  254. package/dist/Radio-CVAEGXKi.cjs +0 -1
  255. package/dist/Radio-DGhot3Cd.js +0 -313
  256. package/dist/Select-CwAWNiiv.cjs +0 -3
  257. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  258. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  259. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  260. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  261. package/dist/TextField-BI9KVqjC.cjs +0 -1
  262. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  263. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  264. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  265. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  266. package/dist/index-Aa73Kpym.cjs +0 -1
  267. package/dist/index-Cw0GDedk.cjs +0 -17
  268. package/dist/index-DXD5J5Eu.js +0 -186
  269. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  270. package/dist/useSlot-BTpHG6jf.js +0 -50
  271. package/dist/useSlot-CByalpSD.cjs +0 -1
  272. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  273. package/dist/useTheme-DyaNKf4e.js +0 -11
  274. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  275. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  276. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,21 +1,21 @@
1
1
  import * as s from "react";
2
- import { P as e, I as Fe, H as ke, G as ce, J as Be } from "./generateUtilityClasses-Bssl7BA_.js";
2
+ import { P as e, H as Fe, I as ke, G as ce, J as Be } from "./generateUtilityClasses-DotvgSDH.js";
3
3
  import { i as pe } from "./isHostComponent-kiaBvYVo.js";
4
- import { f as He } from "./formControlState-vgaj2ksH.js";
5
- import { u as Me, F as Pe } from "./useFormControl-CatNKXAi.js";
6
- import { g as We } from "./index-BCnPLuqJ.js";
7
- import { m as be } from "./memoTheme-D7Fyh_3C.js";
4
+ import { f as Me } from "./formControlState-vgaj2ksH.js";
5
+ import { u as He, F as Pe } from "./useFormControl-CatNKXAi.js";
6
+ import { g as We } from "./index-DTTmpNYg.js";
7
+ import { m as be } from "./memoTheme-CqmIydD-.js";
8
8
  import { i as De } from "./utils-DWqc1kRF.js";
9
- import { jsxs as Z, jsx as B } from "react/jsx-runtime";
10
- import { s as ye, u as Le, c as je } from "./DefaultPropsProvider-CvJPQJmL.js";
9
+ import { jsxs as Q, jsx as A } from "react/jsx-runtime";
10
+ import { u as Le, s as ye, c as je } from "./DefaultPropsProvider-Cqcb4sws.js";
11
11
  import { u as ge } from "./useForkRef-C_4o__cU.js";
12
- import { u as Q } from "./useEnhancedEffect-CJGo-L3B.js";
12
+ import { u as X } from "./useEnhancedEffect-CJGo-L3B.js";
13
13
  import { o as fe } from "./ownerWindow-niciwP7I.js";
14
- import { d as Ve } from "./debounce-46wSf_lW.js";
15
- import { e as Ue } from "./elementTypeAcceptingRef-D-5kcohU.js";
16
- import { r as _e } from "./refType-DKYKROQk.js";
17
- import { c as X } from "./capitalize-CkF8kU4n.js";
18
- function L(n) {
14
+ import { d as Ue } from "./debounce-46wSf_lW.js";
15
+ import { c as ee } from "./capitalize-3KLkrEtk.js";
16
+ import { r as Ve } from "./refType-C210ipRY.js";
17
+ import { e as _e } from "./elementTypeAcceptingRef-5ESWTE79.js";
18
+ function j(n) {
19
19
  return parseInt(n, 10) || 0;
20
20
  }
21
21
  const $e = {
@@ -34,90 +34,96 @@ const $e = {
34
34
  }
35
35
  };
36
36
  function Ge(n) {
37
- return n == null || Object.keys(n).length === 0 || n.outerHeightStyle === 0 && !n.overflowing;
37
+ for (const o in n)
38
+ return !1;
39
+ return !0;
38
40
  }
39
- const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
41
+ function Ke(n) {
42
+ return Ge(n) || n.outerHeightStyle === 0 && !n.overflowing;
43
+ }
44
+ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
40
45
  const {
41
46
  onChange: d,
42
47
  maxRows: f,
43
48
  minRows: c = 1,
44
- style: O,
49
+ style: R,
45
50
  value: T,
46
- ...H
51
+ ...F
47
52
  } = o, {
48
- current: S
49
- } = s.useRef(T != null), h = s.useRef(null), E = ge(t, h), b = s.useRef(null), C = s.useRef(null), v = s.useCallback(() => {
50
- const l = h.current, r = fe(l).getComputedStyle(l);
51
- if (r.width === "0px")
53
+ current: C
54
+ } = s.useRef(T != null), p = s.useRef(null), O = ge(r, p), b = s.useRef(null), S = s.useRef(null), w = s.useCallback(() => {
55
+ const l = p.current, t = S.current;
56
+ if (!l || !t)
57
+ return;
58
+ const u = fe(l).getComputedStyle(l);
59
+ if (u.width === "0px")
52
60
  return {
53
61
  outerHeightStyle: 0,
54
62
  overflowing: !1
55
63
  };
56
- const p = C.current;
57
- p.style.width = r.width, p.value = l.value || o.placeholder || "x", p.value.slice(-1) === `
58
- ` && (p.value += " ");
59
- const z = r.boxSizing, R = L(r.paddingBottom) + L(r.paddingTop), g = L(r.borderBottomWidth) + L(r.borderTopWidth), N = p.scrollHeight;
60
- p.value = "x";
61
- const A = p.scrollHeight;
62
- let u = N;
63
- c && (u = Math.max(Number(c) * A, u)), f && (u = Math.min(Number(f) * A, u)), u = Math.max(u, A);
64
- const M = u + (z === "border-box" ? R + g : 0), P = Math.abs(u - N) <= 1;
64
+ t.style.width = u.width, t.value = l.value || o.placeholder || "x", t.value.slice(-1) === `
65
+ ` && (t.value += " ");
66
+ const k = u.boxSizing, B = j(u.paddingBottom) + j(u.paddingTop), M = j(u.borderBottomWidth) + j(u.borderTopWidth), H = t.scrollHeight;
67
+ t.value = "x";
68
+ const g = t.scrollHeight;
69
+ let m = H;
70
+ c && (m = Math.max(Number(c) * g, m)), f && (m = Math.min(Number(f) * g, m)), m = Math.max(m, g);
71
+ const P = m + (k === "border-box" ? B + M : 0), W = Math.abs(m - H) <= 1;
65
72
  return {
66
- outerHeightStyle: M,
67
- overflowing: P
73
+ outerHeightStyle: P,
74
+ overflowing: W
68
75
  };
69
76
  }, [f, c, o.placeholder]), x = s.useCallback(() => {
70
- const l = v();
71
- if (Ge(l))
77
+ const l = p.current, t = w();
78
+ if (!l || !t || Ke(t))
72
79
  return;
73
- const y = l.outerHeightStyle, r = h.current;
74
- b.current !== y && (b.current = y, r.style.height = `${y}px`), r.style.overflow = l.overflowing ? "hidden" : "";
75
- }, [v]);
76
- Q(() => {
77
- const l = () => {
78
- x();
79
- };
80
- let y;
81
- const r = () => {
82
- cancelAnimationFrame(y), y = requestAnimationFrame(() => {
83
- l();
80
+ const y = t.outerHeightStyle;
81
+ b.current !== y && (b.current = y, l.style.height = `${y}px`), l.style.overflow = t.overflowing ? "hidden" : "";
82
+ }, [w]), E = s.useRef(-1);
83
+ X(() => {
84
+ const l = Ue(() => x()), t = p == null ? void 0 : p.current;
85
+ if (!t)
86
+ return;
87
+ const y = fe(t);
88
+ y.addEventListener("resize", l);
89
+ let u;
90
+ return typeof ResizeObserver < "u" && (u = new ResizeObserver(() => {
91
+ u.unobserve(t), cancelAnimationFrame(E.current), x(), E.current = requestAnimationFrame(() => {
92
+ u.observe(t);
84
93
  });
85
- }, p = Ve(l), z = h.current, R = fe(z);
86
- R.addEventListener("resize", p);
87
- let g;
88
- return typeof ResizeObserver < "u" && (g = new ResizeObserver(process.env.NODE_ENV === "test" ? r : l), g.observe(z)), () => {
89
- p.clear(), cancelAnimationFrame(y), R.removeEventListener("resize", p), g && g.disconnect();
94
+ }), u.observe(t)), () => {
95
+ l.clear(), cancelAnimationFrame(E.current), y.removeEventListener("resize", l), u && u.disconnect();
90
96
  };
91
- }, [v, x]), Q(() => {
97
+ }, [w, x]), X(() => {
92
98
  x();
93
99
  });
94
- const j = (l) => {
95
- S || x(), d && d(l);
100
+ const U = (l) => {
101
+ C || x(), d && d(l);
96
102
  };
97
- return /* @__PURE__ */ Z(s.Fragment, {
98
- children: [/* @__PURE__ */ B("textarea", {
103
+ return /* @__PURE__ */ Q(s.Fragment, {
104
+ children: [/* @__PURE__ */ A("textarea", {
99
105
  value: T,
100
- onChange: j,
101
- ref: E,
106
+ onChange: U,
107
+ ref: O,
102
108
  rows: c,
103
- style: O,
104
- ...H
105
- }), /* @__PURE__ */ B("textarea", {
109
+ style: R,
110
+ ...F
111
+ }), /* @__PURE__ */ A("textarea", {
106
112
  "aria-hidden": !0,
107
113
  className: o.className,
108
114
  readOnly: !0,
109
- ref: C,
115
+ ref: S,
110
116
  tabIndex: -1,
111
117
  style: {
112
118
  ...$e.shadow,
113
- ...O,
119
+ ...R,
114
120
  paddingTop: 0,
115
121
  paddingBottom: 0
116
122
  }
117
123
  })]
118
124
  });
119
125
  });
120
- process.env.NODE_ENV !== "production" && (we.propTypes = {
126
+ process.env.NODE_ENV !== "production" && (ve.propTypes = {
121
127
  // ┌────────────────────────────── Warning ──────────────────────────────┐
122
128
  // │ These PropTypes are generated from the TypeScript type definitions. │
123
129
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -152,46 +158,46 @@ process.env.NODE_ENV !== "production" && (we.propTypes = {
152
158
  */
153
159
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
154
160
  });
155
- function Ke(n) {
161
+ function qe(n) {
156
162
  return ke("MuiInputBase", n);
157
163
  }
158
- const ee = Fe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
164
+ const oe = Fe("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
159
165
  var me;
160
- const qe = (n, o) => {
166
+ const Ye = (n, o) => {
161
167
  const {
162
- ownerState: t
168
+ ownerState: r
163
169
  } = n;
164
- return [o.root, t.formControl && o.formControl, t.startAdornment && o.adornedStart, t.endAdornment && o.adornedEnd, t.error && o.error, t.size === "small" && o.sizeSmall, t.multiline && o.multiline, t.color && o[`color${X(t.color)}`], t.fullWidth && o.fullWidth, t.hiddenLabel && o.hiddenLabel];
165
- }, Ye = (n, o) => {
170
+ return [o.root, r.formControl && o.formControl, r.startAdornment && o.adornedStart, r.endAdornment && o.adornedEnd, r.error && o.error, r.size === "small" && o.sizeSmall, r.multiline && o.multiline, r.color && o[`color${ee(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
171
+ }, Je = (n, o) => {
166
172
  const {
167
- ownerState: t
173
+ ownerState: r
168
174
  } = n;
169
- return [o.input, t.size === "small" && o.inputSizeSmall, t.multiline && o.inputMultiline, t.type === "search" && o.inputTypeSearch, t.startAdornment && o.inputAdornedStart, t.endAdornment && o.inputAdornedEnd, t.hiddenLabel && o.inputHiddenLabel];
170
- }, Je = (n) => {
175
+ return [o.input, r.size === "small" && o.inputSizeSmall, r.multiline && o.inputMultiline, r.type === "search" && o.inputTypeSearch, r.startAdornment && o.inputAdornedStart, r.endAdornment && o.inputAdornedEnd, r.hiddenLabel && o.inputHiddenLabel];
176
+ }, Ze = (n) => {
171
177
  const {
172
178
  classes: o,
173
- color: t,
179
+ color: r,
174
180
  disabled: d,
175
181
  error: f,
176
182
  endAdornment: c,
177
- focused: O,
183
+ focused: R,
178
184
  formControl: T,
179
- fullWidth: H,
180
- hiddenLabel: S,
181
- multiline: h,
182
- readOnly: E,
185
+ fullWidth: F,
186
+ hiddenLabel: C,
187
+ multiline: p,
188
+ readOnly: O,
183
189
  size: b,
184
- startAdornment: C,
185
- type: v
190
+ startAdornment: S,
191
+ type: w
186
192
  } = n, x = {
187
- root: ["root", `color${X(t)}`, d && "disabled", f && "error", H && "fullWidth", O && "focused", T && "formControl", b && b !== "medium" && `size${X(b)}`, h && "multiline", C && "adornedStart", c && "adornedEnd", S && "hiddenLabel", E && "readOnly"],
188
- input: ["input", d && "disabled", v === "search" && "inputTypeSearch", h && "inputMultiline", b === "small" && "inputSizeSmall", S && "inputHiddenLabel", C && "inputAdornedStart", c && "inputAdornedEnd", E && "readOnly"]
193
+ root: ["root", `color${ee(r)}`, d && "disabled", f && "error", F && "fullWidth", R && "focused", T && "formControl", b && b !== "medium" && `size${ee(b)}`, p && "multiline", S && "adornedStart", c && "adornedEnd", C && "hiddenLabel", O && "readOnly"],
194
+ input: ["input", d && "disabled", w === "search" && "inputTypeSearch", p && "inputMultiline", b === "small" && "inputSizeSmall", C && "inputHiddenLabel", S && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
189
195
  };
190
- return je(x, Ke, o);
191
- }, Ze = ye("div", {
196
+ return je(x, qe, o);
197
+ }, Qe = ye("div", {
192
198
  name: "MuiInputBase",
193
199
  slot: "Root",
194
- overridesResolver: qe
200
+ overridesResolver: Ye
195
201
  })(be(({
196
202
  theme: n
197
203
  }) => ({
@@ -205,7 +211,7 @@ const qe = (n, o) => {
205
211
  cursor: "text",
206
212
  display: "inline-flex",
207
213
  alignItems: "center",
208
- [`&.${ee.disabled}`]: {
214
+ [`&.${oe.disabled}`]: {
209
215
  color: (n.vars || n).palette.text.disabled,
210
216
  cursor: "default"
211
217
  },
@@ -219,8 +225,8 @@ const qe = (n, o) => {
219
225
  }, {
220
226
  props: ({
221
227
  ownerState: o,
222
- size: t
223
- }) => o.multiline && t === "small",
228
+ size: r
229
+ }) => o.multiline && r === "small",
224
230
  style: {
225
231
  paddingTop: 1
226
232
  }
@@ -232,14 +238,14 @@ const qe = (n, o) => {
232
238
  width: "100%"
233
239
  }
234
240
  }]
235
- }))), Qe = ye("input", {
241
+ }))), Xe = ye("input", {
236
242
  name: "MuiInputBase",
237
243
  slot: "Input",
238
- overridesResolver: Ye
244
+ overridesResolver: Je
239
245
  })(be(({
240
246
  theme: n
241
247
  }) => {
242
- const o = n.palette.mode === "light", t = {
248
+ const o = n.palette.mode === "light", r = {
243
249
  color: "currentColor",
244
250
  ...n.vars ? {
245
251
  opacity: n.vars.opacity.inputPlaceholder
@@ -273,10 +279,10 @@ const qe = (n, o) => {
273
279
  // Make the flex item shrink with Firefox
274
280
  minWidth: 0,
275
281
  width: "100%",
276
- "&::-webkit-input-placeholder": t,
277
- "&::-moz-placeholder": t,
282
+ "&::-webkit-input-placeholder": r,
283
+ "&::-moz-placeholder": r,
278
284
  // Firefox 19+
279
- "&::-ms-input-placeholder": t,
285
+ "&::-ms-input-placeholder": r,
280
286
  // Edge
281
287
  "&:focus": {
282
288
  outline: 0
@@ -290,7 +296,7 @@ const qe = (n, o) => {
290
296
  WebkitAppearance: "none"
291
297
  },
292
298
  // Show and hide the placeholder logic
293
- [`label[data-shrink=false] + .${ee.formControl} &`]: {
299
+ [`label[data-shrink=false] + .${oe.formControl} &`]: {
294
300
  "&::-webkit-input-placeholder": d,
295
301
  "&::-moz-placeholder": d,
296
302
  // Firefox 19+
@@ -302,7 +308,7 @@ const qe = (n, o) => {
302
308
  "&:focus::-ms-input-placeholder": f
303
309
  // Edge
304
310
  },
305
- [`&.${ee.disabled}`]: {
311
+ [`&.${oe.disabled}`]: {
306
312
  opacity: 1,
307
313
  // Reset iOS opacity
308
314
  WebkitTextFillColor: (n.vars || n).palette.text.disabled
@@ -358,192 +364,192 @@ const qe = (n, o) => {
358
364
  display: "block"
359
365
  }
360
366
  }
361
- }), Xe = /* @__PURE__ */ s.forwardRef(function(o, t) {
367
+ }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
362
368
  const d = Le({
363
369
  props: o,
364
370
  name: "MuiInputBase"
365
371
  }), {
366
372
  "aria-describedby": f,
367
373
  autoComplete: c,
368
- autoFocus: O,
374
+ autoFocus: R,
369
375
  className: T,
370
- color: H,
371
- components: S = {},
372
- componentsProps: h = {},
373
- defaultValue: E,
376
+ color: F,
377
+ components: C = {},
378
+ componentsProps: p = {},
379
+ defaultValue: O,
374
380
  disabled: b,
375
- disableInjectingGlobalStyles: C,
376
- endAdornment: v,
381
+ disableInjectingGlobalStyles: S,
382
+ endAdornment: w,
377
383
  error: x,
378
- fullWidth: j = !1,
379
- id: l,
380
- inputComponent: y = "input",
381
- inputProps: r = {},
382
- inputRef: p,
383
- margin: z,
384
- maxRows: R,
385
- minRows: g,
386
- multiline: N = !1,
387
- name: A,
388
- onBlur: u,
389
- onChange: M,
384
+ fullWidth: E = !1,
385
+ id: U,
386
+ inputComponent: l = "input",
387
+ inputProps: t = {},
388
+ inputRef: y,
389
+ margin: u,
390
+ maxRows: k,
391
+ minRows: B,
392
+ multiline: M = !1,
393
+ name: H,
394
+ onBlur: g,
395
+ onChange: m,
390
396
  onClick: P,
391
- onFocus: oe,
392
- onKeyDown: ve,
393
- onKeyUp: Se,
397
+ onFocus: W,
398
+ onKeyDown: we,
399
+ onKeyUp: xe,
394
400
  placeholder: Ce,
395
401
  readOnly: V,
396
402
  renderSuffix: ne,
397
- rows: W,
398
- size: eo,
403
+ rows: D,
404
+ size: oo,
399
405
  slotProps: te = {},
400
406
  slots: re = {},
401
- startAdornment: F,
407
+ startAdornment: z,
402
408
  type: ie = "text",
403
- value: xe,
409
+ value: Se,
404
410
  ...Re
405
- } = d, D = r.value != null ? r.value : xe, {
406
- current: U
407
- } = s.useRef(D != null), I = s.useRef(), Oe = s.useCallback((i) => {
411
+ } = d, L = t.value != null ? t.value : Se, {
412
+ current: _
413
+ } = s.useRef(L != null), I = s.useRef(), Te = s.useCallback((i) => {
408
414
  process.env.NODE_ENV !== "production" && i && i.nodeName !== "INPUT" && !i.focus && console.error(["MUI: You have provided a `inputComponent` to the input component", "that does not correctly handle the `ref` prop.", "Make sure the `ref` prop is called with a HTMLInputElement."].join(`
409
415
  `));
410
- }, []), Te = ge(I, p, r.ref, Oe), [_, $] = s.useState(!1), a = Me();
416
+ }, []), Oe = ge(I, y, t.ref, Te), [$, G] = s.useState(!1), a = He();
411
417
  process.env.NODE_ENV !== "production" && s.useEffect(() => {
412
418
  if (a)
413
419
  return a.registerEffect();
414
420
  }, [a]);
415
- const m = He({
421
+ const h = Me({
416
422
  props: d,
417
423
  muiFormControl: a,
418
424
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
419
425
  });
420
- m.focused = a ? a.focused : _, s.useEffect(() => {
421
- !a && b && _ && ($(!1), u && u());
422
- }, [a, b, _, u]);
423
- const G = a && a.onFilled, K = a && a.onEmpty, k = s.useCallback((i) => {
424
- De(i) ? G && G() : K && K();
425
- }, [G, K]);
426
- Q(() => {
427
- U && k({
428
- value: D
426
+ h.focused = a ? a.focused : $, s.useEffect(() => {
427
+ !a && b && $ && (G(!1), g && g());
428
+ }, [a, b, $, g]);
429
+ const K = a && a.onFilled, q = a && a.onEmpty, N = s.useCallback((i) => {
430
+ De(i) ? K && K() : q && q();
431
+ }, [K, q]);
432
+ X(() => {
433
+ _ && N({
434
+ value: L
429
435
  });
430
- }, [D, k, U]);
431
- const Ee = (i) => {
432
- oe && oe(i), r.onFocus && r.onFocus(i), a && a.onFocus ? a.onFocus(i) : $(!0);
433
- }, Ie = (i) => {
434
- u && u(i), r.onBlur && r.onBlur(i), a && a.onBlur ? a.onBlur(i) : $(!1);
436
+ }, [L, N, _]);
437
+ const Ie = (i) => {
438
+ W && W(i), t.onFocus && t.onFocus(i), a && a.onFocus ? a.onFocus(i) : G(!0);
439
+ }, Ee = (i) => {
440
+ g && g(i), t.onBlur && t.onBlur(i), a && a.onBlur ? a.onBlur(i) : G(!1);
435
441
  }, ze = (i, ...ue) => {
436
- if (!U) {
442
+ if (!_) {
437
443
  const de = i.target || I.current;
438
444
  if (de == null)
439
445
  throw new Error(process.env.NODE_ENV !== "production" ? "MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info." : Be(1));
440
- k({
446
+ N({
441
447
  value: de.value
442
448
  });
443
449
  }
444
- r.onChange && r.onChange(i, ...ue), M && M(i, ...ue);
450
+ t.onChange && t.onChange(i, ...ue), m && m(i, ...ue);
445
451
  };
446
452
  s.useEffect(() => {
447
- k(I.current);
453
+ N(I.current);
448
454
  }, []);
449
455
  const Ne = (i) => {
450
456
  I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
451
457
  };
452
- let q = y, w = r;
453
- N && q === "input" && (W ? (process.env.NODE_ENV !== "production" && (g || R) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), w = {
458
+ let Y = l, v = t;
459
+ M && Y === "input" && (D ? (process.env.NODE_ENV !== "production" && (B || k) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), v = {
454
460
  type: void 0,
455
- minRows: W,
456
- maxRows: W,
457
- ...w
458
- }) : w = {
461
+ minRows: D,
462
+ maxRows: D,
463
+ ...v
464
+ }) : v = {
459
465
  type: void 0,
460
- maxRows: R,
461
- minRows: g,
462
- ...w
463
- }, q = we);
466
+ maxRows: k,
467
+ minRows: B,
468
+ ...v
469
+ }, Y = ve);
464
470
  const Ae = (i) => {
465
- k(i.animationName === "mui-auto-fill-cancel" ? I.current : {
471
+ N(i.animationName === "mui-auto-fill-cancel" ? I.current : {
466
472
  value: "x"
467
473
  });
468
474
  };
469
475
  s.useEffect(() => {
470
- a && a.setAdornedStart(!!F);
471
- }, [a, F]);
472
- const Y = {
476
+ a && a.setAdornedStart(!!z);
477
+ }, [a, z]);
478
+ const J = {
473
479
  ...d,
474
- color: m.color || "primary",
475
- disabled: m.disabled,
476
- endAdornment: v,
477
- error: m.error,
478
- focused: m.focused,
480
+ color: h.color || "primary",
481
+ disabled: h.disabled,
482
+ endAdornment: w,
483
+ error: h.error,
484
+ focused: h.focused,
479
485
  formControl: a,
480
- fullWidth: j,
481
- hiddenLabel: m.hiddenLabel,
482
- multiline: N,
483
- size: m.size,
484
- startAdornment: F,
486
+ fullWidth: E,
487
+ hiddenLabel: h.hiddenLabel,
488
+ multiline: M,
489
+ size: h.size,
490
+ startAdornment: z,
485
491
  type: ie
486
- }, ae = Je(Y), se = re.root || S.Root || Ze, J = te.root || h.root || {}, le = re.input || S.Input || Qe;
487
- return w = {
488
- ...w,
489
- ...te.input ?? h.input
490
- }, /* @__PURE__ */ Z(s.Fragment, {
491
- children: [!C && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
492
+ }, ae = Ze(J), se = re.root || C.Root || Qe, Z = te.root || p.root || {}, le = re.input || C.Input || Xe;
493
+ return v = {
494
+ ...v,
495
+ ...te.input ?? p.input
496
+ }, /* @__PURE__ */ Q(s.Fragment, {
497
+ children: [!S && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
492
498
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
493
- (me || (me = /* @__PURE__ */ B(he, {}))), /* @__PURE__ */ Z(se, {
494
- ...J,
495
- ref: t,
499
+ (me || (me = /* @__PURE__ */ A(he, {}))), /* @__PURE__ */ Q(se, {
500
+ ...Z,
501
+ ref: r,
496
502
  onClick: Ne,
497
503
  ...Re,
498
504
  ...!pe(se) && {
499
505
  ownerState: {
500
- ...Y,
501
- ...J.ownerState
506
+ ...J,
507
+ ...Z.ownerState
502
508
  }
503
509
  },
504
- className: ce(ae.root, J.className, T, V && "MuiInputBase-readOnly"),
505
- children: [F, /* @__PURE__ */ B(Pe.Provider, {
510
+ className: ce(ae.root, Z.className, T, V && "MuiInputBase-readOnly"),
511
+ children: [z, /* @__PURE__ */ A(Pe.Provider, {
506
512
  value: null,
507
- children: /* @__PURE__ */ B(le, {
508
- "aria-invalid": m.error,
513
+ children: /* @__PURE__ */ A(le, {
514
+ "aria-invalid": h.error,
509
515
  "aria-describedby": f,
510
516
  autoComplete: c,
511
- autoFocus: O,
512
- defaultValue: E,
513
- disabled: m.disabled,
514
- id: l,
517
+ autoFocus: R,
518
+ defaultValue: O,
519
+ disabled: h.disabled,
520
+ id: U,
515
521
  onAnimationStart: Ae,
516
- name: A,
522
+ name: H,
517
523
  placeholder: Ce,
518
524
  readOnly: V,
519
- required: m.required,
520
- rows: W,
521
- value: D,
522
- onKeyDown: ve,
523
- onKeyUp: Se,
525
+ required: h.required,
526
+ rows: D,
527
+ value: L,
528
+ onKeyDown: we,
529
+ onKeyUp: xe,
524
530
  type: ie,
525
- ...w,
531
+ ...v,
526
532
  ...!pe(le) && {
527
- as: q,
533
+ as: Y,
528
534
  ownerState: {
529
- ...Y,
530
- ...w.ownerState
535
+ ...J,
536
+ ...v.ownerState
531
537
  }
532
538
  },
533
- ref: Te,
534
- className: ce(ae.input, w.className, V && "MuiInputBase-readOnly"),
535
- onBlur: Ie,
539
+ ref: Oe,
540
+ className: ce(ae.input, v.className, V && "MuiInputBase-readOnly"),
541
+ onBlur: Ee,
536
542
  onChange: ze,
537
- onFocus: Ee
543
+ onFocus: Ie
538
544
  })
539
- }), v, ne ? ne({
540
- ...m,
541
- startAdornment: F
545
+ }), w, ne ? ne({
546
+ ...h,
547
+ startAdornment: z
542
548
  }) : null]
543
549
  })]
544
550
  });
545
551
  });
546
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
552
+ process.env.NODE_ENV !== "production" && (eo.propTypes = {
547
553
  // ┌────────────────────────────── Warning ──────────────────────────────┐
548
554
  // │ These PropTypes are generated from the TypeScript type definitions. │
549
555
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -638,7 +644,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
638
644
  * Either a string to use a HTML element or a component.
639
645
  * @default 'input'
640
646
  */
641
- inputComponent: Ue,
647
+ inputComponent: _e,
642
648
  /**
643
649
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
644
650
  * @default {}
@@ -647,7 +653,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
647
653
  /**
648
654
  * Pass a ref to the `input` element.
649
655
  */
650
- inputRef: _e,
656
+ inputRef: Ve,
651
657
  /**
652
658
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
653
659
  * FormControl.
@@ -772,10 +778,10 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
772
778
  value: e.any
773
779
  });
774
780
  export {
775
- Xe as I,
776
- Ze as a,
777
- Qe as b,
778
- Ye as c,
779
- ee as i,
780
- qe as r
781
+ eo as I,
782
+ Qe as a,
783
+ Xe as b,
784
+ Je as c,
785
+ oe as i,
786
+ Ye as r
781
787
  };