everest-npm-features 0.0.51 → 0.0.53
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-C3uVNo4F.js → PlayArrow-jzz8Y3XD.js} +1 -1
- package/dist/{auth-ClBgT--j.js → auth-jjVjqywi.js} +1 -1
- package/dist/bank-BM66KfAv.js +37 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- 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 +5 -5
- 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 +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- 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/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +77 -125
- package/dist/components/Wallet/Account/eWallet.d.ts +1 -0
- package/dist/components/Wallet/Account/eWallet.js +55 -72
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +48 -65
- package/dist/components/Wallet/Account/ibanItem.js +55 -52
- package/dist/components/Wallet/Account/index.js +181 -173
- 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 +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- 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 +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +3 -3
- package/dist/components/Wallet/Portfolio/index.js +4 -4
- package/dist/components/Wallet/Profile/documents.js +1 -1
- package/dist/components/Wallet/Profile/index.js +1 -1
- package/dist/components/Wallet/Profile/storage.js +1 -1
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- 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 +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +1 -1
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- 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 +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +3 -3
- 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-t7n9qCW3.js → constants-Dtk3Gd0Y.js} +123 -123
- package/dist/{cryptoAssets-shEFU26O.js → cryptoAssets-DT2afvDJ.js} +1 -1
- package/dist/{index-DFRU-R-5.js → index-B4pP4oLo.js} +7 -7
- package/dist/{index-B6MSTmAM.js → index-BEFNlxwM.js} +15 -15
- package/dist/{index-Cs7bSfT3.js → index-BGJ8RVKA.js} +5 -5
- package/dist/{index-BMts9nlV.js → index-BU6Lajc_.js} +3 -3
- package/dist/{index-C2EjFXaz.js → index-BUnkeQv6.js} +7 -7
- package/dist/{index-RDV0mQbt.js → index-CyPm8GTl.js} +4 -4
- package/dist/{index-j0zehpzg.js → index-JdlBukUO.js} +4 -4
- package/dist/{kyc-D9xahfH9.js → kyc-BOm2LCSg.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-jqH948WM.js → order-DuPcaU0K.js} +27 -31
- package/dist/{stake-Dcq6QpaA.js → stake-WaB8Q4v-.js} +3 -3
- package/dist/{wallet-DpkUmmq0.js → wallet-BxwOFeSW.js} +1 -1
- package/package.json +2 -2
- package/dist/bank-Dz5km1qK.js +0 -33
|
@@ -1,35 +1,30 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import { FEATURE_EWALLET as
|
|
5
|
-
import {
|
|
6
|
-
import M from "../../Shared/transition.js";
|
|
7
|
-
import O from "../Shared/CardPayment/index.js";
|
|
8
|
-
import { a as F, af as G, c as K, K as Y } from "../../../constants-t7n9qCW3.js";
|
|
1
|
+
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as N } from "react";
|
|
3
|
+
import { u as w } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { FEATURE_EWALLET as i, DIALOG_ERROR_ICON as d, DIALOG_SUCCESS_ICON as U } from "../../../util/constants.js";
|
|
5
|
+
import { a as v, af as P, c as _, K as V } from "../../../constants-Dtk3Gd0Y.js";
|
|
9
6
|
import "../../../index-DlQqWbXG.js";
|
|
10
7
|
import "../Shared/appButton.js";
|
|
11
8
|
import "../../../hoc/withThemeProvider.js";
|
|
12
9
|
import "../Shared/Auth/otpForm.js";
|
|
13
|
-
import { useSnackBarContext as
|
|
10
|
+
import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
|
|
14
11
|
import "../../../util/conversions.js";
|
|
15
12
|
import "../../../index-CAoLi5Qq.js";
|
|
16
13
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
14
|
+
import "../../Shared/transition.js";
|
|
17
15
|
import "../../../tooltip-3UvETWtS.js";
|
|
18
16
|
import "../Shared/pin.js";
|
|
19
17
|
import "../../../moment-h96o7c8I.js";
|
|
20
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
21
19
|
import "../../../web3-u4qDZYpo.js";
|
|
22
|
-
import "../../../context/dialogContext.js";
|
|
23
20
|
import "../../../index-ceeCtFuh.js";
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
|
|
31
|
-
import { M as C } from "../../../MenuItem-DUdYOJr4.js";
|
|
32
|
-
const q = [
|
|
21
|
+
import "../../../context/dialogContext.js";
|
|
22
|
+
import { B as S } from "../../../Box-B0YSYLco.js";
|
|
23
|
+
import { C as O } from "../../../CircularProgress-xZA3lvba.js";
|
|
24
|
+
import { T as E } from "../../../Typography-pAaje37G.js";
|
|
25
|
+
import { S as K } from "../../../Select-CB5yWmyn.js";
|
|
26
|
+
import { M as f } from "../../../MenuItem-DUdYOJr4.js";
|
|
27
|
+
const F = [
|
|
33
28
|
{
|
|
34
29
|
alpha3: "AUT",
|
|
35
30
|
alpha2: "AT",
|
|
@@ -195,19 +190,18 @@ const q = [
|
|
|
195
190
|
alpha2: "GB",
|
|
196
191
|
name: "United Kingdom"
|
|
197
192
|
}
|
|
198
|
-
],
|
|
199
|
-
openDialog:
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
from: i
|
|
193
|
+
], ua = ({
|
|
194
|
+
openDialog: t,
|
|
195
|
+
createIbanRequest: B,
|
|
196
|
+
iban: h,
|
|
197
|
+
navigate: L,
|
|
198
|
+
currency: a,
|
|
199
|
+
setIbanCurrency: m,
|
|
200
|
+
from: r
|
|
207
201
|
}) => {
|
|
208
|
-
const { showAlertMessage:
|
|
209
|
-
if (!
|
|
210
|
-
|
|
202
|
+
const { showAlertMessage: C } = G(), u = w((l) => l.user), p = u.profile, T = p.loader, g = u.kyc.loader, s = u.kyc.status, y = p.email, I = h.loader, n = N(!1), R = () => {
|
|
203
|
+
if (!y) {
|
|
204
|
+
t({
|
|
211
205
|
title: "No Email",
|
|
212
206
|
message: "Please contact support to update your email address.",
|
|
213
207
|
icon: d,
|
|
@@ -220,8 +214,8 @@ const q = [
|
|
|
220
214
|
});
|
|
221
215
|
return;
|
|
222
216
|
}
|
|
223
|
-
if (
|
|
224
|
-
|
|
217
|
+
if (s === v || s === P) {
|
|
218
|
+
t({
|
|
225
219
|
title: "Under Review",
|
|
226
220
|
message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
|
|
227
221
|
width: "550px",
|
|
@@ -231,22 +225,22 @@ const q = [
|
|
|
231
225
|
});
|
|
232
226
|
return;
|
|
233
227
|
}
|
|
234
|
-
if (
|
|
235
|
-
|
|
228
|
+
if (s !== _ && s !== V) {
|
|
229
|
+
t({
|
|
236
230
|
title: "Verifying",
|
|
237
231
|
message: "We are gathering information, and will provision your Virtual IBAN shortly.",
|
|
238
232
|
width: "575px",
|
|
239
233
|
height: "400px",
|
|
240
234
|
confirmButtonText: "Continue",
|
|
241
235
|
cancelButtonText: "Cancel",
|
|
242
|
-
onConfirm: () =>
|
|
236
|
+
onConfirm: () => L("/kyc")
|
|
243
237
|
});
|
|
244
238
|
return;
|
|
245
239
|
}
|
|
246
|
-
if (!
|
|
247
|
-
(
|
|
240
|
+
if (!F.find(
|
|
241
|
+
(o) => o.alpha3 === p.residentialAddress.country
|
|
248
242
|
)) {
|
|
249
|
-
|
|
243
|
+
t({
|
|
250
244
|
title: "Not Allowed",
|
|
251
245
|
message: "Currently we are not supporting your country for Virtual IBAN.",
|
|
252
246
|
icon: d,
|
|
@@ -257,8 +251,8 @@ const q = [
|
|
|
257
251
|
});
|
|
258
252
|
return;
|
|
259
253
|
}
|
|
260
|
-
if (
|
|
261
|
-
|
|
254
|
+
if (p.memberType !== "individual") {
|
|
255
|
+
t({
|
|
262
256
|
title: "Not Allowed",
|
|
263
257
|
message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
|
|
264
258
|
icon: d,
|
|
@@ -269,114 +263,72 @@ const q = [
|
|
|
269
263
|
});
|
|
270
264
|
return;
|
|
271
265
|
}
|
|
272
|
-
|
|
273
|
-
title: "
|
|
274
|
-
message: /* @__PURE__ */
|
|
275
|
-
/* @__PURE__ */
|
|
276
|
-
|
|
277
|
-
|
|
266
|
+
r === i && (a.current = "EUR", m("EUR")), t({
|
|
267
|
+
title: r === i ? "Create E-Wallet" : "Create Virtual IBAN",
|
|
268
|
+
message: /* @__PURE__ */ c(S, { children: [
|
|
269
|
+
/* @__PURE__ */ e(E, { children: r === i ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
|
|
270
|
+
r !== i && /* @__PURE__ */ c(
|
|
271
|
+
K,
|
|
278
272
|
{
|
|
279
273
|
defaultValue: "",
|
|
280
|
-
onChange: (
|
|
281
|
-
|
|
274
|
+
onChange: (o) => {
|
|
275
|
+
a.current = o.target.value, m(o.target.value);
|
|
282
276
|
},
|
|
283
277
|
style: { marginTop: "10px" },
|
|
284
278
|
displayEmpty: !0,
|
|
285
279
|
fullWidth: !0,
|
|
286
280
|
children: [
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
-
/* @__PURE__ */
|
|
289
|
-
/* @__PURE__ */
|
|
281
|
+
/* @__PURE__ */ e(f, { value: "", children: "Select currency" }),
|
|
282
|
+
/* @__PURE__ */ e(f, { value: "EUR", children: "EUR" }),
|
|
283
|
+
/* @__PURE__ */ e(f, { value: "GBP", children: "GBP" })
|
|
290
284
|
]
|
|
291
285
|
}
|
|
292
286
|
)
|
|
293
287
|
] }),
|
|
294
|
-
icon:
|
|
288
|
+
icon: U,
|
|
295
289
|
width: "575px",
|
|
296
|
-
confirmButtonText: "
|
|
290
|
+
confirmButtonText: "Create",
|
|
297
291
|
cancelButtonShow: !0,
|
|
298
292
|
cancelButtonText: "Cancel",
|
|
299
|
-
closeModalConfirm:
|
|
300
|
-
onConfirm:
|
|
293
|
+
closeModalConfirm: x,
|
|
294
|
+
onConfirm: A,
|
|
301
295
|
onCancel: () => {
|
|
302
|
-
|
|
296
|
+
a.current = "", m(""), n.current = !1;
|
|
303
297
|
},
|
|
304
298
|
onClose: () => {
|
|
305
|
-
|
|
299
|
+
a.current = "", n.current = !1;
|
|
306
300
|
}
|
|
307
301
|
});
|
|
308
|
-
},
|
|
309
|
-
if (n.current = !1, !
|
|
310
|
-
return n.current = !0,
|
|
311
|
-
message:
|
|
302
|
+
}, x = () => !n.current, A = () => {
|
|
303
|
+
if (n.current = !1, !a.current)
|
|
304
|
+
return n.current = !0, C({
|
|
305
|
+
message: r === i ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
|
|
312
306
|
}), !1;
|
|
313
|
-
if (
|
|
314
|
-
const
|
|
315
|
-
(
|
|
307
|
+
if (h.data.length > 0) {
|
|
308
|
+
const l = h.data.find(
|
|
309
|
+
(o) => o.currency === a.current
|
|
316
310
|
);
|
|
317
|
-
if (
|
|
318
|
-
return n.current = !0,
|
|
319
|
-
message: `You already have the ${
|
|
311
|
+
if (l != null && l.id)
|
|
312
|
+
return n.current = !0, C({
|
|
313
|
+
message: `You already have the ${a.current} Virtual IBAN.`
|
|
320
314
|
}), !1;
|
|
321
315
|
}
|
|
322
|
-
|
|
316
|
+
B(a.current);
|
|
323
317
|
};
|
|
324
|
-
return
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
),
|
|
338
|
-
/* @__PURE__ */ o(
|
|
339
|
-
H,
|
|
340
|
-
{
|
|
341
|
-
open: w,
|
|
342
|
-
fullWidth: !0,
|
|
343
|
-
onClose: () => c(!1),
|
|
344
|
-
TransitionComponent: M,
|
|
345
|
-
children: [
|
|
346
|
-
/* @__PURE__ */ o($, { className: "buy-modal-text-color", children: [
|
|
347
|
-
/* @__PURE__ */ a(f, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ a("strong", { children: "Payment" }) }),
|
|
348
|
-
/* @__PURE__ */ a(
|
|
349
|
-
j,
|
|
350
|
-
{
|
|
351
|
-
"aria-label": "close",
|
|
352
|
-
onClick: () => c(!1),
|
|
353
|
-
className: "menu-buttons",
|
|
354
|
-
children: /* @__PURE__ */ a(D, {})
|
|
355
|
-
}
|
|
356
|
-
)
|
|
357
|
-
] }),
|
|
358
|
-
/* @__PURE__ */ a(
|
|
359
|
-
z,
|
|
360
|
-
{
|
|
361
|
-
className: "bank-modal-content",
|
|
362
|
-
sx: { padding: "50px" },
|
|
363
|
-
dividers: !0,
|
|
364
|
-
children: /* @__PURE__ */ a(
|
|
365
|
-
O,
|
|
366
|
-
{
|
|
367
|
-
checkoutKey: E,
|
|
368
|
-
orderData: x,
|
|
369
|
-
initPaymentRequest: T,
|
|
370
|
-
backBtnFunc: () => c(!1)
|
|
371
|
-
}
|
|
372
|
-
)
|
|
373
|
-
}
|
|
374
|
-
)
|
|
375
|
-
]
|
|
376
|
-
}
|
|
377
|
-
)
|
|
378
|
-
] });
|
|
318
|
+
return T || g || I ? /* @__PURE__ */ e(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(O, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(
|
|
319
|
+
E,
|
|
320
|
+
{
|
|
321
|
+
onClick: R,
|
|
322
|
+
component: "span",
|
|
323
|
+
color: "primary",
|
|
324
|
+
sx: { cursor: "pointer" },
|
|
325
|
+
children: /* @__PURE__ */ c("span", { className: "text-underline", children: [
|
|
326
|
+
"+ Add ",
|
|
327
|
+
r === i ? "E-Wallet" : "Virtual IBAN"
|
|
328
|
+
] })
|
|
329
|
+
}
|
|
330
|
+
);
|
|
379
331
|
};
|
|
380
332
|
export {
|
|
381
|
-
|
|
333
|
+
ua as default
|
|
382
334
|
};
|
|
@@ -1,102 +1,85 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useRef as W, useState as
|
|
3
|
-
import { I as
|
|
4
|
-
import { DIALOG_SUCCESS_ICON as
|
|
5
|
-
import "../../../
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import v from "./createIban.js";
|
|
10
|
-
import { AuthInnerContainer as R } from "../Shared/Container/index.js";
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as W, useState as w, useEffect as A } from "react";
|
|
3
|
+
import { I as N } from "../../../Info-BVeUSPyk.js";
|
|
4
|
+
import { DIALOG_SUCCESS_ICON as P, FEATURE_EWALLET as l } from "../../../util/constants.js";
|
|
5
|
+
import { M as T } from "../../../tooltip-3UvETWtS.js";
|
|
6
|
+
import v from "../Shared/noData.js";
|
|
7
|
+
import D from "./createIban.js";
|
|
8
|
+
import { AuthInnerContainer as b } from "../Shared/Container/index.js";
|
|
11
9
|
import B from "./ibanItem.js";
|
|
12
|
-
import { B as
|
|
13
|
-
import { G as
|
|
14
|
-
import { T as
|
|
10
|
+
import { B as t } from "../../../Box-B0YSYLco.js";
|
|
11
|
+
import { G as a } from "../../../Grid-CFe3amXO.js";
|
|
12
|
+
import { T as p } from "../../../Typography-pAaje37G.js";
|
|
15
13
|
import { I as L } from "../../../IconButton-DHm-hucF.js";
|
|
16
14
|
import { C as z } from "../../../CircularProgress-xZA3lvba.js";
|
|
17
|
-
const
|
|
18
|
-
dispatch:
|
|
15
|
+
const J = ({
|
|
16
|
+
dispatch: h,
|
|
19
17
|
openDialog: i,
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
AccountItem: g
|
|
18
|
+
appKey: u,
|
|
19
|
+
appKeyEur: d,
|
|
20
|
+
paymentWidgetSrcUrl: f,
|
|
21
|
+
iban: n,
|
|
22
|
+
navigate: y,
|
|
23
|
+
AccountItem: x,
|
|
24
|
+
createIbanRequest: g
|
|
28
25
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
return
|
|
26
|
+
const c = n.data, C = n.loader, I = W(""), [_, E] = w("");
|
|
27
|
+
return A(() => {
|
|
31
28
|
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
|
|
32
29
|
title: "Payment Success",
|
|
33
30
|
message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
|
|
34
|
-
icon:
|
|
31
|
+
icon: P,
|
|
35
32
|
width: "575px",
|
|
36
33
|
confirmButtonText: "Continue"
|
|
37
34
|
});
|
|
38
|
-
}, []), /* @__PURE__ */ e(
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */ e(
|
|
35
|
+
}, []), /* @__PURE__ */ e(b, { children: /* @__PURE__ */ r(t, { p: 3, children: [
|
|
36
|
+
/* @__PURE__ */ r(a, { spacing: 2, container: !0, alignItems: "center", children: [
|
|
37
|
+
/* @__PURE__ */ r(a, { size: 8, children: [
|
|
38
|
+
/* @__PURE__ */ e(p, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "E-Wallet" }) }),
|
|
42
39
|
/* @__PURE__ */ e(
|
|
43
|
-
|
|
40
|
+
T,
|
|
44
41
|
{
|
|
45
|
-
title: /* @__PURE__ */ e(
|
|
42
|
+
title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC and an annual payment" }),
|
|
46
43
|
placement: "bottom",
|
|
47
|
-
children: /* @__PURE__ */ e(L, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
44
|
+
children: /* @__PURE__ */ e(L, { className: "info-fee-icon", children: /* @__PURE__ */ e(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
48
45
|
}
|
|
49
46
|
)
|
|
50
47
|
] }),
|
|
51
|
-
/* @__PURE__ */ e(
|
|
52
|
-
|
|
48
|
+
/* @__PURE__ */ e(a, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
49
|
+
D,
|
|
53
50
|
{
|
|
54
51
|
openDialog: i,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
currency: "USD",
|
|
62
|
-
app_key: l,
|
|
63
|
-
success_url: `${m}/accounts?payment=success`,
|
|
64
|
-
fail_url: `${m}/dashboard?payment=failed`
|
|
65
|
-
},
|
|
66
|
-
currency: S
|
|
67
|
-
};
|
|
68
|
-
s(T(o));
|
|
69
|
-
},
|
|
70
|
-
iban: a,
|
|
71
|
-
navigate: I,
|
|
72
|
-
currency: E,
|
|
73
|
-
setIbanCurrency: D,
|
|
74
|
-
from: d
|
|
52
|
+
createIbanRequest: g,
|
|
53
|
+
iban: n,
|
|
54
|
+
navigate: y,
|
|
55
|
+
currency: I,
|
|
56
|
+
setIbanCurrency: E,
|
|
57
|
+
from: l
|
|
75
58
|
}
|
|
76
59
|
) }) })
|
|
77
60
|
] }),
|
|
78
|
-
C ? /* @__PURE__ */ e(
|
|
79
|
-
|
|
80
|
-
const
|
|
81
|
-
...
|
|
82
|
-
accountName: `E-Wallet - ${
|
|
61
|
+
C ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(z, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(m, { children: [
|
|
62
|
+
c.length > 0 ? /* @__PURE__ */ e(m, { children: c.map((o, s) => {
|
|
63
|
+
const S = {
|
|
64
|
+
...o,
|
|
65
|
+
accountName: `E-Wallet - ${o.currency ?? ""}`
|
|
83
66
|
};
|
|
84
67
|
return /* @__PURE__ */ e(
|
|
85
68
|
B,
|
|
86
69
|
{
|
|
87
|
-
data:
|
|
88
|
-
AccountItem:
|
|
89
|
-
dispatch:
|
|
90
|
-
appKey:
|
|
91
|
-
appKeyEur:
|
|
92
|
-
paymentWidgetSrcUrl:
|
|
93
|
-
iban:
|
|
94
|
-
from:
|
|
70
|
+
data: S,
|
|
71
|
+
AccountItem: x,
|
|
72
|
+
dispatch: h,
|
|
73
|
+
appKey: u,
|
|
74
|
+
appKeyEur: d,
|
|
75
|
+
paymentWidgetSrcUrl: f,
|
|
76
|
+
iban: n,
|
|
77
|
+
from: l
|
|
95
78
|
},
|
|
96
|
-
|
|
79
|
+
s
|
|
97
80
|
);
|
|
98
|
-
}) }) : /* @__PURE__ */ e(
|
|
99
|
-
/* @__PURE__ */ e(
|
|
81
|
+
}) }) : /* @__PURE__ */ e(v, { text: "You currently have no E-Wallets" }),
|
|
82
|
+
/* @__PURE__ */ e(t, { mt: 3, textAlign: "center", children: /* @__PURE__ */ r(p, { variant: "caption", color: "secondary", children: [
|
|
100
83
|
"Powered by",
|
|
101
84
|
" ",
|
|
102
85
|
/* @__PURE__ */ e(
|
|
@@ -114,5 +97,5 @@ const re = ({
|
|
|
114
97
|
] }) });
|
|
115
98
|
};
|
|
116
99
|
export {
|
|
117
|
-
|
|
100
|
+
J as default
|
|
118
101
|
};
|
|
@@ -1,96 +1,79 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import { I as
|
|
4
|
-
import { DIALOG_SUCCESS_ICON as
|
|
5
|
-
import "../../../
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
13
|
-
import { G as s } from "../../../Grid-CFe3amXO.js";
|
|
14
|
-
import { T as E } from "../../../Typography-pAaje37G.js";
|
|
1
|
+
import { jsx as e, jsxs as n, Fragment as m } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as g, useState as S, useEffect as B } from "react";
|
|
3
|
+
import { I as N } from "../../../Info-BVeUSPyk.js";
|
|
4
|
+
import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as l } from "../../../util/constants.js";
|
|
5
|
+
import { M as w } from "../../../tooltip-3UvETWtS.js";
|
|
6
|
+
import b from "../Shared/noData.js";
|
|
7
|
+
import v from "./createIban.js";
|
|
8
|
+
import { AuthInnerContainer as D } from "../Shared/Container/index.js";
|
|
9
|
+
import E from "./ibanItem.js";
|
|
10
|
+
import { B as t } from "../../../Box-B0YSYLco.js";
|
|
11
|
+
import { G as o } from "../../../Grid-CFe3amXO.js";
|
|
12
|
+
import { T as P } from "../../../Typography-pAaje37G.js";
|
|
15
13
|
import { I as z } from "../../../IconButton-DHm-hucF.js";
|
|
16
14
|
import { C as L } from "../../../CircularProgress-xZA3lvba.js";
|
|
17
|
-
const
|
|
18
|
-
dispatch:
|
|
19
|
-
openDialog:
|
|
20
|
-
baseUrl: m,
|
|
21
|
-
checkoutSdkKey: d,
|
|
15
|
+
const J = ({
|
|
16
|
+
dispatch: p,
|
|
17
|
+
openDialog: a,
|
|
22
18
|
appKey: u,
|
|
23
|
-
appKeyEur:
|
|
19
|
+
appKeyEur: f,
|
|
24
20
|
paymentWidgetSrcUrl: h,
|
|
25
21
|
iban: r,
|
|
26
|
-
navigate:
|
|
27
|
-
AccountItem:
|
|
22
|
+
navigate: d,
|
|
23
|
+
AccountItem: y,
|
|
24
|
+
createIbanRequest: I
|
|
28
25
|
}) => {
|
|
29
|
-
const
|
|
30
|
-
return
|
|
31
|
-
new URLSearchParams(window.location.search).get("paymentStatus") === "success" &&
|
|
26
|
+
const i = r.data, x = r.loader, C = g(""), [R, A] = S("");
|
|
27
|
+
return B(() => {
|
|
28
|
+
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
|
|
32
29
|
title: "Payment Success",
|
|
33
30
|
message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
|
|
34
|
-
icon:
|
|
31
|
+
icon: T,
|
|
35
32
|
width: "575px",
|
|
36
33
|
confirmButtonText: "Continue"
|
|
37
34
|
});
|
|
38
|
-
}, []), /* @__PURE__ */ e(
|
|
39
|
-
/* @__PURE__ */ o
|
|
40
|
-
/* @__PURE__ */ o
|
|
41
|
-
/* @__PURE__ */ e(
|
|
35
|
+
}, []), /* @__PURE__ */ e(D, { children: /* @__PURE__ */ n(t, { p: 3, children: [
|
|
36
|
+
/* @__PURE__ */ n(o, { spacing: 2, container: !0, alignItems: "center", children: [
|
|
37
|
+
/* @__PURE__ */ n(o, { size: 8, children: [
|
|
38
|
+
/* @__PURE__ */ e(P, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
|
|
42
39
|
/* @__PURE__ */ e(
|
|
43
|
-
|
|
40
|
+
w,
|
|
44
41
|
{
|
|
45
|
-
title: /* @__PURE__ */ e(
|
|
42
|
+
title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC and an annual payment" }),
|
|
46
43
|
placement: "bottom",
|
|
47
|
-
children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
44
|
+
children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(N, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
48
45
|
}
|
|
49
46
|
)
|
|
50
47
|
] }),
|
|
51
|
-
/* @__PURE__ */ e(
|
|
52
|
-
|
|
48
|
+
/* @__PURE__ */ e(o, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
49
|
+
v,
|
|
53
50
|
{
|
|
54
|
-
openDialog:
|
|
55
|
-
|
|
56
|
-
paymentRequest: (t) => {
|
|
57
|
-
const n = {
|
|
58
|
-
payment: {
|
|
59
|
-
token: t,
|
|
60
|
-
amount: 0.1,
|
|
61
|
-
currency: "USD",
|
|
62
|
-
app_key: u,
|
|
63
|
-
success_url: `${m}/accounts?payment=success`,
|
|
64
|
-
fail_url: `${m}/dashboard?payment=failed`
|
|
65
|
-
},
|
|
66
|
-
currency: S
|
|
67
|
-
};
|
|
68
|
-
c(T(n));
|
|
69
|
-
},
|
|
51
|
+
openDialog: a,
|
|
52
|
+
createIbanRequest: I,
|
|
70
53
|
iban: r,
|
|
71
|
-
navigate:
|
|
72
|
-
currency:
|
|
73
|
-
setIbanCurrency:
|
|
74
|
-
from:
|
|
54
|
+
navigate: d,
|
|
55
|
+
currency: C,
|
|
56
|
+
setIbanCurrency: A,
|
|
57
|
+
from: l
|
|
75
58
|
}
|
|
76
59
|
) }) })
|
|
77
60
|
] }),
|
|
78
|
-
|
|
79
|
-
|
|
61
|
+
x ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(L, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(m, { children: i.length > 0 ? /* @__PURE__ */ e(m, { children: i.map((c, s) => /* @__PURE__ */ e(
|
|
62
|
+
E,
|
|
80
63
|
{
|
|
81
|
-
data:
|
|
82
|
-
AccountItem:
|
|
83
|
-
dispatch:
|
|
64
|
+
data: c,
|
|
65
|
+
AccountItem: y,
|
|
66
|
+
dispatch: p,
|
|
84
67
|
appKey: u,
|
|
85
|
-
appKeyEur:
|
|
68
|
+
appKeyEur: f,
|
|
86
69
|
paymentWidgetSrcUrl: h,
|
|
87
70
|
iban: r,
|
|
88
|
-
from:
|
|
71
|
+
from: l
|
|
89
72
|
},
|
|
90
|
-
|
|
91
|
-
)) }) : /* @__PURE__ */ e(
|
|
73
|
+
s
|
|
74
|
+
)) }) : /* @__PURE__ */ e(b, { text: "You currently have no IBAN Accounts" }) })
|
|
92
75
|
] }) });
|
|
93
76
|
};
|
|
94
77
|
export {
|
|
95
|
-
|
|
78
|
+
J as default
|
|
96
79
|
};
|