@next-bricks/ai-portal 0.63.6 → 0.64.1

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 (36) hide show
  1. package/dist/bricks.json +59 -59
  2. package/dist/chunks/{4208.f9256bec.js → 4208.9bc0e6c6.js} +2 -2
  3. package/dist/chunks/4208.9bc0e6c6.js.map +1 -0
  4. package/dist/chunks/4820.d2a30e2c.js +2 -0
  5. package/dist/chunks/4820.d2a30e2c.js.map +1 -0
  6. package/dist/chunks/{chat-box.aa5fd1e3.js → chat-box.3ae83b4f.js} +3 -3
  7. package/dist/chunks/chat-box.3ae83b4f.js.map +1 -0
  8. package/dist/chunks/chat-input.e913e9ed.js +3 -0
  9. package/dist/chunks/chat-input.e913e9ed.js.map +1 -0
  10. package/dist/chunks/chat-panel.a5cadc0d.js +2 -0
  11. package/dist/chunks/chat-panel.a5cadc0d.js.map +1 -0
  12. package/dist/chunks/main.62ff99bd.js +2 -0
  13. package/dist/chunks/{main.ae8bf1bb.js.map → main.62ff99bd.js.map} +1 -1
  14. package/dist/examples.json +26 -26
  15. package/dist/index.a9bf242c.js +2 -0
  16. package/dist/index.a9bf242c.js.map +1 -0
  17. package/dist/manifest.json +570 -539
  18. package/dist/types.json +2668 -1831
  19. package/dist-types/chat-input/index.d.ts +1 -0
  20. package/dist-types/chat-panel/index.d.ts +18 -0
  21. package/dist-types/jsx.d.ts +5 -1
  22. package/dist-types/shared/interfaces.d.ts +16 -1
  23. package/package.json +2 -2
  24. package/dist/chunks/4208.f9256bec.js.map +0 -1
  25. package/dist/chunks/4820.2f5fb327.js +0 -2
  26. package/dist/chunks/4820.2f5fb327.js.map +0 -1
  27. package/dist/chunks/chat-box.aa5fd1e3.js.map +0 -1
  28. package/dist/chunks/chat-input.eb5871d4.js +0 -3
  29. package/dist/chunks/chat-input.eb5871d4.js.map +0 -1
  30. package/dist/chunks/chat-panel.d783204f.js +0 -2
  31. package/dist/chunks/chat-panel.d783204f.js.map +0 -1
  32. package/dist/chunks/main.ae8bf1bb.js +0 -2
  33. package/dist/index.49603b89.js +0 -2
  34. package/dist/index.49603b89.js.map +0 -1
  35. /package/dist/chunks/{chat-box.aa5fd1e3.js.LICENSE.txt → chat-box.3ae83b4f.js.LICENSE.txt} +0 -0
  36. /package/dist/chunks/{chat-input.eb5871d4.js.LICENSE.txt → chat-input.e913e9ed.js.LICENSE.txt} +0 -0
