everest-npm-features 0.0.1 → 0.0.2

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 (250) hide show
  1. package/dist/ArrowDropDown-DRUQbGft.js +8 -0
  2. package/dist/ArrowRight-t-YgAHUn.js +8 -0
  3. package/dist/{Box-wAem3MQD.js → Box-BOgpENcC.js} +11 -11
  4. package/dist/{Button-fWdSk-yh.js → Button-DXdgxFxa.js} +8 -7
  5. package/dist/{ButtonBase-SYP7klDp.js → ButtonBase-AOLUTpPg.js} +204 -211
  6. package/dist/Cancel-BMPJ8ZAg.js +11 -0
  7. package/dist/CardContent-DEA5pnhr.js +141 -0
  8. package/dist/{CircularProgress-DcXA6nAu.js → CircularProgress-BAEiXRSn.js} +31 -30
  9. package/dist/Close-mXCsZSxZ.js +8 -0
  10. package/dist/{Container-CIMHcpEe.js → Container-BOehNoF1.js} +4 -4
  11. package/dist/{ContentCopy-CexUUXuC.js → ContentCopy-HD_Xx6nx.js} +1 -1
  12. package/dist/{createSimplePaletteValueFilter-CsgjlRAs.js → DefaultPropsProvider-DmUB0SYC.js} +54 -69
  13. package/dist/DefaultPropsProvider-tqUom3mB.js +329 -0
  14. package/dist/{DialogContent-JgT9A6nk.js → DialogContent-zttWtNJM.js} +91 -90
  15. package/dist/{Close-CdRA3xUs.js → DialogTitle-BqL8DXBp.js} +16 -21
  16. package/dist/{ArrowRight-C6tjImpU.js → Divider-EGEkrkBH.js} +50 -55
  17. package/dist/{FormControl-D4QuPCnV.js → FormControl-Nd-4LC8N.js} +60 -69
  18. package/dist/FormControlLabel-BMeMEwyK.js +738 -0
  19. package/dist/{GlobalStyles-BOnEiMUE.js → GlobalStyles-CModZHM-.js} +2 -2
  20. package/dist/{Grid-dtT_MVn3.js → Grid-EISqvBSJ.js} +5 -5
  21. package/dist/Grid2-B0mJbwjl.js +374 -0
  22. package/dist/{Grow-B3Swdn2Z.js → Grow-dkRwE_ok.js} +5 -5
  23. package/dist/{IconButton-CRGy76pJ.js → IconButton-DAR3jsEV.js} +12 -11
  24. package/dist/Info-CkE3Gsf2.js +8 -0
  25. package/dist/InputAdornment-DZJP9Njd.js +169 -0
  26. package/dist/ListItemIcon-JAntieDc.js +82 -0
  27. package/dist/{wallet-DN7ej6mj.js → MenuItem-D12FP5Iq.js} +64 -75
  28. package/dist/{Modal-0q_y4zbS.js → Modal-DceAu_d2.js} +324 -397
  29. package/dist/Paper-L8ipwfkc.js +183 -0
  30. package/dist/PlayArrow-D98xCL5M.js +21 -0
  31. package/dist/Portal-DxdKGEvu.js +86 -0
  32. package/dist/{Select-BNAaKK32.js → Select-DTQDmdn_.js} +39 -33
  33. package/dist/{Slide-BlS6unRJ.js → Slide-CWqC2RDG.js} +4 -3
  34. package/dist/Stack-CkCveRRR.js +174 -0
  35. package/dist/{TextField-CPZo0_di.js → TextField-BqIvz6Zw.js} +23 -21
  36. package/dist/{Typography-kyxogyUq.js → Typography-Dx54MRM5.js} +14 -13
  37. package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
  38. package/dist/assets/index.css +1 -1
  39. package/dist/assets/index10.css +1 -0
  40. package/dist/assets/index2.css +1 -1
  41. package/dist/assets/index3.css +1 -0
  42. package/dist/assets/index4.css +1 -0
  43. package/dist/assets/index5.css +1 -0
  44. package/dist/assets/index6.css +1 -0
  45. package/dist/assets/index7.css +1 -0
  46. package/dist/assets/index8.css +1 -0
  47. package/dist/assets/index9.css +1 -0
  48. package/dist/assets/{withThemeProvider.css → main.css} +1 -1
  49. package/dist/assets/styles.css +1 -1
  50. package/dist/assets/styles3.css +1 -0
  51. package/dist/auth-AwdxCQXF.js +46 -0
  52. package/dist/axios-BEX6n2A7.js +796 -0
  53. package/dist/bank-D2rGgUDP.js +23 -0
  54. package/dist/components/Account/index.d.ts +4 -0
  55. package/dist/components/Account/index.js +310 -0
  56. package/dist/components/History/index.d.ts +2 -0
  57. package/dist/components/History/index.js +804 -0
  58. package/dist/components/MoveToEthereumOrEverChain/index.d.ts +18 -0
  59. package/dist/components/MoveToEthereumOrEverChain/index.js +345 -0
  60. package/dist/components/Profile/documents.js +19 -14
  61. package/dist/components/Profile/index.js +128 -135
  62. package/dist/components/Receive/index.js +25 -23
  63. package/dist/components/RocketRamp/Buy/cardPayment.d.ts +3 -0
  64. package/dist/components/RocketRamp/Buy/cardPayment.js +17 -0
  65. package/dist/components/RocketRamp/Buy/confirmTransaction.d.ts +3 -0
  66. package/dist/components/RocketRamp/Buy/confirmTransaction.js +16 -0
  67. package/dist/components/RocketRamp/Buy/form.d.ts +3 -0
  68. package/dist/components/RocketRamp/Buy/form.js +26 -0
  69. package/dist/components/RocketRamp/Buy/index.d.ts +6 -0
  70. package/dist/components/RocketRamp/Buy/index.js +29 -0
  71. package/dist/components/RocketRamp/Buy/types.d.ts +32 -0
  72. package/dist/components/RocketRamp/Buy/types.js +1 -0
  73. package/dist/components/RocketRamp/Dashboard/balance.d.ts +9 -0
  74. package/dist/components/RocketRamp/Dashboard/balance.js +75 -0
  75. package/dist/components/RocketRamp/Dashboard/index.d.ts +5 -0
  76. package/dist/components/RocketRamp/Dashboard/index.js +36 -0
  77. package/dist/components/RocketRamp/Dashboard/transaction.d.ts +8 -0
  78. package/dist/components/RocketRamp/Dashboard/transaction.js +28 -0
  79. package/dist/components/RocketRamp/MinimalKyc/index.d.ts +6 -0
  80. package/dist/components/RocketRamp/MinimalKyc/index.js +254 -0
  81. package/dist/components/RocketRamp/Shared/Button/index.d.ts +10 -0
  82. package/dist/components/RocketRamp/Shared/Button/index.js +82 -0
  83. package/dist/components/RocketRamp/Shared/Input/index.d.ts +11 -0
  84. package/dist/components/RocketRamp/Shared/Input/index.js +46 -0
  85. package/dist/components/RocketRamp/Shared/backBtn.d.ts +5 -0
  86. package/dist/components/RocketRamp/Shared/backBtn.js +21 -0
  87. package/dist/components/RocketRamp/Shared/transactionItem.d.ts +7 -0
  88. package/dist/components/RocketRamp/Shared/transactionItem.js +125 -0
  89. package/dist/components/RocketRamp/SignIn/index.d.ts +3 -0
  90. package/dist/components/RocketRamp/SignIn/index.js +82 -0
  91. package/dist/components/RocketRamp/SignIn/loginForm.d.ts +3 -0
  92. package/dist/components/RocketRamp/SignIn/loginForm.js +81 -0
  93. package/dist/components/RocketRamp/SignIn/otpForm.d.ts +3 -0
  94. package/dist/components/RocketRamp/SignIn/otpForm.js +112 -0
  95. package/dist/components/RocketRamp/SignIn/types.d.ts +22 -0
  96. package/dist/components/RocketRamp/SignIn/types.js +1 -0
  97. package/dist/components/RocketRamp/SignUp/email.d.ts +3 -0
  98. package/dist/components/RocketRamp/SignUp/email.js +70 -0
  99. package/dist/components/RocketRamp/SignUp/index.d.ts +3 -0
  100. package/dist/components/RocketRamp/SignUp/index.js +163 -0
  101. package/dist/components/RocketRamp/SignUp/personalInfo.d.ts +3 -0
  102. package/dist/components/RocketRamp/SignUp/personalInfo.js +415 -0
  103. package/dist/components/RocketRamp/SignUp/summary.d.ts +3 -0
  104. package/dist/components/RocketRamp/SignUp/summary.js +57 -0
  105. package/dist/components/RocketRamp/SignUp/types.d.ts +50 -0
  106. package/dist/components/RocketRamp/SignUp/types.js +1 -0
  107. package/dist/components/RocketRamp/SignUp/validateEmail.d.ts +3 -0
  108. package/dist/components/RocketRamp/SignUp/validateEmail.js +99 -0
  109. package/dist/components/RocketRamp/Transactions/index.d.ts +5 -0
  110. package/dist/components/RocketRamp/Transactions/index.js +38 -0
  111. package/dist/components/Send/index.js +62 -51
  112. package/dist/components/Shared/ConnectWallet/index.d.ts +20 -0
  113. package/dist/components/Shared/ConnectWallet/index.js +25364 -0
  114. package/dist/components/Shared/HistoryItem/index.d.ts +5 -0
  115. package/dist/components/Shared/HistoryItem/index.js +120 -0
  116. package/dist/components/Shared/Keyboard/keyboard.js +3 -3
  117. package/dist/components/Shared/TokenModal/index.d.ts +10 -0
  118. package/dist/components/Shared/TokenModal/index.js +104 -0
  119. package/dist/components/Shared/TokenModal/tokenGrid.d.ts +7 -0
  120. package/dist/components/Shared/TokenModal/tokenGrid.js +51 -0
  121. package/dist/components/Shared/addBank.d.ts +2 -0
  122. package/dist/components/Shared/addBank.js +172 -0
  123. package/dist/components/Shared/button.js +1 -1
  124. package/dist/components/Shared/connectPlaidBank.d.ts +2 -0
  125. package/dist/components/Shared/connectPlaidBank.js +57 -0
  126. package/dist/components/Shared/incode.js +34 -32
  127. package/dist/components/Shared/inputField.js +1 -1
  128. package/dist/components/Shared/noData.d.ts +4 -0
  129. package/dist/components/Shared/noData.js +14 -0
  130. package/dist/components/Shared/pin.js +3 -3
  131. package/dist/components/Shared/step.js +2 -2
  132. package/dist/components/Shared/tooltip.d.ts +4 -0
  133. package/dist/components/Shared/tooltip.js +2107 -0
  134. package/dist/components/Shared/transition.js +1 -1
  135. package/dist/components/SignIn/index.js +26 -24
  136. package/dist/components/SignUp/index.js +108 -348
  137. package/dist/components/SignUp/pin.js +116 -844
  138. package/dist/components/SignUp/privacy.js +3 -3
  139. package/dist/components/SignUp/terms.js +3 -3
  140. package/dist/components/SignUp/types.d.ts +0 -1
  141. package/dist/components/SignUp/userInfo.js +4 -4
  142. package/dist/components/Stake/gems/index.d.ts +2 -0
  143. package/dist/components/Stake/gems/index.js +214 -0
  144. package/dist/components/Stake/id/index.d.ts +2 -0
  145. package/dist/components/Stake/id/index.js +233 -0
  146. package/dist/components/Stake/index.d.ts +5 -0
  147. package/dist/components/Stake/index.js +346 -0
  148. package/dist/components/Swap/index.d.ts +2 -0
  149. package/dist/components/Swap/index.js +489 -0
  150. package/dist/components/SwapAndUniSwap/index.d.ts +3 -0
  151. package/dist/components/SwapAndUniSwap/index.js +43 -0
  152. package/dist/components/WalletPortfolio/index.js +191 -263
  153. package/dist/components/WalletPortfolio/tokenRow.js +8 -5
  154. package/dist/constants-d3SWzaRo.js +3981 -0
  155. package/dist/countries-BVn1FubK.js +1925 -0
  156. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
  157. package/dist/{createSvgIcon-CAZr4ukt.js → createSvgIcon-jkXneOQN.js} +6 -6
  158. package/dist/{createTheme-NrBCWesw.js → createTheme-F9Dk4FhK.js} +182 -174
  159. package/dist/data/countries.json.d.ts +1925 -0
  160. package/dist/defaultTheme-Bc00Q3Kt.js +5 -0
  161. package/dist/dividerClasses-SUAUDDqL.js +10 -0
  162. package/dist/{documents-CL4Ajr_B.js → documents-2UqIXbDq.js} +130 -129
  163. package/dist/elementTypeAcceptingRef-BufevUW8.js +23 -0
  164. package/dist/emotion-react.browser.esm-CI0uV1W5.js +233 -0
  165. package/dist/{extendSxProp-CuERe1TA.js → extendSxProp-Cm2UBzGf.js} +1 -1
  166. package/dist/generic-token-B_ptO5yb.js +4 -0
  167. package/dist/hoc/withThemeProvider.js +33 -32
  168. package/dist/hooks/useDialog/index.js +4 -4
  169. package/dist/hooks/useSnackBar.js +63 -60
  170. package/dist/icons/buyIcon.d.ts +2 -0
  171. package/dist/icons/buyIcon.js +19 -0
  172. package/dist/icons/canceledBuyIcon.d.ts +2 -0
  173. package/dist/icons/canceledBuyIcon.js +34 -0
  174. package/dist/icons/canceledRedeemIcon.d.ts +2 -0
  175. package/dist/icons/canceledRedeemIcon.js +35 -0
  176. package/dist/icons/failedBuyIcon.d.ts +2 -0
  177. package/dist/icons/failedBuyIcon.js +48 -0
  178. package/dist/icons/failedRedeemIcon.d.ts +2 -0
  179. package/dist/icons/failedRedeemIcon.js +48 -0
  180. package/dist/icons/pendingBuyIcon.d.ts +2 -0
  181. package/dist/icons/pendingBuyIcon.js +38 -0
  182. package/dist/icons/pendingRedeemIcon.d.ts +2 -0
  183. package/dist/icons/pendingRedeemIcon.js +34 -0
  184. package/dist/icons/redeemIcon.d.ts +2 -0
  185. package/dist/icons/redeemIcon.js +19 -0
  186. package/dist/index-B8QKlEgj.js +37095 -0
  187. package/dist/{index-Cq3eHOnB.js → index-BJlsh9ro.js} +1 -1
  188. package/dist/index-C3FYdQkQ.js +4050 -0
  189. package/dist/index-CrajlEO_.js +576 -0
  190. package/dist/index-DxLB0ZV1.js +760 -0
  191. package/dist/index-TElEjliR.js +9 -0
  192. package/dist/{index-iAyNk1r6.js → index-_kqRfgnc.js} +5 -5
  193. package/dist/index-ceeCtFuh.js +136 -0
  194. package/dist/index.esm-BsMAMhYW.js +237 -0
  195. package/dist/isFocusVisible-CPZqtjv2.js +12 -0
  196. package/dist/isMuiElement-DnSE4qG4.js +13 -0
  197. package/dist/main.d.ts +99 -0
  198. package/dist/main.js +34 -12
  199. package/dist/moment-h96o7c8I.js +2578 -0
  200. package/dist/order-Cry6kuj8.js +23 -0
  201. package/dist/ownerWindow-C-760D__.js +7 -0
  202. package/dist/providers/metaMask.d.ts +6 -0
  203. package/dist/providers/metaMask.js +24 -0
  204. package/dist/react-redux-B4BZippc.js +255 -0
  205. package/dist/react-webcam-B3cXh1XT.js +267 -0
  206. package/dist/resolveComponentProps-BdTgLKBb.js +80 -0
  207. package/dist/rr-primary-logo-CqI24c8v.js +4 -0
  208. package/dist/stake-Q_O90kTv.js +17 -0
  209. package/dist/store.d.ts +65 -0
  210. package/dist/store.js +1 -0
  211. package/dist/styled-BTIMwpiX.js +5 -0
  212. package/dist/{styles.module-KeND8lCR.js → styles.module-6SB62f3J.js} +1 -1
  213. package/dist/styles.module-O5VVND5e.js +22 -0
  214. package/dist/tokenRow-CgnPD-4U.js +206 -0
  215. package/dist/useControlled-BYdyS7Pn.js +31 -0
  216. package/dist/useFormControl-CfmEP6sW.js +18 -0
  217. package/dist/useSlot-DaP6eodX.js +50 -0
  218. package/dist/useTheme-BghcbbEW.js +9 -0
  219. package/dist/{useTheme-nlj1B_-c.js → useTheme-c0OHvtiA.js} +3 -3
  220. package/dist/{useThemeProps-BqWuFW3z.js → useThemeProps-CV9AmzHf.js} +4 -4
  221. package/dist/{useThemeWithoutDefault-BdYkMk0o.js → useThemeWithoutDefault-D8MaPbCK.js} +1 -1
  222. package/dist/useTimeout-D29bZ7Gz.js +56 -0
  223. package/dist/user-Dzur3Cro.js +24 -0
  224. package/dist/util/constants.d.ts +48 -0
  225. package/dist/util/constants.js +69 -21
  226. package/dist/util/conversions.js +54 -22271
  227. package/dist/util/functions.d.ts +5 -0
  228. package/dist/util/functions.js +81 -24
  229. package/dist/util/regex.d.ts +3 -0
  230. package/dist/util/regex.js +6 -0
  231. package/dist/{utils-_FXWkn40.js → utils-EFg3So7T.js} +163 -168
  232. package/dist/wallet-Dw896DF7.js +35 -0
  233. package/dist/web3-u4qDZYpo.js +22328 -0
  234. package/package.json +8 -3
  235. package/dist/DefaultPropsProvider-Y8MI-J-I.js +0 -555
  236. package/dist/__vite-browser-external-DYxpcVy9-DYxpcVy9.js +0 -4
  237. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  238. package/dist/auth-Cj5FKr_m.js +0 -19
  239. package/dist/axios-xPiQW9EP.js +0 -118114
  240. package/dist/defaultTheme-OIfL8Ia7.js +0 -5
  241. package/dist/dividerClasses-Z7VLlu5C.js +0 -10
  242. package/dist/index-DKTkUdik.js +0 -6
  243. package/dist/react-redux-VW99uJjf.js +0 -5908
  244. package/dist/react-webcam-Cov1TP0q.js +0 -639
  245. package/dist/styled-Da6GnxEE.js +0 -5
  246. package/dist/tokenRow-Cdd_jFjp.js +0 -206
  247. package/dist/useFormControl-Bo6Tf_xo.js +0 -46
  248. package/dist/useSlot-CURNJ3JC.js +0 -306
  249. package/dist/useTheme-DWRMvRU8.js +0 -9
  250. package/dist/useTimeout-lr7ryrda.js +0 -75
