tent-lib 1.14.4 → 1.14.7
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/footer-static/footer-static.component.mjs +14 -6
- package/esm2022/lib/components/core/hotel-about/hotel-about.component.mjs +16 -8
- package/esm2022/lib/components/core/hotel-equipment/hotel-equipment.component.mjs +14 -6
- package/esm2022/lib/components/core/module-google-maps/module-google-maps.component.mjs +16 -6
- package/esm2022/lib/components/core/motor/motor.component.mjs +12 -6
- package/esm2022/lib/components/core/room-slider/room-slider.component.mjs +14 -6
- package/esm2022/lib/components/core/smartvel/smartvel.component.mjs +12 -6
- package/esm2022/lib/components/core/top-module/top-module.component.mjs +12 -6
- package/esm2022/lib/directives/scroll.directive.mjs +12 -5
- package/esm2022/services/screen-sizer/screen-sizer.service.mjs +14 -5
- package/fesm2022/tent-lib.mjs +105 -31
- package/fesm2022/tent-lib.mjs.map +1 -1
- package/lib/components/core/footer-static/footer-static.component.d.ts +2 -0
- package/lib/components/core/hotel-about/hotel-about.component.d.ts +4 -3
- package/lib/components/core/hotel-equipment/hotel-equipment.component.d.ts +2 -0
- package/lib/components/core/module-google-maps/module-google-maps.component.d.ts +2 -1
- package/lib/components/core/motor/motor.component.d.ts +2 -1
- package/lib/components/core/room-slider/room-slider.component.d.ts +2 -1
- package/lib/components/core/smartvel/smartvel.component.d.ts +2 -1
- package/lib/components/core/top-module/top-module.component.d.ts +2 -1
- package/lib/directives/scroll.directive.d.ts +4 -2
- package/package.json +3 -3
- package/services/screen-sizer/screen-sizer.service.d.ts +2 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class FooterStaticComponent {
|
|
4
|
+
private platformId;
|
|
4
5
|
footerLinks?: ButtonI[];
|
|
5
6
|
title?: string;
|
|
6
7
|
scrollBtn?: ButtonI;
|
|
8
|
+
constructor(platformId: Object);
|
|
7
9
|
isInternalLink(link: ButtonI): boolean;
|
|
8
10
|
linkClicked(event: Event, link: ButtonI): void;
|
|
9
11
|
scrollClicked(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, OnChanges } from '@angular/core';
|
|
2
|
-
import { OwlOptions } from 'ngx-owl-carousel-o';
|
|
3
2
|
import { DomSanitizer, SafeResourceUrl, SafeStyle } from '@angular/platform-browser';
|
|
3
|
+
import { OwlOptions } from 'ngx-owl-carousel-o';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
4
5
|
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
5
6
|
import { ImageI } from '../../../interfaces/atomic/image.interface';
|
|
6
|
-
import { Subject } from 'rxjs';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
declare global {
|
|
9
9
|
interface Window {
|
|
@@ -14,6 +14,7 @@ declare global {
|
|
|
14
14
|
export declare class HotelAboutComponent implements OnChanges, AfterViewInit {
|
|
15
15
|
private readonly sanitizer;
|
|
16
16
|
private readonly cdr;
|
|
17
|
+
private platformId;
|
|
17
18
|
title?: string;
|
|
18
19
|
titleDark?: string;
|
|
19
20
|
description?: string;
|
|
@@ -32,7 +33,7 @@ export declare class HotelAboutComponent implements OnChanges, AfterViewInit {
|
|
|
32
33
|
carouselVisible: boolean;
|
|
33
34
|
isVideoVisible: boolean;
|
|
34
35
|
refresh$: Subject<void>;
|
|
35
|
-
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
36
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef, platformId: Object);
|
|
36
37
|
ngAfterViewInit(): void;
|
|
37
38
|
ngOnChanges(): void;
|
|
38
39
|
toggleCollapse1(): void;
|
|
@@ -2,6 +2,7 @@ import { AfterViewInit, OnInit } from '@angular/core';
|
|
|
2
2
|
import { ButtonI } from '../../../interfaces/atomic/button.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class HotelEquipmentComponent implements OnInit, AfterViewInit {
|
|
5
|
+
private platformId;
|
|
5
6
|
items?: HotelEquipmentItem[];
|
|
6
7
|
itemsBelow?: HotelEquipmentItem[];
|
|
7
8
|
title?: string;
|
|
@@ -9,6 +10,7 @@ export declare class HotelEquipmentComponent implements OnInit, AfterViewInit {
|
|
|
9
10
|
btnLess?: ButtonI;
|
|
10
11
|
collapsed1: boolean;
|
|
11
12
|
itemsToShow: number;
|
|
13
|
+
constructor(platformId: Object);
|
|
12
14
|
ngOnInit(): void;
|
|
13
15
|
ngAfterViewInit(): void;
|
|
14
16
|
toggleCollapse1(): void;
|
|
@@ -4,6 +4,7 @@ import { GoogleMap } from '@angular/google-maps';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ModuleGoogleMapsComponent implements OnInit, AfterViewInit, OnChanges {
|
|
6
6
|
private cdr;
|
|
7
|
+
private platformId;
|
|
7
8
|
googleMaps: GoogleMap;
|
|
8
9
|
googleMapsElement: ElementRef;
|
|
9
10
|
markers?: GoogleMarker[];
|
|
@@ -17,7 +18,7 @@ export declare class ModuleGoogleMapsComponent implements OnInit, AfterViewInit,
|
|
|
17
18
|
map: google.maps.Map;
|
|
18
19
|
options: google.maps.MapOptions;
|
|
19
20
|
get centerMark(): GoogleMarker['position'];
|
|
20
|
-
constructor(cdr: ChangeDetectorRef);
|
|
21
|
+
constructor(cdr: ChangeDetectorRef, platformId: Object);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
23
24
|
ngAfterViewInit(): void;
|
|
@@ -9,6 +9,7 @@ import { GuestsValue } from '../guests-popup/guests-popup.component';
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MotorComponent implements OnDestroy, AfterViewInit, OnInit {
|
|
11
11
|
private readonly formBuilder;
|
|
12
|
+
private platformId;
|
|
12
13
|
wrapper: ElementRef;
|
|
13
14
|
modal: boolean;
|
|
14
15
|
square: boolean;
|
|
@@ -33,7 +34,7 @@ export declare class MotorComponent implements OnDestroy, AfterViewInit, OnInit
|
|
|
33
34
|
dialogReady: boolean;
|
|
34
35
|
guestsValue?: GuestsValue;
|
|
35
36
|
isComponent?: boolean;
|
|
36
|
-
constructor(formBuilder: FormBuilder);
|
|
37
|
+
constructor(formBuilder: FormBuilder, platformId: Object);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
ngAfterViewInit(): void;
|
|
39
40
|
private initMiraiMotor;
|
|
@@ -7,6 +7,7 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class RoomSliderComponent implements OnInit, OnChanges, AfterViewInit {
|
|
8
8
|
private readonly dialog;
|
|
9
9
|
private readonly sanitizer;
|
|
10
|
+
private platformId;
|
|
10
11
|
items: RoomsSliderRoom[];
|
|
11
12
|
linkDescriptionMore?: ButtonI;
|
|
12
13
|
linkDescriptionLess?: ButtonI;
|
|
@@ -16,7 +17,7 @@ export declare class RoomSliderComponent implements OnInit, OnChanges, AfterView
|
|
|
16
17
|
collapsed: boolean[];
|
|
17
18
|
viewmore: boolean[];
|
|
18
19
|
itemsToShow: number;
|
|
19
|
-
constructor(dialog: MatDialog, sanitizer: DomSanitizer);
|
|
20
|
+
constructor(dialog: MatDialog, sanitizer: DomSanitizer, platformId: Object);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
23
|
ngAfterViewInit(): void;
|
|
@@ -3,11 +3,12 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SmartvelComponent implements AfterViewInit {
|
|
5
5
|
private route;
|
|
6
|
+
private platformId;
|
|
6
7
|
apiKey?: string;
|
|
7
8
|
destinyCode?: string;
|
|
8
9
|
updatedApiKey: Boolean;
|
|
9
10
|
smartvelScript: HTMLScriptElement;
|
|
10
|
-
constructor(route: ActivatedRoute);
|
|
11
|
+
constructor(route: ActivatedRoute, platformId: Object);
|
|
11
12
|
ngAfterViewInit(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartvelComponent, never>;
|
|
13
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartvelComponent, "tent-smartvel", never, { "apiKey": { "alias": "apiKey"; "required": false; }; "destinyCode": { "alias": "destinyCode"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -8,6 +8,7 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class TopModuleComponent implements AfterViewInit, OnInit {
|
|
9
9
|
private readonly renderer;
|
|
10
10
|
private readonly sanitizer;
|
|
11
|
+
private platformId;
|
|
11
12
|
carousel: CarouselComponent;
|
|
12
13
|
nav: ElementRef;
|
|
13
14
|
module: ElementRef;
|
|
@@ -25,7 +26,7 @@ export declare class TopModuleComponent implements AfterViewInit, OnInit {
|
|
|
25
26
|
showScrollLabel: boolean;
|
|
26
27
|
sliderOptions: OwlOptions;
|
|
27
28
|
get videoUrl(): string;
|
|
28
|
-
constructor(renderer: Renderer2, sanitizer: DomSanitizer);
|
|
29
|
+
constructor(renderer: Renderer2, sanitizer: DomSanitizer, platformId: Object);
|
|
29
30
|
ngOnInit(): void;
|
|
30
31
|
getImage(image: string): SafeStyle;
|
|
31
32
|
ngAfterViewInit(): void;
|
|
@@ -2,11 +2,13 @@ import { MatDialogRef } from '@angular/material/dialog';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class ScrollToDirective {
|
|
4
4
|
private dialogRef;
|
|
5
|
+
private platformId;
|
|
5
6
|
targetSelector: string;
|
|
6
7
|
scrollOffset: number;
|
|
7
|
-
constructor(dialogRef: MatDialogRef<any
|
|
8
|
+
constructor(dialogRef: MatDialogRef<any>, // Opcional por si no hay modal
|
|
9
|
+
platformId: Object);
|
|
8
10
|
onClick(event: Event): void;
|
|
9
11
|
private executeScroll;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToDirective, [{ optional: true; }]>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollToDirective, [{ optional: true; }, null]>;
|
|
11
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ScrollToDirective, "[tentScrollTo]", never, { "targetSelector": { "alias": "tentScrollTo"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
14
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tent-lib",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.8",
|
|
6
6
|
"@angular/core": "^17.3.8",
|
|
7
7
|
"@angular/material": "^17.0.2",
|
|
8
|
-
"@angular/google-maps": "
|
|
9
|
-
"@googlemaps/markerclusterer": "
|
|
8
|
+
"@angular/google-maps": "17.3.9",
|
|
9
|
+
"@googlemaps/markerclusterer": "2.5.3",
|
|
10
10
|
"ngx-owl-carousel-o": "^17.0.0",
|
|
11
11
|
"@angular/youtube-player": "^17.1.0"
|
|
12
12
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class ScreenSizerService {
|
|
3
|
+
private platformId;
|
|
3
4
|
readonly mobile: import("@angular/core").WritableSignal<boolean>;
|
|
4
5
|
readonly smallTablet: import("@angular/core").WritableSignal<boolean>;
|
|
5
6
|
readonly mediumTablet: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -18,7 +19,7 @@ export declare class ScreenSizerService {
|
|
|
18
19
|
readonly minFullBigDesktop: import("@angular/core").WritableSignal<boolean>;
|
|
19
20
|
get width(): number;
|
|
20
21
|
private readonly screenSizerParams;
|
|
21
|
-
constructor();
|
|
22
|
+
constructor(platformId: Object);
|
|
22
23
|
isMobileInstant(): boolean;
|
|
23
24
|
isSmallTabletInstant(): boolean;
|
|
24
25
|
isMediumTabletInstant(): boolean;
|