everest-npm-features 0.0.37 → 0.0.39-temp.1
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/{PlayArrow-KBDRjTbR.js → PlayArrow-C6lnbwD4.js} +1 -1
- package/dist/{auth-BQ4bZOAL.js → auth-BMzyEvqd.js} +1 -1
- package/dist/bank-Bp23LpvN.js +30 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- 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 +5 -5
- 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/edd.js +2 -2
- package/dist/components/Shared/FullKyc/index.js +3 -3
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +3 -3
- package/dist/components/Shared/Incode/index.js +10 -10
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +182 -104
- package/dist/components/Wallet/Account/iban.js +72 -207
- package/dist/components/Wallet/Account/ibanItem.d.ts +15 -0
- package/dist/components/Wallet/Account/ibanItem.js +164 -0
- package/dist/components/Wallet/Account/index.js +136 -128
- package/dist/components/Wallet/Account/sendIban.d.ts +4 -1
- package/dist/components/Wallet/Account/sendIban.js +211 -140
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/Home/index.js +6 -6
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +8 -8
- package/dist/components/Wallet/Portfolio/index.js +3 -3
- package/dist/components/Wallet/Profile/documents.js +2 -2
- package/dist/components/Wallet/Profile/index.js +12 -11
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +12 -12
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +3 -3
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +3 -3
- package/dist/components/Wallet/Swap/form.js +5 -5
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-rDP6jwIs.js → constants-9grj4Du1.js} +67 -69
- package/dist/{cryptoAssets-BXjfidU4.js → cryptoAssets-Cf7xMoh9.js} +1 -1
- package/dist/data/ibanSupportedCountries.json.d.ts +5 -0
- package/dist/{documents-CF1bpppV.js → documents-vj042AkQ.js} +25 -25
- package/dist/hooks/useDialog/index.js +45 -38
- package/dist/hooks/useDialog/types.d.ts +4 -1
- package/dist/{index-B9MyZ0sJ.js → index-BFKBLYk5.js} +13 -13
- package/dist/{index-aLtOG-sf.js → index-BXj7Wdol.js} +5 -5
- package/dist/{index-Btrmgb1g.js → index-B_ZN1s9v.js} +128 -126
- package/dist/{index-PitHP3ul.js → index-CUhPCwCD.js} +5 -5
- package/dist/{index-JY7R8k4h.js → index-Cf_gfO-E.js} +4 -4
- package/dist/{index-CdfFs6U2.js → index-DrAXokdP.js} +16 -16
- package/dist/{index-0PiVFV1G.js → index-grkjwLQL.js} +6 -6
- package/dist/{kyc-ChoR-OWg.js → kyc-MeOwOyUF.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-CTEvMHv4.js → order-Cs5_3wOs.js} +1 -1
- package/dist/{stake-nzM9DW-r.js → stake-ClJWsrHb.js} +1 -1
- package/dist/{wallet-DZ3-OqYH.js → wallet-nsVuNagB.js} +1 -1
- package/package.json +2 -2
- package/dist/bank-Bz7oos87.js +0 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { useState as r, useEffect as
|
|
1
|
+
import { jsxs as S, Fragment as te, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as r, useEffect as F, useRef as ge } from "react";
|
|
3
3
|
import { AuthContainer as Ce } from "./components/Wallet/Shared/Container/index.js";
|
|
4
4
|
import ye from "./components/Shared/Incode/index.js";
|
|
5
5
|
import Se from "./hoc/withThemeProvider.js";
|
|
@@ -7,8 +7,8 @@ import ce from "./components/Wallet/Shared/Input/index.js";
|
|
|
7
7
|
import de from "./components/Wallet/Shared/appButton.js";
|
|
8
8
|
import { u as ue, a as J } from "./react-redux-B4BZippc.js";
|
|
9
9
|
import "./components/Wallet/Shared/Auth/otpForm.js";
|
|
10
|
-
import { d as v, f as be } from "./constants-
|
|
11
|
-
import { b as ve, c as xe } from "./kyc-
|
|
10
|
+
import { d as v, f as be } from "./constants-9grj4Du1.js";
|
|
11
|
+
import { b as ve, c as xe } from "./kyc-MeOwOyUF.js";
|
|
12
12
|
import { useSnackBarContext as pe } from "./context/snackBarContext.js";
|
|
13
13
|
import "./util/conversions.js";
|
|
14
14
|
import "./index-CAoLi5Qq.js";
|
|
@@ -38,65 +38,65 @@ const Be = ({
|
|
|
38
38
|
inputComponent: f,
|
|
39
39
|
buttonComponent: R,
|
|
40
40
|
setUserInfo: x,
|
|
41
|
-
userInfo:
|
|
42
|
-
docData:
|
|
41
|
+
userInfo: i,
|
|
42
|
+
docData: n,
|
|
43
43
|
setScreen: h,
|
|
44
44
|
userEmail: g,
|
|
45
45
|
kycFlow: p
|
|
46
46
|
}) => {
|
|
47
|
-
const
|
|
47
|
+
const l = ue();
|
|
48
48
|
_e();
|
|
49
|
-
const { showAlertMessage:
|
|
50
|
-
|
|
49
|
+
const { showAlertMessage: c } = pe(), a = f ?? ce, D = R ?? de, [d, _] = r(i.gender || ""), [m, N] = r(!1), [P, C] = r(i.email || ""), [Y, Z] = r(!1), [K, q] = r(""), [u, z] = r(i.address || ""), [t, O] = r(i.city || ""), [y, I] = r(i.state || ""), [b, A] = r(i.zipCode || ""), [B, M] = r(
|
|
50
|
+
i.country || null
|
|
51
51
|
), [s, X] = r(!1);
|
|
52
|
-
|
|
52
|
+
F(() => {
|
|
53
53
|
g && (C(g), Z(!0));
|
|
54
|
-
}, [g]),
|
|
54
|
+
}, [g]), F(() => {
|
|
55
55
|
var o;
|
|
56
|
-
if (
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
(E) => E.alpha3 ===
|
|
56
|
+
if (n != null && n.issuingCountry) {
|
|
57
|
+
n.gender && (_(n.gender), N(!0));
|
|
58
|
+
const L = De.find(
|
|
59
|
+
(E) => E.alpha3 === n.issuingCountry
|
|
60
60
|
);
|
|
61
|
-
x({ ...
|
|
62
|
-
const
|
|
63
|
-
|
|
61
|
+
x({ ...i, country: L, nationality: L });
|
|
62
|
+
const T = new Date(n.birthDate), $ = T.getTimezoneOffset() * 6e4, W = new Date(
|
|
63
|
+
T.getTime() + $
|
|
64
64
|
);
|
|
65
|
-
if (
|
|
66
|
-
const E =
|
|
67
|
-
X(!0),
|
|
65
|
+
if (q(W.toLocaleDateString("en-US")), (o = n.checkedAddressBean) != null && o.street) {
|
|
66
|
+
const E = n.checkedAddressBean;
|
|
67
|
+
X(!0), z(E.street), O(E.city), I(E.state), A(E.postalCode);
|
|
68
68
|
}
|
|
69
69
|
} else
|
|
70
70
|
U();
|
|
71
71
|
}, []);
|
|
72
72
|
const U = () => {
|
|
73
|
-
|
|
73
|
+
l(ve());
|
|
74
74
|
};
|
|
75
|
-
return /* @__PURE__ */
|
|
75
|
+
return /* @__PURE__ */ S(te, { children: [
|
|
76
76
|
p !== v && /* @__PURE__ */ e(w, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(me, { totalSteps: 4, currentStep: 2 }) }),
|
|
77
|
-
/* @__PURE__ */
|
|
77
|
+
/* @__PURE__ */ S(w, { pl: 2, mt: 4, children: [
|
|
78
78
|
/* @__PURE__ */ e(j, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
|
|
79
|
-
p !== v && /* @__PURE__ */
|
|
79
|
+
p !== v && /* @__PURE__ */ S(te, { children: [
|
|
80
80
|
/* @__PURE__ */ e(j, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
81
81
|
/* @__PURE__ */ e(
|
|
82
|
-
|
|
82
|
+
a,
|
|
83
83
|
{
|
|
84
84
|
sx: { mt: 3 },
|
|
85
85
|
label: "Date of Birth",
|
|
86
|
-
value:
|
|
86
|
+
value: K,
|
|
87
87
|
disabled: !0,
|
|
88
88
|
required: !0
|
|
89
89
|
}
|
|
90
90
|
),
|
|
91
|
-
/* @__PURE__ */
|
|
91
|
+
/* @__PURE__ */ S(Oe, { sx: { mt: 3 }, fullWidth: !0, children: [
|
|
92
92
|
/* @__PURE__ */ e(Re, { children: "Gender" }),
|
|
93
|
-
/* @__PURE__ */
|
|
93
|
+
/* @__PURE__ */ S(
|
|
94
94
|
Ae,
|
|
95
95
|
{
|
|
96
|
-
value:
|
|
96
|
+
value: d,
|
|
97
97
|
label: "Gender",
|
|
98
98
|
onChange: (o) => _(o.target.value),
|
|
99
|
-
disabled: !!(m &&
|
|
99
|
+
disabled: !!(m && d),
|
|
100
100
|
required: !0,
|
|
101
101
|
children: [
|
|
102
102
|
/* @__PURE__ */ e(Q, { value: "M", children: "Male" }, "M"),
|
|
@@ -107,7 +107,7 @@ const Be = ({
|
|
|
107
107
|
)
|
|
108
108
|
] }),
|
|
109
109
|
/* @__PURE__ */ e(
|
|
110
|
-
|
|
110
|
+
a,
|
|
111
111
|
{
|
|
112
112
|
sx: { mt: 3 },
|
|
113
113
|
label: "Email",
|
|
@@ -119,19 +119,19 @@ const Be = ({
|
|
|
119
119
|
)
|
|
120
120
|
] }),
|
|
121
121
|
/* @__PURE__ */ e(
|
|
122
|
-
|
|
122
|
+
a,
|
|
123
123
|
{
|
|
124
124
|
sx: { mt: 3 },
|
|
125
125
|
label: "Home Address",
|
|
126
|
-
value:
|
|
127
|
-
onChange: (o) =>
|
|
128
|
-
disabled: !!(s &&
|
|
126
|
+
value: u,
|
|
127
|
+
onChange: (o) => z(o.target.value),
|
|
128
|
+
disabled: !!(s && u),
|
|
129
129
|
required: !0
|
|
130
130
|
}
|
|
131
131
|
),
|
|
132
|
-
/* @__PURE__ */
|
|
132
|
+
/* @__PURE__ */ S(V, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
|
|
133
133
|
/* @__PURE__ */ e(V, { size: 6, children: /* @__PURE__ */ e(
|
|
134
|
-
|
|
134
|
+
a,
|
|
135
135
|
{
|
|
136
136
|
label: "City",
|
|
137
137
|
value: t,
|
|
@@ -141,21 +141,22 @@ const Be = ({
|
|
|
141
141
|
}
|
|
142
142
|
) }),
|
|
143
143
|
/* @__PURE__ */ e(V, { size: 6, children: /* @__PURE__ */ e(
|
|
144
|
-
|
|
144
|
+
a,
|
|
145
145
|
{
|
|
146
|
-
label: "State",
|
|
147
|
-
value:
|
|
148
|
-
onChange: (o) =>
|
|
146
|
+
label: "State/Province",
|
|
147
|
+
value: y,
|
|
148
|
+
onChange: (o) => I(o.target.value),
|
|
149
|
+
required: !0
|
|
149
150
|
}
|
|
150
151
|
) })
|
|
151
152
|
] }),
|
|
152
153
|
/* @__PURE__ */ e(
|
|
153
|
-
|
|
154
|
+
a,
|
|
154
155
|
{
|
|
155
156
|
sx: { mt: 3 },
|
|
156
157
|
label: "Zipcode",
|
|
157
158
|
value: b,
|
|
158
|
-
onChange: (o) =>
|
|
159
|
+
onChange: (o) => A(o.target.value),
|
|
159
160
|
disabled: !!(s && b),
|
|
160
161
|
required: !0
|
|
161
162
|
}
|
|
@@ -163,8 +164,8 @@ const Be = ({
|
|
|
163
164
|
/* @__PURE__ */ e(
|
|
164
165
|
re,
|
|
165
166
|
{
|
|
166
|
-
value:
|
|
167
|
-
onChange:
|
|
167
|
+
value: B,
|
|
168
|
+
onChange: M,
|
|
168
169
|
label: "Country of residence"
|
|
169
170
|
}
|
|
170
171
|
)
|
|
@@ -176,34 +177,35 @@ const Be = ({
|
|
|
176
177
|
variant: "contained",
|
|
177
178
|
onClick: () => {
|
|
178
179
|
if (p !== v) {
|
|
179
|
-
if (!
|
|
180
|
-
return
|
|
181
|
-
if (!
|
|
182
|
-
return
|
|
180
|
+
if (!K)
|
|
181
|
+
return c({ message: "Please provide date of birth" });
|
|
182
|
+
if (!d)
|
|
183
|
+
return c({ message: "Please provide gender" });
|
|
183
184
|
}
|
|
184
|
-
if (!
|
|
185
|
-
return
|
|
186
|
-
if (!t) return
|
|
185
|
+
if (!u)
|
|
186
|
+
return c({ message: "Please provide address" });
|
|
187
|
+
if (!t) return c({ message: "Please provide city" });
|
|
188
|
+
if (!y) return c({ message: "Please provide state" });
|
|
187
189
|
if (!b)
|
|
188
|
-
return
|
|
189
|
-
if (!
|
|
190
|
-
return
|
|
190
|
+
return c({ message: "Please provide zip code" });
|
|
191
|
+
if (!B)
|
|
192
|
+
return c({
|
|
191
193
|
message: "Please select country of residency"
|
|
192
194
|
});
|
|
193
195
|
x({
|
|
194
|
-
...
|
|
195
|
-
gender:
|
|
196
|
+
...i,
|
|
197
|
+
gender: d,
|
|
196
198
|
email: P,
|
|
197
|
-
address:
|
|
199
|
+
address: u,
|
|
198
200
|
city: t,
|
|
199
|
-
state:
|
|
201
|
+
state: y,
|
|
200
202
|
zipCode: b,
|
|
201
|
-
country:
|
|
203
|
+
country: B
|
|
202
204
|
}), h(
|
|
203
205
|
p !== v ? se : oe
|
|
204
206
|
);
|
|
205
207
|
},
|
|
206
|
-
disabled: p !== v && !P || p !== v && !
|
|
208
|
+
disabled: p !== v && !P || p !== v && !d || !u || !B,
|
|
207
209
|
fullWidth: !0,
|
|
208
210
|
children: /* @__PURE__ */ e("strong", { children: "Next" })
|
|
209
211
|
}
|
|
@@ -213,31 +215,31 @@ const Be = ({
|
|
|
213
215
|
userInfo: f,
|
|
214
216
|
setUserInfo: R,
|
|
215
217
|
setScreen: x,
|
|
216
|
-
inputComponent:
|
|
217
|
-
buttonComponent:
|
|
218
|
+
inputComponent: i,
|
|
219
|
+
buttonComponent: n
|
|
218
220
|
}) => {
|
|
219
|
-
const { showAlertMessage: h } = pe(), g =
|
|
221
|
+
const { showAlertMessage: h } = pe(), g = i ?? ce, p = n ?? de, [l, c] = r(
|
|
220
222
|
f.placeOfBirth || null
|
|
221
|
-
), [
|
|
223
|
+
), [a, D] = r(
|
|
222
224
|
f.nationality || null
|
|
223
|
-
), [
|
|
224
|
-
return /* @__PURE__ */
|
|
225
|
+
), [d, _] = r(f.occupation || ""), [m, N] = r(f.employer || "");
|
|
226
|
+
return /* @__PURE__ */ S(te, { children: [
|
|
225
227
|
/* @__PURE__ */ e(w, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(me, { totalSteps: 4, currentStep: 3 }) }),
|
|
226
|
-
/* @__PURE__ */
|
|
228
|
+
/* @__PURE__ */ S(w, { pl: 2, mt: 4, children: [
|
|
227
229
|
/* @__PURE__ */ e(j, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
|
|
228
230
|
/* @__PURE__ */ e(j, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
|
|
229
231
|
/* @__PURE__ */ e(
|
|
230
232
|
re,
|
|
231
233
|
{
|
|
232
|
-
value:
|
|
233
|
-
onChange:
|
|
234
|
+
value: l,
|
|
235
|
+
onChange: c,
|
|
234
236
|
label: "Place Of Birth"
|
|
235
237
|
}
|
|
236
238
|
),
|
|
237
239
|
/* @__PURE__ */ e(
|
|
238
240
|
re,
|
|
239
241
|
{
|
|
240
|
-
value:
|
|
242
|
+
value: a,
|
|
241
243
|
onChange: D,
|
|
242
244
|
label: "Country of citizenship"
|
|
243
245
|
}
|
|
@@ -247,7 +249,7 @@ const Be = ({
|
|
|
247
249
|
{
|
|
248
250
|
sx: { mt: 3 },
|
|
249
251
|
label: "Occupation",
|
|
250
|
-
value:
|
|
252
|
+
value: d,
|
|
251
253
|
onChange: (C) => _(C.target.value)
|
|
252
254
|
}
|
|
253
255
|
),
|
|
@@ -267,27 +269,27 @@ const Be = ({
|
|
|
267
269
|
sx: { mt: 3 },
|
|
268
270
|
variant: "contained",
|
|
269
271
|
onClick: () => {
|
|
270
|
-
if (!
|
|
272
|
+
if (!l) {
|
|
271
273
|
h({ message: "Please select place of birth" });
|
|
272
274
|
return;
|
|
273
275
|
}
|
|
274
|
-
if (!
|
|
276
|
+
if (!a) {
|
|
275
277
|
h({ message: "Please provide address" });
|
|
276
278
|
return;
|
|
277
279
|
}
|
|
278
|
-
if (!
|
|
280
|
+
if (!d) {
|
|
279
281
|
h({ message: "Please provide city" });
|
|
280
282
|
return;
|
|
281
283
|
}
|
|
282
284
|
R({
|
|
283
285
|
...f,
|
|
284
|
-
placeOfBirth:
|
|
285
|
-
nationality:
|
|
286
|
-
occupation:
|
|
286
|
+
placeOfBirth: l,
|
|
287
|
+
nationality: a,
|
|
288
|
+
occupation: d,
|
|
287
289
|
employer: m
|
|
288
290
|
}), x(oe);
|
|
289
291
|
},
|
|
290
|
-
disabled: !
|
|
292
|
+
disabled: !l || !a || !d || !m,
|
|
291
293
|
fullWidth: !0,
|
|
292
294
|
children: /* @__PURE__ */ e("strong", { children: "Next" })
|
|
293
295
|
}
|
|
@@ -313,23 +315,23 @@ const Be = ({
|
|
|
313
315
|
configurationId: f,
|
|
314
316
|
incodeApiKey: R,
|
|
315
317
|
incodeApiUrl: x,
|
|
316
|
-
incodeOnBoardingUrl:
|
|
317
|
-
withContainer:
|
|
318
|
+
incodeOnBoardingUrl: i,
|
|
319
|
+
withContainer: n = !1,
|
|
318
320
|
successHandler: h,
|
|
319
321
|
updateScreen: g,
|
|
320
322
|
isModalView: p = !1,
|
|
321
|
-
kycFlow:
|
|
323
|
+
kycFlow: l
|
|
322
324
|
}) => {
|
|
323
|
-
const
|
|
324
|
-
|
|
325
|
+
const c = ge(!0), a = ue(), D = J((s) => s.user), d = J((s) => s.user.kyc), _ = J((s) => s.session.uuid), m = D.kyc, N = m.processComplete, P = {}, [C, Y] = r(P), [Z, K] = r({ token: "" }), [q, u] = r(
|
|
326
|
+
l === v ? k : ee
|
|
325
327
|
);
|
|
326
|
-
|
|
327
|
-
if (
|
|
328
|
-
|
|
328
|
+
F(() => {
|
|
329
|
+
if (c.current) {
|
|
330
|
+
c.current = !1;
|
|
329
331
|
return;
|
|
330
332
|
}
|
|
331
333
|
let s;
|
|
332
|
-
switch (
|
|
334
|
+
switch (q) {
|
|
333
335
|
case k:
|
|
334
336
|
s = ee;
|
|
335
337
|
break;
|
|
@@ -342,11 +344,11 @@ const Be = ({
|
|
|
342
344
|
default:
|
|
343
345
|
s = ee;
|
|
344
346
|
}
|
|
345
|
-
|
|
346
|
-
}, [g]),
|
|
347
|
+
u(s);
|
|
348
|
+
}, [g]), F(() => {
|
|
347
349
|
h && N && h();
|
|
348
|
-
}, [h, N])
|
|
349
|
-
const
|
|
350
|
+
}, [h, N]);
|
|
351
|
+
const z = {
|
|
350
352
|
gender: "",
|
|
351
353
|
email: "",
|
|
352
354
|
address: "",
|
|
@@ -364,12 +366,12 @@ const Be = ({
|
|
|
364
366
|
frequency: "",
|
|
365
367
|
reason: "",
|
|
366
368
|
source: ""
|
|
367
|
-
}, [t, O] = r(
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
}, [
|
|
369
|
+
}, [t, O] = r(z), [y, I] = r(Fe);
|
|
370
|
+
F(() => {
|
|
371
|
+
y.BANK_STATEMENT.file.length > 0 && b(y);
|
|
372
|
+
}, [y]);
|
|
371
373
|
const b = (s) => {
|
|
372
|
-
|
|
374
|
+
A(
|
|
373
375
|
t.isPoliticalExpose,
|
|
374
376
|
t.politicalExpose,
|
|
375
377
|
t.frequency,
|
|
@@ -379,10 +381,10 @@ const Be = ({
|
|
|
379
381
|
s,
|
|
380
382
|
!0
|
|
381
383
|
);
|
|
382
|
-
},
|
|
383
|
-
var W, E,
|
|
384
|
-
if (
|
|
385
|
-
|
|
384
|
+
}, A = (s, X, U, H, o, L, T, $ = !1) => {
|
|
385
|
+
var W, E, ie;
|
|
386
|
+
if (l !== be && !$) {
|
|
387
|
+
u(Te);
|
|
386
388
|
return;
|
|
387
389
|
}
|
|
388
390
|
if (!m.loader) {
|
|
@@ -398,18 +400,18 @@ const Be = ({
|
|
|
398
400
|
frequency: U,
|
|
399
401
|
reason: H,
|
|
400
402
|
source: o,
|
|
401
|
-
originFunds:
|
|
403
|
+
originFunds: L
|
|
402
404
|
}, Ee = {
|
|
403
405
|
frequency: U,
|
|
404
406
|
reason: H,
|
|
405
407
|
source: o,
|
|
406
|
-
originFunds:
|
|
407
|
-
},
|
|
408
|
-
kycFlow:
|
|
408
|
+
originFunds: L
|
|
409
|
+
}, ne = {
|
|
410
|
+
kycFlow: l,
|
|
409
411
|
email: t.email,
|
|
410
412
|
gender: t.gender,
|
|
411
413
|
birthPlace: (E = t.placeOfBirth) == null ? void 0 : E.alpha3,
|
|
412
|
-
nationality: (
|
|
414
|
+
nationality: (ie = t.nationality) == null ? void 0 : ie.alpha3,
|
|
413
415
|
occupation: t.occupation,
|
|
414
416
|
employer: t.employer,
|
|
415
417
|
residentialAddress: fe,
|
|
@@ -419,29 +421,29 @@ const Be = ({
|
|
|
419
421
|
token: Z.token
|
|
420
422
|
}
|
|
421
423
|
};
|
|
422
|
-
if (
|
|
423
|
-
const ae = Object.entries(
|
|
424
|
+
if (T) {
|
|
425
|
+
const ae = Object.entries(T).filter(([le, G]) => G.file && G.file.length > 0).map(([le, G]) => ({
|
|
424
426
|
file: G.file[0],
|
|
425
427
|
type: le
|
|
426
428
|
}));
|
|
427
|
-
ae.length > 0 && (
|
|
429
|
+
ae.length > 0 && (ne.eddDocuments = ae);
|
|
428
430
|
}
|
|
429
|
-
|
|
431
|
+
a(xe(ne));
|
|
430
432
|
}
|
|
431
|
-
},
|
|
433
|
+
}, M = {
|
|
432
434
|
INCODE_SCREEN: /* @__PURE__ */ e(
|
|
433
435
|
ye,
|
|
434
436
|
{
|
|
435
437
|
uuid: _,
|
|
436
438
|
successHandler: () => {
|
|
437
|
-
|
|
439
|
+
u(k);
|
|
438
440
|
},
|
|
439
441
|
configurationId: f,
|
|
440
442
|
apiKey: R,
|
|
441
443
|
apiUrl: x,
|
|
442
|
-
onBoardingUrl:
|
|
444
|
+
onBoardingUrl: i,
|
|
443
445
|
setDocumentsData: Y,
|
|
444
|
-
setIncodeSessionData:
|
|
446
|
+
setIncodeSessionData: K,
|
|
445
447
|
isModalView: p
|
|
446
448
|
}
|
|
447
449
|
),
|
|
@@ -449,17 +451,17 @@ const Be = ({
|
|
|
449
451
|
Be,
|
|
450
452
|
{
|
|
451
453
|
docData: C,
|
|
452
|
-
setScreen:
|
|
454
|
+
setScreen: u,
|
|
453
455
|
setUserInfo: O,
|
|
454
456
|
userInfo: t,
|
|
455
457
|
userEmail: D.profile.email,
|
|
456
|
-
kycFlow:
|
|
458
|
+
kycFlow: l
|
|
457
459
|
}
|
|
458
460
|
),
|
|
459
461
|
PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ e(
|
|
460
462
|
Le,
|
|
461
463
|
{
|
|
462
|
-
setScreen:
|
|
464
|
+
setScreen: u,
|
|
463
465
|
setUserInfo: O,
|
|
464
466
|
userInfo: t
|
|
465
467
|
}
|
|
@@ -467,26 +469,26 @@ const Be = ({
|
|
|
467
469
|
PEP_SCREEN: /* @__PURE__ */ e(
|
|
468
470
|
Ne,
|
|
469
471
|
{
|
|
470
|
-
setScreen:
|
|
472
|
+
setScreen: u,
|
|
471
473
|
setUserInfo: O,
|
|
472
474
|
userInfo: t,
|
|
473
|
-
processKyc:
|
|
475
|
+
processKyc: A,
|
|
474
476
|
processLoader: m.loader,
|
|
475
|
-
kycFlow:
|
|
477
|
+
kycFlow: l
|
|
476
478
|
}
|
|
477
479
|
),
|
|
478
480
|
EDD_SCREEN: /* @__PURE__ */ e(
|
|
479
481
|
Pe,
|
|
480
482
|
{
|
|
481
|
-
kycStoreData:
|
|
482
|
-
eddData:
|
|
483
|
-
setEddData:
|
|
483
|
+
kycStoreData: d,
|
|
484
|
+
eddData: y,
|
|
485
|
+
setEddData: I,
|
|
484
486
|
processKyc: b,
|
|
485
487
|
processLoader: m.loader
|
|
486
488
|
}
|
|
487
489
|
)
|
|
488
|
-
}[
|
|
489
|
-
return
|
|
490
|
+
}[q];
|
|
491
|
+
return n ? /* @__PURE__ */ e(Ce, { addPadding: !1, children: M }) : M;
|
|
490
492
|
}, Ct = Se(Ke);
|
|
491
493
|
export {
|
|
492
494
|
Te as E,
|
|
@@ -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 {
|
|
8
|
+
import { an as G } from "./constants-9grj4Du1.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-
|
|
10
|
+
import { b as te, e as ue, f as Pe, i as Me, d as Le, g as Ye } from "./order-Cs5_3wOs.js";
|
|
11
11
|
import { a as $, u as fe } from "./react-redux-B4BZippc.js";
|
|
12
|
-
import { P as qe, f as Ue } from "./PlayArrow-
|
|
13
|
-
import { h as Ke, u as $e } from "./wallet-
|
|
12
|
+
import { P as qe, f as Ue } from "./PlayArrow-C6lnbwD4.js";
|
|
13
|
+
import { h as Ke, u as $e } from "./wallet-nsVuNagB.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 {
|
|
19
|
+
import { u as Xe } from "./bank-Bp23LpvN.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";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as F, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as g } from "react";
|
|
3
3
|
import Oe from "./hoc/withThemeProvider.js";
|
|
4
|
-
import { P as we, f as Be } from "./PlayArrow-
|
|
4
|
+
import { P as we, f as Be } from "./PlayArrow-C6lnbwD4.js";
|
|
5
5
|
import { I as Le } from "./Info-BVeUSPyk.js";
|
|
6
6
|
import { G as Ve } from "./generic-token-B_ptO5yb.js";
|
|
7
7
|
import ne from "./components/RocketRamp/Shared/Input/index.js";
|
|
8
8
|
import { ID_TOKEN_SYMBOL as pe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as Ye, VISA_PAYMENT as We, VISA_PAYMENT_ACTIVE as Ke, SEPA_PAYMENT as qe, SEPA_PAYMENT_ACTIVE as $e, PAYMENT_BANK as he, SEPA_ICON as De, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as fe } from "./util/constants.js";
|
|
9
|
-
import {
|
|
10
|
-
import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-
|
|
9
|
+
import { aB as Ue, am as te } from "./constants-9grj4Du1.js";
|
|
10
|
+
import { d as Ge, e as Ce, f as je, h as He, g as ye } from "./order-Cs5_3wOs.js";
|
|
11
11
|
import { M as Xe } from "./tooltip-3UvETWtS.js";
|
|
12
12
|
import { getCurrencySymbol as Ne, removeExtraSpace as Qe, getOrionBalance as Je } from "./util/functions.js";
|
|
13
13
|
import oe from "./components/RocketRamp/Shared/Button/index.js";
|
|
@@ -19,7 +19,7 @@ import { C as I } from "./CircularProgress-xZA3lvba.js";
|
|
|
19
19
|
import { E as Ze } from "./ErrorOutline-CPQcnl2b.js";
|
|
20
20
|
import { s as xe, p as et, h as tt, v as rt } from "./index-ceeCtFuh.js";
|
|
21
21
|
import { u as nt, a as q } from "./react-redux-B4BZippc.js";
|
|
22
|
-
import { f as at } from "./cryptoAssets-
|
|
22
|
+
import { f as at } from "./cryptoAssets-Cf7xMoh9.js";
|
|
23
23
|
import it from "./components/RocketRamp/MinimalKyc/form.js";
|
|
24
24
|
import { useSnackBarContext as ot } from "./context/snackBarContext.js";
|
|
25
25
|
import { I as st } from "./TextField-DPpRUQe3.js";
|