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

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 (297) hide show
  1. package/dist/Backdrop-COarwgJj.cjs +1 -0
  2. package/dist/{Backdrop-DcDd6WZF.js → Backdrop-DdA12b-5.js} +79 -82
  3. package/dist/Box-C0mEbUoK.cjs +1 -0
  4. package/dist/{Box-Byz2BwGf.js → Box-DbRInJ2-.js} +8 -8
  5. package/dist/Button-1tZRtOeG.cjs +1 -0
  6. package/dist/Button-rxIER0bL.js +662 -0
  7. package/dist/ButtonBase-C2rhY3j-.cjs +74 -0
  8. package/dist/{ButtonBase-DAWDecOk.js → ButtonBase-DzpmdR6N.js} +334 -334
  9. package/dist/CardContent-BXjX98Jd.cjs +1 -0
  10. package/dist/CardContent-u1MKaFvP.js +226 -0
  11. package/dist/{Checkbox-8Rhxpkjl.js → Checkbox-BI77q7eR.js} +26 -27
  12. package/dist/Checkbox-C6CIGK27.cjs +1 -0
  13. package/dist/Chip-6-zATjcr.js +521 -0
  14. package/dist/Chip-CAPnyZyW.cjs +1 -0
  15. package/dist/{CircularProgress-Kwlef5fX.js → CircularProgress-CDa_qU1a.js} +19 -20
  16. package/dist/CircularProgress-DTVP6gln.cjs +28 -0
  17. package/dist/CloseRounded-DQWTEbNz.cjs +1 -0
  18. package/dist/CloseRounded-DTpqUeWr.js +8 -0
  19. package/dist/{DatePicker-BS1OatwQ.js → DatePicker-BTTLIBm9.js} +3110 -3600
  20. package/dist/DatePicker-CJ5-Udgh.cjs +14 -0
  21. package/dist/DefaultPropsProvider-BcmyIf2H.js +303 -0
  22. package/dist/DefaultPropsProvider-QmkL7lbM.cjs +1 -0
  23. package/dist/Dialog-CgBiKk8B.js +477 -0
  24. package/dist/Dialog-Cmv58WoN.cjs +1 -0
  25. package/dist/DialogContent-CGEdCDYk.cjs +1 -0
  26. package/dist/{DialogContent-uc65XOEU.js → DialogContent-SYCCu1VD.js} +13 -13
  27. package/dist/DialogTitle-Dxm2NHs7.cjs +1 -0
  28. package/dist/{DialogTitle-C8JOi-rq.js → DialogTitle-_yayDwkI.js} +30 -30
  29. package/dist/Divider-D_LVNUqS.cjs +1 -0
  30. package/dist/{Divider-KO-E6nU8.js → Divider-Doy31VS6.js} +8 -8
  31. package/dist/FormLabel-D0gSgwnj.cjs +2 -0
  32. package/dist/{FormLabel-CfR4bb21.js → FormLabel-DjkS3S9h.js} +130 -133
  33. package/dist/Grow-D7scX77o.cjs +1 -0
  34. package/dist/{Grow-CQVPAYvp.js → Grow-DPD-iBAX.js} +46 -43
  35. package/dist/{IconButton-CekuyD4r.js → IconButton-B4bt0Hp2.js} +134 -67
  36. package/dist/IconButton-Edo5JMfQ.cjs +2 -0
  37. package/dist/InputAdornment-C9NrmB_z.cjs +1 -0
  38. package/dist/{InputAdornment-iU5YnveW.js → InputAdornment-GzDm1zf_.js} +17 -17
  39. package/dist/{InputBase-BJy3wwFB.js → InputBase-CF5oNEfh.js} +216 -211
  40. package/dist/InputBase-CgOQ0M4_.cjs +3 -0
  41. package/dist/Link-CAbb9OCV.cjs +1 -0
  42. package/dist/{Link-CoQuUM0t.js → Link-CnahHTmK.js} +49 -50
  43. package/dist/Menu-C-R0FVOB.cjs +7 -0
  44. package/dist/{Menu-C7tKmcAh.js → Menu-DzBX10ev.js} +56 -57
  45. package/dist/MenuItem-Cp1_Q0FD.cjs +1 -0
  46. package/dist/{MenuItem-j8luVUcX.js → MenuItem-DQQ-p2ie.js} +20 -20
  47. package/dist/{Modal-brWBFdK7.js → Modal-B8JRJWm0.js} +99 -98
  48. package/dist/Modal-D8lS9C1l.cjs +2 -0
  49. package/dist/Paper-C-oPGpbI.cjs +2 -0
  50. package/dist/{Paper-BG4Vk_Um.js → Paper-CbgkVQVx.js} +8 -8
  51. package/dist/{Popper-DFZ_gRev.js → Popper-1-DDNRPD.js} +241 -243
  52. package/dist/Popper-uw9PkkLY.cjs +4 -0
  53. package/dist/{Portal-JEwcozmp.js → Portal-T-1Qk77D.js} +34 -39
  54. package/dist/Portal-bIKnnWR4.cjs +1 -0
  55. package/dist/Radio-BxMxeQa-.js +567 -0
  56. package/dist/Radio-CvCkmq8g.cjs +1 -0
  57. package/dist/RadioGroup-BLrD8_Lp.js +190 -0
  58. package/dist/RadioGroup-Ya-I8Lz1.cjs +1 -0
  59. package/dist/{Select-DmssuG5M.js → Select-B6mYfJPA.js} +419 -402
  60. package/dist/Select-KMdcuol6.cjs +3 -0
  61. package/dist/Stack-C6v70ALA.cjs +1 -0
  62. package/dist/{Stack-BzTJdRGj.js → Stack-aCUdCw1A.js} +60 -105
  63. package/dist/Switch-BOpqo-TS.js +329 -0
  64. package/dist/Switch-DF4bSjED.cjs +1 -0
  65. package/dist/SwitchBase-7zONZyYP.cjs +1 -0
  66. package/dist/{SwitchBase-Dlth5_F7.js → SwitchBase-BAjfatYA.js} +35 -36
  67. package/dist/{Tabs-CYbeTnJk.js → Tabs-CrWcC5nJ.js} +299 -301
  68. package/dist/Tabs-Dploq_37.cjs +4 -0
  69. package/dist/TextField-BC7GvvHh.cjs +1 -0
  70. package/dist/{TextField-Cri5Gxa7.js → TextField-CAmc1Qpg.js} +31 -30
  71. package/dist/ToggleButtonGroup-BCVgsika.cjs +140 -0
  72. package/dist/ToggleButtonGroup-ekxVeQCc.js +10461 -0
  73. package/dist/{Tooltip-BhAHhzKz.js → Tooltip-BvVFPsVR.js} +32 -33
  74. package/dist/Tooltip-CWA-GKdK.cjs +4 -0
  75. package/dist/{TransitionGroupContext-DMJLhY9-.js → TransitionGroupContext-DbLioz_6.js} +7 -7
  76. package/dist/TransitionGroupContext-Zt4NoR0u.cjs +1 -0
  77. package/dist/{Typography-DBwTr_ix.js → Typography-CE8fQQ8B.js} +15 -16
  78. package/dist/Typography-DEAE8-8u.cjs +1 -0
  79. package/dist/components/Alert/Alert.es.js +13 -4
  80. package/dist/components/Button/Button.cjs.js +1 -1
  81. package/dist/components/Button/Button.d.ts +1 -2
  82. package/dist/components/Button/Button.es.js +12 -325
  83. package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
  84. package/dist/components/DatePicker/DatePicker.es.js +2 -2
  85. package/dist/components/DatePicker/index.cjs.js +1 -1
  86. package/dist/components/DatePicker/index.es.js +1 -1
  87. package/dist/components/Dialog/Dialog.cjs.js +1 -1
  88. package/dist/components/Dialog/Dialog.es.js +12 -14
  89. package/dist/components/Dropzone/Dropzone.cjs.js +1 -1
  90. package/dist/components/Dropzone/Dropzone.d.ts +2 -0
  91. package/dist/components/Dropzone/Dropzone.es.js +22 -19
  92. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.cjs.js +1 -1
  93. package/dist/components/EllipsisWithTooltip/EllipsisWithTooltip.es.js +4 -3
  94. package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
  95. package/dist/components/EmptyState/EmptyState.es.js +2 -2
  96. package/dist/components/FileList/FileIcon.cjs.js +1 -0
  97. package/dist/components/FileList/FileIcon.d.ts +3 -0
  98. package/dist/components/FileList/FileIcon.es.js +56 -0
  99. package/dist/components/FileList/FileInfosSeparator.cjs.js +1 -0
  100. package/dist/components/FileList/FileInfosSeparator.d.ts +1 -0
  101. package/dist/components/FileList/FileInfosSeparator.es.js +14 -0
  102. package/dist/components/FileList/FileList.cjs.js +1 -1
  103. package/dist/components/FileList/FileList.d.ts +5 -3
  104. package/dist/components/FileList/FileList.es.js +22 -15
  105. package/dist/components/FileList/FileListItem.cjs.js +1 -1
  106. package/dist/components/FileList/FileListItem.d.ts +9 -5
  107. package/dist/components/FileList/FileListItem.es.js +117 -24
  108. package/dist/components/FileList/utils.cjs.js +1 -0
  109. package/dist/components/FileList/utils.d.ts +2 -0
  110. package/dist/components/FileList/utils.es.js +13 -0
  111. package/dist/components/Heading/Heading.cjs.js +1 -1
  112. package/dist/components/Heading/Heading.es.js +2 -2
  113. package/dist/components/ImagePicker/ImagePicker.cjs.js +1 -1
  114. package/dist/components/ImagePicker/ImagePicker.es.js +79 -54
  115. package/dist/components/Loader/Loader.cjs.js +1 -1
  116. package/dist/components/Loader/Loader.d.ts +1 -2
  117. package/dist/components/Loader/Loader.es.js +1 -1
  118. package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
  119. package/dist/components/LoaderBackdrop/LoaderBackdrop.d.ts +1 -2
  120. package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +2 -2
  121. package/dist/components/PasswordInput/PasswordInput.cjs.js +1 -1
  122. package/dist/components/PasswordInput/PasswordInput.es.js +12 -10
  123. package/dist/components/QueryError/QueryError.cjs.js +1 -1
  124. package/dist/components/QueryError/QueryError.d.ts +2 -2
  125. package/dist/components/QueryError/QueryError.es.js +14 -14
  126. package/dist/components/ResourceCard/ResourceCard.cjs.js +1 -0
  127. package/dist/components/ResourceCard/ResourceCard.d.ts +24 -0
  128. package/dist/components/ResourceCard/ResourceCard.es.js +128 -0
  129. package/dist/components/ResourceCard/index.cjs.js +1 -0
  130. package/dist/components/ResourceCard/index.d.ts +2 -0
  131. package/dist/components/ResourceCard/index.es.js +4 -0
  132. package/dist/components/ResourceCard/style.cjs.js +1 -0
  133. package/dist/components/ResourceCard/style.es.js +125 -0
  134. package/dist/components/SearchInput/SearchInput.cjs.js +1 -1
  135. package/dist/components/SearchInput/SearchInput.d.ts +1 -2
  136. package/dist/components/SearchInput/SearchInput.es.js +4 -4
  137. package/dist/components/TextInput/TextInput.cjs.js +1 -1
  138. package/dist/components/TextInput/TextInput.es.js +1 -1
  139. package/dist/components/index.cjs.js +1 -1
  140. package/dist/components/index.d.ts +35 -0
  141. package/dist/components/index.es.js +348 -294
  142. package/dist/components/stories/Button.stories.cjs.js +1 -1
  143. package/dist/components/stories/Button.stories.es.js +1 -1
  144. package/dist/components/stories/Card.stories.cjs.js +1 -1
  145. package/dist/components/stories/Card.stories.es.js +17 -168
  146. package/dist/components/stories/Checkbox.stories.cjs.js +1 -1
  147. package/dist/components/stories/Checkbox.stories.es.js +5 -5
  148. package/dist/components/stories/Chip.stories.cjs.js +1 -0
  149. package/dist/components/stories/Chip.stories.d.ts +10 -0
  150. package/dist/components/stories/Chip.stories.es.js +77 -0
  151. package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
  152. package/dist/components/stories/DatePicker.stories.es.js +1 -1
  153. package/dist/components/stories/Dialog.stories.cjs.js +1 -1
  154. package/dist/components/stories/Dialog.stories.es.js +2 -2
  155. package/dist/components/stories/Divider.stories.cjs.js +1 -1
  156. package/dist/components/stories/Divider.stories.es.js +5 -5
  157. package/dist/components/stories/FileList.stories.cjs.js +8 -1
  158. package/dist/components/stories/FileList.stories.es.js +144 -20
  159. package/dist/components/stories/FormControlLabel.stories.cjs.js +1 -1
  160. package/dist/components/stories/FormControlLabel.stories.es.js +16 -340
  161. package/dist/components/stories/Heading.stories.cjs.js +1 -1
  162. package/dist/components/stories/Heading.stories.es.js +2 -2
  163. package/dist/components/stories/IconButton.stories.cjs.js +1 -1
  164. package/dist/components/stories/IconButton.stories.es.js +2 -2
  165. package/dist/components/stories/Link.stories.cjs.js +1 -1
  166. package/dist/components/stories/Link.stories.es.js +1 -1
  167. package/dist/components/stories/Menu.stories.cjs.js +1 -1
  168. package/dist/components/stories/Menu.stories.es.js +16 -16
  169. package/dist/components/stories/Paper.stories.cjs.js +1 -1
  170. package/dist/components/stories/Paper.stories.es.js +1 -1
  171. package/dist/components/stories/RadioGroup.stories.cjs.js +1 -1
  172. package/dist/components/stories/RadioGroup.stories.es.js +19 -115
  173. package/dist/components/stories/ResourceCard.stories.cjs.js +1 -0
  174. package/dist/components/stories/ResourceCard.stories.d.ts +9 -0
  175. package/dist/components/stories/ResourceCard.stories.es.js +141 -0
  176. package/dist/components/stories/Select.stories.cjs.js +1 -1
  177. package/dist/components/stories/Select.stories.es.js +3 -3
  178. package/dist/components/stories/TabList.stories.cjs.js +1 -1
  179. package/dist/components/stories/TabList.stories.es.js +14 -14
  180. package/dist/components/stories/TextField.stories.cjs.js +1 -1
  181. package/dist/components/stories/TextField.stories.es.js +3 -3
  182. package/dist/components/stories/Tooltip.stories.cjs.js +1 -1
  183. package/dist/components/stories/Tooltip.stories.es.js +2 -2
  184. package/dist/components/stories/Typography.stories.cjs.js +1 -1
  185. package/dist/components/stories/Typography.stories.es.js +1 -1
  186. package/dist/{createSvgIcon-C8nGcfF4.js → createSvgIcon-CCejzj0C.js} +49 -48
  187. package/dist/createSvgIcon-Dn4BBPej.cjs +1 -0
  188. package/dist/{dividerClasses-nh2-hkQB.js → dividerClasses-DN9F43tq.js} +3 -3
  189. package/dist/dividerClasses-Zk1QmrZw.cjs +1 -0
  190. package/dist/{elementTypeAcceptingRef-D-5kcohU.js → elementTypeAcceptingRef-CrAqn_fc.js} +1 -1
  191. package/dist/elementTypeAcceptingRef-DVF2QSYK.cjs +1 -0
  192. package/dist/extendSxProp-BB6jYY1x.cjs +1 -0
  193. package/dist/{extendSxProp-C2ff0oGc.js → extendSxProp-DFv-GFt5.js} +3 -3
  194. package/dist/{fr-Bjufn3RW.js → fr-B3qrCNcK.js} +18 -18
  195. package/dist/hooks/lazySvgImport.d.ts +1 -1
  196. package/dist/identifier-5n4d7br9.cjs +75 -0
  197. package/dist/identifier-D58rA1gM.js +3267 -0
  198. package/dist/index-5BAFzrXD.cjs +1 -0
  199. package/dist/{index-CwvpOCso.js → index-BGS2uu2L.js} +29 -29
  200. package/dist/index-CFm-oAsb.cjs +1 -0
  201. package/dist/index-CJW5gB6d.cjs +5 -0
  202. package/dist/{index-BCnPLuqJ.js → index-ClXCinr6.js} +22 -22
  203. package/dist/index-DwHI-aa0.js +45 -0
  204. package/dist/index.cjs.js +1 -1
  205. package/dist/index.es.js +348 -294
  206. package/dist/{memoTheme-Bdg0Y_2O.cjs → memoTheme-C8EfvlY1.cjs} +1 -1
  207. package/dist/{memoTheme-D7Fyh_3C.js → memoTheme-DyiN-Awd.js} +1 -1
  208. package/dist/{refType-DKYKROQk.js → refType-B86yTZra.js} +1 -1
  209. package/dist/refType-CjW6JOBA.cjs +1 -0
  210. package/dist/{mergeSlotProps-tUJEcwVu.js → resolveComponentProps-0QnU-fDT.js} +7 -7
  211. package/dist/resolveComponentProps-D0sgyopa.cjs +1 -0
  212. package/dist/unsupportedProp-Bn6XWqwH.cjs +1 -0
  213. package/dist/unsupportedProp-BuVD30Gh.js +9 -0
  214. package/dist/useSlot-CZNcsPv1.js +48 -0
  215. package/dist/useSlot-CyXLaLc2.cjs +1 -0
  216. package/dist/useTheme-Bi8B4Op1.cjs +1 -0
  217. package/dist/useTheme-C_2IF7CS.cjs +1 -0
  218. package/dist/useTheme-Clhsq4HW.js +11 -0
  219. package/dist/{useTheme-_xyy-wul.js → useTheme-DxxkErdZ.js} +1 -1
  220. package/dist/{useThemeProps-BySkSe-M.js → useThemeProps-BGZrRNnL.js} +2 -2
  221. package/dist/useThemeProps-C6qniHmV.js +17 -0
  222. package/dist/{useThemeProps-u_ESzK2f.cjs → useThemeProps-CpNQz1Ap.cjs} +1 -1
  223. package/dist/useThemeProps-Dq3GRYN1.cjs +1 -0
  224. package/dist/utils-D4if93Yl.cjs +1 -0
  225. package/dist/{utils-C6c4fj7D.js → utils-SrEVp7Pm.js} +41 -41
  226. package/package.json +9 -9
  227. package/dist/Backdrop-CvufxHMY.cjs +0 -1
  228. package/dist/Box-mP2Th61z.cjs +0 -1
  229. package/dist/Button-BH9MUvmz.cjs +0 -1
  230. package/dist/Button-BnNYfQ3E.js +0 -484
  231. package/dist/ButtonBase-BXtyQVDC.cjs +0 -74
  232. package/dist/Card-AJG0TUOx.js +0 -74
  233. package/dist/Card-NqCXQteq.cjs +0 -1
  234. package/dist/Checkbox-DYrDbdy1.cjs +0 -1
  235. package/dist/CircularProgress-BByrCLjv.cjs +0 -28
  236. package/dist/DatePicker-7-4p3Vtj.cjs +0 -14
  237. package/dist/DefaultPropsProvider-3KMGupjb.cjs +0 -17
  238. package/dist/DefaultPropsProvider-CvJPQJmL.js +0 -454
  239. package/dist/Delete-BkZN7Xu5.js +0 -8
  240. package/dist/Delete-D1EiKoL5.cjs +0 -1
  241. package/dist/Dialog-D_lS4J_M.js +0 -415
  242. package/dist/Dialog-yOrNcHbG.cjs +0 -1
  243. package/dist/DialogContent-Dj_OjLZ6.cjs +0 -1
  244. package/dist/DialogTitle-BboPDaoB.cjs +0 -1
  245. package/dist/Divider-CcrM3lNn.cjs +0 -1
  246. package/dist/FormControlLabel-Bb6Ul-qQ.cjs +0 -1
  247. package/dist/FormControlLabel-BmrKQtQA.js +0 -262
  248. package/dist/FormGroup-CbczEc6e.js +0 -95
  249. package/dist/FormGroup-Y3P2AG0i.cjs +0 -1
  250. package/dist/FormLabel-D1uvEhsH.cjs +0 -2
  251. package/dist/Grow-CUBJs6WD.cjs +0 -1
  252. package/dist/IconButton-CJfzspZK.cjs +0 -2
  253. package/dist/InputAdornment-Cq0WhPxF.cjs +0 -1
  254. package/dist/InputBase-s1fk8TB4.cjs +0 -3
  255. package/dist/Link-CWczkFp0.cjs +0 -1
  256. package/dist/Menu-Bsx8PA-q.cjs +0 -7
  257. package/dist/MenuItem-BZ_EVaBq.cjs +0 -1
  258. package/dist/Modal-DImrEpYJ.cjs +0 -2
  259. package/dist/Paper-Cr56xkCr.cjs +0 -2
  260. package/dist/Popper-YT5WAMV-.cjs +0 -4
  261. package/dist/Portal-DF0RKOcD.cjs +0 -1
  262. package/dist/Radio-CVAEGXKi.cjs +0 -1
  263. package/dist/Radio-DGhot3Cd.js +0 -313
  264. package/dist/Select-CwAWNiiv.cjs +0 -3
  265. package/dist/Stack-Yq6rb7iK.cjs +0 -1
  266. package/dist/SwitchBase-DjIY_KWB.cjs +0 -1
  267. package/dist/TableSortLabel-BsgRD4k4.js +0 -6328
  268. package/dist/TableSortLabel-D0N3e3cP.cjs +0 -98
  269. package/dist/Tabs-KG4VWw-1.cjs +0 -4
  270. package/dist/TextField-BI9KVqjC.cjs +0 -1
  271. package/dist/Tooltip-DhDtvULK.cjs +0 -4
  272. package/dist/TransitionGroupContext-DbXD5xqS.cjs +0 -1
  273. package/dist/Typography-DfRMDngd.cjs +0 -1
  274. package/dist/capitalize-B3GG7Wn6.cjs +0 -1
  275. package/dist/capitalize-CkF8kU4n.js +0 -9
  276. package/dist/createSvgIcon--rEClVU7.cjs +0 -1
  277. package/dist/dividerClasses-CCAY3Pnr.cjs +0 -1
  278. package/dist/elementTypeAcceptingRef-DZsNbuLU.cjs +0 -1
  279. package/dist/extendSxProp-apyK-EBz.cjs +0 -1
  280. package/dist/generateUtilityClasses-B_H9HEmg.cjs +0 -59
  281. package/dist/generateUtilityClasses-Bssl7BA_.js +0 -3145
  282. package/dist/index-Aa73Kpym.cjs +0 -1
  283. package/dist/index-ChM1Ett8.cjs +0 -5
  284. package/dist/index-Cw0GDedk.cjs +0 -17
  285. package/dist/index-DXD5J5Eu.js +0 -186
  286. package/dist/mergeSlotProps-DuV-LTW7.cjs +0 -1
  287. package/dist/refType-CoaxQOPt.cjs +0 -1
  288. package/dist/useSlot-BTpHG6jf.js +0 -50
  289. package/dist/useSlot-CByalpSD.cjs +0 -1
  290. package/dist/useSlotProps-B31YQlzb.js +0 -45
  291. package/dist/useSlotProps-BVSAQTNl.cjs +0 -1
  292. package/dist/useTheme-Cy5kyKJF.cjs +0 -1
  293. package/dist/useTheme-Dukx-__T.cjs +0 -1
  294. package/dist/useTheme-DyaNKf4e.js +0 -11
  295. package/dist/useThemeProps-CdV_QwDl.cjs +0 -1
  296. package/dist/useThemeProps-CwEQ4bv2.js +0 -24
  297. package/dist/utils-vmyQ2IaS.cjs +0 -1
