/** Core */ import { CoreComponent } from "cmf.core/src/core"; /** Angular2 */ import * as ng from "@angular/core"; /** External - JQuery */ import "node_modules/cmf.core.controls/assets/datetimepicker.min.js"; /** * @whatItDoes * DateTimePickerExpanded component is used to pick date and time. * * @howToUse * This component is used with the inputs and outputs mentioned below. * * ### Inputs * `string` : **dateTimeFormat** - The Date Time Format (Ex: dd/MM/yyyy hh:mm:ss) ; * `any` : **value** - Current Value (moment) of the date-time picker (Date | Moment | string) ; * `boolean` : **required** - Defines if the control is mandatory or not . * `boolean` : **supportTokens** - Defines if the DateTimePicker supports tokens. Defaults to false. * * ### Outputs * `any` : **valueChange** - The value change event, so the picker can inform the upper components that the value has changed (Moment) . * * ### Example * To use the component, assume this HTML Template as an example: * * ```HTML * * * ``` * */ export declare class DateTimePickerExpanded extends CoreComponent implements ng.OnDestroy { private _elementRef; /** * The current object of the date-time picker */ private _dateTimePicker; /** * Defines if the control is mandatory or not. */ required: boolean; /** * Current Value (moment) of the date-time picker * * @property {string} picker current date time value in the given format */ value: any; /** * The Date Time Format */ dateTimeFormat: string; /** * Defines if the DateTimePicker supports tokens. * Defaults to false. */ supportTokens: boolean; /** * The value change event, so the picker can inform the upper components that the value has changed * * @property {ng.EventEmitter} init event */ valueChanged: ng.EventEmitter; constructor(_elementRef: ng.ElementRef); /** * On component destruction - destroy widget. */ ngOnDestroy(): void; /** * When value changes - notify parent component * * @method onValueChange */ onValueChange(value: any): void; /** * After date time picker nested component init change its style and appearance * * @method onValueChange */ afterDateTimePickerInit(dateTimePickerRef: any): void; } export declare class DateTimePickerExpandedModule { }