everest-npm-features 0.0.23 → 0.0.25

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,20 +1,22 @@
1
1
  import * as p from "react";
2
- import { P as e, g as Ce, f as D, p as Ve, k as _e } from "./createTheme-D_EHVLXp.js";
3
- import { g as Re, s as _, m as q, u as we, c as be, a as xe, r as qe } from "./DefaultPropsProvider-5cxFAZuq.js";
4
- import { c as Ke } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
5
- import { f as Ge, a as Xe } from "./utils-asicApOI.js";
6
- import { u as Ye, F as Ze } from "./useFormControl-CatNKXAi.js";
7
- import { g as Je } from "./index-DlZLKtdr.js";
8
- import { jsxs as te, jsx as E } from "react/jsx-runtime";
9
- import { u as Te } from "./TransitionGroupContext-BzyZRJGo.js";
10
- import { u as ne, r as Se } from "./useTimeout-_ag1gI7y.js";
11
- import { o as ge } from "./ownerWindow-iFlVse9X.js";
12
- import { d as Qe } from "./debounce-46wSf_lW.js";
13
- import { e as eo } from "./elementTypeAcceptingRef-Bc1kRXA9.js";
2
+ import { P as e, g as Re, b as D, q as _e, j as qe } from "./createTheme-DmGCMO09.js";
3
+ import { g as we, s as _, m as q, u as xe, c as Se, r as Ke } from "./DefaultPropsProvider-B2njZVNv.js";
4
+ import { c as Ge } from "./createSimplePaletteValueFilter-B7--0ryQ.js";
5
+ import { c as be } from "./DefaultPropsProvider-CZh8M2jM.js";
6
+ import { f as Xe, i as Ye } from "./FormControl-DeeQCuu5.js";
7
+ import { u as Ze, F as Je } from "./useFormControl-CatNKXAi.js";
8
+ import { g as Qe } from "./index-C86AoaoB.js";
9
+ import { jsxs as re, jsx as L } from "react/jsx-runtime";
10
+ import { u as Te } from "./TransitionGroupContext-CYRQkQ6k.js";
11
+ import { u as ie } from "./useEnhancedEffect-CJGo-L3B.js";
12
+ import { o as ge } from "./ownerWindow-CRgpWY6I.js";
13
+ import { a as eo, r as Ie } from "./refType-CaiGhRso.js";
14
+ import { d as oo } from "./debounce-46wSf_lW.js";
15
+ import { e as to } from "./elementTypeAcceptingRef-CdmXUhJ8.js";
14
16
  function U(o) {
15
17
  return parseInt(o, 10) || 0;
16
18
  }
