@sachin9822/reports-lib 0.0.212 → 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.
Files changed (211) hide show
  1. package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +240 -0
  2. package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +596 -0
  3. package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +218 -0
  4. package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +243 -0
  5. package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +700 -0
  6. package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +255 -0
  7. package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +192 -0
  8. package/esm2020/lib/components/funding-report/funding-report.component.mjs +198 -0
  9. package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +244 -0
  10. package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +776 -0
  11. package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +266 -0
  12. package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +311 -0
  13. package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +658 -0
  14. package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +2 -0
  15. package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +2 -0
  16. package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +2 -0
  17. package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +2 -0
  18. package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +2 -0
  19. package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +2 -0
  20. package/esm2020/lib/models/app-config.model.mjs +2 -0
  21. package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +2 -0
  22. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +6 -0
  23. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +3 -0
  24. package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +10 -0
  25. package/esm2020/lib/models/component-loading-states.mjs +7 -0
  26. package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +5 -0
  27. package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +2 -0
  28. package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +2 -0
  29. package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +8 -0
  30. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +6 -0
  31. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +5 -0
  32. package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +3 -0
  33. package/esm2020/lib/reports-lib-routing.module.mjs +24 -0
  34. package/esm2020/lib/reports-lib.component.mjs +22 -0
  35. package/esm2020/lib/reports-lib.module.mjs +172 -0
  36. package/esm2020/lib/reports-lib.service.mjs +14 -0
  37. package/esm2020/lib/services/config.service.mjs +39 -0
  38. package/esm2020/lib/services/report.service.mjs +374 -0
  39. package/esm2020/lib/shared/export-generic.service.mjs +443 -0
  40. package/esm2020/lib/shared/export.service.mjs +379 -0
  41. package/esm2020/lib/shared/loader/loader.component.mjs +11 -0
  42. package/esm2020/lib/shared/metadata/metadata.component.mjs +51 -0
  43. package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +44 -0
  44. package/esm2020/lib/shared/search-filter/search-filter.component.mjs +2134 -0
  45. package/esm2020/lib/shared/shared.module.mjs +21 -0
  46. package/esm2020/public-api.mjs +41 -0
  47. package/esm2020/sachin9822-reports-lib.mjs +5 -0
  48. package/fesm2015/sachin9822-reports-lib.mjs +8429 -0
  49. package/fesm2015/sachin9822-reports-lib.mjs.map +1 -0
  50. package/fesm2020/sachin9822-reports-lib.mjs +8411 -0
  51. package/fesm2020/sachin9822-reports-lib.mjs.map +1 -0
  52. package/index.d.ts +5 -0
  53. package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +70 -0
  54. package/lib/components/accounting-report/accounting-report.component.d.ts +76 -0
  55. package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +58 -0
  56. package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +69 -0
  57. package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +78 -0
  58. package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +95 -0
  59. package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +55 -0
  60. package/lib/components/funding-report/funding-report.component.d.ts +55 -0
  61. package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +57 -0
  62. package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +109 -0
  63. package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +76 -0
  64. package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +68 -0
  65. package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +72 -0
  66. package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +8 -0
  67. package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +18 -0
  68. package/lib/models/accounting-report/accounting-report-branch-group.d.ts +6 -0
  69. package/lib/models/accounting-report/accounting-report-entry-model.d.ts +24 -0
  70. package/lib/models/accounting-report/accounting-report-model.d.ts +6 -0
  71. package/{src/lib/models/accounting-report/accounting-report-sub-group.ts → lib/models/accounting-report/accounting-report-sub-group.d.ts} +2 -3
  72. package/{src/lib/models/app-config.model.ts → lib/models/app-config.model.d.ts} +7 -8
  73. package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +18 -0
  74. package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +13 -0
  75. package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +24 -0
  76. package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +44 -0
  77. package/lib/models/component-loading-states.d.ts +5 -0
  78. package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +26 -0
  79. 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
  80. package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +18 -0
  81. package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +113 -0
  82. package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +13 -0
  83. package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +23 -0
  84. package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +39 -0
  85. package/lib/reports-lib-routing.module.d.ts +7 -0
  86. package/lib/reports-lib.component.d.ts +8 -0
  87. package/lib/reports-lib.module.d.ts +33 -0
  88. package/lib/reports-lib.service.d.ts +6 -0
  89. package/lib/services/config.service.d.ts +20 -0
  90. package/lib/services/report.service.d.ts +80 -0
  91. package/lib/shared/export-generic.service.d.ts +50 -0
  92. package/lib/shared/export.service.d.ts +32 -0
  93. package/lib/shared/loader/loader.component.d.ts +5 -0
  94. package/lib/shared/metadata/metadata.component.d.ts +24 -0
  95. package/lib/shared/page-size-selector/page-size-selector.component.d.ts +15 -0
  96. package/lib/shared/search-filter/search-filter.component.d.ts +127 -0
  97. package/lib/shared/shared.module.d.ts +11 -0
  98. package/package.json +31 -16
  99. package/{src/public-api.ts → public-api.d.ts} +7 -17
  100. package/karma.conf.js +0 -44
  101. package/ng-package.json +0 -17
  102. package/src/assets/images/BreadcrumbArrow.png +0 -0
  103. package/src/assets/images/XMCoral.png +0 -0
  104. package/src/lib/assets/images/Search.svg +0 -10
  105. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +0 -27
  106. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +0 -46
  107. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +0 -23
  108. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +0 -292
  109. package/src/lib/components/accounting-report/accounting-report.component.html +0 -64
  110. package/src/lib/components/accounting-report/accounting-report.component.scss +0 -24
  111. package/src/lib/components/accounting-report/accounting-report.component.spec.ts +0 -23
  112. package/src/lib/components/accounting-report/accounting-report.component.ts +0 -738
  113. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +0 -46
  114. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +0 -2
  115. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +0 -23
  116. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +0 -247
  117. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +0 -46
  118. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +0 -3
  119. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +0 -23
  120. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +0 -276
  121. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +0 -51
  122. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +0 -7
  123. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +0 -23
  124. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +0 -840
  125. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +0 -68
  126. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +0 -65
  127. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +0 -23
  128. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +0 -290
  129. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +0 -25
  130. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +0 -1
  131. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +0 -23
  132. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +0 -213
  133. package/src/lib/components/funding-report/funding-report.component.html +0 -49
  134. package/src/lib/components/funding-report/funding-report.component.scss +0 -1
  135. package/src/lib/components/funding-report/funding-report.component.spec.ts +0 -23
  136. package/src/lib/components/funding-report/funding-report.component.ts +0 -221
  137. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +0 -26
  138. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +0 -1
  139. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +0 -23
  140. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +0 -267
  141. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +0 -95
  142. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +0 -54
  143. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +0 -23
  144. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +0 -904
  145. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +0 -49
  146. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +0 -2
  147. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +0 -32
  148. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +0 -304
  149. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +0 -46
  150. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +0 -7
  151. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +0 -343
  152. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +0 -25
  153. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +0 -23
  154. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +0 -23
  155. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +0 -745
  156. package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +0 -10
  157. package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +0 -20
  158. package/src/lib/models/accounting-report/accounting-report-branch-group.ts +0 -7
  159. package/src/lib/models/accounting-report/accounting-report-entry-model.ts +0 -25
  160. package/src/lib/models/accounting-report/accounting-report-model.ts +0 -7
  161. package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +0 -18
  162. package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +0 -16
  163. package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +0 -26
  164. package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +0 -65
  165. package/src/lib/models/component-loading-states.ts +0 -5
  166. package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +0 -28
  167. package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +0 -21
  168. package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +0 -127
  169. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +0 -16
  170. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +0 -29
  171. package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +0 -46
  172. package/src/lib/reports-lib-routing.module.ts +0 -20
  173. package/src/lib/reports-lib.component.spec.ts +0 -23
  174. package/src/lib/reports-lib.component.ts +0 -20
  175. package/src/lib/reports-lib.module.ts +0 -102
  176. package/src/lib/reports-lib.service.spec.ts +0 -16
  177. package/src/lib/reports-lib.service.ts +0 -9
  178. package/src/lib/services/config.service.ts +0 -43
  179. package/src/lib/services/report.service.spec.ts +0 -16
  180. package/src/lib/services/report.service.ts +0 -463
  181. package/src/lib/shared/export-generic.service.ts +0 -557
  182. package/src/lib/shared/export.service.spec.ts +0 -16
  183. package/src/lib/shared/export.service.ts +0 -457
  184. package/src/lib/shared/loader/loader.component.html +0 -8
  185. package/src/lib/shared/loader/loader.component.scss +0 -52
  186. package/src/lib/shared/loader/loader.component.ts +0 -10
  187. package/src/lib/shared/metadata/metadata.component.html +0 -42
  188. package/src/lib/shared/metadata/metadata.component.scss +0 -95
  189. package/src/lib/shared/metadata/metadata.component.spec.ts +0 -23
  190. package/src/lib/shared/metadata/metadata.component.ts +0 -38
  191. package/src/lib/shared/page-size-selector/page-size-selector.component.html +0 -7
  192. package/src/lib/shared/page-size-selector/page-size-selector.component.scss +0 -42
  193. package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +0 -23
  194. package/src/lib/shared/page-size-selector/page-size-selector.component.ts +0 -38
  195. package/src/lib/shared/search-filter/search-filter.component.html +0 -601
  196. package/src/lib/shared/search-filter/search-filter.component.scss +0 -203
  197. package/src/lib/shared/search-filter/search-filter.component.spec.ts +0 -23
  198. package/src/lib/shared/search-filter/search-filter.component.ts +0 -2387
  199. package/src/lib/shared/shared.module.ts +0 -13
  200. package/src/styles/ag-grid-report-style.scss +0 -71
  201. package/src/styles/common-ag-grid-style.scss +0 -146
  202. package/src/styles/common-report-style.scss +0 -395
  203. package/src/styles/common-style.scss +0 -615
  204. package/src/test.ts +0 -27
  205. package/tsconfig.lib.json +0 -15
  206. package/tsconfig.lib.prod.json +0 -10
  207. package/tsconfig.spec.json +0 -17
  208. /package/{src/lib → lib}/assets/config/app-config.json +0 -0
  209. /package/{src → lib}/assets/images/Search.svg +0 -0
  210. /package/{src/lib → lib}/assets/images/XMLogo.png +0 -0
  211. /package/{src/lib → lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
@@ -0,0 +1,109 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
3
+ import { ReportService } from '../../services/report.service';
4
+ import { StatementOfAccountItem } from '../../models/statement-of-account-report/statement-of-accounts.model';
5
+ import 'jspdf-autotable';
6
+ import * as i0 from "@angular/core";
7
+ export declare class StatementOfAccountsReportComponent implements OnInit {
8
+ private reportService;
9
+ ReportName: string;
10
+ ComponentLoadingState: typeof ComponentLoadingStates;
11
+ loadingState: ComponentLoadingStates;
12
+ errorMessage: string;
13
+ hasSearched: boolean;
14
+ private destroy$;
15
+ openingBalAndFunding: StatementOfAccountItem[];
16
+ sendDetails: StatementOfAccountItem[];
17
+ receiveDetails: StatementOfAccountItem[];
18
+ noDataFromApi: boolean;
19
+ metaDataOne: Record<string, string>;
20
+ metaDataTwo: Record<string, string>;
21
+ user: any;
22
+ currentDateTime: Date;
23
+ sendPinnedBottomRow: any[];
24
+ receivePinnedBottomRow: any[];
25
+ private sendGridApi;
26
+ private receiveGridApi;
27
+ private openingGridApi;
28
+ searchText: string;
29
+ closingBalance: number;
30
+ closingBalanceCurrency: string;
31
+ closingBalanceUSDInWords: string;
32
+ selectedClientType: string;
33
+ showTables: boolean;
34
+ private logoBase64?;
35
+ selectedExportOption: string;
36
+ closingBalanceInSettlment: number;
37
+ closingBalanceSettlmentCurrency: string;
38
+ closingBalanceSettlmentInWords: string;
39
+ closingBalanceSettlmentFormatted: string;
40
+ closingBalanceInUsdFormatted: string;
41
+ reportUserandTime: string;
42
+ searchCriteria: [string, string][];
43
+ isFormValid: boolean;
44
+ constructor(reportService: ReportService);
45
+ ngOnInit(): Promise<void>;
46
+ columnDefs: ({
47
+ headerName: string;
48
+ field: string;
49
+ flex: number;
50
+ tooltipField: string;
51
+ cellClassRules: {
52
+ 'pinned-total-cell': (params: any) => boolean;
53
+ };
54
+ cellClass?: undefined;
55
+ valueFormatter?: undefined;
56
+ tooltipValueGetter?: undefined;
57
+ } | {
58
+ headerName: string;
59
+ field: string;
60
+ flex: number;
61
+ cellClass: string;
62
+ valueFormatter: (params: any) => string;
63
+ tooltipValueGetter: (params: any) => string;
64
+ cellClassRules: {
65
+ 'pinned-total-cell': (params: any) => boolean;
66
+ };
67
+ tooltipField?: undefined;
68
+ })[];
69
+ defaultColDef: {
70
+ sortable: boolean;
71
+ filter: boolean;
72
+ resizable: boolean;
73
+ minwidth: number;
74
+ wrapHeaderText: boolean;
75
+ autoHeaderHeight: boolean;
76
+ suppressSizeToFit: boolean;
77
+ wrapText: boolean;
78
+ autoHeight: boolean;
79
+ };
80
+ currencyFormatter(params: any): string;
81
+ handleSearch(criteria: any): Promise<void>;
82
+ private buildTotalRow;
83
+ onOpeningGridReady(params: any): void;
84
+ onSendGridReady(params: any): void;
85
+ onReceiveGridReady(params: any): void;
86
+ filter(text: string): void;
87
+ private calculateClosingBalance;
88
+ private formatNoComma;
89
+ private getFirstSettlementCurrency;
90
+ numberToWords(num: number): string;
91
+ private ones;
92
+ private teens;
93
+ private tens;
94
+ private convertNumber;
95
+ onExportChange(value: string): void;
96
+ handleExport(option: string): void;
97
+ exportToPDF(): void;
98
+ exportToExcel(): void;
99
+ exportToCSV(): void;
100
+ private loadImageAsBase64;
101
+ private getDisplayedData;
102
+ private getHeaders;
103
+ private format3;
104
+ private buildRows;
105
+ private getVisibleGrids;
106
+ handleFormValid(isValid: boolean): void;
107
+ static ɵfac: i0.ɵɵFactoryDeclaration<StatementOfAccountsReportComponent, never>;
108
+ static ɵcmp: i0.ɵɵComponentDeclaration<StatementOfAccountsReportComponent, "lib-statement-of-accounts-report", never, {}, {}, never, never, false>;
109
+ }
@@ -0,0 +1,76 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AgGridAngular } from 'ag-grid-angular';
3
+ import { ColDef, GridReadyEvent, GridApi, ColumnApi } from 'ag-grid-community';
4
+ import { ReportService } from '../../services/report.service';
5
+ import { TransactionData, ComponentLoadingState } from '../../models/transaction-enquiry-report/transaction-enquiry.model';
6
+ import { ExportService } from '../../shared/export.service';
7
+ import { ConfigService } from '../../services/config.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TransactionEnquiryComponent implements OnInit {
10
+ private reportService;
11
+ private exportService;
12
+ private config;
13
+ agGrid: AgGridAngular;
14
+ private destroy$;
15
+ gridApi: GridApi;
16
+ searchText: string;
17
+ paginationPageSize: number;
18
+ selectedExportOption: string;
19
+ currentDateTime: Date;
20
+ exportFormats: {
21
+ formatName: string;
22
+ code: string;
23
+ }[];
24
+ loadingState: ComponentLoadingState;
25
+ ComponentLoadingState: typeof ComponentLoadingState;
26
+ isSearching: boolean;
27
+ hasSearched: boolean;
28
+ _errorMessage: string;
29
+ gridColumnApi: ColumnApi;
30
+ token: string;
31
+ applicationType: string;
32
+ companyCode: string;
33
+ serviceUrl: string;
34
+ searchCriteria: [string, string][];
35
+ transactionData: TransactionData[];
36
+ ReportName: string;
37
+ metaDataOne: Record<string, string>;
38
+ metaDataTwo: Record<string, string>;
39
+ filteredData: TransactionData[];
40
+ reportUserandTime: string;
41
+ reportPeriod: string;
42
+ user: any;
43
+ isFormValid: boolean;
44
+ columnDefs: ColDef[];
45
+ defaultColDef: {
46
+ sortable: boolean;
47
+ filter: boolean;
48
+ resizable: boolean;
49
+ minwidth: number;
50
+ wrapHeaderText: boolean;
51
+ autoHeaderHeight: boolean;
52
+ suppressSizeToFit: boolean;
53
+ wrapText: boolean;
54
+ autoHeight: boolean;
55
+ };
56
+ private buildTransactionDetailsUrl;
57
+ constructor(reportService: ReportService, exportService: ExportService, config: ConfigService);
58
+ ngOnInit(): void;
59
+ ngOnDestroy(): void;
60
+ handleSearch(criteria: any): void;
61
+ filter(text: string): void;
62
+ onGridReady(params: GridReadyEvent): void;
63
+ clearError(): void;
64
+ get isLoading(): boolean;
65
+ get isError(): boolean;
66
+ get errorMessage(): string;
67
+ set errorMessage(value: string);
68
+ onExportChange(value: string): void;
69
+ handleExport(option: string): void;
70
+ exportToPDF(): void;
71
+ exportToExcel(): void;
72
+ exportToCSV(): void;
73
+ handleFormValid(isValid: boolean): void;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionEnquiryComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionEnquiryComponent, "app-transaction-enquiry", never, {}, {}, never, never, false>;
76
+ }
@@ -0,0 +1,68 @@
1
+ import { NgZone, OnInit } from "@angular/core";
2
+ import { TransactionMonitoringReport } from "../../models/transaction-monitoring-report/transaction-monitoring-report";
3
+ import { ColDef, GridApi, GridReadyEvent } from "ag-grid-community";
4
+ import { ComponentLoadingStates } from "../../models/component-loading-states";
5
+ import { GenericExportService } from "../../shared/export-generic.service";
6
+ import { ReportService } from "../../services/report.service";
7
+ import { ActivatedRoute } from '@angular/router';
8
+ import * as i0 from "@angular/core";
9
+ export declare class TransactionMonitoringReportComponent implements OnInit {
10
+ private reportService;
11
+ private ngZone;
12
+ private route;
13
+ dataMap: Record<string, TransactionMonitoringReport[]>;
14
+ filteredData: Record<string, TransactionMonitoringReport[]>;
15
+ proxyData: Record<string, TransactionMonitoringReport[]>;
16
+ showReport: boolean;
17
+ paginationArray: any[];
18
+ selectedExportOption: string;
19
+ gridApis: GridApi[];
20
+ gridColumnApi: any;
21
+ user: string;
22
+ reportDate: string;
23
+ fromDate: string;
24
+ toDate: string;
25
+ searchText: string;
26
+ buffer: any;
27
+ sysUserId: string;
28
+ private logoBase64;
29
+ ComponentLoadingState: typeof ComponentLoadingStates;
30
+ loadingState: ComponentLoadingStates;
31
+ ReportName: string;
32
+ leftData: Record<string, string>;
33
+ metaDataTwo: Record<string, string>;
34
+ exportService: GenericExportService;
35
+ searchCriteria: [string, string][];
36
+ initialFilters: any;
37
+ showMessage: boolean;
38
+ noDataFound: boolean;
39
+ isFormValid: boolean;
40
+ columnDefs: ColDef<TransactionMonitoringReport>[];
41
+ defaultColDef: {
42
+ sortable: boolean;
43
+ filter: boolean;
44
+ resizable: boolean;
45
+ minwidth: number;
46
+ wrapHeaderText: boolean;
47
+ autoHeaderHeight: boolean;
48
+ suppressSizeToFit: boolean;
49
+ wrapText: boolean;
50
+ };
51
+ rowData: TransactionMonitoringReport[];
52
+ constructor(reportService: ReportService, ngZone: NgZone, route: ActivatedRoute);
53
+ reportTheme: import("@ag-grid-community/theming").Theme<import("@ag-grid-community/theming/dist/types/src/styles/core/core-css").CoreParams & import("@ag-grid-community/theming").CheckboxStyleParams & import("@ag-grid-community/theming").TabStyleParams & import("@ag-grid-community/theming").InputStyleParams>;
54
+ ngOnInit(): void;
55
+ filter(text: string): void;
56
+ onGridReady(params: GridReadyEvent, id: number): void;
57
+ handleExport(option: string): void;
58
+ dateValueFormatter(format: string): (params: any) => string;
59
+ getKeys(obj: Record<string, unknown>): string[];
60
+ hasAnyGroups(): boolean;
61
+ formatAmount(params: any): string;
62
+ statusOrderMap: any;
63
+ statusOrderComparator: (a: any, b: any) => number;
64
+ handleSearch(criteria: any): void;
65
+ handleFormValid(isValid: boolean): void;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<TransactionMonitoringReportComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<TransactionMonitoringReportComponent, "lib-transaction-monitoring-report", never, {}, {}, never, never, false>;
68
+ }
@@ -0,0 +1,72 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ColDef, ColumnApi, GridApi, GridReadyEvent } from 'ag-grid-community';
3
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
4
+ import { AccountDetail, TrialBalanceReport } from '../../models/trial-balance-accounts-report/trial-balance-accounts.models';
5
+ import { ReportService } from '../../services/report.service';
6
+ import 'jspdf-autotable';
7
+ import { ExportService } from '../../shared/export.service';
8
+ import * as i0 from "@angular/core";
9
+ declare module 'jspdf' {
10
+ interface jsPDF {
11
+ autoTable: (options: any) => jsPDF;
12
+ }
13
+ }
14
+ export interface TrialBalanceAccountsReportRequestDTO {
15
+ year: number;
16
+ dateType: string;
17
+ fromDate: string;
18
+ toDate: string;
19
+ accountStatus: string;
20
+ businessUnit: string;
21
+ currency: string;
22
+ companyCode: string;
23
+ reportPeriod: string;
24
+ }
25
+ export declare class TrialBalanceAccountsReportComponent implements OnInit {
26
+ private reportService;
27
+ private exportService;
28
+ ReportName: string;
29
+ gridApi: GridApi;
30
+ metaDataOne: Record<string, string>;
31
+ metaDataTwo: Record<string, string>;
32
+ ComponentLoadingState: typeof ComponentLoadingStates;
33
+ loadingState: ComponentLoadingStates;
34
+ trialBalanceReport: TrialBalanceReport;
35
+ selectedExportOption: string;
36
+ pageSize: number;
37
+ dataReady: boolean;
38
+ searchCriteria: [string, string][];
39
+ accountStatus: string;
40
+ currency: string;
41
+ dateType: string;
42
+ fromDate: string;
43
+ toDate: string;
44
+ businessUnit: string;
45
+ reportUser: string;
46
+ reportTime: string;
47
+ reportPeriod: string;
48
+ isFormValid: boolean;
49
+ defaultColDef: ColDef;
50
+ rowClassRules: {
51
+ 'total-row': (params: any) => any;
52
+ };
53
+ columnDefs: ColDef[];
54
+ rowData: AccountDetail[];
55
+ gridColumnApi: ColumnApi;
56
+ businessUnits: any[];
57
+ constructor(reportService: ReportService, exportService: ExportService);
58
+ ngOnInit(): void;
59
+ getTrialBalanceAccountsReport(req: any): void;
60
+ flattenReport(report: TrialBalanceReport): AccountDetail[];
61
+ onGridReady(params: GridReadyEvent): void;
62
+ onResize(): void;
63
+ onSearch(text: string): void;
64
+ handleExport(option: string): void;
65
+ exportToPdf(): void;
66
+ exportToExcel(): void;
67
+ exportToCsv(): void;
68
+ getReport(payload: any): void;
69
+ handleFormValid(isValid: boolean): void;
70
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrialBalanceAccountsReportComponent, never>;
71
+ static ɵcmp: i0.ɵɵComponentDeclaration<TrialBalanceAccountsReportComponent, "lib-trial-balance-accounts-report", never, {}, {}, never, never, false>;
72
+ }
@@ -0,0 +1,8 @@
1
+ import { journalVoucherEntryModel } from "./journal-voucher-entry-model";
2
+ export interface AccGlDetailsEnquiryReportModel {
3
+ companyName: string;
4
+ reportUser: string;
5
+ reportTime: string;
6
+ date: Date;
7
+ journalVoucherEntries: journalVoucherEntryModel[];
8
+ }
@@ -0,0 +1,18 @@
1
+ export interface journalVoucherEntryModel {
2
+ journalID: string;
3
+ transactionNo: string;
4
+ transactionCode: string;
5
+ journalType: string;
6
+ postingDate: string;
7
+ valueDate: String;
8
+ description: string;
9
+ accountCode: string;
10
+ currency: string;
11
+ rate: string;
12
+ forexDebit: string;
13
+ localDebit: string;
14
+ forexCredit: string;
15
+ localCredit: string;
16
+ id: number;
17
+ rateDecimal: number;
18
+ }
@@ -0,0 +1,6 @@
1
+ import { AccountingReportSubGroup } from "./accounting-report-sub-group";
2
+ export interface AccountingReportBranchGroup {
3
+ branchNameAndCode: string;
4
+ sendTransactions: AccountingReportSubGroup;
5
+ receiveTransactions: AccountingReportSubGroup;
6
+ }
@@ -0,0 +1,24 @@
1
+ export interface AccountingReportEntryModel {
2
+ businessDate: string;
3
+ transactionDateAndTime: string;
4
+ transactionNumber: string;
5
+ sendClient: string;
6
+ principleSendClient: string;
7
+ receiveClient: string;
8
+ principleReceiveClient: string;
9
+ receiveCurrency: string;
10
+ amountPaid: string;
11
+ sendCurrency: string;
12
+ serviceFee: string;
13
+ tax: string;
14
+ principleSendAmount: string;
15
+ transactionStatus: string;
16
+ settlementCurrency: string;
17
+ clientSettlementInSCcy: string;
18
+ clientSettlementInUSD: string;
19
+ shareType: string;
20
+ shareValue: string;
21
+ sendReceiveFeeCcy: string;
22
+ shareAmountInUSD: string;
23
+ settlementRate: string;
24
+ }
@@ -0,0 +1,6 @@
1
+ import { AccountingReportBranchGroup } from "./accounting-report-branch-group";
2
+ export interface AccountingReportModel {
3
+ reportUser: string;
4
+ reportTime: string;
5
+ accountingReportByBranchGroups: AccountingReportBranchGroup[];
6
+ }
@@ -1,6 +1,5 @@
1
1
  import { AccountingReportEntryModel } from "./accounting-report-entry-model";
