import { DefineComponent } from 'vue'; /** * TSDatePicker component props */ export interface TSDatePickerProps { /** * TSDatePicker modelValue is day index from 0 */ modelValue?: number[]; /** * TSDatePicker initialValue is day index from 0 */ initialValue?: number[]; /** * Display label on top of Date Input. */ label?: string; /** * Enable Validator using vee-validate. Combine with TSForm that handle form validation. */ useValidator?: boolean; /** * When used as field in From Validation using TSForm, * specify the unique field name, match with your needs for API request. */ fieldName?: string; /** * Whether this field should be filled or not. */ mandatory?: boolean; /** * Sets the invalid state. */ invalid?: boolean; /** * Set the custom validator message. * By default each field has preserved with its validator message, you don't need to worrying about the message. */ errorMessage?: { empty: string }; } /** * TSDatePicker component emits */ export type TSDatePickerEmits = { 'update:modelValue': [days?: number[]]; }; /** * **TSVue - TSDatePicker** * * _Handle input day with form validation._ * * --- --- * ![TSVue](https://ik.imagekit.io/kurniadev/TS-HEAD-BLACK.png) * * @group form */ declare const TSDatePicker: DefineComponent< TSDatePickerProps, TSDatePickerEmits >; export default TSDatePicker;