ctt-babylon 0.10.37 → 0.10.38

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.
@@ -1,9 +1,9 @@
1
- import { BabylonButtonI, BabylonImageI, BabylonTextInfoI } from "../../../interfaces";
1
+ import { BabylonButtonI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class BabylonAvC4ImgTextComponent {
4
4
  texts?: BabylonTextInfoI;
5
5
  buttons?: BabylonButtonI[];
6
- multimedia?: BabylonImageI[];
6
+ multimedia?: BabylonMultimediaI;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonAvC4ImgTextComponent, never>;
8
8
  static ɵcmp: i0.ɵɵComponentDeclaration<BabylonAvC4ImgTextComponent, "lib-babylon-av-c4-img-text", never, { "texts": { "alias": "texts"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; }, {}, never, never, true, never>;
9
9
  }
@@ -1,5 +1,16 @@
1
+ import { OnChanges } from '@angular/core';
2
+ import { BabylonButtonI, BabylonImageI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
1
3
  import * as i0 from "@angular/core";
2
- export declare class BabylonAvImgSocialComponent {
4
+ export declare class BabylonAvImgSocialComponent implements OnChanges {
5
+ texts?: BabylonTextInfoI;
6
+ multimedia?: BabylonMultimediaI;
7
+ buttons?: BabylonButtonI[];
8
+ socialMedia?: BabylonButtonI[];
9
+ sliders: BabylonImageI[][];
10
+ ngOnChanges(): void;
11
+ getImagesByTag(tagName: string): BabylonImageI[];
12
+ private buildSliders;
13
+ private getAllImages;
3
14
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonAvImgSocialComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BabylonAvImgSocialComponent, "lib-babylon-av-img-social", never, {}, {}, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonAvImgSocialComponent, "lib-babylon-av-img-social", never, { "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "socialMedia": { "alias": "socialMedia"; "required": false; }; }, {}, never, never, true, never>;
5
16
  }
@@ -1,5 +1,9 @@
1
+ import { BabylonButtonI, BabylonItemI, BabylonTextInfoI } from '../../../interfaces';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class BabylonAvTxtIcoComponent {
4
+ texts?: BabylonTextInfoI;
5
+ buttons?: BabylonButtonI[];
6
+ items?: BabylonItemI[];
3
7
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonAvTxtIcoComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BabylonAvTxtIcoComponent, "lib-babylon-av-txt-ico", never, {}, {}, never, never, true, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonAvTxtIcoComponent, "lib-babylon-av-txt-ico", never, { "texts": { "alias": "texts"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
5
9
  }
@@ -1,6 +1,10 @@
1
+ import { BabylonButtonI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class BabylonBaImgTxtComponent {
3
4
  reverse?: boolean;
5
+ texts?: BabylonTextInfoI;
6
+ multimedia?: BabylonMultimediaI;
7
+ buttons?: BabylonButtonI[];
4
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonBaImgTxtComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBaImgTxtComponent, "lib-babylon-ba-img-txt", never, { "reverse": { "alias": "reverse"; "required": false; }; }, {}, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonBaImgTxtComponent, "lib-babylon-ba-img-txt", never, { "reverse": { "alias": "reverse"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
6
10
  }
@@ -1,5 +1,8 @@
1
+ import { BabylonItemI, BabylonTextInfoI } from '../../../interfaces';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class BabylonSliC5ImgTxtComponent {
4
+ texts?: BabylonTextInfoI;
5
+ items?: BabylonItemI[];
3
6
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonSliC5ImgTxtComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<BabylonSliC5ImgTxtComponent, "lib-babylon-sli-c5-img-txt", never, {}, {}, never, never, true, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonSliC5ImgTxtComponent, "lib-babylon-sli-c5-img-txt", never, { "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
5
8
  }
@@ -1,15 +1,16 @@
1
1
  import { BabylonButtonI } from './babylon-button.interface';
2
2
  import { BabylonImageI } from './babylon-image.interface';
3
+ import { BabylonMultimediaI } from './babylon-multimedia.interface';
3
4
  import { BabylonTextInfoI } from './babylon-text-info.interface';
4
5
  export interface BabylonItemI {
5
6
  label?: string;
6
7
  description?: string;
7
8
  buttons?: BabylonButtonI[];
8
9
  links?: BabylonButtonI[];
9
- multimedia?: BabylonImageI[];
10
+ multimedia?: BabylonMultimediaI;
10
11
  texts?: BabylonTextInfoI;
11
12
  text?: string;
12
13
  title?: string;
13
14
  img?: BabylonImageI;
14
- images?: BabylonImageI;
15
+ images?: BabylonImageI[];
15
16
  }
@@ -26,6 +26,7 @@ export declare class MapperService {
26
26
  mapGlobals(component: any): any;
27
27
  mapConsultTypesGlobal(consults: any | undefined): ConsultTypeI[];
28
28
  mapHotelsGlobal(hotels: any | undefined): BabylonHotelItem[];
29
+ private mapGlobalItems;
29
30
  mapAddress(address: any | undefined): BabylonAddressItem;
30
31
  mapStaticFooterv3(props: any | undefined): BabylonStaticFooterI;
31
32
  mapContactInfo(texts: any | undefined): BabylonContactInfoI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.10.37",
3
+ "version": "0.10.38",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",