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/textarea/type.d.ts | 82 +++++++++++++++++++++++-----------------
1 files changed, 47 insertions(+), 35 deletions(-)
diff --git a/miniprogram_npm/tdesign-miniprogram/textarea/type.d.ts b/miniprogram_npm/tdesign-miniprogram/textarea/type.d.ts
index bcbd1ca..14d7af2 100644
--- a/miniprogram_npm/tdesign-miniprogram/textarea/type.d.ts
+++ b/miniprogram_npm/tdesign-miniprogram/textarea/type.d.ts
@@ -3,13 +3,24 @@
type: BooleanConstructor;
value?: boolean;
};
+ allowInputOverMax?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
autofocus?: {
type: BooleanConstructor;
value?: boolean;
};
autosize?: {
type: null;
- value?: boolean | object;
+ value?: boolean | {
+ maxHeight?: number;
+ minHeight?: number;
+ };
+ };
+ bordered?: {
+ type: BooleanConstructor;
+ value?: boolean;
};
confirmHold?: {
type: BooleanConstructor;
@@ -19,27 +30,39 @@
type: StringConstructor;
value?: 'return' | 'send' | 'search' | 'next' | 'go' | 'done';
};
+ cursor?: {
+ type: NumberConstructor;
+ value?: number;
+ };
+ cursorColor?: {
+ type: StringConstructor;
+ value?: string;
+ };
cursorSpacing?: {
type: NumberConstructor;
value?: number;
};
- style?: {
- type: StringConstructor;
- value?: string;
+ disableDefaultPadding?: {
+ type: BooleanConstructor;
+ value?: boolean;
};
disabled?: {
type: BooleanConstructor;
value?: boolean;
- };
- externalClasses?: {
- type: ArrayConstructor;
- value?: ['t-class', 't-class-textarea', 't-class-label'];
};
fixed?: {
type: BooleanConstructor;
value?: boolean;
};
focus?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ holdKeyboard?: {
+ type: BooleanConstructor;
+ value?: boolean;
+ };
+ indicator?: {
type: BooleanConstructor;
value?: boolean;
};
@@ -59,48 +82,37 @@
type: StringConstructor;
value?: string;
};
- placeholderStyle: {
- type: StringConstructor;
- value: string;
- };
- value?: {
+ placeholderClass?: {
type: StringConstructor;
value?: string;
};
- defaultValue?: {
+ placeholderStyle?: {
type: StringConstructor;
value?: string;
};
- bordered?: {
+ readonly?: {
type: BooleanConstructor;
value?: boolean;
- };
- indicator?: {
- type: BooleanConstructor;
- value?: boolean;
- };
- cursor: {
- type: NumberConstructor;
- value?: number;
- };
- showConfirmBar: {
- type: BooleanConstructor;
- value?: boolean;
- };
- selectionStart?: {
- type: NumberConstructor;
- value?: number;
};
selectionEnd?: {
type: NumberConstructor;
value?: number;
};
- disableDefaultPadding?: {
+ selectionStart?: {
+ type: NumberConstructor;
+ value?: number;
+ };
+ showConfirmBar?: {
type: BooleanConstructor;
value?: boolean;
};
- holdKeyboard?: {
- type: BooleanConstructor;
- value?: boolean;
+ value?: {
+ type: null;
+ value?: TextareaValue;
+ };
+ defaultValue?: {
+ type: null;
+ value?: TextareaValue;
};
}
+export declare type TextareaValue = string | number;
--
Gitblit v1.9.3