tent-lib 0.0.411 → 0.0.413

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 (74) hide show
  1. package/esm2022/lib/components/atomic/badge/badge.component.mjs +2 -2
  2. package/esm2022/lib/components/atomic/breadcrump/breadcrump.component.mjs +2 -2
  3. package/esm2022/lib/components/atomic/button/button.component.mjs +2 -2
  4. package/esm2022/lib/components/atomic/datepicker/datepicker.component.mjs +2 -2
  5. package/esm2022/lib/components/atomic/dropdown/dropdown.component.mjs +2 -2
  6. package/esm2022/lib/components/atomic/input/input.component.mjs +2 -2
  7. package/esm2022/lib/components/core/advantages/advantages.component.mjs +2 -2
  8. package/esm2022/lib/components/core/brunch/brunch.component.mjs +2 -2
  9. package/esm2022/lib/components/core/brunch-gallery/brunch-gallery.component.mjs +2 -2
  10. package/esm2022/lib/components/core/cards-2col/cards-2col.component.mjs +2 -2
  11. package/esm2022/lib/components/core/cards-3col/cards-3col.component.mjs +2 -2
  12. package/esm2022/lib/components/core/contact-form/contact-form.component.mjs +2 -2
  13. package/esm2022/lib/components/core/contact-office/contact-office.component.mjs +2 -2
  14. package/esm2022/lib/components/core/delivery-app/delivery-app.component.mjs +2 -2
  15. package/esm2022/lib/components/core/destination-hotels/destination-hotels.component.mjs +7 -4
  16. package/esm2022/lib/components/core/destination-info/destination-info.component.mjs +2 -2
  17. package/esm2022/lib/components/core/destination-list/destination-list.component.mjs +2 -2
  18. package/esm2022/lib/components/core/employment-benefits/employment-benefits.component.mjs +2 -2
  19. package/esm2022/lib/components/core/employment-form/employment-form.component.mjs +2 -2
  20. package/esm2022/lib/components/core/facilities-slider/facilities-slider.component.mjs +2 -2
  21. package/esm2022/lib/components/core/footer-a/footer-a.component.mjs +2 -2
  22. package/esm2022/lib/components/core/footer-b/footer-b.component.mjs +2 -2
  23. package/esm2022/lib/components/core/footer-static/footer-static.component.mjs +2 -2
  24. package/esm2022/lib/components/core/gallery-photos/gallery-photos.component.mjs +2 -2
  25. package/esm2022/lib/components/core/generic-head/generic-head.component.mjs +2 -2
  26. package/esm2022/lib/components/core/guests-popup/guests-popup.component.mjs +2 -2
  27. package/esm2022/lib/components/core/header/header.component.mjs +2 -2
  28. package/esm2022/lib/components/core/header-mobile/header-mobile.component.mjs +2 -2
  29. package/esm2022/lib/components/core/hotel-about/hotel-about.component.mjs +2 -2
  30. package/esm2022/lib/components/core/hotel-app/hotel-app.component.mjs +2 -2
  31. package/esm2022/lib/components/core/hotel-equipment/hotel-equipment.component.mjs +2 -2
  32. package/esm2022/lib/components/core/hotel-location/hotel-location.component.mjs +5 -3
  33. package/esm2022/lib/components/core/hotel-services/hotel-services.component.mjs +2 -2
  34. package/esm2022/lib/components/core/hotel-slider/hotel-slider.component.mjs +7 -4
  35. package/esm2022/lib/components/core/hotels-list/hotels-list.component.mjs +2 -2
  36. package/esm2022/lib/components/core/info-slider/info-slider.component.mjs +2 -2
  37. package/esm2022/lib/components/core/location-beach/location-beach.component.mjs +2 -2
  38. package/esm2022/lib/components/core/location-how/location-how.component.mjs +2 -2
  39. package/esm2022/lib/components/core/location-map/location-map.component.mjs +2 -2
  40. package/esm2022/lib/components/core/modals/books-modal/books-modal.component.mjs +2 -2
  41. package/esm2022/lib/components/core/modals/checkin-modal/checkin-modal.component.mjs +2 -2
  42. package/esm2022/lib/components/core/modals/gallery-category/gallery-category.component.mjs +2 -2
  43. package/esm2022/lib/components/core/modals/hotel-list-modal/hotel-list-modal.component.mjs +2 -2
  44. package/esm2022/lib/components/core/modals/menu-modal/menu-modal.component.mjs +2 -2
  45. package/esm2022/lib/components/core/modals/newsletter-modal/newsletter-modal.component.mjs +2 -2
  46. package/esm2022/lib/components/core/modals/room-zoom-modal/room-zoom-modal.component.mjs +2 -2
  47. package/esm2022/lib/components/core/module-404/module-404.component.mjs +2 -2
  48. package/esm2022/lib/components/core/module-google-maps/module-google-maps.component.mjs +2 -2
  49. package/esm2022/lib/components/core/module-search/module-search.component.mjs +2 -2
  50. package/esm2022/lib/components/core/motor/motor.component.mjs +2 -2
  51. package/esm2022/lib/components/core/offer/offer.component.mjs +2 -2
  52. package/esm2022/lib/components/core/offer-banner/offer-banner.component.mjs +2 -2
  53. package/esm2022/lib/components/core/offer-details/offer-details.component.mjs +2 -2
  54. package/esm2022/lib/components/core/offer-list/offer-list.component.mjs +2 -2
  55. package/esm2022/lib/components/core/offer-slider/offer-slider.component.mjs +2 -2
  56. package/esm2022/lib/components/core/registration/registration.component.mjs +2 -2
  57. package/esm2022/lib/components/core/room-slider/room-slider.component.mjs +3 -5
  58. package/esm2022/lib/components/core/services-details/services-details.component.mjs +2 -2
  59. package/esm2022/lib/components/core/submenu/submenu.component.mjs +2 -2
  60. package/esm2022/lib/components/core/thanks/thanks.component.mjs +2 -2
  61. package/esm2022/lib/components/core/top-module/top-module.component.mjs +2 -2
  62. package/esm2022/lib/components/core/travelers/travelers.component.mjs +2 -2
  63. package/esm2022/lib/components/core/webmap/webmap.component.mjs +2 -2
  64. package/esm2022/lib/interfaces/atomic/button.interface.mjs +1 -1
  65. package/esm2022/lib/interfaces/core/hotel-location.interface.mjs +1 -1
  66. package/fesm2022/tent-lib.mjs +134 -128
  67. package/fesm2022/tent-lib.mjs.map +1 -1
  68. package/lib/components/core/destination-hotels/destination-hotels.component.d.ts +4 -1
  69. package/lib/components/core/hotel-location/hotel-location.component.d.ts +2 -1
  70. package/lib/components/core/hotel-slider/hotel-slider.component.d.ts +4 -2
  71. package/lib/components/core/room-slider/room-slider.component.d.ts +4 -4
  72. package/lib/interfaces/atomic/button.interface.d.ts +1 -1
  73. package/lib/interfaces/core/hotel-location.interface.d.ts +1 -0
  74. package/package.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { EventEmitter } from '@angular/core';
