react-crud-mui 0.2.20 → 0.2.22
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/coreui.js +93 -105
- package/package.json +1 -1
package/dist/coreui.js
CHANGED
|
@@ -3,7 +3,7 @@ import * as Di from "react";
|
|
|
3
3
|
import qt, { forwardRef as Ct, useState as Ve, Fragment as Al, isValidElement as W2, useRef as ct, useCallback as we, useContext as Nn, useEffect as rt, useMemo as it, useReducer as Oc } from "react";
|
|
4
4
|
import Xi from "@mui/material/Card";
|
|
5
5
|
import vr from "@mui/material/Stack";
|
|
6
|
-
import { styled as
|
|
6
|
+
import { styled as gn, useTheme as zc, alpha as at } from "@mui/material/styles";
|
|
7
7
|
import Je from "@mui/material/Box";
|
|
8
8
|
import sn from "@mui/material/styles/styled";
|
|
9
9
|
import $c from "@mui/icons-material/MoreVert";
|
|
@@ -12,7 +12,7 @@ import Bc from "@mui/material/ListItemIcon";
|
|
|
12
12
|
import Wc from "@mui/material/Menu";
|
|
13
13
|
import Zi from "@mui/material/MenuItem";
|
|
14
14
|
import nr from "@mui/material/IconButton";
|
|
15
|
-
import
|
|
15
|
+
import hn from "clsx";
|
|
16
16
|
import { initReactI18next as N2, useTranslation as H2 } from "react-i18next";
|
|
17
17
|
import { createInstance as U2 } from "i18next";
|
|
18
18
|
import { z as Qt } from "zod";
|
|
@@ -37,7 +37,7 @@ import bl from "lodash.template";
|
|
|
37
37
|
import j2 from "@mui/material/Step";
|
|
38
38
|
import em from "@mui/material/StepLabel";
|
|
39
39
|
import tm from "@mui/material/Stepper";
|
|
40
|
-
import { useWatch as kl, useFormContext as Hc, useController as nm, useFormState as
|
|
40
|
+
import { useWatch as kl, useFormContext as Hc, useController as nm, useFormState as mn, FormProvider as rm, useForm as im, get as pn, useFieldArray as om } from "react-hook-form";
|
|
41
41
|
import kn from "@mui/material/Button";
|
|
42
42
|
import Uc from "@mui/material/FormHelperText";
|
|
43
43
|
import Cl from "@mui/material/Checkbox";
|
|
@@ -267,7 +267,7 @@ const xn = sn(Je, {
|
|
|
267
267
|
...s
|
|
268
268
|
} = n;
|
|
269
269
|
return /* @__PURE__ */ u(xn, { fontSize: 48, component: "h1", fontWeight: 700, ellipsis: l ? 1 : 0, ...a && {
|
|
270
|
-
className:
|
|
270
|
+
className: hn({
|
|
271
271
|
[a]: !0
|
|
272
272
|
})
|
|
273
273
|
}, ...s, children: i });
|
|
@@ -279,7 +279,7 @@ const xn = sn(Je, {
|
|
|
279
279
|
...s
|
|
280
280
|
} = n;
|
|
281
281
|
return /* @__PURE__ */ u(xn, { fontSize: 40, component: "h2", fontWeight: 700, ellipsis: l ? 1 : 0, ...a && {
|
|
282
|
-
className:
|
|
282
|
+
className: hn({
|
|
283
283
|
[a]: !0
|
|
284
284
|
})
|
|
285
285
|
}, ...s, children: i });
|
|
@@ -291,7 +291,7 @@ const xn = sn(Je, {
|
|
|
291
291
|
...s
|
|
292
292
|
} = n;
|
|
293
293
|
return /* @__PURE__ */ u(xn, { fontSize: 36, component: "h3", fontWeight: 700, ellipsis: l ? 1 : 0, ...a && {
|
|
294
|
-
className:
|
|
294
|
+
className: hn({
|
|
295
295
|
[a]: !0
|
|
296
296
|
})
|
|
297
297
|
}, ...s, children: i });
|
|
@@ -303,7 +303,7 @@ const xn = sn(Je, {
|
|
|
303
303
|
...s
|
|
304
304
|
} = n;
|
|
305
305
|
return /* @__PURE__ */ u(xn, { fontSize: 32, component: "h4", fontWeight: 600, ellipsis: l ? 1 : 0, ...a && {
|
|
306
|
-
className:
|
|
306
|
+
className: hn({
|
|
307
307
|
[a]: !0
|
|
308
308
|
})
|
|
309
309
|
}, ...s, children: i });
|
|
@@ -315,7 +315,7 @@ const xn = sn(Je, {
|
|
|
315
315
|
...s
|
|
316
316
|
} = n;
|
|
317
317
|
return /* @__PURE__ */ u(xn, { fontSize: 30, component: "h5", lineHeight: 1, fontWeight: 600, ellipsis: l ? 1 : 0, ...a && {
|
|
318
|
-
className:
|
|
318
|
+
className: hn({
|
|
319
319
|
[a]: !0
|
|
320
320
|
})
|
|
321
321
|
}, ...s, children: i });
|
|
@@ -327,7 +327,7 @@ const xn = sn(Je, {
|
|
|
327
327
|
...s
|
|
328
328
|
} = n;
|
|
329
329
|
return /* @__PURE__ */ u(xn, { fontSize: 28, component: "h6", fontWeight: 600, ellipsis: l ? 1 : 0, ...a && {
|
|
330
|
-
className:
|
|
330
|
+
className: hn({
|
|
331
331
|
[a]: !0
|
|
332
332
|
})
|
|
333
333
|
}, ...s, children: i });
|
|
@@ -339,7 +339,7 @@ const xn = sn(Je, {
|
|
|
339
339
|
...s
|
|
340
340
|
} = n;
|
|
341
341
|
return /* @__PURE__ */ u(xn, { fontSize: 14, component: "p", fontWeight: 400, ellipsis: l ? 1 : 0, ...a && {
|
|
342
|
-
className:
|
|
342
|
+
className: hn({
|
|
343
343
|
[a]: !0
|
|
344
344
|
})
|
|
345
345
|
}, ...s, children: i });
|
|
@@ -351,7 +351,7 @@ const xn = sn(Je, {
|
|
|
351
351
|
...s
|
|
352
352
|
} = n;
|
|
353
353
|
return /* @__PURE__ */ u(xn, { fontSize: 12, component: "small", fontWeight: 400, ellipsis: l ? 1 : 0, ...a && {
|
|
354
|
-
className:
|
|
354
|
+
className: hn({
|
|
355
355
|
[a]: !0
|
|
356
356
|
})
|
|
357
357
|
}, ...s, children: i });
|
|
@@ -363,7 +363,7 @@ const xn = sn(Je, {
|
|
|
363
363
|
...s
|
|
364
364
|
} = n;
|
|
365
365
|
return /* @__PURE__ */ u(xn, { component: "span", ellipsis: l ? 1 : 0, ...a && {
|
|
366
|
-
className:
|
|
366
|
+
className: hn({
|
|
367
367
|
[a]: !0
|
|
368
368
|
})
|
|
369
369
|
}, ...s, children: i });
|
|
@@ -375,7 +375,7 @@ const xn = sn(Je, {
|
|
|
375
375
|
...s
|
|
376
376
|
} = n;
|
|
377
377
|
return /* @__PURE__ */ u(xn, { component: "p", fontSize: 10, fontWeight: 400, ellipsis: l ? 1 : 0, ...a && {
|
|
378
|
-
className:
|
|
378
|
+
className: hn({
|
|
379
379
|
[a]: !0
|
|
380
380
|
})
|
|
381
381
|
}, ...s, children: i });
|
|
@@ -410,7 +410,7 @@ function yr({
|
|
|
410
410
|
l
|
|
411
411
|
] });
|
|
412
412
|
}
|
|
413
|
-
const Y3 =
|
|
413
|
+
const Y3 = gn(ji)(({
|
|
414
414
|
theme: n
|
|
415
415
|
}) => ({
|
|
416
416
|
[n.breakpoints.down(730)]: {
|
|
@@ -425,7 +425,7 @@ const Y3 = hn(ji)(({
|
|
|
425
425
|
display: "none"
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
})), J3 =
|
|
428
|
+
})), J3 = gn("div", {
|
|
429
429
|
shouldForwardProp: (n) => n !== "active"
|
|
430
430
|
})(({
|
|
431
431
|
theme: n,
|
|
@@ -1835,7 +1835,7 @@ function q4({
|
|
|
1835
1835
|
f.onChange(p.inputValue ? p.phone : p.inputValue), (m = s == null ? void 0 : s.onChange) == null || m.call(s, p);
|
|
1836
1836
|
} }), disabled: i, formControlProps: a, ...l });
|
|
1837
1837
|
}
|
|
1838
|
-
const Q4 =
|
|
1838
|
+
const Q4 = gn(xm)({
|
|
1839
1839
|
"& .MuiTypography-root": {
|
|
1840
1840
|
fontSize: 14,
|
|
1841
1841
|
fontWeight: 500
|
|
@@ -2116,7 +2116,7 @@ Gi.exports;
|
|
|
2116
2116
|
["partial", P],
|
|
2117
2117
|
["partialRight", O],
|
|
2118
2118
|
["rearg", N]
|
|
2119
|
-
], se = "[object Arguments]", oe = "[object Array]", xe = "[object AsyncFunction]", be = "[object Boolean]", We = "[object Date]", jt = "[object DOMException]", mt = "[object Error]", Ee = "[object Function]", bt = "[object GeneratorFunction]", et = "[object Map]", Et = "[object Number]", Qe = "[object Null]", De = "[object Object]", Se = "[object Promise]", Oe = "[object Proxy]", Xe = "[object RegExp]", J = "[object Set]", ze = "[object String]", Ze = "[object Symbol]", ot = "[object Undefined]", St = "[object WeakMap]", En = "[object WeakSet]",
|
|
2119
|
+
], se = "[object Arguments]", oe = "[object Array]", xe = "[object AsyncFunction]", be = "[object Boolean]", We = "[object Date]", jt = "[object DOMException]", mt = "[object Error]", Ee = "[object Function]", bt = "[object GeneratorFunction]", et = "[object Map]", Et = "[object Number]", Qe = "[object Null]", De = "[object Object]", Se = "[object Promise]", Oe = "[object Proxy]", Xe = "[object RegExp]", J = "[object Set]", ze = "[object String]", Ze = "[object Symbol]", ot = "[object Undefined]", St = "[object WeakMap]", En = "[object WeakSet]", an = "[object ArrayBuffer]", cn = "[object DataView]", Hn = "[object Float32Array]", F = "[object Float64Array]", W = "[object Int8Array]", X = "[object Int16Array]", He = "[object Int32Array]", Ke = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", Rt = "[object Uint16Array]", en = "[object Uint32Array]", lf = /\b__p \+= '';/g, sf = /\b(__p \+=) '' \+/g, af = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Vl = /&(?:amp|lt|gt|quot|#39);/g, Xl = /[&<>"']/g, cf = RegExp(Vl.source), uf = RegExp(Xl.source), ff = /<%-([\s\S]+?)%>/g, df = /<%([\s\S]+?)%>/g, Zl = /<%=([\s\S]+?)%>/g, pf = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gf = /^\w*$/, hf = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, lo = /[\\^$.*+?()[\]{}|]/g, mf = RegExp(lo.source), so = /^\s+/, xf = /\s/, vf = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, bf = /\{\n\/\* \[wrapped with (.+)\] \*/, yf = /,? & /, _f = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, wf = /[()=,{}\[\]\/\s]/, Cf = /\\(\\)?/g, Sf = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Kl = /\w*$/, If = /^[-+]0x[0-9a-f]+$/i, Mf = /^0b[01]+$/i, Af = /^\[object .+?Constructor\]$/, kf = /^0o[0-7]+$/i, Tf = /^(?:0|[1-9]\d*)$/, Lf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Xr = /($^)/, Ef = /['\n\r\u2028\u2029\\]/g, Zr = "\\ud800-\\udfff", Rf = "\\u0300-\\u036f", Ff = "\\ufe20-\\ufe2f", Df = "\\u20d0-\\u20ff", Yl = Rf + Ff + Df, Jl = "\\u2700-\\u27bf", ql = "a-z\\xdf-\\xf6\\xf8-\\xff", Of = "\\xac\\xb1\\xd7\\xf7", zf = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", $f = "\\u2000-\\u206f", Bf = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ql = "A-Z\\xc0-\\xd6\\xd8-\\xde", jl = "\\ufe0e\\ufe0f", es = Of + zf + $f + Bf, ao = "['’]", Wf = "[" + Zr + "]", ts = "[" + es + "]", Kr = "[" + Yl + "]", ns = "\\d+", Pf = "[" + Jl + "]", rs = "[" + ql + "]", is = "[^" + Zr + es + ns + Jl + ql + Ql + "]", co = "\\ud83c[\\udffb-\\udfff]", Nf = "(?:" + Kr + "|" + co + ")", os = "[^" + Zr + "]", uo = "(?:\\ud83c[\\udde6-\\uddff]){2}", fo = "[\\ud800-\\udbff][\\udc00-\\udfff]", ir = "[" + Ql + "]", ls = "\\u200d", ss = "(?:" + rs + "|" + is + ")", Hf = "(?:" + ir + "|" + is + ")", as = "(?:" + ao + "(?:d|ll|m|re|s|t|ve))?", cs = "(?:" + ao + "(?:D|LL|M|RE|S|T|VE))?", us = Nf + "?", fs = "[" + jl + "]?", Uf = "(?:" + ls + "(?:" + [os, uo, fo].join("|") + ")" + fs + us + ")*", Gf = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Vf = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ds = fs + us + Uf, Xf = "(?:" + [Pf, uo, fo].join("|") + ")" + ds, Zf = "(?:" + [os + Kr + "?", Kr, uo, fo, Wf].join("|") + ")", Kf = RegExp(ao, "g"), Yf = RegExp(Kr, "g"), po = RegExp(co + "(?=" + co + ")|" + Zf + ds, "g"), Jf = RegExp([
|
|
2120
2120
|
ir + "?" + rs + "+" + as + "(?=" + [ts, ir, "$"].join("|") + ")",
|
|
2121
2121
|
Hf + "+" + cs + "(?=" + [ts, ir + ss, "$"].join("|") + ")",
|
|
2122
2122
|
ir + "?" + ss + "+" + as,
|
|
@@ -2157,9 +2157,9 @@ Gi.exports;
|
|
|
2157
2157
|
"parseInt",
|
|
2158
2158
|
"setTimeout"
|
|
2159
2159
|
], ed = -1, Pe = {};
|
|
2160
|
-
Pe[Hn] = Pe[F] = Pe[W] = Pe[X] = Pe[He] = Pe[Ke] = Pe[pt] = Pe[Rt] = Pe[en] = !0, Pe[se] = Pe[oe] = Pe[
|
|
2160
|
+
Pe[Hn] = Pe[F] = Pe[W] = Pe[X] = Pe[He] = Pe[Ke] = Pe[pt] = Pe[Rt] = Pe[en] = !0, Pe[se] = Pe[oe] = Pe[an] = Pe[be] = Pe[cn] = Pe[We] = Pe[mt] = Pe[Ee] = Pe[et] = Pe[Et] = Pe[De] = Pe[Xe] = Pe[J] = Pe[ze] = Pe[St] = !1;
|
|
2161
2161
|
var Be = {};
|
|
2162
|
-
Be[se] = Be[oe] = Be[
|
|
2162
|
+
Be[se] = Be[oe] = Be[an] = Be[cn] = Be[be] = Be[We] = Be[Hn] = Be[F] = Be[W] = Be[X] = Be[He] = Be[et] = Be[Et] = Be[De] = Be[Xe] = Be[J] = Be[ze] = Be[Ze] = Be[Ke] = Be[pt] = Be[Rt] = Be[en] = !0, Be[mt] = Be[Ee] = Be[St] = !1;
|
|
2163
2163
|
var td = {
|
|
2164
2164
|
// Latin-1 Supplement block.
|
|
2165
2165
|
À: "A",
|
|
@@ -2940,10 +2940,10 @@ Gi.exports;
|
|
|
2940
2940
|
}), o;
|
|
2941
2941
|
}
|
|
2942
2942
|
function Ns(e, t) {
|
|
2943
|
-
return e &&
|
|
2943
|
+
return e && fn(t, ut(t), e);
|
|
2944
2944
|
}
|
|
2945
2945
|
function M0(e, t) {
|
|
2946
|
-
return e &&
|
|
2946
|
+
return e && fn(t, At(t), e);
|
|
2947
2947
|
}
|
|
2948
2948
|
function yn(e, t, r) {
|
|
2949
2949
|
t == "__proto__" && li ? li(e, t, {
|
|
@@ -3039,7 +3039,7 @@ Gi.exports;
|
|
|
3039
3039
|
}
|
|
3040
3040
|
return C;
|
|
3041
3041
|
}
|
|
3042
|
-
var zn = ma(
|
|
3042
|
+
var zn = ma(un), Gs = ma(Ro, !0);
|
|
3043
3043
|
function k0(e, t) {
|
|
3044
3044
|
var r = !0;
|
|
3045
3045
|
return zn(e, function(o, c, g) {
|
|
@@ -3075,7 +3075,7 @@ Gi.exports;
|
|
|
3075
3075
|
return c;
|
|
3076
3076
|
}
|
|
3077
3077
|
var Eo = xa(), Xs = xa(!0);
|
|
3078
|
-
function
|
|
3078
|
+
function un(e, t) {
|
|
3079
3079
|
return e && Eo(e, t, ut);
|
|
3080
3080
|
}
|
|
3081
3081
|
function Ro(e, t) {
|
|
@@ -3089,7 +3089,7 @@ Gi.exports;
|
|
|
3089
3089
|
function Kn(e, t) {
|
|
3090
3090
|
t = Bn(t, e);
|
|
3091
3091
|
for (var r = 0, o = t.length; e != null && r < o; )
|
|
3092
|
-
e = e[
|
|
3092
|
+
e = e[dn(t[r++])];
|
|
3093
3093
|
return r && r == o ? e : i;
|
|
3094
3094
|
}
|
|
3095
3095
|
function Zs(e, t, r) {
|
|
@@ -3133,20 +3133,20 @@ Gi.exports;
|
|
|
3133
3133
|
return T;
|
|
3134
3134
|
}
|
|
3135
3135
|
function F0(e, t, r, o) {
|
|
3136
|
-
return
|
|
3136
|
+
return un(e, function(c, g, v) {
|
|
3137
3137
|
t(o, r(c), g, v);
|
|
3138
3138
|
}), o;
|
|
3139
3139
|
}
|
|
3140
3140
|
function Lr(e, t, r) {
|
|
3141
3141
|
t = Bn(t, e), e = Da(e, t);
|
|
3142
|
-
var o = e == null ? e : e[
|
|
3142
|
+
var o = e == null ? e : e[dn(Kt(t))];
|
|
3143
3143
|
return o == null ? i : Ft(o, e, r);
|
|
3144
3144
|
}
|
|
3145
3145
|
function Ks(e) {
|
|
3146
3146
|
return je(e) && yt(e) == se;
|
|
3147
3147
|
}
|
|
3148
3148
|
function D0(e) {
|
|
3149
|
-
return je(e) && yt(e) ==
|
|
3149
|
+
return je(e) && yt(e) == an;
|
|
3150
3150
|
}
|
|
3151
3151
|
function O0(e) {
|
|
3152
3152
|
return je(e) && yt(e) == We;
|
|
@@ -3252,7 +3252,7 @@ Gi.exports;
|
|
|
3252
3252
|
};
|
|
3253
3253
|
}
|
|
3254
3254
|
function js(e, t) {
|
|
3255
|
-
return el(e) && Ea(t) ? Ra(
|
|
3255
|
+
return el(e) && Ea(t) ? Ra(dn(e), t) : function(r) {
|
|
3256
3256
|
var o = ul(r, e);
|
|
3257
3257
|
return o === i && o === t ? fl(r, e) : Er(t, o, k | R);
|
|
3258
3258
|
};
|
|
@@ -3369,7 +3369,7 @@ Gi.exports;
|
|
|
3369
3369
|
return e;
|
|
3370
3370
|
t = Bn(t, e);
|
|
3371
3371
|
for (var c = -1, g = t.length, v = g - 1, b = e; b != null && ++c < g; ) {
|
|
3372
|
-
var C =
|
|
3372
|
+
var C = dn(t[c]), T = r;
|
|
3373
3373
|
if (C === "__proto__" || C === "constructor" || C === "prototype")
|
|
3374
3374
|
return e;
|
|
3375
3375
|
if (c != v) {
|
|
@@ -3478,7 +3478,7 @@ Gi.exports;
|
|
|
3478
3478
|
return b;
|
|
3479
3479
|
}
|
|
3480
3480
|
function Ho(e, t) {
|
|
3481
|
-
return t = Bn(t, e), e = Da(e, t), e == null || delete e[
|
|
3481
|
+
return t = Bn(t, e), e = Da(e, t), e == null || delete e[dn(Kt(t))];
|
|
3482
3482
|
}
|
|
3483
3483
|
function sa(e, t, r, o) {
|
|
3484
3484
|
return Rr(e, t, r(Kn(e, t)), o);
|
|
@@ -3598,7 +3598,7 @@ Gi.exports;
|
|
|
3598
3598
|
t[r] = e[r];
|
|
3599
3599
|
return t;
|
|
3600
3600
|
}
|
|
3601
|
-
function
|
|
3601
|
+
function fn(e, t, r, o) {
|
|
3602
3602
|
var c = !r;
|
|
3603
3603
|
r || (r = {});
|
|
3604
3604
|
for (var g = -1, v = t.length; ++g < v; ) {
|
|
@@ -3608,10 +3608,10 @@ Gi.exports;
|
|
|
3608
3608
|
return r;
|
|
3609
3609
|
}
|
|
3610
3610
|
function np(e, t) {
|
|
3611
|
-
return
|
|
3611
|
+
return fn(e, jo(e), t);
|
|
3612
3612
|
}
|
|
3613
3613
|
function rp(e, t) {
|
|
3614
|
-
return
|
|
3614
|
+
return fn(e, ka(e), t);
|
|
3615
3615
|
}
|
|
3616
3616
|
function vi(e, t) {
|
|
3617
3617
|
return function(r, o) {
|
|
@@ -3948,11 +3948,11 @@ Gi.exports;
|
|
|
3948
3948
|
}
|
|
3949
3949
|
function cp(e, t, r, o, c, g, v) {
|
|
3950
3950
|
switch (r) {
|
|
3951
|
-
case
|
|
3951
|
+
case cn:
|
|
3952
3952
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
|
3953
3953
|
return !1;
|
|
3954
3954
|
e = e.buffer, t = t.buffer;
|
|
3955
|
-
case
|
|
3955
|
+
case an:
|
|
3956
3956
|
return !(e.byteLength != t.byteLength || !g(new ri(e), new ri(t)));
|
|
3957
3957
|
case be:
|
|
3958
3958
|
case We:
|
|
@@ -4074,12 +4074,12 @@ Gi.exports;
|
|
|
4074
4074
|
Fn(t, jo(e)), e = ii(e);
|
|
4075
4075
|
return t;
|
|
4076
4076
|
} : xl, vt = yt;
|
|
4077
|
-
(Ao && vt(new Ao(new ArrayBuffer(1))) !=
|
|
4077
|
+
(Ao && vt(new Ao(new ArrayBuffer(1))) != cn || Sr && vt(new Sr()) != et || ko && vt(ko.resolve()) != Se || ur && vt(new ur()) != J || Ir && vt(new Ir()) != St) && (vt = function(e) {
|
|
4078
4078
|
var t = yt(e), r = t == De ? e.constructor : i, o = r ? Jn(r) : "";
|
|
4079
4079
|
if (o)
|
|
4080
4080
|
switch (o) {
|
|
4081
4081
|
case Zd:
|
|
4082
|
-
return
|
|
4082
|
+
return cn;
|
|
4083
4083
|
case Kd:
|
|
4084
4084
|
return et;
|
|
4085
4085
|
case Yd:
|
|
@@ -4118,7 +4118,7 @@ Gi.exports;
|
|
|
4118
4118
|
function Ta(e, t, r) {
|
|
4119
4119
|
t = Bn(t, e);
|
|
4120
4120
|
for (var o = -1, c = t.length, g = !1; ++o < c; ) {
|
|
4121
|
-
var v =
|
|
4121
|
+
var v = dn(t[o]);
|
|
4122
4122
|
if (!(g = e != null && r(e, v)))
|
|
4123
4123
|
break;
|
|
4124
4124
|
e = e[v];
|
|
@@ -4135,12 +4135,12 @@ Gi.exports;
|
|
|
4135
4135
|
function hp(e, t, r) {
|
|
4136
4136
|
var o = e.constructor;
|
|
4137
4137
|
switch (t) {
|
|
4138
|
-
case
|
|
4138
|
+
case an:
|
|
4139
4139
|
return Xo(e);
|
|
4140
4140
|
case be:
|
|
4141
4141
|
case We:
|
|
4142
4142
|
return new o(+e);
|
|
4143
|
-
case
|
|
4143
|
+
case cn:
|
|
4144
4144
|
return Q0(e, r);
|
|
4145
4145
|
case Hn:
|
|
4146
4146
|
case F:
|
|
@@ -4307,7 +4307,7 @@ Gi.exports;
|
|
|
4307
4307
|
t.push(c ? g.replace(Cf, "$1") : o || r);
|
|
4308
4308
|
}), t;
|
|
4309
4309
|
});
|
|
4310
|
-
function
|
|
4310
|
+
function dn(e) {
|
|
4311
4311
|
if (typeof e == "string" || zt(e))
|
|
4312
4312
|
return e;
|
|
4313
4313
|
var t = e + "";
|
|
@@ -5143,7 +5143,7 @@ Gi.exports;
|
|
|
5143
5143
|
return r || kf.test(e) ? ld(e.slice(2), r ? 2 : 8) : If.test(e) ? ie : +e;
|
|
5144
5144
|
}
|
|
5145
5145
|
function ac(e) {
|
|
5146
|
-
return
|
|
5146
|
+
return fn(e, At(e));
|
|
5147
5147
|
}
|
|
5148
5148
|
function Xg(e) {
|
|
5149
5149
|
return e ? Zn(pe(e), -ne, ne) : e === 0 ? e : 0;
|
|
@@ -5153,17 +5153,17 @@ Gi.exports;
|
|
|
5153
5153
|
}
|
|
5154
5154
|
var Zg = pr(function(e, t) {
|
|
5155
5155
|
if (Dr(t) || Mt(t)) {
|
|
5156
|
-
|
|
5156
|
+
fn(t, ut(t), e);
|
|
5157
5157
|
return;
|
|
5158
5158
|
}
|
|
5159
5159
|
for (var r in t)
|
|
5160
5160
|
Re.call(t, r) && kr(e, r, t[r]);
|
|
5161
5161
|
}), cc = pr(function(e, t) {
|
|
5162
|
-
|
|
5162
|
+
fn(t, At(t), e);
|
|
5163
5163
|
}), Fi = pr(function(e, t, r, o) {
|
|
5164
|
-
|
|
5164
|
+
fn(t, At(t), e, o);
|
|
5165
5165
|
}), Kg = pr(function(e, t, r, o) {
|
|
5166
|
-
|
|
5166
|
+
fn(t, ut(t), e, o);
|
|
5167
5167
|
}), Yg = wn(Lo);
|
|
5168
5168
|
function Jg(e, t) {
|
|
5169
5169
|
var r = dr(e);
|
|
@@ -5182,7 +5182,7 @@ Gi.exports;
|
|
|
5182
5182
|
return e.push(i, Ma), Ft(uc, i, e);
|
|
5183
5183
|
});
|
|
5184
5184
|
function jg(e, t) {
|
|
5185
|
-
return ws(e, q(t, 3),
|
|
5185
|
+
return ws(e, q(t, 3), un);
|
|
5186
5186
|
}
|
|
5187
5187
|
function eh(e, t) {
|
|
5188
5188
|
return ws(e, q(t, 3), Ro);
|
|
@@ -5194,7 +5194,7 @@ Gi.exports;
|
|
|
5194
5194
|
return e == null ? e : Xs(e, q(t, 3), At);
|
|
5195
5195
|
}
|
|
5196
5196
|
function rh(e, t) {
|
|
5197
|
-
return e &&
|
|
5197
|
+
return e && un(e, q(t, 3));
|
|
5198
5198
|
}
|
|
5199
5199
|
function ih(e, t) {
|
|
5200
5200
|
return e && Ro(e, q(t, 3));
|
|
@@ -5228,13 +5228,13 @@ Gi.exports;
|
|
|
5228
5228
|
}
|
|
5229
5229
|
function fh(e, t) {
|
|
5230
5230
|
var r = {};
|
|
5231
|
-
return t = q(t, 3),
|
|
5231
|
+
return t = q(t, 3), un(e, function(o, c, g) {
|
|
5232
5232
|
yn(r, t(o, c, g), o);
|
|
5233
5233
|
}), r;
|
|
5234
5234
|
}
|
|
5235
5235
|
function dh(e, t) {
|
|
5236
5236
|
var r = {};
|
|
5237
|
-
return t = q(t, 3),
|
|
5237
|
+
return t = q(t, 3), un(e, function(o, c, g) {
|
|
5238
5238
|
yn(r, c, t(o, c, g));
|
|
5239
5239
|
}), r;
|
|
5240
5240
|
}
|
|
@@ -5249,7 +5249,7 @@ Gi.exports;
|
|
|
5249
5249
|
var o = !1;
|
|
5250
5250
|
t = Ue(t, function(g) {
|
|
5251
5251
|
return g = Bn(g, e), o || (o = g.length > 1), g;
|
|
5252
|
-
}),
|
|
5252
|
+
}), fn(e, Jo(e), r), o && (r = Xt(r, _ | M | I, ap));
|
|
5253
5253
|
for (var c = t.length; c--; )
|
|
5254
5254
|
Ho(r, t[c]);
|
|
5255
5255
|
return r;
|
|
@@ -5274,7 +5274,7 @@ Gi.exports;
|
|
|
5274
5274
|
t = Bn(t, e);
|
|
5275
5275
|
var o = -1, c = t.length;
|
|
5276
5276
|
for (c || (c = 1, e = i); ++o < c; ) {
|
|
5277
|
-
var g = e == null ? i : e[
|
|
5277
|
+
var g = e == null ? i : e[dn(t[o])];
|
|
5278
5278
|
g === i && (o = c, g = r), e = Sn(g) ? g.call(e) : g;
|
|
5279
5279
|
}
|
|
5280
5280
|
return e;
|
|
@@ -5292,7 +5292,7 @@ Gi.exports;
|
|
|
5292
5292
|
var g = e && e.constructor;
|
|
5293
5293
|
c ? r = o ? new g() : [] : Ye(e) ? r = Sn(g) ? dr(ii(e)) : {} : r = {};
|
|
5294
5294
|
}
|
|
5295
|
-
return (c ? Ut :
|
|
5295
|
+
return (c ? Ut : un)(e, function(v, b, C) {
|
|
5296
5296
|
return t(r, v, b, C);
|
|
5297
5297
|
}), r;
|
|
5298
5298
|
}
|
|
@@ -5515,7 +5515,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5515
5515
|
}
|
|
5516
5516
|
}), e2 = wn(function(e, t) {
|
|
5517
5517
|
return Ut(t, function(r) {
|
|
5518
|
-
r =
|
|
5518
|
+
r = dn(r), yn(e, r, ll(e[r], e));
|
|
5519
5519
|
}), e;
|
|
5520
5520
|
});
|
|
5521
5521
|
function t2(e) {
|
|
@@ -5593,7 +5593,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5593
5593
|
}
|
|
5594
5594
|
var d2 = Zo(Ue), p2 = Zo(_s), g2 = Zo(vo);
|
|
5595
5595
|
function vc(e) {
|
|
5596
|
-
return el(e) ? bo(
|
|
5596
|
+
return el(e) ? bo(dn(e)) : G0(e);
|
|
5597
5597
|
}
|
|
5598
5598
|
function h2(e) {
|
|
5599
5599
|
return function(t) {
|
|
@@ -5626,7 +5626,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5626
5626
|
return c;
|
|
5627
5627
|
}
|
|
5628
5628
|
function w2(e) {
|
|
5629
|
-
return ue(e) ? Ue(e,
|
|
5629
|
+
return ue(e) ? Ue(e, dn) : zt(e) ? [e] : It(Ba(Te(e)));
|
|
5630
5630
|
}
|
|
5631
5631
|
function C2(e) {
|
|
5632
5632
|
var t = ++Dd;
|
|
@@ -5668,7 +5668,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5668
5668
|
}
|
|
5669
5669
|
return d.after = lg, d.ary = Ya, d.assign = Zg, d.assignIn = cc, d.assignInWith = Fi, d.assignWith = Kg, d.at = Yg, d.before = Ja, d.bind = ll, d.bindAll = e2, d.bindKey = qa, d.castArray = vg, d.chain = Xa, d.chunk = Ap, d.compact = kp, d.concat = Tp, d.cond = t2, d.conforms = n2, d.constant = pl, d.countBy = $1, d.create = Jg, d.curry = Qa, d.curryRight = ja, d.debounce = ec, d.defaults = qg, d.defaultsDeep = Qg, d.defer = sg, d.delay = ag, d.difference = Lp, d.differenceBy = Ep, d.differenceWith = Rp, d.drop = Fp, d.dropRight = Dp, d.dropRightWhile = Op, d.dropWhile = zp, d.fill = $p, d.filter = W1, d.flatMap = H1, d.flatMapDeep = U1, d.flatMapDepth = G1, d.flatten = Ha, d.flattenDeep = Bp, d.flattenDepth = Wp, d.flip = cg, d.flow = i2, d.flowRight = o2, d.fromPairs = Pp, d.functions = oh, d.functionsIn = lh, d.groupBy = V1, d.initial = Hp, d.intersection = Up, d.intersectionBy = Gp, d.intersectionWith = Vp, d.invert = ah, d.invertBy = ch, d.invokeMap = Z1, d.iteratee = gl, d.keyBy = K1, d.keys = ut, d.keysIn = At, d.map = Ai, d.mapKeys = fh, d.mapValues = dh, d.matches = l2, d.matchesProperty = s2, d.memoize = Ti, d.merge = ph, d.mergeWith = uc, d.method = a2, d.methodOf = c2, d.mixin = hl, d.negate = Li, d.nthArg = f2, d.omit = gh, d.omitBy = hh, d.once = ug, d.orderBy = Y1, d.over = d2, d.overArgs = fg, d.overEvery = p2, d.overSome = g2, d.partial = sl, d.partialRight = tc, d.partition = J1, d.pick = mh, d.pickBy = fc, d.property = vc, d.propertyOf = h2, d.pull = Yp, d.pullAll = Ga, d.pullAllBy = Jp, d.pullAllWith = qp, d.pullAt = Qp, d.range = m2, d.rangeRight = x2, d.rearg = dg, d.reject = j1, d.remove = jp, d.rest = pg, d.reverse = il, d.sampleSize = tg, d.set = vh, d.setWith = bh, d.shuffle = ng, d.slice = e1, d.sortBy = og, d.sortedUniq = s1, d.sortedUniqBy = a1, d.split = Hh, d.spread = gg, d.tail = c1, d.take = u1, d.takeRight = f1, d.takeRightWhile = d1, d.takeWhile = p1, d.tap = k1, d.throttle = hg, d.thru = Mi, d.toArray = lc, d.toPairs = dc, d.toPairsIn = pc, d.toPath = w2, d.toPlainObject = ac, d.transform = yh, d.unary = mg, d.union = g1, d.unionBy = h1, d.unionWith = m1, d.uniq = x1, d.uniqBy = v1, d.uniqWith = b1, d.unset = _h, d.unzip = ol, d.unzipWith = Va, d.update = wh, d.updateWith = Ch, d.values = xr, d.valuesIn = Sh, d.without = y1, d.words = mc, d.wrap = xg, d.xor = _1, d.xorBy = w1, d.xorWith = C1, d.zip = S1, d.zipObject = I1, d.zipObjectDeep = M1, d.zipWith = A1, d.entries = dc, d.entriesIn = pc, d.extend = cc, d.extendWith = Fi, hl(d, d), d.add = S2, d.attempt = xc, d.camelCase = kh, d.capitalize = gc, d.ceil = I2, d.clamp = Ih, d.clone = bg, d.cloneDeep = _g, d.cloneDeepWith = wg, d.cloneWith = yg, d.conformsTo = Cg, d.deburr = hc, d.defaultTo = r2, d.divide = M2, d.endsWith = Th, d.eq = rn, d.escape = Lh, d.escapeRegExp = Eh, d.every = B1, d.find = P1, d.findIndex = Pa, d.findKey = jg, d.findLast = N1, d.findLastIndex = Na, d.findLastKey = eh, d.floor = A2, d.forEach = Za, d.forEachRight = Ka, d.forIn = th, d.forInRight = nh, d.forOwn = rh, d.forOwnRight = ih, d.get = ul, d.gt = Sg, d.gte = Ig, d.has = sh, d.hasIn = fl, d.head = Ua, d.identity = kt, d.includes = X1, d.indexOf = Np, d.inRange = Mh, d.invoke = uh, d.isArguments = qn, d.isArray = ue, d.isArrayBuffer = Mg, d.isArrayLike = Mt, d.isArrayLikeObject = tt, d.isBoolean = Ag, d.isBuffer = Pn, d.isDate = kg, d.isElement = Tg, d.isEmpty = Lg, d.isEqual = Eg, d.isEqualWith = Rg, d.isError = al, d.isFinite = Fg, d.isFunction = Sn, d.isInteger = nc, d.isLength = Ei, d.isMap = rc, d.isMatch = Dg, d.isMatchWith = Og, d.isNaN = zg, d.isNative = $g, d.isNil = Wg, d.isNull = Bg, d.isNumber = ic, d.isObject = Ye, d.isObjectLike = je, d.isPlainObject = zr, d.isRegExp = cl, d.isSafeInteger = Pg, d.isSet = oc, d.isString = Ri, d.isSymbol = zt, d.isTypedArray = mr, d.isUndefined = Ng, d.isWeakMap = Hg, d.isWeakSet = Ug, d.join = Xp, d.kebabCase = Rh, d.last = Kt, d.lastIndexOf = Zp, d.lowerCase = Fh, d.lowerFirst = Dh, d.lt = Gg, d.lte = Vg, d.max = k2, d.maxBy = T2, d.mean = L2, d.meanBy = E2, d.min = R2, d.minBy = F2, d.stubArray = xl, d.stubFalse = vl, d.stubObject = v2, d.stubString = b2, d.stubTrue = y2, d.multiply = D2, d.nth = Kp, d.noConflict = u2, d.noop = ml, d.now = ki, d.pad = Oh, d.padEnd = zh, d.padStart = $h, d.parseInt = Bh, d.random = Ah, d.reduce = q1, d.reduceRight = Q1, d.repeat = Wh, d.replace = Ph, d.result = xh, d.round = O2, d.runInContext = w, d.sample = eg, d.size = rg, d.snakeCase = Nh, d.some = ig, d.sortedIndex = t1, d.sortedIndexBy = n1, d.sortedIndexOf = r1, d.sortedLastIndex = i1, d.sortedLastIndexBy = o1, d.sortedLastIndexOf = l1, d.startCase = Uh, d.startsWith = Gh, d.subtract = z2, d.sum = $2, d.sumBy = B2, d.template = Vh, d.times = _2, d.toFinite = In, d.toInteger = pe, d.toLength = sc, d.toLower = Xh, d.toNumber = Yt, d.toSafeInteger = Xg, d.toString = Te, d.toUpper = Zh, d.trim = Kh, d.trimEnd = Yh, d.trimStart = Jh, d.truncate = qh, d.unescape = Qh, d.uniqueId = C2, d.upperCase = jh, d.upperFirst = dl, d.each = Za, d.eachRight = Ka, d.first = Ua, hl(d, function() {
|
|
5670
5670
|
var e = {};
|
|
5671
|
-
return
|
|
5671
|
+
return un(d, function(t, r) {
|
|
5672
5672
|
Re.call(d.prototype, r) || (e[r] = t);
|
|
5673
5673
|
}), e;
|
|
5674
5674
|
}(), { chain: !1 }), d.VERSION = a, Ut(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
|
@@ -5723,7 +5723,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5723
5723
|
return this.reverse().takeWhile(e).reverse();
|
|
5724
5724
|
}, _e.prototype.toArray = function() {
|
|
5725
5725
|
return this.take(le);
|
|
5726
|
-
},
|
|
5726
|
+
}, un(_e.prototype, function(e, t) {
|
|
5727
5727
|
var r = /^(?:filter|find|map|reject)|While$/.test(t), o = /^(?:head|last)$/.test(t), c = d[o ? "take" + (t == "last" ? "Right" : "") : t], g = o || /^find/.test(t);
|
|
5728
5728
|
c && (d.prototype[t] = function() {
|
|
5729
5729
|
var v = this.__wrapped__, b = o ? [1] : arguments, C = v instanceof _e, T = b[0], L = C || ue(v), E = function(ye) {
|
|
@@ -5751,7 +5751,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
5751
5751
|
return t.apply(ue(v) ? v : [], c);
|
|
5752
5752
|
});
|
|
5753
5753
|
};
|
|
5754
|
-
}),
|
|
5754
|
+
}), un(_e.prototype, function(e, t) {
|
|
5755
5755
|
var r = d[t];
|
|
5756
5756
|
if (r) {
|
|
5757
5757
|
var o = r.name + "";
|
|
@@ -6094,7 +6094,7 @@ Le.PanelSelect = Z4;
|
|
|
6094
6094
|
Le.Button = M4;
|
|
6095
6095
|
Le.Watch = I4;
|
|
6096
6096
|
Le.Group = S4;
|
|
6097
|
-
const hb =
|
|
6097
|
+
const hb = gn(qc)(({
|
|
6098
6098
|
theme: n
|
|
6099
6099
|
}) => ({
|
|
6100
6100
|
padding: 2,
|
|
@@ -6135,7 +6135,7 @@ function mb({
|
|
|
6135
6135
|
] })
|
|
6136
6136
|
] });
|
|
6137
6137
|
}
|
|
6138
|
-
const xb =
|
|
6138
|
+
const xb = gn(Dm)({
|
|
6139
6139
|
height: 1,
|
|
6140
6140
|
borderRadius: 0,
|
|
6141
6141
|
margin: 0,
|
|
@@ -6212,7 +6212,7 @@ function bb({
|
|
|
6212
6212
|
}) => /* @__PURE__ */ Ki(Om, { ...s, key: s.key }, /* @__PURE__ */ u($m, { expandIcon: /* @__PURE__ */ u(El, {}), children: s.label }), /* @__PURE__ */ u(zm, { ...a, children: s.children })));
|
|
6213
6213
|
return /* @__PURE__ */ u(ft.Content, { ...l, children: i });
|
|
6214
6214
|
}
|
|
6215
|
-
const yb =
|
|
6215
|
+
const yb = gn(Wm)(({
|
|
6216
6216
|
theme: n
|
|
6217
6217
|
}) => ({
|
|
6218
6218
|
borderBottom: 0,
|
|
@@ -6519,7 +6519,7 @@ function Au({
|
|
|
6519
6519
|
}) {
|
|
6520
6520
|
const {
|
|
6521
6521
|
isDirty: l
|
|
6522
|
-
} =
|
|
6522
|
+
} = mn();
|
|
6523
6523
|
return rt(() => {
|
|
6524
6524
|
n(l);
|
|
6525
6525
|
}, [l, n]), null;
|
|
@@ -6645,20 +6645,20 @@ function kb({
|
|
|
6645
6645
|
}) {
|
|
6646
6646
|
const {
|
|
6647
6647
|
dirtyFields: l
|
|
6648
|
-
} =
|
|
6648
|
+
} = mn({
|
|
6649
6649
|
name: n
|
|
6650
6650
|
});
|
|
6651
|
-
return Array.isArray(n) ? n == null ? void 0 : n.some((a) => !!
|
|
6651
|
+
return Array.isArray(n) ? n == null ? void 0 : n.some((a) => !!pn(l, a)) : n ? !!pn(l, n) : !1;
|
|
6652
6652
|
}
|
|
6653
6653
|
function Tb({
|
|
6654
6654
|
name: n
|
|
6655
6655
|
}) {
|
|
6656
6656
|
const {
|
|
6657
6657
|
errors: l
|
|
6658
|
-
} =
|
|
6658
|
+
} = mn({
|
|
6659
6659
|
name: n
|
|
6660
6660
|
});
|
|
6661
|
-
return Array.isArray(n) ? n == null ? void 0 : n.some((a) => !!
|
|
6661
|
+
return Array.isArray(n) ? n == null ? void 0 : n.some((a) => !!pn(l, a)) : n ? !!pn(l, n) : !1;
|
|
6662
6662
|
}
|
|
6663
6663
|
function P8({
|
|
6664
6664
|
groupName: n
|
|
@@ -6688,7 +6688,7 @@ function Du({
|
|
|
6688
6688
|
}) {
|
|
6689
6689
|
const {
|
|
6690
6690
|
errors: a
|
|
6691
|
-
} =
|
|
6691
|
+
} = mn(), s = we((x) => x.message, []), f = we((x, p = []) => {
|
|
6692
6692
|
if (!x)
|
|
6693
6693
|
return p;
|
|
6694
6694
|
if (Lc(x)) {
|
|
@@ -6756,7 +6756,7 @@ function Eb({
|
|
|
6756
6756
|
message: M
|
|
6757
6757
|
}) => (_.every((k) => typeof k == "function" ? k(f, n) : n.fields.findIndex((R) => {
|
|
6758
6758
|
if (!(p === "fetch" && a(R) === h))
|
|
6759
|
-
return
|
|
6759
|
+
return pn(R, k) == pn(x, k);
|
|
6760
6760
|
}) > -1) && y.push(M ?? i("uniqueconstraint", {
|
|
6761
6761
|
fields: _.filter((k) => typeof k == "string").join(",")
|
|
6762
6762
|
})), y), []);
|
|
@@ -6767,7 +6767,7 @@ function Rb() {
|
|
|
6767
6767
|
runValidationsOnDataChange: n
|
|
6768
6768
|
} = Gr(), {
|
|
6769
6769
|
defaultValues: l
|
|
6770
|
-
} =
|
|
6770
|
+
} = mn(), {
|
|
6771
6771
|
trigger: i
|
|
6772
6772
|
} = Hc();
|
|
6773
6773
|
return rt(() => {
|
|
@@ -6833,24 +6833,12 @@ function zu() {
|
|
|
6833
6833
|
const {
|
|
6834
6834
|
alertVisibility: n,
|
|
6835
6835
|
fields: l
|
|
6836
|
-
} = Gr(), {
|
|
6837
|
-
errors: i,
|
|
6838
|
-
isValid: a,
|
|
6839
|
-
isValidating: s,
|
|
6840
|
-
isSubmitting: f
|
|
6841
|
-
} = an();
|
|
6842
|
-
console.log({
|
|
6843
|
-
isValidating: s,
|
|
6844
|
-
isSubmitting: f,
|
|
6845
|
-
errors: i,
|
|
6846
|
-
isValid: a
|
|
6847
|
-
});
|
|
6848
|
-
const h = Du({
|
|
6836
|
+
} = Gr(), i = Du({
|
|
6849
6837
|
name: n === "selected-fields" ? l : n === "only-unbound-fields" ? [] : void 0,
|
|
6850
|
-
disabled:
|
|
6838
|
+
disabled: n === "invisible",
|
|
6851
6839
|
appendUnBoundFields: !0
|
|
6852
6840
|
});
|
|
6853
|
-
return /* @__PURE__ */ u(Nl, { messages:
|
|
6841
|
+
return /* @__PURE__ */ u(Nl, { messages: i, defaultType: "error" });
|
|
6854
6842
|
}
|
|
6855
6843
|
function $b({
|
|
6856
6844
|
onValuesChange: n,
|
|
@@ -6858,7 +6846,7 @@ function $b({
|
|
|
6858
6846
|
}) {
|
|
6859
6847
|
const i = kl(), {
|
|
6860
6848
|
isDirty: a
|
|
6861
|
-
} =
|
|
6849
|
+
} = mn(), s = gu(i, l);
|
|
6862
6850
|
return rt(() => {
|
|
6863
6851
|
a && n();
|
|
6864
6852
|
}, [s]), null;
|
|
@@ -6875,7 +6863,7 @@ function Bu() {
|
|
|
6875
6863
|
enableSave: h,
|
|
6876
6864
|
reason: x,
|
|
6877
6865
|
disabled: p
|
|
6878
|
-
} = Bb(), m =
|
|
6866
|
+
} = Bb(), m = mn(), {
|
|
6879
6867
|
isValid: y,
|
|
6880
6868
|
isDirty: _
|
|
6881
6869
|
} = m, M = x !== "fetch" && x !== "view", I = p;
|
|
@@ -7513,7 +7501,7 @@ function Xb({
|
|
|
7513
7501
|
}) {
|
|
7514
7502
|
const {
|
|
7515
7503
|
isDirty: s
|
|
7516
|
-
} =
|
|
7504
|
+
} = mn(), {
|
|
7517
7505
|
t: f
|
|
7518
7506
|
} = Ne(), h = a ?? f("promptunsavedchanges"), x = s && !!i, p = Kc(qt.useCallback(({
|
|
7519
7507
|
nextLocation: y,
|
|
@@ -7904,7 +7892,7 @@ const Ge = {
|
|
|
7904
7892
|
padding: "0.5rem"
|
|
7905
7893
|
}
|
|
7906
7894
|
}]
|
|
7907
|
-
})), Ec =
|
|
7895
|
+
})), Ec = gn(jn, {
|
|
7908
7896
|
shouldForwardProp: (n) => n !== "indicatorColor" && n !== "bordered" && n !== "bgColor"
|
|
7909
7897
|
})(({
|
|
7910
7898
|
bgColor: n,
|
|
@@ -7970,7 +7958,7 @@ function Ku({
|
|
|
7970
7958
|
] })
|
|
7971
7959
|
] });
|
|
7972
7960
|
}
|
|
7973
|
-
const cy =
|
|
7961
|
+
const cy = gn((n) => {
|
|
7974
7962
|
const {
|
|
7975
7963
|
expand: l,
|
|
7976
7964
|
...i
|
|
@@ -8001,7 +7989,7 @@ const cy = hn((n) => {
|
|
|
8001
7989
|
":last-of-type": {
|
|
8002
7990
|
paddingRight: 16
|
|
8003
7991
|
}
|
|
8004
|
-
}), fy =
|
|
7992
|
+
}), fy = gn(qc)(({
|
|
8005
7993
|
theme: n
|
|
8006
7994
|
}) => ({
|
|
8007
7995
|
padding: 5,
|
|
@@ -8073,7 +8061,7 @@ function io({
|
|
|
8073
8061
|
}) {
|
|
8074
8062
|
const {
|
|
8075
8063
|
t: le
|
|
8076
|
-
} = Ne(), ge = ct(null), qe = ct(!0), dt = ct(null), se = it(() => [], []), oe = we((F) =>
|
|
8064
|
+
} = Ne(), ge = ct(null), qe = ct(!0), dt = ct(null), se = it(() => [], []), oe = we((F) => pn(F, N), [N]), xe = zc(), {
|
|
8077
8065
|
isLoading: be,
|
|
8078
8066
|
state: We
|
|
8079
8067
|
} = vu(!!k, f), jt = it(() => a.filter((W) => !tr(W.hidden)).reduce((W, X) => ({
|
|
@@ -8120,7 +8108,7 @@ function io({
|
|
|
8120
8108
|
getCoreRowModel: n3(),
|
|
8121
8109
|
// Row tree mode (sub rows)
|
|
8122
8110
|
...O ? {
|
|
8123
|
-
getSubRows: (F) => typeof O == "string" ?
|
|
8111
|
+
getSubRows: (F) => typeof O == "string" ? pn(F, O) : O(F)
|
|
8124
8112
|
} : void 0,
|
|
8125
8113
|
// Row expanding
|
|
8126
8114
|
...y || O ? {
|
|
@@ -8283,7 +8271,7 @@ function io({
|
|
|
8283
8271
|
} });
|
|
8284
8272
|
}, Ze = () => Ee.getRowModel().rows.map((X) => {
|
|
8285
8273
|
let He;
|
|
8286
|
-
h && (He = typeof h == "function" ? h(X) :
|
|
8274
|
+
h && (He = typeof h == "function" ? h(X) : pn(X.original, h));
|
|
8287
8275
|
const Ke = K && X.getIsExpanded(), pt = X.getIsSelected(), Rt = P == null ? void 0 : P(X);
|
|
8288
8276
|
return /* @__PURE__ */ $(Al, { children: [
|
|
8289
8277
|
/* @__PURE__ */ Ki(
|
|
@@ -8311,7 +8299,7 @@ function io({
|
|
|
8311
8299
|
X.getVisibleCells().map(Se)
|
|
8312
8300
|
),
|
|
8313
8301
|
He ? Xe(He, X) : null,
|
|
8314
|
-
Ke &&
|
|
8302
|
+
Ke && an(X)
|
|
8315
8303
|
] }, X.id);
|
|
8316
8304
|
}), ot = () => /* @__PURE__ */ $(f3, { ref: ge, children: [
|
|
8317
8305
|
Ze(),
|
|
@@ -8332,7 +8320,7 @@ function io({
|
|
|
8332
8320
|
zIndex: 2
|
|
8333
8321
|
}, children: /* @__PURE__ */ u(a3, { sx: {
|
|
8334
8322
|
color: We === "TOO_LONG" ? "error.main" : void 0
|
|
8335
|
-
} }) }),
|
|
8323
|
+
} }) }), an = (F) => {
|
|
8336
8324
|
const W = K == null ? void 0 : K({
|
|
8337
8325
|
row: F
|
|
8338
8326
|
}), X = F.getVisibleCells();
|
|
@@ -8341,7 +8329,7 @@ function io({
|
|
|
8341
8329
|
paddingLeft: 7,
|
|
8342
8330
|
backgroundColor: "background.default"
|
|
8343
8331
|
}, colSpan: X == null ? void 0 : X.length, children: W }) }, `sub-row-${F.id}`);
|
|
8344
|
-
},
|
|
8332
|
+
}, cn = () => ke ? /* @__PURE__ */ u(d3, { children: Ee.getFooterGroups().map((F) => /* @__PURE__ */ u(jn, { sx: {
|
|
8345
8333
|
backgroundColor: at(xe.palette.primary.main, 0.05)
|
|
8346
8334
|
}, children: F.headers.map((W) => /* @__PURE__ */ u(Pr, { size: me, colSpan: W.colSpan, children: W.isPlaceholder ? null : _l(W.column.columnDef.footer, W.getContext()) }, W.id)) }, F.id)) }) : null, Hn = (F) => {
|
|
8347
8335
|
if (!_ || !k || !qe.current)
|
|
@@ -8362,7 +8350,7 @@ function io({
|
|
|
8362
8350
|
}, children: [
|
|
8363
8351
|
Q ? De() : null,
|
|
8364
8352
|
ot(),
|
|
8365
|
-
|
|
8353
|
+
cn()
|
|
8366
8354
|
] }),
|
|
8367
8355
|
En()
|
|
8368
8356
|
] }),
|
|
@@ -8732,7 +8720,7 @@ function Cy({
|
|
|
8732
8720
|
}) {
|
|
8733
8721
|
const i = kl(), {
|
|
8734
8722
|
isDirty: a
|
|
8735
|
-
} =
|
|
8723
|
+
} = mn(), s = ct(!1), f = it(() => y3(n, l), []);
|
|
8736
8724
|
return rt(() => {
|
|
8737
8725
|
(a || s.current) && (f(), s.current = !0);
|
|
8738
8726
|
}, [i, a, f]), null;
|
|
@@ -8776,7 +8764,7 @@ function rf() {
|
|
|
8776
8764
|
enableCreateItem: i,
|
|
8777
8765
|
enableExport: a,
|
|
8778
8766
|
enableSearch: s
|
|
8779
|
-
} = My(), f =
|
|
8767
|
+
} = My(), f = mn(), {
|
|
8780
8768
|
isValid: h,
|
|
8781
8769
|
isDirty: x
|
|
8782
8770
|
} = f;
|
|
@@ -9125,13 +9113,13 @@ function Ry({
|
|
|
9125
9113
|
enableDiscardChanges: !1,
|
|
9126
9114
|
header: ze ? se("browse") : Ze[J],
|
|
9127
9115
|
createCommandLabel: p,
|
|
9128
|
-
onAfterSave: (
|
|
9129
|
-
reason:
|
|
9116
|
+
onAfterSave: (an, {
|
|
9117
|
+
reason: cn,
|
|
9130
9118
|
mode: Hn
|
|
9131
9119
|
}) => {
|
|
9132
9120
|
switch (Hn) {
|
|
9133
9121
|
case "save":
|
|
9134
|
-
|
|
9122
|
+
cn === "create" && an && be("fetch", an);
|
|
9135
9123
|
break;
|
|
9136
9124
|
case "save-close":
|
|
9137
9125
|
case "save-create":
|
|
@@ -9372,7 +9360,7 @@ function zy({
|
|
|
9372
9360
|
strictNullHandling: !0,
|
|
9373
9361
|
charset: "utf-8",
|
|
9374
9362
|
filter(I, k) {
|
|
9375
|
-
if (!(l && I && !(I in l)) && !(I === "page" && k === Hr) && !(I === "size" && k === Vi) && !(k === "" ||
|
|
9363
|
+
if (!(l && I && !(I in l)) && !(I === "page" && k === Hr) && !(I === "size" && k === Vi) && !(k === "" || pn(n, I) === k))
|
|
9376
9364
|
return k;
|
|
9377
9365
|
}
|
|
9378
9366
|
});
|
|
@@ -11275,7 +11263,7 @@ function U8({
|
|
|
11275
11263
|
}) {
|
|
11276
11264
|
return /* @__PURE__ */ u(X5, { ellipsis: i, type: l, ...a, children: n });
|
|
11277
11265
|
}
|
|
11278
|
-
const Z5 =
|
|
11266
|
+
const Z5 = gn(kn, {
|
|
11279
11267
|
shouldForwardProp: (n) => n !== "active"
|
|
11280
11268
|
})(({
|
|
11281
11269
|
theme: n,
|