@sachin9822/reports-lib 0.0.208 → 0.0.210

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 (53) hide show
  1. package/esm2020/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.mjs +17 -12
  2. package/esm2020/lib/components/accounting-report/accounting-report.component.mjs +9 -4
  3. package/esm2020/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.mjs +7 -3
  4. package/esm2020/lib/components/branch-activity-send-report/branch-activity-send-report.component.mjs +7 -3
  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 +7 -3
  7. package/esm2020/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.mjs +14 -17
  8. package/esm2020/lib/components/funding-report/funding-report.component.mjs +8 -4
  9. package/esm2020/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.mjs +16 -10
  10. package/esm2020/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.mjs +7 -3
  11. package/esm2020/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.mjs +7 -3
  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 +10 -5
  14. package/esm2020/lib/models/branch-activity-report/branch-activity-send-report.mjs +1 -1
  15. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.mjs +6 -0
  16. package/esm2020/lib/models/transaction-monitoring-report/transaction-monitoring-report.mjs +5 -0
  17. package/esm2020/lib/reports-lib.module.mjs +15 -5
  18. package/esm2020/lib/services/report.service.mjs +62 -4
  19. package/esm2020/lib/shared/export-generic.service.mjs +10 -1
  20. package/esm2020/lib/shared/search-filter/search-filter.component.mjs +561 -193
  21. package/esm2020/public-api.mjs +5 -1
  22. package/esm2020/sachin9822-reports-lib.mjs +5 -0
  23. package/fesm2015/{xpressmoney-reports-lib.mjs → sachin9822-reports-lib.mjs} +1801 -346
  24. package/fesm2015/sachin9822-reports-lib.mjs.map +1 -0
  25. package/fesm2020/{xpressmoney-reports-lib.mjs → sachin9822-reports-lib.mjs} +1806 -344
  26. package/fesm2020/sachin9822-reports-lib.mjs.map +1 -0
  27. package/index.d.ts +1 -1
  28. package/lib/assets/images/Search.svg +9 -9
  29. package/lib/assets/svg-loaders/blue-tail-spin.svg +31 -31
  30. package/lib/components/acc-gl-details-enquiry-report/acc-gl-details-enquiry-report.component.d.ts +2 -0
  31. package/lib/components/accounting-report/accounting-report.component.d.ts +2 -0
  32. package/lib/components/branch-activity-receive-report/branch-activity-receive-report.component.d.ts +2 -0
  33. package/lib/components/branch-activity-send-report/branch-activity-send-report.component.d.ts +2 -0
  34. package/lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component.d.ts +78 -0
  35. package/lib/components/cancellation-transaction-report/cancellation-transaction-report.component.d.ts +2 -0
  36. package/lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component.d.ts +2 -0
  37. package/lib/components/funding-report/funding-report.component.d.ts +2 -0
  38. package/lib/components/revenue-per-transaction-report/revenue-per-transaction-report.component.d.ts +2 -0
  39. package/lib/components/statement-of-accounts-report/statement-of-accounts-report.component.d.ts +2 -0
  40. package/lib/components/transaction-enquiry-report/transaction-enquiry-report.component.d.ts +2 -0
  41. package/lib/components/transaction-monitoring-report/transaction-monitoring-report.component.d.ts +68 -0
  42. package/lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component.d.ts +3 -1
  43. package/lib/models/branch-activity-report/branch-activity-send-report.d.ts +4 -0
  44. package/lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model.d.ts +13 -0
  45. package/lib/models/transaction-monitoring-report/transaction-monitoring-report.d.ts +23 -0
  46. package/lib/reports-lib.module.d.ts +12 -10
  47. package/lib/services/report.service.d.ts +11 -1
  48. package/lib/shared/search-filter/search-filter.component.d.ts +11 -7
  49. package/package.json +11 -11
  50. package/public-api.d.ts +4 -0
  51. package/esm2020/xpressmoney-reports-lib.mjs +0 -5
  52. package/fesm2015/xpressmoney-reports-lib.mjs.map +0 -1
  53. package/fesm2020/xpressmoney-reports-lib.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
