everest-npm-features 0.0.63 → 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/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-BBeOw4mt.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.js +15 -540
- package/dist/components/Wallet/Account/eWallet.js +7 -7
- package/dist/components/Wallet/Account/iban.js +77 -56
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.js +216 -181
- 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 +11 -11
- 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 +37 -37
- package/dist/components/Wallet/Profile/index.js +5 -5
- package/dist/components/Wallet/Profile/storage.js +14 -14
- 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/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 +34 -31
- package/dist/components/Wallet/Stake/id/index.js +12 -9
- 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-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
- package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-HVb0GFsa.js +0 -37
- package/dist/index-CTPMPwYK.js +0 -533
- package/dist/styles.module-C1sNeKjL.js +0 -22
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as _, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as
|
|
2
|
+
import { useRef as be, useMemo as Ve, useState as p, useEffect as h } from "react";
|
|
3
3
|
import Je from "./hoc/withThemeProvider.js";
|
|
4
4
|
import { u as C } from "./react-redux-C7I9-1M6.js";
|
|
5
|
-
import { Box as F, Grid as s, Typography as m, FormControl as T, FilledInput as P, FormHelperText as
|
|
6
|
-
import { P as Qe } from "./PlayArrow-
|
|
5
|
+
import { Box as F, Grid as s, Typography as m, FormControl as T, FilledInput as P, FormHelperText as Ne, CircularProgress as g, InputLabel as V, Select as J, MenuItem as M, ListItemIcon as ve, IconButton as _e } from "@mui/material";
|
|
6
|
+
import { P as Qe } from "./PlayArrow-WUr_Eyo1.js";
|
|
7
7
|
import { I as Ze } from "./Info-DOoRR7sR.js";
|
|
8
8
|
import { G as et } from "./generic-token-B_ptO5yb.js";
|
|
9
|
-
import { getCentralLedgetNetwork as Q, getNetworkBackGround as
|
|
10
|
-
import
|
|
11
|
-
import { formatNumberWithoutRounding as
|
|
12
|
-
import {
|
|
13
|
-
import { c as ot, d as nt } from "./index-
|
|
14
|
-
import { f as rt, a as at, b as st } from "./cryptoAssets-
|
|
15
|
-
import { b as
|
|
16
|
-
import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as
|
|
9
|
+
import { getCentralLedgetNetwork as Q, getNetworkBackGround as Ce, getCurrencySymbol as tt } from "./util/functions.js";
|
|
10
|
+
import Se from "./components/Wallet/Shared/TokenModal/index.js";
|
|
11
|
+
import { formatNumberWithoutRounding as ke } from "./util/conversions.js";
|
|
12
|
+
import { ah as A } from "./constants-BRS2liAt.js";
|
|
13
|
+
import { c as ot, d as nt } from "./index-CREgBh59.js";
|
|
14
|
+
import { f as rt, a as at, b as st } from "./cryptoAssets-BD0cJpXM.js";
|
|
15
|
+
import { b as ee, c as we, d as it, e as lt, f as ct, g as mt } from "./order-DBuLYKfx.js";
|
|
16
|
+
import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as te, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
|
|
17
17
|
import { M as ft } from "./tooltip-BW0UyWw7.js";
|
|
18
18
|
import "./index-DlQqWbXG.js";
|
|
19
19
|
import Ie from "./components/Wallet/Shared/appButton.js";
|
|
20
|
-
import "./otpForm-
|
|
20
|
+
import "./otpForm-DhVp5Gvi.js";
|
|
21
21
|
import { useSnackBarContext as ht } from "./context/snackBarContext.js";
|
|
22
22
|
import Re from "./hooks/useEverestDispatch.js";
|
|
23
23
|
import "./index-CAoLi5Qq.js";
|
|
@@ -27,13 +27,13 @@ import "./moment-h96o7c8I.js";
|
|
|
27
27
|
import "./index.esm-BsMAMhYW.js";
|
|
28
28
|
import "./web3-u4qDZYpo.js";
|
|
29
29
|
import { s as i } from "./styles.module-DMd29SPQ.js";
|
|
30
|
-
import
|
|
30
|
+
import Z from "./components/Wallet/Shared/Order/selectCustomIcon.js";
|
|
31
31
|
import "./index-ceeCtFuh.js";
|
|
32
|
-
import { u as xt, a as gt } from "./wallet-
|
|
32
|
+
import { u as xt, a as gt } from "./wallet-BLx0XKpK.js";
|
|
33
33
|
import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
|
|
34
34
|
import bt from "./components/Shared/MinimalKyc/index.js";
|
|
35
35
|
import Nt from "./components/Wallet/Shared/Input/index.js";
|
|
36
|
-
import { M as vt } from "./index-
|
|
36
|
+
import { M as vt } from "./index-BUtxhHso.js";
|
|
37
37
|
import "./index.esm-I_Bp2YLf.js";
|
|
38
38
|
import { useDialogContext as _t } from "./context/dialogContext.js";
|
|
39
39
|
import "@mui/icons-material";
|
|
@@ -45,24 +45,24 @@ const Ct = ({
|
|
|
45
45
|
setWalletAddress: y,
|
|
46
46
|
setScreen: U
|
|
47
47
|
}) => {
|
|
48
|
-
var
|
|
49
|
-
const q =
|
|
48
|
+
var ge, ye;
|
|
49
|
+
const q = be(null), z = be(null), { openDialog: S } = _t(), d = C((t) => t.order), b = C(
|
|
50
50
|
(t) => t.cryptoAssets
|
|
51
|
-
), E = C(ot), N = C(nt), { data: L, loader: Fe } = E, { data:
|
|
51
|
+
), E = C(ot), N = C(nt), { data: L, loader: Fe } = E, { data: oe, loader: Te } = N, Me = Ve(() => [
|
|
52
52
|
...L,
|
|
53
|
-
...
|
|
53
|
+
...oe.filter(
|
|
54
54
|
(t) => !L.some(
|
|
55
55
|
(r) => r.address.toLowerCase() === t.address.toLowerCase()
|
|
56
56
|
)
|
|
57
57
|
)
|
|
58
|
-
], [L,
|
|
59
|
-
let
|
|
60
|
-
const
|
|
61
|
-
for (let t = 0; t <
|
|
62
|
-
const r =
|
|
63
|
-
r.name === "ev_fee" ?
|
|
58
|
+
], [L, oe]), B = b.featureTokens.swap.inputList, o = b.featureTokens.swap.inputDefault, I = b.featureTokens.swap.outputList, n = b.featureTokens.swap.outputDefault, W = b.loader, K = d.error, R = d.create.order_id, O = d.loader, ne = d.depositAddress, re = d.depositAddressError, u = d.estimate[A], D = u.output_token.amount, ae = u.conversion_price, Ae = u.total_fee, $ = Number((ge = u == null ? void 0 : u.input_token) == null ? void 0 : ge.fiat_amount), se = Number((ye = u == null ? void 0 : u.output_token) == null ? void 0 : ye.fiat_amount);
|
|
59
|
+
let ie = 0, le = 0;
|
|
60
|
+
const ce = u.fee_breakdown;
|
|
61
|
+
for (let t = 0; t < ce.length; t++) {
|
|
62
|
+
const r = ce[t];
|
|
63
|
+
r.name === "ev_fee" ? ie = Number(r.value) : r.name === "network_fee" && (le = Number(r.value));
|
|
64
64
|
}
|
|
65
|
-
const [v, Y] = p("0.05"), [G, ze] = p(!1), [Le,
|
|
65
|
+
const [v, Y] = p("0.05"), [G, ze] = p(!1), [Le, me] = p(!1), [We, de] = p(!1), [ue, Oe] = p(!1), [j, pe] = p(!1), [H, De] = p(50), [$e, Pe] = p(1e4), [fe, Ue] = p(""), qe = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, X = tt("USD"), f = Re(), Be = (t) => {
|
|
66
66
|
f(at(t));
|
|
67
67
|
}, Ke = (t) => {
|
|
68
68
|
f(st(t));
|
|
@@ -74,21 +74,21 @@ const Ct = ({
|
|
|
74
74
|
message: "Your transaction was successful for more details on the transaction, please view your transaction history.",
|
|
75
75
|
cancelButtonText: "Swap again",
|
|
76
76
|
onCancel: () => {
|
|
77
|
-
f(
|
|
77
|
+
f(ee()), pe(!1);
|
|
78
78
|
},
|
|
79
79
|
confirmButtonText: "Track Order",
|
|
80
80
|
onConfirm: () => {
|
|
81
|
-
w && w("/history"), f(
|
|
81
|
+
w && w("/history"), f(ee());
|
|
82
82
|
},
|
|
83
83
|
height: "490px"
|
|
84
|
-
}) : f(
|
|
84
|
+
}) : f(we(R)));
|
|
85
85
|
}, [R]), h(() => {
|
|
86
|
-
|
|
87
|
-
f(
|
|
86
|
+
re > 0 && (q.current = setTimeout(() => {
|
|
87
|
+
f(we(R));
|
|
88
88
|
}, 1e4));
|
|
89
|
-
}, [
|
|
90
|
-
|
|
91
|
-
}, [
|
|
89
|
+
}, [re, R]), h(() => {
|
|
90
|
+
ne && U(St);
|
|
91
|
+
}, [ne]), h(() => {
|
|
92
92
|
const t = z.current;
|
|
93
93
|
(t == null ? void 0 : t.id) === o.id && (t == null ? void 0 : t.wallet) === l || (l && (z.current = { id: o.id, wallet: l }), f(
|
|
94
94
|
rt({
|
|
@@ -104,7 +104,7 @@ const Ct = ({
|
|
|
104
104
|
if (t > 0)
|
|
105
105
|
for (let r = 0; r < t; r++) {
|
|
106
106
|
const x = d.types[r];
|
|
107
|
-
if (x.type ===
|
|
107
|
+
if (x.type === te) {
|
|
108
108
|
De(parseFloat(x.min_deposit_amount)), Pe(parseFloat(x.max_deposit_amount));
|
|
109
109
|
break;
|
|
110
110
|
}
|
|
@@ -125,7 +125,7 @@ const Ct = ({
|
|
|
125
125
|
lt(
|
|
126
126
|
{
|
|
127
127
|
apiKey: k,
|
|
128
|
-
transaction_type:
|
|
128
|
+
transaction_type: te,
|
|
129
129
|
coin_amount: v,
|
|
130
130
|
input_token: o.symbol,
|
|
131
131
|
input_token_network: Q(
|
|
@@ -145,13 +145,13 @@ const Ct = ({
|
|
|
145
145
|
y && y(t);
|
|
146
146
|
}, je = (t) => {
|
|
147
147
|
const r = t.target.value;
|
|
148
|
-
r ? /^([0-9.]+)$/.test(r) && Y(
|
|
149
|
-
},
|
|
148
|
+
r ? /^([0-9.]+)$/.test(r) && Y(ke(r, 8)) : Y("");
|
|
149
|
+
}, he = (t) => {
|
|
150
150
|
if (I) {
|
|
151
151
|
const r = I.find((x) => x.symbol === t);
|
|
152
152
|
Ke(r);
|
|
153
153
|
}
|
|
154
|
-
},
|
|
154
|
+
}, xe = (t) => {
|
|
155
155
|
const r = B.find((x) => x.symbol === t);
|
|
156
156
|
Be(r);
|
|
157
157
|
}, He = () => {
|
|
@@ -187,7 +187,7 @@ const Ct = ({
|
|
|
187
187
|
}), !1;
|
|
188
188
|
if (j)
|
|
189
189
|
return !1;
|
|
190
|
-
|
|
190
|
+
pe(!0), f(
|
|
191
191
|
ct({
|
|
192
192
|
apiKey: k,
|
|
193
193
|
quoteId: u.quote_id,
|
|
@@ -195,7 +195,7 @@ const Ct = ({
|
|
|
195
195
|
})
|
|
196
196
|
);
|
|
197
197
|
}, Xe = () => {
|
|
198
|
-
o && Y(
|
|
198
|
+
o && Y(ke(o.fmt_balance + "", 8));
|
|
199
199
|
};
|
|
200
200
|
return /* @__PURE__ */ a(_, { children: [
|
|
201
201
|
/* @__PURE__ */ a(F, { children: [
|
|
@@ -246,7 +246,7 @@ const Ct = ({
|
|
|
246
246
|
fullWidth: !0
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
|
-
/* @__PURE__ */ e(
|
|
249
|
+
/* @__PURE__ */ e(Ne, { className: i["crypto-helper-text"], children: $ > 0 ? "$" + ($ * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
|
|
250
250
|
]
|
|
251
251
|
}
|
|
252
252
|
) }),
|
|
@@ -260,14 +260,14 @@ const Ct = ({
|
|
|
260
260
|
(o == null ? void 0 : o.network) && /* @__PURE__ */ e(
|
|
261
261
|
V,
|
|
262
262
|
{
|
|
263
|
-
className: `${i["network-label"]} ${i[
|
|
263
|
+
className: `${i["network-label"]} ${i[Ce(o == null ? void 0 : o.network.name)]}`,
|
|
264
264
|
children: Q(o == null ? void 0 : o.network.name)
|
|
265
265
|
}
|
|
266
266
|
),
|
|
267
267
|
/* @__PURE__ */ a(
|
|
268
268
|
J,
|
|
269
269
|
{
|
|
270
|
-
IconComponent:
|
|
270
|
+
IconComponent: Z,
|
|
271
271
|
input: /* @__PURE__ */ e(P, { disableUnderline: !0 }),
|
|
272
272
|
sx: {
|
|
273
273
|
borderTopLeftRadius: 0,
|
|
@@ -293,9 +293,9 @@ const Ct = ({
|
|
|
293
293
|
variant: "filled",
|
|
294
294
|
value: o && o.symbol,
|
|
295
295
|
displayEmpty: !0,
|
|
296
|
-
onChange: (t) =>
|
|
296
|
+
onChange: (t) => xe(t.target.value),
|
|
297
297
|
onOpen: (t) => {
|
|
298
|
-
|
|
298
|
+
de(!0), t.preventDefault();
|
|
299
299
|
},
|
|
300
300
|
defaultOpen: !1,
|
|
301
301
|
open: !1,
|
|
@@ -303,7 +303,7 @@ const Ct = ({
|
|
|
303
303
|
children: [
|
|
304
304
|
/* @__PURE__ */ e(M, { value: "", children: "Please select input" }),
|
|
305
305
|
B.map((t) => /* @__PURE__ */ a(M, { value: t.symbol, children: [
|
|
306
|
-
/* @__PURE__ */ e(
|
|
306
|
+
/* @__PURE__ */ e(ve, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
307
307
|
"img",
|
|
308
308
|
{
|
|
309
309
|
src: t.icon_uri,
|
|
@@ -320,7 +320,7 @@ const Ct = ({
|
|
|
320
320
|
]
|
|
321
321
|
}
|
|
322
322
|
) }),
|
|
323
|
-
|
|
323
|
+
fe && /* @__PURE__ */ e(m, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: fe }) })
|
|
324
324
|
] }),
|
|
325
325
|
/* @__PURE__ */ e(s, { mt: 3, justifyContent: "center", display: "flex", container: !0, children: /* @__PURE__ */ e(s, { className: "text-center", children: /* @__PURE__ */ e("img", { src: ut, alt: "arrow" }) }) }),
|
|
326
326
|
/* @__PURE__ */ e(s, { mt: 1, container: !0, children: /* @__PURE__ */ e(s, { size: 4, children: /* @__PURE__ */ e(
|
|
@@ -349,7 +349,7 @@ const Ct = ({
|
|
|
349
349
|
fullWidth: !0
|
|
350
350
|
}
|
|
351
351
|
),
|
|
352
|
-
/* @__PURE__ */ e(
|
|
352
|
+
/* @__PURE__ */ e(Ne, { className: i["crypto-helper-text"], children: se > 0 ? "$" + (se * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
|
|
353
353
|
]
|
|
354
354
|
}
|
|
355
355
|
) }),
|
|
@@ -369,14 +369,14 @@ const Ct = ({
|
|
|
369
369
|
(n == null ? void 0 : n.network) && /* @__PURE__ */ e(
|
|
370
370
|
V,
|
|
371
371
|
{
|
|
372
|
-
className: `${i["network-label"]} ${i[
|
|
372
|
+
className: `${i["network-label"]} ${i[Ce(n == null ? void 0 : n.network.name)]}`,
|
|
373
373
|
children: n == null ? void 0 : n.network.name
|
|
374
374
|
}
|
|
375
375
|
),
|
|
376
376
|
/* @__PURE__ */ a(
|
|
377
377
|
J,
|
|
378
378
|
{
|
|
379
|
-
IconComponent:
|
|
379
|
+
IconComponent: Z,
|
|
380
380
|
input: /* @__PURE__ */ e(P, { disableUnderline: !0 }),
|
|
381
381
|
sx: {
|
|
382
382
|
borderTopLeftRadius: 0,
|
|
@@ -402,16 +402,16 @@ const Ct = ({
|
|
|
402
402
|
variant: "filled",
|
|
403
403
|
value: n && n.symbol,
|
|
404
404
|
displayEmpty: !0,
|
|
405
|
-
onChange: (t) =>
|
|
405
|
+
onChange: (t) => he(t.target.value),
|
|
406
406
|
onOpen: (t) => {
|
|
407
|
-
|
|
407
|
+
me(!0), t.preventDefault();
|
|
408
408
|
},
|
|
409
409
|
defaultOpen: !1,
|
|
410
410
|
open: !1,
|
|
411
411
|
children: [
|
|
412
412
|
/* @__PURE__ */ e(M, { value: "", children: "Please select output" }),
|
|
413
413
|
I && I.map((t) => /* @__PURE__ */ a(M, { value: t.symbol, children: [
|
|
414
|
-
/* @__PURE__ */ e(
|
|
414
|
+
/* @__PURE__ */ e(ve, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
415
415
|
"img",
|
|
416
416
|
{
|
|
417
417
|
src: t.icon_uri,
|
|
@@ -434,7 +434,7 @@ const Ct = ({
|
|
|
434
434
|
] }),
|
|
435
435
|
/* @__PURE__ */ e(F, { mt: 2.5, className: i["fee-area"], children: /* @__PURE__ */ a(s, { container: !0, children: [
|
|
436
436
|
/* @__PURE__ */ e(s, { className: "text-left", size: 12, children: /* @__PURE__ */ a(
|
|
437
|
-
|
|
437
|
+
_e,
|
|
438
438
|
{
|
|
439
439
|
sx: { padding: "0" },
|
|
440
440
|
onClick: () => Oe((t) => !t),
|
|
@@ -446,7 +446,7 @@ const Ct = ({
|
|
|
446
446
|
Qe,
|
|
447
447
|
{
|
|
448
448
|
sx: {
|
|
449
|
-
transform: `rotate(${
|
|
449
|
+
transform: `rotate(${ue ? "90" : "0"}deg)`,
|
|
450
450
|
fontSize: "15px"
|
|
451
451
|
}
|
|
452
452
|
}
|
|
@@ -454,7 +454,7 @@ const Ct = ({
|
|
|
454
454
|
]
|
|
455
455
|
}
|
|
456
456
|
) }),
|
|
457
|
-
|
|
457
|
+
ue && /* @__PURE__ */ a(_, { children: [
|
|
458
458
|
/* @__PURE__ */ e(s, { className: "text-left", size: 6, children: /* @__PURE__ */ e(m, { variant: "caption", children: "Everest Fee" }) }),
|
|
459
459
|
/* @__PURE__ */ e(s, { className: "text-right", size: 6, children: /* @__PURE__ */ a(m, { variant: "caption", children: [
|
|
460
460
|
X,
|
|
@@ -464,7 +464,7 @@ const Ct = ({
|
|
|
464
464
|
sx: { ml: 1 },
|
|
465
465
|
size: 15
|
|
466
466
|
}
|
|
467
|
-
) :
|
|
467
|
+
) : ie.toFixed(2)
|
|
468
468
|
] }) }),
|
|
469
469
|
/* @__PURE__ */ e(s, { className: "text-left", size: 6, children: /* @__PURE__ */ e(m, { variant: "caption", children: "Network Fee" }) }),
|
|
470
470
|
/* @__PURE__ */ e(s, { className: "text-right", size: 6, children: /* @__PURE__ */ a(m, { variant: "caption", children: [
|
|
@@ -475,7 +475,7 @@ const Ct = ({
|
|
|
475
475
|
sx: { ml: 1 },
|
|
476
476
|
size: 15
|
|
477
477
|
}
|
|
478
|
-
) :
|
|
478
|
+
) : le.toFixed(2)
|
|
479
479
|
] }) })
|
|
480
480
|
] }),
|
|
481
481
|
/* @__PURE__ */ e(s, { className: "text-left", size: 6, children: /* @__PURE__ */ e(m, { variant: "caption", children: "Total Fees" }) }),
|
|
@@ -494,7 +494,7 @@ const Ct = ({
|
|
|
494
494
|
"1 ",
|
|
495
495
|
o == null ? void 0 : o.symbol,
|
|
496
496
|
" ",
|
|
497
|
-
/* @__PURE__ */ e(ft, { title: pt, placement: "right", children: /* @__PURE__ */ e(
|
|
497
|
+
/* @__PURE__ */ e(ft, { title: pt, placement: "right", children: /* @__PURE__ */ e(_e, { className: i["info-fee-icon"], children: /* @__PURE__ */ e(Ze, { sx: { fontSize: "14px" } }) }) })
|
|
498
498
|
] }) }),
|
|
499
499
|
/* @__PURE__ */ e(s, { className: "text-right", size: 6, children: /* @__PURE__ */ e(m, { variant: "caption", children: O ? /* @__PURE__ */ e(
|
|
500
500
|
g,
|
|
@@ -502,7 +502,7 @@ const Ct = ({
|
|
|
502
502
|
sx: { ml: 1 },
|
|
503
503
|
size: 15
|
|
504
504
|
}
|
|
505
|
-
) :
|
|
505
|
+
) : ae && parseFloat(ae).toFixed(6) + " " + (n == null ? void 0 : n.symbol) }) })
|
|
506
506
|
] })
|
|
507
507
|
] }) }),
|
|
508
508
|
/* @__PURE__ */ e(F, { sx: { alignItems: "left", width: "100%" }, children: Fe || Te ? /* @__PURE__ */ e(F, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(g, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ a(
|
|
@@ -515,6 +515,7 @@ const Ct = ({
|
|
|
515
515
|
/* @__PURE__ */ e(
|
|
516
516
|
J,
|
|
517
517
|
{
|
|
518
|
+
IconComponent: Z,
|
|
518
519
|
value: l,
|
|
519
520
|
onChange: (t) => Ge(t.target.value),
|
|
520
521
|
children: Me.map((t, r) => /* @__PURE__ */ e(M, { value: t.address, children: t.name + "(" + t.address + ")" }, r))
|
|
@@ -537,23 +538,23 @@ const Ct = ({
|
|
|
537
538
|
) })
|
|
538
539
|
] }),
|
|
539
540
|
/* @__PURE__ */ e(
|
|
540
|
-
|
|
541
|
+
Se,
|
|
541
542
|
{
|
|
542
543
|
open: We,
|
|
543
|
-
setModal:
|
|
544
|
+
setModal: de,
|
|
544
545
|
loader: W,
|
|
545
546
|
tokenList: B,
|
|
546
|
-
tokenSelect:
|
|
547
|
+
tokenSelect: xe
|
|
547
548
|
}
|
|
548
549
|
),
|
|
549
550
|
/* @__PURE__ */ e(
|
|
550
|
-
|
|
551
|
+
Se,
|
|
551
552
|
{
|
|
552
553
|
open: Le,
|
|
553
|
-
setModal:
|
|
554
|
+
setModal: me,
|
|
554
555
|
loader: W,
|
|
555
556
|
tokenList: I ?? [],
|
|
556
|
-
tokenSelect:
|
|
557
|
+
tokenSelect: he,
|
|
557
558
|
showBalance: !1
|
|
558
559
|
}
|
|
559
560
|
)
|
|
@@ -566,8 +567,8 @@ const Ct = ({
|
|
|
566
567
|
y && E({ message: y });
|
|
567
568
|
}, [y]), h(() => {
|
|
568
569
|
l.initMinimalKyc && (E({ message: y, type: "info" }), S(kt));
|
|
569
|
-
}, [l.initMinimalKyc]), h(() => (c(xt()), c(gt()), c(mt(
|
|
570
|
-
c(
|
|
570
|
+
}, [l.initMinimalKyc]), h(() => (c(xt()), c(gt()), c(mt(te)), () => {
|
|
571
|
+
c(ee());
|
|
571
572
|
}), []), /* @__PURE__ */ e(yt, { addPadding: !0, children: {
|
|
572
573
|
FORM_SCREEN: /* @__PURE__ */ e(
|
|
573
574
|
Ct,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
const s = (e) => e.session.uuid, t = (e) => (
|
|
2
2
|
//TODO: Fix
|
|
3
3
|
e.user.profile
|
|
4
|
-
), o = (e) => e.user.wallets, r = (e) => e.user.associatedWallets,
|
|
4
|
+
), o = (e) => e.user.wallets, r = (e) => e.user.associatedWallets, a = (e) => e.user.documents, c = (e) => e.user.banks, n = (e) => e.user.banks.pendingIban;
|
|
5
5
|
export {
|
|
6
6
|
t as a,
|
|
7
7
|
s as b,
|
|
8
8
|
o as c,
|
|
9
9
|
r as d,
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
a as e,
|
|
11
|
+
n as p,
|
|
12
|
+
c as u
|
|
12
13
|
};
|
|
@@ -2,13 +2,13 @@ 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
4
|
import { Grid as o, Box as y, Typography as s, CircularProgress as I, InputLabel as we, FormControl as Be, Select as Le, MenuItem as pe, ListItemIcon as Ve, IconButton as he } from "@mui/material";
|
|
5
|
-
import { P as Ye, f as We } from "./PlayArrow-
|
|
5
|
+
import { P as Ye, f as We } from "./PlayArrow-WUr_Eyo1.js";
|
|
6
6
|
import { I as Ke } from "./Info-DOoRR7sR.js";
|
|
7
7
|
import { G as qe } from "./generic-token-B_ptO5yb.js";
|
|
8
8
|
import re from "./components/RocketRamp/Shared/Input/index.js";
|
|
9
9
|
import { ID_TOKEN_SYMBOL as fe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as $e, VISA_PAYMENT as De, VISA_PAYMENT_ACTIVE as Ue, SEPA_PAYMENT as Ge, SEPA_PAYMENT_ACTIVE as je, PAYMENT_BANK as ye, SEPA_ICON as He, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as xe } from "./util/constants.js";
|
|
10
|
-
import {
|
|
11
|
-
import { d as Qe, e as Ce, f as Je, h as Ze, g as ge } from "./order-
|
|
10
|
+
import { aN as Xe, aA as te } from "./constants-BRS2liAt.js";
|
|
11
|
+
import { d as Qe, e as Ce, f as Je, h as Ze, g as ge } from "./order-DBuLYKfx.js";
|
|
12
12
|
import { M as et } from "./tooltip-BW0UyWw7.js";
|
|
13
13
|
import { getCurrencySymbol as Ne, removeExtraSpace as tt, getOrionBalance as nt } from "./util/functions.js";
|
|
14
14
|
import oe from "./components/RocketRamp/Shared/Button/index.js";
|
|
@@ -16,7 +16,7 @@ import Ee from "./components/RocketRamp/Shared/backBtn.js";
|
|
|
16
16
|
import { E as rt } from "./ErrorOutline-Bt7P4ChN.js";
|
|
17
17
|
import { s as _e, p as at, h as it, v as ot } from "./index-ceeCtFuh.js";
|
|
18
18
|
import { u as q } from "./react-redux-C7I9-1M6.js";
|
|
19
|
-
import { f as st } from "./cryptoAssets-
|
|
19
|
+
import { f as st } from "./cryptoAssets-BD0cJpXM.js";
|
|
20
20
|
import ct from "./components/RocketRamp/MinimalKyc/form.js";
|
|
21
21
|
import { useSnackBarContext as lt } from "./context/snackBarContext.js";
|
|
22
22
|
import dt from "./hooks/useEverestDispatch.js";
|