simpo-component-library 1.5.11 → 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;
@@ -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.11",
3
+ "version": "1.5.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file