everest-npm-features 0.0.61 → 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 (229) 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-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,70 +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 "../../../otpForm-fiNqeB5H.js";
8
9
  import "../../../constants-DrmtdI1J.js";
9
- import { a as K } from "../../../kyc-ksV3vBP_.js";
10
- import { useSnackBarContext as H } from "../../../context/snackBarContext.js";
11
- import V from "../../../hooks/useEverestDispatch.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 "../../../tooltip-BW0UyWw7.js";
18
19
  import "../../../moment-h96o7c8I.js";
19
20
  import "../../../index.esm-BsMAMhYW.js";
20
21
  import "../../../web3-u4qDZYpo.js";
21
22
  import "../../../index-ceeCtFuh.js";
22
- import { C as z, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
23
+ import { C as G, a as J } from "../../../FileDownload-DqREXR3D.js";
23
24
  import "../../../index.esm-I_Bp2YLf.js";
24
25
  import "../../../context/dialogContext.js";
25
- import { B as x } from "../../../Box-B0YSYLco.js";
26
- import { I as G } from "../../../InputAdornment-DMiED3JH.js";
27
- import { I as c } from "../../../IconButton-DHm-hucF.js";
28
- import { C as J } from "../../../CircularProgress-xZA3lvba.js";
29
- const _e = ({
26
+ import "@mui/icons-material";
27
+ const Ce = ({
30
28
  inputComponent: E,
31
29
  buttonComponent: C,
32
- eddData: n,
30
+ eddData: r,
33
31
  kycStoreData: l,
34
32
  setEddData: F,
35
33
  processKyc: _,
36
- processLoader: a
34
+ processLoader: T
37
35
  }) => {
38
- const T = E ?? j, A = C ?? v, R = {
36
+ const A = E ?? K, R = C ?? H, a = {
39
37
  BANK_STATEMENT: {
40
- text: n.BANK_STATEMENT.text,
41
- file: n.BANK_STATEMENT.file,
42
- preview: n.BANK_STATEMENT.preview,
38
+ text: r.BANK_STATEMENT.text,
39
+ file: r.BANK_STATEMENT.file,
40
+ preview: r.BANK_STATEMENT.preview,
43
41
  label: "Bank Statement",
44
42
  required: !0,
45
43
  multiFile: !1
46
44
  },
47
45
  PROOF_OF_INCOME: {
48
- text: n.PROOF_OF_INCOME.text,
49
- file: n.PROOF_OF_INCOME.file,
50
- 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,
51
49
  label: "Proof of Income",
52
50
  required: !0,
53
51
  multiFile: !1
54
52
  },
55
53
  SOURCE_OF_WEALTH: {
56
- text: n.SOURCE_OF_WEALTH.text,
57
- file: n.SOURCE_OF_WEALTH.file,
58
- 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,
59
57
  label: "Source of Wealth",
60
58
  required: !0,
61
59
  multiFile: !1
62
60
  }
63
- }, I = V(), { showAlertMessage: d } = H(), w = g(null), [o, m] = q(R);
64
- L(() => {
61
+ }, w = z(), { showAlertMessage: d } = $(), I = x(null), [o, p] = W(a);
62
+ j(() => {
65
63
  if (l != null && l.uploadData.fileUrl && (l != null && l.uploadData.fileType)) {
66
64
  const i = l == null ? void 0 : l.uploadData.fileType;
67
- m((e) => {
65
+ p((e) => {
68
66
  const t = e[i].file || [];
69
67
  return {
70
68
  ...e,
@@ -78,8 +76,8 @@ const _e = ({
78
76
  });
79
77
  }
80
78
  }, [l == null ? void 0 : l.uploadData.fileUrl, l == null ? void 0 : l.uploadData.fileType]);
81
- const h = Object.keys(n), O = g(
82
- 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), {})
83
81
  ), N = () => {
84
82
  for (const i of Object.keys(o)) {
85
83
  const e = o[i];
@@ -102,7 +100,7 @@ const _e = ({
102
100
  const t = i.target.files;
103
101
  !t || t.length === 0 || Array.from(t).map((s) => {
104
102
  const B = URL.createObjectURL(s);
105
- I(K({ file: s, type: e })), m((f) => {
103
+ w(V({ file: s, type: e })), p((f) => {
106
104
  const P = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
107
105
  return {
108
106
  ...f,
@@ -115,41 +113,41 @@ const _e = ({
115
113
  });
116
114
  });
117
115
  };
118
- return /* @__PURE__ */ p(u, { children: [
119
- /* @__PURE__ */ r("form", { style: { height: "350px", overflowY: "scroll" }, ref: w, children: h.map((i) => /* @__PURE__ */ p(x, { mt: 2, children: [
120
- /* @__PURE__ */ r(
121
- 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,
122
120
  {
123
121
  label: o[i].label,
124
122
  value: o[i].text,
125
- onChange: (e) => m((t) => ({
123
+ onChange: (e) => p((t) => ({
126
124
  ...t,
127
125
  [i]: { ...t[i], text: e.target.value }
128
126
  })),
129
127
  slotProps: {
130
128
  input: {
131
- endAdornment: /* @__PURE__ */ r(G, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ p(u, { children: [
132
- /* @__PURE__ */ r(
129
+ endAdornment: /* @__PURE__ */ n(q, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ u(m, { children: [
130
+ /* @__PURE__ */ n(
133
131
  c,
134
132
  {
135
- onClick: () => m((e) => ({
133
+ onClick: () => p((e) => ({
136
134
  ...e,
137
135
  [i]: { ...e[i], file: [] }
138
136
  })),
139
137
  edge: "end",
140
- children: /* @__PURE__ */ r($, {})
138
+ children: /* @__PURE__ */ n(Y, {})
141
139
  }
142
140
  ),
143
- o[i].preview.map((e, t) => /* @__PURE__ */ r(
141
+ o[i].preview.map((e, t) => /* @__PURE__ */ n(
144
142
  c,
145
143
  {
146
144
  onClick: () => window.open(e),
147
145
  edge: "end",
148
- children: /* @__PURE__ */ r(z, {})
146
+ children: /* @__PURE__ */ n(G, {})
149
147
  },
150
148
  t
151
149
  ))
152
- ] }) : /* @__PURE__ */ r(
150
+ ] }) : /* @__PURE__ */ n(
153
151
  c,
154
152
  {
155
153
  onClick: () => {
@@ -157,7 +155,7 @@ const _e = ({
157
155
  return (t = (e = O.current[i]) == null ? void 0 : e.current) == null ? void 0 : t.click();
158
156
  },
159
157
  edge: "end",
160
- children: /* @__PURE__ */ r(Y, {})
158
+ children: /* @__PURE__ */ n(J, {})
161
159
  }
162
160
  ) })
163
161
  }
@@ -165,7 +163,7 @@ const _e = ({
165
163
  required: o[i].required
166
164
  }
167
165
  ),
168
- /* @__PURE__ */ r(
166
+ /* @__PURE__ */ n(
169
167
  "input",
170
168
  {
171
169
  ref: O.current[i],
@@ -178,12 +176,12 @@ const _e = ({
178
176
  }
179
177
  )
180
178
  ] }, i)) }),
181
- /* @__PURE__ */ r(x, { mt: 3.5, children: /* @__PURE__ */ r(A, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ r("strong", { children: a ? /* @__PURE__ */ p(u, { children: [
182
- /* @__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" }),
183
181
  " Processing..."
184
- ] }) : /* @__PURE__ */ r(u, { children: "Submit" }) }) }) })
182
+ ] }) : /* @__PURE__ */ n(m, { children: "Submit" }) }) }) })
185
183
  ] });
186
184
  };
187
185
  export {
188
- _e as default
186
+ Ce as default
189
187
  };
@@ -1,8 +1,9 @@
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 u, I as x, c as T, b as U, a as g, F as h } from "../../../index-BHG1bT4t.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
8
  import "../../../constants-DrmtdI1J.js";
8
9
  import "../../../kyc-ksV3vBP_.js";
@@ -11,24 +12,25 @@ 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 "../../../tooltip-BW0UyWw7.js";
21
22
  import "../../../moment-h96o7c8I.js";
22
23
  import "../../../index.esm-BsMAMhYW.js";
23
24
  import "../../../web3-u4qDZYpo.js";
24
25
  import "../../../index-ceeCtFuh.js";
25
26
  import "../../../context/dialogContext.js";
27
+ import "@mui/icons-material";
26
28
  import "../Sumsub/index.js";
27
29
  export {
28
- u as EDD_SCREEN,
29
- x as INCODE_SCREEN,
30
- T as PEP_SCREEN,
31
- U as PERSONAL_DETAILS_SCREEN,
32
- g as USER_INFO_SCREEN,
33
- h 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
34
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-DrmtdI1J.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,10 +1,11 @@
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 "../../../otpForm-fiNqeB5H.js";
8
9
  import "../../../constants-DrmtdI1J.js";
9
10
  import "../../../context/snackBarContext.js";
10
11
  import "../../../util/conversions.js";
@@ -12,16 +13,15 @@ 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 "../../../tooltip-BW0UyWw7.js";
16
17
  import "../../../moment-h96o7c8I.js";
17
18
  import "../../../index.esm-BsMAMhYW.js";
18
19
  import "../../../web3-u4qDZYpo.js";
19
20
  import "../../../index-ceeCtFuh.js";
20
- import { P as y } from "../../../index-BHG1bT4t.js";
21
+ import { P as y } from "../../../index-BBFbUCRZ.js";
21
22
  import "../../../context/dialogContext.js";
23
+ import "@mui/icons-material";
22
24
  import "./countryList.js";
23
- import "../../../Box-B0YSYLco.js";
24
- import "../../../Typography-pAaje37G.js";
25
25
  export {
26
26
  y as default
27
27
  };
@@ -1,10 +1,11 @@
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 "../../../otpForm-fiNqeB5H.js";
8
9
  import "../../../constants-DrmtdI1J.js";
9
10
  import "../../../kyc-ksV3vBP_.js";
10
11
  import "../../../context/snackBarContext.js";
@@ -14,22 +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 "../../../tooltip-BW0UyWw7.js";
18
19
  import "../../../moment-h96o7c8I.js";
19
20
  import "../../../index.esm-BsMAMhYW.js";
20
21
  import "../../../countries-BVn1FubK.js";
21
22
  import "../../../web3-u4qDZYpo.js";
22
23
  import "../../../index-ceeCtFuh.js";
23
- import { U as G } from "../../../index-BHG1bT4t.js";
24
+ import { U as B } from "../../../index-BBFbUCRZ.js";
24
25
  import "../../../context/dialogContext.js";
26
+ import "@mui/icons-material";
25
27
  import "./countryList.js";
26
- import "../../../Box-B0YSYLco.js";
27
- import "../../../Typography-pAaje37G.js";
28
- import "../../../FormControl-RtZDQMdA.js";
29
- import "../../../TextField-DPpRUQe3.js";
30
- import "../../../Select-CB5yWmyn.js";
31
- import "../../../MenuItem-DUdYOJr4.js";
32
- import "../../../Grid-CFe3amXO.js";
33
28
  export {
34
- G as default
29
+ B as default
35
30
  };