@wizishop/wizi-block 15.0.42-beta → 15.0.44-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.
- package/esm2020/lib/shared/components/structure-config/structure-config.component.mjs +7 -3
- package/esm2020/lib/structures/amplify-product/zoom/amplify-product-zoom.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-product/zoom-more/amplify-product-zoom-more.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-product/zoom-selected/amplify-product-zoom-selected.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-product/zoom-triple-column/amplify-product-zoom-triple-column.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-products-list/classic/amplify-products-list-classic.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-products-list/selected/amplify-products-list-selected.component.mjs +1 -1
- package/esm2020/lib/structures/amplify-products-list/simple/amplify-products-list-simple.component.mjs +1 -1
- package/esm2020/lib/structures/forms/imageleft/forms-imageleft.component.mjs +1 -1
- package/esm2020/lib/structures/forms/imageright/forms-imageright.component.mjs +1 -1
- package/esm2020/lib/structures/images/banner/images-banner.component.mjs +1 -1
- package/esm2020/lib/structures/images/big-and-double/images-big-and-double.component.mjs +1 -1
- package/esm2020/lib/structures/images/bigs-and-double-middle/images-bigs-and-double-middle.component.mjs +1 -1
- package/esm2020/lib/structures/images/double/images-double.component.mjs +1 -1
- package/esm2020/lib/structures/images/four-images-title/four-images-title.component.mjs +1 -1
- package/esm2020/lib/structures/images/quadruple/images-quadruple.component.mjs +1 -1
- package/esm2020/lib/structures/images/quadruple-left-one-right/images-quadruple-left-one-right.component.mjs +1 -1
- package/esm2020/lib/structures/images/simple/images-simple.component.mjs +1 -1
- package/esm2020/lib/structures/images/triple/images-triple.component.mjs +1 -1
- package/esm2020/lib/structures/images/two-images-title-text/two-images-title-text.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/big-left-text-right/images-texts-big-left-text-right.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/big-right-text-left/images-texts-big-right-text-left.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/left-text-right/images-texts-left-text-right.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/one-text-one/images-texts-one-text-one.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/right-text-left/images-texts-right-text-left.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/small-left-text-right/images-texts-small-left-text-right.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/small-right-text-left/images-texts-small-right-text-left.component.mjs +1 -1
- package/esm2020/lib/structures/images-texts/text-one-text/images-texts-text-one-text.component.mjs +1 -1
- package/esm2020/lib/structures/map/background-form-left/map-background-form-left.component.mjs +1 -1
- package/esm2020/lib/structures/map/background-form-right/map-background-form-right.component.mjs +1 -1
- package/esm2020/lib/structures/map/fullpage/map-fullpage.component.mjs +1 -1
- package/esm2020/lib/structures/map/left-text/map-left-text.component.mjs +1 -1
- package/esm2020/lib/structures/map/right-text/map-right-text.component.mjs +1 -1
- package/esm2020/lib/structures/map/text-form/map-text-form.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom/product-zoom.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-complete/product-zoom-complete.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-complete-background/product-zoom-complete-background.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-complete-slider/product-zoom-complete-slider.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-more/product-zoom-more.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-selected/product-zoom-selected.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-simple/product-zoom-simple.component.mjs +1 -1
- package/esm2020/lib/structures/product/zoom-triple-column/product-zoom-triple-column.component.mjs +1 -1
- package/esm2020/lib/structures/products-list/classic/products-list-classic.component.mjs +3 -3
- package/esm2020/lib/structures/products-list/selected/products-list-selected.component.mjs +3 -3
- package/esm2020/lib/structures/products-list/simple/products-list-simple.component.mjs +3 -3
- package/esm2020/lib/structures/sliders/double-imageright/slider-double-imageright.component.mjs +1 -1
- package/esm2020/lib/structures/sliders/fullpage/slider-fullpage.component.mjs +1 -1
- package/esm2020/lib/structures/sliders/imageright/slider-imageright.component.mjs +1 -1
- package/esm2020/lib/structures/sliders/leftnav/slider-leftnav.component.mjs +1 -1
- package/esm2020/lib/structures/sliders/with-banner/slider-with-banner.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/four-rows-icon-text/text-backgrounds-four-rows-icon-text.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/link/text-backgrounds-link.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/simple/text-backgrounds-simple.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/three-rows-icon-text/text-backgrounds-three-rows-icon-text.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/two-rows-icon-text/text-backgrounds-two-rows-icon-text.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/with-banner/text-backgrounds-with-banner.component.mjs +1 -1
- package/esm2020/lib/structures/text-backgrounds/with-txt/text-backgrounds-with-txt.component.mjs +1 -1
- package/esm2020/lib/structures/texts/double/texts-double.component.mjs +1 -1
- package/esm2020/lib/structures/texts/double-background/texts-double-background.component.mjs +1 -1
- package/esm2020/lib/structures/texts/one/texts-one.component.mjs +1 -1
- package/esm2020/lib/structures/texts/one-background/texts-one-background.component.mjs +1 -1
- package/esm2020/lib/structures/texts/quadruple/texts-quadruple.component.mjs +1 -1
- package/esm2020/lib/structures/texts/quadruple-background/texts-quadruple-background.component.mjs +1 -1
- package/esm2020/lib/structures/texts/triple/texts-triple.component.mjs +1 -1
- package/esm2020/lib/structures/texts/triple-background/texts-triple-background.component.mjs +1 -1
- package/esm2020/lib/structures/timer/airport/timer-airport.component.mjs +1 -1
- package/esm2020/lib/structures/timer/background/timer-background.component.mjs +1 -1
- package/esm2020/lib/structures/timer/clock/timer-clock.component.mjs +1 -1
- package/esm2020/lib/structures/timer/multiple-img/timer-multiple-img.component.mjs +1 -1
- package/esm2020/lib/structures/timer/simple/timer-simple.component.mjs +1 -1
- package/esm2020/lib/structures/witness/about-block/about-block.component.mjs +1 -1
- package/esm2020/lib/structures/witness/background-double/witness-background-double.component.mjs +1 -1
- package/esm2020/lib/structures/witness/background-one/witness-background-one.component.mjs +1 -1
- package/esm2020/lib/structures/witness/quadruple/witness-quadruple.component.mjs +1 -1
- package/esm2020/lib/structures/witness/triple/witness-triple.component.mjs +1 -1
- package/esm2020/lib/structures/witness/twice/witness-twice.component.mjs +1 -1
- package/fesm2015/wizishop-wizi-block.mjs +83 -79
- package/fesm2015/wizishop-wizi-block.mjs.map +1 -1
- package/fesm2020/wizishop-wizi-block.mjs +83 -79
- package/fesm2020/wizishop-wizi-block.mjs.map +1 -1
- package/lib/shared/components/structure-config/structure-config.component.d.ts +3 -2
- package/package.json +1 -1
- package/wizi-block.scss +24 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
2
|
import { StructureConfigService } from '../../../services/utils/structure-config.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
import * as i1 from "../../../services/utils/structure-config.service";
|
|
@@ -21,6 +21,7 @@ export class StructureConfigComponent {
|
|
|
21
21
|
this.isFullwidth = false;
|
|
22
22
|
this.small = false;
|
|
23
23
|
this.extraSmall = false;
|
|
24
|
+
this.isClose = new EventEmitter();
|
|
24
25
|
this.thisComponentActive = false;
|
|
25
26
|
this.hideThis = false;
|
|
26
27
|
this.TYPE_CONFIG_POSITION_RIGHT_TOP = TYPE_CONFIG_POSITION_RIGHT_TOP;
|
|
@@ -60,10 +61,11 @@ export class StructureConfigComponent {
|
|
|
60
61
|
disable() {
|
|
61
62
|
this.isActive = false;
|
|
62
63
|
this.structureConfigService.setStructureConfigWithUUID('', this.blockUUID);
|
|
64
|
+
this.isClose.emit(true);
|
|
63
65
|
}
|
|
64
66
|
}
|
|
65
67
|
StructureConfigComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StructureConfigComponent, deps: [{ token: i1.StructureConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
StructureConfigComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: StructureConfigComponent, selector: "wb-structure-config", inputs: { isActive: "isActive", blockUUID: "blockUUID", position: "position", isFullwidth: "isFullwidth", small: "small", extraSmall: "extraSmall" }, ngImport: i0, template: "<div\n [ngClass]=\"{ 'is-active': isActive, 'is-fullwidth': isFullwidth, small: small, 'extra-small': extraSmall }\"\n [class]=\"'wb-structure-config ' + position\"\n wbAutoHide\n triggerElement=\"wb-structure-config__tools\"\n (clickOutside)=\"disableIfActive()\"\n [forceOn]=\"['wb-structure-config', 'is-active']\"\n>\n <div\n class=\"wb-structure-config__tools is-tooltip-info\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n [nwbToolTipPosition]=\"\n position === TYPE_CONFIG_POSITION_RIGHT_TOP || position === TYPE_CONFIG_POSITION_RIGHT_BOTTOM ? 'left' : 'right'\n \"\n (click)=\"activeThis()\"\n [ngClass]=\"{\n 'has-other-element-opened': hideThis\n }\"\n >\n <i class=\"fas fa-sliders-hs\"></i>\n </div>\n <div class=\"wb-structure-config__content\">\n <div class=\"wb-structure-config__content__tools\" (click)=\"disable()\">\n <div class=\"close\"><i class=\"fas fa-times\"></i></div>\n </div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NwbToolTipDirective, selector: "[nwbToolTip]", inputs: ["nwbToolTip", "nwbToolTipPosition", "nwbToolTipIsMultiline"] }, { kind: "directive", type: i4.AutoHideDirective, selector: "[wbAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
|
68
|
+
StructureConfigComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: StructureConfigComponent, selector: "wb-structure-config", inputs: { isActive: "isActive", blockUUID: "blockUUID", position: "position", isFullwidth: "isFullwidth", small: "small", extraSmall: "extraSmall" }, outputs: { isClose: "isClose" }, ngImport: i0, template: "<div\n [ngClass]=\"{ 'is-active': isActive, 'is-fullwidth': isFullwidth, small: small, 'extra-small': extraSmall }\"\n [class]=\"'wb-structure-config ' + position\"\n wbAutoHide\n triggerElement=\"wb-structure-config__tools\"\n (clickOutside)=\"disableIfActive()\"\n [forceOn]=\"['wb-structure-config', 'is-active']\"\n>\n <div\n class=\"wb-structure-config__tools is-tooltip-info\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n [nwbToolTipPosition]=\"\n position === TYPE_CONFIG_POSITION_RIGHT_TOP || position === TYPE_CONFIG_POSITION_RIGHT_BOTTOM ? 'left' : 'right'\n \"\n (click)=\"activeThis()\"\n [ngClass]=\"{\n 'has-other-element-opened': hideThis\n }\"\n >\n <i class=\"fas fa-sliders-hs\"></i>\n </div>\n <div class=\"wb-structure-config__content\">\n <div class=\"wb-structure-config__content__tools\" (click)=\"disable()\">\n <div class=\"close\"><i class=\"fas fa-times\"></i></div>\n </div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NwbToolTipDirective, selector: "[nwbToolTip]", inputs: ["nwbToolTip", "nwbToolTipPosition", "nwbToolTipIsMultiline"] }, { kind: "directive", type: i4.AutoHideDirective, selector: "[wbAutoHide]", inputs: ["triggerElement", "forceOn"], outputs: ["clickOutside"] }, { kind: "pipe", type: i5.TranslatePipe, name: "translate" }] });
|
|
67
69
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: StructureConfigComponent, decorators: [{
|
|
68
70
|
type: Component,
|
|
69
71
|
args: [{ selector: 'wb-structure-config', template: "<div\n [ngClass]=\"{ 'is-active': isActive, 'is-fullwidth': isFullwidth, small: small, 'extra-small': extraSmall }\"\n [class]=\"'wb-structure-config ' + position\"\n wbAutoHide\n triggerElement=\"wb-structure-config__tools\"\n (clickOutside)=\"disableIfActive()\"\n [forceOn]=\"['wb-structure-config', 'is-active']\"\n>\n <div\n class=\"wb-structure-config__tools is-tooltip-info\"\n [nwbToolTip]=\"'wb.structureconfig.tooltip.1' | translate\"\n [nwbToolTipPosition]=\"\n position === TYPE_CONFIG_POSITION_RIGHT_TOP || position === TYPE_CONFIG_POSITION_RIGHT_BOTTOM ? 'left' : 'right'\n \"\n (click)=\"activeThis()\"\n [ngClass]=\"{\n 'has-other-element-opened': hideThis\n }\"\n >\n <i class=\"fas fa-sliders-hs\"></i>\n </div>\n <div class=\"wb-structure-config__content\">\n <div class=\"wb-structure-config__content__tools\" (click)=\"disable()\">\n <div class=\"close\"><i class=\"fas fa-times\"></i></div>\n </div>\n <div>\n <ng-content></ng-content>\n </div>\n </div>\n</div>\n" }]
|
|
@@ -79,5 +81,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImpor
|
|
|
79
81
|
type: Input
|
|
80
82
|
}], extraSmall: [{
|
|
81
83
|
type: Input
|
|
84
|
+
}], isClose: [{
|
|
85
|
+
type: Output
|
|
82
86
|
}] } });
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
87
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RydWN0dXJlLWNvbmZpZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy93aXppLWJsb2NrL3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NhYmxlKClcIj5cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJjbG9zZVwiPjxpIGNsYXNzPVwiZmFzIGZhLXRpbWVzXCI+PC9pPjwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdj5cbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -72,7 +72,7 @@ export class AmplifyProductZoomComponent extends StructuresComponent {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
AmplifyProductZoomComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
-
AmplifyProductZoomComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomComponent, selector: "wb-amplify-product-zoom", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-1\" *ngIf=\"selectedProduct.images_url\">\n <img [src]=\"image\" *ngFor=\"let image of selectedProduct.images_url\" />\n </div>\n <div class=\"column\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
75
|
+
AmplifyProductZoomComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomComponent, selector: "wb-amplify-product-zoom", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-1\" *ngIf=\"selectedProduct.images_url\">\n <img [src]=\"image\" *ngFor=\"let image of selectedProduct.images_url\" />\n </div>\n <div class=\"column\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
76
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
78
|
args: [{ selector: AmplifyProductZoomService.selector(), template: "<div class=\"wb-amplify-product-zoom\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-1\" *ngIf=\"selectedProduct.images_url\">\n <img [src]=\"image\" *ngFor=\"let image of selectedProduct.images_url\" />\n </div>\n <div class=\"column\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n</div>\n" }]
|
package/esm2020/lib/structures/amplify-product/zoom-more/amplify-product-zoom-more.component.mjs
CHANGED
|
@@ -73,7 +73,7 @@ export class AmplifyProductZoomMoreComponent extends StructuresComponent {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
AmplifyProductZoomMoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomMoreComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
76
|
-
AmplifyProductZoomMoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomMoreComponent, selector: "wb-amplify-product-zoom-more", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-more\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-more__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__selected\">\n <div\n class=\"wb-amplify-product-zoom-more__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <div class=\"columns\">\n <div class=\"column is-4\">\n <img [src]=\"selectedProduct.images_url[0]\" [ngClass]=\"{ 'is-active': selected === 0 }\" />\n </div>\n <div class=\"column is-4\" *ngFor=\"let image of selectedProduct.images_url | slice: 1:3; let i = index\">\n <img [src]=\"image\" [ngClass]=\"{ 'is-active': selected === i + 1 }\" />\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-more__selected__container-other\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-8\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\">\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
76
|
+
AmplifyProductZoomMoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomMoreComponent, selector: "wb-amplify-product-zoom-more", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-more\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-more__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__selected\">\n <div\n class=\"wb-amplify-product-zoom-more__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <div class=\"columns\">\n <div class=\"column is-4\">\n <img [src]=\"selectedProduct.images_url[0]\" [ngClass]=\"{ 'is-active': selected === 0 }\" />\n </div>\n <div class=\"column is-4\" *ngFor=\"let image of selectedProduct.images_url | slice: 1:3; let i = index\">\n <img [src]=\"image\" [ngClass]=\"{ 'is-active': selected === i + 1 }\" />\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-more__selected__container-other\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-8\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\">\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
77
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomMoreComponent, decorators: [{
|
|
78
78
|
type: Component,
|
|
79
79
|
args: [{ selector: AmplifyProductZoomMoreService.selector(), template: "<div class=\"wb-amplify-product-zoom-more\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-more__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-more__selected\">\n <div\n class=\"wb-amplify-product-zoom-more__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <div class=\"columns\">\n <div class=\"column is-4\">\n <img [src]=\"selectedProduct.images_url[0]\" [ngClass]=\"{ 'is-active': selected === 0 }\" />\n </div>\n <div class=\"column is-4\" *ngFor=\"let image of selectedProduct.images_url | slice: 1:3; let i = index\">\n <img [src]=\"image\" [ngClass]=\"{ 'is-active': selected === i + 1 }\" />\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-more__selected__container-other\">\n <div class=\"columns is-gapless\">\n <div class=\"column is-8\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\">\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
@@ -76,7 +76,7 @@ export class AmplifyProductZoomSelectedComponent extends StructuresComponent {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
AmplifyProductZoomSelectedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomSelectedComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
79
|
-
AmplifyProductZoomSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomSelectedComponent, selector: "wb-amplify-product-zoom-selected", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-selected\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-selected__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__selected\">\n <div\n class=\"wb-amplify-product-zoom-selected__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <img\n [src]=\"image\"\n *ngFor=\"let image of selectedProduct.images_url; let i = index\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n />\n <div class=\"wb-amplify-product-zoom-selected__selected__container-selector\" *ngIf=\"selectedProduct.images_url.length > 1\">\n <span\n *ngFor=\"let item of [].constructor(selectedProduct.images_url.length + 1); let i = index\"\n (click)=\"selectThisPhoto(i)\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n ></span>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-selected__selected__container-other\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
79
|
+
AmplifyProductZoomSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomSelectedComponent, selector: "wb-amplify-product-zoom-selected", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-selected\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-selected__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__selected\">\n <div\n class=\"wb-amplify-product-zoom-selected__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <img\n [src]=\"image\"\n *ngFor=\"let image of selectedProduct.images_url; let i = index\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n />\n <div class=\"wb-amplify-product-zoom-selected__selected__container-selector\" *ngIf=\"selectedProduct.images_url.length > 1\">\n <span\n *ngFor=\"let item of [].constructor(selectedProduct.images_url.length + 1); let i = index\"\n (click)=\"selectThisPhoto(i)\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n ></span>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-selected__selected__container-other\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
80
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomSelectedComponent, decorators: [{
|
|
81
81
|
type: Component,
|
|
82
82
|
args: [{ selector: AmplifyProductZoomSelectedService.selector(), template: "<div class=\"wb-amplify-product-zoom-selected\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-selected__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-selected__selected\">\n <div\n class=\"wb-amplify-product-zoom-selected__selected__container-image\"\n [ngClass]=\"{ 'has-more-image': selectedProduct.images_url.length > 1 }\"\n >\n <img\n [src]=\"image\"\n *ngFor=\"let image of selectedProduct.images_url; let i = index\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n />\n <div class=\"wb-amplify-product-zoom-selected__selected__container-selector\" *ngIf=\"selectedProduct.images_url.length > 1\">\n <span\n *ngFor=\"let item of [].constructor(selectedProduct.images_url.length + 1); let i = index\"\n (click)=\"selectThisPhoto(i)\"\n [ngClass]=\"{ 'is-active': selected === i }\"\n ></span>\n </div>\n </div>\n <div class=\"wb-amplify-product-zoom-selected__selected__container-other\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n </div>\n</div>\n" }]
|
|
@@ -72,7 +72,7 @@ export class AmplifyProductZoomTripleColumnComponent extends StructuresComponent
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
AmplifyProductZoomTripleColumnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomTripleColumnComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
-
AmplifyProductZoomTripleColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomTripleColumnComponent, selector: "wb-amplify-product-zoom-triple-column", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-triple-column\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-triple-column__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"container-img\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <a>{{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT] }}</a>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
75
|
+
AmplifyProductZoomTripleColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductZoomTripleColumnComponent, selector: "wb-amplify-product-zoom-triple-column", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-product-zoom-triple-column\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-triple-column__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"container-img\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <a>{{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT] }}</a>\n </div>\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i7.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i8.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i9.TranslatePipe, name: "translate" }] });
|
|
76
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductZoomTripleColumnComponent, decorators: [{
|
|
77
77
|
type: Component,
|
|
78
78
|
args: [{ selector: AmplifyProductZoomTripleColumnService.selector(), template: "<div class=\"wb-amplify-product-zoom-triple-column\">\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__product-config\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n ></wb-structure-amplify-search-product>\n </wb-structure-config>\n </div>\n <wb-loader *ngIf=\"isLoading\"></wb-loader>\n <div class=\"wb-amplify-product-zoom-triple-column__noproduct\" *ngIf=\"!isLoading && selectedProduct === null\">\n <wb-structure-amplify-search-product\n [label]=\"'wb.structures.template.1' | translate\"\n (newSearch)=\"prodSearched($event)\"\n [type]=\"type\"\n (changeType)=\"changeType($event)\"\n [searchNumber]=\"1\"\n ></wb-structure-amplify-search-product>\n </div>\n <div *ngIf=\"!isLoading && selectedProduct\" class=\"wb-amplify-product-zoom-triple-column__selected\">\n <div class=\"columns is-gapless\">\n <div class=\"column\">\n <div class=\"container-img\">\n <img [src]=\"selectedProduct.images_url[0]\" />\n </div>\n </div>\n <div class=\"column\">\n <h3>{{ selectedProduct.title }}</h3>\n <div *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <p>{{ selectedProduct.price | number: '1.2-2' }} {{ devise }}</p>\n </div>\n <div class=\"column\" [style.background-color]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_COLOR]\">\n <a>{{ contents[BASE_BLOCK_CONTENT][FORM_NAME_TEXT] }}</a>\n </div>\n </div>\n </div>\n</div>\n" }]
|
|
@@ -87,7 +87,7 @@ export class AmplifyProductsListClassicComponent extends StructuresComponent {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
AmplifyProductsListClassicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListClassicComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
AmplifyProductsListClassicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListClassicComponent, selector: "wb-amplify-products-list-classic", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-classic\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-classic__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-classic__list\"\n *ngIf=\"catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:12\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
90
|
+
AmplifyProductsListClassicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListClassicComponent, selector: "wb-amplify-products-list-classic", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-classic\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-classic__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-classic__list\"\n *ngIf=\"catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:12\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
91
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListClassicComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{ selector: AmplifyProductsListClassicService.selector(), template: "<div class=\"wb-amplify-products-list-classic\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-classic__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-classic__list\"\n *ngIf=\"catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:12\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-classic__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n" }]
|
|
@@ -87,7 +87,7 @@ export class AmplifyProductsListSelectedComponent extends StructuresComponent {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
AmplifyProductsListSelectedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListSelectedComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
AmplifyProductsListSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListSelectedComponent, selector: "wb-amplify-products-list-selected", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-selected\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-selected__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-selected__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[0].images_url[0]\"\n [alt]=\"catalogSelection.results[0].title\"\n *ngIf=\"catalogSelection.results[0].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[0].title }}</p>\n <p>{{ catalogSelection.results[0].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 1:5\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 5 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] !== '1'\">\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 6:10\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[5].images_url[0]\"\n [alt]=\"catalogSelection.results[5].title\"\n *ngIf=\"catalogSelection.results[5].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[5].title }}</p>\n <p>{{ catalogSelection.results[5].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 10 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] === '3'\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[10].images_url[0]\"\n [alt]=\"catalogSelection.results[10].title\"\n *ngIf=\"catalogSelection.results[10].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[10].title }}</p>\n <p>{{ catalogSelection.results[10].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 11:15\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-selected__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n\n <div class=\"wb-amplify-products-list-selected__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
90
|
+
AmplifyProductsListSelectedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListSelectedComponent, selector: "wb-amplify-products-list-selected", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-selected\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-selected__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-selected__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[0].images_url[0]\"\n [alt]=\"catalogSelection.results[0].title\"\n *ngIf=\"catalogSelection.results[0].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[0].title }}</p>\n <p>{{ catalogSelection.results[0].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 1:5\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 5 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] !== '1'\">\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 6:10\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[5].images_url[0]\"\n [alt]=\"catalogSelection.results[5].title\"\n *ngIf=\"catalogSelection.results[5].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[5].title }}</p>\n <p>{{ catalogSelection.results[5].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 10 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] === '3'\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[10].images_url[0]\"\n [alt]=\"catalogSelection.results[10].title\"\n *ngIf=\"catalogSelection.results[10].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[10].title }}</p>\n <p>{{ catalogSelection.results[10].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 11:15\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-selected__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n\n <div class=\"wb-amplify-products-list-selected__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
91
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListSelectedComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{ selector: AmplifyProductsListSelectedService.selector(), template: "<div class=\"wb-amplify-products-list-selected\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-selected__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-selected__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div class=\"columns\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[0].images_url[0]\"\n [alt]=\"catalogSelection.results[0].title\"\n *ngIf=\"catalogSelection.results[0].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[0].title }}</p>\n <p>{{ catalogSelection.results[0].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 1:5\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 5 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] !== '1'\">\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 6:10\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[5].images_url[0]\"\n [alt]=\"catalogSelection.results[5].title\"\n *ngIf=\"catalogSelection.results[5].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[5].title }}</p>\n <p>{{ catalogSelection.results[5].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n <div class=\"columns\" *ngIf=\"catalogSelection.results.length > 10 && contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE] === '3'\">\n <div class=\"column\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img\n [src]=\"catalogSelection.results[10].images_url[0]\"\n [alt]=\"catalogSelection.results[10].title\"\n *ngIf=\"catalogSelection.results[10].images_url.length\"\n />\n </div>\n <p>{{ catalogSelection.results[10].title }}</p>\n <p>{{ catalogSelection.results[10].price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"columns is-gapless is-multiline wb-amplify-products-list-selected__list__second\">\n <div *ngFor=\"let product of catalogSelection.results | slice: 11:15\" class=\"column is-6\">\n <div class=\"wb-amplify-products-list-selected__list__product\">\n <div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-selected__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n\n <div class=\"wb-amplify-products-list-selected__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n" }]
|
|
@@ -87,7 +87,7 @@ export class AmplifyProductsListSimpleComponent extends StructuresComponent {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
AmplifyProductsListSimpleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListSimpleComponent, deps: [{ token: i1.ApiService }, { token: i2.ExternalConfigService }], target: i0.ɵɵFactoryTarget.Component });
|
|
90
|
-
AmplifyProductsListSimpleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListSimpleComponent, selector: "wb-amplify-products-list-simple", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-simple\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-simple__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-simple__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:9\">\n <div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
90
|
+
AmplifyProductsListSimpleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: AmplifyProductsListSimpleComponent, selector: "wb-amplify-products-list-simple", viewQueries: [{ propertyName: "content", first: true, predicate: ["structureSearchProduct"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"wb-amplify-products-list-simple\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-simple__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-simple__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:9\">\n <div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i5.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureAmplifySearchProductComponent, selector: "wb-structure-amplify-search-product", inputs: ["label", "placeholder", "searchNumber", "selectedProd", "type"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i8.StructureAmplifySearchCategoryComponent, selector: "wb-structure-amplify-search-category", inputs: ["label", "placeholder", "selectedCategory"], outputs: ["newSearch", "changeType"] }, { kind: "component", type: i9.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i10.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i3.SlicePipe, name: "slice" }, { kind: "pipe", type: i3.DecimalPipe, name: "number" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
91
91
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: AmplifyProductsListSimpleComponent, decorators: [{
|
|
92
92
|
type: Component,
|
|
93
93
|
args: [{ selector: AmplifyProductsListSimpleService.selector(), template: "<div class=\"wb-amplify-products-list-simple\" [ngClass]=\"'nb-ligne-' + contents[BASE_BLOCK_CONTENT][FORM_NAME_NBLIGNE]\">\n <div *ngIf=\"catalogSelection\">\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-checkbox\n [label]=\"'wb.structures.template.3' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE]\"\n (ngModelChange)=\"persist()\"\n [off]=\"false\"\n [on]=\"true\"\n ></wb-structure-config-checkbox>\n <wb-structure-amplify-search-product\n #structureSearchProduct\n [searchNumber]=\"20\"\n [type]=\"type\"\n [label]=\"'wb.structures.template.4' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeProduct($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </wb-structure-config>\n </div>\n <div class=\"wb-amplify-products-list-simple__text\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_SHOW_TITLE] && catalogSelection\">\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <wb-loader *ngIf=\"isLoading\" class=\"is-fullsize\"></wb-loader>\n <div *ngIf=\"catalogSelection !== null\">\n <div\n class=\"wb-amplify-products-list-simple__list\"\n *ngIf=\"catalogSelection && catalogSelection !== undefined && catalogSelection.results && catalogSelection.results.length\"\n >\n <div *ngFor=\"let product of catalogSelection.results | slice: 0:9\">\n <div>\n <p>{{ product.title }}</p>\n <p>{{ product.price | number: '1.2-2' }}{{ devise }}</p>\n <a>{{ 'wb.structures.template.2' | translate }}</a>\n </div>\n <img [src]=\"product.images_url[0]\" [alt]=\"product.title\" *ngIf=\"product.images_url.length\" />\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__nolist\" *ngIf=\"!catalogSelection.results || catalogSelection.results.length === 0\">\n <p>{{ 'wb.structures.template.6' | translate }}</p>\n </div>\n </div>\n <div class=\"wb-amplify-products-list-simple__noproduct\" *ngIf=\"catalogSelection === null && !isLoading\">\n <wb-structure-amplify-search-product\n [searchNumber]=\"20\"\n [label]=\"'wb.structures.template.4' | translate\"\n [type]=\"type\"\n (newSearch)=\"changeProduct($event)\"\n (changeType)=\"changeType($event)\"\n [selectedProd]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_LIST_PRODUCT]\"\n ></wb-structure-amplify-search-product>\n <wb-structure-amplify-search-category\n [label]=\"'wb.structures.template.5' | translate\"\n (changeType)=\"changeType($event)\"\n (newSearch)=\"changeCategory($event)\"\n [selectedCategory]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_AMPLIFY_CATEGORY]\"\n ></wb-structure-amplify-search-category>\n </div>\n</div>\n" }]
|
|
@@ -75,7 +75,7 @@ export class FormsImageleftComponent extends StructuresComponent {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
FormsImageleftComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FormsImageleftComponent, deps: [{ token: i1.ApiService }], target: i0.ɵɵFactoryTarget.Component });
|
|
78
|
-
FormsImageleftComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: FormsImageleftComponent, selector: "wb-forms-imageleft", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-forms-imageleft\">\n <div class=\"columns is-gapless\" *ngIf=\"!noForms\">\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__image\">\n <div class=\"wb-forms-imageleft__form__image__container\">\n <div class=\"wb-forms-imageleft__form__image__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\">\n <div>\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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 [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-forms-imageleft__form__image__noimages\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__container\">\n <div *ngIf=\"selectedDetailForm.length === 0\">\n <div *ngIf=\"forms.length === 0\" class=\"wb-forms-imageleft__loader\">\n <wb-loader></wb-loader>\n </div>\n <div class=\"wb-forms-imageleft__selector\" *ngIf=\"forms.length > 0\">\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n </div>\n </div>\n <div *ngIf=\"selectedDetailForm.length > 0\" class=\"wb-forms-imageleft__container\">\n <div class=\"wb-forms-imageleft__container__editor\">\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__container__content\">\n <div *ngFor=\"let select of selectedDetailForm\">\n <div class=\"form-{{ select.type }}\">\n <p [innerHTML]=\"select.title\"></p>\n <p>{{ select.type | answerPipe | translate }}</p>\n </div>\n </div>\n <div>\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n \n <button>{{ selectedValue.submit_label }}</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__noForms\" *ngIf=\"noForms\">\n <p>{{ 'Wiziblocks.noForms' | translate }}</p>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"] }, { kind: "component", type: i5.StructureConfigInputComponent, selector: "wb-structure-config-input", inputs: ["label", "type", "placeholder", "resizeMiddleScreen"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureSelectComponent, selector: "wb-structure-select", inputs: ["selectedValue", "forms", "large", "icon", "label"], outputs: ["changed"] }, { kind: "component", type: i8.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i9.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i10.AnswerTypePipe, name: "answerPipe" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
78
|
+
FormsImageleftComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: FormsImageleftComponent, selector: "wb-forms-imageleft", usesInheritance: true, ngImport: i0, template: "<div class=\"wb-forms-imageleft\">\n <div class=\"columns is-gapless\" *ngIf=\"!noForms\">\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__image\">\n <div class=\"wb-forms-imageleft__form__image__container\">\n <div class=\"wb-forms-imageleft__form__image__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\">\n <div>\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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 [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-forms-imageleft__form__image__noimages\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__container\">\n <div *ngIf=\"selectedDetailForm.length === 0\">\n <div *ngIf=\"forms.length === 0\" class=\"wb-forms-imageleft__loader\">\n <wb-loader></wb-loader>\n </div>\n <div class=\"wb-forms-imageleft__selector\" *ngIf=\"forms.length > 0\">\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n </div>\n </div>\n <div *ngIf=\"selectedDetailForm.length > 0\" class=\"wb-forms-imageleft__container\">\n <div class=\"wb-forms-imageleft__container__editor\">\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__container__content\">\n <div *ngFor=\"let select of selectedDetailForm\">\n <div class=\"form-{{ select.type }}\">\n <p [innerHTML]=\"select.title\"></p>\n <p>{{ select.type | answerPipe | translate }}</p>\n </div>\n </div>\n <div>\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n \n <button>{{ selectedValue.submit_label }}</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__noForms\" *ngIf=\"noForms\">\n <p>{{ 'Wiziblocks.noForms' | translate }}</p>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i4.StructureConfigComponent, selector: "wb-structure-config", inputs: ["isActive", "blockUUID", "position", "isFullwidth", "small", "extraSmall"], outputs: ["isClose"] }, { kind: "component", type: i5.StructureConfigInputComponent, selector: "wb-structure-config-input", inputs: ["label", "type", "placeholder", "resizeMiddleScreen"] }, { kind: "component", type: i6.StructureConfigCheckboxComponent, selector: "wb-structure-config-checkbox", inputs: ["label", "on", "off"] }, { kind: "component", type: i7.StructureSelectComponent, selector: "wb-structure-select", inputs: ["selectedValue", "forms", "large", "icon", "label"], outputs: ["changed"] }, { kind: "component", type: i8.LoaderComponent, selector: "wb-loader" }, { kind: "component", type: i9.WiziEditorComponent, selector: "wz-editor", inputs: ["placeholder", "position"] }, { kind: "pipe", type: i10.AnswerTypePipe, name: "answerPipe" }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
|
|
79
79
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: FormsImageleftComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{ selector: FormsImageleftService.selector(), template: "<div class=\"wb-forms-imageleft\">\n <div class=\"columns is-gapless\" *ngIf=\"!noForms\">\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__image\">\n <div class=\"wb-forms-imageleft__form__image__container\">\n <div class=\"wb-forms-imageleft__form__image__container__images\" *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\">\n <div>\n <wb-structure-config [blockUUID]=\"uuid\" [position]=\"TYPE_CONFIG_POSITION_LEFT_TOP\" [isFullwidth]=\"true\">\n <wb-structure-config-input\n [label]=\"'wb.structures.template.9' | translate\"\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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)]=\"contents[BASE_BLOCK_CONTENT][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 [style.background-image]=\"'url(' + contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE][FORM_NAME_IMAGE_URL] + ')'\"\n *ngIf=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n ></div>\n </div>\n </div>\n </div>\n <div\n class=\"wb-forms-imageleft__form__image__noimages\"\n *ngIf=\"!contents[BASE_BLOCK_CONTENT][FORM_NAME_IMAGE]\"\n (click)=\"getMedia()\"\n >\n <p>\n <i class=\"fal fa-image\"></i> <span>{{ 'wb.structures.template.8' | translate }}</span>\n </p>\n </div>\n </div>\n </div>\n <div class=\"column\">\n <div class=\"wb-forms-imageleft__form__container\">\n <div *ngIf=\"selectedDetailForm.length === 0\">\n <div *ngIf=\"forms.length === 0\" class=\"wb-forms-imageleft__loader\">\n <wb-loader></wb-loader>\n </div>\n <div class=\"wb-forms-imageleft__selector\" *ngIf=\"forms.length > 0\">\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n </div>\n </div>\n <div *ngIf=\"selectedDetailForm.length > 0\" class=\"wb-forms-imageleft__container\">\n <div class=\"wb-forms-imageleft__container__editor\">\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_TITLE]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n <div>\n <wz-editor\n [(ngModel)]=\"contents[BASE_BLOCK_CONTENT][FORM_NAME_CONTENT]\"\n (ngModelChange)=\"persist()\"\n [placeholder]=\"'wb.shared.components.quill.1' | translate\"\n >\n </wz-editor>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__container__content\">\n <div *ngFor=\"let select of selectedDetailForm\">\n <div class=\"form-{{ select.type }}\">\n <p [innerHTML]=\"select.title\"></p>\n <p>{{ select.type | answerPipe | translate }}</p>\n </div>\n </div>\n <div>\n <wb-structure-select\n [selectedValue]=\"selectedValue\"\n [forms]=\"forms\"\n (changed)=\"selectedValue = $event; selectThisForm()\"\n ></wb-structure-select>\n \n <button>{{ selectedValue.submit_label }}</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"wb-forms-imageleft__noForms\" *ngIf=\"noForms\">\n <p>{{ 'Wiziblocks.noForms' | translate }}</p>\n </div>\n</div>\n" }]
|