@funidata/ngx-fudis
Version:
Funidata Design System.
42 lines (41 loc) • 2.43 kB
TypeScript
import { ElementRef, OnChanges, OnInit, Renderer2 } from '@angular/core';
import { MatDialog, MatDialogActions, MatDialogClose, MatDialogContent, MatDialogRef, MatDialogTitle } from '@angular/material/dialog';
import { FudisComponentChanges } from '../../types/miscellaneous';
import * as i0 from "@angular/core";
export declare class DialogTitleDirective extends MatDialogTitle implements OnInit {
private _headingElementRef;
private _renderer;
constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog, _headingElementRef: ElementRef, _renderer: Renderer2);
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DialogTitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTitleDirective, "[fudisDialogTitle]", never, {}, {}, never, never, false, never>;
}
export declare class DialogContentDirective extends MatDialogContent implements OnChanges {
private _elRef;
private _renderer;
constructor(_elRef: ElementRef, _renderer: Renderer2);
/**
* Binding fudis-dialog-content CSS class to directive
*/
hostClass: string;
/**
* Dialog contentFocus sets a visual focus to dialog content. Preferred to be used with read-only
* content.
*/
contentFocus: boolean;
ngOnChanges(changes: FudisComponentChanges<DialogContentDirective>): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContentDirective, "fudis-dialog-content", never, { "contentFocus": { "alias": "contentFocus"; "required": false; }; }, {}, never, never, false, never>;
}
export declare class DialogActionsDirective extends MatDialogActions {
align: 'start' | 'center' | 'end';
static ɵfac: i0.ɵɵFactoryDeclaration<DialogActionsDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogActionsDirective, "fudis-dialog-actions", never, {}, {}, never, never, false, never>;
}
export declare class DialogCloseDirective extends MatDialogClose {
private _hostButtonElement;
constructor(_dialogRef: MatDialogRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: MatDialog);
_onButtonClick(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DialogCloseDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<DialogCloseDirective, "[fudisDialogClose]", never, {}, {}, never, never, false, never>;
}