@seniorsistemas/angular-components 17.18.2 → 17.18.3
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/bundles/seniorsistemas-angular-components.umd.js +3 -10
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/table/table-paging/table-paging.component.d.ts +1 -8
- package/esm2015/components/table/table-paging/table-paging.component.js +4 -11
- package/esm5/components/table/table-paging/table-paging.component.js +4 -11
- package/fesm2015/seniorsistemas-angular-components.js +3 -10
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +3 -10
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +1 -1
|
@@ -10096,14 +10096,7 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
10096
10096
|
TablePagingComponent.prototype.getColumnsToExport = function () {
|
|
10097
10097
|
return __spread(this.table.columns).map(function (column) {
|
|
10098
10098
|
var _a;
|
|
10099
|
-
var exportColumn = {
|
|
10100
|
-
header: column.header,
|
|
10101
|
-
exportable: true,
|
|
10102
|
-
field: column.field,
|
|
10103
|
-
separator: (_a = column.separator) !== null && _a !== void 0 ? _a : " - ",
|
|
10104
|
-
enumPrefix: column.enumPrefix,
|
|
10105
|
-
customExport: column.customExport,
|
|
10106
|
-
};
|
|
10099
|
+
var exportColumn = __assign(__assign({}, column), { header: column.header, exportable: true, field: column.field, separator: (_a = column.separator) !== null && _a !== void 0 ? _a : " - ", enumPrefix: column.enumPrefix, customExport: column.customExport });
|
|
10107
10100
|
if (column.exportable === false) {
|
|
10108
10101
|
exportColumn.exportable = false;
|
|
10109
10102
|
}
|
|
@@ -10204,7 +10197,7 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
10204
10197
|
}
|
|
10205
10198
|
var value = row[attribute];
|
|
10206
10199
|
var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber(value).times(100) : new BigNumber(value);
|
|
10207
|
-
var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false }));
|
|
10200
|
+
var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false, roundingMode: "trunc" }));
|
|
10208
10201
|
row[attribute] = numberFormat.format(mappedValue.toNumber());
|
|
10209
10202
|
}
|
|
10210
10203
|
}
|
|
@@ -10239,7 +10232,7 @@ var TablePagingComponent = /** @class */ (function () {
|
|
|
10239
10232
|
var value = rowData[key].value;
|
|
10240
10233
|
var numberFormatOptions = rowData[key].options.numberFormatOptions;
|
|
10241
10234
|
var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber(value).times(100) : new BigNumber(value);
|
|
10242
|
-
var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false }));
|
|
10235
|
+
var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false, roundingMode: "trunc" }));
|
|
10243
10236
|
row[key] = numberFormat.format(mappedValue.toNumber());
|
|
10244
10237
|
}
|
|
10245
10238
|
}
|