everest-npm-features 0.0.18 → 0.0.19

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 (225) hide show
  1. package/dist/{Alert-BhBjKBJe.js → Alert-C1UNQHPD.js} +114 -115
  2. package/dist/{ArrowBack-BT4ZQvY3.js → ArrowBack-Clp4i3dA.js} +1 -1
  3. package/dist/{ArrowDropDown-CzeT8wh0.js → ArrowDropDown-CoJNyIet.js} +1 -1
  4. package/dist/{ArrowRight-CZV_yDgu.js → ArrowRight-DXtbS-1g.js} +1 -1
  5. package/dist/{Backdrop-Cwqacwk8.js → Backdrop-DD6Ysl5O.js} +6 -6
  6. package/dist/{Box-rIIGCyb6.js → Box-Be0E_-eR.js} +4 -4
  7. package/dist/{Button-Csuq67Py.js → Button-DCBtFwk3.js} +4 -4
  8. package/dist/{ButtonBase-DC2O2INs.js → ButtonBase-CE33gcZ6.js} +5 -5
  9. package/dist/{Cancel-Ch0B8nr4.js → Cancel-DEk2meuc.js} +1 -1
  10. package/dist/{CardContent-KUuSGQyI.js → CardContent-B5tGyfc5.js} +3 -3
  11. package/dist/{CheckCircle-BiltyzEJ.js → CheckCircle-BIckgNlV.js} +1 -1
  12. package/dist/{CircularProgress-CBhr9Pli.js → CircularProgress-fePUtoaj.js} +3 -3
  13. package/dist/Close-Bj6AaxRi.js +9 -0
  14. package/dist/{Close-Dv525LOL.js → Close-D20PIPiF.js} +1 -1
  15. package/dist/{Container-CBfJit1k.js → Container-CTfl6Vy4.js} +4 -4
  16. package/dist/{ContentCopy-DJHPK7G4.js → ContentCopy-DzhD9ue3.js} +1 -1
  17. package/dist/{DefaultPropsProvider-Dta6YfYA.js → DefaultPropsProvider-5cxFAZuq.js} +3 -3
  18. package/dist/{DefaultPropsProvider-C9ddiClG.js → DefaultPropsProvider-DOLtk4kZ.js} +1 -1
  19. package/dist/{Delete-D8ao9Ydc.js → Delete-BqqmGzYe.js} +1 -1
  20. package/dist/{DialogContent-BLqflo8C.js → DialogContent-D8jGp88c.js} +6 -6
  21. package/dist/{DialogTitle-DsyiXz12.js → DialogTitle-CxbjAJOw.js} +4 -4
  22. package/dist/{Divider-B0HAAjZ-.js → Divider-D3PIEE97.js} +3 -3
  23. package/dist/{ErrorOutline-BIlI9R1l.js → ErrorOutline-CnwdlXPx.js} +1 -1
  24. package/dist/{FileDownload-71XI8nQB.js → FileDownload-BX69Jvdx.js} +1 -1
  25. package/dist/{FilledInput-Bvhqpjsa.js → FilledInput-n9W_V8GV.js} +6 -5
  26. package/dist/{FormControl-uQi14shL.js → FormControl-Cc-02KHW.js} +2 -2
  27. package/dist/{FormControlLabel-CiZDlj3X.js → FormControlLabel-BEN9P8rJ.js} +7 -7
  28. package/dist/{GlobalStyles-yJPIbrEZ.js → GlobalStyles-O5U8h5ZQ.js} +2 -2
  29. package/dist/{Grid-C6plET3a.js → Grid-BaaKMDwM.js} +5 -5
  30. package/dist/{Grid2-DJW3x_WO.js → Grid2-DX2sucnU.js} +6 -6
  31. package/dist/{Grow-DcFPfGou.js → Grow-CC3Va50c.js} +6 -6
  32. package/dist/{IconButton-DRnoPKKH.js → IconButton-8B2ygvr4.js} +3 -3
  33. package/dist/{Info-DPMWjNcQ.js → Info-83BXSu73.js} +1 -1
  34. package/dist/{InputAdornment-BStVwy6a.js → InputAdornment-Ck_-Z38v.js} +3 -3
  35. package/dist/{Link-DeejAzmE.js → Link-BqusVoz5.js} +5 -5
  36. package/dist/{ListItemIcon-BO6nZHNq.js → ListItemIcon-DIz-ZmJ0.js} +4 -4
  37. package/dist/{MenuItem-BKHoKEhO.js → MenuItem-BkJ_C9Xs.js} +6 -6
  38. package/dist/{Modal-HocZM2zy.js → Modal-CQcBtr07.js} +8 -8
  39. package/dist/{Paper-DFrj5M9m.js → Paper-B5pcGZbI.js} +3 -3
  40. package/dist/{PlayArrow-BYMBg9J8.js → PlayArrow-1Y66tCVx.js} +1 -1
  41. package/dist/Popper-CYsd-3n5.js +1408 -0
  42. package/dist/{Portal-CIaLgwgF.js → Portal-Bw0-5YJ9.js} +3 -3
  43. package/dist/{RadioGroup-0FcLpiQv.js → RadioGroup-DtQqYrwU.js} +3 -3
  44. package/dist/{Select-BsqVGicz.js → Select-DpKw-a6h.js} +85 -82
  45. package/dist/{Slide-B08-4SSu.js → Slide-CdNJY-CT.js} +4 -4
  46. package/dist/{Stack-euVJ1SJW.js → Stack-C4POCZZb.js} +5 -5
  47. package/dist/{SwitchBase-uAFZgVI7.js → SwitchBase-B9rcpVZ0.js} +4 -4
  48. package/dist/{TextField-BtFFWrf2.js → TextField-Cm9apaOp.js} +7 -7
  49. package/dist/{Transition-BZNWAtwm.js → Transition-CYSgg85A.js} +1 -1
  50. package/dist/{Typography-DiFeMX5p.js → Typography-Ds4fpvK8.js} +3 -3
  51. package/dist/assets/withThemeProvider.css +1 -1
  52. package/dist/{auth-RJ36qeYb.js → auth-CjrjTwt5.js} +1 -1
  53. package/dist/{bank-Dml7vXW5.js → bank-D3I5wL2-.js} +1 -1
  54. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  55. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  56. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  58. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  59. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  61. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  62. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  63. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  64. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  65. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  66. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  70. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  71. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  72. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  73. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  74. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  75. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  76. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  77. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  78. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  80. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  81. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  82. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  83. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  84. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  85. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  86. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  87. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  88. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/index.d.ts +8 -0
  90. package/dist/components/Shared/FullKyc/index.js +17 -0
  91. package/dist/components/Shared/FullKyc/pep.d.ts +4 -0
  92. package/dist/components/Shared/FullKyc/pep.js +17 -0
  93. package/dist/components/Shared/FullKyc/personalDetails.d.ts +4 -0
  94. package/dist/components/Shared/FullKyc/personalDetails.js +29 -0
  95. package/dist/components/Shared/FullKyc/types.d.ts +65 -0
  96. package/dist/components/Shared/FullKyc/types.js +1 -0
  97. package/dist/components/Shared/FullKyc/userInfo.d.ts +4 -0
  98. package/dist/components/Shared/FullKyc/userInfo.js +35 -0
  99. package/dist/components/Shared/HistoryItem/index.js +7 -7
  100. package/dist/components/Shared/Incode/index.d.ts +15 -0
  101. package/dist/components/Shared/Incode/index.js +125 -0
  102. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  103. package/dist/components/Shared/loader.js +2 -2
  104. package/dist/components/Shared/tooltip.js +2 -2
  105. package/dist/components/Shared/transition.js +1 -1
  106. package/dist/components/Wallet/Account/createIban.js +8 -8
  107. package/dist/components/Wallet/Account/iban.js +16 -16
  108. package/dist/components/Wallet/Account/index.js +17 -17
  109. package/dist/components/Wallet/Account/sendIban.js +19 -19
  110. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  111. package/dist/components/Wallet/Buy/form.js +17 -17
  112. package/dist/components/Wallet/Buy/index.js +6 -6
  113. package/dist/components/Wallet/Deposit/index.js +7 -7
  114. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  115. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +3 -2
  116. package/dist/components/Wallet/EnterpriseKyc/index.js +119 -104
  117. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  118. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  119. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  120. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  121. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +8 -8
  122. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +7 -7
  123. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -3
  124. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +6 -0
  125. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  126. package/dist/components/Wallet/History/index.js +12 -12
  127. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  128. package/dist/components/Wallet/Portfolio/index.js +15 -15
  129. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  130. package/dist/components/Wallet/Profile/documents.js +17 -17
  131. package/dist/components/Wallet/Profile/index.js +12 -12
  132. package/dist/components/Wallet/Receive/index.js +9 -9
  133. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  134. package/dist/components/Wallet/Sell/form.js +17 -17
  135. package/dist/components/Wallet/Sell/index.js +6 -6
  136. package/dist/components/Wallet/Send/index.js +14 -14
  137. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  138. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -9
  139. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  140. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  141. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  142. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  143. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  144. package/dist/components/Wallet/Shared/TokenModal/index.d.ts +2 -1
  145. package/dist/components/Wallet/Shared/TokenModal/index.js +39 -38
  146. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  147. package/dist/components/Wallet/Shared/addBank.js +11 -11
  148. package/dist/components/Wallet/Shared/appButton.js +5 -5
  149. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  150. package/dist/components/Wallet/Shared/button.js +1 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  152. package/dist/components/Wallet/Shared/inputField.js +1 -1
  153. package/dist/components/Wallet/Shared/noData.js +2 -2
  154. package/dist/components/Wallet/Shared/pin.js +3 -3
  155. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  156. package/dist/components/Wallet/Shared/step.js +2 -2
  157. package/dist/components/Wallet/SignIn/index.js +2 -2
  158. package/dist/components/Wallet/SignUp/index.js +2 -2
  159. package/dist/components/Wallet/SignUp/terms.js +4 -4
  160. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  161. package/dist/components/Wallet/Stake/id/index.js +12 -12
  162. package/dist/components/Wallet/Stake/index.js +10 -10
  163. package/dist/components/Wallet/Swap/index.js +168 -163
  164. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  165. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  166. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  167. package/dist/components/Wallet/Withdraw/form.js +16 -16
  168. package/dist/components/Wallet/Withdraw/index.js +5 -5
  169. package/dist/{constants-QcvnheTz.js → constants-CdVZO8DH.js} +138 -136
  170. package/dist/{createSvgIcon-i5pI36SR.js → createSvgIcon-C0wzKL72.js} +2 -2
  171. package/dist/{createTheme-CKy7OHWe.js → createTheme-D_EHVLXp.js} +3 -3
  172. package/dist/{cryptoAssets-DBfxll21.js → cryptoAssets-awZZ9HTs.js} +1 -1
  173. package/dist/defaultTheme-CGLnLLk_.js +5 -0
  174. package/dist/{dividerClasses-DSno_h-b.js → dividerClasses-Cb_Is0-O.js} +2 -2
  175. package/dist/{documents-Bd28UFLu.js → documents-DvNPkuYe.js} +16 -16
  176. package/dist/{elementTypeAcceptingRef-BM55iE9I.js → elementTypeAcceptingRef-Bc1kRXA9.js} +1 -1
  177. package/dist/{emotion-react.browser.esm-DhKKo7i2.js → emotion-react.browser.esm-BjxI_t8k.js} +1 -1
  178. package/dist/{extendSxProp-CGbvrkKd.js → extendSxProp-a8ZTL0ZI.js} +1 -1
  179. package/dist/{fiatAssets-w5Lh-MSu.js → fiatAssets-yeCL6wA9.js} +1 -1
  180. package/dist/hoc/withThemeProvider.js +5 -5
  181. package/dist/hooks/useDialog/index.js +4 -4
  182. package/dist/hooks/useRrDialog/index.js +4 -4
  183. package/dist/hooks/useSnackBar.js +16 -16
  184. package/dist/{iban-CKaN4sIM.js → iban-DC_VgH01.js} +15 -15
  185. package/dist/icons/buyIcon.js +1 -1
  186. package/dist/icons/canceledBuyIcon.js +1 -1
  187. package/dist/icons/canceledRedeemIcon.js +1 -1
  188. package/dist/icons/failedBuyIcon.js +1 -1
  189. package/dist/icons/failedRedeemIcon.js +1 -1
  190. package/dist/icons/pendingBuyIcon.js +1 -1
  191. package/dist/icons/pendingRedeemIcon.js +1 -1
  192. package/dist/icons/redeemIcon.js +1 -1
  193. package/dist/{index-BNaxzTKI.js → index-86Hyynn-.js} +18 -18
  194. package/dist/{index-DSHZv8ZQ.js → index-CFWL7CoB.js} +21 -21
  195. package/dist/{index-BvftsxV1.js → index-CmBjDnIf.js} +67 -67
  196. package/dist/{index-BnKMvdnf.js → index-CtkDfW5M.js} +1 -1
  197. package/dist/{index-BEdISdN-.js → index-DO2BVre7.js} +302 -310
  198. package/dist/{index-Do_fdEkW.js → index-DlZLKtdr.js} +5 -5
  199. package/dist/index-Dx7-MJk2.js +477 -0
  200. package/dist/{index-_KAhqkWc.js → index-SbY3kKNL.js} +19 -19
  201. package/dist/kyc-Dur3dRxq.js +26 -0
  202. package/dist/main.d.ts +1 -0
  203. package/dist/main.js +38 -36
  204. package/dist/{order-6L4LZOBs.js → order-DNSedxgT.js} +1 -1
  205. package/dist/pep-BsWvrgyM.js +2600 -0
  206. package/dist/{radioButton-CFylJSI6.js → radioButton-CdYLf2fc.js} +7 -7
  207. package/dist/{resolveComponentProps-BION1Ldt.js → resolveComponentProps-CPnCrKvI.js} +1 -1
  208. package/dist/{stake-r4KUlRcz.js → stake-DaOB24Ou.js} +1 -1
  209. package/dist/styled-CyBKg0N-.js +5 -0
  210. package/dist/{tokenRow-D_FBu18C.js → tokenRow-QlGBYRKR.js} +5 -5
  211. package/dist/tooltip-CwdohO6q.js +715 -0
  212. package/dist/{useSlot-BofjcjWw.js → useSlot-BdP6R4tz.js} +1 -1
  213. package/dist/useTheme-BFI_g9FY.js +9 -0
  214. package/dist/{useTheme-g-gCeEAB.js → useTheme-BzIjfC6u.js} +3 -3
  215. package/dist/{useThemeProps-DIcjToML.js → useThemeProps-BOrAzOS4.js} +4 -4
  216. package/dist/{useThemeWithoutDefault-DaojF4V7.js → useThemeWithoutDefault-BWt80cCE.js} +1 -1
  217. package/dist/{useTimeout-BK0fBak5.js → useTimeout-_ag1gI7y.js} +1 -1
  218. package/dist/{utils-B-L_WHmI.js → utils-B-vKE_Dv.js} +1 -1
  219. package/dist/{wallet-D7MEPP5y.js → wallet-D76D_QSY.js} +1 -1
  220. package/package.json +2 -2
  221. package/dist/defaultTheme-Da-3ABGu.js +0 -5
  222. package/dist/kyc-V7cIa71M.js +0 -19
  223. package/dist/styled-uZIQpYgB.js +0 -5
  224. package/dist/tooltip-BVZ66d8C.js +0 -2111
  225. package/dist/useTheme-lpadr-l2.js +0 -9
