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,20 +1,19 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import o from "../Shared/Container/index.js";
1
+ import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
+ import { Typography as o, Grid as r } from "@mui/material";
3
+ import s from "../Shared/Container/index.js";
3
4
  import e from "../Shared/appButton.js";
4
- import s from "../../../hoc/withThemeProvider.js";
5
- import { T as c } from "../../../Typography-pAaje37G.js";
6
- import { G as n } from "../../../Grid-CFe3amXO.js";
7
- const l = ({ navigate: i }) => /* @__PURE__ */ t(o, { children: [
8
- /* @__PURE__ */ r(c, { variant: "h5", children: /* @__PURE__ */ r("strong", { children: "Welcome to EverWallet Enterprise" }) }),
9
- /* @__PURE__ */ t(n, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
10
- /* @__PURE__ */ r(n, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
5
+ import c from "../../../hoc/withThemeProvider.js";
6
+ const l = ({ navigate: i }) => /* @__PURE__ */ t(s, { children: [
7
+ /* @__PURE__ */ n(o, { variant: "h5", children: /* @__PURE__ */ n("strong", { children: "Welcome to EverWallet" }) }),
8
+ /* @__PURE__ */ t(r, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
9
+ /* @__PURE__ */ n(r, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
11
10
  i("/signin");
12
- }, fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Sign In" }) }) }),
13
- /* @__PURE__ */ r(n, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
11
+ }, fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Sign In" }) }) }),
12
+ /* @__PURE__ */ n(r, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
14
13
  i("/signup");
15
- }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Create Account" }) }) })
14
+ }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Create Account" }) }) })
16
15
  ] })
17
- ] }), x = s(l);
16
+ ] }), f = c(l);
18
17
  export {
19
- x as default
18
+ f as default
20
19
  };
@@ -1,64 +1,60 @@
1
- import { jsxs as s, Fragment as g, jsx as e } from "react/jsx-runtime";
2
- import { useState as C, useEffect as T } from "react";
3
- import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
- import { C as j } from "../../../Close-CNwiMz_O.js";
1
+ import { jsxs as s, Fragment as f, jsx as e } from "react/jsx-runtime";
2
+ import { useState as R, useEffect as _ } from "react";
3
+ import { u as b } from "../../../react-redux-C7I9-1M6.js";
4
+ import { Typography as u, Box as w, FormControl as j, TextField as $, Dialog as J, IconButton as X, DialogContent as Y, Grid as n } from "@mui/material";
5
+ import { C as Z } from "../../../Close-DSxLLo08.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
- import w from "../Shared/appButton.js";
7
+ import { AuthContainer as ee } from "../Shared/Container/index.js";
8
+ import T from "../Shared/appButton.js";
7
9
  import "../../../hoc/withThemeProvider.js";
