@seniorsistemas/angular-components 17.18.1 → 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.
@@ -9652,8 +9652,7 @@
9652
9652
  var originalsTds = _this.el.nativeElement.querySelectorAll(".ui-table-unfrozen-view .sds-expanded-row > td");
9653
9653
  tdsToAdjust.forEach(function (td, index) {
9654
9654
  var originalTd = originalsTds[index];
9655
- var height = originalTd.getBoundingClientRect().height;
9656
- td.innerHTML = "<div style=\"height: " + height + "px\"></div>";
9655
+ td.innerHTML = null;
9657
9656
  td.style.padding = "0px";
9658
9657
  _this.rowExpandedObserver.observe(originalTd);
9659
9658
  });
@@ -9693,7 +9692,7 @@
9693
9692
  var frozenHeight = frozenTd.getBoundingClientRect().height;
9694
9693
  if (Math.abs(unfrozenHeight - frozenHeight) > 1) {
9695
9694
  frozenTd.style.height = unfrozenHeight + "px";
9696
- frozenTd.innerHTML = "<div></div>";
9695
+ frozenTd.innerHTML = null;
9697
9696
  }
9698
9697
  });
9699
9698
  };
@@ -10242,14 +10241,7 @@
10242
10241
  TablePagingComponent.prototype.getColumnsToExport = function () {
10243
10242
  return __spread(this.table.columns).map(function (column) {
10244
10243
  var _a;
10245
- var exportColumn = {
10246
- header: column.header,
10247
- exportable: true,
10248
- field: column.field,
10249
- separator: (_a = column.separator) !== null && _a !== void 0 ? _a : " - ",
10250
- enumPrefix: column.enumPrefix,
10251
- customExport: column.customExport,
10252
- };
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 });
10253
10245
  if (column.exportable === false) {
10254
10246
  exportColumn.exportable = false;
10255
10247
  }
@@ -10350,7 +10342,7 @@
10350
10342
  }
10351
10343
  var value = row[attribute];
10352
10344
  var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber__default(value).times(100) : new BigNumber__default(value);
10353
- 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" }));
10354
10346
  row[attribute] = numberFormat.format(mappedValue.toNumber());
10355
10347
  }
10356
10348
  }
@@ -10385,7 +10377,7 @@
10385
10377
  var value = rowData[key].value;
10386
10378
  var numberFormatOptions = rowData[key].options.numberFormatOptions;
10387
10379
  var mappedValue = numberFormatOptions.style === "percent" ? new BigNumber__default(value).times(100) : new BigNumber__default(value);
10388
- 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" }));
10389
10381
  row[key] = numberFormat.format(mappedValue.toNumber());
10390
10382
  }
10391
10383
  }