ctt-babylon 0.26.24 → 0.26.25
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-ai-badge/babylon-ai-badge.component.mjs +3 -3
- package/esm2022/lib/components/core/babylon-global-badge/babylon-global-badge.component.mjs +32 -0
- package/esm2022/lib/components/core/babylon-offer-popup-v4/babylon-offer-popup-v4.component.mjs +8 -4
- package/esm2022/lib/components/external/core/lis-c1-img-txt/lis-c1-img-txt.component.mjs +18 -3
- package/esm2022/lib/components/external/core/top-c2-img-txt/top-c2-img-txt.component.mjs +3 -3
- package/esm2022/lib/interfaces/babylon-text-info.interface.mjs +1 -1
- package/esm2022/lib/services/mapper/mapper.service.mjs +2 -1
- package/fesm2022/ctt-babylon.mjs +2 -2
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-global-badge/babylon-global-badge.component.d.ts +12 -0
- package/lib/components/core/babylon-offer-popup-v4/babylon-offer-popup-v4.component.d.ts +5 -2
- package/lib/components/external/core/lis-c1-img-txt/lis-c1-img-txt.component.d.ts +6 -0
- package/lib/interfaces/babylon-text-info.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BabylonGlobalBadgeComponent {
|
|
3
|
+
badges: string[];
|
|
4
|
+
position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
|
|
5
|
+
additionalClasses: string;
|
|
6
|
+
top?: string;
|
|
7
|
+
bottom?: string;
|
|
8
|
+
left?: string;
|
|
9
|
+
right?: string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonGlobalBadgeComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonGlobalBadgeComponent, "lib-babylon-global-badge", never, { "badges": { "alias": "badges"; "required": false; }; "position": { "alias": "position"; "required": false; }; "additionalClasses": { "alias": "additionalClasses"; "required": false; }; "top": { "alias": "top"; "required": false; }; "bottom": { "alias": "bottom"; "required": false; }; "left": { "alias": "left"; "required": false; }; "right": { "alias": "right"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { BabylonOfferDetailI } from '../babylon-offer-detail';
|
|
2
1
|
import { BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
|
|
2
|
+
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
3
|
+
import { BabylonOfferDetailI } from '../babylon-offer-detail';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class OfferPopUpV4Component {
|
|
5
6
|
title: string;
|
|
@@ -9,10 +10,12 @@ export declare class OfferPopUpV4Component {
|
|
|
9
10
|
imageUrl: string;
|
|
10
11
|
offer?: BabylonOfferDetailI;
|
|
11
12
|
texts?: BabylonTextInfoI;
|
|
13
|
+
multimedia?: BabylonMultimediaI;
|
|
14
|
+
buttons?: BabylonButtonI[];
|
|
12
15
|
tagName: string;
|
|
13
16
|
isOpen: boolean;
|
|
14
17
|
togglePopUp(): void;
|
|
15
18
|
getImagesByTag(tagName: string, multimedia: BabylonMultimediaI): import("../../../interfaces").BabylonImageI[];
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfferPopUpV4Component, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OfferPopUpV4Component, "app-offer-pop-up-v4", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonLink": { "alias": "buttonLink"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "offer": { "alias": "offer"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfferPopUpV4Component, "app-offer-pop-up-v4", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "buttonText": { "alias": "buttonText"; "required": false; }; "buttonLink": { "alias": "buttonLink"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "offer": { "alias": "offer"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
21
|
}
|
|
@@ -14,6 +14,7 @@ export declare class LisC1ImgTxtComponent {
|
|
|
14
14
|
textColors?: BabylonTextsColorsI;
|
|
15
15
|
private openGroupIndexes;
|
|
16
16
|
headingTagUtils: typeof HeadingTagUtils;
|
|
17
|
+
tagName: string;
|
|
17
18
|
get dropdownGroups(): LisC1ImgTxtGroup[];
|
|
18
19
|
toggleGroup(index: number): void;
|
|
19
20
|
isGroupOpen(index: number): boolean;
|
|
@@ -35,6 +36,11 @@ export declare class LisC1ImgTxtComponent {
|
|
|
35
36
|
*/
|
|
36
37
|
getHeadingContent(): string;
|
|
37
38
|
private normalizeImageUrl;
|
|
39
|
+
/**
|
|
40
|
+
* Devuelve la primera imagen de multimedia.imagenes que tenga el tag indicado usando el helper de utils.
|
|
41
|
+
* El resultado es el objeto imagen completo (con img.src, tag, etc).
|
|
42
|
+
*/
|
|
43
|
+
getFirstImageByTagFromMultimedia(item: any, tagName: string): any;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<LisC1ImgTxtComponent, never>;
|
|
39
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<LisC1ImgTxtComponent, "lis-c1-img-txt", never, { "texts": { "alias": "texts"; "required": false; }; "hotels": { "alias": "hotels"; "required": false; }; "items": { "alias": "items"; "required": false; }; "links": { "alias": "links"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "textColors": { "alias": "textColors"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
46
|
}
|