everest-npm-features 0.0.61 → 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/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/PlayArrow-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +98 -107
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -45
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -13
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -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 +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/PlayArrow-Bjz9LxhD.js +0 -13
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/styles.module-CHPRGltL.js +0 -28
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -2,44 +2,41 @@ import { jsx as t, Fragment as ne, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState as s, useEffect as w } from "react";
|
|
3
3
|
import Re from "./id/index.js";
|
|
4
4
|
import ye from "./gems/index.js";
|
|
5
|
+
import { Box as S, Grid as u, Typography as i, Dialog as Be, DialogContent as Ge, CircularProgress as Le } from "@mui/material";
|
|
5
6
|
import { u as W } from "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import { ID_STAKE as
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { a as
|
|
9
|
-
import { f as
|
|
10
|
-
import { s as
|
|
11
|
-
import { fromHuman as
|
|
7
|
+
import { ID_STAKE as c, STAKE_ID_MIN_DAYS as le, GEM_SYNTHETIC_TOKEN_SYMBOL as Fe, EVER_CHAIN_NETWORK as C, GEMS_TOKEN_SYMBOL as z, ETHEREUM_NETWORK as N, ID_TOKEN_SYMBOL as $, GEMS_STAKE as R, STAKE_GEM_MAX_DAYS as Ke, STAKE_ID_ICON as Pe, STAKE_GEM_ICON as Ye, STAKE_GEM_MAX_APY as Oe, STAKE_ID_MIN_APY as We, STAKE_ID_MID_DAYS as ze, STAKE_ID_MID_APY as $e, STAKE_ID_MAX_DAYS as He, STAKE_ID_MAX_APY as Xe } from "../../../util/constants.js";
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
|
+
import { a as je } from "../../../index-BQNs1mvn.js";
|
|
10
|
+
import { f as qe } from "../../../wallet-BPXOp8UG.js";
|
|
11
|
+
import { s as Ue, a as Ve, b as Je } from "../../../stake-BO2TYVJ7.js";
|
|
12
|
+
import { fromHuman as Qe, numberFormat as x, toHuman as y } from "../../../util/conversions.js";
|
|
12
13
|
import "../../../index-DlQqWbXG.js";
|
|
13
14
|
import ie from "../Shared/appButton.js";
|
|
14
|
-
import
|
|
15
|
-
import { decimalNumbersWithCommaOrDot as
|
|
16
|
-
import "
|
|
17
|
-
import { useSnackBarContext as
|
|
18
|
-
import
|
|
15
|
+
import Ze from "../../../hoc/withThemeProvider.js";
|
|
16
|
+
import { decimalNumbersWithCommaOrDot as et } from "../../../util/regex.js";
|
|
17
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
18
|
+
import { useSnackBarContext as tt } from "../../../context/snackBarContext.js";
|
|
19
|
+
import at from "../../../hooks/useEverestDispatch.js";
|
|
19
20
|
import "../../../index-CAoLi5Qq.js";
|
|
20
21
|
import "../../../react-webcam-B3cXh1XT.js";
|
|
21
22
|
import "../../Shared/transition.js";
|
|
22
|
-
import "../../../tooltip-
|
|
23
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
23
24
|
import "../../../moment-h96o7c8I.js";
|
|
24
25
|
import "../../../index.esm-BsMAMhYW.js";
|
|
25
26
|
import "../../../web3-u4qDZYpo.js";
|
|
26
|
-
import
|
|
27
|
+
import ot from "../MoveToEthereumOrEverChain/index.js";
|
|
27
28
|
import "../../../index-ceeCtFuh.js";
|
|
28
29
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
29
30
|
import "../../../context/dialogContext.js";
|
|
31
|
+
import "@mui/icons-material";
|
|
30
32
|
import { s as E } from "../../../styles.module-C1sNeKjL.js";
|
|
31
|
-
import { B as S } from "../../../Box-B0YSYLco.js";
|
|
32
|
-
import { G as u } from "../../../Grid-CFe3amXO.js";
|
|
33
|
-
import { T as c } from "../../../Typography-pAaje37G.js";
|
|
34
|
-
import { D as tt, a as at } from "../../../DialogContent-BMwlOnbW.js";
|
|
35
|
-
import { C as ot } from "../../../CircularProgress-xZA3lvba.js";
|
|
36
33
|
const st = ({
|
|
37
34
|
navigate: ce,
|
|
38
35
|
depositAddress: H,
|
|
39
36
|
gemTokenAddress: de,
|
|
40
37
|
idTokenAddress: me
|
|
41
38
|
}) => {
|
|
42
|
-
const
|
|
39
|
+
const b = at(), { showAlertMessage: m } = tt(), B = W(je).everWalletAddress, X = W((e) => e.user.wallets);
|
|
43
40
|
X.loader;
|
|
44
41
|
const G = X.data, ke = W((e) => e.stake), {
|
|
45
42
|
loader: j,
|
|
@@ -47,7 +44,7 @@ const st = ({
|
|
|
47
44
|
addLoader: ue,
|
|
48
45
|
error: F,
|
|
49
46
|
tx: q
|
|
50
|
-
} = ke, [a, U] = s(
|
|
47
|
+
} = ke, [a, U] = s(c), [V, he] = s(!0), [J, fe] = s(0), [pe, Se] = s(0), [Q, ge] = s(0), [_e, we] = s(0), [g, A] = s(null), [h, K] = s(""), [f, Z] = s(le), [P, xe] = s({
|
|
51
48
|
data: [],
|
|
52
49
|
totalStake: 0,
|
|
53
50
|
totalReward: 0
|
|
@@ -55,22 +52,22 @@ const st = ({
|
|
|
55
52
|
data: [],
|
|
56
53
|
totalStake: 0,
|
|
57
54
|
totalReward: 0
|
|
58
|
-
}), [Ae,
|
|
55
|
+
}), [Ae, D] = s(!1), [Te, ee] = s(""), [ve, te] = s(""), [be, ae] = s(
|
|
59
56
|
void 0
|
|
60
|
-
),
|
|
61
|
-
let I =
|
|
62
|
-
a ===
|
|
57
|
+
), De = a === c ? 18 : 6, Ie = Qe(h.toString(), De);
|
|
58
|
+
let I = Oe;
|
|
59
|
+
a === c && (I = We, f === ze ? I = $e : f === He && (I = Xe)), w(() => {
|
|
63
60
|
F && (Ce(), m({ message: F }));
|
|
64
61
|
}, [F]), w(() => {
|
|
65
|
-
q && (
|
|
62
|
+
q && (D(!1), m({
|
|
66
63
|
message: "Token has been successfully staked.",
|
|
67
64
|
type: "success"
|
|
68
65
|
}), ce("/dashboard"));
|
|
69
66
|
}, [q]), w(() => {
|
|
70
|
-
let e =
|
|
71
|
-
a ===
|
|
72
|
-
}, [a]), w(() => (
|
|
73
|
-
|
|
67
|
+
let e = Ke;
|
|
68
|
+
a === c && (e = le), Z(e), K("");
|
|
69
|
+
}, [a]), w(() => (b(Ue()), b(qe()), () => {
|
|
70
|
+
b(Ve());
|
|
74
71
|
}), []), w(() => {
|
|
75
72
|
if (B && G.length > 0) {
|
|
76
73
|
const e = G.find(
|
|
@@ -80,9 +77,9 @@ const st = ({
|
|
|
80
77
|
const o = e.tokens, l = o.length;
|
|
81
78
|
for (let d = 0; d < l; d++) {
|
|
82
79
|
const n = o[d], M = n.fmt_balance.replaceAll(",", ""), p = parseFloat(x(M)), k = n.network.toLowerCase();
|
|
83
|
-
n.symbol ===
|
|
80
|
+
n.symbol === Fe && k === C.toLowerCase() && ge(p), n.symbol === z && k === N.toLowerCase() && we(p), n.symbol === $ && (k === C.toLowerCase() ? fe(p) : k === N.toLowerCase() && Se(p));
|
|
84
81
|
}
|
|
85
|
-
|
|
82
|
+
he(!1);
|
|
86
83
|
}
|
|
87
84
|
}
|
|
88
85
|
}, [B, G]), w(() => {
|
|
@@ -92,7 +89,7 @@ const st = ({
|
|
|
92
89
|
let d = 0, n = 0, M = 0, p = 0;
|
|
93
90
|
for (let k = 0; k < e; k++) {
|
|
94
91
|
const _ = L[k], re = _.days_left;
|
|
95
|
-
if (_.token ===
|
|
92
|
+
if (_.token === c) {
|
|
96
93
|
const T = y(_.tokens_staked, 18), v = y(_.reward_tokens, 18);
|
|
97
94
|
o.push({
|
|
98
95
|
tokensStake: parseFloat(x(T)),
|
|
@@ -120,44 +117,44 @@ const st = ({
|
|
|
120
117
|
}
|
|
121
118
|
}, [L]);
|
|
122
119
|
const Me = () => {
|
|
123
|
-
|
|
124
|
-
|
|
120
|
+
b(
|
|
121
|
+
Je({
|
|
125
122
|
amount: Ie,
|
|
126
123
|
type: a,
|
|
127
|
-
period:
|
|
124
|
+
period: f.toString()
|
|
128
125
|
})
|
|
129
126
|
);
|
|
130
127
|
}, Ce = () => {
|
|
131
|
-
|
|
128
|
+
D(!1);
|
|
132
129
|
const { title: e, html: o, func: l } = oe();
|
|
133
130
|
ee(e), te(o), ae(() => l);
|
|
134
131
|
}, Ne = () => {
|
|
135
132
|
O("review");
|
|
136
133
|
}, O = (e) => {
|
|
137
|
-
if (!
|
|
134
|
+
if (!f) {
|
|
138
135
|
m({
|
|
139
136
|
message: "Please select the stake duration period"
|
|
140
137
|
});
|
|
141
138
|
return;
|
|
142
139
|
}
|
|
143
|
-
if (!
|
|
140
|
+
if (!h) {
|
|
144
141
|
m({ message: "Please provide the amount to stake" });
|
|
145
142
|
return;
|
|
146
143
|
}
|
|
147
|
-
if (!
|
|
144
|
+
if (!et.test(h)) {
|
|
148
145
|
m({
|
|
149
146
|
message: "Please provide the valid amount"
|
|
150
147
|
});
|
|
151
148
|
return;
|
|
152
149
|
}
|
|
153
|
-
const o = parseFloat(
|
|
150
|
+
const o = parseFloat(h.replaceAll(",", "."));
|
|
154
151
|
if (o * 1 <= 0) {
|
|
155
152
|
m({
|
|
156
153
|
message: "Please provide the amount greater than 0"
|
|
157
154
|
});
|
|
158
155
|
return;
|
|
159
156
|
}
|
|
160
|
-
if (a ===
|
|
157
|
+
if (a === c && o * 1 > J * 1) {
|
|
161
158
|
m({ message: "Insufficient balance to stake" });
|
|
162
159
|
return;
|
|
163
160
|
}
|
|
@@ -166,9 +163,9 @@ const st = ({
|
|
|
166
163
|
return;
|
|
167
164
|
}
|
|
168
165
|
let { title: l, html: d, func: n } = oe();
|
|
169
|
-
e === "review" && (l = "Please Review", d = `You are about to stake <strong>${
|
|
166
|
+
e === "review" && (l = "Please Review", d = `You are about to stake <strong>${h} ${a}</strong> Tokens for <strong>${f} days</strong> for ${a === R ? "up to" : ""} <strong>${I}% APY</strong>`, n = Me), ee(l), te(d), D(!0), ae(() => n);
|
|
170
167
|
}, oe = () => {
|
|
171
|
-
let e = "Are you sure?", o = `You will not have access to your ${a} Tokens during the staking period of <strong>${
|
|
168
|
+
let e = "Are you sure?", o = `You will not have access to your ${a} Tokens during the staking period of <strong>${f} days</strong>`;
|
|
172
169
|
return { title: e, html: o, func: Ne };
|
|
173
170
|
}, se = ({ data: e }) => /* @__PURE__ */ r(
|
|
174
171
|
S,
|
|
@@ -191,12 +188,12 @@ const st = ({
|
|
|
191
188
|
/* @__PURE__ */ t(
|
|
192
189
|
"img",
|
|
193
190
|
{
|
|
194
|
-
src: a ===
|
|
191
|
+
src: a === c ? Pe : Ye,
|
|
195
192
|
alt: "id",
|
|
196
193
|
width: 32
|
|
197
194
|
}
|
|
198
195
|
),
|
|
199
|
-
/* @__PURE__ */ t(
|
|
196
|
+
/* @__PURE__ */ t(i, { sx: { ml: "10px" }, variant: "h6", component: "span", children: /* @__PURE__ */ r("strong", { children: [
|
|
200
197
|
e.tokensStake,
|
|
201
198
|
" ",
|
|
202
199
|
a
|
|
@@ -205,10 +202,10 @@ const st = ({
|
|
|
205
202
|
}
|
|
206
203
|
),
|
|
207
204
|
/* @__PURE__ */ t(S, { sx: { padding: "20px" }, children: /* @__PURE__ */ r(u, { spacing: 1, container: !0, children: [
|
|
208
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
209
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
210
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(
|
|
211
|
-
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ r(
|
|
205
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "fs16", children: /* @__PURE__ */ t("strong", { children: "Days Remaining" }) }) }),
|
|
206
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "text-right fs16 fw500", children: e.days }) }),
|
|
207
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ t(i, { className: "fs16", children: /* @__PURE__ */ t("strong", { children: "Rewards" }) }) }),
|
|
208
|
+
/* @__PURE__ */ t(u, { size: 6, children: /* @__PURE__ */ r(i, { className: "text-right fs16 fw500", children: [
|
|
212
209
|
e.tokensReward,
|
|
213
210
|
" ID"
|
|
214
211
|
] }) })
|
|
@@ -217,7 +214,7 @@ const st = ({
|
|
|
217
214
|
}
|
|
218
215
|
);
|
|
219
216
|
return g ? /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(
|
|
220
|
-
|
|
217
|
+
ot,
|
|
221
218
|
{
|
|
222
219
|
token: g.token,
|
|
223
220
|
network: g.network,
|
|
@@ -237,17 +234,17 @@ const st = ({
|
|
|
237
234
|
sx: { width: "250px", marginLeft: "-250px" },
|
|
238
235
|
children: [
|
|
239
236
|
/* @__PURE__ */ t(u, { className: E["sub-tabs-item"], size: 6, children: /* @__PURE__ */ t(
|
|
240
|
-
|
|
237
|
+
i,
|
|
241
238
|
{
|
|
242
239
|
fontSize: 25,
|
|
243
|
-
className: `font-bold ${a ===
|
|
240
|
+
className: `font-bold ${a === c ? E.active : ""}`,
|
|
244
241
|
variant: "h5",
|
|
245
|
-
onClick: () => U(
|
|
242
|
+
onClick: () => U(c),
|
|
246
243
|
children: "ID"
|
|
247
244
|
}
|
|
248
245
|
) }),
|
|
249
246
|
/* @__PURE__ */ t(u, { className: E["sub-tabs-item"], size: 6, children: /* @__PURE__ */ t(
|
|
250
|
-
|
|
247
|
+
i,
|
|
251
248
|
{
|
|
252
249
|
fontSize: 25,
|
|
253
250
|
className: `font-bold ${a === R ? E.active : ""}`,
|
|
@@ -259,7 +256,7 @@ const st = ({
|
|
|
259
256
|
]
|
|
260
257
|
}
|
|
261
258
|
) }),
|
|
262
|
-
a ===
|
|
259
|
+
a === c ? /* @__PURE__ */ t(
|
|
263
260
|
Re,
|
|
264
261
|
{
|
|
265
262
|
loader: j,
|
|
@@ -268,9 +265,9 @@ const st = ({
|
|
|
268
265
|
totalReward: P.totalReward,
|
|
269
266
|
StakeItem: se,
|
|
270
267
|
stakeStart: O,
|
|
271
|
-
amount:
|
|
268
|
+
amount: h,
|
|
272
269
|
setAmount: K,
|
|
273
|
-
stakeDuration:
|
|
270
|
+
stakeDuration: f,
|
|
274
271
|
setStakeDuration: Z,
|
|
275
272
|
balanceLoader: V,
|
|
276
273
|
balance: J,
|
|
@@ -297,7 +294,7 @@ const st = ({
|
|
|
297
294
|
totalReward: Y.totalReward,
|
|
298
295
|
StakeItem: se,
|
|
299
296
|
stakeStart: O,
|
|
300
|
-
amount:
|
|
297
|
+
amount: h,
|
|
301
298
|
setAmount: K,
|
|
302
299
|
balanceLoader: V,
|
|
303
300
|
balance: Q,
|
|
@@ -318,7 +315,7 @@ const st = ({
|
|
|
318
315
|
)
|
|
319
316
|
] }),
|
|
320
317
|
/* @__PURE__ */ t(
|
|
321
|
-
|
|
318
|
+
Be,
|
|
322
319
|
{
|
|
323
320
|
open: Ae,
|
|
324
321
|
fullWidth: !0,
|
|
@@ -329,10 +326,10 @@ const st = ({
|
|
|
329
326
|
}
|
|
330
327
|
}
|
|
331
328
|
},
|
|
332
|
-
children: /* @__PURE__ */ r(
|
|
333
|
-
/* @__PURE__ */ t(
|
|
329
|
+
children: /* @__PURE__ */ r(Ge, { sx: { mt: 3 }, className: "stake-modal-content", children: [
|
|
330
|
+
/* @__PURE__ */ t(i, { variant: "h4", className: "text-center", children: /* @__PURE__ */ t("strong", { children: Te }) }),
|
|
334
331
|
/* @__PURE__ */ t(
|
|
335
|
-
|
|
332
|
+
i,
|
|
336
333
|
{
|
|
337
334
|
sx: { mt: 5 },
|
|
338
335
|
variant: "h6",
|
|
@@ -341,9 +338,9 @@ const st = ({
|
|
|
341
338
|
}
|
|
342
339
|
),
|
|
343
340
|
ue ? /* @__PURE__ */ r(S, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
344
|
-
/* @__PURE__ */ t(
|
|
341
|
+
/* @__PURE__ */ t(Le, { size: 30 }),
|
|
345
342
|
/* @__PURE__ */ r(
|
|
346
|
-
|
|
343
|
+
i,
|
|
347
344
|
{
|
|
348
345
|
className: "secondary-text-color",
|
|
349
346
|
variant: "h5",
|
|
@@ -356,12 +353,12 @@ const st = ({
|
|
|
356
353
|
}
|
|
357
354
|
)
|
|
358
355
|
] }) : /* @__PURE__ */ r(S, { px: { xs: 6, md: 15 }, children: [
|
|
359
|
-
/* @__PURE__ */ t(ie, { sx: { mt: 6 }, onClick:
|
|
356
|
+
/* @__PURE__ */ t(ie, { sx: { mt: 6 }, onClick: be, fullWidth: !0, children: /* @__PURE__ */ t("strong", { children: "Ok" }) }),
|
|
360
357
|
/* @__PURE__ */ t(
|
|
361
358
|
ie,
|
|
362
359
|
{
|
|
363
360
|
variantType: "cancel",
|
|
364
|
-
onClick: () =>
|
|
361
|
+
onClick: () => D(!1),
|
|
365
362
|
sx: { mt: 2 },
|
|
366
363
|
fullWidth: !0,
|
|
367
364
|
children: "Cancel"
|
|
@@ -372,7 +369,7 @@ const st = ({
|
|
|
372
369
|
}
|
|
373
370
|
)
|
|
374
371
|
] });
|
|
375
|
-
},
|
|
372
|
+
}, Kt = Ze(st);
|
|
376
373
|
export {
|
|
377
|
-
|
|
374
|
+
Kt as default
|
|
378
375
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../react-redux-C7I9-1M6.js";
|
|
4
|
-
import "
|
|
5
|
-
import "../../../
|
|
4
|
+
import "@mui/material";
|
|
5
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
6
|
+
import "../../../Info-DOoRR7sR.js";
|
|
6
7
|
import "../../../generic-token-B_ptO5yb.js";
|
|
7
8
|
import "../../../util/functions.js";
|
|
8
9
|
import "../Shared/TokenModal/index.js";
|
|
9
10
|
import "../../../util/conversions.js";
|
|
10
|
-
import "../../../constants-
|
|
11
|
+
import "../../../constants-DX0YBtP2.js";
|
|
11
12
|
import "../../../index-BQNs1mvn.js";
|
|
12
|
-
import "../../../cryptoAssets-
|
|
13
|
-
import "../../../order-
|
|
13
|
+
import "../../../cryptoAssets-B8rAI7pp.js";
|
|
14
|
+
import "../../../order-BXeCIvqC.js";
|
|
14
15
|
import "../../../util/constants.js";
|
|
15
|
-
import "../../../tooltip-
|
|
16
|
+
import "../../../tooltip-BW0UyWw7.js";
|
|
16
17
|
import "../../../index-DlQqWbXG.js";
|
|
17
18
|
import "../Shared/appButton.js";
|
|
18
19
|
import "../../../hoc/withThemeProvider.js";
|
|
19
|
-
import "
|
|
20
|
+
import "../../../otpForm-DeeegaX2.js";
|
|
20
21
|
import "../../../context/snackBarContext.js";
|
|
21
22
|
import "../../../hooks/useEverestDispatch.js";
|
|
22
23
|
import "../../../index-CAoLi5Qq.js";
|
|
@@ -28,20 +29,10 @@ import "../../../web3-u4qDZYpo.js";
|
|
|
28
29
|
import "../../../styles.module-DMd29SPQ.js";
|
|
29
30
|
import "../Shared/Order/selectCustomIcon.js";
|
|
30
31
|
import "../../../index-ceeCtFuh.js";
|
|
31
|
-
import { S as
|
|
32
|
+
import { S as J } from "../../../index-B4XvACQN.js";
|
|
32
33
|
import "../../../index.esm-I_Bp2YLf.js";
|
|
33
34
|
import "../../../context/dialogContext.js";
|
|
34
|
-
import "
|
|
35
|
-
import "../../../Grid-CFe3amXO.js";
|
|
36
|
-
import "../../../Typography-pAaje37G.js";
|
|
37
|
-
import "../../../FormControl-RtZDQMdA.js";
|
|
38
|
-
import "../../../FilledInput-DuNqnPjc.js";
|
|
39
|
-
import "../../../TextField-DPpRUQe3.js";
|
|
40
|
-
import "../../../CircularProgress-xZA3lvba.js";
|
|
41
|
-
import "../../../Select-CB5yWmyn.js";
|
|
42
|
-
import "../../../MenuItem-DUdYOJr4.js";
|
|
43
|
-
import "../../../ListItemIcon-CUcyTEEm.js";
|
|
44
|
-
import "../../../IconButton-DHm-hucF.js";
|
|
35
|
+
import "@mui/icons-material";
|
|
45
36
|
export {
|
|
46
|
-
|
|
37
|
+
J as default
|
|
47
38
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { F as f, M as F, a as I, i as L } from "../../../index-
|
|
4
|
+
import { F as f, M as F, a as I, i as L } from "../../../index-B4XvACQN.js";
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../wallet-
|
|
8
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-DX0YBtP2.js";
|
|
7
|
+
import "../../../wallet-BPXOp8UG.js";
|
|
8
|
+
import "../../../order-BXeCIvqC.js";
|
|
9
9
|
import "../../../util/constants.js";
|
|
10
10
|
import "../../../context/snackBarContext.js";
|
|
11
11
|
import "../Shared/Container/index.js";
|
|
12
12
|
import "../../Shared/MinimalKyc/index.js";
|
|
13
13
|
import "../Shared/Input/index.js";
|
|
14
14
|
import "../Shared/appButton.js";
|
|
15
|
-
import "../../../index-
|
|
15
|
+
import "../../../index-JY6-UKlX.js";
|
|
16
16
|
import "../../../hooks/useEverestDispatch.js";
|
|
17
17
|
export {
|
|
18
18
|
f as FORM_SCREEN,
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { jsx as n, Fragment as s, jsxs as m } from "react/jsx-runtime";
|
|
2
2
|
import { useState as o } from "react";
|
|
3
|
+
import { Box as t, Grid as i, Typography as c } from "@mui/material";
|
|
3
4
|
import l from "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { B as t } from "../../../Box-B0YSYLco.js";
|
|
5
|
-
import { G as i } from "../../../Grid-CFe3amXO.js";
|
|
6
|
-
import { T as c } from "../../../Typography-pAaje37G.js";
|
|
7
5
|
import '../../../assets/index.css';const p = "_container_1pyai_1", _ = "_active_1pyai_43", e = {
|
|
8
6
|
container: p,
|
|
9
7
|
"inner-container": "_inner-container_1pyai_13",
|
|
@@ -33,7 +31,7 @@ import '../../../assets/index.css';const p = "_container_1pyai_1", _ = "_active_
|
|
|
33
31
|
}
|
|
34
32
|
) })
|
|
35
33
|
] }) }) }) }) });
|
|
36
|
-
},
|
|
34
|
+
}, v = l(d);
|
|
37
35
|
export {
|
|
38
|
-
|
|
36
|
+
v as default
|
|
39
37
|
};
|
|
@@ -1,72 +1,68 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as r, Fragment as l, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as x, useEffect as N } from "react";
|
|
3
3
|
import { u as C } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { Box as n, CircularProgress as d, Grid as s, Typography as p, Stack as E } from "@mui/material";
|
|
4
5
|
import S from "../Shared/backBtn.js";
|
|
5
|
-
import
|
|
6
|
-
import { F as
|
|
7
|
-
import "../../../constants-
|
|
8
|
-
import { u as
|
|
9
|
-
import { o as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import { s as
|
|
13
|
-
import { RADIO_BUTTON_SELECTED as
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import { T as p } from "../../../Typography-pAaje37G.js";
|
|
19
|
-
import { S as F } from "../../../Stack-k55YTxET.js";
|
|
20
|
-
const $ = ({
|
|
21
|
-
setScreen: i,
|
|
22
|
-
orderData: f
|
|
6
|
+
import b from "../Shared/addBank.js";
|
|
7
|
+
import { F as R, C as T } from "../../../index-DkiQ8pRO.js";
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
9
|
+
import { u as A } from "../../../index-BQNs1mvn.js";
|
|
10
|
+
import { o as O } from "../../../order-BXeCIvqC.js";
|
|
11
|
+
import { u as y } from "../../../bank-HVb0GFsa.js";
|
|
12
|
+
import _ from "../Shared/connectPlaidBank.js";
|
|
13
|
+
import { s as c } from "../../../styles.module-DMd29SPQ.js";
|
|
14
|
+
import { RADIO_BUTTON_SELECTED as I, RADIO_BUTTON as D } from "../../../util/constants.js";
|
|
15
|
+
import F from "../../../hooks/useEverestDispatch.js";
|
|
16
|
+
const V = ({
|
|
17
|
+
setScreen: o,
|
|
18
|
+
orderData: h
|
|
23
19
|
}) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
const
|
|
20
|
+
const i = F(), a = C(A), u = a.loader;
|
|
21
|
+
a.message;
|
|
22
|
+
const f = a.banks, k = h.create.bank_id, [m, g] = x(!1);
|
|
27
23
|
N(() => {
|
|
28
|
-
|
|
24
|
+
i(y());
|
|
29
25
|
}, []);
|
|
30
|
-
const
|
|
31
|
-
m || (
|
|
26
|
+
const B = (t) => {
|
|
27
|
+
m || (g(!0), i(O(t.id)), o(T));
|
|
32
28
|
};
|
|
33
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ r(l, { children: [
|
|
34
30
|
/* @__PURE__ */ e(
|
|
35
31
|
S,
|
|
36
32
|
{
|
|
37
|
-
onClickHandler: () =>
|
|
33
|
+
onClickHandler: () => o(R),
|
|
38
34
|
backBtnText: "Select Bank Account"
|
|
39
35
|
}
|
|
40
36
|
),
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
37
|
+
u ? /* @__PURE__ */ e(n, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(d, {}) }) : /* @__PURE__ */ r(l, { children: [
|
|
38
|
+
f.map((t) => /* @__PURE__ */ e(
|
|
39
|
+
n,
|
|
44
40
|
{
|
|
45
|
-
className:
|
|
46
|
-
onClick: () =>
|
|
47
|
-
children: /* @__PURE__ */
|
|
48
|
-
/* @__PURE__ */ e(s, { size: 10, className: "content-center", children: /* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */ e("p", { className:
|
|
50
|
-
/* @__PURE__ */
|
|
51
|
-
|
|
41
|
+
className: c["bank-item"],
|
|
42
|
+
onClick: () => B(t),
|
|
43
|
+
children: /* @__PURE__ */ r(s, { container: !0, display: "flex", alignItems: "center", children: [
|
|
44
|
+
/* @__PURE__ */ e(s, { size: 10, className: "content-center", children: /* @__PURE__ */ r(n, { sx: { textAlign: "left" }, children: [
|
|
45
|
+
/* @__PURE__ */ e("p", { className: c["bank-name"], children: /* @__PURE__ */ e("strong", { children: t.bankName }) }),
|
|
46
|
+
/* @__PURE__ */ r("p", { className: c["bank-account"], children: [
|
|
47
|
+
t.accountName,
|
|
52
48
|
" | ***",
|
|
53
|
-
|
|
49
|
+
t.accountNumber.slice(-4)
|
|
54
50
|
] })
|
|
55
51
|
] }) }),
|
|
56
|
-
/* @__PURE__ */ e(s, { size: 2, children: /* @__PURE__ */ e(p, { sx: { textAlign: "right" }, children: k ===
|
|
52
|
+
/* @__PURE__ */ e(s, { size: 2, children: /* @__PURE__ */ e(p, { sx: { textAlign: "right" }, children: k === t.id ? /* @__PURE__ */ e("img", { src: I, alt: "radio" }) : /* @__PURE__ */ e("img", { src: D, alt: "radio" }) }) })
|
|
57
53
|
] })
|
|
58
54
|
},
|
|
59
|
-
|
|
55
|
+
t.id
|
|
60
56
|
)),
|
|
61
|
-
m && /* @__PURE__ */ e(
|
|
57
|
+
m && /* @__PURE__ */ e(n, { mt: 4, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(d, {}) })
|
|
62
58
|
] }),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */ e(
|
|
59
|
+
/* @__PURE__ */ r(E, { mt: 4, gap: 1, children: [
|
|
60
|
+
/* @__PURE__ */ e(_, { buttonType: "secondary" }),
|
|
65
61
|
/* @__PURE__ */ e(p, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
|
|
66
|
-
/* @__PURE__ */ e(
|
|
62
|
+
/* @__PURE__ */ e(b, {})
|
|
67
63
|
] })
|
|
68
64
|
] });
|
|
69
65
|
};
|
|
70
66
|
export {
|
|
71
|
-
|
|
67
|
+
V as default
|
|
72
68
|
};
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
+
import "@mui/material";
|
|
3
4
|
import "../Shared/backBtn.js";
|
|
4
5
|
import "../../../util/constants.js";
|
|
5
6
|
import "../../../styles.module-DMd29SPQ.js";
|
|
6
7
|
import "../Shared/appButton.js";
|
|
7
|
-
import "../../../constants-
|
|
8
|
+
import "../../../constants-DX0YBtP2.js";
|
|
8
9
|
import "../../../index-BQNs1mvn.js";
|
|
9
|
-
import "../../../order-
|
|
10
|
-
import { B
|
|
10
|
+
import "../../../order-BXeCIvqC.js";
|
|
11
|
+
import { B } from "../../../index-DkiQ8pRO.js";
|
|
11
12
|
import "../../../react-redux-C7I9-1M6.js";
|
|
12
13
|
import "../../../hooks/useDialog/index.js";
|
|
13
|
-
import "../../../Typography-pAaje37G.js";
|
|
14
|
-
import "../../../Box-B0YSYLco.js";
|
|
15
|
-
import "../../../Grid-CFe3amXO.js";
|
|
16
|
-
import "../../../CircularProgress-xZA3lvba.js";
|
|
17
14
|
export {
|
|
18
|
-
|
|
15
|
+
B as default
|
|
19
16
|
};
|
|
@@ -1,28 +1,17 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
4
5
|
import "../../../generic-token-B_ptO5yb.js";
|
|
5
6
|
import "../../../util/constants.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../order-
|
|
7
|
+
import "../../../constants-DX0YBtP2.js";
|
|
8
|
+
import "../../../order-BXeCIvqC.js";
|
|
8
9
|
import "../../../util/functions.js";
|
|
9
|
-
import { W as
|
|
10
|
+
import { W as b } from "../../../index-DkiQ8pRO.js";
|
|
10
11
|
import "../../../styles.module-DMd29SPQ.js";
|
|
11
12
|
import "../Shared/appButton.js";
|
|
12
13
|
import "../Shared/Order/paymentButton.js";
|
|
13
14
|
import "../Shared/Order/selectCustomIcon.js";
|
|
14
|
-
import "../../../Grid-CFe3amXO.js";
|
|
15
|
-
import "../../../Typography-pAaje37G.js";
|
|
16
|
-
import "../../../CircularProgress-xZA3lvba.js";
|
|
17
|
-
import "../../../FormControl-RtZDQMdA.js";
|
|
18
|
-
import "../../../FilledInput-DuNqnPjc.js";
|
|
19
|
-
import "../../../TextField-DPpRUQe3.js";
|
|
20
|
-
import "../../../Select-CB5yWmyn.js";
|
|
21
|
-
import "../../../MenuItem-DUdYOJr4.js";
|
|
22
|
-
import "../../../ListItemIcon-CUcyTEEm.js";
|
|
23
|
-
import "../../../Box-B0YSYLco.js";
|
|
24
|
-
import "../../../InputAdornment-DMiED3JH.js";
|
|
25
|
-
import "../../../IconButton-DHm-hucF.js";
|
|
26
15
|
export {
|
|
27
|
-
|
|
16
|
+
b as default
|
|
28
17
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../hoc/withThemeProvider.js";
|
|
4
|
-
import { a as f, C as A, F as K, M as O, i as d } from "../../../index-
|
|
4
|
+
import { a as f, C as A, F as K, M as O, i as d } from "../../../index-DkiQ8pRO.js";
|
|
5
5
|
import "../../../react-redux-C7I9-1M6.js";
|
|
6
|
-
import "../../../constants-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../wallet-
|
|
9
|
-
import "../../../order-
|
|
6
|
+
import "../../../constants-DX0YBtP2.js";
|
|
7
|
+
import "../../../PlayArrow-71FP5PzJ.js";
|
|
8
|
+
import "../../../wallet-BPXOp8UG.js";
|
|
9
|
+
import "../../../order-BXeCIvqC.js";
|
|
10
10
|
import "../../../util/constants.js";
|
|
11
11
|
import "../../../context/snackBarContext.js";
|
|
12
12
|
import "../Shared/Container/index.js";
|