@@ -1,21 +1,20 @@
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, L as Q, Z as Be } from "./identifier-D58rA1gM.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";
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";
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-ClXCinr6.js";
7
+ import { m as be } from "./memoTheme-DyiN-Awd.js";
8
+ import { i as Le } from "./utils-DWqc1kRF.js";
9
+ import { jsxs as X, jsx as A } from "react/jsx-runtime";
10
+ import { u as De, s as ye, c as je } from "./DefaultPropsProvider-BcmyIf2H.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 ee } 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 { r as Ve } from "./refType-B86yTZra.js";
16
+ import { e as _e } from "./elementTypeAcceptingRef-CrAqn_fc.js";
17
+ function j(n) {
19
18
  return parseInt(n, 10) || 0;
20
19
  }
21
20
  const $e = {
@@ -34,90 +33,96 @@ const $e = {
34
33
  }
35
34
  };
36
35
  function Ge(n) {
37
- return n == null || Object.keys(n).length === 0 || n.outerHeightStyle === 0 && !n.overflowing;
36
+ for (const o in n)
37
+ return !1;
38
+ return !0;
38
39
  }
39
- const we = /* @__PURE__ */ s.forwardRef(function(o, t) {
40
+ function Ke(n) {
41
+ return Ge(n) || n.outerHeightStyle === 0 && !n.overflowing;
42
+ }
43
+ const ve = /* @__PURE__ */ s.forwardRef(function(o, r) {
40
44
  const {
41
45
  onChange: d,
42
46
  maxRows: f,
43
47
  minRows: c = 1,
44
- style: O,
48
+ style: R,
45
49
  value: T,
46
- ...H
50
+ ...F
47
51
  } = 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")
52
+ current: C
53
+ } = s.useRef(T != null), p = s.useRef(null), O = ge(r, p), b = s.useRef(null), S = s.useRef(null), w = s.useCallback(() => {
54
+ const l = p.current, t = S.current;
55
+ if (!l || !t)
56
+ return;
57
+ const u = fe(l).getComputedStyle(l);
58
+ if (u.width === "0px")
52
59
  return {
53
60
  outerHeightStyle: 0,
54
61
  overflowing: !1
55
62
  };
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;
63
+ t.style.width = u.width, t.value = l.value || o.placeholder || "x", t.value.slice(-1) === `
64
+ ` && (t.value += " ");
65
+ const k = u.boxSizing, B = j(u.paddingBottom) + j(u.paddingTop), M = j(u.borderBottomWidth) + j(u.borderTopWidth), H = t.scrollHeight;
66
+ t.value = "x";
67
+ const g = t.scrollHeight;
68
+ let m = H;
69
+ c && (m = Math.max(Number(c) * g, m)), f && (m = Math.min(Number(f) * g, m)), m = Math.max(m, g);
70
+ const P = m + (k === "border-box" ? B + M : 0), W = Math.abs(m - H) <= 1;
65
71
  return {
66
- outerHeightStyle: M,
67
- overflowing: P
72
+ outerHeightStyle: P,
73
+ overflowing: W
68
74
  };
69
75
  }, [f, c, o.placeholder]), x = s.useCallback(() => {
70
- const l = v();
71
- if (Ge(l))
76
+ const l = p.current, t = w();
77
+ if (!l || !t || Ke(t))
72
78
  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();
79
+ const y = t.outerHeightStyle;
80
+ b.current !== y && (b.current = y, l.style.height = `${y}px`), l.style.overflow = t.overflowing ? "hidden" : "";
81
+ }, [w]), E = s.useRef(-1);
82
+ ee(() => {
83
+ const l = Ue(() => x()), t = p == null ? void 0 : p.current;
84
+ if (!t)
85
+ return;
86
+ const y = fe(t);
87
+ y.addEventListener("resize", l);
88
+ let u;
89
+ return typeof ResizeObserver < "u" && (u = new ResizeObserver(() => {
90
+ u.unobserve(t), cancelAnimationFrame(E.current), x(), E.current = requestAnimationFrame(() => {
91
+ u.observe(t);
84
92
  });
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();
93
+ }), u.observe(t)), () => {
94
+ l.clear(), cancelAnimationFrame(E.current), y.removeEventListener("resize", l), u && u.disconnect();
90
95
  };
91
- }, [v, x]), Q(() => {
96
+ }, [w, x]), ee(() => {
92
97
  x();
93
98
  });
94
- const j = (l) => {
95
- S || x(), d && d(l);
99
+ const U = (l) => {
100
+ C || x(), d && d(l);
96
101
  };
97
- return /* @__PURE__ */ Z(s.Fragment, {
98
- children: [/* @__PURE__ */ B("textarea", {
102
+ return /* @__PURE__ */ X(s.Fragment, {
103
+ children: [/* @__PURE__ */ A("textarea", {
99
104
  value: T,
100
- onChange: j,
101
- ref: E,
105
+ onChange: U,
106
+ ref: O,
102
107
  rows: c,
103
- style: O,
104
- ...H
105
- }), /* @__PURE__ */ B("textarea", {
108
+ style: R,
109
+ ...F
110
+ }), /* @__PURE__ */ A("textarea", {
106
111
  "aria-hidden": !0,
107
112
  className: o.className,
108
113
  readOnly: !0,
109
- ref: C,
114
+ ref: S,
110
115
  tabIndex: -1,
111
116
  style: {
112
117
  ...$e.shadow,
113
- ...O,
118
+ ...R,
114
119
  paddingTop: 0,
115
120
  paddingBottom: 0
116
121
  }
117
122
  })]
118
123
  });
119
124
  });
120
- process.env.NODE_ENV !== "production" && (we.propTypes = {
125
+ process.env.NODE_ENV !== "production" && (ve.propTypes = {
121
126
  // ┌────────────────────────────── Warning ──────────────────────────────┐
122
127
  // │ These PropTypes are generated from the TypeScript type definitions. │
123
128
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -152,46 +157,46 @@ process.env.NODE_ENV !== "production" && (we.propTypes = {
152
157
  */
153
158
  value: e.oneOfType([e.arrayOf(e.string), e.number, e.string])
154
159
  });
155
- function Ke(n) {
160
+ function qe(n) {
156
161
  return ke("MuiInputBase", n);
157
162
  }
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"]);
163
+ 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
164
  var me;
160
- const qe = (n, o) => {
165
+ const Ye = (n, o) => {
161
166
  const {
162
- ownerState: t
167
+ ownerState: r
163
168
  } = 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) => {
169
+ 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${Q(r.color)}`], r.fullWidth && o.fullWidth, r.hiddenLabel && o.hiddenLabel];
170
+ }, Ze = (n, o) => {
166
171
  const {
167
- ownerState: t
172
+ ownerState: r
168
173
  } = 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];
174
+ 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];
170
175
  }, Je = (n) => {
171
176
  const {
172
177
  classes: o,
173
- color: t,
178
+ color: r,
174
179
  disabled: d,
175
180
  error: f,
176
181
  endAdornment: c,
177
- focused: O,
182
+ focused: R,
178
183
  formControl: T,
179
- fullWidth: H,
180
- hiddenLabel: S,
181
- multiline: h,
182
- readOnly: E,
184
+ fullWidth: F,
185
+ hiddenLabel: C,
186
+ multiline: p,
187
+ readOnly: O,
183
188
  size: b,
184
- startAdornment: C,
185
- type: v
189
+ startAdornment: S,
190
+ type: w
186
191
  } = 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"]
192
+ root: ["root", `color${Q(r)}`, d && "disabled", f && "error", F && "fullWidth", R && "focused", T && "formControl", b && b !== "medium" && `size${Q(b)}`, p && "multiline", S && "adornedStart", c && "adornedEnd", C && "hiddenLabel", O && "readOnly"],
193
+ input: ["input", d && "disabled", w === "search" && "inputTypeSearch", p && "inputMultiline", b === "small" && "inputSizeSmall", C && "inputHiddenLabel", S && "inputAdornedStart", c && "inputAdornedEnd", O && "readOnly"]
189
194
  };
190
- return je(x, Ke, o);
191
- }, Ze = ye("div", {
195
+ return je(x, qe, o);
196
+ }, Qe = ye("div", {
192
197
  name: "MuiInputBase",
193
198
  slot: "Root",
194
- overridesResolver: qe
199
+ overridesResolver: Ye
195
200
  })(be(({
196
201
  theme: n
197
202
  }) => ({
@@ -205,7 +210,7 @@ const qe = (n, o) => {
205
210
  cursor: "text",
206
211
  display: "inline-flex",
207
212
  alignItems: "center",
208
- [`&.${ee.disabled}`]: {
213
+ [`&.${oe.disabled}`]: {
209
214
  color: (n.vars || n).palette.text.disabled,
210
215
  cursor: "default"
211
216
  },
@@ -219,8 +224,8 @@ const qe = (n, o) => {
219
224
  }, {
220
225
  props: ({
221
226
  ownerState: o,
222
- size: t
223
- }) => o.multiline && t === "small",
227
+ size: r
228
+ }) => o.multiline && r === "small",
224
229
  style: {
225
230
  paddingTop: 1
226
231
  }
@@ -232,14 +237,14 @@ const qe = (n, o) => {
232
237
  width: "100%"
233
238
  }
234
239
  }]
235
- }))), Qe = ye("input", {
240
+ }))), Xe = ye("input", {
236
241
  name: "MuiInputBase",
237
242
  slot: "Input",
238
- overridesResolver: Ye
243
+ overridesResolver: Ze
239
244
  })(be(({
240
245
  theme: n
241
246
  }) => {
242
- const o = n.palette.mode === "light", t = {
247
+ const o = n.palette.mode === "light", r = {
243
248
  color: "currentColor",
244
249
  ...n.vars ? {
245
250
  opacity: n.vars.opacity.inputPlaceholder
@@ -273,10 +278,10 @@ const qe = (n, o) => {
273
278
  // Make the flex item shrink with Firefox
274
279
  minWidth: 0,
275
280
  width: "100%",
276
- "&::-webkit-input-placeholder": t,
277
- "&::-moz-placeholder": t,
281
+ "&::-webkit-input-placeholder": r,
282
+ "&::-moz-placeholder": r,
278
283
  // Firefox 19+
279
- "&::-ms-input-placeholder": t,
284
+ "&::-ms-input-placeholder": r,
280
285
  // Edge
281
286
  "&:focus": {
282
287
  outline: 0
@@ -290,7 +295,7 @@ const qe = (n, o) => {
290
295
  WebkitAppearance: "none"
291
296
  },
292
297
  // Show and hide the placeholder logic
293
- [`label[data-shrink=false] + .${ee.formControl} &`]: {
298
+ [`label[data-shrink=false] + .${oe.formControl} &`]: {
294
299
  "&::-webkit-input-placeholder": d,
295
300
  "&::-moz-placeholder": d,
296
301
  // Firefox 19+
@@ -302,7 +307,7 @@ const qe = (n, o) => {
302
307
  "&:focus::-ms-input-placeholder": f
303
308
  // Edge
304
309
  },
305
- [`&.${ee.disabled}`]: {
310
+ [`&.${oe.disabled}`]: {
306
311
  opacity: 1,
307
312
  // Reset iOS opacity
308
313
  WebkitTextFillColor: (n.vars || n).palette.text.disabled
@@ -358,192 +363,192 @@ const qe = (n, o) => {
358
363
  display: "block"
359
364
  }
360
365
  }
361
- }), Xe = /* @__PURE__ */ s.forwardRef(function(o, t) {
362
- const d = Le({
366
+ }), eo = /* @__PURE__ */ s.forwardRef(function(o, r) {
367
+ const d = De({
363
368
  props: o,
364
369
  name: "MuiInputBase"
365
370
  }), {
366
371
  "aria-describedby": f,
367
372
  autoComplete: c,
368
- autoFocus: O,
373
+ autoFocus: R,
369
374
  className: T,
370
- color: H,
371
- components: S = {},
372
- componentsProps: h = {},
373
- defaultValue: E,
375
+ color: F,
376
+ components: C = {},
377
+ componentsProps: p = {},
378
+ defaultValue: O,
374
379
  disabled: b,
375
- disableInjectingGlobalStyles: C,
376
- endAdornment: v,
380
+ disableInjectingGlobalStyles: S,
381
+ endAdornment: w,
377
382
  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,
383
+ fullWidth: E = !1,
384
+ id: U,
385
+ inputComponent: l = "input",
386
+ inputProps: t = {},
387
+ inputRef: y,
388
+ margin: u,
389
+ maxRows: k,
390
+ minRows: B,
391
+ multiline: M = !1,
392
+ name: H,
393
+ onBlur: g,
394
+ onChange: m,
390
395
  onClick: P,
391
- onFocus: oe,
392
- onKeyDown: ve,
393
- onKeyUp: Se,
396
+ onFocus: W,
397
+ onKeyDown: we,
398
+ onKeyUp: xe,
394
399
  placeholder: Ce,
395
400
  readOnly: V,
396
401
  renderSuffix: ne,
397
- rows: W,
398
- size: eo,
402
+ rows: L,
403
+ size: oo,
399
404
  slotProps: te = {},
400
405
  slots: re = {},
401
- startAdornment: F,
406
+ startAdornment: z,
402
407
  type: ie = "text",
403
- value: xe,
408
+ value: Se,
404
409
  ...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) => {
410
+ } = d, D = t.value != null ? t.value : Se, {
411
+ current: _
412
+ } = s.useRef(D != null), I = s.useRef(), Te = s.useCallback((i) => {
408
413
  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
414
  `));
410
- }, []), Te = ge(I, p, r.ref, Oe), [_, $] = s.useState(!1), a = Me();
415
+ }, []), Oe = ge(I, y, t.ref, Te), [$, G] = s.useState(!1), a = He();
411
416
  process.env.NODE_ENV !== "production" && s.useEffect(() => {
412
417
  if (a)
413
418
  return a.registerEffect();
414
419
  }, [a]);
415
- const m = He({
420
+ const h = Me({
416
421
  props: d,
417
422
  muiFormControl: a,
418
423
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
419
424
  });
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({
425
+ h.focused = a ? a.focused : $, s.useEffect(() => {
426
+ !a && b && $ && (G(!1), g && g());
427
+ }, [a, b, $, g]);
428
+ const K = a && a.onFilled, q = a && a.onEmpty, N = s.useCallback((i) => {
429
+ Le(i) ? K && K() : q && q();
430
+ }, [K, q]);
431
+ ee(() => {
432
+ _ && N({
428
433
  value: D
429
434
  });
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);
435
+ }, [D, N, _]);
436
+ const Ie = (i) => {
437
+ W && W(i), t.onFocus && t.onFocus(i), a && a.onFocus ? a.onFocus(i) : G(!0);
438
+ }, Ee = (i) => {
439
+ g && g(i), t.onBlur && t.onBlur(i), a && a.onBlur ? a.onBlur(i) : G(!1);
435
440
  }, ze = (i, ...ue) => {
436
- if (!U) {
441
+ if (!_) {
437
442
  const de = i.target || I.current;
438
443
  if (de == null)
439
444
  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({
445
+ N({
441
446
  value: de.value
442
447
  });
443
448
  }
444
- r.onChange && r.onChange(i, ...ue), M && M(i, ...ue);
449
+ t.onChange && t.onChange(i, ...ue), m && m(i, ...ue);
445
450
  };
446
451
  s.useEffect(() => {
447
- k(I.current);
452
+ N(I.current);
448
453
  }, []);
449
454
  const Ne = (i) => {
450
455
  I.current && i.currentTarget === i.target && I.current.focus(), P && P(i);
451
456
  };
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 = {
457
+ let Y = l, v = t;
458
+ M && Y === "input" && (L ? (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
459
  type: void 0,
455
- minRows: W,
456
- maxRows: W,
457
- ...w
458
- }) : w = {
460
+ minRows: L,
461
+ maxRows: L,
462
+ ...v
463
+ }) : v = {
459
464
  type: void 0,
460
- maxRows: R,
461
- minRows: g,
462
- ...w
463
- }, q = we);
465
+ maxRows: k,
466
+ minRows: B,
467
+ ...v
468
+ }, Y = ve);
464
469
  const Ae = (i) => {
465
- k(i.animationName === "mui-auto-fill-cancel" ? I.current : {
470
+ N(i.animationName === "mui-auto-fill-cancel" ? I.current : {
466
471
  value: "x"
467
472
  });
468
473
  };
469
474
  s.useEffect(() => {
470
- a && a.setAdornedStart(!!F);
471
- }, [a, F]);
472
- const Y = {
475
+ a && a.setAdornedStart(!!z);
476
+ }, [a, z]);
477
+ const Z = {
473
478
  ...d,
474
- color: m.color || "primary",
475
- disabled: m.disabled,
476
- endAdornment: v,
477
- error: m.error,
478
- focused: m.focused,
479
+ color: h.color || "primary",
480
+ disabled: h.disabled,
481
+ endAdornment: w,
482
+ error: h.error,
483
+ focused: h.focused,
479
484
  formControl: a,
480
- fullWidth: j,
481
- hiddenLabel: m.hiddenLabel,
482
- multiline: N,
483
- size: m.size,
484
- startAdornment: F,
485
+ fullWidth: E,
486
+ hiddenLabel: h.hiddenLabel,
487
+ multiline: M,
488
+ size: h.size,
489
+ startAdornment: z,
485
490
  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
491
+ }, ae = Je(Z), se = re.root || C.Root || Qe, J = te.root || p.root || {}, le = re.input || C.Input || Xe;
492
+ return v = {
493
+ ...v,
494
+ ...te.input ?? p.input
495
+ }, /* @__PURE__ */ X(s.Fragment, {
496
+ children: [!S && typeof he == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
492
497
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
493
- (me || (me = /* @__PURE__ */ B(he, {}))), /* @__PURE__ */ Z(se, {
498
+ (me || (me = /* @__PURE__ */ A(he, {}))), /* @__PURE__ */ X(se, {
494
499
  ...J,
495
- ref: t,
500
+ ref: r,
496
501
  onClick: Ne,
497
502
  ...Re,
498
503
  ...!pe(se) && {
499
504
  ownerState: {
500
- ...Y,
505
+ ...Z,
501
506
  ...J.ownerState
502
507
  }
503
508
  },
504
509
  className: ce(ae.root, J.className, T, V && "MuiInputBase-readOnly"),
505
- children: [F, /* @__PURE__ */ B(Pe.Provider, {
510
+ children: [z, /* @__PURE__ */ A(Pe.Provider, {
506
511
  value: null,
507
- children: /* @__PURE__ */ B(le, {
508
- "aria-invalid": m.error,
512
+ children: /* @__PURE__ */ A(le, {
513
+ "aria-invalid": h.error,
509
514
  "aria-describedby": f,
510
515
  autoComplete: c,
511
- autoFocus: O,
512
- defaultValue: E,
513
- disabled: m.disabled,
514
- id: l,
516
+ autoFocus: R,
517
+ defaultValue: O,
518
+ disabled: h.disabled,
519
+ id: U,
515
520
  onAnimationStart: Ae,
516
- name: A,
521
+ name: H,
517
522
  placeholder: Ce,
518
523
  readOnly: V,
519
- required: m.required,
520
- rows: W,
524
+ required: h.required,
525
+ rows: L,
521
526
  value: D,
522
- onKeyDown: ve,
523
- onKeyUp: Se,
527
+ onKeyDown: we,
528
+ onKeyUp: xe,
524
529
  type: ie,
525
- ...w,
530
+ ...v,
526
531
  ...!pe(le) && {
527
- as: q,
532
+ as: Y,
528
533
  ownerState: {
529
- ...Y,
530
- ...w.ownerState
534
+ ...Z,
535
+ ...v.ownerState
531
536
  }
532
537
  },
533
- ref: Te,
534
- className: ce(ae.input, w.className, V && "MuiInputBase-readOnly"),
535
- onBlur: Ie,
538
+ ref: Oe,
539
+ className: ce(ae.input, v.className, V && "MuiInputBase-readOnly"),
540
+ onBlur: Ee,
536
541
  onChange: ze,
537
- onFocus: Ee
542
+ onFocus: Ie
538
543
  })
539
- }), v, ne ? ne({
540
- ...m,
541
- startAdornment: F
544
+ }), w, ne ? ne({
545
+ ...h,
546
+ startAdornment: z
542
547
  }) : null]
543
548
  })]
544
549
  });
545
550
  });
546
- process.env.NODE_ENV !== "production" && (Xe.propTypes = {
551
+ process.env.NODE_ENV !== "production" && (eo.propTypes = {
547
552
  // ┌────────────────────────────── Warning ──────────────────────────────┐
548
553
  // │ These PropTypes are generated from the TypeScript type definitions. │
549
554
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -638,7 +643,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
638
643
  * Either a string to use a HTML element or a component.
639
644
  * @default 'input'
640
645
  */
641
- inputComponent: Ue,
646
+ inputComponent: _e,
642
647
  /**
643
648
  * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
644
649
  * @default {}
@@ -647,7 +652,7 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
647
652
  /**
648
653
  * Pass a ref to the `input` element.
649
654
  */
650
- inputRef: _e,
655
+ inputRef: Ve,
651
656
  /**
652
657
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
653
658
  * FormControl.
@@ -772,10 +777,10 @@ process.env.NODE_ENV !== "production" && (Xe.propTypes = {
772
777
  value: e.any
773
778
  });
774
779
  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
780
+ eo as I,
781
+ Qe as a,
782
+ Xe as b,
783
+ Ze as c,
784
+ oe as i,
785
+ Ye as r
781
786
  };