Chore: Upgraded to Angular, Angular Material and Angular Flex layout 8.0
This commit is contained in:
@ -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 {PurchaseDataSource} from './purchase-datasource';
|
||||
@ -25,9 +26,9 @@ import {Hotkey, HotkeysService} from "angular2-hotkeys";
|
||||
styleUrls: ['./purchase.component.css']
|
||||
})
|
||||
export class PurchaseComponent implements OnInit, AfterViewInit, OnDestroy {
|
||||
@ViewChild('accountElement') accountElement: ElementRef;
|
||||
@ViewChild('productElement') productElement: ElementRef;
|
||||
@ViewChild('dateElement') dateElement: ElementRef;
|
||||
@ViewChild('accountElement', { static: true }) accountElement: ElementRef;
|
||||
@ViewChild('productElement', { static: true }) productElement: ElementRef;
|
||||
@ViewChild('dateElement', { static: true }) dateElement: ElementRef;
|
||||
public inventoryObservable = new BehaviorSubject<Inventory[]>([]);
|
||||
dataSource: PurchaseDataSource;
|
||||
form: FormGroup;
|
||||
|
||||
Reference in New Issue
Block a user