ctt-babylon 0.12.8 → 0.12.10
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/core/babylon-he-svg-list/babylon-he-svg-list.component.mjs +19 -6
- package/esm2022/lib/components/core/babylon-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.mjs +3 -3
- package/esm2022/lib/components/external/core/c2-txt-cta/c2-txt-cta.component.mjs +5 -3
- package/esm2022/lib/components/external/core/c2-txt-rrss/c2-txt-rrss.component.mjs +3 -3
- package/esm2022/lib/components/external/core/c2-txt-svg-v2/c2-txt-mdh005.component.mjs +7 -3
- package/esm2022/lib/components/external/core/c4-txt-svg/c4-txt-svg.component.mjs +5 -3
- package/esm2022/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.mjs +5 -3
- package/esm2022/lib/components/external/core/lis-c2-img-txt-cv4/lis-c2-img-txt-cv4.component.mjs +3 -3
- package/esm2022/lib/components/external/core/sli-c2-img/sli-c2-img.component.mjs +22 -3
- package/esm2022/lib/components/external/core/sli-c2-txt-car-img-c/sli-c2-txt-car-img-c.component.mjs +5 -3
- package/esm2022/lib/services/mapper/mapper.service.mjs +25 -21
- package/fesm2022/ctt-babylon.mjs +89 -42
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-he-svg-list/babylon-he-svg-list.component.d.ts +1 -0
- package/lib/components/external/core/c2-txt-cta/c2-txt-cta.component.d.ts +3 -2
- package/lib/components/external/core/c2-txt-svg-v2/c2-txt-mdh005.component.d.ts +5 -2
- package/lib/components/external/core/c4-txt-svg/c4-txt-svg.component.d.ts +3 -1
- package/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.d.ts +3 -1
- package/lib/components/external/core/sli-c2-img/sli-c2-img.component.d.ts +13 -4
- package/lib/components/external/core/sli-c2-txt-car-img-c/sli-c2-txt-car-img-c.component.d.ts +3 -1
- package/package.json +1 -1
|
@@ -23,6 +23,7 @@ export declare class BabylonHeSvgListComponent implements AfterViewInit, OnDestr
|
|
|
23
23
|
private readonly platformId;
|
|
24
24
|
openLanguages: EventEmitter<any>;
|
|
25
25
|
openOfferPop: EventEmitter<string>;
|
|
26
|
+
private domObs?;
|
|
26
27
|
private readonly router;
|
|
27
28
|
private navSub?;
|
|
28
29
|
constructor(el: ElementRef<HTMLElement>, dialog: MatDialog);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BabylonButtonI, BabylonItemI, BabylonTextInfoI } from '../../../../interfaces';
|
|
1
|
+
import { BabylonButtonI, BabylonItemI, BabylonRoomDetailI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export type C2TxtCtaStat = string;
|
|
4
4
|
export interface C2TxtCtaButton {
|
|
@@ -21,7 +21,8 @@ export interface C2TxtCtaContent {
|
|
|
21
21
|
export declare class C2TxtCtaComponent {
|
|
22
22
|
texts?: BabylonTextInfoI;
|
|
23
23
|
items?: BabylonItemI[];
|
|
24
|
+
rooms?: BabylonRoomDetailI[];
|
|
24
25
|
buttons?: BabylonButtonI[];
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<C2TxtCtaComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtCtaComponent, "c2-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtCtaComponent, "c2-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "rooms": { "alias": "rooms"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
27
28
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import { BabylonTextInfoI } from '../../../../interfaces';
|
|
1
|
+
import { BabylonRoomDetailI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
|
+
import { BabylonHotelStylesItem } from '../../../../interfaces/babylon-hotel-styles.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class C2TxtMdh005Component {
|
|
4
5
|
private readonly fallbackContent;
|
|
5
6
|
texts?: BabylonTextInfoI;
|
|
7
|
+
rooms?: BabylonRoomDetailI[];
|
|
8
|
+
styles?: BabylonHotelStylesItem;
|
|
6
9
|
trackByIndex(index: number): number;
|
|
7
10
|
getNumber(text: string): number[];
|
|
8
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<C2TxtMdh005Component, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtMdh005Component, "c2-txt-mdh005", never, { "texts": { "alias": "texts"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtMdh005Component, "c2-txt-mdh005", never, { "texts": { "alias": "texts"; "required": false; }; "rooms": { "alias": "rooms"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
13
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BabylonIconInfoI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
|
+
import { BabylonHotelStylesItem } from '../../../../interfaces/babylon-hotel-styles.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface C4TxtSvgItem {
|
|
4
5
|
icon: string;
|
|
@@ -12,7 +13,8 @@ export interface C4TxtSvgContent {
|
|
|
12
13
|
export declare class C4TxtSvgComponent {
|
|
13
14
|
texts?: BabylonTextInfoI;
|
|
14
15
|
items?: BabylonIconInfoI[];
|
|
16
|
+
styles?: BabylonHotelStylesItem;
|
|
15
17
|
trackByTitle(index: number, item: C4TxtSvgItem): string;
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<C4TxtSvgComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C4TxtSvgComponent, "c4-txt-svg", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C4TxtSvgComponent, "c4-txt-svg", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
20
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BabylonButtonI, BabylonImageI, BabylonItemI, BabylonTextInfoI } from '../../../../interfaces';
|
|
3
|
+
import { BabylonHotelStylesItem } from '../../../../interfaces/babylon-hotel-styles.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface CarC2TxtCtaLink {
|
|
5
6
|
label: string;
|
|
@@ -34,6 +35,7 @@ export declare class CarC2TxtCtaComponent implements AfterViewInit, OnChanges, O
|
|
|
34
35
|
texts?: BabylonTextInfoI;
|
|
35
36
|
items?: BabylonItemI[];
|
|
36
37
|
buttons?: BabylonButtonI[];
|
|
38
|
+
styles?: BabylonHotelStylesItem;
|
|
37
39
|
tagName: string;
|
|
38
40
|
private swiperInstance?;
|
|
39
41
|
private readonly platformId;
|
|
@@ -47,5 +49,5 @@ export declare class CarC2TxtCtaComponent implements AfterViewInit, OnChanges, O
|
|
|
47
49
|
private rebuildSwiper;
|
|
48
50
|
getFirstImageByTag(tagName: string, imagenes: BabylonImageI[]): BabylonImageI | undefined;
|
|
49
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarC2TxtCtaComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarC2TxtCtaComponent, "car-c2-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarC2TxtCtaComponent, "car-c2-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
51
53
|
}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BabylonMultimediaI } from '../../../../interfaces';
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BabylonImageI, BabylonMultimediaI, BabylonRoomDetailI } from '../../../../interfaces';
|
|
3
|
+
import { BabylonStyleGlobalItem } from '../../../../interfaces/babylon-style.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SliC2ImgComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
|
+
export declare class SliC2ImgComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
5
6
|
multimedia?: BabylonMultimediaI;
|
|
6
7
|
reverse?: boolean;
|
|
8
|
+
rooms?: BabylonRoomDetailI[];
|
|
9
|
+
styles?: BabylonStyleGlobalItem;
|
|
10
|
+
tagName: string;
|
|
11
|
+
tagNameVertical: string;
|
|
12
|
+
imagesSlider: BabylonImageI[];
|
|
7
13
|
private readonly fallbackContent;
|
|
8
14
|
private readonly platformId;
|
|
9
15
|
private swiperContainer?;
|
|
10
16
|
private nextButton?;
|
|
11
17
|
private prevButton?;
|
|
12
18
|
private swiperInstance?;
|
|
19
|
+
ngOnInit(): void;
|
|
13
20
|
ngAfterViewInit(): void;
|
|
14
21
|
ngOnChanges(changes: SimpleChanges): void;
|
|
15
22
|
ngOnDestroy(): void;
|
|
@@ -17,6 +24,8 @@ export declare class SliC2ImgComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
17
24
|
private setupSwiper;
|
|
18
25
|
private resolveAutoplayDelay;
|
|
19
26
|
private destroySwiper;
|
|
27
|
+
getImagesByTag(tagName: string, multimedia: any): BabylonImageI[];
|
|
28
|
+
getFirstImageByTag(tagName: string, multimedia: any): BabylonImageI | undefined;
|
|
20
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2ImgComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgComponent, "sli-c2-img", never, { "multimedia": { "alias": "multimedia"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; }, {}, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgComponent, "sli-c2-img", never, { "multimedia": { "alias": "multimedia"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "rooms": { "alias": "rooms"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
31
|
}
|
package/lib/components/external/core/sli-c2-txt-car-img-c/sli-c2-txt-car-img-c.component.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { BabylonItemI, BabylonMultimediaI, BabylonTextInfoI } from '../../../../interfaces';
|
|
3
|
+
import { BabylonStyleGlobalItem } from '../../../../interfaces/babylon-style.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface SliC2TxtCarImgCButton {
|
|
5
6
|
label: string;
|
|
@@ -24,6 +25,7 @@ export declare class SliC2TxtCarImgCComponent implements AfterViewInit, OnChange
|
|
|
24
25
|
rightSide?: boolean;
|
|
25
26
|
texts?: BabylonTextInfoI;
|
|
26
27
|
multimedia?: BabylonMultimediaI;
|
|
28
|
+
styles?: BabylonStyleGlobalItem;
|
|
27
29
|
private swiperContainer?;
|
|
28
30
|
private nextButton?;
|
|
29
31
|
private prevButton?;
|
|
@@ -36,5 +38,5 @@ export declare class SliC2TxtCarImgCComponent implements AfterViewInit, OnChange
|
|
|
36
38
|
private initializeSwiper;
|
|
37
39
|
private destroySwiper;
|
|
38
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2TxtCarImgCComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtCarImgCComponent, "sli-c2-txt-car-img-c", never, { "items": { "alias": "items"; "required": false; }; "rightSide": { "alias": "rightSide"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtCarImgCComponent, "sli-c2-txt-car-img-c", never, { "items": { "alias": "items"; "required": false; }; "rightSide": { "alias": "rightSide"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
42
|
}
|