everest-npm-features 0.0.7 → 0.0.9

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 (222) hide show
  1. package/dist/Alert-D1uo0xUN.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-DwM6qNzr.js} +4 -4
  6. package/dist/{ButtonBase-AOLUTpPg.js → ButtonBase-Bkt2XiiC.js} +6 -6
  7. package/dist/{Cancel-kWZwZbQf.js → Cancel-5JDQ2Kc0.js} +1 -1
  8. package/dist/{CardContent-DEA5pnhr.js → CardContent-D9I3IU_z.js} +4 -4
  9. package/dist/{CircularProgress-BAEiXRSn.js → CircularProgress-B06C3TSm.js} +4 -4
  10. package/dist/{Close-mXCsZSxZ.js → Close-BMBeNE5d.js} +1 -1
  11. package/dist/{Container-BOehNoF1.js → Container-Htc6vdB5.js} +4 -4
  12. package/dist/{ContentCopy-HD_Xx6nx.js → ContentCopy-C-P8eJzn.js} +1 -1
  13. package/dist/{DefaultPropsProvider-DmUB0SYC.js → DefaultPropsProvider-BV5W_lW_.js} +3 -3
  14. package/dist/{DefaultPropsProvider-tqUom3mB.js → DefaultPropsProvider-CMlwfX3T.js} +1 -1
  15. package/dist/{Delete-BbHDZPfy.js → Delete-Dfs1xFC1.js} +1 -1
  16. package/dist/{DialogContent-zttWtNJM.js → DialogContent-CGAaVPRP.js} +6 -6
  17. package/dist/{DialogTitle-BqL8DXBp.js → DialogTitle-CtNXjsMb.js} +4 -4
  18. package/dist/{Divider-EGEkrkBH.js → Divider-CeyW_GlS.js} +3 -3
  19. package/dist/{FormControl-Nd-4LC8N.js → FormControl-C_Aq5EJK.js} +3 -3
  20. package/dist/{FormControlLabel-BMeMEwyK.js → FormControlLabel-DzW2M9Zf.js} +7 -7
  21. package/dist/{GlobalStyles-CModZHM-.js → GlobalStyles-BUcuFXdM.js} +2 -2
  22. package/dist/{Grid-EISqvBSJ.js → Grid-LdrR4mx1.js} +5 -5
  23. package/dist/{Grid2-B0mJbwjl.js → Grid2-IYppkw5f.js} +6 -6
  24. package/dist/{Grow-dkRwE_ok.js → Grow-BG0VcbVU.js} +6 -6
  25. package/dist/{IconButton-DAR3jsEV.js → IconButton-DS04obIe.js} +4 -4
  26. package/dist/{Info-CkE3Gsf2.js → Info-DTcjrneu.js} +1 -1
  27. package/dist/{InputAdornment-DZJP9Njd.js → InputAdornment-HG4f5A6g.js} +3 -3
  28. package/dist/Link-0ytX5jId.js +263 -0
  29. package/dist/{ListItemIcon-JAntieDc.js → ListItemIcon-DcAQQVML.js} +4 -4
  30. package/dist/{MenuItem-D12FP5Iq.js → MenuItem-B5Ey6jYk.js} +7 -7
  31. package/dist/{Modal-DceAu_d2.js → Modal-C4LVcV2P.js} +10 -10
  32. package/dist/{Paper-L8ipwfkc.js → Paper-DcwigMU2.js} +4 -4
  33. package/dist/{PlayArrow-Dwss80PJ.js → PlayArrow-BWNpsDIu.js} +2 -2
  34. package/dist/{Portal-DxdKGEvu.js → Portal-CLVGr58E.js} +4 -4
  35. package/dist/{Select-DTQDmdn_.js → Select-PHF4wwtI.js} +19 -18
  36. package/dist/{Slide-CWqC2RDG.js → Slide-C7btcybu.js} +6 -5
  37. package/dist/{Stack-CkCveRRR.js → Stack-Ce-OQAtj.js} +5 -5
  38. package/dist/{TextField-BqIvz6Zw.js → TextField-CWAqkoYU.js} +7 -7
  39. package/dist/TransitionGroupContext-D3TPEzqp.js +37 -0
  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-CD4Ih2jU.js +66 -0
  47. package/dist/{bank-CRy2oyUW.js → bank-WoJNjqIT.js} +1 -1
  48. package/dist/chainPropTypes-D9lkm76m.js +8 -0
  49. package/dist/components/Account/index.js +15 -15
  50. package/dist/components/History/index.js +13 -13
  51. package/dist/components/MoveToEthereumOrEverChain/index.js +31 -31
  52. package/dist/components/Profile/documents.js +16 -16
  53. package/dist/components/Profile/index.js +13 -13
  54. package/dist/components/Receive/index.js +9 -9
  55. package/dist/components/RocketRamp/MinimalKyc/form.js +8 -8
  56. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  57. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +17 -0
  58. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +16 -0
  59. package/dist/components/RocketRamp/{Buy → Player/Buy}/form.d.ts +1 -1
  60. package/dist/components/RocketRamp/Player/Buy/form.js +26 -0
  61. package/dist/components/RocketRamp/{Buy → Player/Buy}/index.d.ts +1 -1
  62. package/dist/components/RocketRamp/Player/Buy/index.js +35 -0
  63. package/dist/components/RocketRamp/{Buy → Player/Buy}/types.d.ts +3 -2
  64. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.js +8 -8
  65. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.d.ts +1 -1
  66. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/index.js +8 -8
  67. package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.js +6 -6
  68. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.d.ts +3 -0
  69. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +20 -0
  70. package/dist/components/RocketRamp/Player/Sell/form.d.ts +3 -0
  71. package/dist/components/RocketRamp/Player/Sell/form.js +26 -0
  72. package/dist/components/RocketRamp/Player/Sell/index.d.ts +7 -0
  73. package/dist/components/RocketRamp/Player/Sell/index.js +36 -0
  74. package/dist/components/RocketRamp/Player/Sell/types.d.ts +35 -0
  75. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.d.ts +1 -1
  76. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/index.js +9 -9
  77. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.js +8 -8
  78. package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.js +12 -12
  79. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/email.d.ts +1 -1
  80. package/dist/components/RocketRamp/Player/SignUp/email.js +73 -0
  81. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.d.ts +1 -1
  82. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/index.js +31 -29
  83. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/personalInfo.d.ts +1 -1
  84. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +165 -0
  85. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.js +4 -4
  86. package/dist/components/RocketRamp/{SignUp → Player/SignUp}/types.d.ts +2 -0
  87. package/dist/components/RocketRamp/Player/SignUp/types.js +1 -0
  88. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +100 -0
  89. package/dist/components/RocketRamp/ResetPassword/form.d.ts +8 -0
  90. package/dist/components/RocketRamp/ResetPassword/form.js +104 -0
  91. package/dist/components/RocketRamp/ResetPassword/index.d.ts +7 -0
  92. package/dist/components/RocketRamp/ResetPassword/index.js +53 -0
  93. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  94. package/dist/components/RocketRamp/Shared/Input/index.d.ts +2 -1
  95. package/dist/components/RocketRamp/Shared/Input/index.js +25 -23
  96. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  97. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  98. package/dist/components/RocketRamp/Store/Dashboard/balance.d.ts +6 -0
  99. package/dist/components/RocketRamp/Store/Dashboard/balance.js +42 -0
  100. package/dist/components/RocketRamp/Store/Dashboard/index.d.ts +5 -0
  101. package/dist/components/RocketRamp/Store/Dashboard/index.js +20 -0
  102. package/dist/components/RocketRamp/Store/Dashboard/stats.d.ts +6 -0
  103. package/dist/components/RocketRamp/Store/Dashboard/stats.js +42 -0
  104. package/dist/components/RocketRamp/Store/Dashboard/transaction.d.ts +8 -0
  105. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +28 -0
  106. package/dist/components/RocketRamp/Store/SignUp/index.d.ts +3 -0
  107. package/dist/components/RocketRamp/Store/SignUp/index.js +158 -0
  108. package/dist/components/RocketRamp/Store/SignUp/personalInfo.d.ts +3 -0
  109. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +168 -0
  110. package/dist/components/RocketRamp/Store/SignUp/storeInfo.d.ts +3 -0
  111. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +136 -0
  112. package/dist/components/RocketRamp/Store/SignUp/summary.d.ts +3 -0
  113. package/dist/components/RocketRamp/Store/SignUp/summary.js +55 -0
  114. package/dist/components/RocketRamp/Store/SignUp/types.d.ts +49 -0
  115. package/dist/components/RocketRamp/Store/SignUp/types.js +1 -0
  116. package/dist/components/RocketRamp/Store/SignUp/validateEmail.d.ts +3 -0
  117. package/dist/components/RocketRamp/{SignUp → Store/SignUp}/validateEmail.js +6 -6
  118. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  119. package/dist/components/Send/index.js +14 -14
  120. package/dist/components/Shared/ConnectWallet/index.js +10 -10
  121. package/dist/components/Shared/HistoryItem/index.js +45 -45
  122. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  123. package/dist/components/Shared/TokenModal/index.js +11 -11
  124. package/dist/components/Shared/TokenModal/tokenGrid.js +4 -4
  125. package/dist/components/Shared/addBank.js +10 -10
  126. package/dist/components/Shared/button.js +1 -1
  127. package/dist/components/Shared/connectPlaidBank.js +5 -5
  128. package/dist/components/Shared/incode.js +9 -9
  129. package/dist/components/Shared/inputField.js +1 -1
  130. package/dist/components/Shared/noData.js +2 -2
  131. package/dist/components/Shared/pin.js +3 -3
  132. package/dist/components/Shared/step.js +2 -2
  133. package/dist/components/Shared/tooltip.js +80 -79
  134. package/dist/components/Shared/transition.js +1 -1
  135. package/dist/components/SignIn/index.js +15 -15
  136. package/dist/components/SignUp/index.js +4 -4
  137. package/dist/components/SignUp/pin.js +10 -10
  138. package/dist/components/SignUp/privacy.js +2 -2
  139. package/dist/components/SignUp/terms.js +2 -2
  140. package/dist/components/SignUp/userInfo.js +3 -3
  141. package/dist/components/Stake/gems/index.js +10 -10
  142. package/dist/components/Stake/id/index.js +11 -11
  143. package/dist/components/Stake/index.js +9 -9
  144. package/dist/components/Swap/index.js +14 -14
  145. package/dist/components/SwapAndUniSwap/index.js +3 -3
  146. package/dist/components/WalletPortfolio/index.js +14 -14
  147. package/dist/components/WalletPortfolio/tokenRow.js +6 -6
  148. package/dist/{constants-Bg2zYFVK.js → constants-74hrsFxy.js} +448 -441
  149. package/dist/{createSvgIcon-jkXneOQN.js → createSvgIcon-DhzhBkIq.js} +2 -2
  150. package/dist/{createTheme-F9Dk4FhK.js → createTheme-BYjetuXd.js} +3 -3
  151. package/dist/defaultTheme-BauSyTuG.js +5 -0
  152. package/dist/{dividerClasses-SUAUDDqL.js → dividerClasses-DxWPaPyZ.js} +2 -2
  153. package/dist/{documents-BGFSTan8.js → documents-DFzrb5Js.js} +26 -26
  154. package/dist/{elementTypeAcceptingRef-BufevUW8.js → elementTypeAcceptingRef-CXUi-GtI.js} +2 -2
  155. package/dist/{emotion-react.browser.esm-CI0uV1W5.js → emotion-react.browser.esm-GqNZEJqq.js} +2 -2
  156. package/dist/{extendSxProp-Cm2UBzGf.js → extendSxProp-Ydv2_GZV.js} +1 -1
  157. package/dist/fiatAssets-BySmKCPn.js +8 -0
  158. package/dist/hoc/withThemeProvider.js +5 -5
  159. package/dist/hooks/useDialog/index.js +4 -4
  160. package/dist/hooks/useRrDialog/index.js +4 -4
  161. package/dist/hooks/useSnackBar.js +292 -625
  162. package/dist/icons/buyIcon.js +1 -1
  163. package/dist/icons/canceledBuyIcon.js +1 -1
  164. package/dist/icons/canceledRedeemIcon.js +1 -1
  165. package/dist/icons/failedBuyIcon.js +1 -1
  166. package/dist/icons/failedRedeemIcon.js +1 -1
  167. package/dist/icons/pendingBuyIcon.js +1 -1
  168. package/dist/icons/pendingRedeemIcon.js +1 -1
  169. package/dist/icons/redeemIcon.js +1 -1
  170. package/dist/index-BMhrzXlc.js +820 -0
  171. package/dist/{index-BJlsh9ro.js → index-BiAKQoFR.js} +1 -1
  172. package/dist/{index-_kqRfgnc.js → index-CrpPVKHn.js} +5 -5
  173. package/dist/index-Dxl09QM3.js +670 -0
  174. package/dist/main.d.ts +8 -4
  175. package/dist/main.js +32 -24
  176. package/dist/order-BJOkWhkX.js +30 -0
  177. package/dist/{ownerWindow-C-760D__.js → ownerWindow-CQLKd2qC.js} +1 -1
  178. package/dist/{resolveComponentProps-BdTgLKBb.js → resolveComponentProps-q6q4ysGz.js} +1 -1
  179. package/dist/{stake-CQWZT4ug.js → stake-DeB_prrU.js} +1 -1
  180. package/dist/store.d.ts +12 -2
  181. package/dist/styled-wRBkgUU9.js +5 -0
  182. package/dist/{tokenRow-CgnPD-4U.js → tokenRow-4ZCv_fEG.js} +5 -5
  183. package/dist/{useSlot-DaP6eodX.js → useSlot-CLUg2AtS.js} +2 -2
  184. package/dist/useTheme-CqTIiZp7.js +9 -0
  185. package/dist/{useTheme-c0OHvtiA.js → useTheme-D5is61S1.js} +3 -3
  186. package/dist/{useThemeProps-CV9AmzHf.js → useThemeProps-PA8LTWC3.js} +4 -4
  187. package/dist/{useThemeWithoutDefault-D8MaPbCK.js → useThemeWithoutDefault-Dka2QjJP.js} +1 -1
  188. package/dist/{useTimeout-D29bZ7Gz.js → useTimeout-Bcu0-_W1.js} +3 -3
  189. package/dist/user-Doi440iN.js +24 -0
  190. package/dist/util/constants.d.ts +2 -0
  191. package/dist/util/constants.js +9 -7
  192. package/dist/util/functions.d.ts +1 -0
  193. package/dist/util/functions.js +9 -2
  194. package/dist/{utils-EFg3So7T.js → utils-DeERUHi2.js} +17 -16
  195. package/dist/{wallet-CmeFL8-U.js → wallet-BeLTGObA.js} +12 -12
  196. package/package.json +2 -2
  197. package/dist/TransitionGroupContext-VwpFXTPO.js +0 -43
  198. package/dist/auth-NmISGQ2S.js +0 -46
  199. package/dist/components/RocketRamp/Buy/cardPayment.js +0 -17
  200. package/dist/components/RocketRamp/Buy/confirmTransaction.js +0 -16
  201. package/dist/components/RocketRamp/Buy/form.js +0 -26
  202. package/dist/components/RocketRamp/Buy/index.js +0 -34
  203. package/dist/components/RocketRamp/SignUp/email.js +0 -70
  204. package/dist/components/RocketRamp/SignUp/personalInfo.js +0 -415
  205. package/dist/defaultTheme-Bc00Q3Kt.js +0 -5
  206. package/dist/index-CX4sR9ID.js +0 -816
  207. package/dist/order-CtACU1eX.js +0 -27
  208. package/dist/styled-BTIMwpiX.js +0 -5
  209. package/dist/useTheme-BghcbbEW.js +0 -9
  210. package/dist/user-Djw_k_OF.js +0 -24
  211. /package/dist/components/RocketRamp/{Buy → Player/Buy}/cardPayment.d.ts +0 -0
  212. /package/dist/components/RocketRamp/{Buy → Player/Buy}/confirmTransaction.d.ts +0 -0
  213. /package/dist/components/RocketRamp/{Buy → Player/Buy}/types.js +0 -0
  214. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/balance.d.ts +0 -0
  215. /package/dist/components/RocketRamp/{Dashboard → Player/Dashboard}/transaction.d.ts +0 -0
  216. /package/dist/components/RocketRamp/{SignIn → Player/Sell}/types.js +0 -0
  217. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/loginForm.d.ts +0 -0
  218. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/otpForm.d.ts +0 -0
  219. /package/dist/components/RocketRamp/{SignIn → Player/SignIn}/types.d.ts +0 -0
  220. /package/dist/components/RocketRamp/{SignUp → Player/SignIn}/types.js +0 -0
  221. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/summary.d.ts +0 -0
  222. /package/dist/components/RocketRamp/{SignUp → Player/SignUp}/validateEmail.d.ts +0 -0
