everest-npm-features 0.0.60 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
  13. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -54
  51. package/dist/components/Shared/FullKyc/index.js +13 -12
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -14
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.js +34 -38
  63. package/dist/components/Wallet/Account/eWallet.js +35 -39
  64. package/dist/components/Wallet/Account/iban.js +49 -53
  65. package/dist/components/Wallet/Account/ibanItem.js +70 -76
  66. package/dist/components/Wallet/Account/index.js +68 -76
  67. package/dist/components/Wallet/Account/sendIban.js +79 -88
  68. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
  69. package/dist/components/Wallet/Buy/form.js +8 -18
  70. package/dist/components/Wallet/Buy/index.js +6 -6
  71. package/dist/components/Wallet/Deposit/index.js +16 -19
  72. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
  73. package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
  74. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  76. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  77. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
  79. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
  80. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  81. package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
  82. package/dist/components/Wallet/History/index.js +23 -797
  83. package/dist/components/Wallet/Home/index.js +13 -14
  84. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
  85. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  86. package/dist/components/Wallet/Portfolio/index.js +48 -52
  87. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  88. package/dist/components/Wallet/Profile/documents.js +125 -134
  89. package/dist/components/Wallet/Profile/index.js +38 -44
  90. package/dist/components/Wallet/Profile/storage.js +39 -47
  91. package/dist/components/Wallet/Receive/index.js +32 -37
  92. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
  93. package/dist/components/Wallet/Sell/form.js +8 -18
  94. package/dist/components/Wallet/Sell/index.js +6 -6
  95. package/dist/components/Wallet/Send/index.js +336 -324
  96. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  97. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  98. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  99. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
  100. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  101. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  102. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  103. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  104. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  105. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  106. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  107. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  108. package/dist/components/Wallet/Shared/addBank.js +41 -46
  109. package/dist/components/Wallet/Shared/appButton.js +11 -15
  110. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  111. package/dist/components/Wallet/Shared/button.js +7 -7
  112. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  113. package/dist/components/Wallet/Shared/inputField.js +5 -5
  114. package/dist/components/Wallet/Shared/manualSend.js +9 -14
  115. package/dist/components/Wallet/Shared/noData.js +4 -5
  116. package/dist/components/Wallet/Shared/pin.js +25 -27
  117. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  118. package/dist/components/Wallet/Shared/step.js +12 -13
  119. package/dist/components/Wallet/Shared/timer.js +1 -1
  120. package/dist/components/Wallet/SignIn/index.js +17 -17
  121. package/dist/components/Wallet/SignUp/index.js +63 -153
  122. package/dist/components/Wallet/SignUp/terms.js +1 -1
  123. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  124. package/dist/components/Wallet/Stake/id/index.js +73 -81
  125. package/dist/components/Wallet/Stake/index.js +65 -69
  126. package/dist/components/Wallet/Swap/form.js +11 -21
  127. package/dist/components/Wallet/Swap/index.js +5 -5
  128. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  129. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  130. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  131. package/dist/components/Wallet/Withdraw/form.js +6 -17
  132. package/dist/components/Wallet/Withdraw/index.js +5 -5
  133. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  134. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  135. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  136. package/dist/hoc/withThemeProvider.js +5 -732
  137. package/dist/hooks/useDialog/index.js +22 -23
  138. package/dist/hooks/useRrDialog/index.js +43 -46
  139. package/dist/hooks/useSnackBar.js +24 -696
  140. package/dist/icons/buyIcon.js +1 -1
  141. package/dist/icons/canceledBuyIcon.js +1 -1
  142. package/dist/icons/canceledRedeemIcon.js +1 -1
  143. package/dist/icons/failedBuyIcon.js +2 -2
  144. package/dist/icons/failedRedeemIcon.js +2 -2
  145. package/dist/icons/pendingBuyIcon.js +1 -1
  146. package/dist/icons/pendingRedeemIcon.js +1 -1
  147. package/dist/icons/redeemIcon.js +1 -1
  148. package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
  149. package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
  150. package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
  151. package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
  152. package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
  153. package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
  154. package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
  155. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  156. package/dist/main.js +7 -7
  157. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  158. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  159. package/dist/otpForm-fiNqeB5H.js +7378 -0
  160. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  161. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  162. package/dist/tooltip-BW0UyWw7.js +2129 -0
  163. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  164. package/package.json +6 -6
  165. package/dist/Alert-DzsbFW3-.js +0 -369
  166. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  167. package/dist/Avatar-1XklXr4O.js +0 -281
  168. package/dist/Backdrop-CioURPVG.js +0 -359
  169. package/dist/Box-B0YSYLco.js +0 -59
  170. package/dist/Button-Df4vgU24.js +0 -663
  171. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  172. package/dist/CardContent-D9wTdpu-.js +0 -141
  173. package/dist/CircularProgress-xZA3lvba.js +0 -252
  174. package/dist/Close-CxzDL3J-.js +0 -9
  175. package/dist/Container-urNKV7hm.js +0 -181
  176. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  177. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  178. package/dist/DialogContent-BMwlOnbW.js +0 -567
  179. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  180. package/dist/Divider-BShhMFf4.js +0 -297
  181. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  182. package/dist/FormControl-RtZDQMdA.js +0 -258
  183. package/dist/FormControlLabel-BliKW48y.js +0 -519
  184. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  185. package/dist/Grid-CFe3amXO.js +0 -410
  186. package/dist/Grow-CnGtel3u.js +0 -196
  187. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  188. package/dist/IconButton-DHm-hucF.js +0 -297
  189. package/dist/InputAdornment-DMiED3JH.js +0 -173
  190. package/dist/Link-DBA9Yifs.js +0 -266
  191. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  192. package/dist/Menu-DLYFFrEk.js +0 -1239
  193. package/dist/MenuItem-DUdYOJr4.js +0 -271
  194. package/dist/Modal-CFIQ_s3T.js +0 -743
  195. package/dist/Paper-Bgt2WXI6.js +0 -186
  196. package/dist/Popper-BBAoiZKn.js +0 -1409
  197. package/dist/Portal-BMAxiQwe.js +0 -69
  198. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  199. package/dist/Select-CB5yWmyn.js +0 -1886
  200. package/dist/Slide-B9Nw0LZ4.js +0 -235
  201. package/dist/Stack-k55YTxET.js +0 -172
  202. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  203. package/dist/TextField-DPpRUQe3.js +0 -978
  204. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  205. package/dist/Typography-pAaje37G.js +0 -260
  206. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  207. package/dist/clsx-BTaloaeC.js +0 -264
  208. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  209. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  210. package/dist/createTheme-CD19zQB7.js +0 -3825
  211. package/dist/debounce-46wSf_lW.js +0 -15
  212. package/dist/defaultTheme-C35y5cLB.js +0 -5
  213. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  214. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  215. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  216. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  217. package/dist/exactProp-C1Lmtwf_.js +0 -13
  218. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  219. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  220. package/dist/index-B0Z-Gjno.js +0 -22
  221. package/dist/index-DUcLo3x5.js +0 -43
  222. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  223. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  224. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  225. package/dist/memoTheme-yHaPezod.js +0 -15
  226. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  227. package/dist/radioButton-CzlYB0Lh.js +0 -402
  228. package/dist/refType-BsTH3qnM.js +0 -56
  229. package/dist/tooltip-3UvETWtS.js +0 -740
  230. package/dist/useControlled-nm4pBabJ.js +0 -31
  231. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  232. package/dist/useFormControl-CatNKXAi.js +0 -10
  233. package/dist/useId-CK6Kn3Tn.js +0 -21
  234. package/dist/useSlot-CW7SOYlh.js +0 -125
  235. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  236. package/dist/useTheme-BQJ5lp0i.js +0 -11
  237. package/dist/useTheme-S5_DHFsQ.js +0 -17
  238. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,17 +1,18 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-DV1dVcrY.js";
