simpo-component-library 1.6.61 → 1.6.64

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ export declare class FeaturedProductModal {
9
9
  action: ActionModel;
10
10
  constructor(json?: {
11
11
  [key: string]: any;
12
- });
12
+ }, isRecentViewedProd?: boolean);
13
13
  }
14
14
  export interface FeaturedProductContentModal {
15
15
  inputText: InputTextModel[];
@@ -32,6 +32,7 @@ export declare class ProductDescComponent extends BaseSection {
32
32
  customClass?: string;
33
33
  isLoading: boolean;
34
34
  featureProductData: FeaturedProductModal | null;
35
+ recentViewedData: FeaturedProductModal | null;
35
36
  varients: Map<string, string[]>;
36
37
  selectedVarient: Map<string, string>;
37
38
  relatedProductData: Product[];
@@ -49,6 +50,8 @@ export declare class ProductDescComponent extends BaseSection {
49
50
  items: MenuItem[] | null;
50
51
  ngOnInit(): void;
51
52
  varientLoading: boolean;
53
+ recentViewItemList: Product[];
54
+ getRelatedProducts(): void;
52
55
  selectVarient(key: string, value: string): void;
53
56
  getItemVarient(): ItemVariant | null;
54
57
  shareProduct(): void;
@@ -40,6 +40,8 @@ export declare class ProductListComponent extends BaseSection {
40
40
  content?: ProductListContentModal;
41
41
  button?: ButtonModel;
42
42
  totalPages: number;
43
+ scrollingValue: number;
44
+ onWindowScroll(event: Event): void;
43
45
  constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
44
46
  items: MenuItem[] | null;
45
47
  private filterBottomSheetRef;
@@ -50,6 +50,7 @@ export declare class RestService implements OnDestroy {
50
50
  createPaymentToken(payload: any): Observable<Object>;
51
51
  refundPayment(orderId: string, payload: any): Observable<Object>;
52
52
  checkPaymentStatus(payload: any): Observable<Object>;
53
+ getRecentViewProduct(userId: string): Observable<any>;
53
54
  getLocationByPinCode(pincode: string): Observable<PincodeLocation>;
54
55
  getLocationByPinCodeInternational(pincode: string): Observable<Object>;
55
56
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.6.61",
3
+ "version": "1.6.64",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file