biblio-react 3.0.0-alpha31 → 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 CHANGED
@@ -2080,24 +2080,24 @@ function ug() {
2080
2080
  var ae = V.$$typeof;
2081
2081
  switch (ae) {
2082
2082
  case e:
2083
- var Ee = V.type;
2084
- switch (Ee) {
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 Ee;
2090
+ return Fe;
2091
2091
  default:
2092
- var Fe = Ee && Ee.$$typeof;
2093
- switch (Fe) {
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 Fe;
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
- chkSeleccionMultiple: r,
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
- chkSeleccionMultiple: r,
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) => ({
@@ -17038,27 +17033,33 @@ const Xp = /* @__PURE__ */ n((e) => {
17038
17033
  height: "9em"
17039
17034
  }
17040
17035
  })), KM = /* @__PURE__ */ n((e) => {
17041
- const t = tt(e), { tipo: r, hasCreate: a, hasSeleccionMultiple: i, ...l } = e, s = Pe(Gl), c = r === "ventana" ? FC : Yu, u = rl(), [d, p] = We(null), [h, m] = We(!1), g = /* @__PURE__ */ n((v) => {
17042
- m(v.target.checked);
17036
+ const t = tt(e), {
17037
+ tipo: r,
17038
+ hasCreate: a,
17039
+ hasSeleccionMultiple: i,
17040
+ chkSeleccion: l = !1,
17041
+ ...s
17042
+ } = e, c = Pe(Gl), u = r === "ventana" ? FC : Yu, d = rl(), [p, h] = We(null), [m, g] = We(l), v = /* @__PURE__ */ n((b) => {
17043
+ g(b.target.checked);
17043
17044
  }, "handleChange");
17044
17045
  return ct(() => {
17045
- u.getGrillaConfig(t).then((v) => {
17046
- p(v.data);
17047
- }).catch((v) => {
17048
- d === null && p([]);
17046
+ d.getGrillaConfig(t).then((b) => {
17047
+ h(b.data);
17048
+ }).catch((b) => {
17049
+ p === null && h([]);
17049
17050
  });
17050
- }, []), d === null ? /* @__PURE__ */ f(Zp, { loadingPrimary: "", loadingSecondary: "" }) : /* @__PURE__ */ f(
17051
+ }, []), p === null ? /* @__PURE__ */ f(Zp, { loadingPrimary: "", loadingSecondary: "" }) : /* @__PURE__ */ f(
17051
17052
  oT,
17052
17053
  {
17053
17054
  hasCreate: a,
17054
17055
  hasSeleccionMultiple: i,
17055
- chkSeleccionMultiple: h,
17056
- handleSeleccionMultiple: g,
17057
- children: /* @__PURE__ */ f(vn, { children: /* @__PURE__ */ f(Jp.Provider, { value: d, children: /* @__PURE__ */ f(Ul, { children: /* @__PURE__ */ f(
17058
- c,
17056
+ chkSeleccion: m,
17057
+ handleSeleccionMultiple: v,
17058
+ children: /* @__PURE__ */ f(vn, { children: /* @__PURE__ */ f(Jp.Provider, { value: p, children: /* @__PURE__ */ f(Ul, { children: /* @__PURE__ */ f(
17059
+ u,
17059
17060
  {
17060
- ...l,
17061
- disableSyncWithLocation: !!s,
17061
+ ...s,
17062
+ disableSyncWithLocation: !!c,
17062
17063
  storeKey: `${t}.listParams`
17063
17064
  }
17064
17065
  ) }) }) })
@@ -17118,7 +17119,7 @@ const Xp = /* @__PURE__ */ n((e) => {
17118
17119
  bulkActionButtons: $ = a,
17119
17120
  hasCreate: R,
17120
17121
  hasSeleccionMultiple: k,
17121
- chkSeleccionMultiple: I,
17122
+ chkSeleccion: I,
17122
17123
  ..._
17123
17124
  }
17124
17125
  } = ja(), {
@@ -17280,7 +17281,7 @@ const Xp = /* @__PURE__ */ n((e) => {
17280
17281
  ] : [];
17281
17282
  }, "getActions")
17282
17283
  }
17283
- ]) : ee, ae = Mt(() => V, []), Ee = k && hr($), Fe = /* @__PURE__ */ n((q) => {
17284
+ ]) : ee, ae = Mt(() => V, []), Fe = k && hr($), Ee = /* @__PURE__ */ n((q) => {
17284
17285
  D || (k || !E ? A(q) : ce.current.isRowSelected(q[0]) ? A([]) : A(q));
17285
17286
  }, "handleSelectionChange"), ye = /* @__PURE__ */ n((q) => {
17286
17287
  M(v(q), z);
@@ -17290,7 +17291,7 @@ const Xp = /* @__PURE__ */ n((e) => {
17290
17291
  return /* @__PURE__ */ H(Dt, { children: [
17291
17292
  /* @__PURE__ */ f(Jl, { isLoading: D }),
17292
17293
  /* @__PURE__ */ H(Wm, { sx: i, className: Js.root, children: [
17293
- Ee && I ? /* @__PURE__ */ f(Um, { selectedIds: j, children: $ }) : null,
17294
+ Fe && I ? /* @__PURE__ */ f(Um, { selectedIds: j, children: $ }) : null,
17294
17295
  /* @__PURE__ */ f(
17295
17296
  _e,
17296
17297
  {
@@ -17320,11 +17321,11 @@ const Xp = /* @__PURE__ */ n((e) => {
17320
17321
  hideFooterSelectedRowCount: !0,
17321
17322
  hideFooter: !0,
17322
17323
  disableMultipleRowSelection: !k && E,
17323
- checkboxSelection: Ee && I,
17324
+ checkboxSelection: I,
17324
17325
  filterMode: "server",
17325
17326
  onFilterModelChange: ye,
17326
17327
  rowSelectionModel: j,
17327
- onRowSelectionModelChange: Fe,
17328
+ onRowSelectionModelChange: Ee,
17328
17329
  isRowSelectable: /* @__PURE__ */ n((q) => q.row.id, "isRowSelectable"),
17329
17330
  onRowDoubleClick: ze,
17330
17331
  initialState: N,
@@ -18079,7 +18080,7 @@ const ZC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), JC = ["act
18079
18080
  n(ue, "useRippleHandler");
18080
18081
  const ge = ue("start", w), Z = ue("stop", y), N = ue("stop", C), ee = ue("stop", $), V = ue("stop", (re) => {
18081
18082
  X && re.preventDefault(), F && F(re);
18082
- }), ae = ue("start", I), Ee = ue("stop", R), Fe = ue("stop", k), ye = ue("stop", (re) => {
18083
+ }), ae = ue("start", I), Fe = ue("stop", R), Ee = ue("stop", k), ye = ue("stop", (re) => {
18083
18084
  pe(re), te.current === !1 && ie(!1), v && v(re);
18084
18085
  }, !1), ze = Kt((re) => {
18085
18086
  z.current || (z.current = re.currentTarget), ce(re), te.current === !0 && (ie(!0), P && P(re)), E && E(re);
@@ -18128,8 +18129,8 @@ const ZC = de("MuiButtonBase", ["root", "disabled", "focusVisible"]), JC = ["act
18128
18129
  onMouseLeave: V,
18129
18130
  onMouseUp: ee,
18130
18131
  onDragLeave: N,
18131
- onTouchEnd: Ee,
18132
- onTouchMove: Fe,
18132
+ onTouchEnd: Fe,
18133
+ onTouchMove: Ee,
18133
18134
  onTouchStart: ae,
18134
18135
  ref: Ye,
18135
18136
  tabIndex: d ? -1 : _,
@@ -18940,8 +18941,8 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
18940
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({
18941
18942
  overflow: "hidden",
18942
18943
  scrollbarWidth: 0
18943
- }), Ee = /* @__PURE__ */ new Map(), Fe = T.useRef(null), ye = T.useRef(null), ze = /* @__PURE__ */ n(() => {
18944
- const B = Fe.current;
18944
+ }), Fe = /* @__PURE__ */ new Map(), Ee = T.useRef(null), ye = T.useRef(null), ze = /* @__PURE__ */ n(() => {
18945
+ const B = Ee.current;
18945
18946
  let K;
18946
18947
  if (B) {
18947
18948
  const Se = B.getBoundingClientRect();
@@ -18961,8 +18962,8 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
18961
18962
  if (B && R !== !1) {
18962
18963
  const Se = ye.current.children;
18963
18964
  if (Se.length > 0) {
18964
- const He = Se[Ee.get(R)];
18965
- 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}".`, Ee.keys ? `You can provide one of the following values: ${Array.from(Ee.keys()).join(", ")}.` : null].join(`
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(`
18966
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
18967
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(`
18968
18969
  `)), pu = !0);
@@ -18998,14 +18999,14 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
18998
18999
  }), ne = /* @__PURE__ */ n((B, {
18999
19000
  animation: K = !0
19000
19001
  } = {}) => {
19001
- K ? lP(j, Fe.current, B, {
19002
+ K ? lP(j, Ee.current, B, {
19002
19003
  duration: i.transitions.duration.standard
19003
- }) : Fe.current[j] = B;
19004
+ }) : Ee.current[j] = B;
19004
19005
  }, "scroll"), we = /* @__PURE__ */ n((B) => {
19005
- let K = Fe.current[j];
19006
+ let K = Ee.current[j];
19006
19007
  D ? K += B : (K += B * (l ? -1 : 1), K *= l && ym() === "reverse" ? -1 : 1), ne(K);
19007
19008
  }, "moveTabsScroll"), Re = /* @__PURE__ */ n(() => {
19008
- const B = Fe.current[M];
19009
+ const B = Ee.current[M];
19009
19010
  let K = 0;
19010
19011
  const me = Array.from(ye.current.children);
19011
19012
  for (let Se = 0; Se < me.length; Se += 1) {
@@ -19083,7 +19084,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
19083
19084
  });
19084
19085
  T.useEffect(() => {
19085
19086
  const B = dn(() => {
19086
- Fe.current && q();
19087
+ Ee.current && q();
19087
19088
  });
19088
19089
  let K;
19089
19090
  const me = /* @__PURE__ */ n((ot) => {
@@ -19096,7 +19097,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
19096
19097
  (It = K) == null || It.observe(ur);
19097
19098
  });
19098
19099
  }), B(), re();
19099
- }, "handleMutation"), Se = kr(Fe.current);
19100
+ }, "handleMutation"), Se = kr(Ee.current);
19100
19101
  Se.addEventListener("resize", B);
19101
19102
  let He;
19102
19103
  return typeof ResizeObserver < "u" && (K = new ResizeObserver(B), Array.from(ye.current.children).forEach((ot) => {
@@ -19111,7 +19112,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
19111
19112
  const B = Array.from(ye.current.children), K = B.length;
19112
19113
  if (typeof IntersectionObserver < "u" && K > 0 && L && E !== !1) {
19113
19114
  const me = B[0], Se = B[K - 1], He = {
19114
- root: Fe.current,
19115
+ root: Ee.current,
19115
19116
  threshold: 0.99
19116
19117
  }, ot = /* @__PURE__ */ n((Ar) => {
19117
19118
  ue(!Ar[0].isIntersecting);
@@ -19146,7 +19147,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
19146
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(`
19147
19148
  `));
19148
19149
  const K = B.props.value === void 0 ? ut : B.props.value;
19149
- Ee.set(K, ut);
19150
+ Fe.set(K, ut);
19150
19151
  const me = K === R;
19151
19152
  return ut += 1, /* @__PURE__ */ T.cloneElement(B, x({
19152
19153
  fullWidth: k === "fullWidth",
@@ -19192,7 +19193,7 @@ const af = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
19192
19193
  overflow: V.overflow,
19193
19194
  [D ? `margin${l ? "Left" : "Right"}` : "marginBottom"]: I ? void 0 : -V.scrollbarWidth
19194
19195
  },
19195
- ref: Fe,
19196
+ ref: Ee,
19196
19197
  children: [/* @__PURE__ */ f(SP, {
19197
19198
  "aria-label": s,
19198
19199
  "aria-labelledby": c,
@@ -20246,8 +20247,8 @@ const GP = /^(\d+)(th|st|nd|rd)?/i, KP = /\d+/i, YP = {
20246
20247
  validate: ge,
20247
20248
  required: Z,
20248
20249
  ...N
20249
- } = X, ee = xe || te, V = ue || ce, ae = se || pe, Ee = p !== void 0 ? p : Z !== void 0 ? Z : s || A === void 0 ? F : A, Fe = Array.isArray(w) ? w : [w], ye = Array.isArray(j) ? j : [j], ze = Array.isArray(ge) ? ge : [ge], q = [
20250
- ...Fe,
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,
20251
20252
  ...ye,
20252
20253
  ...ze,
20253
20254
  g,
@@ -20275,7 +20276,7 @@ const GP = /^(\d+)(th|st|nd|rd)?/i, KP = /\d+/i, YP = {
20275
20276
  ...N,
20276
20277
  readOnly: u !== void 0 ? u : oe !== void 0 ? oe : U,
20277
20278
  ...m ? { label: m } : {},
20278
- required: Ee
20279
+ required: Fe
20279
20280
  },
20280
20281
  hidden: d !== void 0 ? d : ie !== void 0 ? ie : M
20281
20282
  };
@@ -21744,11 +21745,11 @@ function eF(e) {
21744
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) : {
21745
21746
  width: 0,
21746
21747
  height: 0
21747
- }, 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, Ee = _o(g ? aa(M, V) : M, z, g ? Fr(U, ae) : U);
21748
- w[S] = Ee, _[S] = Ee - z;
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;
21749
21750
  }
21750
21751
  if (c) {
21751
- var Fe, 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 = (Fe = I == null ? void 0 : I[O]) != null ? Fe : 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);
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);
21752
21753
  w[O] = ve, _[O] = ve - q;
21753
21754
  }
21754
21755
  t.modifiersData[a] = _;
@@ -22673,7 +22674,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22673
22674
  TransitionProps: ee
22674
22675
  } = w, V = G(w, CF), ae = /* @__PURE__ */ T.isValidElement($) ? $ : /* @__PURE__ */ f("span", {
22675
22676
  children: $
22676
- }), Ee = Ir(), Fe = 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({
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({
22677
22678
  controlled: ie,
22678
22679
  default: !1,
22679
22680
  name: "Tooltip",
@@ -22702,7 +22703,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22702
22703
  (Oe) => {
22703
22704
  Tu.start(800 + ce, () => {
22704
22705
  Rn = !1;
22705
- }), re(!1), le && Ve && le(Oe), Te.start(Ee.transitions.duration.shortest, () => {
22706
+ }), re(!1), le && Ve && le(Oe), Te.start(Fe.transitions.duration.shortest, () => {
22706
22707
  we.current = !1;
22707
22708
  });
22708
22709
  }
@@ -22784,7 +22785,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22784
22785
  modifiers: bt
22785
22786
  });
22786
22787
  }, [q, se]), Eo = x({}, w, {
22787
- isRtl: Fe,
22788
+ isRtl: Ee,
22788
22789
  arrow: F,
22789
22790
  disableInteractive: Re,
22790
22791
  placement: oe,
@@ -22820,7 +22821,7 @@ const Ga = /* @__PURE__ */ T.forwardRef(/* @__PURE__ */ n(function(t, r) {
22820
22821
  children: /* @__PURE__ */ n(({
22821
22822
  TransitionProps: Oe
22822
22823
  }) => /* @__PURE__ */ f(Hs, x({
22823
- timeout: Ee.transitions.duration.shorter
22824
+ timeout: Fe.transitions.duration.shorter
22824
22825
  }, Oe, dm, {
22825
22826
  children: /* @__PURE__ */ H(Ws, x({}, pm, {
22826
22827
  children: [Z, F ? /* @__PURE__ */ f(Us, x({}, fm, {
@@ -23358,7 +23359,7 @@ const BF = /* @__PURE__ */ n((e) => {
23358
23359
  props: {
23359
23360
  hasCreate: E,
23360
23361
  hasSeleccionMultiple: P,
23361
- chkSeleccionMultiple: S,
23362
+ chkSeleccion: S,
23362
23363
  handleSeleccionMultiple: O
23363
23364
  }
23364
23365
  } = ja(), w = { ...C, ...y };
@@ -24670,8 +24671,8 @@ const Fw = /* @__PURE__ */ n((e) => {
24670
24671
  return process.env.NODE_ENV !== "production" && (p || console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')), p;
24671
24672
  const ee = Hn(u), V = ee && ee.nodeType === 1 ? ee : br(L.current).body, ae = V.getBoundingClientRect();
24672
24673
  if (process.env.NODE_ENV !== "production") {
24673
- const Ee = V.getBoundingClientRect();
24674
- process.env.NODE_ENV !== "test" && Ee.top === 0 && Ee.left === 0 && Ee.right === 0 && Ee.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(`
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(`
24675
24676
  `));
24676
24677
  }
24677
24678
  return {
@@ -24692,15 +24693,15 @@ const Fw = /* @__PURE__ */ n((e) => {
24692
24693
  left: null,
24693
24694
  transformOrigin: Fu(ae)
24694
24695
  };
24695
- const Ee = z();
24696
- let Fe = Ee.top - ae.vertical, ye = Ee.left - ae.horizontal;
24697
- const ze = Fe + V.height, q = ye + V.width, ne = kr(Hn(u)), we = ne.innerHeight - y, Re = ne.innerWidth - y;
24698
- if (y !== null && Fe < y) {
24699
- const Te = Fe - y;
24700
- Fe -= Te, ae.vertical += Te;
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;
24701
24702
  } else if (y !== null && ze > we) {
24702
24703
  const Te = ze - we;
24703
- Fe -= Te, ae.vertical += Te;
24704
+ Ee -= Te, ae.vertical += Te;
24704
24705
  }
24705
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(`
24706
24707
  `)), y !== null && ye < y) {
@@ -24711,7 +24712,7 @@ const Fw = /* @__PURE__ */ n((e) => {
24711
24712
  ye -= Te, ae.horizontal += Te;
24712
24713
  }
24713
24714
  return {
24714
- top: `${Math.round(Fe)}px`,
24715
+ top: `${Math.round(Ee)}px`,
24715
24716
  left: `${Math.round(ye)}px`,
24716
24717
  transformOrigin: Fu(ae)
24717
24718
  };
@@ -26707,7 +26708,8 @@ const jR = /* @__PURE__ */ n((e) => /* @__PURE__ */ f(
26707
26708
  exporter: !1,
26708
26709
  actions: /* @__PURE__ */ f(WF, {}),
26709
26710
  actionButtons: !1,
26710
- disableMultipleRowSelection: !0,
26711
+ hasSeleccionMultiple: !1,
26712
+ chkSeleccion: !0,
26711
26713
  resource: r
26712
26714
  }),
26713
26715
  onConfirm: v,
@@ -27416,13 +27418,13 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
27416
27418
  value: X
27417
27419
  });
27418
27420
  }, [X, ae, ie]);
27419
- const Ee = /* @__PURE__ */ n((ve) => {
27421
+ const Fe = /* @__PURE__ */ n((ve) => {
27420
27422
  if (N.disabled) {
27421
27423
  ve.stopPropagation();
27422
27424
  return;
27423
27425
  }
27424
27426
  I && I(ve), E.onFocus && E.onFocus(ve), Z && Z.onFocus ? Z.onFocus(ve) : ge(!0);
27425
- }, "handleFocus"), Fe = /* @__PURE__ */ n((ve) => {
27427
+ }, "handleFocus"), Ee = /* @__PURE__ */ n((ve) => {
27426
27428
  $ && $(ve), E.onBlur && E.onBlur(ve), Z && Z.onBlur ? Z.onBlur(ve) : ge(!1);
27427
27429
  }, "handleBlur"), ye = /* @__PURE__ */ n((ve, ...re) => {
27428
27430
  if (!ie) {
@@ -27508,9 +27510,9 @@ const uo = de("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
27508
27510
  }, {
27509
27511
  ref: se,
27510
27512
  className: Y(Te.input, ne.className, j && "MuiInputBase-readOnly"),
27511
- onBlur: Fe,
27513
+ onBlur: Ee,
27512
27514
  onChange: ye,
27513
- onFocus: Ee
27515
+ onFocus: Fe
27514
27516
  }))
27515
27517
  }), v, A ? A(x({}, N, {
27516
27518
  startAdornment: te
@@ -29951,10 +29953,10 @@ const tM = /* @__PURE__ */ n((e) => {
29951
29953
  J.button === 0 && (J.preventDefault(), le.current.focus(), N(!0, J));
29952
29954
  }, "handleMouseDown"), V = /* @__PURE__ */ n((J) => {
29953
29955
  N(!1, J);
29954
- }, "handleClose"), ae = T.Children.toArray(u), Ee = /* @__PURE__ */ n((J) => {
29956
+ }, "handleClose"), ae = T.Children.toArray(u), Fe = /* @__PURE__ */ n((J) => {
29955
29957
  const B = ae.find((K) => K.props.value === J.target.value);
29956
29958
  B !== void 0 && (U(B.props.value), w && w(J, B));
29957
- }, "handleChange"), Fe = /* @__PURE__ */ n((J) => (B) => {
29959
+ }, "handleChange"), Ee = /* @__PURE__ */ n((J) => (B) => {
29958
29960
  let K;
29959
29961
  if (B.currentTarget.hasAttribute("tabindex")) {
29960
29962
  if (P) {
@@ -30014,7 +30016,7 @@ const tM = /* @__PURE__ */ n((e) => {
30014
30016
  B = ju(M, J.props.value), B && Te && (we = J.props.children);
30015
30017
  return B && (De = !0), /* @__PURE__ */ T.cloneElement(J, {
30016
30018
  "aria-selected": B ? "true" : "false",
30017
- onClick: Fe(J),
30019
+ onClick: Ee(J),
30018
30020
  onKeyUp: /* @__PURE__ */ n((K) => {
30019
30021
  K.key === " " && K.preventDefault(), J.props.onKeyUp && J.props.onKeyUp(K);
30020
30022
  }, "onKeyUp"),
@@ -30076,7 +30078,7 @@ const tM = /* @__PURE__ */ n((e) => {
30076
30078
  name: S,
30077
30079
  ref: pe,
30078
30080
  "aria-hidden": !0,
30079
- onChange: Ee,
30081
+ onChange: Fe,
30080
30082
  tabIndex: -1,
30081
30083
  disabled: m,
30082
30084
  className: ut.nativeInput,