From 3282e95db0207ee133d1e98d9771dec9d83b0fc4 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 02 四月 2026 16:24:38 +0800
Subject: [PATCH] 2026.4.2 新增专题管理功能
---
miniprogram_npm/tdesign-miniprogram/search/type.d.ts | 88 ++++++++++++++++++++++++++++++++++---------
1 files changed, 69 insertions(+), 19 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/search/type.d.ts b/miniprogram_npm/tdesign-miniprogram/search/type.d.ts
index 718a13b..c7f2370 100644
--- a/miniprogram_npm/tdesign-miniprogram/search/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/search/type.d.ts
@@ -1,57 +1,107 @@
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?: {
+ clearTrigger?: {
+ type: StringConstructor;
+ value?: 'always' | 'focus';
+ };
+ 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;
+ required?: boolean;
+ };
+ 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;
+ required?: boolean;
+ };
+ readonly?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ resultList?: {
+ type: ArrayConstructor;
+ value?: Array<string>;
+ };
+ selectionEnd?: {
+ type: NumberConstructor;
+ value?: number;
+ };
+ selectionStart?: {
+ type: NumberConstructor;
+ value?: number;
};
shape?: {
type: StringConstructor;
value?: 'square' | 'round';
};
- value?: {
+ type?: {
type: StringConstructor;
- value?: string;
+ value?: 'text' | 'number' | 'idcard' | 'digit' | 'nickname';
};
- clearable: {
- type: BooleanConstructor;
- value?: boolean;
- };
- type: {
+ value?: {
type: StringConstructor;
value?: string;
};
--
Gitblit v1.9.3