everest-npm-features 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/Alert-BtAF4uo6.js +342 -0
  2. package/dist/{ArrowDropDown-DRUQbGft.js → ArrowDropDown-HhWGPJLx.js} +1 -1
  3. package/dist/{ArrowRight-t-YgAHUn.js → ArrowRight-D1Uf-LL_.js} +1 -1
  4. package/dist/{Box-BOgpENcC.js → Box-Bt8cGqC7.js} +4 -4
  5. package/dist/{Button-DXdgxFxa.js → Button-S_vW7i_8.js} +4 -4
  6. package/dist/{ButtonBase-AOLUTpPg.js → ButtonBase-ILHWXvZi.js} +5 -5
  7. package/dist/{Cancel-kWZwZbQf.js → Cancel-5JDQ2Kc0.js} +1 -1
  8. package/dist/{CardContent-DEA5pnhr.js → CardContent-BLsvyJUZ.js} +3 -3
  9. package/dist/CheckCircle-Czm8oSt7.js +8 -0
  10. package/dist/{CircularProgress-BAEiXRSn.js → CircularProgress-DYCklg37.js} +3 -3
  11. package/dist/{Close-mXCsZSxZ.js → Close-BMBeNE5d.js} +1 -1
  12. package/dist/{Container-BOehNoF1.js → Container-Htc6vdB5.js} +4 -4
  13. package/dist/{ContentCopy-HD_Xx6nx.js → ContentCopy-C-P8eJzn.js} +1 -1
  14. package/dist/{DefaultPropsProvider-DmUB0SYC.js → DefaultPropsProvider-BV5W_lW_.js} +3 -3
  15. package/dist/{DefaultPropsProvider-tqUom3mB.js → DefaultPropsProvider-CMlwfX3T.js} +1 -1
  16. package/dist/{Delete-BbHDZPfy.js → Delete-Dfs1xFC1.js} +1 -1
  17. package/dist/{DialogContent-zttWtNJM.js → DialogContent-BgKUjL4i.js} +6 -6
  18. package/dist/{DialogTitle-BqL8DXBp.js → DialogTitle-1A1JxHKy.js} +4 -4
  19. package/dist/{Divider-EGEkrkBH.js → Divider-CeyW_GlS.js} +3 -3
  20. package/dist/{FormControl-Nd-4LC8N.js → FormControl-CKGUH1ax.js} +3 -3
  21. package/dist/{FormControlLabel-BMeMEwyK.js → FormControlLabel-Do2nmNuE.js} +7 -7
  22. package/dist/{GlobalStyles-CModZHM-.js → GlobalStyles-BUcuFXdM.js} +2 -2
  23. package/dist/{Grid-EISqvBSJ.js → Grid-LdrR4mx1.js} +5 -5
  24. package/dist/{Grid2-B0mJbwjl.js → Grid2-IYppkw5f.js} +6 -6
  25. package/dist/{Grow-dkRwE_ok.js → Grow-Cl5q_s4E.js} +5 -5
  26. package/dist/{IconButton-DAR3jsEV.js → IconButton-DJRmyJ7l.js} +3 -3
  27. package/dist/{Info-CkE3Gsf2.js → Info-DTcjrneu.js} +1 -1
  28. package/dist/{InputAdornment-DZJP9Njd.js → InputAdornment-HG4f5A6g.js} +3 -3
  29. package/dist/Link-BoX8sDwo.js +263 -0
  30. package/dist/{ListItemIcon-JAntieDc.js → ListItemIcon-SEyOLp6t.js} +4 -4
  31. package/dist/{MenuItem-D12FP5Iq.js → MenuItem-DI0pq5k0.js} +6 -6
  32. package/dist/{Modal-DceAu_d2.js → Modal-DXE_7QA2.js} +9 -9
  33. package/dist/{Paper-L8ipwfkc.js → Paper-B2H6ZIFg.js} +3 -3
  34. package/dist/{PlayArrow-Dwss80PJ.js → PlayArrow-DNFHtcCO.js} +6 -6
  35. package/dist/{Portal-DxdKGEvu.js → Portal-lSfc4EZw.js} +3 -3
  36. package/dist/{Select-DTQDmdn_.js → Select-Bs7YLhIQ.js} +15 -15
  37. package/dist/{Slide-CWqC2RDG.js → Slide-BjOaaE2D.js} +4 -4
  38. package/dist/{Stack-CkCveRRR.js → Stack-Ce-OQAtj.js} +5 -5
  39. package/dist/{TextField-BqIvz6Zw.js → TextField-D4JEGFa0.js} +7 -7
  40. package/dist/{Typography-Dx54MRM5.js → Typography-Du8mj1kr.js} +3 -3
  41. package/dist/assets/index10.css +1 -1
  42. package/dist/assets/index11.css +1 -1
  43. package/dist/assets/index12.css +1 -0
  44. package/dist/assets/index8.css +1 -1
  45. package/dist/assets/index9.css +1 -1
  46. package/dist/auth-Czk2iJ8q.js +58 -0
  47. package/dist/{bank-CRy2oyUW.js → bank-D37HPNrs.js} +1 -1
  48. package/dist/components/Account/index.js +15 -15
  49. package/dist/components/History/index.js +13 -13
  50. package/dist/components/MoveToEthereumOrEverChain/index.js +31 -31
  51. package/dist/components/Profile/documents.js +16 -16
  52. package/dist/components/Profile/index.js +13 -13
  53. package/dist/components/Receive/index.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
  55. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  56. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +17 -0
  57. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +16 -0
  58. package/dist/components/RocketRamp/Player/Buy/form.js +26 -0
  59. package/dist/components/RocketRamp/{Buy → Player/Buy}/index.d.ts +1 -1
  60. package/dist/components/RocketRamp/Player/Buy/index.js +35 -0
  61. package/dist/components/RocketRamp/{Buy → Player/Buy}/types.d.ts +2 -2
  62. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.js +8 -8
  63. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.d.ts +1 -1
  64. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.js +15 -17
  65. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.js +6 -6
  66. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +3 -0
  67. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +20 -0
  68. package/dist/components/RocketRamp/Player/Sell/form.d.ts +3 -0
  69. package/dist/components/RocketRamp/Player/Sell/form.js +26 -0
  70. package/dist/components/RocketRamp/Player/Sell/index.d.ts +7 -0
  71. package/dist/components/RocketRamp/Player/Sell/index.js +36 -0
  72. package/dist/components/RocketRamp/Player/Sell/types.d.ts +35 -0
  73. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.d.ts +1 -1
  74. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.js +9 -9
  75. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.js +8 -8
  76. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.js +12 -12
  77. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/email.d.ts +1 -1
  78. package/dist/components/RocketRamp/Player/SignUp/email.js +73 -0
  79. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.d.ts +1 -1
  80. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.js +26 -24
  81. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/personalInfo.d.ts +1 -1
  82. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +165 -0
  83. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.js +4 -4
  84. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/types.d.ts +2 -0
  85. package/dist/components/RocketRamp/Player/SignUp/types.js +1 -0
  86. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.js +6 -6
  87. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  88. package/dist/components/RocketRamp/Shared/Input/index.d.ts +2 -1
  89. package/dist/components/RocketRamp/Shared/Input/index.js +25 -23
  90. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  91. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  92. package/dist/components/RocketRamp/Store/Dashboard/balance.d.ts +9 -0
  93. package/dist/components/RocketRamp/Store/Dashboard/balance.js +75 -0
  94. package/dist/components/RocketRamp/Store/Dashboard/index.d.ts +5 -0
  95. package/dist/components/RocketRamp/Store/Dashboard/index.js +64 -0
  96. package/dist/components/RocketRamp/Store/Dashboard/transaction.d.ts +8 -0
  97. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +28 -0
  98. package/dist/components/RocketRamp/Store/SignUp/index.d.ts +3 -0
  99. package/dist/components/RocketRamp/Store/SignUp/index.js +158 -0
  100. package/dist/components/RocketRamp/Store/SignUp/personalInfo.d.ts +3 -0
  101. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +164 -0
  102. package/dist/components/RocketRamp/Store/SignUp/storeInfo.d.ts +3 -0
  103. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +136 -0
  104. package/dist/components/RocketRamp/Store/SignUp/summary.d.ts +3 -0
  105. package/dist/components/RocketRamp/Store/SignUp/summary.js +55 -0
  106. package/dist/components/RocketRamp/Store/SignUp/types.d.ts +49 -0
  107. package/dist/components/RocketRamp/Store/SignUp/types.js +1 -0
  108. package/dist/components/RocketRamp/Store/SignUp/validateEmail.d.ts +3 -0
  109. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +100 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  111. package/dist/components/Send/index.js +14 -14
  112. package/dist/components/Shared/ConnectWallet/index.js +10 -10
  113. package/dist/components/Shared/HistoryItem/index.js +58 -56
  114. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  115. package/dist/components/Shared/TokenModal/index.js +11 -11
  116. package/dist/components/Shared/TokenModal/tokenGrid.js +4 -4
  117. package/dist/components/Shared/addBank.js +10 -10
  118. package/dist/components/Shared/button.js +1 -1
  119. package/dist/components/Shared/connectPlaidBank.js +5 -5
  120. package/dist/components/Shared/incode.js +9 -9
  121. package/dist/components/Shared/inputField.js +1 -1
  122. package/dist/components/Shared/noData.js +2 -2
  123. package/dist/components/Shared/pin.js +3 -3
  124. package/dist/components/Shared/step.js +2 -2
  125. package/dist/components/Shared/tooltip.js +77 -77
  126. package/dist/components/Shared/transition.js +1 -1
  127. package/dist/components/SignIn/index.js +15 -15
  128. package/dist/components/SignUp/index.js +4 -4
  129. package/dist/components/SignUp/pin.js +10 -10
  130. package/dist/components/SignUp/privacy.js +2 -2
  131. package/dist/components/SignUp/terms.js +2 -2
  132. package/dist/components/SignUp/userInfo.js +3 -3
  133. package/dist/components/Stake/gems/index.js +10 -10
  134. package/dist/components/Stake/id/index.js +11 -11
  135. package/dist/components/Stake/index.js +9 -9
  136. package/dist/components/Swap/index.js +14 -14
  137. package/dist/components/SwapAndUniSwap/index.js +3 -3
  138. package/dist/components/WalletPortfolio/index.js +14 -14
  139. package/dist/components/WalletPortfolio/tokenRow.js +6 -6
  140. package/dist/{constants-Bg2zYFVK.js → constants-Bb9tNMO0.js} +336 -332
  141. package/dist/{createSvgIcon-jkXneOQN.js → createSvgIcon-DhzhBkIq.js} +2 -2
  142. package/dist/{createTheme-F9Dk4FhK.js → createTheme-BYjetuXd.js} +3 -3
  143. package/dist/defaultTheme-BauSyTuG.js +5 -0
  144. package/dist/{dividerClasses-SUAUDDqL.js → dividerClasses-DxWPaPyZ.js} +2 -2
  145. package/dist/{documents-BGFSTan8.js → documents-DvBUIEko.js} +26 -26
  146. package/dist/{elementTypeAcceptingRef-BufevUW8.js → elementTypeAcceptingRef-BPeKuzZ8.js} +1 -1
  147. package/dist/{emotion-react.browser.esm-CI0uV1W5.js → emotion-react.browser.esm-GqNZEJqq.js} +2 -2
  148. package/dist/{extendSxProp-Cm2UBzGf.js → extendSxProp-Ydv2_GZV.js} +1 -1
  149. package/dist/fiatAssets-Dymvf3Le.js +8 -0
  150. package/dist/hoc/withThemeProvider.js +5 -5
  151. package/dist/hooks/useDialog/index.js +4 -4
  152. package/dist/hooks/useRrDialog/index.js +4 -4
  153. package/dist/hooks/useSnackBar.js +292 -625
  154. package/dist/icons/buyIcon.js +1 -1
  155. package/dist/icons/canceledBuyIcon.js +1 -1
  156. package/dist/icons/canceledRedeemIcon.js +1 -1
  157. package/dist/icons/failedBuyIcon.js +1 -1
  158. package/dist/icons/failedRedeemIcon.js +1 -1
  159. package/dist/icons/pendingBuyIcon.js +1 -1
  160. package/dist/icons/pendingRedeemIcon.js +1 -1
  161. package/dist/icons/redeemIcon.js +1 -1
  162. package/dist/{index-BJlsh9ro.js → index-BiAKQoFR.js} +1 -1
  163. package/dist/{index-zP3Vu4Cl.js → index-CMHIKDWK.js} +127 -129
  164. package/dist/{index-_kqRfgnc.js → index-CrpPVKHn.js} +5 -5
  165. package/dist/index-DYCdRrDV.js +670 -0
  166. package/dist/main.d.ts +6 -4
  167. package/dist/main.js +21 -17
  168. package/dist/order-DMts-8Nr.js +30 -0
  169. package/dist/{ownerWindow-C-760D__.js → ownerWindow-mVfGbIa3.js} +1 -1
  170. package/dist/{resolveComponentProps-BdTgLKBb.js → resolveComponentProps-q6q4ysGz.js} +1 -1
  171. package/dist/{stake-CQWZT4ug.js → stake-BRmggIPz.js} +1 -1
  172. package/dist/store.d.ts +3 -1
  173. package/dist/styled-wRBkgUU9.js +5 -0
  174. package/dist/{tokenRow-CgnPD-4U.js → tokenRow-g9IBe02c.js} +5 -5
  175. package/dist/{useSlot-DaP6eodX.js → useSlot-D3uYAK6m.js} +1 -1
  176. package/dist/useTheme-CqTIiZp7.js +9 -0
  177. package/dist/{useTheme-c0OHvtiA.js → useTheme-D5is61S1.js} +3 -3
  178. package/dist/{useThemeProps-CV9AmzHf.js → useThemeProps-PA8LTWC3.js} +4 -4
  179. package/dist/{useThemeWithoutDefault-D8MaPbCK.js → useThemeWithoutDefault-Dka2QjJP.js} +1 -1
  180. package/dist/{useTimeout-D29bZ7Gz.js → useTimeout-Bcu0-_W1.js} +3 -3
  181. package/dist/user-CsPLUenD.js +24 -0
  182. package/dist/util/functions.d.ts +1 -0
  183. package/dist/util/functions.js +9 -2
  184. package/dist/{utils-EFg3So7T.js → utils-gxE2aXKK.js} +1 -1
  185. package/dist/{wallet-CmeFL8-U.js → wallet-Dfn4nFOn.js} +12 -12
  186. package/package.json +2 -2
  187. package/dist/auth-NmISGQ2S.js +0 -46
  188. package/dist/components/RocketRamp/Buy/cardPayment.js +0 -17
  189. package/dist/components/RocketRamp/Buy/confirmTransaction.js +0 -16
  190. package/dist/components/RocketRamp/Buy/form.js +0 -26
  191. package/dist/components/RocketRamp/Buy/index.js +0 -34
  192. package/dist/components/RocketRamp/SignUp/email.js +0 -70
  193. package/dist/components/RocketRamp/SignUp/personalInfo.js +0 -415
  194. package/dist/defaultTheme-Bc00Q3Kt.js +0 -5
  195. package/dist/order-CtACU1eX.js +0 -27
  196. package/dist/styled-BTIMwpiX.js +0 -5
  197. package/dist/useTheme-BghcbbEW.js +0 -9
  198. package/dist/user-Djw_k_OF.js +0 -24
  199. /package/dist/components/RocketRamp/{Buy → Player/Buy}/cardPayment.d.ts +0 -0
  200. /package/dist/components/RocketRamp/{Buy → Player/Buy}/confirmTransaction.d.ts +0 -0
  201. /package/dist/components/RocketRamp/{Buy → Player/Buy}/form.d.ts +0 -0
  202. /package/dist/components/RocketRamp/{Buy → Player/Buy}/types.js +0 -0
  203. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.d.ts +0 -0
  204. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.d.ts +0 -0
  205. /package/dist/components/RocketRamp/{SignIn → Player/Sell}/types.js +0 -0
  206. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.d.ts +0 -0
  207. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.d.ts +0 -0
  208. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/types.d.ts +0 -0
  209. /package/dist/components/RocketRamp/{SignUp → Player/SignIn}/types.js +0 -0
  210. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.d.ts +0 -0
  211. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.d.ts +0 -0
