simpo-component-library 1.5.10 → 1.5.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,8 @@ export declare class ProductDescComponent extends BaseSection {
35
35
  selectedVarient: Map<string, string>;
36
36
  relatedProductData: Product[];
37
37
  productReview: number;
38
+ totalReview: number;
39
+ showReview: boolean;
38
40
  constructor(platformId: Object, _eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, restService: RestService, cartService: CartService, storageService: StorageServiceService, messageService: MessageService, metaTagService: Meta, titleService: Title, bottomSheet: MatBottomSheet);
39
41
  buttonId?: string;
40
42
  button?: ButtonModel;
@@ -9,7 +9,7 @@ import { StorageServiceService } from '../../../services/storage.service';
9
9
  import { MatBottomSheet } from '@angular/material/bottom-sheet';
10
10
  import { MatDialog } from '@angular/material/dialog';
11
11
  import { CartService } from '../../../services/cart.service';
12
- import { MessageService } from 'primeng/api';
12
+ import { MenuItem, MessageService } from 'primeng/api';
13
13
  import * as i0 from "@angular/core";
14
14
  interface BaseModel {
15
15
  option: string;
@@ -38,6 +38,7 @@ export declare class ProductListComponent extends BaseSection {
38
38
  button?: ButtonModel;
39
39
  totalPages: number;
40
40
  constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
41
+ items: MenuItem[] | null;
41
42
  private filterBottomSheetRef;
42
43
  private sortingDialogRef;
43
44
  pricingMin: number;
@@ -5,4 +5,5 @@ export interface Review {
5
5
  rating: number;
6
6
  title: string;
7
7
  review: string;
8
+ createdTimeStamp?: Date;
8
9
  }
@@ -28,6 +28,7 @@ export declare class RestService implements OnDestroy {
28
28
  data: any;
29
29
  }>;
30
30
  addReview(payload: Review): Observable<Object>;
31
+ getAllReviews(productId: string): Observable<Object>;
31
32
  generateOTP(mobile: string, countryCode: string): Observable<Object>;
32
33
  verifyOTP(mobile: string, otp: string): Observable<Object>;
33
34
  resendOTP(mobile: string, countryCode: string): Observable<Object>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "1.5.10",
3
+ "version": "1.5.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file
Binary file
Binary file