UNPKG

@npmxiaowu/h-ui-plus

Version:

Vue3 中基于Element-plus二次封装基础组件文档

76 lines (75 loc) 2.95 kB
import type { PropType } from "vue"; declare const _sfc_main: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ modelValue: { type: (DateConstructor | StringConstructor | ArrayConstructor)[]; }; plusTime: { type: BooleanConstructor; default: boolean; }; /*** * week周;month月;year年;dates多个日期;months多个月;years多个年;daterange日期范围;monthrange月份范围 * datetime日期和时间点;datetimerange日期和时间点范围 */ type: { type: PropType<"date" | "week" | "month" | "year" | "dates" | "months" | "years" | "daterange" | "monthrange" | "datetime" | "datetimerange">; validator: (value: string) => boolean; default: string; }; shortcuts: { type: ArrayConstructor; }; isPickerOptions: { type: BooleanConstructor; default: boolean; }; }>, { props: any; emits: (event: "update:modelValue" | "change", ...args: any[]) => void; $attrs: any; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; time: any; DatePicker: import("vue").Ref<any, any>; attrsBind: import("vue").ComputedRef<any>; state: { dateOptions: unknown[] | undefined; }; getShortcuts: (type: any) => any; subtractDays: (date: Date, days: number) => Date; subtractMonths: (date: Date, months: number) => Date; dateChange: (val: any[]) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ modelValue: { type: (DateConstructor | StringConstructor | ArrayConstructor)[]; }; plusTime: { type: BooleanConstructor; default: boolean; }; /*** * week周;month月;year年;dates多个日期;months多个月;years多个年;daterange日期范围;monthrange月份范围 * datetime日期和时间点;datetimerange日期和时间点范围 */ type: { type: PropType<"date" | "week" | "month" | "year" | "dates" | "months" | "years" | "daterange" | "monthrange" | "datetime" | "datetimerange">; validator: (value: string) => boolean; default: string; }; shortcuts: { type: ArrayConstructor; }; isPickerOptions: { type: BooleanConstructor; default: boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }>, { type: "date" | "week" | "month" | "year" | "dates" | "months" | "years" | "daterange" | "monthrange" | "datetime" | "datetimerange"; plusTime: boolean; isPickerOptions: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _sfc_main;