everest-npm-features 0.0.61 → 0.0.63

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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,103 +1,94 @@
1
1
  import { jsxs as s, Fragment as $, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as m, useEffect as S } from "react";
3
- import { C as ke } from "../../../Close-CNwiMz_O.js";
4
- import { aE as xe, aF as we, aG as Te, aH as ve, aI as ye, aJ as Se } from "../../../constants-DrmtdI1J.js";
5
- import { f as Ae } from "../../../wallet-CauUBXou.js";
6
- import { ETHEREUM_NETWORK as Ee, EVER_CHAIN_NETWORK as be, ID_TOKEN_SYMBOL as Ne, SYNTHETIC_EUR as V } from "../../../util/constants.js";
3
+ import { Backdrop as ke, CircularProgress as V, Box as b, Typography as w, FormControl as A, Select as I, MenuItem as T, TextField as j, Grid as o, Dialog as xe, IconButton as we, DialogContent as Te } from "@mui/material";
4
+ import { C as ve } from "../../../Close-DSxLLo08.js";
5
+ import { aE as ye, aF as Se, aG as Ae, aH as Ee, aI as be, aJ as Ne } from "../../../constants-DX0YBtP2.js";
6
+ import { f as We } from "../../../wallet-BPXOp8UG.js";
7
+ import { ETHEREUM_NETWORK as Ce, EVER_CHAIN_NETWORK as Ie, ID_TOKEN_SYMBOL as _e, SYNTHETIC_EUR as Y } from "../../../util/constants.js";
7
8
  import "../../../index-DlQqWbXG.js";
8
- import W from "../Shared/appButton.js";
9
- import Ce from "../../../hoc/withThemeProvider.js";
10
- import { u as _ } from "../../../react-redux-C7I9-1M6.js";
11
- import { tokenBalanceDisplay as Ie, getNetworkScanBaseUrl as j, displayWalletAddress as Y } from "../../../util/functions.js";
12
- import "../Shared/Auth/otpForm.js";
13
- import { useSnackBarContext as We } from "../../../context/snackBarContext.js";
14
- import _e from "../../../hooks/useEverestDispatch.js";
15
- import { getGweiFromWei as Le, getUnFormattedValueFromWei as ze, fromHuman as L } from "../../../util/conversions.js";
9
+ import _ from "../Shared/appButton.js";
10
+ import Le from "../../../hoc/withThemeProvider.js";
11
+ import { u as L } from "../../../react-redux-C7I9-1M6.js";
12
+ import { tokenBalanceDisplay as ze, getNetworkScanBaseUrl as J, displayWalletAddress as X } from "../../../util/functions.js";
13
+ import "../../../otpForm-DeeegaX2.js";
14
+ import { useSnackBarContext as Re } from "../../../context/snackBarContext.js";
15
+ import Pe from "../../../hooks/useEverestDispatch.js";
16
+ import { getGweiFromWei as Ge, getUnFormattedValueFromWei as Fe, fromHuman as z } from "../../../util/conversions.js";
16
17
  import "../../../index-CAoLi5Qq.js";
17
18
  import "../../../react-webcam-B3cXh1XT.js";
18
19
  import "../../Shared/transition.js";
19
- import "../../../tooltip-3UvETWtS.js";
20
+ import "../../../tooltip-BW0UyWw7.js";
20
21
  import "../../../moment-h96o7c8I.js";
21
22
  import "../../../index.esm-BsMAMhYW.js";
22
23
  import "../../../web3-u4qDZYpo.js";
23
24
  import "../../../index-ceeCtFuh.js";
24
25
  import "../../../index.esm-I_Bp2YLf.js";
25
26
  import "../../../context/dialogContext.js";
