tent-lib 1.14.21 → 1.14.23

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 (31) hide show
  1. package/esm2022/lib/components/atomic/badge/badge.component.mjs +6 -3
  2. package/esm2022/lib/components/core/gallery-photos/gallery-photos.component.mjs +5 -3
  3. package/esm2022/lib/components/core/header-mobile/header-mobile.component.mjs +1 -1
  4. package/esm2022/lib/components/core/hotel-about/hotel-about.component.mjs +12 -3
  5. package/esm2022/lib/components/core/hotel-services/hotel-services.component.mjs +11 -3
  6. package/esm2022/lib/components/core/location-beach/location-beach.component.mjs +10 -3
  7. package/esm2022/lib/components/core/location-how/location-how.component.mjs +6 -4
  8. package/esm2022/lib/components/core/modals/room-zoom-modal/room-zoom-modal.component.mjs +11 -3
  9. package/esm2022/lib/components/core/motor/motor.component.mjs +1 -1
  10. package/esm2022/lib/components/core/offer/offer.component.mjs +2 -2
  11. package/esm2022/lib/components/core/offer-banner/offer-banner.component.mjs +2 -2
  12. package/esm2022/lib/components/core/offer-details/offer-details.component.mjs +2 -2
  13. package/esm2022/lib/components/core/room-slider/room-slider.component.mjs +13 -5
  14. package/esm2022/lib/components/core/top-module/top-module.component.mjs +5 -3
  15. package/esm2022/lib/interfaces/atomic/badge.interface.mjs +1 -1
  16. package/esm2022/lib/interfaces/atomic/image.interface.mjs +1 -1
  17. package/esm2022/lib/pipes/is-ai-generated.pipe.mjs +31 -0
  18. package/fesm2022/tent-lib.mjs +92 -26
  19. package/fesm2022/tent-lib.mjs.map +1 -1
  20. package/lib/components/atomic/badge/badge.component.d.ts +2 -1
  21. package/lib/components/core/gallery-photos/gallery-photos.component.d.ts +3 -0
  22. package/lib/components/core/hotel-about/hotel-about.component.d.ts +3 -1
  23. package/lib/components/core/hotel-services/hotel-services.component.d.ts +1 -0
  24. package/lib/components/core/location-beach/location-beach.component.d.ts +1 -0
  25. package/lib/components/core/location-how/location-how.component.d.ts +2 -1
  26. package/lib/components/core/room-slider/room-slider.component.d.ts +2 -1
  27. package/lib/components/core/top-module/top-module.component.d.ts +1 -0
  28. package/lib/interfaces/atomic/badge.interface.d.ts +1 -1
  29. package/lib/interfaces/atomic/image.interface.d.ts +2 -0
  30. package/lib/pipes/is-ai-generated.pipe.d.ts +7 -0
  31. package/package.json +1 -1
