@tanstack/table-core 8.8.2 → 8.8.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/build/lib/features/RowSelection.js.map +1 -1
- package/build/lib/filterFns.js +6 -6
- package/build/lib/filterFns.js.map +1 -1
- package/build/lib/index.esm.js +6 -6
- package/build/lib/index.esm.js.map +1 -1
- package/build/lib/index.mjs +6 -6
- package/build/lib/index.mjs.map +1 -1
- package/build/lib/utils/getFacetedMinMaxValues.js.map +1 -1
- package/build/lib/utils/getSortedRowModel.js.map +1 -1
- package/build/umd/index.development.js +6 -6
- package/build/umd/index.development.js.map +1 -1
- package/build/umd/index.production.js +1 -1
- package/build/umd/index.production.js.map +1 -1
- package/package.json +1 -1
- package/src/features/RowSelection.ts +7 -7
- package/src/filterFns.ts +12 -3
- package/src/utils/getFacetedMinMaxValues.ts +1 -1
- package/src/utils/getSortedRowModel.ts +1 -1
package/build/lib/index.mjs
CHANGED
|
@@ -920,19 +920,19 @@ const Expanding = {
|
|
|
920
920
|
};
|
|
921
921
|
|
|
922
922
|
const includesString = (row, columnId, filterValue) => {
|
|
923
|
-
var _row$getValue;
|
|
923
|
+
var _row$getValue, _row$getValue$toStrin, _row$getValue$toStrin2;
|
|
924
924
|
const search = filterValue.toLowerCase();
|
|
925
|
-
return Boolean((_row$getValue = row.getValue(columnId)) == null ? void 0 : _row$getValue.toLowerCase().includes(search));
|
|
925
|
+
return Boolean((_row$getValue = row.getValue(columnId)) == null ? void 0 : (_row$getValue$toStrin = _row$getValue.toString()) == null ? void 0 : (_row$getValue$toStrin2 = _row$getValue$toStrin.toLowerCase()) == null ? void 0 : _row$getValue$toStrin2.includes(search));
|
|
926
926
|
};
|
|
927
927
|
includesString.autoRemove = val => testFalsey(val);
|
|
928
928
|
const includesStringSensitive = (row, columnId, filterValue) => {
|
|
929
|
-
var _row$getValue2;
|
|
930
|
-
return Boolean((_row$getValue2 = row.getValue(columnId)) == null ? void 0 : _row$getValue2.includes(filterValue));
|
|
929
|
+
var _row$getValue2, _row$getValue2$toStri;
|
|
930
|
+
return Boolean((_row$getValue2 = row.getValue(columnId)) == null ? void 0 : (_row$getValue2$toStri = _row$getValue2.toString()) == null ? void 0 : _row$getValue2$toStri.includes(filterValue));
|
|
931
931
|
};
|
|
932
932
|
includesStringSensitive.autoRemove = val => testFalsey(val);
|
|
933
933
|
const equalsString = (row, columnId, filterValue) => {
|
|
934
|
-
var _row$getValue3;
|
|
935
|
-
return ((_row$getValue3 = row.getValue(columnId)) == null ? void 0 : _row$getValue3.toLowerCase()) === filterValue.toLowerCase();
|
|
934
|
+
var _row$getValue3, _row$getValue3$toStri;
|
|
935
|
+
return ((_row$getValue3 = row.getValue(columnId)) == null ? void 0 : (_row$getValue3$toStri = _row$getValue3.toString()) == null ? void 0 : _row$getValue3$toStri.toLowerCase()) === (filterValue == null ? void 0 : filterValue.toLowerCase());
|
|
936
936
|
};
|
|
937
937
|
equalsString.autoRemove = val => testFalsey(val);
|
|
938
938
|
const arrIncludes = (row, columnId, filterValue) => {
|