everest-npm-features 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,44 +1,39 @@
1
- import { jsxs as m, Fragment as k, jsx as t } from "react/jsx-runtime";
2
- import { useState as s, useEffect as d } from "react";
1
+ import { jsxs as d, Fragment as B, jsx as t } from "react/jsx-runtime";
2
+ import { useState as s, useEffect as c } from "react";
3
3
  import { h as J } from "../../../moment-h96o7c8I.js";
4
- import { u as M } from "../../../react-redux-C7I9-1M6.js";
5
- import { removeExtraSpace as i } from "../../../util/functions.js";
6
- import { nameRegex as Q } from "../../../util/regex.js";
7
- import "../../../constants-DrmtdI1J.js";
8
- import { r as U, u as V } from "../../../kyc-ksV3vBP_.js";
9
- import { c as X } from "../../../countries-BVn1FubK.js";
10
- import $ from "../../Wallet/Shared/Input/index.js";
11
- import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
12
- import te from "../../Wallet/Shared/appButton.js";
13
- import re from "../../../hooks/useEverestDispatch.js";
14
- import { T as I } from "../../../Typography-pAaje37G.js";
15
- import { B as a } from "../../../Box-B0YSYLco.js";
16
- import { F as ae } from "../../../FormControl-RtZDQMdA.js";
17
- import { S as se } from "../../../Select-CB5yWmyn.js";
18
- import { M as z } from "../../../MenuItem-DUdYOJr4.js";
19
- import { C as oe } from "../../../CircularProgress-xZA3lvba.js";
20
- const Ae = ({
4
+ import { u as I } from "../../../react-redux-C7I9-1M6.js";
5
+ import { Typography as M, Box as a, FormControl as Q, Select as U, MenuItem as z, CircularProgress as V } from "@mui/material";
6
+ import { removeExtraSpace as o } from "../../../util/functions.js";
7
+ import { nameRegex as X } from "../../../util/regex.js";
8
+ import "../../../constants-DX0YBtP2.js";
9
+ import { r as $, u as ee } from "../../../kyc-BNMPoeHt.js";
10
+ import { c as te } from "../../../countries-BVn1FubK.js";
11
+ import re from "../../Wallet/Shared/Input/index.js";
12
+ import { useSnackBarContext as ae } from "../../../context/snackBarContext.js";
13
+ import se from "../../Wallet/Shared/appButton.js";
14
+ import ie from "../../../hooks/useEverestDispatch.js";
15
+ const Pe = ({
21
16
  onComplete: E,
22
- inputComponent: F,
23
- buttonComponent: K
17
+ inputComponent: K,
18
+ buttonComponent: Y
24
19
  }) => {
25
- const o = F ?? $, Y = K ?? te, p = re(), c = M(
20
+ const i = K ?? re, F = Y ?? se, p = ie(), m = I(
26
21
  (e) => e.user.profile
27
- ), n = M((e) => e.user.kyc), g = n.loader, f = n.error, { showAlertMessage: r } = ee(), [v, y] = s(""), [C, b] = s(""), [u, L] = s(""), [W, R] = s(""), [P, j] = s(""), [S, T] = s(""), [N, Z] = s(""), [q, w] = s(""), [h, O] = s("");
28
- d(() => () => {
29
- p(U());
30
- }, []), d(() => {
31
- f && r({ message: f });
32
- }, [f]), d(() => {
22
+ ), n = I((e) => e.user.kyc), g = n.loader, h = n.error, { showAlertMessage: r } = ae(), [v, y] = s(""), [C, b] = s(""), [u, L] = s(""), [W, R] = s(""), [P, j] = s(""), [S, Z] = s(""), [N, w] = s(""), [q, O] = s(""), [f, T] = s("");
23
+ c(() => () => {
24
+ p($());
25
+ }, []), c(() => {
26
+ h && r({ message: h });
27
+ }, [h]), c(() => {
33
28
  n.minimal && (r({
34
29
  message: "Minimal KYC has been done successfully.",
35
30
  type: "success"
36
31
  }), E());
37
- }, [n]), d(() => {
38
- y(c.firstName), b(c.lastName);
39
- }, [c]);
32
+ }, [n]), c(() => {
33
+ y(m.firstName), b(m.lastName);
34
+ }, [m]);
40
35
  const G = () => {
41
- const e = i(v), l = i(C), A = i(W), H = i(P), B = i(S), D = i(N), _ = i(q);
36
+ const e = o(v), l = o(C), A = o(W), H = o(P), D = o(S), _ = o(N), k = o(q);
42
37
  if (!e) {
43
38
  r({ message: "Please provide first name" });
44
39
  return;
@@ -61,23 +56,23 @@ const Ae = ({
61
56
  r({ message: "Please provide address" });
62
57
  return;
63
58
  }
64
- if (!B) {
59
+ if (!D) {
65
60
  r({ message: "Please provide city" });
66
61
  return;
67
62
  }
68
- if (!D) {
63
+ if (!_) {
69
64
  r({ message: "Please provide state" });
70
65
  return;
71
66
  }
72
- if (!_) {
67
+ if (!k) {
73
68
  r({ message: "Please provide zip code" });
74
69
  return;
75
70
  }
76
- if (!h) {
71
+ if (!f) {
77
72
  r({ message: "Please provide country" });
78
73
  return;
79
74
  }
80
- g || p(V({
75
+ g || p(ee({
81
76
  personal_information: {
82
77
  first_name: e,
83
78
  last_name: l,
@@ -86,19 +81,19 @@ const Ae = ({
86
81
  residential_address: {
87
82
  street: A,
88
83
  secondary_street: H,
89
- city: B,
90
- state: D,
91
- postcode: _,
92
- country: h
84
+ city: D,
85
+ state: _,
86
+ postcode: k,
87
+ country: f
93
88
  }
94
89
  }));
95
90
  }, x = (e, l) => {
96
- e ? Q.test(e) && l(e) : l("");
91
+ e ? X.test(e) && l(e) : l("");
97
92
  };
98
- return /* @__PURE__ */ m(k, { children: [
99
- /* @__PURE__ */ t(I, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
93
+ return /* @__PURE__ */ d(B, { children: [
94
+ /* @__PURE__ */ t(M, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
100
95
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
101
- o,
96
+ i,
102
97
  {
103
98
  label: "First Name",
104
99
  value: v,
@@ -110,7 +105,7 @@ const Ae = ({
110
105
  }
111
106
  ) }),
112
107
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
113
- o,
108
+ i,
114
109
  {
115
110
  label: "Last Name",
116
111
  value: C,
@@ -122,7 +117,7 @@ const Ae = ({
122
117
  }
123
118
  ) }),
124
119
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
125
- o,
120
+ i,
126
121
  {
127
122
  slotProps: {
128
123
  inputLabel: {
@@ -138,7 +133,7 @@ const Ae = ({
138
133
  }
139
134
  ) }),
140
135
  /* @__PURE__ */ t(
141
- I,
136
+ M,
142
137
  {
143
138
  sx: { mt: 2 },
144
139
  color: "primary",
@@ -148,7 +143,7 @@ const Ae = ({
148
143
  }
149
144
  ),
150
145
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
151
- o,
146
+ i,
152
147
  {
153
148
  label: "Address 1",
154
149
  value: W,
@@ -158,7 +153,7 @@ const Ae = ({
158
153
  }
159
154
  ) }),
160
155
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
161
- o,
156
+ i,
162
157
  {
163
158
  label: "Address 2 (optional)",
164
159
  value: P,
@@ -167,36 +162,36 @@ const Ae = ({
167
162
  }
168
163
  ) }),
169
164
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
170
- o,
165
+ i,
171
166
  {
172
167
  label: "City",
173
168
  value: S,
174
- onChange: (e) => T(e.target.value),
169
+ onChange: (e) => Z(e.target.value),
175
170
  fullWidth: !0,
176
171
  required: !0
177
172
  }
178
173
  ) }),
179
174
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
180
- o,
175
+ i,
181
176
  {
182
177
  label: "State",
183
178
  value: N,
184
- onChange: (e) => Z(e.target.value),
179
+ onChange: (e) => w(e.target.value),
185
180
  fullWidth: !0,
186
181
  required: !0
187
182
  }
188
183
  ) }),
189
184
  /* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
190
- o,
185
+ i,
191
186
  {
192
187
  label: "Zip Code",
193
188
  value: q,
194
- onChange: (e) => w(e.target.value),
189
+ onChange: (e) => O(e.target.value),
195
190
  fullWidth: !0,
196
191
  required: !0
197
192
  }
198
193
  ) }),
199
- /* @__PURE__ */ m(a, { mt: 2, children: [
194
+ /* @__PURE__ */ d(a, { mt: 2, children: [
200
195
  /* @__PURE__ */ t(
201
196
  "label",
202
197
  {
@@ -209,25 +204,25 @@ const Ae = ({
209
204
  children: "Country *"
210
205
  }
211
206
  ),
212
- /* @__PURE__ */ t(ae, { fullWidth: !0, children: /* @__PURE__ */ m(
213
- se,
207
+ /* @__PURE__ */ t(Q, { fullWidth: !0, children: /* @__PURE__ */ d(
208
+ U,
214
209
  {
215
- value: h,
210
+ value: f,
216
211
  displayEmpty: !0,
217
- onChange: (e) => O(e.target.value),
212
+ onChange: (e) => T(e.target.value),
218
213
  children: [
219
214
  /* @__PURE__ */ t(z, { value: "", children: "Select Country" }),
220
- X.map((e) => /* @__PURE__ */ t(z, { value: e.alpha3, children: e.name }, e.alpha3))
215
+ te.map((e) => /* @__PURE__ */ t(z, { value: e.alpha3, children: e.name }, e.alpha3))
221
216
  ]
222
217
  }
223
218
  ) })
224
219
  ] }),
225
- /* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(Y, { onClick: G, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ m(k, { children: [
226
- /* @__PURE__ */ t(oe, { size: 15, color: "inherit" }),
220
+ /* @__PURE__ */ t(a, { mt: 4, children: /* @__PURE__ */ t(F, { onClick: G, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: g ? /* @__PURE__ */ d(B, { children: [
221
+ /* @__PURE__ */ t(V, { size: 15, color: "inherit" }),
227
222
  " Processing..."
228
223
  ] }) : "Submit" }) }) })
229
224
  ] });
230
225
  };
231
226
  export {
232
- Ae as default
227
+ Pe as default
233
228
  };
@@ -1,44 +1,42 @@
1
- import { jsxs as A, Fragment as C, jsx as t } from "react/jsx-runtime";
2
- import { useState as p, useRef as f, useEffect as b, useCallback as n } from "react";
3
- import { S as x } from "../../../index.esm-I_Bp2YLf.js";
4
- import { u as E } from "../../../react-redux-C7I9-1M6.js";
5
- import "../../../constants-DrmtdI1J.js";
6
- import { g as D, b as R } from "../../../kyc-ksV3vBP_.js";
7
- import I from "../../../hooks/useEverestDispatch.js";
8
- import { T as v } from "../../../Typography-pAaje37G.js";
9
- import { B as d } from "../../../Box-B0YSYLco.js";
10
- import { C as y } from "../../../CircularProgress-xZA3lvba.js";
11
- function z({ onApplicantIdLoaded: o }) {
12
- const c = I(), e = E((s) => s.user.kyc), [u, k] = p(null), i = f(null), [a, h] = p(!1), m = f(!1);
13
- b(() => {
14
- c(D());
1
+ import { jsxs as f, Fragment as p, jsx as t } from "react/jsx-runtime";
2
+ import { useState as d, useRef as b, useEffect as h, useCallback as c } from "react";
3
+ import { S as E } from "../../../index.esm-I_Bp2YLf.js";
4
+ import { Typography as k, Box as g, CircularProgress as D } from "@mui/material";
5
+ import { u as v } from "../../../react-redux-C7I9-1M6.js";
6
+ import "../../../constants-DX0YBtP2.js";
7
+ import { g as w, b as y } from "../../../kyc-BNMPoeHt.js";
8
+ import R from "../../../hooks/useEverestDispatch.js";
9
+ function K({ onApplicantIdLoaded: o }) {
10
+ const n = R(), e = v((r) => r.user.kyc), [i, T] = d(null), u = b(null), [a, A] = d(!1), l = b(!1);
11
+ h(() => {
12
+ n(w());
15
13
  }, []);
16
- const T = n(async () => e.sumsubAccessToken ?? "", [e.sumsubAccessToken]);
17
- b(() => {
14
+ const S = c(async () => e.sumsubAccessToken ?? "", [e.sumsubAccessToken]);
15
+ h(() => {
18
16
  if (!a) return;
19
- const s = i.current ?? u;
20
- s && (m.current || (m.current = !0, c(R(s))));
21
- }, [u, c, a]);
22
- const g = n(
23
- (s, l) => {
24
- if (s === "idCheck.onApplicantLoaded") {
25
- const r = l;
26
- r != null && r.applicantId && (i.current = r.applicantId, k(r.applicantId), o == null || o(r.applicantId));
17
+ const r = u.current ?? i;
18
+ r && (l.current || (l.current = !0, n(y(r))));
19
+ }, [i, n, a]);
20
+ const x = c(
21
+ (r, m) => {
22
+ if (r === "idCheck.onApplicantLoaded") {
23
+ const s = m;
24
+ s != null && s.applicantId && (u.current = s.applicantId, T(s.applicantId), o == null || o(s.applicantId));
27
25
  return;
28
26
  }
29
- if (s === "idCheck.onApplicantStatusChanged" || s === "idCheck.onApplicantActionCompleted") {
30
- const r = l;
31
- (r == null ? void 0 : r.reviewStatus) === "completed" && h(!0);
27
+ if (r === "idCheck.onApplicantStatusChanged" || r === "idCheck.onApplicantActionCompleted") {
28
+ const s = m;
29
+ (s == null ? void 0 : s.reviewStatus) === "completed" && A(!0);
32
30
  }
33
31
  },
34
- [c, o]
35
- ), S = n((s) => {
36
- console.error("Sumsub WebSDK error:", s);
32
+ [n, o]
33
+ ), C = c((r) => {
34
+ console.error("Sumsub WebSDK error:", r);
37
35
  }, []);
38
- return /* @__PURE__ */ A(C, { children: [
39
- e.sumsubAccessTokenError && /* @__PURE__ */ t(v, { color: "error", variant: "body2", children: e.sumsubAccessTokenError }),
36
+ return /* @__PURE__ */ f(p, { children: [
37
+ e.sumsubAccessTokenError && /* @__PURE__ */ t(k, { color: "error", variant: "body2", children: e.sumsubAccessTokenError }),
40
38
  !e.sumsubAccessTokenError && (e.sumsubAccessTokenLoader || !e.sumsubAccessToken) && /* @__PURE__ */ t(
41
- d,
39
+ g,
42
40
  {
43
41
  sx: {
44
42
  display: "flex",
@@ -46,38 +44,53 @@ function z({ onApplicantIdLoaded: o }) {
46
44
  justifyContent: "center",
47
45
  py: 4
48
46
  },
49
- children: /* @__PURE__ */ t(y, {})
47
+ children: /* @__PURE__ */ t(D, {})
50
48
  }
51
49
  ),
52
- !e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */ t(
53
- d,
54
- {
55
- sx: {
56
- borderRadius: 1,
57
- border: "1px solid black",
58
- overflow: "hidden",
59
- minHeight: 500
60
- },
61
- children: /* @__PURE__ */ t(
62
- x,
63
- {
64
- accessToken: e.sumsubAccessToken,
65
- expirationHandler: T,
66
- config: {
67
- lang: "en"
68
- },
69
- options: {
70
- addViewportTag: !1,
71
- adaptIframeHeight: !0
72
- },
73
- onMessage: g,
74
- onError: S
75
- }
76
- )
77
- }
78
- )
50
+ !e.sumsubAccessTokenError && e.sumsubAccessToken && /* @__PURE__ */ f(p, { children: [
51
+ /* @__PURE__ */ t(
52
+ g,
53
+ {
54
+ sx: {
55
+ mb: 2,
56
+ p: 2,
57
+ backgroundColor: "#fff3cd",
58
+ border: "1px solid #ffc107",
59
+ borderRadius: 1
60
+ },
61
+ children: /* @__PURE__ */ t(
62
+ k,
63
+ {
64
+ variant: "body2",
65
+ sx: {
66
+ fontWeight: "bold",
67
+ color: "#856404",
68
+ textAlign: "center"
69
+ },
70
+ children: "⚠️ Do not close this window or navigate away. Wait for verification to complete - additional information will be required next."
71
+ }
72
+ )
73
+ }
74
+ ),
75
+ /* @__PURE__ */ t(
76
+ E,
77
+ {
78
+ accessToken: e.sumsubAccessToken,
79
+ expirationHandler: S,
80
+ config: {
81
+ lang: "en"
82
+ },
83
+ options: {
84
+ addViewportTag: !1,
85
+ adaptIframeHeight: !0
86
+ },
87
+ onMessage: x,
88
+ onError: C
89
+ }
90
+ )
91
+ ] })
79
92
  ] });
80
93
  }
81
94
  export {
82
- z as default
95
+ K as default
83
96
  };
@@ -1,7 +1,6 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { B as a } from "../../Backdrop-CioURPVG.js";
3
- import { C as s } from "../../CircularProgress-xZA3lvba.js";
4
- const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
2
+ import { Backdrop as a, CircularProgress as d } from "@mui/material";
3
+ const f = ({ open: o = !0 }) => /* @__PURE__ */ r(
5
4
  a,
6
5
  {
7
6
  open: o,
@@ -9,9 +8,9 @@ const m = ({ open: o = !0 }) => /* @__PURE__ */ r(
9
8
  color: "#fff",
10
9
  zIndex: (e) => e.zIndex.drawer + 1
11
10
  },
12
- children: /* @__PURE__ */ r(s, { color: "primary" })
11
+ children: /* @__PURE__ */ r(d, { color: "primary" })
13
12
  }
14
13
  );
15
14
  export {
16
- m as default
15
+ f as default
17
16
  };
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../DefaultPropsProvider-oAu9El-f.js";
4
- import { M as i } from "../../tooltip-3UvETWtS.js";
3
+ import "@mui/material";
4
+ import { M as i } from "../../tooltip-BW0UyWw7.js";
5
5
  export {
6
6
  i as default
7
7
  };
@@ -1,9 +1,9 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as n } from "react";
3
- import { S as s } from "../../Slide-B9Nw0LZ4.js";
4
- const a = n((r, o) => {
2
+ import { Slide as n } from "@mui/material";
3
+ import { forwardRef as s } from "react";
4
+ const a = s((r, o) => {
5
5
  const { children: i, ...t } = r;
6
- return /* @__PURE__ */ e(s, { direction: "up", ref: o, ...t, children: i });
6
+ return /* @__PURE__ */ e(n, { direction: "up", ref: o, ...t, children: i });
7
7
  });
8
8
  a.displayName = "Transition";
9
9
  export {
@@ -7,9 +7,8 @@ interface CreateIbanProps {
7
7
  createIbanRequest: (currency: string) => void;
8
8
  iban: BankState["iban"];
9
9
  navigate: (path: string) => void;
10
- currency: React.MutableRefObject<string>;
11
- setIbanCurrency: React.Dispatch<React.SetStateAction<string>>;
12
10
  from: typeof FEATURE_EWALLET | typeof FEATURE_VIRTUAL_IBAN;
11
+ brandId?: string;
13
12
  }
14
13
  declare const CreateIban: React.FC<CreateIbanProps>;
15
14
  export default CreateIban;