ctt-puro 0.4.3 → 0.6.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-info-slider/puro-info-slider.component.mjs +3 -3
- package/esm2022/lib/components/puro-list-general/index.mjs +2 -1
- package/esm2022/lib/components/puro-list-general/puro-list-general.component.mjs +6 -4
- package/esm2022/lib/components/puro-list-general/puro-list-general.interface.mjs +2 -0
- package/esm2022/lib/components/puro-photo-slider/puro-photo-slider.component.mjs +22 -5
- package/fesm2022/ctt-puro.mjs +24 -8
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/lib/components/puro-list-general/index.d.ts +1 -0
- package/lib/components/puro-list-general/puro-list-general.component.d.ts +15 -2
- package/lib/components/puro-list-general/puro-list-general.interface.d.ts +5 -0
- package/lib/components/puro-photo-slider/puro-photo-slider.component.d.ts +9 -1
- package/lib/styles/styles-puro.scss +0 -4
- package/package.json +1 -1
|
@@ -5,14 +5,14 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
export class PuroInfoSliderComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoSliderComponent, isStandalone: true, selector: "lib-puro-info-slider", inputs: { items: "items", reverse: "reverse" }, ngImport: i0, template: "<section\n class=\"textPhotoCarousel js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-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 <div class=\"relative\">\n <div class=\"js-slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"textPhotoCarousel__item\"
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoSliderComponent, isStandalone: true, selector: "lib-puro-info-slider", inputs: { items: "items", reverse: "reverse" }, ngImport: i0, template: "<section\r\n class=\"textPhotoCarousel js-active-slider\"\r\n [ngClass]=\"{ 'textPhotoCarousel--right': !reverse }\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"relative\">\r\n <div class=\"js-slider js-slider_fix-arrows\">\r\n @for (item of items; track $index) {\r\n <div class=\"textPhotoCarousel__item\">\r\n <div class=\"textPhotoCarousel__image--outer\">\r\n <div\r\n class=\"textPhotoCarousel__image js-slider_fix-arrows-zone\"\r\n >\r\n @if (item.img) {\r\n <img\r\n [src]=\"item.img.src\"\r\n [alt]=\"item.img.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"textPhotoCarousel__img\"\r\n />\r\n }\r\n </div>\r\n </div>\r\n <div\r\n class=\"textPhotoCarousel__content textPhotoCarousel__content--alignCenter\"\r\n >\r\n <div>\r\n @if (item.pretitle) {\r\n <span class=\"textPhotoCarousel__title\">{{\r\n item.pretitle\r\n }}</span>\r\n }\r\n @if (item.title) {\r\n <h2\r\n class=\"textPhotoCarousel__heading\"\r\n [innerHTML]=\"item.title\"\r\n ></h2>\r\n }\r\n @if (item.description) {\r\n <p class=\"textPhotoCarousel__subHeading\">\r\n {{ item.subtitle }}\r\n </p>\r\n }\r\n @if (item.description) {\r\n <p\r\n class=\"textPhotoCarousel__paragraph\"\r\n [innerHTML]=\"item.description\"\r\n ></p>\r\n }\r\n <div class=\"btn__group\">\r\n @if (item.button) {\r\n <a\r\n [href]=\"item.button.url\"\r\n [linkType]=\"item.button.linkType\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ item.button.label }}</span>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n</section>\r\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"] }] }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoSliderComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-puro-info-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], template: "<section\n class=\"textPhotoCarousel js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-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 <div class=\"relative\">\n <div class=\"js-slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"textPhotoCarousel__item\"
|
|
12
|
+
args: [{ selector: 'lib-puro-info-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], template: "<section\r\n class=\"textPhotoCarousel js-active-slider\"\r\n [ngClass]=\"{ 'textPhotoCarousel--right': !reverse }\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"relative\">\r\n <div class=\"js-slider js-slider_fix-arrows\">\r\n @for (item of items; track $index) {\r\n <div class=\"textPhotoCarousel__item\">\r\n <div class=\"textPhotoCarousel__image--outer\">\r\n <div\r\n class=\"textPhotoCarousel__image js-slider_fix-arrows-zone\"\r\n >\r\n @if (item.img) {\r\n <img\r\n [src]=\"item.img.src\"\r\n [alt]=\"item.img.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"textPhotoCarousel__img\"\r\n />\r\n }\r\n </div>\r\n </div>\r\n <div\r\n class=\"textPhotoCarousel__content textPhotoCarousel__content--alignCenter\"\r\n >\r\n <div>\r\n @if (item.pretitle) {\r\n <span class=\"textPhotoCarousel__title\">{{\r\n item.pretitle\r\n }}</span>\r\n }\r\n @if (item.title) {\r\n <h2\r\n class=\"textPhotoCarousel__heading\"\r\n [innerHTML]=\"item.title\"\r\n ></h2>\r\n }\r\n @if (item.description) {\r\n <p class=\"textPhotoCarousel__subHeading\">\r\n {{ item.subtitle }}\r\n </p>\r\n }\r\n @if (item.description) {\r\n <p\r\n class=\"textPhotoCarousel__paragraph\"\r\n [innerHTML]=\"item.description\"\r\n ></p>\r\n }\r\n <div class=\"btn__group\">\r\n @if (item.button) {\r\n <a\r\n [href]=\"item.button.url\"\r\n [linkType]=\"item.button.linkType\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ item.button.label }}</span>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n</section>\r\n" }]
|
|
13
13
|
}], propDecorators: { items: [{
|
|
14
14
|
type: Input
|
|
15
15
|
}], reverse: [{
|
|
16
16
|
type: Input
|
|
17
17
|
}] } });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1pbmZvLXNsaWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdXJvL3NyYy9saWIvY29tcG9uZW50cy9wdXJ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cbiAgICBkYXRhLXNsaWRlcl9zaG93ZG90cz1cImZhbHNlXCJcclxuICAgIGRhdGEtc2xpZGVyX2ZhZGU9XCJ0cnVlXCJcclxuICAgIGRhdGEtc2xpZGVyX2F1dG9wbGF5PVwidHJ1ZVwiXHJcbiAgICBkYXRhLXNsaWRlc19wYz1cIjFcIlxyXG4+XHJcbiAgICA8ZGl2IGNsYXNzPVwicmVsYXRpdmVcIj5cclxuICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyIGpzLXNsaWRlcl9maXgtYXJyb3dzXCI+XHJcbiAgICAgICAgICAgIEBmb3IgKGl0ZW0gb2YgaXRlbXM7IHRyYWNrICRpbmRleCkge1xyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHRQaG90b0Nhcm91c2VsX19pdGVtXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInRleHRQaG90b0Nhcm91c2VsX19pbWFnZS0tb3V0ZXJcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ0ZXh0UGhvdG9DYXJvdXNlbF9faW1hZ2UganMtc2xpZGVyX2ZpeC1hcnJvd3Mtem9uZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5pbWcpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzcmNdPVwiaXRlbS5pbWcuc3JjXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2FsdF09XCJpdGVtLmltZy5hbHRcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aD1cIjk2MFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodD1cIjgwN1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzPVwidGV4dFBob3RvQ2Fyb3VzZWxfX2ltZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRQaG90b0Nhcm91c2VsX19jb250ZW50IHRleHRQaG90b0Nhcm91c2VsX19jb250ZW50LS1hbGlnbkNlbnRlclwiXHJcbiAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChpdGVtLnByZXRpdGxlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ0ZXh0UGhvdG9DYXJvdXNlbF9fdGl0bGVcIj57e1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpdGVtLnByZXRpdGxlXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGl0ZW0udGl0bGUpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aDJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJ0ZXh0UGhvdG9DYXJvdXNlbF9faGVhZGluZ1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtpbm5lckhUTUxdPVwiaXRlbS50aXRsZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvaDI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGl0ZW0uZGVzY3JpcHRpb24pIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cCBjbGFzcz1cInRleHRQaG90b0Nhcm91c2VsX19zdWJIZWFkaW5nXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uc3VidGl0bGUgfX1cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3A+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGl0ZW0uZGVzY3JpcHRpb24pIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cFxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInRleHRQaG90b0Nhcm91c2VsX19wYXJhZ3JhcGhcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaW5uZXJIVE1MXT1cIml0ZW0uZGVzY3JpcHRpb25cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L3A+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYnRuX19ncm91cFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS5idXR0b24pIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGFcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtocmVmXT1cIml0ZW0uYnV0dG9uLnVybFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbbGlua1R5cGVdPVwiaXRlbS5idXR0b24ubGlua1R5cGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuX19wcmltYXJ5LS1vdXRsaW5lXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3sgaXRlbS5idXR0b24ubGFiZWwgfX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvYT5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJqcy1zbGlkZXItYXJyb3dzXCI+PC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuPC9zZWN0aW9uPlxyXG4iXX0=
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export * from './puro-list-general.component';
|
|
2
|
-
|
|
2
|
+
export * from './puro-list-general.interface';
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9wdXJvL3NyYy9saWIvY29tcG9uZW50cy9wdXJvLWxpc3QtZ2VuZXJhbC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsK0JBQStCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3B1cm8tbGlzdC1nZW5lcmFsLmNvbXBvbmVudCc7XHJcbmV4cG9ydCAqIGZyb20gJy4vcHVyby1saXN0LWdlbmVyYWwuaW50ZXJmYWNlJztcclxuIl19
|
|
@@ -5,12 +5,14 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
import * as i1 from "@angular/common";
|
|
6
6
|
export class PuroListGeneralComponent {
|
|
7
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroListGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
8
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroListGeneralComponent, isStandalone: true, selector: "lib-puro-list-general", inputs: { title: "title", items: "items" }, ngImport: i0, template: "<section class=\"suites suites__list\">\n @if (title) {\n <span class=\"suites__title\">{{ title }}</span>\n }\n\n <div class=\"suites__container\">\n @for (item of items; track $index) {\n <div\n class=\"suites__item js-active-slider\"\n [ngClass]=\"{ 'image--right': $index % 2 !== 0 }\"\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=\"false\"\n data-slides_pc=\"1\"\n >\n <div class=\"suites__graphic relative\">\n <div class=\"js-photo-slider\">\n @for (image of item.images; track $index) {\n <div>\n <img\n [src]=\"image.src\"\n width=\"789\"\n class=\"suites__graphic--img\"\n height=\"748\"\n [alt]=\"image.alt\"\n />\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n <div class=\"suites__content\">\n <div>\n @if (item.title) {\n <h2 class=\"suites__heading\">{{ item.title }}</h2>\n }\n <div class=\"suites__slider withOutSlider\">\n @for (equipment of item.equipment; track $index) {\n <div class=\"suites__service\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"25\"\n height=\"18\"\n >\n <use [attr.href]=\"equipment.icon\"></use>\n </svg>\n <span>{{ equipment.text }}</span>\n </div>\n }\n </div>\n @if (item.description) {\n <div class=\"suites__paragraph\">\n <p>\n {{ item.description }}\n </p>\n </div>\n }\n <div class=\"btn__group\">\n @for (button of item.buttons; track $index) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n btn__primary: $index === 1,\n 'btn__primary--outline': $index === 0,\n }\"\n >\n <span>{{ button.label }}</span>\n </a>\n }\n </div>\n </div>\n </div>\n </div>\n }\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
9
9
|
}
|
|
10
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroListGeneralComponent, decorators: [{
|
|
11
11
|
type: Component,
|
|
12
|
-
args: [{ selector: 'lib-puro-list-general', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"suites suites__list\">\n <span class=\"suites__title\">
|
|
13
|
-
}], propDecorators: {
|
|
12
|
+
args: [{ selector: 'lib-puro-list-general', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"suites suites__list\">\n @if (title) {\n <span class=\"suites__title\">{{ title }}</span>\n }\n\n <div class=\"suites__container\">\n @for (item of items; track $index) {\n <div\n class=\"suites__item js-active-slider\"\n [ngClass]=\"{ 'image--right': $index % 2 !== 0 }\"\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=\"false\"\n data-slides_pc=\"1\"\n >\n <div class=\"suites__graphic relative\">\n <div class=\"js-photo-slider\">\n @for (image of item.images; track $index) {\n <div>\n <img\n [src]=\"image.src\"\n width=\"789\"\n class=\"suites__graphic--img\"\n height=\"748\"\n [alt]=\"image.alt\"\n />\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n <div class=\"suites__content\">\n <div>\n @if (item.title) {\n <h2 class=\"suites__heading\">{{ item.title }}</h2>\n }\n <div class=\"suites__slider withOutSlider\">\n @for (equipment of item.equipment; track $index) {\n <div class=\"suites__service\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"25\"\n height=\"18\"\n >\n <use [attr.href]=\"equipment.icon\"></use>\n </svg>\n <span>{{ equipment.text }}</span>\n </div>\n }\n </div>\n @if (item.description) {\n <div class=\"suites__paragraph\">\n <p>\n {{ item.description }}\n </p>\n </div>\n }\n <div class=\"btn__group\">\n @for (button of item.buttons; track $index) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n btn__primary: $index === 1,\n 'btn__primary--outline': $index === 0,\n }\"\n >\n <span>{{ button.label }}</span>\n </a>\n }\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</section>\n" }]
|
|
13
|
+
}], propDecorators: { title: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}], items: [{
|
|
14
16
|
type: Input
|
|
15
17
|
}] } });
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1saXN0LWdlbmVyYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHV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19PC9zcGFuPlxuICAgIH1cblxuICAgIDxkaXYgY2xhc3M9XCJzdWl0ZXNfX2NvbnRhaW5lclwiPlxuICAgICAgICBAZm9yIChpdGVtIG9mIGl0ZW1zOyB0cmFjayAkaW5kZXgpIHtcbiAgICAgICAgICAgIDxkaXZcbiAgICAgICAgICAgICAgICBjbGFzcz1cInN1aXRlc19faXRlbSBqcy1hY3RpdmUtc2xpZGVyXCJcbiAgICAgICAgICAgICAgICBbbmdDbGFzc109XCJ7ICdpbWFnZS0tcmlnaHQnOiAkaW5kZXggJSAyICE9PSAwIH1cIlxuICAgICAgICAgICAgICAgIGRhdGEtc2xpZGVzX2luZmluaXRlPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgZGF0YS1zbGlkZXJfbmFtZT1cImpzLXBob3RvLXNsaWRlclwiXG4gICAgICAgICAgICAgICAgZGF0YS1zbGlkZXJfc2hvd2J0bnM9XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICBkYXRhLXNsaWRlcl9zaG93ZG90cz1cImZhbHNlXCJcbiAgICAgICAgICAgICAgICBkYXRhLXNsaWRlcl9mYWRlPVwidHJ1ZVwiXG4gICAgICAgICAgICAgICAgZGF0YS1zbGlkZXJfYXV0b3BsYXk9XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgZGF0YS1zbGlkZXNfcGM9XCIxXCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwic3VpdGVzX19ncmFwaGljIHJlbGF0aXZlXCI+XG4gICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJqcy1waG90by1zbGlkZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIEBmb3IgKGltYWdlIG9mIGl0ZW0uaW1hZ2VzOyB0cmFjayAkaW5kZXgpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW1nXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3JjXT1cImltYWdlLnNyY1wiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aWR0aD1cIjc4OVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInN1aXRlc19fZ3JhcGhpYy0taW1nXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodD1cIjc0OFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYWx0XT1cImltYWdlLmFsdFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyLWFycm93c1wiPjwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJzdWl0ZXNfX2NvbnRlbnRcIj5cbiAgICAgICAgICAgICAgICAgICAgPGRpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXRlbS50aXRsZSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxoMiBjbGFzcz1cInN1aXRlc19faGVhZGluZ1wiPnt7IGl0ZW0udGl0bGUgfX08L2gyPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInN1aXRlc19fc2xpZGVyIHdpdGhPdXRTbGlkZXJcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBAZm9yIChlcXVpcG1lbnQgb2YgaXRlbS5lcXVpcG1lbnQ7IHRyYWNrICRpbmRleCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwic3VpdGVzX19zZXJ2aWNlXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3ZnXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1oaWRkZW49XCJ0cnVlXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmb2N1c2FibGU9XCJmYWxzZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9XCIyNVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGVpZ2h0PVwiMThcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgW2F0dHIuaHJlZl09XCJlcXVpcG1lbnQuaWNvblwiPjwvdXNlPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zdmc+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8c3Bhbj57eyBlcXVpcG1lbnQudGV4dCB9fTwvc3Bhbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgICAgICBAaWYgKGl0ZW0uZGVzY3JpcHRpb24pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwic3VpdGVzX19wYXJhZ3JhcGhcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7eyBpdGVtLmRlc2NyaXB0aW9uIH19XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvcD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJidG5fX2dyb3VwXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGZvciAoYnV0dG9uIG9mIGl0ZW0uYnV0dG9uczsgdHJhY2sgJGluZGV4KSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJidXR0b24udXJsXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtsaW5rVHlwZV09XCJidXR0b24ubGlua1R5cGVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG5cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwie1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ0bl9fcHJpbWFyeTogJGluZGV4ID09PSAxLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICdidG5fX3ByaW1hcnktLW91dGxpbmUnOiAkaW5kZXggPT09IDAsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4+e3sgYnV0dG9uLmxhYmVsIH19PC9zcGFuPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgIH1cbiAgICA8L2Rpdj5cbjwvc2VjdGlvbj5cbiJdfQ==
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export {};
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1saXN0LWdlbmVyYWwuaW50ZXJmYWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1saXN0LWdlbmVyYWwvcHVyby1saXN0LWdlbmVyYWwuaW50ZXJmYWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBQdXJvTGlzdEdlbmVyYWxJdGVtIH0gZnJvbSAnLi9wdXJvLWxpc3QtZ2VuZXJhbC5jb21wb25lbnQnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBQdXJvTGlzdEdlbmVyYWxJIHtcclxuICAgIHRpdGxlPzogc3RyaW5nO1xyXG4gICAgaXRlbXM/OiBQdXJvTGlzdEdlbmVyYWxJdGVtW107XHJcbn1cclxuIl19
|
|
@@ -1,11 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
3
|
+
import { PuroLinkTypeDirective } from '../../directives';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/common";
|
|
3
6
|
export class PuroPhotoSliderComponent {
|
|
4
7
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
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\r\n class=\"photoCarousel photoCarousel--right js-active-slider\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-photo-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"photoCarousel__imageSlider\">\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n <div class=\"photoCarousel__imageSlider--inner relative\">\r\n <div class=\"js-photo-slider\">\r\n @if (img && img.length > 0) {\r\n @for (image of img; track $index) {\r\n <div class=\"photoCarousel__item\">\r\n <img\r\n [src]=\"image.src\"\r\n [alt]=\"image.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"photoCarousel__image\"\r\n />\r\n </div>\r\n }\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"photoCarousel__content\"\r\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\r\n >\r\n <div>\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n @if (title) {\r\n <h2 class=\"photoCarousel__heading\">\r\n {{ title }}\r\n </h2>\r\n }\r\n @if (subtitle) {\r\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\r\n }\r\n @if (description) {\r\n <div class=\"photoCarousel__paragraph\">\r\n <p>\r\n {{ description }}\r\n </p>\r\n </div>\r\n }\r\n @if (button) {\r\n <div class=\"btn__group\">\r\n <a\r\n [linkType]=\"button.linkType\"\r\n [href]=\"button.url\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ button.label }}</span>\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6
9
|
}
|
|
7
10
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, decorators: [{
|
|
8
11
|
type: Component,
|
|
9
|
-
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [], template: "<
|
|
10
|
-
}]
|
|
11
|
-
|
|
12
|
+
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\r\n class=\"photoCarousel photoCarousel--right js-active-slider\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-photo-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"photoCarousel__imageSlider\">\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n <div class=\"photoCarousel__imageSlider--inner relative\">\r\n <div class=\"js-photo-slider\">\r\n @if (img && img.length > 0) {\r\n @for (image of img; track $index) {\r\n <div class=\"photoCarousel__item\">\r\n <img\r\n [src]=\"image.src\"\r\n [alt]=\"image.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"photoCarousel__image\"\r\n />\r\n </div>\r\n }\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"photoCarousel__content\"\r\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\r\n >\r\n <div>\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n @if (title) {\r\n <h2 class=\"photoCarousel__heading\">\r\n {{ title }}\r\n </h2>\r\n }\r\n @if (subtitle) {\r\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\r\n }\r\n @if (description) {\r\n <div class=\"photoCarousel__paragraph\">\r\n <p>\r\n {{ description }}\r\n </p>\r\n </div>\r\n }\r\n @if (button) {\r\n <div class=\"btn__group\">\r\n <a\r\n [linkType]=\"button.linkType\"\r\n [href]=\"button.url\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ button.label }}</span>\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\n" }]
|
|
13
|
+
}], propDecorators: { title: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}], subtitle: [{
|
|
16
|
+
type: Input
|
|
17
|
+
}], pretitle: [{
|
|
18
|
+
type: Input
|
|
19
|
+
}], description: [{
|
|
20
|
+
type: Input
|
|
21
|
+
}], button: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], img: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], reverse: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}] } });
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVyby1waG90by1zbGlkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1waG90by1zbGlkZXIvcHVyby1waG90by1zbGlkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcHVyby9zcmMvbGliL2NvbXBvbmVudHMvcHVyby1waG90by1zbGlkZXIvcHVyby1waG90by1zbGlkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBw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2hvd2RvdHM9XCJmYWxzZVwiXHJcbiAgICBkYXRhLXNsaWRlcl9mYWRlPVwidHJ1ZVwiXHJcbiAgICBkYXRhLXNsaWRlcl9hdXRvcGxheT1cInRydWVcIlxyXG4gICAgZGF0YS1zbGlkZXNfcGM9XCIxXCJcclxuPlxyXG4gICAgPGRpdiBjbGFzcz1cInBob3RvQ2Fyb3VzZWxfX2ltYWdlU2xpZGVyXCI+XHJcbiAgICAgICAgQGlmIChwcmV0aXRsZSkge1xyXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cInBob3RvQ2Fyb3VzZWxfX3RpdGxlXCI+e3sgcHJldGl0bGUgfX08L3NwYW4+XHJcbiAgICAgICAgfVxyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19pbWFnZVNsaWRlci0taW5uZXIgcmVsYXRpdmVcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImpzLXBob3RvLXNsaWRlclwiPlxyXG4gICAgICAgICAgICAgICAgQGlmIChpbWcgJiYgaW1nLmxlbmd0aCA+IDApIHtcclxuICAgICAgICAgICAgICAgICAgICBAZm9yIChpbWFnZSBvZiBpbWc7IHRyYWNrICRpbmRleCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGhvdG9DYXJvdXNlbF9faXRlbVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPGltZ1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzcmNdPVwiaW1hZ2Uuc3JjXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbYWx0XT1cImltYWdlLmFsdFwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2lkdGg9XCI5NjBcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhlaWdodD1cIjgwN1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19pbWFnZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwianMtc2xpZGVyLWFycm93c1wiPjwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbiAgICA8ZGl2XHJcbiAgICAgICAgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19jb250ZW50XCJcclxuICAgICAgICBbbmdDbGFzc109XCJ7ICdwaG90b0Nhcm91c2VsX19jb250ZW50LS1hbGlnbkNlbnRlcic6ICFyZXZlcnNlIH1cIlxyXG4gICAgPlxyXG4gICAgICAgIDxkaXY+XHJcbiAgICAgICAgICAgIEBpZiAocHJldGl0bGUpIHtcclxuICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwicGhvdG9DYXJvdXNlbF9fdGl0bGVcIj57eyBwcmV0aXRsZSB9fTwvc3Bhbj5cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBAaWYgKHRpdGxlKSB7XHJcbiAgICAgICAgICAgICAgICA8aDIgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19oZWFkaW5nXCI+XHJcbiAgICAgICAgICAgICAgICAgICAge3sgdGl0bGUgfX1cclxuICAgICAgICAgICAgICAgIDwvaDI+XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQGlmIChzdWJ0aXRsZSkge1xyXG4gICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJwaG90b0Nhcm91c2VsX19zdWJIZWFkaW5nXCI+e3sgc3VidGl0bGUgfX08L3A+XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgQGlmIChkZXNjcmlwdGlvbikge1xyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInBob3RvQ2Fyb3VzZWxfX3BhcmFncmFwaFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxwPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICB7eyBkZXNjcmlwdGlvbiB9fVxyXG4gICAgICAgICAgICAgICAgICAgIDwvcD5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIEBpZiAoYnV0dG9uKSB7XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwiYnRuX19ncm91cFwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxhXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIFtsaW5rVHlwZV09XCJidXR0b24ubGlua1R5cGVcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICBbaHJlZl09XCJidXR0b24udXJsXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3M9XCJidG4gYnRuX19wcmltYXJ5LS1vdXRsaW5lXCJcclxuICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuPnt7IGJ1dHRvbi5sYWJlbCB9fTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICA8L2E+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgPC9kaXY+XHJcbjwvc2VjdGlvbj5cclxuIl19
|
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -1162,11 +1162,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1162
1162
|
|
|
1163
1163
|
class PuroInfoSliderComponent {
|
|
1164
1164
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1165
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoSliderComponent, isStandalone: true, selector: "lib-puro-info-slider", inputs: { items: "items", reverse: "reverse" }, ngImport: i0, template: "<section\n class=\"textPhotoCarousel js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-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 <div class=\"relative\">\n <div class=\"js-slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"textPhotoCarousel__item\"
|
|
1165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroInfoSliderComponent, isStandalone: true, selector: "lib-puro-info-slider", inputs: { items: "items", reverse: "reverse" }, ngImport: i0, template: "<section\r\n class=\"textPhotoCarousel js-active-slider\"\r\n [ngClass]=\"{ 'textPhotoCarousel--right': !reverse }\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"relative\">\r\n <div class=\"js-slider js-slider_fix-arrows\">\r\n @for (item of items; track $index) {\r\n <div class=\"textPhotoCarousel__item\">\r\n <div class=\"textPhotoCarousel__image--outer\">\r\n <div\r\n class=\"textPhotoCarousel__image js-slider_fix-arrows-zone\"\r\n >\r\n @if (item.img) {\r\n <img\r\n [src]=\"item.img.src\"\r\n [alt]=\"item.img.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"textPhotoCarousel__img\"\r\n />\r\n }\r\n </div>\r\n </div>\r\n <div\r\n class=\"textPhotoCarousel__content textPhotoCarousel__content--alignCenter\"\r\n >\r\n <div>\r\n @if (item.pretitle) {\r\n <span class=\"textPhotoCarousel__title\">{{\r\n item.pretitle\r\n }}</span>\r\n }\r\n @if (item.title) {\r\n <h2\r\n class=\"textPhotoCarousel__heading\"\r\n [innerHTML]=\"item.title\"\r\n ></h2>\r\n }\r\n @if (item.description) {\r\n <p class=\"textPhotoCarousel__subHeading\">\r\n {{ item.subtitle }}\r\n </p>\r\n }\r\n @if (item.description) {\r\n <p\r\n class=\"textPhotoCarousel__paragraph\"\r\n [innerHTML]=\"item.description\"\r\n ></p>\r\n }\r\n <div class=\"btn__group\">\r\n @if (item.button) {\r\n <a\r\n [href]=\"item.button.url\"\r\n [linkType]=\"item.button.linkType\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ item.button.label }}</span>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n</section>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }] }); }
|
|
1166
1166
|
}
|
|
1167
1167
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroInfoSliderComponent, decorators: [{
|
|
1168
1168
|
type: Component,
|
|
1169
|
-
args: [{ selector: 'lib-puro-info-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], template: "<section\n class=\"textPhotoCarousel js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-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 <div class=\"relative\">\n <div class=\"js-slider js-slider_fix-arrows\">\n @for (item of items; track $index) {\n <div class=\"textPhotoCarousel__item\"
|
|
1169
|
+
args: [{ selector: 'lib-puro-info-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], template: "<section\r\n class=\"textPhotoCarousel js-active-slider\"\r\n [ngClass]=\"{ 'textPhotoCarousel--right': !reverse }\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"relative\">\r\n <div class=\"js-slider js-slider_fix-arrows\">\r\n @for (item of items; track $index) {\r\n <div class=\"textPhotoCarousel__item\">\r\n <div class=\"textPhotoCarousel__image--outer\">\r\n <div\r\n class=\"textPhotoCarousel__image js-slider_fix-arrows-zone\"\r\n >\r\n @if (item.img) {\r\n <img\r\n [src]=\"item.img.src\"\r\n [alt]=\"item.img.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"textPhotoCarousel__img\"\r\n />\r\n }\r\n </div>\r\n </div>\r\n <div\r\n class=\"textPhotoCarousel__content textPhotoCarousel__content--alignCenter\"\r\n >\r\n <div>\r\n @if (item.pretitle) {\r\n <span class=\"textPhotoCarousel__title\">{{\r\n item.pretitle\r\n }}</span>\r\n }\r\n @if (item.title) {\r\n <h2\r\n class=\"textPhotoCarousel__heading\"\r\n [innerHTML]=\"item.title\"\r\n ></h2>\r\n }\r\n @if (item.description) {\r\n <p class=\"textPhotoCarousel__subHeading\">\r\n {{ item.subtitle }}\r\n </p>\r\n }\r\n @if (item.description) {\r\n <p\r\n class=\"textPhotoCarousel__paragraph\"\r\n [innerHTML]=\"item.description\"\r\n ></p>\r\n }\r\n <div class=\"btn__group\">\r\n @if (item.button) {\r\n <a\r\n [href]=\"item.button.url\"\r\n [linkType]=\"item.button.linkType\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ item.button.label }}</span>\r\n </a>\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n</section>\r\n" }]
|
|
1170
1170
|
}], propDecorators: { items: [{
|
|
1171
1171
|
type: Input
|
|
1172
1172
|
}], reverse: [{
|
|
@@ -1226,12 +1226,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1226
1226
|
|
|
1227
1227
|
class PuroListGeneralComponent {
|
|
1228
1228
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroListGeneralComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1229
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1229
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroListGeneralComponent, isStandalone: true, selector: "lib-puro-list-general", inputs: { title: "title", items: "items" }, ngImport: i0, template: "<section class=\"suites suites__list\">\n @if (title) {\n <span class=\"suites__title\">{{ title }}</span>\n }\n\n <div class=\"suites__container\">\n @for (item of items; track $index) {\n <div\n class=\"suites__item js-active-slider\"\n [ngClass]=\"{ 'image--right': $index % 2 !== 0 }\"\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=\"false\"\n data-slides_pc=\"1\"\n >\n <div class=\"suites__graphic relative\">\n <div class=\"js-photo-slider\">\n @for (image of item.images; track $index) {\n <div>\n <img\n [src]=\"image.src\"\n width=\"789\"\n class=\"suites__graphic--img\"\n height=\"748\"\n [alt]=\"image.alt\"\n />\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n <div class=\"suites__content\">\n <div>\n @if (item.title) {\n <h2 class=\"suites__heading\">{{ item.title }}</h2>\n }\n <div class=\"suites__slider withOutSlider\">\n @for (equipment of item.equipment; track $index) {\n <div class=\"suites__service\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"25\"\n height=\"18\"\n >\n <use [attr.href]=\"equipment.icon\"></use>\n </svg>\n <span>{{ equipment.text }}</span>\n </div>\n }\n </div>\n @if (item.description) {\n <div class=\"suites__paragraph\">\n <p>\n {{ item.description }}\n </p>\n </div>\n }\n <div class=\"btn__group\">\n @for (button of item.buttons; track $index) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n btn__primary: $index === 1,\n 'btn__primary--outline': $index === 0,\n }\"\n >\n <span>{{ button.label }}</span>\n </a>\n }\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1230
1230
|
}
|
|
1231
1231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroListGeneralComponent, decorators: [{
|
|
1232
1232
|
type: Component,
|
|
1233
|
-
args: [{ selector: 'lib-puro-list-general', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"suites suites__list\">\n <span class=\"suites__title\">
|
|
1234
|
-
}], propDecorators: {
|
|
1233
|
+
args: [{ selector: 'lib-puro-list-general', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"suites suites__list\">\n @if (title) {\n <span class=\"suites__title\">{{ title }}</span>\n }\n\n <div class=\"suites__container\">\n @for (item of items; track $index) {\n <div\n class=\"suites__item js-active-slider\"\n [ngClass]=\"{ 'image--right': $index % 2 !== 0 }\"\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=\"false\"\n data-slides_pc=\"1\"\n >\n <div class=\"suites__graphic relative\">\n <div class=\"js-photo-slider\">\n @for (image of item.images; track $index) {\n <div>\n <img\n [src]=\"image.src\"\n width=\"789\"\n class=\"suites__graphic--img\"\n height=\"748\"\n [alt]=\"image.alt\"\n />\n </div>\n }\n </div>\n <div class=\"js-slider-arrows\"></div>\n </div>\n <div class=\"suites__content\">\n <div>\n @if (item.title) {\n <h2 class=\"suites__heading\">{{ item.title }}</h2>\n }\n <div class=\"suites__slider withOutSlider\">\n @for (equipment of item.equipment; track $index) {\n <div class=\"suites__service\">\n <svg\n aria-hidden=\"true\"\n focusable=\"false\"\n width=\"25\"\n height=\"18\"\n >\n <use [attr.href]=\"equipment.icon\"></use>\n </svg>\n <span>{{ equipment.text }}</span>\n </div>\n }\n </div>\n @if (item.description) {\n <div class=\"suites__paragraph\">\n <p>\n {{ item.description }}\n </p>\n </div>\n }\n <div class=\"btn__group\">\n @for (button of item.buttons; track $index) {\n <a\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n class=\"btn\"\n [ngClass]=\"{\n btn__primary: $index === 1,\n 'btn__primary--outline': $index === 0,\n }\"\n >\n <span>{{ button.label }}</span>\n </a>\n }\n </div>\n </div>\n </div>\n </div>\n }\n </div>\n</section>\n" }]
|
|
1234
|
+
}], propDecorators: { title: [{
|
|
1235
|
+
type: Input
|
|
1236
|
+
}], items: [{
|
|
1235
1237
|
type: Input
|
|
1236
1238
|
}] } });
|
|
1237
1239
|
|
|
@@ -1295,12 +1297,26 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
1295
1297
|
|
|
1296
1298
|
class PuroPhotoSliderComponent {
|
|
1297
1299
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1298
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
1300
|
+
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\r\n class=\"photoCarousel photoCarousel--right js-active-slider\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-photo-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"photoCarousel__imageSlider\">\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n <div class=\"photoCarousel__imageSlider--inner relative\">\r\n <div class=\"js-photo-slider\">\r\n @if (img && img.length > 0) {\r\n @for (image of img; track $index) {\r\n <div class=\"photoCarousel__item\">\r\n <img\r\n [src]=\"image.src\"\r\n [alt]=\"image.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"photoCarousel__image\"\r\n />\r\n </div>\r\n }\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"photoCarousel__content\"\r\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\r\n >\r\n <div>\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n @if (title) {\r\n <h2 class=\"photoCarousel__heading\">\r\n {{ title }}\r\n </h2>\r\n }\r\n @if (subtitle) {\r\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\r\n }\r\n @if (description) {\r\n <div class=\"photoCarousel__paragraph\">\r\n <p>\r\n {{ description }}\r\n </p>\r\n </div>\r\n }\r\n @if (button) {\r\n <div class=\"btn__group\">\r\n <a\r\n [linkType]=\"button.linkType\"\r\n [href]=\"button.url\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ button.label }}</span>\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1299
1301
|
}
|
|
1300
1302
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroPhotoSliderComponent, decorators: [{
|
|
1301
1303
|
type: Component,
|
|
1302
|
-
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [], template: "<
|
|
1303
|
-
}]
|
|
1304
|
+
args: [{ selector: 'lib-puro-photo-slider', standalone: true, imports: [CommonModule, PuroLinkTypeDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\r\n class=\"photoCarousel photoCarousel--right js-active-slider\"\r\n data-slides_infinite=\"true\"\r\n data-slider_name=\"js-photo-slider\"\r\n data-slider_showbtns=\"true\"\r\n data-slider_showdots=\"false\"\r\n data-slider_fade=\"true\"\r\n data-slider_autoplay=\"true\"\r\n data-slides_pc=\"1\"\r\n>\r\n <div class=\"photoCarousel__imageSlider\">\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n <div class=\"photoCarousel__imageSlider--inner relative\">\r\n <div class=\"js-photo-slider\">\r\n @if (img && img.length > 0) {\r\n @for (image of img; track $index) {\r\n <div class=\"photoCarousel__item\">\r\n <img\r\n [src]=\"image.src\"\r\n [alt]=\"image.alt\"\r\n width=\"960\"\r\n height=\"807\"\r\n class=\"photoCarousel__image\"\r\n />\r\n </div>\r\n }\r\n }\r\n </div>\r\n <div class=\"js-slider-arrows\"></div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"photoCarousel__content\"\r\n [ngClass]=\"{ 'photoCarousel__content--alignCenter': !reverse }\"\r\n >\r\n <div>\r\n @if (pretitle) {\r\n <span class=\"photoCarousel__title\">{{ pretitle }}</span>\r\n }\r\n @if (title) {\r\n <h2 class=\"photoCarousel__heading\">\r\n {{ title }}\r\n </h2>\r\n }\r\n @if (subtitle) {\r\n <p class=\"photoCarousel__subHeading\">{{ subtitle }}</p>\r\n }\r\n @if (description) {\r\n <div class=\"photoCarousel__paragraph\">\r\n <p>\r\n {{ description }}\r\n </p>\r\n </div>\r\n }\r\n @if (button) {\r\n <div class=\"btn__group\">\r\n <a\r\n [linkType]=\"button.linkType\"\r\n [href]=\"button.url\"\r\n class=\"btn btn__primary--outline\"\r\n >\r\n <span>{{ button.label }}</span>\r\n </a>\r\n </div>\r\n }\r\n </div>\r\n </div>\r\n</section>\r\n" }]
|
|
1305
|
+
}], propDecorators: { title: [{
|
|
1306
|
+
type: Input
|
|
1307
|
+
}], subtitle: [{
|
|
1308
|
+
type: Input
|
|
1309
|
+
}], pretitle: [{
|
|
1310
|
+
type: Input
|
|
1311
|
+
}], description: [{
|
|
1312
|
+
type: Input
|
|
1313
|
+
}], button: [{
|
|
1314
|
+
type: Input
|
|
1315
|
+
}], img: [{
|
|
1316
|
+
type: Input
|
|
1317
|
+
}], reverse: [{
|
|
1318
|
+
type: Input
|
|
1319
|
+
}] } });
|
|
1304
1320
|
|
|
1305
1321
|
class PuroScheduleComponent {
|
|
1306
1322
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroScheduleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|