UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

39 lines (37 loc) 1.35 kB
import { PropType, ExtractPropTypes } from 'vue'; import { ValueType, Shortcut } from './type'; import { ComicSize } from '../../../utils'; export declare const datePickerProps: { readonly modelValue: { readonly type: PropType<ValueType>; readonly required: true; }; readonly format: { readonly type: StringConstructor; readonly default: "yyyy-MM-dd"; }; readonly valueFormat: { readonly type: PropType<"date" | "string" | "number">; readonly default: "date"; }; readonly rangeSeparator: { readonly type: StringConstructor; readonly default: "/"; }; readonly size: PropType<ComicSize>; readonly range: BooleanConstructor; readonly shortcuts: PropType<Shortcut[]>; readonly disabled: BooleanConstructor; readonly placeholder: StringConstructor; readonly clearable: BooleanConstructor; readonly startPlaceholder: StringConstructor; readonly endPlaceholder: StringConstructor; readonly disabledDate: FunctionConstructor; }; export type DatePickerProps = ExtractPropTypes<typeof datePickerProps>; export declare const datePickerEmits: { "update:modelValue": (value: ValueType) => boolean; change: (value: ValueType) => boolean; clear: () => boolean; }; export type DatePickerEmits = typeof datePickerEmits;