simpo-component-library 3.6.269 → 3.6.272
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/merge-header.directive.mjs +7 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +1 -11
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +6 -4
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/returns-calculator/returns-calculator.component.mjs +19 -181
- package/esm2022/lib/ecommerce/sections/scheme-details/scheme-details.component.mjs +11 -132
- package/esm2022/lib/ecommerce/sections/small-product-listing/small-product-listing.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +21 -150
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +2 -43
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +4 -15
- package/esm2022/lib/sections/logo-showcase/logo-showcase.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +6 -73
- package/esm2022/lib/services/storage.service.mjs +1 -8
- package/fesm2022/simpo-component-library.mjs +73 -634
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +1 -1
- package/lib/ecommerce/sections/returns-calculator/returns-calculator.component.d.ts +3 -31
- package/lib/ecommerce/sections/scheme-details/scheme-details.component.d.ts +3 -24
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +2 -16
- package/lib/ecommerce/sections/verify-payment/verify-payment.component.d.ts +0 -3
- package/lib/elements/pricing-s1/pricing-s1.component.d.ts +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +0 -3
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/rest.service.d.ts +2 -16
- package/lib/services/storage.service.d.ts +0 -2
- package/package.json +1 -1
- package/simpo-component-library-3.6.272.tgz +0 -0
- package/esm2022/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.mjs +0 -37
- package/lib/ecommerce/sections/passbook-transactions/passbook-transactions.component.d.ts +0 -14
- package/simpo-component-library-3.6.269.tgz +0 -0
@@ -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,20 +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 } 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
8
|
data?: ReturnsCalculatorModel;
|
19
9
|
edit?: boolean;
|
20
10
|
customClass?: string;
|
@@ -25,19 +15,10 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
25
15
|
monthlyAmount: number;
|
26
16
|
maxAmount: number;
|
27
17
|
minAmount: number;
|
28
|
-
constructor(_eventService: EventsService
|
18
|
+
constructor(_eventService: EventsService);
|
29
19
|
ngOnInit(): void;
|
30
|
-
|
31
|
-
enrolledScheme: any;
|
32
|
-
selectedStore: any;
|
33
|
-
selectedStaff: any;
|
34
|
-
stores: any[];
|
35
|
-
staffMembers: any[];
|
36
|
-
onSchemeChange(scheme: any): void;
|
37
|
-
benefitAmount: number;
|
20
|
+
onSchemeChange(): void;
|
38
21
|
onAmountChange(): void;
|
39
|
-
getStaffList(): void;
|
40
|
-
setMonthlyAmount(amount: number): void;
|
41
22
|
get individualContribution(): number;
|
42
23
|
get orraBonus(): number;
|
43
24
|
get totalRedemptionValue(): number;
|
@@ -47,16 +28,7 @@ export declare class ReturnsCalculatorComponent extends BaseSection {
|
|
47
28
|
getButtonId(index: number): string;
|
48
29
|
getButtonStyle(index: number): import("../../../styles/style.model").ButtonStyleModel | undefined;
|
49
30
|
getButtonData(index: number): import("../../../styles/style.model").Button | undefined;
|
50
|
-
redirectTo(
|
51
|
-
closeDialog(): void;
|
52
|
-
storeCharges: any;
|
53
|
-
enrollButtonLoader: boolean;
|
54
|
-
enrollScheme(scheme: any): void;
|
55
|
-
continuePayment(payload: any): void;
|
56
|
-
allSchemes: any[];
|
57
|
-
getEnrolledSchemes(): void;
|
58
|
-
installmentOptions: number[];
|
59
|
-
openCashfreeSdk(sessionId: string): void;
|
31
|
+
redirectTo(data: any): void;
|
60
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReturnsCalculatorComponent, never>;
|
61
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>;
|
62
34
|
}
|
@@ -1,37 +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';
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
6
2
|
import * as i0 from "@angular/core";
|
7
3
|
export declare class SchemeDetailsComponent implements OnInit {
|
8
|
-
private storageService;
|
9
|
-
private restService;
|
10
|
-
private matDialog;
|
11
|
-
private readonly _eventService;
|
12
4
|
schemeDetails: any;
|
13
|
-
data: any;
|
14
5
|
gotoSchemeOverview: EventEmitter<void>;
|
15
|
-
|
16
|
-
slabListTemplate: TemplateRef<HTMLDivElement>;
|
17
|
-
constructor(storageService: StorageServiceService, restService: RestService, matDialog: MatDialog, _eventService: EventsService);
|
6
|
+
constructor();
|
18
7
|
ngOnInit(): void;
|
19
|
-
styles: any;
|
20
8
|
screenWidth: any;
|
21
9
|
getScreenSize(event?: any): void;
|
22
10
|
paymentData: any[];
|
23
11
|
getPaymentScheme(): void;
|
24
12
|
getDueDate(paymentDate: string | Date): number | null;
|
25
|
-
storeCharges: any;
|
26
|
-
closeDialog(): void;
|
27
|
-
payDuePayment(passBook: any): void;
|
28
|
-
continuePayment(payload: any): void;
|
29
|
-
openCashfreeSdk(sessionId: string): void;
|
30
|
-
showBenefitSlab(): void;
|
31
|
-
confirmRequest(): void;
|
32
|
-
slabDetails: any[];
|
33
|
-
getvalidSlabList(): void;
|
34
13
|
goBack(): void;
|
35
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SchemeDetailsComponent, never>;
|
36
|
-
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>;
|
37
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,29 +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
|
-
payDue(payment: any): void;
|
54
|
-
continuePayment(payload: any): void;
|
55
|
-
openCashfreeSdk(sessionId: string): void;
|
56
|
-
overAllDues: any[];
|
57
|
-
getAllPassbookDues(): void;
|
58
|
-
getAllStores(): void;
|
59
47
|
ecomConfigs: any;
|
60
48
|
getEcommerceConfigs(): void;
|
61
49
|
getUserOrderDetails(): void;
|
62
|
-
|
50
|
+
passbookSummary: any;
|
63
51
|
userEnrollments: any[];
|
64
52
|
paymentData: any[];
|
65
|
-
totalSchemes: any[];
|
66
53
|
getAllSchemes(): void;
|
67
54
|
getUserWislistDetails(): void;
|
68
55
|
deleteFromWhislist(product: OrderedItems): void;
|
@@ -96,7 +83,6 @@ export declare class UserProfileComponent extends BaseSection implements OnInit
|
|
96
83
|
private convertHEX;
|
97
84
|
get currency(): string;
|
98
85
|
getOrderedItems(order: any): any;
|
99
|
-
changeStore(ev: any): void;
|
100
86
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserProfileComponent, never>;
|
101
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>;
|
102
88
|
}
|
@@ -26,13 +26,10 @@ export declare class VerifyComponent extends BaseSection implements OnInit {
|
|
26
26
|
loadingText: string;
|
27
27
|
private API_COUNT;
|
28
28
|
private MAX_API_COUNT;
|
29
|
-
private PASSBOOK_API_COUNT;
|
30
|
-
private MAX_PASSBOOK_API_COUNT;
|
31
29
|
ngOnInit(): void;
|
32
30
|
get getImageUrl(): string | undefined;
|
33
31
|
get isMobile(): boolean;
|
34
32
|
checkPaymentStatus(): void;
|
35
|
-
checkPassbookPaymentStatus(): void;
|
36
33
|
editSection(): void;
|
37
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<VerifyComponent, never>;
|
38
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>;
|
@@ -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
|
}
|
@@ -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
|
}
|
@@ -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
|
}
|
@@ -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,16 +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): 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
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
|
122
108
|
static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
|
123
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/package.json
CHANGED
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc2Jvb2stdHJhbnNhY3Rpb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NpbXBvLXVpL3NyYy9saWIvZWNvbW1lcmNlL3NlY3Rpb25zL3Bhc3Nib29rLXRyYW5zYWN0aW9ucy9w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xyXG48L3NlY3Rpb24+Il19
|
@@ -1,14 +0,0 @@
|
|
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
|
-
}
|
Binary file
|