everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- 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-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- 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 +14 -13
- 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 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- 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.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- 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 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- 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 +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- 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 +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -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 -10
- 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 +98 -107
- 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 -19
- 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.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- 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 -45
- 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 -13
- 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 +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- 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-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.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-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.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/PlayArrow-Bjz9LxhD.js +0 -13
- 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/styles.module-CHPRGltL.js +0 -28
- 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,39 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as s, useEffect as
|
|
1
|
+
import { jsxs as d, Fragment as B, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as s, useEffect as c } from "react";
|
|
3
3
|
import { h as J } from "../../../moment-h96o7c8I.js";
|
|
4
|
-
import { u as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import "../../../
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
import { F as ae } from "../../../FormControl-RtZDQMdA.js";
|
|
17
|
-
import { S as se } from "../../../Select-CB5yWmyn.js";
|
|
18
|
-
import { M as z } from "../../../MenuItem-DUdYOJr4.js";
|
|
19
|
-
import { C as oe } from "../../../CircularProgress-xZA3lvba.js";
|
|
20
|
-
const Ae = ({
|
|
4
|
+
import { u as I } from "../../../react-redux-C7I9-1M6.js";
|
|
5
|
+
import { Typography as M, Box as a, FormControl as Q, Select as U, MenuItem as z, CircularProgress as V } from "@mui/material";
|
|
6
|
+
import { removeExtraSpace as o } from "../../../util/functions.js";
|
|
7
|
+
import { nameRegex as X } from "../../../util/regex.js";
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
|
+
import { r as $, u as ee } from "../../../kyc-BNMPoeHt.js";
|
|
10
|
+
import { c as te } from "../../../countries-BVn1FubK.js";
|
|
11
|
+
import re from "../../Wallet/Shared/Input/index.js";
|
|
12
|
+
import { useSnackBarContext as ae } from "../../../context/snackBarContext.js";
|
|
13
|
+
import se from "../../Wallet/Shared/appButton.js";
|
|
14
|
+
import ie from "../../../hooks/useEverestDispatch.js";
|
|
15
|
+
const Pe = ({
|
|
21
16
|
onComplete: E,
|
|
22
|
-
inputComponent:
|
|
23
|
-
buttonComponent:
|
|
17
|
+
inputComponent: K,
|
|
18
|
+
buttonComponent: Y
|
|
24
19
|
}) => {
|
|
25
|
-
const
|
|
20
|
+
const i = K ?? re, F = Y ?? se, p = ie(), m = I(
|
|
26
21
|
(e) => e.user.profile
|
|
27
|
-
), n =
|
|
28
|
-
|
|
29
|
-
p(
|
|
30
|
-
}, []),
|
|
31
|
-
|
|
32
|
-
}, [
|
|
22
|
+
), n = I((e) => e.user.kyc), g = n.loader, h = n.error, { showAlertMessage: r } = ae(), [v, y] = s(""), [C, b] = s(""), [u, L] = s(""), [W, R] = s(""), [P, j] = s(""), [S, Z] = s(""), [N, w] = s(""), [q, O] = s(""), [f, T] = s("");
|
|
23
|
+
c(() => () => {
|
|
24
|
+
p($());
|
|
25
|
+
}, []), c(() => {
|
|
26
|
+
h && r({ message: h });
|
|
27
|
+
}, [h]), c(() => {
|
|
33
28
|
n.minimal && (r({
|
|
34
29
|
message: "Minimal KYC has been done successfully.",
|
|
35
30
|
type: "success"
|
|
36
31
|
}), E());
|
|
37
|
-
}, [n]),
|
|
38
|
-
y(
|
|
39
|
-
}, [
|
|
32
|
+
}, [n]), c(() => {
|
|
33
|
+
y(m.firstName), b(m.lastName);
|
|
34
|
+
}, [m]);
|
|
40
35
|
const G = () => {
|
|
41
|
-
const e =
|
|
36
|
+
const e = o(v), l = o(C), A = o(W), H = o(P), D = o(S), _ = o(N), k = o(q);
|
|
42
37
|
if (!e) {
|
|
43
38
|
r({ message: "Please provide first name" });
|
|
44
39
|
return;
|
|
@@ -61,23 +56,23 @@ const Ae = ({
|
|
|
61
56
|
r({ message: "Please provide address" });
|
|
62
57
|
return;
|
|
63
58
|
}
|
|
64
|
-
if (!
|
|
59
|
+
if (!D) {
|
|
65
60
|
r({ message: "Please provide city" });
|
|
66
61
|
return;
|
|
67
62
|
}
|
|
68
|
-
if (!
|
|
63
|
+
if (!_) {
|
|
69
64
|
r({ message: "Please provide state" });
|
|
70
65
|
return;
|
|
71
66
|
}
|
|
72
|
-
if (!
|
|
67
|
+
if (!k) {
|
|
73
68
|
r({ message: "Please provide zip code" });
|
|
74
69
|
return;
|
|
75
70
|
}
|
|
76
|
-
if (!
|
|
71
|
+
if (!f) {
|
|
77
72
|
r({ message: "Please provide country" });
|
|
78
73
|
return;
|
|
79
74
|
}
|
|
80
|
-
g || p(
|
|
75
|
+
g || p(ee({
|
|
81
76
|
personal_information: {
|
|
82
77
|
first_name: e,
|
|
83
78
|
last_name: l,
|
|
@@ -86,19 +81,19 @@ const Ae = ({
|
|
|
86
81
|
residential_address: {
|
|
87
82
|
street: A,
|
|
88
83
|
secondary_street: H,
|
|
89
|
-
city:
|
|
90
|
-
state:
|
|
91
|
-
postcode:
|
|
92
|
-
country:
|
|
84
|
+
city: D,
|
|
85
|
+
state: _,
|
|
86
|
+
postcode: k,
|
|
87
|
+
country: f
|
|
93
88
|
}
|
|
94
89
|
}));
|
|
95
90
|
}, x = (e, l) => {
|
|
96
|
-
e ?
|
|
91
|
+
e ? X.test(e) && l(e) : l("");
|
|
97
92
|
};
|
|
98
|
-
return /* @__PURE__ */
|
|
99
|
-
/* @__PURE__ */ t(
|
|
93
|
+
return /* @__PURE__ */ d(B, { children: [
|
|
94
|
+
/* @__PURE__ */ t(M, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
|
|
100
95
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
101
|
-
|
|
96
|
+
i,
|
|
102
97
|
{
|
|
103
98
|
label: "First Name",
|
|
104
99
|
value: v,
|
|
@@ -110,7 +105,7 @@ const Ae = ({
|
|
|
110
105
|
}
|
|
111
106
|
) }),
|
|
112
107
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
113
|
-
|
|
108
|
+
i,
|
|
114
109
|
{
|
|
115
110
|
label: "Last Name",
|
|
116
111
|
value: C,
|
|
@@ -122,7 +117,7 @@ const Ae = ({
|
|
|
122
117
|
}
|
|
123
118
|
) }),
|
|
124
119
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
125
|
-
|
|
120
|
+
i,
|
|
126
121
|
{
|
|
127
122
|
slotProps: {
|
|
128
123
|
inputLabel: {
|
|
@@ -138,7 +133,7 @@ const Ae = ({
|
|
|
138
133
|
}
|
|
139
134
|
) }),
|
|
140
135
|
/* @__PURE__ */ t(
|
|
141
|
-
|
|
136
|
+
M,
|
|
142
137
|
{
|
|
143
138
|
sx: { mt: 2 },
|
|
144
139
|
color: "primary",
|
|
@@ -148,7 +143,7 @@ const Ae = ({
|
|
|
148
143
|
}
|
|
149
144
|
),
|
|
150
145
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
151
|
-
|
|
146
|
+
i,
|
|
152
147
|
{
|
|
153
148
|
label: "Address 1",
|
|
154
149
|
value: W,
|
|
@@ -158,7 +153,7 @@ const Ae = ({
|
|
|
158
153
|
}
|
|
159
154
|
) }),
|
|
160
155
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
161
|
-
|
|
156
|
+
i,
|
|
162
157
|
{
|
|
163
158
|
label: "Address 2 (optional)",
|
|
164
159
|
value: P,
|
|
@@ -167,36 +162,36 @@ const Ae = ({
|
|
|
167
162
|
}
|
|
168
163
|
) }),
|
|
169
164
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
170
|
-
|
|
165
|
+
i,
|
|
171
166
|
{
|
|
172
167
|
label: "City",
|
|
173
168
|
value: S,
|
|
174
|
-
onChange: (e) =>
|
|
169
|
+
onChange: (e) => Z(e.target.value),
|
|
175
170
|
fullWidth: !0,
|
|
176
171
|
required: !0
|
|
177
172
|
}
|
|
178
173
|
) }),
|
|
179
174
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
180
|
-
|
|
175
|
+
i,
|
|
181
176
|
{
|
|
182
177
|
label: "State",
|
|
183
178
|
value: N,
|
|
184
|
-
onChange: (e) =>
|
|
179
|
+
onChange: (e) => w(e.target.value),
|
|
185
180
|
fullWidth: !0,
|
|
186
181
|
required: !0
|
|
187
182
|
}
|
|
188
183
|
) }),
|
|
189
184
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
190
|
-
|
|
185
|
+
i,
|
|
191
186
|
{
|
|
192
187
|
label: "Zip Code",
|
|
193
188
|
value: q,
|
|
194
|
-
onChange: (e) =>
|
|
189
|
+
onChange: (e) => O(e.target.value),
|
|
195
190
|
fullWidth: !0,
|
|
196
191
|
required: !0
|
|
197
192
|
}
|
|
198
193
|
) }),
|
|
199
|
-
/* @__PURE__ */
|
|
194
|
+
/* @__PURE__ */ d(a, { mt: 2, children: [
|
|
200
195
|
/* @__PURE__ */ t(
|
|
201
196
|
"label",
|
|
202
197
|
{
|
|
@@ -209,25 +204,25 @@ const Ae = ({
|
|
|
209
204
|
children: "Country *"
|
|
210
205
|
}
|
|
211
206
|
),
|
|
212
|
-
/* @__PURE__ */ t(
|
|
213
|
-
|
|
207
|
+
/* @__PURE__ */ t(Q, { fullWidth: !0, children: /* @__PURE__ */ d(
|
|
208
|
+
U,
|
|
214
209
|
{
|
|
215
|
-
value:
|
|
210
|
+
value: f,
|
|
216
211
|
displayEmpty: !0,
|
|
217
|
-
onChange: (e) =>
|
|
212
|
+
onChange: (e) => T(e.target.value),
|
|
218
213
|
children: [
|
|
219
214
|
/* @__PURE__ */ t(z, { value: "", children: "Select Country" }),
|
|
220
|
-
|
|
215
|
+
te.map((e) => /* @__PURE__ */ t(z, { value: e.alpha3, children: e.name }, e.alpha3))
|
|
221
216
|
]
|
|
222
217
|
}
|
|
223
218
|
) })
|
|
224
219
|
] }),
|
|
225
|
-
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(
|
|
226
|
-
/* @__PURE__ */ t(
|
|
220
|
+
/* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(F, { onClick: G, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ d(B, { children: [
|
|
221
|
+
/* @__PURE__ */ t(V, { size: 15, color: "inherit" }),
|
|
227
222
|
" Processing..."
|
|
228
223
|
] }) : "Submit" }) }) })
|
|
229
224
|
] });
|
|
230
225
|
};
|
|
231
226
|
export {
|
|
232
|
-
|
|
227
|
+
Pe as default
|
|
233
228
|
};
|
|
@@ -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-DX0YBtP2.js";
|
|
7
|
+
import { g as w, b as y } from "../../../kyc-BNMPoeHt.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 {
|
|
@@ -7,9 +7,8 @@ interface CreateIbanProps {
|
|
|
7
7
|
createIbanRequest: (currency: string) => void;
|
|
8
8
|
iban: BankState["iban"];
|
|
9
9
|
navigate: (path: string) => void;
|
|
10
|
-
currency: React.MutableRefObject<string>;
|
|
11
|
-
setIbanCurrency: React.Dispatch<React.SetStateAction<string>>;
|
|
12
10
|
from: typeof FEATURE_EWALLET | typeof FEATURE_VIRTUAL_IBAN;
|
|
11
|
+
brandId?: string;
|
|
13
12
|
}
|
|
14
13
|
declare const CreateIban: React.FC<CreateIbanProps>;
|
|
15
14
|
export default CreateIban;
|