@megha-ui/react 1.2.729 → 1.2.731

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.
@@ -132,21 +132,15 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
132
132
  ].map((col) => {
133
133
  var _a, _b;
134
134
  let isArrayString = false;
135
- if (typeof col.isArrayString !== "undefined") {
136
- isArrayString = col.isArrayString;
137
- }
138
- else {
139
- if (isMultipleChips) {
140
- const columnRowData = data
141
- .map((row) => { var _a, _b; return (_b = (_a = row === null || row === void 0 ? void 0 : row[col.key]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : ""; })
142
- .filter((item) => item);
143
- if (columnRowData.length > 0 &&
144
- columnRowData.some((item) => { var _a; return (_a = (item !== null && item !== void 0 ? item : "").toString()) === null || _a === void 0 ? void 0 : _a.includes(">>"); })) {
145
- isArrayString = true;
146
- }
135
+ const columnRowData = data
136
+ .map((row) => { var _a, _b; return (_b = (_a = row === null || row === void 0 ? void 0 : row[col.key]) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : ""; })
137
+ .filter((item) => item);
138
+ if (columnRowData.length > 0 &&
139
+ columnRowData.some((item) => { var _a; return (_a = (item !== null && item !== void 0 ? item : "").toString()) === null || _a === void 0 ? void 0 : _a.includes(">>"); })) {
140
+ if (typeof col.isArrayString !== "undefined") {
141
+ isArrayString = col.isArrayString;
147
142
  }
148
143
  }
149
- console.log("Column Data Type:", col.key, columnData === null || columnData === void 0 ? void 0 : columnData[col.key], isArrayString);
150
144
  return Object.assign(Object.assign({}, col), { isArrayString, dataType: (_b = (_a = col.dataType) !== null && _a !== void 0 ? _a : columnData === null || columnData === void 0 ? void 0 : columnData[col.key]) !== null && _b !== void 0 ? _b : "string" });
151
145
  });
152
146
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@megha-ui/react",
3
- "version": "1.2.729",
3
+ "version": "1.2.731",
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",