ctt-babylon 0.13.33 → 0.13.34
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-offer-detail/babylon-offer-detail.component.mjs +4 -2
- package/esm2022/lib/components/external/core/c2-img-txt-svg/c2-img-txt-svg.component.mjs +4 -3
- package/esm2022/lib/components/external/core/lis-c2-txt-img-svg-c/lis-c2-txt-img-svg-c.component.mjs +3 -3
- package/esm2022/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.mjs +25 -10
- package/esm2022/lib/interfaces/babylon-offer-detail.interface.mjs +1 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +6 -3
- package/fesm2022/ctt-babylon.mjs +33 -14
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-offer-detail/babylon-offer-detail.component.d.ts +3 -1
- package/lib/components/external/core/c2-img-txt-svg/c2-img-txt-svg.component.d.ts +1 -0
- package/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.d.ts +10 -3
- package/lib/interfaces/babylon-offer-detail.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BabylonMultimediaI } from '../../../interfaces';
|
|
1
2
|
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
2
3
|
import { BabylonImageI } from '../../../interfaces/babylon-image.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -12,9 +13,10 @@ export declare class BabylonOfferDetailComponent {
|
|
|
12
13
|
price?: number;
|
|
13
14
|
discount?: number;
|
|
14
15
|
image?: BabylonImageI;
|
|
16
|
+
multimedia?: BabylonMultimediaI;
|
|
15
17
|
button?: BabylonButtonI;
|
|
16
18
|
link?: BabylonButtonI;
|
|
17
19
|
conditions?: string;
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonOfferDetailComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonOfferDetailComponent, "lib-babylon-offer-detail", never, { "pretitle": { "alias": "pretitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ndTitle": { "alias": "ndTitle"; "required": false; }; "labelFrom": { "alias": "labelFrom"; "required": false; }; "labelDiscount": { "alias": "labelDiscount"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "price": { "alias": "price"; "required": false; }; "discount": { "alias": "discount"; "required": false; }; "image": { "alias": "image"; "required": false; }; "button": { "alias": "button"; "required": false; }; "link": { "alias": "link"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonOfferDetailComponent, "lib-babylon-offer-detail", never, { "pretitle": { "alias": "pretitle"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ndTitle": { "alias": "ndTitle"; "required": false; }; "labelFrom": { "alias": "labelFrom"; "required": false; }; "labelDiscount": { "alias": "labelDiscount"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "price": { "alias": "price"; "required": false; }; "discount": { "alias": "discount"; "required": false; }; "image": { "alias": "image"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "button": { "alias": "button"; "required": false; }; "link": { "alias": "link"; "required": false; }; "conditions": { "alias": "conditions"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
22
|
}
|
|
@@ -33,6 +33,7 @@ export declare class C2ImgTxtSvgComponent {
|
|
|
33
33
|
links?: BabylonButtonI[];
|
|
34
34
|
styles?: BabylonStyleGlobalItem;
|
|
35
35
|
tagNameMap: string;
|
|
36
|
+
tagNameMapPNG: string;
|
|
36
37
|
trackByTitle(index: number, section: C2ImgTxtSvgSection): string;
|
|
37
38
|
trackByLine(index: number, line: C2ImgTxtSvgLine): string;
|
|
38
39
|
getFirstImageByTag(tagName: string): import("../../../../interfaces").BabylonImageI | undefined;
|
package/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.d.ts
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BabylonButtonI } from '../../../../interfaces';
|
|
3
|
+
import { BabylonOfferDetailComponent } from '../../../core';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SliC2TxtImgSvgCComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
6
|
private readonly platformId;
|
|
6
7
|
private readonly fallbackContent;
|
|
7
|
-
|
|
8
|
+
offer?: BabylonOfferDetailComponent;
|
|
9
|
+
buttons?: BabylonButtonI[];
|
|
8
10
|
private stickyContainer?;
|
|
9
11
|
private logoStopper?;
|
|
10
12
|
private stickyInitialTop;
|
|
11
13
|
private readonly viewportHandler;
|
|
14
|
+
tagImage: string;
|
|
15
|
+
tagImageVertical: string;
|
|
16
|
+
tagImageLogo: string;
|
|
17
|
+
tagImageSVG: string;
|
|
12
18
|
constructor(platformId: object);
|
|
13
19
|
private get isBrowser();
|
|
14
20
|
ngAfterViewInit(): void;
|
|
@@ -17,6 +23,7 @@ export declare class SliC2TxtImgSvgCComponent implements AfterViewInit, OnChange
|
|
|
17
23
|
private bindViewportEvents;
|
|
18
24
|
private computeStickyDefaults;
|
|
19
25
|
private handleViewportChange;
|
|
26
|
+
getFirstImageByTag(tagName: string): import("../../../../interfaces").BabylonImageI | undefined;
|
|
20
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2TxtImgSvgCComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtImgSvgCComponent, "sli-c2-txt-img-svg-c", never, { "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtImgSvgCComponent, "sli-c2-txt-img-svg-c", never, { "offer": { "alias": "offer"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
29
|
}
|