@@ -1,10 +1,10 @@
1
1
  import "react";
2
2
  import { jsx as p } from "react/jsx-runtime";
3
- import { e as i } from "./extendSxProp-CGbvrkKd.js";
4
- import { P as e, T as l } from "./createTheme-CKy7OHWe.js";
5
- import { d as f } from "./defaultTheme-Da-3ABGu.js";
6
- import { u as m } from "./useTheme-lpadr-l2.js";
7
- import { G as c } from "./GlobalStyles-yJPIbrEZ.js";
3
+ import { e as i } from "./extendSxProp-a8ZTL0ZI.js";
4
+ import { P as e, T as l } from "./createTheme-D_EHVLXp.js";
5
+ import { d as f } from "./defaultTheme-CGLnLLk_.js";
6
+ import { u as m } from "./useTheme-BFI_g9FY.js";
7
+ import { G as c } from "./GlobalStyles-O5U8h5ZQ.js";
8
8
  function s({
9
9
  styles: o,
10
10
  themeId: t,
@@ -0,0 +1,477 @@
1
+ import { jsxs as E, Fragment as J, jsx as t } from "react/jsx-runtime";
2
+ import { useState as n, useEffect as q } from "react";
3
+ import { AuthContainer as le } from "./components/Wallet/Shared/Container/index.js";
4
+ import ce from "./components/Shared/Incode/index.js";
5
+ import pe from "./hoc/withThemeProvider.js";
6
+ import Q from "./components/Wallet/Shared/Input/index.js";
7
+ import Y from "./components/Wallet/Shared/appButton.js";
8
+ import { a as ee, u as X } from "./react-redux-C7I9-1M6.js";
9
+ import "./components/Wallet/Shared/Auth/otpForm.js";
10
+ import "./constants-CdVZO8DH.js";
11
+ import { b as de, c as ue } from "./kyc-Dur3dRxq.js";
12
+ import { useSnackBarContext as te } from "./context/snackBarContext.js";
13
+ import "./util/conversions.js";
14
+ import { useDialog as me } from "./hooks/useDialog/index.js";
15
+ import "./index-CAoLi5Qq.js";
16
+ import oe from "./components/Wallet/Shared/step.js";
17
+ import "./react-webcam-B3cXh1XT.js";
18
+ import "./components/Shared/transition.js";
19
+ import "./components/Wallet/Shared/pin.js";
20
+ import "./moment-h96o7c8I.js";
21
+ import "./tooltip-CwdohO6q.js";
22
+ import "./index.esm-BsMAMhYW.js";
23
+ import { c as I } from "./countries-BVn1FubK.js";
24
+ import "./web3-u4qDZYpo.js";
25
+ import "./index-B8QKlEgj.js";
26
+ import "./index-ceeCtFuh.js";
27
+ import { B as k } from "./Box-Be0E_-eR.js";
28
+ import { T as z } from "./Typography-Ds4fpvK8.js";
29
+ import { A as M, P as he } from "./pep-BsWvrgyM.js";
30
+ import { I as ge, T as U } from "./TextField-Cm9apaOp.js";
31
+ import { F as fe } from "./FormControl-Cc-02KHW.js";
32
+ import { S as ye } from "./Select-DpKw-a6h.js";
33
+ import { M as K } from "./MenuItem-BkJ_C9Xs.js";
34
+ import { G as W } from "./Grid-BaaKMDwM.js";
35
+ const Ce = ({
36
+ inputComponent: p,
37
+ buttonComponent: w,
38
+ setUserInfo: x,
39
+ userInfo: l,
40
+ docData: i,
41
+ setScreen: d,
42
+ userEmail: g
43
+ }) => {
44
+ const N = ee(), { openDialog: f, ConfirmDialog: R } = me(), { showAlertMessage: r } = te(), c = p ?? Q, y = w ?? Y, [m, h] = n(l.gender || ""), [_, S] = n(!1), [C, u] = n(l.email || ""), [b, e] = n(!1), [o, G] = n(""), [P, A] = n(l.address || ""), [s, F] = n(l.city || ""), [O, T] = n(l.state || ""), [D, L] = n(l.zipCode || ""), [B, se] = n(!1);
45
+ q(() => {
46
+ g && (u(g), e(!0));
47
+ }, [g]), q(() => {
48
+ var a;
49
+ if (i != null && i.issuingCountry) {
50
+ i.gender && (h(i.gender), S(!0));
51
+ const V = I.find(
52
+ (v) => v.alpha3 === i.issuingCountry
53
+ );
54
+ x({ ...l, country: V, nationality: V });
55
+ const $ = new Date(i.birthDate), ae = $.getTimezoneOffset() * 6e4, ie = new Date(
56
+ $.getTime() + ae
57
+ );
58
+ if (G(ie.toLocaleDateString("en-US")), (a = i.checkedAddressBean) != null && a.street) {
59
+ const v = i.checkedAddressBean;
60
+ se(!0), A(v.street), F(v.city), T(v.state), L(v.postalCode);
61
+ }
62
+ } else
63
+ re();
64
+ }, []);
65
+ const re = () => {
66
+ N(de());
67
+ };
68
+ return /* @__PURE__ */ E(J, { children: [
69
+ /* @__PURE__ */ t(k, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(oe, { totalSteps: 4, currentStep: 2 }) }),
70
+ /* @__PURE__ */ t(R, {}),
71
+ /* @__PURE__ */ E(k, { pl: 2, mt: 4, children: [
72
+ /* @__PURE__ */ t(z, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
73
+ /* @__PURE__ */ t(z, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
74
+ /* @__PURE__ */ t(
75
+ c,
76
+ {
77
+ sx: { mt: 3 },
78
+ label: "Date of Birth",
79
+ value: o,
80
+ disabled: !0
81
+ }
82
+ ),
83
+ /* @__PURE__ */ E(fe, { sx: { mt: 3 }, fullWidth: !0, children: [
84
+ /* @__PURE__ */ t(ge, { children: "Gender" }),
85
+ /* @__PURE__ */ E(
86
+ ye,
87
+ {
88
+ value: m,
89
+ label: "Gender",
90
+ onChange: (a) => h(a.target.value),
91
+ disabled: !!(_ && m),
92
+ children: [
93
+ /* @__PURE__ */ t(K, { value: "M", children: "Male" }, "M"),
94
+ /* @__PURE__ */ t(K, { value: "F", children: "Female" }, "F"),
95
+ /* @__PURE__ */ t(K, { value: "X", children: "Another" }, "X")
96
+ ]
97
+ }
98
+ )
99
+ ] }),
100
+ /* @__PURE__ */ t(
101
+ c,
102
+ {
103
+ sx: { mt: 3 },
104
+ label: "Email",
105
+ value: C,
106
+ onChange: (a) => u(a.target.value),
107
+ disabled: b
108
+ }
109
+ ),
110
+ /* @__PURE__ */ t(
111
+ c,
112
+ {
113
+ sx: { mt: 3 },
114
+ label: "Home Address",
115
+ value: P,
116
+ onChange: (a) => A(a.target.value),
117
+ disabled: !!(B && P)
118
+ }
119
+ ),
120
+ /* @__PURE__ */ E(W, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
121
+ /* @__PURE__ */ t(W, { item: !0, xs: 6, children: /* @__PURE__ */ t(
122
+ c,
123
+ {
124
+ label: "City",
125
+ value: s,
126
+ onChange: (a) => F(a.target.value),
127
+ disabled: !!(B && s)
128
+ }
129
+ ) }),
130
+ /* @__PURE__ */ t(W, { item: !0, xs: 6, children: /* @__PURE__ */ t(
131
+ c,
132
+ {
133
+ label: "State",
134
+ value: O,
135
+ onChange: (a) => T(a.target.value)
136
+ }
137
+ ) })
138
+ ] }),
139
+ /* @__PURE__ */ t(
140
+ c,
141
+ {
142
+ sx: { mt: 3 },
143
+ label: "Zipcode",
144
+ value: D,
145
+ onChange: (a) => L(a.target.value),
146
+ disabled: !!(B && D)
147
+ }
148
+ )
149
+ ] }),
150
+ /* @__PURE__ */ t(
151
+ y,
152
+ {
153
+ sx: { mt: 3 },
154
+ variant: "contained",
155
+ onClick: () => {
156
+ if (!o)
157
+ return r({ message: "Please provide date of birth" });
158
+ if (!m) return r({ message: "Please provide gender" });
159
+ if (!P)
160
+ return r({ message: "Please provide address" });
161
+ if (!s) return r({ message: "Please provide city" });
162
+ if (!O) return r({ message: "Please provide state" });
163
+ if (!D)
164
+ return r({ message: "Please provide zip code" });
165
+ x({ ...l, gender: m, email: C, address: P, city: s, state: O, zipCode: D }), d(H);
166
+ },
167
+ disabled: !C || !P || !m,
168
+ fullWidth: !0,
169
+ children: /* @__PURE__ */ t("strong", { children: "Next" })
170
+ }
171
+ )
172
+ ] });
173
+ }, Ee = ({
174
+ userInfo: p,
175
+ setUserInfo: w,
176
+ setScreen: x,
177
+ inputComponent: l,
178
+ buttonComponent: i
179
+ }) => {
180
+ const { showAlertMessage: d } = te(), g = l ?? Q, N = i ?? Y, [f, R] = n(
181
+ p.placeOfBirth || null
182
+ ), [r, c] = n(
183
+ p.country || null
184
+ ), [y, m] = n(
185
+ p.nationality || null
186
+ ), [h, _] = n(p.occupation || ""), [S, C] = n(p.employer || ""), u = () => {
187
+ if (!f) {
188
+ d({ message: "Please select place of birth" });
189
+ return;
190
+ }
191
+ if (!r) {
192
+ d({ message: "Please select country of residency" });
193
+ return;
194
+ }
195
+ if (!y) {
196
+ d({ message: "Please provide address" });
197
+ return;
198
+ }
199
+ if (!h) {
200
+ d({ message: "Please provide city" });
201
+ return;
202
+ }
203
+ w({
204
+ ...p,
205
+ placeOfBirth: f,
206
+ country: r,
207
+ nationality: y,
208
+ occupation: h,
209
+ employer: S
210
+ }), x(ne);
211
+ }, b = (e, o) => /* @__PURE__ */ E(k, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...e, children: [
212
+ /* @__PURE__ */ t(
213
+ "img",
214
+ {
215
+ loading: "lazy",
216
+ width: "20",
217
+ src: `https://flagcdn.com/w20/${o.alpha2.toLowerCase()}.png`,
218
+ srcSet: `https://flagcdn.com/w40/${o.alpha2.toLowerCase()}.png 2x`,
219
+ alt: ""
220
+ }
221
+ ),
222
+ o.name,
223
+ " (",
224
+ o.alpha3,
225
+ ")"
226
+ ] });
227
+ return /* @__PURE__ */ E(J, { children: [
228
+ /* @__PURE__ */ t(k, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(oe, { totalSteps: 4, currentStep: 3 }) }),
229
+ /* @__PURE__ */ E(k, { pl: 2, mt: 4, children: [
230
+ /* @__PURE__ */ t(z, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
231
+ /* @__PURE__ */ t(z, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
232
+ /* @__PURE__ */ t(
233
+ M,
234
+ {
235
+ sx: { mt: 2 },
236
+ value: f,
237
+ onChange: (e, o) => R(o),
238
+ options: I,
239
+ isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
240
+ getOptionLabel: (e) => e.name,
241
+ autoHighlight: !0,
242
+ openOnFocus: !0,
243
+ renderOption: b,
244
+ renderInput: (e) => /* @__PURE__ */ t(
245
+ U,
246
+ {
247
+ ...e,
248
+ label: "Place Of Birth",
249
+ inputProps: {
250
+ ...e.inputProps,
251
+ autoComplete: "new-password"
252
+ }
253
+ }
254
+ )
255
+ }
256
+ ),
257
+ /* @__PURE__ */ t(
258
+ M,
259
+ {
260
+ sx: { mt: 2 },
261
+ value: r,
262
+ onChange: (e, o) => c(o),
263
+ options: I,
264
+ isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
265
+ getOptionLabel: (e) => e.name,
266
+ autoHighlight: !0,
267
+ openOnFocus: !0,
268
+ renderOption: b,
269
+ renderInput: (e) => /* @__PURE__ */ t(
270
+ U,
271
+ {
272
+ ...e,
273
+ label: "Country of residence",
274
+ inputProps: {
275
+ ...e.inputProps,
276
+ autoComplete: "new-password"
277
+ }
278
+ }
279
+ )
280
+ }
281
+ ),
282
+ /* @__PURE__ */ t(
283
+ M,
284
+ {
285
+ sx: { mt: 2 },
286
+ value: y,
287
+ onChange: (e, o) => m(o),
288
+ options: I,
289
+ isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
290
+ getOptionLabel: (e) => e.name,
291
+ autoHighlight: !0,
292
+ openOnFocus: !0,
293
+ renderOption: b,
294
+ renderInput: (e) => /* @__PURE__ */ t(
295
+ U,
296
+ {
297
+ ...e,
298
+ label: "Country of citizenship",
299
+ inputProps: {
300
+ ...e.inputProps,
301
+ autoComplete: "new-password"
302
+ }
303
+ }
304
+ )
305
+ }
306
+ ),
307
+ /* @__PURE__ */ t(
308
+ g,
309
+ {
310
+ sx: { mt: 3 },
311
+ label: "Occupation",
312
+ value: h,
313
+ onChange: (e) => _(e.target.value)
314
+ }
315
+ ),
316
+ /* @__PURE__ */ t(
317
+ g,
318
+ {
319
+ sx: { mt: 3 },
320
+ label: "Employer",
321
+ value: S,
322
+ onChange: (e) => C(e.target.value)
323
+ }
324
+ )
325
+ ] }),
326
+ /* @__PURE__ */ t(
327
+ N,
328
+ {
329
+ sx: { mt: 3 },
330
+ variant: "contained",
331
+ onClick: u,
332
+ disabled: !f || !r || !y || !h || !S,
333
+ fullWidth: !0,
334
+ children: /* @__PURE__ */ t("strong", { children: "Next" })
335
+ }
336
+ )
337
+ ] });
338
+ }, j = "INCODE_SCREEN", Z = "USER_INFO_SCREEN", H = "PERSONAL_DETAILS_SCREEN", ne = "PEP_SCREEN", Se = ({
339
+ configurationId: p,
340
+ incodeApiKey: w,
341
+ incodeApiUrl: x,
342
+ incodeOnBoardingUrl: l,
343
+ withContainer: i = !1,
344
+ successHandler: d,
345
+ updateScreen: g
346
+ }) => {
347
+ const N = ee(), f = X((s) => s.user), R = X((s) => s.session.uuid), r = f.kyc, c = r.processComplete, y = {}, [m, h] = n(y), [_, S] = n({ token: "" }), [C, u] = n(j);
348
+ q(() => {
349
+ let s;
350
+ switch (C) {
351
+ case Z:
352
+ s = j;
353
+ break;
354
+ case H:
355
+ s = Z;
356
+ break;
357
+ case ne:
358
+ s = H;
359
+ break;
360
+ default:
361
+ s = j;
362
+ }
363
+ u(s);
364
+ }, [g]), q(() => {
365
+ d && c && d();
366
+ }, [d, c]);
367
+ const b = {
368
+ gender: "",
369
+ email: "",
370
+ address: "",
371
+ city: "",
372
+ state: "",
373
+ zipCode: "",
374
+ placeOfBirth: "",
375
+ country: "",
376
+ nationality: "",
377
+ occupation: "",
378
+ employer: "",
379
+ isPoliticalExpose: !1,
380
+ politicalExpose: "",
381
+ origin: "",
382
+ frequency: "",
383
+ reason: "",
384
+ source: ""
385
+ }, [e, o] = n(b), G = () => {
386
+ var s, F, O;
387
+ if (!r.loader) {
388
+ const T = {
389
+ street: e.address,
390
+ city: e.city,
391
+ postcode: e.zipCode,
392
+ state: e.state,
393
+ country: (s = e.country) == null ? void 0 : s.alpha3
394
+ }, D = {
395
+ isExposed: e.isPoliticalExpose,
396
+ exposed: e.politicalExpose,
397
+ frequency: e.frequency,
398
+ reason: e.reason,
399
+ source: e.source,
400
+ originFunds: e.origin
401
+ }, L = {
402
+ frequency: e.frequency,
403
+ reason: e.reason,
404
+ source: e.source,
405
+ originFunds: e.origin
406
+ }, B = {
407
+ email: e.email,
408
+ gender: e.gender,
409
+ birthPlace: (F = e.placeOfBirth) == null ? void 0 : F.alpha3,
410
+ nationality: (O = e.nationality) == null ? void 0 : O.alpha3,
411
+ occupation: e.occupation,
412
+ employer: e.employer,
413
+ residentialAddress: T,
414
+ politicalExposure: D,
415
+ customerDueDiligence: L,
416
+ workflow: {
417
+ token: _.token
418
+ }
419
+ };
420
+ N(ue(B));
421
+ }
422
+ }, A = {
423
+ INCODE_SCREEN: /* @__PURE__ */ t(
424
+ ce,
425
+ {
426
+ uuid: R,
427
+ successHandler: () => {
428
+ u(Z);
429
+ },
430
+ configurationId: p,
431
+ apiKey: w,
432
+ apiUrl: x,
433
+ onBoardingUrl: l,
434
+ setDocumentsData: h,
435
+ setIncodeSessionData: S
436
+ }
437
+ ),
438
+ USER_INFO_SCREEN: /* @__PURE__ */ t(
439
+ Ce,
440
+ {
441
+ docData: m,
442
+ setScreen: u,
443
+ setUserInfo: o,
444
+ userInfo: e,
445
+ userEmail: f.profile.email
446
+ }
447
+ ),
448
+ PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
449
+ Ee,
450
+ {
451
+ setScreen: u,
452
+ setUserInfo: o,
453
+ userInfo: e
454
+ }
455
+ ),
456
+ PEP_SCREEN: /* @__PURE__ */ t(
457
+ he,
458
+ {
459
+ setScreen: u,
460
+ setUserInfo: o,
461
+ userInfo: e,
462
+ processKyc: G,
463
+ processLoader: r.loader
464
+ }
465
+ )
466
+ }[C];
467
+ return i ? /* @__PURE__ */ t(le, { addPadding: !1, children: A }) : A;
468
+ }, ot = pe(Se);
469
+ export {
470
+ ot as F,
471
+ j as I,
472
+ Ee as P,
473
+ Ce as U,
474
+ Z as a,
475
+ H as b,
476
+ ne as c
477
+ };
@@ -5,13 +5,13 @@ import Re from "./components/RocketRamp/Shared/backBtn.js";
5
5
  import { getCurrencySymbol as de, getOrionBalance as Se } from "./util/functions.js";
