everest-npm-features 0.0.63 → 0.0.64
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/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
- package/dist/bank-CPJa0NOE.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.js +33 -30
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +68 -64
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +15 -540
- package/dist/components/Wallet/Account/eWallet.js +7 -7
- package/dist/components/Wallet/Account/iban.js +77 -56
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.js +216 -181
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +37 -37
- package/dist/components/Wallet/Profile/index.js +5 -5
- package/dist/components/Wallet/Profile/storage.js +14 -14
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +36 -36
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/addBank.js +4 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +34 -31
- package/dist/components/Wallet/Stake/id/index.js +12 -9
- package/dist/components/Wallet/Stake/index.js +6 -6
- package/dist/components/Wallet/Swap/form.js +7 -7
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
- package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-HVb0GFsa.js +0 -37
- package/dist/index-CTPMPwYK.js +0 -533
- package/dist/styles.module-C1sNeKjL.js +0 -22
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import x, { useState as b, useEffect as h } from "react";
|
|
3
|
-
import { Box as s, Typography as i, FormControl as O, RadioGroup as N, Backdrop as w, CircularProgress as W, Grid as C, Dialog as
|
|
3
|
+
import { Box as s, Typography as i, FormControl as O, RadioGroup as N, Backdrop as w, CircularProgress as W, Grid as C, Dialog as D, IconButton as v, DialogContent as z } from "@mui/material";
|
|
4
4
|
import { C as L } from "../../../Close-DSxLLo08.js";
|
|
5
5
|
import { c as P } from "../../../createSvgIcon-B28GrUxG.js";
|
|
6
6
|
import M from "../../Shared/transition.js";
|
|
@@ -8,16 +8,16 @@ import { s as E } from "../../../styles.module-DFoezEqS.js";
|
|
|
8
8
|
import f from "../Shared/appButton.js";
|
|
9
9
|
import j from "../Shared/noData.js";
|
|
10
10
|
import q from "../Shared/radioButton.js";
|
|
11
|
-
import {
|
|
11
|
+
import { aB as F, aC as H, aD as Q, aE as Y, aF as J } from "../../../constants-BRS2liAt.js";
|
|
12
12
|
import { STORAGE_SUCCESS as K, CLOUD_ICON as V } from "../../../util/constants.js";
|
|
13
13
|
import X from "../../../hooks/useEverestDispatch.js";
|
|
14
14
|
const Z = () => ({
|
|
15
|
-
type:
|
|
15
|
+
type: F
|
|
16
16
|
}), $ = (c) => ({
|
|
17
|
-
type:
|
|
17
|
+
type: Q,
|
|
18
18
|
payload: c
|
|
19
19
|
}), ee = () => ({
|
|
20
|
-
type:
|
|
20
|
+
type: H
|
|
21
21
|
}), re = P(/* @__PURE__ */ e("path", {
|
|
22
22
|
d: "M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"
|
|
23
23
|
}), "ArrowBackIos"), ue = ({
|
|
@@ -25,9 +25,9 @@ const Z = () => ({
|
|
|
25
25
|
eureBalance: R,
|
|
26
26
|
storagePlans: l,
|
|
27
27
|
purchaseStatus: d,
|
|
28
|
-
userStorage:
|
|
28
|
+
userStorage: _
|
|
29
29
|
}) => {
|
|
30
|
-
const p = X(), A = !1, [a, m] = b(1), [U,
|
|
30
|
+
const p = X(), A = !1, [a, m] = b(1), [U, y] = b(!1), [n, u] = b(0);
|
|
31
31
|
h(() => {
|
|
32
32
|
p(Z()), p(ee());
|
|
33
33
|
}, []), h(() => {
|
|
@@ -49,7 +49,7 @@ const Z = () => ({
|
|
|
49
49
|
}), !1;
|
|
50
50
|
if (o && (o == null ? void 0 : o.price) / 100 > R)
|
|
51
51
|
return c({
|
|
52
|
-
message: "
|
|
52
|
+
message: "You have insufficient funds to redeem this plan"
|
|
53
53
|
}), !1;
|
|
54
54
|
m(2);
|
|
55
55
|
};
|
|
@@ -136,7 +136,7 @@ const Z = () => ({
|
|
|
136
136
|
}, []);
|
|
137
137
|
const g = () => {
|
|
138
138
|
var r;
|
|
139
|
-
|
|
139
|
+
y(!1), u((r = l[0]) == null ? void 0 : r.id), m(1);
|
|
140
140
|
};
|
|
141
141
|
return /* @__PURE__ */ t(T, { children: [
|
|
142
142
|
/* @__PURE__ */ e(
|
|
@@ -151,7 +151,7 @@ const Z = () => ({
|
|
|
151
151
|
}
|
|
152
152
|
),
|
|
153
153
|
/* @__PURE__ */ e(i, { className: E.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Storage" }) }),
|
|
154
|
-
/* @__PURE__ */ e(s, { mt: 2, children:
|
|
154
|
+
/* @__PURE__ */ e(s, { mt: 2, children: _.total_storage ? /* @__PURE__ */ e(
|
|
155
155
|
s,
|
|
156
156
|
{
|
|
157
157
|
sx: {
|
|
@@ -184,7 +184,7 @@ const Z = () => ({
|
|
|
184
184
|
fontWeight: "bold"
|
|
185
185
|
},
|
|
186
186
|
children: [
|
|
187
|
-
|
|
187
|
+
_.total_storage,
|
|
188
188
|
"GB"
|
|
189
189
|
]
|
|
190
190
|
}
|
|
@@ -206,9 +206,9 @@ const Z = () => ({
|
|
|
206
206
|
] })
|
|
207
207
|
}
|
|
208
208
|
) : /* @__PURE__ */ e(j, { text: "Buy Storage with EUR.e" }) }),
|
|
209
|
-
/* @__PURE__ */ e(f, { sx: { mt: 4 }, onClick: () =>
|
|
209
|
+
/* @__PURE__ */ e(f, { sx: { mt: 4 }, onClick: () => y(!0), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Add Storage" }) }),
|
|
210
210
|
/* @__PURE__ */ t(
|
|
211
|
-
|
|
211
|
+
D,
|
|
212
212
|
{
|
|
213
213
|
maxWidth: a === 3 ? "sm" : "md",
|
|
214
214
|
fullWidth: !0,
|
|
@@ -238,7 +238,7 @@ const Z = () => ({
|
|
|
238
238
|
)
|
|
239
239
|
] }),
|
|
240
240
|
/* @__PURE__ */ e(
|
|
241
|
-
|
|
241
|
+
z,
|
|
242
242
|
{
|
|
243
243
|
sx: { padding: a === 3 ? "80px" : "100px" },
|
|
244
244
|
dividers: !0,
|
|
@@ -2,9 +2,9 @@ import { jsxs as n, Fragment as m, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as C, useEffect as p } from "react";
|
|
3
3
|
import { u } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { Q as W } from "../../../index-CAoLi5Qq.js";
|
|
5
|
-
import "../../../constants-
|
|
6
|
-
import { a as _, c as z } from "../../../index-
|
|
7
|
-
import { u as A } from "../../../wallet-
|
|
5
|
+
import "../../../constants-BRS2liAt.js";
|
|
6
|
+
import { a as _, c as z } from "../../../index-CREgBh59.js";
|
|
7
|
+
import { u as A } from "../../../wallet-BLx0XKpK.js";
|
|
8
8
|
import { Box as r, CircularProgress as S, FormControl as N, Select as w, MenuItem as B, Button as k } from "@mui/material";
|
|
9
9
|
import { C as D } from "../../../ContentCopy-D0C0zbQj.js";
|
|
10
10
|
import { useSnackBar as E } from "../../../hooks/useSnackBar.js";
|
|
@@ -5,15 +5,15 @@ import "../Shared/backBtn.js";
|
|
|
5
5
|
import "../../../util/functions.js";
|
|
6
6
|
import "../../../styles.module-DMd29SPQ.js";
|
|
7
7
|
import "../Shared/appButton.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../index-
|
|
10
|
-
import "../../../order-
|
|
11
|
-
import { a as E } from "../../../index-
|
|
8
|
+
import "../../../constants-BRS2liAt.js";
|
|
9
|
+
import "../../../index-CREgBh59.js";
|
|
10
|
+
import "../../../order-DBuLYKfx.js";
|
|
11
|
+
import { a as E } from "../../../index-BUtxhHso.js";
|
|
12
12
|
import "../../../util/constants.js";
|
|
13
13
|
import "../../../react-redux-C7I9-1M6.js";
|
|
14
14
|
import "../../../index-DlQqWbXG.js";
|
|
15
15
|
import "../../../hoc/withThemeProvider.js";
|
|
16
|
-
import "../../../otpForm-
|
|
16
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
17
17
|
import "../../../context/snackBarContext.js";
|
|
18
18
|
import "../../../util/conversions.js";
|
|
19
19
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../../PlayArrow-
|
|
4
|
+
import "../../../PlayArrow-WUr_Eyo1.js";
|
|
5
5
|
import "../../../Info-DOoRR7sR.js";
|
|
6
6
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
7
|
import "../../../util/constants.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../index-
|
|
10
|
-
import "../../../order-
|
|
8
|
+
import "../../../constants-BRS2liAt.js";
|
|
9
|
+
import "../../../index-CREgBh59.js";
|
|
10
|
+
import "../../../order-DBuLYKfx.js";
|
|
11
11
|
import "../../../tooltip-BW0UyWw7.js";
|
|
12
12
|
import "../../../util/functions.js";
|
|
13
|
-
import { S as n } from "../../../index-
|
|
13
|
+
import { S as n } from "../../../index-BUtxhHso.js";
|
|
14
14
|
import "../../../styles.module-DMd29SPQ.js";
|
|
15
15
|
import "../Shared/TokenModal/index.js";
|
|
16
16
|
import "../Shared/appButton.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as e, F as f, b as L, c as O, i as b } from "../../../index-
|
|
4
|
+
import { C as e, F as f, b as L, c as O, i as b } from "../../../index-BUtxhHso.js";
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../cryptoAssets-
|
|
9
|
-
import "../../../wallet-
|
|
10
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-BRS2liAt.js";
|
|
7
|
+
import "../../../PlayArrow-WUr_Eyo1.js";
|
|
8
|
+
import "../../../cryptoAssets-BD0cJpXM.js";
|
|
9
|
+
import "../../../wallet-BLx0XKpK.js";
|
|
10
|
+
import "../../../order-DBuLYKfx.js";
|
|
11
11
|
import "../../../util/constants.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../Shared/Container/index.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
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 { Backdrop as ke, CircularProgress as V, Box as
|
|
3
|
+
import { Backdrop as ke, CircularProgress as V, Box as E, 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
4
|
import { C as ve } from "../../../Close-DSxLLo08.js";
|
|
5
|
-
import {
|
|
6
|
-
import { f as We } from "../../../wallet-
|
|
5
|
+
import { aG as ye, aH as Se, aI as Ae, aJ as be, aK as Ee, aL as Ne } from "../../../constants-BRS2liAt.js";
|
|
6
|
+
import { f as We } from "../../../wallet-BLx0XKpK.js";
|
|
7
7
|
import { ETHEREUM_NETWORK as Ce, EVER_CHAIN_NETWORK as Ie, ID_TOKEN_SYMBOL as _e, SYNTHETIC_EUR as Y } from "../../../util/constants.js";
|
|
8
8
|
import "../../../index-DlQqWbXG.js";
|
|
9
9
|
import _ from "../Shared/appButton.js";
|
|
10
10
|
import Le from "../../../hoc/withThemeProvider.js";
|
|
11
11
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
12
12
|
import { tokenBalanceDisplay as ze, getNetworkScanBaseUrl as J, displayWalletAddress as X } from "../../../util/functions.js";
|
|
13
|
-
import "../../../otpForm-
|
|
13
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
14
14
|
import { useSnackBarContext as Re } from "../../../context/snackBarContext.js";
|
|
15
15
|
import Pe from "../../../hooks/useEverestDispatch.js";
|
|
16
|
-
import { getGweiFromWei as Ge, getUnFormattedValueFromWei as
|
|
16
|
+
import { getGweiFromWei as Ge, getUnFormattedValueFromWei as Me, fromHuman as z } from "../../../util/conversions.js";
|
|
17
17
|
import "../../../index-CAoLi5Qq.js";
|
|
18
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
19
|
import "../../Shared/transition.js";
|
|
@@ -25,30 +25,30 @@ import "../../../index-ceeCtFuh.js";
|
|
|
25
25
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
26
26
|
import "../../../context/dialogContext.js";
|
|
27
27
|
import "@mui/icons-material";
|
|
28
|
-
import '../../../assets/index7.css';const
|
|
28
|
+
import '../../../assets/index7.css';const Ue = () => ({
|
|
29
29
|
type: ye
|
|
30
|
-
}),
|
|
31
|
-
type:
|
|
30
|
+
}), Be = (g) => ({
|
|
31
|
+
type: be,
|
|
32
32
|
payload: g
|
|
33
33
|
}), R = () => ({
|
|
34
34
|
type: Se
|
|
35
|
-
}),
|
|
36
|
-
type:
|
|
35
|
+
}), Fe = (g) => ({
|
|
36
|
+
type: Ee,
|
|
37
37
|
payload: g
|
|
38
38
|
}), Oe = (g) => ({
|
|
39
39
|
type: Ne,
|
|
40
40
|
payload: g
|
|
41
41
|
}), Z = () => ({
|
|
42
42
|
type: Ae
|
|
43
|
-
}),
|
|
44
|
-
container:
|
|
43
|
+
}), Ke = "_container_uzn46_1", ee = {
|
|
44
|
+
container: Ke,
|
|
45
45
|
"inner-container": "_inner-container_uzn46_13"
|
|
46
|
-
},
|
|
47
|
-
var
|
|
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,
|
|
46
|
+
}, qe = ({ navigate: g }) => {
|
|
47
|
+
var H, 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, b = r == null ? void 0 : r.txId, M = r == null ? void 0 : r.loader, N = r == null ? void 0 : r.error, U = L((t) => t.user.wallets), B = U.loader, W = U.data, ne = te || B, [h, F] = m(""), [u, O] = m(""), [f, re] = m({}), [p, oe] = m(Ce), [K, q] = m(0), [se, ae] = m([]), [x, ie] = m(""), [c, le] = m(""), [de, C] = m(!1), l = G.find(
|
|
49
49
|
(t) => t.name.toLowerCase() === p.toLowerCase()
|
|
50
50
|
);
|
|
51
|
-
S(() => (d(
|
|
51
|
+
S(() => (d(Ue()), d(We()), () => {
|
|
52
52
|
d(R()), d(Z());
|
|
53
53
|
}), []), S(() => {
|
|
54
54
|
N && i({ message: N });
|
|
@@ -81,14 +81,14 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
81
81
|
);
|
|
82
82
|
if (v) {
|
|
83
83
|
const k = ze(v);
|
|
84
|
-
|
|
84
|
+
q(parseFloat(k)), re(v);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
} else
|
|
88
|
-
|
|
88
|
+
q(0);
|
|
89
89
|
}, [u]);
|
|
90
90
|
const ce = (t) => {
|
|
91
|
-
t ? /^([0-9.,]+)$/.test(t) &&
|
|
91
|
+
t ? /^([0-9.,]+)$/.test(t) && F(t) : F("");
|
|
92
92
|
}, me = () => {
|
|
93
93
|
if (!p)
|
|
94
94
|
return i({
|
|
@@ -109,7 +109,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
109
109
|
const t = parseFloat(h);
|
|
110
110
|
return t <= 0 ? (i({
|
|
111
111
|
message: "Please provide amount greater than 0"
|
|
112
|
-
}), !1) : t >
|
|
112
|
+
}), !1) : t > K ? (i({
|
|
113
113
|
message: `Insufficient balance to send ${u}`
|
|
114
114
|
}), !1) : !0;
|
|
115
115
|
}, he = () => {
|
|
@@ -128,7 +128,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
128
128
|
amount: t,
|
|
129
129
|
chainId: l.chainId
|
|
130
130
|
};
|
|
131
|
-
d(
|
|
131
|
+
d(Be(n));
|
|
132
132
|
}, ue = () => {
|
|
133
133
|
if (d(R()), !l) {
|
|
134
134
|
i({ message: "Network not selected" });
|
|
@@ -154,7 +154,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
154
154
|
gas: a
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
-
d(
|
|
157
|
+
d(Fe(n));
|
|
158
158
|
}, pe = () => {
|
|
159
159
|
if (!a) {
|
|
160
160
|
i({ message: "Gas fee data is not available" });
|
|
@@ -191,7 +191,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
191
191
|
children: /* @__PURE__ */ e(V, { color: "inherit" })
|
|
192
192
|
}
|
|
193
193
|
),
|
|
194
|
-
/* @__PURE__ */ e(
|
|
194
|
+
/* @__PURE__ */ e(E, { className: ee.container, children: /* @__PURE__ */ s(E, { className: ee["inner-container"], children: [
|
|
195
195
|
/* @__PURE__ */ e(w, { variant: "body2", children: /* @__PURE__ */ e("b", { children: "Select Chain" }) }),
|
|
196
196
|
/* @__PURE__ */ e(A, { sx: { mt: 1.5 }, fullWidth: !0, children: /* @__PURE__ */ s(
|
|
197
197
|
I,
|
|
@@ -255,10 +255,10 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
255
255
|
) }),
|
|
256
256
|
/* @__PURE__ */ e(w, { mt: 4, variant: "body2", children: /* @__PURE__ */ s("b", { children: [
|
|
257
257
|
"Balance: ",
|
|
258
|
-
|
|
258
|
+
K
|
|
259
259
|
] }) }),
|
|
260
260
|
/* @__PURE__ */ s(o, { mt: 1.5, spacing: 2, container: !0, children: [
|
|
261
|
-
/* @__PURE__ */ e(o, { className: "flex-center", size: 6, children:
|
|
261
|
+
/* @__PURE__ */ e(o, { className: "flex-center", size: 6, children: B ? /* @__PURE__ */ e(V, { size: 30, color: "inherit" }) : /* @__PURE__ */ e(A, { fullWidth: !0, children: /* @__PURE__ */ s(
|
|
262
262
|
I,
|
|
263
263
|
{
|
|
264
264
|
sx: {
|
|
@@ -295,7 +295,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
295
295
|
{
|
|
296
296
|
sx: { mt: 4 },
|
|
297
297
|
onClick: he,
|
|
298
|
-
isLoading:
|
|
298
|
+
isLoading: M,
|
|
299
299
|
fullWidth: !0,
|
|
300
300
|
children: /* @__PURE__ */ e("strong", { children: "Send" })
|
|
301
301
|
}
|
|
@@ -314,7 +314,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
314
314
|
}
|
|
315
315
|
},
|
|
316
316
|
children: [
|
|
317
|
-
!
|
|
317
|
+
!b && /* @__PURE__ */ e(
|
|
318
318
|
we,
|
|
319
319
|
{
|
|
320
320
|
"aria-label": "close",
|
|
@@ -332,7 +332,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
332
332
|
),
|
|
333
333
|
/* @__PURE__ */ s(Te, { sx: { py: 6 }, children: [
|
|
334
334
|
/* @__PURE__ */ e(w, { className: "text-center", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Sending Confirmation" }) }),
|
|
335
|
-
|
|
335
|
+
b ? /* @__PURE__ */ s($, { children: [
|
|
336
336
|
/* @__PURE__ */ e(
|
|
337
337
|
w,
|
|
338
338
|
{
|
|
@@ -342,21 +342,21 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
342
342
|
children: "This transaction is under way, it is not yet completed, you can track status of transaction using the network explorer link provided."
|
|
343
343
|
}
|
|
344
344
|
),
|
|
345
|
-
/* @__PURE__ */ e(
|
|
345
|
+
/* @__PURE__ */ e(E, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
|
|
346
346
|
"a",
|
|
347
347
|
{
|
|
348
348
|
style: { wordBreak: "break-all" },
|
|
349
|
-
href: `${J(p)}tx/${
|
|
349
|
+
href: `${J(p)}tx/${b}`,
|
|
350
350
|
rel: "noopener noreferrer",
|
|
351
351
|
target: "_blank",
|
|
352
352
|
children: [
|
|
353
353
|
J(p),
|
|
354
354
|
"tx/",
|
|
355
|
-
|
|
355
|
+
b
|
|
356
356
|
]
|
|
357
357
|
}
|
|
358
358
|
) }),
|
|
359
|
-
/* @__PURE__ */ e(
|
|
359
|
+
/* @__PURE__ */ e(E, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
|
|
360
360
|
_,
|
|
361
361
|
{
|
|
362
362
|
sx: { mt: 2 },
|
|
@@ -378,12 +378,12 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
378
378
|
/* @__PURE__ */ e(o, { className: "fw500 text-right", size: 6, children: X(x) }),
|
|
379
379
|
/* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Limit" }) }),
|
|
380
380
|
/* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
|
|
381
|
-
Ge(((
|
|
381
|
+
Ge(((H = a == null ? void 0 : a.gasLimit) == null ? void 0 : H.toString()) || "0"),
|
|
382
382
|
" Gwei"
|
|
383
383
|
] }),
|
|
384
384
|
/* @__PURE__ */ e(o, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
385
385
|
/* @__PURE__ */ s(o, { className: "fw500 text-right", size: 6, children: [
|
|
386
|
-
|
|
386
|
+
Me(
|
|
387
387
|
((D = a == null ? void 0 : a.totalMaxEthSpent) == null ? void 0 : D.toString()) || "0"
|
|
388
388
|
),
|
|
389
389
|
" ",
|
|
@@ -394,7 +394,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
394
394
|
{
|
|
395
395
|
sx: { mt: 4 },
|
|
396
396
|
onClick: ue,
|
|
397
|
-
isLoading:
|
|
397
|
+
isLoading: M,
|
|
398
398
|
fullWidth: !0,
|
|
399
399
|
children: /* @__PURE__ */ e("strong", { children: "Send" })
|
|
400
400
|
}
|
|
@@ -405,7 +405,7 @@ import '../../../assets/index7.css';const Me = () => ({
|
|
|
405
405
|
}
|
|
406
406
|
)
|
|
407
407
|
] });
|
|
408
|
-
}, kt = Le(
|
|
408
|
+
}, kt = Le(qe);
|
|
409
409
|
export {
|
|
410
410
|
kt as default
|
|
411
411
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../../../constants-
|
|
5
|
-
import "../../../../auth-
|
|
4
|
+
import "../../../../constants-BRS2liAt.js";
|
|
5
|
+
import "../../../../auth-Cg-RJNB1.js";
|
|
6
6
|
import "../../../../util/constants.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
|
-
import { O as d } from "../../../../otpForm-
|
|
8
|
+
import { O as d } from "../../../../otpForm-DhVp5Gvi.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
|
@@ -4,10 +4,10 @@ import { u as S } from "../../../../react-redux-C7I9-1M6.js";
|
|
|
4
4
|
import { Box as n, CircularProgress as l, Grid as c, Typography as d, Stack as T } from "@mui/material";
|
|
5
5
|
import A from "../backBtn.js";
|
|
6
6
|
import y from "../addBank.js";
|
|
7
|
-
import "../../../../constants-
|
|
8
|
-
import { u as C } from "../../../../index-
|
|
9
|
-
import { o as E } from "../../../../order-
|
|
10
|
-
import { u as O } from "../../../../bank-
|
|
7
|
+
import "../../../../constants-BRS2liAt.js";
|
|
8
|
+
import { u as C } from "../../../../index-CREgBh59.js";
|
|
9
|
+
import { o as E } from "../../../../order-DBuLYKfx.js";
|
|
10
|
+
import { u as O } from "../../../../bank-CPJa0NOE.js";
|
|
11
11
|
import D from "../connectPlaidBank.js";
|
|
12
12
|
import { s } from "../../../../styles.module-DMd29SPQ.js";
|
|
13
13
|
import { RADIO_BUTTON_SELECTED as I, RADIO_BUTTON as L } from "../../../../util/constants.js";
|
|
@@ -6,8 +6,8 @@ import { VISA_ICON as v } from "../../../../util/constants.js";
|
|
|
6
6
|
import "../../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
8
|
import "../../../../hoc/withThemeProvider.js";
|
|
9
|
-
import "../../../../otpForm-
|
|
10
|
-
import "../../../../constants-
|
|
9
|
+
import "../../../../otpForm-DhVp5Gvi.js";
|
|
10
|
+
import "../../../../constants-BRS2liAt.js";
|
|
11
11
|
import { useSnackBarContext as w } from "../../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../../util/conversions.js";
|
|
13
13
|
import "../../../../index-CAoLi5Qq.js";
|
|
@@ -9,10 +9,10 @@ import { PAYMENT_PROVIDER_OPENPAYD as j } from "../../../util/constants.js";
|
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import x from "./appButton.js";
|
|
11
11
|
import "../../../hoc/withThemeProvider.js";
|
|
12
|
-
import "../../../otpForm-
|
|
13
|
-
import "../../../constants-
|
|
14
|
-
import { a as Y, u as _ } from "../../../index-
|
|
15
|
-
import { a as q } from "../../../bank-
|
|
12
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
13
|
+
import "../../../constants-BRS2liAt.js";
|
|
14
|
+
import { a as Y, u as _ } from "../../../index-CREgBh59.js";
|
|
15
|
+
import { a as q } from "../../../bank-CPJa0NOE.js";
|
|
16
16
|
import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
|
|
17
17
|
import L from "../../../hooks/useEverestDispatch.js";
|
|
18
18
|
import "../../../util/conversions.js";
|
|
@@ -2,17 +2,17 @@ import { jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as y, useEffect as c, useCallback as C } from "react";
|
|
3
3
|
import { u as e } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { u as S } from "../../../index.esm-BsMAMhYW.js";
|
|
5
|
-
import { Box as P, CircularProgress as
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import { u as
|
|
8
|
-
import { p as A, b as T } from "../../../bank-
|
|
5
|
+
import { Box as P, CircularProgress as B } from "@mui/material";
|
|
6
|
+
import "../../../constants-BRS2liAt.js";
|
|
7
|
+
import { u as b, a as g, b as x } from "../../../index-CREgBh59.js";
|
|
8
|
+
import { p as A, b as T } from "../../../bank-CPJa0NOE.js";
|
|
9
9
|
import { c as q } from "../../../countries-BVn1FubK.js";
|
|
10
10
|
import v from "./appButton.js";
|
|
11
11
|
import D from "../../../hooks/useEverestDispatch.js";
|
|
12
12
|
const J = ({
|
|
13
13
|
buttonType: u = "primary"
|
|
14
14
|
}) => {
|
|
15
|
-
const r = D(), { loader: a, plaidToken: l } = e(
|
|
15
|
+
const r = D(), { loader: a, plaidToken: l } = e(b), s = e(g).residentialAddress.country || "USA", [i, d] = y(""), p = e(x);
|
|
16
16
|
c(() => {
|
|
17
17
|
if (s) {
|
|
18
18
|
const n = q.find((o) => o.alpha3 === s);
|
|
@@ -42,14 +42,14 @@ const J = ({
|
|
|
42
42
|
//required for OAuth; if not using OAuth, set to null or omit:
|
|
43
43
|
//receivedRedirectUri: window.location.href,
|
|
44
44
|
}, { open: f, ready: k } = S(m);
|
|
45
|
-
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(P, { className: "text-center", mt: 8, children: /* @__PURE__ */ t(
|
|
45
|
+
return /* @__PURE__ */ t(h, { children: a ? /* @__PURE__ */ t(P, { className: "text-center", mt: 8, children: /* @__PURE__ */ t(B, {}) }) : /* @__PURE__ */ t(
|
|
46
46
|
v,
|
|
47
47
|
{
|
|
48
48
|
variantType: u,
|
|
49
49
|
onClick: () => f(),
|
|
50
50
|
fullWidth: !0,
|
|
51
51
|
disabled: !k,
|
|
52
|
-
children: /* @__PURE__ */ t("strong", { children: "Connect
|
|
52
|
+
children: /* @__PURE__ */ t("strong", { children: "Connect Bank Account" })
|
|
53
53
|
}
|
|
54
54
|
) });
|
|
55
55
|
};
|
|
@@ -8,13 +8,13 @@ import "../../../generic-token-B_ptO5yb.js";
|
|
|
8
8
|
import "./appButton.js";
|
|
9
9
|
import "./timer.js";
|
|
10
10
|
import "../../../util/functions.js";
|
|
11
|
-
import "../../../constants-
|
|
12
|
-
import "../../../order-
|
|
11
|
+
import "../../../constants-BRS2liAt.js";
|
|
12
|
+
import "../../../order-DBuLYKfx.js";
|
|
13
13
|
import "../../../index-DlQqWbXG.js";
|
|
14
14
|
import "../../../hoc/withThemeProvider.js";
|
|
15
15
|
import "./Input/index.js";
|
|
16
16
|
import "../../../util/constants.js";
|
|
17
|
-
import "../../../otpForm-
|
|
17
|
+
import "../../../otpForm-DhVp5Gvi.js";
|
|
18
18
|
import "../../../context/snackBarContext.js";
|
|
19
19
|
import "../../../hooks/useEverestDispatch.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
@@ -26,7 +26,7 @@ import "../../../index.esm-BsMAMhYW.js";
|
|
|
26
26
|
import "../../../web3-u4qDZYpo.js";
|
|
27
27
|
import "../../../styles.module-DMd29SPQ.js";
|
|
28
28
|
import "../../../index-ceeCtFuh.js";
|
|
29
|
-
import { M as G } from "../../../index-
|
|
29
|
+
import { M as G } from "../../../index-BUtxhHso.js";
|
|
30
30
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
31
31
|
import "../../../context/dialogContext.js";
|
|
32
32
|
import "@mui/icons-material";
|
|
@@ -3,9 +3,9 @@ import { useState as h, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import S from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as x } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as R, l as k, b as q } from "../../../auth-
|
|
6
|
+
import { O as x } from "../../../otpForm-DhVp5Gvi.js";
|
|
7
|
+
import "../../../constants-BRS2liAt.js";
|
|
8
|
+
import { a as R, l as k, b as q } from "../../../auth-Cg-RJNB1.js";
|
|
9
9
|
import v from "../Shared/Container/index.js";
|
|
10
10
|
import { LOGIN_SCREEN as f } from "../../../util/constants.js";
|
|
11
11
|
import { useSnackBarContext as C } from "../../../context/snackBarContext.js";
|
|
@@ -3,9 +3,9 @@ import { useState as d, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import k from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as j } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as q, r as w, v as M } from "../../../auth-
|
|
6
|
+
import { O as j } from "../../../otpForm-DhVp5Gvi.js";
|
|
7
|
+
import "../../../constants-BRS2liAt.js";
|
|
8
|
+
import { a as q, r as w, v as M } from "../../../auth-Cg-RJNB1.js";
|
|
9
9
|
import P from "../Shared/Container/index.js";
|
|
10
10
|
import { REGISTER_SCREEN as g } from "../../../util/constants.js";
|
|
11
11
|
import W from "./terms.js";
|