riku
2024-08-14 b4033c002e21c1376d68be61622da56182a962e9
miniprogram_npm/tdesign-miniprogram/checkbox/checkbox.d.ts
@@ -9,15 +9,11 @@
            type: StringConstructor;
            value: string;
        };
        borderless: {
            type: BooleanConstructor;
            value: boolean;
        };
        placement?: {
            type: StringConstructor;
            value?: "left" | "right";
        };
        block?: {
            type: BooleanConstructor;
            value?: boolean;
        };
        borderless?: {
            type: BooleanConstructor;
            value?: boolean;
        };
@@ -41,10 +37,6 @@
            type: BooleanConstructor;
            value?: boolean;
        };
        style?: {
            type: StringConstructor;
            value?: string;
        };
        disabled?: {
            type: BooleanConstructor;
            value?: boolean;
@@ -55,7 +47,7 @@
        };
        icon?: {
            type: null;
            value?: string[] | "circle" | "rectangle" | "line";
            value?: string[] | "rectangle" | "circle" | "line";
        };
        indeterminate?: {
            type: BooleanConstructor;
@@ -77,6 +69,10 @@
            type: StringConstructor;
            value?: string;
        };
        placement?: {
            type: StringConstructor;
            value?: "left" | "right";
        };
        readonly?: {
            type: BooleanConstructor;
            value?: boolean;
@@ -89,12 +85,17 @@
    data: {
        prefix: string;
        classPrefix: string;
        _disabled: boolean;
    };
    observers: {
        disabled(v: any): void;
    };
    controlledProps: {
        key: string;
        event: string;
    }[];
    methods: {
        onChange(e: WechatMiniprogram.TouchEvent): void;
        handleTap(e: WechatMiniprogram.TouchEvent): void;
        setDisabled(disabled: Boolean): void;
    };
}