simpo-component-library 3.6.123 → 3.6.125

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.
@@ -13,7 +13,7 @@ export declare class InputFieldsComponent implements OnChanges {
13
13
  constructor(elementRef: ElementRef);
14
14
  ngOnChanges(changes: SimpleChanges): void;
15
15
  handleMoneyInput(event: any): void;
16
- get getTextColor(): "#FFF" | "#000";
16
+ get getTextColor(): "#000" | "#FFF";
17
17
  interpolateColor(color1: string, color2: string, factor: number): string;
18
18
  padZero(str: string, length: number): string;
19
19
  generateColorBasedOnNumber(number: number): string;
@@ -58,7 +58,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
58
58
  validateNumber(event: KeyboardEvent): void;
59
59
  validateOTP(event: KeyboardEvent): void;
60
60
  checkStrength(): void;
61
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
61
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
62
62
  get isEmailValid(): boolean;
63
63
  get isPasswordValid(): boolean;
64
64
  get isMobile(): boolean;
@@ -2,10 +2,14 @@ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { EventsService } from '../../../services/events.service';
3
3
  import { ProfileStylesModal } from '../user-profile/user-profile.modal';
4
4
  import { StorageServiceService } from '../../../services/storage.service';
5
+ import { RestService } from '../../../services/rest.service';
6
+ import { MessageService } from 'primeng/api';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare class OrderDetailsComponent implements OnInit {
7
9
  private readonly _eventService;
8
10
  private storageService;
11
+ private restService;
12
+ private messageService;
9
13
  responseData?: any;
10
14
  data?: any;
11
15
  index?: number;
@@ -16,7 +20,7 @@ export declare class OrderDetailsComponent implements OnInit {
16
20
  goBackEmitter: EventEmitter<void>;
17
21
  isLoading: boolean;
18
22
  styles?: ProfileStylesModal;
19
- constructor(_eventService: EventsService, storageService: StorageServiceService);
23
+ constructor(_eventService: EventsService, storageService: StorageServiceService, restService: RestService, messageService: MessageService);
20
24
  orderTimiline: any;
21
25
  ngOnInit(): void;
22
26
  private getIcon;
@@ -104,7 +104,7 @@ export declare class ProductDescComponent extends BaseSection {
104
104
  getTextColor(color: any): "#000000" | "#ffffff";
105
105
  languages: string[];
106
106
  selectedLang: string;
107
- getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
107
+ getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
108
108
  onFindInStore(): void;
109
109
  onBookAppointment(): void;
110
110
  isDetails: boolean;
@@ -129,6 +129,7 @@ export declare class ProductDescComponent extends BaseSection {
129
129
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
130
130
  opendailogbox(template: TemplateRef<HTMLDivElement>): void;
131
131
  closeDialog(): void;
132
+ getRatings(noofratings: any): any;
132
133
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
133
134
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductDescComponent, "simpo-product-desc", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
134
135
  }
@@ -25,6 +25,7 @@ export declare class SmallProductListingComponent implements OnInit {
25
25
  getProductImages(product: any): any;
26
26
  imageIndex: number;
27
27
  changeImage(product: any, action: 'PREV' | 'NEXT'): Promise<void>;
28
+ getRatings(noofratings: any): any;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<SmallProductListingComponent, never>;
29
30
  static ɵcmp: i0.ɵɵComponentDeclaration<SmallProductListingComponent, "simpo-small-product-listing", never, { "product": { "alias": "product"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isScrollable": { "alias": "isScrollable"; "required": false; }; "isCategoryProductList": { "alias": "isCategoryProductList"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
30
31
  }
@@ -22,6 +22,8 @@ export declare class Product {
22
22
  makingChargePercentage: number;
23
23
  jewelleryPrice: number;
24
24
  baseWeight: number;
25
+ totalReviewCount: number;
26
+ averageRating: number;
25
27
  categoryId: string;
26
28
  descriptor: Descriptor;
27
29
  rating: number;
@@ -28,7 +28,7 @@ export declare class LinkEditorComponent {
28
28
  buttonStyles: any;
29
29
  changeButtonStyle(): void;
30
30
  backgroundType: string[];
31
- setBorderRadius(): "0px" | "99px" | "7px";
31
+ setBorderRadius(): "0px" | "7px" | "99px";
32
32
  setBorder(): string;
33
33
  setColor(): any;
34
34
  setBackground(): any;
@@ -97,6 +97,7 @@ export declare class RestService implements OnDestroy {
97
97
  getAllStores(payload: any): Observable<Object>;
98
98
  getStoreById(storeId: string): Observable<Object>;
99
99
  postNewsLetter(email: any): Observable<Object>;
100
+ addReviewToProduct(payload: any): Observable<Object>;
100
101
  getFieldsToDisplay(fieldsList: any[]): any;
101
102
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
102
103
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.123",
3
+ "version": "3.6.125",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
@@ -236,4 +236,7 @@
236
236
  .cdk-virtual-scroll-content-wrapper {
237
237
  position: unset !important;
238
238
  }
239
+ }
240
+ .p-icon{
241
+ color: gold;
239
242
  }
Binary file