UNPKG

@doku-dev/doku-fragment

Version:

A new Angular UI library that moving away from Bootstrap and built from scratch.

33 lines (32 loc) 1.96 kB
import { NgClass } from '@angular/common'; import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { DokuFormFieldAccessor, DokuFormFieldAccessorValidateValue, DokuFormFieldOptions } from '../../form-field'; import { DokuDatePickerBasicProps } from '../common/date-picker-basic-props.component'; import * as i0 from "@angular/core"; export declare class DokuDatePickerInline extends DokuDatePickerBasicProps implements DokuFormFieldAccessor, ControlValueAccessor, OnInit, AfterViewInit, OnDestroy { private cdr; protected localeId: string; private ngControl?; protected readonly class: NgClass['ngClass']; private destroy$; constructor(cdr: ChangeDetectorRef, localeId: string, ngControl?: NgControl | undefined); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; fieldOptions?: DokuFormFieldOptions | undefined; onDisable?: ((value: boolean) => void) | undefined; onReadonly?: ((value: boolean) => void) | undefined; onValidate?: ((value?: DokuFormFieldAccessorValidateValue | undefined) => void) | undefined; registerOnDisable(fn: (value: boolean) => void): void; registerOnReadonly(fn: (value: boolean) => void): void; registerOnValidate?(fn: (value?: DokuFormFieldAccessorValidateValue | undefined) => void): void; onChange?: (value: unknown) => void; onTouched?: () => void; writeValue(value?: Date | string | null): void; registerOnChange(fn: (value: unknown) => void): void; registerOnTouched(fn: () => void): void; setDisabledState?(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<DokuDatePickerInline, [null, null, { optional: true; self: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<DokuDatePickerInline, "doku-date-picker-inline", ["dokuDatePickerInline"], {}, {}, never, ["[doku-date-picker-footer]"], true>; }