@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.
@@ -10241,14 +10241,7 @@
10241
10241
  TablePagingComponent.prototype.getColumnsToExport = function () {
10242
10242
  return __spread(this.table.columns).map(function (column) {
10243
10243
  var _a;
10244
- var exportColumn = {
10245
- header: column.header,
10246
- exportable: true,
10247
- field: column.field,
10248
- separator: (_a = column.separator) !== null && _a !== void 0 ? _a : " - ",
10249
- enumPrefix: column.enumPrefix,
10250
- customExport: column.customExport,
10251
- };
10244
+ 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 });
10252
10245
  if (column.exportable === false) {
10253
10246
  exportColumn.exportable = false;
10254
10247
  }
@@ -10349,7 +10342,7 @@
10349
10342
  }
10350
10343
  var value = row[attribute];
10351
10344
  var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber__default(value).times(100) : new BigNumber__default(value);
10352
- var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false }));
10345
+ var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false, roundingMode: "trunc" }));
10353
10346
  row[attribute] = numberFormat.format(mappedValue.toNumber());
10354
10347
  }
10355
10348
  }
@@ -10384,7 +10377,7 @@
10384
10377
  var value = rowData[key].value;
10385
10378
  var numberFormatOptions = rowData[key].options.numberFormatOptions;
10386
10379
  var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber__default(value).times(100) : new BigNumber__default(value);
10387
- var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false }));
10380
+ var numberFormat = new Intl.NumberFormat("en-US", __assign(__assign({}, numberFormatOptions), { style: "decimal", useGrouping: false, roundingMode: "trunc" }));
10388
10381
  row[key] = numberFormat.format(mappedValue.toNumber());
10389
10382
  }
10390
10383
  }