everest-npm-features 0.0.17 → 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/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 +5 -5
- 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/index.js +13 -15
- 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 +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 +3 -3
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +3 -3
- package/dist/components/RocketRamp/Shared/Input/index.js +9 -9
- package/dist/components/RocketRamp/Store/SignUp/index.js +3 -3
- 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 +7 -7
- 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 +92 -80
- package/dist/components/Wallet/EnterpriseKyc/index.js +121 -108
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.d.ts +1 -1
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +110 -85
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +1 -0
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- 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/otpForm.js +2 -2
- 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 +6 -6
- 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/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/components/Wallet/{Buy → Shared/Order}/types.js +0 -0
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { useRef as
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { jsxs as T, Fragment as _, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import h from "../Shared/appButton.js";
|
|
3
|
+
import { useRef as d, useState as c, useEffect as v, createRef as S } from "react";
|
|
4
|
+
import P from "./input.js";
|
|
5
|
+
import { a as b } from "../../../react-redux-C7I9-1M6.js";
|
|
6
6
|
import "../../../hoc/withThemeProvider.js";
|
|
7
7
|
import "../Shared/Auth/otpForm.js";
|
|
8
|
-
import "../../../constants-
|
|
9
|
-
import { a
|
|
10
|
-
import { useSnackBarContext as
|
|
8
|
+
import "../../../constants-QcvnheTz.js";
|
|
9
|
+
import { a } from "../../../kyc-V7cIa71M.js";
|
|
10
|
+
import { useSnackBarContext as D } from "../../../context/snackBarContext.js";
|
|
11
11
|
import "../../../util/conversions.js";
|
|
12
12
|
import "../../../index-CAoLi5Qq.js";
|
|
13
|
-
import { C as
|
|
13
|
+
import { C as q } from "../../../Close-Dv525LOL.js";
|
|
14
14
|
import G from "../Shared/step.js";
|
|
15
15
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
16
16
|
import "../../Shared/transition.js";
|
|
17
17
|
import "../Shared/pin.js";
|
|
18
18
|
import "../../../moment-h96o7c8I.js";
|
|
19
|
-
import "
|
|
19
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
20
20
|
import "../../../index.esm-BsMAMhYW.js";
|
|
21
21
|
import "../../../web3-u4qDZYpo.js";
|
|
22
22
|
import "../../../index-B8QKlEgj.js";
|
|
23
23
|
import "../../../index-ceeCtFuh.js";
|
|
24
|
-
import { C as L, a as
|
|
25
|
-
import { B as
|
|
24
|
+
import { C as L, a as H } from "../../../FileDownload-71XI8nQB.js";
|
|
25
|
+
import { B as E } from "../../../Box-rIIGCyb6.js";
|
|
26
26
|
import { I as B } from "../../../InputAdornment-BStVwy6a.js";
|
|
27
|
-
import { I as
|
|
28
|
-
const
|
|
29
|
-
onNext:
|
|
27
|
+
import { I as m } from "../../../IconButton-DRnoPKKH.js";
|
|
28
|
+
const Ae = ({
|
|
29
|
+
onNext: A,
|
|
30
30
|
kycData: i,
|
|
31
|
-
disabled:
|
|
32
|
-
|
|
31
|
+
disabled: f = !1,
|
|
32
|
+
kycStoreData: t
|
|
33
33
|
}) => {
|
|
34
|
-
const
|
|
34
|
+
const O = {
|
|
35
35
|
ID_CARD: {
|
|
36
36
|
text: i.ID_CARD.text,
|
|
37
37
|
file: i.ID_CARD.file,
|
|
38
|
+
preview: i.ID_CARD.preview,
|
|
38
39
|
label: "ID Document: Passport or national ID",
|
|
39
40
|
required: !0,
|
|
40
41
|
multiFile: !1
|
|
@@ -42,6 +43,7 @@ const Te = ({
|
|
|
42
43
|
ADDRESS_DOCUMENT: {
|
|
43
44
|
text: i.ADDRESS_DOCUMENT.text,
|
|
44
45
|
file: i.ADDRESS_DOCUMENT.file,
|
|
46
|
+
preview: i.ADDRESS_DOCUMENT.preview,
|
|
45
47
|
label: "Address Document: Utility Bill, Bank Statement, License",
|
|
46
48
|
required: !0,
|
|
47
49
|
multiFile: !1
|
|
@@ -49,6 +51,7 @@ const Te = ({
|
|
|
49
51
|
AUDITED_FINANCIAL_STATEMENT: {
|
|
50
52
|
text: i.AUDITED_FINANCIAL_STATEMENT.text,
|
|
51
53
|
file: i.AUDITED_FINANCIAL_STATEMENT.file,
|
|
54
|
+
preview: i.AUDITED_FINANCIAL_STATEMENT.preview,
|
|
52
55
|
label: "Audited Financial Statement",
|
|
53
56
|
required: !0,
|
|
54
57
|
multiFile: !1
|
|
@@ -56,6 +59,7 @@ const Te = ({
|
|
|
56
59
|
CERTIFICATE_OF_INCORPORATION: {
|
|
57
60
|
text: i.CERTIFICATE_OF_INCORPORATION.text,
|
|
58
61
|
file: i.CERTIFICATE_OF_INCORPORATION.file,
|
|
62
|
+
preview: i.CERTIFICATE_OF_INCORPORATION.preview,
|
|
59
63
|
label: "Certificate of Incorporation",
|
|
60
64
|
required: !0,
|
|
61
65
|
multiFile: !1
|
|
@@ -63,6 +67,7 @@ const Te = ({
|
|
|
63
67
|
MEMORANDUM_OF_ASSOCIATION: {
|
|
64
68
|
text: i.MEMORANDUM_OF_ASSOCIATION.text,
|
|
65
69
|
file: i.MEMORANDUM_OF_ASSOCIATION.file,
|
|
70
|
+
preview: i.MEMORANDUM_OF_ASSOCIATION.preview,
|
|
66
71
|
label: "Memorandum and Articles of Association",
|
|
67
72
|
required: !0,
|
|
68
73
|
multiFile: !1
|
|
@@ -70,6 +75,7 @@ const Te = ({
|
|
|
70
75
|
CERTIFICATE_OF_GOOD_STANDING: {
|
|
71
76
|
text: i.CERTIFICATE_OF_GOOD_STANDING.text,
|
|
72
77
|
file: i.CERTIFICATE_OF_GOOD_STANDING.file,
|
|
78
|
+
preview: i.CERTIFICATE_OF_GOOD_STANDING.preview,
|
|
73
79
|
label: "Certificate of Incumbency/Good Standing",
|
|
74
80
|
required: !0,
|
|
75
81
|
multiFile: !1
|
|
@@ -77,6 +83,7 @@ const Te = ({
|
|
|
77
83
|
COMPANY_REGISTER_EXTRACT: {
|
|
78
84
|
text: i.COMPANY_REGISTER_EXTRACT.text,
|
|
79
85
|
file: i.COMPANY_REGISTER_EXTRACT.file,
|
|
86
|
+
preview: i.COMPANY_REGISTER_EXTRACT.preview,
|
|
80
87
|
label: "Company Register Extract",
|
|
81
88
|
required: !0,
|
|
82
89
|
multiFile: !1
|
|
@@ -84,6 +91,7 @@ const Te = ({
|
|
|
84
91
|
OWNERSHIP_STRUCTURE_DOCUMENT: {
|
|
85
92
|
text: i.OWNERSHIP_STRUCTURE_DOCUMENT.text,
|
|
86
93
|
file: i.OWNERSHIP_STRUCTURE_DOCUMENT.file,
|
|
94
|
+
preview: i.OWNERSHIP_STRUCTURE_DOCUMENT.preview,
|
|
87
95
|
label: "Compant Ownership Structure (Signed & Dated)",
|
|
88
96
|
required: !0,
|
|
89
97
|
multiFile: !1
|
|
@@ -105,125 +113,142 @@ const Te = ({
|
|
|
105
113
|
OTHER_RELEVANT_DOCUMENT: {
|
|
106
114
|
text: i.OTHER_RELEVANT_DOCUMENT.text,
|
|
107
115
|
file: i.OTHER_RELEVANT_DOCUMENT.file,
|
|
116
|
+
preview: i.OTHER_RELEVANT_DOCUMENT.preview,
|
|
108
117
|
label: "Any Other Relevant Documents",
|
|
109
118
|
required: !1,
|
|
110
119
|
multiFile: !0
|
|
111
120
|
}
|
|
112
|
-
},
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
}, N = b(), { showAlertMessage: C } = D(), F = d(null), [o, s] = c(O);
|
|
122
|
+
v(() => {
|
|
123
|
+
if (t != null && t.uploadData.fileUrl && (t != null && t.uploadData.fileType)) {
|
|
124
|
+
const l = t == null ? void 0 : t.uploadData.fileType;
|
|
125
|
+
s((e) => {
|
|
126
|
+
const r = e[l].file || [];
|
|
127
|
+
return {
|
|
128
|
+
...e,
|
|
129
|
+
[l]: {
|
|
130
|
+
// @ts-ignore
|
|
131
|
+
...e[l],
|
|
132
|
+
// @ts-ignore
|
|
133
|
+
file: [...r, t == null ? void 0 : t.uploadData.fileUrl]
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
}, [t == null ? void 0 : t.uploadData.fileUrl, t == null ? void 0 : t.uploadData.fileType]);
|
|
139
|
+
const I = Object.keys(
|
|
140
|
+
O
|
|
141
|
+
), R = d(
|
|
142
|
+
I.reduce((l, e) => (l[e] = S(), l), {})
|
|
143
|
+
), U = () => {
|
|
144
|
+
for (const l of Object.keys(o)) {
|
|
145
|
+
const e = o[l];
|
|
119
146
|
if (e.required) {
|
|
120
|
-
const
|
|
121
|
-
if (!
|
|
122
|
-
return
|
|
147
|
+
const r = e.text.trim() !== "", p = e.file.length > 0;
|
|
148
|
+
if (!r)
|
|
149
|
+
return C({
|
|
123
150
|
message: `Please fill in "${e.label}" text.`
|
|
124
151
|
}), !1;
|
|
125
|
-
if (!
|
|
126
|
-
return
|
|
152
|
+
if (!p)
|
|
153
|
+
return C({
|
|
127
154
|
message: `Please upload file for "${e.label}".`
|
|
128
155
|
}), !1;
|
|
129
156
|
}
|
|
130
157
|
}
|
|
131
158
|
return !0;
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
},
|
|
135
|
-
const
|
|
136
|
-
!
|
|
137
|
-
const
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
[e]
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
});
|
|
149
|
-
};
|
|
159
|
+
}, M = () => {
|
|
160
|
+
U() && A && A(o);
|
|
161
|
+
}, x = (l, e) => {
|
|
162
|
+
const r = l.target.files;
|
|
163
|
+
!r || r.length === 0 || Array.from(r).map((p) => {
|
|
164
|
+
const w = URL.createObjectURL(p);
|
|
165
|
+
N(a({ file: p, type: e })), s((u) => {
|
|
166
|
+
const g = u[e].file || [];
|
|
167
|
+
return {
|
|
168
|
+
...u,
|
|
169
|
+
[e]: {
|
|
170
|
+
...u[e],
|
|
171
|
+
preview: [...g, w]
|
|
172
|
+
}
|
|
173
|
+
};
|
|
174
|
+
});
|
|
150
175
|
});
|
|
151
176
|
};
|
|
152
|
-
return /* @__PURE__ */
|
|
153
|
-
!
|
|
154
|
-
/* @__PURE__ */
|
|
177
|
+
return /* @__PURE__ */ T(_, { children: [
|
|
178
|
+
!f && /* @__PURE__ */ n(E, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ n(G, { currentStep: 2, totalSteps: 3, topMargin: 0 }) }),
|
|
179
|
+
/* @__PURE__ */ n(
|
|
155
180
|
"form",
|
|
156
181
|
{
|
|
157
|
-
style:
|
|
158
|
-
ref:
|
|
159
|
-
children:
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
|
|
182
|
+
style: f ? {} : { height: "350px", overflowY: "scroll" },
|
|
183
|
+
ref: F,
|
|
184
|
+
children: I.map((l) => /* @__PURE__ */ T(E, { mt: 2, children: [
|
|
185
|
+
/* @__PURE__ */ n(
|
|
186
|
+
P,
|
|
162
187
|
{
|
|
163
|
-
disabled:
|
|
164
|
-
label: o[
|
|
165
|
-
value: o[
|
|
166
|
-
onChange: (e) =>
|
|
167
|
-
...
|
|
168
|
-
[
|
|
188
|
+
disabled: f,
|
|
189
|
+
label: o[l].label,
|
|
190
|
+
value: o[l].text,
|
|
191
|
+
onChange: (e) => s((r) => ({
|
|
192
|
+
...r,
|
|
193
|
+
[l]: { ...r[l], text: e.target.value }
|
|
169
194
|
})),
|
|
170
195
|
slotProps: {
|
|
171
196
|
input: {
|
|
172
|
-
endAdornment: /* @__PURE__ */
|
|
173
|
-
!
|
|
174
|
-
|
|
197
|
+
endAdornment: /* @__PURE__ */ n(B, { position: "end", children: o[l].file.length > 0 ? /* @__PURE__ */ T(_, { children: [
|
|
198
|
+
!f && /* @__PURE__ */ n(
|
|
199
|
+
m,
|
|
175
200
|
{
|
|
176
|
-
onClick: () =>
|
|
201
|
+
onClick: () => s((e) => ({
|
|
177
202
|
...e,
|
|
178
|
-
[
|
|
203
|
+
[l]: { ...e[l], file: [] }
|
|
179
204
|
})),
|
|
180
205
|
edge: "end",
|
|
181
|
-
children: /* @__PURE__ */
|
|
206
|
+
children: /* @__PURE__ */ n(q, {})
|
|
182
207
|
}
|
|
183
208
|
),
|
|
184
|
-
o[
|
|
185
|
-
|
|
209
|
+
o[l].preview.map((e, r) => /* @__PURE__ */ n(
|
|
210
|
+
m,
|
|
186
211
|
{
|
|
187
212
|
onClick: () => window.open(e),
|
|
188
213
|
edge: "end",
|
|
189
|
-
children: /* @__PURE__ */
|
|
214
|
+
children: /* @__PURE__ */ n(L, {})
|
|
190
215
|
},
|
|
191
|
-
|
|
216
|
+
r
|
|
192
217
|
))
|
|
193
|
-
] }) : /* @__PURE__ */
|
|
194
|
-
|
|
218
|
+
] }) : /* @__PURE__ */ n(
|
|
219
|
+
m,
|
|
195
220
|
{
|
|
196
221
|
onClick: () => {
|
|
197
|
-
var e,
|
|
198
|
-
return (
|
|
222
|
+
var e, r;
|
|
223
|
+
return (r = (e = R.current[l]) == null ? void 0 : e.current) == null ? void 0 : r.click();
|
|
199
224
|
},
|
|
200
225
|
edge: "end",
|
|
201
|
-
children: /* @__PURE__ */
|
|
226
|
+
children: /* @__PURE__ */ n(H, {})
|
|
202
227
|
}
|
|
203
228
|
) })
|
|
204
229
|
}
|
|
205
230
|
},
|
|
206
|
-
required: o[
|
|
231
|
+
required: o[l].required
|
|
207
232
|
}
|
|
208
233
|
),
|
|
209
|
-
/* @__PURE__ */
|
|
234
|
+
/* @__PURE__ */ n(
|
|
210
235
|
"input",
|
|
211
236
|
{
|
|
212
|
-
ref:
|
|
237
|
+
ref: R.current[l],
|
|
213
238
|
name: "regStatusFile",
|
|
214
239
|
type: "file",
|
|
215
|
-
onChange: (e) =>
|
|
240
|
+
onChange: (e) => x(e, l),
|
|
216
241
|
accept: "application/pdf, image/*",
|
|
217
|
-
multiple: o[
|
|
242
|
+
multiple: o[l].multiFile,
|
|
218
243
|
hidden: !0
|
|
219
244
|
}
|
|
220
245
|
)
|
|
221
|
-
] },
|
|
246
|
+
] }, l))
|
|
222
247
|
}
|
|
223
248
|
),
|
|
224
|
-
!
|
|
249
|
+
!f && /* @__PURE__ */ n(E, { mt: 3.5, children: /* @__PURE__ */ n(h, { fullWidth: !0, onClick: M, children: "Next" }) })
|
|
225
250
|
] });
|
|
226
251
|
};
|
|
227
252
|
export {
|
|
228
|
-
|
|
253
|
+
Ae as default
|
|
229
254
|
};
|
|
@@ -6,7 +6,7 @@ import l from "./input.js";
|
|
|
6
6
|
import { pick as w } from "../../../util/functions.js";
|
|
7
7
|
import "../../../hoc/withThemeProvider.js";
|
|
8
8
|
import "../Shared/Auth/otpForm.js";
|
|
9
|
-
import "../../../constants-
|
|
9
|
+
import "../../../constants-QcvnheTz.js";
|
|
10
10
|
import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
|
|
11
11
|
import "../../../util/conversions.js";
|
|
12
12
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -15,7 +15,7 @@ import "../../../react-webcam-B3cXh1XT.js";
|
|
|
15
15
|
import "../../Shared/transition.js";
|
|
16
16
|
import "../Shared/pin.js";
|
|
17
17
|
import "../../../moment-h96o7c8I.js";
|
|
18
|
-
import "
|
|
18
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
19
19
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
20
|
import "../../../web3-u4qDZYpo.js";
|
|
21
21
|
import "../../../index-B8QKlEgj.js";
|
|
@@ -7,7 +7,7 @@ import { c as x } from "../../../createSvgIcon-i5pI36SR.js";
|
|
|
7
7
|
import { useState as C } from "react";
|
|
8
8
|
import "../../../hoc/withThemeProvider.js";
|
|
9
9
|
import "../Shared/Auth/otpForm.js";
|
|
10
|
-
import "../../../constants-
|
|
10
|
+
import "../../../constants-QcvnheTz.js";
|
|
11
11
|
import { useSnackBarContext as g } from "../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../util/conversions.js";
|
|
13
13
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -15,7 +15,7 @@ import "../../../react-webcam-B3cXh1XT.js";
|
|
|
15
15
|
import "../../Shared/transition.js";
|
|
16
16
|
import "../Shared/pin.js";
|
|
17
17
|
import "../../../moment-h96o7c8I.js";
|
|
18
|
-
import "
|
|
18
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
19
19
|
import "../../../index.esm-BsMAMhYW.js";
|
|
20
20
|
import "../../../web3-u4qDZYpo.js";
|
|
21
21
|
import "../../../index-B8QKlEgj.js";
|
|
@@ -2,9 +2,9 @@ import { jsx as r, jsxs as q, Fragment as U } from "react/jsx-runtime";
|
|
|
2
2
|
import * as J from "react";
|
|
3
3
|
import { useState as ot, useEffect as st } from "react";
|
|
4
4
|
import nt from "../../../hoc/withThemeProvider.js";
|
|
5
|
-
import {
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import {
|
|
5
|
+
import { a as rt, u as it } from "../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import "../../../constants-QcvnheTz.js";
|
|
7
|
+
import { d as lt } from "../../../order-6L4LZOBs.js";
|
|
8
8
|
import pt from "../../Shared/HistoryItem/index.js";
|
|
9
9
|
import { B } from "../../../Box-rIIGCyb6.js";
|
|
10
10
|
import { g as K, a as z, P as a, f as R } from "../../../createTheme-CKy7OHWe.js";
|
|
@@ -18,7 +18,7 @@ import { u as j } from "../../../useSlot-BofjcjWw.js";
|
|
|
18
18
|
import { B as ut } from "../../../ButtonBase-DC2O2INs.js";
|
|
19
19
|
import { C as gt } from "../../../CircularProgress-CBhr9Pli.js";
|
|
20
20
|
import { T as ft } from "../../../Typography-DiFeMX5p.js";
|
|
21
|
-
import '../../../assets/
|
|
21
|
+
import '../../../assets/index10.css';function vt(t) {
|
|
22
22
|
return K("MuiPagination", t);
|
|
23
23
|
}
|
|
24
24
|
Q("MuiPagination", ["root", "ul", "outlined", "text"]);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as c, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useRef as Y, useEffect as T } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { a as Z, u as S } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { C as ee } from "../../../Close-Dv525LOL.js";
|
|
5
5
|
import te from "../Shared/pin.js";
|
|
6
6
|
import re from "../../../hoc/withThemeProvider.js";
|
|
7
7
|
import { displayWalletAddress as oe } from "../../../util/functions.js";
|
|
8
8
|
import "../Shared/appButton.js";
|
|
9
|
-
import { BACK_BTN_ICON as
|
|
9
|
+
import { BACK_BTN_ICON as ae, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
|
|
10
10
|
import "../Shared/Auth/otpForm.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { g as de } from "../../../wallet-
|
|
11
|
+
import { a2 as se, a3 as ne, a4 as ie, a5 as le, a6 as ce } from "../../../constants-QcvnheTz.js";
|
|
12
|
+
import { a as me } from "../../../index-f15o1nhn.js";
|
|
13
|
+
import { g as de } from "../../../wallet-D7MEPP5y.js";
|
|
14
14
|
import "../../../context/snackBarContext.js";
|
|
15
|
-
import { numberFormat as
|
|
16
|
-
import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
|
|
15
|
+
import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
|
|
17
16
|
import "../../../index-CAoLi5Qq.js";
|
|
17
|
+
import { useSnackBar as ge } from "../../../hooks/useSnackBar.js";
|
|
18
18
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
19
19
|
import "../../Shared/transition.js";
|
|
20
20
|
import "../../../moment-h96o7c8I.js";
|
|
21
|
-
import "
|
|
21
|
+
import "../../../tooltip-BVZ66d8C.js";
|
|
22
22
|
import "../../../index.esm-BsMAMhYW.js";
|
|
23
23
|
import "../../../web3-u4qDZYpo.js";
|
|
24
24
|
import "../../../index-B8QKlEgj.js";
|
|
@@ -33,8 +33,8 @@ import { B as M } from "../../../Button-Csuq67Py.js";
|
|
|
33
33
|
import { C as H } from "../../../CircularProgress-CBhr9Pli.js";
|
|
34
34
|
import { D as ve, a as Te } from "../../../DialogContent-BLqflo8C.js";
|
|
35
35
|
import { I as Ne } from "../../../IconButton-DRnoPKKH.js";
|
|
36
|
-
import { G as
|
|
37
|
-
import '../../../assets/
|
|
36
|
+
import { G as s } from "../../../Grid2-DJW3x_WO.js";
|
|
37
|
+
import '../../../assets/index6.css';const be = (r) => ({
|
|
38
38
|
type: ne,
|
|
39
39
|
payload: r
|
|
40
40
|
}), Re = (r) => ({
|
|
@@ -47,7 +47,7 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
47
47
|
type: ce,
|
|
48
48
|
payload: r
|
|
49
49
|
}), Se = () => ({
|
|
50
|
-
type:
|
|
50
|
+
type: se
|
|
51
51
|
}), Ge = "_container_nw82g_1", b = {
|
|
52
52
|
container: Ge,
|
|
53
53
|
"inner-container": "_inner-container_nw82g_13",
|
|
@@ -60,16 +60,16 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
60
60
|
depositAddress: A
|
|
61
61
|
}) => {
|
|
62
62
|
var q, k;
|
|
63
|
-
const { showAlertMessage: E, snackBar: U } = ge(), m = Z(),
|
|
63
|
+
const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), h = S((t) => t.bridge), a = h.gasFee, x = h.loader, u = h.error, R = h.withdrawStatus, B = S((t) => t.user.wallets);
|
|
64
64
|
B.loader;
|
|
65
|
-
const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L =
|
|
65
|
+
const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = he(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = ue(d, r === "ID" ? 18 : 6);
|
|
66
66
|
T(() => (m(de()), () => {
|
|
67
67
|
m(Se());
|
|
68
68
|
}), []), T(() => {
|
|
69
|
-
|
|
70
|
-
}, [
|
|
71
|
-
|
|
72
|
-
}, [
|
|
69
|
+
h.showFeePopUp && a.GasLimit > 0 && C(!0);
|
|
70
|
+
}, [a]), T(() => {
|
|
71
|
+
u && (E({ message: u }), (u === "invalid PIN" || u === "Pin must be 4-digit numeric value") && (Q(!0), _("pin"), C(!1)));
|
|
72
|
+
}, [u]), T(() => {
|
|
73
73
|
const t = W.find(
|
|
74
74
|
(l) => l.address === i
|
|
75
75
|
);
|
|
@@ -104,7 +104,7 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
104
104
|
walletAddress: i,
|
|
105
105
|
amount: v,
|
|
106
106
|
token: r,
|
|
107
|
-
gas:
|
|
107
|
+
gas: a,
|
|
108
108
|
pin: y.current
|
|
109
109
|
};
|
|
110
110
|
m(Re(t));
|
|
@@ -114,7 +114,7 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
114
114
|
fromAddress: i,
|
|
115
115
|
toAddress: A,
|
|
116
116
|
tokenAddress: P,
|
|
117
|
-
gas:
|
|
117
|
+
gas: a,
|
|
118
118
|
pin: y.current
|
|
119
119
|
};
|
|
120
120
|
m(ye(t));
|
|
@@ -143,7 +143,7 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
143
143
|
left: "-18px"
|
|
144
144
|
},
|
|
145
145
|
className: "cursor-pointer",
|
|
146
|
-
src:
|
|
146
|
+
src: ae,
|
|
147
147
|
onClick: () => alert("backFunc"),
|
|
148
148
|
alt: "back"
|
|
149
149
|
}
|
|
@@ -293,25 +293,25 @@ import '../../../assets/index7.css';const be = (r) => ({
|
|
|
293
293
|
children: /* @__PURE__ */ e("strong", { children: "Go Back" })
|
|
294
294
|
}
|
|
295
295
|
) })
|
|
296
|
-
] }) : /* @__PURE__ */ o(
|
|
297
|
-
/* @__PURE__ */ e(
|
|
298
|
-
/* @__PURE__ */ e(
|
|
299
|
-
/* @__PURE__ */ e(
|
|
300
|
-
/* @__PURE__ */ e(
|
|
301
|
-
/* @__PURE__ */ e(
|
|
302
|
-
/* @__PURE__ */ e(
|
|
303
|
-
/* @__PURE__ */ e(
|
|
304
|
-
/* @__PURE__ */ o(
|
|
296
|
+
] }) : /* @__PURE__ */ o(s, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
|
|
297
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
|
|
298
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: r }),
|
|
299
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
|
|
300
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: d }),
|
|
301
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
|
|
302
|
+
/* @__PURE__ */ e(s, { className: "fw500 text-right", size: 6, children: oe(i) }),
|
|
303
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
|
|
304
|
+
/* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
|
|
305
305
|
pe(
|
|
306
|
-
|
|
306
|
+
a != null && a.BaseGasPriceCap ? (q = a == null ? void 0 : a.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
|
|
307
307
|
),
|
|
308
308
|
" ",
|
|
309
309
|
"Gwei"
|
|
310
310
|
] }),
|
|
311
|
-
/* @__PURE__ */ e(
|
|
312
|
-
/* @__PURE__ */ o(
|
|
311
|
+
/* @__PURE__ */ e(s, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
|
|
312
|
+
/* @__PURE__ */ o(s, { className: "fw500 text-right", size: 6, children: [
|
|
313
313
|
fe(
|
|
314
|
-
|
|
314
|
+
a != null && a.TotalMaxEthSpent ? (k = a == null ? void 0 : a.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
|
|
315
315
|
),
|
|
316
316
|
" ",
|
|
317
317
|
"ETH"
|