@@ -4,409 +4,400 @@
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
6
  {
7
- "name": "ai-portal.chat-box",
7
+ "name": "ai-portal.cruise-canvas",
8
8
  "properties": [
9
9
  {
10
- "name": "disabled",
11
- "type": "boolean"
12
- },
13
- {
14
- "name": "placeholder",
10
+ "name": "conversationId",
15
11
  "type": "string"
16
12
  },
17
13
  {
18
- "name": "autoFocus",
19
- "type": "boolean"
20
- },
21
- {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
25
- },
26
- {
27
- "name": "commands",
14
+ "name": "initialRequest",
15
+ "description": "初始请求数据。仅初始设置有效。",
28
16
  "attribute": false,
29
- "type": "Command[]"
17
+ "type": "RequestStore | null"
30
18
  },
31
19
  {
32
- "name": "uploadOptions",
33
- "attribute": false,
34
- "type": "UploadOptions"
35
- }
36
- ],
37
- "events": [
38
- {
39
- "name": "message.submit",
40
- "description": "",
41
- "deprecated": "Use `chat.submit` event instead",
42
- "detail": {
43
- "type": "string"
44
- }
20
+ "name": "replay",
21
+ "description": "是否启用回放。仅初始设置有效。",
22
+ "type": "boolean"
45
23
  },
46
24
  {
47
- "name": "chat.submit",
48
- "detail": {
49
- "type": "ChatPayload"
50
- }
51
- }
52
- ],
53
- "slots": [],
54
- "methods": [
55
- {
56
- "name": "setValue",
57
- "params": [
58
- {
59
- "name": "value",
60
- "type": "string"
61
- }
62
- ]
25
+ "name": "replayDelay",
26
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
27
+ "default": "2",
28
+ "type": "number"
63
29
  },
64
30
  {
65
- "name": "getValue",
66
- "params": []
31
+ "name": "supports",
32
+ "attribute": false,
33
+ "type": "Record<string, boolean>"
67
34
  },
68
35
  {
69
- "name": "focusOnInput",
70
- "params": []
71
- }
72
- ],
73
- "parts": [],
74
- "description": "大型聊天输入框,用于首页"
75
- },
76
- {
77
- "name": "ai-portal.elevo-sidebar",
78
- "properties": [
79
- {
80
- "name": "userInstanceId",
81
- "type": "string"
36
+ "name": "showHiddenJobs",
37
+ "type": "boolean"
82
38
  },
83
39
  {
84
- "name": "behavior",
85
- "type": "\"default\" | \"drawer\""
40
+ "name": "showHumanActions",
41
+ "type": "boolean"
86
42
  },
87
43
  {
88
- "name": "logoUrl",
89
- "type": "string"
44
+ "name": "showFeedback",
45
+ "type": "boolean"
90
46
  },
91
47
  {
92
- "name": "newChatUrl",
93
- "type": "string"
48
+ "name": "showFeedbackAfterFailed",
49
+ "type": "boolean"
94
50
  },
95
51
  {
96
- "name": "newChatLinkWhenCollapsed",
52
+ "name": "showFeedbackOnView",
97
53
  "type": "boolean"
98
54
  },
99
55
  {
100
- "name": "historyUrlTemplate",
101
- "type": "string"
56
+ "name": "showUiSwitch",
57
+ "type": "boolean"
102
58
  },
103
59
  {
104
- "name": "historyActions",
105
- "attribute": false,
106
- "type": "ActionType[]"
60
+ "name": "hideMermaid",
61
+ "type": "boolean"
107
62
  },
108
63
  {
109
- "name": "showProjects",
64
+ "name": "showJsxEditor",
110
65
  "type": "boolean"
111
66
  },
112
67
  {
113
- "name": "projectUrlTemplate",
68
+ "name": "previewUrlTemplate",
114
69
  "type": "string"
115
70
  },
116
71
  {
117
- "name": "projectActions",
72
+ "name": "showCases",
118
73
  "attribute": false,
119
- "type": "ActionType[]"
74
+ "type": "ShowCaseType[]"
120
75
  },
121
76
  {
122
- "name": "personalActions",
77
+ "name": "exampleProjects",
123
78
  "attribute": false,
124
- "type": "ActionType[]"
79
+ "type": "ExampleProject[]"
125
80
  },
126
81
  {
127
- "name": "links",
128
- "attribute": false,
129
- "type": "SidebarLink[]"
82
+ "name": "tryItOutUrl",
83
+ "type": "string"
130
84
  },
131
85
  {
132
- "name": "canAddProject",
133
- "type": "boolean",
134
- "default": "true"
86
+ "name": "separateInstructions",
87
+ "type": "boolean"
135
88
  },
136
89
  {
137
- "name": "myLinks",
90
+ "name": "aiEmployees",
138
91
  "attribute": false,
139
- "type": "SidebarLink[]"
92
+ "type": "AIEmployee[]"
140
93
  },
141
94
  {
142
- "name": "scope",
143
- "description": "",
144
- "default": "\"default\"",
145
- "type": "\"default\" | \"space\""
95
+ "name": "commands",
96
+ "attribute": false,
97
+ "type": "Command[]"
146
98
  },
147
99
  {
148
- "name": "spaceNav",
100
+ "name": "uploadOptions",
149
101
  "attribute": false,
150
- "type": "SpaceNavProps"
102
+ "type": "UploadOptions"
151
103
  }
152
104
  ],
153
105
  "events": [
154
106
  {
155
- "name": "logout",
107
+ "name": "share",
156
108
  "detail": {
157
109
  "type": "void"
158
110
  }
159
111
  },
160
112
  {
161
- "name": "action.click",
162
- "description": "点击对话历史操作按钮时触发",
113
+ "name": "terminate",
163
114
  "detail": {
164
- "type": "ActionClickDetail"
115
+ "type": "void"
165
116
  }
166
117
  },
167
118
  {
168
- "name": "project.action.click",
169
- "description": "点击项目操作按钮时触发",
119
+ "name": "feedback.submit",
170
120
  "detail": {
171
- "type": "ProjectActionClickDetail"
121
+ "type": "FeedbackDetail"
172
122
  }
173
123
  },
174
124
  {
175
- "name": "add.project",
125
+ "name": "feedback.on.view",
176
126
  "detail": {
177
- "type": "void"
127
+ "type": "string"
178
128
  }
179
129
  },
180
130
  {
181
- "name": "add.serviceflow",
131
+ "name": "ui.switch",
182
132
  "detail": {
183
- "type": "void"
133
+ "type": "\"chat\""
184
134
  }
185
135
  },
186
136
  {
187
- "name": "personal.action.click",
188
- "description": "点击个人操作按钮时触发",
137
+ "name": "detail.change",
189
138
  "detail": {
190
- "type": "PersonalActionClickDetail"
139
+ "type": "ConversationDetail"
191
140
  }
192
141
  }
193
142
  ],
194
143
  "slots": [],
195
144
  "methods": [
196
145
  {
197
- "name": "pullHistory",
198
- "params": [
199
- {
200
- "name": "delay",
201
- "description": "Delay in milliseconds before pulling the latest chat history.",
202
- "type": "number"
203
- }
204
- ],
205
- "description": "",
206
- "returns": {}
207
- },
208
- {
209
- "name": "open",
146
+ "name": "resumed",
210
147
  "params": []
211
148
  },
212
149
  {
213
- "name": "close",
150
+ "name": "feedbackSubmitDone",
214
151
  "params": []
215
152
  },
216
153
  {
217
- "name": "removeProject",
218
- "params": [
219
- {
220
- "name": "projectId",
221
- "type": "string"
222
- }
223
- ]
224
- },
225
- {
226
- "name": "addProject",
227
- "params": [
228
- {
229
- "name": "project",
230
- "type": "Project"
231
- }
232
- ]
154
+ "name": "feedbackSubmitFailed",
155
+ "params": []
233
156
  },
234
157
  {
235
- "name": "moveConversation",
158
+ "name": "feedbackOnViewDone",
236
159
  "params": [
237
160
  {
238
- "name": "conversationId",
161
+ "name": "viewId",
239
162
  "type": "string"
240
163
  }
241
164
  ]
242
165
  }
243
166
  ],
244
167
  "parts": [],
245
- "description": "构件 `ai-portal.elevo-sidebar`"
168
+ "description": "构件 `ai-portal.cruise-canvas`"
246
169
  },
