tent-lib 0.0.149 → 0.0.151

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.
@@ -14,6 +14,7 @@ export declare class OfferComponent {
14
14
  buttons?: ButtonI[];
15
15
  get getImage(): SafeStyle;
16
16
  constructor(sanitizer: DomSanitizer);
17
+ offerClicked(event: Event): void;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<OfferComponent, never>;
18
19
  static ɵcmp: i0.ɵɵComponentDeclaration<OfferComponent, "tent-offer", never, { "image": { "alias": "image"; "required": false; }; "title": { "alias": "title"; "required": false; }; "price": { "alias": "price"; "required": false; }; "priceLabel": { "alias": "priceLabel"; "required": false; }; "currency": { "alias": "currency"; "required": false; }; "badge": { "alias": "badge"; "required": false; }; "badgePrice": { "alias": "badgePrice"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; }, {}, never, never, true, never>;
19
20
  }
@@ -2,16 +2,22 @@ import { OnInit } from '@angular/core';
2
2
  import { OwlOptions } from 'ngx-owl-carousel-o';
3
3
  import { OfferI } from '../../../interfaces/core/offer.interface';
4
4
  import { ButtonI } from '../../../interfaces/atomic/button.interface';
5
+ import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class OfferSliderComponent implements OnInit {
8
+ private readonly sanitizer;
7
9
  offers: OfferI[];
8
10
  title: string;
9
11
  titleDark: string;
10
12
  iconControlLeft: string;
11
13
  iconControlRight: string;
12
14
  link?: ButtonI;
15
+ defaultImage?: string;
16
+ defaultLabel?: string;
13
17
  sliderOptions: OwlOptions;
18
+ get getImage(): SafeStyle;
19
+ constructor(sanitizer: DomSanitizer);
14
20
  ngOnInit(): void;
15
21
  static ɵfac: i0.ɵɵFactoryDeclaration<OfferSliderComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<OfferSliderComponent, "tent-offer-slider", never, { "offers": { "alias": "offers"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "link": { "alias": "link"; "required": false; }; }, {}, never, never, true, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<OfferSliderComponent, "tent-offer-slider", never, { "offers": { "alias": "offers"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleDark": { "alias": "titleDark"; "required": false; }; "iconControlLeft": { "alias": "iconControlLeft"; "required": false; }; "iconControlRight": { "alias": "iconControlRight"; "required": false; }; "link": { "alias": "link"; "required": false; }; "defaultImage": { "alias": "defaultImage"; "required": false; }; "defaultLabel": { "alias": "defaultLabel"; "required": false; }; }, {}, never, never, true, never>;
17
23
  }
@@ -7,4 +7,6 @@ export interface OfferSliderI {
7
7
  link?: ButtonI;
8
8
  iconControlLeft: string;
9
9
  iconControlRight: string;
10
+ defaultImage: string;
11
+ defaultLabel: string;
10
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tent-lib",
3
- "version": "0.0.149",
3
+ "version": "0.0.151",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0",