everest-npm-features 0.0.62 → 0.0.64
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.
- package/dist/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-WUr_Eyo1.js} +1 -1
- package/dist/assets/styles.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-DTJdu6mq.js → auth-Cg-RJNB1.js} +1 -1
- package/dist/bank-CPJa0NOE.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.js +33 -30
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +68 -64
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +14 -314
- package/dist/components/Wallet/Account/eWallet.js +33 -35
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +75 -54
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +221 -184
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +121 -124
- package/dist/components/Wallet/Profile/index.js +4 -4
- package/dist/components/Wallet/Profile/storage.js +15 -15
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +36 -36
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +19 -18
- package/dist/components/Wallet/Shared/addBank.js +4 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +74 -62
- package/dist/components/Wallet/Stake/id/index.js +69 -65
- package/dist/components/Wallet/Stake/index.js +6 -6
- package/dist/components/Wallet/Swap/form.js +7 -7
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-BRS2liAt.js} +216 -214
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-CDwzoHu7.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-3OQ4M69t.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-ILpK4BCB.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-CYX3j0V7.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-C1WPCgkl.js → index-DX8IEulu.js} +5 -5
- package/dist/{index-CK4kLRAw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-ksV3vBP_.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DEp_Lmar.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-fiNqeB5H.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-Ct7-_aWW.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-C4pmTe--.js +0 -37
- package/dist/index-BBFbUCRZ.js +0 -537
- package/dist/styles.module-C1sNeKjL.js +0 -22
- package/dist/styles.module-CHPRGltL.js +0 -28
package/dist/index-BBFbUCRZ.js
DELETED
|
@@ -1,537 +0,0 @@
|
|
|
1
|
-
import { jsxs as v, Fragment as ae, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { useState as r, useEffect as z, useRef as Ne } from "react";
|
|
3
|
-
import { AuthContainer as Oe } from "./components/Wallet/Shared/Container/index.js";
|
|
4
|
-
import { Box as D, Typography as ee, FormControl as Ae, InputLabel as _e, Select as Pe, MenuItem as re, Grid as ie } from "@mui/material";
|
|
5
|
-
import Re from "./hoc/withThemeProvider.js";
|
|
6
|
-
import ye from "./components/Wallet/Shared/Input/index.js";
|
|
7
|
-
import Se from "./components/Wallet/Shared/appButton.js";
|
|
8
|
-
import "./index-DlQqWbXG.js";
|
|
9
|
-
import "./otpForm-fiNqeB5H.js";
|
|
10
|
-
import { d as T, f as be } from "./constants-DrmtdI1J.js";
|
|
11
|
-
import { c as Be, d as Le } from "./kyc-ksV3vBP_.js";
|
|
12
|
-
import { useSnackBarContext as ce } from "./context/snackBarContext.js";
|
|
13
|
-
import xe from "./hooks/useEverestDispatch.js";
|
|
14
|
-
import "./util/conversions.js";
|
|
15
|
-
import "./index-CAoLi5Qq.js";
|
|
16
|
-
import ve from "./components/Wallet/Shared/step.js";
|
|
17
|
-
import "./react-webcam-B3cXh1XT.js";
|
|
18
|
-
import "./components/Shared/transition.js";
|
|
19
|
-
import "./tooltip-BW0UyWw7.js";
|
|
20
|
-
import "./moment-h96o7c8I.js";
|
|
21
|
-
import "./index.esm-BsMAMhYW.js";
|
|
22
|
-
import { c as Te } from "./countries-BVn1FubK.js";
|
|
23
|
-
import "./web3-u4qDZYpo.js";
|
|
24
|
-
import "./index-ceeCtFuh.js";
|
|
25
|
-
import { useDialogContext as Fe } from "./context/dialogContext.js";
|
|
26
|
-
import "@mui/icons-material";
|
|
27
|
-
import le from "./components/Shared/FullKyc/countryList.js";
|
|
28
|
-
import Ke from "./components/Shared/FullKyc/pep.js";
|
|
29
|
-
import { u as oe } from "./react-redux-C7I9-1M6.js";
|
|
30
|
-
import Ie from "./components/Shared/FullKyc/edd.js";
|
|
31
|
-
import qe from "./components/Shared/Sumsub/index.js";
|
|
32
|
-
const ze = ({
|
|
33
|
-
inputComponent: g,
|
|
34
|
-
buttonComponent: k,
|
|
35
|
-
setUserInfo: M,
|
|
36
|
-
userInfo: l,
|
|
37
|
-
docData: o,
|
|
38
|
-
setScreen: h,
|
|
39
|
-
userEmail: C,
|
|
40
|
-
kycFlow: E
|
|
41
|
-
}) => {
|
|
42
|
-
const d = xe();
|
|
43
|
-
Fe();
|
|
44
|
-
const { showAlertMessage: c } = ce(), s = g ?? ye, w = k ?? Se, [a, p] = r(l.gender || ""), [f, F] = r(!1), [K, y] = r(l.email || ""), [te, ne] = r(!1), [Y, Z] = r(""), [m, $] = r(l.address || ""), [n, I] = r(l.city || ""), [S, X] = r(l.state || ""), [N, U] = r(l.zipCode || ""), [O, e] = r(
|
|
45
|
-
l.country || null
|
|
46
|
-
), [A, _] = r(!1);
|
|
47
|
-
z(() => {
|
|
48
|
-
C && (y(C), ne(!0));
|
|
49
|
-
}, [C]), z(() => {
|
|
50
|
-
var i;
|
|
51
|
-
if (o != null && o.issuingCountry) {
|
|
52
|
-
o.gender && (p(o.gender), F(!0));
|
|
53
|
-
const x = Te.find(
|
|
54
|
-
(u) => u.alpha3 === o.issuingCountry
|
|
55
|
-
);
|
|
56
|
-
M({ ...l, country: x, nationality: x });
|
|
57
|
-
const R = new Date(o.birthDate), b = R.getTimezoneOffset() * 6e4, B = new Date(
|
|
58
|
-
R.getTime() + b
|
|
59
|
-
);
|
|
60
|
-
if (Z(B.toLocaleDateString("en-US")), (i = o.checkedAddressBean) != null && i.street) {
|
|
61
|
-
const u = o.checkedAddressBean;
|
|
62
|
-
_(!0), $(u.street), I(u.city), X(u.state), U(u.postalCode);
|
|
63
|
-
}
|
|
64
|
-
} else
|
|
65
|
-
P();
|
|
66
|
-
}, []);
|
|
67
|
-
const P = () => {
|
|
68
|
-
d(Be());
|
|
69
|
-
};
|
|
70
|
-
return /* @__PURE__ */ v(ae, { children: [
|
|
71
|
-
E !== T && /* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 2 }) }),
|
|
72
|
-
/* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
|
|
73
|
-
/* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
|
|
74
|
-
E !== T && /* @__PURE__ */ v(ae, { children: [
|
|
75
|
-
/* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
76
|
-
/* @__PURE__ */ t(
|
|
77
|
-
s,
|
|
78
|
-
{
|
|
79
|
-
sx: { mt: 3 },
|
|
80
|
-
label: "Date of Birth",
|
|
81
|
-
value: Y,
|
|
82
|
-
disabled: !0,
|
|
83
|
-
required: !0
|
|
84
|
-
}
|
|
85
|
-
),
|
|
86
|
-
/* @__PURE__ */ v(Ae, { sx: { mt: 3 }, fullWidth: !0, children: [
|
|
87
|
-
/* @__PURE__ */ t(_e, { children: "Gender" }),
|
|
88
|
-
/* @__PURE__ */ v(
|
|
89
|
-
Pe,
|
|
90
|
-
{
|
|
91
|
-
value: a,
|
|
92
|
-
label: "Gender",
|
|
93
|
-
onChange: (i) => p(i.target.value),
|
|
94
|
-
disabled: !!(f && a),
|
|
95
|
-
required: !0,
|
|
96
|
-
children: [
|
|
97
|
-
/* @__PURE__ */ t(re, { value: "M", children: "Male" }, "M"),
|
|
98
|
-
/* @__PURE__ */ t(re, { value: "F", children: "Female" }, "F"),
|
|
99
|
-
/* @__PURE__ */ t(re, { value: "X", children: "Another" }, "X")
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
)
|
|
103
|
-
] }),
|
|
104
|
-
/* @__PURE__ */ t(
|
|
105
|
-
s,
|
|
106
|
-
{
|
|
107
|
-
sx: { mt: 3 },
|
|
108
|
-
label: "Email",
|
|
109
|
-
value: K,
|
|
110
|
-
onChange: (i) => y(i.target.value),
|
|
111
|
-
disabled: te,
|
|
112
|
-
required: !0
|
|
113
|
-
}
|
|
114
|
-
)
|
|
115
|
-
] }),
|
|
116
|
-
/* @__PURE__ */ t(
|
|
117
|
-
s,
|
|
118
|
-
{
|
|
119
|
-
sx: { mt: 3 },
|
|
120
|
-
label: "Home Address",
|
|
121
|
-
value: m,
|
|
122
|
-
onChange: (i) => $(i.target.value),
|
|
123
|
-
disabled: !!(A && m),
|
|
124
|
-
required: !0
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
/* @__PURE__ */ v(ie, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
|
|
128
|
-
/* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
|
|
129
|
-
s,
|
|
130
|
-
{
|
|
131
|
-
label: "City",
|
|
132
|
-
value: n,
|
|
133
|
-
onChange: (i) => I(i.target.value),
|
|
134
|
-
disabled: !!(A && n),
|
|
135
|
-
required: !0
|
|
136
|
-
}
|
|
137
|
-
) }),
|
|
138
|
-
/* @__PURE__ */ t(ie, { size: 6, children: /* @__PURE__ */ t(
|
|
139
|
-
s,
|
|
140
|
-
{
|
|
141
|
-
label: "State/Province",
|
|
142
|
-
value: S,
|
|
143
|
-
onChange: (i) => X(i.target.value),
|
|
144
|
-
required: !0
|
|
145
|
-
}
|
|
146
|
-
) })
|
|
147
|
-
] }),
|
|
148
|
-
/* @__PURE__ */ t(
|
|
149
|
-
s,
|
|
150
|
-
{
|
|
151
|
-
sx: { mt: 3 },
|
|
152
|
-
label: "Zipcode",
|
|
153
|
-
value: N,
|
|
154
|
-
onChange: (i) => U(i.target.value),
|
|
155
|
-
disabled: !!(A && N),
|
|
156
|
-
required: !0
|
|
157
|
-
}
|
|
158
|
-
),
|
|
159
|
-
/* @__PURE__ */ t(
|
|
160
|
-
le,
|
|
161
|
-
{
|
|
162
|
-
value: O,
|
|
163
|
-
onChange: e,
|
|
164
|
-
label: "Country of residence"
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
] }),
|
|
168
|
-
/* @__PURE__ */ t(
|
|
169
|
-
w,
|
|
170
|
-
{
|
|
171
|
-
sx: { mt: 3 },
|
|
172
|
-
variant: "contained",
|
|
173
|
-
onClick: () => {
|
|
174
|
-
if (E !== T) {
|
|
175
|
-
if (!Y)
|
|
176
|
-
return c({ message: "Please provide date of birth" });
|
|
177
|
-
if (!a)
|
|
178
|
-
return c({ message: "Please provide gender" });
|
|
179
|
-
}
|
|
180
|
-
if (!m)
|
|
181
|
-
return c({ message: "Please provide address" });
|
|
182
|
-
if (!n) return c({ message: "Please provide city" });
|
|
183
|
-
if (!S) return c({ message: "Please provide state" });
|
|
184
|
-
if (!N)
|
|
185
|
-
return c({ message: "Please provide zip code" });
|
|
186
|
-
if (!O)
|
|
187
|
-
return c({
|
|
188
|
-
message: "Please select country of residency"
|
|
189
|
-
});
|
|
190
|
-
M({
|
|
191
|
-
...l,
|
|
192
|
-
gender: a,
|
|
193
|
-
email: K,
|
|
194
|
-
address: m,
|
|
195
|
-
city: n,
|
|
196
|
-
state: S,
|
|
197
|
-
zipCode: N,
|
|
198
|
-
country: O
|
|
199
|
-
}), h(
|
|
200
|
-
E !== T ? de : pe
|
|
201
|
-
);
|
|
202
|
-
},
|
|
203
|
-
disabled: E !== T && !K || E !== T && !a || !m || !O,
|
|
204
|
-
fullWidth: !0,
|
|
205
|
-
children: /* @__PURE__ */ t("strong", { children: "Next" })
|
|
206
|
-
}
|
|
207
|
-
)
|
|
208
|
-
] });
|
|
209
|
-
}, Me = ({
|
|
210
|
-
userInfo: g,
|
|
211
|
-
setUserInfo: k,
|
|
212
|
-
setScreen: M,
|
|
213
|
-
inputComponent: l,
|
|
214
|
-
buttonComponent: o
|
|
215
|
-
}) => {
|
|
216
|
-
const { showAlertMessage: h } = ce(), C = l ?? ye, E = o ?? Se, [d, c] = r(
|
|
217
|
-
g.placeOfBirth || null
|
|
218
|
-
), [s, w] = r(
|
|
219
|
-
g.nationality || null
|
|
220
|
-
), [a, p] = r(g.occupation || ""), [f, F] = r(g.employer || "");
|
|
221
|
-
return /* @__PURE__ */ v(ae, { children: [
|
|
222
|
-
/* @__PURE__ */ t(D, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(ve, { totalSteps: 4, currentStep: 3 }) }),
|
|
223
|
-
/* @__PURE__ */ v(D, { pl: 2, mt: 4, children: [
|
|
224
|
-
/* @__PURE__ */ t(ee, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
|
|
225
|
-
/* @__PURE__ */ t(ee, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
226
|
-
/* @__PURE__ */ t(
|
|
227
|
-
le,
|
|
228
|
-
{
|
|
229
|
-
value: d,
|
|
230
|
-
onChange: c,
|
|
231
|
-
label: "Place Of Birth"
|
|
232
|
-
}
|
|
233
|
-
),
|
|
234
|
-
/* @__PURE__ */ t(
|
|
235
|
-
le,
|
|
236
|
-
{
|
|
237
|
-
value: s,
|
|
238
|
-
onChange: w,
|
|
239
|
-
label: "Country of citizenship"
|
|
240
|
-
}
|
|
241
|
-
),
|
|
242
|
-
/* @__PURE__ */ t(
|
|
243
|
-
C,
|
|
244
|
-
{
|
|
245
|
-
sx: { mt: 3 },
|
|
246
|
-
label: "Occupation",
|
|
247
|
-
value: a,
|
|
248
|
-
onChange: (y) => p(y.target.value)
|
|
249
|
-
}
|
|
250
|
-
),
|
|
251
|
-
/* @__PURE__ */ t(
|
|
252
|
-
C,
|
|
253
|
-
{
|
|
254
|
-
sx: { mt: 3 },
|
|
255
|
-
label: "Employer",
|
|
256
|
-
value: f,
|
|
257
|
-
onChange: (y) => F(y.target.value)
|
|
258
|
-
}
|
|
259
|
-
)
|
|
260
|
-
] }),
|
|
261
|
-
/* @__PURE__ */ t(
|
|
262
|
-
E,
|
|
263
|
-
{
|
|
264
|
-
sx: { mt: 3 },
|
|
265
|
-
variant: "contained",
|
|
266
|
-
onClick: () => {
|
|
267
|
-
if (!d) {
|
|
268
|
-
h({ message: "Please select place of birth" });
|
|
269
|
-
return;
|
|
270
|
-
}
|
|
271
|
-
if (!s) {
|
|
272
|
-
h({ message: "Please provide address" });
|
|
273
|
-
return;
|
|
274
|
-
}
|
|
275
|
-
if (!a) {
|
|
276
|
-
h({ message: "Please provide city" });
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
k({
|
|
280
|
-
...g,
|
|
281
|
-
placeOfBirth: d,
|
|
282
|
-
nationality: s,
|
|
283
|
-
occupation: a,
|
|
284
|
-
employer: f
|
|
285
|
-
}), M(pe);
|
|
286
|
-
},
|
|
287
|
-
disabled: !d || !s || !a || !f,
|
|
288
|
-
fullWidth: !0,
|
|
289
|
-
children: /* @__PURE__ */ t("strong", { children: "Next" })
|
|
290
|
-
}
|
|
291
|
-
)
|
|
292
|
-
] });
|
|
293
|
-
}, se = "INCODE_SCREEN", Q = "USER_INFO_SCREEN", de = "PERSONAL_DETAILS_SCREEN", pe = "PEP_SCREEN", we = "EDD_SCREEN", Ue = {
|
|
294
|
-
BANK_STATEMENT: {
|
|
295
|
-
text: "",
|
|
296
|
-
file: [],
|
|
297
|
-
preview: []
|
|
298
|
-
},
|
|
299
|
-
PROOF_OF_INCOME: {
|
|
300
|
-
text: "",
|
|
301
|
-
file: [],
|
|
302
|
-
preview: []
|
|
303
|
-
},
|
|
304
|
-
SOURCE_OF_WEALTH: {
|
|
305
|
-
text: "",
|
|
306
|
-
file: [],
|
|
307
|
-
preview: []
|
|
308
|
-
}
|
|
309
|
-
}, We = ({
|
|
310
|
-
configurationId: g,
|
|
311
|
-
incodeApiKey: k,
|
|
312
|
-
incodeApiUrl: M,
|
|
313
|
-
incodeOnBoardingUrl: l,
|
|
314
|
-
withContainer: o = !1,
|
|
315
|
-
successHandler: h,
|
|
316
|
-
updateScreen: C,
|
|
317
|
-
isModalView: E = !1,
|
|
318
|
-
kycFlow: d
|
|
319
|
-
}) => {
|
|
320
|
-
const c = Ne(!0), { showAlertMessage: s } = ce(), w = xe(), a = oe((e) => e.user), p = oe((e) => e.user.kyc);
|
|
321
|
-
oe((e) => e.session.uuid);
|
|
322
|
-
const f = a.kyc, F = f.processComplete, K = {}, [y, te] = r(K);
|
|
323
|
-
r({ token: "" });
|
|
324
|
-
const [ne, Y] = r(""), [Z, m] = r(
|
|
325
|
-
d === T ? Q : se
|
|
326
|
-
);
|
|
327
|
-
z(() => {
|
|
328
|
-
if (c.current) {
|
|
329
|
-
c.current = !1;
|
|
330
|
-
return;
|
|
331
|
-
}
|
|
332
|
-
let e;
|
|
333
|
-
switch (Z) {
|
|
334
|
-
case Q:
|
|
335
|
-
e = se;
|
|
336
|
-
break;
|
|
337
|
-
case de:
|
|
338
|
-
e = Q;
|
|
339
|
-
break;
|
|
340
|
-
case pe:
|
|
341
|
-
e = de;
|
|
342
|
-
break;
|
|
343
|
-
default:
|
|
344
|
-
e = se;
|
|
345
|
-
}
|
|
346
|
-
m(e);
|
|
347
|
-
}, [C]), z(() => {
|
|
348
|
-
h && F && (s({ message: "KYC request has been received and will be processed shortly.", type: "success" }), h());
|
|
349
|
-
}, [h, F]);
|
|
350
|
-
const $ = {
|
|
351
|
-
gender: "",
|
|
352
|
-
email: "",
|
|
353
|
-
address: "",
|
|
354
|
-
city: "",
|
|
355
|
-
state: "",
|
|
356
|
-
zipCode: "",
|
|
357
|
-
placeOfBirth: "",
|
|
358
|
-
country: "",
|
|
359
|
-
nationality: "",
|
|
360
|
-
occupation: "",
|
|
361
|
-
employer: "",
|
|
362
|
-
isPoliticalExpose: !1,
|
|
363
|
-
politicalExpose: "",
|
|
364
|
-
origin: "",
|
|
365
|
-
frequency: "",
|
|
366
|
-
reason: "",
|
|
367
|
-
source: ""
|
|
368
|
-
}, [n, I] = r($), [S, X] = r(Ue);
|
|
369
|
-
z(() => {
|
|
370
|
-
S.BANK_STATEMENT.file.length > 0 && N(S);
|
|
371
|
-
}, [S]);
|
|
372
|
-
const N = (e) => {
|
|
373
|
-
U(
|
|
374
|
-
n.isPoliticalExpose,
|
|
375
|
-
n.politicalExpose,
|
|
376
|
-
n.frequency,
|
|
377
|
-
n.reason,
|
|
378
|
-
n.source,
|
|
379
|
-
n.origin,
|
|
380
|
-
e,
|
|
381
|
-
!0
|
|
382
|
-
);
|
|
383
|
-
}, U = (e, A, _, P, q, i, x, R = !1) => {
|
|
384
|
-
var b, B, u;
|
|
385
|
-
if (d !== be && !R) {
|
|
386
|
-
m(we);
|
|
387
|
-
return;
|
|
388
|
-
}
|
|
389
|
-
if (!f.loader) {
|
|
390
|
-
const V = {
|
|
391
|
-
street: n.address,
|
|
392
|
-
city: n.city,
|
|
393
|
-
postcode: n.zipCode,
|
|
394
|
-
state: n.state,
|
|
395
|
-
country: (b = n.country) == null ? void 0 : b.alpha3
|
|
396
|
-
}, H = {
|
|
397
|
-
isExposed: e,
|
|
398
|
-
exposed: A,
|
|
399
|
-
frequency: _,
|
|
400
|
-
reason: P,
|
|
401
|
-
source: q,
|
|
402
|
-
originFunds: i
|
|
403
|
-
}, J = {
|
|
404
|
-
frequency: _,
|
|
405
|
-
reason: P,
|
|
406
|
-
source: q,
|
|
407
|
-
originFunds: i
|
|
408
|
-
}, W = {
|
|
409
|
-
kycFlow: d,
|
|
410
|
-
email: n.email,
|
|
411
|
-
gender: n.gender,
|
|
412
|
-
birthPlace: (B = n.placeOfBirth) == null ? void 0 : B.alpha3,
|
|
413
|
-
nationality: (u = n.nationality) == null ? void 0 : u.alpha3,
|
|
414
|
-
occupation: n.occupation,
|
|
415
|
-
employer: n.employer,
|
|
416
|
-
residentialAddress: V,
|
|
417
|
-
politicalExposure: H,
|
|
418
|
-
customerDueDiligence: J,
|
|
419
|
-
workflow: {
|
|
420
|
-
token: ne
|
|
421
|
-
}
|
|
422
|
-
};
|
|
423
|
-
if (x) {
|
|
424
|
-
const G = Object.entries(x).filter(([j, L]) => L.file && L.file.length > 0).map(([j, L]) => ({
|
|
425
|
-
file: L.file[0],
|
|
426
|
-
type: j
|
|
427
|
-
}));
|
|
428
|
-
G.length > 0 && (W.eddDocuments = G);
|
|
429
|
-
}
|
|
430
|
-
w(Le(W));
|
|
431
|
-
}
|
|
432
|
-
};
|
|
433
|
-
z(() => {
|
|
434
|
-
var _, P, q, i, x, R, b, B, u, V, H, J, W, G, j, L, me, ue, fe, he, Ee, ge, Ce;
|
|
435
|
-
const e = p == null ? void 0 : p.sumsubDocumentData;
|
|
436
|
-
if (!e) return;
|
|
437
|
-
const A = {
|
|
438
|
-
name: {
|
|
439
|
-
fullName: `${((_ = e == null ? void 0 : e.documentData) == null ? void 0 : _.firstName) ?? ""} ${((P = e == null ? void 0 : e.documentData) == null ? void 0 : P.lastName) ?? ""}`.trim(),
|
|
440
|
-
firstName: ((q = e == null ? void 0 : e.documentData) == null ? void 0 : q.firstName) ?? "",
|
|
441
|
-
givenName: ((i = e == null ? void 0 : e.documentData) == null ? void 0 : i.firstName) ?? "",
|
|
442
|
-
paternalLastName: ((x = e == null ? void 0 : e.documentData) == null ? void 0 : x.lastName) ?? ""
|
|
443
|
-
},
|
|
444
|
-
address: ((b = (R = e == null ? void 0 : e.documentData) == null ? void 0 : R.address) == null ? void 0 : b.street) ?? "",
|
|
445
|
-
checkedAddressBean: {
|
|
446
|
-
street: ((u = (B = e == null ? void 0 : e.documentData) == null ? void 0 : B.address) == null ? void 0 : u.street) ?? "",
|
|
447
|
-
city: ((H = (V = e == null ? void 0 : e.documentData) == null ? void 0 : V.address) == null ? void 0 : H.city) ?? "",
|
|
448
|
-
state: ((W = (J = e == null ? void 0 : e.documentData) == null ? void 0 : J.address) == null ? void 0 : W.state) ?? "",
|
|
449
|
-
postalCode: ((j = (G = e == null ? void 0 : e.documentData) == null ? void 0 : G.address) == null ? void 0 : j.postcode) ?? "",
|
|
450
|
-
zipColonyOptions: []
|
|
451
|
-
},
|
|
452
|
-
typeOfId: ((L = e == null ? void 0 : e.document) == null ? void 0 : L.docType) ?? "",
|
|
453
|
-
documentFrontSubtype: "",
|
|
454
|
-
documentBackSubtype: "",
|
|
455
|
-
issueFront: 0,
|
|
456
|
-
issueBack: 0,
|
|
457
|
-
birthDate: Date.parse(((me = e == null ? void 0 : e.documentData) == null ? void 0 : me.dateOfBirth) ?? "") || 0,
|
|
458
|
-
gender: ((ue = e == null ? void 0 : e.documentData) == null ? void 0 : ue.gender) ?? "",
|
|
459
|
-
personalNumber: ((fe = e == null ? void 0 : e.documentData) == null ? void 0 : fe.number) ?? "",
|
|
460
|
-
issuedAt: "",
|
|
461
|
-
expireAt: ((he = e == null ? void 0 : e.documentData) == null ? void 0 : he.dateOfExpiry) ?? "",
|
|
462
|
-
expirationDate: Date.parse(((Ee = e == null ? void 0 : e.documentData) == null ? void 0 : Ee.dateOfExpiry) ?? "") || 0,
|
|
463
|
-
issueDate: 0,
|
|
464
|
-
issuingCountry: ((ge = e == null ? void 0 : e.document) == null ? void 0 : ge.issuingCountry) ?? ((Ce = e == null ? void 0 : e.documentData) == null ? void 0 : Ce.issuingCountry) ?? "",
|
|
465
|
-
notExtracted: 0,
|
|
466
|
-
notExtractedDetails: [],
|
|
467
|
-
additionalAttrs: [],
|
|
468
|
-
ocrDataConfidence: {
|
|
469
|
-
birthDateConfidence: 0,
|
|
470
|
-
nameConfidence: 0,
|
|
471
|
-
givenNameConfidence: 0,
|
|
472
|
-
fathersSurnameConfidence: 0,
|
|
473
|
-
addressConfidence: 0,
|
|
474
|
-
issueDateConfidence: 0,
|
|
475
|
-
expirationDateConfidence: 0,
|
|
476
|
-
issuedAtConfidence: 0,
|
|
477
|
-
expireAtConfidence: 0,
|
|
478
|
-
personalNumberConfidence: 0
|
|
479
|
-
}
|
|
480
|
-
};
|
|
481
|
-
te(A), m(Q);
|
|
482
|
-
}, [p == null ? void 0 : p.sumsubDocumentData]);
|
|
483
|
-
const O = {
|
|
484
|
-
INCODE_SCREEN: /* @__PURE__ */ t(qe, { onApplicantIdLoaded: Y }),
|
|
485
|
-
USER_INFO_SCREEN: /* @__PURE__ */ t(
|
|
486
|
-
ze,
|
|
487
|
-
{
|
|
488
|
-
docData: y,
|
|
489
|
-
setScreen: m,
|
|
490
|
-
setUserInfo: I,
|
|
491
|
-
userInfo: n,
|
|
492
|
-
userEmail: a.profile.email,
|
|
493
|
-
kycFlow: d
|
|
494
|
-
}
|
|
495
|
-
),
|
|
496
|
-
PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
|
|
497
|
-
Me,
|
|
498
|
-
{
|
|
499
|
-
setScreen: m,
|
|
500
|
-
setUserInfo: I,
|
|
501
|
-
userInfo: n
|
|
502
|
-
}
|
|
503
|
-
),
|
|
504
|
-
PEP_SCREEN: /* @__PURE__ */ t(
|
|
505
|
-
Ke,
|
|
506
|
-
{
|
|
507
|
-
setScreen: m,
|
|
508
|
-
setUserInfo: I,
|
|
509
|
-
userInfo: n,
|
|
510
|
-
processKyc: U,
|
|
511
|
-
processLoader: f.loader,
|
|
512
|
-
kycFlow: d
|
|
513
|
-
}
|
|
514
|
-
),
|
|
515
|
-
EDD_SCREEN: /* @__PURE__ */ t(
|
|
516
|
-
Ie,
|
|
517
|
-
{
|
|
518
|
-
kycStoreData: p,
|
|
519
|
-
eddData: S,
|
|
520
|
-
setEddData: X,
|
|
521
|
-
processKyc: N,
|
|
522
|
-
processLoader: f.loader
|
|
523
|
-
}
|
|
524
|
-
)
|
|
525
|
-
}[Z];
|
|
526
|
-
return o ? /* @__PURE__ */ t(Oe, { addPadding: !0, children: O }) : O;
|
|
527
|
-
}, yt = Re(We);
|
|
528
|
-
export {
|
|
529
|
-
we as E,
|
|
530
|
-
yt as F,
|
|
531
|
-
se as I,
|
|
532
|
-
Me as P,
|
|
533
|
-
ze as U,
|
|
534
|
-
Q as a,
|
|
535
|
-
de as b,
|
|
536
|
-
pe as c
|
|
537
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import './assets/styles2.css';const t = "_container_18yz7_1", _ = "_active_18yz7_43", e = {
|
|
2
|
-
container: t,
|
|
3
|
-
"inner-container": "_inner-container_18yz7_15",
|
|
4
|
-
"sub-tabs": "_sub-tabs_18yz7_29",
|
|
5
|
-
active: _,
|
|
6
|
-
"sub-tabs-item": "_sub-tabs-item_18yz7_53",
|
|
7
|
-
"buy-sell-text": "_buy-sell-text_18yz7_65",
|
|
8
|
-
"heading-text": "_heading-text_18yz7_75",
|
|
9
|
-
"info-icon": "_info-icon_18yz7_89",
|
|
10
|
-
"button-icon": "_button-icon_18yz7_99",
|
|
11
|
-
"add-container": "_add-container_18yz7_109",
|
|
12
|
-
"move-id": "_move-id_18yz7_117",
|
|
13
|
-
"move-id-text": "_move-id-text_18yz7_131",
|
|
14
|
-
"move-btn": "_move-btn_18yz7_143",
|
|
15
|
-
"time-item": "_time-item_18yz7_167",
|
|
16
|
-
"item-1st": "_item-1st_18yz7_189",
|
|
17
|
-
"item-last": "_item-last_18yz7_199",
|
|
18
|
-
"stake-modal-content": "_stake-modal-content_18yz7_211"
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
e as s
|
|
22
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import './assets/styles.css';const e = "_container_2oghf_1", t = "_heading_2oghf_27", o = "_sBtn_2oghf_73", _ = "_twitterCancelBtn_2oghf_427", n = {
|
|
2
|
-
container: e,
|
|
3
|
-
"inner-container": "_inner-container_2oghf_13",
|
|
4
|
-
heading: t,
|
|
5
|
-
"profile-feat-btn": "_profile-feat-btn_2oghf_41",
|
|
6
|
-
"ref-btn": "_ref-btn_2oghf_57",
|
|
7
|
-
sBtn: o,
|
|
8
|
-
"doc-video-box": "_doc-video-box_2oghf_117",
|
|
9
|
-
"image-corner-color": "_image-corner-color_2oghf_193",
|
|
10
|
-
"video-box-inner-content": "_video-box-inner-content_2oghf_207",
|
|
11
|
-
"menu-item": "_menu-item_2oghf_217",
|
|
12
|
-
"remove-icon": "_remove-icon_2oghf_233",
|
|
13
|
-
"delete-disable": "_delete-disable_2oghf_247",
|
|
14
|
-
"confirm-edit": "_confirm-edit_2oghf_263",
|
|
15
|
-
"asset-header": "_asset-header_2oghf_279",
|
|
16
|
-
"asset-close-btn": "_asset-close-btn_2oghf_317",
|
|
17
|
-
"dialog-container": "_dialog-container_2oghf_331",
|
|
18
|
-
"confirm-dialog": "_confirm-dialog_2oghf_345",
|
|
19
|
-
"confirm-dialog-title": "_confirm-dialog-title_2oghf_353",
|
|
20
|
-
"tweet-text-parent": "_tweet-text-parent_2oghf_365",
|
|
21
|
-
"tweet-disable-text": "_tweet-disable-text_2oghf_391",
|
|
22
|
-
"tweet-text-area": "_tweet-text-area_2oghf_409",
|
|
23
|
-
twitterCancelBtn: _,
|
|
24
|
-
"kyc-approved": "_kyc-approved_2oghf_471"
|
|
25
|
-
};
|
|
26
|
-
export {
|
|
27
|
-
n as s
|
|
28
|
-
};
|