everest-npm-features 0.0.61 → 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 (229) 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-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. 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
6
  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,
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";
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";
5
6
  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 = ({
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";
1
+ import { jsxs as x, Fragment as n, jsx as t } from "react/jsx-runtime";
2
2
  import "../../../constants-DrmtdI1J.js";
3
- import { a as T } from "../../../order-DEp_Lmar.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";
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
  };