everest-npm-features 0.0.60 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
  13. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
  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 +9 -9
  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 -54
  51. package/dist/components/Shared/FullKyc/index.js +13 -12
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -14
  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.js +34 -38
  63. package/dist/components/Wallet/Account/eWallet.js +35 -39
  64. package/dist/components/Wallet/Account/iban.js +49 -53
  65. package/dist/components/Wallet/Account/ibanItem.js +70 -76
  66. package/dist/components/Wallet/Account/index.js +68 -76
  67. package/dist/components/Wallet/Account/sendIban.js +79 -88
  68. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
  69. package/dist/components/Wallet/Buy/form.js +8 -18
  70. package/dist/components/Wallet/Buy/index.js +6 -6
  71. package/dist/components/Wallet/Deposit/index.js +16 -19
  72. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
  73. package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
  74. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  76. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  77. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
  79. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
  80. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  81. package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
  82. package/dist/components/Wallet/History/index.js +23 -797
  83. package/dist/components/Wallet/Home/index.js +13 -14
  84. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
  85. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  86. package/dist/components/Wallet/Portfolio/index.js +48 -52
  87. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  88. package/dist/components/Wallet/Profile/documents.js +125 -134
  89. package/dist/components/Wallet/Profile/index.js +38 -44
  90. package/dist/components/Wallet/Profile/storage.js +39 -47
  91. package/dist/components/Wallet/Receive/index.js +32 -37
  92. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
  93. package/dist/components/Wallet/Sell/form.js +8 -18
  94. package/dist/components/Wallet/Sell/index.js +6 -6
  95. package/dist/components/Wallet/Send/index.js +336 -324
  96. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  97. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  98. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  99. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
  100. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  101. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  102. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  103. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  104. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  105. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  106. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  107. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  108. package/dist/components/Wallet/Shared/addBank.js +41 -46
  109. package/dist/components/Wallet/Shared/appButton.js +11 -15
  110. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  111. package/dist/components/Wallet/Shared/button.js +7 -7
  112. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  113. package/dist/components/Wallet/Shared/inputField.js +5 -5
  114. package/dist/components/Wallet/Shared/manualSend.js +9 -14
  115. package/dist/components/Wallet/Shared/noData.js +4 -5
  116. package/dist/components/Wallet/Shared/pin.js +25 -27
  117. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  118. package/dist/components/Wallet/Shared/step.js +12 -13
  119. package/dist/components/Wallet/Shared/timer.js +1 -1
  120. package/dist/components/Wallet/SignIn/index.js +17 -17
  121. package/dist/components/Wallet/SignUp/index.js +63 -153
  122. package/dist/components/Wallet/SignUp/terms.js +1 -1
  123. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  124. package/dist/components/Wallet/Stake/id/index.js +73 -81
  125. package/dist/components/Wallet/Stake/index.js +65 -69
  126. package/dist/components/Wallet/Swap/form.js +11 -21
  127. package/dist/components/Wallet/Swap/index.js +5 -5
  128. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  129. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  130. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  131. package/dist/components/Wallet/Withdraw/form.js +6 -17
  132. package/dist/components/Wallet/Withdraw/index.js +5 -5
  133. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  134. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  135. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  136. package/dist/hoc/withThemeProvider.js +5 -732
  137. package/dist/hooks/useDialog/index.js +22 -23
  138. package/dist/hooks/useRrDialog/index.js +43 -46
  139. package/dist/hooks/useSnackBar.js +24 -696
  140. package/dist/icons/buyIcon.js +1 -1
  141. package/dist/icons/canceledBuyIcon.js +1 -1
  142. package/dist/icons/canceledRedeemIcon.js +1 -1
  143. package/dist/icons/failedBuyIcon.js +2 -2
  144. package/dist/icons/failedRedeemIcon.js +2 -2
  145. package/dist/icons/pendingBuyIcon.js +1 -1
  146. package/dist/icons/pendingRedeemIcon.js +1 -1
  147. package/dist/icons/redeemIcon.js +1 -1
  148. package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
  149. package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
  150. package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
  151. package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
  152. package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
  153. package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
  154. package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
  155. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  156. package/dist/main.js +7 -7
  157. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  158. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  159. package/dist/otpForm-fiNqeB5H.js +7378 -0
  160. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  161. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  162. package/dist/tooltip-BW0UyWw7.js +2129 -0
  163. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  164. package/package.json +6 -6
  165. package/dist/Alert-DzsbFW3-.js +0 -369
  166. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  167. package/dist/Avatar-1XklXr4O.js +0 -281
  168. package/dist/Backdrop-CioURPVG.js +0 -359
  169. package/dist/Box-B0YSYLco.js +0 -59
  170. package/dist/Button-Df4vgU24.js +0 -663
  171. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  172. package/dist/CardContent-D9wTdpu-.js +0 -141
  173. package/dist/CircularProgress-xZA3lvba.js +0 -252
  174. package/dist/Close-CxzDL3J-.js +0 -9
  175. package/dist/Container-urNKV7hm.js +0 -181
  176. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  177. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  178. package/dist/DialogContent-BMwlOnbW.js +0 -567
  179. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  180. package/dist/Divider-BShhMFf4.js +0 -297
  181. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  182. package/dist/FormControl-RtZDQMdA.js +0 -258
  183. package/dist/FormControlLabel-BliKW48y.js +0 -519
  184. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  185. package/dist/Grid-CFe3amXO.js +0 -410
  186. package/dist/Grow-CnGtel3u.js +0 -196
  187. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  188. package/dist/IconButton-DHm-hucF.js +0 -297
  189. package/dist/InputAdornment-DMiED3JH.js +0 -173
  190. package/dist/Link-DBA9Yifs.js +0 -266
  191. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  192. package/dist/Menu-DLYFFrEk.js +0 -1239
  193. package/dist/MenuItem-DUdYOJr4.js +0 -271
  194. package/dist/Modal-CFIQ_s3T.js +0 -743
  195. package/dist/Paper-Bgt2WXI6.js +0 -186
  196. package/dist/Popper-BBAoiZKn.js +0 -1409
  197. package/dist/Portal-BMAxiQwe.js +0 -69
  198. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  199. package/dist/Select-CB5yWmyn.js +0 -1886
  200. package/dist/Slide-B9Nw0LZ4.js +0 -235
  201. package/dist/Stack-k55YTxET.js +0 -172
  202. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  203. package/dist/TextField-DPpRUQe3.js +0 -978
  204. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  205. package/dist/Typography-pAaje37G.js +0 -260
  206. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  207. package/dist/clsx-BTaloaeC.js +0 -264
  208. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  209. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  210. package/dist/createTheme-CD19zQB7.js +0 -3825
  211. package/dist/debounce-46wSf_lW.js +0 -15
  212. package/dist/defaultTheme-C35y5cLB.js +0 -5
  213. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  214. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  215. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  216. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  217. package/dist/exactProp-C1Lmtwf_.js +0 -13
  218. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  219. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  220. package/dist/index-B0Z-Gjno.js +0 -22
  221. package/dist/index-DUcLo3x5.js +0 -43
  222. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  223. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  224. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  225. package/dist/memoTheme-yHaPezod.js +0 -15
  226. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  227. package/dist/radioButton-CzlYB0Lh.js +0 -402
  228. package/dist/refType-BsTH3qnM.js +0 -56
  229. package/dist/tooltip-3UvETWtS.js +0 -740
  230. package/dist/useControlled-nm4pBabJ.js +0 -31
  231. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  232. package/dist/useFormControl-CatNKXAi.js +0 -10
  233. package/dist/useId-CK6Kn3Tn.js +0 -21
  234. package/dist/useSlot-CW7SOYlh.js +0 -125
  235. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  236. package/dist/useTheme-BQJ5lp0i.js +0 -11
  237. package/dist/useTheme-S5_DHFsQ.js +0 -17
  238. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -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-DREDnCMu.js";