1
+ import { EventEmitter, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';
2
2
  import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { ComponentLoadingState, Client, Branch, Currency, Product, TransactionStatus, User } from '../../models/transaction-enquiry-report/transaction-enquiry.model';
4
4
  import { ReportService } from '../../services/report.service';
@@ -9,9 +9,12 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
9
9
  private reportService;
10
10
  private fb;
11
11
  private config;
12
+ private cd;
12
13
  ReportName: string;
13
14
  searchClicked: EventEmitter<any>;
15
+ formValid: EventEmitter<boolean>;
14
16
  searchForm: FormGroup;
17
+ initialFilters: any;
15
18
  formValidationError: boolean;
16
19
  private destroy$;
17
20
  loadingState: ComponentLoadingState;
@@ -31,6 +34,7 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
31
34
  currencies: Currency[];
32
35
  products: Product[];
33
36
  transactionStatuses: TransactionStatus[];
37
+ summaryReportTypes: any[];
34
38
  selectedStatuses: string[];
35
39
  showStatusDropdown: boolean;
36
40
  visibleFieldKeys: string[];
@@ -46,7 +50,7 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
46
50
  disabledDate: NgbDateStruct;
47
51
  isSelectAllChecked: boolean;
48
52
  erroMessage: string;
49
- businessLines: any[];
53
+ businessUnits: any[];
50
54
  accountStatuses: any[];
51
55
  currency: any[];
52
56
  financialYears: any[];
@@ -61,11 +65,14 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
61
65
  };
62
66
  get visibleFields(): string[];
63
67
  isFieldVisible(field: string): boolean;
64
- constructor(reportService: ReportService, fb: FormBuilder, config: ConfigService);
68
+ constructor(reportService: ReportService, fb: FormBuilder, config: ConfigService, cd: ChangeDetectorRef);
65
69
  ngOnInit(): void;
66
70
  ngOnDestroy(): void;
67
71
  private checkReport;
68
72
  loadInitialData(): void;
73
+ loadInitialDataforBranchActivitySendSummary(): void;
74
+ loadInitialDataforTransactionMonitoring(): void;
75
+ private applyInitialFilters;
69
76
  private initializeForm;
70
77
  loadInitialDataforBranchActivitySend(): void;
71
78
  private loadInitialDatafortxnEnquiry;
@@ -89,9 +96,6 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
89
96
  set errorMessage(value: string);
90
97
  get isLoading(): boolean;
91
98
  get isError(): boolean;
92
- selectClient(client: any): void;
93
- onAgentSelected(code: any): void;
94
- onClientSelected(): void;
95
99
  currencySearch: (term: string, item: any) => any;
96
100
  toNgbDateStruct(fromDate: Date): NgbDateStruct;
97
101
  transactionStatusSubscribe(): void;
