biblio-react 3.0.0-alpha222-popup → 3.0.0-alpha223-popup
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 +166 -161
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var RP = Object.defineProperty;
|
|
|
2
2
|
var a = (e, t) => RP(e, "name", { value: t, configurable: !0 });
|
|
3
3
|
import ve, { jsx as y, jsxs as W, Fragment as Gr } from "react/jsx-runtime";
|
|
4
4
|
import * as O from "react";
|
|
5
|
-
import mt, { forwardRef as Vl, useContext as rt, createElement as Qv, Children as fl, isValidElement as qn, cloneElement as
|
|
5
|
+
import mt, { forwardRef as Vl, useContext as rt, createElement as Qv, Children as fl, isValidElement as qn, cloneElement as gr, createContext as It, useState as Ne, useMemo as At, useRef as an, useCallback as it, useEffect as Ve, memo as H1, Fragment as Yn, useImperativeHandle as $P, useDebugValue as W1, useId as AP } from "react";
|
|
6
6
|
import { unstable_ClassNameGenerator as U1, exactProp as Vd, unstable_getScrollbarSize as FP, unstable_ownerDocument as Gn, unstable_ownerWindow as hl, unstable_useForkRef as Fa, elementAcceptingRef as IP, unstable_useEnhancedEffect as Ai, unstable_setRef as Xv, HTMLElementType as Qf, unstable_useEventCallback as Zv, unstable_createChainedFunction as e0, unstable_debounce as LP, usePreviousProps as NP, unstable_getNormalizedScrollLeft as DP, unstable_detectScrollType as _P, chainPropTypes as zP, refType as jP, deepmerge as q1 } from "@mui/utils";
|
|
7
7
|
import { MenuItem as bi, ListItemIcon as Ca, ListItemText as Ta, useMediaQuery as Rn, Typography as Co, Box as Ke, useTheme as Bm, Card as Vm, CardContent as G1, Stack as yi, Tooltip as Ia, IconButton as La, createTheme as BP, ThemeProvider as VP, Chip as t0, alpha as HP, StyledEngineProvider as K1, CircularProgress as WP, DialogTitle as J1, Dialog as Hm, DialogContent as Y1, Collapse as UP, List as Q1, Menu as Xf, Switch as qP, DialogActions as GP, Button as r0, Paper as X1, ToggleButtonGroup as Hd, ToggleButton as Kt, ListItem as KP, FormHelperText as JP } from "@mui/material";
|
|
8
8
|
import { useTranslate as Dt, useUserMenu as YP, useResourceDefinitions as QP, AppBar as XP, UserMenu as ZP, Logout as eM, required as tM, minValue as rM, TopToolbar as Z1, ShowButton as nM, useNotify as eS, useDataProvider as ns, useResourceContext as ft, useListContext as Fi, useRedirect as ro, useUnselectAll as oM, useStoreContext as iM, NumberField as aM, DateField as n0, TextField as qc, ReferenceField as sM, useGetResourceLabel as Wd, ResourceContextProvider as Ea, useRecordContext as Qr, useCreatePath as lM, useResourceDefinition as Wm, BulkActionsToolbar as cM, Button as kr, useInput as Ud, useGetList as tS, Labeled as rS, useSafeSetState as Um, Confirm as Hl, Form as is, SaveButton as Wl, useGetOne as nS, useCreateController as uM, CreateContextProvider as dM, useDeleteWithConfirmController as pM, Toolbar as oS, ToolbarClasses as fM, useDelete as iS, useSaveContext as hM, Loading as Ji, Create as mM, useListController as gM, ListContextProvider as bM, List as aS, Edit as yM, useEditContext as vM, useSidebarState as sS, Menu as xM, DashboardMenuItem as OM, MenuItemLink as lS, Layout as SM, FilterContext as CM, sanitizeListRestProps as TM, FilterButton as EM, useLogin as wM, TextInput as Tn, PasswordInput as cS, Show as kM, useShowContext as PM, TabbedFormTabs as uS, useSplatPathBase as MM, getTabbedFormTabFullPath as mc, defaultTheme as dS, FormTab as RM, BooleanField as $M, ImageInput as AM, ImageField as FM, FileInput as IM, BooleanInput as LM, ReferenceInput as pS, useChoicesContext as fS, AutocompleteInput as NM, SelectInput as DM, ReferenceArrayInput as _M, AutocompleteArrayInput as zM, SearchInput as jM, RadioButtonGroupInput as hS, useRecordSelection as mS, ListActions as BM, Datagrid as VM, ValidationError as HM, FieldTitle as gS } from "react-admin";
|
|
@@ -3055,7 +3055,7 @@ const cg = {
|
|
|
3055
3055
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
3056
3056
|
up: /* @__PURE__ */ a((e) => `@media (min-width:${cg[e]}px)`, "up")
|
|
3057
3057
|
};
|
|
3058
|
-
function
|
|
3058
|
+
function Or(e, t, r) {
|
|
3059
3059
|
const n = e.theme || {};
|
|
3060
3060
|
if (Array.isArray(t)) {
|
|
3061
3061
|
const i = n.breakpoints || I0;
|
|
@@ -3076,7 +3076,7 @@ function xr(e, t, r) {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
return r(t);
|
|
3078
3078
|
}
|
|
3079
|
-
a(
|
|
3079
|
+
a(Or, "handleBreakpoints");
|
|
3080
3080
|
function sC(e = {}) {
|
|
3081
3081
|
var t;
|
|
3082
3082
|
return ((t = e.keys) == null ? void 0 : t.reduce((n, o) => {
|
|
@@ -3146,7 +3146,7 @@ function Mt(e) {
|
|
|
3146
3146
|
if (s[t] == null)
|
|
3147
3147
|
return null;
|
|
3148
3148
|
const l = s[t], u = s.theme, d = za(u, n) || {};
|
|
3149
|
-
return
|
|
3149
|
+
return Or(s, l, /* @__PURE__ */ a((f) => {
|
|
3150
3150
|
let h = lu(d, o, f);
|
|
3151
3151
|
return f === h && typeof f == "string" && (h = lu(d, o, `${t}${f === "default" ? "" : ue(f)}`, f)), r === !1 ? h : {
|
|
3152
3152
|
[r]: h
|
|
@@ -3216,7 +3216,7 @@ function oA(e, t, r, n) {
|
|
|
3216
3216
|
if (t.indexOf(r) === -1)
|
|
3217
3217
|
return null;
|
|
3218
3218
|
const o = tA(r), i = nA(o, n), s = e[r];
|
|
3219
|
-
return
|
|
3219
|
+
return Or(e, s, i);
|
|
3220
3220
|
}
|
|
3221
3221
|
a(oA, "resolveCssProperty");
|
|
3222
3222
|
function cC(e, t) {
|
|
@@ -3273,7 +3273,7 @@ const aA = Zr("border", Br), sA = Zr("borderTop", Br), lA = Zr("borderRight", Br
|
|
|
3273
3273
|
const t = Gl(e.theme, "shape.borderRadius", 4, "borderRadius"), r = /* @__PURE__ */ a((n) => ({
|
|
3274
3274
|
borderRadius: Li(t, n)
|
|
3275
3275
|
}), "styleFromPropValue");
|
|
3276
|
-
return
|
|
3276
|
+
return Or(e, e.borderRadius, r);
|
|
3277
3277
|
}
|
|
3278
3278
|
return null;
|
|
3279
3279
|
}, "borderRadius");
|
|
@@ -3287,7 +3287,7 @@ const np = /* @__PURE__ */ a((e) => {
|
|
|
3287
3287
|
const t = Gl(e.theme, "spacing", 8, "gap"), r = /* @__PURE__ */ a((n) => ({
|
|
3288
3288
|
gap: Li(t, n)
|
|
3289
3289
|
}), "styleFromPropValue");
|
|
3290
|
-
return
|
|
3290
|
+
return Or(e, e.gap, r);
|
|
3291
3291
|
}
|
|
3292
3292
|
return null;
|
|
3293
3293
|
}, "gap");
|
|
@@ -3300,7 +3300,7 @@ const op = /* @__PURE__ */ a((e) => {
|
|
|
3300
3300
|
const t = Gl(e.theme, "spacing", 8, "columnGap"), r = /* @__PURE__ */ a((n) => ({
|
|
3301
3301
|
columnGap: Li(t, n)
|
|
3302
3302
|
}), "styleFromPropValue");
|
|
3303
|
-
return
|
|
3303
|
+
return Or(e, e.columnGap, r);
|
|
3304
3304
|
}
|
|
3305
3305
|
return null;
|
|
3306
3306
|
}, "columnGap");
|
|
@@ -3313,7 +3313,7 @@ const ip = /* @__PURE__ */ a((e) => {
|
|
|
3313
3313
|
const t = Gl(e.theme, "spacing", 8, "rowGap"), r = /* @__PURE__ */ a((n) => ({
|
|
3314
3314
|
rowGap: Li(t, n)
|
|
3315
3315
|
}), "styleFromPropValue");
|
|
3316
|
-
return
|
|
3316
|
+
return Or(e, e.rowGap, r);
|
|
3317
3317
|
}
|
|
3318
3318
|
return null;
|
|
3319
3319
|
}, "rowGap");
|
|
@@ -3380,7 +3380,7 @@ const RA = Mt({
|
|
|
3380
3380
|
maxWidth: Er(r)
|
|
3381
3381
|
};
|
|
3382
3382
|
}, "styleFromPropValue");
|
|
3383
|
-
return
|
|
3383
|
+
return Or(e, e.maxWidth, t);
|
|
3384
3384
|
}
|
|
3385
3385
|
return null;
|
|
3386
3386
|
}, "maxWidth");
|
|
@@ -3729,7 +3729,7 @@ function uC() {
|
|
|
3729
3729
|
[r]: n
|
|
3730
3730
|
};
|
|
3731
3731
|
const h = za(o, d) || {};
|
|
3732
|
-
return f ? f(s) :
|
|
3732
|
+
return f ? f(s) : Or(s, n, /* @__PURE__ */ a((m) => {
|
|
3733
3733
|
let b = lu(h, p, m);
|
|
3734
3734
|
return m === b && typeof m == "string" && (b = lu(h, p, `${r}${m === "default" ? "" : ue(m)}`, m)), u === !1 ? b : {
|
|
3735
3735
|
[u]: b
|
|
@@ -3763,7 +3763,7 @@ function uC() {
|
|
|
3763
3763
|
if (s[g])
|
|
3764
3764
|
h = Hs(h, e(g, m, i, s));
|
|
3765
3765
|
else {
|
|
3766
|
-
const b =
|
|
3766
|
+
const b = Or({
|
|
3767
3767
|
theme: i
|
|
3768
3768
|
}, m, (v) => ({
|
|
3769
3769
|
[g]: v
|
|
@@ -6162,7 +6162,7 @@ const pL = /* @__PURE__ */ a((e) => ({
|
|
|
6162
6162
|
let r = k({
|
|
6163
6163
|
display: "flex",
|
|
6164
6164
|
flexDirection: "column"
|
|
6165
|
-
},
|
|
6165
|
+
}, Or({
|
|
6166
6166
|
theme: t
|
|
6167
6167
|
}, vi({
|
|
6168
6168
|
values: e.direction,
|
|
@@ -6183,7 +6183,7 @@ const pL = /* @__PURE__ */ a((e) => ({
|
|
|
6183
6183
|
const h = d > 0 ? i[p[d - 1]] : "column";
|
|
6184
6184
|
i[u] = h;
|
|
6185
6185
|
}
|
|
6186
|
-
}), r = cr(r,
|
|
6186
|
+
}), r = cr(r, Or({
|
|
6187
6187
|
theme: t
|
|
6188
6188
|
}, s, /* @__PURE__ */ a((u, d) => e.useFlexGap ? {
|
|
6189
6189
|
gap: Li(n, u)
|
|
@@ -7183,7 +7183,7 @@ function di(e, t, r) {
|
|
|
7183
7183
|
a(di, "getProp");
|
|
7184
7184
|
function UL(e, t) {
|
|
7185
7185
|
return Pg(e.children, function(r) {
|
|
7186
|
-
return
|
|
7186
|
+
return gr(r, {
|
|
7187
7187
|
onExited: t.bind(null, r),
|
|
7188
7188
|
in: !0,
|
|
7189
7189
|
appear: di(r, "appear", e),
|
|
@@ -7199,14 +7199,14 @@ function qL(e, t, r) {
|
|
|
7199
7199
|
var s = o[i];
|
|
7200
7200
|
if (qn(s)) {
|
|
7201
7201
|
var l = i in t, u = i in n, d = t[i], p = qn(d) && !d.props.in;
|
|
7202
|
-
u && (!l || p) ? o[i] =
|
|
7202
|
+
u && (!l || p) ? o[i] = gr(s, {
|
|
7203
7203
|
onExited: r.bind(null, s),
|
|
7204
7204
|
in: !0,
|
|
7205
7205
|
exit: di(s, "exit", e),
|
|
7206
7206
|
enter: di(s, "enter", e)
|
|
7207
|
-
}) : !u && l && !p ? o[i] =
|
|
7207
|
+
}) : !u && l && !p ? o[i] = gr(s, {
|
|
7208
7208
|
in: !1
|
|
7209
|
-
}) : u && l && qn(d) && (o[i] =
|
|
7209
|
+
}) : u && l && qn(d) && (o[i] = gr(s, {
|
|
7210
7210
|
onExited: r.bind(null, s),
|
|
7211
7211
|
in: d.props.in,
|
|
7212
7212
|
exit: di(s, "exit", e),
|
|
@@ -9960,7 +9960,7 @@ const xD = /^(\d+)(th|st|nd|rd)?/i, OD = /\d+/i, SD = {
|
|
|
9960
9960
|
}, "FichaProvider"), kt = /* @__PURE__ */ a(() => rt(KC) || {}, "useFicha"), JC = /* @__PURE__ */ a((e) => {
|
|
9961
9961
|
const t = rt(dp);
|
|
9962
9962
|
return (e == null ? void 0 : e.id) || t;
|
|
9963
|
-
}, "useIdContext"),
|
|
9963
|
+
}, "useIdContext"), hr = /* @__PURE__ */ a((e) => {
|
|
9964
9964
|
const { source: t } = e, {
|
|
9965
9965
|
estado: r,
|
|
9966
9966
|
isLoading: n,
|
|
@@ -10129,7 +10129,7 @@ const xD = /^(\d+)(th|st|nd|rd)?/i, OD = /\d+/i, SD = {
|
|
|
10129
10129
|
sort: P,
|
|
10130
10130
|
...A
|
|
10131
10131
|
}) => A, "sanitizeRestProps$5"), qte = /* @__PURE__ */ a((e) => {
|
|
10132
|
-
const { hidden: t } =
|
|
10132
|
+
const { hidden: t } = hr(e);
|
|
10133
10133
|
return !t && /* @__PURE__ */ y(
|
|
10134
10134
|
zt,
|
|
10135
10135
|
{
|
|
@@ -13237,7 +13237,7 @@ const MT = Pe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
13237
13237
|
color: (e.vars || e).palette.action.disabled
|
|
13238
13238
|
}
|
|
13239
13239
|
});
|
|
13240
|
-
}),
|
|
13240
|
+
}), br = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ a(function(t, r) {
|
|
13241
13241
|
const n = ke({
|
|
13242
13242
|
props: t,
|
|
13243
13243
|
name: "MuiIconButton"
|
|
@@ -13267,7 +13267,7 @@ const MT = Pe("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimar
|
|
|
13267
13267
|
children: i
|
|
13268
13268
|
}));
|
|
13269
13269
|
}, "IconButton"));
|
|
13270
|
-
process.env.NODE_ENV !== "production" && (
|
|
13270
|
+
process.env.NODE_ENV !== "production" && (br.propTypes = {
|
|
13271
13271
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
13272
13272
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
13273
13273
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -14286,7 +14286,7 @@ process.env.NODE_ENV !== "production" && (ko.propTypes = {
|
|
|
14286
14286
|
});
|
|
14287
14287
|
function cb(e) {
|
|
14288
14288
|
const { className: t, children: r, ...n } = e;
|
|
14289
|
-
return /* @__PURE__ */ y(
|
|
14289
|
+
return /* @__PURE__ */ y(br, { ...n, children: r });
|
|
14290
14290
|
}
|
|
14291
14291
|
a(cb, "ToolbarButton");
|
|
14292
14292
|
function yu(e) {
|
|
@@ -24251,7 +24251,7 @@ const b5 = /* @__PURE__ */ a((e) => {
|
|
|
24251
24251
|
}, [u]), /* @__PURE__ */ W(Gr, { children: [
|
|
24252
24252
|
/* @__PURE__ */ y(rc, { children: /* @__PURE__ */ y(yi, { spacing: 4, children: fl.map(
|
|
24253
24253
|
o,
|
|
24254
|
-
(v, x) =>
|
|
24254
|
+
(v, x) => gr(v, {
|
|
24255
24255
|
resource: r,
|
|
24256
24256
|
estado: n,
|
|
24257
24257
|
defaultValue: i[v.props.source] || "",
|
|
@@ -26083,7 +26083,7 @@ JT = yb.default = (0, pV.default)(/* @__PURE__ */ (0, fV.jsx)("path", {
|
|
|
26083
26083
|
const YT = /* @__PURE__ */ a((e) => {
|
|
26084
26084
|
const t = Dt(), { defaultTitle: r, onClose: n, record: o, title: i } = e;
|
|
26085
26085
|
return /* @__PURE__ */ W(hV, { id: "edit-dialog-title", children: [
|
|
26086
|
-
qn(i) ?
|
|
26086
|
+
qn(i) ? gr(i, { record: o }) : i ? t(i, { _: i }) : r,
|
|
26087
26087
|
/* @__PURE__ */ y(
|
|
26088
26088
|
La,
|
|
26089
26089
|
{
|
|
@@ -26889,7 +26889,7 @@ function _V(e = null) {
|
|
|
26889
26889
|
}
|
|
26890
26890
|
a(_V, "useTheme");
|
|
26891
26891
|
oE = Ob.default = _V;
|
|
26892
|
-
var
|
|
26892
|
+
var yr = "top", Jr = "bottom", Yr = "right", vr = "left", Sb = "auto", sc = [yr, Jr, Yr, vr], Wa = "start", kl = "end", zV = "clippingParents", aE = "viewport", Ps = "popper", jV = "reference", Rx = /* @__PURE__ */ sc.reduce(function(e, t) {
|
|
26893
26893
|
return e.concat([t + "-" + Wa, t + "-" + kl]);
|
|
26894
26894
|
}, []), sE = /* @__PURE__ */ [].concat(sc, [Sb]).reduce(function(e, t) {
|
|
26895
26895
|
return e.concat([t, t + "-" + Wa, t + "-" + kl]);
|
|
@@ -27121,9 +27121,9 @@ var n4 = /* @__PURE__ */ a(function(t, r) {
|
|
|
27121
27121
|
})) : t, dE(typeof t != "number" ? t : pE(t, sc));
|
|
27122
27122
|
}, "toPaddingObject");
|
|
27123
27123
|
function o4(e) {
|
|
27124
|
-
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = wn(r.placement), u = Eb(l), d = [
|
|
27124
|
+
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, l = wn(r.placement), u = Eb(l), d = [vr, Yr].indexOf(l) >= 0, p = d ? "height" : "width";
|
|
27125
27125
|
if (!(!i || !s)) {
|
|
27126
|
-
var f = n4(o.padding, r), h = Tb(i), g = u === "y" ?
|
|
27126
|
+
var f = n4(o.padding, r), h = Tb(i), g = u === "y" ? yr : vr, m = u === "y" ? Jr : Yr, b = r.rects.reference[p] + r.rects.reference[u] - s[u] - r.rects.popper[p], v = s[u] - r.rects.reference[u], x = lc(i), E = x ? u === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, T = b / 2 - v / 2, C = f[g], S = E - h[p] - f[m], w = E / 2 - h[p] / 2 + T, P = qs(C, w, S), A = u;
|
|
27127
27127
|
r.modifiersData[n] = (t = {}, t[A] = P, t.centerOffset = P - w, t);
|
|
27128
27128
|
}
|
|
27129
27129
|
}
|
|
@@ -27169,10 +27169,10 @@ function Ax(e) {
|
|
|
27169
27169
|
y: b
|
|
27170
27170
|
};
|
|
27171
27171
|
g = v.x, b = v.y;
|
|
27172
|
-
var x = s.hasOwnProperty("x"), E = s.hasOwnProperty("y"), T =
|
|
27172
|
+
var x = s.hasOwnProperty("x"), E = s.hasOwnProperty("y"), T = vr, C = yr, S = window;
|
|
27173
27173
|
if (d) {
|
|
27174
27174
|
var w = lc(r), P = "clientHeight", A = "clientWidth";
|
|
27175
|
-
if (w === $r(r) && (w = zo(r), Zn(w).position !== "static" && l === "absolute" && (P = "scrollHeight", A = "scrollWidth")), w = w, o ===
|
|
27175
|
+
if (w === $r(r) && (w = zo(r), Zn(w).position !== "static" && l === "absolute" && (P = "scrollHeight", A = "scrollWidth")), w = w, o === yr || (o === vr || o === Yr) && i === kl) {
|
|
27176
27176
|
C = Jr;
|
|
27177
27177
|
var $ = f && w === S && S.visualViewport ? S.visualViewport.height : (
|
|
27178
27178
|
// $FlowFixMe[prop-missing]
|
|
@@ -27180,7 +27180,7 @@ function Ax(e) {
|
|
|
27180
27180
|
);
|
|
27181
27181
|
b -= $ - n.height, b *= u ? 1 : -1;
|
|
27182
27182
|
}
|
|
27183
|
-
if (o ===
|
|
27183
|
+
if (o === vr || (o === yr || o === Jr) && i === kl) {
|
|
27184
27184
|
T = Yr;
|
|
27185
27185
|
var L = f && w === S && S.visualViewport ? S.visualViewport.width : (
|
|
27186
27186
|
// $FlowFixMe[prop-missing]
|
|
@@ -27373,7 +27373,7 @@ a(v4, "getClippingRect");
|
|
|
27373
27373
|
function hE(e) {
|
|
27374
27374
|
var t = e.reference, r = e.element, n = e.placement, o = n ? wn(n) : null, i = n ? Ga(n) : null, s = t.x + t.width / 2 - r.width / 2, l = t.y + t.height / 2 - r.height / 2, u;
|
|
27375
27375
|
switch (o) {
|
|
27376
|
-
case
|
|
27376
|
+
case yr:
|
|
27377
27377
|
u = {
|
|
27378
27378
|
x: s,
|
|
27379
27379
|
y: t.y - r.height
|
|
@@ -27391,7 +27391,7 @@ function hE(e) {
|
|
|
27391
27391
|
y: l
|
|
27392
27392
|
};
|
|
27393
27393
|
break;
|
|
27394
|
-
case
|
|
27394
|
+
case vr:
|
|
27395
27395
|
u = {
|
|
27396
27396
|
x: t.x - r.width,
|
|
27397
27397
|
y: l
|
|
@@ -27434,7 +27434,7 @@ function Pl(e, t) {
|
|
|
27434
27434
|
if (h === Ps && R) {
|
|
27435
27435
|
var M = R[o];
|
|
27436
27436
|
Object.keys(L).forEach(function(F) {
|
|
27437
|
-
var D = [Yr, Jr].indexOf(F) >= 0 ? 1 : -1, V = [
|
|
27437
|
+
var D = [Yr, Jr].indexOf(F) >= 0 ? 1 : -1, V = [yr, Jr].indexOf(F) >= 0 ? "y" : "x";
|
|
27438
27438
|
L[F] += M[V] * D;
|
|
27439
27439
|
});
|
|
27440
27440
|
}
|
|
@@ -27482,13 +27482,13 @@ function S4(e) {
|
|
|
27482
27482
|
allowedAutoPlacements: b
|
|
27483
27483
|
}) : Q);
|
|
27484
27484
|
}, []), S = t.rects.reference, w = t.rects.popper, P = /* @__PURE__ */ new Map(), A = !0, $ = C[0], L = 0; L < C.length; L++) {
|
|
27485
|
-
var R = C[L], M = wn(R), F = Ga(R) === Wa, D = [
|
|
27485
|
+
var R = C[L], M = wn(R), F = Ga(R) === Wa, D = [yr, Jr].indexOf(M) >= 0, V = D ? "width" : "height", j = Pl(t, {
|
|
27486
27486
|
placement: R,
|
|
27487
27487
|
boundary: p,
|
|
27488
27488
|
rootBoundary: f,
|
|
27489
27489
|
altBoundary: h,
|
|
27490
27490
|
padding: d
|
|
27491
|
-
}), N = D ? F ? Yr :
|
|
27491
|
+
}), N = D ? F ? Yr : vr : F ? Jr : yr;
|
|
27492
27492
|
S[V] > w[V] && (N = Zc(N));
|
|
27493
27493
|
var I = Zc(N), U = [];
|
|
27494
27494
|
if (i && U.push(j[M] <= 0), l && U.push(j[N] <= 0, j[I] <= 0), U.every(function(J) {
|
|
@@ -27541,7 +27541,7 @@ function Lx(e, t, r) {
|
|
|
27541
27541
|
}
|
|
27542
27542
|
a(Lx, "getSideOffsets");
|
|
27543
27543
|
function Nx(e) {
|
|
27544
|
-
return [
|
|
27544
|
+
return [yr, Yr, Jr, vr].some(function(t) {
|
|
27545
27545
|
return e[t] >= 0;
|
|
27546
27546
|
});
|
|
27547
27547
|
}
|
|
@@ -27571,10 +27571,10 @@ const E4 = {
|
|
|
27571
27571
|
fn: T4
|
|
27572
27572
|
};
|
|
27573
27573
|
function w4(e, t, r) {
|
|
27574
|
-
var n = wn(e), o = [
|
|
27574
|
+
var n = wn(e), o = [vr, yr].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
27575
27575
|
placement: e
|
|
27576
27576
|
})) : r, s = i[0], l = i[1];
|
|
27577
|
-
return s = s || 0, l = (l || 0) * o, [
|
|
27577
|
+
return s = s || 0, l = (l || 0) * o, [vr, Yr].indexOf(n) >= 0 ? {
|
|
27578
27578
|
x: l,
|
|
27579
27579
|
y: s
|
|
27580
27580
|
} : {
|
|
@@ -27638,14 +27638,14 @@ function A4(e) {
|
|
|
27638
27638
|
};
|
|
27639
27639
|
if (w) {
|
|
27640
27640
|
if (i) {
|
|
27641
|
-
var F, D = C === "y" ?
|
|
27641
|
+
var F, D = C === "y" ? yr : vr, V = C === "y" ? Jr : Yr, j = C === "y" ? "height" : "width", N = w[C], I = N + v[D], U = N - v[V], _ = g ? -A[j] / 2 : 0, q = E === Wa ? P[j] : A[j], se = E === Wa ? -A[j] : -P[j], G = t.elements.arrow, J = g && G ? Tb(G) : {
|
|
27642
27642
|
width: 0,
|
|
27643
27643
|
height: 0
|
|
27644
27644
|
}, Q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : uE(), B = Q[D], Z = Q[V], K = qs(0, P[j], J[j]), re = T ? P[j] / 2 - _ - K - B - L.mainAxis : q - K - B - L.mainAxis, le = T ? -P[j] / 2 + _ + K + Z + L.mainAxis : se + K + Z + L.mainAxis, ee = t.elements.arrow && lc(t.elements.arrow), z = ee ? C === "y" ? ee.clientTop || 0 : ee.clientLeft || 0 : 0, oe = (F = R == null ? void 0 : R[C]) != null ? F : 0, H = N + re - oe - z, he = N + le - oe, De = qs(g ? Ou(I, H) : I, N, g ? Oi(U, he) : U);
|
|
27645
27645
|
w[C] = De, M[C] = De - N;
|
|
27646
27646
|
}
|
|
27647
27647
|
if (l) {
|
|
27648
|
-
var Le, Fe = C === "x" ?
|
|
27648
|
+
var Le, Fe = C === "x" ? yr : vr, Ae = C === "x" ? Jr : Yr, He = w[S], je = S === "y" ? "height" : "width", nt = He + v[Fe], et = He - v[Ae], Ye = [yr, vr].indexOf(x) !== -1, pt = (Le = R == null ? void 0 : R[S]) != null ? Le : 0, Je = Ye ? nt : He - P[je] - A[je] - pt + L.altAxis, Ct = Ye ? He + P[je] + A[je] - pt - L.altAxis : et, _e = g && Ye ? r4(Je, He, Ct) : qs(g ? Je : nt, He, g ? Ct : et);
|
|
27649
27649
|
w[S] = _e, M[S] = _e - He;
|
|
27650
27650
|
}
|
|
27651
27651
|
t.modifiersData[n] = M;
|
|
@@ -28944,7 +28944,7 @@ const l3 = /* @__PURE__ */ a(({
|
|
|
28944
28944
|
id: l.id
|
|
28945
28945
|
});
|
|
28946
28946
|
return /* @__PURE__ */ y(Ep, { title: t("ra.action.delete"), children: /* @__PURE__ */ y(
|
|
28947
|
-
|
|
28947
|
+
br,
|
|
28948
28948
|
{
|
|
28949
28949
|
disabled: d,
|
|
28950
28950
|
onClick: /* @__PURE__ */ a(() => u(), "onClick"),
|
|
@@ -29535,7 +29535,7 @@ const I3 = /* @__PURE__ */ a((e) => {
|
|
|
29535
29535
|
});
|
|
29536
29536
|
}, [Q]), At(
|
|
29537
29537
|
() => /* @__PURE__ */ W(Z1, { className: r, ...TM(d), children: [
|
|
29538
|
-
s ? null : n ?
|
|
29538
|
+
s ? null : n ? gr(n, {
|
|
29539
29539
|
resource: S,
|
|
29540
29540
|
showFilter: T,
|
|
29541
29541
|
displayedFilters: v,
|
|
@@ -29582,7 +29582,7 @@ const I3 = /* @__PURE__ */ a((e) => {
|
|
|
29582
29582
|
}, "onClick"),
|
|
29583
29583
|
title: B.title,
|
|
29584
29584
|
children: [
|
|
29585
|
-
/* @__PURE__ */ y(Ca, { children:
|
|
29585
|
+
/* @__PURE__ */ y(Ca, { children: gr(B.icon, {
|
|
29586
29586
|
fontSize: "medium"
|
|
29587
29587
|
}) }),
|
|
29588
29588
|
/* @__PURE__ */ y(Ta, { primary: B.title })
|
|
@@ -29598,7 +29598,7 @@ const I3 = /* @__PURE__ */ a((e) => {
|
|
|
29598
29598
|
{
|
|
29599
29599
|
onClick: /* @__PURE__ */ a(() => se(B.index), "onClick"),
|
|
29600
29600
|
children: [
|
|
29601
|
-
/* @__PURE__ */ y(Ca, { children:
|
|
29601
|
+
/* @__PURE__ */ y(Ca, { children: gr(le, {
|
|
29602
29602
|
fontSize: "medium"
|
|
29603
29603
|
}) }),
|
|
29604
29604
|
/* @__PURE__ */ y(Ta, { primary: re })
|
|
@@ -29654,7 +29654,7 @@ const I3 = /* @__PURE__ */ a((e) => {
|
|
|
29654
29654
|
);
|
|
29655
29655
|
}, "onClick"),
|
|
29656
29656
|
children: [
|
|
29657
|
-
/* @__PURE__ */ y(Ca, { children:
|
|
29657
|
+
/* @__PURE__ */ y(Ca, { children: gr(
|
|
29658
29658
|
H.icon,
|
|
29659
29659
|
{
|
|
29660
29660
|
fontSize: "medium"
|
|
@@ -31662,7 +31662,7 @@ const Ore = /* @__PURE__ */ a((e) => {
|
|
|
31662
31662
|
}, "handleLeafClick"), E = f[g], T = (E == null ? void 0 : E.icon) || r;
|
|
31663
31663
|
return /* @__PURE__ */ W(Yn, { children: [
|
|
31664
31664
|
/* @__PURE__ */ y(Ep, { title: i ?? (E == null ? void 0 : E.label), children: /* @__PURE__ */ W(
|
|
31665
|
-
|
|
31665
|
+
br,
|
|
31666
31666
|
{
|
|
31667
31667
|
color: "primary",
|
|
31668
31668
|
disabled: n,
|
|
@@ -31846,7 +31846,7 @@ const DH = /* @__PURE__ */ a(() => {
|
|
|
31846
31846
|
const L = At(() => (b ? S : S.slice(x, x + v)).map(({ tab: I, tabIndex: U }) => {
|
|
31847
31847
|
var q;
|
|
31848
31848
|
const _ = s ? mc(I, U) : U;
|
|
31849
|
-
return ((q = I.props) == null ? void 0 : q.value) === _ ? I :
|
|
31849
|
+
return ((q = I.props) == null ? void 0 : q.value) === _ ? I : gr(I, { value: _ });
|
|
31850
31850
|
}), [
|
|
31851
31851
|
b,
|
|
31852
31852
|
v,
|
|
@@ -31858,7 +31858,7 @@ const DH = /* @__PURE__ */ a(() => {
|
|
|
31858
31858
|
}, "handlePrev"), D = /* @__PURE__ */ a(() => {
|
|
31859
31859
|
const N = Math.max(0, S.length - v);
|
|
31860
31860
|
E((I) => Math.min(N, I + 1));
|
|
31861
|
-
}, "handleNext"), V = S.length <= v ? "fullWidth" : "scrollable", j = /* @__PURE__ */ a(() => b ?
|
|
31861
|
+
}, "handleNext"), V = S.length <= v ? "fullWidth" : "scrollable", j = /* @__PURE__ */ a(() => b ? gr(
|
|
31862
31862
|
l,
|
|
31863
31863
|
{
|
|
31864
31864
|
onChange: T,
|
|
@@ -31870,8 +31870,8 @@ const DH = /* @__PURE__ */ a(() => {
|
|
|
31870
31870
|
},
|
|
31871
31871
|
L
|
|
31872
31872
|
) : /* @__PURE__ */ W(WH, { children: [
|
|
31873
|
-
/* @__PURE__ */ y(
|
|
31874
|
-
|
|
31873
|
+
/* @__PURE__ */ y(br, { onClick: F, disabled: !R, size: "small", children: /* @__PURE__ */ y(ME, {}) }),
|
|
31874
|
+
gr(
|
|
31875
31875
|
l,
|
|
31876
31876
|
{
|
|
31877
31877
|
onChange: T,
|
|
@@ -31882,7 +31882,7 @@ const DH = /* @__PURE__ */ a(() => {
|
|
|
31882
31882
|
},
|
|
31883
31883
|
L
|
|
31884
31884
|
),
|
|
31885
|
-
/* @__PURE__ */ y(
|
|
31885
|
+
/* @__PURE__ */ y(br, { onClick: D, disabled: !M, size: "small", children: /* @__PURE__ */ y(Ug, {}) })
|
|
31886
31886
|
] }), "renderTabHeaders");
|
|
31887
31887
|
return /* @__PURE__ */ W(
|
|
31888
31888
|
sr,
|
|
@@ -31924,7 +31924,7 @@ const DH = /* @__PURE__ */ a(() => {
|
|
|
31924
31924
|
I,
|
|
31925
31925
|
N
|
|
31926
31926
|
);
|
|
31927
|
-
return
|
|
31927
|
+
return gr(I, {
|
|
31928
31928
|
intent: "content",
|
|
31929
31929
|
resource: f,
|
|
31930
31930
|
hidden: s ? P !== N : h !== N,
|
|
@@ -32672,48 +32672,53 @@ process.env.NODE_ENV !== "production" && (FE.propTypes = {
|
|
|
32672
32672
|
*/
|
|
32673
32673
|
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object])
|
|
32674
32674
|
});
|
|
32675
|
-
const Mre = /* @__PURE__ */ a(({ title: e, children: t, sx: r }) =>
|
|
32676
|
-
|
|
32677
|
-
|
|
32678
|
-
|
|
32679
|
-
|
|
32680
|
-
|
|
32681
|
-
|
|
32682
|
-
|
|
32683
|
-
|
|
32684
|
-
|
|
32685
|
-
|
|
32686
|
-
|
|
32687
|
-
|
|
32688
|
-
|
|
32689
|
-
|
|
32690
|
-
|
|
32691
|
-
|
|
32692
|
-
|
|
32693
|
-
|
|
32694
|
-
|
|
32695
|
-
|
|
32696
|
-
|
|
32697
|
-
|
|
32698
|
-
|
|
32699
|
-
|
|
32700
|
-
|
|
32701
|
-
|
|
32702
|
-
|
|
32703
|
-
|
|
32704
|
-
|
|
32705
|
-
|
|
32706
|
-
|
|
32707
|
-
|
|
32708
|
-
|
|
32709
|
-
|
|
32710
|
-
|
|
32711
|
-
|
|
32712
|
-
|
|
32713
|
-
|
|
32714
|
-
|
|
32715
|
-
|
|
32716
|
-
),
|
|
32675
|
+
const Mre = /* @__PURE__ */ a(({ title: e, children: t, sx: r, source: n, ...o }) => {
|
|
32676
|
+
const { hidden: i } = hr({ source: n, ...o });
|
|
32677
|
+
return i ? null : /* @__PURE__ */ W(
|
|
32678
|
+
sr,
|
|
32679
|
+
{
|
|
32680
|
+
sx: {
|
|
32681
|
+
width: "100%",
|
|
32682
|
+
border: "1px solid",
|
|
32683
|
+
borderColor: "divider",
|
|
32684
|
+
borderRadius: 2,
|
|
32685
|
+
bgcolor: "background.paper",
|
|
32686
|
+
boxShadow: "0 1px 2px rgba(0, 0, 0, 0.08), 0 6px 16px rgba(0, 0, 0, 0.06)",
|
|
32687
|
+
px: 2.5,
|
|
32688
|
+
pt: 2.75,
|
|
32689
|
+
pb: 2,
|
|
32690
|
+
position: "relative",
|
|
32691
|
+
mt: 2,
|
|
32692
|
+
boxSizing: "border-box",
|
|
32693
|
+
...r
|
|
32694
|
+
},
|
|
32695
|
+
id: n,
|
|
32696
|
+
...o,
|
|
32697
|
+
children: [
|
|
32698
|
+
/* @__PURE__ */ y(
|
|
32699
|
+
zt,
|
|
32700
|
+
{
|
|
32701
|
+
variant: "caption",
|
|
32702
|
+
sx: {
|
|
32703
|
+
position: "absolute",
|
|
32704
|
+
top: -10,
|
|
32705
|
+
left: 16,
|
|
32706
|
+
px: 0,
|
|
32707
|
+
borderRadius: 1,
|
|
32708
|
+
bgcolor: "transparent",
|
|
32709
|
+
color: "text.secondary",
|
|
32710
|
+
fontWeight: 700,
|
|
32711
|
+
letterSpacing: 0.4,
|
|
32712
|
+
textTransform: "uppercase"
|
|
32713
|
+
},
|
|
32714
|
+
children: e
|
|
32715
|
+
}
|
|
32716
|
+
),
|
|
32717
|
+
/* @__PURE__ */ y(FE, { container: !0, spacing: 3, direction: "column", disableEqualOverflow: !0, children: t })
|
|
32718
|
+
]
|
|
32719
|
+
}
|
|
32720
|
+
);
|
|
32721
|
+
}, "SectionGroup");
|
|
32717
32722
|
var _b = {}, iW = be;
|
|
32718
32723
|
Object.defineProperty(_b, "__esModule", {
|
|
32719
32724
|
value: !0
|
|
@@ -33194,7 +33199,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33194
33199
|
"application/java-archive",
|
|
33195
33200
|
"application/vnd.android.package-archive"
|
|
33196
33201
|
], Ire = /* @__PURE__ */ a((e) => {
|
|
33197
|
-
const t = eS(), { propsContenido: r, hidden: n } =
|
|
33202
|
+
const t = eS(), { propsContenido: r, hidden: n } = hr(e), {
|
|
33198
33203
|
options: o = {},
|
|
33199
33204
|
readOnly: i = !1,
|
|
33200
33205
|
tipo: s = "file",
|
|
@@ -33287,7 +33292,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33287
33292
|
...g ? { accept: g } : {},
|
|
33288
33293
|
children: /* @__PURE__ */ W(sr, { sx: { display: "inline-block", ml: 1 }, children: [
|
|
33289
33294
|
/* @__PURE__ */ y(
|
|
33290
|
-
|
|
33295
|
+
br,
|
|
33291
33296
|
{
|
|
33292
33297
|
component: wh,
|
|
33293
33298
|
href: A,
|
|
@@ -33298,7 +33303,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33298
33303
|
}
|
|
33299
33304
|
),
|
|
33300
33305
|
/* @__PURE__ */ y(
|
|
33301
|
-
|
|
33306
|
+
br,
|
|
33302
33307
|
{
|
|
33303
33308
|
sx: { ml: 1 },
|
|
33304
33309
|
component: wh,
|
|
@@ -33318,7 +33323,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33318
33323
|
}
|
|
33319
33324
|
));
|
|
33320
33325
|
}, "Camino"), Lre = /* @__PURE__ */ a((e) => {
|
|
33321
|
-
const { propsContenido: t, hidden: r } =
|
|
33326
|
+
const { propsContenido: t, hidden: r } = hr(e);
|
|
33322
33327
|
return !r && /* @__PURE__ */ y(
|
|
33323
33328
|
Ke,
|
|
33324
33329
|
{
|
|
@@ -33382,7 +33387,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33382
33387
|
}
|
|
33383
33388
|
) });
|
|
33384
33389
|
}, "SelectInputEtriek"), AW = /* @__PURE__ */ a((e) => {
|
|
33385
|
-
const { propsContenido: t, hidden: r } =
|
|
33390
|
+
const { propsContenido: t, hidden: r } = hr(e), n = Qi(), { isLoading: o } = kt(), {
|
|
33386
33391
|
queryOptions: i,
|
|
33387
33392
|
asistant: s,
|
|
33388
33393
|
asistantResource: l,
|
|
@@ -33454,7 +33459,7 @@ const Kx = /* @__PURE__ */ a((e) => {
|
|
|
33454
33459
|
) : null;
|
|
33455
33460
|
}, "ComboBox"), Nre = /* @__PURE__ */ a((e) => {
|
|
33456
33461
|
var u;
|
|
33457
|
-
const { propsContenido: t, hidden: r } =
|
|
33462
|
+
const { propsContenido: t, hidden: r } = hr(e), { conts: n = {} } = rt(no) || {}, o = (u = n == null ? void 0 : n[e.source]) == null ? void 0 : u.options, i = O.useMemo(() => {
|
|
33458
33463
|
if (!(typeof o != "string" || o.trim() === ""))
|
|
33459
33464
|
try {
|
|
33460
33465
|
const d = JSON.parse(o);
|
|
@@ -33562,7 +33567,7 @@ function zW({
|
|
|
33562
33567
|
values: t.direction,
|
|
33563
33568
|
breakpoints: e.breakpoints.values
|
|
33564
33569
|
});
|
|
33565
|
-
return
|
|
33570
|
+
return Or({
|
|
33566
33571
|
theme: e
|
|
33567
33572
|
}, r, (n) => {
|
|
33568
33573
|
const o = {
|
|
@@ -33604,7 +33609,7 @@ function jW({
|
|
|
33604
33609
|
typeof i == "object" && (s = jE({
|
|
33605
33610
|
breakpoints: e.breakpoints.values,
|
|
33606
33611
|
values: i
|
|
33607
|
-
})), o =
|
|
33612
|
+
})), o = Or({
|
|
33608
33613
|
theme: e
|
|
33609
33614
|
}, i, (l, u) => {
|
|
33610
33615
|
var d;
|
|
@@ -33643,7 +33648,7 @@ function BW({
|
|
|
33643
33648
|
typeof i == "object" && (s = jE({
|
|
33644
33649
|
breakpoints: e.breakpoints.values,
|
|
33645
33650
|
values: i
|
|
33646
|
-
})), o =
|
|
33651
|
+
})), o = Or({
|
|
33647
33652
|
theme: e
|
|
33648
33653
|
}, i, (l, u) => {
|
|
33649
33654
|
var d;
|
|
@@ -34670,7 +34675,7 @@ const Yx = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
34670
34675
|
const {
|
|
34671
34676
|
propsContenido: { sx: t, ...r },
|
|
34672
34677
|
hidden: n
|
|
34673
|
-
} =
|
|
34678
|
+
} = hr(e), { isLoading: o } = kt(), i = Rn((d) => d.breakpoints.down("md")), { source: s, reference: l } = e, u = Qr(e) || {};
|
|
34674
34679
|
return !n && !o ? /* @__PURE__ */ y(
|
|
34675
34680
|
_M,
|
|
34676
34681
|
{
|
|
@@ -34701,13 +34706,13 @@ const Yx = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
34701
34706
|
}
|
|
34702
34707
|
) : null;
|
|
34703
34708
|
}, "ListCheck"), zre = /* @__PURE__ */ a((e) => {
|
|
34704
|
-
const { propsContenido: t, hidden: r } =
|
|
34709
|
+
const { propsContenido: t, hidden: r } = hr(e);
|
|
34705
34710
|
return !r && /* @__PURE__ */ y(cS, { ...t });
|
|
34706
34711
|
}, "Password"), jre = /* @__PURE__ */ a((e) => {
|
|
34707
34712
|
const {
|
|
34708
34713
|
propsContenido: { sx: t, ...r },
|
|
34709
34714
|
hidden: n
|
|
34710
|
-
} =
|
|
34715
|
+
} = hr(e), { isLoading: o } = kt(), { source: i, reference: s } = e;
|
|
34711
34716
|
return !n && !o ? /* @__PURE__ */ y(pS, { source: i, reference: s, children: /* @__PURE__ */ y(
|
|
34712
34717
|
hS,
|
|
34713
34718
|
{
|
|
@@ -34725,7 +34730,7 @@ const Yx = /* @__PURE__ */ a((e, t) => e.filter((r) => !t.includes(r)), "not"),
|
|
|
34725
34730
|
const {
|
|
34726
34731
|
propsContenido: { sx: t, ...r },
|
|
34727
34732
|
hidden: n
|
|
34728
|
-
} =
|
|
34733
|
+
} = hr(e), { conts: o = {} } = rt(no) || {}, i = (d = o == null ? void 0 : o[e.source]) == null ? void 0 : d.options, s = O.useMemo(() => {
|
|
34729
34734
|
if (!(typeof i != "string" || i.trim() === ""))
|
|
34730
34735
|
try {
|
|
34731
34736
|
const p = JSON.parse(i);
|
|
@@ -34870,7 +34875,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
34870
34875
|
source: f,
|
|
34871
34876
|
...h
|
|
34872
34877
|
}
|
|
34873
|
-
} =
|
|
34878
|
+
} = hr(e), g = ir();
|
|
34874
34879
|
Ve(() => {
|
|
34875
34880
|
n.current || (setTimeout(() => {
|
|
34876
34881
|
g.setValue(f, k6);
|
|
@@ -34921,7 +34926,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
34921
34926
|
InputProps: {
|
|
34922
34927
|
endAdornment: /* @__PURE__ */ W(Gr, { children: [
|
|
34923
34928
|
/* @__PURE__ */ y(
|
|
34924
|
-
|
|
34929
|
+
br,
|
|
34925
34930
|
{
|
|
34926
34931
|
onClick: v,
|
|
34927
34932
|
disabled: i,
|
|
@@ -34932,7 +34937,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
34932
34937
|
}
|
|
34933
34938
|
),
|
|
34934
34939
|
/* @__PURE__ */ y(
|
|
34935
|
-
|
|
34940
|
+
br,
|
|
34936
34941
|
{
|
|
34937
34942
|
onClick: x,
|
|
34938
34943
|
disabled: i,
|
|
@@ -34943,7 +34948,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
34943
34948
|
}
|
|
34944
34949
|
),
|
|
34945
34950
|
/* @__PURE__ */ y(
|
|
34946
|
-
|
|
34951
|
+
br,
|
|
34947
34952
|
{
|
|
34948
34953
|
onClick: /* @__PURE__ */ a((E) => r(!0), "onClick"),
|
|
34949
34954
|
disabled: i,
|
|
@@ -35211,7 +35216,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
35211
35216
|
meta: x,
|
|
35212
35217
|
...E
|
|
35213
35218
|
}
|
|
35214
|
-
} =
|
|
35219
|
+
} = hr(e), { [t]: T = {} } = u, C = Nn(e), S = T.onChange === void 0 ? r : T.onChange;
|
|
35215
35220
|
Ve(() => {
|
|
35216
35221
|
d.current || (setTimeout(() => {
|
|
35217
35222
|
s.setValue(t, N6);
|
|
@@ -35262,7 +35267,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
35262
35267
|
InputProps: {
|
|
35263
35268
|
endAdornment: /* @__PURE__ */ W(Gr, { children: [
|
|
35264
35269
|
m && /* @__PURE__ */ y(
|
|
35265
|
-
|
|
35270
|
+
br,
|
|
35266
35271
|
{
|
|
35267
35272
|
onClick: A,
|
|
35268
35273
|
disabled: f,
|
|
@@ -35273,7 +35278,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
35273
35278
|
}
|
|
35274
35279
|
),
|
|
35275
35280
|
b && /* @__PURE__ */ y(
|
|
35276
|
-
|
|
35281
|
+
br,
|
|
35277
35282
|
{
|
|
35278
35283
|
onClick: $,
|
|
35279
35284
|
disabled: f,
|
|
@@ -35284,7 +35289,7 @@ const C6 = /* @__PURE__ */ a((e) => /* @__PURE__ */ y(
|
|
|
35284
35289
|
}
|
|
35285
35290
|
),
|
|
35286
35291
|
/* @__PURE__ */ y(
|
|
35287
|
-
|
|
35292
|
+
br,
|
|
35288
35293
|
{
|
|
35289
35294
|
onClick: /* @__PURE__ */ a((L) => i(!0), "onClick"),
|
|
35290
35295
|
disabled: f,
|
|
@@ -40723,9 +40728,9 @@ function I9(e, t, r) {
|
|
|
40723
40728
|
}
|
|
40724
40729
|
}
|
|
40725
40730
|
a(I9, "caretFromPoint");
|
|
40726
|
-
const Pn = typeof navigator < "u" ? navigator : null, gO = typeof document < "u" ? document : null, Bo = Pn && Pn.userAgent || "", Bh = /Edge\/(\d+)/.exec(Bo), xw = /MSIE \d/.exec(Bo), Vh = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bo),
|
|
40731
|
+
const Pn = typeof navigator < "u" ? navigator : null, gO = typeof document < "u" ? document : null, Bo = Pn && Pn.userAgent || "", Bh = /Edge\/(\d+)/.exec(Bo), xw = /MSIE \d/.exec(Bo), Vh = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Bo), xr = !!(xw || Vh || Bh), Ro = xw ? document.documentMode : Vh ? +Vh[1] : Bh ? +Bh[1] : 0, nn = !xr && /gecko\/(\d+)/i.test(Bo);
|
|
40727
40732
|
nn && +(/Firefox\/(\d+)/.exec(Bo) || [0, 0])[1];
|
|
40728
|
-
const Hh = !
|
|
40733
|
+
const Hh = !xr && /Chrome\/(\d+)/.exec(Bo), er = !!Hh, Ow = Hh ? +Hh[1] : 0, dr = !xr && !!Pn && /Apple Computer/.test(Pn.vendor), Qa = dr && (/Mobile\/\w+/.test(Bo) || !!Pn && Pn.maxTouchPoints > 2), zr = Qa || (Pn ? /Mac/.test(Pn.platform) : !1), L9 = Pn ? /Win/.test(Pn.platform) : !1, tn = /Android \d/.test(Bo), uc = !!gO && "webkitFontSmoothing" in gO.documentElement.style, N9 = uc ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
|
|
40729
40734
|
function D9(e) {
|
|
40730
40735
|
let t = e.defaultView && e.defaultView.visualViewport;
|
|
40731
40736
|
return t ? {
|
|
@@ -42216,7 +42221,7 @@ function i8(e) {
|
|
|
42216
42221
|
if (!t)
|
|
42217
42222
|
return;
|
|
42218
42223
|
let n = e.cursorWrapper.dom, o = n.nodeName == "IMG";
|
|
42219
|
-
o ? r.setStart(n.parentNode, qt(n) + 1) : r.setStart(n, 0), r.collapse(!0), t.removeAllRanges(), t.addRange(r), !o && !e.state.selection.visible &&
|
|
42224
|
+
o ? r.setStart(n.parentNode, qt(n) + 1) : r.setStart(n, 0), r.collapse(!0), t.removeAllRanges(), t.addRange(r), !o && !e.state.selection.visible && xr && Ro <= 11 && (n.disabled = !0, n.disabled = !1);
|
|
42220
42225
|
}
|
|
42221
42226
|
a(i8, "selectCursorWrapper");
|
|
42222
42227
|
function Aw(e, t) {
|
|
@@ -43045,7 +43050,7 @@ function L8(e, t) {
|
|
|
43045
43050
|
}, 50);
|
|
43046
43051
|
}
|
|
43047
43052
|
a(L8, "captureCopy");
|
|
43048
|
-
const Ll =
|
|
43053
|
+
const Ll = xr && Ro < 15 || Qa && N9 < 604;
|
|
43049
43054
|
pr.copy = fr.cut = (e, t) => {
|
|
43050
43055
|
let r = t, n = e.state.selection, o = r.type == "cut";
|
|
43051
43056
|
if (n.empty)
|
|
@@ -43722,7 +43727,7 @@ const j8 = {
|
|
|
43722
43727
|
attributes: !0,
|
|
43723
43728
|
attributeOldValue: !0,
|
|
43724
43729
|
subtree: !0
|
|
43725
|
-
}, B8 =
|
|
43730
|
+
}, B8 = xr && Ro <= 11, Av = class Av {
|
|
43726
43731
|
constructor() {
|
|
43727
43732
|
this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0;
|
|
43728
43733
|
}
|
|
@@ -43743,7 +43748,7 @@ const Fv = class Fv {
|
|
|
43743
43748
|
this.view = t, this.handleDOMChange = r, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new rm(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.lastChangedTextNode = null, this.observer = window.MutationObserver && new window.MutationObserver((n) => {
|
|
43744
43749
|
for (let o = 0; o < n.length; o++)
|
|
43745
43750
|
this.queue.push(n[o]);
|
|
43746
|
-
|
|
43751
|
+
xr && Ro <= 11 && n.some((o) => o.type == "childList" && o.removedNodes.length || o.type == "characterData" && o.oldValue.length > o.target.nodeValue.length) ? this.flushSoon() : this.flush();
|
|
43747
43752
|
}), B8 && (this.onCharData = (n) => {
|
|
43748
43753
|
this.queue.push({ target: n.target, type: "characterData", oldValue: n.prevValue }), this.flushSoon();
|
|
43749
43754
|
}), this.onSelectionChange = this.onSelectionChange.bind(this);
|
|
@@ -43784,7 +43789,7 @@ const Fv = class Fv {
|
|
|
43784
43789
|
if (MO(this.view)) {
|
|
43785
43790
|
if (this.suppressingSelectionUpdates)
|
|
43786
43791
|
return Jn(this.view);
|
|
43787
|
-
if (
|
|
43792
|
+
if (xr && Ro <= 11 && !this.view.state.selection.empty) {
|
|
43788
43793
|
let t = this.view.domSelectionRange();
|
|
43789
43794
|
if (t.focusNode && Ui(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset))
|
|
43790
43795
|
return this.flushSoon();
|
|
@@ -43862,7 +43867,7 @@ const Fv = class Fv {
|
|
|
43862
43867
|
if (n.contentDOM && n.contentDOM != n.dom && !n.contentDOM.contains(t.target))
|
|
43863
43868
|
return { from: n.posBefore, to: n.posAfter };
|
|
43864
43869
|
let o = t.previousSibling, i = t.nextSibling;
|
|
43865
|
-
if (
|
|
43870
|
+
if (xr && Ro <= 11 && t.addedNodes.length)
|
|
43866
43871
|
for (let p = 0; p < t.addedNodes.length; p++) {
|
|
43867
43872
|
let { previousSibling: f, nextSibling: h } = t.addedNodes[p];
|
|
43868
43873
|
(!f || Array.prototype.indexOf.call(t.addedNodes, f) < 0) && (o = f), (!h || Array.prototype.indexOf.call(t.addedNodes, h) < 0) && (i = h);
|
|
@@ -43997,7 +44002,7 @@ function K8(e, t, r, n, o) {
|
|
|
43997
44002
|
}
|
|
43998
44003
|
return;
|
|
43999
44004
|
}
|
|
44000
|
-
e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof Be && (m.start > e.state.selection.from && m.start <= e.state.selection.from + 2 && e.state.selection.from >= d.from ? m.start = e.state.selection.from : m.endA < e.state.selection.to && m.endA >= e.state.selection.to - 2 && e.state.selection.to <= d.to && (m.endB += e.state.selection.to - m.endA, m.endA = e.state.selection.to)),
|
|
44005
|
+
e.state.selection.from < e.state.selection.to && m.start == m.endB && e.state.selection instanceof Be && (m.start > e.state.selection.from && m.start <= e.state.selection.from + 2 && e.state.selection.from >= d.from ? m.start = e.state.selection.from : m.endA < e.state.selection.to && m.endA >= e.state.selection.to - 2 && e.state.selection.to <= d.to && (m.endB += e.state.selection.to - m.endA, m.endA = e.state.selection.to)), xr && Ro <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > d.from && d.doc.textBetween(m.start - d.from - 1, m.start - d.from + 1) == " " && (m.start--, m.endA--, m.endB--);
|
|
44001
44006
|
let b = d.doc.resolveNoCache(m.start - d.from), v = d.doc.resolveNoCache(m.endB - d.from), x = p.resolve(m.start), E = b.sameParent(v) && b.parent.inlineContent && x.end() >= m.endA, T;
|
|
44002
44007
|
if ((Qa && e.input.lastIOSEnter > Date.now() - 225 && (!E || o.some(($) => $.nodeName == "DIV" || $.nodeName == "P")) || !E && b.pos < d.doc.content.size && !b.sameParent(v) && (T = ze.findFrom(d.doc.resolve(b.pos + 1), 1, !0)) && T.head == v.pos) && e.someProp("handleKeyDown", ($) => $(e, ei(13, "Enter")))) {
|
|
44003
44008
|
e.input.lastIOSEnter = 0;
|
|
@@ -44015,7 +44020,7 @@ function K8(e, t, r, n, o) {
|
|
|
44015
44020
|
let C = m.start, S = m.endA, w, P, A;
|
|
44016
44021
|
if (E) {
|
|
44017
44022
|
if (b.pos == v.pos)
|
|
44018
|
-
|
|
44023
|
+
xr && Ro <= 11 && b.parentOffset == 0 && (e.domObserver.suppressSelectionUpdates(), setTimeout(() => Jn(e), 20)), w = e.state.tr.delete(C, S), P = p.resolve(m.start).marksAcross(p.resolve(m.endA));
|
|
44019
44024
|
else if (
|
|
44020
44025
|
// Adding or removing a mark
|
|
44021
44026
|
m.endA == m.endB && (A = J8(b.parent.content.cut(b.parentOffset, v.parentOffset), x.parent.content.cut(x.parentOffset, m.endA - x.start())))
|
|
@@ -44030,7 +44035,7 @@ function K8(e, t, r, n, o) {
|
|
|
44030
44035
|
}
|
|
44031
44036
|
if (w || (w = e.state.tr.replace(C, S, d.doc.slice(m.start - d.from, m.endB - d.from))), d.sel) {
|
|
44032
44037
|
let $ = BO(e, w.doc, d.sel);
|
|
44033
|
-
$ && !(er && tn && e.composing && $.empty && (m.start != m.endB || e.input.lastAndroidDelete < Date.now() - 100) && ($.head == C || $.head == w.mapping.map(S) - 1) ||
|
|
44038
|
+
$ && !(er && tn && e.composing && $.empty && (m.start != m.endB || e.input.lastAndroidDelete < Date.now() - 100) && ($.head == C || $.head == w.mapping.map(S) - 1) || xr && $.empty && $.head == C) && w.setSelection($);
|
|
44034
44039
|
}
|
|
44035
44040
|
P && w.ensureMarks(P), i && w.setMeta("composition", i), e.dispatch(w.scrollIntoView());
|
|
44036
44041
|
}
|
|
@@ -44191,7 +44196,7 @@ const Iv = class Iv {
|
|
|
44191
44196
|
let h = p == "preserve" && s && this.dom.style.overflowAnchor == null && z9(this);
|
|
44192
44197
|
if (s) {
|
|
44193
44198
|
this.domObserver.stop();
|
|
44194
|
-
let g = f && (
|
|
44199
|
+
let g = f && (xr || er) && !this.composing && !o.selection.empty && !t.selection.empty && X8(o.selection, t.selection);
|
|
44195
44200
|
if (f) {
|
|
44196
44201
|
let m = er ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
44197
44202
|
this.composing && (this.input.compositionNode = F8(this)), (i || !this.docView.update(t.doc, d, u, this)) && (this.docView.updateOuterDeco(d), this.docView.destroy(), this.docView = CO(t.doc, d, u, this.dom, this)), m && !this.trackWrites && (g = !0);
|
|
@@ -44264,7 +44269,7 @@ const Iv = class Iv {
|
|
|
44264
44269
|
Query whether the view has focus.
|
|
44265
44270
|
*/
|
|
44266
44271
|
hasFocus() {
|
|
44267
|
-
if (
|
|
44272
|
+
if (xr) {
|
|
44268
44273
|
let t = this.root.activeElement;
|
|
44269
44274
|
if (t == this.dom)
|
|
44270
44275
|
return !0;
|
|
@@ -47781,7 +47786,7 @@ const pl = class pl {
|
|
|
47781
47786
|
}
|
|
47782
47787
|
};
|
|
47783
47788
|
a(pl, "Node");
|
|
47784
|
-
let
|
|
47789
|
+
let Sr = pl;
|
|
47785
47790
|
function No(e) {
|
|
47786
47791
|
return new sm({
|
|
47787
47792
|
find: e.find,
|
|
@@ -47918,7 +47923,7 @@ const C7 = on.create({
|
|
|
47918
47923
|
})
|
|
47919
47924
|
];
|
|
47920
47925
|
}
|
|
47921
|
-
}), P7 = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, M7 =
|
|
47926
|
+
}), P7 = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, M7 = Sr.create({
|
|
47922
47927
|
name: "image",
|
|
47923
47928
|
addOptions() {
|
|
47924
47929
|
return {
|
|
@@ -48001,12 +48006,12 @@ function L7(e, t) {
|
|
|
48001
48006
|
return r;
|
|
48002
48007
|
}
|
|
48003
48008
|
a(L7, "flagsForToken");
|
|
48004
|
-
function
|
|
48009
|
+
function mr(e) {
|
|
48005
48010
|
e === void 0 && (e = null), this.j = {}, this.jr = [], this.jd = null, this.t = e;
|
|
48006
48011
|
}
|
|
48007
|
-
a(
|
|
48008
|
-
|
|
48009
|
-
|
|
48012
|
+
a(mr, "State");
|
|
48013
|
+
mr.groups = {};
|
|
48014
|
+
mr.prototype = {
|
|
48010
48015
|
accepts() {
|
|
48011
48016
|
return !!this.t;
|
|
48012
48017
|
},
|
|
@@ -48059,9 +48064,9 @@ hr.prototype = {
|
|
|
48059
48064
|
* @returns {State<T>} taken after the given input
|
|
48060
48065
|
*/
|
|
48061
48066
|
tr(e, t, r, n) {
|
|
48062
|
-
n = n ||
|
|
48067
|
+
n = n || mr.groups;
|
|
48063
48068
|
let o;
|
|
48064
|
-
return t && t.j ? o = t : (o = new
|
|
48069
|
+
return t && t.j ? o = t : (o = new mr(t), r && n && gi(t, r, n)), this.jr.push([e, o]), o;
|
|
48065
48070
|
},
|
|
48066
48071
|
/**
|
|
48067
48072
|
* Short for "take transitions", will take as many sequential transitions as
|
|
@@ -48109,13 +48114,13 @@ hr.prototype = {
|
|
|
48109
48114
|
* @returns {State<T>} taken after the given input
|
|
48110
48115
|
*/
|
|
48111
48116
|
tt(e, t, r, n) {
|
|
48112
|
-
n = n ||
|
|
48117
|
+
n = n || mr.groups;
|
|
48113
48118
|
const o = this;
|
|
48114
48119
|
if (t && t.j)
|
|
48115
48120
|
return o.j[e] = t, t;
|
|
48116
48121
|
const i = t;
|
|
48117
48122
|
let s, l = o.go(e);
|
|
48118
|
-
if (l ? (s = new
|
|
48123
|
+
if (l ? (s = new mr(), rs(s.j, l.j), s.jr.push.apply(s.jr, l.jr), s.jd = l.jd, s.t = l.t) : s = new mr(), i) {
|
|
48119
48124
|
if (n)
|
|
48120
48125
|
if (s.t && typeof s.t == "string") {
|
|
48121
48126
|
const u = rs(L7(s.t, n), r);
|
|
@@ -48188,8 +48193,8 @@ let zc = null, jc = null;
|
|
|
48188
48193
|
function _7(e) {
|
|
48189
48194
|
e === void 0 && (e = []);
|
|
48190
48195
|
const t = {};
|
|
48191
|
-
|
|
48192
|
-
const r = new
|
|
48196
|
+
mr.groups = t;
|
|
48197
|
+
const r = new mr();
|
|
48193
48198
|
zc == null && (zc = i1(R7)), jc == null && (jc = i1($7)), de(r, "'", dd), de(r, "{", Zs), de(r, "}", el), de(r, "[", Yu), de(r, "]", Qu), de(r, "(", Xu), de(r, ")", Zu), de(r, "<", ed), de(r, ">", td), de(r, "(", rd), de(r, ")", nd), de(r, "「", od), de(r, "」", id), de(r, "『", ad), de(r, "』", sd), de(r, "<", ld), de(r, ">", cd), de(r, "&", ud), de(r, "*", pd), de(r, "@", bo), de(r, "`", hd), de(r, "^", md), de(r, ":", To), de(r, ",", xy), de(r, "$", gd), de(r, ".", dn), de(r, "=", bd), de(r, "!", Oy), de(r, "-", pn), de(r, "%", yd), de(r, "|", vd), de(r, "+", xd), de(r, "#", Od), de(r, "?", Sd), de(r, '"', Sy), de(r, "/", fn), de(r, ";", Cy), de(r, "~", tl), de(r, "_", Cd), de(r, "\\", fd);
|
|
48194
48199
|
const n = Ir(r, jf, yy, {
|
|
48195
48200
|
[mm]: !0
|
|
@@ -48243,7 +48248,7 @@ function _7(e) {
|
|
|
48243
48248
|
}
|
|
48244
48249
|
return r1(r, "localhost", jl, {
|
|
48245
48250
|
ascii: !0
|
|
48246
|
-
}), r.jd = new
|
|
48251
|
+
}), r.jd = new mr(Td), {
|
|
48247
48252
|
start: r,
|
|
48248
48253
|
tokens: rs({
|
|
48249
48254
|
groups: t
|
|
@@ -48287,9 +48292,9 @@ function ho(e, t, r, n, o) {
|
|
|
48287
48292
|
const s = t.length;
|
|
48288
48293
|
for (let l = 0; l < s - 1; l++) {
|
|
48289
48294
|
const u = t[l];
|
|
48290
|
-
e.j[u] ? i = e.j[u] : (i = new
|
|
48295
|
+
e.j[u] ? i = e.j[u] : (i = new mr(n), i.jr = o.slice(), e.j[u] = i), e = i;
|
|
48291
48296
|
}
|
|
48292
|
-
return i = new
|
|
48297
|
+
return i = new mr(r), i.jr = o.slice(), e.j[t[s - 1]] = i, i;
|
|
48293
48298
|
}
|
|
48294
48299
|
a(ho, "fastts");
|
|
48295
48300
|
function i1(e) {
|
|
@@ -48548,7 +48553,7 @@ const s1 = Ip("email", {
|
|
|
48548
48553
|
const e = this.tk;
|
|
48549
48554
|
return e.length >= 2 && e[0].t !== jl && e[1].t === To;
|
|
48550
48555
|
}
|
|
48551
|
-
}), Lr = /* @__PURE__ */ a((e) => new
|
|
48556
|
+
}), Lr = /* @__PURE__ */ a((e) => new mr(e), "makeState");
|
|
48552
48557
|
function V7(e) {
|
|
48553
48558
|
let {
|
|
48554
48559
|
groups: t
|
|
@@ -48647,7 +48652,7 @@ const W7 = typeof console < "u" && console && console.warn || (() => {
|
|
|
48647
48652
|
initialized: !1
|
|
48648
48653
|
};
|
|
48649
48654
|
function q7() {
|
|
48650
|
-
|
|
48655
|
+
mr.groups = {}, St.scanner = null, St.parser = null, St.tokenQueue = [], St.pluginQueue = [], St.customSchemes = [], St.initialized = !1;
|
|
48651
48656
|
}
|
|
48652
48657
|
a(q7, "reset");
|
|
48653
48658
|
function c1(e, t) {
|
|
@@ -49587,7 +49592,7 @@ mt.forwardRef((e, t) => {
|
|
|
49587
49592
|
} })
|
|
49588
49593
|
);
|
|
49589
49594
|
});
|
|
49590
|
-
const OG = /^\s*>\s$/, SG =
|
|
49595
|
+
const OG = /^\s*>\s$/, SG = Sr.create({
|
|
49591
49596
|
name: "blockquote",
|
|
49592
49597
|
addOptions() {
|
|
49593
49598
|
return {
|
|
@@ -49691,7 +49696,7 @@ const OG = /^\s*>\s$/, SG = Or.create({
|
|
|
49691
49696
|
})
|
|
49692
49697
|
];
|
|
49693
49698
|
}
|
|
49694
|
-
}), PG = "listItem", g1 = "textStyle", b1 = /^\s*([-+*])\s$/, MG =
|
|
49699
|
+
}), PG = "listItem", g1 = "textStyle", b1 = /^\s*([-+*])\s$/, MG = Sr.create({
|
|
49695
49700
|
name: "bulletList",
|
|
49696
49701
|
addOptions() {
|
|
49697
49702
|
return {
|
|
@@ -49785,7 +49790,7 @@ const OG = /^\s*>\s$/, SG = Or.create({
|
|
|
49785
49790
|
})
|
|
49786
49791
|
];
|
|
49787
49792
|
}
|
|
49788
|
-
}), FG = /^```([a-z]+)?[\s\n]$/, IG = /^~~~([a-z]+)?[\s\n]$/, LG =
|
|
49793
|
+
}), FG = /^```([a-z]+)?[\s\n]$/, IG = /^~~~([a-z]+)?[\s\n]$/, LG = Sr.create({
|
|
49789
49794
|
name: "codeBlock",
|
|
49790
49795
|
addOptions() {
|
|
49791
49796
|
return {
|
|
@@ -49912,7 +49917,7 @@ const OG = /^\s*>\s$/, SG = Or.create({
|
|
|
49912
49917
|
})
|
|
49913
49918
|
];
|
|
49914
49919
|
}
|
|
49915
|
-
}), NG =
|
|
49920
|
+
}), NG = Sr.create({
|
|
49916
49921
|
name: "doc",
|
|
49917
49922
|
topNode: !0,
|
|
49918
49923
|
content: "block+"
|
|
@@ -50235,7 +50240,7 @@ const qG = nr.create({
|
|
|
50235
50240
|
allowGapCursor: (t = Xe(ge(e, "allowGapCursor", r))) !== null && t !== void 0 ? t : null
|
|
50236
50241
|
};
|
|
50237
50242
|
}
|
|
50238
|
-
}), GG =
|
|
50243
|
+
}), GG = Sr.create({
|
|
50239
50244
|
name: "hardBreak",
|
|
50240
50245
|
addOptions() {
|
|
50241
50246
|
return {
|
|
@@ -50284,7 +50289,7 @@ const qG = nr.create({
|
|
|
50284
50289
|
"Shift-Enter": /* @__PURE__ */ a(() => this.editor.commands.setHardBreak(), "Shift-Enter")
|
|
50285
50290
|
};
|
|
50286
50291
|
}
|
|
50287
|
-
}), KG =
|
|
50292
|
+
}), KG = Sr.create({
|
|
50288
50293
|
name: "heading",
|
|
50289
50294
|
addOptions() {
|
|
50290
50295
|
return {
|
|
@@ -50713,7 +50718,7 @@ const Ck = Sk(!1, !0), Tk = Sk(!0, !0), oK = nr.create({
|
|
|
50713
50718
|
"Shift-Mod-я": /* @__PURE__ */ a(() => this.editor.commands.redo(), "Shift-Mod-я")
|
|
50714
50719
|
};
|
|
50715
50720
|
}
|
|
50716
|
-
}), iK =
|
|
50721
|
+
}), iK = Sr.create({
|
|
50717
50722
|
name: "horizontalRule",
|
|
50718
50723
|
addOptions() {
|
|
50719
50724
|
return {
|
|
@@ -50828,7 +50833,7 @@ const Ck = Sk(!1, !0), Tk = Sk(!0, !0), oK = nr.create({
|
|
|
50828
50833
|
})
|
|
50829
50834
|
];
|
|
50830
50835
|
}
|
|
50831
|
-
}), dK =
|
|
50836
|
+
}), dK = Sr.create({
|
|
50832
50837
|
name: "listItem",
|
|
50833
50838
|
addOptions() {
|
|
50834
50839
|
return {
|
|
@@ -50856,7 +50861,7 @@ const Ck = Sk(!1, !0), Tk = Sk(!0, !0), oK = nr.create({
|
|
|
50856
50861
|
"Shift-Tab": /* @__PURE__ */ a(() => this.editor.commands.liftListItem(this.name), "Shift-Tab")
|
|
50857
50862
|
};
|
|
50858
50863
|
}
|
|
50859
|
-
}), pK = "listItem", x1 = "textStyle", O1 = /^(\d+)\.\s$/, fK =
|
|
50864
|
+
}), pK = "listItem", x1 = "textStyle", O1 = /^(\d+)\.\s$/, fK = Sr.create({
|
|
50860
50865
|
name: "orderedList",
|
|
50861
50866
|
addOptions() {
|
|
50862
50867
|
return {
|
|
@@ -50922,7 +50927,7 @@ const Ck = Sk(!1, !0), Tk = Sk(!0, !0), oK = nr.create({
|
|
|
50922
50927
|
e
|
|
50923
50928
|
];
|
|
50924
50929
|
}
|
|
50925
|
-
}), hK =
|
|
50930
|
+
}), hK = Sr.create({
|
|
50926
50931
|
name: "paragraph",
|
|
50927
50932
|
priority: 1e3,
|
|
50928
50933
|
addOptions() {
|
|
@@ -51006,7 +51011,7 @@ const Ck = Sk(!1, !0), Tk = Sk(!0, !0), oK = nr.create({
|
|
|
51006
51011
|
})
|
|
51007
51012
|
];
|
|
51008
51013
|
}
|
|
51009
|
-
}), yK =
|
|
51014
|
+
}), yK = Sr.create({
|
|
51010
51015
|
name: "text",
|
|
51011
51016
|
group: "inline"
|
|
51012
51017
|
}), vK = nr.create({
|
|
@@ -55930,7 +55935,7 @@ const Wre = /* @__PURE__ */ a((e) => {
|
|
|
55930
55935
|
const {
|
|
55931
55936
|
propsContenido: { html: t = !1, ...r },
|
|
55932
55937
|
hidden: n
|
|
55933
|
-
} =
|
|
55938
|
+
} = hr(e);
|
|
55934
55939
|
return n ? null : t ? /* @__PURE__ */ y(ite, { ...r, className: "" }) : /* @__PURE__ */ y(Tn, { multiline: !0, ...r });
|
|
55935
55940
|
}, "TextArea"), kP = /* @__PURE__ */ a((e) => {
|
|
55936
55941
|
const { helperText: t, error: r } = e, n = Dt();
|
|
@@ -56190,7 +56195,7 @@ const Wre = /* @__PURE__ */ a((e) => {
|
|
|
56190
56195
|
}
|
|
56191
56196
|
);
|
|
56192
56197
|
}, "IntegerInput"), Ure = /* @__PURE__ */ a((e) => {
|
|
56193
|
-
const { tipo: t, ...r } = e, { propsContenido: n, hidden: o } =
|
|
56198
|
+
const { tipo: t, ...r } = e, { propsContenido: n, hidden: o } = hr(r), i = ir();
|
|
56194
56199
|
Ve(() => {
|
|
56195
56200
|
n.value && i.setValue(e.source, n.value);
|
|
56196
56201
|
}, [n.value]);
|
|
@@ -56214,7 +56219,7 @@ const Wre = /* @__PURE__ */ a((e) => {
|
|
|
56214
56219
|
const { label: t, sx: r } = e, {
|
|
56215
56220
|
hidden: n,
|
|
56216
56221
|
propsContenido: { helperText: o, sx: i, readOnly: s }
|
|
56217
|
-
} =
|
|
56222
|
+
} = hr(e);
|
|
56218
56223
|
return n ? null : /* @__PURE__ */ W(
|
|
56219
56224
|
Ke,
|
|
56220
56225
|
{
|
|
@@ -56349,7 +56354,7 @@ export {
|
|
|
56349
56354
|
Ute as timeParser,
|
|
56350
56355
|
Dg as useAjax,
|
|
56351
56356
|
Xi as useAsistente,
|
|
56352
|
-
|
|
56357
|
+
hr as useContenidoController,
|
|
56353
56358
|
are as useEtrActions,
|
|
56354
56359
|
kt as useFicha,
|
|
56355
56360
|
cT as useFieldController,
|