@@ -0,0 +1,164 @@
1
+ import { jsxs as i, Fragment as T, jsx as r } from "react/jsx-runtime";
2
+ import { useState as d } from "react";
3
+ import B from "../../Shared/Button/index.js";
4
+ import s from "../../Shared/Input/index.js";
5
+ import "../../../../constants-Bb9tNMO0.js";
6
+ import { f as b } from "../../../../auth-Czk2iJ8q.js";
7
+ import { isValidEmail as L } from "../../../../util/functions.js";
8
+ import { T as v } from "../../../../Typography-Du8mj1kr.js";
9
+ import { B as S } from "../../../../Box-Bt8cGqC7.js";
10
+ import { S as W } from "../../../../Stack-Ce-OQAtj.js";
11
+ import { I as g } from "../../../../InputAdornment-HG4f5A6g.js";
12
+ import { F as j } from "../../../../FormControl-CKGUH1ax.js";
13
+ import { F, C as E } from "../../../../FormControlLabel-Do2nmNuE.js";
14
+ import { L as q } from "../../../../Link-BoX8sDwo.js";
15
+ const Y = ({
16
+ showAlertMessage: o,
17
+ loader: c,
18
+ registerInfo: e,
19
+ setRegisterInfo: y,
20
+ setCurrentStep: N,
21
+ dispatch: h,
22
+ validationError: t,
23
+ validationField: l
24
+ }) => {
25
+ const [p, P] = d(!1), [m, C] = d({
26
+ firstName: !1,
27
+ lastName: !1,
28
+ phone: !1,
29
+ email: !1
30
+ }), n = (a, f) => {
31
+ a === "phone" && !/^\d*$/.test(f) || (y((u) => ({
32
+ ...u,
33
+ [a]: f
34
+ })), C((u) => ({
35
+ ...u,
36
+ [a]: !0
37
+ })));
38
+ }, k = (a) => {
39
+ if (a.preventDefault(), !e.firstName)
40
+ return o({ message: "Please provide your name." }), !1;
41
+ if (!e.lastName)
42
+ return o({ message: "Please provide your surname." }), !1;
43
+ if (!e.phone)
44
+ return o({ message: "Please provide your mobile number." }), !1;
45
+ if (!e.email)
46
+ return o({ message: "Please provide email address." }), !1;
47
+ if (!L(e.email))
48
+ return o({ message: "Please provide valid email address." }), !1;
49
+ if (!p)
50
+ return o({ message: "Please accept the privacy terms." }), !1;
51
+ N(2);
52
+ }, x = () => {
53
+ e.phone && h(
54
+ b({ phone: "+1" + e.phone })
55
+ );
56
+ }, R = () => {
57
+ e.email && h(
58
+ b({
59
+ email: e.email
60
+ })
61
+ );
62
+ };
63
+ return /* @__PURE__ */ i(T, { children: [
64
+ /* @__PURE__ */ i(v, { variant: "3xl", fontWeight: "bold", children: [
65
+ "Ready to join us?",
66
+ /* @__PURE__ */ r("br", {}),
67
+ "Tell us about yourself"
68
+ ] }),
69
+ /* @__PURE__ */ r(v, { variant: "sm", children: "Please, provide the following information:" }),
70
+ /* @__PURE__ */ r(S, { component: "form", onSubmit: k, width: "100%", children: /* @__PURE__ */ i(W, { direction: "column", gap: 2, children: [
71
+ /* @__PURE__ */ r(
72
+ s,
73
+ {
74
+ value: e.firstName,
75
+ label: "First name",
76
+ placeholder: "Enter your name",
77
+ onChange: (a) => n("firstName", a.target.value),
78
+ error: m.firstName && !e.firstName,
79
+ fullWidth: !0
80
+ }
81
+ ),
82
+ /* @__PURE__ */ r(
83
+ s,
84
+ {
85
+ value: e.lastName,
86
+ label: "Last name",
87
+ placeholder: "Enter your surname",
88
+ onChange: (a) => n("lastName", a.target.value),
89
+ error: m.lastName && !e.lastName,
90
+ fullWidth: !0
91
+ }
92
+ ),
93
+ /* @__PURE__ */ r(
94
+ s,
95
+ {
96
+ value: e.phone,
97
+ label: "Mobile number",
98
+ placeholder: "Enter your mobile number",
99
+ onChange: (a) => n("phone", a.target.value),
100
+ onBlur: x,
101
+ error: m.phone && !e.phone || l === "phone" && !!t,
102
+ errorText: l === "phone" ? t : "",
103
+ slotProps: {
104
+ input: {
105
+ startAdornment: /* @__PURE__ */ r(g, { position: "start", children: "+1" })
106
+ }
107
+ }
108
+ }
109
+ ),
110
+ /* @__PURE__ */ r(
111
+ s,
112
+ {
113
+ value: e.email,
114
+ label: "E-mail address",
115
+ onChange: (a) => n("email", a.target.value),
116
+ onBlur: R,
117
+ error: m.email && !e.email || l === "email" && !!t,
118
+ errorText: l === "email" ? t : "",
119
+ fullWidth: !0
120
+ }
121
+ ),
122
+ /* @__PURE__ */ r(j, { error: !p, component: "fieldset", children: /* @__PURE__ */ r(
123
+ F,
124
+ {
125
+ control: /* @__PURE__ */ r(
126
+ E,
127
+ {
128
+ checked: p,
129
+ onChange: () => P((a) => !a),
130
+ color: "primary"
131
+ }
132
+ ),
133
+ label: /* @__PURE__ */ i("span", { children: [
134
+ "I accept the",
135
+ " ",
136
+ /* @__PURE__ */ r(
137
+ q,
138
+ {
139
+ href: "https://www.rocket-ramp.com/page/privacy",
140
+ target: "_blank",
141
+ rel: "noopener noreferrer",
142
+ color: "primary",
143
+ children: "Privacy Terms"
144
+ }
145
+ )
146
+ ] })
147
+ }
148
+ ) }),
149
+ /* @__PURE__ */ r(
150
+ B,
151
+ {
152
+ type: "submit",
153
+ fullWidth: !0,
154
+ disabled: !!t || c,
155
+ isLoading: c,
156
+ children: "Next"
157
+ }
158
+ )
159
+ ] }) })
160
+ ] });
161
+ };
162
+ export {
163
+ Y as default
164
+ };
@@ -0,0 +1,3 @@
1
+ import { StoreInfoProps } from './types';
2
+ declare const StoreInfo: ({ showAlertMessage, loader, validationError, registerInfo, setRegisterInfo, dispatch, setCurrentStep, }: StoreInfoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default StoreInfo;
@@ -0,0 +1,136 @@
1
+ import { jsxs as l, Fragment as N, jsx as e } from "react/jsx-runtime";
2
+ import { useState as v } from "react";
3
+ import d from "../../Shared/Button/index.js";
4
+ import n from "../../Shared/Input/index.js";
5
+ import "../../../../constants-Bb9tNMO0.js";
6
+ import { f as R } from "../../../../auth-Czk2iJ8q.js";
7
+ import { T as c } from "../../../../Typography-Du8mj1kr.js";
8
+ import { A as k } from "../../../../Alert-BtAF4uo6.js";
9
+ import { B as y } from "../../../../Box-Bt8cGqC7.js";
10
+ import { S as p } from "../../../../Stack-Ce-OQAtj.js";
11
+ import { I as u } from "../../../../InputAdornment-HG4f5A6g.js";
12
+ const z = ({
13
+ showAlertMessage: a,
14
+ loader: m,
15
+ validationError: i,
16
+ registerInfo: t,
17
+ setRegisterInfo: f,
18
+ dispatch: h,
19
+ setCurrentStep: s
20
+ }) => {
21
+ const [o, x] = v(""), b = (r) => {
22
+ if (r.preventDefault(), !t.storeName)
23
+ return a({ message: "Please provide store name." }), !1;
24
+ if (!o)
25
+ return a({ message: "Please reconfirm store name." }), !1;
26
+ if (o !== t.storeName)
27
+ return a({
28
+ message: "Store Name & Confirm Store Name doesn't match."
29
+ }), !1;
30
+ s(3);
31
+ }, g = () => {
32
+ t.storeName && h(
33
+ R({
34
+ storename: t.storeName
35
+ })
36
+ );
37
+ };
38
+ return /* @__PURE__ */ l(N, { children: [
39
+ /* @__PURE__ */ e(c, { variant: "lg", fontWeight: "bold", children: "Create a name for your store to activate it." }),
40
+ /* @__PURE__ */ e(c, { 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(y, { component: "form", onSubmit: b, width: "100%", children: /* @__PURE__ */ l(p, { direction: "column", gap: 2, children: [
43
+ /* @__PURE__ */ e(
44
+ n,
45
+ {
46
+ value: t.storeName,
47
+ label: "Store Name",
48
+ placeholder: "Store Name",
49
+ onBlur: g,
50
+ onChange: (r) => f((S) => ({
51
+ ...S,
52
+ storeName: r.target.value
53
+ })),
54
+ error: !!i,
55
+ errorText: i,
56
+ fullWidth: !0
57
+ }
58
+ ),
59
+ /* @__PURE__ */ e(
60
+ n,
61
+ {
62
+ value: t.storeName,
63
+ label: "Store URL Preview",
64
+ slotProps: {
65
+ input: {
66
+ sx: {
67
+ padding: 0
68
+ },
69
+ startAdornment: /* @__PURE__ */ e(
70
+ u,
71
+ {
72
+ sx: {
73
+ backgroundColor: "#f0f0f0",
74
+ border: "1px solid #ccc",
75
+ padding: "27px 15px",
76
+ borderRadius: "4px 0 0 4px"
77
+ },
78
+ position: "start",
79
+ children: "https://"
80
+ }
81
+ ),
82
+ endAdornment: /* @__PURE__ */ e(
83
+ u,
84
+ {
85
+ sx: {
86
+ backgroundColor: "#f0f0f0",
87
+ border: "1px solid #ccc",
88
+ padding: "27px 15px",
89
+ borderRadius: "0 4px 4px 0",
90
+ marginRight: "0px"
91
+ },
92
+ position: "start",
93
+ children: ".rocketramp.everest.org"
94
+ }
95
+ )
96
+ }
97
+ },
98
+ disabled: !0,
99
+ fullWidth: !0
100
+ }
101
+ ),
102
+ /* @__PURE__ */ e(
103
+ n,
104
+ {
105
+ value: o,
106
+ label: "Confirm Store Name",
107
+ placeholder: "Confirm Store Name",
108
+ onChange: (r) => x(r.target.value),
109
+ fullWidth: !0
110
+ }
111
+ ),
112
+ /* @__PURE__ */ e(
113
+ d,
114
+ {
115
+ type: "submit",
116
+ disabled: !t.storeName || !o || !!i || m,
117
+ isLoading: m,
118
+ children: "Next"
119
+ }
120
+ ),
121
+ /* @__PURE__ */ e(p, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
122
+ d,
123
+ {
124
+ isText: !0,
125
+ onClick: () => s(1),
126
+ sx: { fontWeight: 500, padding: 0 },
127
+ customSize: "small",
128
+ children: "Go back and edit"
129
+ }
130
+ ) })
131
+ ] }) })
132
+ ] });
133
+ };
134
+ export {
135
+ z as default
136
+ };
@@ -0,0 +1,3 @@
1
+ import { Summaryprops } from './types';
2
+ declare const Summary: ({ loader, registerInfo, setCurrentStep, initRegister, }: Summaryprops) => import("react/jsx-runtime").JSX.Element;
3
+ export default Summary;
@@ -0,0 +1,55 @@
1
+ import { jsxs as r, Fragment as d, jsx as e } from "react/jsx-runtime";
2
+ import t from "../../Shared/Button/index.js";
3
+ import { T as m } from "../../../../Typography-Du8mj1kr.js";
4
+ import { S as o } from "../../../../Stack-Ce-OQAtj.js";
5
+ import { B as s } from "../../../../Box-Bt8cGqC7.js";
6
+ const l = ({ label: i, value: a }) => /* @__PURE__ */ r(s, { children: [
7
+ /* @__PURE__ */ e(
8
+ "label",
9
+ {
10
+ style: {
11
+ fontSize: "0.75rem",
12
+ fontWeight: 400,
13
+ color: "#1A202C"
14
+ },
15
+ children: i
16
+ }
17
+ ),
18
+ /* @__PURE__ */ e(m, { variant: "md", children: a })
19
+ ] }), S = ({
20
+ loader: i,
21
+ registerInfo: a,
22
+ setCurrentStep: n,
23
+ initRegister: c
24
+ }) => /* @__PURE__ */ r(d, { children: [
25
+ /* @__PURE__ */ e(m, { variant: "lg", fontWeight: "500", children: "Before proceeding, please check and confirm your personal information" }),
26
+ /* @__PURE__ */ r(o, { direction: "column", gap: 2, children: [
27
+ /* @__PURE__ */ e(l, { label: "First Name", value: a.firstName }),
28
+ /* @__PURE__ */ e(l, { label: "Last Name", value: a.lastName }),
29
+ /* @__PURE__ */ e(l, { label: "Mobile Number", value: "+1" + a.phone }),
30
+ /* @__PURE__ */ e(l, { label: "Email Address", value: a.email }),
31
+ /* @__PURE__ */ e(l, { label: "Storename", value: a.storeName }),
32
+ /* @__PURE__ */ e(
33
+ t,
34
+ {
35
+ isLoading: i,
36
+ disabled: i,
37
+ onClick: c,
38
+ children: "Submit"
39
+ }
40
+ ),
41
+ /* @__PURE__ */ e(o, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
42
+ t,
43
+ {
44
+ isText: !0,
45
+ onClick: () => n(2),
46
+ sx: { fontWeight: 500, padding: 0 },
47
+ customSize: "small",
48
+ children: "Go back and edit"
49
+ }
50
+ ) })
51
+ ] })
52
+ ] });
53
+ export {
54
+ S as default
55
+ };
@@ -0,0 +1,49 @@
1
+ import { AuthActionTypes } from 'everest-npm-api';
2
+ import { Dispatch } from 'react';
3
+ export interface SignUpProps {
4
+ navigate: any;
5
+ onRegister: (uuid: string, token: string) => void;
6
+ navigatePath?: string;
7
+ }
8
+ interface RegisterInfo {
9
+ email: string;
10
+ firstName: string;
11
+ lastName: string;
12
+ phone: string;
13
+ storeName: string;
14
+ }
15
+ export interface StoreInfoProps {
16
+ showAlertMessage: any;
17
+ loader: boolean;
18
+ registerInfo: RegisterInfo;
19
+ setRegisterInfo: React.Dispatch<React.SetStateAction<RegisterInfo>>;
20
+ setCurrentStep: (val: number) => void;
21
+ dispatch: Dispatch<AuthActionTypes>;
22
+ validationError: string;
23
+ }
24
+ export interface PersonalInfoProps {
25
+ showAlertMessage: any;
26
+ loader: boolean;
27
+ registerInfo: RegisterInfo;
28
+ dispatch: Dispatch<AuthActionTypes>;
29
+ setRegisterInfo: React.Dispatch<React.SetStateAction<RegisterInfo>>;
30
+ setCurrentStep: (val: number) => void;
31
+ validationError: string;
32
+ validationField: string;
33
+ }
34
+ export interface Summaryprops {
35
+ showAlertMessage: any;
36
+ loader: boolean;
37
+ registerInfo: RegisterInfo;
38
+ setCurrentStep: (val: number) => void;
39
+ initRegister: () => void;
40
+ }
41
+ export interface ValidateEmailProps {
42
+ showAlertMessage: any;
43
+ loader: boolean;
44
+ otpLoader: boolean;
45
+ registerInfo: RegisterInfo;
46
+ initVerifyRegister: (otp: string) => void;
47
+ initReSendOtp: () => void;
48
+ }
49
+ export {};
@@ -0,0 +1,3 @@
1
+ import { ValidateEmailProps } from './types';
2
+ declare const ValidateEmail: ({ showAlertMessage, loader, otpLoader, registerInfo, initVerifyRegister, initReSendOtp, }: ValidateEmailProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default ValidateEmail;
@@ -0,0 +1,100 @@
1
+ import { jsxs as r, Fragment as R, jsx as t } from "react/jsx-runtime";
2
+ 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";
5
+ import { RESEND_EMAIL_TIMER as f } from "../../../../util/constants.js";
6
+ import { T as a } from "../../../../Typography-Du8mj1kr.js";
7
+ import { B as C } from "../../../../Box-Bt8cGqC7.js";
8
+ import { S as d } from "../../../../Stack-Ce-OQAtj.js";
9
+ const _ = ({
10
+ showAlertMessage: o,
11
+ loader: p,
12
+ otpLoader: g,
13
+ registerInfo: v,
14
+ initVerifyRegister: y,
15
+ initReSendOtp: E
16
+ }) => {
17
+ const [e, S] = l(""), [x, c] = l(!1), [n, m] = l(f);
18
+ u(() => {
19
+ if (n === 0) return;
20
+ const i = setInterval(() => {
21
+ m((s) => s - 1);
22
+ }, 1e3);
23
+ return () => clearInterval(i);
24
+ }, [n]), u(() => {
25
+ c(e ? e.length !== 6 : !1);
26
+ }, [e]);
27
+ const T = () => {
28
+ E(), m(f), o({
29
+ message: "A new OTP has been send to the given email address.",
30
+ type: "success",
31
+ duration: 6e3
32
+ });
33
+ }, b = (i) => {
34
+ const s = Math.floor(i / 60), I = i % 60;
35
+ return `${String(s).padStart(2, "0")}:${String(
36
+ I
37
+ ).padStart(2, "0")}`;
38
+ }, k = () => {
39
+ if (!e)
40
+ return o({ message: "Please provide OTP." }), !1;
41
+ if (e.length !== 6)
42
+ return o({ message: "OTP should be 6-digit." }), !1;
43
+ y(e);
44
+ };
45
+ return /* @__PURE__ */ r(R, { children: [
46
+ /* @__PURE__ */ t(a, { variant: "lg", fontWeight: "500", children: "Verify your identity" }),
47
+ /* @__PURE__ */ r(a, { variant: "sm", children: [
48
+ "Please check your email ",
49
+ v.email,
50
+ " and enter the code in the field below within the next 5 minutes."
51
+ ] }),
52
+ /* @__PURE__ */ r(C, { width: "100%", children: [
53
+ /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
54
+ P,
55
+ {
56
+ value: e,
57
+ label: "Enter code",
58
+ placeholder: "Enter code sent via Email",
59
+ onChange: (i) => S(i.target.value),
60
+ inputProps: { maxLength: 6 },
61
+ error: x,
62
+ fullWidth: !0
63
+ }
64
+ ) }),
65
+ /* @__PURE__ */ r(d, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
66
+ /* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
67
+ n > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
68
+ " ",
69
+ "You can ask for another one in ",
70
+ b(n)
71
+ ] }),
72
+ /* @__PURE__ */ t(
73
+ h,
74
+ {
75
+ onClick: T,
76
+ customSize: "medium",
77
+ isText: !0,
78
+ sx: { padding: "0px", height: "2rem" },
79
+ disabled: n > 0,
80
+ isLoading: p,
81
+ children: "Resend Email"
82
+ }
83
+ )
84
+ ] }),
85
+ /* @__PURE__ */ t(d, { direction: "row", spacing: 2, justifyContent: "flex-end", children: /* @__PURE__ */ t(
86
+ h,
87
+ {
88
+ onClick: k,
89
+ fullWidth: !0,
90
+ disabled: !e,
91
+ isLoading: g,
92
+ children: "Confirm"
93
+ }
94
+ ) })
95
+ ] })
96
+ ] });
97
+ };
98
+ export {
99
+ _ as default
100
+ };
@@ -1,14 +1,14 @@
1
1
  import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
