@next-bricks/ai-portal 0.70.0 → 0.70.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.
Files changed (148) hide show
  1. package/dist/bricks.json +42 -42
  2. package/dist/chunks/7202.a893b0e6.js.map +1 -1
  3. package/dist/chunks/action-buttons.68666920.js.map +1 -1
  4. package/dist/chunks/activity-timeline.96e7aaea.js.map +1 -1
  5. package/dist/chunks/ai-agents.cffd08a0.js.map +1 -1
  6. package/dist/chunks/ai-employees.267c3626.js.map +1 -1
  7. package/dist/chunks/blank-state.648eea95.js.map +1 -1
  8. package/dist/chunks/chat-input.444c80bb.js.map +1 -1
  9. package/dist/chunks/chat-panel-welcome.2f7c6c8b.js.map +1 -1
  10. package/dist/chunks/chat-panel.3160f2e8.js.map +1 -1
  11. package/dist/chunks/chat-stream.393c8241.js.map +1 -1
  12. package/dist/chunks/cruise-canvas.bfae3138.js.map +1 -1
  13. package/dist/chunks/dropdown-select.336442ba.js.map +1 -1
  14. package/dist/chunks/elevo-card.49b42ed0.js.map +1 -1
  15. package/dist/chunks/elevo-logo.25e3b889.js.map +1 -1
  16. package/dist/chunks/elevo-sidebar.a197a77f.js.map +1 -1
  17. package/dist/chunks/flow-tabs.ee1290c2.js.map +1 -1
  18. package/dist/chunks/goal-card-list.74ab5767.js.map +1 -1
  19. package/dist/chunks/home-container.f1829834.js.map +1 -1
  20. package/dist/chunks/icon-button.545ffb24.js.map +1 -1
  21. package/dist/chunks/mcp-tools.f132c502.js.map +1 -1
  22. package/dist/chunks/notice-dropdown.63cb2415.js.map +1 -1
  23. package/dist/chunks/page-container.2185f2e0.js.map +1 -1
  24. package/dist/chunks/preview-container.a0ca6e2f.js.map +1 -1
  25. package/dist/chunks/project-knowledges.51731410.js.map +1 -1
  26. package/dist/chunks/running-flow.37a428cf.js.map +1 -1
  27. package/dist/chunks/show-case.44e995fc.js.map +1 -1
  28. package/dist/chunks/show-cases.c3921ea0.js.map +1 -1
  29. package/dist/chunks/space-chat-guide.84f4a1e7.js.map +1 -1
  30. package/dist/chunks/space-logo.994f7a25.js.map +1 -1
  31. package/dist/chunks/space-workbench.8c064898.js.map +1 -1
  32. package/dist/chunks/stage-flow.9b6fad93.js.map +1 -1
  33. package/dist/chunks/stat-with-mini-chart.1509cf8c.js.map +1 -1
  34. package/dist/chunks/sticky-container.d3f7054e.js.map +1 -1
  35. package/dist/chunks/tab-list.ee97567f.js.map +1 -1
  36. package/dist/examples.json +52 -40
  37. package/dist/{index.8e0adc27.js → index.94998c36.js} +2 -2
  38. package/dist/{index.8e0adc27.js.map → index.94998c36.js.map} +1 -1
  39. package/dist/manifest.json +594 -313
  40. package/dist/types.json +796 -796
  41. package/dist-types/action-buttons/index.d.ts +10 -1
  42. package/dist-types/activity-timeline/index.d.ts +10 -1
  43. package/dist-types/ai-agents/index.d.ts +10 -1
  44. package/dist-types/ai-employees/index.d.ts +16 -1
  45. package/dist-types/blank-state/index.d.ts +10 -1
  46. package/dist-types/chat-input/index.d.ts +37 -1
  47. package/dist-types/chat-panel/index.d.ts +45 -3
  48. package/dist-types/chat-stream/index.d.ts +62 -1
  49. package/dist-types/cruise-canvas/index.d.ts +71 -1
  50. package/dist-types/dropdown-select/index.d.ts +3 -1
  51. package/dist-types/elevo-card/index.d.ts +5 -1
  52. package/dist-types/elevo-logo/index.d.ts +3 -1
  53. package/dist-types/elevo-sidebar/index.d.ts +19 -2
  54. package/dist-types/flow-tabs/index.d.ts +5 -1
  55. package/dist-types/gantt-chart/index.d.ts +3 -1
  56. package/dist-types/goal-card-list/index.d.ts +8 -1
  57. package/dist-types/home-container/index.d.ts +4 -1
  58. package/dist-types/icon-button/index.d.ts +4 -1
  59. package/dist-types/mcp-tools/index.d.ts +3 -1
  60. package/dist-types/page-container/index.d.ts +7 -0
  61. package/dist-types/preview-container/index.d.ts +4 -0
  62. package/dist-types/project-knowledges/index.d.ts +5 -0
  63. package/dist-types/running-flow/index.d.ts +3 -0
  64. package/dist-types/show-case/index.d.ts +5 -0
  65. package/dist-types/show-cases/index.d.ts +4 -0
  66. package/dist-types/space-workbench/chat-panel-welcome/index.d.ts +3 -0
  67. package/dist-types/space-workbench/index.d.ts +7 -0
  68. package/dist-types/space-workbench/space-chat-guide/index.d.ts +3 -0
  69. package/dist-types/space-workbench/space-logo/index.d.ts +1 -0
  70. package/dist-types/stage-flow/index.d.ts +21 -0
  71. package/dist-types/stat-with-mini-chart/index.d.ts +10 -0
  72. package/dist-types/sticky-container/index.d.ts +3 -0
  73. package/dist-types/tab-list/index.d.ts +4 -0
  74. package/docs/action-buttons.md +59 -10
  75. package/docs/action-buttons.react.md +80 -0
  76. package/docs/activity-timeline.md +51 -7
  77. package/docs/activity-timeline.react.md +109 -0
  78. package/docs/ai-agents.md +62 -2
  79. package/docs/ai-agents.react.md +73 -0
  80. package/docs/ai-employees.md +76 -2
  81. package/docs/ai-employees.react.md +106 -0
  82. package/docs/blank-state.md +62 -2
  83. package/docs/blank-state.react.md +77 -0
  84. package/docs/chat-box.md +134 -52
  85. package/docs/chat-box.react.md +142 -0
  86. package/docs/chat-input.md +117 -1
  87. package/docs/chat-input.react.md +117 -0
  88. package/docs/chat-panel-welcome.md +39 -0
  89. package/docs/chat-panel-welcome.react.md +41 -0
  90. package/docs/chat-panel.md +86 -3
  91. package/docs/chat-panel.react.md +109 -0
  92. package/docs/chat-stream.md +149 -2
  93. package/docs/chat-stream.react.md +155 -0
  94. package/docs/cruise-canvas.md +159 -0
  95. package/docs/cruise-canvas.react.md +159 -0
  96. package/docs/dropdown-select.md +37 -8
  97. package/docs/dropdown-select.react.md +144 -0
  98. package/docs/elevo-card.md +75 -1
  99. package/docs/elevo-card.react.md +104 -0
  100. package/docs/elevo-logo.md +13 -1
  101. package/docs/elevo-logo.react.md +27 -0
  102. package/docs/elevo-sidebar.md +150 -1
  103. package/docs/elevo-sidebar.react.md +149 -0
  104. package/docs/flow-tabs.md +97 -2
  105. package/docs/flow-tabs.react.md +102 -0
  106. package/docs/gantt-chart.md +101 -0
  107. package/docs/gantt-chart.react.md +125 -0
  108. package/docs/goal-card-list.md +149 -13
  109. package/docs/goal-card-list.react.md +185 -0
  110. package/docs/home-container.md +48 -2
  111. package/docs/home-container.react.md +51 -0
  112. package/docs/icon-button.md +128 -2
  113. package/docs/icon-button.react.md +120 -0
  114. package/docs/mcp-tools.md +105 -2
  115. package/docs/mcp-tools.react.md +117 -0
  116. package/docs/notice-dropdown.md +53 -10
  117. package/docs/notice-dropdown.react.md +167 -0
  118. package/docs/notice-list.md +53 -5
  119. package/docs/notice-list.react.md +121 -0
  120. package/docs/page-container.md +80 -3
  121. package/docs/page-container.react.md +83 -0
  122. package/docs/preview-container.md +22 -32
  123. package/docs/preview-container.react.md +71 -0
  124. package/docs/project-conversations.md +85 -4
  125. package/docs/project-conversations.react.md +110 -0
  126. package/docs/project-knowledges.md +73 -8
  127. package/docs/project-knowledges.react.md +85 -0
  128. package/docs/running-flow.md +57 -2
  129. package/docs/running-flow.react.md +90 -0
  130. package/docs/show-case.md +48 -3
  131. package/docs/show-case.react.md +60 -0
  132. package/docs/show-cases.md +52 -2
  133. package/docs/show-cases.react.md +92 -0
  134. package/docs/space-chat-guide.md +32 -0
  135. package/docs/space-chat-guide.react.md +39 -0
  136. package/docs/space-logo.md +53 -0
  137. package/docs/space-logo.react.md +46 -0
  138. package/docs/space-workbench.md +45 -2
  139. package/docs/space-workbench.react.md +102 -0
  140. package/docs/stage-flow.md +122 -26
  141. package/docs/stage-flow.react.md +112 -0
  142. package/docs/stat-with-mini-chart.md +64 -159
  143. package/docs/stat-with-mini-chart.react.md +113 -0
  144. package/docs/sticky-container.md +56 -3
  145. package/docs/sticky-container.react.md +60 -0
  146. package/docs/tab-list.md +74 -3
  147. package/docs/tab-list.react.md +73 -0
  148. package/package.json +2 -2
