From 093afd3be27ea5e9692839845b69bd56e2405518 Mon Sep 17 00:00:00 2001 From: Riku <risaku@163.com> Date: 星期二, 13 八月 2024 23:49:45 +0800 Subject: [PATCH] 204.8.13 --- miniprogram_npm/tdesign-miniprogram/search/type.d.ts | 78 ++++++++++++++++++++++++++++++-------- 1 files changed, 61 insertions(+), 17 deletions(-) diff --git a/miniprogram_npm/tdesign-miniprogram/search/type.d.ts b/miniprogram_npm/tdesign-miniprogram/search/type.d.ts index 718a13b..95cab19 100644 --- a/miniprogram_npm/tdesign-miniprogram/search/type.d.ts +++ b/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; }; -- Gitblit v1.9.3