@mxmweb/rtext 1.3.10 → 1.4.2

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.
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ import { KnowledgeBaseDocumentListProps } from '../knowledge_base_types';
3
+ /**
4
+ * 知识库文档列表组件
5
+ * 用于在 reference 块上方展示知识库文档分类列表
6
+ * 2025-12-19 新增: 根据设计图实现知识库文档列表UI
7
+ */
8
+ declare const KnowledgeBaseDocumentList: React.FC<KnowledgeBaseDocumentListProps>;
9
+ export default KnowledgeBaseDocumentList;
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ import { ThoughtNode, ThoughtChainRenderMode } from '../thought_chain_types';
3
+ export interface ThoughtChainContainerProps {
4
+ /** 所有需要展示的思维链节点 */
5
+ nodes: ThoughtNode[];
6
+ /** 渲染模式:实时 / 历史 */
7
+ mode?: ThoughtChainRenderMode;
8
+ /** 对话级别状态码,可选,用于整体标题展示 */
9
+ status?: number;
10
+ }
11
+ declare const ThoughtChainContainer: React.FC<ThoughtChainContainerProps>;
12
+ export default ThoughtChainContainer;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { ThoughtNode, ThoughtChainRenderMode } from '../thought_chain_types';
3
+ export interface ThoughtChainSectionProps {
4
+ /** 区块标题,例如“理解规划完成”、“召回成功”等 */
5
+ title: string;
6
+ /** 区块描述文案,可选 */
7
+ content?: string;
8
+ /** 该区块下包含的节点列表 */
9
+ nodes: ThoughtNode[];
10
+ /** 渲染模式:实时 / 历史,只影响细节样式与动效 */
11
+ mode?: ThoughtChainRenderMode;
12
+ }
13
+ declare const ThoughtChainSection: React.FC<ThoughtChainSectionProps>;
14
+ export default ThoughtChainSection;
@@ -0,0 +1,3 @@
1
+ import { default as React } from 'react';
2
+ declare const ThoughtChainDemo: React.FC;
3
+ export default ThoughtChainDemo;