biblio-react 3.0.0-alpha142 → 3.0.0-alpha143
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 +37 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -32905,44 +32905,53 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32905
32905
|
all: !0,
|
|
32906
32906
|
none: !1
|
|
32907
32907
|
}, H6 = /* @__PURE__ */ a((t) => !t || t != null && t.all ? "Todos" : t != null && t.none || t.seleccion.length === 0 ? "Ninguno" : `Selección (${t.seleccion.split(",").length})`, "format$1"), W6 = /* @__PURE__ */ a((t) => t, "parse$1"), ore = /* @__PURE__ */ a((t) => {
|
|
32908
|
-
const
|
|
32909
|
-
hidden:
|
|
32910
|
-
propsContenido: {
|
|
32908
|
+
const [e, r] = De(!1), n = Ni(!1), {
|
|
32909
|
+
hidden: o,
|
|
32910
|
+
propsContenido: {
|
|
32911
|
+
readOnly: i,
|
|
32912
|
+
label: s,
|
|
32913
|
+
sx: l,
|
|
32914
|
+
onChange: u,
|
|
32915
|
+
asistant: d,
|
|
32916
|
+
asistantResource: p,
|
|
32917
|
+
source: f,
|
|
32918
|
+
...h
|
|
32919
|
+
}
|
|
32911
32920
|
} = pr(t), m = dr();
|
|
32912
32921
|
qe(() => {
|
|
32913
|
-
|
|
32914
|
-
m.setValue(
|
|
32915
|
-
}, 0),
|
|
32916
|
-
}, [m,
|
|
32922
|
+
n.current || (setTimeout(() => {
|
|
32923
|
+
m.setValue(f, z6);
|
|
32924
|
+
}, 0), n.current = !0);
|
|
32925
|
+
}, [m, f]);
|
|
32917
32926
|
const g = Ge(() => {
|
|
32918
|
-
|
|
32919
|
-
}, [
|
|
32920
|
-
|
|
32927
|
+
r(!1);
|
|
32928
|
+
}, [r]), b = /* @__PURE__ */ a((T, k) => {
|
|
32929
|
+
r(!1), m.setValue(f, {
|
|
32921
32930
|
seleccion: k.join(","),
|
|
32922
32931
|
all: !1,
|
|
32923
32932
|
none: !1
|
|
32924
|
-
}),
|
|
32933
|
+
}), u(T);
|
|
32925
32934
|
}, "handleConfirm"), v = /* @__PURE__ */ a((T) => {
|
|
32926
|
-
m.setValue(
|
|
32935
|
+
m.setValue(f, {
|
|
32927
32936
|
seleccion: "",
|
|
32928
32937
|
all: !1,
|
|
32929
32938
|
none: !0
|
|
32930
|
-
}),
|
|
32939
|
+
}), u(T);
|
|
32931
32940
|
}, "handleNinguno"), x = /* @__PURE__ */ a((T) => {
|
|
32932
|
-
m.setValue(
|
|
32941
|
+
m.setValue(f, {
|
|
32933
32942
|
seleccion: "",
|
|
32934
32943
|
all: !0,
|
|
32935
32944
|
none: !1
|
|
32936
|
-
}),
|
|
32945
|
+
}), u(T);
|
|
32937
32946
|
}, "handleTodos");
|
|
32938
|
-
return
|
|
32947
|
+
return o ? null : /* @__PURE__ */ W(Qr, { children: [
|
|
32939
32948
|
/* @__PURE__ */ y(
|
|
32940
32949
|
st,
|
|
32941
32950
|
{
|
|
32942
32951
|
display: "flex",
|
|
32943
32952
|
alignItems: "center",
|
|
32944
32953
|
sx: {
|
|
32945
|
-
...
|
|
32954
|
+
...l,
|
|
32946
32955
|
display: "inline-flex",
|
|
32947
32956
|
width: { xs: "100%", md: "auto" }
|
|
32948
32957
|
},
|
|
@@ -32950,8 +32959,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32950
32959
|
ho,
|
|
32951
32960
|
{
|
|
32952
32961
|
...h,
|
|
32953
|
-
source:
|
|
32954
|
-
label:
|
|
32962
|
+
source: f,
|
|
32963
|
+
label: s,
|
|
32955
32964
|
readOnly: !0,
|
|
32956
32965
|
parse: W6,
|
|
32957
32966
|
format: H6,
|
|
@@ -32962,7 +32971,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32962
32971
|
Nr,
|
|
32963
32972
|
{
|
|
32964
32973
|
onClick: v,
|
|
32965
|
-
disabled:
|
|
32974
|
+
disabled: i,
|
|
32966
32975
|
"aria-label": "Ninguno",
|
|
32967
32976
|
size: "small",
|
|
32968
32977
|
title: "Ninguno",
|
|
@@ -32973,7 +32982,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32973
32982
|
Nr,
|
|
32974
32983
|
{
|
|
32975
32984
|
onClick: x,
|
|
32976
|
-
disabled:
|
|
32985
|
+
disabled: i,
|
|
32977
32986
|
"aria-label": "Todos",
|
|
32978
32987
|
size: "small",
|
|
32979
32988
|
title: "Todos",
|
|
@@ -32983,8 +32992,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32983
32992
|
/* @__PURE__ */ y(
|
|
32984
32993
|
Nr,
|
|
32985
32994
|
{
|
|
32986
|
-
onClick: /* @__PURE__ */ a((T) =>
|
|
32987
|
-
disabled:
|
|
32995
|
+
onClick: /* @__PURE__ */ a((T) => r(!0), "onClick"),
|
|
32996
|
+
disabled: i,
|
|
32988
32997
|
"aria-label": "Selección",
|
|
32989
32998
|
size: "small",
|
|
32990
32999
|
title: "Selección",
|
|
@@ -33000,17 +33009,17 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33000
33009
|
/* @__PURE__ */ y(
|
|
33001
33010
|
V6,
|
|
33002
33011
|
{
|
|
33003
|
-
isOpen:
|
|
33004
|
-
title: `Selección de ${
|
|
33005
|
-
contentResource:
|
|
33006
|
-
content: O.createElement(
|
|
33012
|
+
isOpen: e,
|
|
33013
|
+
title: `Selección de ${s}`,
|
|
33014
|
+
contentResource: p,
|
|
33015
|
+
content: O.createElement(d, {
|
|
33007
33016
|
panel: {
|
|
33008
33017
|
hasCreate: !1,
|
|
33009
33018
|
exporter: !1,
|
|
33010
33019
|
actions: /* @__PURE__ */ y(b4, {}),
|
|
33011
33020
|
hasSeleccionMultiple: !0,
|
|
33012
33021
|
chkSeleccion: !0,
|
|
33013
|
-
resource:
|
|
33022
|
+
resource: p
|
|
33014
33023
|
},
|
|
33015
33024
|
config: {
|
|
33016
33025
|
actionButtons: !1,
|