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.
- package/esm2022/lib/components/core/destination-hotels/destination-hotels.component.mjs +3 -3
- package/esm2022/lib/components/core/hotels-list/hotels-list.component.mjs +33 -11
- package/esm2022/lib/interfaces/core/hotels-list.interface.mjs +2 -0
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/tent-lib.mjs +30 -10
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/hotels-list/hotels-list.component.d.ts +30 -4
- package/lib/interfaces/core/hotels-list.interface.d.ts +10 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -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
|
-
|
|
4
|
-
|
|
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
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';
|