everest-npm-features 0.0.34 → 0.0.36

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 (86) hide show
  1. package/dist/{PlayArrow-CcX9hutu.js → PlayArrow-KBDRjTbR.js} +1 -1
  2. package/dist/assets/documents.css +1 -1
  3. package/dist/{auth-BzJj8HQz.js → auth-BQ4bZOAL.js} +3 -3
  4. package/dist/{bank-CCdUsDB2.js → bank-Bz7oos87.js} +6 -6
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/edd.d.ts +1 -1
  26. package/dist/components/Shared/FullKyc/edd.js +65 -60
  27. package/dist/components/Shared/FullKyc/index.js +3 -3
  28. package/dist/components/Shared/FullKyc/pep.js +1 -1
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/types.d.ts +1 -0
  31. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  32. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +37 -33
  34. package/dist/components/Wallet/Account/iban.js +18 -18
  35. package/dist/components/Wallet/Account/index.js +3 -3
  36. package/dist/components/Wallet/Account/sendIban.js +7 -7
  37. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  38. package/dist/components/Wallet/Buy/form.js +4 -4
  39. package/dist/components/Wallet/Buy/index.js +6 -6
  40. package/dist/components/Wallet/Deposit/index.js +2 -2
  41. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  42. package/dist/components/Wallet/EnterpriseKyc/index.js +115 -103
  43. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  44. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  45. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  46. package/dist/components/Wallet/History/index.js +2 -2
  47. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +12 -12
  48. package/dist/components/Wallet/Portfolio/index.js +4 -4
  49. package/dist/components/Wallet/Profile/documents.js +2 -2
  50. package/dist/components/Wallet/Profile/index.js +114 -104
  51. package/dist/components/Wallet/Receive/index.js +2 -2
  52. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  53. package/dist/components/Wallet/Sell/form.js +4 -4
  54. package/dist/components/Wallet/Sell/index.js +6 -6
  55. package/dist/components/Wallet/Send/index.js +25 -25
  56. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  57. package/dist/components/Wallet/Shared/addBank.js +3 -3
  58. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  59. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  60. package/dist/components/Wallet/SignIn/index.js +2 -2
  61. package/dist/components/Wallet/SignUp/index.js +2 -2
  62. package/dist/components/Wallet/Stake/index.js +4 -4
  63. package/dist/components/Wallet/Swap/form.js +5 -5
  64. package/dist/components/Wallet/Swap/index.js +5 -5
  65. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  66. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  67. package/dist/components/Wallet/Withdraw/form.js +4 -4
  68. package/dist/components/Wallet/Withdraw/index.js +5 -5
  69. package/dist/{constants-B1fWUUck.js → constants-rDP6jwIs.js} +147 -143
  70. package/dist/{cryptoAssets-BU3EHVIY.js → cryptoAssets-BXjfidU4.js} +1 -1
  71. package/dist/{documents-PylmjRbk.js → documents-CF1bpppV.js} +134 -133
  72. package/dist/{index-DjWC9DGk.js → index-0PiVFV1G.js} +6 -6
  73. package/dist/{index-DUCRi3yf.js → index-B9MyZ0sJ.js} +14 -14
  74. package/dist/{index-BW-RJYiq.js → index-Btrmgb1g.js} +30 -29
  75. package/dist/{index-CQ-u6bTN.js → index-CdfFs6U2.js} +16 -16
  76. package/dist/{index-Dka1TfUt.js → index-JY7R8k4h.js} +4 -4
  77. package/dist/{index-OSl1NZiT.js → index-PitHP3ul.js} +5 -5
  78. package/dist/{index-BJsAyUhP.js → index-aLtOG-sf.js} +18 -18
  79. package/dist/{kyc-CSbzb5MW.js → kyc-ChoR-OWg.js} +1 -1
  80. package/dist/main.js +7 -7
  81. package/dist/{order-BtLfPFH9.js → order-CTEvMHv4.js} +3 -3
  82. package/dist/{stake-C7IQSI0J.js → stake-nzM9DW-r.js} +1 -1
  83. package/dist/util/constants.d.ts +2 -1
  84. package/dist/util/constants.js +32 -31
  85. package/dist/{wallet-Bq1E67kO.js → wallet-DZ3-OqYH.js} +8 -8
  86. package/package.json +2 -2
@@ -1,65 +1,67 @@
1
- import { jsxs as p, Fragment as h, jsx as n } from "react/jsx-runtime";
2
- import { useRef as x, useState as P, useEffect as q, createRef as L } from "react";
3
- import W from "../../Wallet/Shared/Input/index.js";
4
- import j from "../../Wallet/Shared/appButton.js";
1
+ import { jsxs as p, Fragment as u, jsx as n } 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 K from "../../Wallet/Shared/appButton.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
- import { u as K } from "../../../react-redux-B4BZippc.js";
6
+ import { u as v } from "../../../react-redux-B4BZippc.js";
7
7
  import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-B1fWUUck.js";
