everest-npm-features 0.0.64 → 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 (104) hide show
  1. package/dist/{PlayArrow-WUr_Eyo1.js → PlayArrow-DbQI55la.js} +1 -1
  2. package/dist/assets/styles.css +1 -1
  3. package/dist/assets/styles2.css +1 -1
  4. package/dist/{auth-Cg-RJNB1.js → auth-D_DKdP4p.js} +1 -1
  5. package/dist/{bank-CPJa0NOE.js → bank-DIuQN1YY.js} +1 -1
  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/edd.js +5 -5
  27. package/dist/components/Shared/FullKyc/index.js +4 -4
  28. package/dist/components/Shared/FullKyc/pep.js +27 -27
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/types.d.ts +4 -4
  31. package/dist/components/Shared/FullKyc/userInfo.js +5 -5
  32. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  33. package/dist/components/Shared/Sumsub/index.d.ts +1 -1
  34. package/dist/components/Shared/Sumsub/index.js +36 -34
  35. package/dist/components/Wallet/Account/createIban.js +5 -5
  36. package/dist/components/Wallet/Account/eWallet.js +1 -1
  37. package/dist/components/Wallet/Account/iban.js +3 -3
  38. package/dist/components/Wallet/Account/ibanItem.js +21 -6
  39. package/dist/components/Wallet/Account/index.js +6 -6
  40. package/dist/components/Wallet/Account/sendIban.js +2 -2
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  42. package/dist/components/Wallet/Buy/form.js +4 -4
  43. package/dist/components/Wallet/Buy/index.js +6 -6
  44. package/dist/components/Wallet/Deposit/index.js +3 -3
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -4
  46. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +1 -1
  47. package/dist/components/Wallet/EnterpriseKyc/index.js +111 -109
  48. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +5 -5
  49. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
  50. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +16 -4
  51. package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
  52. package/dist/components/Wallet/History/index.js +2 -2
  53. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  54. package/dist/components/Wallet/Portfolio/index.js +7 -7
  55. package/dist/components/Wallet/Profile/documents.js +47 -40
  56. package/dist/components/Wallet/Profile/index.js +69 -48
  57. package/dist/components/Wallet/Profile/storage.js +40 -33
  58. package/dist/components/Wallet/Receive/index.js +2 -2
  59. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  60. package/dist/components/Wallet/Sell/form.js +4 -4
  61. package/dist/components/Wallet/Sell/index.js +6 -6
  62. package/dist/components/Wallet/Send/index.js +4 -4
  63. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  64. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  65. package/dist/components/Wallet/Shared/CardCorp/index.js +3 -3
  66. package/dist/components/Wallet/Shared/addBank.js +4 -4
  67. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  68. package/dist/components/Wallet/Shared/manualSend.js +5 -5
  69. package/dist/components/Wallet/SignIn/index.js +3 -3
  70. package/dist/components/Wallet/SignUp/index.js +3 -3
  71. package/dist/components/Wallet/Stake/gems/index.js +1 -1
  72. package/dist/components/Wallet/Stake/id/index.js +19 -14
  73. package/dist/components/Wallet/Stake/index.js +6 -6
  74. package/dist/components/Wallet/Swap/form.js +7 -7
  75. package/dist/components/Wallet/Swap/index.js +5 -5
  76. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  77. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  78. package/dist/components/Wallet/Withdraw/form.js +4 -4
  79. package/dist/components/Wallet/Withdraw/index.js +5 -5
  80. package/dist/{constants-BRS2liAt.js → constants-B-_x7F8X.js} +19 -19
  81. package/dist/{createIban-DKoCQ4o3.js → createIban-CbxsxTxl.js} +77 -70
  82. package/dist/{cryptoAssets-BD0cJpXM.js → cryptoAssets-Cmdg7BR-.js} +1 -1
  83. package/dist/hooks/useDialog/index.js +11 -9
  84. package/dist/{index-DX8IEulu.js → index-9VVh1IhH.js} +4 -4
  85. package/dist/{index-BUtxhHso.js → index-BeEuJLqT.js} +7 -7
  86. package/dist/{index-CZhiRUiE.js → index-C_Vf8Evc.js} +4 -4
  87. package/dist/{index-hgn4Pjw3.js → index-Cx8dey5q.js} +6 -6
  88. package/dist/{index-C2weAjLp.js → index-DXw2h9nQ.js} +8 -8
  89. package/dist/index-DtTDOPWZ.js +562 -0
  90. package/dist/{index-D7Eq-pbC.js → index-DuOJBwgp.js} +8 -8
  91. package/dist/{kyc-C7NviI9l.js → kyc-BXoUxN4z.js} +1 -1
  92. package/dist/main.js +7 -7
  93. package/dist/{order-DBuLYKfx.js → order-DAiOqPsI.js} +1 -1
  94. package/dist/{otpForm-DhVp5Gvi.js → otpForm-WjQmPs8D.js} +2 -2
  95. package/dist/{stake-DGXpiw_Y.js → stake-CzXNB3em.js} +1 -1
  96. package/dist/styles.module-4N8hJhXS.js +22 -0
  97. package/dist/styles.module-DYytghn2.js +28 -0
  98. package/dist/util/constants.d.ts +2 -2
  99. package/dist/util/constants.js +1 -1
  100. package/dist/{wallet-BLx0XKpK.js → wallet-Cw-0XynY.js} +1 -1
  101. package/package.json +1 -1
  102. package/dist/index-oPbOSCUk.js +0 -545
  103. package/dist/styles.module-C99UuHOT.js +0 -22
  104. package/dist/styles.module-DFoezEqS.js +0 -28
