everest-npm-features 0.0.48 → 0.0.50
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-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
- package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
- package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
- 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 +12 -11
- package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
- 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 +12 -11
- package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
- 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 +39 -38
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
- package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
- 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 +14 -13
- package/dist/components/Shared/FullKyc/edd.js +41 -41
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +31 -30
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +96 -88
- package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
- package/dist/components/Wallet/Account/eWallet.js +118 -0
- package/dist/components/Wallet/Account/iban.d.ts +2 -0
- package/dist/components/Wallet/Account/iban.js +38 -32
- package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
- package/dist/components/Wallet/Account/ibanItem.js +233 -76
- package/dist/components/Wallet/Account/index.d.ts +2 -0
- package/dist/components/Wallet/Account/index.js +164 -143
- package/dist/components/Wallet/Account/sendIban.js +3 -3
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +14 -13
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
- package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +25 -24
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
- package/dist/components/Wallet/Portfolio/index.js +22 -21
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +34 -33
- package/dist/components/Wallet/Profile/index.js +20 -19
- package/dist/components/Wallet/Profile/storage.js +26 -26
- package/dist/components/Wallet/Receive/index.js +22 -21
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +13 -12
- package/dist/components/Wallet/Send/index.js +19 -18
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
- package/dist/components/Wallet/Shared/addBank.js +39 -38
- package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
- package/dist/components/Wallet/Shared/manualSend.js +6 -5
- package/dist/components/Wallet/SignIn/index.js +24 -23
- package/dist/components/Wallet/SignUp/index.js +22 -21
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/form.js +8 -7
- package/dist/components/Wallet/Swap/index.js +11 -10
- package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
- 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 +12 -11
- package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
- package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
- package/dist/hooks/useEverestDispatch.d.ts +6 -0
- package/dist/hooks/useEverestDispatch.js +5 -0
- package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
- package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
- package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
- package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
- package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
- package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
- package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
- package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
- package/dist/{tokenRow-D32W5WH3.js → tokenRow-B-tustzZ.js} +8 -6
- package/dist/util/constants.d.ts +2 -0
- package/dist/util/constants.js +21 -19
- package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
- package/package.json +3 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as a, V as E, g as s, h as t, A as R, R as _, i as o, j as y, k as S, l as T, m as p, n as l, o as i } from "./constants-
|
|
1
|
+
import { L as a, V as E, g as s, h as t, A as R, R as _, i as o, j as y, k as S, l as T, m as p, n as l, o as i } from "./constants-t7n9qCW3.js";
|
|
2
2
|
const A = () => ({
|
|
3
3
|
type: R
|
|
4
4
|
}), I = (e) => ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const
|
|
1
|
+
import { W as e, X as s, Y as t, Z as E, _ as o, $ as p, a0 as R, a1 as _ } from "./constants-t7n9qCW3.js";
|
|
2
|
+
const T = () => ({
|
|
3
3
|
type: e
|
|
4
4
|
}), d = (a) => ({
|
|
5
5
|
type: E,
|
|
@@ -29,5 +29,5 @@ export {
|
|
|
29
29
|
A as e,
|
|
30
30
|
u as p,
|
|
31
31
|
l as s,
|
|
32
|
-
|
|
32
|
+
T as u
|
|
33
33
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsxs as u, Fragment as D, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { useState as s, useEffect as c } from "react";
|
|
3
3
|
import { h as G } from "../../../moment-h96o7c8I.js";
|
|
4
|
-
import { u as
|
|
4
|
+
import { u as R } from "../../../react-redux-C7I9-1M6.js";
|
|
5
5
|
import { removeExtraSpace as i } from "../../../util/functions.js";
|
|
6
|
-
import { nameRegex as
|
|
6
|
+
import { nameRegex as H } from "../../../util/regex.js";
|
|
7
7
|
import "../../../index-DlQqWbXG.js";
|
|
8
8
|
import "../../Wallet/Shared/appButton.js";
|
|
9
9
|
import "../../../hoc/withThemeProvider.js";
|
|
10
10
|
import "../../Wallet/Shared/Auth/otpForm.js";
|
|
11
|
-
import "../../../constants-
|
|
12
|
-
import { r as
|
|
11
|
+
import "../../../constants-t7n9qCW3.js";
|
|
12
|
+
import { r as J, u as Q } from "../../../kyc-D9xahfH9.js";
|
|
13
13
|
import "../../../context/snackBarContext.js";
|
|
14
|
+
import U from "../../../hooks/useEverestDispatch.js";
|
|
14
15
|
import "../../../util/conversions.js";
|
|
15
16
|
import "../../../index-CAoLi5Qq.js";
|
|
16
17
|
import { useSnackBar as V } from "../../../hooks/useSnackBar.js";
|
|
@@ -32,15 +33,15 @@ import { S as te } from "../../../Select-CB5yWmyn.js";
|
|
|
32
33
|
import { M as F } from "../../../MenuItem-DUdYOJr4.js";
|
|
33
34
|
import { C as re } from "../../../CircularProgress-xZA3lvba.js";
|
|
34
35
|
const Ye = ({ onComplete: z }) => {
|
|
35
|
-
const h =
|
|
36
|
+
const h = U(), n = R(
|
|
36
37
|
(e) => e.user.profile
|
|
37
38
|
);
|
|
38
39
|
R(
|
|
39
40
|
(e) => e.order.estimate.conversion_price
|
|
40
41
|
);
|
|
41
|
-
const m = n.kyc, g = m.loader, p = m.error, { showAlertMessage: r, snackBar:
|
|
42
|
+
const m = n.kyc, g = m.loader, p = m.error, { showAlertMessage: r, snackBar: E } = V(), [v, y] = s(""), [C, b] = s(""), [d, I] = s(""), [W, K] = s(""), [P, Y] = s(""), [S, j] = s(""), [N, L] = s(""), [k, T] = s(""), [f, Z] = s("");
|
|
42
43
|
c(() => () => {
|
|
43
|
-
h(
|
|
44
|
+
h(J());
|
|
44
45
|
}, []), c(() => {
|
|
45
46
|
p && r({ message: p });
|
|
46
47
|
}, [p]), c(() => {
|
|
@@ -91,7 +92,7 @@ const Ye = ({ onComplete: z }) => {
|
|
|
91
92
|
r({ message: "Please provide country" });
|
|
92
93
|
return;
|
|
93
94
|
}
|
|
94
|
-
g || h(
|
|
95
|
+
g || h(Q({
|
|
95
96
|
personal_information: {
|
|
96
97
|
first_name: e,
|
|
97
98
|
last_name: l,
|
|
@@ -107,10 +108,10 @@ const Ye = ({ onComplete: z }) => {
|
|
|
107
108
|
}
|
|
108
109
|
}));
|
|
109
110
|
}, q = (e, l) => {
|
|
110
|
-
e ?
|
|
111
|
+
e ? H.test(e) && l(e) : l("");
|
|
111
112
|
};
|
|
112
113
|
return /* @__PURE__ */ u(D, { children: [
|
|
113
|
-
|
|
114
|
+
E,
|
|
114
115
|
/* @__PURE__ */ t(M, { color: "primary", variant: "lg", fontWeight: 600, children: /* @__PURE__ */ t("b", { children: "Personal Details" }) }),
|
|
115
116
|
/* @__PURE__ */ t(a, { mt: 2, children: /* @__PURE__ */ t(
|
|
116
117
|
o,
|
|
@@ -142,7 +143,7 @@ const Ye = ({ onComplete: z }) => {
|
|
|
142
143
|
type: "date",
|
|
143
144
|
label: "Date Of Birth",
|
|
144
145
|
value: d,
|
|
145
|
-
onChange: (e) =>
|
|
146
|
+
onChange: (e) => I(e.target.value),
|
|
146
147
|
fullWidth: !0,
|
|
147
148
|
required: !0
|
|
148
149
|
}
|
|
@@ -153,7 +154,7 @@ const Ye = ({ onComplete: z }) => {
|
|
|
153
154
|
{
|
|
154
155
|
label: "Address 1",
|
|
155
156
|
value: W,
|
|
156
|
-
onChange: (e) =>
|
|
157
|
+
onChange: (e) => K(e.target.value),
|
|
157
158
|
fullWidth: !0,
|
|
158
159
|
required: !0
|
|
159
160
|
}
|
|
@@ -163,7 +164,7 @@ const Ye = ({ onComplete: z }) => {
|
|
|
163
164
|
{
|
|
164
165
|
label: "Address 2 (optional)",
|
|
165
166
|
value: P,
|
|
166
|
-
onChange: (e) =>
|
|
167
|
+
onChange: (e) => Y(e.target.value),
|
|
167
168
|
fullWidth: !0
|
|
168
169
|
}
|
|
169
170
|
) }),
|
|
@@ -7,9 +7,9 @@ import "../../../../util/functions.js";
|
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
8
|
import "../../Shared/Input/index.js";
|
|
9
9
|
import "../../Shared/Button/index.js";
|
|
10
|
-
import { C as c } from "../../../../index-
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import "../../../../order-
|
|
10
|
+
import { C as c } from "../../../../index-RDV0mQbt.js";
|
|
11
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
12
|
+
import "../../../../order-jqH948WM.js";
|
|
13
13
|
import "../../../../Typography-pAaje37G.js";
|
|
14
14
|
import "../../../../Box-B0YSYLco.js";
|
|
15
15
|
import "../../../../CircularProgress-xZA3lvba.js";
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "../../Shared/backBtn.js";
|
|
4
4
|
import "../../../../util/functions.js";
|
|
5
5
|
import "../../../../util/constants.js";
|
|
6
|
-
import { a as b } from "../../../../index-
|
|
6
|
+
import { a as b } from "../../../../index-RDV0mQbt.js";
|
|
7
7
|
import "../../Shared/Button/index.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
9
|
+
import "../../../../order-jqH948WM.js";
|
|
10
10
|
import "../../../../Typography-pAaje37G.js";
|
|
11
11
|
import "../../../../Box-B0YSYLco.js";
|
|
12
12
|
import "../../../../Grid-CFe3amXO.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../../PlayArrow-
|
|
3
|
+
import "../../../../PlayArrow-C3uVNo4F.js";
|
|
4
4
|
import "../../../../Info-BVeUSPyk.js";
|
|
5
5
|
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../Shared/Input/index.js";
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
9
|
+
import "../../../../order-jqH948WM.js";
|
|
10
10
|
import "../../../../tooltip-3UvETWtS.js";
|
|
11
11
|
import "../../../../util/functions.js";
|
|
12
12
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { B as w } from "../../../../index-
|
|
13
|
+
import { B as w } from "../../../../index-RDV0mQbt.js";
|
|
14
14
|
import "../../../../Grid-CFe3amXO.js";
|
|
15
15
|
import "../../../../Box-B0YSYLco.js";
|
|
16
16
|
import "../../../../Typography-pAaje37G.js";
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { b as
|
|
5
|
-
import "../../../../react-redux-
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import "../../../../PlayArrow-
|
|
8
|
-
import "../../../../cryptoAssets-
|
|
9
|
-
import "../../../../order-
|
|
4
|
+
import { b as I, F as e, M as f, P as A, i as O } from "../../../../index-RDV0mQbt.js";
|
|
5
|
+
import "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
7
|
+
import "../../../../PlayArrow-C3uVNo4F.js";
|
|
8
|
+
import "../../../../cryptoAssets-shEFU26O.js";
|
|
9
|
+
import "../../../../order-jqH948WM.js";
|
|
10
10
|
import "../../../../util/constants.js";
|
|
11
11
|
import "../../MinimalKyc/form.js";
|
|
12
12
|
import "../../../../util/functions.js";
|
|
13
13
|
import "../../../../context/snackBarContext.js";
|
|
14
|
+
import "../../../../hooks/useEverestDispatch.js";
|
|
14
15
|
import "../../../../Box-B0YSYLco.js";
|
|
15
16
|
export {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
I as CONFIRM_SCREEN,
|
|
18
|
+
e as FORM_SCREEN,
|
|
19
|
+
f as MINIMAL_KYC_SCREEN,
|
|
20
|
+
A as PAYMENT_SCREEN,
|
|
21
|
+
O as default
|
|
21
22
|
};
|
|
@@ -2,27 +2,28 @@ import { jsx as e, jsxs as g, Fragment as y } from "react/jsx-runtime";
|
|
|
2
2
|
import S from "../../../../hoc/withThemeProvider.js";
|
|
3
3
|
import C from "./balance.js";
|
|
4
4
|
import w from "./transaction.js";
|
|
5
|
-
import { u as
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import { a as
|
|
8
|
-
import { useState as
|
|
9
|
-
import { getOrionBalance as
|
|
10
|
-
import { useRrDialog as
|
|
11
|
-
import { c as
|
|
12
|
-
import { C as
|
|
13
|
-
|
|
5
|
+
import { u as c } from "../../../../react-redux-C7I9-1M6.js";
|
|
6
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
7
|
+
import { a as x } from "../../../../order-jqH948WM.js";
|
|
8
|
+
import { useState as b, useEffect as r } from "react";
|
|
9
|
+
import { getOrionBalance as v } from "../../../../util/functions.js";
|
|
10
|
+
import { useRrDialog as B } from "../../../../hooks/useRrDialog/index.js";
|
|
11
|
+
import { c as D } from "../../../../createSvgIcon-Cuzqm90l.js";
|
|
12
|
+
import { C as L } from "../../../../Cancel-4lT7GZUA.js";
|
|
13
|
+
import P from "../../../../hooks/useEverestDispatch.js";
|
|
14
|
+
const T = D(/* @__PURE__ */ e("path", {
|
|
14
15
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
15
|
-
}), "CheckCircle"), k = ({ navigate:
|
|
16
|
-
const { openDialog: m, ConfirmDialog: l } =
|
|
16
|
+
}), "CheckCircle"), k = ({ navigate: a }) => {
|
|
17
|
+
const { openDialog: m, ConfirmDialog: l } = B(), p = P(), s = c((o) => o.order), i = c(
|
|
17
18
|
(o) => o.user.profile
|
|
18
|
-
),
|
|
19
|
-
return
|
|
20
|
-
p(
|
|
21
|
-
}, []),
|
|
19
|
+
), f = s.list, u = s.loader, [d, h] = b(0);
|
|
20
|
+
return r(() => {
|
|
21
|
+
p(x(1));
|
|
22
|
+
}, []), r(() => {
|
|
22
23
|
const n = new URLSearchParams(window.location.search).get("payment");
|
|
23
24
|
if (n) {
|
|
24
25
|
let t = {
|
|
25
|
-
icon: /* @__PURE__ */ e(
|
|
26
|
+
icon: /* @__PURE__ */ e(L, { sx: { fontSize: 80 }, color: "primary" }),
|
|
26
27
|
title: "Transaction Failed",
|
|
27
28
|
message: "Your payment has been failed. Please try again or contact support.",
|
|
28
29
|
confirmButtonText: "Close",
|
|
@@ -37,8 +38,8 @@ const T = P(/* @__PURE__ */ e("path", {
|
|
|
37
38
|
message: "We have received your payment. Your transaction is in process and will be completed in few minutes."
|
|
38
39
|
}), m(t);
|
|
39
40
|
}
|
|
40
|
-
}, []),
|
|
41
|
-
h(
|
|
41
|
+
}, []), r(() => {
|
|
42
|
+
h(v(i.tokens.list));
|
|
42
43
|
}, [i.tokens]), /* @__PURE__ */ g(y, { children: [
|
|
43
44
|
/* @__PURE__ */ e(l, {}),
|
|
44
45
|
/* @__PURE__ */ e(
|
|
@@ -48,19 +49,19 @@ const T = P(/* @__PURE__ */ e("path", {
|
|
|
48
49
|
isBuyAvailable: !0,
|
|
49
50
|
isRedeemAvailable: !0,
|
|
50
51
|
isLoading: !1,
|
|
51
|
-
navigate:
|
|
52
|
+
navigate: a
|
|
52
53
|
}
|
|
53
54
|
),
|
|
54
55
|
/* @__PURE__ */ e(
|
|
55
56
|
w,
|
|
56
57
|
{
|
|
57
|
-
isLoading:
|
|
58
|
-
transactions:
|
|
59
|
-
navigate:
|
|
58
|
+
isLoading: u,
|
|
59
|
+
transactions: f,
|
|
60
|
+
navigate: a
|
|
60
61
|
}
|
|
61
62
|
)
|
|
62
63
|
] });
|
|
63
|
-
},
|
|
64
|
+
}, G = S(k);
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
+
G as default
|
|
66
67
|
};
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "../../Shared/backBtn.js";
|
|
4
4
|
import "../../../../util/functions.js";
|
|
5
5
|
import "../../../../util/constants.js";
|
|
6
|
-
import { B as h } from "../../../../index-
|
|
6
|
+
import { B as h } from "../../../../index-B6MSTmAM.js";
|
|
7
7
|
import "../../Shared/Button/index.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
9
|
+
import "../../../../order-jqH948WM.js";
|
|
10
10
|
import "../../../Shared/transition.js";
|
|
11
11
|
import "../../../../Close-CNwiMz_O.js";
|
|
12
12
|
import "../../../../Typography-pAaje37G.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../../PlayArrow-
|
|
3
|
+
import "../../../../PlayArrow-C3uVNo4F.js";
|
|
4
4
|
import "../../../../Info-BVeUSPyk.js";
|
|
5
5
|
import "../../../../generic-token-B_ptO5yb.js";
|
|
6
6
|
import "../../Shared/Input/index.js";
|
|
7
7
|
import "../../../../util/constants.js";
|
|
8
|
-
import "../../../../constants-
|
|
9
|
-
import "../../../../order-
|
|
8
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
9
|
+
import "../../../../order-jqH948WM.js";
|
|
10
10
|
import "../../../../tooltip-3UvETWtS.js";
|
|
11
11
|
import "../../../../util/functions.js";
|
|
12
12
|
import "../../Shared/Button/index.js";
|
|
13
|
-
import { S as w } from "../../../../index-
|
|
13
|
+
import { S as w } from "../../../../index-B6MSTmAM.js";
|
|
14
14
|
import "../../../../Grid-CFe3amXO.js";
|
|
15
15
|
import "../../../../Box-B0YSYLco.js";
|
|
16
16
|
import "../../../../Typography-pAaje37G.js";
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as c, F as g, M as h, P as j, i as k } from "../../../../index-B6MSTmAM.js";
|
|
5
5
|
import "../../../../index-DlQqWbXG.js";
|
|
6
6
|
import "../../../Wallet/Shared/appButton.js";
|
|
7
|
-
import "../../../../react-redux-
|
|
7
|
+
import "../../../../react-redux-C7I9-1M6.js";
|
|
8
8
|
import "../../../../util/functions.js";
|
|
9
9
|
import "../../../../util/constants.js";
|
|
10
10
|
import "../../../Wallet/Shared/Auth/otpForm.js";
|
|
11
|
-
import "../../../../constants-
|
|
12
|
-
import "../../../../PlayArrow-
|
|
13
|
-
import "../../../../cryptoAssets-
|
|
14
|
-
import "../../../../order-
|
|
11
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
12
|
+
import "../../../../PlayArrow-C3uVNo4F.js";
|
|
13
|
+
import "../../../../cryptoAssets-shEFU26O.js";
|
|
14
|
+
import "../../../../order-jqH948WM.js";
|
|
15
15
|
import "../../../../context/snackBarContext.js";
|
|
16
|
+
import "../../../../hooks/useEverestDispatch.js";
|
|
16
17
|
import "../../../../util/conversions.js";
|
|
17
18
|
import "../../../../index-CAoLi5Qq.js";
|
|
18
19
|
import "../../../../hooks/useSnackBar.js";
|
|
@@ -28,9 +29,9 @@ import "../../../../context/dialogContext.js";
|
|
|
28
29
|
import "../../MinimalKyc/form.js";
|
|
29
30
|
import "../../../../Box-B0YSYLco.js";
|
|
30
31
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
c as CONFIRM_SCREEN,
|
|
33
|
+
g as FORM_SCREEN,
|
|
34
|
+
h as MINIMAL_KYC_SCREEN,
|
|
35
|
+
j as PAYMENT_SCREEN,
|
|
36
|
+
k as default
|
|
36
37
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { jsxs as k, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as S, useEffect as n } from "react";
|
|
3
3
|
import { useSnackBar as b } from "../../../../hooks/useSnackBar.js";
|
|
4
|
-
import { u as w
|
|
5
|
-
import
|
|
6
|
-
import { L
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import "../../../../constants-
|
|
10
|
-
import { a as
|
|
11
|
-
import
|
|
12
|
-
import {
|
|
4
|
+
import { u as w } from "../../../../react-redux-C7I9-1M6.js";
|
|
5
|
+
import B from "../../../../hoc/withThemeProvider.js";
|
|
6
|
+
import { L } from "../../../../rr-primary-logo-CqI24c8v.js";
|
|
7
|
+
import T from "./loginForm.js";
|
|
8
|
+
import y from "./otpForm.js";
|
|
9
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
10
|
+
import { a as D } from "../../../../auth-ClBgT--j.js";
|
|
11
|
+
import E from "../../../../hooks/useEverestDispatch.js";
|
|
12
|
+
import { C as R } from "../../../../Container-urNKV7hm.js";
|
|
13
|
+
import { T as v } from "../../../../Typography-pAaje37G.js";
|
|
13
14
|
import { B as l } from "../../../../Box-B0YSYLco.js";
|
|
14
|
-
const
|
|
15
|
-
const e =
|
|
15
|
+
const C = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
16
|
+
const e = E(), o = w((F) => F.session), c = o.loader, x = o.otpLoader, h = o.screen, t = o.uuid, s = o.token, i = o.error, { showAlertMessage: m, snackBar: u } = b(), [d, g] = S("");
|
|
16
17
|
return n(() => () => {
|
|
17
|
-
e(
|
|
18
|
+
e(D());
|
|
18
19
|
}, []), n(() => {
|
|
19
20
|
t && s && (f(t, s), a(p || "/dashboard"));
|
|
20
21
|
}, [t, s]), n(() => {
|
|
21
22
|
i && m({ message: i });
|
|
22
23
|
}, [i]), /* @__PURE__ */ k(
|
|
23
|
-
|
|
24
|
+
R,
|
|
24
25
|
{
|
|
25
26
|
maxWidth: "sm",
|
|
26
27
|
component: "div",
|
|
@@ -34,8 +35,8 @@ const I = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
34
35
|
},
|
|
35
36
|
children: [
|
|
36
37
|
u,
|
|
37
|
-
/* @__PURE__ */ r(
|
|
38
|
-
/* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src:
|
|
38
|
+
/* @__PURE__ */ r(v, { variant: "h5", sx: { fontSize: "1.5rem", fontWeight: "700" }, children: "Welcome to" }),
|
|
39
|
+
/* @__PURE__ */ r(l, { sx: { marginTop: "0.5rem", marginBottom: "2.25rem" }, children: /* @__PURE__ */ r("img", { alt: "RocketRamp logo", src: L, width: 440, height: 63 }) }),
|
|
39
40
|
/* @__PURE__ */ r(
|
|
40
41
|
l,
|
|
41
42
|
{
|
|
@@ -52,7 +53,7 @@ const I = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
52
53
|
display: "flex"
|
|
53
54
|
},
|
|
54
55
|
children: h === 1 ? /* @__PURE__ */ r(
|
|
55
|
-
|
|
56
|
+
T,
|
|
56
57
|
{
|
|
57
58
|
showAlertMessage: m,
|
|
58
59
|
loader: c,
|
|
@@ -62,7 +63,7 @@ const I = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
62
63
|
dispatch: e
|
|
63
64
|
}
|
|
64
65
|
) : /* @__PURE__ */ r(
|
|
65
|
-
|
|
66
|
+
y,
|
|
66
67
|
{
|
|
67
68
|
showAlertMessage: m,
|
|
68
69
|
loader: c,
|
|
@@ -76,7 +77,7 @@ const I = ({ onLogin: f, navigate: a, navigatePath: p }) => {
|
|
|
76
77
|
]
|
|
77
78
|
}
|
|
78
79
|
);
|
|
79
|
-
},
|
|
80
|
+
}, Q = B(C);
|
|
80
81
|
export {
|
|
81
|
-
|
|
82
|
+
Q as default
|
|
82
83
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as g, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as h, useEffect as v } from "react";
|
|
3
|
-
import "../../../../constants-
|
|
4
|
-
import { l as x } from "../../../../auth-
|
|
3
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
4
|
+
import { l as x } from "../../../../auth-ClBgT--j.js";
|
|
5
5
|
import l from "../../Shared/Button/index.js";
|
|
6
6
|
import y from "../../Shared/Input/index.js";
|
|
7
7
|
import { isValidEmail as m } from "../../../../util/functions.js";
|
|
@@ -2,8 +2,8 @@ import { jsxs as n, Fragment as k, jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import p from "../../Shared/Button/index.js";
|
|
3
3
|
import I from "../../Shared/Input/index.js";
|
|
4
4
|
import { useState as m, useEffect as f } from "react";
|
|
5
|
-
import "../../../../constants-
|
|
6
|
-
import { l as O, v as P } from "../../../../auth-
|
|
5
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
6
|
+
import { l as O, v as P } from "../../../../auth-ClBgT--j.js";
|
|
7
7
|
import { RESEND_EMAIL_TIMER as g } from "../../../../util/constants.js";
|
|
8
8
|
import { S as o } from "../../../../Stack-k55YTxET.js";
|
|
9
9
|
import { T as a } from "../../../../Typography-pAaje37G.js";
|
|
@@ -3,8 +3,8 @@ import { useState as x, useEffect as R } from "react";
|
|
|
3
3
|
import n from "../../Shared/Button/index.js";
|
|
4
4
|
import k from "../../Shared/Input/index.js";
|
|
5
5
|
import { isValidEmail as d, generateRandomString as y } from "../../../../util/functions.js";
|
|
6
|
-
import "../../../../constants-
|
|
7
|
-
import { f as E } from "../../../../auth-
|
|
6
|
+
import "../../../../constants-t7n9qCW3.js";
|
|
7
|
+
import { f as E } from "../../../../auth-ClBgT--j.js";
|
|
8
8
|
import { T as S } from "../../../../Typography-pAaje37G.js";
|
|
9
9
|
import { B as b } from "../../../../Box-B0YSYLco.js";
|
|
10
10
|
import { S as T } from "../../../../Stack-k55YTxET.js";
|