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
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
import * as s from "react";
|
|
2
|
-
import { g as L, b as D, P as e } from "./createTheme-CD19zQB7.js";
|
|
3
|
-
import { c as _ } from "./clsx-BTaloaeC.js";
|
|
4
|
-
import { F as $ } from "./useFormControl-CatNKXAi.js";
|
|
5
|
-
import { g as j } from "./generateUtilityClasses-BRiE4Guh.js";
|
|
6
|
-
import { jsx as I } from "react/jsx-runtime";
|
|
7
|
-
import { s as G, u as H, c as J } from "./DefaultPropsProvider-oAu9El-f.js";
|
|
8
|
-
import { i as v } from "./isMuiElement-DnSE4qG4.js";
|
|
9
|
-
function le({
|
|
10
|
-
props: o,
|
|
11
|
-
states: t,
|
|
12
|
-
muiFormControl: n
|
|
13
|
-
}) {
|
|
14
|
-
return t.reduce((i, r) => (i[r] = o[r], n && typeof o[r] > "u" && (i[r] = n[r]), i), {});
|
|
15
|
-
}
|
|
16
|
-
function R(o) {
|
|
17
|
-
return o != null && !(Array.isArray(o) && o.length === 0);
|
|
18
|
-
}
|
|
19
|
-
function B(o, t = !1) {
|
|
20
|
-
return o && (R(o.value) && o.value !== "" || t && R(o.defaultValue) && o.defaultValue !== "");
|
|
21
|
-
}
|
|
22
|
-
function K(o) {
|
|
23
|
-
return o.startAdornment;
|
|
24
|
-
}
|
|
25
|
-
function Q(o) {
|
|
26
|
-
return L("MuiFormControl", o);
|
|
27
|
-
}
|
|
28
|
-
j("MuiFormControl", ["root", "marginNone", "marginNormal", "marginDense", "fullWidth", "disabled"]);
|
|
29
|
-
const X = (o) => {
|
|
30
|
-
const {
|
|
31
|
-
classes: t,
|
|
32
|
-
margin: n,
|
|
33
|
-
fullWidth: i
|
|
34
|
-
} = o, r = {
|
|
35
|
-
root: ["root", n !== "none" && `margin${D(n)}`, i && "fullWidth"]
|
|
36
|
-
};
|
|
37
|
-
return J(r, Q, t);
|
|
38
|
-
}, Y = G("div", {
|
|
39
|
-
name: "MuiFormControl",
|
|
40
|
-
slot: "Root",
|
|
41
|
-
overridesResolver: (o, t) => {
|
|
42
|
-
const {
|
|
43
|
-
ownerState: n
|
|
44
|
-
} = o;
|
|
45
|
-
return [t.root, t[`margin${D(n.margin)}`], n.fullWidth && t.fullWidth];
|
|
46
|
-
}
|
|
47
|
-
})({
|
|
48
|
-
display: "inline-flex",
|
|
49
|
-
flexDirection: "column",
|
|
50
|
-
position: "relative",
|
|
51
|
-
// Reset fieldset default style.
|
|
52
|
-
minWidth: 0,
|
|
53
|
-
padding: 0,
|
|
54
|
-
margin: 0,
|
|
55
|
-
border: 0,
|
|
56
|
-
verticalAlign: "top",
|
|
57
|
-
// Fix alignment issue on Safari.
|
|
58
|
-
variants: [{
|
|
59
|
-
props: {
|
|
60
|
-
margin: "normal"
|
|
61
|
-
},
|
|
62
|
-
style: {
|
|
63
|
-
marginTop: 16,
|
|
64
|
-
marginBottom: 8
|
|
65
|
-
}
|
|
66
|
-
}, {
|
|
67
|
-
props: {
|
|
68
|
-
margin: "dense"
|
|
69
|
-
},
|
|
70
|
-
style: {
|
|
71
|
-
marginTop: 8,
|
|
72
|
-
marginBottom: 4
|
|
73
|
-
}
|
|
74
|
-
}, {
|
|
75
|
-
props: {
|
|
76
|
-
fullWidth: !0
|
|
77
|
-
},
|
|
78
|
-
style: {
|
|
79
|
-
width: "100%"
|
|
80
|
-
}
|
|
81
|
-
}]
|
|
82
|
-
}), Z = /* @__PURE__ */ s.forwardRef(function(t, n) {
|
|
83
|
-
const i = H({
|
|
84
|
-
props: t,
|
|
85
|
-
name: "MuiFormControl"
|
|
86
|
-
}), {
|
|
87
|
-
children: r,
|
|
88
|
-
className: P,
|
|
89
|
-
color: f = "primary",
|
|
90
|
-
component: b = "div",
|
|
91
|
-
disabled: a = !1,
|
|
92
|
-
error: d = !1,
|
|
93
|
-
focused: S,
|
|
94
|
-
fullWidth: c = !1,
|
|
95
|
-
hiddenLabel: m = !1,
|
|
96
|
-
margin: U = "none",
|
|
97
|
-
required: p = !1,
|
|
98
|
-
size: g = "medium",
|
|
99
|
-
variant: y = "outlined",
|
|
100
|
-
...V
|
|
101
|
-
} = i, O = {
|
|
102
|
-
...i,
|
|
103
|
-
color: f,
|
|
104
|
-
component: b,
|
|
105
|
-
disabled: a,
|
|
106
|
-
error: d,
|
|
107
|
-
fullWidth: c,
|
|
108
|
-
hiddenLabel: m,
|
|
109
|
-
margin: U,
|
|
110
|
-
required: p,
|
|
111
|
-
size: g,
|
|
112
|
-
variant: y
|
|
113
|
-
}, z = X(O), [T, k] = s.useState(() => {
|
|
114
|
-
let u = !1;
|
|
115
|
-
return r && s.Children.forEach(r, (l) => {
|
|
116
|
-
if (!v(l, ["Input", "Select"]))
|
|
117
|
-
return;
|
|
118
|
-
const w = v(l, ["Select"]) ? l.props.input : l;
|
|
119
|
-
w && K(w.props) && (u = !0);
|
|
120
|
-
}), u;
|
|
121
|
-
}), [E, N] = s.useState(() => {
|
|
122
|
-
let u = !1;
|
|
123
|
-
return r && s.Children.forEach(r, (l) => {
|
|
124
|
-
v(l, ["Input", "Select"]) && (B(l.props, !0) || B(l.props.inputProps, !0)) && (u = !0);
|
|
125
|
-
}), u;
|
|
126
|
-
}), [W, h] = s.useState(!1);
|
|
127
|
-
a && W && h(!1);
|
|
128
|
-
const x = S !== void 0 && !a ? S : W;
|
|
129
|
-
let C;
|
|
130
|
-
const F = s.useRef(!1);
|
|
131
|
-
process.env.NODE_ENV !== "production" && (C = () => (F.current && console.error(["MUI: There are multiple `InputBase` components inside a FormControl.", "This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
132
|
-
`)), F.current = !0, () => {
|
|
133
|
-
F.current = !1;
|
|
134
|
-
}));
|
|
135
|
-
const A = s.useCallback(() => {
|
|
136
|
-
N(!0);
|
|
137
|
-
}, []), M = s.useCallback(() => {
|
|
138
|
-
N(!1);
|
|
139
|
-
}, []), q = s.useMemo(() => ({
|
|
140
|
-
adornedStart: T,
|
|
141
|
-
setAdornedStart: k,
|
|
142
|
-
color: f,
|
|
143
|
-
disabled: a,
|
|
144
|
-
error: d,
|
|
145
|
-
filled: E,
|
|
146
|
-
focused: x,
|
|
147
|
-
fullWidth: c,
|
|
148
|
-
hiddenLabel: m,
|
|
149
|
-
size: g,
|
|
150
|
-
onBlur: () => {
|
|
151
|
-
h(!1);
|
|
152
|
-
},
|
|
153
|
-
onFocus: () => {
|
|
154
|
-
h(!0);
|
|
155
|
-
},
|
|
156
|
-
onEmpty: M,
|
|
157
|
-
onFilled: A,
|
|
158
|
-
registerEffect: C,
|
|
159
|
-
required: p,
|
|
160
|
-
variant: y
|
|
161
|
-
}), [T, f, a, d, E, x, c, m, C, M, A, p, g, y]);
|
|
162
|
-
return /* @__PURE__ */ I($.Provider, {
|
|
163
|
-
value: q,
|
|
164
|
-
children: /* @__PURE__ */ I(Y, {
|
|
165
|
-
as: b,
|
|
166
|
-
ownerState: O,
|
|
167
|
-
className: _(z.root, P),
|
|
168
|
-
ref: n,
|
|
169
|
-
...V,
|
|
170
|
-
children: r
|
|
171
|
-
})
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
process.env.NODE_ENV !== "production" && (Z.propTypes = {
|
|
175
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
176
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
177
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
178
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
179
|
-
/**
|
|
180
|
-
* The content of the component.
|
|
181
|
-
*/
|
|
182
|
-
children: e.node,
|
|
183
|
-
/**
|
|
184
|
-
* Override or extend the styles applied to the component.
|
|
185
|
-
*/
|
|
186
|
-
classes: e.object,
|
|
187
|
-
/**
|
|
188
|
-
* @ignore
|
|
189
|
-
*/
|
|
190
|
-
className: e.string,
|
|
191
|
-
/**
|
|
192
|
-
* The color of the component.
|
|
193
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
194
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
195
|
-
* @default 'primary'
|
|
196
|
-
*/
|
|
197
|
-
color: e.oneOfType([e.oneOf(["primary", "secondary", "error", "info", "success", "warning"]), e.string]),
|
|
198
|
-
/**
|
|
199
|
-
* The component used for the root node.
|
|
200
|
-
* Either a string to use a HTML element or a component.
|
|
201
|
-
*/
|
|
202
|
-
component: e.elementType,
|
|
203
|
-
/**
|
|
204
|
-
* If `true`, the label, input and helper text should be displayed in a disabled state.
|
|
205
|
-
* @default false
|
|
206
|
-
*/
|
|
207
|
-
disabled: e.bool,
|
|
208
|
-
/**
|
|
209
|
-
* If `true`, the label is displayed in an error state.
|
|
210
|
-
* @default false
|
|
211
|
-
*/
|
|
212
|
-
error: e.bool,
|
|
213
|
-
/**
|
|
214
|
-
* If `true`, the component is displayed in focused state.
|
|
215
|
-
*/
|
|
216
|
-
focused: e.bool,
|
|
217
|
-
/**
|
|
218
|
-
* If `true`, the component will take up the full width of its container.
|
|
219
|
-
* @default false
|
|
220
|
-
*/
|
|
221
|
-
fullWidth: e.bool,
|
|
222
|
-
/**
|
|
223
|
-
* If `true`, the label is hidden.
|
|
224
|
-
* This is used to increase density for a `FilledInput`.
|
|
225
|
-
* Be sure to add `aria-label` to the `input` element.
|
|
226
|
-
* @default false
|
|
227
|
-
*/
|
|
228
|
-
hiddenLabel: e.bool,
|
|
229
|
-
/**
|
|
230
|
-
* If `dense` or `normal`, will adjust vertical spacing of this and contained components.
|
|
231
|
-
* @default 'none'
|
|
232
|
-
*/
|
|
233
|
-
margin: e.oneOf(["dense", "none", "normal"]),
|
|
234
|
-
/**
|
|
235
|
-
* If `true`, the label will indicate that the `input` is required.
|
|
236
|
-
* @default false
|
|
237
|
-
*/
|
|
238
|
-
required: e.bool,
|
|
239
|
-
/**
|
|
240
|
-
* The size of the component.
|
|
241
|
-
* @default 'medium'
|
|
242
|
-
*/
|
|
243
|
-
size: e.oneOfType([e.oneOf(["medium", "small"]), e.string]),
|
|
244
|
-
/**
|
|
245
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
246
|
-
*/
|
|
247
|
-
sx: e.oneOfType([e.arrayOf(e.oneOfType([e.func, e.object, e.bool])), e.func, e.object]),
|
|
248
|
-
/**
|
|
249
|
-
* The variant to use.
|
|
250
|
-
* @default 'outlined'
|
|
251
|
-
*/
|
|
252
|
-
variant: e.oneOf(["filled", "outlined", "standard"])
|
|
253
|
-
});
|
|
254
|
-
export {
|
|
255
|
-
Z as F,
|
|
256
|
-
le as f,
|
|
257
|
-
B as i
|
|
258
|
-
};
|