simpo-component-library 3.8.5 → 3.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +34 -27
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +78 -41
- package/esm2022/lib/sections/header-section/header-section.component.mjs +3 -3
- package/fesm2022/simpo-component-library.mjs +229 -184
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/cart/cart.component.d.ts +1 -0
- package/lib/ecommerce/sections/featured-brand/featured-brand.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-category.component.d.ts +1 -1
- package/lib/ecommerce/sections/featured-category/featured-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/new-collection/new-collection.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +22 -8
- package/lib/sections/image-grid-hotspot/image-grid-hotspot.component.d.ts +1 -1
- package/lib/sections/image-grid-section/image-grid-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.8.7.tgz +0 -0
- package/simpo-component-library-3.8.5.tgz +0 -0
|
@@ -135,6 +135,7 @@ export declare class CartComponent extends BaseSection implements OnInit, OnDest
|
|
|
135
135
|
selectedVoucherPercentage: any;
|
|
136
136
|
percentageReduced: any;
|
|
137
137
|
couponValueType: string;
|
|
138
|
+
isLoggedInForCoupons: boolean;
|
|
138
139
|
addRedemptionCoupon(container: any): void;
|
|
139
140
|
applyRedemptionCoupon(voucher: any): void;
|
|
140
141
|
removeRedemptionCoupon(event?: Event): void;
|
|
@@ -36,7 +36,7 @@ export declare class FeaturedBrandComponent extends BaseSection {
|
|
|
36
36
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
37
37
|
get stylesLayout(): LayOutModel;
|
|
38
38
|
get isMobile(): boolean;
|
|
39
|
-
getJustifyContent():
|
|
39
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedBrandComponent, never>;
|
|
41
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedBrandComponent, "simpo-featured-brand", 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>;
|
|
42
42
|
}
|
|
@@ -37,7 +37,7 @@ export declare class FeaturedCategoryComponent extends BaseSection {
|
|
|
37
37
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
38
38
|
get stylesLayout(): LayOutModel;
|
|
39
39
|
get isMobile(): boolean;
|
|
40
|
-
getJustifyContent():
|
|
40
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
41
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCategoryComponent, never>;
|
|
42
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCategoryComponent, "simpo-featured-category", 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>;
|
|
43
43
|
}
|
|
@@ -32,7 +32,7 @@ export declare class FeaturedCollectionComponent extends BaseSection {
|
|
|
32
32
|
get getDirection(): "ROW" | "COLUMN" | undefined;
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
|
-
getJustifyContent():
|
|
35
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FeaturedCollectionComponent, never>;
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FeaturedCollectionComponent, "simpo-featured-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>;
|
|
38
38
|
}
|
|
@@ -33,7 +33,7 @@ export declare class NewCollectionComponent extends BaseSection {
|
|
|
33
33
|
get isMobile(): boolean;
|
|
34
34
|
editSection(): void;
|
|
35
35
|
getColor(color: any): "#000000" | "#ffffff";
|
|
36
|
-
getJustifyContent():
|
|
36
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewCollectionComponent, never>;
|
|
38
38
|
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>;
|
|
39
39
|
}
|
|
@@ -1,23 +1,18 @@
|
|
|
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
5
|
import { RestService } from '../../../services/rest.service';
|
|
7
6
|
import { StorageServiceService } from '../../../services/storage.service';
|
|
8
|
-
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
9
7
|
import { Router } from '@angular/router';
|
|
10
8
|
import { MessageService } from 'primeng/api';
|
|
11
9
|
import * as i0 from "@angular/core";
|
|
12
10
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
13
11
|
private readonly _eventService;
|
|
14
12
|
private restService;
|
|
15
|
-
private matDialog;
|
|
16
13
|
private storageService;
|
|
17
14
|
private readonly router;
|
|
18
15
|
private readonly messageService;
|
|
19
|
-
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
|
20
|
-
dialogRef: MatDialogRef<any>;
|
|
21
16
|
data?: ReturnsCalculatorModel;
|
|
22
17
|
edit?: boolean;
|
|
23
18
|
customClass?: string;
|
|
@@ -32,7 +27,26 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
|
32
27
|
purchasedGram: number;
|
|
33
28
|
currentGoldRate: number;
|
|
34
29
|
termsAndCondition: boolean;
|
|
35
|
-
|
|
30
|
+
demoMinPremium: number;
|
|
31
|
+
demoMaxPremium: number;
|
|
32
|
+
demoMonthlyPremium: number;
|
|
33
|
+
demoGiftTiers: {
|
|
34
|
+
amount: number;
|
|
35
|
+
title: string;
|
|
36
|
+
subtitle: string;
|
|
37
|
+
}[];
|
|
38
|
+
demoGiftTierPercent(amount: number): number;
|
|
39
|
+
isDemoGiftTierActive(tier: {
|
|
40
|
+
amount: number;
|
|
41
|
+
}, index: number): boolean;
|
|
42
|
+
selectedSchemeCardIndex: number | null;
|
|
43
|
+
selectSchemeCard(i: number): void;
|
|
44
|
+
private readonly schemeSubtitleByType;
|
|
45
|
+
getSchemeSubtitle(scheme: any): string;
|
|
46
|
+
getSchemeBadge(scheme: any): string;
|
|
47
|
+
getSchemeBullets(scheme: any): string[];
|
|
48
|
+
getSchemeIcon(scheme: any): string;
|
|
49
|
+
constructor(_eventService: EventsService, restService: RestService, storageService: StorageServiceService, router: Router, messageService: MessageService);
|
|
36
50
|
ngOnInit(): void;
|
|
37
51
|
maturityCount: number;
|
|
38
52
|
enrolledScheme: any;
|
|
@@ -42,6 +56,8 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
|
42
56
|
staffMembers: any[];
|
|
43
57
|
onSchemeChange(scheme: any): void;
|
|
44
58
|
benefitAmount: number;
|
|
59
|
+
get totalContribution(): number;
|
|
60
|
+
get totalBenefitValue(): number;
|
|
45
61
|
onAmountChange(): void;
|
|
46
62
|
getStaffList(): void;
|
|
47
63
|
setMonthlyAmount(amount: any): void;
|
|
@@ -55,8 +71,6 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
|
55
71
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
|
56
72
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
|
57
73
|
redirectTo(scheme: any): void;
|
|
58
|
-
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
|
59
|
-
storeCharges: any;
|
|
60
74
|
enrollButtonLoader: boolean;
|
|
61
75
|
enrollScheme(scheme: any): void;
|
|
62
76
|
continuePayment(payload: any): void;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridHotspotComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
|
@@ -23,7 +23,7 @@ export declare class ImageGridSectionComponent extends BaseSection {
|
|
|
23
23
|
get headingSpace(): SPACING;
|
|
24
24
|
editSection(): void;
|
|
25
25
|
getLength(): number;
|
|
26
|
-
getJustifyContent():
|
|
26
|
+
getJustifyContent(): import("simpo-component-library").ALIGN | "" | "flex-start";
|
|
27
27
|
private get scrollStep();
|
|
28
28
|
scrollRight(): void;
|
|
29
29
|
isOverflowing: boolean;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|