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.
- package/esm2022/lib/components/core/modals/hotel-list-modal/hotel-list-modal.component.mjs +17 -6
- package/esm2022/lib/interfaces/core/hotel-list-modal.interface.mjs +2 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/tent-lib.mjs +15 -4
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/modals/hotel-list-modal/hotel-list-modal.component.d.ts +19 -2
- package/lib/interfaces/core/hotel-list-modal.interface.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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
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';
|