simpo-component-library 1.4.110 → 1.4.111

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,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;
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.111",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file