simpo-component-library 3.6.311 → 3.6.313
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 +19 -192
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +14 -169
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +21 -163
- 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 +26 -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/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 -77
- 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 +901 -1801
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/authentication-required/authentication-required.component.d.ts +0 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +3 -32
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +3 -30
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +2 -17
- 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/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +0 -3
- 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/service-section/service-section.model.d.ts +2 -1
- package/lib/services/rest.service.d.ts +2 -17
- 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.313.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 -223
- 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 -58
- package/lib/sections/scheme-detail/scheme-detail.modal.d.ts +0 -17
- package/simpo-component-library-3.6.311.tgz +0 -0
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";
|
@@ -1,21 +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
5
|
import * as i0 from "@angular/core";
|
11
6
|
export declare class ReturnsCalculatorComponent extends BaseSection {
|
12
7
|
private readonly _eventService;
|
13
|
-
private restService;
|
14
|
-
private matDialog;
|
15
|
-
private storageService;
|
16
|
-
private readonly router;
|
17
|
-
showChargesTemplate: TemplateRef<HTMLDivElement>;
|
18
|
-
dialogRef: MatDialogRef<any>;
|
19
8
|
data?: ReturnsCalculatorModel;
|
20
9
|
edit?: boolean;
|
21
10
|
customClass?: string;
|
@@ -26,19 +15,10 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
26
15
|
monthlyAmount: number;
|
27
16
|
maxAmount: number;
|
28
17
|
minAmount: number;
|
29
|
-
constructor(_eventService: EventsService
|
18
|
+
constructor(_eventService: EventsService);
|
30
19
|
ngOnInit(): void;
|
31
|
-
|
32
|
-
enrolledScheme: any;
|
33
|
-
selectedStore: any;
|
34
|
-
selectedStaff: any;
|
35
|
-
stores: any[];
|
36
|
-
staffMembers: any[];
|
37
|
-
onSchemeChange(scheme: any): void;
|
38
|
-
benefitAmount: number;
|
20
|
+
onSchemeChange(): void;
|
39
21
|
onAmountChange(): void;
|
40
|
-
getStaffList(): void;
|
41
|
-
setMonthlyAmount(amount: number): void;
|
42
22
|
get individualContribution(): number;
|
43
23
|
get orraBonus(): number;
|
44
24
|
get totalRedemptionValue(): number;
|
@@ -48,16 +28,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
48
28
|
getButtonId(index: number): string;
|
49
29
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
50
30
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
51
|
-
redirectTo(
|
52
|
-
closeDialog(action: 'SUCCESS' | 'FAIL'): void;
|
53
|
-
storeCharges: any;
|
54
|
-
enrollButtonLoader: boolean;
|
55
|
-
enrollScheme(scheme: any): void;
|
56
|
-
continuePayment(payload: any): void;
|
57
|
-
allSchemes: any[];
|
58
|
-
getEnrolledSchemes(): void;
|
59
|
-
installmentOptions: number[];
|
60
|
-
openCashfreeSdk(sessionId: string): void;
|
31
|
+
redirectTo(data: any): void;
|
61
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
62
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>;
|
63
34
|
}
|
@@ -1,43 +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
5
|
gotoSchemeOverview: EventEmitter<void>;
|
17
|
-
|
18
|
-
slabListTemplate: TemplateRef<HTMLDivElement>;
|
19
|
-
constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService, router: Router);
|
6
|
+
constructor();
|
20
7
|
ngOnInit(): void;
|
21
|
-
styles: any;
|
22
8
|
screenWidth: any;
|
23
|
-
redeemRequestLoader: boolean;
|
24
9
|
getScreenSize(event?: any): void;
|
25
10
|
paymentData: any[];
|
26
11
|
getPaymentScheme(): void;
|
27
12
|
getDueDate(paymentDate: string | Date): number | null;
|
28
|
-
storeCharges: any;
|
29
|
-
closeDialog(): void;
|
30
|
-
paymentLoader: boolean;
|
31
|
-
payDuePayment(passBook: any): void;
|
32
|
-
continuePayment(payload: any): void;
|
33
|
-
openCashfreeSdk(sessionId: string): void;
|
34
|
-
showBenefitSlab(): void;
|
35
|
-
getAllSchemes(): void;
|
36
|
-
confirmBtnLoader: boolean;
|
37
|
-
confirmRequest(): void;
|
38
|
-
slabDetails: any[];
|
39
|
-
getvalidSlabList(): void;
|
40
13
|
goBack(): void;
|
41
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
42
|
-
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>;
|
43
16
|
}
|
@@ -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,30 +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
42
|
sidePanelList: Tabs[];
|
45
43
|
tabs: Tabs[];
|
46
44
|
orderList: OrderedItems[];
|
47
45
|
wishlistData: OrderedItems[];
|
48
|
-
storeId: any;
|
49
46
|
ngOnInit(): void;
|
50
|
-
checkPassbookApp(): void;
|
51
|
-
closeDialog(): void;
|
52
|
-
storeCharges: any;
|
53
|
-
payDueLoader: boolean;
|
54
|
-
payDue(payment: any): void;
|
55
|
-
continuePayment(payload: any): void;
|
56
|
-
openCashfreeSdk(sessionId: string): void;
|
57
|
-
overAllDues: any[];
|
58
|
-
getAllPassbookDues(): void;
|
59
|
-
getAllStores(): void;
|
60
47
|
ecomConfigs: any;
|
61
48
|
getEcommerceConfigs(): void;
|
62
49
|
getUserOrderDetails(): void;
|
63
|
-
|
50
|
+
passbookSummary: any;
|
64
51
|
userEnrollments: any[];
|
65
52
|
paymentData: any[];
|
66
|
-
totalSchemes: any[];
|
67
53
|
getAllSchemes(): void;
|
68
54
|
getUserWislistDetails(): void;
|
69
55
|
deleteFromWhislist(product: OrderedItems): void;
|
@@ -97,7 +83,6 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
97
83
|
private convertHEX;
|
98
84
|
get currency(): string;
|
99
85
|
getOrderedItems(order: any): any;
|
100
|
-
changeStore(ev: any): void;
|
101
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
102
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>;
|
103
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>;
|
@@ -15,7 +15,7 @@ export declare class PricingS1Component extends BaseSection {
|
|
15
15
|
editSection(): void;
|
16
16
|
getButtonId(): string;
|
17
17
|
redirectTo(): void;
|
18
|
-
getClass(): "col-
|
18
|
+
getClass(): "col-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
|
29
|
-
opacityValue(value: OverlayValue): "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
|
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>;
|
@@ -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;
|
@@ -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
|
}
|
@@ -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
|
}
|
@@ -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,17 +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
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
123
108
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
124
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
|
package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
import { CommonModule } from '@angular/common';
|
2
|
-
import { Component } from '@angular/core';
|
3
|
-
import * as i0 from "@angular/core";
|
4
|
-
import * as i1 from "../../../services/storage.service";
|
5
|
-
import * as i2 from "../../../services/rest.service";
|
6
|
-
import * as i3 from "@angular/common";
|
7
|
-
export class PassbookTransactionsComponent {
|
8
|
-
constructor(storageService, restService) {
|
9
|
-
this.storageService = storageService;
|
10
|
-
this.restService = restService;
|
11
|
-
this.allTransactions = [];
|
12
|
-
}
|
13
|
-
ngOnInit() {
|
14
|
-
this.getAllTransactions();
|
15
|
-
}
|
16
|
-
getAllTransactions() {
|
17
|
-
const userDetails = this.storageService.getUser();
|
18
|
-
const userId = userDetails?.userId;
|
19
|
-
let payload = {
|
20
|
-
id: userId,
|
21
|
-
businessId: localStorage.getItem('bId'),
|
22
|
-
isPagination: false
|
23
|
-
};
|
24
|
-
this.restService.getAllTransactions(payload).subscribe((res) => {
|
25
|
-
if (res) {
|
26
|
-
this.allTransactions = res?.data?.data;
|
27
|
-
}
|
28
|
-
});
|
29
|
-
}
|
30
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PassbookTransactionsComponent, deps: [{ token: i1.StorageServiceService }, { token: i2.RestService }], target: i0.ɵɵFactoryTarget.Component }); }
|
31
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: PassbookTransactionsComponent, isStandalone: true, selector: "simpo-passbook-transactions", ngImport: i0, template: "<section class=\"total-container p-2 h-100\">\r\n <div class=\"d-flex text-start fs-20 lh-28 fw-bold clr-primary mb-3 p-1\">\r\n Transactions\r\n </div>\r\n <div class=\"transactions h-100 overflow-scroll p-1\">\r\n <div class=\"transaction w-100 p-3 d-flex justify-content-between align-items-center bx-shd mb-3\"\r\n *ngFor=\"let transaction of allTransactions\">\r\n <div class=\"left d-flex align-items-center gap-3\">\r\n <div class=\"d-flex\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/558782c1755619706471Group 1707484906.png\"\r\n alt=\"load\">\r\n </div>\r\n <div class=\"d-flex flex-column\">\r\n <div class=\"top lh-20 fw-bold clr-primary\">{{transaction?.emiMonthCount ? transaction?.emiMonthCount\r\n : 'N/A' }} Instalment Paid</div>\r\n <div class=\"bottom d-flex gap-2\">\r\n <div class=\"fs-14 lh-20 clr-secondary fw-bold\">{{transaction?.paidDate ? (transaction?.paidDate\r\n | date : 'dd-MM-yyy') : 'N/A'}}</div>\r\n <div class=\"fs-14 lh-20 clr-secondary fw-bold\"> \r\n • {{transaction?.planName ? transaction?.planName : 'N/A'}}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex text-end\">\r\n <div class=\"fs-18 lh-28 fw-bold clr-primary\">\u20B9 {{transaction?.paidAmount ? transaction?.paidAmount :\r\n 'N/A'}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n</section>", styles: ["*{font-family:var(--website-font-family)}.fs-20{font-size:20px}.fs-18{font-size:18px}.fs-14{font-size:14px}.lh-28{line-height:28px}.lh-20{line-height:20px}.clr-primary{color:#020817}.clr-secondary{color:#0006}.bx-shd{box-shadow:#63636333 0 2px 8px;border-radius:8px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: i3.DatePipe, name: "date" }] }); }
|
32
|
-
}
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: PassbookTransactionsComponent, decorators: [{
|
34
|
-
type: Component,
|
35
|
-
args: [{ selector: 'simpo-passbook-transactions', standalone: true, imports: [CommonModule], template: "<section class=\"total-container p-2 h-100\">\r\n <div class=\"d-flex text-start fs-20 lh-28 fw-bold clr-primary mb-3 p-1\">\r\n Transactions\r\n </div>\r\n <div class=\"transactions h-100 overflow-scroll p-1\">\r\n <div class=\"transaction w-100 p-3 d-flex justify-content-between align-items-center bx-shd mb-3\"\r\n *ngFor=\"let transaction of allTransactions\">\r\n <div class=\"left d-flex align-items-center gap-3\">\r\n <div class=\"d-flex\">\r\n <img src=\"https://d2z9497xp8xb12.cloudfront.net/prod-images/558782c1755619706471Group 1707484906.png\"\r\n alt=\"load\">\r\n </div>\r\n <div class=\"d-flex flex-column\">\r\n <div class=\"top lh-20 fw-bold clr-primary\">{{transaction?.emiMonthCount ? transaction?.emiMonthCount\r\n : 'N/A' }} Instalment Paid</div>\r\n <div class=\"bottom d-flex gap-2\">\r\n <div class=\"fs-14 lh-20 clr-secondary fw-bold\">{{transaction?.paidDate ? (transaction?.paidDate\r\n | date : 'dd-MM-yyy') : 'N/A'}}</div>\r\n <div class=\"fs-14 lh-20 clr-secondary fw-bold\"> \r\n • {{transaction?.planName ? transaction?.planName : 'N/A'}}\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"d-flex text-end\">\r\n <div class=\"fs-18 lh-28 fw-bold clr-primary\">\u20B9 {{transaction?.paidAmount ? transaction?.paidAmount :\r\n 'N/A'}}</div>\r\n </div>\r\n </div>\r\n </div>\r\n</section>", styles: ["*{font-family:var(--website-font-family)}.fs-20{font-size:20px}.fs-18{font-size:18px}.fs-14{font-size:14px}.lh-28{line-height:28px}.lh-20{line-height:20px}.clr-primary{color:#020817}.clr-secondary{color:#0006}.bx-shd{box-shadow:#63636333 0 2px 8px;border-radius:8px}\n"] }]
|
36
|
-
}], ctorParameters: () => [{ type: i1.StorageServiceService }, { type: i2.RestService }] });
|
37
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc2Jvb2stdHJhbnNhY3Rpb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZWNvbW1lcmNlL3NlY3Rpb25zL3Bhc3Nib29rLXRyYW5zYWN0aW9ucy9wYXNzYm9vay10cmFuc2FjdGlvbnMuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9lY29tbWVyY2Uvc2VjdGlvbnMvcGFzc2Jvb2stdHJhbnNhY3Rpb25zL3Bhc3Nib29rLXRyYW5zYWN0aW9ucy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQzs7Ozs7QUFXbEQsTUFBTSxPQUFPLDZCQUE2QjtJQUN4QyxZQUNVLGNBQXFDLEVBQ3JDLFdBQXdCO1FBRHhCLG1CQUFjLEdBQWQsY0FBYyxDQUF1QjtRQUNyQyxnQkFBVyxHQUFYLFdBQVcsQ0FBYTtRQXFCbEMsb0JBQWUsR0FBTyxFQUFFLENBQUM7SUFwQnJCLENBQUM7SUFFTCxRQUFRO1FBQ04sSUFBSSxDQUFDLGtCQUFrQixFQUFFLENBQUM7SUFDNUI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