simpo-component-library 3.6.319 → 3.6.320
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/passbook-transactions/passbook-transactions.component.mjs +37 -0
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +227 -18
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +193 -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 +179 -22
- 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 -24
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +3 -4
- package/esm2022/lib/elements/index.mjs +2 -2
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +7 -27
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +3 -5
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -6
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- 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/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +265 -0
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +2 -0
- package/esm2022/lib/sections/service-section/service-section.component.mjs +9 -12
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +80 -7
- package/esm2022/lib/services/storage.service.mjs +8 -1
- package/esm2022/lib/styles/index.mjs +2 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/simpo-component-library.mjs +1653 -642
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +2 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -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 +2 -2
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +41 -3
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +35 -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/store-list/store-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/store-page/store-page.component.d.ts +1 -1
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +19 -2
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +4 -0
- package/lib/elements/below-image-card/below-image-card.component.d.ts +0 -2
- package/lib/elements/image-editor/image-editor.component.d.ts +0 -2
- package/lib/elements/link-editor/link-editor.component.d.ts +3 -7
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +1 -2
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +4 -1
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +2 -2
- package/lib/sections/scheme-detail/scheme-detail.component.d.ts +68 -0
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
- package/lib/sections/service-section/service-section.model.d.ts +1 -2
- package/lib/services/rest.service.d.ts +18 -2
- package/lib/services/storage.service.d.ts +2 -0
- package/lib/styles/index.d.ts +2 -1
- package/lib/styles/style.model.d.ts +0 -7
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.320.tgz +0 -0
- package/simpo-component-library-3.6.319.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -16,7 +16,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
16
16
|
applyButtonStyleChanges(): void;
|
17
17
|
applyButtonType(style: ButtonStyleModel, backgroundInfo?: BackgroundModel): void;
|
18
18
|
applyButtonShape(style: ButtonStyleModel): void;
|
19
|
-
getTextColor(bgColor: string): "#
|
19
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
20
20
|
buttonStyleSubscription?: Subscription;
|
21
21
|
buttonStyleChangeCheck(): void;
|
22
22
|
changeButtonStyle(id: any, style: ButtonStyleModel, backgroundInfo: BackgroundModel): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
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;
|
@@ -30,7 +30,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
30
30
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
31
31
|
get isMobile(): boolean;
|
32
32
|
editSection(): void;
|
33
|
-
getColor(color: any): "#
|
33
|
+
getColor(color: any): "#000000" | "#ffffff";
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
35
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewCollectionComponent, "simpo-new-collection", 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>;
|
36
36
|
}
|
@@ -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
|
+
}
|
@@ -109,10 +109,10 @@ export declare class ProductDescComponent extends BaseSection {
|
|
109
109
|
getDifference(sellingPrice: any, mrp: any): number;
|
110
110
|
getBackgroundColor(type: string): string;
|
111
111
|
getHeaderColor(type: string): string;
|
112
|
-
getTextColor(color: any): "#
|
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;
|
@@ -194,7 +194,7 @@ export declare class ProductListComponent extends BaseSection {
|
|
194
194
|
closeModal(): void;
|
195
195
|
languages: string[];
|
196
196
|
selectedLang: string;
|
197
|
-
getTextColor(color: any): "#
|
197
|
+
getTextColor(color: any): "#000000" | "#ffffff";
|
198
198
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
199
199
|
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>;
|
200
200
|
}
|
@@ -1,10 +1,23 @@
|
|
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';
|
10
|
+
import { MessageService } from 'primeng/api';
|
5
11
|
import * as i0 from "@angular/core";
|
6
12
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
7
13
|
private readonly _eventService;
|
14
|
+
private restService;
|
15
|
+
private matDialog;
|
16
|
+
private storageService;
|
17
|
+
private readonly router;
|
18
|
+
private readonly messageService;
|
19
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
20
|
+
dialogRef: MatDialogRef<any>;
|
8
21
|
data?: ReturnsCalculatorModel;
|
9
22
|
edit?: boolean;
|
10
23
|
customClass?: string;
|
@@ -15,10 +28,23 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
15
28
|
monthlyAmount: number;
|
16
29
|
maxAmount: number;
|
17
30
|
minAmount: number;
|
18
|
-
|
31
|
+
metalPrice: any;
|
32
|
+
purchasedGram: number;
|
33
|
+
currentGoldRate: number;
|
34
|
+
termsAndCondition: boolean;
|
35
|
+
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, router: Router, messageService: MessageService);
|
19
36
|
ngOnInit(): void;
|
20
|
-
|
37
|
+
maturityCount: number;
|
38
|
+
enrolledScheme: any;
|
39
|
+
selectedStore: any;
|
40
|
+
selectedStaff: any;
|
41
|
+
stores: any[];
|
42
|
+
staffMembers: any[];
|
43
|
+
onSchemeChange(scheme: any): void;
|
44
|
+
benefitAmount: number;
|
21
45
|
onAmountChange(): void;
|
46
|
+
getStaffList(): void;
|
47
|
+
setMonthlyAmount(amount: number): void;
|
22
48
|
get individualContribution(): number;
|
23
49
|
get orraBonus(): number;
|
24
50
|
get totalRedemptionValue(): number;
|
@@ -28,7 +54,19 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
28
54
|
getButtonId(index: number): string;
|
29
55
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
30
56
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
31
|
-
redirectTo(
|
57
|
+
redirectTo(scheme: any): void;
|
58
|
+
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
59
|
+
storeCharges: any;
|
60
|
+
enrollButtonLoader: boolean;
|
61
|
+
enrollScheme(scheme: any): void;
|
62
|
+
continuePayment(payload: any): void;
|
63
|
+
allSchemes: any[];
|
64
|
+
getEnrolledSchemes(): void;
|
65
|
+
installmentOptions: number[];
|
66
|
+
openCashfreeSdk(sessionId: string): void;
|
67
|
+
getMetalPrice(): void;
|
68
|
+
get isMobile(): boolean;
|
69
|
+
goToTermsAndCondition(): void;
|
32
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
33
71
|
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
72
|
}
|
@@ -1,16 +1,48 @@
|
|
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;
|
16
|
+
metalPrice: any;
|
5
17
|
gotoSchemeOverview: EventEmitter<void>;
|
6
|
-
|
18
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
19
|
+
slabListTemplate: TemplateRef<HTMLDivElement>;
|
20
|
+
constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
7
21
|
ngOnInit(): void;
|
22
|
+
styles: any;
|
8
23
|
screenWidth: any;
|
24
|
+
redeemRequestLoader: boolean;
|
25
|
+
paidMonth: number;
|
26
|
+
goldDeducted: number;
|
9
27
|
getScreenSize(event?: any): void;
|
10
28
|
paymentData: any[];
|
11
29
|
getPaymentScheme(): void;
|
12
30
|
getDueDate(paymentDate: string | Date): number | null;
|
31
|
+
storeCharges: any;
|
32
|
+
closeDialog(): void;
|
33
|
+
paymentLoader: boolean;
|
34
|
+
payDuePayment(passBook: any): void;
|
35
|
+
continuePayment(payload: any): void;
|
36
|
+
openCashfreeSdk(sessionId: string): void;
|
37
|
+
showBenefitSlab(): void;
|
38
|
+
getAllSchemes(): void;
|
39
|
+
confirmBtnLoader: boolean;
|
40
|
+
confirmRequest(): void;
|
41
|
+
slabDetails: any[];
|
42
|
+
getvalidSlabList(): void;
|
13
43
|
goBack(): void;
|
44
|
+
calculateGoldDeduction(): void;
|
45
|
+
calculateEnrollmentFee(): void;
|
14
46
|
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>;
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; "data": { "alias": "data"; "required": false; }; "metalPrice": { "alias": "metalPrice"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
16
48
|
}
|
@@ -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-6" | "col-12" | "col-6 mb-2" | "col-12 mb-2";
|
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
|
+
}
|
@@ -33,7 +33,7 @@ export declare class StoreListComponent extends BaseSection {
|
|
33
33
|
showState: boolean;
|
34
34
|
selectedState: string;
|
35
35
|
setStateData(stateData: any): void;
|
36
|
-
getTextColor(bgColor: any): "#
|
36
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
37
37
|
openWhatsapp(phone: string): void;
|
38
38
|
viewStore(storeId: string): void;
|
39
39
|
getTime(storeHours: any, type: string): any;
|
@@ -17,7 +17,7 @@ export declare class StorePageComponent extends BaseSection {
|
|
17
17
|
storeData: any;
|
18
18
|
loading: boolean;
|
19
19
|
getStoreDetails(storeId: string): void;
|
20
|
-
getTextColor(bgColor: any): "#
|
20
|
+
getTextColor(bgColor: any): "#000000" | "#ffffff" | "#ffffff;";
|
21
21
|
getTime(storeHours: any): string | undefined;
|
22
22
|
removeUnderScore(text: string): string;
|
23
23
|
openWhatsapp(phone: string): void;
|
@@ -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,32 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
39
40
|
addressList: any;
|
40
41
|
orderDetailsData: any;
|
41
42
|
schemeDetails: any;
|
43
|
+
storeListing: any[];
|
44
|
+
metalPrice: any;
|
42
45
|
sidePanelList: Tabs[];
|
43
46
|
tabs: Tabs[];
|
44
47
|
orderList: OrderedItems[];
|
45
48
|
wishlistData: OrderedItems[];
|
49
|
+
storeId: any;
|
46
50
|
ngOnInit(): void;
|
51
|
+
checkPassbookApp(): void;
|
52
|
+
closeDialog(): void;
|
53
|
+
storeCharges: any;
|
54
|
+
payDueLoader: boolean;
|
55
|
+
payDue(payment: any): void;
|
56
|
+
continuePayment(payload: any): void;
|
57
|
+
openCashfreeSdk(sessionId: string): void;
|
58
|
+
overAllDues: any[];
|
59
|
+
getAllPassbookDues(): void;
|
60
|
+
getAllStores(): void;
|
47
61
|
ecomConfigs: any;
|
48
62
|
getEcommerceConfigs(): void;
|
49
63
|
getUserOrderDetails(): void;
|
50
|
-
|
64
|
+
totalSavings: number;
|
65
|
+
totalAccumulatedGold: number;
|
51
66
|
userEnrollments: any[];
|
52
67
|
paymentData: any[];
|
68
|
+
totalSchemes: any[];
|
53
69
|
getAllSchemes(): void;
|
54
70
|
getUserWislistDetails(): void;
|
55
71
|
deleteFromWhislist(product: OrderedItems): void;
|
@@ -83,6 +99,7 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
83
99
|
private convertHEX;
|
84
100
|
get currency(): string;
|
85
101
|
getOrderedItems(order: any): any;
|
102
|
+
changeStore(ev: any): void;
|
86
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
87
104
|
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
105
|
}
|
@@ -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>;
|
@@ -19,8 +19,6 @@ export declare class BelowImageCardComponent {
|
|
19
19
|
get getIconStyls(): any;
|
20
20
|
ngOnChanges(): void;
|
21
21
|
getAlignment(): "justify-items-start" | "justify-items-end" | "justify-items-center";
|
22
|
-
getBackground(): any;
|
23
|
-
get getIconBackground(): any;
|
24
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
25
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; }, {}, never, never, true, never>;
|
26
24
|
}
|
@@ -3,7 +3,6 @@ import { EventsService } from '../../services/events.service';
|
|
3
3
|
import { Button, Icon, Image } from '../../styles/style.model';
|
4
4
|
import { ElementServiceService } from '../editor-service.service';
|
5
5
|
import { RedirectionLinkType } from '../../styles/index';
|
6
|
-
import { BACKGROUND_TYPE } from '@simpo-ui/styles/types';
|
7
6
|
import * as i0 from "@angular/core";
|
8
7
|
export declare class ImageEditorComponent {
|
9
8
|
private eventsService;
|
@@ -22,7 +21,6 @@ export declare class ImageEditorComponent {
|
|
22
21
|
addLink: boolean;
|
23
22
|
max: number;
|
24
23
|
min: number;
|
25
|
-
tabs: BACKGROUND_TYPE[];
|
26
24
|
imgLoader: boolean;
|
27
25
|
updateImage(): Promise<void>;
|
28
26
|
changeIconColor(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button } from '../../styles/style.model';
|
2
2
|
import { RedirectionLinkType } from '../../styles/index';
|
3
|
-
import {
|
3
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
4
4
|
import { ElementServiceService } from '../editor-service.service';
|
5
5
|
import { EventsService } from '../../services/events.service';
|
6
6
|
import * as i0 from "@angular/core";
|
@@ -9,7 +9,6 @@ export declare class LinkEditorComponent {
|
|
9
9
|
dialogRef: MatDialogRef<LinkEditorComponent>;
|
10
10
|
data: any;
|
11
11
|
private eventService;
|
12
|
-
private matDialog;
|
13
12
|
link: Button;
|
14
13
|
RedirectionLink: typeof RedirectionLinkType;
|
15
14
|
externalLinkType: Array<type>;
|
@@ -20,7 +19,7 @@ export declare class LinkEditorComponent {
|
|
20
19
|
directionType: any[];
|
21
20
|
templatePage: any[];
|
22
21
|
addLink: boolean;
|
23
|
-
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService
|
22
|
+
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService);
|
24
23
|
ngOnInit(): void;
|
25
24
|
closeDialog(): void;
|
26
25
|
getTemplatePage(): void;
|
@@ -30,13 +29,10 @@ export declare class LinkEditorComponent {
|
|
30
29
|
changeButtonStyle(): void;
|
31
30
|
getContrastTextColor(backgroundHex: any): void;
|
32
31
|
backgroundType: string[];
|
33
|
-
setBorderRadius(): "0px" | "
|
32
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
34
33
|
setBorder(): string;
|
35
34
|
setColor(): any;
|
36
35
|
setBackground(): any;
|
37
|
-
imgLoader: boolean;
|
38
|
-
updateImage(): Promise<void>;
|
39
|
-
deleteImage(): void;
|
40
36
|
setRedirectUrl(): void;
|
41
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkEditorComponent, never>;
|
42
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<LinkEditorComponent, "simpo-link-editor", never, {}, {}, never, never, true, never>;
|
@@ -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-4" | "col-
|
18
|
+
getClass(): "col-4" | "col-3" | "col-12" | "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
|
}
|
@@ -27,7 +27,7 @@ export declare class BannerGridSectionComponent extends BaseSection implements O
|
|
27
27
|
get spacingLayout(): SpacingModel;
|
28
28
|
get alignmentLayout(): import("simpo-component-library").ALIGN | undefined;
|
29
29
|
get fitLayout(): import("simpo-component-library").FIT | undefined;
|
30
|
-
getTextColor(bgColor: string): "#
|
30
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
31
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerGridSectionComponent, never>;
|
32
32
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerGridSectionComponent, "simpo-banner-grid-section", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
33
33
|
}
|
@@ -28,8 +28,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
28
28
|
editSection(): void;
|
29
29
|
canShowContactField(field: any): any;
|
30
30
|
getCardStyle(): {};
|
31
|
-
getTextColor(bgColor: string): "#
|
32
|
-
getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
|
31
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
33
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
34
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", 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>;
|
35
34
|
}
|
@@ -23,7 +23,7 @@ export declare class FaqSectionComponent extends BaseSection {
|
|
23
23
|
toggleContent(idx: number): void;
|
24
24
|
editSection(): void;
|
25
25
|
getScreenSize(): void;
|
26
|
-
getLayout(): "justify-content-start" | "justify-content-
|
26
|
+
getLayout(): "justify-content-start" | "justify-content-center" | "justify-content-end";
|
27
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<FaqSectionComponent, never>;
|
28
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<FaqSectionComponent, "simpo-faq-section", 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>;
|
29
29
|
}
|
@@ -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;
|
@@ -82,7 +84,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
82
84
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
83
85
|
get getNavbarButton(): any[];
|
84
86
|
isScrolled: boolean;
|
85
|
-
setColor(): "#
|
87
|
+
setColor(): "#000000" | "#ffffff";
|
86
88
|
showList: boolean;
|
87
89
|
showCollections: boolean;
|
88
90
|
categoryList: any;
|
@@ -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
|
}
|
@@ -22,7 +22,7 @@ export declare class MovingTextComponent extends BaseSection {
|
|
22
22
|
private transitionToNext;
|
23
23
|
isItemVisible(index: number): boolean;
|
24
24
|
getItemClass(index: number): string;
|
25
|
-
getTextColor(bgColor: string): "#
|
25
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff";
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
27
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
28
28
|
}
|
@@ -18,12 +18,12 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
20
|
get stylesLayout(): LayOutModel;
|
21
|
-
getTextColor(): "#
|
21
|
+
getTextColor(): "#000000" | "#ffffff";
|
22
22
|
get headingSpace(): SPACING;
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
25
25
|
redirectTo(): void;
|
26
|
-
getClass(): "col-
|
26
|
+
getClass(): "col-6" | "col-4" | "col-3" | "col-12";
|
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,68 @@
|
|
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 { MessageService } from 'primeng/api';
|
10
|
+
import * as i0 from "@angular/core";
|
11
|
+
export declare class SchemeDetailComponent {
|
12
|
+
private activeRoute;
|
13
|
+
private restService;
|
14
|
+
private storageService;
|
15
|
+
private matDialog;
|
16
|
+
private readonly router;
|
17
|
+
private readonly _eventService;
|
18
|
+
private readonly messageService;
|
19
|
+
data: SchemeDetailModal | null;
|
20
|
+
index?: number;
|
21
|
+
edit?: boolean;
|
22
|
+
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
23
|
+
dialogRef: MatDialogRef<any>;
|
24
|
+
scrollToTermsAndCondition: boolean;
|
25
|
+
constructor(activeRoute: ActivatedRoute, restService: RestService, storageService: StorageServiceService, matDialog: MatDialog, router: Router, _eventService: EventsService, messageService: MessageService);
|
26
|
+
ngOnInit(): void;
|
27
|
+
getKeys(obj: any): string[];
|
28
|
+
Object: ObjectConstructor;
|
29
|
+
styles: any;
|
30
|
+
selectedStore: any;
|
31
|
+
selectedStaff: any;
|
32
|
+
stores: any[];
|
33
|
+
staffMembers: any[];
|
34
|
+
minAmount: number;
|
35
|
+
maxAmount: number;
|
36
|
+
monthlyAmount: number;
|
37
|
+
installmentOptions: any[];
|
38
|
+
schemeDetails: any;
|
39
|
+
maturityCount: number;
|
40
|
+
benefitAmount: number;
|
41
|
+
metalPrice: any;
|
42
|
+
purchasedGram: number;
|
43
|
+
currentGoldRate: number;
|
44
|
+
termsAndCondition: boolean;
|
45
|
+
get stylesLayout(): LayOutModel;
|
46
|
+
enrollButtonLoader: boolean;
|
47
|
+
getButtonData(index: number): import("../../styles/style.model").Button | undefined;
|
48
|
+
getButtonId(index: number): string;
|
49
|
+
getButtonStyle(index: number): import("../../styles/style.model").ButtonStyleModel | undefined;
|
50
|
+
get getInputText(): string;
|
51
|
+
screenWidth: number;
|
52
|
+
getScreenSize(event?: any): void;
|
53
|
+
getStaffList(): void;
|
54
|
+
onAmountChange(): void;
|
55
|
+
setMonthlyAmount(amount: any): void;
|
56
|
+
faqList: any[];
|
57
|
+
getSchemeDetails(schemeId: any): void;
|
58
|
+
enrollScheme(scheme: any): void;
|
59
|
+
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
60
|
+
storeCharges: any;
|
61
|
+
continuePayment(payload: any): void;
|
62
|
+
openCashfreeSdk(sessionId: string): void;
|
63
|
+
getMetalPrice(): void;
|
64
|
+
get isMobile(): boolean;
|
65
|
+
scrollDown(): void;
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailComponent, never>;
|
67
|
+
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>;
|
68
|
+
}
|
@@ -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
|
+
}
|