everest-npm-features 0.0.13 → 0.0.15
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.
- package/dist/{Alert-Da8Q-zA-.js → Alert-DleEulFt.js} +99 -100
- package/dist/ArrowBack-DlpUhUax.js +8 -0
- package/dist/{ArrowDropDown-CB41NDS2.js → ArrowDropDown-B4n-Or06.js} +1 -1
- package/dist/{ArrowRight-DplnroSW.js → ArrowRight-Dqbjrbq7.js} +1 -1
- package/dist/{Box-B1yq36Zl.js → Box-Dg5YL71c.js} +4 -4
- package/dist/{Button-RhIIYrVA.js → Button-URmXuR7L.js} +14 -15
- package/dist/{ButtonBase-nNQGsITG.js → ButtonBase-DMZ5Yya_.js} +5 -6
- package/dist/{Cancel-DRgf8LOx.js → Cancel-W4CL5EwJ.js} +1 -1
- package/dist/{CardContent-Dhm-V65j.js → CardContent-DK3Z3N6m.js} +31 -32
- package/dist/{CircularProgress-r4YDqPph.js → CircularProgress-BShHoQbM.js} +6 -7
- package/dist/{Close-wTvkGNu_.js → Close-Drz_1Cma.js} +1 -1
- package/dist/{Container-XaSeftCC.js → Container-DOt_WDG9.js} +4 -4
- package/dist/{ContentCopy-CWUuFnH9.js → ContentCopy-CSmkb1dz.js} +1 -1
- package/dist/DefaultPropsProvider-5tIQ66gk.js +88 -0
- package/dist/{styled-BYKS1WRW.js → DefaultPropsProvider-D1ZRCAhv.js} +167 -150
- package/dist/{Delete-DKVDR5no.js → Delete-BeH9eSuy.js} +1 -1
- package/dist/{DialogContent-B8RDX20F.js → DialogContent-CntTpnUi.js} +14 -15
- package/dist/{DialogTitle-B8V03qFK.js → DialogTitle-DUNaosnR.js} +12 -13
- package/dist/{Divider-CkBkaVNU.js → Divider-B-PuJDLx.js} +30 -31
- package/dist/ErrorOutline-D7__T0wX.js +8 -0
- package/dist/FilledInput-CAtG9Qdk.js +1299 -0
- package/dist/{FormControl-CEQUgsVH.js → FormControl-2O9G0Uio.js} +18 -20
- package/dist/{GlobalStyles-DHmHsV2_.js → GlobalStyles-DA0jAD4D.js} +2 -2
- package/dist/{Grid-BSyufPAS.js → Grid-D9MNL9_a.js} +5 -5
- package/dist/{Grid2-C3moy0LA.js → Grid2-CYB7zT__.js} +6 -6
- package/dist/{Grow-Dn6eK91k.js → Grow-h-Gdo-9N.js} +6 -6
- package/dist/{IconButton-C0cj2n1O.js → IconButton-C9zoz_co.js} +6 -7
- package/dist/{Info-DempPLhJ.js → Info--iLHF6tO.js} +1 -1
- package/dist/{InputAdornment-eHKIY-JA.js → InputAdornment-DjDZEW73.js} +21 -22
- package/dist/{FormControlLabel-BiWFmP1H.js → Link-C2epBeQ2.js} +470 -216
- package/dist/{ListItemIcon-DqTB0XEf.js → ListItemIcon-DnbnPcmb.js} +8 -9
- package/dist/{MenuItem-r5fG490P.js → MenuItem-CwNgel9B.js} +21 -22
- package/dist/{Modal-DfCWYujt.js → Modal-DArhlzWc.js} +14 -15
- package/dist/{Paper-6ulaCzyM.js → Paper-C3LLozy7.js} +36 -37
- package/dist/{PlayArrow-D_X2lBvS.js → PlayArrow-C5Pcs6y3.js} +4 -4
- package/dist/{Portal-D__M1zn-.js → Portal-85fqk2Oo.js} +3 -3
- package/dist/Select-D3_7Y7hs.js +2787 -0
- package/dist/{Slide-mtYUK7dK.js → Slide-BKeUzqUD.js} +5 -5
- package/dist/{Stack-D5Vxe6Co.js → Stack-DcyCfYaK.js} +5 -5
- package/dist/{TextField-MDDs13xT.js → TextField-q50CZQKQ.js} +29 -30
- package/dist/{Transition-ChuHjwtI.js → Transition-DMUpKF8t.js} +1 -1
- package/dist/{Typography-CxQIkv7u.js → Typography-D7sM-Gzr.js} +39 -40
- package/dist/assets/iban.css +1 -0
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/main.css +1 -1
- package/dist/{auth-Cu3kwR9I.js → auth-CmU-Oza0.js} +32 -28
- package/dist/bank-DLbq9Bzw.js +34 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +17 -18
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +8 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +15 -15
- package/dist/components/RocketRamp/Player/Buy/index.js +13 -27
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +15 -15
- package/dist/components/RocketRamp/Player/Sell/index.js +15 -17
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +15 -15
- package/dist/components/RocketRamp/Player/SignUp/email.js +13 -13
- package/dist/components/RocketRamp/Player/SignUp/index.js +14 -14
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +14 -15
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +5 -5
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +17 -17
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +23 -24
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/HistoryItem/index.js +8 -8
- package/dist/components/Shared/MinimalKyc/index.d.ts +10 -0
- package/dist/components/Shared/MinimalKyc/index.js +222 -0
- package/dist/components/Shared/tooltip.js +20 -21
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.d.ts +11 -0
- package/dist/components/Wallet/Account/createIban.js +302 -0
- package/dist/components/Wallet/Account/iban.d.ts +13 -0
- package/dist/components/Wallet/Account/iban.js +27 -0
- package/dist/components/Wallet/Account/index.d.ts +3 -0
- package/dist/components/Wallet/Account/index.js +174 -173
- package/dist/components/Wallet/Account/sendIban.d.ts +9 -0
- package/dist/components/Wallet/Account/sendIban.js +270 -0
- package/dist/components/Wallet/Buy/confirmTransaction.d.ts +3 -0
- package/dist/components/Wallet/Buy/confirmTransaction.js +16 -0
- package/dist/components/Wallet/Buy/form.d.ts +3 -0
- package/dist/components/Wallet/Buy/form.js +27 -0
- package/dist/components/Wallet/Buy/index.d.ts +7 -0
- package/dist/components/Wallet/Buy/index.js +24 -0
- package/dist/components/Wallet/Buy/types.d.ts +35 -0
- package/dist/components/Wallet/History/index.js +40 -41
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +61 -63
- package/dist/components/Wallet/Portfolio/index.js +14 -14
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +19 -18
- package/dist/components/Wallet/Profile/index.js +20 -21
- package/dist/components/Wallet/Receive/index.js +13 -13
- package/dist/components/Wallet/Send/index.js +172 -175
- package/dist/components/Wallet/Shared/Auth/emailForm.d.ts +3 -0
- package/dist/components/Wallet/Shared/Auth/emailForm.js +95 -0
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.d.ts +1 -1
- package/dist/components/Wallet/{SignIn → Shared/Auth}/otpForm.js +759 -744
- package/dist/components/Wallet/Shared/Auth/types.d.ts +22 -0
- package/dist/components/Wallet/Shared/CardPayment/index.d.ts +9 -0
- package/dist/components/Wallet/Shared/CardPayment/index.js +217 -0
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.d.ts +5 -0
- package/dist/components/Wallet/Shared/Container/index.js +35 -7
- package/dist/components/Wallet/Shared/Input/index.d.ts +2 -2
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/TokenModal/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/index.js +140 -81
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.d.ts +2 -1
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +68 -32
- package/dist/components/Wallet/Shared/addBank.js +18 -19
- package/dist/components/Wallet/Shared/appButton.js +8 -7
- package/dist/components/Wallet/Shared/backBtn.d.ts +7 -0
- package/dist/components/Wallet/Shared/backBtn.js +26 -0
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +9 -9
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +2 -2
- package/dist/components/Wallet/Shared/pin.js +44 -45
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.d.ts +4 -1
- package/dist/components/Wallet/SignIn/index.js +46 -41
- package/dist/components/Wallet/SignUp/index.d.ts +4 -1
- package/dist/components/Wallet/SignUp/index.js +62 -148
- package/dist/components/Wallet/SignUp/terms.d.ts +6 -1
- package/dist/components/Wallet/SignUp/terms.js +564 -521
- package/dist/components/Wallet/Stake/gems/index.js +10 -10
- package/dist/components/Wallet/Stake/id/index.js +11 -11
- package/dist/components/Wallet/Stake/index.js +107 -109
- package/dist/components/Wallet/Swap/index.js +38 -38
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/{constants-D38Lq3Gf.js → constants-BxUb35pS.js} +770 -762
- package/dist/{createSvgIcon-B-WJiCyS.js → createSvgIcon-COsBZ0xr.js} +16 -17
- package/dist/{createTheme-D7ZVbreR.js → createTheme-BlT11X6w.js} +18 -18
- package/dist/data/ibanSupportedCountries.json.d.ts +165 -0
- package/dist/defaultTheme-CZjF3GyS.js +5 -0
- package/dist/{dividerClasses-CfCLFJYf.js → dividerClasses-CgHFbM2R.js} +2 -2
- package/dist/{documents-DVHeHzYW.js → documents-vQr89AXc.js} +70 -72
- package/dist/{elementTypeAcceptingRef-BnAvBdPm.js → elementTypeAcceptingRef-DFRaouxA.js} +1 -1
- package/dist/{emotion-react.browser.esm-DdTR1jdg.js → emotion-react.browser.esm-C7P8sPuT.js} +1 -1
- package/dist/{extendSxProp-Comp6o-L.js → extendSxProp-3dFKe0G7.js} +1 -1
- package/dist/{fiatAssets-BtFCh7XL.js → fiatAssets-DxmFUAAP.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +5 -5
- package/dist/hooks/useRrDialog/index.js +5 -5
- package/dist/hooks/useSnackBar.js +49 -50
- package/dist/iban-DAFjqLmj.js +287 -0
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-CclNYr-5.js → index-BgFigcmK.js} +28 -30
- package/dist/index-BlfNAYSo.js +709 -0
- package/dist/{index-BWrkryN2.js → index-CpZl5h1a.js} +105 -120
- package/dist/{index-Ccqf2Toa.js → index-D1vZejb1.js} +1 -1
- package/dist/index-DQaPU81n.js +12 -0
- package/dist/{index-C5R9IxNT.js → index-Dbxu0EJ1.js} +5 -5
- package/dist/main.d.ts +1 -0
- package/dist/main.js +33 -31
- package/dist/order-BQ_jdcYA.js +34 -0
- package/dist/{ownerWindow-C-HsSAwf.js → ownerWindow-D0iDQewC.js} +1 -1
- package/dist/{resolveComponentProps-C0xVjN-P.js → resolveComponentProps-B1Ir_BWp.js} +1 -1
- package/dist/{stake-CZ4lKUzr.js → stake-Dtv26Vtt.js} +1 -1
- package/dist/store.d.ts +110 -1
- package/dist/styled-Cr0V7wv6.js +5 -0
- package/dist/{tokenRow-CwrQuRko.js → tokenRow-BayFN7xo.js} +5 -5
- package/dist/{useSlot-BYvj2z3P.js → useSlot-BnuaST7x.js} +1 -1
- package/dist/{useTheme-B0HI0zls.js → useTheme-TES7dz5C.js} +3 -3
- package/dist/useTheme-ZWavQ1Dn.js +9 -0
- package/dist/{useThemeProps-Bco8C5pK.js → useThemeProps-0PI3aKLE.js} +4 -4
- package/dist/{useThemeWithoutDefault-SUq3mml8.js → useThemeWithoutDefault-Dv5V_IG8.js} +1 -1
- package/dist/{useTimeout-BRv01uOR.js → useTimeout-By20Crr8.js} +1 -1
- package/dist/user-D0iWvS_0.js +24 -0
- package/dist/util/constants.d.ts +3 -0
- package/dist/util/constants.js +58 -55
- package/dist/{utils-SiGFS2N1.js → utils-D3CNVkXx.js} +1 -1
- package/dist/{wallet-CVI52pN9.js → wallet-WO2ijYZw.js} +6 -6
- package/package.json +2 -2
- package/dist/DefaultPropsProvider-Cb_d0Ryo.js +0 -56
- package/dist/DefaultPropsProvider-DoWGMc0K.js +0 -22
- package/dist/Link-Bhe2EFdu.js +0 -264
- package/dist/Select-zFqetNpN.js +0 -4054
- package/dist/assets/styles3.css +0 -1
- package/dist/bank-DwjNuNPP.js +0 -23
- package/dist/components/Wallet/SignIn/loginForm.d.ts +0 -3
- package/dist/components/Wallet/SignIn/loginForm.js +0 -79
- package/dist/components/Wallet/SignIn/types.d.ts +0 -21
- package/dist/components/Wallet/SignUp/biometric.d.ts +0 -3
- package/dist/components/Wallet/SignUp/biometric.js +0 -37
- package/dist/components/Wallet/SignUp/pin.d.ts +0 -3
- package/dist/components/Wallet/SignUp/pin.js +0 -222
- package/dist/components/Wallet/SignUp/privacy.d.ts +0 -2
- package/dist/components/Wallet/SignUp/privacy.js +0 -259
- package/dist/components/Wallet/SignUp/types.d.ts +0 -53
- package/dist/components/Wallet/SignUp/userInfo.d.ts +0 -3
- package/dist/components/Wallet/SignUp/userInfo.js +0 -47
- package/dist/defaultTheme-Clb-EQO9.js +0 -5
- package/dist/dialog-success-BDNJV4Tk.js +0 -4
- package/dist/index-TElEjliR.js +0 -9
- package/dist/order-Bx7J32xK.js +0 -30
- package/dist/pin-empty-D9665KFr.js +0 -6
- package/dist/resolveProps-D44T7GAU.js +0 -35
- package/dist/styled-DBwgKxfn.js +0 -5
- package/dist/styles.module-6SB62f3J.js +0 -9
- package/dist/useFormControl-CfmEP6sW.js +0 -18
- package/dist/useTheme-tAPc7SsX.js +0 -9
- package/dist/user-DkUg7KuC.js +0 -24
- /package/dist/components/Wallet/{SignIn → Buy}/types.js +0 -0
- /package/dist/components/Wallet/{SignUp → Shared/Auth}/types.js +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as f, useRef as
|
|
3
|
-
import { u as
|
|
4
|
-
import { C as ee } from "../../../Close-
|
|
2
|
+
import { useState as f, useRef as Y, useEffect as T } from "react";
|
|
3
|
+
import { u as Z, a as S } from "../../../react-redux-B4BZippc.js";
|
|
4
|
+
import { C as ee } from "../../../Close-Drz_1Cma.js";
|
|
5
5
|
import te from "../Shared/pin.js";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import "../SignUp/pin.js";
|
|
9
|
-
import { T as se, W as ne, X as ae, Y as ie, Z as le } from "../../../constants-D38Lq3Gf.js";
|
|
10
|
-
import { u as ce } from "../../../index-TElEjliR.js";
|
|
11
|
-
import { g as me } from "../../../wallet-CVI52pN9.js";
|
|
12
|
-
import '../../../assets/main.css';import '../../../assets/index8.css';/* empty css */
|
|
13
|
-
import de from "../../../hoc/withThemeProvider.js";
|
|
14
|
-
import { displayWalletAddress as ue } from "../../../util/functions.js";
|
|
6
|
+
import re from "../../../hoc/withThemeProvider.js";
|
|
7
|
+
import { displayWalletAddress as oe } from "../../../util/functions.js";
|
|
15
8
|
import "../Shared/appButton.js";
|
|
16
|
-
import "
|
|
17
|
-
import
|
|
9
|
+
import { BACK_BTN_ICON as se, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
|
|
10
|
+
import "../Shared/Auth/otpForm.js";
|
|
11
|
+
import { a1 as ae, a2 as ne, a3 as ie, a4 as le, a5 as ce } from "../../../constants-BxUb35pS.js";
|
|
12
|
+
import { u as me } from "../../../index-DQaPU81n.js";
|
|
13
|
+
import { g as de } from "../../../wallet-WO2ijYZw.js";
|
|
14
|
+
import "../../../context/snackBarContext.js";
|
|
15
|
+
import { numberFormat as ue, fromHuman as he, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
|
|
16
|
+
import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
|
|
18
17
|
import "../../../index-CAoLi5Qq.js";
|
|
19
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
20
19
|
import "../../Shared/transition.js";
|
|
@@ -23,33 +22,32 @@ import "../../Shared/tooltip.js";
|
|
|
23
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
24
23
|
import "../../../web3-u4qDZYpo.js";
|
|
25
24
|
import "../../../index-B8QKlEgj.js";
|
|
26
|
-
import { decimalNumbersWithCommaOrDot as Ee } from "../../../util/regex.js";
|
|
27
|
-
import "../../../context/snackBarContext.js";
|
|
28
25
|
import "../../../index-ceeCtFuh.js";
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
|
|
26
|
+
import { decimalNumbersWithCommaOrDot as Ee } from "../../../util/regex.js";
|
|
27
|
+
import { B as N } from "../../../Box-Dg5YL71c.js";
|
|
28
|
+
import { T as g } from "../../../Typography-D7sM-Gzr.js";
|
|
29
|
+
import { S as xe } from "../../../Slide-BKeUzqUD.js";
|
|
30
|
+
import { F as we } from "../../../FormControl-2O9G0Uio.js";
|
|
31
|
+
import { T as _e } from "../../../TextField-q50CZQKQ.js";
|
|
32
|
+
import { B as M } from "../../../Button-URmXuR7L.js";
|
|
33
|
+
import { C as H } from "../../../CircularProgress-BShHoQbM.js";
|
|
34
|
+
import { D as ve, a as Te } from "../../../DialogContent-CntTpnUi.js";
|
|
35
|
+
import { I as Ne } from "../../../IconButton-C9zoz_co.js";
|
|
36
|
+
import { G as a } from "../../../Grid2-CYB7zT__.js";
|
|
37
|
+
import '../../../assets/index7.css';const be = (r) => ({
|
|
40
38
|
type: ne,
|
|
41
39
|
payload: r
|
|
42
40
|
}), Re = (r) => ({
|
|
43
|
-
type:
|
|
41
|
+
type: ie,
|
|
44
42
|
payload: r
|
|
45
43
|
}), Ce = (r) => ({
|
|
46
|
-
type:
|
|
44
|
+
type: le,
|
|
47
45
|
payload: r
|
|
48
46
|
}), ye = (r) => ({
|
|
49
|
-
type:
|
|
47
|
+
type: ce,
|
|
50
48
|
payload: r
|
|
51
49
|
}), Se = () => ({
|
|
52
|
-
type:
|
|
50
|
+
type: ae
|
|
53
51
|
}), Ge = "_container_nw82g_1", b = {
|
|
54
52
|
container: Ge,
|
|
55
53
|
"inner-container": "_inner-container_nw82g_13",
|
|
@@ -57,15 +55,15 @@ const be = (r) => ({
|
|
|
57
55
|
"close-btn": "_close-btn_nw82g_41"
|
|
58
56
|
}, Me = ({
|
|
59
57
|
token: r,
|
|
60
|
-
network:
|
|
58
|
+
network: n,
|
|
61
59
|
tokenAddress: P,
|
|
62
60
|
depositAddress: A
|
|
63
61
|
}) => {
|
|
64
62
|
var q, k;
|
|
65
|
-
const { showAlertMessage: E, snackBar: U } =
|
|
63
|
+
const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), u = S((t) => t.bridge), s = u.gasFee, x = u.loader, h = u.error, R = u.withdrawStatus, B = S((t) => t.user.wallets);
|
|
66
64
|
B.loader;
|
|
67
|
-
const W = B.data, w =
|
|
68
|
-
T(() => (m(
|
|
65
|
+
const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = ue(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = he(d, r === "ID" ? 18 : 6);
|
|
66
|
+
T(() => (m(de()), () => {
|
|
69
67
|
m(Se());
|
|
70
68
|
}), []), T(() => {
|
|
71
69
|
u.showFeePopUp && s.GasLimit > 0 && C(!0);
|
|
@@ -89,7 +87,7 @@ const be = (r) => ({
|
|
|
89
87
|
}, z = () => {
|
|
90
88
|
if (!d)
|
|
91
89
|
return E({
|
|
92
|
-
message: `Please provide the amount you want to move to ${
|
|
90
|
+
message: `Please provide the amount you want to move to ${n}`
|
|
93
91
|
}), !1;
|
|
94
92
|
if (!Ee.test(d))
|
|
95
93
|
return E({
|
|
@@ -100,8 +98,8 @@ const be = (r) => ({
|
|
|
100
98
|
message: "Insufficient balance to move to everChain"
|
|
101
99
|
}), !1;
|
|
102
100
|
_("pin");
|
|
103
|
-
},
|
|
104
|
-
if (
|
|
101
|
+
}, J = () => {
|
|
102
|
+
if (n === G) {
|
|
105
103
|
const t = {
|
|
106
104
|
walletAddress: i,
|
|
107
105
|
amount: v,
|
|
@@ -121,8 +119,8 @@ const be = (r) => ({
|
|
|
121
119
|
};
|
|
122
120
|
m(ye(t));
|
|
123
121
|
}
|
|
124
|
-
},
|
|
125
|
-
m(
|
|
122
|
+
}, X = () => {
|
|
123
|
+
m(n === G ? be({
|
|
126
124
|
walletAddress: i,
|
|
127
125
|
amount: v,
|
|
128
126
|
token: r
|
|
@@ -145,7 +143,7 @@ const be = (r) => ({
|
|
|
145
143
|
left: "-18px"
|
|
146
144
|
},
|
|
147
145
|
className: "cursor-pointer",
|
|
148
|
-
src:
|
|
146
|
+
src: se,
|
|
149
147
|
onClick: () => alert("backFunc"),
|
|
150
148
|
alt: "back"
|
|
151
149
|
}
|
|
@@ -160,7 +158,7 @@ const be = (r) => ({
|
|
|
160
158
|
"Move ",
|
|
161
159
|
r,
|
|
162
160
|
" to ",
|
|
163
|
-
|
|
161
|
+
n
|
|
164
162
|
] })
|
|
165
163
|
}
|
|
166
164
|
),
|
|
@@ -178,7 +176,7 @@ const be = (r) => ({
|
|
|
178
176
|
error: K,
|
|
179
177
|
onCancel: () => _("default"),
|
|
180
178
|
onSubmit: (t) => {
|
|
181
|
-
y.current = t,
|
|
179
|
+
y.current = t, X(), _("default");
|
|
182
180
|
}
|
|
183
181
|
}
|
|
184
182
|
)
|
|
@@ -195,7 +193,7 @@ const be = (r) => ({
|
|
|
195
193
|
/* @__PURE__ */ e(we, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
|
|
196
194
|
_e,
|
|
197
195
|
{
|
|
198
|
-
label: `Amount to Move to ${
|
|
196
|
+
label: `Amount to Move to ${n}`,
|
|
199
197
|
value: d,
|
|
200
198
|
fullWidth: !0,
|
|
201
199
|
required: !0,
|
|
@@ -256,7 +254,7 @@ const be = (r) => ({
|
|
|
256
254
|
/* @__PURE__ */ o(Te, { sx: { py: 6 }, children: [
|
|
257
255
|
/* @__PURE__ */ e(g, { className: "text-center", variant: "h5", children: /* @__PURE__ */ o("strong", { children: [
|
|
258
256
|
"Move to ",
|
|
259
|
-
|
|
257
|
+
n,
|
|
260
258
|
" Confirmation"
|
|
261
259
|
] }) }),
|
|
262
260
|
R ? /* @__PURE__ */ o(c, { children: [
|
|
@@ -272,14 +270,14 @@ const be = (r) => ({
|
|
|
272
270
|
w,
|
|
273
271
|
" ",
|
|
274
272
|
"to ",
|
|
275
|
-
|
|
273
|
+
n,
|
|
276
274
|
"Network."
|
|
277
275
|
] }) : /* @__PURE__ */ o(c, { children: [
|
|
278
276
|
r,
|
|
279
277
|
" withdraw from ",
|
|
280
278
|
w,
|
|
281
279
|
" to ",
|
|
282
|
-
|
|
280
|
+
n,
|
|
283
281
|
" network is currently ongoing. Please check balance after 2 minutes."
|
|
284
282
|
] })
|
|
285
283
|
}
|
|
@@ -295,24 +293,24 @@ const be = (r) => ({
|
|
|
295
293
|
children: /* @__PURE__ */ e("strong", { children: "Go Back" })
|
|
296
294
|
}
|
|
297
295
|
) })
|
|
298
|
-
] }) : /* @__PURE__ */ o(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
301
|
-
/* @__PURE__ */ e(
|
|
302
|
-
/* @__PURE__ */ e(
|
|
303
|
-
/* @__PURE__ */ e(
|
|
304
|
-
/* @__PURE__ */ e(
|
|
305
|
-
/* @__PURE__ */ e(
|
|
306
|
-
/* @__PURE__ */ o(
|
|
307
|
-
|
|
296
|
+
] }) : /* @__PURE__ */ o(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
|
|
297
|
+
/* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
|
|
298
|
+
/* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
|
|
299
|
+
/* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
|
|
300
|
+
/* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: d }),
|
|
301
|
+
/* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
|
|
302
|
+
/* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: oe(i) }),
|
|
303
|
+
/* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
|
|
304
|
+
/* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
|
|
305
|
+
pe(
|
|
308
306
|
s != null && s.BaseGasPriceCap ? (q = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
|
|
309
307
|
),
|
|
310
308
|
" ",
|
|
311
309
|
"Gwei"
|
|
312
310
|
] }),
|
|
313
|
-
/* @__PURE__ */ e(
|
|
314
|
-
/* @__PURE__ */ o(
|
|
315
|
-
|
|
311
|
+
/* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
312
|
+
/* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
|
|
313
|
+
fe(
|
|
316
314
|
s != null && s.TotalMaxEthSpent ? (k = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
|
|
317
315
|
),
|
|
318
316
|
" ",
|
|
@@ -322,7 +320,7 @@ const be = (r) => ({
|
|
|
322
320
|
M,
|
|
323
321
|
{
|
|
324
322
|
sx: { mt: 4 },
|
|
325
|
-
onClick:
|
|
323
|
+
onClick: J,
|
|
326
324
|
className: "wallet-btn",
|
|
327
325
|
variant: "contained",
|
|
328
326
|
disabled: x,
|
|
@@ -340,7 +338,7 @@ const be = (r) => ({
|
|
|
340
338
|
}
|
|
341
339
|
)
|
|
342
340
|
] });
|
|
343
|
-
},
|
|
341
|
+
}, gt = re(Me);
|
|
344
342
|
export {
|
|
345
|
-
|
|
343
|
+
gt as default
|
|
346
344
|
};
|