ctt-babylon 0.13.36 → 0.13.38
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-static-footer/babylon-static-footer.component.mjs +1 -1
- package/esm2022/lib/components/external/core/c2-img-txt-svg/c2-img-txt-svg.component.mjs +5 -3
- package/esm2022/lib/components/external/core/c2-txt-cta/c2-txt-cta.component.mjs +3 -3
- package/esm2022/lib/components/external/core/c2-txt-svg-img-cta/c2-txt-svg-img-cta.component.mjs +86 -0
- package/esm2022/lib/components/external/core/c2-txt-svg-img-cta/c2-txt-svg-img-cta.content.json +35 -0
- package/esm2022/lib/components/external/core/c2-txt-svg-img-cta/c2-txt-svg-img-cta.interfaces.mjs +2 -0
- package/esm2022/lib/components/external/core/c2-txt-svg-img-cta/index.mjs +2 -0
- package/esm2022/lib/components/external/core/index.mjs +3 -1
- package/esm2022/lib/components/external/core/lis-c2-txt-img/lis-c2-txt-img.component.mjs +3 -3
- package/esm2022/lib/components/external/core/sli-c2-img-v2/index.mjs +2 -0
- package/esm2022/lib/components/external/core/sli-c2-img-v2/sli-c2-img-v2.component.mjs +153 -0
- package/esm2022/lib/components/external/core/sli-c2-img-v2/sli-c2-img-v2.content.json +27 -0
- package/esm2022/lib/components/external/core/sli-c2-img-v2/sli-c2-img-v2.interfaces.mjs +2 -0
- package/fesm2022/ctt-babylon.mjs +357 -53
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-static-footer/babylon-static-footer.component.d.ts +1 -0
- package/lib/components/external/core/c2-img-txt-svg/c2-img-txt-svg.component.d.ts +3 -1
- package/lib/components/external/core/c2-txt-svg-img-cta/c2-txt-svg-img-cta.component.d.ts +19 -0
- package/lib/components/external/core/c2-txt-svg-img-cta/c2-txt-svg-img-cta.interfaces.d.ts +25 -0
- package/lib/components/external/core/c2-txt-svg-img-cta/index.d.ts +1 -0
- package/lib/components/external/core/index.d.ts +2 -0
- package/lib/components/external/core/sli-c2-img-v2/index.d.ts +1 -0
- package/lib/components/external/core/sli-c2-img-v2/sli-c2-img-v2.component.d.ts +23 -0
- package/lib/components/external/core/sli-c2-img-v2/sli-c2-img-v2.interfaces.d.ts +15 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { BabylonButtonI, BabylonMultimediaI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
2
|
import { BabylonStyleGlobalItem } from '../../../../interfaces/babylon-style.interface';
|
|
3
|
+
import { BabylonAddressItem } from '../../../core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export interface C2ImgTxtSvgLine {
|
|
5
6
|
text: string;
|
|
@@ -32,11 +33,12 @@ export declare class C2ImgTxtSvgComponent {
|
|
|
32
33
|
buttons?: BabylonButtonI[];
|
|
33
34
|
links?: BabylonButtonI[];
|
|
34
35
|
styles?: BabylonStyleGlobalItem;
|
|
36
|
+
address?: BabylonAddressItem[];
|
|
35
37
|
tagNameMap: string;
|
|
36
38
|
tagNameMapPNG: string;
|
|
37
39
|
trackByTitle(index: number, section: C2ImgTxtSvgSection): string;
|
|
38
40
|
trackByLine(index: number, line: C2ImgTxtSvgLine): string;
|
|
39
41
|
getFirstImageByTag(tagName: string): import("../../../../interfaces").BabylonImageI | undefined;
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<C2ImgTxtSvgComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C2ImgTxtSvgComponent, "c2-img-txt-svg", never, { "content": { "alias": "content"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "links": { "alias": "links"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, {}, never, never, true, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C2ImgTxtSvgComponent, "c2-img-txt-svg", never, { "content": { "alias": "content"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "links": { "alias": "links"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "address": { "alias": "address"; "required": false; }; }, {}, never, never, true, never>;
|
|
42
44
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { C2TxtSvgImgCtaContent } from './c2-txt-svg-img-cta.interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class C2TxtSvgImgCtaComponent implements AfterViewInit, OnDestroy {
|
|
5
|
+
private readonly fallbackContent;
|
|
6
|
+
content: C2TxtSvgImgCtaContent;
|
|
7
|
+
private faqSection?;
|
|
8
|
+
private resizeTimeoutId?;
|
|
9
|
+
private mutationObserver?;
|
|
10
|
+
private readonly handleResize;
|
|
11
|
+
ngAfterViewInit(): void;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
trackByIndex(index: number): number;
|
|
14
|
+
private moveTopPanel;
|
|
15
|
+
private initializeResizeListener;
|
|
16
|
+
private initializeMutationObserver;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<C2TxtSvgImgCtaComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C2TxtSvgImgCtaComponent, "c2-txt-svg-img-cta", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -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 C2TxtSvgImgCtaMedia {
|
|
9
|
+
url: string;
|
|
10
|
+
alt: string;
|
|
11
|
+
}
|
|
12
|
+
export interface InfoItem {
|
|
13
|
+
title?: string;
|
|
14
|
+
question?: string;
|
|
15
|
+
description: string;
|
|
16
|
+
button?: CtaButtonConfig;
|
|
17
|
+
}
|
|
18
|
+
export interface C2TxtSvgImgCtaContent {
|
|
19
|
+
title: string;
|
|
20
|
+
icon: C2TxtSvgImgCtaMedia;
|
|
21
|
+
image: C2TxtSvgImgCtaMedia;
|
|
22
|
+
bottomText: string;
|
|
23
|
+
infoItems: InfoItem[];
|
|
24
|
+
footerButton?: CtaButtonConfig;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './c2-txt-svg-img-cta.component';
|
|
@@ -3,6 +3,7 @@ export * from './c2-txt-cta';
|
|
|
3
3
|
export * from './c2-txt-cta-des';
|
|
4
4
|
export * from './c2-txt-img-v2';
|
|
5
5
|
export * from './c2-txt-rrss';
|
|
6
|
+
export * from './c2-txt-svg-img-cta';
|
|
6
7
|
export * from './c2-txt-svg-v2';
|
|
7
8
|
export * from './c3-txt-img-cta';
|
|
8
9
|
export * from './c4-c1-img-txt';
|
|
@@ -28,5 +29,6 @@ export * from './sli-c1-img-svg';
|
|
|
28
29
|
export * from './sli-c2-img';
|
|
29
30
|
export * from './sli-c2-img-txt-cta-v3';
|
|
30
31
|
export * from './sli-c2-img-txt-cv5';
|
|
32
|
+
export * from './sli-c2-img-v2';
|
|
31
33
|
export * from './sli-c2-txt-car-img-c';
|
|
32
34
|
export * from './sli-c2-txt-img-svg-c';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './sli-c2-img-v2.component';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { SliC2ImgV2Content } from './sli-c2-img-v2.interfaces';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SliC2ImgV2Component implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
|
+
private platformId;
|
|
6
|
+
private readonly fallbackContent;
|
|
7
|
+
content: SliC2ImgV2Content;
|
|
8
|
+
private swiperContainer?;
|
|
9
|
+
private nextButton?;
|
|
10
|
+
private prevButton?;
|
|
11
|
+
private swiperInstance?;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
trackByIndex(index: number): number;
|
|
16
|
+
private setupSwiper;
|
|
17
|
+
private destroySwiper;
|
|
18
|
+
private resolveSliderMetrics;
|
|
19
|
+
private buildBreakpoints;
|
|
20
|
+
private normalizeSlides;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2ImgV2Component, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgV2Component, "sli-c2-img-v2", never, { "content": { "alias": "content"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface SlideMedia {
|
|
2
|
+
imageUrl: string;
|
|
3
|
+
imageAlt: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SideImage {
|
|
6
|
+
url: string;
|
|
7
|
+
alt: string;
|
|
8
|
+
}
|
|
9
|
+
export interface SliC2ImgV2Content {
|
|
10
|
+
slides: SlideMedia[];
|
|
11
|
+
slidesPerView?: number;
|
|
12
|
+
reverseLayout?: boolean;
|
|
13
|
+
autoplayDelayMs?: number;
|
|
14
|
+
sideImage?: SideImage;
|
|
15
|
+
}
|