everest-npm-features 0.0.63 → 0.0.65

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 (108) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-DbQI55la.js} +5 -5
  2. package/dist/assets/styles.css +1 -1
  3. package/dist/assets/styles2.css +1 -1
  4. package/dist/{auth-BBeOw4mt.js → auth-D_DKdP4p.js} +1 -1
  5. package/dist/bank-DIuQN1YY.js +47 -0
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
  7. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  10. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  11. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  12. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  13. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  14. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  15. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  25. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  26. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  27. package/dist/components/Shared/FullKyc/edd.js +5 -5
  28. package/dist/components/Shared/FullKyc/index.js +11 -10
  29. package/dist/components/Shared/FullKyc/pep.js +77 -73
  30. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  31. package/dist/components/Shared/FullKyc/types.d.ts +4 -4
  32. package/dist/components/Shared/FullKyc/userInfo.js +5 -5
  33. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  34. package/dist/components/Shared/Sumsub/index.d.ts +1 -1
  35. package/dist/components/Shared/Sumsub/index.js +36 -34
  36. package/dist/components/Wallet/Account/createIban.js +16 -541
  37. package/dist/components/Wallet/Account/eWallet.js +7 -7
  38. package/dist/components/Wallet/Account/iban.js +77 -56
  39. package/dist/components/Wallet/Account/ibanItem.js +21 -6
  40. package/dist/components/Wallet/Account/index.js +217 -182
  41. package/dist/components/Wallet/Account/sendIban.js +2 -2
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  43. package/dist/components/Wallet/Buy/form.js +5 -5
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -4
  47. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +1 -1
  48. package/dist/components/Wallet/EnterpriseKyc/index.js +111 -109
  49. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +5 -5
  50. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
  51. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +16 -4
  52. package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
  53. package/dist/components/Wallet/History/index.js +2 -2
  54. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +5 -5
  55. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  56. package/dist/components/Wallet/Portfolio/index.js +7 -7
  57. package/dist/components/Wallet/Profile/documents.js +76 -69
  58. package/dist/components/Wallet/Profile/index.js +71 -50
  59. package/dist/components/Wallet/Profile/storage.js +32 -25
  60. package/dist/components/Wallet/Receive/index.js +3 -3
  61. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -6
  62. package/dist/components/Wallet/Sell/form.js +5 -5
  63. package/dist/components/Wallet/Sell/index.js +6 -6
  64. package/dist/components/Wallet/Send/index.js +37 -37
  65. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  66. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  67. package/dist/components/Wallet/Shared/CardCorp/index.js +3 -3
  68. package/dist/components/Wallet/Shared/addBank.js +5 -5
  69. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  70. package/dist/components/Wallet/Shared/manualSend.js +5 -5
  71. package/dist/components/Wallet/SignIn/index.js +3 -3
  72. package/dist/components/Wallet/SignUp/index.js +3 -3
  73. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  74. package/dist/components/Wallet/Stake/id/index.js +24 -16
  75. package/dist/components/Wallet/Stake/index.js +7 -7
  76. package/dist/components/Wallet/Swap/form.js +8 -8
  77. package/dist/components/Wallet/Swap/index.js +5 -5
  78. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  79. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  80. package/dist/components/Wallet/Withdraw/form.js +4 -4
  81. package/dist/components/Wallet/Withdraw/index.js +5 -5
  82. package/dist/{constants-DX0YBtP2.js → constants-B-_x7F8X.js} +221 -219
  83. package/dist/createIban-CbxsxTxl.js +580 -0
  84. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-Cmdg7BR-.js} +1 -1
  85. package/dist/hooks/useDialog/index.js +11 -9
  86. package/dist/{index-DkiQ8pRO.js → index-9VVh1IhH.js} +52 -52
  87. package/dist/{index-JY6-UKlX.js → index-BeEuJLqT.js} +88 -87
  88. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  89. package/dist/{index-_fiTunwZ.js → index-C_Vf8Evc.js} +4 -4
  90. package/dist/{index-bK14vCZw.js → index-Cx8dey5q.js} +6 -6
  91. package/dist/{index-B4XvACQN.js → index-DXw2h9nQ.js} +71 -70
  92. package/dist/index-DtTDOPWZ.js +562 -0
  93. package/dist/{index-DuWW5roi.js → index-DuOJBwgp.js} +66 -65
  94. package/dist/{kyc-BNMPoeHt.js → kyc-BXoUxN4z.js} +1 -1
  95. package/dist/main.js +7 -7
  96. package/dist/{order-BXeCIvqC.js → order-DAiOqPsI.js} +1 -1
  97. package/dist/{otpForm-DeeegaX2.js → otpForm-WjQmPs8D.js} +2 -2
  98. package/dist/{stake-BO2TYVJ7.js → stake-CzXNB3em.js} +1 -1
  99. package/dist/styles.module-4N8hJhXS.js +22 -0
  100. package/dist/styles.module-DYytghn2.js +28 -0
  101. package/dist/util/constants.d.ts +2 -2
  102. package/dist/util/constants.js +1 -1
  103. package/dist/{wallet-BPXOp8UG.js → wallet-Cw-0XynY.js} +1 -1
  104. package/package.json +7 -7
  105. package/dist/bank-HVb0GFsa.js +0 -37
  106. package/dist/index-CTPMPwYK.js +0 -533
  107. package/dist/styles.module-C1sNeKjL.js +0 -22
  108. package/dist/styles.module-DFoezEqS.js +0 -28
