tent-lib 0.0.231 → 0.0.232
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/hotel-about/hotel-about.component.mjs +32 -10
- package/esm2022/lib/components/core/hotel-app/hotel-app.component.mjs +20 -5
- package/esm2022/lib/components/core/hotel-equipment/hotel-equipment.component.mjs +15 -5
- package/esm2022/lib/components/core/hotel-location/hotel-location.component.mjs +32 -11
- package/esm2022/lib/interfaces/atomic/image.interface.mjs +2 -0
- package/esm2022/lib/interfaces/core/hotel-about.interface.mjs +2 -0
- package/esm2022/lib/interfaces/core/hotel-app.interface.mjs +2 -0
- package/esm2022/lib/interfaces/core/hotel-equipment.interface.mjs +2 -0
- package/esm2022/lib/interfaces/core/hotel-location.interface.mjs +2 -0
- package/esm2022/public-api.mjs +6 -1
- package/fesm2022/tent-lib.mjs +85 -20
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/hotel-about/hotel-about.component.d.ts +17 -1
- package/lib/components/core/hotel-app/hotel-app.component.d.ts +14 -1
- package/lib/components/core/hotel-equipment/hotel-equipment.component.d.ts +12 -1
- package/lib/components/core/hotel-location/hotel-location.component.d.ts +20 -3
- package/lib/interfaces/atomic/image.interface.d.ts +4 -0
- package/lib/interfaces/core/hotel-about.interface.d.ts +11 -0
- package/lib/interfaces/core/hotel-app.interface.d.ts +12 -0
- package/lib/interfaces/core/hotel-equipment.interface.d.ts +9 -0
- package/lib/interfaces/core/hotel-location.interface.d.ts +12 -0
- package/package.json +1 -1
- package/public-api.d.ts +5 -0
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { OwlOptions } from 'ngx-owl-carousel-o';
|
|
2
|
+
import { ButtonI } from '../../../../public-api';
|
|
3
|
+
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class HotelAboutComponent {
|
|
6
|
+
private readonly sanitizer;
|
|
7
|
+
title?: string;
|
|
8
|
+
titleDark?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
additionalDescription?: string;
|
|
11
|
+
btnMore?: ButtonI;
|
|
12
|
+
btnLess?: ButtonI;
|
|
13
|
+
slides?: HotelAboutSlide[];
|
|
4
14
|
sliderOptions: OwlOptions;
|
|
5
15
|
collapsed1: boolean;
|
|
16
|
+
constructor(sanitizer: DomSanitizer);
|
|
6
17
|
toggleCollapse1(): void;
|
|
18
|
+
getImageUrl(image: string): SafeStyle;
|
|
7
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelAboutComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HotelAboutComponent, "tent-hotel-about", never, {}, {}, never, never, true, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HotelAboutComponent, "tent-hotel-about", never, { "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "description": { "alias": "description"; "required": false; }; "additionalDescription": { "alias": "additionalDescription"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "slides": { "alias": "slides"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
22
|
+
export interface HotelAboutSlide {
|
|
23
|
+
image: string;
|
|
24
|
+
badge: string;
|
|
9
25
|
}
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
+
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
2
|
+
import { Image } from '../../../interfaces/atomic/image.interface';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class HotelAppComponent {
|
|
5
|
+
title?: string;
|
|
6
|
+
titleDark?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
ndTitle?: string;
|
|
9
|
+
img?: Image;
|
|
10
|
+
buttons?: ButtonI[];
|
|
11
|
+
items?: HotelAppItem[];
|
|
3
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelAppComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HotelAppComponent, "tent-hotel-app", never, {}, {}, never, never, true, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HotelAppComponent, "tent-hotel-app", never, { "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "description": { "alias": "description"; "required": false; }; "ndTitle": { "alias": "ndTitle"; "required": false; }; "img": { "alias": "img"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "items": { "alias": "items"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
15
|
+
export interface HotelAppItem {
|
|
16
|
+
title: string;
|
|
17
|
+
icon: string;
|
|
5
18
|
}
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
+
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class HotelEquipmentComponent {
|
|
4
|
+
items?: HotelEquipmentItem[];
|
|
5
|
+
itemsBelow?: HotelEquipmentItem[];
|
|
6
|
+
title?: string;
|
|
7
|
+
btnMore?: ButtonI;
|
|
8
|
+
btnLess?: ButtonI;
|
|
3
9
|
collapsed1: boolean;
|
|
4
10
|
toggleCollapse1(): void;
|
|
5
11
|
collapsed2: boolean;
|
|
6
12
|
toggleCollapse2(): void;
|
|
7
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelEquipmentComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HotelEquipmentComponent, "tent-hotel-equipment", never, {}, {}, never, never, true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HotelEquipmentComponent, "tent-hotel-equipment", never, { "items": { "alias": "items"; "required": false; }; "itemsBelow": { "alias": "itemsBelow"; "required": false; }; "title": { "alias": "title"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
16
|
+
export interface HotelEquipmentItem {
|
|
17
|
+
title: string;
|
|
18
|
+
icon: string;
|
|
19
|
+
alt: string;
|
|
9
20
|
}
|
|
@@ -1,7 +1,24 @@
|
|
|
1
|
+
import { ButtonI } from '../../../../public-api';
|
|
2
|
+
import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
|
|
1
3
|
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class HotelLocationComponent {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
+
private readonly sanitizer;
|
|
6
|
+
title?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
image?: string;
|
|
10
|
+
items?: HotelLocationsItem[];
|
|
11
|
+
btnMore?: ButtonI;
|
|
12
|
+
btnLess?: ButtonI;
|
|
13
|
+
linkAdress?: ButtonI;
|
|
14
|
+
collapsed: boolean;
|
|
15
|
+
get getImageUrl(): SafeStyle;
|
|
16
|
+
constructor(sanitizer: DomSanitizer);
|
|
17
|
+
toggleCollapse(): void;
|
|
5
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<HotelLocationComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HotelLocationComponent, "tent-hotel-location", never, {}, {}, never, never, true, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HotelLocationComponent, "tent-hotel-location", never, { "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "image": { "alias": "image"; "required": false; }; "items": { "alias": "items"; "required": false; }; "btnMore": { "alias": "btnMore"; "required": false; }; "btnLess": { "alias": "btnLess"; "required": false; }; "linkAdress": { "alias": "linkAdress"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
21
|
+
export interface HotelLocationsItem {
|
|
22
|
+
title: string;
|
|
23
|
+
icon: string;
|
|
7
24
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HotelAboutSlide } from '../../../public-api';
|
|
2
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
3
|
+
export interface HotelAboutI {
|
|
4
|
+
title?: string;
|
|
5
|
+
titleDark?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
additionalDescription?: string;
|
|
8
|
+
btnMore?: ButtonI;
|
|
9
|
+
btnLess?: ButtonI;
|
|
10
|
+
slides?: HotelAboutSlide[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HotelAppItem } from '../../../public-api';
|
|
2
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
3
|
+
import { Image } from '../atomic/image.interface';
|
|
4
|
+
export interface HotelAppI {
|
|
5
|
+
title?: string;
|
|
6
|
+
titleDark?: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
ndTitle?: string;
|
|
9
|
+
img?: Image;
|
|
10
|
+
buttons?: ButtonI[];
|
|
11
|
+
items?: HotelAppItem[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HotelEquipmentItem } from '../../components/core/hotel-equipment/hotel-equipment.component';
|
|
2
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
3
|
+
export interface HotelEquipmentI {
|
|
4
|
+
items?: HotelEquipmentItem[];
|
|
5
|
+
itemsBelow?: HotelEquipmentItem[];
|
|
6
|
+
title?: string;
|
|
7
|
+
btnMore?: ButtonI;
|
|
8
|
+
btnLess?: ButtonI;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { HotelLocationsItem } from '../../components/core/hotel-location/hotel-location.component';
|
|
2
|
+
import { ButtonI } from '../atomic/button.interface';
|
|
3
|
+
export interface HotelLocationI {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
subtitle?: string;
|
|
7
|
+
image?: string;
|
|
8
|
+
items?: HotelLocationsItem[];
|
|
9
|
+
btnMore?: ButtonI;
|
|
10
|
+
btnLess?: ButtonI;
|
|
11
|
+
linkAdress?: ButtonI;
|
|
12
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export * from './lib/interfaces/atomic/dropdown.interface';
|
|
|
69
69
|
export * from './lib/interfaces/atomic/input.interface';
|
|
70
70
|
export * from './lib/interfaces/atomic/badge.interface';
|
|
71
71
|
export * from './lib/interfaces/atomic/breadcrump.interface';
|
|
72
|
+
export * from './lib/interfaces/atomic/image.interface';
|
|
72
73
|
export * from './lib/interfaces/core/advantages.interface';
|
|
73
74
|
export * from './lib/interfaces/core/cards3col.interface';
|
|
74
75
|
export * from './lib/interfaces/core/cards2col.interface';
|
|
@@ -94,4 +95,8 @@ export * from './lib/interfaces/core/checkin-modal.interface';
|
|
|
94
95
|
export * from './lib/interfaces/core/languages-modal.interface';
|
|
95
96
|
export * from './lib/interfaces/core/menu-modal.interface';
|
|
96
97
|
export * from './lib/interfaces/core/travelers.interface';
|
|
98
|
+
export * from './lib/interfaces/core/hotel-about.interface';
|
|
99
|
+
export * from './lib/interfaces/core/hotel-app.interface';
|
|
100
|
+
export * from './lib/interfaces/core/hotel-equipment.interface';
|
|
101
|
+
export * from './lib/interfaces/core/hotel-location.interface';
|
|
97
102
|
export * from './services';
|