@pepperi-addons/ngx-lib 0.2.51-beta.0 → 0.2.51-beta.1

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.
@@ -2741,9 +2741,10 @@
2741
2741
  }))));
2742
2742
  // * 16 convert rem to pixel
2743
2743
  var cardRowsHeight = _this.customizationService.calculateCardRowsHeight(maxRow) * 16;
2744
- var rowSpanToAdd = (childrenCount * (cardRowsHeight + 16)); // + 16 is the 1rem margin outside card.
2745
- formRowHeight +
2746
- rowsToAdd;
2744
+ // + 16 is the 1rem margin outside card.
2745
+ var rowSpanToAdd = (childrenCount * (cardRowsHeight + 16));
2746
+ // formRowHeight +
2747
+ // rowsToAdd;
2747
2748
  _this.field.rowSpan = rowSpanToAdd;
2748
2749
  }
2749
2750
  else {
@@ -6243,10 +6244,11 @@
6243
6244
  PepInternalCaruselComponent.prototype.fillData = function () {
6244
6245
  var _this = this;
6245
6246
  setTimeout(function () {
6246
- var childrenCount = _this.items
6247
- ? _this.items.length
6248
- : 0;
6249
- var formRowHeight = _this.customizationService.calculateFormFieldHeight() * 16; // convert rem to pixel
6247
+ // const childrenCount = this.items
6248
+ // ? this.items.length
6249
+ // : 0;
6250
+ // convert rem to pixel
6251
+ var formRowHeight = _this.customizationService.calculateFormFieldHeight() * 16;
6250
6252
  // Set the default only if not set yet.
6251
6253
  if (_this.defaultRowSpan === -1) {
6252
6254
  _this.defaultRowSpan = _this.field.rowSpan;
@@ -6256,8 +6258,8 @@
6256
6258
  }))));
6257
6259
  // * 16 convert rem to pixel
6258
6260
  var cardRowsHeight = _this.customizationService.calculateCardRowsHeight(maxRow) * 16;
6259
- var rowSpanToAdd = (childrenCount * (cardRowsHeight + 16)); // + 16 is the 1rem margin outside card.
6260
- formRowHeight;
6261
+ // + 16 is the 1rem margin outside card.
6262
+ var rowSpanToAdd = (cardRowsHeight + 16);
6261
6263
  _this.field.rowSpan = rowSpanToAdd;
6262
6264
  }, 0);
6263
6265
  this.changeDetectorRef.markForCheck();