simpo-component-library 1.4.110 → 1.4.112

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,3 +1,4 @@
1
+ import { OnInit } from '@angular/core';
1
2
  import { CartSectionModal, CartSectionStylesModel } from './cart.modal';
2
3
  import BaseSection from '../../../sections/BaseSection';
3
4
  import { EventsService } from '.././../../services/events.service';
@@ -6,16 +7,16 @@ import { Router } from '@angular/router';
6
7
  import { MatDialog } from '@angular/material/dialog';
7
8
  import { RestService } from "../../../services/rest.service";
8
9
  import { StorageServiceService } from '../../../services/storage.service';
9
- import { CookieService } from 'ngx-cookie-service';
10
+ import { MessageService } from 'primeng/api';
10
11
  import * as i0 from "@angular/core";
11
- export declare class CartComponent extends BaseSection {
12
+ export declare class CartComponent extends BaseSection implements OnInit {
12
13
  private readonly _eventService;
13
14
  private readonly cartService;
14
15
  private readonly router;
15
16
  private readonly restService;
16
17
  private readonly matDialog;
17
18
  private readonly storageService;
18
- private readonly cookieService;
19
+ private readonly messageService;
19
20
  data?: CartSectionModal;
20
21
  responseData?: any;
21
22
  index?: number;
@@ -25,10 +26,9 @@ export declare class CartComponent extends BaseSection {
25
26
  selectedAddress: any;
26
27
  styles?: CartSectionStylesModel;
27
28
  currentTab: 'BAG' | 'ADDRESS' | 'PAYMENT';
28
- constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, cookieService: CookieService);
29
+ constructor(_eventService: EventsService, cartService: CartService, router: Router, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, messageService: MessageService);
29
30
  private loadingItems;
30
31
  private userDetails;
31
- private userCart;
32
32
  private USER_CART_ITEMS;
33
33
  cartInfo: any;
34
34
  ngOnInit(): void;
@@ -8,6 +8,7 @@ import { RestService } from '../../../services/rest.service';
8
8
  import { CartService } from '../../../services/cart.service';
9
9
  import { FeaturedProductModal } from '../featured-products/featured-products.modal';
10
10
  import { StorageServiceService } from '../../../services/storage.service';
11
+ import { MessageService } from 'primeng/api';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class ProductDescComponent extends BaseSection {
13
14
  private platformId;
@@ -17,6 +18,7 @@ export declare class ProductDescComponent extends BaseSection {
17
18
  private readonly restService;
18
19
  private readonly cartService;
19
20
  private readonly storageService;
21
+ private readonly messageService;
20
22
  data?: ProductDescModal;
21
23
  responseData: Product;
22
24
  index?: number;
@@ -24,7 +26,7 @@ export declare class ProductDescComponent extends BaseSection {
24
26
  delete?: boolean;
25
27
  isLoading: boolean;
26
28
  relatedProductData: Product[];
27
- constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService);
29
+ constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService);
28
30
  buttonId?: string;
29
31
  button?: ButtonModel;
30
32
  styles?: ProductDescStylesModal;
@@ -16,7 +16,7 @@ export interface HeaderContentModel {
16
16
  logo: FooterLogoModel;
17
17
  socialLinks: FooterSocialLinkModel;
18
18
  navbarButtons: NavbarButton[];
19
- ecomLinks: {
19
+ ecomlinks: {
20
20
  [key: string]: string[];
21
21
  };
22
22
  }
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.4.110",
3
+ "version": "1.4.112",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file