everest-npm-features 0.0.38 → 0.0.39-temp.2
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/components/RocketRamp/MinimalKyc/form.js +1 -1
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +1 -1
- package/dist/components/RocketRamp/Player/Sell/form.js +1 -1
- package/dist/components/RocketRamp/Player/Sell/index.js +2 -2
- package/dist/components/Shared/FullKyc/edd.js +1 -1
- package/dist/components/Shared/FullKyc/index.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +79 -62
- package/dist/components/Wallet/Account/iban.js +30 -28
- package/dist/components/Wallet/Account/ibanItem.js +1 -1
- package/dist/components/Wallet/Account/index.js +92 -92
- 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 +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/Home/index.js +6 -6
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +1 -1
- package/dist/components/Wallet/Portfolio/index.js +1 -1
- package/dist/components/Wallet/Profile/index.js +4 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +2 -2
- package/dist/components/Wallet/Sell/form.js +1 -1
- package/dist/components/Wallet/Sell/index.js +1 -1
- package/dist/components/Wallet/Send/index.js +1 -1
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +5 -1
- package/dist/components/Wallet/Shared/addBank.js +1 -1
- package/dist/components/Wallet/Shared/manualSend.js +2 -2
- package/dist/components/Wallet/Stake/index.js +1 -1
- package/dist/components/Wallet/Swap/form.js +2 -2
- package/dist/components/Wallet/Swap/index.js +2 -2
- package/dist/data/ibanSupportedCountries.json.d.ts +5 -0
- package/dist/hooks/useDialog/index.js +37 -40
- package/dist/{index-BFKBLYk5.js → index-CUBxw5s4.js} +1 -1
- package/dist/{index-DrAXokdP.js → index-DVQ-d6A4.js} +1 -1
- package/dist/{index-B8QKlEgj.js → index-DlQqWbXG.js} +4 -4
- package/dist/{index-grkjwLQL.js → index-Y7QJR4pX.js} +2 -2
- package/dist/{index-CKEqyTf9.js → index-ufcy2D20.js} +63 -61
- package/dist/main.d.ts +2 -0
- package/dist/main.js +70 -68
- package/dist/providers/metaMask.js +1 -1
- package/package.json +2 -2
|
@@ -4,6 +4,7 @@ import { h as G } from "../../../moment-h96o7c8I.js";
|
|
|
4
4
|
import { u as H, a as R } from "../../../react-redux-B4BZippc.js";
|
|
5
5
|
import { removeExtraSpace as i } from "../../../util/functions.js";
|
|
6
6
|
import { nameRegex as J } from "../../../util/regex.js";
|
|
7
|
+
import "../../../index-DlQqWbXG.js";
|
|
7
8
|
import "../../Wallet/Shared/appButton.js";
|
|
8
9
|
import "../../../hoc/withThemeProvider.js";
|
|
9
10
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
@@ -20,7 +21,6 @@ import "../../Wallet/Shared/pin.js";
|
|
|
20
21
|
import "../../../index.esm-BsMAMhYW.js";
|
|
21
22
|
import { c as X } from "../../../countries-BVn1FubK.js";
|
|
22
23
|
import "../../../web3-u4qDZYpo.js";
|
|
23
|
-
import "../../../index-B8QKlEgj.js";
|
|
24
24
|
import "../../../index-ceeCtFuh.js";
|
|
25
25
|
import "../../../context/dialogContext.js";
|
|
26
26
|
import $ from "../Shared/Button/index.js";
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../Shared/backBtn.js";
|
|
4
4
|
import "../../../../util/functions.js";
|
|
5
5
|
import "../../../../util/constants.js";
|
|
6
|
-
import { B as h } from "../../../../index-
|
|
6
|
+
import { B as h } from "../../../../index-CUBxw5s4.js";
|
|
7
7
|
import "../../Shared/Button/index.js";
|
|
8
8
|
import "../../../../constants-9grj4Du1.js";
|
|
9
9
|
import "../../../../order-Cs5_3wOs.js";
|
|
@@ -10,7 +10,7 @@ import "../../../../order-Cs5_3wOs.js";
|
|
|
10
10
|
import "../../../../tooltip-3UvETWtS.js";
|
|
11
11
|
import "../../../../util/functions.js";
|
|
12
12
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { S as w } from "../../../../index-
|
|
13
|
+
import { S as w } from "../../../../index-CUBxw5s4.js";
|
|
14
14
|
import "../../../../Grid-CFe3amXO.js";
|
|
15
15
|
import "../../../../Box-B0YSYLco.js";
|
|
16
16
|
import "../../../../Typography-pAaje37G.js";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-
|
|
4
|
+
import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-CUBxw5s4.js";
|
|
5
|
+
import "../../../../index-DlQqWbXG.js";
|
|
5
6
|
import "../../../Wallet/Shared/appButton.js";
|
|
6
7
|
import "../../../../react-redux-B4BZippc.js";
|
|
7
8
|
import "../../../../util/functions.js";
|
|
@@ -22,7 +23,6 @@ import "../../../Wallet/Shared/pin.js";
|
|
|
22
23
|
import "../../../../moment-h96o7c8I.js";
|
|
23
24
|
import "../../../../index.esm-BsMAMhYW.js";
|
|
24
25
|
import "../../../../web3-u4qDZYpo.js";
|
|
25
|
-
import "../../../../index-B8QKlEgj.js";
|
|
26
26
|
import "../../../../index-ceeCtFuh.js";
|
|
27
27
|
import "../../../../context/dialogContext.js";
|
|
28
28
|
import "../../MinimalKyc/form.js";
|
|
@@ -2,6 +2,7 @@ import { jsxs as p, Fragment as u, jsx as n } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as g, useState as q, useEffect as L, createRef as W } from "react";
|
|
3
3
|
import j from "../../Wallet/Shared/Input/index.js";
|
|
4
4
|
import K from "../../Wallet/Shared/appButton.js";
|
|
5
|
+
import "../../../index-DlQqWbXG.js";
|
|
5
6
|
import "../../../hoc/withThemeProvider.js";
|
|
6
7
|
import { u as v } from "../../../react-redux-B4BZippc.js";
|
|
7
8
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
@@ -18,7 +19,6 @@ import "../../Wallet/Shared/pin.js";
|
|
|
18
19
|
import "../../../moment-h96o7c8I.js";
|
|
19
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
21
|
import "../../../web3-u4qDZYpo.js";
|
|
21
|
-
import "../../../index-B8QKlEgj.js";
|
|
22
22
|
import "../../../index-ceeCtFuh.js";
|
|
23
23
|
import { C as z, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
|
|
24
24
|
import "../../../context/dialogContext.js";
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../Wallet/Shared/Container/index.js";
|
|
4
4
|
import "../Incode/index.js";
|
|
5
5
|
import "../../../hoc/withThemeProvider.js";
|
|
6
|
-
import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-
|
|
6
|
+
import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-ufcy2D20.js";
|
|
7
7
|
import "./pep.js";
|
|
8
8
|
import "../../../constants-9grj4Du1.js";
|
|
9
9
|
import "../../../kyc-MeOwOyUF.js";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "../../../index-DlQqWbXG.js";
|
|
3
4
|
import "../../Wallet/Shared/appButton.js";
|
|
4
5
|
import "../../../hoc/withThemeProvider.js";
|
|
5
6
|
import "../../Wallet/Shared/Input/index.js";
|
|
@@ -16,9 +17,8 @@ import "../../Wallet/Shared/pin.js";
|
|
|
16
17
|
import "../../../moment-h96o7c8I.js";
|
|
17
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
18
19
|
import "../../../web3-u4qDZYpo.js";
|
|
19
|
-
import "../../../index-B8QKlEgj.js";
|
|
20
20
|
import "../../../index-ceeCtFuh.js";
|
|
21
|
-
import { P as z } from "../../../index-
|
|
21
|
+
import { P as z } from "../../../index-ufcy2D20.js";
|
|
22
22
|
import "../../../context/dialogContext.js";
|
|
23
23
|
import "./countryList.js";
|
|
24
24
|
import "../../../Box-B0YSYLco.js";
|
|
@@ -2,6 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../Wallet/Shared/Input/index.js";
|
|
4
4
|
import "../../Wallet/Shared/appButton.js";
|
|
5
|
+
import "../../../index-DlQqWbXG.js";
|
|
5
6
|
import "../../../hoc/withThemeProvider.js";
|
|
6
7
|
import "../../../react-redux-B4BZippc.js";
|
|
7
8
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
@@ -19,9 +20,8 @@ import "../../../moment-h96o7c8I.js";
|
|
|
19
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
21
|
import "../../../countries-BVn1FubK.js";
|
|
21
22
|
import "../../../web3-u4qDZYpo.js";
|
|
22
|
-
import "../../../index-B8QKlEgj.js";
|
|
23
23
|
import "../../../index-ceeCtFuh.js";
|
|
24
|
-
import { U as H } from "../../../index-
|
|
24
|
+
import { U as H } from "../../../index-ufcy2D20.js";
|
|
25
25
|
import "../../../context/dialogContext.js";
|
|
26
26
|
import "./countryList.js";
|
|
27
27
|
import "../../../Box-B0YSYLco.js";
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { jsx as a, jsxs as l, Fragment as P } from "react/jsx-runtime";
|
|
2
2
|
import { useState as v, useRef as U } from "react";
|
|
3
|
-
import { a as
|
|
4
|
-
import { DIALOG_ERROR_ICON as
|
|
5
|
-
import { C as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { a as M, ac as O, c as
|
|
3
|
+
import { a as C } from "../../../react-redux-B4BZippc.js";
|
|
4
|
+
import { DIALOG_ERROR_ICON as c, DIALOG_SUCCESS_ICON as V } from "../../../util/constants.js";
|
|
5
|
+
import { C as _ } from "../../../Close-CNwiMz_O.js";
|
|
6
|
+
import k from "../../Shared/transition.js";
|
|
7
|
+
import D from "../Shared/CardPayment/index.js";
|
|
8
|
+
import { a as M, ac as O, c as G, K } from "../../../constants-9grj4Du1.js";
|
|
9
|
+
import "../../../index-DlQqWbXG.js";
|
|
9
10
|
import "../Shared/appButton.js";
|
|
10
11
|
import "../../../hoc/withThemeProvider.js";
|
|
11
12
|
import "../Shared/Auth/otpForm.js";
|
|
12
|
-
import { useSnackBarContext as
|
|
13
|
+
import { useSnackBarContext as F } from "../../../context/snackBarContext.js";
|
|
13
14
|
import "../../../util/conversions.js";
|
|
14
15
|
import "../../../index-CAoLi5Qq.js";
|
|
15
16
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
@@ -18,17 +19,16 @@ import "../Shared/pin.js";
|
|
|
18
19
|
import "../../../moment-h96o7c8I.js";
|
|
19
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
21
|
import "../../../web3-u4qDZYpo.js";
|
|
21
|
-
import "../../../index-B8QKlEgj.js";
|
|
22
22
|
import "../../../context/dialogContext.js";
|
|
23
23
|
import "../../../index-ceeCtFuh.js";
|
|
24
24
|
import { B as S } from "../../../Box-B0YSYLco.js";
|
|
25
25
|
import { C as b } from "../../../CircularProgress-xZA3lvba.js";
|
|
26
|
-
import { T as
|
|
26
|
+
import { T as h } from "../../../Typography-pAaje37G.js";
|
|
27
27
|
import { D as Y, a as H } from "../../../DialogContent-BMwlOnbW.js";
|
|
28
28
|
import { D as W } from "../../../DialogTitle-CfS0bb2K.js";
|
|
29
29
|
import { I as z } from "../../../IconButton-DHm-hucF.js";
|
|
30
30
|
import { S as j } from "../../../Select-CB5yWmyn.js";
|
|
31
|
-
import { M as
|
|
31
|
+
import { M as u } from "../../../MenuItem-DUdYOJr4.js";
|
|
32
32
|
const Z = [
|
|
33
33
|
{
|
|
34
34
|
alpha3: "AUT",
|
|
@@ -189,22 +189,27 @@ const Z = [
|
|
|
189
189
|
alpha3: "CHE",
|
|
190
190
|
alpha2: "CH",
|
|
191
191
|
name: "Switzerland"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
alpha3: "GBR",
|
|
195
|
+
alpha2: "GB",
|
|
196
|
+
name: "United Kingdom"
|
|
192
197
|
}
|
|
193
|
-
],
|
|
194
|
-
openDialog:
|
|
198
|
+
], La = ({
|
|
199
|
+
openDialog: t,
|
|
195
200
|
checkoutSdkKey: y,
|
|
196
|
-
paymentRequest:
|
|
197
|
-
iban:
|
|
198
|
-
navigate:
|
|
199
|
-
currency:
|
|
200
|
-
setIbanCurrency:
|
|
201
|
+
paymentRequest: B,
|
|
202
|
+
iban: g,
|
|
203
|
+
navigate: T,
|
|
204
|
+
currency: r,
|
|
205
|
+
setIbanCurrency: d
|
|
201
206
|
}) => {
|
|
202
|
-
const { showAlertMessage:
|
|
203
|
-
if (!
|
|
204
|
-
|
|
207
|
+
const { showAlertMessage: f } = F(), s = C((e) => e.user), i = s.profile, I = C((e) => e.order), x = i.loader, N = s.kyc.loader, p = s.kyc.status, E = i.email, [L, m] = v(!1), n = U(!1), w = () => {
|
|
208
|
+
if (!E) {
|
|
209
|
+
t({
|
|
205
210
|
title: "No Email",
|
|
206
211
|
message: "Please contact support to update your email address.",
|
|
207
|
-
icon:
|
|
212
|
+
icon: c,
|
|
208
213
|
width: "575px",
|
|
209
214
|
confirmButtonText: "Contact Suuport",
|
|
210
215
|
cancelButtonShow: !0,
|
|
@@ -214,8 +219,8 @@ const Z = [
|
|
|
214
219
|
});
|
|
215
220
|
return;
|
|
216
221
|
}
|
|
217
|
-
if (
|
|
218
|
-
|
|
222
|
+
if (p === M || p === O) {
|
|
223
|
+
t({
|
|
219
224
|
title: "Under Review",
|
|
220
225
|
message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
|
|
221
226
|
width: "550px",
|
|
@@ -225,25 +230,37 @@ const Z = [
|
|
|
225
230
|
});
|
|
226
231
|
return;
|
|
227
232
|
}
|
|
228
|
-
if (
|
|
229
|
-
|
|
233
|
+
if (p !== G && p !== K) {
|
|
234
|
+
t({
|
|
230
235
|
title: "Verifying",
|
|
231
236
|
message: "We are gathering information, and will provision your Virtual IBAN shortly.",
|
|
232
237
|
width: "575px",
|
|
233
238
|
height: "400px",
|
|
234
239
|
confirmButtonText: "Continue",
|
|
235
240
|
cancelButtonText: "Cancel",
|
|
236
|
-
onConfirm: () =>
|
|
241
|
+
onConfirm: () => T("/kyc")
|
|
237
242
|
});
|
|
238
243
|
return;
|
|
239
244
|
}
|
|
240
245
|
if (!Z.find(
|
|
241
|
-
(
|
|
246
|
+
(o) => o.alpha3 === i.residentialAddress.country
|
|
242
247
|
)) {
|
|
243
|
-
|
|
248
|
+
t({
|
|
244
249
|
title: "Not Allowed",
|
|
245
250
|
message: "Currently we are not supporting your country for Virtual IBAN.",
|
|
246
|
-
icon:
|
|
251
|
+
icon: c,
|
|
252
|
+
width: "575px",
|
|
253
|
+
height: "450px",
|
|
254
|
+
confirmButtonText: "Continue",
|
|
255
|
+
cancelButtonShow: !1
|
|
256
|
+
});
|
|
257
|
+
return;
|
|
258
|
+
}
|
|
259
|
+
if (i.memberType !== "individual") {
|
|
260
|
+
t({
|
|
261
|
+
title: "Not Allowed",
|
|
262
|
+
message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
|
|
263
|
+
icon: c,
|
|
247
264
|
width: "575px",
|
|
248
265
|
height: "450px",
|
|
249
266
|
confirmButtonText: "Continue",
|
|
@@ -251,59 +268,59 @@ const Z = [
|
|
|
251
268
|
});
|
|
252
269
|
return;
|
|
253
270
|
}
|
|
254
|
-
|
|
271
|
+
t({
|
|
255
272
|
title: "Payment",
|
|
256
273
|
message: /* @__PURE__ */ l(S, { children: [
|
|
257
|
-
/* @__PURE__ */ a(
|
|
274
|
+
/* @__PURE__ */ a(h, { children: "You will be charged $12 per annum for creating an Virtual IBAN. Please select currency for the Virtual IBAN and proceed." }),
|
|
258
275
|
/* @__PURE__ */ l(
|
|
259
276
|
j,
|
|
260
277
|
{
|
|
261
278
|
defaultValue: "",
|
|
262
|
-
onChange: (
|
|
263
|
-
|
|
279
|
+
onChange: (o) => {
|
|
280
|
+
r.current = o.target.value, d(o.target.value);
|
|
264
281
|
},
|
|
265
282
|
style: { marginTop: "10px" },
|
|
266
283
|
displayEmpty: !0,
|
|
267
284
|
fullWidth: !0,
|
|
268
285
|
children: [
|
|
269
|
-
/* @__PURE__ */ a(
|
|
270
|
-
/* @__PURE__ */ a(
|
|
271
|
-
/* @__PURE__ */ a(
|
|
286
|
+
/* @__PURE__ */ a(u, { value: "", children: "Select currency" }),
|
|
287
|
+
/* @__PURE__ */ a(u, { value: "EUR", children: "EUR" }),
|
|
288
|
+
/* @__PURE__ */ a(u, { value: "GBP", children: "GBP" })
|
|
272
289
|
]
|
|
273
290
|
}
|
|
274
291
|
)
|
|
275
292
|
] }),
|
|
276
|
-
icon:
|
|
293
|
+
icon: V,
|
|
277
294
|
width: "575px",
|
|
278
295
|
confirmButtonText: "Make Payment",
|
|
279
296
|
cancelButtonShow: !0,
|
|
280
297
|
cancelButtonText: "Cancel",
|
|
281
|
-
closeModalConfirm:
|
|
282
|
-
onConfirm:
|
|
298
|
+
closeModalConfirm: R,
|
|
299
|
+
onConfirm: A,
|
|
283
300
|
onCancel: () => {
|
|
284
|
-
|
|
301
|
+
r.current = "", d(""), n.current = !1;
|
|
285
302
|
},
|
|
286
303
|
onClose: () => {
|
|
287
|
-
|
|
304
|
+
r.current = "", n.current = !1;
|
|
288
305
|
}
|
|
289
306
|
});
|
|
290
|
-
},
|
|
291
|
-
if (
|
|
292
|
-
return
|
|
307
|
+
}, R = () => !n.current, A = () => {
|
|
308
|
+
if (n.current = !1, !r.current)
|
|
309
|
+
return n.current = !0, f({
|
|
293
310
|
message: "Please select currency for Virtual IBAN."
|
|
294
311
|
}), !1;
|
|
295
|
-
const e =
|
|
312
|
+
const e = g.data.find((o) => o.currency === r.current);
|
|
296
313
|
if (e != null && e.id)
|
|
297
|
-
return
|
|
298
|
-
message: `You already have the ${
|
|
314
|
+
return n.current = !0, f({
|
|
315
|
+
message: `You already have the ${r.current} Virtual IBAN.`
|
|
299
316
|
}), !1;
|
|
300
|
-
|
|
317
|
+
m(!0);
|
|
301
318
|
};
|
|
302
|
-
return
|
|
319
|
+
return x || N ? /* @__PURE__ */ a(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ a(b, { color: "primary", size: 50 }) }) : /* @__PURE__ */ l(P, { children: [
|
|
303
320
|
/* @__PURE__ */ a(
|
|
304
|
-
|
|
321
|
+
h,
|
|
305
322
|
{
|
|
306
|
-
onClick:
|
|
323
|
+
onClick: w,
|
|
307
324
|
component: "span",
|
|
308
325
|
color: "primary",
|
|
309
326
|
sx: { cursor: "pointer" },
|
|
@@ -313,20 +330,20 @@ const Z = [
|
|
|
313
330
|
/* @__PURE__ */ l(
|
|
314
331
|
Y,
|
|
315
332
|
{
|
|
316
|
-
open:
|
|
333
|
+
open: L,
|
|
317
334
|
fullWidth: !0,
|
|
318
|
-
onClose: () =>
|
|
319
|
-
TransitionComponent:
|
|
335
|
+
onClose: () => m(!1),
|
|
336
|
+
TransitionComponent: k,
|
|
320
337
|
children: [
|
|
321
338
|
/* @__PURE__ */ l(W, { className: "buy-modal-text-color", children: [
|
|
322
|
-
/* @__PURE__ */ a(
|
|
339
|
+
/* @__PURE__ */ a(h, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ a("strong", { children: "Payment" }) }),
|
|
323
340
|
/* @__PURE__ */ a(
|
|
324
341
|
z,
|
|
325
342
|
{
|
|
326
343
|
"aria-label": "close",
|
|
327
|
-
onClick: () =>
|
|
344
|
+
onClick: () => m(!1),
|
|
328
345
|
className: "menu-buttons",
|
|
329
|
-
children: /* @__PURE__ */ a(
|
|
346
|
+
children: /* @__PURE__ */ a(_, {})
|
|
330
347
|
}
|
|
331
348
|
)
|
|
332
349
|
] }),
|
|
@@ -337,12 +354,12 @@ const Z = [
|
|
|
337
354
|
sx: { padding: "50px" },
|
|
338
355
|
dividers: !0,
|
|
339
356
|
children: /* @__PURE__ */ a(
|
|
340
|
-
|
|
357
|
+
D,
|
|
341
358
|
{
|
|
342
359
|
checkoutKey: y,
|
|
343
|
-
orderData:
|
|
344
|
-
initPaymentRequest:
|
|
345
|
-
backBtnFunc: () =>
|
|
360
|
+
orderData: I,
|
|
361
|
+
initPaymentRequest: B,
|
|
362
|
+
backBtnFunc: () => m(!1)
|
|
346
363
|
}
|
|
347
364
|
)
|
|
348
365
|
}
|
|
@@ -353,5 +370,5 @@ const Z = [
|
|
|
353
370
|
] });
|
|
354
371
|
};
|
|
355
372
|
export {
|
|
356
|
-
|
|
373
|
+
La as default
|
|
357
374
|
};
|
|
@@ -3,28 +3,28 @@ import { useRef as S, useState as g, useEffect as A } from "react";
|
|
|
3
3
|
import { I as B } from "../../../Info-BVeUSPyk.js";
|
|
4
4
|
import { DIALOG_SUCCESS_ICON as N } from "../../../util/constants.js";
|
|
5
5
|
import "../../../constants-9grj4Du1.js";
|
|
6
|
-
import { a as
|
|
7
|
-
import { M as
|
|
6
|
+
import { a as D } from "../../../order-Cs5_3wOs.js";
|
|
7
|
+
import { M as b } from "../../../tooltip-3UvETWtS.js";
|
|
8
8
|
import q from "../Shared/noData.js";
|
|
9
9
|
import w from "./createIban.js";
|
|
10
10
|
import { AuthInnerContainer as P } from "../Shared/Container/index.js";
|
|
11
11
|
import R from "./ibanItem.js";
|
|
12
12
|
import { B as a } from "../../../Box-B0YSYLco.js";
|
|
13
|
-
import { G as
|
|
14
|
-
import { T
|
|
15
|
-
import { I as
|
|
16
|
-
import { C as
|
|
13
|
+
import { G as c } from "../../../Grid-CFe3amXO.js";
|
|
14
|
+
import { T } from "../../../Typography-pAaje37G.js";
|
|
15
|
+
import { I as _ } from "../../../IconButton-DHm-hucF.js";
|
|
16
|
+
import { C as v } from "../../../CircularProgress-xZA3lvba.js";
|
|
17
17
|
const Q = ({
|
|
18
|
-
dispatch:
|
|
18
|
+
dispatch: s,
|
|
19
19
|
openDialog: i,
|
|
20
20
|
baseUrl: m,
|
|
21
21
|
checkoutSdkKey: f,
|
|
22
|
-
appKey:
|
|
22
|
+
appKey: p,
|
|
23
23
|
iban: r,
|
|
24
24
|
navigate: d,
|
|
25
|
-
AccountItem:
|
|
25
|
+
AccountItem: y
|
|
26
26
|
}) => {
|
|
27
|
-
const
|
|
27
|
+
const u = r.data, h = r.loader, I = S(""), [x, C] = g("");
|
|
28
28
|
return A(() => {
|
|
29
29
|
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
|
|
30
30
|
title: "Payment Success",
|
|
@@ -34,34 +34,36 @@ const Q = ({
|
|
|
34
34
|
confirmButtonText: "Continue"
|
|
35
35
|
});
|
|
36
36
|
}, []), /* @__PURE__ */ e(P, { children: /* @__PURE__ */ o(a, { p: 3, children: [
|
|
37
|
-
/* @__PURE__ */ o(
|
|
38
|
-
/* @__PURE__ */ o(
|
|
39
|
-
/* @__PURE__ */ e(
|
|
37
|
+
/* @__PURE__ */ o(c, { spacing: 2, container: !0, alignItems: "center", children: [
|
|
38
|
+
/* @__PURE__ */ o(c, { size: 8, children: [
|
|
39
|
+
/* @__PURE__ */ e(T, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Apex Accounts (Virtual IBAN)" }) }),
|
|
40
40
|
/* @__PURE__ */ e(
|
|
41
|
-
|
|
41
|
+
b,
|
|
42
42
|
{
|
|
43
43
|
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of EUR currency. This requires KYC and an annual payment" }),
|
|
44
44
|
placement: "bottom",
|
|
45
|
-
children: /* @__PURE__ */ e(
|
|
45
|
+
children: /* @__PURE__ */ e(_, { className: "info-fee-icon", children: /* @__PURE__ */ e(B, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
46
46
|
}
|
|
47
47
|
)
|
|
48
48
|
] }),
|
|
49
|
-
/* @__PURE__ */ e(
|
|
49
|
+
/* @__PURE__ */ e(c, { size: 4, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
50
50
|
w,
|
|
51
51
|
{
|
|
52
52
|
openDialog: i,
|
|
53
53
|
checkoutSdkKey: f,
|
|
54
54
|
paymentRequest: (t) => {
|
|
55
55
|
const n = {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
payment: {
|
|
57
|
+
token: t,
|
|
58
|
+
amount: 12,
|
|
59
|
+
currency: "USD",
|
|
60
|
+
app_key: p,
|
|
61
|
+
success_url: `${m}/accounts?payment=success`,
|
|
62
|
+
fail_url: `${m}/dashboard?payment=failed`
|
|
63
|
+
},
|
|
64
|
+
currency: x
|
|
63
65
|
};
|
|
64
|
-
|
|
66
|
+
s(D(n));
|
|
65
67
|
},
|
|
66
68
|
iban: r,
|
|
67
69
|
navigate: d,
|
|
@@ -70,13 +72,13 @@ const Q = ({
|
|
|
70
72
|
}
|
|
71
73
|
) }) })
|
|
72
74
|
] }),
|
|
73
|
-
|
|
75
|
+
h ? /* @__PURE__ */ e(a, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(v, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: u.length > 0 ? /* @__PURE__ */ e(l, { children: u.map((t, n) => /* @__PURE__ */ e(
|
|
74
76
|
R,
|
|
75
77
|
{
|
|
76
78
|
data: t,
|
|
77
|
-
AccountItem:
|
|
78
|
-
dispatch:
|
|
79
|
-
appKey:
|
|
79
|
+
AccountItem: y,
|
|
80
|
+
dispatch: s,
|
|
81
|
+
appKey: p,
|
|
80
82
|
iban: r
|
|
81
83
|
},
|
|
82
84
|
n
|
|
@@ -4,6 +4,7 @@ import c from "../Shared/appButton.js";
|
|
|
4
4
|
import { C } from "../../../ContentCopy-coPwrEuz.js";
|
|
5
5
|
import { C as g } from "../../../Close-CNwiMz_O.js";
|
|
6
6
|
import B from "../../Shared/transition.js";
|
|
7
|
+
import "../../../index-DlQqWbXG.js";
|
|
7
8
|
import "../../../hoc/withThemeProvider.js";
|
|
8
9
|
import "../Shared/Auth/otpForm.js";
|
|
9
10
|
import "../../../constants-9grj4Du1.js";
|
|
@@ -16,7 +17,6 @@ import "../Shared/pin.js";
|
|
|
16
17
|
import "../../../moment-h96o7c8I.js";
|
|
17
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
18
19
|
import "../../../web3-u4qDZYpo.js";
|
|
19
|
-
import "../../../index-B8QKlEgj.js";
|
|
20
20
|
import "../../../index-ceeCtFuh.js";
|
|
21
21
|
import "../../../context/dialogContext.js";
|
|
22
22
|
import k from "./sendIban.js";
|