@next-bricks/ai-portal 0.65.8 → 0.66.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 +53 -52
- package/dist/chunks/1534.bcfa4c96.js +2 -0
- package/dist/chunks/1534.bcfa4c96.js.map +1 -0
- package/dist/chunks/chat-box.060b8727.js +3 -0
- package/dist/chunks/chat-box.060b8727.js.map +1 -0
- package/dist/chunks/{main.aced41aa.js → main.04071e22.js} +2 -2
- package/dist/chunks/{main.aced41aa.js.map → main.04071e22.js.map} +1 -1
- package/dist/chunks/set-chat-mentioned-employee.69199eec.js +2 -0
- package/dist/chunks/set-chat-mentioned-employee.69199eec.js.map +1 -0
- package/dist/examples.json +22 -22
- package/dist/index.6db15ca0.js +2 -0
- package/dist/index.6db15ca0.js.map +1 -0
- package/dist/manifest.json +469 -466
- package/dist/types.json +1159 -1097
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/data-providers/set-chat-mentioned-employee.d.ts +7 -0
- package/dist-types/data-providers/set-chat-mentioned-employee.spec.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/2742.64fa013f.js +0 -2
- package/dist/chunks/2742.64fa013f.js.map +0 -1
- package/dist/chunks/chat-box.3ae83b4f.js +0 -3
- package/dist/chunks/chat-box.3ae83b4f.js.map +0 -1
- package/dist/index.0efd927c.js +0 -2
- package/dist/index.0efd927c.js.map +0 -1
- /package/dist/chunks/{chat-box.3ae83b4f.js.LICENSE.txt → chat-box.060b8727.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -4,100 +4,18 @@
|
|
|
4
4
|
"name": "ai-portal",
|
|
5
5
|
"bricks": [
|
|
6
6
|
{
|
|
7
|
-
"name": "ai-portal.
|
|
8
|
-
"properties": [
|
|
9
|
-
{
|
|
10
|
-
"name": "sticky",
|
|
11
|
-
"type": "boolean"
|
|
12
|
-
}
|
|
13
|
-
],
|
|
14
|
-
"events": [],
|
|
15
|
-
"slots": [],
|
|
16
|
-
"methods": [],
|
|
17
|
-
"parts": [],
|
|
18
|
-
"description": "构件 `ai-portal.home-container`"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"name": "ai-portal.cruise-canvas",
|
|
7
|
+
"name": "ai-portal.chat-box",
|
|
22
8
|
"properties": [
|
|
23
9
|
{
|
|
24
|
-
"name": "
|
|
25
|
-
"type": "string"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "initialRequest",
|
|
29
|
-
"description": "初始请求数据。仅初始设置有效。",
|
|
30
|
-
"attribute": false,
|
|
31
|
-
"type": "RequestStore | null"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "replay",
|
|
35
|
-
"description": "是否启用回放。仅初始设置有效。",
|
|
36
|
-
"type": "boolean"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "replayDelay",
|
|
40
|
-
"description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
|
|
41
|
-
"default": "2",
|
|
42
|
-
"type": "number"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "supports",
|
|
46
|
-
"attribute": false,
|
|
47
|
-
"type": "Record<string, boolean>"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
"name": "showHiddenJobs",
|
|
51
|
-
"type": "boolean"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"name": "showHumanActions",
|
|
55
|
-
"type": "boolean"
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "showFeedback",
|
|
59
|
-
"type": "boolean"
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"name": "showFeedbackAfterFailed",
|
|
63
|
-
"type": "boolean"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "showFeedbackOnView",
|
|
67
|
-
"type": "boolean"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "showUiSwitch",
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "hideMermaid",
|
|
75
|
-
"type": "boolean"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"name": "showJsxEditor",
|
|
10
|
+
"name": "disabled",
|
|
79
11
|
"type": "boolean"
|
|
80
12
|
},
|
|
81
13
|
{
|
|
82
|
-
"name": "
|
|
83
|
-
"type": "string"
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
"name": "showCases",
|
|
87
|
-
"attribute": false,
|
|
88
|
-
"type": "ShowCaseType[]"
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"name": "exampleProjects",
|
|
92
|
-
"attribute": false,
|
|
93
|
-
"type": "ExampleProject[]"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"name": "tryItOutUrl",
|
|
14
|
+
"name": "placeholder",
|
|
97
15
|
"type": "string"
|
|
98
16
|
},
|
|
99
17
|
{
|
|
100
|
-
"name": "
|
|
18
|
+
"name": "autoFocus",
|
|
101
19
|
"type": "boolean"
|
|
102
20
|
},
|
|
103
21
|
{
|
|
@@ -118,108 +36,42 @@
|
|
|
118
36
|
],
|
|
119
37
|
"events": [
|
|
120
38
|
{
|
|
121
|
-
"name": "
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
"name": "terminate",
|
|
128
|
-
"detail": {
|
|
129
|
-
"type": "void"
|
|
130
|
-
}
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"name": "feedback.submit",
|
|
134
|
-
"detail": {
|
|
135
|
-
"type": "FeedbackDetail"
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
"name": "feedback.on.view",
|
|
39
|
+
"name": "message.submit",
|
|
40
|
+
"description": "",
|
|
41
|
+
"deprecated": "Use `chat.submit` event instead",
|
|
140
42
|
"detail": {
|
|
141
43
|
"type": "string"
|
|
142
44
|
}
|
|
143
45
|
},
|
|
144
46
|
{
|
|
145
|
-
"name": "
|
|
146
|
-
"detail": {
|
|
147
|
-
"type": "\"chat\""
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "detail.change",
|
|
47
|
+
"name": "chat.submit",
|
|
152
48
|
"detail": {
|
|
153
|
-
"type": "
|
|
49
|
+
"type": "ChatPayload"
|
|
154
50
|
}
|
|
155
51
|
}
|
|
156
52
|
],
|
|
157
53
|
"slots": [],
|
|
158
54
|
"methods": [
|
|
159
55
|
{
|
|
160
|
-
"name": "
|
|
161
|
-
"params": []
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "feedbackSubmitDone",
|
|
165
|
-
"params": []
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"name": "feedbackSubmitFailed",
|
|
169
|
-
"params": []
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
"name": "feedbackOnViewDone",
|
|
56
|
+
"name": "setValue",
|
|
173
57
|
"params": [
|
|
174
58
|
{
|
|
175
|
-
"name": "
|
|
59
|
+
"name": "value",
|
|
176
60
|
"type": "string"
|
|
177
61
|
}
|
|
178
62
|
]
|
|
179
|
-
}
|
|
180
|
-
],
|
|
181
|
-
"parts": [],
|
|
182
|
-
"description": "构件 `ai-portal.cruise-canvas`"
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"name": "ai-portal.icon-button",
|
|
186
|
-
"properties": [
|
|
187
|
-
{
|
|
188
|
-
"name": "icon",
|
|
189
|
-
"attribute": false,
|
|
190
|
-
"type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
|
|
191
63
|
},
|
|
192
64
|
{
|
|
193
|
-
"name": "
|
|
194
|
-
"
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"name": "tooltipHoist",
|
|
198
|
-
"type": "boolean"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"name": "active",
|
|
202
|
-
"type": "boolean"
|
|
203
|
-
},
|
|
204
|
-
{
|
|
205
|
-
"name": "disabled",
|
|
206
|
-
"type": "boolean"
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"name": "variant",
|
|
210
|
-
"type": "IconButtonVariant"
|
|
65
|
+
"name": "getValue",
|
|
66
|
+
"params": []
|
|
211
67
|
},
|
|
212
68
|
{
|
|
213
|
-
"name": "
|
|
214
|
-
"
|
|
215
|
-
"type": "boolean"
|
|
69
|
+
"name": "focusOnInput",
|
|
70
|
+
"params": []
|
|
216
71
|
}
|
|
217
72
|
],
|
|
218
|
-
"events": [],
|
|
219
|
-
"slots": [],
|
|
220
|
-
"methods": [],
|
|
221
73
|
"parts": [],
|
|
222
|
-
"description": "
|
|
74
|
+
"description": "大型聊天输入框,用于首页"
|
|
223
75
|
},
|
|
224
76
|
{
|
|
225
77
|
"name": "ai-portal.elevo-sidebar",
|
|
@@ -392,6 +244,210 @@
|
|
|
392
244
|
"parts": [],
|
|
393
245
|
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
394
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": [
|
|
386
|
+
{
|
|
387
|
+
"name": "resumed",
|
|
388
|
+
"params": []
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "feedbackSubmitDone",
|
|
392
|
+
"params": []
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "feedbackSubmitFailed",
|
|
396
|
+
"params": []
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "feedbackOnViewDone",
|
|
400
|
+
"params": [
|
|
401
|
+
{
|
|
402
|
+
"name": "viewId",
|
|
403
|
+
"type": "string"
|
|
404
|
+
}
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"parts": [],
|
|
409
|
+
"description": "构件 `ai-portal.cruise-canvas`"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "ai-portal.icon-button",
|
|
413
|
+
"properties": [
|
|
414
|
+
{
|
|
415
|
+
"name": "icon",
|
|
416
|
+
"attribute": false,
|
|
417
|
+
"type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"name": "tooltip",
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"name": "tooltipHoist",
|
|
425
|
+
"type": "boolean"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"name": "active",
|
|
429
|
+
"type": "boolean"
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "disabled",
|
|
433
|
+
"type": "boolean"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"name": "variant",
|
|
437
|
+
"type": "IconButtonVariant"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "reduceIconSize",
|
|
441
|
+
"description": "是否缩小图标尺寸(部分 easyops 图标过大)",
|
|
442
|
+
"type": "boolean"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"events": [],
|
|
446
|
+
"slots": [],
|
|
447
|
+
"methods": [],
|
|
448
|
+
"parts": [],
|
|
449
|
+
"description": "构件 `ai-portal.icon-button`"
|
|
450
|
+
},
|
|
395
451
|
{
|
|
396
452
|
"name": "ai-portal.show-cases",
|
|
397
453
|
"properties": [
|
|
@@ -415,90 +471,87 @@
|
|
|
415
471
|
"name": "ai-portal.mcp-tools",
|
|
416
472
|
"properties": [
|
|
417
473
|
{
|
|
418
|
-
"name": "list",
|
|
419
|
-
"attribute": false,
|
|
420
|
-
"type": "McpTool[]"
|
|
474
|
+
"name": "list",
|
|
475
|
+
"attribute": false,
|
|
476
|
+
"type": "McpTool[]"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "stickyTop",
|
|
480
|
+
"type": "number"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"events": [],
|
|
484
|
+
"slots": [],
|
|
485
|
+
"methods": [],
|
|
486
|
+
"parts": [],
|
|
487
|
+
"description": "构件 `ai-portal.mcp-tools`"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"name": "ai-portal.home-container",
|
|
491
|
+
"properties": [
|
|
492
|
+
{
|
|
493
|
+
"name": "sticky",
|
|
494
|
+
"type": "boolean"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"events": [],
|
|
498
|
+
"slots": [],
|
|
499
|
+
"methods": [],
|
|
500
|
+
"parts": [],
|
|
501
|
+
"description": "构件 `ai-portal.home-container`"
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
"name": "ai-portal.ai-agents",
|
|
505
|
+
"properties": [
|
|
506
|
+
{
|
|
507
|
+
"name": "list",
|
|
508
|
+
"attribute": false,
|
|
509
|
+
"type": "Agent[]"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "urlTemplate",
|
|
513
|
+
"type": "string"
|
|
421
514
|
},
|
|
422
515
|
{
|
|
423
|
-
"name": "
|
|
424
|
-
"
|
|
516
|
+
"name": "withContainer",
|
|
517
|
+
"description": "",
|
|
518
|
+
"deprecated": true,
|
|
519
|
+
"default": "true"
|
|
425
520
|
}
|
|
426
521
|
],
|
|
427
522
|
"events": [],
|
|
428
523
|
"slots": [],
|
|
429
524
|
"methods": [],
|
|
430
525
|
"parts": [],
|
|
431
|
-
"description": "构件 `ai-portal.
|
|
526
|
+
"description": "构件 `ai-portal.ai-agents`"
|
|
432
527
|
},
|
|
433
528
|
{
|
|
434
|
-
"name": "ai-portal.
|
|
529
|
+
"name": "ai-portal.ai-employees",
|
|
435
530
|
"properties": [
|
|
436
531
|
{
|
|
437
|
-
"name": "
|
|
438
|
-
"type": "boolean"
|
|
439
|
-
},
|
|
440
|
-
{
|
|
441
|
-
"name": "placeholder",
|
|
442
|
-
"type": "string"
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "autoFocus",
|
|
446
|
-
"type": "boolean"
|
|
447
|
-
},
|
|
448
|
-
{
|
|
449
|
-
"name": "aiEmployees",
|
|
532
|
+
"name": "list",
|
|
450
533
|
"attribute": false,
|
|
451
|
-
"type": "
|
|
534
|
+
"type": "Employee[]"
|
|
452
535
|
},
|
|
453
536
|
{
|
|
454
|
-
"name": "
|
|
537
|
+
"name": "industries",
|
|
455
538
|
"attribute": false,
|
|
456
|
-
"type": "
|
|
539
|
+
"type": "string[]"
|
|
457
540
|
},
|
|
458
541
|
{
|
|
459
|
-
"name": "
|
|
460
|
-
"
|
|
461
|
-
"type": "UploadOptions"
|
|
462
|
-
}
|
|
463
|
-
],
|
|
464
|
-
"events": [
|
|
465
|
-
{
|
|
466
|
-
"name": "message.submit",
|
|
467
|
-
"description": "",
|
|
468
|
-
"deprecated": "Use `chat.submit` event instead",
|
|
469
|
-
"detail": {
|
|
470
|
-
"type": "string"
|
|
471
|
-
}
|
|
542
|
+
"name": "urlTemplate",
|
|
543
|
+
"type": "string"
|
|
472
544
|
},
|
|
473
545
|
{
|
|
474
|
-
"name": "
|
|
475
|
-
"
|
|
476
|
-
"type": "ChatPayload"
|
|
477
|
-
}
|
|
546
|
+
"name": "stickyTop",
|
|
547
|
+
"type": "number"
|
|
478
548
|
}
|
|
479
549
|
],
|
|
550
|
+
"events": [],
|
|
480
551
|
"slots": [],
|
|
481
|
-
"methods": [
|
|
482
|
-
{
|
|
483
|
-
"name": "setValue",
|
|
484
|
-
"params": [
|
|
485
|
-
{
|
|
486
|
-
"name": "value",
|
|
487
|
-
"type": "string"
|
|
488
|
-
}
|
|
489
|
-
]
|
|
490
|
-
},
|
|
491
|
-
{
|
|
492
|
-
"name": "getValue",
|
|
493
|
-
"params": []
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "focusOnInput",
|
|
497
|
-
"params": []
|
|
498
|
-
}
|
|
499
|
-
],
|
|
552
|
+
"methods": [],
|
|
500
553
|
"parts": [],
|
|
501
|
-
"description": "
|
|
554
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
502
555
|
},
|
|
503
556
|
{
|
|
504
557
|
"name": "ai-portal.chat-stream",
|
|
@@ -659,57 +712,40 @@
|
|
|
659
712
|
"description": "构件 `ai-portal.chat-stream`"
|
|
660
713
|
},
|
|
661
714
|
{
|
|
662
|
-
"name": "ai-portal.
|
|
715
|
+
"name": "ai-portal.tab-list",
|
|
663
716
|
"properties": [
|
|
664
717
|
{
|
|
665
|
-
"name": "
|
|
718
|
+
"name": "tabs",
|
|
666
719
|
"attribute": false,
|
|
667
|
-
"type": "
|
|
720
|
+
"type": "Tab[]"
|
|
668
721
|
},
|
|
669
722
|
{
|
|
670
|
-
"name": "
|
|
723
|
+
"name": "activeTab",
|
|
671
724
|
"attribute": false,
|
|
672
|
-
"type": "string[]"
|
|
673
|
-
},
|
|
674
|
-
{
|
|
675
|
-
"name": "urlTemplate",
|
|
676
725
|
"type": "string"
|
|
677
|
-
}
|
|
726
|
+
}
|
|
727
|
+
],
|
|
728
|
+
"events": [
|
|
678
729
|
{
|
|
679
|
-
"name": "
|
|
680
|
-
"
|
|
730
|
+
"name": "tab.click",
|
|
731
|
+
"detail": {
|
|
732
|
+
"type": "Tab"
|
|
733
|
+
}
|
|
681
734
|
}
|
|
682
735
|
],
|
|
683
|
-
"events": [],
|
|
684
736
|
"slots": [],
|
|
685
737
|
"methods": [],
|
|
686
|
-
"parts": [
|
|
687
|
-
"description": "构件 `ai-portal.ai-employees`"
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
"name": "ai-portal.ai-agents",
|
|
691
|
-
"properties": [
|
|
692
|
-
{
|
|
693
|
-
"name": "list",
|
|
694
|
-
"attribute": false,
|
|
695
|
-
"type": "Agent[]"
|
|
696
|
-
},
|
|
738
|
+
"parts": [
|
|
697
739
|
{
|
|
698
|
-
"name": "
|
|
699
|
-
"
|
|
740
|
+
"name": "tabs",
|
|
741
|
+
"description": "The tab list container"
|
|
700
742
|
},
|
|
701
743
|
{
|
|
702
|
-
"name": "
|
|
703
|
-
"description": ""
|
|
704
|
-
"deprecated": true,
|
|
705
|
-
"default": "true"
|
|
744
|
+
"name": "tab",
|
|
745
|
+
"description": "The individual tab"
|
|
706
746
|
}
|
|
707
747
|
],
|
|
708
|
-
"
|
|
709
|
-
"slots": [],
|
|
710
|
-
"methods": [],
|
|
711
|
-
"parts": [],
|
|
712
|
-
"description": "构件 `ai-portal.ai-agents`"
|
|
748
|
+
"description": "构件 `ai-portal.tab-list`"
|
|
713
749
|
},
|
|
714
750
|
{
|
|
715
751
|
"name": "ai-portal.page-container",
|
|
@@ -757,40 +793,65 @@
|
|
|
757
793
|
"description": "构件 `ai-portal.page-container`"
|
|
758
794
|
},
|
|
759
795
|
{
|
|
760
|
-
"name": "ai-portal.
|
|
796
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
761
797
|
"properties": [
|
|
762
798
|
{
|
|
763
|
-
"name": "
|
|
764
|
-
"
|
|
765
|
-
"type": "Tab[]"
|
|
799
|
+
"name": "label",
|
|
800
|
+
"type": "string"
|
|
766
801
|
},
|
|
767
802
|
{
|
|
768
|
-
"name": "
|
|
769
|
-
"attribute": false,
|
|
803
|
+
"name": "value",
|
|
770
804
|
"type": "string"
|
|
771
|
-
}
|
|
772
|
-
],
|
|
773
|
-
"events": [
|
|
805
|
+
},
|
|
774
806
|
{
|
|
775
|
-
"name": "
|
|
776
|
-
"
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
}
|
|
780
|
-
],
|
|
781
|
-
"slots": [],
|
|
782
|
-
"methods": [],
|
|
783
|
-
"parts": [
|
|
807
|
+
"name": "size",
|
|
808
|
+
"description": "",
|
|
809
|
+
"default": "\"medium\"",
|
|
810
|
+
"type": "\"medium\" | \"small\""
|
|
811
|
+
},
|
|
784
812
|
{
|
|
785
|
-
"name": "
|
|
786
|
-
"description": "
|
|
813
|
+
"name": "lineColor",
|
|
814
|
+
"description": "",
|
|
815
|
+
"default": "\"var(--color-brand)\"",
|
|
816
|
+
"type": "string"
|
|
787
817
|
},
|
|
788
818
|
{
|
|
789
|
-
"name": "
|
|
790
|
-
"
|
|
819
|
+
"name": "showArea",
|
|
820
|
+
"type": "boolean"
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "min",
|
|
824
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
825
|
+
"type": "number"
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
"name": "max",
|
|
829
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
830
|
+
"type": "number"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"name": "xField",
|
|
834
|
+
"description": "",
|
|
835
|
+
"default": "\"0\"",
|
|
836
|
+
"type": "string"
|
|
837
|
+
},
|
|
838
|
+
{
|
|
839
|
+
"name": "yField",
|
|
840
|
+
"description": "",
|
|
841
|
+
"default": "\"1\"",
|
|
842
|
+
"type": "string"
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
"name": "data",
|
|
846
|
+
"attribute": false,
|
|
847
|
+
"type": "Record<string, number>[]"
|
|
791
848
|
}
|
|
792
849
|
],
|
|
793
|
-
"
|
|
850
|
+
"events": [],
|
|
851
|
+
"slots": [],
|
|
852
|
+
"methods": [],
|
|
853
|
+
"parts": [],
|
|
854
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
794
855
|
},
|
|
795
856
|
{
|
|
796
857
|
"name": "ai-portal.dropdown-select",
|
|
@@ -850,84 +911,23 @@
|
|
|
850
911
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
851
912
|
},
|
|
852
913
|
{
|
|
853
|
-
"name": "ai-portal.preview-container",
|
|
854
|
-
"properties": [
|
|
855
|
-
{
|
|
856
|
-
"name": "source",
|
|
857
|
-
"attribute": false,
|
|
858
|
-
"type": "string"
|
|
859
|
-
},
|
|
860
|
-
{
|
|
861
|
-
"name": "url",
|
|
862
|
-
"type": "string"
|
|
863
|
-
}
|
|
864
|
-
],
|
|
865
|
-
"events": [],
|
|
866
|
-
"slots": [],
|
|
867
|
-
"methods": [],
|
|
868
|
-
"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
|
-
},
|
|
914
|
+
"name": "ai-portal.preview-container",
|
|
915
|
+
"properties": [
|
|
908
916
|
{
|
|
909
|
-
"name": "
|
|
910
|
-
"
|
|
911
|
-
"default": "\"0\"",
|
|
917
|
+
"name": "source",
|
|
918
|
+
"attribute": false,
|
|
912
919
|
"type": "string"
|
|
913
920
|
},
|
|
914
921
|
{
|
|
915
|
-
"name": "
|
|
916
|
-
"description": "",
|
|
917
|
-
"default": "\"1\"",
|
|
922
|
+
"name": "url",
|
|
918
923
|
"type": "string"
|
|
919
|
-
},
|
|
920
|
-
{
|
|
921
|
-
"name": "data",
|
|
922
|
-
"attribute": false,
|
|
923
|
-
"type": "Record<string, number>[]"
|
|
924
924
|
}
|
|
925
925
|
],
|
|
926
926
|
"events": [],
|
|
927
927
|
"slots": [],
|
|
928
928
|
"methods": [],
|
|
929
929
|
"parts": [],
|
|
930
|
-
"description": "构件 `ai-portal.
|
|
930
|
+
"description": "构件 `ai-portal.preview-container`"
|
|
931
931
|
},
|
|
932
932
|
{
|
|
933
933
|
"name": "ai-portal.action-buttons",
|
|
@@ -955,6 +955,48 @@
|
|
|
955
955
|
"parts": [],
|
|
956
956
|
"description": "构件 `ai-portal.action-buttons`"
|
|
957
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
|
+
},
|
|
958
1000
|
{
|
|
959
1001
|
"name": "ai-portal.goal-card-list",
|
|
960
1002
|
"properties": [
|
|
@@ -1018,48 +1060,6 @@
|
|
|
1018
1060
|
"parts": [],
|
|
1019
1061
|
"description": "构件 `ai-portal.goal-card-list`"
|
|
1020
1062
|
},
|
|
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": [
|
|
@@ -1452,79 +1452,6 @@
|
|
|
1452
1452
|
"parts": [],
|
|
1453
1453
|
"description": "构件 `ai-portal.running-flow`"
|
|
1454
1454
|
},
|
|
1455
|
-
{
|
|
1456
|
-
"name": "ai-portal.notice-dropdown",
|
|
1457
|
-
"properties": [
|
|
1458
|
-
{
|
|
1459
|
-
"name": "dataSource",
|
|
1460
|
-
"description": "消息数据列表",
|
|
1461
|
-
"attribute": false,
|
|
1462
|
-
"type": "NoticeItem[]"
|
|
1463
|
-
},
|
|
1464
|
-
{
|
|
1465
|
-
"name": "popoverPlacement",
|
|
1466
|
-
"description": "弹窗位置",
|
|
1467
|
-
"type": "Placement"
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "emptyText",
|
|
1471
|
-
"description": "空状态文案",
|
|
1472
|
-
"type": "string"
|
|
1473
|
-
},
|
|
1474
|
-
{
|
|
1475
|
-
"name": "notifyCenterUrl",
|
|
1476
|
-
"description": "通知中心URL",
|
|
1477
|
-
"type": "string"
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"name": "urlTemplate",
|
|
1481
|
-
"description": "详情链接",
|
|
1482
|
-
"type": "string"
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
"name": "urlTarget",
|
|
1486
|
-
"description": "详情链接目标",
|
|
1487
|
-
"type": "Target"
|
|
1488
|
-
},
|
|
1489
|
-
{
|
|
1490
|
-
"name": "dropdownMaxWidth",
|
|
1491
|
-
"description": "下拉框最大宽度",
|
|
1492
|
-
"type": "string | number"
|
|
1493
|
-
},
|
|
1494
|
-
{
|
|
1495
|
-
"name": "dropdownContentStyle",
|
|
1496
|
-
"description": "下拉框内容样式",
|
|
1497
|
-
"attribute": false,
|
|
1498
|
-
"type": "React.CSSProperties"
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
"name": "hideNotifyCenterButton",
|
|
1502
|
-
"description": "是否隐藏进入消息中心按钮",
|
|
1503
|
-
"type": "boolean"
|
|
1504
|
-
}
|
|
1505
|
-
],
|
|
1506
|
-
"events": [
|
|
1507
|
-
{
|
|
1508
|
-
"name": "notice.click",
|
|
1509
|
-
"description": "消息项点击事件",
|
|
1510
|
-
"detail": {
|
|
1511
|
-
"description": "消息 ID",
|
|
1512
|
-
"type": "NoticeItem"
|
|
1513
|
-
}
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"name": "mark.all.read",
|
|
1517
|
-
"description": "全部已读点击事件",
|
|
1518
|
-
"detail": {
|
|
1519
|
-
"type": "void"
|
|
1520
|
-
}
|
|
1521
|
-
}
|
|
1522
|
-
],
|
|
1523
|
-
"slots": [],
|
|
1524
|
-
"methods": [],
|
|
1525
|
-
"parts": [],
|
|
1526
|
-
"description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
|
|
1527
|
-
},
|
|
1528
1455
|
{
|
|
1529
1456
|
"name": "ai-portal.notice-list",
|
|
1530
1457
|
"properties": [
|
|
@@ -1675,12 +1602,82 @@
|
|
|
1675
1602
|
],
|
|
1676
1603
|
"parts": [],
|
|
1677
1604
|
"description": "弹出式对话面板。"
|
|
1605
|
+
},
|
|
1606
|
+
{
|
|
1607
|
+
"name": "ai-portal.notice-dropdown",
|
|
1608
|
+
"properties": [
|
|
1609
|
+
{
|
|
1610
|
+
"name": "dataSource",
|
|
1611
|
+
"description": "消息数据列表",
|
|
1612
|
+
"attribute": false,
|
|
1613
|
+
"type": "NoticeItem[]"
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"name": "popoverPlacement",
|
|
1617
|
+
"description": "弹窗位置",
|
|
1618
|
+
"type": "Placement"
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "emptyText",
|
|
1622
|
+
"description": "空状态文案",
|
|
1623
|
+
"type": "string"
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
"name": "notifyCenterUrl",
|
|
1627
|
+
"description": "通知中心URL",
|
|
1628
|
+
"type": "string"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "urlTemplate",
|
|
1632
|
+
"description": "详情链接",
|
|
1633
|
+
"type": "string"
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"name": "urlTarget",
|
|
1637
|
+
"description": "详情链接目标",
|
|
1638
|
+
"type": "Target"
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"name": "dropdownMaxWidth",
|
|
1642
|
+
"description": "下拉框最大宽度",
|
|
1643
|
+
"type": "string | number"
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
"name": "dropdownContentStyle",
|
|
1647
|
+
"description": "下拉框内容样式",
|
|
1648
|
+
"attribute": false,
|
|
1649
|
+
"type": "React.CSSProperties"
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"name": "hideNotifyCenterButton",
|
|
1653
|
+
"description": "是否隐藏进入消息中心按钮",
|
|
1654
|
+
"type": "boolean"
|
|
1655
|
+
}
|
|
1656
|
+
],
|
|
1657
|
+
"events": [
|
|
1658
|
+
{
|
|
1659
|
+
"name": "notice.click",
|
|
1660
|
+
"description": "消息项点击事件",
|
|
1661
|
+
"detail": {
|
|
1662
|
+
"description": "消息 ID",
|
|
1663
|
+
"type": "NoticeItem"
|
|
1664
|
+
}
|
|
1665
|
+
},
|
|
1666
|
+
{
|
|
1667
|
+
"name": "mark.all.read",
|
|
1668
|
+
"description": "全部已读点击事件",
|
|
1669
|
+
"detail": {
|
|
1670
|
+
"type": "void"
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
],
|
|
1674
|
+
"slots": [],
|
|
1675
|
+
"methods": [],
|
|
1676
|
+
"parts": [],
|
|
1677
|
+
"description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
|
|
1678
1678
|
}
|
|
1679
1679
|
],
|
|
1680
1680
|
"providers": [
|
|
1681
|
-
{
|
|
1682
|
-
"name": "ai-portal.call-tool"
|
|
1683
|
-
},
|
|
1684
1681
|
{
|
|
1685
1682
|
"name": "ai-portal.save-request-store"
|
|
1686
1683
|
},
|
|
@@ -1690,8 +1687,14 @@
|
|
|
1690
1687
|
{
|
|
1691
1688
|
"name": "ai-portal.clear-request-store"
|
|
1692
1689
|
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "ai-portal.call-tool"
|
|
1692
|
+
},
|
|
1693
1693
|
{
|
|
1694
1694
|
"name": "ai-portal.set-chat-command"
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"name": "ai-portal.set-chat-mentioned-employee"
|
|
1695
1698
|
}
|
|
1696
1699
|
]
|
|
1697
1700
|
}
|