@@ -8,6 +8,7 @@
8
8
  "properties": [
9
9
  {
10
10
  "name": "conversationId",
11
+ "description": "对话 ID",
11
12
  "type": "string"
12
13
  },
13
14
  {
@@ -29,75 +30,92 @@
29
30
  },
30
31
  {
31
32
  "name": "supports",
33
+ "description": "功能开关配置,键为功能名,值为是否启用",
32
34
  "attribute": false,
33
35
  "type": "Record<string, boolean>"
34
36
  },
35
37
  {
36
38
  "name": "showHiddenJobs",
39
+ "description": "是否显示隐藏的 Job 节点",
37
40
  "type": "boolean"
38
41
  },
39
42
  {
40
43
  "name": "showHumanActions",
44
+ "description": "是否显示 Human-in-the-loop 操作按钮",
41
45
  "type": "boolean"
42
46
  },
43
47
  {
44
48
  "name": "showFeedback",
49
+ "description": "是否显示反馈按钮",
45
50
  "type": "boolean"
46
51
  },
47
52
  {
48
53
  "name": "showFeedbackAfterFailed",
54
+ "description": "是否在任务失败时也显示反馈按钮",
49
55
  "type": "boolean"
50
56
  },
51
57
  {
52
58
  "name": "showFeedbackOnView",
59
+ "description": "是否在查看生成视图时显示反馈按钮",
53
60
  "type": "boolean"
54
61
  },
55
62
  {
56
63
  "name": "showUiSwitch",
64
+ "description": "是否显示切换到对话流视图的按钮",
57
65
  "type": "boolean"
58
66
  },
59
67
  {
60
68
  "name": "hideMermaid",
69
+ "description": "是否隐藏 Mermaid 图表渲染,通过 CSS 属性选择器控制样式",
61
70
  "type": "boolean"
62
71
  },
63
72
  {
64
73
  "name": "showJsxEditor",
74
+ "description": "是否显示 JSX 编辑器按钮",
65
75
  "type": "boolean"
66
76
  },
67
77
  {
68
78
  "name": "previewUrlTemplate",
79
+ "description": "生成视图预览页的 URL 模板,支持 {viewId} 等字段插值",
69
80
  "type": "string"
70
81
  },
71
82
  {
72
83
  "name": "showCases",
84
+ "description": "示例场景列表,用于在空对话时展示快速入口",
73
85
  "attribute": false,
74
86
  "type": "ShowCaseType[]"
75
87
  },
76
88
  {
77
89
  "name": "exampleProjects",
90
+ "description": "示例项目列表,用于展示可参考的已有项目",
78
91
  "attribute": false,
79
92
  "type": "ExampleProject[]"
80
93
  },
81
94
  {
82
95
  "name": "tryItOutUrl",
96
+ "description": "\"试一试\"跳转 URL",
83
97
  "type": "string"
84
98
  },
85
99
  {
86
100
  "name": "separateInstructions",
101
+ "description": "是否将任务说明独立展示,而非内联在节点中",
87
102
  "type": "boolean"
88
103
  },
89
104
  {
90
105
  "name": "aiEmployees",
106
+ "description": "可 @ 提及的数字人列表",
91
107
  "attribute": false,
92
108
  "type": "AIEmployee[]"
93
109
  },
94
110
  {
95
111
  "name": "commands",
112
+ "description": "命令列表,支持通过 / 或搜索触发联想",
96
113
  "attribute": false,
97
114
  "type": "Command[]"
98
115
  },
99
116
  {
100
117
  "name": "uploadOptions",
118
+ "description": "文件上传配置",
101
119
  "attribute": false,
102
120
  "type": "UploadOptions"
103
121
  }
@@ -105,37 +123,49 @@
105
123
  "events": [
106
124
  {
107
125
  "name": "share",
126
+ "description": "",
108
127
  "detail": {
128
+ "description": "void",
109
129
  "type": "void"
110
130
  }
111
131
  },
112
132
  {
113
133
  "name": "terminate",
134
+ "description": "",
114
135
  "detail": {
136
+ "description": "void",
115
137
  "type": "void"
116
138
  }
117
139
  },
118
140
  {
119
141
  "name": "feedback.submit",
142
+ "description": "",
120
143
  "detail": {
144
+ "description": "{ plan: 计划步骤列表, result: 结果列表, feedback: 反馈文本 }",
121
145
  "type": "FeedbackDetail"
122
146
  }
123
147
  },
124
148
  {
125
149
  "name": "feedback.on.view",
150
+ "description": "",
126
151
  "detail": {
152
+ "description": "生成视图的 viewId",
127
153
  "type": "string"
128
154
  }
129
155
  },
130
156
  {
131
157
  "name": "ui.switch",
158
+ "description": "",
132
159
  "detail": {
160
+ "description": "切换目标 UI 模式,值为 \"chat\"",
133
161
  "type": "\"chat\""
134
162
  }
135
163
  },
136
164
  {
137
165
  "name": "detail.change",
166
+ "description": "",
138
167
  "detail": {
168
+ "description": "{ projectId: 关联的项目 ID }",
139
169
  "type": "ConversationDetail"
140
170
  }
141
171
  }
@@ -144,28 +174,193 @@
144
174
  "methods": [
145
175
  {
146
176
  "name": "resumed",
147
- "params": []
177
+ "params": [],
178
+ "description": "通知组件任务已恢复,用于继续中断的对话",
179
+ "returns": {}
148
180
  },
149
181
  {
150
182
  "name": "feedbackSubmitDone",
151
- "params": []
183
+ "params": [],
184
+ "description": "通知组件反馈提交成功",
185
+ "returns": {}
152
186
  },
153
187
  {
154
188
  "name": "feedbackSubmitFailed",
155
- "params": []
189
+ "params": [],
190
+ "description": "通知组件反馈提交失败",
191
+ "returns": {}
156
192
  },
157
193
  {
158
194
  "name": "feedbackOnViewDone",
159
195
  "params": [
160
196
  {
161
197
  "name": "viewId",
198
+ "description": "对应的视图 ID",
199
+ "type": "string"
200
+ }
201
+ ],
202
+ "description": "通知组件查看视图的反馈处理完成",
203
+ "returns": {}
204
+ }
205
+ ],
206
+ "parts": [],
207
+ "description": "AI 任务执行画布,以节点图形式展示任务的执行过程,支持任务回放、反馈及 UI 切换等功能。",
208
+ "category": "ai-portal"
209
+ },
210
+ {
211
+ "name": "ai-portal.chat-box",
212
+ "properties": [
213
+ {
214
+ "name": "disabled",
215
+ "type": "boolean"
216
+ },
217
+ {
218
+ "name": "placeholder",
219
+ "type": "string"
220
+ },
221
+ {
222
+ "name": "autoFocus",
223
+ "type": "boolean"
224
+ },
225
+ {
226
+ "name": "aiEmployees",
227
+ "attribute": false,
228
+ "type": "AIEmployee[]"
229
+ },
230
+ {
231
+ "name": "commands",
232
+ "attribute": false,
233
+ "type": "Command[]"
234
+ },
235
+ {
236
+ "name": "uploadOptions",
237
+ "attribute": false,
238
+ "type": "UploadOptions"
239
+ }
240
+ ],
241
+ "events": [
242
+ {
243
+ "name": "message.submit",
244
+ "description": "",
245
+ "deprecated": "Use `chat.submit` event instead",
246
+ "detail": {
247
+ "type": "string"
248
+ }
249
+ },
250
+ {
251
+ "name": "chat.submit",
252
+ "detail": {
253
+ "type": "ChatPayload"
254
+ }
255
+ }
256
+ ],
257
+ "slots": [],
258
+ "methods": [
259
+ {
260
+ "name": "setValue",
261
+ "params": [
262
+ {
263
+ "name": "value",
162
264
  "type": "string"
163
265
  }
164
266
  ]
267
+ },
268
+ {
269
+ "name": "getValue",
270
+ "params": []
271
+ },
272
+ {
273
+ "name": "focusOnInput",
274
+ "params": []
165
275
  }
166
276
  ],
167
277
  "parts": [],
168
- "description": "构件 `ai-portal.cruise-canvas`"
278
+ "description": "大型聊天输入框,用于首页"
279
+ },
280
+ {
281
+ "name": "ai-portal.home-container",
282
+ "properties": [
283
+ {
284
+ "name": "sticky",
285
+ "type": "boolean"
286
+ }
287
+ ],
288
+ "events": [],
289
+ "slots": [
290
+ {
291
+ "name": "default",
292
+ "description": "页面内容区域"
293
+ }
294
+ ],
295
+ "methods": [],
296
+ "parts": [],
297
+ "description": "AI Portal 首页容器,通过 sticky 属性控制顶部吸附行为,内容通过默认插槽传入。",
298
+ "category": "layout-component"
299
+ },
300
+ {
301
+ "name": "ai-portal.stat-with-mini-chart",
302
+ "properties": [
303
+ {
304
+ "name": "label",
305
+ "description": "统计指标标签名称",
306
+ "type": "string"
307
+ },
308
+ {
309
+ "name": "value",
310
+ "description": "统计数值文本",
311
+ "type": "string"
312
+ },
313
+ {
314
+ "name": "size",
315
+ "description": "展示尺寸,medium 时图表高度为 92px,small 时为 55px",
316
+ "default": "\"medium\"",
317
+ "type": "\"medium\" | \"small\""
318
+ },
319
+ {
320
+ "name": "lineColor",
321
+ "description": "折线颜色",
322
+ "default": "\"var(--color-brand)\"",
323
+ "type": "string"
324
+ },
325
+ {
326
+ "name": "showArea",
327
+ "description": "是否在折线下方显示渐变填充区域",
328
+ "type": "boolean"
329
+ },
330
+ {
331
+ "name": "min",
332
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
333
+ "type": "number"
334
+ },
335
+ {
336
+ "name": "max",
337
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
338
+ "type": "number"
339
+ },
340
+ {
341
+ "name": "xField",
342
+ "description": "x 轴字段名(数据中时间字段的 key)",
343
+ "default": "\"0\"",
344
+ "type": "string"
345
+ },
346
+ {
347
+ "name": "yField",
348
+ "description": "y 轴字段名(数据中数值字段的 key)",
349
+ "default": "\"1\"",
350
+ "type": "string"
351
+ },
352
+ {
353
+ "name": "data",
354
+ "description": "图表数据源,每项为包含 xField 和 yField 字段的对象",
355
+ "attribute": false,
356
+ "type": "Record<string, number>[]"
357
+ }
358
+ ],
359
+ "events": [],
360
+ "slots": [],
361
+ "methods": [],
362
+ "parts": [],
363
+ "description": "构件 `ai-portal.stat-with-mini-chart`\n\n带迷你折线图的统计数据展示构件,在统计数值旁边渲染一个迷你折线图。"
169
364
  },
170
365
  {
171
366
  "name": "ai-portal.elevo-sidebar",
@@ -247,7 +442,9 @@
247
442
  "events": [
248
443
  {
249
444
  "name": "logout",
445
+ "description": "",
250
446
  "detail": {
447
+ "description": "void",
251
448
  "type": "void"
252
449
  }
253
450
  },
@@ -255,6 +452,7 @@
255
452
  "name": "action.click",
256
453
  "description": "点击对话历史操作按钮时触发",
257
454
  "detail": {
455
+ "description": "{ action: 点击的操作项(含 project 等扩展字段), item: 当前对话历史记录项, project: 关联的项目(可选) }",
258
456
  "type": "ActionClickDetail"
259
457
  }
260
458
  },
@@ -262,18 +460,23 @@
262
460
  "name": "project.action.click",
263
461
  "description": "点击项目操作按钮时触发",
264
462
  "detail": {
463
+ "description": "{ action: 点击的操作项, project: 当前项目对象 }",
265
464
  "type": "ProjectActionClickDetail"
266
465
  }
267
466
  },
268
467
  {
269
468
  "name": "add.project",
469
+ "description": "",
270
470
  "detail": {
471
+ "description": "void",
271
472
  "type": "void"
272
473
  }
273
474
  },
274
475
  {
275
476
  "name": "add.serviceflow",
477
+ "description": "",
276
478
  "detail": {
479
+ "description": "void",
277
480
  "type": "void"
278
481
  }
279
482
  },
@@ -281,6 +484,7 @@
281
484
  "name": "personal.action.click",
282
485
  "description": "点击个人操作按钮时触发",
283
486
  "detail": {
487
+ "description": "{ action: 点击的操作项 }",
284
488
  "type": "PersonalActionClickDetail"
285
489
  }
286
490
  }
