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,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";
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";
5
6
  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());
7
+ import { g as w, b as y } from "../../../kyc-ksV3vBP_.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 {
@@ -1,29 +1,26 @@
1
- import { jsx as t, jsxs as u } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
2
  import { useRef as A } from "react";
3
3
  import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
- import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as d, DIALOG_SUCCESS_ICON as U } from "../../../util/constants.js";
5
- import { a as v, ah as P, c as V, K as _ } from "../../../constants-DrmtdI1J.js";
4
+ import { Box as S, CircularProgress as U, Typography as E, Select as v, MenuItem as d } from "@mui/material";
5
+ import { FEATURE_EWALLET as r, DIALOG_ERROR_ICON as f, DIALOG_SUCCESS_ICON as P } from "../../../util/constants.js";
6
+ import { a as V, ah as _, c as G, K } from "../../../constants-DrmtdI1J.js";
6
7
  import "../../../index-DlQqWbXG.js";
7
8
  import "../Shared/appButton.js";
8
9
  import "../../../hoc/withThemeProvider.js";
9
- import "../Shared/Auth/otpForm.js";
10
- import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
10
+ import "../../../otpForm-fiNqeB5H.js";
11
+ import { useSnackBarContext as O } from "../../../context/snackBarContext.js";
11
12
  import "../../../util/conversions.js";
12
13
  import "../../../index-CAoLi5Qq.js";
13
14
  import "../../../react-webcam-B3cXh1XT.js";
14
15
  import "../../Shared/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
21
  import "../../../index.esm-I_Bp2YLf.js";
21
22
  import "../../../context/dialogContext.js";