17
- const oo = {
19
+ const no = {
18
20
  shadow: {
19
21
  // Visibility needed to hide the extra text area on iPads
20
22
  visibility: "hidden",
@@ -29,91 +31,106 @@ const oo = {
29
31
  transform: "translateZ(0)"
30
32
  }
31
33
  };
32
- function to(o) {
33
- return o == null || Object.keys(o).length === 0 || o.outerHeightStyle === 0 && !o.overflowing;
34
+ function ro(o) {
35
+ for (const t in o)
36
+ return !1;
37
+ return !0;
34
38
  }
35
- const Ie = /* @__PURE__ */ p.forwardRef(function(t, n) {
39
+ function he(o) {
40
+ return ro(o) || o.outerHeightStyle === 0 && !o.overflowing;
41
+ }
42
+ const Oe = /* @__PURE__ */ p.forwardRef(function(t, n) {
36
43
  const {
37
44
  onChange: s,
38
- maxRows: c,
39
- minRows: d = 1,
40
- style: r,
41
- value: f,
42
- ...O
45
+ maxRows: f,
46
+ minRows: u = 1,
47
+ style: i,
48
+ value: m,
49
+ ...B
43
50
  } = t, {
44
- current: h
45
- } = p.useRef(f != null), g = p.useRef(null), T = Te(n, g), y = p.useRef(null), R = p.useRef(null), w = p.useCallback(() => {
46
- const u = g.current, i = ge(u).getComputedStyle(u);
47
- if (i.width === "0px")
51
+ current: y
52
+ } = p.useRef(m != null), b = p.useRef(null), x = Te(n, b), g = p.useRef(null), w = p.useRef(null), v = p.useCallback(() => {
53
+ const a = b.current, r = w.current;
54
+ if (!a || !r)
55
+ return;
56
+ const c = ge(a).getComputedStyle(a);
57
+ if (c.width === "0px")
48
58
  return {
49
59
  outerHeightStyle: 0,
50
60
  overflowing: !1
51
61
  };
52
- const m = R.current;
53
- m.style.width = i.width, m.value = u.value || t.placeholder || "x", m.value.slice(-1) === `
54
- ` && (m.value += " ");
55
- const A = i.boxSizing, F = U(i.paddingBottom) + U(i.paddingTop), S = U(i.borderBottomWidth) + U(i.borderTopWidth), N = m.scrollHeight;
56
- m.value = "x";
57
- const L = m.scrollHeight;
58
- let b = N;
59
- d && (b = Math.max(Number(d) * L, b)), c && (b = Math.min(Number(c) * L, b)), b = Math.max(b, L);
60
- const W = b + (A === "border-box" ? F + S : 0), $ = Math.abs(b - N) <= 1;
62
+ r.style.width = c.width, r.value = a.value || t.placeholder || "x", r.value.slice(-1) === `
63
+ ` && (r.value += " ");
64
+ const E = c.boxSizing, W = U(c.paddingBottom) + U(c.paddingTop), K = U(c.borderBottomWidth) + U(c.borderTopWidth), F = r.scrollHeight;
65
+ r.value = "x";
66
+ const z = r.scrollHeight;
67
+ let C = F;
68
+ u && (C = Math.max(Number(u) * z, C)), f && (C = Math.min(Number(f) * z, C)), C = Math.max(C, z);
69
+ const j = C + (E === "border-box" ? W + K : 0), G = Math.abs(C - F) <= 1;
61
70
  return {
62
- outerHeightStyle: W,
63
- overflowing: $
71
+ outerHeightStyle: j,
72
+ overflowing: G
64
73
  };
65
- }, [c, d, t.placeholder]), x = p.useCallback(() => {
66
- const u = w();
67
- if (to(u))
74
+ }, [f, u, t.placeholder]), I = eo(() => {
75
+ const a = b.current, r = v();
76
+ if (!a || !r || he(r))
77
+ return !1;
78
+ const h = r.outerHeightStyle;
79
+ return g.current != null && g.current !== h;
80
+ }), S = p.useCallback(() => {
81
+ const a = b.current, r = v();
82
+ if (!a || !r || he(r))
68
83
  return;
69
- const v = u.outerHeightStyle, i = g.current;
70
- y.current !== v && (y.current = v, i.style.height = `${v}px`), i.style.overflow = u.overflowing ? "hidden" : "";
71
- }, [w]);
72
- ne(() => {
73
- const u = () => {
74
- x();
75
- };
76
- let v;
77
- const i = () => {
78
- cancelAnimationFrame(v), v = requestAnimationFrame(() => {
79
- u();
80
- });
81
- }, m = Qe(u), A = g.current, F = ge(A);
82
- F.addEventListener("resize", m);
83
- let S;
84
- return typeof ResizeObserver < "u" && (S = new ResizeObserver(process.env.NODE_ENV === "test" ? i : u), S.observe(A)), () => {
85
- m.clear(), cancelAnimationFrame(v), F.removeEventListener("resize", m), S && S.disconnect();
84
+ const h = r.outerHeightStyle;
85
+ g.current !== h && (g.current = h, a.style.height = `${h}px`), a.style.overflow = r.overflowing ? "hidden" : "";
86
+ }, [v]), O = p.useRef(-1);
87
+ ie(() => {
88
+ const a = oo(S), r = b == null ? void 0 : b.current;
89
+ if (!r)
90
+ return;
91
+ const h = ge(r);
92
+ h.addEventListener("resize", a);
93
+ let c;
94
+ return typeof ResizeObserver < "u" && (c = new ResizeObserver(() => {
95
+ I() && (c.unobserve(r), cancelAnimationFrame(O.current), S(), O.current = requestAnimationFrame(() => {
96
+ c.observe(r);
97
+ }));
98
+ }), c.observe(r)), () => {
99
+ a.clear(), cancelAnimationFrame(O.current), h.removeEventListener("resize", a), c && c.disconnect();
86
100
  };
87
- }, [w, x]), ne(() => {
88
- x();
101
+ }, [v, S, I]), ie(() => {
102
+ S();
89
103
  });
90
- const z = (u) => {
91
- h || x(), s && s(u);
104
+ const N = (a) => {
105
+ y || S();
106
+ const r = a.target, h = r.value.length, c = r.value.endsWith(`
107
+ `), E = r.selectionStart === h;
108
+ c && E && r.setSelectionRange(h, h), s && s(a);
92
109
  };
93
- return /* @__PURE__ */ te(p.Fragment, {
94
- children: [/* @__PURE__ */ E("textarea", {
95
- value: f,
96
- onChange: z,
97
- ref: T,
98
- rows: d,
99
- style: r,
100
- ...O
101
- }), /* @__PURE__ */ E("textarea", {
110
+ return /* @__PURE__ */ re(p.Fragment, {
111
+ children: [/* @__PURE__ */ L("textarea", {
112
+ value: m,
113
+ onChange: N,
114
+ ref: x,
115
+ rows: u,
116
+ style: i,
117
+ ...B
118
+ }), /* @__PURE__ */ L("textarea", {
102
119
  "aria-hidden": !0,
103
120
  className: t.className,
104
121
  readOnly: !0,
105
- ref: R,
122
+ ref: w,
106
123
  tabIndex: -1,
107
124
  style: {
108
- ...oo.shadow,
109
- ...r,
125
+ ...no.shadow,
126
+ ...i,
110
127
  paddingTop: 0,
111
128
  paddingBottom: 0
112
129
  }
113
130
  })]
114
131
  });
115
132
  });
116
- process.env.NODE_ENV !== "production" && (Ie.propTypes = {
133
+ process.env.NODE_ENV !== "production" && (Oe.propTypes = {
117
134
  // ┌────────────────────────────── Warning ──────────────────────────────┐
118
135
  // │ These PropTypes are generated from the TypeScript type definitions. │
119
136
  // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
@@ -151,46 +168,46 @@ process.env.NODE_ENV !== "production" && (Ie.propTypes = {
151
168
  function ye(o) {
152
169
  return typeof o == "string";
153
170
  }
154
- function no(o) {
155
- return Ce("MuiInputBase", o);
171
+ function io(o) {
172
+ return Re("MuiInputBase", o);
156
173
  }
157
- const V = Re("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
158
- var he;
159
- const Oe = (o, t) => {
174
+ const V = we("MuiInputBase", ["root", "formControl", "focused", "disabled", "adornedStart", "adornedEnd", "error", "sizeSmall", "multiline", "colorSecondary", "fullWidth", "hiddenLabel", "readOnly", "input", "inputSizeSmall", "inputMultiline", "inputTypeSearch", "inputAdornedStart", "inputAdornedEnd", "inputHiddenLabel"]);
175
+ var ve;
176
+ const Fe = (o, t) => {
160
177
  const {
161
178
  ownerState: n
162
179
  } = o;
163
180
  return [t.root, n.formControl && t.formControl, n.startAdornment && t.adornedStart, n.endAdornment && t.adornedEnd, n.error && t.error, n.size === "small" && t.sizeSmall, n.multiline && t.multiline, n.color && t[`color${D(n.color)}`], n.fullWidth && t.fullWidth, n.hiddenLabel && t.hiddenLabel];
164
- }, Fe = (o, t) => {
181
+ }, Be = (o, t) => {
165
182
  const {
166
183
  ownerState: n
167
184
  } = o;
168
185
  return [t.input, n.size === "small" && t.inputSizeSmall, n.multiline && t.inputMultiline, n.type === "search" && t.inputTypeSearch, n.startAdornment && t.inputAdornedStart, n.endAdornment && t.inputAdornedEnd, n.hiddenLabel && t.inputHiddenLabel];
169
- }, ro = (o) => {
186
+ }, ao = (o) => {
170
187
  const {
171
188
  classes: t,
172
189
  color: n,
173
190
  disabled: s,
174
- error: c,
175
- endAdornment: d,
176
- focused: r,
177
- formControl: f,
178
- fullWidth: O,
179
- hiddenLabel: h,
180
- multiline: g,
181
- readOnly: T,
182
- size: y,
183
- startAdornment: R,
184
- type: w
185
- } = o, x = {
186
- root: ["root", `color${D(n)}`, s && "disabled", c && "error", O && "fullWidth", r && "focused", f && "formControl", y && y !== "medium" && `size${D(y)}`, g && "multiline", R && "adornedStart", d && "adornedEnd", h && "hiddenLabel", T && "readOnly"],
187
- input: ["input", s && "disabled", w === "search" && "inputTypeSearch", g && "inputMultiline", y === "small" && "inputSizeSmall", h && "inputHiddenLabel", R && "inputAdornedStart", d && "inputAdornedEnd", T && "readOnly"]
191
+ error: f,
192
+ endAdornment: u,
193
+ focused: i,
194
+ formControl: m,
195
+ fullWidth: B,
196
+ hiddenLabel: y,
197
+ multiline: b,
198
+ readOnly: x,
199
+ size: g,
200
+ startAdornment: w,
201
+ type: v
202
+ } = o, I = {
203
+ root: ["root", `color${D(n)}`, s && "disabled", f && "error", B && "fullWidth", i && "focused", m && "formControl", g && g !== "medium" && `size${D(g)}`, b && "multiline", w && "adornedStart", u && "adornedEnd", y && "hiddenLabel", x && "readOnly"],
204
+ input: ["input", s && "disabled", v === "search" && "inputTypeSearch", b && "inputMultiline", g === "small" && "inputSizeSmall", y && "inputHiddenLabel", w && "inputAdornedStart", u && "inputAdornedEnd", x && "readOnly"]
188
205
  };
189
- return xe(x, no, t);
206
+ return Se(I, io, t);
190
207
  }, ke = _("div", {
191
208
  name: "MuiInputBase",
192
209
  slot: "Root",
193
- overridesResolver: Oe
210
+ overridesResolver: Fe
194
211
  })(q(({
195
212
  theme: o
196
213
  }) => ({
@@ -231,10 +248,10 @@ const Oe = (o, t) => {
231
248
  width: "100%"
232
249
  }
233
250
  }]
234
- }))), Be = _("input", {
251
+ }))), Ee = _("input", {
235
252
  name: "MuiInputBase",
236
253
  slot: "Input",
237
- overridesResolver: Fe
254
+ overridesResolver: Be
238
255
  })(q(({
239
256
  theme: o
240
257
  }) => {
@@ -250,7 +267,7 @@ const Oe = (o, t) => {
250
267
  })
251
268
  }, s = {
252
269
  opacity: "0 !important"
253
- }, c = o.vars ? {
270
+ }, f = o.vars ? {
254
271
  opacity: o.vars.opacity.inputPlaceholder
255
272
  } : {
256
273
  opacity: t ? 0.42 : 0.5
@@ -295,10 +312,10 @@ const Oe = (o, t) => {
295
312
  // Firefox 19+
296
313
  "&::-ms-input-placeholder": s,
297
314
  // Edge
298
- "&:focus::-webkit-input-placeholder": c,
299
- "&:focus::-moz-placeholder": c,
315
+ "&:focus::-webkit-input-placeholder": f,
316
+ "&:focus::-moz-placeholder": f,
300
317
  // Firefox 19+
301
- "&:focus::-ms-input-placeholder": c
318
+ "&:focus::-ms-input-placeholder": f
302
319
  // Edge
303
320
  },
304
321
  [`&.${V.disabled}`]: {
@@ -309,8 +326,8 @@ const Oe = (o, t) => {
309
326
  },
310
327
  variants: [{
311
328
  props: ({
312
- ownerState: d
313
- }) => !d.disableInjectingGlobalStyles,
329
+ ownerState: u
330
+ }) => !u.disableInjectingGlobalStyles,
314
331
  style: {
315
332
  animationName: "mui-auto-fill-cancel",
316
333
  animationDuration: "10ms",
@@ -328,8 +345,8 @@ const Oe = (o, t) => {
328
345
  }
329
346
  }, {
330
347
  props: ({
331
- ownerState: d
332
- }) => d.multiline,
348
+ ownerState: u
349
+ }) => u.multiline,
333
350
  style: {
334
351
  height: "auto",
335
352
  resize: "none",
@@ -346,7 +363,7 @@ const Oe = (o, t) => {
346
363
  }
347
364
  }]
348
365
  };
349
- })), ve = Je({
366
+ })), Ce = Qe({
350
367
  "@keyframes mui-auto-fill": {
351
368
  from: {
352
369
  display: "block"
@@ -357,192 +374,192 @@ const Oe = (o, t) => {
357
374
  display: "block"
358
375
  }
359
376
  }
360
- }), Ee = /* @__PURE__ */ p.forwardRef(function(t, n) {
361
- const s = we({
377
+ }), ze = /* @__PURE__ */ p.forwardRef(function(t, n) {
378
+ const s = xe({
362
379
  props: t,
363
380
  name: "MuiInputBase"
364
381
  }), {
365
- "aria-describedby": c,
366
- autoComplete: d,
367
- autoFocus: r,
368
- className: f,
369
- color: O,
370
- components: h = {},
371
- componentsProps: g = {},
372
- defaultValue: T,
373
- disabled: y,
374
- disableInjectingGlobalStyles: R,
375
- endAdornment: w,
376
- error: x,
377
- fullWidth: z = !1,
378
- id: u,
379
- inputComponent: v = "input",
380
- inputProps: i = {},
381
- inputRef: m,
382
- margin: A,
383
- maxRows: F,
384
- minRows: S,
385
- multiline: N = !1,
386
- name: L,
387
- onBlur: b,
388
- onChange: W,
389
- onClick: $,
390
- onFocus: ie,
391
- onKeyDown: ze,
392
- onKeyUp: Ae,
382
+ "aria-describedby": f,
383
+ autoComplete: u,
384
+ autoFocus: i,
385
+ className: m,
386
+ color: B,
387
+ components: y = {},
388
+ componentsProps: b = {},
389
+ defaultValue: x,
390
+ disabled: g,
391
+ disableInjectingGlobalStyles: w,
392
+ endAdornment: v,
393
+ error: I,
394
+ fullWidth: S = !1,
395
+ id: O,
396
+ inputComponent: N = "input",
397
+ inputProps: a = {},
398
+ inputRef: r,
399
+ margin: h,
400
+ maxRows: c,
401
+ minRows: E,
402
+ multiline: W = !1,
403
+ name: K,
404
+ onBlur: F,
405
+ onChange: z,
406
+ onClick: C,
407
+ onFocus: j,
408
+ onKeyDown: G,
409
+ onKeyUp: Le,
393
410
  placeholder: Ne,
394
- readOnly: K,
395
- renderSuffix: se,
396
- rows: j,
397
- size: uo,
398
- slotProps: ae = {},
411
+ readOnly: X,
412
+ renderSuffix: ae,
413
+ rows: H,
414
+ size: fo,
415
+ slotProps: se = {},
399
416
  slots: le = {},
400
417
  startAdornment: P,
401
418
  type: de = "text",
402
- value: Le,
403
- ...Pe
404
- } = s, H = i.value != null ? i.value : Le, {
405
- current: G
406
- } = p.useRef(H != null), B = p.useRef(), Me = p.useCallback((a) => {
407
- process.env.NODE_ENV !== "production" && a && a.nodeName !== "INPUT" && !a.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(`
419
+ value: Pe,
420
+ ...Me
421
+ } = s, $ = a.value != null ? a.value : Pe, {
422
+ current: Y
423
+ } = p.useRef($ != null), A = p.useRef(), We = p.useCallback((l) => {
424
+ process.env.NODE_ENV !== "production" && l && l.nodeName !== "INPUT" && !l.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(`
408
425
  `));
409
- }, []), We = Te(B, m, i.ref, Me), [X, Y] = p.useState(!1), l = Ye();
426
+ }, []), je = Te(A, r, a.ref, We), [Z, J] = p.useState(!1), d = Ze();
410
427
  process.env.NODE_ENV !== "production" && p.useEffect(() => {
411
- if (l)
412
- return l.registerEffect();
413
- }, [l]);
414
- const C = Ge({
428
+ if (d)
429
+ return d.registerEffect();
430
+ }, [d]);
431
+ const R = Xe({
415
432
  props: s,
416
- muiFormControl: l,
433
+ muiFormControl: d,
417
434
  states: ["color", "disabled", "error", "hiddenLabel", "size", "required", "filled"]
418
435
  });
419
- C.focused = l ? l.focused : X, p.useEffect(() => {
420
- !l && y && X && (Y(!1), b && b());
421
- }, [l, y, X, b]);
422
- const Z = l && l.onFilled, J = l && l.onEmpty, M = p.useCallback((a) => {
423
- Xe(a) ? Z && Z() : J && J();
424
- }, [Z, J]);
425
- ne(() => {
426
- G && M({
427
- value: H
436
+ R.focused = d ? d.focused : Z, p.useEffect(() => {
437
+ !d && g && Z && (J(!1), F && F());
438
+ }, [d, g, Z, F]);
439
+ const Q = d && d.onFilled, ee = d && d.onEmpty, M = p.useCallback((l) => {
440
+ Ye(l) ? Q && Q() : ee && ee();
441
+ }, [Q, ee]);
442
+ ie(() => {
443
+ Y && M({
444
+ value: $
428
445
  });
429
- }, [H, M, G]);
430
- const $e = (a) => {
431
- ie && ie(a), i.onFocus && i.onFocus(a), l && l.onFocus ? l.onFocus(a) : Y(!0);
432
- }, je = (a) => {
433
- b && b(a), i.onBlur && i.onBlur(a), l && l.onBlur ? l.onBlur(a) : Y(!1);
434
- }, He = (a, ...fe) => {
435
- if (!G) {
436
- const me = a.target || B.current;
446
+ }, [$, M, Y]);
447
+ const He = (l) => {
448
+ j && j(l), a.onFocus && a.onFocus(l), d && d.onFocus ? d.onFocus(l) : J(!0);
449
+ }, $e = (l) => {
450
+ F && F(l), a.onBlur && a.onBlur(l), d && d.onBlur ? d.onBlur(l) : J(!1);
451
+ }, Ue = (l, ...fe) => {
452
+ if (!Y) {
453
+ const me = l.target || A.current;
437
454
  if (me == null)
438
- 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." : Ve(1));
455
+ 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." : _e(1));
439
456
  M({
440
457
  value: me.value
441
458
  });
442
459
  }
443
- i.onChange && i.onChange(a, ...fe), W && W(a, ...fe);
460
+ a.onChange && a.onChange(l, ...fe), z && z(l, ...fe);
444
461
  };
445
462
  p.useEffect(() => {
446
- M(B.current);
463
+ M(A.current);
447
464
  }, []);
448
- const Ue = (a) => {
449
- B.current && a.currentTarget === a.target && B.current.focus(), $ && $(a);
465
+ const De = (l) => {
466
+ A.current && l.currentTarget === l.target && A.current.focus(), C && C(l);
450
467
  };
451
- let Q = v, I = i;
452
- N && Q === "input" && (j ? (process.env.NODE_ENV !== "production" && (S || F) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), I = {
468
+ let oe = N, T = a;
469
+ W && oe === "input" && (H ? (process.env.NODE_ENV !== "production" && (E || c) && console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."), T = {
453
470
  type: void 0,
454
- minRows: j,
455
- maxRows: j,
456
- ...I
457
- }) : I = {
471
+ minRows: H,
472
+ maxRows: H,
473
+ ...T
474
+ }) : T = {
458
475
  type: void 0,
459
- maxRows: F,
460
- minRows: S,
461
- ...I
462
- }, Q = Ie);
463
- const De = (a) => {
464
- M(a.animationName === "mui-auto-fill-cancel" ? B.current : {
476
+ maxRows: c,
477
+ minRows: E,
478
+ ...T
479
+ }, oe = Oe);
480
+ const Ve = (l) => {
481
+ M(l.animationName === "mui-auto-fill-cancel" ? A.current : {
465
482
  value: "x"
466
483
  });
467
484
  };
468
485
  p.useEffect(() => {
469
- l && l.setAdornedStart(!!P);
470
- }, [l, P]);
471
- const ee = {
486
+ d && d.setAdornedStart(!!P);
487
+ }, [d, P]);
488
+ const te = {
472
489
  ...s,
473
- color: C.color || "primary",
474
- disabled: C.disabled,
475
- endAdornment: w,
476
- error: C.error,
477
- focused: C.focused,
478
- formControl: l,
479
- fullWidth: z,
480
- hiddenLabel: C.hiddenLabel,
481
- multiline: N,
482
- size: C.size,
490
+ color: R.color || "primary",
491
+ disabled: R.disabled,
492
+ endAdornment: v,
493
+ error: R.error,
494
+ focused: R.focused,
495
+ formControl: d,
496
+ fullWidth: S,
497
+ hiddenLabel: R.hiddenLabel,
498
+ multiline: W,
499
+ size: R.size,
483
500
  startAdornment: P,
484
501
  type: de
485
- }, pe = ro(ee), ue = le.root || h.Root || ke, oe = ae.root || g.root || {}, ce = le.input || h.Input || Be;
486
- return I = {
487
- ...I,
488
- ...ae.input ?? g.input
489
- }, /* @__PURE__ */ te(p.Fragment, {
490
- children: [!R && typeof ve == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
502
+ }, ue = ao(te), pe = le.root || y.Root || ke, ne = se.root || b.root || {}, ce = le.input || y.Input || Ee;
503
+ return T = {
504
+ ...T,
505
+ ...se.input ?? b.input
506
+ }, /* @__PURE__ */ re(p.Fragment, {
507
+ children: [!w && typeof Ce == "function" && // For Emotion/Styled-components, InputGlobalStyles will be a function
491
508
  // For Pigment CSS, this has no effect because the InputGlobalStyles will be null.
492
- (he || (he = /* @__PURE__ */ E(ve, {}))), /* @__PURE__ */ te(ue, {
493
- ...oe,
509
+ (ve || (ve = /* @__PURE__ */ L(Ce, {}))), /* @__PURE__ */ re(pe, {
510
+ ...ne,
494
511
  ref: n,
495
- onClick: Ue,
496
- ...Pe,
497
- ...!ye(ue) && {
512
+ onClick: De,
513
+ ...Me,
514
+ ...!ye(pe) && {
498
515
  ownerState: {
499
- ...ee,
500
- ...oe.ownerState
516
+ ...te,
517
+ ...ne.ownerState
501
518
  }
502
519
  },
503
- className: be(pe.root, oe.className, f, K && "MuiInputBase-readOnly"),
504
- children: [P, /* @__PURE__ */ E(Ze.Provider, {
520
+ className: be(ue.root, ne.className, m, X && "MuiInputBase-readOnly"),
521
+ children: [P, /* @__PURE__ */ L(Je.Provider, {
505
522
  value: null,
506
- children: /* @__PURE__ */ E(ce, {
507
- "aria-invalid": C.error,
508
- "aria-describedby": c,
509
- autoComplete: d,
510
- autoFocus: r,
511
- defaultValue: T,
512
- disabled: C.disabled,
513
- id: u,
514
- onAnimationStart: De,
515
- name: L,
523
+ children: /* @__PURE__ */ L(ce, {
524
+ "aria-invalid": R.error,
525
+ "aria-describedby": f,
526
+ autoComplete: u,
527
+ autoFocus: i,
528
+ defaultValue: x,
529
+ disabled: R.disabled,
530
+ id: O,
531
+ onAnimationStart: Ve,
532
+ name: K,
516
533
  placeholder: Ne,
517
- readOnly: K,
518
- required: C.required,
519
- rows: j,
520
- value: H,
521
- onKeyDown: ze,
522
- onKeyUp: Ae,
534
+ readOnly: X,
535
+ required: R.required,
536
+ rows: H,
537
+ value: $,
538
+ onKeyDown: G,
539
+ onKeyUp: Le,
523
540
  type: de,
524
- ...I,
541
+ ...T,
525
542
  ...!ye(ce) && {
526
- as: Q,
543
+ as: oe,
527
544
  ownerState: {
528
- ...ee,
529
- ...I.ownerState
545
+ ...te,
546
+ ...T.ownerState
530
547
  }
531
548
  },
532
- ref: We,
533
- className: be(pe.input, I.className, K && "MuiInputBase-readOnly"),
534
- onBlur: je,
535
- onChange: He,
536
- onFocus: $e
549
+ ref: je,
550
+ className: be(ue.input, T.className, X && "MuiInputBase-readOnly"),
551
+ onBlur: $e,
552
+ onChange: Ue,
553
+ onFocus: He
537
554
  })
538
- }), w, se ? se({
539
- ...C,
555
+ }), v, ae ? ae({
556
+ ...R,
540
557
  startAdornment: P
541
558
  }) : null]
542
559
  })]
543
560
  });
544
561
  });
545
- process.env.NODE_ENV !== "production" && (Ee.propTypes = {
562
+ process.env.NODE_ENV !== "production" && (ze.propTypes = {
546
563
  // ┌────────────────────────────── Warning ──────────────────────────────┐
547
564
  // │ These PropTypes are generated from the TypeScript type definitions. │
548
565
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -579,7 +596,7 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
579
596
  /**
580
597
  * The components used for each slot inside.
581
598
  *
582
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
599
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
583
600
  *
584
601
  * @default {}
585
602
  */
@@ -591,7 +608,7 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
591
608
  * The extra props for the slot components.
592
609
  * You can override the existing props or add new ones.
593
610
  *
594
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
611
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
595
612
  *
596
613
  * @default {}
597
614
  */
@@ -637,16 +654,16 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
637
654
  * Either a string to use a HTML element or a component.
638
655
  * @default 'input'
639
656
  */
640
- inputComponent: eo,
657
+ inputComponent: to,
641
658
  /**
642
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
659
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
643
660
  * @default {}
644
661
  */
645
662
  inputProps: e.object,
646
663
  /**
647
664
  * Pass a ref to the `input` element.
648
665
  */
649
- inputRef: Se,
666
+ inputRef: Ie,
650
667
  /**
651
668
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
652
669
  * FormControl.
@@ -761,7 +778,7 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
761
778
  */
762
779
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
763
780
  /**
764
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
781
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
765
782
  * @default 'text'
766
783
  */
767
784
  type: e.string,
@@ -770,45 +787,45 @@ process.env.NODE_ENV !== "production" && (Ee.propTypes = {
770
787
  */
771
788
  value: e.any
772
789
  });
773
- const io = Ee;
774
- function so(o) {
775
- return Ce("MuiFilledInput", o);
790
+ const so = ze;
791
+ function lo(o) {
792
+ return Re("MuiFilledInput", o);
776
793
  }
777
794
  const k = {
778
795
  ...V,
779
- ...Re("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
780
- }, ao = (o) => {
796
+ ...we("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
797
+ }, uo = (o) => {
781
798
  const {
782
799
  classes: t,
783
800
  disableUnderline: n,
784
801
  startAdornment: s,
785
- endAdornment: c,
786
- size: d,
787
- hiddenLabel: r,
788
- multiline: f
789
- } = o, O = {
790
- root: ["root", !n && "underline", s && "adornedStart", c && "adornedEnd", d === "small" && `size${D(d)}`, r && "hiddenLabel", f && "multiline"],
802
+ endAdornment: f,
803
+ size: u,
804
+ hiddenLabel: i,
805
+ multiline: m
806
+ } = o, B = {
807
+ root: ["root", !n && "underline", s && "adornedStart", f && "adornedEnd", u === "small" && `size${D(u)}`, i && "hiddenLabel", m && "multiline"],
791
808
  input: ["input"]
792
- }, h = xe(O, so, t);
809
+ }, y = Se(B, lo, t);
793
810
  return {
794
811
  ...t,
795
812
  // forward classes to the InputBase
796
- ...h
813
+ ...y
797
814
  };
798
- }, lo = _(ke, {
799
- shouldForwardProp: (o) => qe(o) || o === "classes",
815
+ }, po = _(ke, {
816
+ shouldForwardProp: (o) => Ke(o) || o === "classes",
800
817
  name: "MuiFilledInput",
801
818
  slot: "Root",
802
819
  overridesResolver: (o, t) => {
803
820
  const {
804
821
  ownerState: n
805
822
  } = o;
806
- return [...Oe(o, t), !n.disableUnderline && t.underline];
823
+ return [...Fe(o, t), !n.disableUnderline && t.underline];
807
824
  }
808
825
  })(q(({
809
826
  theme: o
810
827
  }) => {
811
- const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", s = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", c = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", d = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
828
+ const t = o.palette.mode === "light", n = t ? "rgba(0, 0, 0, 0.42)" : "rgba(255, 255, 255, 0.7)", s = t ? "rgba(0, 0, 0, 0.06)" : "rgba(255, 255, 255, 0.09)", f = t ? "rgba(0, 0, 0, 0.09)" : "rgba(255, 255, 255, 0.13)", u = t ? "rgba(0, 0, 0, 0.12)" : "rgba(255, 255, 255, 0.12)";
812
829
  return {
813
830
  position: "relative",
814
831
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : s,
@@ -819,7 +836,7 @@ const k = {
819
836
  easing: o.transitions.easing.easeOut
820
837
  }),
821
838
  "&:hover": {
822
- backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : c,
839
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.hoverBg : f,
823
840
  // Reset on touch devices, it doesn't add specificity
824
841
  "@media (hover: none)": {
825
842
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : s
@@ -829,12 +846,12 @@ const k = {
829
846
  backgroundColor: o.vars ? o.vars.palette.FilledInput.bg : s
830
847
  },
831
848
  [`&.${k.disabled}`]: {
832
- backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : d
849
+ backgroundColor: o.vars ? o.vars.palette.FilledInput.disabledBg : u
833
850
  },
834
851
  variants: [{
835
852
  props: ({
836
- ownerState: r
837
- }) => !r.disableUnderline,
853
+ ownerState: i
854
+ }) => !i.disableUnderline,
838
855
  style: {
839
856
  "&::after": {
840
857
  left: 0,
@@ -880,71 +897,71 @@ const k = {
880
897
  borderBottomStyle: "dotted"
881
898
  }
882
899
  }
883
- }, ...Object.entries(o.palette).filter(Ke()).map(([r]) => {
884
- var f;
900
+ }, ...Object.entries(o.palette).filter(Ge()).map(([i]) => {
901
+ var m;
885
902
  return {
886
903
  props: {
887
904
  disableUnderline: !1,
888
- color: r
905
+ color: i
889
906
  },
890
907
  style: {
891
908
  "&::after": {
892
- borderBottom: `2px solid ${(f = (o.vars || o).palette[r]) == null ? void 0 : f.main}`
909
+ borderBottom: `2px solid ${(m = (o.vars || o).palette[i]) == null ? void 0 : m.main}`
893
910
  }
894
911
  }
895
912
  };
896
913
  }), {
897
914
  props: ({
898
- ownerState: r
899
- }) => r.startAdornment,
915
+ ownerState: i
916
+ }) => i.startAdornment,
900
917
  style: {
901
918
  paddingLeft: 12
902
919
  }
903
920
  }, {
904
921
  props: ({
905
- ownerState: r
906
- }) => r.endAdornment,
922
+ ownerState: i
923
+ }) => i.endAdornment,
907
924
  style: {
908
925
  paddingRight: 12
909
926
  }
910
927
  }, {
911
928
  props: ({
912
- ownerState: r
913
- }) => r.multiline,
929
+ ownerState: i
930
+ }) => i.multiline,
914
931
  style: {
915
932
  padding: "25px 12px 8px"
916
933
  }
917
934
  }, {
918
935
  props: ({
919
- ownerState: r,
920
- size: f
921
- }) => r.multiline && f === "small",
936
+ ownerState: i,
937
+ size: m
938
+ }) => i.multiline && m === "small",
922
939
  style: {
923
940
  paddingTop: 21,
924
941
  paddingBottom: 4
925
942
  }
926
943
  }, {
927
944
  props: ({
928
- ownerState: r
929
- }) => r.multiline && r.hiddenLabel,
945
+ ownerState: i
946
+ }) => i.multiline && i.hiddenLabel,
930
947
  style: {
931
948
  paddingTop: 16,
932
949
  paddingBottom: 17
933
950
  }
934
951
  }, {
935
952
  props: ({
936
- ownerState: r
937
- }) => r.multiline && r.hiddenLabel && r.size === "small",
953
+ ownerState: i
954
+ }) => i.multiline && i.hiddenLabel && i.size === "small",
938
955
  style: {
939
956
  paddingTop: 8,
940
957
  paddingBottom: 9
941
958
  }
942
959
  }]
943
960
  };
944
- })), po = _(Be, {
961
+ })), co = _(Ee, {
945
962
  name: "MuiFilledInput",
946
963
  slot: "Input",
947
- overridesResolver: Fe
964
+ overridesResolver: Be
948
965
  })(q(({
949
966
  theme: o
950
967
  }) => ({
@@ -1023,54 +1040,54 @@ const k = {
1023
1040
  paddingRight: 0
1024
1041
  }
1025
1042
  }]
1026
- }))), re = /* @__PURE__ */ p.forwardRef(function(t, n) {
1027
- const s = we({
1043
+ }))), Ae = /* @__PURE__ */ p.forwardRef(function(t, n) {
1044
+ const s = xe({
1028
1045
  props: t,
1029
1046
  name: "MuiFilledInput"
1030
1047
  }), {
1031
- disableUnderline: c = !1,
1032
- components: d = {},
1033
- componentsProps: r,
1034
- fullWidth: f = !1,
1035
- hiddenLabel: O,
1048
+ disableUnderline: f = !1,
1049
+ components: u = {},
1050
+ componentsProps: i,
1051
+ fullWidth: m = !1,
1052
+ hiddenLabel: B,
1036
1053
  // declare here to prevent spreading to DOM
1037
- inputComponent: h = "input",
1038
- multiline: g = !1,
1039
- slotProps: T,
1040
- slots: y = {},
1041
- type: R = "text",
1042
- ...w
1043
- } = s, x = {
1054
+ inputComponent: y = "input",
1055
+ multiline: b = !1,
1056
+ slotProps: x,
1057
+ slots: g = {},
1058
+ type: w = "text",
1059
+ ...v
1060
+ } = s, I = {
1044
1061
  ...s,
1045
- disableUnderline: c,
1046
- fullWidth: f,
1047
- inputComponent: h,
1048
- multiline: g,
1049
- type: R
1050
- }, z = ao(s), u = {
1062
+ disableUnderline: f,
1063
+ fullWidth: m,
1064
+ inputComponent: y,
1065
+ multiline: b,
1066
+ type: w
1067
+ }, S = uo(s), O = {
1051
1068
  root: {
1052
- ownerState: x
1069
+ ownerState: I
1053
1070
  },
1054
1071
  input: {
1055
- ownerState: x
1072
+ ownerState: I
1056
1073
  }
1057
- }, v = T ?? r ? _e(u, T ?? r) : u, i = y.root ?? d.Root ?? lo, m = y.input ?? d.Input ?? po;
1058
- return /* @__PURE__ */ E(io, {
1074
+ }, N = x ?? i ? qe(O, x ?? i) : O, a = g.root ?? u.Root ?? po, r = g.input ?? u.Input ?? co;
1075
+ return /* @__PURE__ */ L(so, {
1059
1076
  slots: {
1060
- root: i,
1061
- input: m
1077
+ root: a,
1078
+ input: r
1062
1079
  },
1063
- componentsProps: v,
1064
- fullWidth: f,
1065
- inputComponent: h,
1066
- multiline: g,
1080
+ slotProps: N,
1081
+ fullWidth: m,
1082
+ inputComponent: y,
1083
+ multiline: b,
1067
1084
  ref: n,
1068
- type: R,
1069
- ...w,
1070
- classes: z
1085
+ type: w,
1086
+ ...v,
1087
+ classes: S
1071
1088
  });
1072
1089
  });
1073
- process.env.NODE_ENV !== "production" && (re.propTypes = {
1090
+ process.env.NODE_ENV !== "production" && (Ae.propTypes = {
1074
1091
  // ┌────────────────────────────── Warning ──────────────────────────────┐
1075
1092
  // │ These PropTypes are generated from the TypeScript type definitions. │
1076
1093
  // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
@@ -1099,7 +1116,7 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
1099
1116
  /**
1100
1117
  * The components used for each slot inside.
1101
1118
  *
1102
- * @deprecated use the `slots` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1119
+ * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1103
1120
  *
1104
1121
  * @default {}
1105
1122
  */
@@ -1111,7 +1128,7 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
1111
1128
  * The extra props for the slot components.
1112
1129
  * You can override the existing props or add new ones.
1113
1130
  *
1114
- * @deprecated use the `slotProps` prop instead. This prop will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1131
+ * @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
1115
1132
  *
1116
1133
  * @default {}
1117
1134
  */
@@ -1165,14 +1182,14 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
1165
1182
  */
1166
1183
  inputComponent: e.elementType,
1167
1184
  /**
1168
- * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
1185
+ * [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#attributes) applied to the `input` element.
1169
1186
  * @default {}
1170
1187
  */
1171
1188
  inputProps: e.object,
1172
1189
  /**
1173
1190
  * Pass a ref to the `input` element.
1174
1191
  */
1175
- inputRef: Se,
1192
+ inputRef: Ie,
1176
1193
  /**
1177
1194
  * If `dense`, will adjust vertical spacing. This is normally obtained via context from
1178
1195
  * FormControl.
@@ -1253,7 +1270,7 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
1253
1270
  */
1254
1271
  sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
1255
1272
  /**
1256
- * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Form_%3Cinput%3E_types).
1273
+ * Type of the `input` element. It should be [a valid HTML5 input type](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types).
1257
1274
  * @default 'text'
1258
1275
  */
1259
1276
  type: e.string,
@@ -1262,15 +1279,15 @@ process.env.NODE_ENV !== "production" && (re.propTypes = {
1262
1279
  */
1263
1280
  value: e.any
1264
1281
  });
1265
- re && (re.muiName = "Input");
1282
+ Ae.muiName = "Input";
1266
1283
  export {
1267
- re as F,
1284
+ Ae as F,
1268
1285
  ke as I,
1269
- Be as a,
1270
- Fe as b,
1271
- io as c,
1286
+ Ee as a,
1287
+ Be as b,
1288
+ so as c,
1272
1289
  ye as d,
1273
1290
  k as f,
1274
1291
  V as i,
1275
- Oe as r
1292
+ Fe as r
1276
1293
  };