@@ -292,135 +496,65 @@
292
496
  "params": [
293
497
  {
294
498
  "name": "delay",
295
- "description": "Delay in milliseconds before pulling the latest chat history.",
499
+ "description": "拉取前的等待时长(毫秒),用于等待任务标题生成完成",
296
500
  "type": "number"
297
501
  }
298
502
  ],
299
- "description": "",
503
+ "description": "延迟一段时间后拉取最新对话历史",
300
504
  "returns": {}
301
505
  },
302
506
  {
303
507
  "name": "open",
304
- "params": []
508
+ "params": [],
509
+ "description": "展开侧边栏(behavior 为 drawer 时有效)",
510
+ "returns": {}
305
511
  },
306
512
  {
307
513
  "name": "close",
308
- "params": []
514
+ "params": [],
515
+ "description": "折叠侧边栏(behavior 为 drawer 时有效)",
516
+ "returns": {}
309
517
  },
310
518
  {
311
519
  "name": "removeProject",
312
520
  "params": [
313
521
  {
314
522
  "name": "projectId",
523
+ "description": "要移除的项目 instanceId",
315
524
  "type": "string"
316
525
  }
317
- ]
526
+ ],
527
+ "description": "从历史列表中移除指定项目及其对话",
528
+ "returns": {}
318
529
  },
319
530
  {
320
531
  "name": "addProject",
321
532
  "params": [
322
533
  {
323
534
  "name": "project",
535
+ "description": "要追加的项目对象",
324
536
  "type": "Project"
325
537
  }
326
- ]
538
+ ],
539
+ "description": "向项目列表中追加一个新项目",
540
+ "returns": {}
327
541
  },
328
542
  {
329
543
  "name": "moveConversation",
330
544
  "params": [
331
545
  {
332
546
  "name": "conversationId",
547
+ "description": "要移动的对话 ID",
333
548
  "type": "string"
334
549
  }
335
- ]
336
- }
337
- ],
338
- "parts": [],
339
- "description": "构件 `ai-portal.elevo-sidebar`"
340
- },
341
- {
342
- "name": "ai-portal.home-container",
343
- "properties": [
344
- {
345
- "name": "sticky",
346
- "type": "boolean"
347
- }
348
- ],
349
- "events": [],
350
- "slots": [],
351
- "methods": [],
352
- "parts": [],
353
- "description": "构件 `ai-portal.home-container`"
354
- },
355
- {
356
- "name": "ai-portal.chat-box",
357
- "properties": [
358
- {
359
- "name": "disabled",
360
- "type": "boolean"
361
- },
362
- {
363
- "name": "placeholder",
364
- "type": "string"
365
- },
366
- {
367
- "name": "autoFocus",
368
- "type": "boolean"
369
- },
370
- {
371
- "name": "aiEmployees",
372
- "attribute": false,
373
- "type": "AIEmployee[]"
374
- },
375
- {
376
- "name": "commands",
377
- "attribute": false,
378
- "type": "Command[]"
379
- },
380
- {
381
- "name": "uploadOptions",
382
- "attribute": false,
383
- "type": "UploadOptions"
384
- }
385
- ],
386
- "events": [
387
- {
388
- "name": "message.submit",
389
- "description": "",
390
- "deprecated": "Use `chat.submit` event instead",
391
- "detail": {
392
- "type": "string"
393
- }
394
- },
395
- {
396
- "name": "chat.submit",
397
- "detail": {
398
- "type": "ChatPayload"
399
- }
400
- }
401
- ],
402
- "slots": [],
403
- "methods": [
404
- {
405
- "name": "setValue",
406
- "params": [
407
- {
408
- "name": "value",
409
- "type": "string"
410
- }
411
- ]
412
- },
413
- {
414
- "name": "getValue",
415
- "params": []
416
- },
417
- {
418
- "name": "focusOnInput",
419
- "params": []
550
+ ],
551
+ "description": "将指定对话标记为已移入项目,从历史列表中隐藏",
552
+ "returns": {}
420
553
  }
421
554
  ],
422
555
  "parts": [],
423
- "description": "大型聊天输入框,用于首页"
556
+ "description": "Elevo AI 侧边栏,包含 Logo 导航、新建对话、历史记录、项目列表及个人账户操作,支持折叠和抽屉两种行为模式。",
557
+ "category": "layout-component"
424
558
  },
425
559
  {
426
560
  "name": "ai-portal.icon-button",
@@ -457,21 +591,29 @@
457
591
  }
458
592
  ],
459
593
  "events": [],
460
- "slots": [],
594
+ "slots": [
595
+ {
596
+ "name": "default",
597
+ "description": "图标旁边的文字内容(可选)"
598
+ }
599
+ ],
461
600
  "methods": [],
462
601
  "parts": [],
463
- "description": "构件 `ai-portal.icon-button`"
602
+ "description": "图标按钮,支持多种视觉变体、禁用状态、Tooltip 提示及文字插槽。",
603
+ "category": "interact-basic"
464
604
  },
465
605
  {
466
606
  "name": "ai-portal.show-cases",
467
607
  "properties": [
468
608
  {
469
609
  "name": "list",
610
+ "description": "案例数据列表,每项可包含 scenario 字段用于分组筛选",
470
611
  "attribute": false,
471
612
  "type": "ShowCaseType[]"
472
613
  },
473
614
  {
474
615
  "name": "limit",
616
+ "description": "每个场景分组下最多显示的案例数量",
475
617
  "type": "number"
476
618
  }
477
619
  ],
@@ -479,7 +621,7 @@
479
621
  "slots": [],
480
622
  "methods": [],
481
623
  "parts": [],
482
- "description": "构件 `ai-portal.show-cases`"
624
+ "description": "构件 `ai-portal.show-cases`\n\n案例列表展示构件,支持按场景分组筛选,展示多个优秀案例卡片。"
483
625
  },
484
626
  {
485
627
  "name": "ai-portal.mcp-tools",
@@ -498,66 +640,15 @@
498
640
  "slots": [],
499
641
  "methods": [],
500
642
  "parts": [],
501
- "description": "构件 `ai-portal.mcp-tools`"
502
- },
503
- {
504
- "name": "ai-portal.ai-employees",
505
- "properties": [
506
- {
507
- "name": "list",
508
- "attribute": false,
509
- "type": "Employee[]"
510
- },
511
- {
512
- "name": "industries",
513
- "attribute": false,
514
- "type": "string[]"
515
- },
516
- {
517
- "name": "urlTemplate",
518
- "type": "string"
519
- },
520
- {
521
- "name": "stickyTop",
522
- "type": "number"
523
- }
524
- ],
525
- "events": [],
526
- "slots": [],
527
- "methods": [],
528
- "parts": [],
529
- "description": "构件 `ai-portal.ai-employees`"
530
- },
531
- {
532
- "name": "ai-portal.ai-agents",
533
- "properties": [
534
- {
535
- "name": "list",
536
- "attribute": false,
537
- "type": "Agent[]"
538
- },
539
- {
540
- "name": "urlTemplate",
541
- "type": "string"
542
- },
543
- {
544
- "name": "withContainer",
545
- "description": "",
546
- "deprecated": true,
547
- "default": "true"
548
- }
549
- ],
550
- "events": [],
551
- "slots": [],
552
- "methods": [],
553
- "parts": [],
554
- "description": "构件 `ai-portal.ai-agents`"
643
+ "description": "MCP 工具列表组件,按服务分组展示工具信息,支持按平台分类过滤和吸顶标签栏。",
644
+ "category": "display-component"
555
645
  },
