tent-lib 0.0.246 → 0.0.248

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.
@@ -1,9 +1,21 @@
1
- import { MatDialog } from '@angular/material/dialog';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
2
3
  import * as i0 from "@angular/core";
3
- export declare class GalleryPhotosComponent {
4
- private readonly dialog;
5
- constructor(dialog: MatDialog);
4
+ export declare class GalleryPhotosComponent implements OnInit {
5
+ private readonly sanitizer;
6
+ items: GalleryPhotosItem[];
7
+ zoomClick: EventEmitter<void>;
8
+ itemsOrdered: GalleryPhotosItem[][];
9
+ constructor(sanitizer: DomSanitizer);
6
10
  openModal(): void;
11
+ ngOnInit(): void;
12
+ splitArray(): void;
13
+ getImageUrl(image: string): SafeStyle;
7
14
  static ɵfac: i0.ɵɵFactoryDeclaration<GalleryPhotosComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPhotosComponent, "tent-gallery-photos", never, {}, {}, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<GalleryPhotosComponent, "tent-gallery-photos", never, { "items": { "alias": "items"; "required": true; }; }, { "zoomClick": "zoomClick"; }, never, never, true, never>;
16
+ }
17
+ export interface GalleryPhotosItem {
18
+ image: string;
19
+ title: string;
20
+ category: string;
9
21
  }
@@ -33,4 +33,5 @@ export interface GalleryFilterOption {
33
33
  label: string;
34
34
  rooms?: boolean;
35
35
  allCategories?: boolean;
36
+ videoSrc?: string;
36
37
  }
@@ -0,0 +1,4 @@
1
+ import { GalleryPhotosItem } from '../../components/core/gallery-photos/gallery-photos.component';
2
+ export interface GalleryPhotosI {
3
+ items: GalleryPhotosItem[];
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.246",
3
+ "version": "0.0.248",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",
package/public-api.d.ts CHANGED
@@ -102,4 +102,5 @@ export * from './lib/interfaces/core/hotel-location.interface';
102
102
  export * from './lib/interfaces/core/submenu.interface';
103
103
  export * from './lib/interfaces/core/generic-head.interface';
104
104
  export * from './lib/interfaces/core/room-slider.interface';
105
+ export * from './lib/interfaces/core/gallery-photos.interface';
105
106
  export * from './services';