biblio-react 3.0.0-alpha189 → 3.0.0-alpha190
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 +318 -327
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Mw = Object.defineProperty;
|
|
2
2
|
var a = (e, t) => Mw(e, "name", { value: t, configurable: !0 });
|
|
3
|
-
import
|
|
3
|
+
import Pe, { jsx as v, jsxs as W, Fragment as Br } from "react/jsx-runtime";
|
|
4
4
|
import * as O from "react";
|
|
5
|
-
import pt, { forwardRef as Ol, useContext as ht, createElement as iv, Children as hd, isValidElement as Dn, cloneElement as Jr, createContext as Nt, useState as Be, useMemo as Wr, useRef as $i, useCallback as
|
|
5
|
+
import pt, { forwardRef as Ol, useContext as ht, createElement as iv, Children as hd, isValidElement as Dn, cloneElement as Jr, createContext as Nt, useState as Be, useMemo as Wr, useRef as $i, useCallback as Ze, useEffect as Ge, Fragment as xn, memo as qO, useImperativeHandle as Rw, useDebugValue as GO, useId as $w } from "react";
|
|
6
6
|
import { unstable_ClassNameGenerator as KO, exactProp as md, unstable_getScrollbarSize as Aw, unstable_ownerDocument as _n, unstable_ownerWindow as Gs, unstable_useForkRef as ga, elementAcceptingRef as Fw, unstable_useEnhancedEffect as hi, unstable_setRef as av, HTMLElementType as Tf, unstable_useEventCallback as sv, unstable_createChainedFunction as lv, unstable_debounce as Iw, usePreviousProps as Lw, unstable_getNormalizedScrollLeft as Nw, unstable_detectScrollType as Dw, chainPropTypes as _w, refType as zw, deepmerge as JO } from "@mui/utils";
|
|
7
7
|
import { MenuItem as ti, ListItemIcon as ia, ListItemText as aa, useMediaQuery as Ai, Typography as um, Box as st, Grid as cv, Dialog as dm, DialogTitle as YO, DialogContent as QO, Stack as pm, DialogActions as Bw, Tooltip as gd, IconButton as ba, useTheme as XO, createTheme as jw, ThemeProvider as Vw, alpha as Hw, StyledEngineProvider as ZO, Card as e1, CircularProgress as Ww, CardContent as t1, Collapse as Uw, List as r1, Menu as Ef, Switch as qw, Divider as Gw, Button as uv, Paper as n1, ToggleButtonGroup as bd, ToggleButton as Vt, ListItem as Kw, FormHelperText as Jw } from "@mui/material";
|
|
8
8
|
import { useTranslate as $t, useUserMenu as Yw, useResourceDefinitions as Qw, AppBar as Xw, UserMenu as Zw, Logout as eP, useResourceContext as ut, useRecordContext as pr, useDeleteWithConfirmController as tP, Button as gr, Confirm as Sl, useResourceDefinition as fm, Toolbar as hm, ToolbarClasses as rP, SaveButton as Cl, useRedirect as Fi, useDelete as o1, useSaveContext as nP, required as oP, minValue as iP, TopToolbar as i1, RefreshButton as aP, ListButton as sP, ShowButton as lP, useNotify as cP, useDataProvider as Ba, useListContext as mi, useUnselectAll as uP, useStoreContext as dP, NumberField as pP, DateField as dv, TextField as vc, ReferenceField as fP, useCreatePath as Tl, Form as El, BulkActionsToolbar as hP, useInput as yd, useGetList as a1, Labeled as s1, useSafeSetState as mm, useGetOne as l1, useGetResourceLabel as mP, useCreateController as gP, ResourceContextProvider as bP, CreateContextProvider as yP, Loading as Ii, Create as vP, useListController as xP, ListContextProvider as OP, List as c1, Edit as SP, useEditContext as CP, SimpleForm as TP, useSidebarState as u1, Menu as EP, DashboardMenuItem as kP, MenuItemLink as d1, Layout as wP, FilterContext as PP, sanitizeListRestProps as MP, FilterButton as RP, CreateButton as $P, useLogin as AP, TextInput as bn, PasswordInput as p1, Show as FP, useShowContext as IP, FormTab as LP, useSplatPathBase as NP, getTabbedFormTabFullPath as DP, TabbedFormTabs as f1, defaultTheme as h1, BooleanField as _P, ImageInput as zP, ImageField as BP, FileInput as jP, BooleanInput as VP, ReferenceInput as m1, useChoicesContext as g1, AutocompleteInput as HP, SelectInput as WP, ReferenceArrayInput as UP, AutocompleteArrayInput as qP, SearchInput as GP, RadioButtonGroupInput as b1, useRecordSelection as y1, ListActions as KP, Datagrid as JP, ValidationError as YP, FieldTitle as v1 } from "react-admin";
|
|
@@ -991,7 +991,7 @@ var AM = /* @__PURE__ */ function() {
|
|
|
991
991
|
return (o = n.parentNode) == null ? void 0 : o.removeChild(n);
|
|
992
992
|
}), this.tags = [], this.ctr = 0;
|
|
993
993
|
}, "flush"), e;
|
|
994
|
-
}(),
|
|
994
|
+
}(), Qe = "-ms-", go = "-moz-", he = "-webkit-", Sm = "comm", vd = "rule", xd = "decl", FM = "@import", Cm = "@keyframes", IM = "@layer", LM = Math.abs, wl = String.fromCharCode, NM = Object.assign;
|
|
995
995
|
function L1(e, t) {
|
|
996
996
|
return vt(e, 0) ^ 45 ? (((t << 2 ^ vt(e, 0)) << 2 ^ vt(e, 1)) << 2 ^ vt(e, 2)) << 2 ^ vt(e, 3) : 0;
|
|
997
997
|
}
|
|
@@ -1394,24 +1394,24 @@ function U1(e, t) {
|
|
|
1394
1394
|
case 4810:
|
|
1395
1395
|
case 6968:
|
|
1396
1396
|
case 2756:
|
|
1397
|
-
return he + e + go + e +
|
|
1397
|
+
return he + e + go + e + Qe + e + e;
|
|
1398
1398
|
case 6828:
|
|
1399
1399
|
case 4268:
|
|
1400
|
-
return he + e +
|
|
1400
|
+
return he + e + Qe + e + e;
|
|
1401
1401
|
case 6165:
|
|
1402
|
-
return he + e +
|
|
1402
|
+
return he + e + Qe + "flex-" + e + e;
|
|
1403
1403
|
case 5187:
|
|
1404
|
-
return he + e + ve(e, /(\w+).+(:[^]+)/, he + "box-$1$2" +
|
|
1404
|
+
return he + e + ve(e, /(\w+).+(:[^]+)/, he + "box-$1$2" + Qe + "flex-$1$2") + e;
|
|
1405
1405
|
case 5443:
|
|
1406
|
-
return he + e +
|
|
1406
|
+
return he + e + Qe + "flex-item-" + ve(e, /flex-|-self/, "") + e;
|
|
1407
1407
|
case 4675:
|
|
1408
|
-
return he + e +
|
|
1408
|
+
return he + e + Qe + "flex-line-pack" + ve(e, /align-content|flex-|-self/, "") + e;
|
|
1409
1409
|
case 5548:
|
|
1410
|
-
return he + e +
|
|
1410
|
+
return he + e + Qe + ve(e, "shrink", "negative") + e;
|
|
1411
1411
|
case 5292:
|
|
1412
|
-
return he + e +
|
|
1412
|
+
return he + e + Qe + ve(e, "basis", "preferred-size") + e;
|
|
1413
1413
|
case 6060:
|
|
1414
|
-
return he + "box-" + ve(e, "-grow", "") + he + e +
|
|
1414
|
+
return he + "box-" + ve(e, "-grow", "") + he + e + Qe + ve(e, "grow", "positive") + e;
|
|
1415
1415
|
case 4554:
|
|
1416
1416
|
return he + ve(e, /([^-])(transform)/g, "$1" + he + "$2") + e;
|
|
1417
1417
|
case 6187:
|
|
@@ -1420,7 +1420,7 @@ function U1(e, t) {
|
|
|
1420
1420
|
case 3959:
|
|
1421
1421
|
return ve(e, /(image-set\([^]*)/, he + "$1$`$1");
|
|
1422
1422
|
case 4968:
|
|
1423
|
-
return ve(ve(e, /(.+:)(flex-)?(.*)/, he + "box-pack:$3" +
|
|
1423
|
+
return ve(ve(e, /(.+:)(flex-)?(.*)/, he + "box-pack:$3" + Qe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + he + e + e;
|
|
1424
1424
|
case 4095:
|
|
1425
1425
|
case 3583:
|
|
1426
1426
|
case 4068:
|
|
@@ -1454,19 +1454,19 @@ function U1(e, t) {
|
|
|
1454
1454
|
case 107:
|
|
1455
1455
|
return ve(e, ":", ":" + he) + e;
|
|
1456
1456
|
case 101:
|
|
1457
|
-
return ve(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + he + (vt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + he + "$2$3$1" +
|
|
1457
|
+
return ve(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + he + (vt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + he + "$2$3$1" + Qe + "$2box$3") + e;
|
|
1458
1458
|
}
|
|
1459
1459
|
break;
|
|
1460
1460
|
case 5936:
|
|
1461
1461
|
switch (vt(e, t + 11)) {
|
|
1462
1462
|
case 114:
|
|
1463
|
-
return he + e +
|
|
1463
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1464
1464
|
case 108:
|
|
1465
|
-
return he + e +
|
|
1465
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1466
1466
|
case 45:
|
|
1467
|
-
return he + e +
|
|
1467
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1468
1468
|
}
|
|
1469
|
-
return he + e +
|
|
1469
|
+
return he + e + Qe + e + e;
|
|
1470
1470
|
}
|
|
1471
1471
|
return e;
|
|
1472
1472
|
}
|
|
@@ -1494,7 +1494,7 @@ var JM = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
1494
1494
|
}), fn(t, {
|
|
1495
1495
|
props: [ve(i, /:(plac\w+)/, ":" + go + "$1")]
|
|
1496
1496
|
}), fn(t, {
|
|
1497
|
-
props: [ve(i, /:(plac\w+)/,
|
|
1497
|
+
props: [ve(i, /:(plac\w+)/, Qe + "input-$1")]
|
|
1498
1498
|
})], o);
|
|
1499
1499
|
}
|
|
1500
1500
|
return "";
|
|
@@ -2457,24 +2457,24 @@ function eS(e, t) {
|
|
|
2457
2457
|
case 4810:
|
|
2458
2458
|
case 6968:
|
|
2459
2459
|
case 2756:
|
|
2460
|
-
return he + e + go + e +
|
|
2460
|
+
return he + e + go + e + Qe + e + e;
|
|
2461
2461
|
case 6828:
|
|
2462
2462
|
case 4268:
|
|
2463
|
-
return he + e +
|
|
2463
|
+
return he + e + Qe + e + e;
|
|
2464
2464
|
case 6165:
|
|
2465
|
-
return he + e +
|
|
2465
|
+
return he + e + Qe + "flex-" + e + e;
|
|
2466
2466
|
case 5187:
|
|
2467
|
-
return he + e + ve(e, /(\w+).+(:[^]+)/, he + "box-$1$2" +
|
|
2467
|
+
return he + e + ve(e, /(\w+).+(:[^]+)/, he + "box-$1$2" + Qe + "flex-$1$2") + e;
|
|
2468
2468
|
case 5443:
|
|
2469
|
-
return he + e +
|
|
2469
|
+
return he + e + Qe + "flex-item-" + ve(e, /flex-|-self/, "") + e;
|
|
2470
2470
|
case 4675:
|
|
2471
|
-
return he + e +
|
|
2471
|
+
return he + e + Qe + "flex-line-pack" + ve(e, /align-content|flex-|-self/, "") + e;
|
|
2472
2472
|
case 5548:
|
|
2473
|
-
return he + e +
|
|
2473
|
+
return he + e + Qe + ve(e, "shrink", "negative") + e;
|
|
2474
2474
|
case 5292:
|
|
2475
|
-
return he + e +
|
|
2475
|
+
return he + e + Qe + ve(e, "basis", "preferred-size") + e;
|
|
2476
2476
|
case 6060:
|
|
2477
|
-
return he + "box-" + ve(e, "-grow", "") + he + e +
|
|
2477
|
+
return he + "box-" + ve(e, "-grow", "") + he + e + Qe + ve(e, "grow", "positive") + e;
|
|
2478
2478
|
case 4554:
|
|
2479
2479
|
return he + ve(e, /([^-])(transform)/g, "$1" + he + "$2") + e;
|
|
2480
2480
|
case 6187:
|
|
@@ -2483,7 +2483,7 @@ function eS(e, t) {
|
|
|
2483
2483
|
case 3959:
|
|
2484
2484
|
return ve(e, /(image-set\([^]*)/, he + "$1$`$1");
|
|
2485
2485
|
case 4968:
|
|
2486
|
-
return ve(ve(e, /(.+:)(flex-)?(.*)/, he + "box-pack:$3" +
|
|
2486
|
+
return ve(ve(e, /(.+:)(flex-)?(.*)/, he + "box-pack:$3" + Qe + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + he + e + e;
|
|
2487
2487
|
case 4095:
|
|
2488
2488
|
case 3583:
|
|
2489
2489
|
case 4068:
|
|
@@ -2517,19 +2517,19 @@ function eS(e, t) {
|
|
|
2517
2517
|
case 107:
|
|
2518
2518
|
return ve(e, ":", ":" + he) + e;
|
|
2519
2519
|
case 101:
|
|
2520
|
-
return ve(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + he + (vt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + he + "$2$3$1" +
|
|
2520
|
+
return ve(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + he + (vt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + he + "$2$3$1" + Qe + "$2box$3") + e;
|
|
2521
2521
|
}
|
|
2522
2522
|
break;
|
|
2523
2523
|
case 5936:
|
|
2524
2524
|
switch (vt(e, t + 11)) {
|
|
2525
2525
|
case 114:
|
|
2526
|
-
return he + e +
|
|
2526
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
2527
2527
|
case 108:
|
|
2528
|
-
return he + e +
|
|
2528
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
2529
2529
|
case 45:
|
|
2530
|
-
return he + e +
|
|
2530
|
+
return he + e + Qe + ve(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
2531
2531
|
}
|
|
2532
|
-
return he + e +
|
|
2532
|
+
return he + e + Qe + e + e;
|
|
2533
2533
|
}
|
|
2534
2534
|
return e;
|
|
2535
2535
|
}
|
|
@@ -2557,7 +2557,7 @@ var BR = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
2557
2557
|
}), fn(t, {
|
|
2558
2558
|
props: [ve(i, /:(plac\w+)/, ":" + go + "$1")]
|
|
2559
2559
|
}), fn(t, {
|
|
2560
|
-
props: [ve(i, /:(plac\w+)/,
|
|
2560
|
+
props: [ve(i, /:(plac\w+)/, Qe + "input-$1")]
|
|
2561
2561
|
})], o);
|
|
2562
2562
|
}
|
|
2563
2563
|
return "";
|
|
@@ -5277,7 +5277,7 @@ const mF = {
|
|
|
5277
5277
|
useIsFocusVisible: Id
|
|
5278
5278
|
}, Symbol.toStringTag, { value: "Module" })), bF = /* @__PURE__ */ Tn(gF);
|
|
5279
5279
|
var n0;
|
|
5280
|
-
function
|
|
5280
|
+
function Me() {
|
|
5281
5281
|
return n0 || (n0 = 1, function(e) {
|
|
5282
5282
|
"use client";
|
|
5283
5283
|
Object.defineProperty(e, "__esModule", {
|
|
@@ -5291,12 +5291,12 @@ function Re() {
|
|
|
5291
5291
|
var t = bF;
|
|
5292
5292
|
}(vp)), vp;
|
|
5293
5293
|
}
|
|
5294
|
-
a(
|
|
5294
|
+
a(Me, "requireCreateSvgIcon");
|
|
5295
5295
|
var yF = ke;
|
|
5296
5296
|
Object.defineProperty(xm, "__esModule", {
|
|
5297
5297
|
value: !0
|
|
5298
5298
|
});
|
|
5299
|
-
var Bm = xm.default = void 0, vF = yF(
|
|
5299
|
+
var Bm = xm.default = void 0, vF = yF(Me()), xF = Pe;
|
|
5300
5300
|
Bm = xm.default = (0, vF.default)(/* @__PURE__ */ (0, xF.jsx)("path", {
|
|
5301
5301
|
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1z"
|
|
5302
5302
|
}), "Lock");
|
|
@@ -5304,7 +5304,7 @@ var jm = {}, OF = ke;
|
|
|
5304
5304
|
Object.defineProperty(jm, "__esModule", {
|
|
5305
5305
|
value: !0
|
|
5306
5306
|
});
|
|
5307
|
-
var wS = jm.default = void 0, SF = OF(
|
|
5307
|
+
var wS = jm.default = void 0, SF = OF(Me()), CF = Pe;
|
|
5308
5308
|
wS = jm.default = (0, SF.default)(/* @__PURE__ */ (0, CF.jsx)("path", {
|
|
5309
5309
|
d: "M22 4v-.5C22 2.12 20.88 1 19.5 1S17 2.12 17 3.5V4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h5c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1m-.8 0h-3.4v-.5c0-.94.76-1.7 1.7-1.7s1.7.76 1.7 1.7zm-2.28 8c.04.33.08.66.08 1 0 2.08-.8 3.97-2.1 5.39-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H7v-2h2c.55 0 1-.45 1-1V8h2c1.1 0 2-.9 2-2V3.46c-.95-.3-1.95-.46-3-.46C5.48 3 1 7.48 1 13s4.48 10 10 10 10-4.48 10-10c0-.34-.02-.67-.05-1zM10 20.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L8 16v1c0 1.1.9 2 2 2z"
|
|
5310
5310
|
}), "VpnLock");
|
|
@@ -5992,7 +5992,7 @@ var Um = {}, lI = ke;
|
|
|
5992
5992
|
Object.defineProperty(Um, "__esModule", {
|
|
5993
5993
|
value: !0
|
|
5994
5994
|
});
|
|
5995
|
-
var Ll = Um.default = void 0, cI = lI(
|
|
5995
|
+
var Ll = Um.default = void 0, cI = lI(Me()), uI = Pe;
|
|
5996
5996
|
Ll = Um.default = (0, cI.default)(/* @__PURE__ */ (0, uI.jsx)("path", {
|
|
5997
5997
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
5998
5998
|
}), "Add");
|
|
@@ -6000,7 +6000,7 @@ var qm = {}, dI = ke;
|
|
|
6000
6000
|
Object.defineProperty(qm, "__esModule", {
|
|
6001
6001
|
value: !0
|
|
6002
6002
|
});
|
|
6003
|
-
var rl = qm.default = void 0, pI = dI(
|
|
6003
|
+
var rl = qm.default = void 0, pI = dI(Me()), fI = Pe;
|
|
6004
6004
|
rl = qm.default = (0, pI.default)(/* @__PURE__ */ (0, fI.jsx)("path", {
|
|
6005
6005
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
6006
6006
|
}), "Cancel");
|
|
@@ -6008,7 +6008,7 @@ var Gm = {}, hI = ke;
|
|
|
6008
6008
|
Object.defineProperty(Gm, "__esModule", {
|
|
6009
6009
|
value: !0
|
|
6010
6010
|
});
|
|
6011
|
-
var Ja = Gm.default = void 0, mI = hI(
|
|
6011
|
+
var Ja = Gm.default = void 0, mI = hI(Me()), gI = Pe;
|
|
6012
6012
|
Ja = Gm.default = (0, mI.default)(/* @__PURE__ */ (0, gI.jsx)("path", {
|
|
6013
6013
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"
|
|
6014
6014
|
}), "Delete");
|
|
@@ -6016,7 +6016,7 @@ var Km = {}, bI = ke;
|
|
|
6016
6016
|
Object.defineProperty(Km, "__esModule", {
|
|
6017
6017
|
value: !0
|
|
6018
6018
|
});
|
|
6019
|
-
var DS = Km.default = void 0, yI = bI(
|
|
6019
|
+
var DS = Km.default = void 0, yI = bI(Me()), vI = Pe;
|
|
6020
6020
|
DS = Km.default = (0, yI.default)(/* @__PURE__ */ (0, vI.jsx)("path", {
|
|
6021
6021
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
6022
6022
|
}), "Edit");
|
|
@@ -8833,7 +8833,7 @@ var og = {}, GL = ke;
|
|
|
8833
8833
|
Object.defineProperty(og, "__esModule", {
|
|
8834
8834
|
value: !0
|
|
8835
8835
|
});
|
|
8836
|
-
var KS = og.default = void 0, KL = GL(
|
|
8836
|
+
var KS = og.default = void 0, KL = GL(Me()), JL = Pe;
|
|
8837
8837
|
KS = og.default = (0, KL.default)(/* @__PURE__ */ (0, JL.jsx)("path", {
|
|
8838
8838
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
8839
8839
|
}), "ChevronLeft");
|
|
@@ -9673,8 +9673,8 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9673
9673
|
isLoading: n,
|
|
9674
9674
|
fichaProps: o = {},
|
|
9675
9675
|
propsContenidos: i = {}
|
|
9676
|
-
} = Tt(), l = ht(zd) !== void 0, u = ym((
|
|
9677
|
-
const ct =
|
|
9676
|
+
} = Tt(), l = ht(zd) !== void 0, u = ym((Je) => {
|
|
9677
|
+
const ct = Je.configInputs ? Je.configInputs.filter((Ae) => Ae.id === t) : [];
|
|
9678
9678
|
return ct[0] ? ct[0] : null;
|
|
9679
9679
|
}), {
|
|
9680
9680
|
conts: d = []
|
|
@@ -9725,14 +9725,14 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9725
9725
|
validate: be,
|
|
9726
9726
|
required: Ve,
|
|
9727
9727
|
...Le
|
|
9728
|
-
} = ae, Ie = _ || J, we = Y || G, He = de || ne, Ne = y !== void 0 ? y : Ve !== void 0 ? Ve : f ? !0 : l || V === void 0 ? R : V, dt = Array.isArray(M) ? M : [M],
|
|
9728
|
+
} = ae, Ie = _ || J, we = Y || G, He = de || ne, Ne = y !== void 0 ? y : Ve !== void 0 ? Ve : f ? !0 : l || V === void 0 ? R : V, dt = Array.isArray(M) ? M : [M], Ye = Array.isArray(N) ? N : [N], Ue = Array.isArray(be) ? be : [be];
|
|
9729
9729
|
let lt = [
|
|
9730
9730
|
...dt,
|
|
9731
|
-
...
|
|
9731
|
+
...Ye,
|
|
9732
9732
|
...Ue,
|
|
9733
9733
|
T
|
|
9734
|
-
].filter((
|
|
9735
|
-
return Ne ? lt.push(tC) : lt = lt.filter((
|
|
9734
|
+
].filter((Je) => Je !== void 0);
|
|
9735
|
+
return Ne ? lt.push(tC) : lt = lt.filter((Je) => !Je.isRequired), {
|
|
9736
9736
|
propsContenido: {
|
|
9737
9737
|
sx: {
|
|
9738
9738
|
mr: { xs: 0, md: 1 },
|
|
@@ -9742,11 +9742,11 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9742
9742
|
bottom: { xs: "-1.5em", md: "-1.6em" }
|
|
9743
9743
|
}
|
|
9744
9744
|
},
|
|
9745
|
-
onFocus: /* @__PURE__ */ a((
|
|
9746
|
-
Ie && J(X, r,
|
|
9745
|
+
onFocus: /* @__PURE__ */ a((Je) => {
|
|
9746
|
+
Ie && J(X, r, Je);
|
|
9747
9747
|
}, "onFocus"),
|
|
9748
|
-
onBlur: /* @__PURE__ */ a((
|
|
9749
|
-
onChange: /* @__PURE__ */ a((
|
|
9748
|
+
onBlur: /* @__PURE__ */ a((Je) => we && we(X, r, Je), "onBlur"),
|
|
9749
|
+
onChange: /* @__PURE__ */ a((Je) => He && He(X, r, Je), "onChange"),
|
|
9750
9750
|
helperText: !1,
|
|
9751
9751
|
validate: lt,
|
|
9752
9752
|
...F,
|
|
@@ -9762,7 +9762,7 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9762
9762
|
}, "useContenidoController"), iD = /* @__PURE__ */ a((e) => {
|
|
9763
9763
|
const { validateDelete: t, className: r } = e, n = ut(e), o = pr(), i = Un(), { mutationOptions: { onError: s } = {} } = Tt(), { open: l, isLoading: u, handleDialogOpen: d, handleDialogClose: p } = tP({ record: o, resource: n }), f = /* @__PURE__ */ a((g) => {
|
|
9764
9764
|
d(g);
|
|
9765
|
-
}, "handleClick"), h =
|
|
9765
|
+
}, "handleClick"), h = Ze(
|
|
9766
9766
|
async (g) => {
|
|
9767
9767
|
if (o)
|
|
9768
9768
|
try {
|
|
@@ -9874,7 +9874,7 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9874
9874
|
);
|
|
9875
9875
|
}, "onError")
|
|
9876
9876
|
}
|
|
9877
|
-
), { save: h } = nP(), g =
|
|
9877
|
+
), { save: h } = nP(), g = Ze(
|
|
9878
9878
|
async (m) => {
|
|
9879
9879
|
const b = d && await d(
|
|
9880
9880
|
{
|
|
@@ -9892,7 +9892,7 @@ const hN = /^(\d+)(th|st|nd|rd)?/i, mN = /\d+/i, gN = {
|
|
|
9892
9892
|
let jf = null;
|
|
9893
9893
|
const eC = /* @__PURE__ */ a(() => {
|
|
9894
9894
|
const { reset: e } = or();
|
|
9895
|
-
return
|
|
9895
|
+
return Ge(() => {
|
|
9896
9896
|
aD(() => e());
|
|
9897
9897
|
}, [e]), null;
|
|
9898
9898
|
}, "FormResetter"), aD = /* @__PURE__ */ a((e) => {
|
|
@@ -10075,7 +10075,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10075
10075
|
}, "abrirVentanaSistema");
|
|
10076
10076
|
}, "useAbrirVentanaSistema"), oC = /* @__PURE__ */ a(() => {
|
|
10077
10077
|
const e = Ni();
|
|
10078
|
-
return
|
|
10078
|
+
return Ze(
|
|
10079
10079
|
(t, r, n, o) => {
|
|
10080
10080
|
e(BL(t, r, n, o));
|
|
10081
10081
|
},
|
|
@@ -10083,7 +10083,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10083
10083
|
);
|
|
10084
10084
|
}, "useRecargarComboBox"), iC = /* @__PURE__ */ a(() => {
|
|
10085
10085
|
const e = Ni();
|
|
10086
|
-
return
|
|
10086
|
+
return Ze(
|
|
10087
10087
|
(t, r) => {
|
|
10088
10088
|
e(VL(t, r));
|
|
10089
10089
|
},
|
|
@@ -10091,7 +10091,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10091
10091
|
);
|
|
10092
10092
|
}, "useSetHidden"), aC = /* @__PURE__ */ a(() => {
|
|
10093
10093
|
const e = Ni();
|
|
10094
|
-
return
|
|
10094
|
+
return Ze(
|
|
10095
10095
|
(t, r) => {
|
|
10096
10096
|
e(HL(t, r));
|
|
10097
10097
|
},
|
|
@@ -10099,7 +10099,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10099
10099
|
);
|
|
10100
10100
|
}, "useSetDisable"), sC = /* @__PURE__ */ a(() => {
|
|
10101
10101
|
const e = Ni();
|
|
10102
|
-
return
|
|
10102
|
+
return Ze(
|
|
10103
10103
|
(t, r) => {
|
|
10104
10104
|
e(WL(t, r));
|
|
10105
10105
|
},
|
|
@@ -10107,7 +10107,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10107
10107
|
);
|
|
10108
10108
|
}, "useSetRequire"), lC = /* @__PURE__ */ a(() => {
|
|
10109
10109
|
const e = Ni();
|
|
10110
|
-
return
|
|
10110
|
+
return Ze(
|
|
10111
10111
|
(t, r) => {
|
|
10112
10112
|
e(UL(t, r));
|
|
10113
10113
|
},
|
|
@@ -10115,7 +10115,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10115
10115
|
);
|
|
10116
10116
|
}, "useSetError"), cC = /* @__PURE__ */ a(() => {
|
|
10117
10117
|
const e = Ni();
|
|
10118
|
-
return
|
|
10118
|
+
return Ze(
|
|
10119
10119
|
(t, r) => {
|
|
10120
10120
|
e(qL(t, r));
|
|
10121
10121
|
},
|
|
@@ -10146,7 +10146,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10146
10146
|
return { mutateAsync: o, isLoading: i };
|
|
10147
10147
|
}, "useGetJson"), sg = /* @__PURE__ */ a((e, t) => {
|
|
10148
10148
|
const { mutateAsync: r, isLoading: n } = fD(e, void 0, t);
|
|
10149
|
-
return [
|
|
10149
|
+
return [Ze(
|
|
10150
10150
|
(i, s, l) => r(
|
|
10151
10151
|
{ method: i, params: s },
|
|
10152
10152
|
{ onSuccess: l, onError: l }
|
|
@@ -10169,7 +10169,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10169
10169
|
return /* @__PURE__ */ v(uC.Provider, { value: o, children: e });
|
|
10170
10170
|
}, "FormToolbarProvider"), pC = /* @__PURE__ */ a(() => ht(uC), "useFormToolbar"), fC = /* @__PURE__ */ a((e) => {
|
|
10171
10171
|
const t = ut(e), r = E1();
|
|
10172
|
-
return
|
|
10172
|
+
return Ze(() => {
|
|
10173
10173
|
r.refetchQueries({ queryKey: [t], type: "active" });
|
|
10174
10174
|
}, [r, t]);
|
|
10175
10175
|
}, "useResourceRefresh"), jl = /* @__PURE__ */ a(() => ({}), "useDefaultHook"), jd = /* @__PURE__ */ a((e) => {
|
|
@@ -10219,7 +10219,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10219
10219
|
};
|
|
10220
10220
|
}, "useUtilsSubmit"), ss = /* @__PURE__ */ new Map(), tn = /* @__PURE__ */ a((e) => {
|
|
10221
10221
|
const t = ut(e), r = (e == null ? void 0 : e.id) ?? "new", n = `${t}-${r}`, o = or();
|
|
10222
|
-
|
|
10222
|
+
Ge(() => {
|
|
10223
10223
|
const M = ss.get(n) ?? { form: null, count: 0 };
|
|
10224
10224
|
return o && !M.form && (M.form = o), M.count += 1, ss.set(n, M), () => {
|
|
10225
10225
|
const R = ss.get(n);
|
|
@@ -10307,7 +10307,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10307
10307
|
return delete t.id, t;
|
|
10308
10308
|
}, "getSubmitValues"), gC = /* @__PURE__ */ a((e) => {
|
|
10309
10309
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "N";
|
|
10310
|
-
return
|
|
10310
|
+
return Ze(
|
|
10311
10311
|
(i, s) => {
|
|
10312
10312
|
const l = mC(i), u = Math.max(
|
|
10313
10313
|
0,
|
|
@@ -10330,7 +10330,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10330
10330
|
);
|
|
10331
10331
|
}, "useAddRow"), bC = /* @__PURE__ */ a((e) => {
|
|
10332
10332
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "M";
|
|
10333
|
-
return
|
|
10333
|
+
return Ze(
|
|
10334
10334
|
(i, s, l) => {
|
|
10335
10335
|
var g, m;
|
|
10336
10336
|
const u = typeof i == "number" ? "N" : o, d = mC(s);
|
|
@@ -10354,7 +10354,7 @@ const eC = /* @__PURE__ */ a(() => {
|
|
|
10354
10354
|
);
|
|
10355
10355
|
}, "useEditRow"), yC = /* @__PURE__ */ a((e) => {
|
|
10356
10356
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "B";
|
|
10357
|
-
return
|
|
10357
|
+
return Ze(
|
|
10358
10358
|
(i, s) => {
|
|
10359
10359
|
const l = t.current.getRowModels().get(i);
|
|
10360
10360
|
t.current.updateRows([{ id: i, _action: "delete" }]);
|
|
@@ -10705,7 +10705,7 @@ var ug = {}, kD = ke;
|
|
|
10705
10705
|
Object.defineProperty(ug, "__esModule", {
|
|
10706
10706
|
value: !0
|
|
10707
10707
|
});
|
|
10708
|
-
var dg = ug.default = void 0, wD = kD(
|
|
10708
|
+
var dg = ug.default = void 0, wD = kD(Me()), b0 = Pe;
|
|
10709
10709
|
dg = ug.default = (0, wD.default)([/* @__PURE__ */ (0, b0.jsx)("path", {
|
|
10710
10710
|
d: "M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"
|
|
10711
10711
|
}, "0"), /* @__PURE__ */ (0, b0.jsx)("path", {
|
|
@@ -10715,7 +10715,7 @@ var pg = {}, PD = ke;
|
|
|
10715
10715
|
Object.defineProperty(pg, "__esModule", {
|
|
10716
10716
|
value: !0
|
|
10717
10717
|
});
|
|
10718
|
-
var fg = pg.default = void 0, MD = PD(
|
|
10718
|
+
var fg = pg.default = void 0, MD = PD(Me()), RD = Pe;
|
|
10719
10719
|
fg = pg.default = (0, MD.default)(/* @__PURE__ */ (0, RD.jsx)("path", {
|
|
10720
10720
|
d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
|
|
10721
10721
|
}), "ExpandMore");
|
|
@@ -10723,7 +10723,7 @@ var hg = {}, $D = ke;
|
|
|
10723
10723
|
Object.defineProperty(hg, "__esModule", {
|
|
10724
10724
|
value: !0
|
|
10725
10725
|
});
|
|
10726
|
-
var vC = hg.default = void 0, AD = $D(
|
|
10726
|
+
var vC = hg.default = void 0, AD = $D(Me()), FD = Pe;
|
|
10727
10727
|
vC = hg.default = (0, AD.default)(/* @__PURE__ */ (0, FD.jsx)("path", {
|
|
10728
10728
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
10729
10729
|
}), "ChevronRight");
|
|
@@ -11470,7 +11470,7 @@ const Ea = Se("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11470
11470
|
O.useEffect(() => {
|
|
11471
11471
|
le && le.setAdornedStart(!!N);
|
|
11472
11472
|
}, [le, N]);
|
|
11473
|
-
const
|
|
11473
|
+
const Ye = k({}, o, {
|
|
11474
11474
|
color: _.color || "primary",
|
|
11475
11475
|
disabled: _.disabled,
|
|
11476
11476
|
endAdornment: m,
|
|
@@ -11483,19 +11483,19 @@ const Ea = Se("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11483
11483
|
size: _.size,
|
|
11484
11484
|
startAdornment: N,
|
|
11485
11485
|
type: V
|
|
11486
|
-
}), Ue = JD(
|
|
11486
|
+
}), Ue = JD(Ye), lt = K.root || d.Root || qd, Je = D.root || p.root || {}, ct = K.input || d.Input || Gd;
|
|
11487
11487
|
return Ne = k({}, Ne, (n = D.input) != null ? n : p.input), /* @__PURE__ */ W(O.Fragment, {
|
|
11488
|
-
children: [!g && YD, /* @__PURE__ */ W(lt, k({},
|
|
11489
|
-
ownerState: k({},
|
|
11488
|
+
children: [!g && YD, /* @__PURE__ */ W(lt, k({}, Je, !Sa(lt) && {
|
|
11489
|
+
ownerState: k({}, Ye, Je.ownerState)
|
|
11490
11490
|
}, {
|
|
11491
11491
|
ref: r,
|
|
11492
11492
|
onClick: we
|
|
11493
11493
|
}, H, {
|
|
11494
|
-
className: oe(Ue.root,
|
|
11494
|
+
className: oe(Ue.root, Je.className, u, B && "MuiInputBase-readOnly"),
|
|
11495
11495
|
children: [N, /* @__PURE__ */ v(Hd.Provider, {
|
|
11496
11496
|
value: null,
|
|
11497
11497
|
children: /* @__PURE__ */ v(ct, k({
|
|
11498
|
-
ownerState:
|
|
11498
|
+
ownerState: Ye,
|
|
11499
11499
|
"aria-invalid": _.error,
|
|
11500
11500
|
"aria-describedby": i,
|
|
11501
11501
|
autoComplete: s,
|
|
@@ -11515,7 +11515,7 @@ const Ea = Se("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11515
11515
|
type: V
|
|
11516
11516
|
}, Ne, !Sa(ct) && {
|
|
11517
11517
|
as: He,
|
|
11518
|
-
ownerState: k({},
|
|
11518
|
+
ownerState: k({}, Ye, Ne.ownerState)
|
|
11519
11519
|
}, {
|
|
11520
11520
|
ref: X,
|
|
11521
11521
|
className: oe(Ue.input, Ne.className, B && "MuiInputBase-readOnly"),
|
|
@@ -12504,7 +12504,7 @@ const d2 = Se("MuiButtonBase", ["root", "disabled", "focusVisible"]), p2 = ["act
|
|
|
12504
12504
|
h && !Ne.current && q && D.current && ye.key === " " && (Ne.current = !0, D.current.stop(ye, () => {
|
|
12505
12505
|
D.current.start(ye);
|
|
12506
12506
|
})), ye.target === ye.currentTarget && He() && ye.key === " " && ye.preventDefault(), C && C(ye), ye.target === ye.currentTarget && He() && ye.key === "Enter" && !d && (ye.preventDefault(), b && b(ye));
|
|
12507
|
-
}),
|
|
12507
|
+
}), Ye = br((ye) => {
|
|
12508
12508
|
h && ye.key === " " && D.current && q && !ye.defaultPrevented && (Ne.current = !1, D.current.stop(ye, () => {
|
|
12509
12509
|
D.current.pulsate(ye);
|
|
12510
12510
|
})), S && S(ye), b && ye.target === ye.currentTarget && He() && ye.key === " " && !ye.defaultPrevented && b(ye);
|
|
@@ -12513,7 +12513,7 @@ const d2 = Se("MuiButtonBase", ["root", "disabled", "focusVisible"]), p2 = ["act
|
|
|
12513
12513
|
Ue === "button" && (z.href || z.to) && (Ue = g);
|
|
12514
12514
|
const lt = {};
|
|
12515
12515
|
Ue === "button" ? (lt.type = B === void 0 ? "button" : B, lt.disabled = d) : (!z.href && !z.to && (lt.role = "button"), d && (lt["aria-disabled"] = d));
|
|
12516
|
-
const
|
|
12516
|
+
const Je = Mt(r, H, j);
|
|
12517
12517
|
process.env.NODE_ENV !== "production" && O.useEffect(() => {
|
|
12518
12518
|
X && !D.current && console.error(["MUI: The `component` prop provided to ButtonBase is invalid.", "Please make sure the children prop is rendered in this custom component."].join(`
|
|
12519
12519
|
`));
|
|
@@ -12537,7 +12537,7 @@ const d2 = Se("MuiButtonBase", ["root", "disabled", "focusVisible"]), p2 = ["act
|
|
|
12537
12537
|
onContextMenu: le,
|
|
12538
12538
|
onFocus: we,
|
|
12539
12539
|
onKeyDown: dt,
|
|
12540
|
-
onKeyUp:
|
|
12540
|
+
onKeyUp: Ye,
|
|
12541
12541
|
onMouseDown: re,
|
|
12542
12542
|
onMouseLeave: Y,
|
|
12543
12543
|
onMouseUp: de,
|
|
@@ -12545,7 +12545,7 @@ const d2 = Se("MuiButtonBase", ["root", "disabled", "focusVisible"]), p2 = ["act
|
|
|
12545
12545
|
onTouchEnd: Ve,
|
|
12546
12546
|
onTouchMove: Le,
|
|
12547
12547
|
onTouchStart: be,
|
|
12548
|
-
ref:
|
|
12548
|
+
ref: Je,
|
|
12549
12549
|
tabIndex: d ? -1 : R,
|
|
12550
12550
|
type: B
|
|
12551
12551
|
}, lt, z, {
|
|
@@ -12894,7 +12894,7 @@ var gg = {}, v2 = ke;
|
|
|
12894
12894
|
Object.defineProperty(gg, "__esModule", {
|
|
12895
12895
|
value: !0
|
|
12896
12896
|
});
|
|
12897
|
-
var wC = gg.default = void 0, x2 = v2(
|
|
12897
|
+
var wC = gg.default = void 0, x2 = v2(Me()), O2 = Pe;
|
|
12898
12898
|
wC = gg.default = (0, x2.default)(/* @__PURE__ */ (0, O2.jsx)("path", {
|
|
12899
12899
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2m-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
12900
12900
|
}), "CheckBox");
|
|
@@ -12902,7 +12902,7 @@ var bg = {}, S2 = ke;
|
|
|
12902
12902
|
Object.defineProperty(bg, "__esModule", {
|
|
12903
12903
|
value: !0
|
|
12904
12904
|
});
|
|
12905
|
-
var PC = bg.default = void 0, C2 = S2(
|
|
12905
|
+
var PC = bg.default = void 0, C2 = S2(Me()), T2 = Pe;
|
|
12906
12906
|
PC = bg.default = (0, C2.default)(/* @__PURE__ */ (0, T2.jsx)("path", {
|
|
12907
12907
|
d: "M19 5v14H5V5zm0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"
|
|
12908
12908
|
}), "CheckBoxOutlineBlank");
|
|
@@ -14935,7 +14935,7 @@ var Cg = {}, g_ = ke;
|
|
|
14935
14935
|
Object.defineProperty(Cg, "__esModule", {
|
|
14936
14936
|
value: !0
|
|
14937
14937
|
});
|
|
14938
|
-
var NC = Cg.default = void 0, b_ = g_(
|
|
14938
|
+
var NC = Cg.default = void 0, b_ = g_(Me()), y_ = Pe;
|
|
14939
14939
|
NC = Cg.default = (0, b_.default)(/* @__PURE__ */ (0, y_.jsx)("path", {
|
|
14940
14940
|
d: "M16 17.01V10h-2v7.01h-3L15 21l4-3.99zM9 3 5 6.99h3V14h2V6.99h3z"
|
|
14941
14941
|
}), "SwapVert");
|
|
@@ -15449,7 +15449,7 @@ const w_ = {
|
|
|
15449
15449
|
A700: "#ffd600"
|
|
15450
15450
|
}, DC = /* @__PURE__ */ a(({ containerRef: e, ...t }) => {
|
|
15451
15451
|
const [r, n] = Be(null);
|
|
15452
|
-
return
|
|
15452
|
+
return Ge(() => {
|
|
15453
15453
|
e != null && e.current && n(e.current);
|
|
15454
15454
|
}, [e]), r ? uM(
|
|
15455
15455
|
/* @__PURE__ */ v(
|
|
@@ -15555,7 +15555,7 @@ var Tg = {}, M_ = ke;
|
|
|
15555
15555
|
Object.defineProperty(Tg, "__esModule", {
|
|
15556
15556
|
value: !0
|
|
15557
15557
|
});
|
|
15558
|
-
var qc = Tg.default = void 0, R_ = M_(
|
|
15558
|
+
var qc = Tg.default = void 0, R_ = M_(Me()), $_ = Pe;
|
|
15559
15559
|
qc = Tg.default = (0, R_.default)(/* @__PURE__ */ (0, $_.jsx)("path", {
|
|
15560
15560
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
15561
15561
|
}), "RemoveRedEye");
|
|
@@ -15563,7 +15563,7 @@ var Eg = {}, A_ = ke;
|
|
|
15563
15563
|
Object.defineProperty(Eg, "__esModule", {
|
|
15564
15564
|
value: !0
|
|
15565
15565
|
});
|
|
15566
|
-
var kg = Eg.default = void 0, F_ = A_(
|
|
15566
|
+
var kg = Eg.default = void 0, F_ = A_(Me()), I_ = Pe;
|
|
15567
15567
|
kg = Eg.default = (0, F_.default)(/* @__PURE__ */ (0, I_.jsx)("path", {
|
|
15568
15568
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
15569
15569
|
}), "Create");
|
|
@@ -22607,9 +22607,9 @@ const vB = {
|
|
|
22607
22607
|
})(wg);
|
|
22608
22608
|
const zB = /* @__PURE__ */ a((e) => {
|
|
22609
22609
|
const { onRenderGrilla: t, onLoadGrilla: r, apiRef: n = {} } = e, { isLoading: o } = mi(), i = jd(e);
|
|
22610
|
-
|
|
22610
|
+
Ge(() => {
|
|
22611
22611
|
t && t({ ...i, api: n == null ? void 0 : n.current });
|
|
22612
|
-
}, []),
|
|
22612
|
+
}, []), Ge(() => {
|
|
22613
22613
|
o || r && r({ ...i, api: n == null ? void 0 : n.current });
|
|
22614
22614
|
}, [o]);
|
|
22615
22615
|
}, "useInitGrilla");
|
|
@@ -22617,7 +22617,7 @@ var Pg = {}, BB = ke;
|
|
|
22617
22617
|
Object.defineProperty(Pg, "__esModule", {
|
|
22618
22618
|
value: !0
|
|
22619
22619
|
});
|
|
22620
|
-
var Uf = Pg.default = void 0, jB = BB(
|
|
22620
|
+
var Uf = Pg.default = void 0, jB = BB(Me()), VB = Pe;
|
|
22621
22621
|
Uf = Pg.default = (0, jB.default)(/* @__PURE__ */ (0, VB.jsx)("path", {
|
|
22622
22622
|
d: "M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12s4.48 10 10 10 10-4.48 10-10m-10 1H8v-2h4V8l4 4-4 4z"
|
|
22623
22623
|
}), "ArrowCircleRight");
|
|
@@ -23215,7 +23215,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23215
23215
|
user: _ = [],
|
|
23216
23216
|
lang: de = []
|
|
23217
23217
|
} = ht(Di), Y = ht(rC), be = Rg();
|
|
23218
|
-
|
|
23218
|
+
Ge(() => {
|
|
23219
23219
|
Y && (Y.current.activePanel.params.apiRef = re);
|
|
23220
23220
|
}, [Y]);
|
|
23221
23221
|
const Ve = {}, Le = [], Ie = [], we = {
|
|
@@ -23230,19 +23230,19 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23230
23230
|
colSpan: /* @__PURE__ */ a(() => 1, "colSpan"),
|
|
23231
23231
|
renderCell: /* @__PURE__ */ a((te) => {
|
|
23232
23232
|
if (!(te != null && te.rowNode) || te.rowNode.type !== "group") return null;
|
|
23233
|
-
const
|
|
23233
|
+
const $e = !!te.rowNode.childrenExpanded;
|
|
23234
23234
|
return /* @__PURE__ */ v(ba, { size: "small", onClick: /* @__PURE__ */ a((xe) => {
|
|
23235
|
-
var
|
|
23236
|
-
xe.stopPropagation(), (Ot = (
|
|
23237
|
-
}, "toggle"), tabIndex: -1, children:
|
|
23235
|
+
var Ke, Ot;
|
|
23236
|
+
xe.stopPropagation(), (Ot = (Ke = re == null ? void 0 : re.current) == null ? void 0 : Ke.setRowChildrenExpansion) == null || Ot.call(Ke, te.id, !$e);
|
|
23237
|
+
}, "toggle"), tabIndex: -1, children: $e ? /* @__PURE__ */ v(fg, { fontSize: "small" }) : /* @__PURE__ */ v(vC, { fontSize: "small" }) });
|
|
23238
23238
|
}, "renderCell")
|
|
23239
23239
|
}, He = i.map((te) => {
|
|
23240
|
-
const
|
|
23241
|
-
return
|
|
23240
|
+
const $e = _[te.field.replace("_lis", "")];
|
|
23241
|
+
return $e ? { ...te, ...$e } : te;
|
|
23242
23242
|
}).sort(
|
|
23243
|
-
(te,
|
|
23244
|
-
var
|
|
23245
|
-
return parseInt((
|
|
23243
|
+
(te, $e) => {
|
|
23244
|
+
var et, xe;
|
|
23245
|
+
return parseInt((et = _[te.field.replace("_lis", "")]) == null ? void 0 : et.orden) - parseInt((xe = _[$e.field.replace("_lis", "")]) == null ? void 0 : xe.orden);
|
|
23246
23246
|
}
|
|
23247
23247
|
), {
|
|
23248
23248
|
columns: { columnVisibilityModel: Ne = {} },
|
|
@@ -23255,7 +23255,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23255
23255
|
// Usar el ancho de las configuraciones si está disponible
|
|
23256
23256
|
});
|
|
23257
23257
|
});
|
|
23258
|
-
const
|
|
23258
|
+
const Ye = {
|
|
23259
23259
|
columns: {
|
|
23260
23260
|
columnVisibilityModel: Ve,
|
|
23261
23261
|
columnOrder: Le.filter(Boolean)
|
|
@@ -23263,22 +23263,13 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23263
23263
|
...dt
|
|
23264
23264
|
}, Ue = O.useCallback(
|
|
23265
23265
|
(te) => {
|
|
23266
|
-
|
|
23267
|
-
(Pe) => {
|
|
23268
|
-
var Ge, xe;
|
|
23269
|
-
return (xe = (Ge = re.current) == null ? void 0 : Ge.setColumnVisibility) == null ? void 0 : xe.call(
|
|
23270
|
-
Ge,
|
|
23271
|
-
Pe.field,
|
|
23272
|
-
!te.includes(Pe.field)
|
|
23273
|
-
);
|
|
23274
|
-
}
|
|
23275
|
-
), $((Pe) => Pe + 1);
|
|
23266
|
+
$(($e) => $e + 1);
|
|
23276
23267
|
},
|
|
23277
23268
|
[re, i]
|
|
23278
23269
|
), lt = T1({
|
|
23279
23270
|
apiRef: re,
|
|
23280
23271
|
initialState: {
|
|
23281
|
-
...
|
|
23272
|
+
...Ye,
|
|
23282
23273
|
pinnedColumns: A ? {} : { right: ["actions"] }
|
|
23283
23274
|
//filter: {
|
|
23284
23275
|
// filterModel: {
|
|
@@ -23289,10 +23280,10 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23289
23280
|
}
|
|
23290
23281
|
});
|
|
23291
23282
|
zB({ apiRef: re, ...e });
|
|
23292
|
-
const
|
|
23283
|
+
const Je = Ie.map((te) => ({
|
|
23293
23284
|
...te,
|
|
23294
23285
|
headerName: de[te.field.replace("_lis", "")] ?? te.headerName
|
|
23295
|
-
})), ct = t.length > 0 || h ?
|
|
23286
|
+
})), ct = t.length > 0 || h ? Je.concat([
|
|
23296
23287
|
{
|
|
23297
23288
|
field: "actions",
|
|
23298
23289
|
type: "actions",
|
|
@@ -23300,10 +23291,10 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23300
23291
|
hideable: !1,
|
|
23301
23292
|
renderHeader: /* @__PURE__ */ a(() => /* @__PURE__ */ v(Br, { children: r }), "renderHeader"),
|
|
23302
23293
|
getActions: /* @__PURE__ */ a((te) => {
|
|
23303
|
-
const
|
|
23294
|
+
const $e = re.current.getRowNode(te.id), et = !qf(
|
|
23304
23295
|
te.row,
|
|
23305
23296
|
s
|
|
23306
|
-
), xe = y &&
|
|
23297
|
+
), xe = y && et, Ke = t.filter((Ot) => le.length === 0 ? !0 : !le.find(
|
|
23307
23298
|
(ir) => ir === Ot.key
|
|
23308
23299
|
)).map((Ot, ir) => {
|
|
23309
23300
|
const { handler: Mn, key: zi, ...Mo } = Ot;
|
|
@@ -23345,7 +23336,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23345
23336
|
}
|
|
23346
23337
|
});
|
|
23347
23338
|
}, "handleClick");
|
|
23348
|
-
|
|
23339
|
+
Ke.unshift(
|
|
23349
23340
|
/* @__PURE__ */ v(
|
|
23350
23341
|
yp,
|
|
23351
23342
|
{
|
|
@@ -23375,7 +23366,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23375
23366
|
}
|
|
23376
23367
|
});
|
|
23377
23368
|
}, "handleClick");
|
|
23378
|
-
|
|
23369
|
+
Ke.unshift(
|
|
23379
23370
|
/* @__PURE__ */ v(
|
|
23380
23371
|
yp,
|
|
23381
23372
|
{
|
|
@@ -23402,7 +23393,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23402
23393
|
aj,
|
|
23403
23394
|
{
|
|
23404
23395
|
record: te.row,
|
|
23405
|
-
disabled:
|
|
23396
|
+
disabled: et
|
|
23406
23397
|
}
|
|
23407
23398
|
)
|
|
23408
23399
|
] : y ? [
|
|
@@ -23414,13 +23405,13 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23414
23405
|
`show-${te.row.id}`
|
|
23415
23406
|
)
|
|
23416
23407
|
] : [],
|
|
23417
|
-
...
|
|
23418
|
-
] :
|
|
23408
|
+
...Ke
|
|
23409
|
+
] : $e.children[0].indexOf(`${b}=`) !== -1 ? [
|
|
23419
23410
|
/* @__PURE__ */ v(
|
|
23420
23411
|
rj,
|
|
23421
23412
|
{
|
|
23422
23413
|
record: b ? {
|
|
23423
|
-
[b]:
|
|
23414
|
+
[b]: $e.children[0].split(
|
|
23424
23415
|
`${b}=`
|
|
23425
23416
|
)[1].replaceAll(
|
|
23426
23417
|
"'",
|
|
@@ -23436,18 +23427,18 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23436
23427
|
] : [];
|
|
23437
23428
|
}, "getActions")
|
|
23438
23429
|
}
|
|
23439
|
-
]) :
|
|
23430
|
+
]) : Je, Ae = O.useCallback(
|
|
23440
23431
|
(te) => {
|
|
23441
|
-
var
|
|
23442
|
-
return (((
|
|
23432
|
+
var et;
|
|
23433
|
+
return (((et = Ye == null ? void 0 : Ye.columns) == null ? void 0 : et.columnVisibilityModel) || {})[te] !== !1;
|
|
23443
23434
|
},
|
|
23444
|
-
[
|
|
23435
|
+
[Ye]
|
|
23445
23436
|
), ye = O.useCallback(() => {
|
|
23446
|
-
var
|
|
23447
|
-
const te = ((
|
|
23437
|
+
var $e, et;
|
|
23438
|
+
const te = ((et = ($e = re == null ? void 0 : re.current) == null ? void 0 : $e.getVisibleColumns) == null ? void 0 : et.call($e)) || [];
|
|
23448
23439
|
return te.length ? te.map((xe) => xe.field) : ct.filter((xe) => Ae(xe.field)).map((xe) => xe.field);
|
|
23449
23440
|
}, [re, ct, Ae, P]), mt = O.useMemo(() => {
|
|
23450
|
-
var xe,
|
|
23441
|
+
var xe, Ke;
|
|
23451
23442
|
const te = /* @__PURE__ */ new Set([
|
|
23452
23443
|
"__check__",
|
|
23453
23444
|
"__detail__",
|
|
@@ -23455,36 +23446,36 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23455
23446
|
"__row_group_by_columns_group__",
|
|
23456
23447
|
"actions"
|
|
23457
23448
|
]);
|
|
23458
|
-
return ye().find((Ot) => !te.has(Ot)) ?? ((xe = ct.find((Ot) => !te.has(Ot.field))) == null ? void 0 : xe.field) ?? ((
|
|
23449
|
+
return ye().find((Ot) => !te.has(Ot)) ?? ((xe = ct.find((Ot) => !te.has(Ot.field))) == null ? void 0 : xe.field) ?? ((Ke = ct[0]) == null ? void 0 : Ke.field);
|
|
23459
23450
|
}, [ct, ye, P]), Wt = O.useMemo(() => {
|
|
23460
23451
|
const te = mt;
|
|
23461
|
-
return ct.map((
|
|
23462
|
-
if (
|
|
23452
|
+
return ct.map(($e) => {
|
|
23453
|
+
if ($e.field !== te)
|
|
23463
23454
|
return {
|
|
23464
|
-
|
|
23455
|
+
...$e,
|
|
23465
23456
|
colSpan: /* @__PURE__ */ a((xe) => {
|
|
23466
|
-
var
|
|
23467
|
-
return ((
|
|
23457
|
+
var Ke;
|
|
23458
|
+
return ((Ke = xe == null ? void 0 : xe.rowNode) == null ? void 0 : Ke.type) === "group" ? 0 : void 0;
|
|
23468
23459
|
}, "colSpan")
|
|
23469
23460
|
};
|
|
23470
|
-
const
|
|
23461
|
+
const et = $e.renderCell;
|
|
23471
23462
|
return {
|
|
23472
|
-
|
|
23463
|
+
...$e,
|
|
23473
23464
|
cellClassName: /* @__PURE__ */ a((xe) => {
|
|
23474
|
-
var
|
|
23475
|
-
return ((
|
|
23465
|
+
var Ke;
|
|
23466
|
+
return ((Ke = xe == null ? void 0 : xe.rowNode) == null ? void 0 : Ke.type) === "group" ? "metiri-group-label" : void 0;
|
|
23476
23467
|
}, "cellClassName"),
|
|
23477
23468
|
colSpan: /* @__PURE__ */ a((xe) => {
|
|
23478
23469
|
var ir;
|
|
23479
23470
|
if (((ir = xe == null ? void 0 : xe.rowNode) == null ? void 0 : ir.type) !== "group") return;
|
|
23480
|
-
const
|
|
23481
|
-
return Ot === -1 ?
|
|
23471
|
+
const Ke = ye(), Ot = Ke.findIndex((Mn) => Mn === te);
|
|
23472
|
+
return Ot === -1 ? Ke.length : Ke.length - Ot;
|
|
23482
23473
|
}, "colSpan"),
|
|
23483
23474
|
renderCell: /* @__PURE__ */ a((xe) => {
|
|
23484
23475
|
var Mn, zi;
|
|
23485
23476
|
if (((Mn = xe == null ? void 0 : xe.rowNode) == null ? void 0 : Mn.type) !== "group")
|
|
23486
|
-
return
|
|
23487
|
-
const
|
|
23477
|
+
return et ? et(xe) : (xe == null ? void 0 : xe.formattedValue) ?? (xe == null ? void 0 : xe.value);
|
|
23478
|
+
const Ke = xe.rowNode.groupingField, Ot = ((zi = ct.find((Mo) => Mo.field === Ke)) == null ? void 0 : zi.headerName) ?? Ke ?? "", ir = String(xe.rowNode.groupingKey ?? "");
|
|
23488
23479
|
return /* @__PURE__ */ W("span", { className: "metiri-group-text", children: [
|
|
23489
23480
|
Ot,
|
|
23490
23481
|
": ",
|
|
@@ -23496,23 +23487,23 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23496
23487
|
}, [ct, mt, ye, P]), Ut = B && Dn(F), Tr = /* @__PURE__ */ a((te) => {
|
|
23497
23488
|
N || (B || !x ? Z(te) : re.current.isRowSelected(te[0]) ? Z([]) : Z(te));
|
|
23498
23489
|
}, "handleSelectionChange"), ge = /* @__PURE__ */ a((te) => {
|
|
23499
|
-
var
|
|
23500
|
-
const xe = (((
|
|
23490
|
+
var Ke;
|
|
23491
|
+
const xe = (((Ke = re.current.state.rowGrouping) == null ? void 0 : Ke.model) || [])[0];
|
|
23501
23492
|
q(
|
|
23502
23493
|
m({ groupingField: xe, ...te }),
|
|
23503
23494
|
H
|
|
23504
23495
|
);
|
|
23505
23496
|
}, "handleFilterChange"), ee = /* @__PURE__ */ a((te) => {
|
|
23506
23497
|
if (te.length > 0) {
|
|
23507
|
-
const { field:
|
|
23508
|
-
let
|
|
23509
|
-
J.field ===
|
|
23498
|
+
const { field: $e } = te[0];
|
|
23499
|
+
let et;
|
|
23500
|
+
J.field === $e ? et = J.order === "ASC" ? "DESC" : J.order === "DESC" ? "" : "ASC" : et = "ASC", G({ field: $e, order: et });
|
|
23510
23501
|
} else
|
|
23511
23502
|
G({ field: "", order: "" });
|
|
23512
23503
|
}, "handleSortModelChange"), pe = /* @__PURE__ */ a((te) => {
|
|
23513
|
-
var
|
|
23514
|
-
!((
|
|
23515
|
-
}, "handleRowDoubleClick"),
|
|
23504
|
+
var $e;
|
|
23505
|
+
!(($e = te == null ? void 0 : te.id) != null && $e.startsWith("auto-generated-row")) && h && qf(te.row, s) && ae(`/${R}/${te.id}`);
|
|
23506
|
+
}, "handleRowDoubleClick"), Re = !e.unstable_listView && !z ? J.field ? {
|
|
23516
23507
|
sortModel: [
|
|
23517
23508
|
{
|
|
23518
23509
|
field: J.field,
|
|
@@ -23612,7 +23603,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23612
23603
|
isRowSelectable: /* @__PURE__ */ a((te) => !te.id.startsWith("auto-generated-row"), "isRowSelectable"),
|
|
23613
23604
|
onRowDoubleClick: pe,
|
|
23614
23605
|
initialState: lt,
|
|
23615
|
-
|
|
23606
|
+
...Re,
|
|
23616
23607
|
onSortModelChange: ee,
|
|
23617
23608
|
sortingMode: "server",
|
|
23618
23609
|
getRowClassName: /* @__PURE__ */ a((te) => te.id.startsWith("auto-generated-row") ? "metiri-group-row" : "", "getRowClassName"),
|
|
@@ -23808,7 +23799,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23808
23799
|
setOpen: l,
|
|
23809
23800
|
open: u
|
|
23810
23801
|
} = e, { dirtyFields: d, isValid: p } = aM(), { fichaProps: { [e.source]: f = {} } = {} } = Tt(), h = Qa(), { onAfterRenderAsistente: g, ...m } = f, b = tn({ resource: r });
|
|
23811
|
-
return
|
|
23802
|
+
return Ge(() => {
|
|
23812
23803
|
u && typeof g == "function" && g({ ...b, form: t }, n);
|
|
23813
23804
|
}, [u]), /* @__PURE__ */ W(Br, { children: [
|
|
23814
23805
|
/* @__PURE__ */ v(_l, { children: /* @__PURE__ */ v(pm, { spacing: 4, children: hd.map(
|
|
@@ -24059,7 +24050,7 @@ const QB = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24059
24050
|
field: we
|
|
24060
24051
|
}
|
|
24061
24052
|
]);
|
|
24062
|
-
}),
|
|
24053
|
+
}), Ge(() => {
|
|
24063
24054
|
u || setTimeout(() => {
|
|
24064
24055
|
T.setValue(h, "");
|
|
24065
24056
|
}, 1e3);
|
|
@@ -25192,43 +25183,43 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25192
25183
|
right: De.right
|
|
25193
25184
|
};
|
|
25194
25185
|
}
|
|
25195
|
-
let
|
|
25186
|
+
let Re;
|
|
25196
25187
|
if (ee && A !== !1) {
|
|
25197
25188
|
const De = Ie.current.children;
|
|
25198
25189
|
if (De.length > 0) {
|
|
25199
25190
|
const gt = De[Ve.get(A)];
|
|
25200
25191
|
process.env.NODE_ENV !== "production" && (gt || console.error(["MUI: The `value` provided to the Tabs component is invalid.", `None of the Tabs' children match with "${A}".`, Ve.keys ? `You can provide one of the following values: ${Array.from(Ve.keys()).join(", ")}.` : null].join(`
|
|
25201
|
-
`))),
|
|
25192
|
+
`))), Re = gt ? gt.getBoundingClientRect() : null, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && !I0 && Re && Re.width === 0 && Re.height === 0 && // if the whole Tabs component is hidden, don't warn
|
|
25202
25193
|
pe.clientWidth !== 0 && (pe = null, console.error(["MUI: The `value` provided to the Tabs component is invalid.", `The Tab with this \`value\` ("${A}") is not part of the document layout.`, "Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
25203
25194
|
`)), I0 = !0);
|
|
25204
25195
|
}
|
|
25205
25196
|
}
|
|
25206
25197
|
return {
|
|
25207
25198
|
tabsMeta: pe,
|
|
25208
|
-
tabMeta:
|
|
25199
|
+
tabMeta: Re
|
|
25209
25200
|
};
|
|
25210
25201
|
}, "getTabsMeta"), He = br(() => {
|
|
25211
25202
|
const {
|
|
25212
25203
|
tabsMeta: ee,
|
|
25213
25204
|
tabMeta: pe
|
|
25214
25205
|
} = we();
|
|
25215
|
-
let
|
|
25206
|
+
let Re = 0, De;
|
|
25216
25207
|
if (L)
|
|
25217
|
-
De = "top", pe && ee && (
|
|
25208
|
+
De = "top", pe && ee && (Re = pe.top - ee.top + ee.scrollTop);
|
|
25218
25209
|
else if (De = i ? "right" : "left", pe && ee) {
|
|
25219
25210
|
const te = i ? ee.scrollLeftNormalized + ee.clientWidth - ee.scrollWidth : ee.scrollLeft;
|
|
25220
|
-
|
|
25211
|
+
Re = (i ? -1 : 1) * (pe[De] - ee[De] + te);
|
|
25221
25212
|
}
|
|
25222
25213
|
const gt = {
|
|
25223
|
-
[De]:
|
|
25214
|
+
[De]: Re,
|
|
25224
25215
|
// May be wrong until the font is loaded.
|
|
25225
25216
|
[K]: pe ? pe[K] : 0
|
|
25226
25217
|
};
|
|
25227
25218
|
if (isNaN(G[De]) || isNaN(G[K]))
|
|
25228
25219
|
ne(gt);
|
|
25229
25220
|
else {
|
|
25230
|
-
const te = Math.abs(G[De] - gt[De]),
|
|
25231
|
-
(te >= 1 ||
|
|
25221
|
+
const te = Math.abs(G[De] - gt[De]), $e = Math.abs(G[K] - gt[K]);
|
|
25222
|
+
(te >= 1 || $e >= 1) && ne(gt);
|
|
25232
25223
|
}
|
|
25233
25224
|
}), Ne = /* @__PURE__ */ a((ee, {
|
|
25234
25225
|
animation: pe = !0
|
|
@@ -25239,12 +25230,12 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25239
25230
|
}, "scroll"), dt = /* @__PURE__ */ a((ee) => {
|
|
25240
25231
|
let pe = Le.current[B];
|
|
25241
25232
|
L ? pe += ee : (pe += ee * (i ? -1 : 1), pe *= i && Dw() === "reverse" ? -1 : 1), Ne(pe);
|
|
25242
|
-
}, "moveTabsScroll"),
|
|
25233
|
+
}, "moveTabsScroll"), Ye = /* @__PURE__ */ a(() => {
|
|
25243
25234
|
const ee = Le.current[D];
|
|
25244
25235
|
let pe = 0;
|
|
25245
|
-
const
|
|
25246
|
-
for (let De = 0; De <
|
|
25247
|
-
const gt =
|
|
25236
|
+
const Re = Array.from(Ie.current.children);
|
|
25237
|
+
for (let De = 0; De < Re.length; De += 1) {
|
|
25238
|
+
const gt = Re[De];
|
|
25248
25239
|
if (pe + gt[D] > ee) {
|
|
25249
25240
|
De === 0 && (pe = ee);
|
|
25250
25241
|
break;
|
|
@@ -25253,10 +25244,10 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25253
25244
|
}
|
|
25254
25245
|
return pe;
|
|
25255
25246
|
}, "getScrollSize"), Ue = /* @__PURE__ */ a(() => {
|
|
25256
|
-
dt(-1 *
|
|
25247
|
+
dt(-1 * Ye());
|
|
25257
25248
|
}, "handleStartScrollClick"), lt = /* @__PURE__ */ a(() => {
|
|
25258
|
-
dt(
|
|
25259
|
-
}, "handleEndScrollClick"),
|
|
25249
|
+
dt(Ye());
|
|
25250
|
+
}, "handleEndScrollClick"), Je = O.useCallback((ee) => {
|
|
25260
25251
|
be({
|
|
25261
25252
|
overflow: null,
|
|
25262
25253
|
scrollbarWidth: ee
|
|
@@ -25264,11 +25255,11 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25264
25255
|
}, []), ct = /* @__PURE__ */ a(() => {
|
|
25265
25256
|
const ee = {};
|
|
25266
25257
|
ee.scrollbarSizeListener = F ? /* @__PURE__ */ v(Yj, {
|
|
25267
|
-
onChange:
|
|
25258
|
+
onChange: Je,
|
|
25268
25259
|
className: oe(V.scrollableX, V.hideScrollbar)
|
|
25269
25260
|
}) : null;
|
|
25270
|
-
const
|
|
25271
|
-
return ee.scrollButtonStart =
|
|
25261
|
+
const Re = F && (E === "auto" && (X || re) || E === !0);
|
|
25262
|
+
return ee.scrollButtonStart = Re ? /* @__PURE__ */ v(x, k({
|
|
25272
25263
|
slots: {
|
|
25273
25264
|
StartScrollButtonIcon: C.StartScrollButtonIcon
|
|
25274
25265
|
},
|
|
@@ -25281,7 +25272,7 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25281
25272
|
disabled: !X
|
|
25282
25273
|
}, P, {
|
|
25283
25274
|
className: oe(V.scrollButtons, P.className)
|
|
25284
|
-
})) : null, ee.scrollButtonEnd =
|
|
25275
|
+
})) : null, ee.scrollButtonEnd = Re ? /* @__PURE__ */ v(x, k({
|
|
25285
25276
|
slots: {
|
|
25286
25277
|
EndScrollButtonIcon: C.EndScrollButtonIcon
|
|
25287
25278
|
},
|
|
@@ -25298,16 +25289,16 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25298
25289
|
}, "getConditionalElements"), Ae = br((ee) => {
|
|
25299
25290
|
const {
|
|
25300
25291
|
tabsMeta: pe,
|
|
25301
|
-
tabMeta:
|
|
25292
|
+
tabMeta: Re
|
|
25302
25293
|
} = we();
|
|
25303
|
-
if (!(
|
|
25304
|
-
if (
|
|
25305
|
-
const De = pe[B] + (
|
|
25294
|
+
if (!(!Re || !pe)) {
|
|
25295
|
+
if (Re[z] < pe[z]) {
|
|
25296
|
+
const De = pe[B] + (Re[z] - pe[z]);
|
|
25306
25297
|
Ne(De, {
|
|
25307
25298
|
animation: ee
|
|
25308
25299
|
});
|
|
25309
|
-
} else if (
|
|
25310
|
-
const De = pe[B] + (
|
|
25300
|
+
} else if (Re[j] > pe[j]) {
|
|
25301
|
+
const De = pe[B] + (Re[j] - pe[j]);
|
|
25311
25302
|
Ne(De, {
|
|
25312
25303
|
animation: ee
|
|
25313
25304
|
});
|
|
@@ -25321,14 +25312,14 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25321
25312
|
Le.current && He();
|
|
25322
25313
|
});
|
|
25323
25314
|
let pe;
|
|
25324
|
-
const
|
|
25325
|
-
te.forEach((
|
|
25326
|
-
|
|
25315
|
+
const Re = /* @__PURE__ */ a((te) => {
|
|
25316
|
+
te.forEach(($e) => {
|
|
25317
|
+
$e.removedNodes.forEach((et) => {
|
|
25327
25318
|
var xe;
|
|
25328
|
-
(xe = pe) == null || xe.unobserve(
|
|
25329
|
-
}),
|
|
25319
|
+
(xe = pe) == null || xe.unobserve(et);
|
|
25320
|
+
}), $e.addedNodes.forEach((et) => {
|
|
25330
25321
|
var xe;
|
|
25331
|
-
(xe = pe) == null || xe.observe(
|
|
25322
|
+
(xe = pe) == null || xe.observe(et);
|
|
25332
25323
|
});
|
|
25333
25324
|
}), ee(), ye();
|
|
25334
25325
|
}, "handleMutation"), De = Yr(Le.current);
|
|
@@ -25336,27 +25327,27 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25336
25327
|
let gt;
|
|
25337
25328
|
return typeof ResizeObserver < "u" && (pe = new ResizeObserver(ee), Array.from(Ie.current.children).forEach((te) => {
|
|
25338
25329
|
pe.observe(te);
|
|
25339
|
-
})), typeof MutationObserver < "u" && (gt = new MutationObserver(
|
|
25330
|
+
})), typeof MutationObserver < "u" && (gt = new MutationObserver(Re), gt.observe(Ie.current, {
|
|
25340
25331
|
childList: !0
|
|
25341
25332
|
})), () => {
|
|
25342
|
-
var te,
|
|
25343
|
-
ee.clear(), De.removeEventListener("resize", ee), (te = gt) == null || te.disconnect(), (
|
|
25333
|
+
var te, $e;
|
|
25334
|
+
ee.clear(), De.removeEventListener("resize", ee), (te = gt) == null || te.disconnect(), ($e = pe) == null || $e.disconnect();
|
|
25344
25335
|
};
|
|
25345
25336
|
}, [He, ye]), O.useEffect(() => {
|
|
25346
25337
|
const ee = Array.from(Ie.current.children), pe = ee.length;
|
|
25347
25338
|
if (typeof IntersectionObserver < "u" && pe > 0 && F && E !== !1) {
|
|
25348
|
-
const
|
|
25339
|
+
const Re = ee[0], De = ee[pe - 1], gt = {
|
|
25349
25340
|
root: Le.current,
|
|
25350
25341
|
threshold: 0.99
|
|
25351
|
-
}, te = /* @__PURE__ */ a((
|
|
25352
|
-
ae(!
|
|
25353
|
-
}, "handleScrollButtonStart"),
|
|
25354
|
-
|
|
25355
|
-
const
|
|
25356
|
-
le(!
|
|
25357
|
-
}, "handleScrollButtonEnd"), xe = new IntersectionObserver(
|
|
25342
|
+
}, te = /* @__PURE__ */ a((Ke) => {
|
|
25343
|
+
ae(!Ke[0].isIntersecting);
|
|
25344
|
+
}, "handleScrollButtonStart"), $e = new IntersectionObserver(te, gt);
|
|
25345
|
+
$e.observe(Re);
|
|
25346
|
+
const et = /* @__PURE__ */ a((Ke) => {
|
|
25347
|
+
le(!Ke[0].isIntersecting);
|
|
25348
|
+
}, "handleScrollButtonEnd"), xe = new IntersectionObserver(et, gt);
|
|
25358
25349
|
return xe.observe(De), () => {
|
|
25359
|
-
|
|
25350
|
+
$e.disconnect(), xe.disconnect();
|
|
25360
25351
|
};
|
|
25361
25352
|
}
|
|
25362
25353
|
}, [F, E, _, p == null ? void 0 : p.length]), O.useEffect(() => {
|
|
@@ -25382,11 +25373,11 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25382
25373
|
`));
|
|
25383
25374
|
const pe = ee.props.value === void 0 ? Wt : ee.props.value;
|
|
25384
25375
|
Ve.set(pe, Wt);
|
|
25385
|
-
const
|
|
25376
|
+
const Re = pe === A;
|
|
25386
25377
|
return Wt += 1, /* @__PURE__ */ O.cloneElement(ee, k({
|
|
25387
25378
|
fullWidth: I === "fullWidth",
|
|
25388
|
-
indicator:
|
|
25389
|
-
selected:
|
|
25379
|
+
indicator: Re && !q && mt,
|
|
25380
|
+
selected: Re,
|
|
25390
25381
|
selectionFollowsFocus: T,
|
|
25391
25382
|
onChange: b,
|
|
25392
25383
|
textColor: $,
|
|
@@ -25395,16 +25386,16 @@ const GC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25395
25386
|
tabIndex: 0
|
|
25396
25387
|
} : {}));
|
|
25397
25388
|
}), Tr = /* @__PURE__ */ a((ee) => {
|
|
25398
|
-
const pe = Ie.current,
|
|
25399
|
-
if (
|
|
25389
|
+
const pe = Ie.current, Re = Lr(pe).activeElement;
|
|
25390
|
+
if (Re.getAttribute("role") !== "tab")
|
|
25400
25391
|
return;
|
|
25401
25392
|
let gt = y === "horizontal" ? "ArrowLeft" : "ArrowUp", te = y === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
25402
25393
|
switch (y === "horizontal" && i && (gt = "ArrowRight", te = "ArrowLeft"), ee.key) {
|
|
25403
25394
|
case gt:
|
|
25404
|
-
ee.preventDefault(), tc(pe,
|
|
25395
|
+
ee.preventDefault(), tc(pe, Re, A0);
|
|
25405
25396
|
break;
|
|
25406
25397
|
case te:
|
|
25407
|
-
ee.preventDefault(), tc(pe,
|
|
25398
|
+
ee.preventDefault(), tc(pe, Re, $0);
|
|
25408
25399
|
break;
|
|
25409
25400
|
case "Home":
|
|
25410
25401
|
ee.preventDefault(), tc(pe, null, $0);
|
|
@@ -25638,7 +25629,7 @@ var Ag = {}, Xj = ke;
|
|
|
25638
25629
|
Object.defineProperty(Ag, "__esModule", {
|
|
25639
25630
|
value: !0
|
|
25640
25631
|
});
|
|
25641
|
-
var KC = Ag.default = void 0, Zj = Xj(
|
|
25632
|
+
var KC = Ag.default = void 0, Zj = Xj(Me()), e5 = Pe;
|
|
25642
25633
|
KC = Ag.default = (0, Zj.default)(/* @__PURE__ */ (0, e5.jsx)("path", {
|
|
25643
25634
|
d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
25644
25635
|
}), "Close");
|
|
@@ -25788,14 +25779,14 @@ var Fg = {}, i5 = ke;
|
|
|
25788
25779
|
Object.defineProperty(Fg, "__esModule", {
|
|
25789
25780
|
value: !0
|
|
25790
25781
|
});
|
|
25791
|
-
var eT = Fg.default = void 0, a5 = i5(
|
|
25782
|
+
var eT = Fg.default = void 0, a5 = i5(Me()), s5 = Pe;
|
|
25792
25783
|
eT = Fg.default = (0, a5.default)(/* @__PURE__ */ (0, s5.jsx)("path", {
|
|
25793
25784
|
d: "M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"
|
|
25794
25785
|
}), "OpenInNew");
|
|
25795
25786
|
const tT = /* @__PURE__ */ a((e) => {
|
|
25796
|
-
const t = $t(), [r, n] = Be(!1), o =
|
|
25787
|
+
const t = $t(), [r, n] = Be(!1), o = Ze(() => {
|
|
25797
25788
|
n(!0);
|
|
25798
|
-
}, []), i =
|
|
25789
|
+
}, []), i = Ze(() => {
|
|
25799
25790
|
n(!1);
|
|
25800
25791
|
}, []), s = Wr(
|
|
25801
25792
|
() => ({
|
|
@@ -25810,7 +25801,7 @@ const tT = /* @__PURE__ */ a((e) => {
|
|
|
25810
25801
|
inline: d,
|
|
25811
25802
|
dialog: p,
|
|
25812
25803
|
ButtonProps: f
|
|
25813
|
-
} = e, h =
|
|
25804
|
+
} = e, h = Ze(
|
|
25814
25805
|
(b) => {
|
|
25815
25806
|
o(), b.stopPropagation();
|
|
25816
25807
|
},
|
|
@@ -25867,7 +25858,7 @@ const tT = /* @__PURE__ */ a((e) => {
|
|
|
25867
25858
|
}),
|
|
25868
25859
|
[g, m, o, i, f]
|
|
25869
25860
|
);
|
|
25870
|
-
return
|
|
25861
|
+
return Ge(() => {
|
|
25871
25862
|
r ? m || d.getFichaConfig(p, { estado: "N" }).then((E) => {
|
|
25872
25863
|
l(E.data);
|
|
25873
25864
|
}).catch((E) => {
|
|
@@ -26012,7 +26003,7 @@ const tT = /* @__PURE__ */ a((e) => {
|
|
|
26012
26003
|
} = e, u = ht(QS), d = r === "ventana" ? m5 : c1, { pathname: p, state: f } = vo(), h = Ba(), [g, m] = Be(null), [b, y] = Be(i), x = /* @__PURE__ */ a((C) => {
|
|
26013
26004
|
y(C.target.checked);
|
|
26014
26005
|
}, "handleChange");
|
|
26015
|
-
if (
|
|
26006
|
+
if (Ge(() => {
|
|
26016
26007
|
h.getGrillaConfig(t, f).then((C) => {
|
|
26017
26008
|
m(C.data);
|
|
26018
26009
|
}).catch((C) => {
|
|
@@ -27020,7 +27011,7 @@ function bV(e) {
|
|
|
27020
27011
|
w[C] = Ve, R[C] = Ve - j;
|
|
27021
27012
|
}
|
|
27022
27013
|
if (l) {
|
|
27023
|
-
var Le, Ie = C === "x" ? sr : lr, we = C === "x" ? Vr : Hr, He = w[S], Ne = S === "y" ? "height" : "width", dt = He + y[Ie],
|
|
27014
|
+
var Le, Ie = C === "x" ? sr : lr, we = C === "x" ? Vr : Hr, He = w[S], Ne = S === "y" ? "height" : "width", dt = He + y[Ie], Ye = He - y[we], Ue = [sr, lr].indexOf(x) !== -1, lt = (Le = M == null ? void 0 : M[S]) != null ? Le : 0, Je = Ue ? dt : He - P[Ne] - $[Ne] - lt + I.altAxis, ct = Ue ? He + P[Ne] + $[Ne] - lt - I.altAxis : Ye, Ae = g && Ue ? j5(Je, He, ct) : ks(g ? Je : dt, He, g ? ct : Ye);
|
|
27024
27015
|
w[S] = Ae, R[S] = Ae - He;
|
|
27025
27016
|
}
|
|
27026
27017
|
t.modifiersData[n] = R;
|
|
@@ -27945,7 +27936,7 @@ const Xd = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27945
27936
|
TransitionProps: de
|
|
27946
27937
|
} = w, Y = ie(w, jV), be = /* @__PURE__ */ O.isValidElement($) ? $ : /* @__PURE__ */ v("span", {
|
|
27947
27938
|
children: $
|
|
27948
|
-
}), Ve = kn(), Le = Il(), [Ie, we] = O.useState(), [He, Ne] = O.useState(null), dt = O.useRef(!1),
|
|
27939
|
+
}), Ve = kn(), Le = Il(), [Ie, we] = O.useState(), [He, Ne] = O.useState(null), dt = O.useRef(!1), Ye = L || K, Ue = Xi(), lt = Xi(), Je = Xi(), ct = Xi(), [Ae, ye] = el({
|
|
27949
27940
|
controlled: J,
|
|
27950
27941
|
default: !1,
|
|
27951
27942
|
name: "Tooltip",
|
|
@@ -27979,32 +27970,32 @@ const Xd = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
27979
27970
|
});
|
|
27980
27971
|
}
|
|
27981
27972
|
), pe = /* @__PURE__ */ a((je) => {
|
|
27982
|
-
dt.current && je.type !== "touchstart" || (Ie && Ie.removeAttribute("title"), lt.clear(),
|
|
27973
|
+
dt.current && je.type !== "touchstart" || (Ie && Ie.removeAttribute("title"), lt.clear(), Je.clear(), z || nc && j ? lt.start(nc ? j : z, () => {
|
|
27983
27974
|
ge(je);
|
|
27984
27975
|
}) : ge(je));
|
|
27985
|
-
}, "handleMouseOver"),
|
|
27986
|
-
lt.clear(),
|
|
27976
|
+
}, "handleMouseOver"), Re = /* @__PURE__ */ a((je) => {
|
|
27977
|
+
lt.clear(), Je.start(V, () => {
|
|
27987
27978
|
ee(je);
|
|
27988
27979
|
});
|
|
27989
27980
|
}, "handleMouseLeave"), {
|
|
27990
27981
|
isFocusVisibleRef: De,
|
|
27991
27982
|
onBlur: gt,
|
|
27992
27983
|
onFocus: te,
|
|
27993
|
-
ref:
|
|
27994
|
-
} = Id(), [,
|
|
27995
|
-
gt(je), De.current === !1 && (
|
|
27996
|
-
}, "handleBlur"),
|
|
27997
|
-
Ie || we(je.currentTarget), te(je), De.current === !0 && (
|
|
27984
|
+
ref: $e
|
|
27985
|
+
} = Id(), [, et] = O.useState(!1), xe = /* @__PURE__ */ a((je) => {
|
|
27986
|
+
gt(je), De.current === !1 && (et(!1), Re(je));
|
|
27987
|
+
}, "handleBlur"), Ke = /* @__PURE__ */ a((je) => {
|
|
27988
|
+
Ie || we(je.currentTarget), te(je), De.current === !0 && (et(!0), pe(je));
|
|
27998
27989
|
}, "handleFocus"), Ot = /* @__PURE__ */ a((je) => {
|
|
27999
27990
|
dt.current = !0;
|
|
28000
27991
|
const hr = be.props;
|
|
28001
27992
|
hr.onTouchStart && hr.onTouchStart(je);
|
|
28002
27993
|
}, "detectTouchStart"), ir = /* @__PURE__ */ a((je) => {
|
|
28003
|
-
Ot(je),
|
|
27994
|
+
Ot(je), Je.clear(), Ue.clear(), Tr(), Ut.current = document.body.style.WebkitUserSelect, document.body.style.WebkitUserSelect = "none", ct.start(D, () => {
|
|
28004
27995
|
document.body.style.WebkitUserSelect = Ut.current, pe(je);
|
|
28005
27996
|
});
|
|
28006
27997
|
}, "handleTouchStart"), Mn = /* @__PURE__ */ a((je) => {
|
|
28007
|
-
be.props.onTouchEnd && be.props.onTouchEnd(je), Tr(),
|
|
27998
|
+
be.props.onTouchEnd && be.props.onTouchEnd(je), Tr(), Je.start(Z, () => {
|
|
28008
27999
|
ee(je);
|
|
28009
28000
|
});
|
|
28010
28001
|
}, "handleTouchEnd");
|
|
@@ -28018,7 +28009,7 @@ const Xd = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28018
28009
|
document.removeEventListener("keydown", je);
|
|
28019
28010
|
};
|
|
28020
28011
|
}, [ee, mt]);
|
|
28021
|
-
const zi = Mt(be.ref,
|
|
28012
|
+
const zi = Mt(be.ref, $e, we, r);
|
|
28022
28013
|
!le && le !== 0 && (mt = !1);
|
|
28023
28014
|
const Mo = O.useRef(), ev = /* @__PURE__ */ a((je) => {
|
|
28024
28015
|
const hr = be.props;
|
|
@@ -28040,7 +28031,7 @@ const Xd = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28040
28031
|
`));
|
|
28041
28032
|
}, [Ie]));
|
|
28042
28033
|
const is = {};
|
|
28043
|
-
B || (Er.onTouchStart = ir, Er.onTouchEnd = Mn), F || (Er.onMouseOver = oc(pe, Er.onMouseOver), Er.onMouseLeave = oc(
|
|
28034
|
+
B || (Er.onTouchStart = ir, Er.onTouchEnd = Mn), F || (Er.onMouseOver = oc(pe, Er.onMouseOver), Er.onMouseLeave = oc(Re, Er.onMouseLeave), Ye || (is.onMouseOver = pe, is.onMouseLeave = Re)), R || (Er.onFocus = oc(Ke, Er.onFocus), Er.onBlur = oc(xe, Er.onBlur), Ye || (is.onFocus = Ke, is.onBlur = xe)), process.env.NODE_ENV !== "production" && be.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${be.props.title}\` or the Tooltip component.`].join(`
|
|
28044
28035
|
`));
|
|
28045
28036
|
const Tw = O.useMemo(() => {
|
|
28046
28037
|
var je;
|
|
@@ -28058,7 +28049,7 @@ const Xd = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28058
28049
|
}, [He, X]), as = k({}, w, {
|
|
28059
28050
|
isRtl: Le,
|
|
28060
28051
|
arrow: P,
|
|
28061
|
-
disableInteractive:
|
|
28052
|
+
disableInteractive: Ye,
|
|
28062
28053
|
placement: G,
|
|
28063
28054
|
PopperComponentProp: ne,
|
|
28064
28055
|
touch: dt.current
|
|
@@ -28348,7 +28339,7 @@ const GV = /* @__PURE__ */ a(({
|
|
|
28348
28339
|
}),
|
|
28349
28340
|
[p, f, n, r, h]
|
|
28350
28341
|
);
|
|
28351
|
-
return
|
|
28342
|
+
return Ge(() => {
|
|
28352
28343
|
f || u.getFichaConfig(d, { estado: "M" }).then((b) => {
|
|
28353
28344
|
s(b.data);
|
|
28354
28345
|
}).catch((b) => {
|
|
@@ -28438,9 +28429,9 @@ const GV = /* @__PURE__ */ a(({
|
|
|
28438
28429
|
);
|
|
28439
28430
|
}), hT = /* @__PURE__ */ a((e) => {
|
|
28440
28431
|
const t = ut(e), { estado: r, isLoading: n, initialValues: o, fichaProps: i } = Tt(), s = tn({ resource: t });
|
|
28441
|
-
return
|
|
28432
|
+
return Ge(() => {
|
|
28442
28433
|
i.onRenderFicha && i.onRenderFicha(s, r);
|
|
28443
|
-
}, []),
|
|
28434
|
+
}, []), Ge(() => {
|
|
28444
28435
|
n || i.onLoadFicha && i.onLoadFicha(s, r, o);
|
|
28445
28436
|
}, [n]), n ? /* @__PURE__ */ v(
|
|
28446
28437
|
Ii,
|
|
@@ -28533,7 +28524,7 @@ var Hg = {}, ZV = ke;
|
|
|
28533
28524
|
Object.defineProperty(Hg, "__esModule", {
|
|
28534
28525
|
value: !0
|
|
28535
28526
|
});
|
|
28536
|
-
var Jc = Hg.default = void 0, e3 = ZV(
|
|
28527
|
+
var Jc = Hg.default = void 0, e3 = ZV(Me()), t3 = Pe;
|
|
28537
28528
|
Jc = Hg.default = (0, e3.default)(/* @__PURE__ */ (0, t3.jsx)("path", {
|
|
28538
28529
|
d: "M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"
|
|
28539
28530
|
}), "Settings");
|
|
@@ -28644,7 +28635,7 @@ var Wg = {}, o3 = ke;
|
|
|
28644
28635
|
Object.defineProperty(Wg, "__esModule", {
|
|
28645
28636
|
value: !0
|
|
28646
28637
|
});
|
|
28647
|
-
var bT = Wg.default = void 0, i3 = o3(
|
|
28638
|
+
var bT = Wg.default = void 0, i3 = o3(Me()), a3 = Pe;
|
|
28648
28639
|
bT = Wg.default = (0, i3.default)(/* @__PURE__ */ (0, a3.jsx)("path", {
|
|
28649
28640
|
d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"
|
|
28650
28641
|
}), "Refresh");
|
|
@@ -28654,7 +28645,7 @@ const s3 = /* @__PURE__ */ a((e) => {
|
|
|
28654
28645
|
icon: r = l3,
|
|
28655
28646
|
onClick: n,
|
|
28656
28647
|
...o
|
|
28657
|
-
} = e, i = fC(e), s =
|
|
28648
|
+
} = e, i = fC(e), s = Ze(
|
|
28658
28649
|
(l) => {
|
|
28659
28650
|
l.preventDefault(), i(), typeof n == "function" && n(l);
|
|
28660
28651
|
},
|
|
@@ -30053,7 +30044,7 @@ const H3 = /* @__PURE__ */ a((e) => {
|
|
|
30053
30044
|
};
|
|
30054
30045
|
const Ve = j();
|
|
30055
30046
|
let Le = Ve.top - be.vertical, Ie = Ve.left - be.horizontal;
|
|
30056
|
-
const we = Le + Y.height, He = Ie + Y.width, Ne = Yr(wc(u)), dt = Ne.innerHeight - y,
|
|
30047
|
+
const we = Le + Y.height, He = Ie + Y.width, Ne = Yr(wc(u)), dt = Ne.innerHeight - y, Ye = Ne.innerWidth - y;
|
|
30057
30048
|
if (y !== null && Le < y) {
|
|
30058
30049
|
const Ue = Le - y;
|
|
30059
30050
|
Le -= Ue, be.vertical += Ue;
|
|
@@ -30065,8 +30056,8 @@ const H3 = /* @__PURE__ */ a((e) => {
|
|
|
30065
30056
|
`)), y !== null && Ie < y) {
|
|
30066
30057
|
const Ue = Ie - y;
|
|
30067
30058
|
Ie -= Ue, be.horizontal += Ue;
|
|
30068
|
-
} else if (He >
|
|
30069
|
-
const Ue = He -
|
|
30059
|
+
} else if (He > Ye) {
|
|
30060
|
+
const Ue = He - Ye;
|
|
30070
30061
|
Ie -= Ue, be.horizontal += Ue;
|
|
30071
30062
|
}
|
|
30072
30063
|
return {
|
|
@@ -30867,7 +30858,7 @@ const Eee = /* @__PURE__ */ a((e) => {
|
|
|
30867
30858
|
}),
|
|
30868
30859
|
[d, p, r, f]
|
|
30869
30860
|
);
|
|
30870
|
-
return
|
|
30861
|
+
return Ge(() => {
|
|
30871
30862
|
p || l.getFichaConfig(u, { estado: "M" }).then((m) => {
|
|
30872
30863
|
i(m.data);
|
|
30873
30864
|
}).catch((m) => {
|
|
@@ -31107,7 +31098,7 @@ const m4 = /* @__PURE__ */ a(({
|
|
|
31107
31098
|
incluyeAcciones: o = !1,
|
|
31108
31099
|
saveButtonProps: i,
|
|
31109
31100
|
...s
|
|
31110
|
-
} = e, [l, u] = Be(!1), d = tn(s), p = Un(), { trigger: f } = or(), { hidden: h } = pC(), g =
|
|
31101
|
+
} = e, [l, u] = Be(!1), d = tn(s), p = Un(), { trigger: f } = or(), { hidden: h } = pC(), g = Ze(
|
|
31111
31102
|
async (m, b, y) => {
|
|
31112
31103
|
typeof t == "function" ? await f() ? (u(!0), t(d, b, y, m).finally(() => {
|
|
31113
31104
|
u(!1);
|
|
@@ -31230,7 +31221,7 @@ var Kg = {}, y4 = ke;
|
|
|
31230
31221
|
Object.defineProperty(Kg, "__esModule", {
|
|
31231
31222
|
value: !0
|
|
31232
31223
|
});
|
|
31233
|
-
var MT = Kg.default = void 0, v4 = y4(
|
|
31224
|
+
var MT = Kg.default = void 0, v4 = y4(Me()), x4 = Pe;
|
|
31234
31225
|
MT = Kg.default = (0, v4.default)(/* @__PURE__ */ (0, x4.jsx)("path", {
|
|
31235
31226
|
d: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
31236
31227
|
}), "Visibility");
|
|
@@ -31238,7 +31229,7 @@ var Jg = {}, O4 = ke;
|
|
|
31238
31229
|
Object.defineProperty(Jg, "__esModule", {
|
|
31239
31230
|
value: !0
|
|
31240
31231
|
});
|
|
31241
|
-
var RT = Jg.default = void 0, S4 = O4(
|
|
31232
|
+
var RT = Jg.default = void 0, S4 = O4(Me()), C4 = Pe;
|
|
31242
31233
|
RT = Jg.default = (0, S4.default)(/* @__PURE__ */ (0, C4.jsx)("path", {
|
|
31243
31234
|
d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M17 13l-5 5-5-5h3V9h4v4z"
|
|
31244
31235
|
}), "CloudDownload");
|
|
@@ -31428,7 +31419,7 @@ var Yg = {}, $4 = ke;
|
|
|
31428
31419
|
Object.defineProperty(Yg, "__esModule", {
|
|
31429
31420
|
value: !0
|
|
31430
31421
|
});
|
|
31431
|
-
var AT = Yg.default = void 0, A4 = $4(
|
|
31422
|
+
var AT = Yg.default = void 0, A4 = $4(Me()), Y0 = Pe;
|
|
31432
31423
|
AT = Yg.default = (0, A4.default)([/* @__PURE__ */ (0, Y0.jsx)("circle", {
|
|
31433
31424
|
cx: "12",
|
|
31434
31425
|
cy: "12",
|
|
@@ -31440,13 +31431,13 @@ var Qg = {}, F4 = ke;
|
|
|
31440
31431
|
Object.defineProperty(Qg, "__esModule", {
|
|
31441
31432
|
value: !0
|
|
31442
31433
|
});
|
|
31443
|
-
var FT = Qg.default = void 0, I4 = F4(
|
|
31434
|
+
var FT = Qg.default = void 0, I4 = F4(Me()), L4 = Pe;
|
|
31444
31435
|
FT = Qg.default = (0, I4.default)(/* @__PURE__ */ (0, L4.jsx)("path", {
|
|
31445
31436
|
d: "M3 4V1h2v3h3v2H5v3H3V6H0V4zm3 6V7h3V4h7l1.83 2H21c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V10zm7 9c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5m-3.2-5c0 1.77 1.43 3.2 3.2 3.2s3.2-1.43 3.2-3.2-1.43-3.2-3.2-3.2-3.2 1.43-3.2 3.2"
|
|
31446
31437
|
}), "AddAPhoto");
|
|
31447
31438
|
const Q0 = /* @__PURE__ */ a((e) => {
|
|
31448
31439
|
const [t, r] = Be(!1), [n, o] = Be(!1), i = or(), s = Un(), l = $t(), { field: u, sx: d } = e;
|
|
31449
|
-
return
|
|
31440
|
+
return Ge(() => {
|
|
31450
31441
|
t && (/* @__PURE__ */ a(async () => {
|
|
31451
31442
|
let f = null;
|
|
31452
31443
|
try {
|
|
@@ -31566,7 +31557,7 @@ const Q0 = /* @__PURE__ */ a((e) => {
|
|
|
31566
31557
|
if (!b)
|
|
31567
31558
|
return null;
|
|
31568
31559
|
const E = b.getValues()[f.source], T = y ?? "#";
|
|
31569
|
-
return
|
|
31560
|
+
return Ge(() => {
|
|
31570
31561
|
u && E && (E != null && E.src ? x(E.src) : u(E).then((C) => {
|
|
31571
31562
|
x(C);
|
|
31572
31563
|
}));
|
|
@@ -31680,7 +31671,7 @@ const Q0 = /* @__PURE__ */ a((e) => {
|
|
|
31680
31671
|
allChoices: l,
|
|
31681
31672
|
availableChoices: u
|
|
31682
31673
|
} = g1(), d = $i(null);
|
|
31683
|
-
return
|
|
31674
|
+
return Ge(() => {
|
|
31684
31675
|
s || typeof t == "function" && t(Object.values([l]));
|
|
31685
31676
|
}, [l, t, s]), /* @__PURE__ */ v(N4, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
|
|
31686
31677
|
st,
|
|
@@ -31729,7 +31720,7 @@ const Q0 = /* @__PURE__ */ a((e) => {
|
|
|
31729
31720
|
const { callback: x, ...E } = m;
|
|
31730
31721
|
b = x, y = E;
|
|
31731
31722
|
}
|
|
31732
|
-
return
|
|
31723
|
+
return Ge(() => {
|
|
31733
31724
|
h !== null && (g.current = h, n(jL(p)));
|
|
31734
31725
|
}, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(xn, { children: [
|
|
31735
31726
|
/* @__PURE__ */ v(
|
|
@@ -33013,7 +33004,7 @@ var Xg = {}, hH = ke;
|
|
|
33013
33004
|
Object.defineProperty(Xg, "__esModule", {
|
|
33014
33005
|
value: !0
|
|
33015
33006
|
});
|
|
33016
|
-
var Zg = Xg.default = void 0, mH = hH(
|
|
33007
|
+
var Zg = Xg.default = void 0, mH = hH(Me()), gH = Pe;
|
|
33017
33008
|
Zg = Xg.default = (0, mH.default)(/* @__PURE__ */ (0, gH.jsx)("path", {
|
|
33018
33009
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
33019
33010
|
}), "Check");
|
|
@@ -33021,7 +33012,7 @@ var eb = {}, bH = ke;
|
|
|
33021
33012
|
Object.defineProperty(eb, "__esModule", {
|
|
33022
33013
|
value: !0
|
|
33023
33014
|
});
|
|
33024
|
-
var tb = eb.default = void 0, yH = bH(
|
|
33015
|
+
var tb = eb.default = void 0, yH = bH(Me()), vH = Pe;
|
|
33025
33016
|
tb = eb.default = (0, yH.default)(/* @__PURE__ */ (0, vH.jsx)("path", {
|
|
33026
33017
|
d: "M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
33027
33018
|
}), "RemoveCircleOutline");
|
|
@@ -33029,7 +33020,7 @@ var rb = {}, xH = ke;
|
|
|
33029
33020
|
Object.defineProperty(rb, "__esModule", {
|
|
33030
33021
|
value: !0
|
|
33031
33022
|
});
|
|
33032
|
-
var nb = rb.default = void 0, OH = xH(
|
|
33023
|
+
var nb = rb.default = void 0, OH = xH(Me()), SH = Pe;
|
|
33033
33024
|
nb = rb.default = (0, OH.default)(/* @__PURE__ */ (0, SH.jsx)("path", {
|
|
33034
33025
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
33035
33026
|
}), "Search");
|
|
@@ -33037,7 +33028,7 @@ var ob = {}, CH = ke;
|
|
|
33037
33028
|
Object.defineProperty(ob, "__esModule", {
|
|
33038
33029
|
value: !0
|
|
33039
33030
|
});
|
|
33040
|
-
var ib = ob.default = void 0, TH = CH(
|
|
33031
|
+
var ib = ob.default = void 0, TH = CH(Me()), EH = Pe;
|
|
33041
33032
|
ib = ob.default = (0, TH.default)(/* @__PURE__ */ (0, EH.jsx)("path", {
|
|
33042
33033
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
33043
33034
|
}), "CheckCircle");
|
|
@@ -33045,7 +33036,7 @@ var ab = {}, kH = ke;
|
|
|
33045
33036
|
Object.defineProperty(ab, "__esModule", {
|
|
33046
33037
|
value: !0
|
|
33047
33038
|
});
|
|
33048
|
-
var sb = ab.default = void 0, wH = kH(
|
|
33039
|
+
var sb = ab.default = void 0, wH = kH(Me()), PH = Pe;
|
|
33049
33040
|
sb = ab.default = (0, wH.default)(/* @__PURE__ */ (0, PH.jsx)("path", {
|
|
33050
33041
|
d: "M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"
|
|
33051
33042
|
}), "ErrorOutline");
|
|
@@ -33070,12 +33061,12 @@ const MH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33070
33061
|
onConfirm: d,
|
|
33071
33062
|
contentResource: p,
|
|
33072
33063
|
translateOptions: f = {}
|
|
33073
|
-
} = e, h = $t(), [g] = y1({ resource: p }), m =
|
|
33064
|
+
} = e, h = $t(), [g] = y1({ resource: p }), m = Ze(
|
|
33074
33065
|
(y, x) => {
|
|
33075
33066
|
y.stopPropagation(), d(y, g);
|
|
33076
33067
|
},
|
|
33077
33068
|
[g, d]
|
|
33078
|
-
), b =
|
|
33069
|
+
), b = Ze((y) => {
|
|
33079
33070
|
y.stopPropagation();
|
|
33080
33071
|
}, []);
|
|
33081
33072
|
return /* @__PURE__ */ W(
|
|
@@ -33129,12 +33120,12 @@ const MH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33129
33120
|
...h
|
|
33130
33121
|
}
|
|
33131
33122
|
} = fr(e), g = or();
|
|
33132
|
-
|
|
33123
|
+
Ge(() => {
|
|
33133
33124
|
n.current || (setTimeout(() => {
|
|
33134
33125
|
g.setValue(f, FH);
|
|
33135
33126
|
}, 0), n.current = !0);
|
|
33136
33127
|
}, [g, f]);
|
|
33137
|
-
const m =
|
|
33128
|
+
const m = Ze(() => {
|
|
33138
33129
|
r(!1);
|
|
33139
33130
|
}, [r]), b = /* @__PURE__ */ a((E, T) => {
|
|
33140
33131
|
r(!1), g.setValue(f, {
|
|
@@ -33284,13 +33275,13 @@ const MH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33284
33275
|
}
|
|
33285
33276
|
), "AsistenteList"), DH = { fillista: "empcod=-1", mapId: ["funnro"] }, _H = /* @__PURE__ */ a((e) => {
|
|
33286
33277
|
const [t, r] = Be(DH), [n, o] = Be([]), i = Ba();
|
|
33287
|
-
|
|
33278
|
+
Ge(() => {
|
|
33288
33279
|
(/* @__PURE__ */ a(async () => {
|
|
33289
33280
|
const f = await l("");
|
|
33290
33281
|
o(f);
|
|
33291
33282
|
}, "loadInitialData"))();
|
|
33292
33283
|
}, []);
|
|
33293
|
-
const s =
|
|
33284
|
+
const s = Ze(
|
|
33294
33285
|
(p, f) => {
|
|
33295
33286
|
r({ fillista: f, mapId: ["funnro"] });
|
|
33296
33287
|
},
|
|
@@ -33397,12 +33388,12 @@ const MH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33397
33388
|
onClose: l,
|
|
33398
33389
|
onConfirm: u,
|
|
33399
33390
|
translateOptions: d = {}
|
|
33400
|
-
} = e, p = $t(), f =
|
|
33391
|
+
} = e, p = $t(), f = Ze(
|
|
33401
33392
|
(g, m) => {
|
|
33402
33393
|
g.stopPropagation(), u(g, m);
|
|
33403
33394
|
},
|
|
33404
33395
|
[u]
|
|
33405
|
-
), h =
|
|
33396
|
+
), h = Ze((g) => {
|
|
33406
33397
|
g.stopPropagation();
|
|
33407
33398
|
}, []);
|
|
33408
33399
|
return /* @__PURE__ */ W(
|
|
@@ -33455,12 +33446,12 @@ const MH = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33455
33446
|
...y
|
|
33456
33447
|
}
|
|
33457
33448
|
} = fr(e), { [t]: x = {} } = u, E = tn(e), T = x.onChange === void 0 ? r : x.onChange;
|
|
33458
|
-
|
|
33449
|
+
Ge(() => {
|
|
33459
33450
|
d.current || (setTimeout(() => {
|
|
33460
33451
|
s.setValue(t, VH);
|
|
33461
33452
|
}, 0), d.current = !0);
|
|
33462
33453
|
}, [s, t]);
|
|
33463
|
-
const C =
|
|
33454
|
+
const C = Ze(() => {
|
|
33464
33455
|
i(!1);
|
|
33465
33456
|
}, [i]), S = /* @__PURE__ */ a(($, A) => {
|
|
33466
33457
|
i(!1), s.setValue(t, {
|
|
@@ -47665,7 +47656,7 @@ let Kh = Yy;
|
|
|
47665
47656
|
function O7(e) {
|
|
47666
47657
|
var t;
|
|
47667
47658
|
const [r] = Be(() => new Kh(e.editor)), n = x7.useSyncExternalStoreWithSelector(r.subscribe, r.getSnapshot, r.getServerSnapshot, e.selector, (t = e.equalityFn) !== null && t !== void 0 ? t : b7);
|
|
47668
|
-
return
|
|
47659
|
+
return Ge(() => r.watch(e.editor), [e.editor, r]), GO(n), n;
|
|
47669
47660
|
}
|
|
47670
47661
|
a(O7, "useEditorState");
|
|
47671
47662
|
const yO = process.env.NODE_ENV !== "production", Jh = typeof window > "u", S7 = Jh || !!(typeof window < "u" && window.next), Qy = class Qy {
|
|
@@ -47805,7 +47796,7 @@ function C7(e = {}, t = []) {
|
|
|
47805
47796
|
const r = $i(e);
|
|
47806
47797
|
r.current = e;
|
|
47807
47798
|
const [n] = Be(() => new Yh(r)), o = lp.useSyncExternalStore(n.subscribe, n.getEditor, n.getServerSnapshot);
|
|
47808
|
-
return GO(o),
|
|
47799
|
+
return GO(o), Ge(n.onRender(t)), O7({
|
|
47809
47800
|
editor: o,
|
|
47810
47801
|
selector: /* @__PURE__ */ a(({ transactionNumber: i }) => e.shouldRerenderOnTransaction === !1 ? null : e.immediatelyRender && i === 0 ? 0 : i + 1, "selector")
|
|
47811
47802
|
}), o;
|
|
@@ -49620,7 +49611,7 @@ wk.displayName = "I18nContext";
|
|
|
49620
49611
|
var tY = /* @__PURE__ */ a(function() {
|
|
49621
49612
|
return ht(wk);
|
|
49622
49613
|
}, "useI18nProvider"), Gr = /* @__PURE__ */ a(function() {
|
|
49623
|
-
var e = tY(), t =
|
|
49614
|
+
var e = tY(), t = Ze(
|
|
49624
49615
|
function(r, n) {
|
|
49625
49616
|
return e.translate(r, n);
|
|
49626
49617
|
},
|
|
@@ -49646,7 +49637,7 @@ var Rk = /* @__PURE__ */ a(function(e) {
|
|
|
49646
49637
|
return e;
|
|
49647
49638
|
}, "useFormGroupContext"), lY = /* @__PURE__ */ a(function(e) {
|
|
49648
49639
|
var t = e.inputProps, r = e.isArrayInput, n = e.fieldArrayInputControl, o = t.defaultValue, i = t.source, s = t.disabled, l = Vk(i), u = Rk(t), d = or(), p = d.getValues, f = d.resetField, h = d.formState, g = d.reset, m = Ic(u, l), b = Ic(p(), l), y = h.dirtyFields, x = Object.keys(y).includes(l);
|
|
49649
|
-
|
|
49640
|
+
Ge(function() {
|
|
49650
49641
|
if (!(o == null || b != null || // When the input is disabled, its value may always be undefined, no matter the default value.
|
|
49651
49642
|
// This prevents from trying to reset the value indefinitely.
|
|
49652
49643
|
s || // We check strictly for undefined to avoid setting default value
|
|
@@ -49887,7 +49878,7 @@ var bY = /* @__PURE__ */ a(function(e) {
|
|
|
49887
49878
|
return e === "" ? null : e;
|
|
49888
49879
|
}, "defaultParse"), TY = /* @__PURE__ */ a(function(e) {
|
|
49889
49880
|
var t = e.defaultValue, r = e.format, n = r === void 0 ? SY : r, o = e.id, i = e.isRequired, s = e.name, l = e.onBlur, u = e.onChange, d = e.parse, p = d === void 0 ? CY : d, f = e.source, h = e.validate, g = OY(e, ["defaultValue", "format", "id", "isRequired", "name", "onBlur", "onChange", "parse", "source", "validate"]), m = Vk(f), b = s || m, y = sY(), x = aY(), E = Rk(), T = Sf(p), C = $w();
|
|
49890
|
-
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."),
|
|
49881
|
+
!b && process.env.NODE_ENV === "development" && console.warn("Input components require either a source or a name prop."), Ge(function() {
|
|
49891
49882
|
if (!(!x || y == null))
|
|
49892
49883
|
return x.registerField(m, y), function() {
|
|
49893
49884
|
x.unregisterField(m, y);
|
|
@@ -49940,7 +49931,7 @@ var kY = /* @__PURE__ */ a(function() {
|
|
|
49940
49931
|
return e || EY;
|
|
49941
49932
|
}, "useSourceContext"), wY = /* @__PURE__ */ a(function() {
|
|
49942
49933
|
return ht(zb);
|
|
49943
|
-
}, "useOptionalSourceContext"),
|
|
49934
|
+
}, "useOptionalSourceContext"), Xe = {};
|
|
49944
49935
|
/*!
|
|
49945
49936
|
* inflection
|
|
49946
49937
|
* Copyright(c) 2011 Ben Lin <ben@dreamerslab.com>
|
|
@@ -49949,8 +49940,8 @@ var kY = /* @__PURE__ */ a(function() {
|
|
|
49949
49940
|
* @fileoverview
|
|
49950
49941
|
* A port of inflection-js to node.js module.
|
|
49951
49942
|
*/
|
|
49952
|
-
Object.defineProperty(
|
|
49953
|
-
var $k =
|
|
49943
|
+
Object.defineProperty(Xe, "__esModule", { value: !0 });
|
|
49944
|
+
var $k = Xe.transform = Xe.ordinalize = Xe.foreignKey = Xe.classify = Xe.tableize = Xe.demodulize = Xe.titleize = Xe.dasherize = Xe.capitalize = Xe.humanize = Xe.underscore = Xe.camelize = Xe.inflect = Xe.singularize = Xe.pluralize = void 0;
|
|
49954
49945
|
const Xu = [
|
|
49955
49946
|
// 'access',
|
|
49956
49947
|
"accommodation",
|
|
@@ -50481,17 +50472,17 @@ function Bb(e, t) {
|
|
|
50481
50472
|
return Zu(e, Ak, Xu, t);
|
|
50482
50473
|
}
|
|
50483
50474
|
a(Bb, "pluralize");
|
|
50484
|
-
|
|
50475
|
+
Xe.pluralize = Bb;
|
|
50485
50476
|
function jb(e, t) {
|
|
50486
50477
|
return Zu(e, Fk, Xu, t);
|
|
50487
50478
|
}
|
|
50488
50479
|
a(jb, "singularize");
|
|
50489
|
-
|
|
50480
|
+
Xe.singularize = jb;
|
|
50490
50481
|
function FY(e, t, r, n) {
|
|
50491
50482
|
return isNaN(t) ? e : t === 1 ? Zu(e, Fk, Xu, r) : Zu(e, Ak, Xu, n);
|
|
50492
50483
|
}
|
|
50493
50484
|
a(FY, "inflect");
|
|
50494
|
-
|
|
50485
|
+
Xe.inflect = FY;
|
|
50495
50486
|
function Vb(e, t) {
|
|
50496
50487
|
const r = e.split("/"), n = r.length;
|
|
50497
50488
|
let o, i, s, l;
|
|
@@ -50503,7 +50494,7 @@ function Vb(e, t) {
|
|
|
50503
50494
|
return r.join("::");
|
|
50504
50495
|
}
|
|
50505
50496
|
a(Vb, "camelize");
|
|
50506
|
-
|
|
50497
|
+
Xe.camelize = Vb;
|
|
50507
50498
|
function pp(e, t) {
|
|
50508
50499
|
if (t && e === e.toUpperCase())
|
|
50509
50500
|
return e;
|
|
@@ -50513,22 +50504,22 @@ function pp(e, t) {
|
|
|
50513
50504
|
return r.join("/").toLowerCase();
|
|
50514
50505
|
}
|
|
50515
50506
|
a(pp, "underscore");
|
|
50516
|
-
|
|
50507
|
+
Xe.underscore = pp;
|
|
50517
50508
|
function Lk(e, t) {
|
|
50518
50509
|
return e = e.toLowerCase(), e = e.replace(MY, ""), e = e.replace(Ik, " "), t || (e = fp(e)), e;
|
|
50519
50510
|
}
|
|
50520
50511
|
a(Lk, "humanize");
|
|
50521
|
-
|
|
50512
|
+
Xe.humanize = Lk;
|
|
50522
50513
|
function fp(e) {
|
|
50523
50514
|
return e = e.toLowerCase(), e.substring(0, 1).toUpperCase() + e.substring(1);
|
|
50524
50515
|
}
|
|
50525
50516
|
a(fp, "capitalize");
|
|
50526
|
-
|
|
50517
|
+
Xe.capitalize = fp;
|
|
50527
50518
|
function Nk(e) {
|
|
50528
50519
|
return e.replace(RY, "-");
|
|
50529
50520
|
}
|
|
50530
50521
|
a(Nk, "dasherize");
|
|
50531
|
-
|
|
50522
|
+
Xe.dasherize = Nk;
|
|
50532
50523
|
function Dk(e) {
|
|
50533
50524
|
e = e.toLowerCase().replace(Ik, " ");
|
|
50534
50525
|
const t = e.split(" "), r = t.length;
|
|
@@ -50542,28 +50533,28 @@ function Dk(e) {
|
|
|
50542
50533
|
return e = t.join(" "), e = e.substring(0, 1).toUpperCase() + e.substring(1), e;
|
|
50543
50534
|
}
|
|
50544
50535
|
a(Dk, "titleize");
|
|
50545
|
-
|
|
50536
|
+
Xe.titleize = Dk;
|
|
50546
50537
|
function Hb(e) {
|
|
50547
50538
|
const t = e.split("::");
|
|
50548
50539
|
return t[t.length - 1];
|
|
50549
50540
|
}
|
|
50550
50541
|
a(Hb, "demodulize");
|
|
50551
|
-
|
|
50542
|
+
Xe.demodulize = Hb;
|
|
50552
50543
|
function _k(e) {
|
|
50553
50544
|
return e = pp(e), e = Bb(e), e;
|
|
50554
50545
|
}
|
|
50555
50546
|
a(_k, "tableize");
|
|
50556
|
-
|
|
50547
|
+
Xe.tableize = _k;
|
|
50557
50548
|
function zk(e) {
|
|
50558
50549
|
return e = Vb(e), e = jb(e), e;
|
|
50559
50550
|
}
|
|
50560
50551
|
a(zk, "classify");
|
|
50561
|
-
|
|
50552
|
+
Xe.classify = zk;
|
|
50562
50553
|
function Bk(e, t) {
|
|
50563
50554
|
return e = Hb(e), e = pp(e) + (t ? "" : "_") + "id", e;
|
|
50564
50555
|
}
|
|
50565
50556
|
a(Bk, "foreignKey");
|
|
50566
|
-
|
|
50557
|
+
Xe.foreignKey = Bk;
|
|
50567
50558
|
function jk(e) {
|
|
50568
50559
|
const t = e.split(" "), r = t.length;
|
|
50569
50560
|
for (let n = 0; n < r; n++) {
|
|
@@ -50577,7 +50568,7 @@ function jk(e) {
|
|
|
50577
50568
|
return t.join(" ");
|
|
50578
50569
|
}
|
|
50579
50570
|
a(jk, "ordinalize");
|
|
50580
|
-
|
|
50571
|
+
Xe.ordinalize = jk;
|
|
50581
50572
|
const IY = {
|
|
50582
50573
|
pluralize: Bb,
|
|
50583
50574
|
singularize: jb,
|
|
@@ -50602,13 +50593,13 @@ function LY(e, t) {
|
|
|
50602
50593
|
return e;
|
|
50603
50594
|
}
|
|
50604
50595
|
a(LY, "transform");
|
|
50605
|
-
$k =
|
|
50596
|
+
$k = Xe.transform = LY;
|
|
50606
50597
|
var Vk = /* @__PURE__ */ a(function(e) {
|
|
50607
50598
|
var t = kY();
|
|
50608
50599
|
return t.getSource(e);
|
|
50609
50600
|
}, "useWrappedSource"), NY = /* @__PURE__ */ a(function() {
|
|
50610
50601
|
var e = Gr(), t = Pk(), r = wY();
|
|
50611
|
-
return
|
|
50602
|
+
return Ze(function(n) {
|
|
50612
50603
|
var o = n.source, i = n.label, s = n.resource;
|
|
50613
50604
|
return i === !1 || i === "" ? null : i && typeof i != "string" ? i : e.apply(void 0, _Y({
|
|
50614
50605
|
label: i,
|
|
@@ -50673,7 +50664,7 @@ var _Y = /* @__PURE__ */ a(function(e) {
|
|
|
50673
50664
|
});
|
|
50674
50665
|
return jY(function() {
|
|
50675
50666
|
t.current = e;
|
|
50676
|
-
}),
|
|
50667
|
+
}), Ze(function() {
|
|
50677
50668
|
for (var r = [], n = 0; n < arguments.length; n++)
|
|
50678
50669
|
r[n] = arguments[n];
|
|
50679
50670
|
return t.current.apply(t, r);
|
|
@@ -50682,7 +50673,7 @@ var _Y = /* @__PURE__ */ a(function(e) {
|
|
|
50682
50673
|
Object.defineProperty(Wb, "__esModule", {
|
|
50683
50674
|
value: !0
|
|
50684
50675
|
});
|
|
50685
|
-
var Wk = Wb.default = void 0, HY = VY(
|
|
50676
|
+
var Wk = Wb.default = void 0, HY = VY(Me()), WY = Pe;
|
|
50686
50677
|
Wk = Wb.default = (0, HY.default)(/* @__PURE__ */ (0, WY.jsx)("path", {
|
|
50687
50678
|
d: "m7 10 5 5 5-5z"
|
|
50688
50679
|
}), "ArrowDropDown");
|
|
@@ -52509,12 +52500,12 @@ const FQ = /* @__PURE__ */ a((e) => {
|
|
|
52509
52500
|
if (ee.currentTarget.hasAttribute("tabindex")) {
|
|
52510
52501
|
if (T) {
|
|
52511
52502
|
pe = Array.isArray(D) ? D.slice() : [];
|
|
52512
|
-
const
|
|
52513
|
-
|
|
52503
|
+
const Re = D.indexOf(ge.props.value);
|
|
52504
|
+
Re === -1 ? pe.push(ge.props.value) : pe.splice(Re, 1);
|
|
52514
52505
|
} else
|
|
52515
52506
|
pe = ge.props.value;
|
|
52516
52507
|
if (ge.props.onClick && ge.props.onClick(ee), D !== pe && (K(pe), w)) {
|
|
52517
|
-
const
|
|
52508
|
+
const Re = ee.nativeEvent || ee, De = new Re.constructor(Re.type, Re);
|
|
52518
52509
|
Object.defineProperty(De, "target", {
|
|
52519
52510
|
writable: !0,
|
|
52520
52511
|
value: {
|
|
@@ -52545,12 +52536,12 @@ const FQ = /* @__PURE__ */ a((e) => {
|
|
|
52545
52536
|
}, "handleBlur");
|
|
52546
52537
|
delete j["aria-invalid"];
|
|
52547
52538
|
let Ne, dt;
|
|
52548
|
-
const
|
|
52539
|
+
const Ye = [];
|
|
52549
52540
|
let Ue = !1, lt = !1;
|
|
52550
52541
|
(Hc({
|
|
52551
52542
|
value: D
|
|
52552
52543
|
}) || g) && (R ? Ne = R(D) : Ue = !0);
|
|
52553
|
-
const
|
|
52544
|
+
const Je = be.map((ge) => {
|
|
52554
52545
|
if (!/* @__PURE__ */ O.isValidElement(ge))
|
|
52555
52546
|
return null;
|
|
52556
52547
|
process.env.NODE_ENV !== "production" && xa.isFragment(ge) && console.error(["MUI: The Select component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
@@ -52559,7 +52550,7 @@ const FQ = /* @__PURE__ */ a((e) => {
|
|
|
52559
52550
|
if (T) {
|
|
52560
52551
|
if (!Array.isArray(D))
|
|
52561
52552
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: The `value` prop must be an array when using the `Select` component with `multiple`." : jn(2));
|
|
52562
|
-
ee = D.some((pe) => BO(pe, ge.props.value)), ee && Ue &&
|
|
52553
|
+
ee = D.some((pe) => BO(pe, ge.props.value)), ee && Ue && Ye.push(ge.props.children);
|
|
52563
52554
|
} else
|
|
52564
52555
|
ee = BO(D, ge.props.value), ee && Ue && (dt = ge.props.children);
|
|
52565
52556
|
return ee && (lt = !0), /* @__PURE__ */ O.cloneElement(ge, {
|
|
@@ -52582,7 +52573,7 @@ const FQ = /* @__PURE__ */ a((e) => {
|
|
|
52582
52573
|
console.warn([`MUI: You have provided an out-of-range value \`${D}\` for the select ${C ? `(name="${C}") ` : ""}component.`, "Consider providing a value that matches one of the available options or ''.", `The available values are ${ge.filter((ee) => ee != null).map((ee) => `\`${ee}\``).join(", ") || '""'}.`].join(`
|
|
52583
52574
|
`));
|
|
52584
52575
|
}
|
|
52585
|
-
}, [lt, be, T, C, D]), Ue && (T ?
|
|
52576
|
+
}, [lt, be, T, C, D]), Ue && (T ? Ye.length === 0 ? Ne = null : Ne = Ye.reduce((ge, ee, pe) => (ge.push(ee), pe < Ye.length - 1 && ge.push(", "), ge), []) : Ne = dt);
|
|
52586
52577
|
let ct = ne;
|
|
52587
52578
|
!l && G && q && (ct = le.clientWidth);
|
|
52588
52579
|
let Ae;
|
|
@@ -52664,7 +52655,7 @@ const FQ = /* @__PURE__ */ a((e) => {
|
|
|
52664
52655
|
}, Ut != null ? Ut.style : null)
|
|
52665
52656
|
})
|
|
52666
52657
|
}),
|
|
52667
|
-
children:
|
|
52658
|
+
children: Je
|
|
52668
52659
|
}))]
|
|
52669
52660
|
});
|
|
52670
52661
|
}, "SelectInput"));
|
|
@@ -53358,7 +53349,7 @@ var Jb = {}, qQ = ke;
|
|
|
53358
53349
|
Object.defineProperty(Jb, "__esModule", {
|
|
53359
53350
|
value: !0
|
|
53360
53351
|
});
|
|
53361
|
-
var ew = Jb.default = void 0, GQ = qQ(
|
|
53352
|
+
var ew = Jb.default = void 0, GQ = qQ(Me()), KQ = Pe;
|
|
53362
53353
|
ew = Jb.default = (0, GQ.default)(/* @__PURE__ */ (0, KQ.jsx)("path", {
|
|
53363
53354
|
d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42M10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"
|
|
53364
53355
|
}), "FormatBold");
|
|
@@ -53366,7 +53357,7 @@ var Yb = {}, JQ = ke;
|
|
|
53366
53357
|
Object.defineProperty(Yb, "__esModule", {
|
|
53367
53358
|
value: !0
|
|
53368
53359
|
});
|
|
53369
|
-
var tw = Yb.default = void 0, YQ = JQ(
|
|
53360
|
+
var tw = Yb.default = void 0, YQ = JQ(Me()), QQ = Pe;
|
|
53370
53361
|
tw = Yb.default = (0, YQ.default)(/* @__PURE__ */ (0, QQ.jsx)("path", {
|
|
53371
53362
|
d: "M10 4v3h2.21l-3.42 8H6v3h8v-3h-2.21l3.42-8H18V4z"
|
|
53372
53363
|
}), "FormatItalic");
|
|
@@ -53374,7 +53365,7 @@ var Qb = {}, XQ = ke;
|
|
|
53374
53365
|
Object.defineProperty(Qb, "__esModule", {
|
|
53375
53366
|
value: !0
|
|
53376
53367
|
});
|
|
53377
|
-
var rw = Qb.default = void 0, ZQ = XQ(
|
|
53368
|
+
var rw = Qb.default = void 0, ZQ = XQ(Me()), eX = Pe;
|
|
53378
53369
|
rw = Qb.default = (0, ZQ.default)(/* @__PURE__ */ (0, eX.jsx)("path", {
|
|
53379
53370
|
d: "M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6m-7 2v2h14v-2z"
|
|
53380
53371
|
}), "FormatUnderlined");
|
|
@@ -53382,7 +53373,7 @@ var Xb = {}, tX = ke;
|
|
|
53382
53373
|
Object.defineProperty(Xb, "__esModule", {
|
|
53383
53374
|
value: !0
|
|
53384
53375
|
});
|
|
53385
|
-
var nw = Xb.default = void 0, rX = tX(
|
|
53376
|
+
var nw = Xb.default = void 0, rX = tX(Me()), nX = Pe;
|
|
53386
53377
|
nw = Xb.default = (0, rX.default)(/* @__PURE__ */ (0, nX.jsx)("path", {
|
|
53387
53378
|
d: "M10 19h4v-3h-4zM5 4v3h5v3h4V7h5V4zM3 14h18v-2H3z"
|
|
53388
53379
|
}), "FormatStrikethrough");
|
|
@@ -53390,13 +53381,13 @@ var Zb = {}, oX = ke;
|
|
|
53390
53381
|
Object.defineProperty(Zb, "__esModule", {
|
|
53391
53382
|
value: !0
|
|
53392
53383
|
});
|
|
53393
|
-
var ow = Zb.default = void 0, iX = oX(
|
|
53384
|
+
var ow = Zb.default = void 0, iX = oX(Me()), aX = Pe;
|
|
53394
53385
|
ow = Zb.default = (0, iX.default)(/* @__PURE__ */ (0, aX.jsx)("path", {
|
|
53395
53386
|
d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
|
|
53396
53387
|
}), "Code");
|
|
53397
53388
|
var iw = Nt(void 0), Pn = /* @__PURE__ */ a(function() {
|
|
53398
53389
|
var e = Be(!1), t = e[0], r = e[1], n = ht(iw);
|
|
53399
|
-
return
|
|
53390
|
+
return Ge(function() {
|
|
53400
53391
|
var o = /* @__PURE__ */ a(function() {
|
|
53401
53392
|
r(!0);
|
|
53402
53393
|
}, "onReady");
|
|
@@ -53424,7 +53415,7 @@ var iw = Nt(void 0), Pn = /* @__PURE__ */ a(function() {
|
|
|
53424
53415
|
}), p = r("ra.tiptap.code", {
|
|
53425
53416
|
_: "Code"
|
|
53426
53417
|
});
|
|
53427
|
-
|
|
53418
|
+
Ge(function() {
|
|
53428
53419
|
var h = /* @__PURE__ */ a(function() {
|
|
53429
53420
|
i(function() {
|
|
53430
53421
|
return jO.reduce(function(g, m) {
|
|
@@ -53491,7 +53482,7 @@ var iw = Nt(void 0), Pn = /* @__PURE__ */ a(function() {
|
|
|
53491
53482
|
Object.defineProperty(ey, "__esModule", {
|
|
53492
53483
|
value: !0
|
|
53493
53484
|
});
|
|
53494
|
-
var aw = ey.default = void 0, uX = cX(
|
|
53485
|
+
var aw = ey.default = void 0, uX = cX(Me()), dX = Pe;
|
|
53495
53486
|
aw = ey.default = (0, uX.default)(/* @__PURE__ */ (0, dX.jsx)("path", {
|
|
53496
53487
|
d: "M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"
|
|
53497
53488
|
}), "FormatListBulleted");
|
|
@@ -53499,7 +53490,7 @@ var ty = {}, pX = ke;
|
|
|
53499
53490
|
Object.defineProperty(ty, "__esModule", {
|
|
53500
53491
|
value: !0
|
|
53501
53492
|
});
|
|
53502
|
-
var sw = ty.default = void 0, fX = pX(
|
|
53493
|
+
var sw = ty.default = void 0, fX = pX(Me()), hX = Pe;
|
|
53503
53494
|
sw = ty.default = (0, fX.default)(/* @__PURE__ */ (0, hX.jsx)("path", {
|
|
53504
53495
|
d: "M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"
|
|
53505
53496
|
}), "FormatListNumbered");
|
|
@@ -53522,7 +53513,7 @@ var nm = function() {
|
|
|
53522
53513
|
(h || g) && gX[f](t);
|
|
53523
53514
|
});
|
|
53524
53515
|
}, "handleChange");
|
|
53525
|
-
return
|
|
53516
|
+
return Ge(function() {
|
|
53526
53517
|
var d = /* @__PURE__ */ a(function() {
|
|
53527
53518
|
l(function() {
|
|
53528
53519
|
return VO.reduce(function(p, f) {
|
|
@@ -53558,7 +53549,7 @@ var nm = function() {
|
|
|
53558
53549
|
Object.defineProperty(ry, "__esModule", {
|
|
53559
53550
|
value: !0
|
|
53560
53551
|
});
|
|
53561
|
-
var lw = ry.default = void 0, yX = bX(
|
|
53552
|
+
var lw = ry.default = void 0, yX = bX(Me()), vX = Pe;
|
|
53562
53553
|
lw = ry.default = (0, yX.default)(/* @__PURE__ */ (0, vX.jsx)("path", {
|
|
53563
53554
|
d: "M7 15v2h10v-2zm-4 6h18v-2H3zm0-8h18v-2H3zm4-6v2h10V7zM3 3v2h18V3z"
|
|
53564
53555
|
}), "FormatAlignCenter");
|
|
@@ -53566,7 +53557,7 @@ var ny = {}, xX = ke;
|
|
|
53566
53557
|
Object.defineProperty(ny, "__esModule", {
|
|
53567
53558
|
value: !0
|
|
53568
53559
|
});
|
|
53569
|
-
var cw = ny.default = void 0, OX = xX(
|
|
53560
|
+
var cw = ny.default = void 0, OX = xX(Me()), SX = Pe;
|
|
53570
53561
|
cw = ny.default = (0, OX.default)(/* @__PURE__ */ (0, SX.jsx)("path", {
|
|
53571
53562
|
d: "M15 15H3v2h12zm0-8H3v2h12zM3 13h18v-2H3zm0 8h18v-2H3zM3 3v2h18V3z"
|
|
53572
53563
|
}), "FormatAlignLeft");
|
|
@@ -53574,7 +53565,7 @@ var oy = {}, CX = ke;
|
|
|
53574
53565
|
Object.defineProperty(oy, "__esModule", {
|
|
53575
53566
|
value: !0
|
|
53576
53567
|
});
|
|
53577
|
-
var uw = oy.default = void 0, TX = CX(
|
|
53568
|
+
var uw = oy.default = void 0, TX = CX(Me()), EX = Pe;
|
|
53578
53569
|
uw = oy.default = (0, TX.default)(/* @__PURE__ */ (0, EX.jsx)("path", {
|
|
53579
53570
|
d: "M3 21h18v-2H3zm6-4h12v-2H9zm-6-4h18v-2H3zm6-4h12V7H9zM3 3v2h18V3z"
|
|
53580
53571
|
}), "FormatAlignRight");
|
|
@@ -53582,7 +53573,7 @@ var iy = {}, kX = ke;
|
|
|
53582
53573
|
Object.defineProperty(iy, "__esModule", {
|
|
53583
53574
|
value: !0
|
|
53584
53575
|
});
|
|
53585
|
-
var dw = iy.default = void 0, wX = kX(
|
|
53576
|
+
var dw = iy.default = void 0, wX = kX(Me()), PX = Pe;
|
|
53586
53577
|
dw = iy.default = (0, wX.default)(/* @__PURE__ */ (0, PX.jsx)("path", {
|
|
53587
53578
|
d: "M3 21h18v-2H3zm0-4h18v-2H3zm0-4h18v-2H3zm0-4h18V7H3zm0-6v2h18V3z"
|
|
53588
53579
|
}), "FormatAlignJustify");
|
|
@@ -53596,7 +53587,7 @@ var om = function() {
|
|
|
53596
53587
|
}, om.apply(this, arguments);
|
|
53597
53588
|
}, MX = /* @__PURE__ */ a(function(e) {
|
|
53598
53589
|
var t = Pn(), r = Gr(), n = Be("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" });
|
|
53599
|
-
|
|
53590
|
+
Ge(function() {
|
|
53600
53591
|
var f = /* @__PURE__ */ a(function() {
|
|
53601
53592
|
i(function(h) {
|
|
53602
53593
|
return RX.reduce(function(g, m) {
|
|
@@ -53652,13 +53643,13 @@ var om = function() {
|
|
|
53652
53643
|
Object.defineProperty(ay, "__esModule", {
|
|
53653
53644
|
value: !0
|
|
53654
53645
|
});
|
|
53655
|
-
var pw = ay.default = void 0, AX = $X(
|
|
53646
|
+
var pw = ay.default = void 0, AX = $X(Me()), FX = Pe;
|
|
53656
53647
|
pw = ay.default = (0, AX.default)(/* @__PURE__ */ (0, FX.jsx)("path", {
|
|
53657
53648
|
d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
|
|
53658
53649
|
}), "InsertLink");
|
|
53659
53650
|
var IX = /* @__PURE__ */ a(function() {
|
|
53660
53651
|
var e = Pn(), t = Be(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
|
|
53661
|
-
return
|
|
53652
|
+
return Ge(function() {
|
|
53662
53653
|
var o = /* @__PURE__ */ a(function() {
|
|
53663
53654
|
n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
|
|
53664
53655
|
}, "handleSelectionChange");
|
|
@@ -53692,7 +53683,7 @@ var IX = /* @__PURE__ */ a(function() {
|
|
|
53692
53683
|
Object.defineProperty(sy, "__esModule", {
|
|
53693
53684
|
value: !0
|
|
53694
53685
|
});
|
|
53695
|
-
var fw = sy.default = void 0, DX = NX(
|
|
53686
|
+
var fw = sy.default = void 0, DX = NX(Me()), _X = Pe;
|
|
53696
53687
|
fw = sy.default = (0, DX.default)(/* @__PURE__ */ (0, _X.jsx)("path", {
|
|
53697
53688
|
d: "M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z"
|
|
53698
53689
|
}), "FormatQuote");
|
|
@@ -53708,7 +53699,7 @@ var am = function() {
|
|
|
53708
53699
|
var t = Pn(), r = Gr(), n = Be(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
|
|
53709
53700
|
_: "Blockquote"
|
|
53710
53701
|
});
|
|
53711
|
-
return
|
|
53702
|
+
return Ge(function() {
|
|
53712
53703
|
var l = /* @__PURE__ */ a(function() {
|
|
53713
53704
|
i(t && t.isActive("blockquote"));
|
|
53714
53705
|
}, "handleUpdate");
|
|
@@ -53726,7 +53717,7 @@ var am = function() {
|
|
|
53726
53717
|
Object.defineProperty(ly, "__esModule", {
|
|
53727
53718
|
value: !0
|
|
53728
53719
|
});
|
|
53729
|
-
var hw = ly.default = void 0, jX = BX(
|
|
53720
|
+
var hw = ly.default = void 0, jX = BX(Me()), VX = Pe;
|
|
53730
53721
|
hw = ly.default = (0, jX.default)(/* @__PURE__ */ (0, VX.jsx)("path", {
|
|
53731
53722
|
d: "M3.27 5 2 6.27l6.97 6.97L6.5 19h3l1.57-3.66L16.73 21 18 19.73 3.55 5.27zM6 5v.18L8.82 8h2.4l-.72 1.68 2.1 2.1L14.21 8H20V5z"
|
|
53732
53723
|
}), "FormatClear");
|
|
@@ -53759,7 +53750,7 @@ var sm = function() {
|
|
|
53759
53750
|
}, "handleClickListItem"), g = /* @__PURE__ */ a(function(m) {
|
|
53760
53751
|
s(null);
|
|
53761
53752
|
}, "handleClose");
|
|
53762
|
-
return
|
|
53753
|
+
return Ge(function() {
|
|
53763
53754
|
var m = /* @__PURE__ */ a(function() {
|
|
53764
53755
|
p(function(b) {
|
|
53765
53756
|
return bc.reduce(function(y, x) {
|
|
@@ -53865,7 +53856,7 @@ var sm = function() {
|
|
|
53865
53856
|
Object.defineProperty(cy, "__esModule", {
|
|
53866
53857
|
value: !0
|
|
53867
53858
|
});
|
|
53868
|
-
var mw = cy.default = void 0, GX = qX(
|
|
53859
|
+
var mw = cy.default = void 0, GX = qX(Me()), KX = Pe;
|
|
53869
53860
|
mw = cy.default = (0, GX.default)(/* @__PURE__ */ (0, KX.jsx)("path", {
|
|
53870
53861
|
d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2M8.5 13.5l2.5 3.01L14.5 12l4.5 6H5z"
|
|
53871
53862
|
}), "Image");
|
|
@@ -53891,7 +53882,7 @@ var lm = function() {
|
|
|
53891
53882
|
Object.defineProperty(uy, "__esModule", {
|
|
53892
53883
|
value: !0
|
|
53893
53884
|
});
|
|
53894
|
-
var gw = uy.default = void 0, QX = YX(
|
|
53885
|
+
var gw = uy.default = void 0, QX = YX(Me()), XX = Pe;
|
|
53895
53886
|
gw = uy.default = (0, QX.default)(/* @__PURE__ */ (0, XX.jsx)("path", {
|
|
53896
53887
|
d: "M2 20h20v4H2zm3.49-3h2.42l1.27-3.58h5.65L16.09 17h2.42L13.25 3h-2.5zm4.42-5.61 2.03-5.79h.12l2.03 5.79z"
|
|
53897
53888
|
}), "FormatColorText");
|
|
@@ -53899,7 +53890,7 @@ var dy = {}, ZX = ke;
|
|
|
53899
53890
|
Object.defineProperty(dy, "__esModule", {
|
|
53900
53891
|
value: !0
|
|
53901
53892
|
});
|
|
53902
|
-
var bw = dy.default = void 0, eZ = ZX(
|
|
53893
|
+
var bw = dy.default = void 0, eZ = ZX(Me()), tZ = Pe;
|
|
53903
53894
|
bw = dy.default = (0, eZ.default)(/* @__PURE__ */ (0, tZ.jsx)("path", {
|
|
53904
53895
|
d: "M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-4.05 16.5-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13z"
|
|
53905
53896
|
}), "FontDownload");
|
|
@@ -54065,14 +54056,14 @@ var rZ = /* @__PURE__ */ a(function(e) {
|
|
|
54065
54056
|
}, ln.apply(this, arguments);
|
|
54066
54057
|
}, dZ = /* @__PURE__ */ a(function(e) {
|
|
54067
54058
|
var t, r = e.className, n = e.defaultValue, o = n === void 0 ? "" : n, i = e.disabled, s = i === void 0 ? !1 : i, l = e.editorOptions, u = l === void 0 ? pZ : l, d = e.fullWidth, p = e.helperText, f = e.label, h = e.readOnly, g = h === void 0 ? !1 : h, m = e.source, b = e.sx, y = e.toolbar, x = Pk(e), E = TY(ln(ln({}, e), { source: m, defaultValue: o })), T = E.id, C = E.field, S = E.isRequired, w = E.fieldState, P = E.formState.isSubmitted, $ = C7(ln(ln({}, u), { editable: !s && !g, content: C.value, editorProps: ln(ln({}, u == null ? void 0 : u.editorProps), { attributes: ln(ln({}, (t = u == null ? void 0 : u.editorProps) === null || t === void 0 ? void 0 : t.attributes), { id: T }) }) }), [s, u, g, T]), A = w.error, I = w.invalid, M = w.isTouched;
|
|
54068
|
-
return
|
|
54059
|
+
return Ge(function() {
|
|
54069
54060
|
if ($) {
|
|
54070
54061
|
var R = $.state.selection, F = R.from, L = R.to;
|
|
54071
54062
|
$.commands.setContent(C.value, !1, {
|
|
54072
54063
|
preserveWhitespace: !0
|
|
54073
54064
|
}), $.commands.setTextSelection({ from: F, to: L });
|
|
54074
54065
|
}
|
|
54075
|
-
}, [$, C.value]),
|
|
54066
|
+
}, [$, C.value]), Ge(function() {
|
|
54076
54067
|
if ($) {
|
|
54077
54068
|
var R = /* @__PURE__ */ a(function() {
|
|
54078
54069
|
if ($.isEmpty) {
|
|
@@ -54371,7 +54362,7 @@ const Uee = /* @__PURE__ */ a((e) => {
|
|
|
54371
54362
|
allowNegative: n = !0,
|
|
54372
54363
|
...o
|
|
54373
54364
|
}) => {
|
|
54374
|
-
const i =
|
|
54365
|
+
const i = Ze(
|
|
54375
54366
|
(d) => {
|
|
54376
54367
|
if (!d)
|
|
54377
54368
|
return "";
|
|
@@ -54386,7 +54377,7 @@ const Uee = /* @__PURE__ */ a((e) => {
|
|
|
54386
54377
|
return f + (p.includes(".") && x.length < 1 && y > 0 ? `${b}.` : p.includes(".") && y > 0 ? `${b}.${x}` : b);
|
|
54387
54378
|
},
|
|
54388
54379
|
[e, t, n]
|
|
54389
|
-
), s =
|
|
54380
|
+
), s = Ze(
|
|
54390
54381
|
(d) => {
|
|
54391
54382
|
d.target.value = i(d.target.value);
|
|
54392
54383
|
},
|
|
@@ -54408,7 +54399,7 @@ const Uee = /* @__PURE__ */ a((e) => {
|
|
|
54408
54399
|
}
|
|
54409
54400
|
);
|
|
54410
54401
|
}, "DecimalInput"), wZ = /* @__PURE__ */ a(({ maxLength: e = 10, allowNegative: t = !0, ...r }) => {
|
|
54411
|
-
const n =
|
|
54402
|
+
const n = Ze(
|
|
54412
54403
|
(s) => {
|
|
54413
54404
|
if (!s) return "";
|
|
54414
54405
|
let l = String(s).replace(/[^0-9-]/g, ""), u = "";
|
|
@@ -54432,7 +54423,7 @@ const Uee = /* @__PURE__ */ a((e) => {
|
|
|
54432
54423
|
);
|
|
54433
54424
|
}, "IntegerInput"), qee = /* @__PURE__ */ a((e) => {
|
|
54434
54425
|
const { tipo: t, ...r } = e, { propsContenido: n, hidden: o } = fr(r), i = or();
|
|
54435
|
-
|
|
54426
|
+
Ge(() => {
|
|
54436
54427
|
n.value && i.setValue(e.source, n.value);
|
|
54437
54428
|
}, [n.value]);
|
|
54438
54429
|
const s = {
|