26
- import { B as Re } from "../../../Backdrop-CioURPVG.js";
27
- import { C as J } from "../../../CircularProgress-xZA3lvba.js";
28
- import { B as b } from "../../../Box-B0YSYLco.js";
29
- import { T as w } from "../../../Typography-pAaje37G.js";
30
- import { F as A } from "../../../FormControl-RtZDQMdA.js";
31
- import { S as z } from "../../../Select-CB5yWmyn.js";
32
- import { M as T } from "../../../MenuItem-DUdYOJr4.js";
33
- import { T as X } from "../../../TextField-DPpRUQe3.js";
34
- import { G as n } from "../../../Grid-CFe3amXO.js";
35
- import { D as Pe, a as Ge } from "../../../DialogContent-BMwlOnbW.js";
36
- import { I as Be } from "../../../IconButton-DHm-hucF.js";
37
- import '../../../assets/index7.css';const Fe = () => ({
38
- type: xe
39
- }), Me = (g) => ({
40
- type: ve,
27
+ import "@mui/icons-material";
28
+ import '../../../assets/index7.css';const Me = () => ({
29
+ type: ye
30
+ }), Ue = (g) => ({
31
+ type: Ee,
41
32
  payload: g
42
33
  }), R = () => ({
43
- type: we
44
- }), Ue = (g) => ({
45
- type: ye,
34
+ type: Se
35
+ }), Be = (g) => ({
36
+ type: be,
46
37
  payload: g
47
38
  }), Oe = (g) => ({
48
- type: Se,
39
+ type: Ne,
49
40
  payload: g
50
41
  }), Z = () => ({
51
- type: Te
42
+ type: Ae
52
43
  }), qe = "_container_uzn46_1", ee = {
53
44
  container: qe,
54
45
  "inner-container": "_inner-container_uzn46_13"
55
- }, De = ({ navigate: g }) => {
56
- var H, K;
57
- const { showAlertMessage: i } = We(), d = _e(), P = _((t) => t.app.network), te = P.loader, G = P.list, o = _((t) => t.send), a = o == null ? void 0 : o.gasFee, E = o == null ? void 0 : o.txId, B = o == null ? void 0 : o.loader, N = o == null ? void 0 : o.error, F = _((t) => t.user.wallets), M = F.loader, C = F.data, re = te || M, [h, U] = m(""), [u, O] = m(""), [f, oe] = m({}), [p, ne] = m(Ee), [q, D] = m(0), [se, ae] = m([]), [x, ie] = m(""), [c, le] = m(""), [de, I] = m(!1), l = G.find(
46
+ }, He = ({ navigate: g }) => {
47
+ var K, D;
48
+ const { showAlertMessage: i } = Re(), d = Pe(), P = L((t) => t.app.network), te = P.loader, G = P.list, r = L((t) => t.send), a = r == null ? void 0 : r.gasFee, E = r == null ? void 0 : r.txId, F = r == null ? void 0 : r.loader, N = r == null ? void 0 : r.error, M = L((t) => t.user.wallets), U = M.loader, W = M.data, ne = te || U, [h, B] = m(""), [u, O] = m(""), [f, re] = m({}), [p, oe] = m(Ce), [q, H] = m(0), [se, ae] = m([]), [x, ie] = m(""), [c, le] = m(""), [de, C] = m(!1), l = G.find(
58
49
  (t) => t.name.toLowerCase() === p.toLowerCase()
59
50
  );
60
- S(() => (d(Fe()), d(Ae()), () => {
51
+ S(() => (d(Me()), d(We()), () => {
61
52
  d(R()), d(Z());
62
53
  }), []), S(() => {
63
54
  N && i({ message: N });
64
55
  }, [N]), S(() => {
65
- o != null && o.showFeePopUp && (a == null ? void 0 : a.gasLimit) > 0 && I(!0);
66
- }, [a, o == null ? void 0 : o.showFeePopUp]), S(() => {
67
- const t = C.find(
68
- (r) => r.address === c
56
+ r != null && r.showFeePopUp && (a == null ? void 0 : a.gasLimit) > 0 && C(!0);
57
+ }, [a, r == null ? void 0 : r.showFeePopUp]), S(() => {
58
+ const t = W.find(
59
+ (n) => n.address === c
69
60
  );
70
61
  if (t) {
71
- const r = t.tokens, v = [Ne], k = [], ge = p.toLowerCase();
72
- for (let y = 0; y < r.length; y++) {
73
- const Q = r[y].network.toLowerCase();
62
+ const n = t.tokens, v = [_e], k = [], ge = p.toLowerCase();
63
+ for (let y = 0; y < n.length; y++) {
64
+ const Q = n[y].network.toLowerCase();
74
65
  if (Q === ge) {
75
- if (Q === be.toLowerCase() && !v.includes(r[y].symbol))
66
+ if (Q === Ie.toLowerCase() && !v.includes(n[y].symbol))
76
67
  continue;
77
- k.push(r[y]);
68
+ k.push(n[y]);
78
69
  }
79
70
  }
80
71
  ae(k);
81
72
  }
82
73
  }, [p, c]), S(() => {
83
74
  if (u) {
84
- const t = C.find(
85
- (r) => r.address === c
75
+ const t = W.find(
76
+ (n) => n.address === c
86
77
  );
87
78
  if (t) {
88
79
  const v = t.tokens.find(
89
80
  (k) => k.symbol === u && l && k.network.toLowerCase() === l.name.toLowerCase()
90
81
  );
91
82
  if (v) {
92
- const k = Ie(v);
93
- D(parseFloat(k)), oe(v);
83
+ const k = ze(v);
84
+ H(parseFloat(k)), re(v);
94
85
  }
95
86
  }
96
87
  } else
97
- D(0);
88
+ H(0);
98
89
  }, [u]);
99
90
  const ce = (t) => {
100
- t ? /^([0-9.,]+)$/.test(t) && U(t) : U("");
91
+ t ? /^([0-9.,]+)$/.test(t) && B(t) : B("");
101
92
  }, me = () => {
102
93
  if (!p)
103
94
  return i({
@@ -129,15 +120,15 @@ import '../../../assets/index7.css';const Fe = () => ({
129
120
  return;
130
121
  }
131
122
  let t;
132
- f.symbol === V ? t = parseFloat(h) * 100 : t = L(h, f.decimals);
133
- const r = {
123
+ f.symbol === Y ? t = parseFloat(h) * 100 : t = z(h, f.decimals);
124
+ const n = {
134
125
  fromAddress: c,
135
126
  toAddress: x,
136
127
  tokenAddress: f.address,
137
128
  amount: t,
138
129
  chainId: l.chainId
139
130
  };
140
- d(Me(r));
131
+ d(Ue(n));
141
132
  }, ue = () => {
142
133
  if (d(R()), !l) {
143
134
  i({ message: "Network not selected" });
@@ -153,7 +144,7 @@ import '../../../assets/index7.css';const Fe = () => ({
153
144
  i({ message: "Network not selected" });
154
145
  return;
155
146
  }
156
- const t = L(h, f.decimals), r = {
147
+ const t = z(h, f.decimals), n = {
157
148
  pin: "",
158
149
  payload: {
159
150
  fromAddress: c,
@@ -163,7 +154,7 @@ import '../../../assets/index7.css';const Fe = () => ({
163
154
  gas: a
164
155
  }
165
156
  };
166
- d(Ue(r));
157
+ d(Be(n));
167
158
  }, pe = () => {
168
159
  if (!a) {
169
160
  i({ message: "Gas fee data is not available" });
@@ -174,8 +165,8 @@ import '../../../assets/index7.css';const Fe = () => ({
174
165
  return;
175
166
  }
176
167
  let t;
177
- f.symbol === V ? t = (parseFloat(h) * 100).toString() : t = L(h, f.decimals);
178
- const r = {
168
+ f.symbol === Y ? t = (parseFloat(h) * 100).toString() : t = z(h, f.decimals);
169
+ const n = {
179
170
  pin: "",
180
171
  payload: {
181
172
  fromAddress: c,
@@ -186,24 +177,24 @@ import '../../../assets/index7.css';const Fe = () => ({
186
177
  gas: a
187
178
  }
188
179
  };
189
- d(Oe(r));
180
+ d(Oe(n));
190
181
  };
191
182
  return /* @__PURE__ */ s($, { children: [
192
183
  /* @__PURE__ */ e(
193
- Re,
184
+ ke,
194
185
  {
195
186
  sx: {
196
187
  color: "#fff",
197
188
  zIndex: (t) => t.zIndex.drawer + 1e3
198
189
  },
199
- open: re,
200
- children: /* @__PURE__ */ e(J, { color: "inherit" })
190
+ open: ne,
191
+ children: /* @__PURE__ */ e(V, { color: "inherit" })
201
192
  }
202
193
  ),
203
194
  /* @__PURE__ */ e(b, { className: ee.container, children: /* @__PURE__ */ s(b, { className: ee["inner-container"], children: [
204
195
  /* @__PURE__ */ e(w, { variant: "body2", children: /* @__PURE__ */ e("b", { children: "Select Chain" }) }),
205
196
  /* @__PURE__ */ e(A, { sx: { mt: 1.5 }, fullWidth: !0, children: /* @__PURE__ */ s(
206
- z,
197
+ I,
207
198
  {
208
199
  sx: {
209
200
  fontWeight: "bold",
@@ -215,16 +206,16 @@ import '../../../assets/index7.css';const Fe = () => ({
215
206
  variant: "filled",
216
207
  value: p,
217
208
  displayEmpty: !0,
218
- onChange: (t) => ne(t.target.value),
209
+ onChange: (t) => oe(t.target.value),
219
210
  children: [
220
211
  /* @__PURE__ */ e(T, { value: "", children: "Please select" }),
221
- G.map((t, r) => /* @__PURE__ */ e(T, { value: t.name, children: t.name }, r))
212
+ G.map((t, n) => /* @__PURE__ */ e(T, { value: t.name, children: t.name }, n))
222
213
  ]
223
214
  }
224
215
  ) }),
225
216
  /* @__PURE__ */ e(w, { mt: 4, variant: "body2", children: /* @__PURE__ */ e("b", { children: "Sending From" }) }),
226
217
  /* @__PURE__ */ e(A, { sx: { mt: 1.5 }, fullWidth: !0, children: /* @__PURE__ */ s(
227
- z,
218
+ I,
228
219
  {
229
220
  sx: {
230
221
  fontWeight: "bold",
@@ -241,18 +232,18 @@ import '../../../assets/index7.css';const Fe = () => ({
241
232
  },
242
233
  children: [
243
234
  /* @__PURE__ */ e(T, { value: "", children: "Please select" }),
244
- C.map((t, r) => /* @__PURE__ */ s(T, { value: t.address, children: [
235
+ W.map((t, n) => /* @__PURE__ */ s(T, { value: t.address, children: [
245
236
  t.name,
246
237
  " (",
247
238
  t.address,
248
239
  ")"
249
- ] }, r))
240
+ ] }, n))
250
241
  ]
251
242
  }
252
243
  ) }),
253
244
  /* @__PURE__ */ e(w, { mt: 4, variant: "body2", children: /* @__PURE__ */ e("b", { children: "Sending To" }) }),
254
245
  /* @__PURE__ */ e(A, { sx: { mt: 1.5 }, fullWidth: !0, children: /* @__PURE__ */ e(
255
- X,
246
+ j,
256
247
  {
257
248
  variant: "filled",
258
249
  placeholder: "Recipient’s Wallet Address",
@@ -266,9 +257,9 @@ import '../../../assets/index7.css';const Fe = () => ({
266
257
  "Balance: ",
267
258
  q
268
259
  ] }) }),
269
- /* @__PURE__ */ s(n, { mt: 1.5, spacing: 2, container: !0, children: [
270
- /* @__PURE__ */ e(n, { className: "flex-center", size: 6, children: M ? /* @__PURE__ */ e(J, { size: 30, color: "inherit" }) : /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ s(
271
- z,
260
+ /* @__PURE__ */ s(o, { mt: 1.5, spacing: 2, container: !0, children: [
261
+ /* @__PURE__ */ e(o, { className: "flex-center", size: 6, children: U ? /* @__PURE__ */ e(V, { size: 30, color: "inherit" }) : /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ s(
262
+ I,
272
263
  {
273
264
  sx: {
274
265
  fontWeight: "bold",
@@ -283,12 +274,12 @@ import '../../../assets/index7.css';const Fe = () => ({
283
274
  onChange: (t) => O(t.target.value),
284
275
  children: [
285
276
  /* @__PURE__ */ e(T, { value: "", children: "Select Token" }),
286
- se.map((t, r) => /* @__PURE__ */ e(T, { value: t.symbol, children: t.symbol }, r))
277
+ se.map((t, n) => /* @__PURE__ */ e(T, { value: t.symbol, children: t.symbol }, n))
287
278
  ]
288
279
  }
289
280
  ) }) }),
290
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ e(
291
- X,
281
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ e(
282
+ j,
292
283
  {
293
284
  variant: "filled",
294
285
  placeholder: "Amount",
@@ -300,18 +291,18 @@ import '../../../assets/index7.css';const Fe = () => ({
300
291
  ) }) })
301
292
  ] }),
302
293
  /* @__PURE__ */ e(
303
- W,
294
+ _,
304
295
  {
305
296
  sx: { mt: 4 },
306
297
  onClick: he,
307
- isLoading: B,
298
+ isLoading: F,
308
299
  fullWidth: !0,
309
300
  children: /* @__PURE__ */ e("strong", { children: "Send" })
310
301
  }
311
302
  )
312
303
  ] }) }),
313
304
  /* @__PURE__ */ s(
314
- Pe,
305
+ xe,
315
306
  {
316
307
  open: de,
317
308
  fullWidth: !0,
@@ -324,11 +315,11 @@ import '../../../assets/index7.css';const Fe = () => ({
324
315
  },
325
316
  children: [
326
317
  !E && /* @__PURE__ */ e(
327
- Be,
318
+ we,
328
319
  {
329
320
  "aria-label": "close",
330
321
  onClick: () => {
331
- I(!1), d(R());
322
+ C(!1), d(R());
332
323
  },
333
324
  sx: {
334
325
  position: "absolute",
@@ -336,10 +327,10 @@ import '../../../assets/index7.css';const Fe = () => ({
336
327
  top: 8,
337
328
  zIndex: 1
338
329
  },
339
- children: /* @__PURE__ */ e(ke, {})
330
+ children: /* @__PURE__ */ e(ve, {})
340
331
  }
341
332
  ),
342
- /* @__PURE__ */ s(Ge, { sx: { py: 6 }, children: [
333
+ /* @__PURE__ */ s(Te, { sx: { py: 6 }, children: [
343
334
  /* @__PURE__ */ e(w, { className: "text-center", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Sending Confirmation" }) }),
344
335
  E ? /* @__PURE__ */ s($, { children: [
345
336
  /* @__PURE__ */ e(
@@ -355,55 +346,55 @@ import '../../../assets/index7.css';const Fe = () => ({
355
346
  "a",
356
347
  {
357
348
  style: { wordBreak: "break-all" },
358
- href: `${j(p)}tx/${E}`,
349
+ href: `${J(p)}tx/${E}`,
359
350
  rel: "noopener noreferrer",
360
351
  target: "_blank",
361
352
  children: [
362
- j(p),
353
+ J(p),
363
354
  "tx/",
364
355
  E
365
356
  ]
366
357
  }
367
358
  ) }),
368
359
  /* @__PURE__ */ e(b, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
369
- W,
360
+ _,
370
361
  {
371
362
  sx: { mt: 2 },
372
363
  onClick: () => {
373
- I(!1), d(Z()), g("/dashboard");
364
+ C(!1), d(Z()), g("/dashboard");
374
365
  },
375
366
  fullWidth: !0,
376
367
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
377
368
  }
378
369
  ) })
379
- ] }) : /* @__PURE__ */ s(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
380
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
381
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: u }),
382
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
383
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: h }),
384
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
385
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: Y(c) }),
386
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Receiver's Wallet Address" }) }),
387
- /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: Y(x) }),
388
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Limit" }) }),
389
- /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
390
- Le(((H = a == null ? void 0 : a.gasLimit) == null ? void 0 : H.toString()) || "0"),
370
+ ] }) : /* @__PURE__ */ s(o, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
371
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
372
+ /* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: u }),
373
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
374
+ /* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: h }),
375
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
376
+ /* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: X(c) }),
377
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Receiver's Wallet Address" }) }),
378
+ /* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: X(x) }),
379
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Limit" }) }),
380
+ /* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
381
+ Ge(((K = a == null ? void 0 : a.gasLimit) == null ? void 0 : K.toString()) || "0"),
391
382
  " Gwei"
392
383
  ] }),
393
- /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
394
- /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
395
- ze(
396
- ((K = a == null ? void 0 : a.totalMaxEthSpent) == null ? void 0 : K.toString()) || "0"
384
+ /* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
385
+ /* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
386
+ Fe(
387
+ ((D = a == null ? void 0 : a.totalMaxEthSpent) == null ? void 0 : D.toString()) || "0"
397
388
  ),
398
389
  " ",
399
390
  (l == null ? void 0 : l.symbol) || ""
400
391
  ] }),
401
392
  /* @__PURE__ */ e(
402
- W,
393
+ _,
403
394
  {
404
395
  sx: { mt: 4 },
405
396
  onClick: ue,
406
- isLoading: B,
397
+ isLoading: F,
407
398
  fullWidth: !0,
408
399
  children: /* @__PURE__ */ e("strong", { children: "Send" })
409
400
  }
@@ -414,7 +405,7 @@ import '../../../assets/index7.css';const Fe = () => ({
414
405
  }
415
406
  )
416
407
  ] });
417
- }, bt = Ce(De);
408
+ }, kt = Le(He);
418
409
  export {
419
- bt as default
410
+ kt as default
420
411
  };
@@ -1,13 +1,11 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as I, useEffect as b } from "react";
3
+ import { Box as a, Stack as m, Typography as f } from "@mui/material";
3
4
  import w from "../Input/index.js";
4
- import { isValidEmail as m } from "../../../../util/functions.js";
5
- import f from "../appButton.js";
5
+ import { isValidEmail as p } from "../../../../util/functions.js";
6
+ import g from "../appButton.js";
6
7
  import { LOGIN_SCREEN as C } from "../../../../util/constants.js";
7
- import { B as a } from "../../../../Box-B0YSYLco.js";
8
- import { S as p } from "../../../../Stack-k55YTxET.js";
9
- import { T as g } from "../../../../Typography-pAaje37G.js";
10
- const W = ({
8
+ const B = ({
11
9
  showAlertMessage: o,
12
10
  loader: h,
13
11
  email: t,
@@ -18,12 +16,12 @@ const W = ({
18
16
  }) => {
19
17
  const [S, s] = I(!1);
20
18
  b(() => {
21
- s(t ? !m(t) : !1);
19
+ s(t ? !p(t) : !1);
22
20
  }, [t]);
23
21
  const E = (i) => {
24
22
  if (i.preventDefault(), !t)
25
23
  return o({ message: "Please provide email address." }), !1;
26
- if (!m(t))
24
+ if (!p(t))
27
25
  return o({ message: "Please provide valid email address." }), !1;
28
26
  v(t);
29
27
  };
@@ -41,8 +39,8 @@ const W = ({
41
39
  width: "100%"
42
40
  },
43
41
  children: [
44
- /* @__PURE__ */ e(p, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ e(
45
- g,
42
+ /* @__PURE__ */ e(m, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ e(
43
+ f,
46
44
  {
47
45
  variant: "h4",
48
46
  sx: {
@@ -63,9 +61,9 @@ const W = ({
63
61
  sx: { width: "80%" }
64
62
  }
65
63
  ),
66
- /* @__PURE__ */ e(a, { mt: 4, sx: { width: "100%" }, children: /* @__PURE__ */ r(p, { direction: "column", alignItems: "center", spacing: 1.5, children: [
64
+ /* @__PURE__ */ e(a, { mt: 4, sx: { width: "100%" }, children: /* @__PURE__ */ r(m, { direction: "column", alignItems: "center", spacing: 1.5, children: [
67
65
  /* @__PURE__ */ e(
68
- f,
66
+ g,
69
67
  {
70
68
  type: "submit",
71
69
  variant: "contained",
@@ -74,9 +72,9 @@ const W = ({
74
72
  children: /* @__PURE__ */ e("strong", { children: n })
75
73
  }
76
74
  ),
77
- /* @__PURE__ */ e(g, { variant: "xs", align: "center", children: l }),
75
+ /* @__PURE__ */ e(f, { variant: "xs", align: "center", children: l }),
78
76
  /* @__PURE__ */ e(
79
- f,
77
+ g,
80
78
  {
81
79
  onClick: () => x(c),
82
80
  variant: "contained",
@@ -92,5 +90,5 @@ const W = ({
92
90
  );
93
91
  };
94
92
  export {
95
- W as default
93
+ B as default
96
94
  };