@blockend/widget 1.0.56 → 1.0.58
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-CyD25qOP.js → AllRoutes-BEvx1n3I.js} +9 -9
- package/dist/{Box-BqKR6yh2.js → Box-CFvGLr8n.js} +13 -13
- package/dist/{EstGas-BIwMpIdu.js → EstGas-CCL9S4TI.js} +93 -92
- package/dist/{Grow-BVXa982_.js → Grow-3AzCkJ1l.js} +28 -28
- package/dist/{InputComp-mfg9qUQM.js → InputComp-C3wBbcNC.js} +3 -3
- package/dist/{LoadRoute-psJpcC1g.js → LoadRoute-CmXjqn50.js} +4 -4
- package/dist/{QuotesProgress-DdH9coV4.js → QuotesProgress-DBDNx9H9.js} +1 -1
- package/dist/{SwapAsset-DZm2uxy-.js → SwapAsset-BP7fNDep.js} +1 -1
- package/dist/{Tooltip-BasOLFMf.js → Tooltip-C-Vq_jVP.js} +3 -3
- package/dist/TxnButton-BpypaZLc.js +222 -0
- package/dist/{add-hMkDpQJx.js → add-BdD4qw8Y.js} +1 -1
- package/dist/{all-wallets-TzzPsASL.js → all-wallets-CCk-NAvP.js} +1 -1
- package/dist/{app-store-Bvi3lO0E.js → app-store-CHYh6OVQ.js} +1 -1
- package/dist/{apple-DovGBZVC.js → apple-W6CdATsu.js} +1 -1
- package/dist/{arrow-bottom-Bt0z0B0d.js → arrow-bottom-Bmskvc3Q.js} +1 -1
- package/dist/{arrow-bottom-circle-B6pKx0dw.js → arrow-bottom-circle-BR3rUR84.js} +1 -1
- package/dist/{arrow-left-I0NpmB6b.js → arrow-left-JA_61b-X.js} +1 -1
- package/dist/{arrow-right-CmtwLDja.js → arrow-right-BrlRvAbh.js} +1 -1
- package/dist/{arrow-top-DokEs3HC.js → arrow-top-DwizL9FK.js} +1 -1
- package/dist/{bank-yu5LTCzK.js → bank-J83igXCJ.js} +1 -1
- package/dist/{basic-Cuqqlzwv.js → basic-5KVBTBSB.js} +3 -3
- package/dist/{browser-D-klzbTJ.js → browser-rzo1y-xO.js} +1 -1
- package/dist/{card-C7_UmEhR.js → card-Bf337Wog.js} +1 -1
- package/dist/{ccip-BqcIWBNQ.js → ccip-tVAKLdmf.js} +16 -16
- package/dist/{checkmark-DGmFkx4x.js → checkmark-CRZ67K1E.js} +1 -1
- package/dist/{checkmark-bold-K5aQHF2s.js → checkmark-bold-UTr8cTAr.js} +1 -1
- package/dist/{chevron-bottom-D1sa5ntV.js → chevron-bottom-Dg5A8EZk.js} +1 -1
- package/dist/{chevron-left-CrTavssV.js → chevron-left-CeBZLZL-.js} +1 -1
- package/dist/{chevron-right-4tHjmIzI.js → chevron-right-DphGRKhn.js} +1 -1
- package/dist/{chevron-top-BGhhItI1.js → chevron-top-C-lV7Uem.js} +1 -1
- package/dist/{chrome-store-BSS7R8tR.js → chrome-store-BYOPEdIk.js} +1 -1
- package/dist/{clock-C0LASIAZ.js → clock-CCLHSdRO.js} +1 -1
- package/dist/{close-u-Xm2I00.js → close-D8yBWTz7.js} +1 -1
- package/dist/{coinPlaceholder-C-f0Hi8-.js → coinPlaceholder-CAhetIpf.js} +1 -1
- package/dist/{compass-BePsWGiq.js → compass-BsT-4aom.js} +1 -1
- package/dist/{copy-CcmBGGYL.js → copy-DdmNsEiq.js} +1 -1
- package/dist/{core-DTXll9hG.js → core-BdeortC8.js} +17 -16
- package/dist/{cursor-CtyBKKIZ.js → cursor-CTcNmP6c.js} +1 -1
- package/dist/{cursor-transparent-DV-nTgKw.js → cursor-transparent-BIA0Pwyl.js} +1 -1
- package/dist/{desktop-BQk6XvDk.js → desktop-rDm7WANn.js} +1 -1
- package/dist/{disconnect-Bnip6tM-.js → disconnect-DW8S5LHd.js} +1 -1
- package/dist/{discord-CixZYk_L.js → discord-BpI0wQ38.js} +1 -1
- package/dist/{down-DveeNmNl.js → down-CAlD4xKv.js} +2 -2
- package/dist/{etherscan-Ca4qbKIV.js → etherscan-BMI4kIcU.js} +1 -1
- package/dist/{exclamation-triangle-DEJeWCAG.js → exclamation-triangle-DEqUV_BK.js} +1 -1
- package/dist/{extension-Dwkk2Z0q.js → extension-CbqiDgO8.js} +1 -1
- package/dist/{external-link-BVJzQ3gM.js → external-link-DAoUJv1x.js} +1 -1
- package/dist/{facebook-H39HpD1e.js → facebook-DIzWVNaQ.js} +1 -1
- package/dist/{farcaster-B0C8pA-P.js → farcaster-CkM6gsVL.js} +1 -1
- package/dist/{filters-BfgKjq1s.js → filters-D7b-x_Uf.js} +1 -1
- package/dist/{getChainIds-DJyYvC8w.js → getChainIds-DeuU0YpN.js} +69 -69
- package/dist/getCosmosAddress-eM1PmEO6.js +9517 -0
- package/dist/{github-CZxxY0sj.js → github-BCWeXDnx.js} +1 -1
- package/dist/{google-DbGRWYI0.js → google-CH0e_364.js} +1 -1
- package/dist/{hamburger-C-fmenLo.js → hamburger-BttJpVUT.js} +5 -5
- package/dist/{help-circle-BZqpCbkX.js → help-circle-BH-hM-3X.js} +1 -1
- package/dist/{id-BohjVAp4.js → id-Cpmcss3v.js} +1 -1
- package/dist/{image-DYGqq78I.js → image-DmOL9UPO.js} +1 -1
- package/dist/{index-9oZmbNJz.js → index-21yaepI8.js} +4 -4
- package/dist/{index-Cb-vA8WO.js → index-C7MrbINr.js} +11 -11
- package/dist/{index-C2K4V7-H.js → index-CH5jwNS_.js} +1 -1
- package/dist/{index-CgCWrCyY.js → index-CkwNinHh.js} +19 -18
- package/dist/index-DTish3yr.js +1014 -0
- package/dist/{index-BuTM3T5V.js → index-Dh6UktNj.js} +1 -1
- package/dist/{index-CJJQ2LCX.js → index-DqDiVhjG.js} +8 -7
- package/dist/{index-hXKqfCGv.js → index-DsvUp-b6.js} +78 -78
- package/dist/{index-Cb6Z5QF3.js → index-DxjkYOh2.js} +7 -7
- package/dist/{index-OBUgs_7T.js → index-WIhW13yE.js} +4 -4
- package/dist/{index-BE1KHDcY.js → index-i5MevQRn.js} +2 -2
- package/dist/index-py3G4zgL.js +29495 -0
- package/dist/{index.es-BNrhKlYX.js → index.es-CC918dIS.js} +26 -24
- package/dist/{index.es-Dodf_4Pq.js → index.es-CKCeP3NS.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DpJutiAx.js → info--YGPEfie.js} +1 -1
- package/dist/{info-circle-BwhhpI3z.js → info-circle-sufy15Ei.js} +1 -1
- package/dist/{lightbulb-DWYKdsBz.js → lightbulb-DCcrC2bd.js} +1 -1
- package/dist/{mail-CEBxLp-q.js → mail-BWKIk0Hz.js} +1 -1
- package/dist/{mobile-jGiJK-tS.js → mobile-DlOglq5A.js} +1 -1
- package/dist/{more-Ceddtafo.js → more-BuLL_YUE.js} +1 -1
- package/dist/{network-placeholder-BiDTGsDC.js → network-placeholder-DN5-JzRo.js} +1 -1
- package/dist/{nftPlaceholder-Bdt3xlsh.js → nftPlaceholder-j4mjXhT8.js} +1 -1
- package/dist/{off-CjQUQbIf.js → off-DnKbD_YT.js} +1 -1
- package/dist/{play-store-CHlzBg61.js → play-store-Be2CrJ2l.js} +1 -1
- package/dist/{plus-BpDW56X5.js → plus-BdtL-uFU.js} +1 -1
- package/dist/{qr-code-Cn4ixB1y.js → qr-code-iJexJUy_.js} +1 -1
- package/dist/{recycle-horizontal-DBU-2t6D.js → recycle-horizontal-BOCYZAze.js} +1 -1
- package/dist/{refresh-DF6FHw_b.js → refresh-CpiebWPE.js} +1 -1
- package/dist/{reown-logo-DZuLV_8T.js → reown-logo-CEmx4hCV.js} +1 -1
- package/dist/{search-CtvrGHTU.js → search-CFglH0n3.js} +1 -1
- package/dist/{send-q0rRlrWy.js → send-Bw76ODGY.js} +1 -1
- package/dist/{swapHorizontal-y4XZEygv.js → swapHorizontal-DAVGs6k6.js} +1 -1
- package/dist/{swapHorizontalBold-DbOTapbL.js → swapHorizontalBold-CzB5JPVP.js} +1 -1
- package/dist/{swapHorizontalMedium-DjJ6sIy9.js → swapHorizontalMedium-CBRWvDqm.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-DseOC2QK.js → swapHorizontalRoundedBold-CdWble2C.js} +1 -1
- package/dist/{swapVertical-CtSwX7c_.js → swapVertical-DUVJ2TCz.js} +1 -1
- package/dist/{telegram-mDVVPT-5.js → telegram-CWHjjMJD.js} +1 -1
- package/dist/{three-dots-BC4W7vAE.js → three-dots-DpcT07dz.js} +1 -1
- package/dist/{twitch-BtdlLgtD.js → twitch-DGYmy7ds.js} +1 -1
- package/dist/{twitterIcon-FYpWmhWb.js → twitterIcon-6o1rEIpq.js} +1 -1
- package/dist/{unsupportedProp-Bk4k1APH.js → unsupportedProp-CqrW5ONm.js} +1 -1
- package/dist/{useRegisterError-Dvrv5eoV.js → useRegisterError-CgXIOMQ5.js} +1 -1
- package/dist/{verify-filled-D86UrptW.js → verify-filled-Dqm20w60.js} +1 -1
- package/dist/{verify-Dherv62_.js → verify-nTHRV-dU.js} +1 -1
- package/dist/{w3m-modal-DGiYzg-1.js → w3m-modal-TrjUTxFF.js} +2 -2
- package/dist/{wallet-placeholder-BjrNOIyN.js → wallet-placeholder-wR7aP7XH.js} +1 -1
- package/dist/{wallet-BlgfCBaN.js → wallet-v6WLuXPB.js} +1 -1
- package/dist/{walletconnect-__d1VRdN.js → walletconnect-Cebd_xmw.js} +1 -1
- package/dist/{warning-circle-CR3NTneR.js → warning-circle-DnrQ8NUj.js} +1 -1
- package/dist/{x-BVa5oeDy.js → x-BQskV_5A.js} +1 -1
- package/package.json +4 -5
- package/dist/TxnButton-7H0ziW6y.js +0 -215
- package/dist/getCosmosAddress-wvdpMO7J.js +0 -6075
- package/dist/index-qJms-6-V.js +0 -48905
@@ -1,8 +1,8 @@
|
|
1
|
-
import { P as e, d as M, _ as Z, p as z, e as U, b as he, i as me, s as ee,
|
1
|
+
import { P as e, d as M, _ as Z, p as z, e as U, b as he, i as me, s as ee, E as Pe, g as ke, h as Me, u as ln, l as cn } from "./index-py3G4zgL.js";
|
2
2
|
import * as u from "react";
|
3
3
|
import ue, { isValidElement as de, cloneElement as pe, Children as un } from "react";
|
4
4
|
import { jsx as A, jsxs as Ne } from "react/jsx-runtime";
|
5
|
-
import { h as dn, o as Y, _ as pn, p as Le, q as fn, b as re, s as hn, l as Q, r as mn, j as bn, T as gn, n as We, t as Ve, v as En, w as we, x as yn, y as Tn, m as Ae, P as Rn, H as xn } from "./useRegisterError-
|
5
|
+
import { h as dn, o as Y, _ as pn, p as Le, q as fn, b as re, s as hn, l as Q, r as mn, j as bn, T as gn, n as We, t as Ve, v as En, w as we, x as yn, y as Tn, m as Ae, P as Rn, H as xn } from "./useRegisterError-CgXIOMQ5.js";
|
6
6
|
import { getWallet as vn, WalletType as Cn } from "graz";
|
7
7
|
function Pn(n) {
|
8
8
|
const {
|
@@ -84,7 +84,7 @@ function In(n, t) {
|
|
84
84
|
});
|
85
85
|
});
|
86
86
|
}
|
87
|
-
function
|
87
|
+
function On(n, t, s) {
|
88
88
|
var o = Ie(n.children), i = Sn(t, o);
|
89
89
|
return Object.keys(i).forEach(function(r) {
|
90
90
|
var a = i[r];
|
@@ -106,16 +106,16 @@ function Fn(n, t, s) {
|
|
106
106
|
}
|
107
107
|
}), i;
|
108
108
|
}
|
109
|
-
var
|
109
|
+
var Bn = Object.values || function(n) {
|
110
110
|
return Object.keys(n).map(function(t) {
|
111
111
|
return n[t];
|
112
112
|
});
|
113
|
-
},
|
113
|
+
}, Fn = {
|
114
114
|
component: "div",
|
115
115
|
childFactory: function(t) {
|
116
116
|
return t;
|
117
117
|
}
|
118
|
-
},
|
118
|
+
}, Oe = /* @__PURE__ */ function(n) {
|
119
119
|
pn(t, n);
|
120
120
|
function t(o, i) {
|
121
121
|
var r;
|
@@ -141,7 +141,7 @@ var On = Object.values || function(n) {
|
|
141
141
|
}, t.getDerivedStateFromProps = function(i, r) {
|
142
142
|
var a = r.children, l = r.handleExited, c = r.firstRender;
|
143
143
|
return {
|
144
|
-
children: c ? In(i, l) :
|
144
|
+
children: c ? In(i, l) : On(i, a, l),
|
145
145
|
firstRender: !1
|
146
146
|
};
|
147
147
|
}, s.handleExited = function(i, r) {
|
@@ -153,7 +153,7 @@ var On = Object.values || function(n) {
|
|
153
153
|
};
|
154
154
|
}));
|
155
155
|
}, s.render = function() {
|
156
|
-
var i = this.props, r = i.component, a = i.childFactory, l = Z(i, ["component", "childFactory"]), c = this.state.contextValue, d =
|
156
|
+
var i = this.props, r = i.component, a = i.childFactory, l = Z(i, ["component", "childFactory"]), c = this.state.contextValue, d = Bn(this.state.children).map(a);
|
157
157
|
return delete l.appear, delete l.enter, delete l.exit, r === null ? /* @__PURE__ */ ue.createElement(Le.Provider, {
|
158
158
|
value: c
|
159
159
|
}, d) : /* @__PURE__ */ ue.createElement(Le.Provider, {
|
@@ -161,7 +161,7 @@ var On = Object.values || function(n) {
|
|
161
161
|
}, /* @__PURE__ */ ue.createElement(r, l, d));
|
162
162
|
}, t;
|
163
163
|
}(ue.Component);
|
164
|
-
|
164
|
+
Oe.propTypes = z.env.NODE_ENV !== "production" ? {
|
165
165
|
/**
|
166
166
|
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
167
167
|
* behavior by providing a `component` prop.
|
@@ -214,7 +214,7 @@ Fe.propTypes = z.env.NODE_ENV !== "production" ? {
|
|
214
214
|
*/
|
215
215
|
childFactory: e.func
|
216
216
|
} : {};
|
217
|
-
|
217
|
+
Oe.defaultProps = Fn;
|
218
218
|
function qe(n) {
|
219
219
|
const {
|
220
220
|
className: t,
|
@@ -393,7 +393,7 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
|
|
393
393
|
u.useEffect(() => {
|
394
394
|
y.current && (y.current(), y.current = null);
|
395
395
|
}, [c]);
|
396
|
-
const x = u.useRef(!1), v = fn(), p = u.useRef(null), w = u.useRef(null),
|
396
|
+
const x = u.useRef(!1), v = fn(), p = u.useRef(null), w = u.useRef(null), B = u.useCallback((f) => {
|
397
397
|
const {
|
398
398
|
pulsate: T,
|
399
399
|
rippleX: C,
|
@@ -440,19 +440,19 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
|
|
440
440
|
D = Math.round(V.width / 2), L = Math.round(V.height / 2);
|
441
441
|
else {
|
442
442
|
const {
|
443
|
-
clientX:
|
443
|
+
clientX: O,
|
444
444
|
clientY: g
|
445
445
|
} = f.touches && f.touches.length > 0 ? f.touches[0] : f;
|
446
|
-
D = Math.round(
|
446
|
+
D = Math.round(O - V.left), L = Math.round(g - V.top);
|
447
447
|
}
|
448
448
|
if (I)
|
449
449
|
E = Math.sqrt((2 * V.width ** 2 + V.height ** 2) / 3), E % 2 === 0 && (E += 1);
|
450
450
|
else {
|
451
|
-
const
|
452
|
-
E = Math.sqrt(
|
451
|
+
const O = Math.max(Math.abs((P ? P.clientWidth : 0) - D), D) * 2 + 2, g = Math.max(Math.abs((P ? P.clientHeight : 0) - L), L) * 2 + 2;
|
452
|
+
E = Math.sqrt(O ** 2 + g ** 2);
|
453
453
|
}
|
454
454
|
f != null && f.touches ? p.current === null && (p.current = () => {
|
455
|
-
|
455
|
+
B({
|
456
456
|
pulsate: k,
|
457
457
|
rippleX: D,
|
458
458
|
rippleY: L,
|
@@ -461,14 +461,14 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
|
|
461
461
|
});
|
462
462
|
}, v.start(Ln, () => {
|
463
463
|
p.current && (p.current(), p.current = null);
|
464
|
-
})) :
|
464
|
+
})) : B({
|
465
465
|
pulsate: k,
|
466
466
|
rippleX: D,
|
467
467
|
rippleY: L,
|
468
468
|
rippleSize: E,
|
469
469
|
cb: C
|
470
470
|
});
|
471
|
-
}, [i,
|
471
|
+
}, [i, B, v]), F = u.useCallback(() => {
|
472
472
|
S({}, {
|
473
473
|
pulsate: !0
|
474
474
|
});
|
@@ -482,14 +482,14 @@ const Ce = 550, Ln = 80, Vn = Pe($e || ($e = be`
|
|
482
482
|
p.current = null, d((C) => C.length > 0 ? C.slice(1) : C), y.current = T;
|
483
483
|
}, [v]);
|
484
484
|
return u.useImperativeHandle(s, () => ({
|
485
|
-
pulsate:
|
485
|
+
pulsate: F,
|
486
486
|
start: S,
|
487
487
|
stop: h
|
488
|
-
}), [
|
488
|
+
}), [F, S, h]), /* @__PURE__ */ A($n, M({
|
489
489
|
className: U(H.root, r.root, a),
|
490
490
|
ref: w
|
491
491
|
}, l, {
|
492
|
-
children: /* @__PURE__ */ A(
|
492
|
+
children: /* @__PURE__ */ A(Oe, {
|
493
493
|
component: null,
|
494
494
|
exit: !0,
|
495
495
|
children: c
|
@@ -584,9 +584,9 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
584
584
|
LinkComponent: v = "a",
|
585
585
|
onBlur: p,
|
586
586
|
onClick: w,
|
587
|
-
onContextMenu:
|
587
|
+
onContextMenu: B,
|
588
588
|
onDragLeave: S,
|
589
|
-
onFocus:
|
589
|
+
onFocus: F,
|
590
590
|
onFocusVisible: h,
|
591
591
|
onKeyDown: f,
|
592
592
|
onKeyUp: T,
|
@@ -599,7 +599,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
599
599
|
tabIndex: D = 0,
|
600
600
|
TouchRippleProps: L,
|
601
601
|
touchRippleRef: E,
|
602
|
-
type:
|
602
|
+
type: O
|
603
603
|
} = o, g = Z(o, Kn), R = u.useRef(null), N = u.useRef(null), ge = re(N, E), {
|
604
604
|
isFocusVisibleRef: se,
|
605
605
|
onFocus: Ee,
|
@@ -619,15 +619,15 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
619
619
|
u.useEffect(() => {
|
620
620
|
$ && x && !b && W && N.current.pulsate();
|
621
621
|
}, [b, x, $, W]);
|
622
|
-
function j(m,
|
623
|
-
return Q((De) => (
|
622
|
+
function j(m, Fe, an = y) {
|
623
|
+
return Q((De) => (Fe && Fe(De), !an && N.current && N.current[m](De), !0));
|
624
624
|
}
|
625
|
-
const ne = j("start", C), ye = j("stop",
|
625
|
+
const ne = j("start", C), ye = j("stop", B), Te = j("stop", S), q = j("stop", I), J = j("stop", (m) => {
|
626
626
|
$ && m.preventDefault(), k && k(m);
|
627
627
|
}), Je = j("start", V), Qe = j("stop", _), Ze = j("stop", P), en = j("stop", (m) => {
|
628
628
|
ie(m), se.current === !1 && K(!1), p && p(m);
|
629
629
|
}, !1), nn = Q((m) => {
|
630
|
-
R.current || (R.current = m.currentTarget), Ee(m), se.current === !0 && (K(!0), h && h(m)),
|
630
|
+
R.current || (R.current = m.currentTarget), Ee(m), se.current === !0 && (K(!0), h && h(m)), F && F(m);
|
631
631
|
}), Re = () => {
|
632
632
|
const m = R.current;
|
633
633
|
return c && c !== "button" && !(m.tagName === "A" && m.href);
|
@@ -643,12 +643,12 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
643
643
|
let ce = c;
|
644
644
|
ce === "button" && (g.href || g.to) && (ce = v);
|
645
645
|
const te = {};
|
646
|
-
ce === "button" ? (te.type =
|
646
|
+
ce === "button" ? (te.type = O === void 0 ? "button" : O, te.disabled = d) : (!g.href && !g.to && (te.role = "button"), d && (te["aria-disabled"] = d));
|
647
647
|
const rn = re(s, ae, R);
|
648
648
|
z.env.NODE_ENV !== "production" && u.useEffect(() => {
|
649
649
|
G && N.current;
|
650
650
|
}, [G]);
|
651
|
-
const
|
651
|
+
const Be = M({}, o, {
|
652
652
|
centerRipple: r,
|
653
653
|
component: c,
|
654
654
|
disabled: d,
|
@@ -657,11 +657,11 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
657
657
|
focusRipple: x,
|
658
658
|
tabIndex: D,
|
659
659
|
focusVisible: $
|
660
|
-
}), sn = zn(
|
660
|
+
}), sn = zn(Be);
|
661
661
|
return /* @__PURE__ */ Ne(Wn, M({
|
662
662
|
as: ce,
|
663
663
|
className: U(sn.root, l),
|
664
|
-
ownerState:
|
664
|
+
ownerState: Be,
|
665
665
|
onBlur: en,
|
666
666
|
onClick: w,
|
667
667
|
onContextMenu: ye,
|
@@ -677,7 +677,7 @@ const Hn = he("MuiButtonBase", ["root", "disabled", "focusVisible"]), Kn = ["act
|
|
677
677
|
onTouchStart: Je,
|
678
678
|
ref: rn,
|
679
679
|
tabIndex: d ? -1 : D,
|
680
|
-
type:
|
680
|
+
type: O
|
681
681
|
}, te, g, {
|
682
682
|
children: [a, G ? (
|
683
683
|
/* TouchRipple is only needed client-side, x2 boost on the server. */
|
@@ -869,36 +869,36 @@ const Yn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
869
869
|
onExit: v,
|
870
870
|
onExited: p,
|
871
871
|
onExiting: w,
|
872
|
-
style:
|
872
|
+
style: B,
|
873
873
|
timeout: S = i,
|
874
874
|
// eslint-disable-next-line react/prop-types
|
875
|
-
TransitionComponent:
|
876
|
-
} = t, h = Z(t, Yn), f = u.useRef(null), T = re(f, We(l), s), C = (E) => (
|
875
|
+
TransitionComponent: F = gn
|
876
|
+
} = t, h = Z(t, Yn), f = u.useRef(null), T = re(f, We(l), s), C = (E) => (O) => {
|
877
877
|
if (E) {
|
878
878
|
const g = f.current;
|
879
|
-
|
879
|
+
O === void 0 ? E(g) : E(g, O);
|
880
880
|
}
|
881
|
-
}, k = C(x), I = C((E,
|
881
|
+
}, k = C(x), I = C((E, O) => {
|
882
882
|
En(E);
|
883
883
|
const g = Ve({
|
884
|
-
style:
|
884
|
+
style: B,
|
885
885
|
timeout: S,
|
886
886
|
easing: c
|
887
887
|
}, {
|
888
888
|
mode: "enter"
|
889
889
|
});
|
890
|
-
E.style.webkitTransition = o.transitions.create("opacity", g), E.style.transition = o.transitions.create("opacity", g), b && b(E,
|
890
|
+
E.style.webkitTransition = o.transitions.create("opacity", g), E.style.transition = o.transitions.create("opacity", g), b && b(E, O);
|
891
891
|
}), _ = C(y), P = C(w), V = C((E) => {
|
892
|
-
const
|
893
|
-
style:
|
892
|
+
const O = Ve({
|
893
|
+
style: B,
|
894
894
|
timeout: S,
|
895
895
|
easing: c
|
896
896
|
}, {
|
897
897
|
mode: "exit"
|
898
898
|
});
|
899
|
-
E.style.webkitTransition = o.transitions.create("opacity",
|
899
|
+
E.style.webkitTransition = o.transitions.create("opacity", O), E.style.transition = o.transitions.create("opacity", O), v && v(E);
|
900
900
|
}), D = C(p);
|
901
|
-
return /* @__PURE__ */ A(
|
901
|
+
return /* @__PURE__ */ A(F, M({
|
902
902
|
appear: a,
|
903
903
|
in: d,
|
904
904
|
nodeRef: f,
|
@@ -913,13 +913,13 @@ const Yn = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
913
913
|
},
|
914
914
|
timeout: S
|
915
915
|
}, h, {
|
916
|
-
children: (E,
|
916
|
+
children: (E, O) => /* @__PURE__ */ u.cloneElement(l, M({
|
917
917
|
style: M({
|
918
918
|
opacity: 0,
|
919
919
|
visibility: E === "exited" && !d ? "hidden" : void 0
|
920
|
-
}, Xn[E],
|
920
|
+
}, Xn[E], B, l.props.style),
|
921
921
|
ref: T
|
922
|
-
},
|
922
|
+
}, O))
|
923
923
|
}));
|
924
924
|
});
|
925
925
|
z.env.NODE_ENV !== "production" && (Xe.propTypes = {
|
@@ -1048,16 +1048,16 @@ const Jn = ["children", "className", "component", "components", "componentsProps
|
|
1048
1048
|
open: v,
|
1049
1049
|
slotProps: p = {},
|
1050
1050
|
slots: w = {},
|
1051
|
-
TransitionComponent:
|
1051
|
+
TransitionComponent: B = Xe,
|
1052
1052
|
transitionDuration: S
|
1053
|
-
} = a,
|
1053
|
+
} = a, F = Z(a, Jn), h = M({}, a, {
|
1054
1054
|
component: d,
|
1055
1055
|
invisible: x
|
1056
1056
|
}), f = Qn(h), T = (o = p.root) != null ? o : y.root;
|
1057
|
-
return /* @__PURE__ */ A(
|
1057
|
+
return /* @__PURE__ */ A(B, M({
|
1058
1058
|
in: v,
|
1059
1059
|
timeout: S
|
1060
|
-
},
|
1060
|
+
}, F, {
|
1061
1061
|
children: /* @__PURE__ */ A(Zn, M({
|
1062
1062
|
"aria-hidden": !0
|
1063
1063
|
}, T, {
|
@@ -1325,7 +1325,7 @@ function fe(n) {
|
|
1325
1325
|
getTabbable: r = ct,
|
1326
1326
|
isEnabled: a = ut,
|
1327
1327
|
open: l
|
1328
|
-
} = n, c = u.useRef(!1), d = u.useRef(null), b = u.useRef(null), y = u.useRef(null), x = u.useRef(null), v = u.useRef(!1), p = u.useRef(null), w = re(We(t), p),
|
1328
|
+
} = n, c = u.useRef(!1), d = u.useRef(null), b = u.useRef(null), y = u.useRef(null), x = u.useRef(null), v = u.useRef(!1), p = u.useRef(null), w = re(We(t), p), B = u.useRef(null);
|
1329
1329
|
u.useEffect(() => {
|
1330
1330
|
!l || !p.current || (v.current = !s);
|
1331
1331
|
}, [s, l]), u.useEffect(() => {
|
@@ -1339,7 +1339,7 @@ function fe(n) {
|
|
1339
1339
|
if (!l || !p.current)
|
1340
1340
|
return;
|
1341
1341
|
const h = Y(p.current), f = (k) => {
|
1342
|
-
|
1342
|
+
B.current = k, !(o || !a() || k.key !== "Tab") && h.activeElement === p.current && k.shiftKey && (c.current = !0, b.current && b.current.focus());
|
1343
1343
|
}, T = () => {
|
1344
1344
|
const k = p.current;
|
1345
1345
|
if (k === null)
|
@@ -1359,7 +1359,7 @@ function fe(n) {
|
|
1359
1359
|
let I = [];
|
1360
1360
|
if ((h.activeElement === d.current || h.activeElement === b.current) && (I = r(p.current)), I.length > 0) {
|
1361
1361
|
var _, P;
|
1362
|
-
const V = !!((_ =
|
1362
|
+
const V = !!((_ = B.current) != null && _.shiftKey && ((P = B.current) == null ? void 0 : P.key) === "Tab"), D = I[0], L = I[I.length - 1];
|
1363
1363
|
typeof D != "string" && typeof L != "string" && (V ? L.focus() : D.focus());
|
1364
1364
|
} else
|
1365
1365
|
k.focus();
|
@@ -1376,13 +1376,13 @@ function fe(n) {
|
|
1376
1376
|
y.current === null && (y.current = h.relatedTarget), v.current = !0, x.current = h.target;
|
1377
1377
|
const f = t.props.onFocus;
|
1378
1378
|
f && f(h);
|
1379
|
-
},
|
1379
|
+
}, F = (h) => {
|
1380
1380
|
y.current === null && (y.current = h.relatedTarget), v.current = !0;
|
1381
1381
|
};
|
1382
1382
|
return /* @__PURE__ */ Ne(u.Fragment, {
|
1383
1383
|
children: [/* @__PURE__ */ A("div", {
|
1384
1384
|
tabIndex: l ? 0 : -1,
|
1385
|
-
onFocus:
|
1385
|
+
onFocus: F,
|
1386
1386
|
ref: d,
|
1387
1387
|
"data-testid": "sentinelStart"
|
1388
1388
|
}), /* @__PURE__ */ u.cloneElement(t, {
|
@@ -1390,7 +1390,7 @@ function fe(n) {
|
|
1390
1390
|
onFocus: S
|
1391
1391
|
}), /* @__PURE__ */ A("div", {
|
1392
1392
|
tabIndex: l ? 0 : -1,
|
1393
|
-
onFocus:
|
1393
|
+
onFocus: F,
|
1394
1394
|
ref: b,
|
1395
1395
|
"data-testid": "sentinelEnd"
|
1396
1396
|
})]
|
@@ -1472,7 +1472,7 @@ function ht(n) {
|
|
1472
1472
|
onClose: d,
|
1473
1473
|
open: b,
|
1474
1474
|
rootRef: y
|
1475
|
-
} = n, x = u.useRef({}), v = u.useRef(null), p = u.useRef(null), w = re(p, y), [
|
1475
|
+
} = n, x = u.useRef({}), v = u.useRef(null), p = u.useRef(null), w = re(p, y), [B, S] = u.useState(!b), F = pt(c);
|
1476
1476
|
let h = !0;
|
1477
1477
|
(n["aria-hidden"] === "false" || n["aria-hidden"] === !1) && (h = !1);
|
1478
1478
|
const f = () => Y(v.current), T = () => (x.current.modalRef = p.current, x.current.mount = v.current, x.current), C = () => {
|
@@ -1490,8 +1490,8 @@ function ht(n) {
|
|
1490
1490
|
u.useEffect(() => () => {
|
1491
1491
|
P();
|
1492
1492
|
}, [P]), u.useEffect(() => {
|
1493
|
-
b ? k() : (!
|
1494
|
-
}, [b, P,
|
1493
|
+
b ? k() : (!F || !r) && P();
|
1494
|
+
}, [b, P, F, r, k]);
|
1495
1495
|
const V = (g) => (R) => {
|
1496
1496
|
var N;
|
1497
1497
|
(N = g.onKeyDown) == null || N.call(g, R), !(R.key !== "Escape" || R.which === 229 || // Wait until IME is settled.
|
@@ -1535,8 +1535,8 @@ function ht(n) {
|
|
1535
1535
|
rootRef: w,
|
1536
1536
|
portalRef: _,
|
1537
1537
|
isTopModal: I,
|
1538
|
-
exited:
|
1539
|
-
hasTransition:
|
1538
|
+
exited: B,
|
1539
|
+
hasTransition: F
|
1540
1540
|
};
|
1541
1541
|
}
|
1542
1542
|
function mt(n) {
|
@@ -1592,9 +1592,9 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
1592
1592
|
closeAfterTransition: v = !1,
|
1593
1593
|
children: p,
|
1594
1594
|
container: w,
|
1595
|
-
component:
|
1595
|
+
component: B,
|
1596
1596
|
components: S = {},
|
1597
|
-
componentsProps:
|
1597
|
+
componentsProps: F = {},
|
1598
1598
|
disableAutoFocus: h = !1,
|
1599
1599
|
disableEnforceFocus: f = !1,
|
1600
1600
|
disableEscapeKeyDown: T = !1,
|
@@ -1608,7 +1608,7 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
1608
1608
|
slotProps: L,
|
1609
1609
|
slots: E
|
1610
1610
|
// eslint-disable-next-line react/prop-types
|
1611
|
-
} = d,
|
1611
|
+
} = d, O = Z(d, bt), g = M({}, d, {
|
1612
1612
|
closeAfterTransition: v,
|
1613
1613
|
disableAutoFocus: h,
|
1614
1614
|
disableEnforceFocus: f,
|
@@ -1638,14 +1638,14 @@ const bt = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
1638
1638
|
} = ge();
|
1639
1639
|
W.onEnter = q, W.onExited = J;
|
1640
1640
|
}
|
1641
|
-
const le = (o = (i = E == null ? void 0 : E.root) != null ? i : S.Root) != null ? o : Et, G = (r = (a = E == null ? void 0 : E.backdrop) != null ? a : S.Backdrop) != null ? r : b, j = (l = L == null ? void 0 : L.root) != null ? l :
|
1641
|
+
const le = (o = (i = E == null ? void 0 : E.root) != null ? i : S.Root) != null ? o : Et, G = (r = (a = E == null ? void 0 : E.backdrop) != null ? a : S.Backdrop) != null ? r : b, j = (l = L == null ? void 0 : L.root) != null ? l : F.root, ne = (c = L == null ? void 0 : L.backdrop) != null ? c : F.backdrop, ye = Ae({
|
1642
1642
|
elementType: le,
|
1643
1643
|
externalSlotProps: j,
|
1644
|
-
externalForwardedProps:
|
1644
|
+
externalForwardedProps: O,
|
1645
1645
|
getSlotProps: R,
|
1646
1646
|
additionalProps: {
|
1647
1647
|
ref: s,
|
1648
|
-
as:
|
1648
|
+
as: B
|
1649
1649
|
},
|
1650
1650
|
ownerState: $,
|
1651
1651
|
className: U(x, j == null ? void 0 : j.className, K == null ? void 0 : K.root, !$.open && $.exited && (K == null ? void 0 : K.hidden))
|
@@ -1877,7 +1877,7 @@ export {
|
|
1877
1877
|
Mt as C,
|
1878
1878
|
Xe as F,
|
1879
1879
|
Tt as M,
|
1880
|
-
|
1880
|
+
Oe as T,
|
1881
1881
|
wn as _,
|
1882
1882
|
Ge as a,
|
1883
1883
|
fe as b,
|