@espresso-lab/mantine-data-table 1.10.3 → 1.10.4
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 +7 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -8320,7 +8320,7 @@ function eh(t) {
|
|
|
8320
8320
|
if (e[4] !== k || e[5] !== n || e[6] !== a || e[7] !== u || e[8] !== r || e[9] !== _ || e[10] !== S || e[11] !== i || e[12] !== v) {
|
|
8321
8321
|
H = Symbol.for("react.early_return_sentinel");
|
|
8322
8322
|
e: {
|
|
8323
|
-
const U = n.filter(ih), K = U.filter(oh).
|
|
8323
|
+
const U = n.filter(ih), K = U.filter(oh).reduce(nh, []);
|
|
8324
8324
|
let ne;
|
|
8325
8325
|
e[19] !== S ? (ne = (s) => S.some((p) => p.id === s.id), e[19] = S, e[20] = ne) : ne = e[20];
|
|
8326
8326
|
const te = ne;
|
|
@@ -8413,11 +8413,12 @@ function th(t) {
|
|
|
8413
8413
|
function rh(t) {
|
|
8414
8414
|
return t.stopPropagation();
|
|
8415
8415
|
}
|
|
8416
|
-
function nh(t) {
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8416
|
+
function nh(t, e) {
|
|
8417
|
+
const r = e.column.accessor ?? e.id;
|
|
8418
|
+
return t.some((n) => n.value === r) || t.push({
|
|
8419
|
+
value: r,
|
|
8420
|
+
label: e.column.title ?? e.id
|
|
8421
|
+
}), t;
|
|
8421
8422
|
}
|
|
8422
8423
|
function oh(t) {
|
|
8423
8424
|
return t.column.sortable !== !1;
|