tent-lib 0.0.41 → 0.0.43

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 { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { DropdownOption } from '../../atomic/dropdown/dropdown.component';
3
3
  import { DropdownI } from '../../../interfaces/atomic/dropdown.interface';
4
4
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
5
5
  import * as i0 from "@angular/core";
6
- export declare class GuestsPopupComponent {
6
+ export declare class GuestsPopupComponent implements OnInit {
7
7
  adultsDropdown: DropdownI;
8
8
  kidsDropdown: DropdownI;
9
9
  ageDropdown: DropdownI;
@@ -18,6 +18,7 @@ export declare class GuestsPopupComponent {
18
18
  adultsOption: DropdownOption;
19
19
  babysOption: DropdownOption;
20
20
  ages: string[];
21
+ ngOnInit(): void;
21
22
  kidsChange(option: DropdownOption): void;
22
23
  agesChange(kidIndex: number, option: DropdownOption): void;
23
24
  babysChange(option: DropdownOption): void;
@@ -1,9 +1,10 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { OwlOptions } from 'ngx-owl-carousel-o';
2
3
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
3
4
  import { BadgeI } from '../../../interfaces/atomic/badge.interface';
4
5
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
5
6
  import * as i0 from "@angular/core";
6
- export declare class HotelSliderComponent {
7
+ export declare class HotelSliderComponent implements OnInit {
7
8
  private readonly sanitizer;
8
9
  iconControlLeft: string;
9
10
  iconControlRight: string;
@@ -12,6 +13,7 @@ export declare class HotelSliderComponent {
12
13
  items: HotelSliderItem[];
13
14
  sliderOptions: OwlOptions;
14
15
  constructor(sanitizer: DomSanitizer);
16
+ ngOnInit(): void;
15
17
  getImage(image: string): SafeStyle;
16
18
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelSliderComponent, never>;
17
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>;
@@ -1,13 +1,17 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { OwlOptions } from 'ngx-owl-carousel-o';
2
3
  import { OfferI } from '../../../interfaces/core/offer.interface';
3
4
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
4
5
  import * as i0 from "@angular/core";
5
- export declare class OfferSliderComponent {
6
+ export declare class OfferSliderComponent implements OnInit {
6
7
  offers: OfferI[];
7
8
  title: string;
8
9
  titleDark: string;
10
+ iconControlLeft: string;
11
+ iconControlRight: string;
9
12
  link?: ButtonI;
10
13
  sliderOptions: OwlOptions;
14
+ ngOnInit(): void;
11
15
  static ɵfac: i0.ɵɵFactoryDeclaration<OfferSliderComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<OfferSliderComponent, "tent-offer-slider", never, { "offers": { "alias": "offers"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "link": { "alias": "link"; "required": false; }; }, {}, never, never, true, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<OfferSliderComponent, "tent-offer-slider", never, { "offers": { "alias": "offers"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "link": { "alias": "link"; "required": false; }; }, {}, never, never, true, never>;
13
17
  }
@@ -1,8 +1,9 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
2
3
  import { OwlOptions } from 'ngx-owl-carousel-o';
3
4
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
4
5
  import * as i0 from "@angular/core";
5
- export declare class RoomsSliderComponent {
6
+ export declare class RoomsSliderComponent implements OnInit {
6
7
  private readonly sanitizer;
7
8
  iconControlLeft: string;
8
9
  iconControlRight: string;
@@ -10,6 +11,7 @@ export declare class RoomsSliderComponent {
10
11
  items: RoomsSliderItem[];
11
12
  sliderOptions: OwlOptions;
12
13
  constructor(sanitizer: DomSanitizer);
14
+ ngOnInit(): void;
13
15
  getImage(image: string): SafeStyle;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<RoomsSliderComponent, never>;
15
17
  static ɵcmp: i0.ɵɵComponentDeclaration<RoomsSliderComponent, "tent-rooms-slider", never, { "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "title": { "alias": "title"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
@@ -5,4 +5,6 @@ export interface OfferSliderI {
5
5
  title: string;
6
6
  titleDark: string;
7
7
  link?: ButtonI;
8
+ iconControlLeft: string;
9
+ iconControlRight: string;
8
10
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.41",
3
+ "version": "0.0.43",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",