556
646
  {
557
647
  "name": "ai-portal.chat-stream",
558
648
  "properties": [
559
649
  {
560
650
  "name": "conversationId",
651
+ "description": "对话 ID",
561
652
  "type": "string"
562
653
  },
563
654
  {
@@ -579,63 +670,77 @@
579
670
  },
580
671
  {
581
672
  "name": "supports",
673
+ "description": "功能开关配置,键为功能名,值为是否启用",
582
674
  "attribute": false,
583
675
  "type": "Record<string, boolean>"
584
676
  },
585
677
  {
586
678
  "name": "showHumanActions",
679
+ "description": "是否显示 Human-in-the-loop 操作按钮",
587
680
  "type": "boolean"
588
681
  },
589
682
  {
590
683
  "name": "showFeedback",
684
+ "description": "是否显示反馈按钮",
591
685
  "type": "boolean"
592
686
  },
593
687
  {
594
688
  "name": "showFeedbackAfterFailed",
689
+ "description": "是否在任务失败时也显示反馈按钮",
595
690
  "type": "boolean"
596
691
  },
597
692
  {
598
693
  "name": "showFeedbackOnView",
694
+ "description": "是否在查看生成视图时显示反馈按钮",
599
695
  "type": "boolean"
600
696
  },
601
697
  {
602
698
  "name": "showUiSwitch",
699
+ "description": "是否显示切换到画布视图的按钮",
603
700
  "type": "boolean"
604
701
  },
605
702
  {
606
703
  "name": "hideMermaid",
704
+ "description": "是否隐藏 Mermaid 图表渲染,通过 CSS 属性选择器控制样式",
607
705
  "type": "boolean"
608
706
  },
609
707
  {
610
708
  "name": "previewUrlTemplate",
709
+ "description": "生成视图预览页的 URL 模板,支持 {viewId} 等字段插值",
611
710
  "type": "string"
612
711
  },
613
712
  {
614
713
  "name": "showCases",
714
+ "description": "示例场景列表,用于在空对话时展示快速入口",
615
715
  "attribute": false,
616
716
  "type": "ShowCaseType[]"
617
717
  },
618
718
  {
619
719
  "name": "exampleProjects",
720
+ "description": "示例项目列表,用于展示可参考的已有项目",
620
721
  "attribute": false,
621
722
  "type": "ExampleProject[]"
622
723
  },
623
724
  {
624
725
  "name": "tryItOutUrl",
726
+ "description": "\"试一试\"跳转 URL",
625
727
  "type": "string"
626
728
  },
627
729
  {
628
730
  "name": "aiEmployees",
731
+ "description": "可 @ 提及的数字人列表",
629
732
  "attribute": false,
630
733
  "type": "AIEmployee[]"
631
734
  },
632
735
  {
633
736
  "name": "commands",
737
+ "description": "命令列表,支持通过 / 或搜索触发联想",
634
738
  "attribute": false,
635
739
  "type": "Command[]"
636
740
  },
637
741
  {
638
742
  "name": "uploadOptions",
743
+ "description": "文件上传配置",
639
744
  "attribute": false,
640
745
  "type": "UploadOptions"
641
746
  }
@@ -643,96 +748,186 @@
643
748
  "events": [
644
749
  {
645
750
  "name": "share",
751
+ "description": "",
646
752
  "detail": {
753
+ "description": "void",
647
754
  "type": "void"
648
755
  }
649
756
  },
650
757
  {
651
758
  "name": "terminate",
759
+ "description": "",
652
760
  "detail": {
761
+ "description": "void",
653
762
  "type": "void"
654
763
  }
655
764
  },
656
765
  {
657
766
  "name": "feedback.submit",
767
+ "description": "",
658
768
  "detail": {
769
+ "description": "{ plan: 计划步骤列表, result: 结果列表, feedback: 反馈文本 }",
659
770
  "type": "FeedbackDetail"
660
771
  }
661
772
  },
662
773
  {
663
774
  "name": "feedback.on.view",
775
+ "description": "",
664
776
  "detail": {
777
+ "description": "生成视图的 viewId",
665
778
  "type": "string"
666
779
  }
667
780
  },
668
781
  {
669
782
  "name": "ui.switch",
783
+ "description": "",
670
784
  "detail": {
785
+ "description": "切换目标 UI 模式,值为 \"canvas\"",
671
786
  "type": "\"canvas\""
672
787
  }
673
788
  },
674
789
  {
675
790
  "name": "detail.change",
791
+ "description": "",
676
792
  "detail": {
793
+ "description": "{ projectId: 关联的项目 ID }",
677
794
  "type": "ConversationDetail"
678
795
  }
679
796
  },
680
797
  {
681
798
  "name": "split.change",
799
+ "description": "",
682
800
  "detail": {
801
+ "description": "是否已切换到分屏模式",
683
802
  "type": "boolean"
684
803
  }
685
804
  }
686
805
  ],
687
806
  "slots": [],
688
- "methods": [
689
- {
690
- "name": "resumed",
691
- "params": []
692
- },
807
+ "methods": [
808
+ {
809
+ "name": "resumed",
810
+ "params": [],
811
+ "description": "通知组件任务已恢复,用于继续中断的对话",
812
+ "returns": {}
813
+ },
814
+ {
815
+ "name": "feedbackSubmitDone",
816
+ "params": [],
817
+ "description": "通知组件反馈提交成功",
818
+ "returns": {}
819
+ },
820
+ {
821
+ "name": "feedbackSubmitFailed",
822
+ "params": [],
823
+ "description": "通知组件反馈提交失败",
824
+ "returns": {}
825
+ },
826
+ {
827
+ "name": "feedbackOnViewDone",
828
+ "params": [
829
+ {
830
+ "name": "viewId",
831
+ "description": "对应的视图 ID",
832
+ "type": "string"
833
+ }
834
+ ],
835
+ "description": "通知组件查看视图的反馈处理完成",
836
+ "returns": {}
837
+ }
838
+ ],
839
+ "parts": [],
840
+ "description": "AI 对话流视图,以聊天气泡形式展示对话过程,支持文件上传、命令联想、回放及用户反馈等功能。",
841
+ "category": "ai-portal"
842
+ },
843
+ {
844
+ "name": "ai-portal.ai-employees",
845
+ "properties": [
846
+ {
847
+ "name": "list",
848
+ "description": "数字人列表数据",
849
+ "attribute": false,
850
+ "type": "Employee[]"
851
+ },
852
+ {
853
+ "name": "industries",
854
+ "description": "行业列表,用于指定 Tab 的顺序,未在此列表中的行业将按出现顺序附加在末尾",
855
+ "attribute": false,
856
+ "type": "string[]"
857
+ },
858
+ {
859
+ "name": "urlTemplate",
860
+ "description": "跳转到数字人详情页的 URL 模板,支持 {name} 等数字人字段插值",
861
+ "type": "string"
862
+ },
863
+ {
864
+ "name": "stickyTop",
865
+ "description": "行业 Tab 栏吸顶时距顶部的距离(px),不设置则不吸顶",
866
+ "type": "number"
867
+ }
868
+ ],
869
+ "events": [],
870
+ "slots": [],
871
+ "methods": [],
872
+ "parts": [],
873
+ "description": "AI 数字人卡片列表,按行业和角色分组展示,支持 Tab 切换行业和点击跳转。",
874
+ "category": "ai-portal"
875
+ },
876
+ {
877
+ "name": "ai-portal.ai-agents",
878
+ "properties": [
693
879
  {
694
- "name": "feedbackSubmitDone",
695
- "params": []
880
+ "name": "list",
881
+ "description": "AI Agent 列表数据",
882
+ "attribute": false,
883
+ "type": "Agent[]"
696
884
  },
697
885
  {
698
- "name": "feedbackSubmitFailed",
699
- "params": []
886
+ "name": "urlTemplate",
887
+ "description": "跳转到 Agent 详情页的 URL 模板,支持 {name} 等 Agent 字段插值",
888
+ "type": "string"
700
889
  },
701
890
  {
702
- "name": "feedbackOnViewDone",
703
- "params": [
704
- {
705
- "name": "viewId",
706
- "type": "string"
707
- }
708
- ]
891
+ "name": "withContainer",
892
+ "description": "",
893
+ "deprecated": true,
894
+ "default": "true"
709
895
  }
710
896
  ],
897
+ "events": [],
898
+ "slots": [],
899
+ "methods": [],
711
900
  "parts": [],
712
- "description": "构件 `ai-portal.chat-stream`"
901
+ "description": "AI Agents 卡片列表,展示可用的 AI 智能体,支持点击跳转到对应详情页。",
902
+ "category": "ai-portal"
713
903
  },
714
904
  {
715
905
  "name": "ai-portal.page-container",
716
906
  "properties": [
717
907
  {
718
908
  "name": "pageTitle",
909
+ "description": "页面标题,同时会调用 applyPageTitle 更新浏览器标签页标题",
719
910
  "type": "string"
720
911
  },
721
912
  {
722
913
  "name": "breadcrumbs",
914
+ "description": "面包屑导航配置,每项包含 text 和 url",
723
915
  "attribute": false,
724
916
  "type": "Breadcrumb[]"
725
917
  },
726
918
  {
727
919
  "name": "size",
920
+ "description": "内容区域宽度模式,通过 CSS attribute selector 控制样式,不触发重新渲染",
728
921
  "type": "\"medium\" | \"small\" | \"full\""
729
922
  },
730
923
  {
731
924
  "name": "variant",
925
+ "description": "页面变体,通过 CSS attribute selector 控制样式,不触发重新渲染",
732
926
  "type": "\"default\" | \"form\""
733
927
  },
734
928
  {
735
929
  "name": "sticky",
930
+ "description": "是否固定头部(含面包屑和标题)到页面顶部",
736
931
  "type": "boolean"
737
932
  },
738
933
  {
@@ -754,18 +949,20 @@
754
949
  ],
755
950
  "methods": [],
756
951
  "parts": [],
757
- "description": "构件 `ai-portal.page-container`"
952
+ "description": "构件 `ai-portal.page-container`\n\n页面容器构件,提供统一的页面布局,包含面包屑导航、页面标题和内容区域。"
758
953
  },
759
954
  {
760
955
  "name": "ai-portal.tab-list",
761
956
  "properties": [
762
957
  {
763
958
  "name": "tabs",
959
+ "description": "标签页配置列表,每项包含 id 和 label",
764
960
  "attribute": false,
765
961
  "type": "Tab[]"
766
962
  },
767
963
  {
768
964
  "name": "activeTab",
965
+ "description": "当前激活的标签页 id",
769
966
  "attribute": false,
770
967
  "type": "string"
771
968
  }
@@ -773,7 +970,9 @@
773
970
  "events": [
774
971
  {
775
972
  "name": "tab.click",
973
+ "description": "",
776
974
  "detail": {
975
+ "description": "{ id: 标签页ID, label: 标签页标题 }",
777
976
  "type": "Tab"
778
977
  }
779
978
  }
@@ -790,7 +989,7 @@
790
989
  "description": "The individual tab"
791
990
  }
792
991
  ],
793
- "description": "构件 `ai-portal.tab-list`"
992
+ "description": "构件 `ai-portal.tab-list`\n\n标签页列表构件,展示可切换的标签页,点击后触发事件并自动更新选中状态。"
794
993
  },
795
994
  {
796
995
  "name": "ai-portal.dropdown-select",
@@ -839,7 +1038,9 @@
839
1038
  "events": [
840
1039
  {
841
1040
  "name": "change",
1041
+ "description": "",
842
1042
  "detail": {
1043
+ "description": "{ label: 选项标签, value: 选项值 }",
843
1044
  "type": "DropdownOptions"
844
1045
  }
845
1046
  }
@@ -847,18 +1048,21 @@
847
1048
  "slots": [],
848
1049
  "methods": [],
849
1050
  "parts": [],
850
- "description": "构件 `ai-portal.dropdown-select`"
1051
+ "description": "下拉选择器,提供选项列表供用户选择,支持搜索过滤功能。",
1052
+ "category": "interact-basic"
851
1053
  },
852
1054
  {
853
1055
  "name": "ai-portal.preview-container",
854
1056
  "properties": [
855
1057
  {
856
1058
  "name": "source",
1059
+ "description": "TSX 源码字符串,将被解析并渲染为页面视图",
857
1060
  "attribute": false,
858
1061
  "type": "string"
859
1062
  },
860
1063
  {
861
1064
  "name": "url",
1065
+ "description": "渲染上下文中可访问的 URL,传入后可在视图内通过路由相关 API 使用",
862
1066
  "type": "string"
863
1067
  }
864
1068
  ],
@@ -866,86 +1070,29 @@
866
1070
  "slots": [],
867
1071
  "methods": [],
868
1072
  "parts": [],
869
- "description": "构件 `ai-portal.preview-container`"
870
- },
871
- {
872
- "name": "ai-portal.stat-with-mini-chart",
873
- "properties": [
874
- {
875
- "name": "label",
876
- "type": "string"
877
- },
878
- {
879
- "name": "value",
880
- "type": "string"
881
- },
882
- {
883
- "name": "size",
884
- "description": "",
885
- "default": "\"medium\"",
886
- "type": "\"medium\" | \"small\""
887
- },
888
- {
889
- "name": "lineColor",
890
- "description": "",
891
- "default": "\"var(--color-brand)\"",
892
- "type": "string"
893
- },
894
- {
895
- "name": "showArea",
896
- "type": "boolean"
897
- },
898
- {
899
- "name": "min",
900
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
901
- "type": "number"
902
- },
903
- {
904
- "name": "max",
905
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
906
- "type": "number"
907
- },
908
- {
909
- "name": "xField",
910
- "description": "",
911
- "default": "\"0\"",
912
- "type": "string"
913
- },
914
- {
915
- "name": "yField",
916
- "description": "",
917
- "default": "\"1\"",
918
- "type": "string"
919
- },
920
- {
921
- "name": "data",
922
- "attribute": false,
923
- "type": "Record<string, number>[]"
924
- }
925
- ],
926
- "events": [],
927
- "slots": [],
928
- "methods": [],
929
- "parts": [],
930
- "description": "构件 `ai-portal.stat-with-mini-chart`"
1073
+ "description": "构件 `ai-portal.preview-container`\n\nTSX 源码预览容器,将 TSX 源码字符串解析并渲染为完整的页面视图。"
931
1074
  },
932
1075
  {
933
1076
  "name": "ai-portal.action-buttons",
934
1077
  "properties": [
935
1078
  {
936
1079
  "name": "items",
1080
+ "description": "按钮列表配置,每项包含文本、唯一键值及可选图标",
937
1081
  "attribute": false,
938
1082
  "type": "ActionItem[]"
939
1083
  },
940
1084
  {
941
1085
  "name": "activeKey",
1086
+ "description": "当前选中按钮的键值,选中后显示删除图标,再次点击可取消选中",
942
1087
  "type": "string | null"
943
1088
  }
944
1089
  ],
945
1090
  "events": [
946
1091
  {
947
1092
  "name": "change",
1093
+ "description": "",
948
1094
  "detail": {
1095
+ "description": "{ key: 按钮键值, text: 按钮文本, icon: 按钮图标 } | null — 选中时为选中的 ActionItem,取消选中时为 null",
949
1096
  "type": "ActionItem | null"
950
1097
  }
951
1098
  }
@@ -953,7 +1100,8 @@
953
1100
  "slots": [],
954
1101
  "methods": [],
955
1102
  "parts": [],
956
- "description": "构件 `ai-portal.action-buttons`"
1103
+ "description": "动作按钮组,支持选中状态切换,用于聊天框的功能入口。",
1104
+ "category": "ai-portal"
957
1105
  },
958
1106
  {
959
1107
  "name": "ai-portal.goal-card-list",
@@ -976,25 +1124,33 @@
976
1124
  "events": [
977
1125
  {
978
1126
  "name": "item.click",
1127
+ "description": "",
979
1128
  "detail": {
1129
+ "description": "{ title: 目标标题, state: 目标状态, id: 序号, instanceId: 实例ID, level: 层级 }",
980
1130
  "type": "GoalItem"
981
1131
  }
982
1132
  },
983
1133
  {
984
1134
  "name": "item.status.change",
1135
+ "description": "",
985
1136
  "detail": {
1137
+ "description": "{ title: 目标标题, state: 更新后的目标状态, id: 序号, instanceId: 实例ID, level: 层级 }",
986
1138
  "type": "GoalItem"
987
1139
  }
988
1140
  },
989
1141
  {
990
1142
  "name": "item.title.change",
1143
+ "description": "",
991
1144
  "detail": {
1145
+ "description": "{ title: 更新后的标题, state: 目标状态, id: 序号, instanceId: 实例ID, level: 层级 }",
992
1146
  "type": "GoalItem"
993
1147
  }
994
1148
  },
995
1149
  {
996
1150
  "name": "item.new.chat",
1151
+ "description": "",
997
1152
  "detail": {
1153
+ "description": "{ title: 目标标题, state: 目标状态, id: 序号, instanceId: 实例ID, level: 层级 }",
998
1154
  "type": "GoalItem"
999
1155
  }
1000
1156
  }
@@ -1006,17 +1162,22 @@
1006
1162
  "params": [
1007
1163
  {
1008
1164
  "name": "pendingId",
1165
+ "description": "待定子目标的临时 instanceId",
1009
1166
  "type": "string"
1010
1167
  },
1011
1168
  {
1012
1169
  "name": "newItem",
1170
+ "description": "创建完成后的真实目标数据",
1013
1171
  "type": "GoalItem"
1014
1172
  }
1015
- ]
1173
+ ],
1174
+ "description": "将待定子目标提交为正式目标项",
1175
+ "returns": {}
1016
1176
  }
1017
1177
  ],
1018
1178
  "parts": [],
1019
- "description": "构件 `ai-portal.goal-card-list`"
1179
+ "description": "目标卡片列表,以分层卡片形式展示目标项,支持内联编辑标题、状态切换、新建对话及追加子目标。",
1180
+ "category": "display-component"
1020
1181
  },
1021
1182
  {
1022
1183
  "name": "ai-portal.project-conversations",
@@ -1065,15 +1226,18 @@
1065
1226
  "properties": [
1066
1227
  {
1067
1228
  "name": "list",
1229
+ "description": "知识列表数据,为 undefined 时显示加载状态",
1068
1230
  "attribute": false,
1069
1231
  "type": "Knowledge[]"
1070
1232
  },
1071
1233
  {
1072
1234
  "name": "urlTemplate",
1235
+ "description": "知识详情链接模板,支持使用知识字段插值",
1073
1236
  "type": "string"
1074
1237
  },
1075
1238
  {
1076
1239
  "name": "actions",
1240
+ "description": "操作菜单配置,每条知识行尾显示可操作的菜单项",
1077
1241
  "attribute": false,
1078
1242
  "type": "ActionType[]"
1079
1243
  }
@@ -1081,13 +1245,17 @@
1081
1245
  "events": [
1082
1246
  {
1083
1247
  "name": "action.click",
1248
+ "description": "",
1084
1249
  "detail": {
1250
+ "description": "{ action: 操作项配置, item: 所属知识数据 }",
1085
1251
  "type": "ActionClickDetail"
1086
1252
  }
1087
1253
  },
1088
1254
  {
1089
1255
  "name": "item.click",
1256
+ "description": "",
1090
1257
  "detail": {
1258
+ "description": "{ instanceId: 知识ID, name: 知识名称, description: 描述, time: 时间戳, user: 创建人 }",
1091
1259
  "type": "Knowledge"
1092
1260
  }
1093
1261
  }
@@ -1095,18 +1263,20 @@
1095
1263
  "slots": [],
1096
1264
  "methods": [],
1097
1265
  "parts": [],
1098
- "description": "构件 `ai-portal.project-knowledges`"
1266
+ "description": "构件 `ai-portal.project-knowledges`\n\n项目知识库列表构件,展示项目中的知识条目,支持操作菜单和点击跳转。"
1099
1267
  },
1100
1268
  {
1101
1269
  "name": "ai-portal.activity-timeline",
1102
1270
  "properties": [
1103
1271
  {
1104
1272
  "name": "list",
1273
+ "description": "活动记录列表",
1105
1274
  "attribute": false,
1106
1275
  "type": "Activity[]"
1107
1276
  },
1108
1277
  {
1109
1278
  "name": "chatUrlTemplate",
1279
+ "description": "跳转到对话详情页的 URL 模板,支持 {conversation_id} 等活动记录字段插值",
1110
1280
  "type": "string"
1111
1281
  }
1112
1282
  ],
@@ -1114,53 +1284,63 @@
1114
1284
  "slots": [],
1115
1285
  "methods": [],
1116
1286
  "parts": [],
1117
- "description": "构件 `ai-portal.activity-timeline`"
1287
+ "description": "活动时间线,展示目标的操作历史记录,支持多种动作类型的可视化展示。",
1288
+ "category": "ai-portal"
1118
1289
  },
1119
1290
  {
1120
1291
  "name": "ai-portal.chat-input",
1121
1292
  "properties": [
1122
1293
  {
1123
1294
  "name": "placeholder",
1295
+ "description": "输入框占位文字",
1124
1296
  "type": "string"
1125
1297
  },
1126
1298
  {
1127
1299
  "name": "autoFocus",
1300
+ "description": "是否自动聚焦",
1128
1301
  "type": "boolean"
1129
1302
  },
1130
1303
  {
1131
1304
  "name": "submitDisabled",
1305
+ "description": "是否禁用发送按钮,通常在 AI 正在处理时设为 true",
1132
1306
  "type": "boolean"
1133
1307
  },
1134
1308
  {
1135
1309
  "name": "supportsTerminate",
1310
+ "description": "是否显示终止任务按钮,需与 submitDisabled 配合使用",
1136
1311
  "type": "boolean"
1137
1312
  },
1138
1313
  {
1139
1314
  "name": "terminating",
1315
+ "description": "是否正在终止任务,为 true 时显示加载状态",
1140
1316
  "type": "boolean"
1141
1317
  },
1142
1318
  {
1143
1319
  "name": "autoFade",
1320
+ "description": "是否在输入框为空时自动淡出,通过 CSS 属性选择器控制样式",
1144
1321
  "type": "boolean"
1145
1322
  },
1146
1323
  {
1147
1324
  "name": "uploadOptions",
1325
+ "description": "文件上传配置",
1148
1326
  "attribute": false,
1149
1327
  "type": "UploadOptions"
1150
1328
  },
1151
1329
  {
1152
1330
  "name": "aiEmployees",
1331
+ "description": "可 @ 提及的数字人列表",
1153
1332
  "attribute": false,
1154
1333
  "type": "AIEmployee[]"
1155
1334
  },
1156
1335
  {
1157
1336
  "name": "commands",
1337
+ "description": "命令列表,支持通过 / 或搜索触发联想",
1158
1338
  "attribute": false,
1159
1339
  "type": "Command[]"
1160
1340
  },
1161
1341
  {
1162
1342
  "name": "suggestionsPlacement",
1163
- "description": "",
1343
+ "description": "命令/提及联想弹出层的显示位置",
1164
1344
  "default": "\"bottom\"",
1165
1345
  "type": "\"top\" | \"bottom\""
1166
1346
  }
@@ -1171,18 +1351,23 @@
1171
1351
  "description": "",
1172
1352
  "deprecated": "Use `chat.submit` event instead",
1173
1353
  "detail": {
1354
+ "description": "用户输入的消息文本内容",
1174
1355
  "type": "string"
1175
1356
  }
1176
1357
  },
1177
1358
  {
1178
1359
  "name": "chat.submit",
1360
+ "description": "",
1179
1361
  "detail": {
1362
+ "description": "{ content: 消息内容, files: 上传的文件列表, cmd: 命令载荷, aiEmployeeId: @提及的数字人 ID }",
1180
1363
  "type": "ChatPayload"
1181
1364
  }
1182
1365
  },
1183
1366
  {
1184
1367
  "name": "terminate",
1368
+ "description": "",
1185
1369
  "detail": {
1370
+ "description": "void",
1186
1371
  "type": "void"
1187
1372
  }
1188
1373
  }
@@ -1194,13 +1379,17 @@
1194
1379
  "params": [
1195
1380
  {
1196
1381
  "name": "value",
1382
+ "description": "要设置的文本内容",
1197
1383
  "type": "string"
1198
1384
  }
1199
- ]
1385
+ ],
1386
+ "description": "设置输入框的值并聚焦",
1387
+ "returns": {}
1200
1388
  }
1201
1389
  ],
1202
1390
  "parts": [],
1203
- "description": "小型聊天输入框,用于对话等页面"
1391
+ "description": "小型聊天输入框,用于对话等页面,支持命令联想、@提及数字人、文件上传及终止任务等功能。",
1392
+ "category": "ai-portal"
1204
1393
  },
1205
1394
  {
1206
1395
  "name": "ai-portal.elevo-logo",
@@ -1209,21 +1398,25 @@
1209
1398
  "slots": [],
1210
1399
  "methods": [],
1211
1400
  "parts": [],
1212
- "description": "构件 `ai-portal.elevo-logo`"
1401
+ "description": "Elevo 品牌 Logo 图片组件,固定展示 Elevo logo(95×28px)。",
1402
+ "category": "display-component"
1213
1403
  },
1214
1404
  {
1215
1405
  "name": "ai-portal.show-case",
1216
1406
  "properties": [
1217
1407
  {
1218
1408
  "name": "caseTitle",
1409
+ "description": "案例标题,同时用于计算卡片背景色",
1219
1410
  "type": "string"
1220
1411
  },
1221
1412
  {
1222
1413
  "name": "summary",
1414
+ "description": "案例摘要描述",
1223
1415
  "type": "string"
1224
1416
  },
1225
1417
  {
1226
1418
  "name": "url",
1419
+ "description": "点击卡片跳转的目标链接",
1227
1420
  "type": "string"
1228
1421
  }
1229
1422
  ],
@@ -1231,17 +1424,19 @@
1231
1424
  "slots": [],
1232
1425
  "methods": [],
1233
1426
  "parts": [],
1234
- "description": "构件 `ai-portal.show-case`"
1427
+ "description": "构件 `ai-portal.show-case`\n\n案例展示卡片构件,以彩色背景卡片展示单个优秀案例,点击可跳转到案例详情。"
1235
1428
  },
1236
1429
  {
1237
1430
  "name": "ai-portal.blank-state",
1238
1431
  "properties": [
1239
1432
  {
1240
1433
  "name": "illustration",
1434
+ "description": "插画类型,可选 \"goals\"、\"activities\"、\"collaboration-spaces\"、\"serviceflows\",默认使用 activities 插画",
1241
1435
  "type": "BlankStateIllustration"
1242
1436
  },
1243
1437
  {
1244
1438
  "name": "description",
1439
+ "description": "描述文字",
1245
1440
  "type": "string"
1246
1441
  }
1247
1442
  ],
@@ -1249,14 +1444,15 @@
1249
1444
  "slots": [],
1250
1445
  "methods": [],
1251
1446
  "parts": [],
1252
- "description": "构件 `ai-portal.blank-state`"
1447
+ "description": "空状态展示组件,提供预置插画和描述文字,并支持通过默认插槽插入自定义内容。",
1448
+ "category": "ai-portal"
1253
1449
  },
1254
1450
  {
1255
1451
  "name": "ai-portal.sticky-container",
1256
1452
  "properties": [
1257
1453
  {
1258
1454
  "name": "variant",
1259
- "description": "",
1455
+ "description": "变体风格,通过 CSS attribute selector 控制样式,不触发重新渲染",
1260
1456
  "default": "\"default\"",
1261
1457
  "type": "StickyContainerVariant"
1262
1458
  },
@@ -1283,7 +1479,7 @@
1283
1479
  ],
1284
1480
  "methods": [],
1285
1481
  "parts": [],
1286
- "description": "构件 `ai-portal.sticky-container`"
1482
+ "description": "构件 `ai-portal.sticky-container`\n\n粘性容器构件,使内容在页面滚动时固定在顶部。"
1287
1483
  },
1288
1484
  {
1289
1485
  "name": "ai-portal.elevo-card",
@@ -1311,10 +1507,20 @@
1311
1507
  }
1312
1508
  ],
1313
1509
  "events": [],
1314
- "slots": [],
1510
+ "slots": [
1511
+ {
1512
+ "name": "actions",
1513
+ "description": "卡片右上角操作区域"
1514
+ },
1515
+ {
1516
+ "name": "footer",
1517
+ "description": "卡片底部操作区域"
1518
+ }
1519
+ ],
1315
1520
  "methods": [],
1316
1521
  "parts": [],
1317
- "description": "构件 `ai-portal.elevo-card`"
1522
+ "description": "Elevo 风格的卡片组件,支持图标或图片头像、标题、描述、操作按钮及底部插槽。",
1523
+ "category": "display-component"
1318
1524
  },
