File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
import { ComponentType , Overlay , OverlayContainer , ScrollStrategy } from '@angular/cdk/overlay' ;
10
- import { DOCUMENT , Location } from '@angular/common' ;
10
+ import { Location } from '@angular/common' ;
11
11
import {
12
12
ANIMATION_MODULE_TYPE ,
13
13
ComponentRef ,
14
14
Inject ,
15
15
Injectable ,
16
16
InjectionToken ,
17
17
Injector ,
18
- NgZone ,
19
18
OnDestroy ,
20
19
Optional ,
21
20
SkipSelf ,
22
21
TemplateRef ,
23
22
Type ,
24
- inject ,
25
23
} from '@angular/core' ;
26
24
import { MatDialogConfig } from './dialog-config' ;
27
25
import { _MatDialogContainerBase , MatDialogContainer } from './dialog-container' ;
@@ -78,8 +76,6 @@ export abstract class _MatDialogBase<C extends _MatDialogContainerBase> implemen
78
76
protected _idPrefix = 'mat-dialog-' ;
79
77
private _dialog : Dialog ;
80
78
protected dialogConfigClass = MatDialogConfig ;
81
- protected _ngZone = inject ( NgZone ) ;
82
- private _document = inject ( DOCUMENT , { optional : true } ) ;
83
79
84
80
/** Keeps track of the currently-open dialogs. */
85
81
get openDialogs ( ) : MatDialogRef < any > [ ] {
You can’t perform that action at this time.
0 commit comments