@wizishop/wizi-block 4.1.19-beta → 4.1.20-beta

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.
@@ -27066,9 +27066,6 @@
27066
27066
  this.persist();
27067
27067
  }
27068
27068
  };
27069
- TextBackgroundsThreeRowsIconTextComponent.prototype.addFaqCol = function () {
27070
- return;
27071
- };
27072
27069
  TextBackgroundsThreeRowsIconTextComponent.prototype.addRow = function (index) {
27073
27070
  this.contentBlock[FORM_NAME_ROWS].push(new Array());
27074
27071
  for (var i = 0; i < this.contentBlock[FORM_NAME_ITEM_NUMBER]; ++i) {
@@ -27118,12 +27115,15 @@
27118
27115
  this.contentBlock[FORM_NAME_ROWS][this.row][this.column].image = imageMediaDto;
27119
27116
  this.persist();
27120
27117
  };
27118
+ TextBackgroundsThreeRowsIconTextComponent.prototype.stopPropagation = function ($event) {
27119
+ $event.stopPropagation();
27120
+ };
27121
27121
  return TextBackgroundsThreeRowsIconTextComponent;
27122
27122
  }(StructuresComponent));
27123
27123
  TextBackgroundsThreeRowsIconTextComponent.decorators = [
27124
27124
  { type: i0.Component, args: [{
27125
27125
  selector: TextBackgroundsThreeRowsIconTextService.selector(),
27126
- template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27126
+ template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--three\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-4-fullhd is-4-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27127
27127
  },] }
27128
27128
  ];
27129
27129
  TextBackgroundsThreeRowsIconTextComponent.ctorParameters = function () { return [
@@ -27152,9 +27152,6 @@
27152
27152
  this.persist();
27153
27153
  }
27154
27154
  };
27155
- TextBackgroundsFourRowsIconTextComponent.prototype.addFaqCol = function () {
27156
- return;
27157
- };
27158
27155
  TextBackgroundsFourRowsIconTextComponent.prototype.addRow = function (index) {
27159
27156
  this.contentBlock[FORM_NAME_ROWS].push(new Array());
27160
27157
  for (var i = 0; i < this.contentBlock[FORM_NAME_ITEM_NUMBER]; ++i) {
@@ -27204,12 +27201,15 @@
27204
27201
  this.contentBlock[FORM_NAME_ROWS][this.row][this.column].image = imageMediaDto;
27205
27202
  this.persist();
27206
27203
  };
27204
+ TextBackgroundsFourRowsIconTextComponent.prototype.stopPropagation = function ($event) {
27205
+ $event.stopPropagation();
27206
+ };
27207
27207
  return TextBackgroundsFourRowsIconTextComponent;
27208
27208
  }(StructuresComponent));
27209
27209
  TextBackgroundsFourRowsIconTextComponent.decorators = [
27210
27210
  { type: i0.Component, args: [{
27211
27211
  selector: TextBackgroundsFourRowsIconTextService.selector(),
27212
- template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n wbPicturesTemplateDirective\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27212
+ template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--four\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-3-fullhd is-3-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n wbPicturesTemplateDirective\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27213
27213
  },] }
27214
27214
  ];
27215
27215
  TextBackgroundsFourRowsIconTextComponent.ctorParameters = function () { return [
@@ -27238,9 +27238,6 @@
27238
27238
  this.persist();
27239
27239
  }
27240
27240
  };
27241
- TextBackgroundsTwoRowsIconTextComponent.prototype.addFaqCol = function () {
27242
- return;
27243
- };
27244
27241
  TextBackgroundsTwoRowsIconTextComponent.prototype.addRow = function (index) {
27245
27242
  this.contentBlock[FORM_NAME_ROWS].push(new Array());
27246
27243
  for (var i = 0; i < this.contentBlock[FORM_NAME_ITEM_NUMBER]; ++i) {
@@ -27290,12 +27287,15 @@
27290
27287
  this.contentBlock[FORM_NAME_ROWS][this.row][this.column].image = imageMediaDto;
27291
27288
  this.persist();
27292
27289
  };
27290
+ TextBackgroundsTwoRowsIconTextComponent.prototype.stopPropagation = function ($event) {
27291
+ $event.stopPropagation();
27292
+ };
27293
27293
  return TextBackgroundsTwoRowsIconTextComponent;
27294
27294
  }(StructuresComponent));
