everest-npm-features 0.0.33 → 0.0.35

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 (93) hide show
  1. package/dist/{pep-B3tW-JmQ.js → Autocomplete-CE-OI2t8.js} +934 -1198
  2. package/dist/{PlayArrow-BkJLdzUI.js → PlayArrow-BkW3s4mw.js} +1 -1
  3. package/dist/assets/withThemeProvider.css +1 -1
  4. package/dist/{auth-BwI9H3c0.js → auth-CYftwFWz.js} +7 -7
  5. package/dist/{bank-D6E7Zpfd.js → bank-C9AAL5v7.js} +6 -6
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  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 +5 -5
  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.d.ts +10 -0
  27. package/dist/components/Shared/FullKyc/countryList.js +54 -0
  28. package/dist/components/Shared/FullKyc/edd.d.ts +3 -0
  29. package/dist/components/Shared/FullKyc/edd.js +189 -0
  30. package/dist/components/Shared/FullKyc/index.d.ts +1 -0
  31. package/dist/components/Shared/FullKyc/index.js +11 -9
  32. package/dist/components/Shared/FullKyc/pep.js +276 -15
  33. package/dist/components/Shared/FullKyc/personalDetails.js +4 -6
  34. package/dist/components/Shared/FullKyc/types.d.ts +22 -3
  35. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  36. package/dist/components/Shared/Incode/index.d.ts +2 -1
  37. package/dist/components/Shared/Incode/index.js +39 -37
  38. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  39. package/dist/components/Wallet/Account/iban.js +18 -18
  40. package/dist/components/Wallet/Account/index.js +3 -3
  41. package/dist/components/Wallet/Account/sendIban.js +11 -11
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  43. package/dist/components/Wallet/Buy/form.js +4 -4
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +1 -1
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  47. package/dist/components/Wallet/EnterpriseKyc/index.js +113 -87
  48. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  49. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  50. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  51. package/dist/components/Wallet/History/index.js +2 -2
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +9 -9
  53. package/dist/components/Wallet/Portfolio/index.js +3 -3
  54. package/dist/components/Wallet/Profile/documents.js +2 -2
  55. package/dist/components/Wallet/Profile/index.js +8 -8
  56. package/dist/components/Wallet/Receive/index.js +2 -2
  57. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  58. package/dist/components/Wallet/Sell/form.js +4 -4
  59. package/dist/components/Wallet/Sell/index.js +6 -6
  60. package/dist/components/Wallet/Send/index.js +29 -29
  61. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  62. package/dist/components/Wallet/Shared/addBank.js +2 -2
  63. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  64. package/dist/components/Wallet/Shared/manualSend.js +3 -3
  65. package/dist/components/Wallet/SignIn/index.js +2 -2
  66. package/dist/components/Wallet/SignUp/index.js +2 -2
  67. package/dist/components/Wallet/Stake/index.js +3 -3
  68. package/dist/components/Wallet/Swap/form.js +5 -5
  69. package/dist/components/Wallet/Swap/index.js +5 -5
  70. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  71. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  72. package/dist/components/Wallet/Withdraw/form.js +4 -4
  73. package/dist/components/Wallet/Withdraw/index.js +5 -5
  74. package/dist/{constants-CQOuVN6n.js → constants-DBlV_hAZ.js} +1096 -1090
  75. package/dist/cryptoAssets-Da0hZPmW.js +16 -0
  76. package/dist/{documents-72bUeBkP.js → documents-D1CxIIUj.js} +8 -8
  77. package/dist/{index-BAFH0iyw.js → index-BHmViOiG.js} +5 -5
  78. package/dist/{index-BIpSerUL.js → index-BZGHPDhS.js} +5 -5
  79. package/dist/{index-DKuH9hDK.js → index-C74NH5fF.js} +4 -4
  80. package/dist/{index-CRXWl3nL.js → index-CN7R7nR-.js} +14 -14
  81. package/dist/index-CexvGlw7.js +500 -0
  82. package/dist/{index-CpkMJeD0.js → index-DEfHSDHa.js} +5 -5
  83. package/dist/{index-BOev7FOu.js → index-DPwR5oNU.js} +6 -6
  84. package/dist/{kyc-C_JyEEpu.js → kyc-D7FTfIPj.js} +3 -3
  85. package/dist/main.js +7 -7
  86. package/dist/{order-DWfxKnom.js → order-BNumaEGY.js} +11 -11
  87. package/dist/{stake-fFsvxcKJ.js → stake-VlhTFH1g.js} +1 -1
  88. package/dist/util/constants.d.ts +0 -1
  89. package/dist/util/constants.js +18 -19
  90. package/dist/{wallet-4-2Lns3R.js → wallet-BJz8LnYf.js} +8 -8
  91. package/package.json +2 -2
  92. package/dist/cryptoAssets-Cma8qeDc.js +0 -16
  93. package/dist/index--NaHRmjW.js +0 -483
