import { ConnectedOverlayPositionChange, ConnectionPositionPair } from '@angular/cdk/overlay'; import { ChangeDetectorRef, ElementRef, OnInit, Renderer2 } from '@angular/core'; import { Observable, Subject, Subscription } from 'rxjs'; import { AtI18nInterface } from '../i18n/at-i18n.interface'; import { AtI18nService } from '../i18n/at-i18n.service'; import { InputComponent } from '../input/input.component'; import { BladeDate } from './blade-date'; export declare class DatetimepickerComponent implements OnInit { private el; private at_i18n_service; private _renderer; private cdr; constructor(el: ElementRef, at_i18n_service: AtI18nService, _renderer: Renderer2, cdr: ChangeDetectorRef); inputIcon: any; il8n: AtI18nInterface; _atType: string; _positions: ConnectionPositionPair[]; _subscription: Subscription; _visibleChange: Subject; $visible: Observable; mode: string; _visible: boolean; dropdownPosition: string; overlay: any; atVisible: boolean; atType: string; private _atValue; atValue: any; _show_value: any; showValue: any; atYear: number; atMonth: number; selectedDate: number; selectedYear: number; selectedMonth: number; private _selected_second; private _selected_minutes; private _selected_hour; selected_second: number; selected_minutes: number; selected_hour: number; onChange: any; onTouched: any; format: string; disableDate: any; /** * 日期选择模式 只选择日期 或者 时间 */ choice_modal: string[]; allowClear: boolean; writeValue(value: any): void; registerOnChange(fn: (_: any) => {}): void; registerOnTouched(fn: () => {}): void; _onPositionChange(position: ConnectedOverlayPositionChange): void; ngOnInit(): void; input: InputComponent; preYear(): void; nextYear(): void; preMonth(): void; clear(): void; nextMonth(): void; clickDate(date: any): void; updateDate(value: BladeDate | Date | string): void; clearDate(): void; _hide(): void; _show(): void; _onVisibleChange: (visible: boolean) => void; _startSubscribe(observable$: Observable): void; ngAfterViewInit(): void; clickMonth(month: any): void; clickYear(year: any): void; setCal(s: any): void; preCentury(): void; nextCenury(): void; selectHour(hour: number): void; selectMinutes(minute: number): void; selectSecond(second: number): void; setMode(mode: string): void; }