/** * * Calendar also known as DatePicker, is a form component to work with dates. * * [Live Demo](https://www.primevue.org/datepicker/) * * @module calendar * */ import 'vue'; import * as DatePicker from '../datepicker'; import { DefineComponent, EmitFn, GlobalComponentConstructor } from '../ts-helpers'; /** * Custom passthrough(pt) option method. */ export interface CalendarPassThroughMethodOptions extends DatePicker.DatePickerPassThroughMethodOptions {} /** * Custom shared passthrough(pt) option method. */ export interface CalendarSharedPassThroughMethodOptions extends DatePicker.DatePickerSharedPassThroughMethodOptions {} /** * Custom Calendar responsive options metadata. */ export interface CalendarResponsiveOptions extends DatePicker.DatePickerResponsiveOptions {} /** * Custom Calendar month change event. * @see {@link CalendarEmits['month-change']]} */ export interface CalendarMonthChangeEvent extends DatePicker.DatePickerMonthChangeEvent {} /** * Custom Calendar year change event. * @see {@link CalendarEmits['year-change']]} */ export interface CalendarYearChangeEvent extends DatePicker.DatePickerYearChangeEvent {} /** * Custom Calendar blur event. * @see {@link CalendarEmits.blur} */ export interface CalendarBlurEvent extends DatePicker.DatePickerBlurEvent {} /** * Custom passthrough(pt) options. * @see {@link CalendarProps.pt} */ export interface CalendarPassThroughOptions extends DatePicker.DatePickerPassThroughOptions {} /** * Custom passthrough attributes for each DOM elements */ export interface CalendarPassThroughAttributes extends DatePicker.DatePickerPassThroughAttributes {} /** * Defines current inline state in Calendar component. */ export interface CalendarState extends DatePicker.DatePickerState {} /** * Defines current date options in Calendar component. */ export interface CalendarDateContext extends DatePicker.DatePickerDateContext {} /** * Defines current options in Calendar component. */ export interface CalendarContext extends DatePicker.DatePickerContext {} /** * Defines current month options. */ export interface CalendarMonthOptions extends DatePicker.DatePickerMonthOptions {} /** * Defines current year options. */ export interface CalendarYearOptions extends DatePicker.DatePickerYearOptions {} /** * Defines valid properties in Calendar component. */ export interface CalendarProps extends DatePicker.DatePickerProps {} /** * Defines valid options of the date slot in Calendar component. */ export interface CalendarDateSlotOptions extends DatePicker.DatePickerDateSlotOptions {} /** * Defines valid slots in Calendar component. */ export interface CalendarSlots extends DatePicker.DatePickerSlots {} /** * Defines valid emits in Calendar component. */ interface CalendarEmitsOptions {} export declare type CalendarEmits = EmitFn & DatePicker.DatePickerEmits; /** * @deprecated Deprecated since v4. Use DatePicker component instead. * * **PrimeVue - Calendar** * * _Calendar also known as DatePicker, is a form component to work with dates._ * * [Live Demo](https://www.primevue.org/datepicker/) * --- --- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) * * @group Component * */ declare const Calendar: DefineComponent; declare module 'vue' { export interface GlobalComponents { Calendar: GlobalComponentConstructor; } } export default Calendar;