biblio-react 3.0.0-alpha143 → 3.0.0-alpha145
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 +39 -35
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33233,49 +33233,51 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33233
33233
|
all: !0,
|
|
33234
33234
|
none: !1
|
|
33235
33235
|
}, X6 = /* @__PURE__ */ a((t) => String(t) === t ? t === "" ? "Ninguno" : "Selección (1)" : !t || t != null && t.all ? "Todos" : t != null && t.none || t.seleccion.length === 0 ? "Ninguno" : `Selección (${t.seleccion.split(",").length})`, "format"), Z6 = /* @__PURE__ */ a((t) => t, "parse"), ire = /* @__PURE__ */ a((t) => {
|
|
33236
|
-
const {
|
|
33237
|
-
|
|
33238
|
-
|
|
33239
|
-
|
|
33240
|
-
|
|
33241
|
-
|
|
33242
|
-
|
|
33243
|
-
|
|
33244
|
-
|
|
33236
|
+
const { source: e, onChange: r } = t, [n] = kS({ resource: "form_224" }), [o, i] = De(!1), s = dr(), { estado: l, fichaProps: u = {} } = Ot(), d = ot(ji), p = Ni(!1), {
|
|
33237
|
+
hidden: f,
|
|
33238
|
+
propsContenido: {
|
|
33239
|
+
readOnly: h,
|
|
33240
|
+
sx: m,
|
|
33241
|
+
label: g = "Funcionarios",
|
|
33242
|
+
allowNone: b = !0,
|
|
33243
|
+
allowAll: v = !0,
|
|
33244
|
+
...x
|
|
33245
|
+
}
|
|
33246
|
+
} = pr(t), { [e]: T = {}, etrs: k } = u, C = wn({ ...t, etrs: k, asisEtr: d }), S = T.onChange === void 0 ? r : T.onChange;
|
|
33245
33247
|
qe(() => {
|
|
33246
|
-
|
|
33247
|
-
|
|
33248
|
-
}, 0),
|
|
33249
|
-
}, [
|
|
33248
|
+
p.current || (setTimeout(() => {
|
|
33249
|
+
s.setValue(e, Q6);
|
|
33250
|
+
}, 0), p.current = !0);
|
|
33251
|
+
}, [s, e]);
|
|
33250
33252
|
const w = Ge(() => {
|
|
33251
|
-
|
|
33252
|
-
}, [
|
|
33253
|
-
|
|
33254
|
-
seleccion:
|
|
33253
|
+
i(!1);
|
|
33254
|
+
}, [i]), M = /* @__PURE__ */ a((I, F) => {
|
|
33255
|
+
i(!1), s.setValue(e, {
|
|
33256
|
+
seleccion: n.join(",").replaceAll("funnro=", ""),
|
|
33255
33257
|
all: !1,
|
|
33256
33258
|
none: !1
|
|
33257
|
-
}), S && S(C,
|
|
33259
|
+
}), S && S(C, l, I);
|
|
33258
33260
|
}, "handleConfirm"), R = /* @__PURE__ */ a((I) => {
|
|
33259
|
-
|
|
33261
|
+
s.setValue(e, {
|
|
33260
33262
|
seleccion: "",
|
|
33261
33263
|
all: !1,
|
|
33262
33264
|
none: !0
|
|
33263
|
-
}), S && S(C,
|
|
33265
|
+
}), S && S(C, l, I);
|
|
33264
33266
|
}, "handleNinguno"), P = /* @__PURE__ */ a((I) => {
|
|
33265
|
-
|
|
33267
|
+
s.setValue(e, {
|
|
33266
33268
|
seleccion: "",
|
|
33267
33269
|
all: !0,
|
|
33268
33270
|
none: !1
|
|
33269
|
-
}), S && S(C,
|
|
33271
|
+
}), S && S(C, l, I);
|
|
33270
33272
|
}, "handleTodos");
|
|
33271
|
-
return
|
|
33273
|
+
return f ? null : /* @__PURE__ */ W(Qr, { children: [
|
|
33272
33274
|
/* @__PURE__ */ y(
|
|
33273
33275
|
st,
|
|
33274
33276
|
{
|
|
33275
33277
|
display: "flex",
|
|
33276
33278
|
alignItems: "center",
|
|
33277
33279
|
sx: {
|
|
33278
|
-
...
|
|
33280
|
+
...m,
|
|
33279
33281
|
display: "inline-flex",
|
|
33280
33282
|
width: { xs: "100%", md: "auto" }
|
|
33281
33283
|
},
|
|
@@ -33283,30 +33285,30 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33283
33285
|
ho,
|
|
33284
33286
|
{
|
|
33285
33287
|
...x,
|
|
33286
|
-
source:
|
|
33287
|
-
label:
|
|
33288
|
+
source: e,
|
|
33289
|
+
label: g,
|
|
33288
33290
|
readOnly: !0,
|
|
33289
33291
|
parse: Z6,
|
|
33290
33292
|
format: X6,
|
|
33291
33293
|
helperText: !1,
|
|
33292
33294
|
InputProps: {
|
|
33293
33295
|
endAdornment: /* @__PURE__ */ W(Qr, { children: [
|
|
33294
|
-
|
|
33296
|
+
b && /* @__PURE__ */ y(
|
|
33295
33297
|
Nr,
|
|
33296
33298
|
{
|
|
33297
33299
|
onClick: R,
|
|
33298
|
-
disabled:
|
|
33300
|
+
disabled: h,
|
|
33299
33301
|
"aria-label": "Ninguno",
|
|
33300
33302
|
size: "small",
|
|
33301
33303
|
title: "Ninguno",
|
|
33302
33304
|
children: /* @__PURE__ */ y(_b, {})
|
|
33303
33305
|
}
|
|
33304
33306
|
),
|
|
33305
|
-
|
|
33307
|
+
v && /* @__PURE__ */ y(
|
|
33306
33308
|
Nr,
|
|
33307
33309
|
{
|
|
33308
33310
|
onClick: P,
|
|
33309
|
-
disabled:
|
|
33311
|
+
disabled: h,
|
|
33310
33312
|
"aria-label": "Todos",
|
|
33311
33313
|
size: "small",
|
|
33312
33314
|
title: "Todos",
|
|
@@ -33316,8 +33318,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33316
33318
|
/* @__PURE__ */ y(
|
|
33317
33319
|
Nr,
|
|
33318
33320
|
{
|
|
33319
|
-
onClick: /* @__PURE__ */ a((I) =>
|
|
33320
|
-
disabled:
|
|
33321
|
+
onClick: /* @__PURE__ */ a((I) => i(!0), "onClick"),
|
|
33322
|
+
disabled: h,
|
|
33321
33323
|
"aria-label": "Selección",
|
|
33322
33324
|
size: "small",
|
|
33323
33325
|
title: "Selección",
|
|
@@ -33333,8 +33335,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33333
33335
|
/* @__PURE__ */ y(
|
|
33334
33336
|
J6,
|
|
33335
33337
|
{
|
|
33336
|
-
isOpen:
|
|
33337
|
-
title: `Selección de ${
|
|
33338
|
+
isOpen: o,
|
|
33339
|
+
title: `Selección de ${g}`,
|
|
33338
33340
|
onConfirm: M,
|
|
33339
33341
|
onClose: w
|
|
33340
33342
|
}
|
|
@@ -56835,6 +56837,8 @@ export {
|
|
|
56835
56837
|
jte as MenuButton,
|
|
56836
56838
|
zte as MultiTextField,
|
|
56837
56839
|
tre as Password,
|
|
56840
|
+
WC as ProgressContext,
|
|
56841
|
+
ec as ProgressProvider,
|
|
56838
56842
|
rre as RadioButton,
|
|
56839
56843
|
nre as RadioButtonManual,
|
|
56840
56844
|
h4 as RefreshButton,
|
|
@@ -56889,13 +56893,13 @@ export {
|
|
|
56889
56893
|
Mte as useEtrActions,
|
|
56890
56894
|
Ot as useFicha,
|
|
56891
56895
|
pk as useFieldController,
|
|
56892
|
-
ss as useFormProgress,
|
|
56893
56896
|
hp as useFormSubmit,
|
|
56894
56897
|
uk as useFormToolbar,
|
|
56895
56898
|
S_ as useGetJson,
|
|
56896
56899
|
fp as useGrillaEtriek,
|
|
56897
56900
|
QC as useIdContext,
|
|
56898
56901
|
hb as useInitFicha,
|
|
56902
|
+
Un as useNotifyEtriek,
|
|
56899
56903
|
t5 as useNuevo,
|
|
56900
56904
|
Fte as useReferenceLabel,
|
|
56901
56905
|
dk as useResourceRefresh,
|