everest-npm-features 0.0.61 → 0.0.63

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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  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 +14 -13
  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 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  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.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,26 +1,17 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../../PlayArrow-Bjz9LxhD.js";
4
- import "../../../../Info-BVeUSPyk.js";
3
+ import "@mui/material";
4
+ import "../../../../PlayArrow-71FP5PzJ.js";
5
+ import "../../../../Info-DOoRR7sR.js";
5
6
  import "../../../../generic-token-B_ptO5yb.js";
6
7
  import "../../Shared/Input/index.js";
7
8
  import "../../../../util/constants.js";
8
- import "../../../../constants-DrmtdI1J.js";
9
- import "../../../../order-DEp_Lmar.js";
10
- import "../../../../tooltip-3UvETWtS.js";
9
+ import "../../../../constants-DX0YBtP2.js";
10
+ import "../../../../order-BXeCIvqC.js";
11
+ import "../../../../tooltip-BW0UyWw7.js";
11
12
  import "../../../../util/functions.js";
12
13
  import "../../Shared/Button/index.js";
13
- import { S as w } from "../../../../index-B9oucF3r.js";
14
- import "../../../../Grid-CFe3amXO.js";
15
- import "../../../../Box-B0YSYLco.js";
16
- import "../../../../Typography-pAaje37G.js";
17
- import "../../../../CircularProgress-xZA3lvba.js";
18
- import "../../../../TextField-DPpRUQe3.js";
19
- import "../../../../FormControl-RtZDQMdA.js";
20
- import "../../../../Select-CB5yWmyn.js";
21
- import "../../../../MenuItem-DUdYOJr4.js";
22
- import "../../../../ListItemIcon-CUcyTEEm.js";
23
- import "../../../../IconButton-DHm-hucF.js";
14
+ import { S as b } from "../../../../index-bK14vCZw.js";
24
15
  export {
25
- w as default
16
+ b as default
26
17
  };
@@ -1,17 +1,18 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../../hoc/withThemeProvider.js";
4
- import { C as c, F as g, M as h, P as j, i as k } from "../../../../index-B9oucF3r.js";
4
+ import { C as g, F as h, M as j, P as k, i as n } from "../../../../index-bK14vCZw.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-DrmtdI1J.js";
12
- import "../../../../PlayArrow-Bjz9LxhD.js";
13
- import "../../../../cryptoAssets-DyGDknvq.js";
14
- import "../../../../order-DEp_Lmar.js";
11
+ import "../../../../otpForm-DeeegaX2.js";
12
+ import "../../../../constants-DX0YBtP2.js";
13
+ import "../../../../PlayArrow-71FP5PzJ.js";
14
+ import "../../../../cryptoAssets-B8rAI7pp.js";
15
+ import "../../../../order-BXeCIvqC.js";
15
16
  import "../../../../context/snackBarContext.js";
16
17
  import "../../../../hooks/useEverestDispatch.js";
17
18
  import "../../../../util/conversions.js";
@@ -19,19 +20,19 @@ 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 "../../../../tooltip-BW0UyWw7.js";
23
24
  import "../../../../moment-h96o7c8I.js";
24
25
  import "../../../../index.esm-BsMAMhYW.js";
25
26
  import "../../../../web3-u4qDZYpo.js";
26
27
  import "../../../../index-ceeCtFuh.js";
27
28
  import "../../../../index.esm-I_Bp2YLf.js";
28
29
  import "../../../../context/dialogContext.js";
30
+ import "@mui/icons-material";
29
31
  import "../../MinimalKyc/form.js";
30
- import "../../../../Box-B0YSYLco.js";
31
32
  export {
32
- c as CONFIRM_SCREEN,
33
- g as FORM_SCREEN,
34
- h as MINIMAL_KYC_SCREEN,
35
- j as PAYMENT_SCREEN,
36
- k as default
33
+ g as CONFIRM_SCREEN,
34
+ h as FORM_SCREEN,
35
+ j as MINIMAL_KYC_SCREEN,
36
+ k as PAYMENT_SCREEN,
37
+ n as default
37
38
  };
@@ -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-DrmtdI1J.js";
10
- import { a as D } from "../../../../auth-Cwq6nfwY.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-DX0YBtP2.js";
11
+ import { a as T } from "../../../../auth-BBeOw4mt.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-DrmtdI1J.js";
4
- import { l as x } from "../../../../auth-Cwq6nfwY.js";
5
- import l from "../../Shared/Button/index.js";
6
- import y from "../../Shared/Input/index.js";
3
+ import "../../../../constants-DX0YBtP2.js";
4
+ import { l as x } from "../../../../auth-BBeOw4mt.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-DrmtdI1J.js";
6
- import { l as O, v as P } from "../../../../auth-Cwq6nfwY.js";
4
+ import O from "../../Shared/Input/index.js";
5
+ import { useState as c, useEffect as f } from "react";
6
+ import "../../../../constants-DX0YBtP2.js";
7
+ import { l as P, b as C } from "../../../../auth-BBeOw4mt.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-DrmtdI1J.js";
7
- import { f as E } from "../../../../auth-Cwq6nfwY.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-DX0YBtP2.js";
8
+ import { h as P } from "../../../../auth-BBeOw4mt.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
  };