everest-npm-features 0.0.26 → 0.0.28
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/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
- package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
- package/dist/Avatar-CwczQLPi.js +280 -0
- package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
- package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
- package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
- package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
- package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
- package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
- package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
- package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
- package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
- package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
- package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
- package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
- package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
- package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
- package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
- package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
- package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
- package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
- package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
- package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
- package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
- package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
- package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
- package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
- package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
- package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
- package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
- package/dist/Menu-BAFJBGa-.js +1238 -0
- package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
- package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
- package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
- package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
- package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
- package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
- package/dist/Select-CGei0bav.js +1885 -0
- package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
- package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
- package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
- package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
- package/dist/assets/documents.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/assets/styles3.css +1 -1
- package/dist/assets/tokenRow.css +1 -1
- package/dist/assets/withThemeProvider.css +1 -1
- package/dist/{auth-Bf9zHZ-x.js → auth-DoHhqFQx.js} +11 -11
- package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
- package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/email.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/index.js +10 -10
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +15 -15
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +9 -9
- package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
- package/dist/components/Shared/FullKyc/types.d.ts +1 -1
- package/dist/components/Shared/FullKyc/userInfo.js +15 -14
- package/dist/components/Shared/HistoryItem/index.js +64 -65
- package/dist/components/Shared/Incode/index.js +5 -5
- package/dist/components/Shared/MinimalKyc/index.js +8 -8
- package/dist/components/Shared/loader.js +2 -2
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +76 -85
- package/dist/components/Wallet/Account/iban.d.ts +5 -1
- package/dist/components/Wallet/Account/iban.js +223 -25
- package/dist/components/Wallet/Account/index.js +144 -149
- package/dist/components/Wallet/Account/sendIban.js +25 -27
- package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Buy/form.js +21 -20
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +25 -24
- package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/index.js +83 -80
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
- package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
- package/dist/components/Wallet/History/index.js +111 -112
- package/dist/components/Wallet/Home/index.d.ts +5 -0
- package/dist/components/Wallet/Home/index.js +20 -0
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
- package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
- package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
- package/dist/components/Wallet/Portfolio/index.js +310 -301
- package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
- package/dist/components/Wallet/Profile/documents.js +18 -18
- package/dist/components/Wallet/Profile/index.js +152 -419
- package/dist/components/Wallet/Receive/index.js +10 -10
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Sell/form.js +19 -19
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +20 -19
- package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
- package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
- package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
- package/dist/components/Wallet/Shared/Container/index.d.ts +8 -4
- package/dist/components/Wallet/Shared/Container/index.js +63 -26
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
- package/dist/components/Wallet/Shared/Order/paymentButton.js +47 -0
- package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
- package/dist/components/Wallet/Shared/addBank.js +44 -48
- package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
- package/dist/components/Wallet/Shared/appButton.js +77 -57
- package/dist/components/Wallet/Shared/backBtn.js +2 -2
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +7 -7
- package/dist/components/Wallet/Shared/pin.js +4 -4
- package/dist/components/Wallet/Shared/radioButton.js +3 -3
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.js +7 -7
- package/dist/components/Wallet/SignUp/index.js +185 -58
- package/dist/components/Wallet/SignUp/terms.d.ts +1 -6
- package/dist/components/Wallet/SignUp/terms.js +517 -564
- package/dist/components/Wallet/Stake/gems/index.js +11 -11
- package/dist/components/Wallet/Stake/id/index.js +12 -12
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/index.js +112 -116
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
- package/dist/components/Wallet/Withdraw/form.js +19 -18
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
- package/dist/context/dialogContext.d.ts +6 -0
- package/dist/context/dialogContext.js +13 -0
- package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
- package/dist/cryptoAssets-Dck03SPI.js +16 -0
- package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
- package/dist/documents-Sh6RH769.js +549 -0
- package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
- package/dist/hooks/useDialog/index.js +35 -38
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +12 -11
- package/dist/index-BRwse7X5.js +631 -0
- package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
- package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
- package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
- package/dist/{index-VE9lYjq3.js → index-Db73x3ti.js} +178 -177
- package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
- package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
- package/dist/main.d.ts +7 -0
- package/dist/main.js +66 -59
- package/dist/memoTheme-BUUB1UEO.js +15 -0
- package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
- package/dist/{pep-C5Ge-kU4.js → pep-C_LViPSb.js} +219 -218
- package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
- package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
- package/dist/styles.module-B-t8vvWh.js +31 -0
- package/dist/styles.module-verVx4pE.js +8 -0
- package/dist/tokenRow-DBnoUm0z.js +186 -0
- package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
- package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
- package/dist/util/constants.d.ts +9 -0
- package/dist/util/constants.js +93 -84
- package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
- package/package.json +1 -1
- package/dist/ArrowDropDown-BC_iEASy.js +0 -8
- package/dist/ArrowRight-rYkfGJuF.js +0 -8
- package/dist/CheckCircle-CyxKX1TY.js +0 -8
- package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
- package/dist/Select-Chubcks_.js +0 -3108
- package/dist/assets/iban.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/cryptoAssets-CzNDY1j6.js +0 -16
- package/dist/documents-CEeV8SyW.js +0 -569
- package/dist/iban-DRT7i0vb.js +0 -275
- package/dist/index-BB3__zW3.js +0 -644
- package/dist/styles.module-BFHktEw2.js +0 -30
- package/dist/styles.module-DJk7Pf0F.js +0 -10
- package/dist/tokenRow-X6vlp1LH.js +0 -198
|
@@ -1,76 +1,77 @@
|
|
|
1
|
-
import { jsxs as E, Fragment as
|
|
2
|
-
import { useState as n, useEffect as
|
|
3
|
-
import { AuthContainer as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { a as
|
|
1
|
+
import { jsxs as E, Fragment as ee, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n, useEffect as K } from "react";
|
|
3
|
+
import { AuthContainer as ce } from "./components/Wallet/Shared/Container/index.js";
|
|
4
|
+
import pe from "./components/Shared/Incode/index.js";
|
|
5
|
+
import de from "./hoc/withThemeProvider.js";
|
|
6
|
+
import te from "./components/Wallet/Shared/Input/index.js";
|
|
7
|
+
import oe from "./components/Wallet/Shared/appButton.js";
|
|
8
|
+
import { a as ne, u as Y } from "./react-redux-C7I9-1M6.js";
|
|
9
9
|
import "./components/Wallet/Shared/Auth/otpForm.js";
|
|
10
|
-
import "./constants-
|
|
11
|
-
import { b as
|
|
12
|
-
import { useSnackBarContext as
|
|
10
|
+
import "./constants-BF50a6s-.js";
|
|
11
|
+
import { b as me, c as ue } from "./kyc-kWxxF1vI.js";
|
|
12
|
+
import { useSnackBarContext as se } from "./context/snackBarContext.js";
|
|
13
13
|
import "./util/conversions.js";
|
|
14
|
-
import { useDialog as me } from "./hooks/useDialog/index.js";
|
|
15
14
|
import "./index-CAoLi5Qq.js";
|
|
16
|
-
import
|
|
15
|
+
import re from "./components/Wallet/Shared/step.js";
|
|
17
16
|
import "./react-webcam-B3cXh1XT.js";
|
|
18
17
|
import "./components/Shared/transition.js";
|
|
18
|
+
import { useDialog as he } from "./hooks/useDialog/index.js";
|
|
19
19
|
import "./components/Wallet/Shared/pin.js";
|
|
20
20
|
import "./moment-h96o7c8I.js";
|
|
21
|
-
import "./tooltip-
|
|
21
|
+
import "./tooltip-Dv3Lfsa2.js";
|
|
22
22
|
import "./index.esm-BsMAMhYW.js";
|
|
23
|
-
import { c as
|
|
23
|
+
import { c as U } from "./countries-BVn1FubK.js";
|
|
24
24
|
import "./web3-u4qDZYpo.js";
|
|
25
25
|
import "./index-B8QKlEgj.js";
|
|
26
26
|
import "./index-ceeCtFuh.js";
|
|
27
|
-
import
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
|
|
27
|
+
import "./context/dialogContext.js";
|
|
28
|
+
import { B as T } from "./Box-BwKpr_VI.js";
|
|
29
|
+
import { T as W } from "./Typography-BQDN44CM.js";
|
|
30
|
+
import { A as j, P as ge } from "./pep-C_LViPSb.js";
|
|
31
|
+
import { I as fe, T as Z } from "./TextField-DmiK1A_S.js";
|
|
32
|
+
import { F as ye } from "./FormControl-H4D1Z6Ov.js";
|
|
33
|
+
import { S as Ce } from "./Select-CGei0bav.js";
|
|
34
|
+
import { M as H } from "./MenuItem-ByxiQtY2.js";
|
|
35
|
+
import { G as V } from "./Grid-CPkjiKqX.js";
|
|
36
|
+
const Ee = ({
|
|
36
37
|
inputComponent: p,
|
|
37
|
-
buttonComponent:
|
|
38
|
-
setUserInfo:
|
|
38
|
+
buttonComponent: N,
|
|
39
|
+
setUserInfo: P,
|
|
39
40
|
userInfo: l,
|
|
40
41
|
docData: i,
|
|
41
42
|
setScreen: d,
|
|
42
43
|
userEmail: g
|
|
43
44
|
}) => {
|
|
44
|
-
const
|
|
45
|
-
|
|
46
|
-
g && (
|
|
47
|
-
}, [g]),
|
|
48
|
-
var
|
|
45
|
+
const R = ne(), { openDialog: f, ConfirmDialog: _ } = he(), { showAlertMessage: a } = se(), c = p ?? te, y = N ?? oe, [u, h] = n(l.gender || ""), [A, S] = n(!1), [C, m] = n(l.email || ""), [b, e] = n(!1), [o, q] = n(""), [O, F] = n(l.address || ""), [s, L] = n(l.city || ""), [D, B] = n(l.state || ""), [x, k] = n(l.zipCode || ""), [v, I] = n(!1);
|
|
46
|
+
K(() => {
|
|
47
|
+
g && (m(g), e(!0));
|
|
48
|
+
}, [g]), K(() => {
|
|
49
|
+
var r;
|
|
49
50
|
if (i != null && i.issuingCountry) {
|
|
50
51
|
i.gender && (h(i.gender), S(!0));
|
|
51
|
-
const
|
|
52
|
-
(
|
|
52
|
+
const G = U.find(
|
|
53
|
+
(w) => w.alpha3 === i.issuingCountry
|
|
53
54
|
);
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
|
|
55
|
+
P({ ...l, country: G, nationality: G });
|
|
56
|
+
const M = new Date(i.birthDate), ie = M.getTimezoneOffset() * 6e4, le = new Date(
|
|
57
|
+
M.getTime() + ie
|
|
57
58
|
);
|
|
58
|
-
if (
|
|
59
|
-
const
|
|
60
|
-
|
|
59
|
+
if (q(le.toLocaleDateString("en-US")), (r = i.checkedAddressBean) != null && r.street) {
|
|
60
|
+
const w = i.checkedAddressBean;
|
|
61
|
+
I(!0), F(w.street), L(w.city), B(w.state), k(w.postalCode);
|
|
61
62
|
}
|
|
62
63
|
} else
|
|
63
|
-
|
|
64
|
+
z();
|
|
64
65
|
}, []);
|
|
65
|
-
const
|
|
66
|
-
|
|
66
|
+
const z = () => {
|
|
67
|
+
R(me());
|
|
67
68
|
};
|
|
68
|
-
return /* @__PURE__ */ E(
|
|
69
|
-
/* @__PURE__ */ t(
|
|
70
|
-
/* @__PURE__ */ t(
|
|
71
|
-
/* @__PURE__ */ E(
|
|
72
|
-
/* @__PURE__ */ t(
|
|
73
|
-
/* @__PURE__ */ t(
|
|
69
|
+
return /* @__PURE__ */ E(ee, { children: [
|
|
70
|
+
/* @__PURE__ */ t(T, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(re, { totalSteps: 4, currentStep: 2 }) }),
|
|
71
|
+
/* @__PURE__ */ t(_, {}),
|
|
72
|
+
/* @__PURE__ */ E(T, { pl: 2, mt: 4, children: [
|
|
73
|
+
/* @__PURE__ */ t(W, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
|
|
74
|
+
/* @__PURE__ */ t(W, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
74
75
|
/* @__PURE__ */ t(
|
|
75
76
|
c,
|
|
76
77
|
{
|
|
@@ -80,19 +81,19 @@ const Ce = ({
|
|
|
80
81
|
disabled: !0
|
|
81
82
|
}
|
|
82
83
|
),
|
|
83
|
-
/* @__PURE__ */ E(
|
|
84
|
-
/* @__PURE__ */ t(
|
|
84
|
+
/* @__PURE__ */ E(ye, { sx: { mt: 3 }, fullWidth: !0, children: [
|
|
85
|
+
/* @__PURE__ */ t(fe, { children: "Gender" }),
|
|
85
86
|
/* @__PURE__ */ E(
|
|
86
|
-
|
|
87
|
+
Ce,
|
|
87
88
|
{
|
|
88
|
-
value:
|
|
89
|
+
value: u,
|
|
89
90
|
label: "Gender",
|
|
90
|
-
onChange: (
|
|
91
|
-
disabled: !!(
|
|
91
|
+
onChange: (r) => h(r.target.value),
|
|
92
|
+
disabled: !!(A && u),
|
|
92
93
|
children: [
|
|
93
|
-
/* @__PURE__ */ t(
|
|
94
|
-
/* @__PURE__ */ t(
|
|
95
|
-
/* @__PURE__ */ t(
|
|
94
|
+
/* @__PURE__ */ t(H, { value: "M", children: "Male" }, "M"),
|
|
95
|
+
/* @__PURE__ */ t(H, { value: "F", children: "Female" }, "F"),
|
|
96
|
+
/* @__PURE__ */ t(H, { value: "X", children: "Another" }, "X")
|
|
96
97
|
]
|
|
97
98
|
}
|
|
98
99
|
)
|
|
@@ -103,7 +104,7 @@ const Ce = ({
|
|
|
103
104
|
sx: { mt: 3 },
|
|
104
105
|
label: "Email",
|
|
105
106
|
value: C,
|
|
106
|
-
onChange: (
|
|
107
|
+
onChange: (r) => m(r.target.value),
|
|
107
108
|
disabled: b
|
|
108
109
|
}
|
|
109
110
|
),
|
|
@@ -112,27 +113,27 @@ const Ce = ({
|
|
|
112
113
|
{
|
|
113
114
|
sx: { mt: 3 },
|
|
114
115
|
label: "Home Address",
|
|
115
|
-
value:
|
|
116
|
-
onChange: (
|
|
117
|
-
disabled: !!(
|
|
116
|
+
value: O,
|
|
117
|
+
onChange: (r) => F(r.target.value),
|
|
118
|
+
disabled: !!(v && O)
|
|
118
119
|
}
|
|
119
120
|
),
|
|
120
|
-
/* @__PURE__ */ E(
|
|
121
|
-
/* @__PURE__ */ t(
|
|
121
|
+
/* @__PURE__ */ E(V, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
|
|
122
|
+
/* @__PURE__ */ t(V, { size: 6, children: /* @__PURE__ */ t(
|
|
122
123
|
c,
|
|
123
124
|
{
|
|
124
125
|
label: "City",
|
|
125
126
|
value: s,
|
|
126
|
-
onChange: (
|
|
127
|
-
disabled: !!(
|
|
127
|
+
onChange: (r) => L(r.target.value),
|
|
128
|
+
disabled: !!(v && s)
|
|
128
129
|
}
|
|
129
130
|
) }),
|
|
130
|
-
/* @__PURE__ */ t(
|
|
131
|
+
/* @__PURE__ */ t(V, { size: 6, children: /* @__PURE__ */ t(
|
|
131
132
|
c,
|
|
132
133
|
{
|
|
133
134
|
label: "State",
|
|
134
|
-
value:
|
|
135
|
-
onChange: (
|
|
135
|
+
value: D,
|
|
136
|
+
onChange: (r) => B(r.target.value)
|
|
136
137
|
}
|
|
137
138
|
) })
|
|
138
139
|
] }),
|
|
@@ -141,9 +142,9 @@ const Ce = ({
|
|
|
141
142
|
{
|
|
142
143
|
sx: { mt: 3 },
|
|
143
144
|
label: "Zipcode",
|
|
144
|
-
value:
|
|
145
|
-
onChange: (
|
|
146
|
-
disabled: !!(
|
|
145
|
+
value: x,
|
|
146
|
+
onChange: (r) => k(r.target.value),
|
|
147
|
+
disabled: !!(v && x)
|
|
147
148
|
}
|
|
148
149
|
)
|
|
149
150
|
] }),
|
|
@@ -154,41 +155,41 @@ const Ce = ({
|
|
|
154
155
|
variant: "contained",
|
|
155
156
|
onClick: () => {
|
|
156
157
|
if (!o)
|
|
157
|
-
return
|
|
158
|
-
if (!
|
|
159
|
-
if (!
|
|
160
|
-
return
|
|
161
|
-
if (!s) return
|
|
162
|
-
if (!
|
|
163
|
-
if (!
|
|
164
|
-
return
|
|
165
|
-
|
|
158
|
+
return a({ message: "Please provide date of birth" });
|
|
159
|
+
if (!u) return a({ message: "Please provide gender" });
|
|
160
|
+
if (!O)
|
|
161
|
+
return a({ message: "Please provide address" });
|
|
162
|
+
if (!s) return a({ message: "Please provide city" });
|
|
163
|
+
if (!D) return a({ message: "Please provide state" });
|
|
164
|
+
if (!x)
|
|
165
|
+
return a({ message: "Please provide zip code" });
|
|
166
|
+
P({ ...l, gender: u, email: C, address: O, city: s, state: D, zipCode: x }), d(J);
|
|
166
167
|
},
|
|
167
|
-
disabled: !C || !
|
|
168
|
+
disabled: !C || !O || !u,
|
|
168
169
|
fullWidth: !0,
|
|
169
170
|
children: /* @__PURE__ */ t("strong", { children: "Next" })
|
|
170
171
|
}
|
|
171
172
|
)
|
|
172
173
|
] });
|
|
173
|
-
},
|
|
174
|
+
}, Se = ({
|
|
174
175
|
userInfo: p,
|
|
175
|
-
setUserInfo:
|
|
176
|
-
setScreen:
|
|
176
|
+
setUserInfo: N,
|
|
177
|
+
setScreen: P,
|
|
177
178
|
inputComponent: l,
|
|
178
179
|
buttonComponent: i
|
|
179
180
|
}) => {
|
|
180
|
-
const { showAlertMessage: d } =
|
|
181
|
+
const { showAlertMessage: d } = se(), g = l ?? te, R = i ?? oe, [f, _] = n(
|
|
181
182
|
p.placeOfBirth || null
|
|
182
|
-
), [
|
|
183
|
+
), [a, c] = n(
|
|
183
184
|
p.country || null
|
|
184
|
-
), [y,
|
|
185
|
+
), [y, u] = n(
|
|
185
186
|
p.nationality || null
|
|
186
|
-
), [h,
|
|
187
|
+
), [h, A] = n(p.occupation || ""), [S, C] = n(p.employer || ""), m = () => {
|
|
187
188
|
if (!f) {
|
|
188
189
|
d({ message: "Please select place of birth" });
|
|
189
190
|
return;
|
|
190
191
|
}
|
|
191
|
-
if (!
|
|
192
|
+
if (!a) {
|
|
192
193
|
d({ message: "Please select country of residency" });
|
|
193
194
|
return;
|
|
194
195
|
}
|
|
@@ -200,15 +201,15 @@ const Ce = ({
|
|
|
200
201
|
d({ message: "Please provide city" });
|
|
201
202
|
return;
|
|
202
203
|
}
|
|
203
|
-
|
|
204
|
+
N({
|
|
204
205
|
...p,
|
|
205
206
|
placeOfBirth: f,
|
|
206
|
-
country:
|
|
207
|
+
country: a,
|
|
207
208
|
nationality: y,
|
|
208
209
|
occupation: h,
|
|
209
210
|
employer: S
|
|
210
|
-
}),
|
|
211
|
-
}, b = (e, o) => /* @__PURE__ */ E(
|
|
211
|
+
}), P(ae);
|
|
212
|
+
}, b = (e, o) => /* @__PURE__ */ E(T, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...e, children: [
|
|
212
213
|
/* @__PURE__ */ t(
|
|
213
214
|
"img",
|
|
214
215
|
{
|
|
@@ -224,25 +225,25 @@ const Ce = ({
|
|
|
224
225
|
o.alpha3,
|
|
225
226
|
")"
|
|
226
227
|
] });
|
|
227
|
-
return /* @__PURE__ */ E(
|
|
228
|
-
/* @__PURE__ */ t(
|
|
229
|
-
/* @__PURE__ */ E(
|
|
230
|
-
/* @__PURE__ */ t(
|
|
231
|
-
/* @__PURE__ */ t(
|
|
228
|
+
return /* @__PURE__ */ E(ee, { children: [
|
|
229
|
+
/* @__PURE__ */ t(T, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(re, { totalSteps: 4, currentStep: 3 }) }),
|
|
230
|
+
/* @__PURE__ */ E(T, { pl: 2, mt: 4, children: [
|
|
231
|
+
/* @__PURE__ */ t(W, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
|
|
232
|
+
/* @__PURE__ */ t(W, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
232
233
|
/* @__PURE__ */ t(
|
|
233
|
-
|
|
234
|
+
j,
|
|
234
235
|
{
|
|
235
236
|
sx: { mt: 2 },
|
|
236
237
|
value: f,
|
|
237
|
-
onChange: (e, o) =>
|
|
238
|
-
options:
|
|
238
|
+
onChange: (e, o) => _(o),
|
|
239
|
+
options: U,
|
|
239
240
|
isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
|
|
240
241
|
getOptionLabel: (e) => e.name,
|
|
241
242
|
autoHighlight: !0,
|
|
242
243
|
openOnFocus: !0,
|
|
243
244
|
renderOption: b,
|
|
244
245
|
renderInput: (e) => /* @__PURE__ */ t(
|
|
245
|
-
|
|
246
|
+
Z,
|
|
246
247
|
{
|
|
247
248
|
...e,
|
|
248
249
|
label: "Place Of Birth",
|
|
@@ -255,19 +256,19 @@ const Ce = ({
|
|
|
255
256
|
}
|
|
256
257
|
),
|
|
257
258
|
/* @__PURE__ */ t(
|
|
258
|
-
|
|
259
|
+
j,
|
|
259
260
|
{
|
|
260
261
|
sx: { mt: 2 },
|
|
261
|
-
value:
|
|
262
|
+
value: a,
|
|
262
263
|
onChange: (e, o) => c(o),
|
|
263
|
-
options:
|
|
264
|
+
options: U,
|
|
264
265
|
isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
|
|
265
266
|
getOptionLabel: (e) => e.name,
|
|
266
267
|
autoHighlight: !0,
|
|
267
268
|
openOnFocus: !0,
|
|
268
269
|
renderOption: b,
|
|
269
270
|
renderInput: (e) => /* @__PURE__ */ t(
|
|
270
|
-
|
|
271
|
+
Z,
|
|
271
272
|
{
|
|
272
273
|
...e,
|
|
273
274
|
label: "Country of residence",
|
|
@@ -280,19 +281,19 @@ const Ce = ({
|
|
|
280
281
|
}
|
|
281
282
|
),
|
|
282
283
|
/* @__PURE__ */ t(
|
|
283
|
-
|
|
284
|
+
j,
|
|
284
285
|
{
|
|
285
286
|
sx: { mt: 2 },
|
|
286
287
|
value: y,
|
|
287
|
-
onChange: (e, o) =>
|
|
288
|
-
options:
|
|
288
|
+
onChange: (e, o) => u(o),
|
|
289
|
+
options: U,
|
|
289
290
|
isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
|
|
290
291
|
getOptionLabel: (e) => e.name,
|
|
291
292
|
autoHighlight: !0,
|
|
292
293
|
openOnFocus: !0,
|
|
293
294
|
renderOption: b,
|
|
294
295
|
renderInput: (e) => /* @__PURE__ */ t(
|
|
295
|
-
|
|
296
|
+
Z,
|
|
296
297
|
{
|
|
297
298
|
...e,
|
|
298
299
|
label: "Country of citizenship",
|
|
@@ -310,7 +311,7 @@ const Ce = ({
|
|
|
310
311
|
sx: { mt: 3 },
|
|
311
312
|
label: "Occupation",
|
|
312
313
|
value: h,
|
|
313
|
-
onChange: (e) =>
|
|
314
|
+
onChange: (e) => A(e.target.value)
|
|
314
315
|
}
|
|
315
316
|
),
|
|
316
317
|
/* @__PURE__ */ t(
|
|
@@ -324,44 +325,44 @@ const Ce = ({
|
|
|
324
325
|
)
|
|
325
326
|
] }),
|
|
326
327
|
/* @__PURE__ */ t(
|
|
327
|
-
|
|
328
|
+
R,
|
|
328
329
|
{
|
|
329
330
|
sx: { mt: 3 },
|
|
330
331
|
variant: "contained",
|
|
331
|
-
onClick:
|
|
332
|
-
disabled: !f || !
|
|
332
|
+
onClick: m,
|
|
333
|
+
disabled: !f || !a || !y || !h || !S,
|
|
333
334
|
fullWidth: !0,
|
|
334
335
|
children: /* @__PURE__ */ t("strong", { children: "Next" })
|
|
335
336
|
}
|
|
336
337
|
)
|
|
337
338
|
] });
|
|
338
|
-
},
|
|
339
|
+
}, $ = "INCODE_SCREEN", X = "USER_INFO_SCREEN", J = "PERSONAL_DETAILS_SCREEN", ae = "PEP_SCREEN", be = ({
|
|
339
340
|
configurationId: p,
|
|
340
|
-
incodeApiKey:
|
|
341
|
-
incodeApiUrl:
|
|
341
|
+
incodeApiKey: N,
|
|
342
|
+
incodeApiUrl: P,
|
|
342
343
|
incodeOnBoardingUrl: l,
|
|
343
344
|
withContainer: i = !1,
|
|
344
345
|
successHandler: d,
|
|
345
346
|
updateScreen: g
|
|
346
347
|
}) => {
|
|
347
|
-
const
|
|
348
|
-
|
|
348
|
+
const R = ne(), f = Y((s) => s.user), _ = Y((s) => s.session.uuid), a = f.kyc, c = a.processComplete, y = {}, [u, h] = n(y), [A, S] = n({ token: "" }), [C, m] = n($);
|
|
349
|
+
K(() => {
|
|
349
350
|
let s;
|
|
350
351
|
switch (C) {
|
|
351
|
-
case
|
|
352
|
-
s =
|
|
352
|
+
case X:
|
|
353
|
+
s = $;
|
|
353
354
|
break;
|
|
354
|
-
case
|
|
355
|
-
s =
|
|
355
|
+
case J:
|
|
356
|
+
s = X;
|
|
356
357
|
break;
|
|
357
|
-
case
|
|
358
|
-
s =
|
|
358
|
+
case ae:
|
|
359
|
+
s = J;
|
|
359
360
|
break;
|
|
360
361
|
default:
|
|
361
|
-
s =
|
|
362
|
+
s = $;
|
|
362
363
|
}
|
|
363
|
-
|
|
364
|
-
}, [g]),
|
|
364
|
+
m(s);
|
|
365
|
+
}, [g]), K(() => {
|
|
365
366
|
d && c && d();
|
|
366
367
|
}, [d, c]);
|
|
367
368
|
const b = {
|
|
@@ -382,96 +383,96 @@ const Ce = ({
|
|
|
382
383
|
frequency: "",
|
|
383
384
|
reason: "",
|
|
384
385
|
source: ""
|
|
385
|
-
}, [e, o] = n(b),
|
|
386
|
-
var
|
|
387
|
-
if (!
|
|
388
|
-
const
|
|
386
|
+
}, [e, o] = n(b), q = (s, L, D, B, x, k) => {
|
|
387
|
+
var v, I, z;
|
|
388
|
+
if (!a.loader) {
|
|
389
|
+
const Q = {
|
|
389
390
|
street: e.address,
|
|
390
391
|
city: e.city,
|
|
391
392
|
postcode: e.zipCode,
|
|
392
393
|
state: e.state,
|
|
393
|
-
country: (
|
|
394
|
-
},
|
|
395
|
-
isExposed:
|
|
396
|
-
exposed:
|
|
397
|
-
frequency:
|
|
398
|
-
reason:
|
|
399
|
-
source:
|
|
400
|
-
originFunds:
|
|
401
|
-
},
|
|
402
|
-
frequency:
|
|
403
|
-
reason:
|
|
404
|
-
source:
|
|
405
|
-
originFunds:
|
|
406
|
-
},
|
|
394
|
+
country: (v = e.country) == null ? void 0 : v.alpha3
|
|
395
|
+
}, r = {
|
|
396
|
+
isExposed: s,
|
|
397
|
+
exposed: L,
|
|
398
|
+
frequency: D,
|
|
399
|
+
reason: B,
|
|
400
|
+
source: x,
|
|
401
|
+
originFunds: k
|
|
402
|
+
}, G = {
|
|
403
|
+
frequency: D,
|
|
404
|
+
reason: B,
|
|
405
|
+
source: x,
|
|
406
|
+
originFunds: k
|
|
407
|
+
}, M = {
|
|
407
408
|
email: e.email,
|
|
408
409
|
gender: e.gender,
|
|
409
|
-
birthPlace: (
|
|
410
|
-
nationality: (
|
|
410
|
+
birthPlace: (I = e.placeOfBirth) == null ? void 0 : I.alpha3,
|
|
411
|
+
nationality: (z = e.nationality) == null ? void 0 : z.alpha3,
|
|
411
412
|
occupation: e.occupation,
|
|
412
413
|
employer: e.employer,
|
|
413
|
-
residentialAddress:
|
|
414
|
-
politicalExposure:
|
|
415
|
-
customerDueDiligence:
|
|
414
|
+
residentialAddress: Q,
|
|
415
|
+
politicalExposure: r,
|
|
416
|
+
customerDueDiligence: G,
|
|
416
417
|
workflow: {
|
|
417
|
-
token:
|
|
418
|
+
token: A.token
|
|
418
419
|
}
|
|
419
420
|
};
|
|
420
|
-
|
|
421
|
+
R(ue(M));
|
|
421
422
|
}
|
|
422
|
-
},
|
|
423
|
+
}, F = {
|
|
423
424
|
INCODE_SCREEN: /* @__PURE__ */ t(
|
|
424
|
-
|
|
425
|
+
pe,
|
|
425
426
|
{
|
|
426
|
-
uuid:
|
|
427
|
+
uuid: _,
|
|
427
428
|
successHandler: () => {
|
|
428
|
-
|
|
429
|
+
m(X);
|
|
429
430
|
},
|
|
430
431
|
configurationId: p,
|
|
431
|
-
apiKey:
|
|
432
|
-
apiUrl:
|
|
432
|
+
apiKey: N,
|
|
433
|
+
apiUrl: P,
|
|
433
434
|
onBoardingUrl: l,
|
|
434
435
|
setDocumentsData: h,
|
|
435
436
|
setIncodeSessionData: S
|
|
436
437
|
}
|
|
437
438
|
),
|
|
438
439
|
USER_INFO_SCREEN: /* @__PURE__ */ t(
|
|
439
|
-
|
|
440
|
+
Ee,
|
|
440
441
|
{
|
|
441
|
-
docData:
|
|
442
|
-
setScreen:
|
|
442
|
+
docData: u,
|
|
443
|
+
setScreen: m,
|
|
443
444
|
setUserInfo: o,
|
|
444
445
|
userInfo: e,
|
|
445
446
|
userEmail: f.profile.email
|
|
446
447
|
}
|
|
447
448
|
),
|
|
448
449
|
PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
|
|
449
|
-
|
|
450
|
+
Se,
|
|
450
451
|
{
|
|
451
|
-
setScreen:
|
|
452
|
+
setScreen: m,
|
|
452
453
|
setUserInfo: o,
|
|
453
454
|
userInfo: e
|
|
454
455
|
}
|
|
455
456
|
),
|
|
456
457
|
PEP_SCREEN: /* @__PURE__ */ t(
|
|
457
|
-
|
|
458
|
+
ge,
|
|
458
459
|
{
|
|
459
|
-
setScreen:
|
|
460
|
+
setScreen: m,
|
|
460
461
|
setUserInfo: o,
|
|
461
462
|
userInfo: e,
|
|
462
|
-
processKyc:
|
|
463
|
-
processLoader:
|
|
463
|
+
processKyc: q,
|
|
464
|
+
processLoader: a.loader
|
|
464
465
|
}
|
|
465
466
|
)
|
|
466
467
|
}[C];
|
|
467
|
-
return i ? /* @__PURE__ */ t(
|
|
468
|
-
},
|
|
468
|
+
return i ? /* @__PURE__ */ t(ce, { addPadding: !1, children: F }) : F;
|
|
469
|
+
}, nt = de(be);
|
|
469
470
|
export {
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
471
|
+
nt as F,
|
|
472
|
+
$ as I,
|
|
473
|
+
Se as P,
|
|
474
|
+
Ee as U,
|
|
475
|
+
X as a,
|
|
476
|
+
J as b,
|
|
477
|
+
ae as c
|
|
477
478
|
};
|