everest-npm-features 0.0.53 → 0.0.54
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/components/Wallet/Account/ibanItem.js +134 -110
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +64 -63
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { jsx as e, Fragment as R, jsxs as
|
|
1
|
+
import { jsx as e, Fragment as R, jsxs as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useMemo as E, useEffect as M } from "react";
|
|
3
3
|
import "../../../constants-Dtk3Gd0Y.js";
|
|
4
4
|
import { v as ie } from "../../../order-DuPcaU0K.js";
|
|
5
5
|
import g from "../Shared/appButton.js";
|
|
6
6
|
import { C as le } from "../../../ContentCopy-coPwrEuz.js";
|
|
7
|
-
import { C as
|
|
7
|
+
import { C as L } from "../../../Close-CNwiMz_O.js";
|
|
8
8
|
import $ from "../../Shared/transition.js";
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import "../../../hoc/withThemeProvider.js";
|
|
11
11
|
import { u as j } from "../../../react-redux-C7I9-1M6.js";
|
|
12
|
-
import {
|
|
12
|
+
import { GBP_ISO3 as se, FEATURE_EWALLET as ce } from "../../../util/constants.js";
|
|
13
13
|
import "../Shared/Auth/otpForm.js";
|
|
14
14
|
import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
|
|
15
15
|
import "../../../util/conversions.js";
|
|
@@ -22,51 +22,51 @@ import "../../../moment-h96o7c8I.js";
|
|
|
22
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
23
|
import "../../../web3-u4qDZYpo.js";
|
|
24
24
|
import "../../../index-ceeCtFuh.js";
|
|
25
|
-
import
|
|
25
|
+
import ue from "../Shared/CardCorp/index.js";
|
|
26
26
|
import "../../../context/dialogContext.js";
|
|
27
|
-
import
|
|
27
|
+
import de from "./sendIban.js";
|
|
28
28
|
import { G as a } from "../../../Grid-CFe3amXO.js";
|
|
29
|
-
import { D as
|
|
29
|
+
import { D as G, a as V } from "../../../DialogContent-BMwlOnbW.js";
|
|
30
30
|
import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
|
|
31
31
|
import { T as v } from "../../../Typography-pAaje37G.js";
|
|
32
|
-
import { I as
|
|
33
|
-
import { B as
|
|
34
|
-
import { C as
|
|
35
|
-
const
|
|
32
|
+
import { I as D } from "../../../IconButton-DHm-hucF.js";
|
|
33
|
+
import { B as S } from "../../../Box-B0YSYLco.js";
|
|
34
|
+
import { C as me } from "../../../CircularProgress-xZA3lvba.js";
|
|
35
|
+
const c = ({
|
|
36
36
|
label: k,
|
|
37
|
-
value:
|
|
37
|
+
value: r,
|
|
38
38
|
showCopyBtn: T
|
|
39
39
|
}) => {
|
|
40
40
|
const { showAlertMessage: I } = q();
|
|
41
|
-
return /* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ o(R, { children: [
|
|
42
42
|
/* @__PURE__ */ e(a, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: k }) }),
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
T && /* @__PURE__ */ e(
|
|
46
|
-
navigator.clipboard.writeText(
|
|
43
|
+
/* @__PURE__ */ o(a, { size: 7, className: "fw500 text-left d-flex items-center", children: [
|
|
44
|
+
r,
|
|
45
|
+
T && /* @__PURE__ */ e(D, { onClick: () => {
|
|
46
|
+
navigator.clipboard.writeText(r), I({
|
|
47
47
|
message: `${k} has been copied successfully.`,
|
|
48
48
|
type: "success"
|
|
49
49
|
});
|
|
50
50
|
}, children: /* @__PURE__ */ e(le, { fontSize: "small", color: "primary" }) })
|
|
51
51
|
] })
|
|
52
52
|
] });
|
|
53
|
-
},
|
|
53
|
+
}, qe = ({
|
|
54
54
|
AccountItem: k,
|
|
55
|
-
data:
|
|
55
|
+
data: r,
|
|
56
56
|
appKey: T,
|
|
57
57
|
appKeyEur: I,
|
|
58
|
-
paymentWidgetSrcUrl:
|
|
59
|
-
dispatch:
|
|
58
|
+
paymentWidgetSrcUrl: u,
|
|
59
|
+
dispatch: F,
|
|
60
60
|
iban: J,
|
|
61
61
|
from: K
|
|
62
62
|
}) => {
|
|
63
|
-
var
|
|
64
|
-
const [Q,
|
|
63
|
+
var O;
|
|
64
|
+
const [Q, w] = s(!1), [X, U] = s(!1), [p, _] = s(!1), [W, N] = s(""), [x, f] = s(null), [P, h] = s(null), [d, i] = s(!1), { showAlertMessage: C } = q(), l = K === ce, y = j(
|
|
65
65
|
(t) => t.order
|
|
66
|
-
), A =
|
|
67
|
-
|
|
66
|
+
), A = y.v4Payment ?? null, b = y.v4PaymentLoader ?? !1, Y = j((t) => t.session.uuid), Z = () => {
|
|
67
|
+
N(""), f(null), h(null), i(!1), _(!0);
|
|
68
68
|
}, z = () => {
|
|
69
|
-
_(!1),
|
|
69
|
+
_(!1), N(""), f(null), h(null), i(!1);
|
|
70
70
|
}, ee = () => {
|
|
71
71
|
const t = Number(W);
|
|
72
72
|
if (!W || Number.isNaN(t) || t <= 0) {
|
|
@@ -91,7 +91,7 @@ const m = ({
|
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
const te = Math.round(t * 100);
|
|
94
|
-
|
|
94
|
+
F(
|
|
95
95
|
ie({
|
|
96
96
|
apiKey: I,
|
|
97
97
|
ccy: "EUR",
|
|
@@ -105,100 +105,114 @@ const m = ({
|
|
|
105
105
|
Z();
|
|
106
106
|
return;
|
|
107
107
|
}
|
|
108
|
-
|
|
109
|
-
}, n = E(() => A ?? null, [A]),
|
|
108
|
+
w(!0);
|
|
109
|
+
}, n = E(() => A ?? null, [A]), m = E(() => {
|
|
110
110
|
var t;
|
|
111
111
|
return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
|
|
112
|
-
}, [n]), B = ((
|
|
112
|
+
}, [n]), B = ((O = n == null ? void 0 : n.order) == null ? void 0 : O.order_id) ?? null, oe = E(() => u ? u.endsWith("/") ? u : `${u}/` : "", [u]), ne = E(() => P ? `/?paymentId=${encodeURIComponent(P)}` : "/", [P]);
|
|
113
113
|
return M(() => {
|
|
114
|
-
|
|
115
|
-
}, [
|
|
116
|
-
|
|
114
|
+
d && m && (f(m), h(B ?? null), i(!1));
|
|
115
|
+
}, [d, m, B]), M(() => {
|
|
116
|
+
d && p && (!m || x || (f(m), h(B ?? null), i(!1)));
|
|
117
117
|
}, [
|
|
118
|
-
u,
|
|
119
|
-
p,
|
|
120
118
|
d,
|
|
119
|
+
p,
|
|
120
|
+
m,
|
|
121
121
|
x,
|
|
122
122
|
B
|
|
123
123
|
]), M(() => {
|
|
124
|
-
l && (p || (
|
|
124
|
+
l && (p || (N(""), f(null), h(null)));
|
|
125
125
|
}, [l, p]), M(() => {
|
|
126
|
-
if (
|
|
126
|
+
if (d && !b) {
|
|
127
127
|
if (A) {
|
|
128
128
|
i(!1);
|
|
129
129
|
return;
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
message:
|
|
131
|
+
y.error && (C({
|
|
132
|
+
message: y.error,
|
|
133
133
|
type: "error"
|
|
134
134
|
}), i(!1));
|
|
135
135
|
}
|
|
136
|
-
}, [
|
|
137
|
-
|
|
136
|
+
}, [
|
|
137
|
+
d,
|
|
138
|
+
b,
|
|
139
|
+
A,
|
|
140
|
+
y.error,
|
|
141
|
+
C
|
|
142
|
+
]), /* @__PURE__ */ e(R, { children: r.accountNumber ? /* @__PURE__ */ o(R, { children: [
|
|
143
|
+
/* @__PURE__ */ e(k, { type: "iban", data: r, children: /* @__PURE__ */ o(a, { my: 1, spacing: 2, container: !0, children: [
|
|
138
144
|
/* @__PURE__ */ e(a, { size: { md: 6 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: re, children: l ? "Topup" : "Deposit" }) }),
|
|
139
|
-
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () =>
|
|
140
|
-
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () =>
|
|
145
|
+
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => U(!0), children: "Send" }) }),
|
|
146
|
+
/* @__PURE__ */ e(a, { size: { md: 3 }, children: /* @__PURE__ */ e(g, { fullWidth: !0, onClick: () => w(!0), children: "Receive" }) })
|
|
141
147
|
] }) }),
|
|
142
|
-
/* @__PURE__ */
|
|
143
|
-
|
|
148
|
+
/* @__PURE__ */ o(
|
|
149
|
+
G,
|
|
144
150
|
{
|
|
145
151
|
open: Q,
|
|
146
152
|
fullWidth: !0,
|
|
147
|
-
onClose: () =>
|
|
153
|
+
onClose: () => w(!1),
|
|
148
154
|
TransitionComponent: $,
|
|
149
155
|
maxWidth: "md",
|
|
150
156
|
children: [
|
|
151
|
-
/* @__PURE__ */
|
|
157
|
+
/* @__PURE__ */ o(H, { className: "buy-modal-text-color", children: [
|
|
152
158
|
/* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
|
|
153
159
|
/* @__PURE__ */ e(
|
|
154
|
-
|
|
160
|
+
D,
|
|
155
161
|
{
|
|
156
162
|
"aria-label": "close",
|
|
157
|
-
onClick: () =>
|
|
163
|
+
onClick: () => w(!1),
|
|
158
164
|
className: "menu-buttons",
|
|
159
|
-
children: /* @__PURE__ */ e(
|
|
165
|
+
children: /* @__PURE__ */ e(L, {})
|
|
160
166
|
}
|
|
161
167
|
)
|
|
162
168
|
] }),
|
|
163
|
-
/* @__PURE__ */
|
|
169
|
+
/* @__PURE__ */ o(V, { dividers: !0, children: [
|
|
164
170
|
/* @__PURE__ */ e(v, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
|
|
165
|
-
/* @__PURE__ */
|
|
171
|
+
/* @__PURE__ */ o(a, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
|
|
166
172
|
/* @__PURE__ */ e(
|
|
167
|
-
|
|
173
|
+
c,
|
|
168
174
|
{
|
|
169
175
|
label: "Account Title",
|
|
170
|
-
value: `${
|
|
176
|
+
value: `${r.ownerFirstName} ${r.ownerLastName}`
|
|
171
177
|
}
|
|
172
178
|
),
|
|
173
179
|
/* @__PURE__ */ e(
|
|
174
|
-
|
|
180
|
+
c,
|
|
175
181
|
{
|
|
176
182
|
label: "Bank Account Currency",
|
|
177
|
-
value:
|
|
183
|
+
value: r.currency || ""
|
|
178
184
|
}
|
|
179
185
|
),
|
|
180
|
-
/* @__PURE__ */ e(
|
|
186
|
+
/* @__PURE__ */ e(c, { label: "Bank Name", value: r.bankName || "" }),
|
|
181
187
|
/* @__PURE__ */ e(
|
|
182
|
-
|
|
188
|
+
c,
|
|
183
189
|
{
|
|
184
190
|
label: "Bank Address",
|
|
185
|
-
value:
|
|
191
|
+
value: r.bankBranchAddress || "",
|
|
186
192
|
showCopyBtn: !0
|
|
187
193
|
}
|
|
188
194
|
),
|
|
189
195
|
/* @__PURE__ */ e(
|
|
190
|
-
|
|
196
|
+
c,
|
|
191
197
|
{
|
|
192
198
|
label: "Virtual IBAN",
|
|
193
|
-
value:
|
|
199
|
+
value: r.accountNumber || "",
|
|
200
|
+
showCopyBtn: !0
|
|
201
|
+
}
|
|
202
|
+
),
|
|
203
|
+
r.currency === se && /* @__PURE__ */ e(
|
|
204
|
+
c,
|
|
205
|
+
{
|
|
206
|
+
label: "Sort Code",
|
|
207
|
+
value: r.sortCode || "",
|
|
194
208
|
showCopyBtn: !0
|
|
195
209
|
}
|
|
196
210
|
),
|
|
197
211
|
/* @__PURE__ */ e(
|
|
198
|
-
|
|
212
|
+
c,
|
|
199
213
|
{
|
|
200
214
|
label: "BIC/Swift Code",
|
|
201
|
-
value:
|
|
215
|
+
value: r.bicCode || "",
|
|
202
216
|
showCopyBtn: !0
|
|
203
217
|
}
|
|
204
218
|
)
|
|
@@ -207,8 +221,8 @@ const m = ({
|
|
|
207
221
|
]
|
|
208
222
|
}
|
|
209
223
|
),
|
|
210
|
-
l && /* @__PURE__ */
|
|
211
|
-
|
|
224
|
+
l && /* @__PURE__ */ o(
|
|
225
|
+
G,
|
|
212
226
|
{
|
|
213
227
|
open: p,
|
|
214
228
|
fullWidth: !0,
|
|
@@ -216,29 +230,29 @@ const m = ({
|
|
|
216
230
|
onClose: z,
|
|
217
231
|
TransitionComponent: $,
|
|
218
232
|
children: [
|
|
219
|
-
/* @__PURE__ */
|
|
233
|
+
/* @__PURE__ */ o(H, { className: "buy-modal-text-color", children: [
|
|
220
234
|
/* @__PURE__ */ e(v, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
|
|
221
235
|
/* @__PURE__ */ e(
|
|
222
|
-
|
|
236
|
+
D,
|
|
223
237
|
{
|
|
224
238
|
"aria-label": "close",
|
|
225
239
|
onClick: z,
|
|
226
240
|
className: "menu-buttons",
|
|
227
|
-
children: /* @__PURE__ */ e(
|
|
241
|
+
children: /* @__PURE__ */ e(L, {})
|
|
228
242
|
}
|
|
229
243
|
)
|
|
230
244
|
] }),
|
|
231
|
-
/* @__PURE__ */ e(
|
|
245
|
+
/* @__PURE__ */ e(V, { dividers: !0, children: x ? /* @__PURE__ */ o(S, { mt: 2, children: [
|
|
232
246
|
/* @__PURE__ */ e(v, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
|
|
233
247
|
/* @__PURE__ */ e(
|
|
234
|
-
|
|
248
|
+
ue,
|
|
235
249
|
{
|
|
236
250
|
checkoutId: x,
|
|
237
251
|
srcUrl: oe,
|
|
238
252
|
onResultUrl: ne
|
|
239
253
|
}
|
|
240
254
|
)
|
|
241
|
-
] }) : /* @__PURE__ */
|
|
255
|
+
] }) : /* @__PURE__ */ o(R, { children: [
|
|
242
256
|
/* @__PURE__ */ e(v, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
|
|
243
257
|
/* @__PURE__ */ e(
|
|
244
258
|
ae,
|
|
@@ -246,56 +260,65 @@ const m = ({
|
|
|
246
260
|
label: "Topup Amount",
|
|
247
261
|
type: "number",
|
|
248
262
|
value: W,
|
|
249
|
-
onChangeHandler: (t) =>
|
|
263
|
+
onChangeHandler: (t) => N(t),
|
|
250
264
|
inputProps: { min: "0", step: "0.01" }
|
|
251
265
|
}
|
|
252
266
|
),
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
267
|
+
/* @__PURE__ */ o(
|
|
268
|
+
S,
|
|
269
|
+
{
|
|
270
|
+
mt: 4,
|
|
271
|
+
display: "flex",
|
|
272
|
+
justifyContent: "flex-end",
|
|
273
|
+
gap: 2,
|
|
274
|
+
children: [
|
|
275
|
+
/* @__PURE__ */ e(
|
|
276
|
+
g,
|
|
277
|
+
{
|
|
278
|
+
variantType: "secondary",
|
|
279
|
+
onClick: z,
|
|
280
|
+
disabled: b,
|
|
281
|
+
children: "Cancel"
|
|
282
|
+
}
|
|
283
|
+
),
|
|
284
|
+
/* @__PURE__ */ e(
|
|
285
|
+
g,
|
|
286
|
+
{
|
|
287
|
+
onClick: ee,
|
|
288
|
+
disabled: b,
|
|
289
|
+
children: /* @__PURE__ */ o("strong", { children: [
|
|
290
|
+
b ? /* @__PURE__ */ e(
|
|
291
|
+
me,
|
|
292
|
+
{
|
|
293
|
+
size: 18,
|
|
294
|
+
color: "inherit",
|
|
295
|
+
sx: { mr: 1 }
|
|
296
|
+
}
|
|
297
|
+
) : null,
|
|
298
|
+
"Confirm Topup"
|
|
299
|
+
] })
|
|
300
|
+
}
|
|
301
|
+
)
|
|
302
|
+
]
|
|
303
|
+
}
|
|
304
|
+
)
|
|
282
305
|
] }) })
|
|
283
306
|
]
|
|
284
307
|
}
|
|
285
308
|
),
|
|
286
309
|
/* @__PURE__ */ e(
|
|
287
|
-
|
|
310
|
+
de,
|
|
288
311
|
{
|
|
289
312
|
iban: J,
|
|
290
|
-
data:
|
|
291
|
-
dispatch:
|
|
313
|
+
data: r,
|
|
314
|
+
dispatch: F,
|
|
292
315
|
appKey: T,
|
|
293
316
|
openModal: X,
|
|
294
|
-
setOpenModal:
|
|
317
|
+
setOpenModal: U
|
|
295
318
|
}
|
|
296
319
|
)
|
|
297
|
-
] }) : /* @__PURE__ */
|
|
298
|
-
|
|
320
|
+
] }) : /* @__PURE__ */ o(
|
|
321
|
+
S,
|
|
299
322
|
{
|
|
300
323
|
className: "text-center",
|
|
301
324
|
sx: {
|
|
@@ -306,11 +329,12 @@ const m = ({
|
|
|
306
329
|
borderRadius: "5px"
|
|
307
330
|
},
|
|
308
331
|
children: [
|
|
309
|
-
/* @__PURE__ */
|
|
310
|
-
|
|
332
|
+
/* @__PURE__ */ o("p", { children: [
|
|
333
|
+
r.currency,
|
|
311
334
|
" ",
|
|
312
335
|
l ? "E-Wallet" : "Virtual IBAN",
|
|
313
|
-
" creation is in progress. Please wait while we generate your
|
|
336
|
+
" creation is in progress. Please wait while we generate your",
|
|
337
|
+
" ",
|
|
314
338
|
l ? "E-Wallet" : "Virtual IBAN",
|
|
315
339
|
"."
|
|
316
340
|
] }),
|
|
@@ -320,5 +344,5 @@ const m = ({
|
|
|
320
344
|
) });
|
|
321
345
|
};
|
|
322
346
|
export {
|
|
323
|
-
|
|
347
|
+
qe as default
|
|
324
348
|
};
|
package/dist/util/constants.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export declare const US_DOLLAR_SIGN = "$";
|
|
|
42
42
|
export declare const EURO_SIGN = "\u20AC";
|
|
43
43
|
export declare const US_DOLLAR_ISO3 = "USD";
|
|
44
44
|
export declare const EURO_ISO3 = "EUR";
|
|
45
|
+
export declare const GBP_ISO3 = "GBP";
|
|
45
46
|
export declare const BINANCE_NETWORK = "Binance";
|
|
46
47
|
export declare const POLYGON_NETWORK = "Polygon";
|
|
47
48
|
export declare const EVER_CHAIN_NETWORK = "EverChain";
|
package/dist/util/constants.js
CHANGED
|
@@ -1,101 +1,102 @@
|
|
|
1
|
-
const _ = "https://static-assets.everest.org", o = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", E = t + "/sell-withdraw.png", e = t + "/back-btn.png", c = t + "/delete.png", T = n + "/history-buy.svg", A = n + "/history-sell.svg", a = n + "/history-swap.svg", I = t + "/wallet-icon.png", O = t + "/stake-id.png", N = s + "/stake-gem.png", S = n + "/swap-receive-down-arrow.svg", R = t + "/sepa-payment.png", r = t + "/sepa-payment-selected.png", i = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", P = t + "/sepa.png", C = t + "/visa.png", D = t + "/dialog-error.png", d = t + "/dialog-success.png", p = n + "/expand-down-arrow.svg", Y = n + "/expand-right-arrow.svg", M = n + "/back-arrow.svg", g = n + "/right-arrow.svg", l = n + "/radio-button.svg", K = n + "/radio-button-selected.svg", U = n + "/sepa.png", u = n + "/sepa-selected.png",
|
|
1
|
+
const _ = "https://static-assets.everest.org", o = _ + "/web/widget", n = _ + "/web/enterprise", s = _ + "/web/wallet/images", t = s + "/new", E = t + "/sell-withdraw.png", e = t + "/back-btn.png", c = t + "/delete.png", T = n + "/history-buy.svg", A = n + "/history-sell.svg", a = n + "/history-swap.svg", I = t + "/wallet-icon.png", O = t + "/stake-id.png", N = s + "/stake-gem.png", S = n + "/swap-receive-down-arrow.svg", R = t + "/sepa-payment.png", r = t + "/sepa-payment-selected.png", i = t + "/visa-payment.png", L = t + "/visa-payment-selected.png", P = t + "/sepa.png", C = t + "/visa.png", D = t + "/dialog-error.png", d = t + "/dialog-success.png", p = n + "/expand-down-arrow.svg", Y = n + "/expand-right-arrow.svg", M = n + "/back-arrow.svg", g = n + "/right-arrow.svg", l = n + "/radio-button.svg", K = n + "/radio-button-selected.svg", U = n + "/sepa.png", u = n + "/sepa-selected.png", B = n + "/visa.png", h = n + "/visa-selected.png", v = t + "/cloud-icon.png", W = t + "/storage-success.png", y = "railsbank", m = "open_payd", w = "checkout", G = "trustpayments", V = "paysafe", b = "cardcorp", k = "plaid", H = "$", F = "€", f = "USD", $ = "EUR", X = "GBP", x = "Binance", j = "Polygon", z = "EverChain", Z = "IDChain", q = "Ethereum", J = "Avalanche", Q = "USD.c", tt = "EUR.c", nt = "EURE.c", _t = "BTC.c", st = "GEMS.c", ot = "ID", Et = "GEMS", et = "USDR.c", ct = "fiat_to_token", Tt = "fiat_to_everid", At = "token_to_fiat", at = "token_to_token", It = "withdraw", Ot = "iban_creation", Nt = "bank_transfer", St = "bank_deposit", Rt = "Created", rt = "In Process", it = "Completed", Lt = "Failed", Pt = "Awaiting Approved", Ct = "Rejected", Dt = "ID", dt = "GEMS", pt = 90, Yt = 3, Mt = 180, gt = 8, lt = 365, Kt = 18, Ut = 365, ut = 20, Bt = "Linked Wallets make transactions easier, automating the signing process during Sell, Swap, Stake, Send and Remit transactions because you have backed up your Private Key with Everest.", ht = "Connected Wallets are those that you have demonstrated you control, but you must manually move tokens as the system can not do so without the Private Key.", vt = "The rate shown here is an estimate and the rate you receive will be determined at the time when your payment is settled. The time taken for your payment to settle can vary depending on currency and payment method.", Wt = 300, yt = "username can only contain letters, numbers, underscores & cannot exceed more than 13 characters", mt = "_rr", wt = "credit_debit_card", Gt = "sepa_bank_transfer", Vt = "player", bt = "store", kt = "login_screen", Ht = "register_screen", Ft = "Individual", ft = "Organization", $t = "Over $100,000", Xt = "Over $1,000 & Under $100,000", xt = "Under $1,000", jt = "Declined", zt = "You are allowed to transact up to $10,000", Zt = "You are allowed to transact more than $10,000", qt = "eWallet", Jt = "Virtual IBAN";
|
|
2
2
|
export {
|
|
3
3
|
S as ARROW_ICON,
|
|
4
|
-
|
|
4
|
+
J as AVALANCHE_NETWORK,
|
|
5
5
|
M as BACK_ARROW,
|
|
6
6
|
e as BACK_BTN_ICON,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
St as BANK_DEPOSIT,
|
|
8
|
+
Nt as BANK_TRANSFER,
|
|
9
|
+
x as BINANCE_NETWORK,
|
|
10
|
+
_t as BTC_TOKEN_SYMBOL,
|
|
11
|
+
jt as CARD_PAYMENT_DECLINE,
|
|
12
|
+
v as CLOUD_ICON,
|
|
13
13
|
ht as CONNECTED_WALLET_TOOLTIP,
|
|
14
14
|
c as DELETE_ICON,
|
|
15
15
|
D as DIALOG_ERROR_ICON,
|
|
16
16
|
d as DIALOG_SUCCESS_ICON,
|
|
17
17
|
U as ENT_SEPA_PAYMENT,
|
|
18
18
|
u as ENT_SEPA_PAYMENT_ACTIVE,
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
B as ENT_VISA_PAYMENT,
|
|
20
|
+
h as ENT_VISA_PAYMENT_ACTIVE,
|
|
21
21
|
vt as ESTIMATE_TOOLTIP_TEXT,
|
|
22
|
-
|
|
22
|
+
q as ETHEREUM_NETWORK,
|
|
23
23
|
$ as EURO_ISO3,
|
|
24
24
|
F as EURO_SIGN,
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
z as EVER_CHAIN_NETWORK,
|
|
26
|
+
qt as FEATURE_EWALLET,
|
|
27
|
+
Jt as FEATURE_VIRTUAL_IBAN,
|
|
28
|
+
Tt as FIAT_TO_EVER_ID,
|
|
29
|
+
ct as FIAT_TO_TOKEN,
|
|
30
|
+
It as FIAT_WITHDRAW,
|
|
31
|
+
X as GBP_ISO3,
|
|
32
|
+
dt as GEMS_STAKE,
|
|
33
|
+
Et as GEMS_TOKEN_SYMBOL,
|
|
34
|
+
st as GEM_SYNTHETIC_TOKEN_SYMBOL,
|
|
34
35
|
T as HISTORY_BUY_ICON,
|
|
35
36
|
A as HISTORY_SELL_ICON,
|
|
36
37
|
a as HISTORY_SWAP_ICON,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
38
|
+
Ot as IBAN_CREATION,
|
|
39
|
+
Z as ID_CHAIN_NETWORK,
|
|
40
|
+
Dt as ID_STAKE,
|
|
41
|
+
ot as ID_TOKEN_SYMBOL,
|
|
42
|
+
Ft as INDIVIDUAL_KYC_TYPE,
|
|
43
|
+
zt as KYC_APROVED_TOOLTIP,
|
|
44
|
+
Xt as KYC_BETWEEN_TRANSATION,
|
|
45
|
+
Zt as KYC_ELITE_TOOLTIP,
|
|
46
|
+
$t as KYC_OVER_TRANSATION,
|
|
47
|
+
xt as KYC_UNDER_TRANSATION,
|
|
48
|
+
Bt as LINKED_WALLET_TOOLTIP,
|
|
49
|
+
kt as LOGIN_SCREEN,
|
|
50
|
+
ft as ORGANIZATION_KYC_TYPE,
|
|
51
|
+
Gt as PAYMENT_BANK,
|
|
52
|
+
wt as PAYMENT_CARD,
|
|
52
53
|
b as PAYMENT_PROVIDER_CARDCORP,
|
|
53
54
|
w as PAYMENT_PROVIDER_CHECKOUT,
|
|
54
55
|
m as PAYMENT_PROVIDER_OPENPAYD,
|
|
55
|
-
|
|
56
|
+
V as PAYMENT_PROVIDER_PAYSAFE,
|
|
56
57
|
k as PAYMENT_PROVIDER_PLAID,
|
|
57
58
|
y as PAYMENT_PROVIDER_RAILSBANK,
|
|
58
|
-
|
|
59
|
+
G as PAYMENT_PROVIDER_TRUST_PAYMENTS,
|
|
59
60
|
Vt as PLAYER_WEBSITE,
|
|
60
|
-
|
|
61
|
+
j as POLYGON_NETWORK,
|
|
61
62
|
p as PORTFOLIO_TOKEN_DOWN_ARROW,
|
|
62
63
|
Y as PORTFOLIO_TOKEN_RIGHT_ARROW,
|
|
63
64
|
l as RADIO_BUTTON,
|
|
64
65
|
K as RADIO_BUTTON_SELECTED,
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
Ht as REGISTER_SCREEN,
|
|
67
|
+
Wt as RESEND_EMAIL_TIMER,
|
|
67
68
|
g as RIGHT_ARROW,
|
|
68
69
|
E as SELL_WITHDRAW_ICON,
|
|
69
70
|
P as SEPA_ICON,
|
|
70
71
|
R as SEPA_PAYMENT,
|
|
71
72
|
r as SEPA_PAYMENT_ACTIVE,
|
|
72
73
|
N as STAKE_GEM_ICON,
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
ut as STAKE_GEM_MAX_APY,
|
|
75
|
+
Ut as STAKE_GEM_MAX_DAYS,
|
|
75
76
|
O as STAKE_ID_ICON,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
Kt as STAKE_ID_MAX_APY,
|
|
78
|
+
lt as STAKE_ID_MAX_DAYS,
|
|
79
|
+
gt as STAKE_ID_MID_APY,
|
|
80
|
+
Mt as STAKE_ID_MID_DAYS,
|
|
81
|
+
Yt as STAKE_ID_MIN_APY,
|
|
82
|
+
pt as STAKE_ID_MIN_DAYS,
|
|
82
83
|
_ as STATIC_ASSETS_BASE_URL,
|
|
83
84
|
W as STORAGE_SUCCESS,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
85
|
+
bt as STORE_WEBSITE,
|
|
86
|
+
tt as SYNTHETIC_EUR,
|
|
87
|
+
nt as SYNTHETIC_EURE,
|
|
88
|
+
Q as SYNTHETIC_USD,
|
|
89
|
+
At as TOKEN_TO_FIAT,
|
|
90
|
+
at as TOKEN_TO_TOKEN,
|
|
91
|
+
it as TS_COMPLETE_LABEL,
|
|
92
|
+
Rt as TS_CREATED_LABEL,
|
|
93
|
+
Lt as TS_FAIL_LABEL,
|
|
94
|
+
Ct as TS_NOT_APPROVAL_LABEL,
|
|
95
|
+
rt as TS_PENDING_LABEL,
|
|
96
|
+
Pt as TS_WAIT_APPROVAL_LABEL,
|
|
97
|
+
et as USDR_TOKEN_SYMBOL,
|
|
98
|
+
mt as USERNAME_SUFFIX,
|
|
99
|
+
yt as USERNAME_TOOLTIP,
|
|
99
100
|
f as US_DOLLAR_ISO3,
|
|
100
101
|
H as US_DOLLAR_SIGN,
|
|
101
102
|
C as VISA_ICON,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "everest-npm-features",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.54",
|
|
4
4
|
"description": "Everest frontend features library.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@mui/icons-material": "^7.2.0",
|
|
33
33
|
"@mui/material": "^7.2.0",
|
|
34
34
|
"@walletconnect/ethereum-provider": "^2.17.1",
|
|
35
|
-
"everest-npm-api": "^0.0.
|
|
35
|
+
"everest-npm-api": "^0.0.40",
|
|
36
36
|
"frames-react": "^1.2.2",
|
|
37
37
|
"moment": "^2.30.1",
|
|
38
38
|
"mui-one-time-password-input": "^5.0.0",
|