biblio-react 3.0.0-alpha195 → 3.0.0-alpha197
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 +358 -340
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ var Nw = Object.defineProperty;
|
|
|
2
2
|
var a = (e, t) => Nw(e, "name", { value: t, configurable: !0 });
|
|
3
3
|
import we, { jsx as v, jsxs as W, Fragment as Ur } from "react/jsx-runtime";
|
|
4
4
|
import * as O from "react";
|
|
5
|
-
import ht, { forwardRef as Pl, useContext as gt, createElement as mv, Children as Pd, isValidElement as
|
|
6
|
-
import { unstable_ClassNameGenerator as i1, exactProp as Md, unstable_getScrollbarSize as zw, unstable_ownerDocument as
|
|
7
|
-
import { MenuItem as ui, ListItemIcon as ha, ListItemText as ma, useMediaQuery as ji, Typography as Tm, Box as
|
|
5
|
+
import ht, { forwardRef as Pl, useContext as gt, createElement as mv, Children as Pd, isValidElement as Wn, cloneElement as rn, createContext as Bt, useState as Be, useMemo as Jr, useRef as Bi, useCallback as tt, useEffect as Ge, Fragment as Kn, memo as n1, useImperativeHandle as Dw, useDebugValue as o1, useId as _w } from "react";
|
|
6
|
+
import { unstable_ClassNameGenerator as i1, exactProp as Md, unstable_getScrollbarSize as zw, unstable_ownerDocument as Un, unstable_ownerWindow as el, unstable_useForkRef as Ea, elementAcceptingRef as Bw, unstable_useEnhancedEffect as Ci, unstable_setRef as gv, HTMLElementType as Df, unstable_useEventCallback as bv, unstable_createChainedFunction as yv, unstable_debounce as jw, usePreviousProps as Vw, unstable_getNormalizedScrollLeft as Hw, unstable_detectScrollType as Ww, chainPropTypes as Uw, refType as qw, deepmerge as a1 } from "@mui/utils";
|
|
7
|
+
import { MenuItem as ui, ListItemIcon as ha, ListItemText as ma, useMediaQuery as ji, Typography as Tm, Box as et, Grid as vv, Dialog as Em, DialogTitle as s1, DialogContent as l1, Stack as Rd, DialogActions as Gw, Tooltip as $d, IconButton as ka, useTheme as c1, createTheme as Kw, ThemeProvider as Jw, Chip as xv, alpha as Yw, StyledEngineProvider as u1, Card as d1, CircularProgress as Qw, CardContent as p1, Collapse as Xw, List as f1, Menu as _f, Switch as Zw, Divider as eP, Button as Ov, Paper as h1, ToggleButtonGroup as Fd, ToggleButton as Gt, ListItem as tP, FormHelperText as rP } from "@mui/material";
|
|
8
8
|
import { useTranslate as Lt, useUserMenu as nP, useResourceDefinitions as oP, AppBar as iP, UserMenu as aP, Logout as sP, useResourceContext as pt, useRecordContext as vr, useDeleteWithConfirmController as lP, Button as Cr, Confirm as Ml, useResourceDefinition as km, Toolbar as wm, ToolbarClasses as cP, SaveButton as Rl, useRedirect as Vi, useDelete as m1, useSaveContext as uP, required as dP, minValue as pP, TopToolbar as g1, RefreshButton as fP, ListButton as hP, ShowButton as mP, useNotify as b1, useDataProvider as Ja, useListContext as Ti, useUnselectAll as gP, useStoreContext as bP, NumberField as yP, DateField as Sv, TextField as Ac, ReferenceField as vP, useCreatePath as $l, Form as Fl, BulkActionsToolbar as xP, useInput as Ad, useGetList as y1, Labeled as v1, useSafeSetState as Pm, useGetOne as x1, useGetResourceLabel as OP, useCreateController as SP, ResourceContextProvider as CP, CreateContextProvider as TP, Loading as Hi, Create as EP, useListController as kP, ListContextProvider as wP, List as O1, Edit as PP, useEditContext as MP, SimpleForm as RP, useSidebarState as S1, Menu as $P, DashboardMenuItem as FP, MenuItemLink as C1, Layout as AP, FilterContext as IP, sanitizeListRestProps as LP, FilterButton as NP, CreateButton as DP, useLogin as _P, TextInput as En, PasswordInput as T1, Show as zP, useShowContext as BP, FormTab as jP, useSplatPathBase as VP, getTabbedFormTabFullPath as HP, TabbedFormTabs as E1, defaultTheme as k1, BooleanField as WP, ImageInput as UP, ImageField as qP, FileInput as GP, BooleanInput as KP, ReferenceInput as w1, useChoicesContext as P1, AutocompleteInput as JP, SelectInput as YP, ReferenceArrayInput as QP, AutocompleteArrayInput as XP, SearchInput as ZP, RadioButtonGroupInput as M1, useRecordSelection as R1, ListActions as eM, Datagrid as tM, ValidationError as rM, FieldTitle as $1 } from "react-admin";
|
|
9
9
|
import { Link as tl, useNavigate as Ya, useLocation as Mo, Routes as F1, Route as A1, matchPath as zf } from "react-router-dom";
|
|
10
10
|
import { useGridApiContext as Wi, useGridSelector as wa, gridColumnVisibilityModelSelector as I1, gridColumnDefinitionsSelector as L1, GridColumnIcon as nM, gridSortModelSelector as oM, GridArrowUpwardIcon as iM, GridArrowDownwardIcon as aM, GridToolbarExport as sM, selectedGridRowsSelector as lM, GridToolbarContainer as cM, GridClearIcon as uM, GridToolbarQuickFilter as dM, useGridApiRef as Mm, useKeepGroupedColumnsHidden as N1, GridActionsCellItem as $p, isAutogeneratedRow as ic, DataGridPremium as Rm, gridClasses as Cv } from "@mui/x-data-grid-premium";
|
|
@@ -24,7 +24,7 @@ function Fm(e) {
|
|
|
24
24
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
25
25
|
}
|
|
26
26
|
a(Fm, "getDefaultExportFromCjs$1");
|
|
27
|
-
function
|
|
27
|
+
function $n(e) {
|
|
28
28
|
if (e.__esModule) return e;
|
|
29
29
|
var t = e.default;
|
|
30
30
|
if (typeof t == "function") {
|
|
@@ -43,7 +43,7 @@ function Fn(e) {
|
|
|
43
43
|
});
|
|
44
44
|
}), r;
|
|
45
45
|
}
|
|
46
|
-
a(
|
|
46
|
+
a($n, "getAugmentedNamespace");
|
|
47
47
|
var Am = {}, B1 = { exports: {} };
|
|
48
48
|
(function(e) {
|
|
49
49
|
function t(r) {
|
|
@@ -104,7 +104,7 @@ function ie(e, t) {
|
|
|
104
104
|
return r;
|
|
105
105
|
}
|
|
106
106
|
a(ie, "_objectWithoutPropertiesLoose");
|
|
107
|
-
var jf = { exports: {} }, sc = { exports: {} },
|
|
107
|
+
var jf = { exports: {} }, sc = { exports: {} }, rt = {};
|
|
108
108
|
/** @license React v16.13.1
|
|
109
109
|
* react-is.production.min.js
|
|
110
110
|
*
|
|
@@ -115,7 +115,7 @@ var jf = { exports: {} }, sc = { exports: {} }, tt = {};
|
|
|
115
115
|
*/
|
|
116
116
|
var Ev;
|
|
117
117
|
function CM() {
|
|
118
|
-
if (Ev) return
|
|
118
|
+
if (Ev) return rt;
|
|
119
119
|
Ev = 1;
|
|
120
120
|
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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = 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, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
121
121
|
function T(S) {
|
|
@@ -152,36 +152,36 @@ function CM() {
|
|
|
152
152
|
function C(S) {
|
|
153
153
|
return T(S) === d;
|
|
154
154
|
}
|
|
155
|
-
return a(C, "A"),
|
|
155
|
+
return a(C, "A"), rt.AsyncMode = u, rt.ConcurrentMode = d, rt.ContextConsumer = l, rt.ContextProvider = s, rt.Element = t, rt.ForwardRef = p, rt.Fragment = n, rt.Lazy = m, rt.Memo = g, rt.Portal = r, rt.Profiler = i, rt.StrictMode = o, rt.Suspense = f, rt.isAsyncMode = function(S) {
|
|
156
156
|
return C(S) || T(S) === u;
|
|
157
|
-
},
|
|
157
|
+
}, rt.isConcurrentMode = C, rt.isContextConsumer = function(S) {
|
|
158
158
|
return T(S) === l;
|
|
159
|
-
},
|
|
159
|
+
}, rt.isContextProvider = function(S) {
|
|
160
160
|
return T(S) === s;
|
|
161
|
-
},
|
|
161
|
+
}, rt.isElement = function(S) {
|
|
162
162
|
return typeof S == "object" && S !== null && S.$$typeof === t;
|
|
163
|
-
},
|
|
163
|
+
}, rt.isForwardRef = function(S) {
|
|
164
164
|
return T(S) === p;
|
|
165
|
-
},
|
|
165
|
+
}, rt.isFragment = function(S) {
|
|
166
166
|
return T(S) === n;
|
|
167
|
-
},
|
|
167
|
+
}, rt.isLazy = function(S) {
|
|
168
168
|
return T(S) === m;
|
|
169
|
-
},
|
|
169
|
+
}, rt.isMemo = function(S) {
|
|
170
170
|
return T(S) === g;
|
|
171
|
-
},
|
|
171
|
+
}, rt.isPortal = function(S) {
|
|
172
172
|
return T(S) === r;
|
|
173
|
-
},
|
|
173
|
+
}, rt.isProfiler = function(S) {
|
|
174
174
|
return T(S) === i;
|
|
175
|
-
},
|
|
175
|
+
}, rt.isStrictMode = function(S) {
|
|
176
176
|
return T(S) === o;
|
|
177
|
-
},
|
|
177
|
+
}, rt.isSuspense = function(S) {
|
|
178
178
|
return T(S) === f;
|
|
179
|
-
},
|
|
179
|
+
}, rt.isValidElementType = function(S) {
|
|
180
180
|
return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === x || S.$$typeof === k || S.$$typeof === b);
|
|
181
|
-
},
|
|
181
|
+
}, rt.typeOf = T, rt;
|
|
182
182
|
}
|
|
183
183
|
a(CM, "requireReactIs_production_min$2");
|
|
184
|
-
var
|
|
184
|
+
var nt = {};
|
|
185
185
|
/** @license React v16.13.1
|
|
186
186
|
* react-is.development.js
|
|
187
187
|
*
|
|
@@ -284,8 +284,8 @@ function TM() {
|
|
|
284
284
|
function le(_) {
|
|
285
285
|
return C(_) === f;
|
|
286
286
|
}
|
|
287
|
-
a(le, "isSuspense"),
|
|
288
|
-
}()),
|
|
287
|
+
a(le, "isSuspense"), nt.AsyncMode = S, nt.ConcurrentMode = w, nt.ContextConsumer = P, nt.ContextProvider = F, nt.Element = $, nt.ForwardRef = A, nt.Fragment = M, nt.Lazy = R, nt.Memo = I, nt.Portal = L, nt.Profiler = z, nt.StrictMode = B, nt.Suspense = j, nt.isAsyncMode = K, nt.isConcurrentMode = D, nt.isContextConsumer = V, nt.isContextProvider = Z, nt.isElement = H, nt.isForwardRef = U, nt.isFragment = J, nt.isLazy = G, nt.isMemo = re, nt.isPortal = Q, nt.isProfiler = ae, nt.isStrictMode = de, nt.isSuspense = le, nt.isValidElementType = T, nt.typeOf = C;
|
|
288
|
+
}()), nt;
|
|
289
289
|
}
|
|
290
290
|
a(TM, "requireReactIs_development$2");
|
|
291
291
|
var wv;
|
|
@@ -1547,7 +1547,7 @@ var tR = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
1547
1547
|
insert: u
|
|
1548
1548
|
};
|
|
1549
1549
|
return m.sheet.hydrate(l), m;
|
|
1550
|
-
}, "createCache"), Hf = { exports: {} },
|
|
1550
|
+
}, "createCache"), Hf = { exports: {} }, ot = {};
|
|
1551
1551
|
/** @license React v16.13.1
|
|
1552
1552
|
* react-is.production.min.js
|
|
1553
1553
|
*
|
|
@@ -1558,7 +1558,7 @@ var tR = /* @__PURE__ */ a(function(t, r, n, o) {
|
|
|
1558
1558
|
*/
|
|
1559
1559
|
var zv;
|
|
1560
1560
|
function oR() {
|
|
1561
|
-
if (zv) return
|
|
1561
|
+
if (zv) return ot;
|
|
1562
1562
|
zv = 1;
|
|
1563
1563
|
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, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = 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, f = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1564
1564
|
function T(S) {
|
|
@@ -1595,36 +1595,36 @@ function oR() {
|
|
|
1595
1595
|
function C(S) {
|
|
1596
1596
|
return T(S) === d;
|
|
1597
1597
|
}
|
|
1598
|
-
return a(C, "A"),
|
|
1598
|
+
return a(C, "A"), ot.AsyncMode = u, ot.ConcurrentMode = d, ot.ContextConsumer = l, ot.ContextProvider = s, ot.Element = t, ot.ForwardRef = p, ot.Fragment = n, ot.Lazy = m, ot.Memo = g, ot.Portal = r, ot.Profiler = i, ot.StrictMode = o, ot.Suspense = f, ot.isAsyncMode = function(S) {
|
|
1599
1599
|
return C(S) || T(S) === u;
|
|
1600
|
-
},
|
|
1600
|
+
}, ot.isConcurrentMode = C, ot.isContextConsumer = function(S) {
|
|
1601
1601
|
return T(S) === l;
|
|
1602
|
-
},
|
|
1602
|
+
}, ot.isContextProvider = function(S) {
|
|
1603
1603
|
return T(S) === s;
|
|
1604
|
-
},
|
|
1604
|
+
}, ot.isElement = function(S) {
|
|
1605
1605
|
return typeof S == "object" && S !== null && S.$$typeof === t;
|
|
1606
|
-
},
|
|
1606
|
+
}, ot.isForwardRef = function(S) {
|
|
1607
1607
|
return T(S) === p;
|
|
1608
|
-
},
|
|
1608
|
+
}, ot.isFragment = function(S) {
|
|
1609
1609
|
return T(S) === n;
|
|
1610
|
-
},
|
|
1610
|
+
}, ot.isLazy = function(S) {
|
|
1611
1611
|
return T(S) === m;
|
|
1612
|
-
},
|
|
1612
|
+
}, ot.isMemo = function(S) {
|
|
1613
1613
|
return T(S) === g;
|
|
1614
|
-
},
|
|
1614
|
+
}, ot.isPortal = function(S) {
|
|
1615
1615
|
return T(S) === r;
|
|
1616
|
-
},
|
|
1616
|
+
}, ot.isProfiler = function(S) {
|
|
1617
1617
|
return T(S) === i;
|
|
1618
|
-
},
|
|
1618
|
+
}, ot.isStrictMode = function(S) {
|
|
1619
1619
|
return T(S) === o;
|
|
1620
|
-
},
|
|
1620
|
+
}, ot.isSuspense = function(S) {
|
|
1621
1621
|
return T(S) === f;
|
|
1622
|
-
},
|
|
1622
|
+
}, ot.isValidElementType = function(S) {
|
|
1623
1623
|
return typeof S == "string" || typeof S == "function" || S === n || S === d || S === i || S === o || S === f || S === h || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === g || S.$$typeof === s || S.$$typeof === l || S.$$typeof === p || S.$$typeof === y || S.$$typeof === x || S.$$typeof === k || S.$$typeof === b);
|
|
1624
|
-
},
|
|
1624
|
+
}, ot.typeOf = T, ot;
|
|
1625
1625
|
}
|
|
1626
1626
|
a(oR, "requireReactIs_production_min$1");
|
|
1627
|
-
var
|
|
1627
|
+
var it = {};
|
|
1628
1628
|
/** @license React v16.13.1
|
|
1629
1629
|
* react-is.development.js
|
|
1630
1630
|
*
|
|
@@ -1727,8 +1727,8 @@ function iR() {
|
|
|
1727
1727
|
function le(_) {
|
|
1728
1728
|
return C(_) === f;
|
|
1729
1729
|
}
|
|
1730
|
-
a(le, "isSuspense"),
|
|
1731
|
-
}()),
|
|
1730
|
+
a(le, "isSuspense"), it.AsyncMode = S, it.ConcurrentMode = w, it.ContextConsumer = P, it.ContextProvider = F, it.Element = $, it.ForwardRef = A, it.Fragment = M, it.Lazy = R, it.Memo = I, it.Portal = L, it.Profiler = z, it.StrictMode = B, it.Suspense = j, it.isAsyncMode = K, it.isConcurrentMode = D, it.isContextConsumer = V, it.isContextProvider = Z, it.isElement = H, it.isForwardRef = U, it.isFragment = J, it.isLazy = G, it.isMemo = re, it.isPortal = Q, it.isProfiler = ae, it.isStrictMode = de, it.isSuspense = le, it.isValidElementType = T, it.typeOf = C;
|
|
1731
|
+
}()), it;
|
|
1732
1732
|
}
|
|
1733
1733
|
a(iR, "requireReactIs_development$1");
|
|
1734
1734
|
process.env.NODE_ENV === "production" ? Hf.exports = oR() : Hf.exports = iR();
|
|
@@ -2701,16 +2701,16 @@ const hS = /* @__PURE__ */ a((e, t) => {
|
|
|
2701
2701
|
default: Um,
|
|
2702
2702
|
internal_processStyles: hS,
|
|
2703
2703
|
keyframes: es
|
|
2704
|
-
}, Symbol.toStringTag, { value: "Module" })), mS = /* @__PURE__ */
|
|
2705
|
-
function
|
|
2704
|
+
}, Symbol.toStringTag, { value: "Module" })), mS = /* @__PURE__ */ $n(YR);
|
|
2705
|
+
function Vn(e) {
|
|
2706
2706
|
if (typeof e != "object" || e === null)
|
|
2707
2707
|
return !1;
|
|
2708
2708
|
const t = Object.getPrototypeOf(e);
|
|
2709
2709
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2710
2710
|
}
|
|
2711
|
-
a(
|
|
2711
|
+
a(Vn, "isPlainObject$1");
|
|
2712
2712
|
function gS(e) {
|
|
2713
|
-
if (!
|
|
2713
|
+
if (!Vn(e))
|
|
2714
2714
|
return e;
|
|
2715
2715
|
const t = {};
|
|
2716
2716
|
return Object.keys(e).forEach((r) => {
|
|
@@ -2722,18 +2722,18 @@ function or(e, t, r = {
|
|
|
2722
2722
|
clone: !0
|
|
2723
2723
|
}) {
|
|
2724
2724
|
const n = r.clone ? E({}, e) : e;
|
|
2725
|
-
return
|
|
2726
|
-
|
|
2727
|
-
Object.prototype.hasOwnProperty.call(e, o) &&
|
|
2725
|
+
return Vn(e) && Vn(t) && Object.keys(t).forEach((o) => {
|
|
2726
|
+
Vn(t[o]) && // Avoid prototype pollution
|
|
2727
|
+
Object.prototype.hasOwnProperty.call(e, o) && Vn(e[o]) ? n[o] = or(e[o], t[o], r) : r.clone ? n[o] = Vn(t[o]) ? gS(t[o]) : t[o] : n[o] = t[o];
|
|
2728
2728
|
}), n;
|
|
2729
2729
|
}
|
|
2730
2730
|
a(or, "deepmerge$1");
|
|
2731
2731
|
const QR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2732
2732
|
__proto__: null,
|
|
2733
2733
|
default: or,
|
|
2734
|
-
isPlainObject:
|
|
2735
|
-
}, Symbol.toStringTag, { value: "Module" })), XR = /* @__PURE__ */
|
|
2736
|
-
var Gf = { exports: {} },
|
|
2734
|
+
isPlainObject: Vn
|
|
2735
|
+
}, Symbol.toStringTag, { value: "Module" })), XR = /* @__PURE__ */ $n(QR), ZR = /* @__PURE__ */ $n(OM);
|
|
2736
|
+
var Gf = { exports: {} }, at = {};
|
|
2737
2737
|
/**
|
|
2738
2738
|
* @license React
|
|
2739
2739
|
* react-is.production.min.js
|
|
@@ -2745,7 +2745,7 @@ var Gf = { exports: {} }, it = {};
|
|
|
2745
2745
|
*/
|
|
2746
2746
|
var Yv;
|
|
2747
2747
|
function e$() {
|
|
2748
|
-
if (Yv) return
|
|
2748
|
+
if (Yv) return at;
|
|
2749
2749
|
Yv = 1;
|
|
2750
2750
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), m;
|
|
2751
2751
|
m = Symbol.for("react.module.reference");
|
|
@@ -2779,40 +2779,40 @@ function e$() {
|
|
|
2779
2779
|
}
|
|
2780
2780
|
}
|
|
2781
2781
|
}
|
|
2782
|
-
return a(b, "v"),
|
|
2782
|
+
return a(b, "v"), at.ContextConsumer = s, at.ContextProvider = i, at.Element = e, at.ForwardRef = u, at.Fragment = r, at.Lazy = h, at.Memo = f, at.Portal = t, at.Profiler = o, at.StrictMode = n, at.Suspense = d, at.SuspenseList = p, at.isAsyncMode = function() {
|
|
2783
2783
|
return !1;
|
|
2784
|
-
},
|
|
2784
|
+
}, at.isConcurrentMode = function() {
|
|
2785
2785
|
return !1;
|
|
2786
|
-
},
|
|
2786
|
+
}, at.isContextConsumer = function(y) {
|
|
2787
2787
|
return b(y) === s;
|
|
2788
|
-
},
|
|
2788
|
+
}, at.isContextProvider = function(y) {
|
|
2789
2789
|
return b(y) === i;
|
|
2790
|
-
},
|
|
2790
|
+
}, at.isElement = function(y) {
|
|
2791
2791
|
return typeof y == "object" && y !== null && y.$$typeof === e;
|
|
2792
|
-
},
|
|
2792
|
+
}, at.isForwardRef = function(y) {
|
|
2793
2793
|
return b(y) === u;
|
|
2794
|
-
},
|
|
2794
|
+
}, at.isFragment = function(y) {
|
|
2795
2795
|
return b(y) === r;
|
|
2796
|
-
},
|
|
2796
|
+
}, at.isLazy = function(y) {
|
|
2797
2797
|
return b(y) === h;
|
|
2798
|
-
},
|
|
2798
|
+
}, at.isMemo = function(y) {
|
|
2799
2799
|
return b(y) === f;
|
|
2800
|
-
},
|
|
2800
|
+
}, at.isPortal = function(y) {
|
|
2801
2801
|
return b(y) === t;
|
|
2802
|
-
},
|
|
2802
|
+
}, at.isProfiler = function(y) {
|
|
2803
2803
|
return b(y) === o;
|
|
2804
|
-
},
|
|
2804
|
+
}, at.isStrictMode = function(y) {
|
|
2805
2805
|
return b(y) === n;
|
|
2806
|
-
},
|
|
2806
|
+
}, at.isSuspense = function(y) {
|
|
2807
2807
|
return b(y) === d;
|
|
2808
|
-
},
|
|
2808
|
+
}, at.isSuspenseList = function(y) {
|
|
2809
2809
|
return b(y) === p;
|
|
2810
|
-
},
|
|
2810
|
+
}, at.isValidElementType = function(y) {
|
|
2811
2811
|
return typeof y == "string" || typeof y == "function" || y === r || y === o || y === n || y === d || y === p || y === g || typeof y == "object" && y !== null && (y.$$typeof === h || y.$$typeof === f || y.$$typeof === i || y.$$typeof === s || y.$$typeof === u || y.$$typeof === m || y.getModuleId !== void 0);
|
|
2812
|
-
},
|
|
2812
|
+
}, at.typeOf = b, at;
|
|
2813
2813
|
}
|
|
2814
2814
|
a(e$, "requireReactIs_production_min");
|
|
2815
|
-
var
|
|
2815
|
+
var st = {};
|
|
2816
2816
|
/**
|
|
2817
2817
|
* @license React
|
|
2818
2818
|
* react-is.development.js
|
|
@@ -2924,8 +2924,8 @@ function t$() {
|
|
|
2924
2924
|
function ee(Y) {
|
|
2925
2925
|
return S(Y) === p;
|
|
2926
2926
|
}
|
|
2927
|
-
a(ee, "isSuspenseList"),
|
|
2928
|
-
}()),
|
|
2927
|
+
a(ee, "isSuspenseList"), st.ContextConsumer = w, st.ContextProvider = P, st.Element = F, st.ForwardRef = $, st.Fragment = A, st.Lazy = M, st.Memo = R, st.Portal = I, st.Profiler = L, st.StrictMode = z, st.Suspense = B, st.SuspenseList = j, st.isAsyncMode = D, st.isConcurrentMode = V, st.isContextConsumer = Z, st.isContextProvider = H, st.isElement = U, st.isForwardRef = J, st.isFragment = G, st.isLazy = re, st.isMemo = Q, st.isPortal = ae, st.isProfiler = de, st.isStrictMode = le, st.isSuspense = _, st.isSuspenseList = ee, st.isValidElementType = C, st.typeOf = S;
|
|
2928
|
+
}()), st;
|
|
2929
2929
|
}
|
|
2930
2930
|
a(t$, "requireReactIs_development");
|
|
2931
2931
|
process.env.NODE_ENV === "production" ? Gf.exports = e$() : Gf.exports = t$();
|
|
@@ -2967,7 +2967,7 @@ const n$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2967
2967
|
__proto__: null,
|
|
2968
2968
|
default: vS,
|
|
2969
2969
|
getFunctionName: bS
|
|
2970
|
-
}, Symbol.toStringTag, { value: "Module" })), o$ = /* @__PURE__ */
|
|
2970
|
+
}, Symbol.toStringTag, { value: "Module" })), o$ = /* @__PURE__ */ $n(n$), i$ = ["values", "unit", "step"], a$ = /* @__PURE__ */ a((e) => {
|
|
2971
2971
|
const t = Object.keys(e).map((r) => ({
|
|
2972
2972
|
key: r,
|
|
2973
2973
|
val: e[r]
|
|
@@ -3823,7 +3823,7 @@ const Q$ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3823
3823
|
default: Dl,
|
|
3824
3824
|
private_createBreakpoints: xS,
|
|
3825
3825
|
unstable_applyStyles: ES
|
|
3826
|
-
}, Symbol.toStringTag, { value: "Module" })), X$ = /* @__PURE__ */
|
|
3826
|
+
}, Symbol.toStringTag, { value: "Module" })), X$ = /* @__PURE__ */ $n(Q$), Z$ = ["sx"], eF = /* @__PURE__ */ a((e) => {
|
|
3827
3827
|
var t, r;
|
|
3828
3828
|
const n = {
|
|
3829
3829
|
systemProps: {},
|
|
@@ -3843,7 +3843,7 @@ function _l(e) {
|
|
|
3843
3843
|
let i;
|
|
3844
3844
|
return Array.isArray(t) ? i = [n, ...t] : typeof t == "function" ? i = /* @__PURE__ */ a((...s) => {
|
|
3845
3845
|
const l = t(...s);
|
|
3846
|
-
return
|
|
3846
|
+
return Vn(l) ? E({}, n, l) : n;
|
|
3847
3847
|
}, "finalSx") : i = E({}, n, t), E({}, o, {
|
|
3848
3848
|
sx: i
|
|
3849
3849
|
});
|
|
@@ -3855,7 +3855,7 @@ const tF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3855
3855
|
extendSxProp: _l,
|
|
3856
3856
|
unstable_createStyleFunctionSx: TS,
|
|
3857
3857
|
unstable_defaultSxConfig: Nl
|
|
3858
|
-
}, Symbol.toStringTag, { value: "Module" })), rF = /* @__PURE__ */
|
|
3858
|
+
}, Symbol.toStringTag, { value: "Module" })), rF = /* @__PURE__ */ $n(tF);
|
|
3859
3859
|
var rs = ke;
|
|
3860
3860
|
Object.defineProperty(Al, "__esModule", {
|
|
3861
3861
|
value: !0
|
|
@@ -4077,7 +4077,7 @@ function OF(e, t) {
|
|
|
4077
4077
|
}
|
|
4078
4078
|
a(OF, "createMixins");
|
|
4079
4079
|
var Rt = {};
|
|
4080
|
-
const SF = /* @__PURE__ */
|
|
4080
|
+
const SF = /* @__PURE__ */ $n(xM);
|
|
4081
4081
|
function wS(e, t = Number.MIN_SAFE_INTEGER, r = Number.MAX_SAFE_INTEGER) {
|
|
4082
4082
|
return Math.max(t, Math.min(e, r));
|
|
4083
4083
|
}
|
|
@@ -4085,7 +4085,7 @@ a(wS, "clamp$1");
|
|
|
4085
4085
|
const CF = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4086
4086
|
__proto__: null,
|
|
4087
4087
|
default: wS
|
|
4088
|
-
}, Symbol.toStringTag, { value: "Module" })), TF = /* @__PURE__ */
|
|
4088
|
+
}, Symbol.toStringTag, { value: "Module" })), TF = /* @__PURE__ */ $n(CF);
|
|
4089
4089
|
var PS = ke;
|
|
4090
4090
|
Object.defineProperty(Rt, "__esModule", {
|
|
4091
4091
|
value: !0
|
|
@@ -5071,7 +5071,7 @@ function DS(e, t) {
|
|
|
5071
5071
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
5072
5072
|
}
|
|
5073
5073
|
a(DS, "setRef");
|
|
5074
|
-
const
|
|
5074
|
+
const Fn = typeof window < "u" ? O.useLayoutEffect : O.useEffect;
|
|
5075
5075
|
let d0 = 0;
|
|
5076
5076
|
function uA(e) {
|
|
5077
5077
|
const [t, r] = O.useState(e), n = e || t;
|
|
@@ -5126,7 +5126,7 @@ function sl({
|
|
|
5126
5126
|
a(sl, "useControlled");
|
|
5127
5127
|
function Tr(e) {
|
|
5128
5128
|
const t = O.useRef(e);
|
|
5129
|
-
return
|
|
5129
|
+
return Fn(() => {
|
|
5130
5130
|
t.current = e;
|
|
5131
5131
|
}), O.useRef((...r) => (
|
|
5132
5132
|
// @ts-expect-error hide `this`
|
|
@@ -5268,14 +5268,14 @@ const OA = {
|
|
|
5268
5268
|
requirePropFactory: NS,
|
|
5269
5269
|
setRef: DS,
|
|
5270
5270
|
unstable_ClassNameGenerator: OA,
|
|
5271
|
-
unstable_useEnhancedEffect:
|
|
5271
|
+
unstable_useEnhancedEffect: Fn,
|
|
5272
5272
|
unstable_useId: Bl,
|
|
5273
5273
|
unsupportedProp: _S,
|
|
5274
5274
|
useControlled: sl,
|
|
5275
5275
|
useEventCallback: Tr,
|
|
5276
5276
|
useForkRef: At,
|
|
5277
5277
|
useIsFocusVisible: Jd
|
|
5278
|
-
}, Symbol.toStringTag, { value: "Module" })), CA = /* @__PURE__ */
|
|
5278
|
+
}, Symbol.toStringTag, { value: "Module" })), CA = /* @__PURE__ */ $n(SA);
|
|
5279
5279
|
var h0;
|
|
5280
5280
|
function Pe() {
|
|
5281
5281
|
return h0 || (h0 = 1, function(e) {
|
|
@@ -5358,7 +5358,7 @@ const RA = Pl((e, t) => {
|
|
|
5358
5358
|
id: "react-admin-title"
|
|
5359
5359
|
}
|
|
5360
5360
|
),
|
|
5361
|
-
t && /* @__PURE__ */ v(
|
|
5361
|
+
t && /* @__PURE__ */ v(et, { component: "span", sx: { flex: 1 } })
|
|
5362
5362
|
] });
|
|
5363
5363
|
}, "CustomAppBar");
|
|
5364
5364
|
function AA(e) {
|
|
@@ -5521,7 +5521,7 @@ function WA(e = {}) {
|
|
|
5521
5521
|
const k = Um(s, E({
|
|
5522
5522
|
shouldForwardProp: x,
|
|
5523
5523
|
label: y
|
|
5524
|
-
}, g)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S ||
|
|
5524
|
+
}, g)), T = /* @__PURE__ */ a((S) => typeof S == "function" && S.__emotion_real !== S || Vn(S) ? (w) => _c(S, E({}, w, {
|
|
5525
5525
|
theme: uc({
|
|
5526
5526
|
theme: w.theme,
|
|
5527
5527
|
defaultTheme: r,
|
|
@@ -5597,7 +5597,7 @@ function VS({
|
|
|
5597
5597
|
a(VS, "useThemeProps$1");
|
|
5598
5598
|
function qA(e, t, r, n, o) {
|
|
5599
5599
|
const [i, s] = O.useState(() => o && r ? r(e).matches : n ? n(e).matches : t);
|
|
5600
|
-
return
|
|
5600
|
+
return Fn(() => {
|
|
5601
5601
|
let l = !0;
|
|
5602
5602
|
if (!r)
|
|
5603
5603
|
return;
|
|
@@ -5945,11 +5945,11 @@ function dI(e = {}) {
|
|
|
5945
5945
|
}), s;
|
|
5946
5946
|
}
|
|
5947
5947
|
a(dI, "createStack");
|
|
5948
|
-
function
|
|
5948
|
+
function An() {
|
|
5949
5949
|
const e = Yd(Gd);
|
|
5950
5950
|
return process.env.NODE_ENV !== "production" && O.useDebugValue(e), e[wi] || e;
|
|
5951
5951
|
}
|
|
5952
|
-
a(
|
|
5952
|
+
a(An, "useTheme$1");
|
|
5953
5953
|
function pI({
|
|
5954
5954
|
props: e,
|
|
5955
5955
|
name: t
|
|
@@ -6021,7 +6021,7 @@ JS = sg.default = (0, TI.default)(/* @__PURE__ */ (0, EI.jsx)("path", {
|
|
|
6021
6021
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
6022
6022
|
}), "Edit");
|
|
6023
6023
|
function kI(e) {
|
|
6024
|
-
const t =
|
|
6024
|
+
const t = Un(e);
|
|
6025
6025
|
return t.body === e ? el(e).innerWidth > t.documentElement.clientWidth : e.scrollHeight > e.clientHeight;
|
|
6026
6026
|
}
|
|
6027
6027
|
a(kI, "isOverflowing");
|
|
@@ -6055,13 +6055,13 @@ function PI(e, t) {
|
|
|
6055
6055
|
const r = [], n = e.container;
|
|
6056
6056
|
if (!t.disableScrollLock) {
|
|
6057
6057
|
if (kI(n)) {
|
|
6058
|
-
const s = zw(
|
|
6058
|
+
const s = zw(Un(n));
|
|
6059
6059
|
r.push({
|
|
6060
6060
|
value: n.style.paddingRight,
|
|
6061
6061
|
property: "padding-right",
|
|
6062
6062
|
el: n
|
|
6063
6063
|
}), n.style.paddingRight = `${v0(n) + s}px`;
|
|
6064
|
-
const l =
|
|
6064
|
+
const l = Un(n).querySelectorAll(".mui-fixed");
|
|
6065
6065
|
[].forEach.call(l, (u) => {
|
|
6066
6066
|
r.push({
|
|
6067
6067
|
value: u.style.paddingRight,
|
|
@@ -6072,7 +6072,7 @@ function PI(e, t) {
|
|
|
6072
6072
|
}
|
|
6073
6073
|
let i;
|
|
6074
6074
|
if (n.parentNode instanceof DocumentFragment)
|
|
6075
|
-
i =
|
|
6075
|
+
i = Un(n).body;
|
|
6076
6076
|
else {
|
|
6077
6077
|
const s = n.parentElement, l = el(n);
|
|
6078
6078
|
i = (s == null ? void 0 : s.nodeName) === "HTML" && l.getComputedStyle(s).overflowY === "scroll" ? s : n;
|
|
@@ -6158,12 +6158,12 @@ function Pi(e, t, r, n, o) {
|
|
|
6158
6158
|
return i == null ? null : i && i.nodeType !== 1 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an HTMLElement.`) : null;
|
|
6159
6159
|
}
|
|
6160
6160
|
a(Pi, "HTMLElementType");
|
|
6161
|
-
function
|
|
6161
|
+
function In(e, t) {
|
|
6162
6162
|
return process.env.NODE_ENV === "production" ? () => null : /* @__PURE__ */ a(function(...n) {
|
|
6163
6163
|
return e(...n) || t(...n);
|
|
6164
6164
|
}, "validate");
|
|
6165
6165
|
}
|
|
6166
|
-
a(
|
|
6166
|
+
a(In, "chainPropTypes");
|
|
6167
6167
|
function RI(e) {
|
|
6168
6168
|
const {
|
|
6169
6169
|
prototype: t = {}
|
|
@@ -6184,8 +6184,8 @@ function YS(e, t, r, n, o) {
|
|
|
6184
6184
|
return typeof u == "function" && !RI(u) && (l = "Did you accidentally use a plain function component for an element instead?"), l !== void 0 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
6185
6185
|
}
|
|
6186
6186
|
a(YS, "acceptingRef");
|
|
6187
|
-
const as =
|
|
6188
|
-
as.isRequired =
|
|
6187
|
+
const as = In(c.element, YS);
|
|
6188
|
+
as.isRequired = In(c.element.isRequired, YS);
|
|
6189
6189
|
function $a(e) {
|
|
6190
6190
|
return typeof e == "string";
|
|
6191
6191
|
}
|
|
@@ -6308,7 +6308,7 @@ function eu(e) {
|
|
|
6308
6308
|
}, [r, l]), O.useEffect(() => {
|
|
6309
6309
|
if (!l || !m.current)
|
|
6310
6310
|
return;
|
|
6311
|
-
const T =
|
|
6311
|
+
const T = Un(m.current);
|
|
6312
6312
|
return m.current.contains(T.activeElement) || (m.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(`
|
|
6313
6313
|
`)), m.current.setAttribute("tabIndex", "-1")), g.current && m.current.focus()), () => {
|
|
6314
6314
|
o || (f.current && f.current.focus && (u.current = !0, f.current.focus()), f.current = null);
|
|
@@ -6316,7 +6316,7 @@ function eu(e) {
|
|
|
6316
6316
|
}, [l]), O.useEffect(() => {
|
|
6317
6317
|
if (!l || !m.current)
|
|
6318
6318
|
return;
|
|
6319
|
-
const T =
|
|
6319
|
+
const T = Un(m.current), C = /* @__PURE__ */ a((P) => {
|
|
6320
6320
|
y.current = P, !(n || !s() || P.key !== "Tab") && T.activeElement === m.current && P.shiftKey && (u.current = !0, p.current && p.current.focus());
|
|
6321
6321
|
}, "loopFocus"), S = /* @__PURE__ */ a(() => {
|
|
6322
6322
|
const P = m.current;
|
|
@@ -6850,7 +6850,7 @@ function jI(e) {
|
|
|
6850
6850
|
a(jI, "_assertThisInitialized");
|
|
6851
6851
|
function lg(e, t) {
|
|
6852
6852
|
var r = /* @__PURE__ */ a(function(i) {
|
|
6853
|
-
return t &&
|
|
6853
|
+
return t && Wn(i) ? t(i) : i;
|
|
6854
6854
|
}, "mapper"), n = /* @__PURE__ */ Object.create(null);
|
|
6855
6855
|
return e && Pd.map(e, function(o) {
|
|
6856
6856
|
return o;
|
|
@@ -6902,8 +6902,8 @@ function WI(e, t, r) {
|
|
|
6902
6902
|
var n = lg(e.children), o = VI(t, n);
|
|
6903
6903
|
return Object.keys(o).forEach(function(i) {
|
|
6904
6904
|
var s = o[i];
|
|
6905
|
-
if (
|
|
6906
|
-
var l = i in t, u = i in n, d = t[i], p =
|
|
6905
|
+
if (Wn(s)) {
|
|
6906
|
+
var l = i in t, u = i in n, d = t[i], p = Wn(d) && !d.props.in;
|
|
6907
6907
|
u && (!l || p) ? o[i] = rn(s, {
|
|
6908
6908
|
onExited: r.bind(null, s),
|
|
6909
6909
|
in: !0,
|
|
@@ -6911,7 +6911,7 @@ function WI(e, t, r) {
|
|
|
6911
6911
|
enter: oi(s, "enter", e)
|
|
6912
6912
|
}) : !u && l && !p ? o[i] = rn(s, {
|
|
6913
6913
|
in: !1
|
|
6914
|
-
}) : u && l &&
|
|
6914
|
+
}) : u && l && Wn(d) && (o[i] = rn(s, {
|
|
6915
6915
|
onExited: r.bind(null, s),
|
|
6916
6916
|
in: d.props.in,
|
|
6917
6917
|
exit: oi(s, "exit", e),
|
|
@@ -7054,7 +7054,7 @@ const GI = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "
|
|
|
7054
7054
|
opacity: 1
|
|
7055
7055
|
}
|
|
7056
7056
|
}, dg = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
7057
|
-
const n =
|
|
7057
|
+
const n = An(), o = {
|
|
7058
7058
|
enter: n.transitions.duration.enteringScreen,
|
|
7059
7059
|
exit: n.transitions.duration.leavingScreen
|
|
7060
7060
|
}, {
|
|
@@ -7393,7 +7393,7 @@ function rL(e) {
|
|
|
7393
7393
|
} = e, h = O.useRef({}), g = O.useRef(null), m = O.useRef(null), b = Ea(m, f), [y, x] = O.useState(!p), k = eL(u);
|
|
7394
7394
|
let T = !0;
|
|
7395
7395
|
(e["aria-hidden"] === "false" || e["aria-hidden"] === !1) && (T = !1);
|
|
7396
|
-
const C = /* @__PURE__ */ a(() =>
|
|
7396
|
+
const C = /* @__PURE__ */ a(() => Un(g.current), "getDoc"), S = /* @__PURE__ */ a(() => (h.current.modalRef = m.current, h.current.mount = g.current, h.current), "getModal"), w = /* @__PURE__ */ a(() => {
|
|
7397
7397
|
o.mount(S(), {
|
|
7398
7398
|
disableScrollLock: n
|
|
7399
7399
|
}), m.current && (m.current.scrollTop = 0);
|
|
@@ -7875,7 +7875,7 @@ const pL = ["className", "component", "elevation", "square", "variant"], fL = /*
|
|
|
7875
7875
|
square: l,
|
|
7876
7876
|
variant: u
|
|
7877
7877
|
}), f = fL(p);
|
|
7878
|
-
return process.env.NODE_ENV !== "production" &&
|
|
7878
|
+
return process.env.NODE_ENV !== "production" && An().shadows[s] === void 0 && console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`, `Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
7879
7879
|
`)), /* @__PURE__ */ v(hL, E({
|
|
7880
7880
|
as: i,
|
|
7881
7881
|
ownerState: p,
|
|
@@ -7910,7 +7910,7 @@ process.env.NODE_ENV !== "production" && (ln.propTypes = {
|
|
|
7910
7910
|
* It accepts values between 0 and 24 inclusive.
|
|
7911
7911
|
* @default 1
|
|
7912
7912
|
*/
|
|
7913
|
-
elevation:
|
|
7913
|
+
elevation: In(fg, (e) => {
|
|
7914
7914
|
const {
|
|
7915
7915
|
elevation: t,
|
|
7916
7916
|
variant: r
|
|
@@ -8063,7 +8063,7 @@ const gL = ["aria-describedby", "aria-labelledby", "BackdropComponent", "Backdro
|
|
|
8063
8063
|
const n = Ce({
|
|
8064
8064
|
props: t,
|
|
8065
8065
|
name: "MuiDialog"
|
|
8066
|
-
}), o =
|
|
8066
|
+
}), o = An(), i = {
|
|
8067
8067
|
enter: o.transitions.duration.enteringScreen,
|
|
8068
8068
|
exit: o.transitions.duration.leavingScreen
|
|
8069
8069
|
}, {
|
|
@@ -9762,7 +9762,7 @@ const xN = /^(\d+)(th|st|nd|rd)?/i, ON = /\d+/i, SN = {
|
|
|
9762
9762
|
}, "useContenidoController"), dD = /* @__PURE__ */ a((e) => {
|
|
9763
9763
|
const { validateDelete: t, className: r } = e, n = pt(e), o = vr(), i = Zn(), { mutationOptions: { onError: s } = {} } = kt(), { open: l, isLoading: u, handleDialogOpen: d, handleDialogClose: p } = lP({ record: o, resource: n }), f = /* @__PURE__ */ a((g) => {
|
|
9764
9764
|
d(g);
|
|
9765
|
-
}, "handleClick"), h =
|
|
9765
|
+
}, "handleClick"), h = tt(
|
|
9766
9766
|
async (g) => {
|
|
9767
9767
|
if (o)
|
|
9768
9768
|
try {
|
|
@@ -9874,7 +9874,7 @@ const xN = /^(\d+)(th|st|nd|rd)?/i, ON = /\d+/i, SN = {
|
|
|
9874
9874
|
);
|
|
9875
9875
|
}, "onError")
|
|
9876
9876
|
}
|
|
9877
|
-
), { save: h } = uP(), g =
|
|
9877
|
+
), { save: h } = uP(), g = tt(
|
|
9878
9878
|
async (m) => {
|
|
9879
9879
|
const b = d && await d(
|
|
9880
9880
|
{
|
|
@@ -10075,7 +10075,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10075
10075
|
}, "abrirVentanaSistema");
|
|
10076
10076
|
}, "useAbrirVentanaSistema"), gC = /* @__PURE__ */ a(() => {
|
|
10077
10077
|
const e = Ui();
|
|
10078
|
-
return
|
|
10078
|
+
return tt(
|
|
10079
10079
|
(t, r, n, o) => {
|
|
10080
10080
|
e(qL(t, r, n, o));
|
|
10081
10081
|
},
|
|
@@ -10083,7 +10083,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10083
10083
|
);
|
|
10084
10084
|
}, "useRecargarComboBox"), bC = /* @__PURE__ */ a(() => {
|
|
10085
10085
|
const e = Ui();
|
|
10086
|
-
return
|
|
10086
|
+
return tt(
|
|
10087
10087
|
(t, r) => {
|
|
10088
10088
|
e(KL(t, r));
|
|
10089
10089
|
},
|
|
@@ -10091,7 +10091,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10091
10091
|
);
|
|
10092
10092
|
}, "useSetHidden"), yC = /* @__PURE__ */ a(() => {
|
|
10093
10093
|
const e = Ui();
|
|
10094
|
-
return
|
|
10094
|
+
return tt(
|
|
10095
10095
|
(t, r) => {
|
|
10096
10096
|
e(JL(t, r));
|
|
10097
10097
|
},
|
|
@@ -10099,7 +10099,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10099
10099
|
);
|
|
10100
10100
|
}, "useSetDisable"), vC = /* @__PURE__ */ a(() => {
|
|
10101
10101
|
const e = Ui();
|
|
10102
|
-
return
|
|
10102
|
+
return tt(
|
|
10103
10103
|
(t, r) => {
|
|
10104
10104
|
e(YL(t, r));
|
|
10105
10105
|
},
|
|
@@ -10107,7 +10107,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10107
10107
|
);
|
|
10108
10108
|
}, "useSetRequire"), xC = /* @__PURE__ */ a(() => {
|
|
10109
10109
|
const e = Ui();
|
|
10110
|
-
return
|
|
10110
|
+
return tt(
|
|
10111
10111
|
(t, r) => {
|
|
10112
10112
|
e(QL(t, r));
|
|
10113
10113
|
},
|
|
@@ -10115,7 +10115,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10115
10115
|
);
|
|
10116
10116
|
}, "useSetError"), OC = /* @__PURE__ */ a(() => {
|
|
10117
10117
|
const e = Ui();
|
|
10118
|
-
return
|
|
10118
|
+
return tt(
|
|
10119
10119
|
(t, r) => {
|
|
10120
10120
|
e(XL(t, r));
|
|
10121
10121
|
},
|
|
@@ -10146,7 +10146,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10146
10146
|
return { mutateAsync: o, isLoading: i };
|
|
10147
10147
|
}, "useGetJson"), xg = /* @__PURE__ */ a((e, t) => {
|
|
10148
10148
|
const { mutateAsync: r, isLoading: n } = vD(e, void 0, t);
|
|
10149
|
-
return [
|
|
10149
|
+
return [tt(
|
|
10150
10150
|
(i, s, l) => r(
|
|
10151
10151
|
{ method: i, params: s },
|
|
10152
10152
|
{ onSuccess: l, onError: l }
|
|
@@ -10169,7 +10169,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10169
10169
|
return /* @__PURE__ */ v(SC.Provider, { value: o, children: e });
|
|
10170
10170
|
}, "FormToolbarProvider"), TC = /* @__PURE__ */ a(() => gt(SC), "useFormToolbar"), EC = /* @__PURE__ */ a((e) => {
|
|
10171
10171
|
const t = pt(e), r = D1();
|
|
10172
|
-
return
|
|
10172
|
+
return tt(() => {
|
|
10173
10173
|
r.refetchQueries({ queryKey: [t], type: "active" });
|
|
10174
10174
|
}, [r, t]);
|
|
10175
10175
|
}, "useResourceRefresh"), Kl = /* @__PURE__ */ a(() => ({}), "useDefaultHook"), rp = /* @__PURE__ */ a((e) => {
|
|
@@ -10307,7 +10307,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10307
10307
|
return delete t.id, t;
|
|
10308
10308
|
}, "getSubmitValues"), PC = /* @__PURE__ */ a((e) => {
|
|
10309
10309
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "N";
|
|
10310
|
-
return
|
|
10310
|
+
return tt(
|
|
10311
10311
|
(i, s) => {
|
|
10312
10312
|
const l = wC(i), u = Math.max(
|
|
10313
10313
|
0,
|
|
@@ -10330,7 +10330,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10330
10330
|
);
|
|
10331
10331
|
}, "useAddRow"), MC = /* @__PURE__ */ a((e) => {
|
|
10332
10332
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "M";
|
|
10333
|
-
return
|
|
10333
|
+
return tt(
|
|
10334
10334
|
(i, s, l) => {
|
|
10335
10335
|
var g, m;
|
|
10336
10336
|
const u = typeof i == "number" ? "N" : o, d = wC(s);
|
|
@@ -10354,7 +10354,7 @@ const pC = /* @__PURE__ */ a(() => {
|
|
|
10354
10354
|
);
|
|
10355
10355
|
}, "useEditRow"), RC = /* @__PURE__ */ a((e) => {
|
|
10356
10356
|
const { apiRef: t, source: r, enviarTodo: n } = e, o = "B";
|
|
10357
|
-
return
|
|
10357
|
+
return tt(
|
|
10358
10358
|
(i, s) => {
|
|
10359
10359
|
const l = t.current.getRowModels().get(i);
|
|
10360
10360
|
t.current.updateRows([{ id: i, _action: "delete" }]);
|
|
@@ -10566,7 +10566,7 @@ process.env.NODE_ENV !== "production" && (Og.propTypes = {
|
|
|
10566
10566
|
* This only works if variant is `indeterminate`.
|
|
10567
10567
|
* @default false
|
|
10568
10568
|
*/
|
|
10569
|
-
disableShrink:
|
|
10569
|
+
disableShrink: In(c.bool, (e) => e.disableShrink && e.variant && e.variant !== "indeterminate" ? new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.") : null),
|
|
10570
10570
|
/**
|
|
10571
10571
|
* The size of the component.
|
|
10572
10572
|
* If using a number, the pixel unit is assumed.
|
|
@@ -10686,7 +10686,7 @@ const MD = X("div")(({ theme: e }) => ({
|
|
|
10686
10686
|
] })
|
|
10687
10687
|
}
|
|
10688
10688
|
),
|
|
10689
|
-
/* @__PURE__ */ v(
|
|
10689
|
+
/* @__PURE__ */ v(et, { sx: { mt: 1 }, children: "No hay registros" })
|
|
10690
10690
|
] }), "CustomNoRowsOverlay"), RD = X("div")(({ theme: e }) => ({
|
|
10691
10691
|
display: "flex",
|
|
10692
10692
|
flexDirection: "column",
|
|
@@ -10699,7 +10699,7 @@ const MD = X("div")(({ theme: e }) => ({
|
|
|
10699
10699
|
})
|
|
10700
10700
|
})), $D = /* @__PURE__ */ a((e) => /* @__PURE__ */ W(RD, { children: [
|
|
10701
10701
|
/* @__PURE__ */ v(Og, {}),
|
|
10702
|
-
/* @__PURE__ */ v(
|
|
10702
|
+
/* @__PURE__ */ v(et, { sx: { mt: 2 }, children: e.mensaje || "" })
|
|
10703
10703
|
] }), "CustomLoadingOverlay");
|
|
10704
10704
|
var Cg = {}, FD = ke;
|
|
10705
10705
|
Object.defineProperty(Cg, "__esModule", {
|
|
@@ -11020,7 +11020,7 @@ function KD(e, t, r, n, o) {
|
|
|
11020
11020
|
return typeof i == "function" && !GD(i) && (l = "Did you accidentally provide a plain function component instead?"), l !== void 0 ? new Error(`Invalid ${n} \`${s}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
11021
11021
|
}
|
|
11022
11022
|
a(KD, "elementTypeAcceptingRef");
|
|
11023
|
-
const Ri =
|
|
11023
|
+
const Ri = In(c.elementType, KD), JD = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
11024
11024
|
function dc(e) {
|
|
11025
11025
|
return parseInt(e, 10) || 0;
|
|
11026
11026
|
}
|
|
@@ -11422,7 +11422,7 @@ const Ia = Oe("MuiInputBase", ["root", "formControl", "focused", "disabled", "ad
|
|
|
11422
11422
|
const ee = le && le.onFilled, Y = le && le.onEmpty, ge = O.useCallback((Le) => {
|
|
11423
11423
|
nu(Le) ? ee && ee() : Y && Y();
|
|
11424
11424
|
}, [ee, Y]);
|
|
11425
|
-
|
|
11425
|
+
Fn(() => {
|
|
11426
11426
|
J && ge({
|
|
11427
11427
|
value: U
|
|
11428
11428
|
});
|
|
@@ -12836,7 +12836,7 @@ process.env.NODE_ENV !== "production" && (jr.propTypes = {
|
|
|
12836
12836
|
/**
|
|
12837
12837
|
* The icon to display.
|
|
12838
12838
|
*/
|
|
12839
|
-
children:
|
|
12839
|
+
children: In(c.node, (e) => O.Children.toArray(e.children).some((r) => /* @__PURE__ */ O.isValidElement(r) && r.props.onClick) ? new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
12840
12840
|
`)) : null),
|
|
12841
12841
|
/**
|
|
12842
12842
|
* Override or extend the styles applied to the component.
|
|
@@ -13125,7 +13125,7 @@ const na = Oe("MuiListItemButton", ["root", "focusVisible", "dense", "alignItems
|
|
|
13125
13125
|
alignItems: o,
|
|
13126
13126
|
disableGutters: d
|
|
13127
13127
|
}), [o, b.dense, u, d]), x = O.useRef(null);
|
|
13128
|
-
|
|
13128
|
+
Fn(() => {
|
|
13129
13129
|
i && (x.current ? x.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."));
|
|
13130
13130
|
}, [i]);
|
|
13131
13131
|
const k = E({}, n, {
|
|
@@ -13431,7 +13431,7 @@ const U2 = ["className"], q2 = ["alignItems", "autoFocus", "button", "children",
|
|
|
13431
13431
|
alignItems: o,
|
|
13432
13432
|
disableGutters: y
|
|
13433
13433
|
}), [o, A.dense, m, y]), R = O.useRef(null);
|
|
13434
|
-
|
|
13434
|
+
Fn(() => {
|
|
13435
13435
|
i && (R.current ? R.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."));
|
|
13436
13436
|
}, [i]);
|
|
13437
13437
|
const I = O.Children.toArray(l), L = I.length && ba(I[I.length - 1], ["ListItemSecondaryAction"]), z = E({}, n, {
|
|
@@ -13507,7 +13507,7 @@ process.env.NODE_ENV !== "production" && (Fg.propTypes = {
|
|
|
13507
13507
|
* The content of the component if a `ListItemSecondaryAction` is used it must
|
|
13508
13508
|
* be the last child.
|
|
13509
13509
|
*/
|
|
13510
|
-
children:
|
|
13510
|
+
children: In(c.node, (e) => {
|
|
13511
13511
|
const t = O.Children.toArray(e.children);
|
|
13512
13512
|
let r = -1;
|
|
13513
13513
|
for (let n = t.length - 1; n >= 0; n -= 1) {
|
|
@@ -13915,7 +13915,7 @@ function pc(e, t, r) {
|
|
|
13915
13915
|
}
|
|
13916
13916
|
a(pc, "setTranslateValue");
|
|
13917
13917
|
const Ig = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
13918
|
-
const n =
|
|
13918
|
+
const n = An(), o = {
|
|
13919
13919
|
enter: n.transitions.easing.easeOut,
|
|
13920
13920
|
exit: n.transitions.easing.sharp
|
|
13921
13921
|
}, i = {
|
|
@@ -14025,7 +14025,7 @@ process.env.NODE_ENV !== "production" && (Ig.propTypes = {
|
|
|
14025
14025
|
* An HTML element, or a function that returns one.
|
|
14026
14026
|
* It's used to set the container the Slide is transitioning from.
|
|
14027
14027
|
*/
|
|
14028
|
-
container:
|
|
14028
|
+
container: In(c.oneOfType([Pi, c.func]), (e) => {
|
|
14029
14029
|
if (e.open) {
|
|
14030
14030
|
const t = jC(e.container);
|
|
14031
14031
|
if (t && t.nodeType === 1) {
|
|
@@ -14213,7 +14213,7 @@ const WC = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
14213
14213
|
const n = Ce({
|
|
14214
14214
|
props: t,
|
|
14215
14215
|
name: "MuiDrawer"
|
|
14216
|
-
}), o =
|
|
14216
|
+
}), o = An(), i = jl(), s = {
|
|
14217
14217
|
enter: o.transitions.duration.enteringScreen,
|
|
14218
14218
|
exit: o.transitions.duration.leavingScreen
|
|
14219
14219
|
}, {
|
|
@@ -14439,7 +14439,7 @@ process.env.NODE_ENV !== "production" && (UC.propTypes = {
|
|
|
14439
14439
|
width: c.number.isRequired
|
|
14440
14440
|
});
|
|
14441
14441
|
const m_ = ["BackdropProps"], g_ = ["anchor", "disableBackdropTransition", "disableDiscovery", "disableSwipeToOpen", "hideBackdrop", "hysteresis", "allowSwipeInChildren", "minFlingVelocity", "ModalProps", "onClose", "onOpen", "open", "PaperProps", "SwipeAreaProps", "swipeAreaWidth", "transitionDuration", "variant"], fc = 3, Kp = 20;
|
|
14442
|
-
let
|
|
14442
|
+
let Dn = null;
|
|
14443
14443
|
function Jp(e, t, r) {
|
|
14444
14444
|
return e === "right" ? r.body.offsetWidth - t[0].pageX : t[0].pageX;
|
|
14445
14445
|
}
|
|
@@ -14499,7 +14499,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14499
14499
|
const n = Ce({
|
|
14500
14500
|
name: "MuiSwipeableDrawer",
|
|
14501
14501
|
props: t
|
|
14502
|
-
}), o =
|
|
14502
|
+
}), o = An(), i = {
|
|
14503
14503
|
enter: o.transitions.duration.enteringScreen,
|
|
14504
14504
|
exit: o.transitions.duration.leavingScreen
|
|
14505
14505
|
}, {
|
|
@@ -14526,7 +14526,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14526
14526
|
} = n, P = ie(n.ModalProps, m_), F = ie(n, g_), [$, A] = O.useState(!1), M = O.useRef({
|
|
14527
14527
|
isSwiping: null
|
|
14528
14528
|
}), R = O.useRef(), I = O.useRef(), L = O.useRef(), z = At(k.ref, L), B = O.useRef(!1), j = O.useRef();
|
|
14529
|
-
|
|
14529
|
+
Fn(() => {
|
|
14530
14530
|
j.current = null;
|
|
14531
14531
|
}, [x]);
|
|
14532
14532
|
const N = O.useCallback((H, U = {}) => {
|
|
@@ -14549,7 +14549,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14549
14549
|
}, [s, l, p, o, S]), K = Tr((H) => {
|
|
14550
14550
|
if (!B.current)
|
|
14551
14551
|
return;
|
|
14552
|
-
if (
|
|
14552
|
+
if (Dn = null, B.current = !1, Bf.flushSync(() => {
|
|
14553
14553
|
A(!1);
|
|
14554
14554
|
}), !M.current.isSwiping) {
|
|
14555
14555
|
M.current.isSwiping = null;
|
|
@@ -14580,11 +14580,11 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14580
14580
|
}), M.current.velocity = 0, M.current.lastTime = null, M.current.lastTranslate = null, M.current.paperHit = !1, B.current = !0;
|
|
14581
14581
|
}
|
|
14582
14582
|
}, "startMaybeSwiping"), V = Tr((H) => {
|
|
14583
|
-
if (!L.current || !B.current ||
|
|
14583
|
+
if (!L.current || !B.current || Dn !== null && Dn !== M.current)
|
|
14584
14584
|
return;
|
|
14585
14585
|
D(!0);
|
|
14586
14586
|
const U = ws(o, s), J = qo(s), G = Jp(U, H.touches, Br(H.currentTarget)), re = Yp(U, H.touches, nn(H.currentTarget));
|
|
14587
|
-
if (x && L.current.contains(H.target) &&
|
|
14587
|
+
if (x && L.current.contains(H.target) && Dn === null) {
|
|
14588
14588
|
const _ = b_(H.target, L.current);
|
|
14589
14589
|
if (y_({
|
|
14590
14590
|
domTreeShapes: _,
|
|
@@ -14592,10 +14592,10 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14592
14592
|
current: J ? G : re,
|
|
14593
14593
|
anchor: s
|
|
14594
14594
|
})) {
|
|
14595
|
-
|
|
14595
|
+
Dn = !0;
|
|
14596
14596
|
return;
|
|
14597
14597
|
}
|
|
14598
|
-
|
|
14598
|
+
Dn = M.current;
|
|
14599
14599
|
}
|
|
14600
14600
|
if (M.current.isSwiping == null) {
|
|
14601
14601
|
const _ = Math.abs(G - M.current.startX), ee = Math.abs(re - M.current.startY), Y = J ? _ > ee && _ > fc : ee > _ && ee > fc;
|
|
@@ -14637,7 +14637,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14637
14637
|
} else if (re > C)
|
|
14638
14638
|
return;
|
|
14639
14639
|
}
|
|
14640
|
-
H.defaultMuiPrevented = !0,
|
|
14640
|
+
H.defaultMuiPrevented = !0, Dn = null, M.current.startX = G, M.current.startY = re, D();
|
|
14641
14641
|
});
|
|
14642
14642
|
return O.useEffect(() => {
|
|
14643
14643
|
if (w === "temporary") {
|
|
@@ -14651,7 +14651,7 @@ const v_ = typeof navigator < "u" && /iPad|iPhone|iPod/.test(navigator.userAgent
|
|
|
14651
14651
|
};
|
|
14652
14652
|
}
|
|
14653
14653
|
}, [w, x, Z, V, K]), O.useEffect(() => () => {
|
|
14654
|
-
|
|
14654
|
+
Dn === M.current && (Dn = null);
|
|
14655
14655
|
}, []), O.useEffect(() => {
|
|
14656
14656
|
x || A(!1);
|
|
14657
14657
|
}, [x]), /* @__PURE__ */ W(O.Fragment, {
|
|
@@ -15579,7 +15579,7 @@ const j_ = /* @__PURE__ */ a((e) => {
|
|
|
15579
15579
|
} = e, u = pt(e), d = Lt(), p = $l(), f = Ya(), h = rp(e), g = !ih(t.row, i), m = o && g;
|
|
15580
15580
|
return /* @__PURE__ */ W(O.Fragment, { children: [
|
|
15581
15581
|
/* @__PURE__ */ v(
|
|
15582
|
-
|
|
15582
|
+
et,
|
|
15583
15583
|
{
|
|
15584
15584
|
sx: {
|
|
15585
15585
|
width: "100%",
|
|
@@ -15670,7 +15670,7 @@ const j_ = /* @__PURE__ */ a((e) => {
|
|
|
15670
15670
|
] })
|
|
15671
15671
|
}
|
|
15672
15672
|
),
|
|
15673
|
-
/* @__PURE__ */ v(
|
|
15673
|
+
/* @__PURE__ */ v(et, { sx: { width: "100%" }, children: /* @__PURE__ */ v($i, { sx: { p: 2 }, children: r.map((b) => /* @__PURE__ */ W(
|
|
15674
15674
|
bo,
|
|
15675
15675
|
{
|
|
15676
15676
|
onClick: /* @__PURE__ */ a(() => typeof b.handler == "function" ? b.handler(
|
|
@@ -22590,7 +22590,7 @@ const EB = {
|
|
|
22590
22590
|
zhCN: FB,
|
|
22591
22591
|
zhHK: BB,
|
|
22592
22592
|
zhTW: IB
|
|
22593
|
-
}, Symbol.toStringTag, { value: "Module" })), WB = /* @__PURE__ */
|
|
22593
|
+
}, Symbol.toStringTag, { value: "Module" })), WB = /* @__PURE__ */ $n(HB);
|
|
22594
22594
|
(function(e) {
|
|
22595
22595
|
Object.defineProperty(e, "__esModule", {
|
|
22596
22596
|
value: !0
|
|
@@ -22927,9 +22927,9 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
22927
22927
|
children: p === "form" ? (/* @__PURE__ */ a(() => {
|
|
22928
22928
|
var F, $, A;
|
|
22929
22929
|
const w = O.isValidElement(l) && ((F = l.type.name) == null ? void 0 : F.startsWith("Form")) && ((($ = l.type.name) == null ? void 0 : $.endsWith("Create")) || ((A = l.type.name) == null ? void 0 : A.endsWith("Edit")));
|
|
22930
|
-
return /* @__PURE__ */ W(
|
|
22930
|
+
return /* @__PURE__ */ W(Kn, { children: [
|
|
22931
22931
|
/* @__PURE__ */ v(s1, { id: "draggable-dialog-title", children: s }),
|
|
22932
|
-
/* @__PURE__ */ W(w ?
|
|
22932
|
+
/* @__PURE__ */ W(w ? et : Fl, { resource: r, onSubmit: u, children: [
|
|
22933
22933
|
/* @__PURE__ */ v(l1, { dividers: m, variant: "dense", children: /* @__PURE__ */ v(Rd, { spacing: 2, children: l }) }),
|
|
22934
22934
|
/* @__PURE__ */ W(Gw, { children: [
|
|
22935
22935
|
f.map(
|
|
@@ -22968,7 +22968,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
22968
22968
|
] })
|
|
22969
22969
|
] })
|
|
22970
22970
|
] });
|
|
22971
|
-
}, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(
|
|
22971
|
+
}, "getDialogForm"))() : (/* @__PURE__ */ a(() => /* @__PURE__ */ W(Kn, { children: [
|
|
22972
22972
|
/* @__PURE__ */ v(YC, { sx: { position: "relative" }, color: "inherit", children: /* @__PURE__ */ W(QC, { disableGutters: !0, variant: "dense", children: [
|
|
22973
22973
|
/* @__PURE__ */ v(
|
|
22974
22974
|
Nt,
|
|
@@ -23166,7 +23166,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23166
23166
|
}
|
|
23167
23167
|
return t;
|
|
23168
23168
|
}, {}), "defaultConvertFilterModelToFilterValues"), ZC = /* @__PURE__ */ a((e) => {
|
|
23169
|
-
var pr,
|
|
23169
|
+
var pr, Nn, fs, Zl, ec, tc, Ki;
|
|
23170
23170
|
const {
|
|
23171
23171
|
actionButtons: t = [],
|
|
23172
23172
|
actionButtonsHeader: r,
|
|
@@ -23215,7 +23215,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23215
23215
|
hiddenactions: Y = [],
|
|
23216
23216
|
user: ge = [],
|
|
23217
23217
|
lang: Ue = []
|
|
23218
|
-
} = gt(qi), Ae = gt(hC), _e = Hg(), Te = (((Zl = (fs = (
|
|
23218
|
+
} = gt(qi), Ae = gt(hC), _e = Hg(), Te = (((Zl = (fs = (Nn = (pr = ee.current) == null ? void 0 : pr.state) == null ? void 0 : Nn.rowGrouping) == null ? void 0 : fs.model) == null ? void 0 : Zl.length) ?? 0) > 0;
|
|
23219
23219
|
Ge(() => {
|
|
23220
23220
|
Ae && (Ae.current.activePanel.params.apiRef = ee);
|
|
23221
23221
|
}, [Ae]);
|
|
@@ -23536,7 +23536,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23536
23536
|
}, "renderCell")
|
|
23537
23537
|
};
|
|
23538
23538
|
});
|
|
23539
|
-
}, [ft, be, ur]), pe = N &&
|
|
23539
|
+
}, [ft, be, ur]), pe = N && Wn(B), Re = /* @__PURE__ */ a((oe) => {
|
|
23540
23540
|
H || (N || !x ? J(oe) : ee.current.isRowSelected(oe[0]) ? J([]) : J(oe));
|
|
23541
23541
|
}, "handleSelectionChange"), He = /* @__PURE__ */ a((oe) => {
|
|
23542
23542
|
var dt;
|
|
@@ -23598,11 +23598,11 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
23598
23598
|
}
|
|
23599
23599
|
}
|
|
23600
23600
|
};
|
|
23601
|
-
return /* @__PURE__ */ W(
|
|
23601
|
+
return /* @__PURE__ */ W(Kn, { children: [
|
|
23602
23602
|
/* @__PURE__ */ v(XC, { isLoading: H }),
|
|
23603
23603
|
pe && K ? /* @__PURE__ */ v(xP, { selectedIds: U, children: B }) : null,
|
|
23604
23604
|
/* @__PURE__ */ v(Jw, { theme: _e, children: /* @__PURE__ */ W(
|
|
23605
|
-
|
|
23605
|
+
et,
|
|
23606
23606
|
{
|
|
23607
23607
|
sx: e.unstable_listView ? {
|
|
23608
23608
|
display: "flex",
|
|
@@ -24113,7 +24113,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24113
24113
|
onBeforeSubmitAsistente: s = La,
|
|
24114
24114
|
onAfterSubmitAsistente: l = La
|
|
24115
24115
|
} = e, [u, d] = Pm(!1), p = Wi(), f = cr(), h = RC({ apiRef: p, source: o, enviarTodo: i }), { estado: g } = kt(), m = cn();
|
|
24116
|
-
return /* @__PURE__ */ W(
|
|
24116
|
+
return /* @__PURE__ */ W(Kn, { children: [
|
|
24117
24117
|
/* @__PURE__ */ v(
|
|
24118
24118
|
Oj,
|
|
24119
24119
|
{
|
|
@@ -24298,7 +24298,7 @@ const nj = O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
24298
24298
|
marginTop: 1,
|
|
24299
24299
|
...g
|
|
24300
24300
|
},
|
|
24301
|
-
children: /* @__PURE__ */ v(u1, { injectFirst: !0, children: /* @__PURE__ */ v(ng, { theme: S, children: /* @__PURE__ */ W(
|
|
24301
|
+
children: /* @__PURE__ */ v(u1, { injectFirst: !0, children: /* @__PURE__ */ v(ng, { theme: S, children: /* @__PURE__ */ W(Kn, { children: [
|
|
24302
24302
|
/* @__PURE__ */ v(
|
|
24303
24303
|
v1,
|
|
24304
24304
|
{
|
|
@@ -24952,7 +24952,7 @@ function nT(e) {
|
|
|
24952
24952
|
} = e, r = ie(e, Bj), n = O.useRef(), o = O.useRef(null), i = /* @__PURE__ */ a(() => {
|
|
24953
24953
|
n.current = o.current.offsetHeight - o.current.clientHeight;
|
|
24954
24954
|
}, "setMeasurements");
|
|
24955
|
-
return
|
|
24955
|
+
return Fn(() => {
|
|
24956
24956
|
const s = zl(() => {
|
|
24957
24957
|
const u = n.current;
|
|
24958
24958
|
i(), u !== n.current && t(n.current);
|
|
@@ -25260,7 +25260,7 @@ const iT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25260
25260
|
const n = Ce({
|
|
25261
25261
|
props: t,
|
|
25262
25262
|
name: "MuiTabs"
|
|
25263
|
-
}), o =
|
|
25263
|
+
}), o = An(), i = jl(), {
|
|
25264
25264
|
"aria-label": s,
|
|
25265
25265
|
"aria-labelledby": l,
|
|
25266
25266
|
action: u,
|
|
@@ -25485,12 +25485,12 @@ const iT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
25485
25485
|
const Re = te[0], He = te[pe - 1], vt = {
|
|
25486
25486
|
root: Ae.current,
|
|
25487
25487
|
threshold: 0.99
|
|
25488
|
-
}, Ft = /* @__PURE__ */ a((
|
|
25489
|
-
ae(!
|
|
25488
|
+
}, Ft = /* @__PURE__ */ a((Nn) => {
|
|
25489
|
+
ae(!Nn[0].isIntersecting);
|
|
25490
25490
|
}, "handleScrollButtonStart"), dr = new IntersectionObserver(Ft, vt);
|
|
25491
25491
|
dr.observe(Re);
|
|
25492
|
-
const un = /* @__PURE__ */ a((
|
|
25493
|
-
le(!
|
|
25492
|
+
const un = /* @__PURE__ */ a((Nn) => {
|
|
25493
|
+
le(!Nn[0].isIntersecting);
|
|
25494
25494
|
}, "handleScrollButtonEnd"), pr = new IntersectionObserver(un, vt);
|
|
25495
25495
|
return pr.observe(He), () => {
|
|
25496
25496
|
dr.disconnect(), pr.disconnect();
|
|
@@ -25736,7 +25736,7 @@ const Tee = /* @__PURE__ */ a((e) => {
|
|
|
25736
25736
|
GridComponent: i = xj,
|
|
25737
25737
|
...s
|
|
25738
25738
|
} = e, l = t.id;
|
|
25739
|
-
return /* @__PURE__ */ W(
|
|
25739
|
+
return /* @__PURE__ */ W(Kn, { children: [
|
|
25740
25740
|
/* @__PURE__ */ v(
|
|
25741
25741
|
iT,
|
|
25742
25742
|
{
|
|
@@ -25782,7 +25782,7 @@ aT = Ug.default = (0, i5.default)(/* @__PURE__ */ (0, a5.jsx)("path", {
|
|
|
25782
25782
|
const sT = /* @__PURE__ */ a((e) => {
|
|
25783
25783
|
const t = Lt(), { defaultTitle: r, onClose: n, record: o, title: i } = e;
|
|
25784
25784
|
return /* @__PURE__ */ W(s5, { id: "edit-dialog-title", children: [
|
|
25785
|
-
|
|
25785
|
+
Wn(i) ? rn(i, { record: o }) : i ? t(i, { _: i }) : r,
|
|
25786
25786
|
/* @__PURE__ */ v(
|
|
25787
25787
|
ka,
|
|
25788
25788
|
{
|
|
@@ -25907,7 +25907,7 @@ const sT = /* @__PURE__ */ a((e) => {
|
|
|
25907
25907
|
}
|
|
25908
25908
|
),
|
|
25909
25909
|
/* @__PURE__ */ v(l1, { dividers: !0, sx: { p: 0 }, children: /* @__PURE__ */ v(
|
|
25910
|
-
|
|
25910
|
+
et,
|
|
25911
25911
|
{
|
|
25912
25912
|
sx: {
|
|
25913
25913
|
p: 2,
|
|
@@ -25930,9 +25930,9 @@ pT = qg.default = (0, p5.default)(/* @__PURE__ */ (0, f5.jsx)("path", {
|
|
|
25930
25930
|
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"
|
|
25931
25931
|
}), "OpenInNew");
|
|
25932
25932
|
const fT = /* @__PURE__ */ a((e) => {
|
|
25933
|
-
const t = Lt(), [r, n] = Be(!1), o =
|
|
25933
|
+
const t = Lt(), [r, n] = Be(!1), o = tt(() => {
|
|
25934
25934
|
n(!0);
|
|
25935
|
-
}, []), i =
|
|
25935
|
+
}, []), i = tt(() => {
|
|
25936
25936
|
n(!1);
|
|
25937
25937
|
}, []), s = Jr(
|
|
25938
25938
|
() => ({
|
|
@@ -25947,7 +25947,7 @@ const fT = /* @__PURE__ */ a((e) => {
|
|
|
25947
25947
|
inline: d,
|
|
25948
25948
|
dialog: p,
|
|
25949
25949
|
ButtonProps: f
|
|
25950
|
-
} = e, h =
|
|
25950
|
+
} = e, h = tt(
|
|
25951
25951
|
(b) => {
|
|
25952
25952
|
o(), b.stopPropagation();
|
|
25953
25953
|
},
|
|
@@ -26216,7 +26216,7 @@ const T5 = {
|
|
|
26216
26216
|
timeout: b = "auto",
|
|
26217
26217
|
// eslint-disable-next-line react/prop-types
|
|
26218
26218
|
TransitionComponent: y = sn
|
|
26219
|
-
} = t, x = ie(t, C5), k = sa(), T = O.useRef(), C =
|
|
26219
|
+
} = t, x = ie(t, C5), k = sa(), T = O.useRef(), C = An(), S = O.useRef(null), w = At(S, i.ref, r), P = /* @__PURE__ */ a((z) => (B) => {
|
|
26220
26220
|
if (z) {
|
|
26221
26221
|
const j = S.current;
|
|
26222
26222
|
B === void 0 ? z(j) : z(j, B);
|
|
@@ -26406,10 +26406,10 @@ var hr = "top", Gr = "bottom", Kr = "right", mr = "left", Kg = "auto", Jl = [hr,
|
|
|
26406
26406
|
}, []), bT = /* @__PURE__ */ [].concat(Jl, [Kg]).reduce(function(e, t) {
|
|
26407
26407
|
return e.concat([t, t + "-" + Na, t + "-" + fl]);
|
|
26408
26408
|
}, []), F5 = "beforeRead", A5 = "read", I5 = "afterRead", L5 = "beforeMain", N5 = "main", D5 = "afterMain", _5 = "beforeWrite", z5 = "write", B5 = "afterWrite", j5 = [F5, A5, I5, L5, N5, D5, _5, z5, B5];
|
|
26409
|
-
function
|
|
26409
|
+
function Pn(e) {
|
|
26410
26410
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
26411
26411
|
}
|
|
26412
|
-
a(
|
|
26412
|
+
a(Pn, "getNodeName");
|
|
26413
26413
|
function Pr(e) {
|
|
26414
26414
|
if (e == null)
|
|
26415
26415
|
return window;
|
|
@@ -26441,7 +26441,7 @@ function V5(e) {
|
|
|
26441
26441
|
var t = e.state;
|
|
26442
26442
|
Object.keys(t.elements).forEach(function(r) {
|
|
26443
26443
|
var n = t.styles[r] || {}, o = t.attributes[r] || {}, i = t.elements[r];
|
|
26444
|
-
!Hr(i) || !
|
|
26444
|
+
!Hr(i) || !Pn(i) || (Object.assign(i.style, n), Object.keys(o).forEach(function(s) {
|
|
26445
26445
|
var l = o[s];
|
|
26446
26446
|
l === !1 ? i.removeAttribute(s) : i.setAttribute(s, l === !0 ? "" : l);
|
|
26447
26447
|
}));
|
|
@@ -26466,7 +26466,7 @@ function H5(e) {
|
|
|
26466
26466
|
var o = t.elements[n], i = t.attributes[n] || {}, s = Object.keys(t.styles.hasOwnProperty(n) ? t.styles[n] : r[n]), l = s.reduce(function(u, d) {
|
|
26467
26467
|
return u[d] = "", u;
|
|
26468
26468
|
}, {});
|
|
26469
|
-
!Hr(o) || !
|
|
26469
|
+
!Hr(o) || !Pn(o) || (Object.assign(o.style, l), Object.keys(i).forEach(function(u) {
|
|
26470
26470
|
o.removeAttribute(u);
|
|
26471
26471
|
}));
|
|
26472
26472
|
});
|
|
@@ -26544,7 +26544,7 @@ function Yn(e) {
|
|
|
26544
26544
|
}
|
|
26545
26545
|
a(Yn, "getComputedStyle$1");
|
|
26546
26546
|
function U5(e) {
|
|
26547
|
-
return ["table", "td", "th"].indexOf(
|
|
26547
|
+
return ["table", "td", "th"].indexOf(Pn(e)) >= 0;
|
|
26548
26548
|
}
|
|
26549
26549
|
a(U5, "isTableElement");
|
|
26550
26550
|
function Fo(e) {
|
|
@@ -26555,7 +26555,7 @@ function Fo(e) {
|
|
|
26555
26555
|
}
|
|
26556
26556
|
a(Fo, "getDocumentElement");
|
|
26557
26557
|
function dp(e) {
|
|
26558
|
-
return
|
|
26558
|
+
return Pn(e) === "html" ? e : (
|
|
26559
26559
|
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
26560
26560
|
// $FlowFixMe[incompatible-return]
|
|
26561
26561
|
// $FlowFixMe[prop-missing]
|
|
@@ -26580,7 +26580,7 @@ function q5(e) {
|
|
|
26580
26580
|
return null;
|
|
26581
26581
|
}
|
|
26582
26582
|
var o = dp(e);
|
|
26583
|
-
for (Jg(o) && (o = o.host); Hr(o) && ["html", "body"].indexOf(
|
|
26583
|
+
for (Jg(o) && (o = o.host); Hr(o) && ["html", "body"].indexOf(Pn(o)) < 0; ) {
|
|
26584
26584
|
var i = Yn(o);
|
|
26585
26585
|
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
|
|
26586
26586
|
return o;
|
|
@@ -26592,7 +26592,7 @@ a(q5, "getContainingBlock");
|
|
|
26592
26592
|
function Yl(e) {
|
|
26593
26593
|
for (var t = Pr(e), r = K0(e); r && U5(r) && Yn(r).position === "static"; )
|
|
26594
26594
|
r = K0(r);
|
|
26595
|
-
return r && (
|
|
26595
|
+
return r && (Pn(r) === "html" || Pn(r) === "body" && Yn(r).position === "static") ? t : r || q5(e) || t;
|
|
26596
26596
|
}
|
|
26597
26597
|
a(Yl, "getOffsetParent");
|
|
26598
26598
|
function Qg(e) {
|
|
@@ -26836,7 +26836,7 @@ function eb(e) {
|
|
|
26836
26836
|
}
|
|
26837
26837
|
a(eb, "isScrollParent");
|
|
26838
26838
|
function CT(e) {
|
|
26839
|
-
return ["html", "body", "#document"].indexOf(
|
|
26839
|
+
return ["html", "body", "#document"].indexOf(Pn(e)) >= 0 ? e.ownerDocument.body : Hr(e) && eb(e) ? e : CT(dp(e));
|
|
26840
26840
|
}
|
|
26841
26841
|
a(CT, "getScrollParent");
|
|
26842
26842
|
function Is(e, t) {
|
|
@@ -26870,7 +26870,7 @@ a(Q0, "getClientRectFromMixedType");
|
|
|
26870
26870
|
function cV(e) {
|
|
26871
26871
|
var t = Is(dp(e)), r = ["absolute", "fixed"].indexOf(Yn(e).position) >= 0, n = r && Hr(e) ? Yl(e) : e;
|
|
26872
26872
|
return Fi(n) ? t.filter(function(o) {
|
|
26873
|
-
return Fi(o) && vT(o, n) &&
|
|
26873
|
+
return Fi(o) && vT(o, n) && Pn(o) !== "body";
|
|
26874
26874
|
}) : [];
|
|
26875
26875
|
}
|
|
26876
26876
|
a(cV, "getClippingParents");
|
|
@@ -27196,7 +27196,7 @@ function PV(e, t, r) {
|
|
|
27196
27196
|
x: 0,
|
|
27197
27197
|
y: 0
|
|
27198
27198
|
};
|
|
27199
|
-
return (n || !n && !r) && ((
|
|
27199
|
+
return (n || !n && !r) && ((Pn(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
27200
27200
|
eb(i)) && (l = kV(t)), Hr(t) ? (u = _a(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = Zg(i))), {
|
|
27201
27201
|
x: s.left + l.scrollLeft - u.x,
|
|
27202
27202
|
y: s.top + l.scrollTop - u.y,
|
|
@@ -27531,7 +27531,7 @@ const jV = /* @__PURE__ */ a((e) => {
|
|
|
27531
27531
|
P = i;
|
|
27532
27532
|
else if (n) {
|
|
27533
27533
|
const A = lu(n);
|
|
27534
|
-
P = A && pp(A) ?
|
|
27534
|
+
P = A && pp(A) ? Un(A).body : Un(null).body;
|
|
27535
27535
|
}
|
|
27536
27536
|
const F = !p && u && (!b || T) ? "none" : void 0, $ = b ? {
|
|
27537
27537
|
in: p,
|
|
@@ -28082,7 +28082,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28082
28082
|
TransitionProps: ee
|
|
28083
28083
|
} = w, Y = ie(w, GV), ge = /* @__PURE__ */ O.isValidElement(F) ? F : /* @__PURE__ */ v("span", {
|
|
28084
28084
|
children: F
|
|
28085
|
-
}), Ue =
|
|
28085
|
+
}), Ue = An(), Ae = jl(), [_e, Te] = O.useState(), [Ve, Ie] = O.useState(null), lt = O.useRef(!1), ct = L || K, qe = sa(), ut = sa(), Qe = sa(), yt = sa(), [Le, ve] = sl({
|
|
28086
28086
|
controlled: J,
|
|
28087
28087
|
default: !1,
|
|
28088
28088
|
name: "Tooltip",
|
|
@@ -28130,7 +28130,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28130
28130
|
ref: dr
|
|
28131
28131
|
} = Jd(), [, un] = O.useState(!1), pr = /* @__PURE__ */ a((De) => {
|
|
28132
28132
|
vt(De), He.current === !1 && (un(!1), Re(De));
|
|
28133
|
-
}, "handleBlur"),
|
|
28133
|
+
}, "handleBlur"), Nn = /* @__PURE__ */ a((De) => {
|
|
28134
28134
|
_e || Te(De.currentTarget), Ft(De), He.current === !0 && (un(!0), pe(De));
|
|
28135
28135
|
}, "handleFocus"), fs = /* @__PURE__ */ a((De) => {
|
|
28136
28136
|
lt.current = !0;
|
|
@@ -28177,7 +28177,7 @@ const fp = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
28177
28177
|
`));
|
|
28178
28178
|
}, [_e]));
|
|
28179
28179
|
const dt = {};
|
|
28180
|
-
z || (Ne.onTouchStart = Zl, Ne.onTouchEnd = ec), I || (Ne.onMouseOver = yc(pe, Ne.onMouseOver), Ne.onMouseLeave = yc(Re, Ne.onMouseLeave), ct || (dt.onMouseOver = pe, dt.onMouseLeave = Re)), R || (Ne.onFocus = yc(
|
|
28180
|
+
z || (Ne.onTouchStart = Zl, Ne.onTouchEnd = ec), I || (Ne.onMouseOver = yc(pe, Ne.onMouseOver), Ne.onMouseLeave = yc(Re, Ne.onMouseLeave), ct || (dt.onMouseOver = pe, dt.onMouseLeave = Re)), R || (Ne.onFocus = yc(Nn, Ne.onFocus), Ne.onBlur = yc(pr, Ne.onBlur), ct || (dt.onFocus = Nn, dt.onBlur = pr)), process.env.NODE_ENV !== "production" && ge.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ge.props.title}\` or the Tooltip component.`].join(`
|
|
28181
28181
|
`));
|
|
28182
28182
|
const $e = O.useMemo(() => {
|
|
28183
28183
|
var De;
|
|
@@ -28611,7 +28611,7 @@ const ZV = /* @__PURE__ */ a(({
|
|
|
28611
28611
|
}
|
|
28612
28612
|
),
|
|
28613
28613
|
/* @__PURE__ */ v(
|
|
28614
|
-
|
|
28614
|
+
et,
|
|
28615
28615
|
{
|
|
28616
28616
|
sx: {
|
|
28617
28617
|
opacity: u ? 0.6 : 1,
|
|
@@ -28745,7 +28745,7 @@ const l3 = /* @__PURE__ */ a((e) => {
|
|
|
28745
28745
|
translate: t
|
|
28746
28746
|
});
|
|
28747
28747
|
return /* @__PURE__ */ v(
|
|
28748
|
-
|
|
28748
|
+
et,
|
|
28749
28749
|
{
|
|
28750
28750
|
sx: {
|
|
28751
28751
|
width: i ? 230 : 50,
|
|
@@ -28791,7 +28791,7 @@ const f3 = /* @__PURE__ */ a((e) => {
|
|
|
28791
28791
|
icon: r = h3,
|
|
28792
28792
|
onClick: n,
|
|
28793
28793
|
...o
|
|
28794
|
-
} = e, i = EC(e), s =
|
|
28794
|
+
} = e, i = EC(e), s = tt(
|
|
28795
28795
|
(l) => {
|
|
28796
28796
|
l.preventDefault(), i(), typeof n == "function" && n(l);
|
|
28797
28797
|
},
|
|
@@ -29710,7 +29710,7 @@ process.env.NODE_ENV !== "production" && (AT.propTypes = {
|
|
|
29710
29710
|
* If `true`, the card will use raised styling.
|
|
29711
29711
|
* @default false
|
|
29712
29712
|
*/
|
|
29713
|
-
raised:
|
|
29713
|
+
raised: In(c.bool, (e) => e.raised && e.variant === "outlined" ? new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.') : null),
|
|
29714
29714
|
/**
|
|
29715
29715
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
29716
29716
|
*/
|
|
@@ -29815,7 +29815,7 @@ const Aee = /* @__PURE__ */ a((e) => {
|
|
|
29815
29815
|
const m = {};
|
|
29816
29816
|
return g[r] || (m[r] = s("ra.validation.required")), g[n] || (m[n] = s("ra.validation.required")), m;
|
|
29817
29817
|
}, "validate"), children: /* @__PURE__ */ v(
|
|
29818
|
-
|
|
29818
|
+
et,
|
|
29819
29819
|
{
|
|
29820
29820
|
sx: {
|
|
29821
29821
|
display: "flex",
|
|
@@ -29829,7 +29829,7 @@ const Aee = /* @__PURE__ */ a((e) => {
|
|
|
29829
29829
|
},
|
|
29830
29830
|
children: /* @__PURE__ */ W(AT, { sx: { minWidth: 300, marginTop: "6em" }, children: [
|
|
29831
29831
|
/* @__PURE__ */ v(
|
|
29832
|
-
|
|
29832
|
+
et,
|
|
29833
29833
|
{
|
|
29834
29834
|
sx: {
|
|
29835
29835
|
margin: "1em",
|
|
@@ -29848,7 +29848,7 @@ const Aee = /* @__PURE__ */ a((e) => {
|
|
|
29848
29848
|
}
|
|
29849
29849
|
),
|
|
29850
29850
|
/* @__PURE__ */ v(
|
|
29851
|
-
|
|
29851
|
+
et,
|
|
29852
29852
|
{
|
|
29853
29853
|
sx: {
|
|
29854
29854
|
marginTop: "1em",
|
|
@@ -29860,8 +29860,8 @@ const Aee = /* @__PURE__ */ a((e) => {
|
|
|
29860
29860
|
children: "Inicio de Sesión"
|
|
29861
29861
|
}
|
|
29862
29862
|
),
|
|
29863
|
-
/* @__PURE__ */ W(
|
|
29864
|
-
/* @__PURE__ */ v(
|
|
29863
|
+
/* @__PURE__ */ W(et, { sx: { padding: "0 1em 1em 1em" }, children: [
|
|
29864
|
+
/* @__PURE__ */ v(et, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
|
|
29865
29865
|
En,
|
|
29866
29866
|
{
|
|
29867
29867
|
autoFocus: !0,
|
|
@@ -29871,7 +29871,7 @@ const Aee = /* @__PURE__ */ a((e) => {
|
|
|
29871
29871
|
disabled: o
|
|
29872
29872
|
}
|
|
29873
29873
|
) }),
|
|
29874
|
-
/* @__PURE__ */ v(
|
|
29874
|
+
/* @__PURE__ */ v(et, { sx: { marginTop: 0 }, children: /* @__PURE__ */ v(
|
|
29875
29875
|
T1,
|
|
29876
29876
|
{
|
|
29877
29877
|
name: n,
|
|
@@ -29963,7 +29963,7 @@ const NT = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
|
29963
29963
|
previousKeyMatched: !0,
|
|
29964
29964
|
lastTime: null
|
|
29965
29965
|
});
|
|
29966
|
-
|
|
29966
|
+
Fn(() => {
|
|
29967
29967
|
o && g.current.focus();
|
|
29968
29968
|
}, [o]), O.useImperativeHandle(n, () => ({
|
|
29969
29969
|
adjustStyleForScrollbar: /* @__PURE__ */ a((T, {
|
|
@@ -30306,7 +30306,7 @@ process.env.NODE_ENV !== "production" && (_T.propTypes = {
|
|
|
30306
30306
|
* or a function that returns either.
|
|
30307
30307
|
* It's used to set the position of the popover.
|
|
30308
30308
|
*/
|
|
30309
|
-
anchorEl:
|
|
30309
|
+
anchorEl: In(c.oneOfType([Pi, c.func]), (e) => {
|
|
30310
30310
|
if (e.open && (!e.anchorReference || e.anchorReference === "anchorEl")) {
|
|
30311
30311
|
const t = jc(e.anchorEl);
|
|
30312
30312
|
if (t && t.nodeType === 1) {
|
|
@@ -30829,7 +30829,7 @@ const vs = Oe("MuiMenuItem", ["root", "focusVisible", "dense", "disabled", "divi
|
|
|
30829
30829
|
dense: s || m.dense || !1,
|
|
30830
30830
|
disableGutters: u
|
|
30831
30831
|
}), [m.dense, s, u]), y = O.useRef(null);
|
|
30832
|
-
|
|
30832
|
+
Fn(() => {
|
|
30833
30833
|
o && (y.current ? y.current.focus() : process.env.NODE_ENV !== "production" && console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."));
|
|
30834
30834
|
}, [o]);
|
|
30835
30835
|
const x = E({}, n, {
|
|
@@ -30942,7 +30942,7 @@ const Iee = /* @__PURE__ */ a((e) => {
|
|
|
30942
30942
|
}, "handleToggle"), b = /* @__PURE__ */ a((k) => {
|
|
30943
30943
|
d.current && d.current.contains(k.target) || u(!1);
|
|
30944
30944
|
}, "handleClose"), y = t[p], x = (y == null ? void 0 : y.icon) || r;
|
|
30945
|
-
return /* @__PURE__ */ W(
|
|
30945
|
+
return /* @__PURE__ */ W(Kn, { children: [
|
|
30946
30946
|
/* @__PURE__ */ v(fp, { title: y == null ? void 0 : y.label, children: /* @__PURE__ */ W(
|
|
30947
30947
|
jr,
|
|
30948
30948
|
{
|
|
@@ -30969,7 +30969,7 @@ const Iee = /* @__PURE__ */ a((e) => {
|
|
|
30969
30969
|
O.cloneElement(k.icon, {
|
|
30970
30970
|
fontSize: "medium"
|
|
30971
30971
|
}),
|
|
30972
|
-
/* @__PURE__ */ v(
|
|
30972
|
+
/* @__PURE__ */ v(et, { component: "span", sx: { paddingRight: "1em" } }),
|
|
30973
30973
|
/* @__PURE__ */ v(Nt, { fontSize: "small", color: "textPrimary", children: k.label })
|
|
30974
30974
|
]
|
|
30975
30975
|
},
|
|
@@ -31070,7 +31070,7 @@ const Iee = /* @__PURE__ */ a((e) => {
|
|
|
31070
31070
|
`${b}/${w}`,
|
|
31071
31071
|
f.pathname
|
|
31072
31072
|
) : g !== S;
|
|
31073
|
-
return
|
|
31073
|
+
return Wn(C) ? O.cloneElement(C, {
|
|
31074
31074
|
intent: "content",
|
|
31075
31075
|
resource: h,
|
|
31076
31076
|
hidden: P,
|
|
@@ -31244,7 +31244,7 @@ const O4 = /* @__PURE__ */ a(({
|
|
|
31244
31244
|
incluyeAcciones: o = !1,
|
|
31245
31245
|
saveButtonProps: i,
|
|
31246
31246
|
...s
|
|
31247
|
-
} = e, [l, u] = Be(!1), d = cn(s), p = Zn(), { trigger: f } = cr(), { hidden: h } = TC(), g =
|
|
31247
|
+
} = e, [l, u] = Be(!1), d = cn(s), p = Zn(), { trigger: f } = cr(), { hidden: h } = TC(), g = tt(
|
|
31248
31248
|
async (m, b, y) => {
|
|
31249
31249
|
typeof t == "function" ? await f() ? (u(!0), t(d, b, y, m).finally(() => {
|
|
31250
31250
|
u(!1);
|
|
@@ -31595,7 +31595,7 @@ const lx = /* @__PURE__ */ a((e) => {
|
|
|
31595
31595
|
s(h.message, { type: "error" }), r(!1);
|
|
31596
31596
|
}
|
|
31597
31597
|
}, "openCamera"))();
|
|
31598
|
-
}, [t]), /* @__PURE__ */ W(
|
|
31598
|
+
}, [t]), /* @__PURE__ */ W(Kn, { children: [
|
|
31599
31599
|
/* @__PURE__ */ v(
|
|
31600
31600
|
Ml,
|
|
31601
31601
|
{
|
|
@@ -31603,7 +31603,7 @@ const lx = /* @__PURE__ */ a((e) => {
|
|
|
31603
31603
|
loading: !t,
|
|
31604
31604
|
maxWidth: "sm",
|
|
31605
31605
|
title: "",
|
|
31606
|
-
content: /* @__PURE__ */ W(
|
|
31606
|
+
content: /* @__PURE__ */ W(et, { display: "flex", flexDirection: "column", children: [
|
|
31607
31607
|
/* @__PURE__ */ v(
|
|
31608
31608
|
Ov,
|
|
31609
31609
|
{
|
|
@@ -31858,7 +31858,7 @@ const lx = /* @__PURE__ */ a((e) => {
|
|
|
31858
31858
|
}, "Camino"), Uee = /* @__PURE__ */ a((e) => {
|
|
31859
31859
|
const { propsContenido: t, hidden: r } = xr(e);
|
|
31860
31860
|
return !r && /* @__PURE__ */ v(
|
|
31861
|
-
|
|
31861
|
+
et,
|
|
31862
31862
|
{
|
|
31863
31863
|
sx: {
|
|
31864
31864
|
display: "inline-flex",
|
|
@@ -31888,7 +31888,7 @@ const lx = /* @__PURE__ */ a((e) => {
|
|
|
31888
31888
|
return Ge(() => {
|
|
31889
31889
|
s || typeof t == "function" && t(Object.values([l]));
|
|
31890
31890
|
}, [l, t, s]), /* @__PURE__ */ v(U4, { title: ((p = d.current) == null ? void 0 : p.value) || "", placement: "top", arrow: !0, children: /* @__PURE__ */ v(
|
|
31891
|
-
|
|
31891
|
+
et,
|
|
31892
31892
|
{
|
|
31893
31893
|
sx: n ? { marginLeft: 1, ...r } : {
|
|
31894
31894
|
display: { xs: "inherit", md: "inline-flex" },
|
|
@@ -31936,37 +31936,49 @@ const lx = /* @__PURE__ */ a((e) => {
|
|
|
31936
31936
|
}
|
|
31937
31937
|
return Ge(() => {
|
|
31938
31938
|
h !== null && (g.current = h, n(GL(p)));
|
|
31939
|
-
}, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(
|
|
31940
|
-
|
|
31941
|
-
|
|
31942
|
-
{
|
|
31943
|
-
|
|
31944
|
-
|
|
31945
|
-
|
|
31946
|
-
|
|
31947
|
-
|
|
31948
|
-
|
|
31949
|
-
|
|
31939
|
+
}, [JSON.stringify(h)]), !r && !o ? /* @__PURE__ */ W(
|
|
31940
|
+
et,
|
|
31941
|
+
{
|
|
31942
|
+
sx: {
|
|
31943
|
+
display: "flex",
|
|
31944
|
+
alignItems: "flex-start",
|
|
31945
|
+
gap: 1,
|
|
31946
|
+
width: "100%"
|
|
31947
|
+
},
|
|
31948
|
+
children: [
|
|
31949
|
+
/* @__PURE__ */ v(et, { sx: { flex: 1, minWidth: 0 }, children: /* @__PURE__ */ v(
|
|
31950
|
+
w1,
|
|
31950
31951
|
{
|
|
31951
|
-
|
|
31952
|
-
|
|
31953
|
-
|
|
31952
|
+
reference: f,
|
|
31953
|
+
source: p,
|
|
31954
|
+
perPage: u,
|
|
31955
|
+
filter: y,
|
|
31956
|
+
queryOptions: i,
|
|
31957
|
+
children: /* @__PURE__ */ v(
|
|
31958
|
+
q4,
|
|
31959
|
+
{
|
|
31960
|
+
...d,
|
|
31961
|
+
callback: b,
|
|
31962
|
+
optionText: "etiqueta",
|
|
31963
|
+
sx: { width: "100% !important" }
|
|
31964
|
+
}
|
|
31965
|
+
)
|
|
31954
31966
|
}
|
|
31955
|
-
)
|
|
31956
|
-
|
|
31957
|
-
|
|
31958
|
-
|
|
31959
|
-
|
|
31960
|
-
|
|
31961
|
-
|
|
31962
|
-
|
|
31963
|
-
|
|
31964
|
-
|
|
31965
|
-
|
|
31966
|
-
|
|
31967
|
-
|
|
31968
|
-
|
|
31969
|
-
|
|
31967
|
+
) }),
|
|
31968
|
+
s ? /* @__PURE__ */ v(
|
|
31969
|
+
s,
|
|
31970
|
+
{
|
|
31971
|
+
panel: {
|
|
31972
|
+
resource: l,
|
|
31973
|
+
tipo: "ventana",
|
|
31974
|
+
inline: !0,
|
|
31975
|
+
ButtonProps: { size: "small", sx: { mt: 1 } }
|
|
31976
|
+
}
|
|
31977
|
+
}
|
|
31978
|
+
) : null
|
|
31979
|
+
]
|
|
31980
|
+
}
|
|
31981
|
+
) : null;
|
|
31970
31982
|
}, "ComboBox"), qee = /* @__PURE__ */ a((e) => {
|
|
31971
31983
|
const { propsContenido: t, hidden: r } = xr(e);
|
|
31972
31984
|
return !r && /* @__PURE__ */ v(YP, { ...t });
|
|
@@ -32254,13 +32266,13 @@ const aH = /* @__PURE__ */ a((e) => {
|
|
|
32254
32266
|
root: ["root", r && "container", o && "item", l && "zeroMinWidth", ...d, n !== "row" && `direction-xs-${String(n)}`, s !== "wrap" && `wrap-xs-${String(s)}`, ...p]
|
|
32255
32267
|
};
|
|
32256
32268
|
return Se(f, K4, t);
|
|
32257
|
-
}, "useUtilityClasses$c"),
|
|
32269
|
+
}, "useUtilityClasses$c"), Hn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
32258
32270
|
const n = Ce({
|
|
32259
32271
|
props: t,
|
|
32260
32272
|
name: "MuiGrid"
|
|
32261
32273
|
}), {
|
|
32262
32274
|
breakpoints: o
|
|
32263
|
-
} =
|
|
32275
|
+
} = An(), i = _l(n), {
|
|
32264
32276
|
className: s,
|
|
32265
32277
|
columns: l,
|
|
32266
32278
|
columnSpacing: u,
|
|
@@ -32299,7 +32311,7 @@ const aH = /* @__PURE__ */ a((e) => {
|
|
|
32299
32311
|
}, P))
|
|
32300
32312
|
});
|
|
32301
32313
|
}, "Grid"));
|
|
32302
|
-
process.env.NODE_ENV !== "production" && (
|
|
32314
|
+
process.env.NODE_ENV !== "production" && (Hn.propTypes = {
|
|
32303
32315
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
32304
32316
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
32305
32317
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -32428,8 +32440,8 @@ process.env.NODE_ENV !== "production" && (Wn.propTypes = {
|
|
|
32428
32440
|
zeroMinWidth: c.bool
|
|
32429
32441
|
});
|
|
32430
32442
|
if (process.env.NODE_ENV !== "production") {
|
|
32431
|
-
const e = NS("Grid",
|
|
32432
|
-
|
|
32443
|
+
const e = NS("Grid", Hn);
|
|
32444
|
+
Hn.propTypes = E({}, Hn.propTypes, {
|
|
32433
32445
|
direction: e("container"),
|
|
32434
32446
|
lg: e("item"),
|
|
32435
32447
|
md: e("item"),
|
|
@@ -33004,7 +33016,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
33004
33016
|
);
|
|
33005
33017
|
}, "customList");
|
|
33006
33018
|
return /* @__PURE__ */ W(
|
|
33007
|
-
|
|
33019
|
+
Hn,
|
|
33008
33020
|
{
|
|
33009
33021
|
container: !0,
|
|
33010
33022
|
spacing: 4,
|
|
@@ -33015,7 +33027,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
33015
33027
|
marginLeft: R.spacing(-4)
|
|
33016
33028
|
}), "sx"),
|
|
33017
33029
|
children: [
|
|
33018
|
-
/* @__PURE__ */ v(
|
|
33030
|
+
/* @__PURE__ */ v(Hn, { item: !0, children: /* @__PURE__ */ v(
|
|
33019
33031
|
v1,
|
|
33020
33032
|
{
|
|
33021
33033
|
label: e.label,
|
|
@@ -33025,8 +33037,8 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
33025
33037
|
children: M(d, !0)
|
|
33026
33038
|
}
|
|
33027
33039
|
) }),
|
|
33028
|
-
/* @__PURE__ */ v(
|
|
33029
|
-
|
|
33040
|
+
/* @__PURE__ */ v(Hn, { item: !0, children: /* @__PURE__ */ W(
|
|
33041
|
+
Hn,
|
|
33030
33042
|
{
|
|
33031
33043
|
container: !0,
|
|
33032
33044
|
direction: "column",
|
|
@@ -33140,7 +33152,7 @@ const ux = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
33140
33152
|
]
|
|
33141
33153
|
}
|
|
33142
33154
|
) }),
|
|
33143
|
-
/* @__PURE__ */ v(
|
|
33155
|
+
/* @__PURE__ */ v(Hn, { item: !0, children: M(f, !1, { mt: 2.5 }) })
|
|
33144
33156
|
]
|
|
33145
33157
|
}
|
|
33146
33158
|
);
|
|
@@ -33275,12 +33287,12 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33275
33287
|
onConfirm: d,
|
|
33276
33288
|
contentResource: p,
|
|
33277
33289
|
translateOptions: f = {}
|
|
33278
|
-
} = e, h = Lt(), [g] = R1({ resource: p }), m =
|
|
33290
|
+
} = e, h = Lt(), [g] = R1({ resource: p }), m = tt(
|
|
33279
33291
|
(y, x) => {
|
|
33280
33292
|
y.stopPropagation(), d(y, g);
|
|
33281
33293
|
},
|
|
33282
33294
|
[g, d]
|
|
33283
|
-
), b =
|
|
33295
|
+
), b = tt((y) => {
|
|
33284
33296
|
y.stopPropagation();
|
|
33285
33297
|
}, []);
|
|
33286
33298
|
return /* @__PURE__ */ W(
|
|
@@ -33316,7 +33328,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33316
33328
|
]
|
|
33317
33329
|
}
|
|
33318
33330
|
);
|
|
33319
|
-
}, "FiltroAsig"), jH = /* @__PURE__ */ a(() => /* @__PURE__ */ v(
|
|
33331
|
+
}, "FiltroAsig"), jH = /* @__PURE__ */ a(() => /* @__PURE__ */ v(Kn, {}), "BulkActions"), VH = {
|
|
33320
33332
|
seleccion: "",
|
|
33321
33333
|
all: !0,
|
|
33322
33334
|
none: !1
|
|
@@ -33339,7 +33351,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33339
33351
|
g.setValue(f, VH);
|
|
33340
33352
|
}, 0), n.current = !0);
|
|
33341
33353
|
}, [g, f]);
|
|
33342
|
-
const m =
|
|
33354
|
+
const m = tt(() => {
|
|
33343
33355
|
r(!1);
|
|
33344
33356
|
}, [r]), b = /* @__PURE__ */ a((k, T) => {
|
|
33345
33357
|
r(!1), g.setValue(f, {
|
|
@@ -33362,7 +33374,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33362
33374
|
}, "handleTodos");
|
|
33363
33375
|
return o ? null : /* @__PURE__ */ W(Ur, { children: [
|
|
33364
33376
|
/* @__PURE__ */ v(
|
|
33365
|
-
|
|
33377
|
+
et,
|
|
33366
33378
|
{
|
|
33367
33379
|
display: "flex",
|
|
33368
33380
|
alignItems: "center",
|
|
@@ -33488,19 +33500,18 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33488
33500
|
)
|
|
33489
33501
|
}
|
|
33490
33502
|
), "AsistenteList"), qH = { fillista: "empcod=-1", mapId: ["funnro"] }, GH = /* @__PURE__ */ a((e) => {
|
|
33491
|
-
const { filgrilla: t = {}, meta: r
|
|
33503
|
+
const { filgrilla: t = {}, meta: r } = e, [n, o] = Be(qH), [i, s] = Be([]), l = Ja();
|
|
33492
33504
|
Ge(() => {
|
|
33493
33505
|
(/* @__PURE__ */ a(async () => {
|
|
33494
33506
|
const g = await d("");
|
|
33495
33507
|
s(g);
|
|
33496
33508
|
}, "loadInitialData"))();
|
|
33497
33509
|
}, []);
|
|
33498
|
-
const u =
|
|
33510
|
+
const u = tt(
|
|
33499
33511
|
(h, g) => {
|
|
33500
33512
|
o({
|
|
33501
33513
|
fillista: g,
|
|
33502
33514
|
mapId: ["funnro"],
|
|
33503
|
-
meta: r,
|
|
33504
33515
|
...t
|
|
33505
33516
|
});
|
|
33506
33517
|
},
|
|
@@ -33542,7 +33553,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33542
33553
|
`${g.id}-placeholder`
|
|
33543
33554
|
) : null }, g.id)), "renderTreeItems");
|
|
33544
33555
|
return /* @__PURE__ */ W(
|
|
33545
|
-
|
|
33556
|
+
et,
|
|
33546
33557
|
{
|
|
33547
33558
|
display: "flex",
|
|
33548
33559
|
flex: 1,
|
|
@@ -33553,7 +33564,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33553
33564
|
},
|
|
33554
33565
|
children: [
|
|
33555
33566
|
/* @__PURE__ */ v(
|
|
33556
|
-
|
|
33567
|
+
et,
|
|
33557
33568
|
{
|
|
33558
33569
|
flex: { xs: "1 0 auto", md: "0 0 300px" },
|
|
33559
33570
|
sx: {
|
|
@@ -33574,7 +33585,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33574
33585
|
}
|
|
33575
33586
|
),
|
|
33576
33587
|
/* @__PURE__ */ v(
|
|
33577
|
-
|
|
33588
|
+
et,
|
|
33578
33589
|
{
|
|
33579
33590
|
flexGrow: 1,
|
|
33580
33591
|
sx: {
|
|
@@ -33583,7 +33594,14 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33583
33594
|
height: { md: "70vh" },
|
|
33584
33595
|
width: { xs: "100%", md: "auto" }
|
|
33585
33596
|
},
|
|
33586
|
-
children: /* @__PURE__ */ v(
|
|
33597
|
+
children: /* @__PURE__ */ v(
|
|
33598
|
+
UH,
|
|
33599
|
+
{
|
|
33600
|
+
resource: "form_224",
|
|
33601
|
+
filter: n,
|
|
33602
|
+
queryOptions: { meta: r }
|
|
33603
|
+
}
|
|
33604
|
+
)
|
|
33587
33605
|
}
|
|
33588
33606
|
)
|
|
33589
33607
|
]
|
|
@@ -33609,12 +33627,12 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33609
33627
|
translateOptions: d = {},
|
|
33610
33628
|
filgrilla: p,
|
|
33611
33629
|
meta: f
|
|
33612
|
-
} = e, h = Lt(), g =
|
|
33630
|
+
} = e, h = Lt(), g = tt(
|
|
33613
33631
|
(b, y) => {
|
|
33614
33632
|
b.stopPropagation(), u(b, y);
|
|
33615
33633
|
},
|
|
33616
33634
|
[u]
|
|
33617
|
-
), m =
|
|
33635
|
+
), m = tt((b) => {
|
|
33618
33636
|
b.stopPropagation();
|
|
33619
33637
|
}, []);
|
|
33620
33638
|
return /* @__PURE__ */ W(
|
|
@@ -33674,7 +33692,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33674
33692
|
s.setValue(t, QH);
|
|
33675
33693
|
}, 0), d.current = !0);
|
|
33676
33694
|
}, [s, t]);
|
|
33677
|
-
const w =
|
|
33695
|
+
const w = tt(() => {
|
|
33678
33696
|
i(!1);
|
|
33679
33697
|
}, [i]), P = /* @__PURE__ */ a((A, M) => {
|
|
33680
33698
|
i(!1), s.setValue(t, {
|
|
@@ -33697,7 +33715,7 @@ const _H = /* @__PURE__ */ a((e) => /* @__PURE__ */ v(
|
|
|
33697
33715
|
}, "handleTodos");
|
|
33698
33716
|
return p ? null : /* @__PURE__ */ W(Ur, { children: [
|
|
33699
33717
|
/* @__PURE__ */ v(
|
|
33700
|
-
|
|
33718
|
+
et,
|
|
33701
33719
|
{
|
|
33702
33720
|
display: "flex",
|
|
33703
33721
|
alignItems: "center",
|
|
@@ -37177,7 +37195,7 @@ const Gs = class Gs extends _t {
|
|
|
37177
37195
|
a(Gs, "RemoveNodeMarkStep");
|
|
37178
37196
|
let vl = Gs;
|
|
37179
37197
|
_t.jsonID("removeNodeMark", vl);
|
|
37180
|
-
const
|
|
37198
|
+
const jn = class jn extends _t {
|
|
37181
37199
|
/**
|
|
37182
37200
|
The given `slice` should fit the 'gap' between `from` and
|
|
37183
37201
|
`to`—the depths must line up, and the surrounding nodes must be
|
|
@@ -37197,21 +37215,21 @@ const Vn = class Vn extends _t {
|
|
|
37197
37215
|
return new Qn([this.from, this.to - this.from, this.slice.size]);
|
|
37198
37216
|
}
|
|
37199
37217
|
invert(t) {
|
|
37200
|
-
return new
|
|
37218
|
+
return new jn(this.from, this.from + this.slice.size, t.slice(this.from, this.to));
|
|
37201
37219
|
}
|
|
37202
37220
|
map(t) {
|
|
37203
37221
|
let r = t.mapResult(this.from, 1), n = t.mapResult(this.to, -1);
|
|
37204
|
-
return r.deletedAcross && n.deletedAcross ? null : new
|
|
37222
|
+
return r.deletedAcross && n.deletedAcross ? null : new jn(r.pos, Math.max(r.pos, n.pos), this.slice);
|
|
37205
37223
|
}
|
|
37206
37224
|
merge(t) {
|
|
37207
|
-
if (!(t instanceof
|
|
37225
|
+
if (!(t instanceof jn) || t.structure || this.structure)
|
|
37208
37226
|
return null;
|
|
37209
37227
|
if (this.from + this.slice.size == t.from && !this.slice.openEnd && !t.slice.openStart) {
|
|
37210
37228
|
let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(this.slice.content.append(t.slice.content), this.slice.openStart, t.slice.openEnd);
|
|
37211
|
-
return new
|
|
37229
|
+
return new jn(this.from, this.to + (t.to - t.from), r, this.structure);
|
|
37212
37230
|
} else if (t.to == this.from && !this.slice.openStart && !t.slice.openEnd) {
|
|
37213
37231
|
let r = this.slice.size + t.slice.size == 0 ? fe.empty : new fe(t.slice.content.append(this.slice.content), t.slice.openStart, this.slice.openEnd);
|
|
37214
|
-
return new
|
|
37232
|
+
return new jn(t.from, this.to, r, this.structure);
|
|
37215
37233
|
} else
|
|
37216
37234
|
return null;
|
|
37217
37235
|
}
|
|
@@ -37225,11 +37243,11 @@ const Vn = class Vn extends _t {
|
|
|
37225
37243
|
static fromJSON(t, r) {
|
|
37226
37244
|
if (typeof r.from != "number" || typeof r.to != "number")
|
|
37227
37245
|
throw new RangeError("Invalid input for ReplaceStep.fromJSON");
|
|
37228
|
-
return new
|
|
37246
|
+
return new jn(r.from, r.to, fe.fromJSON(t, r.slice), !!r.structure);
|
|
37229
37247
|
}
|
|
37230
37248
|
};
|
|
37231
|
-
a(
|
|
37232
|
-
let Mr =
|
|
37249
|
+
a(jn, "ReplaceStep");
|
|
37250
|
+
let Mr = jn;
|
|
37233
37251
|
_t.jsonID("replace", Mr);
|
|
37234
37252
|
const da = class da extends _t {
|
|
37235
37253
|
/**
|
|
@@ -38336,7 +38354,7 @@ const ff = /* @__PURE__ */ Object.create(null), _y = class _y {
|
|
|
38336
38354
|
negative, it will search backwards first.
|
|
38337
38355
|
*/
|
|
38338
38356
|
static near(t, r = 1) {
|
|
38339
|
-
return this.findFrom(t, r) || this.findFrom(t, -r) || new
|
|
38357
|
+
return this.findFrom(t, r) || this.findFrom(t, -r) || new qn(t.node(0));
|
|
38340
38358
|
}
|
|
38341
38359
|
/**
|
|
38342
38360
|
Find the cursor or leaf node selection closest to the start of
|
|
@@ -38345,14 +38363,14 @@ const ff = /* @__PURE__ */ Object.create(null), _y = class _y {
|
|
|
38345
38363
|
exists.
|
|
38346
38364
|
*/
|
|
38347
38365
|
static atStart(t) {
|
|
38348
|
-
return oa(t, t, 0, 0, 1) || new
|
|
38366
|
+
return oa(t, t, 0, 0, 1) || new qn(t);
|
|
38349
38367
|
}
|
|
38350
38368
|
/**
|
|
38351
38369
|
Find the cursor or leaf node selection closest to the end of the
|
|
38352
38370
|
given document.
|
|
38353
38371
|
*/
|
|
38354
38372
|
static atEnd(t) {
|
|
38355
|
-
return oa(t, t, t.content.size, t.childCount, -1) || new
|
|
38373
|
+
return oa(t, t, t.content.size, t.childCount, -1) || new qn(t);
|
|
38356
38374
|
}
|
|
38357
38375
|
/**
|
|
38358
38376
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -38595,14 +38613,14 @@ const fa = class fa extends Fe {
|
|
|
38595
38613
|
}
|
|
38596
38614
|
};
|
|
38597
38615
|
a(fa, "AllSelection");
|
|
38598
|
-
let
|
|
38599
|
-
Fe.jsonID("all",
|
|
38616
|
+
let qn = fa;
|
|
38617
|
+
Fe.jsonID("all", qn);
|
|
38600
38618
|
const jW = {
|
|
38601
38619
|
map() {
|
|
38602
38620
|
return this;
|
|
38603
38621
|
},
|
|
38604
38622
|
resolve(e) {
|
|
38605
|
-
return new
|
|
38623
|
+
return new qn(e);
|
|
38606
38624
|
}
|
|
38607
38625
|
};
|
|
38608
38626
|
function oa(e, t, r, n, o, i = !1) {
|
|
@@ -39072,7 +39090,7 @@ const Ut = /* @__PURE__ */ a(function(e) {
|
|
|
39072
39090
|
return t && t.nodeType == 11 ? t.host : t;
|
|
39073
39091
|
}, "parentNode");
|
|
39074
39092
|
let Ch = null;
|
|
39075
|
-
const
|
|
39093
|
+
const Bn = /* @__PURE__ */ a(function(e, t, r) {
|
|
39076
39094
|
let n = Ch || (Ch = document.createRange());
|
|
39077
39095
|
return n.setEnd(e, r ?? e.nodeValue.length), n.setStart(e, t || 0), n;
|
|
39078
39096
|
}, "textRange"), HW = /* @__PURE__ */ a(function() {
|
|
@@ -39180,9 +39198,9 @@ function JW(e, t, r) {
|
|
|
39180
39198
|
}
|
|
39181
39199
|
}
|
|
39182
39200
|
a(JW, "caretFromPoint");
|
|
39183
|
-
const
|
|
39201
|
+
const Mn = typeof navigator < "u" ? navigator : null, Rx = typeof document < "u" ? document : null, Io = Mn && Mn.userAgent || "", Th = /Edge\/(\d+)/.exec(Io), kE = /MSIE \d/.exec(Io), Eh = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Io), gr = !!(kE || Eh || Th), So = kE ? document.documentMode : Eh ? +Eh[1] : Th ? +Th[1] : 0, on = !gr && /gecko\/(\d+)/i.test(Io);
|
|
39184
39202
|
on && +(/Firefox\/(\d+)/.exec(Io) || [0, 0])[1];
|
|
39185
|
-
const kh = !gr && /Chrome\/(\d+)/.exec(Io), Xt = !!kh, wE = kh ? +kh[1] : 0, ar = !gr && !!
|
|
39203
|
+
const kh = !gr && /Chrome\/(\d+)/.exec(Io), Xt = !!kh, wE = kh ? +kh[1] : 0, ar = !gr && !!Mn && /Apple Computer/.test(Mn.vendor), Ha = ar && (/Mobile\/\w+/.test(Io) || !!Mn && Mn.maxTouchPoints > 2), Nr = Ha || (Mn ? /Mac/.test(Mn.platform) : !1), YW = Mn ? /Win/.test(Mn.platform) : !1, tn = /Android \d/.test(Io), Xl = !!Rx && "webkitFontSmoothing" in Rx.documentElement.style, QW = Xl ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
39186
39204
|
function XW(e) {
|
|
39187
39205
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
39188
39206
|
return t ? {
|
|
@@ -39198,10 +39216,10 @@ function XW(e) {
|
|
|
39198
39216
|
};
|
|
39199
39217
|
}
|
|
39200
39218
|
a(XW, "windowRect");
|
|
39201
|
-
function
|
|
39219
|
+
function _n(e, t) {
|
|
39202
39220
|
return typeof e == "number" ? e : e[t];
|
|
39203
39221
|
}
|
|
39204
|
-
a(
|
|
39222
|
+
a(_n, "getSide");
|
|
39205
39223
|
function ZW(e) {
|
|
39206
39224
|
let t = e.getBoundingClientRect(), r = t.width / e.offsetWidth || 1, n = t.height / e.offsetHeight || 1;
|
|
39207
39225
|
return {
|
|
@@ -39218,7 +39236,7 @@ function $x(e, t, r) {
|
|
|
39218
39236
|
if (s.nodeType != 1)
|
|
39219
39237
|
continue;
|
|
39220
39238
|
let l = s, u = l == i.body, d = u ? XW(i) : ZW(l), p = 0, f = 0;
|
|
39221
|
-
if (t.top < d.top +
|
|
39239
|
+
if (t.top < d.top + _n(n, "top") ? f = -(d.top - t.top + _n(o, "top")) : t.bottom > d.bottom - _n(n, "bottom") && (f = t.bottom - t.top > d.bottom - d.top ? t.top + _n(o, "top") - d.top : t.bottom - d.bottom + _n(o, "bottom")), t.left < d.left + _n(n, "left") ? p = -(d.left - t.left + _n(o, "left")) : t.right > d.right - _n(n, "right") && (p = t.right - d.right + _n(o, "right")), p || f)
|
|
39222
39240
|
if (u)
|
|
39223
39241
|
i.defaultView.scrollBy(p, f);
|
|
39224
39242
|
else {
|
|
@@ -39287,7 +39305,7 @@ function RE(e, t) {
|
|
|
39287
39305
|
if (p.nodeType == 1)
|
|
39288
39306
|
h = p.getClientRects();
|
|
39289
39307
|
else if (p.nodeType == 3)
|
|
39290
|
-
h =
|
|
39308
|
+
h = Bn(p).getClientRects();
|
|
39291
39309
|
else
|
|
39292
39310
|
continue;
|
|
39293
39311
|
for (let g = 0; g < h.length; g++) {
|
|
@@ -39417,11 +39435,11 @@ function FE(e, t, r) {
|
|
|
39417
39435
|
let { node: n, offset: o, atom: i } = e.docView.domFromPos(t, r < 0 ? -1 : 1), s = Xl || on;
|
|
39418
39436
|
if (n.nodeType == 3)
|
|
39419
39437
|
if (s && (l6.test(n.nodeValue) || (r < 0 ? !o : o == n.nodeValue.length))) {
|
|
39420
|
-
let u = so(
|
|
39438
|
+
let u = so(Bn(n, o, o), r);
|
|
39421
39439
|
if (on && o && /\s/.test(n.nodeValue[o - 1]) && o < n.nodeValue.length) {
|
|
39422
|
-
let d = so(
|
|
39440
|
+
let d = so(Bn(n, o - 1, o - 1), -1);
|
|
39423
39441
|
if (d.top == u.top) {
|
|
39424
|
-
let p = so(
|
|
39442
|
+
let p = so(Bn(n, o, o + 1), -1);
|
|
39425
39443
|
if (p.top != u.top)
|
|
39426
39444
|
return Os(p, p.left < d.left);
|
|
39427
39445
|
}
|
|
@@ -39429,7 +39447,7 @@ function FE(e, t, r) {
|
|
|
39429
39447
|
return u;
|
|
39430
39448
|
} else {
|
|
39431
39449
|
let u = o, d = o, p = r < 0 ? 1 : -1;
|
|
39432
|
-
return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, Os(so(
|
|
39450
|
+
return r < 0 && !o ? (d++, p = -1) : r >= 0 && o == n.nodeValue.length ? (u--, p = 1) : r < 0 ? u-- : d++, Os(so(Bn(n, u, d), p), p < 0);
|
|
39433
39451
|
}
|
|
39434
39452
|
if (!e.state.doc.resolve(t - (i || 0)).parent.inlineContent) {
|
|
39435
39453
|
if (i == null && o && (r < 0 || o == zr(n))) {
|
|
@@ -39445,7 +39463,7 @@ function FE(e, t, r) {
|
|
|
39445
39463
|
return mf(n.getBoundingClientRect(), r >= 0);
|
|
39446
39464
|
}
|
|
39447
39465
|
if (i == null && o && (r < 0 || o == zr(n))) {
|
|
39448
|
-
let u = n.childNodes[o - 1], d = u.nodeType == 3 ?
|
|
39466
|
+
let u = n.childNodes[o - 1], d = u.nodeType == 3 ? Bn(u, zr(u) - (s ? 0 : 1)) : u.nodeType == 1 && (u.nodeName != "BR" || !u.nextSibling) ? u : null;
|
|
39449
39467
|
if (d)
|
|
39450
39468
|
return Os(so(d, 1), !1);
|
|
39451
39469
|
}
|
|
@@ -39453,11 +39471,11 @@ function FE(e, t, r) {
|
|
|
39453
39471
|
let u = n.childNodes[o];
|
|
39454
39472
|
for (; u.pmViewDesc && u.pmViewDesc.ignoreForCoords; )
|
|
39455
39473
|
u = u.nextSibling;
|
|
39456
|
-
let d = u ? u.nodeType == 3 ?
|
|
39474
|
+
let d = u ? u.nodeType == 3 ? Bn(u, 0, s ? 0 : 1) : u.nodeType == 1 ? u : null : null;
|
|
39457
39475
|
if (d)
|
|
39458
39476
|
return Os(so(d, -1), !0);
|
|
39459
39477
|
}
|
|
39460
|
-
return Os(so(n.nodeType == 3 ?
|
|
39478
|
+
return Os(so(n.nodeType == 3 ? Bn(n) : n, -r), r >= 0);
|
|
39461
39479
|
}
|
|
39462
39480
|
a(FE, "coordsAtPos");
|
|
39463
39481
|
function Os(e, t) {
|
|
@@ -39504,7 +39522,7 @@ function c6(e, t, r) {
|
|
|
39504
39522
|
if (l.nodeType == 1)
|
|
39505
39523
|
u = l.getClientRects();
|
|
39506
39524
|
else if (l.nodeType == 3)
|
|
39507
|
-
u =
|
|
39525
|
+
u = Bn(l, 0, l.nodeValue.length).getClientRects();
|
|
39508
39526
|
else
|
|
39509
39527
|
continue;
|
|
39510
39528
|
for (let d = 0; d < u.length; d++) {
|
|
@@ -39540,7 +39558,7 @@ function p6(e, t, r) {
|
|
|
39540
39558
|
return Ax == t && Ix == r ? Lx : (Ax = t, Ix = r, Lx = r == "up" || r == "down" ? c6(e, t, r) : d6(e, t, r));
|
|
39541
39559
|
}
|
|
39542
39560
|
a(p6, "endOfTextblock");
|
|
39543
|
-
const Wr = 0, Nx = 1, ai = 2,
|
|
39561
|
+
const Wr = 0, Nx = 1, ai = 2, Rn = 3, Uy = class Uy {
|
|
39544
39562
|
constructor(t, r, n, o) {
|
|
39545
39563
|
this.parent = t, this.children = r, this.dom = n, this.contentDOM = o, this.dirty = Wr, n.pmViewDesc = this;
|
|
39546
39564
|
}
|
|
@@ -39849,10 +39867,10 @@ const Wr = 0, Nx = 1, ai = 2, $n = 3, Uy = class Uy {
|
|
|
39849
39867
|
if (n == s ? t <= s && r >= n : t < s && r > n) {
|
|
39850
39868
|
let l = n + i.border, u = s - i.border;
|
|
39851
39869
|
if (t >= l && r <= u) {
|
|
39852
|
-
this.dirty = t == n || r == s ? ai : Nx, t == l && r == u && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty =
|
|
39870
|
+
this.dirty = t == n || r == s ? ai : Nx, t == l && r == u && (i.contentLost || i.dom.parentNode != this.contentDOM) ? i.dirty = Rn : i.markDirty(t - l, r - l);
|
|
39853
39871
|
return;
|
|
39854
39872
|
} else
|
|
39855
|
-
i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? ai :
|
|
39873
|
+
i.dirty = i.dom == i.contentDOM && i.dom.parentNode == this.contentDOM && !i.children.length ? ai : Rn;
|
|
39856
39874
|
}
|
|
39857
39875
|
n = s;
|
|
39858
39876
|
}
|
|
@@ -39947,10 +39965,10 @@ const Js = class Js extends Di {
|
|
|
39947
39965
|
return (!s || !s.dom) && (s = Ii.renderSpec(document, r.type.spec.toDOM(r, n), null, r.attrs)), new Js(t, r, s.dom, s.contentDOM || s.dom);
|
|
39948
39966
|
}
|
|
39949
39967
|
parseRule() {
|
|
39950
|
-
return this.dirty &
|
|
39968
|
+
return this.dirty & Rn || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
39951
39969
|
}
|
|
39952
39970
|
matchesMark(t) {
|
|
39953
|
-
return this.dirty !=
|
|
39971
|
+
return this.dirty != Rn && this.mark.eq(t);
|
|
39954
39972
|
}
|
|
39955
39973
|
markDirty(t, r) {
|
|
39956
39974
|
if (super.markDirty(t, r), this.dirty != Wr) {
|
|
@@ -40073,7 +40091,7 @@ const Sd = class Sd extends Di {
|
|
|
40073
40091
|
// If this desc must be updated to match the given node decoration,
|
|
40074
40092
|
// do so and return true.
|
|
40075
40093
|
update(t, r, n, o) {
|
|
40076
|
-
return this.dirty ==
|
|
40094
|
+
return this.dirty == Rn || !t.sameMarkup(this.node) ? !1 : (this.updateInner(t, r, n, o), !0);
|
|
40077
40095
|
}
|
|
40078
40096
|
updateInner(t, r, n, o) {
|
|
40079
40097
|
this.updateOuterDeco(r), this.node = t, this.innerDeco = n, this.contentDOM && this.updateChildren(o, this.posAtStart), this.dirty = Wr;
|
|
@@ -40115,7 +40133,7 @@ const Cd = class Cd extends Co {
|
|
|
40115
40133
|
return { skip: t || !0 };
|
|
40116
40134
|
}
|
|
40117
40135
|
update(t, r, n, o) {
|
|
40118
|
-
return this.dirty ==
|
|
40136
|
+
return this.dirty == Rn || this.dirty != Wr && !this.inParent() || !t.sameMarkup(this.node) ? !1 : (this.updateOuterDeco(r), (this.dirty != Wr || t.text != this.node.text) && t.text != this.nodeDOM.nodeValue && (this.nodeDOM.nodeValue = t.text, o.trackWrites == this.nodeDOM && (o.trackWrites = null)), this.node = t, this.dirty = Wr, !0);
|
|
40119
40137
|
}
|
|
40120
40138
|
inParent() {
|
|
40121
40139
|
let t = this.parent.contentDOM;
|
|
@@ -40138,7 +40156,7 @@ const Cd = class Cd extends Co {
|
|
|
40138
40156
|
return new Cd(this.parent, o, this.outerDeco, this.innerDeco, i, i, n);
|
|
40139
40157
|
}
|
|
40140
40158
|
markDirty(t, r) {
|
|
40141
|
-
super.markDirty(t, r), this.dom != this.nodeDOM && (t == 0 || r == this.nodeDOM.nodeValue.length) && (this.dirty =
|
|
40159
|
+
super.markDirty(t, r), this.dom != this.nodeDOM && (t == 0 || r == this.nodeDOM.nodeValue.length) && (this.dirty = Rn);
|
|
40142
40160
|
}
|
|
40143
40161
|
get domAtom() {
|
|
40144
40162
|
return !1;
|
|
@@ -40173,7 +40191,7 @@ const Jy = class Jy extends Co {
|
|
|
40173
40191
|
// through. If it does, and there's a `contentDOM` node, our logic
|
|
40174
40192
|
// updates the children.
|
|
40175
40193
|
update(t, r, n, o) {
|
|
40176
|
-
if (this.dirty ==
|
|
40194
|
+
if (this.dirty == Rn)
|
|
40177
40195
|
return !1;
|
|
40178
40196
|
if (this.spec.update && (this.node.type == t.type || this.spec.multiType)) {
|
|
40179
40197
|
let i = this.spec.update(t, r, n);
|
|
@@ -40361,7 +40379,7 @@ const Yy = class Yy {
|
|
|
40361
40379
|
}
|
|
40362
40380
|
updateNodeAt(t, r, n, o, i) {
|
|
40363
40381
|
let s = this.top.children[o];
|
|
40364
|
-
return s.dirty ==
|
|
40382
|
+
return s.dirty == Rn && s.dom == s.contentDOM && (s.dirty = ai), s.update(t, r, n, i) ? (this.destroyBetween(this.index, o), this.index++, !0) : !1;
|
|
40365
40383
|
}
|
|
40366
40384
|
findIndexWithChild(t) {
|
|
40367
40385
|
for (; ; ) {
|
|
@@ -40389,7 +40407,7 @@ const Yy = class Yy {
|
|
|
40389
40407
|
let d = this.preMatch.matched.get(u);
|
|
40390
40408
|
if (d != null && d != i)
|
|
40391
40409
|
return !1;
|
|
40392
|
-
let p = u.dom, f, h = this.isLocked(p) && !(t.isText && u.node && u.node.isText && u.nodeDOM.nodeValue == t.text && u.dirty !=
|
|
40410
|
+
let p = u.dom, f, h = this.isLocked(p) && !(t.isText && u.node && u.node.isText && u.nodeDOM.nodeValue == t.text && u.dirty != Rn && ku(r, u.outerDeco));
|
|
40393
40411
|
if (!h && u.update(t, r, n, o))
|
|
40394
40412
|
return this.destroyBetween(this.index, l), u.dom != p && (this.changed = !0), this.index++, !0;
|
|
40395
40413
|
if (!h && (f = this.recreateWrapper(u, t, r, n, o, s)))
|
|
@@ -40616,7 +40634,7 @@ function DE(e) {
|
|
|
40616
40634
|
return e.editable ? e.hasFocus() : zE(e) && document.activeElement && document.activeElement.contains(e.dom);
|
|
40617
40635
|
}
|
|
40618
40636
|
a(DE, "editorOwnsSelection");
|
|
40619
|
-
function
|
|
40637
|
+
function Gn(e, t = !1) {
|
|
40620
40638
|
let r = e.state.selection;
|
|
40621
40639
|
if (_E(e, r), !!DE(e)) {
|
|
40622
40640
|
if (!t && e.input.mouseDown && e.input.mouseDown.allowDefault && Xt) {
|
|
@@ -40635,7 +40653,7 @@ function Kn(e, t = !1) {
|
|
|
40635
40653
|
e.domObserver.setCurSelection(), e.domObserver.connectSelection();
|
|
40636
40654
|
}
|
|
40637
40655
|
}
|
|
40638
|
-
a(
|
|
40656
|
+
a(Gn, "selectionToDOM");
|
|
40639
40657
|
const zx = ar || Xt && wE < 63;
|
|
40640
40658
|
function Bx(e, t) {
|
|
40641
40659
|
let { node: r, offset: n } = e.docView.domFromPos(t, 0), o = n < r.childNodes.length ? r.childNodes[n] : null, i = n ? r.childNodes[n - 1] : null;
|
|
@@ -40881,7 +40899,7 @@ function Ah(e, t, r) {
|
|
|
40881
40899
|
e.domObserver.setCurSelection();
|
|
40882
40900
|
let { state: o } = e;
|
|
40883
40901
|
setTimeout(() => {
|
|
40884
|
-
e.state == o &&
|
|
40902
|
+
e.state == o && Gn(e);
|
|
40885
40903
|
}, 50);
|
|
40886
40904
|
}
|
|
40887
40905
|
a(Ah, "setSelFocus");
|
|
@@ -40914,7 +40932,7 @@ function qx(e, t, r) {
|
|
|
40914
40932
|
return lo(e, s);
|
|
40915
40933
|
}
|
|
40916
40934
|
if (!o.parent.inlineContent) {
|
|
40917
|
-
let s = t < 0 ? o : i, l = n instanceof
|
|
40935
|
+
let s = t < 0 ? o : i, l = n instanceof qn ? Fe.near(s, t) : Fe.findFrom(s, t);
|
|
40918
40936
|
return l ? lo(e, l) : !1;
|
|
40919
40937
|
}
|
|
40920
40938
|
return !1;
|
|
@@ -41383,7 +41401,7 @@ const Xy = class Xy {
|
|
|
41383
41401
|
}, 20), this.view.domObserver.start()), t.root.addEventListener("mouseup", this.up = this.up.bind(this)), t.root.addEventListener("mousemove", this.move = this.move.bind(this)), Oo(t, "pointer");
|
|
41384
41402
|
}
|
|
41385
41403
|
done() {
|
|
41386
|
-
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() =>
|
|
41404
|
+
this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => Gn(this.view)), this.view.input.mouseDown = null;
|
|
41387
41405
|
}
|
|
41388
41406
|
up(t) {
|
|
41389
41407
|
if (this.done(), !this.view.dom.contains(t.target))
|
|
@@ -41621,7 +41639,7 @@ lr.drop = (e, t) => {
|
|
|
41621
41639
|
};
|
|
41622
41640
|
sr.focus = (e) => {
|
|
41623
41641
|
e.input.lastFocus = Date.now(), e.focused || (e.domObserver.stop(), e.dom.classList.add("ProseMirror-focused"), e.domObserver.start(), e.focused = !0, setTimeout(() => {
|
|
41624
|
-
e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) &&
|
|
41642
|
+
e.docView && e.hasFocus() && !e.domObserver.currentSelection.eq(e.domSelectionRange()) && Gn(e);
|
|
41625
41643
|
}, 20));
|
|
41626
41644
|
};
|
|
41627
41645
|
sr.blur = (e, t) => {
|
|
@@ -42240,7 +42258,7 @@ const tv = class tv {
|
|
|
42240
42258
|
onSelectionChange() {
|
|
42241
42259
|
if (Hx(this.view)) {
|
|
42242
42260
|
if (this.suppressingSelectionUpdates)
|
|
42243
|
-
return
|
|
42261
|
+
return Gn(this.view);
|
|
42244
42262
|
if (gr && So <= 11 && !this.view.state.selection.empty) {
|
|
42245
42263
|
let t = this.view.domSelectionRange();
|
|
42246
42264
|
if (t.focusNode && Ni(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
|
|
@@ -42302,7 +42320,7 @@ const tv = class tv {
|
|
|
42302
42320
|
}
|
|
42303
42321
|
}
|
|
42304
42322
|
let d = null;
|
|
42305
|
-
i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && gp(n) && (d = Eb(t)) && d.eq(Fe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0,
|
|
42323
|
+
i < 0 && o && t.input.lastFocus > Date.now() - 200 && Math.max(t.input.lastTouch, t.input.lastClick.time) < Date.now() - 300 && gp(n) && (d = Eb(t)) && d.eq(Fe.near(t.state.doc.resolve(0), 1)) ? (t.input.lastFocus = 0, Gn(t), this.currentSelection.set(n), t.scrollToSelection()) : (i > -1 || o) && (i > -1 && (t.docView.markDirty(i, s), n9(t)), this.handleDOMChange(i, s, l, u), t.docView && t.docView.dirty ? t.updateState(t.state) : this.currentSelection.eq(n) || Gn(t), this.currentSelection.set(n));
|
|
42306
42324
|
}
|
|
42307
42325
|
registerMutation(t, r) {
|
|
42308
42326
|
if (r.indexOf(t.target) > -1)
|
|
@@ -42472,7 +42490,7 @@ function c9(e, t, r, n, o) {
|
|
|
42472
42490
|
let C = m.start, S = m.endA, w, P, F;
|
|
42473
42491
|
if (k) {
|
|
42474
42492
|
if (b.pos == y.pos)
|
|
42475
|
-
gr && So <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() =>
|
|
42493
|
+
gr && So <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => Gn(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(m.start).marksAcross(p.resolve(m.endA));
|
|
42476
42494
|
else if (
|
|
42477
42495
|
// Adding or removing a mark
|
|
42478
42496
|
m.endA == m.endB && (F = u9(b.parent.content.cut(b.parentOffset, y.parentOffset), x.parent.content.cut(x.parentOffset, m.endA - x.start())))
|
|
@@ -42653,7 +42671,7 @@ const rv = class rv {
|
|
|
42653
42671
|
let m = Xt ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
42654
42672
|
this.composing && (this.input.compositionNode = K6(this)), (i || !this.docView.update(t.doc, d, u, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = Dx(t.doc, d, u, this.dom, this)), m && !this.trackWrites && (g = !0);
|
|
42655
42673
|
}
|
|
42656
|
-
g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && O6(this)) ?
|
|
42674
|
+
g || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && O6(this)) ? Gn(this, g) : (_E(this, t.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
42657
42675
|
}
|
|
42658
42676
|
this.updatePluginViews(o), !((n = this.dragging) === null || n === void 0) && n.node && !o.doc.eq(t.doc) && this.updateDraggedNode(this.dragging, o), p == "reset" ? this.dom.scrollTop = 0 : p == "to selection" ? this.scrollToSelection() : h && t6(h);
|
|
42659
42677
|
}
|
|
@@ -42740,7 +42758,7 @@ const rv = class rv {
|
|
|
42740
42758
|
Focus the editor.
|
|
42741
42759
|
*/
|
|
42742
42760
|
focus() {
|
|
42743
|
-
this.domObserver.stop(), this.editable && r6(this.dom),
|
|
42761
|
+
this.domObserver.stop(), this.editable && r6(this.dom), Gn(this), this.domObserver.start();
|
|
42744
42762
|
}
|
|
42745
42763
|
/**
|
|
42746
42764
|
Get the document root in which the editor exists. This will
|
|
@@ -43316,7 +43334,7 @@ const A9 = /* @__PURE__ */ a((e, t) => {
|
|
|
43316
43334
|
return !0;
|
|
43317
43335
|
}, "exitCode$1"), I9 = /* @__PURE__ */ a((e, t) => {
|
|
43318
43336
|
let r = e.selection, { $from: n, $to: o } = r;
|
|
43319
|
-
if (r instanceof
|
|
43337
|
+
if (r instanceof qn || n.parent.inlineContent || o.parent.inlineContent)
|
|
43320
43338
|
return !1;
|
|
43321
43339
|
let i = sk(o.parent.contentMatchAt(o.indexAfter()));
|
|
43322
43340
|
if (!i || !i.isTextblock)
|
|
@@ -46583,10 +46601,10 @@ fr.prototype = {
|
|
|
46583
46601
|
return o.j[e] = s, s;
|
|
46584
46602
|
}
|
|
46585
46603
|
};
|
|
46586
|
-
const je = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), $r = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), gO = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"),
|
|
46604
|
+
const je = /* @__PURE__ */ a((e, t, r, n, o) => e.ta(t, r, n, o), "ta"), $r = /* @__PURE__ */ a((e, t, r, n, o) => e.tr(t, r, n, o), "tr"), gO = /* @__PURE__ */ a((e, t, r, n, o) => e.ts(t, r, n, o), "ts"), ue = /* @__PURE__ */ a((e, t, r, n, o) => e.tt(t, r, n, o), "tt"), zn = "WORD", rm = "UWORD", kl = "LOCALHOST", nm = "TLD", om = "UTLD", qc = "SCHEME", aa = "SLASH_SCHEME", Bb = "NUM", Ok = "WS", jb = "NL", Bs = "OPENBRACE", js = "CLOSEBRACE", Nu = "OPENBRACKET", Du = "CLOSEBRACKET", _u = "OPENPAREN", zu = "CLOSEPAREN", Bu = "OPENANGLEBRACKET", ju = "CLOSEANGLEBRACKET", Vu = "FULLWIDTHLEFTPAREN", Hu = "FULLWIDTHRIGHTPAREN", Wu = "LEFTCORNERBRACKET", Uu = "RIGHTCORNERBRACKET", qu = "LEFTWHITECORNERBRACKET", Gu = "RIGHTWHITECORNERBRACKET", Ku = "FULLWIDTHLESSTHAN", Ju = "FULLWIDTHGREATERTHAN", Yu = "AMPERSAND", Qu = "APOSTROPHE", Xu = "ASTERISK", co = "AT", Zu = "BACKSLASH", ed = "BACKTICK", td = "CARET", go = "COLON", Vb = "COMMA", rd = "DOLLAR", pn = "DOT", nd = "EQUALS", Hb = "EXCLAMATION", fn = "HYPHEN", od = "PERCENT", id = "PIPE", ad = "PLUS", sd = "POUND", ld = "QUERY", Wb = "QUOTE", Ub = "SEMI", hn = "SLASH", Vs = "TILDE", cd = "UNDERSCORE", Sk = "EMOJI", ud = "SYM";
|
|
46587
46605
|
var Ck = /* @__PURE__ */ Object.freeze({
|
|
46588
46606
|
__proto__: null,
|
|
46589
|
-
WORD:
|
|
46607
|
+
WORD: zn,
|
|
46590
46608
|
UWORD: rm,
|
|
46591
46609
|
LOCALHOST: kl,
|
|
46592
46610
|
TLD: nm,
|
|
@@ -46652,7 +46670,7 @@ function Zq(e) {
|
|
|
46652
46670
|
[Xh]: !0
|
|
46653
46671
|
});
|
|
46654
46672
|
$r(n, kf, n);
|
|
46655
|
-
const o = $r(r, Zi,
|
|
46673
|
+
const o = $r(r, Zi, zn, {
|
|
46656
46674
|
[Zh]: !0
|
|
46657
46675
|
});
|
|
46658
46676
|
$r(o, Zi, o);
|
|
@@ -46674,7 +46692,7 @@ function Zq(e) {
|
|
|
46674
46692
|
$r(u, Ef, l);
|
|
46675
46693
|
const d = [[Zi, o]], p = [[Zi, null], [Tf, i]];
|
|
46676
46694
|
for (let f = 0; f < kc.length; f++)
|
|
46677
|
-
ao(r, kc[f], nm,
|
|
46695
|
+
ao(r, kc[f], nm, zn, d);
|
|
46678
46696
|
for (let f = 0; f < wc.length; f++)
|
|
46679
46697
|
ao(r, wc[f], om, rm, p);
|
|
46680
46698
|
ci(nm, {
|
|
@@ -46683,7 +46701,7 @@ function Zq(e) {
|
|
|
46683
46701
|
}, t), ci(om, {
|
|
46684
46702
|
utld: !0,
|
|
46685
46703
|
alpha: !0
|
|
46686
|
-
}, t), ao(r, "file", qc,
|
|
46704
|
+
}, t), ao(r, "file", qc, zn, d), ao(r, "mailto", qc, zn, d), ao(r, "http", aa, zn, d), ao(r, "https", aa, zn, d), ao(r, "ftp", aa, zn, d), ao(r, "ftps", aa, zn, d), ci(qc, {
|
|
46687
46705
|
scheme: !0,
|
|
46688
46706
|
ascii: !0
|
|
46689
46707
|
}, t), ci(aa, {
|
|
@@ -49836,7 +49854,7 @@ zk.displayName = "I18nContext";
|
|
|
49836
49854
|
var uY = /* @__PURE__ */ a(function() {
|
|
49837
49855
|
return gt(zk);
|
|
49838
49856
|
}, "useI18nProvider"), Xr = /* @__PURE__ */ a(function() {
|
|
49839
|
-
var e = uY(), t =
|
|
49857
|
+
var e = uY(), t = tt(
|
|
49840
49858
|
function(r, n) {
|
|
49841
49859
|
return e.translate(r, n);
|
|
49842
49860
|
},
|
|
@@ -50824,7 +50842,7 @@ var ew = /* @__PURE__ */ a(function(e) {
|
|
|
50824
50842
|
return t.getSource(e);
|
|
50825
50843
|
}, "useWrappedSource"), UY = /* @__PURE__ */ a(function() {
|
|
50826
50844
|
var e = Xr(), t = Bk(), r = NY();
|
|
50827
|
-
return
|
|
50845
|
+
return tt(function(n) {
|
|
50828
50846
|
var o = n.source, i = n.label, s = n.resource;
|
|
50829
50847
|
return i === !1 || i === "" ? null : i && typeof i != "string" ? i : e.apply(void 0, GY({
|
|
50830
50848
|
label: i,
|
|
@@ -50889,7 +50907,7 @@ var GY = /* @__PURE__ */ a(function(e) {
|
|
|
50889
50907
|
});
|
|
50890
50908
|
return YY(function() {
|
|
50891
50909
|
t.current = e;
|
|
50892
|
-
}),
|
|
50910
|
+
}), tt(function() {
|
|
50893
50911
|
for (var r = [], n = 0; n < arguments.length; n++)
|
|
50894
50912
|
r[n] = arguments[n];
|
|
50895
50913
|
return t.current.apply(t, r);
|
|
@@ -50904,7 +50922,7 @@ rw = ny.default = (0, XY.default)(/* @__PURE__ */ (0, ZY.jsx)("path", {
|
|
|
50904
50922
|
}), "ArrowDropDown");
|
|
50905
50923
|
var eQ = /* @__PURE__ */ a(function(e) {
|
|
50906
50924
|
var t = e.helperText, r = e.error, n = Xr();
|
|
50907
|
-
return r ? O.createElement(wY, { error: r }) : t === !1 ? null :
|
|
50925
|
+
return r ? O.createElement(wY, { error: r }) : t === !1 ? null : Wn(t) ? t : typeof t == "string" ? O.createElement(O.Fragment, null, n(t, { _: t })) : O.createElement("span", { dangerouslySetInnerHTML: tQ });
|
|
50908
50926
|
}, "InputHelperText$1"), tQ = { __html: "​" }, hm = function() {
|
|
50909
50927
|
return hm = Object.assign || function(e) {
|
|
50910
50928
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
@@ -53610,7 +53628,7 @@ var gw = py.default = void 0, hX = fX(Pe()), mX = we;
|
|
|
53610
53628
|
gw = py.default = (0, hX.default)(/* @__PURE__ */ (0, mX.jsx)("path", {
|
|
53611
53629
|
d: "M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"
|
|
53612
53630
|
}), "Code");
|
|
53613
|
-
var bw = Bt(void 0),
|
|
53631
|
+
var bw = Bt(void 0), Ln = /* @__PURE__ */ a(function() {
|
|
53614
53632
|
var e = Be(!1), t = e[0], r = e[1], n = gt(bw);
|
|
53615
53633
|
return Ge(function() {
|
|
53616
53634
|
var o = /* @__PURE__ */ a(function() {
|
|
@@ -53629,7 +53647,7 @@ var bw = Bt(void 0), Nn = /* @__PURE__ */ a(function() {
|
|
|
53629
53647
|
return e;
|
|
53630
53648
|
}, gm.apply(this, arguments);
|
|
53631
53649
|
}, gX = /* @__PURE__ */ a(function(e) {
|
|
53632
|
-
var t =
|
|
53650
|
+
var t = Ln(), r = Xr(), n = Be([]), o = n[0], i = n[1], s = r("ra.tiptap.bold", {
|
|
53633
53651
|
_: "Bold"
|
|
53634
53652
|
}), l = r("ra.tiptap.italic", {
|
|
53635
53653
|
_: "Italic"
|
|
@@ -53728,7 +53746,7 @@ var bm = function() {
|
|
|
53728
53746
|
return e;
|
|
53729
53747
|
}, bm.apply(this, arguments);
|
|
53730
53748
|
}, TX = /* @__PURE__ */ a(function(e) {
|
|
53731
|
-
var t =
|
|
53749
|
+
var t = Ln(), r = Xr(), n = r("ra.tiptap.list_bulleted", {
|
|
53732
53750
|
_: "Bulleted list"
|
|
53733
53751
|
}), o = r("ra.tiptap.list_numbered", {
|
|
53734
53752
|
_: "Numbered list"
|
|
@@ -53811,7 +53829,7 @@ var ym = function() {
|
|
|
53811
53829
|
return e;
|
|
53812
53830
|
}, ym.apply(this, arguments);
|
|
53813
53831
|
}, _X = /* @__PURE__ */ a(function(e) {
|
|
53814
|
-
var t =
|
|
53832
|
+
var t = Ln(), r = Xr(), n = Be("left"), o = n[0], i = n[1], s = r("ra.tiptap.align_left", { _: "Align left" }), l = r("ra.tiptap.align_right", { _: "Align right" }), u = r("ra.tiptap.align_center", { _: "Center" }), d = r("ra.tiptap.align_justify", { _: "Justify" });
|
|
53815
53833
|
Ge(function() {
|
|
53816
53834
|
var f = /* @__PURE__ */ a(function() {
|
|
53817
53835
|
i(function(h) {
|
|
@@ -53873,7 +53891,7 @@ Tw = vy.default = (0, jX.default)(/* @__PURE__ */ (0, VX.jsx)("path", {
|
|
|
53873
53891
|
d: "M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"
|
|
53874
53892
|
}), "InsertLink");
|
|
53875
53893
|
var HX = /* @__PURE__ */ a(function() {
|
|
53876
|
-
var e =
|
|
53894
|
+
var e = Ln(), t = Be(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null), r = t[0], n = t[1];
|
|
53877
53895
|
return Ge(function() {
|
|
53878
53896
|
var o = /* @__PURE__ */ a(function() {
|
|
53879
53897
|
n(e ? e.state.doc.textBetween(e.state.selection.from, e.state.selection.to) : null);
|
|
@@ -53891,7 +53909,7 @@ var HX = /* @__PURE__ */ a(function() {
|
|
|
53891
53909
|
return e;
|
|
53892
53910
|
}, vm.apply(this, arguments);
|
|
53893
53911
|
}, WX = /* @__PURE__ */ a(function(e) {
|
|
53894
|
-
var t =
|
|
53912
|
+
var t = Ln(), r = Xr(), n = HX(), o = r("ra.tiptap.link", {
|
|
53895
53913
|
_: "Add a link"
|
|
53896
53914
|
}), i = /* @__PURE__ */ a(function() {
|
|
53897
53915
|
if (t.can().setLink({ href: "" })) {
|
|
@@ -53921,7 +53939,7 @@ var xm = function() {
|
|
|
53921
53939
|
return e;
|
|
53922
53940
|
}, xm.apply(this, arguments);
|
|
53923
53941
|
}, KX = /* @__PURE__ */ a(function(e) {
|
|
53924
|
-
var t =
|
|
53942
|
+
var t = Ln(), r = Xr(), n = Be(!1), o = n[0], i = n[1], s = r("ra.tiptap.blockquote", {
|
|
53925
53943
|
_: "Blockquote"
|
|
53926
53944
|
});
|
|
53927
53945
|
return Ge(function() {
|
|
@@ -53955,7 +53973,7 @@ var Om = function() {
|
|
|
53955
53973
|
return e;
|
|
53956
53974
|
}, Om.apply(this, arguments);
|
|
53957
53975
|
}, XX = /* @__PURE__ */ a(function(e) {
|
|
53958
|
-
var t =
|
|
53976
|
+
var t = Ln(), r = Xr(), n = r("ra.tiptap.clear_format", {
|
|
53959
53977
|
_: "Clear format"
|
|
53960
53978
|
});
|
|
53961
53979
|
return O.createElement(
|
|
@@ -53966,7 +53984,7 @@ var Om = function() {
|
|
|
53966
53984
|
O.createElement(kw, { fontSize: "inherit" })
|
|
53967
53985
|
);
|
|
53968
53986
|
}, "ClearButtons"), ZX = /* @__PURE__ */ a(function(e) {
|
|
53969
|
-
var t, r = Xr(), n =
|
|
53987
|
+
var t, r = Xr(), n = Ln(), o = Be(null), i = o[0], s = o[1], l = e.size, u = Be($c[0]), d = u[0], p = u[1], f = /* @__PURE__ */ a(function(m, b) {
|
|
53970
53988
|
s(null);
|
|
53971
53989
|
var y = $c[b];
|
|
53972
53990
|
y.value === "paragraph" ? n.chain().focus().setParagraph().run() : y.value === "heading" && n.chain().focus().setHeading({ level: y.level }).run();
|
|
@@ -54094,7 +54112,7 @@ var Sm = function() {
|
|
|
54094
54112
|
return e;
|
|
54095
54113
|
}, Sm.apply(this, arguments);
|
|
54096
54114
|
}, oZ = /* @__PURE__ */ a(function(e) {
|
|
54097
|
-
var t = Xr(), r =
|
|
54115
|
+
var t = Xr(), r = Ln(), n = t("ra.tiptap.image", { _: "Image" }), o = O.useCallback(function() {
|
|
54098
54116
|
var i = window.prompt(t("ra.tiptap.image_dialog", { _: "Image URL" }));
|
|
54099
54117
|
i && r.chain().focus().setImage({ src: i }).run();
|
|
54100
54118
|
}, [r, t]);
|
|
@@ -54132,11 +54150,11 @@ var md = function() {
|
|
|
54132
54150
|
e.FONT = "font", e.BACKGROUND = "background";
|
|
54133
54151
|
})(Oi || (Oi = {}));
|
|
54134
54152
|
var dZ = /* @__PURE__ */ a(function(e) {
|
|
54135
|
-
var t = Xr(), r =
|
|
54153
|
+
var t = Xr(), r = Ln(), n = O.useState(!1), o = n[0], i = n[1], s = O.useState(Oi.FONT), l = s[0], u = s[1], d = t("ra.tiptap.color", { _: "Color" }), p = t("ra.tiptap.highlight", { _: "Highlight" }), f = /* @__PURE__ */ a(function(h) {
|
|
54136
54154
|
i(!0), u(h);
|
|
54137
54155
|
}, "displayColorChoiceDialog");
|
|
54138
54156
|
return O.createElement(
|
|
54139
|
-
|
|
54157
|
+
et,
|
|
54140
54158
|
{ sx: { position: "relative" } },
|
|
54141
54159
|
O.createElement(
|
|
54142
54160
|
fZ,
|
|
@@ -54181,8 +54199,8 @@ var dZ = /* @__PURE__ */ a(function(e) {
|
|
|
54181
54199
|
gap: 1,
|
|
54182
54200
|
zIndex: 1
|
|
54183
54201
|
} }, u.map(function(p, f) {
|
|
54184
|
-
return O.createElement(
|
|
54185
|
-
return O.createElement(
|
|
54202
|
+
return O.createElement(et, { key: "shade-".concat(p), sx: { display: "flex", flexDirection: "row", gap: 1 } }, l.map(function(h, g) {
|
|
54203
|
+
return O.createElement(et, {
|
|
54186
54204
|
key: "color-".concat(f * l.length + g + 1),
|
|
54187
54205
|
sx: {
|
|
54188
54206
|
width: 16,
|
|
@@ -54391,7 +54409,7 @@ const ete = /* @__PURE__ */ a((e) => {
|
|
|
54391
54409
|
return n ? null : t ? /* @__PURE__ */ v(xZ, { ...r, className: "" }) : /* @__PURE__ */ v(En, { multiline: !0, ...r });
|
|
54392
54410
|
}, "TextArea"), Aw = /* @__PURE__ */ a((e) => {
|
|
54393
54411
|
const { helperText: t, error: r } = e, n = Lt();
|
|
54394
|
-
return r ? /* @__PURE__ */ v(rM, { error: r }) : t === !1 ? null :
|
|
54412
|
+
return r ? /* @__PURE__ */ v(rM, { error: r }) : t === !1 ? null : Wn(t) ? t : typeof t == "string" ? /* @__PURE__ */ v(Ur, { children: n(t, { _: t }) }) : /* @__PURE__ */ v("span", { dangerouslySetInnerHTML: TZ });
|
|
54395
54413
|
}, "InputHelperText"), TZ = { __html: "​" }, Iw = /* @__PURE__ */ a(({
|
|
54396
54414
|
afterSubmit: e,
|
|
54397
54415
|
allowNull: t,
|
|
@@ -54587,7 +54605,7 @@ const ete = /* @__PURE__ */ a((e) => {
|
|
|
54587
54605
|
allowNegative: n = !0,
|
|
54588
54606
|
...o
|
|
54589
54607
|
}) => {
|
|
54590
|
-
const i =
|
|
54608
|
+
const i = tt(
|
|
54591
54609
|
(d) => {
|
|
54592
54610
|
if (!d)
|
|
54593
54611
|
return "";
|
|
@@ -54602,7 +54620,7 @@ const ete = /* @__PURE__ */ a((e) => {
|
|
|
54602
54620
|
return f + (p.includes(".") && x.length < 1 && y > 0 ? `${b}.` : p.includes(".") && y > 0 ? `${b}.${x}` : b);
|
|
54603
54621
|
},
|
|
54604
54622
|
[e, t, n]
|
|
54605
|
-
), s =
|
|
54623
|
+
), s = tt(
|
|
54606
54624
|
(d) => {
|
|
54607
54625
|
d.target.value = i(d.target.value);
|
|
54608
54626
|
},
|
|
@@ -54624,7 +54642,7 @@ const ete = /* @__PURE__ */ a((e) => {
|
|
|
54624
54642
|
}
|
|
54625
54643
|
);
|
|
54626
54644
|
}, "DecimalInput"), NZ = /* @__PURE__ */ a(({ maxLength: e = 10, allowNegative: t = !0, ...r }) => {
|
|
54627
|
-
const n =
|
|
54645
|
+
const n = tt(
|
|
54628
54646
|
(s) => {
|
|
54629
54647
|
if (!s) return "";
|
|
54630
54648
|
let l = String(s).replace(/[^0-9-]/g, ""), u = "";
|
|
@@ -54673,7 +54691,7 @@ const ete = /* @__PURE__ */ a((e) => {
|
|
|
54673
54691
|
propsContenido: { helperText: o, sx: i, readOnly: s }
|
|
54674
54692
|
} = xr(e);
|
|
54675
54693
|
return n ? null : /* @__PURE__ */ W(
|
|
54676
|
-
|
|
54694
|
+
et,
|
|
54677
54695
|
{
|
|
54678
54696
|
sx: {
|
|
54679
54697
|
...r,
|