@addsign/moje-agenda-shared-lib 2.0.37 → 2.0.39
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.
- package/dist/components/datatable/DataTableServer.js +2 -1
- package/dist/components/datatable/DataTableServer.js.map +1 -1
- package/dist/components/form/FileInput.js +25 -9
- package/dist/components/form/FileInput.js.map +1 -1
- package/lib/components/datatable/DataTableServer.tsx +3 -2
- package/lib/components/form/FileInput.tsx +35 -17
- package/package.json +1 -1
|
@@ -22075,7 +22075,8 @@ function DataTableServer({
|
|
|
22075
22075
|
if ((_a2 = column == null ? void 0 : column.renderXlsOptions) == null ? void 0 : _a2.format) {
|
|
22076
22076
|
cell.z = column.renderXlsOptions.format;
|
|
22077
22077
|
} else {
|
|
22078
|
-
cell.
|
|
22078
|
+
const hasDecimal = cell.v % 1 !== 0;
|
|
22079
|
+
cell.z = hasDecimal ? "#,##0.##" : "#,##0";
|
|
22079
22080
|
}
|
|
22080
22081
|
}
|
|
22081
22082
|
}
|