@espresso-lab/mantine-data-table 2.0.2 → 2.0.3
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.es.js +186 -186
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -818,14 +818,14 @@ function Ko() {
|
|
|
818
818
|
case F:
|
|
819
819
|
return (u._context.displayName || "Context") + ".Consumer";
|
|
820
820
|
case A:
|
|
821
|
-
var
|
|
822
|
-
return u = u.displayName, u || (u =
|
|
821
|
+
var w = u.render;
|
|
822
|
+
return u = u.displayName, u || (u = w.displayName || w.name || "", u = u !== "" ? "ForwardRef(" + u + ")" : "ForwardRef"), u;
|
|
823
823
|
case O:
|
|
824
|
-
return
|
|
824
|
+
return w = u.displayName || null, w !== null ? w : t(u.type) || "Memo";
|
|
825
825
|
case _:
|
|
826
|
-
|
|
826
|
+
w = u._payload, u = u._init;
|
|
827
827
|
try {
|
|
828
|
-
return t(u(
|
|
828
|
+
return t(u(w));
|
|
829
829
|
} catch {
|
|
830
830
|
}
|
|
831
831
|
}
|
|
@@ -837,15 +837,15 @@ function Ko() {
|
|
|
837
837
|
function r(u) {
|
|
838
838
|
try {
|
|
839
839
|
e(u);
|
|
840
|
-
var
|
|
840
|
+
var w = !1;
|
|
841
841
|
} catch {
|
|
842
|
-
|
|
842
|
+
w = !0;
|
|
843
843
|
}
|
|
844
|
-
if (
|
|
845
|
-
|
|
846
|
-
var
|
|
847
|
-
return
|
|
848
|
-
|
|
844
|
+
if (w) {
|
|
845
|
+
w = console;
|
|
846
|
+
var C = w.error, W = typeof Symbol == "function" && Symbol.toStringTag && u[Symbol.toStringTag] || u.constructor.name || "Object";
|
|
847
|
+
return C.call(
|
|
848
|
+
w,
|
|
849
849
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
850
850
|
W
|
|
851
851
|
), e(u);
|
|
@@ -856,8 +856,8 @@ function Ko() {
|
|
|
856
856
|
if (typeof u == "object" && u !== null && u.$$typeof === _)
|
|
857
857
|
return "<...>";
|
|
858
858
|
try {
|
|
859
|
-
var
|
|
860
|
-
return
|
|
859
|
+
var w = t(u);
|
|
860
|
+
return w ? "<" + w + ">" : "<...>";
|
|
861
861
|
} catch {
|
|
862
862
|
return "<...>";
|
|
863
863
|
}
|
|
@@ -871,20 +871,20 @@ function Ko() {
|
|
|
871
871
|
}
|
|
872
872
|
function i(u) {
|
|
873
873
|
if (R.call(u, "key")) {
|
|
874
|
-
var
|
|
875
|
-
if (
|
|
874
|
+
var w = Object.getOwnPropertyDescriptor(u, "key").get;
|
|
875
|
+
if (w && w.isReactWarning) return !1;
|
|
876
876
|
}
|
|
877
877
|
return u.key !== void 0;
|
|
878
878
|
}
|
|
879
|
-
function a(u,
|
|
880
|
-
function
|
|
879
|
+
function a(u, w) {
|
|
880
|
+
function C() {
|
|
881
881
|
y || (y = !0, console.error(
|
|
882
882
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
883
|
-
|
|
883
|
+
w
|
|
884
884
|
));
|
|
885
885
|
}
|
|
886
|
-
|
|
887
|
-
get:
|
|
886
|
+
C.isReactWarning = !0, Object.defineProperty(u, "key", {
|
|
887
|
+
get: C,
|
|
888
888
|
configurable: !0
|
|
889
889
|
});
|
|
890
890
|
}
|
|
@@ -894,13 +894,13 @@ function Ko() {
|
|
|
894
894
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
895
895
|
)), u = this.props.ref, u !== void 0 ? u : null;
|
|
896
896
|
}
|
|
897
|
-
function d(u,
|
|
898
|
-
var B =
|
|
897
|
+
function d(u, w, C, W, V, q) {
|
|
898
|
+
var B = C.ref;
|
|
899
899
|
return u = {
|
|
900
900
|
$$typeof: b,
|
|
901
901
|
type: u,
|
|
902
|
-
key:
|
|
903
|
-
props:
|
|
902
|
+
key: w,
|
|
903
|
+
props: C,
|
|
904
904
|
_owner: W
|
|
905
905
|
}, (B !== void 0 ? B : null) !== null ? Object.defineProperty(u, "ref", {
|
|
906
906
|
enumerable: !1,
|
|
@@ -927,8 +927,8 @@ function Ko() {
|
|
|
927
927
|
value: q
|
|
928
928
|
}), Object.freeze && (Object.freeze(u.props), Object.freeze(u)), u;
|
|
929
929
|
}
|
|
930
|
-
function h(u,
|
|
931
|
-
var B =
|
|
930
|
+
function h(u, w, C, W, V, q) {
|
|
931
|
+
var B = w.children;
|
|
932
932
|
if (B !== void 0)
|
|
933
933
|
if (W)
|
|
934
934
|
if (S(B)) {
|
|
@@ -940,9 +940,9 @@ function Ko() {
|
|
|
940
940
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
941
941
|
);
|
|
942
942
|
else p(B);
|
|
943
|
-
if (R.call(
|
|
943
|
+
if (R.call(w, "key")) {
|
|
944
944
|
B = t(u);
|
|
945
|
-
var U = Object.keys(
|
|
945
|
+
var U = Object.keys(w).filter(function(H) {
|
|
946
946
|
return H !== "key";
|
|
947
947
|
});
|
|
948
948
|
W = 0 < U.length ? "{key: someKey, " + U.join(": ..., ") + ": ...}" : "{key: someKey}", P[B + W] || (U = 0 < U.length ? "{" + U.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
@@ -958,18 +958,18 @@ React keys must be passed directly to JSX without using spread:
|
|
|
958
958
|
B
|
|
959
959
|
), P[B + W] = !0);
|
|
960
960
|
}
|
|
961
|
-
if (B = null,
|
|
962
|
-
|
|
963
|
-
for (var Q in
|
|
964
|
-
Q !== "key" && (
|
|
965
|
-
} else
|
|
961
|
+
if (B = null, C !== void 0 && (r(C), B = "" + C), i(w) && (r(w.key), B = "" + w.key), "key" in w) {
|
|
962
|
+
C = {};
|
|
963
|
+
for (var Q in w)
|
|
964
|
+
Q !== "key" && (C[Q] = w[Q]);
|
|
965
|
+
} else C = w;
|
|
966
966
|
return B && a(
|
|
967
|
-
|
|
967
|
+
C,
|
|
968
968
|
typeof u == "function" ? u.displayName || u.name || "Unknown" : u
|
|
969
969
|
), d(
|
|
970
970
|
u,
|
|
971
971
|
B,
|
|
972
|
-
|
|
972
|
+
C,
|
|
973
973
|
s(),
|
|
974
974
|
V,
|
|
975
975
|
q
|
|
@@ -993,22 +993,22 @@ React keys must be passed directly to JSX without using spread:
|
|
|
993
993
|
m,
|
|
994
994
|
l
|
|
995
995
|
)(), x = g(n(l)), P = {};
|
|
996
|
-
Kt.Fragment = E, Kt.jsx = function(u,
|
|
996
|
+
Kt.Fragment = E, Kt.jsx = function(u, w, C) {
|
|
997
997
|
var W = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
998
998
|
return h(
|
|
999
999
|
u,
|
|
1000
|
-
C,
|
|
1001
1000
|
w,
|
|
1001
|
+
C,
|
|
1002
1002
|
!1,
|
|
1003
1003
|
W ? Error("react-stack-top-frame") : v,
|
|
1004
1004
|
W ? g(n(u)) : x
|
|
1005
1005
|
);
|
|
1006
|
-
}, Kt.jsxs = function(u,
|
|
1006
|
+
}, Kt.jsxs = function(u, w, C) {
|
|
1007
1007
|
var W = 1e4 > I.recentlyCreatedOwnerStacks++;
|
|
1008
1008
|
return h(
|
|
1009
1009
|
u,
|
|
1010
|
-
C,
|
|
1011
1010
|
w,
|
|
1011
|
+
C,
|
|
1012
1012
|
!0,
|
|
1013
1013
|
W ? Error("react-stack-top-frame") : v,
|
|
1014
1014
|
W ? g(n(u)) : x
|
|
@@ -1448,8 +1448,8 @@ function Ma() {
|
|
|
1448
1448
|
if (typeof v == "string" && !/Z$/i.test(v)) {
|
|
1449
1449
|
var P = v.match(E);
|
|
1450
1450
|
if (P) {
|
|
1451
|
-
var u = P[2] - 1 || 0,
|
|
1452
|
-
return x ? new Date(Date.UTC(P[1], u, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0,
|
|
1451
|
+
var u = P[2] - 1 || 0, w = (P[7] || "0").substring(0, 3);
|
|
1452
|
+
return x ? new Date(Date.UTC(P[1], u, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, w)) : new Date(P[1], u, P[3] || 1, P[4] || 0, P[5] || 0, P[6] || 0, w);
|
|
1453
1453
|
}
|
|
1454
1454
|
}
|
|
1455
1455
|
return new Date(v);
|
|
@@ -1478,37 +1478,37 @@ function Ma() {
|
|
|
1478
1478
|
var v = this, x = !!T.u(j) || j, P = T.p(y), u = function(Q, H) {
|
|
1479
1479
|
var X = T.w(v.$u ? Date.UTC(v.$y, H, Q) : new Date(v.$y, H, Q), v);
|
|
1480
1480
|
return x ? X : X.endOf(d);
|
|
1481
|
-
},
|
|
1481
|
+
}, w = function(Q, H) {
|
|
1482
1482
|
return T.w(v.toDate()[Q].apply(v.toDate("s"), (x ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(H)), v);
|
|
1483
|
-
},
|
|
1483
|
+
}, C = this.$W, W = this.$M, V = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
1484
1484
|
switch (P) {
|
|
1485
1485
|
case m:
|
|
1486
1486
|
return x ? u(1, 0) : u(31, 11);
|
|
1487
1487
|
case p:
|
|
1488
1488
|
return x ? u(1, W) : u(0, W + 1);
|
|
1489
1489
|
case h:
|
|
1490
|
-
var B = this.$locale().weekStart || 0, U = (
|
|
1490
|
+
var B = this.$locale().weekStart || 0, U = (C < B ? C + 7 : C) - B;
|
|
1491
1491
|
return u(x ? V - U : V + (6 - U), W);
|
|
1492
1492
|
case d:
|
|
1493
1493
|
case b:
|
|
1494
|
-
return
|
|
1494
|
+
return w(q + "Hours", 0);
|
|
1495
1495
|
case c:
|
|
1496
|
-
return
|
|
1496
|
+
return w(q + "Minutes", 1);
|
|
1497
1497
|
case a:
|
|
1498
|
-
return
|
|
1498
|
+
return w(q + "Seconds", 2);
|
|
1499
1499
|
case i:
|
|
1500
|
-
return
|
|
1500
|
+
return w(q + "Milliseconds", 3);
|
|
1501
1501
|
default:
|
|
1502
1502
|
return this.clone();
|
|
1503
1503
|
}
|
|
1504
1504
|
}, g.endOf = function(y) {
|
|
1505
1505
|
return this.startOf(y, !1);
|
|
1506
1506
|
}, g.$set = function(y, j) {
|
|
1507
|
-
var v, x = T.p(y), P = "set" + (this.$u ? "UTC" : ""), u = (v = {}, v[d] = P + "Date", v[b] = P + "Date", v[p] = P + "Month", v[m] = P + "FullYear", v[c] = P + "Hours", v[a] = P + "Minutes", v[i] = P + "Seconds", v[l] = P + "Milliseconds", v)[x],
|
|
1507
|
+
var v, x = T.p(y), P = "set" + (this.$u ? "UTC" : ""), u = (v = {}, v[d] = P + "Date", v[b] = P + "Date", v[p] = P + "Month", v[m] = P + "FullYear", v[c] = P + "Hours", v[a] = P + "Minutes", v[i] = P + "Seconds", v[l] = P + "Milliseconds", v)[x], w = x === d ? this.$D + (j - this.$W) : j;
|
|
1508
1508
|
if (x === p || x === m) {
|
|
1509
|
-
var
|
|
1510
|
-
|
|
1511
|
-
} else u && this.$d[u](
|
|
1509
|
+
var C = this.clone().set(b, 1);
|
|
1510
|
+
C.$d[u](w), C.init(), this.$d = C.set(b, Math.min(this.$D, C.daysInMonth())).$d;
|
|
1511
|
+
} else u && this.$d[u](w);
|
|
1512
1512
|
return this.init(), this;
|
|
1513
1513
|
}, g.set = function(y, j) {
|
|
1514
1514
|
return this.clone().$set(y, j);
|
|
@@ -1525,14 +1525,14 @@ function Ma() {
|
|
|
1525
1525
|
if (P === m) return this.set(m, this.$y + y);
|
|
1526
1526
|
if (P === d) return u(1);
|
|
1527
1527
|
if (P === h) return u(7);
|
|
1528
|
-
var
|
|
1529
|
-
return T.w(
|
|
1528
|
+
var w = (v = {}, v[a] = n, v[c] = s, v[i] = r, v)[P] || 1, C = this.$d.getTime() + y * w;
|
|
1529
|
+
return T.w(C, this);
|
|
1530
1530
|
}, g.subtract = function(y, j) {
|
|
1531
1531
|
return this.add(-1 * y, j);
|
|
1532
1532
|
}, g.format = function(y) {
|
|
1533
1533
|
var j = this, v = this.$locale();
|
|
1534
1534
|
if (!this.isValid()) return v.invalidDate || D;
|
|
1535
|
-
var x = y || "YYYY-MM-DDTHH:mm:ssZ", P = T.z(this), u = this.$H,
|
|
1535
|
+
var x = y || "YYYY-MM-DDTHH:mm:ssZ", P = T.z(this), u = this.$H, w = this.$m, C = this.$M, W = v.weekdays, V = v.months, q = v.meridiem, B = function(H, X, J, ee) {
|
|
1536
1536
|
return H && (H[X] || H(j, x)) || J[X].slice(0, ee);
|
|
1537
1537
|
}, U = function(H) {
|
|
1538
1538
|
return T.s(u % 12 || 12, H, "0");
|
|
@@ -1548,13 +1548,13 @@ function Ma() {
|
|
|
1548
1548
|
case "YYYY":
|
|
1549
1549
|
return T.s(j.$y, 4, "0");
|
|
1550
1550
|
case "M":
|
|
1551
|
-
return
|
|
1551
|
+
return C + 1;
|
|
1552
1552
|
case "MM":
|
|
1553
|
-
return T.s(
|
|
1553
|
+
return T.s(C + 1, 2, "0");
|
|
1554
1554
|
case "MMM":
|
|
1555
|
-
return B(v.monthsShort,
|
|
1555
|
+
return B(v.monthsShort, C, V, 3);
|
|
1556
1556
|
case "MMMM":
|
|
1557
|
-
return B(V,
|
|
1557
|
+
return B(V, C);
|
|
1558
1558
|
case "D":
|
|
1559
1559
|
return j.$D;
|
|
1560
1560
|
case "DD":
|
|
@@ -1576,13 +1576,13 @@ function Ma() {
|
|
|
1576
1576
|
case "hh":
|
|
1577
1577
|
return U(2);
|
|
1578
1578
|
case "a":
|
|
1579
|
-
return Q(u,
|
|
1579
|
+
return Q(u, w, !0);
|
|
1580
1580
|
case "A":
|
|
1581
|
-
return Q(u,
|
|
1581
|
+
return Q(u, w, !1);
|
|
1582
1582
|
case "m":
|
|
1583
|
-
return String(
|
|
1583
|
+
return String(w);
|
|
1584
1584
|
case "mm":
|
|
1585
|
-
return T.s(
|
|
1585
|
+
return T.s(w, 2, "0");
|
|
1586
1586
|
case "s":
|
|
1587
1587
|
return String(j.$s);
|
|
1588
1588
|
case "ss":
|
|
@@ -1598,8 +1598,8 @@ function Ma() {
|
|
|
1598
1598
|
}, g.utcOffset = function() {
|
|
1599
1599
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1600
1600
|
}, g.diff = function(y, j, v) {
|
|
1601
|
-
var x, P = this, u = T.p(j),
|
|
1602
|
-
return T.m(P,
|
|
1601
|
+
var x, P = this, u = T.p(j), w = k(y), C = (w.utcOffset() - this.utcOffset()) * n, W = this - w, V = function() {
|
|
1602
|
+
return T.m(P, w);
|
|
1603
1603
|
};
|
|
1604
1604
|
switch (u) {
|
|
1605
1605
|
case m:
|
|
@@ -1612,10 +1612,10 @@ function Ma() {
|
|
|
1612
1612
|
x = V() / 3;
|
|
1613
1613
|
break;
|
|
1614
1614
|
case h:
|
|
1615
|
-
x = (W -
|
|
1615
|
+
x = (W - C) / 6048e5;
|
|
1616
1616
|
break;
|
|
1617
1617
|
case d:
|
|
1618
|
-
x = (W -
|
|
1618
|
+
x = (W - C) / 864e5;
|
|
1619
1619
|
break;
|
|
1620
1620
|
case c:
|
|
1621
1621
|
x = W / s;
|
|
@@ -2127,12 +2127,12 @@ const Ga = {
|
|
|
2127
2127
|
vars: c,
|
|
2128
2128
|
varsResolver: Ka,
|
|
2129
2129
|
rootSelector: "month"
|
|
2130
|
-
}), u = Dt(),
|
|
2130
|
+
}), u = Dt(), w = za({
|
|
2131
2131
|
month: m,
|
|
2132
2132
|
firstDayOfWeek: u.getFirstDayOfWeek(p),
|
|
2133
2133
|
consistentWeeks: u.consistentWeeks
|
|
2134
|
-
}),
|
|
2135
|
-
dates:
|
|
2134
|
+
}), C = Va({
|
|
2135
|
+
dates: w,
|
|
2136
2136
|
minDate: Qe($),
|
|
2137
2137
|
maxDate: Qe(Y),
|
|
2138
2138
|
getDayProps: D,
|
|
@@ -2143,9 +2143,9 @@ const Ga = {
|
|
|
2143
2143
|
classNames: n,
|
|
2144
2144
|
styles: i,
|
|
2145
2145
|
props: r
|
|
2146
|
-
}), q =
|
|
2146
|
+
}), q = w.map((B, U) => {
|
|
2147
2147
|
const Q = B.map((H, X) => {
|
|
2148
|
-
const J = !fn(H, m), ee = N?.(H) || z(H).locale(h || u.locale).format("D MMMM YYYY"), ae = D?.(H), de = z(H).isSame(
|
|
2148
|
+
const J = !fn(H, m), ee = N?.(H) || z(H).locale(h || u.locale).format("D MMMM YYYY"), ae = D?.(H), de = z(H).isSame(C, "date");
|
|
2149
2149
|
return /* @__PURE__ */ o.jsx(
|
|
2150
2150
|
"td",
|
|
2151
2151
|
{
|
|
@@ -2362,21 +2362,21 @@ const Xa = {
|
|
|
2362
2362
|
unstyled: a,
|
|
2363
2363
|
"data-mantine-stop-propagation": A || void 0,
|
|
2364
2364
|
disabled: $s({ year: v, minDate: f, maxDate: m }),
|
|
2365
|
-
ref: (
|
|
2366
|
-
|
|
2365
|
+
ref: (w) => {
|
|
2366
|
+
w && E?.(y, x, w);
|
|
2367
2367
|
},
|
|
2368
2368
|
...P,
|
|
2369
|
-
onKeyDown: (
|
|
2370
|
-
P?.onKeyDown?.(
|
|
2369
|
+
onKeyDown: (w) => {
|
|
2370
|
+
P?.onKeyDown?.(w), $?.(w, { rowIndex: y, cellIndex: x, date: v });
|
|
2371
2371
|
},
|
|
2372
|
-
onClick: (
|
|
2373
|
-
P?.onClick?.(
|
|
2372
|
+
onClick: (w) => {
|
|
2373
|
+
P?.onClick?.(w), Y?.(w, v);
|
|
2374
2374
|
},
|
|
2375
|
-
onMouseEnter: (
|
|
2376
|
-
P?.onMouseEnter?.(
|
|
2375
|
+
onMouseEnter: (w) => {
|
|
2376
|
+
P?.onMouseEnter?.(w), F?.(w, v);
|
|
2377
2377
|
},
|
|
2378
|
-
onMouseDown: (
|
|
2379
|
-
P?.onMouseDown?.(
|
|
2378
|
+
onMouseDown: (w) => {
|
|
2379
|
+
P?.onMouseDown?.(w), L && w.preventDefault();
|
|
2380
2380
|
},
|
|
2381
2381
|
tabIndex: L || !u ? -1 : 0,
|
|
2382
2382
|
children: P?.children ?? z(v).locale(T.getLocale(p)).format(h)
|
|
@@ -2484,21 +2484,21 @@ const ri = {
|
|
|
2484
2484
|
minDate: Qe(m),
|
|
2485
2485
|
maxDate: Qe(b)
|
|
2486
2486
|
}),
|
|
2487
|
-
ref: (
|
|
2488
|
-
|
|
2487
|
+
ref: (w) => {
|
|
2488
|
+
w && E?.(y, x, w);
|
|
2489
2489
|
},
|
|
2490
2490
|
...P,
|
|
2491
|
-
onKeyDown: (
|
|
2492
|
-
P?.onKeyDown?.(
|
|
2491
|
+
onKeyDown: (w) => {
|
|
2492
|
+
P?.onKeyDown?.(w), $?.(w, { rowIndex: y, cellIndex: x, date: v });
|
|
2493
2493
|
},
|
|
2494
|
-
onClick: (
|
|
2495
|
-
P?.onClick?.(
|
|
2494
|
+
onClick: (w) => {
|
|
2495
|
+
P?.onClick?.(w), Y?.(w, v);
|
|
2496
2496
|
},
|
|
2497
|
-
onMouseEnter: (
|
|
2498
|
-
P?.onMouseEnter?.(
|
|
2497
|
+
onMouseEnter: (w) => {
|
|
2498
|
+
P?.onMouseEnter?.(w), F?.(w, v);
|
|
2499
2499
|
},
|
|
2500
|
-
onMouseDown: (
|
|
2501
|
-
P?.onMouseDown?.(
|
|
2500
|
+
onMouseDown: (w) => {
|
|
2501
|
+
P?.onMouseDown?.(w), L && w.preventDefault();
|
|
2502
2502
|
},
|
|
2503
2503
|
tabIndex: L || !u ? -1 : 0,
|
|
2504
2504
|
children: P?.children ?? z(v).locale(T.getLocale(f)).format(p)
|
|
@@ -2677,20 +2677,20 @@ const ai = {
|
|
|
2677
2677
|
size: j,
|
|
2678
2678
|
attributes: v,
|
|
2679
2679
|
...x
|
|
2680
|
-
} = r, P = Dt(), [u,
|
|
2680
|
+
} = r, P = Dt(), [u, w] = oi(n), C = {
|
|
2681
2681
|
__staticSelector: g || "DecadeLevel",
|
|
2682
2682
|
classNames: I,
|
|
2683
2683
|
styles: R,
|
|
2684
2684
|
unstyled: S,
|
|
2685
2685
|
size: j,
|
|
2686
2686
|
attributes: v
|
|
2687
|
-
}, W = typeof A == "boolean" ? A : i ? !z(
|
|
2687
|
+
}, W = typeof A == "boolean" ? A : i ? !z(w).endOf("year").isBefore(i) : !1, V = typeof N == "boolean" ? N : l ? !z(u).startOf("year").isAfter(l) : !1, q = (B, U) => z(B).locale(s || P.locale).format(U);
|
|
2688
2688
|
return /* @__PURE__ */ o.jsxs(ue, { "data-decade-level": !0, size: j, ref: e, ...x, children: [
|
|
2689
2689
|
/* @__PURE__ */ o.jsx(
|
|
2690
2690
|
_t,
|
|
2691
2691
|
{
|
|
2692
|
-
label: typeof T == "function" ? T(u,
|
|
2693
|
-
|
|
2692
|
+
label: typeof T == "function" ? T(u, w) : `${q(u, T)} – ${q(
|
|
2693
|
+
w,
|
|
2694
2694
|
T
|
|
2695
2695
|
)}`,
|
|
2696
2696
|
__preventFocus: b,
|
|
@@ -2708,7 +2708,7 @@ const ai = {
|
|
|
2708
2708
|
withNext: O,
|
|
2709
2709
|
withPrevious: _,
|
|
2710
2710
|
headerControlsOrder: k,
|
|
2711
|
-
...
|
|
2711
|
+
...C
|
|
2712
2712
|
}
|
|
2713
2713
|
),
|
|
2714
2714
|
/* @__PURE__ */ o.jsx(
|
|
@@ -2727,7 +2727,7 @@ const ai = {
|
|
|
2727
2727
|
__preventFocus: b,
|
|
2728
2728
|
__stopPropagation: y,
|
|
2729
2729
|
withCellSpacing: m,
|
|
2730
|
-
...
|
|
2730
|
+
...C
|
|
2731
2731
|
}
|
|
2732
2732
|
)
|
|
2733
2733
|
] });
|
|
@@ -2776,7 +2776,7 @@ const ii = {
|
|
|
2776
2776
|
unstyled: x,
|
|
2777
2777
|
attributes: P,
|
|
2778
2778
|
...u
|
|
2779
|
-
} = r,
|
|
2779
|
+
} = r, w = Dt(), C = {
|
|
2780
2780
|
__staticSelector: S || "YearLevel",
|
|
2781
2781
|
classNames: j,
|
|
2782
2782
|
styles: v,
|
|
@@ -2788,7 +2788,7 @@ const ii = {
|
|
|
2788
2788
|
/* @__PURE__ */ o.jsx(
|
|
2789
2789
|
_t,
|
|
2790
2790
|
{
|
|
2791
|
-
label: typeof R == "function" ? R(n) : z(n).locale(s ||
|
|
2791
|
+
label: typeof R == "function" ? R(n) : z(n).locale(s || w.locale).format(R),
|
|
2792
2792
|
__preventFocus: b,
|
|
2793
2793
|
__stopPropagation: g,
|
|
2794
2794
|
nextIcon: D,
|
|
@@ -2805,7 +2805,7 @@ const ii = {
|
|
|
2805
2805
|
withNext: k,
|
|
2806
2806
|
withPrevious: T,
|
|
2807
2807
|
headerControlsOrder: I,
|
|
2808
|
-
...
|
|
2808
|
+
...C
|
|
2809
2809
|
}
|
|
2810
2810
|
),
|
|
2811
2811
|
/* @__PURE__ */ o.jsx(
|
|
@@ -2824,7 +2824,7 @@ const ii = {
|
|
|
2824
2824
|
__preventFocus: b,
|
|
2825
2825
|
__stopPropagation: g,
|
|
2826
2826
|
withCellSpacing: m,
|
|
2827
|
-
...
|
|
2827
|
+
...C
|
|
2828
2828
|
}
|
|
2829
2829
|
)
|
|
2830
2830
|
] });
|
|
@@ -2872,9 +2872,9 @@ const li = {
|
|
|
2872
2872
|
levelControlAriaLabel: x,
|
|
2873
2873
|
withNext: P,
|
|
2874
2874
|
withPrevious: u,
|
|
2875
|
-
headerControlsOrder:
|
|
2875
|
+
headerControlsOrder: w,
|
|
2876
2876
|
// Other props
|
|
2877
|
-
monthLabelFormat:
|
|
2877
|
+
monthLabelFormat: C,
|
|
2878
2878
|
classNames: W,
|
|
2879
2879
|
styles: V,
|
|
2880
2880
|
unstyled: q,
|
|
@@ -2895,7 +2895,7 @@ const li = {
|
|
|
2895
2895
|
/* @__PURE__ */ o.jsx(
|
|
2896
2896
|
_t,
|
|
2897
2897
|
{
|
|
2898
|
-
label: typeof
|
|
2898
|
+
label: typeof C == "function" ? C(n) : z(n).locale(s || J.locale).format(C),
|
|
2899
2899
|
__preventFocus: M,
|
|
2900
2900
|
__stopPropagation: O,
|
|
2901
2901
|
nextIcon: _,
|
|
@@ -2911,7 +2911,7 @@ const li = {
|
|
|
2911
2911
|
levelControlAriaLabel: x,
|
|
2912
2912
|
withNext: P,
|
|
2913
2913
|
withPrevious: u,
|
|
2914
|
-
headerControlsOrder:
|
|
2914
|
+
headerControlsOrder: w,
|
|
2915
2915
|
...ee
|
|
2916
2916
|
}
|
|
2917
2917
|
),
|
|
@@ -3016,29 +3016,29 @@ const ci = {
|
|
|
3016
3016
|
attributes: y,
|
|
3017
3017
|
...j
|
|
3018
3018
|
} = r, v = ie([]), x = Array(T).fill(0).map((P, u) => {
|
|
3019
|
-
const
|
|
3019
|
+
const w = z(n).add(u * 10, "years").format("YYYY-MM-DD");
|
|
3020
3020
|
return /* @__PURE__ */ o.jsx(
|
|
3021
3021
|
Pr,
|
|
3022
3022
|
{
|
|
3023
3023
|
size: S,
|
|
3024
3024
|
yearsListFormat: a,
|
|
3025
|
-
decade:
|
|
3025
|
+
decade: w,
|
|
3026
3026
|
withNext: u === T - 1,
|
|
3027
3027
|
withPrevious: u === 0,
|
|
3028
3028
|
decadeLabelFormat: R,
|
|
3029
3029
|
__onControlClick: d,
|
|
3030
3030
|
__onControlMouseEnter: h,
|
|
3031
|
-
__onControlKeyDown: (
|
|
3031
|
+
__onControlKeyDown: (C, W) => un({
|
|
3032
3032
|
levelIndex: u,
|
|
3033
3033
|
rowIndex: W.rowIndex,
|
|
3034
3034
|
cellIndex: W.cellIndex,
|
|
3035
|
-
event:
|
|
3035
|
+
event: C,
|
|
3036
3036
|
controlsRef: v
|
|
3037
3037
|
}),
|
|
3038
|
-
__getControlRef: (
|
|
3039
|
-
Array.isArray(v.current[u]) || (v.current[u] = []), Array.isArray(v.current[u][
|
|
3038
|
+
__getControlRef: (C, W, V) => {
|
|
3039
|
+
Array.isArray(v.current[u]) || (v.current[u] = []), Array.isArray(v.current[u][C]) || (v.current[u][C] = []), v.current[u][C][W] = V;
|
|
3040
3040
|
},
|
|
3041
|
-
levelControlAriaLabel: typeof I == "function" ? I(
|
|
3041
|
+
levelControlAriaLabel: typeof I == "function" ? I(w) : I,
|
|
3042
3042
|
locale: s,
|
|
3043
3043
|
minDate: l,
|
|
3044
3044
|
maxDate: i,
|
|
@@ -3121,29 +3121,29 @@ const ui = {
|
|
|
3121
3121
|
vars: j,
|
|
3122
3122
|
attributes: v,
|
|
3123
3123
|
...x
|
|
3124
|
-
} = r, P = ie([]), u = Array(R).fill(0).map((
|
|
3125
|
-
const W = z(n).add(
|
|
3124
|
+
} = r, P = ie([]), u = Array(R).fill(0).map((w, C) => {
|
|
3125
|
+
const W = z(n).add(C, "years").format("YYYY-MM-DD");
|
|
3126
3126
|
return /* @__PURE__ */ o.jsx(
|
|
3127
3127
|
Mr,
|
|
3128
3128
|
{
|
|
3129
3129
|
size: y,
|
|
3130
3130
|
monthsListFormat: a,
|
|
3131
3131
|
year: W,
|
|
3132
|
-
withNext:
|
|
3133
|
-
withPrevious:
|
|
3132
|
+
withNext: C === R - 1,
|
|
3133
|
+
withPrevious: C === 0,
|
|
3134
3134
|
yearLabelFormat: g,
|
|
3135
3135
|
__stopPropagation: I,
|
|
3136
3136
|
__onControlClick: d,
|
|
3137
3137
|
__onControlMouseEnter: h,
|
|
3138
3138
|
__onControlKeyDown: (V, q) => un({
|
|
3139
|
-
levelIndex:
|
|
3139
|
+
levelIndex: C,
|
|
3140
3140
|
rowIndex: q.rowIndex,
|
|
3141
3141
|
cellIndex: q.cellIndex,
|
|
3142
3142
|
event: V,
|
|
3143
3143
|
controlsRef: P
|
|
3144
3144
|
}),
|
|
3145
3145
|
__getControlRef: (V, q, B) => {
|
|
3146
|
-
Array.isArray(P.current[
|
|
3146
|
+
Array.isArray(P.current[C]) || (P.current[C] = []), Array.isArray(P.current[C][V]) || (P.current[C][V] = []), P.current[C][V][q] = B;
|
|
3147
3147
|
},
|
|
3148
3148
|
levelControlAriaLabel: typeof S == "function" ? S(W) : S,
|
|
3149
3149
|
locale: s,
|
|
@@ -3169,7 +3169,7 @@ const ui = {
|
|
|
3169
3169
|
headerControlsOrder: M,
|
|
3170
3170
|
attributes: v
|
|
3171
3171
|
},
|
|
3172
|
-
|
|
3172
|
+
C
|
|
3173
3173
|
);
|
|
3174
3174
|
});
|
|
3175
3175
|
return /* @__PURE__ */ o.jsx(
|
|
@@ -3231,8 +3231,8 @@ const di = {
|
|
|
3231
3231
|
unstyled: x,
|
|
3232
3232
|
numberOfColumns: P,
|
|
3233
3233
|
levelControlAriaLabel: u,
|
|
3234
|
-
monthLabelFormat:
|
|
3235
|
-
__staticSelector:
|
|
3234
|
+
monthLabelFormat: w,
|
|
3235
|
+
__staticSelector: C,
|
|
3236
3236
|
__stopPropagation: W,
|
|
3237
3237
|
size: V,
|
|
3238
3238
|
static: q,
|
|
@@ -3247,7 +3247,7 @@ const di = {
|
|
|
3247
3247
|
month: ae,
|
|
3248
3248
|
withNext: ee === P - 1,
|
|
3249
3249
|
withPrevious: ee === 0,
|
|
3250
|
-
monthLabelFormat:
|
|
3250
|
+
monthLabelFormat: w,
|
|
3251
3251
|
__stopPropagation: W,
|
|
3252
3252
|
__onDayClick: E,
|
|
3253
3253
|
__onDayMouseEnter: $,
|
|
@@ -3288,7 +3288,7 @@ const di = {
|
|
|
3288
3288
|
classNames: j,
|
|
3289
3289
|
styles: v,
|
|
3290
3290
|
unstyled: x,
|
|
3291
|
-
__staticSelector:
|
|
3291
|
+
__staticSelector: C || "MonthLevelGroup",
|
|
3292
3292
|
size: V,
|
|
3293
3293
|
static: q,
|
|
3294
3294
|
withCellSpacing: Y,
|
|
@@ -3305,7 +3305,7 @@ const di = {
|
|
|
3305
3305
|
{
|
|
3306
3306
|
classNames: j,
|
|
3307
3307
|
styles: v,
|
|
3308
|
-
__staticSelector:
|
|
3308
|
+
__staticSelector: C || "MonthLevelGroup",
|
|
3309
3309
|
ref: e,
|
|
3310
3310
|
size: V,
|
|
3311
3311
|
attributes: U,
|
|
@@ -3396,8 +3396,8 @@ const fi = {
|
|
|
3396
3396
|
monthLabelFormat: x,
|
|
3397
3397
|
nextIcon: P,
|
|
3398
3398
|
previousIcon: u,
|
|
3399
|
-
__onDayClick:
|
|
3400
|
-
__onDayMouseEnter:
|
|
3399
|
+
__onDayClick: w,
|
|
3400
|
+
__onDayMouseEnter: C,
|
|
3401
3401
|
withCellSpacing: W,
|
|
3402
3402
|
highlightToday: V,
|
|
3403
3403
|
withWeekNumbers: q,
|
|
@@ -3539,8 +3539,8 @@ const fi = {
|
|
|
3539
3539
|
previousLabel: b?.previousMonth ?? E,
|
|
3540
3540
|
previousIcon: u,
|
|
3541
3541
|
monthLabelFormat: x,
|
|
3542
|
-
__onDayClick:
|
|
3543
|
-
__onDayMouseEnter:
|
|
3542
|
+
__onDayClick: w,
|
|
3543
|
+
__onDayMouseEnter: C,
|
|
3544
3544
|
__preventFocus: lt,
|
|
3545
3545
|
__stopPropagation: Ie,
|
|
3546
3546
|
static: fe,
|
|
@@ -3658,8 +3658,8 @@ function mi(t) {
|
|
|
3658
3658
|
weekdayFormat: x,
|
|
3659
3659
|
weekendDays: P,
|
|
3660
3660
|
getDayProps: u,
|
|
3661
|
-
excludeDate:
|
|
3662
|
-
renderDay:
|
|
3661
|
+
excludeDate: w,
|
|
3662
|
+
renderDay: C,
|
|
3663
3663
|
hideOutsideDates: W,
|
|
3664
3664
|
hideWeekdays: V,
|
|
3665
3665
|
getDayAriaLabel: q,
|
|
@@ -3720,8 +3720,8 @@ function mi(t) {
|
|
|
3720
3720
|
weekdayFormat: x,
|
|
3721
3721
|
weekendDays: P,
|
|
3722
3722
|
getDayProps: u,
|
|
3723
|
-
excludeDate:
|
|
3724
|
-
renderDay:
|
|
3723
|
+
excludeDate: w,
|
|
3724
|
+
renderDay: C,
|
|
3725
3725
|
hideOutsideDates: W,
|
|
3726
3726
|
hideWeekdays: V,
|
|
3727
3727
|
getDayAriaLabel: q,
|
|
@@ -3794,7 +3794,7 @@ const bi = {
|
|
|
3794
3794
|
getYearControlProps: v,
|
|
3795
3795
|
disabled: x,
|
|
3796
3796
|
...P
|
|
3797
|
-
} = r, u = ie(null),
|
|
3797
|
+
} = r, u = ie(null), w = ie(null), [C, W] = se(!1), { calendarProps: V, others: q } = mi(P), B = Dt(), Q = b || ((G) => {
|
|
3798
3798
|
const ge = z(G, m, B.getLocale(f)).toDate();
|
|
3799
3799
|
return Number.isNaN(ge.getTime()) ? pi(G) : z(ge).format("YYYY-MM-DD");
|
|
3800
3800
|
}), H = R !== void 0 ? R : c, X = (G) => G ? z(G).locale(B.getLocale(f)).format(m) : "", [J, ee, ae] = tn({
|
|
@@ -3850,15 +3850,15 @@ const bi = {
|
|
|
3850
3850
|
}
|
|
3851
3851
|
), st = c && !!J && !N && !x;
|
|
3852
3852
|
return yo(() => {
|
|
3853
|
-
J !== void 0 && !
|
|
3853
|
+
J !== void 0 && !C && pe(X(J));
|
|
3854
3854
|
}, [J]), vs(() => W(!1), void 0, [
|
|
3855
3855
|
u.current,
|
|
3856
|
-
|
|
3856
|
+
w.current
|
|
3857
3857
|
]), /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
3858
3858
|
/* @__PURE__ */ o.jsx(fr.Wrapper, { ...s, __staticSelector: "DateInput", ref: u, children: /* @__PURE__ */ o.jsxs(
|
|
3859
3859
|
Xt,
|
|
3860
3860
|
{
|
|
3861
|
-
opened:
|
|
3861
|
+
opened: C,
|
|
3862
3862
|
trapFocus: !1,
|
|
3863
3863
|
position: "bottom-start",
|
|
3864
3864
|
disabled: N || x,
|
|
@@ -3894,7 +3894,7 @@ const bi = {
|
|
|
3894
3894
|
{
|
|
3895
3895
|
onMouseDown: (G) => G.preventDefault(),
|
|
3896
3896
|
"data-dates-dropdown": !0,
|
|
3897
|
-
ref:
|
|
3897
|
+
ref: w,
|
|
3898
3898
|
children: /* @__PURE__ */ o.jsx(
|
|
3899
3899
|
Lr,
|
|
3900
3900
|
{
|
|
@@ -3955,16 +3955,16 @@ function yi(t) {
|
|
|
3955
3955
|
e[2] !== A ? (N = [...A], e[2] = A, e[3] = N) : N = e[3];
|
|
3956
3956
|
const M = N;
|
|
3957
3957
|
let O;
|
|
3958
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = function(
|
|
3959
|
-
return typeof
|
|
3958
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = function(C, W) {
|
|
3959
|
+
return typeof C.required == "function" ? C.required(W ?? {}) : !!C.required;
|
|
3960
3960
|
}, e[4] = O) : O = e[4];
|
|
3961
3961
|
const _ = O;
|
|
3962
3962
|
let k;
|
|
3963
3963
|
e[5] !== r ? (k = r.reduce(xi, {}), e[5] = r, e[6] = k) : k = e[6];
|
|
3964
3964
|
let T;
|
|
3965
3965
|
if (e[7] !== r) {
|
|
3966
|
-
let
|
|
3967
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
3966
|
+
let w;
|
|
3967
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = (C, W) => (C[W.id] = (V, q) => W.conditional && !W.conditional(q) || !_(W, q) || V ? null : "Pflichtfeld", C), e[9] = w) : w = e[9], T = r.filter(vi).reduce(w, {}), e[7] = r, e[8] = T;
|
|
3968
3968
|
} else
|
|
3969
3969
|
T = e[8];
|
|
3970
3970
|
let I;
|
|
@@ -3975,50 +3975,50 @@ function yi(t) {
|
|
|
3975
3975
|
}, e[10] = k, e[11] = T, e[12] = I) : I = e[12];
|
|
3976
3976
|
const R = bs(I);
|
|
3977
3977
|
let S;
|
|
3978
|
-
e[13] !== R || e[14] !== f ? (S = function(
|
|
3978
|
+
e[13] !== R || e[14] !== f ? (S = function(C) {
|
|
3979
3979
|
const W = R.getValues();
|
|
3980
|
-
if (
|
|
3980
|
+
if (C.conditional && !C.conditional(W))
|
|
3981
3981
|
return null;
|
|
3982
|
-
const V = _(
|
|
3982
|
+
const V = _(C, W);
|
|
3983
3983
|
return /* @__PURE__ */ o.jsxs(as, { children: [
|
|
3984
|
-
(
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3984
|
+
(C.type === void 0 || C.type == "text") && /* @__PURE__ */ o.jsx(cs, { label: C.column.title, placeholder: C.placeholder ?? "", ...R.getInputProps(C.id), type: C.id.includes("email") ? "email" : void 0, required: V }, R.key(C.id)),
|
|
3985
|
+
C.type === "number" && /* @__PURE__ */ o.jsx(us, { decimalSeparator: ",", label: C.column.title, placeholder: C.placeholder ?? "", ...R.getInputProps(C.id), required: V }, R.key(C.id)),
|
|
3986
|
+
C.type === "date" && /* @__PURE__ */ o.jsx(Nr, { label: C.column.title, placeholder: C.placeholder ?? "", valueFormat: "DD.MM.YYYY", clearable: !0, ...R.getInputProps(C.id), required: V }, R.key(C.id)),
|
|
3987
|
+
C.type === "boolean" && /* @__PURE__ */ o.jsx(Bt, { mt: "md", label: C.column.title, ...R.getInputProps(C.id, {
|
|
3988
3988
|
type: "checkbox"
|
|
3989
|
-
}), required: V }, R.key(
|
|
3990
|
-
|
|
3991
|
-
|
|
3989
|
+
}), required: V }, R.key(C.id)),
|
|
3990
|
+
C.type === "textarea" && /* @__PURE__ */ o.jsx(ds, { label: C.column.title, placeholder: C.placeholder ?? "", ...R.getInputProps(C.id), minRows: 3, autosize: !0, required: V }, R.key(C.id)),
|
|
3991
|
+
C.type === "custom" && C.render && C.render({
|
|
3992
3992
|
...R.getValues(),
|
|
3993
3993
|
...f && {
|
|
3994
3994
|
id: f
|
|
3995
3995
|
}
|
|
3996
3996
|
}, R.setValues, p, {
|
|
3997
|
-
error: R.getInputProps(
|
|
3997
|
+
error: R.getInputProps(C.id).error,
|
|
3998
3998
|
required: V
|
|
3999
3999
|
})
|
|
4000
|
-
] },
|
|
4000
|
+
] }, C.id);
|
|
4001
4001
|
}, e[13] = R, e[14] = f, e[15] = S) : S = e[15];
|
|
4002
4002
|
const g = S;
|
|
4003
4003
|
let y;
|
|
4004
4004
|
e[16] !== E?.message || e[17] !== E?.name || e[18] !== D ? (y = D && /* @__PURE__ */ o.jsx(Cr, { variant: "outline", color: "red", title: E?.name ?? "Fehler aufgetreten", mb: "lg", children: E?.message ?? "Fehler aufgetreten" }), e[16] = E?.message, e[17] = E?.name, e[18] = D, e[19] = y) : y = e[19];
|
|
4005
4005
|
let j;
|
|
4006
|
-
e[20] !== c || e[21] !== b || e[22] !== R || e[23] !== D || e[24] !== n || e[25] !== a || e[26] !== f || e[27] !== M.length || e[28] !== Y ? (j = R.onSubmit(async (
|
|
4006
|
+
e[20] !== c || e[21] !== b || e[22] !== R || e[23] !== D || e[24] !== n || e[25] !== a || e[26] !== f || e[27] !== M.length || e[28] !== Y ? (j = R.onSubmit(async (w) => {
|
|
4007
4007
|
if (f)
|
|
4008
4008
|
await Y({
|
|
4009
|
-
...
|
|
4009
|
+
...w,
|
|
4010
4010
|
id: f
|
|
4011
4011
|
});
|
|
4012
4012
|
else {
|
|
4013
|
-
const
|
|
4014
|
-
m(
|
|
4013
|
+
const C = await b(w);
|
|
4014
|
+
m(C.id), a?.(C.id);
|
|
4015
4015
|
}
|
|
4016
|
-
M.length && c < M.length - 1 ? D || d(c + 1) : D || (R.setInitialValues(
|
|
4016
|
+
M.length && c < M.length - 1 ? D || d(c + 1) : D || (R.setInitialValues(w), R.reset(), n());
|
|
4017
4017
|
}), e[20] = c, e[21] = b, e[22] = R, e[23] = D, e[24] = n, e[25] = a, e[26] = f, e[27] = M.length, e[28] = Y, e[29] = j) : j = e[29];
|
|
4018
4018
|
let v;
|
|
4019
|
-
e[30] !== c || e[31] !== r || e[32] !== g || e[33] !== i || e[34] !== M ? (v = M.length ? /* @__PURE__ */ o.jsx(gr, { active: c, size: "sm", children: M.map((
|
|
4020
|
-
label: i[
|
|
4021
|
-
} : {}, children: r.filter((
|
|
4019
|
+
e[30] !== c || e[31] !== r || e[32] !== g || e[33] !== i || e[34] !== M ? (v = M.length ? /* @__PURE__ */ o.jsx(gr, { active: c, size: "sm", children: M.map((w) => /* @__PURE__ */ o.jsx(gr.Step, { ...i && i[w - 1] ? {
|
|
4020
|
+
label: i[w - 1].label
|
|
4021
|
+
} : {}, children: r.filter((C) => C.step === w).map((C) => g(C)) }, w)) }) : r.map((w) => g(w)), e[30] = c, e[31] = r, e[32] = g, e[33] = i, e[34] = M, e[35] = v) : v = e[35];
|
|
4022
4022
|
let x;
|
|
4023
4023
|
e[36] !== c || e[37] !== h || e[38] !== L || e[39] !== n || e[40] !== M.length ? (x = !h && /* @__PURE__ */ o.jsxs(Me, { mt: "md", justify: "end", children: [
|
|
4024
4024
|
/* @__PURE__ */ o.jsx(mt, { onClick: () => M.length ? c === 0 ? n() : d(c - 1) : n(), variant: "outline", children: M.length ? c === 0 ? "Abbrechen" : "Zurück" : "Abbrechen" }),
|
|
@@ -4495,8 +4495,8 @@ function rl({ selectionColumnHeaderRef: t, className: e, style: r, sortStatus: n
|
|
|
4495
4495
|
return o.jsxs(Wt, { children: [g === 0 && N, y.map((j, v) => o.jsx(Hi, { group: j, maxDepth: L, currentDepth: g, previousGroups: y.slice(0, v), isLastGroup: v === y.length - 1, withColumnBorders: Y, totalTableColumns: i.length }, j.id))] }, `group-depth-${g}`);
|
|
4496
4496
|
}), o.jsxs(Wt, { children: [!c && N, i.map(({ hidden: S, ...g }, y) => {
|
|
4497
4497
|
if (S) return null;
|
|
4498
|
-
let { accessor: j, visibleMediaQuery: v, textAlign: x, width: P, title: u, sortable:
|
|
4499
|
-
return o.jsx(el, { accessor: j, className: q, style: B, visibleMediaQuery: v, textAlign: x, width: P, title: u, sortable:
|
|
4498
|
+
let { accessor: j, visibleMediaQuery: v, textAlign: x, width: P, title: u, sortable: w, draggable: C, toggleable: W, resizable: V, titleClassName: q, titleStyle: B, filter: U, filterPopoverProps: Q, filterPopoverDisableClickOutside: H, filtering: X, sortKey: J } = { ...a, ...g };
|
|
4499
|
+
return o.jsx(el, { accessor: j, className: q, style: B, visibleMediaQuery: v, textAlign: x, width: P, title: u, sortable: w, draggable: C, toggleable: W, resizable: V && y < i.length - 1, sortStatus: n, sortIcons: s, sortKey: J, onSortStatusChange: l, filter: U, filterPopoverProps: Q, filterPopoverDisableClickOutside: H, filtering: X }, j);
|
|
4500
4500
|
})] })] });
|
|
4501
4501
|
return T ? o.jsxs(Xt, { position: "bottom", withArrow: !0, shadow: "md", opened: _, onChange: k, children: [o.jsx(hs, { children: R }), o.jsx(fs, { children: o.jsx(rr, { children: M.filter((S) => S.toggleable).map((S) => o.jsx(Me, { children: o.jsx(Bt, { classNames: { label: "mantine-datatable-header-column-toggle-checkbox-label" }, size: "xs", label: I[S.accessor], checked: S.toggled, onChange: (g) => {
|
|
4502
4502
|
O(M.map((y) => y.accessor === S.accessor ? { ...y, toggled: g.currentTarget.checked } : y));
|
|
@@ -4552,8 +4552,8 @@ function dl({ className: t, style: e, record: r, index: n, trigger: s, onChange:
|
|
|
4552
4552
|
function hl({ record: t, index: e, columns: r, defaultColumnProps: n, defaultColumnRender: s, selectionTrigger: l, selectionVisible: i, selectionChecked: a, onSelectionChange: c, isRecordSelectable: d, selectionCheckboxProps: h, getSelectionCheckboxProps: p, onClick: f, onDoubleClick: m, onContextMenu: b, onCellClick: D, onCellDoubleClick: E, onCellContextMenu: $, expansion: Y, customAttributes: F, color: L, backgroundColor: A, className: N, style: M, selectorCellShadowVisible: O, selectionColumnClassName: _, selectionColumnStyle: k, rowFactory: T }) {
|
|
4553
4553
|
let I = o.jsxs(o.Fragment, { children: [i && o.jsx(dl, { className: _, style: k, record: t, index: e, trigger: l, withRightShadow: O, checked: a, disabled: !c || (d ? !d(t, e) : !1), onChange: c, checkboxProps: h, getCheckboxProps: p }), r.map(({ hidden: g, hiddenContent: y, ...j }, v) => {
|
|
4554
4554
|
if (g || y) return null;
|
|
4555
|
-
let { accessor: x, visibleMediaQuery: P, textAlign: u, noWrap:
|
|
4556
|
-
return o.jsx(cl, { className: typeof q == "function" ? q(t, e) : q, style: B?.(t, e), visibleMediaQuery: P, record: t, index: e, onClick: D ? (Q) => D({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, onDoubleClick: E ? (Q) => E({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, onContextMenu: $ ? (Q) => $({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, accessor: x, textAlign: u, noWrap:
|
|
4555
|
+
let { accessor: x, visibleMediaQuery: P, textAlign: u, noWrap: w, ellipsis: C, width: W, render: V, cellsClassName: q, cellsStyle: B, customCellAttributes: U } = { ...n, ...j };
|
|
4556
|
+
return o.jsx(cl, { className: typeof q == "function" ? q(t, e) : q, style: B?.(t, e), visibleMediaQuery: P, record: t, index: e, onClick: D ? (Q) => D({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, onDoubleClick: E ? (Q) => E({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, onContextMenu: $ ? (Q) => $({ event: Q, record: t, index: e, column: j, columnIndex: v }) : void 0, accessor: x, textAlign: u, noWrap: w, ellipsis: C, width: W, render: V, defaultRender: s, customCellAttributes: U }, x);
|
|
4557
4557
|
})] }), R = Y && o.jsx(ul, { colSpan: r.filter(({ hidden: g }) => !g).length + (i ? 1 : 0), open: Y.isRowExpanded(t), content: Y.content({ record: t, index: e }), collapseProps: Y.collapseProps }), S = fl({ record: t, index: e, selectionChecked: a, onClick: f, onDoubleClick: m, onContextMenu: b, expansion: Y, customAttributes: F, color: L, backgroundColor: A, className: N, style: M });
|
|
4558
4558
|
return T ? T({ record: t, index: e, rowProps: S, children: I, expandedElement: R }) : o.jsxs(o.Fragment, { children: [o.jsx(Wt, { ...S, children: I }), R] });
|
|
4559
4559
|
}
|
|
@@ -4572,7 +4572,7 @@ function fl({ record: t, index: e, selectionChecked: r, onClick: n, onDoubleClic
|
|
|
4572
4572
|
function ml({ leftShadowBehind: t, rightShadowBehind: e, onScrollPositionChange: r, children: n, viewportRef: s, scrollAreaProps: l }) {
|
|
4573
4573
|
return o.jsxs(oo, { ...l, viewportRef: s, classNames: { root: "mantine-datatable-scroll-area", scrollbar: "mantine-datatable-scroll-area-scrollbar", thumb: "mantine-datatable-scroll-area-thumb", corner: "mantine-datatable-scroll-area-corner" }, onScrollPositionChange: r, children: [n, o.jsx(ue, { className: he("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-top-shadow") }), o.jsx("div", { className: he("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-left-shadow", { "mantine-datatable-scroll-area-shadow-behind": t }) }), o.jsx("div", { className: he("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-right-shadow", { "mantine-datatable-scroll-area-shadow-behind": e }) }), o.jsx(ue, { className: he("mantine-datatable-scroll-area-shadow", "mantine-datatable-scroll-area-bottom-shadow") })] });
|
|
4574
4574
|
}
|
|
4575
|
-
function pl({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, height: n = "100%", minHeight: s, maxHeight: l, shadow: i, verticalAlign: a = "center", fetching: c, columns: d, storeColumnsKey: h, groups: p, pinFirstColumn: f, pinLastColumn: m, defaultColumnProps: b, defaultColumnRender: D, idAccessor: E = "id", records: $, selectionTrigger: Y = "checkbox", selectedRecords: F, onSelectedRecordsChange: L, selectionColumnClassName: A, selectionColumnStyle: N, isRecordSelectable: M, selectionCheckboxProps: O, allRecordsSelectionCheckboxProps: _ = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: k = (Se, Ue) => ({ "aria-label": `Select record ${Ue + 1}` }), sortStatus: T, sortIcons: I, onSortStatusChange: R, horizontalSpacing: S, page: g, onPageChange: y, totalRecords: j, recordsPerPage: v, onRecordsPerPageChange: x, recordsPerPageOptions: P, recordsPerPageLabel: u = "Records per page", paginationWithEdges:
|
|
4575
|
+
function pl({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, height: n = "100%", minHeight: s, maxHeight: l, shadow: i, verticalAlign: a = "center", fetching: c, columns: d, storeColumnsKey: h, groups: p, pinFirstColumn: f, pinLastColumn: m, defaultColumnProps: b, defaultColumnRender: D, idAccessor: E = "id", records: $, selectionTrigger: Y = "checkbox", selectedRecords: F, onSelectedRecordsChange: L, selectionColumnClassName: A, selectionColumnStyle: N, isRecordSelectable: M, selectionCheckboxProps: O, allRecordsSelectionCheckboxProps: _ = { "aria-label": "Select all records" }, getRecordSelectionCheckboxProps: k = (Se, Ue) => ({ "aria-label": `Select record ${Ue + 1}` }), sortStatus: T, sortIcons: I, onSortStatusChange: R, horizontalSpacing: S, page: g, onPageChange: y, totalRecords: j, recordsPerPage: v, onRecordsPerPageChange: x, recordsPerPageOptions: P, recordsPerPageLabel: u = "Records per page", paginationWithEdges: w, paginationWithControls: C, paginationActiveTextColor: W, paginationActiveBackgroundColor: V, paginationSize: q = "sm", paginationText: B = ({ from: Se, to: Ue, totalRecords: it }) => `${Se} - ${Ue} / ${it}`, paginationWrapBreakpoint: U = "sm", getPaginationControlProps: Q = (Se) => Se === "previous" ? { "aria-label": "Previous page" } : Se === "next" ? { "aria-label": "Next page" } : {}, getPaginationItemProps: H, renderPagination: X, loaderBackgroundBlur: J, customLoader: ee, loaderSize: ae, loaderType: de, loaderColor: te, loadingText: je = "...", emptyState: pe, noRecordsText: Ee = "No records", noRecordsIcon: Oe, highlightOnHover: lt, striped: Ie, noHeader: nt, onRowClick: Fe, onRowDoubleClick: We, onRowContextMenu: st, onCellClick: G, onCellDoubleClick: ge, onCellContextMenu: fe, onScroll: ct, onScrollToTop: oe, onScrollToBottom: Le, onScrollToLeft: pt, onScrollToRight: gt, c: Ge, backgroundColor: ze, borderColor: jt, rowBorderColor: Ce, stripedColor: ut, highlightOnHoverColor: Ne, rowColor: dt, rowBackgroundColor: Pt, rowExpansion: we, rowClassName: Mt, rowStyle: Te, customRowAttributes: ht, scrollViewportRef: Ve, scrollAreaProps: ot, tableRef: Be, bodyRef: Ke, m: at, my: K, mx: le, mt: Ae, mb: Je, ml: bt, mr: yt, className: Nt, classNames: ft, style: vt, styles: He, rowFactory: xt, tableWrapper: Ct, ...Rt }) {
|
|
4576
4576
|
let Se = qe(() => p ? gn(p) : d, [d, p]), [Ue, it] = se(!1), { refs: ye, onScroll: At } = Oi({ scrollCallbacks: { onScroll: ct, onScrollToTop: oe, onScrollToBottom: Le, onScrollToLeft: pt, onScrollToRight: gt }, withRowBorders: Rt.withRowBorders }), Z = Ri({ key: h, columns: Se, headerRef: ye.header, scrollViewportRef: ye.scrollViewport, onFixedLayoutChange: it }), re = kn(ye.table, Be), Ze = kn(ye.scrollViewport, Ve), De = Ii({ rowExpansion: we, records: $, idAccessor: E }), ce = ie(!1), _e = ie(g), wt = ie($), $e = ve((ne) => {
|
|
4577
4577
|
ce.current = !0, wt.current = $, y(ne);
|
|
4578
4578
|
}, [y, $]);
|
|
@@ -4601,7 +4601,7 @@ function pl({ withTableBorder: t, borderRadius: e, textSelectionDisabled: r, hei
|
|
|
4601
4601
|
} else L(Vr ? F.filter((Yt) => Pe(Yt, E) !== zr) : Gr([...F, ne], (Yt) => Pe(Yt, E)));
|
|
4602
4602
|
Js(Ot);
|
|
4603
4603
|
}), o.jsx(hl, { record: ne, index: Ot, columns: Se, defaultColumnProps: b, defaultColumnRender: D, selectionTrigger: Y, selectionVisible: $t, selectionChecked: Vr, onSelectionChange: Cn, isRecordSelectable: M, selectionCheckboxProps: O, getSelectionCheckboxProps: k, onClick: Fe, onDoubleClick: We, onCellClick: G, onCellDoubleClick: ge, onContextMenu: st, onCellContextMenu: fe, expansion: De, color: dt, backgroundColor: Pt, className: Mt, style: Te, customAttributes: ht, selectorCellShadowVisible: Wr, selectionColumnClassName: A, selectionColumnStyle: N, idAccessor: E, rowFactory: xt }, zr);
|
|
4604
|
-
}) : o.jsx(Di, {}) }), Se.some(({ footer: ne }) => ne) && o.jsx(Bi, { ref: ye.footer, className: ft?.footer, style: He?.footer, columns: Se, defaultColumnProps: b, selectionVisible: $t, selectorCellShadowVisible: Wr })] }) }) }), !!(g && qt) && o.jsx(ll, { className: ft?.pagination, style: He?.pagination, horizontalSpacing: S, fetching: c, page: g, onPageChange: $e, totalRecords: j, recordsPerPage: v, onRecordsPerPageChange: x, recordsPerPageOptions: P, recordsPerPageLabel: u, paginationWithEdges:
|
|
4604
|
+
}) : o.jsx(Di, {}) }), Se.some(({ footer: ne }) => ne) && o.jsx(Bi, { ref: ye.footer, className: ft?.footer, style: He?.footer, columns: Se, defaultColumnProps: b, selectionVisible: $t, selectorCellShadowVisible: Wr })] }) }) }), !!(g && qt) && o.jsx(ll, { className: ft?.pagination, style: He?.pagination, horizontalSpacing: S, fetching: c, page: g, onPageChange: $e, totalRecords: j, recordsPerPage: v, onRecordsPerPageChange: x, recordsPerPageOptions: P, recordsPerPageLabel: u, paginationWithEdges: w, paginationWithControls: C, paginationActiveTextColor: W, paginationActiveBackgroundColor: V, paginationSize: q, paginationText: B, paginationWrapBreakpoint: U, getPaginationControlProps: Q, getPaginationItemProps: H, noRecordsText: Ee, loadingText: je, recordsLength: qt, renderPagination: X }), o.jsx(nl, { fetching: c, backgroundBlur: J, customContent: ee, size: ae, type: de, color: te }), o.jsx(ki, { icon: Oe, text: Ee, active: !c && !qt, children: pe })] }) });
|
|
4605
4605
|
}
|
|
4606
4606
|
function gl(t) {
|
|
4607
4607
|
const e = Ye.c(42), {
|
|
@@ -4898,19 +4898,19 @@ function Ol(t) {
|
|
|
4898
4898
|
e: {
|
|
4899
4899
|
const R = n.filter($l), S = R.filter(Al).reduce(Nl, []);
|
|
4900
4900
|
let g;
|
|
4901
|
-
e[22] !== D ? (g = (u) => D.some((
|
|
4901
|
+
e[22] !== D ? (g = (u) => D.some((w) => w.id === u.id), e[22] = D, e[23] = g) : g = e[23];
|
|
4902
4902
|
const y = g;
|
|
4903
4903
|
let j;
|
|
4904
4904
|
e[24] !== y || e[25] !== i || e[26] !== D ? (j = (u) => {
|
|
4905
|
-
i && (y(u) ? i(D.filter((
|
|
4905
|
+
i && (y(u) ? i(D.filter((w) => w.id !== u.id)) : i([...D, u]));
|
|
4906
4906
|
}, e[24] = y, e[25] = i, e[26] = D, e[27] = j) : j = e[27];
|
|
4907
4907
|
const v = j;
|
|
4908
4908
|
let x;
|
|
4909
|
-
e[28] !== a || e[29] !== s || e[30] !== v ? (x = (u,
|
|
4909
|
+
e[28] !== a || e[29] !== s || e[30] !== v ? (x = (u, w, C) => {
|
|
4910
4910
|
a ? a({
|
|
4911
4911
|
record: u,
|
|
4912
|
-
index:
|
|
4913
|
-
event:
|
|
4912
|
+
index: w,
|
|
4913
|
+
event: C
|
|
4914
4914
|
}) : s && v(u);
|
|
4915
4915
|
}, e[28] = a, e[29] = s, e[30] = v, e[31] = x) : x = e[31];
|
|
4916
4916
|
const P = x;
|
|
@@ -4924,16 +4924,16 @@ function Ol(t) {
|
|
|
4924
4924
|
flex: 1
|
|
4925
4925
|
} }),
|
|
4926
4926
|
/* @__PURE__ */ o.jsx(zt, { variant: "filled", size: "input-sm", onClick: () => f.onSortChange(f.field, f.direction === "asc" ? "desc" : "asc"), children: f.direction === "asc" ? /* @__PURE__ */ o.jsx(Co, { size: 18 }) : /* @__PURE__ */ o.jsx(wo, { size: 18 }) })
|
|
4927
|
-
] }), _ = r.map((u,
|
|
4928
|
-
const
|
|
4929
|
-
return /* @__PURE__ */ o.jsx(tr.Fragment, { children: /* @__PURE__ */ o.jsxs(ue, { bg:
|
|
4927
|
+
] }), _ = r.map((u, w) => {
|
|
4928
|
+
const C = y(u), W = !!a || !!s, V = u.id ?? w, q = $.has(V);
|
|
4929
|
+
return /* @__PURE__ */ o.jsx(tr.Fragment, { children: /* @__PURE__ */ o.jsxs(ue, { bg: C ? "var(--mantine-primary-color-light)" : "var(--mantine-color-body)", bd: C ? void 0 : "1px solid var(--mantine-color-default-border)", style: {
|
|
4930
4930
|
borderRadius: "var(--mantine-radius-md)",
|
|
4931
4931
|
overflow: "hidden"
|
|
4932
4932
|
}, children: [
|
|
4933
4933
|
/* @__PURE__ */ o.jsxs(ue, { w: "100%", style: {
|
|
4934
4934
|
cursor: W || m ? "pointer" : "default"
|
|
4935
4935
|
}, onClick: (B) => {
|
|
4936
|
-
m && !a ? L(V) : P(u,
|
|
4936
|
+
m && !a ? L(V) : P(u, w, B);
|
|
4937
4937
|
}, children: [
|
|
4938
4938
|
(s || m || c && c.length > 0) && /* @__PURE__ */ o.jsxs(Me, { px: "sm", pt: "sm", justify: "space-between", children: [
|
|
4939
4939
|
/* @__PURE__ */ o.jsxs(Me, { gap: "xs", children: [
|
|
@@ -4947,7 +4947,7 @@ function Ol(t) {
|
|
|
4947
4947
|
transform: q ? "rotate(0deg)" : "rotate(-90deg)",
|
|
4948
4948
|
transition: "transform 200ms"
|
|
4949
4949
|
} }) }),
|
|
4950
|
-
s && /* @__PURE__ */ o.jsx(Bt, { checked:
|
|
4950
|
+
s && /* @__PURE__ */ o.jsx(Bt, { checked: C, onChange: () => v(u), onClick: Ll })
|
|
4951
4951
|
] }),
|
|
4952
4952
|
c && c.length > 0 && (() => {
|
|
4953
4953
|
const B = c.filter((U) => !(U.label === "Bearbeiten" && d && !d(u) || U.label === "Löschen" && h && !h(u)));
|
|
@@ -5053,7 +5053,7 @@ function Yl(t) {
|
|
|
5053
5053
|
const v = j;
|
|
5054
5054
|
let x;
|
|
5055
5055
|
e[3] !== y || e[4] !== Y ? (x = Y?.find((Z) => Z.value === y), e[3] = y, e[4] = Y, e[5] = x) : x = e[5];
|
|
5056
|
-
const P = x, u = P?.queryParams || {},
|
|
5056
|
+
const P = x, u = P?.queryParams || {}, w = P?.apiPath ?? l, C = P?.mutationApiPath ?? i ?? w, W = {
|
|
5057
5057
|
...$,
|
|
5058
5058
|
...u
|
|
5059
5059
|
}, V = W ? "?" + Object.entries(W).filter(Jl).map(Kl).join("&") : "";
|
|
@@ -5065,7 +5065,7 @@ function Yl(t) {
|
|
|
5065
5065
|
isError: H,
|
|
5066
5066
|
isRefetching: X,
|
|
5067
5067
|
refetch: J
|
|
5068
|
-
} = ya(
|
|
5068
|
+
} = ya(w + V, B), {
|
|
5069
5069
|
queryClient: ee
|
|
5070
5070
|
} = Ht();
|
|
5071
5071
|
let ae, de;
|
|
@@ -5290,17 +5290,17 @@ function Yl(t) {
|
|
|
5290
5290
|
}, e[93] = Nt) : Nt = e[93];
|
|
5291
5291
|
const ft = r ?? "Bearbeiten";
|
|
5292
5292
|
let vt;
|
|
5293
|
-
e[94] !==
|
|
5293
|
+
e[94] !== C || e[95] !== c || e[96] !== n || e[97] !== oe[0] || e[98] !== oe.length || e[99] !== m ? (vt = oe.length > 0 && /* @__PURE__ */ o.jsx(gl, { fields: c.filter(Fl), queryKey: n, apiPath: C, id: oe[0].id, onClose: () => {
|
|
5294
5294
|
Ce(!1), Le([]);
|
|
5295
|
-
}, steps: m }), e[94] =
|
|
5295
|
+
}, steps: m }), e[94] = C, e[95] = c, e[96] = n, e[97] = oe[0], e[98] = oe.length, e[99] = m, e[100] = vt) : vt = e[100];
|
|
5296
5296
|
let He;
|
|
5297
5297
|
e[101] !== ft || e[102] !== vt || e[103] !== jt ? (He = /* @__PURE__ */ o.jsx(Br, { opened: jt, onClose: Nt, title: ft, children: vt }), e[101] = ft, e[102] = vt, e[103] = jt, e[104] = He) : He = e[104];
|
|
5298
5298
|
let xt;
|
|
5299
|
-
e[105] !== ut || e[106] !==
|
|
5299
|
+
e[105] !== ut || e[106] !== C || e[107] !== n || e[108] !== oe || e[109] !== r ? (xt = oe.length > 0 && /* @__PURE__ */ o.jsx(Br, { opened: ut, onClose: () => {
|
|
5300
5300
|
Ne(!1), Le([]);
|
|
5301
5301
|
}, title: r ?? "Löschen", children: /* @__PURE__ */ o.jsx(Sl, { onClose: () => {
|
|
5302
5302
|
Ne(!1), Le([]);
|
|
5303
|
-
}, queryKey: n, apiPath:
|
|
5303
|
+
}, queryKey: n, apiPath: C, selectedRecords: oe }) }), e[105] = ut, e[106] = C, e[107] = n, e[108] = oe, e[109] = r, e[110] = xt) : xt = e[110];
|
|
5304
5304
|
let Ct;
|
|
5305
5305
|
e[111] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ct = () => {
|
|
5306
5306
|
ze(!1);
|
|
@@ -5313,7 +5313,7 @@ function Yl(t) {
|
|
|
5313
5313
|
let Ue;
|
|
5314
5314
|
e[113] !== c ? (Ue = c.filter(Il), e[113] = c, e[114] = Ue) : Ue = e[114];
|
|
5315
5315
|
let it;
|
|
5316
|
-
e[115] !==
|
|
5316
|
+
e[115] !== C || e[116] !== n || e[117] !== m || e[118] !== Ue ? (it = /* @__PURE__ */ o.jsx(yi, { queryKey: n, apiPath: C, onClose: Se, fields: Ue, steps: m }), e[115] = C, e[116] = n, e[117] = m, e[118] = Ue, e[119] = it) : it = e[119];
|
|
5317
5317
|
let ye;
|
|
5318
5318
|
e[120] !== Ge || e[121] !== Rt || e[122] !== it ? (ye = /* @__PURE__ */ o.jsx(Br, { opened: Ge, onClose: Ct, title: Rt, children: it }), e[120] = Ge, e[121] = Rt, e[122] = it, e[123] = ye) : ye = e[123];
|
|
5319
5319
|
let At;
|