@megha-ui/react 1.2.386 → 1.2.387
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.
|
@@ -135,7 +135,6 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
135
135
|
return filterValue.includes(cellValue);
|
|
136
136
|
})
|
|
137
137
|
: true);
|
|
138
|
-
console.log(filterColumns);
|
|
139
138
|
_filteredData = _filteredData.filter((item) => searchOp === "and"
|
|
140
139
|
? filterColumns.every((column) => {
|
|
141
140
|
var _a, _b, _c;
|
|
@@ -225,6 +224,9 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
225
224
|
const regex = createRegexFromWildcard(query);
|
|
226
225
|
return regex.test(value);
|
|
227
226
|
}
|
|
227
|
+
if (searchQueries[column.key]) {
|
|
228
|
+
console.log("searchQueries[column.key]", searchQueries[column.key]);
|
|
229
|
+
}
|
|
228
230
|
switch ((_c = searchQueries[column.key]) === null || _c === void 0 ? void 0 : _c.type) {
|
|
229
231
|
case "contains":
|
|
230
232
|
return value.toLowerCase().includes(query.toLowerCase());
|
package/package.json
CHANGED