1319
1525
  {
1320
1526
  "name": "ai-portal.flow-tabs",
@@ -1333,50 +1539,71 @@
1333
1539
  "events": [
1334
1540
  {
1335
1541
  "name": "tab.click",
1542
+ "description": "",
1336
1543
  "detail": {
1544
+ "description": "{ id: 标签 ID, label: 标签显示文本 }",
1337
1545
  "type": "Tab"
1338
1546
  }
1339
1547
  }
1340
1548
  ],
1341
- "slots": [],
1549
+ "slots": [
1550
+ {
1551
+ "name": "toolbar",
1552
+ "description": "标签栏右侧工具栏区域"
1553
+ },
1554
+ {
1555
+ "name": "default",
1556
+ "description": "标签页内容区域"
1557
+ }
1558
+ ],
1342
1559
  "methods": [],
1343
1560
  "parts": [],
1344
- "description": "构件 `ai-portal.flow-tabs`"
1561
+ "description": "流程标签页组件,提供带背景画布动效的标签导航,支持工具栏插槽和默认内容插槽。",
1562
+ "category": "navigate"
1345
1563
  },
1346
1564
  {
1347
1565
  "name": "ai-portal.stage-flow",
1348
1566
  "properties": [
1349
1567
  {
1350
1568
  "name": "spec",
1569
+ "description": "阶段流程配置数据,每个阶段包含名称和活动列表",
1351
1570
  "attribute": false,
1352
1571
  "type": "Stage[]"
1353
1572
  },
1354
1573
  {
1355
1574
  "name": "aiEmployees",
1575
+ "description": "AI 员工列表,用于在活动中显示分配的员工名称",
1356
1576
  "attribute": false,
1357
1577
  "type": "AIEmployee[]"
1358
1578
  },
1359
1579
  {
1360
1580
  "name": "readOnly",
1581
+ "description": "是否为只读模式,只读时不显示编辑、添加、删除操作",
1361
1582
  "type": "boolean"
1362
1583
  }
1363
1584
  ],
1364
1585
  "events": [
1365
1586
  {
1366
1587
  "name": "change",
1588
+ "description": "",
1367
1589
  "detail": {
1590
+ "description": "更新后的阶段列表",
1368
1591
  "type": "Stage[]"
1369
1592
  }
1370
1593
  },
1371
1594
  {
1372
1595
  "name": "add.activity",
1596
+ "description": "",
1373
1597
  "detail": {
1598
+ "description": "{ stage: 所属阶段数据 }",
1374
1599
  "type": "{ stage: Stage }"
1375
1600
  }
1376
1601
  },
1377
1602
  {
1378
1603
  "name": "edit.activity",
1604
+ "description": "",
1379
1605
  "detail": {
1606
+ "description": "{ stage: 所属阶段, activity: 活动数据, activityIndex: 活动索引 }",
1380
1607
  "type": "EditActivityDetail"
1381
1608
  }
1382
1609
  }
@@ -1388,53 +1615,67 @@
1388
1615
  "params": [
1389
1616
  {
1390
1617
  "name": "stage",
1618
+ "description": "目标阶段",
1391
1619
  "type": "Stage"
1392
1620
  },
1393
1621
  {
1394
1622
  "name": "activity",
1623
+ "description": "要添加的活动数据",
1395
1624
  "type": "FlowActivity"
1396
1625
  }
1397
- ]
1626
+ ],
1627
+ "description": "向指定阶段添加活动",
1628
+ "returns": {}
1398
1629
  },
