biblio-react 3.0.0-alpha151 → 3.0.0-alpha154
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 +252 -251
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,13 +2,13 @@ var VM = Object.defineProperty;
|
|
|
2
2
|
var a = (t, e) => VM(t, "name", { value: e, configurable: !0 });
|
|
3
3
|
import Me, { jsx as y, jsxs as W, Fragment as Qr } from "react/jsx-runtime";
|
|
4
4
|
import * as O from "react";
|
|
5
|
-
import
|
|
5
|
+
import qe, { forwardRef as Ll, useContext as ot, createElement as t0, Children as zd, isValidElement as Nn, cloneElement as Yr, createContext as $t, useState as De, useMemo as Sr, useRef as So, useCallback as nt, useEffect as Ue, Fragment as vn, memo as Q1, useImperativeHandle as jM, useDebugValue as X1, useId as zM } from "react";
|
|
6
6
|
import { unstable_ClassNameGenerator as Z1, exactProp as Hd, unstable_getScrollbarSize as HM, unstable_ownerDocument as Dn, unstable_ownerWindow as rl, unstable_useForkRef as Ea, elementAcceptingRef as WM, unstable_useEnhancedEffect as xi, unstable_setRef as r0, HTMLElementType as nh, unstable_useEventCallback as n0, unstable_createChainedFunction as o0, unstable_debounce as UM, usePreviousProps as qM, unstable_getNormalizedScrollLeft as GM, unstable_detectScrollType as KM, chainPropTypes as YM, refType as JM, deepmerge as eS } from "@mui/utils";
|
|
7
7
|
import { MenuItem as ai, ListItemIcon as pa, ListItemText as fa, useMediaQuery as Di, Typography as nl, Box as lt, Grid as i0, Dialog as Qm, DialogTitle as tS, DialogContent as QM, Stack as Xm, DialogActions as XM, Tooltip as Wd, IconButton as ol, useTheme as rS, createTheme as ZM, ThemeProvider as eP, alpha as tP, StyledEngineProvider as nS, Card as oS, CircularProgress as rP, CardContent as iS, Collapse as nP, List as aS, Menu as oh, Switch as oP, Divider as iP, Button as a0, Paper as sS, ToggleButtonGroup as Ud, ToggleButton as zt, ListItem as aP, FormHelperText as sP } from "@mui/material";
|
|
8
|
-
import { useTranslate as Tt, useUserMenu as lP, useResourceDefinitions as cP, AppBar as uP, UserMenu as dP, Logout as pP, useResourceContext as pt, useRecordContext as
|
|
8
|
+
import { useTranslate as Tt, useUserMenu as lP, useResourceDefinitions as cP, AppBar as uP, UserMenu as dP, Logout as pP, useResourceContext as pt, useRecordContext as ur, useNotify as lS, useDeleteWithConfirmController as fP, Button as mr, Confirm as Nl, Toolbar as Zm, ToolbarClasses as hP, SaveButton as Dl, useRedirect as _i, useDelete as cS, useSaveContext as mP, required as gP, minValue as bP, TopToolbar as uS, RefreshButton as yP, ListButton as vP, ShowButton as xP, useDataProvider as Qa, useListContext as Oi, useUnselectAll as OP, NumberField as SP, DateField as s0, TextField as Ic, ReferenceField as CP, useCreatePath as _l, Form as Bl, useResourceDefinition as dS, BulkActionsToolbar as kP, useInput as qd, useGetList as pS, Labeled as fS, useSafeSetState as eg, useGetOne as hS, useCreateController as EP, CreateContextProvider as TP, LoadingClasses as Yc, Create as wP, useListController as MP, ListContextProvider as PP, List as mS, Edit as RP, useEditContext as AP, SimpleForm as FP, useSidebarState as gS, Menu as IP, DashboardMenuItem as $P, MenuItemLink as bS, Layout as LP, FilterContext as NP, sanitizeListRestProps as DP, FilterButton as _P, CreateButton as BP, useLogin as VP, TextInput as ho, PasswordInput as yS, Show as jP, useShowContext as zP, FormTab as HP, getTabbedFormTabFullPath as WP, TabbedFormTabs as UP, defaultTheme as vS, BooleanField as qP, ImageInput as GP, ImageField as KP, FileInput as YP, BooleanInput as JP, ReferenceInput as xS, useChoicesContext as OS, AutocompleteInput as QP, SelectInput as XP, ReferenceArrayInput as ZP, AutocompleteArrayInput as eR, SearchInput as tR, RadioButtonGroupInput as SS, useRecordSelection as CS, ListActions as rR, Datagrid as nR, ValidationError as oR, FieldTitle as kS, NumberInput as iR } from "react-admin";
|
|
9
9
|
import { Link as il, useNavigate as Xa, Routes as tg, Route as rg, useLocation as Co, matchPath as ih, useResolvedPath as aR } from "react-router-dom";
|
|
10
10
|
import { useGridApiContext as Bi, useGridSelector as Ta, gridColumnVisibilityModelSelector as ES, gridColumnDefinitionsSelector as TS, GridColumnIcon as sR, gridSortModelSelector as lR, GridArrowUpwardIcon as cR, GridArrowDownwardIcon as uR, GridToolbarExport as dR, selectedGridRowsSelector as pR, GridToolbarContainer as fR, GridClearIcon as hR, GridToolbarQuickFilter as mR, useGridApiRef as ng, useKeepGroupedColumnsHidden as wS, GridActionsCellItem as Kp, DataGridPremium as og, gridClasses as l0 } from "@mui/x-data-grid-premium";
|
|
11
|
-
import { useFormContext as
|
|
11
|
+
import { useFormContext as dr, useFormState as gR, useController as bR } from "react-hook-form";
|
|
12
12
|
import { useSelector as ig, useDispatch as Vi } from "react-redux";
|
|
13
13
|
import { isAfter as yR } from "date-fns";
|
|
14
14
|
import * as ah from "react-dom";
|
|
@@ -1070,10 +1070,10 @@ function XR() {
|
|
|
1070
1070
|
return Et = ir > 0 ? Bt(Za, --ir) : 0, wa--, Et === 10 && (wa = 1, Kd--), Et;
|
|
1071
1071
|
}
|
|
1072
1072
|
a(XR, "prev");
|
|
1073
|
-
function
|
|
1073
|
+
function br() {
|
|
1074
1074
|
return Et = ir < VS ? Bt(Za, ir++) : 0, wa++, Et === 10 && (wa = 1, Kd++), Et;
|
|
1075
1075
|
}
|
|
1076
|
-
a(
|
|
1076
|
+
a(br, "next");
|
|
1077
1077
|
function bn() {
|
|
1078
1078
|
return Bt(Za, ir);
|
|
1079
1079
|
}
|
|
@@ -1133,18 +1133,18 @@ function Lc(t) {
|
|
|
1133
1133
|
a(Lc, "delimit");
|
|
1134
1134
|
function ZR(t) {
|
|
1135
1135
|
for (; (Et = bn()) && Et < 33; )
|
|
1136
|
-
|
|
1136
|
+
br();
|
|
1137
1137
|
return ll(t) > 2 || ll(Et) > 3 ? "" : " ";
|
|
1138
1138
|
}
|
|
1139
1139
|
a(ZR, "whitespace$1");
|
|
1140
1140
|
function eA(t, e) {
|
|
1141
|
-
for (; --e &&
|
|
1141
|
+
for (; --e && br() && !(Et < 48 || Et > 102 || Et > 57 && Et < 65 || Et > 70 && Et < 97); )
|
|
1142
1142
|
;
|
|
1143
|
-
return jl(t, $c() + (e < 6 && bn() == 32 &&
|
|
1143
|
+
return jl(t, $c() + (e < 6 && bn() == 32 && br() == 32));
|
|
1144
1144
|
}
|
|
1145
1145
|
a(eA, "escaping");
|
|
1146
1146
|
function ch(t) {
|
|
1147
|
-
for (;
|
|
1147
|
+
for (; br(); )
|
|
1148
1148
|
switch (Et) {
|
|
1149
1149
|
case t:
|
|
1150
1150
|
return ir;
|
|
@@ -1156,22 +1156,22 @@ function ch(t) {
|
|
|
1156
1156
|
t === 41 && ch(t);
|
|
1157
1157
|
break;
|
|
1158
1158
|
case 92:
|
|
1159
|
-
|
|
1159
|
+
br();
|
|
1160
1160
|
break;
|
|
1161
1161
|
}
|
|
1162
1162
|
return ir;
|
|
1163
1163
|
}
|
|
1164
1164
|
a(ch, "delimiter");
|
|
1165
1165
|
function tA(t, e) {
|
|
1166
|
-
for (;
|
|
1166
|
+
for (; br() && t + Et !== 57; )
|
|
1167
1167
|
if (t + Et === 84 && bn() === 47)
|
|
1168
1168
|
break;
|
|
1169
|
-
return "/*" + jl(e, ir - 1) + "*" + Gd(t === 47 ? t :
|
|
1169
|
+
return "/*" + jl(e, ir - 1) + "*" + Gd(t === 47 ? t : br());
|
|
1170
1170
|
}
|
|
1171
1171
|
a(tA, "commenter");
|
|
1172
1172
|
function rA(t) {
|
|
1173
1173
|
for (; !ll(bn()); )
|
|
1174
|
-
|
|
1174
|
+
br();
|
|
1175
1175
|
return jl(t, ir);
|
|
1176
1176
|
}
|
|
1177
1177
|
a(rA, "identifier");
|
|
@@ -1181,7 +1181,7 @@ function nA(t) {
|
|
|
1181
1181
|
a(nA, "compile");
|
|
1182
1182
|
function Nc(t, e, r, n, o, i, s, l, u) {
|
|
1183
1183
|
for (var d = 0, p = 0, f = s, h = 0, m = 0, g = 0, b = 1, v = 1, x = 1, T = 0, k = "", C = o, S = i, w = n, M = k; v; )
|
|
1184
|
-
switch (g = T, T =
|
|
1184
|
+
switch (g = T, T = br()) {
|
|
1185
1185
|
case 40:
|
|
1186
1186
|
if (g != 108 && Bt(M, f - 1) == 58) {
|
|
1187
1187
|
lh(M += Ye(Lc(T), "&", "&\f"), "&\f") != -1 && (x = -1);
|
|
@@ -1205,7 +1205,7 @@ function Nc(t, e, r, n, o, i, s, l, u) {
|
|
|
1205
1205
|
switch (bn()) {
|
|
1206
1206
|
case 42:
|
|
1207
1207
|
case 47:
|
|
1208
|
-
lc(oA(tA(
|
|
1208
|
+
lc(oA(tA(br(), $c()), e, r), u);
|
|
1209
1209
|
break;
|
|
1210
1210
|
default:
|
|
1211
1211
|
M += "/";
|
|
@@ -1260,7 +1260,7 @@ function Nc(t, e, r, n, o, i, s, l, u) {
|
|
|
1260
1260
|
l[d++] = (pn(M) - 1) * x, x = 1;
|
|
1261
1261
|
break;
|
|
1262
1262
|
case 64:
|
|
1263
|
-
bn() === 45 && (M += Lc(
|
|
1263
|
+
bn() === 45 && (M += Lc(br())), h = bn(), p = f = pn(k = M += rA($c())), T++;
|
|
1264
1264
|
break;
|
|
1265
1265
|
case 45:
|
|
1266
1266
|
g === 45 && pn(M) == 2 && (b = 0);
|
|
@@ -1324,7 +1324,7 @@ function sA(t) {
|
|
|
1324
1324
|
a(sA, "rulesheet");
|
|
1325
1325
|
var lA = /* @__PURE__ */ a(function(e, r, n) {
|
|
1326
1326
|
for (var o = 0, i = 0; o = i, i = bn(), o === 38 && i === 12 && (r[n] = 1), !ll(i); )
|
|
1327
|
-
|
|
1327
|
+
br();
|
|
1328
1328
|
return jl(e, ir);
|
|
1329
1329
|
}, "identifierWithPointTracking"), cA = /* @__PURE__ */ a(function(e, r) {
|
|
1330
1330
|
var n = -1, o = 44;
|
|
@@ -1344,7 +1344,7 @@ var lA = /* @__PURE__ */ a(function(e, r, n) {
|
|
|
1344
1344
|
default:
|
|
1345
1345
|
e[n] += Gd(o);
|
|
1346
1346
|
}
|
|
1347
|
-
while (o =
|
|
1347
|
+
while (o = br());
|
|
1348
1348
|
return e;
|
|
1349
1349
|
}, "toRules"), uA = /* @__PURE__ */ a(function(e, r) {
|
|
1350
1350
|
return zS(cA(jS(e), r));
|
|
@@ -3311,13 +3311,13 @@ const zF = Ct({
|
|
|
3311
3311
|
transform: ma
|
|
3312
3312
|
});
|
|
3313
3313
|
rp(zF, HF, WF);
|
|
3314
|
-
function
|
|
3314
|
+
function hr(t) {
|
|
3315
3315
|
return t <= 1 && t !== 0 ? `${t * 100}%` : t;
|
|
3316
3316
|
}
|
|
3317
|
-
a(
|
|
3317
|
+
a(hr, "sizingTransform");
|
|
3318
3318
|
const UF = Ct({
|
|
3319
3319
|
prop: "width",
|
|
3320
|
-
transform:
|
|
3320
|
+
transform: hr
|
|
3321
3321
|
}), Sg = /* @__PURE__ */ a((t) => {
|
|
3322
3322
|
if (t.maxWidth !== void 0 && t.maxWidth !== null) {
|
|
3323
3323
|
const e = /* @__PURE__ */ a((r) => {
|
|
@@ -3328,7 +3328,7 @@ const UF = Ct({
|
|
|
3328
3328
|
} : {
|
|
3329
3329
|
maxWidth: i
|
|
3330
3330
|
} : {
|
|
3331
|
-
maxWidth:
|
|
3331
|
+
maxWidth: hr(r)
|
|
3332
3332
|
};
|
|
3333
3333
|
}, "styleFromPropValue");
|
|
3334
3334
|
return ar(t, t.maxWidth, e);
|
|
@@ -3338,26 +3338,26 @@ const UF = Ct({
|
|
|
3338
3338
|
Sg.filterProps = ["maxWidth"];
|
|
3339
3339
|
const qF = Ct({
|
|
3340
3340
|
prop: "minWidth",
|
|
3341
|
-
transform:
|
|
3341
|
+
transform: hr
|
|
3342
3342
|
}), GF = Ct({
|
|
3343
3343
|
prop: "height",
|
|
3344
|
-
transform:
|
|
3344
|
+
transform: hr
|
|
3345
3345
|
}), KF = Ct({
|
|
3346
3346
|
prop: "maxHeight",
|
|
3347
|
-
transform:
|
|
3347
|
+
transform: hr
|
|
3348
3348
|
}), YF = Ct({
|
|
3349
3349
|
prop: "minHeight",
|
|
3350
|
-
transform:
|
|
3350
|
+
transform: hr
|
|
3351
3351
|
});
|
|
3352
3352
|
Ct({
|
|
3353
3353
|
prop: "size",
|
|
3354
3354
|
cssProperty: "width",
|
|
3355
|
-
transform:
|
|
3355
|
+
transform: hr
|
|
3356
3356
|
});
|
|
3357
3357
|
Ct({
|
|
3358
3358
|
prop: "size",
|
|
3359
3359
|
cssProperty: "height",
|
|
3360
|
-
transform:
|
|
3360
|
+
transform: hr
|
|
3361
3361
|
});
|
|
3362
3362
|
const JF = Ct({
|
|
3363
3363
|
prop: "boxSizing"
|
|
@@ -3608,22 +3608,22 @@ const Hl = {
|
|
|
3608
3608
|
},
|
|
3609
3609
|
// sizing
|
|
3610
3610
|
width: {
|
|
3611
|
-
transform:
|
|
3611
|
+
transform: hr
|
|
3612
3612
|
},
|
|
3613
3613
|
maxWidth: {
|
|
3614
3614
|
style: Sg
|
|
3615
3615
|
},
|
|
3616
3616
|
minWidth: {
|
|
3617
|
-
transform:
|
|
3617
|
+
transform: hr
|
|
3618
3618
|
},
|
|
3619
3619
|
height: {
|
|
3620
|
-
transform:
|
|
3620
|
+
transform: hr
|
|
3621
3621
|
},
|
|
3622
3622
|
maxHeight: {
|
|
3623
|
-
transform:
|
|
3623
|
+
transform: hr
|
|
3624
3624
|
},
|
|
3625
3625
|
minHeight: {
|
|
3626
|
-
transform:
|
|
3626
|
+
transform: hr
|
|
3627
3627
|
},
|
|
3628
3628
|
boxSizing: {},
|
|
3629
3629
|
// typography
|
|
@@ -5075,7 +5075,7 @@ function dl({
|
|
|
5075
5075
|
return [l, u];
|
|
5076
5076
|
}
|
|
5077
5077
|
a(dl, "useControlled");
|
|
5078
|
-
function
|
|
5078
|
+
function gr(t) {
|
|
5079
5079
|
const e = O.useRef(t);
|
|
5080
5080
|
return kn(() => {
|
|
5081
5081
|
e.current = t;
|
|
@@ -5084,7 +5084,7 @@ function br(t) {
|
|
|
5084
5084
|
(0, e.current)(...r)
|
|
5085
5085
|
)).current;
|
|
5086
5086
|
}
|
|
5087
|
-
a(
|
|
5087
|
+
a(gr, "useEventCallback");
|
|
5088
5088
|
function wt(...t) {
|
|
5089
5089
|
return O.useMemo(() => t.every((e) => e == null) ? null : (e) => {
|
|
5090
5090
|
t.forEach((r) => {
|
|
@@ -5223,7 +5223,7 @@ const k$ = {
|
|
|
5223
5223
|
unstable_useId: Gl,
|
|
5224
5224
|
unsupportedProp: kC,
|
|
5225
5225
|
useControlled: dl,
|
|
5226
|
-
useEventCallback:
|
|
5226
|
+
useEventCallback: gr,
|
|
5227
5227
|
useForkRef: wt,
|
|
5228
5228
|
useIsFocusVisible: cp
|
|
5229
5229
|
}, Symbol.toStringTag, { value: "Module" })), T$ = /* @__PURE__ */ Cn(E$);
|
|
@@ -6192,7 +6192,7 @@ function BC(t, e, r) {
|
|
|
6192
6192
|
}
|
|
6193
6193
|
a(BC, "resolveComponentProps");
|
|
6194
6194
|
const $L = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
6195
|
-
function
|
|
6195
|
+
function vr(t) {
|
|
6196
6196
|
var e;
|
|
6197
6197
|
const {
|
|
6198
6198
|
elementType: r,
|
|
@@ -6209,7 +6209,7 @@ function xr(t) {
|
|
|
6209
6209
|
ref: p
|
|
6210
6210
|
}), o);
|
|
6211
6211
|
}
|
|
6212
|
-
a(
|
|
6212
|
+
a(vr, "useSlotProps");
|
|
6213
6213
|
const LL = ["input", "select", "textarea", "a[href]", "button", "[tabindex]", "audio[controls]", "video[controls]", '[contenteditable]:not([contenteditable="false"])'].join(",");
|
|
6214
6214
|
function NL(t) {
|
|
6215
6215
|
const e = parseInt(t.getAttribute("tabindex") || "", 10);
|
|
@@ -6470,7 +6470,7 @@ process.env.NODE_ENV !== "production" && c.oneOfType([c.string, c.shape({
|
|
|
6470
6470
|
exitDone: c.string,
|
|
6471
6471
|
exitActive: c.string
|
|
6472
6472
|
})]);
|
|
6473
|
-
const ou =
|
|
6473
|
+
const ou = qe.createContext(null);
|
|
6474
6474
|
var HL = /* @__PURE__ */ a(function(e) {
|
|
6475
6475
|
return e.scrollTop;
|
|
6476
6476
|
}, "forceReflow"), Ps = "unmounted", Bo = "exited", Vo = "entering", Qi = "entered", yh = "exiting", en = /* @__PURE__ */ function(t) {
|
|
@@ -6595,12 +6595,12 @@ var HL = /* @__PURE__ */ a(function(e) {
|
|
|
6595
6595
|
var l = ne(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
6596
6596
|
return (
|
|
6597
6597
|
// allows for nested Transitions
|
|
6598
|
-
/* @__PURE__ */
|
|
6598
|
+
/* @__PURE__ */ qe.createElement(ou.Provider, {
|
|
6599
6599
|
value: null
|
|
6600
|
-
}, typeof s == "function" ? s(o, l) :
|
|
6600
|
+
}, typeof s == "function" ? s(o, l) : qe.cloneElement(qe.Children.only(s), l))
|
|
6601
6601
|
);
|
|
6602
6602
|
}, "render"), e;
|
|
6603
|
-
}(
|
|
6603
|
+
}(qe.Component);
|
|
6604
6604
|
en.contextType = ou;
|
|
6605
6605
|
en.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
6606
6606
|
/**
|
|
@@ -6921,13 +6921,13 @@ var KL = Object.values || function(t) {
|
|
|
6921
6921
|
}));
|
|
6922
6922
|
}, "handleExited"), r.render = /* @__PURE__ */ a(function() {
|
|
6923
6923
|
var o = this.props, i = o.component, s = o.childFactory, l = ne(o, ["component", "childFactory"]), u = this.state.contextValue, d = KL(this.state.children).map(s);
|
|
6924
|
-
return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */
|
|
6924
|
+
return delete l.appear, delete l.enter, delete l.exit, i === null ? /* @__PURE__ */ qe.createElement(ou.Provider, {
|
|
6925
6925
|
value: u
|
|
6926
|
-
}, d) : /* @__PURE__ */
|
|
6926
|
+
}, d) : /* @__PURE__ */ qe.createElement(ou.Provider, {
|
|
6927
6927
|
value: u
|
|
6928
|
-
}, /* @__PURE__ */
|
|
6928
|
+
}, /* @__PURE__ */ qe.createElement(i, l, d));
|
|
6929
6929
|
}, "render"), e;
|
|
6930
|
-
}(
|
|
6930
|
+
}(qe.Component);
|
|
6931
6931
|
Dg.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
6932
6932
|
/**
|
|
6933
6933
|
* `<TransitionGroup>` renders a `<div>` by default. You can change this
|
|
@@ -7509,7 +7509,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7509
7509
|
} = K();
|
|
7510
7510
|
G.onEnter = pe, G.onExited = Y;
|
|
7511
7511
|
}
|
|
7512
|
-
const te = (n = (o = L == null ? void 0 : L.root) != null ? o : x.Root) != null ? n : cN, Q = (i = (s = L == null ? void 0 : L.backdrop) != null ? s : x.Backdrop) != null ? i : p, oe = (l = $ == null ? void 0 : $.root) != null ? l : T.root, se = (u = $ == null ? void 0 : $.backdrop) != null ? u : T.backdrop, ie =
|
|
7512
|
+
const te = (n = (o = L == null ? void 0 : L.root) != null ? o : x.Root) != null ? n : cN, Q = (i = (s = L == null ? void 0 : L.backdrop) != null ? s : x.Backdrop) != null ? i : p, oe = (l = $ == null ? void 0 : $.root) != null ? l : T.root, se = (u = $ == null ? void 0 : $.backdrop) != null ? u : T.backdrop, ie = vr({
|
|
7513
7513
|
elementType: te,
|
|
7514
7514
|
externalSlotProps: oe,
|
|
7515
7515
|
externalForwardedProps: j,
|
|
@@ -7520,7 +7520,7 @@ const sN = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
7520
7520
|
},
|
|
7521
7521
|
ownerState: U,
|
|
7522
7522
|
className: re(h, oe == null ? void 0 : oe.className, J == null ? void 0 : J.root, !U.open && U.exited && (J == null ? void 0 : J.hidden))
|
|
7523
|
-
}), _ =
|
|
7523
|
+
}), _ = vr({
|
|
7524
7524
|
elementType: Q,
|
|
7525
7525
|
externalSlotProps: se,
|
|
7526
7526
|
additionalProps: f,
|
|
@@ -8680,7 +8680,7 @@ process.env.NODE_ENV !== "production" && (Zl.propTypes = {
|
|
|
8680
8680
|
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
|
|
8681
8681
|
});
|
|
8682
8682
|
const HC = $t(), ec = /* @__PURE__ */ a(({ children: t }) => {
|
|
8683
|
-
const [e, r] = De(!1), [n, o] = De(""), i =
|
|
8683
|
+
const [e, r] = De(!1), [n, o] = De(""), i = Sr(
|
|
8684
8684
|
() => ({
|
|
8685
8685
|
open: e,
|
|
8686
8686
|
mensaje: n,
|
|
@@ -8693,7 +8693,7 @@ const HC = $t(), ec = /* @__PURE__ */ a(({ children: t }) => {
|
|
|
8693
8693
|
);
|
|
8694
8694
|
return /* @__PURE__ */ y(HC.Provider, { value: i, children: t });
|
|
8695
8695
|
}, "ProgressProvider"), ss = /* @__PURE__ */ a(() => ot(HC), "useFormProgress"), WC = $t(), Wg = /* @__PURE__ */ a(({ children: t }) => {
|
|
8696
|
-
const [e, r] = De(!1), [n, o] = De({}), i =
|
|
8696
|
+
const [e, r] = De(!1), [n, o] = De({}), i = Sr(
|
|
8697
8697
|
() => ({
|
|
8698
8698
|
open: e,
|
|
8699
8699
|
props: n,
|
|
@@ -8716,7 +8716,7 @@ const HC = $t(), ec = /* @__PURE__ */ a(({ children: t }) => {
|
|
|
8716
8716
|
hasCreate: t,
|
|
8717
8717
|
hasSeleccionMultiple: e,
|
|
8718
8718
|
handleSeleccionMultiple: n
|
|
8719
|
-
}), u =
|
|
8719
|
+
}), u = Sr(
|
|
8720
8720
|
() => ({
|
|
8721
8721
|
props: {
|
|
8722
8722
|
...s,
|
|
@@ -9592,7 +9592,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9592
9592
|
firstWeekContainsDate: 1
|
|
9593
9593
|
}
|
|
9594
9594
|
}, KC = $t({}), ji = $t(void 0), YC = $t(), qg = /* @__PURE__ */ a(({ value: t, children: e }) => {
|
|
9595
|
-
const [r, n] = De({}), o =
|
|
9595
|
+
const [r, n] = De({}), o = Sr(
|
|
9596
9596
|
() => ({
|
|
9597
9597
|
estado: t.estado,
|
|
9598
9598
|
initialValues: t.initialValues,
|
|
@@ -9616,7 +9616,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9616
9616
|
}, "FichaProvider"), Ot = /* @__PURE__ */ a(() => ot(KC) || {}, "useFicha"), JC = /* @__PURE__ */ a((t) => {
|
|
9617
9617
|
const e = ot(YC);
|
|
9618
9618
|
return (t == null ? void 0 : t.id) || e;
|
|
9619
|
-
}, "useIdContext"),
|
|
9619
|
+
}, "useIdContext"), pr = /* @__PURE__ */ a((t) => {
|
|
9620
9620
|
const { source: e } = t, {
|
|
9621
9621
|
estado: r,
|
|
9622
9622
|
isLoading: n,
|
|
@@ -9708,7 +9708,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9708
9708
|
hidden: g !== void 0 ? g : se !== void 0 ? se : p ? !0 : z
|
|
9709
9709
|
};
|
|
9710
9710
|
}, "useContenidoController"), h_ = /* @__PURE__ */ a((t) => {
|
|
9711
|
-
const { validateDelete: e, className: r } = t, n = pt(t), o =
|
|
9711
|
+
const { validateDelete: e, className: r } = t, n = pt(t), o = ur(), i = lS(), { open: s, isLoading: l, handleDialogOpen: u, handleDialogClose: d } = fP({ record: o, resource: n }), p = /* @__PURE__ */ a((h) => {
|
|
9712
9712
|
u(h);
|
|
9713
9713
|
}, "handleClick"), f = nt(
|
|
9714
9714
|
async (h) => {
|
|
@@ -9725,7 +9725,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9725
9725
|
);
|
|
9726
9726
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
9727
9727
|
/* @__PURE__ */ y(
|
|
9728
|
-
|
|
9728
|
+
mr,
|
|
9729
9729
|
{
|
|
9730
9730
|
label: "ra.action.delete",
|
|
9731
9731
|
onClick: p,
|
|
@@ -9786,7 +9786,7 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9786
9786
|
] }) });
|
|
9787
9787
|
}, "ToolbarFicha"), pf = /* @__PURE__ */ a(() => {
|
|
9788
9788
|
}, "dontSave"), hp = /* @__PURE__ */ a((t) => {
|
|
9789
|
-
const { borrar: e = !1 } = t, r = pt(), n =
|
|
9789
|
+
const { borrar: e = !1 } = t, r = pt(), n = ur(), o = Tt(), i = _i(), { estado: s, fichaProps: { onBeforeSubmitFicha: l, etrs: u } = {} } = Ot(), d = C_({ ...t, etrs: u }), [p] = cS(
|
|
9790
9790
|
r,
|
|
9791
9791
|
{
|
|
9792
9792
|
id: n == null ? void 0 : n.id
|
|
@@ -9835,8 +9835,8 @@ const CD = /^(\d+)(th|st|nd|rd)?/i, kD = /\d+/i, ED = {
|
|
|
9835
9835
|
}, "useFormSubmit");
|
|
9836
9836
|
let xh = null;
|
|
9837
9837
|
const XC = /* @__PURE__ */ a(() => {
|
|
9838
|
-
const { reset: t } =
|
|
9839
|
-
return
|
|
9838
|
+
const { reset: t } = dr();
|
|
9839
|
+
return Ue(() => {
|
|
9840
9840
|
m_(() => t());
|
|
9841
9841
|
}, [t]), null;
|
|
9842
9842
|
}, "FormResetter"), m_ = /* @__PURE__ */ a((t) => {
|
|
@@ -9918,7 +9918,7 @@ const XC = /* @__PURE__ */ a(() => {
|
|
|
9918
9918
|
sort: M,
|
|
9919
9919
|
...F
|
|
9920
9920
|
}) => F, "sanitizeRestProps$4"), mte = /* @__PURE__ */ a((t) => {
|
|
9921
|
-
const { hidden: e } =
|
|
9921
|
+
const { hidden: e } = pr(t);
|
|
9922
9922
|
return !e && /* @__PURE__ */ y(
|
|
9923
9923
|
Rt,
|
|
9924
9924
|
{
|
|
@@ -10103,7 +10103,7 @@ const XC = /* @__PURE__ */ a(() => {
|
|
|
10103
10103
|
...l,
|
|
10104
10104
|
[i]: s
|
|
10105
10105
|
}));
|
|
10106
|
-
}, "setVisibilidad"), o =
|
|
10106
|
+
}, "setVisibilidad"), o = Sr(
|
|
10107
10107
|
() => ({
|
|
10108
10108
|
hidden: e,
|
|
10109
10109
|
setHidden: n
|
|
@@ -10152,8 +10152,8 @@ const XC = /* @__PURE__ */ a(() => {
|
|
|
10152
10152
|
etrs: v
|
|
10153
10153
|
};
|
|
10154
10154
|
}, "useUtilsSubmit"), wn = /* @__PURE__ */ a((t) => {
|
|
10155
|
-
const { etrs: e = {}, asisEtr: r = {} } = t, n = rk(), o = nk(), i = ok(), s = ik(), l = ak(), u = sk(), d = ss(), p = Un(), f = _i(), h = Xa(), m = pt(t), g = pp(), b = uk(), v = tk(), { propsContenidos: x, setPropsContenidos: T } = Ot(), [k] = Kg(m), C =
|
|
10156
|
-
|
|
10155
|
+
const { etrs: e = {}, asisEtr: r = {} } = t, n = rk(), o = nk(), i = ok(), s = ik(), l = ak(), u = sk(), d = ss(), p = Un(), f = _i(), h = Xa(), m = pt(t), g = pp(), b = uk(), v = tk(), { propsContenidos: x, setPropsContenidos: T } = Ot(), [k] = Kg(m), C = dr(), S = So(null);
|
|
10156
|
+
Ue(() => (C && (S.current = C), () => {
|
|
10157
10157
|
S.current = null;
|
|
10158
10158
|
}), [C]);
|
|
10159
10159
|
const w = nt(() => C || S.current, [C]), M = nt(
|
|
@@ -10162,20 +10162,21 @@ const XC = /* @__PURE__ */ a(() => {
|
|
|
10162
10162
|
return (A = (R = w()) == null ? void 0 : R.trigger) == null ? void 0 : A.call(R, ...I);
|
|
10163
10163
|
},
|
|
10164
10164
|
[w]
|
|
10165
|
-
), F =
|
|
10166
|
-
|
|
10167
|
-
|
|
10168
|
-
{
|
|
10169
|
-
|
|
10170
|
-
const
|
|
10171
|
-
if (
|
|
10165
|
+
), F = new Proxy(
|
|
10166
|
+
{},
|
|
10167
|
+
{
|
|
10168
|
+
get(I, R) {
|
|
10169
|
+
return (...A) => {
|
|
10170
|
+
const $ = C || S.current;
|
|
10171
|
+
if (!$) {
|
|
10172
|
+
console.warn("Form todavía no disponible");
|
|
10172
10173
|
return;
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10174
|
+
}
|
|
10175
|
+
const L = $[R];
|
|
10176
|
+
return typeof L == "function" ? L.apply($, A) : A.length === 0 ? L : void 0;
|
|
10177
|
+
};
|
|
10176
10178
|
}
|
|
10177
|
-
|
|
10178
|
-
[w]
|
|
10179
|
+
}
|
|
10179
10180
|
), P = /* @__PURE__ */ a((I) => (R, A) => {
|
|
10180
10181
|
I(R, A), setTimeout(() => M(R), 0);
|
|
10181
10182
|
}, "withRevalidate");
|
|
@@ -12410,23 +12411,23 @@ const m2 = Oe("MuiButtonBase", ["root", "disabled", "focusVisible"]), g2 = ["act
|
|
|
12410
12411
|
U && h && !p && G && N.current.pulsate();
|
|
12411
12412
|
}, [p, h, U, G]);
|
|
12412
12413
|
function oe(ye, de, it = f) {
|
|
12413
|
-
return
|
|
12414
|
+
return gr((ft) => (de && de(ft), !it && N.current && N.current[ye](ft), !0));
|
|
12414
12415
|
}
|
|
12415
12416
|
a(oe, "useRippleHandler");
|
|
12416
12417
|
const se = oe("start", w), ie = oe("stop", v), _ = oe("stop", x), pe = oe("stop", F), Y = oe("stop", (ye) => {
|
|
12417
12418
|
U && ye.preventDefault(), M && M(ye);
|
|
12418
12419
|
}), be = oe("start", R), Ie = oe("stop", P), He = oe("stop", I), me = oe("stop", (ye) => {
|
|
12419
12420
|
ee(ye), D.current === !1 && J(!1), g && g(ye);
|
|
12420
|
-
}, !1), ct =
|
|
12421
|
+
}, !1), ct = gr((ye) => {
|
|
12421
12422
|
V.current || (V.current = ye.currentTarget), H(ye), D.current === !0 && (J(!0), k && k(ye)), T && T(ye);
|
|
12422
12423
|
}), je = /* @__PURE__ */ a(() => {
|
|
12423
12424
|
const ye = V.current;
|
|
12424
12425
|
return u && u !== "button" && !(ye.tagName === "A" && ye.href);
|
|
12425
|
-
}, "isNonNativeButton"), $e = O.useRef(!1), ut =
|
|
12426
|
+
}, "isNonNativeButton"), $e = O.useRef(!1), ut = gr((ye) => {
|
|
12426
12427
|
h && !$e.current && U && N.current && ye.key === " " && ($e.current = !0, N.current.stop(ye, () => {
|
|
12427
12428
|
N.current.start(ye);
|
|
12428
12429
|
})), ye.target === ye.currentTarget && je() && ye.key === " " && ye.preventDefault(), C && C(ye), ye.target === ye.currentTarget && je() && ye.key === "Enter" && !d && (ye.preventDefault(), b && b(ye));
|
|
12429
|
-
}), at =
|
|
12430
|
+
}), at = gr((ye) => {
|
|
12430
12431
|
h && ye.key === " " && N.current && U && !ye.defaultPrevented && ($e.current = !1, N.current.stop(ye, () => {
|
|
12431
12432
|
N.current.pulsate(ye);
|
|
12432
12433
|
})), S && S(ye), b && ye.target === ye.currentTarget && je() && ye.key === " " && !ye.defaultPrevented && b(ye);
|
|
@@ -14468,7 +14469,7 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14468
14469
|
const pe = $.current.style;
|
|
14469
14470
|
pe.opacity = 1 - z / ys(oe, L.current), G && (pe.webkitTransition = _, pe.transition = _);
|
|
14470
14471
|
}
|
|
14471
|
-
}, [s, l, p, o, S]), K =
|
|
14472
|
+
}, [s, l, p, o, S]), K = gr((z) => {
|
|
14472
14473
|
if (!B.current)
|
|
14473
14474
|
return;
|
|
14474
14475
|
if (Pn = null, B.current = !1, ah.flushSync(() => {
|
|
@@ -14501,7 +14502,7 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14501
14502
|
changeTransition: !1
|
|
14502
14503
|
}), R.current.velocity = 0, R.current.lastTime = null, R.current.lastTranslate = null, R.current.paperHit = !1, B.current = !0;
|
|
14503
14504
|
}
|
|
14504
|
-
}, "startMaybeSwiping"), H =
|
|
14505
|
+
}, "startMaybeSwiping"), H = gr((z) => {
|
|
14505
14506
|
if (!L.current || !B.current || Pn !== null && Pn !== R.current)
|
|
14506
14507
|
return;
|
|
14507
14508
|
D(!0);
|
|
@@ -14545,7 +14546,7 @@ const bB = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14545
14546
|
R.current.lastTranslate === null && (R.current.lastTranslate = se, R.current.lastTime = performance.now() + 1);
|
|
14546
14547
|
const ie = (se - R.current.lastTranslate) / (performance.now() - R.current.lastTime) * 1e3;
|
|
14547
14548
|
R.current.velocity = R.current.velocity * 0.4 + ie * 0.6, R.current.lastTranslate = se, R.current.lastTime = performance.now(), z.cancelable && z.preventDefault(), N(se);
|
|
14548
|
-
}), ee =
|
|
14549
|
+
}), ee = gr((z) => {
|
|
14549
14550
|
if (z.defaultPrevented || z.defaultMuiPrevented || x && (p || !$.current.contains(z.target)) && !L.current.contains(z.target))
|
|
14550
14551
|
return;
|
|
14551
14552
|
const U = Rs(o, s), J = jo(s), G = hf(U, z.touches, $r(z.currentTarget)), te = mf(U, z.touches, Jr(z.currentTarget));
|
|
@@ -15173,7 +15174,7 @@ const Yn = Oe("MuiBadge", [
|
|
|
15173
15174
|
color: B,
|
|
15174
15175
|
overlap: V,
|
|
15175
15176
|
variant: K
|
|
15176
|
-
}), ee = wB(H), z = (n = (o = S == null ? void 0 : S.root) != null ? o : m.Root) != null ? n : MB, U = (i = (s = S == null ? void 0 : S.badge) != null ? s : m.Badge) != null ? i : PB, J = (l = w == null ? void 0 : w.root) != null ? l : g.root, G = (u = w == null ? void 0 : w.badge) != null ? u : g.badge, te =
|
|
15177
|
+
}), ee = wB(H), z = (n = (o = S == null ? void 0 : S.root) != null ? o : m.Root) != null ? n : MB, U = (i = (s = S == null ? void 0 : S.badge) != null ? s : m.Badge) != null ? i : PB, J = (l = w == null ? void 0 : w.root) != null ? l : g.root, G = (u = w == null ? void 0 : w.badge) != null ? u : g.badge, te = vr({
|
|
15177
15178
|
elementType: z,
|
|
15178
15179
|
externalSlotProps: J,
|
|
15179
15180
|
externalForwardedProps: P,
|
|
@@ -15183,7 +15184,7 @@ const Yn = Oe("MuiBadge", [
|
|
|
15183
15184
|
},
|
|
15184
15185
|
ownerState: H,
|
|
15185
15186
|
className: re(J == null ? void 0 : J.className, ee.root, f)
|
|
15186
|
-
}), Q =
|
|
15187
|
+
}), Q = vr({
|
|
15187
15188
|
elementType: U,
|
|
15188
15189
|
externalSlotProps: G,
|
|
15189
15190
|
ownerState: H,
|
|
@@ -15371,7 +15372,7 @@ const AB = {
|
|
|
15371
15372
|
A700: "#ffd600"
|
|
15372
15373
|
}, $k = /* @__PURE__ */ a(({ containerRef: t, ...e }) => {
|
|
15373
15374
|
const [r, n] = De(null);
|
|
15374
|
-
return
|
|
15375
|
+
return Ue(() => {
|
|
15375
15376
|
t != null && t.current && n(t.current);
|
|
15376
15377
|
}, [t]), r ? vR(
|
|
15377
15378
|
/* @__PURE__ */ y(
|
|
@@ -22530,9 +22531,9 @@ const Cj = {
|
|
|
22530
22531
|
})(Lk);
|
|
22531
22532
|
const Hj = /* @__PURE__ */ a((t) => {
|
|
22532
22533
|
const { onRenderGrilla: e, onLoadGrilla: r, apiRef: n = {} } = t, { isLoading: o } = Oi(), i = mp(t);
|
|
22533
|
-
|
|
22534
|
+
Ue(() => {
|
|
22534
22535
|
e && e({ ...i, api: n == null ? void 0 : n.current });
|
|
22535
|
-
}, []),
|
|
22536
|
+
}, []), Ue(() => {
|
|
22536
22537
|
o || r && r({ ...i, api: n == null ? void 0 : n.current });
|
|
22537
22538
|
}, [o]);
|
|
22538
22539
|
}, "useInitGrilla");
|
|
@@ -22861,7 +22862,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22861
22862
|
icon: A = /* @__PURE__ */ y(kh, {}),
|
|
22862
22863
|
handler: $
|
|
22863
22864
|
}, L) => /* @__PURE__ */ y(
|
|
22864
|
-
|
|
22865
|
+
mr,
|
|
22865
22866
|
{
|
|
22866
22867
|
label: R,
|
|
22867
22868
|
disabled: e,
|
|
@@ -22872,7 +22873,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22872
22873
|
)
|
|
22873
22874
|
),
|
|
22874
22875
|
m && /* @__PURE__ */ y(
|
|
22875
|
-
|
|
22876
|
+
mr,
|
|
22876
22877
|
{
|
|
22877
22878
|
label: v,
|
|
22878
22879
|
disabled: e,
|
|
@@ -22908,7 +22909,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22908
22909
|
icon: M = /* @__PURE__ */ y(kh, {}),
|
|
22909
22910
|
handler: F
|
|
22910
22911
|
}, P) => /* @__PURE__ */ y(
|
|
22911
|
-
|
|
22912
|
+
mr,
|
|
22912
22913
|
{
|
|
22913
22914
|
label: w,
|
|
22914
22915
|
disabled: e,
|
|
@@ -22919,7 +22920,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22919
22920
|
)
|
|
22920
22921
|
),
|
|
22921
22922
|
/* @__PURE__ */ y(
|
|
22922
|
-
|
|
22923
|
+
mr,
|
|
22923
22924
|
{
|
|
22924
22925
|
label: "ra.action.close",
|
|
22925
22926
|
disabled: e,
|
|
@@ -22987,7 +22988,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
22987
22988
|
label: r = "ra.action.create",
|
|
22988
22989
|
scrollToTop: n = !0,
|
|
22989
22990
|
...o
|
|
22990
|
-
} = t, i = pt(t), s =
|
|
22991
|
+
} = t, i = pt(t), s = ur(t), l = _l();
|
|
22991
22992
|
return /* @__PURE__ */ y(
|
|
22992
22993
|
db,
|
|
22993
22994
|
{
|
|
@@ -23012,7 +23013,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23012
23013
|
label: r = "ra.action.edit",
|
|
23013
23014
|
scrollToTop: n = !0,
|
|
23014
23015
|
...o
|
|
23015
|
-
} = t, i = pt(t), s =
|
|
23016
|
+
} = t, i = pt(t), s = ur(t), l = _l();
|
|
23016
23017
|
return s ? /* @__PURE__ */ y(
|
|
23017
23018
|
db,
|
|
23018
23019
|
{
|
|
@@ -23033,7 +23034,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23033
23034
|
resource: o,
|
|
23034
23035
|
scrollToTop: i = !0,
|
|
23035
23036
|
...s
|
|
23036
|
-
} = t, l = pt(t), u =
|
|
23037
|
+
} = t, l = pt(t), u = ur(t), d = _l();
|
|
23037
23038
|
return u ? /* @__PURE__ */ y(
|
|
23038
23039
|
db,
|
|
23039
23040
|
{
|
|
@@ -23137,7 +23138,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23137
23138
|
hiddenactions: oe = [],
|
|
23138
23139
|
user: se = []
|
|
23139
23140
|
} = ot(zi), ie = ot(ek), _ = pb();
|
|
23140
|
-
|
|
23141
|
+
Ue(() => {
|
|
23141
23142
|
ie && (ie.current.activePanel.params.apiRef = Q);
|
|
23142
23143
|
}, [ie]);
|
|
23143
23144
|
const pe = {}, Y = [], be = [], Ie = i.map((de) => {
|
|
@@ -23320,7 +23321,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23320
23321
|
] : [];
|
|
23321
23322
|
}, "getActions")
|
|
23322
23323
|
}
|
|
23323
|
-
]) : $e, at =
|
|
23324
|
+
]) : $e, at = Sr(() => ut, []), ze = $ && Nn(R), st = /* @__PURE__ */ a((de) => {
|
|
23324
23325
|
N || ($ || !x ? D(de) : Q.current.isRowSelected(de[0]) ? D([]) : D(de));
|
|
23325
23326
|
}, "handleSelectionChange"), Ge = /* @__PURE__ */ a((de) => {
|
|
23326
23327
|
var he;
|
|
@@ -23543,7 +23544,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23543
23544
|
}, "GrillaSm"), yz = /* @__PURE__ */ a((t) => {
|
|
23544
23545
|
const e = Di((s) => s.breakpoints.down("md")), { hasEdit: r, options: n } = dS(t), { desktopSize: o = !1, ...i } = t;
|
|
23545
23546
|
return e && o === !1 ? /* @__PURE__ */ y(bz, { ...i, hasEdit: r, borra: n == null ? void 0 : n.borra }) : /* @__PURE__ */ y(Bk, { ...i, hasEdit: r, borra: n == null ? void 0 : n.borra });
|
|
23546
|
-
}, "GrillaEtriek"), vz = X(
|
|
23547
|
+
}, "GrillaEtriek"), vz = X(mr, {
|
|
23547
23548
|
name: "EtrDeleteButton",
|
|
23548
23549
|
overridesResolver: /* @__PURE__ */ a((t, e) => e.root, "overridesResolver")
|
|
23549
23550
|
})(({ theme: t }) => ({
|
|
@@ -23561,7 +23562,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23561
23562
|
opacity: 0.6,
|
|
23562
23563
|
position: "relative"
|
|
23563
23564
|
}, Cz = /* @__PURE__ */ a((t) => {
|
|
23564
|
-
const e =
|
|
23565
|
+
const e = dr(), r = ss(), n = r.open ? Sz : Oz;
|
|
23565
23566
|
return /* @__PURE__ */ y(ji.Provider, { value: { form: e }, children: /* @__PURE__ */ W(
|
|
23566
23567
|
oS,
|
|
23567
23568
|
{
|
|
@@ -23608,7 +23609,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23608
23609
|
setOpen: l,
|
|
23609
23610
|
open: u
|
|
23610
23611
|
} = t, { dirtyFields: d, isValid: p } = gR(), { fichaProps: { [t.source]: f = {}, etrs: h } = {} } = Ot(), m = ss(), g = ot(ji), { onAfterRenderAsistente: b, ...v } = f, x = wn({ resource: r, etrs: h, asisEtr: g });
|
|
23611
|
-
return
|
|
23612
|
+
return Ue(() => {
|
|
23612
23613
|
u && typeof b == "function" && b({ ...x, form: e }, n);
|
|
23613
23614
|
}, [u]), /* @__PURE__ */ W(Qr, { children: [
|
|
23614
23615
|
/* @__PURE__ */ y(Xl, { children: /* @__PURE__ */ y(Xm, { spacing: 4, children: zd.map(
|
|
@@ -23632,7 +23633,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23632
23633
|
}
|
|
23633
23634
|
),
|
|
23634
23635
|
/* @__PURE__ */ y(
|
|
23635
|
-
|
|
23636
|
+
mr,
|
|
23636
23637
|
{
|
|
23637
23638
|
label: "ra.action.cancel",
|
|
23638
23639
|
onClick: /* @__PURE__ */ a((T) => {
|
|
@@ -23655,10 +23656,10 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23655
23656
|
onBeforeSubmitAsistente: l = La,
|
|
23656
23657
|
onAfterSubmitAsistente: u = La,
|
|
23657
23658
|
validateAllowAdd: d
|
|
23658
|
-
} = t, [p, f] = eg(!1), h = pt(t), m =
|
|
23659
|
+
} = t, [p, f] = eg(!1), h = pt(t), m = dr(), g = Bi(), b = hk({ apiRef: g, source: i, enviarTodo: s }), v = "N", { estado: x, fichaProps: { etrs: T } = {} } = Ot(), k = ot(ji), C = wn({ etrs: T, asisEtr: k }), w = Tt()("ra.action.create");
|
|
23659
23660
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23660
23661
|
/* @__PURE__ */ y(
|
|
23661
|
-
|
|
23662
|
+
mr,
|
|
23662
23663
|
{
|
|
23663
23664
|
onClick: /* @__PURE__ */ a((F) => {
|
|
23664
23665
|
const P = d ? d(C) : !0;
|
|
@@ -23716,10 +23717,10 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23716
23717
|
enviarTodo: l,
|
|
23717
23718
|
onBeforeSubmitAsistente: u = La,
|
|
23718
23719
|
onAfterSubmitAsistente: d = La
|
|
23719
|
-
} = t, p = Tt(), [f, h] = eg(!1), m = Bi(), g =
|
|
23720
|
+
} = t, p = Tt(), [f, h] = eg(!1), m = Bi(), g = dr(), b = mk({ apiRef: m, source: i, enviarTodo: l }), v = "M", { estado: x, fichaProps: { etrs: T } = {} } = Ot(), k = ot(ji), C = wn({ etrs: T, asisEtr: k }), S = p("ra.action.edit");
|
|
23720
23721
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
23721
23722
|
/* @__PURE__ */ y(
|
|
23722
|
-
|
|
23723
|
+
mr,
|
|
23723
23724
|
{
|
|
23724
23725
|
onClick: /* @__PURE__ */ a((M) => {
|
|
23725
23726
|
h(!0), M.stopPropagation();
|
|
@@ -23775,7 +23776,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23775
23776
|
enviarTodo: i,
|
|
23776
23777
|
onBeforeSubmitAsistente: s = La,
|
|
23777
23778
|
onAfterSubmitAsistente: l = La
|
|
23778
|
-
} = t, [u, d] = eg(!1), p = Bi(), f =
|
|
23779
|
+
} = t, [u, d] = eg(!1), p = Bi(), f = dr(), h = gk({ apiRef: p, source: o, enviarTodo: i }), { estado: m, fichaProps: { etrs: g } = {} } = Ot(), b = wn({ etrs: g });
|
|
23779
23780
|
return /* @__PURE__ */ W(vn, { children: [
|
|
23780
23781
|
/* @__PURE__ */ y(
|
|
23781
23782
|
vz,
|
|
@@ -23819,7 +23820,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23819
23820
|
sxContainer: m = {},
|
|
23820
23821
|
filter: g,
|
|
23821
23822
|
...b
|
|
23822
|
-
} = t, [v, x] = De([]), T =
|
|
23823
|
+
} = t, [v, x] = De([]), T = ur(t), k = dr(), { field: C } = qd({ defaultValue: "", ...t }), S = pb(), {
|
|
23823
23824
|
isLoading: w,
|
|
23824
23825
|
fichaProps: { [h]: M } = {},
|
|
23825
23826
|
propsContenidos: { [h]: F = {} } = {}
|
|
@@ -23854,7 +23855,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23854
23855
|
field: me
|
|
23855
23856
|
}
|
|
23856
23857
|
]);
|
|
23857
|
-
}),
|
|
23858
|
+
}), Ue(() => {
|
|
23858
23859
|
u || setTimeout(() => {
|
|
23859
23860
|
k.setValue(h, "");
|
|
23860
23861
|
}, 1e3);
|
|
@@ -23945,7 +23946,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
23945
23946
|
);
|
|
23946
23947
|
}, "renderCell")
|
|
23947
23948
|
}));
|
|
23948
|
-
const He =
|
|
23949
|
+
const He = Sr(() => Ie, [JSON.stringify(Ie)]);
|
|
23949
23950
|
return oe ? null : /* @__PURE__ */ y(
|
|
23950
23951
|
tn,
|
|
23951
23952
|
{
|
|
@@ -24021,7 +24022,7 @@ const tz = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24021
24022
|
enableLoad: i = !0,
|
|
24022
24023
|
initialState: s,
|
|
24023
24024
|
...l
|
|
24024
|
-
} = t, { isLoading: u } = Ot(), d =
|
|
24025
|
+
} = t, { isLoading: u } = Ot(), d = ur(), [p, f] = De(r), [{ field: h, sort: m }] = r, g = Sr(
|
|
24025
24026
|
() => [...n],
|
|
24026
24027
|
[JSON.stringify(n)]
|
|
24027
24028
|
);
|
|
@@ -24683,14 +24684,14 @@ const Hz = Oe("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
24683
24684
|
direction: d
|
|
24684
24685
|
} = i, p = ne(i, Wz), f = Kl(), h = E({
|
|
24685
24686
|
isRtl: f
|
|
24686
|
-
}, i), m = Uz(h), g = (n = l.StartScrollButtonIcon) != null ? n : Vz, b = (o = l.EndScrollButtonIcon) != null ? o : jz, v =
|
|
24687
|
+
}, i), m = Uz(h), g = (n = l.StartScrollButtonIcon) != null ? n : Vz, b = (o = l.EndScrollButtonIcon) != null ? o : jz, v = vr({
|
|
24687
24688
|
elementType: g,
|
|
24688
24689
|
externalSlotProps: u.startScrollButtonIcon,
|
|
24689
24690
|
additionalProps: {
|
|
24690
24691
|
fontSize: "small"
|
|
24691
24692
|
},
|
|
24692
24693
|
ownerState: h
|
|
24693
|
-
}), x =
|
|
24694
|
+
}), x = vr({
|
|
24694
24695
|
elementType: b,
|
|
24695
24696
|
externalSlotProps: u.endScrollButtonIcon,
|
|
24696
24697
|
additionalProps: {
|
|
@@ -24957,11 +24958,11 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
24957
24958
|
scrollableY: $ && L,
|
|
24958
24959
|
centered: d && !$,
|
|
24959
24960
|
scrollButtonsHideMobile: !m
|
|
24960
|
-
}), H = Yz(D), ee =
|
|
24961
|
+
}), H = Yz(D), ee = vr({
|
|
24961
24962
|
elementType: C.StartScrollButtonIcon,
|
|
24962
24963
|
externalSlotProps: S.startScrollButtonIcon,
|
|
24963
24964
|
ownerState: D
|
|
24964
|
-
}), z =
|
|
24965
|
+
}), z = vr({
|
|
24965
24966
|
elementType: C.EndScrollButtonIcon,
|
|
24966
24967
|
externalSlotProps: S.endScrollButtonIcon,
|
|
24967
24968
|
ownerState: D
|
|
@@ -25002,7 +25003,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25002
25003
|
tabsMeta: le,
|
|
25003
25004
|
tabMeta: Te
|
|
25004
25005
|
};
|
|
25005
|
-
}, "getTabsMeta"), je =
|
|
25006
|
+
}, "getTabsMeta"), je = gr(() => {
|
|
25006
25007
|
const {
|
|
25007
25008
|
tabsMeta: Z,
|
|
25008
25009
|
tabMeta: le
|
|
@@ -25090,7 +25091,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25090
25091
|
}, M, {
|
|
25091
25092
|
className: re(H.scrollButtons, M.className)
|
|
25092
25093
|
})) : null, Z;
|
|
25093
|
-
}, "getConditionalElements"), Ae =
|
|
25094
|
+
}, "getConditionalElements"), Ae = gr((Z) => {
|
|
25094
25095
|
const {
|
|
25095
25096
|
tabsMeta: le,
|
|
25096
25097
|
tabMeta: Te
|
|
@@ -25108,7 +25109,7 @@ const Uk = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
25108
25109
|
});
|
|
25109
25110
|
}
|
|
25110
25111
|
}
|
|
25111
|
-
}), ye =
|
|
25112
|
+
}), ye = gr(() => {
|
|
25112
25113
|
$ && T !== !1 && pe(!_);
|
|
25113
25114
|
});
|
|
25114
25115
|
O.useEffect(() => {
|
|
@@ -25564,7 +25565,7 @@ const Zk = /* @__PURE__ */ a((t) => {
|
|
|
25564
25565
|
n(!0);
|
|
25565
25566
|
}, []), i = nt(() => {
|
|
25566
25567
|
n(!1);
|
|
25567
|
-
}, []), s =
|
|
25568
|
+
}, []), s = Sr(
|
|
25568
25569
|
() => ({
|
|
25569
25570
|
isOpen: r,
|
|
25570
25571
|
open: o,
|
|
@@ -25592,7 +25593,7 @@ const Zk = /* @__PURE__ */ a((t) => {
|
|
|
25592
25593
|
onClick: h,
|
|
25593
25594
|
children: l
|
|
25594
25595
|
}
|
|
25595
|
-
) }) : /* @__PURE__ */ y(
|
|
25596
|
+
) }) : /* @__PURE__ */ y(mr, { label: m, ...f, onClick: h, children: l });
|
|
25596
25597
|
return /* @__PURE__ */ W(Jk.Provider, { value: s, children: [
|
|
25597
25598
|
g,
|
|
25598
25599
|
p
|
|
@@ -25658,7 +25659,7 @@ const Zk = /* @__PURE__ */ a((t) => {
|
|
|
25658
25659
|
enabled: r
|
|
25659
25660
|
},
|
|
25660
25661
|
{ estado: p, id: f, ...n == null ? void 0 : n.meta }
|
|
25661
|
-
), g =
|
|
25662
|
+
), g = Sr(
|
|
25662
25663
|
() => ({
|
|
25663
25664
|
estado: p,
|
|
25664
25665
|
initialValues: h || {},
|
|
@@ -25668,7 +25669,7 @@ const Zk = /* @__PURE__ */ a((t) => {
|
|
|
25668
25669
|
}),
|
|
25669
25670
|
[h, m, o, p]
|
|
25670
25671
|
);
|
|
25671
|
-
return
|
|
25672
|
+
return Ue(() => {
|
|
25672
25673
|
r ? m || u.getFichaConfig(d, { estado: "N" }).then((x) => {
|
|
25673
25674
|
s(x.data);
|
|
25674
25675
|
}).catch((x) => {
|
|
@@ -25812,7 +25813,7 @@ const Zk = /* @__PURE__ */ a((t) => {
|
|
|
25812
25813
|
} = t, u = ot(YC), d = r === "ventana" ? v5 : mS, { pathname: p, state: f } = Co(), h = Qa(), [m, g] = De(null), [b, v] = De(i), x = /* @__PURE__ */ a((C) => {
|
|
25813
25814
|
v(C.target.checked);
|
|
25814
25815
|
}, "handleChange");
|
|
25815
|
-
if (
|
|
25816
|
+
if (Ue(() => {
|
|
25816
25817
|
h.getGrillaConfig(e).then((C) => {
|
|
25817
25818
|
g(C.data);
|
|
25818
25819
|
}).catch((C) => {
|
|
@@ -26032,7 +26033,7 @@ var gb = {};
|
|
|
26032
26033
|
Object.defineProperty(gb, "__esModule", {
|
|
26033
26034
|
value: !0
|
|
26034
26035
|
});
|
|
26035
|
-
var tE = gb.default = void 0, C5 = E5(
|
|
26036
|
+
var tE = gb.default = void 0, C5 = E5(qe), k5 = tC;
|
|
26036
26037
|
function rE(t) {
|
|
26037
26038
|
if (typeof WeakMap != "function") return null;
|
|
26038
26039
|
var e = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap();
|
|
@@ -26073,7 +26074,7 @@ function xn(t) {
|
|
|
26073
26074
|
return t ? (t.nodeName || "").toLowerCase() : null;
|
|
26074
26075
|
}
|
|
26075
26076
|
a(xn, "getNodeName");
|
|
26076
|
-
function
|
|
26077
|
+
function xr(t) {
|
|
26077
26078
|
if (t == null)
|
|
26078
26079
|
return window;
|
|
26079
26080
|
if (t.toString() !== "[object Window]") {
|
|
@@ -26082,21 +26083,21 @@ function Or(t) {
|
|
|
26082
26083
|
}
|
|
26083
26084
|
return t;
|
|
26084
26085
|
}
|
|
26085
|
-
a(
|
|
26086
|
+
a(xr, "getWindow");
|
|
26086
26087
|
function Mi(t) {
|
|
26087
|
-
var e =
|
|
26088
|
+
var e = xr(t).Element;
|
|
26088
26089
|
return t instanceof e || t instanceof Element;
|
|
26089
26090
|
}
|
|
26090
26091
|
a(Mi, "isElement");
|
|
26091
26092
|
function _r(t) {
|
|
26092
|
-
var e =
|
|
26093
|
+
var e = xr(t).HTMLElement;
|
|
26093
26094
|
return t instanceof e || t instanceof HTMLElement;
|
|
26094
26095
|
}
|
|
26095
26096
|
a(_r, "isHTMLElement$1");
|
|
26096
26097
|
function yb(t) {
|
|
26097
26098
|
if (typeof ShadowRoot > "u")
|
|
26098
26099
|
return !1;
|
|
26099
|
-
var e =
|
|
26100
|
+
var e = xr(t).ShadowRoot;
|
|
26100
26101
|
return t instanceof e || t instanceof ShadowRoot;
|
|
26101
26102
|
}
|
|
26102
26103
|
a(yb, "isShadowRoot");
|
|
@@ -26164,7 +26165,7 @@ function _a(t, e, r) {
|
|
|
26164
26165
|
e === void 0 && (e = !1), r === void 0 && (r = !1);
|
|
26165
26166
|
var n = t.getBoundingClientRect(), o = 1, i = 1;
|
|
26166
26167
|
e && _r(t) && (o = t.offsetWidth > 0 && Da(n.width) / t.offsetWidth || 1, i = t.offsetHeight > 0 && Da(n.height) / t.offsetHeight || 1);
|
|
26167
|
-
var s = Mi(t) ?
|
|
26168
|
+
var s = Mi(t) ? xr(t) : window, l = s.visualViewport, u = !iE() && r, d = (n.left + (u && l ? l.offsetLeft : 0)) / o, p = (n.top + (u && l ? l.offsetTop : 0)) / i, f = n.width / o, h = n.height / i;
|
|
26168
26169
|
return {
|
|
26169
26170
|
width: f,
|
|
26170
26171
|
height: h,
|
|
@@ -26203,7 +26204,7 @@ function aE(t, e) {
|
|
|
26203
26204
|
}
|
|
26204
26205
|
a(aE, "contains");
|
|
26205
26206
|
function jn(t) {
|
|
26206
|
-
return
|
|
26207
|
+
return xr(t).getComputedStyle(t);
|
|
26207
26208
|
}
|
|
26208
26209
|
a(jn, "getComputedStyle$1");
|
|
26209
26210
|
function H5(t) {
|
|
@@ -26253,7 +26254,7 @@ function W5(t) {
|
|
|
26253
26254
|
}
|
|
26254
26255
|
a(W5, "getContainingBlock");
|
|
26255
26256
|
function nc(t) {
|
|
26256
|
-
for (var e =
|
|
26257
|
+
for (var e = xr(t), r = Vx(t); r && H5(r) && jn(r).position === "static"; )
|
|
26257
26258
|
r = Vx(r);
|
|
26258
26259
|
return r && (xn(r) === "html" || xn(r) === "body" && jn(r).position === "static") ? e : r || W5(t) || e;
|
|
26259
26260
|
}
|
|
@@ -26347,7 +26348,7 @@ function jx(t) {
|
|
|
26347
26348
|
var x = s.hasOwnProperty("x"), T = s.hasOwnProperty("y"), k = nr, C = rr, S = window;
|
|
26348
26349
|
if (d) {
|
|
26349
26350
|
var w = nc(r), M = "clientHeight", F = "clientWidth";
|
|
26350
|
-
if (w ===
|
|
26351
|
+
if (w === xr(r) && (w = wo(r), jn(w).position !== "static" && l === "absolute" && (M = "scrollHeight", F = "scrollWidth")), w = w, o === rr || (o === nr || o === zr) && i === bl) {
|
|
26351
26352
|
C = jr;
|
|
26352
26353
|
var P = f && w === S && S.visualViewport ? S.visualViewport.height : (
|
|
26353
26354
|
// $FlowFixMe[prop-missing]
|
|
@@ -26369,7 +26370,7 @@ function jx(t) {
|
|
|
26369
26370
|
}, d && J5), A = p === !0 ? Q5({
|
|
26370
26371
|
x: m,
|
|
26371
26372
|
y: b
|
|
26372
|
-
},
|
|
26373
|
+
}, xr(r)) : {
|
|
26373
26374
|
x: m,
|
|
26374
26375
|
y: b
|
|
26375
26376
|
};
|
|
@@ -26415,7 +26416,7 @@ var gc = {
|
|
|
26415
26416
|
passive: !0
|
|
26416
26417
|
};
|
|
26417
26418
|
function e3(t) {
|
|
26418
|
-
var e = t.state, r = t.instance, n = t.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, l = s === void 0 ? !0 : s, u =
|
|
26419
|
+
var e = t.state, r = t.instance, n = t.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, l = s === void 0 ? !0 : s, u = xr(e.elements.popper), d = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
26419
26420
|
return i && d.forEach(function(p) {
|
|
26420
26421
|
p.addEventListener("scroll", r.update, gc);
|
|
26421
26422
|
}), l && u.addEventListener("resize", r.update, gc), function() {
|
|
@@ -26457,7 +26458,7 @@ function zx(t) {
|
|
|
26457
26458
|
}
|
|
26458
26459
|
a(zx, "getOppositeVariationPlacement");
|
|
26459
26460
|
function Ob(t) {
|
|
26460
|
-
var e =
|
|
26461
|
+
var e = xr(t), r = e.pageXOffset, n = e.pageYOffset;
|
|
26461
26462
|
return {
|
|
26462
26463
|
scrollLeft: r,
|
|
26463
26464
|
scrollTop: n
|
|
@@ -26469,7 +26470,7 @@ function Sb(t) {
|
|
|
26469
26470
|
}
|
|
26470
26471
|
a(Sb, "getWindowScrollBarX");
|
|
26471
26472
|
function o3(t, e) {
|
|
26472
|
-
var r =
|
|
26473
|
+
var r = xr(t), n = wo(t), o = r.visualViewport, i = n.clientWidth, s = n.clientHeight, l = 0, u = 0;
|
|
26473
26474
|
if (o) {
|
|
26474
26475
|
i = o.width, s = o.height;
|
|
26475
26476
|
var d = iE();
|
|
@@ -26505,7 +26506,7 @@ a(uE, "getScrollParent");
|
|
|
26505
26506
|
function Ns(t, e) {
|
|
26506
26507
|
var r;
|
|
26507
26508
|
e === void 0 && (e = []);
|
|
26508
|
-
var n = uE(t), o = n === ((r = t.ownerDocument) == null ? void 0 : r.body), i =
|
|
26509
|
+
var n = uE(t), o = n === ((r = t.ownerDocument) == null ? void 0 : r.body), i = xr(n), s = o ? [i].concat(i.visualViewport || [], Cb(n) ? n : []) : n, l = e.concat(s);
|
|
26509
26510
|
return o ? l : (
|
|
26510
26511
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
26511
26512
|
l.concat(Ns(Ep(s)))
|
|
@@ -26842,7 +26843,7 @@ function C3(t) {
|
|
|
26842
26843
|
}
|
|
26843
26844
|
a(C3, "getHTMLElementScroll");
|
|
26844
26845
|
function k3(t) {
|
|
26845
|
-
return t ===
|
|
26846
|
+
return t === xr(t) || !_r(t) ? Ob(t) : C3(t);
|
|
26846
26847
|
}
|
|
26847
26848
|
a(k3, "getNodeScroll");
|
|
26848
26849
|
function E3(t) {
|
|
@@ -27151,7 +27152,7 @@ const B3 = /* @__PURE__ */ a((t) => {
|
|
|
27151
27152
|
placement: M
|
|
27152
27153
|
};
|
|
27153
27154
|
b !== null && (R.TransitionProps = b);
|
|
27154
|
-
const A = B3(e), $ = (n = g.root) != null ? n : "div", L =
|
|
27155
|
+
const A = B3(e), $ = (n = g.root) != null ? n : "div", L = vr({
|
|
27155
27156
|
elementType: $,
|
|
27156
27157
|
externalSlotProps: m.root,
|
|
27157
27158
|
externalForwardedProps: v,
|
|
@@ -27761,13 +27762,13 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27761
27762
|
`));
|
|
27762
27763
|
}, [ie, me, Be]);
|
|
27763
27764
|
}
|
|
27764
|
-
const it = Gl(D), ft = O.useRef(), Nt =
|
|
27765
|
+
const it = Gl(D), ft = O.useRef(), Nt = gr(() => {
|
|
27765
27766
|
ft.current !== void 0 && (document.body.style.WebkitUserSelect = ft.current, ft.current = void 0), xt.clear();
|
|
27766
27767
|
});
|
|
27767
27768
|
O.useEffect(() => Nt, [Nt]);
|
|
27768
27769
|
const he = /* @__PURE__ */ a((Be) => {
|
|
27769
27770
|
Kx.clear(), bc = !0, ye(!0), U && !de && U(Be);
|
|
27770
|
-
}, "handleOpen"), Z =
|
|
27771
|
+
}, "handleOpen"), Z = gr(
|
|
27771
27772
|
/**
|
|
27772
27773
|
* @param {React.SyntheticEvent | Event} event
|
|
27773
27774
|
*/
|
|
@@ -27797,8 +27798,8 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27797
27798
|
me || ct(Be.currentTarget), Pt(Be), _e.current === !0 && (Gn(!0), le(Be));
|
|
27798
27799
|
}, "handleFocus"), Jv = /* @__PURE__ */ a((Be) => {
|
|
27799
27800
|
ut.current = !0;
|
|
27800
|
-
const
|
|
27801
|
-
|
|
27801
|
+
const fr = be.props;
|
|
27802
|
+
fr.onTouchStart && fr.onTouchStart(Be);
|
|
27802
27803
|
}, "detectTouchStart"), AM = /* @__PURE__ */ a((Be) => {
|
|
27803
27804
|
Jv(Be), Ge.clear(), ze.clear(), Nt(), ft.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", xt.start(N, () => {
|
|
27804
27805
|
document.body.style.WebkitUserSelect = ft.current, le(Be);
|
|
@@ -27811,8 +27812,8 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27811
27812
|
O.useEffect(() => {
|
|
27812
27813
|
if (!de)
|
|
27813
27814
|
return;
|
|
27814
|
-
function Be(
|
|
27815
|
-
(
|
|
27815
|
+
function Be(fr) {
|
|
27816
|
+
(fr.key === "Escape" || fr.key === "Esc") && Z(fr);
|
|
27816
27817
|
}
|
|
27817
27818
|
return a(Be, "handleKeyDown"), document.addEventListener("keydown", Be), () => {
|
|
27818
27819
|
document.removeEventListener("keydown", Be);
|
|
@@ -27821,8 +27822,8 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27821
27822
|
const IM = wt(be.ref, kr, ct, r);
|
|
27822
27823
|
!ie && ie !== 0 && (de = !1);
|
|
27823
27824
|
const Up = O.useRef(), $M = /* @__PURE__ */ a((Be) => {
|
|
27824
|
-
const
|
|
27825
|
-
|
|
27825
|
+
const fr = be.props;
|
|
27826
|
+
fr.onMouseMove && fr.onMouseMove(Be), xs = {
|
|
27826
27827
|
x: Be.clientX,
|
|
27827
27828
|
y: Be.clientY
|
|
27828
27829
|
}, Up.current && Up.current.update();
|
|
@@ -27844,7 +27845,7 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27844
27845
|
`));
|
|
27845
27846
|
const LM = O.useMemo(() => {
|
|
27846
27847
|
var Be;
|
|
27847
|
-
let
|
|
27848
|
+
let fr = [{
|
|
27848
27849
|
name: "arrow",
|
|
27849
27850
|
enabled: !!je,
|
|
27850
27851
|
options: {
|
|
@@ -27852,8 +27853,8 @@ const wp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
|
27852
27853
|
padding: 4
|
|
27853
27854
|
}
|
|
27854
27855
|
}];
|
|
27855
|
-
return (Be = Q.popperOptions) != null && Be.modifiers && (
|
|
27856
|
-
modifiers:
|
|
27856
|
+
return (Be = Q.popperOptions) != null && Be.modifiers && (fr = fr.concat(Q.popperOptions.modifiers)), E({}, Q.popperOptions, {
|
|
27857
|
+
modifiers: fr
|
|
27857
27858
|
});
|
|
27858
27859
|
}, [je, Q]), gs = E({}, w, {
|
|
27859
27860
|
isRtl: He,
|
|
@@ -28115,7 +28116,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28115
28116
|
icon: o = /* @__PURE__ */ y(is, {}),
|
|
28116
28117
|
label: i = "ra.action.delete",
|
|
28117
28118
|
...s
|
|
28118
|
-
} = t, l =
|
|
28119
|
+
} = t, l = ur(), [u, { isFetching: d }] = cS(r, {
|
|
28119
28120
|
id: l.id
|
|
28120
28121
|
});
|
|
28121
28122
|
return /* @__PURE__ */ y(wp, { title: e("ra.action.delete"), children: /* @__PURE__ */ y(
|
|
@@ -28138,7 +28139,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28138
28139
|
return e;
|
|
28139
28140
|
}, "defaultTransform"), Z3 = /* @__PURE__ */ a((t) => {
|
|
28140
28141
|
var m;
|
|
28141
|
-
const { children: e, fichaProps: r } = t, n = AP(), [o, i] = De(null), s = Co(), l = Qa(), u = pt(t), { record: d, isFetching: p } = n, f = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h =
|
|
28142
|
+
const { children: e, fichaProps: r } = t, n = AP(), [o, i] = De(null), s = Co(), l = Qa(), u = pt(t), { record: d, isFetching: p } = n, f = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h = Sr(
|
|
28142
28143
|
() => ({
|
|
28143
28144
|
estado: f,
|
|
28144
28145
|
initialValues: d,
|
|
@@ -28147,7 +28148,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28147
28148
|
}),
|
|
28148
28149
|
[d, p, r, f]
|
|
28149
28150
|
);
|
|
28150
|
-
return
|
|
28151
|
+
return Ue(() => {
|
|
28151
28152
|
p || l.getFichaConfig(u, { estado: "M" }).then((g) => {
|
|
28152
28153
|
i(g.data);
|
|
28153
28154
|
}).catch((g) => {
|
|
@@ -28207,7 +28208,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28207
28208
|
] }),
|
|
28208
28209
|
(u || d) && /* @__PURE__ */ W(Ql, { children: [
|
|
28209
28210
|
d && /* @__PURE__ */ y(
|
|
28210
|
-
|
|
28211
|
+
mr,
|
|
28211
28212
|
{
|
|
28212
28213
|
label: "ra.action.cancel",
|
|
28213
28214
|
disabled: p,
|
|
@@ -28230,9 +28231,9 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28230
28231
|
);
|
|
28231
28232
|
}), fE = /* @__PURE__ */ a((t) => {
|
|
28232
28233
|
const e = pt(t), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = Ot(), s = wn({ resource: e, etrs: i.etrs });
|
|
28233
|
-
return
|
|
28234
|
+
return Ue(() => {
|
|
28234
28235
|
i.onRenderFicha && i.onRenderFicha(s, r);
|
|
28235
|
-
}, []),
|
|
28236
|
+
}, []), Ue(() => {
|
|
28236
28237
|
n || i.onLoadFicha && i.onLoadFicha(s, r, o);
|
|
28237
28238
|
}, [n]), n ? /* @__PURE__ */ y(
|
|
28238
28239
|
cs,
|
|
@@ -28253,7 +28254,7 @@ const Q3 = /* @__PURE__ */ a(({
|
|
|
28253
28254
|
t.preventDefault();
|
|
28254
28255
|
}, "disableKeyboardEvents"), hE = /* @__PURE__ */ a((t) => {
|
|
28255
28256
|
var p;
|
|
28256
|
-
const e = ss(), r = Co(), n = pt(), o = _i(), i =
|
|
28257
|
+
const e = ss(), r = Co(), n = pt(), o = _i(), i = ur(), s = ((p = r.state) == null ? void 0 : p.estado) === "B", l = hp({ borrar: s, ...t }), u = e.open || s, d = e.open ? r4 : t4;
|
|
28257
28258
|
return /* @__PURE__ */ W(Qr, { children: [
|
|
28258
28259
|
e.open && /* @__PURE__ */ y(
|
|
28259
28260
|
cs,
|
|
@@ -28451,7 +28452,7 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28451
28452
|
},
|
|
28452
28453
|
[i, n]
|
|
28453
28454
|
);
|
|
28454
|
-
return /* @__PURE__ */ y(
|
|
28455
|
+
return /* @__PURE__ */ y(mr, { label: e, onClick: s, ...o, children: r });
|
|
28455
28456
|
}, "RefreshButton"), m4 = /* @__PURE__ */ y(bE, {}), g4 = /* @__PURE__ */ a((t, e) => {
|
|
28456
28457
|
alert("Falta implementar la función jsBotonGrilla");
|
|
28457
28458
|
}, "defaultJsBotonGrilla"), b4 = Ll((t, e) => {
|
|
@@ -28511,7 +28512,7 @@ const h4 = /* @__PURE__ */ a((t) => {
|
|
|
28511
28512
|
}) || [],
|
|
28512
28513
|
[i]
|
|
28513
28514
|
);
|
|
28514
|
-
return
|
|
28515
|
+
return Sr(
|
|
28515
28516
|
() => /* @__PURE__ */ W(uS, { className: r, ...DP(d), children: [
|
|
28516
28517
|
s ? null : n ? Yr(n, {
|
|
28517
28518
|
resource: S,
|
|
@@ -29896,7 +29897,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29896
29897
|
}, [u, x, ee]);
|
|
29897
29898
|
let J = M;
|
|
29898
29899
|
M === "auto" && !w.muiSupportAuto && (J = void 0);
|
|
29899
|
-
const G = g || (u ? $r(jc(u)).body : void 0), te = (o = k == null ? void 0 : k.root) != null ? o : Q4, Q = (i = k == null ? void 0 : k.paper) != null ? i : EE, oe =
|
|
29900
|
+
const G = g || (u ? $r(jc(u)).body : void 0), te = (o = k == null ? void 0 : k.root) != null ? o : Q4, Q = (i = k == null ? void 0 : k.paper) != null ? i : EE, oe = vr({
|
|
29900
29901
|
elementType: Q,
|
|
29901
29902
|
externalSlotProps: E({}, A, {
|
|
29902
29903
|
style: D ? A.style : E({}, A.style, {
|
|
@@ -29909,7 +29910,7 @@ const J4 = /* @__PURE__ */ a((t) => {
|
|
|
29909
29910
|
},
|
|
29910
29911
|
ownerState: j,
|
|
29911
29912
|
className: re(B.paper, A == null ? void 0 : A.className)
|
|
29912
|
-
}), se =
|
|
29913
|
+
}), se = vr({
|
|
29913
29914
|
elementType: te,
|
|
29914
29915
|
externalSlotProps: (C == null ? void 0 : C.root) || {},
|
|
29915
29916
|
externalForwardedProps: R,
|
|
@@ -30208,12 +30209,12 @@ const Z4 = ["onEntering"], eH = ["autoFocus", "children", "className", "disableA
|
|
|
30208
30209
|
/* @__PURE__ */ O.isValidElement(N) && (process.env.NODE_ENV !== "production" && Pa.isFragment(N) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
30209
30210
|
`)), N.props.disabled || (x === "selectedMenu" && N.props.selected || $ === -1) && ($ = K));
|
|
30210
30211
|
});
|
|
30211
|
-
const L = (n = T.paper) != null ? n : iH, j = (o = k.paper) != null ? o : m, B =
|
|
30212
|
+
const L = (n = T.paper) != null ? n : iH, j = (o = k.paper) != null ? o : m, B = vr({
|
|
30212
30213
|
elementType: T.root,
|
|
30213
30214
|
externalSlotProps: k.root,
|
|
30214
30215
|
ownerState: M,
|
|
30215
30216
|
className: [F.root, u]
|
|
30216
|
-
}), V =
|
|
30217
|
+
}), V = vr({
|
|
30217
30218
|
elementType: L,
|
|
30218
30219
|
externalSlotProps: j,
|
|
30219
30220
|
ownerState: M,
|
|
@@ -30631,7 +30632,7 @@ const jte = /* @__PURE__ */ a((t) => {
|
|
|
30631
30632
|
)) })
|
|
30632
30633
|
] });
|
|
30633
30634
|
}, "MenuButton"), zte = /* @__PURE__ */ a((t) => {
|
|
30634
|
-
const { fields: e, className: r, ...n } = t, { campos: o, separador: i = "", secundario: s = [], hasSecundario: l } = e, u =
|
|
30635
|
+
const { fields: e, className: r, ...n } = t, { campos: o, separador: i = "", secundario: s = [], hasSecundario: l } = e, u = ur(), d = o.map((p) => u[p] !== void 0 ? u[p] : p).join(`${i}`);
|
|
30635
30636
|
return /* @__PURE__ */ W(Rt, { noWrap: !0, variant: "inherit", className: r, ...n, children: [
|
|
30636
30637
|
d,
|
|
30637
30638
|
l && /* @__PURE__ */ y(
|
|
@@ -30649,7 +30650,7 @@ const jte = /* @__PURE__ */ a((t) => {
|
|
|
30649
30650
|
] });
|
|
30650
30651
|
}, "MultiTextField"), pH = /* @__PURE__ */ a((t) => {
|
|
30651
30652
|
var m;
|
|
30652
|
-
const { children: e, fichaProps: r } = t, n = zP(), [o, i] = De(null), s = Co(), l = Qa(), u = pt(t), { record: d, isFetching: p } = n, f = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h =
|
|
30653
|
+
const { children: e, fichaProps: r } = t, n = zP(), [o, i] = De(null), s = Co(), l = Qa(), u = pt(t), { record: d, isFetching: p } = n, f = ((m = s == null ? void 0 : s.state) == null ? void 0 : m.estado) || "M", h = Sr(
|
|
30653
30654
|
() => ({
|
|
30654
30655
|
estado: f,
|
|
30655
30656
|
initialValues: d,
|
|
@@ -30658,7 +30659,7 @@ const jte = /* @__PURE__ */ a((t) => {
|
|
|
30658
30659
|
}),
|
|
30659
30660
|
[d, p, r, f]
|
|
30660
30661
|
);
|
|
30661
|
-
return
|
|
30662
|
+
return Ue(() => {
|
|
30662
30663
|
p || l.getFichaConfig(u, { estado: "M" }).then((g) => {
|
|
30663
30664
|
i(g.data);
|
|
30664
30665
|
}).catch((g) => {
|
|
@@ -30900,7 +30901,7 @@ const CH = /* @__PURE__ */ a(({
|
|
|
30900
30901
|
...s
|
|
30901
30902
|
} = t, [l, u] = De(!1), {
|
|
30902
30903
|
fichaProps: { etrs: d }
|
|
30903
|
-
} = Ot(), p = ot(ji), f = wn({ ...s, etrs: d, asisEtr: p }), h = Un(), { trigger: m } =
|
|
30904
|
+
} = Ot(), p = ot(ji), f = wn({ ...s, etrs: d, asisEtr: p }), h = Un(), { trigger: m } = dr(), { hidden: g } = uk(), b = nt(
|
|
30904
30905
|
async (v, x, T) => {
|
|
30905
30906
|
typeof e == "function" ? await m() ? (u(!0), e(f, x, T, v).finally(() => {
|
|
30906
30907
|
u(!1);
|
|
@@ -30913,7 +30914,7 @@ const CH = /* @__PURE__ */ a(({
|
|
|
30913
30914
|
return /* @__PURE__ */ W(Zm, { children: [
|
|
30914
30915
|
o ? /* @__PURE__ */ y(Dl, { sx: { mr: 1 }, ...i }) : null,
|
|
30915
30916
|
n.filter((v) => !g[v.name]).map((v) => /* @__PURE__ */ y(
|
|
30916
|
-
|
|
30917
|
+
mr,
|
|
30917
30918
|
{
|
|
30918
30919
|
label: v.label,
|
|
30919
30920
|
disabled: l,
|
|
@@ -31016,7 +31017,7 @@ const Kte = {
|
|
|
31016
31017
|
}
|
|
31017
31018
|
//...resources
|
|
31018
31019
|
}, Yte = /* @__PURE__ */ a((t) => {
|
|
31019
|
-
const { propsContenido: e, hidden: r } = pk(t), n =
|
|
31020
|
+
const { propsContenido: e, hidden: r } = pk(t), n = ur(), o = JSON.parse(JSON.stringify(n)), i = o[t.source];
|
|
31020
31021
|
return o[t.source] = i != "" && i != "0", !r && /* @__PURE__ */ y(qP, { ...e, record: o });
|
|
31021
31022
|
}, "BooleanField");
|
|
31022
31023
|
var Rb = {}, TH = Ee;
|
|
@@ -31239,7 +31240,7 @@ $E = Ib.default = (0, zH.default)(/* @__PURE__ */ (0, HH.jsx)("path", {
|
|
|
31239
31240
|
}), "AddAPhoto");
|
|
31240
31241
|
const eO = /* @__PURE__ */ a((t) => {
|
|
31241
31242
|
const [e, r] = De(!1), [n, o] = De(!1), i = Un(), s = Tt(), { field: l, sx: u } = t;
|
|
31242
|
-
return
|
|
31243
|
+
return Ue(() => {
|
|
31243
31244
|
e && (/* @__PURE__ */ a(async () => {
|
|
31244
31245
|
let p = null;
|
|
31245
31246
|
try {
|
|
@@ -31335,7 +31336,7 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31335
31336
|
if (!(!t || t === ""))
|
|
31336
31337
|
return typeof t == "string" ? { src: e ? `${e}/${t}` : r } : t instanceof Array ? t.map((n) => ({ src: e ? `${e}/${n}` : r })) : t;
|
|
31337
31338
|
}, "formatFile"), WH = { "image/*": [] }, Jte = /* @__PURE__ */ a((t) => {
|
|
31338
|
-
const { propsContenido: e, hidden: r } =
|
|
31339
|
+
const { propsContenido: e, hidden: r } = pr(t), {
|
|
31339
31340
|
options: n = {},
|
|
31340
31341
|
readOnly: o = !1,
|
|
31341
31342
|
tipo: i = "file",
|
|
@@ -31346,13 +31347,13 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31346
31347
|
accept: d,
|
|
31347
31348
|
download: p = !0,
|
|
31348
31349
|
...f
|
|
31349
|
-
} = e, h = Tt(), m =
|
|
31350
|
+
} = e, h = Tt(), m = ur(t), g = Di((C) => C.breakpoints.down("sm")), b = dr(), [v, x] = De(
|
|
31350
31351
|
m && l ? `${l}/${m[f.source]}` : void 0
|
|
31351
31352
|
);
|
|
31352
31353
|
if (!b)
|
|
31353
31354
|
return null;
|
|
31354
31355
|
const T = b.getValues()[f.source], k = v ?? "#";
|
|
31355
|
-
return
|
|
31356
|
+
return Ue(() => {
|
|
31356
31357
|
u && T && (T != null && T.src ? x(T.src) : u(T).then((C) => {
|
|
31357
31358
|
x(C);
|
|
31358
31359
|
}));
|
|
@@ -31434,7 +31435,7 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31434
31435
|
}
|
|
31435
31436
|
));
|
|
31436
31437
|
}, "Camino"), Qte = /* @__PURE__ */ a((t) => {
|
|
31437
|
-
const { propsContenido: e, hidden: r } =
|
|
31438
|
+
const { propsContenido: e, hidden: r } = pr(t);
|
|
31438
31439
|
return !r && /* @__PURE__ */ y(
|
|
31439
31440
|
lt,
|
|
31440
31441
|
{
|
|
@@ -31462,7 +31463,7 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31462
31463
|
allChoices: l,
|
|
31463
31464
|
availableChoices: u
|
|
31464
31465
|
} = OS(), d = So(null);
|
|
31465
|
-
return
|
|
31466
|
+
return Ue(() => {
|
|
31466
31467
|
s || typeof e == "function" && e(Object.values([l]));
|
|
31467
31468
|
}, [l, e, s]), /* @__PURE__ */ y(UH, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ y(
|
|
31468
31469
|
lt,
|
|
@@ -31496,7 +31497,7 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31496
31497
|
}
|
|
31497
31498
|
) });
|
|
31498
31499
|
}, "SelectInputEtriek"), GH = /* @__PURE__ */ a((t) => {
|
|
31499
|
-
const { propsContenido: e, hidden: r } =
|
|
31500
|
+
const { propsContenido: e, hidden: r } = pr(t), n = Vi(), { isLoading: o } = Ot(), {
|
|
31500
31501
|
queryOptions: i,
|
|
31501
31502
|
asistant: s,
|
|
31502
31503
|
asistantResource: l,
|
|
@@ -31511,7 +31512,7 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31511
31512
|
const { callback: x, ...T } = g;
|
|
31512
31513
|
b = x, v = T;
|
|
31513
31514
|
}
|
|
31514
|
-
return
|
|
31515
|
+
return Ue(() => {
|
|
31515
31516
|
h !== null && (m.current = h, n(JN(p)));
|
|
31516
31517
|
}, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(vn, { children: [
|
|
31517
31518
|
/* @__PURE__ */ y(
|
|
@@ -31545,10 +31546,10 @@ const eO = /* @__PURE__ */ a((t) => {
|
|
|
31545
31546
|
) : null
|
|
31546
31547
|
] }) : null;
|
|
31547
31548
|
}, "ComboBox"), Xte = /* @__PURE__ */ a((t) => {
|
|
31548
|
-
const { propsContenido: e, hidden: r } =
|
|
31549
|
+
const { propsContenido: e, hidden: r } = pr(t);
|
|
31549
31550
|
return !r && /* @__PURE__ */ y(XP, { ...e });
|
|
31550
31551
|
}, "ComboBoxManual"), Zte = /* @__PURE__ */ a((t) => {
|
|
31551
|
-
const { title: e, source: r, src: n } = t, o =
|
|
31552
|
+
const { title: e, source: r, src: n } = t, o = ur(t), i = `${n}/${o[r]}`;
|
|
31552
31553
|
return /* @__PURE__ */ y(Mb, { title: e, src: i });
|
|
31553
31554
|
}, "ImageField"), Rh = /* @__PURE__ */ O.createContext();
|
|
31554
31555
|
process.env.NODE_ENV !== "production" && (Rh.displayName = "GridContext");
|
|
@@ -32427,7 +32428,7 @@ process.env.NODE_ENV !== "production" && (DE.propTypes = {
|
|
|
32427
32428
|
value: c.any
|
|
32428
32429
|
});
|
|
32429
32430
|
const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"), rn = /* @__PURE__ */ a((t, e) => t.filter((r) => e.includes(r)), "intersection"), S6 = /* @__PURE__ */ a((t) => {
|
|
32430
|
-
const { source: e, record: r } = t, { allChoices: n, availableChoices: o } = OS(), [i, s] = O.useState([]), [l, u] = O.useState(null), [d, p] = O.useState([]), [f, h] = O.useState([]), [m, g] = O.useState(!1), b = r[e] || [], [v, x] = O.useState(""), T =
|
|
32431
|
+
const { source: e, record: r } = t, { allChoices: n, availableChoices: o } = OS(), [i, s] = O.useState([]), [l, u] = O.useState(null), [d, p] = O.useState([]), [f, h] = O.useState([]), [m, g] = O.useState(!1), b = r[e] || [], [v, x] = O.useState(""), T = dr(), { field: k } = qd({ defaultValue: "", ...t }), C = O.useMemo(
|
|
32431
32432
|
() => Array.isArray(b) && b.length > 0 ? (o == null ? void 0 : o.filter(
|
|
32432
32433
|
(A) => !b.some(($) => $ === A.id)
|
|
32433
32434
|
)) || [] : o || [],
|
|
@@ -32725,7 +32726,7 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32725
32726
|
const {
|
|
32726
32727
|
propsContenido: { sx: e, ...r },
|
|
32727
32728
|
hidden: n
|
|
32728
|
-
} =
|
|
32729
|
+
} = pr(t), { isLoading: o } = Ot(), i = Di((d) => d.breakpoints.down("md")), { source: s, reference: l } = t, u = ur(t) || {};
|
|
32729
32730
|
return !n && !o ? /* @__PURE__ */ y(
|
|
32730
32731
|
ZP,
|
|
32731
32732
|
{
|
|
@@ -32756,13 +32757,13 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32756
32757
|
}
|
|
32757
32758
|
) : null;
|
|
32758
32759
|
}, "ListCheck"), tre = /* @__PURE__ */ a((t) => {
|
|
32759
|
-
const { propsContenido: e, hidden: r } =
|
|
32760
|
+
const { propsContenido: e, hidden: r } = pr(t);
|
|
32760
32761
|
return !r && /* @__PURE__ */ y(yS, { ...e });
|
|
32761
32762
|
}, "Password"), rre = /* @__PURE__ */ a((t) => {
|
|
32762
32763
|
const {
|
|
32763
32764
|
propsContenido: { sx: e, ...r },
|
|
32764
32765
|
hidden: n
|
|
32765
|
-
} =
|
|
32766
|
+
} = pr(t), { isLoading: o } = Ot(), { source: i, reference: s } = t;
|
|
32766
32767
|
return !n && !o ? /* @__PURE__ */ y(xS, { source: i, reference: s, children: /* @__PURE__ */ y(
|
|
32767
32768
|
SS,
|
|
32768
32769
|
{
|
|
@@ -32779,7 +32780,7 @@ const rO = /* @__PURE__ */ a((t, e) => t.filter((r) => !e.includes(r)), "not"),
|
|
|
32779
32780
|
const {
|
|
32780
32781
|
propsContenido: { sx: e, ...r },
|
|
32781
32782
|
hidden: n
|
|
32782
|
-
} =
|
|
32783
|
+
} = pr(t);
|
|
32783
32784
|
return !n && /* @__PURE__ */ y(
|
|
32784
32785
|
SS,
|
|
32785
32786
|
{
|
|
@@ -32910,8 +32911,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
32910
32911
|
source: f,
|
|
32911
32912
|
...h
|
|
32912
32913
|
}
|
|
32913
|
-
} =
|
|
32914
|
-
|
|
32914
|
+
} = pr(t), m = dr();
|
|
32915
|
+
Ue(() => {
|
|
32915
32916
|
n.current || (setTimeout(() => {
|
|
32916
32917
|
m.setValue(f, z6);
|
|
32917
32918
|
}, 0), n.current = !0);
|
|
@@ -33066,7 +33067,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33066
33067
|
}
|
|
33067
33068
|
), "AsistenteList"), q6 = { fillista: "empcod=-1", mapId: ["funnro"] }, G6 = /* @__PURE__ */ a((t) => {
|
|
33068
33069
|
const [e, r] = De(q6), [n, o] = De([]), i = Qa();
|
|
33069
|
-
|
|
33070
|
+
Ue(() => {
|
|
33070
33071
|
(/* @__PURE__ */ a(async () => {
|
|
33071
33072
|
const f = await l("");
|
|
33072
33073
|
o(f);
|
|
@@ -33226,7 +33227,7 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33226
33227
|
all: !0,
|
|
33227
33228
|
none: !1
|
|
33228
33229
|
}, 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) => {
|
|
33229
|
-
const { source: e, onChange: r } = t, [n] = CS({ resource: "form_224" }), [o, i] = De(!1), s =
|
|
33230
|
+
const { source: e, onChange: r } = t, [n] = CS({ resource: "form_224" }), [o, i] = De(!1), s = dr(), { estado: l, fichaProps: u = {} } = Ot(), d = ot(ji), p = So(!1), {
|
|
33230
33231
|
hidden: f,
|
|
33231
33232
|
propsContenido: {
|
|
33232
33233
|
readOnly: h,
|
|
@@ -33236,8 +33237,8 @@ const _6 = /* @__PURE__ */ a((t) => /* @__PURE__ */ y(
|
|
|
33236
33237
|
allowAll: v = !0,
|
|
33237
33238
|
...x
|
|
33238
33239
|
}
|
|
33239
|
-
} =
|
|
33240
|
-
|
|
33240
|
+
} = pr(t), { [e]: T = {}, etrs: k } = u, C = wn({ ...t, etrs: k, asisEtr: d }), S = T.onChange === void 0 ? r : T.onChange;
|
|
33241
|
+
Ue(() => {
|
|
33241
33242
|
p.current || (setTimeout(() => {
|
|
33242
33243
|
s.setValue(e, Q6);
|
|
33243
33244
|
}, 0), p.current = !0);
|
|
@@ -36795,8 +36796,8 @@ const In = class In extends Ft {
|
|
|
36795
36796
|
}
|
|
36796
36797
|
};
|
|
36797
36798
|
a(In, "ReplaceStep");
|
|
36798
|
-
let
|
|
36799
|
-
Ft.jsonID("replace",
|
|
36799
|
+
let Or = In;
|
|
36800
|
+
Ft.jsonID("replace", Or);
|
|
36800
36801
|
const sa = class sa extends Ft {
|
|
36801
36802
|
/**
|
|
36802
36803
|
Create a replace-around step with the given range and gap.
|
|
@@ -36918,7 +36919,7 @@ function Ub(t, e, r, n = r.contentMatch, o = !0) {
|
|
|
36918
36919
|
for (let u = 0; u < i.childCount; u++) {
|
|
36919
36920
|
let d = i.child(u), p = l + d.nodeSize, f = n.matchType(d.type);
|
|
36920
36921
|
if (!f)
|
|
36921
|
-
s.push(new
|
|
36922
|
+
s.push(new Or(l, p, fe.empty));
|
|
36922
36923
|
else {
|
|
36923
36924
|
n = f;
|
|
36924
36925
|
for (let h = 0; h < d.marks.length; h++)
|
|
@@ -36926,7 +36927,7 @@ function Ub(t, e, r, n = r.contentMatch, o = !0) {
|
|
|
36926
36927
|
if (o && d.isText && r.whitespace != "pre") {
|
|
36927
36928
|
let h, m = /\r?\n|\r/g, g;
|
|
36928
36929
|
for (; h = m.exec(d.text); )
|
|
36929
|
-
g || (g = new fe(ae.from(r.schema.text(" ", r.allowedMarks(d.marks))), 0, 0)), s.push(new
|
|
36930
|
+
g || (g = new fe(ae.from(r.schema.text(" ", r.allowedMarks(d.marks))), 0, 0)), s.push(new Or(l + h.index, l + h.index + h[0].length, g));
|
|
36930
36931
|
}
|
|
36931
36932
|
}
|
|
36932
36933
|
l = p;
|
|
@@ -37090,7 +37091,7 @@ function FW(t, e, r = 1, n) {
|
|
|
37090
37091
|
let p = n && n[d];
|
|
37091
37092
|
s = ae.from(p ? p.type.create(p.attrs, s) : o.node(l).copy(s));
|
|
37092
37093
|
}
|
|
37093
|
-
t.step(new
|
|
37094
|
+
t.step(new Or(e, e, new fe(i.append(s), r, r), !0));
|
|
37094
37095
|
}
|
|
37095
37096
|
a(FW, "split");
|
|
37096
37097
|
function Mo(t, e) {
|
|
@@ -37138,7 +37139,7 @@ function $W(t, e, r) {
|
|
|
37138
37139
|
}
|
|
37139
37140
|
s.inlineContent && Ub(t, e + r - 1, s, i.node().contentMatchAt(i.index()), n == null);
|
|
37140
37141
|
let u = t.mapping.slice(l), d = u.map(e - r);
|
|
37141
|
-
if (t.step(new
|
|
37142
|
+
if (t.step(new Or(d, u.map(e + r, -1), fe.empty, !0)), n === !0) {
|
|
37142
37143
|
let p = t.doc.resolve(d);
|
|
37143
37144
|
iT(t, p.node(), p.before(), t.steps.length);
|
|
37144
37145
|
}
|
|
@@ -37194,7 +37195,7 @@ function Pp(t, e, r = e, n = fe.empty) {
|
|
|
37194
37195
|
if (e == r && !n.size)
|
|
37195
37196
|
return null;
|
|
37196
37197
|
let o = t.resolve(e), i = t.resolve(r);
|
|
37197
|
-
return cT(o, i, n) ? new
|
|
37198
|
+
return cT(o, i, n) ? new Or(e, r, n) : new Dh(o, i, n).fit();
|
|
37198
37199
|
}
|
|
37199
37200
|
a(Pp, "replaceStep");
|
|
37200
37201
|
function cT(t, e, r) {
|
|
@@ -37229,7 +37230,7 @@ const iv = class iv {
|
|
|
37229
37230
|
for (; s && l && i.childCount == 1; )
|
|
37230
37231
|
i = i.firstChild.content, s--, l--;
|
|
37231
37232
|
let u = new fe(i, s, l);
|
|
37232
|
-
return e > -1 ? new Gt(n.pos, e, this.$to.pos, this.$to.end(), u, r) : u.size || n.pos != this.$to.pos ? new
|
|
37233
|
+
return e > -1 ? new Gt(n.pos, e, this.$to.pos, this.$to.end(), u, r) : u.size || n.pos != this.$to.pos ? new Or(n.pos, o.pos, u) : null;
|
|
37233
37234
|
}
|
|
37234
37235
|
// Find a position on the start spine of `this.unplaced` that has
|
|
37235
37236
|
// content that can be moved somewhere on the frontier. Returns two
|
|
@@ -37395,7 +37396,7 @@ function _W(t, e, r, n) {
|
|
|
37395
37396
|
return t.deleteRange(e, r);
|
|
37396
37397
|
let o = t.doc.resolve(e), i = t.doc.resolve(r);
|
|
37397
37398
|
if (cT(o, i, n))
|
|
37398
|
-
return t.step(new
|
|
37399
|
+
return t.step(new Or(e, r, n));
|
|
37399
37400
|
let s = pT(o, t.doc.resolve(r));
|
|
37400
37401
|
s[s.length - 1] == 0 && s.pop();
|
|
37401
37402
|
let l = -(o.depth + 1);
|
|
@@ -38194,7 +38195,7 @@ function bO(t, e, r) {
|
|
|
38194
38195
|
if (n < e)
|
|
38195
38196
|
return;
|
|
38196
38197
|
let o = t.steps[n];
|
|
38197
|
-
if (!(o instanceof
|
|
38198
|
+
if (!(o instanceof Or || o instanceof Gt))
|
|
38198
38199
|
return;
|
|
38199
38200
|
let i = t.mapping.maps[n], s;
|
|
38200
38201
|
i.forEach((l, u, d, p) => {
|
|
@@ -41530,10 +41531,10 @@ const ta = [], hi = {}, cn = class cn {
|
|
|
41530
41531
|
}
|
|
41531
41532
|
};
|
|
41532
41533
|
a(cn, "DecorationSet");
|
|
41533
|
-
let
|
|
41534
|
-
|
|
41535
|
-
|
|
41536
|
-
const Ut =
|
|
41534
|
+
let yr = cn;
|
|
41535
|
+
yr.empty = new yr([], []);
|
|
41536
|
+
yr.removeOverlap = Zb;
|
|
41537
|
+
const Ut = yr.empty, no = class no {
|
|
41537
41538
|
constructor(e) {
|
|
41538
41539
|
this.members = e;
|
|
41539
41540
|
}
|
|
@@ -41543,7 +41544,7 @@ const Ut = vr.empty, no = class no {
|
|
|
41543
41544
|
}
|
|
41544
41545
|
forChild(e, r) {
|
|
41545
41546
|
if (r.isLeaf)
|
|
41546
|
-
return
|
|
41547
|
+
return yr.empty;
|
|
41547
41548
|
let n = [];
|
|
41548
41549
|
for (let o = 0; o < this.members.length; o++) {
|
|
41549
41550
|
let i = this.members[o].forChild(e, r);
|
|
@@ -41583,7 +41584,7 @@ const Ut = vr.empty, no = class no {
|
|
|
41583
41584
|
case 1:
|
|
41584
41585
|
return e[0];
|
|
41585
41586
|
default:
|
|
41586
|
-
return new no(e.every((r) => r instanceof
|
|
41587
|
+
return new no(e.every((r) => r instanceof yr) ? e : e.reduce((r, n) => r.concat(n instanceof yr ? n : n.members), []));
|
|
41587
41588
|
}
|
|
41588
41589
|
}
|
|
41589
41590
|
forEachSet(e) {
|
|
@@ -41640,7 +41641,7 @@ function Z9(t, e, r, n, o, i, s) {
|
|
|
41640
41641
|
l.splice(h, 0, p.children[f], p.children[f + 1], p.children[f + 2]);
|
|
41641
41642
|
}
|
|
41642
41643
|
}
|
|
41643
|
-
return new
|
|
41644
|
+
return new yr(e.sort(mi), l);
|
|
41644
41645
|
}
|
|
41645
41646
|
a(Z9, "mapChildren");
|
|
41646
41647
|
function HT(t, e) {
|
|
@@ -41698,7 +41699,7 @@ function Lu(t, e, r, n) {
|
|
|
41698
41699
|
let s = HT(i ? UT(t) : t, -r).sort(mi);
|
|
41699
41700
|
for (let l = 0; l < s.length; l++)
|
|
41700
41701
|
s[l].type.valid(e, s[l]) || (n.onRemove && n.onRemove(s[l].spec), s.splice(l--, 1));
|
|
41701
|
-
return s.length || o.length ? new
|
|
41702
|
+
return s.length || o.length ? new yr(s, o) : Ut;
|
|
41702
41703
|
}
|
|
41703
41704
|
a(Lu, "buildTree");
|
|
41704
41705
|
function mi(t, e) {
|
|
@@ -41735,7 +41736,7 @@ function Lf(t) {
|
|
|
41735
41736
|
return t.someProp("decorations", (r) => {
|
|
41736
41737
|
let n = r(t.state);
|
|
41737
41738
|
n && n != Ut && e.push(n);
|
|
41738
|
-
}), t.cursorWrapper && e.push(
|
|
41739
|
+
}), t.cursorWrapper && e.push(yr.create(t.state.doc, [t.cursorWrapper.deco])), $u.from(e);
|
|
41739
41740
|
}
|
|
41740
41741
|
a(Lf, "viewDecorations");
|
|
41741
41742
|
const tU = {
|
|
@@ -42737,7 +42738,7 @@ function KT(t, e, r) {
|
|
|
42737
42738
|
l = p;
|
|
42738
42739
|
}
|
|
42739
42740
|
let d = Pp(t.doc, i, u, fe.empty);
|
|
42740
|
-
if (!d || d.from != i || d instanceof
|
|
42741
|
+
if (!d || d.from != i || d instanceof Or && d.slice.size >= u - i)
|
|
42741
42742
|
return !1;
|
|
42742
42743
|
if (r) {
|
|
42743
42744
|
let p = t.tr.step(d);
|
|
@@ -44255,7 +44256,7 @@ function E7(t, e, r) {
|
|
|
44255
44256
|
if (n < e)
|
|
44256
44257
|
return;
|
|
44257
44258
|
const o = t.steps[n];
|
|
44258
|
-
if (!(o instanceof
|
|
44259
|
+
if (!(o instanceof Or || o instanceof Gt))
|
|
44259
44260
|
return;
|
|
44260
44261
|
const i = t.mapping.maps[n];
|
|
44261
44262
|
let s = 0;
|
|
@@ -47015,7 +47016,7 @@ var b1;
|
|
|
47015
47016
|
function y8() {
|
|
47016
47017
|
if (b1) return qf;
|
|
47017
47018
|
b1 = 1;
|
|
47018
|
-
var t =
|
|
47019
|
+
var t = qe;
|
|
47019
47020
|
function e(f, h) {
|
|
47020
47021
|
return f === h && (f !== 0 || 1 / f === 1 / h) || f !== f && h !== h;
|
|
47021
47022
|
}
|
|
@@ -47065,7 +47066,7 @@ var y1;
|
|
|
47065
47066
|
function v8() {
|
|
47066
47067
|
return y1 || (y1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47067
47068
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
47068
|
-
var t =
|
|
47069
|
+
var t = qe, e = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47069
47070
|
function r(k) {
|
|
47070
47071
|
{
|
|
47071
47072
|
for (var C = arguments.length, S = new Array(C > 1 ? C - 1 : 0), w = 1; w < C; w++)
|
|
@@ -47147,7 +47148,7 @@ const x8 = /* @__PURE__ */ a((...t) => (e) => {
|
|
|
47147
47148
|
});
|
|
47148
47149
|
}, "mergeRefs"), O8 = /* @__PURE__ */ a(({ contentComponent: t }) => {
|
|
47149
47150
|
const e = Dp.useSyncExternalStore(t.subscribe, t.getSnapshot, t.getServerSnapshot);
|
|
47150
|
-
return
|
|
47151
|
+
return qe.createElement(qe.Fragment, null, Object.values(e));
|
|
47151
47152
|
}, "Portals");
|
|
47152
47153
|
function S8() {
|
|
47153
47154
|
const t = /* @__PURE__ */ new Set();
|
|
@@ -47186,10 +47187,10 @@ function S8() {
|
|
|
47186
47187
|
};
|
|
47187
47188
|
}
|
|
47188
47189
|
a(S8, "getInstance");
|
|
47189
|
-
const Av = class Av extends
|
|
47190
|
+
const Av = class Av extends qe.Component {
|
|
47190
47191
|
constructor(e) {
|
|
47191
47192
|
var r;
|
|
47192
|
-
super(e), this.editorContentRef =
|
|
47193
|
+
super(e), this.editorContentRef = qe.createRef(), this.initialized = !1, this.state = {
|
|
47193
47194
|
hasContentComponentInitialized: !!(!((r = e.editor) === null || r === void 0) && r.contentComponent)
|
|
47194
47195
|
};
|
|
47195
47196
|
}
|
|
@@ -47227,24 +47228,24 @@ const Av = class Av extends Ue.Component {
|
|
|
47227
47228
|
}
|
|
47228
47229
|
render() {
|
|
47229
47230
|
const { editor: e, innerRef: r, ...n } = this.props;
|
|
47230
|
-
return
|
|
47231
|
-
|
|
47231
|
+
return qe.createElement(
|
|
47232
|
+
qe.Fragment,
|
|
47232
47233
|
null,
|
|
47233
|
-
|
|
47234
|
-
(e == null ? void 0 : e.contentComponent) &&
|
|
47234
|
+
qe.createElement("div", { ref: x8(r, this.editorContentRef), ...n }),
|
|
47235
|
+
(e == null ? void 0 : e.contentComponent) && qe.createElement(O8, { contentComponent: e.contentComponent })
|
|
47235
47236
|
);
|
|
47236
47237
|
}
|
|
47237
47238
|
};
|
|
47238
47239
|
a(Av, "PureEditorContent");
|
|
47239
47240
|
let Em = Av;
|
|
47240
47241
|
const C8 = Ll((t, e) => {
|
|
47241
|
-
const r =
|
|
47242
|
-
return
|
|
47242
|
+
const r = qe.useMemo(() => Math.floor(Math.random() * 4294967295).toString(), [t.editor]);
|
|
47243
|
+
return qe.createElement(Em, {
|
|
47243
47244
|
key: r,
|
|
47244
47245
|
innerRef: e,
|
|
47245
47246
|
...t
|
|
47246
47247
|
});
|
|
47247
|
-
}), k8 =
|
|
47248
|
+
}), k8 = qe.memo(C8);
|
|
47248
47249
|
var E8 = /* @__PURE__ */ a(function t(e, r) {
|
|
47249
47250
|
if (e === r) return !0;
|
|
47250
47251
|
if (e && r && typeof e == "object" && typeof r == "object") {
|
|
@@ -47304,7 +47305,7 @@ var v1;
|
|
|
47304
47305
|
function w8() {
|
|
47305
47306
|
if (v1) return Kf;
|
|
47306
47307
|
v1 = 1;
|
|
47307
|
-
var t =
|
|
47308
|
+
var t = qe, e = Dp;
|
|
47308
47309
|
function r(d, p) {
|
|
47309
47310
|
return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p;
|
|
47310
47311
|
}
|
|
@@ -47358,7 +47359,7 @@ var x1;
|
|
|
47358
47359
|
function M8() {
|
|
47359
47360
|
return x1 || (x1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47360
47361
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
47361
|
-
var t =
|
|
47362
|
+
var t = qe, e = Dp;
|
|
47362
47363
|
function r(p, f) {
|
|
47363
47364
|
return p === f && (p !== 0 || 1 / p === 1 / f) || p !== p && f !== f;
|
|
47364
47365
|
}
|
|
@@ -47447,7 +47448,7 @@ let wm = Fv;
|
|
|
47447
47448
|
function R8(t) {
|
|
47448
47449
|
var e;
|
|
47449
47450
|
const [r] = De(() => new wm(t.editor)), n = P8.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, t.selector, (e = t.equalityFn) !== null && e !== void 0 ? e : T8);
|
|
47450
|
-
return
|
|
47451
|
+
return Ue(() => r.watch(t.editor), [t.editor, r]), X1(n), n;
|
|
47451
47452
|
}
|
|
47452
47453
|
a(R8, "useEditorState");
|
|
47453
47454
|
const O1 = process.env.NODE_ENV !== "production", Mm = typeof window > "u", A8 = Mm || !!(typeof window < "u" && window.next), Iv = class Iv {
|
|
@@ -47587,7 +47588,7 @@ function F8(t = {}, e = []) {
|
|
|
47587
47588
|
const r = So(t);
|
|
47588
47589
|
r.current = t;
|
|
47589
47590
|
const [n] = De(() => new Pm(r)), o = Dp.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
|
|
47590
|
-
return X1(o),
|
|
47591
|
+
return X1(o), Ue(n.onRender(e)), R8({
|
|
47591
47592
|
editor: o,
|
|
47592
47593
|
selector: /* @__PURE__ */ a(({ transactionNumber: i }) => t.shouldRerenderOnTransaction === !1 ? null : t.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
|
|
47593
47594
|
}), o;
|
|
@@ -47600,11 +47601,11 @@ I8.Consumer;
|
|
|
47600
47601
|
const $8 = $t({
|
|
47601
47602
|
onDragStart: void 0
|
|
47602
47603
|
}), L8 = /* @__PURE__ */ a(() => ot($8), "useReactNodeView");
|
|
47603
|
-
|
|
47604
|
+
qe.forwardRef((t, e) => {
|
|
47604
47605
|
const { onDragStart: r } = L8(), n = t.as || "div";
|
|
47605
47606
|
return (
|
|
47606
47607
|
// @ts-ignore
|
|
47607
|
-
|
|
47608
|
+
qe.createElement(n, { ...t, ref: e, "data-node-view-wrapper": "", onDragStart: r, style: {
|
|
47608
47609
|
whiteSpace: "normal",
|
|
47609
47610
|
...t.style
|
|
47610
47611
|
} })
|
|
@@ -48237,7 +48238,7 @@ function aG(t) {
|
|
|
48237
48238
|
if (!(t.selection instanceof Yt))
|
|
48238
48239
|
return null;
|
|
48239
48240
|
let e = document.createElement("div");
|
|
48240
|
-
return e.className = "ProseMirror-gapcursor",
|
|
48241
|
+
return e.className = "ProseMirror-gapcursor", yr.create(t.doc, [Hn.widget(t.selection.head, e, { key: "gapcursor" })]);
|
|
48241
48242
|
}
|
|
48242
48243
|
a(aG, "drawGapCursor");
|
|
48243
48244
|
const sG = Kt.create({
|
|
@@ -49528,8 +49529,8 @@ var OQ = $t(null), SQ = /* @__PURE__ */ a(function() {
|
|
|
49528
49529
|
var t = ot(pQ);
|
|
49529
49530
|
return t;
|
|
49530
49531
|
}, "useFormGroups"), CQ = /* @__PURE__ */ a(function(t) {
|
|
49531
|
-
var e = t.inputProps, r = t.isArrayInput, n = t.fieldArrayInputControl, o = e.defaultValue, i = e.source, s = Hw(i), l = Rw(e), u =
|
|
49532
|
-
|
|
49532
|
+
var e = t.inputProps, r = t.isArrayInput, n = t.fieldArrayInputControl, o = e.defaultValue, i = e.source, s = Hw(i), l = Rw(e), u = dr(), d = u.getValues, p = u.resetField, f = u.formState, h = u.reset, m = Kc(l, s), g = Kc(d(), s), b = f.dirtyFields, v = Object.keys(b).includes(s);
|
|
49533
|
+
Ue(function() {
|
|
49533
49534
|
if (!(o == null || g != null || m != null || v)) {
|
|
49534
49535
|
var x = s.split(".").some(function(C) {
|
|
49535
49536
|
return kQ.test(C);
|
|
@@ -49663,7 +49664,7 @@ var OQ = $t(null), SQ = /* @__PURE__ */ a(function() {
|
|
|
49663
49664
|
return t === "" ? null : t;
|
|
49664
49665
|
}, "defaultParse"), FQ = /* @__PURE__ */ a(function(t) {
|
|
49665
49666
|
var e = t.defaultValue, r = t.format, n = r === void 0 ? RQ : r, o = t.id, i = t.isRequired, s = t.name, l = t.onBlur, u = t.onChange, d = t.parse, p = d === void 0 ? AQ : d, f = t.source, h = t.validate, m = PQ(t, ["defaultValue", "format", "id", "isRequired", "name", "onBlur", "onChange", "parse", "source", "validate"]), g = Hw(f), b = s || g, v = EQ(), x = SQ(), T = Rw(), k = Zf(p), C = zM();
|
|
49666
|
-
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."),
|
|
49667
|
+
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), Ue(function() {
|
|
49667
49668
|
if (!(!x || v == null))
|
|
49668
49669
|
return x.registerField(g, v), function() {
|
|
49669
49670
|
x.unregisterField(g, v);
|
|
@@ -53175,7 +53176,7 @@ iM = Ly.default = (0, hZ.default)(/* @__PURE__ */ (0, mZ.jsx)("path", {
|
|
|
53175
53176
|
}), "Code");
|
|
53176
53177
|
var aM = $t(void 0), Mn = /* @__PURE__ */ a(function() {
|
|
53177
53178
|
var t = De(!1), e = t[0], r = t[1], n = ot(aM);
|
|
53178
|
-
return
|
|
53179
|
+
return Ue(function() {
|
|
53179
53180
|
var o = /* @__PURE__ */ a(function() {
|
|
53180
53181
|
r(!0);
|
|
53181
53182
|
}, "onReady");
|
|
@@ -53203,7 +53204,7 @@ var aM = $t(void 0), Mn = /* @__PURE__ */ a(function() {
|
|
|
53203
53204
|
}), p = r("ra.tiptap.code", {
|
|
53204
53205
|
_: "Code"
|
|
53205
53206
|
});
|
|
53206
|
-
|
|
53207
|
+
Ue(function() {
|
|
53207
53208
|
var h = /* @__PURE__ */ a(function() {
|
|
53208
53209
|
i(function() {
|
|
53209
53210
|
return W1.reduce(function(m, g) {
|
|
@@ -53301,7 +53302,7 @@ var Nm = function() {
|
|
|
53301
53302
|
(h || m) && EZ[f](e);
|
|
53302
53303
|
});
|
|
53303
53304
|
}, "handleChange");
|
|
53304
|
-
return
|
|
53305
|
+
return Ue(function() {
|
|
53305
53306
|
var d = /* @__PURE__ */ a(function() {
|
|
53306
53307
|
l(function() {
|
|
53307
53308
|
return U1.reduce(function(p, f) {
|
|
@@ -53375,7 +53376,7 @@ var Dm = function() {
|
|
|
53375
53376
|
}, Dm.apply(this, arguments);
|
|
53376
53377
|
}, _Z = /* @__PURE__ */ a(function(t) {
|
|
53377
53378
|
var e = Mn(), r = Ur(), n = De("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
|
|
53378
|
-
|
|
53379
|
+
Ue(function() {
|
|
53379
53380
|
var f = /* @__PURE__ */ a(function() {
|
|
53380
53381
|
i(function(h) {
|
|
53381
53382
|
return BZ.reduce(function(m, g) {
|
|
@@ -53437,7 +53438,7 @@ fM = zy.default = (0, jZ.default)(/* @__PURE__ */ (0, zZ.jsx)("path", {
|
|
|
53437
53438
|
}), "InsertLink");
|
|
53438
53439
|
var HZ = /* @__PURE__ */ a(function() {
|
|
53439
53440
|
var t = Mn(), e = De(t ? t.state.doc.textBetween(t.state.selection.from, t.state.selection.to) : null), r = e[0], n = e[1];
|
|
53440
|
-
return
|
|
53441
|
+
return Ue(function() {
|
|
53441
53442
|
var o = /* @__PURE__ */ a(function() {
|
|
53442
53443
|
n(t ? t.state.doc.textBetween(t.state.selection.from, t.state.selection.to) : null);
|
|
53443
53444
|
}, "handleSelectionChange");
|
|
@@ -53487,7 +53488,7 @@ var Bm = function() {
|
|
|
53487
53488
|
var e = Mn(), r = Ur(), n = De(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
|
|
53488
53489
|
_: "Blockquote"
|
|
53489
53490
|
});
|
|
53490
|
-
return
|
|
53491
|
+
return Ue(function() {
|
|
53491
53492
|
var l = /* @__PURE__ */ a(function() {
|
|
53492
53493
|
i(e && e.isActive("blockquote"));
|
|
53493
53494
|
}, "handleUpdate");
|
|
@@ -53538,7 +53539,7 @@ var Vm = function() {
|
|
|
53538
53539
|
}, "handleClickListItem"), m = /* @__PURE__ */ a(function(g) {
|
|
53539
53540
|
s(null);
|
|
53540
53541
|
}, "handleClose");
|
|
53541
|
-
return
|
|
53542
|
+
return Ue(function() {
|
|
53542
53543
|
var g = /* @__PURE__ */ a(function() {
|
|
53543
53544
|
p(function(b) {
|
|
53544
53545
|
return Ac.reduce(function(v, x) {
|
|
@@ -53844,14 +53845,14 @@ var dee = /* @__PURE__ */ a(function(t) {
|
|
|
53844
53845
|
}, ln.apply(this, arguments);
|
|
53845
53846
|
}, xee = /* @__PURE__ */ a(function(t) {
|
|
53846
53847
|
var e, r = t.className, n = t.defaultValue, o = n === void 0 ? "" : n, i = t.disabled, s = i === void 0 ? !1 : i, l = t.editorOptions, u = l === void 0 ? Oee : l, d = t.fullWidth, p = t.helperText, f = t.label, h = t.readOnly, m = h === void 0 ? !1 : h, g = t.source, b = t.sx, v = t.toolbar, x = zw(t), T = FQ(ln(ln({}, t), { source: g, defaultValue: o })), k = T.id, C = T.field, S = T.isRequired, w = T.fieldState, M = T.formState.isSubmitted, F = F8(ln(ln({}, u), { editable: !s && !m, content: C.value, editorProps: ln(ln({}, u == null ? void 0 : u.editorProps), { attributes: ln(ln({}, (e = u == null ? void 0 : u.editorProps) === null || e === void 0 ? void 0 : e.attributes), { id: k }) }) }), [s, u, m, k]), P = w.error, I = w.invalid, R = w.isTouched;
|
|
53847
|
-
return
|
|
53848
|
+
return Ue(function() {
|
|
53848
53849
|
if (F) {
|
|
53849
53850
|
var A = F.state.selection, $ = A.from, L = A.to;
|
|
53850
53851
|
F.commands.setContent(C.value, !1, {
|
|
53851
53852
|
preserveWhitespace: !0
|
|
53852
53853
|
}), F.commands.setTextSelection({ from: $, to: L });
|
|
53853
53854
|
}
|
|
53854
|
-
}, [F, C.value]),
|
|
53855
|
+
}, [F, C.value]), Ue(function() {
|
|
53855
53856
|
if (F) {
|
|
53856
53857
|
var A = /* @__PURE__ */ a(function() {
|
|
53857
53858
|
if (F.isEmpty) {
|
|
@@ -53950,7 +53951,7 @@ const are = /* @__PURE__ */ a((t) => {
|
|
|
53950
53951
|
const {
|
|
53951
53952
|
propsContenido: { html: e = !1, ...r },
|
|
53952
53953
|
hidden: n
|
|
53953
|
-
} =
|
|
53954
|
+
} = pr(t);
|
|
53954
53955
|
return n ? null : e ? /* @__PURE__ */ y(xee, { ...r, className: "" }) : /* @__PURE__ */ y(ho, { multiline: !0, ...r });
|
|
53955
53956
|
}, "TextArea"), SM = /* @__PURE__ */ a((t) => {
|
|
53956
53957
|
const { helperText: e, error: r } = t, n = Tt();
|
|
@@ -56605,7 +56606,7 @@ const PM = {
|
|
|
56605
56606
|
function jee(t) {
|
|
56606
56607
|
var o;
|
|
56607
56608
|
var e;
|
|
56608
|
-
const r = (e = (o = class extends
|
|
56609
|
+
const r = (e = (o = class extends qe.Component {
|
|
56609
56610
|
constructor(s) {
|
|
56610
56611
|
super(s), this._inputRef = this._inputRef.bind(this);
|
|
56611
56612
|
}
|
|
@@ -56662,13 +56663,13 @@ function jee(t) {
|
|
|
56662
56663
|
this.props.onComplete && this.maskRef && this.props.onComplete(this.maskValue, this.maskRef, s);
|
|
56663
56664
|
}
|
|
56664
56665
|
render() {
|
|
56665
|
-
return
|
|
56666
|
+
return qe.createElement(t, {
|
|
56666
56667
|
...this._extractNonMaskProps(this.props),
|
|
56667
56668
|
inputRef: this._inputRef
|
|
56668
56669
|
});
|
|
56669
56670
|
}
|
|
56670
56671
|
}, a(o, "MaskedComponent"), o), e.displayName = void 0, e.propTypes = void 0, e), n = t.displayName || t.name || "Component";
|
|
56671
|
-
return r.displayName = "IMask(" + n + ")", r.propTypes = PM,
|
|
56672
|
+
return r.displayName = "IMask(" + n + ")", r.propTypes = PM, qe.forwardRef((i, s) => qe.createElement(r, {
|
|
56672
56673
|
...i,
|
|
56673
56674
|
ref: s
|
|
56674
56675
|
}));
|
|
@@ -56679,14 +56680,14 @@ const zee = jee((t) => {
|
|
|
56679
56680
|
inputRef: e,
|
|
56680
56681
|
...r
|
|
56681
56682
|
} = t;
|
|
56682
|
-
return
|
|
56683
|
+
return qe.createElement("input", {
|
|
56683
56684
|
...r,
|
|
56684
56685
|
ref: e
|
|
56685
56686
|
});
|
|
56686
|
-
}), Hee = /* @__PURE__ */ a((t, e) =>
|
|
56687
|
+
}), Hee = /* @__PURE__ */ a((t, e) => qe.createElement(zee, {
|
|
56687
56688
|
...t,
|
|
56688
56689
|
ref: e
|
|
56689
|
-
}), "IMaskInputFn"), Wee =
|
|
56690
|
+
}), "IMaskInputFn"), Wee = qe.forwardRef(Hee), rh = O.forwardRef(/* @__PURE__ */ a(function(e, r) {
|
|
56690
56691
|
const { onChange: n, name: o, maxLength: i = 50, ...s } = e, l = O.useRef(!1), u = O.useCallback(
|
|
56691
56692
|
(d) => {
|
|
56692
56693
|
if (!l.current) {
|
|
@@ -56709,8 +56710,8 @@ const zee = jee((t) => {
|
|
|
56709
56710
|
}
|
|
56710
56711
|
);
|
|
56711
56712
|
}, "MaskedTextInput2")), sre = /* @__PURE__ */ a((t) => {
|
|
56712
|
-
const { tipo: e, ...r } = t, { propsContenido: n, hidden: o } =
|
|
56713
|
-
|
|
56713
|
+
const { tipo: e, ...r } = t, { propsContenido: n, hidden: o } = pr(r), i = dr();
|
|
56714
|
+
Ue(() => {
|
|
56714
56715
|
n.value && i.setValue(t.source, n.value);
|
|
56715
56716
|
}, [n.value]);
|
|
56716
56717
|
const s = {
|
|
@@ -56748,7 +56749,7 @@ const zee = jee((t) => {
|
|
|
56748
56749
|
const { label: e, sx: r } = t, {
|
|
56749
56750
|
hidden: n,
|
|
56750
56751
|
propsContenido: { helperText: o, sx: i, readOnly: s }
|
|
56751
|
-
} =
|
|
56752
|
+
} = pr(t);
|
|
56752
56753
|
return n ? null : /* @__PURE__ */ W(
|
|
56753
56754
|
lt,
|
|
56754
56755
|
{
|
|
@@ -56882,7 +56883,7 @@ export {
|
|
|
56882
56883
|
hte as timeParser,
|
|
56883
56884
|
Kg as useAjax,
|
|
56884
56885
|
pp as useAsistente,
|
|
56885
|
-
|
|
56886
|
+
pr as useContenidoController,
|
|
56886
56887
|
Mte as useEtrActions,
|
|
56887
56888
|
Ot as useFicha,
|
|
56888
56889
|
pk as useFieldController,
|