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.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,52 +1,49 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { useState as D, useEffect as f } from "react";
3
- import { useSnackBar as C } from "../../../../hooks/useSnackBar.js";
4
- import { u as E } from "../../../../react-redux-C7I9-1M6.js";
5
- import I from "../../../../hoc/withThemeProvider.js";
6
- import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import _ from "./email.js";
8
- import A from "./personalInfo.js";
9
- import L from "./summary.js";
10
- import W from "./validateEmail.js";
11
- import "../../../../constants-DrmtdI1J.js";
12
- import { a as q, u as U, r as V, b as j } from "../../../../auth-Cwq6nfwY.js";
13
- import { USERNAME_SUFFIX as N } from "../../../../util/constants.js";
14
- import M from "../../../../hooks/useEverestDispatch.js";
15
- import { C as P } from "../../../../Container-urNKV7hm.js";
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-DX0YBtP2.js";
13
+ import { a as U, u as V, c as j, d as M } from "../../../../auth-BBeOw4mt.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 = M(), r = E((o) => o.session), s = E((o) => o.app).store.name, m = r.loader, x = r.validationError, S = r.screen, B = r.otpLoader, p = r.uuid, c = r.token, l = r.error, b = 4, { showAlertMessage: n, snackBar: w } = C(), [e, R] = D({
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
- f(() => () => {
28
- a(q());
29
- }, []), f(() => {
24
+ u(() => () => {
25
+ a(U());
26
+ }, []), u(() => {
30
27
  p && c && (k(p, c), h(g || "/dashboard"));
31
- }, [p, c]), f(() => {
28
+ }, [p, c]), u(() => {
32
29
  l && n({ message: l });
33
30
  }, [l]);
34
- const d = (o) => {
35
- a(U(o));
31
+ const d = (t) => {
32
+ a(V(t));
36
33
  }, y = () => {
37
34
  a(
38
- V({
35
+ j({
39
36
  first_name: e.firstName,
40
37
  last_name: e.lastName,
41
38
  email: e.email,
42
- username: e.username + N,
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
- P,
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
- w,
63
- /* @__PURE__ */ t(v, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ t("img", { alt: "RocketRamp logo", src: T }) }),
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
- v,
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(F, { direction: "column", spacing: 1.5, children: [
81
- /* @__PURE__ */ t(u, { variant: "2xl", fontWeight: 600, children: "Create New Account" }),
82
- /* @__PURE__ */ i(F, { direction: "row", gap: "0.25rem", children: [
83
- /* @__PURE__ */ i(u, { variant: "md", fontWeight: 500, children: [
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(u, { variant: "md", fontWeight: 200, children: [
84
+ /* @__PURE__ */ i(f, { variant: "md", fontWeight: 200, children: [
88
85
  "of ",
89
- b
86
+ B
90
87
  ] })
91
88
  ] })
92
89
  ] }),
93
90
  {
94
- 1: /* @__PURE__ */ t(
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__ */ t(
109
- A,
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__ */ t(
122
- L,
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__ */ t(
133
- W,
129
+ 4: /* @__PURE__ */ o(
130
+ q,
134
131
  {
135
132
  showAlertMessage: n,
136
133
  loader: m,
137
- otpLoader: B,
134
+ otpLoader: w,
138
135
  registerInfo: e,
139
- initVerifyRegister: (o) => {
136
+ initVerifyRegister: (t) => {
140
137
  a(
141
- j({
138
+ M({
142
139
  first_name: e.firstName,
143
140
  last_name: e.lastName,
144
141
  email: e.email,
145
- username: e.username + N,
142
+ username: e.username + F,
146
143
  phone: "+1" + e.phone,
147
144
  storename: s,
148
- otp: o
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
- }, ce = I(z);
159
+ }, ne = A(z);
163
160
  export {
164
- ce as default
161
+ ne as default
165
162
  };
@@ -1,35 +1,29 @@
1
- import { jsxs as u, Fragment as R, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as u, Fragment as F, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as d } from "react";
3
- import f from "../../Shared/Button/index.js";
4
- import p, { UserNameInputField as T } from "../../Shared/Input/index.js";
5
- import "../../../../constants-DrmtdI1J.js";
6
- import { f as S } from "../../../../auth-Cwq6nfwY.js";
7
- import { userNameRegex as L } from "../../../../util/regex.js";
8
- import { USERNAME_SUFFIX as b, USERNAME_TOOLTIP as U } from "../../../../util/constants.js";
9
- import { T as v } from "../../../../Typography-pAaje37G.js";
10
- import { B as W } from "../../../../Box-B0YSYLco.js";
11
- import { S as y } from "../../../../Stack-k55YTxET.js";
12
- import { I as E } from "../../../../InputAdornment-DMiED3JH.js";
13
- import { F as B } from "../../../../FormControl-RtZDQMdA.js";
14
- import { F as w, C as _ } from "../../../../FormControlLabel-BliKW48y.js";
15
- import { L as j } from "../../../../Link-DBA9Yifs.js";
16
- const I = ({
3
+ import { Typography as f, Box as T, Stack as b, InputAdornment as S, FormControl as U, FormControlLabel as W, Checkbox as E, Link as L } from "@mui/material";
4
+ import v from "../../Shared/Button/index.js";
5
+ import c, { UserNameInputField as w } from "../../Shared/Input/index.js";
6
+ import "../../../../constants-DX0YBtP2.js";
7
+ import { h as B } from "../../../../auth-BBeOw4mt.js";
8
+ import { userNameRegex as _ } from "../../../../util/regex.js";
9
+ import { USERNAME_SUFFIX as y, USERNAME_TOOLTIP as j } from "../../../../util/constants.js";
10
+ const J = ({
17
11
  showAlertMessage: t,
18
- loader: c,
19
- registerInfo: r,
12
+ loader: p,
13
+ registerInfo: a,
20
14
  setRegisterInfo: N,
21
15
  setCurrentStep: h,
22
16
  dispatch: P,
23
- validationError: m,
17
+ validationError: l,
24
18
  storeName: x
25
19
  }) => {
26
- const [l, g] = d(!1), [o, k] = d({
20
+ const [m, g] = d(!1), [n, k] = d({
27
21
  username: !1,
28
22
  firstName: !1,
29
23
  lastName: !1,
30
24
  phone: !1
31
- }), n = (e, s) => {
32
- e === "phone" && !/^\d*$/.test(s) || e === "username" && !L.test(s) || (N((i) => ({
25
+ }), o = (e, s) => {
26
+ e === "phone" && !/^\d*$/.test(s) || e === "username" && !_.test(s) || (N((i) => ({
33
27
  ...i,
34
28
  [e]: s
35
29
  })), k((i) => ({
@@ -37,91 +31,91 @@ const I = ({
37
31
  [e]: !0
38
32
  })));
39
33
  }, C = (e) => {
40
- if (e.preventDefault(), !r.username)
34
+ if (e.preventDefault(), !a.username)
41
35
  return t({ message: "Please provide username." }), !1;
42
- if (!r.firstName)
36
+ if (!a.firstName)
43
37
  return t({ message: "Please provide your name." }), !1;
44
- if (!r.lastName)
38
+ if (!a.lastName)
45
39
  return t({ message: "Please provide your surname." }), !1;
46
- if (!r.phone)
40
+ if (!a.phone)
47
41
  return t({ message: "Please provide your mobile number." }), !1;
48
- if (!l)
42
+ if (!m)
49
43
  return t({ message: "Please accept the privacy terms." }), !1;
50
44
  h(3);
51
- }, F = () => {
52
- r.username && P(
53
- S({
54
- email: r.email,
55
- username: r.username + b,
45
+ }, R = () => {
46
+ a.username && P(
47
+ B({
48
+ email: a.email,
49
+ username: a.username + y,
56
50
  storename: x
57
51
  })
58
52
  );
59
53
  };
60
- return /* @__PURE__ */ u(R, { children: [
61
- /* @__PURE__ */ a(v, { variant: "lg", fontWeight: "500", children: "Add your personal information" }),
62
- /* @__PURE__ */ a(v, { variant: "sm", children: "Please, provide the following information:" }),
63
- /* @__PURE__ */ a(W, { component: "form", onSubmit: C, width: "100%", children: /* @__PURE__ */ u(y, { direction: "column", gap: 2, children: [
64
- /* @__PURE__ */ a(
65
- T,
54
+ return /* @__PURE__ */ u(F, { children: [
55
+ /* @__PURE__ */ r(f, { variant: "lg", fontWeight: "500", children: "Add your personal information" }),
56
+ /* @__PURE__ */ r(f, { variant: "sm", children: "Please, provide the following information:" }),
57
+ /* @__PURE__ */ r(T, { component: "form", onSubmit: C, width: "100%", children: /* @__PURE__ */ u(b, { direction: "column", gap: 2, children: [
58
+ /* @__PURE__ */ r(
59
+ w,
66
60
  {
67
- suffix: b,
68
- value: r.username,
61
+ suffix: y,
62
+ value: a.username,
69
63
  label: "Username",
70
64
  placeholder: "Create a username",
71
- onChange: (e) => n("username", e.target.value),
72
- onBlur: F,
73
- error: o.username && !r.username || !!m,
74
- errorText: m,
65
+ onChange: (e) => o("username", e.target.value),
66
+ onBlur: R,
67
+ error: n.username && !a.username || !!l,
68
+ errorText: l,
75
69
  showInfoIcon: !0,
76
- tooltipText: U,
70
+ tooltipText: j,
77
71
  autoFocus: !0,
78
72
  fullWidth: !0
79
73
  }
80
74
  ),
81
- /* @__PURE__ */ a(
82
- p,
75
+ /* @__PURE__ */ r(
76
+ c,
83
77
  {
84
- value: r.firstName,
78
+ value: a.firstName,
85
79
  label: "First name",
86
80
  placeholder: "Enter your name",
87
- onChange: (e) => n("firstName", e.target.value),
88
- error: o.firstName && !r.firstName,
81
+ onChange: (e) => o("firstName", e.target.value),
82
+ error: n.firstName && !a.firstName,
89
83
  fullWidth: !0
90
84
  }
91
85
  ),
92
- /* @__PURE__ */ a(
93
- p,
86
+ /* @__PURE__ */ r(
87
+ c,
94
88
  {
95
- value: r.lastName,
89
+ value: a.lastName,
96
90
  label: "Last name",
97
91
  placeholder: "Enter your surname",
98
- onChange: (e) => n("lastName", e.target.value),
99
- error: o.lastName && !r.lastName,
92
+ onChange: (e) => o("lastName", e.target.value),
93
+ error: n.lastName && !a.lastName,
100
94
  fullWidth: !0
101
95
  }
102
96
  ),
103
- /* @__PURE__ */ a(
104
- p,
97
+ /* @__PURE__ */ r(
98
+ c,
105
99
  {
106
- value: r.phone,
100
+ value: a.phone,
107
101
  label: "Mobile number",
108
102
  placeholder: "Enter your mobile number",
109
- onChange: (e) => n("phone", e.target.value),
110
- error: o.phone && !r.phone,
103
+ onChange: (e) => o("phone", e.target.value),
104
+ error: n.phone && !a.phone,
111
105
  slotProps: {
112
106
  input: {
113
- startAdornment: /* @__PURE__ */ a(E, { position: "start", children: "+1" })
107
+ startAdornment: /* @__PURE__ */ r(S, { position: "start", children: "+1" })
114
108
  }
115
109
  }
116
110
  }
117
111
  ),
118
- /* @__PURE__ */ a(B, { error: !l, component: "fieldset", children: /* @__PURE__ */ a(
119
- w,
112
+ /* @__PURE__ */ r(U, { error: !m, component: "fieldset", children: /* @__PURE__ */ r(
113
+ W,
120
114
  {
121
- control: /* @__PURE__ */ a(
122
- _,
115
+ control: /* @__PURE__ */ r(
116
+ E,
123
117
  {
124
- checked: l,
118
+ checked: m,
125
119
  onChange: () => g((e) => !e),
126
120
  color: "primary"
127
121
  }
@@ -129,8 +123,8 @@ const I = ({
129
123
  label: /* @__PURE__ */ u("span", { children: [
130
124
  "I accept the",
131
125
  " ",
132
- /* @__PURE__ */ a(
133
- j,
126
+ /* @__PURE__ */ r(
127
+ L,
134
128
  {
135
129
  href: "https://www.rocket-ramp.com/page/privacy",
136
130
  target: "_blank",
@@ -142,18 +136,18 @@ const I = ({
142
136
  ] })
143
137
  }
144
138
  ) }),
145
- /* @__PURE__ */ a(
146
- f,
139
+ /* @__PURE__ */ r(
140
+ v,
147
141
  {
148
142
  type: "submit",
149
143
  fullWidth: !0,
150
- disabled: !!m || c,
151
- isLoading: c,
144
+ disabled: !!l || p,
145
+ isLoading: p,
152
146
  children: "Submit"
153
147
  }
154
148
  ),
155
- /* @__PURE__ */ a(y, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ a(
156
- f,
149
+ /* @__PURE__ */ r(b, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ r(
150
+ v,
157
151
  {
158
152
  isText: !0,
159
153
  onClick: () => h(1),
@@ -166,5 +160,5 @@ const I = ({
166
160
  ] });
167
161
  };
168
162
  export {
169
- I as default
163
+ J as default
170
164
  };
@@ -1,10 +1,8 @@
1
- import { jsxs as i, Fragment as d, jsx as e } from "react/jsx-runtime";
2
- import t from "../../Shared/Button/index.js";
3
- import { USERNAME_SUFFIX as u } from "../../../../util/constants.js";
4
- import { T as m } from "../../../../Typography-pAaje37G.js";
5
- import { S as o } from "../../../../Stack-k55YTxET.js";
6
- import { B as p } from "../../../../Box-B0YSYLco.js";
7
- const l = ({ label: r, value: a }) => /* @__PURE__ */ i(p, { children: [
1
+ import { jsxs as r, Fragment as s, jsx as e } from "react/jsx-runtime";
2
+ import { Typography as o, Stack as t, Box as u } from "@mui/material";
3
+ import n from "../../Shared/Button/index.js";
4
+ import { USERNAME_SUFFIX as h } from "../../../../util/constants.js";
5
+ const l = ({ label: i, value: a }) => /* @__PURE__ */ r(u, { children: [
8
6
  /* @__PURE__ */ e(
9
7
  "label",
10
8
  {
@@ -13,24 +11,24 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(p, { children: [
13
11
  fontWeight: 400,
14
12
  color: "#1A202C"
15
13
  },
16
- children: r
14
+ children: i
17
15
  }
18
16
  ),
19
- /* @__PURE__ */ e(m, { variant: "md", children: a })
20
- ] }), x = ({
21
- loader: r,
17
+ /* @__PURE__ */ e(o, { variant: "md", children: a })
18
+ ] }), v = ({
19
+ loader: i,
22
20
  registerInfo: a,
23
- setCurrentStep: n,
21
+ setCurrentStep: m,
24
22
  storeName: c,
25
- initRegister: s
26
- }) => /* @__PURE__ */ i(d, { children: [
27
- /* @__PURE__ */ e(m, { variant: "lg", fontWeight: "500", children: "Before proceeding, please check and confirm your personal information" }),
28
- /* @__PURE__ */ i(o, { direction: "column", gap: 2, children: [
23
+ initRegister: d
24
+ }) => /* @__PURE__ */ r(s, { children: [
25
+ /* @__PURE__ */ e(o, { variant: "lg", fontWeight: "500", children: "Before proceeding, please check and confirm your personal information" }),
26
+ /* @__PURE__ */ r(t, { direction: "column", gap: 2, children: [
29
27
  /* @__PURE__ */ e(
30
28
  l,
31
29
  {
32
30
  label: "Username",
33
- value: a.username + u
31
+ value: a.username + h
34
32
  }
35
33
  ),
36
34
  /* @__PURE__ */ e(l, { label: "Storename", value: c }),
@@ -39,19 +37,19 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(p, { children: [
39
37
  /* @__PURE__ */ e(l, { label: "Mobile Number", value: "+1" + a.phone }),
40
38
  /* @__PURE__ */ e(l, { label: "Email Address", value: a.email }),
41
39
  /* @__PURE__ */ e(
42
- t,
40
+ n,
43
41
  {
44
- isLoading: r,
45
- disabled: r,
46
- onClick: s,
42
+ isLoading: i,
43
+ disabled: i,
44
+ onClick: d,
47
45
  children: "Submit"
48
46
  }
49
47
  ),
50
- /* @__PURE__ */ e(o, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
51
- t,
48
+ /* @__PURE__ */ e(t, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
49
+ n,
52
50
  {
53
51
  isText: !0,
54
- onClick: () => n(2),
52
+ onClick: () => m(2),
55
53
  sx: { fontWeight: 500, padding: 0 },
56
54
  customSize: "small",
57
55
  children: "Go back and edit"
@@ -60,5 +58,5 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(p, { children: [
60
58
  ] })
61
59
  ] });
62
60
  export {
63
- x as default
61
+ v as default
64
62
  };
@@ -1,12 +1,10 @@
1
1
  import { jsxs as r, Fragment as R, jsx as t } from "react/jsx-runtime";
2
+ import { Typography as a, Box as P, Stack as d } from "@mui/material";
2
3
  import h from "../../Shared/Button/index.js";
3
- import P from "../../Shared/Input/index.js";
4
- import { useState as l, useEffect as u } from "react";
4
+ import C from "../../Shared/Input/index.js";
5
+ import { useState as s, useEffect as u } from "react";
5
6
  import { RESEND_EMAIL_TIMER as f } from "../../../../util/constants.js";
6
- import { T as a } from "../../../../Typography-pAaje37G.js";
7
- import { B as C } from "../../../../Box-B0YSYLco.js";
8
- import { S as d } from "../../../../Stack-k55YTxET.js";
9
- const _ = ({
7
+ const D = ({
10
8
  showAlertMessage: o,
11
9
  loader: p,
12
10
  otpLoader: g,
@@ -14,25 +12,25 @@ const _ = ({
14
12
  initVerifyRegister: y,
15
13
  initRegister: E
16
14
  }) => {
17
- const [e, S] = l(""), [x, c] = l(!1), [n, m] = l(f);
15
+ const [e, x] = s(""), [S, c] = s(!1), [i, m] = s(f);
18
16
  u(() => {
19
- if (n === 0) return;
20
- const i = setInterval(() => {
21
- m((s) => s - 1);
17
+ if (i === 0) return;
18
+ const n = setInterval(() => {
19
+ m((l) => l - 1);
22
20
  }, 1e3);
23
- return () => clearInterval(i);
24
- }, [n]), u(() => {
21
+ return () => clearInterval(n);
22
+ }, [i]), u(() => {
25
23
  c(e ? e.length !== 6 : !1);
26
24
  }, [e]);
27
- const T = () => {
25
+ const b = () => {
28
26
  E(), m(f), o({
29
27
  message: "A new OTP has been send to the given email address.",
30
28
  type: "success",
31
29
  duration: 6e3
32
30
  });
33
- }, b = (i) => {
34
- const s = Math.floor(i / 60), I = i % 60;
35
- return `${String(s).padStart(2, "0")}:${String(
31
+ }, T = (n) => {
32
+ const l = Math.floor(n / 60), I = n % 60;
33
+ return `${String(l).padStart(2, "0")}:${String(
36
34
  I
37
35
  ).padStart(2, "0")}`;
38
36
  }, k = () => {
@@ -49,34 +47,34 @@ const _ = ({
49
47
  v.email,
50
48
  " and enter the code in the field below within the next 5 minutes."
51
49
  ] }),
52
- /* @__PURE__ */ r(C, { width: "100%", children: [
50
+ /* @__PURE__ */ r(P, { width: "100%", children: [
53
51
  /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
54
- P,
52
+ C,
55
53
  {
56
54
  value: e,
57
55
  label: "Enter code",
58
56
  placeholder: "Enter code sent via Email",
59
- onChange: (i) => S(i.target.value),
57
+ onChange: (n) => x(n.target.value),
60
58
  inputProps: { maxLength: 6 },
61
- error: x,
59
+ error: S,
62
60
  fullWidth: !0
63
61
  }
64
62
  ) }),
65
63
  /* @__PURE__ */ r(d, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
66
64
  /* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
67
- n > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
65
+ i > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
68
66
  " ",
69
67
  "You can ask for another one in ",
70
- b(n)
68
+ T(i)
71
69
  ] }),
72
70
  /* @__PURE__ */ t(
73
71
  h,
74
72
  {
75
- onClick: T,
73
+ onClick: b,
76
74
  customSize: "medium",
77
75
  isText: !0,
78
76
  sx: { padding: "0px", height: "2rem" },
79
- disabled: n > 0,
77
+ disabled: i > 0,
80
78
  isLoading: g,
81
79
  children: "Resend Email"
82
80
  }
@@ -96,5 +94,5 @@ const _ = ({
96
94
  ] });
97
95
  };
98
96
  export {
99
- _ as default
97
+ D as default
100
98
  };