@megha-ui/react 1.2.31 → 1.2.33

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.
@@ -995,7 +995,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
995
995
  var _a, _b, _c;
996
996
  const query = searchQueries[column.key];
997
997
  const uniqeValues = (0, gridHeader_1.getColumnData)(column.key, filteredData);
998
- console.log({ unqv: uniqeValues.join(""), unq: (_a = uniqueSearch[column.key]) === null || _a === void 0 ? void 0 : _a.join(""), bool: uniqeValues.join("") !== ((_b = uniqueSearch[column.key]) === null || _b === void 0 ? void 0 : _b.join("")) });
998
+ console.log({ unqv: uniqeValues.join(""), unq: (_a = uniqueSearch[column.key]) === null || _a === void 0 ? void 0 : _a.join(""), bool: uniqueSearch[column.key] && uniqeValues.join("") !== ((_b = uniqueSearch[column.key]) === null || _b === void 0 ? void 0 : _b.join("")), key: column.key });
999
999
  if (query &&
1000
1000
  (query.text !== "" || query.type !== defaultSearchOperation)) {
1001
1001
  acc[column.key] = query.text;
@@ -1024,7 +1024,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
1024
1024
  }
1025
1025
  return acc;
1026
1026
  }, {});
1027
- console.log(propFilterColumn, filterColumn);
1027
+ console.log(propFilterColumn, filterColumn, uniqueSearch);
1028
1028
  const sortColumn = gridColumns.reduce((acc, column) => {
1029
1029
  const query = sortQueries === null || sortQueries === void 0 ? void 0 : sortQueries[column.key];
1030
1030
  if (query) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.31",
3
+ "version": "1.2.33",
4
4
  "description": "A collection of reusable UI components for React applications, built with TypeScript.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",