biblio-react 3.0.0-alpha32 → 3.0.0-alpha33
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/index.js +63 -67
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2080,24 +2080,24 @@ function ug() {
|
|
|
2080
2080
|
var ae = V.$$typeof;
|
|
2081
2081
|
switch (ae) {
|
|
2082
2082
|
case e:
|
|
2083
|
-
var
|
|
2084
|
-
switch (
|
|
2083
|
+
var Fe = V.type;
|
|
2084
|
+
switch (Fe) {
|
|
2085
2085
|
case r:
|
|
2086
2086
|
case i:
|
|
2087
2087
|
case a:
|
|
2088
2088
|
case d:
|
|
2089
2089
|
case p:
|
|
2090
|
-
return
|
|
2090
|
+
return Fe;
|
|
2091
2091
|
default:
|
|
2092
|
-
var
|
|
2093
|
-
switch (
|
|
2092
|
+
var Ee = Fe && Fe.$$typeof;
|
|
2093
|
+
switch (Ee) {
|
|
2094
2094
|
case c:
|
|
2095
2095
|
case s:
|
|
2096
2096
|
case u:
|
|
2097
2097
|
case m:
|
|
2098
2098
|
case h:
|
|
2099
2099
|
case l:
|
|
2100
|
-
return
|
|
2100
|
+
return Ee;
|
|
2101
2101
|
default:
|
|
2102
2102
|
return ae;
|
|
2103
2103
|
}
|
|
@@ -14832,7 +14832,7 @@ const xp = gr(), vn = /* @__PURE__ */ n(({ children: e }) => {
|
|
|
14832
14832
|
}, "AsistenteProvider"), _a = /* @__PURE__ */ n(() => Pe(Sp), "useAsistente"), Tp = gr(), oT = /* @__PURE__ */ n(({
|
|
14833
14833
|
hasCreate: e,
|
|
14834
14834
|
hasSeleccionMultiple: t,
|
|
14835
|
-
|
|
14835
|
+
chkSeleccion: r,
|
|
14836
14836
|
handleSeleccionMultiple: a,
|
|
14837
14837
|
children: i
|
|
14838
14838
|
}) => {
|
|
@@ -14845,19 +14845,14 @@ const xp = gr(), vn = /* @__PURE__ */ n(({ children: e }) => {
|
|
|
14845
14845
|
props: {
|
|
14846
14846
|
...l,
|
|
14847
14847
|
hasSeleccionMultiple: t,
|
|
14848
|
-
|
|
14848
|
+
chkSeleccion: r,
|
|
14849
14849
|
handleSeleccionMultiple: a
|
|
14850
14850
|
},
|
|
14851
14851
|
setProps: /* @__PURE__ */ n((u) => {
|
|
14852
14852
|
s({ ...l, ...u });
|
|
14853
14853
|
}, "setProps")
|
|
14854
14854
|
}),
|
|
14855
|
-
[
|
|
14856
|
-
l,
|
|
14857
|
-
t,
|
|
14858
|
-
r,
|
|
14859
|
-
a
|
|
14860
|
-
]
|
|
14855
|
+
[l, t, r, a]
|
|
14861
14856
|
);
|
|
14862
14857
|
return /* @__PURE__ */ f(Tp.Provider, { value: c, children: i });
|
|
14863
14858
|
}, "GrillaEtriekProvider"), ja = /* @__PURE__ */ n(() => Pe(Tp), "useGrillaEtriek"), nT = /* @__PURE__ */ n((e, t, r, a) => ({
|
|
@@ -17042,7 +17037,7 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17042
17037
|
tipo: r,
|
|
17043
17038
|
hasCreate: a,
|
|
17044
17039
|
hasSeleccionMultiple: i,
|
|
17045
|
-
|
|
17040
|
+
chkSeleccion: l = !1,
|
|
17046
17041
|
...s
|
|
17047
17042
|
} = e, c = Pe(Gl), u = r === "ventana" ? FC : Yu, d = rl(), [p, h] = We(null), [m, g] = We(l), v = /* @__PURE__ */ n((b) => {
|
|
17048
17043
|
g(b.target.checked);
|
|
@@ -17058,7 +17053,7 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17058
17053
|
{
|
|
17059
17054
|
hasCreate: a,
|
|
17060
17055
|
hasSeleccionMultiple: i,
|
|
17061
|
-
|
|
17056
|
+
chkSeleccion: m,
|
|
17062
17057
|
handleSeleccionMultiple: v,
|
|
17063
17058
|
children: /* @__PURE__ */ f(vn, { children: /* @__PURE__ */ f(Jp.Provider, { value: p, children: /* @__PURE__ */ f(Ul, { children: /* @__PURE__ */ f(
|
|
17064
17059
|
u,
|
|
@@ -17124,7 +17119,7 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17124
17119
|
bulkActionButtons: $ = a,
|
|
17125
17120
|
hasCreate: R,
|
|
17126
17121
|
hasSeleccionMultiple: k,
|
|
17127
|
-
|
|
17122
|
+
chkSeleccion: I,
|
|
17128
17123
|
..._
|
|
17129
17124
|
}
|
|
17130
17125
|
} = ja(), {
|
|
@@ -17286,7 +17281,7 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17286
17281
|
] : [];
|
|
17287
17282
|
}, "getActions")
|
|
17288
17283
|
}
|
|
17289
|
-
]) : ee, ae = Mt(() => V, []),
|
|
17284
|
+
]) : ee, ae = Mt(() => V, []), Fe = k && hr($), Ee = /* @__PURE__ */ n((q) => {
|
|
17290
17285
|
D || (k || !E ? A(q) : ce.current.isRowSelected(q[0]) ? A([]) : A(q));
|
|
17291
17286
|
}, "handleSelectionChange"), ye = /* @__PURE__ */ n((q) => {
|
|
17292
17287
|
M(v(q), z);
|
|
@@ -17296,7 +17291,7 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17296
17291
|
return /* @__PURE__ */ H(Dt, { children: [
|
|
17297
17292
|
/* @__PURE__ */ f(Jl, { isLoading: D }),
|
|
17298
17293
|
/* @__PURE__ */ H(Wm, { sx: i, className: Js.root, children: [
|
|
17299
|
-
|
|
17294
|
+
Fe && I ? /* @__PURE__ */ f(Um, { selectedIds: j, children: $ }) : null,
|
|
17300
17295
|
/* @__PURE__ */ f(
|
|
17301
17296
|
_e,
|
|
17302
17297
|
{
|
|
@@ -17326,11 +17321,11 @@ const Xp = /* @__PURE__ */ n((e) => {
|
|
|
17326
17321
|
hideFooterSelectedRowCount: !0,
|
|
17327
17322
|
hideFooter: !0,
|
|
17328
17323
|
disableMultipleRowSelection: !k && E,
|
|
17329
|
-
checkboxSelection:
|
|
17324
|
+
checkboxSelection: I,
|
|
17330
17325
|
filterMode: "server",
|
|
17331
17326
|
onFilterModelChange: ye,
|
|
17332
17327
|
rowSelectionModel: j,
|
|
17333
|
-
onRowSelectionModelChange:
|
|
17328
|
+
onRowSelectionModelChange: Ee,
|
|
17334
17329
|
isRowSelectable: /* @__PURE__ */ n((q) => q.row.id, "isRowSelectable"),
|
|
17335
17330
|
onRowDoubleClick: ze,
|
|
17336
17331
|
initialState: N,
|
|
@@ -18085,7 +18080,7 @@ const ZC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), JC = ["act
|
|
|
18085
18080
|
n(ue, "useRippleHandler");
|
|
18086
18081
|
const ge = ue("start", w), Z = ue("stop", y), N = ue("stop", C), ee = ue("stop", $), V = ue("stop", (re) => {
|
|
18087
18082
|
X && re.preventDefault(), F && F(re);
|
|
18088
|
-
}), ae = ue("start", I),
|
|
18083
|
+
}), ae = ue("start", I), Fe = ue("stop", R), Ee = ue("stop", k), ye = ue("stop", (re) => {
|
|
18089
18084
|
pe(re), te.current === !1 && ie(!1), v && v(re);
|
|
18090
18085
|
}, !1), ze = Kt((re) => {
|
|
18091
18086
|
z.current || (z.current = re.currentTarget), ce(re), te.current === !0 && (ie(!0), P && P(re)), E && E(re);
|
|
@@ -18134,8 +18129,8 @@ const ZC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), JC = ["act
|
|
|
18134
18129
|
onMouseLeave: V,
|
|
18135
18130
|
onMouseUp: ee,
|
|
18136
18131
|
onDragLeave: N,
|
|
18137
|
-
onTouchEnd:
|
|
18138
|
-
onTouchMove:
|
|
18132
|
+
onTouchEnd: Fe,
|
|
18133
|
+
onTouchMove: Ee,
|
|
18139
18134
|
onTouchStart: ae,
|
|
18140
18135
|
ref: Ye,
|
|
18141
18136
|
tabIndex: d ? -1 : _,
|
|
@@ -18946,8 +18941,8 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
18946
18941
|
const [X, ie] = T.useState(!1), [oe, xe] = T.useState(du), [se, ue] = T.useState(!1), [ge, Z] = T.useState(!1), [N, ee] = T.useState(!1), [V, ae] = T.useState({
|
|
18947
18942
|
overflow: "hidden",
|
|
18948
18943
|
scrollbarWidth: 0
|
|
18949
|
-
}),
|
|
18950
|
-
const B =
|
|
18944
|
+
}), Fe = /* @__PURE__ */ new Map(), Ee = T.useRef(null), ye = T.useRef(null), ze = /* @__PURE__ */ n(() => {
|
|
18945
|
+
const B = Ee.current;
|
|
18951
18946
|
let K;
|
|
18952
18947
|
if (B) {
|
|
18953
18948
|
const Se = B.getBoundingClientRect();
|
|
@@ -18967,8 +18962,8 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
18967
18962
|
if (B && R !== !1) {
|
|
18968
18963
|
const Se = ye.current.children;
|
|
18969
18964
|
if (Se.length > 0) {
|
|
18970
|
-
const He = Se[
|
|
18971
|
-
process.env.NODE_ENV !== "production" && (He || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${R}".`,
|
|
18965
|
+
const He = Se[Fe.get(R)];
|
|
18966
|
+
process.env.NODE_ENV !== "production" && (He || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${R}".`, Fe.keys ? `You can provide one of the following values: ${Array.from(Fe.keys()).join(", ")}.` : null].join(`
|
|
18972
18967
|
`))), me = He ? He.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !pu && me && me.width === 0 && me.height === 0 && // if the whole Tabs component is hidden, don't warn
|
|
18973
18968
|
K.clientWidth !== 0 && (K = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${R}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
18974
18969
|
`)), pu = !0);
|
|
@@ -19004,14 +18999,14 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19004
18999
|
}), ne = /* @__PURE__ */ n((B, {
|
|
19005
19000
|
animation: K = !0
|
|
19006
19001
|
} = {}) => {
|
|
19007
|
-
K ? lP(j,
|
|
19002
|
+
K ? lP(j, Ee.current, B, {
|
|
19008
19003
|
duration: i.transitions.duration.standard
|
|
19009
|
-
}) :
|
|
19004
|
+
}) : Ee.current[j] = B;
|
|
19010
19005
|
}, "scroll"), we = /* @__PURE__ */ n((B) => {
|
|
19011
|
-
let K =
|
|
19006
|
+
let K = Ee.current[j];
|
|
19012
19007
|
D ? K += B : (K += B * (l ? -1 : 1), K *= l && ym() === "reverse" ? -1 : 1), ne(K);
|
|
19013
19008
|
}, "moveTabsScroll"), Re = /* @__PURE__ */ n(() => {
|
|
19014
|
-
const B =
|
|
19009
|
+
const B = Ee.current[M];
|
|
19015
19010
|
let K = 0;
|
|
19016
19011
|
const me = Array.from(ye.current.children);
|
|
19017
19012
|
for (let Se = 0; Se < me.length; Se += 1) {
|
|
@@ -19089,7 +19084,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19089
19084
|
});
|
|
19090
19085
|
T.useEffect(() => {
|
|
19091
19086
|
const B = dn(() => {
|
|
19092
|
-
|
|
19087
|
+
Ee.current && q();
|
|
19093
19088
|
});
|
|
19094
19089
|
let K;
|
|
19095
19090
|
const me = /* @__PURE__ */ n((ot) => {
|
|
@@ -19102,7 +19097,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19102
19097
|
(It = K) == null || It.observe(ur);
|
|
19103
19098
|
});
|
|
19104
19099
|
}), B(), re();
|
|
19105
|
-
}, "handleMutation"), Se = kr(
|
|
19100
|
+
}, "handleMutation"), Se = kr(Ee.current);
|
|
19106
19101
|
Se.addEventListener("resize", B);
|
|
19107
19102
|
let He;
|
|
19108
19103
|
return typeof ResizeObserver < "u" && (K = new ResizeObserver(B), Array.from(ye.current.children).forEach((ot) => {
|
|
@@ -19117,7 +19112,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19117
19112
|
const B = Array.from(ye.current.children), K = B.length;
|
|
19118
19113
|
if (typeof IntersectionObserver < "u" && K > 0 && L && E !== !1) {
|
|
19119
19114
|
const me = B[0], Se = B[K - 1], He = {
|
|
19120
|
-
root:
|
|
19115
|
+
root: Ee.current,
|
|
19121
19116
|
threshold: 0.99
|
|
19122
19117
|
}, ot = /* @__PURE__ */ n((Ar) => {
|
|
19123
19118
|
ue(!Ar[0].isIntersecting);
|
|
@@ -19152,7 +19147,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19152
19147
|
process.env.NODE_ENV !== "production" && eo.isFragment(B) && console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
19153
19148
|
`));
|
|
19154
19149
|
const K = B.props.value === void 0 ? ut : B.props.value;
|
|
19155
|
-
|
|
19150
|
+
Fe.set(K, ut);
|
|
19156
19151
|
const me = K === R;
|
|
19157
19152
|
return ut += 1, /* @__PURE__ */ T.cloneElement(B, x({
|
|
19158
19153
|
fullWidth: k === "fullWidth",
|
|
@@ -19198,7 +19193,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
19198
19193
|
overflow: V.overflow,
|
|
19199
19194
|
[D ? `margin${l ? "Left" : "Right"}` : "marginBottom"]: I ? void 0 : -V.scrollbarWidth
|
|
19200
19195
|
},
|
|
19201
|
-
ref:
|
|
19196
|
+
ref: Ee,
|
|
19202
19197
|
children: [/* @__PURE__ */ f(SP, {
|
|
19203
19198
|
"aria-label": s,
|
|
19204
19199
|
"aria-labelledby": c,
|
|
@@ -20252,8 +20247,8 @@ const GP = /^(\d+)(th|st|nd|rd)?/i, KP = /\d+/i, YP = {
|
|
|
20252
20247
|
validate: ge,
|
|
20253
20248
|
required: Z,
|
|
20254
20249
|
...N
|
|
20255
|
-
} = X, ee = xe || te, V = ue || ce, ae = se || pe,
|
|
20256
|
-
...
|
|
20250
|
+
} = X, ee = xe || te, V = ue || ce, ae = se || pe, Fe = p !== void 0 ? p : Z !== void 0 ? Z : s || A === void 0 ? F : A, Ee = Array.isArray(w) ? w : [w], ye = Array.isArray(j) ? j : [j], ze = Array.isArray(ge) ? ge : [ge], q = [
|
|
20251
|
+
...Ee,
|
|
20257
20252
|
...ye,
|
|
20258
20253
|
...ze,
|
|
20259
20254
|
g,
|
|
@@ -20281,7 +20276,7 @@ const GP = /^(\d+)(th|st|nd|rd)?/i, KP = /\d+/i, YP = {
|
|
|
20281
20276
|
...N,
|
|
20282
20277
|
readOnly: u !== void 0 ? u : oe !== void 0 ? oe : U,
|
|
20283
20278
|
...m ? { label: m } : {},
|
|
20284
|
-
required:
|
|
20279
|
+
required: Fe
|
|
20285
20280
|
},
|
|
20286
20281
|
hidden: d !== void 0 ? d : ie !== void 0 ? ie : M
|
|
20287
20282
|
};
|
|
@@ -21750,11 +21745,11 @@ function eF(e) {
|
|
|
21750
21745
|
var L, D = S === "y" ? pt : ft, j = S === "y" ? Rt : kt, A = S === "y" ? "height" : "width", z = w[S], M = z + y[D], U = z - y[j], te = g ? -$[A] / 2 : 0, ce = E === ao ? F[A] : $[A], pe = E === ao ? -$[A] : -F[A], le = t.elements.arrow, X = g && le ? ds(le) : {
|
|
21751
21746
|
width: 0,
|
|
21752
21747
|
height: 0
|
|
21753
|
-
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gf(), oe = ie[D], xe = ie[j], se = _o(0, F[A], X[A]), ue = P ? F[A] / 2 - te - se - oe - k.mainAxis : ce - se - oe - k.mainAxis, ge = P ? -F[A] / 2 + te + se + xe + k.mainAxis : pe + se + xe + k.mainAxis, Z = t.elements.arrow && On(t.elements.arrow), N = Z ? S === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, ee = (L = I == null ? void 0 : I[S]) != null ? L : 0, V = z + ue - ee - N, ae = z + ge - ee,
|
|
21754
|
-
w[S] =
|
|
21748
|
+
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : gf(), oe = ie[D], xe = ie[j], se = _o(0, F[A], X[A]), ue = P ? F[A] / 2 - te - se - oe - k.mainAxis : ce - se - oe - k.mainAxis, ge = P ? -F[A] / 2 + te + se + xe + k.mainAxis : pe + se + xe + k.mainAxis, Z = t.elements.arrow && On(t.elements.arrow), N = Z ? S === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, ee = (L = I == null ? void 0 : I[S]) != null ? L : 0, V = z + ue - ee - N, ae = z + ge - ee, Fe = _o(g ? aa(M, V) : M, z, g ? Fr(U, ae) : U);
|
|
21749
|
+
w[S] = Fe, _[S] = Fe - z;
|
|
21755
21750
|
}
|
|
21756
21751
|
if (c) {
|
|
21757
|
-
var
|
|
21752
|
+
var Ee, ye = S === "x" ? pt : ft, ze = S === "x" ? Rt : kt, q = w[O], ne = O === "y" ? "height" : "width", we = q + y[ye], Re = q - y[ze], Te = [pt, ft].indexOf(C) !== -1, De = (Ee = I == null ? void 0 : I[O]) != null ? Ee : 0, Ye = Te ? we : q - F[ne] - $[ne] - De + k.altAxis, et = Te ? q + F[ne] + $[ne] - De - k.altAxis : Re, ve = g && Te ? C1(Ye, q, et) : _o(g ? Ye : we, q, g ? et : Re);
|
|
21758
21753
|
w[O] = ve, _[O] = ve - q;
|
|
21759
21754
|
}
|
|
21760
21755
|
t.modifiersData[a] = _;
|
|
@@ -22679,7 +22674,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22679
22674
|
TransitionProps: ee
|
|
22680
22675
|
} = w, V = G(w, CF), ae = /* @__PURE__ */ T.isValidElement($) ? $ : /* @__PURE__ */ f("span", {
|
|
22681
22676
|
children: $
|
|
22682
|
-
}),
|
|
22677
|
+
}), Fe = Ir(), Ee = Aa(), [ye, ze] = T.useState(), [q, ne] = T.useState(null), we = T.useRef(!1), Re = D || U, Te = Hr(), De = Hr(), Ye = Hr(), et = Hr(), [ve, re] = Zn({
|
|
22683
22678
|
controlled: ie,
|
|
22684
22679
|
default: !1,
|
|
22685
22680
|
name: "Tooltip",
|
|
@@ -22708,7 +22703,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22708
22703
|
(Oe) => {
|
|
22709
22704
|
Tu.start(800 + ce, () => {
|
|
22710
22705
|
Rn = !1;
|
|
22711
|
-
}), re(!1), le && Ve && le(Oe), Te.start(
|
|
22706
|
+
}), re(!1), le && Ve && le(Oe), Te.start(Fe.transitions.duration.shortest, () => {
|
|
22712
22707
|
we.current = !1;
|
|
22713
22708
|
});
|
|
22714
22709
|
}
|
|
@@ -22790,7 +22785,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22790
22785
|
modifiers: bt
|
|
22791
22786
|
});
|
|
22792
22787
|
}, [q, se]), Eo = x({}, w, {
|
|
22793
|
-
isRtl:
|
|
22788
|
+
isRtl: Ee,
|
|
22794
22789
|
arrow: F,
|
|
22795
22790
|
disableInteractive: Re,
|
|
22796
22791
|
placement: oe,
|
|
@@ -22826,7 +22821,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
|
|
|
22826
22821
|
children: /* @__PURE__ */ n(({
|
|
22827
22822
|
TransitionProps: Oe
|
|
22828
22823
|
}) => /* @__PURE__ */ f(Hs, x({
|
|
22829
|
-
timeout:
|
|
22824
|
+
timeout: Fe.transitions.duration.shorter
|
|
22830
22825
|
}, Oe, dm, {
|
|
22831
22826
|
children: /* @__PURE__ */ H(Ws, x({}, pm, {
|
|
22832
22827
|
children: [Z, F ? /* @__PURE__ */ f(Us, x({}, fm, {
|
|
@@ -23364,7 +23359,7 @@ const BF = /* @__PURE__ */ n((e) => {
|
|
|
23364
23359
|
props: {
|
|
23365
23360
|
hasCreate: E,
|
|
23366
23361
|
hasSeleccionMultiple: P,
|
|
23367
|
-
|
|
23362
|
+
chkSeleccion: S,
|
|
23368
23363
|
handleSeleccionMultiple: O
|
|
23369
23364
|
}
|
|
23370
23365
|
} = ja(), w = { ...C, ...y };
|
|
@@ -24676,8 +24671,8 @@ const Fw = /* @__PURE__ */ n((e) => {
|
|
|
24676
24671
|
return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
|
|
24677
24672
|
const ee = Hn(u), V = ee && ee.nodeType === 1 ? ee : br(L.current).body, ae = V.getBoundingClientRect();
|
|
24678
24673
|
if (process.env.NODE_ENV !== "production") {
|
|
24679
|
-
const
|
|
24680
|
-
process.env.NODE_ENV !== "test" &&
|
|
24674
|
+
const Fe = V.getBoundingClientRect();
|
|
24675
|
+
process.env.NODE_ENV !== "test" && Fe.top === 0 && Fe.left === 0 && Fe.right === 0 && Fe.bottom === 0 && console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
24681
24676
|
`));
|
|
24682
24677
|
}
|
|
24683
24678
|
return {
|
|
@@ -24698,15 +24693,15 @@ const Fw = /* @__PURE__ */ n((e) => {
|
|
|
24698
24693
|
left: null,
|
|
24699
24694
|
transformOrigin: Fu(ae)
|
|
24700
24695
|
};
|
|
24701
|
-
const
|
|
24702
|
-
let
|
|
24703
|
-
const ze =
|
|
24704
|
-
if (y !== null &&
|
|
24705
|
-
const Te =
|
|
24706
|
-
|
|
24696
|
+
const Fe = z();
|
|
24697
|
+
let Ee = Fe.top - ae.vertical, ye = Fe.left - ae.horizontal;
|
|
24698
|
+
const ze = Ee + V.height, q = ye + V.width, ne = kr(Hn(u)), we = ne.innerHeight - y, Re = ne.innerWidth - y;
|
|
24699
|
+
if (y !== null && Ee < y) {
|
|
24700
|
+
const Te = Ee - y;
|
|
24701
|
+
Ee -= Te, ae.vertical += Te;
|
|
24707
24702
|
} else if (y !== null && ze > we) {
|
|
24708
24703
|
const Te = ze - we;
|
|
24709
|
-
|
|
24704
|
+
Ee -= Te, ae.vertical += Te;
|
|
24710
24705
|
}
|
|
24711
24706
|
if (process.env.NODE_ENV !== "production" && V.height > we && V.height && we && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${V.height - we}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
24712
24707
|
`)), y !== null && ye < y) {
|
|
@@ -24717,7 +24712,7 @@ const Fw = /* @__PURE__ */ n((e) => {
|
|
|
24717
24712
|
ye -= Te, ae.horizontal += Te;
|
|
24718
24713
|
}
|
|
24719
24714
|
return {
|
|
24720
|
-
top: `${Math.round(
|
|
24715
|
+
top: `${Math.round(Ee)}px`,
|
|
24721
24716
|
left: `${Math.round(ye)}px`,
|
|
24722
24717
|
transformOrigin: Fu(ae)
|
|
24723
24718
|
};
|
|
@@ -26713,7 +26708,8 @@ const jR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
|
|
|
26713
26708
|
exporter: !1,
|
|
26714
26709
|
actions: /* @__PURE__ */ f(WF, {}),
|
|
26715
26710
|
actionButtons: !1,
|
|
26716
|
-
|
|
26711
|
+
hasSeleccionMultiple: !1,
|
|
26712
|
+
chkSeleccion: !0,
|
|
26717
26713
|
resource: r
|
|
26718
26714
|
}),
|
|
26719
26715
|
onConfirm: v,
|
|
@@ -27422,13 +27418,13 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27422
27418
|
value: X
|
|
27423
27419
|
});
|
|
27424
27420
|
}, [X, ae, ie]);
|
|
27425
|
-
const
|
|
27421
|
+
const Fe = /* @__PURE__ */ n((ve) => {
|
|
27426
27422
|
if (N.disabled) {
|
|
27427
27423
|
ve.stopPropagation();
|
|
27428
27424
|
return;
|
|
27429
27425
|
}
|
|
27430
27426
|
I && I(ve), E.onFocus && E.onFocus(ve), Z && Z.onFocus ? Z.onFocus(ve) : ge(!0);
|
|
27431
|
-
}, "handleFocus"),
|
|
27427
|
+
}, "handleFocus"), Ee = /* @__PURE__ */ n((ve) => {
|
|
27432
27428
|
$ && $(ve), E.onBlur && E.onBlur(ve), Z && Z.onBlur ? Z.onBlur(ve) : ge(!1);
|
|
27433
27429
|
}, "handleBlur"), ye = /* @__PURE__ */ n((ve, ...re) => {
|
|
27434
27430
|
if (!ie) {
|
|
@@ -27514,9 +27510,9 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
27514
27510
|
}, {
|
|
27515
27511
|
ref: se,
|
|
27516
27512
|
className: Y(Te.input, ne.className, j && "MuiInputBase-readOnly"),
|
|
27517
|
-
onBlur:
|
|
27513
|
+
onBlur: Ee,
|
|
27518
27514
|
onChange: ye,
|
|
27519
|
-
onFocus:
|
|
27515
|
+
onFocus: Fe
|
|
27520
27516
|
}))
|
|
27521
27517
|
}), v, A ? A(x({}, N, {
|
|
27522
27518
|
startAdornment: te
|
|
@@ -29957,10 +29953,10 @@ const tM = /* @__PURE__ */ n((e) => {
|
|
|
29957
29953
|
J.button === 0 && (J.preventDefault(), le.current.focus(), N(!0, J));
|
|
29958
29954
|
}, "handleMouseDown"), V = /* @__PURE__ */ n((J) => {
|
|
29959
29955
|
N(!1, J);
|
|
29960
|
-
}, "handleClose"), ae = T.Children.toArray(u),
|
|
29956
|
+
}, "handleClose"), ae = T.Children.toArray(u), Fe = /* @__PURE__ */ n((J) => {
|
|
29961
29957
|
const B = ae.find((K) => K.props.value === J.target.value);
|
|
29962
29958
|
B !== void 0 && (U(B.props.value), w && w(J, B));
|
|
29963
|
-
}, "handleChange"),
|
|
29959
|
+
}, "handleChange"), Ee = /* @__PURE__ */ n((J) => (B) => {
|
|
29964
29960
|
let K;
|
|
29965
29961
|
if (B.currentTarget.hasAttribute("tabindex")) {
|
|
29966
29962
|
if (P) {
|
|
@@ -30020,7 +30016,7 @@ const tM = /* @__PURE__ */ n((e) => {
|
|
|
30020
30016
|
B = ju(M, J.props.value), B && Te && (we = J.props.children);
|
|
30021
30017
|
return B && (De = !0), /* @__PURE__ */ T.cloneElement(J, {
|
|
30022
30018
|
"aria-selected": B ? "true" : "false",
|
|
30023
|
-
onClick:
|
|
30019
|
+
onClick: Ee(J),
|
|
30024
30020
|
onKeyUp: /* @__PURE__ */ n((K) => {
|
|
30025
30021
|
K.key === " " && K.preventDefault(), J.props.onKeyUp && J.props.onKeyUp(K);
|
|
30026
30022
|
}, "onKeyUp"),
|
|
@@ -30082,7 +30078,7 @@ const tM = /* @__PURE__ */ n((e) => {
|
|
|
30082
30078
|
name: S,
|
|
30083
30079
|
ref: pe,
|
|
30084
30080
|
"aria-hidden": !0,
|
|
30085
|
-
onChange:
|
|
30081
|
+
onChange: Fe,
|
|
30086
30082
|
tabIndex: -1,
|
|
30087
30083
|
disabled: m,
|
|
30088
30084
|
className: ut.nativeInput,
|