247
170
  {
248
- "name": "ai-portal.cruise-canvas",
171
+ "name": "ai-portal.stat-with-mini-chart",
249
172
  "properties": [
250
173
  {
251
- "name": "conversationId",
174
+ "name": "label",
252
175
  "type": "string"
253
176
  },
254
177
  {
255
- "name": "initialRequest",
256
- "description": "初始请求数据。仅初始设置有效。",
257
- "attribute": false,
258
- "type": "RequestStore | null"
178
+ "name": "value",
179
+ "type": "string"
259
180
  },
260
181
  {
261
- "name": "replay",
262
- "description": "是否启用回放。仅初始设置有效。",
182
+ "name": "size",
183
+ "description": "",
184
+ "default": "\"medium\"",
185
+ "type": "\"medium\" | \"small\""
186
+ },
187
+ {
188
+ "name": "lineColor",
189
+ "description": "",
190
+ "default": "\"var(--color-brand)\"",
191
+ "type": "string"
192
+ },
193
+ {
194
+ "name": "showArea",
263
195
  "type": "boolean"
264
196
  },
265
197
  {
266
- "name": "replayDelay",
267
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
268
- "default": "2",
198
+ "name": "min",
199
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
269
200
  "type": "number"
270
201
  },
271
202
  {
272
- "name": "supports",
273
- "attribute": false,
274
- "type": "Record<string, boolean>"
203
+ "name": "max",
204
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
205
+ "type": "number"
275
206
  },
276
207
  {
277
- "name": "showHiddenJobs",
278
- "type": "boolean"
208
+ "name": "xField",
209
+ "description": "",
210
+ "default": "\"0\"",
211
+ "type": "string"
279
212
  },
280
213
  {
281
- "name": "showHumanActions",
282
- "type": "boolean"
214
+ "name": "yField",
215
+ "description": "",
216
+ "default": "\"1\"",
217
+ "type": "string"
283
218
  },
284
219
  {
285
- "name": "showFeedback",
286
- "type": "boolean"
220
+ "name": "data",
221
+ "attribute": false,
222
+ "type": "Record<string, number>[]"
223
+ }
224
+ ],
225
+ "events": [],
226
+ "slots": [],
227
+ "methods": [],
228
+ "parts": [],
229
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
230
+ },
231
+ {
232
+ "name": "ai-portal.elevo-sidebar",
233
+ "properties": [
234
+ {
235
+ "name": "userInstanceId",
236
+ "type": "string"
287
237
  },
288
238
  {
289
- "name": "showFeedbackAfterFailed",
290
- "type": "boolean"
239
+ "name": "behavior",
240
+ "type": "\"default\" | \"drawer\""
291
241
  },
292
242
  {
293
- "name": "showFeedbackOnView",
294
- "type": "boolean"
243
+ "name": "logoUrl",
244
+ "type": "string"
295
245
  },
296
246
  {
297
- "name": "showUiSwitch",
298
- "type": "boolean"
247
+ "name": "newChatUrl",
248
+ "type": "string"
299
249
  },
300
250
  {
301
- "name": "hideMermaid",
251
+ "name": "newChatLinkWhenCollapsed",
302
252
  "type": "boolean"
303
253
  },
304
254
  {
305
- "name": "showJsxEditor",
255
+ "name": "historyUrlTemplate",
256
+ "type": "string"
257
+ },
258
+ {
259
+ "name": "historyActions",
260
+ "attribute": false,
261
+ "type": "ActionType[]"
262
+ },
263
+ {
264
+ "name": "showProjects",
306
265
  "type": "boolean"
307
266
  },
308
267
  {
309
- "name": "previewUrlTemplate",
268
+ "name": "projectUrlTemplate",
310
269
  "type": "string"
311
270
  },
312
271
  {
313
- "name": "showCases",
272
+ "name": "projectActions",
314
273
  "attribute": false,
315
- "type": "ShowCaseType[]"
274
+ "type": "ActionType[]"
316
275
  },
317
276
  {
318
- "name": "exampleProjects",
277
+ "name": "personalActions",
319
278
  "attribute": false,
320
- "type": "ExampleProject[]"
279
+ "type": "ActionType[]"
321
280
  },
322
281
  {
323
- "name": "tryItOutUrl",
324
- "type": "string"
282
+ "name": "links",
283
+ "attribute": false,
284
+ "type": "SidebarLink[]"
325
285
  },
326
286
  {
327
- "name": "separateInstructions",
328
- "type": "boolean"
287
+ "name": "canAddProject",
288
+ "type": "boolean",
289
+ "default": "true"
329
290
  },
330
291
  {
331
- "name": "aiEmployees",
292
+ "name": "myLinks",
332
293
  "attribute": false,
333
- "type": "AIEmployee[]"
294
+ "type": "SidebarLink[]"
334
295
  },
335
296
  {
336
- "name": "commands",
337
- "attribute": false,
338
- "type": "Command[]"
297
+ "name": "scope",
298
+ "description": "",
299
+ "default": "\"default\"",
300
+ "type": "\"default\" | \"space\""
339
301
  },
340
302
  {
341
- "name": "uploadOptions",
303
+ "name": "spaceNav",
342
304
  "attribute": false,
343
- "type": "UploadOptions"
305
+ "type": "SpaceNavProps"
344
306
  }
345
307
  ],
346
308
  "events": [
347
309
  {
348
- "name": "share",
310
+ "name": "logout",
349
311
  "detail": {
350
312
  "type": "void"
351
313
  }
352
314
  },
353
315
  {
354
- "name": "terminate",
316
+ "name": "action.click",
317
+ "description": "点击对话历史操作按钮时触发",
355
318
  "detail": {
356
- "type": "void"
319
+ "type": "ActionClickDetail"
357
320
  }
358
321
  },
359
322
  {
360
- "name": "feedback.submit",
323
+ "name": "project.action.click",
324
+ "description": "点击项目操作按钮时触发",
361
325
  "detail": {
362
- "type": "FeedbackDetail"
326
+ "type": "ProjectActionClickDetail"
363
327
  }
364
328
  },
365
329
  {
366
- "name": "feedback.on.view",
330
+ "name": "add.project",
367
331
  "detail": {
368
- "type": "string"
332
+ "type": "void"
369
333
  }
370
334
  },
371
335
  {
372
- "name": "ui.switch",
336
+ "name": "add.serviceflow",
373
337
  "detail": {
374
- "type": "\"chat\""
338
+ "type": "void"
375
339
  }
376
340
  },
377
341
  {
378
- "name": "detail.change",
342
+ "name": "personal.action.click",
343
+ "description": "点击个人操作按钮时触发",
379
344
  "detail": {
380
- "type": "ConversationDetail"
345
+ "type": "PersonalActionClickDetail"
381
346
  }
382
347
  }
383
348
  ],
384
349
  "slots": [],
385
350
  "methods": [
386
351
  {
387
- "name": "resumed",
388
- "params": []
352
+ "name": "pullHistory",
353
+ "params": [
354
+ {
355
+ "name": "delay",
356
+ "description": "Delay in milliseconds before pulling the latest chat history.",
357
+ "type": "number"
358
+ }
359
+ ],
360
+ "description": "",
361
+ "returns": {}
389
362
  },
390
363
  {
391
- "name": "feedbackSubmitDone",
364
+ "name": "open",
392
365
  "params": []
393
366
  },
394
367
  {
395
- "name": "feedbackSubmitFailed",
368
+ "name": "close",
396
369
  "params": []
397
370
  },
398
371
  {
399
- "name": "feedbackOnViewDone",
372
+ "name": "removeProject",
400
373
  "params": [
401
374
  {
402
- "name": "viewId",
375
+ "name": "projectId",
376
+ "type": "string"
377
+ }
378
+ ]
379
+ },
380
+ {
381
+ "name": "addProject",
382
+ "params": [
383
+ {
384
+ "name": "project",
385
+ "type": "Project"
386
+ }
387
+ ]
388
+ },
389
+ {
390
+ "name": "moveConversation",
391
+ "params": [
392
+ {
393
+ "name": "conversationId",
403
394
  "type": "string"
404
395
  }
405
396
  ]
406
397
  }
407
398
  ],
408
399
  "parts": [],
409
- "description": "构件 `ai-portal.cruise-canvas`"
400
+ "description": "构件 `ai-portal.elevo-sidebar`"
410
401
  },
