tent-lib 0.0.321 → 0.0.322

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,12 +1,29 @@
1
1
  import { Location } from '@angular/common';
2
+ import { OnInit } from '@angular/core';
3
+ import { ButtonI } from '../../../../interfaces/atomic/button.interface';
2
4
  import * as i0 from "@angular/core";
3
- export declare class HotelListModalComponent {
5
+ export declare class HotelListModalComponent implements OnInit {
4
6
  private readonly location;
7
+ hotels?: HotelListModalCity[];
8
+ button?: ButtonI;
9
+ title?: string;
5
10
  collapsed: boolean[];
6
11
  constructor(location: Location);
12
+ ngOnInit(): void;
7
13
  elementClicked(event: Event): void;
8
14
  toggleCollapsed(index: number): void;
9
15
  back(): void;
10
16
  static ɵfac: i0.ɵɵFactoryDeclaration<HotelListModalComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<HotelListModalComponent, "tent-hotel-list-modal", never, {}, {}, never, never, true, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<HotelListModalComponent, "tent-hotel-list-modal", never, { "hotels": { "alias": "hotels"; "required": false; }; "button": { "alias": "button"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
19
+ export interface HotelListModalCity {
20
+ city: ButtonI;
21
+ items: HotelListModalItem[];
22
+ }
23
+ export interface HotelListModalItem {
24
+ title: string;
25
+ hotels: {
26
+ img: string;
27
+ btn: ButtonI;
28
+ }[];
12
29
  }
@@ -0,0 +1,7 @@
1
+ import { HotelListModalCity } from '../../components/core/modals/hotel-list-modal/hotel-list-modal.component';
2
+ import { ButtonI } from '../atomic/button.interface';
3
+ export interface HotelListModalI {
4
+ hotels?: HotelListModalCity[];
5
+ button?: ButtonI;
6
+ title?: string;
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.321",
3
+ "version": "0.0.322",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",
package/public-api.d.ts CHANGED
@@ -111,5 +111,6 @@ export * from './lib/interfaces/core/brunch.interface';
111
111
  export * from './lib/interfaces/core/brunch-gallery.interface';
112
112
  export * from './lib/interfaces/core/destination-list.interface';
113
113
  export * from './lib/interfaces/core/module-google-maps.interface';
114
+ export * from './lib/interfaces/core/hotel-list-modal.interface';
114
115
  export * from './services';
115
116
  export * from './lib/pipes/currency.pipe';