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,12 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as R, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Typography as a, Box as P, Stack as d } from "@mui/material";
|
|
2
3
|
import h from "../../Shared/Button/index.js";
|
|
3
|
-
import
|
|
4
|
-
import { useState as
|
|
4
|
+
import C from "../../Shared/Input/index.js";
|
|
5
|
+
import { useState as s, useEffect as u } from "react";
|
|
5
6
|
import { RESEND_EMAIL_TIMER as f } from "../../../../util/constants.js";
|
|
6
|
-
|
|
7
|
-
import { B as C } from "../../../../Box-B0YSYLco.js";
|
|
8
|
-
import { S as d } from "../../../../Stack-k55YTxET.js";
|
|
9
|
-
const _ = ({
|
|
7
|
+
const D = ({
|
|
10
8
|
showAlertMessage: o,
|
|
11
9
|
loader: p,
|
|
12
10
|
otpLoader: g,
|
|
@@ -14,25 +12,25 @@ const _ = ({
|
|
|
14
12
|
initVerifyRegister: y,
|
|
15
13
|
initReSendOtp: E
|
|
16
14
|
}) => {
|
|
17
|
-
const [e,
|
|
15
|
+
const [e, x] = s(""), [S, c] = s(!1), [i, m] = s(f);
|
|
18
16
|
u(() => {
|
|
19
|
-
if (
|
|
20
|
-
const
|
|
21
|
-
m((
|
|
17
|
+
if (i === 0) return;
|
|
18
|
+
const n = setInterval(() => {
|
|
19
|
+
m((l) => l - 1);
|
|
22
20
|
}, 1e3);
|
|
23
|
-
return () => clearInterval(
|
|
24
|
-
}, [
|
|
21
|
+
return () => clearInterval(n);
|
|
22
|
+
}, [i]), u(() => {
|
|
25
23
|
c(e ? e.length !== 6 : !1);
|
|
26
24
|
}, [e]);
|
|
27
|
-
const
|
|
25
|
+
const b = () => {
|
|
28
26
|
E(), m(f), o({
|
|
29
27
|
message: "A new OTP has been send to the given email address.",
|
|
30
28
|
type: "success",
|
|
31
29
|
duration: 6e3
|
|
32
30
|
});
|
|
33
|
-
},
|
|
34
|
-
const
|
|
35
|
-
return `${String(
|
|
31
|
+
}, T = (n) => {
|
|
32
|
+
const l = Math.floor(n / 60), I = n % 60;
|
|
33
|
+
return `${String(l).padStart(2, "0")}:${String(
|
|
36
34
|
I
|
|
37
35
|
).padStart(2, "0")}`;
|
|
38
36
|
}, k = () => {
|
|
@@ -49,34 +47,34 @@ const _ = ({
|
|
|
49
47
|
v.email,
|
|
50
48
|
" and enter the code in the field below within the next 5 minutes."
|
|
51
49
|
] }),
|
|
52
|
-
/* @__PURE__ */ r(
|
|
50
|
+
/* @__PURE__ */ r(P, { width: "100%", children: [
|
|
53
51
|
/* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
|
|
54
|
-
|
|
52
|
+
C,
|
|
55
53
|
{
|
|
56
54
|
value: e,
|
|
57
55
|
label: "Enter code",
|
|
58
56
|
placeholder: "Enter code sent via Email",
|
|
59
|
-
onChange: (
|
|
57
|
+
onChange: (n) => x(n.target.value),
|
|
60
58
|
inputProps: { maxLength: 6 },
|
|
61
|
-
error:
|
|
59
|
+
error: S,
|
|
62
60
|
fullWidth: !0
|
|
63
61
|
}
|
|
64
62
|
) }),
|
|
65
63
|
/* @__PURE__ */ r(d, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
|
|
66
64
|
/* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
|
|
67
|
-
|
|
65
|
+
i > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
|
|
68
66
|
" ",
|
|
69
67
|
"You can ask for another one in ",
|
|
70
|
-
|
|
68
|
+
T(i)
|
|
71
69
|
] }),
|
|
72
70
|
/* @__PURE__ */ t(
|
|
73
71
|
h,
|
|
74
72
|
{
|
|
75
|
-
onClick:
|
|
73
|
+
onClick: b,
|
|
76
74
|
customSize: "medium",
|
|
77
75
|
isText: !0,
|
|
78
76
|
sx: { padding: "0px", height: "2rem" },
|
|
79
|
-
disabled:
|
|
77
|
+
disabled: i > 0,
|
|
80
78
|
isLoading: p,
|
|
81
79
|
children: "Resend Email"
|
|
82
80
|
}
|
|
@@ -96,5 +94,5 @@ const _ = ({
|
|
|
96
94
|
] });
|
|
97
95
|
};
|
|
98
96
|
export {
|
|
99
|
-
|
|
97
|
+
D as default
|
|
100
98
|
};
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { jsxs as x, Fragment as
|
|
2
|
-
import "../../../constants-
|
|
3
|
-
import { a as
|
|
4
|
-
import
|
|
5
|
-
import v from "
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import { jsxs as x, Fragment as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import "../../../constants-DX0YBtP2.js";
|
|
3
|
+
import { a as k } from "../../../order-BXeCIvqC.js";
|
|
4
|
+
import { Typography as s, Stack as c } from "@mui/material";
|
|
5
|
+
import v from "../Shared/Button/index.js";
|
|
6
|
+
import L from "../../Shared/HistoryItem/index.js";
|
|
7
|
+
import { u as T } from "../../../react-redux-C7I9-1M6.js";
|
|
8
|
+
import { useState as m, useEffect as d } from "react";
|
|
8
9
|
import P from "../../../hoc/withThemeProvider.js";
|
|
9
10
|
import R from "../Shared/backBtn.js";
|
|
10
|
-
import
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}, [
|
|
18
|
-
u((r) => [...r, ...s]);
|
|
19
|
-
}, [s]), /* @__PURE__ */ x(i, { children: [
|
|
11
|
+
import j from "../../../hooks/useEverestDispatch.js";
|
|
12
|
+
const B = ({ navigate: l }) => {
|
|
13
|
+
const p = j(), o = T((r) => r.order), i = o.list, h = o.loader, f = o.totalPages, [e, g] = m(1), [a, u] = m([]);
|
|
14
|
+
return d(() => {
|
|
15
|
+
p(k(e));
|
|
16
|
+
}, [e]), d(() => {
|
|
17
|
+
u((r) => [...r, ...i]);
|
|
18
|
+
}, [i]), /* @__PURE__ */ x(n, { children: [
|
|
20
19
|
/* @__PURE__ */ t(R, { onClickHandler: () => l("/dashboard") }),
|
|
21
|
-
/* @__PURE__ */ t(
|
|
22
|
-
/* @__PURE__ */ t(
|
|
23
|
-
a.length > 0 &&
|
|
24
|
-
|
|
20
|
+
/* @__PURE__ */ t(s, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
|
|
21
|
+
/* @__PURE__ */ t(c, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(n, { children: a.map((r, y) => /* @__PURE__ */ t(L, { data: r }, y)) }) : /* @__PURE__ */ t(s, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
|
|
22
|
+
a.length > 0 && f > e && /* @__PURE__ */ t(c, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
|
|
23
|
+
v,
|
|
25
24
|
{
|
|
26
|
-
isLoading:
|
|
25
|
+
isLoading: h,
|
|
27
26
|
variant: "outlined",
|
|
28
27
|
onClick: () => g((r) => r + 1),
|
|
29
28
|
sx: {
|
|
@@ -33,7 +32,7 @@ const j = ({ navigate: l }) => {
|
|
|
33
32
|
}
|
|
34
33
|
) })
|
|
35
34
|
] });
|
|
36
|
-
},
|
|
35
|
+
}, M = P(B);
|
|
37
36
|
export {
|
|
38
|
-
|
|
37
|
+
M as default
|
|
39
38
|
};
|
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
value: n,
|
|
8
|
-
onChange: e,
|
|
1
|
+
import { jsx as n, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import { Autocomplete as i, TextField as l, Box as m } from "@mui/material";
|
|
3
|
+
import { c } from "../../../countries-BVn1FubK.js";
|
|
4
|
+
const x = ({
|
|
5
|
+
value: e,
|
|
6
|
+
onChange: r,
|
|
9
7
|
label: p,
|
|
10
8
|
...a
|
|
11
|
-
}) => /* @__PURE__ */
|
|
12
|
-
|
|
9
|
+
}) => /* @__PURE__ */ n(
|
|
10
|
+
i,
|
|
13
11
|
{
|
|
14
12
|
sx: { mt: 2 },
|
|
15
|
-
value:
|
|
16
|
-
onChange: (o, t) =>
|
|
17
|
-
options:
|
|
13
|
+
value: e,
|
|
14
|
+
onChange: (o, t) => r(t),
|
|
15
|
+
options: c,
|
|
18
16
|
isOptionEqualToValue: (o, t) => o.alpha3 === (t == null ? void 0 : t.alpha3),
|
|
19
17
|
getOptionLabel: (o) => o.name,
|
|
20
18
|
autoHighlight: !0,
|
|
21
19
|
openOnFocus: !0,
|
|
22
|
-
renderOption: (o, t) => /* @__PURE__ */ s(
|
|
23
|
-
/* @__PURE__ */
|
|
20
|
+
renderOption: (o, t) => /* @__PURE__ */ s(m, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...o, children: [
|
|
21
|
+
/* @__PURE__ */ n(
|
|
24
22
|
"img",
|
|
25
23
|
{
|
|
26
24
|
loading: "lazy",
|
|
@@ -35,7 +33,7 @@ const w = ({
|
|
|
35
33
|
t.alpha3,
|
|
36
34
|
")"
|
|
37
35
|
] }),
|
|
38
|
-
renderInput: (o) => /* @__PURE__ */
|
|
36
|
+
renderInput: (o) => /* @__PURE__ */ n(
|
|
39
37
|
l,
|
|
40
38
|
{
|
|
41
39
|
...o,
|
|
@@ -50,5 +48,5 @@ const w = ({
|
|
|
50
48
|
}
|
|
51
49
|
);
|
|
52
50
|
export {
|
|
53
|
-
|
|
51
|
+
x as default
|
|
54
52
|
};
|
|
@@ -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 "../../../constants-
|
|
9
|
-
import { a as
|
|
10
|
-
import { useSnackBarContext as
|
|
11
|
-
import
|
|
8
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
9
|
+
import "../../../constants-DX0YBtP2.js";
|
|
10
|
+
import { a as V } from "../../../kyc-BNMPoeHt.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,34 +1,36 @@
|
|
|
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-CTPMPwYK.js";
|
|
6
7
|
import "./pep.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../kyc-
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
|
+
import "../../../kyc-BNMPoeHt.js";
|
|
9
10
|
import "../../../react-redux-C7I9-1M6.js";
|
|
10
11
|
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-DeeegaX2.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
|
};
|