riku
22 小时以前 cf4787bc8188cd0acc8a42793730b076742f29c1
miniprogram_npm/tdesign-miniprogram/stepper/stepper.d.ts
@@ -1,14 +1,7 @@
import { SuperComponent } from '../common/src/index';
export default class Stepper extends SuperComponent {
    externalClasses: string[];
    options: {
        addGlobalClass: boolean;
    };
    properties: {
        style?: {
            type: StringConstructor;
            value?: string;
        };
        disableInput?: {
            type: BooleanConstructor;
            value?: boolean;
@@ -17,13 +10,13 @@
            type: BooleanConstructor;
            value?: boolean;
        };
        externalClasses?: {
            type: ArrayConstructor;
            value?: ["t-class", "t-class-input", "t-class-add", "t-class-minus"];
        };
        inputWidth?: {
            type: NumberConstructor;
            value?: number;
        };
        integer?: {
            type: BooleanConstructor;
            value?: boolean;
        };
        max?: {
            type: NumberConstructor;
@@ -33,26 +26,24 @@
            type: NumberConstructor;
            value?: number;
        };
        size?: {
            type: StringConstructor;
            value?: import("../common/common").SizeEnum;
        };
        step?: {
            type: NumberConstructor;
            value?: number;
        };
        size?: {
            type: StringConstructor;
            value?: string;
        };
        theme?: {
            type: StringConstructor;
            value?: "outline" | "normal" | "filled";
            value?: "outline" | "filled" | "normal";
        };
        value?: {
            type: StringConstructor;
            optionalTypes: NumberConstructor[];
            type: null;
            value?: string | number;
        };
        defaultValue?: {
            type: StringConstructor;
            optionalTypes: NumberConstructor[];
            type: null;
            value?: string | number;
        };
    };
@@ -68,14 +59,21 @@
        classPrefix: string;
        prefix: string;
    };
    attached(): void;
    isDisabled(type: any): boolean;
    format(value: any): number;
    setValue(value: any): void;
    minusValue(): boolean;
    plusValue(): boolean;
    changeValue(e: any): string | 0;
    focusHandle(e: any): void;
    inputHandle(e: any): void;
    blurHandle(e: any): void;
    lifetimes: {
        attached(): void;
    };
    methods: {
        isDisabled(type: any): boolean;
        getLen(num: number): number;
        add(a: number, b: number): number;
        format(value: any): string;
        setValue(value: any): void;
        minusValue(): boolean;
        plusValue(): boolean;
        filterIllegalChar(value: string | number): string;
        updateCurrentValue(value: any): void;
        handleFocus(e: any): void;
        handleInput(e: any): void;
        handleBlur(e: any): void;
    };
}