[6a3a178] | 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 | import * as ɵngcc0 from '@angular/core';
|
---|
| 15 | export declare class MatDialogClose implements OnInit, OnChanges {
|
---|
| 16 | /**
|
---|
| 17 | * Reference to the containing dialog.
|
---|
| 18 | * @deprecated `dialogRef` property to become private.
|
---|
| 19 | * @breaking-change 13.0.0
|
---|
| 20 | */
|
---|
| 21 | dialogRef: MatDialogRef<any>;
|
---|
| 22 | private _elementRef;
|
---|
| 23 | private _dialog;
|
---|
| 24 | /** Screenreader label for the button. */
|
---|
| 25 | ariaLabel: string;
|
---|
| 26 | /** Default to "button" to prevents accidental form submits. */
|
---|
| 27 | type: 'submit' | 'button' | 'reset';
|
---|
| 28 | /** Dialog close input. */
|
---|
| 29 | dialogResult: any;
|
---|
| 30 | _matDialogClose: any;
|
---|
| 31 | constructor(
|
---|
| 32 | /**
|
---|
| 33 | * Reference to the containing dialog.
|
---|
| 34 | * @deprecated `dialogRef` property to become private.
|
---|
| 35 | * @breaking-change 13.0.0
|
---|
| 36 | */
|
---|
| 37 | dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
---|
| 38 | ngOnInit(): void;
|
---|
| 39 | ngOnChanges(changes: SimpleChanges): void;
|
---|
| 40 | _onButtonClick(event: MouseEvent): void;
|
---|
| 41 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatDialogClose, [{ optional: true; }, null, null]>;
|
---|
| 42 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatDialogClose, "[mat-dialog-close], [matDialogClose]", ["matDialogClose"], { "type": "type"; "dialogResult": "mat-dialog-close"; "ariaLabel": "aria-label"; "_matDialogClose": "matDialogClose"; }, {}, never>;
|
---|
| 43 | }
|
---|
| 44 | /**
|
---|
| 45 | * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.
|
---|
| 46 | */
|
---|
| 47 | export declare class MatDialogTitle implements OnInit {
|
---|
| 48 | private _dialogRef;
|
---|
| 49 | private _elementRef;
|
---|
| 50 | private _dialog;
|
---|
| 51 | /** Unique id for the dialog title. If none is supplied, it will be auto-generated. */
|
---|
| 52 | id: string;
|
---|
| 53 | constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
|
---|
| 54 | ngOnInit(): void;
|
---|
| 55 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatDialogTitle, [{ optional: true; }, null, null]>;
|
---|
| 56 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatDialogTitle, "[mat-dialog-title], [matDialogTitle]", ["matDialogTitle"], { "id": "id"; }, {}, never>;
|
---|
| 57 | }
|
---|
| 58 | /**
|
---|
| 59 | * Scrollable content container of a dialog.
|
---|
| 60 | */
|
---|
| 61 | export declare class MatDialogContent {
|
---|
| 62 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatDialogContent, never>;
|
---|
| 63 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatDialogContent, "[mat-dialog-content], mat-dialog-content, [matDialogContent]", never, {}, {}, never>;
|
---|
| 64 | }
|
---|
| 65 | /**
|
---|
| 66 | * Container for the bottom action buttons in a dialog.
|
---|
| 67 | * Stays fixed to the bottom when scrolling.
|
---|
| 68 | */
|
---|
| 69 | export declare class MatDialogActions {
|
---|
| 70 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatDialogActions, never>;
|
---|
| 71 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatDialogActions, "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", never, {}, {}, never>;
|
---|
| 72 | }
|
---|
| 73 |
|
---|
| 74 | //# sourceMappingURL=dialog-content-directives.d.ts.map |
---|