ctt-babylon 0.10.28 → 0.10.30
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-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.mjs +11 -0
- package/esm2022/lib/components/core/babylon-lis-svg-txt-cta/index.mjs +2 -0
- package/esm2022/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.interface.mjs +1 -1
- package/esm2022/lib/components/core/index.mjs +2 -1
- package/esm2022/lib/components/external/core/c2-txt-rrss/c2-txt-rrss.component.mjs +23 -0
- package/esm2022/lib/components/external/core/c2-txt-rrss/content.json +12 -0
- package/esm2022/lib/components/external/core/c2-txt-rrss/index.mjs +2 -0
- package/esm2022/lib/components/external/core/c3-txt-img-cta/c3-txt-img-cta.component.mjs +20 -0
- package/esm2022/lib/components/external/core/c3-txt-img-cta/c3-txt-img-cta.content.json +20 -0
- package/esm2022/lib/components/external/core/c3-txt-img-cta/c3-txt-img-cta.interfaces.mjs +2 -0
- package/esm2022/lib/components/external/core/c3-txt-img-cta/index.mjs +2 -0
- package/esm2022/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.mjs +89 -0
- package/esm2022/lib/components/external/core/car-c2-txt-cta/content.json +47 -0
- package/esm2022/lib/components/external/core/car-c2-txt-cta/index.mjs +2 -0
- package/esm2022/lib/components/external/core/index.mjs +7 -1
- package/esm2022/lib/components/external/core/lis-c4-txt-des-cta/content.json +13 -13
- package/esm2022/lib/components/external/core/lis-c4-txt-des-cta/lis-c4-txt-des-cta.component.mjs +3 -3
- package/esm2022/lib/components/external/core/sli-c1-img-svg/content.json +5 -0
- package/esm2022/lib/components/external/core/sli-c1-img-svg/index.mjs +2 -0
- package/esm2022/lib/components/external/core/sli-c1-img-svg/sli-c1-img-svg.component.mjs +19 -0
- package/esm2022/lib/components/external/core/sli-c2-img/c2-txt.component.mjs +1 -3
- package/esm2022/lib/components/external/core/sli-c2-img-txt-cta-v3/index.mjs +2 -0
- package/esm2022/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.component.mjs +20 -0
- package/esm2022/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.content.json +22 -0
- package/esm2022/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.interfaces.mjs +2 -0
- package/esm2022/lib/components/external/core/sli-c2-txt-car-img-c/content.json +19 -0
- package/esm2022/lib/components/external/core/sli-c2-txt-car-img-c/index.mjs +2 -0
- package/esm2022/lib/components/external/core/sli-c2-txt-car-img-c/sli-c2-txt-car-img-c.component.mjs +74 -0
- package/esm2022/lib/directives/link-type/link-type.directive.mjs +4 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +13 -7
- package/fesm2022/ctt-babylon.mjs +472 -57
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.d.ts +5 -0
- package/lib/components/core/babylon-lis-svg-txt-cta/index.d.ts +1 -0
- package/lib/components/core/babylon-rooms-slider/babylon-rooms-slider.interface.d.ts +2 -0
- package/lib/components/core/index.d.ts +1 -0
- package/lib/components/external/core/c2-txt-rrss/c2-txt-rrss.component.d.ts +19 -0
- package/lib/components/external/core/c2-txt-rrss/index.d.ts +1 -0
- package/lib/components/external/core/c3-txt-img-cta/c3-txt-img-cta.component.d.ts +8 -0
- package/lib/components/external/core/c3-txt-img-cta/c3-txt-img-cta.interfaces.d.ts +25 -0
- package/lib/components/external/core/c3-txt-img-cta/index.d.ts +1 -0
- package/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.d.ts +46 -0
- package/lib/components/external/core/car-c2-txt-cta/index.d.ts +1 -0
- package/lib/components/external/core/index.d.ts +6 -0
- package/lib/components/external/core/sli-c1-img-svg/index.d.ts +1 -0
- package/lib/components/external/core/sli-c1-img-svg/sli-c1-img-svg.component.d.ts +11 -0
- package/lib/components/external/core/sli-c2-img/c2-txt.component.d.ts +0 -2
- package/lib/components/external/core/sli-c2-img-txt-cta-v3/index.d.ts +1 -0
- package/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.component.d.ts +8 -0
- package/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.interfaces.d.ts +21 -0
- package/lib/components/external/core/sli-c2-txt-car-img-c/index.d.ts +1 -0
- package/lib/components/external/core/sli-c2-txt-car-img-c/sli-c2-txt-car-img-c.component.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BabylonLisSvgTxtCtaComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonLisSvgTxtCtaComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonLisSvgTxtCtaComponent, "lib-babylon-lis-svg-txt-cta", never, {}, {}, never, never, true, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './babylon-lis-svg-txt-cta.component';
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BabylonRoomInfoI } from '../../../interfaces/babylon-room.interface';
|
|
2
2
|
import { BabylonTextInfoI } from '../../../interfaces/babylon-text-info.interface';
|
|
3
|
+
import { BabylonTagsI } from '../../../interfaces/babylon-tags.interface';
|
|
3
4
|
export interface BabylonRoomsSliderI {
|
|
4
5
|
labels?: BabylonTextInfoI;
|
|
5
6
|
title?: string;
|
|
6
7
|
pretitle?: string;
|
|
8
|
+
tags?: BabylonTagsI;
|
|
7
9
|
rooms?: BabylonRoomInfoI[];
|
|
8
10
|
}
|
|
@@ -83,6 +83,7 @@ export * from './babylon-language-modal-v3';
|
|
|
83
83
|
export * from './babylon-legal';
|
|
84
84
|
export * from './babylon-lis-c2-txt';
|
|
85
85
|
export * from './babylon-lis-c4-txt-ico';
|
|
86
|
+
export * from './babylon-lis-svg-txt-cta';
|
|
86
87
|
export * from './babylon-list-box-info';
|
|
87
88
|
export * from './babylon-list-c3-img-txt';
|
|
88
89
|
export * from './babylon-list-grid';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface C2TxtRrssIcon {
|
|
3
|
+
label: string;
|
|
4
|
+
url: string;
|
|
5
|
+
background: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface C2TxtRrssContent {
|
|
9
|
+
backgroundColor?: string;
|
|
10
|
+
title: string;
|
|
11
|
+
hashtag: string;
|
|
12
|
+
icons: C2TxtRrssIcon[];
|
|
13
|
+
}
|
|
14
|
+
export declare class C2TxtRrssComponent {
|
|
15
|
+
content: C2TxtRrssContent;
|
|
16
|
+
trackByIcon(index: number, item: C2TxtRrssIcon): string;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<C2TxtRrssComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtRrssComponent, "c2-txt-rrss", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './c2-txt-rrss.component';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { C3TxtImgCtaContent } from './c3-txt-img-cta.interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class C3TxtImgCtaComponent {
|
|
4
|
+
private readonly fallbackContent;
|
|
5
|
+
content: C3TxtImgCtaContent;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<C3TxtImgCtaComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C3TxtImgCtaComponent, "c3-txt-img-cta", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface CtaButtonConfig {
|
|
2
|
+
label: string;
|
|
3
|
+
url?: string;
|
|
4
|
+
target?: '_self' | '_blank';
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
variant?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface C3TxtImgCtaImage {
|
|
9
|
+
url: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
}
|
|
12
|
+
export interface C3TxtImgCtaLeftBlock {
|
|
13
|
+
image: C3TxtImgCtaImage;
|
|
14
|
+
text: string;
|
|
15
|
+
button?: CtaButtonConfig;
|
|
16
|
+
}
|
|
17
|
+
export interface C3TxtImgCtaRightBlock {
|
|
18
|
+
image: C3TxtImgCtaImage;
|
|
19
|
+
title: string;
|
|
20
|
+
text: string;
|
|
21
|
+
}
|
|
22
|
+
export interface C3TxtImgCtaContent {
|
|
23
|
+
left: C3TxtImgCtaLeftBlock;
|
|
24
|
+
right: C3TxtImgCtaRightBlock;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './c3-txt-img-cta.component';
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface CarC2TxtCtaLink {
|
|
4
|
+
label: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface CarC2TxtCtaButton extends CarC2TxtCtaLink {
|
|
10
|
+
variant?: 'red' | 'blue' | 'green' | 'underline' | 'default';
|
|
11
|
+
}
|
|
12
|
+
export interface CarC2TxtCtaIconCard {
|
|
13
|
+
icon?: string;
|
|
14
|
+
text: string;
|
|
15
|
+
}
|
|
16
|
+
export interface CarC2TxtCtaCard {
|
|
17
|
+
title: string;
|
|
18
|
+
image?: string;
|
|
19
|
+
tag?: string;
|
|
20
|
+
logo?: string;
|
|
21
|
+
primaryButton?: CarC2TxtCtaButton;
|
|
22
|
+
secondaryButton?: CarC2TxtCtaButton;
|
|
23
|
+
iconCard?: CarC2TxtCtaIconCard;
|
|
24
|
+
}
|
|
25
|
+
export interface CarC2TxtCtaContent {
|
|
26
|
+
title: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
topLink?: CarC2TxtCtaLink;
|
|
29
|
+
cards: CarC2TxtCtaCard[];
|
|
30
|
+
}
|
|
31
|
+
export declare class CarC2TxtCtaComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
32
|
+
private host;
|
|
33
|
+
content: CarC2TxtCtaContent;
|
|
34
|
+
private swiperInstance?;
|
|
35
|
+
private readonly platformId;
|
|
36
|
+
constructor(host: ElementRef<HTMLElement>);
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
39
|
+
ngOnDestroy(): void;
|
|
40
|
+
trackByCard(index: number, card: CarC2TxtCtaCard): string;
|
|
41
|
+
private initSwiper;
|
|
42
|
+
private destroySwiper;
|
|
43
|
+
private rebuildSwiper;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarC2TxtCtaComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarC2TxtCtaComponent, "car-c2-txt-cta", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './car-c2-txt-cta.component';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from './c2-txt-cta';
|
|
2
|
+
export * from './c2-txt-rrss';
|
|
2
3
|
export * from './c2-txt-svg-v2';
|
|
4
|
+
export * from './c3-txt-img-cta';
|
|
3
5
|
export * from './c4-c1-img-txt';
|
|
4
6
|
export * from './c4-c1-img-txt-c';
|
|
5
7
|
export * from './c4-c1-txt';
|
|
@@ -13,7 +15,11 @@ export * from './c4-sli-c1-img-txt';
|
|
|
13
15
|
export * from './c4-sli-c2-img-txt-c';
|
|
14
16
|
export * from './c4-sli-c2-txt-img';
|
|
15
17
|
export * from './c4-txt-svg';
|
|
18
|
+
export * from './car-c2-txt-cta';
|
|
16
19
|
export * from './lis-c2-img-txt-cv4';
|
|
17
20
|
export * from './lis-c2-txt-img';
|
|
18
21
|
export * from './lis-c4-txt-des-cta';
|
|
22
|
+
export * from './sli-c1-img-svg';
|
|
19
23
|
export * from './sli-c2-img';
|
|
24
|
+
export * from './sli-c2-img-txt-cta-v3';
|
|
25
|
+
export * from './sli-c2-txt-car-img-c';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sli-c1-img-svg.component';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export interface SliC1ImgSvgContent {
|
|
3
|
+
image: string;
|
|
4
|
+
tagText: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class SliC1ImgSvgComponent {
|
|
8
|
+
content: SliC1ImgSvgContent;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliC1ImgSvgComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC1ImgSvgComponent, "sli-c1-img-svg", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import 'swiper/css';
|
|
3
|
-
import 'swiper/css/navigation';
|
|
4
2
|
import { C2TxtContent } from './c2-txt.interfaces';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class C2TxtComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sli-c2-img-txt-cta-v3.component';
|
package/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.component.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SliC2ImgTxtCtaV3Content } from './sli-c2-img-txt-cta-v3.interfaces';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SliC2ImgTxtCtaV3Component {
|
|
4
|
+
private readonly fallbackContent;
|
|
5
|
+
content: SliC2ImgTxtCtaV3Content;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2ImgTxtCtaV3Component, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgTxtCtaV3Component, "sli-c2-img-txt-cta-v3", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
+
}
|
package/lib/components/external/core/sli-c2-img-txt-cta-v3/sli-c2-img-txt-cta-v3.interfaces.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface CtaButtonConfig {
|
|
2
|
+
label: string;
|
|
3
|
+
url?: string;
|
|
4
|
+
target?: '_self' | '_blank';
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
variant?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface SliC2ImgTxtCtaV3Image {
|
|
9
|
+
url: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
}
|
|
12
|
+
export interface SliC2ImgTxtCtaV3Content {
|
|
13
|
+
title: string;
|
|
14
|
+
mainImage: SliC2ImgTxtCtaV3Image;
|
|
15
|
+
centralImage?: SliC2ImgTxtCtaV3Image;
|
|
16
|
+
floatingImage?: SliC2ImgTxtCtaV3Image;
|
|
17
|
+
description: string;
|
|
18
|
+
primaryButton?: CtaButtonConfig;
|
|
19
|
+
secondaryButton?: CtaButtonConfig;
|
|
20
|
+
reverseLayout?: boolean;
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sli-c2-txt-car-img-c.component';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SliC2TxtCarImgCButton {
|
|
4
|
+
label: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
target?: string;
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SliC2TxtCarImgCSlide {
|
|
10
|
+
mainImage: string;
|
|
11
|
+
detailImage: string;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
button?: SliC2TxtCarImgCButton;
|
|
15
|
+
}
|
|
16
|
+
export interface SliC2TxtCarImgCContent {
|
|
17
|
+
title: string;
|
|
18
|
+
reverse?: boolean;
|
|
19
|
+
slides: SliC2TxtCarImgCSlide[];
|
|
20
|
+
}
|
|
21
|
+
export declare class SliC2TxtCarImgCComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
22
|
+
content: SliC2TxtCarImgCContent;
|
|
23
|
+
private swiperContainer?;
|
|
24
|
+
private nextButton?;
|
|
25
|
+
private prevButton?;
|
|
26
|
+
private swiperInstance?;
|
|
27
|
+
private readonly platformId;
|
|
28
|
+
ngAfterViewInit(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
trackBySlide(index: number, slide: SliC2TxtCarImgCSlide): string;
|
|
32
|
+
private initializeSwiper;
|
|
33
|
+
private destroySwiper;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2TxtCarImgCComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtCarImgCComponent, "sli-c2-txt-car-img-c", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
36
|
+
}
|