@megha-ui/react 1.2.575 → 1.2.577
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.
|
@@ -919,7 +919,11 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
919
919
|
const newItem = filterColumns.reduce((acc, column) => {
|
|
920
920
|
var _a;
|
|
921
921
|
if (!ignoredExportItems.includes(column.key) && item[column.key]) {
|
|
922
|
-
|
|
922
|
+
let options = exportOptions !== null && exportOptions !== void 0 ? exportOptions : formatOptions;
|
|
923
|
+
if (column.dataType === "currency") {
|
|
924
|
+
options = Object.assign(Object.assign({}, options), { useGrouping: false });
|
|
925
|
+
}
|
|
926
|
+
acc[column.key] = formatValue(item[column.key].value, (_a = column.dataType) !== null && _a !== void 0 ? _a : "string", locale, options);
|
|
923
927
|
}
|
|
924
928
|
return acc;
|
|
925
929
|
}, {});
|
package/package.json
CHANGED