UNPKG

gentics-ui-core

Version:

This is the common core framework for the Gentics CMS and Mesh UI, and other Angular applications.

38 lines (37 loc) 1.38 kB
import { ElementRef } from '@angular/core'; import { IModalDialog } from '../modal/modal-interfaces'; import { DateTimePickerFormatProvider } from './date-time-picker-format-provider.service'; import * as i0 from "@angular/core"; /** * The modal powering the `DateTimePicker` component. */ export declare class DateTimePickerModal implements IModalDialog { /** * The date/time value as a unix timestamp (in seconds) */ timestamp: number; /** * Set to `false` to omit the time picker part of the component. Defaults to `true` */ displayTime: boolean; /** * Set to `false` to omit the seconds of the time picker part. Defaults to `true` */ displaySeconds: boolean; /** * Set to overwrite texts and date formatting in the modal. */ formatProvider: DateTimePickerFormatProvider; min: Date; max: Date; selectYear: boolean; calendarContainer: ElementRef; valueTimestamp: number; closeFn(timestamp: number): void; cancelFn(val?: any): void; registerCloseFn(close: (timestamp: number) => void): void; registerCancelFn(cancel: (val: any) => void): void; okayClicked(): void; static ɵfac: i0.ɵɵFactoryDeclaration<DateTimePickerModal, never>; static ɵcmp: i0.ɵɵComponentDeclaration<DateTimePickerModal, "gtx-date-time-picker-modal", never, {}, {}, never, never>; }