@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.
- package/bundles/pepperi-addons-ngx-lib-form.umd.js +11 -9
- package/bundles/pepperi-addons-ngx-lib-form.umd.js.map +1 -1
- package/esm2015/form/internal-carusel.component.js +8 -7
- package/esm2015/form/internal-page.component.js +5 -4
- package/fesm2015/pepperi-addons-ngx-lib-form.js +11 -9
- package/fesm2015/pepperi-addons-ngx-lib-form.js.map +1 -1
- package/package.json +1 -1
|
@@ -2741,9 +2741,10 @@
|
|
|
2741
2741
|
}))));
|
|
2742
2742
|
// * 16 convert rem to pixel
|
|
2743
2743
|
var cardRowsHeight = _this.customizationService.calculateCardRowsHeight(maxRow) * 16;
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
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
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
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
|
-
|
|
6260
|
-
|
|
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();
|