411
402
  {
412
403
  "name": "ai-portal.icon-button",
@@ -449,84 +440,37 @@
449
440
  "description": "构件 `ai-portal.icon-button`"
450
441
  },
451
442
  {
452
- "name": "ai-portal.stat-with-mini-chart",
443
+ "name": "ai-portal.show-cases",
453
444
  "properties": [
454
445
  {
455
- "name": "label",
456
- "type": "string"
457
- },
458
- {
459
- "name": "value",
460
- "type": "string"
461
- },
462
- {
463
- "name": "size",
464
- "description": "",
465
- "default": "\"medium\"",
466
- "type": "\"medium\" | \"small\""
467
- },
468
- {
469
- "name": "lineColor",
470
- "description": "",
471
- "default": "\"var(--color-brand)\"",
472
- "type": "string"
473
- },
474
- {
475
- "name": "showArea",
476
- "type": "boolean"
477
- },
478
- {
479
- "name": "min",
480
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
481
- "type": "number"
446
+ "name": "list",
447
+ "attribute": false,
448
+ "type": "ShowCaseType[]"
482
449
  },
483
450
  {
484
- "name": "max",
485
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
451
+ "name": "limit",
486
452
  "type": "number"
487
- },
488
- {
489
- "name": "xField",
490
- "description": "",
491
- "default": "\"0\"",
492
- "type": "string"
493
- },
494
- {
495
- "name": "yField",
496
- "description": "",
497
- "default": "\"1\"",
498
- "type": "string"
499
- },
500
- {
501
- "name": "data",
502
- "attribute": false,
503
- "type": "Record<string, number>[]"
504
453
  }
505
454
  ],
506
455
  "events": [],
507
456
  "slots": [],
508
457
  "methods": [],
509
458
  "parts": [],
510
- "description": "构件 `ai-portal.stat-with-mini-chart`"
459
+ "description": "构件 `ai-portal.show-cases`"
511
460
  },
512
461
  {
513
- "name": "ai-portal.show-cases",
462
+ "name": "ai-portal.home-container",
514
463
  "properties": [
515
464
  {
516
- "name": "list",
517
- "attribute": false,
518
- "type": "ShowCaseType[]"
519
- },
520
- {
521
- "name": "limit",
522
- "type": "number"
465
+ "name": "sticky",
466
+ "type": "boolean"
523
467
  }
524
468
  ],
525
469
  "events": [],
526
470
  "slots": [],
527
471
  "methods": [],
528
472
  "parts": [],
529
- "description": "构件 `ai-portal.show-cases`"
473
+ "description": "构件 `ai-portal.home-container`"
530
474
  },
531
475
  {
532
476
  "name": "ai-portal.mcp-tools",
@@ -548,57 +492,74 @@
548
492
  "description": "构件 `ai-portal.mcp-tools`"
549
493
  },
550
494
  {
551
- "name": "ai-portal.ai-agents",
495
+ "name": "ai-portal.chat-box",
552
496
  "properties": [
553
497
  {
554
- "name": "list",
555
- "attribute": false,
556
- "type": "Agent[]"
498
+ "name": "disabled",
499
+ "type": "boolean"
557
500
  },
558
501
  {
559
- "name": "urlTemplate",
502
+ "name": "placeholder",
560
503
  "type": "string"
561
504
  },
562
505
  {
563
- "name": "withContainer",
564
- "description": "",
565
- "deprecated": true,
566
- "default": "true"
567
- }
568
- ],
569
- "events": [],
570
- "slots": [],
571
- "methods": [],
572
- "parts": [],
573
- "description": "构件 `ai-portal.ai-agents`"
574
- },
575
- {
576
- "name": "ai-portal.ai-employees",
577
- "properties": [
506
+ "name": "autoFocus",
507
+ "type": "boolean"
508
+ },
578
509
  {
579
- "name": "list",
510
+ "name": "aiEmployees",
580
511
  "attribute": false,
581
- "type": "Employee[]"
512
+ "type": "AIEmployee[]"
582
513
  },
583
514
  {
584
- "name": "industries",
515
+ "name": "commands",
585
516
  "attribute": false,
586
- "type": "string[]"
517
+ "type": "Command[]"
587
518
  },
588
519
  {
589
- "name": "urlTemplate",
590
- "type": "string"
520
+ "name": "uploadOptions",
521
+ "attribute": false,
522
+ "type": "UploadOptions"
523
+ }
524
+ ],
525
+ "events": [
526
+ {
527
+ "name": "message.submit",
528
+ "description": "",
529
+ "deprecated": "Use `chat.submit` event instead",
530
+ "detail": {
531
+ "type": "string"
532
+ }
591
533
  },
592
534
  {
593
- "name": "stickyTop",
594
- "type": "number"
535
+ "name": "chat.submit",
536
+ "detail": {
537
+ "type": "ChatPayload"
538
+ }
595
539
  }
596
540
  ],
