UNPKG

@dhutaryan/ngx-mat-timepicker

Version:

Angular timepicker to add time which is based on material design and Angular material.

49 lines (48 loc) 2.58 kB
import { AfterViewInit, OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { ThemePalette } from '@angular/material/core'; import { MatTimepickerBase, MatTimepickerControl } from './timepicker-base'; import { MatTimepickerIntl } from './timepicker-intl'; import * as i0 from "@angular/core"; /** Button that will close the timepicker and assign the current selection to the data model. */ export declare class MatTimepickerApply { private _timepicker; constructor(_timepicker: MatTimepickerBase<MatTimepickerControl<any>, unknown>); _applySelection(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerApply, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<MatTimepickerApply, "[matTimepickerApply]", never, {}, {}, never, never, true, never>; } /** Button that will close the timepicker and discard the current selection. */ export declare class MatTimepickerCancel { private _timepicker; constructor(_timepicker: MatTimepickerBase<MatTimepickerControl<any>, unknown>); close(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerCancel, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<MatTimepickerCancel, "[matTimepickerCancel]", never, {}, {}, never, never, true, never>; } /** * Container that can be used to project a row of action buttons * to the bottom of a timepicker. */ export declare class MatTimepickerActions implements AfterViewInit, OnDestroy { private _timepicker; private _viewContainerRef; _template: TemplateRef<unknown>; private _portal; constructor(_timepicker: MatTimepickerBase<MatTimepickerControl<any>, unknown>, _viewContainerRef: ViewContainerRef); ngAfterViewInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerActions, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MatTimepickerActions, "mat-timepicker-actions", never, {}, {}, never, ["*"], true, never>; } /** * Default action buttons to the bottom of a timepicker. */ export declare class MatTimepickerDefaultActions implements OnInit { private _timepicker; _intl: MatTimepickerIntl; color: import("@angular/core").WritableSignal<ThemePalette>; constructor(_timepicker: MatTimepickerBase<MatTimepickerControl<any>, unknown>, _intl: MatTimepickerIntl); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration<MatTimepickerDefaultActions, never>; static ɵcmp: i0.ɵɵComponentDeclaration<MatTimepickerDefaultActions, "mat-timepicker-default-actions", never, {}, {}, never, ["*"], true, never>; }