@@ -4,6 +4,7 @@ export declare class BadgeComponent {
4
4
  rounded?: boolean;
5
5
  label?: string;
6
6
  icon?: string;
7
+ AIClass?: boolean;
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "tent-badge", never, { "orientation": { "alias": "orientation"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "tent-badge", never, { "orientation": { "alias": "orientation"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "label": { "alias": "label"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "AIClass": { "alias": "AIClass"; "required": false; }; }, {}, never, never, true, never>;
9
10
  }
@@ -33,4 +33,7 @@ export interface GalleryPhotosItem {
33
33
  title: string;
34
34
  category: string[];
35
35
  video?: string;
36
+ tags?: {
37
+ name: string;
38
+ }[];
36
39
  }
@@ -22,6 +22,7 @@ export declare class HotelAboutComponent implements OnChanges, AfterViewInit {
22
22
  btnMore?: ButtonI;
23
23
  btnLess?: ButtonI;
24
24
  slides?: HotelAboutSlide[];
25
+ label?: string;
25
26
  videoIframe?: ElementRef<HTMLIFrameElement>;
26
27
  private ytPlayer;
27
28
  private ytApiLoaded;
@@ -47,10 +48,11 @@ export declare class HotelAboutComponent implements OnChanges, AfterViewInit {
47
48
  private initYoutubePlayer;
48
49
  private onVideoEnded;
49
50
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelAboutComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<HotelAboutComponent, "tent-hotel-about", never, { "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "description": { "alias": "description"; "required": false; }; "additionalDescription": { "alias": "additionalDescription"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "slides": { "alias": "slides"; "required": false; }; }, {}, never, never, true, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotelAboutComponent, "tent-hotel-about", never, { "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "description": { "alias": "description"; "required": false; }; "additionalDescription": { "alias": "additionalDescription"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "slides": { "alias": "slides"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
51
52
  }
52
53
  export interface HotelAboutSlide {
53
54
  image: ImageI;
54
55
  badge: string;
55
56
  video?: string;
57
+ tags?: any[];
56
58
  }
@@ -18,4 +18,5 @@ export interface HotelServicesItem {
18
18
  subtitle?: string;
19
19
  description?: string;
20
20
  buttons?: ButtonI[];
21
+ tags?: string[];
21
22
  }
@@ -23,6 +23,7 @@ export declare class LocationBeachComponent {
23
23
  export interface LocationBeachItem {
24
24
  image?: string;
25
25
  tag?: BadgeI;
26
+ tags?: any[];
26
27
  }
27
28
  export interface LocationBeachInfoItem {
28
29
  title?: string;
@@ -1,9 +1,10 @@
1
1
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
2
2
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
3
+ import { ImageI } from '../../../interfaces/atomic/image.interface';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class LocationHowComponent {
5
6
  private readonly sanitizer;
6
- backgroundImage?: string;
7
+ backgroundImage?: ImageI;
7
8
  title?: string;
8
9
  items?: LocationHowItem[];
9
10
  links?: ButtonI[];
@@ -3,6 +3,7 @@ import { MatDialog } from '@angular/material/dialog';
3
3
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
4
4
  import { OwlOptions } from 'ngx-owl-carousel-o';
5
5
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
6
+ import { ImageI } from '../../../interfaces/atomic/image.interface';
6
7
  import * as i0 from "@angular/core";
7
8
  export declare class RoomSliderComponent implements OnInit, OnChanges, AfterViewInit {
8
9
  private readonly dialog;
@@ -39,7 +40,7 @@ export interface RoomsSliderRoom {
39
40
  }[];
40
41
  description?: string;
41
42
  additionalDescription?: string;
42
- images?: string[];
43
+ images?: ImageI[];
43
44
  bookButton?: ButtonI;
44
45
  equipment?: {
45
46
  title?: string;
@@ -44,4 +44,5 @@ export interface TopModuleItem {
44
44
  badgeDiscount?: BadgeI;
45
45
  btn?: ButtonI;
46
46
  img?: string;
47
+ tags?: any[];
47
48
  }
@@ -1,6 +1,6 @@
1
1
  export interface BadgeI {
2
2
  orientation?: 'left' | 'right';
3
3
  rounded?: boolean;
4
- label?: string;
4
+ label?: any;
5
5
  icon?: string;
6
6
  }
@@ -1,8 +1,10 @@
1
1
  import { ButtonI } from './button.interface';
2
2
  export interface ImageI {
3
3
  src: string;
4
+ url?: string;
4
5
  alt: string;
5
6
  title?: string;
6
7
  subtitle?: string;
7
8
  buttons?: ButtonI[];
9
+ tags?: any[];
8
10
  }
@@ -0,0 +1,7 @@
1
+ import { PipeTransform } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class IsAiGeneratedPipe implements PipeTransform {
4
+ transform(tags: any[] | undefined | null): boolean;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<IsAiGeneratedPipe, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<IsAiGeneratedPipe, "isAiGenerated", true>;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "1.14.21",
3
+ "version": "1.14.23",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",