simpo-component-library 3.6.309 → 3.6.311
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/directive/icon-directive.directive.mjs +1 -2
- package/esm2022/lib/directive/image-directive.directive.mjs +2 -2
- package/esm2022/lib/directive/set-dynamic-background.directive.mjs +2 -2
- package/esm2022/lib/directive/spacing-around.directive.mjs +2 -2
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +19 -3
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +37 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +192 -19
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +169 -14
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +108 -0
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +2 -0
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +163 -21
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +90 -31
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +3 -3
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +1 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +15 -3
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +223 -0
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
- package/esm2022/lib/services/rest.service.mjs +77 -7
- package/esm2022/lib/services/storage.service.mjs +8 -1
- package/esm2022/lib/styles/index.mjs +2 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +1035 -95
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
- package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +14 -0
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +32 -3
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +30 -3
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +28 -0
- package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +21 -0
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +17 -2
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +1 -1
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +3 -0
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/scheme-detail/scheme-detail.component.d.ts +58 -0
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
- package/lib/services/rest.service.d.ts +17 -2
- package/lib/services/storage.service.d.ts +2 -0
- package/lib/styles/index.d.ts +2 -1
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.311.tgz +0 -0
- package/simpo-component-library-3.6.309.tgz +0 -0
package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts
CHANGED
@@ -48,6 +48,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
48
48
|
proceedToCheckout: boolean;
|
49
49
|
proceedToEnrollment: boolean;
|
50
50
|
tryAtHome: boolean;
|
51
|
+
navigateToSchemeDetails: boolean;
|
51
52
|
ngOnInit(): void;
|
52
53
|
ngAfterViewInit(): void;
|
53
54
|
loginType: "PASSWORD" | "OTP";
|
@@ -63,7 +64,7 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
63
64
|
validateNumber(event: KeyboardEvent): void;
|
64
65
|
validateOTP(event: KeyboardEvent): void;
|
65
66
|
checkStrength(): void;
|
66
|
-
getStrengthColor(index: number): "
|
67
|
+
getStrengthColor(index: number): "tomato" | "#d3d3d3ba" | "orange" | "yellow" | "lightgreen";
|
67
68
|
emailDebounceTimer: any;
|
68
69
|
onEmailChange(): void;
|
69
70
|
emailCheck: boolean;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
3
|
+
import { RestService } from '../../../services/rest.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PassbookTransactionsComponent implements OnInit {
|
6
|
+
private storageService;
|
7
|
+
private restService;
|
8
|
+
constructor(storageService: StorageServiceService, restService: RestService);
|
9
|
+
ngOnInit(): void;
|
10
|
+
getAllTransactions(): void;
|
11
|
+
allTransactions: any[];
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PassbookTransactionsComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PassbookTransactionsComponent, "simpo-passbook-transactions", never, {}, {}, never, never, true, never>;
|
14
|
+
}
|
@@ -112,7 +112,7 @@ export declare class ProductDescComponent extends BaseSection {
|
|
112
112
|
getTextColor(color: any): "#000000" | "#ffffff";
|
113
113
|
languages: string[];
|
114
114
|
selectedLang: string;
|
115
|
-
getClass(map: any): "col-
|
115
|
+
getClass(map: any): "col-6" | "col-4" | "col-3" | "width-max";
|
116
116
|
onFindInStore(id: string): void;
|
117
117
|
onBookAppointment(): void;
|
118
118
|
isDetails: boolean;
|
@@ -1,10 +1,21 @@
|
|
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 '../../../services/rest.service';
|
7
|
+
import { StorageServiceService } from '../../../services/storage.service';
|
8
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
9
|
+
import { Router } from '@angular/router';
|
5
10
|
import * as i0 from "@angular/core";
|
6
11
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
7
12
|
private readonly _eventService;
|
13
|
+
private restService;
|
14
|
+
private matDialog;
|
15
|
+
private storageService;
|
16
|
+
private readonly router;
|
17
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
18
|
+
dialogRef: MatDialogRef<any>;
|
8
19
|
data?: ReturnsCalculatorModel;
|
9
20
|
edit?: boolean;
|
10
21
|
customClass?: string;
|
@@ -15,10 +26,19 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
15
26
|
monthlyAmount: number;
|
16
27
|
maxAmount: number;
|
17
28
|
minAmount: number;
|
18
|
-
constructor(_eventService: EventsService);
|
29
|
+
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, router: Router);
|
19
30
|
ngOnInit(): void;
|
20
|
-
|
31
|
+
maturityCount: number;
|
32
|
+
enrolledScheme: any;
|
33
|
+
selectedStore: any;
|
34
|
+
selectedStaff: any;
|
35
|
+
stores: any[];
|
36
|
+
staffMembers: any[];
|
37
|
+
onSchemeChange(scheme: any): void;
|
38
|
+
benefitAmount: number;
|
21
39
|
onAmountChange(): void;
|
40
|
+
getStaffList(): void;
|
41
|
+
setMonthlyAmount(amount: number): void;
|
22
42
|
get individualContribution(): number;
|
23
43
|
get orraBonus(): number;
|
24
44
|
get totalRedemptionValue(): number;
|
@@ -28,7 +48,16 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
28
48
|
getButtonId(index: number): string;
|
29
49
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
30
50
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
31
|
-
redirectTo(
|
51
|
+
redirectTo(scheme: any): void;
|
52
|
+
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
53
|
+
storeCharges: any;
|
54
|
+
enrollButtonLoader: boolean;
|
55
|
+
enrollScheme(scheme: any): void;
|
56
|
+
continuePayment(payload: any): void;
|
57
|
+
allSchemes: any[];
|
58
|
+
getEnrolledSchemes(): void;
|
59
|
+
installmentOptions: number[];
|
60
|
+
openCashfreeSdk(sessionId: string): void;
|
32
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
33
62
|
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
63
|
}
|
@@ -1,16 +1,43 @@
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
2
|
+
import { StorageServiceService } from '.././../../services/storage.service';
|
3
|
+
import { RestService } from '.././../../services/rest.service';
|
4
|
+
import { MatDialog } from '@angular/material/dialog';
|
5
|
+
import { EventsService } from '.././../../services/events.service';
|
6
|
+
import { Router } from '@angular/router';
|
2
7
|
import * as i0 from "@angular/core";
|
3
8
|
export declare class SchemeDetailsComponent implements OnInit {
|
9
|
+
private storageService;
|
10
|
+
private restService;
|
11
|
+
private matDialog;
|
12
|
+
private readonly _eventService;
|
13
|
+
private readonly router;
|
4
14
|
schemeDetails: any;
|
15
|
+
data: any;
|
5
16
|
gotoSchemeOverview: EventEmitter<void>;
|
6
|
-
|
17
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
18
|
+
slabListTemplate: TemplateRef<HTMLDivElement>;
|
19
|
+
constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
7
20
|
ngOnInit(): void;
|
21
|
+
styles: any;
|
8
22
|
screenWidth: any;
|
23
|
+
redeemRequestLoader: boolean;
|
9
24
|
getScreenSize(event?: any): void;
|
10
25
|
paymentData: any[];
|
11
26
|
getPaymentScheme(): void;
|
12
27
|
getDueDate(paymentDate: string | Date): number | null;
|
28
|
+
storeCharges: any;
|
29
|
+
closeDialog(): void;
|
30
|
+
paymentLoader: boolean;
|
31
|
+
payDuePayment(passBook: any): void;
|
32
|
+
continuePayment(payload: any): void;
|
33
|
+
openCashfreeSdk(sessionId: string): void;
|
34
|
+
showBenefitSlab(): void;
|
35
|
+
getAllSchemes(): void;
|
36
|
+
confirmBtnLoader: boolean;
|
37
|
+
confirmRequest(): void;
|
38
|
+
slabDetails: any[];
|
39
|
+
getvalidSlabList(): void;
|
13
40
|
goBack(): void;
|
14
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; "data": { "alias": "data"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
16
43
|
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { SchemesComponentModel, SchemesContentModel, SchemesStylesModel } from './schemes.component.model';
|
2
|
+
import BaseSection from '../../../sections/BaseSection';
|
3
|
+
import { RestService } from '../../../services/rest.service';
|
4
|
+
import { LayOutModel, SpacingModel } from '../../../styles/style.model';
|
5
|
+
import { Router } from '@angular/router';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
export declare class SchemesComponent extends BaseSection {
|
8
|
+
private restService;
|
9
|
+
private router;
|
10
|
+
data?: SchemesComponentModel;
|
11
|
+
edit?: boolean;
|
12
|
+
delete?: boolean;
|
13
|
+
index?: number;
|
14
|
+
content?: SchemesContentModel;
|
15
|
+
styles?: SchemesStylesModel;
|
16
|
+
constructor(restService: RestService, router: Router);
|
17
|
+
ngOnInit(): void;
|
18
|
+
schemes: any;
|
19
|
+
getAllSchemes(): void;
|
20
|
+
get getInputText(): string;
|
21
|
+
get stylesLayout(): LayOutModel;
|
22
|
+
get spacingLayout(): SpacingModel;
|
23
|
+
getParentClass(): "" | "overflow-scroll flex-nowrap";
|
24
|
+
getClass(index: number): "col-12" | "col-6 mb-2" | "col-12 mb-2" | "col-6";
|
25
|
+
showSchemeDetails(scheme: any): void;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SchemesComponent, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemesComponent, "simpo-schemes", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
28
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { Corners } from "../../../styles";
|
2
|
+
import { AnimationModel, BackgroundModel, DisplaySection, ImageStyle, InputTextModel, LayOutModel } from "../../../styles/style.model";
|
3
|
+
export interface SchemesComponentModel {
|
4
|
+
id: string;
|
5
|
+
sectionType: string;
|
6
|
+
sectionName: string;
|
7
|
+
content: SchemesContentModel;
|
8
|
+
styles: SchemesStylesModel;
|
9
|
+
}
|
10
|
+
export interface SchemesContentModel {
|
11
|
+
display: DisplaySection;
|
12
|
+
inputText: InputTextModel[];
|
13
|
+
}
|
14
|
+
export interface SchemesStylesModel {
|
15
|
+
layout: LayOutModel;
|
16
|
+
background: BackgroundModel;
|
17
|
+
direction: "ROW" | "COLUMN";
|
18
|
+
corners: Corners;
|
19
|
+
image: ImageStyle;
|
20
|
+
animation: AnimationModel;
|
21
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit } from '@angular/core';
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
2
2
|
import BaseSection from '../../../sections/BaseSection';
|
3
3
|
import { EventsService } from '.././../../services/events.service';
|
4
4
|
import { ProfileContentModal, ProfileStylesModal, Tabs, UserProfileModal } from './user-profile.modal';
|
@@ -26,6 +26,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
26
26
|
private readonly messageService;
|
27
27
|
private route;
|
28
28
|
constructor(router: Router, _eventService: EventsService, restService: RestService, storageService: StorageServiceService, cartService: CartService, matDialog: MatDialog, matBottomSheet: MatBottomSheet, cookieService: CookieService, messageService: MessageService, route: ActivatedRoute);
|
29
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
29
30
|
data?: UserProfileModal;
|
30
31
|
index?: number;
|
31
32
|
edit?: boolean;
|
@@ -39,17 +40,30 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
39
40
|
addressList: any;
|
40
41
|
orderDetailsData: any;
|
41
42
|
schemeDetails: any;
|
43
|
+
storeListing: any[];
|
42
44
|
sidePanelList: Tabs[];
|
43
45
|
tabs: Tabs[];
|
44
46
|
orderList: OrderedItems[];
|
45
47
|
wishlistData: OrderedItems[];
|
48
|
+
storeId: any;
|
46
49
|
ngOnInit(): void;
|
50
|
+
checkPassbookApp(): void;
|
51
|
+
closeDialog(): void;
|
52
|
+
storeCharges: any;
|
53
|
+
payDueLoader: boolean;
|
54
|
+
payDue(payment: any): void;
|
55
|
+
continuePayment(payload: any): void;
|
56
|
+
openCashfreeSdk(sessionId: string): void;
|
57
|
+
overAllDues: any[];
|
58
|
+
getAllPassbookDues(): void;
|
59
|
+
getAllStores(): void;
|
47
60
|
ecomConfigs: any;
|
48
61
|
getEcommerceConfigs(): void;
|
49
62
|
getUserOrderDetails(): void;
|
50
|
-
|
63
|
+
totalSavings: number;
|
51
64
|
userEnrollments: any[];
|
52
65
|
paymentData: any[];
|
66
|
+
totalSchemes: any[];
|
53
67
|
getAllSchemes(): void;
|
54
68
|
getUserWislistDetails(): void;
|
55
69
|
deleteFromWhislist(product: OrderedItems): void;
|
@@ -83,6 +97,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
83
97
|
private convertHEX;
|
84
98
|
get currency(): string;
|
85
99
|
getOrderedItems(order: any): any;
|
100
|
+
changeStore(ev: any): void;
|
86
101
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
87
102
|
static ɵcmp: i0.ɵɵComponentDeclaration<UserProfileComponent, "simpo-user-profile", never, { "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; }; }, {}, never, never, true, never>;
|
88
103
|
}
|
@@ -22,14 +22,18 @@ export declare class VerifyComponent extends BaseSection implements OnInit {
|
|
22
22
|
styles?: VerifyPaymentStylesModel;
|
23
23
|
content?: VerifyPaymentContentModel;
|
24
24
|
private userDetails;
|
25
|
+
paymentStatus: 'SUCCESS' | 'FAILED' | 'ONGOING';
|
25
26
|
constructor(restService: RestService, router: Router, storageService: StorageServiceService, messageService: MessageService, _eventService: EventsService);
|
26
27
|
loadingText: string;
|
27
28
|
private API_COUNT;
|
28
29
|
private MAX_API_COUNT;
|
30
|
+
private PASSBOOK_API_COUNT;
|
31
|
+
private MAX_PASSBOOK_API_COUNT;
|
29
32
|
ngOnInit(): void;
|
30
33
|
get getImageUrl(): string | undefined;
|
31
34
|
get isMobile(): boolean;
|
32
35
|
checkPaymentStatus(): void;
|
36
|
+
checkPassbookPaymentStatus(): void;
|
33
37
|
editSection(): void;
|
34
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
|
35
39
|
static ɵcmp: i0.ɵɵComponentDeclaration<VerifyComponent, "simpo-verify-payment", never, { "data": { "alias": "data"; "required": false; }; "responseData": { "alias": "responseData"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "index": { "alias": "index"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -29,7 +29,7 @@ export declare class LinkEditorComponent {
|
|
29
29
|
changeButtonStyle(): void;
|
30
30
|
getContrastTextColor(backgroundHex: any): void;
|
31
31
|
backgroundType: string[];
|
32
|
-
setBorderRadius(): "0px" | "
|
32
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
33
33
|
setBorder(): string;
|
34
34
|
setColor(): any;
|
35
35
|
setBackground(): any;
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
15
15
|
editSection(): void;
|
16
16
|
getButtonId(): string;
|
17
17
|
redirectTo(): void;
|
18
|
-
getClass(): "col-
|
18
|
+
getClass(): "col-12" | "col-4" | "col-3" | "col-5";
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingS1Component, never>;
|
20
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingS1Component, "simpo-pricing-s1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
21
21
|
}
|
@@ -25,8 +25,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
26
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
27
27
|
get getBackgroundColor(): BackgroundModel;
|
28
|
-
get getBackgroundOpacity(): "0" | "0.
|
29
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
30
30
|
editSection(): void;
|
31
31
|
getScreenSize(): number;
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
@@ -25,7 +25,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
25
25
|
get canMergeNavbar(): boolean | undefined;
|
26
26
|
get isBorderlessImage(): boolean | undefined;
|
27
27
|
get getPositionLayout(): PositionLayoutModal;
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
28
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "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>;
|
@@ -51,6 +51,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
51
51
|
differ: any;
|
52
52
|
ngOnInit(): void;
|
53
53
|
ngAfterViewInit(): void;
|
54
|
+
passbookAppStatus: boolean;
|
55
|
+
checkPassbookApp(): void;
|
54
56
|
showSearchBarMobile: boolean;
|
55
57
|
isNavbarOpen: boolean;
|
56
58
|
screenWidth: number;
|
@@ -105,6 +107,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
105
107
|
getRGBA(bgColor: any, opacity: number): any;
|
106
108
|
showCategoryMobileHeader(): boolean;
|
107
109
|
byMetalAndStone: any;
|
110
|
+
navigateLogin(): void;
|
108
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
109
112
|
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderSectionComponent, "simpo-header-section", never, { "data": { "alias": "data"; "required": false; }; "nextComponent": { "alias": "nextComponent"; "required": false; }; "index": { "alias": "index"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
110
113
|
}
|
@@ -20,9 +20,9 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
20
20
|
constructor(_eventService: EventsService);
|
21
21
|
ngOnInit(): void;
|
22
22
|
get canMergeNavbar(): boolean | undefined;
|
23
|
-
get getBackgroundOpacity(): "
|
23
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
|
-
opacityValue(value: OverlayValue): "
|
25
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
26
26
|
editSection(): void;
|
27
27
|
redirectTo(): void;
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
@@ -24,7 +24,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
24
24
|
ngOnInit(): void;
|
25
25
|
get stylesLayout(): LayOutModel;
|
26
26
|
get animationDuration(): logoSpeed;
|
27
|
-
get animationDirection():
|
27
|
+
get animationDirection(): "reverse" | "normal" | logoDirection.Left;
|
28
28
|
get isMobile(): boolean;
|
29
29
|
get getPositionLayout(): PositionLayoutModal;
|
30
30
|
screenWidth: number;
|
@@ -23,7 +23,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
26
|
+
getClass(): "col-12" | "col-6" | "col-4" | "col-3";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<PricingSectionComponent, "simpo-pricing-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
29
29
|
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import { SchemeDetailModal } from './scheme-detail.modal';
|
3
|
+
import { LayOutModel } from '../../styles/style.model';
|
4
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
5
|
+
import { RestService } from '../../services/rest.service';
|
6
|
+
import { StorageServiceService } from '../../services/storage.service';
|
7
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
8
|
+
import { EventsService } from '../../services/events.service';
|
9
|
+
import * as i0 from "@angular/core";
|
10
|
+
export declare class SchemeDetailComponent {
|
11
|
+
private activeRoute;
|
12
|
+
private restService;
|
13
|
+
private storageService;
|
14
|
+
private matDialog;
|
15
|
+
private readonly router;
|
16
|
+
private readonly _eventService;
|
17
|
+
data: SchemeDetailModal | null;
|
18
|
+
index?: number;
|
19
|
+
edit?: boolean;
|
20
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
21
|
+
dialogRef: MatDialogRef<any>;
|
22
|
+
constructor(activeRoute: ActivatedRoute, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog, router: Router, _eventService: EventsService);
|
23
|
+
ngOnInit(): void;
|
24
|
+
getKeys(obj: any): string[];
|
25
|
+
Object: ObjectConstructor;
|
26
|
+
styles: any;
|
27
|
+
selectedStore: any;
|
28
|
+
selectedStaff: any;
|
29
|
+
stores: any[];
|
30
|
+
staffMembers: any[];
|
31
|
+
minAmount: number;
|
32
|
+
maxAmount: number;
|
33
|
+
monthlyAmount: number;
|
34
|
+
installmentOptions: any[];
|
35
|
+
schemeDetails: any;
|
36
|
+
maturityCount: number;
|
37
|
+
benefitAmount: number;
|
38
|
+
get stylesLayout(): LayOutModel;
|
39
|
+
enrollButtonLoader: boolean;
|
40
|
+
getButtonData(index: number): import("../../styles/style.model").Button | undefined;
|
41
|
+
getButtonId(index: number): string;
|
42
|
+
getButtonStyle(index: number): import("../../styles/style.model").ButtonStyleModel | undefined;
|
43
|
+
get getInputText(): string;
|
44
|
+
screenWidth: number;
|
45
|
+
getScreenSize(event?: any): void;
|
46
|
+
getStaffList(): void;
|
47
|
+
onAmountChange(): void;
|
48
|
+
setMonthlyAmount(amount: any): void;
|
49
|
+
faqList: any[];
|
50
|
+
getSchemeDetails(schemeId: any): void;
|
51
|
+
enrollScheme(scheme: any): void;
|
52
|
+
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
53
|
+
storeCharges: any;
|
54
|
+
continuePayment(payload: any): void;
|
55
|
+
openCashfreeSdk(sessionId: string): void;
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailComponent, never>;
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailComponent, "simpo-scheme-detail", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
58
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { BackgroundModel, InputTextModel, LayOutModel } from "../../styles/style.model";
|
2
|
+
import { ActionModel } from '../../styles/style.model';
|
3
|
+
export interface SchemeDetailModal {
|
4
|
+
id: string;
|
5
|
+
sectionType: string;
|
6
|
+
sectionName: string;
|
7
|
+
content: SchemeDetailContentModal;
|
8
|
+
styles: SchemeDetailStylesModal;
|
9
|
+
action: ActionModel;
|
10
|
+
}
|
11
|
+
export interface SchemeDetailStylesModal {
|
12
|
+
layout: LayOutModel;
|
13
|
+
background: BackgroundModel;
|
14
|
+
}
|
15
|
+
export interface SchemeDetailContentModal {
|
16
|
+
inputText: InputTextModel[];
|
17
|
+
}
|
@@ -4,24 +4,28 @@ import { Observable } from "rxjs";
|
|
4
4
|
import { Review } from "../ecommerce/styles/review.modal";
|
5
5
|
import { DeviceInfo } from "../ecommerce/styles/user.modal";
|
6
6
|
import { checkItemAlreadyAdded, syncItemToServerDBRequest } from "../ecommerce/styles/product.modal";
|
7
|
+
import { CookieService } from "ngx-cookie-service";
|
7
8
|
import * as i0 from "@angular/core";
|
8
9
|
export declare class RestService implements OnDestroy {
|
9
10
|
private readonly http;
|
10
11
|
private BASE_URL;
|
11
12
|
private ECOMMERCE_URL;
|
12
13
|
private CMIS_URL;
|
14
|
+
private readonly cookieService;
|
13
15
|
private environmentTypeSubscriber;
|
14
16
|
businessDetails: any;
|
15
17
|
subIndustryName: any;
|
16
18
|
isJewellery: boolean;
|
17
|
-
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
|
19
|
+
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string, cookieService: CookieService);
|
18
20
|
orraBaseUrl: string;
|
21
|
+
passBookUrl: string;
|
19
22
|
getBusinessDetails(): void;
|
20
23
|
ngOnDestroy(): void;
|
21
24
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
22
25
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
26
|
+
getPassbookOrderStatus(orderId: any): Observable<Object>;
|
23
27
|
getProductBySelectedCategory(categoryId: string): Observable<Object>;
|
24
|
-
getAllSchemes(
|
28
|
+
getAllSchemes(userId?: any, storeId?: any): any;
|
25
29
|
getAllRedemptionSchemes(): Observable<Object>;
|
26
30
|
getProductDetails(productId?: string | null): Observable<any>;
|
27
31
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
@@ -104,6 +108,17 @@ export declare class RestService implements OnDestroy {
|
|
104
108
|
redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
|
105
109
|
getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
|
106
110
|
getFieldsToDisplay(fieldsList: any[]): any;
|
111
|
+
generateToken(bId: any, userId: any): Observable<Object>;
|
112
|
+
getAllEnrolledSchemes(payload: any): Observable<Object>;
|
113
|
+
enrollScheme(payload: any, checkCharges: boolean): Observable<Object>;
|
114
|
+
getBenefitSlab(passbookId?: any): Observable<Object>;
|
115
|
+
getAllStaffList(): Observable<Object>;
|
116
|
+
requestRedeemption(passbookId: any): Observable<Object>;
|
117
|
+
PassbookAppStatus(bId: any): Observable<Object>;
|
118
|
+
getAllPassbookDues(bId: any, userId: any): Observable<Object>;
|
119
|
+
getToken(): string;
|
120
|
+
getAllTransactions(payload: any): Observable<Object>;
|
121
|
+
getSchemeDetails(schemeId: any): Observable<Object>;
|
107
122
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
108
123
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
109
124
|
}
|
@@ -25,6 +25,8 @@ export declare class StorageServiceService {
|
|
25
25
|
userCollectionRef: IDBObjectStore | null;
|
26
26
|
trialCartCollectionRef: IDBObjectStore | null;
|
27
27
|
createDataBase(): Promise<void>;
|
28
|
+
setToken(token: any): void;
|
29
|
+
getToken(): void;
|
28
30
|
updateAllData(): void;
|
29
31
|
mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
|
30
32
|
getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
|
package/lib/styles/index.d.ts
CHANGED
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -42,6 +42,8 @@ export * from './lib/sections/new-testimonials/new-testimonials.component';
|
|
42
42
|
export * from './lib/sections/new-services/new-services.component';
|
43
43
|
export * from './lib/sections/moving-text/moving-text.component';
|
44
44
|
export * from './lib/sections/news-letter-component/news-letter-component.component';
|
45
|
+
export * from './lib/sections/scheme-detail/scheme-detail.component';
|
46
|
+
export * from './lib/ecommerce/sections/schemes/schemes.component';
|
45
47
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
46
48
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
47
49
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|
Binary file
|