everest-npm-features 0.0.62 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-71FP5PzJ.js} +5 -5
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-DTJdu6mq.js → auth-BBeOw4mt.js} +1 -1
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +322 -97
- package/dist/components/Wallet/Account/eWallet.js +35 -37
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +42 -42
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -111
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +128 -131
- package/dist/components/Wallet/Profile/index.js +5 -5
- package/dist/components/Wallet/Profile/storage.js +2 -2
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +19 -18
- package/dist/components/Wallet/Shared/addBank.js +3 -3
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +61 -52
- package/dist/components/Wallet/Stake/id/index.js +67 -66
- package/dist/components/Wallet/Stake/index.js +4 -4
- package/dist/components/Wallet/Swap/form.js +6 -6
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/{index-3OQ4M69t.js → index-B4XvACQN.js} +7 -7
- package/dist/{index-BBFbUCRZ.js → index-CTPMPwYK.js} +102 -106
- package/dist/{index-C1WPCgkl.js → index-DkiQ8pRO.js} +51 -51
- package/dist/{index-CYX3j0V7.js → index-DuWW5roi.js} +7 -7
- package/dist/{index-CDwzoHu7.js → index-JY6-UKlX.js} +6 -6
- package/dist/{index-ILpK4BCB.js → index-_fiTunwZ.js} +4 -4
- package/dist/{index-CK4kLRAw.js → index-bK14vCZw.js} +5 -5
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/{otpForm-fiNqeB5H.js → otpForm-DeeegaX2.js} +2 -2
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
- package/package.json +1 -1
- package/dist/styles.module-CHPRGltL.js +0 -28
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../../../PlayArrow-
|
|
4
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
5
5
|
import "../../../Info-DOoRR7sR.js";
|
|
6
6
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
7
|
import "../../../util/constants.js";
|
|
8
|
-
import "../../../constants-
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
9
|
import "../../../index-BQNs1mvn.js";
|
|
10
|
-
import "../../../order-
|
|
10
|
+
import "../../../order-BXeCIvqC.js";
|
|
11
11
|
import "../../../tooltip-BW0UyWw7.js";
|
|
12
12
|
import "../../../util/functions.js";
|
|
13
|
-
import { S as n } from "../../../index-
|
|
13
|
+
import { S as n } from "../../../index-JY6-UKlX.js";
|
|
14
14
|
import "../../../styles.module-DMd29SPQ.js";
|
|
15
15
|
import "../Shared/TokenModal/index.js";
|
|
16
16
|
import "../Shared/appButton.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { C as e, F as f, b as L, c as O, i as b } from "../../../index-
|
|
4
|
+
import { C as e, F as f, b as L, c as O, i as b } from "../../../index-JY6-UKlX.js";
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../cryptoAssets-
|
|
9
|
-
import "../../../wallet-
|
|
10
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-DX0YBtP2.js";
|
|
7
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
8
|
+
import "../../../cryptoAssets-B8rAI7pp.js";
|
|
9
|
+
import "../../../wallet-BPXOp8UG.js";
|
|
10
|
+
import "../../../order-BXeCIvqC.js";
|
|
11
11
|
import "../../../util/constants.js";
|
|
12
12
|
import "../../../context/snackBarContext.js";
|
|
13
13
|
import "../Shared/Container/index.js";
|
|
@@ -2,15 +2,15 @@ import { jsxs as s, Fragment as $, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as m, useEffect as S } from "react";
|
|
3
3
|
import { Backdrop as ke, CircularProgress as V, Box as b, Typography as w, FormControl as A, Select as I, MenuItem as T, TextField as j, Grid as o, Dialog as xe, IconButton as we, DialogContent as Te } from "@mui/material";
|
|
4
4
|
import { C as ve } from "../../../Close-DSxLLo08.js";
|
|
5
|
-
import { aE as ye, aF as Se, aG as Ae, aH as Ee, aI as be, aJ as Ne } from "../../../constants-
|
|
6
|
-
import { f as We } from "../../../wallet-
|
|
5
|
+
import { aE as ye, aF as Se, aG as Ae, aH as Ee, aI as be, aJ as Ne } from "../../../constants-DX0YBtP2.js";
|
|
6
|
+
import { f as We } from "../../../wallet-BPXOp8UG.js";
|
|
7
7
|
import { ETHEREUM_NETWORK as Ce, EVER_CHAIN_NETWORK as Ie, ID_TOKEN_SYMBOL as _e, SYNTHETIC_EUR as Y } from "../../../util/constants.js";
|
|
8
8
|
import "../../../index-DlQqWbXG.js";
|
|
9
9
|
import _ from "../Shared/appButton.js";
|
|
10
10
|
import Le from "../../../hoc/withThemeProvider.js";
|
|
11
11
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
12
12
|
import { tokenBalanceDisplay as ze, getNetworkScanBaseUrl as J, displayWalletAddress as X } from "../../../util/functions.js";
|
|
13
|
-
import "../../../otpForm-
|
|
13
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
14
14
|
import { useSnackBarContext as Re } from "../../../context/snackBarContext.js";
|
|
15
15
|
import Pe from "../../../hooks/useEverestDispatch.js";
|
|
16
16
|
import { getGweiFromWei as Ge, getUnFormattedValueFromWei as Fe, fromHuman as z } from "../../../util/conversions.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "@mui/material";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../../../constants-
|
|
5
|
-
import "../../../../auth-
|
|
4
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
5
|
+
import "../../../../auth-BBeOw4mt.js";
|
|
6
6
|
import "../../../../util/constants.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
|
-
import { O as d } from "../../../../otpForm-
|
|
8
|
+
import { O as d } from "../../../../otpForm-DeeegaX2.js";
|
|
9
9
|
export {
|
|
10
10
|
d as default
|
|
11
11
|
};
|
|
@@ -4,10 +4,10 @@ import { u as S } from "../../../../react-redux-C7I9-1M6.js";
|
|
|
4
4
|
import { Box as n, CircularProgress as l, Grid as c, Typography as d, Stack as T } from "@mui/material";
|
|
5
5
|
import A from "../backBtn.js";
|
|
6
6
|
import y from "../addBank.js";
|
|
7
|
-
import "../../../../constants-
|
|
7
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
8
8
|
import { u as C } from "../../../../index-BQNs1mvn.js";
|
|
9
|
-
import { o as E } from "../../../../order-
|
|
10
|
-
import { u as O } from "../../../../bank-
|
|
9
|
+
import { o as E } from "../../../../order-BXeCIvqC.js";
|
|
10
|
+
import { u as O } from "../../../../bank-HVb0GFsa.js";
|
|
11
11
|
import D from "../connectPlaidBank.js";
|
|
12
12
|
import { s } from "../../../../styles.module-DMd29SPQ.js";
|
|
13
13
|
import { RADIO_BUTTON_SELECTED as I, RADIO_BUTTON as L } from "../../../../util/constants.js";
|
|
@@ -6,8 +6,8 @@ import { VISA_ICON as v } from "../../../../util/constants.js";
|
|
|
6
6
|
import "../../../../index-DlQqWbXG.js";
|
|
7
7
|
import "../appButton.js";
|
|
8
8
|
import "../../../../hoc/withThemeProvider.js";
|
|
9
|
-
import "../../../../otpForm-
|
|
10
|
-
import "../../../../constants-
|
|
9
|
+
import "../../../../otpForm-DeeegaX2.js";
|
|
10
|
+
import "../../../../constants-DX0YBtP2.js";
|
|
11
11
|
import { useSnackBarContext as w } from "../../../../context/snackBarContext.js";
|
|
12
12
|
import "../../../../util/conversions.js";
|
|
13
13
|
import "../../../../index-CAoLi5Qq.js";
|
|
@@ -7,8 +7,9 @@ interface AuthContainerProps extends BoxProps {
|
|
|
7
7
|
children: React.ReactNode;
|
|
8
8
|
addPadding?: boolean;
|
|
9
9
|
innerContainerSx?: SxProps;
|
|
10
|
+
addTopMargin?: boolean;
|
|
10
11
|
}
|
|
11
12
|
declare const AppContainer: ({ children, ...rest }: AppContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export declare const AuthInnerContainer: ({ children, addPadding, sx, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export declare const AuthContainer: ({ children, addPadding, innerContainerSx, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const AuthContainer: ({ children, addPadding, innerContainerSx, addTopMargin, ...rest }: AuthContainerProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export default AppContainer;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Container as
|
|
3
|
-
const
|
|
2
|
+
import { Container as d, Box as i } from "@mui/material";
|
|
3
|
+
const l = ({ children: r, ...n }) => /* @__PURE__ */ e(d, { component: "main", maxWidth: "lg", ...n, children: /* @__PURE__ */ e(
|
|
4
4
|
i,
|
|
5
5
|
{
|
|
6
6
|
sx: {
|
|
@@ -24,13 +24,13 @@ const p = ({ children: n, ...r }) => /* @__PURE__ */ e(s, { component: "main", m
|
|
|
24
24
|
justifyContent: "center",
|
|
25
25
|
alignItems: "center"
|
|
26
26
|
}),
|
|
27
|
-
children:
|
|
27
|
+
children: r
|
|
28
28
|
}
|
|
29
29
|
)
|
|
30
30
|
}
|
|
31
|
-
) }),
|
|
32
|
-
children:
|
|
33
|
-
addPadding:
|
|
31
|
+
) }), x = ({
|
|
32
|
+
children: r,
|
|
33
|
+
addPadding: n,
|
|
34
34
|
sx: t,
|
|
35
35
|
...o
|
|
36
36
|
}) => /* @__PURE__ */ e(
|
|
@@ -42,33 +42,34 @@ const p = ({ children: n, ...r }) => /* @__PURE__ */ e(s, { component: "main", m
|
|
|
42
42
|
borderRadius: "14px",
|
|
43
43
|
border: "0.5px solid",
|
|
44
44
|
borderColor: "border.main",
|
|
45
|
-
...
|
|
45
|
+
...n && {
|
|
46
46
|
padding: { xs: "25px", sm: "60px 25%" }
|
|
47
47
|
},
|
|
48
48
|
...t
|
|
49
49
|
},
|
|
50
50
|
...o,
|
|
51
|
-
children:
|
|
51
|
+
children: r
|
|
52
52
|
}
|
|
53
|
-
),
|
|
54
|
-
children:
|
|
55
|
-
addPadding:
|
|
53
|
+
), c = ({
|
|
54
|
+
children: r,
|
|
55
|
+
addPadding: n,
|
|
56
56
|
innerContainerSx: t,
|
|
57
|
-
|
|
57
|
+
addTopMargin: o = !0,
|
|
58
|
+
...s
|
|
58
59
|
}) => /* @__PURE__ */ e(
|
|
59
60
|
i,
|
|
60
61
|
{
|
|
61
62
|
sx: {
|
|
62
63
|
display: "flex",
|
|
63
64
|
alignItems: "center",
|
|
64
|
-
marginTop: "130px"
|
|
65
|
+
marginTop: o ? "130px" : 0
|
|
65
66
|
},
|
|
66
|
-
...
|
|
67
|
-
children: /* @__PURE__ */ e(
|
|
67
|
+
...s,
|
|
68
|
+
children: /* @__PURE__ */ e(x, { sx: t, addPadding: n, children: r })
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
c as AuthContainer,
|
|
73
|
+
x as AuthInnerContainer,
|
|
74
|
+
l as default
|
|
74
75
|
};
|
|
@@ -9,10 +9,10 @@ import { PAYMENT_PROVIDER_OPENPAYD as j } from "../../../util/constants.js";
|
|
|
9
9
|
import "../../../index-DlQqWbXG.js";
|
|
10
10
|
import x from "./appButton.js";
|
|
11
11
|
import "../../../hoc/withThemeProvider.js";
|
|
12
|
-
import "../../../otpForm-
|
|
13
|
-
import "../../../constants-
|
|
12
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
13
|
+
import "../../../constants-DX0YBtP2.js";
|
|
14
14
|
import { a as Y, u as _ } from "../../../index-BQNs1mvn.js";
|
|
15
|
-
import { a as q } from "../../../bank-
|
|
15
|
+
import { a as q } from "../../../bank-HVb0GFsa.js";
|
|
16
16
|
import { useSnackBarContext as G } from "../../../context/snackBarContext.js";
|
|
17
17
|
import L from "../../../hooks/useEverestDispatch.js";
|
|
18
18
|
import "../../../util/conversions.js";
|
|
@@ -3,9 +3,9 @@ import { useState as y, useEffect as c, useCallback as C } from "react";
|
|
|
3
3
|
import { u as e } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import { u as S } from "../../../index.esm-BsMAMhYW.js";
|
|
5
5
|
import { Box as P, CircularProgress as b } from "@mui/material";
|
|
6
|
-
import "../../../constants-
|
|
6
|
+
import "../../../constants-DX0YBtP2.js";
|
|
7
7
|
import { u as g, a as x, b as B } from "../../../index-BQNs1mvn.js";
|
|
8
|
-
import { p as A, b as T } from "../../../bank-
|
|
8
|
+
import { p as A, b as T } from "../../../bank-HVb0GFsa.js";
|
|
9
9
|
import { c as q } from "../../../countries-BVn1FubK.js";
|
|
10
10
|
import v from "./appButton.js";
|
|
11
11
|
import D from "../../../hooks/useEverestDispatch.js";
|
|
@@ -8,13 +8,13 @@ import "../../../generic-token-B_ptO5yb.js";
|
|
|
8
8
|
import "./appButton.js";
|
|
9
9
|
import "./timer.js";
|
|
10
10
|
import "../../../util/functions.js";
|
|
11
|
-
import "../../../constants-
|
|
12
|
-
import "../../../order-
|
|
11
|
+
import "../../../constants-DX0YBtP2.js";
|
|
12
|
+
import "../../../order-BXeCIvqC.js";
|
|
13
13
|
import "../../../index-DlQqWbXG.js";
|
|
14
14
|
import "../../../hoc/withThemeProvider.js";
|
|
15
15
|
import "./Input/index.js";
|
|
16
16
|
import "../../../util/constants.js";
|
|
17
|
-
import "../../../otpForm-
|
|
17
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
18
18
|
import "../../../context/snackBarContext.js";
|
|
19
19
|
import "../../../hooks/useEverestDispatch.js";
|
|
20
20
|
import "../../../util/conversions.js";
|
|
@@ -26,7 +26,7 @@ import "../../../index.esm-BsMAMhYW.js";
|
|
|
26
26
|
import "../../../web3-u4qDZYpo.js";
|
|
27
27
|
import "../../../styles.module-DMd29SPQ.js";
|
|
28
28
|
import "../../../index-ceeCtFuh.js";
|
|
29
|
-
import { M as G } from "../../../index-
|
|
29
|
+
import { M as G } from "../../../index-JY6-UKlX.js";
|
|
30
30
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
31
31
|
import "../../../context/dialogContext.js";
|
|
32
32
|
import "@mui/icons-material";
|
|
@@ -3,9 +3,9 @@ import { useState as h, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import S from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as x } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as R, l as k, b as q } from "../../../auth-
|
|
6
|
+
import { O as x } from "../../../otpForm-DeeegaX2.js";
|
|
7
|
+
import "../../../constants-DX0YBtP2.js";
|
|
8
|
+
import { a as R, l as k, b as q } from "../../../auth-BBeOw4mt.js";
|
|
9
9
|
import v from "../Shared/Container/index.js";
|
|
10
10
|
import { LOGIN_SCREEN as f } from "../../../util/constants.js";
|
|
11
11
|
import { useSnackBarContext as C } from "../../../context/snackBarContext.js";
|
|
@@ -3,9 +3,9 @@ import { useState as d, useEffect as c } from "react";
|
|
|
3
3
|
import { u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
4
4
|
import O from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import k from "../Shared/Auth/emailForm.js";
|
|
6
|
-
import { O as j } from "../../../otpForm-
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as q, r as w, v as M } from "../../../auth-
|
|
6
|
+
import { O as j } from "../../../otpForm-DeeegaX2.js";
|
|
7
|
+
import "../../../constants-DX0YBtP2.js";
|
|
8
|
+
import { a as q, r as w, v as M } from "../../../auth-BBeOw4mt.js";
|
|
9
9
|
import P from "../Shared/Container/index.js";
|
|
10
10
|
import { REGISTER_SCREEN as g } from "../../../util/constants.js";
|
|
11
11
|
import W from "./terms.js";
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { jsxs as r, Fragment as
|
|
2
|
-
import { Backdrop as w, CircularProgress as m, Grid as t, Box as a, Typography as o, IconButton as p, FormControl as
|
|
3
|
-
import
|
|
4
|
-
import { M as
|
|
5
|
-
import { I as
|
|
6
|
-
import { s as
|
|
1
|
+
import { jsxs as r, Fragment as I, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Backdrop as w, CircularProgress as m, Grid as t, Box as a, Typography as o, IconButton as p, FormControl as G, TextField as b } from "@mui/material";
|
|
3
|
+
import B from "../../Shared/noData.js";
|
|
4
|
+
import { M as f } from "../../../../tooltip-BW0UyWw7.js";
|
|
5
|
+
import { I as u } from "../../../../Info-DOoRR7sR.js";
|
|
6
|
+
import { s as i } from "../../../../styles.module-C1sNeKjL.js";
|
|
7
7
|
import s from "../../Shared/appButton.js";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
import { AuthContainer as x } from "../../Shared/Container/index.js";
|
|
9
|
+
const Y = ({
|
|
10
|
+
loader: g,
|
|
11
|
+
stakeData: l,
|
|
12
|
+
totalStake: k,
|
|
13
|
+
totalReward: T,
|
|
14
|
+
StakeItem: v,
|
|
15
|
+
stakeStart: E,
|
|
16
|
+
amount: S,
|
|
17
|
+
setAmount: c,
|
|
17
18
|
balanceLoader: N,
|
|
18
19
|
balance: d,
|
|
19
|
-
onMoveToEthereum:
|
|
20
|
-
onMoveToEverChain:
|
|
21
|
-
ethereumBalance:
|
|
20
|
+
onMoveToEthereum: y,
|
|
21
|
+
onMoveToEverChain: D,
|
|
22
|
+
ethereumBalance: M
|
|
22
23
|
}) => {
|
|
23
|
-
const z = (
|
|
24
|
-
|
|
25
|
-
},
|
|
24
|
+
const z = (n) => {
|
|
25
|
+
n ? /^([0-9.,]+)$/.test(n) && c(n) : c("");
|
|
26
|
+
}, C = [
|
|
26
27
|
"To earn reward tokens you must stake GEMS “to EverChain”",
|
|
27
28
|
"Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
|
|
28
29
|
"* there is a 10M maximum supply of IDs for staking GEMS",
|
|
@@ -30,55 +31,55 @@ const W = ({
|
|
|
30
31
|
].join(`
|
|
31
32
|
|
|
32
33
|
`);
|
|
33
|
-
return /* @__PURE__ */ r(
|
|
34
|
+
return /* @__PURE__ */ r(I, { children: [
|
|
34
35
|
/* @__PURE__ */ e(
|
|
35
36
|
w,
|
|
36
37
|
{
|
|
37
38
|
sx: {
|
|
38
39
|
color: "#fff",
|
|
39
|
-
zIndex: (
|
|
40
|
+
zIndex: (n) => n.zIndex.drawer + 1e3
|
|
40
41
|
},
|
|
41
|
-
open:
|
|
42
|
+
open: g,
|
|
42
43
|
children: /* @__PURE__ */ e(m, { color: "inherit" })
|
|
43
44
|
}
|
|
44
45
|
),
|
|
45
46
|
/* @__PURE__ */ r(t, { spacing: 2, container: !0, width: "100%", children: [
|
|
46
|
-
/* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(
|
|
47
|
-
/* @__PURE__ */ e(o, { className:
|
|
47
|
+
/* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ r(a, { p: 3, children: [
|
|
48
|
+
/* @__PURE__ */ e(o, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
|
|
48
49
|
/* @__PURE__ */ r(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
|
|
49
50
|
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
|
|
50
51
|
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
|
|
51
|
-
|
|
52
|
+
k,
|
|
52
53
|
" GEMS"
|
|
53
54
|
] }) }),
|
|
54
55
|
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
|
|
55
56
|
/* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
|
|
56
|
-
|
|
57
|
+
T,
|
|
57
58
|
" ID"
|
|
58
59
|
] }) })
|
|
59
60
|
] }),
|
|
60
61
|
/* @__PURE__ */ r(a, { mt: 6, children: [
|
|
61
|
-
|
|
62
|
-
|
|
62
|
+
l.length === 0 && /* @__PURE__ */ e(B, { text: "No GEM are staked at the moment" }),
|
|
63
|
+
l.map((n, h) => /* @__PURE__ */ e(v, { data: n }, h))
|
|
63
64
|
] })
|
|
64
65
|
] }) }) }),
|
|
65
|
-
/* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ r(a, { p: 3,
|
|
66
|
+
/* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ r(a, { p: 3, children: [
|
|
66
67
|
/* @__PURE__ */ e(
|
|
67
68
|
o,
|
|
68
69
|
{
|
|
69
|
-
className:
|
|
70
|
+
className: i["heading-text"],
|
|
70
71
|
variant: "h6",
|
|
71
72
|
component: "span",
|
|
72
73
|
children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
|
|
73
74
|
}
|
|
74
75
|
),
|
|
75
76
|
/* @__PURE__ */ e(
|
|
76
|
-
|
|
77
|
+
f,
|
|
77
78
|
{
|
|
78
|
-
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children:
|
|
79
|
+
title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: C }),
|
|
79
80
|
placement: "bottom",
|
|
80
|
-
children: /* @__PURE__ */ e(p, { className:
|
|
81
|
-
|
|
81
|
+
children: /* @__PURE__ */ e(p, { className: i["info-icon"], children: /* @__PURE__ */ e(
|
|
82
|
+
u,
|
|
82
83
|
{
|
|
83
84
|
sx: {
|
|
84
85
|
fontSize: "26px",
|
|
@@ -88,7 +89,7 @@ const W = ({
|
|
|
88
89
|
) })
|
|
89
90
|
}
|
|
90
91
|
),
|
|
91
|
-
/* @__PURE__ */ r(a, { className: `${
|
|
92
|
+
/* @__PURE__ */ r(a, { className: `${i["add-container"]} text-center`, children: [
|
|
92
93
|
/* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
|
|
93
94
|
N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
|
|
94
95
|
o,
|
|
@@ -103,11 +104,11 @@ const W = ({
|
|
|
103
104
|
}
|
|
104
105
|
),
|
|
105
106
|
/* @__PURE__ */ r(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
|
|
106
|
-
/* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ r("fieldset", { className:
|
|
107
|
+
/* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ r("fieldset", { className: i["move-id"], children: [
|
|
107
108
|
/* @__PURE__ */ e(
|
|
108
109
|
"legend",
|
|
109
110
|
{
|
|
110
|
-
className:
|
|
111
|
+
className: i["move-id-text"],
|
|
111
112
|
style: { width: "135px" },
|
|
112
113
|
children: "Move GEMS Tokens"
|
|
113
114
|
}
|
|
@@ -116,7 +117,7 @@ const W = ({
|
|
|
116
117
|
s,
|
|
117
118
|
{
|
|
118
119
|
variantType: "secondary",
|
|
119
|
-
onClick: () =>
|
|
120
|
+
onClick: () => D(Number(M)),
|
|
120
121
|
children: "To EverChain"
|
|
121
122
|
}
|
|
122
123
|
),
|
|
@@ -128,18 +129,18 @@ const W = ({
|
|
|
128
129
|
ml: { md: 3 },
|
|
129
130
|
mt: { xs: 1, md: 0 }
|
|
130
131
|
},
|
|
131
|
-
onClick: () =>
|
|
132
|
+
onClick: () => y(Number(d)),
|
|
132
133
|
children: "To Ethereum"
|
|
133
134
|
}
|
|
134
135
|
)
|
|
135
136
|
] }) }),
|
|
136
137
|
/* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
|
|
137
|
-
|
|
138
|
+
f,
|
|
138
139
|
{
|
|
139
140
|
title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
|
|
140
141
|
placement: "top",
|
|
141
|
-
children: /* @__PURE__ */ e(p, { className:
|
|
142
|
-
|
|
142
|
+
children: /* @__PURE__ */ e(p, { className: i["button-icon"], children: /* @__PURE__ */ e(
|
|
143
|
+
u,
|
|
143
144
|
{
|
|
144
145
|
sx: {
|
|
145
146
|
fontSize: "24px",
|
|
@@ -165,7 +166,7 @@ const W = ({
|
|
|
165
166
|
/* @__PURE__ */ e(
|
|
166
167
|
t,
|
|
167
168
|
{
|
|
168
|
-
className: `${
|
|
169
|
+
className: `${i["time-item"]} ${i["item-last"]} ${i.active}`,
|
|
169
170
|
size: 4,
|
|
170
171
|
children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
|
|
171
172
|
}
|
|
@@ -174,23 +175,31 @@ const W = ({
|
|
|
174
175
|
]
|
|
175
176
|
}
|
|
176
177
|
),
|
|
177
|
-
/* @__PURE__ */ e(
|
|
178
|
-
|
|
178
|
+
/* @__PURE__ */ e(G, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
|
|
179
|
+
b,
|
|
179
180
|
{
|
|
180
181
|
variant: "filled",
|
|
181
182
|
placeholder: "Amount to Stake",
|
|
182
|
-
value:
|
|
183
|
+
value: S,
|
|
183
184
|
fullWidth: !0,
|
|
184
185
|
required: !0,
|
|
185
|
-
onChange: (
|
|
186
|
+
onChange: (n) => z(n.target.value)
|
|
186
187
|
}
|
|
187
188
|
) }),
|
|
188
|
-
/* @__PURE__ */ e(
|
|
189
|
+
/* @__PURE__ */ e(
|
|
190
|
+
s,
|
|
191
|
+
{
|
|
192
|
+
sx: { mt: 4 },
|
|
193
|
+
onClick: () => E(),
|
|
194
|
+
fullWidth: !0,
|
|
195
|
+
children: /* @__PURE__ */ e("strong", { children: "Stake" })
|
|
196
|
+
}
|
|
197
|
+
)
|
|
189
198
|
] })
|
|
190
|
-
] }) })
|
|
199
|
+
] }) }) })
|
|
191
200
|
] })
|
|
192
201
|
] });
|
|
193
202
|
};
|
|
194
203
|
export {
|
|
195
|
-
|
|
204
|
+
Y as default
|
|
196
205
|
};
|