everest-npm-features 0.0.57 → 0.0.59
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-jzz8Y3XD.js → PlayArrow-BlkZJiHn.js} +1 -1
- package/dist/{auth-jjVjqywi.js → auth-WhDJHZtr.js} +1 -1
- package/dist/{bank-BM66KfAv.js → bank-BaOrdTcI.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
- 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 +11 -10
- 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 +5 -4
- 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 +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.d.ts +5 -0
- package/dist/components/Shared/Sumsub/index.js +83 -0
- package/dist/components/Wallet/Account/createIban.js +4 -3
- package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
- package/dist/components/Wallet/Account/eWallet.js +30 -28
- package/dist/components/Wallet/Account/iban.d.ts +4 -2
- package/dist/components/Wallet/Account/iban.js +30 -28
- package/dist/components/Wallet/Account/ibanItem.d.ts +4 -2
- package/dist/components/Wallet/Account/ibanItem.js +180 -175
- package/dist/components/Wallet/Account/index.js +191 -177
- package/dist/components/Wallet/Account/sendIban.js +11 -11
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -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 +4 -3
- package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
- package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +216 -231
- package/dist/components/Wallet/Portfolio/index.js +8 -7
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +15 -15
- package/dist/components/Wallet/Profile/index.js +4 -3
- package/dist/components/Wallet/Profile/storage.js +12 -12
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -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 +14 -13
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
- package/dist/components/Wallet/Shared/addBank.js +5 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +5 -4
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
- package/dist/components/Wallet/Stake/gems/index.js +74 -85
- package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
- package/dist/components/Wallet/Stake/id/index.js +68 -78
- package/dist/components/Wallet/Stake/index.d.ts +4 -1
- package/dist/components/Wallet/Stake/index.js +233 -201
- package/dist/components/Wallet/Swap/form.js +7 -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-Dtk3Gd0Y.js → constants-DREDnCMu.js} +482 -481
- package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-DbyDgq4J.js} +1 -1
- package/dist/{index-BGJ8RVKA.js → index-BXutc9ik.js} +8 -7
- package/dist/index-CWoxdH_Z.js +543 -0
- package/dist/{index-CyPm8GTl.js → index-CuPCW3XC.js} +29 -29
- package/dist/{index-BUnkeQv6.js → index-DJ7xuxBy.js} +9 -8
- package/dist/{index-BEFNlxwM.js → index-DV1dVcrY.js} +31 -30
- package/dist/{index-B4pP4oLo.js → index-DYP5Ex_T.js} +9 -8
- package/dist/{index-JdlBukUO.js → index-PoMNqntN.js} +4 -4
- package/dist/index.esm-I_Bp2YLf.js +224 -0
- package/dist/kyc-D4s_B9Cf.js +33 -0
- package/dist/main.js +7 -7
- package/dist/{order-DuPcaU0K.js → order-DGBbo_Ox.js} +1 -1
- package/dist/{stake-WaB8Q4v-.js → stake-CdMc5H7D.js} +1 -1
- package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
- package/dist/util/constants.d.ts +5 -0
- package/dist/util/constants.js +105 -101
- package/dist/{wallet-BxwOFeSW.js → wallet-DvfdQOju.js} +10 -10
- package/package.json +4 -2
- package/dist/index-BU6Lajc_.js +0 -503
- package/dist/kyc-BOm2LCSg.js +0 -26
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import "../../../constants-
|
|
4
|
-
import { v as
|
|
5
|
-
import
|
|
6
|
-
import { C as
|
|
7
|
-
import { C as
|
|
8
|
-
import
|
|
1
|
+
import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
|
|
2
|
+
import { useState as u, useMemo as f, useEffect as k } from "react";
|
|
3
|
+
import "../../../constants-DREDnCMu.js";
|
|
4
|
+
import { v as ye } from "../../../order-DGBbo_Ox.js";
|
|
5
|
+
import U from "../Shared/appButton.js";
|
|
6
|
+
import { C as be } from "../../../ContentCopy-coPwrEuz.js";
|
|
7
|
+
import { C as Y } from "../../../Close-CNwiMz_O.js";
|
|
8
|
+
import q from "../../Shared/transition.js";
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import "../../../hoc/withThemeProvider.js";
|
|
11
|
-
import { u as
|
|
12
|
-
import { GBP_ISO3 as
|
|
11
|
+
import { u as J } from "../../../react-redux-C7I9-1M6.js";
|
|
12
|
+
import { GBP_ISO3 as K, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
|
|
13
13
|
import "../Shared/Auth/otpForm.js";
|
|
14
|
-
import { useSnackBarContext as
|
|
14
|
+
import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
|
|
15
15
|
import "../../../util/conversions.js";
|
|
16
16
|
import "../../../index-CAoLi5Qq.js";
|
|
17
|
-
import
|
|
17
|
+
import Te from "../Shared/inputField.js";
|
|
18
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
19
|
import "../../../tooltip-3UvETWtS.js";
|
|
20
20
|
import "../Shared/pin.js";
|
|
@@ -22,180 +22,185 @@ import "../../../moment-h96o7c8I.js";
|
|
|
22
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
23
|
import "../../../web3-u4qDZYpo.js";
|
|
24
24
|
import "../../../index-ceeCtFuh.js";
|
|
25
|
-
import
|
|
25
|
+
import Ne from "../Shared/CardCorp/index.js";
|
|
26
|
+
import "../../../index.esm-I_Bp2YLf.js";
|
|
26
27
|
import "../../../context/dialogContext.js";
|
|
27
|
-
import
|
|
28
|
-
import { G as
|
|
29
|
-
import {
|
|
30
|
-
import { D as
|
|
31
|
-
import {
|
|
32
|
-
import { I as
|
|
33
|
-
import { B as
|
|
34
|
-
import { C as
|
|
28
|
+
import xe from "./sendIban.js";
|
|
29
|
+
import { G as T } from "../../../Grid-CFe3amXO.js";
|
|
30
|
+
import { D as Q, a as X } from "../../../DialogContent-BMwlOnbW.js";
|
|
31
|
+
import { D as Z } from "../../../DialogTitle-CfS0bb2K.js";
|
|
32
|
+
import { T as a } from "../../../Typography-pAaje37G.js";
|
|
33
|
+
import { I as z } from "../../../IconButton-DHm-hucF.js";
|
|
34
|
+
import { B as M } from "../../../Box-B0YSYLco.js";
|
|
35
|
+
import { C as D } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
36
|
const i = ({
|
|
36
|
-
label:
|
|
37
|
+
label: N,
|
|
37
38
|
value: r,
|
|
38
|
-
showCopyBtn:
|
|
39
|
+
showCopyBtn: x
|
|
39
40
|
}) => {
|
|
40
|
-
const { showAlertMessage:
|
|
41
|
-
return /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */ e(
|
|
43
|
-
/* @__PURE__ */
|
|
41
|
+
const { showAlertMessage: B } = ee();
|
|
42
|
+
return /* @__PURE__ */ n(I, { children: [
|
|
43
|
+
/* @__PURE__ */ e(T, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: N }) }),
|
|
44
|
+
/* @__PURE__ */ n(T, { size: 7, className: "fw500 text-left d-flex items-center", children: [
|
|
44
45
|
r,
|
|
45
|
-
|
|
46
|
-
navigator.clipboard.writeText(r),
|
|
47
|
-
message: `${
|
|
46
|
+
x && /* @__PURE__ */ e(z, { onClick: () => {
|
|
47
|
+
navigator.clipboard.writeText(r), B({
|
|
48
|
+
message: `${N} has been copied successfully.`,
|
|
48
49
|
type: "success"
|
|
49
50
|
});
|
|
50
|
-
}, children: /* @__PURE__ */ e(
|
|
51
|
+
}, children: /* @__PURE__ */ e(be, { fontSize: "small", color: "primary" }) })
|
|
51
52
|
] })
|
|
52
53
|
] });
|
|
53
|
-
},
|
|
54
|
-
AccountItem:
|
|
54
|
+
}, sr = ({
|
|
55
|
+
AccountItem: N,
|
|
55
56
|
data: r,
|
|
56
|
-
appKey:
|
|
57
|
-
appKeyEur:
|
|
58
|
-
paymentWidgetSrcUrl:
|
|
59
|
-
dispatch:
|
|
60
|
-
iban:
|
|
61
|
-
navigate:
|
|
62
|
-
from:
|
|
57
|
+
appKey: x,
|
|
58
|
+
appKeyEur: B,
|
|
59
|
+
paymentWidgetSrcUrl: m,
|
|
60
|
+
dispatch: L,
|
|
61
|
+
iban: re,
|
|
62
|
+
navigate: Be,
|
|
63
|
+
from: ne,
|
|
64
|
+
tokenData: l
|
|
63
65
|
}) => {
|
|
64
|
-
var
|
|
65
|
-
const [
|
|
66
|
-
(
|
|
67
|
-
),
|
|
68
|
-
|
|
66
|
+
var $;
|
|
67
|
+
const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, w] = u(""), [A, y] = u(null), [_, b] = u(null), [p, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = J(
|
|
68
|
+
(o) => o.order
|
|
69
|
+
), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = J((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
|
|
70
|
+
w(""), y(null), b(null), s(!1), O(!0);
|
|
69
71
|
}, W = () => {
|
|
70
|
-
|
|
71
|
-
},
|
|
72
|
-
const
|
|
73
|
-
if (!P || Number.isNaN(
|
|
74
|
-
|
|
72
|
+
O(!1), w(""), y(null), b(null), s(!1);
|
|
73
|
+
}, ue = () => {
|
|
74
|
+
const o = Number(P);
|
|
75
|
+
if (!P || Number.isNaN(o) || o <= 0) {
|
|
76
|
+
g({
|
|
75
77
|
message: "Please enter a valid amount greater than zero.",
|
|
76
78
|
type: "error"
|
|
77
79
|
});
|
|
78
80
|
return;
|
|
79
81
|
}
|
|
80
|
-
if (!
|
|
81
|
-
|
|
82
|
+
if (!x) {
|
|
83
|
+
g({
|
|
82
84
|
message: "Unable to identify application key.",
|
|
83
85
|
type: "error"
|
|
84
86
|
});
|
|
85
87
|
return;
|
|
86
88
|
}
|
|
87
|
-
if (!
|
|
88
|
-
|
|
89
|
+
if (!B) {
|
|
90
|
+
g({
|
|
89
91
|
message: "Unable to identify application EUR key.",
|
|
90
92
|
type: "error"
|
|
91
93
|
});
|
|
92
94
|
return;
|
|
93
95
|
}
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
apiKey:
|
|
96
|
+
const G = Math.round(o * 100);
|
|
97
|
+
L(
|
|
98
|
+
ye({
|
|
99
|
+
apiKey: B,
|
|
98
100
|
ccy: "EUR",
|
|
99
101
|
transaction_type: "CHECKOUT",
|
|
100
|
-
amount:
|
|
101
|
-
uuid:
|
|
102
|
+
amount: G,
|
|
103
|
+
uuid: ie ?? void 0
|
|
102
104
|
})
|
|
103
|
-
),
|
|
104
|
-
},
|
|
105
|
-
if (
|
|
106
|
-
|
|
105
|
+
), s(!0);
|
|
106
|
+
}, ae = () => {
|
|
107
|
+
if (c) {
|
|
108
|
+
ce();
|
|
107
109
|
return;
|
|
108
110
|
}
|
|
109
|
-
|
|
110
|
-
},
|
|
111
|
-
var
|
|
112
|
-
return
|
|
113
|
-
}, [
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
111
|
+
R(!0);
|
|
112
|
+
}, t = f(() => E ?? null, [E]), d = f(() => {
|
|
113
|
+
var o;
|
|
114
|
+
return t ? (t == null ? void 0 : t.checkout_id) ?? ((o = t == null ? void 0 : t.order) == null ? void 0 : o.provider_token) ?? (t == null ? void 0 : t.provider_token) ?? null : null;
|
|
115
|
+
}, [t]), S = (($ = t == null ? void 0 : t.order) == null ? void 0 : $.order_id) ?? null, me = f(() => m ? m.endsWith("/") ? m : `${m}/` : "", [m]), F = f(() => {
|
|
116
|
+
const o = (l == null ? void 0 : l.list) ?? [];
|
|
117
|
+
if (!o.length) return null;
|
|
118
|
+
const H = {
|
|
119
|
+
[Ce]: ve,
|
|
120
|
+
[K]: Ie
|
|
121
|
+
}[(r.currency ?? "").toUpperCase()] ?? null;
|
|
122
|
+
if (!H) return null;
|
|
123
|
+
const j = o.find((he) => he.symbol === H);
|
|
124
|
+
if (!j) return null;
|
|
125
|
+
const V = parseFloat(
|
|
126
|
+
(j.fmt_balance ?? "0").toString().replaceAll(",", "")
|
|
127
|
+
);
|
|
128
|
+
return Number.isNaN(V) ? null : V / 100;
|
|
129
|
+
}, [l == null ? void 0 : l.list, r.currency]), pe = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
|
|
130
|
+
minimumFractionDigits: 2,
|
|
131
|
+
maximumFractionDigits: 2
|
|
132
|
+
})} ${r.currency ?? ""}`, [F, r.currency]), de = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
|
|
133
|
+
k(() => {
|
|
134
|
+
p && d && (y(d), b(S ?? null), s(!1));
|
|
135
|
+
}, [p, d, S]), k(() => {
|
|
136
|
+
p && h && (!d || A || (y(d), b(S ?? null), s(!1)));
|
|
118
137
|
}, [
|
|
119
|
-
|
|
120
|
-
|
|
138
|
+
p,
|
|
139
|
+
h,
|
|
121
140
|
d,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
]),
|
|
125
|
-
|
|
126
|
-
}, [
|
|
127
|
-
if (
|
|
128
|
-
if (
|
|
129
|
-
|
|
141
|
+
A,
|
|
142
|
+
S
|
|
143
|
+
]), k(() => {
|
|
144
|
+
c && (h || (w(""), y(null), b(null)));
|
|
145
|
+
}, [c, h]), k(() => {
|
|
146
|
+
if (p && !v) {
|
|
147
|
+
if (E) {
|
|
148
|
+
s(!1);
|
|
130
149
|
return;
|
|
131
150
|
}
|
|
132
|
-
C.error && (
|
|
151
|
+
C.error && (g({
|
|
133
152
|
message: C.error,
|
|
134
153
|
type: "error"
|
|
135
|
-
}),
|
|
154
|
+
}), s(!1));
|
|
136
155
|
}
|
|
137
156
|
}, [
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
157
|
+
p,
|
|
158
|
+
v,
|
|
159
|
+
E,
|
|
141
160
|
C.error,
|
|
142
|
-
|
|
143
|
-
])
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
{
|
|
149
|
-
size: { md: 6, xs: 12 },
|
|
150
|
-
sx: {
|
|
151
|
-
display: "flex",
|
|
152
|
-
justifyContent: { md: "flex-end", xs: "flex-start" },
|
|
153
|
-
mt: { md: 0, xs: 1.5 }
|
|
154
|
-
},
|
|
155
|
-
children: /* @__PURE__ */ e(
|
|
156
|
-
m,
|
|
157
|
-
{
|
|
158
|
-
component: "button",
|
|
159
|
-
sx: {
|
|
160
|
-
background: "none",
|
|
161
|
-
border: "none",
|
|
162
|
-
padding: 0,
|
|
163
|
-
cursor: "pointer",
|
|
164
|
-
color: "primary.main",
|
|
165
|
-
textDecoration: "underline",
|
|
166
|
-
fontSize: 14
|
|
167
|
-
},
|
|
168
|
-
onClick: () => J("/history"),
|
|
169
|
-
children: "History"
|
|
170
|
-
}
|
|
171
|
-
)
|
|
172
|
-
}
|
|
173
|
-
)
|
|
174
|
-
] }) }),
|
|
175
|
-
/* @__PURE__ */ o(
|
|
176
|
-
j,
|
|
161
|
+
g
|
|
162
|
+
]);
|
|
163
|
+
const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
|
|
164
|
+
/* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
|
|
165
|
+
se ? /* @__PURE__ */ e(D, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
|
|
166
|
+
a,
|
|
177
167
|
{
|
|
178
|
-
|
|
168
|
+
component: "span",
|
|
169
|
+
sx: {
|
|
170
|
+
fontSize: 16,
|
|
171
|
+
fontWeight: 700,
|
|
172
|
+
color: "primary.main"
|
|
173
|
+
},
|
|
174
|
+
children: pe
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
] });
|
|
178
|
+
return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
|
|
179
|
+
/* @__PURE__ */ e(N, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(T, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(T, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
|
|
180
|
+
/* @__PURE__ */ n(
|
|
181
|
+
Q,
|
|
182
|
+
{
|
|
183
|
+
open: oe,
|
|
179
184
|
fullWidth: !0,
|
|
180
|
-
onClose: () =>
|
|
181
|
-
TransitionComponent:
|
|
185
|
+
onClose: () => R(!1),
|
|
186
|
+
TransitionComponent: q,
|
|
182
187
|
maxWidth: "md",
|
|
183
188
|
children: [
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */ e(
|
|
189
|
+
/* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
|
|
190
|
+
/* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
|
|
186
191
|
/* @__PURE__ */ e(
|
|
187
|
-
|
|
192
|
+
z,
|
|
188
193
|
{
|
|
189
194
|
"aria-label": "close",
|
|
190
|
-
onClick: () =>
|
|
195
|
+
onClick: () => R(!1),
|
|
191
196
|
className: "menu-buttons",
|
|
192
|
-
children: /* @__PURE__ */ e(
|
|
197
|
+
children: /* @__PURE__ */ e(Y, {})
|
|
193
198
|
}
|
|
194
199
|
)
|
|
195
200
|
] }),
|
|
196
|
-
/* @__PURE__ */
|
|
197
|
-
/* @__PURE__ */ e(
|
|
198
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ n(X, { dividers: !0, children: [
|
|
202
|
+
/* @__PURE__ */ e(a, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
|
|
203
|
+
/* @__PURE__ */ n(T, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
|
|
199
204
|
/* @__PURE__ */ e(
|
|
200
205
|
i,
|
|
201
206
|
{
|
|
@@ -227,7 +232,7 @@ const i = ({
|
|
|
227
232
|
showCopyBtn: !0
|
|
228
233
|
}
|
|
229
234
|
),
|
|
230
|
-
r.currency ===
|
|
235
|
+
r.currency === K && /* @__PURE__ */ n(I, { children: [
|
|
231
236
|
/* @__PURE__ */ e(
|
|
232
237
|
i,
|
|
233
238
|
{
|
|
@@ -258,51 +263,51 @@ const i = ({
|
|
|
258
263
|
]
|
|
259
264
|
}
|
|
260
265
|
),
|
|
261
|
-
|
|
262
|
-
|
|
266
|
+
c && /* @__PURE__ */ n(
|
|
267
|
+
Q,
|
|
263
268
|
{
|
|
264
|
-
open:
|
|
269
|
+
open: h,
|
|
265
270
|
fullWidth: !0,
|
|
266
271
|
maxWidth: "sm",
|
|
267
272
|
onClose: W,
|
|
268
|
-
TransitionComponent:
|
|
273
|
+
TransitionComponent: q,
|
|
269
274
|
children: [
|
|
270
|
-
/* @__PURE__ */
|
|
271
|
-
/* @__PURE__ */ e(
|
|
275
|
+
/* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
|
|
276
|
+
/* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
|
|
272
277
|
/* @__PURE__ */ e(
|
|
273
|
-
|
|
278
|
+
z,
|
|
274
279
|
{
|
|
275
280
|
"aria-label": "close",
|
|
276
281
|
onClick: W,
|
|
277
282
|
className: "menu-buttons",
|
|
278
|
-
children: /* @__PURE__ */ e(
|
|
283
|
+
children: /* @__PURE__ */ e(Y, {})
|
|
279
284
|
}
|
|
280
285
|
)
|
|
281
286
|
] }),
|
|
282
|
-
/* @__PURE__ */ e(
|
|
283
|
-
/* @__PURE__ */ e(
|
|
287
|
+
/* @__PURE__ */ e(X, { dividers: !0, children: A ? /* @__PURE__ */ n(M, { mt: 2, children: [
|
|
288
|
+
/* @__PURE__ */ e(a, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
|
|
284
289
|
/* @__PURE__ */ e(
|
|
285
|
-
|
|
290
|
+
Ne,
|
|
286
291
|
{
|
|
287
|
-
checkoutId:
|
|
288
|
-
srcUrl:
|
|
289
|
-
onResultUrl:
|
|
292
|
+
checkoutId: A,
|
|
293
|
+
srcUrl: me,
|
|
294
|
+
onResultUrl: de
|
|
290
295
|
}
|
|
291
296
|
)
|
|
292
|
-
] }) : /* @__PURE__ */
|
|
293
|
-
/* @__PURE__ */ e(
|
|
297
|
+
] }) : /* @__PURE__ */ n(I, { children: [
|
|
298
|
+
/* @__PURE__ */ e(a, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
|
|
294
299
|
/* @__PURE__ */ e(
|
|
295
|
-
|
|
300
|
+
Te,
|
|
296
301
|
{
|
|
297
302
|
label: "Topup Amount",
|
|
298
303
|
type: "number",
|
|
299
304
|
value: P,
|
|
300
|
-
onChangeHandler: (
|
|
305
|
+
onChangeHandler: (o) => w(o),
|
|
301
306
|
inputProps: { min: "0", step: "0.01" }
|
|
302
307
|
}
|
|
303
308
|
),
|
|
304
|
-
/* @__PURE__ */
|
|
305
|
-
|
|
309
|
+
/* @__PURE__ */ n(
|
|
310
|
+
M,
|
|
306
311
|
{
|
|
307
312
|
mt: 4,
|
|
308
313
|
display: "flex",
|
|
@@ -310,22 +315,22 @@ const i = ({
|
|
|
310
315
|
gap: 2,
|
|
311
316
|
children: [
|
|
312
317
|
/* @__PURE__ */ e(
|
|
313
|
-
|
|
318
|
+
U,
|
|
314
319
|
{
|
|
315
320
|
variantType: "secondary",
|
|
316
321
|
onClick: W,
|
|
317
|
-
disabled:
|
|
322
|
+
disabled: v,
|
|
318
323
|
children: "Cancel"
|
|
319
324
|
}
|
|
320
325
|
),
|
|
321
326
|
/* @__PURE__ */ e(
|
|
322
|
-
|
|
327
|
+
U,
|
|
323
328
|
{
|
|
324
|
-
onClick:
|
|
325
|
-
disabled:
|
|
326
|
-
children: /* @__PURE__ */
|
|
327
|
-
|
|
328
|
-
|
|
329
|
+
onClick: ue,
|
|
330
|
+
disabled: v,
|
|
331
|
+
children: /* @__PURE__ */ n("strong", { children: [
|
|
332
|
+
v ? /* @__PURE__ */ e(
|
|
333
|
+
D,
|
|
329
334
|
{
|
|
330
335
|
size: 18,
|
|
331
336
|
color: "inherit",
|
|
@@ -344,18 +349,18 @@ const i = ({
|
|
|
344
349
|
}
|
|
345
350
|
),
|
|
346
351
|
/* @__PURE__ */ e(
|
|
347
|
-
|
|
352
|
+
xe,
|
|
348
353
|
{
|
|
349
|
-
iban:
|
|
354
|
+
iban: re,
|
|
350
355
|
data: r,
|
|
351
|
-
dispatch:
|
|
352
|
-
appKey:
|
|
353
|
-
openModal:
|
|
354
|
-
setOpenModal:
|
|
356
|
+
dispatch: L,
|
|
357
|
+
appKey: x,
|
|
358
|
+
openModal: te,
|
|
359
|
+
setOpenModal: le
|
|
355
360
|
}
|
|
356
361
|
)
|
|
357
|
-
] }) : /* @__PURE__ */
|
|
358
|
-
|
|
362
|
+
] }) : /* @__PURE__ */ n(
|
|
363
|
+
M,
|
|
359
364
|
{
|
|
360
365
|
className: "text-center",
|
|
361
366
|
sx: {
|
|
@@ -366,13 +371,13 @@ const i = ({
|
|
|
366
371
|
borderRadius: "5px"
|
|
367
372
|
},
|
|
368
373
|
children: [
|
|
369
|
-
/* @__PURE__ */
|
|
374
|
+
/* @__PURE__ */ n("p", { children: [
|
|
370
375
|
r.currency,
|
|
371
376
|
" ",
|
|
372
|
-
|
|
377
|
+
c ? "E-Wallet" : "Virtual IBAN",
|
|
373
378
|
" creation is in progress. Please wait while we generate your",
|
|
374
379
|
" ",
|
|
375
|
-
|
|
380
|
+
c ? "E-Wallet" : "Virtual IBAN",
|
|
376
381
|
"."
|
|
377
382
|
] }),
|
|
378
383
|
/* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
|
|
@@ -381,5 +386,5 @@ const i = ({
|
|
|
381
386
|
) });
|
|
382
387
|
};
|
|
383
388
|
export {
|
|
384
|
-
|
|
389
|
+
sr as default
|
|
385
390
|
};
|