simpo-component-library 3.6.325 → 3.6.327
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 +8 -5
- 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 +4 -4
- package/esm2022/lib/ecommerce/sections/order-details/order-details.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 +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 +24 -3
- package/esm2022/lib/elements/image-editor/image-editor.component.mjs +4 -4
- package/esm2022/lib/elements/index.mjs +2 -2
- package/esm2022/lib/elements/link-editor/link-editor.component.mjs +27 -7
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
- package/esm2022/lib/elements/simpo-button/simpo-button.component.mjs +5 -3
- package/esm2022/lib/elements/socia-icons/socia-icons.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +3 -3
- package/esm2022/lib/sections/banner-grid-section/banner-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +3 -3
- package/esm2022/lib/sections/footer/footer.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +48 -17
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +13 -4
- 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 +12 -9
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/sections/text-section/text-section.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +80 -7
- package/esm2022/lib/services/storage.service.mjs +59 -35
- 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 +2140 -1013
- 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 +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/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 +2 -0
- package/lib/elements/image-editor/image-editor.component.d.ts +2 -0
- package/lib/elements/link-editor/link-editor.component.d.ts +7 -3
- 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/contact-us/contact-us.component.d.ts +1 -0
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +4 -2
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +2 -1
- package/lib/sections/new-testimonials/new-testimonials.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 +68 -0
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +17 -0
- package/lib/sections/service-section/service-section.model.d.ts +2 -1
- package/lib/services/rest.service.d.ts +18 -2
- package/lib/services/storage.service.d.ts +4 -1
- package/lib/styles/index.d.ts +2 -1
- package/lib/styles/style.model.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
- package/simpo-component-library-3.6.327.tgz +0 -0
- package/src/lib/styles/global-styles.css +9 -0
- package/simpo-component-library-3.6.325.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,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
|
+
}
|
@@ -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,6 +19,8 @@ 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;
|
22
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
23
25
|
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>;
|
24
26
|
}
|
@@ -3,6 +3,7 @@ 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';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
export declare class ImageEditorComponent {
|
8
9
|
private eventsService;
|
@@ -21,6 +22,7 @@ export declare class ImageEditorComponent {
|
|
21
22
|
addLink: boolean;
|
22
23
|
max: number;
|
23
24
|
min: number;
|
25
|
+
tabs: BACKGROUND_TYPE[];
|
24
26
|
imgLoader: boolean;
|
25
27
|
updateImage(): Promise<void>;
|
26
28
|
changeIconColor(): void;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Button } from '../../styles/style.model';
|
2
2
|
import { RedirectionLinkType } from '../../styles/index';
|
3
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
3
|
+
import { MatDialog, 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,6 +9,7 @@ export declare class LinkEditorComponent {
|
|
9
9
|
dialogRef: MatDialogRef<LinkEditorComponent>;
|
10
10
|
data: any;
|
11
11
|
private eventService;
|
12
|
+
private matDialog;
|
12
13
|
link: Button;
|
13
14
|
RedirectionLink: typeof RedirectionLinkType;
|
14
15
|
externalLinkType: Array<type>;
|
@@ -19,7 +20,7 @@ export declare class LinkEditorComponent {
|
|
19
20
|
directionType: any[];
|
20
21
|
templatePage: any[];
|
21
22
|
addLink: boolean;
|
22
|
-
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService);
|
23
|
+
constructor(editorService: ElementServiceService, dialogRef: MatDialogRef<LinkEditorComponent>, data: any, eventService: EventsService, matDialog: MatDialog);
|
23
24
|
ngOnInit(): void;
|
24
25
|
closeDialog(): void;
|
25
26
|
getTemplatePage(): void;
|
@@ -29,10 +30,13 @@ export declare class LinkEditorComponent {
|
|
29
30
|
changeButtonStyle(): void;
|
30
31
|
getContrastTextColor(backgroundHex: any): void;
|
31
32
|
backgroundType: string[];
|
32
|
-
setBorderRadius(): "0px" | "
|
33
|
+
setBorderRadius(): "0px" | "7px" | "99px";
|
33
34
|
setBorder(): string;
|
34
35
|
setColor(): any;
|
35
36
|
setBackground(): any;
|
37
|
+
imgLoader: boolean;
|
38
|
+
updateImage(): Promise<void>;
|
39
|
+
deleteImage(): void;
|
36
40
|
setRedirectUrl(): void;
|
37
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkEditorComponent, never>;
|
38
42
|
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
|
}
|
@@ -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" | "0.2" | "0.3" | "0.5" | "0.7";
|
29
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
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" | "0.2" | "0.3" | "0.5" | "0.7";
|
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>;
|
@@ -29,6 +29,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
29
29
|
canShowContactField(field: any): any;
|
30
30
|
getCardStyle(): {};
|
31
31
|
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
32
|
+
getAlignment(): "justify-content-start" | "justify-content-end" | "justify-content-center";
|
32
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
33
34
|
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>;
|
34
35
|
}
|
@@ -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-end" | "justify-content-center";
|
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
|
}
|
@@ -17,7 +17,6 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
17
17
|
private readonly storageService;
|
18
18
|
private restService;
|
19
19
|
private eventService;
|
20
|
-
private platformId;
|
21
20
|
data?: HeaderSectionModel;
|
22
21
|
nextComponent: any;
|
23
22
|
index?: number;
|
@@ -34,7 +33,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
34
33
|
theme: typeof ProductCardTheme;
|
35
34
|
HeaderStyling: typeof Header_Type;
|
36
35
|
parentHeight: number;
|
37
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService
|
36
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService, restService: RestService, eventService: EventsService);
|
38
37
|
searchChangeTimeout: any;
|
39
38
|
waitBeforeSearch(): void;
|
40
39
|
searchProducts(): void;
|
@@ -52,6 +51,8 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
52
51
|
differ: any;
|
53
52
|
ngOnInit(): void;
|
54
53
|
ngAfterViewInit(): void;
|
54
|
+
passbookAppStatus: boolean;
|
55
|
+
checkPassbookApp(): void;
|
55
56
|
showSearchBarMobile: boolean;
|
56
57
|
isNavbarOpen: boolean;
|
57
58
|
screenWidth: number;
|
@@ -106,6 +107,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
106
107
|
getRGBA(bgColor: any, opacity: number): any;
|
107
108
|
showCategoryMobileHeader(): boolean;
|
108
109
|
byMetalAndStone: any;
|
110
|
+
navigateLogin(): void;
|
109
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
110
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>;
|
111
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,12 +24,13 @@ 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;
|
31
31
|
getScreenSize(event?: number): void;
|
32
32
|
editSection(): void;
|
33
|
+
getIconBackground(icon: any): any;
|
33
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<LogoShowcaseComponent, never>;
|
34
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<LogoShowcaseComponent, "simpo-logo-showcase", 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
36
|
}
|
@@ -21,7 +21,7 @@ export declare class NewTestimonialsComponent extends BaseSection {
|
|
21
21
|
idx: number;
|
22
22
|
getImageData(): import("../../styles/style.model").Image | undefined;
|
23
23
|
getImageUrl(): string | undefined;
|
24
|
-
getImageType(): "
|
24
|
+
getImageType(): "Video" | "Image";
|
25
25
|
editSection(): void;
|
26
26
|
stopPropagation(event: any): void;
|
27
27
|
screenWidth: any;
|
@@ -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-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
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ActionModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
1
|
+
import { ActionModel, BackgroundModel, Button, CardStyles, contentAnimationModel, DisplaySection, Icon, Image, InputTextModel, ListItemModal, StylesModel } from './../../styles/style.model';
|
2
2
|
export interface ServiceSectionModal {
|
3
3
|
id: string;
|
4
4
|
sectionType: string;
|
@@ -25,6 +25,7 @@ export interface ServiceStylesModel extends StylesModel, CardStyles {
|
|
25
25
|
export interface ServiceItemModal {
|
26
26
|
image: Image;
|
27
27
|
icon: Icon;
|
28
|
+
background: BackgroundModel;
|
28
29
|
inputText: InputTextModel[];
|
29
30
|
button: Button;
|
30
31
|
}
|