everest-npm-features 0.0.61 → 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-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
- package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
- package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
- package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
- package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
- package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
- package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
- package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
- package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
- 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 +22 -24
- 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 +52 -55
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
- 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 +22 -23
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +50 -52
- package/dist/components/Shared/FullKyc/index.js +11 -9
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
- package/dist/components/Shared/FullKyc/userInfo.js +6 -11
- 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 +59 -64
- package/dist/components/Shared/Sumsub/index.js +74 -61
- 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 -37
- 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 +68 -73
- package/dist/components/Wallet/Account/index.js +66 -73
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
- package/dist/components/Wallet/Buy/form.js +6 -16
- package/dist/components/Wallet/Buy/index.js +2 -2
- package/dist/components/Wallet/Deposit/index.js +15 -17
- package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
- 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 +32 -33
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
- package/dist/components/Wallet/History/index.js +22 -796
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +47 -50
- 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 +37 -42
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +31 -36
- package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
- package/dist/components/Wallet/Sell/form.js +6 -16
- package/dist/components/Wallet/Sell/index.js +2 -2
- 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 +8 -355
- package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
- package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
- 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 +40 -44
- 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 +15 -16
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +7 -11
- 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 +16 -16
- package/dist/components/Wallet/SignUp/index.js +62 -152
- 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 +64 -67
- package/dist/components/Wallet/Swap/form.js +8 -17
- package/dist/components/Wallet/Swap/index.js +2 -2
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
- package/dist/components/Wallet/Withdraw/form.js +4 -15
- package/dist/components/Wallet/Withdraw/index.js +2 -2
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- 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-3OQ4M69t.js} +87 -96
- package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
- package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
- package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
- package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
- package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
- package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- 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,70 +1,68 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import j from "
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as u, Fragment as m, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { Box as g, InputAdornment as q, IconButton as c, CircularProgress as L } from "@mui/material";
|
|
3
|
+
import { useRef as x, useState as W, useEffect as j, createRef as v } from "react";
|
|
4
|
+
import K from "../../Wallet/Shared/Input/index.js";
|
|
5
|
+
import H from "../../Wallet/Shared/appButton.js";
|
|
5
6
|
import "../../../index-DlQqWbXG.js";
|
|
6
7
|
import "../../../hoc/withThemeProvider.js";
|
|
7
|
-
import "
|
|
8
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
8
9
|
import "../../../constants-DrmtdI1J.js";
|
|
9
|
-
import { a as
|
|
10
|
-
import { useSnackBarContext as
|
|
11
|
-
import
|
|
10
|
+
import { a as V } from "../../../kyc-ksV3vBP_.js";
|
|
11
|
+
import { useSnackBarContext as $ } from "../../../context/snackBarContext.js";
|
|
12
|
+
import z from "../../../hooks/useEverestDispatch.js";
|
|
12
13
|
import "../../../util/conversions.js";
|
|
13
14
|
import "../../../index-CAoLi5Qq.js";
|
|
14
|
-
import { C as
|
|
15
|
+
import { C as Y } from "../../../Close-DSxLLo08.js";
|
|
15
16
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
16
17
|
import "../transition.js";
|
|
17
|
-
import "../../../tooltip-
|
|
18
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
18
19
|
import "../../../moment-h96o7c8I.js";
|
|
19
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
21
|
import "../../../web3-u4qDZYpo.js";
|
|
21
22
|
import "../../../index-ceeCtFuh.js";
|
|
22
|
-
import { C as
|
|
23
|
+
import { C as G, a as J } from "../../../FileDownload-DqREXR3D.js";
|
|
23
24
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
24
25
|
import "../../../context/dialogContext.js";
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
import { I as c } from "../../../IconButton-DHm-hucF.js";
|
|
28
|
-
import { C as J } from "../../../CircularProgress-xZA3lvba.js";
|
|
29
|
-
const _e = ({
|
|
26
|
+
import "@mui/icons-material";
|
|
27
|
+
const Ce = ({
|
|
30
28
|
inputComponent: E,
|
|
31
29
|
buttonComponent: C,
|
|
32
|
-
eddData:
|
|
30
|
+
eddData: r,
|
|
33
31
|
kycStoreData: l,
|
|
34
32
|
setEddData: F,
|
|
35
33
|
processKyc: _,
|
|
36
|
-
processLoader:
|
|
34
|
+
processLoader: T
|
|
37
35
|
}) => {
|
|
38
|
-
const
|
|
36
|
+
const A = E ?? K, R = C ?? H, a = {
|
|
39
37
|
BANK_STATEMENT: {
|
|
40
|
-
text:
|
|
41
|
-
file:
|
|
42
|
-
preview:
|
|
38
|
+
text: r.BANK_STATEMENT.text,
|
|
39
|
+
file: r.BANK_STATEMENT.file,
|
|
40
|
+
preview: r.BANK_STATEMENT.preview,
|
|
43
41
|
label: "Bank Statement",
|
|
44
42
|
required: !0,
|
|
45
43
|
multiFile: !1
|
|
46
44
|
},
|
|
47
45
|
PROOF_OF_INCOME: {
|
|
48
|
-
text:
|
|
49
|
-
file:
|
|
50
|
-
preview:
|
|
46
|
+
text: r.PROOF_OF_INCOME.text,
|
|
47
|
+
file: r.PROOF_OF_INCOME.file,
|
|
48
|
+
preview: r.PROOF_OF_INCOME.preview,
|
|
51
49
|
label: "Proof of Income",
|
|
52
50
|
required: !0,
|
|
53
51
|
multiFile: !1
|
|
54
52
|
},
|
|
55
53
|
SOURCE_OF_WEALTH: {
|
|
56
|
-
text:
|
|
57
|
-
file:
|
|
58
|
-
preview:
|
|
54
|
+
text: r.SOURCE_OF_WEALTH.text,
|
|
55
|
+
file: r.SOURCE_OF_WEALTH.file,
|
|
56
|
+
preview: r.SOURCE_OF_WEALTH.preview,
|
|
59
57
|
label: "Source of Wealth",
|
|
60
58
|
required: !0,
|
|
61
59
|
multiFile: !1
|
|
62
60
|
}
|
|
63
|
-
},
|
|
64
|
-
|
|
61
|
+
}, w = z(), { showAlertMessage: d } = $(), I = x(null), [o, p] = W(a);
|
|
62
|
+
j(() => {
|
|
65
63
|
if (l != null && l.uploadData.fileUrl && (l != null && l.uploadData.fileType)) {
|
|
66
64
|
const i = l == null ? void 0 : l.uploadData.fileType;
|
|
67
|
-
|
|
65
|
+
p((e) => {
|
|
68
66
|
const t = e[i].file || [];
|
|
69
67
|
return {
|
|
70
68
|
...e,
|
|
@@ -78,8 +76,8 @@ const _e = ({
|
|
|
78
76
|
});
|
|
79
77
|
}
|
|
80
78
|
}, [l == null ? void 0 : l.uploadData.fileUrl, l == null ? void 0 : l.uploadData.fileType]);
|
|
81
|
-
const h = Object.keys(
|
|
82
|
-
h.reduce((i, e) => (i[e] =
|
|
79
|
+
const h = Object.keys(r), O = x(
|
|
80
|
+
h.reduce((i, e) => (i[e] = v(), i), {})
|
|
83
81
|
), N = () => {
|
|
84
82
|
for (const i of Object.keys(o)) {
|
|
85
83
|
const e = o[i];
|
|
@@ -102,7 +100,7 @@ const _e = ({
|
|
|
102
100
|
const t = i.target.files;
|
|
103
101
|
!t || t.length === 0 || Array.from(t).map((s) => {
|
|
104
102
|
const B = URL.createObjectURL(s);
|
|
105
|
-
|
|
103
|
+
w(V({ file: s, type: e })), p((f) => {
|
|
106
104
|
const P = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
|
|
107
105
|
return {
|
|
108
106
|
...f,
|
|
@@ -115,41 +113,41 @@ const _e = ({
|
|
|
115
113
|
});
|
|
116
114
|
});
|
|
117
115
|
};
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */
|
|
121
|
-
|
|
116
|
+
return /* @__PURE__ */ u(m, { children: [
|
|
117
|
+
/* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: I, children: h.map((i) => /* @__PURE__ */ u(g, { mt: 2, children: [
|
|
118
|
+
/* @__PURE__ */ n(
|
|
119
|
+
A,
|
|
122
120
|
{
|
|
123
121
|
label: o[i].label,
|
|
124
122
|
value: o[i].text,
|
|
125
|
-
onChange: (e) =>
|
|
123
|
+
onChange: (e) => p((t) => ({
|
|
126
124
|
...t,
|
|
127
125
|
[i]: { ...t[i], text: e.target.value }
|
|
128
126
|
})),
|
|
129
127
|
slotProps: {
|
|
130
128
|
input: {
|
|
131
|
-
endAdornment: /* @__PURE__ */
|
|
132
|
-
/* @__PURE__ */
|
|
129
|
+
endAdornment: /* @__PURE__ */ n(q, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ u(m, { children: [
|
|
130
|
+
/* @__PURE__ */ n(
|
|
133
131
|
c,
|
|
134
132
|
{
|
|
135
|
-
onClick: () =>
|
|
133
|
+
onClick: () => p((e) => ({
|
|
136
134
|
...e,
|
|
137
135
|
[i]: { ...e[i], file: [] }
|
|
138
136
|
})),
|
|
139
137
|
edge: "end",
|
|
140
|
-
children: /* @__PURE__ */
|
|
138
|
+
children: /* @__PURE__ */ n(Y, {})
|
|
141
139
|
}
|
|
142
140
|
),
|
|
143
|
-
o[i].preview.map((e, t) => /* @__PURE__ */
|
|
141
|
+
o[i].preview.map((e, t) => /* @__PURE__ */ n(
|
|
144
142
|
c,
|
|
145
143
|
{
|
|
146
144
|
onClick: () => window.open(e),
|
|
147
145
|
edge: "end",
|
|
148
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ n(G, {})
|
|
149
147
|
},
|
|
150
148
|
t
|
|
151
149
|
))
|
|
152
|
-
] }) : /* @__PURE__ */
|
|
150
|
+
] }) : /* @__PURE__ */ n(
|
|
153
151
|
c,
|
|
154
152
|
{
|
|
155
153
|
onClick: () => {
|
|
@@ -157,7 +155,7 @@ const _e = ({
|
|
|
157
155
|
return (t = (e = O.current[i]) == null ? void 0 : e.current) == null ? void 0 : t.click();
|
|
158
156
|
},
|
|
159
157
|
edge: "end",
|
|
160
|
-
children: /* @__PURE__ */
|
|
158
|
+
children: /* @__PURE__ */ n(J, {})
|
|
161
159
|
}
|
|
162
160
|
) })
|
|
163
161
|
}
|
|
@@ -165,7 +163,7 @@ const _e = ({
|
|
|
165
163
|
required: o[i].required
|
|
166
164
|
}
|
|
167
165
|
),
|
|
168
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ n(
|
|
169
167
|
"input",
|
|
170
168
|
{
|
|
171
169
|
ref: O.current[i],
|
|
@@ -178,12 +176,12 @@ const _e = ({
|
|
|
178
176
|
}
|
|
179
177
|
)
|
|
180
178
|
] }, i)) }),
|
|
181
|
-
/* @__PURE__ */
|
|
182
|
-
/* @__PURE__ */
|
|
179
|
+
/* @__PURE__ */ n(g, { mt: 3.5, children: /* @__PURE__ */ n(R, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ n("strong", { children: T ? /* @__PURE__ */ u(m, { children: [
|
|
180
|
+
/* @__PURE__ */ n(L, { size: 15, color: "inherit" }),
|
|
183
181
|
" Processing..."
|
|
184
|
-
] }) : /* @__PURE__ */
|
|
182
|
+
] }) : /* @__PURE__ */ n(m, { children: "Submit" }) }) }) })
|
|
185
183
|
] });
|
|
186
184
|
};
|
|
187
185
|
export {
|
|
188
|
-
|
|
186
|
+
Ce as default
|
|
189
187
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../Wallet/Shared/Container/index.js";
|
|
4
|
+
import "@mui/material";
|
|
4
5
|
import "../../../hoc/withThemeProvider.js";
|
|
5
|
-
import { E as
|
|
6
|
+
import { E as T, I as U, c as g, b as h, a as j, F as k } from "../../../index-BBFbUCRZ.js";
|
|
6
7
|
import "./pep.js";
|
|
7
8
|
import "../../../constants-DrmtdI1J.js";
|
|
8
9
|
import "../../../kyc-ksV3vBP_.js";
|
|
@@ -11,24 +12,25 @@ import "./edd.js";
|
|
|
11
12
|
import "../../../hooks/useEverestDispatch.js";
|
|
12
13
|
import "../../../index-DlQqWbXG.js";
|
|
13
14
|
import "../../Wallet/Shared/appButton.js";
|
|
14
|
-
import "
|
|
15
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
15
16
|
import "../../../context/snackBarContext.js";
|
|
16
17
|
import "../../../util/conversions.js";
|
|
17
18
|
import "../../../index-CAoLi5Qq.js";
|
|
18
19
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
20
|
import "../transition.js";
|
|
20
|
-
import "../../../tooltip-
|
|
21
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
21
22
|
import "../../../moment-h96o7c8I.js";
|
|
22
23
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
24
|
import "../../../web3-u4qDZYpo.js";
|
|
24
25
|
import "../../../index-ceeCtFuh.js";
|
|
25
26
|
import "../../../context/dialogContext.js";
|
|
27
|
+
import "@mui/icons-material";
|
|
26
28
|
import "../Sumsub/index.js";
|
|
27
29
|
export {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
T as EDD_SCREEN,
|
|
31
|
+
U as INCODE_SCREEN,
|
|
32
|
+
g as PEP_SCREEN,
|
|
33
|
+
h as PERSONAL_DETAILS_SCREEN,
|
|
34
|
+
j as USER_INFO_SCREEN,
|
|
35
|
+
k as default
|
|
34
36
|
};
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as y, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import M from "
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
import { G as g } from "../../../Grid-CFe3amXO.js";
|
|
10
|
-
import { F as u } from "../../../FormControl-RtZDQMdA.js";
|
|
11
|
-
import { S as f } from "../../../Select-CB5yWmyn.js";
|
|
12
|
-
import { M as l } from "../../../MenuItem-DUdYOJr4.js";
|
|
13
|
-
import { A as q } from "../../../Autocomplete-CE-OI2t8.js";
|
|
14
|
-
import { T } from "../../../TextField-DPpRUQe3.js";
|
|
15
|
-
import { C as Y } from "../../../CircularProgress-xZA3lvba.js";
|
|
16
|
-
const k = [
|
|
2
|
+
import { useState as a } from "react";
|
|
3
|
+
import { Box as c, Typography as i, Grid as g, FormControl as m, Select as f, MenuItem as l, Autocomplete as M, TextField as A, CircularProgress as F } from "@mui/material";
|
|
4
|
+
import _ from "../../Wallet/Shared/step.js";
|
|
5
|
+
import { c as q } from "../../../countries-BVn1FubK.js";
|
|
6
|
+
import B from "../../Wallet/Shared/appButton.js";
|
|
7
|
+
import { d as Y, f as k } from "../../../constants-DrmtdI1J.js";
|
|
8
|
+
const z = [
|
|
17
9
|
"Hold a high public office",
|
|
18
10
|
"Have an immediate family member who does",
|
|
19
11
|
"A close business associate who does"
|
|
20
|
-
],
|
|
12
|
+
], H = [
|
|
21
13
|
"Savings from salary (basic and/or bonus)",
|
|
22
14
|
"Savings from salary (basic and/or bonus), self-employed",
|
|
23
15
|
"Savings from salary (basic and/or bonus), self-employed company less than one year old",
|
|
@@ -37,13 +29,13 @@ const k = [
|
|
|
37
29
|
"Company Profitsharing or Disbursement",
|
|
38
30
|
"Company Dividends",
|
|
39
31
|
"Gift"
|
|
40
|
-
],
|
|
32
|
+
], K = [
|
|
41
33
|
"Once a year",
|
|
42
34
|
"Once every 3 months ",
|
|
43
35
|
"Once a month ",
|
|
44
36
|
"Once a week ",
|
|
45
37
|
"Other"
|
|
46
|
-
],
|
|
38
|
+
], T = [
|
|
47
39
|
"Investment",
|
|
48
40
|
"Cross Border ",
|
|
49
41
|
"Identity Services ",
|
|
@@ -51,7 +43,7 @@ const k = [
|
|
|
51
43
|
"Wallet Services",
|
|
52
44
|
"Custody Services",
|
|
53
45
|
"Other Services"
|
|
54
|
-
],
|
|
46
|
+
], J = ({
|
|
55
47
|
userInfo: C,
|
|
56
48
|
setUserInfo: b,
|
|
57
49
|
processKyc: O,
|
|
@@ -59,26 +51,26 @@ const k = [
|
|
|
59
51
|
processLoader: P,
|
|
60
52
|
kycFlow: v
|
|
61
53
|
}) => {
|
|
62
|
-
const W = L ??
|
|
54
|
+
const W = L ?? B, [n, x] = a(!1), [d, S] = a(""), [p, D] = a(""), [h, E] = a(""), [u, I] = a(""), [s, w] = a(null), N = () => {
|
|
63
55
|
s && (b({
|
|
64
56
|
...C,
|
|
65
|
-
isPoliticalExpose:
|
|
57
|
+
isPoliticalExpose: n,
|
|
66
58
|
politicalExpose: d,
|
|
67
59
|
frequency: p,
|
|
68
60
|
reason: h,
|
|
69
|
-
source:
|
|
61
|
+
source: u,
|
|
70
62
|
origin: s.alpha3
|
|
71
63
|
}), O(
|
|
72
|
-
|
|
64
|
+
n,
|
|
73
65
|
d,
|
|
74
66
|
p,
|
|
75
67
|
h,
|
|
76
|
-
|
|
68
|
+
u,
|
|
77
69
|
s.alpha3
|
|
78
70
|
));
|
|
79
71
|
};
|
|
80
72
|
return /* @__PURE__ */ o(y, { children: [
|
|
81
|
-
v !==
|
|
73
|
+
v !== Y && /* @__PURE__ */ e(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(_, { totalSteps: 4, currentStep: 4 }) }),
|
|
82
74
|
/* @__PURE__ */ o(c, { pl: 2, mt: 4, children: [
|
|
83
75
|
/* @__PURE__ */ e(i, { variant: "h5", sx: { fontWeight: "bold" }, children: "Additional Questions" }),
|
|
84
76
|
/* @__PURE__ */ e(i, { mt: 4, variant: "body1", children: /* @__PURE__ */ o("strong", { children: [
|
|
@@ -90,7 +82,7 @@ const k = [
|
|
|
90
82
|
c,
|
|
91
83
|
{
|
|
92
84
|
onClick: () => x(!0),
|
|
93
|
-
className: `political-expose ${
|
|
85
|
+
className: `political-expose ${n === !0 && "active"}`,
|
|
94
86
|
children: "Yes"
|
|
95
87
|
}
|
|
96
88
|
) }),
|
|
@@ -100,12 +92,12 @@ const k = [
|
|
|
100
92
|
onClick: () => {
|
|
101
93
|
x(!1), S("");
|
|
102
94
|
},
|
|
103
|
-
className: `political-expose ${
|
|
95
|
+
className: `political-expose ${n === !1 && "active"}`,
|
|
104
96
|
children: "No"
|
|
105
97
|
}
|
|
106
98
|
) })
|
|
107
99
|
] }),
|
|
108
|
-
|
|
100
|
+
n && /* @__PURE__ */ e(m, { sx: { mt: 2 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
|
|
109
101
|
f,
|
|
110
102
|
{
|
|
111
103
|
sx: {
|
|
@@ -121,7 +113,7 @@ const k = [
|
|
|
121
113
|
onChange: (t) => S(t.target.value),
|
|
122
114
|
children: [
|
|
123
115
|
/* @__PURE__ */ e(l, { value: "", children: "Please select" }),
|
|
124
|
-
|
|
116
|
+
z.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
|
|
125
117
|
]
|
|
126
118
|
}
|
|
127
119
|
) }),
|
|
@@ -129,7 +121,7 @@ const k = [
|
|
|
129
121
|
"Expected frequency of transactions?",
|
|
130
122
|
/* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
|
|
131
123
|
] }) }),
|
|
132
|
-
/* @__PURE__ */ e(
|
|
124
|
+
/* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
|
|
133
125
|
f,
|
|
134
126
|
{
|
|
135
127
|
sx: {
|
|
@@ -145,7 +137,7 @@ const k = [
|
|
|
145
137
|
onChange: (t) => D(t.target.value),
|
|
146
138
|
children: [
|
|
147
139
|
/* @__PURE__ */ e(l, { value: "", children: "Please select" }),
|
|
148
|
-
|
|
140
|
+
K.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
|
|
149
141
|
]
|
|
150
142
|
}
|
|
151
143
|
) }),
|
|
@@ -153,7 +145,7 @@ const k = [
|
|
|
153
145
|
"Reason for signing up",
|
|
154
146
|
/* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
|
|
155
147
|
] }) }),
|
|
156
|
-
/* @__PURE__ */ e(
|
|
148
|
+
/* @__PURE__ */ e(m, { sx: { mt: 1 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
|
|
157
149
|
f,
|
|
158
150
|
{
|
|
159
151
|
sx: {
|
|
@@ -169,7 +161,7 @@ const k = [
|
|
|
169
161
|
onChange: (t) => E(t.target.value),
|
|
170
162
|
children: [
|
|
171
163
|
/* @__PURE__ */ e(l, { value: "", children: "Please select" }),
|
|
172
|
-
|
|
164
|
+
T.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
|
|
173
165
|
]
|
|
174
166
|
}
|
|
175
167
|
) }),
|
|
@@ -177,7 +169,7 @@ const k = [
|
|
|
177
169
|
"Source of wealth",
|
|
178
170
|
/* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
|
|
179
171
|
] }) }),
|
|
180
|
-
/* @__PURE__ */ e(
|
|
172
|
+
/* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
|
|
181
173
|
f,
|
|
182
174
|
{
|
|
183
175
|
sx: {
|
|
@@ -188,12 +180,12 @@ const k = [
|
|
|
188
180
|
}
|
|
189
181
|
},
|
|
190
182
|
variant: "filled",
|
|
191
|
-
value:
|
|
183
|
+
value: u,
|
|
192
184
|
displayEmpty: !0,
|
|
193
185
|
onChange: (t) => I(t.target.value),
|
|
194
186
|
children: [
|
|
195
187
|
/* @__PURE__ */ e(l, { value: "", children: "Please select" }),
|
|
196
|
-
|
|
188
|
+
H.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
|
|
197
189
|
]
|
|
198
190
|
}
|
|
199
191
|
) }),
|
|
@@ -202,7 +194,7 @@ const k = [
|
|
|
202
194
|
/* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
|
|
203
195
|
] }) }),
|
|
204
196
|
/* @__PURE__ */ e(
|
|
205
|
-
|
|
197
|
+
M,
|
|
206
198
|
{
|
|
207
199
|
sx: {
|
|
208
200
|
mt: 2,
|
|
@@ -213,7 +205,7 @@ const k = [
|
|
|
213
205
|
value: s,
|
|
214
206
|
isOptionEqualToValue: (t, r) => t.alpha3 === r.alpha3,
|
|
215
207
|
onChange: (t, r) => w(r),
|
|
216
|
-
options:
|
|
208
|
+
options: q,
|
|
217
209
|
autoHighlight: !0,
|
|
218
210
|
openOnFocus: !0,
|
|
219
211
|
getOptionLabel: (t) => t.name,
|
|
@@ -242,7 +234,7 @@ const k = [
|
|
|
242
234
|
}
|
|
243
235
|
),
|
|
244
236
|
renderInput: (t) => /* @__PURE__ */ e(
|
|
245
|
-
|
|
237
|
+
A,
|
|
246
238
|
{
|
|
247
239
|
className: "country-select-field",
|
|
248
240
|
...t,
|
|
@@ -263,16 +255,16 @@ const k = [
|
|
|
263
255
|
sx: { mt: 4 },
|
|
264
256
|
variant: "contained",
|
|
265
257
|
onClick: N,
|
|
266
|
-
disabled: !p || !h || !
|
|
258
|
+
disabled: !p || !h || !u || !s || n && !d,
|
|
267
259
|
fullWidth: !0,
|
|
268
260
|
children: /* @__PURE__ */ e("strong", { children: P ? /* @__PURE__ */ o(y, { children: [
|
|
269
|
-
/* @__PURE__ */ e(
|
|
261
|
+
/* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
|
|
270
262
|
" Processing..."
|
|
271
|
-
] }) : /* @__PURE__ */ e(y, { children: v ===
|
|
263
|
+
] }) : /* @__PURE__ */ e(y, { children: v === k ? "Submit KYC" : "Next" }) })
|
|
272
264
|
}
|
|
273
265
|
)
|
|
274
266
|
] });
|
|
275
267
|
};
|
|
276
268
|
export {
|
|
277
|
-
|
|
269
|
+
J as default
|
|
278
270
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "@mui/material";
|
|
3
4
|
import "../../../index-DlQqWbXG.js";
|
|
4
5
|
import "../../Wallet/Shared/appButton.js";
|
|
5
6
|
import "../../../hoc/withThemeProvider.js";
|
|
6
7
|
import "../../Wallet/Shared/Input/index.js";
|
|
7
|
-
import "
|
|
8
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
8
9
|
import "../../../constants-DrmtdI1J.js";
|
|
9
10
|
import "../../../context/snackBarContext.js";
|
|
10
11
|
import "../../../util/conversions.js";
|
|
@@ -12,16 +13,15 @@ import "../../../index-CAoLi5Qq.js";
|
|
|
12
13
|
import "../../Wallet/Shared/step.js";
|
|
13
14
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
14
15
|
import "../transition.js";
|
|
15
|
-
import "../../../tooltip-
|
|
16
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
16
17
|
import "../../../moment-h96o7c8I.js";
|
|
17
18
|
import "../../../index.esm-BsMAMhYW.js";
|
|
18
19
|
import "../../../web3-u4qDZYpo.js";
|
|
19
20
|
import "../../../index-ceeCtFuh.js";
|
|
20
|
-
import { P as y } from "../../../index-
|
|
21
|
+
import { P as y } from "../../../index-BBFbUCRZ.js";
|
|
21
22
|
import "../../../context/dialogContext.js";
|
|
23
|
+
import "@mui/icons-material";
|
|
22
24
|
import "./countryList.js";
|
|
23
|
-
import "../../../Box-B0YSYLco.js";
|
|
24
|
-
import "../../../Typography-pAaje37G.js";
|
|
25
25
|
export {
|
|
26
26
|
y as default
|
|
27
27
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "@mui/material";
|
|
3
4
|
import "../../Wallet/Shared/Input/index.js";
|
|
4
5
|
import "../../Wallet/Shared/appButton.js";
|
|
5
6
|
import "../../../index-DlQqWbXG.js";
|
|
6
7
|
import "../../../hoc/withThemeProvider.js";
|
|
7
|
-
import "
|
|
8
|
+
import "../../../otpForm-fiNqeB5H.js";
|
|
8
9
|
import "../../../constants-DrmtdI1J.js";
|
|
9
10
|
import "../../../kyc-ksV3vBP_.js";
|
|
10
11
|
import "../../../context/snackBarContext.js";
|
|
@@ -14,22 +15,16 @@ import "../../../index-CAoLi5Qq.js";
|
|
|
14
15
|
import "../../Wallet/Shared/step.js";
|
|
15
16
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
16
17
|
import "../transition.js";
|
|
17
|
-
import "../../../tooltip-
|
|
18
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
18
19
|
import "../../../moment-h96o7c8I.js";
|
|
19
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
21
|
import "../../../countries-BVn1FubK.js";
|
|
21
22
|
import "../../../web3-u4qDZYpo.js";
|
|
22
23
|
import "../../../index-ceeCtFuh.js";
|
|
23
|
-
import { U as
|
|
24
|
+
import { U as B } from "../../../index-BBFbUCRZ.js";
|
|
24
25
|
import "../../../context/dialogContext.js";
|
|
26
|
+
import "@mui/icons-material";
|
|
25
27
|
import "./countryList.js";
|
|
26
|
-
import "../../../Box-B0YSYLco.js";
|
|
27
|
-
import "../../../Typography-pAaje37G.js";
|
|
28
|
-
import "../../../FormControl-RtZDQMdA.js";
|
|
29
|
-
import "../../../TextField-DPpRUQe3.js";
|
|
30
|
-
import "../../../Select-CB5yWmyn.js";
|
|
31
|
-
import "../../../MenuItem-DUdYOJr4.js";
|
|
32
|
-
import "../../../Grid-CFe3amXO.js";
|
|
33
28
|
export {
|
|
34
|
-
|
|
29
|
+
B as default
|
|
35
30
|
};
|