ctt-puro 0.45.10 → 0.46.0
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/esm2022/lib/components/puro-banner-slider/puro-banner-slider.component.mjs +10 -5
- package/esm2022/lib/components/puro-banner4col/puro-banner4col.component.mjs +6 -5
- package/esm2022/lib/components/puro-blog-list/puro-blog-list.component.mjs +6 -5
- package/esm2022/lib/components/puro-blog-post/puro-blog-post.component.mjs +11 -5
- package/esm2022/lib/components/puro-careers-form/puro-careers-form.component.mjs +6 -4
- package/esm2022/lib/components/puro-events-form/puro-events-form.component.mjs +5 -4
- package/esm2022/lib/components/puro-faqs-img/puro-faqs-img.component.mjs +6 -5
- package/esm2022/lib/components/puro-footer-hotels/puro-footer-hotels.component.mjs +9 -4
- package/esm2022/lib/components/puro-footer-info/puro-footer-info.component.mjs +6 -5
- package/esm2022/lib/components/puro-footer-links/puro-footer-links.component.mjs +10 -5
- package/esm2022/lib/components/puro-gallery/puro-gallery.component.mjs +6 -5
- package/esm2022/lib/components/puro-grid3col-filter/puro-grid3col-filter.component.mjs +10 -5
- package/esm2022/lib/components/puro-grid3col-plus-filter/puro-grid3col-plus-filter.component.mjs +5 -4
- package/esm2022/lib/components/puro-grid3col-slider/puro-grid3col-slider.component.mjs +5 -4
- package/esm2022/lib/components/puro-grid4items/puro-grid4items.component.mjs +5 -4
- package/esm2022/lib/components/puro-grid5items/puro-grid5items.component.mjs +11 -5
- package/esm2022/lib/components/puro-grid6items/puro-grid6items.component.mjs +11 -5
- package/esm2022/lib/components/puro-hotels-modal/puro-hotels-modal.component.mjs +11 -5
- package/esm2022/lib/components/puro-img-info/puro-img-info.component.mjs +5 -4
- package/esm2022/lib/components/puro-info-banner/puro-info-banner.component.mjs +11 -5
- package/esm2022/lib/components/puro-info-gallery/puro-info-gallery.component.mjs +5 -4
- package/esm2022/lib/components/puro-info-list/puro-info-list.component.mjs +7 -3
- package/esm2022/lib/components/puro-info-services/puro-info-services.component.mjs +11 -5
- package/esm2022/lib/components/puro-info-slider/puro-info-slider.component.mjs +13 -5
- package/esm2022/lib/components/puro-info2col/puro-info2col.component.mjs +12 -5
- package/esm2022/lib/components/puro-list-awards/puro-list-awards.component.mjs +11 -5
- package/esm2022/lib/components/puro-list-general/puro-list-general.component.mjs +11 -5
- package/esm2022/lib/components/puro-list-logos/puro-list-logos.component.mjs +5 -4
- package/esm2022/lib/components/puro-list-restaurants/puro-list-restaurants.component.mjs +11 -5
- package/esm2022/lib/components/puro-map-list/puro-map-list.component.mjs +10 -4
- package/esm2022/lib/components/puro-modal-info/puro-modal-info.component.mjs +11 -5
- package/esm2022/lib/components/puro-modal-options/puro-modal-options.component.mjs +12 -6
- package/esm2022/lib/components/puro-music-slider/puro-music-slider.component.mjs +9 -5
- package/esm2022/lib/components/puro-newsletter/puro-newsletter.component.mjs +5 -3
- package/esm2022/lib/components/puro-offer-banner/puro-offer-banner.component.mjs +6 -5
- package/esm2022/lib/components/puro-offers-slider/puro-offers-slider.component.mjs +11 -5
- package/esm2022/lib/components/puro-photo-slider/puro-photo-slider.component.mjs +11 -5
- package/esm2022/lib/components/puro-projects-form/puro-projects-form.component.mjs +11 -4
- package/esm2022/lib/components/puro-slider-4items/puro-slider-4items.component.mjs +9 -5
- package/esm2022/lib/components/puro-slider1col/puro-slider1col.component.mjs +5 -4
- package/esm2022/lib/components/puro-slider2col/puro-slider2col.component.mjs +11 -5
- package/esm2022/lib/components/puro-slider3card/puro-slider3card.component.mjs +11 -5
- package/esm2022/lib/components/puro-slider3col/puro-slider3col.component.mjs +8 -3
- package/esm2022/lib/components/puro-slider3col-round/puro-slider3col-round.component.mjs +8 -3
- package/esm2022/lib/components/puro-thanks/puro-thanks.component.mjs +10 -5
- package/esm2022/lib/components/puro-timeline/puro-timeline.component.mjs +5 -4
- package/esm2022/lib/components/puro-top-slider/puro-top-slider.component.mjs +6 -5
- package/esm2022/lib/components/puro-vertical-info/puro-vertical-info.component.mjs +5 -4
- package/esm2022/lib/components/puro-webmap/puro-webmap.component.mjs +10 -5
- package/esm2022/lib/components/puro-zigzag2col/puro-zigzag2col.component.mjs +10 -5
- package/esm2022/lib/directives/index.mjs +2 -1
- package/esm2022/lib/directives/puro-img-wrapper/puro-img-wrapper.directive.mjs +38 -0
- package/esm2022/lib/utils/utils.mjs +6 -4
- package/fesm2022/ctt-puro.mjs +318 -92
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/lib/components/puro-banner-slider/puro-banner-slider.component.d.ts +1 -1
- package/lib/components/puro-careers-form/puro-careers-form.component.d.ts +3 -3
- package/lib/components/puro-faqs-img/puro-faqs-img.component.d.ts +1 -1
- package/lib/components/puro-gallery/puro-gallery.component.d.ts +1 -1
- package/lib/components/puro-grid3col-filter/puro-grid3col-filter.component.d.ts +1 -2
- package/lib/components/puro-info-services/puro-info-services.component.d.ts +1 -1
- package/lib/components/puro-info-slider/puro-info-slider.component.d.ts +1 -2
- package/lib/components/puro-projects-form/puro-projects-form.component.d.ts +1 -1
- package/lib/directives/index.d.ts +1 -0
- package/lib/directives/puro-img-wrapper/puro-img-wrapper.directive.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
1
|
+
import { CommonModule, NgOptimizedImage, } from '@angular/common';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { PuroActiveModalDirective, PuroLinkTypeDirective, } from '../../directives';
|
|
3
|
+
import { AutoImageZoomWrapperDirective, PuroActiveModalDirective, PuroLinkTypeDirective, } from '../../directives';
|
|
4
4
|
import { PuroCurrencyPipe } from '../../pipes';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export class PuroOfferBannerComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroOfferBannerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroOfferBannerComponent, isStandalone: true, selector: "lib-puro-offer-banner", inputs: { title: "title", from: "from", price: "price", currency: "currency", button: "button", image: "image" }, ngImport: i0, template: "<aside class=\"toasts toasts--offers\">\n <div class=\"toasts__inner\">\n <div class=\"toasts__body\">\n <div\n activeModal\n class=\"toasts__close js-close\"\n data-modal_name=\"t-offers\"\n role=\"button\"\n aria-label=\"Close Button\"\n >\n <span class=\"toasts__close--icon icon-95\"></span>\n </div>\n <div class=\"toasts__graphics\">\n @if (image) {\n <img\n class=\"toasts__graphics--img\"\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"502\"\n height=\"355\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"toasts__content\">\n <p>{{ title }}</p>\n <div class=\"toasts__discountSection\">\n <p class=\"toasts__discountPrice\">\n <span>{{ from }}</span>\n <strong\n >{{ price }}\n @if (currency) {\n <span>{{ currency | currencySymbol }}</span>\n }\n </strong>\n </p>\n <a\n [linkType]=\"button?.linkType\"\n [href]=\"button?.url\"\n role=\"button\"\n class=\"btn btn__primary--outline btn__reversed\"\n [attr.aria-label]=\"button?.label ?? 'Item button'\"\n >\n <span>{{ button?.label }}</span></a\n >\n </div>\n </div>\n </div>\n </div>\n</aside>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroActiveModalDirective, selector: "[activeModal]" }, { kind: "pipe", type: PuroCurrencyPipe, name: "currencySymbol" }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroOfferBannerComponent, isStandalone: true, selector: "lib-puro-offer-banner", inputs: { title: "title", from: "from", price: "price", currency: "currency", button: "button", image: "image" }, ngImport: i0, template: "<aside class=\"toasts toasts--offers\">\n <div class=\"toasts__inner\">\n <div class=\"toasts__body\">\n <div\n activeModal\n class=\"toasts__close js-close\"\n data-modal_name=\"t-offers\"\n role=\"button\"\n aria-label=\"Close Button\"\n >\n <span class=\"toasts__close--icon icon-95\"></span>\n </div>\n <div class=\"toasts__graphics\">\n @if (image) {\n <img\n class=\"toasts__graphics--img\"\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"502\"\n height=\"355\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"toasts__content\">\n <p>{{ title }}</p>\n <div class=\"toasts__discountSection\">\n <p class=\"toasts__discountPrice\">\n <span>{{ from }}</span>\n <strong\n >{{ price }}\n @if (currency) {\n <span>{{ currency | currencySymbol }}</span>\n }\n </strong>\n </p>\n <a\n [linkType]=\"button?.linkType\"\n [href]=\"button?.url\"\n role=\"button\"\n class=\"btn btn__primary--outline btn__reversed\"\n [attr.aria-label]=\"button?.label ?? 'Item button'\"\n >\n <span>{{ button?.label }}</span></a\n >\n </div>\n </div>\n </div>\n </div>\n</aside>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroActiveModalDirective, selector: "[activeModal]" }, { kind: "pipe", type: PuroCurrencyPipe, name: "currencySymbol" }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "directive", type: AutoImageZoomWrapperDirective, selector: "img[ngSrc], img[src]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroOfferBannerComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
@@ -14,7 +14,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
14
14
|
PuroLinkTypeDirective,
|
|
15
15
|
PuroActiveModalDirective,
|
|
16
16
|
PuroCurrencyPipe,
|
|
17
|
-
NgOptimizedImage
|
|
17
|
+
NgOptimizedImage,
|
|
18
|
+
AutoImageZoomWrapperDirective,
|
|
18
19
|
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<aside class=\"toasts toasts--offers\">\n <div class=\"toasts__inner\">\n <div class=\"toasts__body\">\n <div\n activeModal\n class=\"toasts__close js-close\"\n data-modal_name=\"t-offers\"\n role=\"button\"\n aria-label=\"Close Button\"\n >\n <span class=\"toasts__close--icon icon-95\"></span>\n </div>\n <div class=\"toasts__graphics\">\n @if (image) {\n <img\n class=\"toasts__graphics--img\"\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"502\"\n height=\"355\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"toasts__content\">\n <p>{{ title }}</p>\n <div class=\"toasts__discountSection\">\n <p class=\"toasts__discountPrice\">\n <span>{{ from }}</span>\n <strong\n >{{ price }}\n @if (currency) {\n <span>{{ currency | currencySymbol }}</span>\n }\n </strong>\n </p>\n <a\n [linkType]=\"button?.linkType\"\n [href]=\"button?.url\"\n role=\"button\"\n class=\"btn btn__primary--outline btn__reversed\"\n [attr.aria-label]=\"button?.label ?? 'Item button'\"\n >\n <span>{{ button?.label }}</span></a\n >\n </div>\n </div>\n </div>\n </div>\n</aside>\n" }]
|
|
19
20
|
}], propDecorators: { title: [{
|
|
20
21
|
type: Input
|
|
@@ -29,4 +30,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
29
30
|
}], image: [{
|
|
30
31
|
type: Input
|
|
31
32
|
}] } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1vZmZlci1iYW5uZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1vZmZlci1iYW5uZXIvcHVyby1vZmZlci1iYW5uZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1vZmZlci1iYW5uZXIvcHVyby1vZmZlci1iYW5uZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFlBQVksRUFDWixnQkFBZ0IsR0FDbkIsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRSxPQUFPLEVBQ0gsNkJBQTZCLEVBQzdCLHdCQUF3QixFQUN4QixxQkFBcUIsR0FDeEIsTUFBTSxrQkFBa0IsQ0FBQztBQUUxQixPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxhQUFhLENBQUM7O0FBaUIvQyxNQUFNLE9BQU8sd0JBQXdCOytHQUF4Qix3QkFBd0I7bUdBQXhCLHdCQUF3QixtTUM1QnJDLHM0REFrREEseUREakNRLFlBQVksK0JBQ1oscUJBQXFCLDRJQUNyQix3QkFBd0IscURBQ3hCLGd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gICAgICAgICBjbGFzcz1cInRvYXN0c19fY2xvc2UganMtY2xvc2VcIlxuICAgICAgICAgICAgICAgIGRhdGEtbW9kYWxfbmFtZT1cInQtb2ZmZXJzXCJcbiAgICAgICAgICAgICAgICByb2xlPVwiYnV0dG9uXCJcbiAgICAgICAgICAgICAgICBhcmlhLWxhYmVsPVwiQ2xvc2UgQnV0dG9uXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8c3BhbiBjbGFzcz1cInRvYXN0c19fY2xvc2UtLWljb24gaWNvbi05NVwiPjwvc3Bhbj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRvYXN0c19fZ3JhcGhpY3NcIj5cbiAgICAgICAgICAgICAgICBAaWYgKGltYWdlKSB7XG4gICAgICAgICAgICAgICAgICAgIDxpbWdcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidG9hc3RzX19ncmFwaGljcy0taW1nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1NyY109XCJpbWFnZS5zcmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2FsdF09XCJpbWFnZS5hbHRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9XCI1MDJcIlxuICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0PVwiMzU1XCJcbiAgICAgICAgICAgICAgICAgICAgICAgIGRlY29kaW5nPVwiYXN5bmNcIlxuICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRvYXN0c19fY29udGVudFwiPlxuICAgICAgICAgICAgICAgIDxwPnt7IHRpdGxlIH19PC9wPlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJ0b2FzdHNfX2Rpc2NvdW50U2VjdGlvblwiPlxuICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cInRvYXN0c19fZGlzY291bnRQcmljZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3sgZnJvbSB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxzdHJvbmdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA+e3sgcHJpY2UgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGN1cnJlbmN5KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuPnt7IGN1cnJlbmN5IHwgY3VycmVuY3lTeW1ib2wgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zdHJvbmc+XG4gICAgICAgICAgICAgICAgICAgIDwvcD5cbiAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgIFtsaW5rVHlwZV09XCJidXR0b24/LmxpbmtUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cImJ1dHRvbj8udXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgIHJvbGU9XCJidXR0b25cIlxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuX19wcmltYXJ5LS1vdXRsaW5lIGJ0bl9fcmV2ZXJzZWRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJidXR0b24/LmxhYmVsID8/ICdJdGVtIGJ1dHRvbidcIlxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj57eyBidXR0b24/LmxhYmVsIH19PC9zcGFuPjwvYVxuICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgPC9kaXY+XG4gICAgPC9kaXY+XG48L2FzaWRlPlxuIl19
|
|
@@ -1,18 +1,24 @@
|
|
|
1
|
-
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
1
|
+
import { CommonModule, NgOptimizedImage, } from '@angular/common';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { PuroLinkTypeDirective, PuroSliderDirective } from '../../directives';
|
|
3
|
+
import { AutoImageZoomWrapperDirective, PuroLinkTypeDirective, PuroSliderDirective } from '../../directives';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
export class PuroOffersSliderComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroOffersSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroOffersSliderComponent, isStandalone: true, selector: "lib-puro-offers-slider", inputs: { title: "title", items: "items" }, ngImport: i0, template: "<section\n class=\"offers js-active-slider\"\n [puroSlider]=\"items\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-offers-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"2\"\n data-slides_laptop=\"2\"\n data-slides_tablet=\"2\"\n data-slides_mobile=\"1\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n <div class=\"offers__inner relative\">\n <div class=\"offers__container\">\n @if (title) {\n <span class=\"offers__title\">{{ title }}</span>\n }\n <div class=\"js-offers-slider offers__slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"offers__box\">\n <div class=\"offers__graphic js-slider_fix-arrows-zone\">\n @if (item.img) {\n <img\n [ngSrc]=\"item.img.src\"\n [alt]=\"item.img.alt\"\n width=\"535\"\n height=\"397\"\n class=\"offers__graphic--img\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"offers__content\">\n @if (item.tag) {\n <span class=\"offers__label\">{{\n item.tag\n }}</span>\n }\n @if (item.title) {\n <h2 class=\"offers__heading\">\n {{ item.title }}\n </h2>\n }\n @if (item.subtitle) {\n <p class=\"offers__subHeading\">\n {{ item.subtitle }}\n </p>\n }\n @if (item.buttons) {\n <div class=\"btn__group\">\n @for (\n button of item.buttons;\n track $index\n ) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n 'btn__primary--outline':\n $index === 0,\n btn__primary: $index === 1,\n }\"\n [attr.aria-label]=\"button.label\"\n >{{ button.label }}</a\n >\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroSliderDirective, selector: "[puroSlider]", inputs: ["puroSlider"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroOffersSliderComponent, isStandalone: true, selector: "lib-puro-offers-slider", inputs: { title: "title", items: "items" }, ngImport: i0, template: "<section\n class=\"offers js-active-slider\"\n [puroSlider]=\"items\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-offers-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"2\"\n data-slides_laptop=\"2\"\n data-slides_tablet=\"2\"\n data-slides_mobile=\"1\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n <div class=\"offers__inner relative\">\n <div class=\"offers__container\">\n @if (title) {\n <span class=\"offers__title\">{{ title }}</span>\n }\n <div class=\"js-offers-slider offers__slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"offers__box\">\n <div class=\"offers__graphic js-slider_fix-arrows-zone\">\n @if (item.img) {\n <img\n [ngSrc]=\"item.img.src\"\n [alt]=\"item.img.alt\"\n width=\"535\"\n height=\"397\"\n class=\"offers__graphic--img\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"offers__content\">\n @if (item.tag) {\n <span class=\"offers__label\">{{\n item.tag\n }}</span>\n }\n @if (item.title) {\n <h2 class=\"offers__heading\">\n {{ item.title }}\n </h2>\n }\n @if (item.subtitle) {\n <p class=\"offers__subHeading\">\n {{ item.subtitle }}\n </p>\n }\n @if (item.buttons) {\n <div class=\"btn__group\">\n @for (\n button of item.buttons;\n track $index\n ) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n 'btn__primary--outline':\n $index === 0,\n btn__primary: $index === 1,\n }\"\n [attr.aria-label]=\"button.label\"\n >{{ button.label }}</a\n >\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroSliderDirective, selector: "[puroSlider]", inputs: ["puroSlider"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "directive", type: AutoImageZoomWrapperDirective, selector: "img[ngSrc], img[src]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroOffersSliderComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-puro-offers-slider', standalone: true, imports: [
|
|
12
|
+
args: [{ selector: 'lib-puro-offers-slider', standalone: true, imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
PuroLinkTypeDirective,
|
|
15
|
+
PuroSliderDirective,
|
|
16
|
+
NgOptimizedImage,
|
|
17
|
+
AutoImageZoomWrapperDirective,
|
|
18
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n class=\"offers js-active-slider\"\n [puroSlider]=\"items\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-offers-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"false\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"2\"\n data-slides_laptop=\"2\"\n data-slides_tablet=\"2\"\n data-slides_mobile=\"1\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n <div class=\"offers__inner relative\">\n <div class=\"offers__container\">\n @if (title) {\n <span class=\"offers__title\">{{ title }}</span>\n }\n <div class=\"js-offers-slider offers__slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"offers__box\">\n <div class=\"offers__graphic js-slider_fix-arrows-zone\">\n @if (item.img) {\n <img\n [ngSrc]=\"item.img.src\"\n [alt]=\"item.img.alt\"\n width=\"535\"\n height=\"397\"\n class=\"offers__graphic--img\"\n decoding=\"async\"\n />\n }\n </div>\n <div class=\"offers__content\">\n @if (item.tag) {\n <span class=\"offers__label\">{{\n item.tag\n }}</span>\n }\n @if (item.title) {\n <h2 class=\"offers__heading\">\n {{ item.title }}\n </h2>\n }\n @if (item.subtitle) {\n <p class=\"offers__subHeading\">\n {{ item.subtitle }}\n </p>\n }\n @if (item.buttons) {\n <div class=\"btn__group\">\n @for (\n button of item.buttons;\n track $index\n ) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n 'btn__primary--outline':\n $index === 0,\n btn__primary: $index === 1,\n }\"\n [attr.aria-label]=\"button.label\"\n >{{ button.label }}</a\n >\n }\n </div>\n }\n </div>\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n</section>\n" }]
|
|
13
19
|
}], propDecorators: { title: [{
|
|
14
20
|
type: Input
|
|
15
21
|
}], items: [{
|
|
16
22
|
type: Input
|
|
17
23
|
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1vZmZlcnMtc2xpZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3B1cm8vc3JjL2xpYi9jb21wb25lbnRzL3B1cm8tb2ZmZXJzLXNsaWRlci9wdXJvLW9mZmVycy1zbGlkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1vZmZlcnMtc2xpZGVyL3B1cm8tb2ZmZXJzLXNsaWRlci5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsWUFBWSxFQUNaLGdCQUFnQixHQUNuQixNQUFNLGlCQUFpQixDQUFDO0FBQ3pCLE9BQU8sRUFB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b25lXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChpdGVtLmltZykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbmdTcmNdPVwiaXRlbS5pbWcuc3JjXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthbHRdPVwiaXRlbS5pbWcuYWx0XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHdpZHRoPVwiNTM1XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodD1cIjM5N1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm9mZmVyc19fZ3JhcGhpYy0taW1nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlY29kaW5nPVwiYXN5bmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm9mZmVyc19fY29udGVudFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS50YWcpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJvZmZlcnNfX2xhYmVsXCI+e3tcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGl0ZW0udGFnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGl0ZW0udGl0bGUpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGgyIGNsYXNzPVwib2ZmZXJzX19oZWFkaW5nXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBpdGVtLnRpdGxlIH19XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvaDI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5zdWJ0aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cIm9mZmVyc19fc3ViSGVhZGluZ1wiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgaXRlbS5zdWJ0aXRsZSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5idXR0b25zKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJidG5fX2dyb3VwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBAZm9yIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBidXR0b24gb2YgaXRlbS5idXR0b25zO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRyYWNrICRpbmRleFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2hyZWZdPVwiYnV0dG9uLnVybFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtsaW5rVHlwZV09XCJidXR0b24ubGlua1R5cGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0blwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdidG5fX3ByaW1hcnktLW91dGxpbmUnOlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICRpbmRleCA9PT0gMCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ0bl9fcHJpbWFyeTogJGluZGV4ID09PSAxLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2F0dHIuYXJpYS1sYWJlbF09XCJidXR0b24ubGFiZWxcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+e3sgYnV0dG9uLmxhYmVsIH19PC9hXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyLWFycm93c1wiPjwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvc2VjdGlvbj5cbiJdfQ==
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import { CommonModule, NgOptimizedImage } from '@angular/common';
|
|
1
|
+
import { CommonModule, NgOptimizedImage, } from '@angular/common';
|
|
2
2
|
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
-
import { PuroLinkTypeDirective, PuroSliderDirective } from '../../directives';
|
|
3
|
+
import { AutoImageZoomWrapperDirective, PuroLinkTypeDirective, PuroSliderDirective } from '../../directives';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
export class PuroPhotoSliderComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroPhotoSliderComponent, isStandalone: true, selector: "lib-puro-photo-slider", inputs: { title: "title", subtitle: "subtitle", pretitle: "pretitle", description: "description", button: "button", img: "img", reverse: "reverse" }, ngImport: i0, template: "<section\n class=\"photoCarousel photoCarousel--right js-active-slider\"\n [puroSlider]=\"img\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-photo-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"true\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"1\"\n>\n\n @if (reverse) {\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n }\n\n <ng-template #carousel_texts let-data=\"data\">\n <div\n class=\"photoCarousel__content\"\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\n >\n <div>\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n @if (title) {\n <h2 class=\"photoCarousel__heading\">\n {{ title }}\n </h2>\n }\n @if (subtitle) {\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\n }\n @if (description) {\n <div class=\"photoCarousel__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [linkType]=\"button.linkType\"\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n </div>\n </ng-template>\n\n <ng-template #carousel_images let-data=\"data\">\n <div class=\"photoCarousel__imageSlider\">\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n <div class=\"photoCarousel__imageSlider--inner relative\">\n <div class=\"js-photo-slider\">\n @if (img && img.length > 0) {\n @for (image of img; track $index) {\n <div class=\"photoCarousel__item\">\n <img\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"960\"\n height=\"807\"\n class=\"photoCarousel__image\"\n decoding=\"async\"\n />\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n </ng-template>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroSliderDirective, selector: "[puroSlider]", inputs: ["puroSlider"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroPhotoSliderComponent, isStandalone: true, selector: "lib-puro-photo-slider", inputs: { title: "title", subtitle: "subtitle", pretitle: "pretitle", description: "description", button: "button", img: "img", reverse: "reverse" }, ngImport: i0, template: "<section\n class=\"photoCarousel photoCarousel--right js-active-slider\"\n [puroSlider]=\"img\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-photo-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"true\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"1\"\n>\n\n @if (reverse) {\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n }\n\n <ng-template #carousel_texts let-data=\"data\">\n <div\n class=\"photoCarousel__content\"\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\n >\n <div>\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n @if (title) {\n <h2 class=\"photoCarousel__heading\">\n {{ title }}\n </h2>\n }\n @if (subtitle) {\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\n }\n @if (description) {\n <div class=\"photoCarousel__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [linkType]=\"button.linkType\"\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n </div>\n </ng-template>\n\n <ng-template #carousel_images let-data=\"data\">\n <div class=\"photoCarousel__imageSlider\">\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n <div class=\"photoCarousel__imageSlider--inner relative\">\n <div class=\"js-photo-slider\">\n @if (img && img.length > 0) {\n @for (image of img; track $index) {\n <div class=\"photoCarousel__item\">\n <img\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"960\"\n height=\"807\"\n class=\"photoCarousel__image\"\n decoding=\"async\"\n />\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n </ng-template>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "directive", type: PuroSliderDirective, selector: "[puroSlider]", inputs: ["puroSlider"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "directive", type: AutoImageZoomWrapperDirective, selector: "img[ngSrc], img[src]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [
|
|
12
|
+
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [
|
|
13
|
+
CommonModule,
|
|
14
|
+
PuroLinkTypeDirective,
|
|
15
|
+
PuroSliderDirective,
|
|
16
|
+
NgOptimizedImage,
|
|
17
|
+
AutoImageZoomWrapperDirective,
|
|
18
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n class=\"photoCarousel photoCarousel--right js-active-slider\"\n [puroSlider]=\"img\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-photo-slider\"\n data-slider_showbtns=\"true\"\n data-slider_showdots=\"false\"\n data-slider_fade=\"true\"\n data-slider_autoplay=\"true\"\n data-slides_pc=\"1\"\n>\n\n @if (reverse) {\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n } @else {\n <ng-container *ngTemplateOutlet=\"carousel_texts\"></ng-container>\n <ng-container *ngTemplateOutlet=\"carousel_images\"></ng-container>\n }\n\n <ng-template #carousel_texts let-data=\"data\">\n <div\n class=\"photoCarousel__content\"\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\n >\n <div>\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n @if (title) {\n <h2 class=\"photoCarousel__heading\">\n {{ title }}\n </h2>\n }\n @if (subtitle) {\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\n }\n @if (description) {\n <div class=\"photoCarousel__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n [linkType]=\"button.linkType\"\n [href]=\"button.url\"\n class=\"btn btn__primary--outline\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n </div>\n </div>\n </ng-template>\n\n <ng-template #carousel_images let-data=\"data\">\n <div class=\"photoCarousel__imageSlider\">\n @if (pretitle) {\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\n }\n <div class=\"photoCarousel__imageSlider--inner relative\">\n <div class=\"js-photo-slider\">\n @if (img && img.length > 0) {\n @for (image of img; track $index) {\n <div class=\"photoCarousel__item\">\n <img\n [ngSrc]=\"image.src\"\n [alt]=\"image.alt\"\n width=\"960\"\n height=\"807\"\n class=\"photoCarousel__image\"\n decoding=\"async\"\n />\n </div>\n }\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n </ng-template>\n</section>\n" }]
|
|
13
19
|
}], propDecorators: { title: [{
|
|
14
20
|
type: Input
|
|
15
21
|
}], subtitle: [{
|
|
@@ -25,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
25
31
|
}], reverse: [{
|
|
26
32
|
type: Input
|
|
27
33
|
}] } });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1waG90by1zbGlkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1waG90by1zbGlkZXIvcHVyby1waG90by1zbGlkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1waG90by1zbGlkZXIvcHVyby1waG90by1zbGlkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILFlBQVksRUFDWixnQkFBZ0IsR0FDbkIsTUFBTSxpQkFBaUIsQ0FBQztBQUN6QixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUscUJBQXFCLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBaUI3RyxNQUFNLE9BQU8sd0JBQXdCOytHQUF4Qix3QkFBd0I7bUdBQXhCLHdCQUF3Qix1T0N0QnJDLGd5R0F1RkEseUREM0VRLFlBQVksb1NBQ1oscUJBQXFCLDR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bhbj5cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgQGlmICh0aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICA8aDIgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19oZWFkaW5nXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICB7eyB0aXRsZSB9fVxuICAgICAgICAgICAgICAgICAgICA8L2gyPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAaWYgKHN1YnRpdGxlKSB7XG4gICAgICAgICAgICAgICAgICAgIDxwIGNsYXNzPVwicGhvdG9DYXJvdXNlbF9fc3ViSGVhZGluZ1wiPnt7IHN1YnRpdGxlIH19PC9wPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAaWYgKGRlc2NyaXB0aW9uKSB7XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19wYXJhZ3JhcGhcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxwPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGRlc2NyaXB0aW9uIH19XG4gICAgICAgICAgICAgICAgICAgICAgICA8L3A+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBAaWYgKGJ1dHRvbikge1xuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYnRuX19ncm91cFwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGFcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwiYnV0dG9uLmxpbmtUeXBlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJidXR0b24udXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJ0biBidG5fX3ByaW1hcnktLW91dGxpbmVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFthdHRyLmFyaWEtbGFiZWxdPVwiYnV0dG9uLmxhYmVsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj57eyBidXR0b24ubGFiZWwgfX08L3NwYW4+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgPG5nLXRlbXBsYXRlICNjYXJvdXNlbF9pbWFnZXMgbGV0LWRhdGE9XCJkYXRhXCI+XG4gICAgICAgIDxkaXYgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19pbWFnZVNsaWRlclwiPlxuICAgICAgICAgICAgQGlmIChwcmV0aXRsZSkge1xuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicGhvdG9DYXJvdXNlbF9fdGl0bGVcIj57eyBwcmV0aXRsZSB9fTwvc3Bhbj5cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19pbWFnZVNsaWRlci0taW5uZXIgcmVsYXRpdmVcIj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtcGhvdG8tc2xpZGVyXCI+XG4gICAgICAgICAgICAgICAgICAgIEBpZiAoaW1nICYmIGltZy5sZW5ndGggPiAwKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBAZm9yIChpbWFnZSBvZiBpbWc7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19pdGVtXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbWdcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1NyY109XCJpbWFnZS5zcmNcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2FsdF09XCJpbWFnZS5hbHRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9XCI5NjBcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0PVwiODA3XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwicGhvdG9DYXJvdXNlbF9faW1hZ2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGVjb2Rpbmc9XCJhc3luY1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyLWFycm93c1wiPjwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvZGl2PlxuICAgIDwvbmctdGVtcGxhdGU+XG48L3NlY3Rpb24+XG4iXX0=
|