2
-
3
2
  export interface AccountingReportSubGroup {
4
- subGroupName: string; // "Send Transactions" / "Receive Transactions"
5
- entries: AccountingReportEntryModel[];
3
+ subGroupName: string;
4
+ entries: AccountingReportEntryModel[];
6
5
  }
@@ -8,7 +8,7 @@ export interface IAppConfig {
8
8
  auth?: {
9
9
  issuer?: string;
10
10
  redirectUri?: string;
11
- silentRefreshRedirectUri?: string,
11
+ silentRefreshRedirectUri?: string;
12
12
  clientId?: string;
13
13
  logoutUrl?: string;
14
14
  scope?: string;
@@ -19,10 +19,10 @@ export interface IAppConfig {
19
19
  useSilentRefresh?: boolean;
20
20
  };
21
21
  formatting?: {
22
- shortDate?: string,
23
- longDate?: string,
24
- time?: string,
25
- timeZone?: string
22
+ shortDate?: string;
23
+ longDate?: string;
24
+ time?: string;
25
+ timeZone?: string;
26
26
  };
27
27
  logging?: {
28
28
  levelMin?: string;
@@ -43,7 +43,6 @@ export interface IAppConfig {
43
43
  sysBaseRoundOff?: string;
44
44
  sysBaseRoundOffVat?: string;
45
45
  sessionTimeoutMinutes?: string;
46
- directToAccount?:string;
47
- cashPayout?:string;
48
-
46
+ directToAccount?: string;
47
+ cashPayout?: string;
49
48
  }
@@ -0,0 +1,18 @@
1
+ export interface BranchActivityReceiveReportModel {
2
+ LastModifiedById: string;
3
+ SenderName: string;
4
+ ReceiverName: string;
5
+ SendAgentName: string;
6
+ ReceiveAgentName: string;
7
+ PayOutCurrency: string;
8
+ BusinessDateTime: string;
9
+ TransactionDateAndTime: string;
10
+ TransactionNumber: string;
11
+ Product: string;
12
+ SendAgentCode: string;
13
+ ReceiveAgentBranchName: string;
14
+ ReceiveAgentBranchCode: string;
15
+ ReceivePrincipalAgentCode: string;
16
+ AmountPaid: number;
17
+ Status: string;
18
+ }
@@ -0,0 +1,13 @@
1
+ export declare class BranchActivitySendReportRequestDomainModel {
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,24 @@
1
+ export interface BranchActivityReportDictionay {
2
+ }
3
+ export declare class BranchActivityReport {
4
+ SendAgentBranchNameAndCode: string;
5
+ BusinessDateTime: string;
6
+ TransactionDateTime: string;
7
+ TransactionNumber: string;
8
+ Product: string;
9
+ SendAgentBranchCode: string;
10
+ SendPrincipalAgentCode: string;
11
+ ReceiveAgentCode: string;
12
+ PayoutCCcode: string;
13
+ PayoutAmount?: number;
14
+ PayinCCcode: string;
15
+ PayinAmount?: number;
16
+ TransactionCommissionAmount?: number;
17
+ Tax?: number;
18
+ TotalPayinAmount?: number;
19
+ Status: string;
20
+ TransactionCount: number;
21
+ payinCCcode: string;
22
+ IsTotalRow: boolean;
23
+ isTotalRow: boolean;
24
+ }
@@ -0,0 +1,44 @@
1
+ export interface Country {
2
+ number: string;
3
+ countryCode: string;
4
+ country: string;
5
+ ezRemitCountry: string;
6
+ }
7
+ export interface PayInAgent {
8
+ correlationId: string;
9
+ code: string;
10
+ agent: string;
11
+ number: string;
12
+ }
13
+ export interface ProductType {
14
+ name: string;
15
+ productCode: string;
16
+ }
17
+ export interface CancellationTransactionPageLoadData {
18
+ countries: Country[];
19
+ payInAgents: PayInAgent[];
20
+ productTypes: ProductType[];
21
+ }
22
+ export declare class CancellationTransaction {
23
+ sendAgentBranchNameAndCode: string;
24
+ businessDateTime: string;
25
+ txnDateAndTime: string;
26
+ transactionNumber: string;
27
+ product: string;
28
+ sendAgentBranchCode: string;
29
+ sendPrincipalAgentCode: string;
30
+ recvAGTcode: string;
31
+ payoutCCcode: string;
32
+ payOutAmount: number;
33
+ payinCCcode: string;
34
+ payInAmount: number;
35
+ txnCommission: number;
36
+ tax: number;
37
+ totalPayinAmount: number;
38
+ status: string;
39
+ cancellationBranchDateTime: string;
40
+ cancellationBusinessDate: string;
41
+ cancellationLocationCode: string;
42
+ statusChangedBy: string;
43
+ cancellationReason: string;
44
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum ComponentLoadingStates {
2
+ Error = -1,
3
+ Loading = 0,
4
+ Complete = 1
5
+ }
@@ -0,0 +1,26 @@
1
+ export declare class CreditLimitStatusEnquiryReportModel {
2
+ agentName: string;
3
+ createdDate: string;
4
+ authorisationDate: string;
5
+ requestCreatedDate: string;
6
+ authorisedDate: string;
7
+ requestNumber: number;
8
+ currencyCode: string;
9
+ agentCode: string;
10
+ creditLimit: number;
11
+ requestTCLAmount: number;
12
+ requestStatus: string;
13
+ authorisingUserId: string;
14
+ creditTransferNo: number;
15
+ requestingUserId: string;
16
+ authorisingUser: string;
17
+ requestingUser: string;
18
+ requestDescription: string;
19
+ }
20
+ export declare class CreditLimitEnquiryBusinessPartnerAgentModel {
21
+ name: string;
22
+ businessPartnerType: string;
23
+ code: string;
24
+ id: number;
25
+ sortOrder: number;
26
+ }
@@ -30,4 +30,4 @@ export interface RevenuePerTransactionResponseModel {
30
30
  revenuePerTransaction?: number | null;
31
31
  totalSettleAmount?: number | null;
32
32
  transactionStatus?: string | null;
33
- }
33
+ }
@@ -0,0 +1,18 @@
1
+ export interface StatementOfAccountRequest {
2
+ businessPartnerID: number;
3
+ fromDate: string;
4
+ toDate: string;
5
+ clientType: string;
6
+ }
7
+ export interface StatementOfAccountItem {
8
+ id: number;
9
+ description: string;
10
+ settlmentCcy: string;
11
+ amountInSettlmentCcy: number;
12
+ amountInUSD: number;
13
+ }
14
+ export interface StatementOfAccountResponse {
15
+ openingBalAndFunding: StatementOfAccountItem[];
16
+ sendDetails: StatementOfAccountItem[] | null;
17
+ receiveDetails: StatementOfAccountItem[] | null;
18
+ }