@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
29 lines (28 loc) • 1.11 kB
TypeScript
declare const HCalendar: ({
setup(__props: any, { expose: __expose }: {
expose: any;
}): {
calendarRef: import("vue").Ref<any, any>;
currentDate: import("vue").Ref<Date, Date>;
scheduleData: import("vue").Ref<{}, {}>;
calendarDateList: import("vue").Ref<never[], never[]>;
handleMonthChange: () => void;
getHolidayApi: () => Promise<void>;
updateCalendarApi: (data: any) => Promise<void>;
fetchHolidays: () => Promise<void>;
toggleSchedule: (date: any) => void;
prevMonth: () => void;
nextMonth: () => void;
today: () => void;
ref: typeof import("vue").ref;
computed: typeof import("@vue/reactivity").computed;
onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void;
readonly getHoliday: typeof import("./api").getHoliday;
readonly updateCalendar: typeof import("./api").updateCalendar;
};
} & import("vue").Plugin<any[]> & {
label?: string | undefined;
}) & {
label: string;
};
export default HCalendar;