@next-bricks/ai-portal 0.63.6 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +49 -49
- package/dist/chunks/{4208.f9256bec.js → 4208.9bc0e6c6.js} +2 -2
- package/dist/chunks/4208.9bc0e6c6.js.map +1 -0
- package/dist/chunks/4820.95bda425.js +2 -0
- package/dist/chunks/4820.95bda425.js.map +1 -0
- package/dist/chunks/{chat-box.aa5fd1e3.js → chat-box.3ae83b4f.js} +3 -3
- package/dist/chunks/chat-box.3ae83b4f.js.map +1 -0
- package/dist/chunks/chat-input.e913e9ed.js +3 -0
- package/dist/chunks/chat-input.e913e9ed.js.map +1 -0
- package/dist/chunks/chat-panel.d451898f.js +2 -0
- package/dist/chunks/chat-panel.d451898f.js.map +1 -0
- package/dist/chunks/main.cc3dd9a1.js +2 -0
- package/dist/chunks/{main.ae8bf1bb.js.map → main.cc3dd9a1.js.map} +1 -1
- package/dist/examples.json +16 -16
- package/dist/index.5b0a4eb5.js +2 -0
- package/dist/index.5b0a4eb5.js.map +1 -0
- package/dist/manifest.json +480 -455
- package/dist/types.json +1567 -737
- package/dist-types/chat-input/index.d.ts +1 -0
- package/dist-types/chat-panel/index.d.ts +11 -0
- package/dist-types/jsx.d.ts +5 -1
- package/dist-types/shared/interfaces.d.ts +16 -1
- package/package.json +2 -2
- package/dist/chunks/4208.f9256bec.js.map +0 -1
- package/dist/chunks/4820.2f5fb327.js +0 -2
- package/dist/chunks/4820.2f5fb327.js.map +0 -1
- package/dist/chunks/chat-box.aa5fd1e3.js.map +0 -1
- package/dist/chunks/chat-input.eb5871d4.js +0 -3
- package/dist/chunks/chat-input.eb5871d4.js.map +0 -1
- package/dist/chunks/chat-panel.d783204f.js +0 -2
- package/dist/chunks/chat-panel.d783204f.js.map +0 -1
- package/dist/chunks/main.ae8bf1bb.js +0 -2
- package/dist/index.49603b89.js +0 -2
- package/dist/index.49603b89.js.map +0 -1
- /package/dist/chunks/{chat-box.aa5fd1e3.js.LICENSE.txt → chat-box.3ae83b4f.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{chat-input.eb5871d4.js.LICENSE.txt → chat-input.e913e9ed.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -3,6 +3,170 @@
|
|
|
3
3
|
"package": "@next-bricks/ai-portal",
|
|
4
4
|
"name": "ai-portal",
|
|
5
5
|
"bricks": [
|
|
6
|
+
{
|
|
7
|
+
"name": "ai-portal.cruise-canvas",
|
|
8
|
+
"properties": [
|
|
9
|
+
{
|
|
10
|
+
"name": "conversationId",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "initialRequest",
|
|
15
|
+
"description": "初始请求数据。仅初始设置有效。",
|
|
16
|
+
"attribute": false,
|
|
17
|
+
"type": "RequestStore | null"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "replay",
|
|
21
|
+
"description": "是否启用回放。仅初始设置有效。",
|
|
22
|
+
"type": "boolean"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "replayDelay",
|
|
26
|
+
"description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
|
|
27
|
+
"default": "2",
|
|
28
|
+
"type": "number"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "supports",
|
|
32
|
+
"attribute": false,
|
|
33
|
+
"type": "Record<string, boolean>"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "showHiddenJobs",
|
|
37
|
+
"type": "boolean"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "showHumanActions",
|
|
41
|
+
"type": "boolean"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "showFeedback",
|
|
45
|
+
"type": "boolean"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "showFeedbackAfterFailed",
|
|
49
|
+
"type": "boolean"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "showFeedbackOnView",
|
|
53
|
+
"type": "boolean"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "showUiSwitch",
|
|
57
|
+
"type": "boolean"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "hideMermaid",
|
|
61
|
+
"type": "boolean"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "showJsxEditor",
|
|
65
|
+
"type": "boolean"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "previewUrlTemplate",
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "showCases",
|
|
73
|
+
"attribute": false,
|
|
74
|
+
"type": "ShowCaseType[]"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "exampleProjects",
|
|
78
|
+
"attribute": false,
|
|
79
|
+
"type": "ExampleProject[]"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "tryItOutUrl",
|
|
83
|
+
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "separateInstructions",
|
|
87
|
+
"type": "boolean"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "aiEmployees",
|
|
91
|
+
"attribute": false,
|
|
92
|
+
"type": "AIEmployee[]"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "commands",
|
|
96
|
+
"attribute": false,
|
|
97
|
+
"type": "Command[]"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "uploadOptions",
|
|
101
|
+
"attribute": false,
|
|
102
|
+
"type": "UploadOptions"
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"events": [
|
|
106
|
+
{
|
|
107
|
+
"name": "share",
|
|
108
|
+
"detail": {
|
|
109
|
+
"type": "void"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "terminate",
|
|
114
|
+
"detail": {
|
|
115
|
+
"type": "void"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "feedback.submit",
|
|
120
|
+
"detail": {
|
|
121
|
+
"type": "FeedbackDetail"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "feedback.on.view",
|
|
126
|
+
"detail": {
|
|
127
|
+
"type": "string"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "ui.switch",
|
|
132
|
+
"detail": {
|
|
133
|
+
"type": "\"chat\""
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "detail.change",
|
|
138
|
+
"detail": {
|
|
139
|
+
"type": "ConversationDetail"
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"slots": [],
|
|
144
|
+
"methods": [
|
|
145
|
+
{
|
|
146
|
+
"name": "resumed",
|
|
147
|
+
"params": []
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "feedbackSubmitDone",
|
|
151
|
+
"params": []
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "feedbackSubmitFailed",
|
|
155
|
+
"params": []
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "feedbackOnViewDone",
|
|
159
|
+
"params": [
|
|
160
|
+
{
|
|
161
|
+
"name": "viewId",
|
|
162
|
+
"type": "string"
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"parts": [],
|
|
168
|
+
"description": "构件 `ai-portal.cruise-canvas`"
|
|
169
|
+
},
|
|
6
170
|
{
|
|
7
171
|
"name": "ai-portal.chat-box",
|
|
8
172
|
"properties": [
|
|
@@ -73,6 +237,81 @@
|
|
|
73
237
|
"parts": [],
|
|
74
238
|
"description": "大型聊天输入框,用于首页"
|
|
75
239
|
},
|
|
240
|
+
{
|
|
241
|
+
"name": "ai-portal.home-container",
|
|
242
|
+
"properties": [
|
|
243
|
+
{
|
|
244
|
+
"name": "sticky",
|
|
245
|
+
"type": "boolean"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"events": [],
|
|
249
|
+
"slots": [],
|
|
250
|
+
"methods": [],
|
|
251
|
+
"parts": [],
|
|
252
|
+
"description": "构件 `ai-portal.home-container`"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
256
|
+
"properties": [
|
|
257
|
+
{
|
|
258
|
+
"name": "label",
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "value",
|
|
263
|
+
"type": "string"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "size",
|
|
267
|
+
"description": "",
|
|
268
|
+
"default": "\"medium\"",
|
|
269
|
+
"type": "\"medium\" | \"small\""
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "lineColor",
|
|
273
|
+
"description": "",
|
|
274
|
+
"default": "\"var(--color-brand)\"",
|
|
275
|
+
"type": "string"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "showArea",
|
|
279
|
+
"type": "boolean"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "min",
|
|
283
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
284
|
+
"type": "number"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "max",
|
|
288
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
289
|
+
"type": "number"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "xField",
|
|
293
|
+
"description": "",
|
|
294
|
+
"default": "\"0\"",
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "yField",
|
|
299
|
+
"description": "",
|
|
300
|
+
"default": "\"1\"",
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "data",
|
|
305
|
+
"attribute": false,
|
|
306
|
+
"type": "Record<string, number>[]"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"events": [],
|
|
310
|
+
"slots": [],
|
|
311
|
+
"methods": [],
|
|
312
|
+
"parts": [],
|
|
313
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
314
|
+
},
|
|
76
315
|
{
|
|
77
316
|
"name": "ai-portal.elevo-sidebar",
|
|
78
317
|
"properties": [
|
|
@@ -204,209 +443,45 @@
|
|
|
204
443
|
],
|
|
205
444
|
"description": "",
|
|
206
445
|
"returns": {}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "open",
|
|
210
|
-
"params": []
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"name": "close",
|
|
214
|
-
"params": []
|
|
215
|
-
},
|
|
216
|
-
{
|
|
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
|
-
]
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "moveConversation",
|
|
236
|
-
"params": [
|
|
237
|
-
{
|
|
238
|
-
"name": "conversationId",
|
|
239
|
-
"type": "string"
|
|
240
|
-
}
|
|
241
|
-
]
|
|
242
|
-
}
|
|
243
|
-
],
|
|
244
|
-
"parts": [],
|
|
245
|
-
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "ai-portal.cruise-canvas",
|
|
249
|
-
"properties": [
|
|
250
|
-
{
|
|
251
|
-
"name": "conversationId",
|
|
252
|
-
"type": "string"
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
"name": "initialRequest",
|
|
256
|
-
"description": "初始请求数据。仅初始设置有效。",
|
|
257
|
-
"attribute": false,
|
|
258
|
-
"type": "RequestStore | null"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"name": "replay",
|
|
262
|
-
"description": "是否启用回放。仅初始设置有效。",
|
|
263
|
-
"type": "boolean"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "replayDelay",
|
|
267
|
-
"description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
|
|
268
|
-
"default": "2",
|
|
269
|
-
"type": "number"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "supports",
|
|
273
|
-
"attribute": false,
|
|
274
|
-
"type": "Record<string, boolean>"
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
"name": "showHiddenJobs",
|
|
278
|
-
"type": "boolean"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"name": "showHumanActions",
|
|
282
|
-
"type": "boolean"
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
"name": "showFeedback",
|
|
286
|
-
"type": "boolean"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
"name": "showFeedbackAfterFailed",
|
|
290
|
-
"type": "boolean"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"name": "showFeedbackOnView",
|
|
294
|
-
"type": "boolean"
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
"name": "showUiSwitch",
|
|
298
|
-
"type": "boolean"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "hideMermaid",
|
|
302
|
-
"type": "boolean"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
"name": "showJsxEditor",
|
|
306
|
-
"type": "boolean"
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"name": "previewUrlTemplate",
|
|
310
|
-
"type": "string"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"name": "showCases",
|
|
314
|
-
"attribute": false,
|
|
315
|
-
"type": "ShowCaseType[]"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"name": "exampleProjects",
|
|
319
|
-
"attribute": false,
|
|
320
|
-
"type": "ExampleProject[]"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"name": "tryItOutUrl",
|
|
324
|
-
"type": "string"
|
|
325
|
-
},
|
|
326
|
-
{
|
|
327
|
-
"name": "separateInstructions",
|
|
328
|
-
"type": "boolean"
|
|
329
|
-
},
|
|
330
|
-
{
|
|
331
|
-
"name": "aiEmployees",
|
|
332
|
-
"attribute": false,
|
|
333
|
-
"type": "AIEmployee[]"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"name": "commands",
|
|
337
|
-
"attribute": false,
|
|
338
|
-
"type": "Command[]"
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"name": "uploadOptions",
|
|
342
|
-
"attribute": false,
|
|
343
|
-
"type": "UploadOptions"
|
|
344
|
-
}
|
|
345
|
-
],
|
|
346
|
-
"events": [
|
|
347
|
-
{
|
|
348
|
-
"name": "share",
|
|
349
|
-
"detail": {
|
|
350
|
-
"type": "void"
|
|
351
|
-
}
|
|
352
|
-
},
|
|
353
|
-
{
|
|
354
|
-
"name": "terminate",
|
|
355
|
-
"detail": {
|
|
356
|
-
"type": "void"
|
|
357
|
-
}
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"name": "feedback.submit",
|
|
361
|
-
"detail": {
|
|
362
|
-
"type": "FeedbackDetail"
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
{
|
|
366
|
-
"name": "feedback.on.view",
|
|
367
|
-
"detail": {
|
|
368
|
-
"type": "string"
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"name": "ui.switch",
|
|
373
|
-
"detail": {
|
|
374
|
-
"type": "\"chat\""
|
|
375
|
-
}
|
|
376
|
-
},
|
|
377
|
-
{
|
|
378
|
-
"name": "detail.change",
|
|
379
|
-
"detail": {
|
|
380
|
-
"type": "ConversationDetail"
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
],
|
|
384
|
-
"slots": [],
|
|
385
|
-
"methods": [
|
|
446
|
+
},
|
|
386
447
|
{
|
|
387
|
-
"name": "
|
|
448
|
+
"name": "open",
|
|
388
449
|
"params": []
|
|
389
450
|
},
|
|
390
451
|
{
|
|
391
|
-
"name": "
|
|
452
|
+
"name": "close",
|
|
392
453
|
"params": []
|
|
393
454
|
},
|
|
394
455
|
{
|
|
395
|
-
"name": "
|
|
396
|
-
"params": [
|
|
456
|
+
"name": "removeProject",
|
|
457
|
+
"params": [
|
|
458
|
+
{
|
|
459
|
+
"name": "projectId",
|
|
460
|
+
"type": "string"
|
|
461
|
+
}
|
|
462
|
+
]
|
|
397
463
|
},
|
|
398
464
|
{
|
|
399
|
-
"name": "
|
|
465
|
+
"name": "addProject",
|
|
400
466
|
"params": [
|
|
401
467
|
{
|
|
402
|
-
"name": "
|
|
468
|
+
"name": "project",
|
|
469
|
+
"type": "Project"
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"name": "moveConversation",
|
|
475
|
+
"params": [
|
|
476
|
+
{
|
|
477
|
+
"name": "conversationId",
|
|
403
478
|
"type": "string"
|
|
404
479
|
}
|
|
405
480
|
]
|
|
406
481
|
}
|
|
407
482
|
],
|
|
408
483
|
"parts": [],
|
|
409
|
-
"description": "构件 `ai-portal.
|
|
484
|
+
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
410
485
|
},
|
|
411
486
|
{
|
|
412
487
|
"name": "ai-portal.icon-button",
|
|
@@ -448,67 +523,6 @@
|
|
|
448
523
|
"parts": [],
|
|
449
524
|
"description": "构件 `ai-portal.icon-button`"
|
|
450
525
|
},
|
|
451
|
-
{
|
|
452
|
-
"name": "ai-portal.stat-with-mini-chart",
|
|
453
|
-
"properties": [
|
|
454
|
-
{
|
|
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"
|
|
482
|
-
},
|
|
483
|
-
{
|
|
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.",
|
|
486
|
-
"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
|
-
}
|
|
505
|
-
],
|
|
506
|
-
"events": [],
|
|
507
|
-
"slots": [],
|
|
508
|
-
"methods": [],
|
|
509
|
-
"parts": [],
|
|
510
|
-
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
511
|
-
},
|
|
512
526
|
{
|
|
513
527
|
"name": "ai-portal.show-cases",
|
|
514
528
|
"properties": [
|
|
@@ -547,59 +561,6 @@
|
|
|
547
561
|
"parts": [],
|
|
548
562
|
"description": "构件 `ai-portal.mcp-tools`"
|
|
549
563
|
},
|
|
550
|
-
{
|
|
551
|
-
"name": "ai-portal.ai-agents",
|
|
552
|
-
"properties": [
|
|
553
|
-
{
|
|
554
|
-
"name": "list",
|
|
555
|
-
"attribute": false,
|
|
556
|
-
"type": "Agent[]"
|
|
557
|
-
},
|
|
558
|
-
{
|
|
559
|
-
"name": "urlTemplate",
|
|
560
|
-
"type": "string"
|
|
561
|
-
},
|
|
562
|
-
{
|
|
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": [
|
|
578
|
-
{
|
|
579
|
-
"name": "list",
|
|
580
|
-
"attribute": false,
|
|
581
|
-
"type": "Employee[]"
|
|
582
|
-
},
|
|
583
|
-
{
|
|
584
|
-
"name": "industries",
|
|
585
|
-
"attribute": false,
|
|
586
|
-
"type": "string[]"
|
|
587
|
-
},
|
|
588
|
-
{
|
|
589
|
-
"name": "urlTemplate",
|
|
590
|
-
"type": "string"
|
|
591
|
-
},
|
|
592
|
-
{
|
|
593
|
-
"name": "stickyTop",
|
|
594
|
-
"type": "number"
|
|
595
|
-
}
|
|
596
|
-
],
|
|
597
|
-
"events": [],
|
|
598
|
-
"slots": [],
|
|
599
|
-
"methods": [],
|
|
600
|
-
"parts": [],
|
|
601
|
-
"description": "构件 `ai-portal.ai-employees`"
|
|
602
|
-
},
|
|
603
564
|
{
|
|
604
565
|
"name": "ai-portal.chat-stream",
|
|
605
566
|
"properties": [
|
|
@@ -758,6 +719,59 @@
|
|
|
758
719
|
"parts": [],
|
|
759
720
|
"description": "构件 `ai-portal.chat-stream`"
|
|
760
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[]"
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
"name": "urlTemplate",
|
|
760
|
+
"type": "string"
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"name": "withContainer",
|
|
764
|
+
"description": "",
|
|
765
|
+
"deprecated": true,
|
|
766
|
+
"default": "true"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"events": [],
|
|
770
|
+
"slots": [],
|
|
771
|
+
"methods": [],
|
|
772
|
+
"parts": [],
|
|
773
|
+
"description": "构件 `ai-portal.ai-agents`"
|
|
774
|
+
},
|
|
761
775
|
{
|
|
762
776
|
"name": "ai-portal.page-container",
|
|
763
777
|
"properties": [
|
|
@@ -880,122 +894,66 @@
|
|
|
880
894
|
{
|
|
881
895
|
"name": "showSearch",
|
|
882
896
|
"description": "是否展示搜索框",
|
|
883
|
-
"type": "boolean"
|
|
884
|
-
}
|
|
885
|
-
],
|
|
886
|
-
"events": [
|
|
887
|
-
{
|
|
888
|
-
"name": "change",
|
|
889
|
-
"detail": {
|
|
890
|
-
"type": "DropdownOptions"
|
|
891
|
-
}
|
|
892
|
-
}
|
|
893
|
-
],
|
|
894
|
-
"slots": [],
|
|
895
|
-
"methods": [],
|
|
896
|
-
"parts": [],
|
|
897
|
-
"description": "构件 `ai-portal.dropdown-select`"
|
|
898
|
-
},
|
|
899
|
-
{
|
|
900
|
-
"name": "ai-portal.preview-container",
|
|
901
|
-
"properties": [
|
|
902
|
-
{
|
|
903
|
-
"name": "source",
|
|
904
|
-
"attribute": false,
|
|
905
|
-
"type": "string"
|
|
906
|
-
},
|
|
907
|
-
{
|
|
908
|
-
"name": "url",
|
|
909
|
-
"type": "string"
|
|
910
|
-
}
|
|
911
|
-
],
|
|
912
|
-
"events": [],
|
|
913
|
-
"slots": [],
|
|
914
|
-
"methods": [],
|
|
915
|
-
"parts": [],
|
|
916
|
-
"description": "构件 `ai-portal.preview-container`"
|
|
917
|
-
},
|
|
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"
|
|
897
|
+
"type": "boolean"
|
|
943
898
|
}
|
|
944
899
|
],
|
|
945
900
|
"events": [
|
|
946
901
|
{
|
|
947
902
|
"name": "change",
|
|
948
903
|
"detail": {
|
|
949
|
-
"type": "
|
|
904
|
+
"type": "DropdownOptions"
|
|
950
905
|
}
|
|
951
906
|
}
|
|
952
907
|
],
|
|
953
908
|
"slots": [],
|
|
954
909
|
"methods": [],
|
|
955
910
|
"parts": [],
|
|
956
|
-
"description": "构件 `ai-portal.
|
|
911
|
+
"description": "构件 `ai-portal.dropdown-select`"
|
|
957
912
|
},
|
|
958
913
|
{
|
|
959
|
-
"name": "ai-portal.
|
|
914
|
+
"name": "ai-portal.preview-container",
|
|
960
915
|
"properties": [
|
|
961
916
|
{
|
|
962
|
-
"name": "
|
|
917
|
+
"name": "source",
|
|
963
918
|
"attribute": false,
|
|
964
|
-
"type": "
|
|
919
|
+
"type": "string"
|
|
965
920
|
},
|
|
966
921
|
{
|
|
967
|
-
"name": "
|
|
922
|
+
"name": "url",
|
|
968
923
|
"type": "string"
|
|
969
|
-
}
|
|
924
|
+
}
|
|
925
|
+
],
|
|
926
|
+
"events": [],
|
|
927
|
+
"slots": [],
|
|
928
|
+
"methods": [],
|
|
929
|
+
"parts": [],
|
|
930
|
+
"description": "构件 `ai-portal.preview-container`"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"name": "ai-portal.action-buttons",
|
|
934
|
+
"properties": [
|
|
970
935
|
{
|
|
971
|
-
"name": "
|
|
936
|
+
"name": "items",
|
|
972
937
|
"attribute": false,
|
|
973
|
-
"type": "
|
|
938
|
+
"type": "ActionItem[]"
|
|
974
939
|
},
|
|
975
940
|
{
|
|
976
|
-
"name": "
|
|
977
|
-
"
|
|
978
|
-
"type": "Goal[]"
|
|
941
|
+
"name": "activeKey",
|
|
942
|
+
"type": "string | null"
|
|
979
943
|
}
|
|
980
944
|
],
|
|
981
945
|
"events": [
|
|
982
946
|
{
|
|
983
|
-
"name": "
|
|
984
|
-
"detail": {
|
|
985
|
-
"type": "Conversation"
|
|
986
|
-
}
|
|
987
|
-
},
|
|
988
|
-
{
|
|
989
|
-
"name": "action.click",
|
|
947
|
+
"name": "change",
|
|
990
948
|
"detail": {
|
|
991
|
-
"type": "
|
|
949
|
+
"type": "ActionItem | null"
|
|
992
950
|
}
|
|
993
951
|
}
|
|
994
952
|
],
|
|
995
953
|
"slots": [],
|
|
996
954
|
"methods": [],
|
|
997
955
|
"parts": [],
|
|
998
|
-
"description": "构件 `ai-portal.
|
|
956
|
+
"description": "构件 `ai-portal.action-buttons`"
|
|
999
957
|
},
|
|
1000
958
|
{
|
|
1001
959
|
"name": "ai-portal.goal-card-list",
|
|
@@ -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
|
},
|
|
@@ -1333,79 +1343,6 @@
|
|
|
1333
1343
|
"parts": [],
|
|
1334
1344
|
"description": "构件 `ai-portal.flow-tabs`"
|
|
1335
1345
|
},
|
|
1336
|
-
{
|
|
1337
|
-
"name": "ai-portal.notice-dropdown",
|
|
1338
|
-
"properties": [
|
|
1339
|
-
{
|
|
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": "空状态文案",
|
|
1353
|
-
"type": "string"
|
|
1354
|
-
},
|
|
1355
|
-
{
|
|
1356
|
-
"name": "notifyCenterUrl",
|
|
1357
|
-
"description": "通知中心URL",
|
|
1358
|
-
"type": "string"
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
"name": "urlTemplate",
|
|
1362
|
-
"description": "详情链接",
|
|
1363
|
-
"type": "string"
|
|
1364
|
-
},
|
|
1365
|
-
{
|
|
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": "下拉框内容样式",
|
|
1378
|
-
"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
|
-
}
|
|
1395
|
-
},
|
|
1396
|
-
{
|
|
1397
|
-
"name": "mark.all.read",
|
|
1398
|
-
"description": "全部已读点击事件",
|
|
1399
|
-
"detail": {
|
|
1400
|
-
"type": "void"
|
|
1401
|
-
}
|
|
1402
|
-
}
|
|
1403
|
-
],
|
|
1404
|
-
"slots": [],
|
|
1405
|
-
"methods": [],
|
|
1406
|
-
"parts": [],
|
|
1407
|
-
"description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
|
|
1408
|
-
},
|
|
1409
1346
|
{
|
|
1410
1347
|
"name": "ai-portal.stage-flow",
|
|
1411
1348
|
"properties": [
|
|
@@ -1519,6 +1456,79 @@
|
|
|
1519
1456
|
"parts": [],
|
|
1520
1457
|
"description": "构件 `ai-portal.running-flow`"
|
|
1521
1458
|
},
|
|
1459
|
+
{
|
|
1460
|
+
"name": "ai-portal.notice-dropdown",
|
|
1461
|
+
"properties": [
|
|
1462
|
+
{
|
|
1463
|
+
"name": "dataSource",
|
|
1464
|
+
"description": "消息数据列表",
|
|
1465
|
+
"attribute": false,
|
|
1466
|
+
"type": "NoticeItem[]"
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "popoverPlacement",
|
|
1470
|
+
"description": "弹窗位置",
|
|
1471
|
+
"type": "Placement"
|
|
1472
|
+
},
|
|
1473
|
+
{
|
|
1474
|
+
"name": "emptyText",
|
|
1475
|
+
"description": "空状态文案",
|
|
1476
|
+
"type": "string"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "notifyCenterUrl",
|
|
1480
|
+
"description": "通知中心URL",
|
|
1481
|
+
"type": "string"
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "urlTemplate",
|
|
1485
|
+
"description": "详情链接",
|
|
1486
|
+
"type": "string"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"name": "urlTarget",
|
|
1490
|
+
"description": "详情链接目标",
|
|
1491
|
+
"type": "Target"
|
|
1492
|
+
},
|
|
1493
|
+
{
|
|
1494
|
+
"name": "dropdownMaxWidth",
|
|
1495
|
+
"description": "下拉框最大宽度",
|
|
1496
|
+
"type": "string | number"
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "dropdownContentStyle",
|
|
1500
|
+
"description": "下拉框内容样式",
|
|
1501
|
+
"attribute": false,
|
|
1502
|
+
"type": "React.CSSProperties"
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "hideNotifyCenterButton",
|
|
1506
|
+
"description": "是否隐藏进入消息中心按钮",
|
|
1507
|
+
"type": "boolean"
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"events": [
|
|
1511
|
+
{
|
|
1512
|
+
"name": "notice.click",
|
|
1513
|
+
"description": "消息项点击事件",
|
|
1514
|
+
"detail": {
|
|
1515
|
+
"description": "消息 ID",
|
|
1516
|
+
"type": "NoticeItem"
|
|
1517
|
+
}
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "mark.all.read",
|
|
1521
|
+
"description": "全部已读点击事件",
|
|
1522
|
+
"detail": {
|
|
1523
|
+
"type": "void"
|
|
1524
|
+
}
|
|
1525
|
+
}
|
|
1526
|
+
],
|
|
1527
|
+
"slots": [],
|
|
1528
|
+
"methods": [],
|
|
1529
|
+
"parts": [],
|
|
1530
|
+
"description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
|
|
1531
|
+
},
|
|
1522
1532
|
{
|
|
1523
1533
|
"name": "ai-portal.notice-list",
|
|
1524
1534
|
"properties": [
|
|
@@ -1646,6 +1656,12 @@
|
|
|
1646
1656
|
"name": "uploadOptions",
|
|
1647
1657
|
"attribute": false,
|
|
1648
1658
|
"type": "UploadOptions"
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"name": "help",
|
|
1662
|
+
"description": "Show help messages when no conversation exists.",
|
|
1663
|
+
"attribute": false,
|
|
1664
|
+
"type": "{ useBrick: UseBrickConf }"
|
|
1649
1665
|
}
|
|
1650
1666
|
],
|
|
1651
1667
|
"events": [],
|
|
@@ -1659,6 +1675,15 @@
|
|
|
1659
1675
|
"name": "close",
|
|
1660
1676
|
"params": []
|
|
1661
1677
|
},
|
|
1678
|
+
{
|
|
1679
|
+
"name": "setInputValue",
|
|
1680
|
+
"params": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "content",
|
|
1683
|
+
"type": "string"
|
|
1684
|
+
}
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1662
1687
|
{
|
|
1663
1688
|
"name": "send",
|
|
1664
1689
|
"params": [
|