import DateTime from "@web-atoms/date-time/dist/DateTime"; import { AtomViewModel } from "web-atoms-core/dist/view-model/AtomViewModel"; export interface ILabelValue { label?: string; value?: any; } export interface ICalendarItem { label: string; type?: string; isToday: boolean; isOtherMonth: boolean; isWeekend: boolean; value: DateTime; } export default class CalendarViewModel extends AtomViewModel { owner: any; year: number; month: number; private mStart; start: DateTime; readonly selectedDate: any; readonly enableFunc: any; readonly yearList: ILabelValue[]; readonly items: ICalendarItem[]; changeMonth(step: number): void; dateClicked(item: ICalendarItem): void; }