everest-npm-features 0.0.23 → 0.0.24
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-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
- package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
- package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
- package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
- package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
- package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
- package/dist/Button-C57IMamW.js +660 -0
- package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
- package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
- package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
- package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
- package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
- package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
- package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
- package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
- package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
- package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
- package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
- package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
- package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
- package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
- package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
- package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
- package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
- package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
- package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
- package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
- package/dist/GlobalStyles-DhHHc9O0.js +59 -0
- package/dist/Grid-BXyV_lM8.js +410 -0
- package/dist/Grow-B2p7O_1C.js +196 -0
- package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
- package/dist/IconButton-eWRhV6Q9.js +295 -0
- package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
- package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
- package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
- package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
- package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
- package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
- package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
- package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
- package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
- package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
- package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
- package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
- package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
- package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
- package/dist/SwitchBase-CHO5ZceN.js +317 -0
- package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
- package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
- package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
- package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
- package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
- 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 +7 -7
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- 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 +7 -7
- 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 +6 -6
- package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
- 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 +7 -7
- package/dist/components/Shared/FullKyc/userInfo.js +11 -11
- package/dist/components/Shared/HistoryItem/index.js +7 -7
- 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/Shared/transition.js +1 -1
- package/dist/components/Wallet/Account/createIban.d.ts +1 -0
- package/dist/components/Wallet/Account/createIban.js +36 -35
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +16 -16
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +76 -70
- package/dist/components/Wallet/Account/sendIban.js +61 -61
- package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Buy/form.d.ts +2 -2
- package/dist/components/Wallet/Buy/form.js +17 -17
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +7 -7
- package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
- package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
- 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 +45 -44
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
- package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
- package/dist/components/Wallet/History/index.js +61 -62
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
- package/dist/components/Wallet/Portfolio/index.js +95 -95
- package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
- package/dist/components/Wallet/Profile/documents.js +17 -17
- package/dist/components/Wallet/Profile/index.js +225 -206
- package/dist/components/Wallet/Receive/index.js +9 -9
- package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Sell/form.js +17 -17
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +14 -14
- package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
- package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
- package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
- package/dist/components/Wallet/Shared/Container/index.js +3 -3
- package/dist/components/Wallet/Shared/Input/index.js +1 -1
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
- package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
- package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
- package/dist/components/Wallet/Shared/addBank.js +11 -11
- package/dist/components/Wallet/Shared/appButton.js +5 -5
- package/dist/components/Wallet/Shared/backBtn.js +8 -8
- package/dist/components/Wallet/Shared/button.js +1 -1
- package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
- package/dist/components/Wallet/Shared/inputField.js +1 -1
- package/dist/components/Wallet/Shared/noData.js +2 -2
- package/dist/components/Wallet/Shared/pin.js +3 -3
- 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 +10 -10
- package/dist/components/Wallet/Swap/index.js +138 -150
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
- package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
- package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
- package/dist/components/Wallet/Withdraw/form.js +16 -16
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
- package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
- package/dist/createTheme-DmGCMO09.js +3825 -0
- package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
- package/dist/defaultTheme-9fAph5zo.js +5 -0
- package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
- package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
- package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
- package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
- package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
- package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
- package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
- package/dist/hoc/withThemeProvider.js +518 -417
- package/dist/hooks/useDialog/index.js +4 -4
- package/dist/hooks/useRrDialog/index.js +4 -4
- package/dist/hooks/useSnackBar.js +363 -288
- package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
- 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 +1 -1
- package/dist/icons/failedRedeemIcon.js +1 -1
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/index-BB3__zW3.js +644 -0
- package/dist/index-C86AoaoB.js +43 -0
- package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
- package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
- package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
- package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
- package/dist/index-eEYiDlpX.js +723 -0
- package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
- package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
- package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
- package/dist/pep-C5Ge-kU4.js +2691 -0
- package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
- package/dist/refType-CaiGhRso.js +56 -0
- package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
- package/dist/tokenRow-BR8f4g7G.js +198 -0
- package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
- package/dist/useControlled-nm4pBabJ.js +31 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useSlot-DtSnboW7.js +125 -0
- package/dist/useSlotProps-D62tWbb1.js +25 -0
- package/dist/useTheme-Bfw5Gt1b.js +17 -0
- package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
- package/dist/useThemeProps-lRuJRcRX.js +29 -0
- package/dist/wallet-DDW5KCHp.js +39 -0
- package/package.json +7 -6
- package/dist/Button-DCBtFwk3.js +0 -452
- package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
- package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
- package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
- package/dist/Grid-BaaKMDwM.js +0 -501
- package/dist/Grid2-DX2sucnU.js +0 -374
- package/dist/Grow-CC3Va50c.js +0 -216
- package/dist/IconButton-8B2ygvr4.js +0 -238
- package/dist/SwitchBase-B9rcpVZ0.js +0 -261
- package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
- package/dist/createTheme-D_EHVLXp.js +0 -3662
- package/dist/defaultTheme-CGLnLLk_.js +0 -5
- package/dist/index-BEH1PkNC.js +0 -572
- package/dist/index-DSZxScyY.js +0 -704
- package/dist/index-DlZLKtdr.js +0 -72
- package/dist/pep-BsWvrgyM.js +0 -2600
- package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
- package/dist/styled-CyBKg0N-.js +0 -5
- package/dist/tokenRow-QlGBYRKR.js +0 -206
- package/dist/useControlled-BYdyS7Pn.js +0 -31
- package/dist/useSlot-BdP6R4tz.js +0 -50
- package/dist/useTheme-BFI_g9FY.js +0 -9
- package/dist/useThemeProps-BOrAzOS4.js +0 -40
- package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
- package/dist/useTimeout-_ag1gI7y.js +0 -56
- package/dist/utils-B-vKE_Dv.js +0 -50
- package/dist/utils-asicApOI.js +0 -21
- package/dist/wallet-z7NHqtCj.js +0 -35
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { jsx as e, Fragment as p, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import { useState as b, Fragment as E } from "react";
|
|
3
|
+
import { G as w } from "./generic-token-B_ptO5yb.js";
|
|
4
|
+
import { A as y } from "./ArrowRight-rYkfGJuF.js";
|
|
5
|
+
import { A as G } from "./ArrowDropDown-BC_iEASy.js";
|
|
6
|
+
import { US_DOLLAR_ISO3 as o } from "./util/constants.js";
|
|
7
|
+
import { numberFormat as z } from "./util/conversions.js";
|
|
8
|
+
import { G as r } from "./Grid-BXyV_lM8.js";
|
|
9
|
+
import { D as N } from "./Divider-Dy5hKfey.js";
|
|
10
|
+
import { B as S } from "./Button-C57IMamW.js";
|
|
11
|
+
import './assets/tokenRow.css';const W = "_container_boumk_1", c = {
|
|
12
|
+
container: W,
|
|
13
|
+
"inner-container": "_inner-container_boumk_13",
|
|
14
|
+
"portfolio-info": "_portfolio-info_boumk_27",
|
|
15
|
+
"currency-toggle": "_currency-toggle_boumk_41",
|
|
16
|
+
"profile-feat-btn": "_profile-feat-btn_boumk_65",
|
|
17
|
+
"text-color": "_text-color_boumk_81",
|
|
18
|
+
"dropdown-list-item": "_dropdown-list-item_boumk_89",
|
|
19
|
+
"balance-item": "_balance-item_boumk_101",
|
|
20
|
+
"crdt-links": "_crdt-links_boumk_119"
|
|
21
|
+
}, q = ({
|
|
22
|
+
token: s,
|
|
23
|
+
currencyData: d,
|
|
24
|
+
fiatBalance: h,
|
|
25
|
+
isWithdraw: D,
|
|
26
|
+
showExpanded: m,
|
|
27
|
+
setMarketToken: _,
|
|
28
|
+
inValidMarketTokenList: u,
|
|
29
|
+
currency: n,
|
|
30
|
+
currencySymbol: a,
|
|
31
|
+
navigate: I
|
|
32
|
+
}) => {
|
|
33
|
+
const [x, F] = b(!1), [R, g] = b([]), C = async (i) => {
|
|
34
|
+
m && i.wallets && (F((l) => !l), g(x ? [] : i.wallets));
|
|
35
|
+
}, v = (i, l) => {
|
|
36
|
+
i.stopPropagation(), I("/withdraw", l);
|
|
37
|
+
}, A = (i) => {
|
|
38
|
+
switch (i) {
|
|
39
|
+
case "ID":
|
|
40
|
+
return "Everest ID";
|
|
41
|
+
case "CRDT":
|
|
42
|
+
return d.label;
|
|
43
|
+
default:
|
|
44
|
+
return i;
|
|
45
|
+
}
|
|
46
|
+
}, f = (i, l) => {
|
|
47
|
+
switch (i) {
|
|
48
|
+
case "ETH":
|
|
49
|
+
return { se: "eth_" + l };
|
|
50
|
+
case "Mainnet ID":
|
|
51
|
+
case "ID":
|
|
52
|
+
return { se: "mainnetID_" + l };
|
|
53
|
+
case "EverChain ID":
|
|
54
|
+
return { se: "everchainID_" + l };
|
|
55
|
+
case "CRDT":
|
|
56
|
+
return { se: "crdt_" + l };
|
|
57
|
+
default:
|
|
58
|
+
return { se: i + "_" + l };
|
|
59
|
+
}
|
|
60
|
+
}, T = s.symbol.replace(".c", "");
|
|
61
|
+
return /* @__PURE__ */ e(p, { children: /* @__PURE__ */ t(
|
|
62
|
+
r,
|
|
63
|
+
{
|
|
64
|
+
className: `${c["balance-item"]} ${m ? "cursor-pointer" : ""}`,
|
|
65
|
+
...f(s.name, "bar"),
|
|
66
|
+
onClick: () => C(s),
|
|
67
|
+
rowSpacing: { xs: 2, md: 0 },
|
|
68
|
+
container: !0,
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ e(r, { size: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Token" }) }),
|
|
71
|
+
/* @__PURE__ */ t(r, { className: "text-mob-right", size: { xs: 8, md: 5 }, children: [
|
|
72
|
+
s.icon_uri ? /* @__PURE__ */ e(
|
|
73
|
+
"img",
|
|
74
|
+
{
|
|
75
|
+
alt: "",
|
|
76
|
+
src: s.icon_uri,
|
|
77
|
+
onError: ({ currentTarget: i }) => {
|
|
78
|
+
i.onerror = null, i.src = w;
|
|
79
|
+
},
|
|
80
|
+
width: 40,
|
|
81
|
+
height: 40
|
|
82
|
+
}
|
|
83
|
+
) : /* @__PURE__ */ e("img", { src: w, width: 40, height: 40 }),
|
|
84
|
+
" ",
|
|
85
|
+
/* @__PURE__ */ t("span", { className: c["text-color"], children: [
|
|
86
|
+
/* @__PURE__ */ e("strong", { children: A(s.symbol) }),
|
|
87
|
+
D && s.symbol === "EUR.c" ? /* @__PURE__ */ e("span", { className: c["crdt-links"], children: /* @__PURE__ */ e(
|
|
88
|
+
"span",
|
|
89
|
+
{
|
|
90
|
+
className: "text-underline",
|
|
91
|
+
onClick: (i) => v(i, s),
|
|
92
|
+
children: "Withdraw"
|
|
93
|
+
}
|
|
94
|
+
) }) : null
|
|
95
|
+
] })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ e(r, { size: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Qty." }) }),
|
|
98
|
+
/* @__PURE__ */ e(
|
|
99
|
+
r,
|
|
100
|
+
{
|
|
101
|
+
className: "text-right fw500",
|
|
102
|
+
size: { xs: 8, md: 2 },
|
|
103
|
+
title: s.balance,
|
|
104
|
+
children: s.name === "CRDT" ? d.symbol + h : z(s.balance)
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
/* @__PURE__ */ e(r, { size: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Per Token" }) }),
|
|
108
|
+
/* @__PURE__ */ t(
|
|
109
|
+
r,
|
|
110
|
+
{
|
|
111
|
+
className: "text-right fw500",
|
|
112
|
+
sx: { color: "#00B171" },
|
|
113
|
+
size: { xs: 6, md: 2 },
|
|
114
|
+
children: [
|
|
115
|
+
a,
|
|
116
|
+
n === o ? s.usd_unit.toFixed(5) * 1 : s.eur_unit.toFixed(5) * 1
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
),
|
|
120
|
+
/* @__PURE__ */ e(r, { size: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ t("strong", { children: [
|
|
121
|
+
"Value (",
|
|
122
|
+
n,
|
|
123
|
+
")"
|
|
124
|
+
] }) }),
|
|
125
|
+
/* @__PURE__ */ t(r, { className: "text-right fw500", size: { xs: 6, md: 2 }, children: [
|
|
126
|
+
a,
|
|
127
|
+
n === o ? s.balance_usd.toFixed(5) * 1 : s.balance_eur.toFixed(5) * 1
|
|
128
|
+
] }),
|
|
129
|
+
m && /* @__PURE__ */ e(r, { className: "text-center-right", size: { xs: 12, md: 1 }, children: s.wallets && s.wallets.length > 0 ? /* @__PURE__ */ e("span", { className: c["text-color"], children: x ? /* @__PURE__ */ e(G, { sx: { fontSize: "35px" } }) : /* @__PURE__ */ e(y, { sx: { fontSize: "35px" } }) }) : null }),
|
|
130
|
+
R.map((i, l) => /* @__PURE__ */ t(E, { children: [
|
|
131
|
+
/* @__PURE__ */ e(N, { sx: { width: "100%" } }),
|
|
132
|
+
/* @__PURE__ */ t(
|
|
133
|
+
r,
|
|
134
|
+
{
|
|
135
|
+
container: !0,
|
|
136
|
+
rowSpacing: { xs: 2, md: 0 },
|
|
137
|
+
sx: { padding: "17px 0px" },
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ e(r, { size: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Wallet" }) }),
|
|
140
|
+
/* @__PURE__ */ e(r, { className: "text-mob-right", size: { xs: 8, md: 5 }, children: /* @__PURE__ */ e("span", { className: "wallet-token secondary-text-color", children: /* @__PURE__ */ e("strong", { children: i.walletName }) }) }),
|
|
141
|
+
/* @__PURE__ */ e(r, { size: 4, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Qty." }) }),
|
|
142
|
+
/* @__PURE__ */ e(
|
|
143
|
+
r,
|
|
144
|
+
{
|
|
145
|
+
className: "text-right fw500",
|
|
146
|
+
size: { xs: 8, md: 2 },
|
|
147
|
+
title: i.balance,
|
|
148
|
+
...i.walletName === "EverWallet" && f(s.name, "everwallet_balance"),
|
|
149
|
+
children: s.name === "CRDT" ? d.symbol + h : z(i.balance)
|
|
150
|
+
}
|
|
151
|
+
),
|
|
152
|
+
/* @__PURE__ */ e(r, { size: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Per Token" }) }),
|
|
153
|
+
/* @__PURE__ */ t(
|
|
154
|
+
r,
|
|
155
|
+
{
|
|
156
|
+
className: "text-right fw500",
|
|
157
|
+
sx: { color: "#00B171" },
|
|
158
|
+
size: { xs: 6, md: 2 },
|
|
159
|
+
children: [
|
|
160
|
+
a,
|
|
161
|
+
n === o ? s.usd_unit.toFixed(5) * 1 : s.eur_unit.toFixed(5) * 1
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
),
|
|
165
|
+
/* @__PURE__ */ e(r, { size: 6, sx: { display: { xs: "flex", md: "none" } }, children: /* @__PURE__ */ e("strong", { children: "Value" }) }),
|
|
166
|
+
/* @__PURE__ */ t(r, { className: "text-right fw500", size: { xs: 6, md: 2 }, children: [
|
|
167
|
+
a,
|
|
168
|
+
n === o ? i.balance_usd.toFixed(5) * 1 : i.balance_eur.toFixed(5) * 1
|
|
169
|
+
] })
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
)
|
|
173
|
+
] }, l)),
|
|
174
|
+
x && u && !u.includes(T) ? /* @__PURE__ */ t(p, { children: [
|
|
175
|
+
/* @__PURE__ */ e(N, { sx: { width: "100%", mt: 1 } }),
|
|
176
|
+
/* @__PURE__ */ e(r, { container: !0, children: /* @__PURE__ */ e(r, { className: "flex-center", size: 12, children: /* @__PURE__ */ e(
|
|
177
|
+
S,
|
|
178
|
+
{
|
|
179
|
+
onClick: () => _ && _(s),
|
|
180
|
+
className: "wallet-btn",
|
|
181
|
+
variant: "contained",
|
|
182
|
+
sx: {
|
|
183
|
+
mt: 1,
|
|
184
|
+
width: { xs: "70%", md: "30%" }
|
|
185
|
+
},
|
|
186
|
+
children: /* @__PURE__ */ e("strong", { children: "Market Info" })
|
|
187
|
+
}
|
|
188
|
+
) }) })
|
|
189
|
+
] }) : ""
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
s.name
|
|
193
|
+
) });
|
|
194
|
+
};
|
|
195
|
+
export {
|
|
196
|
+
q as T,
|
|
197
|
+
c as s
|
|
198
|
+
};
|