22
- import { B as S } from "../../../Box-B0YSYLco.js";
23
- import { C as K } from "../../../CircularProgress-xZA3lvba.js";
24
- import { T as E } from "../../../Typography-pAaje37G.js";
25
- import { S as O } from "../../../Select-CB5yWmyn.js";
26
- import { M as f } from "../../../MenuItem-DUdYOJr4.js";
23
+ import "@mui/icons-material";
27
24
  const Y = [
28
25
  {
29
26
  alpha3: "AUT",
@@ -190,21 +187,21 @@ const Y = [
190
187
  alpha2: "GB",
191
188
  name: "United Kingdom"
192
189
  }
193
- ], ca = ({
190
+ ], ha = ({
194
191
  openDialog: n,
195
192
  createIbanRequest: B,
196
- iban: h,
197
- navigate: T,
193
+ iban: s,
194
+ navigate: L,
198
195
  currency: a,
199
- setIbanCurrency: m,
196
+ setIbanCurrency: c,
200
197
  from: e
201
198
  }) => {
202
- const { showAlertMessage: C } = G(), c = N((o) => o.user), p = c.profile, L = p.loader, y = c.kyc.loader, s = c.kyc.status, I = p.email, R = h.loader, l = A(!1), g = () => {
199
+ const { showAlertMessage: C } = O(), u = N((o) => o.user), p = u.profile, T = p.loader, y = u.kyc.loader, h = u.kyc.status, I = p.email, R = s.loader, l = A(!1), g = () => {
203
200
  if (!I) {
204
201
  n({
205
202
  title: "No Email",
206
203
  message: "Please contact support to update your email address.",
207
- icon: d,
204
+ icon: f,
208
205
  width: "575px",
209
206
  confirmButtonText: "Contact Suuport",
210
207
  cancelButtonShow: !0,
@@ -214,7 +211,7 @@ const Y = [
214
211
  });
215
212
  return;
216
213
  }
217
- if (s === v || s === P) {
214
+ if (h === V || h === _) {
218
215
  n({
219
216
  title: "Under Review",
220
217
  message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
@@ -225,7 +222,7 @@ const Y = [
225
222
  });
226
223
  return;
227
224
  }
228
- if (s !== V && s !== _) {
225
+ if (h !== G && h !== K) {
229
226
  n({
230
227
  title: "Verification Required",
231
228
  message: `To create a ${e === r ? "E-Wallet" : "Virtual IBAN"}, we first need to verify your identity. You will now be taken to complete your KYC verification.`,
@@ -233,7 +230,7 @@ const Y = [
233
230
  height: "400px",
234
231
  confirmButtonText: "Start Verification",
235
232
  cancelButtonText: "Cancel",
236
- onConfirm: () => T("/kyc")
233
+ onConfirm: () => L("/kyc")
237
234
  });
238
235
  return;
239
236
  }
@@ -243,7 +240,7 @@ const Y = [
243
240
  n({
244
241
  title: "Not Allowed",
245
242
  message: "Currently we are not supporting your country for Virtual IBAN.",
246
- icon: d,
243
+ icon: f,
247
244
  width: "575px",
248
245
  height: "450px",
249
246
  confirmButtonText: "Continue",
@@ -255,7 +252,7 @@ const Y = [
255
252
  n({
256
253
  title: "Not Allowed",
257
254
  message: "Currently we are not supporting organizational wallet(KYB) for Virtual IBAN.",
258
- icon: d,
255
+ icon: f,
259
256
  width: "575px",
260
257
  height: "450px",
261
258
  confirmButtonText: "Continue",
@@ -263,29 +260,29 @@ const Y = [
263
260
  });
264
261
  return;
265
262
  }
266
- e === r && (a.current = "EUR", m("EUR")), n({
263
+ e === r && (a.current = "EUR", c("EUR")), n({
267
264
  title: e === r ? "Create E-Wallet" : "Create Virtual IBAN",
268
- message: /* @__PURE__ */ u(S, { children: [
265
+ message: /* @__PURE__ */ m(S, { children: [
269
266
  /* @__PURE__ */ t(E, { children: e === r ? "Please proceed to create your E-Wallet." : "Please select the currency for the Virtual IBAN and proceed." }),
270
- e !== r && /* @__PURE__ */ u(
271
- O,
267
+ e !== r && /* @__PURE__ */ m(
268
+ v,
272
269
  {
273
270
  defaultValue: "",
274
271
  onChange: (i) => {
275
- a.current = i.target.value, m(i.target.value);
272
+ a.current = i.target.value, c(i.target.value);
276
273
  },
277
274
  style: { marginTop: "10px" },
278
275
  displayEmpty: !0,
279
276
  fullWidth: !0,
280
277
  children: [
281
- /* @__PURE__ */ t(f, { value: "", children: "Select currency" }),
282
- /* @__PURE__ */ t(f, { value: "EUR", children: "EUR" }),
283
- /* @__PURE__ */ t(f, { value: "GBP", children: "GBP" })
278
+ /* @__PURE__ */ t(d, { value: "", children: "Select currency" }),
279
+ /* @__PURE__ */ t(d, { value: "EUR", children: "EUR" }),
280
+ /* @__PURE__ */ t(d, { value: "GBP", children: "GBP" })
284
281
  ]
285
282
  }
286
283
  )
287
284
  ] }),
288
- icon: U,
285
+ icon: P,
289
286
  width: "575px",
290
287
  confirmButtonText: "Create",
291
288
  cancelButtonShow: !0,
@@ -293,7 +290,7 @@ const Y = [
293
290
  closeModalConfirm: w,
294
291
  onConfirm: x,
295
292
  onCancel: () => {
296
- a.current = "", m(""), l.current = !1;
293
+ a.current = "", c(""), l.current = !1;
297
294
  },
298
295
  onClose: () => {
299
296
  a.current = "", l.current = !1;
@@ -304,8 +301,8 @@ const Y = [
304
301
  return l.current = !0, C({
305
302
  message: e === r ? "Currency selection is missing." : "Please select currency for Virtual IBAN."
306
303
  }), !1;
307
- if (h.data.length > 0) {
308
- const o = h.data.find(
304
+ if (s.data.length > 0) {
305
+ const o = s.data.find(
309
306
  (i) => i.currency === a.current
310
307
  );
311
308
  if (o != null && o.id)
@@ -315,14 +312,14 @@ const Y = [
315
312
  }
316
313
  B(a.current);
317
314
  };
318
- return L || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(K, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
315
+ return T || y || R ? /* @__PURE__ */ t(S, { mt: 4, className: "flex-center", children: /* @__PURE__ */ t(U, { color: "primary", size: 50 }) }) : /* @__PURE__ */ t(
319
316
  E,
320
317
  {
321
318
  onClick: g,
322
319
  component: "span",
323
320
  color: "primary",
324
321
  sx: { cursor: "pointer" },
325
- children: /* @__PURE__ */ u("span", { className: "text-underline", children: [
322
+ children: /* @__PURE__ */ m("span", { className: "text-underline", children: [
326
323
  "+ Add ",
327
324
  e === r ? "E-Wallet" : "Virtual IBAN"
328
325
  ] })
@@ -330,5 +327,5 @@ const Y = [
330
327
  );
331
328
  };
332
329
  export {
333
- ca as default
330
+ ha as default
334
331
  };
@@ -1,35 +1,31 @@
1
- import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
1
+ import { jsx as e, jsxs as r, Fragment as m } from "react/jsx-runtime";
2
2
  import { useRef as w, useState as A, useEffect as N } from "react";
3
- import { I as P } from "../../../Info-BVeUSPyk.js";
4
- import { DIALOG_SUCCESS_ICON as T, FEATURE_EWALLET as p } from "../../../util/constants.js";
5
- import { M as D } from "../../../tooltip-3UvETWtS.js";
6
- import b from "../Shared/noData.js";
7
- import v from "./createIban.js";
3
+ import { Box as t, Grid as a, Typography as h, IconButton as P, CircularProgress as D } from "@mui/material";
4
+ import { I as T } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as b, FEATURE_EWALLET as p } from "../../../util/constants.js";
6
+ import { M as v } from "../../../tooltip-BW0UyWw7.js";
7
+ import L from "../Shared/noData.js";
8
+ import z from "./createIban.js";
8
9
  import { AuthInnerContainer as B } from "../Shared/Container/index.js";
9
- import L from "./ibanItem.js";
10
- import { B as t } from "../../../Box-B0YSYLco.js";
11
- import { G as a } from "../../../Grid-CFe3amXO.js";
12
- import { T as h } from "../../../Typography-pAaje37G.js";
13
- import { I as z } from "../../../IconButton-DHm-hucF.js";
14
- import { C as _ } from "../../../CircularProgress-xZA3lvba.js";
15
- const Q = ({
10
+ import _ from "./ibanItem.js";
11
+ const V = ({
16
12
  dispatch: u,
17
- openDialog: i,
13
+ openDialog: c,
18
14
  appKey: d,
19
15
  appKeyEur: f,
20
16
  paymentWidgetSrcUrl: y,
21
- iban: o,
22
- navigate: c,
17
+ iban: n,
18
+ navigate: i,
23
19
  AccountItem: x,
24
- createIbanRequest: C,
25
- tokenData: I
20
+ createIbanRequest: g,
21
+ tokenData: C
26
22
  }) => {
27
- const s = o.data, g = o.loader, E = w(""), [q, S] = A("");
23
+ const s = n.data, I = n.loader, E = w(""), [q, S] = A("");
28
24
  return N(() => {
29
- new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
25
+ new URLSearchParams(window.location.search).get("paymentStatus") === "success" && c({
30
26
  title: "Payment Success",
31
27
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
32
- icon: T,
28
+ icon: b,
33
29
  width: "575px",
34
30
  confirmButtonText: "Continue"
35
31
  });
@@ -38,35 +34,35 @@ const Q = ({
38
34
  /* @__PURE__ */ r(a, { size: 8, children: [
39
35
  /* @__PURE__ */ e(h, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "E-Wallet" }) }),
40
36
  /* @__PURE__ */ e(
41
- D,
37
+ v,
42
38
  {
43
39
  title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create an E-Wallet. This requires KYC" }),
44
40
  placement: "bottom",
45
- children: /* @__PURE__ */ e(z, { className: "info-fee-icon", children: /* @__PURE__ */ e(P, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
41
+ children: /* @__PURE__ */ e(P, { className: "info-fee-icon", children: /* @__PURE__ */ e(T, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
46
42
  }
47
43
  )
48
44
  ] }),
49
45
  /* @__PURE__ */ e(a, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
50
- v,
46
+ z,
51
47
  {
52
- openDialog: i,
53
- createIbanRequest: C,
54
- iban: o,
55
- navigate: c,
48
+ openDialog: c,
49
+ createIbanRequest: g,
50
+ iban: n,
51
+ navigate: i,
56
52
  currency: E,
57
53
  setIbanCurrency: S,
58
54
  from: p
59
55
  }
60
56
  ) }) })
61
57
  ] }),
62
- g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(_, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(l, { children: [
63
- s.length > 0 ? /* @__PURE__ */ e(l, { children: s.map((n, m) => {
58
+ I ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(D, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(m, { children: [
59
+ s.length > 0 ? /* @__PURE__ */ e(m, { children: s.map((o, l) => {
64
60
  const W = {
65
- ...n,
66
- accountName: `E-Wallet - ${n.currency ?? ""}`
61
+ ...o,
62
+ accountName: `E-Wallet - ${o.currency ?? ""}`
67
63
  };
68
64
  return /* @__PURE__ */ e(
69
- L,
65
+ _,
70
66
  {
71
67
  data: W,
72
68
  AccountItem: x,
@@ -74,14 +70,14 @@ const Q = ({
74
70
  appKey: d,
75
71
  appKeyEur: f,
76
72
  paymentWidgetSrcUrl: y,
77
- iban: o,
78
- navigate: c,
73
+ iban: n,
74
+ navigate: i,
79
75
  from: p,
80
- tokenData: I
76
+ tokenData: C
81
77
  },
82
- m
78
+ l
83
79
  );
84
- }) }) : /* @__PURE__ */ e(b, { text: "You currently have no E-Wallets" }),
80
+ }) }) : /* @__PURE__ */ e(L, { text: "You currently have no E-Wallets" }),
85
81
  /* @__PURE__ */ e(t, { mt: 3, textAlign: "center", children: /* @__PURE__ */ r(h, { variant: "caption", color: "secondary", children: [
86
82
  "Powered by",
87
83
  " ",
@@ -100,5 +96,5 @@ const Q = ({
100
96
  ] }) });
101
97
  };
102
98
  export {
103
- Q as default
99
+ V as default
104
100
  };