UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

30 lines (29 loc) 1.14 kB
/** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { OnDestroy } from '@angular/core'; import { CompatibleValue } from 'ng-zorro-antd/core/time'; import { ReplaySubject, Subject } from 'rxjs'; import { CompatibleDate, RangePartType } from './standard-types'; export declare class DatePickerService implements OnDestroy { initialValue: CompatibleValue; value: CompatibleValue; activeDate: CompatibleValue; activeInput: RangePartType; arrowPositionStyle: {}; isRange: boolean; valueChange$: ReplaySubject<CompatibleValue>; emitValue$: Subject<void>; inputPartChange$: Subject<RangePartType>; initValue(): void; hasValue(value?: CompatibleValue): boolean; makeValue(value: CompatibleDate | null): CompatibleValue; setActiveDate(value: CompatibleValue, normalize?: boolean): void; setValue(value: CompatibleValue): void; getActiveIndex(part?: RangePartType): number; ngOnDestroy(): void; }