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,71 +1,68 @@
1
- import { jsxs as p, Fragment as u, jsx as r } from "react/jsx-runtime";
2
- import { useRef as g, useState as q, useEffect as L, createRef as W } from "react";
3
- import j from "../../Wallet/Shared/Input/index.js";
4
- import v from "../../Wallet/Shared/appButton.js";
1
+ import { jsxs as u, Fragment as m, jsx as n } from "react/jsx-runtime";
2
+ import { Box as g, InputAdornment as q, IconButton as c, CircularProgress as L } from "@mui/material";
3
+ import { useRef as x, useState as W, useEffect as j, createRef as v } from "react";
4
+ import K from "../../Wallet/Shared/Input/index.js";
5
+ import H from "../../Wallet/Shared/appButton.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
7
  import "../../../hoc/withThemeProvider.js";
7
- import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-DREDnCMu.js";
9
- import { a as K } from "../../../kyc-D4s_B9Cf.js";
10
- import { useSnackBarContext as H } from "../../../context/snackBarContext.js";
11
- import V from "../../../hooks/useEverestDispatch.js";
8
+ import "../../../otpForm-fiNqeB5H.js";
9
+ import "../../../constants-DrmtdI1J.js";
10
+ import { a as V } from "../../../kyc-ksV3vBP_.js";
11
+ import { useSnackBarContext as $ } from "../../../context/snackBarContext.js";
12
+ import z from "../../../hooks/useEverestDispatch.js";
12
13
  import "../../../util/conversions.js";
13
14
  import "../../../index-CAoLi5Qq.js";
14
- import { C as $ } from "../../../Close-CNwiMz_O.js";
15
+ import { C as Y } from "../../../Close-DSxLLo08.js";
15
16
  import "../../../react-webcam-B3cXh1XT.js";
16
17
  import "../transition.js";
17
- import "../../../tooltip-3UvETWtS.js";
18
- import "../../Wallet/Shared/pin.js";
18
+ import "../../../tooltip-BW0UyWw7.js";
19
19
  import "../../../moment-h96o7c8I.js";
20
20
  import "../../../index.esm-BsMAMhYW.js";
21
21
  import "../../../web3-u4qDZYpo.js";
22
22
  import "../../../index-ceeCtFuh.js";
