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,41 +1,38 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
- import { useState as I, useEffect as d } from "react";
3
- import { useSnackBar as w } from "../../../../hooks/useSnackBar.js";
4
- import { u as b } from "../../../../react-redux-C7I9-1M6.js";
5
- import T from "../../../../hoc/withThemeProvider.js";
6
- import { L as W } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import _ from "./storeInfo.js";
8
- import q from "./personalInfo.js";
9
- import C from "./summary.js";
10
- import D from "./validateEmail.js";
11
- import "../../../../constants-DrmtdI1J.js";
12
- import { a as L, u as A, c as U, d as V, l as j } from "../../../../auth-Cwq6nfwY.js";
13
- import { USERNAME_SUFFIX as S } from "../../../../util/constants.js";
14
- import z from "../../../../hooks/useEverestDispatch.js";
15
- import { C as M } from "../../../../Container-urNKV7hm.js";
16
- import { T as f } from "../../../../Typography-pAaje37G.js";
17
- import { B as R } from "../../../../Box-B0YSYLco.js";
18
- import { S as v } from "../../../../Stack-k55YTxET.js";
1
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
+ import { Container as I, Typography as p, Box as S, Stack as R } from "@mui/material";
3
+ import { useState as w, useEffect as f } from "react";
4
+ import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
5
+ import { u as W } from "../../../../react-redux-C7I9-1M6.js";
6
+ import _ from "../../../../hoc/withThemeProvider.js";
7
+ import { L as q } from "../../../../rr-primary-logo-CqI24c8v.js";
8
+ import D from "./storeInfo.js";
9
+ import L from "./personalInfo.js";
10
+ import T from "./summary.js";
11
+ import A from "./validateEmail.js";
12
+ import "../../../../constants-DX0YBtP2.js";
13
+ import { a as C, u as U, e as V, f as j, l as z } from "../../../../auth-BBeOw4mt.js";
14
+ import { USERNAME_SUFFIX as v } from "../../../../util/constants.js";
15
+ import M from "../../../../hooks/useEverestDispatch.js";
19
16
  const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
