ctt-babylon 0.13.41 → 0.13.43
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-c2-txt/babylon-lis-c2-txt.component.mjs +2 -2
- package/esm2022/lib/components/core/babylon-offer-detail/babylon-offer-detail.interface.mjs +1 -1
- package/esm2022/lib/components/external/core/c2-txt-cta-des/c2-txt-cta-des.component.mjs +2 -2
- package/esm2022/lib/components/external/core/c2-txt-img-v2/c2-txt-img-v2.component.mjs +3 -3
- package/esm2022/lib/components/external/core/lis-c2-txt-img-svg-c/lis-c2-txt-img-svg-c.component.mjs +1 -1
- package/esm2022/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.mjs +5 -3
- package/esm2022/lib/interfaces/babylon-offer-detail-v2.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-offer-detail.interface.mjs +1 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +17 -15
- package/fesm2022/ctt-babylon.mjs +25 -21
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-offer-detail/babylon-offer-detail.interface.d.ts +3 -0
- package/lib/components/external/core/lis-c2-txt-img-svg-c/lis-c2-txt-img-svg-c.component.d.ts +2 -2
- package/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.d.ts +5 -4
- package/lib/interfaces/babylon-offer-detail-v2.interface.d.ts +26 -0
- package/lib/interfaces/babylon-offer-detail.interface.d.ts +4 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BabylonItemI, BabylonMultimediaI } from '../../../interfaces';
|
|
1
2
|
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
2
3
|
import { BabylonImageI } from '../../../interfaces/babylon-image.interface';
|
|
3
4
|
export interface BabylonOfferDetailI {
|
|
@@ -11,7 +12,9 @@ export interface BabylonOfferDetailI {
|
|
|
11
12
|
price?: number;
|
|
12
13
|
discount?: number;
|
|
13
14
|
image?: BabylonImageI;
|
|
15
|
+
multimedia?: BabylonMultimediaI;
|
|
14
16
|
button?: BabylonButtonI;
|
|
15
17
|
link?: BabylonButtonI;
|
|
16
18
|
conditions?: string;
|
|
19
|
+
services?: BabylonItemI[];
|
|
17
20
|
}
|
package/lib/components/external/core/lis-c2-txt-img-svg-c/lis-c2-txt-img-svg-c.component.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BabylonImageI } from '../../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { BabylonOfferDetailV2I } from '../../../../interfaces/babylon-offer-detail-v2.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class LisC2TxtImgSvgCComponent {
|
|
5
5
|
private readonly fallbackContent;
|
|
6
|
-
offers?:
|
|
6
|
+
offers?: BabylonOfferDetailV2I[];
|
|
7
7
|
startReverse?: boolean;
|
|
8
8
|
tagName: string;
|
|
9
9
|
tagNamePNG: string;
|
package/lib/components/external/core/sli-c2-txt-img-svg-c/sli-c2-txt-img-svg-c.component.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { BabylonButtonI } from '../../../../interfaces';
|
|
3
|
-
import {
|
|
2
|
+
import { BabylonButtonI, BabylonTextInfoI } from '../../../../interfaces';
|
|
3
|
+
import { BabylonOfferDetailI } from '../../../../interfaces/babylon-offer-detail.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SliC2TxtImgSvgCComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
6
6
|
private readonly platformId;
|
|
7
7
|
private readonly fallbackContent;
|
|
8
|
-
offer?:
|
|
8
|
+
offer?: BabylonOfferDetailI;
|
|
9
9
|
buttons?: BabylonButtonI[];
|
|
10
|
+
texts?: BabylonTextInfoI;
|
|
10
11
|
private stickyContainer?;
|
|
11
12
|
private logoStopper?;
|
|
12
13
|
private stickyInitialTop;
|
|
@@ -25,5 +26,5 @@ export declare class SliC2TxtImgSvgCComponent implements AfterViewInit, OnChange
|
|
|
25
26
|
private handleViewportChange;
|
|
26
27
|
getFirstImageByTag(tagName: string): import("../../../../interfaces").BabylonImageI | undefined;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2TxtImgSvgCComponent, 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>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2TxtImgSvgCComponent, "sli-c2-txt-img-svg-c", never, { "offer": { "alias": "offer"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; }, {}, never, never, true, never>;
|
|
29
30
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BabylonButtonI } from './babylon-button.interface';
|
|
2
|
+
import { BabylonImageI } from './babylon-image.interface';
|
|
3
|
+
import { BabylonItemI } from './babylon-item.interface';
|
|
4
|
+
import { BabylonTextInfoI } from './babylon-text-info.interface';
|
|
5
|
+
export interface BabylonOfferDetailV2I {
|
|
6
|
+
pretitle?: string;
|
|
7
|
+
title?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
subtitle?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
ndTitle?: string;
|
|
12
|
+
labelFrom?: string;
|
|
13
|
+
labelDiscount?: string;
|
|
14
|
+
currency?: string;
|
|
15
|
+
price?: number;
|
|
16
|
+
discount?: number;
|
|
17
|
+
image?: BabylonImageI;
|
|
18
|
+
link?: BabylonButtonI;
|
|
19
|
+
links?: BabylonButtonI[];
|
|
20
|
+
conditions?: string;
|
|
21
|
+
texts?: BabylonTextInfoI;
|
|
22
|
+
button?: BabylonButtonI;
|
|
23
|
+
buttons?: BabylonButtonI[];
|
|
24
|
+
multimedia?: BabylonImageI[];
|
|
25
|
+
services?: BabylonItemI[];
|
|
26
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BabylonButtonI } from './babylon-button.interface';
|
|
2
2
|
import { BabylonImageI } from './babylon-image.interface';
|
|
3
|
+
import { BabylonItemI } from './babylon-item.interface';
|
|
4
|
+
import { BabylonMultimediaI } from './babylon-multimedia.interface';
|
|
3
5
|
import { BabylonTextInfoI } from './babylon-text-info.interface';
|
|
4
6
|
export interface BabylonOfferDetailI {
|
|
5
7
|
pretitle?: string;
|
|
@@ -20,5 +22,6 @@ export interface BabylonOfferDetailI {
|
|
|
20
22
|
texts?: BabylonTextInfoI;
|
|
21
23
|
button?: BabylonButtonI;
|
|
22
24
|
buttons?: BabylonButtonI[];
|
|
23
|
-
multimedia?:
|
|
25
|
+
multimedia?: BabylonMultimediaI;
|
|
26
|
+
services?: BabylonItemI[];
|
|
24
27
|
}
|