@@ -119,5 +123,5 @@ export declare class SearchFilterComponent implements OnInit, OnDestroy {
119
123
  */
120
124
  getSearchCriteriaArray(): [string, string][];
121
125
  static ɵfac: i0.ɵɵFactoryDeclaration<SearchFilterComponent, never>;
122
- static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterComponent, "lib-search-filter", never, { "ReportName": "ReportName"; }, { "searchClicked": "searchClicked"; }, never, never, false>;
126
+ static ɵcmp: i0.ɵɵComponentDeclaration<SearchFilterComponent, "lib-search-filter", never, { "ReportName": "ReportName"; "initialFilters": "initialFilters"; }, { "searchClicked": "searchClicked"; "formValid": "formValid"; }, never, never, false>;
123
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sachin9822/reports-lib",
3
- "version": "0.0.208",
3
+ "version": "0.0.210",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^14.2.0",
6
6
  "@angular/core": "^14.2.0"
@@ -8,11 +8,11 @@
8
8
  "dependencies": {
9
9
  "tslib": "^2.3.0"
10
10
  },
11
- "module": "fesm2015/xpressmoney-reports-lib.mjs",
12
- "es2020": "fesm2020/xpressmoney-reports-lib.mjs",
13
- "esm2020": "esm2020/xpressmoney-reports-lib.mjs",
14
- "fesm2020": "fesm2020/xpressmoney-reports-lib.mjs",
15
- "fesm2015": "fesm2015/xpressmoney-reports-lib.mjs",
11
+ "module": "fesm2015/sachin9822-reports-lib.mjs",
12
+ "es2020": "fesm2020/sachin9822-reports-lib.mjs",
13
+ "esm2020": "esm2020/sachin9822-reports-lib.mjs",
14
+ "fesm2020": "fesm2020/sachin9822-reports-lib.mjs",
15
+ "fesm2015": "fesm2015/sachin9822-reports-lib.mjs",
16
16
  "typings": "index.d.ts",
17
17
  "exports": {
18
18
  "./package.json": {
@@ -20,11 +20,11 @@
20
20
  },
21
21
  ".": {
22
22
  "types": "./index.d.ts",
23
- "esm2020": "./esm2020/xpressmoney-reports-lib.mjs",
24
- "es2020": "./fesm2020/xpressmoney-reports-lib.mjs",
25
- "es2015": "./fesm2015/xpressmoney-reports-lib.mjs",
26
- "node": "./fesm2015/xpressmoney-reports-lib.mjs",
27
- "default": "./fesm2020/xpressmoney-reports-lib.mjs"
23
+ "esm2020": "./esm2020/sachin9822-reports-lib.mjs",
24
+ "es2020": "./fesm2020/sachin9822-reports-lib.mjs",
25
+ "es2015": "./fesm2015/sachin9822-reports-lib.mjs",
26
+ "node": "./fesm2015/sachin9822-reports-lib.mjs",
27
+ "default": "./fesm2020/sachin9822-reports-lib.mjs"
28
28
  }
29
29
  },
30
30
  "sideEffects": false
package/public-api.d.ts CHANGED
@@ -17,6 +17,8 @@ export * from './lib/components/accounting-report/accounting-report.component';
17
17
  export * from './lib/components/credit-limit-status-enquiry-report/credit-limit-status-enquiry-report.component';
18
18
  export * from './lib/components/funding-report/funding-report.component';
19
19
  export * from './lib/components/trial-balance-accounts-report/trial-balance-accounts-report.component';
20
+ export * from './lib/components/branch-activity-send-summary-report/branch-activity-send-summary-report.component';
21
+ export * from './lib/components/transaction-monitoring-report/transaction-monitoring-report.component';
20
22
  export * from './lib/models/transaction-enquiry-report/transaction-enquiry.model';
21
23
  export * from './lib/models/app-config.model';
22
24
  export * from './lib/models/branch-activity-report/branch-activity-send-report';
@@ -28,3 +30,5 @@ export * from './lib/models/statement-of-account-report/statement-of-accounts.mo
28
30
  export * from './lib/models/credit-limit-status-enquiry-report/credit-limit-status-enquiry.model';
29
31
  export * from './lib/models/statement-of-account-report/statement-of-accounts.model';
30
32
  export * from './lib/models/trial-balance-accounts-report/trial-balance-accounts.models';
33
+ export * from './lib/models/transaction-monitoring-report/transaction-monitoring-report-request-domain-model';
34
+ export * from './lib/models/transaction-monitoring-report/transaction-monitoring-report';
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieHByZXNzbW9uZXktcmVwb3J0cy1saWIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9yZXBvcnRzLWxpYi9zcmMveHByZXNzbW9uZXktcmVwb3J0cy1saWIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9wdWJsaWMtYXBpJztcbiJdfQ==