5
5
``` ts
6
6
7
7
import { _AbstractConstructor } from ' @angular/material/core' ;
8
+ import { AbstractControlDirective } from ' @angular/forms' ;
8
9
import { ActiveDescendantKeyManager } from ' @angular/cdk/a11y' ;
10
+ import { AfterContentChecked } from ' @angular/core' ;
9
11
import { AfterContentInit } from ' @angular/core' ;
10
12
import { AfterViewInit } from ' @angular/core' ;
11
13
import { BooleanInput } from ' @angular/cdk/coercion' ;
@@ -22,12 +24,13 @@ import * as i5 from '@angular/material/core';
22
24
import * as i6 from ' @angular/common' ;
23
25
import * as i7 from ' @angular/cdk/scrolling' ;
24
26
import { InjectionToken } from ' @angular/core' ;
25
- import { MatFormField } from ' @angular/material/form-field' ;
27
+ import { MatFormField as MatFormField_2 } from ' @angular/material/form-field' ;
26
28
import { MatOptgroup } from ' @angular/material/core' ;
27
29
import { _MatOptgroupBase } from ' @angular/material/core' ;
28
30
import { MatOption } from ' @angular/material/core' ;
29
31
import { _MatOptionBase } from ' @angular/material/core' ;
30
32
import { MatOptionSelectionChange } from ' @angular/material/core' ;
33
+ import { NgControl } from ' @angular/forms' ;
31
34
import { NgZone } from ' @angular/core' ;
32
35
import { Observable } from ' rxjs' ;
33
36
import { OnChanges } from ' @angular/core' ;
@@ -38,6 +41,7 @@ import { QueryList } from '@angular/core';
38
41
import { ScrollStrategy } from ' @angular/cdk/overlay' ;
39
42
import { SimpleChanges } from ' @angular/core' ;
40
43
import { TemplateRef } from ' @angular/core' ;
44
+ import { ThemePalette } from ' @angular/material/core' ;
41
45
import { ViewContainerRef } from ' @angular/core' ;
42
46
import { ViewportRuler } from ' @angular/cdk/scrolling' ;
43
47
@@ -104,6 +108,7 @@ export abstract class _MatAutocompleteBase extends _MatAutocompleteMixinBase imp
104
108
displayWith: ((value : any ) => string ) | null ;
105
109
_emitSelectEvent(option : _MatOptionBase ): void ;
106
110
_getPanelAriaLabelledby(labelId : string | null ): string | null ;
111
+ _getPanelTheme(): string ;
107
112
_getScrollTop(): number ;
108
113
protected abstract _hiddenClass: string ;
109
114
id: string ;
@@ -123,6 +128,8 @@ export abstract class _MatAutocompleteBase extends _MatAutocompleteMixinBase imp
123
128
readonly optionSelected: EventEmitter <MatAutocompleteSelectedEvent >;
124
129
panel: ElementRef ;
125
130
panelWidth: string | number ;
131
+ // (undocumented)
132
+ protected _parentFormField: MatFormField | null ;
126
133
_setScrollTop(scrollTop : number ): void ;
127
134
_setVisibility(): void ;
128
135
showPanel: boolean ;
@@ -191,7 +198,7 @@ export class MatAutocompleteTrigger extends _MatAutocompleteTriggerBase {
191
198
192
199
// @public
193
200
export abstract class _MatAutocompleteTriggerBase implements ControlValueAccessor , AfterViewInit , OnChanges , OnDestroy {
194
- constructor (_element : ElementRef <HTMLInputElement >, _overlay : Overlay , _viewContainerRef : ViewContainerRef , _zone : NgZone , _changeDetectorRef : ChangeDetectorRef , scrollStrategy : any , _dir : Directionality , _formField : MatFormField , _document : any , _viewportRuler : ViewportRuler , _defaults ? : MatAutocompleteDefaultOptions | undefined );
201
+ constructor (_element : ElementRef <HTMLInputElement >, _overlay : Overlay , _viewContainerRef : ViewContainerRef , _zone : NgZone , _changeDetectorRef : ChangeDetectorRef , scrollStrategy : any , _dir : Directionality , _formField : MatFormField_2 , _document : any , _viewportRuler : ViewportRuler , _defaults ? : MatAutocompleteDefaultOptions | undefined );
195
202
protected abstract _aboveClass: string ;
196
203
get activeOption(): _MatOptionBase | null ;
197
204
autocomplete: _MatAutocompleteBase ;
0 commit comments