everest-npm-features 0.0.60 → 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-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
- package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
- 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 +9 -9
- 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 -54
- package/dist/components/Shared/FullKyc/index.js +13 -12
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
- package/dist/components/Shared/FullKyc/userInfo.js +8 -14
- 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.js +34 -38
- 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 +70 -76
- package/dist/components/Wallet/Account/index.js +68 -76
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
- 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 -19
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
- package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
- 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 +37 -39
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
- 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 +91 -97
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -52
- 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 +38 -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 -11
- 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 +336 -324
- 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 -20
- 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 +41 -46
- 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 -14
- 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 +51 -58
- package/dist/components/Wallet/Stake/id/index.js +73 -81
- package/dist/components/Wallet/Stake/index.js +65 -69
- package/dist/components/Wallet/Swap/form.js +11 -21
- 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-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.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-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
- package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
- package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
- package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
- package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
- package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
- package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
- package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
- package/dist/otpForm-fiNqeB5H.js +7378 -0
- package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.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/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,17 +1,18 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-
|
|
4
|
+
import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-CK4kLRAw.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-fiNqeB5H.js";
|
|
12
|
+
import "../../../../constants-DrmtdI1J.js";
|
|
13
|
+
import "../../../../PlayArrow-BVDyfxsQ.js";
|
|
14
|
+
import "../../../../cryptoAssets-DyGDknvq.js";
|
|
15
|
+
import "../../../../order-DEp_Lmar.js";
|
|
15
16
|
import "../../../../context/snackBarContext.js";
|
|
16
17
|
import "../../../../hooks/useEverestDispatch.js";
|
|
17
18
|
import "../../../../util/conversions.js";
|
|
@@ -19,16 +20,15 @@ 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 "../../../Wallet/Shared/pin.js";
|
|
23
|
+
import "../../../../tooltip-BW0UyWw7.js";
|
|
24
24
|
import "../../../../moment-h96o7c8I.js";
|
|
25
25
|
import "../../../../index.esm-BsMAMhYW.js";
|
|
26
26
|
import "../../../../web3-u4qDZYpo.js";
|
|
27
27
|
import "../../../../index-ceeCtFuh.js";
|
|
28
28
|
import "../../../../index.esm-I_Bp2YLf.js";
|
|
29
29
|
import "../../../../context/dialogContext.js";
|
|
30
|
+
import "@mui/icons-material";
|
|
30
31
|
import "../../MinimalKyc/form.js";
|
|
31
|
-
import "../../../../Box-B0YSYLco.js";
|
|
32
32
|
export {
|
|
33
33
|
g as CONFIRM_SCREEN,
|
|
34
34
|
h as FORM_SCREEN,
|
|
@@ -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-DrmtdI1J.js";
|
|
11
|
+
import { a as T } from "../../../../auth-DTJdu6mq.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-DrmtdI1J.js";
|
|
4
|
+
import { l as x } from "../../../../auth-DTJdu6mq.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-DrmtdI1J.js";
|
|
7
|
+
import { l as P, b as C } from "../../../../auth-DTJdu6mq.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-DrmtdI1J.js";
|
|
8
|
+
import { h as P } from "../../../../auth-DTJdu6mq.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
|
};
|
|
@@ -1,52 +1,49 @@
|
|
|
1
|
-
import { jsxs as i, jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import W from "./
|
|
11
|
-
import "
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { B as v } from "../../../../Box-B0YSYLco.js";
|
|
17
|
-
import { S as F } from "../../../../Stack-k55YTxET.js";
|
|
18
|
-
import { T as u } from "../../../../Typography-pAaje37G.js";
|
|
1
|
+
import { jsxs as i, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Container as b, Box as E, Stack as N, Typography as f } from "@mui/material";
|
|
3
|
+
import { useState as I, useEffect as u } from "react";
|
|
4
|
+
import { useSnackBar as _ } from "../../../../hooks/useSnackBar.js";
|
|
5
|
+
import { u as v } from "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import A from "../../../../hoc/withThemeProvider.js";
|
|
7
|
+
import { L as C } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
8
|
+
import L from "./email.js";
|
|
9
|
+
import T from "./personalInfo.js";
|
|
10
|
+
import W from "./summary.js";
|
|
11
|
+
import q from "./validateEmail.js";
|
|
12
|
+
import "../../../../constants-DrmtdI1J.js";
|
|
13
|
+
import { a as U, u as V, c as j, d as M } from "../../../../auth-DTJdu6mq.js";
|
|
14
|
+
import { USERNAME_SUFFIX as F } from "../../../../util/constants.js";
|
|
15
|
+
import P from "../../../../hooks/useEverestDispatch.js";
|
|
19
16
|
const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
20
|
-
const a =
|
|
17
|
+
const a = P(), r = v((t) => t.session), s = v((t) => t.app).store.name, m = r.loader, x = r.validationError, S = r.screen, w = r.otpLoader, p = r.uuid, c = r.token, l = r.error, B = 4, { showAlertMessage: n, snackBar: D } = _(), [e, R] = I({
|
|
21
18
|
email: "",
|
|
22
19
|
username: "",
|
|
23
20
|
firstName: "",
|
|
24
21
|
lastName: "",
|
|
25
22
|
phone: ""
|
|
26
23
|
});
|
|
27
|
-
|
|
28
|
-
a(
|
|
29
|
-
}, []),
|
|
24
|
+
u(() => () => {
|
|
25
|
+
a(U());
|
|
26
|
+
}, []), u(() => {
|
|
30
27
|
p && c && (k(p, c), h(g || "/dashboard"));
|
|
31
|
-
}, [p, c]),
|
|
28
|
+
}, [p, c]), u(() => {
|
|
32
29
|
l && n({ message: l });
|
|
33
30
|
}, [l]);
|
|
34
|
-
const d = (
|
|
35
|
-
a(
|
|
31
|
+
const d = (t) => {
|
|
32
|
+
a(V(t));
|
|
36
33
|
}, y = () => {
|
|
37
34
|
a(
|
|
38
|
-
|
|
35
|
+
j({
|
|
39
36
|
first_name: e.firstName,
|
|
40
37
|
last_name: e.lastName,
|
|
41
38
|
email: e.email,
|
|
42
|
-
username: e.username +
|
|
39
|
+
username: e.username + F,
|
|
43
40
|
phone: "+1" + e.phone,
|
|
44
41
|
storename: s
|
|
45
42
|
})
|
|
46
43
|
);
|
|
47
44
|
};
|
|
48
45
|
return /* @__PURE__ */ i(
|
|
49
|
-
|
|
46
|
+
b,
|
|
50
47
|
{
|
|
51
48
|
maxWidth: "sm",
|
|
52
49
|
component: "div",
|
|
@@ -59,10 +56,10 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
59
56
|
// alignItems: "center",
|
|
60
57
|
},
|
|
61
58
|
children: [
|
|
62
|
-
|
|
63
|
-
/* @__PURE__ */
|
|
59
|
+
D,
|
|
60
|
+
/* @__PURE__ */ o(E, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ o("img", { alt: "RocketRamp logo", src: C }) }),
|
|
64
61
|
/* @__PURE__ */ i(
|
|
65
|
-
|
|
62
|
+
E,
|
|
66
63
|
{
|
|
67
64
|
sx: {
|
|
68
65
|
flex: 1,
|
|
@@ -77,22 +74,22 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
77
74
|
display: "flex"
|
|
78
75
|
},
|
|
79
76
|
children: [
|
|
80
|
-
/* @__PURE__ */ i(
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */ i(
|
|
83
|
-
/* @__PURE__ */ i(
|
|
77
|
+
/* @__PURE__ */ i(N, { direction: "column", spacing: 1.5, children: [
|
|
78
|
+
/* @__PURE__ */ o(f, { variant: "2xl", fontWeight: 600, children: "Create New Account" }),
|
|
79
|
+
/* @__PURE__ */ i(N, { direction: "row", gap: "0.25rem", children: [
|
|
80
|
+
/* @__PURE__ */ i(f, { variant: "md", fontWeight: 500, children: [
|
|
84
81
|
"Step ",
|
|
85
82
|
S
|
|
86
83
|
] }),
|
|
87
|
-
/* @__PURE__ */ i(
|
|
84
|
+
/* @__PURE__ */ i(f, { variant: "md", fontWeight: 200, children: [
|
|
88
85
|
"of ",
|
|
89
|
-
|
|
86
|
+
B
|
|
90
87
|
] })
|
|
91
88
|
] })
|
|
92
89
|
] }),
|
|
93
90
|
{
|
|
94
|
-
1: /* @__PURE__ */
|
|
95
|
-
|
|
91
|
+
1: /* @__PURE__ */ o(
|
|
92
|
+
L,
|
|
96
93
|
{
|
|
97
94
|
showAlertMessage: n,
|
|
98
95
|
loader: m,
|
|
@@ -105,8 +102,8 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
105
102
|
setCurrentStep: d
|
|
106
103
|
}
|
|
107
104
|
),
|
|
108
|
-
2: /* @__PURE__ */
|
|
109
|
-
|
|
105
|
+
2: /* @__PURE__ */ o(
|
|
106
|
+
T,
|
|
110
107
|
{
|
|
111
108
|
showAlertMessage: n,
|
|
112
109
|
loader: m,
|
|
@@ -118,8 +115,8 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
118
115
|
storeName: s
|
|
119
116
|
}
|
|
120
117
|
),
|
|
121
|
-
3: /* @__PURE__ */
|
|
122
|
-
|
|
118
|
+
3: /* @__PURE__ */ o(
|
|
119
|
+
W,
|
|
123
120
|
{
|
|
124
121
|
showAlertMessage: n,
|
|
125
122
|
loader: m,
|
|
@@ -129,23 +126,23 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
129
126
|
initRegister: y
|
|
130
127
|
}
|
|
131
128
|
),
|
|
132
|
-
4: /* @__PURE__ */
|
|
133
|
-
|
|
129
|
+
4: /* @__PURE__ */ o(
|
|
130
|
+
q,
|
|
134
131
|
{
|
|
135
132
|
showAlertMessage: n,
|
|
136
133
|
loader: m,
|
|
137
|
-
otpLoader:
|
|
134
|
+
otpLoader: w,
|
|
138
135
|
registerInfo: e,
|
|
139
|
-
initVerifyRegister: (
|
|
136
|
+
initVerifyRegister: (t) => {
|
|
140
137
|
a(
|
|
141
|
-
|
|
138
|
+
M({
|
|
142
139
|
first_name: e.firstName,
|
|
143
140
|
last_name: e.lastName,
|
|
144
141
|
email: e.email,
|
|
145
|
-
username: e.username +
|
|
142
|
+
username: e.username + F,
|
|
146
143
|
phone: "+1" + e.phone,
|
|
147
144
|
storename: s,
|
|
148
|
-
otp:
|
|
145
|
+
otp: t
|
|
149
146
|
})
|
|
150
147
|
);
|
|
151
148
|
},
|
|
@@ -159,7 +156,7 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
|
|
|
159
156
|
]
|
|
160
157
|
}
|
|
161
158
|
);
|
|
162
|
-
},
|
|
159
|
+
}, ne = A(z);
|
|
163
160
|
export {
|
|
164
|
-
|
|
161
|
+
ne as default
|
|
165
162
|
};
|