tent-lib 1.14.26 → 1.14.28
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/tent-open-layers/tent-open-layers.component.mjs +165 -0
- package/esm2022/public-api.mjs +4 -3
- package/fesm2022/tent-lib.mjs +162 -1
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/tent-open-layers/tent-open-layers.component.d.ts +31 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface MapMarker {
|
|
4
|
+
position: {
|
|
5
|
+
lat: number;
|
|
6
|
+
lng: number;
|
|
7
|
+
};
|
|
8
|
+
label: string;
|
|
9
|
+
url: string;
|
|
10
|
+
hotelId: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class TentOpenLayersComponent implements AfterViewInit, OnChanges, OnDestroy {
|
|
13
|
+
private platformId;
|
|
14
|
+
mapElement: ElementRef;
|
|
15
|
+
markers?: MapMarker[];
|
|
16
|
+
zoom: number;
|
|
17
|
+
markerImg?: string;
|
|
18
|
+
private map;
|
|
19
|
+
private vectorSource;
|
|
20
|
+
private clusterSource;
|
|
21
|
+
private vectorLayer;
|
|
22
|
+
constructor(platformId: Object);
|
|
23
|
+
ngAfterViewInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
ngOnDestroy(): void;
|
|
26
|
+
private initMap;
|
|
27
|
+
private updateMarkers;
|
|
28
|
+
private getStyle;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TentOpenLayersComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TentOpenLayersComponent, "tent-open-layers", never, { "markers": { "alias": "markers"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "markerImg": { "alias": "markerImg"; "required": false; }; }, {}, never, never, true, never>;
|
|
31
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export * from './lib/components/core/tent-carrousel-img/index';
|
|
|
68
68
|
export * from './lib/components/core/tent-faq/index';
|
|
69
69
|
export * from './lib/components/core/tent-footer-logos/tent-footer-logos.component';
|
|
70
70
|
export * from './lib/components/core/tent-loyalty/tent-loyalty.component';
|
|
71
|
+
export * from './lib/components/core/tent-open-layers/tent-open-layers.component';
|
|
71
72
|
export * from './lib/components/core/tent-redirection/tent-redirection.component';
|
|
72
73
|
export * from './lib/components/core/tent-video/tent-video.component';
|
|
73
74
|
export * from './lib/components/core/thanks/thanks.component';
|
|
@@ -111,10 +112,10 @@ export * from './lib/interfaces/core/hotel-about.interface';
|
|
|
111
112
|
export * from './lib/interfaces/core/hotel-app.interface';
|
|
112
113
|
export * from './lib/interfaces/core/hotel-equipment.interface';
|
|
113
114
|
export * from './lib/interfaces/core/hotel-list-modal.interface';
|
|
114
|
-
export * from './lib/interfaces/core/hotels-checkin-modal.interface';
|
|
115
115
|
export * from './lib/interfaces/core/hotel-location.interface';
|
|
116
116
|
export * from './lib/interfaces/core/hotel-services.interface';
|
|
117
117
|
export * from './lib/interfaces/core/hotel-slider.interface';
|
|
118
|
+
export * from './lib/interfaces/core/hotels-checkin-modal.interface';
|
|
118
119
|
export * from './lib/interfaces/core/hotels-list.interface';
|
|
119
120
|
export * from './lib/interfaces/core/info-slider.interface';
|
|
120
121
|
export * from './lib/interfaces/core/languages-modal.interface';
|
|
@@ -137,8 +138,8 @@ export * from './lib/interfaces/core/offer-slider.interface';
|
|
|
137
138
|
export * from './lib/interfaces/core/offer.interface';
|
|
138
139
|
export * from './lib/interfaces/core/room-slider.interface';
|
|
139
140
|
export * from './lib/interfaces/core/services-deatils.interface';
|
|
140
|
-
export * from './lib/interfaces/core/smartvel.interface';
|
|
141
141
|
export * from './lib/interfaces/core/simple-card.interface';
|
|
142
|
+
export * from './lib/interfaces/core/smartvel.interface';
|
|
142
143
|
export * from './lib/interfaces/core/submenu.interface';
|
|
143
144
|
export * from './lib/interfaces/core/tent-footer-logos.interface';
|
|
144
145
|
export * from './lib/interfaces/core/tent-loyalty.interface';
|