1399
1630
  {
1400
1631
  "name": "editActivity",
1401
1632
  "params": [
1402
1633
  {
1403
1634
  "name": "stage",
1635
+ "description": "目标阶段",
1404
1636
  "type": "Stage"
1405
1637
  },
1406
1638
  {
1407
1639
  "name": "activity",
1640
+ "description": "更新后的活动数据",
1408
1641
  "type": "FlowActivity"
1409
1642
  },
1410
1643
  {
1411
1644
  "name": "activityIndex",
1645
+ "description": "活动在阶段中的索引",
1412
1646
  "type": "number"
1413
1647
  }
1414
- ]
1648
+ ],
1649
+ "description": "编辑指定阶段中的某个活动",
1650
+ "returns": {}
1415
1651
  },
1416
1652
  {
1417
1653
  "name": "deleteActivity",
1418
1654
  "params": [
1419
1655
  {
1420
1656
  "name": "stage",
1657
+ "description": "目标阶段",
1421
1658
  "type": "Stage"
1422
1659
  },
1423
1660
  {
1424
1661
  "name": "activityIndex",
1662
+ "description": "活动在阶段中的索引",
1425
1663
  "type": "number"
1426
1664
  }
1427
- ]
1665
+ ],
1666
+ "description": "删除指定阶段中的某个活动",
1667
+ "returns": {}
1428
1668
  }
