everest-npm-features 0.0.22 → 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 +57 -55
- 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/util/constants.d.ts +1 -3
- package/dist/util/constants.js +27 -29
- 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
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as ge, jsx as O } from "react/jsx-runtime";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import Qe from "react";
|
|
4
|
-
import { g as Ze, s as
|
|
5
|
-
import { g as to,
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
4
|
+
import { g as Ze, s as A, m as G, u as eo, c as oo } from "./DefaultPropsProvider-B2njZVNv.js";
|
|
5
|
+
import { g as to, b as ve, P as e, a as Re } from "./createTheme-DmGCMO09.js";
|
|
6
|
+
import { c as be } from "./DefaultPropsProvider-CZh8M2jM.js";
|
|
7
|
+
import { u as ro } from "./index-x9CniyQB.js";
|
|
8
|
+
import { u as po } from "./useTheme-XTDzJ69d.js";
|
|
9
|
+
import { u as I } from "./useSlot-DtSnboW7.js";
|
|
10
|
+
import { P as Oe } from "./Popper-pPBEFLi4.js";
|
|
11
|
+
import { u as j, a as Te, T as no } from "./refType-CaiGhRso.js";
|
|
12
|
+
import { u as so } from "./useControlled-nm4pBabJ.js";
|
|
11
13
|
import { u as ao } from "./useId-CK6Kn3Tn.js";
|
|
12
|
-
import { u as io } from "./TransitionGroupContext-
|
|
13
|
-
import { g as lo, e as co } from "./
|
|
14
|
-
import { G as
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
function mo(r) {
|
|
14
|
+
import { u as io } from "./TransitionGroupContext-CYRQkQ6k.js";
|
|
15
|
+
import { g as lo, e as co } from "./elementAcceptingRef-BbsmdE_3.js";
|
|
16
|
+
import { G as mo } from "./Grow-B2p7O_1C.js";
|
|
17
|
+
import { i as ye } from "./isFocusVisible-CPZqtjv2.js";
|
|
18
|
+
function uo(r) {
|
|
18
19
|
return to("MuiTooltip", r);
|
|
19
20
|
}
|
|
20
21
|
const p = Ze("MuiTooltip", ["popper", "popperInteractive", "popperArrow", "popperClose", "tooltip", "tooltipArrow", "touch", "tooltipPlacementLeft", "tooltipPlacementRight", "tooltipPlacementTop", "tooltipPlacementBottom", "arrow"]);
|
|
21
|
-
function
|
|
22
|
+
function fo(r) {
|
|
22
23
|
return Math.round(r * 1e5) / 1e5;
|
|
23
24
|
}
|
|
24
|
-
const
|
|
25
|
+
const ho = (r) => {
|
|
25
26
|
const {
|
|
26
|
-
classes:
|
|
27
|
+
classes: o,
|
|
27
28
|
disableInteractive: s,
|
|
28
29
|
arrow: d,
|
|
29
|
-
touch:
|
|
30
|
-
placement:
|
|
30
|
+
touch: P,
|
|
31
|
+
placement: T
|
|
31
32
|
} = r, q = {
|
|
32
33
|
popper: ["popper", !s && "popperInteractive", d && "popperArrow"],
|
|
33
|
-
tooltip: ["tooltip", d && "tooltipArrow",
|
|
34
|
+
tooltip: ["tooltip", d && "tooltipArrow", P && "touch", `tooltipPlacement${ve(T.split("-")[0])}`],
|
|
34
35
|
arrow: ["arrow"]
|
|
35
36
|
};
|
|
36
|
-
return oo(q,
|
|
37
|
-
},
|
|
37
|
+
return oo(q, uo, o);
|
|
38
|
+
}, go = A(Oe, {
|
|
38
39
|
name: "MuiTooltip",
|
|
39
40
|
slot: "Popper",
|
|
40
|
-
overridesResolver: (r,
|
|
41
|
+
overridesResolver: (r, o) => {
|
|
41
42
|
const {
|
|
42
43
|
ownerState: s
|
|
43
44
|
} = r;
|
|
44
|
-
return [
|
|
45
|
+
return [o.popper, !s.disableInteractive && o.popperInteractive, s.arrow && o.popperArrow, !s.open && o.popperClose];
|
|
45
46
|
}
|
|
46
47
|
})(G(({
|
|
47
48
|
theme: r
|
|
@@ -50,22 +51,22 @@ const fo = (r) => {
|
|
|
50
51
|
pointerEvents: "none",
|
|
51
52
|
variants: [{
|
|
52
53
|
props: ({
|
|
53
|
-
ownerState:
|
|
54
|
-
}) => !
|
|
54
|
+
ownerState: o
|
|
55
|
+
}) => !o.disableInteractive,
|
|
55
56
|
style: {
|
|
56
57
|
pointerEvents: "auto"
|
|
57
58
|
}
|
|
58
59
|
}, {
|
|
59
60
|
props: ({
|
|
60
|
-
open:
|
|
61
|
-
}) => !
|
|
61
|
+
open: o
|
|
62
|
+
}) => !o,
|
|
62
63
|
style: {
|
|
63
64
|
pointerEvents: "none"
|
|
64
65
|
}
|
|
65
66
|
}, {
|
|
66
67
|
props: ({
|
|
67
|
-
ownerState:
|
|
68
|
-
}) =>
|
|
68
|
+
ownerState: o
|
|
69
|
+
}) => o.arrow,
|
|
69
70
|
style: {
|
|
70
71
|
[`&[data-popper-placement*="bottom"] .${p.arrow}`]: {
|
|
71
72
|
top: 0,
|
|
@@ -98,8 +99,8 @@ const fo = (r) => {
|
|
|
98
99
|
}
|
|
99
100
|
}, {
|
|
100
101
|
props: ({
|
|
101
|
-
ownerState:
|
|
102
|
-
}) =>
|
|
102
|
+
ownerState: o
|
|
103
|
+
}) => o.arrow && !o.isRtl,
|
|
103
104
|
style: {
|
|
104
105
|
[`&[data-popper-placement*="right"] .${p.arrow}`]: {
|
|
105
106
|
left: 0,
|
|
@@ -108,8 +109,8 @@ const fo = (r) => {
|
|
|
108
109
|
}
|
|
109
110
|
}, {
|
|
110
111
|
props: ({
|
|
111
|
-
ownerState:
|
|
112
|
-
}) =>
|
|
112
|
+
ownerState: o
|
|
113
|
+
}) => o.arrow && !!o.isRtl,
|
|
113
114
|
style: {
|
|
114
115
|
[`&[data-popper-placement*="right"] .${p.arrow}`]: {
|
|
115
116
|
right: 0,
|
|
@@ -118,8 +119,8 @@ const fo = (r) => {
|
|
|
118
119
|
}
|
|
119
120
|
}, {
|
|
120
121
|
props: ({
|
|
121
|
-
ownerState:
|
|
122
|
-
}) =>
|
|
122
|
+
ownerState: o
|
|
123
|
+
}) => o.arrow && !o.isRtl,
|
|
123
124
|
style: {
|
|
124
125
|
[`&[data-popper-placement*="left"] .${p.arrow}`]: {
|
|
125
126
|
right: 0,
|
|
@@ -128,8 +129,8 @@ const fo = (r) => {
|
|
|
128
129
|
}
|
|
129
130
|
}, {
|
|
130
131
|
props: ({
|
|
131
|
-
ownerState:
|
|
132
|
-
}) =>
|
|
132
|
+
ownerState: o
|
|
133
|
+
}) => o.arrow && !!o.isRtl,
|
|
133
134
|
style: {
|
|
134
135
|
[`&[data-popper-placement*="left"] .${p.arrow}`]: {
|
|
135
136
|
left: 0,
|
|
@@ -137,19 +138,19 @@ const fo = (r) => {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
}]
|
|
140
|
-
}))),
|
|
141
|
+
}))), bo = A("div", {
|
|
141
142
|
name: "MuiTooltip",
|
|
142
143
|
slot: "Tooltip",
|
|
143
|
-
overridesResolver: (r,
|
|
144
|
+
overridesResolver: (r, o) => {
|
|
144
145
|
const {
|
|
145
146
|
ownerState: s
|
|
146
147
|
} = r;
|
|
147
|
-
return [
|
|
148
|
+
return [o.tooltip, s.touch && o.touch, s.arrow && o.tooltipArrow, o[`tooltipPlacement${ve(s.placement.split("-")[0])}`]];
|
|
148
149
|
}
|
|
149
150
|
})(G(({
|
|
150
151
|
theme: r
|
|
151
152
|
}) => ({
|
|
152
|
-
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg :
|
|
153
|
+
backgroundColor: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.92),
|
|
153
154
|
borderRadius: (r.vars || r).shape.borderRadius,
|
|
154
155
|
color: (r.vars || r).palette.common.white,
|
|
155
156
|
fontFamily: r.typography.fontFamily,
|
|
@@ -175,26 +176,26 @@ const fo = (r) => {
|
|
|
175
176
|
},
|
|
176
177
|
variants: [{
|
|
177
178
|
props: ({
|
|
178
|
-
ownerState:
|
|
179
|
-
}) =>
|
|
179
|
+
ownerState: o
|
|
180
|
+
}) => o.arrow,
|
|
180
181
|
style: {
|
|
181
182
|
position: "relative",
|
|
182
183
|
margin: 0
|
|
183
184
|
}
|
|
184
185
|
}, {
|
|
185
186
|
props: ({
|
|
186
|
-
ownerState:
|
|
187
|
-
}) =>
|
|
187
|
+
ownerState: o
|
|
188
|
+
}) => o.touch,
|
|
188
189
|
style: {
|
|
189
190
|
padding: "8px 16px",
|
|
190
191
|
fontSize: r.typography.pxToRem(14),
|
|
191
|
-
lineHeight: `${
|
|
192
|
+
lineHeight: `${fo(16 / 14)}em`,
|
|
192
193
|
fontWeight: r.typography.fontWeightRegular
|
|
193
194
|
}
|
|
194
195
|
}, {
|
|
195
196
|
props: ({
|
|
196
|
-
ownerState:
|
|
197
|
-
}) => !
|
|
197
|
+
ownerState: o
|
|
198
|
+
}) => !o.isRtl,
|
|
198
199
|
style: {
|
|
199
200
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
200
201
|
marginRight: "14px"
|
|
@@ -205,8 +206,8 @@ const fo = (r) => {
|
|
|
205
206
|
}
|
|
206
207
|
}, {
|
|
207
208
|
props: ({
|
|
208
|
-
ownerState:
|
|
209
|
-
}) => !
|
|
209
|
+
ownerState: o
|
|
210
|
+
}) => !o.isRtl && o.touch,
|
|
210
211
|
style: {
|
|
211
212
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
212
213
|
marginRight: "24px"
|
|
@@ -217,8 +218,8 @@ const fo = (r) => {
|
|
|
217
218
|
}
|
|
218
219
|
}, {
|
|
219
220
|
props: ({
|
|
220
|
-
ownerState:
|
|
221
|
-
}) => !!
|
|
221
|
+
ownerState: o
|
|
222
|
+
}) => !!o.isRtl,
|
|
222
223
|
style: {
|
|
223
224
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
224
225
|
marginLeft: "14px"
|
|
@@ -229,8 +230,8 @@ const fo = (r) => {
|
|
|
229
230
|
}
|
|
230
231
|
}, {
|
|
231
232
|
props: ({
|
|
232
|
-
ownerState:
|
|
233
|
-
}) => !!
|
|
233
|
+
ownerState: o
|
|
234
|
+
}) => !!o.isRtl && o.touch,
|
|
234
235
|
style: {
|
|
235
236
|
[`.${p.popper}[data-popper-placement*="left"] &`]: {
|
|
236
237
|
marginLeft: "24px"
|
|
@@ -241,8 +242,8 @@ const fo = (r) => {
|
|
|
241
242
|
}
|
|
242
243
|
}, {
|
|
243
244
|
props: ({
|
|
244
|
-
ownerState:
|
|
245
|
-
}) =>
|
|
245
|
+
ownerState: o
|
|
246
|
+
}) => o.touch,
|
|
246
247
|
style: {
|
|
247
248
|
[`.${p.popper}[data-popper-placement*="top"] &`]: {
|
|
248
249
|
marginBottom: "24px"
|
|
@@ -250,18 +251,17 @@ const fo = (r) => {
|
|
|
250
251
|
}
|
|
251
252
|
}, {
|
|
252
253
|
props: ({
|
|
253
|
-
ownerState:
|
|
254
|
-
}) =>
|
|
254
|
+
ownerState: o
|
|
255
|
+
}) => o.touch,
|
|
255
256
|
style: {
|
|
256
257
|
[`.${p.popper}[data-popper-placement*="bottom"] &`]: {
|
|
257
258
|
marginTop: "24px"
|
|
258
259
|
}
|
|
259
260
|
}
|
|
260
261
|
}]
|
|
261
|
-
}))),
|
|
262
|
+
}))), To = A("span", {
|
|
262
263
|
name: "MuiTooltip",
|
|
263
|
-
slot: "Arrow"
|
|
264
|
-
overridesResolver: (r, e) => e.arrow
|
|
264
|
+
slot: "Arrow"
|
|
265
265
|
})(G(({
|
|
266
266
|
theme: r
|
|
267
267
|
}) => ({
|
|
@@ -270,7 +270,7 @@ const fo = (r) => {
|
|
|
270
270
|
width: "1em",
|
|
271
271
|
height: "0.71em",
|
|
272
272
|
boxSizing: "border-box",
|
|
273
|
-
color: r.vars ? r.vars.palette.Tooltip.bg :
|
|
273
|
+
color: r.vars ? r.vars.palette.Tooltip.bg : Re(r.palette.grey[700], 0.9),
|
|
274
274
|
"&::before": {
|
|
275
275
|
content: '""',
|
|
276
276
|
margin: "auto",
|
|
@@ -282,151 +282,158 @@ const fo = (r) => {
|
|
|
282
282
|
}
|
|
283
283
|
})));
|
|
284
284
|
let D = !1;
|
|
285
|
-
const
|
|
285
|
+
const we = new no();
|
|
286
286
|
let R = {
|
|
287
287
|
x: 0,
|
|
288
288
|
y: 0
|
|
289
289
|
};
|
|
290
|
-
function
|
|
290
|
+
function k(r, o) {
|
|
291
291
|
return (s, ...d) => {
|
|
292
|
-
|
|
292
|
+
o && o(s, ...d), r(s, ...d);
|
|
293
293
|
};
|
|
294
294
|
}
|
|
295
|
-
const
|
|
296
|
-
var ye, we, ve;
|
|
295
|
+
const Pe = /* @__PURE__ */ n.forwardRef(function(o, s) {
|
|
297
296
|
const d = eo({
|
|
298
|
-
props:
|
|
297
|
+
props: o,
|
|
299
298
|
name: "MuiTooltip"
|
|
300
299
|
}), {
|
|
301
|
-
arrow:
|
|
302
|
-
children:
|
|
300
|
+
arrow: P = !1,
|
|
301
|
+
children: T,
|
|
303
302
|
classes: q,
|
|
304
303
|
components: x = {},
|
|
305
|
-
componentsProps:
|
|
306
|
-
describeChild:
|
|
307
|
-
disableFocusListener:
|
|
304
|
+
componentsProps: C = {},
|
|
305
|
+
describeChild: xe = !1,
|
|
306
|
+
disableFocusListener: Ce = !1,
|
|
308
307
|
disableHoverListener: K = !1,
|
|
309
|
-
disableInteractive:
|
|
310
|
-
disableTouchListener:
|
|
308
|
+
disableInteractive: Me = !1,
|
|
309
|
+
disableTouchListener: Ee = !1,
|
|
311
310
|
enterDelay: X = 100,
|
|
312
311
|
enterNextDelay: J = 0,
|
|
313
|
-
enterTouchDelay:
|
|
312
|
+
enterTouchDelay: $e = 700,
|
|
314
313
|
followCursor: F = !1,
|
|
315
314
|
id: Se,
|
|
316
315
|
leaveDelay: Q = 0,
|
|
317
|
-
leaveTouchDelay:
|
|
316
|
+
leaveTouchDelay: Ne = 1500,
|
|
318
317
|
onClose: Z,
|
|
319
318
|
onOpen: ee,
|
|
320
319
|
open: oe,
|
|
321
320
|
placement: te = "bottom",
|
|
322
321
|
PopperComponent: re,
|
|
323
|
-
PopperProps:
|
|
324
|
-
slotProps:
|
|
325
|
-
slots:
|
|
326
|
-
title:
|
|
327
|
-
TransitionComponent:
|
|
328
|
-
TransitionProps:
|
|
322
|
+
PopperProps: f = {},
|
|
323
|
+
slotProps: h = {},
|
|
324
|
+
slots: Le = {},
|
|
325
|
+
title: g,
|
|
326
|
+
TransitionComponent: Ie,
|
|
327
|
+
TransitionProps: je,
|
|
329
328
|
...pe
|
|
330
|
-
} = d,
|
|
331
|
-
children:
|
|
332
|
-
}), ne = po(),
|
|
329
|
+
} = d, m = /* @__PURE__ */ n.isValidElement(T) ? T : /* @__PURE__ */ O("span", {
|
|
330
|
+
children: T
|
|
331
|
+
}), ne = po(), De = ro(), [a, se] = n.useState(), [U, ke] = n.useState(null), M = n.useRef(!1), W = Me || F, ae = j(), B = j(), E = j(), ie = j(), [Ae, le] = so({
|
|
333
332
|
controlled: oe,
|
|
334
333
|
default: !1,
|
|
335
334
|
name: "Tooltip",
|
|
336
335
|
state: "open"
|
|
337
336
|
});
|
|
338
|
-
let
|
|
337
|
+
let u = Ae;
|
|
339
338
|
if (process.env.NODE_ENV !== "production") {
|
|
340
339
|
const {
|
|
341
340
|
current: t
|
|
342
341
|
} = n.useRef(oe !== void 0);
|
|
343
342
|
n.useEffect(() => {
|
|
344
|
-
a && a.disabled && !t &&
|
|
343
|
+
a && a.disabled && !t && g !== "" && a.tagName.toLowerCase() === "button" && console.warn(["MUI: You are providing a disabled `button` child to the Tooltip component.", "A disabled element does not fire events.", "Tooltip needs to listen to the child element's events to display the title.", "", "Add a simple wrapper element, such as a `span`."].join(`
|
|
345
344
|
`));
|
|
346
|
-
}, [
|
|
345
|
+
}, [g, a, t]);
|
|
347
346
|
}
|
|
348
|
-
const V = ao(Se),
|
|
349
|
-
|
|
347
|
+
const V = ao(Se), y = n.useRef(), $ = Te(() => {
|
|
348
|
+
y.current !== void 0 && (document.body.style.WebkitUserSelect = y.current, y.current = void 0), ie.clear();
|
|
350
349
|
});
|
|
351
|
-
n.useEffect(() =>
|
|
350
|
+
n.useEffect(() => $, [$]);
|
|
352
351
|
const ce = (t) => {
|
|
353
|
-
|
|
354
|
-
},
|
|
352
|
+
we.clear(), D = !0, le(!0), ee && !u && ee(t);
|
|
353
|
+
}, S = Te(
|
|
355
354
|
/**
|
|
356
355
|
* @param {React.SyntheticEvent | Event} event
|
|
357
356
|
*/
|
|
358
357
|
(t) => {
|
|
359
|
-
|
|
358
|
+
we.start(800 + Q, () => {
|
|
360
359
|
D = !1;
|
|
361
|
-
}), le(!1), Z &&
|
|
360
|
+
}), le(!1), Z && u && Z(t), ae.start(ne.transitions.duration.shortest, () => {
|
|
362
361
|
M.current = !1;
|
|
363
362
|
});
|
|
364
363
|
}
|
|
365
|
-
),
|
|
366
|
-
M.current && t.type !== "touchstart" || (a && a.removeAttribute("title"), B.clear(),
|
|
364
|
+
), N = (t) => {
|
|
365
|
+
M.current && t.type !== "touchstart" || (a && a.removeAttribute("title"), B.clear(), E.clear(), X || D && J ? B.start(D ? J : X, () => {
|
|
367
366
|
ce(t);
|
|
368
367
|
}) : ce(t));
|
|
369
368
|
}, z = (t) => {
|
|
370
|
-
B.clear(),
|
|
371
|
-
|
|
369
|
+
B.clear(), E.start(Q, () => {
|
|
370
|
+
S(t);
|
|
372
371
|
});
|
|
373
|
-
}, [, me] = n.useState(!1),
|
|
374
|
-
|
|
375
|
-
},
|
|
376
|
-
a || se(t.currentTarget),
|
|
372
|
+
}, [, me] = n.useState(!1), ue = (t) => {
|
|
373
|
+
ye(t.target) || (me(!1), z(t));
|
|
374
|
+
}, de = (t) => {
|
|
375
|
+
a || se(t.currentTarget), ye(t.target) && (me(!0), N(t));
|
|
377
376
|
}, fe = (t) => {
|
|
378
377
|
M.current = !0;
|
|
379
|
-
const
|
|
380
|
-
|
|
381
|
-
},
|
|
382
|
-
fe(t),
|
|
383
|
-
document.body.style.WebkitUserSelect =
|
|
378
|
+
const c = m.props;
|
|
379
|
+
c.onTouchStart && c.onTouchStart(t);
|
|
380
|
+
}, Fe = (t) => {
|
|
381
|
+
fe(t), E.clear(), ae.clear(), $(), y.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ie.start($e, () => {
|
|
382
|
+
document.body.style.WebkitUserSelect = y.current, N(t);
|
|
384
383
|
});
|
|
385
|
-
},
|
|
386
|
-
|
|
387
|
-
|
|
384
|
+
}, Ue = (t) => {
|
|
385
|
+
m.props.onTouchEnd && m.props.onTouchEnd(t), $(), E.start(Ne, () => {
|
|
386
|
+
S(t);
|
|
388
387
|
});
|
|
389
388
|
};
|
|
390
389
|
n.useEffect(() => {
|
|
391
|
-
if (!
|
|
390
|
+
if (!u)
|
|
392
391
|
return;
|
|
393
|
-
function t(
|
|
394
|
-
|
|
392
|
+
function t(c) {
|
|
393
|
+
c.key === "Escape" && S(c);
|
|
395
394
|
}
|
|
396
395
|
return document.addEventListener("keydown", t), () => {
|
|
397
396
|
document.removeEventListener("keydown", t);
|
|
398
397
|
};
|
|
399
|
-
}, [
|
|
400
|
-
const
|
|
401
|
-
!
|
|
402
|
-
const _ = n.useRef(),
|
|
403
|
-
const
|
|
404
|
-
|
|
398
|
+
}, [S, u]);
|
|
399
|
+
const We = io(lo(m), se, s);
|
|
400
|
+
!g && g !== 0 && (u = !1);
|
|
401
|
+
const _ = n.useRef(), Be = (t) => {
|
|
402
|
+
const c = m.props;
|
|
403
|
+
c.onMouseMove && c.onMouseMove(t), R = {
|
|
405
404
|
x: t.clientX,
|
|
406
405
|
y: t.clientY
|
|
407
406
|
}, _.current && _.current.update();
|
|
408
|
-
},
|
|
409
|
-
|
|
407
|
+
}, w = {}, H = typeof g == "string";
|
|
408
|
+
xe ? (w.title = !u && H && !K ? g : null, w["aria-describedby"] = u ? V : null) : (w["aria-label"] = H ? g : null, w["aria-labelledby"] = u && !H ? V : null);
|
|
410
409
|
const i = {
|
|
411
|
-
...
|
|
410
|
+
...w,
|
|
412
411
|
...pe,
|
|
413
|
-
...
|
|
414
|
-
className:
|
|
412
|
+
...m.props,
|
|
413
|
+
className: be(pe.className, m.props.className),
|
|
415
414
|
onTouchStart: fe,
|
|
416
|
-
ref:
|
|
415
|
+
ref: We,
|
|
417
416
|
...F ? {
|
|
418
|
-
onMouseMove:
|
|
417
|
+
onMouseMove: Be
|
|
419
418
|
} : {}
|
|
420
419
|
};
|
|
421
420
|
process.env.NODE_ENV !== "production" && (i["data-mui-internal-clone-element"] = !0, n.useEffect(() => {
|
|
422
421
|
a && !a.getAttribute("data-mui-internal-clone-element") && console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.", "Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
423
422
|
`));
|
|
424
423
|
}, [a]));
|
|
425
|
-
const
|
|
426
|
-
|
|
424
|
+
const v = {};
|
|
425
|
+
Ee || (i.onTouchStart = Fe, i.onTouchEnd = Ue), K || (i.onMouseOver = k(N, i.onMouseOver), i.onMouseLeave = k(z, i.onMouseLeave), W || (v.onMouseOver = N, v.onMouseLeave = z)), Ce || (i.onFocus = k(de, i.onFocus), i.onBlur = k(ue, i.onBlur), W || (v.onFocus = de, v.onBlur = ue)), process.env.NODE_ENV !== "production" && m.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${m.props.title}\` or the Tooltip component.`].join(`
|
|
427
426
|
`));
|
|
428
|
-
const
|
|
429
|
-
|
|
427
|
+
const b = {
|
|
428
|
+
...d,
|
|
429
|
+
isRtl: De,
|
|
430
|
+
arrow: P,
|
|
431
|
+
disableInteractive: W,
|
|
432
|
+
placement: te,
|
|
433
|
+
PopperComponentProp: re,
|
|
434
|
+
touch: M.current
|
|
435
|
+
}, l = typeof h.popper == "function" ? h.popper(b) : h.popper, Ve = n.useMemo(() => {
|
|
436
|
+
var c, he;
|
|
430
437
|
let t = [{
|
|
431
438
|
name: "arrow",
|
|
432
439
|
enabled: !!U,
|
|
@@ -435,35 +442,56 @@ const Ne = /* @__PURE__ */ n.forwardRef(function(e, s) {
|
|
|
435
442
|
padding: 4
|
|
436
443
|
}
|
|
437
444
|
}];
|
|
438
|
-
return (
|
|
439
|
-
...
|
|
445
|
+
return (c = f.popperOptions) != null && c.modifiers && (t = t.concat(f.popperOptions.modifiers)), (he = l == null ? void 0 : l.popperOptions) != null && he.modifiers && (t = t.concat(l.popperOptions.modifiers)), {
|
|
446
|
+
...f.popperOptions,
|
|
447
|
+
...l == null ? void 0 : l.popperOptions,
|
|
440
448
|
modifiers: t
|
|
441
449
|
};
|
|
442
|
-
}, [U,
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
},
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
450
|
+
}, [U, f.popperOptions, l == null ? void 0 : l.popperOptions]), Y = ho(b), ze = typeof h.transition == "function" ? h.transition(b) : h.transition, L = {
|
|
451
|
+
slots: {
|
|
452
|
+
popper: x.Popper,
|
|
453
|
+
transition: x.Transition ?? Ie,
|
|
454
|
+
tooltip: x.Tooltip,
|
|
455
|
+
arrow: x.Arrow,
|
|
456
|
+
...Le
|
|
457
|
+
},
|
|
458
|
+
slotProps: {
|
|
459
|
+
arrow: h.arrow ?? C.arrow,
|
|
460
|
+
popper: {
|
|
461
|
+
...f,
|
|
462
|
+
...l ?? C.popper
|
|
463
|
+
},
|
|
464
|
+
// resolvedPopperProps can be spread because it's already an object
|
|
465
|
+
tooltip: h.tooltip ?? C.tooltip,
|
|
466
|
+
transition: {
|
|
467
|
+
...je,
|
|
468
|
+
...ze ?? C.transition
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
}, [_e, He] = I("popper", {
|
|
472
|
+
elementType: go,
|
|
473
|
+
externalForwardedProps: L,
|
|
474
|
+
ownerState: b,
|
|
475
|
+
className: be(Y.popper, f == null ? void 0 : f.className)
|
|
476
|
+
}), [Ye, Ge] = I("transition", {
|
|
477
|
+
elementType: mo,
|
|
478
|
+
externalForwardedProps: L,
|
|
479
|
+
ownerState: b
|
|
480
|
+
}), [qe, Ke] = I("tooltip", {
|
|
481
|
+
elementType: bo,
|
|
482
|
+
className: Y.tooltip,
|
|
483
|
+
externalForwardedProps: L,
|
|
484
|
+
ownerState: b
|
|
485
|
+
}), [Xe, Je] = I("arrow", {
|
|
486
|
+
elementType: To,
|
|
487
|
+
className: Y.arrow,
|
|
488
|
+
externalForwardedProps: L,
|
|
489
|
+
ownerState: b,
|
|
490
|
+
ref: ke
|
|
491
|
+
});
|
|
492
|
+
return /* @__PURE__ */ ge(n.Fragment, {
|
|
493
|
+
children: [/* @__PURE__ */ n.cloneElement(m, i), /* @__PURE__ */ O(_e, {
|
|
494
|
+
as: re ?? Oe,
|
|
467
495
|
placement: te,
|
|
468
496
|
anchorEl: F ? {
|
|
469
497
|
getBoundingClientRect: () => ({
|
|
@@ -476,30 +504,29 @@ const Ne = /* @__PURE__ */ n.forwardRef(function(e, s) {
|
|
|
476
504
|
})
|
|
477
505
|
} : a,
|
|
478
506
|
popperRef: _,
|
|
479
|
-
open: a ?
|
|
507
|
+
open: a ? u : !1,
|
|
480
508
|
id: V,
|
|
481
509
|
transition: !0,
|
|
482
|
-
...
|
|
483
|
-
...
|
|
484
|
-
popperOptions:
|
|
510
|
+
...v,
|
|
511
|
+
...He,
|
|
512
|
+
popperOptions: Ve,
|
|
485
513
|
children: ({
|
|
486
514
|
TransitionProps: t
|
|
487
|
-
}) => /* @__PURE__ */
|
|
515
|
+
}) => /* @__PURE__ */ O(Ye, {
|
|
488
516
|
timeout: ne.transitions.duration.shorter,
|
|
489
517
|
...t,
|
|
490
|
-
...
|
|
491
|
-
children: /* @__PURE__ */
|
|
492
|
-
...
|
|
493
|
-
children: [
|
|
494
|
-
...Je
|
|
495
|
-
ref: Be
|
|
518
|
+
...Ge,
|
|
519
|
+
children: /* @__PURE__ */ ge(qe, {
|
|
520
|
+
...Ke,
|
|
521
|
+
children: [g, P ? /* @__PURE__ */ O(Xe, {
|
|
522
|
+
...Je
|
|
496
523
|
}) : null]
|
|
497
524
|
})
|
|
498
525
|
})
|
|
499
526
|
})]
|
|
500
527
|
});
|
|
501
528
|
});
|
|
502
|
-
process.env.NODE_ENV !== "production" && (
|
|
529
|
+
process.env.NODE_ENV !== "production" && (Pe.propTypes = {
|
|
503
530
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
504
531
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
505
532
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -508,7 +535,7 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
508
535
|
* If `true`, adds an arrow to the tooltip.
|
|
509
536
|
* @default false
|
|
510
537
|
*/
|
|
511
|
-
arrow:
|
|
538
|
+
arrow: e.bool,
|
|
512
539
|
/**
|
|
513
540
|
* Tooltip reference element.
|
|
514
541
|
*/
|
|
@@ -516,188 +543,184 @@ process.env.NODE_ENV !== "production" && (Ne.propTypes = {
|
|
|
516
543
|
/**
|
|
517
544
|
* Override or extend the styles applied to the component.
|
|
518
545
|
*/
|
|
519
|
-
classes:
|
|
546
|
+
classes: e.object,
|
|
520
547
|
/**
|
|
521
548
|
* @ignore
|
|
522
549
|
*/
|
|
523
|
-
className:
|
|
550
|
+
className: e.string,
|
|
524
551
|
/**
|
|
525
552
|
* The components used for each slot inside.
|
|
526
553
|
*
|
|
527
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in
|
|
554
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
528
555
|
*
|
|
529
556
|
* @default {}
|
|
530
557
|
*/
|
|
531
|
-
components:
|
|
532
|
-
Arrow:
|
|
533
|
-
Popper:
|
|
534
|
-
Tooltip:
|
|
535
|
-
Transition:
|
|
558
|
+
components: e.shape({
|
|
559
|
+
Arrow: e.elementType,
|
|
560
|
+
Popper: e.elementType,
|
|
561
|
+
Tooltip: e.elementType,
|
|
562
|
+
Transition: e.elementType
|
|
536
563
|
}),
|
|
537
564
|
/**
|
|
538
565
|
* The extra props for the slot components.
|
|
539
566
|
* You can override the existing props or add new ones.
|
|
540
567
|
*
|
|
541
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in
|
|
568
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
542
569
|
*
|
|
543
570
|
* @default {}
|
|
544
571
|
*/
|
|
545
|
-
componentsProps:
|
|
546
|
-
arrow:
|
|
547
|
-
popper:
|
|
548
|
-
tooltip:
|
|
549
|
-
transition:
|
|
572
|
+
componentsProps: e.shape({
|
|
573
|
+
arrow: e.object,
|
|
574
|
+
popper: e.object,
|
|
575
|
+
tooltip: e.object,
|
|
576
|
+
transition: e.object
|
|
550
577
|
}),
|
|
551
578
|
/**
|
|
552
579
|
* Set to `true` if the `title` acts as an accessible description.
|
|
553
580
|
* By default the `title` acts as an accessible label for the child.
|
|
554
581
|
* @default false
|
|
555
582
|
*/
|
|
556
|
-
describeChild:
|
|
583
|
+
describeChild: e.bool,
|
|
557
584
|
/**
|
|
558
585
|
* Do not respond to focus-visible events.
|
|
559
586
|
* @default false
|
|
560
587
|
*/
|
|
561
|
-
disableFocusListener:
|
|
588
|
+
disableFocusListener: e.bool,
|
|
562
589
|
/**
|
|
563
590
|
* Do not respond to hover events.
|
|
564
591
|
* @default false
|
|
565
592
|
*/
|
|
566
|
-
disableHoverListener:
|
|
593
|
+
disableHoverListener: e.bool,
|
|
567
594
|
/**
|
|
568
595
|
* Makes a tooltip not interactive, i.e. it will close when the user
|
|
569
596
|
* hovers over the tooltip before the `leaveDelay` is expired.
|
|
570
597
|
* @default false
|
|
571
598
|
*/
|
|
572
|
-
disableInteractive:
|
|
599
|
+
disableInteractive: e.bool,
|
|
573
600
|
/**
|
|
574
601
|
* Do not respond to long press touch events.
|
|
575
602
|
* @default false
|
|
576
603
|
*/
|
|
577
|
-
disableTouchListener:
|
|
604
|
+
disableTouchListener: e.bool,
|
|
578
605
|
/**
|
|
579
606
|
* The number of milliseconds to wait before showing the tooltip.
|
|
580
607
|
* This prop won't impact the enter touch delay (`enterTouchDelay`).
|
|
581
608
|
* @default 100
|
|
582
609
|
*/
|
|
583
|
-
enterDelay:
|
|
610
|
+
enterDelay: e.number,
|
|
584
611
|
/**
|
|
585
612
|
* The number of milliseconds to wait before showing the tooltip when one was already recently opened.
|
|
586
613
|
* @default 0
|
|
587
614
|
*/
|
|
588
|
-
enterNextDelay:
|
|
615
|
+
enterNextDelay: e.number,
|
|
589
616
|
/**
|
|
590
617
|
* The number of milliseconds a user must touch the element before showing the tooltip.
|
|
591
618
|
* @default 700
|
|
592
619
|
*/
|
|
593
|
-
enterTouchDelay:
|
|
620
|
+
enterTouchDelay: e.number,
|
|
594
621
|
/**
|
|
595
622
|
* If `true`, the tooltip follow the cursor over the wrapped element.
|
|
596
623
|
* @default false
|
|
597
624
|
*/
|
|
598
|
-
followCursor:
|
|
625
|
+
followCursor: e.bool,
|
|
599
626
|
/**
|
|
600
627
|
* This prop is used to help implement the accessibility logic.
|
|
601
628
|
* If you don't provide this prop. It falls back to a randomly generated id.
|
|
602
629
|
*/
|
|
603
|
-
id:
|
|
630
|
+
id: e.string,
|
|
604
631
|
/**
|
|
605
632
|
* The number of milliseconds to wait before hiding the tooltip.
|
|
606
633
|
* This prop won't impact the leave touch delay (`leaveTouchDelay`).
|
|
607
634
|
* @default 0
|
|
608
635
|
*/
|
|
609
|
-
leaveDelay:
|
|
636
|
+
leaveDelay: e.number,
|
|
610
637
|
/**
|
|
611
638
|
* The number of milliseconds after the user stops touching an element before hiding the tooltip.
|
|
612
639
|
* @default 1500
|
|
613
640
|
*/
|
|
614
|
-
leaveTouchDelay:
|
|
641
|
+
leaveTouchDelay: e.number,
|
|
615
642
|
/**
|
|
616
643
|
* Callback fired when the component requests to be closed.
|
|
617
644
|
*
|
|
618
645
|
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
619
646
|
*/
|
|
620
|
-
onClose:
|
|
647
|
+
onClose: e.func,
|
|
621
648
|
/**
|
|
622
649
|
* Callback fired when the component requests to be open.
|
|
623
650
|
*
|
|
624
651
|
* @param {React.SyntheticEvent} event The event source of the callback.
|
|
625
652
|
*/
|
|
626
|
-
onOpen:
|
|
653
|
+
onOpen: e.func,
|
|
627
654
|
/**
|
|
628
655
|
* If `true`, the component is shown.
|
|
629
656
|
*/
|
|
630
|
-
open:
|
|
657
|
+
open: e.bool,
|
|
631
658
|
/**
|
|
632
659
|
* Tooltip placement.
|
|
633
660
|
* @default 'bottom'
|
|
634
661
|
*/
|
|
635
|
-
placement:
|
|
662
|
+
placement: e.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
636
663
|
/**
|
|
637
664
|
* The component used for the popper.
|
|
638
|
-
* @
|
|
665
|
+
* @deprecated use the `slots.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
639
666
|
*/
|
|
640
|
-
PopperComponent:
|
|
667
|
+
PopperComponent: e.elementType,
|
|
641
668
|
/**
|
|
642
669
|
* Props applied to the [`Popper`](https://mui.com/material-ui/api/popper/) element.
|
|
670
|
+
* @deprecated use the `slotProps.popper` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
643
671
|
* @default {}
|
|
644
672
|
*/
|
|
645
|
-
PopperProps:
|
|
673
|
+
PopperProps: e.object,
|
|
646
674
|
/**
|
|
647
|
-
* The
|
|
648
|
-
* You can override the existing props or add new ones.
|
|
649
|
-
*
|
|
650
|
-
* This prop is an alias for the `componentsProps` prop, which will be deprecated in the future.
|
|
651
|
-
*
|
|
675
|
+
* The props used for each slot inside.
|
|
652
676
|
* @default {}
|
|
653
677
|
*/
|
|
654
|
-
slotProps:
|
|
655
|
-
arrow:
|
|
656
|
-
popper:
|
|
657
|
-
tooltip:
|
|
658
|
-
transition:
|
|
678
|
+
slotProps: e.shape({
|
|
679
|
+
arrow: e.oneOfType([e.func, e.object]),
|
|
680
|
+
popper: e.oneOfType([e.func, e.object]),
|
|
681
|
+
tooltip: e.oneOfType([e.func, e.object]),
|
|
682
|
+
transition: e.oneOfType([e.func, e.object])
|
|
659
683
|
}),
|
|
660
684
|
/**
|
|
661
685
|
* The components used for each slot inside.
|
|
662
|
-
*
|
|
663
|
-
* This prop is an alias for the `components` prop, which will be deprecated in the future.
|
|
664
|
-
*
|
|
665
686
|
* @default {}
|
|
666
687
|
*/
|
|
667
|
-
slots:
|
|
668
|
-
arrow:
|
|
669
|
-
popper:
|
|
670
|
-
tooltip:
|
|
671
|
-
transition:
|
|
688
|
+
slots: e.shape({
|
|
689
|
+
arrow: e.elementType,
|
|
690
|
+
popper: e.elementType,
|
|
691
|
+
tooltip: e.elementType,
|
|
692
|
+
transition: e.elementType
|
|
672
693
|
}),
|
|
673
694
|
/**
|
|
674
695
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
675
696
|
*/
|
|
676
|
-
sx:
|
|
697
|
+
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
677
698
|
/**
|
|
678
699
|
* Tooltip title. Zero-length titles string, undefined, null and false are never displayed.
|
|
679
700
|
*/
|
|
680
|
-
title:
|
|
701
|
+
title: e.node,
|
|
681
702
|
/**
|
|
682
703
|
* The component used for the transition.
|
|
683
704
|
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component.
|
|
684
|
-
* @
|
|
705
|
+
* @deprecated use the `slots.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
685
706
|
*/
|
|
686
|
-
TransitionComponent:
|
|
707
|
+
TransitionComponent: e.elementType,
|
|
687
708
|
/**
|
|
688
709
|
* Props applied to the transition element.
|
|
689
710
|
* By default, the element is based on this [`Transition`](https://reactcommunity.org/react-transition-group/transition/) component.
|
|
711
|
+
* @deprecated use the `slotProps.transition` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
|
712
|
+
* @default {}
|
|
690
713
|
*/
|
|
691
|
-
TransitionProps:
|
|
714
|
+
TransitionProps: e.object
|
|
692
715
|
});
|
|
693
|
-
const
|
|
694
|
-
Qe.forwardRef((r,
|
|
695
|
-
|
|
716
|
+
const Do = A(
|
|
717
|
+
Qe.forwardRef((r, o) => /* @__PURE__ */ O(
|
|
718
|
+
Pe,
|
|
696
719
|
{
|
|
697
720
|
enterTouchDelay: 0,
|
|
698
721
|
...r,
|
|
699
722
|
arrow: !0,
|
|
700
|
-
ref:
|
|
723
|
+
ref: o,
|
|
701
724
|
classes: { popper: r.className }
|
|
702
725
|
}
|
|
703
726
|
))
|
|
@@ -710,6 +733,6 @@ const jo = k(
|
|
|
710
733
|
}
|
|
711
734
|
}));
|
|
712
735
|
export {
|
|
713
|
-
|
|
714
|
-
|
|
736
|
+
Do as M,
|
|
737
|
+
Pe as T
|
|
715
738
|
};
|