@foodpilot/foods 0.3.82 → 0.3.83
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/main.js +122 -128
- package/dist/main.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -2,7 +2,7 @@ var Ux = Object.defineProperty;
|
|
|
2
2
|
var Zx = (e, t, n) => t in e ? Ux(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Ue = (e, t, n) => Zx(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as y from "react";
|
|
5
|
-
import Pn, { forwardRef as Fi, useContext as tu, Children as qx, isValidElement as td, cloneElement as nd, useState as Ge, createContext as Sf, useRef as zt, useEffect as
|
|
5
|
+
import Pn, { forwardRef as Fi, useContext as tu, Children as qx, isValidElement as td, cloneElement as nd, useState as Ge, createContext as Sf, useRef as zt, useEffect as Ot, useCallback as _r, Fragment as Gr, createElement as Bs, useMemo as Kt, memo as Tf, useReducer as Gx } from "react";
|
|
6
6
|
import * as Yx from "react-dom";
|
|
7
7
|
import ic, { createPortal as Kx, flushSync as Xx } from "react-dom";
|
|
8
8
|
function m6(e) {
|
|
@@ -500,7 +500,7 @@ function Jx() {
|
|
|
500
500
|
}
|
|
501
501
|
var Ht;
|
|
502
502
|
Ht = !1;
|
|
503
|
-
function
|
|
503
|
+
function kt(Y) {
|
|
504
504
|
return typeof Y == "object" && Y !== null && Y.$$typeof === t;
|
|
505
505
|
}
|
|
506
506
|
function lt() {
|
|
@@ -551,15 +551,15 @@ Check the top-level render call using <` + He + ">.");
|
|
|
551
551
|
if (xe(Y))
|
|
552
552
|
for (var He = 0; He < Y.length; He++) {
|
|
553
553
|
var ne = Y[He];
|
|
554
|
-
|
|
554
|
+
kt(ne) && eo(ne, we);
|
|
555
555
|
}
|
|
556
|
-
else if (
|
|
556
|
+
else if (kt(Y))
|
|
557
557
|
Y._store && (Y._store.validated = !0);
|
|
558
558
|
else if (Y) {
|
|
559
559
|
var ae = v(Y);
|
|
560
560
|
if (typeof ae == "function" && ae !== Y.entries)
|
|
561
561
|
for (var Oe = ae.call(Y), Se; !(Se = Oe.next()).done; )
|
|
562
|
-
|
|
562
|
+
kt(Se.value) && eo(Se.value, we);
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
565
|
}
|
|
@@ -651,8 +651,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
651
651
|
function Dt(Y, we, He) {
|
|
652
652
|
return Xe(Y, we, He, !1);
|
|
653
653
|
}
|
|
654
|
-
var
|
|
655
|
-
sa.Fragment = o, sa.jsx =
|
|
654
|
+
var Et = Dt, nn = En;
|
|
655
|
+
sa.Fragment = o, sa.jsx = Et, sa.jsxs = nn;
|
|
656
656
|
}()), sa;
|
|
657
657
|
}
|
|
658
658
|
process.env.NODE_ENV === "production" ? S1.exports = Qx() : S1.exports = Jx();
|
|
@@ -846,7 +846,7 @@ var ay = /* @__PURE__ */ function() {
|
|
|
846
846
|
return (r = o.parentNode) == null ? void 0 : r.removeChild(o);
|
|
847
847
|
}), this.tags = [], this.ctr = 0;
|
|
848
848
|
}, e;
|
|
849
|
-
}(), jn = "-ms-", Rd = "-moz-",
|
|
849
|
+
}(), jn = "-ms-", Rd = "-moz-", It = "-webkit-", v6 = "comm", Pf = "rule", Mf = "decl", ly = "@import", x6 = "@keyframes", cy = "@layer", dy = Math.abs, nu = String.fromCharCode, uy = Object.assign;
|
|
850
850
|
function py(e, t) {
|
|
851
851
|
return On(e, 0) ^ 45 ? (((t << 2 ^ On(e, 0)) << 2 ^ On(e, 1)) << 2 ^ On(e, 2)) << 2 ^ On(e, 3) : 0;
|
|
852
852
|
}
|
|
@@ -856,7 +856,7 @@ function y6(e) {
|
|
|
856
856
|
function fy(e, t) {
|
|
857
857
|
return (e = t.exec(e)) ? e[0] : e;
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function jt(e, t, n) {
|
|
860
860
|
return e.replace(t, n);
|
|
861
861
|
}
|
|
862
862
|
function T1(e, t) {
|
|
@@ -993,7 +993,7 @@ function id(e, t, n, o, r, i, a, l, c) {
|
|
|
993
993
|
switch (m = C, C = lo()) {
|
|
994
994
|
case 40:
|
|
995
995
|
if (m != 108 && On(M, f - 1) == 58) {
|
|
996
|
-
T1(M +=
|
|
996
|
+
T1(M += jt(rd(C), "&", "&\f"), "&\f") != -1 && (x = -1);
|
|
997
997
|
break;
|
|
998
998
|
}
|
|
999
999
|
case 34:
|
|
@@ -1030,7 +1030,7 @@ function id(e, t, n, o, r, i, a, l, c) {
|
|
|
1030
1030
|
case 125:
|
|
1031
1031
|
v = 0;
|
|
1032
1032
|
case 59 + u:
|
|
1033
|
-
x == -1 && (M =
|
|
1033
|
+
x == -1 && (M = jt(M, /\f/g, "")), g > 0 && Uo(M) - f && sc(g > 32 ? Rh(M + ";", o, n, f - 1) : Rh(jt(M, " ", "") + ";", o, n, f - 2), c);
|
|
1034
1034
|
break;
|
|
1035
1035
|
case 59:
|
|
1036
1036
|
M += ";";
|
|
@@ -1080,7 +1080,7 @@ function id(e, t, n, o, r, i, a, l, c) {
|
|
|
1080
1080
|
function Mh(e, t, n, o, r, i, a, l, c, d, u) {
|
|
1081
1081
|
for (var f = r - 1, h = r === 0 ? i : [""], g = Rf(h), m = 0, b = 0, v = 0; m < o; ++m)
|
|
1082
1082
|
for (var x = 0, C = Ja(e, f + 1, f = dy(b = a[m])), S = e; x < g; ++x)
|
|
1083
|
-
(S = y6(b > 0 ? h[x] + " " + C :
|
|
1083
|
+
(S = y6(b > 0 ? h[x] + " " + C : jt(C, /&\f/g, h[x]))) && (c[v++] = S);
|
|
1084
1084
|
return ru(e, t, n, r === 0 ? Pf : l, c, d, u);
|
|
1085
1085
|
}
|
|
1086
1086
|
function wy(e, t, n) {
|
|
@@ -1173,7 +1173,7 @@ var My = function(t, n, o) {
|
|
|
1173
1173
|
function T6(e, t) {
|
|
1174
1174
|
switch (py(e, t)) {
|
|
1175
1175
|
case 5103:
|
|
1176
|
-
return
|
|
1176
|
+
return It + "print-" + e + e;
|
|
1177
1177
|
case 5737:
|
|
1178
1178
|
case 4201:
|
|
1179
1179
|
case 3177:
|
|
@@ -1199,44 +1199,44 @@ function T6(e, t) {
|
|
|
1199
1199
|
case 5365:
|
|
1200
1200
|
case 5621:
|
|
1201
1201
|
case 3829:
|
|
1202
|
-
return
|
|
1202
|
+
return It + e + e;
|
|
1203
1203
|
case 5349:
|
|
1204
1204
|
case 4246:
|
|
1205
1205
|
case 4810:
|
|
1206
1206
|
case 6968:
|
|
1207
1207
|
case 2756:
|
|
1208
|
-
return
|
|
1208
|
+
return It + e + Rd + e + jn + e + e;
|
|
1209
1209
|
case 6828:
|
|
1210
1210
|
case 4268:
|
|
1211
|
-
return
|
|
1211
|
+
return It + e + jn + e + e;
|
|
1212
1212
|
case 6165:
|
|
1213
|
-
return
|
|
1213
|
+
return It + e + jn + "flex-" + e + e;
|
|
1214
1214
|
case 5187:
|
|
1215
|
-
return
|
|
1215
|
+
return It + e + jt(e, /(\w+).+(:[^]+)/, It + "box-$1$2" + jn + "flex-$1$2") + e;
|
|
1216
1216
|
case 5443:
|
|
1217
|
-
return
|
|
1217
|
+
return It + e + jn + "flex-item-" + jt(e, /flex-|-self/, "") + e;
|
|
1218
1218
|
case 4675:
|
|
1219
|
-
return
|
|
1219
|
+
return It + e + jn + "flex-line-pack" + jt(e, /align-content|flex-|-self/, "") + e;
|
|
1220
1220
|
case 5548:
|
|
1221
|
-
return
|
|
1221
|
+
return It + e + jn + jt(e, "shrink", "negative") + e;
|
|
1222
1222
|
case 5292:
|
|
1223
|
-
return
|
|
1223
|
+
return It + e + jn + jt(e, "basis", "preferred-size") + e;
|
|
1224
1224
|
case 6060:
|
|
1225
|
-
return
|
|
1225
|
+
return It + "box-" + jt(e, "-grow", "") + It + e + jn + jt(e, "grow", "positive") + e;
|
|
1226
1226
|
case 4554:
|
|
1227
|
-
return
|
|
1227
|
+
return It + jt(e, /([^-])(transform)/g, "$1" + It + "$2") + e;
|
|
1228
1228
|
case 6187:
|
|
1229
|
-
return
|
|
1229
|
+
return jt(jt(jt(e, /(zoom-|grab)/, It + "$1"), /(image-set)/, It + "$1"), e, "") + e;
|
|
1230
1230
|
case 5495:
|
|
1231
1231
|
case 3959:
|
|
1232
|
-
return
|
|
1232
|
+
return jt(e, /(image-set\([^]*)/, It + "$1$`$1");
|
|
1233
1233
|
case 4968:
|
|
1234
|
-
return
|
|
1234
|
+
return jt(jt(e, /(.+:)(flex-)?(.*)/, It + "box-pack:$3" + jn + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + It + e + e;
|
|
1235
1235
|
case 4095:
|
|
1236
1236
|
case 3583:
|
|
1237
1237
|
case 4068:
|
|
1238
1238
|
case 2532:
|
|
1239
|
-
return
|
|
1239
|
+
return jt(e, /(.+)-inline(.+)/, It + "$1$2") + e;
|
|
1240
1240
|
case 8116:
|
|
1241
1241
|
case 7059:
|
|
1242
1242
|
case 5753:
|
|
@@ -1253,9 +1253,9 @@ function T6(e, t) {
|
|
|
1253
1253
|
case 109:
|
|
1254
1254
|
if (On(e, t + 4) !== 45) break;
|
|
1255
1255
|
case 102:
|
|
1256
|
-
return
|
|
1256
|
+
return jt(e, /(.+:)(.+)-([^]+)/, "$1" + It + "$2-$3$1" + Rd + (On(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1257
1257
|
case 115:
|
|
1258
|
-
return ~T1(e, "stretch") ? T6(
|
|
1258
|
+
return ~T1(e, "stretch") ? T6(jt(e, "stretch", "fill-available"), t) + e : e;
|
|
1259
1259
|
}
|
|
1260
1260
|
break;
|
|
1261
1261
|
case 4949:
|
|
@@ -1263,21 +1263,21 @@ function T6(e, t) {
|
|
|
1263
1263
|
case 6444:
|
|
1264
1264
|
switch (On(e, Uo(e) - 3 - (~T1(e, "!important") && 10))) {
|
|
1265
1265
|
case 107:
|
|
1266
|
-
return
|
|
1266
|
+
return jt(e, ":", ":" + It) + e;
|
|
1267
1267
|
case 101:
|
|
1268
|
-
return
|
|
1268
|
+
return jt(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + It + (On(e, 14) === 45 ? "inline-" : "") + "box$3$1" + It + "$2$3$1" + jn + "$2box$3") + e;
|
|
1269
1269
|
}
|
|
1270
1270
|
break;
|
|
1271
1271
|
case 5936:
|
|
1272
1272
|
switch (On(e, t + 11)) {
|
|
1273
1273
|
case 114:
|
|
1274
|
-
return
|
|
1274
|
+
return It + e + jn + jt(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1275
1275
|
case 108:
|
|
1276
|
-
return
|
|
1276
|
+
return It + e + jn + jt(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1277
1277
|
case 45:
|
|
1278
|
-
return
|
|
1278
|
+
return It + e + jn + jt(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1279
1279
|
}
|
|
1280
|
-
return
|
|
1280
|
+
return It + e + jn + e + e;
|
|
1281
1281
|
}
|
|
1282
1282
|
return e;
|
|
1283
1283
|
}
|
|
@@ -1288,7 +1288,7 @@ var Iy = function(t, n, o, r) {
|
|
|
1288
1288
|
break;
|
|
1289
1289
|
case x6:
|
|
1290
1290
|
return hs([la(t, {
|
|
1291
|
-
value:
|
|
1291
|
+
value: jt(t.value, "@", "@" + It)
|
|
1292
1292
|
})], r);
|
|
1293
1293
|
case Pf:
|
|
1294
1294
|
if (t.length) return hy(t.props, function(i) {
|
|
@@ -1296,15 +1296,15 @@ var Iy = function(t, n, o, r) {
|
|
|
1296
1296
|
case ":read-only":
|
|
1297
1297
|
case ":read-write":
|
|
1298
1298
|
return hs([la(t, {
|
|
1299
|
-
props: [
|
|
1299
|
+
props: [jt(i, /:(read-\w+)/, ":" + Rd + "$1")]
|
|
1300
1300
|
})], r);
|
|
1301
1301
|
case "::placeholder":
|
|
1302
1302
|
return hs([la(t, {
|
|
1303
|
-
props: [
|
|
1303
|
+
props: [jt(i, /:(plac\w+)/, ":" + It + "input-$1")]
|
|
1304
1304
|
}), la(t, {
|
|
1305
|
-
props: [
|
|
1305
|
+
props: [jt(i, /:(plac\w+)/, ":" + Rd + "$1")]
|
|
1306
1306
|
}), la(t, {
|
|
1307
|
-
props: [
|
|
1307
|
+
props: [jt(i, /:(plac\w+)/, jn + "input-$1")]
|
|
1308
1308
|
})], r);
|
|
1309
1309
|
}
|
|
1310
1310
|
return "";
|
|
@@ -9354,7 +9354,7 @@ function E4(e) {
|
|
|
9354
9354
|
} else if (pe === ae)
|
|
9355
9355
|
return;
|
|
9356
9356
|
A && A(ne, ae, Oe, Se), ze(ae);
|
|
9357
|
-
}, Ht = y.useRef(!1),
|
|
9357
|
+
}, Ht = y.useRef(!1), kt = (ne, ae, Oe = "selectOption", Se = "options") => {
|
|
9358
9358
|
let Ae = Oe, Ne = ae;
|
|
9359
9359
|
if (_) {
|
|
9360
9360
|
if (Ne = Array.isArray(pe) ? pe.slice() : [], process.env.NODE_ENV !== "production") {
|
|
@@ -9453,8 +9453,8 @@ function E4(e) {
|
|
|
9453
9453
|
const Oe = se[ce.current], Se = S ? S(Oe) : !1;
|
|
9454
9454
|
if (ae.preventDefault(), Se)
|
|
9455
9455
|
return;
|
|
9456
|
-
|
|
9457
|
-
} else C && me !== "" && ke === !1 && (_ && ae.preventDefault(),
|
|
9456
|
+
kt(ae, Oe, "selectOption"), o && J.current.setSelectionRange(J.current.value.length, J.current.value.length);
|
|
9457
|
+
} else C && me !== "" && ke === !1 && (_ && ae.preventDefault(), kt(ae, me, "createOption", "freeSolo"));
|
|
9458
9458
|
break;
|
|
9459
9459
|
case "Escape":
|
|
9460
9460
|
ue ? (ae.preventDefault(), ae.stopPropagation(), at(ae, "escape")) : c && (me !== "" || _ && pe.length > 0) && (ae.preventDefault(), ae.stopPropagation(), xn(ae));
|
|
@@ -9483,7 +9483,7 @@ function E4(e) {
|
|
|
9483
9483
|
J.current.focus();
|
|
9484
9484
|
return;
|
|
9485
9485
|
}
|
|
9486
|
-
re(!1), Z.current = !0, G.current = !1, i && ce.current !== -1 && ue ?
|
|
9486
|
+
re(!1), Z.current = !0, G.current = !1, i && ce.current !== -1 && ue ? kt(ne, se[ce.current], "blur") : i && C && me !== "" ? kt(ne, me, "blur", "freeSolo") : l && xe(ne, pe), at(ne, "blur");
|
|
9487
9487
|
}, tn = (ne) => {
|
|
9488
9488
|
const ae = ne.target.value;
|
|
9489
9489
|
me !== ae && (De(ae), Pe(!1), F && F(ne, ae, "input")), ae === "" ? !f && !_ && it(ne, null, "clear") : Je(ne);
|
|
@@ -9502,7 +9502,7 @@ function E4(e) {
|
|
|
9502
9502
|
}), Ht.current = !0;
|
|
9503
9503
|
}, Xe = (ne) => {
|
|
9504
9504
|
const ae = Number(ne.currentTarget.getAttribute("data-option-index"));
|
|
9505
|
-
|
|
9505
|
+
kt(ne, se[ae], "selectOption"), Ht.current = !1;
|
|
9506
9506
|
}, En = (ne) => (ae) => {
|
|
9507
9507
|
const Oe = pe.slice();
|
|
9508
9508
|
Oe.splice(ne, 1), it(ae, Oe, "removeOption", {
|
|
@@ -9510,7 +9510,7 @@ function E4(e) {
|
|
|
9510
9510
|
});
|
|
9511
9511
|
}, Dt = (ne) => {
|
|
9512
9512
|
Ve ? at(ne, "toggleInput") : Je(ne);
|
|
9513
|
-
},
|
|
9513
|
+
}, Et = (ne) => {
|
|
9514
9514
|
ne.currentTarget.contains(ne.target) && ne.target.getAttribute("id") !== H && ne.preventDefault();
|
|
9515
9515
|
}, nn = (ne) => {
|
|
9516
9516
|
ne.currentTarget.contains(ne.target) && (J.current.focus(), le && Z.current && J.current.selectionEnd - J.current.selectionStart === 0 && J.current.select(), Z.current = !1);
|
|
@@ -9538,7 +9538,7 @@ function E4(e) {
|
|
|
9538
9538
|
"aria-owns": Ke ? `${H}-listbox` : null
|
|
9539
9539
|
}, ne, {
|
|
9540
9540
|
onKeyDown: an(ne),
|
|
9541
|
-
onMouseDown:
|
|
9541
|
+
onMouseDown: Et,
|
|
9542
9542
|
onClick: nn
|
|
9543
9543
|
}),
|
|
9544
9544
|
getInputLabelProps: () => ({
|
|
@@ -12863,10 +12863,10 @@ const ZR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12863
12863
|
})), at = !w && !M && Te && !j, it = (!A || _ === !0) && _ !== !1, {
|
|
12864
12864
|
onMouseDown: Ht
|
|
12865
12865
|
} = xe(), {
|
|
12866
|
-
ref:
|
|
12866
|
+
ref: kt
|
|
12867
12867
|
} = le ?? {}, lt = ke(), {
|
|
12868
12868
|
ref: Zt
|
|
12869
|
-
} = lt, xn = de(lt, qR), an = pt(Zt,
|
|
12869
|
+
} = lt, xn = de(lt, qR), an = pt(Zt, kt), yn = F || ((Se) => {
|
|
12870
12870
|
var Ae;
|
|
12871
12871
|
return (Ae = Se.label) != null ? Ae : Se;
|
|
12872
12872
|
}), tn = T({}, l, {
|
|
@@ -12917,7 +12917,7 @@ const ZR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12917
12917
|
ownerState: tn,
|
|
12918
12918
|
children: Se.children
|
|
12919
12919
|
})]
|
|
12920
|
-
}, Se.key)),
|
|
12920
|
+
}, Se.key)), Et = ce || ((Se, Ae) => {
|
|
12921
12921
|
const {
|
|
12922
12922
|
key: Ne
|
|
12923
12923
|
} = Se, et = de(Se, YR);
|
|
@@ -12929,7 +12929,7 @@ const ZR = ["autoComplete", "autoHighlight", "autoSelect", "blurOnSelect", "Chip
|
|
|
12929
12929
|
option: Se,
|
|
12930
12930
|
index: Ae
|
|
12931
12931
|
});
|
|
12932
|
-
return
|
|
12932
|
+
return Et(T({}, Ne, {
|
|
12933
12933
|
className: _t.option
|
|
12934
12934
|
}), Se, {
|
|
12935
12935
|
selected: Ne["aria-selected"],
|
|
@@ -25416,7 +25416,7 @@ const __ = W("span", {
|
|
|
25416
25416
|
rootRef: n
|
|
25417
25417
|
}));
|
|
25418
25418
|
ee.marked = Ke.length > 0 && Ke.some((ne) => ne.label), ee.dragging = Te, ee.focusedThumbIndex = ue;
|
|
25419
|
-
const Ce = N_(ee), ge = (o = (r = ce == null ? void 0 : ce.root) != null ? r : $.Root) != null ? o : __, $e = (i = (a = ce == null ? void 0 : ce.rail) != null ? a : $.Rail) != null ? i : D_, Je = (l = (c = ce == null ? void 0 : ce.track) != null ? c : $.Track) != null ? l : L_, at = (d = (u = ce == null ? void 0 : ce.thumb) != null ? u : $.Thumb) != null ? d : A_, it = (f = (h = ce == null ? void 0 : ce.valueLabel) != null ? h : $.ValueLabel) != null ? f : V_, Ht = (g = (m = ce == null ? void 0 : ce.mark) != null ? m : $.Mark) != null ? g : F_,
|
|
25419
|
+
const Ce = N_(ee), ge = (o = (r = ce == null ? void 0 : ce.root) != null ? r : $.Root) != null ? o : __, $e = (i = (a = ce == null ? void 0 : ce.rail) != null ? a : $.Rail) != null ? i : D_, Je = (l = (c = ce == null ? void 0 : ce.track) != null ? c : $.Track) != null ? l : L_, at = (d = (u = ce == null ? void 0 : ce.thumb) != null ? u : $.Thumb) != null ? d : A_, it = (f = (h = ce == null ? void 0 : ce.valueLabel) != null ? h : $.ValueLabel) != null ? f : V_, Ht = (g = (m = ce == null ? void 0 : ce.mark) != null ? m : $.Mark) != null ? g : F_, kt = (b = (v = ce == null ? void 0 : ce.markLabel) != null ? v : $.MarkLabel) != null ? b : $_, lt = (x = (C = ce == null ? void 0 : ce.input) != null ? C : $.Input) != null ? x : "input", Zt = (S = Q == null ? void 0 : Q.root) != null ? S : V.root, xn = (P = Q == null ? void 0 : Q.rail) != null ? P : V.rail, an = (w = Q == null ? void 0 : Q.track) != null ? w : V.track, eo = (R = Q == null ? void 0 : Q.thumb) != null ? R : V.thumb, yn = (M = Q == null ? void 0 : Q.valueLabel) != null ? M : V.valueLabel, tn = (O = Q == null ? void 0 : Q.mark) != null ? O : V.mark, _t = (k = Q == null ? void 0 : Q.markLabel) != null ? k : V.markLabel, ln = (E = Q == null ? void 0 : Q.input) != null ? E : V.input, Xe = Pt({
|
|
25420
25420
|
elementType: ge,
|
|
25421
25421
|
getSlotProps: xe,
|
|
25422
25422
|
externalSlotProps: Zt,
|
|
@@ -25439,7 +25439,7 @@ const __ = W("span", {
|
|
|
25439
25439
|
},
|
|
25440
25440
|
ownerState: T({}, ee, an == null ? void 0 : an.ownerState),
|
|
25441
25441
|
className: Ce.track
|
|
25442
|
-
}),
|
|
25442
|
+
}), Et = Pt({
|
|
25443
25443
|
elementType: at,
|
|
25444
25444
|
getSlotProps: We,
|
|
25445
25445
|
externalSlotProps: eo,
|
|
@@ -25456,7 +25456,7 @@ const __ = W("span", {
|
|
|
25456
25456
|
ownerState: ee,
|
|
25457
25457
|
className: Ce.mark
|
|
25458
25458
|
}), we = Pt({
|
|
25459
|
-
elementType:
|
|
25459
|
+
elementType: kt,
|
|
25460
25460
|
externalSlotProps: _t,
|
|
25461
25461
|
ownerState: ee,
|
|
25462
25462
|
className: Ce.markLabel
|
|
@@ -25478,10 +25478,10 @@ const __ = W("span", {
|
|
|
25478
25478
|
}, {
|
|
25479
25479
|
style: T({}, Se, Y.style),
|
|
25480
25480
|
className: ve(Y.className, Ae && Ce.markActive)
|
|
25481
|
-
})), ne.label != null ? /* @__PURE__ */ p.jsx(
|
|
25481
|
+
})), ne.label != null ? /* @__PURE__ */ p.jsx(kt, T({
|
|
25482
25482
|
"aria-hidden": !0,
|
|
25483
25483
|
"data-index": ae
|
|
25484
|
-
}, we, !Ko(
|
|
25484
|
+
}, we, !Ko(kt) && {
|
|
25485
25485
|
markLabelActive: Ae
|
|
25486
25486
|
}, {
|
|
25487
25487
|
style: T({}, Se, we.style),
|
|
@@ -25503,9 +25503,9 @@ const __ = W("span", {
|
|
|
25503
25503
|
}, nn, {
|
|
25504
25504
|
children: /* @__PURE__ */ p.jsx(at, T({
|
|
25505
25505
|
"data-index": ae
|
|
25506
|
-
},
|
|
25507
|
-
className: ve(Ce.thumb,
|
|
25508
|
-
style: T({}, Se, be(ae),
|
|
25506
|
+
}, Et, {
|
|
25507
|
+
className: ve(Ce.thumb, Et.className, Pe === ae && Ce.active, ue === ae && Ce.focusVisible),
|
|
25508
|
+
style: T({}, Se, be(ae), Et.style),
|
|
25509
25509
|
children: /* @__PURE__ */ p.jsx(lt, T({
|
|
25510
25510
|
"data-index": ae,
|
|
25511
25511
|
"aria-label": H ? H(ae) : A,
|
|
@@ -26047,7 +26047,7 @@ const qt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26047
26047
|
onBlur: Je,
|
|
26048
26048
|
onFocus: at,
|
|
26049
26049
|
ref: it
|
|
26050
|
-
} = _l(), [, Ht] = y.useState(!1),
|
|
26050
|
+
} = _l(), [, Ht] = y.useState(!1), kt = (Ne) => {
|
|
26051
26051
|
Je(Ne), $e.current === !1 && (Ht(!1), ge(Ne));
|
|
26052
26052
|
}, lt = (Ne) => {
|
|
26053
26053
|
me || De(Ne.currentTarget), at(Ne), $e.current === !0 && (Ht(!0), Ce(Ne));
|
|
@@ -26096,7 +26096,7 @@ const qt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26096
26096
|
`));
|
|
26097
26097
|
}, [me]));
|
|
26098
26098
|
const En = {};
|
|
26099
|
-
D || (Xe.onTouchStart = xn, Xe.onTouchEnd = an), A || (Xe.onMouseOver = yc(Ce, Xe.onMouseOver), Xe.onMouseLeave = yc(ge, Xe.onMouseLeave), Ve || (En.onMouseOver = Ce, En.onMouseLeave = ge)), _ || (Xe.onFocus = yc(lt, Xe.onFocus), Xe.onBlur = yc(
|
|
26099
|
+
D || (Xe.onTouchStart = xn, Xe.onTouchEnd = an), A || (Xe.onMouseOver = yc(Ce, Xe.onMouseOver), Xe.onMouseLeave = yc(ge, Xe.onMouseLeave), Ve || (En.onMouseOver = Ce, En.onMouseLeave = ge)), _ || (Xe.onFocus = yc(lt, Xe.onFocus), Xe.onBlur = yc(kt, Xe.onBlur), Ve || (En.onFocus = lt, En.onBlur = kt)), process.env.NODE_ENV !== "production" && ce.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${ce.props.title}\` or the Tooltip component.`].join(`
|
|
26100
26100
|
`));
|
|
26101
26101
|
const Dt = y.useMemo(() => {
|
|
26102
26102
|
var Ne;
|
|
@@ -26111,20 +26111,20 @@ const qt = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
26111
26111
|
return (Ne = J.popperOptions) != null && Ne.modifiers && (et = et.concat(J.popperOptions.modifiers)), T({}, J.popperOptions, {
|
|
26112
26112
|
modifiers: et
|
|
26113
26113
|
});
|
|
26114
|
-
}, [ee, J]),
|
|
26114
|
+
}, [ee, J]), Et = T({}, R, {
|
|
26115
26115
|
isRtl: ze,
|
|
26116
26116
|
arrow: M,
|
|
26117
26117
|
disableInteractive: Ve,
|
|
26118
26118
|
placement: G,
|
|
26119
26119
|
PopperComponentProp: Z,
|
|
26120
26120
|
touch: xe.current
|
|
26121
|
-
}), nn = U_(
|
|
26121
|
+
}), nn = U_(Et), Y = (o = (r = oe.popper) != null ? r : k.Popper) != null ? o : Z_, we = (i = (a = (l = oe.transition) != null ? l : k.Transition) != null ? a : j) != null ? i : Hr, He = (c = (d = oe.tooltip) != null ? d : k.Tooltip) != null ? c : q_, ne = (u = (f = oe.arrow) != null ? f : k.Arrow) != null ? u : G_, ae = ds(Y, T({}, J, (h = ie.popper) != null ? h : E.popper, {
|
|
26122
26122
|
className: ve(nn.popper, J == null ? void 0 : J.className, (g = (m = ie.popper) != null ? m : E.popper) == null ? void 0 : g.className)
|
|
26123
|
-
}),
|
|
26123
|
+
}), Et), Oe = ds(we, T({}, K, (b = ie.transition) != null ? b : E.transition), Et), Se = ds(He, T({}, (v = ie.tooltip) != null ? v : E.tooltip, {
|
|
26124
26124
|
className: ve(nn.tooltip, (x = (C = ie.tooltip) != null ? C : E.tooltip) == null ? void 0 : x.className)
|
|
26125
|
-
}),
|
|
26125
|
+
}), Et), Ae = ds(ne, T({}, (S = ie.arrow) != null ? S : E.arrow, {
|
|
26126
26126
|
className: ve(nn.arrow, (P = (w = ie.arrow) != null ? w : E.arrow) == null ? void 0 : P.className)
|
|
26127
|
-
}),
|
|
26127
|
+
}), Et);
|
|
26128
26128
|
return /* @__PURE__ */ p.jsxs(y.Fragment, {
|
|
26129
26129
|
children: [/* @__PURE__ */ y.cloneElement(ce, Xe), /* @__PURE__ */ p.jsx(Y, T({
|
|
26130
26130
|
as: Z ?? Ks,
|
|
@@ -27869,11 +27869,11 @@ const _u = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
27869
27869
|
const ge = (at) => {
|
|
27870
27870
|
at.forEach((it) => {
|
|
27871
27871
|
it.removedNodes.forEach((Ht) => {
|
|
27872
|
-
var
|
|
27873
|
-
(
|
|
27872
|
+
var kt;
|
|
27873
|
+
(kt = Ce) == null || kt.unobserve(Ht);
|
|
27874
27874
|
}), it.addedNodes.forEach((Ht) => {
|
|
27875
|
-
var
|
|
27876
|
-
(
|
|
27875
|
+
var kt;
|
|
27876
|
+
(kt = Ce) == null || kt.observe(Ht);
|
|
27877
27877
|
});
|
|
27878
27878
|
}), be(), se();
|
|
27879
27879
|
}, $e = tr(ze.current);
|
|
@@ -27899,9 +27899,9 @@ const _u = /* @__PURE__ */ y.forwardRef(function(t, n) {
|
|
|
27899
27899
|
it.observe(ge);
|
|
27900
27900
|
const Ht = (lt) => {
|
|
27901
27901
|
z(!lt[0].isIntersecting);
|
|
27902
|
-
},
|
|
27903
|
-
return
|
|
27904
|
-
it.disconnect(),
|
|
27902
|
+
}, kt = new IntersectionObserver(Ht, Je);
|
|
27903
|
+
return kt.observe($e), () => {
|
|
27904
|
+
it.disconnect(), kt.disconnect();
|
|
27905
27905
|
};
|
|
27906
27906
|
}
|
|
27907
27907
|
}, [A, C, j, u == null ? void 0 : u.length]), y.useEffect(() => {
|
|
@@ -29449,7 +29449,7 @@ class SF {
|
|
|
29449
29449
|
}
|
|
29450
29450
|
const TF = (e, t) => {
|
|
29451
29451
|
const n = zt();
|
|
29452
|
-
return
|
|
29452
|
+
return Ot(() => {
|
|
29453
29453
|
n.current = e;
|
|
29454
29454
|
}, [e, t]), n.current;
|
|
29455
29455
|
}, A7 = (e, t, n, o) => e.getFixedT(t, n, o), PF = (e, t, n, o) => _r(A7(e, t, n, o), [e, t, n, o]), Bi = function(e) {
|
|
@@ -29480,7 +29480,7 @@ const TF = (e, t) => {
|
|
|
29480
29480
|
let v = d.join();
|
|
29481
29481
|
t.lng && (v = `${t.lng}${v}`);
|
|
29482
29482
|
const x = TF(v), C = zt(!0);
|
|
29483
|
-
|
|
29483
|
+
Ot(() => {
|
|
29484
29484
|
const {
|
|
29485
29485
|
bindI18n: P,
|
|
29486
29486
|
bindI18nStore: w
|
|
@@ -29496,7 +29496,7 @@ const TF = (e, t) => {
|
|
|
29496
29496
|
return P && i && i.on(P, R), w && i && i.store.on(w, R), () => {
|
|
29497
29497
|
C.current = !1, P && i && P.split(" ").forEach((M) => i.off(M, R)), w && i && w.split(" ").forEach((M) => i.store.off(M, R));
|
|
29498
29498
|
};
|
|
29499
|
-
}, [i, v]),
|
|
29499
|
+
}, [i, v]), Ot(() => {
|
|
29500
29500
|
C.current && u && b(h);
|
|
29501
29501
|
}, [i, c, u]);
|
|
29502
29502
|
const S = [m, i, u];
|
|
@@ -40692,22 +40692,22 @@ function uW(e, t) {
|
|
|
40692
40692
|
}, v = () => {
|
|
40693
40693
|
g5(t, null), m.current && (m.current.destroy(), m.current = null);
|
|
40694
40694
|
};
|
|
40695
|
-
return
|
|
40695
|
+
return Ot(() => {
|
|
40696
40696
|
!r && m.current && c && lW(m.current, c);
|
|
40697
40697
|
}, [
|
|
40698
40698
|
r,
|
|
40699
40699
|
c
|
|
40700
|
-
]),
|
|
40700
|
+
]), Ot(() => {
|
|
40701
40701
|
!r && m.current && Vb(m.current.config.data, l.labels);
|
|
40702
40702
|
}, [
|
|
40703
40703
|
r,
|
|
40704
40704
|
l.labels
|
|
40705
|
-
]),
|
|
40705
|
+
]), Ot(() => {
|
|
40706
40706
|
!r && m.current && l.datasets && Fb(m.current.config.data, l.datasets, i);
|
|
40707
40707
|
}, [
|
|
40708
40708
|
r,
|
|
40709
40709
|
l.datasets
|
|
40710
|
-
]),
|
|
40710
|
+
]), Ot(() => {
|
|
40711
40711
|
m.current && (r ? (v(), setTimeout(b)) : m.current.update(f));
|
|
40712
40712
|
}, [
|
|
40713
40713
|
r,
|
|
@@ -40715,11 +40715,11 @@ function uW(e, t) {
|
|
|
40715
40715
|
l.labels,
|
|
40716
40716
|
l.datasets,
|
|
40717
40717
|
f
|
|
40718
|
-
]),
|
|
40718
|
+
]), Ot(() => {
|
|
40719
40719
|
m.current && (v(), setTimeout(b));
|
|
40720
40720
|
}, [
|
|
40721
40721
|
a
|
|
40722
|
-
]),
|
|
40722
|
+
]), Ot(() => (b(), () => v()), []), /* @__PURE__ */ Pn.createElement("canvas", Object.assign({
|
|
40723
40723
|
ref: g,
|
|
40724
40724
|
role: "img",
|
|
40725
40725
|
height: n,
|
|
@@ -42414,16 +42414,10 @@ const GU = (e) => {
|
|
|
42414
42414
|
}
|
|
42415
42415
|
);
|
|
42416
42416
|
}, JU = (e) => {
|
|
42417
|
-
const {
|
|
42418
|
-
|
|
42419
|
-
|
|
42420
|
-
|
|
42421
|
-
legend: r,
|
|
42422
|
-
hoveredArcIndex: i,
|
|
42423
|
-
setHoveredArcIndex: a,
|
|
42424
|
-
icons: l = []
|
|
42425
|
-
} = e;
|
|
42426
|
-
return !n || !n.length ? null : (r == null ? void 0 : r.position) === "bottom" ? /* @__PURE__ */ p.jsx(
|
|
42417
|
+
const { values: t, labels: n, palette: o, legend: r, hoveredArcIndex: i, setHoveredArcIndex: a, icons: l = [] } = e, c = JSON.stringify(n);
|
|
42418
|
+
return Ot(() => {
|
|
42419
|
+
a(null);
|
|
42420
|
+
}, [c, a]), !n || !n.length ? null : (r == null ? void 0 : r.position) === "bottom" ? /* @__PURE__ */ p.jsx(
|
|
42427
42421
|
XU,
|
|
42428
42422
|
{
|
|
42429
42423
|
labels: n,
|
|
@@ -42484,7 +42478,7 @@ function oZ({
|
|
|
42484
42478
|
disableAutoFocus: o
|
|
42485
42479
|
}) {
|
|
42486
42480
|
const r = zt(!0);
|
|
42487
|
-
|
|
42481
|
+
Ot(() => (r.current = !0, () => {
|
|
42488
42482
|
r.current = !1;
|
|
42489
42483
|
}), []);
|
|
42490
42484
|
const [i, a] = Ge(tZ), l = _r((C) => {
|
|
@@ -42743,7 +42737,7 @@ const Lie = (e) => {
|
|
|
42743
42737
|
const { values: t, labels: n, colors: o, legend: r, children: i, valuesUnit: a, className: l, valuesFormatterFn: c } = e, [d, u] = Ge(null), [f, h] = Ge(!1), [g, m] = Ge(), [b, v] = Ge(null), [x, C] = Ge(null), S = (I, _) => {
|
|
42744
42738
|
v(I), C(_);
|
|
42745
42739
|
};
|
|
42746
|
-
|
|
42740
|
+
Ot(() => {
|
|
42747
42741
|
!n || !t || h(b !== null && x !== null);
|
|
42748
42742
|
}, [n, t, b, x]);
|
|
42749
42743
|
const P = Me(), w = YU(P, 100, 700), R = (r == null ? void 0 : r.position) ?? "bottom", M = KU(o && o.length ? o : w, t ?? []), O = GU({
|
|
@@ -42755,7 +42749,7 @@ const Lie = (e) => {
|
|
|
42755
42749
|
setHoveredArcIndex: u,
|
|
42756
42750
|
handleChartHover: S
|
|
42757
42751
|
}), k = (I, _ = 35) => I.length <= _ ? I : I.substring(0, _ - 3) + "...";
|
|
42758
|
-
|
|
42752
|
+
Ot(() => {
|
|
42759
42753
|
d !== null && n && n[d] !== void 0 && t && t[d] !== void 0 ? m(
|
|
42760
42754
|
/* @__PURE__ */ p.jsxs(te, { sx: { maxWidth: "250px" }, children: [
|
|
42761
42755
|
/* @__PURE__ */ p.jsx(fe, { fontWeight: 700, fontSize: "0.75rem", children: r !== void 0 ? k(n[d]) : n[d] }),
|
|
@@ -43676,7 +43670,7 @@ const Aie = (e) => {
|
|
|
43676
43670
|
positiveColor: c,
|
|
43677
43671
|
negativeColor: d
|
|
43678
43672
|
} = e, u = zt(), [f, h] = Ge([0, 0, 0]);
|
|
43679
|
-
if (
|
|
43673
|
+
if (Ot(() => {
|
|
43680
43674
|
!u.current || !t || n === void 0 || h([u.current.offsetWidth, u.current.offsetHeight]);
|
|
43681
43675
|
}, [t, o, n]), !t || n === void 0) return null;
|
|
43682
43676
|
const g = t.canvas.getBoundingClientRect(), m = g.top + window.scrollY + t.getDatasetMeta(n).data[o].y - f[1] - 10, b = g.left + window.scrollX + t.getDatasetMeta(n).data[o].x - f[0] / 2;
|
|
@@ -43840,9 +43834,9 @@ const Aie = (e) => {
|
|
|
43840
43834
|
}
|
|
43841
43835
|
}, WZ = () => {
|
|
43842
43836
|
const e = zt(), [t, n] = Ge(!1);
|
|
43843
|
-
return
|
|
43837
|
+
return Ot(() => {
|
|
43844
43838
|
e.current && n(!0);
|
|
43845
|
-
}, []),
|
|
43839
|
+
}, []), Ot(() => {
|
|
43846
43840
|
if (!e.current) return;
|
|
43847
43841
|
const o = () => e.current.resize();
|
|
43848
43842
|
return window.addEventListener("resize", o), () => {
|
|
@@ -44039,9 +44033,9 @@ const Aie = (e) => {
|
|
|
44039
44033
|
}
|
|
44040
44034
|
}, GZ = () => {
|
|
44041
44035
|
const e = zt(), [t, n] = Ge(!1);
|
|
44042
|
-
return
|
|
44036
|
+
return Ot(() => {
|
|
44043
44037
|
e.current && n(!0);
|
|
44044
|
-
}, []),
|
|
44038
|
+
}, []), Ot(() => {
|
|
44045
44039
|
if (!e.current) return;
|
|
44046
44040
|
const o = () => e.current.resize();
|
|
44047
44041
|
return window.addEventListener("resize", o), () => {
|
|
@@ -44638,7 +44632,7 @@ const Zie = (e) => {
|
|
|
44638
44632
|
);
|
|
44639
44633
|
}), Yie = (e) => {
|
|
44640
44634
|
const { title: t, unit: n, placeholder: o, value: r, description: i, error: a, required: l, ...c } = e, d = l ? "*" : "", u = Me(), f = zt(!1), h = f.current && a, [g, m] = Ge(!1), [b, v] = Ge(!1), [x, C] = Ge(!1);
|
|
44641
|
-
|
|
44635
|
+
Ot(() => {
|
|
44642
44636
|
const M = S(P, e.setMinMaxError);
|
|
44643
44637
|
m(M);
|
|
44644
44638
|
const O = S(w, e.setMinError);
|
|
@@ -45499,7 +45493,7 @@ const rq = (e) => {
|
|
|
45499
45493
|
const { confirmExit: e, formSaved: t } = na(), n = (o) => {
|
|
45500
45494
|
o.preventDefault();
|
|
45501
45495
|
};
|
|
45502
|
-
return
|
|
45496
|
+
return Ot(() => {
|
|
45503
45497
|
if (e)
|
|
45504
45498
|
return window.removeEventListener("beforeunload", n), t === !1 && window.addEventListener("beforeunload", n), () => {
|
|
45505
45499
|
window.removeEventListener("beforeunload", n);
|
|
@@ -54632,7 +54626,7 @@ const oee = W(Xu, {
|
|
|
54632
54626
|
y.useEffect(() => {
|
|
54633
54627
|
Ht.current !== pe && (me === Ht.current && De(pe, !0), Ht.current = pe);
|
|
54634
54628
|
}, [me, De, pe]);
|
|
54635
|
-
const
|
|
54629
|
+
const kt = y.useMemo(() => [K], [K]);
|
|
54636
54630
|
return /* @__PURE__ */ p.jsxs(oee, T({
|
|
54637
54631
|
ref: n,
|
|
54638
54632
|
className: ve(Je.root, I),
|
|
@@ -54665,7 +54659,7 @@ const oee = W(Xu, {
|
|
|
54665
54659
|
onMonthSwitchingAnimationEnd: ue,
|
|
54666
54660
|
onFocusedDayChange: We,
|
|
54667
54661
|
reduceAnimations: P,
|
|
54668
|
-
selectedDays:
|
|
54662
|
+
selectedDays: kt,
|
|
54669
54663
|
onSelectedDaysChange: ge,
|
|
54670
54664
|
shouldDisableDate: w,
|
|
54671
54665
|
shouldDisableMonth: R,
|
|
@@ -62866,9 +62860,9 @@ const Yte = (e) => {
|
|
|
62866
62860
|
tableOptions: e
|
|
62867
62861
|
})), { grow: !0 }), Jv), { muiTableBodyCellProps: b1, muiTableFooterCellProps: b1, muiTableHeadCellProps: b1 }), fne = (e) => {
|
|
62868
62862
|
const { getIsSomeRowsPinned: t, getPrePaginationRowModel: n, getState: o, options: { enablePagination: r, enableRowPinning: i, rowCount: a } } = e, { columnOrder: l, density: c, globalFilter: d, isFullScreen: u, isLoading: f, pagination: h, showSkeletons: g, sorting: m } = o(), b = e.options.columns.length, v = a ?? n().rows.length, x = Gx(() => ({}), {})[1], C = zt(), S = zt();
|
|
62869
|
-
|
|
62863
|
+
Ot(() => {
|
|
62870
62864
|
typeof window < "u" && (C.current = document.body.style.height);
|
|
62871
|
-
}, []),
|
|
62865
|
+
}, []), Ot(() => {
|
|
62872
62866
|
if (typeof window < "u")
|
|
62873
62867
|
if (u)
|
|
62874
62868
|
S.current = document.body.getBoundingClientRect().top, document.body.style.height = "100dvh";
|
|
@@ -62880,20 +62874,20 @@ const Yte = (e) => {
|
|
|
62880
62874
|
top: -1 * S.current
|
|
62881
62875
|
});
|
|
62882
62876
|
}
|
|
62883
|
-
}, [u]),
|
|
62877
|
+
}, [u]), Ot(() => {
|
|
62884
62878
|
b !== l.length && e.setColumnOrder(Fv(e.options));
|
|
62885
|
-
}, [b]),
|
|
62879
|
+
}, [b]), Ot(() => {
|
|
62886
62880
|
if (!r || f || g)
|
|
62887
62881
|
return;
|
|
62888
62882
|
const { pageIndex: w, pageSize: R } = h;
|
|
62889
62883
|
w * R >= v && e.setPageIndex(Math.ceil(v / R) - 1);
|
|
62890
62884
|
}, [v]);
|
|
62891
62885
|
const P = zt(m);
|
|
62892
|
-
|
|
62886
|
+
Ot(() => {
|
|
62893
62887
|
m.length && (P.current = m);
|
|
62894
|
-
}, [m]),
|
|
62888
|
+
}, [m]), Ot(() => {
|
|
62895
62889
|
Nv(e) && (d ? e.setSorting([]) : e.setSorting(() => P.current || []));
|
|
62896
|
-
}, [d]),
|
|
62890
|
+
}, [d]), Ot(() => {
|
|
62897
62891
|
i && t() && setTimeout(() => {
|
|
62898
62892
|
x();
|
|
62899
62893
|
}, 150);
|
|
@@ -62901,17 +62895,17 @@ const Yte = (e) => {
|
|
|
62901
62895
|
}, hne = (e) => {
|
|
62902
62896
|
var t, n, o, r, i, a, l, c, d, u, f, h, g, m, b, v, x, C, S, P, w, R, M, O, k, E, I, _, A, L, D, F, $, V, B;
|
|
62903
62897
|
const N = zt(null), U = zt(null), le = zt(null), X = zt({}), H = zt({}), q = zt(null), G = zt(null), Z = zt({}), J = zt(null), ie = zt(null), oe = zt(null), z = zt(null), j = Kt(() => {
|
|
62904
|
-
var
|
|
62905
|
-
const we = (
|
|
62898
|
+
var Et, nn, Y;
|
|
62899
|
+
const we = (Et = e.initialState) !== null && Et !== void 0 ? Et : {};
|
|
62906
62900
|
return we.columnOrder = (nn = we.columnOrder) !== null && nn !== void 0 ? nn : Fv(Object.assign(Object.assign({}, e), { state: Object.assign(Object.assign({}, e.initialState), e.state) })), we.globalFilterFn = (Y = e.globalFilterFn) !== null && Y !== void 0 ? Y : "fuzzy", we;
|
|
62907
62901
|
}, []);
|
|
62908
62902
|
e.initialState = j;
|
|
62909
|
-
const [K, Q] = Ge((t = j.actionCell) !== null && t !== void 0 ? t : null), [ce, pe] = Ge((n = j.creatingRow) !== null && n !== void 0 ? n : null), [ze, me] = Ge(() => Object.assign({}, ...Jd(e.columns).map((
|
|
62903
|
+
const [K, Q] = Ge((t = j.actionCell) !== null && t !== void 0 ? t : null), [ce, pe] = Ge((n = j.creatingRow) !== null && n !== void 0 ? n : null), [ze, me] = Ge(() => Object.assign({}, ...Jd(e.columns).map((Et) => {
|
|
62910
62904
|
var nn, Y, we, He;
|
|
62911
62905
|
return {
|
|
62912
|
-
[Ss(
|
|
62906
|
+
[Ss(Et)]: Et.filterFn instanceof Function ? (nn = Et.filterFn.name) !== null && nn !== void 0 ? nn : "custom" : (He = (Y = Et.filterFn) !== null && Y !== void 0 ? Y : (we = j == null ? void 0 : j.columnFilterFns) === null || we === void 0 ? void 0 : we[Ss(Et)]) !== null && He !== void 0 ? He : Vte(Et)
|
|
62913
62907
|
};
|
|
62914
|
-
}))), [De, ee] = Ge((o = j.columnOrder) !== null && o !== void 0 ? o : []), [re, xe] = Ge((r = j.columnSizingInfo) !== null && r !== void 0 ? r : {}), [Ve, We] = Ge((i = j == null ? void 0 : j.density) !== null && i !== void 0 ? i : "comfortable"), [Ze, Pe] = Ge((a = j.draggingColumn) !== null && a !== void 0 ? a : null), [ke, ue] = Ge((l = j.draggingRow) !== null && l !== void 0 ? l : null), [se, Te] = Ge((c = j.editingCell) !== null && c !== void 0 ? c : null), [Ke, Ye] = Ge((d = j.editingRow) !== null && d !== void 0 ? d : null), [je, Le] = Ge((u = j.globalFilterFn) !== null && u !== void 0 ? u : "fuzzy"), [be, Ce] = Ge((f = j.grouping) !== null && f !== void 0 ? f : []), [ge, $e] = Ge((h = j.hoveredColumn) !== null && h !== void 0 ? h : null), [Je, at] = Ge((g = j.hoveredRow) !== null && g !== void 0 ? g : null), [it, Ht] = Ge((m = j == null ? void 0 : j.isFullScreen) !== null && m !== void 0 ? m : !1), [
|
|
62908
|
+
}))), [De, ee] = Ge((o = j.columnOrder) !== null && o !== void 0 ? o : []), [re, xe] = Ge((r = j.columnSizingInfo) !== null && r !== void 0 ? r : {}), [Ve, We] = Ge((i = j == null ? void 0 : j.density) !== null && i !== void 0 ? i : "comfortable"), [Ze, Pe] = Ge((a = j.draggingColumn) !== null && a !== void 0 ? a : null), [ke, ue] = Ge((l = j.draggingRow) !== null && l !== void 0 ? l : null), [se, Te] = Ge((c = j.editingCell) !== null && c !== void 0 ? c : null), [Ke, Ye] = Ge((d = j.editingRow) !== null && d !== void 0 ? d : null), [je, Le] = Ge((u = j.globalFilterFn) !== null && u !== void 0 ? u : "fuzzy"), [be, Ce] = Ge((f = j.grouping) !== null && f !== void 0 ? f : []), [ge, $e] = Ge((h = j.hoveredColumn) !== null && h !== void 0 ? h : null), [Je, at] = Ge((g = j.hoveredRow) !== null && g !== void 0 ? g : null), [it, Ht] = Ge((m = j == null ? void 0 : j.isFullScreen) !== null && m !== void 0 ? m : !1), [kt, lt] = Ge((b = j == null ? void 0 : j.pagination) !== null && b !== void 0 ? b : { pageIndex: 0, pageSize: 10 }), [Zt, xn] = Ge((v = j == null ? void 0 : j.showAlertBanner) !== null && v !== void 0 ? v : !1), [an, eo] = Ge((x = j == null ? void 0 : j.showColumnFilters) !== null && x !== void 0 ? x : !1), [yn, tn] = Ge((C = j == null ? void 0 : j.showGlobalFilter) !== null && C !== void 0 ? C : !1), [_t, ln] = Ge((S = j == null ? void 0 : j.showToolbarDropZone) !== null && S !== void 0 ? S : !1);
|
|
62915
62909
|
e.state = Object.assign({
|
|
62916
62910
|
actionCell: K,
|
|
62917
62911
|
columnFilterFns: ze,
|
|
@@ -62928,7 +62922,7 @@ const Yte = (e) => {
|
|
|
62928
62922
|
hoveredColumn: ge,
|
|
62929
62923
|
hoveredRow: Je,
|
|
62930
62924
|
isFullScreen: it,
|
|
62931
|
-
pagination:
|
|
62925
|
+
pagination: kt,
|
|
62932
62926
|
showAlertBanner: Zt,
|
|
62933
62927
|
showColumnFilters: an,
|
|
62934
62928
|
showGlobalFilter: yn,
|
|
@@ -62953,8 +62947,8 @@ const Yte = (e) => {
|
|
|
62953
62947
|
tableOptions: Xe
|
|
62954
62948
|
}), En.current = Xe.columns, Xe.data = Kt(() => (Xe.state.isLoading || Xe.state.showSkeletons) && !Xe.data.length ? [
|
|
62955
62949
|
...Array(Math.min(Xe.state.pagination.pageSize, 20)).fill(null)
|
|
62956
|
-
].map(() => Object.assign({}, ...Jd(Xe.columns).map((
|
|
62957
|
-
[Ss(
|
|
62950
|
+
].map(() => Object.assign({}, ...Jd(Xe.columns).map((Et) => ({
|
|
62951
|
+
[Ss(Et)]: null
|
|
62958
62952
|
})))) : Xe.data, [
|
|
62959
62953
|
Xe.data,
|
|
62960
62954
|
Xe.state.isLoading,
|
|
@@ -62979,10 +62973,10 @@ const Yte = (e) => {
|
|
|
62979
62973
|
tableHeadRef: oe,
|
|
62980
62974
|
tablePaperRef: J,
|
|
62981
62975
|
topToolbarRef: ie
|
|
62982
|
-
}, Dt.setActionCell = (w = Xe.onActionCellChange) !== null && w !== void 0 ? w : Q, Dt.setCreatingRow = (
|
|
62976
|
+
}, Dt.setActionCell = (w = Xe.onActionCellChange) !== null && w !== void 0 ? w : Q, Dt.setCreatingRow = (Et) => {
|
|
62983
62977
|
var nn, Y;
|
|
62984
|
-
let we =
|
|
62985
|
-
|
|
62978
|
+
let we = Et;
|
|
62979
|
+
Et === !0 && (we = Fte(Dt)), (Y = (nn = Xe == null ? void 0 : Xe.onCreatingRowChange) === null || nn === void 0 ? void 0 : nn.call(Xe, we)) !== null && Y !== void 0 || pe(we);
|
|
62986
62980
|
}, Dt.setColumnFilterFns = (R = Xe.onColumnFilterFnsChange) !== null && R !== void 0 ? R : me, Dt.setDensity = (M = Xe.onDensityChange) !== null && M !== void 0 ? M : We, Dt.setDraggingColumn = (O = Xe.onDraggingColumnChange) !== null && O !== void 0 ? O : Pe, Dt.setDraggingRow = (k = Xe.onDraggingRowChange) !== null && k !== void 0 ? k : ue, Dt.setEditingCell = (E = Xe.onEditingCellChange) !== null && E !== void 0 ? E : Te, Dt.setEditingRow = (I = Xe.onEditingRowChange) !== null && I !== void 0 ? I : Ye, Dt.setGlobalFilterFn = (_ = Xe.onGlobalFilterFnChange) !== null && _ !== void 0 ? _ : Le, Dt.setHoveredColumn = (A = Xe.onHoveredColumnChange) !== null && A !== void 0 ? A : $e, Dt.setHoveredRow = (L = Xe.onHoveredRowChange) !== null && L !== void 0 ? L : at, Dt.setIsFullScreen = (D = Xe.onIsFullScreenChange) !== null && D !== void 0 ? D : Ht, Dt.setShowAlertBanner = (F = Xe.onShowAlertBannerChange) !== null && F !== void 0 ? F : xn, Dt.setShowColumnFilters = ($ = Xe.onShowColumnFiltersChange) !== null && $ !== void 0 ? $ : eo, Dt.setShowGlobalFilter = (V = Xe.onShowGlobalFilterChange) !== null && V !== void 0 ? V : tn, Dt.setShowToolbarDropZone = (B = Xe.onShowToolbarDropZoneChange) !== null && B !== void 0 ? B : ln, fne(Dt), Dt;
|
|
62987
62981
|
}, gne = (e) => hne(une(e)), ex = (e, t) => {
|
|
62988
62982
|
const n = w9(e);
|
|
@@ -63153,7 +63147,7 @@ const Yte = (e) => {
|
|
|
63153
63147
|
row: G,
|
|
63154
63148
|
table: f
|
|
63155
63149
|
}), [j, K] = Ge(100);
|
|
63156
|
-
|
|
63150
|
+
Ot(() => {
|
|
63157
63151
|
if (!X && !H || j !== 100)
|
|
63158
63152
|
return;
|
|
63159
63153
|
const Pe = q.getSize();
|
|
@@ -63602,7 +63596,7 @@ const Yte = (e) => {
|
|
|
63602
63596
|
}, Ke = (ge) => {
|
|
63603
63597
|
ee(ge.currentTarget);
|
|
63604
63598
|
}, Ye = zt(!1);
|
|
63605
|
-
if (
|
|
63599
|
+
if (Ot(() => {
|
|
63606
63600
|
if (Ye.current) {
|
|
63607
63601
|
const ge = $.getFilterValue();
|
|
63608
63602
|
ge === void 0 ? se() : xe(j && C !== void 0 ? ge[C] : ge);
|
|
@@ -63679,7 +63673,7 @@ const Yte = (e) => {
|
|
|
63679
63673
|
let [b, v] = m.min !== void 0 && m.max !== void 0 ? [m.min, m.max] : (t = u.getFacetedMinMaxValues()) !== null && t !== void 0 ? t : [0, 1];
|
|
63680
63674
|
Array.isArray(b) && (b = b[0]), Array.isArray(v) && (v = v[0]), b === null && (b = 0), v === null && (v = 1);
|
|
63681
63675
|
const [x, C] = Ge([b, v]), S = u.getFilterValue(), P = zt(!1);
|
|
63682
|
-
return
|
|
63676
|
+
return Ot(() => {
|
|
63683
63677
|
P.current && (S === void 0 ? C([b, v]) : Array.isArray(S) && C(S)), P.current = !0;
|
|
63684
63678
|
}, [S, b, v]), p.jsxs(ye, { children: [p.jsx(v7, Object.assign({ disableSwap: !0, max: v, min: b, onChange: (w, R) => {
|
|
63685
63679
|
C(R);
|
|
@@ -66098,7 +66092,7 @@ const Ooe = (e) => {
|
|
|
66098
66092
|
notExpandedSize: f = "80px",
|
|
66099
66093
|
expandedSize: h = "280px"
|
|
66100
66094
|
} = a, [g, m] = Ge(u);
|
|
66101
|
-
return
|
|
66095
|
+
return Ot(() => {
|
|
66102
66096
|
d(g);
|
|
66103
66097
|
}, [g, d]), /* @__PURE__ */ p.jsx(
|
|
66104
66098
|
te,
|
|
@@ -66284,7 +66278,7 @@ const kse = (e) => /* @__PURE__ */ p.jsx(te, { sx: { minWidth: 205 }, children:
|
|
|
66284
66278
|
const { tabs: t, value: n, renderComponents: o, ...r } = e, [i, a] = Ge(0), l = Me(), c = (d, u) => {
|
|
66285
66279
|
a(u);
|
|
66286
66280
|
};
|
|
66287
|
-
return
|
|
66281
|
+
return Ot(() => {
|
|
66288
66282
|
a(n ?? 0);
|
|
66289
66283
|
}, [n]), /* @__PURE__ */ p.jsxs(te, { sx: { width: "100%" }, ...r, children: [
|
|
66290
66284
|
/* @__PURE__ */ p.jsx(te, { children: /* @__PURE__ */ p.jsx(
|