@@ -0,0 +1,500 @@
1
+ import { jsxs as y, Fragment as te, jsx as e } from "react/jsx-runtime";
2
+ import { useState as r, useEffect as K, useRef as ge } from "react";
3
+ import { AuthContainer as Ce } from "./components/Wallet/Shared/Container/index.js";
4
+ import ye from "./components/Shared/Incode/index.js";
5
+ import Se from "./hoc/withThemeProvider.js";
6
+ import ce from "./components/Wallet/Shared/Input/index.js";
7
+ import de from "./components/Wallet/Shared/appButton.js";
8
+ import { u as ue, a as J } from "./react-redux-B4BZippc.js";
9
+ import "./components/Wallet/Shared/Auth/otpForm.js";
10
+ import { d as v, f as be } from "./constants-DBlV_hAZ.js";
11
+ import { b as ve, c as xe } from "./kyc-D7FTfIPj.js";
12
+ import { useSnackBarContext as pe } from "./context/snackBarContext.js";
13
+ import "./util/conversions.js";
14
+ import "./index-CAoLi5Qq.js";
15
+ import me from "./components/Wallet/Shared/step.js";
16
+ import "./react-webcam-B3cXh1XT.js";
17
+ import "./components/Shared/transition.js";
18
+ import "./components/Wallet/Shared/pin.js";
19
+ import "./moment-h96o7c8I.js";
20
+ import "./tooltip-3UvETWtS.js";
21
+ import "./index.esm-BsMAMhYW.js";
22
+ import { c as De } from "./countries-BVn1FubK.js";
23
+ import "./web3-u4qDZYpo.js";
24
+ import "./index-B8QKlEgj.js";
25
+ import "./index-ceeCtFuh.js";
26
+ import { useDialogContext as _e } from "./context/dialogContext.js";
27
+ import re from "./components/Shared/FullKyc/countryList.js";
28
+ import { B as w } from "./Box-B0YSYLco.js";
29
+ import { T as j } from "./Typography-pAaje37G.js";
30
+ import Ne from "./components/Shared/FullKyc/pep.js";
31
+ import Pe from "./components/Shared/FullKyc/edd.js";
32
+ import { F as Oe } from "./FormControl-RtZDQMdA.js";
33
+ import { I as Re } from "./TextField-DPpRUQe3.js";
34
+ import { S as Ae } from "./Select-CB5yWmyn.js";
35
+ import { M as Q } from "./MenuItem-DUdYOJr4.js";
36
+ import { G as V } from "./Grid-CFe3amXO.js";
37
+ const Be = ({
38
+ inputComponent: f,
39
+ buttonComponent: R,
40
+ setUserInfo: x,
41
+ userInfo: n,
42
+ docData: i,
43
+ setScreen: h,
44
+ userEmail: g,
45
+ kycFlow: p
46
+ }) => {
47
+ const a = ue();
48
+ _e();
49
+ const { showAlertMessage: u } = pe(), l = f ?? ce, D = R ?? de, [c, _] = r(n.gender || ""), [m, N] = r(!1), [P, C] = r(n.email || ""), [Y, Z] = r(!1), [z, A] = r(""), [d, I] = r(n.address || ""), [t, O] = r(n.city || ""), [S, M] = r(n.state || ""), [b, B] = r(n.zipCode || ""), [L, q] = r(
50
+ n.country || null
51
+ ), [s, X] = r(!1);
52
+ K(() => {
53
+ g && (C(g), Z(!0));
54
+ }, [g]), K(() => {
55
+ var o;
56
+ if (i != null && i.issuingCountry) {
57
+ i.gender && (_(i.gender), N(!0));
58
+ const T = De.find(
59
+ (E) => E.alpha3 === i.issuingCountry
60
+ );
61
+ x({ ...n, country: T, nationality: T });
62
+ const F = new Date(i.birthDate), $ = F.getTimezoneOffset() * 6e4, W = new Date(
63
+ F.getTime() + $
64
+ );
65
+ if (A(W.toLocaleDateString("en-US")), (o = i.checkedAddressBean) != null && o.street) {
66
+ const E = i.checkedAddressBean;
67
+ X(!0), I(E.street), O(E.city), M(E.state), B(E.postalCode);
68
+ }
69
+ } else
70
+ U();
71
+ }, []);
72
+ const U = () => {
73
+ a(ve());
74
+ };
75
+ return /* @__PURE__ */ y(te, { children: [
76
+ p !== v && /* @__PURE__ */ e(w, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(me, { totalSteps: 4, currentStep: 2 }) }),
77
+ /* @__PURE__ */ y(w, { pl: 2, mt: 4, children: [
78
+ /* @__PURE__ */ e(j, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
79
+ p !== v && /* @__PURE__ */ y(te, { children: [
80
+ /* @__PURE__ */ e(j, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
81
+ /* @__PURE__ */ e(
82
+ l,
83
+ {
84
+ sx: { mt: 3 },
85
+ label: "Date of Birth",
86
+ value: z,
87
+ disabled: !0,
88
+ required: !0
89
+ }
90
+ ),
91
+ /* @__PURE__ */ y(Oe, { sx: { mt: 3 }, fullWidth: !0, children: [
92
+ /* @__PURE__ */ e(Re, { children: "Gender" }),
93
+ /* @__PURE__ */ y(
94
+ Ae,
95
+ {
96
+ value: c,
97
+ label: "Gender",
98
+ onChange: (o) => _(o.target.value),
99
+ disabled: !!(m && c),
100
+ required: !0,
101
+ children: [
102
+ /* @__PURE__ */ e(Q, { value: "M", children: "Male" }, "M"),
103
+ /* @__PURE__ */ e(Q, { value: "F", children: "Female" }, "F"),
104
+ /* @__PURE__ */ e(Q, { value: "X", children: "Another" }, "X")
105
+ ]
106
+ }
107
+ )
108
+ ] }),
109
+ /* @__PURE__ */ e(
110
+ l,
111
+ {
112
+ sx: { mt: 3 },
113
+ label: "Email",
114
+ value: P,
115
+ onChange: (o) => C(o.target.value),
116
+ disabled: Y,
117
+ required: !0
118
+ }
119
+ )
120
+ ] }),
121
+ /* @__PURE__ */ e(
122
+ l,
123
+ {
124
+ sx: { mt: 3 },
125
+ label: "Home Address",
126
+ value: d,
127
+ onChange: (o) => I(o.target.value),
128
+ disabled: !!(s && d),
129
+ required: !0
130
+ }
131
+ ),
132
+ /* @__PURE__ */ y(V, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
133
+ /* @__PURE__ */ e(V, { size: 6, children: /* @__PURE__ */ e(
134
+ l,
135
+ {
136
+ label: "City",
137
+ value: t,
138
+ onChange: (o) => O(o.target.value),
139
+ disabled: !!(s && t),
140
+ required: !0
141
+ }
142
+ ) }),
143
+ /* @__PURE__ */ e(V, { size: 6, children: /* @__PURE__ */ e(
144
+ l,
145
+ {
146
+ label: "State",
147
+ value: S,
148
+ onChange: (o) => M(o.target.value)
149
+ }
150
+ ) })
151
+ ] }),
152
+ /* @__PURE__ */ e(
153
+ l,
154
+ {
155
+ sx: { mt: 3 },
156
+ label: "Zipcode",
157
+ value: b,
158
+ onChange: (o) => B(o.target.value),
159
+ disabled: !!(s && b),
160
+ required: !0
161
+ }
162
+ ),
163
+ /* @__PURE__ */ e(
164
+ re,
165
+ {
166
+ value: L,
167
+ onChange: q,
168
+ label: "Country of residence"
169
+ }
170
+ )
171
+ ] }),
172
+ /* @__PURE__ */ e(
173
+ D,
174
+ {
175
+ sx: { mt: 3 },
176
+ variant: "contained",
177
+ onClick: () => {
178
+ if (p !== v) {
179
+ if (!z)
180
+ return u({ message: "Please provide date of birth" });
181
+ if (!c)
182
+ return u({ message: "Please provide gender" });
183
+ }
184
+ if (!d)
185
+ return u({ message: "Please provide address" });
186
+ if (!t) return u({ message: "Please provide city" });
187
+ if (!b)
188
+ return u({ message: "Please provide zip code" });
189
+ if (!L)
190
+ return u({
191
+ message: "Please select country of residency"
192
+ });
193
+ x({
194
+ ...n,
195
+ gender: c,
196
+ email: P,
197
+ address: d,
198
+ city: t,
199
+ state: S,
200
+ zipCode: b,
201
+ country: L
202
+ }), h(
203
+ p !== v ? se : oe
204
+ );
205
+ },
206
+ disabled: p !== v && !P || p !== v && !c || !d || !L,
207
+ fullWidth: !0,
208
+ children: /* @__PURE__ */ e("strong", { children: "Next" })
209
+ }
210
+ )
211
+ ] });
212
+ }, Le = ({
213
+ userInfo: f,
214
+ setUserInfo: R,
215
+ setScreen: x,
216
+ inputComponent: n,
217
+ buttonComponent: i
218
+ }) => {
219
+ const { showAlertMessage: h } = pe(), g = n ?? ce, p = i ?? de, [a, u] = r(
220
+ f.placeOfBirth || null
221
+ ), [l, D] = r(
222
+ f.nationality || null
223
+ ), [c, _] = r(f.occupation || ""), [m, N] = r(f.employer || "");
224
+ return /* @__PURE__ */ y(te, { children: [
225
+ /* @__PURE__ */ e(w, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(me, { totalSteps: 4, currentStep: 3 }) }),
226
+ /* @__PURE__ */ y(w, { pl: 2, mt: 4, children: [
227
+ /* @__PURE__ */ e(j, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
228
+ /* @__PURE__ */ e(j, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
229
+ /* @__PURE__ */ e(
230
+ re,
231
+ {
232
+ value: a,
233
+ onChange: u,
234
+ label: "Place Of Birth"
235
+ }
236
+ ),
237
+ /* @__PURE__ */ e(
238
+ re,
239
+ {
240
+ value: l,
241
+ onChange: D,
242
+ label: "Country of citizenship"
243
+ }
244
+ ),
245
+ /* @__PURE__ */ e(
246
+ g,
247
+ {
248
+ sx: { mt: 3 },
249
+ label: "Occupation",
250
+ value: c,
251
+ onChange: (C) => _(C.target.value)
252
+ }
253
+ ),
254
+ /* @__PURE__ */ e(
255
+ g,
256
+ {
257
+ sx: { mt: 3 },
258
+ label: "Employer",
259
+ value: m,
260
+ onChange: (C) => N(C.target.value)
261
+ }
262
+ )
263
+ ] }),
264
+ /* @__PURE__ */ e(
265
+ p,
266
+ {
267
+ sx: { mt: 3 },
268
+ variant: "contained",
269
+ onClick: () => {
270
+ if (!a) {
271
+ h({ message: "Please select place of birth" });
272
+ return;
273
+ }
274
+ if (!l) {
275
+ h({ message: "Please provide address" });
276
+ return;
277
+ }
278
+ if (!c) {
279
+ h({ message: "Please provide city" });
280
+ return;
281
+ }
282
+ R({
283
+ ...f,
284
+ placeOfBirth: a,
285
+ nationality: l,
286
+ occupation: c,
287
+ employer: m
288
+ }), x(oe);
289
+ },
290
+ disabled: !a || !l || !c || !m,
291
+ fullWidth: !0,
292
+ children: /* @__PURE__ */ e("strong", { children: "Next" })
293
+ }
294
+ )
295
+ ] });
296
+ }, ee = "INCODE_SCREEN", k = "USER_INFO_SCREEN", se = "PERSONAL_DETAILS_SCREEN", oe = "PEP_SCREEN", Te = "EDD_SCREEN", Fe = {
297
+ BANK_STATEMENT: {
298
+ text: "",
299
+ file: [],
300
+ preview: []
301
+ },
302
+ PROOF_OF_INCOME: {
303
+ text: "",
304
+ file: [],
305
+ preview: []
306
+ },
307
+ SOURCE_OF_WEALTH: {
308
+ text: "",
309
+ file: [],
310
+ preview: []
311
+ }
312
+ }, Ke = ({
313
+ configurationId: f,
314
+ incodeApiKey: R,
315
+ incodeApiUrl: x,
316
+ incodeOnBoardingUrl: n,
317
+ withContainer: i = !1,
318
+ successHandler: h,
319
+ updateScreen: g,
320
+ isModalView: p = !1,
321
+ kycFlow: a
322
+ }) => {
323
+ const u = ge(!0), l = ue(), D = J((s) => s.user), c = J((s) => s.user.kyc), _ = J((s) => s.session.uuid), m = D.kyc, N = m.processComplete, P = {}, [C, Y] = r(P), [Z, z] = r({ token: "" }), [A, d] = r(
324
+ a === v ? k : ee
325
+ );
326
+ console.log("Screen", A), K(() => {
327
+ if (u.current) {
328
+ u.current = !1;
329
+ return;
330
+ }
331
+ let s;
332
+ switch (A) {
333
+ case k:
334
+ s = ee;
335
+ break;
336
+ case se:
337
+ s = k;
338
+ break;
339
+ case oe:
340
+ s = se;
341
+ break;
342
+ default:
343
+ s = ee;
344
+ }
345
+ d(s);
346
+ }, [g]), K(() => {
347
+ h && N && h();
348
+ }, [h, N]), console.log("kycFlow", a);
349
+ const I = {
350
+ gender: "",
351
+ email: "",
352
+ address: "",
353
+ city: "",
354
+ state: "",
355
+ zipCode: "",
356
+ placeOfBirth: "",
357
+ country: "",
358
+ nationality: "",
359
+ occupation: "",
360
+ employer: "",
361
+ isPoliticalExpose: !1,
362
+ politicalExpose: "",
363
+ origin: "",
364
+ frequency: "",
365
+ reason: "",
366
+ source: ""
367
+ }, [t, O] = r(I), [S, M] = r(Fe);
368
+ K(() => {
369
+ S.BANK_STATEMENT.file.length > 0 && b(S);
370
+ }, [S]);
371
+ const b = (s) => {
372
+ B(
373
+ t.isPoliticalExpose,
374
+ t.politicalExpose,
375
+ t.frequency,
376
+ t.reason,
377
+ t.source,
378
+ t.origin,
379
+ s,
380
+ !0
381
+ );
382
+ }, B = (s, X, U, H, o, T, F, $ = !1) => {
383
+ var W, E, ne;
384
+ if (a !== be && !$) {
385
+ d(Te);
386
+ return;
387
+ }
388
+ if (!m.loader) {
389
+ const fe = {
390
+ street: t.address,
391
+ city: t.city,
392
+ postcode: t.zipCode,
393
+ state: t.state,
394
+ country: (W = t.country) == null ? void 0 : W.alpha3
395
+ }, he = {
396
+ isExposed: s,
397
+ exposed: X,
398
+ frequency: U,
399
+ reason: H,
400
+ source: o,
401
+ originFunds: T
402
+ }, Ee = {
403
+ frequency: U,
404
+ reason: H,
405
+ source: o,
406
+ originFunds: T
407
+ }, ie = {
408
+ kycFlow: a,
409
+ email: t.email,
410
+ gender: t.gender,
411
+ birthPlace: (E = t.placeOfBirth) == null ? void 0 : E.alpha3,
412
+ nationality: (ne = t.nationality) == null ? void 0 : ne.alpha3,
413
+ occupation: t.occupation,
414
+ employer: t.employer,
415
+ residentialAddress: fe,
416
+ politicalExposure: he,
417
+ customerDueDiligence: Ee,
418
+ workflow: {
419
+ token: Z.token
420
+ }
421
+ };
422
+ if (F) {
423
+ const ae = Object.entries(F).filter(([le, G]) => G.file && G.file.length > 0).map(([le, G]) => ({
424
+ file: G.file[0],
425
+ type: le
426
+ }));
427
+ ae.length > 0 && (ie.eddDocuments = ae);
428
+ }
429
+ l(xe(ie));
430
+ }
431
+ }, q = {
432
+ INCODE_SCREEN: /* @__PURE__ */ e(
433
+ ye,
434
+ {
435
+ uuid: _,
436
+ successHandler: () => {
437
+ d(k);
438
+ },
439
+ configurationId: f,
440
+ apiKey: R,
441
+ apiUrl: x,
442
+ onBoardingUrl: n,
443
+ setDocumentsData: Y,
444
+ setIncodeSessionData: z,
445
+ isModalView: p
446
+ }
447
+ ),
448
+ USER_INFO_SCREEN: /* @__PURE__ */ e(
449
+ Be,
450
+ {
451
+ docData: C,
452
+ setScreen: d,
453
+ setUserInfo: O,
454
+ userInfo: t,
455
+ userEmail: D.profile.email,
456
+ kycFlow: a
457
+ }
458
+ ),
459
+ PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ e(
460
+ Le,
461
+ {
462
+ setScreen: d,
463
+ setUserInfo: O,
464
+ userInfo: t
465
+ }
466
+ ),
467
+ PEP_SCREEN: /* @__PURE__ */ e(
468
+ Ne,
469
+ {
470
+ setScreen: d,
471
+ setUserInfo: O,
472
+ userInfo: t,
473
+ processKyc: B,
474
+ processLoader: m.loader,
475
+ kycFlow: a
476
+ }
477
+ ),
478
+ EDD_SCREEN: /* @__PURE__ */ e(
479
+ Pe,
480
+ {
481
+ kycStoreData: c,
482
+ eddData: S,
483
+ setEddData: M,
484
+ processKyc: b,
485
+ processLoader: m.loader
486
+ }
487
+ )
488
+ }[A];
489
+ return i ? /* @__PURE__ */ e(Ce, { addPadding: !1, children: q }) : q;
490
+ }, Ct = Se(Ke);
491
+ export {
492
+ Te as E,
493
+ Ct as F,
494
+ ee as I,
495
+ Le as P,
496
+ Be as U,
497
+ k as a,
498
+ se as b,
499
+ oe as c
500
+ };
@@ -5,18 +5,18 @@ import de from "./components/Wallet/Shared/backBtn.js";
5
5
  import { DIALOG_SUCCESS_ICON as Se, PAYMENT_BANK as J, SEPA_ICON as Re, VISA_ICON as Te, RADIO_BUTTON_SELECTED as ze, RADIO_BUTTON as Ie, PAYMENT_PROVIDER_PAYSAFE as Be, FIAT_WITHDRAW as ee, EURO_ISO3 as Oe, US_DOLLAR_ISO3 as ce, SYNTHETIC_EUR as We, SYNTHETIC_USD as we } from "./util/constants.js";
6
6
  import { s as d } from "./styles.module-CHEBh2ID.js";
7
7
  import ne from "./components/Wallet/Shared/appButton.js";
8
- import { ai as G } from "./constants-CQOuVN6n.js";
8
+ import { ao as G } from "./constants-DBlV_hAZ.js";
9
9
  import { a as pe } from "./index-FwnHkXdK.js";
10
- import { b as te, e as ue, f as Pe, i as Me, d as Le, g as Ye } from "./order-DWfxKnom.js";
10
+ import { b as te, e as ue, f as Pe, i as Me, d as Le, g as Ye } from "./order-BNumaEGY.js";
11
11
  import { a as $, u as fe } from "./react-redux-B4BZippc.js";
12
- import { P as qe, f as Ue } from "./PlayArrow-BkJLdzUI.js";
13
- import { h as Ke, u as $e } from "./wallet-4-2Lns3R.js";
12
+ import { P as qe, f as Ue } from "./PlayArrow-BkW3s4mw.js";
13
+ import { h as Ke, u as $e } from "./wallet-BJz8LnYf.js";
14
14
  import { useSnackBarContext as He } from "./context/snackBarContext.js";
15
15
  import { AuthContainer as je } from "./components/Wallet/Shared/Container/index.js";
16
16
  import Ge from "./components/Shared/MinimalKyc/index.js";
17
17
  import De from "./components/Wallet/Shared/Input/index.js";
18
18
  import Ve from "./components/Wallet/Shared/addBank.js";
19
- import { d as Xe } from "./bank-D6E7Zpfd.js";
19
+ import { d as Xe } from "./bank-C9AAL5v7.js";
20
20
  import Je from "./components/Wallet/Shared/connectPlaidBank.js";
21
21
  import { B as C } from "./Box-B0YSYLco.js";
22
22
  import { C as F } from "./CircularProgress-xZA3lvba.js";
@@ -2,16 +2,16 @@ import { jsxs as a, Fragment as v, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as ye, useMemo as Ve, useState as p, useEffect as h } from "react";
3
3
  import Je from "./hoc/withThemeProvider.js";
4
4
  import { a as C, u as Ie } from "./react-redux-B4BZippc.js";
5
- import { P as Qe } from "./PlayArrow-BkJLdzUI.js";
5
+ import { P as Qe } from "./PlayArrow-BkW3s4mw.js";
6
6
  import { I as Ze } from "./Info-BVeUSPyk.js";
7
7
  import { G as et } from "./generic-token-B_ptO5yb.js";
8
8
  import { getCentralLedgetNetwork as V, getNetworkBackGround as be, getCurrencySymbol as tt } from "./util/functions.js";
9
9
  import Ne from "./components/Wallet/Shared/TokenModal/index.js";
10
10
  import { formatNumberWithoutRounding as _e } from "./util/conversions.js";
11
- import { a6 as A } from "./constants-CQOuVN6n.js";
11
+ import { ac as A } from "./constants-DBlV_hAZ.js";
12
12
  import { c as ot, d as rt } from "./index-FwnHkXdK.js";
13
- import { f as nt, a as at, b as st } from "./cryptoAssets-Cma8qeDc.js";
14
- import { b as Z, c as ve, d as it, e as lt, f as ct, g as mt } from "./order-DWfxKnom.js";
13
+ import { f as nt, a as at, b as st } from "./cryptoAssets-Da0hZPmW.js";
14
+ import { b as Z, c as ve, d as it, e as lt, f as ct, g as mt } from "./order-BNumaEGY.js";
15
15
  import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as ee, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
16
16
  import { M as ft } from "./tooltip-3UvETWtS.js";
17
17
  import Fe from "./components/Wallet/Shared/appButton.js";
@@ -28,11 +28,11 @@ import "./index-B8QKlEgj.js";
28
28
  import "./index-ceeCtFuh.js";
29
29
  import { s as i } from "./styles.module-CHEBh2ID.js";
30
30
  import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
31
- import { u as xt, a as gt } from "./wallet-4-2Lns3R.js";
31
+ import { u as xt, a as gt } from "./wallet-BJz8LnYf.js";
32
32
  import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
33
33
  import bt from "./components/Shared/MinimalKyc/index.js";
34
34
  import Nt from "./components/Wallet/Shared/Input/index.js";
35
- import { M as _t } from "./index-BAFH0iyw.js";
35
+ import { M as _t } from "./index-BHmViOiG.js";
36
36
  import { useDialogContext as vt } from "./context/dialogContext.js";
37
37
  import { B as R } from "./Box-B0YSYLco.js";
38
38
  import { G as s } from "./Grid-CFe3amXO.js";
@@ -1,4 +1,4 @@
1
- import { _ as s, $ as t, a0 as e, a1 as o, a2 as _, a3 as y } from "./constants-CQOuVN6n.js";
1
+ import { a4 as s, a5 as t, a6 as e, a7 as o, a8 as y, a9 as E } from "./constants-DBlV_hAZ.js";
2
2
  const p = (a) => ({
3
3
  type: e,
4
4
  payload: a
@@ -10,10 +10,10 @@ const p = (a) => ({
10
10
  type: o,
11
11
  payload: a
12
12
  }), T = (a) => ({
13
- type: _,
13
+ type: y,
14
14
  payload: a
15
15
  }), l = (a) => ({
16
- type: y,
16
+ type: E,
17
17
  payload: a
18
18
  });
19
19
  export {
package/dist/main.js CHANGED
@@ -10,13 +10,13 @@ import { default as k } from "./components/Wallet/Account/index.js";
10
10
  import { default as y } from "./components/Wallet/Stake/index.js";
11
11
  import { default as h } from "./components/Wallet/MoveToEthereumOrEverChain/index.js";
12
12
  import { default as B } from "./components/Wallet/SwapAndUniSwap/index.js";
13
- import { i as P } from "./index-BIpSerUL.js";
14
- import { i as v } from "./index-BAFH0iyw.js";
15
- import { i as K } from "./index-CpkMJeD0.js";
16
- import { i as A } from "./index-BOev7FOu.js";
13
+ import { i as P } from "./index-BZGHPDhS.js";
14
+ import { i as v } from "./index-BHmViOiG.js";
15
+ import { i as K } from "./index-DEfHSDHa.js";
16
+ import { i as A } from "./index-DPwR5oNU.js";
17
17
  import { default as H } from "./components/Wallet/EnterpriseKyc/index.js";
18
18
  import { default as M } from "./components/Wallet/Deposit/index.js";
19
- import { F as W } from "./index--NaHRmjW.js";
19
+ import { F as W } from "./index-CexvGlw7.js";
20
20
  import { useSnackBar as j } from "./hooks/useSnackBar.js";
21
21
  import { SnackBarContext as z, useSnackBarContext as G } from "./context/snackBarContext.js";
22
22
  import { useDialog as L } from "./hooks/useDialog/index.js";
@@ -25,8 +25,8 @@ import { default as Y } from "./components/RocketRamp/Player/SignIn/index.js";
25
25
  import { default as _ } from "./components/RocketRamp/Player/SignUp/index.js";
26
26
  import { default as oo } from "./components/RocketRamp/Player/Dashboard/index.js";
27
27
  import { default as ao } from "./components/RocketRamp/Transactions/index.js";
28
- import { i as to } from "./index-DKuH9hDK.js";
29
- import { i as po } from "./index-CRXWl3nL.js";
28
+ import { i as to } from "./index-C74NH5fF.js";
29
+ import { i as po } from "./index-CN7R7nR-.js";
30
30
  import { default as so } from "./components/RocketRamp/MinimalKyc/index.js";
31
31
  import { default as xo } from "./components/RocketRamp/Store/SignUp/index.js";
32
32
  import { default as io } from "./components/RocketRamp/Store/Dashboard/index.js";
@@ -1,6 +1,6 @@
1
- import { O as s, u as t, v as E, w as R, x as o, y as r, z as _, B as p, C as d, D as y, E as T, G as D } from "./constants-CQOuVN6n.js";
1
+ import { O as s, B as t, C as E, D as R, E as o, G as r, H as _, I as p, J as d, M as T, N as y, P as D } from "./constants-DBlV_hAZ.js";
2
2
  const n = (e) => ({
3
- type: T,
3
+ type: y,
4
4
  payload: e
5
5
  }), O = (e, a) => ({
6
6
  type: s,
@@ -9,9 +9,9 @@ const n = (e) => ({
9
9
  }), c = (e) => ({
10
10
  type: t,
11
11
  meta: { orderType: e }
12
- }), u = () => ({
12
+ }), C = () => ({
13
13
  type: E
14
- }), C = (e) => ({
14
+ }), u = (e) => ({
15
15
  type: r,
16
16
  payload: e
17
17
  }), A = (e) => ({
@@ -28,24 +28,24 @@ const n = (e) => ({
28
28
  payload: e
29
29
  }), q = () => ({
30
30
  type: R
31
- }), Q = (e) => ({
31
+ }), I = (e) => ({
32
32
  type: o,
33
33
  payload: e
34
- }), i = (e) => ({
35
- type: y,
34
+ }), Q = (e) => ({
35
+ type: T,
36
36
  payload: e
37
37
  });
38
38
  export {
39
39
  U as a,
40
- u as b,
41
- Q as c,
40
+ C as b,
41
+ I as c,
42
42
  c as d,
43
43
  O as e,
44
44
  A as f,
45
45
  m as g,
46
46
  l as h,
47
- C as i,
48
- i as j,
47
+ u as i,
48
+ Q as j,
49
49
  q as k,
50
50
  n as o
51
51
  };
@@ -1,4 +1,4 @@
1
- import { S as t, r as a, s as e, t as S } from "./constants-CQOuVN6n.js";
1
+ import { S as t, x as a, y as e, z as S } from "./constants-DBlV_hAZ.js";
2
2
  const T = () => ({
3
3
  type: t
4
4
  }), o = (s) => ({
@@ -92,5 +92,4 @@ export declare const ORGANIZATION_KYC_TYPE = "Organization";
92
92
  export declare const KYC_OVER_TRANSATION = "Over $10,000";
93
93
  export declare const KYC_BETWEEN_TRANSATION = "Over $1,000 & Under $10,000";
94
94
  export declare const KYC_UNDER_TRANSATION = "Under $1,000";
95
- export declare const KYC_STATUS_IN_PROGRESS = "IN_PROGRESS";
96
95
  export declare const CARD_PAYMENT_DECLINE = "Declined";