597
- "events": [],
598
541
  "slots": [],
599
- "methods": [],
542
+ "methods": [
543
+ {
544
+ "name": "setValue",
545
+ "params": [
546
+ {
547
+ "name": "value",
548
+ "type": "string"
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "name": "getValue",
554
+ "params": []
555
+ },
556
+ {
557
+ "name": "focusOnInput",
558
+ "params": []
559
+ }
560
+ ],
600
561
  "parts": [],
601
- "description": "构件 `ai-portal.ai-employees`"
562
+ "description": "大型聊天输入框,用于首页"
602
563
  },
603
564
  {
604
565
  "name": "ai-portal.chat-stream",
@@ -738,25 +699,78 @@
738
699
  "params": []
739
700
  },
740
701
  {
741
- "name": "feedbackSubmitDone",
742
- "params": []
702
+ "name": "feedbackSubmitDone",
703
+ "params": []
704
+ },
705
+ {
706
+ "name": "feedbackSubmitFailed",
707
+ "params": []
708
+ },
709
+ {
710
+ "name": "feedbackOnViewDone",
711
+ "params": [
712
+ {
713
+ "name": "viewId",
714
+ "type": "string"
715
+ }
716
+ ]
717
+ }
718
+ ],
719
+ "parts": [],
720
+ "description": "构件 `ai-portal.chat-stream`"
721
+ },
722
+ {
723
+ "name": "ai-portal.ai-employees",
724
+ "properties": [
725
+ {
726
+ "name": "list",
727
+ "attribute": false,
728
+ "type": "Employee[]"
729
+ },
730
+ {
731
+ "name": "industries",
732
+ "attribute": false,
733
+ "type": "string[]"
734
+ },
735
+ {
736
+ "name": "urlTemplate",
737
+ "type": "string"
738
+ },
739
+ {
740
+ "name": "stickyTop",
741
+ "type": "number"
742
+ }
743
+ ],
744
+ "events": [],
745
+ "slots": [],
746
+ "methods": [],
747
+ "parts": [],
748
+ "description": "构件 `ai-portal.ai-employees`"
749
+ },
750
+ {
751
+ "name": "ai-portal.ai-agents",
752
+ "properties": [
753
+ {
754
+ "name": "list",
755
+ "attribute": false,
756
+ "type": "Agent[]"
743
757
  },
744
758
  {
745
- "name": "feedbackSubmitFailed",
746
- "params": []
759
+ "name": "urlTemplate",
760
+ "type": "string"
747
761
  },
748
762
  {
749
- "name": "feedbackOnViewDone",
750
- "params": [
751
- {
752
- "name": "viewId",
753
- "type": "string"
754
- }
755
- ]
763
+ "name": "withContainer",
764
+ "description": "",
765
+ "deprecated": true,
766
+ "default": "true"
756
767
  }
757
768
  ],
769
+ "events": [],
770
+ "slots": [],
771
+ "methods": [],
758
772
  "parts": [],
759
- "description": "构件 `ai-portal.chat-stream`"
773
+ "description": "构件 `ai-portal.ai-agents`"
760
774
  },
761
775
  {
762
776
  "name": "ai-portal.page-container",
@@ -839,6 +853,32 @@
839
853
  ],
840
854
  "description": "构件 `ai-portal.tab-list`"
841
855
  },
