everest-npm-features 0.0.6 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Alert-BtAF4uo6.js +342 -0
- package/dist/{ArrowDropDown-DRUQbGft.js → ArrowDropDown-HhWGPJLx.js} +1 -1
- package/dist/{ArrowRight-t-YgAHUn.js → ArrowRight-D1Uf-LL_.js} +1 -1
- package/dist/{Box-BOgpENcC.js → Box-Bt8cGqC7.js} +4 -4
- package/dist/{Button-DXdgxFxa.js → Button-S_vW7i_8.js} +4 -4
- package/dist/{ButtonBase-AOLUTpPg.js → ButtonBase-ILHWXvZi.js} +5 -5
- package/dist/{Cancel-kWZwZbQf.js → Cancel-5JDQ2Kc0.js} +1 -1
- package/dist/{CardContent-DEA5pnhr.js → CardContent-BLsvyJUZ.js} +3 -3
- package/dist/CheckCircle-Czm8oSt7.js +8 -0
- package/dist/{CircularProgress-BAEiXRSn.js → CircularProgress-DYCklg37.js} +3 -3
- package/dist/{Close-mXCsZSxZ.js → Close-BMBeNE5d.js} +1 -1
- package/dist/{Container-BOehNoF1.js → Container-Htc6vdB5.js} +4 -4
- package/dist/{ContentCopy-HD_Xx6nx.js → ContentCopy-C-P8eJzn.js} +1 -1
- package/dist/{DefaultPropsProvider-DmUB0SYC.js → DefaultPropsProvider-BV5W_lW_.js} +3 -3
- package/dist/{DefaultPropsProvider-tqUom3mB.js → DefaultPropsProvider-CMlwfX3T.js} +1 -1
- package/dist/{Delete-BbHDZPfy.js → Delete-Dfs1xFC1.js} +1 -1
- package/dist/{DialogContent-zttWtNJM.js → DialogContent-BgKUjL4i.js} +6 -6
- package/dist/{DialogTitle-BqL8DXBp.js → DialogTitle-1A1JxHKy.js} +4 -4
- package/dist/{Divider-EGEkrkBH.js → Divider-CeyW_GlS.js} +3 -3
- package/dist/{FormControl-Nd-4LC8N.js → FormControl-CKGUH1ax.js} +3 -3
- package/dist/{FormControlLabel-BMeMEwyK.js → FormControlLabel-Do2nmNuE.js} +7 -7
- package/dist/{GlobalStyles-CModZHM-.js → GlobalStyles-BUcuFXdM.js} +2 -2
- package/dist/{Grid-EISqvBSJ.js → Grid-LdrR4mx1.js} +5 -5
- package/dist/{Grid2-B0mJbwjl.js → Grid2-IYppkw5f.js} +6 -6
- package/dist/{Grow-dkRwE_ok.js → Grow-Cl5q_s4E.js} +5 -5
- package/dist/{IconButton-DAR3jsEV.js → IconButton-DJRmyJ7l.js} +3 -3
- package/dist/{Info-CkE3Gsf2.js → Info-DTcjrneu.js} +1 -1
- package/dist/{InputAdornment-DZJP9Njd.js → InputAdornment-HG4f5A6g.js} +3 -3
- package/dist/Link-BoX8sDwo.js +263 -0
- package/dist/{ListItemIcon-JAntieDc.js → ListItemIcon-SEyOLp6t.js} +4 -4
- package/dist/{MenuItem-D12FP5Iq.js → MenuItem-DI0pq5k0.js} +6 -6
- package/dist/{Modal-DceAu_d2.js → Modal-DXE_7QA2.js} +9 -9
- package/dist/{Paper-L8ipwfkc.js → Paper-B2H6ZIFg.js} +3 -3
- package/dist/{PlayArrow-Dwss80PJ.js → PlayArrow-DNFHtcCO.js} +6 -6
- package/dist/{Portal-DxdKGEvu.js → Portal-lSfc4EZw.js} +3 -3
- package/dist/{Select-DTQDmdn_.js → Select-Bs7YLhIQ.js} +15 -15
- package/dist/{Slide-CWqC2RDG.js → Slide-BjOaaE2D.js} +4 -4
- package/dist/{Stack-CkCveRRR.js → Stack-Ce-OQAtj.js} +5 -5
- package/dist/{TextField-BqIvz6Zw.js → TextField-D4JEGFa0.js} +7 -7
- package/dist/{Typography-Dx54MRM5.js → Typography-Du8mj1kr.js} +3 -3
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -0
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/auth-Czk2iJ8q.js +58 -0
- package/dist/{bank-CRy2oyUW.js → bank-D37HPNrs.js} +1 -1
- package/dist/components/Account/index.js +15 -15
- package/dist/components/History/index.js +13 -13
- package/dist/components/MoveToEthereumOrEverChain/index.js +31 -31
- package/dist/components/Profile/documents.js +16 -16
- package/dist/components/Profile/index.js +13 -13
- package/dist/components/Receive/index.js +9 -9
- package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +17 -0
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +16 -0
- package/dist/components/RocketRamp/Player/Buy/form.js +26 -0
- package/dist/components/RocketRamp/{Buy → Player/Buy}/index.d.ts +1 -1
- package/dist/components/RocketRamp/Player/Buy/index.js +35 -0
- package/dist/components/RocketRamp/{Buy → Player/Buy}/types.d.ts +2 -2
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.js +8 -8
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.js +15 -17
- package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.js +6 -6
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +3 -0
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +20 -0
- package/dist/components/RocketRamp/Player/Sell/form.d.ts +3 -0
- package/dist/components/RocketRamp/Player/Sell/form.js +26 -0
- package/dist/components/RocketRamp/Player/Sell/index.d.ts +7 -0
- package/dist/components/RocketRamp/Player/Sell/index.js +36 -0
- package/dist/components/RocketRamp/Player/Sell/types.d.ts +35 -0
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.js +9 -9
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.js +8 -8
- package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.js +12 -12
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/email.d.ts +1 -1
- package/dist/components/RocketRamp/Player/SignUp/email.js +73 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.d.ts +1 -1
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.js +26 -24
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/personalInfo.d.ts +1 -1
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +165 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.js +4 -4
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/types.d.ts +2 -0
- package/dist/components/RocketRamp/Player/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.js +6 -6
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.d.ts +2 -1
- package/dist/components/RocketRamp/Shared/Input/index.js +25 -23
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.d.ts +9 -0
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +75 -0
- package/dist/components/RocketRamp/Store/Dashboard/index.d.ts +5 -0
- package/dist/components/RocketRamp/Store/Dashboard/index.js +64 -0
- package/dist/components/RocketRamp/Store/Dashboard/transaction.d.ts +8 -0
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +28 -0
- package/dist/components/RocketRamp/Store/SignUp/index.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/index.js +158 -0
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +164 -0
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +136 -0
- package/dist/components/RocketRamp/Store/SignUp/summary.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/summary.js +55 -0
- package/dist/components/RocketRamp/Store/SignUp/types.d.ts +49 -0
- package/dist/components/RocketRamp/Store/SignUp/types.js +1 -0
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.d.ts +3 -0
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +100 -0
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Send/index.js +14 -14
- package/dist/components/Shared/ConnectWallet/index.js +10 -10
- package/dist/components/Shared/HistoryItem/index.js +58 -56
- package/dist/components/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Shared/TokenModal/index.js +11 -11
- package/dist/components/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Shared/addBank.js +10 -10
- package/dist/components/Shared/button.js +1 -1
- package/dist/components/Shared/connectPlaidBank.js +5 -5
- package/dist/components/Shared/incode.js +9 -9
- package/dist/components/Shared/inputField.js +1 -1
- package/dist/components/Shared/noData.js +2 -2
- package/dist/components/Shared/pin.js +3 -3
- package/dist/components/Shared/step.js +2 -2
- package/dist/components/Shared/tooltip.js +77 -77
- package/dist/components/Shared/transition.js +1 -1
- package/dist/components/SignIn/index.js +15 -15
- package/dist/components/SignUp/index.js +4 -4
- package/dist/components/SignUp/pin.js +10 -10
- package/dist/components/SignUp/privacy.js +2 -2
- package/dist/components/SignUp/terms.js +2 -2
- package/dist/components/SignUp/userInfo.js +3 -3
- package/dist/components/Stake/gems/index.js +10 -10
- package/dist/components/Stake/id/index.js +11 -11
- package/dist/components/Stake/index.js +9 -9
- package/dist/components/Swap/index.js +14 -14
- package/dist/components/SwapAndUniSwap/index.js +3 -3
- package/dist/components/WalletPortfolio/index.js +14 -14
- package/dist/components/WalletPortfolio/tokenRow.js +6 -6
- package/dist/{constants-Bg2zYFVK.js → constants-Bb9tNMO0.js} +336 -332
- package/dist/{createSvgIcon-jkXneOQN.js → createSvgIcon-DhzhBkIq.js} +2 -2
- package/dist/{createTheme-F9Dk4FhK.js → createTheme-BYjetuXd.js} +3 -3
- package/dist/defaultTheme-BauSyTuG.js +5 -0
- package/dist/{dividerClasses-SUAUDDqL.js → dividerClasses-DxWPaPyZ.js} +2 -2
- package/dist/{documents-BGFSTan8.js → documents-DvBUIEko.js} +26 -26
- package/dist/{elementTypeAcceptingRef-BufevUW8.js → elementTypeAcceptingRef-BPeKuzZ8.js} +1 -1
- package/dist/{emotion-react.browser.esm-CI0uV1W5.js → emotion-react.browser.esm-GqNZEJqq.js} +2 -2
- package/dist/{extendSxProp-Cm2UBzGf.js → extendSxProp-Ydv2_GZV.js} +1 -1
- package/dist/fiatAssets-Dymvf3Le.js +8 -0
- package/dist/hoc/withThemeProvider.js +5 -5
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +292 -625
- 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 +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BJlsh9ro.js → index-BiAKQoFR.js} +1 -1
- package/dist/{index-zP3Vu4Cl.js → index-CMHIKDWK.js} +127 -129
- package/dist/{index-_kqRfgnc.js → index-CrpPVKHn.js} +5 -5
- package/dist/index-DYCdRrDV.js +670 -0
- package/dist/main.d.ts +6 -4
- package/dist/main.js +21 -17
- package/dist/order-DMts-8Nr.js +30 -0
- package/dist/{ownerWindow-C-760D__.js → ownerWindow-mVfGbIa3.js} +1 -1
- package/dist/{resolveComponentProps-BdTgLKBb.js → resolveComponentProps-q6q4ysGz.js} +1 -1
- package/dist/{stake-CQWZT4ug.js → stake-BRmggIPz.js} +1 -1
- package/dist/store.d.ts +3 -1
- package/dist/styled-wRBkgUU9.js +5 -0
- package/dist/{tokenRow-CgnPD-4U.js → tokenRow-g9IBe02c.js} +5 -5
- package/dist/{useSlot-DaP6eodX.js → useSlot-D3uYAK6m.js} +1 -1
- package/dist/useTheme-CqTIiZp7.js +9 -0
- package/dist/{useTheme-c0OHvtiA.js → useTheme-D5is61S1.js} +3 -3
- package/dist/{useThemeProps-CV9AmzHf.js → useThemeProps-PA8LTWC3.js} +4 -4
- package/dist/{useThemeWithoutDefault-D8MaPbCK.js → useThemeWithoutDefault-Dka2QjJP.js} +1 -1
- package/dist/{useTimeout-D29bZ7Gz.js → useTimeout-Bcu0-_W1.js} +3 -3
- package/dist/user-CsPLUenD.js +24 -0
- package/dist/util/functions.d.ts +1 -0
- package/dist/util/functions.js +9 -2
- package/dist/{utils-EFg3So7T.js → utils-gxE2aXKK.js} +1 -1
- package/dist/{wallet-CmeFL8-U.js → wallet-Dfn4nFOn.js} +12 -12
- package/package.json +2 -2
- package/dist/auth-NmISGQ2S.js +0 -46
- package/dist/components/RocketRamp/Buy/cardPayment.js +0 -17
- package/dist/components/RocketRamp/Buy/confirmTransaction.js +0 -16
- package/dist/components/RocketRamp/Buy/form.js +0 -26
- package/dist/components/RocketRamp/Buy/index.js +0 -34
- package/dist/components/RocketRamp/SignUp/email.js +0 -70
- package/dist/components/RocketRamp/SignUp/personalInfo.js +0 -415
- package/dist/defaultTheme-Bc00Q3Kt.js +0 -5
- package/dist/order-CtACU1eX.js +0 -27
- package/dist/styled-BTIMwpiX.js +0 -5
- package/dist/useTheme-BghcbbEW.js +0 -9
- package/dist/user-Djw_k_OF.js +0 -24
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/cardPayment.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/confirmTransaction.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/form.d.ts +0 -0
- /package/dist/components/RocketRamp/{Buy → Player/Buy}/types.js +0 -0
- /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.d.ts +0 -0
- /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/Sell}/types.js +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/types.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignIn}/types.js +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.d.ts +0 -0
- /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.d.ts +0 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { BuyConfirmTransactionProps } from './types';
|
|
2
|
+
declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, navigate, }: BuyConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export default BuyConfirmTransaction;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../Shared/backBtn.js";
|
|
4
|
+
import "../../../../util/functions.js";
|
|
5
|
+
import "../../../../util/constants.js";
|
|
6
|
+
import { B as h } from "../../../../index-DYCdRrDV.js";
|
|
7
|
+
import "../../Shared/Button/index.js";
|
|
8
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
9
|
+
import "../../../../order-DMts-8Nr.js";
|
|
10
|
+
import "../../../Shared/transition.js";
|
|
11
|
+
import "../../../../Close-BMBeNE5d.js";
|
|
12
|
+
import "../../../../Typography-Du8mj1kr.js";
|
|
13
|
+
import "../../../../Box-Bt8cGqC7.js";
|
|
14
|
+
import "../../../../Grid2-IYppkw5f.js";
|
|
15
|
+
import "../../../../CircularProgress-DYCklg37.js";
|
|
16
|
+
import "../../../../DialogContent-BgKUjL4i.js";
|
|
17
|
+
import "../../../../IconButton-DJRmyJ7l.js";
|
|
18
|
+
export {
|
|
19
|
+
h as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../../PlayArrow-DNFHtcCO.js";
|
|
4
|
+
import "../../../../Info-DTcjrneu.js";
|
|
5
|
+
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
|
+
import "../../Shared/Input/index.js";
|
|
7
|
+
import "../../../../util/constants.js";
|
|
8
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
9
|
+
import "../../../../order-DMts-8Nr.js";
|
|
10
|
+
import "../../../Shared/tooltip.js";
|
|
11
|
+
import "../../../../util/functions.js";
|
|
12
|
+
import "../../Shared/Button/index.js";
|
|
13
|
+
import { S as w } from "../../../../index-DYCdRrDV.js";
|
|
14
|
+
import "../../../../Grid2-IYppkw5f.js";
|
|
15
|
+
import "../../../../Box-Bt8cGqC7.js";
|
|
16
|
+
import "../../../../Typography-Du8mj1kr.js";
|
|
17
|
+
import "../../../../CircularProgress-DYCklg37.js";
|
|
18
|
+
import "../../../../TextField-D4JEGFa0.js";
|
|
19
|
+
import "../../../../FormControl-CKGUH1ax.js";
|
|
20
|
+
import "../../../../Select-Bs7YLhIQ.js";
|
|
21
|
+
import "../../../../MenuItem-DI0pq5k0.js";
|
|
22
|
+
import "../../../../ListItemIcon-SEyOLp6t.js";
|
|
23
|
+
import "../../../../IconButton-DJRmyJ7l.js";
|
|
24
|
+
export {
|
|
25
|
+
w as default
|
|
26
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { RocketRampSellProps } from './types';
|
|
2
|
+
export declare const FORM_SCREEN = "FORM_SCREEN";
|
|
3
|
+
export declare const CONFIRM_SCREEN = "CONFIRM_SCREEN";
|
|
4
|
+
export declare const PAYMENT_SCREEN = "PAYMENT_SCREEN";
|
|
5
|
+
export declare const MINIMAL_KYC_SCREEN = "MINIMAL_KYC_SCREEN";
|
|
6
|
+
declare const _default: import('react').FC<RocketRampSellProps & import('../../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "react/jsx-runtime";
|
|
2
|
+
import "react";
|
|
3
|
+
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
+
import { C as b, F as c, M as g, P as h, i as j } from "../../../../index-DYCdRrDV.js";
|
|
5
|
+
import "../../../../util/constants.js";
|
|
6
|
+
import "@incodetech/welcome";
|
|
7
|
+
import "../../../../axios-BEX6n2A7.js";
|
|
8
|
+
import "../../../../hooks/useSnackBar.js";
|
|
9
|
+
import "../../../SignUp/pin.js";
|
|
10
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
11
|
+
import "../../../../fiatAssets-Dymvf3Le.js";
|
|
12
|
+
import "../../../../PlayArrow-DNFHtcCO.js";
|
|
13
|
+
import "../../../../order-DMts-8Nr.js";
|
|
14
|
+
import "../../../../react-redux-B4BZippc.js";
|
|
15
|
+
import '../../../../assets/main.css';/* empty css */
|
|
16
|
+
import "../../../../util/conversions.js";
|
|
17
|
+
import "../../../../util/functions.js";
|
|
18
|
+
import "../../../../index-CAoLi5Qq.js";
|
|
19
|
+
import "../../../../react-webcam-B3cXh1XT.js";
|
|
20
|
+
import "../../../Shared/transition.js";
|
|
21
|
+
import "../../../Shared/pin.js";
|
|
22
|
+
import "../../../../moment-h96o7c8I.js";
|
|
23
|
+
import "../../../Shared/tooltip.js";
|
|
24
|
+
import "../../../../index.esm-BsMAMhYW.js";
|
|
25
|
+
import "../../../../web3-u4qDZYpo.js";
|
|
26
|
+
import "../../../../index-B8QKlEgj.js";
|
|
27
|
+
import "../../../../index-ceeCtFuh.js";
|
|
28
|
+
import "../../MinimalKyc/form.js";
|
|
29
|
+
import "../../../../Box-Bt8cGqC7.js";
|
|
30
|
+
export {
|
|
31
|
+
b as CONFIRM_SCREEN,
|
|
32
|
+
c as FORM_SCREEN,
|
|
33
|
+
g as MINIMAL_KYC_SCREEN,
|
|
34
|
+
h as PAYMENT_SCREEN,
|
|
35
|
+
j as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Dispatch } from 'react';
|
|
2
|
+
import { SnackBarParams } from '../../../../hooks/useSnackBar';
|
|
3
|
+
import { RocketRampAppState } from '../../../../store';
|
|
4
|
+
import { OrderActionTypes } from 'everest-npm-api';
|
|
5
|
+
export interface RocketRampSellProps {
|
|
6
|
+
partnerKey: string;
|
|
7
|
+
navigate: any;
|
|
8
|
+
}
|
|
9
|
+
interface BaseSellSubComponentProps {
|
|
10
|
+
dispatch: Dispatch<OrderActionTypes>;
|
|
11
|
+
orderData: RocketRampAppState["order"];
|
|
12
|
+
showAlertMessage: (data: SnackBarParams) => void;
|
|
13
|
+
setScreen: React.Dispatch<React.SetStateAction<string>>;
|
|
14
|
+
}
|
|
15
|
+
export interface SellFormProps extends BaseSellSubComponentProps {
|
|
16
|
+
cryptoAssets: RocketRampAppState["cryptoAssets"];
|
|
17
|
+
fiatAssets: RocketRampAppState["fiatAssets"];
|
|
18
|
+
getCryptoAssets: (id: number) => void;
|
|
19
|
+
partnerKey: string;
|
|
20
|
+
balance: number;
|
|
21
|
+
}
|
|
22
|
+
export interface BuyConfirmTransactionProps extends BaseSellSubComponentProps {
|
|
23
|
+
partnerKey: string;
|
|
24
|
+
walletAddress: string;
|
|
25
|
+
navigate: any;
|
|
26
|
+
}
|
|
27
|
+
export interface CardPaymentProps extends BaseSellSubComponentProps {
|
|
28
|
+
checkoutKey: string;
|
|
29
|
+
rrBaseUrl: string;
|
|
30
|
+
}
|
|
31
|
+
export interface PaymentButtonProps {
|
|
32
|
+
value: number;
|
|
33
|
+
label: string;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SignInProps } from './types';
|
|
2
|
-
declare const _default: import('react').FC<SignInProps & import('
|
|
2
|
+
declare const _default: import('react').FC<SignInProps & import('../../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
3
3
|
export default _default;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as S, useEffect as n } from "react";
|
|
3
|
-
import { useSnackBar as b } from "
|
|
4
|
-
import { u as w, a as B } from "
|
|
5
|
-
import L from "
|
|
6
|
-
import { L as T } from "
|
|
3
|
+
import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
|
|
4
|
+
import { u as w, a as B } from "../../../../react-redux-B4BZippc.js";
|
|
5
|
+
import L from "../../../../hoc/withThemeProvider.js";
|
|
6
|
+
import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
7
7
|
import y from "./loginForm.js";
|
|
8
8
|
import D from "./otpForm.js";
|
|
9
|
-
import "
|
|
10
|
-
import { a as R } from "
|
|
11
|
-
import { C } from "
|
|
12
|
-
import { T as E } from "
|
|
13
|
-
import { B as l } from "
|
|
9
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
10
|
+
import { a as R } from "../../../../auth-Czk2iJ8q.js";
|
|
11
|
+
import { C } from "../../../../Container-Htc6vdB5.js";
|
|
12
|
+
import { T as E } from "../../../../Typography-Du8mj1kr.js";
|
|
13
|
+
import { B as l } from "../../../../Box-Bt8cGqC7.js";
|
|
14
14
|
const I = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
15
15
|
const e = w(), o = B((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("");
|
|
16
16
|
return n(() => () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as v } from "react";
|
|
3
|
-
import "
|
|
4
|
-
import { l as x } from "
|
|
5
|
-
import l from "
|
|
6
|
-
import y from "
|
|
7
|
-
import { isValidEmail as m } from "
|
|
8
|
-
import { S as d } from "
|
|
9
|
-
import { T as i } from "
|
|
10
|
-
import { B as E } from "
|
|
3
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
4
|
+
import { l as x } from "../../../../auth-Czk2iJ8q.js";
|
|
5
|
+
import l from "../../Shared/Button/index.js";
|
|
6
|
+
import y from "../../Shared/Input/index.js";
|
|
7
|
+
import { isValidEmail as m } from "../../../../util/functions.js";
|
|
8
|
+
import { S as d } from "../../../../Stack-Ce-OQAtj.js";
|
|
9
|
+
import { T as i } from "../../../../Typography-Du8mj1kr.js";
|
|
10
|
+
import { B as E } from "../../../../Box-Bt8cGqC7.js";
|
|
11
11
|
const P = ({
|
|
12
12
|
showAlertMessage: n,
|
|
13
13
|
loader: c,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import h from "
|
|
3
|
-
import I from "
|
|
2
|
+
import h from "../../Shared/Button/index.js";
|
|
3
|
+
import I from "../../Shared/Input/index.js";
|
|
4
4
|
import { useState as m, useEffect as f } from "react";
|
|
5
|
-
import "
|
|
6
|
-
import { l as O,
|
|
7
|
-
import { RESEND_EMAIL_TIMER as g } from "
|
|
8
|
-
import { S as o } from "
|
|
9
|
-
import { T as a } from "
|
|
10
|
-
import { B as C } from "
|
|
5
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
6
|
+
import { l as O, d as P } from "../../../../auth-Czk2iJ8q.js";
|
|
7
|
+
import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
|
|
8
|
+
import { S as o } from "../../../../Stack-Ce-OQAtj.js";
|
|
9
|
+
import { T as a } from "../../../../Typography-Du8mj1kr.js";
|
|
10
|
+
import { B as C } from "../../../../Box-Bt8cGqC7.js";
|
|
11
11
|
const $ = ({
|
|
12
12
|
showAlertMessage: s,
|
|
13
13
|
loader: v,
|
|
@@ -31,12 +31,12 @@ const $ = ({
|
|
|
31
31
|
type: "success",
|
|
32
32
|
duration: 6e3
|
|
33
33
|
});
|
|
34
|
-
},
|
|
34
|
+
}, T = (r) => {
|
|
35
35
|
const l = Math.floor(r / 60), R = r % 60;
|
|
36
36
|
return `${String(l).padStart(2, "0")}:${String(
|
|
37
37
|
R
|
|
38
38
|
).padStart(2, "0")}`;
|
|
39
|
-
},
|
|
39
|
+
}, b = () => {
|
|
40
40
|
if (!e)
|
|
41
41
|
return s({ message: "Please provide OTP." }), !1;
|
|
42
42
|
if (e.length !== 6)
|
|
@@ -80,7 +80,7 @@ const $ = ({
|
|
|
80
80
|
i > 0 && /* @__PURE__ */ n(a, { variant: "body2", mt: 1, children: [
|
|
81
81
|
" ",
|
|
82
82
|
"You can ask for another one in ",
|
|
83
|
-
|
|
83
|
+
T(i)
|
|
84
84
|
] }),
|
|
85
85
|
/* @__PURE__ */ t(
|
|
86
86
|
h,
|
|
@@ -98,7 +98,7 @@ const $ = ({
|
|
|
98
98
|
/* @__PURE__ */ t(o, { direction: "row", spacing: 2, justifyContent: "flex-end", children: /* @__PURE__ */ t(
|
|
99
99
|
h,
|
|
100
100
|
{
|
|
101
|
-
onClick:
|
|
101
|
+
onClick: b,
|
|
102
102
|
fullWidth: !0,
|
|
103
103
|
disabled: !e,
|
|
104
104
|
isLoading: x,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { EmailProps } from './types';
|
|
2
|
-
declare const Email: ({ showAlertMessage, loader, validationError, registerInfo, setRegisterInfo, navigate, dispatch, }: EmailProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const Email: ({ showAlertMessage, loader, validationError, registerInfo, setRegisterInfo, navigate, dispatch, storeName, }: EmailProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default Email;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsxs as l, Fragment as v, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as x, useEffect as R } from "react";
|
|
3
|
+
import n from "../../Shared/Button/index.js";
|
|
4
|
+
import k from "../../Shared/Input/index.js";
|
|
5
|
+
import { isValidEmail as d, generateRandomString as E } from "../../../../util/functions.js";
|
|
6
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
7
|
+
import { e as S } from "../../../../auth-Czk2iJ8q.js";
|
|
8
|
+
import { T as y } from "../../../../Typography-Du8mj1kr.js";
|
|
9
|
+
import { B as b } from "../../../../Box-Bt8cGqC7.js";
|
|
10
|
+
import { S as T } from "../../../../Stack-Ce-OQAtj.js";
|
|
11
|
+
const N = ({
|
|
12
|
+
showAlertMessage: t,
|
|
13
|
+
loader: i,
|
|
14
|
+
validationError: m,
|
|
15
|
+
registerInfo: c,
|
|
16
|
+
setRegisterInfo: u,
|
|
17
|
+
navigate: f,
|
|
18
|
+
dispatch: p,
|
|
19
|
+
storeName: h
|
|
20
|
+
}) => {
|
|
21
|
+
const e = c.email, [o, s] = x(!1);
|
|
22
|
+
return R(() => {
|
|
23
|
+
s(e ? !d(e) : !1);
|
|
24
|
+
}, [e]), /* @__PURE__ */ l(v, { children: [
|
|
25
|
+
/* @__PURE__ */ r(y, { variant: "lg", children: "Add your email" }),
|
|
26
|
+
/* @__PURE__ */ r(b, { component: "form", onSubmit: (a) => {
|
|
27
|
+
if (a.preventDefault(), !e)
|
|
28
|
+
return t({ message: "Please provide email address." }), !1;
|
|
29
|
+
if (!d(e))
|
|
30
|
+
return t({ message: "Please provide valid email address." }), !1;
|
|
31
|
+
p(
|
|
32
|
+
S({
|
|
33
|
+
email: e,
|
|
34
|
+
username: E(),
|
|
35
|
+
storename: h
|
|
36
|
+
})
|
|
37
|
+
);
|
|
38
|
+
}, width: "100%", children: /* @__PURE__ */ l(T, { direction: "column", gap: 2, children: [
|
|
39
|
+
/* @__PURE__ */ r(
|
|
40
|
+
k,
|
|
41
|
+
{
|
|
42
|
+
value: e,
|
|
43
|
+
label: "E-mail address",
|
|
44
|
+
onChange: (a) => u((g) => ({ ...g, email: a.target.value })),
|
|
45
|
+
error: o || !!m,
|
|
46
|
+
errorText: m,
|
|
47
|
+
fullWidth: !0
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ r(
|
|
51
|
+
n,
|
|
52
|
+
{
|
|
53
|
+
type: "submit",
|
|
54
|
+
disabled: !e || o || i,
|
|
55
|
+
isLoading: i,
|
|
56
|
+
children: "Next"
|
|
57
|
+
}
|
|
58
|
+
),
|
|
59
|
+
/* @__PURE__ */ r(
|
|
60
|
+
n,
|
|
61
|
+
{
|
|
62
|
+
isText: !0,
|
|
63
|
+
customSize: "medium",
|
|
64
|
+
onClick: () => f("/"),
|
|
65
|
+
children: "Already have an account?"
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
] }) })
|
|
69
|
+
] });
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
N as default
|
|
73
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { SignUpProps } from './types';
|
|
2
|
-
declare const _default: import('react').FC<SignUpProps & import('
|
|
2
|
+
declare const _default: import('react').FC<SignUpProps & import('../../../../hoc/withThemeProvider').WithThemeProviderProps>;
|
|
3
3
|
export default _default;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsxs as a, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import { useState as D, useEffect as f } from "react";
|
|
3
|
-
import { useSnackBar as F } from "
|
|
4
|
-
import { u as b, a as y } from "
|
|
5
|
-
import C from "
|
|
6
|
-
import { L as T } from "
|
|
3
|
+
import { useSnackBar as F } from "../../../../hooks/useSnackBar.js";
|
|
4
|
+
import { u as b, a as y } from "../../../../react-redux-B4BZippc.js";
|
|
5
|
+
import C from "../../../../hoc/withThemeProvider.js";
|
|
6
|
+
import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
7
7
|
import q from "./email.js";
|
|
8
8
|
import I from "./personalInfo.js";
|
|
9
9
|
import L from "./summary.js";
|
|
10
10
|
import W from "./validateEmail.js";
|
|
11
|
-
import "
|
|
12
|
-
import { a as _, u as A, r as V, v as j, l as O } from "
|
|
13
|
-
import { C as z } from "
|
|
14
|
-
import { B as E } from "
|
|
15
|
-
import { S as N } from "
|
|
16
|
-
import { T as u } from "
|
|
11
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
12
|
+
import { a as _, u as A, r as V, v as j, l as O } from "../../../../auth-Czk2iJ8q.js";
|
|
13
|
+
import { C as z } from "../../../../Container-Htc6vdB5.js";
|
|
14
|
+
import { B as E } from "../../../../Box-Bt8cGqC7.js";
|
|
15
|
+
import { S as N } from "../../../../Stack-Ce-OQAtj.js";
|
|
16
|
+
import { T as u } from "../../../../Typography-Du8mj1kr.js";
|
|
17
17
|
const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
18
|
-
const r = b(), t = y((o) => o.session),
|
|
18
|
+
const r = b(), t = y((o) => o.session), s = y((o) => o.app).storeName, m = t.loader, x = t.validationError, R = t.screen, B = t.otpLoader, p = t.uuid, c = t.token, l = t.error, k = 4, { showAlertMessage: n, snackBar: w } = F(), [e, S] = D({
|
|
19
19
|
email: "",
|
|
20
20
|
username: "",
|
|
21
21
|
firstName: "",
|
|
@@ -27,7 +27,7 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
27
27
|
}, []), f(() => {
|
|
28
28
|
p && c && (v(p, c), h(g || "/dashboard"));
|
|
29
29
|
}, [p, c]), f(() => {
|
|
30
|
-
l &&
|
|
30
|
+
l && n({ message: l });
|
|
31
31
|
}, [l]);
|
|
32
32
|
const d = (o) => {
|
|
33
33
|
r(A(o));
|
|
@@ -81,12 +81,13 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
81
81
|
1: /* @__PURE__ */ i(
|
|
82
82
|
q,
|
|
83
83
|
{
|
|
84
|
-
showAlertMessage:
|
|
85
|
-
loader:
|
|
84
|
+
showAlertMessage: n,
|
|
85
|
+
loader: m,
|
|
86
86
|
registerInfo: e,
|
|
87
87
|
setRegisterInfo: S,
|
|
88
88
|
navigate: h,
|
|
89
89
|
dispatch: r,
|
|
90
|
+
storeName: s,
|
|
90
91
|
validationError: x,
|
|
91
92
|
setCurrentStep: d
|
|
92
93
|
}
|
|
@@ -94,22 +95,23 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
94
95
|
2: /* @__PURE__ */ i(
|
|
95
96
|
I,
|
|
96
97
|
{
|
|
97
|
-
showAlertMessage:
|
|
98
|
-
loader:
|
|
98
|
+
showAlertMessage: n,
|
|
99
|
+
loader: m,
|
|
99
100
|
registerInfo: e,
|
|
100
101
|
dispatch: r,
|
|
101
102
|
setRegisterInfo: S,
|
|
102
103
|
setCurrentStep: d,
|
|
103
|
-
validationError: x
|
|
104
|
+
validationError: x,
|
|
105
|
+
storeName: s
|
|
104
106
|
}
|
|
105
107
|
),
|
|
106
108
|
3: /* @__PURE__ */ i(
|
|
107
109
|
L,
|
|
108
110
|
{
|
|
109
|
-
showAlertMessage:
|
|
110
|
-
loader:
|
|
111
|
+
showAlertMessage: n,
|
|
112
|
+
loader: m,
|
|
111
113
|
registerInfo: e,
|
|
112
|
-
storeName:
|
|
114
|
+
storeName: s,
|
|
113
115
|
setCurrentStep: d,
|
|
114
116
|
initRegister: () => {
|
|
115
117
|
r(
|
|
@@ -119,7 +121,7 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
119
121
|
email: e.email,
|
|
120
122
|
username: e.username,
|
|
121
123
|
phone: "+1" + e.phone,
|
|
122
|
-
storename:
|
|
124
|
+
storename: s
|
|
123
125
|
})
|
|
124
126
|
);
|
|
125
127
|
}
|
|
@@ -128,8 +130,8 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
128
130
|
4: /* @__PURE__ */ i(
|
|
129
131
|
W,
|
|
130
132
|
{
|
|
131
|
-
showAlertMessage:
|
|
132
|
-
loader:
|
|
133
|
+
showAlertMessage: n,
|
|
134
|
+
loader: m,
|
|
133
135
|
otpLoader: B,
|
|
134
136
|
registerInfo: e,
|
|
135
137
|
initVerifyRegister: (o) => {
|
|
@@ -140,7 +142,7 @@ const M = ({ onRegister: v, navigate: h, navigatePath: g }) => {
|
|
|
140
142
|
email: e.email,
|
|
141
143
|
username: e.username,
|
|
142
144
|
phone: "+1" + e.phone,
|
|
143
|
-
storename:
|
|
145
|
+
storename: s,
|
|
144
146
|
otp: o
|
|
145
147
|
})
|
|
146
148
|
);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { PersonalInfoProps } from './types';
|
|
2
|
-
declare const PersonalInfo: ({ showAlertMessage, loader, registerInfo, setRegisterInfo, setCurrentStep, dispatch, validationError, }: PersonalInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const PersonalInfo: ({ showAlertMessage, loader, registerInfo, setRegisterInfo, setCurrentStep, dispatch, validationError, storeName, }: PersonalInfoProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default PersonalInfo;
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { jsxs as u, Fragment as F, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useState as d } from "react";
|
|
3
|
+
import f from "../../Shared/Button/index.js";
|
|
4
|
+
import m from "../../Shared/Input/index.js";
|
|
5
|
+
import "../../../../constants-Bb9tNMO0.js";
|
|
6
|
+
import { e as R } from "../../../../auth-Czk2iJ8q.js";
|
|
7
|
+
import { T as v } from "../../../../Typography-Du8mj1kr.js";
|
|
8
|
+
import { B as T } from "../../../../Box-Bt8cGqC7.js";
|
|
9
|
+
import { S as b } from "../../../../Stack-Ce-OQAtj.js";
|
|
10
|
+
import { I as W } from "../../../../InputAdornment-HG4f5A6g.js";
|
|
11
|
+
import { F as L } from "../../../../FormControl-CKGUH1ax.js";
|
|
12
|
+
import { F as S, C as B } from "../../../../FormControlLabel-Do2nmNuE.js";
|
|
13
|
+
import { L as j } from "../../../../Link-BoX8sDwo.js";
|
|
14
|
+
const Q = ({
|
|
15
|
+
showAlertMessage: t,
|
|
16
|
+
loader: p,
|
|
17
|
+
registerInfo: e,
|
|
18
|
+
setRegisterInfo: y,
|
|
19
|
+
setCurrentStep: c,
|
|
20
|
+
dispatch: N,
|
|
21
|
+
validationError: l,
|
|
22
|
+
storeName: k
|
|
23
|
+
}) => {
|
|
24
|
+
const [s, C] = d(!1), [o, P] = d({
|
|
25
|
+
username: !1,
|
|
26
|
+
firstName: !1,
|
|
27
|
+
lastName: !1,
|
|
28
|
+
phone: !1
|
|
29
|
+
}), n = (a, h) => {
|
|
30
|
+
a === "phone" && !/^\d*$/.test(h) || (y((i) => ({
|
|
31
|
+
...i,
|
|
32
|
+
[a]: h
|
|
33
|
+
})), P((i) => ({
|
|
34
|
+
...i,
|
|
35
|
+
[a]: !0
|
|
36
|
+
})));
|
|
37
|
+
}, g = (a) => {
|
|
38
|
+
if (a.preventDefault(), !e.username)
|
|
39
|
+
return t({ message: "Please provide username." }), !1;
|
|
40
|
+
if (!e.firstName)
|
|
41
|
+
return t({ message: "Please provide your name." }), !1;
|
|
42
|
+
if (!e.lastName)
|
|
43
|
+
return t({ message: "Please provide your surname." }), !1;
|
|
44
|
+
if (!e.phone)
|
|
45
|
+
return t({ message: "Please provide your mobile number." }), !1;
|
|
46
|
+
if (!s)
|
|
47
|
+
return t({ message: "Please accept the privacy terms." }), !1;
|
|
48
|
+
c(3);
|
|
49
|
+
}, x = () => {
|
|
50
|
+
e.username && N(
|
|
51
|
+
R({
|
|
52
|
+
email: e.email,
|
|
53
|
+
username: e.username,
|
|
54
|
+
storename: k
|
|
55
|
+
})
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
return /* @__PURE__ */ u(F, { children: [
|
|
59
|
+
/* @__PURE__ */ r(v, { variant: "lg", fontWeight: "500", children: "Add your personal information" }),
|
|
60
|
+
/* @__PURE__ */ r(v, { variant: "sm", children: "Please, provide the following information:" }),
|
|
61
|
+
/* @__PURE__ */ r(T, { component: "form", onSubmit: g, width: "100%", children: /* @__PURE__ */ u(b, { direction: "column", gap: 2, children: [
|
|
62
|
+
/* @__PURE__ */ r(
|
|
63
|
+
m,
|
|
64
|
+
{
|
|
65
|
+
value: e.username,
|
|
66
|
+
label: "Username",
|
|
67
|
+
placeholder: "Create a username",
|
|
68
|
+
onChange: (a) => n("username", a.target.value),
|
|
69
|
+
onBlur: x,
|
|
70
|
+
error: o.username && !e.username || !!l,
|
|
71
|
+
errorText: l,
|
|
72
|
+
autoFocus: !0,
|
|
73
|
+
fullWidth: !0
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
/* @__PURE__ */ r(
|
|
77
|
+
m,
|
|
78
|
+
{
|
|
79
|
+
value: e.firstName,
|
|
80
|
+
label: "First name",
|
|
81
|
+
placeholder: "Enter your name",
|
|
82
|
+
onChange: (a) => n("firstName", a.target.value),
|
|
83
|
+
error: o.firstName && !e.firstName,
|
|
84
|
+
fullWidth: !0
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ r(
|
|
88
|
+
m,
|
|
89
|
+
{
|
|
90
|
+
value: e.lastName,
|
|
91
|
+
label: "Last name",
|
|
92
|
+
placeholder: "Enter your surname",
|
|
93
|
+
onChange: (a) => n("lastName", a.target.value),
|
|
94
|
+
error: o.lastName && !e.lastName,
|
|
95
|
+
fullWidth: !0
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ r(
|
|
99
|
+
m,
|
|
100
|
+
{
|
|
101
|
+
value: e.phone,
|
|
102
|
+
label: "Mobile number",
|
|
103
|
+
placeholder: "Enter your mobile number",
|
|
104
|
+
onChange: (a) => n("phone", a.target.value),
|
|
105
|
+
error: o.phone && !e.phone,
|
|
106
|
+
slotProps: {
|
|
107
|
+
input: {
|
|
108
|
+
startAdornment: /* @__PURE__ */ r(W, { position: "start", children: "+1" })
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
),
|
|
113
|
+
/* @__PURE__ */ r(L, { error: !s, component: "fieldset", children: /* @__PURE__ */ r(
|
|
114
|
+
S,
|
|
115
|
+
{
|
|
116
|
+
control: /* @__PURE__ */ r(
|
|
117
|
+
B,
|
|
118
|
+
{
|
|
119
|
+
checked: s,
|
|
120
|
+
onChange: () => C((a) => !a),
|
|
121
|
+
color: "primary"
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
label: /* @__PURE__ */ u("span", { children: [
|
|
125
|
+
"I accept the",
|
|
126
|
+
" ",
|
|
127
|
+
/* @__PURE__ */ r(
|
|
128
|
+
j,
|
|
129
|
+
{
|
|
130
|
+
href: "https://www.rocket-ramp.com/page/privacy",
|
|
131
|
+
target: "_blank",
|
|
132
|
+
rel: "noopener noreferrer",
|
|
133
|
+
color: "primary",
|
|
134
|
+
children: "Privacy Terms"
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
] })
|
|
138
|
+
}
|
|
139
|
+
) }),
|
|
140
|
+
/* @__PURE__ */ r(
|
|
141
|
+
f,
|
|
142
|
+
{
|
|
143
|
+
type: "submit",
|
|
144
|
+
fullWidth: !0,
|
|
145
|
+
disabled: !!l || p,
|
|
146
|
+
isLoading: p,
|
|
147
|
+
children: "Submit"
|
|
148
|
+
}
|
|
149
|
+
),
|
|
150
|
+
/* @__PURE__ */ r(b, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ r(
|
|
151
|
+
f,
|
|
152
|
+
{
|
|
153
|
+
isText: !0,
|
|
154
|
+
onClick: () => c(1),
|
|
155
|
+
sx: { fontWeight: 500, padding: 0 },
|
|
156
|
+
customSize: "small",
|
|
157
|
+
children: "Go back and edit"
|
|
158
|
+
}
|
|
159
|
+
) })
|
|
160
|
+
] }) })
|
|
161
|
+
] });
|
|
162
|
+
};
|
|
163
|
+
export {
|
|
164
|
+
Q as default
|
|
165
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import t from "
|
|
3
|
-
import { T as m } from "
|
|
4
|
-
import { S as o } from "
|
|
5
|
-
import { B as u } from "
|
|
2
|
+
import t from "../../Shared/Button/index.js";
|
|
3
|
+
import { T as m } from "../../../../Typography-Du8mj1kr.js";
|
|
4
|
+
import { S as o } from "../../../../Stack-Ce-OQAtj.js";
|
|
5
|
+
import { B as u } from "../../../../Box-Bt8cGqC7.js";
|
|
6
6
|
const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { children: [
|
|
7
7
|
/* @__PURE__ */ e(
|
|
8
8
|
"label",
|