biblio-react 2.2.6 → 2.2.7
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 +723 -706
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var vf = Object.defineProperty;
|
|
|
2
2
|
var o = (e, t) => vf(e, "name", { value: t, configurable: !0 });
|
|
3
3
|
import De, { jsx as f, jsxs as B, Fragment as lr } from "react/jsx-runtime";
|
|
4
4
|
import * as S from "react";
|
|
5
|
-
import Vt, { forwardRef as bi, useContext as Te, createElement as us, Children as Wn, isValidElement as vr, cloneElement as Jt, createContext as ao, useState as
|
|
5
|
+
import Vt, { forwardRef as bi, useContext as Te, createElement as us, Children as Wn, isValidElement as vr, cloneElement as Jt, createContext as ao, useState as Ve, useMemo as Mt, useCallback as we, useEffect as at, Fragment as Gt, memo as yf, useRef as Un } from "react";
|
|
6
6
|
import a from "prop-types";
|
|
7
7
|
import { MenuItem as Ga, ListItemIcon as qa, ListItemText as ds, useMediaQuery as Gn, Typography as Xc, Box as $e, alpha as Of, createTheme as yi, StyledEngineProvider as Zc, Stack as Jc, Card as xf, CircularProgress as eu, Dialog as Oi, DialogTitle as tu, DialogContent as Sf, DialogActions as Ef, Tooltip as qn, IconButton as Rn, ThemeProvider as Pf, Paper as xi, CardContent as ru, Collapse as Tf, List as Cf, Divider as Ff, Button as ps } from "@mui/material";
|
|
8
8
|
import { useTranslate as Ze, useUserMenu as wf, useResourceDefinitions as Rf, AppBar as kf, UserMenu as Mf, Logout as $f, useDataProvider as ou, useListContext as Gr, useNotify as tr, useRedirect as Wo, useRefresh as Lf, useResourceContext as qe, useUnselectAll as Af, NumberField as If, DateField as fs, TextField as On, ReferenceField as Df, Button as ut, useRecordContext as Kt, useInput as nu, useGetList as au, useSafeSetState as Si, Confirm as Ei, Form as Uo, SaveButton as Kn, useCreatePath as Yn, useResourceDefinition as iu, DatagridRoot as Nf, DatagridClasses as ms, BulkActionsToolbar as _f, SimpleList as jf, useGetOne as lu, required as Vf, minValue as Bf, TopToolbar as su, ListButton as zf, ShowButton as Hf, useCreateController as Wf, CreateContextProvider as Uf, useSaveContext as Gf, Create as qf, useListController as Kf, ListContextProvider as Yf, List as cu, useDelete as Qf, useEditController as Xf, Edit as Zf, SimpleForm as Jf, useSidebarState as uu, Menu as em, DashboardMenuItem as tm, MenuItemLink as du, Layout as rm, FilterContext as om, sanitizeListRestProps as nm, FilterButton as am, CreateButton as im, ExportButton as lm, useLogin as sm, TextInput as Or, PasswordInput as pu, FieldTitle as cm, useShowController as um, Show as dm, FormTab as pm, getTabbedFormTabFullPath as fm, TabbedFormTabs as mm, Toolbar as fu, defaultTheme as Br, BooleanField as hm, ImageInput as gm, ImageField as bm, FileInput as vm, BooleanInput as ym, ReferenceInput as mu, useChoicesContext as Om, AutocompleteInput as xm, SelectInput as Sm, ReferenceArrayInput as Em, SelectArrayInput as Pm, RadioButtonGroupInput as hu, useRecordSelection as gu, Datagrid as Tm, NumberInput as Cm, DateInput as Fm, DateTimeInput as wm } from "react-admin";
|
|
@@ -111,29 +111,29 @@ var gs;
|
|
|
111
111
|
function _m() {
|
|
112
112
|
if (gs) return xe;
|
|
113
113
|
gs = 1;
|
|
114
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"),
|
|
115
|
-
|
|
116
|
-
function g(
|
|
117
|
-
if (typeof
|
|
118
|
-
var T =
|
|
114
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), y;
|
|
115
|
+
y = Symbol.for("react.module.reference");
|
|
116
|
+
function g(b) {
|
|
117
|
+
if (typeof b == "object" && b !== null) {
|
|
118
|
+
var T = b.$$typeof;
|
|
119
119
|
switch (T) {
|
|
120
120
|
case e:
|
|
121
|
-
switch (
|
|
121
|
+
switch (b = b.type, b) {
|
|
122
122
|
case r:
|
|
123
123
|
case i:
|
|
124
124
|
case n:
|
|
125
125
|
case d:
|
|
126
126
|
case p:
|
|
127
|
-
return
|
|
127
|
+
return b;
|
|
128
128
|
default:
|
|
129
|
-
switch (
|
|
129
|
+
switch (b = b && b.$$typeof, b) {
|
|
130
130
|
case c:
|
|
131
131
|
case s:
|
|
132
132
|
case u:
|
|
133
133
|
case m:
|
|
134
134
|
case h:
|
|
135
135
|
case l:
|
|
136
|
-
return
|
|
136
|
+
return b;
|
|
137
137
|
default:
|
|
138
138
|
return T;
|
|
139
139
|
}
|
|
@@ -147,32 +147,32 @@ function _m() {
|
|
|
147
147
|
return !1;
|
|
148
148
|
}, xe.isConcurrentMode = function() {
|
|
149
149
|
return !1;
|
|
150
|
-
}, xe.isContextConsumer = function(
|
|
151
|
-
return g(
|
|
152
|
-
}, xe.isContextProvider = function(
|
|
153
|
-
return g(
|
|
154
|
-
}, xe.isElement = function(
|
|
155
|
-
return typeof
|
|
156
|
-
}, xe.isForwardRef = function(
|
|
157
|
-
return g(
|
|
158
|
-
}, xe.isFragment = function(
|
|
159
|
-
return g(
|
|
160
|
-
}, xe.isLazy = function(
|
|
161
|
-
return g(
|
|
162
|
-
}, xe.isMemo = function(
|
|
163
|
-
return g(
|
|
164
|
-
}, xe.isPortal = function(
|
|
165
|
-
return g(
|
|
166
|
-
}, xe.isProfiler = function(
|
|
167
|
-
return g(
|
|
168
|
-
}, xe.isStrictMode = function(
|
|
169
|
-
return g(
|
|
170
|
-
}, xe.isSuspense = function(
|
|
171
|
-
return g(
|
|
172
|
-
}, xe.isSuspenseList = function(
|
|
173
|
-
return g(
|
|
174
|
-
}, xe.isValidElementType = function(
|
|
175
|
-
return typeof
|
|
150
|
+
}, xe.isContextConsumer = function(b) {
|
|
151
|
+
return g(b) === s;
|
|
152
|
+
}, xe.isContextProvider = function(b) {
|
|
153
|
+
return g(b) === l;
|
|
154
|
+
}, xe.isElement = function(b) {
|
|
155
|
+
return typeof b == "object" && b !== null && b.$$typeof === e;
|
|
156
|
+
}, xe.isForwardRef = function(b) {
|
|
157
|
+
return g(b) === u;
|
|
158
|
+
}, xe.isFragment = function(b) {
|
|
159
|
+
return g(b) === r;
|
|
160
|
+
}, xe.isLazy = function(b) {
|
|
161
|
+
return g(b) === m;
|
|
162
|
+
}, xe.isMemo = function(b) {
|
|
163
|
+
return g(b) === h;
|
|
164
|
+
}, xe.isPortal = function(b) {
|
|
165
|
+
return g(b) === t;
|
|
166
|
+
}, xe.isProfiler = function(b) {
|
|
167
|
+
return g(b) === i;
|
|
168
|
+
}, xe.isStrictMode = function(b) {
|
|
169
|
+
return g(b) === n;
|
|
170
|
+
}, xe.isSuspense = function(b) {
|
|
171
|
+
return g(b) === d;
|
|
172
|
+
}, xe.isSuspenseList = function(b) {
|
|
173
|
+
return g(b) === p;
|
|
174
|
+
}, xe.isValidElementType = function(b) {
|
|
175
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === i || b === n || b === d || b === p || b === v || typeof b == "object" && b !== null && (b.$$typeof === m || b.$$typeof === h || b.$$typeof === l || b.$$typeof === s || b.$$typeof === u || b.$$typeof === y || b.getModuleId !== void 0);
|
|
176
176
|
}, xe.typeOf = g, xe;
|
|
177
177
|
}
|
|
178
178
|
o(_m, "requireReactIs_production_min$1");
|
|
@@ -189,10 +189,10 @@ var Se = {};
|
|
|
189
189
|
var bs;
|
|
190
190
|
function jm() {
|
|
191
191
|
return bs || (bs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
192
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"),
|
|
192
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), y = !1, g = !1, b = !1, T = !1, C = !1, E;
|
|
193
193
|
E = Symbol.for("react.module.reference");
|
|
194
194
|
function x(D) {
|
|
195
|
-
return !!(typeof D == "string" || typeof D == "function" || D === r || D === i || C || D === n || D === d || D === p || T || D ===
|
|
195
|
+
return !!(typeof D == "string" || typeof D == "function" || D === r || D === i || C || D === n || D === d || D === p || T || D === v || y || g || b || typeof D == "object" && D !== null && (D.$$typeof === m || D.$$typeof === h || D.$$typeof === l || D.$$typeof === s || D.$$typeof === u || // This needs to include all possible module reference object
|
|
196
196
|
// types supported by any Flight configuration anywhere since
|
|
197
197
|
// we don't know which Flight build this will end up being used
|
|
198
198
|
// with.
|
|
@@ -536,9 +536,9 @@ function wu(e) {
|
|
|
536
536
|
return `@media (max-width:${(typeof t[m] == "number" ? t[m] : m) - n / 100}${r})`;
|
|
537
537
|
}
|
|
538
538
|
o(u, "down");
|
|
539
|
-
function d(m,
|
|
540
|
-
const
|
|
541
|
-
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(
|
|
539
|
+
function d(m, v) {
|
|
540
|
+
const y = s.indexOf(v);
|
|
541
|
+
return `@media (min-width:${typeof t[m] == "number" ? t[m] : m}${r}) and (max-width:${(y !== -1 && typeof t[s[y]] == "number" ? t[s[y]] : v) - n / 100}${r})`;
|
|
542
542
|
}
|
|
543
543
|
o(d, "between");
|
|
544
544
|
function p(m) {
|
|
@@ -546,8 +546,8 @@ function wu(e) {
|
|
|
546
546
|
}
|
|
547
547
|
o(p, "only");
|
|
548
548
|
function h(m) {
|
|
549
|
-
const
|
|
550
|
-
return
|
|
549
|
+
const v = s.indexOf(m);
|
|
550
|
+
return v === 0 ? c(s[1]) : v === s.length - 1 ? u(s[v]) : d(m, s[s.indexOf(m) + 1]).replace("@media", "@media not all and");
|
|
551
551
|
}
|
|
552
552
|
return o(h, "not"), P({
|
|
553
553
|
keys: s,
|
|
@@ -669,7 +669,7 @@ function kn(e, t, r, n = r) {
|
|
|
669
669
|
return typeof e == "function" ? i = e(r) : Array.isArray(e) ? i = e[r] || n : i = Kr(e, r) || n, t && (i = t(i, n, e)), i;
|
|
670
670
|
}
|
|
671
671
|
o(kn, "getStyleValue");
|
|
672
|
-
function
|
|
672
|
+
function Be(e) {
|
|
673
673
|
const {
|
|
674
674
|
prop: t,
|
|
675
675
|
cssProperty: r = e.prop,
|
|
@@ -690,7 +690,7 @@ function Ve(e) {
|
|
|
690
690
|
[t]: cr
|
|
691
691
|
} : {}, l.filterProps = [t], l;
|
|
692
692
|
}
|
|
693
|
-
o(
|
|
693
|
+
o(Be, "style$2");
|
|
694
694
|
function eh(e) {
|
|
695
695
|
const t = {};
|
|
696
696
|
return (r) => (t[r] === void 0 && (t[r] = e(r)), t[r]);
|
|
@@ -794,7 +794,7 @@ function bt(e) {
|
|
|
794
794
|
}
|
|
795
795
|
o(bt, "borderTransform");
|
|
796
796
|
function Tt(e, t) {
|
|
797
|
-
return
|
|
797
|
+
return Be({
|
|
798
798
|
prop: e,
|
|
799
799
|
themeKey: "borders",
|
|
800
800
|
transform: t
|
|
@@ -854,23 +854,23 @@ oa.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
854
854
|
rowGap: cr
|
|
855
855
|
} : {};
|
|
856
856
|
oa.filterProps = ["rowGap"];
|
|
857
|
-
const Oh =
|
|
857
|
+
const Oh = Be({
|
|
858
858
|
prop: "gridColumn"
|
|
859
|
-
}), xh =
|
|
859
|
+
}), xh = Be({
|
|
860
860
|
prop: "gridRow"
|
|
861
|
-
}), Sh =
|
|
861
|
+
}), Sh = Be({
|
|
862
862
|
prop: "gridAutoFlow"
|
|
863
|
-
}), Eh =
|
|
863
|
+
}), Eh = Be({
|
|
864
864
|
prop: "gridAutoColumns"
|
|
865
|
-
}), Ph =
|
|
865
|
+
}), Ph = Be({
|
|
866
866
|
prop: "gridAutoRows"
|
|
867
|
-
}), Th =
|
|
867
|
+
}), Th = Be({
|
|
868
868
|
prop: "gridTemplateColumns"
|
|
869
|
-
}), Ch =
|
|
869
|
+
}), Ch = Be({
|
|
870
870
|
prop: "gridTemplateRows"
|
|
871
|
-
}), Fh =
|
|
871
|
+
}), Fh = Be({
|
|
872
872
|
prop: "gridTemplateAreas"
|
|
873
|
-
}), wh =
|
|
873
|
+
}), wh = Be({
|
|
874
874
|
prop: "gridArea"
|
|
875
875
|
});
|
|
876
876
|
Jn(ta, ra, oa, Oh, xh, Sh, Eh, Ph, Th, Ch, Fh, wh);
|
|
@@ -878,16 +878,16 @@ function zr(e, t) {
|
|
|
878
878
|
return t === "grey" ? t : e;
|
|
879
879
|
}
|
|
880
880
|
o(zr, "paletteTransform");
|
|
881
|
-
const Rh =
|
|
881
|
+
const Rh = Be({
|
|
882
882
|
prop: "color",
|
|
883
883
|
themeKey: "palette",
|
|
884
884
|
transform: zr
|
|
885
|
-
}), kh =
|
|
885
|
+
}), kh = Be({
|
|
886
886
|
prop: "bgcolor",
|
|
887
887
|
cssProperty: "backgroundColor",
|
|
888
888
|
themeKey: "palette",
|
|
889
889
|
transform: zr
|
|
890
|
-
}), Mh =
|
|
890
|
+
}), Mh = Be({
|
|
891
891
|
prop: "backgroundColor",
|
|
892
892
|
themeKey: "palette",
|
|
893
893
|
transform: zr
|
|
@@ -897,7 +897,7 @@ function ct(e) {
|
|
|
897
897
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
898
898
|
}
|
|
899
899
|
o(ct, "sizingTransform");
|
|
900
|
-
const $h =
|
|
900
|
+
const $h = Be({
|
|
901
901
|
prop: "width",
|
|
902
902
|
transform: ct
|
|
903
903
|
}), Ii = /* @__PURE__ */ o((e) => {
|
|
@@ -918,30 +918,30 @@ const $h = Ve({
|
|
|
918
918
|
return null;
|
|
919
919
|
}, "maxWidth");
|
|
920
920
|
Ii.filterProps = ["maxWidth"];
|
|
921
|
-
const Lh =
|
|
921
|
+
const Lh = Be({
|
|
922
922
|
prop: "minWidth",
|
|
923
923
|
transform: ct
|
|
924
|
-
}), Ah =
|
|
924
|
+
}), Ah = Be({
|
|
925
925
|
prop: "height",
|
|
926
926
|
transform: ct
|
|
927
|
-
}), Ih =
|
|
927
|
+
}), Ih = Be({
|
|
928
928
|
prop: "maxHeight",
|
|
929
929
|
transform: ct
|
|
930
|
-
}), Dh =
|
|
930
|
+
}), Dh = Be({
|
|
931
931
|
prop: "minHeight",
|
|
932
932
|
transform: ct
|
|
933
933
|
});
|
|
934
|
-
|
|
934
|
+
Be({
|
|
935
935
|
prop: "size",
|
|
936
936
|
cssProperty: "width",
|
|
937
937
|
transform: ct
|
|
938
938
|
});
|
|
939
|
-
|
|
939
|
+
Be({
|
|
940
940
|
prop: "size",
|
|
941
941
|
cssProperty: "height",
|
|
942
942
|
transform: ct
|
|
943
943
|
});
|
|
944
|
-
const Nh =
|
|
944
|
+
const Nh = Be({
|
|
945
945
|
prop: "boxSizing"
|
|
946
946
|
});
|
|
947
947
|
Jn($h, Ii, Lh, Ah, Ih, Dh, Nh);
|
|
@@ -1262,9 +1262,9 @@ function $u() {
|
|
|
1262
1262
|
[r]: n
|
|
1263
1263
|
};
|
|
1264
1264
|
const m = Kr(i, d) || {};
|
|
1265
|
-
return h ? h(s) : Rt(s, n, /* @__PURE__ */ o((
|
|
1266
|
-
let g = kn(m, p,
|
|
1267
|
-
return
|
|
1265
|
+
return h ? h(s) : Rt(s, n, /* @__PURE__ */ o((y) => {
|
|
1266
|
+
let g = kn(m, p, y);
|
|
1267
|
+
return y === g && typeof y == "string" && (g = kn(m, p, `${r}${y === "default" ? "" : J(y)}`, y)), u === !1 ? g : {
|
|
1268
1268
|
[u]: g
|
|
1269
1269
|
};
|
|
1270
1270
|
}, "styleFromPropValue"));
|
|
@@ -1289,25 +1289,25 @@ function $u() {
|
|
|
1289
1289
|
return null;
|
|
1290
1290
|
const p = Ru(l.breakpoints), h = Object.keys(p);
|
|
1291
1291
|
let m = p;
|
|
1292
|
-
return Object.keys(d).forEach((
|
|
1293
|
-
const
|
|
1294
|
-
if (
|
|
1295
|
-
if (typeof
|
|
1296
|
-
if (s[
|
|
1297
|
-
m = To(m, e(
|
|
1292
|
+
return Object.keys(d).forEach((v) => {
|
|
1293
|
+
const y = jh(d[v], l);
|
|
1294
|
+
if (y != null)
|
|
1295
|
+
if (typeof y == "object")
|
|
1296
|
+
if (s[v])
|
|
1297
|
+
m = To(m, e(v, y, l, s));
|
|
1298
1298
|
else {
|
|
1299
1299
|
const g = Rt({
|
|
1300
1300
|
theme: l
|
|
1301
|
-
},
|
|
1302
|
-
[
|
|
1301
|
+
}, y, (b) => ({
|
|
1302
|
+
[v]: b
|
|
1303
1303
|
}));
|
|
1304
|
-
_h(g,
|
|
1305
|
-
sx:
|
|
1304
|
+
_h(g, y) ? m[v] = t({
|
|
1305
|
+
sx: y,
|
|
1306
1306
|
theme: l
|
|
1307
1307
|
}) : m = To(m, g);
|
|
1308
1308
|
}
|
|
1309
1309
|
else
|
|
1310
|
-
m = To(m, e(
|
|
1310
|
+
m = To(m, e(v, y, l, s));
|
|
1311
1311
|
}), ku(h, m);
|
|
1312
1312
|
}
|
|
1313
1313
|
return o(c, "traverse"), Array.isArray(i) ? i.map(c) : c(i);
|
|
@@ -1463,7 +1463,7 @@ function Jh(e, t) {
|
|
|
1463
1463
|
return e.map(t).join("");
|
|
1464
1464
|
}
|
|
1465
1465
|
o(Jh, "combine");
|
|
1466
|
-
var aa = 1, Yr = 1, Nu = 0, it = 0,
|
|
1466
|
+
var aa = 1, Yr = 1, Nu = 0, it = 0, Ue = 0, lo = "";
|
|
1467
1467
|
function ia(e, t, r, n, i, l, s) {
|
|
1468
1468
|
return { value: e, root: t, parent: r, type: n, props: i, children: l, line: aa, column: Yr, length: s, return: "" };
|
|
1469
1469
|
}
|
|
@@ -1473,15 +1473,15 @@ function vo(e, t) {
|
|
|
1473
1473
|
}
|
|
1474
1474
|
o(vo, "copy");
|
|
1475
1475
|
function eg() {
|
|
1476
|
-
return
|
|
1476
|
+
return Ue;
|
|
1477
1477
|
}
|
|
1478
1478
|
o(eg, "char");
|
|
1479
1479
|
function tg() {
|
|
1480
|
-
return
|
|
1480
|
+
return Ue = it > 0 ? Ye(lo, --it) : 0, Yr--, Ue === 10 && (Yr = 1, aa--), Ue;
|
|
1481
1481
|
}
|
|
1482
1482
|
o(tg, "prev");
|
|
1483
1483
|
function dt() {
|
|
1484
|
-
return
|
|
1484
|
+
return Ue = it < Nu ? Ye(lo, it++) : 0, Yr++, Ue === 10 && (Yr = 1, aa++), Ue;
|
|
1485
1485
|
}
|
|
1486
1486
|
o(dt, "next");
|
|
1487
1487
|
function Ht() {
|
|
@@ -1542,25 +1542,25 @@ function Sn(e) {
|
|
|
1542
1542
|
}
|
|
1543
1543
|
o(Sn, "delimit");
|
|
1544
1544
|
function rg(e) {
|
|
1545
|
-
for (; (
|
|
1545
|
+
for (; (Ue = Ht()) && Ue < 33; )
|
|
1546
1546
|
dt();
|
|
1547
|
-
return Lo(e) > 2 || Lo(
|
|
1547
|
+
return Lo(e) > 2 || Lo(Ue) > 3 ? "" : " ";
|
|
1548
1548
|
}
|
|
1549
1549
|
o(rg, "whitespace");
|
|
1550
1550
|
function og(e, t) {
|
|
1551
|
-
for (; --t && dt() && !(
|
|
1551
|
+
for (; --t && dt() && !(Ue < 48 || Ue > 102 || Ue > 57 && Ue < 65 || Ue > 70 && Ue < 97); )
|
|
1552
1552
|
;
|
|
1553
1553
|
return Yo(e, xn() + (t < 6 && Ht() == 32 && dt() == 32));
|
|
1554
1554
|
}
|
|
1555
1555
|
o(og, "escaping");
|
|
1556
1556
|
function Ja(e) {
|
|
1557
1557
|
for (; dt(); )
|
|
1558
|
-
switch (
|
|
1558
|
+
switch (Ue) {
|
|
1559
1559
|
case e:
|
|
1560
1560
|
return it;
|
|
1561
1561
|
case 34:
|
|
1562
1562
|
case 39:
|
|
1563
|
-
e !== 34 && e !== 39 && Ja(
|
|
1563
|
+
e !== 34 && e !== 39 && Ja(Ue);
|
|
1564
1564
|
break;
|
|
1565
1565
|
case 40:
|
|
1566
1566
|
e === 41 && Ja(e);
|
|
@@ -1573,8 +1573,8 @@ function Ja(e) {
|
|
|
1573
1573
|
}
|
|
1574
1574
|
o(Ja, "delimiter");
|
|
1575
1575
|
function ng(e, t) {
|
|
1576
|
-
for (; dt() && e +
|
|
1577
|
-
if (e +
|
|
1576
|
+
for (; dt() && e + Ue !== 57; )
|
|
1577
|
+
if (e + Ue === 84 && Ht() === 47)
|
|
1578
1578
|
break;
|
|
1579
1579
|
return "/*" + Yo(t, it - 1) + "*" + na(e === 47 ? e : dt());
|
|
1580
1580
|
}
|
|
@@ -1590,10 +1590,10 @@ function ig(e) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
o(ig, "compile");
|
|
1592
1592
|
function En(e, t, r, n, i, l, s, c, u) {
|
|
1593
|
-
for (var d = 0, p = 0, h = s, m = 0,
|
|
1594
|
-
switch (
|
|
1593
|
+
for (var d = 0, p = 0, h = s, m = 0, v = 0, y = 0, g = 1, b = 1, T = 1, C = 0, E = "", x = i, O = l, w = n, F = E; b; )
|
|
1594
|
+
switch (y = C, C = dt()) {
|
|
1595
1595
|
case 40:
|
|
1596
|
-
if (
|
|
1596
|
+
if (y != 108 && Ye(F, h - 1) == 58) {
|
|
1597
1597
|
Za(F += Oe(Sn(C), "&", "&\f"), "&\f") != -1 && (T = -1);
|
|
1598
1598
|
break;
|
|
1599
1599
|
}
|
|
@@ -1606,7 +1606,7 @@ function En(e, t, r, n, i, l, s, c, u) {
|
|
|
1606
1606
|
case 10:
|
|
1607
1607
|
case 13:
|
|
1608
1608
|
case 32:
|
|
1609
|
-
F += rg(
|
|
1609
|
+
F += rg(y);
|
|
1610
1610
|
break;
|
|
1611
1611
|
case 92:
|
|
1612
1612
|
F += og(xn() - 1, 7);
|
|
@@ -1629,9 +1629,9 @@ function En(e, t, r, n, i, l, s, c, u) {
|
|
|
1629
1629
|
switch (C) {
|
|
1630
1630
|
case 0:
|
|
1631
1631
|
case 125:
|
|
1632
|
-
|
|
1632
|
+
b = 0;
|
|
1633
1633
|
case 59 + p:
|
|
1634
|
-
T == -1 && (F = Oe(F, /\f/g, "")),
|
|
1634
|
+
T == -1 && (F = Oe(F, /\f/g, "")), v > 0 && Nt(F) - h && un(v > 32 ? Es(F + ";", n, r, h - 1) : Es(Oe(F, " ", "") + ";", n, r, h - 2), u);
|
|
1635
1635
|
break;
|
|
1636
1636
|
case 59:
|
|
1637
1637
|
F += ";";
|
|
@@ -1651,10 +1651,10 @@ function En(e, t, r, n, i, l, s, c, u) {
|
|
|
1651
1651
|
En(F, w, w, w, [""], O, 0, c, O);
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
d = p =
|
|
1654
|
+
d = p = v = 0, g = T = 1, E = F = "", h = s;
|
|
1655
1655
|
break;
|
|
1656
1656
|
case 58:
|
|
1657
|
-
h = 1 + Nt(F),
|
|
1657
|
+
h = 1 + Nt(F), v = y;
|
|
1658
1658
|
default:
|
|
1659
1659
|
if (g < 1) {
|
|
1660
1660
|
if (C == 123)
|
|
@@ -1673,16 +1673,16 @@ function En(e, t, r, n, i, l, s, c, u) {
|
|
|
1673
1673
|
Ht() === 45 && (F += Sn(dt())), m = Ht(), p = h = Nt(E = F += ag(xn())), C++;
|
|
1674
1674
|
break;
|
|
1675
1675
|
case 45:
|
|
1676
|
-
|
|
1676
|
+
y === 45 && Nt(F) == 2 && (g = 0);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
1679
|
return l;
|
|
1680
1680
|
}
|
|
1681
1681
|
o(En, "parse$2");
|
|
1682
1682
|
function Ss(e, t, r, n, i, l, s, c, u, d, p) {
|
|
1683
|
-
for (var h = i - 1, m = i === 0 ? l : [""],
|
|
1684
|
-
for (var T = 0, C = $o(e, h + 1, h = Yh(g = s[
|
|
1685
|
-
(E = Du(g > 0 ? m[T] + " " + C : Oe(C, /&\f/g, m[T]))) && (u[
|
|
1683
|
+
for (var h = i - 1, m = i === 0 ? l : [""], v = ji(m), y = 0, g = 0, b = 0; y < n; ++y)
|
|
1684
|
+
for (var T = 0, C = $o(e, h + 1, h = Yh(g = s[y])), E = e; T < v; ++T)
|
|
1685
|
+
(E = Du(g > 0 ? m[T] + " " + C : Oe(C, /&\f/g, m[T]))) && (u[b++] = E);
|
|
1686
1686
|
return ia(e, t, r, i === 0 ? Ni : c, u, d, p);
|
|
1687
1687
|
}
|
|
1688
1688
|
o(Ss, "ruleset");
|
|
@@ -1965,8 +1965,8 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1965
1965
|
if (r === "css") {
|
|
1966
1966
|
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
1967
1967
|
Array.prototype.forEach.call(n, function(g) {
|
|
1968
|
-
var
|
|
1969
|
-
|
|
1968
|
+
var b = g.getAttribute("data-emotion");
|
|
1969
|
+
b.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
|
|
1970
1970
|
});
|
|
1971
1971
|
}
|
|
1972
1972
|
var i = t.stylisPlugins || Sg;
|
|
@@ -1978,15 +1978,15 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1978
1978
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
1979
1979
|
document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
|
|
1980
1980
|
function(g) {
|
|
1981
|
-
for (var
|
|
1982
|
-
l[
|
|
1981
|
+
for (var b = g.getAttribute("data-emotion").split(" "), T = 1; T < b.length; T++)
|
|
1982
|
+
l[b[T]] = !0;
|
|
1983
1983
|
c.push(g);
|
|
1984
1984
|
}
|
|
1985
1985
|
);
|
|
1986
1986
|
var u, d = [mg, hg];
|
|
1987
1987
|
process.env.NODE_ENV !== "production" && d.push(vg({
|
|
1988
1988
|
get compat() {
|
|
1989
|
-
return
|
|
1989
|
+
return y.compat;
|
|
1990
1990
|
}
|
|
1991
1991
|
}), Og);
|
|
1992
1992
|
{
|
|
@@ -1994,18 +1994,18 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
1994
1994
|
g.root || (g.return ? p.insert(g.return) : g.value && g.type !== Di && p.insert(g.value + "{}"));
|
|
1995
1995
|
} : ug(function(g) {
|
|
1996
1996
|
p.insert(g);
|
|
1997
|
-
})], m = cg(d.concat(i, h)),
|
|
1998
|
-
return Hr(ig(
|
|
1997
|
+
})], m = cg(d.concat(i, h)), v = /* @__PURE__ */ o(function(b) {
|
|
1998
|
+
return Hr(ig(b), m);
|
|
1999
1999
|
}, "stylis");
|
|
2000
|
-
u = /* @__PURE__ */ o(function(
|
|
2000
|
+
u = /* @__PURE__ */ o(function(b, T, C, E) {
|
|
2001
2001
|
p = C, process.env.NODE_ENV !== "production" && T.map !== void 0 && (p = {
|
|
2002
2002
|
insert: /* @__PURE__ */ o(function(O) {
|
|
2003
2003
|
C.insert(O + T.map);
|
|
2004
2004
|
}, "insert")
|
|
2005
|
-
}), b
|
|
2005
|
+
}), v(b ? b + "{" + T.styles + "}" : T.styles), E && (y.inserted[T.name] = !0);
|
|
2006
2006
|
}, "insert");
|
|
2007
2007
|
}
|
|
2008
|
-
var
|
|
2008
|
+
var y = {
|
|
2009
2009
|
key: r,
|
|
2010
2010
|
sheet: new Gh({
|
|
2011
2011
|
key: r,
|
|
@@ -2020,7 +2020,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2020
2020
|
registered: {},
|
|
2021
2021
|
insert: u
|
|
2022
2022
|
};
|
|
2023
|
-
return
|
|
2023
|
+
return y.sheet.hydrate(c), y;
|
|
2024
2024
|
}, "createCache"), ei = { exports: {} }, Ee = {};
|
|
2025
2025
|
/** @license React v16.13.1
|
|
2026
2026
|
* react-is.production.min.js
|
|
@@ -2034,7 +2034,7 @@ var Cs;
|
|
|
2034
2034
|
function Eg() {
|
|
2035
2035
|
if (Cs) return Ee;
|
|
2036
2036
|
Cs = 1;
|
|
2037
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120,
|
|
2037
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
2038
2038
|
function E(O) {
|
|
2039
2039
|
if (typeof O == "object" && O !== null) {
|
|
2040
2040
|
var w = O.$$typeof;
|
|
@@ -2052,8 +2052,8 @@ function Eg() {
|
|
|
2052
2052
|
switch (O = O && O.$$typeof, O) {
|
|
2053
2053
|
case c:
|
|
2054
2054
|
case p:
|
|
2055
|
+
case y:
|
|
2055
2056
|
case v:
|
|
2056
|
-
case b:
|
|
2057
2057
|
case s:
|
|
2058
2058
|
return O;
|
|
2059
2059
|
default:
|
|
@@ -2069,7 +2069,7 @@ function Eg() {
|
|
|
2069
2069
|
function x(O) {
|
|
2070
2070
|
return E(O) === d;
|
|
2071
2071
|
}
|
|
2072
|
-
return o(x, "A"), Ee.AsyncMode = u, Ee.ConcurrentMode = d, Ee.ContextConsumer = c, Ee.ContextProvider = s, Ee.Element = t, Ee.ForwardRef = p, Ee.Fragment = n, Ee.Lazy =
|
|
2072
|
+
return o(x, "A"), Ee.AsyncMode = u, Ee.ConcurrentMode = d, Ee.ContextConsumer = c, Ee.ContextProvider = s, Ee.Element = t, Ee.ForwardRef = p, Ee.Fragment = n, Ee.Lazy = y, Ee.Memo = v, Ee.Portal = r, Ee.Profiler = l, Ee.StrictMode = i, Ee.Suspense = h, Ee.isAsyncMode = function(O) {
|
|
2073
2073
|
return x(O) || E(O) === u;
|
|
2074
2074
|
}, Ee.isConcurrentMode = x, Ee.isContextConsumer = function(O) {
|
|
2075
2075
|
return E(O) === c;
|
|
@@ -2082,9 +2082,9 @@ function Eg() {
|
|
|
2082
2082
|
}, Ee.isFragment = function(O) {
|
|
2083
2083
|
return E(O) === n;
|
|
2084
2084
|
}, Ee.isLazy = function(O) {
|
|
2085
|
-
return E(O) ===
|
|
2085
|
+
return E(O) === y;
|
|
2086
2086
|
}, Ee.isMemo = function(O) {
|
|
2087
|
-
return E(O) ===
|
|
2087
|
+
return E(O) === v;
|
|
2088
2088
|
}, Ee.isPortal = function(O) {
|
|
2089
2089
|
return E(O) === r;
|
|
2090
2090
|
}, Ee.isProfiler = function(O) {
|
|
@@ -2094,7 +2094,7 @@ function Eg() {
|
|
|
2094
2094
|
}, Ee.isSuspense = function(O) {
|
|
2095
2095
|
return E(O) === h;
|
|
2096
2096
|
}, Ee.isValidElementType = function(O) {
|
|
2097
|
-
return typeof O == "string" || typeof O == "function" || O === n || O === d || O === l || O === i || O === h || O === m || typeof O == "object" && O !== null && (O.$$typeof ===
|
|
2097
|
+
return typeof O == "string" || typeof O == "function" || O === n || O === d || O === l || O === i || O === h || O === m || typeof O == "object" && O !== null && (O.$$typeof === y || O.$$typeof === v || O.$$typeof === s || O.$$typeof === c || O.$$typeof === p || O.$$typeof === b || O.$$typeof === T || O.$$typeof === C || O.$$typeof === g);
|
|
2098
2098
|
}, Ee.typeOf = E, Ee;
|
|
2099
2099
|
}
|
|
2100
2100
|
o(Eg, "requireReactIs_production_min");
|
|
@@ -2110,10 +2110,10 @@ var Pe = {};
|
|
|
2110
2110
|
var Fs;
|
|
2111
2111
|
function Pg() {
|
|
2112
2112
|
return Fs || (Fs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2113
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120,
|
|
2113
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, l = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, h = e ? Symbol.for("react.suspense") : 60113, m = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, C = e ? Symbol.for("react.scope") : 60119;
|
|
2114
2114
|
function E(z) {
|
|
2115
2115
|
return typeof z == "string" || typeof z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2116
|
-
z === n || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof ===
|
|
2116
|
+
z === n || z === d || z === l || z === i || z === h || z === m || typeof z == "object" && z !== null && (z.$$typeof === y || z.$$typeof === v || z.$$typeof === s || z.$$typeof === c || z.$$typeof === p || z.$$typeof === b || z.$$typeof === T || z.$$typeof === C || z.$$typeof === g);
|
|
2117
2117
|
}
|
|
2118
2118
|
o(E, "isValidElementType");
|
|
2119
2119
|
function x(z) {
|
|
@@ -2135,8 +2135,8 @@ function Pg() {
|
|
|
2135
2135
|
switch (re) {
|
|
2136
2136
|
case c:
|
|
2137
2137
|
case p:
|
|
2138
|
+
case y:
|
|
2138
2139
|
case v:
|
|
2139
|
-
case b:
|
|
2140
2140
|
case s:
|
|
2141
2141
|
return re;
|
|
2142
2142
|
default:
|
|
@@ -2149,7 +2149,7 @@ function Pg() {
|
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
2151
|
o(x, "typeOf");
|
|
2152
|
-
var O = u, w = d, F = c, L = s, R = t, M = p, $ = n, N =
|
|
2152
|
+
var O = u, w = d, F = c, L = s, R = t, M = p, $ = n, N = y, A = v, _ = r, j = l, I = i, V = h, k = !1;
|
|
2153
2153
|
function H(z) {
|
|
2154
2154
|
return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), te(z) || x(z) === u;
|
|
2155
2155
|
}
|
|
@@ -2179,11 +2179,11 @@ function Pg() {
|
|
|
2179
2179
|
}
|
|
2180
2180
|
o(U, "isFragment");
|
|
2181
2181
|
function oe(z) {
|
|
2182
|
-
return x(z) ===
|
|
2182
|
+
return x(z) === y;
|
|
2183
2183
|
}
|
|
2184
2184
|
o(oe, "isLazy");
|
|
2185
2185
|
function ve(z) {
|
|
2186
|
-
return x(z) ===
|
|
2186
|
+
return x(z) === v;
|
|
2187
2187
|
}
|
|
2188
2188
|
o(ve, "isMemo");
|
|
2189
2189
|
function ie(z) {
|
|
@@ -2398,8 +2398,8 @@ function Ao(e, t, r) {
|
|
|
2398
2398
|
case "string":
|
|
2399
2399
|
if (process.env.NODE_ENV !== "production") {
|
|
2400
2400
|
var c = [], u = r.replace(Uu, function(p, h, m) {
|
|
2401
|
-
var
|
|
2402
|
-
return c.push("const " +
|
|
2401
|
+
var v = "animation" + c.length;
|
|
2402
|
+
return c.push("const " + v + " = keyframes`" + m.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + v + "}";
|
|
2403
2403
|
});
|
|
2404
2404
|
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + u + "`"]).join(`
|
|
2405
2405
|
`) + `
|
|
@@ -2832,10 +2832,10 @@ You may have forgotten to import it.`);
|
|
|
2832
2832
|
h.push.apply(h, p);
|
|
2833
2833
|
else {
|
|
2834
2834
|
process.env.NODE_ENV !== "production" && p[0][0] === void 0 && console.error(zs), h.push(p[0][0]);
|
|
2835
|
-
for (var m = p.length,
|
|
2836
|
-
process.env.NODE_ENV !== "production" && p[0][
|
|
2835
|
+
for (var m = p.length, v = 1; v < m; v++)
|
|
2836
|
+
process.env.NODE_ENV !== "production" && p[0][v] === void 0 && console.error(zs), h.push(p[v], p[0][v]);
|
|
2837
2837
|
}
|
|
2838
|
-
var
|
|
2838
|
+
var y = ca(function(g, b, T) {
|
|
2839
2839
|
var C = d && g.as || i, E = "", x = [], O = g;
|
|
2840
2840
|
if (g.theme == null) {
|
|
2841
2841
|
O = {};
|
|
@@ -2843,28 +2843,28 @@ You may have forgotten to import it.`);
|
|
|
2843
2843
|
O[w] = g[w];
|
|
2844
2844
|
O.theme = S.useContext(ur);
|
|
2845
2845
|
}
|
|
2846
|
-
typeof g.className == "string" ? E = Vi(
|
|
2847
|
-
var F = Qr(h.concat(x),
|
|
2848
|
-
E +=
|
|
2846
|
+
typeof g.className == "string" ? E = Vi(b.registered, x, g.className) : g.className != null && (E = g.className + " ");
|
|
2847
|
+
var F = Qr(h.concat(x), b.registered, O);
|
|
2848
|
+
E += b.key + "-" + F.name, s !== void 0 && (E += " " + s);
|
|
2849
2849
|
var L = d && c === void 0 ? Vs(C) : u, R = {};
|
|
2850
2850
|
for (var M in g)
|
|
2851
2851
|
d && M === "as" || // $FlowFixMe
|
|
2852
2852
|
L(M) && (R[M] = g[M]);
|
|
2853
2853
|
return R.className = E, R.ref = T, /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement(Zg, {
|
|
2854
|
-
cache:
|
|
2854
|
+
cache: b,
|
|
2855
2855
|
serialized: F,
|
|
2856
2856
|
isStringTag: typeof C == "string"
|
|
2857
2857
|
}), /* @__PURE__ */ S.createElement(C, R));
|
|
2858
2858
|
});
|
|
2859
|
-
return
|
|
2859
|
+
return y.displayName = l !== void 0 ? l : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = i, y.__emotion_styles = h, y.__emotion_forwardProp = c, Object.defineProperty(y, "toString", {
|
|
2860
2860
|
value: /* @__PURE__ */ o(function() {
|
|
2861
2861
|
return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s;
|
|
2862
2862
|
}, "value")
|
|
2863
|
-
}),
|
|
2864
|
-
return e(g, P({}, r,
|
|
2865
|
-
shouldForwardProp: Bs(
|
|
2863
|
+
}), y.withComponent = function(g, b) {
|
|
2864
|
+
return e(g, P({}, r, b, {
|
|
2865
|
+
shouldForwardProp: Bs(y, b, !0)
|
|
2866
2866
|
})).apply(void 0, h);
|
|
2867
|
-
},
|
|
2867
|
+
}, y;
|
|
2868
2868
|
};
|
|
2869
2869
|
}, "createStyled"), eb = [
|
|
2870
2870
|
"a",
|
|
@@ -3188,7 +3188,7 @@ function ub(e, t) {
|
|
|
3188
3188
|
}, t);
|
|
3189
3189
|
}
|
|
3190
3190
|
o(ub, "createMixins");
|
|
3191
|
-
var
|
|
3191
|
+
var ze = {};
|
|
3192
3192
|
const db = /* @__PURE__ */ Yt(Wm);
|
|
3193
3193
|
function od(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
3194
3194
|
return Math.max(t, Math.min(e, r));
|
|
@@ -3199,27 +3199,27 @@ const pb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3199
3199
|
default: od
|
|
3200
3200
|
}, Symbol.toStringTag, { value: "Module" })), fb = /* @__PURE__ */ Yt(pb);
|
|
3201
3201
|
var nd = Le;
|
|
3202
|
-
Object.defineProperty(
|
|
3202
|
+
Object.defineProperty(ze, "__esModule", {
|
|
3203
3203
|
value: !0
|
|
3204
3204
|
});
|
|
3205
|
-
var Xe =
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
var mb =
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
var Ws =
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
var hb =
|
|
3216
|
-
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3222
|
-
|
|
3205
|
+
var Xe = ze.alpha = sd;
|
|
3206
|
+
ze.blend = Tb;
|
|
3207
|
+
ze.colorChannel = void 0;
|
|
3208
|
+
var mb = ze.darken = qi;
|
|
3209
|
+
ze.decomposeColor = Ot;
|
|
3210
|
+
ze.emphasize = cd;
|
|
3211
|
+
var Ws = ze.getContrastRatio = Ob;
|
|
3212
|
+
ze.getLuminance = Ln;
|
|
3213
|
+
ze.hexToRgb = ad;
|
|
3214
|
+
ze.hslToRgb = ld;
|
|
3215
|
+
var hb = ze.lighten = Ki;
|
|
3216
|
+
ze.private_safeAlpha = xb;
|
|
3217
|
+
ze.private_safeColorChannel = void 0;
|
|
3218
|
+
ze.private_safeDarken = Sb;
|
|
3219
|
+
ze.private_safeEmphasize = Pb;
|
|
3220
|
+
ze.private_safeLighten = Eb;
|
|
3221
|
+
ze.recomposeColor = co;
|
|
3222
|
+
ze.rgbToHex = yb;
|
|
3223
3223
|
var Us = nd(db), gb = nd(fb);
|
|
3224
3224
|
function Gi(e, t = 0, r = 1) {
|
|
3225
3225
|
return process.env.NODE_ENV !== "production" && (e < t || e > r) && console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`), (0, gb.default)(e, t, r);
|
|
@@ -3264,7 +3264,7 @@ const id = /* @__PURE__ */ o((e) => {
|
|
|
3264
3264
|
const t = Ot(e);
|
|
3265
3265
|
return t.values.slice(0, 3).map((r, n) => t.type.indexOf("hsl") !== -1 && n !== 0 ? `${r}%` : r).join(" ");
|
|
3266
3266
|
}, "colorChannel");
|
|
3267
|
-
|
|
3267
|
+
ze.colorChannel = id;
|
|
3268
3268
|
const vb = /* @__PURE__ */ o((e, t) => {
|
|
3269
3269
|
try {
|
|
3270
3270
|
return id(e);
|
|
@@ -3272,7 +3272,7 @@ const vb = /* @__PURE__ */ o((e, t) => {
|
|
|
3272
3272
|
return t && process.env.NODE_ENV !== "production" && console.warn(t), e;
|
|
3273
3273
|
}
|
|
3274
3274
|
}, "private_safeColorChannel");
|
|
3275
|
-
|
|
3275
|
+
ze.private_safeColorChannel = vb;
|
|
3276
3276
|
function co(e) {
|
|
3277
3277
|
const {
|
|
3278
3278
|
type: t,
|
|
@@ -3642,27 +3642,27 @@ function Ab(e) {
|
|
|
3642
3642
|
tonalOffset: n = 0.2
|
|
3643
3643
|
} = e, i = G(e, Fb), l = e.primary || wb(t), s = e.secondary || Rb(t), c = e.error || kb(t), u = e.info || Mb(t), d = e.success || $b(t), p = e.warning || Lb(t);
|
|
3644
3644
|
function h(g) {
|
|
3645
|
-
const
|
|
3645
|
+
const b = Ws(g, La.text.primary) >= r ? La.text.primary : Gs.text.primary;
|
|
3646
3646
|
if (process.env.NODE_ENV !== "production") {
|
|
3647
|
-
const T = Ws(g,
|
|
3648
|
-
T < 3 && console.error([`MUI: The contrast ratio of ${T}:1 for ${
|
|
3647
|
+
const T = Ws(g, b);
|
|
3648
|
+
T < 3 && console.error([`MUI: The contrast ratio of ${T}:1 for ${b} on ${g}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
3649
3649
|
`));
|
|
3650
3650
|
}
|
|
3651
|
-
return
|
|
3651
|
+
return b;
|
|
3652
3652
|
}
|
|
3653
3653
|
o(h, "getContrastText");
|
|
3654
3654
|
const m = /* @__PURE__ */ o(({
|
|
3655
3655
|
color: g,
|
|
3656
|
-
name:
|
|
3656
|
+
name: b,
|
|
3657
3657
|
mainShade: T = 500,
|
|
3658
3658
|
lightShade: C = 300,
|
|
3659
3659
|
darkShade: E = 700
|
|
3660
3660
|
}) => {
|
|
3661
3661
|
if (g = P({}, g), !g.main && g[T] && (g.main = g[T]), !g.hasOwnProperty("main"))
|
|
3662
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
3663
|
-
The color object needs to have a \`main\` property or a \`${T}\` property.` : xr(11,
|
|
3662
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${b ? ` (${b})` : ""} provided to augmentColor(color) is invalid.
|
|
3663
|
+
The color object needs to have a \`main\` property or a \`${T}\` property.` : xr(11, b ? ` (${b})` : "", T));
|
|
3664
3664
|
if (typeof g.main != "string")
|
|
3665
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
3665
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${b ? ` (${b})` : ""} provided to augmentColor(color) is invalid.
|
|
3666
3666
|
\`color.main\` should be a string, but \`${JSON.stringify(g.main)}\` was provided instead.
|
|
3667
3667
|
|
|
3668
3668
|
Did you intend to use one of the following approaches?
|
|
@@ -3675,13 +3675,13 @@ const theme1 = createTheme({ palette: {
|
|
|
3675
3675
|
|
|
3676
3676
|
const theme2 = createTheme({ palette: {
|
|
3677
3677
|
primary: { main: green[500] },
|
|
3678
|
-
} });` : xr(12,
|
|
3678
|
+
} });` : xr(12, b ? ` (${b})` : "", JSON.stringify(g.main)));
|
|
3679
3679
|
return qs(g, "light", C, n), qs(g, "dark", E, n), g.contrastText || (g.contrastText = h(g.main)), g;
|
|
3680
|
-
}, "augmentColor"),
|
|
3680
|
+
}, "augmentColor"), v = {
|
|
3681
3681
|
dark: La,
|
|
3682
3682
|
light: Gs
|
|
3683
3683
|
};
|
|
3684
|
-
return process.env.NODE_ENV !== "production" && (
|
|
3684
|
+
return process.env.NODE_ENV !== "production" && (v[t] || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), vt(P({
|
|
3685
3685
|
// A collection of common colors.
|
|
3686
3686
|
common: P({}, Io),
|
|
3687
3687
|
// prevent mutable object.
|
|
@@ -3733,7 +3733,7 @@ const theme2 = createTheme({ palette: {
|
|
|
3733
3733
|
// two indexes within its tonal palette.
|
|
3734
3734
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
3735
3735
|
tonalOffset: n
|
|
3736
|
-
},
|
|
3736
|
+
}, v[t]), i);
|
|
3737
3737
|
}
|
|
3738
3738
|
o(Ab, "createPalette");
|
|
3739
3739
|
const Ib = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
@@ -3762,15 +3762,15 @@ function Nb(e, t) {
|
|
|
3762
3762
|
pxToRem: h
|
|
3763
3763
|
} = r, m = G(r, Ib);
|
|
3764
3764
|
process.env.NODE_ENV !== "production" && (typeof i != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof d != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
3765
|
-
const
|
|
3765
|
+
const v = i / 14, y = h || ((T) => `${T / d * v}rem`), g = /* @__PURE__ */ o((T, C, E, x, O) => P({
|
|
3766
3766
|
fontFamily: n,
|
|
3767
3767
|
fontWeight: T,
|
|
3768
|
-
fontSize:
|
|
3768
|
+
fontSize: y(C),
|
|
3769
3769
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
3770
3770
|
lineHeight: E
|
|
3771
3771
|
}, n === Ys ? {
|
|
3772
3772
|
letterSpacing: `${Db(x / C)}em`
|
|
3773
|
-
} : {}, O, p), "buildVariant"),
|
|
3773
|
+
} : {}, O, p), "buildVariant"), b = {
|
|
3774
3774
|
h1: g(l, 96, 1.167, -1.5),
|
|
3775
3775
|
h2: g(l, 60, 1.2, -0.5),
|
|
3776
3776
|
h3: g(s, 48, 1.167, 0),
|
|
@@ -3795,14 +3795,14 @@ function Nb(e, t) {
|
|
|
3795
3795
|
};
|
|
3796
3796
|
return vt(P({
|
|
3797
3797
|
htmlFontSize: d,
|
|
3798
|
-
pxToRem:
|
|
3798
|
+
pxToRem: y,
|
|
3799
3799
|
fontFamily: n,
|
|
3800
3800
|
fontSize: i,
|
|
3801
3801
|
fontWeightLight: l,
|
|
3802
3802
|
fontWeightRegular: s,
|
|
3803
3803
|
fontWeightMedium: c,
|
|
3804
3804
|
fontWeightBold: u
|
|
3805
|
-
},
|
|
3805
|
+
}, b), m, {
|
|
3806
3806
|
clone: !1
|
|
3807
3807
|
// No need to clone deep
|
|
3808
3808
|
});
|
|
@@ -3900,27 +3900,27 @@ function ud(e = {}, ...t) {
|
|
|
3900
3900
|
zIndex: P({}, qb)
|
|
3901
3901
|
});
|
|
3902
3902
|
if (d = vt(d, s), d = t.reduce((p, h) => vt(p, h), d), process.env.NODE_ENV !== "production") {
|
|
3903
|
-
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = /* @__PURE__ */ o((m,
|
|
3904
|
-
let
|
|
3905
|
-
for (
|
|
3906
|
-
const g = m[
|
|
3907
|
-
if (p.indexOf(
|
|
3903
|
+
const p = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], h = /* @__PURE__ */ o((m, v) => {
|
|
3904
|
+
let y;
|
|
3905
|
+
for (y in m) {
|
|
3906
|
+
const g = m[y];
|
|
3907
|
+
if (p.indexOf(y) !== -1 && Object.keys(g).length > 0) {
|
|
3908
3908
|
if (process.env.NODE_ENV !== "production") {
|
|
3909
|
-
const
|
|
3910
|
-
console.error([`MUI: The \`${
|
|
3909
|
+
const b = ge("", y);
|
|
3910
|
+
console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(m, null, 2), "", `Instead, you need to use the '&.${b}' syntax:`, JSON.stringify({
|
|
3911
3911
|
root: {
|
|
3912
|
-
[`&.${
|
|
3912
|
+
[`&.${b}`]: g
|
|
3913
3913
|
}
|
|
3914
3914
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
3915
3915
|
`));
|
|
3916
3916
|
}
|
|
3917
|
-
m[
|
|
3917
|
+
m[y] = {};
|
|
3918
3918
|
}
|
|
3919
3919
|
}
|
|
3920
3920
|
}, "traverse");
|
|
3921
3921
|
Object.keys(d.components).forEach((m) => {
|
|
3922
|
-
const
|
|
3923
|
-
|
|
3922
|
+
const v = d.components[m].styleOverrides;
|
|
3923
|
+
v && m.indexOf("Mui") === 0 && h(v, m);
|
|
3924
3924
|
});
|
|
3925
3925
|
}
|
|
3926
3926
|
return d.unstable_sxConfig = P({}, qo, s == null ? void 0 : s.unstable_sxConfig), d.unstable_sx = /* @__PURE__ */ o(function(h) {
|
|
@@ -4109,19 +4109,19 @@ function bv(e = {}) {
|
|
|
4109
4109
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4110
4110
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4111
4111
|
overridesResolver: m = gv(ec(d))
|
|
4112
|
-
} = c,
|
|
4112
|
+
} = c, v = (0, oi.default)(c, dv), y = p !== void 0 ? p : (
|
|
4113
4113
|
// TODO v6: remove `Root` in the next major release
|
|
4114
4114
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4115
4115
|
d && d !== "Root" && d !== "root" || !1
|
|
4116
4116
|
), g = h || !1;
|
|
4117
|
-
let
|
|
4118
|
-
process.env.NODE_ENV !== "production" && u && (
|
|
4117
|
+
let b;
|
|
4118
|
+
process.env.NODE_ENV !== "production" && u && (b = `${u}-${ec(d || "Root")}`);
|
|
4119
4119
|
let T = Pn;
|
|
4120
4120
|
d === "Root" || d === "root" ? T = n : d ? T = i : mv(s) && (T = void 0);
|
|
4121
4121
|
const C = (0, Js.default)(s, (0, ht.default)({
|
|
4122
4122
|
shouldForwardProp: T,
|
|
4123
|
-
label:
|
|
4124
|
-
},
|
|
4123
|
+
label: b
|
|
4124
|
+
}, v)), E = /* @__PURE__ */ o((O) => typeof O == "function" && O.__emotion_real !== O || (0, nv.isPlainObject)(O) ? (w) => Tn(O, (0, ht.default)({}, w, {
|
|
4125
4125
|
theme: dn({
|
|
4126
4126
|
theme: w.theme,
|
|
4127
4127
|
defaultTheme: r,
|
|
@@ -4143,7 +4143,7 @@ function bv(e = {}) {
|
|
|
4143
4143
|
theme: N
|
|
4144
4144
|
}));
|
|
4145
4145
|
}), m($, _);
|
|
4146
|
-
}), u && !
|
|
4146
|
+
}), u && !y && L.push(($) => {
|
|
4147
4147
|
var N;
|
|
4148
4148
|
const A = dn((0, ht.default)({}, $, {
|
|
4149
4149
|
defaultTheme: r,
|
|
@@ -4214,7 +4214,7 @@ const Ov = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4214
4214
|
theme: e,
|
|
4215
4215
|
ownerState: t
|
|
4216
4216
|
}) => {
|
|
4217
|
-
var r, n, i, l, s, c, u, d, p, h, m,
|
|
4217
|
+
var r, n, i, l, s, c, u, d, p, h, m, v, y;
|
|
4218
4218
|
return {
|
|
4219
4219
|
userSelect: "none",
|
|
4220
4220
|
width: "1em",
|
|
@@ -4235,8 +4235,8 @@ const Ov = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4235
4235
|
}[t.fontSize],
|
|
4236
4236
|
// TODO v5 deprecate, v6 remove for sx
|
|
4237
4237
|
color: (h = (m = (e.vars || e).palette) == null || (m = m[t.color]) == null ? void 0 : m.main) != null ? h : {
|
|
4238
|
-
action: (
|
|
4239
|
-
disabled: (
|
|
4238
|
+
action: (v = (e.vars || e).palette) == null || (v = v.action) == null ? void 0 : v.active,
|
|
4239
|
+
disabled: (y = (e.vars || e).palette) == null || (y = y.action) == null ? void 0 : y.disabled,
|
|
4240
4240
|
inherit: void 0
|
|
4241
4241
|
}[t.color]
|
|
4242
4242
|
};
|
|
@@ -4254,16 +4254,16 @@ const Ov = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4254
4254
|
inheritViewBox: p = !1,
|
|
4255
4255
|
titleAccess: h,
|
|
4256
4256
|
viewBox: m = "0 0 24 24"
|
|
4257
|
-
} = n,
|
|
4257
|
+
} = n, v = G(n, Ov), y = /* @__PURE__ */ S.isValidElement(i) && i.type === "svg", g = P({}, n, {
|
|
4258
4258
|
color: s,
|
|
4259
4259
|
component: c,
|
|
4260
4260
|
fontSize: u,
|
|
4261
4261
|
instanceFontSize: t.fontSize,
|
|
4262
4262
|
inheritViewBox: p,
|
|
4263
4263
|
viewBox: m,
|
|
4264
|
-
hasSvgAsChild:
|
|
4265
|
-
}),
|
|
4266
|
-
p || (
|
|
4264
|
+
hasSvgAsChild: y
|
|
4265
|
+
}), b = {};
|
|
4266
|
+
p || (b.viewBox = m);
|
|
4267
4267
|
const T = xv(g);
|
|
4268
4268
|
return /* @__PURE__ */ B(Sv, P({
|
|
4269
4269
|
as: c,
|
|
@@ -4273,9 +4273,9 @@ const Ov = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4273
4273
|
"aria-hidden": h ? void 0 : !0,
|
|
4274
4274
|
role: h ? "img" : void 0,
|
|
4275
4275
|
ref: r
|
|
4276
|
-
},
|
|
4276
|
+
}, b, v, y && i.props, {
|
|
4277
4277
|
ownerState: g,
|
|
4278
|
-
children: [
|
|
4278
|
+
children: [y ? i.props.children : i, h ? /* @__PURE__ */ f("title", {
|
|
4279
4279
|
children: h
|
|
4280
4280
|
}) : null]
|
|
4281
4281
|
}));
|
|
@@ -4410,9 +4410,9 @@ function Tv(e, t) {
|
|
|
4410
4410
|
return /* @__PURE__ */ o((i) => (l, s, c, u, d, ...p) => {
|
|
4411
4411
|
const h = d || s, m = r == null ? void 0 : r[h];
|
|
4412
4412
|
if (m) {
|
|
4413
|
-
const
|
|
4414
|
-
if (
|
|
4415
|
-
return
|
|
4413
|
+
const v = m(l, s, c, u, d, ...p);
|
|
4414
|
+
if (v)
|
|
4415
|
+
return v;
|
|
4416
4416
|
}
|
|
4417
4417
|
return typeof l[s] < "u" && !l[i] ? new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${i}\` prop.`) : null;
|
|
4418
4418
|
}, "requireProp");
|
|
@@ -4724,14 +4724,14 @@ function Qv(e = {}) {
|
|
|
4724
4724
|
return /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(u, d) {
|
|
4725
4725
|
const p = Ui(r), h = da(u), {
|
|
4726
4726
|
className: m,
|
|
4727
|
-
component:
|
|
4728
|
-
} = h,
|
|
4727
|
+
component: v = "div"
|
|
4728
|
+
} = h, y = G(h, Yv);
|
|
4729
4729
|
return /* @__PURE__ */ f(l, P({
|
|
4730
|
-
as:
|
|
4730
|
+
as: v,
|
|
4731
4731
|
ref: d,
|
|
4732
4732
|
className: K(m, i ? i(n) : n),
|
|
4733
4733
|
theme: t && p[t] || p
|
|
4734
|
-
},
|
|
4734
|
+
}, y));
|
|
4735
4735
|
}, "Box"));
|
|
4736
4736
|
}
|
|
4737
4737
|
o(Qv, "createBox");
|
|
@@ -4816,19 +4816,19 @@ function ny(e = {}) {
|
|
|
4816
4816
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4817
4817
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4818
4818
|
overridesResolver: m = oy(ac(d))
|
|
4819
|
-
} = c,
|
|
4819
|
+
} = c, v = G(c, Jv), y = p !== void 0 ? p : (
|
|
4820
4820
|
// TODO v6: remove `Root` in the next major release
|
|
4821
4821
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4822
4822
|
d && d !== "Root" && d !== "root" || !1
|
|
4823
4823
|
), g = h || !1;
|
|
4824
|
-
let
|
|
4825
|
-
process.env.NODE_ENV !== "production" && u && (
|
|
4824
|
+
let b;
|
|
4825
|
+
process.env.NODE_ENV !== "production" && u && (b = `${u}-${ac(d || "Root")}`);
|
|
4826
4826
|
let T = Da;
|
|
4827
4827
|
d === "Root" || d === "root" ? T = n : d ? T = i : ty(s) && (T = void 0);
|
|
4828
4828
|
const C = Wi(s, P({
|
|
4829
4829
|
shouldForwardProp: T,
|
|
4830
|
-
label:
|
|
4831
|
-
},
|
|
4830
|
+
label: b
|
|
4831
|
+
}, v)), E = /* @__PURE__ */ o((O) => typeof O == "function" && O.__emotion_real !== O || Zt(O) ? (w) => Cn(O, P({}, w, {
|
|
4832
4832
|
theme: pn({
|
|
4833
4833
|
theme: w.theme,
|
|
4834
4834
|
defaultTheme: r,
|
|
@@ -4850,7 +4850,7 @@ function ny(e = {}) {
|
|
|
4850
4850
|
theme: N
|
|
4851
4851
|
}));
|
|
4852
4852
|
}), m($, _);
|
|
4853
|
-
}), u && !
|
|
4853
|
+
}), u && !y && L.push(($) => {
|
|
4854
4854
|
var N;
|
|
4855
4855
|
const A = pn(P({}, $, {
|
|
4856
4856
|
defaultTheme: r,
|
|
@@ -5147,15 +5147,15 @@ function Ty(e = {}) {
|
|
|
5147
5147
|
}, (u) => ge(n, u), {}), "useUtilityClasses"), l = t(Py), s = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(u, d) {
|
|
5148
5148
|
const p = r(u), h = da(p), {
|
|
5149
5149
|
component: m = "div",
|
|
5150
|
-
direction:
|
|
5151
|
-
spacing:
|
|
5150
|
+
direction: v = "column",
|
|
5151
|
+
spacing: y = 0,
|
|
5152
5152
|
divider: g,
|
|
5153
|
-
children:
|
|
5153
|
+
children: b,
|
|
5154
5154
|
className: T,
|
|
5155
5155
|
useFlexGap: C = !1
|
|
5156
5156
|
} = h, E = G(h, vy), x = {
|
|
5157
|
-
direction:
|
|
5158
|
-
spacing:
|
|
5157
|
+
direction: v,
|
|
5158
|
+
spacing: y,
|
|
5159
5159
|
useFlexGap: C
|
|
5160
5160
|
}, O = i();
|
|
5161
5161
|
return /* @__PURE__ */ f(l, P({
|
|
@@ -5164,7 +5164,7 @@ function Ty(e = {}) {
|
|
|
5164
5164
|
ref: d,
|
|
5165
5165
|
className: K(O.root, T)
|
|
5166
5166
|
}, E, {
|
|
5167
|
-
children: g ? Sy(
|
|
5167
|
+
children: g ? Sy(b, g) : b
|
|
5168
5168
|
}));
|
|
5169
5169
|
}, "Grid"));
|
|
5170
5170
|
return process.env.NODE_ENV !== "production" && (s.propTypes = {
|
|
@@ -5291,8 +5291,8 @@ function Rd(e) {
|
|
|
5291
5291
|
className: l
|
|
5292
5292
|
} = e;
|
|
5293
5293
|
if (!t) {
|
|
5294
|
-
const
|
|
5295
|
-
return
|
|
5294
|
+
const v = K(r == null ? void 0 : r.className, l, i == null ? void 0 : i.className, n == null ? void 0 : n.className), y = P({}, r == null ? void 0 : r.style, i == null ? void 0 : i.style, n == null ? void 0 : n.style), g = P({}, r, i, n);
|
|
5295
|
+
return v.length > 0 && (g.className = v), Object.keys(y).length > 0 && (g.style = y), {
|
|
5296
5296
|
props: g,
|
|
5297
5297
|
internalRef: void 0
|
|
5298
5298
|
};
|
|
@@ -5477,18 +5477,18 @@ function Yy(e) {
|
|
|
5477
5477
|
onClose: d,
|
|
5478
5478
|
open: p,
|
|
5479
5479
|
rootRef: h
|
|
5480
|
-
} = e, m = S.useRef({}),
|
|
5480
|
+
} = e, m = S.useRef({}), v = S.useRef(null), y = S.useRef(null), g = qr(y, h), [b, T] = S.useState(!p), C = qy(u);
|
|
5481
5481
|
let E = !0;
|
|
5482
5482
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (E = !1);
|
|
5483
|
-
const x = /* @__PURE__ */ o(() => zt(
|
|
5483
|
+
const x = /* @__PURE__ */ o(() => zt(v.current), "getDoc"), O = /* @__PURE__ */ o(() => (m.current.modalRef = y.current, m.current.mount = v.current, m.current), "getModal"), w = /* @__PURE__ */ o(() => {
|
|
5484
5484
|
i.mount(O(), {
|
|
5485
5485
|
disableScrollLock: n
|
|
5486
|
-
}),
|
|
5486
|
+
}), y.current && (y.current.scrollTop = 0);
|
|
5487
5487
|
}, "handleMounted"), F = ys(() => {
|
|
5488
5488
|
const I = Gy(t) || x().body;
|
|
5489
|
-
i.add(O(), I),
|
|
5489
|
+
i.add(O(), I), y.current && w();
|
|
5490
5490
|
}), L = S.useCallback(() => i.isTopModal(O()), [i]), R = ys((I) => {
|
|
5491
|
-
|
|
5491
|
+
v.current = I, I && (p && L() ? w() : y.current && Co(y.current, E));
|
|
5492
5492
|
}), M = S.useCallback(() => {
|
|
5493
5493
|
i.remove(O(), E);
|
|
5494
5494
|
}, [E, i]);
|
|
@@ -5540,7 +5540,7 @@ function Yy(e) {
|
|
|
5540
5540
|
rootRef: g,
|
|
5541
5541
|
portalRef: R,
|
|
5542
5542
|
isTopModal: L,
|
|
5543
|
-
exited:
|
|
5543
|
+
exited: b,
|
|
5544
5544
|
hasTransition: C
|
|
5545
5545
|
};
|
|
5546
5546
|
}
|
|
@@ -5623,24 +5623,24 @@ function Nn(e) {
|
|
|
5623
5623
|
getTabbable: l = tO,
|
|
5624
5624
|
isEnabled: s = rO,
|
|
5625
5625
|
open: c
|
|
5626
|
-
} = e, u = S.useRef(!1), d = S.useRef(null), p = S.useRef(null), h = S.useRef(null), m = S.useRef(null),
|
|
5626
|
+
} = e, u = S.useRef(!1), d = S.useRef(null), p = S.useRef(null), h = S.useRef(null), m = S.useRef(null), v = S.useRef(!1), y = S.useRef(null), g = qr(t.ref, y), b = S.useRef(null);
|
|
5627
5627
|
S.useEffect(() => {
|
|
5628
|
-
!c || !
|
|
5628
|
+
!c || !y.current || (v.current = !r);
|
|
5629
5629
|
}, [r, c]), S.useEffect(() => {
|
|
5630
|
-
if (!c || !
|
|
5630
|
+
if (!c || !y.current)
|
|
5631
5631
|
return;
|
|
5632
|
-
const E = zt(
|
|
5633
|
-
return
|
|
5634
|
-
`)),
|
|
5632
|
+
const E = zt(y.current);
|
|
5633
|
+
return y.current.contains(E.activeElement) || (y.current.hasAttribute("tabIndex") || (process.env.NODE_ENV !== "production" && console.error(["MUI: The modal content node does not accept focus.", 'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
5634
|
+
`)), y.current.setAttribute("tabIndex", "-1")), v.current && y.current.focus()), () => {
|
|
5635
5635
|
i || (h.current && h.current.focus && (u.current = !0, h.current.focus()), h.current = null);
|
|
5636
5636
|
};
|
|
5637
5637
|
}, [c]), S.useEffect(() => {
|
|
5638
|
-
if (!c || !
|
|
5638
|
+
if (!c || !y.current)
|
|
5639
5639
|
return;
|
|
5640
|
-
const E = zt(
|
|
5641
|
-
|
|
5640
|
+
const E = zt(y.current), x = /* @__PURE__ */ o((F) => {
|
|
5641
|
+
b.current = F, !(n || !s() || F.key !== "Tab") && E.activeElement === y.current && F.shiftKey && (u.current = !0, p.current && p.current.focus());
|
|
5642
5642
|
}, "loopFocus"), O = /* @__PURE__ */ o(() => {
|
|
5643
|
-
const F =
|
|
5643
|
+
const F = y.current;
|
|
5644
5644
|
if (F === null)
|
|
5645
5645
|
return;
|
|
5646
5646
|
if (!E.hasFocus() || !s() || u.current) {
|
|
@@ -5653,12 +5653,12 @@ function Nn(e) {
|
|
|
5653
5653
|
m.current = null;
|
|
5654
5654
|
else if (m.current !== null)
|
|
5655
5655
|
return;
|
|
5656
|
-
if (!
|
|
5656
|
+
if (!v.current)
|
|
5657
5657
|
return;
|
|
5658
5658
|
let L = [];
|
|
5659
|
-
if ((E.activeElement === d.current || E.activeElement === p.current) && (L = l(
|
|
5659
|
+
if ((E.activeElement === d.current || E.activeElement === p.current) && (L = l(y.current)), L.length > 0) {
|
|
5660
5660
|
var R, M;
|
|
5661
|
-
const $ = !!((R =
|
|
5661
|
+
const $ = !!((R = b.current) != null && R.shiftKey && ((M = b.current) == null ? void 0 : M.key) === "Tab"), N = L[0], A = L[L.length - 1];
|
|
5662
5662
|
typeof N != "string" && typeof A != "string" && ($ ? A.focus() : N.focus());
|
|
5663
5663
|
} else
|
|
5664
5664
|
F.focus();
|
|
@@ -5672,11 +5672,11 @@ function Nn(e) {
|
|
|
5672
5672
|
};
|
|
5673
5673
|
}, [r, n, i, s, c, l]);
|
|
5674
5674
|
const T = /* @__PURE__ */ o((E) => {
|
|
5675
|
-
h.current === null && (h.current = E.relatedTarget),
|
|
5675
|
+
h.current === null && (h.current = E.relatedTarget), v.current = !0, m.current = E.target;
|
|
5676
5676
|
const x = t.props.onFocus;
|
|
5677
5677
|
x && x(E);
|
|
5678
5678
|
}, "onFocus"), C = /* @__PURE__ */ o((E) => {
|
|
5679
|
-
h.current === null && (h.current = E.relatedTarget),
|
|
5679
|
+
h.current === null && (h.current = E.relatedTarget), v.current = !0;
|
|
5680
5680
|
}, "handleFocusSentinel");
|
|
5681
5681
|
return /* @__PURE__ */ B(S.Fragment, {
|
|
5682
5682
|
children: [/* @__PURE__ */ f("div", {
|
|
@@ -6387,10 +6387,10 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6387
6387
|
onEnter: p,
|
|
6388
6388
|
onEntered: h,
|
|
6389
6389
|
onEntering: m,
|
|
6390
|
-
onExit:
|
|
6391
|
-
onExited:
|
|
6390
|
+
onExit: v,
|
|
6391
|
+
onExited: y,
|
|
6392
6392
|
onExiting: g,
|
|
6393
|
-
style:
|
|
6393
|
+
style: b,
|
|
6394
6394
|
timeout: T = i,
|
|
6395
6395
|
// eslint-disable-next-line react/prop-types
|
|
6396
6396
|
TransitionComponent: C = Lt
|
|
@@ -6402,7 +6402,7 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6402
6402
|
}, "normalizedTransitionCallback"), F = w(m), L = w((_, j) => {
|
|
6403
6403
|
ll(_);
|
|
6404
6404
|
const I = Zr({
|
|
6405
|
-
style:
|
|
6405
|
+
style: b,
|
|
6406
6406
|
timeout: T,
|
|
6407
6407
|
easing: u
|
|
6408
6408
|
}, {
|
|
@@ -6411,14 +6411,14 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6411
6411
|
_.style.webkitTransition = n.transitions.create("opacity", I), _.style.transition = n.transitions.create("opacity", I), p && p(_, j);
|
|
6412
6412
|
}), R = w(h), M = w(g), $ = w((_) => {
|
|
6413
6413
|
const j = Zr({
|
|
6414
|
-
style:
|
|
6414
|
+
style: b,
|
|
6415
6415
|
timeout: T,
|
|
6416
6416
|
easing: u
|
|
6417
6417
|
}, {
|
|
6418
6418
|
mode: "exit"
|
|
6419
6419
|
});
|
|
6420
|
-
_.style.webkitTransition = n.transitions.create("opacity", j), _.style.transition = n.transitions.create("opacity", j),
|
|
6421
|
-
}), N = w(
|
|
6420
|
+
_.style.webkitTransition = n.transitions.create("opacity", j), _.style.transition = n.transitions.create("opacity", j), v && v(_);
|
|
6421
|
+
}), N = w(y);
|
|
6422
6422
|
return /* @__PURE__ */ f(C, P({
|
|
6423
6423
|
appear: s,
|
|
6424
6424
|
in: d,
|
|
@@ -6438,7 +6438,7 @@ const pO = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
6438
6438
|
style: P({
|
|
6439
6439
|
opacity: 0,
|
|
6440
6440
|
visibility: _ === "exited" && !d ? "hidden" : void 0
|
|
6441
|
-
}, fO[_],
|
|
6441
|
+
}, fO[_], b, c.props.style),
|
|
6442
6442
|
ref: O
|
|
6443
6443
|
}, j)), "children")
|
|
6444
6444
|
}));
|
|
@@ -6567,17 +6567,17 @@ const hO = ["children", "className", "component", "components", "componentsProps
|
|
|
6567
6567
|
components: p = {},
|
|
6568
6568
|
componentsProps: h = {},
|
|
6569
6569
|
invisible: m = !1,
|
|
6570
|
-
open:
|
|
6571
|
-
slotProps:
|
|
6570
|
+
open: v,
|
|
6571
|
+
slotProps: y = {},
|
|
6572
6572
|
slots: g = {},
|
|
6573
|
-
TransitionComponent:
|
|
6573
|
+
TransitionComponent: b = sl,
|
|
6574
6574
|
transitionDuration: T
|
|
6575
6575
|
} = s, C = G(s, hO), E = P({}, s, {
|
|
6576
6576
|
component: d,
|
|
6577
6577
|
invisible: m
|
|
6578
|
-
}), x = gO(E), O = (n =
|
|
6579
|
-
return /* @__PURE__ */ f(
|
|
6580
|
-
in:
|
|
6578
|
+
}), x = gO(E), O = (n = y.root) != null ? n : h.root;
|
|
6579
|
+
return /* @__PURE__ */ f(b, P({
|
|
6580
|
+
in: v,
|
|
6581
6581
|
timeout: T
|
|
6582
6582
|
}, C, {
|
|
6583
6583
|
children: /* @__PURE__ */ f(bO, P({
|
|
@@ -6739,10 +6739,10 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6739
6739
|
BackdropComponent: p = SO,
|
|
6740
6740
|
BackdropProps: h,
|
|
6741
6741
|
className: m,
|
|
6742
|
-
closeAfterTransition:
|
|
6743
|
-
children:
|
|
6742
|
+
closeAfterTransition: v = !1,
|
|
6743
|
+
children: y,
|
|
6744
6744
|
container: g,
|
|
6745
|
-
component:
|
|
6745
|
+
component: b,
|
|
6746
6746
|
components: T = {},
|
|
6747
6747
|
componentsProps: C = {},
|
|
6748
6748
|
disableAutoFocus: E = !1,
|
|
@@ -6759,7 +6759,7 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6759
6759
|
slots: _
|
|
6760
6760
|
// eslint-disable-next-line react/prop-types
|
|
6761
6761
|
} = d, j = G(d, yO), I = P({}, d, {
|
|
6762
|
-
closeAfterTransition:
|
|
6762
|
+
closeAfterTransition: v,
|
|
6763
6763
|
disableAutoFocus: E,
|
|
6764
6764
|
disableEnforceFocus: x,
|
|
6765
6765
|
disableEscapeKeyDown: O,
|
|
@@ -6781,7 +6781,7 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6781
6781
|
})), ae = P({}, I, {
|
|
6782
6782
|
exited: ne
|
|
6783
6783
|
}), U = OO(ae), oe = {};
|
|
6784
|
-
if (
|
|
6784
|
+
if (y.props.tabIndex === void 0 && (oe.tabIndex = "-1"), Re) {
|
|
6785
6785
|
const {
|
|
6786
6786
|
onEnter: X,
|
|
6787
6787
|
onExited: D
|
|
@@ -6795,7 +6795,7 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6795
6795
|
getSlotProps: V,
|
|
6796
6796
|
additionalProps: {
|
|
6797
6797
|
ref: r,
|
|
6798
|
-
as:
|
|
6798
|
+
as: b
|
|
6799
6799
|
},
|
|
6800
6800
|
ownerState: ae,
|
|
6801
6801
|
className: K(m, ee == null ? void 0 : ee.className, U == null ? void 0 : U.root, !ae.open && ae.exited && (U == null ? void 0 : U.hidden))
|
|
@@ -6822,7 +6822,7 @@ const yO = ["BackdropComponent", "BackdropProps", "classes", "className", "close
|
|
|
6822
6822
|
disableRestoreFocus: F,
|
|
6823
6823
|
isEnabled: he,
|
|
6824
6824
|
open: N,
|
|
6825
|
-
children: /* @__PURE__ */ S.cloneElement(
|
|
6825
|
+
children: /* @__PURE__ */ S.cloneElement(y, oe)
|
|
6826
6826
|
})]
|
|
6827
6827
|
}))
|
|
6828
6828
|
});
|
|
@@ -7304,10 +7304,10 @@ const MO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7304
7304
|
children: p,
|
|
7305
7305
|
className: h,
|
|
7306
7306
|
disableEscapeKeyDown: m = !1,
|
|
7307
|
-
fullScreen:
|
|
7308
|
-
fullWidth:
|
|
7307
|
+
fullScreen: v = !1,
|
|
7308
|
+
fullWidth: y = !1,
|
|
7309
7309
|
maxWidth: g = "sm",
|
|
7310
|
-
onBackdropClick:
|
|
7310
|
+
onBackdropClick: b,
|
|
7311
7311
|
onClick: T,
|
|
7312
7312
|
onClose: C,
|
|
7313
7313
|
open: E,
|
|
@@ -7319,14 +7319,14 @@ const MO = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
7319
7319
|
TransitionProps: R
|
|
7320
7320
|
} = n, M = G(n, MO), $ = P({}, n, {
|
|
7321
7321
|
disableEscapeKeyDown: m,
|
|
7322
|
-
fullScreen:
|
|
7323
|
-
fullWidth:
|
|
7322
|
+
fullScreen: v,
|
|
7323
|
+
fullWidth: y,
|
|
7324
7324
|
maxWidth: g,
|
|
7325
7325
|
scroll: w
|
|
7326
7326
|
}), N = LO($), A = S.useRef(), _ = /* @__PURE__ */ o((k) => {
|
|
7327
7327
|
A.current = k.target === k.currentTarget;
|
|
7328
7328
|
}, "handleMouseDown"), j = /* @__PURE__ */ o((k) => {
|
|
7329
|
-
T && T(k), A.current && (A.current = null,
|
|
7329
|
+
T && T(k), A.current && (A.current = null, b && b(k), C && C(k, "backdropClick"));
|
|
7330
7330
|
}, "handleBackdropClick"), I = Qi(c), V = S.useMemo(() => ({
|
|
7331
7331
|
titleId: I
|
|
7332
7332
|
}), [I]);
|
|
@@ -7748,8 +7748,8 @@ const KO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
7748
7748
|
noWrap: p = !1,
|
|
7749
7749
|
paragraph: h = !1,
|
|
7750
7750
|
variant: m = "body1",
|
|
7751
|
-
variantMapping:
|
|
7752
|
-
} = l,
|
|
7751
|
+
variantMapping: v = fc
|
|
7752
|
+
} = l, y = G(l, KO), g = P({}, l, {
|
|
7753
7753
|
align: s,
|
|
7754
7754
|
color: i,
|
|
7755
7755
|
className: c,
|
|
@@ -7758,14 +7758,14 @@ const KO = ["align", "className", "component", "gutterBottom", "noWrap", "paragr
|
|
|
7758
7758
|
noWrap: p,
|
|
7759
7759
|
paragraph: h,
|
|
7760
7760
|
variant: m,
|
|
7761
|
-
variantMapping:
|
|
7762
|
-
}),
|
|
7761
|
+
variantMapping: v
|
|
7762
|
+
}), b = u || (h ? "p" : v[m] || fc[m]) || "span", T = YO(g);
|
|
7763
7763
|
return /* @__PURE__ */ f(QO, P({
|
|
7764
|
-
as:
|
|
7764
|
+
as: b,
|
|
7765
7765
|
ref: r,
|
|
7766
7766
|
ownerState: g,
|
|
7767
7767
|
className: K(T.root, c)
|
|
7768
|
-
},
|
|
7768
|
+
}, y));
|
|
7769
7769
|
}, "Typography"));
|
|
7770
7770
|
process.env.NODE_ENV !== "production" && (sr.propTypes = {
|
|
7771
7771
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -14476,7 +14476,7 @@ const pe = /* @__PURE__ */ o((e, t) => {
|
|
|
14476
14476
|
});
|
|
14477
14477
|
})(ba);
|
|
14478
14478
|
const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
14479
|
-
const [t, r] =
|
|
14479
|
+
const [t, r] = Ve(!1), n = Mt(
|
|
14480
14480
|
() => ({
|
|
14481
14481
|
open: t,
|
|
14482
14482
|
show: /* @__PURE__ */ o(() => r(!0), "show"),
|
|
@@ -14486,7 +14486,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14486
14486
|
);
|
|
14487
14487
|
return /* @__PURE__ */ f(Id.Provider, { value: n, children: e });
|
|
14488
14488
|
}, "ProgressProvider"), an = /* @__PURE__ */ o(() => Te(Id), "useFormProgress"), Dd = ao(), fl = /* @__PURE__ */ o(({ children: e }) => {
|
|
14489
|
-
const [t, r] =
|
|
14489
|
+
const [t, r] = Ve(!1), [n, i] = Ve({}), l = Mt(
|
|
14490
14490
|
() => ({
|
|
14491
14491
|
open: t,
|
|
14492
14492
|
props: n,
|
|
@@ -14499,7 +14499,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14499
14499
|
);
|
|
14500
14500
|
return /* @__PURE__ */ f(Dd.Provider, { value: l, children: e });
|
|
14501
14501
|
}, "AsistenteProvider"), ya = /* @__PURE__ */ o(() => Te(Dd), "useAsistente"), Nd = ao(), r0 = /* @__PURE__ */ o(({ children: e }) => {
|
|
14502
|
-
const [t, r] =
|
|
14502
|
+
const [t, r] = Ve({}), n = Mt(
|
|
14503
14503
|
() => ({
|
|
14504
14504
|
props: t,
|
|
14505
14505
|
setProps: /* @__PURE__ */ o((i) => {
|
|
@@ -14632,15 +14632,15 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14632
14632
|
translate: d
|
|
14633
14633
|
};
|
|
14634
14634
|
}, "useUtilsGrilla"), d0 = /* @__PURE__ */ o((e) => {
|
|
14635
|
-
const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = qe(e), h = ya(), { propsContenidos: m, setPropsContenidos:
|
|
14635
|
+
const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = qe(e), h = ya(), { propsContenidos: m, setPropsContenidos: v } = bl(), [y] = hl(p), g = e.etrs || {};
|
|
14636
14636
|
return {
|
|
14637
|
-
ajax:
|
|
14637
|
+
ajax: y,
|
|
14638
14638
|
notify: u,
|
|
14639
14639
|
redirect: d,
|
|
14640
14640
|
recargarComboBox: t,
|
|
14641
14641
|
progress: c,
|
|
14642
14642
|
asistente: h,
|
|
14643
|
-
ficha: { propsContenidos: m, setPropsContenidos:
|
|
14643
|
+
ficha: { propsContenidos: m, setPropsContenidos: v },
|
|
14644
14644
|
setHidden: r,
|
|
14645
14645
|
setDisable: n,
|
|
14646
14646
|
setRequire: i,
|
|
@@ -14649,7 +14649,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14649
14649
|
etrs: g
|
|
14650
14650
|
};
|
|
14651
14651
|
}, "useUtilsSubmit"), Qt = /* @__PURE__ */ o((e) => {
|
|
14652
|
-
const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = $t(), h = qe(e), m = ya(), { propsContenidos:
|
|
14652
|
+
const t = _d(), r = jd(), n = Vd(), i = Bd(), l = zd(), s = Hd(), c = an(), u = tr(), d = Wo(), p = $t(), h = qe(e), m = ya(), { propsContenidos: v, setPropsContenidos: y } = bl(), [g] = hl(h), b = e.etrs || {}, T = e.asisEtr || {}, C = p == null ? void 0 : p.trigger;
|
|
14653
14653
|
return {
|
|
14654
14654
|
form: p,
|
|
14655
14655
|
ajax: g,
|
|
@@ -14658,7 +14658,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14658
14658
|
recargarComboBox: t,
|
|
14659
14659
|
progress: c,
|
|
14660
14660
|
asistente: m,
|
|
14661
|
-
ficha: { propsContenidos:
|
|
14661
|
+
ficha: { propsContenidos: v, setPropsContenidos: y },
|
|
14662
14662
|
setHidden: we(
|
|
14663
14663
|
(E, x) => {
|
|
14664
14664
|
r(E, x), setTimeout(() => {
|
|
@@ -14699,11 +14699,11 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14699
14699
|
},
|
|
14700
14700
|
[s, C]
|
|
14701
14701
|
),
|
|
14702
|
-
etrs:
|
|
14702
|
+
etrs: b,
|
|
14703
14703
|
asisEtr: T
|
|
14704
14704
|
};
|
|
14705
14705
|
}, "useUtilsFicha"), Ge = ao({}), fo = ao(void 0), gl = /* @__PURE__ */ o(({ value: e, children: t }) => {
|
|
14706
|
-
const [r, n] =
|
|
14706
|
+
const [r, n] = Ve({}), i = Mt(
|
|
14707
14707
|
() => ({
|
|
14708
14708
|
estado: e.estado,
|
|
14709
14709
|
initialValues: e.initialValues,
|
|
@@ -14735,7 +14735,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14735
14735
|
hidden: p,
|
|
14736
14736
|
isLoading: r,
|
|
14737
14737
|
...d
|
|
14738
|
-
}), { hidden: m, ...
|
|
14738
|
+
}), { hidden: m, ...v } = h;
|
|
14739
14739
|
if (h === void 0)
|
|
14740
14740
|
throw new Error(
|
|
14741
14741
|
`useContenido está devolviendo undefined para el contenido ${e.source}
|
|
@@ -14745,7 +14745,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14745
14745
|
propsContenido: {
|
|
14746
14746
|
...s,
|
|
14747
14747
|
...d,
|
|
14748
|
-
...
|
|
14748
|
+
...v
|
|
14749
14749
|
},
|
|
14750
14750
|
hidden: m !== void 0 ? m : p
|
|
14751
14751
|
};
|
|
@@ -14790,7 +14790,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14790
14790
|
const { apiRef: t, source: r, enviarTodo: n } = e, i = "M";
|
|
14791
14791
|
return we(
|
|
14792
14792
|
(l, s, c) => {
|
|
14793
|
-
var
|
|
14793
|
+
var v, y;
|
|
14794
14794
|
const u = typeof l == "number" ? "N" : i, d = Ud(s);
|
|
14795
14795
|
t.current.updateRows([{ ...d, id: l }]);
|
|
14796
14796
|
const p = n ? Array.from(t.current.getRowModels().values(), (g) => ({
|
|
@@ -14803,9 +14803,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
14803
14803
|
const m = t.current.getRowIndexRelativeToVisibleRows(l);
|
|
14804
14804
|
h = h !== -1 ? h : m !== void 0 ? m : p.length, p[h] = {
|
|
14805
14805
|
...d,
|
|
14806
|
-
claveFila: ((
|
|
14806
|
+
claveFila: ((v = p[h]) == null ? void 0 : v.estado) === "N" ? "" : l,
|
|
14807
14807
|
_id: l,
|
|
14808
|
-
estado: ((
|
|
14808
|
+
estado: ((y = p[h]) == null ? void 0 : y.estado) === "N" ? "N" : i
|
|
14809
14809
|
}, c.setValue(r, p, { shouldDirty: !0 });
|
|
14810
14810
|
},
|
|
14811
14811
|
[t, r]
|
|
@@ -15003,7 +15003,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15003
15003
|
open: u
|
|
15004
15004
|
} = e, { dirtyFields: d, isValid: p } = Mm(), {
|
|
15005
15005
|
fichaProps: { [e.source]: h = {}, etrs: m }
|
|
15006
|
-
} = Te(Ge),
|
|
15006
|
+
} = Te(Ge), v = an(), y = Te(fo), { onAfterRenderAsistente: g, ...b } = h, T = Qt({ resource: r, etrs: m, asisEtr: y });
|
|
15007
15007
|
return at(() => {
|
|
15008
15008
|
u && typeof g == "function" && g({ ...T, form: t }, n);
|
|
15009
15009
|
}, [u]), /* @__PURE__ */ B(lr, { children: [
|
|
@@ -15016,7 +15016,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15016
15016
|
fullWidth: !0,
|
|
15017
15017
|
sx: { margin: 0 },
|
|
15018
15018
|
disabled: n !== "N" && (s.indexOf(C.props.source) !== -1 || C.props.disabled),
|
|
15019
|
-
...
|
|
15019
|
+
...b[C.props.source]
|
|
15020
15020
|
/*InputLabelProps: { shrink: true },*/
|
|
15021
15021
|
})
|
|
15022
15022
|
) }) }),
|
|
@@ -15024,7 +15024,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15024
15024
|
/* @__PURE__ */ f(
|
|
15025
15025
|
Kn,
|
|
15026
15026
|
{
|
|
15027
|
-
disabled: Object.keys(d).length === 0 || !p ||
|
|
15027
|
+
disabled: Object.keys(d).length === 0 || !p || v.open
|
|
15028
15028
|
}
|
|
15029
15029
|
),
|
|
15030
15030
|
/* @__PURE__ */ f(
|
|
@@ -15050,8 +15050,8 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15050
15050
|
enviarTodo: s,
|
|
15051
15051
|
onBeforeSubmitAsistente: c = Jr,
|
|
15052
15052
|
onAfterSubmitAsistente: u = Jr
|
|
15053
|
-
} = e, [d, p] = Si(!1), h = qe(e), m = $t(),
|
|
15054
|
-
estado:
|
|
15053
|
+
} = e, [d, p] = Si(!1), h = qe(e), m = $t(), v = Fi(), y = Gd({ apiRef: v, source: l, enviarTodo: s }), g = "N", {
|
|
15054
|
+
estado: b,
|
|
15055
15055
|
fichaProps: { etrs: T }
|
|
15056
15056
|
} = Te(Ge), C = Te(fo), E = Qt({ etrs: T, asisEtr: C }), O = Ze()("ra.action.create");
|
|
15057
15057
|
return /* @__PURE__ */ B(lr, { children: [
|
|
@@ -15079,9 +15079,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15079
15079
|
E,
|
|
15080
15080
|
F,
|
|
15081
15081
|
g,
|
|
15082
|
-
|
|
15082
|
+
b
|
|
15083
15083
|
);
|
|
15084
|
-
R !== !1 && (
|
|
15084
|
+
R !== !1 && (y(typeof R == "object" ? R : F, m), p(!1), u(E, F, g, b));
|
|
15085
15085
|
}, "handleSubmit"),
|
|
15086
15086
|
children: /* @__PURE__ */ f(
|
|
15087
15087
|
Qd,
|
|
@@ -15113,7 +15113,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15113
15113
|
enviarTodo: c,
|
|
15114
15114
|
onBeforeSubmitAsistente: u = Jr,
|
|
15115
15115
|
onAfterSubmitAsistente: d = Jr
|
|
15116
|
-
} = e, p = Ze(), [h, m] = Si(!1),
|
|
15116
|
+
} = e, p = Ze(), [h, m] = Si(!1), v = Fi(), y = $t(), g = qd({ apiRef: v, source: l, enviarTodo: c }), b = "M", {
|
|
15117
15117
|
estado: T,
|
|
15118
15118
|
fichaProps: { etrs: C }
|
|
15119
15119
|
} = Te(Ge), E = Te(fo), x = Qt({ etrs: C, asisEtr: E }), O = p("ra.action.edit");
|
|
@@ -15141,18 +15141,18 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15141
15141
|
const R = await u(
|
|
15142
15142
|
x,
|
|
15143
15143
|
F,
|
|
15144
|
-
|
|
15144
|
+
b,
|
|
15145
15145
|
T
|
|
15146
15146
|
);
|
|
15147
|
-
R !== !1 && (g(s.id, typeof R == "object" ? R : F,
|
|
15147
|
+
R !== !1 && (g(s.id, typeof R == "object" ? R : F, y), m(!1), d(x, F, b, T));
|
|
15148
15148
|
}, "handleSubmit"),
|
|
15149
15149
|
children: /* @__PURE__ */ f(
|
|
15150
15150
|
Qd,
|
|
15151
15151
|
{
|
|
15152
15152
|
source: l,
|
|
15153
|
-
form:
|
|
15153
|
+
form: y,
|
|
15154
15154
|
resource: n,
|
|
15155
|
-
estado:
|
|
15155
|
+
estado: b,
|
|
15156
15156
|
editors: t,
|
|
15157
15157
|
recordPadre: s,
|
|
15158
15158
|
camposClaveFila: r,
|
|
@@ -15176,9 +15176,9 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15176
15176
|
onBeforeSubmitAsistente: s = Jr,
|
|
15177
15177
|
onAfterSubmitAsistente: c = Jr
|
|
15178
15178
|
} = e, [u, d] = Si(!1), p = Fi(), h = $t(), m = Kd({ apiRef: p, source: i, enviarTodo: l }), {
|
|
15179
|
-
estado:
|
|
15180
|
-
fichaProps: { etrs:
|
|
15181
|
-
} = Te(Ge), g = Qt({ etrs:
|
|
15179
|
+
estado: v,
|
|
15180
|
+
fichaProps: { etrs: y }
|
|
15181
|
+
} = Te(Ge), g = Qt({ etrs: y });
|
|
15182
15182
|
return /* @__PURE__ */ B(Gt, { children: [
|
|
15183
15183
|
/* @__PURE__ */ f(
|
|
15184
15184
|
m0,
|
|
@@ -15197,7 +15197,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15197
15197
|
title: t,
|
|
15198
15198
|
content: r,
|
|
15199
15199
|
onConfirm: /* @__PURE__ */ o(async (T) => {
|
|
15200
|
-
await s(g, n, "B",
|
|
15200
|
+
await s(g, n, "B", v) !== !1 && (m(n.id, h), c(g, n, "B", v));
|
|
15201
15201
|
}, "handleSubmit"),
|
|
15202
15202
|
onClose: /* @__PURE__ */ o((T) => {
|
|
15203
15203
|
d(!1), T.stopPropagation();
|
|
@@ -15219,10 +15219,10 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15219
15219
|
hidden: p = !1,
|
|
15220
15220
|
apiRef: h,
|
|
15221
15221
|
source: m,
|
|
15222
|
-
sxContainer:
|
|
15223
|
-
filter:
|
|
15222
|
+
sxContainer: v = {},
|
|
15223
|
+
filter: y,
|
|
15224
15224
|
...g
|
|
15225
|
-
} = e, [
|
|
15225
|
+
} = e, [b, T] = Ve([]), C = Kt(e), E = $t(), { field: x } = nu({ defaultValue: "", ...e }), {
|
|
15226
15226
|
isLoading: O,
|
|
15227
15227
|
fichaProps: { [m]: w }
|
|
15228
15228
|
} = Te(Ge), F = wi((Q) => {
|
|
@@ -15237,8 +15237,8 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15237
15237
|
onAfterSubmitAsistente: _,
|
|
15238
15238
|
allowAdd: j,
|
|
15239
15239
|
allowRemove: I
|
|
15240
|
-
} = w || {}, [V, k] =
|
|
15241
|
-
let U = { ...
|
|
15240
|
+
} = w || {}, [V, k] = Ve(n), [{ field: H, sort: te }] = n, he = d || M, ne = L !== void 0 ? L : $ !== void 0 ? $ : p, Re = j ?? s, ae = I ?? c;
|
|
15241
|
+
let U = { ...y };
|
|
15242
15242
|
C && t.split(",").forEach((Q) => {
|
|
15243
15243
|
Q && (U[Q] = [
|
|
15244
15244
|
{
|
|
@@ -15347,7 +15347,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15347
15347
|
height: "40vh",
|
|
15348
15348
|
borderRadius: 0,
|
|
15349
15349
|
marginTop: 1,
|
|
15350
|
-
...
|
|
15350
|
+
...v
|
|
15351
15351
|
},
|
|
15352
15352
|
children: /* @__PURE__ */ f(Zc, { injectFirst: !0, children: /* @__PURE__ */ f(el, { theme: S0, children: /* @__PURE__ */ B(Gt, { children: [
|
|
15353
15353
|
/* @__PURE__ */ f(
|
|
@@ -15366,7 +15366,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15366
15366
|
disableRowSelectionOnClick: !0,
|
|
15367
15367
|
paginationModel: { page: 1, pageSize: 50 },
|
|
15368
15368
|
hideFooter: !0,
|
|
15369
|
-
rows:
|
|
15369
|
+
rows: b,
|
|
15370
15370
|
columns: ue,
|
|
15371
15371
|
sortModel: V,
|
|
15372
15372
|
onSortModelChange: /* @__PURE__ */ o((Q) => k(Q), "onSortModelChange"),
|
|
@@ -15397,7 +15397,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15397
15397
|
enableLoad: l = !0,
|
|
15398
15398
|
initialState: s,
|
|
15399
15399
|
...c
|
|
15400
|
-
} = e, { isLoading: u } = Te(Ge), d = Kt(), [p, h] =
|
|
15400
|
+
} = e, { isLoading: u } = Te(Ge), d = Kt(), [p, h] = Ve(r), [{ field: m, sort: v }] = r, y = Mt(
|
|
15401
15401
|
() => [...n],
|
|
15402
15402
|
[JSON.stringify(n)]
|
|
15403
15403
|
);
|
|
@@ -15413,7 +15413,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15413
15413
|
]);
|
|
15414
15414
|
});
|
|
15415
15415
|
const {
|
|
15416
|
-
estado:
|
|
15416
|
+
estado: b,
|
|
15417
15417
|
isLoading: T,
|
|
15418
15418
|
fichaProps: C = {}
|
|
15419
15419
|
} = Te(Ge), E = Qt(e), { [e.source]: x = {} } = C, { useContenido: O = pr, ...w } = x, {
|
|
@@ -15424,7 +15424,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15424
15424
|
i,
|
|
15425
15425
|
{
|
|
15426
15426
|
pagination: { page: 1, perPage: 200 },
|
|
15427
|
-
sort: { field: m, order:
|
|
15427
|
+
sort: { field: m, order: v },
|
|
15428
15428
|
filter: g
|
|
15429
15429
|
},
|
|
15430
15430
|
{ enabled: l && !u }
|
|
@@ -15434,7 +15434,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15434
15434
|
});
|
|
15435
15435
|
return O({
|
|
15436
15436
|
...c,
|
|
15437
|
-
estado:
|
|
15437
|
+
estado: b,
|
|
15438
15438
|
hidden: e.hidden,
|
|
15439
15439
|
isLoading: T,
|
|
15440
15440
|
utils: E,
|
|
@@ -15455,7 +15455,7 @@ const Id = ao(), va = /* @__PURE__ */ o(({ children: e }) => {
|
|
|
15455
15455
|
{
|
|
15456
15456
|
apiRef: M,
|
|
15457
15457
|
rows: F,
|
|
15458
|
-
columns:
|
|
15458
|
+
columns: y,
|
|
15459
15459
|
loading: L || u,
|
|
15460
15460
|
sx: {
|
|
15461
15461
|
"& .MuiDataGrid-columnsContainer": {
|
|
@@ -15703,10 +15703,10 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
15703
15703
|
direction: p = "down",
|
|
15704
15704
|
easing: h = i,
|
|
15705
15705
|
in: m,
|
|
15706
|
-
onEnter:
|
|
15707
|
-
onEntered:
|
|
15706
|
+
onEnter: v,
|
|
15707
|
+
onEntered: y,
|
|
15708
15708
|
onEntering: g,
|
|
15709
|
-
onExit:
|
|
15709
|
+
onExit: b,
|
|
15710
15710
|
onExited: T,
|
|
15711
15711
|
onExiting: C,
|
|
15712
15712
|
style: E,
|
|
@@ -15716,7 +15716,7 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
15716
15716
|
} = t, w = G(t, A0), F = S.useRef(null), L = xt(u.ref, F, r), R = /* @__PURE__ */ o((k) => (H) => {
|
|
15717
15717
|
k && (H === void 0 ? k(F.current) : k(F.current, H));
|
|
15718
15718
|
}, "normalizedTransitionCallback"), M = R((k, H) => {
|
|
15719
|
-
mn(p, k, d), ll(k),
|
|
15719
|
+
mn(p, k, d), ll(k), v && v(k, H);
|
|
15720
15720
|
}), $ = R((k, H) => {
|
|
15721
15721
|
const te = Zr({
|
|
15722
15722
|
timeout: x,
|
|
@@ -15726,7 +15726,7 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
15726
15726
|
mode: "enter"
|
|
15727
15727
|
});
|
|
15728
15728
|
k.style.webkitTransition = n.transitions.create("-webkit-transform", P({}, te)), k.style.transition = n.transitions.create("transform", P({}, te)), k.style.webkitTransform = "none", k.style.transform = "none", g && g(k, H);
|
|
15729
|
-
}), N = R(
|
|
15729
|
+
}), N = R(y), A = R(C), _ = R((k) => {
|
|
15730
15730
|
const H = Zr({
|
|
15731
15731
|
timeout: x,
|
|
15732
15732
|
style: E,
|
|
@@ -15734,7 +15734,7 @@ const ep = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
15734
15734
|
}, {
|
|
15735
15735
|
mode: "exit"
|
|
15736
15736
|
});
|
|
15737
|
-
k.style.webkitTransition = n.transitions.create("-webkit-transform", H), k.style.transition = n.transitions.create("transform", H), mn(p, k, d),
|
|
15737
|
+
k.style.webkitTransition = n.transitions.create("-webkit-transform", H), k.style.transition = n.transitions.create("transform", H), mn(p, k, d), b && b(k);
|
|
15738
15738
|
}), j = R((k) => {
|
|
15739
15739
|
k.style.webkitTransition = "", k.style.transition = "", T && T(k);
|
|
15740
15740
|
}), I = /* @__PURE__ */ o((k) => {
|
|
@@ -15991,10 +15991,10 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
15991
15991
|
tipo: p = "form",
|
|
15992
15992
|
botonesExtra: h = [],
|
|
15993
15993
|
showAceptar: m = !0,
|
|
15994
|
-
showCancelar:
|
|
15995
|
-
formDividers:
|
|
15994
|
+
showCancelar: v = !0,
|
|
15995
|
+
formDividers: y = !0,
|
|
15996
15996
|
saveAlwaysEnable: g = !1,
|
|
15997
|
-
dialogProps:
|
|
15997
|
+
dialogProps: b = {}
|
|
15998
15998
|
}
|
|
15999
15999
|
} = n;
|
|
16000
16000
|
return p === "confirm" ? (/* @__PURE__ */ o(() => /* @__PURE__ */ f(
|
|
@@ -16017,11 +16017,11 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
16017
16017
|
fullScreen: p === "vista",
|
|
16018
16018
|
maxWidth: p === "vista" ? "lg" : "sm",
|
|
16019
16019
|
TransitionComponent: V0,
|
|
16020
|
-
...
|
|
16020
|
+
...b,
|
|
16021
16021
|
children: p === "form" ? (/* @__PURE__ */ o(() => /* @__PURE__ */ B(Gt, { children: [
|
|
16022
16022
|
/* @__PURE__ */ f(tu, { id: "draggable-dialog-title", children: s }),
|
|
16023
16023
|
/* @__PURE__ */ B(Uo, { resource: r, onSubmit: u, children: [
|
|
16024
|
-
/* @__PURE__ */ f(Sf, { dividers:
|
|
16024
|
+
/* @__PURE__ */ f(Sf, { dividers: y, variant: "dense", children: /* @__PURE__ */ f(Jc, { spacing: 2, children: c }) }),
|
|
16025
16025
|
/* @__PURE__ */ B(Ef, { children: [
|
|
16026
16026
|
h.map(
|
|
16027
16027
|
({
|
|
@@ -16039,7 +16039,7 @@ const V0 = S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
16039
16039
|
`extra_${F}`
|
|
16040
16040
|
)
|
|
16041
16041
|
),
|
|
16042
|
-
|
|
16042
|
+
v && /* @__PURE__ */ f(
|
|
16043
16043
|
ut,
|
|
16044
16044
|
{
|
|
16045
16045
|
label: "ra.action.cancel",
|
|
@@ -16279,10 +16279,10 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16279
16279
|
onRenderGrilla: p,
|
|
16280
16280
|
onLoadGrilla: h,
|
|
16281
16281
|
hasEdit: m,
|
|
16282
|
-
initialState:
|
|
16283
|
-
convertFilterModelToFilterValues:
|
|
16282
|
+
initialState: v,
|
|
16283
|
+
convertFilterModelToFilterValues: y = sE,
|
|
16284
16284
|
claveNuevo: g,
|
|
16285
|
-
mobileColumns:
|
|
16285
|
+
mobileColumns: b = "",
|
|
16286
16286
|
hasVerFicha: T = !1,
|
|
16287
16287
|
disableMultipleRowSelection: C = !0,
|
|
16288
16288
|
borra: E = !0,
|
|
@@ -16299,7 +16299,7 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16299
16299
|
} = Gr(), I = Yn(), V = Rm(), k = bu(), H = vu({
|
|
16300
16300
|
apiRef: k,
|
|
16301
16301
|
initialState: {
|
|
16302
|
-
...
|
|
16302
|
+
...v,
|
|
16303
16303
|
pinnedColumns: { right: ["actions"] }
|
|
16304
16304
|
//filter: {
|
|
16305
16305
|
// filterModel: {
|
|
@@ -16416,7 +16416,7 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16416
16416
|
]) : te, ne = L && vr(n), Re = /* @__PURE__ */ o((U) => {
|
|
16417
16417
|
$ || (ne && !C ? A(U) : k.current.isRowSelected(U[0]) ? A([]) : A(U));
|
|
16418
16418
|
}, "handleSelectionChange"), ae = /* @__PURE__ */ o((U) => {
|
|
16419
|
-
j(
|
|
16419
|
+
j(y(U), _);
|
|
16420
16420
|
}, "handleFilterChange");
|
|
16421
16421
|
return /* @__PURE__ */ B(Gt, { children: [
|
|
16422
16422
|
/* @__PURE__ */ f(xl, { isLoading: $ }),
|
|
@@ -16477,34 +16477,34 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16477
16477
|
props: { hasBulkActionButtons: h, ...m }
|
|
16478
16478
|
} = ml();
|
|
16479
16479
|
if (!s) {
|
|
16480
|
-
const
|
|
16481
|
-
(
|
|
16482
|
-
(g) => g.field ===
|
|
16480
|
+
const v = c ? c.split(",").map(
|
|
16481
|
+
(y) => r.find(
|
|
16482
|
+
(g) => g.field === y || g.field === y + "_lis"
|
|
16483
16483
|
)
|
|
16484
16484
|
) : r;
|
|
16485
|
-
u = /* @__PURE__ */ o((
|
|
16486
|
-
|
|
16485
|
+
u = /* @__PURE__ */ o((y) => /* @__PURE__ */ B(xi, { variant: "outlined", sx: { pt: 2, pb: 2, pl: 2 }, children: [
|
|
16486
|
+
v.map((g) => {
|
|
16487
16487
|
const {
|
|
16488
|
-
field:
|
|
16488
|
+
field: b,
|
|
16489
16489
|
headerName: T,
|
|
16490
16490
|
valueGetter: C,
|
|
16491
16491
|
type: E = "string",
|
|
16492
16492
|
jsxMobile: x
|
|
16493
16493
|
} = g;
|
|
16494
|
-
return x ? /* @__PURE__ */ f($e, { children: x(
|
|
16494
|
+
return x ? /* @__PURE__ */ f($e, { children: x(y, g) }) : E === "boolean" ? /* @__PURE__ */ f($e, { children: /* @__PURE__ */ f(
|
|
16495
16495
|
$e,
|
|
16496
16496
|
{
|
|
16497
16497
|
component: "span",
|
|
16498
16498
|
sx: {
|
|
16499
16499
|
color: C({
|
|
16500
|
-
value:
|
|
16500
|
+
value: y[b]
|
|
16501
16501
|
}) ? "green" : "red"
|
|
16502
16502
|
},
|
|
16503
16503
|
children: T
|
|
16504
16504
|
}
|
|
16505
|
-
) }) : /* @__PURE__ */ f($e, { children:
|
|
16505
|
+
) }) : /* @__PURE__ */ f($e, { children: y[b] });
|
|
16506
16506
|
}),
|
|
16507
|
-
/* @__PURE__ */ f($e, { children: n.filter((g) => !!g).map((g,
|
|
16507
|
+
/* @__PURE__ */ f($e, { children: n.filter((g) => !!g).map((g, b) => {
|
|
16508
16508
|
const {
|
|
16509
16509
|
key: T,
|
|
16510
16510
|
handler: C,
|
|
@@ -16514,11 +16514,11 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16514
16514
|
return /* @__PURE__ */ f(
|
|
16515
16515
|
ut,
|
|
16516
16516
|
{
|
|
16517
|
-
onClick: /* @__PURE__ */ o((O) => (O.preventDefault(), typeof C == "function" ? C({ ...d, record:
|
|
16517
|
+
onClick: /* @__PURE__ */ o((O) => (O.preventDefault(), typeof C == "function" ? C({ ...d, record: y }, T) : !1), "onClick"),
|
|
16518
16518
|
...x,
|
|
16519
16519
|
children: E
|
|
16520
16520
|
},
|
|
16521
|
-
`actionbutton-${
|
|
16521
|
+
`actionbutton-${b}}`
|
|
16522
16522
|
);
|
|
16523
16523
|
}) })
|
|
16524
16524
|
] }), "primaryText");
|
|
@@ -16528,7 +16528,7 @@ const rE = /* @__PURE__ */ o((e) => {
|
|
|
16528
16528
|
/* @__PURE__ */ f(
|
|
16529
16529
|
jf,
|
|
16530
16530
|
{
|
|
16531
|
-
linkType: /* @__PURE__ */ o((
|
|
16531
|
+
linkType: /* @__PURE__ */ o((v) => i && np(v, l) ? "edit" : !1, "linkType"),
|
|
16532
16532
|
primaryText: u,
|
|
16533
16533
|
sx: t,
|
|
16534
16534
|
...m
|
|
@@ -16680,8 +16680,8 @@ const gc = me("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
|
|
|
16680
16680
|
orientation: p = "horizontal",
|
|
16681
16681
|
role: h = c !== "hr" ? "separator" : void 0,
|
|
16682
16682
|
textAlign: m = "center",
|
|
16683
|
-
variant:
|
|
16684
|
-
} = n,
|
|
16683
|
+
variant: v = "fullWidth"
|
|
16684
|
+
} = n, y = G(n, fE), g = P({}, n, {
|
|
16685
16685
|
absolute: i,
|
|
16686
16686
|
component: c,
|
|
16687
16687
|
flexItem: u,
|
|
@@ -16689,17 +16689,17 @@ const gc = me("MuiDivider", ["root", "absolute", "fullWidth", "inset", "middle",
|
|
|
16689
16689
|
orientation: p,
|
|
16690
16690
|
role: h,
|
|
16691
16691
|
textAlign: m,
|
|
16692
|
-
variant:
|
|
16693
|
-
}),
|
|
16692
|
+
variant: v
|
|
16693
|
+
}), b = mE(g);
|
|
16694
16694
|
return /* @__PURE__ */ f(hE, P({
|
|
16695
16695
|
as: c,
|
|
16696
|
-
className: K(
|
|
16696
|
+
className: K(b.root, s),
|
|
16697
16697
|
role: h,
|
|
16698
16698
|
ref: r,
|
|
16699
16699
|
ownerState: g
|
|
16700
|
-
},
|
|
16700
|
+
}, y, {
|
|
16701
16701
|
children: l ? /* @__PURE__ */ f(gE, {
|
|
16702
|
-
className:
|
|
16702
|
+
className: b.wrapper,
|
|
16703
16703
|
ownerState: g,
|
|
16704
16704
|
children: l
|
|
16705
16705
|
}) : null
|
|
@@ -16801,12 +16801,12 @@ function ap(e) {
|
|
|
16801
16801
|
in: c,
|
|
16802
16802
|
onExited: u,
|
|
16803
16803
|
timeout: d
|
|
16804
|
-
} = e, [p, h] = S.useState(!1), m = K(t, r.ripple, r.rippleVisible, n && r.ripplePulsate),
|
|
16804
|
+
} = e, [p, h] = S.useState(!1), m = K(t, r.ripple, r.rippleVisible, n && r.ripplePulsate), v = {
|
|
16805
16805
|
width: s,
|
|
16806
16806
|
height: s,
|
|
16807
16807
|
top: -(s / 2) + l,
|
|
16808
16808
|
left: -(s / 2) + i
|
|
16809
|
-
},
|
|
16809
|
+
}, y = K(r.child, p && r.childLeaving, n && r.childPulsate);
|
|
16810
16810
|
return !c && !p && h(!0), S.useEffect(() => {
|
|
16811
16811
|
if (!c && u != null) {
|
|
16812
16812
|
const g = setTimeout(u, d);
|
|
@@ -16816,9 +16816,9 @@ function ap(e) {
|
|
|
16816
16816
|
}
|
|
16817
16817
|
}, [u, c, d]), /* @__PURE__ */ f("span", {
|
|
16818
16818
|
className: m,
|
|
16819
|
-
style:
|
|
16819
|
+
style: v,
|
|
16820
16820
|
children: /* @__PURE__ */ f("span", {
|
|
16821
|
-
className:
|
|
16821
|
+
className: y
|
|
16822
16822
|
})
|
|
16823
16823
|
});
|
|
16824
16824
|
}
|
|
@@ -16969,7 +16969,7 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
|
|
|
16969
16969
|
S.useEffect(() => {
|
|
16970
16970
|
h.current && (h.current(), h.current = null);
|
|
16971
16971
|
}, [u]);
|
|
16972
|
-
const m = S.useRef(!1),
|
|
16972
|
+
const m = S.useRef(!1), v = jr(), y = S.useRef(null), g = S.useRef(null), b = S.useCallback((x) => {
|
|
16973
16973
|
const {
|
|
16974
16974
|
pulsate: O,
|
|
16975
16975
|
rippleX: w,
|
|
@@ -17027,36 +17027,36 @@ const di = 550, OE = 80, xE = so(bc || (bc = Sa`
|
|
|
17027
17027
|
const j = Math.max(Math.abs((M ? M.clientWidth : 0) - N), N) * 2 + 2, I = Math.max(Math.abs((M ? M.clientHeight : 0) - A), A) * 2 + 2;
|
|
17028
17028
|
_ = Math.sqrt(j ** 2 + I ** 2);
|
|
17029
17029
|
}
|
|
17030
|
-
x != null && x.touches ?
|
|
17031
|
-
|
|
17030
|
+
x != null && x.touches ? y.current === null && (y.current = () => {
|
|
17031
|
+
b({
|
|
17032
17032
|
pulsate: F,
|
|
17033
17033
|
rippleX: N,
|
|
17034
17034
|
rippleY: A,
|
|
17035
17035
|
rippleSize: _,
|
|
17036
17036
|
cb: w
|
|
17037
17037
|
});
|
|
17038
|
-
},
|
|
17039
|
-
|
|
17040
|
-
})) :
|
|
17038
|
+
}, v.start(OE, () => {
|
|
17039
|
+
y.current && (y.current(), y.current = null);
|
|
17040
|
+
})) : b({
|
|
17041
17041
|
pulsate: F,
|
|
17042
17042
|
rippleX: N,
|
|
17043
17043
|
rippleY: A,
|
|
17044
17044
|
rippleSize: _,
|
|
17045
17045
|
cb: w
|
|
17046
17046
|
});
|
|
17047
|
-
}, [i,
|
|
17047
|
+
}, [i, b, v]), C = S.useCallback(() => {
|
|
17048
17048
|
T({}, {
|
|
17049
17049
|
pulsate: !0
|
|
17050
17050
|
});
|
|
17051
17051
|
}, [T]), E = S.useCallback((x, O) => {
|
|
17052
|
-
if (
|
|
17053
|
-
|
|
17052
|
+
if (v.clear(), (x == null ? void 0 : x.type) === "touchend" && y.current) {
|
|
17053
|
+
y.current(), y.current = null, v.start(0, () => {
|
|
17054
17054
|
E(x, O);
|
|
17055
17055
|
});
|
|
17056
17056
|
return;
|
|
17057
17057
|
}
|
|
17058
|
-
|
|
17059
|
-
}, [
|
|
17058
|
+
y.current = null, d((w) => w.length > 0 ? w.slice(1) : w), h.current = O;
|
|
17059
|
+
}, [v]);
|
|
17060
17060
|
return S.useImperativeHandle(r, () => ({
|
|
17061
17061
|
pulsate: C,
|
|
17062
17062
|
start: T,
|
|
@@ -17158,10 +17158,10 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
|
|
|
17158
17158
|
disableRipple: p = !1,
|
|
17159
17159
|
disableTouchRipple: h = !1,
|
|
17160
17160
|
focusRipple: m = !1,
|
|
17161
|
-
LinkComponent:
|
|
17162
|
-
onBlur:
|
|
17161
|
+
LinkComponent: v = "a",
|
|
17162
|
+
onBlur: y,
|
|
17163
17163
|
onClick: g,
|
|
17164
|
-
onContextMenu:
|
|
17164
|
+
onContextMenu: b,
|
|
17165
17165
|
onDragLeave: T,
|
|
17166
17166
|
onFocus: C,
|
|
17167
17167
|
onFocusVisible: E,
|
|
@@ -17200,26 +17200,26 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
|
|
|
17200
17200
|
return Bt((Dt) => (Je && Je(Dt), !It && k.current && k.current[Z](Dt), !0));
|
|
17201
17201
|
}
|
|
17202
17202
|
o(ee, "useRippleHandler");
|
|
17203
|
-
const ue = ee("start", w), Q = ee("stop",
|
|
17203
|
+
const ue = ee("start", w), Q = ee("stop", b), z = ee("stop", T), X = ee("stop", L), D = ee("stop", (Z) => {
|
|
17204
17204
|
ae && Z.preventDefault(), F && F(Z);
|
|
17205
17205
|
}), re = ee("start", $), ke = ee("stop", R), Fe = ee("stop", M), fe = ee("stop", (Z) => {
|
|
17206
|
-
ne(Z), te.current === !1 && U(!1),
|
|
17206
|
+
ne(Z), te.current === !1 && U(!1), y && y(Z);
|
|
17207
17207
|
}, !1), et = Bt((Z) => {
|
|
17208
17208
|
V.current || (V.current = Z.currentTarget), he(Z), te.current === !0 && (U(!0), E && E(Z)), C && C(Z);
|
|
17209
17209
|
}), se = /* @__PURE__ */ o(() => {
|
|
17210
17210
|
const Z = V.current;
|
|
17211
17211
|
return u && u !== "button" && !(Z.tagName === "A" && Z.href);
|
|
17212
|
-
}, "isNonNativeButton"),
|
|
17213
|
-
m && !
|
|
17212
|
+
}, "isNonNativeButton"), He = S.useRef(!1), We = Bt((Z) => {
|
|
17213
|
+
m && !He.current && ae && k.current && Z.key === " " && (He.current = !0, k.current.stop(Z, () => {
|
|
17214
17214
|
k.current.start(Z);
|
|
17215
17215
|
})), Z.target === Z.currentTarget && se() && Z.key === " " && Z.preventDefault(), x && x(Z), Z.target === Z.currentTarget && se() && Z.key === "Enter" && !d && (Z.preventDefault(), g && g(Z));
|
|
17216
17216
|
}), tt = Bt((Z) => {
|
|
17217
|
-
m && Z.key === " " && k.current && ae && !Z.defaultPrevented && (
|
|
17217
|
+
m && Z.key === " " && k.current && ae && !Z.defaultPrevented && (He.current = !1, k.current.stop(Z, () => {
|
|
17218
17218
|
k.current.pulsate(Z);
|
|
17219
17219
|
})), O && O(Z), g && Z.target === Z.currentTarget && se() && Z.key === " " && !Z.defaultPrevented && g(Z);
|
|
17220
17220
|
});
|
|
17221
17221
|
let Me = u;
|
|
17222
|
-
Me === "button" && (I.href || I.to) && (Me =
|
|
17222
|
+
Me === "button" && (I.href || I.to) && (Me = v);
|
|
17223
17223
|
const rt = {};
|
|
17224
17224
|
Me === "button" ? (rt.type = j === void 0 ? "button" : j, rt.disabled = d) : (!I.href && !I.to && (rt.role = "button"), d && (rt["aria-disabled"] = d));
|
|
17225
17225
|
const Ct = xt(r, Re, V);
|
|
@@ -17245,7 +17245,7 @@ const FE = me("MuiButtonBase", ["root", "disabled", "focusVisible"]), wE = ["act
|
|
|
17245
17245
|
onClick: g,
|
|
17246
17246
|
onContextMenu: Q,
|
|
17247
17247
|
onFocus: et,
|
|
17248
|
-
onKeyDown:
|
|
17248
|
+
onKeyDown: We,
|
|
17249
17249
|
onKeyUp: tt,
|
|
17250
17250
|
onMouseDown: ue,
|
|
17251
17251
|
onMouseLeave: D,
|
|
@@ -17534,12 +17534,12 @@ const nr = me("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17534
17534
|
indicator: p,
|
|
17535
17535
|
label: h,
|
|
17536
17536
|
onChange: m,
|
|
17537
|
-
onClick:
|
|
17538
|
-
onFocus:
|
|
17537
|
+
onClick: v,
|
|
17538
|
+
onFocus: y,
|
|
17539
17539
|
// eslint-disable-next-line react/prop-types
|
|
17540
17540
|
selected: g,
|
|
17541
17541
|
// eslint-disable-next-line react/prop-types
|
|
17542
|
-
selectionFollowsFocus:
|
|
17542
|
+
selectionFollowsFocus: b,
|
|
17543
17543
|
// eslint-disable-next-line react/prop-types
|
|
17544
17544
|
textColor: T = "inherit",
|
|
17545
17545
|
value: C,
|
|
@@ -17557,9 +17557,9 @@ const nr = me("MuiTab", ["root", "labelIcon", "textColorInherit", "textColorPrim
|
|
|
17557
17557
|
}), w = LE(O), F = u && h && /* @__PURE__ */ S.isValidElement(u) ? /* @__PURE__ */ S.cloneElement(u, {
|
|
17558
17558
|
className: K(w.iconWrapper, u.props.className)
|
|
17559
17559
|
}) : u, L = /* @__PURE__ */ o((M) => {
|
|
17560
|
-
!g && m && m(M, C),
|
|
17560
|
+
!g && m && m(M, C), v && v(M);
|
|
17561
17561
|
}, "handleClick"), R = /* @__PURE__ */ o((M) => {
|
|
17562
|
-
|
|
17562
|
+
b && !g && m && m(M, C), y && y(M);
|
|
17563
17563
|
}, "handleFocus");
|
|
17564
17564
|
return /* @__PURE__ */ B(AE, P({
|
|
17565
17565
|
focusRipple: !s,
|
|
@@ -17705,8 +17705,8 @@ function _E(e, t, r, n = {}, i = () => {
|
|
|
17705
17705
|
return;
|
|
17706
17706
|
}
|
|
17707
17707
|
c === null && (c = m);
|
|
17708
|
-
const
|
|
17709
|
-
if (t[e] = l(
|
|
17708
|
+
const v = Math.min(1, (m - c) / s);
|
|
17709
|
+
if (t[e] = l(v) * (r - u) + u, v >= 1) {
|
|
17710
17710
|
requestAnimationFrame(() => {
|
|
17711
17711
|
i(null);
|
|
17712
17712
|
});
|
|
@@ -17803,8 +17803,8 @@ const WE = me("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
17803
17803
|
direction: d
|
|
17804
17804
|
} = l, p = G(l, UE), h = ha(), m = P({
|
|
17805
17805
|
isRtl: h
|
|
17806
|
-
}, l),
|
|
17807
|
-
elementType:
|
|
17806
|
+
}, l), v = GE(m), y = (n = c.StartScrollButtonIcon) != null ? n : BE, g = (i = c.EndScrollButtonIcon) != null ? i : zE, b = kt({
|
|
17807
|
+
elementType: y,
|
|
17808
17808
|
externalSlotProps: u.startScrollButtonIcon,
|
|
17809
17809
|
additionalProps: {
|
|
17810
17810
|
fontSize: "small"
|
|
@@ -17820,13 +17820,13 @@ const WE = me("MuiTabScrollButton", ["root", "vertical", "horizontal", "disabled
|
|
|
17820
17820
|
});
|
|
17821
17821
|
return /* @__PURE__ */ f(qE, P({
|
|
17822
17822
|
component: "div",
|
|
17823
|
-
className: K(
|
|
17823
|
+
className: K(v.root, s),
|
|
17824
17824
|
ref: r,
|
|
17825
17825
|
role: null,
|
|
17826
17826
|
ownerState: m,
|
|
17827
17827
|
tabIndex: null
|
|
17828
17828
|
}, p, {
|
|
17829
|
-
children: d === "left" ? /* @__PURE__ */ f(
|
|
17829
|
+
children: d === "left" ? /* @__PURE__ */ f(y, P({}, b)) : /* @__PURE__ */ f(g, P({}, T))
|
|
17830
17830
|
}));
|
|
17831
17831
|
}, "TabScrollButton"));
|
|
17832
17832
|
process.env.NODE_ENV !== "production" && (up.propTypes = {
|
|
@@ -18046,10 +18046,10 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18046
18046
|
children: p,
|
|
18047
18047
|
className: h,
|
|
18048
18048
|
component: m = "div",
|
|
18049
|
-
allowScrollButtonsMobile:
|
|
18050
|
-
indicatorColor:
|
|
18049
|
+
allowScrollButtonsMobile: v = !1,
|
|
18050
|
+
indicatorColor: y = "primary",
|
|
18051
18051
|
onChange: g,
|
|
18052
|
-
orientation:
|
|
18052
|
+
orientation: b = "horizontal",
|
|
18053
18053
|
ScrollButtonComponent: T = up,
|
|
18054
18054
|
scrollButtons: C = "auto",
|
|
18055
18055
|
selectionFollowsFocus: E,
|
|
@@ -18061,11 +18061,11 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18061
18061
|
value: R,
|
|
18062
18062
|
variant: M = "standard",
|
|
18063
18063
|
visibleScrollbar: $ = !1
|
|
18064
|
-
} = n, N = G(n, YE), A = M === "scrollable", _ =
|
|
18064
|
+
} = n, N = G(n, YE), A = M === "scrollable", _ = b === "vertical", j = _ ? "scrollTop" : "scrollLeft", I = _ ? "top" : "left", V = _ ? "bottom" : "right", k = _ ? "clientHeight" : "clientWidth", H = _ ? "height" : "width", te = P({}, n, {
|
|
18065
18065
|
component: m,
|
|
18066
|
-
allowScrollButtonsMobile:
|
|
18067
|
-
indicatorColor:
|
|
18068
|
-
orientation:
|
|
18066
|
+
allowScrollButtonsMobile: v,
|
|
18067
|
+
indicatorColor: y,
|
|
18068
|
+
orientation: b,
|
|
18069
18069
|
vertical: _,
|
|
18070
18070
|
scrollButtons: C,
|
|
18071
18071
|
textColor: L,
|
|
@@ -18076,7 +18076,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18076
18076
|
scrollableX: A && !_,
|
|
18077
18077
|
scrollableY: A && _,
|
|
18078
18078
|
centered: d && !A,
|
|
18079
|
-
scrollButtonsHideMobile: !
|
|
18079
|
+
scrollButtonsHideMobile: !v
|
|
18080
18080
|
}), he = QE(te), ne = kt({
|
|
18081
18081
|
elementType: x.StartScrollButtonIcon,
|
|
18082
18082
|
externalSlotProps: O.startScrollButtonIcon,
|
|
@@ -18145,15 +18145,15 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18145
18145
|
const Ke = Math.abs(oe[de] - Ie[de]), ft = Math.abs(oe[H] - Ie[H]);
|
|
18146
18146
|
(Ke >= 1 || ft >= 1) && ve(Ie);
|
|
18147
18147
|
}
|
|
18148
|
-
}),
|
|
18148
|
+
}), He = /* @__PURE__ */ o((W, {
|
|
18149
18149
|
animation: Y = !0
|
|
18150
18150
|
} = {}) => {
|
|
18151
18151
|
Y ? _E(j, Fe.current, W, {
|
|
18152
18152
|
duration: i.transitions.duration.standard
|
|
18153
18153
|
}) : Fe.current[j] = W;
|
|
18154
|
-
}, "scroll"),
|
|
18154
|
+
}, "scroll"), We = /* @__PURE__ */ o((W) => {
|
|
18155
18155
|
let Y = Fe.current[j];
|
|
18156
|
-
_ ? Y += W : (Y += W * (l ? -1 : 1), Y *= l && sp() === "reverse" ? -1 : 1),
|
|
18156
|
+
_ ? Y += W : (Y += W * (l ? -1 : 1), Y *= l && sp() === "reverse" ? -1 : 1), He(Y);
|
|
18157
18157
|
}, "moveTabsScroll"), tt = /* @__PURE__ */ o(() => {
|
|
18158
18158
|
const W = Fe.current[k];
|
|
18159
18159
|
let Y = 0;
|
|
@@ -18168,9 +18168,9 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18168
18168
|
}
|
|
18169
18169
|
return Y;
|
|
18170
18170
|
}, "getScrollSize"), Me = /* @__PURE__ */ o(() => {
|
|
18171
|
-
|
|
18171
|
+
We(-1 * tt());
|
|
18172
18172
|
}, "handleStartScrollClick"), rt = /* @__PURE__ */ o(() => {
|
|
18173
|
-
|
|
18173
|
+
We(tt());
|
|
18174
18174
|
}, "handleEndScrollClick"), Ct = S.useCallback((W) => {
|
|
18175
18175
|
re({
|
|
18176
18176
|
overflow: null,
|
|
@@ -18190,7 +18190,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18190
18190
|
slotProps: {
|
|
18191
18191
|
startScrollButtonIcon: ne
|
|
18192
18192
|
},
|
|
18193
|
-
orientation:
|
|
18193
|
+
orientation: b,
|
|
18194
18194
|
direction: l ? "right" : "left",
|
|
18195
18195
|
onClick: Me,
|
|
18196
18196
|
disabled: !ie
|
|
@@ -18203,7 +18203,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18203
18203
|
slotProps: {
|
|
18204
18204
|
endScrollButtonIcon: Re
|
|
18205
18205
|
},
|
|
18206
|
-
orientation:
|
|
18206
|
+
orientation: b,
|
|
18207
18207
|
direction: l ? "left" : "right",
|
|
18208
18208
|
onClick: rt,
|
|
18209
18209
|
disabled: !ue
|
|
@@ -18218,12 +18218,12 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18218
18218
|
if (!(!ce || !Y)) {
|
|
18219
18219
|
if (ce[I] < Y[I]) {
|
|
18220
18220
|
const de = Y[j] + (ce[I] - Y[I]);
|
|
18221
|
-
|
|
18221
|
+
He(de, {
|
|
18222
18222
|
animation: W
|
|
18223
18223
|
});
|
|
18224
18224
|
} else if (ce[V] > Y[V]) {
|
|
18225
18225
|
const de = Y[j] + (ce[V] - Y[V]);
|
|
18226
|
-
|
|
18226
|
+
He(de, {
|
|
18227
18227
|
animation: W
|
|
18228
18228
|
});
|
|
18229
18229
|
}
|
|
@@ -18313,8 +18313,8 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18313
18313
|
const Y = fe.current, ce = Er(Y).activeElement;
|
|
18314
18314
|
if (ce.getAttribute("role") !== "tab")
|
|
18315
18315
|
return;
|
|
18316
|
-
let Ie =
|
|
18317
|
-
switch (
|
|
18316
|
+
let Ie = b === "horizontal" ? "ArrowLeft" : "ArrowUp", Ke = b === "horizontal" ? "ArrowRight" : "ArrowDown";
|
|
18317
|
+
switch (b === "horizontal" && l && (Ie = "ArrowRight", Ke = "ArrowLeft"), W.key) {
|
|
18318
18318
|
case Ie:
|
|
18319
18319
|
W.preventDefault(), hn(Y, ce, Sc);
|
|
18320
18320
|
break;
|
|
@@ -18346,7 +18346,7 @@ const dp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
18346
18346
|
children: [/* @__PURE__ */ f(JE, {
|
|
18347
18347
|
"aria-label": s,
|
|
18348
18348
|
"aria-labelledby": c,
|
|
18349
|
-
"aria-orientation":
|
|
18349
|
+
"aria-orientation": b === "vertical" ? "vertical" : null,
|
|
18350
18350
|
className: he.flexContainer,
|
|
18351
18351
|
ownerState: te,
|
|
18352
18352
|
onKeyDown: mr,
|
|
@@ -19353,15 +19353,15 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
|
|
|
19353
19353
|
}
|
|
19354
19354
|
}, lt = /* @__PURE__ */ o((e) => {
|
|
19355
19355
|
const { source: t } = e, { estado: r, isLoading: n, fichaProps: i = {} } = Te(Ge), l = Te(fo), s = l !== void 0, c = wi((se) => {
|
|
19356
|
-
const
|
|
19357
|
-
return
|
|
19356
|
+
const He = se.configInputs ? se.configInputs.filter((We) => We.id === t) : [];
|
|
19357
|
+
return He[0] ? He[0] : null;
|
|
19358
19358
|
}), {
|
|
19359
19359
|
disabled: u,
|
|
19360
19360
|
hidden: d,
|
|
19361
19361
|
required: p,
|
|
19362
19362
|
error: h,
|
|
19363
19363
|
label: m
|
|
19364
|
-
} = c || {},
|
|
19364
|
+
} = c || {}, v = p === !0 ? mp : void 0, y = typeof h == "function" ? h : () => h, { [t]: g = {}, etrs: b } = i, {
|
|
19365
19365
|
onFocus: T,
|
|
19366
19366
|
onChange: C,
|
|
19367
19367
|
onBlur: E,
|
|
@@ -19378,7 +19378,7 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
|
|
|
19378
19378
|
useContenido: _ = pr,
|
|
19379
19379
|
validate: j,
|
|
19380
19380
|
...I
|
|
19381
|
-
} = g, V = s || N === void 0 ? x : N, k = s || A === void 0 ? O : A, H = s || R === void 0 ? T : R, te = s || M === void 0 ? E : M, he = s || $ === void 0 ? C : $, ne = Qt({ ...e, etrs:
|
|
19381
|
+
} = g, V = s || N === void 0 ? x : N, k = s || A === void 0 ? O : A, H = s || R === void 0 ? T : R, te = s || M === void 0 ? E : M, he = s || $ === void 0 ? C : $, ne = Qt({ ...e, etrs: b, asisEtr: l }), Re = _({
|
|
19382
19382
|
...F,
|
|
19383
19383
|
estado: r,
|
|
19384
19384
|
hidden: V,
|
|
@@ -19405,8 +19405,8 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
|
|
|
19405
19405
|
...ke,
|
|
19406
19406
|
...Fe,
|
|
19407
19407
|
...fe,
|
|
19408
|
-
|
|
19409
|
-
|
|
19408
|
+
v,
|
|
19409
|
+
y
|
|
19410
19410
|
].filter((se) => se !== void 0);
|
|
19411
19411
|
return {
|
|
19412
19412
|
propsContenido: {
|
|
@@ -19490,10 +19490,10 @@ const PP = /^(\d+)(th|st|nd|rd)?/i, TP = /\d+/i, CP = {
|
|
|
19490
19490
|
perPage: p,
|
|
19491
19491
|
defaultTitle: h,
|
|
19492
19492
|
setPage: m,
|
|
19493
|
-
setFilters:
|
|
19494
|
-
selectedIds:
|
|
19493
|
+
setFilters: v,
|
|
19494
|
+
selectedIds: y,
|
|
19495
19495
|
onUnselectItems: g,
|
|
19496
|
-
onToggleItem:
|
|
19496
|
+
onToggleItem: b,
|
|
19497
19497
|
isLoading: T,
|
|
19498
19498
|
exporter: C,
|
|
19499
19499
|
hideFilter: E,
|
|
@@ -19631,11 +19631,11 @@ const gp = /* @__PURE__ */ o((e) => {
|
|
|
19631
19631
|
...i
|
|
19632
19632
|
}) => {
|
|
19633
19633
|
const l = Wo(), s = tr(), c = yu(), u = {
|
|
19634
|
-
onSuccess: /* @__PURE__ */ o((
|
|
19634
|
+
onSuccess: /* @__PURE__ */ o((y) => {
|
|
19635
19635
|
s("ra.notification.created", {
|
|
19636
19636
|
type: "info",
|
|
19637
19637
|
messageArgs: { smart_count: 1 }
|
|
19638
|
-
}), c.invalidateQueries([m, "getList"]), c.invalidateQueries([m, "getManyReference"]), i.close ? i.close() : l(n, i.resource,
|
|
19638
|
+
}), c.invalidateQueries([m, "getList"]), c.invalidateQueries([m, "getManyReference"]), i.close ? i.close() : l(n, i.resource, y.id, y, {
|
|
19639
19639
|
_scrollToTop: !1
|
|
19640
19640
|
});
|
|
19641
19641
|
}, "onSuccess"),
|
|
@@ -19643,7 +19643,7 @@ const gp = /* @__PURE__ */ o((e) => {
|
|
|
19643
19643
|
}, d = Wf({
|
|
19644
19644
|
...i,
|
|
19645
19645
|
mutationOptions: u
|
|
19646
|
-
}), { defaultTitle: p, record: h, resource: m } = d,
|
|
19646
|
+
}), { defaultTitle: p, record: h, resource: m } = d, v = /* @__PURE__ */ o(() => {
|
|
19647
19647
|
i.close ? i.close() : l("list", i.resource, void 0, void 0, {
|
|
19648
19648
|
_scrollToTop: !1
|
|
19649
19649
|
});
|
|
@@ -19653,7 +19653,7 @@ const gp = /* @__PURE__ */ o((e) => {
|
|
|
19653
19653
|
{
|
|
19654
19654
|
open: i.isOpen,
|
|
19655
19655
|
"aria-labelledby": "create-dialog-title",
|
|
19656
|
-
onClose:
|
|
19656
|
+
onClose: v,
|
|
19657
19657
|
"data-testid": "create-dialog",
|
|
19658
19658
|
...TT(i),
|
|
19659
19659
|
children: [
|
|
@@ -19664,7 +19664,7 @@ const gp = /* @__PURE__ */ o((e) => {
|
|
|
19664
19664
|
title: r,
|
|
19665
19665
|
defaultTitle: p,
|
|
19666
19666
|
record: h,
|
|
19667
|
-
onClose:
|
|
19667
|
+
onClose: v
|
|
19668
19668
|
}
|
|
19669
19669
|
),
|
|
19670
19670
|
/* @__PURE__ */ f(Uf, { value: d, children: e })
|
|
@@ -19685,10 +19685,10 @@ const gp = /* @__PURE__ */ o((e) => {
|
|
|
19685
19685
|
mutationOptions: p = null,
|
|
19686
19686
|
options: h = null,
|
|
19687
19687
|
permissions: m = null,
|
|
19688
|
-
transform:
|
|
19689
|
-
isOpen:
|
|
19688
|
+
transform: v = null,
|
|
19689
|
+
isOpen: y = null,
|
|
19690
19690
|
open: g = null,
|
|
19691
|
-
close:
|
|
19691
|
+
close: b = null,
|
|
19692
19692
|
...T
|
|
19693
19693
|
}) => T, "sanitizeRestProps$4");
|
|
19694
19694
|
var Rl = {}, CT = Le;
|
|
@@ -19700,7 +19700,7 @@ xp = Rl.default = (0, FT.default)(/* @__PURE__ */ (0, wT.jsx)("path", {
|
|
|
19700
19700
|
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"
|
|
19701
19701
|
}), "OpenInNew");
|
|
19702
19702
|
const Sp = /* @__PURE__ */ o((e) => {
|
|
19703
|
-
const t = Ze(), [r, n] =
|
|
19703
|
+
const t = Ze(), [r, n] = Ve(!1), i = we(() => {
|
|
19704
19704
|
n(!0);
|
|
19705
19705
|
}, []), l = we(() => {
|
|
19706
19706
|
n(!1);
|
|
@@ -19722,19 +19722,19 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19722
19722
|
i(), g.stopPropagation();
|
|
19723
19723
|
},
|
|
19724
19724
|
[i]
|
|
19725
|
-
),
|
|
19725
|
+
), v = t(u, { _: u }), y = d ? /* @__PURE__ */ f(qn, { title: v, children: /* @__PURE__ */ f(
|
|
19726
19726
|
Rn,
|
|
19727
19727
|
{
|
|
19728
|
-
"aria-label":
|
|
19728
|
+
"aria-label": v,
|
|
19729
19729
|
size: "small",
|
|
19730
19730
|
color: "primary",
|
|
19731
19731
|
...h,
|
|
19732
19732
|
onClick: m,
|
|
19733
19733
|
children: c
|
|
19734
19734
|
}
|
|
19735
|
-
) }) : /* @__PURE__ */ f(ut, { label:
|
|
19735
|
+
) }) : /* @__PURE__ */ f(ut, { label: v, ...h, onClick: m, children: c });
|
|
19736
19736
|
return /* @__PURE__ */ B(yp.Provider, { value: s, children: [
|
|
19737
|
-
|
|
19737
|
+
y,
|
|
19738
19738
|
p
|
|
19739
19739
|
] });
|
|
19740
19740
|
}, "FormDialogButton"), RT = /* @__PURE__ */ f(xp, {}), kT = /* @__PURE__ */ o((e) => {
|
|
@@ -19847,11 +19847,11 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19847
19847
|
...i
|
|
19848
19848
|
}) => {
|
|
19849
19849
|
const l = Wo(), s = tr(), c = yu(), u = {
|
|
19850
|
-
onSuccess: /* @__PURE__ */ o((
|
|
19850
|
+
onSuccess: /* @__PURE__ */ o((y) => {
|
|
19851
19851
|
s("ra.notification.created", {
|
|
19852
19852
|
type: "info",
|
|
19853
19853
|
messageArgs: { smart_count: 1 }
|
|
19854
|
-
}), c.invalidateQueries([m, "getList"]), c.invalidateQueries([m, "getManyReference"]), i.close ? i.close() : l(n, i.resource,
|
|
19854
|
+
}), c.invalidateQueries([m, "getList"]), c.invalidateQueries([m, "getManyReference"]), i.close ? i.close() : l(n, i.resource, y.id, y, {
|
|
19855
19855
|
_scrollToTop: !1
|
|
19856
19856
|
});
|
|
19857
19857
|
}, "onSuccess"),
|
|
@@ -19859,7 +19859,7 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19859
19859
|
}, d = Kf({
|
|
19860
19860
|
...i,
|
|
19861
19861
|
mutationOptions: u
|
|
19862
|
-
}), { defaultTitle: p, record: h, resource: m } = d,
|
|
19862
|
+
}), { defaultTitle: p, record: h, resource: m } = d, v = /* @__PURE__ */ o(() => {
|
|
19863
19863
|
i.close ? i.close() : l("list", i.resource, void 0, void 0, {
|
|
19864
19864
|
_scrollToTop: !1
|
|
19865
19865
|
});
|
|
@@ -19869,7 +19869,7 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19869
19869
|
{
|
|
19870
19870
|
open: i.isOpen,
|
|
19871
19871
|
"aria-labelledby": "list-dialog-title",
|
|
19872
|
-
onClose:
|
|
19872
|
+
onClose: v,
|
|
19873
19873
|
"data-testid": "list-dialog",
|
|
19874
19874
|
...AT(i),
|
|
19875
19875
|
children: [
|
|
@@ -19880,7 +19880,7 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19880
19880
|
title: r,
|
|
19881
19881
|
defaultTitle: p,
|
|
19882
19882
|
record: h,
|
|
19883
|
-
onClose:
|
|
19883
|
+
onClose: v
|
|
19884
19884
|
}
|
|
19885
19885
|
),
|
|
19886
19886
|
/* @__PURE__ */ f(Yf, { value: d, children: e })
|
|
@@ -19901,11 +19901,11 @@ const Sp = /* @__PURE__ */ o((e) => {
|
|
|
19901
19901
|
options: p = null,
|
|
19902
19902
|
permissions: h = null,
|
|
19903
19903
|
transform: m = null,
|
|
19904
|
-
isOpen:
|
|
19905
|
-
open:
|
|
19904
|
+
isOpen: v = null,
|
|
19905
|
+
open: y = null,
|
|
19906
19906
|
close: g = null,
|
|
19907
|
-
...
|
|
19908
|
-
}) =>
|
|
19907
|
+
...b
|
|
19908
|
+
}) => b, "sanitizeRestProps$3"), IT = /* @__PURE__ */ o((e) => {
|
|
19909
19909
|
const {
|
|
19910
19910
|
inline: t,
|
|
19911
19911
|
icon: r = DT,
|
|
@@ -20027,9 +20027,9 @@ const _T = me("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
20027
20027
|
disabled: u,
|
|
20028
20028
|
disableFocusRipple: d,
|
|
20029
20029
|
size: p
|
|
20030
|
-
}),
|
|
20030
|
+
}), v = VT(m);
|
|
20031
20031
|
return /* @__PURE__ */ f(BT, P({
|
|
20032
|
-
className: K(
|
|
20032
|
+
className: K(v.root, s),
|
|
20033
20033
|
centerRipple: !0,
|
|
20034
20034
|
focusRipple: !d,
|
|
20035
20035
|
disabled: u,
|
|
@@ -20127,11 +20127,11 @@ const HT = {
|
|
|
20127
20127
|
onEntering: p,
|
|
20128
20128
|
onExit: h,
|
|
20129
20129
|
onExited: m,
|
|
20130
|
-
onExiting:
|
|
20131
|
-
style:
|
|
20130
|
+
onExiting: v,
|
|
20131
|
+
style: y,
|
|
20132
20132
|
timeout: g = "auto",
|
|
20133
20133
|
// eslint-disable-next-line react/prop-types
|
|
20134
|
-
TransitionComponent:
|
|
20134
|
+
TransitionComponent: b = Lt
|
|
20135
20135
|
} = t, T = G(t, zT), C = jr(), E = S.useRef(), x = wr(), O = S.useRef(null), w = xt(O, l.ref, r), F = /* @__PURE__ */ o((j) => (I) => {
|
|
20136
20136
|
if (j) {
|
|
20137
20137
|
const V = O.current;
|
|
@@ -20144,7 +20144,7 @@ const HT = {
|
|
|
20144
20144
|
delay: k,
|
|
20145
20145
|
easing: H
|
|
20146
20146
|
} = Zr({
|
|
20147
|
-
style:
|
|
20147
|
+
style: y,
|
|
20148
20148
|
timeout: g,
|
|
20149
20149
|
easing: s
|
|
20150
20150
|
}, {
|
|
@@ -20159,13 +20159,13 @@ const HT = {
|
|
|
20159
20159
|
delay: k,
|
|
20160
20160
|
easing: H
|
|
20161
20161
|
})].join(","), u && u(j, I);
|
|
20162
|
-
}), M = F(d), $ = F(
|
|
20162
|
+
}), M = F(d), $ = F(v), N = F((j) => {
|
|
20163
20163
|
const {
|
|
20164
20164
|
duration: I,
|
|
20165
20165
|
delay: V,
|
|
20166
20166
|
easing: k
|
|
20167
20167
|
} = Zr({
|
|
20168
|
-
style:
|
|
20168
|
+
style: y,
|
|
20169
20169
|
timeout: g,
|
|
20170
20170
|
easing: s
|
|
20171
20171
|
}, {
|
|
@@ -20181,7 +20181,7 @@ const HT = {
|
|
|
20181
20181
|
easing: k
|
|
20182
20182
|
})].join(","), j.style.opacity = 0, j.style.transform = pi(0.75), h && h(j);
|
|
20183
20183
|
}), A = F(m);
|
|
20184
|
-
return /* @__PURE__ */ f(
|
|
20184
|
+
return /* @__PURE__ */ f(b, P({
|
|
20185
20185
|
appear: i,
|
|
20186
20186
|
in: c,
|
|
20187
20187
|
nodeRef: O,
|
|
@@ -20201,7 +20201,7 @@ const HT = {
|
|
|
20201
20201
|
opacity: 0,
|
|
20202
20202
|
transform: pi(0.75),
|
|
20203
20203
|
visibility: j === "exited" && !c ? "hidden" : void 0
|
|
20204
|
-
}, HT[j],
|
|
20204
|
+
}, HT[j], y, l.props.style),
|
|
20205
20205
|
ref: w
|
|
20206
20206
|
}, I)), "children")
|
|
20207
20207
|
}));
|
|
@@ -20515,7 +20515,7 @@ var sC = /* @__PURE__ */ o(function(t, r) {
|
|
|
20515
20515
|
function cC(e) {
|
|
20516
20516
|
var t, r = e.state, n = e.name, i = e.options, l = r.elements.arrow, s = r.modifiersData.popperOffsets, c = Ut(r.placement), u = Al(c), d = [nt, Et].indexOf(c) >= 0, p = d ? "height" : "width";
|
|
20517
20517
|
if (!(!l || !s)) {
|
|
20518
|
-
var h = sC(i.padding, r), m = Ll(l),
|
|
20518
|
+
var h = sC(i.padding, r), m = Ll(l), v = u === "y" ? ot : nt, y = u === "y" ? St : Et, g = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], b = s[u] - r.rects.reference[u], T = sn(l), C = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, E = g / 2 - b / 2, x = h[v], O = C - m[p] - h[y], w = C / 2 - m[p] / 2 + E, F = Fo(x, w, O), L = u;
|
|
20519
20519
|
r.modifiersData[n] = (t = {}, t[L] = F, t.centerOffset = F - w, t);
|
|
20520
20520
|
}
|
|
20521
20521
|
}
|
|
@@ -20553,14 +20553,14 @@ function fC(e, t) {
|
|
|
20553
20553
|
}
|
|
20554
20554
|
o(fC, "roundOffsetsByDPR");
|
|
20555
20555
|
function Rc(e) {
|
|
20556
|
-
var t, r = e.popper, n = e.popperRect, i = e.placement, l = e.variation, s = e.offsets, c = e.position, u = e.gpuAcceleration, d = e.adaptive, p = e.roundOffsets, h = e.isFixed, m = s.x,
|
|
20557
|
-
x:
|
|
20556
|
+
var t, r = e.popper, n = e.popperRect, i = e.placement, l = e.variation, s = e.offsets, c = e.position, u = e.gpuAcceleration, d = e.adaptive, p = e.roundOffsets, h = e.isFixed, m = s.x, v = m === void 0 ? 0 : m, y = s.y, g = y === void 0 ? 0 : y, b = typeof p == "function" ? p({
|
|
20557
|
+
x: v,
|
|
20558
20558
|
y: g
|
|
20559
20559
|
}) : {
|
|
20560
|
-
x:
|
|
20560
|
+
x: v,
|
|
20561
20561
|
y: g
|
|
20562
20562
|
};
|
|
20563
|
-
|
|
20563
|
+
v = b.x, g = b.y;
|
|
20564
20564
|
var T = s.hasOwnProperty("x"), C = s.hasOwnProperty("y"), E = nt, x = ot, O = window;
|
|
20565
20565
|
if (d) {
|
|
20566
20566
|
var w = sn(r), F = "clientHeight", L = "clientWidth";
|
|
@@ -20578,23 +20578,23 @@ function Rc(e) {
|
|
|
20578
20578
|
// $FlowFixMe[prop-missing]
|
|
20579
20579
|
w[L]
|
|
20580
20580
|
);
|
|
20581
|
-
|
|
20581
|
+
v -= M - n.width, v *= u ? 1 : -1;
|
|
20582
20582
|
}
|
|
20583
20583
|
}
|
|
20584
20584
|
var $ = Object.assign({
|
|
20585
20585
|
position: c
|
|
20586
20586
|
}, d && pC), N = p === !0 ? fC({
|
|
20587
|
-
x:
|
|
20587
|
+
x: v,
|
|
20588
20588
|
y: g
|
|
20589
20589
|
}, pt(r)) : {
|
|
20590
|
-
x:
|
|
20590
|
+
x: v,
|
|
20591
20591
|
y: g
|
|
20592
20592
|
};
|
|
20593
|
-
if (
|
|
20593
|
+
if (v = N.x, g = N.y, u) {
|
|
20594
20594
|
var A;
|
|
20595
|
-
return Object.assign({}, $, (A = {}, A[x] = C ? "0" : "", A[E] = T ? "0" : "", A.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" +
|
|
20595
|
+
return Object.assign({}, $, (A = {}, A[x] = C ? "0" : "", A[E] = T ? "0" : "", A.transform = (O.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + g + "px)" : "translate3d(" + v + "px, " + g + "px, 0)", A));
|
|
20596
20596
|
}
|
|
20597
|
-
return Object.assign({}, $, (t = {}, t[x] = C ? g + "px" : "", t[E] = T ?
|
|
20597
|
+
return Object.assign({}, $, (t = {}, t[x] = C ? g + "px" : "", t[E] = T ? v + "px" : "", t.transform = "", t));
|
|
20598
20598
|
}
|
|
20599
20599
|
o(Rc, "mapToStyles");
|
|
20600
20600
|
function mC(e) {
|
|
@@ -20812,7 +20812,7 @@ function $p(e) {
|
|
|
20812
20812
|
o($p, "computeOffsets");
|
|
20813
20813
|
function Ho(e, t) {
|
|
20814
20814
|
t === void 0 && (t = {});
|
|
20815
|
-
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? WT : c, d = r.rootBoundary, p = d === void 0 ? Pp : d, h = r.elementContext, m = h === void 0 ? Oo : h,
|
|
20815
|
+
var r = t, n = r.placement, i = n === void 0 ? e.placement : n, l = r.strategy, s = l === void 0 ? e.strategy : l, c = r.boundary, u = c === void 0 ? WT : c, d = r.rootBoundary, p = d === void 0 ? Pp : d, h = r.elementContext, m = h === void 0 ? Oo : h, v = r.altBoundary, y = v === void 0 ? !1 : v, g = r.padding, b = g === void 0 ? 0 : g, T = Rp(typeof b != "number" ? b : kp(b, ln)), C = m === Oo ? UT : Oo, E = e.rects.popper, x = e.elements[y ? C : m], O = PC(Cr(x) ? x : x.contextElement || fr(e.elements.popper), u, p, s), w = ro(e.elements.reference), F = $p({
|
|
20816
20816
|
reference: w,
|
|
20817
20817
|
element: E,
|
|
20818
20818
|
strategy: "absolute",
|
|
@@ -20835,22 +20835,22 @@ function Ho(e, t) {
|
|
|
20835
20835
|
o(Ho, "detectOverflow");
|
|
20836
20836
|
function TC(e, t) {
|
|
20837
20837
|
t === void 0 && (t = {});
|
|
20838
|
-
var r = t, n = r.placement, i = r.boundary, l = r.rootBoundary, s = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, d = u === void 0 ? Tp : u, p = oo(n), h = p ? c ? Fc : Fc.filter(function(
|
|
20839
|
-
return oo(
|
|
20840
|
-
}) : ln, m = h.filter(function(
|
|
20841
|
-
return d.indexOf(
|
|
20838
|
+
var r = t, n = r.placement, i = r.boundary, l = r.rootBoundary, s = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, d = u === void 0 ? Tp : u, p = oo(n), h = p ? c ? Fc : Fc.filter(function(y) {
|
|
20839
|
+
return oo(y) === p;
|
|
20840
|
+
}) : ln, m = h.filter(function(y) {
|
|
20841
|
+
return d.indexOf(y) >= 0;
|
|
20842
20842
|
});
|
|
20843
20843
|
m.length === 0 && (m = h);
|
|
20844
|
-
var
|
|
20845
|
-
return
|
|
20844
|
+
var v = m.reduce(function(y, g) {
|
|
20845
|
+
return y[g] = Ho(e, {
|
|
20846
20846
|
placement: g,
|
|
20847
20847
|
boundary: i,
|
|
20848
20848
|
rootBoundary: l,
|
|
20849
20849
|
padding: s
|
|
20850
|
-
})[Ut(g)],
|
|
20850
|
+
})[Ut(g)], y;
|
|
20851
20851
|
}, {});
|
|
20852
|
-
return Object.keys(
|
|
20853
|
-
return
|
|
20852
|
+
return Object.keys(v).sort(function(y, g) {
|
|
20853
|
+
return v[y] - v[g];
|
|
20854
20854
|
});
|
|
20855
20855
|
}
|
|
20856
20856
|
o(TC, "computeAutoPlacement");
|
|
@@ -20864,13 +20864,13 @@ o(CC, "getExpandedFallbackPlacements");
|
|
|
20864
20864
|
function FC(e) {
|
|
20865
20865
|
var t = e.state, r = e.options, n = e.name;
|
|
20866
20866
|
if (!t.modifiersData[n]._skip) {
|
|
20867
|
-
for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary,
|
|
20867
|
+
for (var i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, d = r.padding, p = r.boundary, h = r.rootBoundary, m = r.altBoundary, v = r.flipVariations, y = v === void 0 ? !0 : v, g = r.allowedAutoPlacements, b = t.options.placement, T = Ut(b), C = T === b, E = u || (C || !y ? [Fn(b)] : CC(b)), x = [b].concat(E).reduce(function(ae, U) {
|
|
20868
20868
|
return ae.concat(Ut(U) === Ml ? TC(t, {
|
|
20869
20869
|
placement: U,
|
|
20870
20870
|
boundary: p,
|
|
20871
20871
|
rootBoundary: h,
|
|
20872
20872
|
padding: d,
|
|
20873
|
-
flipVariations:
|
|
20873
|
+
flipVariations: y,
|
|
20874
20874
|
allowedAutoPlacements: g
|
|
20875
20875
|
}) : U);
|
|
20876
20876
|
}, []), O = t.rects.reference, w = t.rects.popper, F = /* @__PURE__ */ new Map(), L = !0, R = x[0], M = 0; M < x.length; M++) {
|
|
@@ -20892,7 +20892,7 @@ function FC(e) {
|
|
|
20892
20892
|
F.set($, H);
|
|
20893
20893
|
}
|
|
20894
20894
|
if (L)
|
|
20895
|
-
for (var te =
|
|
20895
|
+
for (var te = y ? 3 : 1, he = /* @__PURE__ */ o(function(U) {
|
|
20896
20896
|
var oe = x.find(function(ve) {
|
|
20897
20897
|
var ie = F.get(ve);
|
|
20898
20898
|
if (ie)
|
|
@@ -21011,7 +21011,7 @@ function DC(e) {
|
|
|
21011
21011
|
}
|
|
21012
21012
|
o(DC, "getAltAxis");
|
|
21013
21013
|
function NC(e) {
|
|
21014
|
-
var t = e.state, r = e.options, n = e.name, i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !1 : s, u = r.boundary, d = r.rootBoundary, p = r.altBoundary, h = r.padding, m = r.tether,
|
|
21014
|
+
var t = e.state, r = e.options, n = e.name, i = r.mainAxis, l = i === void 0 ? !0 : i, s = r.altAxis, c = s === void 0 ? !1 : s, u = r.boundary, d = r.rootBoundary, p = r.altBoundary, h = r.padding, m = r.tether, v = m === void 0 ? !0 : m, y = r.tetherOffset, g = y === void 0 ? 0 : y, b = Ho(t, {
|
|
21015
21015
|
boundary: u,
|
|
21016
21016
|
rootBoundary: d,
|
|
21017
21017
|
padding: h,
|
|
@@ -21030,14 +21030,14 @@ function NC(e) {
|
|
|
21030
21030
|
};
|
|
21031
21031
|
if (w) {
|
|
21032
21032
|
if (l) {
|
|
21033
|
-
var A, _ = x === "y" ? ot : nt, j = x === "y" ? St : Et, I = x === "y" ? "height" : "width", V = w[x], k = V +
|
|
21033
|
+
var A, _ = x === "y" ? ot : nt, j = x === "y" ? St : Et, I = x === "y" ? "height" : "width", V = w[x], k = V + b[_], H = V - b[j], te = v ? -L[I] / 2 : 0, he = C === eo ? F[I] : L[I], ne = C === eo ? -L[I] : -F[I], Re = t.elements.arrow, ae = v && Re ? Ll(Re) : {
|
|
21034
21034
|
width: 0,
|
|
21035
21035
|
height: 0
|
|
21036
|
-
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wp(), oe = U[_], ve = U[j], ie = Fo(0, F[I], ae[I]), ee = E ? F[I] / 2 - te - ie - oe - M.mainAxis : he - ie - oe - M.mainAxis, ue = E ? -F[I] / 2 + te + ie + ve + M.mainAxis : ne + ie + ve + M.mainAxis, Q = t.elements.arrow && sn(t.elements.arrow), z = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, X = (A = $ == null ? void 0 : $[x]) != null ? A : 0, D = V + ee - X - z, re = V + ue - X, ke = Fo(
|
|
21036
|
+
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : wp(), oe = U[_], ve = U[j], ie = Fo(0, F[I], ae[I]), ee = E ? F[I] / 2 - te - ie - oe - M.mainAxis : he - ie - oe - M.mainAxis, ue = E ? -F[I] / 2 + te + ie + ve + M.mainAxis : ne + ie + ve + M.mainAxis, Q = t.elements.arrow && sn(t.elements.arrow), z = Q ? x === "y" ? Q.clientTop || 0 : Q.clientLeft || 0 : 0, X = (A = $ == null ? void 0 : $[x]) != null ? A : 0, D = V + ee - X - z, re = V + ue - X, ke = Fo(v ? Vn(k, D) : k, V, v ? yr(H, re) : H);
|
|
21037
21037
|
w[x] = ke, N[x] = ke - V;
|
|
21038
21038
|
}
|
|
21039
21039
|
if (c) {
|
|
21040
|
-
var Fe, fe = x === "x" ? ot : nt, et = x === "x" ? St : Et, se = w[O],
|
|
21040
|
+
var Fe, fe = x === "x" ? ot : nt, et = x === "x" ? St : Et, se = w[O], He = O === "y" ? "height" : "width", We = se + b[fe], tt = se - b[et], Me = [ot, nt].indexOf(T) !== -1, rt = (Fe = $ == null ? void 0 : $[O]) != null ? Fe : 0, Ct = Me ? We : se - F[He] - L[He] - rt + M.altAxis, At = Me ? se + F[He] + L[He] - rt - M.altAxis : tt, Xt = v && Me ? lC(Ct, se, At) : Fo(v ? Ct : We, se, v ? At : tt);
|
|
21041
21041
|
w[O] = Xt, N[O] = Xt - se;
|
|
21042
21042
|
}
|
|
21043
21043
|
t.modifiersData[n] = N;
|
|
@@ -21167,7 +21167,7 @@ function qC(e) {
|
|
|
21167
21167
|
},
|
|
21168
21168
|
attributes: {},
|
|
21169
21169
|
styles: {}
|
|
21170
|
-
}, h = [], m = !1,
|
|
21170
|
+
}, h = [], m = !1, v = {
|
|
21171
21171
|
state: p,
|
|
21172
21172
|
setOptions: /* @__PURE__ */ o(function(T) {
|
|
21173
21173
|
var C = typeof T == "function" ? T(p.options) : T;
|
|
@@ -21178,7 +21178,7 @@ function qC(e) {
|
|
|
21178
21178
|
var E = WC(GC([].concat(n, p.options.modifiers)));
|
|
21179
21179
|
return p.orderedModifiers = E.filter(function(x) {
|
|
21180
21180
|
return x.enabled;
|
|
21181
|
-
}),
|
|
21181
|
+
}), y(), v.update();
|
|
21182
21182
|
}, "setOptions"),
|
|
21183
21183
|
// Sync update – it will always be executed, even if not necessary. This
|
|
21184
21184
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -21205,7 +21205,7 @@ function qC(e) {
|
|
|
21205
21205
|
state: p,
|
|
21206
21206
|
options: L,
|
|
21207
21207
|
name: R,
|
|
21208
|
-
instance:
|
|
21208
|
+
instance: v
|
|
21209
21209
|
}) || p);
|
|
21210
21210
|
}
|
|
21211
21211
|
}
|
|
@@ -21214,8 +21214,8 @@ function qC(e) {
|
|
|
21214
21214
|
// Async and optimistically optimized update – it will not be executed if
|
|
21215
21215
|
// not necessary (debounced to run at most once-per-tick)
|
|
21216
21216
|
update: UC(function() {
|
|
21217
|
-
return new Promise(function(
|
|
21218
|
-
|
|
21217
|
+
return new Promise(function(b) {
|
|
21218
|
+
v.forceUpdate(), b(p);
|
|
21219
21219
|
});
|
|
21220
21220
|
}),
|
|
21221
21221
|
destroy: /* @__PURE__ */ o(function() {
|
|
@@ -21223,18 +21223,18 @@ function qC(e) {
|
|
|
21223
21223
|
}, "destroy")
|
|
21224
21224
|
};
|
|
21225
21225
|
if (!Ic(c, u))
|
|
21226
|
-
return
|
|
21227
|
-
|
|
21228
|
-
!m && d.onFirstUpdate && d.onFirstUpdate(
|
|
21226
|
+
return v;
|
|
21227
|
+
v.setOptions(d).then(function(b) {
|
|
21228
|
+
!m && d.onFirstUpdate && d.onFirstUpdate(b);
|
|
21229
21229
|
});
|
|
21230
|
-
function
|
|
21231
|
-
p.orderedModifiers.forEach(function(
|
|
21232
|
-
var T =
|
|
21230
|
+
function y() {
|
|
21231
|
+
p.orderedModifiers.forEach(function(b) {
|
|
21232
|
+
var T = b.name, C = b.options, E = C === void 0 ? {} : C, x = b.effect;
|
|
21233
21233
|
if (typeof x == "function") {
|
|
21234
21234
|
var O = x({
|
|
21235
21235
|
state: p,
|
|
21236
21236
|
name: T,
|
|
21237
|
-
instance:
|
|
21237
|
+
instance: v,
|
|
21238
21238
|
options: E
|
|
21239
21239
|
}), w = /* @__PURE__ */ o(function() {
|
|
21240
21240
|
}, "noopFn");
|
|
@@ -21242,13 +21242,13 @@ function qC(e) {
|
|
|
21242
21242
|
}
|
|
21243
21243
|
});
|
|
21244
21244
|
}
|
|
21245
|
-
o(
|
|
21245
|
+
o(y, "runModifierEffects");
|
|
21246
21246
|
function g() {
|
|
21247
|
-
h.forEach(function(
|
|
21248
|
-
return
|
|
21247
|
+
h.forEach(function(b) {
|
|
21248
|
+
return b();
|
|
21249
21249
|
}), h = [];
|
|
21250
21250
|
}
|
|
21251
|
-
return o(g, "cleanupModifierEffects"),
|
|
21251
|
+
return o(g, "cleanupModifierEffects"), v;
|
|
21252
21252
|
}, "createPopper");
|
|
21253
21253
|
}
|
|
21254
21254
|
o(qC, "popperGenerator");
|
|
@@ -21326,12 +21326,12 @@ const n1 = /* @__PURE__ */ o(() => zm({
|
|
|
21326
21326
|
placement: p,
|
|
21327
21327
|
popperOptions: h,
|
|
21328
21328
|
popperRef: m,
|
|
21329
|
-
slotProps:
|
|
21330
|
-
slots:
|
|
21329
|
+
slotProps: v = {},
|
|
21330
|
+
slots: y = {},
|
|
21331
21331
|
TransitionProps: g
|
|
21332
21332
|
// @ts-ignore internal logic
|
|
21333
21333
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
21334
|
-
} = t,
|
|
21334
|
+
} = t, b = G(t, e1), T = S.useRef(null), C = qr(T, r), E = S.useRef(null), x = qr(E, m), O = S.useRef(x);
|
|
21335
21335
|
Mo(() => {
|
|
21336
21336
|
O.current = x;
|
|
21337
21337
|
}, [x]), S.useImperativeHandle(m, () => E.current, []);
|
|
@@ -21385,10 +21385,10 @@ const n1 = /* @__PURE__ */ o(() => zm({
|
|
|
21385
21385
|
placement: F
|
|
21386
21386
|
};
|
|
21387
21387
|
g !== null && ($.TransitionProps = g);
|
|
21388
|
-
const N = n1(), A = (n =
|
|
21388
|
+
const N = n1(), A = (n = y.root) != null ? n : "div", _ = kt({
|
|
21389
21389
|
elementType: A,
|
|
21390
|
-
externalSlotProps:
|
|
21391
|
-
externalForwardedProps:
|
|
21390
|
+
externalSlotProps: v.root,
|
|
21391
|
+
externalForwardedProps: b,
|
|
21392
21392
|
additionalProps: {
|
|
21393
21393
|
role: "tooltip",
|
|
21394
21394
|
ref: C
|
|
@@ -21411,10 +21411,10 @@ const n1 = /* @__PURE__ */ o(() => zm({
|
|
|
21411
21411
|
open: p,
|
|
21412
21412
|
placement: h = "bottom",
|
|
21413
21413
|
popperOptions: m = a1,
|
|
21414
|
-
popperRef:
|
|
21415
|
-
style:
|
|
21414
|
+
popperRef: v,
|
|
21415
|
+
style: y,
|
|
21416
21416
|
transition: g = !1,
|
|
21417
|
-
slotProps:
|
|
21417
|
+
slotProps: b = {},
|
|
21418
21418
|
slots: T = {}
|
|
21419
21419
|
} = t, C = G(t, t1), [E, x] = S.useState(!0), O = /* @__PURE__ */ o(() => {
|
|
21420
21420
|
x(!1);
|
|
@@ -21447,8 +21447,8 @@ const n1 = /* @__PURE__ */ o(() => zm({
|
|
|
21447
21447
|
open: g ? !E : p,
|
|
21448
21448
|
placement: h,
|
|
21449
21449
|
popperOptions: m,
|
|
21450
|
-
popperRef:
|
|
21451
|
-
slotProps:
|
|
21450
|
+
popperRef: v,
|
|
21451
|
+
slotProps: b,
|
|
21452
21452
|
slots: T
|
|
21453
21453
|
}, C, {
|
|
21454
21454
|
style: P({
|
|
@@ -21458,7 +21458,7 @@ const n1 = /* @__PURE__ */ o(() => zm({
|
|
|
21458
21458
|
top: 0,
|
|
21459
21459
|
left: 0,
|
|
21460
21460
|
display: L
|
|
21461
|
-
},
|
|
21461
|
+
}, y),
|
|
21462
21462
|
TransitionProps: R,
|
|
21463
21463
|
children: i
|
|
21464
21464
|
}))
|
|
@@ -21638,10 +21638,10 @@ const p1 = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
21638
21638
|
container: p,
|
|
21639
21639
|
disablePortal: h,
|
|
21640
21640
|
keepMounted: m,
|
|
21641
|
-
modifiers:
|
|
21642
|
-
open:
|
|
21641
|
+
modifiers: v,
|
|
21642
|
+
open: y,
|
|
21643
21643
|
placement: g,
|
|
21644
|
-
popperOptions:
|
|
21644
|
+
popperOptions: b,
|
|
21645
21645
|
popperRef: T,
|
|
21646
21646
|
transition: C,
|
|
21647
21647
|
slots: E,
|
|
@@ -21651,10 +21651,10 @@ const p1 = ["anchorEl", "component", "components", "componentsProps", "container
|
|
|
21651
21651
|
container: p,
|
|
21652
21652
|
disablePortal: h,
|
|
21653
21653
|
keepMounted: m,
|
|
21654
|
-
modifiers:
|
|
21655
|
-
open:
|
|
21654
|
+
modifiers: v,
|
|
21655
|
+
open: y,
|
|
21656
21656
|
placement: g,
|
|
21657
|
-
popperOptions:
|
|
21657
|
+
popperOptions: b,
|
|
21658
21658
|
popperRef: T,
|
|
21659
21659
|
transition: C
|
|
21660
21660
|
}, O);
|
|
@@ -21981,7 +21981,7 @@ function vn(e, t) {
|
|
|
21981
21981
|
}
|
|
21982
21982
|
o(vn, "composeEventHandler");
|
|
21983
21983
|
const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
21984
|
-
var n, i, l, s, c, u, d, p, h, m,
|
|
21984
|
+
var n, i, l, s, c, u, d, p, h, m, v, y, g, b, T, C, E, x, O;
|
|
21985
21985
|
const w = be({
|
|
21986
21986
|
props: t,
|
|
21987
21987
|
name: "MuiTooltip"
|
|
@@ -22015,7 +22015,7 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22015
22015
|
TransitionProps: X
|
|
22016
22016
|
} = w, D = G(w, h1), re = /* @__PURE__ */ S.isValidElement(L) ? L : /* @__PURE__ */ f("span", {
|
|
22017
22017
|
children: L
|
|
22018
|
-
}), ke = wr(), Fe = ha(), [fe, et] = S.useState(), [se,
|
|
22018
|
+
}), ke = wr(), Fe = ha(), [fe, et] = S.useState(), [se, He] = S.useState(null), We = S.useRef(!1), tt = _ || H, Me = jr(), rt = jr(), Ct = jr(), At = jr(), [Xt, Z] = vd({
|
|
22019
22019
|
controlled: U,
|
|
22020
22020
|
default: !1,
|
|
22021
22021
|
name: "Tooltip",
|
|
@@ -22045,11 +22045,11 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22045
22045
|
Dc.start(800 + he, () => {
|
|
22046
22046
|
bn = !1;
|
|
22047
22047
|
}), Z(!1), Re && Je && Re(le), Me.start(ke.transitions.duration.shortest, () => {
|
|
22048
|
-
|
|
22048
|
+
We.current = !1;
|
|
22049
22049
|
});
|
|
22050
22050
|
}
|
|
22051
22051
|
), Y = /* @__PURE__ */ o((le) => {
|
|
22052
|
-
|
|
22052
|
+
We.current && le.type !== "touchstart" || (fe && fe.removeAttribute("title"), rt.clear(), Ct.clear(), I || bn && V ? rt.start(bn ? V : I, () => {
|
|
22053
22053
|
Rr(le);
|
|
22054
22054
|
}) : Rr(le));
|
|
22055
22055
|
}, "handleMouseOver"), ce = /* @__PURE__ */ o((le) => {
|
|
@@ -22066,7 +22066,7 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22066
22066
|
}, "handleBlur"), kr = /* @__PURE__ */ o((le) => {
|
|
22067
22067
|
fe || et(le.currentTarget), Ke(le), de.current === !0 && (or(!0), Y(le));
|
|
22068
22068
|
}, "handleFocus"), as = /* @__PURE__ */ o((le) => {
|
|
22069
|
-
|
|
22069
|
+
We.current = !0;
|
|
22070
22070
|
const st = re.props;
|
|
22071
22071
|
st.onTouchStart && st.onTouchStart(le);
|
|
22072
22072
|
}, "detectTouchStart"), cf = /* @__PURE__ */ o((le) => {
|
|
@@ -22131,10 +22131,10 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22131
22131
|
disableInteractive: tt,
|
|
22132
22132
|
placement: oe,
|
|
22133
22133
|
PopperComponentProp: ve,
|
|
22134
|
-
touch:
|
|
22134
|
+
touch: We.current
|
|
22135
22135
|
}), wa = b1(bo), is = (n = (i = ue.popper) != null ? i : R.Popper) != null ? n : v1, ls = (l = (s = (c = ue.transition) != null ? c : R.Transition) != null ? s : z) != null ? l : Bo, ss = (u = (d = ue.tooltip) != null ? d : R.Tooltip) != null ? u : y1, cs = (p = (h = ue.arrow) != null ? h : R.Arrow) != null ? p : O1, mf = Vr(is, P({}, ie, (m = ee.popper) != null ? m : M.popper, {
|
|
22136
|
-
className: K(wa.popper, ie == null ? void 0 : ie.className, (
|
|
22137
|
-
}), bo), hf = Vr(ls, P({}, X, (g = ee.transition) != null ? g : M.transition), bo), gf = Vr(ss, P({}, (
|
|
22136
|
+
className: K(wa.popper, ie == null ? void 0 : ie.className, (v = (y = ee.popper) != null ? y : M.popper) == null ? void 0 : v.className)
|
|
22137
|
+
}), bo), hf = Vr(ls, P({}, X, (g = ee.transition) != null ? g : M.transition), bo), gf = Vr(ss, P({}, (b = ee.tooltip) != null ? b : M.tooltip, {
|
|
22138
22138
|
className: K(wa.tooltip, (T = (C = ee.tooltip) != null ? C : M.tooltip) == null ? void 0 : T.className)
|
|
22139
22139
|
}), bo), bf = Vr(cs, P({}, (E = ee.arrow) != null ? E : M.arrow, {
|
|
22140
22140
|
className: K(wa.arrow, (x = (O = ee.arrow) != null ? O : M.arrow) == null ? void 0 : x.className)
|
|
@@ -22166,7 +22166,7 @@ const Vl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22166
22166
|
}, le, hf, {
|
|
22167
22167
|
children: /* @__PURE__ */ B(ss, P({}, gf, {
|
|
22168
22168
|
children: [Q, F ? /* @__PURE__ */ f(cs, P({}, bf, {
|
|
22169
|
-
ref:
|
|
22169
|
+
ref: He
|
|
22170
22170
|
})) : null]
|
|
22171
22171
|
}))
|
|
22172
22172
|
})), "children")
|
|
@@ -22466,8 +22466,8 @@ const WR = S.forwardRef((e, t) => {
|
|
|
22466
22466
|
hasAccept: u = !0,
|
|
22467
22467
|
hasCancel: d = !0,
|
|
22468
22468
|
isLoading: p = !1
|
|
22469
|
-
} = e, h = qe(e), m = /* @__PURE__ */ o((
|
|
22470
|
-
i && i(
|
|
22469
|
+
} = e, h = qe(e), m = /* @__PURE__ */ o((v) => {
|
|
22470
|
+
i && i(v);
|
|
22471
22471
|
}, "handleClose");
|
|
22472
22472
|
return /* @__PURE__ */ B(
|
|
22473
22473
|
tn,
|
|
@@ -22490,7 +22490,7 @@ const WR = S.forwardRef((e, t) => {
|
|
|
22490
22490
|
{
|
|
22491
22491
|
label: "ra.action.cancel",
|
|
22492
22492
|
disabled: p,
|
|
22493
|
-
onClick: /* @__PURE__ */ o((
|
|
22493
|
+
onClick: /* @__PURE__ */ o((v) => m(v), "onClick"),
|
|
22494
22494
|
children: /* @__PURE__ */ f(No, {})
|
|
22495
22495
|
}
|
|
22496
22496
|
),
|
|
@@ -22631,10 +22631,10 @@ const $1 = /* @__PURE__ */ o((e) => {
|
|
|
22631
22631
|
);
|
|
22632
22632
|
}) });
|
|
22633
22633
|
}, "renderMenu"), L1 = /* @__PURE__ */ o(({ dense: e = !1 }) => {
|
|
22634
|
-
const t = Ze(), [r, n] =
|
|
22634
|
+
const t = Ze(), [r, n] = Ve({ mnuPrueba: !1 }), i = Gn((m) => m.breakpoints.down("sm")), [l] = uu(), s = JSON.parse(localStorage.getItem("menus")), h = Bp({
|
|
22635
22635
|
items: s,
|
|
22636
22636
|
handleToggle: /* @__PURE__ */ o((m) => {
|
|
22637
|
-
n((
|
|
22637
|
+
n((v) => ({ ...v, [m]: !v[m] }));
|
|
22638
22638
|
}, "handleToggle"),
|
|
22639
22639
|
state: r,
|
|
22640
22640
|
activeClassName: "",
|
|
@@ -22693,23 +22693,23 @@ const $1 = /* @__PURE__ */ o((e) => {
|
|
|
22693
22693
|
filterValues: p,
|
|
22694
22694
|
exporter: h,
|
|
22695
22695
|
showFilter: m,
|
|
22696
|
-
total:
|
|
22697
|
-
} = Gr(e),
|
|
22696
|
+
total: v
|
|
22697
|
+
} = Gr(e), y = qe(e), { hasCreate: g } = iu(e), b = Te(om) || r, T = Gr(e), E = { ...Oa(e), ...T };
|
|
22698
22698
|
return delete c.hasCreate, Mt(
|
|
22699
22699
|
() => /* @__PURE__ */ B(su, { className: t, ...nm(c), children: [
|
|
22700
22700
|
l ? null : r ? Jt(r, {
|
|
22701
|
-
resource:
|
|
22701
|
+
resource: y,
|
|
22702
22702
|
showFilter: m,
|
|
22703
22703
|
displayedFilters: d,
|
|
22704
22704
|
filterValues: p,
|
|
22705
22705
|
context: "button"
|
|
22706
|
-
}) :
|
|
22706
|
+
}) : b && /* @__PURE__ */ f(am, {}),
|
|
22707
22707
|
g && /* @__PURE__ */ f(im, {}),
|
|
22708
22708
|
h !== !1 && /* @__PURE__ */ f(
|
|
22709
22709
|
lm,
|
|
22710
22710
|
{
|
|
22711
|
-
disabled:
|
|
22712
|
-
resource:
|
|
22711
|
+
disabled: v === 0,
|
|
22712
|
+
resource: y,
|
|
22713
22713
|
sort: u,
|
|
22714
22714
|
filterValues: p
|
|
22715
22715
|
}
|
|
@@ -22733,13 +22733,13 @@ const $1 = /* @__PURE__ */ o((e) => {
|
|
|
22733
22733
|
)
|
|
22734
22734
|
] }),
|
|
22735
22735
|
[
|
|
22736
|
-
|
|
22736
|
+
y,
|
|
22737
22737
|
d,
|
|
22738
22738
|
p,
|
|
22739
22739
|
r,
|
|
22740
22740
|
m,
|
|
22741
|
-
y,
|
|
22742
22741
|
b,
|
|
22742
|
+
v,
|
|
22743
22743
|
t,
|
|
22744
22744
|
u,
|
|
22745
22745
|
l,
|
|
@@ -22780,17 +22780,17 @@ function z1(e, t) {
|
|
|
22780
22780
|
}
|
|
22781
22781
|
} = l;
|
|
22782
22782
|
G(l, V1);
|
|
22783
|
-
const m = p[e] || n,
|
|
22783
|
+
const m = p[e] || n, v = wd(h[e], i), y = Rd(P({
|
|
22784
22784
|
className: r
|
|
22785
22785
|
}, u, {
|
|
22786
22786
|
externalForwardedProps: void 0,
|
|
22787
|
-
externalSlotProps:
|
|
22787
|
+
externalSlotProps: v
|
|
22788
22788
|
})), {
|
|
22789
22789
|
props: {
|
|
22790
22790
|
component: g
|
|
22791
22791
|
},
|
|
22792
|
-
internalRef:
|
|
22793
|
-
} =
|
|
22792
|
+
internalRef: b
|
|
22793
|
+
} = y, T = G(y.props, B1), C = xt(b, v == null ? void 0 : v.ref, t.ref), E = s ? s(T) : {}, x = P({}, i, E), O = g, w = Vr(m, P({}, e === "root", !p[e] && c, T, O && {
|
|
22794
22794
|
as: O
|
|
22795
22795
|
}, {
|
|
22796
22796
|
ref: C
|
|
@@ -22923,17 +22923,17 @@ const Hl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22923
22923
|
imgProps: p,
|
|
22924
22924
|
sizes: h,
|
|
22925
22925
|
src: m,
|
|
22926
|
-
srcSet:
|
|
22927
|
-
variant:
|
|
22926
|
+
srcSet: v,
|
|
22927
|
+
variant: y = "circular"
|
|
22928
22928
|
} = n, g = G(n, H1);
|
|
22929
|
-
let
|
|
22929
|
+
let b = null;
|
|
22930
22930
|
const T = Y1(P({}, p, {
|
|
22931
22931
|
src: m,
|
|
22932
|
-
srcSet:
|
|
22933
|
-
})), C = m ||
|
|
22932
|
+
srcSet: v
|
|
22933
|
+
})), C = m || v, E = C && T !== "error", x = P({}, n, {
|
|
22934
22934
|
colorDefault: !E,
|
|
22935
22935
|
component: c,
|
|
22936
|
-
variant:
|
|
22936
|
+
variant: y
|
|
22937
22937
|
}), O = U1(x), [w, F] = z1("img", {
|
|
22938
22938
|
className: O.img,
|
|
22939
22939
|
elementType: q1,
|
|
@@ -22946,12 +22946,12 @@ const Hl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22946
22946
|
additionalProps: {
|
|
22947
22947
|
alt: i,
|
|
22948
22948
|
src: m,
|
|
22949
|
-
srcSet:
|
|
22949
|
+
srcSet: v,
|
|
22950
22950
|
sizes: h
|
|
22951
22951
|
},
|
|
22952
22952
|
ownerState: x
|
|
22953
22953
|
});
|
|
22954
|
-
return E ?
|
|
22954
|
+
return E ? b = /* @__PURE__ */ f(w, P({}, F)) : l || l === 0 ? b = l : C && i ? b = i[0] : b = /* @__PURE__ */ f(K1, {
|
|
22955
22955
|
ownerState: x,
|
|
22956
22956
|
className: O.fallback
|
|
22957
22957
|
}), /* @__PURE__ */ f(G1, P({
|
|
@@ -22960,7 +22960,7 @@ const Hl = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
22960
22960
|
className: K(O.root, s),
|
|
22961
22961
|
ref: r
|
|
22962
22962
|
}, g, {
|
|
22963
|
-
children:
|
|
22963
|
+
children: b
|
|
22964
22964
|
}));
|
|
22965
22965
|
}, "Avatar"));
|
|
22966
22966
|
process.env.NODE_ENV !== "production" && (Hl.propTypes = {
|
|
@@ -23247,10 +23247,10 @@ const X1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23247
23247
|
className: p,
|
|
23248
23248
|
disabled: h = !1,
|
|
23249
23249
|
disableElevation: m = !1,
|
|
23250
|
-
disableFocusRipple:
|
|
23251
|
-
endIcon:
|
|
23250
|
+
disableFocusRipple: v = !1,
|
|
23251
|
+
endIcon: y,
|
|
23252
23252
|
focusVisibleClassName: g,
|
|
23253
|
-
fullWidth:
|
|
23253
|
+
fullWidth: b = !1,
|
|
23254
23254
|
size: T = "medium",
|
|
23255
23255
|
startIcon: C,
|
|
23256
23256
|
type: E,
|
|
@@ -23260,8 +23260,8 @@ const X1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23260
23260
|
component: d,
|
|
23261
23261
|
disabled: h,
|
|
23262
23262
|
disableElevation: m,
|
|
23263
|
-
disableFocusRipple:
|
|
23264
|
-
fullWidth:
|
|
23263
|
+
disableFocusRipple: v,
|
|
23264
|
+
fullWidth: b,
|
|
23265
23265
|
size: T,
|
|
23266
23266
|
type: E,
|
|
23267
23267
|
variant: x
|
|
@@ -23269,17 +23269,17 @@ const X1 = ["children", "color", "component", "className", "disabled", "disableE
|
|
|
23269
23269
|
className: F.startIcon,
|
|
23270
23270
|
ownerState: w,
|
|
23271
23271
|
children: C
|
|
23272
|
-
}), R =
|
|
23272
|
+
}), R = y && /* @__PURE__ */ f(tF, {
|
|
23273
23273
|
className: F.endIcon,
|
|
23274
23274
|
ownerState: w,
|
|
23275
|
-
children:
|
|
23275
|
+
children: y
|
|
23276
23276
|
}), M = i || "";
|
|
23277
23277
|
return /* @__PURE__ */ B(J1, P({
|
|
23278
23278
|
ownerState: w,
|
|
23279
23279
|
className: K(n.className, F.root, p, M),
|
|
23280
23280
|
component: d,
|
|
23281
23281
|
disabled: h,
|
|
23282
|
-
focusRipple: !
|
|
23282
|
+
focusRipple: !v,
|
|
23283
23283
|
focusVisibleClassName: K(F.focusVisible, g),
|
|
23284
23284
|
ref: r,
|
|
23285
23285
|
type: E
|
|
@@ -23628,36 +23628,36 @@ const ar = 44, pF = so(Nc || (Nc = Ta`
|
|
|
23628
23628
|
thickness: d = 3.6,
|
|
23629
23629
|
value: p = 0,
|
|
23630
23630
|
variant: h = "indeterminate"
|
|
23631
|
-
} = n, m = G(n, dF),
|
|
23631
|
+
} = n, m = G(n, dF), v = P({}, n, {
|
|
23632
23632
|
color: l,
|
|
23633
23633
|
disableShrink: s,
|
|
23634
23634
|
size: c,
|
|
23635
23635
|
thickness: d,
|
|
23636
23636
|
value: p,
|
|
23637
23637
|
variant: h
|
|
23638
|
-
}),
|
|
23638
|
+
}), y = mF(v), g = {}, b = {}, T = {};
|
|
23639
23639
|
if (h === "determinate") {
|
|
23640
23640
|
const C = 2 * Math.PI * ((ar - d) / 2);
|
|
23641
|
-
g.strokeDasharray = C.toFixed(3), T["aria-valuenow"] = Math.round(p), g.strokeDashoffset = `${((100 - p) / 100 * C).toFixed(3)}px`,
|
|
23641
|
+
g.strokeDasharray = C.toFixed(3), T["aria-valuenow"] = Math.round(p), g.strokeDashoffset = `${((100 - p) / 100 * C).toFixed(3)}px`, b.transform = "rotate(-90deg)";
|
|
23642
23642
|
}
|
|
23643
23643
|
return /* @__PURE__ */ f(hF, P({
|
|
23644
|
-
className: K(
|
|
23644
|
+
className: K(y.root, i),
|
|
23645
23645
|
style: P({
|
|
23646
23646
|
width: c,
|
|
23647
23647
|
height: c
|
|
23648
|
-
},
|
|
23649
|
-
ownerState:
|
|
23648
|
+
}, b, u),
|
|
23649
|
+
ownerState: v,
|
|
23650
23650
|
ref: r,
|
|
23651
23651
|
role: "progressbar"
|
|
23652
23652
|
}, T, m, {
|
|
23653
23653
|
children: /* @__PURE__ */ f(gF, {
|
|
23654
|
-
className:
|
|
23655
|
-
ownerState:
|
|
23654
|
+
className: y.svg,
|
|
23655
|
+
ownerState: v,
|
|
23656
23656
|
viewBox: `${ar / 2} ${ar / 2} ${ar} ${ar}`,
|
|
23657
23657
|
children: /* @__PURE__ */ f(bF, {
|
|
23658
|
-
className:
|
|
23658
|
+
className: y.circle,
|
|
23659
23659
|
style: g,
|
|
23660
|
-
ownerState:
|
|
23660
|
+
ownerState: v,
|
|
23661
23661
|
cx: ar,
|
|
23662
23662
|
cy: ar,
|
|
23663
23663
|
r: (ar - d) / 2,
|
|
@@ -23731,24 +23731,24 @@ const qR = /* @__PURE__ */ o((e) => {
|
|
|
23731
23731
|
loginBackgroundImage: t,
|
|
23732
23732
|
nameSource: r = "username",
|
|
23733
23733
|
passwordSource: n = "password"
|
|
23734
|
-
} = e, [i, l] =
|
|
23735
|
-
return /* @__PURE__ */ f(Uo, { onSubmit: /* @__PURE__ */ o((
|
|
23736
|
-
l(!0), d(
|
|
23737
|
-
(
|
|
23734
|
+
} = e, [i, l] = Ve(!1), s = Ze(), c = s("ra.auth.sign_in"), u = tr(), d = sm(), p = Qn();
|
|
23735
|
+
return /* @__PURE__ */ f(Uo, { onSubmit: /* @__PURE__ */ o((v) => {
|
|
23736
|
+
l(!0), d(v, p.state ? p.state.nextPathname : "/").catch(
|
|
23737
|
+
(y) => {
|
|
23738
23738
|
l(!1), u(
|
|
23739
|
-
typeof
|
|
23739
|
+
typeof y == "string" ? y : typeof y > "u" || !y.message ? "ra.auth.sign_in_error" : y.message,
|
|
23740
23740
|
{
|
|
23741
23741
|
type: "error",
|
|
23742
23742
|
messageArgs: {
|
|
23743
|
-
_: typeof
|
|
23743
|
+
_: typeof y == "string" ? y : y && y.message ? y.message : void 0
|
|
23744
23744
|
}
|
|
23745
23745
|
}
|
|
23746
23746
|
);
|
|
23747
23747
|
}
|
|
23748
23748
|
);
|
|
23749
|
-
}, "handleSubmit"), validate: /* @__PURE__ */ o((
|
|
23750
|
-
const
|
|
23751
|
-
return
|
|
23749
|
+
}, "handleSubmit"), validate: /* @__PURE__ */ o((v) => {
|
|
23750
|
+
const y = {};
|
|
23751
|
+
return v[r] || (y[r] = s("ra.validation.required")), v[n] || (y[n] = s("ra.validation.required")), y;
|
|
23752
23752
|
}, "validate"), children: /* @__PURE__ */ f(
|
|
23753
23753
|
$e,
|
|
23754
23754
|
{
|
|
@@ -23895,12 +23895,12 @@ const yF = ["children", "className", "component", "dense", "disablePadding", "su
|
|
|
23895
23895
|
component: s,
|
|
23896
23896
|
dense: c,
|
|
23897
23897
|
disablePadding: u
|
|
23898
|
-
}),
|
|
23898
|
+
}), v = OF(m);
|
|
23899
23899
|
return /* @__PURE__ */ f(zn.Provider, {
|
|
23900
23900
|
value: h,
|
|
23901
23901
|
children: /* @__PURE__ */ B(xF, P({
|
|
23902
23902
|
as: s,
|
|
23903
|
-
className: K(
|
|
23903
|
+
className: K(v.root, l),
|
|
23904
23904
|
ref: r,
|
|
23905
23905
|
ownerState: m
|
|
23906
23906
|
}, p, {
|
|
@@ -23997,28 +23997,28 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
23997
23997
|
disableListWrap: d = !1,
|
|
23998
23998
|
onKeyDown: p,
|
|
23999
23999
|
variant: h = "selectedMenu"
|
|
24000
|
-
} = t, m = G(t, SF),
|
|
24000
|
+
} = t, m = G(t, SF), v = S.useRef(null), y = S.useRef({
|
|
24001
24001
|
keys: [],
|
|
24002
24002
|
repeating: !0,
|
|
24003
24003
|
previousKeyMatched: !0,
|
|
24004
24004
|
lastTime: null
|
|
24005
24005
|
});
|
|
24006
24006
|
Jo(() => {
|
|
24007
|
-
i &&
|
|
24007
|
+
i && v.current.focus();
|
|
24008
24008
|
}, [i]), S.useImperativeHandle(n, () => ({
|
|
24009
24009
|
adjustStyleForScrollbar: /* @__PURE__ */ o((E, {
|
|
24010
24010
|
direction: x
|
|
24011
24011
|
}) => {
|
|
24012
|
-
const O = !
|
|
24013
|
-
if (E.clientHeight <
|
|
24012
|
+
const O = !v.current.style.width;
|
|
24013
|
+
if (E.clientHeight < v.current.clientHeight && O) {
|
|
24014
24014
|
const w = `${IE(Er(E))}px`;
|
|
24015
|
-
|
|
24015
|
+
v.current.style[x === "rtl" ? "paddingLeft" : "paddingRight"] = w, v.current.style.width = `calc(100% + ${w})`;
|
|
24016
24016
|
}
|
|
24017
|
-
return
|
|
24017
|
+
return v.current;
|
|
24018
24018
|
}, "adjustStyleForScrollbar")
|
|
24019
24019
|
}), []);
|
|
24020
24020
|
const g = /* @__PURE__ */ o((E) => {
|
|
24021
|
-
const x =
|
|
24021
|
+
const x = v.current, O = E.key, w = Er(x).activeElement;
|
|
24022
24022
|
if (O === "ArrowDown")
|
|
24023
24023
|
E.preventDefault(), So(x, w, d, u, Ua);
|
|
24024
24024
|
else if (O === "ArrowUp")
|
|
@@ -24028,13 +24028,13 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
24028
24028
|
else if (O === "End")
|
|
24029
24029
|
E.preventDefault(), So(x, null, d, u, Bc);
|
|
24030
24030
|
else if (O.length === 1) {
|
|
24031
|
-
const F =
|
|
24031
|
+
const F = y.current, L = O.toLowerCase(), R = performance.now();
|
|
24032
24032
|
F.keys.length > 0 && (R - F.lastTime > 500 ? (F.keys = [], F.repeating = !0, F.previousKeyMatched = !0) : F.repeating && L !== F.keys[0] && (F.repeating = !1)), F.lastTime = R, F.keys.push(L);
|
|
24033
24033
|
const M = w && !F.repeating && Yp(w, F);
|
|
24034
24034
|
F.previousKeyMatched && (M || So(x, w, !1, u, Ua, F)) ? E.preventDefault() : F.previousKeyMatched = !1;
|
|
24035
24035
|
}
|
|
24036
24036
|
p && p(E);
|
|
24037
|
-
}, "handleKeyDown"),
|
|
24037
|
+
}, "handleKeyDown"), b = xt(v, r);
|
|
24038
24038
|
let T = -1;
|
|
24039
24039
|
S.Children.forEach(s, (E, x) => {
|
|
24040
24040
|
if (!/* @__PURE__ */ S.isValidElement(E)) {
|
|
@@ -24053,7 +24053,7 @@ const Qp = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ o(function(t, r) {
|
|
|
24053
24053
|
});
|
|
24054
24054
|
return /* @__PURE__ */ f(Kp, P({
|
|
24055
24055
|
role: "menu",
|
|
24056
|
-
ref:
|
|
24056
|
+
ref: b,
|
|
24057
24057
|
className: c,
|
|
24058
24058
|
onKeyDown: g,
|
|
24059
24059
|
tabIndex: i ? 0 : -1
|
|
@@ -24173,10 +24173,10 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24173
24173
|
anchorPosition: p,
|
|
24174
24174
|
anchorReference: h = "anchorEl",
|
|
24175
24175
|
children: m,
|
|
24176
|
-
className:
|
|
24177
|
-
container:
|
|
24176
|
+
className: v,
|
|
24177
|
+
container: y,
|
|
24178
24178
|
elevation: g = 8,
|
|
24179
|
-
marginThreshold:
|
|
24179
|
+
marginThreshold: b = 16,
|
|
24180
24180
|
open: T,
|
|
24181
24181
|
PaperProps: C = {},
|
|
24182
24182
|
slots: E,
|
|
@@ -24195,7 +24195,7 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24195
24195
|
anchorOrigin: d,
|
|
24196
24196
|
anchorReference: h,
|
|
24197
24197
|
elevation: g,
|
|
24198
|
-
marginThreshold:
|
|
24198
|
+
marginThreshold: b,
|
|
24199
24199
|
externalPaperSlotProps: N,
|
|
24200
24200
|
transformOrigin: O,
|
|
24201
24201
|
TransitionComponent: w,
|
|
@@ -24230,17 +24230,17 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24230
24230
|
};
|
|
24231
24231
|
const ke = V();
|
|
24232
24232
|
let Fe = ke.top - re.vertical, fe = ke.left - re.horizontal;
|
|
24233
|
-
const et = Fe + D.height, se = fe + D.width,
|
|
24234
|
-
if (
|
|
24235
|
-
const Me = Fe -
|
|
24233
|
+
const et = Fe + D.height, se = fe + D.width, He = Pr(wn(u)), We = He.innerHeight - b, tt = He.innerWidth - b;
|
|
24234
|
+
if (b !== null && Fe < b) {
|
|
24235
|
+
const Me = Fe - b;
|
|
24236
24236
|
Fe -= Me, re.vertical += Me;
|
|
24237
|
-
} else if (
|
|
24238
|
-
const Me = et -
|
|
24237
|
+
} else if (b !== null && et > We) {
|
|
24238
|
+
const Me = et - We;
|
|
24239
24239
|
Fe -= Me, re.vertical += Me;
|
|
24240
24240
|
}
|
|
24241
|
-
if (process.env.NODE_ENV !== "production" && D.height >
|
|
24242
|
-
`)),
|
|
24243
|
-
const Me = fe -
|
|
24241
|
+
if (process.env.NODE_ENV !== "production" && D.height > We && D.height && We && console.error(["MUI: The popover component is too tall.", `Some part of it can not be seen on the screen (${D.height - We}px).`, "Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
24242
|
+
`)), b !== null && fe < b) {
|
|
24243
|
+
const Me = fe - b;
|
|
24244
24244
|
fe -= Me, re.horizontal += Me;
|
|
24245
24245
|
} else if (se > tt) {
|
|
24246
24246
|
const Me = se - tt;
|
|
@@ -24251,7 +24251,7 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24251
24251
|
left: `${Math.round(fe)}px`,
|
|
24252
24252
|
transformOrigin: Wc(re)
|
|
24253
24253
|
};
|
|
24254
|
-
}, [u, h, V, k,
|
|
24254
|
+
}, [u, h, V, k, b]), [te, he] = S.useState(T), ne = S.useCallback(() => {
|
|
24255
24255
|
const X = A.current;
|
|
24256
24256
|
if (!X)
|
|
24257
24257
|
return;
|
|
@@ -24282,7 +24282,7 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24282
24282
|
}, [u, T, ne]);
|
|
24283
24283
|
let U = F;
|
|
24284
24284
|
F === "auto" && !w.muiSupportAuto && (U = void 0);
|
|
24285
|
-
const oe =
|
|
24285
|
+
const oe = y || (u ? Er(wn(u)).body : void 0), ve = (i = E == null ? void 0 : E.root) != null ? i : wF, ie = (l = E == null ? void 0 : E.paper) != null ? l : Xp, ee = kt({
|
|
24286
24286
|
elementType: ie,
|
|
24287
24287
|
externalSlotProps: P({}, N, {
|
|
24288
24288
|
style: te ? N.style : P({}, N.style, {
|
|
@@ -24310,7 +24310,7 @@ const FF = /* @__PURE__ */ o((e) => {
|
|
|
24310
24310
|
open: T
|
|
24311
24311
|
},
|
|
24312
24312
|
ownerState: j,
|
|
24313
|
-
className: K(I.root,
|
|
24313
|
+
className: K(I.root, v)
|
|
24314
24314
|
}), {
|
|
24315
24315
|
slotProps: Q
|
|
24316
24316
|
} = ue, z = G(ue, CF);
|
|
@@ -24564,11 +24564,11 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
|
|
|
24564
24564
|
MenuListProps: p = {},
|
|
24565
24565
|
onClose: h,
|
|
24566
24566
|
open: m,
|
|
24567
|
-
PaperProps:
|
|
24568
|
-
PopoverClasses:
|
|
24567
|
+
PaperProps: v = {},
|
|
24568
|
+
PopoverClasses: y,
|
|
24569
24569
|
transitionDuration: g = "auto",
|
|
24570
24570
|
TransitionProps: {
|
|
24571
|
-
onEntering:
|
|
24571
|
+
onEntering: b
|
|
24572
24572
|
} = {},
|
|
24573
24573
|
variant: T = "selectedMenu",
|
|
24574
24574
|
slots: C = {},
|
|
@@ -24577,15 +24577,15 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
|
|
|
24577
24577
|
autoFocus: s,
|
|
24578
24578
|
disableAutoFocusItem: d,
|
|
24579
24579
|
MenuListProps: p,
|
|
24580
|
-
onEntering:
|
|
24581
|
-
PaperProps:
|
|
24580
|
+
onEntering: b,
|
|
24581
|
+
PaperProps: v,
|
|
24582
24582
|
transitionDuration: g,
|
|
24583
24583
|
TransitionProps: x,
|
|
24584
24584
|
variant: T
|
|
24585
24585
|
}), L = AF(F), R = s && !d && m, M = S.useRef(null), $ = /* @__PURE__ */ o((k, H) => {
|
|
24586
24586
|
M.current && M.current.adjustStyleForScrollbar(k, {
|
|
24587
24587
|
direction: w ? "rtl" : "ltr"
|
|
24588
|
-
}),
|
|
24588
|
+
}), b && b(k, H);
|
|
24589
24589
|
}, "handleEntering"), N = /* @__PURE__ */ o((k) => {
|
|
24590
24590
|
k.key === "Tab" && (k.preventDefault(), h && h(k, "tabKeyDown"));
|
|
24591
24591
|
}, "handleListKeyDown");
|
|
@@ -24594,7 +24594,7 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
|
|
|
24594
24594
|
/* @__PURE__ */ S.isValidElement(k) && (process.env.NODE_ENV !== "production" && ko.isFragment(k) && console.error(["MUI: The Menu component doesn't accept a Fragment as a child.", "Consider providing an array instead."].join(`
|
|
24595
24595
|
`)), k.props.disabled || (T === "selectedMenu" && k.props.selected || A === -1) && (A = H));
|
|
24596
24596
|
});
|
|
24597
|
-
const _ = (n = C.paper) != null ? n : DF, j = (i = E.paper) != null ? i :
|
|
24597
|
+
const _ = (n = C.paper) != null ? n : DF, j = (i = E.paper) != null ? i : v, I = kt({
|
|
24598
24598
|
elementType: C.root,
|
|
24599
24599
|
externalSlotProps: E.root,
|
|
24600
24600
|
ownerState: F,
|
|
@@ -24628,7 +24628,7 @@ const kF = ["onEntering"], MF = ["autoFocus", "children", "className", "disableA
|
|
|
24628
24628
|
}, x),
|
|
24629
24629
|
ownerState: F
|
|
24630
24630
|
}, O, {
|
|
24631
|
-
classes:
|
|
24631
|
+
classes: y,
|
|
24632
24632
|
children: /* @__PURE__ */ f(NF, P({
|
|
24633
24633
|
onKeyDown: N,
|
|
24634
24634
|
actions: M,
|
|
@@ -24866,18 +24866,18 @@ const Eo = me("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
24866
24866
|
role: p = "menuitem",
|
|
24867
24867
|
tabIndex: h,
|
|
24868
24868
|
className: m
|
|
24869
|
-
} = n,
|
|
24870
|
-
dense: s ||
|
|
24869
|
+
} = n, v = G(n, jF), y = S.useContext(zn), g = S.useMemo(() => ({
|
|
24870
|
+
dense: s || y.dense || !1,
|
|
24871
24871
|
disableGutters: u
|
|
24872
|
-
}), [
|
|
24872
|
+
}), [y.dense, s, u]), b = S.useRef(null);
|
|
24873
24873
|
Jo(() => {
|
|
24874
|
-
i && (
|
|
24874
|
+
i && (b.current ? b.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
24875
24875
|
}, [i]);
|
|
24876
24876
|
const T = P({}, n, {
|
|
24877
24877
|
dense: g.dense,
|
|
24878
24878
|
divider: c,
|
|
24879
24879
|
disableGutters: u
|
|
24880
|
-
}), C = BF(n), E = xt(
|
|
24880
|
+
}), C = BF(n), E = xt(b, r);
|
|
24881
24881
|
let x;
|
|
24882
24882
|
return n.disabled || (x = h !== void 0 ? h : -1), /* @__PURE__ */ f(zn.Provider, {
|
|
24883
24883
|
value: g,
|
|
@@ -24888,7 +24888,7 @@ const Eo = me("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
24888
24888
|
component: l,
|
|
24889
24889
|
focusVisibleClassName: K(C.focusVisible, d),
|
|
24890
24890
|
className: K(C.root, m)
|
|
24891
|
-
},
|
|
24891
|
+
}, v, {
|
|
24892
24892
|
ownerState: T,
|
|
24893
24893
|
classes: C
|
|
24894
24894
|
}))
|
|
@@ -24984,7 +24984,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
24984
24984
|
showItemLabel: s = !1,
|
|
24985
24985
|
initialSelectedIndex: c = 0,
|
|
24986
24986
|
...u
|
|
24987
|
-
} = e, [d, p] =
|
|
24987
|
+
} = e, [d, p] = Ve(!1), h = Un(), [m, v] = Ve(c), y = qe(e), g = /* @__PURE__ */ o((E, x) => (v(x), p(!1), !0), "handleMenuItemClick"), b = /* @__PURE__ */ o((E) => {
|
|
24988
24988
|
E.preventDefault(), p(!0), h.current = E.currentTarget;
|
|
24989
24989
|
}, "handleToggle"), T = /* @__PURE__ */ o((E) => {
|
|
24990
24990
|
h.current && h.current.contains(E.target) || p(!1);
|
|
@@ -24996,7 +24996,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
24996
24996
|
size: "large",
|
|
24997
24997
|
className: "add-filter",
|
|
24998
24998
|
label: s && C ? C.label : i,
|
|
24999
|
-
onClick:
|
|
24999
|
+
onClick: b,
|
|
25000
25000
|
title: C == null ? void 0 : C.label,
|
|
25001
25001
|
disabled: l,
|
|
25002
25002
|
children: (C == null ? void 0 : C.icon) || n
|
|
@@ -25010,7 +25010,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
25010
25010
|
onClick: /* @__PURE__ */ o((O) => {
|
|
25011
25011
|
g(O, x), E.onClick && E.onClick(O, x);
|
|
25012
25012
|
}, "onClick"),
|
|
25013
|
-
resource:
|
|
25013
|
+
resource: y,
|
|
25014
25014
|
title: E.label,
|
|
25015
25015
|
children: [
|
|
25016
25016
|
E.icon,
|
|
@@ -25021,7 +25021,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
25021
25021
|
sx: { paddingRight: "4px" }
|
|
25022
25022
|
}
|
|
25023
25023
|
),
|
|
25024
|
-
/* @__PURE__ */ f(cm, { label: E.label, resource:
|
|
25024
|
+
/* @__PURE__ */ f(cm, { label: E.label, resource: y })
|
|
25025
25025
|
]
|
|
25026
25026
|
},
|
|
25027
25027
|
E.label
|
|
@@ -25072,16 +25072,16 @@ const HF = /* @__PURE__ */ o(({
|
|
|
25072
25072
|
toolbar: c = YF,
|
|
25073
25073
|
onChange: u,
|
|
25074
25074
|
...d
|
|
25075
|
-
} = e, p = Qn(), h = km(""), m = qe(e), [
|
|
25075
|
+
} = e, p = Qn(), h = km(""), m = qe(e), [v, y] = Ve(0), {
|
|
25076
25076
|
fichaProps: { etrs: g }
|
|
25077
|
-
} = Te(Ge),
|
|
25078
|
-
l || (
|
|
25079
|
-
|
|
25077
|
+
} = Te(Ge), b = Qt({ ...e, etrs: g }), { estado: T } = Te(Ge), C = /* @__PURE__ */ o((x, O) => {
|
|
25078
|
+
l || (y(O), u && u(
|
|
25079
|
+
b,
|
|
25080
25080
|
T,
|
|
25081
25081
|
{
|
|
25082
25082
|
newTab: O,
|
|
25083
|
-
prevTab:
|
|
25084
|
-
setTab:
|
|
25083
|
+
prevTab: v,
|
|
25084
|
+
setTab: y
|
|
25085
25085
|
},
|
|
25086
25086
|
x
|
|
25087
25087
|
));
|
|
@@ -25091,7 +25091,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
25091
25091
|
onChange: C,
|
|
25092
25092
|
syncWithLocation: l,
|
|
25093
25093
|
url: i,
|
|
25094
|
-
value:
|
|
25094
|
+
value: v
|
|
25095
25095
|
},
|
|
25096
25096
|
t
|
|
25097
25097
|
), "renderTabHeaders");
|
|
@@ -25109,7 +25109,7 @@ const HF = /* @__PURE__ */ o(({
|
|
|
25109
25109
|
const w = fm(x, O), F = l ? !Ka(
|
|
25110
25110
|
`${h.pathname}/${w}`,
|
|
25111
25111
|
p.pathname
|
|
25112
|
-
) :
|
|
25112
|
+
) : v !== O;
|
|
25113
25113
|
return vr(x) ? S.cloneElement(x, {
|
|
25114
25114
|
intent: "content",
|
|
25115
25115
|
resource: m,
|
|
@@ -25155,10 +25155,10 @@ const JF = /* @__PURE__ */ o(({
|
|
|
25155
25155
|
reValidateMode: p,
|
|
25156
25156
|
sanitizeEmptyValues: h,
|
|
25157
25157
|
shouldFocusError: m,
|
|
25158
|
-
shouldUnregister:
|
|
25159
|
-
shouldUseNativeValidation:
|
|
25158
|
+
shouldUnregister: v,
|
|
25159
|
+
shouldUseNativeValidation: y,
|
|
25160
25160
|
validate: g,
|
|
25161
|
-
warnWhenUnsavedChanges:
|
|
25161
|
+
warnWhenUnsavedChanges: b,
|
|
25162
25162
|
...T
|
|
25163
25163
|
}) => T, "sanitizeRestProps"), XR = /* @__PURE__ */ o((e) => {
|
|
25164
25164
|
const { syncWithLocation: t = !1, ...r } = e, {
|
|
@@ -25277,30 +25277,47 @@ const JF = /* @__PURE__ */ o(({
|
|
|
25277
25277
|
incluyeAcciones: i = !1,
|
|
25278
25278
|
resource: l,
|
|
25279
25279
|
...s
|
|
25280
|
-
} = e, [c, u] =
|
|
25281
|
-
|
|
25282
|
-
|
|
25280
|
+
} = e, [c, u] = Ve(!1), [d, p] = Ve(
|
|
25281
|
+
n.reduce((b, T) => (b[T.name] = !0, b), {})
|
|
25282
|
+
), h = Qt(s), m = tr(), { trigger: v } = $t(), y = /* @__PURE__ */ o((b, T) => {
|
|
25283
|
+
p((C) => ({
|
|
25284
|
+
...C,
|
|
25285
|
+
[b]: T
|
|
25286
|
+
}));
|
|
25287
|
+
}, "toggleButtonVisibility"), g = we(
|
|
25288
|
+
async (b, T, C) => {
|
|
25289
|
+
typeof t == "function" ? await v() ? (u(!0), t(
|
|
25290
|
+
{
|
|
25291
|
+
setButtonVisibility: y,
|
|
25292
|
+
...h
|
|
25293
|
+
},
|
|
25294
|
+
T,
|
|
25295
|
+
C,
|
|
25296
|
+
b
|
|
25297
|
+
).finally(() => {
|
|
25283
25298
|
u(!1);
|
|
25284
|
-
})) :
|
|
25299
|
+
})) : m("Formulario no válido", { type: "warning" }) : m("Falta implementar jsBotoneraPart", {
|
|
25285
25300
|
type: "error"
|
|
25286
25301
|
});
|
|
25287
25302
|
},
|
|
25288
|
-
[
|
|
25303
|
+
[v, t, h, m]
|
|
25289
25304
|
);
|
|
25290
25305
|
return /* @__PURE__ */ B(fu, { children: [
|
|
25291
25306
|
i ? /* @__PURE__ */ f(Kn, { sx: { mr: 1 } }) : null,
|
|
25292
|
-
n.map(
|
|
25293
|
-
|
|
25294
|
-
|
|
25295
|
-
|
|
25296
|
-
|
|
25297
|
-
|
|
25298
|
-
|
|
25299
|
-
|
|
25300
|
-
|
|
25301
|
-
|
|
25302
|
-
|
|
25303
|
-
|
|
25307
|
+
n.map(
|
|
25308
|
+
(b) => d[b.name] && /* @__PURE__ */ f(
|
|
25309
|
+
ut,
|
|
25310
|
+
{
|
|
25311
|
+
label: b.label,
|
|
25312
|
+
disabled: c,
|
|
25313
|
+
onClick: /* @__PURE__ */ o(async (T) => {
|
|
25314
|
+
await g(T, r, b.name);
|
|
25315
|
+
}, "onClick"),
|
|
25316
|
+
children: b.icon
|
|
25317
|
+
},
|
|
25318
|
+
b.name
|
|
25319
|
+
)
|
|
25320
|
+
)
|
|
25304
25321
|
] });
|
|
25305
25322
|
}, "FormToolbar");
|
|
25306
25323
|
Ou.ra.page.empty = "No records yet";
|
|
@@ -25563,15 +25580,15 @@ const cw = me("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
25563
25580
|
underline: p = "always",
|
|
25564
25581
|
variant: h = "inherit",
|
|
25565
25582
|
sx: m
|
|
25566
|
-
} = n,
|
|
25567
|
-
isFocusVisibleRef:
|
|
25583
|
+
} = n, v = G(n, pw), {
|
|
25584
|
+
isFocusVisibleRef: y,
|
|
25568
25585
|
onBlur: g,
|
|
25569
|
-
onFocus:
|
|
25586
|
+
onFocus: b,
|
|
25570
25587
|
ref: T
|
|
25571
25588
|
} = ma(), [C, E] = S.useState(!1), x = xt(r, T), O = /* @__PURE__ */ o((R) => {
|
|
25572
|
-
g(R),
|
|
25589
|
+
g(R), y.current === !1 && E(!1), c && c(R);
|
|
25573
25590
|
}, "handleBlur"), w = /* @__PURE__ */ o((R) => {
|
|
25574
|
-
|
|
25591
|
+
b(R), y.current === !0 && E(!0), u && u(R);
|
|
25575
25592
|
}, "handleFocus"), F = P({}, n, {
|
|
25576
25593
|
color: l,
|
|
25577
25594
|
component: s,
|
|
@@ -25592,7 +25609,7 @@ const cw = me("MuiLink", ["root", "underlineNone", "underlineHover", "underlineA
|
|
|
25592
25609
|
sx: [...Object.keys(af).includes(l) ? [] : [{
|
|
25593
25610
|
color: l
|
|
25594
25611
|
}], ...Array.isArray(m) ? m : [m]]
|
|
25595
|
-
},
|
|
25612
|
+
}, v));
|
|
25596
25613
|
}, "Link"));
|
|
25597
25614
|
process.env.NODE_ENV !== "production" && (gi.propTypes = {
|
|
25598
25615
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
@@ -25669,7 +25686,7 @@ sf = ql.default = (0, vw.default)(/* @__PURE__ */ (0, yw.jsx)("path", {
|
|
|
25669
25686
|
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"
|
|
25670
25687
|
}), "AddAPhoto");
|
|
25671
25688
|
const Kc = /* @__PURE__ */ o((e) => {
|
|
25672
|
-
const [t, r] =
|
|
25689
|
+
const [t, r] = Ve(!1), [n, i] = Ve(!1), l = tr(), s = Ze(), { field: c, sx: u } = e;
|
|
25673
25690
|
return at(() => {
|
|
25674
25691
|
t && (/* @__PURE__ */ o(async () => {
|
|
25675
25692
|
let p = null;
|
|
@@ -25736,12 +25753,12 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25736
25753
|
] }),
|
|
25737
25754
|
onConfirm: /* @__PURE__ */ o((d) => {
|
|
25738
25755
|
n && document.getElementById("canvas").toBlob(function(p) {
|
|
25739
|
-
const h = document.getElementById("video"), m = document.getElementById(c),
|
|
25740
|
-
let
|
|
25756
|
+
const h = document.getElementById("video"), m = document.getElementById(c), v = new DataTransfer();
|
|
25757
|
+
let y = new File([p], `${c}-img.jpg`, {
|
|
25741
25758
|
type: "image/jpeg",
|
|
25742
25759
|
lastModified: (/* @__PURE__ */ new Date()).getTime()
|
|
25743
25760
|
});
|
|
25744
|
-
|
|
25761
|
+
v.items.add(y), m.files = v.files, m.dispatchEvent(
|
|
25745
25762
|
new Event("change", { bubbles: !0 })
|
|
25746
25763
|
), h.srcObject.getTracks().forEach((g) => g.stop()), i(!1), r(!1);
|
|
25747
25764
|
}, "image/jpeg");
|
|
@@ -25777,12 +25794,12 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25777
25794
|
accept: d = "",
|
|
25778
25795
|
download: p = !0,
|
|
25779
25796
|
...h
|
|
25780
|
-
} = t, m = Ze(),
|
|
25781
|
-
|
|
25797
|
+
} = t, m = Ze(), v = Kt(e), y = Gn((x) => x.breakpoints.down("sm")), g = $t(), [b, T] = Ve(
|
|
25798
|
+
v && c ? `${c}/${v[h.source]}` : void 0
|
|
25782
25799
|
);
|
|
25783
25800
|
if (!g)
|
|
25784
25801
|
return null;
|
|
25785
|
-
const C = g.getValues()[h.source], E =
|
|
25802
|
+
const C = g.getValues()[h.source], E = b ?? "#";
|
|
25786
25803
|
return at(() => {
|
|
25787
25804
|
u && C && (C != null && C.src ? T(C.src) : u(C).then((x) => {
|
|
25788
25805
|
T(x);
|
|
@@ -25801,7 +25818,7 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25801
25818
|
maxSize: 5e6,
|
|
25802
25819
|
...h,
|
|
25803
25820
|
options: { disabled: i, ...n },
|
|
25804
|
-
format: /* @__PURE__ */ o((x) => Yc(x, c,
|
|
25821
|
+
format: /* @__PURE__ */ o((x) => Yc(x, c, b), "format"),
|
|
25805
25822
|
placeholder: m("ra.input.image.upload_single"),
|
|
25806
25823
|
accept: "image/*",
|
|
25807
25824
|
inputProps: {
|
|
@@ -25810,7 +25827,7 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25810
25827
|
children: /* @__PURE__ */ f(bm, { source: "src", title: "" })
|
|
25811
25828
|
}
|
|
25812
25829
|
),
|
|
25813
|
-
!
|
|
25830
|
+
!y && /* @__PURE__ */ f(Kc, { sx: { mt: 3 }, field: h.source })
|
|
25814
25831
|
]
|
|
25815
25832
|
}
|
|
25816
25833
|
) : /* @__PURE__ */ B(
|
|
@@ -25827,7 +25844,7 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25827
25844
|
maxSize: 5e6,
|
|
25828
25845
|
...h,
|
|
25829
25846
|
options: { disabled: i, ...n },
|
|
25830
|
-
format: /* @__PURE__ */ o((x) => Yc(x, c,
|
|
25847
|
+
format: /* @__PURE__ */ o((x) => Yc(x, c, b), "format"),
|
|
25831
25848
|
placeholder: m("ra.input.file.upload_single"),
|
|
25832
25849
|
accept: d,
|
|
25833
25850
|
children: /* @__PURE__ */ B(Bl, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
@@ -25902,7 +25919,7 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25902
25919
|
value: h
|
|
25903
25920
|
},
|
|
25904
25921
|
label: (m = u.filter(
|
|
25905
|
-
(
|
|
25922
|
+
(v) => v.id === h
|
|
25906
25923
|
)[0]) == null ? void 0 : m.etiqueta
|
|
25907
25924
|
});
|
|
25908
25925
|
}, "onChange"),
|
|
@@ -25917,14 +25934,14 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25917
25934
|
asistant: s,
|
|
25918
25935
|
asistantResource: c,
|
|
25919
25936
|
...u
|
|
25920
|
-
} = t, { source: d, reference: p } = e, h = wi((
|
|
25921
|
-
const T =
|
|
25937
|
+
} = t, { source: d, reference: p } = e, h = wi((b) => {
|
|
25938
|
+
const T = b.reload_cb ? b.reload_cb.filter((C) => C.id === d) : [];
|
|
25922
25939
|
return T[0] ? T[0] : null;
|
|
25923
|
-
}), m = Un(h),
|
|
25924
|
-
let
|
|
25925
|
-
if (
|
|
25926
|
-
const { callback:
|
|
25927
|
-
|
|
25940
|
+
}), m = Un(h), v = h === null && m.current ? m.current : h;
|
|
25941
|
+
let y, g;
|
|
25942
|
+
if (v) {
|
|
25943
|
+
const { callback: b, ...T } = v;
|
|
25944
|
+
y = b, g = T;
|
|
25928
25945
|
}
|
|
25929
25946
|
return at(() => {
|
|
25930
25947
|
h !== null && (m.current = h, n(n0(d)));
|
|
@@ -25941,7 +25958,7 @@ const Kc = /* @__PURE__ */ o((e) => {
|
|
|
25941
25958
|
xw,
|
|
25942
25959
|
{
|
|
25943
25960
|
...u,
|
|
25944
|
-
callback:
|
|
25961
|
+
callback: y,
|
|
25945
25962
|
optionText: "etiqueta"
|
|
25946
25963
|
}
|
|
25947
25964
|
)
|
|
@@ -26053,13 +26070,13 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26053
26070
|
onConfirm: d,
|
|
26054
26071
|
contentResource: p,
|
|
26055
26072
|
translateOptions: h = {}
|
|
26056
|
-
} = e, m = Ze(), [
|
|
26057
|
-
(
|
|
26058
|
-
|
|
26073
|
+
} = e, m = Ze(), [v] = gu(p), y = we(
|
|
26074
|
+
(b, T) => {
|
|
26075
|
+
b.stopPropagation(), d(b, v);
|
|
26059
26076
|
},
|
|
26060
|
-
[
|
|
26061
|
-
), g = we((
|
|
26062
|
-
|
|
26077
|
+
[v, d]
|
|
26078
|
+
), g = we((b) => {
|
|
26079
|
+
b.stopPropagation();
|
|
26063
26080
|
}, []);
|
|
26064
26081
|
return /* @__PURE__ */ B(
|
|
26065
26082
|
tn,
|
|
@@ -26082,7 +26099,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26082
26099
|
no,
|
|
26083
26100
|
{
|
|
26084
26101
|
disabled: r,
|
|
26085
|
-
onClick: /* @__PURE__ */ o((
|
|
26102
|
+
onClick: /* @__PURE__ */ o((b) => y(b, "yes"), "onClick"),
|
|
26086
26103
|
autoFocus: !0,
|
|
26087
26104
|
children: [
|
|
26088
26105
|
/* @__PURE__ */ f(s, { sx: { paddingRight: "0.5em" } }),
|
|
@@ -26099,16 +26116,16 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26099
26116
|
all: !0,
|
|
26100
26117
|
none: !1
|
|
26101
26118
|
}, Hw = /* @__PURE__ */ o((e) => !e || e != null && e.all ? "Todos" : e != null && e.none || e.seleccion.length === 0 ? "Ninguno" : `Selección (${e.seleccion.length})`, "format$1"), Ww = /* @__PURE__ */ o((e) => e, "parse$1"), dk = /* @__PURE__ */ o((e) => {
|
|
26102
|
-
const { asistant: t, asistantResource: r, source: n, sx: i, ...l } = e, [s, c] =
|
|
26119
|
+
const { asistant: t, asistantResource: r, source: n, sx: i, ...l } = e, [s, c] = Ve(!1), {
|
|
26103
26120
|
hidden: u,
|
|
26104
26121
|
propsContenido: { disabled: d, label: p, onChange: h }
|
|
26105
26122
|
} = lt(e), m = $t();
|
|
26106
26123
|
at(() => {
|
|
26107
|
-
|
|
26124
|
+
b();
|
|
26108
26125
|
}, []);
|
|
26109
|
-
const
|
|
26126
|
+
const v = we(() => {
|
|
26110
26127
|
c(!1);
|
|
26111
|
-
}, [c]),
|
|
26128
|
+
}, [c]), y = /* @__PURE__ */ o((T, C) => {
|
|
26112
26129
|
c(!1), m.setValue(n, {
|
|
26113
26130
|
seleccion: C,
|
|
26114
26131
|
all: !1,
|
|
@@ -26120,7 +26137,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26120
26137
|
all: !1,
|
|
26121
26138
|
none: !0
|
|
26122
26139
|
}), h(T);
|
|
26123
|
-
}, "handleNinguno"),
|
|
26140
|
+
}, "handleNinguno"), b = /* @__PURE__ */ o((T) => {
|
|
26124
26141
|
m.setValue(n, {
|
|
26125
26142
|
seleccion: [],
|
|
26126
26143
|
all: !0,
|
|
@@ -26161,7 +26178,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26161
26178
|
/* @__PURE__ */ f(
|
|
26162
26179
|
Wt,
|
|
26163
26180
|
{
|
|
26164
|
-
onClick:
|
|
26181
|
+
onClick: b,
|
|
26165
26182
|
disabled: d,
|
|
26166
26183
|
"aria-label": "Todos",
|
|
26167
26184
|
size: "small",
|
|
@@ -26202,8 +26219,8 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26202
26219
|
disableMultipleRowSelection: !1,
|
|
26203
26220
|
resource: r
|
|
26204
26221
|
}),
|
|
26205
|
-
onConfirm:
|
|
26206
|
-
onClose:
|
|
26222
|
+
onConfirm: y,
|
|
26223
|
+
onClose: v
|
|
26207
26224
|
}
|
|
26208
26225
|
)
|
|
26209
26226
|
] });
|
|
@@ -26325,12 +26342,12 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26325
26342
|
onConfirm: u,
|
|
26326
26343
|
translateOptions: d = {}
|
|
26327
26344
|
} = e, p = Ze(), h = we(
|
|
26328
|
-
(
|
|
26329
|
-
|
|
26345
|
+
(v, y) => {
|
|
26346
|
+
v.stopPropagation(), u(v, y);
|
|
26330
26347
|
},
|
|
26331
26348
|
[u]
|
|
26332
|
-
), m = we((
|
|
26333
|
-
|
|
26349
|
+
), m = we((v) => {
|
|
26350
|
+
v.stopPropagation();
|
|
26334
26351
|
}, []);
|
|
26335
26352
|
return /* @__PURE__ */ B(
|
|
26336
26353
|
tn,
|
|
@@ -26354,7 +26371,7 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26354
26371
|
no,
|
|
26355
26372
|
{
|
|
26356
26373
|
disabled: r,
|
|
26357
|
-
onClick: /* @__PURE__ */ o((
|
|
26374
|
+
onClick: /* @__PURE__ */ o((v) => h(v, "yes"), "onClick"),
|
|
26358
26375
|
autoFocus: !0,
|
|
26359
26376
|
children: [
|
|
26360
26377
|
/* @__PURE__ */ f(l, { sx: { paddingRight: "0.5em" } }),
|
|
@@ -26380,10 +26397,10 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26380
26397
|
sx: s,
|
|
26381
26398
|
onChange: c,
|
|
26382
26399
|
...u
|
|
26383
|
-
} = e, [d] = gu("form_224"), [p, h] =
|
|
26384
|
-
hidden:
|
|
26400
|
+
} = e, [d] = gu("form_224"), [p, h] = Ve(!1), m = $t(), { estado: v, fichaProps: y = {} } = Te(Ge), g = Te(fo), {
|
|
26401
|
+
hidden: b,
|
|
26385
26402
|
propsContenido: { disabled: T, label: C = "Funcionarios" }
|
|
26386
|
-
} = lt(e), { [l]: E = {}, etrs: x } =
|
|
26403
|
+
} = lt(e), { [l]: E = {}, etrs: x } = y, O = Qt({ ...e, etrs: x, asisEtr: g }), w = E.onChange === void 0 ? c : E.onChange;
|
|
26387
26404
|
at(() => {
|
|
26388
26405
|
m.setValue(l, Qc);
|
|
26389
26406
|
}, []);
|
|
@@ -26394,21 +26411,21 @@ const _w = /* @__PURE__ */ o((e) => /* @__PURE__ */ f(
|
|
|
26394
26411
|
seleccion: d,
|
|
26395
26412
|
all: !1,
|
|
26396
26413
|
none: !1
|
|
26397
|
-
}), w && w(O,
|
|
26414
|
+
}), w && w(O, v, $);
|
|
26398
26415
|
}, "handleConfirm"), R = /* @__PURE__ */ o(($) => {
|
|
26399
26416
|
m.setValue(l, {
|
|
26400
26417
|
seleccion: [],
|
|
26401
26418
|
all: !1,
|
|
26402
26419
|
none: !0
|
|
26403
|
-
}), w && w(O,
|
|
26420
|
+
}), w && w(O, v, $);
|
|
26404
26421
|
}, "handleNinguno"), M = /* @__PURE__ */ o(($) => {
|
|
26405
26422
|
m.setValue(l, {
|
|
26406
26423
|
seleccion: [],
|
|
26407
26424
|
all: !0,
|
|
26408
26425
|
none: !1
|
|
26409
|
-
}), w && w(O,
|
|
26426
|
+
}), w && w(O, v, $);
|
|
26410
26427
|
}, "handleTodos");
|
|
26411
|
-
return
|
|
26428
|
+
return b ? null : /* @__PURE__ */ B(lr, { children: [
|
|
26412
26429
|
/* @__PURE__ */ f(
|
|
26413
26430
|
$e,
|
|
26414
26431
|
{
|