@npmxiaowu/h-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
28 lines (27 loc) • 1.11 kB
TypeScript
export default _sfc_main;
declare namespace _sfc_main {
function 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 ref;
computed: typeof import("@vue/reactivity").computed;
onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void;
readonly getHoliday: typeof getHoliday;
readonly updateCalendar: typeof updateCalendar;
};
}
import { ref } from "@vue/runtime-core";
import { getHoliday } from "../api/index";
import { updateCalendar } from "../api/index";