simpo-component-library 3.6.179 → 3.6.183
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.
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +9 -3
- package/esm2022/lib/ecommerce/sections/enrollment-form/enrollment-form.component.mjs +19 -9
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +6 -4
- package/esm2022/lib/ecommerce/sections/store-page/store-page.component.mjs +10 -4
- package/fesm2022/simpo-component-library.mjs +162 -141
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -0
- package/lib/ecommerce/sections/enrollment-form/enrollment-form.component.d.ts +6 -2
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +1 -0
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.183.tgz +0 -0
- package/simpo-component-library-3.6.179.tgz +0 -0
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -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;
|
@@ -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
Binary file
|
Binary file
|