ctt-babylon 0.12.0 → 0.12.3
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-ba-sli-img-txt/babylon-ba-sli-img-txt.component.mjs +20 -6
- package/esm2022/lib/components/core/babylon-filter-modal-v2/babylon-filter-modal-v2.component.mjs +1 -2
- package/esm2022/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.interface.mjs +1 -1
- package/esm2022/lib/components/core/babylon-fo-c3-img-txt/babylon-fo-c3-img-txt.component.mjs +22 -6
- package/esm2022/lib/components/core/babylon-fo-sli-img/babylon-fo-sli-img.component.mjs +61 -34
- package/esm2022/lib/components/core/babylon-he-svg-list/babylon-he-svg-list.component.mjs +33 -3
- package/esm2022/lib/components/core/babylon-info-zig-zag-counter/babylon-info-zig-zag-counter.component.mjs +2 -3
- package/esm2022/lib/components/core/babylon-language-modal-v3/babylon-language-modal-v3.component.mjs +3 -3
- package/esm2022/lib/components/core/babylon-lis-c2-txt/babylon-lis-c2-txt.component.mjs +20 -6
- package/esm2022/lib/components/core/babylon-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.mjs +16 -5
- package/esm2022/lib/components/core/babylon-list-c3-img-txt/babylon-list-c3-img-txt.component.mjs +4 -3
- package/esm2022/lib/components/core/babylon-sli-c1-img-text/babylon-sli-c1-img-text.component.mjs +10 -3
- package/esm2022/lib/components/core/babylon-sli-c5-img-txt/babylon-sli-c5-img-txt.component.mjs +3 -3
- package/esm2022/lib/components/external/core/c4-for-c2-txt/c4-for-c2-txt.component.mjs +1 -1
- package/esm2022/lib/components/external/core/c4-lis-c2-img-txt-c/list-rooms.component.mjs +3 -3
- package/esm2022/lib/components/external/core/c4-txt-svg/c4-txt-svg.component.mjs +7 -7
- package/esm2022/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.mjs +15 -5
- package/esm2022/lib/components/external/core/lis-c3-txt-img-ct/lis-c3-txt-img-ct.component.mjs +1 -1
- package/esm2022/lib/components/external/core/lis-c4-txt-des-cta/lis-c4-txt-des-cta.component.mjs +14 -5
- package/esm2022/lib/components/external/core/sli-c1-img-svg/sli-c1-img-svg.component.mjs +11 -5
- package/esm2022/lib/components/external/core/sli-c2-img/sli-c2-img.component.mjs +6 -8
- package/esm2022/lib/interfaces/babylon-button.interface.mjs +1 -1
- package/esm2022/lib/interfaces/babylon-destination.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-global-icon.interface.mjs +1 -1
- package/esm2022/lib/interfaces/babylon-header-global.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-hotel.interface.mjs +1 -1
- package/esm2022/lib/interfaces/babylon-icon.interface.mjs +1 -1
- package/esm2022/lib/interfaces/babylon-nav.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-text-info.interface.mjs +1 -1
- package/esm2022/lib/interfaces/index.mjs +7 -6
- package/esm2022/lib/pipes/babylon-clean-props.pipe.mjs +64 -0
- package/esm2022/lib/services/mapper/mapper.service.mjs +149 -8
- package/esm2022/lib/utils/clean-props.mjs +37 -0
- package/esm2022/lib/utils/utils.mjs +2 -2
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/ctt-babylon.mjs +456 -91
- package/fesm2022/ctt-babylon.mjs.map +1 -1
- package/lib/components/core/babylon-ba-sli-img-txt/babylon-ba-sli-img-txt.component.d.ts +9 -1
- package/lib/components/core/babylon-floating-buttons/babylon-floating-buttons.interface.d.ts +4 -0
- package/lib/components/core/babylon-fo-c3-img-txt/babylon-fo-c3-img-txt.component.d.ts +9 -1
- package/lib/components/core/babylon-fo-sli-img/babylon-fo-sli-img.component.d.ts +13 -6
- package/lib/components/core/babylon-he-svg-list/babylon-he-svg-list.component.d.ts +17 -4
- package/lib/components/core/babylon-info-zig-zag-counter/babylon-info-zig-zag-counter.component.d.ts +2 -2
- package/lib/components/core/babylon-lis-c2-txt/babylon-lis-c2-txt.component.d.ts +8 -1
- package/lib/components/core/babylon-lis-svg-txt-cta/babylon-lis-svg-txt-cta.component.d.ts +7 -1
- package/lib/components/core/babylon-sli-c1-img-text/babylon-sli-c1-img-text.component.d.ts +5 -1
- package/lib/components/external/core/c4-for-c2-txt/c4-for-c2-txt.component.d.ts +2 -2
- package/lib/components/external/core/c4-txt-svg/c4-txt-svg.component.d.ts +4 -2
- package/lib/components/external/core/car-c2-txt-cta/car-c2-txt-cta.component.d.ts +7 -2
- package/lib/components/external/core/lis-c4-txt-des-cta/lis-c4-txt-des-cta.component.d.ts +8 -2
- package/lib/components/external/core/sli-c1-img-svg/sli-c1-img-svg.component.d.ts +6 -2
- package/lib/components/external/core/sli-c2-img/sli-c2-img.component.d.ts +4 -4
- package/lib/interfaces/babylon-button.interface.d.ts +2 -0
- package/lib/interfaces/babylon-destination.interface.d.ts +10 -0
- package/lib/interfaces/babylon-global-icon.interface.d.ts +3 -0
- package/lib/interfaces/babylon-header-global.interface.d.ts +26 -0
- package/lib/interfaces/babylon-hotel.interface.d.ts +37 -2
- package/lib/interfaces/babylon-icon.interface.d.ts +2 -0
- package/lib/interfaces/babylon-nav.interface.d.ts +8 -0
- package/lib/interfaces/babylon-text-info.interface.d.ts +1 -0
- package/lib/interfaces/index.d.ts +6 -5
- package/lib/pipes/babylon-clean-props.pipe.d.ts +16 -0
- package/lib/services/mapper/mapper.service.d.ts +8 -3
- package/lib/utils/clean-props.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { BabylonButtonI, BabylonItemI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
|
|
3
|
+
import { BabylonAdvantageItemI } from '../../../interfaces/babylon-advantages-item.interface';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class BabylonBaSliImgTxtComponent implements AfterViewInit {
|
|
4
6
|
private el;
|
|
7
|
+
texts?: BabylonTextInfoI;
|
|
8
|
+
buttons?: BabylonButtonI[];
|
|
9
|
+
links?: BabylonButtonI[];
|
|
10
|
+
items?: BabylonItemI[];
|
|
11
|
+
multimedia?: BabylonMultimediaI;
|
|
12
|
+
advantages?: BabylonAdvantageItemI[];
|
|
5
13
|
openNewsletter: EventEmitter<any>;
|
|
6
14
|
private readonly platformId;
|
|
7
15
|
private swiperInstances;
|
|
@@ -15,5 +23,5 @@ export declare class BabylonBaSliImgTxtComponent implements AfterViewInit {
|
|
|
15
23
|
onWindowScroll(): void;
|
|
16
24
|
openNewletterModal(): void;
|
|
17
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonBaSliImgTxtComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBaSliImgTxtComponent, "lib-babylon-ba-sli-img-txt", never, {}, { "openNewsletter": "openNewsletter"; }, never, never, true, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBaSliImgTxtComponent, "lib-babylon-ba-sli-img-txt", never, { "texts": { "alias": "texts"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "links": { "alias": "links"; "required": false; }; "items": { "alias": "items"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "advantages": { "alias": "advantages"; "required": false; }; }, { "openNewsletter": "openNewsletter"; }, never, never, true, never>;
|
|
19
27
|
}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BabylonFoC3ImgTxtComponent implements AfterViewInit {
|
|
4
5
|
private el;
|
|
6
|
+
texts?: BabylonTextInfoI;
|
|
7
|
+
multimedia?: BabylonMultimediaI;
|
|
8
|
+
tagName: string;
|
|
9
|
+
tagNameLogo: string;
|
|
10
|
+
tagNameLogoHover: string;
|
|
5
11
|
private readonly platformId;
|
|
6
12
|
constructor(el: ElementRef<HTMLElement>);
|
|
7
13
|
ngAfterViewInit(): void;
|
|
8
14
|
/** Equivalente al $(function () { ... }) del jQuery */
|
|
9
15
|
private setHasFooterClassIfNeeded;
|
|
16
|
+
getImagesByTag(tagName: string): import("../../../interfaces").BabylonImageI[];
|
|
17
|
+
getFirstImageByTag(tagName: string): import("../../../interfaces").BabylonImageI | undefined;
|
|
10
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonFoC3ImgTxtComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonFoC3ImgTxtComponent, "lib-babylon-fo-c3-img-txt", never, {}, {}, never, never, true, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonFoC3ImgTxtComponent, "lib-babylon-fo-c3-img-txt", never, { "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
20
|
}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BabylonItemI, BabylonTextInfoI } from '../../../interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BabylonFoSliImgComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
export declare class BabylonFoSliImgComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
4
5
|
private platformId;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
texts?: BabylonTextInfoI;
|
|
7
|
+
items?: BabylonItemI[];
|
|
8
|
+
swiperContainer?: ElementRef<HTMLElement>;
|
|
9
|
+
prevBtn?: ElementRef<HTMLElement>;
|
|
10
|
+
nextBtn?: ElementRef<HTMLElement>;
|
|
8
11
|
private swiper?;
|
|
12
|
+
private viewReady;
|
|
13
|
+
private cssLoaded;
|
|
9
14
|
constructor(platformId: object);
|
|
10
15
|
ngAfterViewInit(): void;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
private tryInit;
|
|
11
18
|
private initSwiper;
|
|
12
19
|
ngOnDestroy(): void;
|
|
13
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonFoSliImgComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonFoSliImgComponent, "lib-babylon-fo-sli-img", never, {}, {}, never, never, true, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonFoSliImgComponent, "lib-babylon-fo-sli-img", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
22
|
}
|
|
@@ -1,18 +1,30 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
+
import { LogoType } from '../../../Enum';
|
|
3
|
+
import { BabylonButtonI, BabylonImageI } from '../../../interfaces';
|
|
4
|
+
import { BabylonHotelStylesItem } from '../../../interfaces/babylon-hotel-styles.interface';
|
|
5
|
+
import { BabylonFloatingButtonsI } from '../babylon-floating-buttons';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class BabylonHeSvgListComponent implements AfterViewInit {
|
|
7
|
+
export declare class BabylonHeSvgListComponent implements AfterViewInit, OnDestroy {
|
|
5
8
|
private el;
|
|
6
9
|
dinamyHeader?: boolean;
|
|
7
10
|
hotelPage?: boolean;
|
|
8
11
|
menu?: BabylonButtonI[];
|
|
12
|
+
logos?: Record<LogoType, BabylonImageI | undefined>;
|
|
13
|
+
floatingButtons?: BabylonFloatingButtonsI;
|
|
14
|
+
links?: BabylonButtonI[];
|
|
15
|
+
items?: BabylonButtonI[];
|
|
16
|
+
selected?: BabylonButtonI;
|
|
17
|
+
styles?: BabylonHotelStylesItem;
|
|
9
18
|
private readonly platformId;
|
|
10
19
|
openLanguages: EventEmitter<any>;
|
|
11
20
|
openOfferPop: EventEmitter<string>;
|
|
21
|
+
private readonly router;
|
|
22
|
+
private navSub?;
|
|
12
23
|
constructor(el: ElementRef<HTMLElement>);
|
|
13
24
|
ngAfterViewInit(): void;
|
|
14
25
|
/** Equivalente a showMenuBurger() de jQuery */
|
|
15
26
|
showMenuBurger(): void;
|
|
27
|
+
private closeMenuBurger;
|
|
16
28
|
/** Listener global de scroll */
|
|
17
29
|
onWindowScroll(): void;
|
|
18
30
|
/** Sticky del header según el “motor” esté fuera de viewport */
|
|
@@ -21,6 +33,7 @@ export declare class BabylonHeSvgListComponent implements AfterViewInit {
|
|
|
21
33
|
private initBreadcrumbFlag;
|
|
22
34
|
openLanguagesModal(): void;
|
|
23
35
|
openOfferPopup(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
24
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonHeSvgListComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonHeSvgListComponent, "lib-babylon-he-svg-list", never, { "dinamyHeader": { "alias": "dinamyHeader"; "required": false; }; "hotelPage": { "alias": "hotelPage"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; }, { "openLanguages": "openLanguages"; "openOfferPop": "openOfferPop"; }, never, never, true, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonHeSvgListComponent, "lib-babylon-he-svg-list", never, { "dinamyHeader": { "alias": "dinamyHeader"; "required": false; }; "hotelPage": { "alias": "hotelPage"; "required": false; }; "menu": { "alias": "menu"; "required": false; }; "logos": { "alias": "logos"; "required": false; }; "floatingButtons": { "alias": "floatingButtons"; "required": false; }; "links": { "alias": "links"; "required": false; }; "items": { "alias": "items"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; }, { "openLanguages": "openLanguages"; "openOfferPop": "openOfferPop"; }, never, never, true, never>;
|
|
26
39
|
}
|
package/lib/components/core/babylon-info-zig-zag-counter/babylon-info-zig-zag-counter.component.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EventEmitter, OnInit
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { BabylonTextsColorsI } from '../../../interfaces';
|
|
2
3
|
import { BabylonButtonI } from '../../../interfaces/babylon-button.interface';
|
|
3
4
|
import { BabylonImageI } from '../../../interfaces/babylon-image.interface';
|
|
4
5
|
import { BabylonTagsI } from '../../../interfaces/babylon-tags.interface';
|
|
5
|
-
import { BabylonTextsColorsI } from '../../../interfaces';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class BabylonInfoZigZagCounterComponent implements OnInit {
|
|
8
8
|
private cd;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import { BabylonTextInfoI } from '../../../interfaces';
|
|
3
|
+
import { BabylonDestinationI } from '../../../interfaces/babylon-destination.interface';
|
|
4
|
+
import { BabylonHotelGlobalItem } from '../../../interfaces/babylon-hotel.interface';
|
|
2
5
|
import * as i0 from "@angular/core";
|
|
3
6
|
interface FaqHotelLink {
|
|
4
7
|
label: string;
|
|
@@ -14,12 +17,16 @@ interface FaqItem {
|
|
|
14
17
|
}
|
|
15
18
|
export declare class BabylonLisC2TxtComponent implements AfterViewInit {
|
|
16
19
|
activeIndex: number | null;
|
|
20
|
+
texts?: BabylonTextInfoI;
|
|
21
|
+
destinations?: BabylonDestinationI[];
|
|
22
|
+
hotels?: BabylonHotelGlobalItem[];
|
|
17
23
|
answers: QueryList<ElementRef<HTMLDivElement>>;
|
|
18
24
|
faqItems: FaqItem[];
|
|
19
25
|
ngAfterViewInit(): void;
|
|
20
26
|
onToggleFaq(index: number): void;
|
|
21
27
|
isActive(index: number): boolean;
|
|
28
|
+
getHotelById(id: number | undefined): BabylonHotelGlobalItem | undefined;
|
|
22
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonLisC2TxtComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonLisC2TxtComponent, "lib-babylon-lis-c2-txt", never, {}, {}, never, never, true, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonLisC2TxtComponent, "lib-babylon-lis-c2-txt", never, { "texts": { "alias": "texts"; "required": false; }; "destinations": { "alias": "destinations"; "required": false; }; "hotels": { "alias": "hotels"; "required": false; }; }, {}, never, never, true, never>;
|
|
24
31
|
}
|
|
25
32
|
export {};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { BabylonButtonI, BabylonGlobalIconI, BabylonTextInfoI } from '../../../interfaces';
|
|
2
|
+
import { BabylonHotelStylesItem } from '../../../interfaces/babylon-hotel-styles.interface';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class BabylonLisSvgTxtCtaComponent {
|
|
5
|
+
texts?: BabylonTextInfoI;
|
|
6
|
+
services?: BabylonGlobalIconI[];
|
|
7
|
+
styles?: BabylonHotelStylesItem;
|
|
8
|
+
buttons?: BabylonButtonI[];
|
|
3
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonLisSvgTxtCtaComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonLisSvgTxtCtaComponent, "lib-babylon-lis-svg-txt-cta", never, {}, {}, never, never, true, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonLisSvgTxtCtaComponent, "lib-babylon-lis-svg-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "services": { "alias": "services"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
5
11
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { BabylonButtonI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class BabylonSliC1ImgTextComponent {
|
|
3
4
|
rigthSide?: boolean;
|
|
5
|
+
texts?: BabylonTextInfoI;
|
|
6
|
+
multimedia?: BabylonMultimediaI;
|
|
7
|
+
buttons?: BabylonButtonI[];
|
|
4
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonSliC1ImgTextComponent, never>;
|
|
5
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonSliC1ImgTextComponent, "lib-babylon-sli-c1-img-text", never, { "rigthSide": { "alias": "rigthSide"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonSliC1ImgTextComponent, "lib-babylon-sli-c1-img-text", never, { "rigthSide": { "alias": "rigthSide"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
10
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BabylonButtonI, BabylonContactInfoI, ConsultTypeI } from '../../../../interfaces';
|
|
2
|
-
import {
|
|
2
|
+
import { BabylonHotelGlobalItem } from '../../../../interfaces/babylon-hotel.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class C4ForC2TxtComponent {
|
|
5
5
|
texts?: BabylonContactInfoI;
|
|
6
|
-
hotels?:
|
|
6
|
+
hotels?: BabylonHotelGlobalItem[];
|
|
7
7
|
consultType?: ConsultTypeI[];
|
|
8
8
|
buttons?: BabylonButtonI[];
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<C4ForC2TxtComponent, never>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BabylonIconInfoI, BabylonTextInfoI } from '../../../../interfaces';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface C4TxtSvgItem {
|
|
3
4
|
icon: string;
|
|
@@ -9,8 +10,9 @@ export interface C4TxtSvgContent {
|
|
|
9
10
|
items: C4TxtSvgItem[];
|
|
10
11
|
}
|
|
11
12
|
export declare class C4TxtSvgComponent {
|
|
12
|
-
|
|
13
|
+
texts?: BabylonTextInfoI;
|
|
14
|
+
items?: BabylonIconInfoI[];
|
|
13
15
|
trackByTitle(index: number, item: C4TxtSvgItem): string;
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<C4TxtSvgComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<C4TxtSvgComponent, "c4-txt-svg", never, { "
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<C4TxtSvgComponent, "c4-txt-svg", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BabylonButtonI, BabylonImageI, BabylonItemI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export interface CarC2TxtCtaLink {
|
|
4
5
|
label: string;
|
|
@@ -30,7 +31,10 @@ export interface CarC2TxtCtaContent {
|
|
|
30
31
|
}
|
|
31
32
|
export declare class CarC2TxtCtaComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
32
33
|
private host;
|
|
33
|
-
|
|
34
|
+
texts?: BabylonTextInfoI;
|
|
35
|
+
items?: BabylonItemI[];
|
|
36
|
+
buttons?: BabylonButtonI[];
|
|
37
|
+
tagName: string;
|
|
34
38
|
private swiperInstance?;
|
|
35
39
|
private readonly platformId;
|
|
36
40
|
constructor(host: ElementRef<HTMLElement>);
|
|
@@ -41,6 +45,7 @@ export declare class CarC2TxtCtaComponent implements AfterViewInit, OnChanges, O
|
|
|
41
45
|
private initSwiper;
|
|
42
46
|
private destroySwiper;
|
|
43
47
|
private rebuildSwiper;
|
|
48
|
+
getFirstImageByTag(tagName: string, imagenes: BabylonImageI[]): BabylonImageI | undefined;
|
|
44
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarC2TxtCtaComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarC2TxtCtaComponent, "car-c2-txt-cta", never, { "
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarC2TxtCtaComponent, "car-c2-txt-cta", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
|
|
46
51
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { BabylonImageI, BabylonTextInfoI } from '../../../../interfaces';
|
|
2
|
+
import { BabylonHotelGlobalItem } from '../../../../interfaces/babylon-hotel.interface';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export interface LisC4TxtDesCtaSelect {
|
|
3
5
|
label: string;
|
|
@@ -29,9 +31,13 @@ export interface LisC4TxtDesCtaContent {
|
|
|
29
31
|
cards: LisC4TxtDesCtaCard[];
|
|
30
32
|
}
|
|
31
33
|
export declare class LisC4TxtDesCtaComponent {
|
|
32
|
-
|
|
34
|
+
texts?: BabylonTextInfoI;
|
|
35
|
+
filters?: any;
|
|
36
|
+
items?: BabylonHotelGlobalItem[];
|
|
37
|
+
tagName: string;
|
|
33
38
|
getKeysArray(count: number | undefined): number[];
|
|
34
39
|
trackByIndex(index: number): number;
|
|
40
|
+
getFirstImageByTag(tagName: string, imagenes: BabylonImageI[]): BabylonImageI | undefined;
|
|
35
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LisC4TxtDesCtaComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LisC4TxtDesCtaComponent, "lis-c4-txt-des-cta", never, { "
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LisC4TxtDesCtaComponent, "lis-c4-txt-des-cta", never, { "texts": { "alias": "texts"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
37
43
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BabylonItemI, BabylonTextInfoI } from '../../../../interfaces';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export interface SliC1ImgSvgContent {
|
|
3
4
|
image: string;
|
|
@@ -5,7 +6,10 @@ export interface SliC1ImgSvgContent {
|
|
|
5
6
|
icon: string;
|
|
6
7
|
}
|
|
7
8
|
export declare class SliC1ImgSvgComponent {
|
|
8
|
-
|
|
9
|
+
texts?: BabylonTextInfoI;
|
|
10
|
+
items?: BabylonItemI[];
|
|
11
|
+
tagName: string;
|
|
12
|
+
getFirstImageByTag(tagName: string, imagenes: any[]): import("../../../../interfaces").BabylonImageI | undefined;
|
|
9
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC1ImgSvgComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliC1ImgSvgComponent, "sli-c1-img-svg", never, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC1ImgSvgComponent, "sli-c1-img-svg", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
15
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AfterViewInit, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { BabylonMultimediaI } from '../../../../interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SliC2ImgComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
5
|
-
|
|
6
|
-
content: C2TxtContent;
|
|
5
|
+
multimedia?: BabylonMultimediaI;
|
|
7
6
|
reverse?: boolean;
|
|
7
|
+
private readonly fallbackContent;
|
|
8
8
|
private readonly platformId;
|
|
9
9
|
private swiperContainer?;
|
|
10
10
|
private nextButton?;
|
|
@@ -18,5 +18,5 @@ export declare class SliC2ImgComponent implements AfterViewInit, OnChanges, OnDe
|
|
|
18
18
|
private resolveAutoplayDelay;
|
|
19
19
|
private destroySwiper;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SliC2ImgComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgComponent, "sli-c2-img", never, { "
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SliC2ImgComponent, "sli-c2-img", never, { "multimedia": { "alias": "multimedia"; "required": false; }; "reverse": { "alias": "reverse"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
22
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BabylonHotelStylesItem } from './babylon-hotel-styles.interface';
|
|
1
2
|
export interface BabylonButtonI {
|
|
2
3
|
label?: string;
|
|
3
4
|
url?: string;
|
|
@@ -6,4 +7,5 @@ export interface BabylonButtonI {
|
|
|
6
7
|
icon?: string;
|
|
7
8
|
target?: string;
|
|
8
9
|
name?: string;
|
|
10
|
+
styles?: BabylonHotelStylesItem;
|
|
9
11
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BabylonButtonI } from './babylon-button.interface';
|
|
2
|
+
import { BabylonHotelGlobalItem } from './babylon-hotel.interface';
|
|
3
|
+
export interface BabylonDestinationI {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
lat?: string;
|
|
7
|
+
lon?: string;
|
|
8
|
+
hotels?: BabylonHotelGlobalItem[];
|
|
9
|
+
links?: BabylonButtonI[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { BabylonAddressItem, BabylonFloatingButtonsI } from '../components/core';
|
|
2
|
+
import { LogoType } from '../Enum';
|
|
3
|
+
import { BabylonButtonI } from './babylon-button.interface';
|
|
4
|
+
import { BabylonImageI } from './babylon-image.interface';
|
|
5
|
+
import { BabylonMenuButtonI } from './babylon-menu-button.interface';
|
|
6
|
+
import { BabylonMenuInfoI } from './babylon-menu-info.interface';
|
|
7
|
+
import { BabylonTextInfoI } from './babylon-text-info.interface';
|
|
8
|
+
export interface BabylonHeaderGLobalI {
|
|
9
|
+
headerFixed: boolean;
|
|
10
|
+
logos?: Record<LogoType, BabylonImageI | undefined>;
|
|
11
|
+
linkLogo?: BabylonButtonI;
|
|
12
|
+
menu?: BabylonMenuButtonI[];
|
|
13
|
+
menuInfo?: BabylonMenuInfoI;
|
|
14
|
+
lang?: string;
|
|
15
|
+
socialMedia?: BabylonButtonI[];
|
|
16
|
+
address?: BabylonAddressItem;
|
|
17
|
+
contactInfo?: BabylonButtonI[];
|
|
18
|
+
contactLinks?: BabylonButtonI[];
|
|
19
|
+
btnBook?: BabylonButtonI;
|
|
20
|
+
title?: string;
|
|
21
|
+
ndTitle?: string;
|
|
22
|
+
screenBreakpoint?: number;
|
|
23
|
+
links?: BabylonMenuButtonI[];
|
|
24
|
+
texts?: BabylonTextInfoI;
|
|
25
|
+
floatingButtons?: BabylonFloatingButtonsI;
|
|
26
|
+
}
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
+
import { BabylonOfferI } from '../components/core';
|
|
1
2
|
import { BabylonButtonI } from './babylon-button.interface';
|
|
3
|
+
import { BabylonDestinationI } from './babylon-destination.interface';
|
|
2
4
|
import { BabylonGlobalIconI } from './babylon-global-icon.interface';
|
|
3
5
|
import { BabylonImageI } from './babylon-image.interface';
|
|
4
|
-
|
|
6
|
+
import { BabylonNav } from './babylon-nav.interface';
|
|
7
|
+
import { BabylonTextInfoI } from './babylon-text-info.interface';
|
|
8
|
+
export interface BabylonHotelGlobalItem {
|
|
5
9
|
pretitle?: string;
|
|
6
10
|
title?: string;
|
|
7
|
-
|
|
11
|
+
buttons?: BabylonButtonI[];
|
|
8
12
|
link?: BabylonButtonI[];
|
|
9
13
|
img?: BabylonImageI;
|
|
14
|
+
images?: BabylonImageI[];
|
|
10
15
|
text?: string;
|
|
16
|
+
texts?: BabylonTextInfoI;
|
|
11
17
|
textMore?: string;
|
|
12
18
|
price?: number;
|
|
13
19
|
fTitle?: string;
|
|
@@ -18,4 +24,33 @@ export interface BabylonHotelItem {
|
|
|
18
24
|
id?: number;
|
|
19
25
|
name?: string;
|
|
20
26
|
order?: number;
|
|
27
|
+
email?: string;
|
|
28
|
+
addess?: string;
|
|
29
|
+
allInclusive?: boolean;
|
|
30
|
+
beachClub?: boolean;
|
|
31
|
+
checkInTime?: string;
|
|
32
|
+
checkOutTime?: string;
|
|
33
|
+
city?: string;
|
|
34
|
+
closingFrom?: string;
|
|
35
|
+
closingTo?: string;
|
|
36
|
+
country?: string;
|
|
37
|
+
cp?: string;
|
|
38
|
+
destinations?: BabylonDestinationI[];
|
|
39
|
+
highlighted?: boolean;
|
|
40
|
+
lat?: string;
|
|
41
|
+
lon?: string;
|
|
42
|
+
laundry?: boolean;
|
|
43
|
+
locality?: string;
|
|
44
|
+
mapLink?: string;
|
|
45
|
+
offers?: BabylonOfferI[];
|
|
46
|
+
phone?: string;
|
|
47
|
+
province?: string;
|
|
48
|
+
ticker?: string;
|
|
49
|
+
siteHotels?: BabylonNav;
|
|
50
|
+
servicesAdvantages?: BabylonGlobalIconI[];
|
|
51
|
+
servicesCharacteristics?: BabylonGlobalIconI[];
|
|
52
|
+
servicesHotelApp?: BabylonGlobalIconI[];
|
|
53
|
+
servicesList?: BabylonGlobalIconI[];
|
|
54
|
+
servicesLocation?: BabylonGlobalIconI[];
|
|
55
|
+
servicesService?: BabylonGlobalIconI[];
|
|
21
56
|
}
|
|
@@ -3,18 +3,19 @@ export * from './babylon-consult-type.interface';
|
|
|
3
3
|
export * from './babylon-contact-info.interface';
|
|
4
4
|
export * from './babylon-dropdown.interface';
|
|
5
5
|
export * from './babylon-global-icon.interface';
|
|
6
|
+
export * from './babylon-header-global.interface';
|
|
7
|
+
export * from './babylon-icon.interface';
|
|
6
8
|
export * from './babylon-image.interface';
|
|
7
9
|
export * from './babylon-input.interface';
|
|
10
|
+
export * from './babylon-item.interface';
|
|
8
11
|
export * from './babylon-menu-button.interface';
|
|
9
12
|
export * from './babylon-menu-info.interface';
|
|
13
|
+
export * from './babylon-multimedia.interface';
|
|
14
|
+
export * from './babylon-offers-item.interface';
|
|
10
15
|
export * from './babylon-page-config.interface';
|
|
16
|
+
export * from './babylon-room-detail.interface';
|
|
11
17
|
export * from './babylon-site-config.interface';
|
|
12
18
|
export * from './babylon-tags.interface';
|
|
13
19
|
export * from './babylon-text-info.interface';
|
|
14
20
|
export * from './babylon-texts-colors.interface';
|
|
15
21
|
export * from './babylon-texts.interface';
|
|
16
|
-
export * from './babylon-icon.interface';
|
|
17
|
-
export * from './babylon-multimedia.interface';
|
|
18
|
-
export * from './babylon-item.interface';
|
|
19
|
-
export * from './babylon-offers-item.interface';
|
|
20
|
-
export * from './babylon-room-detail.interface';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
type CleanOptions = {
|
|
4
|
+
/** Si true: elimina también null */
|
|
5
|
+
removeNull?: boolean;
|
|
6
|
+
/** Si true: elimina strings vacíos/whitespace */
|
|
7
|
+
removeEmptyString?: boolean;
|
|
8
|
+
/** Si true: si un objeto/array queda vacío => devuelve undefined */
|
|
9
|
+
pruneEmpty?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare class BabylonCleanPropsPipe implements PipeTransform {
|
|
12
|
+
transform<T>(value: T, options?: CleanOptions): T | undefined;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonCleanPropsPipe, never>;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<BabylonCleanPropsPipe, "babylonCleanProps", true>;
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -4,9 +4,10 @@ import { BabylonGlobalModalI } from '../../components/core/babylon-global-modal'
|
|
|
4
4
|
import { BabylonListGridI } from '../../components/core/babylon-list-grid/babylon-list-grid.interface';
|
|
5
5
|
import { BabylonModalPopupI } from '../../components/core/babylon-modal-popup';
|
|
6
6
|
import { BabylonStaticFooterV2I } from '../../components/core/babylon-static-footer-v2/babylon-static-footer-v2.interface';
|
|
7
|
-
import { BabylonContactInfoI, BabylonImageI, BabylonMenuInfoI, BabylonOfferItemI, BabylonRoomDetailI, BodyComponent, COMPONENTS_EXTRA, ConsultTypeI } from '../../interfaces';
|
|
7
|
+
import { BabylonContactInfoI, BabylonGlobalIconI, BabylonImageI, BabylonMenuInfoI, BabylonOfferItemI, BabylonRoomDetailI, BabylonTextInfoI, BodyComponent, COMPONENTS_EXTRA, ConsultTypeI } from '../../interfaces';
|
|
8
8
|
import { BabylonAdvantageItemI } from '../../interfaces/babylon-advantages-item.interface';
|
|
9
|
-
import {
|
|
9
|
+
import { BabylonDestinationI } from '../../interfaces/babylon-destination.interface';
|
|
10
|
+
import { BabylonHotelGlobalItem } from '../../interfaces/babylon-hotel.interface';
|
|
10
11
|
import { BabylonItemI } from '../../interfaces/babylon-item.interface';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare class MapperService {
|
|
@@ -24,11 +25,15 @@ export declare class MapperService {
|
|
|
24
25
|
mapSubmenu(props: any | undefined): BabylonSubmenuI;
|
|
25
26
|
mapComponents<T>(body: any[], addons?: ComponentsAddons): BodyComponent<T>[];
|
|
26
27
|
mapGlobals(component: any): any;
|
|
28
|
+
mapGlobalDestinations(destinations: any | undefined): BabylonDestinationI;
|
|
29
|
+
mapGlobalTexts(texts: any | undefined): BabylonTextInfoI;
|
|
30
|
+
private getTextValue;
|
|
27
31
|
mapConsultTypesGlobal(consults: any | undefined): ConsultTypeI[];
|
|
28
|
-
mapHotelsGlobal(hotels: any | undefined):
|
|
32
|
+
mapHotelsGlobal(hotels: any | undefined): BabylonHotelGlobalItem[];
|
|
29
33
|
private mapGlobalItems;
|
|
30
34
|
mapAddress(address: any | undefined): BabylonAddressItem;
|
|
31
35
|
mapStaticFooterv3(props: any | undefined): BabylonStaticFooterI;
|
|
36
|
+
mapGlobalServices(services: BabylonGlobalIconI[] | undefined): BabylonGlobalIconI[] | undefined;
|
|
32
37
|
mapContactInfo(texts: any | undefined): BabylonContactInfoI;
|
|
33
38
|
mapEventsGlobal(events: any | undefined): BabylonItemI[];
|
|
34
39
|
mapOffersGlobal(offers: any | undefined): BabylonOfferItemI[];
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED