mig-schema-table 3.0.73 → 3.0.74
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.
|
@@ -23,6 +23,7 @@ import SchemaTableThMenu from "./SchemaTableThMenu";
|
|
|
23
23
|
import { saveAs } from "file-saver";
|
|
24
24
|
import { unparse } from "papaparse";
|
|
25
25
|
const startOfTheWorldDate = new Date("1000-01-01 00:00:00Z");
|
|
26
|
+
const intFormatter = new Intl.NumberFormat("nl-NL");
|
|
26
27
|
function getSortByValue(propSchema, propConfig) {
|
|
27
28
|
var _a;
|
|
28
29
|
if ((propConfig === null || propConfig === void 0 ? void 0 : propConfig.sortByValue) !== undefined) {
|
|
@@ -151,7 +152,7 @@ function SchemaTable({ Heading = VariableSizeList, checkedIndexes, config, custo
|
|
|
151
152
|
case "integer":
|
|
152
153
|
prev[propName] = [undefined, null].includes(rawValue)
|
|
153
154
|
? ""
|
|
154
|
-
:
|
|
155
|
+
: intFormatter.format(rawValue);
|
|
155
156
|
return prev;
|
|
156
157
|
// @ts-ignore
|
|
157
158
|
case "string":
|