everest-npm-features 0.0.62 → 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.
- package/dist/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-71FP5PzJ.js} +5 -5
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-DTJdu6mq.js → auth-BBeOw4mt.js} +1 -1
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- 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/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- 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.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +322 -97
- package/dist/components/Wallet/Account/eWallet.js +35 -37
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +42 -42
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -111
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +4 -4
- 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 +96 -95
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +128 -131
- package/dist/components/Wallet/Profile/index.js +5 -5
- package/dist/components/Wallet/Profile/storage.js +2 -2
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +19 -18
- package/dist/components/Wallet/Shared/addBank.js +3 -3
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- 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 +61 -52
- package/dist/components/Wallet/Stake/id/index.js +67 -66
- package/dist/components/Wallet/Stake/index.js +4 -4
- package/dist/components/Wallet/Swap/form.js +6 -6
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/{index-3OQ4M69t.js → index-B4XvACQN.js} +7 -7
- package/dist/{index-BBFbUCRZ.js → index-CTPMPwYK.js} +102 -106
- package/dist/{index-C1WPCgkl.js → index-DkiQ8pRO.js} +51 -51
- package/dist/{index-CYX3j0V7.js → index-DuWW5roi.js} +7 -7
- package/dist/{index-CDwzoHu7.js → index-JY6-UKlX.js} +6 -6
- package/dist/{index-ILpK4BCB.js → index-_fiTunwZ.js} +4 -4
- package/dist/{index-CK4kLRAw.js → index-bK14vCZw.js} +5 -5
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/{otpForm-fiNqeB5H.js → otpForm-DeeegaX2.js} +2 -2
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
- package/package.json +1 -1
- package/dist/styles.module-CHPRGltL.js +0 -28
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import { Box as t, Grid as
|
|
4
|
-
import { I as
|
|
5
|
-
import { DIALOG_SUCCESS_ICON as
|
|
6
|
-
import { M as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import { AuthInnerContainer as
|
|
10
|
-
import
|
|
11
|
-
const
|
|
12
|
-
dispatch:
|
|
1
|
+
import { jsx as e, jsxs as o, Fragment as l } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect as C } from "react";
|
|
3
|
+
import { Box as t, Grid as n, Typography as S, IconButton as N, CircularProgress as B } from "@mui/material";
|
|
4
|
+
import { I as w } from "../../../Info-DOoRR7sR.js";
|
|
5
|
+
import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
|
|
6
|
+
import { M as D } from "../../../tooltip-BW0UyWw7.js";
|
|
7
|
+
import E from "../Shared/noData.js";
|
|
8
|
+
import P from "./createIban.js";
|
|
9
|
+
import { AuthInnerContainer as v } from "../Shared/Container/index.js";
|
|
10
|
+
import z from "./ibanItem.js";
|
|
11
|
+
const M = ({
|
|
12
|
+
dispatch: h,
|
|
13
13
|
openDialog: a,
|
|
14
|
-
appKey:
|
|
14
|
+
appKey: u,
|
|
15
15
|
appKeyEur: d,
|
|
16
16
|
paymentWidgetSrcUrl: f,
|
|
17
17
|
iban: r,
|
|
18
|
-
navigate:
|
|
19
|
-
AccountItem:
|
|
20
|
-
createIbanRequest:
|
|
21
|
-
tokenData: x
|
|
18
|
+
navigate: i,
|
|
19
|
+
AccountItem: I,
|
|
20
|
+
createIbanRequest: y,
|
|
21
|
+
tokenData: x,
|
|
22
|
+
brandId: A
|
|
22
23
|
}) => {
|
|
23
|
-
const
|
|
24
|
-
return
|
|
24
|
+
const c = r.data, g = r.loader;
|
|
25
|
+
return C(() => {
|
|
25
26
|
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
|
|
26
27
|
title: "Payment Success",
|
|
27
28
|
message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
|
|
28
|
-
icon:
|
|
29
|
+
icon: T,
|
|
29
30
|
width: "575px",
|
|
30
31
|
confirmButtonText: "Continue"
|
|
31
32
|
});
|
|
32
|
-
}, []), /* @__PURE__ */ e(
|
|
33
|
-
/* @__PURE__ */ n
|
|
34
|
-
/* @__PURE__ */ n
|
|
35
|
-
/* @__PURE__ */ e(
|
|
33
|
+
}, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ o(t, { p: 3, children: [
|
|
34
|
+
/* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
|
|
35
|
+
/* @__PURE__ */ o(n, { size: 8, children: [
|
|
36
|
+
/* @__PURE__ */ e(S, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
|
|
36
37
|
/* @__PURE__ */ e(
|
|
37
|
-
|
|
38
|
+
D,
|
|
38
39
|
{
|
|
39
40
|
title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
|
|
40
41
|
placement: "bottom",
|
|
41
|
-
children: /* @__PURE__ */ e(
|
|
42
|
+
children: /* @__PURE__ */ e(N, { className: "info-fee-icon", children: /* @__PURE__ */ e(w, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
42
43
|
}
|
|
43
44
|
)
|
|
44
45
|
] }),
|
|
45
|
-
/* @__PURE__ */ e(
|
|
46
|
-
|
|
46
|
+
/* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
47
|
+
P,
|
|
47
48
|
{
|
|
48
49
|
openDialog: a,
|
|
49
|
-
createIbanRequest:
|
|
50
|
+
createIbanRequest: y,
|
|
50
51
|
iban: r,
|
|
51
|
-
navigate:
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
from: u
|
|
52
|
+
navigate: i,
|
|
53
|
+
from: p,
|
|
54
|
+
brandId: A
|
|
55
55
|
}
|
|
56
56
|
) }) })
|
|
57
57
|
] }),
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(B, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: c.length > 0 ? /* @__PURE__ */ e(l, { children: c.map((s, m) => /* @__PURE__ */ e(
|
|
59
|
+
z,
|
|
60
60
|
{
|
|
61
61
|
data: s,
|
|
62
|
-
AccountItem:
|
|
63
|
-
dispatch:
|
|
64
|
-
appKey:
|
|
62
|
+
AccountItem: I,
|
|
63
|
+
dispatch: h,
|
|
64
|
+
appKey: u,
|
|
65
65
|
appKeyEur: d,
|
|
66
66
|
paymentWidgetSrcUrl: f,
|
|
67
67
|
iban: r,
|
|
68
|
-
navigate:
|
|
69
|
-
from:
|
|
68
|
+
navigate: i,
|
|
69
|
+
from: p,
|
|
70
70
|
tokenData: x
|
|
71
71
|
},
|
|
72
72
|
m
|
|
73
|
-
)) }) : /* @__PURE__ */ e(
|
|
73
|
+
)) }) : /* @__PURE__ */ e(E, { text: "You currently have no IBAN Accounts" }) })
|
|
74
74
|
] }) });
|
|
75
75
|
};
|
|
76
76
|
export {
|
|
77
|
-
|
|
77
|
+
M as default
|
|
78
78
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useMemo as f, useEffect as k } from "react";
|
|
3
3
|
import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { v as ye } from "../../../order-
|
|
4
|
+
import "../../../constants-DX0YBtP2.js";
|
|
5
|
+
import { v as ye } from "../../../order-BXeCIvqC.js";
|
|
6
6
|
import U from "../Shared/appButton.js";
|
|
7
7
|
import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
|
|
8
8
|
import { C as Q } from "../../../Close-DSxLLo08.js";
|
|
@@ -11,7 +11,7 @@ import "../../../index-DlQqWbXG.js";
|
|
|
11
11
|
import "../../../hoc/withThemeProvider.js";
|
|
12
12
|
import { u as Z } from "../../../react-redux-C7I9-1M6.js";
|
|
13
13
|
import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
|
|
14
|
-
import "../../../otpForm-
|
|
14
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
15
15
|
import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
|
|
16
16
|
import "../../../util/conversions.js";
|
|
17
17
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -5,6 +5,7 @@ interface AccountProps {
|
|
|
5
5
|
appKeyEur: string;
|
|
6
6
|
paymentWidgetSrcUrl: string;
|
|
7
7
|
navigate: (path: string) => void;
|
|
8
|
+
brandId?: string;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
10
11
|
export default _default;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { jsxs as n, Fragment as
|
|
1
|
+
import { jsxs as n, Fragment as Z, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as W, useEffect as c } from "react";
|
|
3
3
|
import { u as h } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as
|
|
9
|
-
import { LINKED_WALLET_TOOLTIP as
|
|
10
|
-
import { M as
|
|
11
|
-
import { I as
|
|
12
|
-
import { C as
|
|
13
|
-
import { D as
|
|
14
|
-
import { C as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import { useSnackBarContext as
|
|
23
|
-
import
|
|
24
|
-
import { AuthInnerContainer as
|
|
4
|
+
import "../../../constants-DX0YBtP2.js";
|
|
5
|
+
import { u as de, c as ue, d as pe } from "../../../index-BQNs1mvn.js";
|
|
6
|
+
import { u as he, a as fe, b as ge, c as be, d as _e, e as xe, g as Ne } from "../../../wallet-BPXOp8UG.js";
|
|
7
|
+
import { u as We, c as Ce, d as we, e as ke } from "../../../bank-HVb0GFsa.js";
|
|
8
|
+
import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as ve, Stack as Ie, Dialog as De, DialogTitle as ye, DialogContent as Ae } from "@mui/material";
|
|
9
|
+
import { LINKED_WALLET_TOOLTIP as Te, CONNECTED_WALLET_TOOLTIP as Le, BRAND_VORTEX_ID as Be, WALLET_ICON as Re, DELETE_ICON as Se } from "../../../util/constants.js";
|
|
10
|
+
import { M as U } from "../../../tooltip-BW0UyWw7.js";
|
|
11
|
+
import { I as ee } from "../../../Info-DOoRR7sR.js";
|
|
12
|
+
import { C as Ee } from "../../../Cancel-pHQsCjtK.js";
|
|
13
|
+
import { D as qe } from "../../../Delete-Bj8zmXnh.js";
|
|
14
|
+
import { C as ze } from "../../../Close-DSxLLo08.js";
|
|
15
|
+
import Pe from "../../Shared/transition.js";
|
|
16
|
+
import te from "../Shared/inputField.js";
|
|
17
|
+
import Oe from "../Shared/addBank.js";
|
|
18
|
+
import $e from "../Shared/connectPlaidBank.js";
|
|
19
|
+
import Me from "../Shared/ConnectWallet/index.js";
|
|
20
|
+
import He from "./iban.js";
|
|
21
|
+
import je from "./eWallet.js";
|
|
22
|
+
import { useSnackBarContext as Fe } from "../../../context/snackBarContext.js";
|
|
23
|
+
import ne from "../Shared/appButton.js";
|
|
24
|
+
import { AuthInnerContainer as S } from "../Shared/Container/index.js";
|
|
25
25
|
import "../../../index-DlQqWbXG.js";
|
|
26
|
-
import
|
|
27
|
-
import "../../../otpForm-
|
|
28
|
-
import
|
|
26
|
+
import Ge from "../../../hoc/withThemeProvider.js";
|
|
27
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
28
|
+
import Ke from "../../../hooks/useEverestDispatch.js";
|
|
29
29
|
import "../../../util/conversions.js";
|
|
30
30
|
import "../../../index-CAoLi5Qq.js";
|
|
31
31
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
@@ -33,10 +33,10 @@ import "../../../moment-h96o7c8I.js";
|
|
|
33
33
|
import "../../../index.esm-BsMAMhYW.js";
|
|
34
34
|
import "../../../index-ceeCtFuh.js";
|
|
35
35
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
36
|
-
import { useDialogContext as
|
|
36
|
+
import { useDialogContext as Ve } from "../../../context/dialogContext.js";
|
|
37
37
|
import "@mui/icons-material";
|
|
38
|
-
import '../../../assets/index3.css';const
|
|
39
|
-
container:
|
|
38
|
+
import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
|
|
39
|
+
container: Xe,
|
|
40
40
|
"inner-container": "_inner-container_arwo8_13",
|
|
41
41
|
heading: Je,
|
|
42
42
|
"account-item": "_account-item_arwo8_41",
|
|
@@ -48,58 +48,59 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
48
48
|
"delete-disable": "_delete-disable_arwo8_121",
|
|
49
49
|
"confirm-edit": "_confirm-edit_arwo8_137"
|
|
50
50
|
}, Qe = ({
|
|
51
|
-
baseUrl:
|
|
52
|
-
checkoutSdkKey:
|
|
51
|
+
baseUrl: E,
|
|
52
|
+
checkoutSdkKey: q,
|
|
53
53
|
appKey: z,
|
|
54
54
|
appKeyEur: P,
|
|
55
55
|
paymentWidgetSrcUrl: O,
|
|
56
|
-
navigate:
|
|
56
|
+
navigate: $,
|
|
57
|
+
brandId: M
|
|
57
58
|
}) => {
|
|
58
|
-
const o =
|
|
59
|
-
error:
|
|
60
|
-
message:
|
|
61
|
-
loader:
|
|
62
|
-
} =
|
|
59
|
+
const o = Ke(), { showAlertMessage: i } = Fe(), { openDialog: k } = Ve(), v = h((t) => t.app.features), f = h(de), oe = f.loader, u = f.message, H = f.banks, j = f.iban, [F, G] = W(!1), [ae, g] = W(!1), [I, se] = W(""), [D, re] = W(""), K = h(ue), V = K.data, { error: y, message: A, loader: T } = K, X = h((t) => t.user.profile), J = X.tokens, L = X.everWalletAddress, Q = h(pe), b = Q.data, {
|
|
60
|
+
error: B,
|
|
61
|
+
message: R,
|
|
62
|
+
loader: ie
|
|
63
|
+
} = Q;
|
|
63
64
|
c(() => {
|
|
64
65
|
if (u) {
|
|
65
|
-
|
|
66
|
+
G(!1);
|
|
66
67
|
const t = typeof u == "string" ? u : String(u);
|
|
67
68
|
(t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
|
|
68
69
|
}
|
|
69
70
|
}, [u]), c(() => {
|
|
70
|
-
|
|
71
|
-
}, [S]), c(() => {
|
|
72
|
-
B && i({ message: B, type: "success" });
|
|
71
|
+
B && i({ message: B });
|
|
73
72
|
}, [B]), c(() => {
|
|
74
|
-
|
|
75
|
-
}, [
|
|
76
|
-
|
|
77
|
-
}, [
|
|
78
|
-
|
|
73
|
+
R && i({ message: R, type: "success" });
|
|
74
|
+
}, [R]), c(() => {
|
|
75
|
+
y && i({ message: y });
|
|
76
|
+
}, [y]), c(() => {
|
|
77
|
+
A && (g(!1), i({ message: A, type: "success" }));
|
|
78
|
+
}, [A]), c(() => (V.length <= 0 && o(he()), b.length <= 0 && o(fe()), o(We()), o(Ce()), () => {
|
|
79
|
+
o(ge("")), o(be(""));
|
|
79
80
|
}), []), c(() => {
|
|
80
|
-
|
|
81
|
-
}, [
|
|
82
|
-
const
|
|
81
|
+
L && o(_e(L));
|
|
82
|
+
}, [L, o]);
|
|
83
|
+
const le = () => {
|
|
83
84
|
if (!I)
|
|
84
85
|
return i({ message: "Please provide the wallet name" }), !1;
|
|
85
|
-
if (!
|
|
86
|
+
if (!D)
|
|
86
87
|
return i({
|
|
87
88
|
message: "Please provide the wallet private key"
|
|
88
89
|
}), !1;
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
T || o(
|
|
91
|
+
xe({
|
|
91
92
|
name: I,
|
|
92
|
-
privatekey: Buffer.from(
|
|
93
|
+
privatekey: Buffer.from(D).toString("base64")
|
|
93
94
|
})
|
|
94
95
|
);
|
|
95
|
-
},
|
|
96
|
+
}, ce = (t) => {
|
|
96
97
|
k({
|
|
97
98
|
icon: Se,
|
|
98
99
|
height: "450px",
|
|
99
100
|
title: "Are you sure you want to delete?",
|
|
100
101
|
message: "This action cannot be undone.",
|
|
101
102
|
onConfirm: () => {
|
|
102
|
-
o(
|
|
103
|
+
o(ke(t));
|
|
103
104
|
},
|
|
104
105
|
cancelButtonShow: !0
|
|
105
106
|
});
|
|
@@ -111,16 +112,16 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
111
112
|
}) => {
|
|
112
113
|
let x, N;
|
|
113
114
|
return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (x = t.name, N = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (x = t.accountName, N = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (x = t.accountName, N = t.accountNumber), /* @__PURE__ */ n(r, { className: a["account-item"], children: [
|
|
114
|
-
s === "bankAccount" &&
|
|
115
|
+
s === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
|
|
115
116
|
C,
|
|
116
117
|
{
|
|
117
118
|
className: a["remove-icon"],
|
|
118
|
-
onClick: () =>
|
|
119
|
-
children: /* @__PURE__ */ e(
|
|
119
|
+
onClick: () => ce(t.id),
|
|
120
|
+
children: /* @__PURE__ */ e(Ee, {})
|
|
120
121
|
}
|
|
121
122
|
),
|
|
122
123
|
/* @__PURE__ */ n(m, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
|
|
123
|
-
/* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src:
|
|
124
|
+
/* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Re, alt: "Icon", height: 28, width: 28 }) }),
|
|
124
125
|
/* @__PURE__ */ n(m, { size: { xs: 7, md: 7 }, children: [
|
|
125
126
|
/* @__PURE__ */ e(
|
|
126
127
|
l,
|
|
@@ -152,7 +153,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
152
153
|
] }),
|
|
153
154
|
_
|
|
154
155
|
] });
|
|
155
|
-
},
|
|
156
|
+
}, me = (t) => {
|
|
156
157
|
const s = b.length;
|
|
157
158
|
let _ = !1;
|
|
158
159
|
for (let d = 0; d < s; d++)
|
|
@@ -162,14 +163,14 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
162
163
|
}
|
|
163
164
|
_ ? i({
|
|
164
165
|
message: "This wallet address is already connected."
|
|
165
|
-
}) : o(
|
|
166
|
-
},
|
|
167
|
-
o(
|
|
166
|
+
}) : o(Ne(t));
|
|
167
|
+
}, Y = (t) => {
|
|
168
|
+
o(we({ currency: t }));
|
|
168
169
|
};
|
|
169
|
-
return /* @__PURE__ */ n(
|
|
170
|
+
return /* @__PURE__ */ n(Z, { children: [
|
|
170
171
|
/* @__PURE__ */ e(r, { className: a.container, children: /* @__PURE__ */ n(m, { spacing: 2, container: !0, width: "100%", children: [
|
|
171
172
|
/* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
|
|
172
|
-
/* @__PURE__ */ n(
|
|
173
|
+
/* @__PURE__ */ n(S, { p: 3, children: [
|
|
173
174
|
/* @__PURE__ */ e(
|
|
174
175
|
l,
|
|
175
176
|
{
|
|
@@ -180,12 +181,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
180
181
|
}
|
|
181
182
|
),
|
|
182
183
|
/* @__PURE__ */ e(
|
|
183
|
-
|
|
184
|
+
U,
|
|
184
185
|
{
|
|
185
|
-
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children:
|
|
186
|
+
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Te }),
|
|
186
187
|
placement: "bottom",
|
|
187
188
|
children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
188
|
-
|
|
189
|
+
ee,
|
|
189
190
|
{
|
|
190
191
|
sx: {
|
|
191
192
|
fontSize: "26px",
|
|
@@ -195,10 +196,10 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
195
196
|
) })
|
|
196
197
|
}
|
|
197
198
|
),
|
|
198
|
-
|
|
199
|
-
|
|
199
|
+
T && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
200
|
+
V.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
|
|
200
201
|
/* @__PURE__ */ e(
|
|
201
|
-
|
|
202
|
+
ne,
|
|
202
203
|
{
|
|
203
204
|
sx: { mt: 4 },
|
|
204
205
|
onClick: () => g(!0),
|
|
@@ -207,7 +208,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
207
208
|
}
|
|
208
209
|
)
|
|
209
210
|
] }),
|
|
210
|
-
/* @__PURE__ */ n(
|
|
211
|
+
/* @__PURE__ */ n(S, { p: 3, mt: 2, children: [
|
|
211
212
|
/* @__PURE__ */ e(
|
|
212
213
|
l,
|
|
213
214
|
{
|
|
@@ -218,12 +219,12 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
218
219
|
}
|
|
219
220
|
),
|
|
220
221
|
/* @__PURE__ */ e(
|
|
221
|
-
|
|
222
|
+
U,
|
|
222
223
|
{
|
|
223
224
|
title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Le }),
|
|
224
225
|
placement: "bottom",
|
|
225
226
|
children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
226
|
-
|
|
227
|
+
ee,
|
|
227
228
|
{
|
|
228
229
|
sx: {
|
|
229
230
|
fontSize: "26px",
|
|
@@ -233,84 +234,85 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
233
234
|
) })
|
|
234
235
|
}
|
|
235
236
|
),
|
|
236
|
-
|
|
237
|
+
ie && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
237
238
|
b.map((t, s) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, s)),
|
|
238
239
|
/* @__PURE__ */ e(
|
|
239
|
-
|
|
240
|
+
Me,
|
|
240
241
|
{
|
|
241
|
-
addressHandler:
|
|
242
|
+
addressHandler: me,
|
|
242
243
|
btnClass: "wallet-btn"
|
|
243
244
|
}
|
|
244
245
|
)
|
|
245
246
|
] })
|
|
246
247
|
] }),
|
|
247
248
|
/* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
|
|
248
|
-
v.eWallet && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
|
|
249
|
-
|
|
249
|
+
v.eWallet && M !== Be && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
|
|
250
|
+
je,
|
|
250
251
|
{
|
|
251
252
|
openDialog: k,
|
|
252
253
|
dispatch: o,
|
|
253
|
-
iban:
|
|
254
|
-
baseUrl:
|
|
255
|
-
checkoutSdkKey:
|
|
254
|
+
iban: j,
|
|
255
|
+
baseUrl: E,
|
|
256
|
+
checkoutSdkKey: q,
|
|
256
257
|
appKey: z,
|
|
257
258
|
appKeyEur: P,
|
|
258
259
|
paymentWidgetSrcUrl: O,
|
|
259
260
|
navigate: $,
|
|
260
261
|
AccountItem: p,
|
|
261
|
-
createIbanRequest:
|
|
262
|
-
tokenData:
|
|
262
|
+
createIbanRequest: Y,
|
|
263
|
+
tokenData: J
|
|
263
264
|
}
|
|
264
265
|
) }),
|
|
265
266
|
v.iban && /* @__PURE__ */ e(
|
|
266
|
-
|
|
267
|
+
He,
|
|
267
268
|
{
|
|
268
269
|
openDialog: k,
|
|
269
270
|
dispatch: o,
|
|
270
|
-
iban:
|
|
271
|
-
baseUrl:
|
|
272
|
-
checkoutSdkKey:
|
|
271
|
+
iban: j,
|
|
272
|
+
baseUrl: E,
|
|
273
|
+
checkoutSdkKey: q,
|
|
273
274
|
appKey: z,
|
|
274
275
|
appKeyEur: P,
|
|
275
276
|
paymentWidgetSrcUrl: O,
|
|
276
277
|
navigate: $,
|
|
277
278
|
AccountItem: p,
|
|
278
|
-
createIbanRequest:
|
|
279
|
-
tokenData:
|
|
279
|
+
createIbanRequest: Y,
|
|
280
|
+
tokenData: J,
|
|
281
|
+
brandId: M
|
|
280
282
|
}
|
|
281
283
|
),
|
|
282
|
-
/* @__PURE__ */ e(
|
|
284
|
+
/* @__PURE__ */ e(S, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: v.iban ? 2 : 0, children: [
|
|
283
285
|
/* @__PURE__ */ e(l, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
H.length > 0 && /* @__PURE__ */ n(
|
|
287
|
+
ve,
|
|
286
288
|
{
|
|
287
|
-
className: `${
|
|
289
|
+
className: `${F ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
|
|
288
290
|
sx: { mt: 3, mb: 3 },
|
|
289
291
|
variant: "contained",
|
|
290
|
-
onClick: () =>
|
|
292
|
+
onClick: () => G((t) => !t),
|
|
291
293
|
children: [
|
|
292
|
-
/* @__PURE__ */ e(
|
|
294
|
+
/* @__PURE__ */ e(qe, {}),
|
|
293
295
|
"Delete"
|
|
294
296
|
]
|
|
295
297
|
}
|
|
296
298
|
),
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
/* @__PURE__ */ n(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
299
|
+
oe && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
|
|
300
|
+
H.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
|
|
301
|
+
/* @__PURE__ */ n(Ie, { mt: 4, gap: 1, children: [
|
|
302
|
+
/* @__PURE__ */ e($e, {}),
|
|
301
303
|
/* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
302
|
-
/* @__PURE__ */ e(
|
|
304
|
+
/* @__PURE__ */ e(Oe, {})
|
|
303
305
|
] })
|
|
304
306
|
] }) })
|
|
305
307
|
] })
|
|
306
308
|
] }) }),
|
|
307
309
|
/* @__PURE__ */ n(
|
|
308
|
-
|
|
310
|
+
De,
|
|
309
311
|
{
|
|
310
312
|
fullWidth: !0,
|
|
311
|
-
open:
|
|
313
|
+
open: ae,
|
|
312
314
|
onClose: () => g(!1),
|
|
313
|
-
TransitionComponent:
|
|
315
|
+
TransitionComponent: Pe,
|
|
314
316
|
children: [
|
|
315
317
|
/* @__PURE__ */ n(ye, { className: "buy-modal-text-color", children: [
|
|
316
318
|
/* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
@@ -320,29 +322,29 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
320
322
|
"aria-label": "close",
|
|
321
323
|
onClick: () => g(!1),
|
|
322
324
|
className: "menu-buttons",
|
|
323
|
-
children: /* @__PURE__ */ e(
|
|
325
|
+
children: /* @__PURE__ */ e(ze, {})
|
|
324
326
|
}
|
|
325
327
|
)
|
|
326
328
|
] }),
|
|
327
329
|
/* @__PURE__ */ n(Ae, { dividers: !0, children: [
|
|
328
330
|
/* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
329
331
|
/* @__PURE__ */ e(
|
|
330
|
-
|
|
332
|
+
te,
|
|
331
333
|
{
|
|
332
334
|
label: "Name",
|
|
333
335
|
value: I,
|
|
334
|
-
onChangeHandler: (t) =>
|
|
336
|
+
onChangeHandler: (t) => se(t)
|
|
335
337
|
}
|
|
336
338
|
),
|
|
337
339
|
/* @__PURE__ */ e(
|
|
338
|
-
|
|
340
|
+
te,
|
|
339
341
|
{
|
|
340
342
|
label: "Private Key",
|
|
341
|
-
value:
|
|
342
|
-
onChangeHandler: (t) =>
|
|
343
|
+
value: D,
|
|
344
|
+
onChangeHandler: (t) => re(t)
|
|
343
345
|
}
|
|
344
346
|
),
|
|
345
|
-
/* @__PURE__ */ e(
|
|
347
|
+
/* @__PURE__ */ e(ne, { sx: { mt: 4 }, onClick: le, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(Z, { children: [
|
|
346
348
|
/* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
|
|
347
349
|
" Processing..."
|
|
348
350
|
] }) : "Import Wallet" }) })
|
|
@@ -351,7 +353,7 @@ import '../../../assets/index3.css';const Ke = "_container_arwo8_1", Je = "_head
|
|
|
351
353
|
}
|
|
352
354
|
)
|
|
353
355
|
] });
|
|
354
|
-
}, St =
|
|
356
|
+
}, St = Ge(Qe);
|
|
355
357
|
export {
|
|
356
358
|
St as default
|
|
357
359
|
};
|
|
@@ -6,8 +6,8 @@ import { I as M } from "../../../Info-DOoRR7sR.js";
|
|
|
6
6
|
import { u as O } from "../../../react-redux-C7I9-1M6.js";
|
|
7
7
|
import H from "../../Shared/transition.js";
|
|
8
8
|
import { M as J } from "../../../tooltip-BW0UyWw7.js";
|
|
9
|
-
import { ad as K, ae as b } from "../../../constants-
|
|
10
|
-
import { s as L } from "../../../bank-
|
|
9
|
+
import { ad as K, ae as b } from "../../../constants-DX0YBtP2.js";
|
|
10
|
+
import { s as L } from "../../../bank-HVb0GFsa.js";
|
|
11
11
|
import { useSnackBarContext as Q } from "../../../context/snackBarContext.js";
|
|
12
12
|
import V from "../Shared/appButton.js";
|
|
13
13
|
import { EURO_ISO3 as T } from "../../../util/constants.js";
|
|
@@ -6,16 +6,16 @@ import "../../../util/functions.js";
|
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
7
|
import "../../../styles.module-DMd29SPQ.js";
|
|
8
8
|
import "../Shared/appButton.js";
|
|
9
|
-
import "../../../constants-
|
|
9
|
+
import "../../../constants-DX0YBtP2.js";
|
|
10
10
|
import "../../../index-BQNs1mvn.js";
|
|
11
|
-
import "../../../order-
|
|
12
|
-
import "../../../bank-
|
|
13
|
-
import { a as F } from "../../../index-
|
|
11
|
+
import "../../../order-BXeCIvqC.js";
|
|
12
|
+
import "../../../bank-HVb0GFsa.js";
|
|
13
|
+
import { a as F } from "../../../index-DuWW5roi.js";
|
|
14
14
|
import "../../../index.esm-BsMAMhYW.js";
|
|
15
15
|
import "../../../react-redux-C7I9-1M6.js";
|
|
16
16
|
import "../../../index-DlQqWbXG.js";
|
|
17
17
|
import "../../../hoc/withThemeProvider.js";
|
|
18
|
-
import "../../../otpForm-
|
|
18
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
19
19
|
import "../../../context/snackBarContext.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
21
21
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../../PlayArrow-
|
|
4
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
5
5
|
import "../../../Info-DOoRR7sR.js";
|
|
6
6
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
7
|
import "../../../util/constants.js";
|
|
8
|
-
import "../../../constants-
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
9
|
import "../../../index-BQNs1mvn.js";
|
|
10
|
-
import "../../../order-
|
|
10
|
+
import "../../../order-BXeCIvqC.js";
|
|
11
11
|
import "../../../tooltip-BW0UyWw7.js";
|
|
12
12
|
import "../../../util/functions.js";
|
|
13
13
|
import "../Shared/appButton.js";
|
|
14
|
-
import { B as k } from "../../../index-
|
|
14
|
+
import { B as k } from "../../../index-DuWW5roi.js";
|
|
15
15
|
import "../../../styles.module-DMd29SPQ.js";
|
|
16
16
|
import "../Shared/TokenModal/index.js";
|
|
17
17
|
import "../../../react-redux-C7I9-1M6.js";
|