🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.9 KiB

// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { DatepickerCommon } from './common';
import { Moment } from 'moment';
import { RangePicker } from './range-picker';
import { MonthPicker } from './month-picker';
import { WeekPicker } from './week-picker';
export declare class DatePicker extends DatepickerCommon {
static RangePicker: typeof RangePicker;
static MonthPicker: typeof MonthPicker;
static WeekPicker: typeof WeekPicker;
/**
* Defualt Value
* @description to set default date
* @default undefined
* @type Moment
*/
defaultValue: Moment | string;
/**
* Default Picker Value
* @description to set default picker date
* @default undefined
* @type Moment
*/
defaultPickerValue: Moment | string;
/**
* Disabled Time
* @description to specify the time that cannot be selected
* @default undefined
* @type Function (function(date))
*/
disabledTime: Function;
/**
* Format
* @description to set the date format, refer to moment.js http://momentjs.com
* @default 'YYYY-MM-DD'
* @type string
*/
format: string;
/**
* Render Extra Footer
* @description render extra footer in panel by setting a scoped slot
* @default undefined
* @type any (slot="renderExtraFooter")
*/
renderExtraFooter: any;
/**
* Show Time
* @description to provide an additional time selection
* showTime.defaultValue to set default time of selected date - type Moment
* --
* @default TimePicker Options
* @type object | boolean
*/
showTime: object | boolean;
/**
* Show Today
* @description whether to show "Today" button
* @default true
* @type boolean
*/
showToday: boolean;
/**
* Value
* @description to set date
* @default undefined
* @type Moment
*/
value: Moment | string;
}