yaml-admin-front 0.0.72 → 0.0.75
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.cjs.js +25 -25
- package/dist/index.es.js +104 -104
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -3055,7 +3055,7 @@ function f9(t) {
|
|
|
3055
3055
|
oe();
|
|
3056
3056
|
let st = k9(le, he);
|
|
3057
3057
|
if (q({ navigation: st }, { flushSync: We.flushSync === !0 }), ot) {
|
|
3058
|
-
let qe = await
|
|
3058
|
+
let qe = await on(
|
|
3059
3059
|
ke,
|
|
3060
3060
|
le.pathname,
|
|
3061
3061
|
J.signal
|
|
@@ -3169,7 +3169,7 @@ function f9(t) {
|
|
|
3169
3169
|
}
|
|
3170
3170
|
);
|
|
3171
3171
|
}
|
|
3172
|
-
let Ht = await
|
|
3172
|
+
let Ht = await on(
|
|
3173
3173
|
he,
|
|
3174
3174
|
le.pathname,
|
|
3175
3175
|
J.signal
|
|
@@ -3377,7 +3377,7 @@ function f9(t) {
|
|
|
3377
3377
|
st
|
|
3378
3378
|
);
|
|
3379
3379
|
if (ot) {
|
|
3380
|
-
let De = await
|
|
3380
|
+
let De = await on(
|
|
3381
3381
|
ke,
|
|
3382
3382
|
new URL(qe.url).pathname,
|
|
3383
3383
|
qe.signal,
|
|
@@ -3563,7 +3563,7 @@ function f9(t) {
|
|
|
3563
3563
|
rt.signal
|
|
3564
3564
|
);
|
|
3565
3565
|
if (ot) {
|
|
3566
|
-
let ue = await
|
|
3566
|
+
let ue = await on(
|
|
3567
3567
|
ke,
|
|
3568
3568
|
new URL(qe.url).pathname,
|
|
3569
3569
|
qe.signal,
|
|
@@ -3899,7 +3899,7 @@ function f9(t) {
|
|
|
3899
3899
|
) || [] };
|
|
3900
3900
|
return { active: !1, matches: null };
|
|
3901
3901
|
}
|
|
3902
|
-
async function
|
|
3902
|
+
async function on(J, le, he, ke) {
|
|
3903
3903
|
if (!t.patchRoutesOnNavigation)
|
|
3904
3904
|
return { type: "success", matches: J };
|
|
3905
3905
|
let je = J;
|
|
@@ -5181,7 +5181,7 @@ function R9(t, { relative: e } = {}) {
|
|
|
5181
5181
|
function Qs() {
|
|
5182
5182
|
return O.useContext(zp) != null;
|
|
5183
5183
|
}
|
|
5184
|
-
function
|
|
5184
|
+
function nn() {
|
|
5185
5185
|
return Pt(
|
|
5186
5186
|
Qs(),
|
|
5187
5187
|
// TODO: This error is probably because they somehow have 2 versions of the
|
|
@@ -5196,7 +5196,7 @@ function M9(t) {
|
|
|
5196
5196
|
// router loaded. We can help them understand how to avoid that.
|
|
5197
5197
|
"useMatch() may be used only in the context of a <Router> component."
|
|
5198
5198
|
);
|
|
5199
|
-
let { pathname: e } =
|
|
5199
|
+
let { pathname: e } = nn();
|
|
5200
5200
|
return O.useMemo(
|
|
5201
5201
|
() => Zf(t, r4(e)),
|
|
5202
5202
|
[e, t]
|
|
@@ -5217,7 +5217,7 @@ function L9() {
|
|
|
5217
5217
|
// router loaded. We can help them understand how to avoid that.
|
|
5218
5218
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
5219
5219
|
);
|
|
5220
|
-
let t = O.useContext(Ks), { basename: e, navigator: r } = O.useContext(Pi), { matches: n } = O.useContext(Ti), { pathname: a } =
|
|
5220
|
+
let t = O.useContext(Ks), { basename: e, navigator: r } = O.useContext(Pi), { matches: n } = O.useContext(Ti), { pathname: a } = nn(), i = JSON.stringify(xy(n)), o = O.useRef(!1);
|
|
5221
5221
|
return v4(() => {
|
|
5222
5222
|
o.current = !0;
|
|
5223
5223
|
}), O.useCallback(
|
|
@@ -5254,7 +5254,7 @@ function y4() {
|
|
|
5254
5254
|
return e ? e.params : {};
|
|
5255
5255
|
}
|
|
5256
5256
|
function Bp(t, { relative: e } = {}) {
|
|
5257
|
-
let { matches: r } = O.useContext(Ti), { pathname: n } =
|
|
5257
|
+
let { matches: r } = O.useContext(Ti), { pathname: n } = nn(), a = JSON.stringify(xy(r));
|
|
5258
5258
|
return O.useMemo(
|
|
5259
5259
|
() => wy(
|
|
5260
5260
|
t,
|
|
@@ -5286,7 +5286,7 @@ function b4(t, e, r, n) {
|
|
|
5286
5286
|
Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" : `${y}/*`}">.`
|
|
5287
5287
|
);
|
|
5288
5288
|
}
|
|
5289
|
-
let d =
|
|
5289
|
+
let d = nn(), p;
|
|
5290
5290
|
if (e) {
|
|
5291
5291
|
let y = typeof e == "string" ? lo(e) : e;
|
|
5292
5292
|
Pt(
|
|
@@ -5752,7 +5752,7 @@ function Z9({
|
|
|
5752
5752
|
!a,
|
|
5753
5753
|
"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change."
|
|
5754
5754
|
);
|
|
5755
|
-
let { matches: i } = O.useContext(Ti), { pathname: o } =
|
|
5755
|
+
let { matches: i } = O.useContext(Ti), { pathname: o } = nn(), s = ba(), c = wy(
|
|
5756
5756
|
t,
|
|
5757
5757
|
xy(i),
|
|
5758
5758
|
o,
|
|
@@ -6140,7 +6140,7 @@ function w8({
|
|
|
6140
6140
|
matches: e,
|
|
6141
6141
|
...r
|
|
6142
6142
|
}) {
|
|
6143
|
-
let n =
|
|
6143
|
+
let n = nn(), { manifest: a, routeModules: i } = C4(), { basename: o } = O4(), { loaderData: s, matches: c } = v8(), l = O.useMemo(
|
|
6144
6144
|
() => RR(
|
|
6145
6145
|
t,
|
|
6146
6146
|
e,
|
|
@@ -6328,7 +6328,7 @@ var k8 = O.forwardRef(
|
|
|
6328
6328
|
children: c,
|
|
6329
6329
|
...l
|
|
6330
6330
|
}, u) {
|
|
6331
|
-
let d = Bp(o, { relative: l.relative }), p =
|
|
6331
|
+
let d = Bp(o, { relative: l.relative }), p = nn(), h = O.useContext(Gu), { navigator: m, basename: g } = O.useContext(Pi), v = h != null && // Conditional usage is OK here because the usage of a data router is static
|
|
6332
6332
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
6333
6333
|
L8(d) && s === !0, y = m.encodeLocation ? m.encodeLocation(d).pathname : d.pathname, b = p.pathname, x = h && h.navigation && h.navigation.location ? h.navigation.location.pathname : null;
|
|
6334
6334
|
r || (b = b.toLowerCase(), x = x ? x.toLowerCase() : null, y = y.toLowerCase()), x && g && (x = ma(x, g) || x);
|
|
@@ -6421,7 +6421,7 @@ function T8(t, {
|
|
|
6421
6421
|
relative: i,
|
|
6422
6422
|
viewTransition: o
|
|
6423
6423
|
} = {}) {
|
|
6424
|
-
let s = ba(), c =
|
|
6424
|
+
let s = ba(), c = nn(), l = Bp(t, { relative: i });
|
|
6425
6425
|
return O.useCallback(
|
|
6426
6426
|
(u) => {
|
|
6427
6427
|
if (i8(u, e)) {
|
|
@@ -6492,7 +6492,7 @@ function R8() {
|
|
|
6492
6492
|
function M8(t, { relative: e } = {}) {
|
|
6493
6493
|
let { basename: r } = O.useContext(Pi), n = O.useContext(Ti);
|
|
6494
6494
|
Pt(n, "useFormAction must be used inside a RouteContext");
|
|
6495
|
-
let [a] = n.matches.slice(-1), i = { ...Bp(t || ".", { relative: e }) }, o =
|
|
6495
|
+
let [a] = n.matches.slice(-1), i = { ...Bp(t || ".", { relative: e }) }, o = nn();
|
|
6496
6496
|
if (t == null) {
|
|
6497
6497
|
i.search = o.search;
|
|
6498
6498
|
let s = new URLSearchParams(i.search), c = s.getAll("index");
|
|
@@ -9002,7 +9002,7 @@ var KK = GK();
|
|
|
9002
9002
|
const Wp = /* @__PURE__ */ mn(KK);
|
|
9003
9003
|
var QK = function(t, e) {
|
|
9004
9004
|
e === void 0 && (e = 250);
|
|
9005
|
-
var r = JK(t, e), n = r[0], a = r[1], i =
|
|
9005
|
+
var r = JK(t, e), n = r[0], a = r[1], i = nn();
|
|
9006
9006
|
Pe(function() {
|
|
9007
9007
|
var o;
|
|
9008
9008
|
n != null && ((o = i.state) === null || o === void 0 ? void 0 : o._scrollToTop) !== !0 && (a(void 0), window.scrollTo(0, n));
|
|
@@ -9459,12 +9459,12 @@ var uo = function(t) {
|
|
|
9459
9459
|
else return;
|
|
9460
9460
|
}, [t, e, r]);
|
|
9461
9461
|
}, pV = function(t) {
|
|
9462
|
-
var e =
|
|
9462
|
+
var e = nn().pathname, r = nt(e);
|
|
9463
9463
|
Pe(function() {
|
|
9464
9464
|
e !== r.current && t();
|
|
9465
9465
|
}, [e, t]);
|
|
9466
9466
|
}, uQ = function() {
|
|
9467
|
-
var t =
|
|
9467
|
+
var t = nn();
|
|
9468
9468
|
Pe(function() {
|
|
9469
9469
|
var e;
|
|
9470
9470
|
!((e = t.state) === null || e === void 0) && e._scrollToTop && typeof window < "u" && typeof window.scrollTo == "function" && window.scrollTo(0, 0);
|
|
@@ -10701,42 +10701,42 @@ var ZP = function(t, e) {
|
|
|
10701
10701
|
return t;
|
|
10702
10702
|
var i = EV(t[a], n.slice(1).join("."));
|
|
10703
10703
|
return Object.keys(i).length === 0 ? l2(t, a) : Object.assign({}, t, (r = {}, r[a] = i, r));
|
|
10704
|
-
},
|
|
10705
|
-
return
|
|
10704
|
+
}, sn = function() {
|
|
10705
|
+
return sn = Object.assign || function(t) {
|
|
10706
10706
|
for (var e, r = 1, n = arguments.length; r < n; r++) {
|
|
10707
10707
|
e = arguments[r];
|
|
10708
10708
|
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && (t[a] = e[a]);
|
|
10709
10709
|
}
|
|
10710
10710
|
return t;
|
|
10711
|
-
},
|
|
10711
|
+
}, sn.apply(this, arguments);
|
|
10712
10712
|
}, eT = "SET_SORT", Rs = "ASC", cE = "DESC", Em = "SET_PAGE", tT = "SET_PER_PAGE", tp = "SET_FILTER", rT = "SHOW_FILTER", nT = "HIDE_FILTER", cJ = function(t) {
|
|
10713
10713
|
return t === cE ? Rs : cE;
|
|
10714
10714
|
}, km = function(t, e) {
|
|
10715
10715
|
var r, n;
|
|
10716
10716
|
switch (e.type) {
|
|
10717
10717
|
case eT:
|
|
10718
|
-
return e.payload.field === t.sort ?
|
|
10718
|
+
return e.payload.field === t.sort ? sn(sn({}, t), { order: (n = e.payload.order) !== null && n !== void 0 ? n : cJ(t.order), page: 1 }) : sn(sn({}, t), { sort: e.payload.field, order: e.payload.order || Rs, page: 1 });
|
|
10719
10719
|
case Em:
|
|
10720
|
-
return
|
|
10720
|
+
return sn(sn({}, t), { page: e.payload });
|
|
10721
10721
|
case tT:
|
|
10722
|
-
return
|
|
10722
|
+
return sn(sn({}, t), { page: 1, perPage: e.payload });
|
|
10723
10723
|
case tp:
|
|
10724
|
-
return
|
|
10724
|
+
return sn(sn({}, t), { page: 1, filter: e.payload.filter, displayedFilters: e.payload.displayedFilters ? e.payload.displayedFilters : t.displayedFilters });
|
|
10725
10725
|
case rT:
|
|
10726
|
-
return t.displayedFilters && t.displayedFilters[e.payload.filterName] ? t :
|
|
10726
|
+
return t.displayedFilters && t.displayedFilters[e.payload.filterName] ? t : sn(sn({}, t), {
|
|
10727
10727
|
filter: typeof e.payload.defaultValue < "u" ? Ou(t.filter, e.payload.filterName, e.payload.defaultValue) : t.filter,
|
|
10728
10728
|
// we don't use lodash.set() for displayed filters
|
|
10729
10729
|
// to avoid problems with compound filter names (e.g. 'author.name')
|
|
10730
|
-
displayedFilters:
|
|
10730
|
+
displayedFilters: sn(sn({}, t.displayedFilters), (r = {}, r[e.payload.filterName] = !0, r))
|
|
10731
10731
|
});
|
|
10732
10732
|
case nT:
|
|
10733
|
-
return
|
|
10733
|
+
return sn(sn({}, t), {
|
|
10734
10734
|
filter: zs(EV(t.filter, e.payload)),
|
|
10735
10735
|
// we don't use lodash.set() for displayed filters
|
|
10736
10736
|
// to avoid problems with compound filter names (e.g. 'author.name')
|
|
10737
10737
|
displayedFilters: t.displayedFilters ? Object.keys(t.displayedFilters).reduce(function(a, i) {
|
|
10738
10738
|
var o;
|
|
10739
|
-
return i !== e.payload ?
|
|
10739
|
+
return i !== e.payload ? sn(sn({}, a), (o = {}, o[i] = !0, o)) : a;
|
|
10740
10740
|
}, {}) : t.displayedFilters
|
|
10741
10741
|
});
|
|
10742
10742
|
default:
|
|
@@ -12320,7 +12320,7 @@ var iZ = function(t, e) {
|
|
|
12320
12320
|
(i || !(n in e)) && (i || (i = Array.prototype.slice.call(e, 0, n)), i[n] = e[n]);
|
|
12321
12321
|
return t.concat(i || Array.prototype.slice.call(e));
|
|
12322
12322
|
}, cZ = function(t) {
|
|
12323
|
-
var e = t.debounce, r = e === void 0 ? 500 : e, n = t.disableSyncWithLocation, a = n === void 0 ? !1 : n, i = t.filterDefaultValues, o = t.perPage, s = o === void 0 ? 10 : o, c = t.resource, l = t.sort, u = l === void 0 ? pZ : l, d = t.storeKey, p = d === void 0 ? a ? !1 : "".concat(c, ".listParams") : d, h =
|
|
12323
|
+
var e = t.debounce, r = e === void 0 ? 500 : e, n = t.disableSyncWithLocation, a = n === void 0 ? !1 : n, i = t.filterDefaultValues, o = t.perPage, s = o === void 0 ? 10 : o, c = t.resource, l = t.sort, u = l === void 0 ? pZ : l, d = t.storeKey, p = d === void 0 ? a ? !1 : "".concat(c, ".listParams") : d, h = nn(), m = ba(), g = et(j2), v = g[0], y = g[1], b = ci(p || "".concat(c, ".listParams"), j2), x = b[0], S = b[1], w = nt(), C = UJ(), E = [
|
|
12324
12324
|
h.search,
|
|
12325
12325
|
c,
|
|
12326
12326
|
p,
|
|
@@ -14846,7 +14846,7 @@ var fs = function() {
|
|
|
14846
14846
|
}), r;
|
|
14847
14847
|
}, sH = function(t) {
|
|
14848
14848
|
t === void 0 && (t = {});
|
|
14849
|
-
var e = t.searchSource, r = t.stateSource, n =
|
|
14849
|
+
var e = t.searchSource, r = t.stateSource, n = nn(), a = et(function() {
|
|
14850
14850
|
return K2(n, {
|
|
14851
14851
|
stateSource: r,
|
|
14852
14852
|
searchSource: e
|
|
@@ -18630,7 +18630,7 @@ var rre = function(t) {
|
|
|
18630
18630
|
var t = Ay().reset;
|
|
18631
18631
|
return t;
|
|
18632
18632
|
}, rd = function() {
|
|
18633
|
-
var t = Fa(), e = ea(), r = are(), n = ba(), a = nt(n), i =
|
|
18633
|
+
var t = Fa(), e = ea(), r = are(), n = ba(), a = nt(n), i = nn(), o = nt(i), s = es(), c = zi("".concat(s, "/").concat(by.loginUrl));
|
|
18634
18634
|
Pe(function() {
|
|
18635
18635
|
o.current = i, a.current = n;
|
|
18636
18636
|
}, [i, n]);
|
|
@@ -18801,7 +18801,7 @@ var rre = function(t) {
|
|
|
18801
18801
|
if (r)
|
|
18802
18802
|
return r(mf({ permissions: u }, s));
|
|
18803
18803
|
}, dre = function() {
|
|
18804
|
-
var t = Fa(), e = ea(), r =
|
|
18804
|
+
var t = Fa(), e = ea(), r = nn(), n = r.state, a = ba(), i = es(), o = Y4().resetNotifications, s = n && n.nextPathname, c = n && n.nextSearch, l = zi("".concat(i, "/").concat(by.afterLoginUrl)), u = fe(function(d, p) {
|
|
18805
18805
|
return d === void 0 && (d = {}), t ? t.login(d).then(function(h) {
|
|
18806
18806
|
if (o(), e.invalidateQueries({
|
|
18807
18807
|
queryKey: ["auth", "getPermissions"]
|
|
@@ -19158,7 +19158,7 @@ var Ao = function() {
|
|
|
19158
19158
|
e.indexOf(n[a]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[a]) && (r[n[a]] = t[n[a]]);
|
|
19159
19159
|
return r;
|
|
19160
19160
|
}, Rre = function(t) {
|
|
19161
|
-
var e = Fa(), r = sc(), n =
|
|
19161
|
+
var e = Fa(), r = sc(), n = nn(), a = n.state, i = a && a.nextPathname, o = a && a.nextSearch, s = i ? i + o : "/", c = {}, l = c.onSuccess, u = c.onError, d = c.onSettled, p = Ire(c, ["onSuccess", "onError", "onSettled"]), h, m = Jo(EE({ queryKey: ["auth", "handleCallback"], queryFn: function(b) {
|
|
19162
19162
|
var x = b.signal;
|
|
19163
19163
|
return h || (h = e && typeof e.handleCallback == "function" ? e.handleCallback({ signal: x }).then(function(S) {
|
|
19164
19164
|
return S ?? null;
|
|
@@ -19445,7 +19445,7 @@ function Jh(t, e) {
|
|
|
19445
19445
|
function Zre(t, e) {
|
|
19446
19446
|
return t.map(e).join("");
|
|
19447
19447
|
}
|
|
19448
|
-
var Jy = 1, ku = 1, FH = 0, va = 0,
|
|
19448
|
+
var Jy = 1, ku = 1, FH = 0, va = 0, ln = 0, nd = "";
|
|
19449
19449
|
function Zy(t, e, r, n, a, i, o) {
|
|
19450
19450
|
return { value: t, root: e, parent: r, type: n, props: a, children: i, line: Jy, column: ku, length: o, return: "" };
|
|
19451
19451
|
}
|
|
@@ -19453,13 +19453,13 @@ function Ld(t, e) {
|
|
|
19453
19453
|
return Kre(Zy("", null, null, "", null, null, 0), t, { length: -t.length }, e);
|
|
19454
19454
|
}
|
|
19455
19455
|
function ene() {
|
|
19456
|
-
return
|
|
19456
|
+
return ln;
|
|
19457
19457
|
}
|
|
19458
19458
|
function tne() {
|
|
19459
|
-
return
|
|
19459
|
+
return ln = va > 0 ? On(nd, --va) : 0, ku--, ln === 10 && (ku = 1, Jy--), ln;
|
|
19460
19460
|
}
|
|
19461
19461
|
function Ma() {
|
|
19462
|
-
return
|
|
19462
|
+
return ln = va < FH ? On(nd, va++) : 0, ku++, ln === 10 && (ku = 1, Jy++), ln;
|
|
19463
19463
|
}
|
|
19464
19464
|
function Qi() {
|
|
19465
19465
|
return On(nd, va);
|
|
@@ -19518,25 +19518,25 @@ function $g(t) {
|
|
|
19518
19518
|
return DH(Gp(va - 1, _E(t === 91 ? t + 2 : t === 40 ? t + 1 : t)));
|
|
19519
19519
|
}
|
|
19520
19520
|
function rne(t) {
|
|
19521
|
-
for (; (
|
|
19521
|
+
for (; (ln = Qi()) && ln < 33; )
|
|
19522
19522
|
Ma();
|
|
19523
|
-
return ip(t) > 2 || ip(
|
|
19523
|
+
return ip(t) > 2 || ip(ln) > 3 ? "" : " ";
|
|
19524
19524
|
}
|
|
19525
19525
|
function nne(t, e) {
|
|
19526
|
-
for (; --e && Ma() && !(
|
|
19526
|
+
for (; --e && Ma() && !(ln < 48 || ln > 102 || ln > 57 && ln < 65 || ln > 70 && ln < 97); )
|
|
19527
19527
|
;
|
|
19528
19528
|
return Gp(t, Fg() + (e < 6 && Qi() == 32 && Ma() == 32));
|
|
19529
19529
|
}
|
|
19530
19530
|
function _E(t) {
|
|
19531
19531
|
for (; Ma(); )
|
|
19532
|
-
switch (
|
|
19532
|
+
switch (ln) {
|
|
19533
19533
|
// ] ) " '
|
|
19534
19534
|
case t:
|
|
19535
19535
|
return va;
|
|
19536
19536
|
// " '
|
|
19537
19537
|
case 34:
|
|
19538
19538
|
case 39:
|
|
19539
|
-
t !== 34 && t !== 39 && _E(
|
|
19539
|
+
t !== 34 && t !== 39 && _E(ln);
|
|
19540
19540
|
break;
|
|
19541
19541
|
// (
|
|
19542
19542
|
case 40:
|
|
@@ -19550,8 +19550,8 @@ function _E(t) {
|
|
|
19550
19550
|
return va;
|
|
19551
19551
|
}
|
|
19552
19552
|
function ane(t, e) {
|
|
19553
|
-
for (; Ma() && t +
|
|
19554
|
-
if (t +
|
|
19553
|
+
for (; Ma() && t + ln !== 57; )
|
|
19554
|
+
if (t + ln === 84 && Qi() === 47)
|
|
19555
19555
|
break;
|
|
19556
19556
|
return "/*" + Gp(e, va - 1) + "*" + Qy(t === 47 ? t : Ma());
|
|
19557
19557
|
}
|
|
@@ -21473,7 +21473,7 @@ function JH(t) {
|
|
|
21473
21473
|
e[r] = JH(t[r]);
|
|
21474
21474
|
}), e;
|
|
21475
21475
|
}
|
|
21476
|
-
function
|
|
21476
|
+
function cn(t, e, r = {
|
|
21477
21477
|
clone: !0
|
|
21478
21478
|
}) {
|
|
21479
21479
|
const n = r.clone ? {
|
|
@@ -21481,7 +21481,7 @@ function ln(t, e, r = {
|
|
|
21481
21481
|
} : t;
|
|
21482
21482
|
return qi(t) && qi(e) && Object.keys(e).forEach((a) => {
|
|
21483
21483
|
/* @__PURE__ */ O.isValidElement(e[a]) || Xo.isValidElementType(e[a]) ? n[a] = e[a] : qi(e[a]) && // Avoid prototype pollution
|
|
21484
|
-
Object.prototype.hasOwnProperty.call(t, a) && qi(t[a]) ? n[a] =
|
|
21484
|
+
Object.prototype.hasOwnProperty.call(t, a) && qi(t[a]) ? n[a] = cn(t[a], e[a], r) : r.clone ? n[a] = qi(e[a]) ? JH(e[a]) : e[a] : n[a] = e[a];
|
|
21485
21485
|
}), n;
|
|
21486
21486
|
}
|
|
21487
21487
|
const Qne = (t) => {
|
|
@@ -21589,7 +21589,7 @@ const rae = {
|
|
|
21589
21589
|
borderRadius: 4
|
|
21590
21590
|
}, nl = process.env.NODE_ENV !== "production" ? f.oneOfType([f.number, f.string, f.object, f.array]) : {};
|
|
21591
21591
|
function yf(t, e) {
|
|
21592
|
-
return e ?
|
|
21592
|
+
return e ? cn(t, e, {
|
|
21593
21593
|
clone: !1
|
|
21594
21594
|
// No need to clone deep, it's way faster.
|
|
21595
21595
|
}) : t;
|
|
@@ -21655,7 +21655,7 @@ function AE(t, e) {
|
|
|
21655
21655
|
}, e);
|
|
21656
21656
|
}
|
|
21657
21657
|
function aae(t, ...e) {
|
|
21658
|
-
const r = ZH(t), n = [r, ...e].reduce((a, i) =>
|
|
21658
|
+
const r = ZH(t), n = [r, ...e].reduce((a, i) => cn(a, i), {});
|
|
21659
21659
|
return AE(Object.keys(r), n);
|
|
21660
21660
|
}
|
|
21661
21661
|
function iae(t, e) {
|
|
@@ -21698,7 +21698,7 @@ function zm(t, e, r, n = r) {
|
|
|
21698
21698
|
let a;
|
|
21699
21699
|
return typeof t == "function" ? a = t(r) : Array.isArray(t) ? a = t[r] || n : a = Hi(t, r) || n, e && (a = e(a, n, t)), a;
|
|
21700
21700
|
}
|
|
21701
|
-
function
|
|
21701
|
+
function an(t) {
|
|
21702
21702
|
const {
|
|
21703
21703
|
prop: e,
|
|
21704
21704
|
cssProperty: r = t.prop,
|
|
@@ -21813,7 +21813,7 @@ function Xa(t) {
|
|
|
21813
21813
|
return typeof t != "number" ? t : `${t}px solid`;
|
|
21814
21814
|
}
|
|
21815
21815
|
function ui(t, e) {
|
|
21816
|
-
return
|
|
21816
|
+
return an({
|
|
21817
21817
|
prop: t,
|
|
21818
21818
|
themeKey: "borders",
|
|
21819
21819
|
transform: e
|
|
@@ -21872,39 +21872,39 @@ lb.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
21872
21872
|
rowGap: nl
|
|
21873
21873
|
} : {};
|
|
21874
21874
|
lb.filterProps = ["rowGap"];
|
|
21875
|
-
const Eae =
|
|
21875
|
+
const Eae = an({
|
|
21876
21876
|
prop: "gridColumn"
|
|
21877
|
-
}), kae =
|
|
21877
|
+
}), kae = an({
|
|
21878
21878
|
prop: "gridRow"
|
|
21879
|
-
}), _ae =
|
|
21879
|
+
}), _ae = an({
|
|
21880
21880
|
prop: "gridAutoFlow"
|
|
21881
|
-
}), Pae =
|
|
21881
|
+
}), Pae = an({
|
|
21882
21882
|
prop: "gridAutoColumns"
|
|
21883
|
-
}), Tae =
|
|
21883
|
+
}), Tae = an({
|
|
21884
21884
|
prop: "gridAutoRows"
|
|
21885
|
-
}), Aae =
|
|
21885
|
+
}), Aae = an({
|
|
21886
21886
|
prop: "gridTemplateColumns"
|
|
21887
|
-
}), Iae =
|
|
21887
|
+
}), Iae = an({
|
|
21888
21888
|
prop: "gridTemplateRows"
|
|
21889
|
-
}), Rae =
|
|
21889
|
+
}), Rae = an({
|
|
21890
21890
|
prop: "gridTemplateAreas"
|
|
21891
|
-
}), Mae =
|
|
21891
|
+
}), Mae = an({
|
|
21892
21892
|
prop: "gridArea"
|
|
21893
21893
|
});
|
|
21894
21894
|
ab(ob, sb, lb, Eae, kae, _ae, Pae, Tae, Aae, Iae, Rae, Mae);
|
|
21895
21895
|
function ru(t, e) {
|
|
21896
21896
|
return e === "grey" ? e : t;
|
|
21897
21897
|
}
|
|
21898
|
-
const Lae =
|
|
21898
|
+
const Lae = an({
|
|
21899
21899
|
prop: "color",
|
|
21900
21900
|
themeKey: "palette",
|
|
21901
21901
|
transform: ru
|
|
21902
|
-
}), jae =
|
|
21902
|
+
}), jae = an({
|
|
21903
21903
|
prop: "bgcolor",
|
|
21904
21904
|
cssProperty: "backgroundColor",
|
|
21905
21905
|
themeKey: "palette",
|
|
21906
21906
|
transform: ru
|
|
21907
|
-
}), Nae =
|
|
21907
|
+
}), Nae = an({
|
|
21908
21908
|
prop: "backgroundColor",
|
|
21909
21909
|
themeKey: "palette",
|
|
21910
21910
|
transform: ru
|
|
@@ -21913,7 +21913,7 @@ ab(Lae, jae, Nae);
|
|
|
21913
21913
|
function Ta(t) {
|
|
21914
21914
|
return t <= 1 && t !== 0 ? `${t * 100}%` : t;
|
|
21915
21915
|
}
|
|
21916
|
-
const Dae =
|
|
21916
|
+
const Dae = an({
|
|
21917
21917
|
prop: "width",
|
|
21918
21918
|
transform: Ta
|
|
21919
21919
|
}), AT = (t) => {
|
|
@@ -21933,30 +21933,30 @@ const Dae = nn({
|
|
|
21933
21933
|
return null;
|
|
21934
21934
|
};
|
|
21935
21935
|
AT.filterProps = ["maxWidth"];
|
|
21936
|
-
const Fae =
|
|
21936
|
+
const Fae = an({
|
|
21937
21937
|
prop: "minWidth",
|
|
21938
21938
|
transform: Ta
|
|
21939
|
-
}), $ae =
|
|
21939
|
+
}), $ae = an({
|
|
21940
21940
|
prop: "height",
|
|
21941
21941
|
transform: Ta
|
|
21942
|
-
}), zae =
|
|
21942
|
+
}), zae = an({
|
|
21943
21943
|
prop: "maxHeight",
|
|
21944
21944
|
transform: Ta
|
|
21945
|
-
}), Bae =
|
|
21945
|
+
}), Bae = an({
|
|
21946
21946
|
prop: "minHeight",
|
|
21947
21947
|
transform: Ta
|
|
21948
21948
|
});
|
|
21949
|
-
|
|
21949
|
+
an({
|
|
21950
21950
|
prop: "size",
|
|
21951
21951
|
cssProperty: "width",
|
|
21952
21952
|
transform: Ta
|
|
21953
21953
|
});
|
|
21954
|
-
|
|
21954
|
+
an({
|
|
21955
21955
|
prop: "size",
|
|
21956
21956
|
cssProperty: "height",
|
|
21957
21957
|
transform: Ta
|
|
21958
21958
|
});
|
|
21959
|
-
const Vae =
|
|
21959
|
+
const Vae = an({
|
|
21960
21960
|
prop: "boxSizing"
|
|
21961
21961
|
});
|
|
21962
21962
|
ab(Dae, AT, Fae, $ae, zae, Bae, Vae);
|
|
@@ -22354,7 +22354,7 @@ function eh(t = {}, ...e) {
|
|
|
22354
22354
|
shape: i = {},
|
|
22355
22355
|
...o
|
|
22356
22356
|
} = t, s = Jne(r), c = t5(a);
|
|
22357
|
-
let l =
|
|
22357
|
+
let l = cn({
|
|
22358
22358
|
breakpoints: s,
|
|
22359
22359
|
direction: "ltr",
|
|
22360
22360
|
components: {},
|
|
@@ -22369,7 +22369,7 @@ function eh(t = {}, ...e) {
|
|
|
22369
22369
|
...i
|
|
22370
22370
|
}
|
|
22371
22371
|
}, o);
|
|
22372
|
-
return l = tae(l), l.applyStyles = Yae, l = e.reduce((u, d) =>
|
|
22372
|
+
return l = tae(l), l.applyStyles = Yae, l = e.reduce((u, d) => cn(u, d), l), l.unstable_sxConfig = {
|
|
22373
22373
|
...Zp,
|
|
22374
22374
|
...o?.unstable_sxConfig
|
|
22375
22375
|
}, l.unstable_sx = function(d) {
|
|
@@ -23716,7 +23716,7 @@ function Lie(t, e = {}) {
|
|
|
23716
23716
|
css: E,
|
|
23717
23717
|
varsWithDefaults: k
|
|
23718
23718
|
} = VS(w, e);
|
|
23719
|
-
h =
|
|
23719
|
+
h = cn(h, k), m[S] = {
|
|
23720
23720
|
css: E,
|
|
23721
23721
|
vars: C
|
|
23722
23722
|
};
|
|
@@ -23726,7 +23726,7 @@ function Lie(t, e = {}) {
|
|
|
23726
23726
|
vars: w,
|
|
23727
23727
|
varsWithDefaults: C
|
|
23728
23728
|
} = VS(g, e);
|
|
23729
|
-
h =
|
|
23729
|
+
h = cn(h, C), m[c] = {
|
|
23730
23730
|
css: S,
|
|
23731
23731
|
vars: w
|
|
23732
23732
|
};
|
|
@@ -23754,7 +23754,7 @@ function Lie(t, e = {}) {
|
|
|
23754
23754
|
return Object.entries(m).forEach(([, {
|
|
23755
23755
|
vars: w
|
|
23756
23756
|
}]) => {
|
|
23757
|
-
S =
|
|
23757
|
+
S = cn(S, w);
|
|
23758
23758
|
}), S;
|
|
23759
23759
|
},
|
|
23760
23760
|
generateStyleSheets: () => {
|
|
@@ -24146,7 +24146,7 @@ const noe = (t) => ({
|
|
|
24146
24146
|
const p = l > 0 ? i[u[l - 1]] : "column";
|
|
24147
24147
|
i[c] = p;
|
|
24148
24148
|
}
|
|
24149
|
-
}), r =
|
|
24149
|
+
}), r = cn(r, Oi({
|
|
24150
24150
|
theme: e
|
|
24151
24151
|
}, o, (c, l) => t.useFlexGap ? {
|
|
24152
24152
|
gap: Zl(n, c)
|
|
@@ -24400,7 +24400,7 @@ const theme2 = createTheme({ palette: {
|
|
|
24400
24400
|
return a ? (yD(a, v, "light", x, n), yD(a, v, "dark", S, n)) : (vD(v, "light", x, n), vD(v, "dark", S, n)), v.contrastText || (v.contrastText = p(v.main)), v;
|
|
24401
24401
|
};
|
|
24402
24402
|
let m;
|
|
24403
|
-
return e === "light" ? m = b5() : e === "dark" && (m = w5()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${e}\` is not supported.`)),
|
|
24403
|
+
return e === "light" ? m = b5() : e === "dark" && (m = w5()), process.env.NODE_ENV !== "production" && (m || console.error(`MUI: The palette mode \`${e}\` is not supported.`)), cn({
|
|
24404
24404
|
// A collection of common colors.
|
|
24405
24405
|
common: {
|
|
24406
24406
|
...np
|
|
@@ -24542,7 +24542,7 @@ function S5(t, e) {
|
|
|
24542
24542
|
letterSpacing: "inherit"
|
|
24543
24543
|
}
|
|
24544
24544
|
};
|
|
24545
|
-
return
|
|
24545
|
+
return cn({
|
|
24546
24546
|
htmlFontSize: c,
|
|
24547
24547
|
pxToRem: h,
|
|
24548
24548
|
fontFamily: r,
|
|
@@ -24707,7 +24707,7 @@ function LE(t = {}, ...e) {
|
|
|
24707
24707
|
...i,
|
|
24708
24708
|
colorSpace: l
|
|
24709
24709
|
}), p = eh(t);
|
|
24710
|
-
let h =
|
|
24710
|
+
let h = cn(p, {
|
|
24711
24711
|
mixins: hoe(p.breakpoints, n),
|
|
24712
24712
|
palette: d,
|
|
24713
24713
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
@@ -24718,7 +24718,7 @@ function LE(t = {}, ...e) {
|
|
|
24718
24718
|
...Ooe
|
|
24719
24719
|
}
|
|
24720
24720
|
});
|
|
24721
|
-
if (h =
|
|
24721
|
+
if (h = cn(h, u), h = e.reduce((m, g) => cn(m, g), h), process.env.NODE_ENV !== "production") {
|
|
24722
24722
|
const m = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], g = (v, y) => {
|
|
24723
24723
|
let b;
|
|
24724
24724
|
for (b in v) {
|
|
@@ -24968,7 +24968,7 @@ function joe(t = {}, ...e) {
|
|
|
24968
24968
|
const N = P[L];
|
|
24969
24969
|
L !== "tonalOffset" && N && typeof N == "object" && (N.main && xe(P[L], "mainChannel", rf(nf(N.main))), N.light && xe(P[L], "lightChannel", rf(nf(N.light))), N.dark && xe(P[L], "darkChannel", rf(nf(N.dark))), N.contrastText && xe(P[L], "contrastTextChannel", rf(nf(N.contrastText))), L === "text" && (Eo(P[L], "primary"), Eo(P[L], "secondary")), L === "action" && (N.active && Eo(P[L], "active"), N.selected && Eo(P[L], "selected")));
|
|
24970
24970
|
});
|
|
24971
|
-
}), C = e.reduce((T, P) =>
|
|
24971
|
+
}), C = e.reduce((T, P) => cn(T, P), C);
|
|
24972
24972
|
const E = {
|
|
24973
24973
|
prefix: i,
|
|
24974
24974
|
disableCssColorScheme: a,
|
|
@@ -29327,7 +29327,7 @@ function ple(t) {
|
|
|
29327
29327
|
} else if (we === me)
|
|
29328
29328
|
return;
|
|
29329
29329
|
I && I(ue, me, Re, ft), _e(me);
|
|
29330
|
-
},
|
|
29330
|
+
}, on = O.useRef(!1), Vn = (ue, me, Re = "selectOption", ft = "options") => {
|
|
29331
29331
|
let pt = Re, Xt = me;
|
|
29332
29332
|
if (P) {
|
|
29333
29333
|
if (Xt = Array.isArray(we) ? we.slice() : [], process.env.NODE_ENV !== "production") {
|
|
@@ -29340,7 +29340,7 @@ function ple(t) {
|
|
|
29340
29340
|
}
|
|
29341
29341
|
ie(ue, Xt, pt), dn(ue, Xt, pt, {
|
|
29342
29342
|
option: me
|
|
29343
|
-
}), !p && (!ue || !ue.ctrlKey && !ue.metaKey) && An(ue, pt), (o === !0 || o === "touch" &&
|
|
29343
|
+
}), !p && (!ue || !ue.ctrlKey && !ue.metaKey) && An(ue, pt), (o === !0 || o === "touch" && on.current || o === "mouse" && !on.current) && ne.current.blur();
|
|
29344
29344
|
};
|
|
29345
29345
|
function dt(ue, me) {
|
|
29346
29346
|
if (ue === -1)
|
|
@@ -29474,10 +29474,10 @@ function ple(t) {
|
|
|
29474
29474
|
event: ue,
|
|
29475
29475
|
index: Number(ue.currentTarget.getAttribute("data-option-index")),
|
|
29476
29476
|
reason: "touch"
|
|
29477
|
-
}),
|
|
29477
|
+
}), on.current = !0;
|
|
29478
29478
|
}, st = (ue) => {
|
|
29479
29479
|
const me = Number(ue.currentTarget.getAttribute("data-option-index"));
|
|
29480
|
-
Vn(ue, Ee[me], "selectOption"),
|
|
29480
|
+
Vn(ue, Ee[me], "selectOption"), on.current = !1;
|
|
29481
29481
|
}, yt = (ue) => (me) => {
|
|
29482
29482
|
const Re = we.slice();
|
|
29483
29483
|
Re.splice(ue, 1), dn(me, Re, "removeOption", {
|
|
@@ -33061,7 +33061,7 @@ const qce = (t) => {
|
|
|
33061
33061
|
dirty: wr,
|
|
33062
33062
|
expanded: An,
|
|
33063
33063
|
id: dn,
|
|
33064
|
-
popupOpen:
|
|
33064
|
+
popupOpen: on,
|
|
33065
33065
|
focused: Vn,
|
|
33066
33066
|
focusedItem: dt,
|
|
33067
33067
|
anchorEl: J,
|
|
@@ -33086,7 +33086,7 @@ const qce = (t) => {
|
|
|
33086
33086
|
hasClearIcon: je,
|
|
33087
33087
|
hasPopupIcon: ot,
|
|
33088
33088
|
inputFocused: dt === -1,
|
|
33089
|
-
popupOpen:
|
|
33089
|
+
popupOpen: on,
|
|
33090
33090
|
size: Ie
|
|
33091
33091
|
}, ht = qce(qe), Bt = {
|
|
33092
33092
|
slots: {
|
|
@@ -33124,7 +33124,7 @@ const qce = (t) => {
|
|
|
33124
33124
|
},
|
|
33125
33125
|
role: "presentation",
|
|
33126
33126
|
anchorEl: J,
|
|
33127
|
-
open:
|
|
33127
|
+
open: on
|
|
33128
33128
|
}
|
|
33129
33129
|
});
|
|
33130
33130
|
let ft;
|
|
@@ -33221,8 +33221,8 @@ const qce = (t) => {
|
|
|
33221
33221
|
}) : null, ot ? /* @__PURE__ */ M.jsx(Gce, {
|
|
33222
33222
|
...Ve(),
|
|
33223
33223
|
disabled: x,
|
|
33224
|
-
"aria-label":
|
|
33225
|
-
title:
|
|
33224
|
+
"aria-label": on ? m : Ne,
|
|
33225
|
+
title: on ? m : Ne,
|
|
33226
33226
|
ownerState: qe,
|
|
33227
33227
|
...Kr,
|
|
33228
33228
|
className: se(ht.popupIndicator, Kr?.className),
|
|
@@ -38812,7 +38812,7 @@ const qde = (t) => {
|
|
|
38812
38812
|
input: {
|
|
38813
38813
|
ownerState: g
|
|
38814
38814
|
}
|
|
38815
|
-
}, b = d ?? o ?
|
|
38815
|
+
}, b = d ?? o ? cn(y, d ?? o) : y, x = p.root ?? i.Root ?? Yde, S = p.input ?? i.Input ?? Ude;
|
|
38816
38816
|
return /* @__PURE__ */ M.jsx(uh, {
|
|
38817
38817
|
slots: {
|
|
38818
38818
|
root: x,
|
|
@@ -40338,7 +40338,7 @@ const ffe = (t) => {
|
|
|
40338
40338
|
disableUnderline: a
|
|
40339
40339
|
}
|
|
40340
40340
|
}
|
|
40341
|
-
}, y = u ?? o ?
|
|
40341
|
+
}, y = u ?? o ? cn(u ?? o, v) : v, b = d.root ?? i.Root ?? pfe, x = d.input ?? i.Input ?? hfe;
|
|
40342
40342
|
return /* @__PURE__ */ M.jsx(uh, {
|
|
40343
40343
|
slots: {
|
|
40344
40344
|
root: b,
|
|
@@ -45255,7 +45255,7 @@ const Lpe = (t) => {
|
|
|
45255
45255
|
}
|
|
45256
45256
|
},
|
|
45257
45257
|
...h,
|
|
45258
|
-
classes: h ?
|
|
45258
|
+
classes: h ? cn(F, h.classes) : F,
|
|
45259
45259
|
...p ? p.props.inputProps : {}
|
|
45260
45260
|
},
|
|
45261
45261
|
...(y && b || l) && I === "outlined" ? {
|
|
@@ -46684,7 +46684,7 @@ const Ri = /* @__PURE__ */ O.forwardRef(function(e, r) {
|
|
|
46684
46684
|
className: Ve.tooltip,
|
|
46685
46685
|
externalForwardedProps: Ct,
|
|
46686
46686
|
ownerState: It
|
|
46687
|
-
}), [
|
|
46687
|
+
}), [on, Vn] = Ze("arrow", {
|
|
46688
46688
|
elementType: nhe,
|
|
46689
46689
|
className: Ve.arrow,
|
|
46690
46690
|
externalForwardedProps: Ct,
|
|
@@ -46720,7 +46720,7 @@ const Ri = /* @__PURE__ */ O.forwardRef(function(e, r) {
|
|
|
46720
46720
|
...wr,
|
|
46721
46721
|
children: /* @__PURE__ */ M.jsxs(An, {
|
|
46722
46722
|
...dn,
|
|
46723
|
-
children: [I, a ? /* @__PURE__ */ M.jsx(
|
|
46723
|
+
children: [I, a ? /* @__PURE__ */ M.jsx(on, {
|
|
46724
46724
|
...Vn
|
|
46725
46725
|
}) : null]
|
|
46726
46726
|
})
|
|
@@ -49887,7 +49887,7 @@ var qW = function(t) {
|
|
|
49887
49887
|
}
|
|
49888
49888
|
}
|
|
49889
49889
|
}
|
|
49890
|
-
}, UW =
|
|
49890
|
+
}, UW = cn(YW, {
|
|
49891
49891
|
palette: {
|
|
49892
49892
|
background: {
|
|
49893
49893
|
default: "#fafafb"
|
|
@@ -49911,7 +49911,7 @@ var qW = function(t) {
|
|
|
49911
49911
|
}
|
|
49912
49912
|
}
|
|
49913
49913
|
}
|
|
49914
|
-
}), Uge =
|
|
49914
|
+
}), Uge = cn(YW, {
|
|
49915
49915
|
palette: {
|
|
49916
49916
|
mode: "dark",
|
|
49917
49917
|
primary: {
|
|
@@ -50285,7 +50285,7 @@ var ks = function() {
|
|
|
50285
50285
|
O.createElement(cl, ks({ label: "title", variant: "filled", size: "small", fullWidth: !0, sx: { mb: 1 } }, t))
|
|
50286
50286
|
);
|
|
50287
50287
|
}, fme = function(t) {
|
|
50288
|
-
var e = t.preferenceKey, r = t.title, n = t.defaultTitle, a = JW(t, ["preferenceKey", "title", "defaultTitle"]), i =
|
|
50288
|
+
var e = t.preferenceKey, r = t.title, n = t.defaultTitle, a = JW(t, ["preferenceKey", "title", "defaultTitle"]), i = nn().pathname;
|
|
50289
50289
|
return O.createElement(
|
|
50290
50290
|
ime,
|
|
50291
50291
|
{ editor: O.createElement(dme, null), preferenceKey: e || "".concat(i, ".title"), sx: {
|
|
@@ -53257,7 +53257,7 @@ var Lk = function() {
|
|
|
53257
53257
|
isPending: I,
|
|
53258
53258
|
resource: pe,
|
|
53259
53259
|
source: we
|
|
53260
|
-
}), jt = Ee.allChoices, It = Ee.isPending, Ot = Ee.error, un = Ee.resource, Ve = Ee.source, ut = Ee.setFilters, Ct = Ee.isFromReference, Cr = Je(), bn = tl(Ca({ defaultValue: b, id: _, field: C, fieldState: z, formState: W, isRequired: R, onBlur: Y, onChange: te, parse: ce, format: E, resource: un, source: Ve, validate: ye, disabled: be, readOnly: Ce }, He)), Bn = bn.id, wr = bn.field, An = bn.isRequired, dn = bn.fieldState,
|
|
53260
|
+
}), jt = Ee.allChoices, It = Ee.isPending, Ot = Ee.error, un = Ee.resource, Ve = Ee.source, ut = Ee.setFilters, Ct = Ee.isFromReference, Cr = Je(), bn = tl(Ca({ defaultValue: b, id: _, field: C, fieldState: z, formState: W, isRequired: R, onBlur: Y, onChange: te, parse: ce, format: E, resource: un, source: Ve, validate: ye, disabled: be, readOnly: Ce }, He)), Bn = bn.id, wr = bn.field, An = bn.isRequired, dn = bn.fieldState, on = dn.error, Vn = dn.invalid, dt = Fe(function() {
|
|
53261
53261
|
var De;
|
|
53262
53262
|
return x == null || An || X ? jt : [
|
|
53263
53263
|
(De = {}, De[U || "id"] = w, De[typeof H == "string" ? H : "name"] = Cr(x, {
|
|
@@ -53419,7 +53419,7 @@ If you provided a React element for the optionText prop, you must also provide t
|
|
|
53419
53419
|
var mt, tr, Oa = Ca(Ca({ readOnly: Ce }, De.InputProps), G?.InputProps), wo = G?.slotProps ? {
|
|
53420
53420
|
slotProps: Ca(Ca({}, G?.slotProps), { input: Ca(Ca({ readOnly: Ce }, De.InputProps), (tr = G?.slotProps) === null || tr === void 0 ? void 0 : tr.input) })
|
|
53421
53421
|
} : void 0;
|
|
53422
|
-
return O.createElement(cl, Ca({ name: wr.name, label: L !== "" && L !== !1 ? O.createElement(ja, { label: L, source: Ve, resource: pe, isRequired: An }) : null, error: !!Ot || Vn, helperText: Dt ? O.createElement(io, { error:
|
|
53422
|
+
return O.createElement(cl, Ca({ name: wr.name, label: L !== "" && L !== !1 ? O.createElement(ja, { label: L, source: Ve, resource: pe, isRequired: An }) : null, error: !!Ot || Vn, helperText: Dt ? O.createElement(io, { error: on?.message || Ot?.message, helperText: k }) : null, margin: $, variant: ie, className: se((mt = {}, mt[kv.textField] = !0, mt[kv.emptyLabel] = L === !1 || L === "", mt)) }, De, G, { InputProps: Oa }, wo, { size: Te, inputRef: In }));
|
|
53423
53423
|
}, multiple: X, renderTags: function(De, mt) {
|
|
53424
53424
|
return De.map(function(tr, Oa) {
|
|
53425
53425
|
var wo = mt({ index: Oa }), Sx = wo.key, zX = eO(wo, ["key"]);
|
|
@@ -66826,7 +66826,7 @@ const kp = (t, e) => {
|
|
|
66826
66826
|
return console.error("ifChecker error:", r), !1;
|
|
66827
66827
|
}
|
|
66828
66828
|
}, Eg = ({ to: t, icon: e, label: r, dense: n }) => {
|
|
66829
|
-
const a = sc(), i =
|
|
66829
|
+
const a = sc(), i = nn(), [o] = dc(), s = Fe(() => {
|
|
66830
66830
|
const c = i.pathname || "/";
|
|
66831
66831
|
return c === t || c.startsWith(t + "/");
|
|
66832
66832
|
}, [t, i.pathname]);
|
|
@@ -75173,7 +75173,7 @@ const U6 = (t, e, { navigate: r }) => {
|
|
|
75173
75173
|
});
|
|
75174
75174
|
}) });
|
|
75175
75175
|
}, aRe = ({ crud: t, custom: e, ...r }) => {
|
|
75176
|
-
const n = Et(r), a = ge.createRef(), i = Pn(), o = ns(), s =
|
|
75176
|
+
const n = Et(r), a = ge.createRef(), i = Pn(), o = ns(), s = nn(), c = async (h) => {
|
|
75177
75177
|
if (h) {
|
|
75178
75178
|
const m = await h.arrayBuffer(), v = new Uint8Array(m).reduce((y, b) => y + String.fromCharCode(b), "");
|
|
75179
75179
|
return btoa(v);
|
|
@@ -75331,7 +75331,7 @@ const U6 = (t, e, { navigate: r }) => {
|
|
|
75331
75331
|
}
|
|
75332
75332
|
) });
|
|
75333
75333
|
}, sRe = () => _r() ? /* @__PURE__ */ M.jsx("span", {}) : null, lRe = (t) => /* @__PURE__ */ M.jsx(jA, { ...t, children: /* @__PURE__ */ M.jsx(OA, {}) }), cRe = ({ custom: t, ...e }) => {
|
|
75334
|
-
const { permissions: r } = Yy(), n = $a(), a = Et(e), i =
|
|
75334
|
+
const { permissions: r } = Yy(), n = $a(), a = Et(e), i = nn(), o = Fe(() => n.entity[a].fields, [n, a]), s = Fe(() => n.entity[a].api_generate || {}, [n, a]), c = fe((d) => s ? !(s[d] || d.includes(".") && s[d.split(".")[0]]) : !0, [s]), l = Fe(() => n.entity[a].crud || {
|
|
75335
75335
|
show: !0,
|
|
75336
75336
|
edit: !0,
|
|
75337
75337
|
create: !0,
|