riku
9 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
miniprogram_npm/tdesign-miniprogram/calendar/calendar.d.ts
@@ -4,6 +4,7 @@
export interface CalendarProps extends TdCalendarProps {
}
export default class Calendar extends SuperComponent {
    behaviors: string[];
    externalClasses: string[];
    options: WechatMiniprogram.Component.ComponentOptions;
    properties: TdCalendarProps;
@@ -12,8 +13,14 @@
        classPrefix: string;
        months: any[];
        scrollIntoView: string;
        innerConfirmBtn: {
            content: string;
        innerConfirmBtn: {};
        realLocalText: {};
        currentMonth: {};
        actionButtons: {
            preYearBtnDisable: boolean;
            prevMonthBtnDisable: boolean;
            nextMonthBtnDisable: boolean;
            nextYearBtnDisable: boolean;
        };
    };
    controlledProps: {
@@ -25,7 +32,10 @@
        ready(): void;
    };
    observers: {
        localeText(): void;
        globalConfig(): void;
        type(v: any): void;
        allowSameDay(v: any): void;
        confirmBtn(v: any): void;
        'firstDayOfWeek,minDate,maxDate'(firstDayOfWeek: any, minDate: any, maxDate: any): void;
        value(v: any): void;
@@ -35,6 +45,13 @@
    methods: {
        initialValue(): void;
        scrollIntoView(): void;
        getCurrentYearAndMonth(v: Date): {
            year: number;
            month: number;
        };
        updateActionButton(value: Date): void;
        updateCurrentMonth(newValue?: any): void;
        calcCurrentMonth(newValue?: any): void;
        calcMonths(): void;
        close(trigger: any): void;
        onVisibleChange(): void;
@@ -42,5 +59,8 @@
        handleSelect(e: any): void;
        onTplButtonTap(): void;
        toTime(val: any): any;
        onScroll(e: any): void;
        getCurrentDate(): any;
        handleSwitchModeChange(e: any): void;
    };
}