@luminix/mui-cms 0.1.7 → 0.1.9
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/bundle/mui-cms.bundle.iife.js +8 -8
- package/dist/mui-cms.js +204 -195
- package/package.json +1 -1
- package/types/dist.d.ts +4 -1
package/dist/mui-cms.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var jt = (e, t, n) =>
|
|
1
|
+
var rr = Object.defineProperty;
|
|
2
|
+
var sr = (e, t, n) => t in e ? rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var jt = (e, t, n) => sr(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { jsx as i, jsxs as w, Fragment as B } from "react/jsx-runtime";
|
|
5
|
-
import { config as se, collect as W, app as T, model as ye, App as
|
|
6
|
-
import { Outlet as
|
|
7
|
-
import { useCollection as
|
|
8
|
-
import { useMediaQuery as Be, Dialog as ht, DialogTitle as mt, DialogContent as gt, DialogContentText as
|
|
9
|
-
import h, { useContext as
|
|
10
|
-
import { useTranslation as L, initReactI18next as
|
|
11
|
-
import { Close as xt, ArrowDropDown as
|
|
12
|
-
import { useTheme as Et, styled as Z, createTheme as
|
|
13
|
-
import { Str as k, Obj as G, Query as
|
|
5
|
+
import { config as se, collect as W, app as T, model as ye, App as dn, Model as Qe, Route as or, Config as re } from "@luminix/core";
|
|
6
|
+
import { Outlet as ar, useParams as ir, useNavigate as ft, useSearchParams as $, Link as De, Form as lr } from "react-router-dom";
|
|
7
|
+
import { useCollection as fn, PaginationProvider as cr, usePagination as Se, ModelForm as ur, useApplyReducers as pt, Forms as dr, LuminixProvider as fr } from "@luminix/react";
|
|
8
|
+
import { useMediaQuery as Be, Dialog as ht, DialogTitle as mt, DialogContent as gt, DialogContentText as pr, DialogActions as bt, Button as N, Snackbar as hr, Alert as mr, IconButton as q, AlertTitle as gr, Box as V, Unstable_Grid2 as Q, Fab as br, SpeedDial as yr, SpeedDialIcon as wr, SpeedDialAction as Sr, ButtonGroup as xr, Popper as Ar, Grow as Cr, Paper as yt, ClickAwayListener as Er, MenuList as kr, MenuItem as oe, AppBar as pn, Toolbar as Tr, Typography as K, Avatar as Dr, Drawer as hn, Divider as Re, Autocomplete as Rr, TextField as xe, CircularProgress as Or, Switch as Pr, Stack as M, FormControl as et, InputLabel as tt, Select as Oe, Badge as wt, Popover as vr, Link as nt, Collapse as mn, TableCell as ee, RadioGroup as Ut, FormControlLabel as qe, Radio as _e, TableContainer as Fr, Table as Br, TableHead as Lr, TableRow as fe, Checkbox as St, TableSortLabel as Ir, Skeleton as qt, TableBody as Nr, TableFooter as Mr, Tabs as jr, Tab as _t, Breadcrumbs as Ur, List as qr, ListItem as _r, ListItemButton as Hr, ListItemIcon as gn, ListItemText as bn, Menu as yn, CssBaseline as zr } from "@mui/material";
|
|
9
|
+
import h, { useContext as wn, useMemo as Wr } from "react";
|
|
10
|
+
import { useTranslation as L, initReactI18next as Vr } from "react-i18next";
|
|
11
|
+
import { Close as xt, ArrowDropDown as Kr, ChevronLeft as At, ChevronRight as Ct, HighlightOffOutlined as Ht, AddCircleOutline as $r, FilterList as Yr, Menu as Jr, LastPage as Gr, FirstPage as Zr, Search as zt, SwapVert as Xr, ArrowUpward as Qr, ArrowDownward as es, MoreVert as Sn, ExpandLess as ts, ExpandMore as ns, PeopleOutlined as rs, CategoryOutlined as ss, DashboardOutlined as os, Add as as } from "@mui/icons-material";
|
|
12
|
+
import { useTheme as Et, styled as Z, createTheme as is, ThemeProvider as ls } from "@mui/material/styles";
|
|
13
|
+
import { Str as k, Obj as G, Query as xn, DateTime as Wt, Func as cs, MakeFacade as An, Reducible as Cn, ServiceProvider as En } from "@luminix/support";
|
|
14
14
|
import Vt from "react-dom";
|
|
15
15
|
import J from "i18next";
|
|
16
16
|
const us = {
|
|
@@ -44,9 +44,9 @@ const us = {
|
|
|
44
44
|
return h.useEffect(() => (document.title = r ? `${r} | ${se("app.name", He)}` : se("app.name", He), () => {
|
|
45
45
|
document.title = He;
|
|
46
46
|
}), [r]), /* @__PURE__ */ i(X.Provider, { value: f, children: e });
|
|
47
|
-
},
|
|
47
|
+
}, kn = h.createContext({
|
|
48
48
|
Model: null
|
|
49
|
-
}), ze = ({ Model: e, children: t }) => /* @__PURE__ */ i(
|
|
49
|
+
}), ze = ({ Model: e, children: t }) => /* @__PURE__ */ i(kn.Provider, { value: { Model: e }, children: t }), Tn = h.createContext({
|
|
50
50
|
isOpen: !1,
|
|
51
51
|
dialog: () => Promise.reject(new Error("Trying to access DialogContext outside of DialogProvider")),
|
|
52
52
|
dismissDialog: () => {
|
|
@@ -70,7 +70,7 @@ function ps({ children: e, ...t }) {
|
|
|
70
70
|
}, u = () => {
|
|
71
71
|
r && r(!0), s({});
|
|
72
72
|
};
|
|
73
|
-
return /* @__PURE__ */ w(
|
|
73
|
+
return /* @__PURE__ */ w(Tn.Provider, { value: {
|
|
74
74
|
isOpen: !!n,
|
|
75
75
|
current: n,
|
|
76
76
|
dialog: a,
|
|
@@ -87,7 +87,7 @@ function ps({ children: e, ...t }) {
|
|
|
87
87
|
...t,
|
|
88
88
|
children: [
|
|
89
89
|
(o == null ? void 0 : o.title) && /* @__PURE__ */ i(mt, { id: "alert-dialog-title", children: o.title }),
|
|
90
|
-
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(
|
|
90
|
+
/* @__PURE__ */ i(gt, { children: /* @__PURE__ */ i(pr, { id: "alert-dialog-description", children: o == null ? void 0 : o.message }) }),
|
|
91
91
|
/* @__PURE__ */ w(bt, { children: [
|
|
92
92
|
(o == null ? void 0 : o.type) === "confirm" && /* @__PURE__ */ w(B, { children: [
|
|
93
93
|
/* @__PURE__ */ i(N, { onClick: d, children: (o == null ? void 0 : o.cancelText) ?? l("No") }),
|
|
@@ -101,7 +101,7 @@ function ps({ children: e, ...t }) {
|
|
|
101
101
|
] });
|
|
102
102
|
}
|
|
103
103
|
function v() {
|
|
104
|
-
const { isBreakpointUp: e } =
|
|
104
|
+
const { isBreakpointUp: e } = wn(X);
|
|
105
105
|
return e;
|
|
106
106
|
}
|
|
107
107
|
const kt = h.createContext({
|
|
@@ -127,7 +127,7 @@ const kt = h.createContext({
|
|
|
127
127
|
sx: s,
|
|
128
128
|
...o
|
|
129
129
|
}) => {
|
|
130
|
-
const a =
|
|
130
|
+
const a = fn(rt), l = v(), u = Et().spacing(l ? 3 : 1), [c, f] = h.useState(), [y, S] = h.useState(u), { vertical: b = "bottom" } = r || {}, m = (g, A) => {
|
|
131
131
|
A !== "clickaway" && f(void 0);
|
|
132
132
|
};
|
|
133
133
|
return h.useEffect(() => {
|
|
@@ -148,7 +148,7 @@ const kt = h.createContext({
|
|
|
148
148
|
}, children: [
|
|
149
149
|
e,
|
|
150
150
|
/* @__PURE__ */ i(
|
|
151
|
-
|
|
151
|
+
hr,
|
|
152
152
|
{
|
|
153
153
|
open: !!c,
|
|
154
154
|
autoHideDuration: t,
|
|
@@ -160,7 +160,7 @@ const kt = h.createContext({
|
|
|
160
160
|
},
|
|
161
161
|
...o,
|
|
162
162
|
children: c && /* @__PURE__ */ w(
|
|
163
|
-
|
|
163
|
+
mr,
|
|
164
164
|
{
|
|
165
165
|
onClose: m,
|
|
166
166
|
severity: c.severity,
|
|
@@ -180,7 +180,7 @@ const kt = h.createContext({
|
|
|
180
180
|
/* @__PURE__ */ i(q, { "aria-label": "close", color: "inherit", size: "small", onClick: m, children: /* @__PURE__ */ i(xt, {}) }, "close")
|
|
181
181
|
],
|
|
182
182
|
children: [
|
|
183
|
-
c.title && /* @__PURE__ */ i(
|
|
183
|
+
c.title && /* @__PURE__ */ i(gr, { children: c.title }),
|
|
184
184
|
c.message
|
|
185
185
|
]
|
|
186
186
|
}
|
|
@@ -206,7 +206,7 @@ const kt = h.createContext({
|
|
|
206
206
|
/* Error */
|
|
207
207
|
}, o) => [
|
|
208
208
|
{
|
|
209
|
-
element: /* @__PURE__ */ i(gs, { children: /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(
|
|
209
|
+
element: /* @__PURE__ */ i(gs, { children: /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(ar, {}) }) }),
|
|
210
210
|
// errorElement: (
|
|
211
211
|
// <Error />
|
|
212
212
|
// ),
|
|
@@ -220,7 +220,7 @@ const kt = h.createContext({
|
|
|
220
220
|
{
|
|
221
221
|
path: "/" + k.kebab(l.plural()),
|
|
222
222
|
name: `luminix.cms.${a}.index`,
|
|
223
|
-
element: /* @__PURE__ */ i(ze, { Model: l, children: /* @__PURE__ */ i(
|
|
223
|
+
element: /* @__PURE__ */ i(ze, { Model: l, children: /* @__PURE__ */ i(cr, { factory: l.query, children: /* @__PURE__ */ i(r, {}) }) })
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
path: "/" + k.kebab(l.plural()) + "/create",
|
|
@@ -255,8 +255,8 @@ const ys = () => {
|
|
|
255
255
|
] }) })
|
|
256
256
|
] });
|
|
257
257
|
function H(e, t) {
|
|
258
|
-
const { layout: n } =
|
|
259
|
-
return
|
|
258
|
+
const { layout: n } = wn(X);
|
|
259
|
+
return Wr(() => G.get(n, e, t), [n, e, t]);
|
|
260
260
|
}
|
|
261
261
|
const Ss = Z("div")(({ theme: e }) => ({
|
|
262
262
|
padding: e.spacing(0, 1),
|
|
@@ -306,7 +306,7 @@ function As() {
|
|
|
306
306
|
}), [e]);
|
|
307
307
|
}
|
|
308
308
|
function te() {
|
|
309
|
-
const { Model: e } = h.useContext(
|
|
309
|
+
const { Model: e } = h.useContext(kn);
|
|
310
310
|
return e;
|
|
311
311
|
}
|
|
312
312
|
const Cs = () => {
|
|
@@ -372,7 +372,7 @@ function Es() {
|
|
|
372
372
|
e(!1);
|
|
373
373
|
}), [e]);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Dn(e, t) {
|
|
376
376
|
return function() {
|
|
377
377
|
return e.apply(t, arguments);
|
|
378
378
|
};
|
|
@@ -384,12 +384,12 @@ const { toString: ks } = Object.prototype, { getPrototypeOf: Dt } = Object, Le =
|
|
|
384
384
|
function Ts(e) {
|
|
385
385
|
return e !== null && !we(e) && e.constructor !== null && !we(e.constructor) && _(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
386
386
|
}
|
|
387
|
-
const
|
|
387
|
+
const Rn = Y("ArrayBuffer");
|
|
388
388
|
function Ds(e) {
|
|
389
389
|
let t;
|
|
390
|
-
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer &&
|
|
390
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Rn(e.buffer), t;
|
|
391
391
|
}
|
|
392
|
-
const Rs = Ie("string"), _ = Ie("function"),
|
|
392
|
+
const Rs = Ie("string"), _ = Ie("function"), On = Ie("number"), Ne = (e) => e !== null && typeof e == "object", Os = (e) => e === !0 || e === !1, ke = (e) => {
|
|
393
393
|
if (Le(e) !== "object")
|
|
394
394
|
return !1;
|
|
395
395
|
const t = Dt(e);
|
|
@@ -413,7 +413,7 @@ function Ae(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
413
413
|
l = o[r], t.call(null, e[l], l, e);
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Pn(e, t) {
|
|
417
417
|
t = t.toLowerCase();
|
|
418
418
|
const n = Object.keys(e);
|
|
419
419
|
let r = n.length, s;
|
|
@@ -422,10 +422,10 @@ function Rn(e, t) {
|
|
|
422
422
|
return s;
|
|
423
423
|
return null;
|
|
424
424
|
}
|
|
425
|
-
const ie = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global,
|
|
425
|
+
const ie = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, vn = (e) => !we(e) && e !== ie;
|
|
426
426
|
function st() {
|
|
427
|
-
const { caseless: e } =
|
|
428
|
-
const o = e &&
|
|
427
|
+
const { caseless: e } = vn(this) && this || {}, t = {}, n = (r, s) => {
|
|
428
|
+
const o = e && Pn(t, s) || s;
|
|
429
429
|
ke(t[o]) && ke(r) ? t[o] = st(t[o], r) : ke(r) ? t[o] = st({}, r) : pe(r) ? t[o] = r.slice() : t[o] = r;
|
|
430
430
|
};
|
|
431
431
|
for (let r = 0, s = arguments.length; r < s; r++)
|
|
@@ -433,7 +433,7 @@ function st() {
|
|
|
433
433
|
return t;
|
|
434
434
|
}
|
|
435
435
|
const Hs = (e, t, n, { allOwnKeys: r } = {}) => (Ae(t, (s, o) => {
|
|
436
|
-
n && _(s) ? e[o] =
|
|
436
|
+
n && _(s) ? e[o] = Dn(s, n) : e[o] = s;
|
|
437
437
|
}, { allOwnKeys: r }), e), zs = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ws = (e, t, n, r) => {
|
|
438
438
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
439
439
|
value: t.prototype
|
|
@@ -456,7 +456,7 @@ const Hs = (e, t, n, { allOwnKeys: r } = {}) => (Ae(t, (s, o) => {
|
|
|
456
456
|
if (!e) return null;
|
|
457
457
|
if (pe(e)) return e;
|
|
458
458
|
let t = e.length;
|
|
459
|
-
if (!
|
|
459
|
+
if (!On(t)) return null;
|
|
460
460
|
const n = new Array(t);
|
|
461
461
|
for (; t-- > 0; )
|
|
462
462
|
n[t] = e[t];
|
|
@@ -479,14 +479,14 @@ const Hs = (e, t, n, { allOwnKeys: r } = {}) => (Ae(t, (s, o) => {
|
|
|
479
479
|
function(n, r, s) {
|
|
480
480
|
return r.toUpperCase() + s;
|
|
481
481
|
}
|
|
482
|
-
), Kt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Qs = Y("RegExp"),
|
|
482
|
+
), Kt = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Qs = Y("RegExp"), Fn = (e, t) => {
|
|
483
483
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
484
484
|
Ae(n, (s, o) => {
|
|
485
485
|
let a;
|
|
486
486
|
(a = t(s, o, e)) !== !1 && (r[o] = a || s);
|
|
487
487
|
}), Object.defineProperties(e, r);
|
|
488
488
|
}, eo = (e) => {
|
|
489
|
-
|
|
489
|
+
Fn(e, (t, n) => {
|
|
490
490
|
if (_(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
491
491
|
return !1;
|
|
492
492
|
const r = e[n];
|
|
@@ -508,11 +508,11 @@ const Hs = (e, t, n, { allOwnKeys: r } = {}) => (Ae(t, (s, o) => {
|
|
|
508
508
|
};
|
|
509
509
|
return pe(e) ? r(e) : r(String(e).split(t)), n;
|
|
510
510
|
}, no = () => {
|
|
511
|
-
}, ro = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, We = "abcdefghijklmnopqrstuvwxyz", $t = "0123456789",
|
|
511
|
+
}, ro = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, We = "abcdefghijklmnopqrstuvwxyz", $t = "0123456789", Bn = {
|
|
512
512
|
DIGIT: $t,
|
|
513
513
|
ALPHA: We,
|
|
514
514
|
ALPHA_DIGIT: We + We.toUpperCase() + $t
|
|
515
|
-
}, so = (e = 16, t =
|
|
515
|
+
}, so = (e = 16, t = Bn.ALPHA_DIGIT) => {
|
|
516
516
|
let n = "";
|
|
517
517
|
const { length: r } = t;
|
|
518
518
|
for (; e--; )
|
|
@@ -539,21 +539,21 @@ const ao = (e) => {
|
|
|
539
539
|
return r;
|
|
540
540
|
};
|
|
541
541
|
return n(e, 0);
|
|
542
|
-
}, io = Y("AsyncFunction"), lo = (e) => e && (Ne(e) || _(e)) && _(e.then) && _(e.catch),
|
|
542
|
+
}, io = Y("AsyncFunction"), lo = (e) => e && (Ne(e) || _(e)) && _(e.then) && _(e.catch), Ln = ((e, t) => e ? setImmediate : t ? ((n, r) => (ie.addEventListener("message", ({ source: s, data: o }) => {
|
|
543
543
|
s === ie && o === n && r.length && r.shift()();
|
|
544
544
|
}, !1), (s) => {
|
|
545
545
|
r.push(s), ie.postMessage(n, "*");
|
|
546
546
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
547
547
|
typeof setImmediate == "function",
|
|
548
548
|
_(ie.postMessage)
|
|
549
|
-
), co = typeof queueMicrotask < "u" ? queueMicrotask.bind(ie) : typeof process < "u" && process.nextTick ||
|
|
549
|
+
), co = typeof queueMicrotask < "u" ? queueMicrotask.bind(ie) : typeof process < "u" && process.nextTick || Ln, p = {
|
|
550
550
|
isArray: pe,
|
|
551
|
-
isArrayBuffer:
|
|
551
|
+
isArrayBuffer: Rn,
|
|
552
552
|
isBuffer: Ts,
|
|
553
553
|
isFormData: Is,
|
|
554
554
|
isArrayBufferView: Ds,
|
|
555
555
|
isString: Rs,
|
|
556
|
-
isNumber:
|
|
556
|
+
isNumber: On,
|
|
557
557
|
isBoolean: Os,
|
|
558
558
|
isObject: Ne,
|
|
559
559
|
isPlainObject: ke,
|
|
@@ -588,22 +588,22 @@ const ao = (e) => {
|
|
|
588
588
|
hasOwnProperty: Kt,
|
|
589
589
|
hasOwnProp: Kt,
|
|
590
590
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
591
|
-
reduceDescriptors:
|
|
591
|
+
reduceDescriptors: Fn,
|
|
592
592
|
freezeMethods: eo,
|
|
593
593
|
toObjectSet: to,
|
|
594
594
|
toCamelCase: Xs,
|
|
595
595
|
noop: no,
|
|
596
596
|
toFiniteNumber: ro,
|
|
597
|
-
findKey:
|
|
597
|
+
findKey: Pn,
|
|
598
598
|
global: ie,
|
|
599
|
-
isContextDefined:
|
|
600
|
-
ALPHABET:
|
|
599
|
+
isContextDefined: vn,
|
|
600
|
+
ALPHABET: Bn,
|
|
601
601
|
generateString: so,
|
|
602
602
|
isSpecCompliantForm: oo,
|
|
603
603
|
toJSONObject: ao,
|
|
604
604
|
isAsyncFn: io,
|
|
605
605
|
isThenable: lo,
|
|
606
|
-
setImmediate:
|
|
606
|
+
setImmediate: Ln,
|
|
607
607
|
asap: co
|
|
608
608
|
};
|
|
609
609
|
function C(e, t, n, r, s) {
|
|
@@ -630,7 +630,7 @@ p.inherits(C, Error, {
|
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
632
|
});
|
|
633
|
-
const
|
|
633
|
+
const In = C.prototype, Nn = {};
|
|
634
634
|
[
|
|
635
635
|
"ERR_BAD_OPTION_VALUE",
|
|
636
636
|
"ERR_BAD_OPTION",
|
|
@@ -646,12 +646,12 @@ const Bn = C.prototype, Ln = {};
|
|
|
646
646
|
"ERR_INVALID_URL"
|
|
647
647
|
// eslint-disable-next-line func-names
|
|
648
648
|
].forEach((e) => {
|
|
649
|
-
|
|
649
|
+
Nn[e] = { value: e };
|
|
650
650
|
});
|
|
651
|
-
Object.defineProperties(C,
|
|
652
|
-
Object.defineProperty(
|
|
651
|
+
Object.defineProperties(C, Nn);
|
|
652
|
+
Object.defineProperty(In, "isAxiosError", { value: !0 });
|
|
653
653
|
C.from = (e, t, n, r, s, o) => {
|
|
654
|
-
const a = Object.create(
|
|
654
|
+
const a = Object.create(In);
|
|
655
655
|
return p.toFlatObject(e, a, function(d) {
|
|
656
656
|
return d !== Error.prototype;
|
|
657
657
|
}, (l) => l !== "isAxiosError"), C.call(a, e.message, t, n, r, s), a.cause = e, a.name = e.name, o && Object.assign(a, o), a;
|
|
@@ -660,12 +660,12 @@ const uo = null;
|
|
|
660
660
|
function ot(e) {
|
|
661
661
|
return p.isPlainObject(e) || p.isArray(e);
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Mn(e) {
|
|
664
664
|
return p.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
665
665
|
}
|
|
666
666
|
function Yt(e, t, n) {
|
|
667
667
|
return e ? e.concat(t).map(function(s, o) {
|
|
668
|
-
return s =
|
|
668
|
+
return s = Mn(s), !n && o ? "[" + s + "]" : s;
|
|
669
669
|
}).join(n ? "." : "") : t;
|
|
670
670
|
}
|
|
671
671
|
function fo(e) {
|
|
@@ -701,7 +701,7 @@ function Me(e, t, n) {
|
|
|
701
701
|
if (p.endsWith(m, "{}"))
|
|
702
702
|
m = r ? m : m.slice(0, -2), b = JSON.stringify(b);
|
|
703
703
|
else if (p.isArray(b) && fo(b) || (p.isFileList(b) || p.endsWith(m, "[]")) && (A = p.toArray(b)))
|
|
704
|
-
return m =
|
|
704
|
+
return m = Mn(m), A.forEach(function(E, P) {
|
|
705
705
|
!(p.isUndefined(E) || E === null) && t.append(
|
|
706
706
|
// eslint-disable-next-line no-nested-ternary
|
|
707
707
|
a === !0 ? Yt([m], P, o) : a === null ? m : m + "[]",
|
|
@@ -752,11 +752,11 @@ function Jt(e) {
|
|
|
752
752
|
function Rt(e, t) {
|
|
753
753
|
this._pairs = [], e && Me(e, this, t);
|
|
754
754
|
}
|
|
755
|
-
const
|
|
756
|
-
|
|
755
|
+
const jn = Rt.prototype;
|
|
756
|
+
jn.append = function(t, n) {
|
|
757
757
|
this._pairs.push([t, n]);
|
|
758
758
|
};
|
|
759
|
-
|
|
759
|
+
jn.toString = function(t) {
|
|
760
760
|
const n = t ? function(r) {
|
|
761
761
|
return t.call(this, r, Jt);
|
|
762
762
|
} : Jt;
|
|
@@ -767,7 +767,7 @@ Nn.toString = function(t) {
|
|
|
767
767
|
function ho(e) {
|
|
768
768
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Un(e, t, n) {
|
|
771
771
|
if (!t)
|
|
772
772
|
return e;
|
|
773
773
|
const r = n && n.encode || ho, s = n && n.serialize;
|
|
@@ -832,7 +832,7 @@ class Gt {
|
|
|
832
832
|
});
|
|
833
833
|
}
|
|
834
834
|
}
|
|
835
|
-
const
|
|
835
|
+
const qn = {
|
|
836
836
|
silentJSONParsing: !0,
|
|
837
837
|
forcedJSONParsing: !0,
|
|
838
838
|
clarifyTimeoutError: !1
|
|
@@ -875,7 +875,7 @@ function ko(e) {
|
|
|
875
875
|
o = n[r], t[o] = e[o];
|
|
876
876
|
return t;
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function _n(e) {
|
|
879
879
|
function t(n, r, s, o) {
|
|
880
880
|
let a = n[o++];
|
|
881
881
|
if (a === "__proto__") return !0;
|
|
@@ -901,12 +901,12 @@ function To(e, t, n) {
|
|
|
901
901
|
return (0, JSON.stringify)(e);
|
|
902
902
|
}
|
|
903
903
|
const Ce = {
|
|
904
|
-
transitional:
|
|
904
|
+
transitional: qn,
|
|
905
905
|
adapter: ["xhr", "http", "fetch"],
|
|
906
906
|
transformRequest: [function(t, n) {
|
|
907
907
|
const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, o = p.isObject(t);
|
|
908
908
|
if (o && p.isHTMLForm(t) && (t = new FormData(t)), p.isFormData(t))
|
|
909
|
-
return s ? JSON.stringify(
|
|
909
|
+
return s ? JSON.stringify(_n(t)) : t;
|
|
910
910
|
if (p.isArrayBuffer(t) || p.isBuffer(t) || p.isStream(t) || p.isFile(t) || p.isBlob(t) || p.isReadableStream(t))
|
|
911
911
|
return t;
|
|
912
912
|
if (p.isArrayBufferView(t))
|
|
@@ -1169,7 +1169,7 @@ function Ke(e, t) {
|
|
|
1169
1169
|
o = l.call(n, o, s.normalize(), t ? t.status : void 0);
|
|
1170
1170
|
}), s.normalize(), o;
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function Hn(e) {
|
|
1173
1173
|
return !!(e && e.__CANCEL__);
|
|
1174
1174
|
}
|
|
1175
1175
|
function he(e, t, n) {
|
|
@@ -1178,7 +1178,7 @@ function he(e, t, n) {
|
|
|
1178
1178
|
p.inherits(he, C, {
|
|
1179
1179
|
__CANCEL__: !0
|
|
1180
1180
|
});
|
|
1181
|
-
function
|
|
1181
|
+
function zn(e, t, n) {
|
|
1182
1182
|
const r = n.config.validateStatus;
|
|
1183
1183
|
!n.status || !r || r(n.status) ? e(n) : t(new C(
|
|
1184
1184
|
"Request failed with status code " + n.status,
|
|
@@ -1310,7 +1310,7 @@ function jo(e) {
|
|
|
1310
1310
|
function Uo(e, t) {
|
|
1311
1311
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Wn(e, t) {
|
|
1314
1314
|
return e && !jo(t) ? Uo(e, t) : t;
|
|
1315
1315
|
}
|
|
1316
1316
|
const en = (e) => e instanceof U ? { ...e } : e;
|
|
@@ -1378,10 +1378,10 @@ function ue(e, t) {
|
|
|
1378
1378
|
p.isUndefined(y) && f !== l || (n[c] = y);
|
|
1379
1379
|
}), n;
|
|
1380
1380
|
}
|
|
1381
|
-
const
|
|
1381
|
+
const Vn = (e) => {
|
|
1382
1382
|
const t = ue({}, e);
|
|
1383
1383
|
let { data: n, withXSRFToken: r, xsrfHeaderName: s, xsrfCookieName: o, headers: a, auth: l } = t;
|
|
1384
|
-
t.headers = a = U.from(a), t.url =
|
|
1384
|
+
t.headers = a = U.from(a), t.url = Un(Wn(t.baseURL, t.url), e.params, e.paramsSerializer), l && a.set(
|
|
1385
1385
|
"Authorization",
|
|
1386
1386
|
"Basic " + btoa((l.username || "") + ":" + (l.password ? unescape(encodeURIComponent(l.password)) : ""))
|
|
1387
1387
|
);
|
|
@@ -1401,7 +1401,7 @@ const zn = (e) => {
|
|
|
1401
1401
|
return t;
|
|
1402
1402
|
}, qo = typeof XMLHttpRequest < "u", _o = qo && function(e) {
|
|
1403
1403
|
return new Promise(function(n, r) {
|
|
1404
|
-
const s =
|
|
1404
|
+
const s = Vn(e);
|
|
1405
1405
|
let o = s.data;
|
|
1406
1406
|
const a = U.from(s.headers).normalize();
|
|
1407
1407
|
let { responseType: l, onUploadProgress: d, onDownloadProgress: u } = s, c, f, y, S, b;
|
|
@@ -1423,7 +1423,7 @@ const zn = (e) => {
|
|
|
1423
1423
|
config: e,
|
|
1424
1424
|
request: g
|
|
1425
1425
|
};
|
|
1426
|
-
|
|
1426
|
+
zn(function(D) {
|
|
1427
1427
|
n(D), m();
|
|
1428
1428
|
}, function(D) {
|
|
1429
1429
|
r(D), m();
|
|
@@ -1437,7 +1437,7 @@ const zn = (e) => {
|
|
|
1437
1437
|
r(new C("Network Error", C.ERR_NETWORK, e, g)), g = null;
|
|
1438
1438
|
}, g.ontimeout = function() {
|
|
1439
1439
|
let P = s.timeout ? "timeout of " + s.timeout + "ms exceeded" : "timeout exceeded";
|
|
1440
|
-
const R = s.transitional ||
|
|
1440
|
+
const R = s.transitional || qn;
|
|
1441
1441
|
s.timeoutErrorMessage && (P = s.timeoutErrorMessage), r(new C(
|
|
1442
1442
|
P,
|
|
1443
1443
|
R.clarifyTimeoutError ? C.ETIMEDOUT : C.ECONNABORTED,
|
|
@@ -1536,13 +1536,13 @@ const zn = (e) => {
|
|
|
1536
1536
|
}, {
|
|
1537
1537
|
highWaterMark: 2
|
|
1538
1538
|
});
|
|
1539
|
-
}, je = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function",
|
|
1539
|
+
}, je = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Kn = je && typeof ReadableStream == "function", Ko = je && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), $n = (e, ...t) => {
|
|
1540
1540
|
try {
|
|
1541
1541
|
return !!e(...t);
|
|
1542
1542
|
} catch {
|
|
1543
1543
|
return !1;
|
|
1544
1544
|
}
|
|
1545
|
-
}, $o =
|
|
1545
|
+
}, $o = Kn && $n(() => {
|
|
1546
1546
|
let e = !1;
|
|
1547
1547
|
const t = new Request(j.origin, {
|
|
1548
1548
|
body: new ReadableStream(),
|
|
@@ -1552,7 +1552,7 @@ const zn = (e) => {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
}).headers.has("Content-Type");
|
|
1554
1554
|
return e && !t;
|
|
1555
|
-
}), nn = 64 * 1024, it =
|
|
1555
|
+
}), nn = 64 * 1024, it = Kn && $n(() => p.isReadableStream(new Response("").body)), ve = {
|
|
1556
1556
|
stream: it && ((e) => e.body)
|
|
1557
1557
|
};
|
|
1558
1558
|
je && ((e) => {
|
|
@@ -1593,7 +1593,7 @@ const Yo = async (e) => {
|
|
|
1593
1593
|
headers: c,
|
|
1594
1594
|
withCredentials: f = "same-origin",
|
|
1595
1595
|
fetchOptions: y
|
|
1596
|
-
} =
|
|
1596
|
+
} = Vn(e);
|
|
1597
1597
|
u = u ? (u + "").toLowerCase() : "text";
|
|
1598
1598
|
let S = Ho([s, o && o.toAbortSignal()], a), b;
|
|
1599
1599
|
const m = S && S.unsubscribe && (() => {
|
|
@@ -1647,7 +1647,7 @@ const Yo = async (e) => {
|
|
|
1647
1647
|
u = u || "text";
|
|
1648
1648
|
let P = await ve[p.findKey(ve, u) || "text"](x, e);
|
|
1649
1649
|
return !E && m && m(), await new Promise((R, O) => {
|
|
1650
|
-
|
|
1650
|
+
zn(R, O, {
|
|
1651
1651
|
data: P,
|
|
1652
1652
|
headers: U.from(x.headers),
|
|
1653
1653
|
status: x.status,
|
|
@@ -1678,7 +1678,7 @@ p.forEach(lt, (e, t) => {
|
|
|
1678
1678
|
Object.defineProperty(e, "adapterName", { value: t });
|
|
1679
1679
|
}
|
|
1680
1680
|
});
|
|
1681
|
-
const rn = (e) => `- ${e}`, Zo = (e) => p.isFunction(e) || e === null || e === !1,
|
|
1681
|
+
const rn = (e) => `- ${e}`, Zo = (e) => p.isFunction(e) || e === null || e === !1, Yn = {
|
|
1682
1682
|
getAdapter: (e) => {
|
|
1683
1683
|
e = p.isArray(e) ? e : [e];
|
|
1684
1684
|
const { length: t } = e;
|
|
@@ -1717,21 +1717,21 @@ function sn(e) {
|
|
|
1717
1717
|
return $e(e), e.headers = U.from(e.headers), e.data = Ke.call(
|
|
1718
1718
|
e,
|
|
1719
1719
|
e.transformRequest
|
|
1720
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1720
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Yn.getAdapter(e.adapter || Ce.adapter)(e).then(function(r) {
|
|
1721
1721
|
return $e(e), r.data = Ke.call(
|
|
1722
1722
|
e,
|
|
1723
1723
|
e.transformResponse,
|
|
1724
1724
|
r
|
|
1725
1725
|
), r.headers = U.from(r.headers), r;
|
|
1726
1726
|
}, function(r) {
|
|
1727
|
-
return
|
|
1727
|
+
return Hn(r) || ($e(e), r && r.response && (r.response.data = Ke.call(
|
|
1728
1728
|
e,
|
|
1729
1729
|
e.transformResponse,
|
|
1730
1730
|
r.response
|
|
1731
1731
|
), r.response.headers = U.from(r.response.headers))), Promise.reject(r);
|
|
1732
1732
|
});
|
|
1733
1733
|
}
|
|
1734
|
-
const
|
|
1734
|
+
const Jn = "1.7.7", Pt = {};
|
|
1735
1735
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1736
1736
|
Pt[e] = function(r) {
|
|
1737
1737
|
return typeof r === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
@@ -1740,7 +1740,7 @@ const $n = "1.7.7", Pt = {};
|
|
|
1740
1740
|
const on = {};
|
|
1741
1741
|
Pt.transitional = function(t, n, r) {
|
|
1742
1742
|
function s(o, a) {
|
|
1743
|
-
return "[Axios v" +
|
|
1743
|
+
return "[Axios v" + Jn + "] Transitional option '" + o + "'" + a + (r ? ". " + r : "");
|
|
1744
1744
|
}
|
|
1745
1745
|
return (o, a, l) => {
|
|
1746
1746
|
if (t === !1)
|
|
@@ -1870,8 +1870,8 @@ let le = class {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
getUri(t) {
|
|
1872
1872
|
t = ue(this.defaults, t);
|
|
1873
|
-
const n =
|
|
1874
|
-
return
|
|
1873
|
+
const n = Wn(t.baseURL, t.url);
|
|
1874
|
+
return Un(n, t.params, t.paramsSerializer);
|
|
1875
1875
|
}
|
|
1876
1876
|
};
|
|
1877
1877
|
p.forEach(["delete", "get", "head", "options"], function(t) {
|
|
@@ -1898,7 +1898,7 @@ p.forEach(["post", "put", "patch"], function(t) {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
le.prototype[t] = n(), le.prototype[t + "Form"] = n(!0);
|
|
1900
1900
|
});
|
|
1901
|
-
let Qo = class
|
|
1901
|
+
let Qo = class Gn {
|
|
1902
1902
|
constructor(t) {
|
|
1903
1903
|
if (typeof t != "function")
|
|
1904
1904
|
throw new TypeError("executor must be a function.");
|
|
@@ -1964,7 +1964,7 @@ let Qo = class Yn {
|
|
|
1964
1964
|
static source() {
|
|
1965
1965
|
let t;
|
|
1966
1966
|
return {
|
|
1967
|
-
token: new
|
|
1967
|
+
token: new Gn(function(s) {
|
|
1968
1968
|
t = s;
|
|
1969
1969
|
}),
|
|
1970
1970
|
cancel: t
|
|
@@ -2047,18 +2047,18 @@ const ut = {
|
|
|
2047
2047
|
Object.entries(ut).forEach(([e, t]) => {
|
|
2048
2048
|
ut[t] = e;
|
|
2049
2049
|
});
|
|
2050
|
-
function
|
|
2051
|
-
const t = new le(e), n =
|
|
2050
|
+
function Zn(e) {
|
|
2051
|
+
const t = new le(e), n = Dn(le.prototype.request, t);
|
|
2052
2052
|
return p.extend(n, le.prototype, t, { allOwnKeys: !0 }), p.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
|
|
2053
|
-
return
|
|
2053
|
+
return Zn(ue(e, s));
|
|
2054
2054
|
}, n;
|
|
2055
2055
|
}
|
|
2056
|
-
const F =
|
|
2056
|
+
const F = Zn(Ce);
|
|
2057
2057
|
F.Axios = le;
|
|
2058
2058
|
F.CanceledError = he;
|
|
2059
2059
|
F.CancelToken = Qo;
|
|
2060
|
-
F.isCancel =
|
|
2061
|
-
F.VERSION =
|
|
2060
|
+
F.isCancel = Hn;
|
|
2061
|
+
F.VERSION = Jn;
|
|
2062
2062
|
F.toFormData = Me;
|
|
2063
2063
|
F.AxiosError = C;
|
|
2064
2064
|
F.Cancel = F.CanceledError;
|
|
@@ -2069,27 +2069,27 @@ F.spread = ea;
|
|
|
2069
2069
|
F.isAxiosError = ta;
|
|
2070
2070
|
F.mergeConfig = ue;
|
|
2071
2071
|
F.AxiosHeaders = U;
|
|
2072
|
-
F.formToJSON = (e) =>
|
|
2073
|
-
F.getAdapter =
|
|
2072
|
+
F.formToJSON = (e) => _n(p.isHTMLForm(e) ? new FormData(e) : e);
|
|
2073
|
+
F.getAdapter = Yn.getAdapter;
|
|
2074
2074
|
F.HttpStatusCode = ut;
|
|
2075
2075
|
F.default = F;
|
|
2076
2076
|
const {
|
|
2077
|
-
Axios:
|
|
2078
|
-
AxiosError:
|
|
2079
|
-
CanceledError:
|
|
2080
|
-
isCancel:
|
|
2081
|
-
CancelToken:
|
|
2082
|
-
VERSION:
|
|
2083
|
-
all:
|
|
2084
|
-
Cancel:
|
|
2077
|
+
Axios: Pi,
|
|
2078
|
+
AxiosError: vi,
|
|
2079
|
+
CanceledError: Fi,
|
|
2080
|
+
isCancel: Bi,
|
|
2081
|
+
CancelToken: Li,
|
|
2082
|
+
VERSION: Ii,
|
|
2083
|
+
all: Ni,
|
|
2084
|
+
Cancel: Mi,
|
|
2085
2085
|
isAxiosError: na,
|
|
2086
|
-
spread:
|
|
2087
|
-
toFormData:
|
|
2088
|
-
AxiosHeaders:
|
|
2089
|
-
HttpStatusCode:
|
|
2090
|
-
formToJSON:
|
|
2091
|
-
getAdapter:
|
|
2092
|
-
mergeConfig:
|
|
2086
|
+
spread: ji,
|
|
2087
|
+
toFormData: Ui,
|
|
2088
|
+
AxiosHeaders: qi,
|
|
2089
|
+
HttpStatusCode: _i,
|
|
2090
|
+
formToJSON: Hi,
|
|
2091
|
+
getAdapter: zi,
|
|
2092
|
+
mergeConfig: Wi
|
|
2093
2093
|
} = F;
|
|
2094
2094
|
function ce(e) {
|
|
2095
2095
|
return (t) => {
|
|
@@ -2112,7 +2112,7 @@ function ra() {
|
|
|
2112
2112
|
}, [e]);
|
|
2113
2113
|
}
|
|
2114
2114
|
const sa = ({ create: e = !1 }) => {
|
|
2115
|
-
const [t, n] = h.useState(), { id: r } =
|
|
2115
|
+
const [t, n] = h.useState(), { id: r } = ir(), { t: s } = L(), o = vt(), a = ft(), l = te(), d = H("breakpoint", "md");
|
|
2116
2116
|
Tt(
|
|
2117
2117
|
t != null && t.exists ? s("Edit :model “:label“", { model: l.singular(), label: (t == null ? void 0 : t.getLabel()) || "..." }) : s("Create :model", { model: l.singular() })
|
|
2118
2118
|
), Es();
|
|
@@ -2139,7 +2139,7 @@ const sa = ({ create: e = !1 }) => {
|
|
|
2139
2139
|
xs: 12,
|
|
2140
2140
|
[d]: 6,
|
|
2141
2141
|
children: /* @__PURE__ */ i(
|
|
2142
|
-
|
|
2142
|
+
ur,
|
|
2143
2143
|
{
|
|
2144
2144
|
submitText: "Save",
|
|
2145
2145
|
...y,
|
|
@@ -2161,17 +2161,17 @@ function oa(e) {
|
|
|
2161
2161
|
}), [o, s, t]);
|
|
2162
2162
|
}
|
|
2163
2163
|
function aa() {
|
|
2164
|
-
return h.useContext(
|
|
2164
|
+
return h.useContext(Tn).dialog;
|
|
2165
2165
|
}
|
|
2166
2166
|
function Ft() {
|
|
2167
2167
|
const e = ft(), t = vt(), n = aa(), { t: r } = L(), { refresh: s } = Se();
|
|
2168
2168
|
return { navigate: e, notify: t, dialog: n, t: r, refresh: s };
|
|
2169
2169
|
}
|
|
2170
|
-
const ia = Z(
|
|
2170
|
+
const ia = Z(br)(({ theme: e }) => ({
|
|
2171
2171
|
position: "fixed",
|
|
2172
2172
|
bottom: e.spacing(2),
|
|
2173
2173
|
right: e.spacing(2)
|
|
2174
|
-
})), la = Z(
|
|
2174
|
+
})), la = Z(yr)(({ theme: e }) => ({
|
|
2175
2175
|
position: "fixed",
|
|
2176
2176
|
bottom: e.spacing(2),
|
|
2177
2177
|
right: e.spacing(2)
|
|
@@ -2203,13 +2203,13 @@ const ia = Z(gr)(({ theme: e }) => ({
|
|
|
2203
2203
|
la,
|
|
2204
2204
|
{
|
|
2205
2205
|
ariaLabel: `actions for ${t.singular()}`,
|
|
2206
|
-
icon: /* @__PURE__ */ i(
|
|
2206
|
+
icon: /* @__PURE__ */ i(wr, {}),
|
|
2207
2207
|
color: "primary",
|
|
2208
2208
|
onClose: () => a(!1),
|
|
2209
2209
|
onOpen: () => a(!0),
|
|
2210
2210
|
open: o,
|
|
2211
2211
|
children: f.map((m) => /* @__PURE__ */ i(
|
|
2212
|
-
|
|
2212
|
+
Sr,
|
|
2213
2213
|
{
|
|
2214
2214
|
icon: m.icon || m.label.charAt(0).toUpperCase(),
|
|
2215
2215
|
tooltipTitle: m.label,
|
|
@@ -2222,7 +2222,7 @@ const ia = Z(gr)(({ theme: e }) => ({
|
|
|
2222
2222
|
document.body
|
|
2223
2223
|
) : /* @__PURE__ */ w(B, { children: [
|
|
2224
2224
|
/* @__PURE__ */ w(
|
|
2225
|
-
|
|
2225
|
+
xr,
|
|
2226
2226
|
{
|
|
2227
2227
|
variant: "contained",
|
|
2228
2228
|
ref: l,
|
|
@@ -2239,27 +2239,27 @@ const ia = Z(gr)(({ theme: e }) => ({
|
|
|
2239
2239
|
"aria-label": `select ${t.singular()} actions`,
|
|
2240
2240
|
"aria-haspopup": "menu",
|
|
2241
2241
|
onClick: S,
|
|
2242
|
-
children: /* @__PURE__ */ i(
|
|
2242
|
+
children: /* @__PURE__ */ i(Kr, {})
|
|
2243
2243
|
}
|
|
2244
2244
|
)
|
|
2245
2245
|
]
|
|
2246
2246
|
}
|
|
2247
2247
|
),
|
|
2248
2248
|
/* @__PURE__ */ i(
|
|
2249
|
-
|
|
2249
|
+
Ar,
|
|
2250
2250
|
{
|
|
2251
2251
|
open: o,
|
|
2252
2252
|
anchorEl: l.current,
|
|
2253
2253
|
role: void 0,
|
|
2254
2254
|
transition: !0,
|
|
2255
2255
|
children: ({ TransitionProps: m, placement: g }) => /* @__PURE__ */ i(
|
|
2256
|
-
|
|
2256
|
+
Cr,
|
|
2257
2257
|
{
|
|
2258
2258
|
...m,
|
|
2259
2259
|
style: {
|
|
2260
2260
|
transformOrigin: g === "bottom" ? "center top" : "center bottom"
|
|
2261
2261
|
},
|
|
2262
|
-
children: /* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(
|
|
2262
|
+
children: /* @__PURE__ */ i(yt, { children: /* @__PURE__ */ i(Er, { onClickAway: b, children: /* @__PURE__ */ i(kr, { id: "split-button-menu", children: f.map((A, x) => /* @__PURE__ */ i(
|
|
2263
2263
|
oe,
|
|
2264
2264
|
{
|
|
2265
2265
|
selected: x === d,
|
|
@@ -2289,7 +2289,7 @@ function Bt() {
|
|
|
2289
2289
|
}
|
|
2290
2290
|
};
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2292
|
+
function Xn() {
|
|
2293
2293
|
const { currentPage: e } = h.useContext(X);
|
|
2294
2294
|
return e;
|
|
2295
2295
|
}
|
|
@@ -2298,12 +2298,12 @@ function ua() {
|
|
|
2298
2298
|
return e;
|
|
2299
2299
|
}
|
|
2300
2300
|
const da = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABbWlDQ1BpY2MAACiRdZG9S0JRGMZ/aqWU0VBDRIOBRYORFERj2eAiIWaQ1aI3PwI/LvcqIa1BS4PQELX0NfQf1Bq0FgRBEUQ0Nve1hNzeo4ISdS7nvj+ec56Xc54D9lBWy5ltfsjli0YkGPAsxZY9zldcdADjDMU1U58Nh0P8O77usal6N6Z6/b/vz9G1ljQ1sLmEpzTdKArPCIc2irriHeE+LRNfEz4S9hlyQOFrpSfq/KI4XecPxUY0Mgd21dOTbuFEC2sZIyc8KuzNZUta4zzqJu5kfnFB6oDMQUwiBAngIUGJdbIUGZOal8z+9vlrvnkK4tHkr1PGEEeajHh9opaka1JqSvSkfFnKKvffeZqpyYl6d3cA2p8t630YnLtQrVjW97FlVU/A8QSX+aa/IDlNf4peaWreQ+jZgvOrppbYg4tt6H/U40a8Jjlk2lMpeDuD7hj03kLnSj2rxjqnDxDdlCe6gf0DGJH9Pas/3QVn+hiI/rEAAAAJcEhZcwAACxEAAAsRAX9kX5EAAAWBSURBVFhHxZl/TFtVFMe/pZQOGMIA0W3iBgOloLIBzrkZJsuWmCwah/8sYW4my0QYc1NijM5o1MQ4/3B/CUb/0Bn+mTHzD4PjRxEUxEGmcWb8VsbPTTYYDBjQFlrPubTQ0va9+6qdJ3lp+t69537eOfeec+59OpAklpWvQkhICV0FsNvT4XCE8X0tYrPb8WBsLL7L34eoMPnukxYrjpprYe4fgEGvtxJDOzFU0PXJYHHRnC6x/NNwAqnQGY35WFiAY35eC9dSWwv1Ld+zB/kPpEr3H52dRVFNLRoGBxEeGir66fhXr4fDYjlHfwv4bjHD0Q1pxSsbWglu27q1eDpl08pHfv8PT0+jsLoGLdeuLcFxY2EgupxMxQx4iC0XqDiooz4kBCeys2GgXxnpnbiFF6urcenGDQ84j76LTC8woClQt7JCC73t3k3JeDIxUYYN7WNjOFJVjZ7xcf9wpMnJZGLARedLqfds5HA4EGkw4DhZT6fTqWr4dWREuHVwagqrnHNOpZNcK39K5sgNh0xp2JyQ4K/J0v3m4WFyaw3G5uZgpEUgKwFbb4GslxARgZItW1THqunrQ4m5DtNWq/Q8dSkNGJDDysGMDGyMjlYE/LanB6X1DZijuRoquYjcFQYEOE9BOZnADj/ysF84O1n4y8uXcbKxCdye4TiYuwvPWjXogAB5oMLNmYgP5xjvWzj4nu3sQkZ8HPQ67/DDcAzeTatZSTQDMtxD8fHYn5ampBc71q9H5XP5YBCOle4SQiueXf5mY6MIO0pW1AzIoeV4dpYIL0qitFJnCa60oQHfdHUrxkLWrwmQU9rO+xPxbKp8vl35ElwclJjNOH/liiqcZkB2DRkQH1xooUCrF65ZF7ka+1JTRLpTEy4OXqLi4Ee34kCtjyYLMlDj0BDqBwYI1AFek2W7d1OFpA739+3bOEKB+sLVq1KWc4FrAuTQwQUBXzM0j157NAf7KZOoCae2w1VV+H3kuiY41qv+6m6j302Zg4Un+d7kZJTm5Kix4c+JCRys/F7ASeZfD53SgGy9A+kmMUjqmjX4aGcuwlRyKocQhmsbHQ0ITtqCHMcYZteGDTDFxeLjvDzcExmpaL3fqHJ5nuD+IgsGYjmXcqk5yBE/JSZGWO7D3FyCjFOE44VUVGvGGK1apXioqMT5UAqQ499TSUlYTcFZDa62rx/HKM7dCqBy8QWsCsjWuy8qCgU0/9SksrcXL9fVYdY2r7ms8qdbEZDhWN7Zvl1AKsm57m68SmWVjaytlFuVdPh65ncVczKPNhpxelee6layor0dJ36oF+WUTEbxBeLvnpcFecXaFux4JiUFrz+2VSwMJfns0h94t7lZNNFL7EuUdPl65gXIC6IwMxPvPbFDtJ+g/XIMWdKXnL54EadaWxFK9R7n6WCIh4ut5KKta+/Fyce3iRru/eZfMDg56TWu69mpllYYggjHA3tY0E6ABaZ0Ebt4L8HVbgYVp+7Cm6W3m5rwObnWSFklOHZbHtEDkA5vkBwTLazXT5ZjN7u7jt3/xk+N+KqtTXPS93KD5A0PF/Mq7Lx5U1jlWFYWktx2bDM2G16pr8eZOwjH7+AZZsh9Pw8Ni3dzX5FTlBVKKACf7ehCxL/b60vabbmZ5xyk+yvDyjidBHBeNff3I8Lgteg1D6i1g9eId7mFFA4xXAVziX6nLed6Ea9Mcn1mRjzjovQoWU7L/kGrdWTaM+DSkSqX8nzIw3Bv0YkAn6m4Tj5llAWhzTwDdohjVxIG7KAqmE+hvu7s/F/hnEwdDHiGz4RdwoG4liwnc94XBIstq1xk+oIBy/jAms6EFw+w6YbaXiOYYGw5ZnEeopeLTEWfIYzOzxAHAv0M8Z9A63T8GaLN7TOE5R/LwhBxBS+RxAAAAABJRU5ErkJggg==", fa = "data:image/png;base64,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";
|
|
2301
|
-
function
|
|
2301
|
+
function Qn() {
|
|
2302
2302
|
const { showBackButton: e } = h.useContext(X);
|
|
2303
2303
|
return e;
|
|
2304
2304
|
}
|
|
2305
2305
|
const pa = Z(
|
|
2306
|
-
|
|
2306
|
+
pn,
|
|
2307
2307
|
{ shouldForwardProp: (e) => !["open", "drawerWidth", "height"].includes(String(e)) }
|
|
2308
2308
|
)(({ theme: e, open: t, drawerWidth: n, height: r }) => ({
|
|
2309
2309
|
zIndex: e.zIndex.drawer + 1,
|
|
@@ -2321,18 +2321,18 @@ const pa = Z(
|
|
|
2321
2321
|
})
|
|
2322
2322
|
}
|
|
2323
2323
|
})), ha = Z(
|
|
2324
|
-
|
|
2324
|
+
pn,
|
|
2325
2325
|
{ shouldForwardProp: (e) => !["open", "drawerWidth", "height"].includes(String(e)) }
|
|
2326
2326
|
)(({ height: e }) => ({ height: e })), ma = ({ slots: e = {}, ...t }) => {
|
|
2327
2327
|
const n = v(), r = Be("(prefers-color-scheme: dark)"), s = n ? pa : ha, {
|
|
2328
2328
|
["Layout.AppBar.MenuButton"]: o,
|
|
2329
2329
|
["Layout.SearchBar"]: a,
|
|
2330
2330
|
["Layout.BackButton"]: l
|
|
2331
|
-
} = T("cms").getComponents(), { open: d } = Bt(), u = ua(), c =
|
|
2331
|
+
} = T("cms").getComponents(), { open: d } = Bt(), u = ua(), c = Qn(), f = H("appBar.height"), y = H("drawer.width", 280), {
|
|
2332
2332
|
start: S = null,
|
|
2333
2333
|
//: title = config('app.name', document.title),
|
|
2334
2334
|
end: b = null
|
|
2335
|
-
} = e, m =
|
|
2335
|
+
} = e, m = Xn();
|
|
2336
2336
|
return /* @__PURE__ */ i(
|
|
2337
2337
|
s,
|
|
2338
2338
|
{
|
|
@@ -2340,7 +2340,7 @@ const pa = Z(
|
|
|
2340
2340
|
height: f,
|
|
2341
2341
|
drawerWidth: y,
|
|
2342
2342
|
...t,
|
|
2343
|
-
children: /* @__PURE__ */ w(
|
|
2343
|
+
children: /* @__PURE__ */ w(Tr, { children: [
|
|
2344
2344
|
(n && !d || !n && !c) && /* @__PURE__ */ i(o, {}),
|
|
2345
2345
|
!n && c && /* @__PURE__ */ i(l, {}),
|
|
2346
2346
|
n ? null : S,
|
|
@@ -2363,7 +2363,7 @@ const pa = Z(
|
|
|
2363
2363
|
children: [
|
|
2364
2364
|
u && /* @__PURE__ */ i(a, {}),
|
|
2365
2365
|
b || /* @__PURE__ */ i(
|
|
2366
|
-
|
|
2366
|
+
Dr,
|
|
2367
2367
|
{
|
|
2368
2368
|
src: r ? da : fa,
|
|
2369
2369
|
alt: "Luminix",
|
|
@@ -2412,7 +2412,7 @@ const an = (e, t) => ({
|
|
|
2412
2412
|
width: `calc(${e.spacing(9)} + 1px)`,
|
|
2413
2413
|
[e.breakpoints.up("sm")]: { width: `calc(${e.spacing(10)} + 1px)` }
|
|
2414
2414
|
}), ba = Z(
|
|
2415
|
-
|
|
2415
|
+
hn,
|
|
2416
2416
|
{ shouldForwardProp: (e) => !["open", "width"].includes(String(e)) }
|
|
2417
2417
|
)(({ theme: e, open: t, width: n }) => ({
|
|
2418
2418
|
flexShrink: 0,
|
|
@@ -2427,7 +2427,7 @@ const an = (e, t) => ({
|
|
|
2427
2427
|
"& .MuiDrawer-paper": ln(e)
|
|
2428
2428
|
}
|
|
2429
2429
|
})), ya = Z(
|
|
2430
|
-
|
|
2430
|
+
hn,
|
|
2431
2431
|
{ shouldForwardProp: (e) => e !== "width" }
|
|
2432
2432
|
)(() => ({})), wa = Z("div")(({ theme: e }) => ({
|
|
2433
2433
|
display: "flex",
|
|
@@ -2468,7 +2468,7 @@ const an = (e, t) => ({
|
|
|
2468
2468
|
}
|
|
2469
2469
|
);
|
|
2470
2470
|
}, xa = () => {
|
|
2471
|
-
const e =
|
|
2471
|
+
const e = Xn(), t = H("breakpoint", "md"), n = Qn(), {
|
|
2472
2472
|
["Layout.BackButton"]: r
|
|
2473
2473
|
} = T("cms").getComponents();
|
|
2474
2474
|
return /* @__PURE__ */ w(
|
|
@@ -2544,7 +2544,7 @@ function ka(e, t) {
|
|
|
2544
2544
|
const n = T("filter"), { Model: r, setColumnsFilter: s } = h.useContext(Lt), [o, a] = h.useState(t.key), [l, d] = h.useState(t.operator), [u, c] = h.useState(t.type), [f, y] = h.useState(t.value), [S, b] = h.useState(t.nullable), [m, g] = h.useState(t.is_relation), A = h.useMemo(() => n.getFilterableColumns(r), [r]), x = (R) => () => {
|
|
2545
2545
|
s((O) => O.filter((D, z) => z !== R));
|
|
2546
2546
|
}, E = async (R) => {
|
|
2547
|
-
const O = R.target.value, D = A.find((
|
|
2547
|
+
const O = R.target.value, D = A.find((nr) => nr.key === O), z = (D == null ? void 0 : D.type) ?? "text", Ee = (D == null ? void 0 : D.nullable) ?? !1, Mt = (D == null ? void 0 : D.is_relation) ?? !1;
|
|
2548
2548
|
Mt ? (d("relation"), y([])) : m && d("equals"), g(Mt), b(Ee), z !== u && (d("equals"), y(() => {
|
|
2549
2549
|
if (["between", "notBetween"].includes(l))
|
|
2550
2550
|
return [];
|
|
@@ -2629,7 +2629,7 @@ const cn = async (e, t, n) => {
|
|
|
2629
2629
|
}, [S]), h.useEffect(() => {
|
|
2630
2630
|
s(f.map((m) => m.getKey())), G.isEmpty(l) ? (async () => c(await cn(t, n, f)))() : c(W([]));
|
|
2631
2631
|
}, [f]), /* @__PURE__ */ i(
|
|
2632
|
-
|
|
2632
|
+
Rr,
|
|
2633
2633
|
{
|
|
2634
2634
|
sx: { width: e ? 377 : "100%" },
|
|
2635
2635
|
open: o,
|
|
@@ -2673,7 +2673,7 @@ const cn = async (e, t, n) => {
|
|
|
2673
2673
|
InputProps: {
|
|
2674
2674
|
...e.InputProps,
|
|
2675
2675
|
endAdornment: /* @__PURE__ */ w(h.Fragment, { children: [
|
|
2676
|
-
t ? /* @__PURE__ */ i(
|
|
2676
|
+
t ? /* @__PURE__ */ i(Or, { color: "inherit", size: 20 }) : null,
|
|
2677
2677
|
e.InputProps.endAdornment
|
|
2678
2678
|
] })
|
|
2679
2679
|
}
|
|
@@ -2708,7 +2708,7 @@ const cn = async (e, t, n) => {
|
|
|
2708
2708
|
const e = v(), { value: t, setValue: n } = h.useContext(me);
|
|
2709
2709
|
return /* @__PURE__ */ w(B, { children: [
|
|
2710
2710
|
/* @__PURE__ */ i(
|
|
2711
|
-
|
|
2711
|
+
Pr,
|
|
2712
2712
|
{
|
|
2713
2713
|
checked: t,
|
|
2714
2714
|
onChange: (s) => {
|
|
@@ -3018,7 +3018,7 @@ const cn = async (e, t, n) => {
|
|
|
3018
3018
|
onClick: u,
|
|
3019
3019
|
color: "primary",
|
|
3020
3020
|
sx: { fontSize: 32 },
|
|
3021
|
-
children: /* @__PURE__ */ i(
|
|
3021
|
+
children: /* @__PURE__ */ i($r, { fontSize: "inherit" })
|
|
3022
3022
|
}
|
|
3023
3023
|
)
|
|
3024
3024
|
}
|
|
@@ -3047,7 +3047,7 @@ const cn = async (e, t, n) => {
|
|
|
3047
3047
|
}
|
|
3048
3048
|
);
|
|
3049
3049
|
}, va = (e, t) => {
|
|
3050
|
-
const n = T("filter"), r =
|
|
3050
|
+
const n = T("filter"), r = xn.toObject(t), s = Object.keys(r).reduce((a, l) => (["where"].includes(l) && (a[l] = r[l]), a), {}), o = [];
|
|
3051
3051
|
return Object.entries(s).forEach(([, a]) => {
|
|
3052
3052
|
Object.entries(a).forEach(([l, d]) => {
|
|
3053
3053
|
e.filter((u) => {
|
|
@@ -3116,7 +3116,7 @@ const cn = async (e, t, n) => {
|
|
|
3116
3116
|
}
|
|
3117
3117
|
}), n;
|
|
3118
3118
|
}, Ba = () => {
|
|
3119
|
-
const { t: e } = L(), t = T("filter"), n = v(), r = te(), [s, o] = $(), a = h.useMemo(() => "where" in
|
|
3119
|
+
const { t: e } = L(), t = T("filter"), n = v(), r = te(), [s, o] = $(), a = h.useMemo(() => "where" in xn.toObject(s), [s]), [l, d] = h.useState(null), [u, c] = h.useState([]), f = !!l, y = h.useMemo(() => t.getFilterableColumns(r), [r]), S = (x) => {
|
|
3120
3120
|
d(x.currentTarget);
|
|
3121
3121
|
}, b = () => {
|
|
3122
3122
|
d(null), setTimeout(() => {
|
|
@@ -3169,13 +3169,13 @@ const cn = async (e, t, n) => {
|
|
|
3169
3169
|
color: "secondary",
|
|
3170
3170
|
variant: "dot",
|
|
3171
3171
|
invisible: !a,
|
|
3172
|
-
children: /* @__PURE__ */ i(
|
|
3172
|
+
children: /* @__PURE__ */ i(Yr, {})
|
|
3173
3173
|
}
|
|
3174
3174
|
)
|
|
3175
3175
|
}
|
|
3176
3176
|
),
|
|
3177
3177
|
n ? /* @__PURE__ */ i(
|
|
3178
|
-
|
|
3178
|
+
vr,
|
|
3179
3179
|
{
|
|
3180
3180
|
id: "model-filter-popover",
|
|
3181
3181
|
open: f,
|
|
@@ -3244,7 +3244,7 @@ function Nt() {
|
|
|
3244
3244
|
const {
|
|
3245
3245
|
selected: e,
|
|
3246
3246
|
items: t
|
|
3247
|
-
} = h.useContext(It), n =
|
|
3247
|
+
} = h.useContext(It), n = fn(e), r = () => {
|
|
3248
3248
|
e.splice(0, e.count());
|
|
3249
3249
|
}, s = (u) => {
|
|
3250
3250
|
const c = e.search(u);
|
|
@@ -3352,7 +3352,7 @@ const Ia = () => {
|
|
|
3352
3352
|
edge: "start",
|
|
3353
3353
|
onClick: e,
|
|
3354
3354
|
sx: { mr: { md: 2 } },
|
|
3355
|
-
children: /* @__PURE__ */ i(
|
|
3355
|
+
children: /* @__PURE__ */ i(Jr, {})
|
|
3356
3356
|
}
|
|
3357
3357
|
);
|
|
3358
3358
|
}, Ue = h.forwardRef(({ to: e, children: t, ...n }, r) => /* @__PURE__ */ i(
|
|
@@ -3370,8 +3370,8 @@ Ue.displayName = "Link";
|
|
|
3370
3370
|
const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */ i(B, { children: {
|
|
3371
3371
|
"« Previous": /* @__PURE__ */ i(At, {}),
|
|
3372
3372
|
"Next »": /* @__PURE__ */ i(Ct, {}),
|
|
3373
|
-
"Last »": /* @__PURE__ */ i(
|
|
3374
|
-
"« First": /* @__PURE__ */ i(
|
|
3373
|
+
"Last »": /* @__PURE__ */ i(Gr, {}),
|
|
3374
|
+
"« First": /* @__PURE__ */ i(Zr, {})
|
|
3375
3375
|
}[e] || e }) : /* @__PURE__ */ i(B, { children: e }), Ma = ({ variant: e = "default", ...t }) => {
|
|
3376
3376
|
const n = e === "default", [r, s] = $(), [o, a] = h.useState(r.get("page") || "1"), {
|
|
3377
3377
|
links: l,
|
|
@@ -3392,7 +3392,7 @@ const Na = ({ label: e }) => isNaN(e) || isNaN(parseFloat(e)) ? /* @__PURE__ */
|
|
|
3392
3392
|
{ url: y, label: "« Previous", active: !1 },
|
|
3393
3393
|
{
|
|
3394
3394
|
element: /* @__PURE__ */ i(
|
|
3395
|
-
|
|
3395
|
+
lr,
|
|
3396
3396
|
{
|
|
3397
3397
|
onSubmit: m,
|
|
3398
3398
|
preventScrollReset: !0,
|
|
@@ -3553,7 +3553,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3553
3553
|
backgroundColor: e.palette.background.paper
|
|
3554
3554
|
}
|
|
3555
3555
|
// transition: 'width 250ms ease-in-out',
|
|
3556
|
-
})), Ha =
|
|
3556
|
+
})), Ha = cs.throttle((e, t) => {
|
|
3557
3557
|
t((n) => {
|
|
3558
3558
|
const r = new URLSearchParams(n);
|
|
3559
3559
|
return e ? r.set("q", e) : r.delete("q"), r;
|
|
@@ -3585,7 +3585,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3585
3585
|
}
|
|
3586
3586
|
) }),
|
|
3587
3587
|
/* @__PURE__ */ i(
|
|
3588
|
-
|
|
3588
|
+
mn,
|
|
3589
3589
|
{
|
|
3590
3590
|
orientation: "horizontal",
|
|
3591
3591
|
in: c || o,
|
|
@@ -3652,7 +3652,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3652
3652
|
color: "secondary",
|
|
3653
3653
|
variant: "dot",
|
|
3654
3654
|
invisible: !a,
|
|
3655
|
-
children: /* @__PURE__ */ i(
|
|
3655
|
+
children: /* @__PURE__ */ i(Xr, {})
|
|
3656
3656
|
}
|
|
3657
3657
|
) }),
|
|
3658
3658
|
/* @__PURE__ */ w(ht, { open: y, onClose: m, fullWidth: !0, children: [
|
|
@@ -3705,7 +3705,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3705
3705
|
control: /* @__PURE__ */ i(_e, {}),
|
|
3706
3706
|
label: /* @__PURE__ */ w(B, { children: [
|
|
3707
3707
|
e("Ascending"),
|
|
3708
|
-
/* @__PURE__ */ i(
|
|
3708
|
+
/* @__PURE__ */ i(Qr, {})
|
|
3709
3709
|
] })
|
|
3710
3710
|
}
|
|
3711
3711
|
),
|
|
@@ -3716,7 +3716,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3716
3716
|
control: /* @__PURE__ */ i(_e, {}),
|
|
3717
3717
|
label: /* @__PURE__ */ w(B, { children: [
|
|
3718
3718
|
e("Descending"),
|
|
3719
|
-
/* @__PURE__ */ i(
|
|
3719
|
+
/* @__PURE__ */ i(es, {})
|
|
3720
3720
|
] })
|
|
3721
3721
|
}
|
|
3722
3722
|
)
|
|
@@ -3763,7 +3763,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3763
3763
|
items: e,
|
|
3764
3764
|
loading: t,
|
|
3765
3765
|
error: n,
|
|
3766
|
-
children: /* @__PURE__ */ i(
|
|
3766
|
+
children: /* @__PURE__ */ i(Fr, { component: yt, children: /* @__PURE__ */ i(Br, { ...s, children: r }) })
|
|
3767
3767
|
}
|
|
3768
3768
|
), Ya = ({ children: e, ...t }) => {
|
|
3769
3769
|
const {
|
|
@@ -3785,7 +3785,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3785
3785
|
return x.set("order_by", `${g}:asc`), x;
|
|
3786
3786
|
});
|
|
3787
3787
|
};
|
|
3788
|
-
return /* @__PURE__ */ w(
|
|
3788
|
+
return /* @__PURE__ */ w(Lr, { ...t, children: [
|
|
3789
3789
|
e,
|
|
3790
3790
|
o && /* @__PURE__ */ w(fe, { children: [
|
|
3791
3791
|
n.length > 0 && /* @__PURE__ */ i(f, { children: /* @__PURE__ */ i(
|
|
@@ -3803,7 +3803,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3803
3803
|
sortDirection: x && S === g && b || !1,
|
|
3804
3804
|
...E,
|
|
3805
3805
|
children: /* @__PURE__ */ w(
|
|
3806
|
-
|
|
3806
|
+
Ir,
|
|
3807
3807
|
{
|
|
3808
3808
|
active: x && S === g,
|
|
3809
3809
|
direction: b,
|
|
@@ -3845,7 +3845,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3845
3845
|
},
|
|
3846
3846
|
u
|
|
3847
3847
|
)) }),
|
|
3848
|
-
/* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(
|
|
3848
|
+
/* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(q, { children: /* @__PURE__ */ i(Sn, {}) }) })
|
|
3849
3849
|
] }, l)) });
|
|
3850
3850
|
}, Ga = ({ children: e, ...t }) => {
|
|
3851
3851
|
const n = te(), { t: r } = L(), {
|
|
@@ -3855,7 +3855,7 @@ const _a = Z(xe)(({ theme: e }) => ({
|
|
|
3855
3855
|
} = ae(), {
|
|
3856
3856
|
["ModelIndex.StaticActions"]: l
|
|
3857
3857
|
} = T("cms").getComponents(), d = h.isValidElement(e) ? e : (s || W([])).map(e);
|
|
3858
|
-
return /* @__PURE__ */ w(
|
|
3858
|
+
return /* @__PURE__ */ w(Nr, { ...t, children: [
|
|
3859
3859
|
o && /* @__PURE__ */ i(Ja, {}),
|
|
3860
3860
|
d,
|
|
3861
3861
|
s && !s.count() && /* @__PURE__ */ i(fe, { children: /* @__PURE__ */ w(ee, { colSpan: a, sx: { textAlign: "center", py: 10 }, children: [
|
|
@@ -3872,7 +3872,7 @@ class Za {
|
|
|
3872
3872
|
return "cms";
|
|
3873
3873
|
}
|
|
3874
3874
|
}
|
|
3875
|
-
const I =
|
|
3875
|
+
const I = An(Za, dn), de = Z(K)(() => ({
|
|
3876
3876
|
whiteSpace: "nowrap",
|
|
3877
3877
|
overflow: "hidden",
|
|
3878
3878
|
textOverflow: "ellipsis",
|
|
@@ -3971,7 +3971,7 @@ const I = cs(Za, rr), de = Z(K)(() => ({
|
|
|
3971
3971
|
["ModelIndex.PaginationDetails"]: a,
|
|
3972
3972
|
["ModelIndex.PerPageSwitch"]: l
|
|
3973
3973
|
} = T("cms").getComponents();
|
|
3974
|
-
return /* @__PURE__ */ w(
|
|
3974
|
+
return /* @__PURE__ */ w(Mr, { ...t, children: [
|
|
3975
3975
|
/* @__PURE__ */ i(fe, { children: /* @__PURE__ */ i(ee, { colSpan: n, children: /* @__PURE__ */ w(
|
|
3976
3976
|
M,
|
|
3977
3977
|
{
|
|
@@ -4068,7 +4068,7 @@ function ri() {
|
|
|
4068
4068
|
a
|
|
4069
4069
|
);
|
|
4070
4070
|
return l.length === 0 ? null : /* @__PURE__ */ i(V, { sx: { maxWidth: { xs: 320, sm: 480 }, bgcolor: "background.paper" }, children: /* @__PURE__ */ w(
|
|
4071
|
-
|
|
4071
|
+
jr,
|
|
4072
4072
|
{
|
|
4073
4073
|
value: s,
|
|
4074
4074
|
onChange: o,
|
|
@@ -4102,7 +4102,7 @@ function si(e) {
|
|
|
4102
4102
|
...n
|
|
4103
4103
|
} = e;
|
|
4104
4104
|
return /* @__PURE__ */ w(
|
|
4105
|
-
|
|
4105
|
+
Ur,
|
|
4106
4106
|
{
|
|
4107
4107
|
"aria-label": "breadcrumb",
|
|
4108
4108
|
...n,
|
|
@@ -4139,14 +4139,14 @@ function si(e) {
|
|
|
4139
4139
|
}
|
|
4140
4140
|
);
|
|
4141
4141
|
}
|
|
4142
|
-
const
|
|
4142
|
+
const er = ({
|
|
4143
4143
|
collapsed: e = !1,
|
|
4144
4144
|
items: t,
|
|
4145
4145
|
onClick: n,
|
|
4146
4146
|
...r
|
|
4147
4147
|
}) => {
|
|
4148
4148
|
const [s, o] = h.useState(null), [a, l] = h.useState(null), [d, u] = h.useState({}), c = H("drawer.width", 280), f = T("cms").getComponent("RecursiveMenu");
|
|
4149
|
-
return /* @__PURE__ */ w(
|
|
4149
|
+
return /* @__PURE__ */ w(qr, { ...r, children: [
|
|
4150
4150
|
t.map((y) => {
|
|
4151
4151
|
const {
|
|
4152
4152
|
text: S,
|
|
@@ -4158,13 +4158,13 @@ const Xn = ({
|
|
|
4158
4158
|
onClick: E
|
|
4159
4159
|
} = y;
|
|
4160
4160
|
return m || /* @__PURE__ */ w(
|
|
4161
|
-
|
|
4161
|
+
_r,
|
|
4162
4162
|
{
|
|
4163
4163
|
disablePadding: !0,
|
|
4164
4164
|
sx: { display: "block" },
|
|
4165
4165
|
children: [
|
|
4166
4166
|
/* @__PURE__ */ w(
|
|
4167
|
-
|
|
4167
|
+
Hr,
|
|
4168
4168
|
{
|
|
4169
4169
|
sx: {
|
|
4170
4170
|
minHeight: 48,
|
|
@@ -4188,7 +4188,7 @@ const Xn = ({
|
|
|
4188
4188
|
...x ? { to: x, component: Ue } : {},
|
|
4189
4189
|
children: [
|
|
4190
4190
|
/* @__PURE__ */ w(
|
|
4191
|
-
|
|
4191
|
+
gn,
|
|
4192
4192
|
{
|
|
4193
4193
|
sx: {
|
|
4194
4194
|
minWidth: 0,
|
|
@@ -4211,19 +4211,19 @@ const Xn = ({
|
|
|
4211
4211
|
]
|
|
4212
4212
|
}
|
|
4213
4213
|
),
|
|
4214
|
-
!e && /* @__PURE__ */ i(
|
|
4215
|
-
!e && A && (d[g] ? /* @__PURE__ */ i(
|
|
4214
|
+
!e && /* @__PURE__ */ i(bn, { primary: S }),
|
|
4215
|
+
!e && A && (d[g] ? /* @__PURE__ */ i(ts, {}) : /* @__PURE__ */ i(ns, {}))
|
|
4216
4216
|
]
|
|
4217
4217
|
}
|
|
4218
4218
|
),
|
|
4219
4219
|
A && !e && /* @__PURE__ */ i(
|
|
4220
|
-
|
|
4220
|
+
mn,
|
|
4221
4221
|
{
|
|
4222
4222
|
in: d[g],
|
|
4223
4223
|
timeout: "auto",
|
|
4224
4224
|
unmountOnExit: !0,
|
|
4225
4225
|
children: /* @__PURE__ */ i(
|
|
4226
|
-
|
|
4226
|
+
er,
|
|
4227
4227
|
{
|
|
4228
4228
|
items: A,
|
|
4229
4229
|
onClick: n,
|
|
@@ -4255,7 +4255,7 @@ const Xn = ({
|
|
|
4255
4255
|
}
|
|
4256
4256
|
)
|
|
4257
4257
|
] });
|
|
4258
|
-
},
|
|
4258
|
+
}, tr = ({
|
|
4259
4259
|
collapsed: e = !1,
|
|
4260
4260
|
items: t,
|
|
4261
4261
|
onClick: n,
|
|
@@ -4263,7 +4263,7 @@ const Xn = ({
|
|
|
4263
4263
|
}) => {
|
|
4264
4264
|
const [s, o] = h.useState({}), a = H("drawer.width", 280);
|
|
4265
4265
|
return /* @__PURE__ */ w(B, { children: [
|
|
4266
|
-
/* @__PURE__ */ i(
|
|
4266
|
+
/* @__PURE__ */ i(yn, { ...r, children: t.map((l) => {
|
|
4267
4267
|
const {
|
|
4268
4268
|
text: d,
|
|
4269
4269
|
icon: u,
|
|
@@ -4293,7 +4293,7 @@ const Xn = ({
|
|
|
4293
4293
|
} : {},
|
|
4294
4294
|
children: [
|
|
4295
4295
|
u && /* @__PURE__ */ i(
|
|
4296
|
-
|
|
4296
|
+
gn,
|
|
4297
4297
|
{
|
|
4298
4298
|
sx: {
|
|
4299
4299
|
minWidth: 0,
|
|
@@ -4304,7 +4304,7 @@ const Xn = ({
|
|
|
4304
4304
|
children: u
|
|
4305
4305
|
}
|
|
4306
4306
|
),
|
|
4307
|
-
/* @__PURE__ */ i(
|
|
4307
|
+
/* @__PURE__ */ i(bn, { sx: { opacity: e ? 0 : 1 }, children: d }),
|
|
4308
4308
|
!e && y && /* @__PURE__ */ i(Ct, {})
|
|
4309
4309
|
]
|
|
4310
4310
|
},
|
|
@@ -4314,7 +4314,7 @@ const Xn = ({
|
|
|
4314
4314
|
t.map((l) => {
|
|
4315
4315
|
const { key: d, children: u } = l;
|
|
4316
4316
|
return u ? /* @__PURE__ */ i(
|
|
4317
|
-
|
|
4317
|
+
tr,
|
|
4318
4318
|
{
|
|
4319
4319
|
items: u,
|
|
4320
4320
|
onClick: n,
|
|
@@ -4459,11 +4459,11 @@ const Xn = ({
|
|
|
4459
4459
|
"aria-describedby": "model-item-actions",
|
|
4460
4460
|
"aria-label": "filter",
|
|
4461
4461
|
onClick: d,
|
|
4462
|
-
children: /* @__PURE__ */ i(
|
|
4462
|
+
children: /* @__PURE__ */ i(Sn, {})
|
|
4463
4463
|
}
|
|
4464
4464
|
),
|
|
4465
4465
|
/* @__PURE__ */ i(
|
|
4466
|
-
|
|
4466
|
+
yn,
|
|
4467
4467
|
{
|
|
4468
4468
|
id: "model-item-actions",
|
|
4469
4469
|
anchorEl: o,
|
|
@@ -4533,7 +4533,7 @@ class ii {
|
|
|
4533
4533
|
);
|
|
4534
4534
|
}
|
|
4535
4535
|
}
|
|
4536
|
-
const li =
|
|
4536
|
+
const li = Cn(ii), be = (e) => !(typeof e > "u" || e === null || G.isEmpty(e));
|
|
4537
4537
|
class ci {
|
|
4538
4538
|
getInputType(t) {
|
|
4539
4539
|
switch (t) {
|
|
@@ -4636,7 +4636,7 @@ class ci {
|
|
|
4636
4636
|
}).includes(!0));
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
|
-
const ui =
|
|
4639
|
+
const ui = Cn(ci), Fe = class Fe extends En {
|
|
4640
4640
|
register() {
|
|
4641
4641
|
this.app.singleton("cms", () => new li()), this.app.singleton("filter", () => new ui()), this.app.once("booting", () => {
|
|
4642
4642
|
this.bootModels();
|
|
@@ -4650,14 +4650,14 @@ const ui = xn(ci), Fe = class Fe extends An {
|
|
|
4650
4650
|
"model",
|
|
4651
4651
|
(t, n) => class extends t {
|
|
4652
4652
|
static icon() {
|
|
4653
|
-
return n === "user" ? /* @__PURE__ */ i(
|
|
4653
|
+
return n === "user" ? /* @__PURE__ */ i(rs, {}) : /* @__PURE__ */ i(ss, {});
|
|
4654
4654
|
}
|
|
4655
4655
|
},
|
|
4656
4656
|
0
|
|
4657
4657
|
);
|
|
4658
4658
|
}
|
|
4659
4659
|
bootRoutes() {
|
|
4660
|
-
I.reducer("cmsRoutes", bs, 0),
|
|
4660
|
+
I.reducer("cmsRoutes", bs, 0), or.reducer("domRouterOptions", (t) => ({
|
|
4661
4661
|
...t,
|
|
4662
4662
|
basename: re.get("luminix.admin.url", "/admin")
|
|
4663
4663
|
}));
|
|
@@ -4670,8 +4670,8 @@ const ui = xn(ci), Fe = class Fe extends An {
|
|
|
4670
4670
|
ModelItem: sa,
|
|
4671
4671
|
Error: ws,
|
|
4672
4672
|
DesktopPageTitle: xa,
|
|
4673
|
-
RecursiveList:
|
|
4674
|
-
RecursiveMenu:
|
|
4673
|
+
RecursiveList: er,
|
|
4674
|
+
RecursiveMenu: tr,
|
|
4675
4675
|
Breadcrumbs: si,
|
|
4676
4676
|
"Layout.AppBar": ma,
|
|
4677
4677
|
"Layout.Drawer": Sa,
|
|
@@ -4703,7 +4703,7 @@ const ui = xn(ci), Fe = class Fe extends An {
|
|
|
4703
4703
|
key: "dashboard",
|
|
4704
4704
|
text: "Dashboard",
|
|
4705
4705
|
to: "/",
|
|
4706
|
-
icon: /* @__PURE__ */ i(
|
|
4706
|
+
icon: /* @__PURE__ */ i(os, {})
|
|
4707
4707
|
},
|
|
4708
4708
|
...Object.entries(n).sort(([r], [s]) => r.localeCompare(s)).map(([r, s]) => ({
|
|
4709
4709
|
key: r,
|
|
@@ -4785,14 +4785,14 @@ const ui = xn(ci), Fe = class Fe extends An {
|
|
|
4785
4785
|
key: "create",
|
|
4786
4786
|
label: `Create ${n.singular()}`,
|
|
4787
4787
|
callback: oi.create(n),
|
|
4788
|
-
icon: /* @__PURE__ */ i(
|
|
4788
|
+
icon: /* @__PURE__ */ i(as, {})
|
|
4789
4789
|
}
|
|
4790
4790
|
], 0);
|
|
4791
4791
|
}
|
|
4792
4792
|
};
|
|
4793
4793
|
jt(Fe, "applyUserDefaults", !0);
|
|
4794
4794
|
let dt = Fe;
|
|
4795
|
-
class di extends
|
|
4795
|
+
class di extends En {
|
|
4796
4796
|
register() {
|
|
4797
4797
|
this.app.once("booting", () => {
|
|
4798
4798
|
this.initI18Next(), this.translateModelNames();
|
|
@@ -4802,7 +4802,7 @@ class di extends An {
|
|
|
4802
4802
|
this.translateModelColumns(), this.translateMenuEntries(), this.translateInstanceActions(), this.translateMassActions(), this.translateFormLabels(), this.translateStaticActions();
|
|
4803
4803
|
}
|
|
4804
4804
|
initI18Next() {
|
|
4805
|
-
J.use(
|
|
4805
|
+
J.use(Vr).init({
|
|
4806
4806
|
lng: re.get("app.locale", "en"),
|
|
4807
4807
|
fallbackLng: re.get("app.fallback_locale", "en"),
|
|
4808
4808
|
resources: {
|
|
@@ -4890,7 +4890,7 @@ class di extends An {
|
|
|
4890
4890
|
);
|
|
4891
4891
|
}
|
|
4892
4892
|
translateFormLabels() {
|
|
4893
|
-
|
|
4893
|
+
dr.reducer(
|
|
4894
4894
|
"getDefaultInputProps",
|
|
4895
4895
|
(t) => (Array.isArray(t) ? t.map((n) => {
|
|
4896
4896
|
n != null && n.label && (n.label = J.t(n.label));
|
|
@@ -4908,13 +4908,13 @@ const fi = {
|
|
|
4908
4908
|
main: "#fa510c"
|
|
4909
4909
|
}
|
|
4910
4910
|
}
|
|
4911
|
-
}, pi = (e) => e.make("cms").getRoutes(),
|
|
4911
|
+
}, pi = (e) => e.make("cms").getRoutes(), Vi = ({
|
|
4912
4912
|
theme: e = fi,
|
|
4913
4913
|
themeArgs: t,
|
|
4914
4914
|
providers: n,
|
|
4915
4915
|
...r
|
|
4916
4916
|
}) => {
|
|
4917
|
-
const s = Be("(prefers-color-scheme: dark)"), o = h.useMemo(() =>
|
|
4917
|
+
const s = Be("(prefers-color-scheme: dark)"), o = h.useMemo(() => is({
|
|
4918
4918
|
...e,
|
|
4919
4919
|
palette: {
|
|
4920
4920
|
...e.palette,
|
|
@@ -4925,10 +4925,10 @@ const fi = {
|
|
|
4925
4925
|
di,
|
|
4926
4926
|
...n || []
|
|
4927
4927
|
], [n]);
|
|
4928
|
-
return /* @__PURE__ */ w(
|
|
4929
|
-
/* @__PURE__ */ i(
|
|
4928
|
+
return /* @__PURE__ */ w(ls, { theme: o, children: [
|
|
4929
|
+
/* @__PURE__ */ i(zr, {}),
|
|
4930
4930
|
/* @__PURE__ */ i(
|
|
4931
|
-
|
|
4931
|
+
fr,
|
|
4932
4932
|
{
|
|
4933
4933
|
routes: pi,
|
|
4934
4934
|
providers: a,
|
|
@@ -4937,14 +4937,23 @@ const fi = {
|
|
|
4937
4937
|
)
|
|
4938
4938
|
] });
|
|
4939
4939
|
};
|
|
4940
|
+
class hi {
|
|
4941
|
+
getFacadeAccessor() {
|
|
4942
|
+
return "filter";
|
|
4943
|
+
}
|
|
4944
|
+
}
|
|
4945
|
+
const Ki = An(hi, dn);
|
|
4940
4946
|
export {
|
|
4947
|
+
I as Cms,
|
|
4941
4948
|
dt as CmsServiceProvider,
|
|
4942
4949
|
ps as DialogProvider,
|
|
4950
|
+
Ki as Filter,
|
|
4943
4951
|
ds as LayoutProvider,
|
|
4944
4952
|
Ue as Link,
|
|
4945
|
-
|
|
4953
|
+
Vi as LuminixCms,
|
|
4946
4954
|
ze as ModelProvider,
|
|
4947
4955
|
ms as NotificationProvider,
|
|
4956
|
+
di as i18NextServiceProvider,
|
|
4948
4957
|
Ft as useActionEvent,
|
|
4949
4958
|
Es as useBackButton,
|
|
4950
4959
|
te as useCurrentModel,
|
|
@@ -4956,7 +4965,7 @@ export {
|
|
|
4956
4965
|
H as useLayoutConfig,
|
|
4957
4966
|
Bt as useMenu,
|
|
4958
4967
|
vt as useNotify,
|
|
4959
|
-
|
|
4968
|
+
Xn as usePageTitle,
|
|
4960
4969
|
As as useSearch,
|
|
4961
4970
|
Nt as useSelection,
|
|
4962
4971
|
Tt as useSetPageTitle,
|