1429
1669
  ],
1430
1670
  "parts": [],
1431
- "description": "构件 `ai-portal.stage-flow`"
1671
+ "description": "构件 `ai-portal.stage-flow`\n\n阶段流程编辑器构件,支持以泳道方式展示和编辑服务流的阶段与活动。"
1432
1672
  },
1433
1673
  {
1434
1674
  "name": "ai-portal.running-flow",
1435
1675
  "properties": [
1436
1676
  {
1437
1677
  "name": "spec",
1678
+ "description": "流程阶段配置数据,每个阶段包含名称和活动列表",
1438
1679
  "attribute": false,
1439
1680
  "type": "FlowStage[]"
1440
1681
  }
@@ -1442,7 +1683,9 @@
1442
1683
  "events": [
1443
1684
  {
1444
1685
  "name": "activity.click",
1686
+ "description": "",
1445
1687
  "detail": {
1688
+ "description": "活动的 taskId",
1446
1689
  "type": "string"
1447
1690
  }
1448
1691
  }
@@ -1450,10 +1693,10 @@
1450
1693
  "slots": [],
1451
1694
  "methods": [],
1452
1695
  "parts": [],
1453
- "description": "构件 `ai-portal.running-flow`"
1696
+ "description": "构件 `ai-portal.running-flow`\n\n运行中的流程视图构件,以泳道方式展示各阶段的活动及其运行状态(completed、working、input-required 等)。"
1454
1697
  },
1455
1698
  {
1456
- "name": "ai-portal.notice-list",
1699
+ "name": "ai-portal.notice-dropdown",
1457
1700
  "properties": [
1458
1701
  {
1459
1702
  "name": "dataSource",
@@ -1461,11 +1704,21 @@
1461
1704
  "attribute": false,
1462
1705
  "type": "NoticeItem[]"
1463
1706
  },
1707
+ {
1708
+ "name": "popoverPlacement",
1709
+ "description": "弹窗位置",
1710
+ "type": "Placement"
1711
+ },
1464
1712
  {
1465
1713
  "name": "emptyText",
1466
1714
  "description": "空状态文案",
1467
1715
  "type": "string"
1468
1716
  },
1717
+ {
1718
+ "name": "notifyCenterUrl",
1719
+ "description": "通知中心URL",
1720
+ "type": "string"
1721
+ },
1469
1722
  {
1470
1723
  "name": "urlTemplate",
1471
1724
  "description": "详情链接",
@@ -1477,32 +1730,34 @@
1477
1730
  "type": "Target"
1478
1731
  },
1479
1732
  {
1480
- "name": "selectedIds",
1481
- "description": "选中的消息 ID 数组",
1733
+ "name": "dropdownMaxWidth",
1734
+ "description": "下拉框最大宽度",
1735
+ "type": "string | number"
1736
+ },
1737
+ {
1738
+ "name": "dropdownContentStyle",
1739
+ "description": "下拉框内容样式",
1482
1740
  "attribute": false,
1483
- "type": "string[]"
1741
+ "type": "React.CSSProperties"
1742
+ },
1743
+ {
1744
+ "name": "hideNotifyCenterButton",
1745
+ "description": "是否隐藏进入消息中心按钮",
1746
+ "type": "boolean"
1484
1747
  }
1485
1748
  ],
1486
1749
  "events": [
1487
1750
  {
1488
1751
  "name": "notice.click",
1489
- "description": "消息项点击事件",
1752
+ "description": "",
1490
1753
  "detail": {
1491
- "description": "消息项数据",
1754
+ "description": "{ id: 消息ID, type: 消息类型, isRead: 是否已读, title: 标题, description: 描述, time: 时间戳, url: 详情链接 }",
1492
1755
  "type": "NoticeItem"
1493
1756
  }
1494
1757
  },
1495
- {
1496
- "name": "mark.items.read",
1497
- "description": "标记消息项已读事件",
1498
- "detail": {
1499
- "description": "选中的消息 ID 数组",
1500
- "type": "NoticeItem[]"
1501
- }
1502
- },
1503
1758
  {
1504
1759
  "name": "mark.all.read",
1505
- "description": "全部已读事件",
1760
+ "description": "",
1506
1761
  "detail": {
1507
1762
  "type": "void"
1508
1763
  }
@@ -1511,10 +1766,10 @@
1511
1766
  "slots": [],
1512
1767
  "methods": [],
1513
1768
  "parts": [],
1514
- "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1769
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1515
1770
  },
1516
1771
  {
1517
- "name": "ai-portal.notice-dropdown",
1772
+ "name": "ai-portal.notice-list",
1518
1773
  "properties": [
1519
1774
  {
1520
1775
  "name": "dataSource",
@@ -1522,21 +1777,11 @@
1522
1777
  "attribute": false,
1523
1778
  "type": "NoticeItem[]"
1524
1779
  },
1525
- {
1526
- "name": "popoverPlacement",
1527
- "description": "弹窗位置",
1528
- "type": "Placement"
1529
- },
1530
1780
  {
1531
1781
  "name": "emptyText",
1532
1782
  "description": "空状态文案",
1533
1783
  "type": "string"
1534
1784
  },
1535
- {
1536
- "name": "notifyCenterUrl",
1537
- "description": "通知中心URL",
1538
- "type": "string"
1539
- },
1540
1785
  {
1541
1786
  "name": "urlTemplate",
1542
1787
  "description": "详情链接",
@@ -1548,20 +1793,10 @@
1548
1793
  "type": "Target"
1549
1794
  },
1550
1795
  {
1551
- "name": "dropdownMaxWidth",
1552
- "description": "下拉框最大宽度",
1553
- "type": "string | number"
1554
- },
1555
- {
1556
- "name": "dropdownContentStyle",
1557
- "description": "下拉框内容样式",
1796
+ "name": "selectedIds",
1797
+ "description": "选中的消息 ID 数组",
1558
1798
  "attribute": false,
1559
- "type": "React.CSSProperties"
1560
- },
1561
- {
1562
- "name": "hideNotifyCenterButton",
1563
- "description": "是否隐藏进入消息中心按钮",
1564
- "type": "boolean"
1799
+ "type": "string[]"
1565
1800
  }
1566
1801
  ],
1567
1802
  "events": [
@@ -1569,13 +1804,21 @@
1569
1804
  "name": "notice.click",
1570
1805
  "description": "消息项点击事件",
1571
1806
  "detail": {
1572
- "description": "消息 ID",
1807
+ "description": "消息项数据",
1573
1808
  "type": "NoticeItem"
1574
1809
  }
1575
1810
  },
1811
+ {
1812
+ "name": "mark.items.read",
1813
+ "description": "标记消息项已读事件",
1814
+ "detail": {
1815
+ "description": "选中的消息 ID 数组",
1816
+ "type": "NoticeItem[]"
1817
+ }
1818
+ },
1576
1819
  {
1577
1820
  "name": "mark.all.read",
1578
- "description": "全部已读点击事件",
1821
+ "description": "全部已读事件",
1579
1822
  "detail": {
1580
1823
  "type": "void"
1581
1824
  }
@@ -1584,52 +1827,59 @@
1584
1827
  "slots": [],
1585
1828
  "methods": [],
1586
1829
  "parts": [],
1587
- "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1830
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1588
1831
  },
1589
1832
  {
1590
1833
  "name": "ai-portal.chat-panel",
1591
1834
  "properties": [
1592
1835
  {
1593
1836
  "name": "panelTitle",
1837
+ "description": "面板标题",
1594
1838
  "type": "string"
1595
1839
  },
1596
1840
  {
1597
1841
  "name": "aiEmployeeId",
1842
+ "description": "预设数字人 ID,对话提交时会携带该 ID",
1598
1843
  "type": "string"
1599
1844
  },
1600
1845
  {
1601
1846
  "name": "cmd",
1847
+ "description": "预设命令载荷,对话提交时会携带该命令",
1602
1848
  "attribute": false,
1603
1849
  "type": "CommandPayload"
1604
1850
  },
1605
1851
  {
1606
1852
  "name": "width",
1853
+ "description": "面板宽度",
1607
1854
  "attribute": false,
1608
1855
  "type": "string | number"
1609
1856
  },
1610
1857
  {
1611
1858
  "name": "height",
1859
+ "description": "面板高度",
1612
1860
  "attribute": false,
1613
1861
  "type": "string | number"
1614
1862
  },
1615
1863
  {
1616
1864
  "name": "placeholder",
1865
+ "description": "输入框占位文字",
1617
1866
  "type": "string"
1618
1867
  },
1619
1868
  {
1620
1869
  "name": "uploadOptions",
1870
+ "description": "文件上传配置",
1621
1871
  "attribute": false,
1622
1872
  "type": "UploadOptions"
1623
1873
  },
1624
1874
  {
1625
1875
  "name": "help",
1626
- "description": "Show help messages when no conversation exists.",
1876
+ "description": "无对话时显示的帮助内容配置",
1627
1877
  "attribute": false,
1628
1878
  "type": "{ useBrick: UseBrickConf }"
1629
1879
  },
1630
1880
  {
1631
1881
  "name": "maskClosable",
1632
- "description": "Whether to close the panel when clicking the mask.",
1882
+ "description": "是否点击遮罩关闭面板",
1633
1883
  "default": "false",
1634
1884
  "type": "boolean"
1635
1885
  }
@@ -1639,48 +1889,63 @@
1639
1889
  "methods": [
1640
1890
  {
1641
1891
  "name": "open",
1642
- "params": []
1892
+ "params": [],
1893
+ "description": "打开对话面板",
1894
+ "returns": {}
1643
1895
  },
1644
1896
  {
1645
1897
  "name": "close",
1646
- "params": []
1898
+ "params": [],
1899
+ "description": "关闭对话面板",
1900
+ "returns": {}
1647
1901
  },
1648
1902
  {
1649
1903
  "name": "setInputValue",
1650
1904
  "params": [
1651
1905
  {
1652
1906
  "name": "content",
1907
+ "description": "要设置的文本内容",
1653
1908
  "type": "string"
1654
1909
  }
1655
- ]
1910
+ ],
1911
+ "description": "设置输入框的内容",
1912
+ "returns": {}
1656
1913
  },
1657
1914
  {
1658
1915
  "name": "send",
1659
1916
  "params": [
1660
1917
  {
1661
1918
  "name": "payload",
1919
+ "description": "消息载荷,包含文本内容及可选的文件、命令等",
1662
1920
  "type": "ChatPayload"
1663
1921
  }
1664
- ]
1922
+ ],
1923
+ "description": "直接发送一条消息",
1924
+ "returns": {}
1665
1925
  },
1666
1926
  {
1667
1927
  "name": "showFile",
1668
1928
  "params": [
1669
1929
  {
1670
1930
  "name": "file",
1931
+ "description": "要预览的文件信息",
1671
1932
  "type": "FileInfo"
1672
1933
  }
1673
- ]
1934
+ ],
1935
+ "description": "在面板中显示文件预览",
1936
+ "returns": {}
1674
1937
  }
1675
1938
  ],
1676
1939
  "parts": [],
1677
- "description": "弹出式对话面板。"
1940
+ "description": "弹出式 AI 对话面板,以模态框形式展示对话界面,支持与 AI 助手进行多轮对话。",
1941
+ "category": "ai-portal"
1678
1942
  },
1679
1943
  {
1680
1944
  "name": "ai-portal.space-logo",
1681
1945
  "properties": [
1682
1946
  {
1683
1947
  "name": "size",
1948
+ "description": "Logo 容器尺寸(px),图标为容器的 87.5%,圆角为容器的 25%,默认 48",
1684
1949
  "type": "number"
1685
1950
  }
1686
1951
  ],
@@ -1695,6 +1960,7 @@
1695
1960
  "properties": [
1696
1961
  {
1697
1962
  "name": "text",
1963
+ "description": "欢迎语文本内容",
1698
1964
  "type": "string"
1699
1965
  }
1700
1966
  ],
@@ -1702,13 +1968,14 @@
1702
1968
  "slots": [],
1703
1969
  "methods": [],
1704
1970
  "parts": [],
1705
- "description": "构件 `ai-portal.chat-panel-welcome`"
1971
+ "description": "构件 `ai-portal.chat-panel-welcome`\n\n聊天面板欢迎语构件,展示带有 Elevo 头像的欢迎消息。"
1706
1972
  },
1707
1973
  {
1708
1974
  "name": "ai-portal.space-chat-guide",
1709
1975
  "properties": [
1710
1976
  {
1711
1977
  "name": "spaceDetail",
1978
+ "description": "空间详情信息,必填,用于展示空间相关的引导内容",
1712
1979
  "attribute": false,
1713
1980
  "type": "SpaceDetail"
1714
1981
  }
@@ -1717,32 +1984,37 @@
1717
1984
  "slots": [],
1718
1985
  "methods": [],
1719
1986
  "parts": [],
1720
- "description": "构件 `ai-portal.space-chat-guide`"
1987
+ "description": "构件 `ai-portal.space-chat-guide`\n\n空间聊天引导构件,根据空间详情展示引导信息,帮助用户快速开始聊天。"
1721
1988
  },
1722
1989
  {
1723
1990
  "name": "ai-portal.space-workbench",
1724
1991
  "properties": [
1725
1992
  {
1726
1993
  "name": "notices",
1994
+ "description": "消息通知列表",
1727
1995
  "attribute": false,
1728
1996
  "type": "NoticeItem[]"
1729
1997
  },
1730
1998
  {
1731
1999
  "name": "knowledges",
2000
+ "description": "知识库列表",
1732
2001
  "attribute": false,
1733
2002
  "type": "KnowledgeItem[]"
1734
2003
  },
1735
2004
  {
1736
2005
  "name": "spaceDetail",
2006
+ "description": "空间详情信息,必填",
1737
2007
  "attribute": false,
1738
2008
  "type": "SpaceDetail"
1739
2009
  },
1740
2010
  {
1741
2011
  "name": "notifyCenterUrl",
2012
+ "description": "消息中心跳转链接,必填",
1742
2013
  "type": "string"
1743
2014
  },
1744
2015
  {
1745
2016
  "name": "uploadOptions",
2017
+ "description": "文件上传配置选项",
1746
2018
  "attribute": false,
1747
2019
  "type": "UploadOptions"
1748
2020
  }
@@ -1750,42 +2022,51 @@
1750
2022
  "events": [
1751
2023
  {
1752
2024
  "name": "go.back",
2025
+ "description": "",
1753
2026
  "detail": {
1754
2027
  "type": "void"
1755
2028
  }
1756
2029
  },
1757
2030
  {
1758
2031
  "name": "members.click",
2032
+ "description": "",
1759
2033
  "detail": {
1760
2034
  "type": "void"
1761
2035
  }
1762
2036
  },
1763
2037
  {
1764
2038
  "name": "notice.click",
2039
+ "description": "",
1765
2040
  "detail": {
2041
+ "description": "{ id: 消息ID, type: 消息类型, isRead: 是否已读, title: 标题, time: 时间戳 }",
1766
2042
  "type": "NoticeItem"
1767
2043
  }
1768
2044
  },
1769
2045
  {
1770
2046
  "name": "mark.all.read",
2047
+ "description": "",
1771
2048
  "detail": {
1772
2049
  "type": "void"
1773
2050
  }
1774
2051
  },
1775
2052
  {
1776
2053
  "name": "space.edit",
2054
+ "description": "",
1777
2055
  "detail": {
1778
2056
  "type": "void"
1779
2057
  }
1780
2058
  },
1781
2059
  {
1782
2060
  "name": "knowledge.click",
2061
+ "description": "",
1783
2062
  "detail": {
2063
+ "description": "知识条目数据",
1784
2064
  "type": "KnowledgeItem"
1785
2065
  }
1786
2066
  },
1787
2067
  {
1788
2068
  "name": "knowledge.add",
2069
+ "description": "",
1789
2070
  "detail": {
1790
2071
  "type": "void"
1791
2072
  }
@@ -1794,7 +2075,7 @@
1794
2075
  "slots": [],
1795
2076
  "methods": [],
1796
2077
  "parts": [],
1797
- "description": "构件 `ai-portal.space-workbench`"
2078
+ "description": "构件 `ai-portal.space-workbench`\n\n协作空间工作台,集成顶部导航、侧边栏(知识库、业务实例)、聊天区域和服务流等核心功能的一体化工作台构件。"
1798
2079
  }
1799
2080
  ],
1800
2081
  "providers": [
@@ -1811,10 +2092,10 @@
1811
2092
  "name": "ai-portal.clear-request-store"
1812
2093
  },
1813
2094
  {
1814
- "name": "ai-portal.set-chat-mentioned-employee"
2095
+ "name": "ai-portal.set-chat-command"
1815
2096
  },
1816
2097
  {
1817
- "name": "ai-portal.set-chat-command"
2098
+ "name": "ai-portal.set-chat-mentioned-employee"
1818
2099
  }
1819
2100
  ]
1820
2101
  }