@@ -8,11 +8,11 @@ export declare function getMatIconNoHttpProviderError(): Error;
8
8
9
9
export declare const ICON_REGISTRY_PROVIDER : {
10
10
provide : typeof MatIconRegistry ;
11
- deps : ( Optional [ ] | typeof DomSanitizer ) [ ] ;
11
+ deps : ( Optional [ ] | typeof DomSanitizer | typeof ErrorHandler ) [ ] ;
12
12
useFactory : typeof ICON_REGISTRY_PROVIDER_FACTORY ;
13
13
} ;
14
14
15
- export declare function ICON_REGISTRY_PROVIDER_FACTORY ( parentRegistry : MatIconRegistry , httpClient : HttpClient , sanitizer : DomSanitizer , document ?: any , errorHandler ?: ErrorHandler ) : MatIconRegistry ;
15
+ export declare function ICON_REGISTRY_PROVIDER_FACTORY ( parentRegistry : MatIconRegistry , httpClient : HttpClient , sanitizer : DomSanitizer , errorHandler : ErrorHandler , document ?: any ) : MatIconRegistry ;
16
16
17
17
export interface IconOptions {
18
18
viewBox ?: string ;
@@ -31,15 +31,14 @@ export declare class MatIcon extends _MatIconMixinBase implements OnChanges, OnI
31
31
get inline ( ) : boolean ;
32
32
set inline ( inline : boolean ) ;
33
33
svgIcon : string ;
34
- constructor ( elementRef : ElementRef < HTMLElement > , _iconRegistry : MatIconRegistry , ariaHidden : string ,
35
- _location ?: MatIconLocation | undefined , _errorHandler ?: ErrorHandler | undefined ) ;
34
+ constructor ( elementRef : ElementRef < HTMLElement > , _iconRegistry : MatIconRegistry , ariaHidden : string , _location : MatIconLocation , _errorHandler : ErrorHandler ) ;
36
35
ngAfterViewChecked ( ) : void ;
37
36
ngOnChanges ( changes : SimpleChanges ) : void ;
38
37
ngOnDestroy ( ) : void ;
39
38
ngOnInit ( ) : void ;
40
39
static ngAcceptInputType_inline : BooleanInput ;
41
40
static ɵcmp : i0 . ɵɵComponentDefWithMeta < MatIcon , "mat-icon" , [ "matIcon" ] , { "color" : "color" ; "inline" : "inline" ; "svgIcon" : "svgIcon" ; "fontSet" : "fontSet" ; "fontIcon" : "fontIcon" ; } , { } , never , [ "*" ] > ;
42
- static ɵfac : i0 . ɵɵFactoryDef < MatIcon , [ null , null , { attribute : "aria-hidden" ; } , { optional : true ; } , { optional : true ; } ] > ;
41
+ static ɵfac : i0 . ɵɵFactoryDef < MatIcon , [ null , null , { attribute : "aria-hidden" ; } , null , null ] > ;
43
42
}
44
43
45
44
export interface MatIconLocation {
@@ -52,7 +51,7 @@ export declare class MatIconModule {
52
51
}
53
52
54
53
export declare class MatIconRegistry implements OnDestroy {
55
- constructor ( _httpClient : HttpClient , _sanitizer : DomSanitizer , document : any , _errorHandler ? : ErrorHandler | undefined ) ;
54
+ constructor ( _httpClient : HttpClient , _sanitizer : DomSanitizer , document : any , _errorHandler : ErrorHandler ) ;
56
55
addSvgIcon ( iconName : string , url : SafeResourceUrl , options ?: IconOptions ) : this;
57
56
addSvgIconInNamespace ( namespace : string , iconName : string , url : SafeResourceUrl , options ?: IconOptions ) : this;
58
57
addSvgIconLiteral ( iconName : string , literal : SafeHtml , options ?: IconOptions ) : this;
@@ -68,6 +67,6 @@ export declare class MatIconRegistry implements OnDestroy {
68
67
ngOnDestroy ( ) : void ;
69
68
registerFontClassAlias ( alias : string , className ?: string ) : this;
70
69
setDefaultFontSetClass ( className : string ) : this;
71
- static ɵfac : i0 . ɵɵFactoryDef < MatIconRegistry , [ { optional : true ; } , null , { optional : true ; } , { optional : true ; } ] > ;
70
+ static ɵfac : i0 . ɵɵFactoryDef < MatIconRegistry , [ { optional : true ; } , null , { optional : true ; } , null ] > ;
72
71
static ɵprov : i0 . ɵɵInjectableDef < MatIconRegistry > ;
73
72
}
0 commit comments