@blockend/widget 1.0.61-beta.6 → 1.0.62
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/{AllRoutes-Cxr3Nkrq.js → AllRoutes-pT_GYhLz.js} +198 -201
- package/dist/{Box-PCm99lPs.js → Box-CMXImt80.js} +1 -1
- package/dist/{EstGas-DAqnmtXg.js → EstGas-BEwQc47B.js} +802 -922
- package/dist/{Grow-PUq8zLdG.js → Grow-CYJk-72r.js} +192 -196
- package/dist/{InputComp-Cpbiu4nw.js → InputComp-B0QgFbsj.js} +3 -3
- package/dist/{LoadRoute-DMvruPxQ.js → LoadRoute-I--KmXYZ.js} +4 -4
- package/dist/{QuotesProgress-B8gCi4mg.js → QuotesProgress-Ct53CRUU.js} +1 -1
- package/dist/{SwapAsset-LXjTHOyg.js → SwapAsset-X7gAsFxL.js} +1 -1
- package/dist/{Tooltip-BBzQ_Niy.js → Tooltip-CsxhxDbM.js} +6 -9
- package/dist/{TxnButton-CzynEgC-.js → TxnButton-BZf2lfxu.js} +62 -65
- package/dist/{add-Dy5-Nff0.js → add-fqHpy_n_.js} +1 -1
- package/dist/{all-wallets-jwMVTU0s.js → all-wallets-BEiHad26.js} +1 -1
- package/dist/{app-store-DEcg75wd.js → app-store-BUrtll4M.js} +1 -1
- package/dist/{apple-C3gcxaZN.js → apple-DeP0r4ax.js} +1 -1
- package/dist/{arrow-bottom-Dz-dufK1.js → arrow-bottom-DOUsYrpS.js} +1 -1
- package/dist/{arrow-bottom-circle-CbmTfpof.js → arrow-bottom-circle-3zt0oM9l.js} +1 -1
- package/dist/{arrow-left-MSV3EbO3.js → arrow-left-CZi8gizN.js} +1 -1
- package/dist/{arrow-right-BIh4_fkF.js → arrow-right-Bp2k-sRU.js} +1 -1
- package/dist/{arrow-top-BKC3U-ao.js → arrow-top-Bdu-g3eb.js} +1 -1
- package/dist/{bank-DBtyASC7.js → bank-UM_6-xYg.js} +1 -1
- package/dist/{basic-BgV8RQ-A.js → basic-CfaJcj31.js} +4 -4
- package/dist/{browser-DC9IClot.js → browser-DE4dHUIn.js} +1 -1
- package/dist/{card-BT6koHhk.js → card-CpV_uFyN.js} +1 -1
- package/dist/{ccip-3LoUUUH-.js → ccip-CA2a9SDo.js} +1 -1
- package/dist/{checkmark-DSeqDz_Y.js → checkmark-CK8NZa3x.js} +1 -1
- package/dist/{checkmark-bold-BIkQqCzJ.js → checkmark-bold-DgI_WWpK.js} +1 -1
- package/dist/{chevron-bottom-CBXmsDV5.js → chevron-bottom-C_3_Lg-x.js} +1 -1
- package/dist/{chevron-left-DhVqX1hi.js → chevron-left-Dn-8RUKj.js} +1 -1
- package/dist/{chevron-right-B3rsG14_.js → chevron-right-BrzGCKbe.js} +1 -1
- package/dist/{chevron-top-BEjzOADe.js → chevron-top-DH4uxqMd.js} +1 -1
- package/dist/{chrome-store-DRLnmUBT.js → chrome-store-C6ftVKRM.js} +1 -1
- package/dist/{clock-eV75Aej3.js → clock-BMAqcMX9.js} +1 -1
- package/dist/{close-zdZMwNem.js → close-B99wQvJ_.js} +1 -1
- package/dist/{coinPlaceholder-CDI_BOjw.js → coinPlaceholder-DmuYNsmb.js} +1 -1
- package/dist/{compass-VmDWLUk0.js → compass-C4wdl146.js} +1 -1
- package/dist/{copy-BPf4wDQR.js → copy-DMJQyfJj.js} +1 -1
- package/dist/{core-FKJijvR4.js → core-v6ho39ji.js} +324 -390
- package/dist/{cursor-DyqcSARn.js → cursor-C-0knOkC.js} +1 -1
- package/dist/{cursor-transparent-BYUs3PjC.js → cursor-transparent-BLuqOo6k.js} +1 -1
- package/dist/{desktop-ajSWZf14.js → desktop-DpJrO84H.js} +1 -1
- package/dist/{disconnect-CesQDkW7.js → disconnect-k6w6zlk-.js} +1 -1
- package/dist/{discord-DRpBdD6a.js → discord-DLgkGibC.js} +1 -1
- package/dist/{down-BvpSLqv4.js → down-C4N-wh2D.js} +3 -4
- package/dist/{etherscan-T2x0uGqy.js → etherscan-DJTxjIAP.js} +1 -1
- package/dist/{exclamation-triangle-jiEvqZCt.js → exclamation-triangle-B1YdY5CX.js} +1 -1
- package/dist/{extension-VNmHHnl3.js → extension-CnhByDAh.js} +1 -1
- package/dist/{external-link-C1cNXEY_.js → external-link-CZmI3Q92.js} +1 -1
- package/dist/{facebook-BMo02i5k.js → facebook-CRHPGcBq.js} +1 -1
- package/dist/{farcaster-DGe5MIGO.js → farcaster-BYs6AvgJ.js} +1 -1
- package/dist/{filters-CUJYlRnZ.js → filters-BqJFiFCl.js} +1 -1
- package/dist/{getChainIds-D11guRHs.js → getChainIds-CPQkM2Fw.js} +4 -6
- package/dist/{getCosmosAddress-DgfHG7Hd.js → getCosmosAddress-CrzIqoe8.js} +2304 -2370
- package/dist/{github-Cs2pYb7C.js → github-WI_fsQyX.js} +1 -1
- package/dist/{google-DHT6lJFv.js → google-PDPeuX25.js} +1 -1
- package/dist/{hamburger-Yws20Vz4.js → hamburger-JHCSR4wq.js} +427 -436
- package/dist/{help-circle-DgP-m-Uz.js → help-circle-CC1LutMp.js} +1 -1
- package/dist/{id-B_EdR-1o.js → id-Dg4qm85K.js} +1 -1
- package/dist/{image-Cj7amYSJ.js → image-DvH3pCRi.js} +1 -1
- package/dist/{index-HFb_3Q0W.js → index-4DGqOb0b.js} +1 -1
- package/dist/{index-CWhe50Ec.js → index-BAjx9Sij.js} +451 -451
- package/dist/{index-D2IU_xeZ.js → index-BII8gr4h.js} +1134 -1151
- package/dist/{index-SFtx8RRR.js → index-Bl06WOfD.js} +14 -19
- package/dist/{index-BxH9oOBu.js → index-BrgwPS_u.js} +21 -32
- package/dist/{index-BXD_AzIx.js → index-ByNEeX9y.js} +1 -1
- package/dist/{index-BMBfrbLJ.js → index-CBMjkxpP.js} +5034 -5110
- package/dist/{index-BLrg6aM7.js → index-D8oYLVSL.js} +2 -2
- package/dist/{index-Bl2UpALc.js → index-DTish3yr.js} +1 -3
- package/dist/{index-mhA4TOGx.js → index-DbOqrlxW.js} +4 -4
- package/dist/{index-tEVjSKpt.js → index-Mqg8CWuX.js} +18 -32
- package/dist/{index-_c95MH6R.js → index-qIeZpXcg.js} +78 -78
- package/dist/{index.es-Cf2P8B_E.js → index.es-DV8y1ve_.js} +958 -978
- package/dist/{index.es-svtwMaZq.js → index.es-DkTmjrB8.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-Cp9JCjqN.js → info-Cjmzqm5P.js} +1 -1
- package/dist/{info-circle-DRaVj-ap.js → info-circle-Dimf4UPG.js} +1 -1
- package/dist/{lightbulb-CsW2vktv.js → lightbulb-BsZjMPbK.js} +1 -1
- package/dist/{mail-CWnCoK8z.js → mail-KNgNgUMG.js} +1 -1
- package/dist/{mobile-CA14tPHx.js → mobile-hJMru58F.js} +1 -1
- package/dist/{more-QAxcbEKq.js → more-B1Hz9ISJ.js} +1 -1
- package/dist/{network-placeholder-TIBJyj_I.js → network-placeholder-Ba37-PVe.js} +1 -1
- package/dist/{nftPlaceholder-CjKZ96cX.js → nftPlaceholder-Br6ZCUyX.js} +1 -1
- package/dist/{off-pDtmSFmO.js → off-DZv0f5qk.js} +1 -1
- package/dist/{play-store-CSc6NscT.js → play-store-PVT99oFp.js} +1 -1
- package/dist/{plus-C_Utdahs.js → plus-0JhMk1yC.js} +1 -1
- package/dist/{qr-code-DyK3HPLw.js → qr-code-CYMnN7H6.js} +1 -1
- package/dist/{recycle-horizontal-B2PCZE0j.js → recycle-horizontal-BODX35XL.js} +1 -1
- package/dist/{refresh-DCyPlTQE.js → refresh-KT2nzf4V.js} +1 -1
- package/dist/{reown-logo-BZtSC222.js → reown-logo-x-a1ehju.js} +1 -1
- package/dist/{search-zmw8hnGf.js → search-floOYVWE.js} +1 -1
- package/dist/{send-qpVD_BnX.js → send-rBEZNvkT.js} +1 -1
- package/dist/{swapHorizontal-DeiTZysc.js → swapHorizontal-FpW50anF.js} +1 -1
- package/dist/{swapHorizontalBold-DxXPoYvj.js → swapHorizontalBold-DJo2s6QM.js} +1 -1
- package/dist/{swapHorizontalMedium-Bk5t746S.js → swapHorizontalMedium-AdMIxAQ-.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-BKNTjAMS.js → swapHorizontalRoundedBold-DB7VaS-l.js} +1 -1
- package/dist/{swapVertical-BgErJn7M.js → swapVertical-CStjk8mq.js} +1 -1
- package/dist/{telegram-DLZsj0GL.js → telegram-B7o9hZwP.js} +1 -1
- package/dist/{three-dots-C639cevE.js → three-dots-DogTUFsH.js} +1 -1
- package/dist/{twitch-BjX2MWAc.js → twitch-B_TRhhNU.js} +1 -1
- package/dist/{twitterIcon-_EGscQMD.js → twitterIcon-ujuPKvRN.js} +1 -1
- package/dist/{unsupportedProp-qsTU86qU.js → unsupportedProp-BC6azYXA.js} +1 -1
- package/dist/useRegisterError-DMILz6N1.js +8918 -0
- package/dist/{verify-B9nCXXUk.js → verify-BRWSwLhn.js} +1 -1
- package/dist/{verify-filled-Cfe5su-B.js → verify-filled-z7UoRJXn.js} +1 -1
- package/dist/{w3m-modal-pIdI-nLd.js → w3m-modal-CuXPdser.js} +2 -2
- package/dist/{wallet-BLNq3D4p.js → wallet-BMFvv3DF.js} +1 -1
- package/dist/{wallet-placeholder-DNL9SHUB.js → wallet-placeholder-DFg6CZXP.js} +1 -1
- package/dist/{walletconnect-B8OExIGD.js → walletconnect-WSdSSZfM.js} +1 -1
- package/dist/{warning-circle-CbRvsp3p.js → warning-circle-BDW9xnhM.js} +1 -1
- package/dist/widget.css +1 -1
- package/dist/{x-Booefzx8.js → x-DUDktTjC.js} +1 -1
- package/package.json +1 -1
- package/dist/AdvancedSettings-D7odvw7r.js +0 -47
- package/dist/useRegisterError-B1CjkI-p.js +0 -8923
@@ -1,14 +1,14 @@
|
|
1
1
|
import { jsxs as oe, jsx as W, Fragment as Wa } from "react/jsx-runtime";
|
2
|
-
import { T as pn, a as gn, H as fn, b as La, c as kn, E as bn, d as vn } from "./EstGas-
|
2
|
+
import { T as pn, a as gn, H as fn, b as La, c as kn, E as bn, d as vn } from "./EstGas-BEwQc47B.js";
|
3
3
|
import { createContext as yn, createElement as wn, useState as Ye, useEffect as xa } from "react";
|
4
|
-
import { d as xn, i as _n } from "./useRegisterError-
|
5
|
-
import { n as jn, u as ve, l as Ht, p as J, F as In, c as Ma, H as zn } from "./index-
|
4
|
+
import { d as xn, i as _n } from "./useRegisterError-DMILz6N1.js";
|
5
|
+
import { n as jn, u as ve, l as Ht, p as J, F as In, c as Ma, H as zn } from "./index-CBMjkxpP.js";
|
6
6
|
import { useQuery as Ea } from "@tanstack/react-query";
|
7
|
-
import "./down-
|
7
|
+
import "./down-C4N-wh2D.js";
|
8
8
|
import "wagmi";
|
9
9
|
import "@dynamic-labs/sdk-react-core";
|
10
|
-
import "./getCosmosAddress-
|
11
|
-
import "./index-
|
10
|
+
import "./getCosmosAddress-CrzIqoe8.js";
|
11
|
+
import "./index-DTish3yr.js";
|
12
12
|
import "@dynamic-labs/solana";
|
13
13
|
var _a = { exports: {} }, Da;
|
14
14
|
function Nn() {
|
@@ -344,20 +344,15 @@ class L {
|
|
344
344
|
});
|
345
345
|
}
|
346
346
|
log(a, t, ...n) {
|
347
|
-
if (!(typeof window < "u" && L.troubleshootModeEnabled) && (a < this.level || a === D.MUTE))
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
console.error(o, ...n);
|
356
|
-
break;
|
357
|
-
default:
|
358
|
-
console.log(o, ...n);
|
347
|
+
if (!(!(typeof window < "u" && L.troubleshootModeEnabled) && (a < this.level || a === D.MUTE))) {
|
348
|
+
switch (this.formatMessage(a, t), a) {
|
349
|
+
case D.WARN:
|
350
|
+
break;
|
351
|
+
case D.ERROR:
|
352
|
+
break;
|
353
|
+
}
|
354
|
+
a === D.ERROR && this.captureAndSend(a, t, ...n);
|
359
355
|
}
|
360
|
-
a === D.ERROR && this.captureAndSend(a, t, ...n);
|
361
356
|
}
|
362
357
|
logVerboseTroubleshootingMessage(a, ...t) {
|
363
358
|
this.log(-1, a, ...t);
|
@@ -1,22 +1,22 @@
|
|
1
1
|
import { jsx as u, jsxs as B, Fragment as Ke } from "react/jsx-runtime";
|
2
|
-
import { a as to, _ as yr, e as wr, T as no, g as vr, h as oo, b as ro, j as Gt, k as Sn, r as xr, B as Cr, u as ao, i as Dr, d as Sr } from "./useRegisterError-
|
3
|
-
import { P as Zt, i as kr, b as kn, F as so, u as We, f as Qt, L as Tt, O as Pr, c as Mr, I as Rr, S as Or, d as Tr, H as Ir } from "./hamburger-
|
4
|
-
import { o as Vr, q as Nr, t as Fr, p as ie, _ as te, d as f, P as t, b as Se, g as Me, i as Re, s as _, e as le, f as se, h as Oe, j as De, r as Er, v as Ar, w as ge, x as it, L as $r, u as Ce, c as Xt, S as Lr, l as Br } from "./index-
|
2
|
+
import { a as to, _ as yr, e as wr, T as no, g as vr, h as oo, b as ro, j as Gt, k as Sn, r as xr, B as Cr, u as ao, i as Dr, d as Sr } from "./useRegisterError-DMILz6N1.js";
|
3
|
+
import { P as Zt, i as kr, b as kn, F as so, u as We, f as Qt, L as Tt, O as Pr, c as Mr, I as Rr, S as Or, d as Tr, H as Ir } from "./hamburger-JHCSR4wq.js";
|
4
|
+
import { o as Vr, q as Nr, t as Fr, p as ie, _ as te, d as f, P as t, b as Se, g as Me, i as Re, s as _, e as le, f as se, h as Oe, j as De, r as Er, v as Ar, w as ge, x as it, L as $r, u as Ce, c as Xt, S as Lr, l as Br } from "./index-CBMjkxpP.js";
|
5
5
|
import * as b from "react";
|
6
6
|
import Pn, { useState as Ye, useEffect as lt, useRef as jr } from "react";
|
7
7
|
import { useQuery as io, useQueryClient as zr, useInfiniteQuery as Wr } from "@tanstack/react-query";
|
8
8
|
import { useAccount as lo } from "wagmi";
|
9
9
|
import { useDynamicContext as co } from "@dynamic-labs/sdk-react-core";
|
10
10
|
import { useAccount as uo } from "graz";
|
11
|
-
import { T as Qe, S as _r } from "./index-
|
12
|
-
import { c as $e } from "./index-
|
13
|
-
import { B as wt, F as xt, M as qr, a as Hr, e as Ur, T as po, b as Yr } from "./getChainIds-
|
14
|
-
import { a as fo, b as Le, G as Kr, P as Gr } from "./Grow-
|
15
|
-
import { B as Pt, u as Zr } from "./index-
|
16
|
-
import { u as Qr } from "./unsupportedProp-
|
11
|
+
import { T as Qe, S as _r } from "./index-BII8gr4h.js";
|
12
|
+
import { c as $e } from "./index-4DGqOb0b.js";
|
13
|
+
import { B as wt, F as xt, M as qr, a as Hr, e as Ur, T as po, b as Yr } from "./getChainIds-CPQkM2Fw.js";
|
14
|
+
import { a as fo, b as Le, G as Kr, P as Gr } from "./Grow-CYJk-72r.js";
|
15
|
+
import { B as Pt, u as Zr } from "./index-D8oYLVSL.js";
|
16
|
+
import { u as Qr } from "./unsupportedProp-BC6azYXA.js";
|
17
17
|
import { S as Xr } from "./shareicon-CG3v7iKI.js";
|
18
|
-
import { O as Mn } from "./index-
|
19
|
-
import { L as Jr } from "./index.es-
|
18
|
+
import { O as Mn } from "./index-ByNEeX9y.js";
|
19
|
+
import { L as Jr } from "./index.es-DkTmjrB8.js";
|
20
20
|
function ea(e) {
|
21
21
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
22
22
|
}
|
@@ -69,8 +69,7 @@ function bo(e, n = {}) {
|
|
69
69
|
props: n,
|
70
70
|
theme: o
|
71
71
|
});
|
72
|
-
ie.env.NODE_ENV
|
73
|
-
`));
|
72
|
+
ie.env.NODE_ENV;
|
74
73
|
let l = typeof e == "function" ? e(o) : e;
|
75
74
|
l = l.replace(/^@media( ?)/m, "");
|
76
75
|
const p = (mo !== void 0 ? na : ta)(l, a, s, i, c);
|
@@ -784,7 +783,7 @@ const ho = /* @__PURE__ */ b.forwardRef(function(n, o) {
|
|
784
783
|
let q = null;
|
785
784
|
return m && /* @__PURE__ */ b.isValidElement(m) && (q = /* @__PURE__ */ b.cloneElement(m, {
|
786
785
|
className: le(R.icon, m.props.className)
|
787
|
-
})), ie.env.NODE_ENV
|
786
|
+
})), ie.env.NODE_ENV, /* @__PURE__ */ B(ha, f({
|
788
787
|
as: F,
|
789
788
|
className: le(R.root, s),
|
790
789
|
disabled: P && p ? !0 : void 0,
|
@@ -1494,8 +1493,7 @@ const Ea = ["children", "className", "color", "component", "disabled", "error",
|
|
1494
1493
|
let P;
|
1495
1494
|
if (ie.env.NODE_ENV !== "production") {
|
1496
1495
|
const N = b.useRef(!1);
|
1497
|
-
P = () => (N.current
|
1498
|
-
`)), N.current = !0, () => {
|
1496
|
+
P = () => (N.current, N.current = !0, () => {
|
1499
1497
|
N.current = !1;
|
1500
1498
|
});
|
1501
1499
|
}
|
@@ -1968,7 +1966,7 @@ const Ka = ["children", "className", "component", "disablePointerEvents", "disab
|
|
1968
1966
|
variant: p
|
1969
1967
|
} = r, m = te(r, Ka), h = We() || {};
|
1970
1968
|
let C = p;
|
1971
|
-
p && h.variant && ie.env.NODE_ENV !== "production" &&
|
1969
|
+
p && h.variant && ie.env.NODE_ENV !== "production" && h.variant, h && !C && (C = h.variant);
|
1972
1970
|
const g = f({}, r, {
|
1973
1971
|
hiddenLabel: h.hiddenLabel,
|
1974
1972
|
size: h.size,
|
@@ -2445,7 +2443,7 @@ const ls = ["className"], cs = ["alignItems", "autoFocus", "button", "children",
|
|
2445
2443
|
disableGutters: y
|
2446
2444
|
}), [a, W.dense, g, y]), F = b.useRef(null);
|
2447
2445
|
to(() => {
|
2448
|
-
s && (F.current ? F.current.focus() : ie.env.NODE_ENV
|
2446
|
+
s && (F.current ? F.current.focus() : ie.env.NODE_ENV);
|
2449
2447
|
}, [s]);
|
2450
2448
|
const N = b.Children.toArray(c), R = N.length && bt(N[N.length - 1], ["ListItemSecondaryAction"]), I = f({}, r, {
|
2451
2449
|
alignItems: a,
|
@@ -2714,7 +2712,7 @@ const bs = ["autoComplete", "autoFocus", "children", "className", "color", "defa
|
|
2714
2712
|
select: I,
|
2715
2713
|
variant: U
|
2716
2714
|
}), ue = gs(ee);
|
2717
|
-
ie.env.NODE_ENV
|
2715
|
+
ie.env.NODE_ENV;
|
2718
2716
|
const fe = {};
|
2719
2717
|
U === "outlined" && (y && typeof y.shrink < "u" && (fe.notched = y.shrink), fe.label = S), I && ((!E || !E.native) && (fe.id = void 0), fe["aria-describedby"] = void 0);
|
2720
2718
|
const de = fo(v), j = g && de ? `${de}-helper-text` : void 0, J = S && de ? `${de}-label` : void 0, Y = hs[U], A = /* @__PURE__ */ u(Y, f({
|
@@ -2984,15 +2982,12 @@ function Ge(e) {
|
|
2984
2982
|
} = b.useRef(n !== void 0), [i, c] = b.useState(o), l = s ? n : i;
|
2985
2983
|
if (ie.env.NODE_ENV !== "production") {
|
2986
2984
|
b.useEffect(() => {
|
2987
|
-
s !== (n !== void 0) && console.error([`MUI: A component is changing the ${s ? "" : "un"}controlled ${a} state of ${r} to be ${s ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${r} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
2988
|
-
`));
|
2989
2985
|
}, [a, r, n]);
|
2990
2986
|
const {
|
2991
2987
|
current: p
|
2992
2988
|
} = b.useRef(o);
|
2993
2989
|
b.useEffect(() => {
|
2994
|
-
!s &&
|
2995
|
-
`));
|
2990
|
+
!s && Object.is(p, o);
|
2996
2991
|
}, [JSON.stringify(o)]);
|
2997
2992
|
}
|
2998
2993
|
const d = b.useCallback((p) => {
|
@@ -3485,7 +3480,7 @@ function Po({
|
|
3485
3480
|
focusedView: i,
|
3486
3481
|
onFocusedViewChange: c
|
3487
3482
|
}) {
|
3488
|
-
ie.env.NODE_ENV !== "production" && (Ut || (r != null && !a.includes(r) && (
|
3483
|
+
ie.env.NODE_ENV !== "production" && (Ut || (r != null && !a.includes(r) && (Ut = !0), r == null && o != null && !a.includes(o) && (Ut = !0)));
|
3489
3484
|
const l = b.useRef(o), d = b.useRef(a), p = b.useRef(a.includes(o) ? o : a[0]), [m, h] = Ge({
|
3490
3485
|
name: "useViews",
|
3491
3486
|
state: "view",
|
@@ -3915,9 +3910,7 @@ let qn = !1;
|
|
3915
3910
|
const Hn = (e, n) => {
|
3916
3911
|
if (ie.env.NODE_ENV !== "production" && !qn) {
|
3917
3912
|
const o = ["empty"];
|
3918
|
-
["date", "date-time"].includes(n) && o.push("weekDay", "day", "month", "year"), ["time", "date-time"].includes(n) && o.push("hours", "minutes", "seconds", "meridiem");
|
3919
|
-
const r = e.find((a) => !o.includes(a.type));
|
3920
|
-
r && (console.warn(`MUI X: The field component you are using is not compatible with the "${r.type}" date section.`, `The supported date sections are ["${o.join('", "')}"]\`.`), qn = !0);
|
3913
|
+
["date", "date-time"].includes(n) && o.push("weekDay", "day", "month", "year"), ["time", "date-time"].includes(n) && o.push("hours", "minutes", "seconds", "meridiem"), e.find((a) => !o.includes(a.type)) && (qn = !0);
|
3921
3914
|
}
|
3922
3915
|
}, bi = (e, n, o, r) => {
|
3923
3916
|
switch (n.type) {
|
@@ -10012,7 +10005,7 @@ function gd(e, n = "warning") {
|
|
10012
10005
|
return;
|
10013
10006
|
const o = Array.isArray(e) ? e.join(`
|
10014
10007
|
`) : e;
|
10015
|
-
Xn.has(o) ||
|
10008
|
+
Xn.has(o) || Xn.add(o);
|
10016
10009
|
}
|
10017
10010
|
const yd = ({
|
10018
10011
|
open: e,
|
@@ -10078,11 +10071,7 @@ const yd = ({
|
|
10078
10071
|
current: C
|
10079
10072
|
} = b.useRef(c !== void 0), [g, v] = b.useState(p);
|
10080
10073
|
ie.env.NODE_ENV !== "production" && (b.useEffect(() => {
|
10081
|
-
C !== (c !== void 0) && console.error([`MUI X: A component is changing the ${C ? "" : "un"}controlled value of a picker to be ${C ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", "Decide between using a controlled or uncontrolled valuefor the lifetime of the component.", "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
10082
|
-
`));
|
10083
10074
|
}, [c]), b.useEffect(() => {
|
10084
|
-
!C && h !== l && console.error(["MUI X: A component is changing the defaultValue of an uncontrolled picker after being initialized. To suppress this warning opt to use a controlled value."].join(`
|
10085
|
-
`));
|
10086
10075
|
}, [JSON.stringify(h)]));
|
10087
10076
|
const y = he(), w = Xe(), {
|
10088
10077
|
isOpen: x,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
2
2
|
import "react";
|
3
|
-
import { F as m } from "./useRegisterError-
|
3
|
+
import { F as m } from "./useRegisterError-DMILz6N1.js";
|
4
4
|
function n({ value: t, decimal: o }) {
|
5
5
|
return t.length ? /* @__PURE__ */ r(m, { value: t, options: { maxDecimals: o } }) : t;
|
6
6
|
}
|