- import "../../../constants-Bg2zYFVK.js";
3
- import { o as T } from "../../../order-CtACU1eX.js";
2
+ import "../../../constants-Bb9tNMO0.js";
3
+ import { o as T } from "../../../order-DMts-8Nr.js";
4
4
  import k from "../Shared/Button/index.js";
5
5
  import L from "../../Shared/HistoryItem/index.js";
6
6
  import { u as v, a as P } from "../../../react-redux-B4BZippc.js";
7
7
  import { useState as n, useEffect as c } from "react";
8
8
  import R from "../../../hoc/withThemeProvider.js";
9
9
  import S from "../Shared/backBtn.js";
10
- import { T as m } from "../../../Typography-Dx54MRM5.js";
11
- import { S as d } from "../../../Stack-CkCveRRR.js";
10
+ import { T as m } from "../../../Typography-Du8mj1kr.js";
11
+ import { S as d } from "../../../Stack-Ce-OQAtj.js";
12
12
  const j = ({ navigate: l }) => {
13
13
  const p = v(), r = P((o) => o.order), s = r.list, h = r.loader, f = r.totalPages, [e, g] = n(1), [a, u] = n([]);
14
14
  return c(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as r, Fragment as R, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as a, useEffect as u } from "react";
3
- import { a1 as Ne, a2 as Fe, a3 as Ee, a4 as ze, a5 as Se, a6 as be } from "../../constants-Bg2zYFVK.js";
4
- import { f as Be } from "../../wallet-CmeFL8-U.js";
3
+ import { a6 as Ne, a7 as Fe, a8 as Ee, a9 as ze, aa as Se, ab as be } from "../../constants-Bb9tNMO0.js";
4
+ import { f as Be } from "../../wallet-Dfn4nFOn.js";
5
5
  import { useDialog as Re } from "../../hooks/useDialog/index.js";
6
6
  import { D as we } from "../../dialog-success-BDNJV4Tk.js";
7
7
  import { ETHEREUM_NETWORK as ye, EVER_CHAIN_NETWORK as ve, SYNTHETIC_EUR as J, ID_TOKEN_SYMBOL as Ge } from "../../util/constants.js";
@@ -10,7 +10,7 @@ import "../../axios-BEX6n2A7.js";
10
10
  import { useSnackBar as Xe } from "../../hooks/useSnackBar.js";
11
11
  import "../SignUp/pin.js";
12
12
  import { u as qe, a as w } from "../../react-redux-B4BZippc.js";
13
- import '../../assets/main.css';import '../../assets/index8.css';/* empty css */
13
+ import '../../assets/main.css';import '../../assets/index9.css';/* empty css */
14
14
  import De from "../../hoc/withThemeProvider.js";
15
15
  import { getGweiFromWei as We, getUnFormattedValueFromWei as He, fromHuman as y } from "../../util/conversions.js";
16
16
  import { tokenBalanceDisplay as Qe, getNetworkScanBaseUrl as Ie } from "../../util/functions.js";
@@ -24,17 +24,17 @@ import "../../web3-u4qDZYpo.js";
24
24
  import "../../index-B8QKlEgj.js";
25
25
  import Ke from "../Shared/pin.js";
26
26
  import "../../index-ceeCtFuh.js";
27
- import { B as Le } from "../../Modal-DceAu_d2.js";
28
- import { C as v } from "../../CircularProgress-BAEiXRSn.js";
29
- import { B as x } from "../../Box-BOgpENcC.js";
30
- import { S as Pe } from "../../Slide-CWqC2RDG.js";
31
- import { T as S } from "../../Typography-Dx54MRM5.js";
32
- import { F as E } from "../../FormControl-Nd-4LC8N.js";
33
- import { S as G } from "../../Select-DTQDmdn_.js";
34
- import { M as C } from "../../MenuItem-D12FP5Iq.js";
35
- import { T as Y } from "../../TextField-BqIvz6Zw.js";
36
- import { G as X } from "../../Grid2-B0mJbwjl.js";
37
- import { B as Ze } from "../../Button-DXdgxFxa.js";
27
+ import { B as Le } from "../../Modal-DXE_7QA2.js";
28
+ import { C as v } from "../../CircularProgress-DYCklg37.js";
29
+ import { B as x } from "../../Box-Bt8cGqC7.js";
30
+ import { S as Pe } from "../../Slide-BjOaaE2D.js";
31
+ import { T as S } from "../../Typography-Du8mj1kr.js";
32
+ import { F as E } from "../../FormControl-CKGUH1ax.js";
33
+ import { S as G } from "../../Select-Bs7YLhIQ.js";
34
+ import { M as C } from "../../MenuItem-DI0pq5k0.js";
35
+ import { T as Y } from "../../TextField-D4JEGFa0.js";
36
+ import { G as X } from "../../Grid2-IYppkw5f.js";
37
+ import { B as Ze } from "../../Button-S_vW7i_8.js";
38
38
  const Me = () => ({
39
39
  type: Ne
40
40
  }), Ue = (m) => ({
@@ -2,21 +2,21 @@ import { jsxs as po, jsx as xr, Fragment as O2 } from "react/jsx-runtime";
2
2
  import { useState as T2, useEffect as N2 } from "react";
3
3
  import { E as Ag, s as I7, a as _7, u as P7, W as Mg } from "../../../web3-u4qDZYpo.js";
4
4
  import { a as Gn, c as Ut, g as Ws } from "../../../_commonjsHelpers-BkfeUUK-.js";
5
- import { C as D7 } from "../../../Close-mXCsZSxZ.js";
5
+ import { C as D7 } from "../../../Close-BMBeNE5d.js";
6
6
  import C7 from "../transition.js";
7
7
  import { useSnackBar as O7 } from "../../../hooks/useSnackBar.js";
8
8
  import { k as T7 } from "../../../index-B8QKlEgj.js";
9
9
  import { displayWalletAddress as N7 } from "../../../util/functions.js";
10
10
  import { EVER_CHAIN_NETWORK as R7 } from "../../../util/constants.js";
11
- import { B as Rh } from "../../../Box-BOgpENcC.js";
12
- import { T as R2 } from "../../../Typography-Dx54MRM5.js";
13
- import { B as L7 } from "../../../Button-DXdgxFxa.js";
14
- import { D as k7, a as B7 } from "../../../DialogContent-zttWtNJM.js";
15
- import { I as F7 } from "../../../IconButton-DAR3jsEV.js";
16
- import { T as z7 } from "../../../TextField-BqIvz6Zw.js";
17
- import { G as od } from "../../../Grid2-B0mJbwjl.js";
18
- import { C as U7 } from "../../../CircularProgress-BAEiXRSn.js";
19
- import '../../../assets/index11.css';const q7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11
+ import { B as Rh } from "../../../Box-Bt8cGqC7.js";
12
+ import { T as R2 } from "../../../Typography-Du8mj1kr.js";
13
+ import { B as L7 } from "../../../Button-S_vW7i_8.js";
14
+ import { D as k7, a as B7 } from "../../../DialogContent-BgKUjL4i.js";
15
+ import { I as F7 } from "../../../IconButton-DJRmyJ7l.js";
16
+ import { T as z7 } from "../../../TextField-D4JEGFa0.js";
17
+ import { G as od } from "../../../Grid2-IYppkw5f.js";
18
+ import { C as U7 } from "../../../CircularProgress-DYCklg37.js";
19
+ import '../../../assets/index12.css';const q7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
20
20
  __proto__: null,
21
21
  EventEmitter: Ag,
22
22
  default: Ag