+1
-1
@@ -7,7 +7,7 @@ node_js:
|
||||
|
||||
before_script:
|
||||
- npm i npm@latest -g
|
||||
- npm install -g --silent @angular/cli@7.3.9
|
||||
- npm install -g --silent @angular/cli@9.1.12
|
||||
|
||||
script:
|
||||
- ng lint
|
||||
|
||||
@@ -15,7 +15,7 @@ It is a Single-Page App (SPA) written in standard web technologies [HTML5](http:
|
||||
|
||||
2. Install [angular-cli](https://github.com/angular/angular-cli) globally.
|
||||
```
|
||||
npm install -g @angular/cli@7.3.9
|
||||
npm install -g @angular/cli@9.1.12
|
||||
```
|
||||
|
||||
3. Clone the project locally into your system.
|
||||
|
||||
+44
-49
@@ -10,13 +10,14 @@
|
||||
"prefix": "mifosx",
|
||||
"schematics": {
|
||||
"@schematics/angular:component": {
|
||||
"styleext": "scss"
|
||||
"style": "scss"
|
||||
}
|
||||
},
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-angular:browser",
|
||||
"options": {
|
||||
"aot": true,
|
||||
"outputPath": "dist/web-app",
|
||||
"index": "src/index.html",
|
||||
"main": "src/main.ts",
|
||||
@@ -31,41 +32,41 @@
|
||||
],
|
||||
"styles": [
|
||||
"src/main.scss",
|
||||
{
|
||||
{"inject":false,
|
||||
"input": "src/theme/deeppurple-amber.scss",
|
||||
"bundleName": "theme/deeppurple-amber",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/deeppurple-amber"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/indigo-pink.scss",
|
||||
"bundleName": "theme/indigo-pink",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/indigo-pink"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/pink-bluegrey.scss",
|
||||
"bundleName": "theme/pink-bluegrey",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/pink-bluegrey"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/purple-green.scss",
|
||||
"bundleName": "theme/purple-green",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/purple-green"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/custom/denim-yellowgreen.scss",
|
||||
"bundleName": "theme/denim-yellowgreen",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/denim-yellowgreen"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/custom/pictonblue-yellowgreen.scss",
|
||||
"bundleName": "theme/pictonblue-yellowgreen",
|
||||
"lazy": true
|
||||
}
|
||||
"bundleName": "theme/pictonblue-yellowgreen"
|
||||
}
|
||||
],
|
||||
"scripts": []
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"budgets": [
|
||||
{
|
||||
"type": "anyComponentStyle",
|
||||
"maximumWarning": "6kb"
|
||||
}
|
||||
],
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
@@ -112,36 +113,30 @@
|
||||
"scripts": [],
|
||||
"styles": [
|
||||
"src/main.scss",
|
||||
{
|
||||
{"inject":false,
|
||||
"input": "src/theme/deeppurple-amber.scss",
|
||||
"bundleName": "theme/deeppurple-amber",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/deeppurple-amber"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/indigo-pink.scss",
|
||||
"bundleName": "theme/indigo-pink",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/indigo-pink"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/pink-bluegrey.scss",
|
||||
"bundleName": "theme/pink-bluegrey",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/pink-bluegrey"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/purple-green.scss",
|
||||
"bundleName": "theme/purple-green",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/purple-green"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/custom/denim-yellowgreen.scss",
|
||||
"bundleName": "theme/denim-yellowgreen",
|
||||
"lazy": true
|
||||
},
|
||||
{
|
||||
"bundleName": "theme/denim-yellowgreen"
|
||||
},
|
||||
{"inject":false,
|
||||
"input": "src/theme/custom/pictonblue-yellowgreen.scss",
|
||||
"bundleName": "theme/pictonblue-yellowgreen",
|
||||
"lazy": true
|
||||
}
|
||||
"bundleName": "theme/pictonblue-yellowgreen"
|
||||
}
|
||||
],
|
||||
"assets": [
|
||||
"src/favicon.ico",
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
packages: {
|
||||
'@ckeditor/ckeditor5-angular': {
|
||||
ignorableDeepImportMatchers: [
|
||||
/@ckeditor\//
|
||||
]
|
||||
},
|
||||
}
|
||||
};
|
||||
Generated
+8863
-3769
File diff suppressed because it is too large
Load Diff
+26
-26
@@ -22,48 +22,48 @@
|
||||
"e2e": "npm run env -s && ng e2e",
|
||||
"translations:extract": "ngx-translate-extract --input ./src --output ./src/translations/template.json --format=json --clean -sort --marker extract",
|
||||
"docs": "hads ./docs -o",
|
||||
"env": "ngx-scripts env npm_package_version"
|
||||
"env": "ngx-scripts env npm_package_version",
|
||||
"postinstall": "ngcc"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "7.2.15",
|
||||
"@angular/cdk": "7.3.7",
|
||||
"@angular/common": "7.2.15",
|
||||
"@angular/compiler": "7.2.15",
|
||||
"@angular/core": "7.2.15",
|
||||
"@angular/flex-layout": "7.0.0-beta.24",
|
||||
"@angular/forms": "7.2.15",
|
||||
"@angular/http": "7.2.15",
|
||||
"@angular/material": "7.3.7",
|
||||
"@angular/platform-browser": "7.2.15",
|
||||
"@angular/platform-browser-dynamic": "7.2.15",
|
||||
"@angular/router": "7.2.15",
|
||||
"@angular/service-worker": "7.2.15",
|
||||
"@angular/animations": "9.1.12",
|
||||
"@angular/cdk": "9.2.4",
|
||||
"@angular/common": "9.1.12",
|
||||
"@angular/compiler": "9.1.12",
|
||||
"@angular/core": "9.1.12",
|
||||
"@angular/flex-layout": "9.0.0-beta.31",
|
||||
"@angular/forms": "9.1.12",
|
||||
"@angular/localize": "9.1.12",
|
||||
"@angular/material": "9.2.4",
|
||||
"@angular/platform-browser": "9.1.12",
|
||||
"@angular/platform-browser-dynamic": "9.1.12",
|
||||
"@angular/router": "9.1.12",
|
||||
"@angular/service-worker": "9.1.12",
|
||||
"@ckeditor/ckeditor5-angular": "1.2.3",
|
||||
"@ckeditor/ckeditor5-build-classic": "21.0.0",
|
||||
"@fortawesome/angular-fontawesome": "0.3.0",
|
||||
"@fortawesome/angular-fontawesome": "0.6.1",
|
||||
"@fortawesome/fontawesome-svg-core": "1.2.18",
|
||||
"@fortawesome/free-solid-svg-icons": "5.8.2",
|
||||
"@ngx-translate/core": "11.0.1",
|
||||
"chart.js": "3.0.0-alpha",
|
||||
"core-js": "2.5.0",
|
||||
"hammerjs": "2.0.8",
|
||||
"lodash": "4.17.13",
|
||||
"rxjs": "6.5.2",
|
||||
"tslib": "1.9.0",
|
||||
"zone.js": "0.8.29"
|
||||
"rxjs": "6.6.2",
|
||||
"tslib": "1.10.0",
|
||||
"zone.js": "0.10.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@angular-devkit/build-angular": "0.13.9",
|
||||
"@angular/cli": "7.3.9",
|
||||
"@angular/compiler-cli": "7.2.15",
|
||||
"@angular/language-service": "7.2.15",
|
||||
"@angular-devkit/build-angular": "0.901.12",
|
||||
"@angular/cli": "9.1.12",
|
||||
"@angular/compiler-cli": "9.1.12",
|
||||
"@angular/language-service": "9.1.12",
|
||||
"@biesbjerg/ngx-translate-extract": "2.3.4",
|
||||
"@ngx-rocket/scripts": "3.0.3",
|
||||
"@types/jasmine": "3.3.13",
|
||||
"@types/jasminewd2": "2.0.6",
|
||||
"@types/lodash": "4.14.132",
|
||||
"@types/node": "12.0.3",
|
||||
"codelyzer": "5.0.1",
|
||||
"@types/node": "12.11.1",
|
||||
"codelyzer": "5.1.2",
|
||||
"hads": "1.7.3",
|
||||
"htmlhint": "0.11.0",
|
||||
"https-proxy-agent": "2.2.1",
|
||||
@@ -82,7 +82,7 @@
|
||||
"stylelint-scss": "3.6.1",
|
||||
"ts-node": "8.2.0",
|
||||
"tslint": "5.16.0",
|
||||
"typescript": "3.2.4"
|
||||
"typescript": "3.8.3"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
+5
-3
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable, MatPaginator, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
@@ -50,9 +52,9 @@ export class ListStandingInstructionsComponent implements OnInit {
|
||||
displayedColumns: string[] = ['client', 'fromAccount', 'beneficiary', 'toAccount', 'amount', 'validity', 'actions'];
|
||||
|
||||
/** Instruction Table Reference */
|
||||
@ViewChild('instructionsTable') instructionTableRef: MatTable<Element>;
|
||||
@ViewChild('instructionsTable', { static: true }) instructionTableRef: MatTable<Element>;
|
||||
/** Paginator for centers table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable, MatPaginator, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
@@ -29,7 +31,7 @@ export class ListTransactionsComponent {
|
||||
displayedColumns: string[] = ['transactionDate', 'amount', 'notes', 'reversed'];
|
||||
|
||||
/** Paginator for centers table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
|
||||
/**
|
||||
* Retrieves Recurring Deposits Account Data from `resolve`.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatPaginator, MatSort, MatTableDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
/**
|
||||
@@ -21,9 +23,9 @@ export class AccountingRulesComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for accounting rules table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for accounting rules table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the accounting rules data from `resolve`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { AccountingService } from '../../accounting.service';
|
||||
|
||||
@@ -78,10 +78,6 @@ import { ViewProvisioningJournalEntriesComponent } from './provisioning-entries/
|
||||
CreateProvisioningEntryComponent,
|
||||
ViewProvisioningEntryComponent,
|
||||
ViewProvisioningJournalEntriesComponent
|
||||
],
|
||||
entryComponents: [
|
||||
RevertTransactionComponent,
|
||||
ViewJournalEntryComponent
|
||||
]
|
||||
})
|
||||
export class AccountingModule { }
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
/** Angular Imports */
|
||||
import { Component, ViewChild, OnInit, AfterViewInit } from '@angular/core';
|
||||
import { MatPaginator, MatSort, MatTableDataSource, MatTreeNestedDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { MatTreeNestedDataSource } from '@angular/material/tree';
|
||||
import { NestedTreeControl } from '@angular/cdk/tree';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
@@ -40,9 +43,9 @@ export class ChartOfAccountsComponent implements AfterViewInit, OnInit {
|
||||
glAccount: GLAccountNode;
|
||||
|
||||
/** Paginator for chart of accounts table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for chart of accounts table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the gl accounts data from `resolve` and initializes(generates) gl accounts tree.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Components */
|
||||
import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatPaginator, MatSort, MatTableDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
@@ -31,9 +33,9 @@ export class ClosingEntriesComponent implements OnInit {
|
||||
glAccountClosureData: any;
|
||||
|
||||
/** Paginator for closing entries table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for closing entries table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the offices and gl account closures data from `resolve`.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { AccountingService } from '../../accounting.service';
|
||||
|
||||
+5
-3
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
/**
|
||||
@@ -21,9 +23,9 @@ export class FinancialActivityMappingsComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for financial activity mappings table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for financial activity mappings table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the financial activity accounts data from `resolve`.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { AccountingService } from '../../accounting.service';
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatSort, MatPaginator, MatTableDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { Router, ActivatedRoute } from '@angular/router';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -24,9 +26,9 @@ export class ProvisioningEntriesComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for provisioning entries table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for provisioning entries table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the provisioning entries data from `resolve`.
|
||||
|
||||
+5
-3
@@ -2,7 +2,9 @@
|
||||
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { MatPaginator, MatSort, MatTableDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/** rxjs Imports */
|
||||
import { startWith, map, debounceTime, distinctUntilChanged, tap } from 'rxjs/operators';
|
||||
@@ -56,9 +58,9 @@ export class ViewProvisioningEntryComponent implements OnInit, AfterViewInit {
|
||||
};
|
||||
|
||||
/** Paginator for provisioning entry entries table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for provisioning entry entries table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the provisioning entry, provisioning entry entries, offices,
|
||||
|
||||
+5
-3
@@ -1,7 +1,9 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatPaginator, MatSort, MatTableDataSource } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/**
|
||||
* View provisioning journal entries component.
|
||||
@@ -21,9 +23,9 @@ export class ViewProvisioningJournalEntriesComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for provisioning journal entries table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for provisioning journal entries table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the provisioning journal entries data from `resolve`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
|
||||
import { MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { Router, ActivatedRoute } from '@angular/router';
|
||||
|
||||
@@ -104,9 +105,9 @@ export class SearchJournalEntryComponent implements OnInit, AfterViewInit {
|
||||
];
|
||||
|
||||
/** Paginator for journal entries table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for journal entries table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* Retrieves the offices and gl accounts data from `resolve`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* View journal entry dialog component.
|
||||
|
||||
@@ -1,7 +1,10 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog, MatSort, MatPaginator, MatTableDataSource } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/** Custom Services */
|
||||
import { AccountingService } from '../accounting.service';
|
||||
@@ -32,9 +35,9 @@ export class ViewTransactionComponent implements OnInit {
|
||||
dataSource: MatTableDataSource<any>;
|
||||
|
||||
/** Paginator for transaction table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for transaction table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
/**
|
||||
* @param {AccountingService} accountingService Accounting Service.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { NgModule } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { BrowserModule, HammerModule } from '@angular/platform-browser';
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { ServiceWorkerModule } from '@angular/service-worker';
|
||||
@@ -50,6 +50,7 @@ import { AppRoutingModule } from './app-routing.module';
|
||||
imports: [
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
HammerModule,
|
||||
HttpClientModule,
|
||||
ServiceWorkerModule.register('./ngsw-worker.js', { enabled: environment.production }),
|
||||
TranslateModule.forRoot(),
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { FormControl } from '@angular/forms';
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.co
|
||||
/** Custom Services */
|
||||
import { CentersService } from 'app/centers/centers.service';
|
||||
import { GroupsService } from 'app/groups/groups.service';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Dialog Imports */
|
||||
import { ConfirmationDialogComponent } from 'app/shared/confirmation-dialog/confirmation-dialog.component';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Component, OnChanges, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Dialogs */
|
||||
@@ -44,7 +44,7 @@ export class MultiRowComponent implements OnInit, OnChanges {
|
||||
showDeleteBotton: boolean;
|
||||
|
||||
/** Data Table Reference */
|
||||
@ViewChild('dataTable') dataTableRef: MatTable<Element>;
|
||||
@ViewChild('dataTable', { static: true }) dataTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Fetches center Id from parent route params.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Components */
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
|
||||
/** Custom Components */
|
||||
@@ -21,7 +21,7 @@ export class NotesTabComponent implements OnInit {
|
||||
username: string;
|
||||
centerNotes: any;
|
||||
noteForm: FormGroup;
|
||||
@ViewChild('formRef') formRef: any;
|
||||
@ViewChild('formRef', { static: true }) formRef: any;
|
||||
|
||||
|
||||
constructor(private route: ActivatedRoute,
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
|
||||
import { MatPaginator, MatSort, MatCheckbox } from '@angular/material';
|
||||
import { MatCheckbox } from '@angular/material/checkbox';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { Router, ActivatedRoute } from '@angular/router';
|
||||
|
||||
@@ -23,7 +25,7 @@ import { CentersDataSource } from './centers.datasource';
|
||||
styleUrls: ['./centers.component.scss'],
|
||||
})
|
||||
export class CentersComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('showClosedCenters') showClosedCenters: MatCheckbox;
|
||||
@ViewChild('showClosedCenters', { static: true }) showClosedCenters: MatCheckbox;
|
||||
|
||||
/** Name form control. */
|
||||
name = new FormControl();
|
||||
@@ -46,9 +48,9 @@ export class CentersComponent implements OnInit, AfterViewInit {
|
||||
];
|
||||
|
||||
/** Paginator for centers table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for centers table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
constructor(private centersService: CentersService) { }
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input } from '@angular/core';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Models */
|
||||
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { Router, ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Components */
|
||||
import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
@@ -231,27 +231,27 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'loans',
|
||||
data: { title: extract('Loans'), breadcrumb: 'loans', routeParamBreadcrumb: false },
|
||||
loadChildren: '../loans/loans.module#LoansModule'
|
||||
loadChildren: () => import('../loans/loans.module').then(m => m.LoansModule)
|
||||
},
|
||||
{
|
||||
path: 'fixed-deposits-accounts',
|
||||
loadChildren: '../deposits/fixed-deposits/fixed-deposits.module#FixedDepositsModule'
|
||||
loadChildren: () => import('../deposits/fixed-deposits/fixed-deposits.module').then(m => m.FixedDepositsModule)
|
||||
},
|
||||
{
|
||||
path: 'savingsaccounts',
|
||||
loadChildren: '../savings/savings.module#SavingsModule'
|
||||
loadChildren: () => import('../savings/savings.module').then(m => m.SavingsModule)
|
||||
},
|
||||
{
|
||||
path: 'recurringdeposits',
|
||||
loadChildren: '../deposits/recurring-deposits/recurring-deposits.module#RecurringDepositsModule'
|
||||
loadChildren: () => import('../deposits/recurring-deposits/recurring-deposits.module').then(m => m.RecurringDepositsModule)
|
||||
},
|
||||
{
|
||||
path: 'shares-accounts',
|
||||
loadChildren: '../shares/shares.module#SharesModule'
|
||||
loadChildren: () => import('../shares/shares.module').then(m => m.SharesModule)
|
||||
},
|
||||
{
|
||||
path: 'standing-instructions',
|
||||
loadChildren: '../account-transfers/account-transfers.module#AccountTransfersModule'
|
||||
loadChildren: () => import('../account-transfers/account-transfers.module').then(m => m.AccountTransfersModule)
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
|
||||
import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base';
|
||||
import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base';
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
/**
|
||||
@@ -21,7 +23,7 @@ export class ChargesOverviewComponent implements OnInit {
|
||||
chargeOverviewData: any;
|
||||
|
||||
/** Paginator for charge overview table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
|
||||
/**
|
||||
* Retrieves the charge overview data from `resolve`.
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ export class ClientScreenReportsComponent implements OnInit {
|
||||
template: any;
|
||||
|
||||
/** Screen report output reference */
|
||||
@ViewChild('screenReport') screenReportRef: ElementRef;
|
||||
@ViewChild('screenReport', { static: true }) screenReportRef: ElementRef;
|
||||
|
||||
/**
|
||||
* Fetches Client Action Data from `resolve`
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTableDataSource, MatPaginator, MatSort } from '@angular/material';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
|
||||
/**
|
||||
* View Survey component.
|
||||
@@ -21,9 +23,9 @@ export class ViewSurveyComponent implements OnInit {
|
||||
displayedColumns: string[] = ['surveyName', 'createdBy', 'date', 'score'];
|
||||
|
||||
/** Paginator for list of surveys table. */
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
/** Sorter for list of surveys table. */
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Dialogs */
|
||||
import { UnassignStaffDialogComponent } from './custom-dialogs/unassign-staff-dialog/unassign-staff-dialog.component';
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, ViewChild, ElementRef, AfterViewInit, Renderer2, OnDestroy } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Capture image dialog component
|
||||
@@ -13,11 +13,11 @@ import { MatDialogRef } from '@angular/material';
|
||||
export class CaptureImageDialogComponent implements AfterViewInit, OnDestroy {
|
||||
|
||||
/** Video element reference */
|
||||
@ViewChild('video') video: ElementRef;
|
||||
@ViewChild('video', { static: true }) video: ElementRef;
|
||||
/** Canvas element reference */
|
||||
@ViewChild('canvas') canvas: ElementRef;
|
||||
@ViewChild('canvas', { static: true }) canvas: ElementRef;
|
||||
/** Fallback element reference */
|
||||
@ViewChild('fallback') fallback: ElementRef;
|
||||
@ViewChild('fallback', { static: true }) fallback: ElementRef;
|
||||
/** Capture button element reference */
|
||||
@ViewChild('captureButton') captureButton: ElementRef;
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Delete signature dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Unassign staff dialog component.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { FormGroup, FormBuilder, Validators, FormControl } from '@angular/forms';
|
||||
|
||||
@Component({
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Upload image dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Upload signature dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject, OnInit } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
import { DomSanitizer } from '@angular/platform-browser';
|
||||
|
||||
/** Custom Services */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, Input, OnChanges, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
|
||||
import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base';
|
||||
import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base';
|
||||
@@ -21,7 +21,7 @@ import { ClientsService } from '../../../clients.service';
|
||||
styleUrls: ['./multi-row.component.scss']
|
||||
})
|
||||
export class MultiRowComponent implements OnInit, OnChanges {
|
||||
@ViewChild('dataTable') dataTableRef: MatTable<Element>;
|
||||
@ViewChild('dataTable', { static: true }) dataTableRef: MatTable<Element>;
|
||||
@Input() dataObject: any;
|
||||
datatableName: string;
|
||||
datatableColumns: string[] = [];
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
|
||||
import { InputBase } from 'app/shared/form-dialog/formfield/model/input-base';
|
||||
import { SelectBase } from 'app/shared/form-dialog/formfield/model/select-base';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Services */
|
||||
import { ClientsService } from '../../clients.service';
|
||||
@@ -17,7 +17,7 @@ import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dial
|
||||
styleUrls: ['./documents-tab.component.scss']
|
||||
})
|
||||
export class DocumentsTabComponent implements OnInit {
|
||||
@ViewChild('documentsTable') documentsTable: MatTable<Element>;
|
||||
@ViewChild('documentsTable', { static: true }) documentsTable: MatTable<Element>;
|
||||
documentsColumns: string[] = ['name', 'description', 'fileName', 'actions'];
|
||||
clientDocuments: any;
|
||||
clientId: string;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Components */
|
||||
import { DeleteDialogComponent } from '../../../shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Component, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Models */
|
||||
import { FormfieldBase } from 'app/shared/form-dialog/formfield/model/formfield-base';
|
||||
@@ -37,7 +37,7 @@ export class IdentitiesTabComponent {
|
||||
identitiesColumns: string[] = ['id', 'description', 'type', 'documents', 'status', 'actions'];
|
||||
|
||||
/** Identifiers Table */
|
||||
@ViewChild('identifiersTable') identifiersTable: MatTable<Element>;
|
||||
@ViewChild('identifiersTable', { static: true }) identifiersTable: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* @param {ActivatedRoute} route Activated Route
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
|
||||
/** Custom Components */
|
||||
@@ -31,7 +31,7 @@ export class NotesTabComponent implements OnInit {
|
||||
noteForm: FormGroup;
|
||||
|
||||
/** Notes Form Reference */
|
||||
@ViewChild('formRef') formRef: any;
|
||||
@ViewChild('formRef', { static: true }) formRef: any;
|
||||
|
||||
/**
|
||||
* @param {ActivatedRoute} route Activated Route
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
/** Angular Imports. */
|
||||
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
|
||||
import { MatPaginator, MatSort, MatCheckbox } from '@angular/material';
|
||||
import { MatCheckbox } from '@angular/material/checkbox';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { ClientsDataSource } from './clients.datasource';
|
||||
|
||||
/** rxjs Imports */
|
||||
@@ -16,7 +18,7 @@ import { ClientsService } from './clients.service';
|
||||
styleUrls: ['./clients.component.scss'],
|
||||
})
|
||||
export class ClientsComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('showClosedAccounts') showClosedAccounts: MatCheckbox;
|
||||
@ViewChild('showClosedAccounts', { static: true }) showClosedAccounts: MatCheckbox;
|
||||
|
||||
|
||||
displayedColumns = ['name', 'clientno', 'externalid', 'status', 'mobileNo', 'gender', 'office', 'staff'];
|
||||
@@ -24,8 +26,8 @@ export class ClientsComponent implements OnInit, AfterViewInit {
|
||||
/** Get the required filter value. */
|
||||
searchValue = '';
|
||||
|
||||
@ViewChild(MatPaginator) paginator: MatPaginator;
|
||||
@ViewChild(MatSort) sort: MatSort;
|
||||
@ViewChild(MatPaginator, { static: true }) paginator: MatPaginator;
|
||||
@ViewChild(MatSort, { static: true }) sort: MatSort;
|
||||
|
||||
constructor(private clientsService: ClientsService) {
|
||||
|
||||
|
||||
@@ -121,17 +121,6 @@ import { CaptureImageDialogComponent } from './clients-view/custom-dialogs/captu
|
||||
ClientFamilyMemberDialogComponent,
|
||||
CaptureImageDialogComponent
|
||||
],
|
||||
entryComponents: [
|
||||
UploadDocumentDialogComponent,
|
||||
EditNotesDialogComponent,
|
||||
UnassignStaffDialogComponent,
|
||||
ViewSignatureDialogComponent,
|
||||
UploadSignatureDialogComponent,
|
||||
DeleteSignatureDialogComponent,
|
||||
UploadImageDialogComponent,
|
||||
ClientFamilyMemberDialogComponent,
|
||||
CaptureImageDialogComponent
|
||||
],
|
||||
providers: [DatePipe]
|
||||
|
||||
})
|
||||
|
||||
@@ -21,11 +21,11 @@ import { ClientAddressStepComponent } from '../client-stepper/client-address-ste
|
||||
export class CreateClientComponent {
|
||||
|
||||
/** Client General Step */
|
||||
@ViewChild(ClientGeneralStepComponent) clientGeneralStep: ClientGeneralStepComponent;
|
||||
@ViewChild(ClientGeneralStepComponent, { static: true }) clientGeneralStep: ClientGeneralStepComponent;
|
||||
/** Client Family Members Step */
|
||||
@ViewChild(ClientFamilyMembersStepComponent) clientFamilyMembersStep: ClientFamilyMembersStepComponent;
|
||||
@ViewChild(ClientFamilyMembersStepComponent, { static: true }) clientFamilyMembersStep: ClientFamilyMembersStepComponent;
|
||||
/** Client Address Step */
|
||||
@ViewChild(ClientAddressStepComponent) clientAddressStep: ClientAddressStepComponent;
|
||||
@ViewChild(ClientAddressStepComponent, { static: true }) clientAddressStep: ClientAddressStepComponent;
|
||||
|
||||
/** Client Template */
|
||||
clientTemplate: any;
|
||||
|
||||
@@ -6,7 +6,7 @@ describe('CollectionsService', () => {
|
||||
beforeEach(() => TestBed.configureTestingModule({}));
|
||||
|
||||
it('should be created', () => {
|
||||
const service: CollectionsService = TestBed.get(CollectionsService);
|
||||
const service: CollectionsService = TestBed.inject(CollectionsService);
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
+4
-1
@@ -1,6 +1,9 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatPaginator, MatSort, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatPaginator } from '@angular/material/paginator';
|
||||
import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
@@ -14,7 +14,7 @@ import { ApiPrefixInterceptor } from './api-prefix.interceptor';
|
||||
* HttpClient is declared in a re-exported module, so we have to extend the original module to make it work properly.
|
||||
* (see https://github.com/Microsoft/TypeScript/issues/13897)
|
||||
*/
|
||||
declare module '@angular/common/http/src/client' {
|
||||
declare module '@angular/common/http/http' {
|
||||
|
||||
/**
|
||||
* Augment HttpClient with the added configuration methods from HttpService, to allow in-place replacement of
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/** Angular Imports */
|
||||
import { ActivatedRouteSnapshot, DetachedRouteHandle, RouteReuseStrategy } from '@angular/router';
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* A route strategy allowing for explicit route reuse.
|
||||
* Used as a workaround for https://github.com/angular/angular/issues/18374
|
||||
* To reuse a given route, add `data: { reuse: true }` to the route definition.
|
||||
*/
|
||||
@Injectable()
|
||||
export class RouteReusableStrategy extends RouteReuseStrategy {
|
||||
|
||||
public shouldDetach(route: ActivatedRouteSnapshot): boolean {
|
||||
|
||||
@@ -121,7 +121,9 @@ export class SidenavComponent implements OnInit {
|
||||
*/
|
||||
pushActivity(path: string) {
|
||||
const activity = this.frequentActivities.find((entry: any) => entry.path === path);
|
||||
this.mappedActivities.push(activity);
|
||||
if (!this.mappedActivities.includes(activity)) {
|
||||
this.mappedActivities.push(activity);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, EventEmitter, Output } from '@angular/core';
|
||||
import { MatSidenav, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatSidenav } from '@angular/material/sidenav';
|
||||
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
||||
import { Router } from '@angular/router';
|
||||
|
||||
|
||||
+5
-5
@@ -24,15 +24,15 @@ import { FixedDepositAccountChargesStepComponent } from '../fixed-deposit-accoun
|
||||
export class CreateFixedDepositAccountComponent {
|
||||
|
||||
/** Fixed Deposits Account Details Step */
|
||||
@ViewChild(FixedDepositAccountDetailsStepComponent) fixedDepositsAccountDetailsStep: FixedDepositAccountDetailsStepComponent;
|
||||
@ViewChild(FixedDepositAccountDetailsStepComponent, { static: true }) fixedDepositsAccountDetailsStep: FixedDepositAccountDetailsStepComponent;
|
||||
/** Fixed Deposits Account Currency Step */
|
||||
@ViewChild(FixedDepositAccountCurrencyStepComponent) fixedDepositAccountCurrencyStep: FixedDepositAccountCurrencyStepComponent;
|
||||
@ViewChild(FixedDepositAccountCurrencyStepComponent, { static: true }) fixedDepositAccountCurrencyStep: FixedDepositAccountCurrencyStepComponent;
|
||||
/** Fixed Deposits Account Terms Step */
|
||||
@ViewChild(FixedDepositAccountTermsStepComponent) fixedDepositAccountTermsStep: FixedDepositAccountTermsStepComponent;
|
||||
@ViewChild(FixedDepositAccountTermsStepComponent, { static: true }) fixedDepositAccountTermsStep: FixedDepositAccountTermsStepComponent;
|
||||
/** Fixed Deposits Account Settings Step */
|
||||
@ViewChild(FixedDepositAccountSettingsStepComponent) fixedDepositAccountSettingsStep: FixedDepositAccountSettingsStepComponent;
|
||||
@ViewChild(FixedDepositAccountSettingsStepComponent, { static: true }) fixedDepositAccountSettingsStep: FixedDepositAccountSettingsStepComponent;
|
||||
/** Fixed Deposits Account Charges Step */
|
||||
@ViewChild(FixedDepositAccountChargesStepComponent) fixedDepositAccountChargesStep: FixedDepositAccountChargesStepComponent;
|
||||
@ViewChild(FixedDepositAccountChargesStepComponent, { static: true }) fixedDepositAccountChargesStep: FixedDepositAccountChargesStepComponent;
|
||||
|
||||
/** Fixed Deposits Account Template */
|
||||
fixedDepositsAccountTemplate: any;
|
||||
|
||||
+5
-5
@@ -24,15 +24,15 @@ import { FixedDepositAccountChargesStepComponent } from '../fixed-deposit-accoun
|
||||
export class EditFixedDepositAccountComponent {
|
||||
|
||||
/** Fixed Deposits Account Details Step */
|
||||
@ViewChild(FixedDepositAccountDetailsStepComponent) fixedDepositsAccountDetailsStep: FixedDepositAccountDetailsStepComponent;
|
||||
@ViewChild(FixedDepositAccountDetailsStepComponent, { static: true }) fixedDepositsAccountDetailsStep: FixedDepositAccountDetailsStepComponent;
|
||||
/** Fixed Deposits Account Currency Step */
|
||||
@ViewChild(FixedDepositAccountCurrencyStepComponent) fixedDepositAccountCurrencyStep: FixedDepositAccountCurrencyStepComponent;
|
||||
@ViewChild(FixedDepositAccountCurrencyStepComponent, { static: true }) fixedDepositAccountCurrencyStep: FixedDepositAccountCurrencyStepComponent;
|
||||
/** Fixed Deposits Account Terms Step */
|
||||
@ViewChild(FixedDepositAccountTermsStepComponent) fixedDepositAccountTermsStep: FixedDepositAccountTermsStepComponent;
|
||||
@ViewChild(FixedDepositAccountTermsStepComponent, { static: true }) fixedDepositAccountTermsStep: FixedDepositAccountTermsStepComponent;
|
||||
/** Fixed Deposits Account Settings Step */
|
||||
@ViewChild(FixedDepositAccountSettingsStepComponent) fixedDepositAccountSettingsStep: FixedDepositAccountSettingsStepComponent;
|
||||
@ViewChild(FixedDepositAccountSettingsStepComponent, { static: true }) fixedDepositAccountSettingsStep: FixedDepositAccountSettingsStepComponent;
|
||||
/** Fixed Deposits Account Charges Step */
|
||||
@ViewChild(FixedDepositAccountChargesStepComponent) fixedDepositAccountChargesStep: FixedDepositAccountChargesStepComponent;
|
||||
@ViewChild(FixedDepositAccountChargesStepComponent, { static: true }) fixedDepositAccountChargesStep: FixedDepositAccountChargesStepComponent;
|
||||
|
||||
/** Fixed Deposits Account Template */
|
||||
fixedDepositsAccountAndTemplate: any;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, OnChanges } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Dialog Components */
|
||||
import { FormDialogComponent } from 'app/shared/form-dialog/form-dialog.component';
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, OnChanges, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { animate, state, style, transition, trigger } from '@angular/animations';
|
||||
|
||||
/**
|
||||
@@ -37,7 +37,7 @@ export class FixedDepositAccountInterestRateChartStepComponent implements OnChan
|
||||
expandChartSlabIndex: number;
|
||||
|
||||
/** Interest Rate charts table reference */
|
||||
@ViewChild('chartsTable') chartsTableRef: MatTable<Element>;
|
||||
@ViewChild('chartsTable', { static: true }) chartsTableRef: MatTable<Element>;
|
||||
|
||||
constructor() { }
|
||||
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ export class FixedDepositAccountTermsStepComponent implements OnInit, OnChanges
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
if (this.fixedDepositsAccountTemplate) {
|
||||
if (this.fixedDepositsAccountTemplate.interestCompoundingPeriodType) {
|
||||
this.fixedDepositAccountTermsForm.patchValue({
|
||||
'interestCompoundingPeriodType': this.fixedDepositsAccountTemplate.interestCompoundingPeriodType.id,
|
||||
'interestPostingPeriodType': this.fixedDepositsAccountTemplate.interestPostingPeriodType.id,
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog, MatTableDataSource, MatTable } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -53,7 +54,7 @@ export class ChargesTabComponent implements OnInit {
|
||||
];
|
||||
|
||||
/** Charges Table Reference */
|
||||
@ViewChild('chargesTable') chargesTableRef: MatTable<Element>;
|
||||
@ViewChild('chargesTable', { static: true }) chargesTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Retrieves the Fixed Deposits account data from `resolve`.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Calculate interest dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Inactivate charge dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { MatDialogRef } from '@angular/material';
|
||||
import { MatDialogRef } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Post interest dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Toggle withhold tax dialog dialog component.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* Waive charge dialog component.
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
import { Component, OnChanges, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Dialogs */
|
||||
@@ -44,7 +44,7 @@ export class MultiRowComponent implements OnInit, OnChanges {
|
||||
showDeleteBotton: boolean;
|
||||
|
||||
/** Data Table Reference */
|
||||
@ViewChild('dataTable') dataTableRef: MatTable<Element>;
|
||||
@ViewChild('dataTable', { static: true }) dataTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Fetches savings account Id from parent route params.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Components */
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Custom Dialogs */
|
||||
import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -38,7 +39,7 @@ export class StandingInstructionsTabComponent implements OnInit {
|
||||
];
|
||||
|
||||
/** Instruction Table Reference */
|
||||
@ViewChild('instructionsTable') instructionTableRef: MatTable<Element>;
|
||||
@ViewChild('instructionsTable', { static: true }) instructionTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Retrieves Fixed Deposits Account Data from `resolve`.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatTableDataSource } from '@angular/material';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/**
|
||||
* View Transaction Component.
|
||||
|
||||
@@ -104,7 +104,7 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'account-transfers',
|
||||
loadChildren: '../../account-transfers/account-transfers.module#AccountTransfersModule'
|
||||
loadChildren: () => import('../../account-transfers/account-transfers.module').then(m => m.AccountTransfersModule)
|
||||
},
|
||||
{
|
||||
path: ':id',
|
||||
|
||||
@@ -88,13 +88,6 @@ import { EditFixedDepositAccountComponent } from './edit-fixed-deposit-account/e
|
||||
DirectivesModule,
|
||||
FixedDepositsRoutingModule
|
||||
],
|
||||
entryComponents: [
|
||||
PostInterestDialogComponent,
|
||||
CalculateInterestDialogComponent,
|
||||
ToggleWithholdTaxDialogComponent,
|
||||
WaiveChargeDialogComponent,
|
||||
InactivateChargeDialogComponent
|
||||
],
|
||||
providers: [DatePipe]
|
||||
})
|
||||
export class FixedDepositsModule { }
|
||||
|
||||
@@ -6,7 +6,7 @@ describe('FixedDepositsService', () => {
|
||||
beforeEach(() => TestBed.configureTestingModule({}));
|
||||
|
||||
it('should be created', () => {
|
||||
const service: FixedDepositsService = TestBed.get(FixedDepositsService);
|
||||
const service: FixedDepositsService = TestBed.inject(FixedDepositsService);
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
+5
-5
@@ -24,11 +24,11 @@ import { RecurringDepositsAccountChargesStepComponent } from '../recurring-depos
|
||||
export class CreateRecurringDepositsAccountComponent implements OnInit {
|
||||
|
||||
/** Imports all the step component */
|
||||
@ViewChild(RecurringDepositsAccountDetailsStepComponent) recurringDepositsAccountDetailsStep: RecurringDepositsAccountDetailsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountCurrencyStepComponent) recurringDepositAccountCurrencyStep: RecurringDepositsAccountCurrencyStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountTermsStepComponent) recurringDepositAccountTermsStep: RecurringDepositsAccountTermsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountSettingsStepComponent) recurringDepositAccountSettingsStep: RecurringDepositsAccountSettingsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountChargesStepComponent) recurringDepositAccountChargesStep: RecurringDepositsAccountChargesStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountDetailsStepComponent, { static: true }) recurringDepositsAccountDetailsStep: RecurringDepositsAccountDetailsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountCurrencyStepComponent, { static: true }) recurringDepositAccountCurrencyStep: RecurringDepositsAccountCurrencyStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountTermsStepComponent, { static: true }) recurringDepositAccountTermsStep: RecurringDepositsAccountTermsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountSettingsStepComponent, { static: true }) recurringDepositAccountSettingsStep: RecurringDepositsAccountSettingsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountChargesStepComponent, { static: true }) recurringDepositAccountChargesStep: RecurringDepositsAccountChargesStepComponent;
|
||||
|
||||
/** Recurring Deposits Account Template */
|
||||
recurringDepositsAccountTemplate: any;
|
||||
|
||||
+5
-5
@@ -24,11 +24,11 @@ import { RecurringDepositsAccountChargesStepComponent } from '../recurring-depos
|
||||
export class EditRecurringDepositAccountComponent implements OnInit {
|
||||
|
||||
/** Imports all the step component */
|
||||
@ViewChild(RecurringDepositsAccountDetailsStepComponent) recurringDepositsAccountDetailsStep: RecurringDepositsAccountDetailsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountCurrencyStepComponent) recurringDepositAccountCurrencyStep: RecurringDepositsAccountCurrencyStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountTermsStepComponent) recurringDepositAccountTermsStep: RecurringDepositsAccountTermsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountSettingsStepComponent) recurringDepositAccountSettingsStep: RecurringDepositsAccountSettingsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountChargesStepComponent) recurringDepositAccountChargesStep: RecurringDepositsAccountChargesStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountDetailsStepComponent, { static: true }) recurringDepositsAccountDetailsStep: RecurringDepositsAccountDetailsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountCurrencyStepComponent, { static: true }) recurringDepositAccountCurrencyStep: RecurringDepositsAccountCurrencyStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountTermsStepComponent, { static: true }) recurringDepositAccountTermsStep: RecurringDepositsAccountTermsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountSettingsStepComponent, { static: true }) recurringDepositAccountSettingsStep: RecurringDepositsAccountSettingsStepComponent;
|
||||
@ViewChild(RecurringDepositsAccountChargesStepComponent, { static: true }) recurringDepositAccountChargesStep: RecurringDepositsAccountChargesStepComponent;
|
||||
|
||||
/** Recurring Deposits Account And Template */
|
||||
recurringDepositsAccountAndTemplate: any;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, OnChanges } from '@angular/core';
|
||||
import { FormControl } from '@angular/forms';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
|
||||
/** Dialog Components */
|
||||
import { DeleteDialogComponent } from 'app/shared/delete-dialog/delete-dialog.component';
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, Input, OnChanges, ViewChild } from '@angular/core';
|
||||
import { MatTable } from '@angular/material';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { trigger, state, style, transition, animate } from '@angular/animations';
|
||||
|
||||
/**
|
||||
@@ -34,7 +34,7 @@ export class RecurringDepositsAccountInterestRateChartStepComponent implements O
|
||||
/** Expand Chart Slab Index used in the view */
|
||||
expandChartSlabIndex: number;
|
||||
|
||||
@ViewChild('chartsTable') chartsTableRef: MatTable<Element>;
|
||||
@ViewChild('chartsTable', { static: true }) chartsTableRef: MatTable<Element>;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
+3
-2
@@ -1,7 +1,8 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog, MatTableDataSource, MatTable } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -51,7 +52,7 @@ export class ChargesTabComponent implements OnInit {
|
||||
];
|
||||
|
||||
/** Charges Table Reference */
|
||||
@ViewChild('chargesTable') chargesTableRef: MatTable<Element>;
|
||||
@ViewChild('chargesTable', { static: true }) chargesTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Retrieves Recurring Deposits Account Data from `resolve`.
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Component, OnInit, Inject } from '@angular/core';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
|
||||
import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog';
|
||||
|
||||
@Component({
|
||||
selector: 'mifosx-recurring-deposit-confirmation-action',
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
import { Component, OnChanges, OnInit, Input, ViewChild } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatTable } from '@angular/material/table';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Dialogs */
|
||||
@@ -44,7 +44,7 @@ export class MultiRowComponent implements OnInit, OnChanges {
|
||||
showDeleteBotton: boolean;
|
||||
|
||||
/** Data Table Reference */
|
||||
@ViewChild('dataTable') dataTableRef: MatTable<Element>;
|
||||
@ViewChild('dataTable', { static: true }) dataTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Fetches savings account Id from parent route params.
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, Input, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Components */
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Services */
|
||||
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit, ViewChild } from '@angular/core';
|
||||
import { MatTableDataSource, MatTable, MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { MatTableDataSource, MatTable } from '@angular/material/table';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
|
||||
/** Custom Services */
|
||||
@@ -30,7 +31,7 @@ export class StandingInstructionsTabComponent implements OnInit {
|
||||
displayedColumns: string[] = ['client', 'fromAccount', 'beneficiary', 'toAccount', 'amount', 'validity', 'actions'];
|
||||
|
||||
/** Instruction Table Reference */
|
||||
@ViewChild('instructionsTable') instructionTableRef: MatTable<Element>;
|
||||
@ViewChild('instructionsTable', { static: true }) instructionTableRef: MatTable<Element>;
|
||||
|
||||
/**
|
||||
* Retrieves Recurring Deposits Account Data from `resolve`.
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/** Angular Imports */
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MatTableDataSource } from '@angular/material';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/** Angular Imports */
|
||||
import { Component } from '@angular/core';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import { MatDialog } from '@angular/material';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { DatePipe } from '@angular/common';
|
||||
|
||||
/** Custom Services */
|
||||
|
||||
@@ -134,7 +134,7 @@ const routes: Routes = [
|
||||
},
|
||||
{
|
||||
path: 'account-transfers',
|
||||
loadChildren: '../../account-transfers/account-transfers.module#AccountTransfersModule'
|
||||
loadChildren: () => import('../../account-transfers/account-transfers.module').then(m => m.AccountTransfersModule)
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -162,7 +162,7 @@ const routes: Routes = [
|
||||
children: [
|
||||
{
|
||||
path: 'standing-instructions',
|
||||
loadChildren: '../../account-transfers/account-transfers.module#AccountTransfersModule'
|
||||
loadChildren: () => import('../../account-transfers/account-transfers.module').then(m => m.AccountTransfersModule)
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
@@ -86,9 +86,6 @@ import { RecurringDepositConfirmationDialogComponent } from './recurring-deposit
|
||||
ViewTransactionComponent,
|
||||
EditTransactionComponent
|
||||
],
|
||||
entryComponents: [
|
||||
RecurringDepositConfirmationDialogComponent
|
||||
],
|
||||
providers: [DatePipe]
|
||||
})
|
||||
export class RecurringDepositsModule {}
|
||||
|
||||
@@ -6,7 +6,7 @@ describe('RecurringDepositsService', () => {
|
||||
beforeEach(() => TestBed.configureTestingModule({}));
|
||||
|
||||
it('should be created', () => {
|
||||
const service: RecurringDepositsService = TestBed.get(RecurringDepositsService);
|
||||
const service: RecurringDepositsService = TestBed.inject(RecurringDepositsService);
|
||||
expect(service).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user