everest-npm-features 0.0.53 → 0.0.55
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/createIban.js +54 -54
- package/dist/components/Wallet/Account/eWallet.js +8 -8
- package/dist/components/Wallet/Account/iban.js +11 -11
- package/dist/components/Wallet/Account/ibanItem.js +169 -135
- package/dist/components/Wallet/Account/index.js +197 -180
- package/dist/components/Wallet/SignUp/terms.js +12 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +64 -63
- package/package.json +2 -2
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { jsxs as n, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
1
|
+
import { jsxs as n, Fragment as V, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { useState as W, useEffect as d } from "react";
|
|
3
|
+
import { u as C } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import "../../../constants-Dtk3Gd0Y.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { LINKED_WALLET_TOOLTIP as
|
|
9
|
-
import { M as
|
|
10
|
-
import { I as
|
|
11
|
-
import { C as
|
|
5
|
+
import { u as ce, c as le, d as me } from "../../../index-BQNs1mvn.js";
|
|
6
|
+
import { u as de, a as ue, b as pe, c as he, d as fe, e as ge } from "../../../wallet-BxwOFeSW.js";
|
|
7
|
+
import { u as be, c as xe, d as _e, e as Ne } from "../../../bank-BM66KfAv.js";
|
|
8
|
+
import { LINKED_WALLET_TOOLTIP as We, CONNECTED_WALLET_TOOLTIP as Ce, WALLET_ICON as we, DELETE_ICON as ye } from "../../../util/constants.js";
|
|
9
|
+
import { M as X } from "../../../tooltip-3UvETWtS.js";
|
|
10
|
+
import { I as Y } from "../../../Info-BVeUSPyk.js";
|
|
11
|
+
import { C as Ie } from "../../../Cancel-4lT7GZUA.js";
|
|
12
12
|
import { D as ke } from "../../../Delete-jpMstGIF.js";
|
|
13
|
-
import { C as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
13
|
+
import { C as ve } from "../../../Close-CNwiMz_O.js";
|
|
14
|
+
import Ae from "../../Shared/transition.js";
|
|
15
|
+
import Z from "../Shared/inputField.js";
|
|
16
16
|
import De from "../Shared/addBank.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import { useSnackBarContext as
|
|
22
|
-
import
|
|
23
|
-
import { AuthInnerContainer as
|
|
17
|
+
import Te from "../Shared/connectPlaidBank.js";
|
|
18
|
+
import Le from "../Shared/ConnectWallet/index.js";
|
|
19
|
+
import Be from "./iban.js";
|
|
20
|
+
import Se from "./eWallet.js";
|
|
21
|
+
import { useSnackBarContext as ze } from "../../../context/snackBarContext.js";
|
|
22
|
+
import U from "../Shared/appButton.js";
|
|
23
|
+
import { AuthInnerContainer as z } from "../Shared/Container/index.js";
|
|
24
24
|
import "../../../index-DlQqWbXG.js";
|
|
25
|
-
import
|
|
25
|
+
import Ee from "../../../hoc/withThemeProvider.js";
|
|
26
26
|
import "../Shared/Auth/otpForm.js";
|
|
27
|
-
import
|
|
27
|
+
import Re from "../../../hooks/useEverestDispatch.js";
|
|
28
28
|
import "../../../util/conversions.js";
|
|
29
29
|
import "../../../index-CAoLi5Qq.js";
|
|
30
30
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
@@ -32,20 +32,20 @@ import "../Shared/pin.js";
|
|
|
32
32
|
import "../../../moment-h96o7c8I.js";
|
|
33
33
|
import "../../../index.esm-BsMAMhYW.js";
|
|
34
34
|
import "../../../index-ceeCtFuh.js";
|
|
35
|
-
import { useDialogContext as
|
|
35
|
+
import { useDialogContext as qe } from "../../../context/dialogContext.js";
|
|
36
36
|
import { B as s } from "../../../Box-B0YSYLco.js";
|
|
37
|
-
import { G as
|
|
38
|
-
import { T as
|
|
39
|
-
import { I as
|
|
40
|
-
import { C } from "../../../CircularProgress-xZA3lvba.js";
|
|
41
|
-
import { B as
|
|
42
|
-
import { S as
|
|
43
|
-
import { D as
|
|
44
|
-
import { D as
|
|
45
|
-
import '../../../assets/index3.css';const
|
|
46
|
-
container:
|
|
37
|
+
import { G as c } from "../../../Grid-CFe3amXO.js";
|
|
38
|
+
import { T as i } from "../../../Typography-pAaje37G.js";
|
|
39
|
+
import { I as w } from "../../../IconButton-DHm-hucF.js";
|
|
40
|
+
import { C as y } from "../../../CircularProgress-xZA3lvba.js";
|
|
41
|
+
import { B as Pe } from "../../../Button-Df4vgU24.js";
|
|
42
|
+
import { S as Oe } from "../../../Stack-k55YTxET.js";
|
|
43
|
+
import { D as $e, a as Me } from "../../../DialogContent-BMwlOnbW.js";
|
|
44
|
+
import { D as He } from "../../../DialogTitle-CfS0bb2K.js";
|
|
45
|
+
import '../../../assets/index3.css';const Fe = "_container_arwo8_1", je = "_heading_arwo8_27", r = {
|
|
46
|
+
container: Fe,
|
|
47
47
|
"inner-container": "_inner-container_arwo8_13",
|
|
48
|
-
heading:
|
|
48
|
+
heading: je,
|
|
49
49
|
"account-item": "_account-item_arwo8_41",
|
|
50
50
|
"account-item-text": "_account-item-text_arwo8_71",
|
|
51
51
|
"primary-color": "_primary-color_arwo8_81",
|
|
@@ -54,134 +54,151 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
|
|
|
54
54
|
"remove-icon": "_remove-icon_arwo8_107",
|
|
55
55
|
"delete-disable": "_delete-disable_arwo8_121",
|
|
56
56
|
"confirm-edit": "_confirm-edit_arwo8_137"
|
|
57
|
-
},
|
|
58
|
-
baseUrl:
|
|
59
|
-
checkoutSdkKey:
|
|
60
|
-
appKey:
|
|
61
|
-
appKeyEur:
|
|
62
|
-
paymentWidgetSrcUrl:
|
|
63
|
-
navigate:
|
|
57
|
+
}, Ge = ({
|
|
58
|
+
baseUrl: E,
|
|
59
|
+
checkoutSdkKey: R,
|
|
60
|
+
appKey: q,
|
|
61
|
+
appKeyEur: P,
|
|
62
|
+
paymentWidgetSrcUrl: O,
|
|
63
|
+
navigate: $
|
|
64
64
|
}) => {
|
|
65
|
-
const
|
|
66
|
-
error:
|
|
67
|
-
message:
|
|
68
|
-
loader:
|
|
69
|
-
} =
|
|
65
|
+
const o = Re(), { showAlertMessage: l } = ze(), { openDialog: I } = qe(), k = C((t) => t.app.features), h = C(ce), ee = h.loader, u = h.message, M = h.banks, H = h.iban, [F, j] = W(!1), [te, f] = W(!1), [v, ne] = W(""), [A, re] = W(""), G = C(le), K = G.data, { error: D, message: T, loader: L } = G, J = C(me), g = J.data, {
|
|
66
|
+
error: B,
|
|
67
|
+
message: S,
|
|
68
|
+
loader: oe
|
|
69
|
+
} = J;
|
|
70
70
|
d(() => {
|
|
71
71
|
if (u) {
|
|
72
|
-
|
|
72
|
+
j(!1);
|
|
73
73
|
const t = typeof u == "string" ? u : String(u);
|
|
74
|
-
(t.includes("created") || t.includes("successfully") || t.includes("Account")) &&
|
|
74
|
+
(t.includes("created") || t.includes("successfully") || t.includes("Account")) && l({ message: t, type: "success" });
|
|
75
75
|
}
|
|
76
76
|
}, [u]), d(() => {
|
|
77
|
-
|
|
78
|
-
}, [
|
|
79
|
-
|
|
80
|
-
}, [
|
|
81
|
-
D &&
|
|
77
|
+
B && l({ message: B });
|
|
78
|
+
}, [B]), d(() => {
|
|
79
|
+
S && l({ message: S, type: "success" });
|
|
80
|
+
}, [S]), d(() => {
|
|
81
|
+
D && l({ message: D });
|
|
82
82
|
}, [D]), d(() => {
|
|
83
|
-
|
|
84
|
-
}, [
|
|
85
|
-
|
|
83
|
+
T && (f(!1), l({ message: T, type: "success" }));
|
|
84
|
+
}, [T]), d(() => (K.length <= 0 && o(de()), g.length <= 0 && o(ue()), o(be()), o(xe()), () => {
|
|
85
|
+
o(pe("")), o(he(""));
|
|
86
86
|
}), []);
|
|
87
|
-
const
|
|
88
|
-
if (!I)
|
|
89
|
-
return i({ message: "Please provide the wallet name" }), !1;
|
|
87
|
+
const ae = () => {
|
|
90
88
|
if (!v)
|
|
91
|
-
return
|
|
89
|
+
return l({ message: "Please provide the wallet name" }), !1;
|
|
90
|
+
if (!A)
|
|
91
|
+
return l({
|
|
92
92
|
message: "Please provide the wallet private key"
|
|
93
93
|
}), !1;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
name:
|
|
97
|
-
privatekey: Buffer.from(
|
|
94
|
+
L || o(
|
|
95
|
+
fe({
|
|
96
|
+
name: v,
|
|
97
|
+
privatekey: Buffer.from(A).toString("base64")
|
|
98
98
|
})
|
|
99
99
|
);
|
|
100
|
-
},
|
|
101
|
-
|
|
102
|
-
icon:
|
|
100
|
+
}, se = (t) => {
|
|
101
|
+
I({
|
|
102
|
+
icon: ye,
|
|
103
103
|
height: "450px",
|
|
104
104
|
title: "Are you sure you want to delete?",
|
|
105
105
|
message: "This action cannot be undone.",
|
|
106
106
|
onConfirm: () => {
|
|
107
|
-
|
|
107
|
+
o(Ne(t));
|
|
108
108
|
},
|
|
109
109
|
cancelButtonShow: !0
|
|
110
110
|
});
|
|
111
111
|
}, p = ({
|
|
112
112
|
data: t,
|
|
113
|
-
type:
|
|
113
|
+
type: a,
|
|
114
114
|
children: b
|
|
115
115
|
}) => {
|
|
116
|
-
let
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
116
|
+
let m, x, _, N;
|
|
117
|
+
return a === "connectedWallet" || a === "linkedWallet" ? "name" in t && "address" in t && (m = t.name, x = t.address) : a === "iban" ? ("accountName" in t && "accountNumber" in t && (m = t.accountName, x = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`), "balance" in t && "currency" in t && (_ = t.balance, N = t.currency)) : ("accountName" in t && "accountNumber" in t && (m = t.accountName, x = t.accountNumber), "balance" in t && "currency" in t && (_ = t.balance, N = t.currency)), /* @__PURE__ */ n(s, { className: r["account-item"], children: [
|
|
118
|
+
a === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
|
|
119
|
+
w,
|
|
120
120
|
{
|
|
121
|
-
className:
|
|
122
|
-
onClick: () =>
|
|
123
|
-
children: /* @__PURE__ */ e(
|
|
121
|
+
className: r["remove-icon"],
|
|
122
|
+
onClick: () => se(t.id),
|
|
123
|
+
children: /* @__PURE__ */ e(Ie, {})
|
|
124
124
|
}
|
|
125
125
|
),
|
|
126
|
-
/* @__PURE__ */
|
|
127
|
-
/* @__PURE__ */ e(
|
|
128
|
-
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
126
|
+
/* @__PURE__ */ n(c, { container: !0, width: "100%", alignItems: "center", children: [
|
|
127
|
+
/* @__PURE__ */ e(c, { size: 8, children: /* @__PURE__ */ n(c, { container: !0, width: "100%", children: [
|
|
128
|
+
/* @__PURE__ */ e(c, { size: { xs: 2, md: 1.5 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: we, alt: "Icon", height: 28, width: 28 }) }),
|
|
129
|
+
/* @__PURE__ */ n(c, { size: { xs: 10, md: 10.5 }, children: [
|
|
130
|
+
/* @__PURE__ */ e(
|
|
131
|
+
i,
|
|
132
|
+
{
|
|
133
|
+
variant: "body1",
|
|
134
|
+
component: "p",
|
|
135
|
+
className: `${r["account-item-text"]} ${r["primary-color"]}`,
|
|
136
|
+
children: /* @__PURE__ */ e("strong", { children: m })
|
|
137
|
+
}
|
|
138
|
+
),
|
|
139
|
+
/* @__PURE__ */ e(
|
|
140
|
+
i,
|
|
141
|
+
{
|
|
142
|
+
variant: "caption",
|
|
143
|
+
component: "p",
|
|
144
|
+
className: `${r["account-item-text"]} ${r["secondary-color"]}`,
|
|
145
|
+
children: /* @__PURE__ */ e("strong", { children: x })
|
|
146
|
+
}
|
|
147
|
+
)
|
|
148
|
+
] })
|
|
149
|
+
] }) }),
|
|
150
|
+
typeof _ == "number" && N && /* @__PURE__ */ e(c, { size: 4, children: /* @__PURE__ */ n(s, { sx: { textAlign: "right" }, children: [
|
|
138
151
|
/* @__PURE__ */ e(
|
|
139
|
-
|
|
152
|
+
i,
|
|
140
153
|
{
|
|
141
154
|
variant: "caption",
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
children: /* @__PURE__ */ e("strong", { children: _ })
|
|
155
|
+
sx: { textTransform: "uppercase", color: "text.secondary" },
|
|
156
|
+
children: "Balance"
|
|
145
157
|
}
|
|
146
|
-
)
|
|
147
|
-
|
|
148
|
-
|
|
158
|
+
),
|
|
159
|
+
/* @__PURE__ */ n(i, { variant: "subtitle1", color: "primary", children: [
|
|
160
|
+
_,
|
|
161
|
+
" ",
|
|
162
|
+
N
|
|
163
|
+
] })
|
|
164
|
+
] }) })
|
|
165
|
+
] }),
|
|
149
166
|
b
|
|
150
167
|
] });
|
|
151
|
-
},
|
|
152
|
-
const
|
|
168
|
+
}, ie = (t) => {
|
|
169
|
+
const a = g.length;
|
|
153
170
|
let b = !1;
|
|
154
|
-
for (let
|
|
155
|
-
if (g[
|
|
171
|
+
for (let m = 0; m < a; m++)
|
|
172
|
+
if (g[m].address.toLowerCase() === t.toLowerCase()) {
|
|
156
173
|
b = !0;
|
|
157
174
|
break;
|
|
158
175
|
}
|
|
159
|
-
b ?
|
|
176
|
+
b ? l({
|
|
160
177
|
message: "This wallet address is already connected."
|
|
161
|
-
}) :
|
|
162
|
-
},
|
|
163
|
-
|
|
178
|
+
}) : o(ge(t));
|
|
179
|
+
}, Q = (t) => {
|
|
180
|
+
o(_e({ currency: t }));
|
|
164
181
|
};
|
|
165
|
-
return /* @__PURE__ */ n(
|
|
166
|
-
/* @__PURE__ */ e(s, { className:
|
|
167
|
-
/* @__PURE__ */ n(
|
|
168
|
-
/* @__PURE__ */ n(
|
|
182
|
+
return /* @__PURE__ */ n(V, { children: [
|
|
183
|
+
/* @__PURE__ */ e(s, { className: r.container, children: /* @__PURE__ */ n(c, { spacing: 2, container: !0, width: "100%", children: [
|
|
184
|
+
/* @__PURE__ */ n(c, { size: { md: 6, xs: 12 }, children: [
|
|
185
|
+
/* @__PURE__ */ n(z, { p: 3, children: [
|
|
169
186
|
/* @__PURE__ */ e(
|
|
170
|
-
|
|
187
|
+
i,
|
|
171
188
|
{
|
|
172
|
-
className:
|
|
189
|
+
className: r.heading,
|
|
173
190
|
variant: "h6",
|
|
174
191
|
component: "span",
|
|
175
192
|
children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
|
|
176
193
|
}
|
|
177
194
|
),
|
|
178
195
|
/* @__PURE__ */ e(
|
|
179
|
-
|
|
196
|
+
X,
|
|
180
197
|
{
|
|
181
|
-
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children:
|
|
198
|
+
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: We }),
|
|
182
199
|
placement: "bottom",
|
|
183
|
-
children: /* @__PURE__ */ e(
|
|
184
|
-
|
|
200
|
+
children: /* @__PURE__ */ e(w, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
201
|
+
Y,
|
|
185
202
|
{
|
|
186
203
|
sx: {
|
|
187
204
|
fontSize: "26px",
|
|
@@ -191,10 +208,10 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
|
|
|
191
208
|
) })
|
|
192
209
|
}
|
|
193
210
|
),
|
|
194
|
-
|
|
195
|
-
|
|
211
|
+
L && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
|
|
212
|
+
K.map((t, a) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, a)),
|
|
196
213
|
/* @__PURE__ */ e(
|
|
197
|
-
|
|
214
|
+
U,
|
|
198
215
|
{
|
|
199
216
|
sx: { mt: 4 },
|
|
200
217
|
onClick: () => f(!0),
|
|
@@ -203,23 +220,23 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
|
|
|
203
220
|
}
|
|
204
221
|
)
|
|
205
222
|
] }),
|
|
206
|
-
/* @__PURE__ */ n(
|
|
223
|
+
/* @__PURE__ */ n(z, { p: 3, mt: 2, children: [
|
|
207
224
|
/* @__PURE__ */ e(
|
|
208
|
-
|
|
225
|
+
i,
|
|
209
226
|
{
|
|
210
|
-
className:
|
|
227
|
+
className: r.heading,
|
|
211
228
|
variant: "h6",
|
|
212
229
|
component: "span",
|
|
213
230
|
children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
|
|
214
231
|
}
|
|
215
232
|
),
|
|
216
233
|
/* @__PURE__ */ e(
|
|
217
|
-
|
|
234
|
+
X,
|
|
218
235
|
{
|
|
219
|
-
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children:
|
|
236
|
+
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: Ce }),
|
|
220
237
|
placement: "bottom",
|
|
221
|
-
children: /* @__PURE__ */ e(
|
|
222
|
-
|
|
238
|
+
children: /* @__PURE__ */ e(w, { className: r["info-icon"], children: /* @__PURE__ */ e(
|
|
239
|
+
Y,
|
|
223
240
|
{
|
|
224
241
|
sx: {
|
|
225
242
|
fontSize: "26px",
|
|
@@ -229,115 +246,115 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
|
|
|
229
246
|
) })
|
|
230
247
|
}
|
|
231
248
|
),
|
|
232
|
-
|
|
233
|
-
g.map((t,
|
|
249
|
+
oe && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
|
|
250
|
+
g.map((t, a) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, a)),
|
|
234
251
|
/* @__PURE__ */ e(
|
|
235
|
-
|
|
252
|
+
Le,
|
|
236
253
|
{
|
|
237
|
-
addressHandler:
|
|
254
|
+
addressHandler: ie,
|
|
238
255
|
btnClass: "wallet-btn"
|
|
239
256
|
}
|
|
240
257
|
)
|
|
241
258
|
] })
|
|
242
259
|
] }),
|
|
243
|
-
/* @__PURE__ */ n(
|
|
260
|
+
/* @__PURE__ */ n(c, { size: { md: 6, xs: 12 }, children: [
|
|
244
261
|
k.eWallet && /* @__PURE__ */ e(s, { mb: 2, children: /* @__PURE__ */ e(
|
|
245
|
-
|
|
262
|
+
Se,
|
|
246
263
|
{
|
|
247
|
-
openDialog:
|
|
248
|
-
dispatch:
|
|
249
|
-
iban:
|
|
250
|
-
baseUrl:
|
|
251
|
-
checkoutSdkKey:
|
|
252
|
-
appKey:
|
|
253
|
-
appKeyEur:
|
|
254
|
-
paymentWidgetSrcUrl:
|
|
255
|
-
navigate:
|
|
264
|
+
openDialog: I,
|
|
265
|
+
dispatch: o,
|
|
266
|
+
iban: H,
|
|
267
|
+
baseUrl: E,
|
|
268
|
+
checkoutSdkKey: R,
|
|
269
|
+
appKey: q,
|
|
270
|
+
appKeyEur: P,
|
|
271
|
+
paymentWidgetSrcUrl: O,
|
|
272
|
+
navigate: $,
|
|
256
273
|
AccountItem: p,
|
|
257
|
-
createIbanRequest:
|
|
274
|
+
createIbanRequest: Q
|
|
258
275
|
}
|
|
259
276
|
) }),
|
|
260
277
|
k.iban && /* @__PURE__ */ e(
|
|
261
|
-
|
|
278
|
+
Be,
|
|
262
279
|
{
|
|
263
|
-
openDialog:
|
|
264
|
-
dispatch:
|
|
265
|
-
iban:
|
|
266
|
-
baseUrl:
|
|
267
|
-
checkoutSdkKey:
|
|
268
|
-
appKey:
|
|
269
|
-
appKeyEur:
|
|
270
|
-
paymentWidgetSrcUrl:
|
|
271
|
-
navigate:
|
|
280
|
+
openDialog: I,
|
|
281
|
+
dispatch: o,
|
|
282
|
+
iban: H,
|
|
283
|
+
baseUrl: E,
|
|
284
|
+
checkoutSdkKey: R,
|
|
285
|
+
appKey: q,
|
|
286
|
+
appKeyEur: P,
|
|
287
|
+
paymentWidgetSrcUrl: O,
|
|
288
|
+
navigate: $,
|
|
272
289
|
AccountItem: p,
|
|
273
|
-
createIbanRequest:
|
|
290
|
+
createIbanRequest: Q
|
|
274
291
|
}
|
|
275
292
|
),
|
|
276
|
-
/* @__PURE__ */ e(
|
|
277
|
-
/* @__PURE__ */ e(
|
|
278
|
-
|
|
279
|
-
|
|
293
|
+
/* @__PURE__ */ e(z, { mt: 2, children: /* @__PURE__ */ n(s, { p: 3, mt: k.iban ? 2 : 0, children: [
|
|
294
|
+
/* @__PURE__ */ e(i, { className: r.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
|
|
295
|
+
M.length > 0 && /* @__PURE__ */ n(
|
|
296
|
+
Pe,
|
|
280
297
|
{
|
|
281
|
-
className: `${
|
|
298
|
+
className: `${F ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
|
|
282
299
|
sx: { mt: 3, mb: 3 },
|
|
283
300
|
variant: "contained",
|
|
284
|
-
onClick: () =>
|
|
301
|
+
onClick: () => j((t) => !t),
|
|
285
302
|
children: [
|
|
286
303
|
/* @__PURE__ */ e(ke, {}),
|
|
287
304
|
"Delete"
|
|
288
305
|
]
|
|
289
306
|
}
|
|
290
307
|
),
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
/* @__PURE__ */ n(
|
|
294
|
-
/* @__PURE__ */ e(
|
|
295
|
-
/* @__PURE__ */ e(
|
|
308
|
+
ee && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(y, { size: 50 }) }),
|
|
309
|
+
M.map((t, a) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, a)),
|
|
310
|
+
/* @__PURE__ */ n(Oe, { mt: 4, gap: 1, children: [
|
|
311
|
+
/* @__PURE__ */ e(Te, {}),
|
|
312
|
+
/* @__PURE__ */ e(i, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
296
313
|
/* @__PURE__ */ e(De, {})
|
|
297
314
|
] })
|
|
298
315
|
] }) })
|
|
299
316
|
] })
|
|
300
317
|
] }) }),
|
|
301
318
|
/* @__PURE__ */ n(
|
|
302
|
-
|
|
319
|
+
$e,
|
|
303
320
|
{
|
|
304
321
|
fullWidth: !0,
|
|
305
|
-
open:
|
|
322
|
+
open: te,
|
|
306
323
|
onClose: () => f(!1),
|
|
307
|
-
TransitionComponent:
|
|
324
|
+
TransitionComponent: Ae,
|
|
308
325
|
children: [
|
|
309
|
-
/* @__PURE__ */ n(
|
|
310
|
-
/* @__PURE__ */ e(
|
|
326
|
+
/* @__PURE__ */ n(He, { className: "buy-modal-text-color", children: [
|
|
327
|
+
/* @__PURE__ */ e(i, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
|
|
311
328
|
/* @__PURE__ */ e(
|
|
312
|
-
|
|
329
|
+
w,
|
|
313
330
|
{
|
|
314
331
|
"aria-label": "close",
|
|
315
332
|
onClick: () => f(!1),
|
|
316
333
|
className: "menu-buttons",
|
|
317
|
-
children: /* @__PURE__ */ e(
|
|
334
|
+
children: /* @__PURE__ */ e(ve, {})
|
|
318
335
|
}
|
|
319
336
|
)
|
|
320
337
|
] }),
|
|
321
|
-
/* @__PURE__ */ n(
|
|
322
|
-
/* @__PURE__ */ e(
|
|
338
|
+
/* @__PURE__ */ n(Me, { dividers: !0, children: [
|
|
339
|
+
/* @__PURE__ */ e(i, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
|
|
323
340
|
/* @__PURE__ */ e(
|
|
324
|
-
|
|
341
|
+
Z,
|
|
325
342
|
{
|
|
326
343
|
label: "Name",
|
|
327
|
-
value:
|
|
328
|
-
onChangeHandler: (t) =>
|
|
344
|
+
value: v,
|
|
345
|
+
onChangeHandler: (t) => ne(t)
|
|
329
346
|
}
|
|
330
347
|
),
|
|
331
348
|
/* @__PURE__ */ e(
|
|
332
|
-
|
|
349
|
+
Z,
|
|
333
350
|
{
|
|
334
351
|
label: "Private Key",
|
|
335
|
-
value:
|
|
336
|
-
onChangeHandler: (t) =>
|
|
352
|
+
value: A,
|
|
353
|
+
onChangeHandler: (t) => re(t)
|
|
337
354
|
}
|
|
338
355
|
),
|
|
339
|
-
/* @__PURE__ */ e(
|
|
340
|
-
/* @__PURE__ */ e(
|
|
356
|
+
/* @__PURE__ */ e(U, { sx: { mt: 4 }, onClick: ae, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: L ? /* @__PURE__ */ n(V, { children: [
|
|
357
|
+
/* @__PURE__ */ e(y, { size: 15, color: "inherit" }),
|
|
341
358
|
" Processing..."
|
|
342
359
|
] }) : "Import Wallet" }) })
|
|
343
360
|
] })
|
|
@@ -345,7 +362,7 @@ import '../../../assets/index3.css';const Me = "_container_arwo8_1", He = "_head
|
|
|
345
362
|
}
|
|
346
363
|
)
|
|
347
364
|
] });
|
|
348
|
-
},
|
|
365
|
+
}, Rt = Ee(Ge);
|
|
349
366
|
export {
|
|
350
|
-
|
|
367
|
+
Rt as default
|
|
351
368
|
};
|
|
@@ -513,6 +513,18 @@ const n = () => /* @__PURE__ */ o(r, { children: [
|
|
|
513
513
|
"10. How to Contact Us",
|
|
514
514
|
/* @__PURE__ */ e("br", {}),
|
|
515
515
|
"a. If you have any questions or concerns about the Everest Privacy Notice or its implementation please contact us via email by contact@Everest.org."
|
|
516
|
+
] }),
|
|
517
|
+
/* @__PURE__ */ o(t, { variant: "body1", mt: 2, children: [
|
|
518
|
+
"Everest Network Ltd, Tower Business Centre 2nd floor, TRIQ IT- TORRI, SWATAR BIRKIRKARA, BKR 4013, Malta",
|
|
519
|
+
/* @__PURE__ */ e("br", {}),
|
|
520
|
+
/* @__PURE__ */ e("br", {}),
|
|
521
|
+
"contact@everest.org",
|
|
522
|
+
/* @__PURE__ */ e("br", {}),
|
|
523
|
+
/* @__PURE__ */ e("br", {}),
|
|
524
|
+
"+(356) 2546-6021",
|
|
525
|
+
/* @__PURE__ */ e("br", {}),
|
|
526
|
+
/* @__PURE__ */ e("br", {}),
|
|
527
|
+
"See Terms and Conditions at everest.org"
|
|
516
528
|
] })
|
|
517
529
|
] });
|
|
518
530
|
export {
|
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";
|