@@ -1,28 +1,28 @@
1
- import { jsxs as p, Fragment as H, jsx as o } from "react/jsx-runtime";
2
- import { useTheme as z, Dialog as j, DialogTitle as X, Box as q, IconButton as F, Typography as Z, DialogContent as J } from "@mui/material";
3
- import Q from "../../../hoc/withThemeProvider.js";
1
+ import { jsxs as f, Fragment as j, jsx as o } from "react/jsx-runtime";
2
+ import { useTheme as X, Dialog as q, DialogTitle as Z, Box as $, IconButton as y, Typography as J, DialogContent as Q } from "@mui/material";
3
+ import ee from "../../../hoc/withThemeProvider.js";
4
4
  import { useState as l, useEffect as _ } from "react";
5
- import $ from "../../Shared/transition.js";
6
- import { C as ee } from "../../../Close-DSxLLo08.js";
7
- import te from "./kycType.js";
8
- import { BACK_ARROW as oe, INDIVIDUAL_KYC_TYPE as re, KYC_BETWEEN_TRANSATION as w, ORGANIZATION_KYC_TYPE as se, KYC_UNDER_TRANSATION as ie } from "../../../util/constants.js";
9
- import ae from "./individualKyc.js";
10
- import ne from "../../Shared/MinimalKyc/index.js";
11
- import ce from "./kybIntro.js";
12
- import le from "./kybTerms.js";
13
- import me from "./orgInfo.js";
14
- import pe from "./orgDetails.js";
15
- import fe from "./verify.js";
16
- import Te from "./success.js";
17
- import { K as _e, a as y, b as h, c as b, d as ue, e as Ce, f as de } from "../../../constants-BRS2liAt.js";
18
- import { r as u, k as De } from "../../../kyc-C7NviI9l.js";
19
- import { u as K } from "../../../react-redux-C7I9-1M6.js";
20
- import Oe from "../../Shared/loader.js";
5
+ import te from "../../Shared/transition.js";
6
+ import { C as oe } from "../../../Close-DSxLLo08.js";
7
+ import re from "./kycType.js";
8
+ import { BACK_ARROW as se, INDIVIDUAL_KYC_TYPE as ie, KYC_BETWEEN_TRANSATION as w, ORGANIZATION_KYC_TYPE as ae, KYC_UNDER_TRANSATION as ne } from "../../../util/constants.js";
9
+ import ce from "./individualKyc.js";
10
+ import le from "../../Shared/MinimalKyc/index.js";
11
+ import me from "./kybIntro.js";
12
+ import pe from "./kybTerms.js";
13
+ import fe from "./orgInfo.js";
14
+ import Te from "./orgDetails.js";
15
+ import ue from "./verify.js";
16
+ import _e from "./success.js";
17
+ import { K as m, a as de, b as h, c as b, d as Ce, e as De, f as Ee } from "../../../constants-B-_x7F8X.js";
18
+ import { r as d, k as Oe } from "../../../kyc-BXoUxN4z.js";
19
+ import { u as g } from "../../../react-redux-C7I9-1M6.js";
20
+ import Ne from "../../Shared/loader.js";
21
21
  import "../../../index-DlQqWbXG.js";
22
- import Ee from "../Shared/appButton.js";
23
- import "../../../otpForm-DhVp5Gvi.js";
24
- import { useSnackBarContext as Ne } from "../../../context/snackBarContext.js";
25
- import Ae from "../../../hooks/useEverestDispatch.js";
22
+ import Ae from "../Shared/appButton.js";
23
+ import "../../../otpForm-WjQmPs8D.js";
24
+ import { useSnackBarContext as Se } from "../../../context/snackBarContext.js";
25
+ import Ie from "../../../hooks/useEverestDispatch.js";
26
26
  import "../../../util/conversions.js";
