ctt-babylon 0.22.49 → 0.22.50

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.
@@ -0,0 +1,43 @@
1
+ import * as i0 from "@angular/core";
2
+ interface RoomService {
3
+ name: string;
4
+ type?: string;
5
+ }
6
+ interface RoomFeature {
7
+ icon: string;
8
+ text: string;
9
+ }
10
+ interface Room {
11
+ id: number;
12
+ name: string;
13
+ subtitle: string;
14
+ features: RoomFeature[];
15
+ description: string;
16
+ price: number;
17
+ images: string[];
18
+ services: RoomService[];
19
+ }
20
+ export declare class BabylonRoomsListV3Component {
21
+ isLeftAlign: import("@angular/core").InputSignal<boolean>;
22
+ showServicesForRoom: import("@angular/core").WritableSignal<number | null>;
23
+ activeGalleryRoom: import("@angular/core").WritableSignal<Room | null>;
24
+ activeGalleryImageIndex: import("@angular/core").WritableSignal<number>;
25
+ currentImageMap: import("@angular/core").WritableSignal<Record<number, number>>;
26
+ private iconPerson;
27
+ private iconSize;
28
+ private iconBed;
29
+ private iconBath;
30
+ rooms: import("@angular/core").WritableSignal<Room[]>;
31
+ /**
32
+ * Determina si la fila actual debe invertir su orden (Layout Text/Img).
33
+ * Tiene en cuenta la variable `@Input() left` recibida desde el exterior.
34
+ */
35
+ shouldReverse(index: number): boolean;
36
+ toggleServices(roomId: number): void;
37
+ getVisibleImageIndex(roomId: number): number;
38
+ prevImage(room: Room): void;
39
+ nextImage(room: Room): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<BabylonRoomsListV3Component, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<BabylonRoomsListV3Component, "lib-babylon-rooms-list-v3", never, { "isLeftAlign": { "alias": "left"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
42
+ }
43
+ export {};
@@ -0,0 +1 @@
1
+ export * from './babylon-rooms-list-v3.component';
@@ -128,6 +128,7 @@ export * from './babylon-rooms-cols';
128
128
  export * from './babylon-rooms-grid';
129
129
  export * from './babylon-rooms-list';
130
130
  export * from './babylon-rooms-list-v2';
131
+ export * from './babylon-rooms-list-v3';
131
132
  export * from './babylon-rooms-slider';
132
133
  export * from './babylon-services-slider';
133
134
  export * from './babylon-simple-img-info';
@@ -22,8 +22,8 @@ export declare class Utils {
22
22
  static uniqueSlug(label: string, used: Set<string>): string;
23
23
  static canonicalHotelTypeSlug(label: string): string;
24
24
  /**
25
- * Comprueba si el tipo es un hotel en varios idiomas
26
- */
25
+ * Comprueba si el tipo es un hotel en varios idiomas
26
+ */
27
27
  static isHotel(type?: string): boolean;
28
28
  static getFormattedUrl(link: any): string;
29
29
  static isApartment(type?: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ctt-babylon",
3
- "version": "0.22.49",
3
+ "version": "0.22.50",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",