@megha-ui/react 1.2.778 → 1.2.779

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.
@@ -1387,11 +1387,16 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
1387
1387
  ...data
1388
1388
  .filter((item) => item[column.key])
1389
1389
  .map((data) => {
1390
- var _a;
1390
+ var _a, _b, _c;
1391
+ const arrayValue = (_b = (_a = data[column.key]) === null || _a === void 0 ? void 0 : _a.isArrayString) !== null && _b !== void 0 ? _b : false;
1392
+ if (arrayValue) {
1393
+ return data[column.key].value.toString().split(">>");
1394
+ }
1391
1395
  return data[column.key] && data[column.key].value
1392
- ? (_a = data[column.key].value) === null || _a === void 0 ? void 0 : _a.toString()
1396
+ ? (_c = data[column.key].value) === null || _c === void 0 ? void 0 : _c.toString()
1393
1397
  : "";
1394
- }),
1398
+ })
1399
+ .flatMap((ite) => ite),
1395
1400
  ].sort((a, b) => {
1396
1401
  var _a, _b;
1397
1402
  return comparator(a, b, (_a = column.dataType) !== null && _a !== void 0 ? _a : "", (_b = column.fixedFilterOrder) !== null && _b !== void 0 ? _b : "asc");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.778",
3
+ "version": "1.2.779",
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.js",