@next-bricks/ai-portal 0.61.0 → 0.61.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -167,6 +167,90 @@
167
167
  "parts": [],
168
168
  "description": "构件 `ai-portal.cruise-canvas`"
169
169
  },
170
+ {
171
+ "name": "ai-portal.chat-box",
172
+ "properties": [
173
+ {
174
+ "name": "disabled",
175
+ "type": "boolean"
176
+ },
177
+ {
178
+ "name": "placeholder",
179
+ "type": "string"
180
+ },
181
+ {
182
+ "name": "autoFocus",
183
+ "type": "boolean"
184
+ },
185
+ {
186
+ "name": "aiEmployees",
187
+ "attribute": false,
188
+ "type": "AIEmployee[]"
189
+ },
190
+ {
191
+ "name": "commands",
192
+ "attribute": false,
193
+ "type": "Command[]"
194
+ },
195
+ {
196
+ "name": "uploadOptions",
197
+ "attribute": false,
198
+ "type": "UploadOptions"
199
+ }
200
+ ],
201
+ "events": [
202
+ {
203
+ "name": "message.submit",
204
+ "description": "",
205
+ "deprecated": "Use `chat.submit` event instead",
206
+ "detail": {
207
+ "type": "string"
208
+ }
209
+ },
210
+ {
211
+ "name": "chat.submit",
212
+ "detail": {
213
+ "type": "ChatPayload"
214
+ }
215
+ }
216
+ ],
217
+ "slots": [],
218
+ "methods": [
219
+ {
220
+ "name": "setValue",
221
+ "params": [
222
+ {
223
+ "name": "value",
224
+ "type": "string"
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "getValue",
230
+ "params": []
231
+ },
232
+ {
233
+ "name": "focusOnInput",
234
+ "params": []
235
+ }
236
+ ],
237
+ "parts": [],
238
+ "description": "大型聊天输入框,用于首页"
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
+ },
170
254
  {
171
255
  "name": "ai-portal.stat-with-mini-chart",
172
256
  "properties": [
@@ -370,7 +454,7 @@
370
454
  {
371
455
  "name": "icon",
372
456
  "attribute": false,
373
- "type": "GeneralIconProps"
457
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
374
458
  },
375
459
  {
376
460
  "name": "tooltip",
@@ -400,25 +484,6 @@
400
484
  "parts": [],
401
485
  "description": "构件 `ai-portal.icon-button`"
402
486
  },
403
- {
404
- "name": "ai-portal.mcp-tools",
405
- "properties": [
406
- {
407
- "name": "list",
408
- "attribute": false,
409
- "type": "McpTool[]"
410
- },
411
- {
412
- "name": "stickyTop",
413
- "type": "number"
414
- }
415
- ],
416
- "events": [],
417
- "slots": [],
418
- "methods": [],
419
- "parts": [],
420
- "description": "构件 `ai-portal.mcp-tools`"
421
- },
422
487
  {
423
488
  "name": "ai-portal.show-cases",
424
489
  "properties": [
@@ -439,21 +504,12 @@
439
504
  "description": "构件 `ai-portal.show-cases`"
440
505
  },
441
506
  {
442
- "name": "ai-portal.ai-employees",
507
+ "name": "ai-portal.mcp-tools",
443
508
  "properties": [
444
509
  {
445
510
  "name": "list",
446
511
  "attribute": false,
447
- "type": "Employee[]"
448
- },
449
- {
450
- "name": "industries",
451
- "attribute": false,
452
- "type": "string[]"
453
- },
454
- {
455
- "name": "urlTemplate",
456
- "type": "string"
512
+ "type": "McpTool[]"
457
513
  },
458
514
  {
459
515
  "name": "stickyTop",
@@ -464,7 +520,7 @@
464
520
  "slots": [],
465
521
  "methods": [],
466
522
  "parts": [],
467
- "description": "构件 `ai-portal.ai-employees`"
523
+ "description": "构件 `ai-portal.mcp-tools`"
468
524
  },
469
525
  {
470
526
  "name": "ai-portal.chat-stream",
@@ -624,6 +680,34 @@
624
680
  "parts": [],
625
681
  "description": "构件 `ai-portal.chat-stream`"
626
682
  },
683
+ {
684
+ "name": "ai-portal.ai-employees",
685
+ "properties": [
686
+ {
687
+ "name": "list",
688
+ "attribute": false,
689
+ "type": "Employee[]"
690
+ },
691
+ {
692
+ "name": "industries",
693
+ "attribute": false,
694
+ "type": "string[]"
695
+ },
696
+ {
697
+ "name": "urlTemplate",
698
+ "type": "string"
699
+ },
700
+ {
701
+ "name": "stickyTop",
702
+ "type": "number"
703
+ }
704
+ ],
705
+ "events": [],
706
+ "slots": [],
707
+ "methods": [],
708
+ "parts": [],
709
+ "description": "构件 `ai-portal.ai-employees`"
710
+ },
627
711
  {
628
712
  "name": "ai-portal.ai-agents",
629
713
  "properties": [
@@ -806,90 +890,6 @@
806
890
  "parts": [],
807
891
  "description": "构件 `ai-portal.preview-container`"
808
892
  },
809
- {
810
- "name": "ai-portal.chat-box",
811
- "properties": [
812
- {
813
- "name": "disabled",
814
- "type": "boolean"
815
- },
816
- {
817
- "name": "placeholder",
818
- "type": "string"
819
- },
820
- {
821
- "name": "autoFocus",
822
- "type": "boolean"
823
- },
824
- {
825
- "name": "aiEmployees",
826
- "attribute": false,
827
- "type": "AIEmployee[]"
828
- },
829
- {
830
- "name": "commands",
831
- "attribute": false,
832
- "type": "Command[]"
833
- },
834
- {
835
- "name": "uploadOptions",
836
- "attribute": false,
837
- "type": "UploadOptions"
838
- }
839
- ],
840
- "events": [
841
- {
842
- "name": "message.submit",
843
- "description": "",
844
- "deprecated": "Use `chat.submit` event instead",
845
- "detail": {
846
- "type": "string"
847
- }
848
- },
849
- {
850
- "name": "chat.submit",
851
- "detail": {
852
- "type": "ChatPayload"
853
- }
854
- }
855
- ],
856
- "slots": [],
857
- "methods": [
858
- {
859
- "name": "setValue",
860
- "params": [
861
- {
862
- "name": "value",
863
- "type": "string"
864
- }
865
- ]
866
- },
867
- {
868
- "name": "getValue",
869
- "params": []
870
- },
871
- {
872
- "name": "focusOnInput",
873
- "params": []
874
- }
875
- ],
876
- "parts": [],
877
- "description": "大型聊天输入框,用于首页"
878
- },
879
- {
880
- "name": "ai-portal.home-container",
881
- "properties": [
882
- {
883
- "name": "sticky",
884
- "type": "boolean"
885
- }
886
- ],
887
- "events": [],
888
- "slots": [],
889
- "methods": [],
890
- "parts": [],
891
- "description": "构件 `ai-portal.home-container`"
892
- },
893
893
  {
894
894
  "name": "ai-portal.action-buttons",
895
895
  "properties": [
@@ -1077,15 +1077,6 @@
1077
1077
  "parts": [],
1078
1078
  "description": "构件 `ai-portal.activity-timeline`"
1079
1079
  },
1080
- {
1081
- "name": "ai-portal.elevo-logo",
1082
- "properties": [],
1083
- "events": [],
1084
- "slots": [],
1085
- "methods": [],
1086
- "parts": [],
1087
- "description": "构件 `ai-portal.elevo-logo`"
1088
- },
1089
1080
  {
1090
1081
  "name": "ai-portal.chat-input",
1091
1082
  "properties": [
@@ -1158,6 +1149,15 @@
1158
1149
  "parts": [],
1159
1150
  "description": "小型聊天输入框,用于对话等页面"
1160
1151
  },
1152
+ {
1153
+ "name": "ai-portal.elevo-logo",
1154
+ "properties": [],
1155
+ "events": [],
1156
+ "slots": [],
1157
+ "methods": [],
1158
+ "parts": [],
1159
+ "description": "构件 `ai-portal.elevo-logo`"
1160
+ },
1161
1161
  {
1162
1162
  "name": "ai-portal.show-case",
1163
1163
  "properties": [
@@ -1290,119 +1290,6 @@
1290
1290
  "parts": [],
1291
1291
  "description": "构件 `ai-portal.flow-tabs`"
1292
1292
  },
1293
- {
1294
- "name": "ai-portal.stage-flow",
1295
- "properties": [
1296
- {
1297
- "name": "spec",
1298
- "attribute": false,
1299
- "type": "Stage[]"
1300
- },
1301
- {
1302
- "name": "aiEmployees",
1303
- "attribute": false,
1304
- "type": "AIEmployee[]"
1305
- },
1306
- {
1307
- "name": "readOnly",
1308
- "type": "boolean"
1309
- }
1310
- ],
1311
- "events": [
1312
- {
1313
- "name": "change",
1314
- "detail": {
1315
- "type": "Stage[]"
1316
- }
1317
- },
1318
- {
1319
- "name": "add.activity",
1320
- "detail": {
1321
- "type": "{ stage: Stage }"
1322
- }
1323
- },
1324
- {
1325
- "name": "edit.activity",
1326
- "detail": {
1327
- "type": "EditActivityDetail"
1328
- }
1329
- }
1330
- ],
1331
- "slots": [],
1332
- "methods": [
1333
- {
1334
- "name": "addActivity",
1335
- "params": [
1336
- {
1337
- "name": "stage",
1338
- "type": "Stage"
1339
- },
1340
- {
1341
- "name": "activity",
1342
- "type": "FlowActivity"
1343
- }
1344
- ]
1345
- },
1346
- {
1347
- "name": "editActivity",
1348
- "params": [
1349
- {
1350
- "name": "stage",
1351
- "type": "Stage"
1352
- },
1353
- {
1354
- "name": "activity",
1355
- "type": "FlowActivity"
1356
- },
1357
- {
1358
- "name": "activityIndex",
1359
- "type": "number"
1360
- }
1361
- ]
1362
- },
1363
- {
1364
- "name": "deleteActivity",
1365
- "params": [
1366
- {
1367
- "name": "stage",
1368
- "type": "Stage"
1369
- },
1370
- {
1371
- "name": "activityIndex",
1372
- "type": "number"
1373
- }
1374
- ]
1375
- }
1376
- ],
1377
- "parts": [],
1378
- "description": "构件 `ai-portal.stage-flow`"
1379
- },
1380
- {
1381
- "name": "ai-portal.running-flow",
1382
- "properties": [
1383
- {
1384
- "name": "spec",
1385
- "attribute": false,
1386
- "type": "FlowStage[]"
1387
- },
1388
- {
1389
- "name": "activeActivityId",
1390
- "type": "string | null"
1391
- }
1392
- ],
1393
- "events": [
1394
- {
1395
- "name": "active.change",
1396
- "detail": {
1397
- "type": "string | null"
1398
- }
1399
- }
1400
- ],
1401
- "slots": [],
1402
- "methods": [],
1403
- "parts": [],
1404
- "description": "构件 `ai-portal.running-flow`"
1405
- },
1406
1293
  {
1407
1294
  "name": "ai-portal.notice-dropdown",
1408
1295
  "properties": [
@@ -1476,6 +1363,32 @@
1476
1363
  "parts": [],
1477
1364
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1478
1365
  },
1366
+ {
1367
+ "name": "ai-portal.running-flow",
1368
+ "properties": [
1369
+ {
1370
+ "name": "spec",
1371
+ "attribute": false,
1372
+ "type": "FlowStage[]"
1373
+ },
1374
+ {
1375
+ "name": "activeActivityId",
1376
+ "type": "string | null"
1377
+ }
1378
+ ],
1379
+ "events": [
1380
+ {
1381
+ "name": "active.change",
1382
+ "detail": {
1383
+ "type": "string | null"
1384
+ }
1385
+ }
1386
+ ],
1387
+ "slots": [],
1388
+ "methods": [],
1389
+ "parts": [],
1390
+ "description": "构件 `ai-portal.running-flow`"
1391
+ },
1479
1392
  {
1480
1393
  "name": "ai-portal.notice-list",
1481
1394
  "properties": [
@@ -1568,6 +1481,93 @@
1568
1481
  "methods": [],
1569
1482
  "parts": [],
1570
1483
  "description": "构件 `ai-portal.gantt-chart`"
1484
+ },
1485
+ {
1486
+ "name": "ai-portal.stage-flow",
1487
+ "properties": [
1488
+ {
1489
+ "name": "spec",
1490
+ "attribute": false,
1491
+ "type": "Stage[]"
1492
+ },
1493
+ {
1494
+ "name": "aiEmployees",
1495
+ "attribute": false,
1496
+ "type": "AIEmployee[]"
1497
+ },
1498
+ {
1499
+ "name": "readOnly",
1500
+ "type": "boolean"
1501
+ }
1502
+ ],
1503
+ "events": [
1504
+ {
1505
+ "name": "change",
1506
+ "detail": {
1507
+ "type": "Stage[]"
1508
+ }
1509
+ },
1510
+ {
1511
+ "name": "add.activity",
1512
+ "detail": {
1513
+ "type": "{ stage: Stage }"
1514
+ }
1515
+ },
1516
+ {
1517
+ "name": "edit.activity",
1518
+ "detail": {
1519
+ "type": "EditActivityDetail"
1520
+ }
1521
+ }
1522
+ ],
1523
+ "slots": [],
1524
+ "methods": [
1525
+ {
1526
+ "name": "addActivity",
1527
+ "params": [
1528
+ {
1529
+ "name": "stage",
1530
+ "type": "Stage"
1531
+ },
1532
+ {
1533
+ "name": "activity",
1534
+ "type": "FlowActivity"
1535
+ }
1536
+ ]
1537
+ },
1538
+ {
1539
+ "name": "editActivity",
1540
+ "params": [
1541
+ {
1542
+ "name": "stage",
1543
+ "type": "Stage"
1544
+ },
1545
+ {
1546
+ "name": "activity",
1547
+ "type": "FlowActivity"
1548
+ },
1549
+ {
1550
+ "name": "activityIndex",
1551
+ "type": "number"
1552
+ }
1553
+ ]
1554
+ },
1555
+ {
1556
+ "name": "deleteActivity",
1557
+ "params": [
1558
+ {
1559
+ "name": "stage",
1560
+ "type": "Stage"
1561
+ },
1562
+ {
1563
+ "name": "activityIndex",
1564
+ "type": "number"
1565
+ }
1566
+ ]
1567
+ }
1568
+ ],
1569
+ "parts": [],
1570
+ "description": "构件 `ai-portal.stage-flow`"
1571
1571
  }
1572
1572
  ],
1573
1573
  "providers": [