ctt-babylon 0.13.46 → 0.14.0

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.
@@ -0,0 +1,28 @@
1
+ import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
4
+ import { BabylonButtonI, BabylonInputI, BabylonTagsI, BabylonTextInfoI, BabylonTextsColorsI } from '../../../interfaces';
5
+ import { BabylonAddressItem } from '../babylon-static-footer/babylon-static-footer.component';
6
+ import * as i0 from "@angular/core";
7
+ export declare class BabylonStaticFooterV4Component implements OnInit {
8
+ private readonly sanitizer;
9
+ private readonly cdr;
10
+ private readonly fb;
11
+ address?: BabylonAddressItem[];
12
+ addressHotels?: BabylonAddressItem[];
13
+ texts?: BabylonTextInfoI;
14
+ buttons?: BabylonButtonI[];
15
+ tags?: BabylonTagsI;
16
+ textColors?: BabylonTextsColorsI;
17
+ submitForm: EventEmitter<string>;
18
+ safeUrl: SafeResourceUrl | null;
19
+ form: FormGroup;
20
+ input?: BabylonInputI;
21
+ constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef, fb: FormBuilder);
22
+ ngOnInit(): void;
23
+ validateInput(): void;
24
+ inputChange(event: Event): void;
25
+ submit(): void;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<BabylonStaticFooterV4Component, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonStaticFooterV4Component, "lib-babylon-static-footer-v4", never, { "address": { "alias": "address"; "required": false; }; "addressHotels": { "alias": "addressHotels"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "tags": { "alias": "tags"; "required": false; }; "textColors": { "alias": "textColors"; "required": false; }; }, { "submitForm": "submitForm"; }, never, never, true, never>;
28
+ }
@@ -0,0 +1 @@
1
+ export * from './babylon-static-footer-v4.component';
@@ -146,6 +146,7 @@ export * from './babylon-social-bar-v2';
146
146
  export * from './babylon-static-footer';
147
147
  export * from './babylon-static-footer-v2';
148
148
  export * from './babylon-static-footer-v3';
149
+ export * from './babylon-static-footer-v4';
149
150
  export * from './babylon-submenu-hotel';
150
151
  export * from './babylon-thanks';
151
152
  export * from './babylon-top-simple-banner';
@@ -81,4 +81,8 @@ export interface BabylonTextInfoI {
81
81
  howGetTitle2?: string;
82
82
  contactDescription?: string;
83
83
  contactTitle?: string;
84
+ newsletterError?: string;
85
+ newsletterFail?: string;
86
+ newsletterSuccessfull?: string;
87
+ newsletterTitle?: string;
84
88
  }
@@ -29,6 +29,9 @@ export declare class MapperService {
29
29
  mapSubmenu(props: any | undefined): BabylonSubmenuI;
30
30
  mapComponents<T>(body: any[], addons?: ComponentsAddons): BodyComponent<T>[];
31
31
  mapGlobals(component: any, ndProps: any | undefined, ndPropsConsult: any | undefined): any;
32
+ mapGlobalAddressHotels(props: any): BabylonAddressItem[] | undefined;
33
+ /** Helper para limpiar el código principal */
34
+ private mapDynamicAddressesFromTexts;
32
35
  mapGlobalExperiences(experiences: any | undefined): BabylonGlobalExperience[];
33
36
  mapGlobalsFilters(filters: any | undefined): BabylonGloablsGalleryFilter | undefined;
34
37
  mapGlobalConsultTypes(props: any | undefined, ndPropsConsult: any | undefined): any | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.13.46",
3
+ "version": "0.14.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",