simpo-component-library 3.6.226 → 3.6.228
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 +5 -1
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +117 -19
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +4 -3
- package/esm2022/lib/services/rest.service.mjs +21 -1
- package/esm2022/lib/services/storage.service.mjs +4 -1
- package/fesm2022/simpo-component-library.mjs +143 -19
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +20 -3
- package/lib/services/rest.service.d.ts +4 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.228.tgz +0 -0
- package/simpo-component-library-3.6.226.tgz +0 -0
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -63,7 +63,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
63
63
|
validateNumber(event: KeyboardEvent): void;
|
64
64
|
validateOTP(event: KeyboardEvent): void;
|
65
65
|
checkStrength(): void;
|
66
|
-
getStrengthColor(index: number): "
|
66
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
67
67
|
emailDebounceTimer: any;
|
68
68
|
onEmailChange(): void;
|
69
69
|
emailCheck: boolean;
|
@@ -1,10 +1,18 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
1
2
|
import BaseSection from '../../../sections/BaseSection';
|
2
3
|
import { ReturnsCalculatorModel, ReturnsCalculatorStyleModel } from './returns-calculator.model';
|
3
4
|
import { LayOutModel } from '../../../styles/style.model';
|
4
5
|
import { EventsService } from '.././../../services/events.service';
|
6
|
+
import { RestService } from '@simpo-ui/services/rest.service';
|
7
|
+
import { StorageServiceService } from '@simpo-ui/services/storage.service';
|
8
|
+
import { MatDialog } from '@angular/material/dialog';
|
5
9
|
import * as i0 from "@angular/core";
|
6
10
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
7
11
|
private readonly _eventService;
|
12
|
+
private restService;
|
13
|
+
private matDialog;
|
14
|
+
private storageService;
|
15
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
8
16
|
data?: ReturnsCalculatorModel;
|
9
17
|
edit?: boolean;
|
10
18
|
customClass?: string;
|
@@ -15,9 +23,12 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
15
23
|
monthlyAmount: number;
|
16
24
|
maxAmount: number;
|
17
25
|
minAmount: number;
|
18
|
-
constructor(_eventService: EventsService);
|
26
|
+
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService);
|
19
27
|
ngOnInit(): void;
|
20
|
-
|
28
|
+
maturityCount: number;
|
29
|
+
enrolledScheme: any;
|
30
|
+
onSchemeChange(scheme: any): void;
|
31
|
+
benefitAmount: number;
|
21
32
|
onAmountChange(): void;
|
22
33
|
get individualContribution(): number;
|
23
34
|
get orraBonus(): number;
|
@@ -28,7 +39,13 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
28
39
|
getButtonId(index: number): string;
|
29
40
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
30
41
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
31
|
-
redirectTo(
|
42
|
+
redirectTo(scheme: any): void;
|
43
|
+
closeDialog(): void;
|
44
|
+
storeCharges: any;
|
45
|
+
enrollScheme(scheme: any): void;
|
46
|
+
allSchemes: any[];
|
47
|
+
getEnrolledSchemes(): void;
|
48
|
+
openCashfreeSdk(sessionId: string): void;
|
32
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
33
50
|
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>;
|
34
51
|
}
|
@@ -16,6 +16,7 @@ export declare class RestService implements OnDestroy {
|
|
16
16
|
isJewellery: boolean;
|
17
17
|
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
|
18
18
|
orraBaseUrl: string;
|
19
|
+
passBookUrl: string;
|
19
20
|
getBusinessDetails(): void;
|
20
21
|
ngOnDestroy(): void;
|
21
22
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
@@ -104,6 +105,9 @@ export declare class RestService implements OnDestroy {
|
|
104
105
|
redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
|
105
106
|
getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
|
106
107
|
getFieldsToDisplay(fieldsList: any[]): any;
|
108
|
+
generateToken(bId: any, userId: any, storeId?: any, userType?: any): Observable<Object>;
|
109
|
+
getAllEnrolledSchemes(payload: any): Observable<Object>;
|
110
|
+
enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
|
107
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
108
112
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
109
113
|
}
|
package/package.json
CHANGED
Binary file
|
Binary file
|