@@ -0,0 +1,415 @@
1
+ import { jsx as a, jsxs as P, Fragment as W } from "react/jsx-runtime";
2
+ import * as N from "react";
3
+ import { useState as w } from "react";
4
+ import L from "../Shared/Button/index.js";
5
+ import g from "../Shared/Input/index.js";
6
+ import "../../../constants-d3SWzaRo.js";
7
+ import { c as A } from "../../../auth-AwdxCQXF.js";
8
+ import { T } from "../../../Typography-Dx54MRM5.js";
9
+ import { B as U } from "../../../Box-BOgpENcC.js";
10
+ import { S as F } from "../../../Stack-CkCveRRR.js";
11
+ import { I as z } from "../../../InputAdornment-DZJP9Njd.js";
12
+ import { F as E } from "../../../FormControl-Nd-4LC8N.js";
13
+ import { F as H, C as M } from "../../../FormControlLabel-BMeMEwyK.js";
14
+ import { g as _, o as S, a as C, f as O, P as o } from "../../../createTheme-F9Dk4FhK.js";
15
+ import { g as q, s as G, m as J, u as K, c as Q, a as X } from "../../../DefaultPropsProvider-DmUB0SYC.js";
16
+ import { u as Y } from "../../../useTheme-c0OHvtiA.js";
17
+ import { c as Z } from "../../../createSimplePaletteValueFilter-B7--0ryQ.js";
18
+ import { e as I } from "../../../elementTypeAcceptingRef-BufevUW8.js";
19
+ import { i as D } from "../../../isFocusVisible-CPZqtjv2.js";
20
+ function ee(e) {
21
+ return _("MuiLink", e);
22
+ }
23
+ const re = q("MuiLink", ["root", "underlineNone", "underlineHover", "underlineAlways", "button", "focusVisible"]), oe = ({
24
+ theme: e,
25
+ ownerState: t
26
+ }) => {
27
+ const r = t.color, i = S(e, `palette.${r}`, !1) || t.color, l = S(e, `palette.${r}Channel`);
28
+ return "vars" in e && l ? `rgba(${l} / 0.4)` : C(i, 0.4);
29
+ }, R = {
30
+ primary: !0,
31
+ secondary: !0,
32
+ error: !0,
33
+ info: !0,
34
+ success: !0,
35
+ warning: !0,
36
+ textPrimary: !0,
37
+ textSecondary: !0,
38
+ textDisabled: !0
39
+ }, te = (e) => {
40
+ const {
41
+ classes: t,
42
+ component: r,
43
+ focusVisible: i,
44
+ underline: l
45
+ } = e, d = {
46
+ root: ["root", `underline${O(l)}`, r === "button" && "button", i && "focusVisible"]
47
+ };
48
+ return X(d, ee, t);
49
+ }, ne = G(T, {
50
+ name: "MuiLink",
51
+ slot: "Root",
52
+ overridesResolver: (e, t) => {
53
+ const {
54
+ ownerState: r
55
+ } = e;
56
+ return [t.root, t[`underline${O(r.underline)}`], r.component === "button" && t.button];
57
+ }
58
+ })(J(({
59
+ theme: e
60
+ }) => ({
61
+ variants: [{
62
+ props: {
63
+ underline: "none"
64
+ },
65
+ style: {
66
+ textDecoration: "none"
67
+ }
68
+ }, {
69
+ props: {
70
+ underline: "hover"
71
+ },
72
+ style: {
73
+ textDecoration: "none",
74
+ "&:hover": {
75
+ textDecoration: "underline"
76
+ }
77
+ }
78
+ }, {
79
+ props: {
80
+ underline: "always"
81
+ },
82
+ style: {
83
+ textDecoration: "underline",
84
+ "&:hover": {
85
+ textDecorationColor: "inherit"
86
+ }
87
+ }
88
+ }, {
89
+ props: ({
90
+ underline: t,
91
+ ownerState: r
92
+ }) => t === "always" && r.color !== "inherit",
93
+ style: {
94
+ textDecorationColor: "var(--Link-underlineColor)"
95
+ }
96
+ }, ...Object.entries(e.palette).filter(Z()).map(([t]) => ({
97
+ props: {
98
+ underline: "always",
99
+ color: t
100
+ },
101
+ style: {
102
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette[t].mainChannel} / 0.4)` : C(e.palette[t].main, 0.4)
103
+ }
104
+ })), {
105
+ props: {
106
+ underline: "always",
107
+ color: "textPrimary"
108
+ },
109
+ style: {
110
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.primaryChannel} / 0.4)` : C(e.palette.text.primary, 0.4)
111
+ }
112
+ }, {
113
+ props: {
114
+ underline: "always",
115
+ color: "textSecondary"
116
+ },
117
+ style: {
118
+ "--Link-underlineColor": e.vars ? `rgba(${e.vars.palette.text.secondaryChannel} / 0.4)` : C(e.palette.text.secondary, 0.4)
119
+ }
120
+ }, {
121
+ props: {
122
+ underline: "always",
123
+ color: "textDisabled"
124
+ },
125
+ style: {
126
+ "--Link-underlineColor": (e.vars || e).palette.text.disabled
127
+ }
128
+ }, {
129
+ props: {
130
+ component: "button"
131
+ },
132
+ style: {
133
+ position: "relative",
134
+ WebkitTapHighlightColor: "transparent",
135
+ backgroundColor: "transparent",
136
+ // Reset default value
137
+ // We disable the focus ring for mouse, touch and keyboard users.
138
+ outline: 0,
139
+ border: 0,
140
+ margin: 0,
141
+ // Remove the margin in Safari
142
+ borderRadius: 0,
143
+ padding: 0,
144
+ // Remove the padding in Firefox
145
+ cursor: "pointer",
146
+ userSelect: "none",
147
+ verticalAlign: "middle",
148
+ MozAppearance: "none",
149
+ // Reset
150
+ WebkitAppearance: "none",
151
+ // Reset
152
+ "&::-moz-focus-inner": {
153
+ borderStyle: "none"
154
+ // Remove Firefox dotted outline.
155
+ },
156
+ [`&.${re.focusVisible}`]: {
157
+ outline: "auto"
158
+ }
159
+ }
160
+ }]
161
+ }))), $ = /* @__PURE__ */ N.forwardRef(function(t, r) {
162
+ const i = K({
163
+ props: t,
164
+ name: "MuiLink"
165
+ }), l = Y(), {
166
+ className: d,
167
+ color: s = "primary",
168
+ component: p = "a",
169
+ onBlur: h,
170
+ onFocus: u,
171
+ TypographyClasses: x,
172
+ underline: c = "always",
173
+ variant: b = "inherit",
174
+ sx: f,
175
+ ...n
176
+ } = i, [v, m] = N.useState(!1), V = (y) => {
177
+ D(y.target) || m(!1), h && h(y);
178
+ }, j = (y) => {
179
+ D(y.target) && m(!0), u && u(y);
180
+ }, k = {
181
+ ...i,
182
+ color: s,
183
+ component: p,
184
+ focusVisible: v,
185
+ underline: c,
186
+ variant: b
187
+ }, B = te(k);
188
+ return /* @__PURE__ */ a(ne, {
189
+ color: s,
190
+ className: Q(B.root, d),
191
+ classes: x,
192
+ component: p,
193
+ onBlur: V,
194
+ onFocus: j,
195
+ ref: r,
196
+ ownerState: k,
197
+ variant: b,
198
+ ...n,
199
+ sx: [...R[s] === void 0 ? [{
200
+ color: s
201
+ }] : [], ...Array.isArray(f) ? f : [f]],
202
+ style: {
203
+ ...n.style,
204
+ ...c === "always" && s !== "inherit" && !R[s] && {
205
+ "--Link-underlineColor": oe({
206
+ theme: l,
207
+ ownerState: k
208
+ })
209
+ }
210
+ }
211
+ });
212
+ });
213
+ process.env.NODE_ENV !== "production" && ($.propTypes = {
214
+ // ┌────────────────────────────── Warning ──────────────────────────────┐
215
+ // │ These PropTypes are generated from the TypeScript type definitions. │
216
+ // │ To update them, edit the d.ts file and run `pnpm proptypes`. │
217
+ // └─────────────────────────────────────────────────────────────────────┘
218
+ /**
219
+ * The content of the component.
220
+ */
221
+ children: o.node,
222
+ /**
223
+ * Override or extend the styles applied to the component.
224
+ */
225
+ classes: o.object,
226
+ /**
227
+ * @ignore
228
+ */
229
+ className: o.string,
230
+ /**
231
+ * The color of the link.
232
+ * @default 'primary'
233
+ */
234
+ color: o.oneOfType([o.oneOf(["primary", "secondary", "success", "error", "info", "warning", "textPrimary", "textSecondary", "textDisabled"]), o.string]),
235
+ /**
236
+ * The component used for the root node.
237
+ * Either a string to use a HTML element or a component.
238
+ */
239
+ component: I,
240
+ /**
241
+ * @ignore
242
+ */
243
+ onBlur: o.func,
244
+ /**
245
+ * @ignore
246
+ */
247
+ onFocus: o.func,
248
+ /**
249
+ * @ignore
250
+ */
251
+ style: o.object,
252
+ /**
253
+ * The system prop that allows defining system overrides as well as additional CSS styles.
254
+ */
255
+ sx: o.oneOfType([o.arrayOf(o.oneOfType([o.func, o.object, o.bool])), o.func, o.object]),
256
+ /**
257
+ * `classes` prop applied to the [`Typography`](https://mui.com/material-ui/api/typography/) element.
258
+ */
259
+ TypographyClasses: o.object,
260
+ /**
261
+ * Controls when the link should have an underline.
262
+ * @default 'always'
263
+ */
264
+ underline: o.oneOf(["always", "hover", "none"]),
265
+ /**
266
+ * Applies the theme typography styles.
267
+ * @default 'inherit'
268
+ */
269
+ variant: o.oneOfType([o.oneOf(["body1", "body2", "button", "caption", "h1", "h2", "h3", "h4", "h5", "h6", "inherit", "overline", "subtitle1", "subtitle2"]), o.string])
270
+ });
271
+ const Pe = ({
272
+ showAlertMessage: e,
273
+ loader: t,
274
+ registerInfo: r,
275
+ setRegisterInfo: i,
276
+ setCurrentStep: l,
277
+ dispatch: d,
278
+ validationError: s
279
+ }) => {
280
+ const [p, h] = w(!1), [u, x] = w({
281
+ username: !1,
282
+ firstName: !1,
283
+ lastName: !1,
284
+ phone: !1
285
+ }), c = (n, v) => {
286
+ n === "phone" && !/^\d*$/.test(v) || (i((m) => ({
287
+ ...m,
288
+ [n]: v
289
+ })), x((m) => ({
290
+ ...m,
291
+ [n]: !0
292
+ })));
293
+ }, b = (n) => {
294
+ if (n.preventDefault(), !r.username)
295
+ return e({ message: "Please provide username." }), !1;
296
+ if (!r.firstName)
297
+ return e({ message: "Please provide your name." }), !1;
298
+ if (!r.lastName)
299
+ return e({ message: "Please provide your surname." }), !1;
300
+ if (!r.phone)
301
+ return e({ message: "Please provide your mobile number." }), !1;
302
+ if (!p)
303
+ return e({ message: "Please accept the privacy terms." }), !1;
304
+ l(3);
305
+ }, f = () => {
306
+ r.username && d(A({ username: r.username }));
307
+ };
308
+ return /* @__PURE__ */ P(W, { children: [
309
+ /* @__PURE__ */ a(T, { variant: "lg", fontWeight: "500", children: "Add your personal information" }),
310
+ /* @__PURE__ */ a(T, { variant: "sm", children: "Please, provide the following information:" }),
311
+ /* @__PURE__ */ a(U, { component: "form", onSubmit: b, width: "100%", children: /* @__PURE__ */ P(F, { direction: "column", gap: 2, children: [
312
+ /* @__PURE__ */ a(
313
+ g,
314
+ {
315
+ value: r.username,
316
+ label: "Username",
317
+ placeholder: "Create a username",
318
+ onChange: (n) => c("username", n.target.value),
319
+ onBlur: f,
320
+ error: u.username && !r.username || !!s,
321
+ errorText: s,
322
+ autoFocus: !0,
323
+ fullWidth: !0
324
+ }
325
+ ),
326
+ /* @__PURE__ */ a(
327
+ g,
328
+ {
329
+ value: r.firstName,
330
+ label: "First name",
331
+ placeholder: "Enter your name",
332
+ onChange: (n) => c("firstName", n.target.value),
333
+ error: u.firstName && !r.firstName,
334
+ fullWidth: !0
335
+ }
336
+ ),
337
+ /* @__PURE__ */ a(
338
+ g,
339
+ {
340
+ value: r.lastName,
341
+ label: "Last name",
342
+ placeholder: "Enter your surname",
343
+ onChange: (n) => c("lastName", n.target.value),
344
+ error: u.lastName && !r.lastName,
345
+ fullWidth: !0
346
+ }
347
+ ),
348
+ /* @__PURE__ */ a(
349
+ g,
350
+ {
351
+ value: r.phone,
352
+ label: "Mobile number",
353
+ placeholder: "Enter your mobile number",
354
+ onChange: (n) => c("phone", n.target.value),
355
+ error: u.phone && !r.phone,
356
+ slotProps: {
357
+ input: {
358
+ startAdornment: /* @__PURE__ */ a(z, { position: "start", children: "+1" })
359
+ }
360
+ }
361
+ }
362
+ ),
363
+ /* @__PURE__ */ a(E, { error: !p, component: "fieldset", children: /* @__PURE__ */ a(
364
+ H,
365
+ {
366
+ control: /* @__PURE__ */ a(
367
+ M,
368
+ {
369
+ checked: p,
370
+ onChange: () => h((n) => !n),
371
+ color: "primary"
372
+ }
373
+ ),
374
+ label: /* @__PURE__ */ P("span", { children: [
375
+ "I accept the",
376
+ " ",
377
+ /* @__PURE__ */ a(
378
+ $,
379
+ {
380
+ href: "https://www.rocket-ramp.com/page/privacy",
381
+ target: "_blank",
382
+ rel: "noopener noreferrer",
383
+ color: "primary",
384
+ children: "Privacy Terms"
385
+ }
386
+ )
387
+ ] })
388
+ }
389
+ ) }),
390
+ /* @__PURE__ */ a(
391
+ L,
392
+ {
393
+ type: "submit",
394
+ fullWidth: !0,
395
+ disabled: !!s || t,
396
+ isLoading: t,
397
+ children: "Submit"
398
+ }
399
+ ),
400
+ /* @__PURE__ */ a(F, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ a(
401
+ L,
402
+ {
403
+ isText: !0,
404
+ onClick: () => l(1),
405
+ sx: { fontWeight: 500, padding: 0 },
406
+ customSize: "small",
407
+ children: "Go back and edit"
408
+ }
409
+ ) })
410
+ ] }) })
411
+ ] });
412
+ };
413
+ export {
414
+ Pe as default
415
+ };
@@ -0,0 +1,3 @@
1
+ import { Summaryprops } from './types';
2
+ declare const Summary: ({ loader, registerInfo, setCurrentStep, storeName, initRegister, }: Summaryprops) => import("react/jsx-runtime").JSX.Element;
3
+ export default Summary;
@@ -0,0 +1,57 @@
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 { T as m } from "../../../Typography-Dx54MRM5.js";
4
+ import { S as o } from "../../../Stack-CkCveRRR.js";
5
+ import { B as u } from "../../../Box-BOgpENcC.js";
6
+ const l = ({ label: r, value: a }) => /* @__PURE__ */ i(u, { children: [
7
+ /* @__PURE__ */ e(
8
+ "label",
9
+ {
10
+ style: {
11
+ fontSize: "0.75rem",
12
+ fontWeight: 400,
13
+ color: "#1A202C"
14
+ },
15
+ children: r
16
+ }
17
+ ),
18
+ /* @__PURE__ */ e(m, { variant: "md", children: a })
19
+ ] }), S = ({
20
+ loader: r,
21
+ registerInfo: a,
22
+ setCurrentStep: n,
23
+ storeName: c,
24
+ initRegister: s
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: [
28
+ /* @__PURE__ */ e(l, { label: "Username", value: a.username }),
29
+ /* @__PURE__ */ e(l, { label: "Storename", value: c }),
30
+ /* @__PURE__ */ e(l, { label: "First Name", value: a.firstName }),
31
+ /* @__PURE__ */ e(l, { label: "Last Name", value: a.lastName }),
32
+ /* @__PURE__ */ e(l, { label: "Mobile Number", value: "+1" + a.phone }),
33
+ /* @__PURE__ */ e(l, { label: "Email Address", value: a.email }),
34
+ /* @__PURE__ */ e(
35
+ t,
36
+ {
37
+ isLoading: r,
38
+ disabled: r,
39
+ onClick: s,
40
+ children: "Submit"
41
+ }
42
+ ),
43
+ /* @__PURE__ */ e(o, { direction: "row", alignItems: "flex-start", children: /* @__PURE__ */ e(
44
+ t,
45
+ {
46
+ isText: !0,
47
+ onClick: () => n(2),
48
+ sx: { fontWeight: 500, padding: 0 },
49
+ customSize: "small",
50
+ children: "Go back and edit"
51
+ }
52
+ ) })
53
+ ] })
54
+ ] });
55
+ export {
56
+ S as default
57
+ };
@@ -0,0 +1,50 @@
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
+ username: string;
11
+ firstName: string;
12
+ lastName: string;
13
+ phone: string;
14
+ }
15
+ export interface EmailProps {
16
+ showAlertMessage: any;
17
+ loader: boolean;
18
+ registerInfo: RegisterInfo;
19
+ setRegisterInfo: React.Dispatch<React.SetStateAction<RegisterInfo>>;
20
+ setCurrentStep: (val: number) => void;
21
+ navigate: any;
22
+ dispatch: Dispatch<AuthActionTypes>;
23
+ validationError: string;
24
+ }
25
+ export interface PersonalInfoProps {
26
+ showAlertMessage: any;
27
+ loader: boolean;
28
+ registerInfo: RegisterInfo;
29
+ dispatch: Dispatch<AuthActionTypes>;
30
+ setRegisterInfo: React.Dispatch<React.SetStateAction<RegisterInfo>>;
31
+ setCurrentStep: (val: number) => void;
32
+ validationError: string;
33
+ }
34
+ export interface Summaryprops {
35
+ showAlertMessage: any;
36
+ storeName: string;
37
+ loader: boolean;
38
+ registerInfo: RegisterInfo;
39
+ setCurrentStep: (val: number) => void;
40
+ initRegister: () => void;
41
+ }
42
+ export interface ValidateEmailProps {
43
+ showAlertMessage: any;
44
+ loader: boolean;
45
+ otpLoader: boolean;
46
+ registerInfo: RegisterInfo;
47
+ initVerifyRegister: (otp: string) => void;
48
+ initReSendOtp: () => void;
49
+ }
50
+ 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,99 @@
1
+ import { jsxs as n, Fragment as R, jsx as t } from "react/jsx-runtime";
2
+ import h from "../Shared/Button/index.js";
3
+ import C 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-Dx54MRM5.js";
7
+ import { B as O } from "../../../Box-BOgpENcC.js";
8
+ import { S as d } from "../../../Stack-CkCveRRR.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), [r, m] = l(f);
18
+ u(() => {
19
+ if (r === 0) return;
20
+ const i = setInterval(() => {
21
+ m((s) => s - 1);
22
+ }, 1e3);
23
+ return () => clearInterval(i);
24
+ }, [r]), 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__ */ n(R, { children: [
46
+ /* @__PURE__ */ t(a, { variant: "lg", fontWeight: "500", children: "Verify your identity" }),
47
+ /* @__PURE__ */ n(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__ */ n(O, { width: "100%", children: [
53
+ /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
54
+ C,
55
+ {
56
+ value: e,
57
+ label: "Enter code",
58
+ placeholder: "Enter code sent via Email",
59
+ onChange: (i) => S(i.target.value),
60
+ error: x,
61
+ fullWidth: !0
62
+ }
63
+ ) }),
64
+ /* @__PURE__ */ n(d, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
65
+ /* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
66
+ r > 0 && /* @__PURE__ */ n(a, { variant: "body2", mt: 1, children: [
67
+ " ",
68
+ "You can ask for another one in ",
69
+ b(r)
70
+ ] }),
71
+ /* @__PURE__ */ t(
72
+ h,
73
+ {
74
+ onClick: T,
75
+ customSize: "medium",
76
+ isText: !0,
77
+ sx: { padding: "0px", height: "2rem" },
78
+ disabled: r > 0,
79
+ isLoading: p,
80
+ children: "Resend Email"
81
+ }
82
+ )
83
+ ] }),
84
+ /* @__PURE__ */ t(d, { direction: "row", spacing: 2, justifyContent: "flex-end", children: /* @__PURE__ */ t(
85
+ h,
86
+ {
87
+ onClick: k,
88
+ fullWidth: !0,
89
+ disabled: !e,
90
+ isLoading: g,
91
+ children: "Confirm"
92
+ }
93
+ ) })
94
+ ] })
95
+ ] });
96
+ };
97
+ export {
98
+ _ as default
99
+ };
@@ -0,0 +1,5 @@
1
+ interface TransactionProps {
2
+ navigate: any;
3
+ }
4
+ declare const _default: import('react').FC<TransactionProps & import('../../../hoc/withThemeProvider').WithThemeProviderProps>;
5
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import { jsxs as x, Fragment as i, jsx as t } from "react/jsx-runtime";
2
+ import "../../../constants-d3SWzaRo.js";
3
+ import { o as T } from "../../../order-Cry6kuj8.js";
4
+ import k from "../Shared/Button/index.js";
5
+ import L from "../../Shared/HistoryItem/index.js";
6
+ import { u as v, a as P } from "../../../react-redux-B4BZippc.js";
7
+ import { useState as n, useEffect as c } from "react";
8
+ import R from "../../../hoc/withThemeProvider.js";
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";
12
+ const j = ({ navigate: l }) => {
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
+ return c(() => {
15
+ p(T(e));
16
+ }, [e]), c(() => {
17
+ u((o) => [...o, ...s]);
18
+ }, [s]), /* @__PURE__ */ x(i, { children: [
19
+ /* @__PURE__ */ t(S, { onClickHandler: () => l("/dashboard") }),
20
+ /* @__PURE__ */ t(m, { variant: "lg", my: 2, fontWeight: 600, children: "Latest Transactions" }),
21
+ /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: a.length > 0 ? /* @__PURE__ */ t(i, { children: a.map((o, y) => /* @__PURE__ */ t(L, { data: o }, y)) }) : /* @__PURE__ */ t(m, { className: "text-center", color: "primary", variant: "5xl", children: "No Records" }) }),
22
+ a.length > 0 && f > e && /* @__PURE__ */ t(d, { direction: "row", justifyContent: "center", my: 2, children: /* @__PURE__ */ t(
23
+ k,
24
+ {
25
+ isLoading: h,
26
+ variant: "outlined",
27
+ onClick: () => g((o) => o + 1),
28
+ sx: {
29
+ color: "primary"
30
+ },
31
+ children: "Load More"
32
+ }
33
+ ) })
34
+ ] });
35
+ }, M = R(j);
36
+ export {
37
+ M as default
38
+ };