27295
27295
  TextBackgroundsTwoRowsIconTextComponent.decorators = [
27296
27296
  { type: i0.Component, args: [{
27297
27297
  selector: TextBackgroundsTwoRowsIconTextService.selector(),
27298
- template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27298
+ template: "<div class=\"wb-text-backgrounds-rows-icon-text wb-text-backgrounds-rows-icon-text--two\">\n <div class=\"columns is-multiline\" *ngFor=\"let row of contents[BASE_BLOCK_CONTENT].rows; let i = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__delete-line\">\n <div\n wbShowDeleteButton\n *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number > 1\"\n class=\"wb-text-backgrounds-rows-icon-text__delete-line__button\"\n >\n <i class=\"fas fa-trash-alt\"></i>\n <p>{{ 'wb.structures.template.64' | translate }}</p>\n <button (click)=\"deleteRow(i)\">{{ 'wb.structures.template.65' | translate }}</button>\n </div>\n </div>\n <div class=\"column is-6-fullhd is-6-desktop\" *ngFor=\"let item of row; let j = index\">\n <div class=\"wb-text-backgrounds-rows-icon-text__item\">\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content\"\n [ngClass]=\"{\n 'wb-text-backgrounds-rows-icon-text__item__content--small':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_SMALL,\n 'wb-text-backgrounds-rows-icon-text__item__content--medium':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_MEDIUM,\n 'wb-text-backgrounds-rows-icon-text__item__content--large':\n contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK] === FORM_TYPE_IMAGE_MASK_LARGE\n }\"\n >\n <wb-structure-config\n [blockUUID]=\"uuid\"\n [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\"\n [isFullwidth]=\"true\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n >\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-input\n [label]=\"'wb.structures.template.10' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL]\"\n [placeholder]=\"'wb.structures.template.11' | translate\"\n (ngModelChange)=\"persist()\"\n ></wb-structure-config-input>\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.12' | translate\"\n [(ngModel)]=\"item[FORM_NAME_IMAGE][FORM_NAME_URL_TARGET]\"\n (ngModelChange)=\"persist()\"\n [off]=\"'_self'\"\n [on]=\"'_blank'\"\n ></wb-structure-config-checkbox>\n </wb-structure-config>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__noimages\"\n wbPicturesTemplateDirective\n [dimensions]=\"sizes[contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE_MASK]]\"\n *ngIf=\"!item[FORM_NAME_IMAGE]\"\n (click)=\"addNewImage(i, j)\"\n >\n <p>\n <i class=\"fal fa-image\"></i>\n {{ 'wb.structures.template.8' | translate }}\n </p>\n </div>\n <div *ngIf=\"item[FORM_NAME_IMAGE]\" class=\"wb-text-backgrounds-rows-icon-text__item__content__image\">\n <div\n wbGetSizeImageDirective\n [urlToParse]=\"item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL]\"\n (onUpdate)=\"updateThisImage(item[FORM_NAME_IMAGE], $event)\"\n [style.background-image]=\"'url(' + item[FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n class=\"wb-text-backgrounds-rows-icon-text__item__content__image__background\"\n ></div>\n </div>\n <div\n class=\"wb-text-backgrounds-rows-icon-text__item__content__wrapper\"\n *ngIf=\"item[FORM_NAME_IMAGE]\"\n (click)=\"onClickUpdateImage(i, j)\"\n >\n <div (click)=\"stopPropagation($event)\">\n <wb-structure-config-font\n [(value)]=\"item[FORM_NAME_ICON]\"\n [color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_ICON_COLOR]\"\n (valueChange)=\"item[FORM_NAME_ICON] = $event; persist()\"\n ></wb-structure-config-font>\n <div class=\"wb-text-backgrounds-rows-icon-text__item__content__title\">\n <wb-quill [(content)]=\"item[FORM_NAME_TITLE]\" (contentChange)=\"persist()\"></wb-quill>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"contents[BASE_BLOCK_CONTENT].line_number < 9\">\n <div class=\"column\">\n <div class=\"wb-text-backgrounds-rows-icon-text__add\">\n <a (click)=\"addRow(contents[BASE_BLOCK_CONTENT].line_number)\">\n <i class=\"fal fa-plus-circle\"></i>\n <p>\n {{ 'wb.structures.template.63' | translate }}\n </p>\n </a>\n </div>\n </div>\n </div>\n</div>\n"
27299
27299
  },] }
27300
27300
  ];
27301
27301
  TextBackgroundsTwoRowsIconTextComponent.ctorParameters = function () { return [