6
- import { g as y } from "../../../../auth-WhDJHZtr.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-DrmtdI1J.js";
7
+ import { i as v } from "../../../../auth-DTJdu6mq.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-DREDnCMu.js";
6
- import { g as w } from "../../../../auth-WhDJHZtr.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-DrmtdI1J.js";
7
+ import { i as T } from "../../../../auth-DTJdu6mq.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
  };
@@ -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
  initReSendOtp: 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: p,
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
  };
@@ -1,29 +1,28 @@
1
- import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
- import "../../../constants-DREDnCMu.js";
3
- import { a as T } from "../../../order-DGBbo_Ox.js";
4
- import k from "../Shared/Button/index.js";
5
- import v from "../../Shared/HistoryItem/index.js";
6
- import { u as L } from "../../../react-redux-C7I9-1M6.js";
7
- import { useState as n, useEffect as c } from "react";
1
+ import { jsxs as x, Fragment as n, jsx as t } from "react/jsx-runtime";
2
+ import "../../../constants-DrmtdI1J.js";
3
+ import { a as k } from "../../../order-DEp_Lmar.js";
4
+ import { Typography as s, Stack as c } from "@mui/material";
5
+ import v from "../Shared/Button/index.js";
6
+ import L from "../../Shared/HistoryItem/index.js";
7
+ import { u as T } from "../../../react-redux-C7I9-1M6.js";
8
+ import { useState as m, useEffect as d } from "react";
8
9
  import P from "../../../hoc/withThemeProvider.js";
