simpo-component-library 1.2.12 → 1.2.13

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.
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
11
11
  constructor(el: ElementRef, eventService: EventsService);
12
12
  ngOnDestroy(): void;
13
13
  ngOnChanges(change: SimpleChanges): void;
14
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
14
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
16
16
  static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
17
17
  }
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
15
15
  applyButtonStyleChanges(): void;
16
16
  applyButtonType(style: ButtonStyleModel, color: string): void;
17
17
  applyButtonShape(style: ButtonStyleModel): void;
18
- getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
18
+ getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
19
19
  buttonStyleSubscription?: Subscription;
20
20
  buttonStyleChangeCheck(): void;
21
21
  changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
12
12
  ngOnDestroy(): void;
13
13
  applyColor(): void;
14
14
  bgColorChangeCheck(): void;
15
- getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
15
+ getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
17
17
  static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
18
18
  }
@@ -1,4 +1,4 @@
1
- import { OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnDestroy } from '@angular/core';
2
2
  import { FeaturedProductContentModal, FeaturedProductModal, FeaturedProductStylesModel } from './featured-products.modal';
3
3
  import { Product } from '../../styles/product.modal';
4
4
  import { EventsService } from '.././../../services/events.service';
@@ -7,7 +7,7 @@ import { ButtonModel } from '../../../styles/style.model';
7
7
  import { RestService } from '../../../services/rest.service';
8
8
  import { Router } from '@angular/router';
9
9
  import * as i0 from "@angular/core";
10
- export declare class FeaturedProductsComponent extends BaseSection implements OnChanges {
10
+ export declare class FeaturedProductsComponent extends BaseSection implements OnDestroy {
11
11
  private platformId;
12
12
  private readonly _eventService;
13
13
  private readonly restService;
@@ -20,13 +20,15 @@ export declare class FeaturedProductsComponent extends BaseSection implements On
20
20
  content?: FeaturedProductContentModal;
21
21
  styles?: FeaturedProductStylesModel;
22
22
  button?: ButtonModel;
23
+ private _eventSubscriber;
23
24
  constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router);
24
25
  screenWidth: number;
25
26
  getScreenSize(): void;
26
- ngOnChanges(changes: SimpleChanges): void;
27
27
  ngOnInit(): void;
28
+ ngOnDestroy(): void;
28
29
  getProductWidth(): string;
29
30
  getSliceParameters(): number[];
31
+ getFeatureProduct(): void;
30
32
  proceedToProductDesc(productId: any): void;
31
33
  static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedProductsComponent, never>;
32
34
  static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedProductsComponent, "simpo-featured-products", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
@@ -23,8 +23,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
23
23
  get stylesLayout(): LayOutModel;
24
24
  get getBlurValue(): OverlayValue | undefined;
25
25
  get getBackgroundColor(): BackgroundModel;
26
- get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
27
- opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
26
+ get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
27
+ opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
28
28
  editSection(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
15
15
  style?: PricingSectionStylesModel;
16
16
  constructor(_eventService: EventsService);
17
17
  ngOnInit(): void;
18
- getTextColor(): "#ffffff" | "#000000";
18
+ getTextColor(): "#000000" | "#ffffff";
19
19
  get headingSpace(): SPACING;
20
20
  editSection(): void;
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
@@ -36,6 +36,7 @@ export declare class EventsService {
36
36
  redirectToPage: EventEmitter<unknown>;
37
37
  addToCart: EventEmitter<unknown>;
38
38
  placeOrder: EventEmitter<unknown>;
39
+ featureCollectionList: EventEmitter<unknown>;
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<EventsService, never>;
40
41
  static ɵprov: i0.ɵɵInjectableDeclaration<EventsService>;
41
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file