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.
@@ -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: [".slider3card{padding-block:3.5rem;transition:all .5s;position:relative;isolation:isolate;overflow:hidden}@media (min-width: 768px){.slider3card{padding-block:6.8rem 7.091rem}}@media (min-width: 1024px){.slider3card{padding-block:2.8rem 3.9rem}}@media (min-width: 1680px){.slider3card{padding-block:7rem 5.3rem;padding-bottom:8.358rem}}.slider3card__inner{position:relative;padding-inline:4.5rem}@media (min-width: 768px){.slider3card__inner{padding-inline:0}}.slider3card__slider ::ng-deep .slick-list{position:relative;left:50%;transform:translate(-50%);width:100%}@media (min-width: 768px){.slider3card__slider ::ng-deep .slick-list{width:66rem}}@media (min-width: 1024px){.slider3card__slider ::ng-deep .slick-list{position:relative;width:90rem}}@media (min-width: 1280px){.slider3card__slider ::ng-deep .slick-list{width:106rem}}.slider3card__slider ::ng-deep .slick-slide{transition:all .5s;padding-bottom:8px}@media (min-width: 768px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:2.5rem}}@media (min-width: 1024px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:1rem}}@media (min-width: 1280px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:3.6rem}}.slider3card__card{width:280px;height:343px;padding:21px;background-color:#fff;display:flex;flex-direction:column;justify-content:space-between;border-radius:5px;box-shadow:0 4px 4px #00000040;gap:27px}@media (max-width: 768px){.slider3card__card{position:relative;left:50%;transform:translate(-50%)}}.slider3card__img{width:68px;height:42px}.slider3card__description{font-weight:400;font-size:1.4rem;line-height:3.4rem;letter-spacing:.03em;color:#616160}.slider3card__sign{font-weight:700;font-size:1.4rem;line-height:2rem;letter-spacing:.03em;color:#ceb677}.slider3card .js-slider-arrows::ng-deep i{color:#616160}\n"], 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 }); }
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", styles: [".slider3card{padding-block:3.5rem;transition:all .5s;position:relative;isolation:isolate;overflow:hidden}@media (min-width: 768px){.slider3card{padding-block:6.8rem 7.091rem}}@media (min-width: 1024px){.slider3card{padding-block:2.8rem 3.9rem}}@media (min-width: 1680px){.slider3card{padding-block:7rem 5.3rem;padding-bottom:8.358rem}}.slider3card__inner{position:relative;padding-inline:4.5rem}@media (min-width: 768px){.slider3card__inner{padding-inline:0}}.slider3card__slider ::ng-deep .slick-list{position:relative;left:50%;transform:translate(-50%);width:100%}@media (min-width: 768px){.slider3card__slider ::ng-deep .slick-list{width:66rem}}@media (min-width: 1024px){.slider3card__slider ::ng-deep .slick-list{position:relative;width:90rem}}@media (min-width: 1280px){.slider3card__slider ::ng-deep .slick-list{width:106rem}}.slider3card__slider ::ng-deep .slick-slide{transition:all .5s;padding-bottom:8px}@media (min-width: 768px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:2.5rem}}@media (min-width: 1024px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:1rem}}@media (min-width: 1280px){.slider3card__slider ::ng-deep .slick-slide{padding-inline:3.6rem}}.slider3card__card{width:280px;height:343px;padding:21px;background-color:#fff;display:flex;flex-direction:column;justify-content:space-between;border-radius:5px;box-shadow:0 4px 4px #00000040;gap:27px}@media (max-width: 768px){.slider3card__card{position:relative;left:50%;transform:translate(-50%)}}.slider3card__img{width:68px;height:42px}.slider3card__description{font-weight:400;font-size:1.4rem;line-height:3.4rem;letter-spacing:.03em;color:#616160}.slider3card__sign{font-weight:700;font-size:1.4rem;line-height:2rem;letter-spacing:.03em;color:#ceb677}.slider3card .js-slider-arrows::ng-deep i{color:#616160}\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
  }] } });