simpo-component-library 3.6.184 → 3.6.190

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.
@@ -46,6 +46,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
46
46
  constructor(restService: RestService, router: Router, messageService: MessageService, storageService: StorageServiceService, matDialog: MatDialog, activatedRoute: ActivatedRoute, elementRef: ElementRef, dialogRef: MatDialogRef<AuthenticationRequiredComponent>, bottomsheetRef: MatBottomSheetRef<AuthenticationRequiredComponent>);
47
47
  signUpEnabled: any;
48
48
  proceedToCheckout: boolean;
49
+ proceedToEnrollment: boolean;
49
50
  ngOnInit(): void;
50
51
  ngAfterViewInit(): void;
51
52
  loginType: "PASSWORD" | "OTP";
@@ -1,19 +1,23 @@
1
1
  import BaseSection from '../../../sections/BaseSection';
2
2
  import { RestService } from '../../../services/rest.service';
3
- import { ActivatedRoute } from '@angular/router';
3
+ import { ActivatedRoute, Router } from '@angular/router';
4
4
  import { EnrollmentFormModel, EnrollmentFormStyleModel } from './enrollment-form.model';
5
+ import { StorageServiceService } from '../../../services/storage.service';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class EnrollmentFormComponent extends BaseSection {
7
8
  private restService;
8
9
  private activeRoute;
10
+ private readonly storageService;
11
+ private router;
9
12
  data?: EnrollmentFormModel;
10
13
  edit?: boolean;
11
14
  customClass?: string;
12
15
  delete?: boolean;
13
16
  index?: number;
14
17
  styles?: EnrollmentFormStyleModel;
15
- constructor(restService: RestService, activeRoute: ActivatedRoute);
18
+ constructor(restService: RestService, activeRoute: ActivatedRoute, storageService: StorageServiceService, router: Router);
16
19
  ngOnInit(): void;
20
+ checkUserLoggedIn(): void;
17
21
  page: 'ENROLLMENT' | 'PAYMENT';
18
22
  enrollementPayload: any;
19
23
  schemesData: any;
@@ -1,4 +1,4 @@
1
- import { ElementRef } from '@angular/core';
1
+ import { ElementRef, TemplateRef, Renderer2 } from '@angular/core';
2
2
  import { ItemVariant, Product } from '../../styles/product.modal';
3
3
  import BaseSection from '../../../sections/BaseSection';
4
4
  import { ProductListContentModal, ProductListModal, ProductListStylesModal } from './product-list.modal';
@@ -30,6 +30,7 @@ export declare class ProductListComponent extends BaseSection {
30
30
  private readonly matDialog;
31
31
  private readonly cartService;
32
32
  private readonly messageService;
33
+ private renderer;
33
34
  responseData?: Product[];
34
35
  data?: ProductListModal;
35
36
  index?: number;
@@ -74,7 +75,7 @@ export declare class ProductListComponent extends BaseSection {
74
75
  listScrollContainer: ElementRef<HTMLDivElement>;
75
76
  getScreenSize(): void;
76
77
  onWindowScroll(event: Event): void;
77
- constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService);
78
+ constructor(platformId: Object, _eventService: EventsService, restService: RestService, router: Router, activatedRoute: ActivatedRoute, storageService: StorageServiceService, matBottomSheet: MatBottomSheet, matDialog: MatDialog, cartService: CartService, messageService: MessageService, renderer: Renderer2);
78
79
  get stylesLayout(): LayOutModel;
79
80
  isOpen: boolean;
80
81
  toggleDropdown(): void;
@@ -118,6 +119,10 @@ export declare class ProductListComponent extends BaseSection {
118
119
  getProductWidth(): string;
119
120
  proceedToProductDesc(productId: any): void;
120
121
  clearFilter(): void;
122
+ filterScroll: ElementRef;
123
+ isSyncing: boolean;
124
+ ngAfterViewInit(): void;
125
+ handleSyncScroll(): void;
121
126
  toggleItemToFav(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'REMOVE'): void;
122
127
  addItemToCart(event: PointerEvent | MouseEvent, product: Product, type: 'ADD' | 'SUBSTRACT'): void;
123
128
  searchProduct(): void;
@@ -146,6 +151,22 @@ export declare class ProductListComponent extends BaseSection {
146
151
  get displayedCollections(): BaseModel[];
147
152
  toggleCollections(): void;
148
153
  addToTrialCart(product: Product): Promise<void>;
154
+ productName: string;
155
+ opendailogbox(template: TemplateRef<HTMLDivElement>, productName: any): void;
156
+ matCloseDialog(): void;
157
+ otherLanguage: string;
158
+ videoCallPayload: any;
159
+ validationErrors: any;
160
+ isSubmitting: boolean;
161
+ scheduled: boolean;
162
+ scheduleVideoCall(): void;
163
+ resetValidationErrors(): void;
164
+ resetForm(): void;
165
+ onInputChange(field: any): void;
166
+ closeModal(): void;
167
+ languages: string[];
168
+ selectedLang: string;
169
+ getTextColor(color: any): "#000000" | "#ffffff";
149
170
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
150
171
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "simpo-product-list", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "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>;
151
172
  }
@@ -25,6 +25,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
25
25
  get stylesLayout(): LayOutModel;
26
26
  getButtonId(index: number): string;
27
27
  getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
28
+ getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
28
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
29
30
  static ɵcmp: i0.ɵɵComponentDeclaration<ReturnsCalculatorComponent, "simpo-returns-calculator", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
30
31
  }
@@ -15,6 +15,7 @@ export declare class StorePageComponent extends BaseSection {
15
15
  constructor(restService: RestService, activeRoute: ActivatedRoute);
16
16
  ngOnInit(): void;
17
17
  storeData: any;
18
+ loading: boolean;
18
19
  getStoreDetails(storeId: string): void;
19
20
  getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
20
21
  getTime(storeHours: any): string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "3.6.184",
3
+ "version": "3.6.190",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
Binary file