23
- import { C as z, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
23
+ import { C as G, a as J } from "../../../FileDownload-DqREXR3D.js";
24
24
  import "../../../index.esm-I_Bp2YLf.js";
25
25
  import "../../../context/dialogContext.js";
26
- import { B as x } from "../../../Box-B0YSYLco.js";
27
- import { I as G } from "../../../InputAdornment-DMiED3JH.js";
28
- import { I as c } from "../../../IconButton-DHm-hucF.js";
29
- import { C as J } from "../../../CircularProgress-xZA3lvba.js";
30
- const ae = ({
26
+ import "@mui/icons-material";
27
+ const Ce = ({
31
28
  inputComponent: E,
32
29
  buttonComponent: C,
33
- eddData: n,
30
+ eddData: r,
34
31
  kycStoreData: l,
35
32
  setEddData: F,
36
33
  processKyc: _,
37
- processLoader: a
34
+ processLoader: T
38
35
  }) => {
39
- const T = E ?? j, A = C ?? v, R = {
36
+ const A = E ?? K, R = C ?? H, a = {
40
37
  BANK_STATEMENT: {
41
- text: n.BANK_STATEMENT.text,
42
- file: n.BANK_STATEMENT.file,
43
- preview: n.BANK_STATEMENT.preview,
38
+ text: r.BANK_STATEMENT.text,
39
+ file: r.BANK_STATEMENT.file,
40
+ preview: r.BANK_STATEMENT.preview,
44
41
  label: "Bank Statement",
45
42
  required: !0,
46
43
  multiFile: !1
47
44
  },
48
45
  PROOF_OF_INCOME: {
49
- text: n.PROOF_OF_INCOME.text,
50
- file: n.PROOF_OF_INCOME.file,
51
- preview: n.PROOF_OF_INCOME.preview,
46
+ text: r.PROOF_OF_INCOME.text,
47
+ file: r.PROOF_OF_INCOME.file,
48
+ preview: r.PROOF_OF_INCOME.preview,
52
49
  label: "Proof of Income",
53
50
  required: !0,
54
51
  multiFile: !1
55
52
  },
56
53
  SOURCE_OF_WEALTH: {
57
- text: n.SOURCE_OF_WEALTH.text,
58
- file: n.SOURCE_OF_WEALTH.file,
59
- preview: n.SOURCE_OF_WEALTH.preview,
54
+ text: r.SOURCE_OF_WEALTH.text,
55
+ file: r.SOURCE_OF_WEALTH.file,
56
+ preview: r.SOURCE_OF_WEALTH.preview,
60
57
  label: "Source of Wealth",
61
58
  required: !0,
62
59
  multiFile: !1
63
60
  }
64
- }, I = V(), { showAlertMessage: d } = H(), w = g(null), [o, m] = q(R);
65
- L(() => {
61
+ }, w = z(), { showAlertMessage: d } = $(), I = x(null), [o, p] = W(a);
62
+ j(() => {
66
63
  if (l != null && l.uploadData.fileUrl && (l != null && l.uploadData.fileType)) {
67
64
  const i = l == null ? void 0 : l.uploadData.fileType;
68
- m((e) => {
65
+ p((e) => {
69
66
  const t = e[i].file || [];
70
67
  return {
71
68
  ...e,
@@ -79,8 +76,8 @@ const ae = ({
79
76
  });
80
77
  }
81
78
  }, [l == null ? void 0 : l.uploadData.fileUrl, l == null ? void 0 : l.uploadData.fileType]);
82
- const h = Object.keys(n), O = g(
83
- h.reduce((i, e) => (i[e] = W(), i), {})
79
+ const h = Object.keys(r), O = x(
80
+ h.reduce((i, e) => (i[e] = v(), i), {})
84
81
  ), N = () => {
85
82
  for (const i of Object.keys(o)) {
86
83
  const e = o[i];
@@ -103,7 +100,7 @@ const ae = ({
103
100
  const t = i.target.files;
104
101
  !t || t.length === 0 || Array.from(t).map((s) => {
105
102
  const B = URL.createObjectURL(s);
106
- I(K({ file: s, type: e })), m((f) => {
103
+ w(V({ file: s, type: e })), p((f) => {
107
104
  const P = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
108
105
  return {
109
106
  ...f,
@@ -116,41 +113,41 @@ const ae = ({
116
113
  });
117
114
  });
118
115
  };
119
- return /* @__PURE__ */ p(u, { children: [
120
- /* @__PURE__ */ r("form", { style: { height: "350px", overflowY: "scroll" }, ref: w, children: h.map((i) => /* @__PURE__ */ p(x, { mt: 2, children: [
121
- /* @__PURE__ */ r(
122
- T,
116
+ return /* @__PURE__ */ u(m, { children: [
117
+ /* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: I, children: h.map((i) => /* @__PURE__ */ u(g, { mt: 2, children: [
118
+ /* @__PURE__ */ n(
119
+ A,
123
120
  {
124
121
  label: o[i].label,
125
122
  value: o[i].text,
126
- onChange: (e) => m((t) => ({
123
+ onChange: (e) => p((t) => ({
127
124
  ...t,
128
125
  [i]: { ...t[i], text: e.target.value }
129
126
  })),
130
127
  slotProps: {
131
128
  input: {
132
- endAdornment: /* @__PURE__ */ r(G, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ p(u, { children: [
133
- /* @__PURE__ */ r(
129
+ endAdornment: /* @__PURE__ */ n(q, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ u(m, { children: [
130
+ /* @__PURE__ */ n(
134
131
  c,
135
132
  {
136
- onClick: () => m((e) => ({
133
+ onClick: () => p((e) => ({
137
134
  ...e,
138
135
  [i]: { ...e[i], file: [] }
139
136
  })),
140
137
  edge: "end",
141
- children: /* @__PURE__ */ r($, {})
138
+ children: /* @__PURE__ */ n(Y, {})
142
139
  }
143
140
  ),
144
- o[i].preview.map((e, t) => /* @__PURE__ */ r(
141
+ o[i].preview.map((e, t) => /* @__PURE__ */ n(
145
142
  c,
146
143
  {
147
144
  onClick: () => window.open(e),
148
145
  edge: "end",
149
- children: /* @__PURE__ */ r(z, {})
146
+ children: /* @__PURE__ */ n(G, {})
150
147
  },
151
148
  t
152
149
  ))
153
- ] }) : /* @__PURE__ */ r(
150
+ ] }) : /* @__PURE__ */ n(
154
151
  c,
155
152
  {
156
153
  onClick: () => {
@@ -158,7 +155,7 @@ const ae = ({
158
155
  return (t = (e = O.current[i]) == null ? void 0 : e.current) == null ? void 0 : t.click();
159
156
  },
160
157
  edge: "end",
161
- children: /* @__PURE__ */ r(Y, {})
158
+ children: /* @__PURE__ */ n(J, {})
162
159
  }
163
160
  ) })
164
161
  }
@@ -166,7 +163,7 @@ const ae = ({
166
163
  required: o[i].required
167
164
  }
168
165
  ),
169
- /* @__PURE__ */ r(
166
+ /* @__PURE__ */ n(
170
167
  "input",
171
168
  {
172
169
  ref: O.current[i],
@@ -179,12 +176,12 @@ const ae = ({
179
176
  }
180
177
  )
181
178
  ] }, i)) }),
182
- /* @__PURE__ */ r(x, { mt: 3.5, children: /* @__PURE__ */ r(A, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ r("strong", { children: a ? /* @__PURE__ */ p(u, { children: [
183
- /* @__PURE__ */ r(J, { size: 15, color: "inherit" }),
179
+ /* @__PURE__ */ n(g, { mt: 3.5, children: /* @__PURE__ */ n(R, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ n("strong", { children: T ? /* @__PURE__ */ u(m, { children: [
180
+ /* @__PURE__ */ n(L, { size: 15, color: "inherit" }),
184
181
  " Processing..."
185
- ] }) : /* @__PURE__ */ r(u, { children: "Submit" }) }) }) })
182
+ ] }) : /* @__PURE__ */ n(m, { children: "Submit" }) }) }) })
186
183
  ] });
187
184
  };
188
185
  export {
189
- ae as default
186
+ Ce as default
190
187
  };
@@ -1,35 +1,36 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../Wallet/Shared/Container/index.js";
4
+ import "@mui/material";
4
5
  import "../../../hoc/withThemeProvider.js";
5
- import { E as x, I as T, c as U, b as g, a as h, F as j } from "../../../index-B3HnUBnB.js";
6
+ import { E as T, I as U, c as g, b as h, a as j, F as k } from "../../../index-BBFbUCRZ.js";
6
7
  import "./pep.js";
7
- import "../../../constants-DREDnCMu.js";
8
- import "../../../kyc-D4s_B9Cf.js";
8
+ import "../../../constants-DrmtdI1J.js";
9
+ import "../../../kyc-ksV3vBP_.js";
9
10
  import "../../../react-redux-C7I9-1M6.js";
10
11
  import "./edd.js";
11
12
  import "../../../hooks/useEverestDispatch.js";
12
13
  import "../../../index-DlQqWbXG.js";
13
14
  import "../../Wallet/Shared/appButton.js";
14
- import "../../Wallet/Shared/Auth/otpForm.js";
15
+ import "../../../otpForm-fiNqeB5H.js";
15
16
  import "../../../context/snackBarContext.js";
16
17
  import "../../../util/conversions.js";
17
18
  import "../../../index-CAoLi5Qq.js";
18
19
  import "../../../react-webcam-B3cXh1XT.js";
19
20
  import "../transition.js";
20
- import "../../../tooltip-3UvETWtS.js";
21
- import "../../Wallet/Shared/pin.js";
21
+ import "../../../tooltip-BW0UyWw7.js";
22
22
  import "../../../moment-h96o7c8I.js";
23
23
  import "../../../index.esm-BsMAMhYW.js";
24
24
  import "../../../web3-u4qDZYpo.js";
25
25
  import "../../../index-ceeCtFuh.js";
26
26
  import "../../../context/dialogContext.js";
27
+ import "@mui/icons-material";
27
28
  import "../Sumsub/index.js";
28
29
  export {
29
- x as EDD_SCREEN,
30
- T as INCODE_SCREEN,
31
- U as PEP_SCREEN,
32
- g as PERSONAL_DETAILS_SCREEN,
33
- h as USER_INFO_SCREEN,
34
- j as default
30
+ T as EDD_SCREEN,
31
+ U as INCODE_SCREEN,
32
+ g as PEP_SCREEN,
33
+ h as PERSONAL_DETAILS_SCREEN,
34
+ j as USER_INFO_SCREEN,
35
+ k as default
35
36
  };
@@ -1,23 +1,15 @@
1
1
  import { jsxs as o, Fragment as y, jsx as e } from "react/jsx-runtime";
2
- import { useState as n } from "react";
3
- import M from "../../Wallet/Shared/step.js";
4
- import { c as A } from "../../../countries-BVn1FubK.js";
5
- import F from "../../Wallet/Shared/appButton.js";
6
- import { d as B, f as _ } from "../../../constants-DREDnCMu.js";
7
- import { B as c } from "../../../Box-B0YSYLco.js";
8
- import { T as i } from "../../../Typography-pAaje37G.js";
9
- import { G as g } from "../../../Grid-CFe3amXO.js";
10
- import { F as u } from "../../../FormControl-RtZDQMdA.js";
11
- import { S as f } from "../../../Select-CB5yWmyn.js";
12
- import { M as l } from "../../../MenuItem-DUdYOJr4.js";
13
- import { A as q } from "../../../Autocomplete-CE-OI2t8.js";
14
- import { T } from "../../../TextField-DPpRUQe3.js";
15
- import { C as Y } from "../../../CircularProgress-xZA3lvba.js";
16
- const k = [
2
+ import { useState as a } from "react";
3
+ import { Box as c, Typography as i, Grid as g, FormControl as m, Select as f, MenuItem as l, Autocomplete as M, TextField as A, CircularProgress as F } from "@mui/material";
4
+ import _ from "../../Wallet/Shared/step.js";
5
+ import { c as q } from "../../../countries-BVn1FubK.js";
6
+ import B from "../../Wallet/Shared/appButton.js";
7
+ import { d as Y, f as k } from "../../../constants-DrmtdI1J.js";
8
+ const z = [
17
9
  "Hold a high public office",
18
10
  "Have an immediate family member who does",
19
11
  "A close business associate who does"
20
- ], z = [
12
+ ], H = [
21
13
  "Savings from salary (basic and/or bonus)",
22
14
  "Savings from salary (basic and/or bonus), self-employed",
23
15
  "Savings from salary (basic and/or bonus), self-employed company less than one year old",
@@ -37,13 +29,13 @@ const k = [
37
29
  "Company Profitsharing or Disbursement",
38
30
  "Company Dividends",
39
31
  "Gift"
40
- ], H = [
32
+ ], K = [
41
33
  "Once a year",
42
34
  "Once every 3 months ",
43
35
  "Once a month ",
44
36
  "Once a week ",
45
37
  "Other"
46
- ], K = [
38
+ ], T = [
47
39
  "Investment",
48
40
  "Cross Border ",
49
41
  "Identity Services ",
@@ -51,7 +43,7 @@ const k = [
51
43
  "Wallet Services",
52
44
  "Custody Services",
53
45
  "Other Services"
54
- ], ae = ({
46
+ ], J = ({
55
47
  userInfo: C,
56
48
  setUserInfo: b,
57
49
  processKyc: O,
@@ -59,26 +51,26 @@ const k = [
59
51
  processLoader: P,
60
52
  kycFlow: v
61
53
  }) => {
62
- const W = L ?? F, [a, x] = n(!1), [d, S] = n(""), [p, D] = n(""), [h, E] = n(""), [m, I] = n(""), [s, w] = n(null), N = () => {
54
+ const W = L ?? B, [n, x] = a(!1), [d, S] = a(""), [p, D] = a(""), [h, E] = a(""), [u, I] = a(""), [s, w] = a(null), N = () => {
63
55
  s && (b({
64
56
  ...C,
65
- isPoliticalExpose: a,
57
+ isPoliticalExpose: n,
66
58
  politicalExpose: d,
67
59
  frequency: p,
68
60
  reason: h,
69
- source: m,
61
+ source: u,
70
62
  origin: s.alpha3
71
63
  }), O(
72
- a,
64
+ n,
73
65
  d,
74
66
  p,
75
67
  h,
76
- m,
68
+ u,
77
69
  s.alpha3
78
70
  ));
79
71
  };
80
72
  return /* @__PURE__ */ o(y, { children: [
81
- v !== B && /* @__PURE__ */ e(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(M, { totalSteps: 4, currentStep: 4 }) }),
73
+ v !== Y && /* @__PURE__ */ e(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(_, { totalSteps: 4, currentStep: 4 }) }),
82
74
  /* @__PURE__ */ o(c, { pl: 2, mt: 4, children: [
83
75
  /* @__PURE__ */ e(i, { variant: "h5", sx: { fontWeight: "bold" }, children: "Additional Questions" }),
84
76
  /* @__PURE__ */ e(i, { mt: 4, variant: "body1", children: /* @__PURE__ */ o("strong", { children: [
@@ -90,7 +82,7 @@ const k = [
90
82
  c,
91
83
  {
92
84
  onClick: () => x(!0),
93
- className: `political-expose ${a === !0 && "active"}`,
85
+ className: `political-expose ${n === !0 && "active"}`,
94
86
  children: "Yes"
95
87
  }
96
88
  ) }),
@@ -100,12 +92,12 @@ const k = [
100
92
  onClick: () => {
101
93
  x(!1), S("");
102
94
  },
103
- className: `political-expose ${a === !1 && "active"}`,
95
+ className: `political-expose ${n === !1 && "active"}`,
104
96
  children: "No"
105
97
  }
106
98
  ) })
107
99
  ] }),
108
- a && /* @__PURE__ */ e(u, { sx: { mt: 2 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
100
+ n && /* @__PURE__ */ e(m, { sx: { mt: 2 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
109
101
  f,
110
102
  {
111
103
  sx: {
@@ -121,7 +113,7 @@ const k = [
121
113
  onChange: (t) => S(t.target.value),
122
114
  children: [
123
115
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
124
- k.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
116
+ z.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
125
117
  ]
126
118
  }
127
119
  ) }),
@@ -129,7 +121,7 @@ const k = [
129
121
  "Expected frequency of transactions?",
130
122
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
131
123
  ] }) }),
132
- /* @__PURE__ */ e(u, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
124
+ /* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
133
125
  f,
134
126
  {
135
127
  sx: {
@@ -145,7 +137,7 @@ const k = [
145
137
  onChange: (t) => D(t.target.value),
146
138
  children: [
147
139
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
148
- H.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
140
+ K.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
149
141
  ]
150
142
  }
151
143
  ) }),
@@ -153,7 +145,7 @@ const k = [
153
145
  "Reason for signing up",
154
146
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
155
147
  ] }) }),
156
- /* @__PURE__ */ e(u, { sx: { mt: 1 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
148
+ /* @__PURE__ */ e(m, { sx: { mt: 1 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
157
149
  f,
158
150
  {
159
151
  sx: {
@@ -169,7 +161,7 @@ const k = [
169
161
  onChange: (t) => E(t.target.value),
170
162
  children: [
171
163
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
172
- K.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
164
+ T.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
173
165
  ]
174
166
  }
175
167
  ) }),
@@ -177,7 +169,7 @@ const k = [
177
169
  "Source of wealth",
178
170
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
179
171
  ] }) }),
180
- /* @__PURE__ */ e(u, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
172
+ /* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
181
173
  f,
182
174
  {
183
175
  sx: {
@@ -188,12 +180,12 @@ const k = [
188
180
  }
189
181
  },
190
182
  variant: "filled",
191
- value: m,
183
+ value: u,
192
184
  displayEmpty: !0,
193
185
  onChange: (t) => I(t.target.value),
194
186
  children: [
195
187
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
196
- z.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
188
+ H.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
197
189
  ]
198
190
  }
199
191
  ) }),
@@ -202,7 +194,7 @@ const k = [
202
194
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
203
195
  ] }) }),
204
196
  /* @__PURE__ */ e(
205
- q,
197
+ M,
206
198
  {
207
199
  sx: {
208
200
  mt: 2,
@@ -213,7 +205,7 @@ const k = [
213
205
  value: s,
214
206
  isOptionEqualToValue: (t, r) => t.alpha3 === r.alpha3,
215
207
  onChange: (t, r) => w(r),
216
- options: A,
208
+ options: q,
217
209
  autoHighlight: !0,
218
210
  openOnFocus: !0,
219
211
  getOptionLabel: (t) => t.name,
@@ -242,7 +234,7 @@ const k = [
242
234
  }
243
235
  ),
244
236
  renderInput: (t) => /* @__PURE__ */ e(
245
- T,
237
+ A,
246
238
  {
247
239
  className: "country-select-field",
248
240
  ...t,
@@ -263,16 +255,16 @@ const k = [
263
255
  sx: { mt: 4 },
264
256
  variant: "contained",
265
257
  onClick: N,
266
- disabled: !p || !h || !m || !s || a && !d,
258
+ disabled: !p || !h || !u || !s || n && !d,
267
259
  fullWidth: !0,
268
260
  children: /* @__PURE__ */ e("strong", { children: P ? /* @__PURE__ */ o(y, { children: [
269
- /* @__PURE__ */ e(Y, { size: 15, color: "inherit" }),
261
+ /* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
270
262
  " Processing..."
271
- ] }) : /* @__PURE__ */ e(y, { children: v === _ ? "Submit KYC" : "Next" }) })
263
+ ] }) : /* @__PURE__ */ e(y, { children: v === k ? "Submit KYC" : "Next" }) })
272
264
  }
273
265
  )
274
266
  ] });
275
267
  };
276
268
  export {
277
- ae as default
269
+ J as default
278
270
  };
@@ -1,28 +1,27 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
+ import "@mui/material";
3
4
  import "../../../index-DlQqWbXG.js";
4
5
  import "../../Wallet/Shared/appButton.js";
5
6
  import "../../../hoc/withThemeProvider.js";
6
7
  import "../../Wallet/Shared/Input/index.js";
7
- import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-DREDnCMu.js";
8
+ import "../../../otpForm-fiNqeB5H.js";
9
+ import "../../../constants-DrmtdI1J.js";
9
10
  import "../../../context/snackBarContext.js";
10
11
  import "../../../util/conversions.js";
11
12
  import "../../../index-CAoLi5Qq.js";
12
13
  import "../../Wallet/Shared/step.js";
13
14
  import "../../../react-webcam-B3cXh1XT.js";
14
15
  import "../transition.js";
15
- import "../../../tooltip-3UvETWtS.js";
16
- import "../../Wallet/Shared/pin.js";
16
+ import "../../../tooltip-BW0UyWw7.js";
17
17
  import "../../../moment-h96o7c8I.js";
18
18
  import "../../../index.esm-BsMAMhYW.js";
19
19
  import "../../../web3-u4qDZYpo.js";
20
20
  import "../../../index-ceeCtFuh.js";
21
- import { P as z } from "../../../index-B3HnUBnB.js";
21
+ import { P as y } from "../../../index-BBFbUCRZ.js";
22
22
  import "../../../context/dialogContext.js";
23
+ import "@mui/icons-material";
23
24
  import "./countryList.js";
24
- import "../../../Box-B0YSYLco.js";
25
- import "../../../Typography-pAaje37G.js";
26
25
  export {
27
- z as default
26
+ y as default
28
27
  };
@@ -1,12 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
+ import "@mui/material";
3
4
  import "../../Wallet/Shared/Input/index.js";
4
5
  import "../../Wallet/Shared/appButton.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
7
  import "../../../hoc/withThemeProvider.js";
7
- import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-DREDnCMu.js";
9
- import "../../../kyc-D4s_B9Cf.js";
8
+ import "../../../otpForm-fiNqeB5H.js";
9
+ import "../../../constants-DrmtdI1J.js";
10
+ import "../../../kyc-ksV3vBP_.js";
10
11
  import "../../../context/snackBarContext.js";
11
12
  import "../../../hooks/useEverestDispatch.js";
12
13
  import "../../../util/conversions.js";
@@ -14,23 +15,16 @@ import "../../../index-CAoLi5Qq.js";
14
15
  import "../../Wallet/Shared/step.js";
15
16
  import "../../../react-webcam-B3cXh1XT.js";
16
17
  import "../transition.js";
17
- import "../../../tooltip-3UvETWtS.js";
18
- import "../../Wallet/Shared/pin.js";
18
+ import "../../../tooltip-BW0UyWw7.js";
19
19
  import "../../../moment-h96o7c8I.js";
20
20
  import "../../../index.esm-BsMAMhYW.js";
21
21
  import "../../../countries-BVn1FubK.js";
22
22
  import "../../../web3-u4qDZYpo.js";
23
23
  import "../../../index-ceeCtFuh.js";
24
- import { U as H } from "../../../index-B3HnUBnB.js";
24
+ import { U as B } from "../../../index-BBFbUCRZ.js";
25
25
  import "../../../context/dialogContext.js";
26
+ import "@mui/icons-material";
26
27
  import "./countryList.js";
27
- import "../../../Box-B0YSYLco.js";
28
- import "../../../Typography-pAaje37G.js";
29
- import "../../../FormControl-RtZDQMdA.js";
30
- import "../../../TextField-DPpRUQe3.js";
31
- import "../../../Select-CB5yWmyn.js";
32
- import "../../../MenuItem-DUdYOJr4.js";
33
- import "../../../Grid-CFe3amXO.js";
34
28
  export {
35
- H as default
29
+ B as default
36
30
  };