build(docs-infra): upgrade @angular/* to 8.0.0-beta.14 (#29926)
PR Close #29926
This commit is contained in:

committed by
Andrew Kushnir

parent
909557d5f8
commit
3def652e18
@ -85,13 +85,13 @@ export class AppComponent implements OnInit {
|
||||
searchResults: Observable<SearchResults>;
|
||||
@ViewChildren('searchBox, searchResultsView', { read: ElementRef })
|
||||
searchElements: QueryList<ElementRef>;
|
||||
@ViewChild(SearchBoxComponent)
|
||||
@ViewChild(SearchBoxComponent, { static: true })
|
||||
searchBox: SearchBoxComponent;
|
||||
|
||||
@ViewChild(MatSidenav)
|
||||
@ViewChild(MatSidenav, { static: true })
|
||||
sidenav: MatSidenav;
|
||||
|
||||
@ViewChild(NotificationComponent)
|
||||
@ViewChild(NotificationComponent, { static: true })
|
||||
notification: NotificationComponent;
|
||||
notificationAnimating = false;
|
||||
|
||||
|
@ -61,7 +61,7 @@ export class ApiListComponent implements OnInit {
|
||||
{ value: 'security-risk', title: 'Security Risk' }
|
||||
];
|
||||
|
||||
@ViewChild('filter') queryEl: ElementRef;
|
||||
@ViewChild('filter', { static: true }) queryEl: ElementRef;
|
||||
|
||||
constructor(
|
||||
private apiService: ApiService,
|
||||
|
@ -79,9 +79,9 @@ export class CodeExampleComponent implements AfterViewInit {
|
||||
|
||||
@HostBinding('class.avoidFile') isAvoid = false;
|
||||
|
||||
@ViewChild('content') content: ElementRef;
|
||||
@ViewChild('content', { static: true }) content: ElementRef;
|
||||
|
||||
@ViewChild(CodeComponent) aioCode: CodeComponent;
|
||||
@ViewChild(CodeComponent, { static: true }) aioCode: CodeComponent;
|
||||
|
||||
ngAfterViewInit() {
|
||||
this.aioCode.code = this.content.nativeElement.innerHTML;
|
||||
|
@ -48,7 +48,7 @@ export class CodeTabsComponent implements OnInit, AfterViewInit {
|
||||
|
||||
@Input() linenums: string;
|
||||
|
||||
@ViewChild('content') content;
|
||||
@ViewChild('content', { static: true }) content;
|
||||
|
||||
@ViewChildren(CodeComponent) codeComponents: QueryList<CodeComponent>;
|
||||
|
||||
|
@ -97,7 +97,7 @@ export class CodeComponent implements OnChanges {
|
||||
@Output() codeFormatted = new EventEmitter<void>();
|
||||
|
||||
/** The element in the template that will display the formatted code. */
|
||||
@ViewChild('codeContainer') codeContainer: ElementRef;
|
||||
@ViewChild('codeContainer', { static: true }) codeContainer: ElementRef;
|
||||
|
||||
constructor(
|
||||
private snackbar: MatSnackBar,
|
||||
|
@ -62,7 +62,7 @@ export class LiveExampleComponent implements AfterContentInit {
|
||||
readonly zip: string;
|
||||
title: string;
|
||||
|
||||
@ViewChild('content')
|
||||
@ViewChild('content', { static: true })
|
||||
private content: ElementRef;
|
||||
|
||||
constructor(elementRef: ElementRef, location: Location) {
|
||||
@ -142,7 +142,7 @@ export class LiveExampleComponent implements AfterContentInit {
|
||||
export class EmbeddedStackblitzComponent implements AfterViewInit {
|
||||
@Input() src: string;
|
||||
|
||||
@ViewChild('iframe') iframe: ElementRef;
|
||||
@ViewChild('iframe', { static: true }) iframe: ElementRef;
|
||||
|
||||
ngAfterViewInit() {
|
||||
// DEVELOPMENT TESTING ONLY
|
||||
|
@ -17,7 +17,7 @@ export class DtComponent {
|
||||
@Input() doc: DocumentContents;
|
||||
@Output() docChange = new EventEmitter<DocumentContents>();
|
||||
|
||||
@ViewChild('dt', { read: ElementRef })
|
||||
@ViewChild('dt', { read: ElementRef, static: true })
|
||||
dt: ElementRef;
|
||||
|
||||
get text() { return this.doc && this.doc.contents; }
|
||||
|
@ -29,7 +29,7 @@ export class SearchBoxComponent implements OnInit {
|
||||
private searchDebounce = 300;
|
||||
private searchSubject = new Subject<string>();
|
||||
|
||||
@ViewChild('searchBox') searchBox: ElementRef;
|
||||
@ViewChild('searchBox', { static: true }) searchBox: ElementRef;
|
||||
@Output() onSearch = this.searchSubject.pipe(distinctUntilChanged(), debounceTime(this.searchDebounce));
|
||||
@Output() onFocus = new EventEmitter<string>();
|
||||
|
||||
|
Reference in New Issue
Block a user