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