@megha-ui/react 1.3.46 → 1.3.48
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.
|
@@ -195,10 +195,8 @@ const Dropdown = ({ options, selectedValues, onChange, placeholder = "Select..."
|
|
|
195
195
|
bValue.toString().includes("-")) {
|
|
196
196
|
aValue = aValue.toString().split("-")[0];
|
|
197
197
|
bValue = bValue.toString().split("-")[0];
|
|
198
|
-
console.log(isNaN(parseFloat(aValue)), isNaN(parseFloat(bValue)));
|
|
199
198
|
aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
|
|
200
199
|
bValue = isNaN(parseFloat(bValue)) ? bValue : parseFloat(bValue);
|
|
201
|
-
console.log({ aValue, bValue });
|
|
202
200
|
}
|
|
203
201
|
else {
|
|
204
202
|
aValue = isNaN(parseFloat(aValue)) ? aValue : parseFloat(aValue);
|
|
@@ -17,7 +17,6 @@ export const useBulkSelect = ({ data, selectedRows, setSelectedRows, idKey, }) =
|
|
|
17
17
|
setSelectedRows &&
|
|
18
18
|
setSelectedRows((prevSelectedRows) => {
|
|
19
19
|
const newSelectedRows = new Set(prevSelectedRows);
|
|
20
|
-
console.log(visibleData.map((item) => item === null || item === void 0 ? void 0 : item[idKey]));
|
|
21
20
|
if (allSelected) {
|
|
22
21
|
visibleData.forEach((item) => { var _a; return newSelectedRows.delete((_a = item === null || item === void 0 ? void 0 : item[idKey].value) === null || _a === void 0 ? void 0 : _a.toString()); });
|
|
23
22
|
}
|
|
@@ -1100,7 +1100,6 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
1100
1100
|
setDraggingIndex(null);
|
|
1101
1101
|
}
|
|
1102
1102
|
else {
|
|
1103
|
-
console.log({ data });
|
|
1104
1103
|
const updatedItems = [...data];
|
|
1105
1104
|
const [draggedItem] = updatedItems.splice(draggingIndex, 1);
|
|
1106
1105
|
updatedItems.splice(dropIndex, 0, draggedItem);
|
|
@@ -33,7 +33,6 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
33
33
|
.join(">"));
|
|
34
34
|
}),
|
|
35
35
|
]);
|
|
36
|
-
console.log({ groupedData });
|
|
37
36
|
return (_jsx(_Fragment, { children: groupedData
|
|
38
37
|
.filter((item) => {
|
|
39
38
|
return item.type === "main" && item.level === 1
|
package/package.json
CHANGED