import { DisplayObject } from "pixi.js"; import { DBase, DBaseOptions, DThemeBase } from "./d-base"; import { DCoordinateSize } from "./d-coordinate"; import { DInputInteger, DInputIntegerOptions } from "./d-input-integer"; import { DLayoutHorizontal } from "./d-layout-horizontal"; import { DPickerDatetimeMask } from "./d-picker-datetime-mask"; import { DPickerTimeBounds, DPickerTimeBoundsOptions } from "./d-picker-time-bounds"; import { DText } from "./d-text"; export interface DPickerTimeOptions extends DBaseOptions { margin?: number; hours?: DInputIntegerOptions; minutes?: DInputIntegerOptions; seconds?: DInputIntegerOptions; mask?: keyof typeof DPickerDatetimeMask | Array | DPickerDatetimeMask; bounds?: DPickerTimeBoundsOptions; } export interface DThemePickerTime extends DThemeBase { getMargin(): number; getHoursOptions(): DInputIntegerOptions; getMinutesOptions(): DInputIntegerOptions; getSecondsOptions(): DInputIntegerOptions; getMask(): DPickerDatetimeMask; getLowerBound(): Date | null; isLowerBoundInclusive(): boolean; getUpperBound(): Date | null; isUpperBoundInclusive(): boolean; } export declare class DPickerTime = DPickerTimeOptions> extends DBase { protected _dateBounds: DPickerTimeBounds; protected _dateCurrent: Date; protected _dateNew: Date; protected _inputHours: DInputInteger | null; protected _inputMinutes: DInputInteger | null; protected _inputSeconds: DInputInteger | null; constructor(options?: OPTIONS); protected init(options?: OPTIONS): void; get current(): Date; set current(dateCurrent: Date); get new(): Date; set new(dateNew: Date); get bounds(): DPickerTimeBounds; hasHours(): boolean; hasMinutes(): boolean; hasSeconds(): boolean; reset(): void; protected onReset(): void; protected onNewChange(): void; protected newChildren(theme: THEME, options: OPTIONS | undefined, margin: number): Array; protected newTimeLayout(hours: DInputInteger | null, minutes: DInputInteger | null, seconds: DInputInteger | null, margin: number): DLayoutHorizontal | null; protected getTimeLayoutWidth(): DCoordinateSize; protected getTimeLayoutHeight(): DCoordinateSize; protected newTimeLayoutChildren(hours: DInputInteger | null, minutes: DInputInteger | null, seconds: DInputInteger | null): Array; protected newMinuteSeparator(): DText | null; getMinuteSeparator(): string; protected newSecondSeparator(): DText | null; getSecondSeparator(): string; protected adjustInputOptions(theme: THEME, options: DInputIntegerOptions, max: number): DInputIntegerOptions; protected newInputHours(theme: THEME, options?: OPTIONS): DInputInteger | null; protected onHoursChange(value: number): void; protected newInputMinutes(theme: THEME, options?: OPTIONS): DInputInteger | null; protected onMinutesChange(value: number): void; protected newInputSeconds(theme: THEME, options?: OPTIONS): DInputInteger | null; protected onSecondsChange(value: number): void; protected getType(): string; }