1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
|
---|
9 | import { MatDialog } from './dialog';
|
---|
10 | import { MatDialogRef } from './dialog-ref';
|
---|
11 | /**
|
---|
12 | * Button that will close the current dialog.
|
---|
13 | */
|
---|
14 | export declare class MatDialogClose implements OnInit, OnChanges {
|
---|
15 | /**
|
---|
16 | * Reference to the containing dialog.
|
---|
17 | * @deprecated `dialogRef` property to become private.
|
---|
18 | * @breaking-change 13.0.0
|
---|
19 | */
|
---|
20 | dialogRef: MatDialogRef<any>;
|
---|
21 | private _elementRef;
|
---|
22 | private _dialog;
|
---|
23 | /** Screenreader label for the button. */
|
---|
24 | ariaLabel: string;
|
---|
25 | /** Default to "button" to prevents accidental form submits. */
|
---|
26 | type: 'submit' | 'button' | 'reset';
|
---|
27 | /** Dialog close input. */
|
---|
28 | dialogResult: any;
|
---|
29 | _matDialogClose: any;
|
---|
30 | constructor(
|
---|
31 | /**
|
---|
32 | * Reference to the containing dialog.
|
---|
33 | * @deprecated `dialogRef` property to become private.
|
---|
34 | * @breaking-change 13.0.0
|
---|
35 | */
|
---|
36 | dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
---|
37 | ngOnInit(): void;
|
---|
38 | ngOnChanges(changes: SimpleChanges): void;
|
---|
39 | _onButtonClick(event: MouseEvent): void;
|
---|
40 | }
|
---|
41 | /**
|
---|
42 | * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
|
---|
43 | */
|
---|
44 | export declare class MatDialogTitle implements OnInit {
|
---|
45 | private _dialogRef;
|
---|
46 | private _elementRef;
|
---|
47 | private _dialog;
|
---|
48 | /** Unique id for the dialog title. If none is supplied, it will be auto-generated. */
|
---|
49 | id: string;
|
---|
50 | constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
---|
51 | ngOnInit(): void;
|
---|
52 | }
|
---|
53 | /**
|
---|
54 | * Scrollable content container of a dialog.
|
---|
55 | */
|
---|
56 | export declare class MatDialogContent {
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * Container for the bottom action buttons in a dialog.
|
---|
60 | * Stays fixed to the bottom when scrolling.
|
---|
61 | */
|
---|
62 | export declare class MatDialogActions {
|
---|
63 | }
|
---|