6
6
  import { PAYMENT_BANK as ae, SEPA_ICON as Me, VISA_ICON as ze, ID_TOKEN_SYMBOL as Oe, FIAT_WITHDRAW as Pe, FIAT_TO_EVER_ID as we, FIAT_TO_TOKEN as We, ESTIMATE_TOOLTIP_TEXT as Be, TOKEN_TO_FIAT as Le } from "./util/constants.js";
7
7
  import U from "./components/RocketRamp/Shared/Button/index.js";
8
- import { a8 as Xe } from "./constants-QcvnheTz.js";
9
- import { b as ue, c as De, i as Ye, a as qe, f as Ke } from "./order-6L4LZOBs.js";
8
+ import { aa as Xe } from "./constants-CdVZO8DH.js";
9
+ import { b as ue, c as De, i as Ye, a as qe, f as Ke } from "./order-DNSedxgT.js";
10
10
  import { a as $e, u as W } from "./react-redux-C7I9-1M6.js";
11
11
  import "./components/Wallet/Shared/appButton.js";
12
12
  import "./components/Wallet/Shared/Auth/otpForm.js";
13
- import { f as Ge } from "./fiatAssets-w5Lh-MSu.js";
14
- import { f as Ue } from "./cryptoAssets-DBfxll21.js";
13
+ import { f as Ge } from "./fiatAssets-yeCL6wA9.js";
14
+ import { f as Ue } from "./cryptoAssets-awZZ9HTs.js";
15
15
  import "./context/snackBarContext.js";