4
+ import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-CK4kLRAw.js";
5
5
  import "../../../../index-DlQqWbXG.js";
6
+ import "@mui/material";
6
7
  import "../../../Wallet/Shared/appButton.js";
7
8
  import "../../../../react-redux-C7I9-1M6.js";
8
9
  import "../../../../util/functions.js";
9
10
  import "../../../../util/constants.js";
10
- import "../../../Wallet/Shared/Auth/otpForm.js";
11
- import "../../../../constants-DREDnCMu.js";
12
- import "../../../../PlayArrow-BlkZJiHn.js";
13
- import "../../../../cryptoAssets-DbyDgq4J.js";
14
- import "../../../../order-DGBbo_Ox.js";
11
+ import "../../../../otpForm-fiNqeB5H.js";
12
+ import "../../../../constants-DrmtdI1J.js";
13
+ import "../../../../PlayArrow-BVDyfxsQ.js";
14
+ import "../../../../cryptoAssets-DyGDknvq.js";
15
+ import "../../../../order-DEp_Lmar.js";
15
16
  import "../../../../context/snackBarContext.js";
16
17
  import "../../../../hooks/useEverestDispatch.js";
17
18
  import "../../../../util/conversions.js";
@@ -19,16 +20,15 @@ import "../../../../index-CAoLi5Qq.js";
19
20
  import "../../../../hooks/useSnackBar.js";