9
10
  import R from "../Shared/backBtn.js";
10
- import S from "../../../hooks/useEverestDispatch.js";
11
- import { T as m } from "../../../Typography-pAaje37G.js";
12
- import { S as d } from "../../../Stack-k55YTxET.js";
13
- const j = ({ navigate: l }) => {
14
- const p = S(), o = L((r) => r.order), s = o.list, f = o.loader, h = o.totalPages, [e, g] = n(1), [a, u] = n([]);
15
- return c(() => {
16
- p(T(e));
17
- }, [e]), c(() => {
18
- u((r) => [...r, ...s]);
19
- }, [s]), /* @__PURE__ */ x(i, { children: [
11
+ import j from "../../../hooks/useEverestDispatch.js";
12
+ const B = ({ navigate: l }) => {
13
+ const p = j(), o = T((r) => r.order), i = o.list, h = o.loader, f = o.totalPages, [e, g] = m(1), [a, u] = m([]);
14
+ return d(() => {
15
+ p(k(e));
16
+ }, [e]), d(() => {
17
+ u((r) => [...r, ...i]);
18
+ }, [i]), /* @__PURE__ */ x(n, { children: [
20
19
  /* @__PURE__ */ t(R, { onClickHandler: () => l("/dashboard") }),
21
- /* @__PURE__ */ t(m, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
22
- /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(i, { children: a.map((r, y) => /* @__PURE__ */ t(v, { data: r }, y)) }) : /* @__PURE__ */ t(m, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
23
- a.length > 0 && h > e && /* @__PURE__ */ t(d, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
24
- k,
20
+ /* @__PURE__ */ t(s, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
21
+ /* @__PURE__ */ t(c, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(n, { children: a.map((r, y) => /* @__PURE__ */ t(L, { data: r }, y)) }) : /* @__PURE__ */ t(s, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
22
+ a.length > 0 && f > e && /* @__PURE__ */ t(c, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
23
+ v,
25
24
  {
26
- isLoading: f,
25
+ isLoading: h,
27
26
  variant: "outlined",
28
27
  onClick: () => g((r) => r + 1),
29
28
  sx: {
@@ -33,7 +32,7 @@ const j = ({ navigate: l }) => {
33
32
  }
34
33
  ) })
35
34
  ] });
36
- }, W = P(j);
35
+ }, M = P(B);
37
36
  export {
38
- W as default
37
+ M as default
39
38
  };
@@ -1,26 +1,24 @@
1
- import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
- import { c as i } from "../../../countries-BVn1FubK.js";
3
- import { A as m } from "../../../Autocomplete-CE-OI2t8.js";
4
- import { T as l } from "../../../TextField-DPpRUQe3.js";
5
- import { B as c } from "../../../Box-B0YSYLco.js";
6
- const w = ({
7
- value: n,
8
- onChange: e,
1
+ import { jsx as n, jsxs as s } from "react/jsx-runtime";
2
+ import { Autocomplete as i, TextField as l, Box as m } from "@mui/material";
3
+ import { c } from "../../../countries-BVn1FubK.js";
4
+ const x = ({
5
+ value: e,
6
+ onChange: r,
9
7
  label: p,
10
8
  ...a
11
- }) => /* @__PURE__ */ r(
12
- m,
9
+ }) => /* @__PURE__ */ n(
10
+ i,
13
11
  {
14
12
  sx: { mt: 2 },
15
- value: n,
16
- onChange: (o, t) => e(t),
17
- options: i,
13
+ value: e,
14
+ onChange: (o, t) => r(t),
15
+ options: c,
18
16
  isOptionEqualToValue: (o, t) => o.alpha3 === (t == null ? void 0 : t.alpha3),
19
17
  getOptionLabel: (o) => o.name,
20
18
  autoHighlight: !0,
21
19
  openOnFocus: !0,
22
- renderOption: (o, t) => /* @__PURE__ */ s(c, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...o, children: [
23
- /* @__PURE__ */ r(
20
+ renderOption: (o, t) => /* @__PURE__ */ s(m, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...o, children: [
21
+ /* @__PURE__ */ n(
24
22
  "img",
25
23
  {
26
24
  loading: "lazy",
@@ -35,7 +33,7 @@ const w = ({
35
33
  t.alpha3,
36
34
  ")"
37
35
  ] }),
38
- renderInput: (o) => /* @__PURE__ */ r(
36
+ renderInput: (o) => /* @__PURE__ */ n(
39
37
  l,
40
38
  {
41
39
  ...o,
@@ -50,5 +48,5 @@ const w = ({
50
48
  }
51
49
  );
52
50
  export {
53
- w as default
51
+ x as default
54
52
  };