@sachin9822/reports-lib 0.0.210 → 0.0.212

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/karma.conf.js +44 -0
  2. package/ng-package.json +17 -0
  3. package/package.json +16 -31
  4. package/src/assets/images/BreadcrumbArrow.png +0 -0
  5. package/src/lib/assets/images/Search.svg +10 -0
  6. package/src/lib/assets/images/XMLogo.png +0 -0
  7. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.html +27 -0
  8. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.scss +46 -0
  9. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.spec.ts +23 -0
  10. package/src/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.ts +292 -0
  11. package/src/lib/components/accounting-report/accounting-report.component.html +64 -0
  12. package/src/lib/components/accounting-report/accounting-report.component.scss +24 -0
  13. package/src/lib/components/accounting-report/accounting-report.component.spec.ts +23 -0
  14. package/src/lib/components/accounting-report/accounting-report.component.ts +738 -0
  15. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.html +46 -0
  16. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.scss +2 -0
  17. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.spec.ts +23 -0
  18. package/src/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.ts +247 -0
  19. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.html +46 -0
  20. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.scss +3 -0
  21. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.spec.ts +23 -0
  22. package/src/lib/components/branch-activity-send-report/branch-activity-send-report.component.ts +276 -0
  23. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.html +51 -0
  24. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.scss +7 -0
  25. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.spec.ts +23 -0
  26. package/src/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.ts +840 -0
  27. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.html +68 -0
  28. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.scss +65 -0
  29. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.spec.ts +23 -0
  30. package/src/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.ts +290 -0
  31. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.html +25 -0
  32. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.scss +1 -0
  33. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.spec.ts +23 -0
  34. package/src/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.ts +213 -0
  35. package/src/lib/components/funding-report/funding-report.component.html +49 -0
  36. package/src/lib/components/funding-report/funding-report.component.scss +1 -0
  37. package/src/lib/components/funding-report/funding-report.component.spec.ts +23 -0
  38. package/src/lib/components/funding-report/funding-report.component.ts +221 -0
  39. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.html +26 -0
  40. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.scss +1 -0
  41. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.spec.ts +23 -0
  42. package/src/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.ts +267 -0
  43. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.html +95 -0
  44. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.scss +54 -0
  45. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.spec.ts +23 -0
  46. package/src/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.ts +904 -0
  47. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.html +49 -0
  48. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.scss +2 -0
  49. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.spec.ts +32 -0
  50. package/src/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.ts +304 -0
  51. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.html +46 -0
  52. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.scss +7 -0
  53. package/src/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.ts +343 -0
  54. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.html +25 -0
  55. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.scss +23 -0
  56. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.spec.ts +23 -0
  57. package/src/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.ts +745 -0
  58. package/src/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.ts +10 -0
  59. package/src/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.ts +20 -0
  60. package/src/lib/models/accounting-report/accounting-report-branch-group.ts +7 -0
  61. package/src/lib/models/accounting-report/accounting-report-entry-model.ts +25 -0
  62. package/src/lib/models/accounting-report/accounting-report-model.ts +7 -0
  63. package/{lib/models/accounting-report/accounting-report-sub-group.d.ts → src/lib/models/accounting-report/accounting-report-sub-group.ts} +3 -2
  64. package/{lib/models/app-config.model.d.ts → src/lib/models/app-config.model.ts} +8 -7
  65. package/src/lib/models/branch-activity-receive-report/branch-activity-receive.model.ts +18 -0
  66. package/src/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.ts +16 -0
  67. package/src/lib/models/branch-activity-report/branch-activity-send-report.ts +26 -0
  68. package/src/lib/models/cancellation-transaction-report/cancellation-transaction.model.ts +65 -0
  69. package/src/lib/models/component-loading-states.ts +5 -0
  70. package/src/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.ts +28 -0
  71. package/{lib/models/revenue-per-transaction-report/revenue-per-transaction.model.d.ts → src/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.ts} +1 -1
  72. package/src/lib/models/statement-of-account-report/statement-of-accounts.model.ts +21 -0
  73. package/src/lib/models/transaction-enquiry-report/transaction-enquiry.model.ts +127 -0
  74. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.ts +16 -0
  75. package/src/lib/models/transaction-monitoring-report/transaction-monitoring-report.ts +29 -0
  76. package/src/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.ts +46 -0
  77. package/src/lib/reports-lib-routing.module.ts +20 -0
  78. package/src/lib/reports-lib.component.spec.ts +23 -0
  79. package/src/lib/reports-lib.component.ts +20 -0
  80. package/src/lib/reports-lib.module.ts +102 -0
  81. package/src/lib/reports-lib.service.spec.ts +16 -0
  82. package/src/lib/reports-lib.service.ts +9 -0
  83. package/src/lib/services/config.service.ts +43 -0
  84. package/src/lib/services/report.service.spec.ts +16 -0
  85. package/src/lib/services/report.service.ts +463 -0
  86. package/src/lib/shared/export-generic.service.ts +557 -0
  87. package/src/lib/shared/export.service.spec.ts +16 -0
  88. package/src/lib/shared/export.service.ts +457 -0
  89. package/src/lib/shared/loader/loader.component.html +8 -0
  90. package/src/lib/shared/loader/loader.component.scss +52 -0
  91. package/src/lib/shared/loader/loader.component.ts +10 -0
  92. package/src/lib/shared/metadata/metadata.component.html +42 -0
  93. package/src/lib/shared/metadata/metadata.component.scss +95 -0
  94. package/src/lib/shared/metadata/metadata.component.spec.ts +23 -0
  95. package/src/lib/shared/metadata/metadata.component.ts +38 -0
  96. package/src/lib/shared/page-size-selector/page-size-selector.component.html +7 -0
  97. package/src/lib/shared/page-size-selector/page-size-selector.component.scss +42 -0
  98. package/src/lib/shared/page-size-selector/page-size-selector.component.spec.ts +23 -0
  99. package/src/lib/shared/page-size-selector/page-size-selector.component.ts +38 -0
  100. package/src/lib/shared/search-filter/search-filter.component.html +601 -0
  101. package/src/lib/shared/search-filter/search-filter.component.scss +203 -0
  102. package/src/lib/shared/search-filter/search-filter.component.spec.ts +23 -0
  103. package/src/lib/shared/search-filter/search-filter.component.ts +2387 -0
  104. package/src/lib/shared/shared.module.ts +13 -0
  105. package/{public-api.d.ts → src/public-api.ts} +17 -7
  106. package/src/styles/ag-grid-report-style.scss +71 -0
  107. package/src/styles/common-ag-grid-style.scss +146 -0
  108. package/src/styles/common-report-style.scss +395 -0
  109. package/src/styles/common-style.scss +615 -0
  110. package/src/test.ts +27 -0
  111. package/tsconfig.lib.json +15 -0
  112. package/tsconfig.lib.prod.json +10 -0
  113. package/tsconfig.spec.json +17 -0
  114. package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +0 -240
  115. package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +0 -596
  116. package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +0 -218
  117. package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +0 -243
  118. package/esm2020/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.mjs +0 -700
  119. package/esm2020/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.mjs +0 -255
  120. package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +0 -192
  121. package/esm2020/lib/components/funding-report/funding-report.component.mjs +0 -198
  122. package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +0 -244
  123. package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +0 -776
  124. package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +0 -266
  125. package/esm2020/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.mjs +0 -311
  126. package/esm2020/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.mjs +0 -631
  127. package/esm2020/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.mjs +0 -2
  128. package/esm2020/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.mjs +0 -2
  129. package/esm2020/lib/models/accounting-report/accounting-report-branch-group.mjs +0 -2
  130. package/esm2020/lib/models/accounting-report/accounting-report-entry-model.mjs +0 -2
  131. package/esm2020/lib/models/accounting-report/accounting-report-model.mjs +0 -2
  132. package/esm2020/lib/models/accounting-report/accounting-report-sub-group.mjs +0 -2
  133. package/esm2020/lib/models/app-config.model.mjs +0 -2
  134. package/esm2020/lib/models/branch-activity-receive-report/branch-activity-receive.model.mjs +0 -2
  135. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.mjs +0 -6
  136. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +0 -3
  137. package/esm2020/lib/models/cancellation-transaction-report/cancellation-transaction.model.mjs +0 -10
  138. package/esm2020/lib/models/component-loading-states.mjs +0 -7
  139. package/esm2020/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.mjs +0 -5
  140. package/esm2020/lib/models/revenue-per-transaction-report/revenue-per-transaction.model.mjs +0 -2
  141. package/esm2020/lib/models/statement-of-account-report/statement-of-accounts.model.mjs +0 -2
  142. package/esm2020/lib/models/transaction-enquiry-report/transaction-enquiry.model.mjs +0 -8
  143. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +0 -6
  144. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +0 -5
  145. package/esm2020/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.mjs +0 -3
  146. package/esm2020/lib/reports-lib-routing.module.mjs +0 -24
  147. package/esm2020/lib/reports-lib.component.mjs +0 -22
  148. package/esm2020/lib/reports-lib.module.mjs +0 -172
  149. package/esm2020/lib/reports-lib.service.mjs +0 -14
  150. package/esm2020/lib/services/config.service.mjs +0 -39
  151. package/esm2020/lib/services/report.service.mjs +0 -374
  152. package/esm2020/lib/shared/export-generic.service.mjs +0 -443
  153. package/esm2020/lib/shared/export.service.mjs +0 -379
  154. package/esm2020/lib/shared/loader/loader.component.mjs +0 -11
  155. package/esm2020/lib/shared/metadata/metadata.component.mjs +0 -51
  156. package/esm2020/lib/shared/page-size-selector/page-size-selector.component.mjs +0 -44
  157. package/esm2020/lib/shared/search-filter/search-filter.component.mjs +0 -2134
  158. package/esm2020/lib/shared/shared.module.mjs +0 -21
  159. package/esm2020/public-api.mjs +0 -41
  160. package/esm2020/sachin9822-reports-lib.mjs +0 -5
  161. package/fesm2015/sachin9822-reports-lib.mjs +0 -8402
  162. package/fesm2015/sachin9822-reports-lib.mjs.map +0 -1
  163. package/fesm2020/sachin9822-reports-lib.mjs +0 -8384
  164. package/fesm2020/sachin9822-reports-lib.mjs.map +0 -1
  165. package/index.d.ts +0 -5
  166. package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +0 -70
  167. package/lib/components/accounting-report/accounting-report.component.d.ts +0 -76
  168. package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +0 -58
  169. package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +0 -69
  170. package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +0 -78
  171. package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +0 -95
  172. package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +0 -55
  173. package/lib/components/funding-report/funding-report.component.d.ts +0 -55
  174. package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +0 -57
  175. package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +0 -109
  176. package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +0 -76
  177. package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +0 -68
  178. package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +0 -71
  179. package/lib/models/acc-gl-details-enquiry-report/accgl-details-enquiry-reportmodel.d.ts +0 -8
  180. package/lib/models/acc-gl-details-enquiry-report/journal-voucher-entry-model.d.ts +0 -18
  181. package/lib/models/accounting-report/accounting-report-branch-group.d.ts +0 -6
  182. package/lib/models/accounting-report/accounting-report-entry-model.d.ts +0 -24
  183. package/lib/models/accounting-report/accounting-report-model.d.ts +0 -6
  184. package/lib/models/branch-activity-receive-report/branch-activity-receive.model.d.ts +0 -18
  185. package/lib/models/branch-activity-report/branch-activity-send-report-request-domain-model.d.ts +0 -13
  186. package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +0 -24
  187. package/lib/models/cancellation-transaction-report/cancellation-transaction.model.d.ts +0 -44
  188. package/lib/models/component-loading-states.d.ts +0 -5
  189. package/lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model.d.ts +0 -26
  190. package/lib/models/statement-of-account-report/statement-of-accounts.model.d.ts +0 -18
  191. package/lib/models/transaction-enquiry-report/transaction-enquiry.model.d.ts +0 -113
  192. package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +0 -13
  193. package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +0 -23
  194. package/lib/models/trial-balance-accounts-report/trial-balance-accounts.models.d.ts +0 -38
  195. package/lib/reports-lib-routing.module.d.ts +0 -7
  196. package/lib/reports-lib.component.d.ts +0 -8
  197. package/lib/reports-lib.module.d.ts +0 -33
  198. package/lib/reports-lib.service.d.ts +0 -6
  199. package/lib/services/config.service.d.ts +0 -20
  200. package/lib/services/report.service.d.ts +0 -80
  201. package/lib/shared/export-generic.service.d.ts +0 -50
  202. package/lib/shared/export.service.d.ts +0 -32
  203. package/lib/shared/loader/loader.component.d.ts +0 -5
  204. package/lib/shared/metadata/metadata.component.d.ts +0 -24
  205. package/lib/shared/page-size-selector/page-size-selector.component.d.ts +0 -15
  206. package/lib/shared/search-filter/search-filter.component.d.ts +0 -127
  207. package/lib/shared/shared.module.d.ts +0 -11
  208. /package/{lib → src}/assets/images/Search.svg +0 -0
  209. /package/{lib/assets/images/XMLogo.png → src/assets/images/XMCoral.png} +0 -0
  210. /package/{lib → src/lib}/assets/config/app-config.json +0 -0
  211. /package/{lib → src/lib}/assets/svg-loaders/blue-tail-spin.svg +0 -0
