UNPKG

@covalent/core

Version:

Core Teradata UI Platform for layouts, icons, custom components and themes. This should be added as a dependency for any project that wants to use layouts, icons and themes for Angular Material.

68 lines (67 loc) 3.83 kB
import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core'; import { CovalentSideSheet } from './side-sheet'; import { CovalentSideSheetRef } from './side-sheet-ref'; import * as i0 from "@angular/core"; /** * Button that will close the current dialog. */ export declare class CovalentSideSheetCloseDirective implements OnInit, OnChanges { dialogRef: CovalentSideSheetRef<any>; private _elementRef; private _dialog; /** Screenreader label for the button. */ ariaLabel?: string; /** Default to "button" to prevents accidental form submits. */ type: 'submit' | 'button' | 'reset'; /** Dialog close input. */ dialogResult: any; _CovalentSideSheetClose: any; onClick($event: MouseEvent): void; constructor(dialogRef: CovalentSideSheetRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: CovalentSideSheet); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; _onButtonClick(event: MouseEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSideSheetCloseDirective, [{ optional: true; }, null, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentSideSheetCloseDirective, "[td-side-sheet-close], [CovalentSideSheetClose]", ["CovalentSideSheetClose"], { "ariaLabel": { "alias": "aria-label"; "required": false; }; "type": { "alias": "type"; "required": false; }; "dialogResult": { "alias": "td-side-sheet-close"; "required": false; }; "_CovalentSideSheetClose": { "alias": "CovalentSideSheetClose"; "required": false; }; }, {}, never, never, false, never>; } /** * Title of a side sheet element. Stays fixed to the top of the side sheet when scrolling. */ export declare class CovalentSideSheetTitleDirective implements OnInit { private _dialogRef; private _elementRef; private _dialog; /** Unique id for the dialog title. If none is supplied, it will be auto-generated. */ id: string; tdSideSheetTitle: boolean; idAttr: string; constructor(_dialogRef: CovalentSideSheetRef<any>, _elementRef: ElementRef<HTMLElement>, _dialog: CovalentSideSheet); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSideSheetTitleDirective, [{ optional: true; }, null, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentSideSheetTitleDirective, "[td-side-sheet-title], [CovalentSideSheetTitle]", ["CovalentSideSheetTitle"], { "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>; } /** * Scrollable content container of a dialog. */ export declare class CovalentSideSheetContentDirective { tdSideSheetContent: boolean; static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSideSheetContentDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentSideSheetContentDirective, "[td-side-sheet-content], td-side-sheet-content, [CovalentSideSheetContent]", never, {}, {}, never, never, false, never>; } /** * Container for the bottom action buttons in a dialog. * Stays fixed to the bottom when scrolling. */ export declare class CovalentSideSheetActionsDirective { tdSideSheetActions: boolean; static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSideSheetActionsDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentSideSheetActionsDirective, "[td-side-sheet-actions], td-side-sheet-actions, [CovalentSideSheetActions]", never, {}, {}, never, never, false, never>; } /** * Container for the wrapper part of the dialog */ export declare class CovalentSideSheetWrapperDirective { tdSideSheetWrapper: boolean; static ɵfac: i0.ɵɵFactoryDeclaration<CovalentSideSheetWrapperDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<CovalentSideSheetWrapperDirective, "[td-side-sheet-wrapper], td-side-sheet-wrapper, [CovalentSideSheetWrapper]", never, {}, {}, never, never, false, never>; }