9
- import { a as v } from "../../../kyc-CSbzb5MW.js";
10
- import { useSnackBarContext as H } from "../../../context/snackBarContext.js";
8
+ import "../../../constants-rDP6jwIs.js";
9
+ import { a as H } from "../../../kyc-ChoR-OWg.js";
10
+ import { useSnackBarContext as V } from "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
13
- import { C as V } from "../../../Close-CNwiMz_O.js";
13
+ import { C as $ } from "../../../Close-CNwiMz_O.js";
14
14
  import "../../../react-webcam-B3cXh1XT.js";
15
15
  import "../transition.js";
16
+ import "../../../tooltip-3UvETWtS.js";
16
17
  import "../../Wallet/Shared/pin.js";
17
18
  import "../../../moment-h96o7c8I.js";
18
- import "../../../tooltip-3UvETWtS.js";
19
19
  import "../../../index.esm-BsMAMhYW.js";
20
20
  import "../../../web3-u4qDZYpo.js";
21
21
  import "../../../index-B8QKlEgj.js";
22
22
  import "../../../index-ceeCtFuh.js";
23
- import { C as $, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
23
+ import { C as z, a as Y } from "../../../FileDownload-Bt3R_NBr.js";
24
24
  import "../../../context/dialogContext.js";
25
- import { B as E } from "../../../Box-B0YSYLco.js";
26
- import { I as z } from "../../../InputAdornment-DMiED3JH.js";
27
- import { I as u } from "../../../IconButton-DHm-hucF.js";
28
- const ge = ({
29
- inputComponent: g,
30
- buttonComponent: C,
31
- eddData: o,
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 Fe = ({
30
+ inputComponent: C,
31
+ buttonComponent: E,
32
+ eddData: r,
32
33
  kycStoreData: l,
33
- setEddData: F,
34
- processKyc: _
34
+ setEddData: a,
35
+ processKyc: F,
36
+ processLoader: _
35
37
  }) => {
36
- const T = g ?? W, a = C ?? j, A = {
38
+ const T = C ?? j, A = E ?? K, R = {
37
39
  BANK_STATEMENT: {
38
- text: o.BANK_STATEMENT.text,
39
- file: o.BANK_STATEMENT.file,
40
- preview: o.BANK_STATEMENT.preview,
40
+ text: r.BANK_STATEMENT.text,
41
+ file: r.BANK_STATEMENT.file,
42
+ preview: r.BANK_STATEMENT.preview,
41
43
  label: "Bank Statement",
42
44
  required: !0,
43
45
  multiFile: !1
44
46
  },
45
47
  PROOF_OF_INCOME: {
46
- text: o.PROOF_OF_INCOME.text,
47
- file: o.PROOF_OF_INCOME.file,
48
- preview: o.PROOF_OF_INCOME.preview,
48
+ text: r.PROOF_OF_INCOME.text,
49
+ file: r.PROOF_OF_INCOME.file,
50
+ preview: r.PROOF_OF_INCOME.preview,
49
51
  label: "Proof of Income",
50
52
  required: !0,
51
53
  multiFile: !1
52
54
  },
53
55
  SOURCE_OF_WEALTH: {
54
- text: o.SOURCE_OF_WEALTH.text,
55
- file: o.SOURCE_OF_WEALTH.file,
56
- preview: o.SOURCE_OF_WEALTH.preview,
56
+ text: r.SOURCE_OF_WEALTH.text,
57
+ file: r.SOURCE_OF_WEALTH.file,
58
+ preview: r.SOURCE_OF_WEALTH.preview,
57
59
  label: "Source of Wealth",
58
60
  required: !0,
59
61
  multiFile: !1
60
62
  }
61
- }, R = K(), { showAlertMessage: d } = H(), I = x(null), [r, m] = P(A);
62
- q(() => {
63
+ }, I = v(), { showAlertMessage: d } = V(), w = g(null), [o, m] = q(R);
64
+ L(() => {
63
65
  if (l != null && l.uploadData.fileUrl && (l != null && l.uploadData.fileType)) {
64
66
  const i = l == null ? void 0 : l.uploadData.fileType;
65
67
  m((e) => {
@@ -76,11 +78,11 @@ const ge = ({
76
78
  });
77
79
  }
78
80
  }, [l == null ? void 0 : l.uploadData.fileUrl, l == null ? void 0 : l.uploadData.fileType]);
79
- const c = Object.keys(o), O = x(
80
- c.reduce((i, e) => (i[e] = L(), i), {})
81
- ), w = () => {
82
- for (const i of Object.keys(r)) {
83
- const e = r[i];
81
+ const h = Object.keys(r), O = g(
82
+ h.reduce((i, e) => (i[e] = W(), i), {})
83
+ ), N = () => {
84
+ for (const i of Object.keys(o)) {
85
+ const e = o[i];
84
86
  if (e.required) {
85
87
  const t = e.text.trim() !== "", s = e.file.length > 0;
86
88
  if (!t)
@@ -94,61 +96,61 @@ const ge = ({
94
96
  }
95
97
  }
96
98
  return !0;
97
- }, N = () => {
98
- w() && (F(r), _(r));
99
- }, U = (i, e) => {
99
+ }, U = () => {
100
+ N() && (a(o), F(o));
101
+ }, b = (i, e) => {
100
102
  const t = i.target.files;
101
103
  !t || t.length === 0 || Array.from(t).map((s) => {
102
- const b = URL.createObjectURL(s);
103
- R(v({ file: s, type: e })), m((f) => {
104
- const B = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
104
+ const B = URL.createObjectURL(s);
105
+ I(H({ file: s, type: e })), m((f) => {
106
+ const P = f[e].file || [], M = f[e].text ? f[e].text.split(", ") : [];
105
107
  return {
106
108
  ...f,
107
109
  [e]: {
108
110
  ...f[e],
109
111
  text: [...M, s.name].join(", "),
110
- preview: [...B, b]
112
+ preview: [...P, B]
111
113
  }
112
114
  };
113
115
  });
114
116
  });
115
117
  };
116
- return /* @__PURE__ */ p(h, { children: [
117
- /* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: I, children: c.map((i) => /* @__PURE__ */ p(E, { mt: 2, children: [
118
+ return /* @__PURE__ */ p(u, { children: [
119
+ /* @__PURE__ */ n("form", { style: { height: "350px", overflowY: "scroll" }, ref: w, children: h.map((i) => /* @__PURE__ */ p(x, { mt: 2, children: [
118
120
  /* @__PURE__ */ n(
119
121
  T,
120
122
  {
121
- label: r[i].label,
122
- value: r[i].text,
123
+ label: o[i].label,
124
+ value: o[i].text,
123
125
  onChange: (e) => m((t) => ({
124
126
  ...t,
125
127
  [i]: { ...t[i], text: e.target.value }
126
128
  })),
127
129
  slotProps: {
128
130
  input: {
129
- endAdornment: /* @__PURE__ */ n(z, { position: "end", children: r[i].file.length > 0 ? /* @__PURE__ */ p(h, { children: [
131
+ endAdornment: /* @__PURE__ */ n(G, { position: "end", children: o[i].file.length > 0 ? /* @__PURE__ */ p(u, { children: [
130
132
  /* @__PURE__ */ n(
131
- u,
133
+ c,
132
134
  {
133
135
  onClick: () => m((e) => ({
134
136
  ...e,
135
137
  [i]: { ...e[i], file: [] }
136
138
  })),
137
139
  edge: "end",
138
- children: /* @__PURE__ */ n(V, {})
140
+ children: /* @__PURE__ */ n($, {})
139
141
  }
140
142
  ),
141
- r[i].preview.map((e, t) => /* @__PURE__ */ n(
142
- u,
143
+ o[i].preview.map((e, t) => /* @__PURE__ */ n(
144
+ c,
143
145
  {
144
146
  onClick: () => window.open(e),
145
147
  edge: "end",
146
- children: /* @__PURE__ */ n($, {})
148
+ children: /* @__PURE__ */ n(z, {})
147
149
  },
148
150
  t
149
151
  ))
150
152
  ] }) : /* @__PURE__ */ n(
151
- u,
153
+ c,
152
154
  {
153
155
  onClick: () => {
154
156
  var e, t;
@@ -160,7 +162,7 @@ const ge = ({
160
162
  ) })
161
163
  }
162
164
  },
163
- required: r[i].required
165
+ required: o[i].required
164
166
  }
165
167
  ),
166
168
  /* @__PURE__ */ n(
@@ -169,16 +171,19 @@ const ge = ({
169
171
  ref: O.current[i],
170
172
  name: "regStatusFile",
171
173
  type: "file",
172
- onChange: (e) => U(e, i),
174
+ onChange: (e) => b(e, i),
173
175
  accept: "application/pdf, image/*",
174
- multiple: r[i].multiFile,
176
+ multiple: o[i].multiFile,
175
177
  hidden: !0
176
178
  }
177
179
  )
178
180
  ] }, i)) }),
179
- /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(a, { fullWidth: !0, onClick: N, children: "Submit" }) })
181
+ /* @__PURE__ */ n(x, { mt: 3.5, children: /* @__PURE__ */ n(A, { fullWidth: !0, onClick: U, children: /* @__PURE__ */ n("strong", { children: _ ? /* @__PURE__ */ p(u, { children: [
182
+ /* @__PURE__ */ n(J, { size: 15, color: "inherit" }),
183
+ " Processing..."
184
+ ] }) : /* @__PURE__ */ n(u, { children: "Submit" }) }) }) })
180
185
  ] });
181
186
  };
182
187
  export {
183
- ge as default
188
+ Fe as default
184
189
  };
@@ -3,10 +3,10 @@ import "react";
3
3
  import "../../Wallet/Shared/Container/index.js";
4
4
  import "../Incode/index.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
- import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-BW-RJYiq.js";
6
+ import { E as s, I as C, c as D, b as I, a as O, F as P } from "../../../index-Btrmgb1g.js";
7
7
  import "./pep.js";
8
- import "../../../constants-B1fWUUck.js";
9
- import "../../../kyc-CSbzb5MW.js";
8
+ import "../../../constants-rDP6jwIs.js";
9
+ import "../../../kyc-ChoR-OWg.js";
10
10
  import "../../../react-redux-B4BZippc.js";
11
11
  import "./edd.js";
12
12
  export {
@@ -3,7 +3,7 @@ import { useState as n } from "react";
3
3
  import M from "../../Wallet/Shared/step.js";
4
4
  import { c as A } from "../../../countries-BVn1FubK.js";
5
5
  import F from "../../Wallet/Shared/appButton.js";
6
- import { a as B, c as _ } from "../../../constants-B1fWUUck.js";
6
+ import { d as B, f as _ } from "../../../constants-rDP6jwIs.js";
7
7
  import { B as c } from "../../../Box-B0YSYLco.js";
8
8
  import { T as i } from "../../../Typography-pAaje37G.js";
9
9
  import { G as g } from "../../../Grid-CFe3amXO.js";
@@ -4,21 +4,21 @@ import "../../Wallet/Shared/appButton.js";
4
4
  import "../../../hoc/withThemeProvider.js";
5
5
  import "../../Wallet/Shared/Input/index.js";
6
6
  import "../../Wallet/Shared/Auth/otpForm.js";
7
- import "../../../constants-B1fWUUck.js";
7
+ import "../../../constants-rDP6jwIs.js";
8
8
  import "../../../context/snackBarContext.js";
9
9
  import "../../../util/conversions.js";
10
10
  import "../../../index-CAoLi5Qq.js";
11
11
  import "../../Wallet/Shared/step.js";
12
12
  import "../../../react-webcam-B3cXh1XT.js";
13
13
  import "../transition.js";
14
+ import "../../../tooltip-3UvETWtS.js";
14
15
  import "../../Wallet/Shared/pin.js";
15
16
  import "../../../moment-h96o7c8I.js";
16
- import "../../../tooltip-3UvETWtS.js";
17
17
  import "../../../index.esm-BsMAMhYW.js";
18
18
  import "../../../web3-u4qDZYpo.js";
19
19
  import "../../../index-B8QKlEgj.js";
20
20
  import "../../../index-ceeCtFuh.js";
21
- import { P as z } from "../../../index-BW-RJYiq.js";
21
+ import { P as z } from "../../../index-Btrmgb1g.js";
22
22
  import "../../../context/dialogContext.js";
23
23
  import "./countryList.js";
24
24
  import "../../../Box-B0YSYLco.js";
@@ -55,6 +55,7 @@ export interface EddProps {
55
55
  kycStoreData: KycState;
56
56
  setEddData: React.Dispatch<React.SetStateAction<EddData>>;
57
57
  processKyc: (data: EddData) => void;
58
+ processLoader: boolean;
58
59
  }
59
60
  export interface Country {
60
61
  name: string;
@@ -5,23 +5,23 @@ import "../../Wallet/Shared/appButton.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
6
  import "../../../react-redux-B4BZippc.js";
7
7
  import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-B1fWUUck.js";
9
- import "../../../kyc-CSbzb5MW.js";
8
+ import "../../../constants-rDP6jwIs.js";
9
+ import "../../../kyc-ChoR-OWg.js";
10
10
  import "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
13
13
  import "../../Wallet/Shared/step.js";
14
14
  import "../../../react-webcam-B3cXh1XT.js";
15
15
  import "../transition.js";
16
+ import "../../../tooltip-3UvETWtS.js";
16
17
  import "../../Wallet/Shared/pin.js";
17
18
  import "../../../moment-h96o7c8I.js";
18
- import "../../../tooltip-3UvETWtS.js";
19
19
  import "../../../index.esm-BsMAMhYW.js";
20
20
  import "../../../countries-BVn1FubK.js";
21
21
  import "../../../web3-u4qDZYpo.js";
22
22
  import "../../../index-B8QKlEgj.js";
23
23
  import "../../../index-ceeCtFuh.js";
24
- import { U as H } from "../../../index-BW-RJYiq.js";
24
+ import { U as H } from "../../../index-Btrmgb1g.js";
25
25
  import "../../../context/dialogContext.js";
26
26
  import "./countryList.js";
27
27
  import "../../../Box-B0YSYLco.js";
@@ -4,8 +4,8 @@ import { h as J } from "../../../moment-h96o7c8I.js";
4
4
  import { u as Q, a as M } from "../../../react-redux-B4BZippc.js";
5
5
  import { removeExtraSpace as i } from "../../../util/functions.js";
6
6
  import { nameRegex as U } from "../../../util/regex.js";
7
- import "../../../constants-B1fWUUck.js";
8
- import { r as V, u as X } from "../../../kyc-CSbzb5MW.js";
7
+ import "../../../constants-rDP6jwIs.js";
8
+ import { r as V, u as X } from "../../../kyc-ChoR-OWg.js";
9
9
  import { c as $ } from "../../../countries-BVn1FubK.js";
10
10
  import ee from "../../Wallet/Shared/Input/index.js";
11
11
  import { useSnackBarContext as te } from "../../../context/snackBarContext.js";
@@ -1,18 +1,19 @@
1
- import { jsx as a, jsxs as r, Fragment as L } from "react/jsx-runtime";
2
- import { useState as S } from "react";
1
+ import { jsx as a, jsxs as i, Fragment as T } from "react/jsx-runtime";
2
+ import { useState as L } from "react";
3
3
  import { a as p } from "../../../react-redux-B4BZippc.js";
4
4
  import { DIALOG_ERROR_ICON as m, DIALOG_SUCCESS_ICON as g } from "../../../util/constants.js";
5
5
  import { C as B } from "../../../Close-CNwiMz_O.js";
6
- import N from "../../Shared/transition.js";
6
+ import E from "../../Shared/transition.js";
7
7
  import x from "../Shared/CardPayment/index.js";
8
- import T from "../Shared/appButton.js";
9
- import { B as w } from "../../../Box-B0YSYLco.js";
10
- import { C as R } from "../../../CircularProgress-xZA3lvba.js";
11
- import { D as P, a as k } from "../../../DialogContent-BMwlOnbW.js";
12
- import { D as A } from "../../../DialogTitle-CfS0bb2K.js";
13
- import { T as b } from "../../../Typography-pAaje37G.js";
14
- import { I as D } from "../../../IconButton-DHm-hucF.js";
15
- const v = [
8
+ import { a as N, ae as w, c as R, K as A } from "../../../constants-rDP6jwIs.js";
9
+ import P from "../Shared/appButton.js";
10
+ import { B as U } from "../../../Box-B0YSYLco.js";
11
+ import { C as _ } from "../../../CircularProgress-xZA3lvba.js";
12
+ import { D, a as k } from "../../../DialogContent-BMwlOnbW.js";
13
+ import { D as b } from "../../../DialogTitle-CfS0bb2K.js";
14
+ import { T as O } from "../../../Typography-pAaje37G.js";
15
+ import { I as v } from "../../../IconButton-DHm-hucF.js";
16
+ const F = [
16
17
  {
17
18
  alpha3: "AUT",
18
19
  alpha2: "AT",
@@ -173,17 +174,17 @@ const v = [
173
174
  alpha2: "CH",
174
175
  name: "Switzerland"
175
176
  }
176
- ], X = ({
177
+ ], ea = ({
177
178
  openDialog: e,
178
179
  checkoutSdkKey: h,
179
180
  paymentRequest: s,
180
181
  iban: c,
181
182
  navigate: u
182
183
  }) => {
183
- const o = p((n) => n.user), l = o.profile, d = p((n) => n.order), f = l.loader, C = o.kyc.loader, i = o.kyc.status, y = l.email, [I, t] = S(!1);
184
- return f || C ? /* @__PURE__ */ a(w, { mt: 4, className: "flex-center", children: /* @__PURE__ */ a(R, { color: "primary", size: 50 }) }) : /* @__PURE__ */ r(L, { children: [
185
- /* @__PURE__ */ a(T, { onClick: () => {
186
- if (!y) {
184
+ const r = p((o) => o.user), l = r.profile, d = p((o) => o.order), f = l.loader, C = r.kyc.loader, t = r.kyc.status, S = l.email, [y, n] = L(!1);
185
+ return f || C ? /* @__PURE__ */ a(U, { mt: 4, className: "flex-center", children: /* @__PURE__ */ a(_, { color: "primary", size: 50 }) }) : /* @__PURE__ */ i(T, { children: [
186
+ /* @__PURE__ */ a(P, { onClick: () => {
187
+ if (!S) {
187
188
  e({
188
189
  title: "No Email",
189
190
  message: "Please contact support to update your email address.",
@@ -197,15 +198,18 @@ const v = [
197
198
  });
198
199
  return;
199
200
  }
200
- if (i === "NEED_REVIEW") {
201
+ if (t === N || t === w) {
201
202
  e({
202
203
  title: "Under Review",
203
204
  message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
204
- width: "550px"
205
+ width: "550px",
206
+ cancelButtonShow: !1,
207
+ confirmButtonText: "Dismiss",
208
+ height: "270px"
205
209
  });
206
210
  return;
207
211
  }
208
- if (i !== "FULLY_VERIFIED") {
212
+ if (t !== R && t !== A) {
209
213
  e({
210
214
  title: "Verifying",
211
215
  message: "We are gathering information, and will provision your Virtual IBAN shortly.",
@@ -217,8 +221,8 @@ const v = [
217
221
  });
218
222
  return;
219
223
  }
220
- if (!v.find(
221
- (E) => E.alpha3 === l.countryCode
224
+ if (!F.find(
225
+ (I) => I.alpha3 === l.residentialAddress.country
222
226
  )) {
223
227
  e({
224
228
  title: "Not Allowed",
@@ -240,26 +244,26 @@ const v = [
240
244
  confirmButtonText: "Make Payment",
241
245
  cancelButtonShow: !0,
242
246
  cancelButtonText: "Cancel",
243
- onConfirm: () => t(!0)
247
+ onConfirm: () => n(!0)
244
248
  });
245
249
  return;
246
250
  }
247
251
  }, fullWidth: !0, children: /* @__PURE__ */ a("strong", { children: "Create Virtual IBAN" }) }),
248
- /* @__PURE__ */ r(
249
- P,
252
+ /* @__PURE__ */ i(
253
+ D,
250
254
  {
251
- open: I,
255
+ open: y,
252
256
  fullWidth: !0,
253
- onClose: () => t(!1),
254
- TransitionComponent: N,
257
+ onClose: () => n(!1),
258
+ TransitionComponent: E,
255
259
  children: [
256
- /* @__PURE__ */ r(A, { className: "buy-modal-text-color", children: [
257
- /* @__PURE__ */ a(b, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ a("strong", { children: "Payment" }) }),
260
+ /* @__PURE__ */ i(b, { className: "buy-modal-text-color", children: [
261
+ /* @__PURE__ */ a(O, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ a("strong", { children: "Payment" }) }),
258
262
  /* @__PURE__ */ a(
259
- D,
263
+ v,
260
264
  {
261
265
  "aria-label": "close",
262
- onClick: () => t(!1),
266
+ onClick: () => n(!1),
263
267
  className: "menu-buttons",
264
268
  children: /* @__PURE__ */ a(B, {})
265
269
  }
@@ -277,7 +281,7 @@ const v = [
277
281
  checkoutKey: h,
278
282
  orderData: d,
279
283
  initPaymentRequest: s,
280
- backBtnFunc: () => t(!1)
284
+ backBtnFunc: () => n(!1)
281
285
  }
282
286
  )
283
287
  }
@@ -288,5 +292,5 @@ const v = [
288
292
  ] });
289
293
  };
290
294
  export {
291
- X as default
295
+ ea as default
292
296
  };
@@ -4,9 +4,9 @@ import { I as D } from "../../../Info-BVeUSPyk.js";
4
4
  import { C as v } from "../../../Close-CNwiMz_O.js";
5
5
  import { C as T } from "../../../ContentCopy-coPwrEuz.js";
6
6
  import { DIALOG_SUCCESS_ICON as k } from "../../../util/constants.js";
7
- import { Z as R } from "../../../constants-B1fWUUck.js";
8
- import { a as z } from "../../../order-BtLfPFH9.js";
9
- import { u as W, s as P } from "../../../bank-CCdUsDB2.js";
7
+ import { a0 as R } from "../../../constants-rDP6jwIs.js";
8
+ import { a as z } from "../../../order-CTEvMHv4.js";
9
+ import { u as W, s as P } from "../../../bank-Bz7oos87.js";
10
10
  import { M as _ } from "../../../tooltip-3UvETWtS.js";
11
11
  import q from "../Shared/noData.js";
12
12
  import V from "../../Shared/transition.js";
@@ -19,29 +19,29 @@ import { B as s } from "../../../Box-B0YSYLco.js";
19
19
  import { T as f } from "../../../Typography-pAaje37G.js";
20
20
  import { I as y } from "../../../IconButton-DHm-hucF.js";
21
21
  import { C as L } from "../../../CircularProgress-xZA3lvba.js";
22
- import { G as a } from "../../../Grid-CFe3amXO.js";
22
+ import { G as n } from "../../../Grid-CFe3amXO.js";
23
23
  import { D as U, a as G } from "../../../DialogContent-BMwlOnbW.js";
24
24
  import { D as O } from "../../../DialogTitle-CfS0bb2K.js";
25
25
  const o = ({
26
- label: n,
26
+ label: a,
27
27
  value: i,
28
28
  showCopyBtn: c
29
29
  }) => {
30
30
  const { showAlertMessage: d } = M();
31
31
  return /* @__PURE__ */ r(u, { children: [
32
- /* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: n }) }),
33
- /* @__PURE__ */ r(a, { size: 7, className: "fw500 text-left d-flex items-center", children: [
32
+ /* @__PURE__ */ e(n, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: a }) }),
33
+ /* @__PURE__ */ r(n, { size: 7, className: "fw500 text-left d-flex items-center", children: [
34
34
  i,
35
35
  c && /* @__PURE__ */ e(y, { onClick: () => {
36
36
  navigator.clipboard.writeText(i), d({
37
- message: `${n} has been copied successfully.`,
37
+ message: `${a} has been copied successfully.`,
38
38
  type: "success"
39
39
  });
40
40
  }, children: /* @__PURE__ */ e(T, { fontSize: "small", color: "primary" }) })
41
41
  ] })
42
42
  ] });
43
43
  }, ye = ({
44
- dispatch: n,
44
+ dispatch: a,
45
45
  openDialog: i,
46
46
  baseUrl: c,
47
47
  checkoutSdkKey: d,
@@ -52,10 +52,10 @@ const o = ({
52
52
  }) => {
53
53
  const t = l.data, N = l.loader, [S, m] = w(!1);
54
54
  I(() => {
55
- n(W());
55
+ a(W());
56
56
  }, []);
57
57
  const B = () => {
58
- n(P(R));
58
+ a(P(R));
59
59
  };
60
60
  I(() => {
61
61
  new URLSearchParams(window.location.search).get("paymentStatus") === "success" && i({
@@ -75,7 +75,7 @@ const o = ({
75
75
  success_url: `${c}/accounts?payment=success`,
76
76
  fail_url: `${c}/dashboard?payment=failed`
77
77
  };
78
- n(z(b));
78
+ a(z(b));
79
79
  };
80
80
  return /* @__PURE__ */ r($, { children: [
81
81
  /* @__PURE__ */ r(s, { p: 3, children: [
@@ -90,8 +90,8 @@ const o = ({
90
90
  ),
91
91
  N ? /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(L, { color: "primary", size: 50 }) }) : /* @__PURE__ */ e(u, { children: t.accountNumber ? /* @__PURE__ */ r(u, { children: [
92
92
  /* @__PURE__ */ e(g, { type: "iban", data: t }),
93
- /* @__PURE__ */ r(a, { spacing: 2, container: !0, children: [
94
- /* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(
93
+ /* @__PURE__ */ r(n, { spacing: 2, container: !0, children: [
94
+ /* @__PURE__ */ e(n, { size: { md: 6 }, children: /* @__PURE__ */ e(
95
95
  h,
96
96
  {
97
97
  fullWidth: !0,
@@ -100,7 +100,7 @@ const o = ({
100
100
  children: "Deposit"
101
101
  }
102
102
  ) }),
103
- /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(
103
+ /* @__PURE__ */ e(n, { size: { md: 3 }, children: /* @__PURE__ */ e(
104
104
  h,
105
105
  {
106
106
  fullWidth: !0,
@@ -109,7 +109,7 @@ const o = ({
109
109
  children: "Send"
110
110
  }
111
111
  ) }),
112
- /* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(
112
+ /* @__PURE__ */ e(n, { size: { md: 3 }, children: /* @__PURE__ */ e(
113
113
  h,
114
114
  {
115
115
  fullWidth: !0,
@@ -149,7 +149,7 @@ const o = ({
149
149
  ) })
150
150
  ] }) })
151
151
  ] }),
152
- /* @__PURE__ */ e(E, { iban: l, dispatch: n, appKey: p }),
152
+ /* @__PURE__ */ e(E, { iban: l, dispatch: a, appKey: p }),
153
153
  /* @__PURE__ */ r(
154
154
  U,
155
155
  {
@@ -173,7 +173,7 @@ const o = ({
173
173
  ] }),
174
174
  /* @__PURE__ */ r(G, { dividers: !0, children: [
175
175
  /* @__PURE__ */ e(f, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
176
- /* @__PURE__ */ r(a, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
176
+ /* @__PURE__ */ r(n, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
177
177
  /* @__PURE__ */ e(
178
178
  o,
179
179
  {
@@ -1,10 +1,10 @@
1
1
  import { jsxs as n, jsx as e, Fragment as ne } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
3
  import { u as ae, a as b } from "../../../react-redux-B4BZippc.js";
4
- import "../../../constants-B1fWUUck.js";
4
+ import "../../../constants-rDP6jwIs.js";
5
5
  import { a as oe, c as re, d as se } from "../../../index-FwnHkXdK.js";
6
- import { u as ie, a as le, b as ce, c as me, d as de, e as he } from "../../../wallet-Bq1E67kO.js";
7
- import { d as ue, e as pe } from "../../../bank-CCdUsDB2.js";
6
+ import { u as ie, a as le, b as ce, c as me, d as de, e as he } from "../../../wallet-DZ3-OqYH.js";
7
+ import { d as ue, e as pe } from "../../../bank-Bz7oos87.js";
8
8
  import { LINKED_WALLET_TOOLTIP as fe, CONNECTED_WALLET_TOOLTIP as ge, WALLET_ICON as _e, DELETE_ICON as be } from "../../../util/constants.js";
9
9
  import Ne from "../../../hoc/withThemeProvider.js";
10
10
  import { M as O } from "../../../tooltip-3UvETWtS.js";
@@ -5,8 +5,8 @@ import { I as D } from "../../../Info-BVeUSPyk.js";
5
5
  import { a as _ } from "../../../react-redux-B4BZippc.js";
6
6
  import y from "../../Shared/transition.js";
7
7
  import { M as F } from "../../../tooltip-3UvETWtS.js";
8
- import { a7 as P, Z as q, a8 as f } from "../../../constants-B1fWUUck.js";
9
- import { c as E, s as k } from "../../../bank-CCdUsDB2.js";
8
+ import { aa as P, a0 as q, ab as f } from "../../../constants-rDP6jwIs.js";
9
+ import { c as E, s as k } from "../../../bank-Bz7oos87.js";
10
10
  import { useSnackBarContext as U } from "../../../context/snackBarContext.js";
11
11
  import $ from "../Shared/appButton.js";
12
12
  import { D as w, a as G } from "../../../DialogContent-BMwlOnbW.js";
@@ -20,11 +20,11 @@ import { I as j } from "../../../InputAdornment-DMiED3JH.js";
20
20
  import { B as H } from "../../../Box-B0YSYLco.js";
21
21
  import { C as O } from "../../../CircularProgress-xZA3lvba.js";
22
22
  const pe = ({ iban: v, dispatch: g, appKey: z }) => {
23
- const { showAlertMessage: a } = U(), N = _(
23
+ const { showAlertMessage: a } = U(), b = _(
24
24
  (r) => r.user.profile
25
- ), o = v.sendStatus, c = v.data, [m, b] = u(""), [d, S] = u(""), [p, I] = u(""), [h, C] = u("");
25
+ ), o = v.sendStatus, c = v.data, [m, N] = u(""), [d, S] = u(""), [p, I] = u(""), [h, C] = u("");
26
26
  B(() => {
27
- o === P && (b(""), S(""), I(""), C(""));
27
+ o === P && (N(""), S(""), I(""), C(""));
28
28
  }, [o]);
29
29
  const R = () => {
30
30
  if (!m.trim()) {
@@ -142,7 +142,7 @@ const pe = ({ iban: v, dispatch: g, appKey: z }) => {
142
142
  /* @__PURE__ */ e(t, { mt: 0.5, container: !0, children: /* @__PURE__ */ e(t, { size: 12, className: "content-center", children: /* @__PURE__ */ e(l, { variant: "filled", fullWidth: !0, children: /* @__PURE__ */ e(
143
143
  s,
144
144
  {
145
- value: `${N.firstName} ${N.lastName}`,
145
+ value: `${b.firstName} ${b.lastName}`,
146
146
  type: "text",
147
147
  disabled: !0,
148
148
  required: !0,
@@ -162,7 +162,7 @@ const pe = ({ iban: v, dispatch: g, appKey: z }) => {
162
162
  s,
163
163
  {
164
164
  value: m,
165
- onChange: (r) => b(r.target.value),
165
+ onChange: (r) => N(r.target.value),
166
166
  type: "text",
167
167
  required: !0,
168
168
  fullWidth: !0