16
16
  import "./util/conversions.js";
17
17
  import "./index-CAoLi5Qq.js";
@@ -20,28 +20,28 @@ import "./react-webcam-B3cXh1XT.js";
20
20
  import ie from "./components/Shared/transition.js";
21
21
  import "./components/Wallet/Shared/pin.js";
22
22
  import "./moment-h96o7c8I.js";
23
- import { M as Ve } from "./tooltip-BVZ66d8C.js";
23
+ import { M as Ve } from "./tooltip-CwdohO6q.js";
24
24
  import "./index.esm-BsMAMhYW.js";
25
25
  import "./web3-u4qDZYpo.js";
26
26
  import "./index-B8QKlEgj.js";
27
27
  import "./index-ceeCtFuh.js";
28
28
  import He from "./components/RocketRamp/MinimalKyc/form.js";
29
- import { P as Je } from "./PlayArrow-BYMBg9J8.js";
30
- import { I as Qe } from "./Info-DPMWjNcQ.js";
29
+ import { P as Je } from "./PlayArrow-1Y66tCVx.js";
30
+ import { I as Qe } from "./Info-83BXSu73.js";
31
31
  import { G as Ze } from "./generic-token-B_ptO5yb.js";
32
32
  import oe from "./components/RocketRamp/Shared/Input/index.js";
