simpo-component-library 3.6.143 → 3.6.145

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.
@@ -61,7 +61,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
61
61
  validateNumber(event: KeyboardEvent): void;
62
62
  validateOTP(event: KeyboardEvent): void;
63
63
  checkStrength(): void;
64
- getStrengthColor(index: number): "yellow" | "tomato" | "#d3d3d3ba" | "orange" | "lightgreen";
64
+ getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
65
65
  emailDebounceTimer: any;
66
66
  onEmailChange(): void;
67
67
  emailCheck: boolean;
@@ -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(id: string): void;
109
109
  onBookAppointment(): void;
110
110
  isDetails: boolean;
@@ -130,6 +130,12 @@ export declare class ProductDescComponent extends BaseSection {
130
130
  opendailogbox(template: TemplateRef<HTMLDivElement>): void;
131
131
  closeDialog(): void;
132
132
  getRatings(noofratings: any): any;
133
+ reviewsData: any[];
134
+ ratingCounts: any;
135
+ pageNumber: number;
136
+ loadMoreReviews(): void;
137
+ getReviews(productId: string): void;
138
+ getPercentage(rating: number): string;
133
139
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductDescComponent, never>;
134
140
  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>;
135
141
  }
@@ -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;
@@ -32,6 +32,8 @@ export declare class HeaderSectionComponent implements OnInit {
32
32
  HeaderStyling: typeof Header_Type;
33
33
  parentHeight: number;
34
34
  constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService);
35
+ searchChangeTimeout: any;
36
+ waitBeforeSearch(): void;
35
37
  searchProducts(): void;
36
38
  goToFav(): void;
37
39
  get stylesLayout(): LayOutModel;
@@ -91,6 +91,7 @@ export declare class RestService implements OnDestroy {
91
91
  getCityByStateBypaginated(stateId: any, pageNo: any, size: any): Observable<Object>;
92
92
  getStoreBySlab(data: any): Observable<Object>;
93
93
  createEnrollmentScheme(enrollement: any): Observable<Object>;
94
+ getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
94
95
  getFieldsToDisplay(fieldsList: any[]): any;
95
96
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
96
97
  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.143",
3
+ "version": "3.6.145",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file