@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.
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
package/index.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@sachin9822/reports-lib" />
5
+ export * from './public-api';
@@ -0,0 +1,70 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ReportService } from '../../services/report.service';
3
+ import { AccGlDetailsEnquiryReportModel } from '../../models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel';
4
+ import { ColDef, ColumnApi, GridApi, GridReadyEvent } from 'ag-grid-community';
5
+ import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
+ import { HttpClient } from '@angular/common/http';
7
+ import 'jspdf-autotable';
8
+ import { ExportService } from '../../shared/export.service';
9
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
10
+ import * as i0 from "@angular/core";
11
+ declare module 'jspdf' {
12
+ interface jsPDF {
13
+ autoTable: (options: any) => jsPDF;
14
+ }
15
+ }
16
+ export declare class AccGlDetailsEnquiryReportComponent implements OnInit {
17
+ private exportService;
18
+ private reportService;
19
+ private http;
20
+ private sanitizer;
21
+ searchText: string;
22
+ gridApi: GridApi<any>;
23
+ gridColumnApi: ColumnApi;
24
+ selectedExportOption: string;
25
+ svgLoader: SafeHtml;
26
+ loading: boolean;
27
+ dataReady: boolean;
28
+ dateTypeFilter: number;
29
+ dateType: any;
30
+ sysCompanyCode: any;
31
+ sysUserId: any;
32
+ companyName: any;
33
+ reportUser: any;
34
+ reportTime: any;
35
+ currentReportValueOrPostDate: any;
36
+ accGlDetailsEnquiryReportModel: AccGlDetailsEnquiryReportModel;
37
+ rowData: any[];
38
+ date: string;
39
+ pageSize: number;
40
+ ReportName: string;
41
+ exportFormats: {
42
+ formatName: string;
43
+ code: string;
44
+ }[];
45
+ metaDataOne: Record<string, string>;
46
+ metaDataTwo: Record<string, string>;
47
+ ComponentLoadingState: typeof ComponentLoadingStates;
48
+ loadingState: ComponentLoadingStates;
49
+ searchCriteria: [string, string][];
50
+ isFormValid: boolean;
51
+ defaultColDef: ColDef;
52
+ columnDefs: ColDef[];
53
+ constructor(exportService: ExportService, reportService: ReportService, http: HttpClient, sanitizer: DomSanitizer);
54
+ ngOnInit(): void;
55
+ getAccGLDetailsReport(): void;
56
+ private formatDateValue;
57
+ private formatNumberValue;
58
+ onGridReady(params: GridReadyEvent): void;
59
+ onGridSizeChanged(params: any): void;
60
+ getRowHeight(params: any): number;
61
+ onSearch(text: string): void;
62
+ handleExport(option: string): void;
63
+ exportToPdf(): Promise<void>;
64
+ exportToExcel(): void;
65
+ exportToCsv(): void;
66
+ handleSearch(criteria: any): void;
67
+ handleFormValid(isValid: boolean): void;
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccGlDetailsEnquiryReportComponent, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccGlDetailsEnquiryReportComponent, "lib-acc-gl-details-enquiry-report", never, {}, {}, never, never, false>;
70
+ }
@@ -0,0 +1,76 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { AccountingReportModel } from '../../models/accounting-report/accounting-report-model';
3
+ import { ColDef, ColumnApi, GridApi, GridReadyEvent } from 'ag-grid-community';
4
+ import { ReportService } from '../../services/report.service';
5
+ import { ExportService } from '../../shared/export.service';
6
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
7
+ import { AccountingReportBranchGroup } from '../../models/accounting-report/accounting-report-branch-group';
8
+ import 'jspdf-autotable';
9
+ import * as i0 from "@angular/core";
10
+ declare module 'jspdf' {
11
+ interface jsPDF {
12
+ autoTable: (options: any) => jsPDF;
13
+ }
14
+ }
15
+ export interface AccountingReportRequest {
16
+ startDate: string;
17
+ endDate: string;
18
+ sendCountryCode: string;
19
+ recvCountryCode: string;
20
+ businessPartnerCorrelationID: string;
21
+ transactionStatus: string;
22
+ payoutCurrency: string;
23
+ transactionType: string;
24
+ branchCode: string;
25
+ companyCode: string;
26
+ }
27
+ export declare class AccountingReportComponent implements OnInit {
28
+ private reportService;
29
+ private exportService;
30
+ ReportName: string;
31
+ reportUser: any;
32
+ reportTime: any;
33
+ reportPeriod: any;
34
+ branchNameAndCode: any;
35
+ subGroupColumn: any;
36
+ ComponentLoadingState: typeof ComponentLoadingStates;
37
+ loadingState: ComponentLoadingStates;
38
+ noDataFound: boolean;
39
+ leftData: Record<string, string>;
40
+ rightData: Record<string, string>;
41
+ searchCriteria: [string, string][];
42
+ searchText: string;
43
+ rowData: any[];
44
+ accountingReportModel: AccountingReportModel;
45
+ pageSize: number;
46
+ selectedExportOption: string;
47
+ exportFormats: {
48
+ formatName: string;
49
+ code: string;
50
+ }[];
51
+ isFormValid: boolean;
52
+ defaultColDef: ColDef;
53
+ columnDefs: ColDef[];
54
+ gridApis: GridApi[];
55
+ gridColumnApis: ColumnApi[];
56
+ paginationArray: any[];
57
+ ezremitUser: boolean;
58
+ originalGroupEntries: AccountingReportBranchGroup[];
59
+ constructor(reportService: ReportService, exportService: ExportService);
60
+ ngOnInit(): void;
61
+ getAccountingReport(request?: AccountingReportRequest): void;
62
+ handleExport(option: string): Promise<void>;
63
+ onSearch(text: string): void;
64
+ onGridReady(params: GridReadyEvent, id: number): void;
65
+ onGridSizeChanged(params: any, id: number): void;
66
+ autoSizeAllColumns(id: number, skipHeader?: boolean): void;
67
+ formatNumber(params: any): string;
68
+ private exportToPdf;
69
+ private exportToExcel;
70
+ private prepareAccountingTable;
71
+ private exportToCsv;
72
+ getReport(payload: any): void;
73
+ handleFormValid(isValid: boolean): void;
74
+ static ɵfac: i0.ɵɵFactoryDeclaration<AccountingReportComponent, never>;
75
+ static ɵcmp: i0.ɵɵComponentDeclaration<AccountingReportComponent, "lib-accounting-report", never, {}, {}, never, never, false>;
76
+ }
@@ -0,0 +1,58 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ColDef, GridApi, GridReadyEvent } from 'ag-grid-community';
3
+ import { ReportService } from '../../services/report.service';
4
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
5
+ import { BranchActivityReceiveReportModel } from '../../models/branch-activity-receive-report/branch-activity-receive.model';
6
+ import 'jspdf-autotable';
7
+ import { GenericExportService } from '../../shared/export-generic.service';
8
+ import * as i0 from "@angular/core";
9
+ export declare class BranchActivityReceiveReportComponent implements OnInit {
10
+ data: any;
11
+ dataMap: Record<string, BranchActivityReceiveReportModel[]>;
12
+ filteredData: Record<string, BranchActivityReceiveReportModel[]>;
13
+ user: string;
14
+ ReportName: string;
15
+ reportService: ReportService;
16
+ reportDate: string;
17
+ fromDate: string;
18
+ toDate: string;
19
+ metaDataOne: Record<string, string>;
20
+ metaDataTwo: Record<string, string>;
21
+ ComponentLoadingState: typeof ComponentLoadingStates;
22
+ loadingState: ComponentLoadingStates;
23
+ paginationArray: any[];
24
+ selectedExportOption: string;
25
+ private logoBase64;
26
+ searchText: string;
27
+ exportService: GenericExportService;
28
+ gridApis: GridApi[];
29
+ searchCriteria: [string, string][];
30
+ showReport: boolean;
31
+ noDataFound: boolean;
32
+ isFormValid: boolean;
33
+ columnDefs: ColDef<BranchActivityReceiveReportModel>[];
34
+ defaultColDef: {
35
+ sortable: boolean;
36
+ filter: boolean;
37
+ resizable: boolean;
38
+ minwidth: number;
39
+ wrapHeaderText: boolean;
40
+ autoHeaderHeight: boolean;
41
+ suppressSizeToFit: boolean;
42
+ wrapText: boolean;
43
+ };
44
+ constructor();
45
+ ngOnInit(): void;
46
+ onGridReady(params: GridReadyEvent, id: number): void;
47
+ formatAmount(params: any): string;
48
+ handleExport(option: string): void;
49
+ dateValueFormatter(format: string): (params: any) => string;
50
+ getKeys(obj: Record<string, unknown>): string[];
51
+ hasAnyGroups(): boolean;
52
+ formatDate(params: any): string;
53
+ filter(text: string): void;
54
+ handleSearch(criteria: any): void;
55
+ handleFormValid(isValid: boolean): void;
56
+ static ɵfac: i0.ɵɵFactoryDeclaration<BranchActivityReceiveReportComponent, never>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<BranchActivityReceiveReportComponent, "lib-branch-activity-receive-report", never, {}, {}, never, never, false>;
58
+ }
@@ -0,0 +1,69 @@
1
+ import { NgZone, OnInit } from '@angular/core';
2
+ import { ReportService } from '../../services/report.service';
3
+ import { BranchActivityReport } from '../../models/branch-activity-report/branch-activity-send-report';
4
+ import { ColDef, GridApi, GridReadyEvent } from 'ag-grid-community';
5
+ import 'jspdf-autotable';
6
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
7
+ import { GenericExportService } from '../../shared/export-generic.service';
8
+ import * as i0 from "@angular/core";
9
+ declare module 'jspdf' {
10
+ interface jsPDF {
11
+ autoTable: (options: any) => jsPDF;
12
+ }
13
+ }
14
+ export declare class BranchActivitySendReportComponent implements OnInit {
15
+ private reportService;
16
+ private ngZone;
17
+ dataMap: Record<string, BranchActivityReport[]>;
18
+ filteredData: Record<string, BranchActivityReport[]>;
19
+ proxyData: Record<string, BranchActivityReport[]>;
20
+ showReport: boolean;
21
+ paginationArray: any[];
22
+ selectedExportOption: string;
23
+ gridApis: GridApi[];
24
+ gridColumnApi: any;
25
+ user: string;
26
+ reportDate: string;
27
+ fromDate: string;
28
+ toDate: string;
29
+ searchText: string;
30
+ buffer: any;
31
+ sysUserId: string;
32
+ private logoBase64;
33
+ ComponentLoadingState: typeof ComponentLoadingStates;
34
+ loadingState: ComponentLoadingStates;
35
+ ReportName: string;
36
+ leftData: Record<string, string>;
37
+ metaDataTwo: Record<string, string>;
38
+ exportService: GenericExportService;
39
+ searchCriteria: [string, string][];
40
+ showMessage: boolean;
41
+ noDataFound: boolean;
42
+ isFormValid: boolean;
43
+ columnDefs: ColDef<BranchActivityReport>[];
44
+ defaultColDef: {
45
+ sortable: boolean;
46
+ filter: boolean;
47
+ resizable: boolean;
48
+ minwidth: number;
49
+ wrapHeaderText: boolean;
50
+ autoHeaderHeight: boolean;
51
+ suppressSizeToFit: boolean;
52
+ wrapText: boolean;
53
+ };
54
+ rowData: BranchActivityReport[];
55
+ constructor(reportService: ReportService, ngZone: NgZone);
56
+ 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>;
57
+ ngOnInit(): void;
58
+ filter(text: string): void;
59
+ onGridReady(params: GridReadyEvent, id: number): void;
60
+ handleExport(option: string): void;
61
+ dateValueFormatter(format: string): (params: any) => string;
62
+ getKeys(obj: Record<string, unknown>): string[];
63
+ hasAnyGroups(): boolean;
64
+ formatAmount(params: any): string;
65
+ handleSearch(criteria: any): void;
66
+ handleFormValid(isValid: boolean): void;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<BranchActivitySendReportComponent, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<BranchActivitySendReportComponent, "lib-branch-activity-send-report", never, {}, {}, never, never, false>;
69
+ }
@@ -0,0 +1,78 @@
1
+ import { NgZone, OnInit } from '@angular/core';
2
+ import { ColDef, GridApi, GridReadyEvent } from 'ag-grid-community';
3
+ import { BranchActivityReport } from '../../models/branch-activity-report/branch-activity-send-report';
4
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
5
+ import { ExportOptions, GenericExportService } from '../../shared/export-generic.service';
6
+ import { ReportService } from '../../services/report.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class BranchActivitySendSummaryReportComponent implements OnInit {
9
+ private reportService;
10
+ private ngZone;
11
+ dataMap: Record<string, BranchActivityReport[]>;
12
+ filteredData: Record<string, BranchActivityReport[]>;
13
+ proxyData: Record<string, BranchActivityReport[]>;
14
+ showReport: boolean;
15
+ paginationArray: any[];
16
+ selectedExportOption: string;
17
+ gridApis: GridApi[];
18
+ gridColumnApi: any;
19
+ user: string;
20
+ reportDate: string;
21
+ fromDate: string;
22
+ toDate: string;
23
+ searchText: string;
24
+ buffer: any;
25
+ sysUserId: string;
26
+ private logoBase64;
27
+ ComponentLoadingState: typeof ComponentLoadingStates;
28
+ loadingState: ComponentLoadingStates;
29
+ ReportName: string;
30
+ leftData: Record<string, string>;
31
+ metaDataTwo: Record<string, string>;
32
+ exportService: GenericExportService;
33
+ searchCriteria: [string, string][];
34
+ showMessage: boolean;
35
+ noDataFound: boolean;
36
+ isFormValid: boolean;
37
+ clearSearch: boolean;
38
+ isTotalSummary: boolean;
39
+ columnDefs: ColDef<BranchActivityReport>[];
40
+ defaultColDef: {
41
+ sortable: boolean;
42
+ filter: boolean;
43
+ resizable: boolean;
44
+ minwidth: number;
45
+ wrapHeaderText: boolean;
46
+ autoHeaderHeight: boolean;
47
+ suppressSizeToFit: boolean;
48
+ wrapText: boolean;
49
+ };
50
+ rowClassRules: {
51
+ 'total-row': (params: any) => any;
52
+ };
53
+ rowData: BranchActivityReport[];
54
+ constructor(reportService: ReportService, ngZone: NgZone);
55
+ 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>;
56
+ ngOnInit(): void;
57
+ filter(text: string): void;
58
+ onGridReady(params: GridReadyEvent, id: number): void;
59
+ handleExport(option: string): void;
60
+ exportToExcel({ title, metadata, searchCriteria, columns, data, options }: {
61
+ title: string;
62
+ metadata: [string, string][];
63
+ searchCriteria: [string, string][];
64
+ columns: any[];
65
+ data: any[] | Record<string, any[]>;
66
+ options?: ExportOptions;
67
+ }): Promise<void>;
68
+ private prepareTableRows;
69
+ private formatDateByFormat;
70
+ dateValueFormatter(format: string): (params: any) => string;
71
+ getKeys(obj: Record<string, unknown>): string[];
72
+ hasAnyGroups(): boolean;
73
+ formatAmount(params: any): string;
74
+ handleSearch(criteria: any): void;
75
+ handleFormValid(isValid: boolean): void;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<BranchActivitySendSummaryReportComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<BranchActivitySendSummaryReportComponent, "lib-branch-activity-send-summary-report", never, {}, {}, never, never, false>;
78
+ }
@@ -0,0 +1,95 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { ReportService } from '../../services/report.service';
3
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
4
+ import { CancellationTransaction } from '../../models/cancellation-transaction-report/cancellation-transaction.model';
5
+ import { GenericExportService } from '../../shared/export-generic.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class CancellationTransactionReportComponent implements OnInit, OnDestroy {
8
+ private reportService;
9
+ private exportService;
10
+ ReportName: string;
11
+ user: string;
12
+ private destroy$;
13
+ ComponentLoadingState: typeof ComponentLoadingStates;
14
+ loadingState: ComponentLoadingStates;
15
+ hasSearched: boolean;
16
+ noDataFromApi: boolean;
17
+ errorMessage: string;
18
+ cancellationData: CancellationTransaction[];
19
+ pageSize: number;
20
+ metaDataOne: Record<string, string>;
21
+ metaDataTwo: Record<string, string>;
22
+ currentDateTime: Date;
23
+ searchText: string;
24
+ selectedExportOption: string;
25
+ dataMap: Record<string, CancellationTransaction[]>;
26
+ filteredData: Record<string, CancellationTransaction[]>;
27
+ searchCriteria: [string, string][];
28
+ paginationArray: (number | 'All')[];
29
+ gridApis: any[];
30
+ reportPeriod: any;
31
+ reportUserandTime: string;
32
+ isFormValid: boolean;
33
+ columnDefs: ({
34
+ headerName: string;
35
+ field: string;
36
+ flex: number;
37
+ minWidth: number;
38
+ tooltipValueGetter: (params: any) => any;
39
+ tooltipField?: undefined;
40
+ cellClass?: undefined;
41
+ } | {
42
+ headerName: string;
43
+ field: string;
44
+ flex: number;
45
+ minWidth: number;
46
+ tooltipField: string;
47
+ tooltipValueGetter?: undefined;
48
+ cellClass?: undefined;
49
+ } | {
50
+ headerName: string;
51
+ field: string;
52
+ flex: number;
53
+ minWidth: number;
54
+ cellClass: string;
55
+ tooltipField: string;
56
+ tooltipValueGetter?: undefined;
57
+ } | {
58
+ headerName: string;
59
+ field: string;
60
+ flex: number;
61
+ minWidth: number;
62
+ cellClass: string;
63
+ tooltipValueGetter?: undefined;
64
+ tooltipField?: undefined;
65
+ })[];
66
+ defaultColDef: {
67
+ sortable: boolean;
68
+ filter: boolean;
69
+ resizable: boolean;
70
+ minwidth: number;
71
+ wrapHeaderText: boolean;
72
+ autoHeaderHeight: boolean;
73
+ suppressSizeToFit: boolean;
74
+ wrapText: boolean;
75
+ autoHeight: boolean;
76
+ };
77
+ constructor(reportService: ReportService, exportService: GenericExportService);
78
+ ngOnInit(): void;
79
+ ngOnDestroy(): void;
80
+ handleSearch(criteria: any): void;
81
+ filter(text: string): void;
82
+ formatCurrency(params: any): any;
83
+ dateValueFormatter(format: string): (params: any) => string;
84
+ onGridReady(params: any, id: number): void;
85
+ onGridSizeChanged(params: any): void;
86
+ getKeys(obj: Record<string, unknown>): string[];
87
+ hasAnyGroups(): boolean;
88
+ hasNoGroups(): boolean;
89
+ getPageSizeFor(index: number, total: number): number;
90
+ isDataAvailable(): boolean;
91
+ handleExport(option: string): void;
92
+ handleFormValid(isValid: boolean): void;
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<CancellationTransactionReportComponent, never>;
94
+ static ɵcmp: i0.ɵɵComponentDeclaration<CancellationTransactionReportComponent, "lib-cancellation-transaction-report", never, {}, {}, never, never, false>;
95
+ }
@@ -0,0 +1,55 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { CreditLimitStatusEnquiryReportModel } from '../../models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model';
3
+ import { ReportService } from '../../services/report.service';
4
+ import { ExportService } from '../../shared/export.service';
5
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
6
+ import { ColDef, ColumnApi, GridApi, GridReadyEvent } from 'ag-grid-community';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CreditLimitStatusEnquiryReportComponent implements OnInit {
9
+ data: CreditLimitStatusEnquiryReportModel[];
10
+ filteredData: CreditLimitStatusEnquiryReportModel[];
11
+ user: string;
12
+ ReportName: string;
13
+ reportService: ReportService;
14
+ exportService: ExportService;
15
+ reportDate: string;
16
+ fromDate: string;
17
+ toDate: string;
18
+ metaDataOne: Record<string, string>;
19
+ metaDataTwo: Record<string, string>;
20
+ ComponentLoadingState: typeof ComponentLoadingStates;
21
+ loadingState: ComponentLoadingStates;
22
+ selectedExportOption: string;
23
+ searchText: string;
24
+ pageSize: number;
25
+ searchCriteria: [string, string][];
26
+ gridApi: GridApi;
27
+ gridColumnApi: ColumnApi;
28
+ showReport: boolean;
29
+ noDataFound: boolean;
30
+ isFormValid: boolean;
31
+ columnDefs: ColDef<CreditLimitStatusEnquiryReportModel>[];
32
+ defaultColDef: {
33
+ sortable: boolean;
34
+ filter: boolean;
35
+ resizable: boolean;
36
+ minwidth: number;
37
+ wrapHeaderText: boolean;
38
+ autoHeaderHeight: boolean;
39
+ suppressSizeToFit: boolean;
40
+ wrapText: boolean;
41
+ };
42
+ constructor();
43
+ ngOnInit(): void;
44
+ onGridReady(params: GridReadyEvent): void;
45
+ formatAmount(params: any): string;
46
+ onSearch(text: string): void;
47
+ handleExport(option: string): void;
48
+ exportToExcel(): void;
49
+ exportToPDF(): void;
50
+ exportToCSV(): void;
51
+ handleSearch(criteria: any): void;
52
+ handleFormValid(isValid: boolean): void;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<CreditLimitStatusEnquiryReportComponent, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<CreditLimitStatusEnquiryReportComponent, "lib-credit-limit-status-enquiry-report", never, {}, {}, never, never, false>;
55
+ }
@@ -0,0 +1,55 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ReportService } from '../../services/report.service';
3
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
4
+ import { ColDef, GridReadyEvent, GridApi, ColumnApi } from 'ag-grid-community';
5
+ import { ExportService } from '../../shared/export.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class FundingReportComponent implements OnInit {
8
+ private reportService;
9
+ private exportService;
10
+ ReportName: string;
11
+ ComponentLoadingState: typeof ComponentLoadingStates;
12
+ loadingState: ComponentLoadingStates;
13
+ showReport: boolean;
14
+ metaDataOne: Record<string, string>;
15
+ metaDataTwo: Record<string, string>;
16
+ currentDateTime: Date;
17
+ searchText: string;
18
+ gridColumnApi: ColumnApi;
19
+ paginationPageSize: number;
20
+ gridApi: GridApi;
21
+ errorMessage: string;
22
+ hasSearched: boolean;
23
+ selectedExportOption: string;
24
+ reportUserandTime: string;
25
+ reportPeriod: string;
26
+ filteredData: any[];
27
+ transactionData: any[];
28
+ searchCriteria: [string, string][];
29
+ isFormValid: boolean;
30
+ columnDefs: ColDef[];
31
+ defaultColDef: {
32
+ sortable: boolean;
33
+ filter: boolean;
34
+ resizable: boolean;
35
+ minwidth: number;
36
+ wrapHeaderText: boolean;
37
+ autoHeaderHeight: boolean;
38
+ suppressSizeToFit: boolean;
39
+ wrapText: boolean;
40
+ autoHeight: boolean;
41
+ };
42
+ constructor(reportService: ReportService, exportService: ExportService);
43
+ ngOnInit(): void;
44
+ handleSearch(criteria: any): void;
45
+ filter(text: string): void;
46
+ onGridReady(params: GridReadyEvent): void;
47
+ handleExport(option: string): void;
48
+ onExportChange(value: string): void;
49
+ exportToPDF(): void;
50
+ exportToExcel(): void;
51
+ exportToCSV(): void;
52
+ handleFormValid(isValid: boolean): void;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<FundingReportComponent, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<FundingReportComponent, "lib-funding-report", never, {}, {}, never, never, false>;
55
+ }
@@ -0,0 +1,57 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { RevenuePerTransactionResponseModel } from '../../models/revenue-per-transaction-report/revenue-per-transaction.model';
3
+ import { ReportService } from '../../services/report.service';
4
+ import { ExportService } from '../../shared/export.service';
5
+ import { ComponentLoadingStates } from '../../models/component-loading-states';
6
+ import { ColDef, ColumnApi, GridApi, GridReadyEvent } from 'ag-grid-community';
7
+ import * as i0 from "@angular/core";
8
+ export declare class RevenuePerTransactionReportComponent implements OnInit {
9
+ data: RevenuePerTransactionResponseModel[];
10
+ filteredData: RevenuePerTransactionResponseModel[];
11
+ user: string;
12
+ sysUserId: string;
13
+ ReportName: string;
14
+ reportService: ReportService;
15
+ exportService: ExportService;
16
+ reportDate: string;
17
+ fromDate: string;
18
+ toDate: string;
19
+ metaDataOne: Record<string, string>;
20
+ metaDataTwo: Record<string, string>;
21
+ ComponentLoadingState: typeof ComponentLoadingStates;
22
+ loadingState: ComponentLoadingStates;
23
+ selectedExportOption: string;
24
+ searchText: string;
25
+ pageSize: number;
26
+ searchCriteria: [string, string][];
27
+ gridApi: GridApi;
28
+ gridColumnApi: ColumnApi;
29
+ showReport: boolean;
30
+ noDataFound: boolean;
31
+ isFormValid: boolean;
32
+ columnDefs: ColDef<RevenuePerTransactionResponseModel>[];
33
+ defaultColDef: {
34
+ sortable: boolean;
35
+ filter: boolean;
36
+ resizable: boolean;
37
+ minwidth: number;
38
+ wrapHeaderText: boolean;
39
+ autoHeaderHeight: boolean;
40
+ suppressSizeToFit: boolean;
41
+ wrapText: boolean;
42
+ };
43
+ constructor();
44
+ ngOnInit(): void;
45
+ onGridReady(params: GridReadyEvent): void;
46
+ formatAmount(params: any): string;
47
+ formatRate(params: any): string;
48
+ onSearch(text: string): void;
49
+ handleExport(option: string): void;
50
+ exportToExcel(): void;
51
+ exportToCSV(): void;
52
+ exportToPDF(): void;
53
+ handleSearch(criteria: any): void;
54
+ handleFormValid(isValid: boolean): void;
55
+ static ɵfac: i0.ɵɵFactoryDeclaration<RevenuePerTransactionReportComponent, never>;
56
+ static ɵcmp: i0.ɵɵComponentDeclaration<RevenuePerTransactionReportComponent, "lib-revenue-per-transaction-report", never, {}, {}, never, never, false>;
57
+ }