@ux-aspects/ux-aspects
Version:
Open source user interface framework for building modern, responsive, mobile big data applications
39 lines (38 loc) • 1.69 kB
TypeScript
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { DateTimePickerService } from '../date-time-picker.service';
import { DateTimePickerTimezone } from '../date-time-picker.utils';
import * as i0 from "@angular/core";
export declare class TimeViewComponent implements OnInit, OnDestroy {
readonly datepicker: DateTimePickerService;
private readonly _changeDetector;
private readonly _rangeService;
private readonly _rangeOptions;
/** Dont bind directly to the selected date as if it's null we can end up in 1970! */
value: Date;
/** Earliest time permitted on the time picker. */
min: Date;
/** Latest time permitted on the time picker. */
max: Date;
/** Determine if we are in range selection mode */
get _isRangeMode(): boolean;
/** Determine if this picker is the start picker */
get _isRangeStart(): boolean;
/** Determine if this picker is the end picker */
get _isRangeEnd(): boolean;
get _rangeStart(): Date | null;
get _rangeEnd(): Date | null;
/** Emit when the timezone changes. */
timezoneChange: EventEmitter<DateTimePickerTimezone>;
private readonly _onDestroy;
constructor();
ngOnInit(): void;
ngOnDestroy(): void;
onTimeChange(time: Date): void;
selectTimezone(name: string): void;
incrementTimezone(): void;
decrementTimezone(): void;
onFocusWithin(): void;
onFocusOut(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TimeViewComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TimeViewComponent, "ux-date-time-picker-time-view", never, {}, { "timezoneChange": "timezoneChange"; }, never, never, false, never>;
}