@tanstack/svelte-table 8.20.5 → 8.21.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.
|
@@ -633,7 +633,7 @@
|
|
|
633
633
|
var _row$getValue4;
|
|
634
634
|
return (_row$getValue4 = row.getValue(columnId)) == null ? void 0 : _row$getValue4.includes(filterValue);
|
|
635
635
|
};
|
|
636
|
-
arrIncludes.autoRemove = val => testFalsey(val)
|
|
636
|
+
arrIncludes.autoRemove = val => testFalsey(val);
|
|
637
637
|
const arrIncludesAll = (row, columnId, filterValue) => {
|
|
638
638
|
return !filterValue.some(val => {
|
|
639
639
|
var _row$getValue5;
|
|
@@ -1224,6 +1224,10 @@
|
|
|
1224
1224
|
}
|
|
1225
1225
|
};
|
|
1226
1226
|
|
|
1227
|
+
function safelyAccessDocument(_document) {
|
|
1228
|
+
return _document || (typeof document !== 'undefined' ? document : null);
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1227
1231
|
//
|
|
1228
1232
|
|
|
1229
1233
|
//
|
|
@@ -1363,7 +1367,7 @@
|
|
|
1363
1367
|
columnSizingStart: []
|
|
1364
1368
|
}));
|
|
1365
1369
|
};
|
|
1366
|
-
const contextDocument = _contextDocument
|
|
1370
|
+
const contextDocument = safelyAccessDocument(_contextDocument);
|
|
1367
1371
|
const mouseEvents = {
|
|
1368
1372
|
moveHandler: e => onMove(e.clientX),
|
|
1369
1373
|
upHandler: e => {
|