ctt-babylon 0.11.14 → 0.12.2
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-banner-newsletter/babylon-banner-newsletter.component.mjs +5 -3
- package/esm2022/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.interface.mjs +1 -1
- 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 +15 -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-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/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/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-header-global.interface.mjs +2 -0
- package/esm2022/lib/interfaces/babylon-icon.interface.mjs +1 -1
- package/esm2022/lib/interfaces/babylon-text-info.interface.mjs +1 -1
- package/esm2022/lib/interfaces/index.mjs +7 -6
- package/esm2022/lib/services/mapper/mapper.service.mjs +81 -6
- package/esm2022/lib/utils/utils.mjs +2 -2
- package/fesm2022/ctt-babylon.mjs +226 -73
- 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-banner-newsletter/babylon-banner-newsletter.component.d.ts +2 -1
- package/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.interface.d.ts +1 -0
- 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 +11 -2
- package/lib/components/core/babylon-info-zig-zag-counter/babylon-info-zig-zag-counter.component.d.ts +2 -2
- 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-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/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-header-global.interface.d.ts +26 -0
- package/lib/interfaces/babylon-icon.interface.d.ts +2 -0
- package/lib/interfaces/babylon-text-info.interface.d.ts +1 -0
- package/lib/interfaces/index.d.ts +6 -5
- package/lib/services/mapper/mapper.service.d.ts +5 -3
- package/package.json +1 -1
|
@@ -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
|
}
|
package/lib/components/core/babylon-banner-newsletter/babylon-banner-newsletter.component.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class BabylonBannerNewsletterComponent {
|
|
|
9
9
|
title?: string;
|
|
10
10
|
button?: BabylonButtonI[];
|
|
11
11
|
image?: BabylonImageI;
|
|
12
|
+
identifier?: string;
|
|
12
13
|
submitForm: EventEmitter<string>;
|
|
13
14
|
fb: FormBuilder;
|
|
14
15
|
form: import("@angular/forms").FormGroup<{
|
|
@@ -16,5 +17,5 @@ export declare class BabylonBannerNewsletterComponent {
|
|
|
16
17
|
}>;
|
|
17
18
|
btnClick(): void;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BabylonBannerNewsletterComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBannerNewsletterComponent, "lib-babylon-banner-newsletter", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "text": { "alias": "text"; "required": false; }; "title": { "alias": "title"; "required": false; }; "button": { "alias": "button"; "required": false; }; "image": { "alias": "image"; "required": false; }; }, { "submitForm": "submitForm"; }, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBannerNewsletterComponent, "lib-babylon-banner-newsletter", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "text": { "alias": "text"; "required": false; }; "title": { "alias": "title"; "required": false; }; "button": { "alias": "button"; "required": false; }; "image": { "alias": "image"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; }, { "submitForm": "submitForm"; }, never, never, true, never>;
|
|
20
21
|
}
|
|
@@ -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,11 +1,20 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import {
|
|
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
7
|
export declare class BabylonHeSvgListComponent implements AfterViewInit {
|
|
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>;
|
|
@@ -22,5 +31,5 @@ export declare class BabylonHeSvgListComponent implements AfterViewInit {
|
|
|
22
31
|
openLanguagesModal(): void;
|
|
23
32
|
openOfferPopup(): void;
|
|
24
33
|
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>;
|
|
34
|
+
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
35
|
}
|
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,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,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,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,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
|
+
}
|
|
@@ -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';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Signal } from '@angular/core';
|
|
2
|
-
import { Babylon404I, BabylonActionBannerI, BabylonAddressItem, BabylonAdvantagesI, BabylonBannerGalleryI, BabylonBannerInfoI, BabylonBlogDetailsI, BabylonBlogListI, BabylonBreadcrumbI, BabylonComingSoonI, BabylonContactAddressI, BabylonContactFormI, BabylonContactHowI, BabylonContactMapaI, BabylonEngineI, BabylonEngineModalI, BabylonExternalScriptI, BabylonFaqI, BabylonFeaturesSliderI, BabylonFloatingButtonsI, BabylonFooterContactI, BabylonFooterLinksI, BabylonFooterLogosI, BabylonFooterSocialI, BabylonGalleryI, BabylonGrC2ImgI, BabylonHeaderBookShowI, BabylonHeaderClearI, BabylonHeaderMenuCenterI, BabylonHeaderMenuLogoCenterI, BabylonHeaderMenuShowI, BabylonHeadIntroI, BabylonHotelsListI, BabylonHotelsSliderI, BabylonInfo2ColImgI, BabylonInfo2imgBigI, BabylonInfo2imgI, BabylonInfo4imgI, BabylonInfoBigI, BabylonInfoGridI, BabylonInfoImgI, BabylonInfoImgSliderI, BabylonInfoIntroI, BabylonInfoZigZagCounterI, BabylonInfoZigzagV2I, BabylonItemsGridI, BabylonLanguageModalI, BabylonLegalI, BabylonLisC4TxtIcoI, BabylonModalMultipleMotorsI, BabylonNewsletterI, BabylonOfferDetailI, BabylonOfferPopupI, BabylonOfferPopupV2I, BabylonOfferSliderI, BabylonOffersListI, BabylonPressListI, BabylonRoomsColsI, BabylonRoomsGridI, BabylonRoomsListI, BabylonRoomsSliderI, BabylonServicesSliderI, BabylonSlider2itemsI, BabylonSlider3ItemsI, BabylonStaticFooterI, BabylonSubmenuI, BabylonThanksI, BabylonTopSliderI, BabylonTopSliderThumbsI, BabylonTopSliderV2I, BabylonTopSliderVideoI, BabylonWebmapI } from '../../components/core';
|
|
2
|
+
import { Babylon404I, BabylonActionBannerI, BabylonAddressItem, BabylonAdvantagesI, BabylonBannerGalleryI, BabylonBannerInfoI, BabylonBannerNewsletterI, BabylonBlogDetailsI, BabylonBlogListI, BabylonBreadcrumbI, BabylonComingSoonI, BabylonContactAddressI, BabylonContactFormI, BabylonContactHowI, BabylonContactMapaI, BabylonEngineI, BabylonEngineModalI, BabylonExternalScriptI, BabylonFaqI, BabylonFeaturesSliderI, BabylonFloatingButtonsI, BabylonFooterContactI, BabylonFooterLinksI, BabylonFooterLogosI, BabylonFooterSocialI, BabylonGalleryI, BabylonGrC2ImgI, BabylonHeaderBookShowI, BabylonHeaderClearI, BabylonHeaderMenuCenterI, BabylonHeaderMenuLogoCenterI, BabylonHeaderMenuShowI, BabylonHeadIntroI, BabylonHotelsListI, BabylonHotelsSliderI, BabylonInfo2ColImgI, BabylonInfo2imgBigI, BabylonInfo2imgI, BabylonInfo4imgI, BabylonInfoBigI, BabylonInfoGridI, BabylonInfoImgI, BabylonInfoImgSliderI, BabylonInfoIntroI, BabylonInfoZigZagCounterI, BabylonInfoZigzagV2I, BabylonItemsGridI, BabylonLanguageModalI, BabylonLegalI, BabylonLisC4TxtIcoI, BabylonModalMultipleMotorsI, BabylonNewsletterI, BabylonOfferDetailI, BabylonOfferPopupI, BabylonOfferPopupV2I, BabylonOfferSliderI, BabylonOffersListI, BabylonPressListI, BabylonRoomsColsI, BabylonRoomsGridI, BabylonRoomsListI, BabylonRoomsSliderI, BabylonServicesSliderI, BabylonSlider2itemsI, BabylonSlider3ItemsI, BabylonStaticFooterI, BabylonSubmenuI, BabylonThanksI, BabylonTopSliderI, BabylonTopSliderThumbsI, BabylonTopSliderV2I, BabylonTopSliderVideoI, BabylonWebmapI } from '../../components/core';
|
|
3
3
|
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, BabylonImageI, BabylonMenuInfoI, BabylonOfferItemI, BabylonRoomDetailI, BabylonTextInfoI, BodyComponent, COMPONENTS_EXTRA, ConsultTypeI } from '../../interfaces';
|
|
8
8
|
import { BabylonAdvantageItemI } from '../../interfaces/babylon-advantages-item.interface';
|
|
9
9
|
import { BabylonHotelItem } from '../../interfaces/babylon-hotel.interface';
|
|
10
10
|
import { BabylonItemI } from '../../interfaces/babylon-item.interface';
|
|
@@ -24,6 +24,8 @@ export declare class MapperService {
|
|
|
24
24
|
mapSubmenu(props: any | undefined): BabylonSubmenuI;
|
|
25
25
|
mapComponents<T>(body: any[], addons?: ComponentsAddons): BodyComponent<T>[];
|
|
26
26
|
mapGlobals(component: any): any;
|
|
27
|
+
mapGlobalTexts(texts: any | undefined): BabylonTextInfoI;
|
|
28
|
+
private getTextValue;
|
|
27
29
|
mapConsultTypesGlobal(consults: any | undefined): ConsultTypeI[];
|
|
28
30
|
mapHotelsGlobal(hotels: any | undefined): BabylonHotelItem[];
|
|
29
31
|
private mapGlobalItems;
|
|
@@ -52,7 +54,7 @@ export declare class MapperService {
|
|
|
52
54
|
mapGridGallery(props: any | undefined): BabylonInfoImgI | undefined;
|
|
53
55
|
mapInfoGrid(props: any | undefined): BabylonInfoGridI | undefined;
|
|
54
56
|
mapBannerGallery(props: any | undefined): BabylonBannerGalleryI | undefined;
|
|
55
|
-
mapBannerNewsletter(props: any | undefined):
|
|
57
|
+
mapBannerNewsletter(props: any | undefined, identifier: string | undefined): BabylonBannerNewsletterI | undefined;
|
|
56
58
|
mapSliderColl2(props: any | undefined, rightSide?: boolean): BabylonTopSliderV2I | undefined;
|
|
57
59
|
mapSliderColl(props: any | undefined, identifier: string | undefined): BabylonTopSliderV2I | undefined;
|
|
58
60
|
mapItemsGrid(props: any | undefined): BabylonItemsGridI | undefined;
|