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,26 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "
|
|
4
|
-
import "../../../../
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../../../../PlayArrow-71FP5PzJ.js";
|
|
5
|
+
import "../../../../Info-DOoRR7sR.js";
|
|
5
6
|
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
7
|
import "../../Shared/Input/index.js";
|
|
7
8
|
import "../../../../util/constants.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
10
|
-
import "../../../../tooltip-
|
|
9
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
10
|
+
import "../../../../order-BXeCIvqC.js";
|
|
11
|
+
import "../../../../tooltip-BW0UyWw7.js";
|
|
11
12
|
import "../../../../util/functions.js";
|
|
12
13
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { S as
|
|
14
|
-
import "../../../../Grid-CFe3amXO.js";
|
|
15
|
-
import "../../../../Box-B0YSYLco.js";
|
|
16
|
-
import "../../../../Typography-pAaje37G.js";
|
|
17
|
-
import "../../../../CircularProgress-xZA3lvba.js";
|
|
18
|
-
import "../../../../TextField-DPpRUQe3.js";
|
|
19
|
-
import "../../../../FormControl-RtZDQMdA.js";
|
|
20
|
-
import "../../../../Select-CB5yWmyn.js";
|
|
21
|
-
import "../../../../MenuItem-DUdYOJr4.js";
|
|
22
|
-
import "../../../../ListItemIcon-CUcyTEEm.js";
|
|
23
|
-
import "../../../../IconButton-DHm-hucF.js";
|
|
14
|
+
import { S as b } from "../../../../index-bK14vCZw.js";
|
|
24
15
|
export {
|
|
25
|
-
|
|
16
|
+
b as default
|
|
26
17
|
};
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-bK14vCZw.js";
|
|
5
5
|
import "../../../../index-DlQqWbXG.js";
|
|
6
|
+
import "@mui/material";
|
|
6
7
|
import "../../../Wallet/Shared/appButton.js";
|
|
7
8
|
import "../../../../react-redux-C7I9-1M6.js";
|
|
8
9
|
import "../../../../util/functions.js";
|
|
9
10
|
import "../../../../util/constants.js";
|
|
10
|
-
import "
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import "../../../../PlayArrow-
|
|
13
|
-
import "../../../../cryptoAssets-
|
|
14
|
-
import "../../../../order-
|
|
11
|
+
import "../../../../otpForm-DeeegaX2.js";
|
|
12
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
13
|
+
import "../../../../PlayArrow-71FP5PzJ.js";
|
|
14
|
+
import "../../../../cryptoAssets-B8rAI7pp.js";
|
|
15
|
+
import "../../../../order-BXeCIvqC.js";
|
|
15
16
|
import "../../../../context/snackBarContext.js";
|
|
16
17
|
import "../../../../hooks/useEverestDispatch.js";
|
|
17
18
|
import "../../../../util/conversions.js";
|
|
@@ -19,19 +20,19 @@ import "../../../../index-CAoLi5Qq.js";
|
|
|
19
20
|
import "../../../../hooks/useSnackBar.js";
|
|
20
21
|
import "../../../../react-webcam-B3cXh1XT.js";
|
|
21
22
|
import "../../../Shared/transition.js";
|
|
22
|
-
import "../../../../tooltip-
|
|
23
|
+
import "../../../../tooltip-BW0UyWw7.js";
|
|
23
24
|
import "../../../../moment-h96o7c8I.js";
|
|
24
25
|
import "../../../../index.esm-BsMAMhYW.js";
|
|
25
26
|
import "../../../../web3-u4qDZYpo.js";
|
|
26
27
|
import "../../../../index-ceeCtFuh.js";
|
|
27
28
|
import "../../../../index.esm-I_Bp2YLf.js";
|
|
28
29
|
import "../../../../context/dialogContext.js";
|
|
30
|
+
import "@mui/icons-material";
|
|
29
31
|
import "../../MinimalKyc/form.js";
|
|
30
|
-
import "../../../../Box-B0YSYLco.js";
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
g as CONFIRM_SCREEN,
|
|
34
|
+
h as FORM_SCREEN,
|
|
35
|
+
j as MINIMAL_KYC_SCREEN,
|
|
36
|
+
k as PAYMENT_SCREEN,
|
|
37
|
+
n as default
|
|
37
38
|
};
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Container as S, Typography as b, Box as l } from "@mui/material";
|
|
3
|
+
import { useState as w, useEffect as n } from "react";
|
|
4
|
+
import { useSnackBar as L } from "../../../../hooks/useSnackBar.js";
|
|
5
|
+
import { u as y } from "../../../../react-redux-C7I9-1M6.js";
|
|
5
6
|
import B from "../../../../hoc/withThemeProvider.js";
|
|
6
|
-
import { L } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import "../../../../constants-
|
|
10
|
-
import { a as
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { B as l } from "../../../../Box-B0YSYLco.js";
|
|
15
|
-
const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
16
|
-
const e = E(), o = w((F) => F.session), c = o.loader, x = o.otpLoader, h = o.screen, t = o.uuid, s = o.token, i = o.error, { showAlertMessage: m, snackBar: u } = b(), [d, g] = S("");
|
|
7
|
+
import { L as D } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
8
|
+
import E from "./loginForm.js";
|
|
9
|
+
import R from "./otpForm.js";
|
|
10
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
11
|
+
import { a as T } from "../../../../auth-BBeOw4mt.js";
|
|
12
|
+
import v from "../../../../hooks/useEverestDispatch.js";
|
|
13
|
+
const I = ({ onLogin: f, navigate: a, navigatePath: c }) => {
|
|
14
|
+
const e = v(), o = y((F) => F.session), p = o.loader, x = o.otpLoader, h = o.screen, t = o.uuid, s = o.token, i = o.error, { showAlertMessage: m, snackBar: u } = L(), [d, g] = w("");
|
|
17
15
|
return n(() => () => {
|
|
18
|
-
e(
|
|
16
|
+
e(T());
|
|
19
17
|
}, []), n(() => {
|
|
20
|
-
t && s && (f(t, s), a(
|
|
18
|
+
t && s && (f(t, s), a(c || "/dashboard"));
|
|
21
19
|
}, [t, s]), n(() => {
|
|
22
20
|
i && m({ message: i });
|
|
23
21
|
}, [i]), /* @__PURE__ */ k(
|
|
24
|
-
|
|
22
|
+
S,
|
|
25
23
|
{
|
|
26
24
|
maxWidth: "sm",
|
|
27
25
|
component: "div",
|
|
@@ -35,8 +33,8 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
35
33
|
},
|
|
36
34
|
children: [
|
|
37
35
|
u,
|
|
38
|
-
/* @__PURE__ */ r(
|
|
39
|
-
/* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src:
|
|
36
|
+
/* @__PURE__ */ r(b, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
|
|
37
|
+
/* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: D, width: 440, height: 63 }) }),
|
|
40
38
|
/* @__PURE__ */ r(
|
|
41
39
|
l,
|
|
42
40
|
{
|
|
@@ -53,20 +51,20 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
53
51
|
display: "flex"
|
|
54
52
|
},
|
|
55
53
|
children: h === 1 ? /* @__PURE__ */ r(
|
|
56
|
-
|
|
54
|
+
E,
|
|
57
55
|
{
|
|
58
56
|
showAlertMessage: m,
|
|
59
|
-
loader:
|
|
57
|
+
loader: p,
|
|
60
58
|
email: d,
|
|
61
59
|
setEmail: g,
|
|
62
60
|
navigate: a,
|
|
63
61
|
dispatch: e
|
|
64
62
|
}
|
|
65
63
|
) : /* @__PURE__ */ r(
|
|
66
|
-
|
|
64
|
+
R,
|
|
67
65
|
{
|
|
68
66
|
showAlertMessage: m,
|
|
69
|
-
loader:
|
|
67
|
+
loader: p,
|
|
70
68
|
otpLoader: x,
|
|
71
69
|
email: d,
|
|
72
70
|
dispatch: e
|
|
@@ -77,7 +75,7 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
77
75
|
]
|
|
78
76
|
}
|
|
79
77
|
);
|
|
80
|
-
},
|
|
78
|
+
}, N = B(I);
|
|
81
79
|
export {
|
|
82
|
-
|
|
80
|
+
N as default
|
|
83
81
|
};
|
|
@@ -1,28 +1,26 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as i, Fragment as g, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as v } from "react";
|
|
3
|
-
import "../../../../constants-
|
|
4
|
-
import { l as x } from "../../../../auth-
|
|
5
|
-
import l from "
|
|
6
|
-
import
|
|
3
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
4
|
+
import { l as x } from "../../../../auth-BBeOw4mt.js";
|
|
5
|
+
import { Stack as l, Typography as o, Box as y } from "@mui/material";
|
|
6
|
+
import d from "../../Shared/Button/index.js";
|
|
7
|
+
import E from "../../Shared/Input/index.js";
|
|
7
8
|
import { isValidEmail as m } from "../../../../util/functions.js";
|
|
8
|
-
|
|
9
|
-
import { T as i } from "../../../../Typography-pAaje37G.js";
|
|
10
|
-
import { B as E } from "../../../../Box-B0YSYLco.js";
|
|
11
|
-
const P = ({
|
|
9
|
+
const F = ({
|
|
12
10
|
showAlertMessage: n,
|
|
13
11
|
loader: c,
|
|
14
|
-
email:
|
|
12
|
+
email: e,
|
|
15
13
|
setEmail: p,
|
|
16
|
-
navigate:
|
|
17
|
-
dispatch:
|
|
14
|
+
navigate: u,
|
|
15
|
+
dispatch: f
|
|
18
16
|
}) => {
|
|
19
17
|
const [a, s] = h(!1);
|
|
20
18
|
return v(() => {
|
|
21
|
-
s(
|
|
22
|
-
}, [
|
|
23
|
-
/* @__PURE__ */
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
-
|
|
19
|
+
s(e ? !m(e) : !1);
|
|
20
|
+
}, [e]), /* @__PURE__ */ i(g, { children: [
|
|
21
|
+
/* @__PURE__ */ i(l, { direction: "column", spacing: 1.5, children: [
|
|
22
|
+
/* @__PURE__ */ r(
|
|
23
|
+
o,
|
|
26
24
|
{
|
|
27
25
|
variant: "h4",
|
|
28
26
|
sx: {
|
|
@@ -32,41 +30,41 @@ const P = ({
|
|
|
32
30
|
children: "Login"
|
|
33
31
|
}
|
|
34
32
|
),
|
|
35
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ r(o, { variant: "body1", sx: { marginTop: "0.5rem" }, children: "Enter your credentials to log in" })
|
|
36
34
|
] }),
|
|
37
|
-
/* @__PURE__ */
|
|
38
|
-
if (
|
|
35
|
+
/* @__PURE__ */ r(y, { component: "form", onSubmit: (t) => {
|
|
36
|
+
if (t.preventDefault(), !e)
|
|
39
37
|
return n({ message: "Please provide email address." }), !1;
|
|
40
|
-
if (!m(
|
|
38
|
+
if (!m(e))
|
|
41
39
|
return n({ message: "Please provide valid email address." }), !1;
|
|
42
|
-
|
|
43
|
-
}, width: "100%", children: /* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
|
|
40
|
+
f(x(e));
|
|
41
|
+
}, width: "100%", children: /* @__PURE__ */ i(l, { direction: "column", spacing: 2, children: [
|
|
42
|
+
/* @__PURE__ */ r(
|
|
43
|
+
E,
|
|
46
44
|
{
|
|
47
|
-
value:
|
|
45
|
+
value: e,
|
|
48
46
|
label: "E-mail address",
|
|
49
|
-
onChange: (
|
|
47
|
+
onChange: (t) => p(t.target.value),
|
|
50
48
|
error: a,
|
|
51
49
|
fullWidth: !0
|
|
52
50
|
}
|
|
53
51
|
),
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
|
|
52
|
+
/* @__PURE__ */ r(
|
|
53
|
+
d,
|
|
56
54
|
{
|
|
57
55
|
type: "submit",
|
|
58
56
|
fullWidth: !0,
|
|
59
|
-
disabled: !
|
|
57
|
+
disabled: !e || a,
|
|
60
58
|
isLoading: c,
|
|
61
59
|
children: "Login"
|
|
62
60
|
}
|
|
63
61
|
),
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
66
|
-
|
|
62
|
+
/* @__PURE__ */ r(o, { variant: "xs", align: "center", children: "Not registered yet?" }),
|
|
63
|
+
/* @__PURE__ */ r(
|
|
64
|
+
d,
|
|
67
65
|
{
|
|
68
66
|
variant: "outlined",
|
|
69
|
-
onClick: () =>
|
|
67
|
+
onClick: () => u("/signup"),
|
|
70
68
|
sx: {
|
|
71
69
|
color: "primary"
|
|
72
70
|
},
|
|
@@ -77,5 +75,5 @@ const P = ({
|
|
|
77
75
|
] });
|
|
78
76
|
};
|
|
79
77
|
export {
|
|
80
|
-
|
|
78
|
+
F as default
|
|
81
79
|
};
|
|
@@ -1,50 +1,48 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, Fragment as k, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { Stack as o, Typography as a, Box as I } from "@mui/material";
|
|
2
3
|
import p from "../../Shared/Button/index.js";
|
|
3
|
-
import
|
|
4
|
-
import { useState as
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { l as
|
|
4
|
+
import O from "../../Shared/Input/index.js";
|
|
5
|
+
import { useState as c, useEffect as f } from "react";
|
|
6
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
7
|
+
import { l as P, b as C } from "../../../../auth-BBeOw4mt.js";
|
|
7
8
|
import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
|
|
8
|
-
|
|
9
|
-
import { T as a } from "../../../../Typography-pAaje37G.js";
|
|
10
|
-
import { B as C } from "../../../../Box-B0YSYLco.js";
|
|
11
|
-
const $ = ({
|
|
9
|
+
const F = ({
|
|
12
10
|
showAlertMessage: s,
|
|
13
11
|
loader: v,
|
|
14
12
|
otpLoader: x,
|
|
15
13
|
email: d,
|
|
16
|
-
dispatch:
|
|
14
|
+
dispatch: m
|
|
17
15
|
}) => {
|
|
18
|
-
const [e, y] =
|
|
16
|
+
const [e, y] = c(""), [E, u] = c(!1), [i, h] = c(g);
|
|
19
17
|
f(() => {
|
|
20
18
|
if (i === 0) return;
|
|
21
|
-
const
|
|
19
|
+
const n = setInterval(() => {
|
|
22
20
|
h((l) => l - 1);
|
|
23
21
|
}, 1e3);
|
|
24
|
-
return () => clearInterval(
|
|
22
|
+
return () => clearInterval(n);
|
|
25
23
|
}, [i]), f(() => {
|
|
26
24
|
u(e ? e.length !== 6 : !1);
|
|
27
25
|
}, [e]);
|
|
28
|
-
const
|
|
29
|
-
|
|
26
|
+
const S = () => {
|
|
27
|
+
m(P(d)), h(g), s({
|
|
30
28
|
message: "A new OTP has been send to the given email address.",
|
|
31
29
|
type: "success",
|
|
32
30
|
duration: 6e3
|
|
33
31
|
});
|
|
34
|
-
},
|
|
35
|
-
const l = Math.floor(
|
|
32
|
+
}, b = (n) => {
|
|
33
|
+
const l = Math.floor(n / 60), T = n % 60;
|
|
36
34
|
return `${String(l).padStart(2, "0")}:${String(
|
|
37
|
-
|
|
35
|
+
T
|
|
38
36
|
).padStart(2, "0")}`;
|
|
39
|
-
},
|
|
37
|
+
}, R = () => {
|
|
40
38
|
if (!e)
|
|
41
39
|
return s({ message: "Please provide OTP." }), !1;
|
|
42
40
|
if (e.length !== 6)
|
|
43
41
|
return s({ message: "OTP should be 6-digit." }), !1;
|
|
44
|
-
|
|
42
|
+
m(C({ email: d, otp: e }));
|
|
45
43
|
};
|
|
46
|
-
return /* @__PURE__ */
|
|
47
|
-
/* @__PURE__ */
|
|
44
|
+
return /* @__PURE__ */ r(k, { children: [
|
|
45
|
+
/* @__PURE__ */ r(o, { direction: "column", spacing: 1.5, children: [
|
|
48
46
|
/* @__PURE__ */ t(
|
|
49
47
|
a,
|
|
50
48
|
{
|
|
@@ -56,36 +54,36 @@ const $ = ({
|
|
|
56
54
|
children: "Verify your identity"
|
|
57
55
|
}
|
|
58
56
|
),
|
|
59
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ r(a, { variant: "body1", sx: { marginTop: "0.5rem" }, children: [
|
|
60
58
|
"Please check your email ",
|
|
61
59
|
d,
|
|
62
60
|
" and enter the code in the field below within the next 5 minutes."
|
|
63
61
|
] })
|
|
64
62
|
] }),
|
|
65
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ r(I, { width: "100%", children: [
|
|
66
64
|
/* @__PURE__ */ t(o, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
|
|
67
|
-
|
|
65
|
+
O,
|
|
68
66
|
{
|
|
69
67
|
value: e,
|
|
70
68
|
label: "Enter code",
|
|
71
69
|
placeholder: "Enter code sent via Email",
|
|
72
|
-
onChange: (
|
|
73
|
-
error:
|
|
70
|
+
onChange: (n) => y(n.target.value),
|
|
71
|
+
error: E,
|
|
74
72
|
inputProps: { maxLength: 6 },
|
|
75
73
|
fullWidth: !0
|
|
76
74
|
}
|
|
77
75
|
) }),
|
|
78
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ r(o, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
|
|
79
77
|
/* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
|
|
80
|
-
i > 0 && /* @__PURE__ */
|
|
78
|
+
i > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
|
|
81
79
|
" ",
|
|
82
80
|
"You can ask for another one in ",
|
|
83
|
-
|
|
81
|
+
b(i)
|
|
84
82
|
] }),
|
|
85
83
|
/* @__PURE__ */ t(
|
|
86
84
|
p,
|
|
87
85
|
{
|
|
88
|
-
onClick:
|
|
86
|
+
onClick: S,
|
|
89
87
|
customSize: "medium",
|
|
90
88
|
isText: !0,
|
|
91
89
|
sx: { padding: "0px", height: "2rem" },
|
|
@@ -98,7 +96,7 @@ const $ = ({
|
|
|
98
96
|
/* @__PURE__ */ t(o, { direction: "row", spacing: 2, justifyContent: "flex-end", children: /* @__PURE__ */ t(
|
|
99
97
|
p,
|
|
100
98
|
{
|
|
101
|
-
onClick:
|
|
99
|
+
onClick: R,
|
|
102
100
|
fullWidth: !0,
|
|
103
101
|
disabled: !e,
|
|
104
102
|
isLoading: x,
|
|
@@ -109,5 +107,5 @@ const $ = ({
|
|
|
109
107
|
] });
|
|
110
108
|
};
|
|
111
109
|
export {
|
|
112
|
-
|
|
110
|
+
F as default
|
|
113
111
|
};
|
|
@@ -1,47 +1,45 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as s, Fragment as v, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as R } from "react";
|
|
3
|
+
import { Typography as k, Box as y, Stack as E } from "@mui/material";
|
|
3
4
|
import n from "../../Shared/Button/index.js";
|
|
4
|
-
import
|
|
5
|
-
import { isValidEmail as d, generateRandomString as
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
import { B as b } from "../../../../Box-B0YSYLco.js";
|
|
10
|
-
import { S as T } from "../../../../Stack-k55YTxET.js";
|
|
11
|
-
const N = ({
|
|
5
|
+
import S from "../../Shared/Input/index.js";
|
|
6
|
+
import { isValidEmail as d, generateRandomString as b } from "../../../../util/functions.js";
|
|
7
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
8
|
+
import { h as P } from "../../../../auth-BBeOw4mt.js";
|
|
9
|
+
const I = ({
|
|
12
10
|
showAlertMessage: t,
|
|
13
11
|
loader: i,
|
|
14
12
|
validationError: m,
|
|
15
13
|
registerInfo: c,
|
|
16
|
-
setRegisterInfo:
|
|
17
|
-
navigate:
|
|
14
|
+
setRegisterInfo: u,
|
|
15
|
+
navigate: f,
|
|
18
16
|
dispatch: p,
|
|
19
17
|
storeName: h
|
|
20
18
|
}) => {
|
|
21
|
-
const e = c.email, [o,
|
|
19
|
+
const e = c.email, [o, l] = x(!1);
|
|
22
20
|
return R(() => {
|
|
23
|
-
|
|
24
|
-
}, [e]), /* @__PURE__ */
|
|
25
|
-
/* @__PURE__ */ r(
|
|
26
|
-
/* @__PURE__ */ r(
|
|
21
|
+
l(e ? !d(e) : !1);
|
|
22
|
+
}, [e]), /* @__PURE__ */ s(v, { children: [
|
|
23
|
+
/* @__PURE__ */ r(k, { variant: "lg", children: "Add your email" }),
|
|
24
|
+
/* @__PURE__ */ r(y, { component: "form", onSubmit: (a) => {
|
|
27
25
|
if (a.preventDefault(), !e)
|
|
28
26
|
return t({ message: "Please provide email address." }), !1;
|
|
29
27
|
if (!d(e))
|
|
30
28
|
return t({ message: "Please provide valid email address." }), !1;
|
|
31
29
|
p(
|
|
32
|
-
|
|
30
|
+
P({
|
|
33
31
|
email: e,
|
|
34
|
-
username:
|
|
32
|
+
username: b(),
|
|
35
33
|
storename: h
|
|
36
34
|
})
|
|
37
35
|
);
|
|
38
|
-
}, width: "100%", children: /* @__PURE__ */
|
|
36
|
+
}, width: "100%", children: /* @__PURE__ */ s(E, { direction: "column", gap: 2, children: [
|
|
39
37
|
/* @__PURE__ */ r(
|
|
40
|
-
|
|
38
|
+
S,
|
|
41
39
|
{
|
|
42
40
|
value: e,
|
|
43
41
|
label: "E-mail address",
|
|
44
|
-
onChange: (a) =>
|
|
42
|
+
onChange: (a) => u((g) => ({ ...g, email: a.target.value })),
|
|
45
43
|
error: o || !!m,
|
|
46
44
|
errorText: m,
|
|
47
45
|
fullWidth: !0
|
|
@@ -61,7 +59,7 @@ const N = ({
|
|
|
61
59
|
{
|
|
62
60
|
isText: !0,
|
|
63
61
|
customSize: "medium",
|
|
64
|
-
onClick: () =>
|
|
62
|
+
onClick: () => f("/"),
|
|
65
63
|
children: "Already have an account?"
|
|
66
64
|
}
|
|
67
65
|
)
|
|
@@ -69,5 +67,5 @@ const N = ({
|
|
|
69
67
|
] });
|
|
70
68
|
};
|
|
71
69
|
export {
|
|
72
|
-
|
|
70
|
+
I as default
|
|
73
71
|
};
|