ctt-puro 0.46.21 → 0.46.23
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-info/puro-banner-info.component.mjs +3 -3
- package/esm2022/lib/components/puro-slider3card/puro-slider3card.component.mjs +3 -3
- package/esm2022/lib/services/mapper/mapper.service.mjs +1 -2
- package/fesm2022/ctt-puro.mjs +4 -5
- package/fesm2022/ctt-puro.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2022/ctt-puro.mjs
CHANGED
|
@@ -1441,11 +1441,11 @@ class PuroBannerInfoComponent {
|
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
1443
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroBannerInfoComponent, deps: [{ token: i1.DomSanitizer }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1444
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroBannerInfoComponent, isStandalone: true, selector: "lib-puro-banner-info", inputs: { title: "title", description: "description", button: "button", frameUrl: "frameUrl", tags: "tags", textColors: "textColors" }, ngImport: i0, template: "<section class=\"text text__withBg\">\n <div class=\"text__container\">\n @if (title) {\n <lib-puro-dynamic-heading\n [tag]=\"tags?.title || 'span'\"\n cssClass=\"text__heading\"\n [color]=\"textColors?.title\"\n [content]=\"title\"\n ></lib-puro-dynamic-heading>\n }\n @if (description) {\n <div class=\"text__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n class=\"btn btn__primary--outline\"\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n @if (frameUrl) {\n <iframe\n width=\"100%\"\n height=\"250\"\n [src]=\"safeUrl\"\n frameborder=\"0\"\n allowfullscreen\n ></iframe>\n }\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "component", type: PuroDynamicHeadingComponent, selector: "lib-puro-dynamic-heading", inputs: ["tag", "wrapper", "cssClass", "content", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1444
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroBannerInfoComponent, isStandalone: true, selector: "lib-puro-banner-info", inputs: { title: "title", description: "description", button: "button", frameUrl: "frameUrl", tags: "tags", textColors: "textColors" }, ngImport: i0, template: "<section class=\"text text__withBg generalMargin\">\n <div class=\"text__container\">\n @if (title) {\n <lib-puro-dynamic-heading\n [tag]=\"tags?.title || 'span'\"\n cssClass=\"text__heading\"\n [color]=\"textColors?.title\"\n [content]=\"title\"\n ></lib-puro-dynamic-heading>\n }\n @if (description) {\n <div class=\"text__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n class=\"btn btn__primary--outline\"\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n @if (frameUrl) {\n <iframe\n width=\"100%\"\n height=\"250\"\n [src]=\"safeUrl\"\n frameborder=\"0\"\n allowfullscreen\n ></iframe>\n }\n </div>\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: PuroLinkTypeDirective, selector: "[linkType]", inputs: ["linkType", "href", "modalClick"], outputs: ["bookClick", "anchorClicked"] }, { kind: "component", type: PuroDynamicHeadingComponent, selector: "lib-puro-dynamic-heading", inputs: ["tag", "wrapper", "cssClass", "content", "color"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1445
1445
|
}
|
|
1446
1446
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroBannerInfoComponent, decorators: [{
|
|
1447
1447
|
type: Component,
|
|
1448
|
-
args: [{ selector: 'lib-puro-banner-info', standalone: true, imports: [CommonModule, PuroLinkTypeDirective, PuroDynamicHeadingComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"text text__withBg\">\n <div class=\"text__container\">\n @if (title) {\n <lib-puro-dynamic-heading\n [tag]=\"tags?.title || 'span'\"\n cssClass=\"text__heading\"\n [color]=\"textColors?.title\"\n [content]=\"title\"\n ></lib-puro-dynamic-heading>\n }\n @if (description) {\n <div class=\"text__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n class=\"btn btn__primary--outline\"\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n @if (frameUrl) {\n <iframe\n width=\"100%\"\n height=\"250\"\n [src]=\"safeUrl\"\n frameborder=\"0\"\n allowfullscreen\n ></iframe>\n }\n </div>\n</section>\n" }]
|
|
1448
|
+
args: [{ selector: 'lib-puro-banner-info', standalone: true, imports: [CommonModule, PuroLinkTypeDirective, PuroDynamicHeadingComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section class=\"text text__withBg generalMargin\">\n <div class=\"text__container\">\n @if (title) {\n <lib-puro-dynamic-heading\n [tag]=\"tags?.title || 'span'\"\n cssClass=\"text__heading\"\n [color]=\"textColors?.title\"\n [content]=\"title\"\n ></lib-puro-dynamic-heading>\n }\n @if (description) {\n <div class=\"text__paragraph\">\n <p>\n {{ description }}\n </p>\n </div>\n }\n @if (button) {\n <div class=\"btn__group\">\n <a\n class=\"btn btn__primary--outline\"\n [href]=\"button.url\"\n [linkType]=\"button.linkType\"\n [attr.aria-label]=\"button.label\"\n >\n <span>{{ button.label }}</span>\n </a>\n </div>\n }\n @if (frameUrl) {\n <iframe\n width=\"100%\"\n height=\"250\"\n [src]=\"safeUrl\"\n frameborder=\"0\"\n allowfullscreen\n ></iframe>\n }\n </div>\n</section>\n" }]
|
|
1449
1449
|
}], ctorParameters: () => [{ type: i1.DomSanitizer }, { type: i0.ChangeDetectorRef }], propDecorators: { title: [{
|
|
1450
1450
|
type: Input
|
|
1451
1451
|
}], description: [{
|
|
@@ -5470,7 +5470,6 @@ class MapperService {
|
|
|
5470
5470
|
},
|
|
5471
5471
|
};
|
|
5472
5472
|
}
|
|
5473
|
-
//TODO: Check back props
|
|
5474
5473
|
mapBannerInfo(props) {
|
|
5475
5474
|
return {
|
|
5476
5475
|
title: typeof props?.texts?.title === 'string'
|
|
@@ -8366,7 +8365,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
8366
8365
|
|
|
8367
8366
|
class PuroSlider3cardComponent {
|
|
8368
8367
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroSlider3cardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8369
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroSlider3cardComponent, isStandalone: true, selector: "lib-puro-slider3card", inputs: { items: "items" }, ngImport: i0, template: "<section\n [puroSlider]=\"items\"\n class=\"slider3card js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-slider3card-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=\"3\"\n data-slides_laptop=\"3\"\n data-slides_tablet=\"3\"\n data-slides_mobile=\"2\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n @if (items && items.length > 0) {\n <div class=\"slider3card__inner relative\">\n <div class=\"slider3card__container\">\n <div class=\"js-slider3card-slider slider3card__slider\">\n @for (item of items; track $index) {\n <div>\n <div class=\"slider3card__card\">\n <img\n ngSrc=\"assets/images/comillas.png\"\n alt=\"slider image\"\n class=\"slider3card__img\"\n width=\"68\"\n height=\"42\"\n decoding=\"async\"\n />\n @if (item.description) {\n <p class=\"slider3card__description\">\n {{ item.description }}\n </p>\n }\n @if (item.author) {\n <p\n class=\"slider3card__sign\"\n [innerHTML]=\"item.author\"\n ></p>\n }\n </div>\n </div>\n }\n </div>\n\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n }\n</section>\n", styles: ["
|
|
8368
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.12", type: PuroSlider3cardComponent, isStandalone: true, selector: "lib-puro-slider3card", inputs: { items: "items" }, ngImport: i0, template: "<section\n [puroSlider]=\"items\"\n class=\"slider3card js-active-slider generalMargin\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-slider3card-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=\"3\"\n data-slides_laptop=\"3\"\n data-slides_tablet=\"3\"\n data-slides_mobile=\"2\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n @if (items && items.length > 0) {\n <div class=\"slider3card__inner relative\">\n <div class=\"slider3card__container\">\n <div class=\"js-slider3card-slider slider3card__slider\">\n @for (item of items; track $index) {\n <div>\n <div class=\"slider3card__card\">\n <img\n ngSrc=\"assets/images/comillas.png\"\n alt=\"slider image\"\n class=\"slider3card__img\"\n width=\"68\"\n height=\"42\"\n decoding=\"async\"\n />\n @if (item.description) {\n <p class=\"slider3card__description\">\n {{ item.description }}\n </p>\n }\n @if (item.author) {\n <p\n class=\"slider3card__sign\"\n [innerHTML]=\"item.author\"\n ></p>\n }\n </div>\n </div>\n }\n </div>\n\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n }\n</section>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { 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 }); }
|
|
8370
8369
|
}
|
|
8371
8370
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: PuroSlider3cardComponent, decorators: [{
|
|
8372
8371
|
type: Component,
|
|
@@ -8376,7 +8375,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
8376
8375
|
PuroSliderDirective,
|
|
8377
8376
|
NgOptimizedImage,
|
|
8378
8377
|
AutoImageZoomWrapperDirective,
|
|
8379
|
-
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n [puroSlider]=\"items\"\n class=\"slider3card js-active-slider\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-slider3card-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=\"3\"\n data-slides_laptop=\"3\"\n data-slides_tablet=\"3\"\n data-slides_mobile=\"2\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n @if (items && items.length > 0) {\n <div class=\"slider3card__inner relative\">\n <div class=\"slider3card__container\">\n <div class=\"js-slider3card-slider slider3card__slider\">\n @for (item of items; track $index) {\n <div>\n <div class=\"slider3card__card\">\n <img\n ngSrc=\"assets/images/comillas.png\"\n alt=\"slider image\"\n class=\"slider3card__img\"\n width=\"68\"\n height=\"42\"\n decoding=\"async\"\n />\n @if (item.description) {\n <p class=\"slider3card__description\">\n {{ item.description }}\n </p>\n }\n @if (item.author) {\n <p\n class=\"slider3card__sign\"\n [innerHTML]=\"item.author\"\n ></p>\n }\n </div>\n </div>\n }\n </div>\n\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n }\n</section>\n"
|
|
8378
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<section\n [puroSlider]=\"items\"\n class=\"slider3card js-active-slider generalMargin\"\n data-slides_infinite=\"true\"\n data-slider_name=\"js-slider3card-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=\"3\"\n data-slides_laptop=\"3\"\n data-slides_tablet=\"3\"\n data-slides_mobile=\"2\"\n data-slides_mobile_small=\"1\"\n data-slides_mobile_xsmall=\"1\"\n>\n @if (items && items.length > 0) {\n <div class=\"slider3card__inner relative\">\n <div class=\"slider3card__container\">\n <div class=\"js-slider3card-slider slider3card__slider\">\n @for (item of items; track $index) {\n <div>\n <div class=\"slider3card__card\">\n <img\n ngSrc=\"assets/images/comillas.png\"\n alt=\"slider image\"\n class=\"slider3card__img\"\n width=\"68\"\n height=\"42\"\n decoding=\"async\"\n />\n @if (item.description) {\n <p class=\"slider3card__description\">\n {{ item.description }}\n </p>\n }\n @if (item.author) {\n <p\n class=\"slider3card__sign\"\n [innerHTML]=\"item.author\"\n ></p>\n }\n </div>\n </div>\n }\n </div>\n\n <div class=\"js-slider-arrows\"></div>\n </div>\n </div>\n }\n</section>\n" }]
|
|
8380
8379
|
}], propDecorators: { items: [{
|
|
8381
8380
|
type: Input
|
|
8382
8381
|
}] } });
|