20
21
  import "../../../../react-webcam-B3cXh1XT.js";
21
22
  import "../../../Shared/transition.js";
22
- import "../../../../tooltip-3UvETWtS.js";
23
- import "../../../Wallet/Shared/pin.js";
23
+ import "../../../../tooltip-BW0UyWw7.js";
24
24
  import "../../../../moment-h96o7c8I.js";
25
25
  import "../../../../index.esm-BsMAMhYW.js";
26
26
  import "../../../../web3-u4qDZYpo.js";
27
27
  import "../../../../index-ceeCtFuh.js";
28
28
  import "../../../../index.esm-I_Bp2YLf.js";
29
29
  import "../../../../context/dialogContext.js";
30
+ import "@mui/icons-material";
30
31
  import "../../MinimalKyc/form.js";
31
- import "../../../../Box-B0YSYLco.js";
32
32
  export {
33
33
  g as CONFIRM_SCREEN,
34
34
  h as FORM_SCREEN,
@@ -1,27 +1,25 @@
1
1
  import { jsxs as k, jsx as r } from "react/jsx-runtime";
2
- import { useState as S, useEffect as n } from "react";
3
- import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
4
- import { u as w } from "../../../../react-redux-C7I9-1M6.js";
2
+ import { Container as S, Typography as b, Box as l } from "@mui/material";
3
+ import { useState as w, useEffect as n } from "react";
4
+ import { useSnackBar as L } from "../../../../hooks/useSnackBar.js";
5
+ import { u as y } from "../../../../react-redux-C7I9-1M6.js";
5
6
  import B from "../../../../hoc/withThemeProvider.js";
6
- import { L } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import T from "./loginForm.js";
8
- import y from "./otpForm.js";
9
- import "../../../../constants-DREDnCMu.js";
10
- import { a as D } from "../../../../auth-WhDJHZtr.js";
11
- import E from "../../../../hooks/useEverestDispatch.js";
12
- import { C as R } from "../../../../Container-urNKV7hm.js";
13
- import { T as v } from "../../../../Typography-pAaje37G.js";
14
- import { B as l } from "../../../../Box-B0YSYLco.js";
15
- const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
16
- const e = E(), o = w((F) => F.session), c = o.loader, x = o.otpLoader, h = o.screen, t = o.uuid, s = o.token, i = o.error, { showAlertMessage: m, snackBar: u } = b(), [d, g] = S("");
7
+ import { L as D } from "../../../../rr-primary-logo-CqI24c8v.js";
8
+ import E from "./loginForm.js";
9
+ import R from "./otpForm.js";
10
+ import "../../../../constants-DrmtdI1J.js";
11
+ import { a as T } from "../../../../auth-DTJdu6mq.js";
12
+ import v from "../../../../hooks/useEverestDispatch.js";
13
+ const I = ({ onLogin: f, navigate: a, navigatePath: c }) => {
14
+ const e = v(), o = y((F) => F.session), p = o.loader, x = o.otpLoader, h = o.screen, t = o.uuid, s = o.token, i = o.error, { showAlertMessage: m, snackBar: u } = L(), [d, g] = w("");
17
15
  return n(() => () => {
18
- e(D());
16
+ e(T());
19
17
  }, []), n(() => {
20
- t && s && (f(t, s), a(p || "/dashboard"));
18
+ t && s && (f(t, s), a(c || "/dashboard"));
21
19
  }, [t, s]), n(() => {
22
20
  i && m({ message: i });
23
21
  }, [i]), /* @__PURE__ */ k(
24
- R,
22
+ S,
25
23
  {
26
24
  maxWidth: "sm",
27
25
  component: "div",
@@ -35,8 +33,8 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
35
33
  },
36
34
  children: [
37
35
  u,
38
- /* @__PURE__ */ r(v, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
39
- /* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: L, width: 440, height: 63 }) }),
36
+ /* @__PURE__ */ r(b, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
37
+ /* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: D, width: 440, height: 63 }) }),
40
38
  /* @__PURE__ */ r(
41
39
  l,
42
40
  {
@@ -53,20 +51,20 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
53
51
  display: "flex"
54
52
  },
55
53
  children: h === 1 ? /* @__PURE__ */ r(
56
- T,
54
+ E,
57
55
  {
58
56
  showAlertMessage: m,
59
- loader: c,
57
+ loader: p,
60
58
  email: d,
61
59
  setEmail: g,
62
60
  navigate: a,
63
61
  dispatch: e
64
62
  }
65
63
  ) : /* @__PURE__ */ r(
66
- y,
64
+ R,
67
65
  {
68
66
  showAlertMessage: m,
69
- loader: c,
67
+ loader: p,
70
68
  otpLoader: x,
71
69
  email: d,
72
70
  dispatch: e
@@ -77,7 +75,7 @@ const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
77
75
  ]
78
76
  }
79
77
  );
80
- }, Q = B(C);
78
+ }, N = B(I);
81
79
  export {
82
- Q as default
80
+ N as default
83
81
  };
@@ -1,28 +1,26 @@
1
- import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as i, Fragment as g, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as h, useEffect as v } from "react";
3
- import "../../../../constants-DREDnCMu.js";
4
- import { l as x } from "../../../../auth-WhDJHZtr.js";
5
- import l from "../../Shared/Button/index.js";
6
- import y from "../../Shared/Input/index.js";
3
+ import "../../../../constants-DrmtdI1J.js";
4
+ import { l as x } from "../../../../auth-DTJdu6mq.js";
5
+ import { Stack as l, Typography as o, Box as y } from "@mui/material";
6
+ import d from "../../Shared/Button/index.js";
7
+ import E from "../../Shared/Input/index.js";
7
8
  import { isValidEmail as m } from "../../../../util/functions.js";
8
- import { S as d } from "../../../../Stack-k55YTxET.js";
9
- import { T as i } from "../../../../Typography-pAaje37G.js";
10
- import { B as E } from "../../../../Box-B0YSYLco.js";
11
- const P = ({
9
+ const F = ({
12
10
  showAlertMessage: n,
13
11
  loader: c,
14
- email: r,
12
+ email: e,
15
13
  setEmail: p,
16
- navigate: f,
17
- dispatch: u
14
+ navigate: u,
15
+ dispatch: f
18
16
  }) => {
19
17
  const [a, s] = h(!1);
20
18
  return v(() => {
21
- s(r ? !m(r) : !1);
22
- }, [r]), /* @__PURE__ */ t(g, { children: [
23
- /* @__PURE__ */ t(d, { direction: "column", spacing: 1.5, children: [
24
- /* @__PURE__ */ e(
25
- i,
19
+ s(e ? !m(e) : !1);
20
+ }, [e]), /* @__PURE__ */ i(g, { children: [
21
+ /* @__PURE__ */ i(l, { direction: "column", spacing: 1.5, children: [
22
+ /* @__PURE__ */ r(
23
+ o,
26
24
  {
27
25
  variant: "h4",
28
26
  sx: {
@@ -32,41 +30,41 @@ const P = ({
32
30
  children: "Login"
33
31
  }
34
32
  ),
35
- /* @__PURE__ */ e(i, { variant: "body1", sx: { marginTop: "0.5rem" }, children: "Enter your credentials to log in" })
33
+ /* @__PURE__ */ r(o, { variant: "body1", sx: { marginTop: "0.5rem" }, children: "Enter your credentials to log in" })
36
34
  ] }),
37
- /* @__PURE__ */ e(E, { component: "form", onSubmit: (o) => {
38
- if (o.preventDefault(), !r)
35
+ /* @__PURE__ */ r(y, { component: "form", onSubmit: (t) => {
36
+ if (t.preventDefault(), !e)
39
37
  return n({ message: "Please provide email address." }), !1;
40
- if (!m(r))
38
+ if (!m(e))
41
39
  return n({ message: "Please provide valid email address." }), !1;
42
- u(x(r));
43
- }, width: "100%", children: /* @__PURE__ */ t(d, { direction: "column", spacing: 2, children: [
44
- /* @__PURE__ */ e(
45
- y,
40
+ f(x(e));
41
+ }, width: "100%", children: /* @__PURE__ */ i(l, { direction: "column", spacing: 2, children: [
42
+ /* @__PURE__ */ r(
43
+ E,
46
44
  {
47
- value: r,
45
+ value: e,
48
46
  label: "E-mail address",
49
- onChange: (o) => p(o.target.value),
47
+ onChange: (t) => p(t.target.value),
50
48
  error: a,
51
49
  fullWidth: !0
52
50
  }
53
51
  ),
54
- /* @__PURE__ */ e(
55
- l,
52
+ /* @__PURE__ */ r(
53
+ d,
56
54
  {
57
55
  type: "submit",
58
56
  fullWidth: !0,
59
- disabled: !r || a,
57
+ disabled: !e || a,
60
58
  isLoading: c,
61
59
  children: "Login"
62
60
  }
63
61
  ),
64
- /* @__PURE__ */ e(i, { variant: "xs", align: "center", children: "Not registered yet?" }),
65
- /* @__PURE__ */ e(
66
- l,
62
+ /* @__PURE__ */ r(o, { variant: "xs", align: "center", children: "Not registered yet?" }),
63
+ /* @__PURE__ */ r(
64
+ d,
67
65
  {
68
66
  variant: "outlined",
69
- onClick: () => f("/signup"),
67
+ onClick: () => u("/signup"),
70
68
  sx: {
71
69
  color: "primary"
72
70
  },
@@ -77,5 +75,5 @@ const P = ({
77
75
  ] });
78
76
  };
79
77
  export {
80
- P as default
78
+ F as default
81
79
  };
@@ -1,50 +1,48 @@
1
- import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as r, Fragment as k, jsx as t } from "react/jsx-runtime";
2
+ import { Stack as o, Typography as a, Box as I } from "@mui/material";
2
3
  import p from "../../Shared/Button/index.js";
3
- import I from "../../Shared/Input/index.js";
4
- import { useState as m, useEffect as f } from "react";
5
- import "../../../../constants-DREDnCMu.js";
6
- import { l as O, v as P } from "../../../../auth-WhDJHZtr.js";
4
+ import O from "../../Shared/Input/index.js";
5
+ import { useState as c, useEffect as f } from "react";
6
+ import "../../../../constants-DrmtdI1J.js";
7
+ import { l as P, b as C } from "../../../../auth-DTJdu6mq.js";
7
8
  import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
8
- import { S as o } from "../../../../Stack-k55YTxET.js";
9
- import { T as a } from "../../../../Typography-pAaje37G.js";
10
- import { B as C } from "../../../../Box-B0YSYLco.js";
11
- const $ = ({
9
+ const F = ({
12
10
  showAlertMessage: s,
13
11
  loader: v,
14
12
  otpLoader: x,
15
13
  email: d,
16
- dispatch: c
14
+ dispatch: m
17
15
  }) => {
18
- const [e, y] = m(""), [S, u] = m(!1), [i, h] = m(g);
16
+ const [e, y] = c(""), [E, u] = c(!1), [i, h] = c(g);
19
17
  f(() => {
20
18
  if (i === 0) return;
21
- const r = setInterval(() => {
19
+ const n = setInterval(() => {
22
20
  h((l) => l - 1);
23
21
  }, 1e3);
24
- return () => clearInterval(r);
22
+ return () => clearInterval(n);
25
23
  }, [i]), f(() => {
26
24
  u(e ? e.length !== 6 : !1);
27
25
  }, [e]);
28
- const E = () => {
29
- c(O(d)), h(g), s({
26
+ const S = () => {
27
+ m(P(d)), h(g), s({
30
28
  message: "A new OTP has been send to the given email address.",
31
29
  type: "success",
32
30
  duration: 6e3
33
31
  });
34
- }, T = (r) => {
35
- const l = Math.floor(r / 60), R = r % 60;
32
+ }, b = (n) => {
33
+ const l = Math.floor(n / 60), T = n % 60;
36
34
  return `${String(l).padStart(2, "0")}:${String(
37
- R
35
+ T
38
36
  ).padStart(2, "0")}`;
39
- }, b = () => {
37
+ }, R = () => {
40
38
  if (!e)
41
39
  return s({ message: "Please provide OTP." }), !1;
42
40
  if (e.length !== 6)
43
41
  return s({ message: "OTP should be 6-digit." }), !1;
44
- c(P({ email: d, otp: e }));
42
+ m(C({ email: d, otp: e }));
45
43
  };
46
- return /* @__PURE__ */ n(k, { children: [
47
- /* @__PURE__ */ n(o, { direction: "column", spacing: 1.5, children: [
44
+ return /* @__PURE__ */ r(k, { children: [
45
+ /* @__PURE__ */ r(o, { direction: "column", spacing: 1.5, children: [
48
46
  /* @__PURE__ */ t(
49
47
  a,
50
48
  {
@@ -56,36 +54,36 @@ const $ = ({
56
54
  children: "Verify your identity"
57
55
  }
58
56
  ),
59
- /* @__PURE__ */ n(a, { variant: "body1", sx: { marginTop: "0.5rem" }, children: [
57
+ /* @__PURE__ */ r(a, { variant: "body1", sx: { marginTop: "0.5rem" }, children: [
60
58
  "Please check your email ",
61
59
  d,
62
60
  " and enter the code in the field below within the next 5 minutes."
63
61
  ] })
64
62
  ] }),
65
- /* @__PURE__ */ n(C, { width: "100%", children: [
63
+ /* @__PURE__ */ r(I, { width: "100%", children: [
66
64
  /* @__PURE__ */ t(o, { direction: "column", spacing: 2, children: /* @__PURE__ */ t(
67
- I,
65
+ O,
68
66
  {
69
67
  value: e,
70
68
  label: "Enter code",
71
69
  placeholder: "Enter code sent via Email",
72
- onChange: (r) => y(r.target.value),
73
- error: S,
70
+ onChange: (n) => y(n.target.value),
71
+ error: E,
74
72
  inputProps: { maxLength: 6 },
75
73
  fullWidth: !0
76
74
  }
77
75
  ) }),
78
- /* @__PURE__ */ n(o, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
76
+ /* @__PURE__ */ r(o, { direction: "column", alignItems: "center", spacing: 2, my: "1.2rem", children: [
79
77
  /* @__PURE__ */ t(a, { variant: "body1", children: "Didn't receive the code?" }),
80
- i > 0 && /* @__PURE__ */ n(a, { variant: "body2", mt: 1, children: [
78
+ i > 0 && /* @__PURE__ */ r(a, { variant: "body2", mt: 1, children: [
81
79
  " ",
82
80
  "You can ask for another one in ",
83
- T(i)
81
+ b(i)
84
82
  ] }),
85
83
  /* @__PURE__ */ t(
86
84
  p,
87
85
  {
88
- onClick: E,
86
+ onClick: S,
89
87
  customSize: "medium",
90
88
  isText: !0,
91
89
  sx: { padding: "0px", height: "2rem" },
@@ -98,7 +96,7 @@ const $ = ({
98
96
  /* @__PURE__ */ t(o, { direction: "row", spacing: 2, justifyContent: "flex-end", children: /* @__PURE__ */ t(
99
97
  p,
100
98
  {
101
- onClick: b,
99
+ onClick: R,
102
100
  fullWidth: !0,
103
101
  disabled: !e,
104
102
  isLoading: x,
@@ -109,5 +107,5 @@ const $ = ({
109
107
  ] });
110
108
  };
111
109
  export {
112
- $ as default
110
+ F as default
113
111
  };
@@ -1,47 +1,45 @@
1
- import { jsxs as l, Fragment as v, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as s, Fragment as v, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as R } from "react";
3
+ import { Typography as k, Box as y, Stack as E } from "@mui/material";
3
4
  import n from "../../Shared/Button/index.js";
4
- import k from "../../Shared/Input/index.js";
5
- import { isValidEmail as d, generateRandomString as y } from "../../../../util/functions.js";
6
- import "../../../../constants-DREDnCMu.js";
7
- import { f as E } from "../../../../auth-WhDJHZtr.js";
8
- import { T as S } from "../../../../Typography-pAaje37G.js";
9
- import { B as b } from "../../../../Box-B0YSYLco.js";
10
- import { S as T } from "../../../../Stack-k55YTxET.js";
11
- const N = ({
5
+ import S from "../../Shared/Input/index.js";
6
+ import { isValidEmail as d, generateRandomString as b } from "../../../../util/functions.js";
7
+ import "../../../../constants-DrmtdI1J.js";
8
+ import { h as P } from "../../../../auth-DTJdu6mq.js";
9
+ const I = ({
12
10
  showAlertMessage: t,
13
11
  loader: i,
14
12
  validationError: m,
15
13
  registerInfo: c,
16
- setRegisterInfo: f,
17
- navigate: u,
14
+ setRegisterInfo: u,
15
+ navigate: f,
18
16
  dispatch: p,
19
17
  storeName: h
20
18
  }) => {
21
- const e = c.email, [o, s] = x(!1);
19
+ const e = c.email, [o, l] = x(!1);
22
20
  return R(() => {
23
- s(e ? !d(e) : !1);
24
- }, [e]), /* @__PURE__ */ l(v, { children: [
25
- /* @__PURE__ */ r(S, { variant: "lg", children: "Add your email" }),
26
- /* @__PURE__ */ r(b, { component: "form", onSubmit: (a) => {
21
+ l(e ? !d(e) : !1);
22
+ }, [e]), /* @__PURE__ */ s(v, { children: [
23
+ /* @__PURE__ */ r(k, { variant: "lg", children: "Add your email" }),
24
+ /* @__PURE__ */ r(y, { component: "form", onSubmit: (a) => {
27
25
  if (a.preventDefault(), !e)
28
26
  return t({ message: "Please provide email address." }), !1;
29
27
  if (!d(e))
30
28
  return t({ message: "Please provide valid email address." }), !1;
31
29
  p(
32
- E({
30
+ P({
33
31
  email: e,
34
- username: y(),
32
+ username: b(),
35
33
  storename: h
36
34
  })
37
35
  );
38
- }, width: "100%", children: /* @__PURE__ */ l(T, { direction: "column", gap: 2, children: [
36
+ }, width: "100%", children: /* @__PURE__ */ s(E, { direction: "column", gap: 2, children: [
39
37
  /* @__PURE__ */ r(
40
- k,
38
+ S,
41
39
  {
42
40
  value: e,
43
41
  label: "E-mail address",
44
- onChange: (a) => f((g) => ({ ...g, email: a.target.value })),
42
+ onChange: (a) => u((g) => ({ ...g, email: a.target.value })),
45
43
  error: o || !!m,
46
44
  errorText: m,
47
45
  fullWidth: !0
@@ -61,7 +59,7 @@ const N = ({
61
59
  {
62
60
  isText: !0,
63
61
  customSize: "medium",
64
- onClick: () => u("/"),
62
+ onClick: () => f("/"),
65
63
  children: "Already have an account?"
66
64
  }
67
65
  )
@@ -69,5 +67,5 @@ const N = ({
69
67
  ] });
70
68
  };
71
69
  export {
72
- N as default
70
+ I as default
73
71
  };
@@ -1,52 +1,49 @@
1
- import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
- import { useState as D, useEffect as f } from "react";
3
- import { useSnackBar as C } from "../../../../hooks/useSnackBar.js";
4
- import { u as E } from "../../../../react-redux-C7I9-1M6.js";
5
- import I from "../../../../hoc/withThemeProvider.js";
6
- import { L as T } from "../../../../rr-primary-logo-CqI24c8v.js";
7
- import _ from "./email.js";
8
- import A from "./personalInfo.js";
9
- import L from "./summary.js";
10
- import W from "./validateEmail.js";
11
- import "../../../../constants-DREDnCMu.js";
12
- import { a as q, u as U, r as V, b as j } from "../../../../auth-WhDJHZtr.js";
13
- import { USERNAME_SUFFIX as N } from "../../../../util/constants.js";
14
- import M from "../../../../hooks/useEverestDispatch.js";
15
- import { C as P } from "../../../../Container-urNKV7hm.js";
16
- import { B as v } from "../../../../Box-B0YSYLco.js";
17
- import { S as F } from "../../../../Stack-k55YTxET.js";
18
- import { T as u } from "../../../../Typography-pAaje37G.js";
1
+ import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
+ import { Container as b, Box as E, Stack as N, Typography as f } from "@mui/material";
3
+ import { useState as I, useEffect as u } from "react";
4
+ import { useSnackBar as _ } from "../../../../hooks/useSnackBar.js";
5
+ import { u as v } from "../../../../react-redux-C7I9-1M6.js";
6
+ import A from "../../../../hoc/withThemeProvider.js";
7
+ import { L as C } from "../../../../rr-primary-logo-CqI24c8v.js";
8
+ import L from "./email.js";
9
+ import T from "./personalInfo.js";
10
+ import W from "./summary.js";
11
+ import q from "./validateEmail.js";
12
+ import "../../../../constants-DrmtdI1J.js";
13
+ import { a as U, u as V, c as j, d as M } from "../../../../auth-DTJdu6mq.js";
14
+ import { USERNAME_SUFFIX as F } from "../../../../util/constants.js";
15
+ import P from "../../../../hooks/useEverestDispatch.js";
19
16
  const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
20
- const a = M(), r = E((o) => o.session), s = E((o) => o.app).store.name, m = r.loader, x = r.validationError, S = r.screen, B = r.otpLoader, p = r.uuid, c = r.token, l = r.error, b = 4, { showAlertMessage: n, snackBar: w } = C(), [e, R] = D({
17
+ const a = P(), r = v((t) => t.session), s = v((t) => t.app).store.name, m = r.loader, x = r.validationError, S = r.screen, w = r.otpLoader, p = r.uuid, c = r.token, l = r.error, B = 4, { showAlertMessage: n, snackBar: D } = _(), [e, R] = I({
21
18
  email: "",
22
19
  username: "",
23
20
  firstName: "",
24
21
  lastName: "",
25
22
  phone: ""
26
23
  });
27
- f(() => () => {
28
- a(q());
29
- }, []), f(() => {
24
+ u(() => () => {
25
+ a(U());
26
+ }, []), u(() => {
30
27
  p && c && (k(p, c), h(g || "/dashboard"));
31
- }, [p, c]), f(() => {
28
+ }, [p, c]), u(() => {
32
29
  l && n({ message: l });
33
30
  }, [l]);
34
- const d = (o) => {
35
- a(U(o));
31
+ const d = (t) => {
32
+ a(V(t));
36
33
  }, y = () => {
37
34
  a(
38
- V({
35
+ j({
39
36
  first_name: e.firstName,
40
37
  last_name: e.lastName,
41
38
  email: e.email,
42
- username: e.username + N,
39
+ username: e.username + F,
43
40
  phone: "+1" + e.phone,
44
41
  storename: s
45
42
  })
46
43
  );
47
44
  };
48
45
  return /* @__PURE__ */ i(
49
- P,
46
+ b,
50
47
  {
51
48
  maxWidth: "sm",
52
49
  component: "div",
@@ -59,10 +56,10 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
59
56
  // alignItems: "center",
60
57
  },
61
58
  children: [
62
- w,
63
- /* @__PURE__ */ t(v, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ t("img", { alt: "RocketRamp logo", src: T }) }),
59
+ D,
60
+ /* @__PURE__ */ o(E, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ o("img", { alt: "RocketRamp logo", src: C }) }),
64
61
  /* @__PURE__ */ i(
65
- v,
62
+ E,
66
63
  {
67
64
  sx: {
68
65
  flex: 1,
@@ -77,22 +74,22 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
77
74
  display: "flex"
78
75
  },
79
76
  children: [
80
- /* @__PURE__ */ i(F, { direction: "column", spacing: 1.5, children: [
81
- /* @__PURE__ */ t(u, { variant: "2xl", fontWeight: 600, children: "Create New Account" }),
82
- /* @__PURE__ */ i(F, { direction: "row", gap: "0.25rem", children: [
83
- /* @__PURE__ */ i(u, { variant: "md", fontWeight: 500, children: [
77
+ /* @__PURE__ */ i(N, { direction: "column", spacing: 1.5, children: [
78
+ /* @__PURE__ */ o(f, { variant: "2xl", fontWeight: 600, children: "Create New Account" }),
79
+ /* @__PURE__ */ i(N, { direction: "row", gap: "0.25rem", children: [
80
+ /* @__PURE__ */ i(f, { variant: "md", fontWeight: 500, children: [
84
81
  "Step ",
85
82
  S
86
83
  ] }),
87
- /* @__PURE__ */ i(u, { variant: "md", fontWeight: 200, children: [
84
+ /* @__PURE__ */ i(f, { variant: "md", fontWeight: 200, children: [
88
85
  "of ",
89
- b
86
+ B
90
87
  ] })
91
88
  ] })
92
89
  ] }),
93
90
  {
94
- 1: /* @__PURE__ */ t(
95
- _,
91
+ 1: /* @__PURE__ */ o(
92
+ L,
96
93
  {
97
94
  showAlertMessage: n,
98
95
  loader: m,
@@ -105,8 +102,8 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
105
102
  setCurrentStep: d
106
103
  }
107
104
  ),
108
- 2: /* @__PURE__ */ t(
109
- A,
105
+ 2: /* @__PURE__ */ o(
106
+ T,
110
107
  {
111
108
  showAlertMessage: n,
112
109
  loader: m,
@@ -118,8 +115,8 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
118
115
  storeName: s
119
116
  }
120
117
  ),
121
- 3: /* @__PURE__ */ t(
122
- L,
118
+ 3: /* @__PURE__ */ o(
119
+ W,
123
120
  {
124
121
  showAlertMessage: n,
125
122
  loader: m,
@@ -129,23 +126,23 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
129
126
  initRegister: y
130
127
  }
131
128
  ),
132
- 4: /* @__PURE__ */ t(
133
- W,
129
+ 4: /* @__PURE__ */ o(
130
+ q,
134
131
  {
135
132
  showAlertMessage: n,
136
133
  loader: m,
137
- otpLoader: B,
134
+ otpLoader: w,
138
135
  registerInfo: e,
139
- initVerifyRegister: (o) => {
136
+ initVerifyRegister: (t) => {
140
137
  a(
141
- j({
138
+ M({
142
139
  first_name: e.firstName,
143
140
  last_name: e.lastName,
144
141
  email: e.email,
145
- username: e.username + N,
142
+ username: e.username + F,
146
143
  phone: "+1" + e.phone,
147
144
  storename: s,
148
- otp: o
145
+ otp: t
149
146
  })
150
147
  );
151
148
  },
@@ -159,7 +156,7 @@ const z = ({ onRegister: k, navigate: h, navigatePath: g }) => {
159
156
  ]
160
157
  }
161
158
  );
162
- }, ce = I(z);
159
+ }, ne = A(z);
163
160
  export {
164
- ce as default
161
+ ne as default
165
162
  };