856
+ {
857
+ "name": "ai-portal.action-buttons",
858
+ "properties": [
859
+ {
860
+ "name": "items",
861
+ "attribute": false,
862
+ "type": "ActionItem[]"
863
+ },
864
+ {
865
+ "name": "activeKey",
866
+ "type": "string | null"
867
+ }
868
+ ],
869
+ "events": [
870
+ {
871
+ "name": "change",
872
+ "detail": {
873
+ "type": "ActionItem | null"
874
+ }
875
+ }
876
+ ],
877
+ "slots": [],
878
+ "methods": [],
879
+ "parts": [],
880
+ "description": "构件 `ai-portal.action-buttons`"
881
+ },
842
882
  {
843
883
  "name": "ai-portal.dropdown-select",
844
884
  "properties": [
@@ -915,88 +955,6 @@
915
955
  "parts": [],
916
956
  "description": "构件 `ai-portal.preview-container`"
917
957
  },
918
- {
919
- "name": "ai-portal.home-container",
920
- "properties": [
921
- {
922
- "name": "sticky",
923
- "type": "boolean"
924
- }
925
- ],
926
- "events": [],
927
- "slots": [],
928
- "methods": [],
929
- "parts": [],
930
- "description": "构件 `ai-portal.home-container`"
931
- },
932
- {
933
- "name": "ai-portal.action-buttons",
934
- "properties": [
935
- {
936
- "name": "items",
937
- "attribute": false,
938
- "type": "ActionItem[]"
939
- },
940
- {
941
- "name": "activeKey",
942
- "type": "string | null"
943
- }
944
- ],
945
- "events": [
946
- {
947
- "name": "change",
948
- "detail": {
949
- "type": "ActionItem | null"
950
- }
951
- }
952
- ],
953
- "slots": [],
954
- "methods": [],
955
- "parts": [],
956
- "description": "构件 `ai-portal.action-buttons`"
957
- },
958
- {
959
- "name": "ai-portal.project-conversations",
960
- "properties": [
961
- {
962
- "name": "list",
963
- "attribute": false,
964
- "type": "Conversation[]"
965
- },
966
- {
967
- "name": "urlTemplate",
968
- "type": "string"
969
- },
970
- {
971
- "name": "actions",
972
- "attribute": false,
973
- "type": "ActionType[]"
974
- },
975
- {
976
- "name": "goals",
977
- "attribute": false,
978
- "type": "Goal[]"
979
- }
980
- ],
981
- "events": [
982
- {
983
- "name": "goal.click",
984
- "detail": {
985
- "type": "Conversation"
986
- }
987
- },
988
- {
989
- "name": "action.click",
990
- "detail": {
991
- "type": "ActionClickDetail"
992
- }
993
- }
994
- ],
995
- "slots": [],
996
- "methods": [],
997
- "parts": [],
998
- "description": "构件 `ai-portal.project-conversations`"
999
- },
1000
958
  {
1001
959
  "name": "ai-portal.goal-card-list",
1002
960
  "properties": [
@@ -1060,6 +1018,48 @@
1060
1018
  "parts": [],
1061
1019
  "description": "构件 `ai-portal.goal-card-list`"
1062
1020
  },
1021
+ {
1022
+ "name": "ai-portal.project-conversations",
1023
+ "properties": [
1024
+ {
1025
+ "name": "list",
1026
+ "attribute": false,
1027
+ "type": "Conversation[]"
1028
+ },
1029
+ {
1030
+ "name": "urlTemplate",
1031
+ "type": "string"
1032
+ },
1033
+ {
1034
+ "name": "actions",
1035
+ "attribute": false,
1036
+ "type": "ActionType[]"
1037
+ },
1038
+ {
1039
+ "name": "goals",
1040
+ "attribute": false,
1041
+ "type": "Goal[]"
1042
+ }
1043
+ ],
1044
+ "events": [
1045
+ {
1046
+ "name": "goal.click",
1047
+ "detail": {
1048
+ "type": "Conversation"
1049
+ }
1050
+ },
1051
+ {
1052
+ "name": "action.click",
1053
+ "detail": {
1054
+ "type": "ActionClickDetail"
1055
+ }
1056
+ }
1057
+ ],
1058
+ "slots": [],
1059
+ "methods": [],
1060
+ "parts": [],
1061
+ "description": "构件 `ai-portal.project-conversations`"
1062
+ },
1063
1063
  {
1064
1064
  "name": "ai-portal.project-knowledges",
1065
1065
  "properties": [
@@ -1188,7 +1188,17 @@
1188
1188
  }
1189
1189
  ],
1190
1190
  "slots": [],
1191
- "methods": [],
1191
+ "methods": [
1192
+ {
1193
+ "name": "setValue",
1194
+ "params": [
1195
+ {
1196
+ "name": "value",
1197
+ "type": "string"
1198
+ }
1199
+ ]
1200
+ }
1201
+ ],
1192
1202
  "parts": [],
1193
1203
  "description": "小型聊天输入框,用于对话等页面"
1194
1204
  },
@@ -1242,169 +1252,69 @@
1242
1252
  "description": "构件 `ai-portal.blank-state`"
1243
1253
  },