8
- import { displayWalletAddress as $ } from "../../../util/functions.js";
9
- import { BACK_BTN_ICON as J, EVER_CHAIN_NETWORK as B, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
10
- import "../Shared/Auth/otpForm.js";
11
- import { an as X, ao as Y, ap as Z, aq as ee, ar as te } from "../../../constants-DrmtdI1J.js";
12
- import { a as re } from "../../../index-BQNs1mvn.js";
13
- import { h as se } from "../../../wallet-CauUBXou.js";
14
- import { useSnackBarContext as oe } from "../../../context/snackBarContext.js";
15
- import ae from "../../../hooks/useEverestDispatch.js";
16
- import { numberFormat as ne, fromHuman as ie, getGweiFromWei as ce, getUnFormattedValueFromWei as le } from "../../../util/conversions.js";
10
+ import { displayWalletAddress as te } from "../../../util/functions.js";
11
+ import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as k, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
12
+ import "../../../otpForm-DeeegaX2.js";
13
+ import { at as se, au as oe, av as ne, aw as ae, ax as ie } from "../../../constants-DX0YBtP2.js";
14
+ import { a as ce } from "../../../index-BQNs1mvn.js";
15
+ import { h as le } from "../../../wallet-BPXOp8UG.js";
16
+ import { useSnackBarContext as de } from "../../../context/snackBarContext.js";
17
+ import me from "../../../hooks/useEverestDispatch.js";
18
+ import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
17
19
  import "../../../index-CAoLi5Qq.js";
18
20
  import "../../../react-webcam-B3cXh1XT.js";
19
21
  import "../../Shared/transition.js";
20
- import "../../../tooltip-3UvETWtS.js";
22
+ import "../../../tooltip-BW0UyWw7.js";
21
23
  import "../../../moment-h96o7c8I.js";
22
24
  import "../../../index.esm-BsMAMhYW.js";
23
25
  import "../../../web3-u4qDZYpo.js";
24
26
  import "../../../index-ceeCtFuh.js";
25
27
  import "../../../index.esm-I_Bp2YLf.js";
26
28
  import "../../../context/dialogContext.js";
27
- import { B as p } from "../../../Box-B0YSYLco.js";
28
- import { T as u } from "../../../Typography-pAaje37G.js";
29
- import { F as me } from "../../../FormControl-RtZDQMdA.js";
30
- import { T as de } from "../../../TextField-DPpRUQe3.js";
31
- import { D as he, a as pe } from "../../../DialogContent-BMwlOnbW.js";
32
- import { I as ue } from "../../../IconButton-DHm-hucF.js";
33
- import { G as a } from "../../../Grid-CFe3amXO.js";
34
- import '../../../assets/index6.css';const fe = (r) => ({
35
- type: Y,
36
- payload: r
37
- }), ge = (r) => ({
38
- type: Z,
29
+ import "@mui/icons-material";
30
+ import '../../../assets/index6.css';const ge = (r) => ({
31
+ type: oe,
39
32
  payload: r
40
33
  }), xe = (r) => ({
41
- type: ee,
34
+ type: ne,
42
35
  payload: r
43
36
  }), Ee = (r) => ({
44
- type: te,
37
+ type: ae,
38
+ payload: r
39
+ }), _e = (r) => ({
40
+ type: ie,
45
41
  payload: r
46
- }), _e = () => ({
47
- type: X
48
- }), Te = "_container_nw82g_1", y = {
42
+ }), we = () => ({
43
+ type: se
44
+ }), Te = "_container_nw82g_1", q = {
49
45
  container: Te,
50
46
  "inner-container": "_inner-container_nw82g_13",
51
47
  "heading-text": "_heading-text_nw82g_27",
52
48
  "close-btn": "_close-btn_nw82g_41"
53
- }, st = ({
49
+ }, et = ({
54
50
  token: r,
55
- network: n,
56
- tokenAddress: A,
57
- depositAddress: S,
58
- onBack: m,
59
- initialBalance: d
51
+ network: a,
52
+ tokenAddress: M,
53
+ depositAddress: A,
54
+ onBack: d,
55
+ initialBalance: m
60
56
  }) => {
61
- const { showAlertMessage: W } = oe(), h = ae(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, G = i.error, v = i.withdrawStatus, R = i.txId, k = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, z = (t) => {
57
+ const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, z = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
62
58
  var o;
63
59
  if (t)
64
60
  return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
@@ -66,18 +62,18 @@ import '../../../assets/index6.css';const fe = (r) => ({
66
62
  var o;
67
63
  if (t)
68
64
  return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
69
- }, F = N((t) => t.user.wallets);
70
- F.loader;
71
- const P = F.data, x = n === B ? M : B, l = N(re).everWalletAddress, [U, D] = C(d ?? ""), H = ne(U), [b, O] = C(""), [V, E] = C(!1), _ = ie(b, r === "ID" ? 18 : 6);
72
- T(() => (d || h(se()), () => {
73
- h(_e());
74
- }), [d]), T(() => {
75
- i.showFeePopUp && k(c) > 0 && E(!0);
76
- }, [c, i.showFeePopUp]), T(() => {
77
- G && W({ message: G });
78
- }, [G]), T(() => {
79
- if (d) {
80
- D(d);
65
+ }, I = b((t) => t.user.wallets);
66
+ I.loader;
67
+ const P = I.data, g = a === k ? N : k, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
68
+ _(() => (m || h(le()), () => {
69
+ h(we());
70
+ }), [m]), _(() => {
71
+ i.showFeePopUp && z(c) > 0 && x(!0);
72
+ }, [c, i.showFeePopUp]), _(() => {
73
+ y && S({ message: y });
74
+ }, [y]), _(() => {
75
+ if (m) {
76
+ F(m);
81
77
  return;
82
78
  }
83
79
  const t = P.find(
@@ -85,48 +81,48 @@ import '../../../assets/index6.css';const fe = (r) => ({
85
81
  );
86
82
  if (t) {
87
83
  const o = t.tokens;
88
- for (let f = 0; f < o.length; f++)
89
- if (o[f].network.toLowerCase() === x.toLowerCase() && o[f].symbol === r) {
90
- D(o[f].fmt_balance.replaceAll(",", ""));
84
+ for (let p = 0; p < o.length; p++)
85
+ if (o[p].network.toLowerCase() === g.toLowerCase() && o[p].symbol === r) {
86
+ F(o[p].fmt_balance.replaceAll(",", ""));
91
87
  break;
92
88
  }
93
89
  }
94
- }, [P, l, d]);
90
+ }, [P, l, m]);
95
91
  const K = (t) => {
96
92
  t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
97
93
  }, Q = () => {
98
94
  if (!c) {
99
- W({
95
+ S({
100
96
  message: "Gas fee data is not available. Please try again."
101
97
  });
102
98
  return;
103
99
  }
104
- h(n === M ? ge({
100
+ h(a === N ? xe({
105
101
  walletAddress: l,
106
- amount: _,
102
+ amount: E,
107
103
  token: r,
108
104
  gas: c
109
- }) : Ee({
110
- amount: _,
105
+ }) : _e({
106
+ amount: E,
111
107
  fromAddress: l,
112
- toAddress: S,
113
- tokenAddress: A,
108
+ toAddress: A,
109
+ tokenAddress: M,
114
110
  gas: c
115
111
  }));
116
- }, q = () => {
117
- h(n === M ? fe({
112
+ }, D = () => {
113
+ h(a === N ? ge({
118
114
  walletAddress: l,
119
- amount: _,
115
+ amount: E,
120
116
  token: r
121
- }) : xe({
122
- amount: _,
117
+ }) : Ee({
118
+ amount: E,
123
119
  fromAddress: l,
124
- toAddress: S,
125
- tokenAddress: A
120
+ toAddress: A,
121
+ tokenAddress: M
126
122
  }));
127
123
  };
128
- return /* @__PURE__ */ s(g, { children: [
129
- /* @__PURE__ */ e(p, { className: y.container, children: /* @__PURE__ */ s(p, { className: y["inner-container"], children: [
124
+ return /* @__PURE__ */ s(f, { children: [
125
+ /* @__PURE__ */ s(ee, { children: [
130
126
  /* @__PURE__ */ e(
131
127
  "img",
132
128
  {
@@ -136,8 +132,8 @@ import '../../../assets/index6.css';const fe = (r) => ({
136
132
  left: "-18px"
137
133
  },
138
134
  className: "cursor-pointer",
139
- src: J,
140
- onClick: () => m ? m() : alert("backFunc"),
135
+ src: re,
136
+ onClick: () => d ? d() : alert("backFunc"),
141
137
  alt: "back"
142
138
  }
143
139
  ),
@@ -145,33 +141,33 @@ import '../../../assets/index6.css';const fe = (r) => ({
145
141
  u,
146
142
  {
147
143
  sx: { ml: 4, mt: "-20px !important" },
148
- className: y["heading-text"],
144
+ className: q["heading-text"],
149
145
  variant: "h5",
150
146
  children: /* @__PURE__ */ s("strong", { children: [
151
147
  "Move ",
152
148
  r,
153
149
  " to ",
154
- n
150
+ a
155
151
  ] })
156
152
  }
157
153
  ),
158
- /* @__PURE__ */ s(p, { className: "container-padding text-center", children: [
154
+ /* @__PURE__ */ s(w, { className: "container-padding text-center", children: [
159
155
  /* @__PURE__ */ s(u, { variant: "h5", children: [
160
- x,
156
+ g,
161
157
  " ",
162
158
  r,
163
159
  " Balance: ",
164
160
  /* @__PURE__ */ e("strong", { children: H })
165
161
  ] }),
166
- /* @__PURE__ */ e(me, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
167
- de,
162
+ /* @__PURE__ */ e(j, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
163
+ $,
168
164
  {
169
- label: `Amount to Move to ${n}`,
170
- value: b,
165
+ label: `Amount to Move to ${a}`,
166
+ value: G,
171
167
  fullWidth: !0,
172
168
  required: !0,
173
169
  onChange: (t) => K(t.target.value),
174
- onKeyPress: (t) => t.key === "Enter" && q()
170
+ onKeyPress: (t) => t.key === "Enter" && D()
175
171
  }
176
172
  ) }),
177
173
  /* @__PURE__ */ e(
@@ -185,19 +181,19 @@ import '../../../assets/index6.css';const fe = (r) => ({
185
181
  }
186
182
  ),
187
183
  /* @__PURE__ */ e(
188
- w,
184
+ T,
189
185
  {
190
186
  sx: { mt: 4 },
191
- onClick: q,
192
- isLoading: I,
187
+ onClick: D,
188
+ isLoading: W,
193
189
  fullWidth: !0,
194
190
  children: /* @__PURE__ */ e("strong", { children: "Move" })
195
191
  }
196
192
  )
197
193
  ] })
198
- ] }) }),
194
+ ] }),
199
195
  /* @__PURE__ */ s(
200
- he,
196
+ J,
201
197
  {
202
198
  open: V,
203
199
  fullWidth: !0,
@@ -210,55 +206,55 @@ import '../../../assets/index6.css';const fe = (r) => ({
210
206
  },
211
207
  children: [
212
208
  !v && /* @__PURE__ */ e(
213
- ue,
209
+ X,
214
210
  {
215
211
  "aria-label": "close",
216
- onClick: () => E(!1),
217
- className: y["close-btn"],
218
- children: /* @__PURE__ */ e(j, {})
212
+ onClick: () => x(!1),
213
+ className: q["close-btn"],
214
+ children: /* @__PURE__ */ e(Z, {})
219
215
  }
220
216
  ),
221
- /* @__PURE__ */ s(pe, { sx: { py: 6 }, children: [
217
+ /* @__PURE__ */ s(Y, { sx: { py: 6 }, children: [
222
218
  /* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
223
219
  "Move to ",
224
- n,
220
+ a,
225
221
  " Confirmation"
226
222
  ] }) }),
227
- v ? /* @__PURE__ */ s(g, { children: [
223
+ v ? /* @__PURE__ */ s(f, { children: [
228
224
  /* @__PURE__ */ e(
229
225
  u,
230
226
  {
231
227
  sx: { mt: 2, mb: 2 },
232
228
  className: "text-center",
233
229
  variant: "body1",
234
- children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
230
+ children: v === "finished" ? /* @__PURE__ */ s(f, { children: [
235
231
  r,
236
232
  " has been successfully withdraw from ",
237
- x,
233
+ g,
238
234
  " ",
239
235
  "to ",
240
- n,
236
+ a,
241
237
  "Network."
242
- ] }) : /* @__PURE__ */ s(g, { children: [
238
+ ] }) : /* @__PURE__ */ s(f, { children: [
243
239
  r,
244
240
  " withdraw from ",
245
- x,
241
+ g,
246
242
  " to ",
247
- n,
243
+ a,
248
244
  " network is currently ongoing. Please check balance after 2 minutes."
249
245
  ] })
250
246
  }
251
247
  ),
252
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
253
- w,
248
+ /* @__PURE__ */ e(w, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
249
+ T,
254
250
  {
255
251
  sx: { mt: 2 },
256
- onClick: () => m ? m() : E(!1),
252
+ onClick: () => d ? d() : x(!1),
257
253
  fullWidth: !0,
258
254
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
259
255
  }
260
256
  ) })
261
- ] }) : R ? /* @__PURE__ */ s(g, { children: [
257
+ ] }) : C ? /* @__PURE__ */ s(f, { children: [
262
258
  /* @__PURE__ */ e(
263
259
  u,
264
260
  {
@@ -268,52 +264,52 @@ import '../../../assets/index6.css';const fe = (r) => ({
268
264
  children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
269
265
  }
270
266
  ),
271
- /* @__PURE__ */ e(p, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
267
+ /* @__PURE__ */ e(w, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
272
268
  "a",
273
269
  {
274
270
  style: { wordBreak: "break-all" },
275
- href: "https://etherscan.io/tx/" + R,
271
+ href: "https://etherscan.io/tx/" + C,
276
272
  rel: "noopener noreferrer",
277
273
  target: "_blank",
278
274
  children: [
279
275
  "https://etherscan.io/tx/",
280
- R
276
+ C
281
277
  ]
282
278
  }
283
279
  ) }),
284
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
285
- w,
280
+ /* @__PURE__ */ e(w, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
281
+ T,
286
282
  {
287
283
  sx: { mt: 2 },
288
- onClick: () => m ? m() : E(!1),
284
+ onClick: () => d ? d() : x(!1),
289
285
  fullWidth: !0,
290
286
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
291
287
  }
292
288
  ) })
293
- ] }) : /* @__PURE__ */ s(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
294
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
295
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
296
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
297
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: b }),
298
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
299
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: $(l) }),
300
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
301
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
302
- ce(z(c) ?? ""),
289
+ ] }) : /* @__PURE__ */ s(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
290
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
291
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
292
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
293
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: G }),
294
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
295
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: te(l) }),
296
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
297
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
298
+ pe(B(c) ?? ""),
303
299
  " Gwei"
304
300
  ] }),
305
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
306
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
307
- le(L(c) ?? ""),
301
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
302
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
303
+ fe(L(c) ?? ""),
308
304
  " ",
309
305
  "ETH"
310
306
  ] }),
311
307
  /* @__PURE__ */ e(
312
- w,
308
+ T,
313
309
  {
314
310
  sx: { mt: 4 },
315
311
  onClick: Q,
316
- isLoading: I,
312
+ isLoading: W,
317
313
  fullWidth: !0,
318
314
  children: /* @__PURE__ */ e("strong", { children: "Move" })
319
315
  }
@@ -326,5 +322,5 @@ import '../../../assets/index6.css';const fe = (r) => ({
326
322
  ] });
327
323
  };
328
324
  export {
329
- st as default
325
+ et as default
330
326
  };
@@ -1,32 +1,27 @@
1
- import { jsx as o, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
2
  import C from "react";
3
- import { c as b } from "../../../createSvgIcon-Cuzqm90l.js";
4
- import { B as p } from "../../../Box-B0YSYLco.js";
5
- import { B as M } from "../../../Button-Df4vgU24.js";
6
- import { A as h } from "../../../Avatar-1XklXr4O.js";
7
- import { T as m } from "../../../Typography-pAaje37G.js";
8
- import { M as I } from "../../../Menu-DLYFFrEk.js";
9
- import { M as k } from "../../../MenuItem-DUdYOJr4.js";
10
- const v = b(/* @__PURE__ */ o("path", {
3
+ import { Box as p, Button as b, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
4
+ import { c as v } from "../../../createSvgIcon-B28GrUxG.js";
5
+ const M = v(/* @__PURE__ */ o("path", {
11
6
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
12
7
  }), "ExpandMore");
13
- function z({
14
- list: e,
15
- iconUrl: f,
8
+ function B({
9
+ list: a,
10
+ iconUrl: u,
16
11
  value: r,
17
- setValue: g,
12
+ setValue: f,
18
13
  allText: l
19
14
  }) {
20
- const [c, i] = C.useState(null), u = !!c, x = (n) => {
15
+ const [c, i] = C.useState(null), x = !!c, m = (n) => {
21
16
  i(n.currentTarget);
22
- }, s = (n) => {
23
- i(null), typeof n == "string" && g(n);
24
- }, t = e.find((n) => n.label === r), d = f || (t == null ? void 0 : t.img);
25
- return /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
26
- /* @__PURE__ */ a(
27
- M,
17
+ }, d = (n) => {
18
+ i(null), typeof n == "string" && f(n);
19
+ }, e = a.find((n) => n.label === r), s = u || (e == null ? void 0 : e.img);
20
+ return /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
21
+ /* @__PURE__ */ t(
22
+ b,
28
23
  {
29
- onClick: x,
24
+ onClick: m,
30
25
  sx: {
31
26
  textTransform: "none",
32
27
  color: "#000",
@@ -36,26 +31,26 @@ function z({
36
31
  backgroundColor: "transparent"
37
32
  }
38
33
  },
39
- endIcon: /* @__PURE__ */ o(v, {}),
34
+ endIcon: /* @__PURE__ */ o(M, {}),
40
35
  children: [
41
- d && /* @__PURE__ */ o(
36
+ s && /* @__PURE__ */ o(
42
37
  h,
43
38
  {
44
- src: d,
39
+ src: s,
45
40
  alt: "dd-icon",
46
41
  sx: { width: 24, height: 24, marginRight: 1 }
47
42
  }
48
43
  ),
49
- /* @__PURE__ */ o(m, { variant: "body2", fontWeight: 500, children: r || l || "All" })
44
+ /* @__PURE__ */ o(g, { variant: "body2", fontWeight: 500, children: r || l || "All" })
50
45
  ]
51
46
  }
52
47
  ),
53
- /* @__PURE__ */ o(I, { anchorEl: c, open: u, onClose: () => s(null), children: e.map((n, y) => /* @__PURE__ */ o(
48
+ /* @__PURE__ */ o(I, { anchorEl: c, open: x, onClose: () => d(null), children: a.map((n, y) => /* @__PURE__ */ o(
54
49
  k,
55
50
  {
56
- onClick: () => s(n.value),
51
+ onClick: () => d(n.value),
57
52
  value: n.value,
58
- children: /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", gap: 1, children: [
53
+ children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
59
54
  n.img && /* @__PURE__ */ o(
60
55
  h,
61
56
  {
@@ -64,7 +59,7 @@ function z({
64
59
  sx: { width: 20, height: 20 }
65
60
  }
66
61
  ),
67
- /* @__PURE__ */ o(m, { variant: "body2", children: n.label })
62
+ /* @__PURE__ */ o(g, { variant: "body2", children: n.label })
68
63
  ] })
69
64
  },
70
65
  y
@@ -72,5 +67,5 @@ function z({
72
67
  ] });
73
68
  }
74
69
  export {
75
- z as default
70
+ B as default
76
71
  };