@@ -0,0 +1,20 @@
1
+ import { jsxs as i, Fragment as e, jsx as r } from "react/jsx-runtime";
2
+ import n from "../../../../hoc/withThemeProvider.js";
3
+ import t from "./balance.js";
4
+ import { useRrDialog as s } from "../../../../hooks/useRrDialog/index.js";
5
+ import m from "./stats.js";
6
+ import { C as d, a as l } from "../../../../CardContent-D9I3IU_z.js";
7
+ import { G as o } from "../../../../Grid2-IYppkw5f.js";
8
+ const c = ({}) => {
9
+ const { openDialog: f, ConfirmDialog: a } = s();
10
+ return /* @__PURE__ */ i(e, { children: [
11
+ /* @__PURE__ */ r(a, {}),
12
+ /* @__PURE__ */ r(d, { sx: { backgroundColor: "#FFF", borderRadius: "1rem" }, children: /* @__PURE__ */ r(l, { children: /* @__PURE__ */ i(o, { container: !0, spacing: 2, children: [
13
+ /* @__PURE__ */ r(o, { size: 7, children: /* @__PURE__ */ r(t, { amount: 267, isLoading: !1 }) }),
14
+ /* @__PURE__ */ r(o, { size: 5, children: /* @__PURE__ */ r(m, { amount: 267, isLoading: !1 }) })
15
+ ] }) }) })
16
+ ] });
17
+ }, F = n(c);
18
+ export {
19
+ F as default
20
+ };
@@ -0,0 +1,6 @@
1
+ interface StatProps {
2
+ isLoading: boolean;
3
+ amount: string | number;
4
+ }
5
+ declare const Stats: ({ isLoading, amount }: StatProps) => import("react/jsx-runtime").JSX.Element;
6
+ export default Stats;
@@ -0,0 +1,42 @@
1
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
2
+ import { u as n } from "../../../../useTheme-D5is61S1.js";
3
+ import { C as s, a as m } from "../../../../CardContent-D9I3IU_z.js";
4
+ import { S as c } from "../../../../Stack-Ce-OQAtj.js";
5
+ import { B as l } from "../../../../Box-Bt8cGqC7.js";
6
+ import { T as o } from "../../../../Typography-Du8mj1kr.js";
7
+ import { C as d } from "../../../../CircularProgress-B06C3TSm.js";
8
+ const C = ({ isLoading: t, amount: a }) => {
9
+ const e = n();
10
+ return /* @__PURE__ */ r(
11
+ s,
12
+ {
13
+ sx: {
14
+ background: "#E5F6EA",
15
+ borderRadius: "1rem"
16
+ },
17
+ children: /* @__PURE__ */ r(m, { sx: { color: "#fff" }, children: /* @__PURE__ */ r(c, { direction: "column", spacing: 2, children: /* @__PURE__ */ i(l, { children: [
18
+ /* @__PURE__ */ r(o, { fontSize: "2.5rem", fontWeight: 600, color: "primary", children: "Available balance" }),
19
+ /* @__PURE__ */ r(
20
+ o,
21
+ {
22
+ fontSize: "5rem",
23
+ fontWeight: "500",
24
+ children: t ? /* @__PURE__ */ r(d, { size: 24 }) : a
25
+ }
26
+ ),
27
+ /* @__PURE__ */ r(
28
+ o,
29
+ {
30
+ variant: "xl",
31
+ sx: { opacity: "0.75" },
32
+ fontFamily: e.typography.redHatMono.fontFamily,
33
+ children: "Want to add more credits? Please contact your Distributor"
34
+ }
35
+ )
36
+ ] }) }) })
37
+ }
38
+ );
39
+ };
40
+ export {
41
+ C as default
42
+ };
@@ -0,0 +1,8 @@
1
+ import { Order } from 'everest-npm-api';
2
+ interface TransactionProps {
3
+ navigate: any;
4
+ isLoading: boolean;
5
+ transactions: Order[];
6
+ }
7
+ declare const Transactions: ({ isLoading, transactions, navigate, }: TransactionProps) => import("react/jsx-runtime").JSX.Element;
8
+ export default Transactions;
@@ -0,0 +1,28 @@
1
+ import { jsxs as m, Fragment as e, jsx as r } from "react/jsx-runtime";
2
+ import l from "../../Shared/Button/index.js";
3
+ import d from "../../../Shared/HistoryItem/index.js";
4
+ import { T as i } from "../../../../Typography-Du8mj1kr.js";
5
+ import { S as o } from "../../../../Stack-Ce-OQAtj.js";
6
+ import { B as p } from "../../../../Box-Bt8cGqC7.js";
7
+ import { C as h } from "../../../../CircularProgress-B06C3TSm.js";
8
+ const j = ({
9
+ isLoading: n,
10
+ transactions: t,
11
+ navigate: a
12
+ }) => /* @__PURE__ */ m(e, { children: [
13
+ /* @__PURE__ */ r(i, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
14
+ /* @__PURE__ */ r(o, { direction: "column", spacing: 2, children: n ? /* @__PURE__ */ r(p, { className: "text-center", mt: 2, children: /* @__PURE__ */ r(h, { size: 50 }) }) : /* @__PURE__ */ r(e, { children: t.length > 0 ? /* @__PURE__ */ r(e, { children: t.map((s, c) => /* @__PURE__ */ r(d, { data: s }, c)) }) : /* @__PURE__ */ r(i, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }) }),
15
+ t.length > 0 && /* @__PURE__ */ r(o, { direction: "row", justifyContent: "center", children: /* @__PURE__ */ r(
16
+ l,
17
+ {
18
+ isText: !0,
19
+ onClick: () => a("/transactions"),
20
+ sx: { fontWeight: 700, padding: 0, my: 2 },
21
+ customSize: "small",
22
+ children: "View all transactions"
23
+ }
24
+ ) })
25
+ ] });
26
+ export {
27
+ j as default
28
+ };
@@ -0,0 +1,3 @@
1
+ import { SignUpProps } from './types';
2
+ declare const _default: import('react').FC<SignUpProps & import('../../../../hoc/withThemeProvider').WithThemeProviderProps>;
3
+ export default _default;
@@ -0,0 +1,158 @@
1
+ import { jsxs as s, jsx as o } from "react/jsx-runtime";
2
+ import { useState as k, useEffect as d } from "react";
3
+ import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
4
+ import { u as w, a as I } from "../../../../react-redux-B4BZippc.js";
5
+ import T from "../../../../hoc/withThemeProvider.js";
6
+ import { L as W } from "../../../../rr-primary-logo-CqI24c8v.js";
7
+ import q from "./storeInfo.js";
8
+ import C from "./personalInfo.js";
9
+ import D from "./summary.js";
10
+ import L from "./validateEmail.js";
11
+ import "../../../../constants-74hrsFxy.js";
12
+ import { a as _, u as V, b as j, c as z, l as A } from "../../../../auth-CD4Ih2jU.js";
13
+ import { C as O } from "../../../../Container-Htc6vdB5.js";
14
+ import { T as f } from "../../../../Typography-Du8mj1kr.js";
15
+ import { B as S } from "../../../../Box-Bt8cGqC7.js";
16
+ import { S as R } from "../../../../Stack-Ce-OQAtj.js";
17
+ const M = ({ onRegister: y, navigate: v, navigatePath: h }) => {
18
+ const r = w(), t = I((a) => a.session), n = t.loader, g = t.validationError, N = t.validationField, u = t.screen, B = t.otpLoader, m = t.uuid, l = t.token, c = t.error, E = 4, { showAlertMessage: i, snackBar: F } = b(), [e, x] = k({
19
+ email: "",
20
+ firstName: "",
21
+ lastName: "",
22
+ phone: "",
23
+ storeName: ""
24
+ });
25
+ d(() => () => {
26
+ r(_());
27
+ }, []), d(() => {
28
+ m && l && (y(m, l), v(h || "/dashboard"));
29
+ }, [m, l]), d(() => {
30
+ c && i({ message: c });
31
+ }, [c]);
32
+ const p = (a) => {
33
+ r(V(a));
34
+ };
35
+ return /* @__PURE__ */ s(
36
+ O,
37
+ {
38
+ maxWidth: "sm",
39
+ component: "div",
40
+ sx: {
41
+ zIndex: 10,
42
+ position: "relative",
43
+ paddingTop: "2.5rem",
44
+ display: "flex",
45
+ flexDirection: "column",
46
+ alignItems: "center"
47
+ },
48
+ children: [
49
+ F,
50
+ /* @__PURE__ */ o(f, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
51
+ /* @__PURE__ */ o(S, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ o("img", { alt: "RocketRamp logo", src: W, width: 440, height: 63 }) }),
52
+ /* @__PURE__ */ s(
53
+ S,
54
+ {
55
+ sx: {
56
+ flex: 1,
57
+ width: "100%",
58
+ flexDirection: "column",
59
+ gap: "1.5rem",
60
+ padding: { xs: "1rem", md: "2rem" },
61
+ backgroundColor: "#FFFFFF",
62
+ borderRadius: "1rem",
63
+ boxShadow: "0px 0px 64px 0px rgba(247, 247, 248, 1)",
64
+ display: "flex"
65
+ },
66
+ children: [
67
+ /* @__PURE__ */ o(R, { direction: "column", spacing: 1.5, children: /* @__PURE__ */ s(R, { direction: "row", gap: "0.25rem", children: [
68
+ /* @__PURE__ */ s(f, { variant: "md", fontWeight: 500, children: [
69
+ "Step ",
70
+ u
71
+ ] }),
72
+ /* @__PURE__ */ s(f, { variant: "md", fontWeight: 200, children: [
73
+ "of ",
74
+ E
75
+ ] })
76
+ ] }) }),
77
+ {
78
+ 1: /* @__PURE__ */ o(
79
+ C,
80
+ {
81
+ showAlertMessage: i,
82
+ loader: n,
83
+ registerInfo: e,
84
+ dispatch: r,
85
+ setRegisterInfo: x,
86
+ setCurrentStep: p,
87
+ validationError: g,
88
+ validationField: N
89
+ }
90
+ ),
91
+ 2: /* @__PURE__ */ o(
92
+ q,
93
+ {
94
+ showAlertMessage: i,
95
+ loader: n,
96
+ registerInfo: e,
97
+ setRegisterInfo: x,
98
+ dispatch: r,
99
+ validationError: g,
100
+ setCurrentStep: p
101
+ }
102
+ ),
103
+ 3: /* @__PURE__ */ o(
104
+ D,
105
+ {
106
+ showAlertMessage: i,
107
+ loader: n,
108
+ registerInfo: e,
109
+ setCurrentStep: p,
110
+ initRegister: () => {
111
+ r(
112
+ j({
113
+ first_name: e.firstName,
114
+ last_name: e.lastName,
115
+ email: e.email,
116
+ storename: e.storeName,
117
+ phone: "+1" + e.phone
118
+ })
119
+ );
120
+ }
121
+ }
122
+ ),
123
+ 4: /* @__PURE__ */ o(
124
+ L,
125
+ {
126
+ showAlertMessage: i,
127
+ loader: n,
128
+ otpLoader: B,
129
+ registerInfo: e,
130
+ initVerifyRegister: (a) => {
131
+ r(
132
+ z({
133
+ first_name: e.firstName,
134
+ last_name: e.lastName,
135
+ email: e.email,
136
+ // username: registerInfo.username,
137
+ phone: "+1" + e.phone,
138
+ storename: e.storeName,
139
+ otp: a
140
+ })
141
+ );
142
+ },
143
+ initReSendOtp: () => {
144
+ r(A(e.email));
145
+ }
146
+ }
147
+ )
148
+ }[u]
149
+ ]
150
+ }
151
+ )
152
+ ]
153
+ }
154
+ );
155
+ }, me = T(M);
156
+ export {
157
+ me as default
158
+ };
@@ -0,0 +1,3 @@
1
+ import { PersonalInfoProps } from './types';
2
+ declare const PersonalInfo: ({ showAlertMessage, loader, registerInfo, setRegisterInfo, setCurrentStep, dispatch, validationError, validationField, }: PersonalInfoProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default PersonalInfo;
@@ -0,0 +1,168 @@
1
+ import { jsxs as i, Fragment as T, jsx as r } from "react/jsx-runtime";
2
+ import { useState as b } from "react";
3
+ import g from "../../Shared/Button/index.js";
4
+ import s from "../../Shared/Input/index.js";
5
+ import "../../../../constants-74hrsFxy.js";
6
+ import { f as v } from "../../../../auth-CD4Ih2jU.js";
7
+ import { generateRandomString as B, isValidEmail as L } from "../../../../util/functions.js";
8
+ import { T as y } from "../../../../Typography-Du8mj1kr.js";
9
+ import { B as W } from "../../../../Box-Bt8cGqC7.js";
10
+ import { S as j } from "../../../../Stack-Ce-OQAtj.js";
11
+ import { I as F } from "../../../../InputAdornment-HG4f5A6g.js";
12
+ import { F as E } from "../../../../FormControl-C_Aq5EJK.js";
13
+ import { F as q, C as D } from "../../../../FormControlLabel-DzW2M9Zf.js";
14
+ import { L as V } from "../../../../Link-0ytX5jId.js";
15
+ const A = ({
16
+ showAlertMessage: o,
17
+ loader: c,
18
+ registerInfo: e,
19
+ setRegisterInfo: N,
20
+ setCurrentStep: P,
21
+ dispatch: h,
22
+ validationError: t,
23
+ validationField: m
24
+ }) => {
25
+ const d = B(), [p, C] = b(!1), [l, k] = b({
26
+ firstName: !1,
27
+ lastName: !1,
28
+ phone: !1,
29
+ email: !1
30
+ }), n = (a, f) => {
31
+ a === "phone" && !/^\d*$/.test(f) || (N((u) => ({
32
+ ...u,
33
+ [a]: f
34
+ })), k((u) => ({
35
+ ...u,
36
+ [a]: !0
37
+ })));
38
+ }, x = (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
+ P(2);
52
+ }, R = () => {
53
+ e.phone && h(
54
+ v({
55
+ phone: "+1" + e.phone,
56
+ storename: d
57
+ })
58
+ );
59
+ }, S = () => {
60
+ e.email && h(
61
+ v({
62
+ email: e.email,
63
+ storename: d
64
+ })
65
+ );
66
+ };
67
+ return /* @__PURE__ */ i(T, { children: [
68
+ /* @__PURE__ */ i(y, { variant: "3xl", fontWeight: "bold", children: [
69
+ "Ready to join us?",
70
+ /* @__PURE__ */ r("br", {}),
71
+ "Tell us about yourself"
72
+ ] }),
73
+ /* @__PURE__ */ r(y, { variant: "sm", children: "Please, provide the following information:" }),
74
+ /* @__PURE__ */ r(W, { component: "form", onSubmit: x, width: "100%", children: /* @__PURE__ */ i(j, { direction: "column", gap: 2, children: [
75
+ /* @__PURE__ */ r(
76
+ s,
77
+ {
78
+ value: e.firstName,
79
+ label: "First name",
80
+ placeholder: "Enter your name",
81
+ onChange: (a) => n("firstName", a.target.value),
82
+ error: l.firstName && !e.firstName,
83
+ fullWidth: !0
84
+ }
85
+ ),
86
+ /* @__PURE__ */ r(
87
+ s,
88
+ {
89
+ value: e.lastName,
90
+ label: "Last name",
91
+ placeholder: "Enter your surname",
92
+ onChange: (a) => n("lastName", a.target.value),
93
+ error: l.lastName && !e.lastName,
94
+ fullWidth: !0
95
+ }
96
+ ),
97
+ /* @__PURE__ */ r(
98
+ s,
99
+ {
100
+ value: e.phone,
101
+ label: "Mobile number",
102
+ placeholder: "Enter your mobile number",
103
+ onChange: (a) => n("phone", a.target.value),
104
+ onBlur: R,
105
+ error: l.phone && !e.phone || m === "phone" && !!t,
106
+ errorText: m === "phone" ? t : "",
107
+ slotProps: {
108
+ input: {
109
+ startAdornment: /* @__PURE__ */ r(F, { position: "start", children: "+1" })
110
+ }
111
+ }
112
+ }
113
+ ),
114
+ /* @__PURE__ */ r(
115
+ s,
116
+ {
117
+ value: e.email,
118
+ label: "E-mail address",
119
+ onChange: (a) => n("email", a.target.value),
120
+ onBlur: S,
121
+ error: l.email && !e.email || m === "email" && !!t,
122
+ errorText: m === "email" ? t : "",
123
+ fullWidth: !0
124
+ }
125
+ ),
126
+ /* @__PURE__ */ r(E, { error: !p, component: "fieldset", children: /* @__PURE__ */ r(
127
+ q,
128
+ {
129
+ control: /* @__PURE__ */ r(
130
+ D,
131
+ {
132
+ checked: p,
133
+ onChange: () => C((a) => !a),
134
+ color: "primary"
135
+ }
136
+ ),
137
+ label: /* @__PURE__ */ i("span", { children: [
138
+ "I accept the",
139
+ " ",
140
+ /* @__PURE__ */ r(
141
+ V,
142
+ {
143
+ href: "https://www.rocket-ramp.com/page/privacy",
144
+ target: "_blank",
145
+ rel: "noopener noreferrer",
146
+ color: "primary",
147
+ children: "Privacy Terms"
148
+ }
149
+ )
150
+ ] })
151
+ }
152
+ ) }),
153
+ /* @__PURE__ */ r(
154
+ g,
155
+ {
156
+ type: "submit",
157
+ fullWidth: !0,
158
+ disabled: !!t || c,
159
+ isLoading: c,
160
+ children: "Next"
161
+ }
162
+ )
163
+ ] }) })
164
+ ] });
165
+ };
166
+ export {
167
+ A as default
168
+ };
@@ -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-74hrsFxy.js";
6
+ import { f as R } from "../../../../auth-CD4Ih2jU.js";
7
+ import { T as c } from "../../../../Typography-Du8mj1kr.js";
8
+ import { A as k } from "../../../../Alert-D1uo0xUN.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
+ };