everest-npm-features 0.0.16 → 0.0.18
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/CheckCircle-BiltyzEJ.js +8 -0
- package/dist/PlayArrow-BYMBg9J8.js +8 -0
- package/dist/{Stack-CZu3N-Ba.js → Stack-euVJ1SJW.js} +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/assets/styles3.css +1 -0
- package/dist/{auth-PInt5Jrb.js → auth-RJ36qeYb.js} +1 -1
- package/dist/{bank-BDnnvwyk.js → bank-Dml7vXW5.js} +10 -10
- package/dist/components/RocketRamp/MinimalKyc/form.js +6 -6
- 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 +5 -5
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +1 -1
- package/dist/components/RocketRamp/Player/Dashboard/index.js +13 -15
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +1 -1
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +5 -5
- package/dist/components/RocketRamp/Player/Sell/index.js +8 -8
- package/dist/components/RocketRamp/Player/SignIn/index.js +3 -3
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +3 -3
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/email.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/index.js +4 -4
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/summary.js +1 -1
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +1 -1
- package/dist/components/RocketRamp/ResetPassword/index.js +3 -3
- package/dist/components/RocketRamp/Shared/Input/index.js +9 -9
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +1 -1
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +1 -1
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +1 -1
- package/dist/components/RocketRamp/Store/SignUp/index.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/summary.js +1 -1
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +1 -1
- package/dist/components/RocketRamp/Transactions/index.js +8 -8
- package/dist/components/Shared/HistoryItem/index.js +40 -40
- package/dist/components/Shared/MinimalKyc/index.js +3 -3
- package/dist/components/Shared/tooltip.js +5 -2108
- package/dist/components/Wallet/Account/createIban.js +1 -1
- package/dist/components/Wallet/Account/iban.js +5 -5
- package/dist/components/Wallet/Account/index.js +17 -17
- package/dist/components/Wallet/Account/sendIban.js +16 -16
- package/dist/components/Wallet/Buy/confirmTransaction.d.ts +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -4
- package/dist/components/Wallet/Buy/form.d.ts +2 -2
- package/dist/components/Wallet/Buy/form.js +9 -6
- package/dist/components/Wallet/Buy/index.d.ts +1 -1
- package/dist/components/Wallet/Buy/index.js +7 -7
- package/dist/components/Wallet/Deposit/index.d.ts +2 -0
- package/dist/components/Wallet/Deposit/index.js +110 -0
- package/dist/components/Wallet/EnterpriseKyc/edd.js +93 -81
- package/dist/components/Wallet/EnterpriseKyc/index.js +121 -108
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +93 -77
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +1 -0
- package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
- package/dist/components/Wallet/History/index.js +4 -4
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +33 -33
- package/dist/components/Wallet/Portfolio/index.js +171 -138
- package/dist/components/Wallet/Profile/documents.js +4 -4
- package/dist/components/Wallet/Profile/index.js +4 -4
- package/dist/components/Wallet/Receive/index.js +8 -8
- package/dist/components/Wallet/Sell/confirmTransaction.d.ts +3 -0
- package/dist/components/Wallet/Sell/confirmTransaction.js +18 -0
- package/dist/components/Wallet/Sell/form.d.ts +3 -0
- package/dist/components/Wallet/Sell/form.js +32 -0
- package/dist/components/Wallet/Sell/index.d.ts +6 -0
- package/dist/components/Wallet/Sell/index.js +22 -0
- package/dist/components/Wallet/Send/index.js +6 -6
- package/dist/components/Wallet/Shared/Auth/emailForm.js +1 -1
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +1 -1
- package/dist/components/Wallet/Shared/Container/index.js +1 -1
- package/dist/components/Wallet/Shared/Order/types.d.ts +51 -0
- package/dist/components/Wallet/Shared/TokenModal/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/TokenModal/index.js +5 -5
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Wallet/Shared/addBank.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/pin.js +1 -1
- 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 +1 -1
- package/dist/components/Wallet/Stake/id/index.js +3 -3
- package/dist/components/Wallet/Stake/index.js +7 -7
- package/dist/components/Wallet/Swap/index.d.ts +3 -2
- package/dist/components/Wallet/Swap/index.js +327 -271
- package/dist/components/Wallet/SwapAndUniSwap/index.js +31 -35
- package/dist/components/Wallet/{Buy → SwapAndUniSwap}/types.d.ts +4 -13
- package/dist/components/Wallet/SwapAndUniSwap/types.js +1 -0
- package/dist/components/Wallet/Withdraw/bankSelect.d.ts +4 -0
- package/dist/components/Wallet/Withdraw/bankSelect.js +21 -0
- package/dist/components/Wallet/Withdraw/confirmTransaction.d.ts +3 -0
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +19 -0
- package/dist/components/Wallet/Withdraw/form.d.ts +3 -0
- package/dist/components/Wallet/Withdraw/form.js +26 -0
- package/dist/components/Wallet/Withdraw/index.d.ts +7 -0
- package/dist/components/Wallet/Withdraw/index.js +22 -0
- package/dist/constants-QcvnheTz.js +5307 -0
- package/dist/cryptoAssets-DBfxll21.js +16 -0
- package/dist/{documents-b3tR38Qf.js → documents-Bd28UFLu.js} +3 -3
- package/dist/{fiatAssets-Di1Dvl51.js → fiatAssets-w5Lh-MSu.js} +1 -1
- package/dist/hoc/withThemeProvider.js +163 -164
- package/dist/hooks/useDialog/index.js +22 -22
- package/dist/hooks/useRrDialog/index.js +1 -1
- package/dist/{iban-D3Y3E3cN.js → iban-CKaN4sIM.js} +6 -6
- package/dist/index-BEdISdN-.js +709 -0
- package/dist/{index-BhJeqQtm.js → index-BNaxzTKI.js} +164 -163
- package/dist/index-BvftsxV1.js +677 -0
- package/dist/index-DSHZv8ZQ.js +569 -0
- package/dist/{index-D2XCPzg3.js → index-_KAhqkWc.js} +144 -143
- package/dist/{index-DQaPU81n.js → index-f15o1nhn.js} +3 -3
- package/dist/{kyc-8mSMgUlU.js → kyc-V7cIa71M.js} +1 -1
- package/dist/main.d.ts +4 -0
- package/dist/main.js +47 -39
- package/dist/order-6L4LZOBs.js +41 -0
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-Cf5t27F3.js → stake-r4KUlRcz.js} +1 -1
- package/dist/styles.module-BFHktEw2.js +30 -0
- package/dist/{styles.module-Ctfaq7f2.js → styles.module-DJk7Pf0F.js} +1 -1
- package/dist/tooltip-BVZ66d8C.js +2111 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +84 -83
- package/dist/{wallet-Bghw0_Nm.js → wallet-D7MEPP5y.js} +1 -1
- package/package.json +2 -2
- package/dist/PlayArrow-Dent7shn.js +0 -21
- package/dist/assets/index12.css +0 -1
- package/dist/assets/index13.css +0 -1
- package/dist/constants-A8X7fywY.js +0 -3882
- package/dist/index-Bqxs_jIU.js +0 -709
- package/dist/order-DTnCUIx0.js +0 -34
- /package/dist/assets/{main.css → withThemeProvider.css} +0 -0
- /package/dist/components/Wallet/{Buy → Shared/Order}/types.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a, jsxs as r, Fragment as E } from "react/jsx-runtime";
|
|
2
2
|
import { useState as L } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { u as p } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { DIALOG_ERROR_ICON as m, DIALOG_SUCCESS_ICON as S } from "../../../util/constants.js";
|
|
5
5
|
import { C as g } from "../../../Close-Dv525LOL.js";
|
|
6
6
|
import B from "../../Shared/transition.js";
|
|
@@ -4,13 +4,13 @@ import "../../../Info-DPMWjNcQ.js";
|
|
|
4
4
|
import "../../../Close-Dv525LOL.js";
|
|
5
5
|
import "../../../ContentCopy-DJHPK7G4.js";
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../order-
|
|
9
|
-
import "../../../bank-
|
|
10
|
-
import "
|
|
7
|
+
import "../../../constants-QcvnheTz.js";
|
|
8
|
+
import "../../../order-6L4LZOBs.js";
|
|
9
|
+
import "../../../bank-Dml7vXW5.js";
|
|
10
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
11
11
|
import "../Shared/noData.js";
|
|
12
12
|
import "../../Shared/transition.js";
|
|
13
|
-
import { I as y } from "../../../iban-
|
|
13
|
+
import { I as y } from "../../../iban-CKaN4sIM.js";
|
|
14
14
|
import "./sendIban.js";
|
|
15
15
|
import "./createIban.js";
|
|
16
16
|
import "../../../context/snackBarContext.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as n, jsx as e, Fragment as ee } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as h } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import "../../../constants-
|
|
5
|
-
import {
|
|
6
|
-
import { u as re, a as oe, b as le, c as ie, d as ce, e as me } from "../../../wallet-
|
|
7
|
-
import { u as de, d as he } from "../../../bank-
|
|
8
|
-
import { s as a, I as
|
|
9
|
-
import { LINKED_WALLET_TOOLTIP as
|
|
3
|
+
import { a as te, u as g } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import "../../../constants-QcvnheTz.js";
|
|
5
|
+
import { b as ae, u as ne, c as se } from "../../../index-f15o1nhn.js";
|
|
6
|
+
import { u as re, a as oe, b as le, c as ie, d as ce, e as me } from "../../../wallet-D7MEPP5y.js";
|
|
7
|
+
import { u as de, d as he } from "../../../bank-Dml7vXW5.js";
|
|
8
|
+
import { s as a, I as ue } from "../../../iban-CKaN4sIM.js";
|
|
9
|
+
import { LINKED_WALLET_TOOLTIP as pe, CONNECTED_WALLET_TOOLTIP as fe, WALLET_ICON as ge, DELETE_ICON as be } from "../../../util/constants.js";
|
|
10
10
|
import Ne from "../../../hoc/withThemeProvider.js";
|
|
11
|
-
import R from "
|
|
11
|
+
import { M as R } from "../../../tooltip-BVZ66d8C.js";
|
|
12
12
|
import { I as q } from "../../../Info-DPMWjNcQ.js";
|
|
13
13
|
import { C as We } from "../../../Cancel-Ch0B8nr4.js";
|
|
14
14
|
import { D as xe } from "../../../Delete-D8ao9Ydc.js";
|
|
@@ -30,11 +30,11 @@ import { B as A } from "../../../Button-Csuq67Py.js";
|
|
|
30
30
|
import { D as Te, a as Le } from "../../../DialogContent-BLqflo8C.js";
|
|
31
31
|
import { D as Be } from "../../../DialogTitle-DsyiXz12.js";
|
|
32
32
|
const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
33
|
-
const o = te(), { showAlertMessage: c } = Ae(), { openDialog: T, ConfirmDialog: j } = De(), L = g((t) => t.app.features),
|
|
33
|
+
const o = te(), { showAlertMessage: c } = Ae(), { openDialog: T, ConfirmDialog: j } = De(), L = g((t) => t.app.features), u = g(ae), F = u.loader, B = u.message, S = u.banks, G = u.iban, [z, E] = f(!1), [J, W] = f(!1), [x, Q] = f(""), [C, U] = f(""), P = g(ne), M = P.data, { error: k, message: v, loader: D } = P, O = g(se), p = O.data, {
|
|
34
34
|
error: w,
|
|
35
35
|
message: I,
|
|
36
36
|
loader: V
|
|
37
|
-
} =
|
|
37
|
+
} = O;
|
|
38
38
|
h(() => {
|
|
39
39
|
B && E(!1);
|
|
40
40
|
}, [B]), h(() => {
|
|
@@ -45,7 +45,7 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
45
45
|
k && c({ message: k });
|
|
46
46
|
}, [k]), h(() => {
|
|
47
47
|
v && c({ message: v, type: "success" });
|
|
48
|
-
}, [v]), h(() => (
|
|
48
|
+
}, [v]), h(() => (M.length <= 0 && o(re()), p.length <= 0 && o(oe()), o(de()), () => {
|
|
49
49
|
o(le("")), o(ie(""));
|
|
50
50
|
}), []);
|
|
51
51
|
const X = () => {
|
|
@@ -111,10 +111,10 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
111
111
|
] }) }) })
|
|
112
112
|
] });
|
|
113
113
|
}, Z = (t) => {
|
|
114
|
-
const r =
|
|
114
|
+
const r = p.length;
|
|
115
115
|
let d = !1;
|
|
116
116
|
for (let m = 0; m < r; m++)
|
|
117
|
-
if (
|
|
117
|
+
if (p[m].address.toLowerCase() === t.toLowerCase()) {
|
|
118
118
|
d = !0;
|
|
119
119
|
break;
|
|
120
120
|
}
|
|
@@ -139,7 +139,7 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
139
139
|
/* @__PURE__ */ e(
|
|
140
140
|
R,
|
|
141
141
|
{
|
|
142
|
-
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children:
|
|
142
|
+
title: /* @__PURE__ */ e(s, { sx: { whiteSpace: "pre-line" }, children: pe }),
|
|
143
143
|
placement: "bottom",
|
|
144
144
|
children: /* @__PURE__ */ e(b, { className: a["info-icon"], children: /* @__PURE__ */ e(
|
|
145
145
|
q,
|
|
@@ -153,7 +153,7 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
155
|
D && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
|
|
156
|
-
|
|
156
|
+
M.map((t, r) => /* @__PURE__ */ e(y, { type: "linkedWallet", data: t }, r)),
|
|
157
157
|
/* @__PURE__ */ e(
|
|
158
158
|
A,
|
|
159
159
|
{
|
|
@@ -193,7 +193,7 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
193
193
|
}
|
|
194
194
|
),
|
|
195
195
|
V && /* @__PURE__ */ e(s, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(N, { size: 50 }) }),
|
|
196
|
-
|
|
196
|
+
p.map((t, r) => /* @__PURE__ */ e(y, { type: "connectedWallet", data: t }, r)),
|
|
197
197
|
/* @__PURE__ */ e(
|
|
198
198
|
Ie,
|
|
199
199
|
{
|
|
@@ -205,7 +205,7 @@ const Se = ({ baseUrl: $, checkoutSdkKey: K, appKey: H }) => {
|
|
|
205
205
|
] }),
|
|
206
206
|
/* @__PURE__ */ n(l, { size: { md: 6, xs: 12 }, children: [
|
|
207
207
|
L.iban && /* @__PURE__ */ e(
|
|
208
|
-
|
|
208
|
+
ue,
|
|
209
209
|
{
|
|
210
210
|
openDialog: T,
|
|
211
211
|
dispatch: o,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { jsxs as i, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as i, jsx as e, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import { useState as u, useEffect as W } from "react";
|
|
3
3
|
import { C as D } from "../../../Close-Dv525LOL.js";
|
|
4
4
|
import { I as _ } from "../../../Info-DPMWjNcQ.js";
|
|
5
|
-
import {
|
|
5
|
+
import { u as y } from "../../../react-redux-C7I9-1M6.js";
|
|
6
6
|
import F from "../../Shared/transition.js";
|
|
7
|
-
import P from "
|
|
8
|
-
import {
|
|
9
|
-
import { s as k, c as U } from "../../../bank-
|
|
10
|
-
import { useSnackBarContext as
|
|
11
|
-
import { D as
|
|
7
|
+
import { M as P } from "../../../tooltip-BVZ66d8C.js";
|
|
8
|
+
import { $ as q, a0 as E, a1 as f } from "../../../constants-QcvnheTz.js";
|
|
9
|
+
import { s as k, c as U } from "../../../bank-Dml7vXW5.js";
|
|
10
|
+
import { useSnackBarContext as $ } from "../../../context/snackBarContext.js";
|
|
11
|
+
import { D as w, a as z } from "../../../DialogContent-BLqflo8C.js";
|
|
12
12
|
import { D as G } from "../../../DialogTitle-DsyiXz12.js";
|
|
13
13
|
import { T as n } from "../../../Typography-DiFeMX5p.js";
|
|
14
14
|
import { I as A } from "../../../IconButton-DRnoPKKH.js";
|
|
15
15
|
import { G as t } from "../../../Grid-C6plET3a.js";
|
|
16
16
|
import { F as l } from "../../../FormControl-uQi14shL.js";
|
|
17
17
|
import { F as s } from "../../../FilledInput-Bvhqpjsa.js";
|
|
18
|
-
import { I as
|
|
19
|
-
import { B as
|
|
18
|
+
import { I as M } from "../../../InputAdornment-BStVwy6a.js";
|
|
19
|
+
import { B as j } from "../../../Box-rIIGCyb6.js";
|
|
20
20
|
import { B as H } from "../../../Button-Csuq67Py.js";
|
|
21
21
|
import { C as O } from "../../../CircularProgress-CBhr9Pli.js";
|
|
22
22
|
const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
23
|
-
const { showAlertMessage: a } =
|
|
23
|
+
const { showAlertMessage: a } = $(), g = y(
|
|
24
24
|
(r) => r.user.profile
|
|
25
25
|
), o = v.sendStatus, c = v.data, [m, N] = u(""), [d, b] = u(""), [p, S] = u(""), [h, I] = u("");
|
|
26
26
|
W(() => {
|
|
27
27
|
o === q && (N(""), b(""), S(""), I(""));
|
|
28
28
|
}, [o]);
|
|
29
|
-
const
|
|
29
|
+
const B = () => {
|
|
30
30
|
if (!m.trim()) {
|
|
31
31
|
a({ message: "Please provide Receiver's IBAN" });
|
|
32
32
|
return;
|
|
@@ -69,7 +69,7 @@ const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
|
69
69
|
x(U(""));
|
|
70
70
|
};
|
|
71
71
|
return /* @__PURE__ */ i(
|
|
72
|
-
|
|
72
|
+
w,
|
|
73
73
|
{
|
|
74
74
|
open: o === E || o === f,
|
|
75
75
|
fullWidth: !0,
|
|
@@ -201,7 +201,7 @@ const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
|
201
201
|
{
|
|
202
202
|
value: p,
|
|
203
203
|
onChange: (r) => S(r.target.value),
|
|
204
|
-
startAdornment: /* @__PURE__ */ e(
|
|
204
|
+
startAdornment: /* @__PURE__ */ e(M, { position: "start", children: "EUR" }),
|
|
205
205
|
type: "text",
|
|
206
206
|
required: !0,
|
|
207
207
|
fullWidth: !0
|
|
@@ -218,7 +218,7 @@ const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
|
218
218
|
/* @__PURE__ */ e(
|
|
219
219
|
P,
|
|
220
220
|
{
|
|
221
|
-
title: /* @__PURE__ */ e(
|
|
221
|
+
title: /* @__PURE__ */ e(j, { sx: { whiteSpace: "pre-line" }, children: "The reference will appear on the receiver's bank statement." }),
|
|
222
222
|
placement: "bottom",
|
|
223
223
|
children: /* @__PURE__ */ e(A, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
224
224
|
_,
|
|
@@ -248,11 +248,11 @@ const pe = ({ iban: v, dispatch: x, appKey: R }) => {
|
|
|
248
248
|
H,
|
|
249
249
|
{
|
|
250
250
|
sx: { mt: 4 },
|
|
251
|
-
onClick:
|
|
251
|
+
onClick: B,
|
|
252
252
|
className: "wallet-btn",
|
|
253
253
|
variant: "contained",
|
|
254
254
|
fullWidth: !0,
|
|
255
|
-
children: /* @__PURE__ */ e("strong", { children: o === f ? /* @__PURE__ */ i(
|
|
255
|
+
children: /* @__PURE__ */ e("strong", { children: o === f ? /* @__PURE__ */ i(T, { children: [
|
|
256
256
|
/* @__PURE__ */ e(O, { size: 15, color: "inherit" }),
|
|
257
257
|
" Processing..."
|
|
258
258
|
] }) : "Send" })
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, }:
|
|
1
|
+
import { ConfirmTransactionProps } from '../Shared/Order/types';
|
|
2
|
+
declare const BuyConfirmTransaction: ({ setScreen, partnerKey, orderData, dispatch, walletAddress, }: ConfirmTransactionProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BuyConfirmTransaction;
|
|
@@ -3,14 +3,15 @@ import "react";
|
|
|
3
3
|
import "../Shared/backBtn.js";
|
|
4
4
|
import "../../../util/functions.js";
|
|
5
5
|
import "../../../util/constants.js";
|
|
6
|
-
import
|
|
6
|
+
import "../../../styles.module-BFHktEw2.js";
|
|
7
7
|
import "../Shared/appButton.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import "../../../order-
|
|
8
|
+
import "../../../constants-QcvnheTz.js";
|
|
9
|
+
import "../../../order-6L4LZOBs.js";
|
|
10
|
+
import { a as c } from "../../../index-BEdISdN-.js";
|
|
10
11
|
import "../../../Typography-DiFeMX5p.js";
|
|
11
12
|
import "../../../Box-rIIGCyb6.js";
|
|
12
13
|
import "../../../Grid2-DJW3x_WO.js";
|
|
13
14
|
import "../../../CircularProgress-CBhr9Pli.js";
|
|
14
15
|
export {
|
|
15
|
-
|
|
16
|
+
c as default
|
|
16
17
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const BuyForm: ({ setScreen, orderData, dispatch, fiatAssets, cryptoAssets, getCryptoAssets, showAlertMessage, partnerKey, }:
|
|
1
|
+
import { FormProps } from '../Shared/Order/types';
|
|
2
|
+
declare const BuyForm: ({ setScreen, orderData, dispatch, fiatAssets, cryptoAssets, getCryptoAssets, showAlertMessage, partnerKey, walletAddress, setWalletAddress, }: FormProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export default BuyForm;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../PlayArrow-
|
|
3
|
+
import "../../../PlayArrow-BYMBg9J8.js";
|
|
4
4
|
import "../../../Info-DPMWjNcQ.js";
|
|
5
5
|
import "../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../../util/constants.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import "../../../
|
|
9
|
-
import "
|
|
7
|
+
import "../../../constants-QcvnheTz.js";
|
|
8
|
+
import "../../../index-f15o1nhn.js";
|
|
9
|
+
import "../../../order-6L4LZOBs.js";
|
|
10
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
10
11
|
import "../../../util/functions.js";
|
|
11
12
|
import "../Shared/appButton.js";
|
|
12
|
-
import { B as
|
|
13
|
+
import { B as C } from "../../../index-BEdISdN-.js";
|
|
14
|
+
import "../../../styles.module-BFHktEw2.js";
|
|
13
15
|
import "../Shared/TokenModal/index.js";
|
|
16
|
+
import "../../../react-redux-C7I9-1M6.js";
|
|
14
17
|
import "../../../Grid2-DJW3x_WO.js";
|
|
15
18
|
import "../../../Typography-DiFeMX5p.js";
|
|
16
19
|
import "../../../FormControl-uQi14shL.js";
|
|
@@ -23,5 +26,5 @@ import "../../../ListItemIcon-BO6nZHNq.js";
|
|
|
23
26
|
import "../../../Box-rIIGCyb6.js";
|
|
24
27
|
import "../../../IconButton-DRnoPKKH.js";
|
|
25
28
|
export {
|
|
26
|
-
|
|
29
|
+
C as default
|
|
27
30
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as f, F as A, M as O, P, i as Y } from "../../../index-
|
|
5
|
-
import "../../../react-redux-
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../fiatAssets-
|
|
8
|
-
import "../../../
|
|
9
|
-
import "../../../
|
|
4
|
+
import { C as f, F as A, M as O, P, i as Y } from "../../../index-BEdISdN-.js";
|
|
5
|
+
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import "../../../constants-QcvnheTz.js";
|
|
7
|
+
import "../../../fiatAssets-w5Lh-MSu.js";
|
|
8
|
+
import "../../../cryptoAssets-DBfxll21.js";
|
|
9
|
+
import "../../../wallet-D7MEPP5y.js";
|
|
10
|
+
import "../../../order-6L4LZOBs.js";
|
|
10
11
|
import "../../../util/constants.js";
|
|
11
|
-
import "../../../util/functions.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../Shared/Container/index.js";
|
|
14
14
|
import "../Shared/CardPayment/index.js";
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { jsxs as s, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { C as n } from "../../../ContentCopy-DJHPK7G4.js";
|
|
3
|
+
import { AuthContainer as d } from "../Shared/Container/index.js";
|
|
4
|
+
import m from "../../../hoc/withThemeProvider.js";
|
|
5
|
+
import "react";
|
|
6
|
+
import "../Shared/appButton.js";
|
|
7
|
+
import "../Shared/Auth/otpForm.js";
|
|
8
|
+
import "../../../constants-QcvnheTz.js";
|
|
9
|
+
import { useSnackBarContext as p } from "../../../context/snackBarContext.js";
|
|
10
|
+
import "../../../util/conversions.js";
|
|
11
|
+
import "../../../index-CAoLi5Qq.js";
|
|
12
|
+
import "../../../react-webcam-B3cXh1XT.js";
|
|
13
|
+
import "../../Shared/transition.js";
|
|
14
|
+
import "../Shared/pin.js";
|
|
15
|
+
import "../../../moment-h96o7c8I.js";
|
|
16
|
+
import { T as c } from "../../../tooltip-BVZ66d8C.js";
|
|
17
|
+
import "../../../index.esm-BsMAMhYW.js";
|
|
18
|
+
import "../../../web3-u4qDZYpo.js";
|
|
19
|
+
import "../../../index-B8QKlEgj.js";
|
|
20
|
+
import "../../../index-ceeCtFuh.js";
|
|
21
|
+
import { T as t } from "../../../Typography-DiFeMX5p.js";
|
|
22
|
+
import { G as r } from "../../../Grid2-DJW3x_WO.js";
|
|
23
|
+
import { B as l } from "../../../Box-rIIGCyb6.js";
|
|
24
|
+
import { I as h } from "../../../IconButton-DRnoPKKH.js";
|
|
25
|
+
const g = [
|
|
26
|
+
{
|
|
27
|
+
name: "BTC",
|
|
28
|
+
address: "bc1q8vesdmrpzmptywhlaw0tgj9qrsv6q2amvttnje",
|
|
29
|
+
logo: "https://assets.coingecko.com/coins/images/1/small/bitcoin.png"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: "ETH",
|
|
33
|
+
address: "0x5E2E21De060ED3C518ee1B82845386C518616d29",
|
|
34
|
+
logo: "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2/logo.png"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: "SOL",
|
|
38
|
+
address: "8YM1PcLATznqgykzAUUrDywDJLhsXZduV7ty9XRg84pY",
|
|
39
|
+
logo: "https://assets.coingecko.com/coins/images/4128/standard/solana.png"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
name: "TRON",
|
|
43
|
+
address: "TChNUEQwpWjpXXqgGCCqNUAfsUvnuHbswb ",
|
|
44
|
+
logo: "https://assets.coingecko.com/coins/images/1094/standard/tron-logo.png"
|
|
45
|
+
}
|
|
46
|
+
], x = ({ network: e }) => {
|
|
47
|
+
const { showAlertMessage: a } = p(), i = () => {
|
|
48
|
+
navigator.clipboard.writeText(e.address), a({
|
|
49
|
+
message: `${e.name} address has been copied successfully.`,
|
|
50
|
+
type: "success"
|
|
51
|
+
});
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ s(
|
|
54
|
+
r,
|
|
55
|
+
{
|
|
56
|
+
mt: 4,
|
|
57
|
+
sx: {
|
|
58
|
+
display: "flex",
|
|
59
|
+
borderRadius: "7px",
|
|
60
|
+
padding: "15px",
|
|
61
|
+
margin: "19px 0px",
|
|
62
|
+
background: "#fbfbfb",
|
|
63
|
+
boxShadow: "0 4px 10px rgba(0, 0, 0, 0.3)",
|
|
64
|
+
mt: 1
|
|
65
|
+
},
|
|
66
|
+
container: !0,
|
|
67
|
+
children: [
|
|
68
|
+
/* @__PURE__ */ o(r, { size: { xs: 3 }, children: /* @__PURE__ */ s(l, { display: "flex", alignItems: "center", gap: 1.5, children: [
|
|
69
|
+
/* @__PURE__ */ o("img", { alt: e.name, src: e.logo, width: 24 }),
|
|
70
|
+
/* @__PURE__ */ o(t, { fontWeight: 600, variant: "body1", color: "primary", children: e.name })
|
|
71
|
+
] }) }),
|
|
72
|
+
/* @__PURE__ */ o(r, { size: { xs: 7 }, children: /* @__PURE__ */ o(
|
|
73
|
+
t,
|
|
74
|
+
{
|
|
75
|
+
variant: "body1",
|
|
76
|
+
sx: {
|
|
77
|
+
whiteSpace: "nowrap",
|
|
78
|
+
overflow: "hidden",
|
|
79
|
+
textOverflow: "ellipsis",
|
|
80
|
+
flex: 1
|
|
81
|
+
},
|
|
82
|
+
children: e.address
|
|
83
|
+
}
|
|
84
|
+
) }),
|
|
85
|
+
/* @__PURE__ */ o(r, { size: { xs: 2 }, textAlign: "right", children: /* @__PURE__ */ o(c, { title: "Copy address", children: /* @__PURE__ */ o(h, { size: "small", onClick: i, children: /* @__PURE__ */ o(n, { fontSize: "small", sx: { color: "#3ac9c2" } }) }) }) })
|
|
86
|
+
]
|
|
87
|
+
}
|
|
88
|
+
);
|
|
89
|
+
}, f = () => /* @__PURE__ */ s(d, { addPadding: !0, children: [
|
|
90
|
+
/* @__PURE__ */ o(t, { variant: "h4", color: "primary", fontWeight: "bold", children: "Deposit" }),
|
|
91
|
+
/* @__PURE__ */ s(t, { mt: 2, variant: "body1", color: "secondary", children: [
|
|
92
|
+
"Only send supported tokens from a",
|
|
93
|
+
" ",
|
|
94
|
+
/* @__PURE__ */ o(
|
|
95
|
+
t,
|
|
96
|
+
{
|
|
97
|
+
variant: "body1",
|
|
98
|
+
component: "span",
|
|
99
|
+
color: "primary",
|
|
100
|
+
sx: { textDecoration: "underline", fontWeight: "bold" },
|
|
101
|
+
children: "connected wallet"
|
|
102
|
+
}
|
|
103
|
+
),
|
|
104
|
+
", and send to the correct network address. Incorrect deposits may be lost."
|
|
105
|
+
] }),
|
|
106
|
+
g.map((e) => /* @__PURE__ */ o(x, { network: e }, e.name))
|
|
107
|
+
] }), P = m(f);
|
|
108
|
+
export {
|
|
109
|
+
P as default
|
|
110
|
+
};
|