1244
1254
  {
1245
- "name": "ai-portal.sticky-container",
1246
- "properties": [
1247
- {
1248
- "name": "variant",
1249
- "description": "",
1250
- "default": "\"default\"",
1251
- "type": "StickyContainerVariant"
1252
- },
1253
- {
1254
- "name": "textContent",
1255
- "type": "string",
1256
- "description": "文本内容"
1257
- }
1258
- ],
1259
- "events": [],
1260
- "slots": [
1261
- {
1262
- "name": null,
1263
- "description": "内容"
1264
- },
1265
- {
1266
- "name": "header",
1267
- "description": "头部"
1268
- },
1269
- {
1270
- "name": "toolbar",
1271
- "description": "工具栏"
1272
- }
1273
- ],
1274
- "methods": [],
1275
- "parts": [],
1276
- "description": "构件 `ai-portal.sticky-container`"
1277
- },
1278
- {
1279
- "name": "ai-portal.elevo-card",
1280
- "properties": [
1281
- {
1282
- "name": "cardTitle",
1283
- "type": "string"
1284
- },
1285
- {
1286
- "name": "description",
1287
- "type": "string"
1288
- },
1289
- {
1290
- "name": "url",
1291
- "type": "string"
1292
- },
1293
- {
1294
- "name": "avatar",
1295
- "attribute": false,
1296
- "type": "string | GeneralIconProps"
1297
- },
1298
- {
1299
- "name": "avatarType",
1300
- "type": "\"icon\" | \"image\""
1301
- }
1302
- ],
1303
- "events": [],
1304
- "slots": [],
1305
- "methods": [],
1306
- "parts": [],
1307
- "description": "构件 `ai-portal.elevo-card`"
1308
- },
1309
- {
1310
- "name": "ai-portal.flow-tabs",
1255
+ "name": "ai-portal.sticky-container",
1311
1256
  "properties": [
1312
1257
  {
1313
- "name": "tabs",
1314
- "attribute": false,
1315
- "type": "Tab[]"
1258
+ "name": "variant",
1259
+ "description": "",
1260
+ "default": "\"default\"",
1261
+ "type": "StickyContainerVariant"
1316
1262
  },
1317
1263
  {
1318
- "name": "activeTab",
1319
- "attribute": false,
1320
- "type": "string"
1264
+ "name": "textContent",
1265
+ "type": "string",
1266
+ "description": "文本内容"
1321
1267
  }
1322
1268
  ],
1323
- "events": [
1269
+ "events": [],
1270
+ "slots": [
1324
1271
  {
1325
- "name": "tab.click",
1326
- "detail": {
1327
- "type": "Tab"
1328
- }
1272
+ "name": null,
1273
+ "description": "内容"
1274
+ },
1275
+ {
1276
+ "name": "header",
1277
+ "description": "头部"
1278
+ },
1279
+ {
1280
+ "name": "toolbar",
1281
+ "description": "工具栏"
1329
1282
  }
1330
1283
  ],
1331
- "slots": [],
1332
1284
  "methods": [],
1333
1285
  "parts": [],
1334
- "description": "构件 `ai-portal.flow-tabs`"
1286
+ "description": "构件 `ai-portal.sticky-container`"
1335
1287
  },
1336
1288
  {
1337
- "name": "ai-portal.notice-dropdown",
1289
+ "name": "ai-portal.elevo-card",
1338
1290
  "properties": [
1339
1291
  {
1340
- "name": "dataSource",
1341
- "description": "消息数据列表",
1342
- "attribute": false,
1343
- "type": "NoticeItem[]"
1344
- },
1345
- {
1346
- "name": "popoverPlacement",
1347
- "description": "弹窗位置",
1348
- "type": "Placement"
1349
- },
1350
- {
1351
- "name": "emptyText",
1352
- "description": "空状态文案",
1292
+ "name": "cardTitle",
1353
1293
  "type": "string"
1354
1294
  },
1355
1295
  {
1356
- "name": "notifyCenterUrl",
1357
- "description": "通知中心URL",
1296
+ "name": "description",
1358
1297
  "type": "string"
1359
1298
  },
1360
1299
  {
1361
- "name": "urlTemplate",
1362
- "description": "详情链接",
1300
+ "name": "url",
1363
1301
  "type": "string"
1364
1302
  },
1365
1303
  {
1366
- "name": "urlTarget",
1367
- "description": "详情链接目标",
1368
- "type": "Target"
1369
- },
1370
- {
1371
- "name": "dropdownMaxWidth",
1372
- "description": "下拉框最大宽度",
1373
- "type": "string | number"
1374
- },
1375
- {
1376
- "name": "dropdownContentStyle",
1377
- "description": "下拉框内容样式",
1304
+ "name": "avatar",
1378
1305
  "attribute": false,
1379
- "type": "React.CSSProperties"
1380
- },
1381
- {
1382
- "name": "hideNotifyCenterButton",
1383
- "description": "是否隐藏进入消息中心按钮",
1384
- "type": "boolean"
1385
- }
1386
- ],
1387
- "events": [
1388
- {
1389
- "name": "notice.click",
1390
- "description": "消息项点击事件",
1391
- "detail": {
1392
- "description": "消息 ID",
1393
- "type": "NoticeItem"
1394
- }
1306
+ "type": "string | GeneralIconProps"
1395
1307
  },
1396
1308
  {
1397
- "name": "mark.all.read",
1398
- "description": "全部已读点击事件",
1399
- "detail": {
1400
- "type": "void"
1401
- }
1309
+ "name": "avatarType",
1310
+ "type": "\"icon\" | \"image\""
1402
1311
  }
1403
1312
  ],
1313
+ "events": [],
1404
1314
  "slots": [],
1405
1315
  "methods": [],
1406
1316
  "parts": [],
1407
- "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1317
+ "description": "构件 `ai-portal.elevo-card`"
1408
1318
  },
1409
1319
  {
1410
1320
  "name": "ai-portal.stage-flow",
@@ -1493,6 +1403,33 @@
1493
1403
  "parts": [],
1494
1404
  "description": "构件 `ai-portal.stage-flow`"
1495
1405
  },
1406
+ {
1407
+ "name": "ai-portal.flow-tabs",
1408
+ "properties": [
1409
+ {
1410
+ "name": "tabs",
1411
+ "attribute": false,
1412
+ "type": "Tab[]"
1413
+ },
1414
+ {
1415
+ "name": "activeTab",
1416
+ "attribute": false,
1417
+ "type": "string"
1418
+ }
1419
+ ],
1420
+ "events": [
1421
+ {
1422
+ "name": "tab.click",
1423
+ "detail": {
1424
+ "type": "Tab"
1425
+ }
1426
+ }
1427
+ ],
1428
+ "slots": [],
1429
+ "methods": [],
1430
+ "parts": [],
1431
+ "description": "构件 `ai-portal.flow-tabs`"
1432
+ },
1496
1433
  {
1497
1434
  "name": "ai-portal.running-flow",
1498
1435
  "properties": [
@@ -1520,7 +1457,7 @@
1520
1457
  "description": "构件 `ai-portal.running-flow`"
1521
1458
  },
1522
1459
  {
1523
- "name": "ai-portal.notice-list",
1460
+ "name": "ai-portal.notice-dropdown",
1524
1461
  "properties": [
1525
1462
  {
1526
1463
  "name": "dataSource",
@@ -1528,11 +1465,21 @@
1528
1465
  "attribute": false,
1529
1466
  "type": "NoticeItem[]"
1530
1467
  },
1468
+ {
1469
+ "name": "popoverPlacement",
1470
+ "description": "弹窗位置",
1471
+ "type": "Placement"
1472
+ },
1531
1473
  {
1532
1474
  "name": "emptyText",
1533
1475
  "description": "空状态文案",
1534
1476
  "type": "string"
1535
1477
  },
1478
+ {
1479
+ "name": "notifyCenterUrl",
1480
+ "description": "通知中心URL",
1481
+ "type": "string"
1482
+ },
1536
1483
  {
1537
1484
  "name": "urlTemplate",
1538
1485
  "description": "详情链接",
@@ -1544,10 +1491,20 @@
1544
1491
  "type": "Target"
1545
1492
  },
1546
1493
  {
1547
- "name": "selectedIds",
1548
- "description": "选中的消息 ID 数组",
1494
+ "name": "dropdownMaxWidth",
1495
+ "description": "下拉框最大宽度",
1496
+ "type": "string | number"
1497
+ },
1498
+ {
1499
+ "name": "dropdownContentStyle",
1500
+ "description": "下拉框内容样式",
1549
1501
  "attribute": false,
1550
- "type": "string[]"
1502
+ "type": "React.CSSProperties"
1503
+ },
1504
+ {
1505
+ "name": "hideNotifyCenterButton",
1506
+ "description": "是否隐藏进入消息中心按钮",
1507
+ "type": "boolean"
1551
1508
  }
1552
1509
  ],
1553
1510
  "events": [
@@ -1555,21 +1512,13 @@
1555
1512
  "name": "notice.click",
1556
1513
  "description": "消息项点击事件",
1557
1514
  "detail": {
1558
- "description": "消息项数据",
1515
+ "description": "消息 ID",
1559
1516
  "type": "NoticeItem"
1560
1517
  }
1561
1518
  },
1562
- {
1563
- "name": "mark.items.read",
1564
- "description": "标记消息项已读事件",
1565
- "detail": {
1566
- "description": "选中的消息 ID 数组",
1567
- "type": "NoticeItem[]"
1568
- }
1569
- },
1570
1519
  {
1571
1520
  "name": "mark.all.read",
1572
- "description": "全部已读事件",
1521
+ "description": "全部已读点击事件",
1573
1522
  "detail": {
1574
1523
  "type": "void"
1575
1524
  }
@@ -1578,30 +1527,59 @@
1578
1527
  "slots": [],
1579
1528
  "methods": [],
1580
1529
  "parts": [],
1581
- "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1530
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1582
1531
  },
1583
1532
  {
1584
- "name": "ai-portal.gantt-chart",
1533
+ "name": "ai-portal.notice-list",
1585
1534
  "properties": [
1586
1535
  {
1587
- "name": "chartTitle",
1536
+ "name": "dataSource",
1537
+ "description": "消息数据列表",
1538
+ "attribute": false,
1539
+ "type": "NoticeItem[]"
1540
+ },
1541
+ {
1542
+ "name": "emptyText",
1543
+ "description": "空状态文案",
1588
1544
  "type": "string"
1589
1545
  },
1590
1546
  {
1591
- "name": "nodes",
1547
+ "name": "urlTemplate",
1548
+ "description": "详情链接",
1549
+ "type": "string"
1550
+ },
1551
+ {
1552
+ "name": "urlTarget",
1553
+ "description": "详情链接目标",
1554
+ "type": "Target"
1555
+ },
1556
+ {
1557
+ "name": "selectedIds",
1558
+ "description": "选中的消息 ID 数组",
1592
1559
  "attribute": false,
1593
- "type": "GanttNode[]"
1560
+ "type": "string[]"
1594
1561
  }
1595
1562
  ],
1596
1563
  "events": [
1597
1564
  {
1598
- "name": "node.click",
1565
+ "name": "notice.click",
1566
+ "description": "消息项点击事件",
1599
1567
  "detail": {
1600
- "type": "GanttNode"
1568
+ "description": "消息项数据",
1569
+ "type": "NoticeItem"
1601
1570
  }
1602
1571
  },
1603
1572
  {
1604
- "name": "fullscreen.click",
1573
+ "name": "mark.items.read",
1574
+ "description": "标记消息项已读事件",
1575
+ "detail": {
1576
+ "description": "选中的消息 ID 数组",
1577
+ "type": "NoticeItem[]"
1578
+ }
1579
+ },
1580
+ {
1581
+ "name": "mark.all.read",
1582
+ "description": "全部已读事件",
1605
1583
  "detail": {
1606
1584
  "type": "void"
1607
1585
  }
@@ -1610,7 +1588,7 @@
1610
1588
  "slots": [],
1611
1589
  "methods": [],
1612
1590
  "parts": [],
1613
- "description": "构件 `ai-portal.gantt-chart`"
1591
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1614
1592
  },
1615
1593
  {
1616
1594
  "name": "ai-portal.chat-panel",
@@ -1646,6 +1624,18 @@
1646
1624
  "name": "uploadOptions",
1647
1625
  "attribute": false,
1648
1626
  "type": "UploadOptions"
1627
+ },
1628
+ {
1629
+ "name": "help",
1630
+ "description": "Show help messages when no conversation exists.",
1631
+ "attribute": false,
1632
+ "type": "{ useBrick: UseBrickConf }"
1633
+ },
1634
+ {
1635
+ "name": "maskClosable",
1636
+ "description": "Whether to close the panel when clicking the mask.",
1637
+ "default": "false",
1638
+ "type": "boolean"
1649
1639
  }
1650
1640
  ],
1651
1641
  "events": [],
@@ -1659,6 +1649,15 @@
1659
1649
  "name": "close",
1660
1650
  "params": []
1661
1651
  },
1652
+ {
1653
+ "name": "setInputValue",
1654
+ "params": [
1655
+ {
1656
+ "name": "content",
1657
+ "type": "string"
1658
+ }
1659
+ ]
1660
+ },
1662
1661
  {
1663
1662
  "name": "send",
1664
1663
  "params": [
@@ -1680,6 +1679,38 @@
1680
1679
  ],
1681
1680
  "parts": [],
1682
1681
  "description": "弹出式对话面板。"
1682
+ },
1683
+ {
1684
+ "name": "ai-portal.gantt-chart",
1685
+ "properties": [
1686
+ {
1687
+ "name": "chartTitle",
1688
+ "type": "string"
1689
+ },
1690
+ {
1691
+ "name": "nodes",
1692
+ "attribute": false,
1693
+ "type": "GanttNode[]"
1694
+ }
1695
+ ],
1696
+ "events": [
1697
+ {
1698
+ "name": "node.click",
1699
+ "detail": {
1700
+ "type": "GanttNode"
1701
+ }
1702
+ },
1703
+ {
1704
+ "name": "fullscreen.click",
1705
+ "detail": {
1706
+ "type": "void"
1707
+ }
1708
+ }
1709
+ ],
1710
+ "slots": [],
1711
+ "methods": [],
1712
+ "parts": [],
1713
+ "description": "构件 `ai-portal.gantt-chart`"
1683
1714
  }
1684
1715
  ],
1685
1716
  "providers": [