vexip-ui
Version: 
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
147 lines (146 loc) • 5.5 kB
TypeScript
import { CalendarSlots } from './symbol';
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: Readonly<CalendarSlots> & CalendarSlots;
    refs: {};
    rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
    inherit: import('vue').PropType<boolean>;
    locale: import('vue').PropType<Partial<{
        year: string;
        month: string;
        month1: string;
        month2: string;
        month3: string;
        month4: string;
        month5: string;
        month6: string;
        month7: string;
        month8: string;
        month9: string;
        month10: string;
        month11: string;
        month12: string;
        week1: string;
        week2: string;
        week3: string;
        week4: string;
        week5: string;
        week6: string;
        week7: string;
        ariaLabel: {
            year: string;
            month: string;
            month1: string;
            month2: string;
            month3: string;
            month4: string;
            month5: string;
            month6: string;
            month7: string;
            month8: string;
            month9: string;
            month10: string;
            month11: string;
            month12: string;
            week1: string;
            week2: string;
            week3: string;
            week4: string;
            week5: string;
            week6: string;
            week7: string;
        };
    }>>;
    value: import('vue').PropType<string | number | Date | import('../../common/utils/dist').Dateable[]>;
    year: import('vue').PropType<number>;
    month: import('vue').PropType<number>;
    weekDays: import('vue').PropType<string[]>;
    weekStart: import('vue').PropType<number>;
    today: import('vue').PropType<string | number | Date>;
    disabledDate: import('vue').PropType<(data: Date) => boolean>;
    slots: import('vue').PropType<CalendarSlots>;
    onSelect: import('vue').PropType<((date: Date) => void) | ((date: Date) => void)[]>;
    onYearChange: import('vue').PropType<((year: number, month: number) => void) | ((year: number, month: number) => void)[]>;
    onMonthChange: import('vue').PropType<((year: number, month: number) => void) | ((year: number, month: number) => void)[]>;
}>, {
    calendarValue: import('vue').Ref<string | number | Date | import('../../common/utils/dist').Dateable[], string | number | Date | import('../../common/utils/dist').Dateable[]>;
    calendarYear: import('vue').Ref<number, number>;
    calendarMonth: import('vue').Ref<number, number>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
    "update:value": (...args: any[]) => void;
    "update:year": (...args: any[]) => void;
    "update:month": (...args: any[]) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
    inherit: import('vue').PropType<boolean>;
    locale: import('vue').PropType<Partial<{
        year: string;
        month: string;
        month1: string;
        month2: string;
        month3: string;
        month4: string;
        month5: string;
        month6: string;
        month7: string;
        month8: string;
        month9: string;
        month10: string;
        month11: string;
        month12: string;
        week1: string;
        week2: string;
        week3: string;
        week4: string;
        week5: string;
        week6: string;
        week7: string;
        ariaLabel: {
            year: string;
            month: string;
            month1: string;
            month2: string;
            month3: string;
            month4: string;
            month5: string;
            month6: string;
            month7: string;
            month8: string;
            month9: string;
            month10: string;
            month11: string;
            month12: string;
            week1: string;
            week2: string;
            week3: string;
            week4: string;
            week5: string;
            week6: string;
            week7: string;
        };
    }>>;
    value: import('vue').PropType<string | number | Date | import('../../common/utils/dist').Dateable[]>;
    year: import('vue').PropType<number>;
    month: import('vue').PropType<number>;
    weekDays: import('vue').PropType<string[]>;
    weekStart: import('vue').PropType<number>;
    today: import('vue').PropType<string | number | Date>;
    disabledDate: import('vue').PropType<(data: Date) => boolean>;
    slots: import('vue').PropType<CalendarSlots>;
    onSelect: import('vue').PropType<((date: Date) => void) | ((date: Date) => void)[]>;
    onYearChange: import('vue').PropType<((year: number, month: number) => void) | ((year: number, month: number) => void)[]>;
    onMonthChange: import('vue').PropType<((year: number, month: number) => void) | ((year: number, month: number) => void)[]>;
}>> & Readonly<{
    "onUpdate:value"?: ((...args: any[]) => any) | undefined;
    "onUpdate:year"?: ((...args: any[]) => any) | undefined;
    "onUpdate:month"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};