UNPKG

ngx-mat-lib

Version:

A bunch of utilities and components to use in your Angular 7+ apps!

56 lines (55 loc) 2.08 kB
import { FocusMonitor } from "@angular/cdk/a11y"; import { ControlValueAccessor, FormBuilder, FormControl, FormGroup, NgControl, ValidationErrors, ControlContainer } from "@angular/forms"; import { ElementRef, OnInit, DoCheck, OnDestroy } from "@angular/core"; import { MatFormFieldControl } from "@angular/material"; import { Subject } from "rxjs"; import { XmatTime } from "../../models"; export declare class XmatMatTimeComponent implements ControlValueAccessor, MatFormFieldControl<XmatTime>, OnInit, DoCheck, OnDestroy { private _elRef; private _controlContainer; private _focusMonitor; static nextId: number; readonly empty: boolean; readonly shouldLabelFloat: boolean; readonly isFilled: boolean; placeholder: string; required: boolean; disabled: boolean; value: XmatTime | null; formControlName: string; controlType: string; describedBy: string; errorState: boolean; focused: boolean; id: string; inputPlaceholder: string; invalid: boolean; model: XmatTime; ngControl: NgControl; parts: FormGroup; placeholderM: string; placeholderH: string; stateChanges: Subject<void>; private _deniedChars; private _extCtrl; private _required; private _disabled; private _validators; constructor(_elRef: ElementRef, _controlContainer: ControlContainer, _focusMonitor: FocusMonitor, formBuilder: FormBuilder); inputChange(_e_: any): void; ngDoCheck(): void; ngOnDestroy(): void; ngOnInit(): void; onContainerClick(event: MouseEvent): void; setDescribedByIds(ids: string[]): void; registerOnChange(fn: any): void; registerOnTouched(): void; setDisabledState(isDisabled: boolean): void; setTouched(): void; typingValidation(event: any, _ishours_?: boolean): boolean; validate(_c_: FormControl | FormGroup): ValidationErrors | null; writeValue(value: XmatTime): void; private _handlePropagation; private _propagateChange; private _updateValidators; }