20
- const o = z(), t = b((s) => s.session), n = t.loader, g = t.validationError, F = t.validationField, u = t.screen, N = t.otpLoader, m = t.uuid, l = t.token, p = t.error, B = 4, { showAlertMessage: i, snackBar: k } = w(), [e, x] = I({
17
+ const o = M(), t = W((s) => s.session), a = t.loader, g = t.validationError, F = t.validationField, u = t.screen, N = t.otpLoader, m = t.uuid, l = t.token, c = t.error, k = 4, { showAlertMessage: i, snackBar: B } = b(), [e, x] = w({
21
18
  email: "",
22
19
  firstName: "",
23
20
  lastName: "",
24
21
  phone: "",
25
22
  storeName: ""
26
23
  });
27
- d(() => () => {
28
- o(L());
29
- }, []), d(() => {
24
+ f(() => () => {
25
+ o(C());
26
+ }, []), f(() => {
30
27
  m && l && (y(m, l), E(h || "/dashboard"));
31
- }, [m, l]), d(() => {
32
- p && i({ message: p });
33
- }, [p]);
34
- const c = (s) => {
35
- o(A(s));
28
+ }, [m, l]), f(() => {
29
+ c && i({ message: c });
30
+ }, [c]);
31
+ const d = (s) => {
32
+ o(U(s));
36
33
  };
37
- return /* @__PURE__ */ a(
38
- M,
34
+ return /* @__PURE__ */ n(
35
+ I,
39
36
  {
40
37
  maxWidth: "sm",
41
38
  component: "div",
@@ -48,11 +45,11 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
48
45
  alignItems: "center"
49
46
  },
50
47
  children: [
51
- k,
52
- /* @__PURE__ */ r(f, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
53
- /* @__PURE__ */ r(R, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: W, width: 440, height: 63 }) }),
54
- /* @__PURE__ */ a(
55
- R,
48
+ B,
49
+ /* @__PURE__ */ r(p, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
50
+ /* @__PURE__ */ r(S, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: q, width: 440, height: 63 }) }),
51
+ /* @__PURE__ */ n(
52
+ S,
56
53
  {
57
54
  sx: {
58
55
  flex: 1,
@@ -66,56 +63,56 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
66
63
  display: "flex"
67
64
  },
68
65
  children: [
69
- /* @__PURE__ */ r(v, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ a(v, { direction: "row", gap: "0.25rem", children: [
70
- /* @__PURE__ */ a(f, { variant: "md", fontWeight: 500, children: [
66
+ /* @__PURE__ */ r(R, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ n(R, { direction: "row", gap: "0.25rem", children: [
67
+ /* @__PURE__ */ n(p, { variant: "md", fontWeight: 500, children: [
71
68
  "Step ",
72
69
  u
73
70
  ] }),
74
- /* @__PURE__ */ a(f, { variant: "md", fontWeight: 200, children: [
71
+ /* @__PURE__ */ n(p, { variant: "md", fontWeight: 200, children: [
75
72
  "of ",
76
- B
73
+ k
77
74
  ] })
78
75
  ] }) }),
79
76
  {
80
77
  1: /* @__PURE__ */ r(
81
- q,
78
+ L,
82
79
  {
83
80
  showAlertMessage: i,
84
- loader: n,
81
+ loader: a,
85
82
  registerInfo: e,
86
83
  dispatch: o,
87
84
  setRegisterInfo: x,
88
- setCurrentStep: c,
85
+ setCurrentStep: d,
89
86
  validationError: g,
90
87
  validationField: F
91
88
  }
92
89
  ),
93
90
  2: /* @__PURE__ */ r(
94
- _,
91
+ D,
95
92
  {
96
93
  showAlertMessage: i,
97
- loader: n,
94
+ loader: a,
98
95
  registerInfo: e,
99
96
  setRegisterInfo: x,
100
97
  dispatch: o,
101
98
  validationError: g,
102
- setCurrentStep: c
99
+ setCurrentStep: d
103
100
  }
104
101
  ),
105
102
  3: /* @__PURE__ */ r(
106
- C,
103
+ T,
107
104
  {
108
105
  showAlertMessage: i,
109
- loader: n,
106
+ loader: a,
110
107
  registerInfo: e,
111
- setCurrentStep: c,
108
+ setCurrentStep: d,
112
109
  initRegister: () => {
113
110
  o(
114
- U({
111
+ V({
115
112
  first_name: e.firstName,
116
113
  last_name: e.lastName,
117
114
  email: e.email,
118
- storename: e.storeName + S,
115
+ storename: e.storeName + v,
119
116
  phone: "+1" + e.phone
120
117
  })
121
118
  );
@@ -123,27 +120,27 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
123
120
  }
124
121
  ),
125
122
  4: /* @__PURE__ */ r(
126
- D,
123
+ A,
127
124
  {
128
125
  showAlertMessage: i,
129
- loader: n,
126
+ loader: a,
130
127
  otpLoader: N,
131
128
  registerInfo: e,
132
129
  initVerifyRegister: (s) => {
133
130
  o(
134
- V({
131
+ j({
135
132
  first_name: e.firstName,
136
133
  last_name: e.lastName,
137
134
  email: e.email,
138
135
  // username: registerInfo.username,
139
136
  phone: "+1" + e.phone,
140
- storename: e.storeName + S,
137
+ storename: e.storeName + v,
141
138
  otp: s
142
139
  })
143
140
  );
144
141
  },
145
142
  initReSendOtp: () => {
146
- o(j(e.email));
143
+ o(z(e.email));
147
144
  }
148
145
  }
149
146
  )
@@ -154,7 +151,7 @@ const O = ({ onRegister: y, navigate: E, navigatePath: h }) => {
154
151
  ]
155
152
  }
156
153
  );
157
- }, ce = T(O);
154
+ }, me = _(O);
158
155
  export {
159
- ce as default
156
+ me as default
160
157
  };
@@ -1,79 +1,73 @@
1
1
  import { jsxs as i, Fragment as g, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as b } from "react";
3
- import T from "../../Shared/Button/index.js";
3
+ import { Typography as y, Box as T, Stack as W, InputAdornment as B, FormControl as E, FormControlLabel as L, Checkbox as j, Link as F } from "@mui/material";
4
+ import U from "../../Shared/Button/index.js";
4
5
  import s from "../../Shared/Input/index.js";
5
- import "../../../../constants-DrmtdI1J.js";
6
- import { g as y } from "../../../../auth-Cwq6nfwY.js";
7
- import { generateRandomString as B, isValidEmail as F } from "../../../../util/functions.js";
8
- import { userNameRegex as L } from "../../../../util/regex.js";
9
- import { USERNAME_SUFFIX as W } from "../../../../util/constants.js";
10
- import { T as v } from "../../../../Typography-pAaje37G.js";
11
- import { B as E } from "../../../../Box-B0YSYLco.js";
12
- import { S as j } from "../../../../Stack-k55YTxET.js";
13
- import { I as U } from "../../../../InputAdornment-DMiED3JH.js";
14
- import { F as _ } from "../../../../FormControl-RtZDQMdA.js";
15
- import { F as q, C as D } from "../../../../FormControlLabel-BliKW48y.js";
16
- import { L as V } from "../../../../Link-DBA9Yifs.js";
17
- const ae = ({
18
- showAlertMessage: o,
6
+ import "../../../../constants-DX0YBtP2.js";
7
+ import { i as v } from "../../../../auth-BBeOw4mt.js";
8
+ import { generateRandomString as _, isValidEmail as q } from "../../../../util/functions.js";
9
+ import { userNameRegex as D } from "../../../../util/regex.js";
10
+ import { USERNAME_SUFFIX as V } from "../../../../util/constants.js";
11
+ const Y = ({
12
+ showAlertMessage: t,
19
13
  loader: h,
20
14
  registerInfo: e,
21
15
  setRegisterInfo: N,
22
16
  setCurrentStep: P,
23
- dispatch: f,
24
- validationError: t,
25
- validationField: m
17
+ dispatch: d,
18
+ validationError: o,
19
+ validationField: l
26
20
  }) => {
27
- const d = B(8) + W, [p, x] = b(!1), [l, C] = b({
21
+ const f = _(8) + V, [p, x] = b(!1), [m, R] = b({
28
22
  firstName: !1,
29
23
  lastName: !1,
30
24
  phone: !1,
31
25
  email: !1
32
26
  }), n = (a, u) => {
33
- a === "phone" && !/^\d*$/.test(u) || a === "username" && !L.test(u) || (N((c) => ({
27
+ a === "phone" && !/^\d*$/.test(u) || a === "username" && !D.test(u) || (N((c) => ({
34
28
  ...c,
35
29
  [a]: u
36
- })), C((c) => ({
30
+ })), R((c) => ({
37
31
  ...c,
38
32
  [a]: !0
39
33
  })));
40
- }, R = (a) => {
34
+ }, k = (a) => {
41
35
  if (a.preventDefault(), !e.firstName)
42
- return o({ message: "Please provide your name." }), !1;
36
+ return t({ message: "Please provide your name." }), !1;
43
37
  if (!e.lastName)
44
- return o({ message: "Please provide your surname." }), !1;
38
+ return t({ message: "Please provide your surname." }), !1;
45
39
  if (!e.phone)
46
- return o({ message: "Please provide your mobile number." }), !1;
40
+ return t({ message: "Please provide your mobile number." }), !1;
47
41
  if (!e.email)
48
- return o({ message: "Please provide email address." }), !1;
49
- if (!F(e.email))
50
- return o({ message: "Please provide valid email address." }), !1;
42
+ return t({ message: "Please provide email address." }), !1;
43
+ if (!q(e.email))
44
+ return t({ message: "Please provide valid email address." }), !1;
51
45
  if (!p)
52
- return o({ message: "Please accept the privacy terms." }), !1;
46
+ return t({ message: "Please accept the privacy terms." }), !1;
53
47
  P(2);
54
- }, k = () => {
55
- e.phone && f(
56
- y({
48
+ }, C = () => {
49
+ e.phone && d(
50
+ v({
57
51
  phone: "+1" + e.phone,
58
- storename: d
52
+ storename: f
59
53
  })
60
54
  );
61
55
  }, S = () => {
62
- e.email && f(
63
- y({
56
+ e.email && d(
57
+ v({
64
58
  email: e.email,
65
- storename: d
59
+ storename: f
66
60
  })
67
61
  );
68
62
  };
69
63
  return /* @__PURE__ */ i(g, { children: [
70
- /* @__PURE__ */ i(v, { variant: "3xl", fontWeight: "bold", children: [
64
+ /* @__PURE__ */ i(y, { variant: "3xl", fontWeight: "bold", children: [
71
65
  "Ready to join us?",
72
66
  /* @__PURE__ */ r("br", {}),
73
67
  "Tell us about yourself"
74
68
  ] }),
75
- /* @__PURE__ */ r(v, { variant: "sm", children: "Please, provide the following information:" }),
76
- /* @__PURE__ */ r(E, { component: "form", onSubmit: R, width: "100%", children: /* @__PURE__ */ i(j, { direction: "column", gap: 2, children: [
69
+ /* @__PURE__ */ r(y, { variant: "sm", children: "Please, provide the following information:" }),
70
+ /* @__PURE__ */ r(T, { component: "form", onSubmit: k, width: "100%", children: /* @__PURE__ */ i(W, { direction: "column", gap: 2, children: [
77
71
  /* @__PURE__ */ r(
78
72
  s,
79
73
  {
@@ -81,7 +75,7 @@ const ae = ({
81
75
  label: "First name",
82
76
  placeholder: "Enter your name",
83
77
  onChange: (a) => n("firstName", a.target.value),
84
- error: l.firstName && !e.firstName,
78
+ error: m.firstName && !e.firstName,
85
79
  fullWidth: !0
86
80
  }
87
81
  ),
@@ -92,7 +86,7 @@ const ae = ({
92
86
  label: "Last name",
93
87
  placeholder: "Enter your surname",
94
88
  onChange: (a) => n("lastName", a.target.value),
95
- error: l.lastName && !e.lastName,
89
+ error: m.lastName && !e.lastName,
96
90
  fullWidth: !0
97
91
  }
98
92
  ),
@@ -103,12 +97,12 @@ const ae = ({
103
97
  label: "Mobile number",
104
98
  placeholder: "Enter your mobile number",
105
99
  onChange: (a) => n("phone", a.target.value),
106
- onBlur: k,
107
- error: l.phone && !e.phone || m === "phone" && !!t,
108
- errorText: m === "phone" ? t : "",
100
+ onBlur: C,
101
+ error: m.phone && !e.phone || l === "phone" && !!o,
102
+ errorText: l === "phone" ? o : "",
109
103
  slotProps: {
110
104
  input: {
111
- startAdornment: /* @__PURE__ */ r(U, { position: "start", children: "+1" })
105
+ startAdornment: /* @__PURE__ */ r(B, { position: "start", children: "+1" })
112
106
  }
113
107
  }
114
108
  }
@@ -120,16 +114,16 @@ const ae = ({
120
114
  label: "E-mail address",
121
115
  onChange: (a) => n("email", a.target.value),
122
116
  onBlur: S,
123
- error: l.email && !e.email || m === "email" && !!t,
124
- errorText: m === "email" ? t : "",
117
+ error: m.email && !e.email || l === "email" && !!o,
118
+ errorText: l === "email" ? o : "",
125
119
  fullWidth: !0
126
120
  }
127
121
  ),
128
- /* @__PURE__ */ r(_, { error: !p, component: "fieldset", children: /* @__PURE__ */ r(
129
- q,
122
+ /* @__PURE__ */ r(E, { error: !p, component: "fieldset", children: /* @__PURE__ */ r(
123
+ L,
130
124
  {
131
125
  control: /* @__PURE__ */ r(
132
- D,
126
+ j,
133
127
  {
134
128
  checked: p,
135
129
  onChange: () => x((a) => !a),
@@ -140,7 +134,7 @@ const ae = ({
140
134
  "I accept the",
141
135
  " ",
142
136
  /* @__PURE__ */ r(
143
- V,
137
+ F,
144
138
  {
145
139
  href: "https://www.rocket-ramp.com/page/privacy",
146
140
  target: "_blank",
@@ -153,11 +147,11 @@ const ae = ({
153
147
  }
154
148
  ) }),
155
149
  /* @__PURE__ */ r(
156
- T,
150
+ U,
157
151
  {
158
152
  type: "submit",
159
153
  fullWidth: !0,
160
- disabled: !!t || h,
154
+ disabled: !!o || h,
161
155
  isLoading: h,
162
156
  children: "Next"
163
157
  }
@@ -166,5 +160,5 @@ const ae = ({
166
160
  ] });
167
161
  };
168
162
  export {
169
- ae as default
163
+ Y as default
170
164
  };
@@ -1,24 +1,20 @@
1
1
  import { jsxs as d, Fragment as C, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as c } from "react";
3
- import p from "../../Shared/Button/index.js";
4
- import u, { UserNameInputField as k } from "../../Shared/Input/index.js";
5
- import "../../../../constants-DrmtdI1J.js";
6
- import { g as w } from "../../../../auth-Cwq6nfwY.js";
7
- import { USERNAME_SUFFIX as f, USERNAME_TOOLTIP as T } from "../../../../util/constants.js";
8
- import { storeNameOnChangeRegex as P, storeNameRegex as U } from "../../../../util/regex.js";
9
- import { T as h } from "../../../../Typography-pAaje37G.js";
10
- import { A } from "../../../../Alert-DzsbFW3-.js";
11
- import { B as L } from "../../../../Box-B0YSYLco.js";
12
- import { S as x } from "../../../../Stack-k55YTxET.js";
13
- import { I as N } from "../../../../InputAdornment-DMiED3JH.js";
14
- const Y = ({
3
+ import { Typography as u, Alert as k, Box as w, Stack as p, InputAdornment as f } from "@mui/material";
4
+ import h from "../../Shared/Button/index.js";
5
+ import x, { UserNameInputField as P } from "../../Shared/Input/index.js";
6
+ import "../../../../constants-DX0YBtP2.js";
7
+ import { i as T } from "../../../../auth-BBeOw4mt.js";
8
+ import { USERNAME_SUFFIX as N, USERNAME_TOOLTIP as U } from "../../../../util/constants.js";
9
+ import { storeNameOnChangeRegex as L, storeNameRegex as W } from "../../../../util/regex.js";
10
+ const z = ({
15
11
  showAlertMessage: a,
16
- loader: m,
12
+ loader: i,
17
13
  validationError: n,
18
14
  registerInfo: t,
19
15
  setRegisterInfo: g,
20
16
  dispatch: S,
21
- setCurrentStep: i
17
+ setCurrentStep: m
22
18
  }) => {
23
19
  const [o, b] = c(""), [s, l] = c(""), v = (r) => {
24
20
  if (r.preventDefault(), !t.storeName)
@@ -29,32 +25,32 @@ const Y = ({
29
25
  return a({
30
26
  message: "Store Name & Confirm Store Name doesn't match."
31
27
  }), !1;
32
- i(3);
28
+ m(3);
33
29
  }, R = () => {
34
- l(""), t.storeName && U.test(t.storeName) ? S(
35
- w({
36
- storename: t.storeName + f
30
+ l(""), t.storeName && W.test(t.storeName) ? S(
31
+ T({
32
+ storename: t.storeName + N
37
33
  })
38
34
  ) : l(
39
35
  "Store name may contain only lowercase letters, numbers, and underscores"
40
36
  );
41
37
  };
42
38
  return /* @__PURE__ */ d(C, { children: [
43
- /* @__PURE__ */ e(h, { variant: "lg", fontWeight: "bold", children: "Create a name for your store to activate it." }),
44
- /* @__PURE__ */ e(h, { variant: "sm", children: "You need to create your Store name, which will be visible to your customers and will appear in the URL link of your e-commerce." }),
45
- /* @__PURE__ */ e(A, { severity: "info", children: "Please note that you won't be able to change your store name." }),
46
- /* @__PURE__ */ e(L, { component: "form", onSubmit: v, width: "100%", children: /* @__PURE__ */ d(x, { direction: "column", gap: 2, children: [
39
+ /* @__PURE__ */ e(u, { variant: "lg", fontWeight: "bold", children: "Create a name for your store to activate it." }),
40
+ /* @__PURE__ */ e(u, { variant: "sm", children: "You need to create your Store name, which will be visible to your customers and will appear in the URL link of your e-commerce." }),
41
+ /* @__PURE__ */ e(k, { severity: "info", children: "Please note that you won't be able to change your store name." }),
42
+ /* @__PURE__ */ e(w, { component: "form", onSubmit: v, width: "100%", children: /* @__PURE__ */ d(p, { direction: "column", gap: 2, children: [
47
43
  /* @__PURE__ */ e(
48
- k,
44
+ P,
49
45
  {
50
- suffix: f,
46
+ suffix: N,
51
47
  showInfoIcon: !0,
52
- tooltipText: T,
48
+ tooltipText: U,
53
49
  value: t.storeName,
54
50
  label: "Store Name",
55
51
  onBlur: R,
56
52
  onChange: (r) => {
57
- P.test(r.target.value) && g((y) => ({
53
+ L.test(r.target.value) && g((y) => ({
58
54
  ...y,
59
55
  storeName: r.target.value
60
56
  }));
@@ -65,7 +61,7 @@ const Y = ({
65
61
  }
66
62
  ),
67
63
  /* @__PURE__ */ e(
68
- u,
64
+ x,
69
65
  {
70
66
  value: t.storeName.toLowerCase(),
71
67
  label: "Store URL Preview",
@@ -75,7 +71,7 @@ const Y = ({
75
71
  padding: 0
76
72
  },
77
73
  startAdornment: /* @__PURE__ */ e(
78
- N,
74
+ f,
79
75
  {
80
76
  sx: {
81
77
  backgroundColor: "#f0f0f0",
@@ -88,7 +84,7 @@ const Y = ({
88
84
  }
89
85
  ),
90
86
  endAdornment: /* @__PURE__ */ e(
91
- N,
87
+ f,
92
88
  {
93
89
  sx: {
94
90
  backgroundColor: "#f0f0f0",
@@ -108,7 +104,7 @@ const Y = ({
108
104
  }
109
105
  ),
110
106
  /* @__PURE__ */ e(
111
- u,
107
+ x,
112
108
  {
113
109
  value: o,
114
110
  label: "Confirm Store Name",
@@ -118,19 +114,19 @@ const Y = ({
118
114
  }
119
115
  ),
120
116
  /* @__PURE__ */ e(
121
- p,
117
+ h,
122
118
  {
123
119
  type: "submit",
124
- disabled: !t.storeName || !o || !!n || m,
125
- isLoading: m,
120
+ disabled: !t.storeName || !o || !!n || i,
121
+ isLoading: i,
126
122
  children: "Next"
127
123
  }
128
124
  ),
129
- /* @__PURE__ */ e(x, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
130
- p,
125
+ /* @__PURE__ */ e(p, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
126
+ h,
131
127
  {
132
128
  isText: !0,
133
- onClick: () => i(1),
129
+ onClick: () => m(1),
134
130
  sx: { fontWeight: 500, padding: 0 },
135
131
  customSize: "small",
136
132
  children: "Go back and edit"
@@ -140,5 +136,5 @@ const Y = ({
140
136
  ] });
141
137
  };
142
138
  export {
143
- Y as default
139
+ z as default
144
140
  };
@@ -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 s } 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 u } from "../../../../Box-B0YSYLco.js";
7
- const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { children: [
1
+ import { jsxs as t, Fragment as d, jsx as e } from "react/jsx-runtime";
2
+ import { Typography as n, Stack as r, Box as s } from "@mui/material";
3
+ import o from "../../Shared/Button/index.js";
4
+ import { USERNAME_SUFFIX as u } from "../../../../util/constants.js";
5
+ const l = ({ label: i, value: a }) => /* @__PURE__ */ t(s, { children: [
8
6
  /* @__PURE__ */ e(
9
7
  "label",
10
8
  {
@@ -13,18 +11,18 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { 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
- ] }), v = ({
21
- loader: r,
17
+ /* @__PURE__ */ e(n, { variant: "md", children: a })
18
+ ] }), S = ({
19
+ loader: i,
22
20
  registerInfo: a,
23
- setCurrentStep: n,
21
+ setCurrentStep: m,
24
22
  initRegister: c
25
- }) => /* @__PURE__ */ i(d, { children: [
26
- /* @__PURE__ */ e(m, { variant: "lg", fontWeight: "500", children: "Before proceeding, please check and confirm your personal information" }),
27
- /* @__PURE__ */ i(o, { direction: "column", gap: 2, children: [
23
+ }) => /* @__PURE__ */ t(d, { children: [
24
+ /* @__PURE__ */ e(n, { variant: "lg", fontWeight: "500", children: "Before proceeding, please check and confirm your personal information" }),
25
+ /* @__PURE__ */ t(r, { direction: "column", gap: 2, children: [
28
26
  /* @__PURE__ */ e(l, { label: "First Name", value: a.firstName }),
29
27
  /* @__PURE__ */ e(l, { label: "Last Name", value: a.lastName }),
30
28
  /* @__PURE__ */ e(l, { label: "Mobile Number", value: "+1" + a.phone }),
@@ -33,23 +31,23 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { children: [
33
31
  l,
34
32
  {
35
33
  label: "Storename",
36
- value: a.storeName + s
34
+ value: a.storeName + u
37
35
  }
38
36
  ),
39
37
  /* @__PURE__ */ e(
40
- t,
38
+ o,
41
39
  {
42
- isLoading: r,
43
- disabled: r,
40
+ isLoading: i,
41
+ disabled: i,
44
42
  onClick: c,
45
43
  children: "Submit"
46
44
  }
47
45
  ),
48
- /* @__PURE__ */ e(o, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
49
- t,
46
+ /* @__PURE__ */ e(r, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
47
+ o,
50
48
  {
51
49
  isText: !0,
52
- onClick: () => n(2),
50
+ onClick: () => m(2),
53
51
  sx: { fontWeight: 500, padding: 0 },
54
52
  customSize: "small",
55
53
  children: "Go back and edit"
@@ -58,5 +56,5 @@ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { children: [
58
56
  ] })
59
57
  ] });
60
58
  export {
61
- v as default
59
+ S as default
62
60
  };