ctt-babylon 0.26.25 → 0.26.26

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.
Files changed (20) hide show
  1. package/esm2022/lib/components/core/babylon-booking-banner/babylon-booking-banner.component.mjs +2 -2
  2. package/esm2022/lib/components/core/babylon-global-badge/babylon-global-badge.component.mjs +3 -3
  3. package/esm2022/lib/components/core/babylon-list-img/babylon-list-img.component.mjs +8 -5
  4. package/esm2022/lib/components/core/babylon-sli-c3-svg-vid-cta/babylon-sli-c3-svg-vid-cta.component.mjs +9 -3
  5. package/esm2022/lib/components/core/babylon-sli-c3-txt-img-cta/babylon-sli-c3-txt-img-cta.component.mjs +2 -2
  6. package/esm2022/lib/components/external/core/c4-me-txt-svg-cta/c4-me-txt-svg-cta.component.mjs +13 -13
  7. package/esm2022/lib/components/external/core/lis-c3-fil-img-tx/lis-c3-fil-img-tx.component.mjs +53 -35
  8. package/esm2022/lib/components/external/core/modulo-menu-home/modulo-menu-home.component.mjs +10 -10
  9. package/esm2022/lib/components/external/core/top-c2-img-txt/top-c2-img-txt.component.mjs +3 -3
  10. package/esm2022/lib/directives/babylon-galleries/babylon-light-gallery.directive.mjs +5 -3
  11. package/esm2022/lib/directives/sliders/slick-init.directive.mjs +35 -19
  12. package/esm2022/lib/directives/sliders/swiper-init.directive.mjs +3 -3
  13. package/fesm2022/ctt-babylon.mjs +2 -2
  14. package/fesm2022/ctt-babylon.mjs.map +1 -1
  15. package/lib/components/core/babylon-list-img/babylon-list-img.component.d.ts +1 -0
  16. package/lib/components/core/babylon-sli-c3-svg-vid-cta/babylon-sli-c3-svg-vid-cta.component.d.ts +4 -2
  17. package/lib/components/external/core/lis-c3-fil-img-tx/lis-c3-fil-img-tx.component.d.ts +1 -1
  18. package/lib/directives/sliders/slick-init.directive.d.ts +2 -1
  19. package/lib/directives/sliders/swiper-init.directive.d.ts +1 -1
  20. package/package.json +1 -1
@@ -62,6 +62,7 @@ export declare class BabylonListImgComponent implements AfterViewInit {
62
62
  private getOffsetForViewport;
63
63
  getImagesByTag(tagName: string): any;
64
64
  getFirstImageByTag(tagName: string): import("../../../interfaces").BabylonImageI | undefined;
65
+ test(imgs: any): void;
65
66
  static ɵfac: i0.ɵɵFactoryDeclaration<BabylonListImgComponent, never>;
66
67
  static ɵcmp: i0.ɵɵComponentDeclaration<BabylonListImgComponent, "lib-babylon-list-img", never, { "rightSide": { "alias": "rightSide"; "required": false; }; "leftSide": { "alias": "leftSide"; "required": false; }; "texts": { "alias": "texts"; "required": false; }; "items": { "alias": "items"; "required": false; }; "multimedia": { "alias": "multimedia"; "required": false; }; "equipment": { "alias": "equipment"; "required": false; }; "room": { "alias": "room"; "required": false; }; "visibleLimit": { "alias": "visibleLimit"; "required": false; }; "iconsLikeImages": { "alias": "iconsLikeImages"; "required": false; }; "identifier": { "alias": "identifier"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "moreText": { "alias": "moreText"; "required": false; }; "lessText": { "alias": "lessText"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
67
68
  static ngAcceptInputType_rightSide: unknown;
@@ -1,19 +1,21 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
1
+ import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
2
2
  import { LogoType } from '../../../Enum';
3
3
  import { BabylonImageI, BabylonMultimediaI, BabylonTextInfoI } from '../../../interfaces';
4
4
  import * as i0 from "@angular/core";
5
- export declare class BabylonSliC3SvgVidCtaComponent implements AfterViewInit {
5
+ export declare class BabylonSliC3SvgVidCtaComponent implements AfterViewInit, OnDestroy {
6
6
  private host;
7
7
  private platformId;
8
8
  texts?: BabylonTextInfoI;
9
9
  multimedia?: BabylonMultimediaI;
10
10
  logos?: Record<LogoType, BabylonImageI | undefined>;
11
+ private swiperTimer;
11
12
  constructor(host: ElementRef<HTMLElement>, platformId: object);
12
13
  onMouseOver(event: MouseEvent): void;
13
14
  onMouseOut(event: MouseEvent): void;
14
15
  onClick(event: MouseEvent): void;
15
16
  onTouchMove(): void;
16
17
  ngAfterViewInit(): void;
18
+ ngOnDestroy(): void;
17
19
  stopAllVideos(): void;
18
20
  onVideoEnter(container: HTMLElement): void;
19
21
  onVideoLeave(container: HTMLElement): void;
@@ -1,7 +1,7 @@
1
1
  import { OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
2
2
  import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
3
- import { LisC3FilImgTxContent, LisC3FilImgTxButton, LisC3FilImgTxGalleryItem, LisC3FilImgTxNav } from './lis-c3-fil-img-tx.interfaces';
4
3
  import { BabylonGalleryFilter, BabylonGalleryItem } from '../../../core/babylon-gallery/babylon-gallery.component';
4
+ import { LisC3FilImgTxButton, LisC3FilImgTxContent, LisC3FilImgTxGalleryItem, LisC3FilImgTxNav } from './lis-c3-fil-img-tx.interfaces';
5
5
  import * as i0 from "@angular/core";
6
6
  type FilterType = 'sections' | 'rooms';
7
7
  export declare class LisC3FilImgTxComponent implements OnInit, OnChanges, OnDestroy {
@@ -4,9 +4,10 @@ export declare class SlickInitDirective implements AfterViewInit, OnDestroy {
4
4
  private host;
5
5
  private platformId;
6
6
  private zone;
7
- private resizeHandler?;
8
7
  private sliderEl?;
9
8
  private observer?;
9
+ private isDestroyed;
10
+ private cleanups;
10
11
  constructor(host: ElementRef<HTMLElement>, platformId: object, zone: NgZone);
11
12
  ngAfterViewInit(): Promise<void>;
12
13
  private observeChildren;
@@ -10,5 +10,5 @@ export declare class SwiperInitDirective implements AfterViewInit, OnDestroy {
10
10
  ngOnDestroy(): void;
11
11
  private initArrowPositioning;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SwiperInitDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<SwiperInitDirective, ".js-active-slider,[appSwiperInit]", never, {}, {}, never, never, true, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SwiperInitDirective, "[appSwiperInit]", never, {}, {}, never, never, true, never>;
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.26.25",
3
+ "version": "0.26.26",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",