@@ -1,23 +0,0 @@
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
- }
@@ -1,38 +0,0 @@
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
- coaCode: string;
23
- accountCode: string;
24
- accountDescription: string;
25
- openingBalance: string;
26
- debit: string;
27
- credit: string;
28
- netMovement: string;
29
- closingBalance: string;
30
- isTotalRow?: boolean;
31
- }
32
- export interface TrialBalanceTotals {
33
- openingBalance: number;
34
- debit: number;
35
- credit: number;
36
- netMovement: number;
37
- closingBalance: number;
38
- }
@@ -1,7 +0,0 @@
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
- }
@@ -1,8 +0,0 @@
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
- }
@@ -1,33 +0,0 @@
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
- }
@@ -1,6 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class ReportsLibService {
3
- constructor();
4
- static ɵfac: i0.ɵɵFactoryDeclaration<ReportsLibService, never>;
5
- static ɵprov: i0.ɵɵInjectableDeclaration<ReportsLibService>;
6
- }
@@ -1,20 +0,0 @@
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
- }
@@ -1,80 +0,0 @@
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
- }
@@ -1,50 +0,0 @@
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
- }
@@ -1,32 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class LoaderComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<LoaderComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<LoaderComponent, "app-loader", never, {}, {}, never, never, false>;
5
- }
@@ -1,24 +0,0 @@
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
- }
@@ -1,15 +0,0 @@
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
- }
@@ -1,127 +0,0 @@
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
- }
@@ -1,11 +0,0 @@
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
- }
File without changes
File without changes