riku
2024-11-14 00a96d6881dd10ae7d3c4f5437bfceaabe677723
miniprogram_npm/tdesign-miniprogram/search/type.d.ts
@@ -1,57 +1,101 @@
export interface TdSearchProps {
    style?: {
        type: StringConstructor;
        value?: string;
    };
    action?: {
        type: StringConstructor;
        value?: string;
    };
    adjustPosition?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    alwaysEmbed?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    center?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    disabled?: {
    clearable?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    externalClasses?: {
        type: ArrayConstructor;
        value?: ['t-class', 't-class-input', 't-class-input-container', 't-class-cancel', 't-class-left', 't-class-right'];
    confirmHold?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    confirmType?: {
        type: StringConstructor;
        value?: 'send' | 'search' | 'next' | 'go' | 'done';
    };
    cursor: {
        type: NumberConstructor;
        value?: number;
    };
    cursorSpacing?: {
        type: NumberConstructor;
        value?: number;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    focus?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    label?: {
        type: StringConstructor;
        value?: string;
    holdKeyboard?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    leftIcon?: {
        type: StringConstructor;
        value?: string;
    };
    maxcharacter?: {
        type: NumberConstructor;
        value?: number;
    };
    maxlength?: {
        type: NumberConstructor;
        value?: number;
    };
    placeholder?: {
        type: StringConstructor;
        value?: string;
    };
    rightIcon?: {
    placeholderClass?: {
        type: StringConstructor;
        value?: string;
    };
    placeholderStyle: {
        type: StringConstructor;
        value?: string;
    };
    resultList?: {
        type: ArrayConstructor;
        value?: Array<string>;
    };
    selectionEnd?: {
        type: NumberConstructor;
        value?: number;
    };
    selectionStart?: {
        type: NumberConstructor;
        value?: number;
    };
    shape?: {
        type: StringConstructor;
        value?: 'square' | 'round';
    };
    value?: {
    style?: {
        type: StringConstructor;
        value?: string;
    };
    clearable: {
        type: BooleanConstructor;
        value?: boolean;
    type?: {
        type: StringConstructor;
        value?: 'text' | 'number' | 'idcard' | 'digit' | 'nickname';
    };
    type: {
    value?: {
        type: StringConstructor;
        value?: string;
    };