@@ -1,78 +1,99 @@
1
- import { jsx as e, jsxs as o, Fragment as l } from "react/jsx-runtime";
2
- import { useEffect as C } from "react";
3
- import { Box as t, Grid as n, Typography as S, IconButton as N, CircularProgress as B } from "@mui/material";
4
- import { I as w } from "../../../Info-DOoRR7sR.js";
5
- import { DIALOG_SUCCESS_ICON as T, FEATURE_VIRTUAL_IBAN as p } from "../../../util/constants.js";
6
- import { M as D } from "../../../tooltip-BW0UyWw7.js";
7
- import E from "../Shared/noData.js";
8
- import P from "./createIban.js";
9
- import { AuthInnerContainer as v } from "../Shared/Container/index.js";
10
- import z from "./ibanItem.js";
11
- const M = ({
12
- dispatch: h,
13
- openDialog: a,
14
- appKey: u,
15
- appKeyEur: d,
16
- paymentWidgetSrcUrl: f,
17
- iban: r,
18
- navigate: i,
19
- AccountItem: I,
20
- createIbanRequest: y,
21
- tokenData: x,
22
- brandId: A
1
+ import { jsx as r, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
+ import { useRef as f, useEffect as y } from "react";
3
+ import { Box as l, Grid as p, Typography as b, IconButton as P, CircularProgress as w } from "@mui/material";
4
+ import { I as D } from "../../../Info-DOoRR7sR.js";
5
+ import { DIALOG_SUCCESS_ICON as E, FEATURE_VIRTUAL_IBAN as x } from "../../../util/constants.js";
6
+ import "../../../constants-B-_x7F8X.js";
7
+ import { c as A } from "../../../bank-DIuQN1YY.js";
8
+ import { M as q } from "../../../tooltip-BW0UyWw7.js";
9
+ import z from "../Shared/noData.js";
10
+ import { C as L } from "../../../createIban-CbxsxTxl.js";
11
+ import { AuthInnerContainer as U } from "../Shared/Container/index.js";
12
+ import V from "./ibanItem.js";
13
+ const Q = ({
14
+ dispatch: o,
15
+ openDialog: I,
16
+ appKey: g,
17
+ appKeyEur: C,
18
+ paymentWidgetSrcUrl: v,
19
+ iban: a,
20
+ navigate: h,
21
+ AccountItem: N,
22
+ createIbanRequest: S,
23
+ tokenData: T,
24
+ brandId: B
23
25
  }) => {
24
- const c = r.data, g = r.loader;
25
- return C(() => {
26
- new URLSearchParams(window.location.search).get("paymentStatus") === "success" && a({
26
+ const u = a.data, i = a.loader, t = f(null), e = f(null), n = f(0);
27
+ return y(() => {
28
+ new URLSearchParams(window.location.search).get("paymentStatus") === "success" && I({
27
29
  title: "Payment Success",
28
30
  message: "We have received your payment and will generate your Virtual IBAN after the payment has processed",
29
- icon: T,
31
+ icon: E,
30
32
  width: "575px",
31
33
  confirmButtonText: "Continue"
32
34
  });
33
- }, []), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ o(t, { p: 3, children: [
34
- /* @__PURE__ */ o(n, { spacing: 2, container: !0, alignItems: "center", children: [
35
- /* @__PURE__ */ o(n, { size: 8, children: [
36
- /* @__PURE__ */ e(S, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ e("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
37
- /* @__PURE__ */ e(
38
- D,
35
+ }, []), y(() => {
36
+ if (!u.some((R) => !R.accountNumber)) {
37
+ t.current && (clearTimeout(t.current), t.current = null), e.current && (clearInterval(e.current), e.current = null), n.current = 0;
38
+ return;
39
+ }
40
+ if (i || n.current >= 5 || t.current || e.current)
41
+ return;
42
+ const c = 5e3;
43
+ return t.current = setTimeout(() => {
44
+ t.current = null, n.current < 5 && (o(A()), n.current++), e.current = setInterval(() => {
45
+ if (n.current >= 5) {
46
+ e.current && (clearInterval(e.current), e.current = null);
47
+ return;
48
+ }
49
+ o(A()), n.current++;
50
+ }, c);
51
+ }, c), () => {
52
+ t.current && (clearTimeout(t.current), t.current = null), e.current && (clearInterval(e.current), e.current = null);
53
+ };
54
+ }, [u, i, o]), /* @__PURE__ */ r(U, { children: /* @__PURE__ */ m(l, { p: 3, children: [
55
+ /* @__PURE__ */ m(p, { spacing: 2, container: !0, alignItems: "center", children: [
56
+ /* @__PURE__ */ m(p, { size: 8, children: [
57
+ /* @__PURE__ */ r(b, { color: "primary", variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: "Everest Accounts (Virtual IBAN)" }) }),
58
+ /* @__PURE__ */ r(
59
+ q,
39
60
  {
40
- title: /* @__PURE__ */ e(t, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
61
+ title: /* @__PURE__ */ r(l, { sx: { whiteSpace: "pre-line" }, children: "Create a Virtual IBAN of selected currency. This requires KYC" }),
41
62
  placement: "bottom",
42
- children: /* @__PURE__ */ e(N, { className: "info-fee-icon", children: /* @__PURE__ */ e(w, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
63
+ children: /* @__PURE__ */ r(P, { className: "info-fee-icon", children: /* @__PURE__ */ r(D, { sx: { fontSize: "26px", color: "#D9D9D9" } }) })
43
64
  }
44
65
  )
45
66
  ] }),
46
- /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(t, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e(
47
- P,
67
+ /* @__PURE__ */ r(p, { size: 4, children: /* @__PURE__ */ r(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ r(
68
+ L,
48
69
  {
49
- openDialog: a,
50
- createIbanRequest: y,
51
- iban: r,
52
- navigate: i,
53
- from: p,
54
- brandId: A
70
+ openDialog: I,
71
+ createIbanRequest: S,
72
+ iban: a,
73
+ navigate: h,
74
+ from: x,
75
+ brandId: B
55
76
  }
56
77
  ) }) })
57
78
  ] }),
58
- g ? /* @__PURE__ */ e(t, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(B, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(l, { children: c.length > 0 ? /* @__PURE__ */ e(l, { children: c.map((s, m) => /* @__PURE__ */ e(
59
- z,
79
+ i ? /* @__PURE__ */ r(l, { mt: 4, className: "flex-center", children: /* @__PURE__ */ r(w, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(d, { children: u.length > 0 ? /* @__PURE__ */ r(d, { children: u.map((s, c) => /* @__PURE__ */ r(
80
+ V,
60
81
  {
61
82
  data: s,
62
- AccountItem: I,
63
- dispatch: h,
64
- appKey: u,
65
- appKeyEur: d,
66
- paymentWidgetSrcUrl: f,
67
- iban: r,
68
- navigate: i,
69
- from: p,
70
- tokenData: x
83
+ AccountItem: N,
84
+ dispatch: o,
85
+ appKey: g,
86
+ appKeyEur: C,
87
+ paymentWidgetSrcUrl: v,
88
+ iban: a,
89
+ navigate: h,
90
+ from: x,
91
+ tokenData: T
71
92
  },
72
- m
73
- )) }) : /* @__PURE__ */ e(E, { text: "You currently have no IBAN Accounts" }) })
93
+ c
94
+ )) }) : /* @__PURE__ */ r(z, { text: "You currently have no IBAN Accounts" }) })
74
95
  ] }) });
75
96
  };
76
97
  export {
77
- M as default
98
+ Q as default
78
99
  };
@@ -1,8 +1,8 @@
1
1
  import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
2
2
  import { useState as u, useMemo as f, useEffect as k } from "react";
3
3
  import { Grid as N, Dialog as Y, DialogTitle as q, Typography as a, IconButton as z, DialogContent as J, Box as M, CircularProgress as K } from "@mui/material";
4
- import "../../../constants-DX0YBtP2.js";
5
- import { v as ye } from "../../../order-BXeCIvqC.js";
4
+ import "../../../constants-B-_x7F8X.js";
5
+ import { v as ye } from "../../../order-DAiOqPsI.js";
6
6
  import U from "../Shared/appButton.js";
7
7
  import { C as be } from "../../../ContentCopy-D0C0zbQj.js";
8
8
  import { C as Q } from "../../../Close-DSxLLo08.js";
@@ -11,7 +11,7 @@ import "../../../index-DlQqWbXG.js";
11
11
  import "../../../hoc/withThemeProvider.js";
12
12
  import { u as Z } from "../../../react-redux-C7I9-1M6.js";
13
13
  import { GBP_ISO3 as D, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
14
- import "../../../otpForm-DeeegaX2.js";
14
+ import "../../../otpForm-WjQmPs8D.js";
15
15
  import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
16
16
  import "../../../util/conversions.js";
17
17
  import "../../../index-CAoLi5Qq.js";
@@ -19,11 +19,11 @@ import Ne from "../Shared/inputField.js";
19
19
  import "../../../react-webcam-B3cXh1XT.js";
20
20
  import "../../../tooltip-BW0UyWw7.js";
21
21
  import "../../../moment-h96o7c8I.js";
22
+ import "../../../index.esm-I_Bp2YLf.js";
22
23
  import "../../../index.esm-BsMAMhYW.js";
23
24
  import "../../../web3-u4qDZYpo.js";
24
25
  import "../../../index-ceeCtFuh.js";
25
26
  import Te from "../Shared/CardCorp/index.js";
26
- import "../../../index.esm-I_Bp2YLf.js";
27
27
  import "../../../context/dialogContext.js";
28
28
  import "@mui/icons-material";
29
29
  import xe from "./sendIban.js";
@@ -155,7 +155,14 @@ const i = ({
155
155
  g
156
156
  ]);
157
157
  const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
158
- /* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
158
+ /* @__PURE__ */ e(
159
+ a,
160
+ {
161
+ component: "span",
162
+ sx: { fontSize: 14, color: "text.secondary" },
163
+ children: "Balance:"
164
+ }
165
+ ),
159
166
  se ? /* @__PURE__ */ e(K, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
160
167
  a,
161
168
  {
@@ -170,7 +177,15 @@ const i = ({
170
177
  )
171
178
  ] });
172
179
  return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
173
- /* @__PURE__ */ e(T, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(N, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(N, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
180
+ /* @__PURE__ */ e(
181
+ T,
182
+ {
183
+ type: "iban",
184
+ data: r,
185
+ rightAdornment: fe,
186
+ children: /* @__PURE__ */ e(N, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(N, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: /* @__PURE__ */ e("strong", { children: c ? "Topup" : "Deposit" }) }) }) })
187
+ }
188
+ ),
174
189
  /* @__PURE__ */ n(
175
190
  Y,
176
191
  {