tent-lib 0.0.364 → 0.0.366

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,7 +1,33 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ButtonI } from '../../../interfaces/atomic/button.interface';
3
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
1
4
  import * as i0 from "@angular/core";
2
- export declare class HotelsListComponent {
3
- collapsed1: boolean;
4
- toggleCollapse1(): void;
5
+ export declare class HotelsListComponent implements OnInit {
6
+ private readonly sanitizer;
7
+ infoTitle?: string;
8
+ infoTitleDark?: string;
9
+ infoDescription?: string;
10
+ links?: ButtonI[];
11
+ button?: ButtonI;
12
+ items?: HotelsListItem[];
13
+ collapsed?: boolean[];
14
+ constructor(sanitizer: DomSanitizer);
15
+ ngOnInit(): void;
16
+ getImage(image: string): SafeStyle;
17
+ toggleCollapse(index: number): void;
5
18
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelsListComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<HotelsListComponent, "tent-hotels-list", never, {}, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotelsListComponent, "tent-hotels-list", never, { "infoTitle": { "alias": "infoTitle"; "required": false; }; "infoTitleDark": { "alias": "infoTitleDark"; "required": false; }; "infoDescription": { "alias": "infoDescription"; "required": false; }; "links": { "alias": "links"; "required": false; }; "button": { "alias": "button"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
20
+ }
21
+ export interface HotelsListItem {
22
+ title?: string;
23
+ subtitle?: string;
24
+ description?: string;
25
+ additionalDescription?: string;
26
+ priceTitle?: string;
27
+ priceSubtitle?: string;
28
+ price?: string;
29
+ currency?: string;
30
+ image?: string;
31
+ services?: string[];
32
+ button?: ButtonI;
7
33
  }
@@ -0,0 +1,10 @@
1
+ import { HotelsListItem } from '../../components/core/hotels-list/hotels-list.component';
2
+ import { ButtonI } from '../atomic/button.interface';
3
+ export interface HotelsListI {
4
+ infoTitle?: string;
5
+ infoTitleDark?: string;
6
+ infoDescription?: string;
7
+ links?: ButtonI[];
8
+ button?: ButtonI;
9
+ items?: HotelsListItem[];
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.364",
3
+ "version": "0.0.366",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",
package/public-api.d.ts CHANGED
@@ -114,5 +114,6 @@ export * from './lib/interfaces/core/module-google-maps.interface';
114
114
  export * from './lib/interfaces/core/hotel-list-modal.interface';
115
115
  export * from './lib/interfaces/core/info-slider.interface';
116
116
  export * from './lib/interfaces/core/destination-hotels.interface';
117
+ export * from './lib/interfaces/core/hotels-list.interface';
117
118
  export * from './services';
118
119
  export * from './lib/pipes/currency.pipe';