Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0

This commit is contained in:
Amritanshu
2019-06-12 17:25:10 +05:30
parent 40eaa25c76
commit fea48e1a3e
114 changed files with 749 additions and 822 deletions
@@ -1,6 +1,7 @@
import {AfterViewInit, Component, ElementRef, OnInit, OnDestroy, ViewChild} from '@angular/core';
import {FormBuilder, FormGroup} from '@angular/forms';
import {MatAutocompleteSelectedEvent, MatDialog} from '@angular/material';
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
import { MatDialog } from '@angular/material/dialog';
import {ActivatedRoute, Router} from '@angular/router';
import {BehaviorSubject, fromEvent, Observable, of, of as observableOf, zip} from 'rxjs';
import {PaymentDataSource} from './payment-datasource';
@@ -24,8 +25,8 @@ import {Hotkey, HotkeysService} from "angular2-hotkeys";
styleUrls: ['./payment.component.css']
})
export class PaymentComponent implements OnInit, AfterViewInit, OnDestroy {
@ViewChild('accountElement') accountElement: ElementRef;
@ViewChild('dateElement') dateElement: ElementRef;
@ViewChild('accountElement', { static: true }) accountElement: ElementRef;
@ViewChild('dateElement', { static: true }) dateElement: ElementRef;
public journalObservable = new BehaviorSubject<Journal[]>([]);
dataSource: PaymentDataSource;
form: FormGroup;