@sachin9822/reports-lib 0.0.213 → 0.0.214
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/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +240 -0
- package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +596 -0
- package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +218 -0
- package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +243 -0
- package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +700 -0
- package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +255 -0
- package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +192 -0
- package/esm2020/lib/components/funding-report/funding-report.component.mjs +198 -0
- package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +244 -0
- package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +776 -0
- package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +266 -0
- package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +311 -0
- package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +658 -0
- package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +2 -0
- package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +2 -0
- package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +2 -0
- package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +2 -0
- package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +2 -0
- package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +2 -0
- package/esm2020/lib/models/app-config.model.mjs +2 -0
- package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +2 -0
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +6 -0
- package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +3 -0
- package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +10 -0
- package/esm2020/lib/models/component-loading-states.mjs +7 -0
- package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +5 -0
- package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +2 -0
- package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +2 -0
- package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +8 -0
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +6 -0
- package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +5 -0
- package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +3 -0
- package/esm2020/lib/reports-lib-routing.module.mjs +24 -0
- package/esm2020/lib/reports-lib.component.mjs +22 -0
- package/esm2020/lib/reports-lib.module.mjs +172 -0
- package/esm2020/lib/reports-lib.service.mjs +14 -0
- package/esm2020/lib/services/config.service.mjs +39 -0
- package/esm2020/lib/services/report.service.mjs +374 -0
- package/esm2020/lib/shared/export-generic.service.mjs +443 -0
- package/esm2020/lib/shared/export.service.mjs +379 -0
- package/esm2020/lib/shared/loader/loader.component.mjs +11 -0
- package/esm2020/lib/shared/metadata/metadata.component.mjs +51 -0
- package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +44 -0
- package/esm2020/lib/shared/search-filter/search-filter.component.mjs +2134 -0
- package/esm2020/lib/shared/shared.module.mjs +21 -0
- package/esm2020/public-api.mjs +41 -0
- package/esm2020/sachin9822-reports-lib.mjs +5 -0
- package/fesm2015/sachin9822-reports-lib.mjs +8429 -0
- package/fesm2015/sachin9822-reports-lib.mjs.map +1 -0
- package/fesm2020/sachin9822-reports-lib.mjs +8411 -0
- package/fesm2020/sachin9822-reports-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +70 -0
- package/lib/components/accounting-report/accounting-report.component.d.ts +76 -0
- package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +58 -0
- package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +69 -0
- package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +78 -0
- package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +95 -0
- package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +55 -0
- package/lib/components/funding-report/funding-report.component.d.ts +55 -0
- package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +57 -0
- package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +109 -0
- package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +76 -0
- package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +68 -0
- package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +72 -0
- package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +8 -0
- package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +18 -0
- package/lib/models/accounting-report/accounting-report-branch-group.d.ts +6 -0
- package/lib/models/accounting-report/accounting-report-entry-model.d.ts +24 -0
- package/lib/models/accounting-report/accounting-report-model.d.ts +6 -0
- package/{src/lib/models/accounting-report/accounting-report-sub-group.ts → lib/models/accounting-report/accounting-report-sub-group.d.ts} +2 -3
- package/{src/lib/models/app-config.model.ts → lib/models/app-config.model.d.ts} +7 -8
- package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +18 -0
- package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +13 -0
- package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +24 -0
- package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +44 -0
- package/lib/models/component-loading-states.d.ts +5 -0
- package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +26 -0
- package/{src/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.ts → lib/models/revenue-per-transaction-report/revenue-per-transaction.model.d.ts} +1 -1
- package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +18 -0
- package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +113 -0
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +13 -0
- package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +23 -0
- package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +39 -0
- package/lib/reports-lib-routing.module.d.ts +7 -0
- package/lib/reports-lib.component.d.ts +8 -0
- package/lib/reports-lib.module.d.ts +33 -0
- package/lib/reports-lib.service.d.ts +6 -0
- package/lib/services/config.service.d.ts +20 -0
- package/lib/services/report.service.d.ts +80 -0
- package/lib/shared/export-generic.service.d.ts +50 -0
- package/lib/shared/export.service.d.ts +32 -0
- package/lib/shared/loader/loader.component.d.ts +5 -0
- package/lib/shared/metadata/metadata.component.d.ts +24 -0
- package/lib/shared/page-size-selector/page-size-selector.component.d.ts +15 -0
- package/lib/shared/search-filter/search-filter.component.d.ts +127 -0
- package/lib/shared/shared.module.d.ts +11 -0
- package/package.json +31 -16
- package/{src/public-api.ts → public-api.d.ts} +7 -17
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -17
- package/src/assets/images/BreadcrumbArrow.png +0 -0
- package/src/assets/images/XMCoral.png +0 -0
- package/src/lib/assets/images/Search.svg +0 -10
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +0 -27
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +0 -46
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +0 -23
- package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +0 -292
- package/src/lib/components/accounting-report/accounting-report.component.html +0 -64
- package/src/lib/components/accounting-report/accounting-report.component.scss +0 -24
- package/src/lib/components/accounting-report/accounting-report.component.spec.ts +0 -23
- package/src/lib/components/accounting-report/accounting-report.component.ts +0 -738
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +0 -46
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +0 -2
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +0 -23
- package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +0 -247
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +0 -46
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +0 -3
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +0 -23
- package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +0 -276
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +0 -51
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +0 -7
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +0 -23
- package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +0 -840
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +0 -68
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +0 -65
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +0 -23
- package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +0 -290
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +0 -25
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +0 -1
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +0 -23
- package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +0 -213
- package/src/lib/components/funding-report/funding-report.component.html +0 -49
- package/src/lib/components/funding-report/funding-report.component.scss +0 -1
- package/src/lib/components/funding-report/funding-report.component.spec.ts +0 -23
- package/src/lib/components/funding-report/funding-report.component.ts +0 -221
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +0 -26
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +0 -1
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +0 -23
- package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +0 -267
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +0 -95
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +0 -54
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +0 -23
- package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +0 -904
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +0 -49
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +0 -2
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +0 -32
- package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +0 -304
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +0 -46
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +0 -7
- package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +0 -343
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +0 -25
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +0 -23
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +0 -23
- package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +0 -745
- package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +0 -10
- package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +0 -20
- package/src/lib/models/accounting-report/accounting-report-branch-group.ts +0 -7
- package/src/lib/models/accounting-report/accounting-report-entry-model.ts +0 -25
- package/src/lib/models/accounting-report/accounting-report-model.ts +0 -7
- package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +0 -18
- package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +0 -16
- package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +0 -26
- package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +0 -65
- package/src/lib/models/component-loading-states.ts +0 -5
- package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +0 -28
- package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +0 -21
- package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +0 -127
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +0 -16
- package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +0 -29
- package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +0 -46
- package/src/lib/reports-lib-routing.module.ts +0 -20
- package/src/lib/reports-lib.component.spec.ts +0 -23
- package/src/lib/reports-lib.component.ts +0 -20
- package/src/lib/reports-lib.module.ts +0 -102
- package/src/lib/reports-lib.service.spec.ts +0 -16
- package/src/lib/reports-lib.service.ts +0 -9
- package/src/lib/services/config.service.ts +0 -43
- package/src/lib/services/report.service.spec.ts +0 -16
- package/src/lib/services/report.service.ts +0 -463
- package/src/lib/shared/export-generic.service.ts +0 -557
- package/src/lib/shared/export.service.spec.ts +0 -16
- package/src/lib/shared/export.service.ts +0 -457
- package/src/lib/shared/loader/loader.component.html +0 -8
- package/src/lib/shared/loader/loader.component.scss +0 -52
- package/src/lib/shared/loader/loader.component.ts +0 -10
- package/src/lib/shared/metadata/metadata.component.html +0 -42
- package/src/lib/shared/metadata/metadata.component.scss +0 -95
- package/src/lib/shared/metadata/metadata.component.spec.ts +0 -23
- package/src/lib/shared/metadata/metadata.component.ts +0 -38
- package/src/lib/shared/page-size-selector/page-size-selector.component.html +0 -7
- package/src/lib/shared/page-size-selector/page-size-selector.component.scss +0 -42
- package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +0 -23
- package/src/lib/shared/page-size-selector/page-size-selector.component.ts +0 -38
- package/src/lib/shared/search-filter/search-filter.component.html +0 -601
- package/src/lib/shared/search-filter/search-filter.component.scss +0 -203
- package/src/lib/shared/search-filter/search-filter.component.spec.ts +0 -23
- package/src/lib/shared/search-filter/search-filter.component.ts +0 -2387
- package/src/lib/shared/shared.module.ts +0 -13
- package/src/styles/ag-grid-report-style.scss +0 -71
- package/src/styles/common-ag-grid-style.scss +0 -146
- package/src/styles/common-report-style.scss +0 -395
- package/src/styles/common-style.scss +0 -615
- package/src/test.ts +0 -27
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- /package/{src/lib → lib}/assets/config/app-config.json +0 -0
- /package/{src → lib}/assets/images/Search.svg +0 -0
- /package/{src/lib → lib}/assets/images/XMLogo.png +0 -0
- /package/{src/lib → lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export interface Client {
|
|
2
|
+
businessPartnerCode: string;
|
|
3
|
+
businessPartnerName: string;
|
|
4
|
+
displayOrder: number;
|
|
5
|
+
clientType: string;
|
|
6
|
+
}
|
|
7
|
+
export interface Branch {
|
|
8
|
+
businessPartnerBranch: string;
|
|
9
|
+
businessPartnerBranch_CorrelationId: string;
|
|
10
|
+
branchCode: string;
|
|
11
|
+
bank: string;
|
|
12
|
+
number: number;
|
|
13
|
+
}
|
|
14
|
+
export interface User {
|
|
15
|
+
userName: string;
|
|
16
|
+
userId: number;
|
|
17
|
+
number: number;
|
|
18
|
+
}
|
|
19
|
+
export interface Currency {
|
|
20
|
+
currencyCode: string;
|
|
21
|
+
currency: string;
|
|
22
|
+
number: string;
|
|
23
|
+
od: number;
|
|
24
|
+
}
|
|
25
|
+
export interface Product {
|
|
26
|
+
productCode: string;
|
|
27
|
+
productName: string;
|
|
28
|
+
number: number;
|
|
29
|
+
serviceTypeCode: string;
|
|
30
|
+
}
|
|
31
|
+
export interface TransactionStatus {
|
|
32
|
+
transactionStatus: string;
|
|
33
|
+
number: number;
|
|
34
|
+
}
|
|
35
|
+
export interface IdentityType {
|
|
36
|
+
identityType: string;
|
|
37
|
+
identityDescription: string;
|
|
38
|
+
number: number;
|
|
39
|
+
}
|
|
40
|
+
export interface UserReportDefaults {
|
|
41
|
+
PrincipleUserName: string;
|
|
42
|
+
ADPrincipleUserName: string;
|
|
43
|
+
UserName: string;
|
|
44
|
+
UserId: number;
|
|
45
|
+
BranchCode: string;
|
|
46
|
+
BranchName: string;
|
|
47
|
+
BusinessDate: string;
|
|
48
|
+
TillCode: string;
|
|
49
|
+
LocalCurrency: string;
|
|
50
|
+
TimeZone: string;
|
|
51
|
+
ExecutionTime: string;
|
|
52
|
+
StockEnquiryAll: number;
|
|
53
|
+
StockEnquiryBranch: number;
|
|
54
|
+
StockEnquiryExceptOwn: number;
|
|
55
|
+
StockEnquiryExcludeLocalAmount: number;
|
|
56
|
+
}
|
|
57
|
+
export interface CompanyReportConfig {
|
|
58
|
+
Company: string;
|
|
59
|
+
CompanyName: string;
|
|
60
|
+
ReportLanguage: string;
|
|
61
|
+
}
|
|
62
|
+
export interface TransactionData {
|
|
63
|
+
product: string;
|
|
64
|
+
id: string;
|
|
65
|
+
transactionNumber: string;
|
|
66
|
+
transactionReferenceNumber: string;
|
|
67
|
+
businessDate: string;
|
|
68
|
+
sendAgent: string;
|
|
69
|
+
sendAgtBranch: string;
|
|
70
|
+
recvAgent: string;
|
|
71
|
+
rcvAgtBranch: string;
|
|
72
|
+
sendName: string;
|
|
73
|
+
sendIdType: string;
|
|
74
|
+
sendIdNumber: string;
|
|
75
|
+
benName: string;
|
|
76
|
+
payOutCurrency: string;
|
|
77
|
+
payOutAmount: number;
|
|
78
|
+
commission: number;
|
|
79
|
+
payInCurrency: string;
|
|
80
|
+
payInAmount: number;
|
|
81
|
+
transactionStatus: string;
|
|
82
|
+
}
|
|
83
|
+
export interface SearchCriteria {
|
|
84
|
+
fromDate: string;
|
|
85
|
+
toDate: string;
|
|
86
|
+
client: string;
|
|
87
|
+
branch: string;
|
|
88
|
+
user: string;
|
|
89
|
+
currency: string;
|
|
90
|
+
product: string;
|
|
91
|
+
transactionStatus: string;
|
|
92
|
+
transactionNo: string;
|
|
93
|
+
cardNo: string;
|
|
94
|
+
idType: string;
|
|
95
|
+
idNo: string;
|
|
96
|
+
senderName: string;
|
|
97
|
+
beneficiaryName: string;
|
|
98
|
+
telNo: string;
|
|
99
|
+
receiveAmount: number;
|
|
100
|
+
branchName: string;
|
|
101
|
+
country: string;
|
|
102
|
+
}
|
|
103
|
+
export interface PageLoadDataResponse {
|
|
104
|
+
clients: Client[];
|
|
105
|
+
currencies: Currency[];
|
|
106
|
+
transactionStatuses: TransactionStatus[];
|
|
107
|
+
products: Product[];
|
|
108
|
+
}
|
|
109
|
+
export declare enum ComponentLoadingState {
|
|
110
|
+
Error = -1,
|
|
111
|
+
Loading = 0,
|
|
112
|
+
Complete = 1
|
|
113
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class TransactionMonitoringRequestDomainModel {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
sendCountryCode: string;
|
|
5
|
+
recvCountryCode: string;
|
|
6
|
+
businessPartnerCode: string;
|
|
7
|
+
transactionStatus: string;
|
|
8
|
+
payoutCurrency: string;
|
|
9
|
+
transactionType: string;
|
|
10
|
+
branchCode: string;
|
|
11
|
+
companyCode: string;
|
|
12
|
+
constructor(values?: Object);
|
|
13
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class TransactionMonitoringReport {
|
|
2
|
+
SendAgentBranchNameAndCode: string;
|
|
3
|
+
BusinessDateTime: string;
|
|
4
|
+
TransactionDateTime: string;
|
|
5
|
+
TransactionNumber: string;
|
|
6
|
+
Product: string;
|
|
7
|
+
SendAgentBranchCode: string;
|
|
8
|
+
SendPrincipalAgentCode: string;
|
|
9
|
+
ReceiveAgentCode: string;
|
|
10
|
+
PayoutCCcode: string;
|
|
11
|
+
PayoutAmount?: number;
|
|
12
|
+
PayinCCcode: string;
|
|
13
|
+
PayinAmount?: number;
|
|
14
|
+
TransactionCommissionAmount?: number;
|
|
15
|
+
Tax?: number;
|
|
16
|
+
TotalPayinAmount?: number;
|
|
17
|
+
Status: string;
|
|
18
|
+
TxnStatusDateAndTime: string;
|
|
19
|
+
SendAgentCode: string;
|
|
20
|
+
SendAgentBranchName: string;
|
|
21
|
+
SenderName: string;
|
|
22
|
+
ReceiverName: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface TrialBalanceReport {
|
|
2
|
+
reportUser: string;
|
|
3
|
+
mainCOAGroups: MainCOAGroup[];
|
|
4
|
+
grandTotal: TrialBalanceTotals;
|
|
5
|
+
}
|
|
6
|
+
export interface MainCOAGroup {
|
|
7
|
+
mainCOADescription: string;
|
|
8
|
+
subCOAGroups: SubCOAGroup[];
|
|
9
|
+
totals: TrialBalanceTotals;
|
|
10
|
+
}
|
|
11
|
+
export interface SubCOAGroup {
|
|
12
|
+
subCOADescription: string;
|
|
13
|
+
coaGroups: COAGroup[];
|
|
14
|
+
totals: TrialBalanceTotals;
|
|
15
|
+
}
|
|
16
|
+
export interface COAGroup {
|
|
17
|
+
coaDescription: string;
|
|
18
|
+
accounts: AccountDetail[];
|
|
19
|
+
totals: TrialBalanceTotals;
|
|
20
|
+
}
|
|
21
|
+
export interface AccountDetail {
|
|
22
|
+
companyFullName: string;
|
|
23
|
+
coaCode: string;
|
|
24
|
+
accountCode: string;
|
|
25
|
+
accountDescription: string;
|
|
26
|
+
openingBalance: string;
|
|
27
|
+
debit: string;
|
|
28
|
+
credit: string;
|
|
29
|
+
netMovement: string;
|
|
30
|
+
closingBalance: string;
|
|
31
|
+
isTotalRow?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface TrialBalanceTotals {
|
|
34
|
+
openingBalance: number;
|
|
35
|
+
debit: number;
|
|
36
|
+
credit: number;
|
|
37
|
+
netMovement: number;
|
|
38
|
+
closingBalance: number;
|
|
39
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class ReportsLibRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportsLibRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportsLibRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ReportsLibRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ReportsLibComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportsLibComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ReportsLibComponent, "lib-reports-lib", never, {}, {}, never, never, false>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ConfigService } from '../lib/services/config.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./reports-lib.component";
|
|
4
|
+
import * as i2 from "./components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component";
|
|
5
|
+
import * as i3 from "./components/branch-activity-send-report/branch-activity-send-report.component";
|
|
6
|
+
import * as i4 from "./shared/loader/loader.component";
|
|
7
|
+
import * as i5 from "./components/transaction-enquiry-report/transaction-enquiry-report.component";
|
|
8
|
+
import * as i6 from "./shared/search-filter/search-filter.component";
|
|
9
|
+
import * as i7 from "./components/branch-activity-receive-report/branch-activity-receive-report.component";
|
|
10
|
+
import * as i8 from "./components/cancellation-transaction-report/cancellation-transaction-report.component";
|
|
11
|
+
import * as i9 from "./components/revenue-per-transaction-report/revenue-per-transaction-report.component";
|
|
12
|
+
import * as i10 from "./components/statement-of-accounts-report/statement-of-accounts-report.component";
|
|
13
|
+
import * as i11 from "./components/accounting-report/accounting-report.component";
|
|
14
|
+
import * as i12 from "./components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component";
|
|
15
|
+
import * as i13 from "./components/funding-report/funding-report.component";
|
|
16
|
+
import * as i14 from "./components/trial-balance-accounts-report/trial-balance-accounts-report.component";
|
|
17
|
+
import * as i15 from "./components/branch-activity-send-summary-report/branch-activity-send-summary-report.component";
|
|
18
|
+
import * as i16 from "./components/transaction-monitoring-report/transaction-monitoring-report.component";
|
|
19
|
+
import * as i17 from "ag-grid-angular";
|
|
20
|
+
import * as i18 from "./reports-lib-routing.module";
|
|
21
|
+
import * as i19 from "@angular/common";
|
|
22
|
+
import * as i20 from "@angular/router";
|
|
23
|
+
import * as i21 from "@ng-bootstrap/ng-bootstrap";
|
|
24
|
+
import * as i22 from "./shared/shared.module";
|
|
25
|
+
import * as i23 from "@angular/platform-browser";
|
|
26
|
+
import * as i24 from "@angular/forms";
|
|
27
|
+
import * as i25 from "@ng-select/ng-select";
|
|
28
|
+
export declare function initializeApp(config: ConfigService): () => Promise<any>;
|
|
29
|
+
export declare class ReportsLibModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportsLibModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ReportsLibModule, [typeof i1.ReportsLibComponent, typeof i2.AccGlDetailsEnquiryReportComponent, typeof i3.BranchActivitySendReportComponent, typeof i4.LoaderComponent, typeof i5.TransactionEnquiryComponent, typeof i4.LoaderComponent, typeof i6.SearchFilterComponent, typeof i7.BranchActivityReceiveReportComponent, typeof i8.CancellationTransactionReportComponent, typeof i9.RevenuePerTransactionReportComponent, typeof i10.StatementOfAccountsReportComponent, typeof i11.AccountingReportComponent, typeof i12.CreditLimitStatusEnquiryReportComponent, typeof i13.FundingReportComponent, typeof i14.TrialBalanceAccountsReportComponent, typeof i15.BranchActivitySendSummaryReportComponent, typeof i16.TransactionMonitoringReportComponent], [typeof i17.AgGridModule, typeof i18.ReportsLibRoutingModule, typeof i19.CommonModule, typeof i20.RouterModule, typeof i21.NgbDatepickerModule, typeof i22.SharedModule, typeof i23.BrowserModule, typeof i17.AgGridModule, typeof i18.ReportsLibRoutingModule, typeof i24.FormsModule, typeof i17.AgGridModule, typeof i21.NgbModule, typeof i24.ReactiveFormsModule, typeof i25.NgSelectModule, typeof i24.ReactiveFormsModule, typeof i21.NgbModule, typeof i25.NgSelectModule], [typeof i1.ReportsLibComponent, typeof i2.AccGlDetailsEnquiryReportComponent, typeof i3.BranchActivitySendReportComponent, typeof i5.TransactionEnquiryComponent, typeof i8.CancellationTransactionReportComponent, typeof i10.StatementOfAccountsReportComponent, typeof i11.AccountingReportComponent, typeof i13.FundingReportComponent, typeof i12.CreditLimitStatusEnquiryReportComponent, typeof i14.TrialBalanceAccountsReportComponent, typeof i15.BranchActivitySendSummaryReportComponent, typeof i16.TransactionMonitoringReportComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ReportsLibModule>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IAppConfig } from '../models/app-config.model';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable, BehaviorSubject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ConfigService {
|
|
6
|
+
private http;
|
|
7
|
+
private config;
|
|
8
|
+
onConfigChanged: BehaviorSubject<any>;
|
|
9
|
+
constructor(http: HttpClient);
|
|
10
|
+
load(url: string): Observable<any>;
|
|
11
|
+
get get(): IAppConfig;
|
|
12
|
+
/**
|
|
13
|
+
* Set the new config from given object
|
|
14
|
+
*
|
|
15
|
+
* @param config
|
|
16
|
+
*/
|
|
17
|
+
setConfig(config: IAppConfig): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfigService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfigService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { AccGlDetailsEnquiryReportModel } from '../models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { BranchActivitySendReportRequestDomainModel } from '../models/branch-activity-report/branch-activity-send-report-request-domain-model';
|
|
5
|
+
import { BranchActivityReport } from '../models/branch-activity-report/branch-activity-send-report';
|
|
6
|
+
import { Product, User, Branch, TransactionData, PageLoadDataResponse } from '../models/transaction-enquiry-report/transaction-enquiry.model';
|
|
7
|
+
import { ConfigService } from './config.service';
|
|
8
|
+
import { BranchActivityReceiveReportModel } from '../models/branch-activity-receive-report/branch-activity-receive.model';
|
|
9
|
+
import { CancellationTransaction } from '../models/cancellation-transaction-report/cancellation-transaction.model';
|
|
10
|
+
import { RevenuePerTransactionResponseModel } from '../models/revenue-per-transaction-report/revenue-per-transaction.model';
|
|
11
|
+
import { StatementOfAccountRequest, StatementOfAccountResponse } from '../models/statement-of-account-report/statement-of-accounts.model';
|
|
12
|
+
import { AccountingReportModel } from '../models/accounting-report/accounting-report-model';
|
|
13
|
+
import { TrialBalanceReport } from '../models/trial-balance-accounts-report/trial-balance-accounts.models';
|
|
14
|
+
import { TransactionMonitoringRequestDomainModel } from '../models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model';
|
|
15
|
+
import { TransactionMonitoringReport } from '../models/transaction-monitoring-report/transaction-monitoring-report';
|
|
16
|
+
import * as i0 from "@angular/core";
|
|
17
|
+
export declare class ReportService {
|
|
18
|
+
private http;
|
|
19
|
+
private config;
|
|
20
|
+
private reportServiceUrl;
|
|
21
|
+
constructor(http: HttpClient, config: ConfigService);
|
|
22
|
+
getAccGLDetailsReport(formattedDate: string | undefined, dateType: string): Observable<AccGlDetailsEnquiryReportModel>;
|
|
23
|
+
getPayInAgents(): Observable<any[]>;
|
|
24
|
+
getBranchByAgent(code: string): Observable<any[]>;
|
|
25
|
+
getParams(): Observable<any[]>;
|
|
26
|
+
getBranchActivityReport(data: BranchActivitySendReportRequestDomainModel | any): Observable<Record<string, BranchActivityReport[]>>;
|
|
27
|
+
getUserNameFromSessionStorage(): string;
|
|
28
|
+
getPageLoadData(): Observable<PageLoadDataResponse>;
|
|
29
|
+
getBranchesByAgent(agentCode: string): Observable<Branch[]>;
|
|
30
|
+
getUsersByBranch(businessPartnerCode: string, branchCode: string): Observable<User[]>;
|
|
31
|
+
searchTransactions(data: any): Observable<TransactionData[]>;
|
|
32
|
+
getAllPayOutAgents(): Observable<any[]>;
|
|
33
|
+
getBranchActivityReceiveParams(): Observable<any[]>;
|
|
34
|
+
getBranchActivityReceivePayoutAgentBranch(code: string): Observable<any[]>;
|
|
35
|
+
getBranchActivityReceiveReport(data: any): Observable<Record<string, BranchActivityReceiveReportModel[]>>;
|
|
36
|
+
loadDataforCancallation(): Observable<any>;
|
|
37
|
+
/** Api 2 - Get list of branches for an agent */
|
|
38
|
+
getBranches(agentCode: string): Observable<Branch[]>;
|
|
39
|
+
getCancellationReport(criteria: any): Observable<Record<string, CancellationTransaction[]>>;
|
|
40
|
+
getAgentsForRevenuePerTransaction(): Observable<any[]>;
|
|
41
|
+
getRevenuePerTransactionReportParams(): Observable<any>;
|
|
42
|
+
getRevenuePerTransactionReport(data: any): Observable<RevenuePerTransactionResponseModel[]>;
|
|
43
|
+
loadClientsForStatementOfAccounts(): Observable<any[]>;
|
|
44
|
+
checkClientForStatementOfAccounts(clientId: string): Observable<{
|
|
45
|
+
result: string;
|
|
46
|
+
}>;
|
|
47
|
+
getStatementOfAccount(criteria: StatementOfAccountRequest): Observable<StatementOfAccountResponse>;
|
|
48
|
+
getAccountingReport(object: any): Observable<AccountingReportModel>;
|
|
49
|
+
getClientsForAccountingReport(sysUserID: string): Observable<any[]>;
|
|
50
|
+
getBranchByAgentForAccountingReport(sysUserId: string, code: string): Observable<any[]>;
|
|
51
|
+
getTransactionTypesForAccountingReport(): Observable<Product[]>;
|
|
52
|
+
getAllCurrenciesForAccountingReport(): Observable<any[]>;
|
|
53
|
+
getAllTransactionStatusForAccountingReport(): Observable<any[]>;
|
|
54
|
+
getAllCountriesForAccountingReport(): Observable<any[]>;
|
|
55
|
+
getTrialBalanceAccountsReport(object: any): Observable<TrialBalanceReport>;
|
|
56
|
+
GetBusinessUnitForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
57
|
+
GetAccountStatusForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
58
|
+
GetDateTypeForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
59
|
+
GetYearForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
60
|
+
GetFromMonthsForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
61
|
+
GetToMonthsForTrialBalanceAccountsReport(year: number, month: number): Observable<any[]>;
|
|
62
|
+
GetFromDatesForTrialBalanceAccountsReport(year: number, fromMonthLabel: string): Observable<any[]>;
|
|
63
|
+
GetToDatesForTrialBalanceAccountsReport(object: any): Observable<any[]>;
|
|
64
|
+
GetCurrenciesForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
65
|
+
GetParamDateDefaultForTrialBalanceAccountsReport(): Observable<any[]>;
|
|
66
|
+
getClientsForCreditLimitStatusEnquiryReport(): Observable<any[]>;
|
|
67
|
+
getTransactionTypesForCreditLimitStatusEnquiryReport(): Observable<any[]>;
|
|
68
|
+
getCreditLimitStatusEnquiryReport(model: any): Observable<any[]>;
|
|
69
|
+
getFundingReport(criteria: any): Observable<any>;
|
|
70
|
+
getPayInAgentforSendSummaryReport(): Observable<any[]>;
|
|
71
|
+
getBranchByAgentForSendSummaryReport(code: string): Observable<any[]>;
|
|
72
|
+
getParamsForSendSummaryReport(): Observable<any[]>;
|
|
73
|
+
getBranchActivitySendSummaryReport(data: BranchActivitySendReportRequestDomainModel | any): Observable<Record<string, BranchActivityReport[]>>;
|
|
74
|
+
getParamsForTransactionMonitoringReport(): Observable<any[]>;
|
|
75
|
+
getBranchByAgentForTransactionMonitoringReport(code: string): Observable<any[]>;
|
|
76
|
+
getPayInAgentforTransactionMonitoringReport(): Observable<any[]>;
|
|
77
|
+
getTransactionMonitoringReport(data: TransactionMonitoringRequestDomainModel | any): Observable<Record<string, TransactionMonitoringReport[]>>;
|
|
78
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReportService, never>;
|
|
79
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ReportService>;
|
|
80
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import 'jspdf-autotable';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface ExportOptions {
|
|
4
|
+
currencyFields?: string[];
|
|
5
|
+
dateFields?: string[];
|
|
6
|
+
dateFieldFormats?: {
|
|
7
|
+
[field: string]: 'dd/MM/yyyy' | 'dd/MM/yyyy hh:mm a' | 'dd/MM/yyyy HH:mm' | string;
|
|
8
|
+
};
|
|
9
|
+
excludeFields?: string[];
|
|
10
|
+
groupByKey?: boolean;
|
|
11
|
+
specialDecimalFields?: {
|
|
12
|
+
[field: string]: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare class GenericExportService {
|
|
16
|
+
private logoBase64?;
|
|
17
|
+
private readonly pdfFontSize;
|
|
18
|
+
private readonly pdfLineHeight;
|
|
19
|
+
private readonly pdfLeftMargin;
|
|
20
|
+
constructor();
|
|
21
|
+
private loadImageAsBase64;
|
|
22
|
+
exportToPdf({ title, metadata, searchCriteria, columns, data, options }: {
|
|
23
|
+
title: string;
|
|
24
|
+
metadata: [string, string][];
|
|
25
|
+
searchCriteria: [string, string][];
|
|
26
|
+
columns: any[];
|
|
27
|
+
data: any[] | Record<string, any[]>;
|
|
28
|
+
options?: ExportOptions;
|
|
29
|
+
}): Promise<void>;
|
|
30
|
+
exportToExcel({ title, metadata, searchCriteria, columns, data, options }: {
|
|
31
|
+
title: string;
|
|
32
|
+
metadata: [string, string][];
|
|
33
|
+
searchCriteria: [string, string][];
|
|
34
|
+
columns: any[];
|
|
35
|
+
data: any[] | Record<string, any[]>;
|
|
36
|
+
options?: ExportOptions;
|
|
37
|
+
}): Promise<void>;
|
|
38
|
+
exportToCsv({ title, metadata, searchCriteria, columns, data, options }: {
|
|
39
|
+
title: string;
|
|
40
|
+
metadata: [string, string][];
|
|
41
|
+
searchCriteria: [string, string][];
|
|
42
|
+
columns: any[];
|
|
43
|
+
data: any[] | Record<string, any[]>;
|
|
44
|
+
options?: ExportOptions;
|
|
45
|
+
}): void;
|
|
46
|
+
private prepareTableRows;
|
|
47
|
+
private formatDateByFormat;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericExportService, never>;
|
|
49
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GenericExportService>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import 'jspdf-autotable';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
declare module 'jspdf' {
|
|
4
|
+
interface jsPDF {
|
|
5
|
+
autoTable: (options: any) => jsPDF;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare class ExportService {
|
|
9
|
+
private readonly pdfFontSize;
|
|
10
|
+
private readonly pdfLineHeight;
|
|
11
|
+
private readonly pdfLeftMargin;
|
|
12
|
+
logoBase64: string | undefined;
|
|
13
|
+
constructor();
|
|
14
|
+
private loadImageAsBase64;
|
|
15
|
+
formatDate(value: any): string;
|
|
16
|
+
formatDateTime(date: Date): string;
|
|
17
|
+
generateReportMetadata(metadata: [string, string][]): [string, string][];
|
|
18
|
+
prepareExportTable(data: any[], columnDefs: any[], options?: {
|
|
19
|
+
excludeFields?: string[];
|
|
20
|
+
currencyFields?: string[];
|
|
21
|
+
rateFields?: string[];
|
|
22
|
+
}): {
|
|
23
|
+
headers: string[];
|
|
24
|
+
rows: any[][];
|
|
25
|
+
};
|
|
26
|
+
exportToPdfUniversal(title: string, metadata: [string, string][], searchCriteria: [string, string][], headers: string[], rows: any[][], fileName: string): Promise<void>;
|
|
27
|
+
exportToExcelUniversal(title: string, metadata: [string, string][], searchCriteria: [string, string][], headers: string[], rows: any[][], fileName: string): void;
|
|
28
|
+
exportToCsvUniversal(title: string, metadata: [string, string][], searchCriteria: [string, string][], headers: string[], rows: any[][], fileName: string): void;
|
|
29
|
+
private downloadFile;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ExportService>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class MetadataComponent implements OnInit {
|
|
4
|
+
metaDataOne: Record<string, string>;
|
|
5
|
+
metaDataTwo: Record<string, string>;
|
|
6
|
+
showmetaDataOne: boolean;
|
|
7
|
+
showmetaDataTwo: boolean;
|
|
8
|
+
reportName: string;
|
|
9
|
+
searchEvent: EventEmitter<string>;
|
|
10
|
+
exportEvent: EventEmitter<string>;
|
|
11
|
+
searchText: any;
|
|
12
|
+
exportFormats: {
|
|
13
|
+
formatName: string;
|
|
14
|
+
code: string;
|
|
15
|
+
}[];
|
|
16
|
+
selectedExportOption: string;
|
|
17
|
+
preserveOrder: (_a: any, _b: any) => number;
|
|
18
|
+
constructor();
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
onSearch(): void;
|
|
21
|
+
handleExport(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MetadataComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MetadataComponent, "lib-metadata", never, { "metaDataOne": "metaDataOne"; "metaDataTwo": "metaDataTwo"; "showmetaDataOne": "showmetaDataOne"; "showmetaDataTwo": "showmetaDataTwo"; "reportName": "reportName"; }, { "searchEvent": "searchEvent"; "exportEvent": "exportEvent"; }, never, never, false>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class PageSizeSelectorComponent implements OnInit {
|
|
4
|
+
pageSizeArray: (number | string)[];
|
|
5
|
+
defaultSize: string;
|
|
6
|
+
totalEntries: number;
|
|
7
|
+
gridApi: any;
|
|
8
|
+
selectedPageSizeOption: string;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onPageSizeChanged(value: string): void;
|
|
11
|
+
private applyPageSize;
|
|
12
|
+
ngOnDestroy(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageSizeSelectorComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageSizeSelectorComponent, "lib-page-size-selector", never, { "pageSizeArray": "pageSizeArray"; "defaultSize": "defaultSize"; "totalEntries": "totalEntries"; "gridApi": "gridApi"; }, {}, never, never, false>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ComponentLoadingState, Client, Branch, Currency, Product, TransactionStatus, User } from '../../models/transaction-enquiry-report/transaction-enquiry.model';
|
|
4
|
+
import { ReportService } from '../../services/report.service';
|
|
5
|
+
import { ConfigService } from '../../services/config.service';
|
|
6
|
+
import { NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class SearchFilterComponent implements OnInit, OnDestroy {
|
|
9
|
+
private reportService;
|
|
10
|
+
private fb;
|
|
11
|
+
private config;
|
|
12
|
+
private cd;
|
|
13
|
+
ReportName: string;
|
|
14
|
+
searchClicked: EventEmitter<any>;
|
|
15
|
+
formValid: EventEmitter<boolean>;
|
|
16
|
+
searchForm: FormGroup;
|
|
17
|
+
initialFilters: any;
|
|
18
|
+
formValidationError: boolean;
|
|
19
|
+
private destroy$;
|
|
20
|
+
loadingState: ComponentLoadingState;
|
|
21
|
+
ComponentLoadingState: typeof ComponentLoadingState;
|
|
22
|
+
hasSearched: boolean;
|
|
23
|
+
private _errorMessage;
|
|
24
|
+
currentUser: string;
|
|
25
|
+
usernameMissing: boolean;
|
|
26
|
+
token: string;
|
|
27
|
+
applicationType: string;
|
|
28
|
+
companyCode: string;
|
|
29
|
+
serviceUrl: string;
|
|
30
|
+
isOpen: boolean;
|
|
31
|
+
clients1: Client[];
|
|
32
|
+
branches: Branch[];
|
|
33
|
+
users: User[];
|
|
34
|
+
currencies: Currency[];
|
|
35
|
+
products: Product[];
|
|
36
|
+
transactionStatuses: TransactionStatus[];
|
|
37
|
+
summaryReportTypes: any[];
|
|
38
|
+
selectedStatuses: string[];
|
|
39
|
+
showStatusDropdown: boolean;
|
|
40
|
+
visibleFieldKeys: string[];
|
|
41
|
+
params: any;
|
|
42
|
+
countries: any[];
|
|
43
|
+
transactionProducts: any[];
|
|
44
|
+
dateType: any;
|
|
45
|
+
date: any;
|
|
46
|
+
sendBusinessPartnerAgents: any[];
|
|
47
|
+
recvBusinessPartnerAgents: any[];
|
|
48
|
+
clientName: string;
|
|
49
|
+
clientType: string;
|
|
50
|
+
disabledDate: NgbDateStruct;
|
|
51
|
+
isSelectAllChecked: boolean;
|
|
52
|
+
erroMessage: string;
|
|
53
|
+
businessUnits: any[];
|
|
54
|
+
accountStatuses: any[];
|
|
55
|
+
currency: any[];
|
|
56
|
+
financialYears: any[];
|
|
57
|
+
fromMonths: any[];
|
|
58
|
+
toMonths: any[];
|
|
59
|
+
dateTypes: any[];
|
|
60
|
+
fromDays: any[];
|
|
61
|
+
toDays: any[];
|
|
62
|
+
paramDateDefault: any[];
|
|
63
|
+
visibleFieldsMap: {
|
|
64
|
+
[report: string]: string[];
|
|
65
|
+
};
|
|
66
|
+
get visibleFields(): string[];
|
|
67
|
+
isFieldVisible(field: string): boolean;
|
|
68
|
+
constructor(reportService: ReportService, fb: FormBuilder, config: ConfigService, cd: ChangeDetectorRef);
|
|
69
|
+
ngOnInit(): void;
|
|
70
|
+
ngOnDestroy(): void;
|
|
71
|
+
private checkReport;
|
|
72
|
+
loadInitialData(): void;
|
|
73
|
+
loadInitialDataforBranchActivitySendSummary(): void;
|
|
74
|
+
loadInitialDataforTransactionMonitoring(): void;
|
|
75
|
+
private applyInitialFilters;
|
|
76
|
+
private initializeForm;
|
|
77
|
+
loadInitialDataforBranchActivitySend(): void;
|
|
78
|
+
private loadInitialDatafortxnEnquiry;
|
|
79
|
+
loadInitialDataforBranchActivityReceive(): void;
|
|
80
|
+
private loadInitialDataForCancellationReport;
|
|
81
|
+
loadDataForRevenuePerTransactionReport(): void;
|
|
82
|
+
loadInitialDataforAccounting(): void;
|
|
83
|
+
loadInitialDataForCreditLimitStatusEnquiry(): void;
|
|
84
|
+
loadInitialDataForTrialBalanceAccounts(): void;
|
|
85
|
+
private subscribeToDateChanges;
|
|
86
|
+
private loadInitialDataForStatementOfAccounts;
|
|
87
|
+
onClientChange(): Promise<void>;
|
|
88
|
+
private loadBranchesByAgent;
|
|
89
|
+
onBranchChange(): Promise<void>;
|
|
90
|
+
onSearch(): void;
|
|
91
|
+
private buildSearchCriteria;
|
|
92
|
+
toIsoFormat(dateInput: any): string | undefined;
|
|
93
|
+
onOpen(): void;
|
|
94
|
+
onClose(): void;
|
|
95
|
+
get errorMessage(): string;
|
|
96
|
+
set errorMessage(value: string);
|
|
97
|
+
get isLoading(): boolean;
|
|
98
|
+
get isError(): boolean;
|
|
99
|
+
currencySearch: (term: string, item: any) => any;
|
|
100
|
+
toNgbDateStruct(fromDate: Date): NgbDateStruct;
|
|
101
|
+
transactionStatusSubscribe(): void;
|
|
102
|
+
handleDateChange(): void;
|
|
103
|
+
onSelectFromMonth(): void;
|
|
104
|
+
onSelectFromDay(): void;
|
|
105
|
+
onSelectToMonth(): void;
|
|
106
|
+
onSelectFinancialYear(): void;
|
|
107
|
+
prepareFromDateAndToDateForTrialBalanceAccountReport(): {
|
|
108
|
+
fromDate: Date;
|
|
109
|
+
toDate: Date;
|
|
110
|
+
};
|
|
111
|
+
private fieldLabelMap;
|
|
112
|
+
private fieldToControlMap;
|
|
113
|
+
private fieldBindLabelMap;
|
|
114
|
+
private fieldBindValueMap;
|
|
115
|
+
private formatDateToDDMMYYYY;
|
|
116
|
+
/** helper to find item in the known lists by bindValue and return its bindLabel
|
|
117
|
+
* improved: tries multiple fallback value keys so product lookup is robust */
|
|
118
|
+
private lookupFromListByField;
|
|
119
|
+
private getLookupDisplayValue;
|
|
120
|
+
/**
|
|
121
|
+
* Returns search criteria array for the currently visible fields.
|
|
122
|
+
* Output: [ ['Label:', 'Value'], ... ]
|
|
123
|
+
*/
|
|
124
|
+
getSearchCriteriaArray(): [string, string][];
|
|
125
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterComponent, never>;
|
|
126
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterComponent, "lib-search-filter", never, { "ReportName": "ReportName"; "initialFilters": "initialFilters"; }, { "searchClicked": "searchClicked"; "formValid": "formValid"; }, never, never, false>;
|
|
127
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./page-size-selector/page-size-selector.component";
|
|
3
|
+
import * as i2 from "./metadata/metadata.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@ng-select/ng-select";
|
|
7
|
+
export declare class SharedModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, [typeof i1.PageSizeSelectorComponent, typeof i2.MetadataComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.NgSelectModule], [typeof i1.PageSizeSelectorComponent, typeof i2.MetadataComponent]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
11
|
+
}
|