1
2
  import { OwlOptions } from 'ngx-owl-carousel-o';
2
3
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
3
4
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
@@ -7,13 +8,15 @@ export declare class DestinationHotelsComponent {
7
8
  items?: DestinationHotelItem[];
8
9
  title?: string;
9
10
  titleDark?: string;
11
+ hotelClick: EventEmitter<DestinationHotelItem>;
10
12
  sliderOptions: OwlOptions;
11
13
  constructor(sanitizer: DomSanitizer);
12
14
  getImage(img: string): SafeStyle;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DestinationHotelsComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<DestinationHotelsComponent, "tent-destination-hotels", never, { "items": { "alias": "items"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<DestinationHotelsComponent, "tent-destination-hotels", never, { "items": { "alias": "items"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; }, { "hotelClick": "hotelClick"; }, never, never, true, never>;
15
17
  }
16
18
  export interface DestinationHotelItem {
19
+ id?: string;
17
20
  image?: string;
18
21
  title?: string;
19
22
  ndTitle?: string;
@@ -11,12 +11,13 @@ export declare class HotelLocationComponent {
11
11
  btnMore?: ButtonI;
12
12
  btnLess?: ButtonI;
13
13
  address?: string;
14
+ linkMap?: string;
14
15
  collapsed: boolean;
15
16
  get getImageUrl(): SafeStyle;
16
17
  constructor(sanitizer: DomSanitizer);
17
18
  toggleCollapse(): void;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelLocationComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<HotelLocationComponent, "tent-hotel-location", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "image": { "alias": "image"; "required": false; }; "items": { "alias": "items"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "address": { "alias": "address"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotelLocationComponent, "tent-hotel-location", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "image": { "alias": "image"; "required": false; }; "items": { "alias": "items"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "address": { "alias": "address"; "required": false; }; "linkMap": { "alias": "linkMap"; "required": false; }; }, {}, never, never, true, never>;
20
21
  }
21
22
  export interface HotelLocationsItem {
22
23
  title: string;
@@ -1,4 +1,4 @@
1
- import { OnInit } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { OwlOptions } from 'ngx-owl-carousel-o';
3
3
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
4
4
  import { BadgeI } from '../../../interfaces/atomic/badge.interface';
@@ -11,14 +11,16 @@ export declare class HotelSliderComponent implements OnInit {
11
11
  title?: string;
12
12
  titleDark?: string;
13
13
  items?: HotelSliderItem[];
14
+ hotelClick: EventEmitter<HotelSliderItem>;
14
15
  sliderOptions: OwlOptions;
15
16
  constructor(sanitizer: DomSanitizer);
16
17
  ngOnInit(): void;
17
18
  getImage(image: string): SafeStyle;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelSliderComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<HotelSliderComponent, "tent-hotel-slider", never, { "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotelSliderComponent, "tent-hotel-slider", never, { "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, { "hotelClick": "hotelClick"; }, never, never, true, never>;
20
21
  }
21
22
  export interface HotelSliderItem {
23
+ id?: string;
22
24
  image: string;
23
25
  title: string;
24
26
  description: string;
@@ -12,7 +12,6 @@ export declare class RoomSliderComponent implements OnInit {
12
12
  linkDescriptionLess?: ButtonI;
13
13
  linkEquipmentMore?: ButtonI;
14
14
  linkEquipmentLess?: ButtonI;
15
- button?: ButtonI;
16
15
  sliderOptions: OwlOptions;
17
16
  collapsed: boolean[];
18
17
  viewmore: boolean[];
@@ -23,7 +22,7 @@ export declare class RoomSliderComponent implements OnInit {
23
22
  getImage(img: string): SafeStyle;
24
23
  openRoomModal(): void;
25
24
  static ɵfac: i0.ɵɵFactoryDeclaration<RoomSliderComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<RoomSliderComponent, "tent-room-slider", never, { "items": { "alias": "items"; "required": true; }; "linkDescriptionMore": { "alias": "linkDescriptionMore"; "required": false; }; "linkDescriptionLess": { "alias": "linkDescriptionLess"; "required": false; }; "linkEquipmentMore": { "alias": "linkEquipmentMore"; "required": false; }; "linkEquipmentLess": { "alias": "linkEquipmentLess"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<RoomSliderComponent, "tent-room-slider", never, { "items": { "alias": "items"; "required": true; }; "linkDescriptionMore": { "alias": "linkDescriptionMore"; "required": false; }; "linkDescriptionLess": { "alias": "linkDescriptionLess"; "required": false; }; "linkEquipmentMore": { "alias": "linkEquipmentMore"; "required": false; }; "linkEquipmentLess": { "alias": "linkEquipmentLess"; "required": false; }; }, {}, never, never, true, never>;
27
26
  }
28
27
  export interface RoomsSliderRoom {
29
28
  title?: string;
@@ -33,9 +32,10 @@ export interface RoomsSliderRoom {
33
32
  }[];
34
33
  description?: string;
35
34
  additionalDescription?: string;
36
- images: string[];
37
- equipment: {
35
+ images?: string[];
36
+ equipment?: {
38
37
  title?: string;
39
38
  items?: string[];
40
39
  };
40
+ button?: ButtonI;
41
41
  }
@@ -3,7 +3,7 @@ export interface ButtonI {
3
3
  type?: ButtonType;
4
4
  label?: string;
5
5
  url?: string;
6
- id?: string;
6
+ id?: string | number;
7
7
  linkType?: string;
8
8
  icon?: string;
9
9
  socialMedia?: 'instagram' | 'tiktok' | 'youtube' | 'facebook' | 'linkedin';
@@ -9,4 +9,5 @@ export interface HotelLocationI {
9
9
  btnMore?: ButtonI;
10
10
  btnLess?: ButtonI;
11
11
  address?: string;
12
+ linkMap?: string;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.411",
3
+ "version": "0.0.413",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",