tent-lib 0.0.375 → 0.0.377
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/hotels-list/hotels-list.component.mjs +5 -6
- package/esm2022/lib/interfaces/core/hotels-list.interface.mjs +1 -1
- package/fesm2022/tent-lib.mjs +2 -4
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/hotels-list/hotels-list.component.d.ts +4 -4
- package/lib/interfaces/core/hotels-list.interface.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
3
2
|
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class HotelsListComponent implements OnInit {
|
|
6
6
|
private readonly sanitizer;
|
|
@@ -8,7 +8,6 @@ export declare class HotelsListComponent implements OnInit {
|
|
|
8
8
|
infoTitleDark?: string;
|
|
9
9
|
infoDescription?: string;
|
|
10
10
|
links?: ButtonI[];
|
|
11
|
-
button?: ButtonI;
|
|
12
11
|
items?: HotelsListItem[];
|
|
13
12
|
collapsed?: boolean[];
|
|
14
13
|
constructor(sanitizer: DomSanitizer);
|
|
@@ -16,7 +15,7 @@ export declare class HotelsListComponent implements OnInit {
|
|
|
16
15
|
getImage(image: string): SafeStyle;
|
|
17
16
|
toggleCollapse(index: number): void;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelsListComponent, 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; }; "
|
|
18
|
+
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; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
19
|
}
|
|
21
20
|
export interface HotelsListItem {
|
|
22
21
|
title?: string;
|
|
@@ -25,9 +24,10 @@ export interface HotelsListItem {
|
|
|
25
24
|
additionalDescription?: string;
|
|
26
25
|
priceTitle?: string;
|
|
27
26
|
priceSubtitle?: string;
|
|
28
|
-
price?: string;
|
|
27
|
+
price?: string | number;
|
|
29
28
|
currency?: string;
|
|
30
29
|
image?: string;
|
|
31
30
|
services?: string[];
|
|
32
31
|
button?: ButtonI;
|
|
32
|
+
destinyId?: string | number;
|
|
33
33
|
}
|