everest-npm-features 0.0.48 → 0.0.50
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-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
- package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
- package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
- 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 +12 -11
- package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
- 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 +12 -11
- package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
- 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 +39 -38
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
- package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
- 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 +14 -13
- package/dist/components/Shared/FullKyc/edd.js +41 -41
- package/dist/components/Shared/FullKyc/index.js +11 -10
- 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 +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +31 -30
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +96 -88
- package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
- package/dist/components/Wallet/Account/eWallet.js +118 -0
- package/dist/components/Wallet/Account/iban.d.ts +2 -0
- package/dist/components/Wallet/Account/iban.js +38 -32
- package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
- package/dist/components/Wallet/Account/ibanItem.js +233 -76
- package/dist/components/Wallet/Account/index.d.ts +2 -0
- package/dist/components/Wallet/Account/index.js +164 -143
- package/dist/components/Wallet/Account/sendIban.js +3 -3
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +14 -13
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
- package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +25 -24
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
- package/dist/components/Wallet/Portfolio/index.js +22 -21
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +34 -33
- package/dist/components/Wallet/Profile/index.js +20 -19
- package/dist/components/Wallet/Profile/storage.js +26 -26
- package/dist/components/Wallet/Receive/index.js +22 -21
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +13 -12
- package/dist/components/Wallet/Send/index.js +19 -18
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
- package/dist/components/Wallet/Shared/addBank.js +39 -38
- package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
- package/dist/components/Wallet/Shared/manualSend.js +6 -5
- package/dist/components/Wallet/SignIn/index.js +24 -23
- package/dist/components/Wallet/SignUp/index.js +22 -21
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/form.js +8 -7
- package/dist/components/Wallet/Swap/index.js +11 -10
- package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
- 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 +12 -11
- package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
- package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
- package/dist/hooks/useEverestDispatch.d.ts +6 -0
- package/dist/hooks/useEverestDispatch.js +5 -0
- package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
- package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
- package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
- package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
- package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
- package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
- package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
- package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
- package/dist/{tokenRow-D32W5WH3.js → tokenRow-B-tustzZ.js} +8 -6
- package/dist/util/constants.d.ts +2 -0
- package/dist/util/constants.js +21 -19
- package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
- package/package.json +3 -2
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
import { jsx as e, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
1
|
+
import { jsx as e, Fragment as E, jsxs as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as l, useMemo as M, useEffect as R } from "react";
|
|
3
|
+
import "../../../constants-t7n9qCW3.js";
|
|
4
|
+
import { v as ie } from "../../../order-jqH948WM.js";
|
|
5
|
+
import g from "../Shared/appButton.js";
|
|
6
|
+
import { C as le } from "../../../ContentCopy-coPwrEuz.js";
|
|
7
|
+
import { C as O } from "../../../Close-CNwiMz_O.js";
|
|
8
|
+
import $ from "../../Shared/transition.js";
|
|
7
9
|
import "../../../index-DlQqWbXG.js";
|
|
8
10
|
import "../../../hoc/withThemeProvider.js";
|
|
11
|
+
import { u as j } from "../../../react-redux-C7I9-1M6.js";
|
|
12
|
+
import { FEATURE_EWALLET as se } from "../../../util/constants.js";
|
|
9
13
|
import "../Shared/Auth/otpForm.js";
|
|
10
|
-
import "../../../
|
|
11
|
-
import { useSnackBarContext as x } from "../../../context/snackBarContext.js";
|
|
14
|
+
import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
|
|
12
15
|
import "../../../util/conversions.js";
|
|
13
16
|
import "../../../index-CAoLi5Qq.js";
|
|
17
|
+
import ae from "../Shared/inputField.js";
|
|
14
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
15
19
|
import "../../../tooltip-3UvETWtS.js";
|
|
16
20
|
import "../Shared/pin.js";
|
|
@@ -18,106 +22,183 @@ import "../../../moment-h96o7c8I.js";
|
|
|
18
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
19
23
|
import "../../../web3-u4qDZYpo.js";
|
|
20
24
|
import "../../../index-ceeCtFuh.js";
|
|
25
|
+
import ce from "../Shared/CardCorp/index.js";
|
|
21
26
|
import "../../../context/dialogContext.js";
|
|
22
|
-
import
|
|
23
|
-
import { G as
|
|
24
|
-
import { D as
|
|
25
|
-
import { D as
|
|
26
|
-
import { T as
|
|
27
|
-
import { I as
|
|
28
|
-
import { B as
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
import ue from "./sendIban.js";
|
|
28
|
+
import { G as s } from "../../../Grid-CFe3amXO.js";
|
|
29
|
+
import { D as V, a as G } from "../../../DialogContent-BMwlOnbW.js";
|
|
30
|
+
import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
|
|
31
|
+
import { T as v } from "../../../Typography-pAaje37G.js";
|
|
32
|
+
import { I as F } from "../../../IconButton-DHm-hucF.js";
|
|
33
|
+
import { B as D } from "../../../Box-B0YSYLco.js";
|
|
34
|
+
import { C as de } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
|
+
const d = ({
|
|
36
|
+
label: k,
|
|
37
|
+
value: o,
|
|
38
|
+
showCopyBtn: T
|
|
33
39
|
}) => {
|
|
34
|
-
const { showAlertMessage:
|
|
35
|
-
return /* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */ e(
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
navigator.clipboard.writeText(
|
|
41
|
-
message: `${
|
|
40
|
+
const { showAlertMessage: I } = q();
|
|
41
|
+
return /* @__PURE__ */ r(E, { children: [
|
|
42
|
+
/* @__PURE__ */ e(s, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
|
|
43
|
+
/* @__PURE__ */ r(s, { size: 7, className: "fw500 text-left d-flex items-center", children: [
|
|
44
|
+
o,
|
|
45
|
+
T && /* @__PURE__ */ e(F, { onClick: () => {
|
|
46
|
+
navigator.clipboard.writeText(o), I({
|
|
47
|
+
message: `${k} has been copied successfully.`,
|
|
42
48
|
type: "success"
|
|
43
49
|
});
|
|
44
|
-
}, children: /* @__PURE__ */ e(
|
|
50
|
+
}, children: /* @__PURE__ */ e(le, { fontSize: "small", color: "primary" }) })
|
|
45
51
|
] })
|
|
46
52
|
] });
|
|
47
|
-
},
|
|
48
|
-
AccountItem:
|
|
49
|
-
data:
|
|
50
|
-
appKey:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
+
}, He = ({
|
|
54
|
+
AccountItem: k,
|
|
55
|
+
data: o,
|
|
56
|
+
appKey: T,
|
|
57
|
+
appKeyEur: I,
|
|
58
|
+
paymentWidgetSrcUrl: a,
|
|
59
|
+
dispatch: U,
|
|
60
|
+
iban: J,
|
|
61
|
+
from: K
|
|
53
62
|
}) => {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
63
|
+
var L;
|
|
64
|
+
const [Q, N] = l(!1), [X, S] = l(!1), [m, _] = l(!1), [W, w] = l(""), [x, p] = l(null), [P, f] = l(null), [c, i] = l(!1), { showAlertMessage: h } = q(), C = K === se, y = j(
|
|
65
|
+
(t) => t.order
|
|
66
|
+
), A = y.v4Payment ?? null, b = y.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
|
|
67
|
+
w(""), p(null), f(null), i(!1), _(!0);
|
|
68
|
+
}, z = () => {
|
|
69
|
+
_(!1), w(""), p(null), f(null), i(!1);
|
|
70
|
+
}, ee = () => {
|
|
71
|
+
const t = Number(W);
|
|
72
|
+
if (!W || Number.isNaN(t) || t <= 0) {
|
|
73
|
+
h({
|
|
74
|
+
message: "Please enter a valid amount greater than zero.",
|
|
75
|
+
type: "error"
|
|
76
|
+
});
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
if (!T) {
|
|
80
|
+
h({
|
|
81
|
+
message: "Unable to identify application key.",
|
|
82
|
+
type: "error"
|
|
83
|
+
});
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
if (!I) {
|
|
87
|
+
h({
|
|
88
|
+
message: "Unable to identify application EUR key.",
|
|
89
|
+
type: "error"
|
|
90
|
+
});
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const te = Math.round(t * 100);
|
|
94
|
+
U(
|
|
95
|
+
ie({
|
|
96
|
+
apiKey: I,
|
|
97
|
+
ccy: "EUR",
|
|
98
|
+
transaction_type: "CHECKOUT",
|
|
99
|
+
amount: te,
|
|
100
|
+
uuid: Y ?? void 0
|
|
101
|
+
})
|
|
102
|
+
), i(!0);
|
|
103
|
+
}, re = () => {
|
|
104
|
+
if (C) {
|
|
105
|
+
Z();
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
N(!0);
|
|
109
|
+
}, n = M(() => A ?? null, [A]), u = M(() => {
|
|
110
|
+
var t;
|
|
111
|
+
return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
|
|
112
|
+
}, [n]), B = ((L = n == null ? void 0 : n.order) == null ? void 0 : L.order_id) ?? null, oe = M(() => a ? a.endsWith("/") ? a : `${a}/` : "", [a]), ne = M(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
|
|
113
|
+
return R(() => {
|
|
114
|
+
c && u && (p(u), f(B ?? null), i(!1));
|
|
115
|
+
}, [c, u, B]), R(() => {
|
|
116
|
+
c && m && (!u || x || (p(u), f(B ?? null), i(!1)));
|
|
117
|
+
}, [
|
|
118
|
+
c,
|
|
119
|
+
m,
|
|
120
|
+
u,
|
|
121
|
+
x,
|
|
122
|
+
B
|
|
123
|
+
]), R(() => {
|
|
124
|
+
C && (m || (w(""), p(null), f(null)));
|
|
125
|
+
}, [C, m]), R(() => {
|
|
126
|
+
if (c && !b) {
|
|
127
|
+
if (A) {
|
|
128
|
+
i(!1);
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
y.error && (h({
|
|
132
|
+
message: y.error,
|
|
133
|
+
type: "error"
|
|
134
|
+
}), i(!1));
|
|
135
|
+
}
|
|
136
|
+
}, [c, b, A, y.error, h]), /* @__PURE__ */ e(E, { children: o.accountNumber ? /* @__PURE__ */ r(E, { children: [
|
|
137
|
+
/* @__PURE__ */ e(k, { type: "iban", data: o, children: /* @__PURE__ */ r(s, { my: 1, spacing: 2, container: !0, children: [
|
|
138
|
+
/* @__PURE__ */ e(s, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: C ? "Topup" : "Deposit" }) }),
|
|
139
|
+
/* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => S(!0), children: "Send" }) }),
|
|
140
|
+
/* @__PURE__ */ e(s, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => N(!0), children: "Receive" }) })
|
|
60
141
|
] }) }),
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
-
|
|
142
|
+
/* @__PURE__ */ r(
|
|
143
|
+
V,
|
|
63
144
|
{
|
|
64
|
-
open:
|
|
145
|
+
open: Q,
|
|
65
146
|
fullWidth: !0,
|
|
66
|
-
onClose: () =>
|
|
67
|
-
TransitionComponent:
|
|
147
|
+
onClose: () => N(!1),
|
|
148
|
+
TransitionComponent: $,
|
|
68
149
|
maxWidth: "md",
|
|
69
150
|
children: [
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */ e(
|
|
151
|
+
/* @__PURE__ */ r(H, { className: "buy-modal-text-color", children: [
|
|
152
|
+
/* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
|
|
72
153
|
/* @__PURE__ */ e(
|
|
73
|
-
|
|
154
|
+
F,
|
|
74
155
|
{
|
|
75
156
|
"aria-label": "close",
|
|
76
|
-
onClick: () =>
|
|
157
|
+
onClick: () => N(!1),
|
|
77
158
|
className: "menu-buttons",
|
|
78
|
-
children: /* @__PURE__ */ e(
|
|
159
|
+
children: /* @__PURE__ */ e(O, {})
|
|
79
160
|
}
|
|
80
161
|
)
|
|
81
162
|
] }),
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */ e(
|
|
84
|
-
/* @__PURE__ */
|
|
163
|
+
/* @__PURE__ */ r(G, { dividers: !0, children: [
|
|
164
|
+
/* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
|
|
165
|
+
/* @__PURE__ */ r(s, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
|
|
85
166
|
/* @__PURE__ */ e(
|
|
86
|
-
|
|
167
|
+
d,
|
|
87
168
|
{
|
|
88
169
|
label: "Account Title",
|
|
89
|
-
value: `${
|
|
170
|
+
value: `${o.ownerFirstName} ${o.ownerLastName}`
|
|
90
171
|
}
|
|
91
172
|
),
|
|
92
173
|
/* @__PURE__ */ e(
|
|
93
|
-
|
|
174
|
+
d,
|
|
94
175
|
{
|
|
95
176
|
label: "Bank Account Currency",
|
|
96
|
-
value:
|
|
177
|
+
value: o.currency || ""
|
|
97
178
|
}
|
|
98
179
|
),
|
|
99
|
-
/* @__PURE__ */ e(
|
|
180
|
+
/* @__PURE__ */ e(d, { label: "Bank Name", value: o.bankName || "" }),
|
|
100
181
|
/* @__PURE__ */ e(
|
|
101
|
-
|
|
182
|
+
d,
|
|
102
183
|
{
|
|
103
184
|
label: "Bank Address",
|
|
104
|
-
value:
|
|
185
|
+
value: o.bankBranchAddress || "",
|
|
105
186
|
showCopyBtn: !0
|
|
106
187
|
}
|
|
107
188
|
),
|
|
108
189
|
/* @__PURE__ */ e(
|
|
109
|
-
|
|
190
|
+
d,
|
|
110
191
|
{
|
|
111
192
|
label: "Virtual IBAN",
|
|
112
|
-
value:
|
|
193
|
+
value: o.accountNumber || "",
|
|
113
194
|
showCopyBtn: !0
|
|
114
195
|
}
|
|
115
196
|
),
|
|
116
197
|
/* @__PURE__ */ e(
|
|
117
|
-
|
|
198
|
+
d,
|
|
118
199
|
{
|
|
119
200
|
label: "BIC/Swift Code",
|
|
120
|
-
value:
|
|
201
|
+
value: o.bicCode || "",
|
|
121
202
|
showCopyBtn: !0
|
|
122
203
|
}
|
|
123
204
|
)
|
|
@@ -126,19 +207,95 @@ const n = ({
|
|
|
126
207
|
]
|
|
127
208
|
}
|
|
128
209
|
),
|
|
210
|
+
C && /* @__PURE__ */ r(
|
|
211
|
+
V,
|
|
212
|
+
{
|
|
213
|
+
open: m,
|
|
214
|
+
fullWidth: !0,
|
|
215
|
+
maxWidth: "sm",
|
|
216
|
+
onClose: z,
|
|
217
|
+
TransitionComponent: $,
|
|
218
|
+
children: [
|
|
219
|
+
/* @__PURE__ */ r(H, { className: "buy-modal-text-color", children: [
|
|
220
|
+
/* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
|
|
221
|
+
/* @__PURE__ */ e(
|
|
222
|
+
F,
|
|
223
|
+
{
|
|
224
|
+
"aria-label": "close",
|
|
225
|
+
onClick: z,
|
|
226
|
+
className: "menu-buttons",
|
|
227
|
+
children: /* @__PURE__ */ e(O, {})
|
|
228
|
+
}
|
|
229
|
+
)
|
|
230
|
+
] }),
|
|
231
|
+
/* @__PURE__ */ e(G, { dividers: !0, children: x ? /* @__PURE__ */ r(D, { mt: 2, children: [
|
|
232
|
+
/* @__PURE__ */ e(v, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
|
|
233
|
+
/* @__PURE__ */ e(
|
|
234
|
+
ce,
|
|
235
|
+
{
|
|
236
|
+
checkoutId: x,
|
|
237
|
+
srcUrl: oe,
|
|
238
|
+
onResultUrl: ne
|
|
239
|
+
}
|
|
240
|
+
)
|
|
241
|
+
] }) : /* @__PURE__ */ r(E, { children: [
|
|
242
|
+
/* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
|
|
243
|
+
/* @__PURE__ */ e(
|
|
244
|
+
ae,
|
|
245
|
+
{
|
|
246
|
+
label: "Topup Amount",
|
|
247
|
+
type: "number",
|
|
248
|
+
value: W,
|
|
249
|
+
onChangeHandler: (t) => w(t),
|
|
250
|
+
inputProps: { min: "0", step: "0.01" }
|
|
251
|
+
}
|
|
252
|
+
),
|
|
253
|
+
/* @__PURE__ */ r(D, { mt: 4, display: "flex", justifyContent: "flex-end", gap: 2, children: [
|
|
254
|
+
/* @__PURE__ */ e(
|
|
255
|
+
g,
|
|
256
|
+
{
|
|
257
|
+
variantType: "secondary",
|
|
258
|
+
onClick: z,
|
|
259
|
+
disabled: b,
|
|
260
|
+
children: "Cancel"
|
|
261
|
+
}
|
|
262
|
+
),
|
|
263
|
+
/* @__PURE__ */ e(
|
|
264
|
+
g,
|
|
265
|
+
{
|
|
266
|
+
onClick: ee,
|
|
267
|
+
disabled: b,
|
|
268
|
+
children: /* @__PURE__ */ r("strong", { children: [
|
|
269
|
+
b ? /* @__PURE__ */ e(
|
|
270
|
+
de,
|
|
271
|
+
{
|
|
272
|
+
size: 18,
|
|
273
|
+
color: "inherit",
|
|
274
|
+
sx: { mr: 1 }
|
|
275
|
+
}
|
|
276
|
+
) : null,
|
|
277
|
+
"Confirm Topup"
|
|
278
|
+
] })
|
|
279
|
+
}
|
|
280
|
+
)
|
|
281
|
+
] })
|
|
282
|
+
] }) })
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
),
|
|
129
286
|
/* @__PURE__ */ e(
|
|
130
|
-
|
|
287
|
+
ue,
|
|
131
288
|
{
|
|
132
|
-
iban:
|
|
133
|
-
data:
|
|
134
|
-
dispatch:
|
|
135
|
-
appKey:
|
|
136
|
-
openModal:
|
|
137
|
-
setOpenModal:
|
|
289
|
+
iban: J,
|
|
290
|
+
data: o,
|
|
291
|
+
dispatch: U,
|
|
292
|
+
appKey: T,
|
|
293
|
+
openModal: X,
|
|
294
|
+
setOpenModal: S
|
|
138
295
|
}
|
|
139
296
|
)
|
|
140
|
-
] }) : /* @__PURE__ */
|
|
141
|
-
|
|
297
|
+
] }) : /* @__PURE__ */ r(
|
|
298
|
+
D,
|
|
142
299
|
{
|
|
143
300
|
className: "text-center",
|
|
144
301
|
sx: {
|
|
@@ -149,9 +306,9 @@ const n = ({
|
|
|
149
306
|
borderRadius: "5px"
|
|
150
307
|
},
|
|
151
308
|
children: [
|
|
152
|
-
/* @__PURE__ */
|
|
309
|
+
/* @__PURE__ */ r("p", { children: [
|
|
153
310
|
"We have received your payment and ",
|
|
154
|
-
|
|
311
|
+
o.currency,
|
|
155
312
|
" Virtual IBAN creation is in progress. Please wait while we generate your Virtual IBAN."
|
|
156
313
|
] }),
|
|
157
314
|
/* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
|
|
@@ -160,5 +317,5 @@ const n = ({
|
|
|
160
317
|
) });
|
|
161
318
|
};
|
|
162
319
|
export {
|
|
163
|
-
|
|
320
|
+
He as default
|
|
164
321
|
};
|
|
@@ -2,6 +2,8 @@ interface AccountProps {
|
|
|
2
2
|
baseUrl: string;
|
|
3
3
|
checkoutSdkKey: string;
|
|
4
4
|
appKey: string;
|
|
5
|
+
appKeyEur: string;
|
|
6
|
+
paymentWidgetSrcUrl: string;
|
|
5
7
|
navigate: (path: string) => void;
|
|
6
8
|
}
|
|
7
9
|
declare const _default: import('react').FC<AccountProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
|