@farris/x-ui 0.1.4 → 0.1.6
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/common/index.d.ts +1 -0
- package/common/src/overflow-tooltip.directive.d.ts +21 -0
- package/farris.x-ui.esm.js +2510 -2493
- package/farris.x-ui.umd.cjs +37 -37
- package/hitl-question/src/types.d.ts +7 -0
- package/index.css +1 -1
- package/package.json +1 -1
- package/todo/src/components/todo-list-item-view.component.d.ts +6 -0
- package/todo/src/composition/status-icon.d.ts +14 -4
- package/todo/src/composition/type.d.ts +1 -0
|
@@ -28,6 +28,11 @@ export interface HitlQuestionItem {
|
|
|
28
28
|
min?: number;
|
|
29
29
|
max?: number;
|
|
30
30
|
}
|
|
31
|
+
/** 提交的答案项,与 questions[].id 对齐 */
|
|
32
|
+
export interface HitlAnswerItem {
|
|
33
|
+
id: string;
|
|
34
|
+
answer: unknown;
|
|
35
|
+
}
|
|
31
36
|
/**
|
|
32
37
|
* HITL 问题卡(下行 {@code body.type === 'agent/hitl-question'})。
|
|
33
38
|
* headers 中与上行 `agent/hitl-answer` 对齐的字段可由归一化层从信封 headers 填入。
|
|
@@ -40,4 +45,6 @@ export interface MessageContentHitlQuestion {
|
|
|
40
45
|
agentId?: string;
|
|
41
46
|
agentSessionId?: string;
|
|
42
47
|
userId?: string;
|
|
48
|
+
/** 已提交的答案(持久化标记),非空时组件 mount 自动恢复 submitted 状态 */
|
|
49
|
+
answers?: HitlAnswerItem[];
|
|
43
50
|
}
|