33
- import { G as n } from "./Grid2-DJW3x_WO.js";
34
- import { B as C } from "./Box-rIIGCyb6.js";
35
- import { T as a } from "./Typography-DiFeMX5p.js";
36
- import { C as I } from "./CircularProgress-CBhr9Pli.js";
37
- import { I as et } from "./TextField-BtFFWrf2.js";
38
- import { F as tt } from "./FormControl-uQi14shL.js";
39
- import { S as rt } from "./Select-BsqVGicz.js";
40
- import { M as se } from "./MenuItem-BKHoKEhO.js";
41
- import { L as nt } from "./ListItemIcon-BO6nZHNq.js";
42
- import { I as j } from "./IconButton-DRnoPKKH.js";
43
- import { C as ce } from "./Close-Dv525LOL.js";
44
- import { D as le, a as me } from "./DialogContent-BLqflo8C.js";
33
+ import { G as n } from "./Grid2-DX2sucnU.js";
34
+ import { B as C } from "./Box-Be0E_-eR.js";
35
+ import { T as a } from "./Typography-Ds4fpvK8.js";
36
+ import { C as I } from "./CircularProgress-fePUtoaj.js";
37
+ import { I as et } from "./TextField-Cm9apaOp.js";
38
+ import { F as tt } from "./FormControl-Cc-02KHW.js";
39
+ import { S as rt } from "./Select-DpKw-a6h.js";
40
+ import { M as se } from "./MenuItem-BkJ_C9Xs.js";
41
+ import { L as nt } from "./ListItemIcon-DIz-ZmJ0.js";
42
+ import { I as j } from "./IconButton-8B2ygvr4.js";
43
+ import { C as ce } from "./Close-D20PIPiF.js";
44
+ import { D as le, a as me } from "./DialogContent-D8jGp88c.js";
45
45
  import './assets/index7.css';const E = {
46
46
  "confirm-payment": "_confirm-payment_1oe7d_1",
47
47
  "confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
@@ -0,0 +1,26 @@
1
+ import { X as s, Y as t, Z as e, _ as o, $ as _, a0 as y } from "./constants-CdVZO8DH.js";
2
+ const p = (a) => ({
3
+ type: e,
4
+ payload: a
5
+ }), c = () => ({
6
+ type: s
7
+ }), R = () => ({
8
+ type: t
9
+ }), U = (a) => ({
10
+ type: o,
11
+ payload: a
12
+ }), T = (a) => ({
13
+ type: _,
14
+ payload: a
15
+ }), l = (a) => ({
16
+ type: y,
17
+ payload: a
18
+ });
19
+ export {
20
+ U as a,
21
+ R as b,
22
+ l as c,
23
+ T as k,
24
+ c as r,
25
+ p as u
26
+ };
package/dist/main.d.ts CHANGED
@@ -103,6 +103,7 @@ export { default as Withdraw } from './components/Wallet/Withdraw';
103
103
  export { default as Swap } from './components/Wallet/Swap';
104
104
  export { default as EnterpriseKyc } from './components/Wallet/EnterpriseKyc';
105
105
  export { default as Deposit } from './components/Wallet/Deposit';
106
+ export { default as FullKyc } from './components/Shared/FullKyc';
106
107
  export { useSnackBar } from './hooks/useSnackBar';
107
108
  export { useSnackBarContext, SnackBarContext } from './context/snackBarContext';
108
109
  export { default as RocketRampPlayerSignIn } from './components/RocketRamp/Player/SignIn';