everest-npm-features 0.0.60 → 0.0.62
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/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.js +34 -38
- package/dist/components/Wallet/Account/eWallet.js +35 -39
- package/dist/components/Wallet/Account/iban.js +49 -53
- package/dist/components/Wallet/Account/ibanItem.js +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +125 -134
- package/dist/components/Wallet/Profile/index.js +38 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +336 -324
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.js +15 -16
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -46
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -14
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,44 +1,42 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { S as
|
|
4
|
-
import {
|
|
5
|
-
import "../../../
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
b(() => {
|
|
14
|
-
c(D());
|
|
1
|
+
import { jsxs as f, Fragment as p, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d, useRef as b, useEffect as h, useCallback as c } from "react";
|
|
3
|
+
import { S as E } from "../../../index.esm-I_Bp2YLf.js";
|
|
4
|
+
import { Typography as k, Box as g, CircularProgress as D } from "@mui/material";
|
|
5
|
+
import { u as v } from "../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import "../../../constants-DrmtdI1J.js";
|
|
7
|
+
import { g as w, b as y } from "../../../kyc-ksV3vBP_.js";
|
|
8
|
+
import R from "../../../hooks/useEverestDispatch.js";
|
|
9
|
+
function K({ onApplicantIdLoaded: o }) {
|
|
10
|
+
const n = R(), e = v((r) => r.user.kyc), [i, T] = d(null), u = b(null), [a, A] = d(!1), l = b(!1);
|
|
11
|
+
h(() => {
|
|
12
|
+
n(w());
|
|
15
13
|
}, []);
|
|
16
|
-
const
|
|
17
|
-
|
|
14
|
+
const S = c(async () => e.sumsubAccessToken ?? "", [e.sumsubAccessToken]);
|
|
15
|
+
h(() => {
|
|
18
16
|
if (!a) return;
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
}, [
|
|
22
|
-
const
|
|
23
|
-
(
|
|
24
|
-
if (
|
|
25
|
-
const
|
|
26
|
-
|
|
17
|
+
const r = u.current ?? i;
|
|
18
|
+
r && (l.current || (l.current = !0, n(y(r))));
|
|
19
|
+
}, [i, n, a]);
|
|
20
|
+
const x = c(
|
|
21
|
+
(r, m) => {
|
|
22
|
+
if (r === "idCheck.onApplicantLoaded") {
|
|
23
|
+
const s = m;
|
|
24
|
+
s != null && s.applicantId && (u.current = s.applicantId, T(s.applicantId), o == null || o(s.applicantId));
|
|
27
25
|
return;
|
|
28
26
|
}
|
|
29
|
-
if (
|
|
30
|
-
const
|
|
31
|
-
(
|
|
27
|
+
if (r === "idCheck.onApplicantStatusChanged" || r === "idCheck.onApplicantActionCompleted") {
|
|
28
|
+
const s = m;
|
|
29
|
+
(s == null ? void 0 : s.reviewStatus) === "completed" && A(!0);
|
|
32
30
|
}
|
|
33
31
|
},
|
|
34
|
-
[
|
|
35
|
-
),
|
|
36
|
-
console.error("Sumsub WebSDK error:",
|
|
32
|
+
[n, o]
|
|
33
|
+
), C = c((r) => {
|
|
34
|
+
console.error("Sumsub WebSDK error:", r);
|
|
37
35
|
}, []);
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
e.sumsubAccessTokenError && /* @__PURE__ */ t(
|
|
36
|
+
return /* @__PURE__ */ f(p, { children: [
|
|
37
|
+
e.sumsubAccessTokenError && /* @__PURE__ */ t(k, { color: "error", variant: "body2", children: e.sumsubAccessTokenError }),
|
|
40
38
|
!e.sumsubAccessTokenError && (e.sumsubAccessTokenLoader || !e.sumsubAccessToken) && /* @__PURE__ */ t(
|
|
41
|
-
|
|
39
|
+
g,
|
|
42
40
|
{
|
|
43
41
|
sx: {
|
|
44
42
|
display: "flex",
|
|
@@ -46,38 +44,53 @@ function z({ onApplicantIdLoaded: o }) {
|
|
|
46
44
|
justifyContent: "center",
|
|
47
45
|
py: 4
|
|
48
46
|
},
|
|
49
|
-
children: /* @__PURE__ */ t(
|
|
47
|
+
children: /* @__PURE__ */ t(D, {})
|
|
50
48
|
}
|
|
51
49
|
),
|
|
52
|
-
!e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
50
|
+
!e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */ f(p, { children: [
|
|
51
|
+
/* @__PURE__ */ t(
|
|
52
|
+
g,
|
|
53
|
+
{
|
|
54
|
+
sx: {
|
|
55
|
+
mb: 2,
|
|
56
|
+
p: 2,
|
|
57
|
+
backgroundColor: "#fff3cd",
|
|
58
|
+
border: "1px solid #ffc107",
|
|
59
|
+
borderRadius: 1
|
|
60
|
+
},
|
|
61
|
+
children: /* @__PURE__ */ t(
|
|
62
|
+
k,
|
|
63
|
+
{
|
|
64
|
+
variant: "body2",
|
|
65
|
+
sx: {
|
|
66
|
+
fontWeight: "bold",
|
|
67
|
+
color: "#856404",
|
|
68
|
+
textAlign: "center"
|
|
69
|
+
},
|
|
70
|
+
children: "⚠️ Do not close this window or navigate away. Wait for verification to complete - additional information will be required next."
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
),
|
|
75
|
+
/* @__PURE__ */ t(
|
|
76
|
+
E,
|
|
77
|
+
{
|
|
78
|
+
accessToken: e.sumsubAccessToken,
|
|
79
|
+
expirationHandler: S,
|
|
80
|
+
config: {
|
|
81
|
+
lang: "en"
|
|
82
|
+
},
|
|
83
|
+
options: {
|
|
84
|
+
addViewportTag: !1,
|
|
85
|
+
adaptIframeHeight: !0
|
|
86
|
+
},
|
|
87
|
+
onMessage: x,
|
|
88
|
+
onError: C
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
] })
|
|
79
92
|
] });
|
|
80
93
|
}
|
|
81
94
|
export {
|
|
82
|
-
|
|
95
|
+
K as default
|
|
83
96
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
|
|
2
|
+
import { Backdrop as a, CircularProgress as d } from "@mui/material";
|
|
3
|
+
const f = ({ open: o = !0 }) => /* @__PURE__ */ r(
|
|
5
4
|
a,
|
|
6
5
|
{
|
|
7
6
|
open: o,
|
|
@@ -9,9 +8,9 @@ const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
|
|
|
9
8
|
color: "#fff",
|
|
10
9
|
zIndex: (e) => e.zIndex.drawer + 1
|
|
11
10
|
},
|
|
12
|
-
children: /* @__PURE__ */ r(
|
|
11
|
+
children: /* @__PURE__ */ r(d, { color: "primary" })
|
|
13
12
|
}
|
|
14
13
|
);
|
|
15
14
|
export {
|
|
16
|
-
|
|
15
|
+
f as default
|
|
17
16
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
const a =
|
|
2
|
+
import { Slide as n } from "@mui/material";
|
|
3
|
+
import { forwardRef as s } from "react";
|
|
4
|
+
const a = s((r, o) => {
|
|
5
5
|
const { children: i, ...t } = r;
|
|
6
|
-
return /* @__PURE__ */ e(
|
|
6
|
+
return /* @__PURE__ */ e(n, { direction: "up", ref: o, ...t, children: i });
|
|
7
7
|
});
|
|
8
8
|
a.displayName = "Transition";
|
|
9
9
|
export {
|
|
@@ -1,30 +1,26 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as A } from "react";
|
|
3
3
|
import { u as N } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Box as S, CircularProgress as U, Typography as E, Select as v, MenuItem as d } from "@mui/material";
|
|
5
|
+
import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as f, DIALOG_SUCCESS_ICON as P } from "../../../util/constants.js";
|
|
6
|
+
import { a as V, ah as _, c as G, K } from "../../../constants-DrmtdI1J.js";
|
|
6
7
|
import "../../../index-DlQqWbXG.js";
|
|
7
8
|
import "../Shared/appButton.js";
|
|
8
9
|
import "../../../hoc/withThemeProvider.js";
|
|
9
|
-
import "
|
|
10
|
-
import { useSnackBarContext as
|
|
10
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
11
|
+
import { useSnackBarContext as O } from "../../../context/snackBarContext.js";
|
|
11
12
|
import "../../../util/conversions.js";
|
|
12
13
|
import "../../../index-CAoLi5Qq.js";
|
|
13
14
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
14
15
|
import "../../Shared/transition.js";
|
|
15
|
-
import "../../../tooltip-
|
|
16
|
-
import "../Shared/pin.js";
|
|
16
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
17
17
|
import "../../../moment-h96o7c8I.js";
|
|
18
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
19
19
|
import "../../../web3-u4qDZYpo.js";
|
|
20
20
|
import "../../../index-ceeCtFuh.js";
|
|
21
21
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
22
22
|
import "../../../context/dialogContext.js";
|
|
23
|
-
import
|
|
24
|
-
import { C as K } from "../../../CircularProgress-xZA3lvba.js";
|
|
25
|
-
import { T as E } from "../../../Typography-pAaje37G.js";
|
|
26
|
-
import { S as O } from "../../../Select-CB5yWmyn.js";
|
|
27
|
-
import { M as f } from "../../../MenuItem-DUdYOJr4.js";
|
|
23
|
+
import "@mui/icons-material";
|
|
28
24
|
const Y = [
|
|
29
25
|
{
|
|
30
26
|
alpha3: "AUT",
|
|
@@ -191,21 +187,21 @@ const Y = [
|
|
|
191
187
|
alpha2: "GB",
|
|
192
188
|
name: "United Kingdom"
|
|
193
189
|
}
|
|
194
|
-
],
|
|
190
|
+
], ha = ({
|
|
195
191
|
openDialog: n,
|
|
196
192
|
createIbanRequest: B,
|
|
197
|
-
iban:
|
|
198
|
-
navigate:
|
|
193
|
+
iban: s,
|
|
194
|
+
navigate: L,
|
|
199
195
|
currency: a,
|
|
200
|
-
setIbanCurrency:
|
|
196
|
+
setIbanCurrency: c,
|
|
201
197
|
from: e
|
|
202
198
|
}) => {
|
|
203
|
-
const { showAlertMessage: C } =
|
|
199
|
+
const { showAlertMessage: C } = O(), u = N((o) => o.user), p = u.profile, T = p.loader, y = u.kyc.loader, h = u.kyc.status, I = p.email, R = s.loader, l = A(!1), g = () => {
|
|
204
200
|
if (!I) {
|
|
205
201
|
n({
|
|
206
202
|
title: "No Email",
|
|
207
203
|
message: "Please contact support to update your email address.",
|
|
208
|
-
icon:
|
|
204
|
+
icon: f,
|
|
209
205
|
width: "575px",
|
|
210
206
|
confirmButtonText: "Contact Suuport",
|
|
211
207
|
cancelButtonShow: !0,
|
|
@@ -215,7 +211,7 @@ const Y = [
|
|
|
215
211
|
});
|
|
216
212
|
return;
|
|
217
213
|
}
|
|
218
|
-
if (
|
|
214
|
+
if (h === V || h === _) {
|
|
219
215
|
n({
|
|
220
216
|
title: "Under Review",
|
|
221
217
|
message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
|
|
@@ -226,7 +222,7 @@ const Y = [
|
|
|
226
222
|
});
|
|
227
223
|
return;
|
|
228
224
|
}
|
|
229
|
-
if (
|
|
225
|
+
if (h !== G && h !== K) {
|
|
230
226
|
n({
|
|
231
227
|
title: "Verification Required",
|
|
232
228
|
message: `To create a ${e === r ? "E-Wallet" : "Virtual IBAN"}, we first need to verify your identity. You will now be taken to complete your KYC verification.`,
|
|
@@ -234,7 +230,7 @@ const Y = [
|
|
|
234
230
|
height: "400px",
|
|
235
231
|
confirmButtonText: "Start Verification",
|
|
236
232
|
cancelButtonText: "Cancel",
|
|
237
|
-
onConfirm: () =>
|
|
233
|
+
onConfirm: () => L("/kyc")
|
|
238
234
|
});
|
|
239
235
|
return;
|
|
240
236
|
}
|
|
@@ -244,7 +240,7 @@ const Y = [
|
|
|
244
240
|
n({
|
|
245
241
|
title: "Not Allowed",
|
|
246
242
|
message: "Currently we are not supporting your country for Virtual IBAN.",
|
|
247
|
-
icon:
|
|
243
|
+
icon: f,
|
|
248
244
|
width: "575px",
|
|
249
245
|
height: "450px",
|
|
250
246
|
confirmButtonText: "Continue",
|
|
@@ -256,7 +252,7 @@ const Y = [
|
|
|
256
252
|
n({
|
|
257
253
|
title: "Not Allowed",
|
|
258
254
|
message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
|
|
259
|
-
icon:
|
|
255
|
+
icon: f,
|
|
260
256
|
width: "575px",
|
|
261
257
|
height: "450px",
|
|
262
258
|
confirmButtonText: "Continue",
|
|
@@ -264,29 +260,29 @@ const Y = [
|
|
|
264
260
|
});
|
|
265
261
|
return;
|
|
266
262
|
}
|
|
267
|
-
e === r && (a.current = "EUR",
|
|
263
|
+
e === r && (a.current = "EUR", c("EUR")), n({
|
|
268
264
|
title: e === r ? "Create E-Wallet" : "Create Virtual IBAN",
|
|
269
|
-
message: /* @__PURE__ */
|
|
265
|
+
message: /* @__PURE__ */ m(S, { children: [
|
|
270
266
|
/* @__PURE__ */ t(E, { children: e === r ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
|
|
271
|
-
e !== r && /* @__PURE__ */
|
|
272
|
-
|
|
267
|
+
e !== r && /* @__PURE__ */ m(
|
|
268
|
+
v,
|
|
273
269
|
{
|
|
274
270
|
defaultValue: "",
|
|
275
271
|
onChange: (i) => {
|
|
276
|
-
a.current = i.target.value,
|
|
272
|
+
a.current = i.target.value, c(i.target.value);
|
|
277
273
|
},
|
|
278
274
|
style: { marginTop: "10px" },
|
|
279
275
|
displayEmpty: !0,
|
|
280
276
|
fullWidth: !0,
|
|
281
277
|
children: [
|
|
282
|
-
/* @__PURE__ */ t(
|
|
283
|
-
/* @__PURE__ */ t(
|
|
284
|
-
/* @__PURE__ */ t(
|
|
278
|
+
/* @__PURE__ */ t(d, { value: "", children: "Select currency" }),
|
|
279
|
+
/* @__PURE__ */ t(d, { value: "EUR", children: "EUR" }),
|
|
280
|
+
/* @__PURE__ */ t(d, { value: "GBP", children: "GBP" })
|
|
285
281
|
]
|
|
286
282
|
}
|
|
287
283
|
)
|
|
288
284
|
] }),
|
|
289
|
-
icon:
|
|
285
|
+
icon: P,
|
|
290
286
|
width: "575px",
|
|
291
287
|
confirmButtonText: "Create",
|
|
292
288
|
cancelButtonShow: !0,
|
|
@@ -294,7 +290,7 @@ const Y = [
|
|
|
294
290
|
closeModalConfirm: w,
|
|
295
291
|
onConfirm: x,
|
|
296
292
|
onCancel: () => {
|
|
297
|
-
a.current = "",
|
|
293
|
+
a.current = "", c(""), l.current = !1;
|
|
298
294
|
},
|
|
299
295
|
onClose: () => {
|
|
300
296
|
a.current = "", l.current = !1;
|
|
@@ -305,8 +301,8 @@ const Y = [
|
|
|
305
301
|
return l.current = !0, C({
|
|
306
302
|
message: e === r ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
|
|
307
303
|
}), !1;
|
|
308
|
-
if (
|
|
309
|
-
const o =
|
|
304
|
+
if (s.data.length > 0) {
|
|
305
|
+
const o = s.data.find(
|
|
310
306
|
(i) => i.currency === a.current
|
|
311
307
|
);
|
|
312
308
|
if (o != null && o.id)
|
|
@@ -316,14 +312,14 @@ const Y = [
|
|
|
316
312
|
}
|
|
317
313
|
B(a.current);
|
|
318
314
|
};
|
|
319
|
-
return
|
|
315
|
+
return T || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(U, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
|
|
320
316
|
E,
|
|
321
317
|
{
|
|
322
318
|
onClick: g,
|
|
323
319
|
component: "span",
|
|
324
320
|
color: "primary",
|
|
325
321
|
sx: { cursor: "pointer" },
|
|
326
|
-
children: /* @__PURE__ */
|
|
322
|
+
children: /* @__PURE__ */ m("span", { className: "text-underline", children: [
|
|
327
323
|
"+ Add ",
|
|
328
324
|
e === r ? "E-Wallet" : "Virtual IBAN"
|
|
329
325
|
] })
|
|
@@ -331,5 +327,5 @@ const Y = [
|
|
|
331
327
|
);
|
|
332
328
|
};
|
|
333
329
|
export {
|
|
334
|
-
|
|
330
|
+
ha as default
|
|
335
331
|
};
|
|
@@ -1,35 +1,31 @@
|
|
|
1
|
-
import { jsx as e, jsxs as r, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as w, useState as A, useEffect as N } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import
|
|
3
|
+
import { Box as t, Grid as a, Typography as h, IconButton as P, CircularProgress as D } from "@mui/material";
|
|
4
|
+
import { I as T } from "../../../Info-DOoRR7sR.js";
|
|
5
|
+
import { DIALOG_SUCCESS_ICON as b, FEATURE_EWALLET as p } from "../../../util/constants.js";
|
|
6
|
+
import { M as v } from "../../../tooltip-BW0UyWw7.js";
|
|
7
|
+
import L from "../Shared/noData.js";
|
|
8
|
+
import z from "./createIban.js";
|
|
8
9
|
import { AuthInnerContainer as B } from "../Shared/Container/index.js";
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
import { G as a } from "../../../Grid-CFe3amXO.js";
|
|
12
|
-
import { T as h } from "../../../Typography-pAaje37G.js";
|
|
13
|
-
import { I as z } from "../../../IconButton-DHm-hucF.js";
|
|
14
|
-
import { C as _ } from "../../../CircularProgress-xZA3lvba.js";
|
|
15
|
-
const Q = ({
|
|
10
|
+
import _ from "./ibanItem.js";
|
|
11
|
+
const V = ({
|
|
16
12
|
dispatch: u,
|
|
17
|
-
openDialog:
|
|
13
|
+
openDialog: c,
|
|
18
14
|
appKey: d,
|
|
19
15
|
appKeyEur: f,
|
|
20
16
|
paymentWidgetSrcUrl: y,
|
|
21
|
-
iban:
|
|
22
|
-
navigate:
|
|
17
|
+
iban: n,
|
|
18
|
+
navigate: i,
|
|
23
19
|
AccountItem: x,
|
|
24
|
-
createIbanRequest:
|
|
25
|
-
tokenData:
|
|
20
|
+
createIbanRequest: g,
|
|
21
|
+
tokenData: C
|
|
26
22
|
}) => {
|
|
27
|
-
const s =
|
|
23
|
+
const s = n.data, I = n.loader, E = w(""), [q, S] = A("");
|
|
28
24
|
return N(() => {
|
|
29
|
-
new URLSearchParams(window.location.search).get("paymentStatus") === "success" &&
|
|
25
|
+
new URLSearchParams(window.location.search).get("paymentStatus") === "success" && c({
|
|
30
26
|
title: "Payment Success",
|
|
31
27
|
message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
|
|
32
|
-
icon:
|
|
28
|
+
icon: b,
|
|
33
29
|
width: "575px",
|
|
34
30
|
confirmButtonText: "Continue"
|
|
35
31
|
});
|
|
@@ -38,35 +34,35 @@ const Q = ({
|
|
|
38
34
|
/* @__PURE__ */ r(a, { size: 8, children: [
|
|
39
35
|
/* @__PURE__ */ e(h, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "E-Wallet" }) }),
|
|
40
36
|
/* @__PURE__ */ e(
|
|
41
|
-
|
|
37
|
+
v,
|
|
42
38
|
{
|
|
43
39
|
title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC" }),
|
|
44
40
|
placement: "bottom",
|
|
45
|
-
children: /* @__PURE__ */ e(
|
|
41
|
+
children: /* @__PURE__ */ e(P, { className: "info-fee-icon", children: /* @__PURE__ */ e(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
|
|
46
42
|
}
|
|
47
43
|
)
|
|
48
44
|
] }),
|
|
49
45
|
/* @__PURE__ */ e(a, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
|
|
50
|
-
|
|
46
|
+
z,
|
|
51
47
|
{
|
|
52
|
-
openDialog:
|
|
53
|
-
createIbanRequest:
|
|
54
|
-
iban:
|
|
55
|
-
navigate:
|
|
48
|
+
openDialog: c,
|
|
49
|
+
createIbanRequest: g,
|
|
50
|
+
iban: n,
|
|
51
|
+
navigate: i,
|
|
56
52
|
currency: E,
|
|
57
53
|
setIbanCurrency: S,
|
|
58
54
|
from: p
|
|
59
55
|
}
|
|
60
56
|
) }) })
|
|
61
57
|
] }),
|
|
62
|
-
|
|
63
|
-
s.length > 0 ? /* @__PURE__ */ e(
|
|
58
|
+
I ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(D, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(m, { children: [
|
|
59
|
+
s.length > 0 ? /* @__PURE__ */ e(m, { children: s.map((o, l) => {
|
|
64
60
|
const W = {
|
|
65
|
-
...
|
|
66
|
-
accountName: `E-Wallet - ${
|
|
61
|
+
...o,
|
|
62
|
+
accountName: `E-Wallet - ${o.currency ?? ""}`
|
|
67
63
|
};
|
|
68
64
|
return /* @__PURE__ */ e(
|
|
69
|
-
|
|
65
|
+
_,
|
|
70
66
|
{
|
|
71
67
|
data: W,
|
|
72
68
|
AccountItem: x,
|
|
@@ -74,14 +70,14 @@ const Q = ({
|
|
|
74
70
|
appKey: d,
|
|
75
71
|
appKeyEur: f,
|
|
76
72
|
paymentWidgetSrcUrl: y,
|
|
77
|
-
iban:
|
|
78
|
-
navigate:
|
|
73
|
+
iban: n,
|
|
74
|
+
navigate: i,
|
|
79
75
|
from: p,
|
|
80
|
-
tokenData:
|
|
76
|
+
tokenData: C
|
|
81
77
|
},
|
|
82
|
-
|
|
78
|
+
l
|
|
83
79
|
);
|
|
84
|
-
}) }) : /* @__PURE__ */ e(
|
|
80
|
+
}) }) : /* @__PURE__ */ e(L, { text: "You currently have no E-Wallets" }),
|
|
85
81
|
/* @__PURE__ */ e(t, { mt: 3, textAlign: "center", children: /* @__PURE__ */ r(h, { variant: "caption", color: "secondary", children: [
|
|
86
82
|
"Powered by",
|
|
87
83
|
" ",
|
|
@@ -100,5 +96,5 @@ const Q = ({
|
|
|
100
96
|
] }) });
|
|
101
97
|
};
|
|
102
98
|
export {
|
|
103
|
-
|
|
99
|
+
V as default
|
|
104
100
|
};
|