everest-npm-features 0.0.26 → 0.0.27
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/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
- package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
- package/dist/Avatar-CwczQLPi.js +280 -0
- package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
- package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
- package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
- package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
- package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
- package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
- package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
- package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
- package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
- package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
- package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
- package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
- package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
- package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
- package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
- package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
- package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
- package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
- package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
- package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
- package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
- package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
- package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
- package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
- package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
- package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
- package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
- package/dist/Menu-BAFJBGa-.js +1238 -0
- package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
- package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
- package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
- package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
- package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
- package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
- package/dist/Select-CGei0bav.js +1885 -0
- package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
- package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
- package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
- package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
- package/dist/assets/documents.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/styles2.css +1 -1
- package/dist/assets/styles3.css +1 -1
- package/dist/assets/tokenRow.css +1 -1
- package/dist/assets/withThemeProvider.css +1 -1
- package/dist/{auth-Bf9zHZ-x.js → auth-SxpGte_3.js} +1 -1
- package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
- package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
- package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
- package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
- package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
- package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
- package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
- package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
- package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
- package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
- package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
- package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
- package/dist/components/RocketRamp/Transactions/index.js +4 -4
- package/dist/components/Shared/FullKyc/index.js +4 -4
- package/dist/components/Shared/FullKyc/pep.js +9 -9
- package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
- package/dist/components/Shared/FullKyc/userInfo.js +15 -14
- package/dist/components/Shared/HistoryItem/index.js +64 -65
- package/dist/components/Shared/Incode/index.js +5 -5
- package/dist/components/Shared/MinimalKyc/index.js +8 -8
- package/dist/components/Shared/loader.js +2 -2
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +76 -85
- package/dist/components/Wallet/Account/iban.d.ts +5 -1
- package/dist/components/Wallet/Account/iban.js +223 -25
- package/dist/components/Wallet/Account/index.js +144 -149
- package/dist/components/Wallet/Account/sendIban.js +25 -27
- package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Buy/form.js +21 -20
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +25 -24
- package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/index.js +15 -14
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
- package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
- package/dist/components/Wallet/History/index.js +111 -112
- package/dist/components/Wallet/Home/index.d.ts +5 -0
- package/dist/components/Wallet/Home/index.js +20 -0
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
- package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
- package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
- package/dist/components/Wallet/Portfolio/index.js +309 -304
- package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
- package/dist/components/Wallet/Profile/documents.js +18 -18
- package/dist/components/Wallet/Profile/index.js +152 -419
- package/dist/components/Wallet/Receive/index.js +10 -10
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
- package/dist/components/Wallet/Sell/form.js +19 -19
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +20 -19
- package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
- package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
- package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
- package/dist/components/Wallet/Shared/Container/index.d.ts +7 -4
- package/dist/components/Wallet/Shared/Container/index.js +62 -26
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
- package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
- package/dist/components/Wallet/Shared/Order/paymentButton.js +46 -0
- package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
- package/dist/components/Wallet/Shared/addBank.js +44 -48
- package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
- package/dist/components/Wallet/Shared/appButton.js +77 -57
- package/dist/components/Wallet/Shared/backBtn.js +2 -2
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +7 -7
- package/dist/components/Wallet/Shared/pin.js +4 -4
- package/dist/components/Wallet/Shared/radioButton.js +3 -3
- package/dist/components/Wallet/Shared/step.js +2 -2
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/SignUp/terms.js +4 -4
- package/dist/components/Wallet/Stake/gems/index.js +11 -11
- package/dist/components/Wallet/Stake/id/index.js +12 -12
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/index.js +112 -116
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
- package/dist/components/Wallet/Withdraw/form.js +19 -18
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
- package/dist/context/dialogContext.d.ts +6 -0
- package/dist/context/dialogContext.js +13 -0
- package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
- package/dist/cryptoAssets-Dck03SPI.js +16 -0
- package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
- package/dist/documents-Sh6RH769.js +549 -0
- package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
- package/dist/hooks/useDialog/index.js +35 -38
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +12 -11
- package/dist/index-BRwse7X5.js +631 -0
- package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
- package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
- package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
- package/dist/{index-VE9lYjq3.js → index-D8j7wPDM.js} +15 -14
- package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
- package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
- package/dist/isHostComponent-kiaBvYVo.js +6 -0
- package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
- package/dist/main.d.ts +7 -0
- package/dist/main.js +66 -59
- package/dist/memoTheme-BUUB1UEO.js +15 -0
- package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
- package/dist/{pep-C5Ge-kU4.js → pep-D8bFjgpy.js} +19 -18
- package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
- package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
- package/dist/styles.module-B-t8vvWh.js +31 -0
- package/dist/styles.module-verVx4pE.js +8 -0
- package/dist/tokenRow-DBnoUm0z.js +186 -0
- package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
- package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
- package/dist/util/constants.d.ts +5 -0
- package/dist/util/constants.js +88 -83
- package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
- package/package.json +1 -1
- package/dist/ArrowDropDown-BC_iEASy.js +0 -8
- package/dist/ArrowRight-rYkfGJuF.js +0 -8
- package/dist/CheckCircle-CyxKX1TY.js +0 -8
- package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
- package/dist/Select-Chubcks_.js +0 -3108
- package/dist/assets/iban.css +0 -1
- package/dist/assets/index11.css +0 -1
- package/dist/cryptoAssets-CzNDY1j6.js +0 -16
- package/dist/documents-CEeV8SyW.js +0 -569
- package/dist/iban-DRT7i0vb.js +0 -275
- package/dist/index-BB3__zW3.js +0 -644
- package/dist/styles.module-BFHktEw2.js +0 -30
- package/dist/styles.module-DJk7Pf0F.js +0 -10
- package/dist/tokenRow-X6vlp1LH.js +0 -198
|
@@ -4,8 +4,8 @@ import { a as L, u as S } from "../../../react-redux-C7I9-1M6.js";
|
|
|
4
4
|
import x from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import O from "../Shared/Auth/emailForm.js";
|
|
6
6
|
import R from "../Shared/Auth/otpForm.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as k, l as q, b as C } from "../../../auth-
|
|
7
|
+
import "../../../constants-BF50a6s-.js";
|
|
8
|
+
import { a as k, l as q, b as C } from "../../../auth-SxpGte_3.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 w } from "../../../context/snackBarContext.js";
|
|
@@ -4,8 +4,8 @@ import { a as k, u as L } from "../../../react-redux-C7I9-1M6.js";
|
|
|
4
4
|
import T from "../../../hoc/withThemeProvider.js";
|
|
5
5
|
import x from "../Shared/Auth/emailForm.js";
|
|
6
6
|
import B from "../Shared/Auth/otpForm.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as O, r as q, u as d, v } from "../../../auth-
|
|
7
|
+
import "../../../constants-BF50a6s-.js";
|
|
8
|
+
import { a as O, r as q, u as d, v } from "../../../auth-SxpGte_3.js";
|
|
9
9
|
import C from "../Shared/Container/index.js";
|
|
10
10
|
import { REGISTER_SCREEN as l } from "../../../util/constants.js";
|
|
11
11
|
import V from "./terms.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as o, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { A as l } from "../../../ArrowBack-
|
|
2
|
+
import { A as l } from "../../../ArrowBack-BV158RTp.js";
|
|
3
3
|
import c from "../Shared/appButton.js";
|
|
4
|
-
import { B as r } from "../../../Box-
|
|
5
|
-
import { I as u } from "../../../IconButton-
|
|
6
|
-
import { T as t } from "../../../Typography-
|
|
4
|
+
import { B as r } from "../../../Box-BwKpr_VI.js";
|
|
5
|
+
import { I as u } from "../../../IconButton-WneJM4uP.js";
|
|
6
|
+
import { T as t } from "../../../Typography-BQDN44CM.js";
|
|
7
7
|
const b = ({ onAcceptTerms: i, onAcceptBack: a, loader: n }) => /* @__PURE__ */ o(s, { children: [
|
|
8
8
|
/* @__PURE__ */ o(
|
|
9
9
|
r,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as z, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import I from "../../Shared/noData.js";
|
|
3
|
-
import { M as h } from "../../../../tooltip-
|
|
4
|
-
import { I as p } from "../../../../Info-
|
|
3
|
+
import { M as h } from "../../../../tooltip-Dv3Lfsa2.js";
|
|
4
|
+
import { I as p } from "../../../../Info-0vSsl6Bm.js";
|
|
5
5
|
import C from "../../../../hoc/withThemeProvider.js";
|
|
6
6
|
import { s as r } from "../../../../styles.module-O5VVND5e.js";
|
|
7
|
-
import { B as G } from "../../../../Backdrop-
|
|
8
|
-
import { C as f } from "../../../../CircularProgress-
|
|
9
|
-
import { G as t } from "../../../../Grid-
|
|
10
|
-
import { B as a } from "../../../../Box-
|
|
11
|
-
import { T as o } from "../../../../Typography-
|
|
12
|
-
import { I as u } from "../../../../IconButton-
|
|
13
|
-
import { B as s } from "../../../../Button-
|
|
14
|
-
import { F as M } from "../../../../FormControl-
|
|
15
|
-
import { T as y } from "../../../../TextField-
|
|
7
|
+
import { B as G } from "../../../../Backdrop-yR8IRnFX.js";
|
|
8
|
+
import { C as f } from "../../../../CircularProgress-Yx712vpT.js";
|
|
9
|
+
import { G as t } from "../../../../Grid-CPkjiKqX.js";
|
|
10
|
+
import { B as a } from "../../../../Box-BwKpr_VI.js";
|
|
11
|
+
import { T as o } from "../../../../Typography-BQDN44CM.js";
|
|
12
|
+
import { I as u } from "../../../../IconButton-WneJM4uP.js";
|
|
13
|
+
import { B as s } from "../../../../Button-tAfK4lud.js";
|
|
14
|
+
import { F as M } from "../../../../FormControl-H4D1Z6Ov.js";
|
|
15
|
+
import { T as y } from "../../../../TextField-DmiK1A_S.js";
|
|
16
16
|
const B = ({
|
|
17
17
|
history: c,
|
|
18
18
|
loader: x,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as B, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import $ from "../../Shared/noData.js";
|
|
3
|
-
import { M as p } from "../../../../tooltip-
|
|
4
|
-
import { I as u } from "../../../../Info-
|
|
3
|
+
import { M as p } from "../../../../tooltip-Dv3Lfsa2.js";
|
|
4
|
+
import { I as u } from "../../../../Info-0vSsl6Bm.js";
|
|
5
5
|
import { STAKE_ID_MIN_DAYS as g, STAKE_ID_MID_DAYS as x, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
|
|
6
6
|
import { s as r } from "../../../../styles.module-O5VVND5e.js";
|
|
7
|
-
import { B as _ } from "../../../../Backdrop-
|
|
8
|
-
import { C as k } from "../../../../CircularProgress-
|
|
9
|
-
import { G as t } from "../../../../Grid-
|
|
10
|
-
import { B as a } from "../../../../Box-
|
|
11
|
-
import { T as n } from "../../../../Typography-
|
|
12
|
-
import { I as D } from "../../../../IconButton-
|
|
13
|
-
import { B as c } from "../../../../Button-
|
|
14
|
-
import { D as T } from "../../../../Divider-
|
|
15
|
-
import { F } from "../../../../FormControl-
|
|
16
|
-
import { T as M } from "../../../../TextField-
|
|
7
|
+
import { B as _ } from "../../../../Backdrop-yR8IRnFX.js";
|
|
8
|
+
import { C as k } from "../../../../CircularProgress-Yx712vpT.js";
|
|
9
|
+
import { G as t } from "../../../../Grid-CPkjiKqX.js";
|
|
10
|
+
import { B as a } from "../../../../Box-BwKpr_VI.js";
|
|
11
|
+
import { T as n } from "../../../../Typography-BQDN44CM.js";
|
|
12
|
+
import { I as D } from "../../../../IconButton-WneJM4uP.js";
|
|
13
|
+
import { B as c } from "../../../../Button-tAfK4lud.js";
|
|
14
|
+
import { D as T } from "../../../../Divider-CIL55YSC.js";
|
|
15
|
+
import { F } from "../../../../FormControl-H4D1Z6Ov.js";
|
|
16
|
+
import { T as M } from "../../../../TextField-DmiK1A_S.js";
|
|
17
17
|
const ee = ({
|
|
18
18
|
history: d,
|
|
19
19
|
loader: I,
|
|
@@ -4,14 +4,14 @@ import xe from "./id/index.js";
|
|
|
4
4
|
import we from "./gems/index.js";
|
|
5
5
|
import { a as Ae, u as K } from "../../../react-redux-C7I9-1M6.js";
|
|
6
6
|
import { ID_STAKE as i, STAKE_ID_MIN_DAYS as ee, GEM_SYNTHETIC_TOKEN_SYMBOL as De, ID_TOKEN_SYMBOL as be, EVER_CHAIN_NETWORK as Ie, GEMS_STAKE as T, STAKE_GEM_MAX_DAYS as Te, STAKE_ID_ICON as Ee, STAKE_GEM_ICON as Ne, STAKE_GEM_MAX_APY as ve, STAKE_ID_MIN_APY as Re, STAKE_ID_MID_DAYS as ye, STAKE_ID_MID_APY as Me, STAKE_ID_MAX_DAYS as Ce, STAKE_ID_MAX_APY as Fe } from "../../../util/constants.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as Pe } from "../../../index-
|
|
9
|
-
import { f as Be } from "../../../wallet-
|
|
10
|
-
import { s as Ge, a as Ke, b as Le } from "../../../stake-
|
|
7
|
+
import "../../../constants-BF50a6s-.js";
|
|
8
|
+
import { a as Pe } from "../../../index-v4KC1K_V.js";
|
|
9
|
+
import { f as Be } from "../../../wallet-BTc5u8j2.js";
|
|
10
|
+
import { s as Ge, a as Ke, b as Le } from "../../../stake-mS8fdG8g.js";
|
|
11
11
|
import { fromHuman as Ye, numberFormat as u, toHuman as E } from "../../../util/conversions.js";
|
|
12
|
+
import "../Shared/appButton.js";
|
|
12
13
|
import We from "../../../hoc/withThemeProvider.js";
|
|
13
14
|
import { decimalNumbersWithCommaOrDot as Oe } from "../../../util/regex.js";
|
|
14
|
-
import "../Shared/appButton.js";
|
|
15
15
|
import "../Shared/Auth/otpForm.js";
|
|
16
16
|
import "../../../context/snackBarContext.js";
|
|
17
17
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -20,18 +20,19 @@ import "../../../react-webcam-B3cXh1XT.js";
|
|
|
20
20
|
import "../../Shared/transition.js";
|
|
21
21
|
import "../Shared/pin.js";
|
|
22
22
|
import "../../../moment-h96o7c8I.js";
|
|
23
|
-
import "../../../tooltip-
|
|
23
|
+
import "../../../tooltip-Dv3Lfsa2.js";
|
|
24
24
|
import "../../../index.esm-BsMAMhYW.js";
|
|
25
25
|
import "../../../web3-u4qDZYpo.js";
|
|
26
26
|
import "../../../index-B8QKlEgj.js";
|
|
27
27
|
import "../../../index-ceeCtFuh.js";
|
|
28
|
+
import "../../../context/dialogContext.js";
|
|
28
29
|
import { s as x } from "../../../styles.module-O5VVND5e.js";
|
|
29
|
-
import { B as h } from "../../../Box-
|
|
30
|
-
import { G as f } from "../../../Grid-
|
|
31
|
-
import { T as c } from "../../../Typography-
|
|
32
|
-
import { D as $e, a as He } from "../../../DialogContent-
|
|
33
|
-
import { C as Xe } from "../../../CircularProgress-
|
|
34
|
-
import { B as te } from "../../../Button-
|
|
30
|
+
import { B as h } from "../../../Box-BwKpr_VI.js";
|
|
31
|
+
import { G as f } from "../../../Grid-CPkjiKqX.js";
|
|
32
|
+
import { T as c } from "../../../Typography-BQDN44CM.js";
|
|
33
|
+
import { D as $e, a as He } from "../../../DialogContent-_gvZOy18.js";
|
|
34
|
+
import { C as Xe } from "../../../CircularProgress-Yx712vpT.js";
|
|
35
|
+
import { B as te } from "../../../Button-tAfK4lud.js";
|
|
35
36
|
const je = ({ router: N }) => {
|
|
36
37
|
const D = Ae(), { showAlertMessage: m, snackBar: ae } = ze(), v = K(Pe).everWalletAddress, L = K((t) => t.user.wallets);
|
|
37
38
|
L.loader;
|
|
@@ -41,7 +42,7 @@ const je = ({ router: N }) => {
|
|
|
41
42
|
addLoader: oe,
|
|
42
43
|
error: M,
|
|
43
44
|
tx: W
|
|
44
|
-
} = se, [a, O] = r(i), [z, re] = r(!0), [$, ne] = r(0), [H, le] = r(0), [
|
|
45
|
+
} = se, [a, O] = r(i), [z, re] = r(!0), [$, ne] = r(0), [H, le] = r(0), [p, C] = r(""), [k, X] = r(ee), [F, ie] = r({
|
|
45
46
|
data: [],
|
|
46
47
|
totalStake: 0,
|
|
47
48
|
totalReward: 0
|
|
@@ -49,11 +50,11 @@ const je = ({ router: N }) => {
|
|
|
49
50
|
data: [],
|
|
50
51
|
totalStake: 0,
|
|
51
52
|
totalReward: 0
|
|
52
|
-
}), [de, b] = r(!1), [me, j] = r(""), [fe, q] = r(""), [
|
|
53
|
+
}), [de, b] = r(!1), [me, j] = r(""), [fe, q] = r(""), [pe, V] = r(
|
|
53
54
|
void 0
|
|
54
|
-
),
|
|
55
|
+
), ke = a === i ? 18 : 6, ue = Ye(p.toString(), ke);
|
|
55
56
|
let I = ve;
|
|
56
|
-
a === i && (I = Re,
|
|
57
|
+
a === i && (I = Re, k === ye ? I = Me : k === Ce && (I = Fe)), _(() => {
|
|
57
58
|
M && (Se(), m({ message: M }));
|
|
58
59
|
}, [M]), _(() => {
|
|
59
60
|
W && (b(!1), m({
|
|
@@ -125,7 +126,7 @@ const je = ({ router: N }) => {
|
|
|
125
126
|
Le({
|
|
126
127
|
amount: ue,
|
|
127
128
|
type: a,
|
|
128
|
-
period:
|
|
129
|
+
period: k.toString()
|
|
129
130
|
})
|
|
130
131
|
);
|
|
131
132
|
}, Se = () => {
|
|
@@ -135,17 +136,17 @@ const je = ({ router: N }) => {
|
|
|
135
136
|
}, ge = () => {
|
|
136
137
|
B("review");
|
|
137
138
|
}, B = (t) => {
|
|
138
|
-
if (!
|
|
139
|
+
if (!k)
|
|
139
140
|
return m({
|
|
140
141
|
message: "Please select the stake duration period"
|
|
141
142
|
}), !1;
|
|
142
|
-
if (!
|
|
143
|
+
if (!p)
|
|
143
144
|
return m({ message: "Please provide the amount to stake" }), !1;
|
|
144
|
-
if (!Oe.test(
|
|
145
|
+
if (!Oe.test(p))
|
|
145
146
|
return m({
|
|
146
147
|
message: "Please provide the valid amount"
|
|
147
148
|
}), !1;
|
|
148
|
-
const s = parseFloat(
|
|
149
|
+
const s = parseFloat(p.replaceAll(",", "."));
|
|
149
150
|
if (s * 1 <= 0)
|
|
150
151
|
return m({
|
|
151
152
|
message: "Please provide the amount greater than 0"
|
|
@@ -155,9 +156,9 @@ const je = ({ router: N }) => {
|
|
|
155
156
|
if (a === T && s * 1 > $ * 1)
|
|
156
157
|
return m({ message: "Insufficient balance to stake" }), !1;
|
|
157
158
|
let { title: l, html: d, func: n } = J();
|
|
158
|
-
t === "review" && (l = "Please Review", d = `You are about to stake <strong>${
|
|
159
|
+
t === "review" && (l = "Please Review", d = `You are about to stake <strong>${p} ${a}</strong> Tokens for <strong>${k} days</strong> for ${a === T ? "up to" : ""} <strong>${I}% APY</strong>`, n = he), j(l), q(d), b(!0), V(() => n);
|
|
159
160
|
}, J = () => {
|
|
160
|
-
let t = "Are you sure?", s = `You will not have access to your ${a} Tokens during the staking period of <strong>${
|
|
161
|
+
let t = "Are you sure?", s = `You will not have access to your ${a} Tokens during the staking period of <strong>${k} days</strong>`;
|
|
161
162
|
return { title: t, html: s, func: ge };
|
|
162
163
|
}, Q = ({ data: t }) => /* @__PURE__ */ o(
|
|
163
164
|
h,
|
|
@@ -249,9 +250,9 @@ const je = ({ router: N }) => {
|
|
|
249
250
|
totalReward: F.totalReward,
|
|
250
251
|
StakeItem: Q,
|
|
251
252
|
stakeStart: B,
|
|
252
|
-
amount:
|
|
253
|
+
amount: p,
|
|
253
254
|
setAmount: C,
|
|
254
|
-
stakeDuration:
|
|
255
|
+
stakeDuration: k,
|
|
255
256
|
setStakeDuration: X,
|
|
256
257
|
balanceLoader: z,
|
|
257
258
|
balance: H
|
|
@@ -266,7 +267,7 @@ const je = ({ router: N }) => {
|
|
|
266
267
|
totalReward: P.totalReward,
|
|
267
268
|
StakeItem: Q,
|
|
268
269
|
stakeStart: B,
|
|
269
|
-
amount:
|
|
270
|
+
amount: p,
|
|
270
271
|
setAmount: C,
|
|
271
272
|
balanceLoader: z,
|
|
272
273
|
balance: $
|
|
@@ -316,7 +317,7 @@ const je = ({ router: N }) => {
|
|
|
316
317
|
te,
|
|
317
318
|
{
|
|
318
319
|
sx: { mt: 6 },
|
|
319
|
-
onClick:
|
|
320
|
+
onClick: pe,
|
|
320
321
|
className: "wallet-btn",
|
|
321
322
|
variant: "contained",
|
|
322
323
|
fullWidth: !0,
|
|
@@ -339,7 +340,7 @@ const je = ({ router: N }) => {
|
|
|
339
340
|
}
|
|
340
341
|
)
|
|
341
342
|
] });
|
|
342
|
-
},
|
|
343
|
+
}, Rt = We(je);
|
|
343
344
|
export {
|
|
344
|
-
|
|
345
|
+
Rt as default
|
|
345
346
|
};
|