@mxmweb/rtext 1.4.4 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/adopters/ChatMessageAdapter.d.ts +16 -0
- package/assets/style.css +1 -1
- package/containers/ThoughtChainContainer.d.ts +10 -0
- package/core/UnifiedRichText.d.ts +3 -0
- package/core/converters/slateConverters.d.ts +5 -0
- package/core/editor/editorCommands.d.ts +145 -0
- package/core/editor/useEditorCommands.d.ts +34 -0
- package/core/hooks/useMobileParagraphSelection.d.ts +12 -0
- package/core/richElements/styles.d.ts +1 -0
- package/elements/ThoughtChainSection.d.ts +10 -0
- package/examples/webvieweditor/index.d.ts +7 -0
- package/index.js +9292 -8491
- package/lib_enter.d.ts +2 -0
- package/mockserverdata.d.ts +27 -57
- package/package.json +1 -1
- package/stats.html +1 -1
- package/utils/thought_chain_mapper.d.ts +3 -1
|
@@ -11,8 +11,10 @@ export interface RawChainNode {
|
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* 统一的标题映射
|
|
14
|
+
* @param type 业务类型
|
|
15
|
+
* @param nodeStatus 节点状态,可选。如果提供,会根据状态返回不同的标题
|
|
14
16
|
*/
|
|
15
|
-
export declare function getThoughtTitleByBusinessType(type: ThoughtBusinessType): string;
|
|
17
|
+
export declare function getThoughtTitleByBusinessType(type: ThoughtBusinessType, nodeStatus?: ThoughtNodeStatus): string;
|
|
16
18
|
/**
|
|
17
19
|
* 将历史回复中的 chain 数组映射为 UI 使用的 ThoughtNode 列表
|
|
18
20
|
* 2025-12-19 新增: 支持 rtext 思维链 UI 升级。
|