@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
56 lines (55 loc) • 1.17 kB
JavaScript
import { buildProps as a, eventProp as e, booleanProp as r, localeProp as t } from "@vexip-ui/config";
const o = a({
locale: t("calendar"),
/**
* 选中的日期
*/
value: [Number, String, Date, Array],
/**
* 当前日历显示的年份
*/
year: Number,
/**
* 当前日历显示的月份 (1 ~ 12)
*/
month: Number,
/**
* 头部星期显示的内容,数量须为 7 个
*/
weekDays: Array,
weekStart: Number,
today: [Number, String, Date],
disabledDate: Function,
valueType: String,
min: [Number, String, Date],
max: [Number, String, Date],
range: r,
selectRow: r,
slots: Object,
onSelect: e(),
onHover: e()
}), l = a({
locale: t("calendar"),
value: [Number, String, Date],
year: Number,
/**
* 当前日历显示的月份 (1 ~ 12)
*/
month: Number,
/**
* 头部星期显示的内容,数量须为 7 个
*/
weekDays: Array,
weekStart: Number,
today: [Number, String, Date],
disabledDate: Function,
slots: Object,
onSelect: e(),
onYearChange: e(),
onMonthChange: e()
});
export {
o as calendarPanelProps,
l as calendarProps
};
//# sourceMappingURL=props.mjs.map