simpo-component-library 3.6.317 → 3.6.319
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 +2 -1
- 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 +3 -19
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +18 -227
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +14 -193
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +22 -179
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +31 -90
- 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 -3
- 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/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/header-section/header-section.component.mjs +3 -15
- 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/service-section/service-section.component.mjs +12 -9
- package/esm2022/lib/sections/service-section/service-section.model.mjs +1 -1
- package/esm2022/lib/services/rest.service.mjs +7 -80
- package/esm2022/lib/services/storage.service.mjs +1 -8
- package/esm2022/lib/styles/index.mjs +1 -2
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/public-api.mjs +1 -3
- package/fesm2022/simpo-component-library.mjs +943 -1954
- 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 +0 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +3 -41
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +3 -35
- 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 +2 -19
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +0 -4
- 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 +6 -2
- package/lib/sections/banner-grid-section/banner-grid-section.component.d.ts +1 -1
- package/lib/sections/contact-us/contact-us.component.d.ts +2 -1
- package/lib/sections/faq-section/faq-section.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +1 -4
- package/lib/sections/moving-text/moving-text.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/service-section/service-section.model.d.ts +2 -1
- package/lib/services/rest.service.d.ts +2 -18
- package/lib/services/storage.service.d.ts +0 -2
- package/lib/styles/index.d.ts +1 -2
- package/lib/styles/style.model.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -2
- package/simpo-component-library-3.6.319.tgz +0 -0
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +0 -37
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.mjs +0 -108
- package/esm2022/lib/ecommerce/sections/schemes/schemes.component.model.mjs +0 -2
- package/esm2022/lib/sections/scheme-detail/scheme-detail.component.mjs +0 -265
- package/esm2022/lib/sections/scheme-detail/scheme-detail.modal.mjs +0 -2
- package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +0 -14
- package/lib/ecommerce/sections/schemes/schemes.component.d.ts +0 -28
- package/lib/ecommerce/sections/schemes/schemes.component.model.d.ts +0 -21
- package/lib/sections/scheme-detail/scheme-detail.component.d.ts +0 -68
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +0 -17
- package/simpo-component-library-3.6.317.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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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(): "#ffffff" | "#000000" | "#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,7 +48,6 @@ export declare class AuthenticationRequiredComponent extends BaseSection {
|
|
48
48
|
proceedToCheckout: boolean;
|
49
49
|
proceedToEnrollment: boolean;
|
50
50
|
tryAtHome: boolean;
|
51
|
-
navigateToSchemeDetails: boolean;
|
52
51
|
ngOnInit(): void;
|
53
52
|
ngAfterViewInit(): void;
|
54
53
|
loginType: "PASSWORD" | "OTP";
|
@@ -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): "#ffffff" | "#000000";
|
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
|
}
|
@@ -109,7 +109,7 @@ 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): "#ffffff" | "#000000";
|
113
113
|
languages: string[];
|
114
114
|
selectedLang: string;
|
115
115
|
getClass(map: any): "col-4" | "col-6" | "col-3" | "width-max";
|
@@ -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): "#ffffff" | "#000000";
|
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,23 +1,10 @@
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
2
1
|
import BaseSection from '../../../sections/BaseSection';
|
3
2
|
import { ReturnsCalculatorModel, ReturnsCalculatorStyleModel } from './returns-calculator.model';
|
4
3
|
import { LayOutModel } from '../../../styles/style.model';
|
5
4
|
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';
|
11
5
|
import * as i0 from "@angular/core";
|
12
6
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
13
7
|
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>;
|
21
8
|
data?: ReturnsCalculatorModel;
|
22
9
|
edit?: boolean;
|
23
10
|
customClass?: string;
|
@@ -28,23 +15,10 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
28
15
|
monthlyAmount: number;
|
29
16
|
maxAmount: number;
|
30
17
|
minAmount: number;
|
31
|
-
|
32
|
-
purchasedGram: number;
|
33
|
-
currentGoldRate: number;
|
34
|
-
termsAndCondition: boolean;
|
35
|
-
constructor(_eventService: EventsService, restService: RestService, matDialog: MatDialog, storageService: StorageServiceService, router: Router, messageService: MessageService);
|
18
|
+
constructor(_eventService: EventsService);
|
36
19
|
ngOnInit(): void;
|
37
|
-
|
38
|
-
enrolledScheme: any;
|
39
|
-
selectedStore: any;
|
40
|
-
selectedStaff: any;
|
41
|
-
stores: any[];
|
42
|
-
staffMembers: any[];
|
43
|
-
onSchemeChange(scheme: any): void;
|
44
|
-
benefitAmount: number;
|
20
|
+
onSchemeChange(): void;
|
45
21
|
onAmountChange(): void;
|
46
|
-
getStaffList(): void;
|
47
|
-
setMonthlyAmount(amount: number): void;
|
48
22
|
get individualContribution(): number;
|
49
23
|
get orraBonus(): number;
|
50
24
|
get totalRedemptionValue(): number;
|
@@ -54,19 +28,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
54
28
|
getButtonId(index: number): string;
|
55
29
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
56
30
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
57
|
-
redirectTo(
|
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;
|
31
|
+
redirectTo(data: any): void;
|
70
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
71
33
|
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>;
|
72
34
|
}
|
@@ -1,48 +1,16 @@
|
|
1
|
-
import { EventEmitter, OnInit
|
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';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
7
2
|
import * as i0 from "@angular/core";
|
8
3
|
export declare class SchemeDetailsComponent implements OnInit {
|
9
|
-
private storageService;
|
10
|
-
private restService;
|
11
|
-
private matDialog;
|
12
|
-
private readonly _eventService;
|
13
|
-
private readonly router;
|
14
4
|
schemeDetails: any;
|
15
|
-
data: any;
|
16
|
-
metalPrice: any;
|
17
5
|
gotoSchemeOverview: EventEmitter<void>;
|
18
|
-
|
19
|
-
slabListTemplate: TemplateRef<HTMLDivElement>;
|
20
|
-
constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
6
|
+
constructor();
|
21
7
|
ngOnInit(): void;
|
22
|
-
styles: any;
|
23
8
|
screenWidth: any;
|
24
|
-
redeemRequestLoader: boolean;
|
25
|
-
paidMonth: number;
|
26
|
-
goldDeducted: number;
|
27
9
|
getScreenSize(event?: any): void;
|
28
10
|
paymentData: any[];
|
29
11
|
getPaymentScheme(): void;
|
30
12
|
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;
|
43
13
|
goBack(): void;
|
44
|
-
calculateGoldDeduction(): void;
|
45
|
-
calculateEnrollmentFee(): void;
|
46
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
47
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; };
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SchemeDetailsComponent, "simpo-scheme-details", never, { "schemeDetails": { "alias": "schemeDetails"; "required": false; }; }, { "gotoSchemeOverview": "gotoSchemeOverview"; }, never, never, true, never>;
|
48
16
|
}
|
@@ -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): "#ffffff" | "#000000" | "#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): "#ffffff" | "#000000" | "#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
|
1
|
+
import { OnInit } 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,7 +26,6 @@ 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>;
|
30
29
|
data?: UserProfileModal;
|
31
30
|
index?: number;
|
32
31
|
edit?: boolean;
|
@@ -40,32 +39,17 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
40
39
|
addressList: any;
|
41
40
|
orderDetailsData: any;
|
42
41
|
schemeDetails: any;
|
43
|
-
storeListing: any[];
|
44
|
-
metalPrice: any;
|
45
42
|
sidePanelList: Tabs[];
|
46
43
|
tabs: Tabs[];
|
47
44
|
orderList: OrderedItems[];
|
48
45
|
wishlistData: OrderedItems[];
|
49
|
-
storeId: any;
|
50
46
|
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;
|
61
47
|
ecomConfigs: any;
|
62
48
|
getEcommerceConfigs(): void;
|
63
49
|
getUserOrderDetails(): void;
|
64
|
-
|
65
|
-
totalAccumulatedGold: number;
|
50
|
+
passbookSummary: any;
|
66
51
|
userEnrollments: any[];
|
67
52
|
paymentData: any[];
|
68
|
-
totalSchemes: any[];
|
69
53
|
getAllSchemes(): void;
|
70
54
|
getUserWislistDetails(): void;
|
71
55
|
deleteFromWhislist(product: OrderedItems): void;
|
@@ -99,7 +83,6 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
99
83
|
private convertHEX;
|
100
84
|
get currency(): string;
|
101
85
|
getOrderedItems(order: any): any;
|
102
|
-
changeStore(ev: any): void;
|
103
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
104
87
|
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>;
|
105
88
|
}
|
@@ -22,18 +22,14 @@ 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';
|
26
25
|
constructor(restService: RestService, router: Router, storageService: StorageServiceService, messageService: MessageService, _eventService: EventsService);
|
27
26
|
loadingText: string;
|
28
27
|
private API_COUNT;
|
29
28
|
private MAX_API_COUNT;
|
30
|
-
private PASSBOOK_API_COUNT;
|
31
|
-
private MAX_PASSBOOK_API_COUNT;
|
32
29
|
ngOnInit(): void;
|
33
30
|
get getImageUrl(): string | undefined;
|
34
31
|
get isMobile(): boolean;
|
35
32
|
checkPaymentStatus(): void;
|
36
|
-
checkPassbookPaymentStatus(): void;
|
37
33
|
editSection(): void;
|
38
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
|
39
35
|
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;
|
@@ -33,6 +34,9 @@ export declare class LinkEditorComponent {
|
|
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>;
|
@@ -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): "#ffffff" | "#000000" | "#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,7 +28,8 @@ 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): "#
|
31
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#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
|
}
|
@@ -51,8 +51,6 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
51
51
|
differ: any;
|
52
52
|
ngOnInit(): void;
|
53
53
|
ngAfterViewInit(): void;
|
54
|
-
passbookAppStatus: boolean;
|
55
|
-
checkPassbookApp(): void;
|
56
54
|
showSearchBarMobile: boolean;
|
57
55
|
isNavbarOpen: boolean;
|
58
56
|
screenWidth: number;
|
@@ -84,7 +82,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
84
82
|
get userGender(): import("../../ecommerce/styles/user.modal").GENDER | null;
|
85
83
|
get getNavbarButton(): any[];
|
86
84
|
isScrolled: boolean;
|
87
|
-
setColor(): "#
|
85
|
+
setColor(): "#ffffff" | "#000000";
|
88
86
|
showList: boolean;
|
89
87
|
showCollections: boolean;
|
90
88
|
categoryList: any;
|
@@ -107,7 +105,6 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
107
105
|
getRGBA(bgColor: any, opacity: number): any;
|
108
106
|
showCategoryMobileHeader(): boolean;
|
109
107
|
byMetalAndStone: any;
|
110
|
-
navigateLogin(): void;
|
111
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderSectionComponent, never>;
|
112
109
|
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>;
|
113
110
|
}
|
@@ -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): "#ffffff" | "#000000";
|
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,7 +18,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
20
|
get stylesLayout(): LayOutModel;
|
21
|
-
getTextColor(): "#
|
21
|
+
getTextColor(): "#ffffff" | "#000000";
|
22
22
|
get headingSpace(): SPACING;
|
23
23
|
getButtonId(): string;
|
24
24
|
editSection(): void;
|
@@ -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
|
}
|
@@ -4,28 +4,24 @@ 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";
|
8
7
|
import * as i0 from "@angular/core";
|
9
8
|
export declare class RestService implements OnDestroy {
|
10
9
|
private readonly http;
|
11
10
|
private BASE_URL;
|
12
11
|
private ECOMMERCE_URL;
|
13
12
|
private CMIS_URL;
|
14
|
-
private readonly cookieService;
|
15
13
|
private environmentTypeSubscriber;
|
16
14
|
businessDetails: any;
|
17
15
|
subIndustryName: any;
|
18
16
|
isJewellery: boolean;
|
19
|
-
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string
|
17
|
+
constructor(http: HttpClient, BASE_URL: string, ECOMMERCE_URL: string, CMIS_URL: string);
|
20
18
|
orraBaseUrl: string;
|
21
|
-
passBookUrl: string;
|
22
19
|
getBusinessDetails(): void;
|
23
20
|
ngOnDestroy(): void;
|
24
21
|
getFeaturedProduct(collectionId: string | undefined | null): Observable<any>;
|
25
22
|
getCategoriesByCollectionId(collectionId: string): Observable<any>;
|
26
|
-
getPassbookOrderStatus(orderId: any): Observable<Object>;
|
27
23
|
getProductBySelectedCategory(categoryId: string): Observable<Object>;
|
28
|
-
getAllSchemes(
|
24
|
+
getAllSchemes(userCode?: any): any;
|
29
25
|
getAllRedemptionSchemes(): Observable<Object>;
|
30
26
|
getProductDetails(productId?: string | null): Observable<any>;
|
31
27
|
getCollectionByIds(collectionIds: string[]): Observable<any>;
|
@@ -108,18 +104,6 @@ export declare class RestService implements OnDestroy {
|
|
108
104
|
redeemScheme(scheme: string, cartId: any, action: boolean): Observable<Object>;
|
109
105
|
getReviewsByProductId(productId: string, pageNumber: number): Observable<Object>;
|
110
106
|
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>;
|
122
|
-
getMetalPrice(storeId: any): Observable<Object>;
|
123
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
124
108
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
125
109
|
}
|
@@ -25,8 +25,6 @@ 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;
|
30
28
|
updateAllData(): void;
|
31
29
|
mergeAllItems(unSyncedItem: any[], syncedItem: any[]): any[];
|
32
30
|
getUserCart(): Promise<IDBRequest<OrderedItems[]>>;
|
package/lib/styles/index.d.ts
CHANGED
@@ -65,6 +65,7 @@ export interface BackgroundModel {
|
|
65
65
|
secondaryColor: string;
|
66
66
|
backgroundGradientDirection: GRADIENT_DIRECTION;
|
67
67
|
backgroundAnimation?: BACKGROUND_ANIMATION;
|
68
|
+
showBackground?: boolean;
|
68
69
|
}
|
69
70
|
export interface AnimationModel {
|
70
71
|
type: ANIMATION_DIRECTION;
|
@@ -100,6 +101,8 @@ export interface Button {
|
|
100
101
|
redirectionUrl: string;
|
101
102
|
pageId: string;
|
102
103
|
newTab: boolean;
|
104
|
+
showIcon?: boolean;
|
105
|
+
icon?: Icon | any;
|
103
106
|
}
|
104
107
|
export interface NavbarButton {
|
105
108
|
label: string;
|
@@ -175,6 +178,10 @@ export interface Icon {
|
|
175
178
|
color: string;
|
176
179
|
showBackground?: boolean;
|
177
180
|
backgroundColor?: string;
|
181
|
+
backgroundType?: BACKGROUND_TYPE;
|
182
|
+
secondaryColor?: string;
|
183
|
+
backgroundGradientDirection?: GRADIENT_DIRECTION;
|
184
|
+
iconPosition?: 'left' | 'right';
|
178
185
|
}
|
179
186
|
export interface ButtonStyleModel {
|
180
187
|
type: BUTTON_TYPE;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -42,8 +42,6 @@ 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';
|
47
45
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
48
46
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
49
47
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|