27
27
  import "../../../index-CAoLi5Qq.js";
28
28
  import "../../../react-webcam-B3cXh1XT.js";
@@ -31,11 +31,11 @@ import "../../../moment-h96o7c8I.js";
31
31
  import "../../../index.esm-BsMAMhYW.js";
32
32
  import "../../../web3-u4qDZYpo.js";
33
33
  import "../../../index-ceeCtFuh.js";
34
- import { F as g } from "../../../index-oPbOSCUk.js";
34
+ import { F as K } from "../../../index-DtTDOPWZ.js";
35
35
  import "../../../context/dialogContext.js";
36
36
  import "@mui/icons-material";
37
37
  const C = {
38
- type: re,
38
+ type: ie,
39
39
  transactAmount: w,
40
40
  orgName: "",
41
41
  orgOtherName: "",
@@ -100,7 +100,7 @@ const C = {
100
100
  file: [],
101
101
  preview: []
102
102
  }
103
- }, Se = {
103
+ }, xe = {
104
104
  ID_CARD: {
105
105
  text: "",
106
106
  file: [],
@@ -121,27 +121,29 @@ const C = {
121
121
  file: [],
122
122
  preview: []
123
123
  }
124
- }, Ie = ({
125
- configurationId: d,
126
- incodeApiKey: D,
124
+ }, Re = ({
125
+ configurationId: D,
126
+ incodeApiKey: E,
127
127
  incodeApiUrl: O,
128
- incodeOnBoardingUrl: E
128
+ incodeOnBoardingUrl: N,
129
+ hideButtonWhenFullKyc: U = !1,
130
+ showButtonOnlyWhenFullKyc: k = !1
129
131
  }) => {
130
- const N = z(), m = Ae(), { showAlertMessage: U } = Ne(), s = K((t) => t.user.kyc);
131
- K(
132
+ const A = X(), p = Ie(), { showAlertMessage: M } = Se(), r = g((t) => t.user.kyc);
133
+ g(
132
134
  (t) => t.user.profile
133
135
  );
134
- const f = s.error, A = s.processComplete, [k, T] = l(!1), [a, r] = l(1), [e, c] = l(C);
135
- l(Se);
136
- const [S, M] = l(!1);
136
+ const T = r.error, S = r.processComplete, [L, u] = l(!1), [a, s] = l(1), [e, c] = l(C);
137
+ l(xe);
138
+ const [I, Y] = l(!1);
137
139
  _(() => {
138
- f && U({ message: f });
139
- }, [f]), _(() => {
140
- A && r(10);
141
- }, [A]), _(() => () => {
142
- m(u());
140
+ T && M({ message: T });
141
+ }, [T]), _(() => {
142
+ S && s(10);
143
+ }, [S]), _(() => () => {
144
+ p(d());
143
145
  }, []);
144
- const L = () => {
146
+ const v = () => {
145
147
  let t;
146
148
  switch (a) {
147
149
  case 4:
@@ -151,26 +153,26 @@ const C = {
151
153
  t = 1;
152
154
  break;
153
155
  case 11:
154
- t = 11, M((i) => !i);
156
+ t = 11, Y((i) => !i);
155
157
  break;
156
158
  default:
157
159
  t = a - 1;
158
160
  }
159
- r(t);
160
- }, Y = (t) => {
161
- c({ ...e, type: t }), r(t === se ? 5 : (i) => i + 1);
162
- }, v = (t) => {
163
- c({ ...e, transactAmount: t }), r(t === ie ? 3 : t === w ? 11 : 4);
164
- }, I = () => {
165
- r((t) => t + 1);
161
+ s(t);
166
162
  }, P = (t) => {
167
- c({ ...e, ...t }), r((i) => i + 1);
163
+ c({ ...e, type: t }), s(t === ae ? 5 : (i) => i + 1);
168
164
  }, W = (t) => {
169
- c({ ...e, ...t }), r((i) => i + 1);
170
- }, B = () => {
171
- const t = Object.entries(e).flatMap(([G, R]) => R.file ? R.file.map((V) => ({
172
- type: G,
173
- file: V
165
+ c({ ...e, transactAmount: t }), s(t === ne ? 3 : t === w ? 11 : 4);
166
+ }, x = () => {
167
+ s((t) => t + 1);
168
+ }, B = (t) => {
169
+ c({ ...e, ...t }), s((i) => i + 1);
170
+ }, G = (t) => {
171
+ c({ ...e, ...t }), s((i) => i + 1);
172
+ }, V = () => {
173
+ const t = Object.entries(e).flatMap(([H, F]) => F.file ? F.file.map((z) => ({
174
+ type: H,
175
+ file: z
174
176
  })) : []), i = {
175
177
  orgName: e.orgName,
176
178
  otherOrgName: e.orgOtherName,
@@ -197,11 +199,11 @@ const C = {
197
199
  },
198
200
  documents: t
199
201
  };
200
- m(De(i));
201
- }, x = () => {
202
+ p(Oe(i));
203
+ }, R = () => {
202
204
  a > 1 && a !== 10 ? window.confirm(
203
205
  "Are you sure you want to close this? All progress will be lost."
204
- ) && (T(!1), m(u()), r(1), c(C)) : (T(!1), m(u()), r(1), c(C));
206
+ ) && (u(!1), p(d()), s(1), c(C)) : (u(!1), p(d()), s(1), c(C));
205
207
  };
206
208
  let n;
207
209
  switch (a) {
@@ -221,30 +223,30 @@ const C = {
221
223
  n = "Success";
222
224
  break;
223
225
  default:
224
- n = "KYC Onboarding";
226
+ n = `KYC Onboarding ${r.status === m ? "- Enhanced Due Diligence" : ""}`;
225
227
  }
226
- return /* @__PURE__ */ p(H, { children: [
227
- s.status !== "" && s.status !== _e && // ((userProfile.memberType === MEMBER_TYPE_INDIVIDUAL &&
228
+ return /* @__PURE__ */ f(j, { children: [
229
+ r.status !== "" && r.status !== de && !(U && r.status === m) && (!k || r.status === m) && // ((userProfile.memberType === MEMBER_TYPE_INDIVIDUAL &&
228
230
  // kycStoreData.status !== KYC_STATUS_FULL_EDD) ||
229
231
  // (userProfile.memberType === MEMBER_TYPE_ORGANIZATIONAL &&
230
232
  // kycStoreData.status !== KYC_STATUS_FULL_KYC)) && (
231
233
  /* @__PURE__ */ o(
232
- Ee,
234
+ Ae,
233
235
  {
234
- onClick: () => T(!0),
235
- disabled: s.status === y,
236
- sx: s.status === h ? {
236
+ onClick: () => u(!0),
237
+ disabled: r.status === h,
238
+ sx: r.status === b ? {
237
239
  background: "#DC143C !important",
238
240
  borderColor: "#DC143C !important",
239
241
  color: "#FFFFFF !important"
240
242
  } : void 0,
241
- children: s.status === y ? "KYC Pending" : s.status === h ? "KYC Failed" : s.status === b ? "Start EDD" : "Start KYC"
243
+ children: r.status === h ? "KYC Pending" : r.status === b ? "KYC Failed" : r.status === m ? "Start EDD" : "Start KYC"
242
244
  }
243
245
  ),
244
- /* @__PURE__ */ p(
245
- j,
246
+ /* @__PURE__ */ f(
247
+ q,
246
248
  {
247
- open: k,
249
+ open: L,
248
250
  fullWidth: !0,
249
251
  slotProps: {
250
252
  paper: {
@@ -253,81 +255,81 @@ const C = {
253
255
  }
254
256
  }
255
257
  },
256
- TransitionComponent: $,
258
+ TransitionComponent: te,
257
259
  children: [
258
260
  /* @__PURE__ */ o(
259
- X,
261
+ Z,
260
262
  {
261
263
  sx: {
262
264
  background: "#FFFFFF",
263
265
  borderBottom: "0.5px solid #D0D0D0",
264
266
  height: "68px"
265
267
  },
266
- children: /* @__PURE__ */ p(q, { display: "flex", alignItems: "center", children: [
267
- a !== 1 && a !== 10 && /* @__PURE__ */ o(F, { onClick: L, size: "small", children: /* @__PURE__ */ o("img", { src: oe, alt: "back" }) }),
268
- /* @__PURE__ */ o(Z, { variant: "subtitle1", fontWeight: 600, ml: 1, children: n }),
268
+ children: /* @__PURE__ */ f($, { display: "flex", alignItems: "center", children: [
269
+ a !== 1 && a !== 10 && /* @__PURE__ */ o(y, { onClick: v, size: "small", children: /* @__PURE__ */ o("img", { src: se, alt: "back" }) }),
270
+ /* @__PURE__ */ o(J, { variant: "subtitle1", fontWeight: 600, ml: 1, children: n }),
269
271
  /* @__PURE__ */ o(
270
- F,
272
+ y,
271
273
  {
272
274
  "aria-label": "close",
273
- onClick: x,
275
+ onClick: R,
274
276
  className: "menu-buttons",
275
- children: /* @__PURE__ */ o(ee, {})
277
+ children: /* @__PURE__ */ o(oe, {})
276
278
  }
277
279
  )
278
280
  ] })
279
281
  }
280
282
  ),
281
- /* @__PURE__ */ p(J, { sx: { padding: "50px", height: "620px" }, dividers: !0, children: [
282
- s.uploadLoader && /* @__PURE__ */ o(Oe, {}),
283
+ /* @__PURE__ */ f(Q, { sx: { padding: "50px", height: "620px" }, dividers: !0, children: [
284
+ r.uploadLoader && /* @__PURE__ */ o(Ne, {}),
283
285
  {
284
- 1: /* @__PURE__ */ o(te, { kycData: e, onNext: Y }),
285
- 2: /* @__PURE__ */ o(ae, { kycData: e, onNext: v }),
286
- 3: /* @__PURE__ */ o(ne, { onComplete: () => r(10) }),
286
+ 1: /* @__PURE__ */ o(re, { kycData: e, onNext: P }),
287
+ 2: /* @__PURE__ */ o(ce, { kycData: e, onNext: W }),
288
+ 3: /* @__PURE__ */ o(le, { onComplete: () => s(10) }),
287
289
  4: /* @__PURE__ */ o(
288
- g,
290
+ K,
289
291
  {
290
- theme: N,
291
- configurationId: d,
292
- incodeApiKey: D,
292
+ theme: A,
293
+ configurationId: D,
294
+ incodeApiKey: E,
293
295
  incodeApiUrl: O,
294
- incodeOnBoardingUrl: E,
295
- updateScreen: S,
296
+ incodeOnBoardingUrl: N,
297
+ updateScreen: I,
296
298
  isModalView: !0,
297
- kycFlow: s.status === b ? ue : Ce
299
+ kycFlow: r.status === m ? Ce : De
298
300
  }
299
301
  ),
300
- 5: /* @__PURE__ */ o(ce, { onNext: I }),
301
- 6: /* @__PURE__ */ o(le, { onNext: I }),
302
- 7: /* @__PURE__ */ o(me, { kycData: e, onNext: P }),
302
+ 5: /* @__PURE__ */ o(me, { onNext: x }),
303
+ 6: /* @__PURE__ */ o(pe, { onNext: x }),
304
+ 7: /* @__PURE__ */ o(fe, { kycData: e, onNext: B }),
303
305
  8: /* @__PURE__ */ o(
304
- pe,
306
+ Te,
305
307
  {
306
- kycStoreData: s,
308
+ kycStoreData: r,
307
309
  kycData: e,
308
- onNext: W
310
+ onNext: G
309
311
  }
310
312
  ),
311
313
  9: /* @__PURE__ */ o(
312
- fe,
314
+ ue,
313
315
  {
314
316
  kycData: e,
315
- onNext: B,
316
- onEdit: () => r(7)
317
+ onNext: V,
318
+ onEdit: () => s(7)
317
319
  }
318
320
  ),
319
- 10: /* @__PURE__ */ o(Te, { onNext: x }),
321
+ 10: /* @__PURE__ */ o(_e, { onNext: R }),
320
322
  11: /* @__PURE__ */ o(
321
- g,
323
+ K,
322
324
  {
323
- theme: N,
324
- configurationId: d,
325
- incodeApiKey: D,
325
+ theme: A,
326
+ configurationId: D,
327
+ incodeApiKey: E,
326
328
  incodeApiUrl: O,
327
- incodeOnBoardingUrl: E,
328
- updateScreen: S,
329
+ incodeOnBoardingUrl: N,
330
+ updateScreen: I,
329
331
  isModalView: !0,
330
- kycFlow: de
332
+ kycFlow: Ee
331
333
  }
332
334
  )
333
335
  }[a]
@@ -336,8 +338,8 @@ const C = {
336
338
  }
337
339
  )
338
340
  ] });
339
- }, nt = Q(Ie);
341
+ }, lt = ee(Re);
340
342
  export {
341
- Ie as EnterpriseKyc,
342
- nt as default
343
+ Re as EnterpriseKyc,
344
+ lt as default
343
345
  };
@@ -5,9 +5,9 @@ import { useRef as d, useState as S, useEffect as b, createRef as P } from "reac
5
5
  import D from "./input.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../../../hoc/withThemeProvider.js";
8
- import "../../../otpForm-DhVp5Gvi.js";
9
- import "../../../constants-BRS2liAt.js";
10
- import { a } from "../../../kyc-C7NviI9l.js";
8
+ import "../../../otpForm-WjQmPs8D.js";
9
+ import "../../../constants-B-_x7F8X.js";
10
+ import { a } from "../../../kyc-BXoUxN4z.js";
11
11
  import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
12
12
  import G from "../../../hooks/useEverestDispatch.js";
13
13
  import "../../../util/conversions.js";
@@ -18,11 +18,11 @@ import "../../../react-webcam-B3cXh1XT.js";
18
18
  import "../../Shared/transition.js";
19
19
  import "../../../tooltip-BW0UyWw7.js";
20
20
  import "../../../moment-h96o7c8I.js";
21
+ import { C as j, a as B } from "../../../FileDownload-DqREXR3D.js";
22
+ import "../../../index.esm-I_Bp2YLf.js";
21
23
  import "../../../index.esm-BsMAMhYW.js";
22
24
  import "../../../web3-u4qDZYpo.js";
23
25
  import "../../../index-ceeCtFuh.js";
24
- import { C as j, a as B } from "../../../FileDownload-DqREXR3D.js";
25
- import "../../../index.esm-I_Bp2YLf.js";
26
26
  import "../../../context/dialogContext.js";
27
27
  import "@mui/icons-material";
28
28
  const Oe = ({
@@ -7,7 +7,7 @@ import * as N from "react";
7
7
  import I, { Children as Wn, isValidElement as xt, cloneElement as Pt, useRef as Vn, useState as zn } from "react";
8
8
  import Zn from "react-dom";
9
9
  import { P as o, b as F, a as K, s as k, u as J, g as dt, d as at, c as B, m as nt, e as $t, r as Hn, f as Yn } from "../../../memoTheme-DnE8lj0t.js";
10
- import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-DhVp5Gvi.js";
10
+ import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-WjQmPs8D.js";
11
11
  import { _ as tr, a as er, T as ge, u as nr, b as rr, c as Jt, d as It, r as dr, e as rn, f as ar, g as Zt, h as ir } from "../../../Portal-BeS9yJCZ.js";
12
12
  import { keyframes as Ct, css as dn } from "@emotion/react";
13
13
  import { i as ye } from "../../../tooltip-BW0UyWw7.js";
@@ -17,7 +17,7 @@ import _ from "./input.js";
17
17
  import { pick as lr } from "../../../util/functions.js";
18
18
  import "../../../index-DlQqWbXG.js";
19
19
  import "../../../hoc/withThemeProvider.js";
20
- import "../../../constants-BRS2liAt.js";
20
+ import "../../../constants-B-_x7F8X.js";
21
21
  import { useSnackBarContext as ur } from "../../../context/snackBarContext.js";
22
22
  import "../../../util/conversions.js";
23
23
  import "../../../index-CAoLi5Qq.js";
@@ -25,10 +25,10 @@ import cr from "../Shared/step.js";
25
25
  import "../../../react-webcam-B3cXh1XT.js";
26
26
  import "../../Shared/transition.js";
27
27
  import "../../../moment-h96o7c8I.js";
28
+ import "../../../index.esm-I_Bp2YLf.js";
28
29
  import "../../../index.esm-BsMAMhYW.js";
29
30
  import "../../../web3-u4qDZYpo.js";
30
31
  import "../../../index-ceeCtFuh.js";
31
- import "../../../index.esm-I_Bp2YLf.js";
32
32
  import "../../../context/dialogContext.js";
33
33
  import "@mui/icons-material";
34
34
  function _t() {
@@ -1,9 +1,21 @@
1
1
  import { KycState } from 'everest-npm-api';
2
2
  export interface EnterpriseKycProps {
3
- configurationId: string;
4
- incodeApiKey: string;
5
- incodeApiUrl: string;
6
- incodeOnBoardingUrl: string;
3
+ configurationId?: string;
4
+ incodeApiKey?: string;
5
+ incodeApiUrl?: string;
6
+ incodeOnBoardingUrl?: string;
7
+ /**
8
+ * When true, hides the trigger button if the current KYC status is FULL_KYC.
9
+ * Useful when you want to control where the "Start KYC / Start EDD" button
10
+ * appears (e.g. hide it in a layout but show it on the Profile page).
11
+ */
12
+ hideButtonWhenFullKyc?: boolean;
13
+ /**
14
+ * When true, shows the trigger button only when the KYC status is FULL_KYC.
15
+ * Useful for scenarios like the Profile page where you want the "Start EDD" button
16
+ * to appear only after the user has completed full KYC.
17
+ */
18
+ showButtonOnlyWhenFullKyc?: boolean;
7
19
  }
8
20
  export interface KycDocumentField {
9
21
  text: string;
@@ -8,8 +8,8 @@ import { c as C } from "../../../createSvgIcon-B28GrUxG.js";
8
8
  import { useState as b } from "react";
9
9
  import "../../../index-DlQqWbXG.js";
10
10
  import "../../../hoc/withThemeProvider.js";
11
- import "../../../otpForm-DhVp5Gvi.js";
12
- import "../../../constants-BRS2liAt.js";
11
+ import "../../../otpForm-WjQmPs8D.js";
12
+ import "../../../constants-B-_x7F8X.js";
13
13
  import { useSnackBarContext as k } from "../../../context/snackBarContext.js";
14
14
  import "../../../util/conversions.js";
15
15
  import "../../../index-CAoLi5Qq.js";
@@ -17,10 +17,10 @@ import "../../../react-webcam-B3cXh1XT.js";
17
17
  import "../../Shared/transition.js";
18
18
  import "../../../tooltip-BW0UyWw7.js";
19
19
  import "../../../moment-h96o7c8I.js";
20
+ import "../../../index.esm-I_Bp2YLf.js";
20
21
  import "../../../index.esm-BsMAMhYW.js";
21
22
  import "../../../web3-u4qDZYpo.js";
22
23
  import "../../../index-ceeCtFuh.js";
23
- import "../../../index.esm-I_Bp2YLf.js";
24
24
  import "../../../context/dialogContext.js";
25
25
  import "@mui/icons-material";
26
26
  const n = C(/* @__PURE__ */ t("path", {
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as p, Fragment as i } from "react/jsx-runtime";
2
2
  import { useState as u, useEffect as h } from "react";
3
3
  import f from "../../../hoc/withThemeProvider.js";
4
4
  import { u as g } from "../../../react-redux-C7I9-1M6.js";
5
- import "../../../constants-BRS2liAt.js";
6
- import { a as x } from "../../../order-DBuLYKfx.js";
5
+ import "../../../constants-B-_x7F8X.js";
6
+ import { a as x } from "../../../order-DAiOqPsI.js";
7
7
  import { Box as n, Pagination as P, CircularProgress as N, Typography as v } from "@mui/material";
8
8
  import y from "../../Shared/HistoryItem/index.js";
9
9
  import { AuthContainer as C } from "../Shared/Container/index.js";
@@ -8,11 +8,11 @@ import { AuthContainer as ee } from "../Shared/Container/index.js";
8
8
  import T from "../Shared/appButton.js";
9
9
  import "../../../hoc/withThemeProvider.js";
10
10
  import { displayWalletAddress as te } from "../../../util/functions.js";
11
- import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as z, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
12
- import "../../../otpForm-DhVp5Gvi.js";
13
- import { av as se, aw as oe, ax as ne, ay as ae, az as ie } from "../../../constants-BRS2liAt.js";
11
+ import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as k, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
12
+ import "../../../otpForm-WjQmPs8D.js";
13
+ import { ar as se, as as oe, at as ne, au as ae, av as ie } from "../../../constants-B-_x7F8X.js";
14
14
  import { a as ce } from "../../../index-CREgBh59.js";
15
- import { h as le } from "../../../wallet-BLx0XKpK.js";
15
+ import { h as le } from "../../../wallet-Cw-0XynY.js";
16
16
  import { useSnackBarContext as de } from "../../../context/snackBarContext.js";
17
17
  import me from "../../../hooks/useEverestDispatch.js";
18
18
  import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
@@ -21,10 +21,10 @@ import "../../../react-webcam-B3cXh1XT.js";
21
21
  import "../../Shared/transition.js";
22
22
  import "../../../tooltip-BW0UyWw7.js";
23
23
  import "../../../moment-h96o7c8I.js";
24
+ import "../../../index.esm-I_Bp2YLf.js";
24
25
  import "../../../index.esm-BsMAMhYW.js";
25
26
  import "../../../web3-u4qDZYpo.js";
26
27
  import "../../../index-ceeCtFuh.js";
27
- import "../../../index.esm-I_Bp2YLf.js";
28
28
  import "../../../context/dialogContext.js";
29
29
  import "@mui/icons-material";
30
30
  import '../../../assets/index6.css';const ge = (r) => ({
@@ -41,7 +41,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
41
41
  payload: r
42
42
  }), we = () => ({
43
43
  type: se
44
- }), Te = "_container_nw82g_1", k = {
44
+ }), Te = "_container_nw82g_1", q = {
45
45
  container: Te,
46
46
  "inner-container": "_inner-container_nw82g_13",
47
47
  "heading-text": "_heading-text_nw82g_27",
@@ -54,7 +54,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
54
54
  onBack: d,
55
55
  initialBalance: m
56
56
  }) => {
57
- const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, q = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
57
+ const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, z = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
58
58
  var o;
59
59
  if (t)
60
60
  return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
@@ -64,11 +64,11 @@ import '../../../assets/index6.css';const ge = (r) => ({
64
64
  return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
65
65
  }, I = b((t) => t.user.wallets);
66
66
  I.loader;
67
- const P = I.data, g = a === z ? N : z, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
67
+ const P = I.data, g = a === k ? N : k, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
68
68
  _(() => (m || h(le()), () => {
69
69
  h(we());
70
70
  }), [m]), _(() => {
71
- i.showFeePopUp && q(c) > 0 && x(!0);
71
+ i.showFeePopUp && z(c) > 0 && x(!0);
72
72
  }, [c, i.showFeePopUp]), _(() => {
73
73
  y && S({ message: y });
74
74
  }, [y]), _(() => {
@@ -141,7 +141,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
141
141
  u,
142
142
  {
143
143
  sx: { ml: 4, mt: "-20px !important" },
144
- className: k["heading-text"],
144
+ className: q["heading-text"],
145
145
  variant: "h5",
146
146
  children: /* @__PURE__ */ s("strong", { children: [
147
147
  "Move ",
@@ -210,7 +210,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
210
210
  {
211
211
  "aria-label": "close",
212
212
  onClick: () => x(!1),
213
- className: k["close-btn"],
213
+ className: q["close-btn"],
214
214
  children: /* @__PURE__ */ e(Z, {})
215
215
  }
216
216
  ),
@@ -1,10 +1,10 @@
1
1
  import { jsx as B, Fragment as HA, jsxs as s } from "react/jsx-runtime";
2
2
  import { US_DOLLAR_ISO3 as h, EVER_CHAIN_NETWORK as k, EURO_ISO3 as NA, DIALOG_SUCCESS_ICON as hA, BACK_BTN_ICON as IA, DIALOG_ERROR_ICON as mA } from "../../../util/constants.js";
3
3
  import { useTheme as WA, Box as o, Grid as t, Typography as P, CircularProgress as K } from "@mui/material";
4
- import "../../../constants-BRS2liAt.js";
5
- import { i as dA } from "../../../wallet-BLx0XKpK.js";
6
- import { k as xA } from "../../../order-DBuLYKfx.js";
7
- import { c as CA } from "../../../stake-DGXpiw_Y.js";
4
+ import "../../../constants-B-_x7F8X.js";
5
+ import { i as dA } from "../../../wallet-Cw-0XynY.js";
6
+ import { k as xA } from "../../../order-DAiOqPsI.js";
7
+ import { c as CA } from "../../../stake-CzXNB3em.js";
8
8
  import { useState as r, useEffect as M, createRef as F } from "react";
9
9
  import { u as I } from "../../../react-redux-C7I9-1M6.js";
10
10
  import { s as m, T as J } from "../../../tokenRow-BiNtHOKV.js";
@@ -14,19 +14,19 @@ import pA from "../../../hoc/withThemeProvider.js";
14
14
  import "../../../index-DlQqWbXG.js";
15
15
  import { AuthInnerContainer as ZA, AuthContainer as LA } from "../Shared/Container/index.js";
16
16
  import $ from "../Shared/appButton.js";
17
- import "../../../otpForm-DhVp5Gvi.js";
17
+ import "../../../otpForm-WjQmPs8D.js";
18
18
  import { useSnackBarContext as yA } from "../../../context/snackBarContext.js";
19
19
  import TA from "../../../hooks/useEverestDispatch.js";
20
20
  import "../../../index-CAoLi5Qq.js";
21
21
  import "../../../react-webcam-B3cXh1XT.js";
22
22
  import "../../Shared/transition.js";
23
23
  import "../../../tooltip-BW0UyWw7.js";
24
- import "../../../util/conversions.js";
25
24
  import "../../../moment-h96o7c8I.js";
25
+ import "../../../index.esm-I_Bp2YLf.js";
26
+ import "../../../util/conversions.js";
26
27
  import "../../../index.esm-BsMAMhYW.js";
27
28
  import "../../../web3-u4qDZYpo.js";
28
29
  import "../../../index-ceeCtFuh.js";
29
- import "../../../index.esm-I_Bp2YLf.js";
30
30
  import { useDialogContext as UA } from "../../../context/dialogContext.js";
31
31
  import "@mui/icons-material";
32
32
  import u from "./dropdown.js";