@next-bricks/ai-portal 0.61.5 → 0.62.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.
Files changed (30) hide show
  1. package/dist/bricks.json +33 -33
  2. package/dist/chunks/7059.deba5fdf.js +3 -0
  3. package/dist/chunks/7059.deba5fdf.js.map +1 -0
  4. package/dist/chunks/9164.0c83f320.js +2 -0
  5. package/dist/chunks/9164.0c83f320.js.map +1 -0
  6. package/dist/chunks/elevo-sidebar.bf206b94.js +3 -0
  7. package/dist/chunks/elevo-sidebar.bf206b94.js.map +1 -0
  8. package/dist/chunks/{main.ffd5eb79.js → main.cdefa49e.js} +2 -2
  9. package/dist/chunks/{main.ffd5eb79.js.map → main.cdefa49e.js.map} +1 -1
  10. package/dist/examples.json +11 -11
  11. package/dist/index.2cb42eef.js +2 -0
  12. package/dist/{index.fb9364a3.js.map → index.2cb42eef.js.map} +1 -1
  13. package/dist/manifest.json +211 -193
  14. package/dist/types.json +640 -585
  15. package/dist-types/elevo-sidebar/ChatHistory.d.ts +3 -0
  16. package/dist-types/elevo-sidebar/SpaceNav.d.ts +4 -1
  17. package/dist-types/elevo-sidebar/constants.d.ts +2 -0
  18. package/dist-types/elevo-sidebar/i18n.d.ts +2 -1
  19. package/dist-types/elevo-sidebar/index.d.ts +2 -0
  20. package/dist-types/jsx.d.ts +2 -0
  21. package/package.json +2 -2
  22. package/dist/chunks/7059.d0080bc9.js +0 -3
  23. package/dist/chunks/7059.d0080bc9.js.map +0 -1
  24. package/dist/chunks/9164.ce503deb.js +0 -2
  25. package/dist/chunks/9164.ce503deb.js.map +0 -1
  26. package/dist/chunks/elevo-sidebar.7fa9b191.js +0 -3
  27. package/dist/chunks/elevo-sidebar.7fa9b191.js.map +0 -1
  28. package/dist/index.fb9364a3.js +0 -2
  29. /package/dist/chunks/{7059.d0080bc9.js.LICENSE.txt → 7059.deba5fdf.js.LICENSE.txt} +0 -0
  30. /package/dist/chunks/{elevo-sidebar.7fa9b191.js.LICENSE.txt → elevo-sidebar.bf206b94.js.LICENSE.txt} +0 -0
@@ -312,6 +312,61 @@
312
312
  "parts": [],
313
313
  "description": "构件 `ai-portal.stat-with-mini-chart`"
314
314
  },
315
+ {
316
+ "name": "ai-portal.icon-button",
317
+ "properties": [
318
+ {
319
+ "name": "icon",
320
+ "attribute": false,
321
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
322
+ },
323
+ {
324
+ "name": "tooltip",
325
+ "type": "string"
326
+ },
327
+ {
328
+ "name": "tooltipHoist",
329
+ "type": "boolean"
330
+ },
331
+ {
332
+ "name": "disabled",
333
+ "type": "boolean"
334
+ },
335
+ {
336
+ "name": "variant",
337
+ "type": "IconButtonVariant"
338
+ },
339
+ {
340
+ "name": "reduceIconSize",
341
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
342
+ "type": "boolean"
343
+ }
344
+ ],
345
+ "events": [],
346
+ "slots": [],
347
+ "methods": [],
348
+ "parts": [],
349
+ "description": "构件 `ai-portal.icon-button`"
350
+ },
351
+ {
352
+ "name": "ai-portal.show-cases",
353
+ "properties": [
354
+ {
355
+ "name": "list",
356
+ "attribute": false,
357
+ "type": "ShowCaseType[]"
358
+ },
359
+ {
360
+ "name": "limit",
361
+ "type": "number"
362
+ }
363
+ ],
364
+ "events": [],
365
+ "slots": [],
366
+ "methods": [],
367
+ "parts": [],
368
+ "description": "构件 `ai-portal.show-cases`"
369
+ },
315
370
  {
316
371
  "name": "ai-portal.elevo-sidebar",
317
372
  "properties": [
@@ -353,6 +408,11 @@
353
408
  "attribute": false,
354
409
  "type": "ActionType[]"
355
410
  },
411
+ {
412
+ "name": "personalActions",
413
+ "attribute": false,
414
+ "type": "ActionType[]"
415
+ },
356
416
  {
357
417
  "name": "links",
358
418
  "attribute": false,
@@ -406,6 +466,19 @@
406
466
  "detail": {
407
467
  "type": "void"
408
468
  }
469
+ },
470
+ {
471
+ "name": "add.serviceflow",
472
+ "detail": {
473
+ "type": "void"
474
+ }
475
+ },
476
+ {
477
+ "name": "personal.action.click",
478
+ "description": "点击项目操作按钮时触发",
479
+ "detail": {
480
+ "type": "PersonalActionClickDetail"
481
+ }
409
482
  }
410
483
  ],
411
484
  "slots": [],
@@ -462,51 +535,43 @@
462
535
  "description": "构件 `ai-portal.elevo-sidebar`"
463
536
  },
464
537
  {
465
- "name": "ai-portal.icon-button",
538
+ "name": "ai-portal.mcp-tools",
466
539
  "properties": [
467
540
  {
468
- "name": "icon",
541
+ "name": "list",
469
542
  "attribute": false,
470
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
471
- },
472
- {
473
- "name": "tooltip",
474
- "type": "string"
475
- },
476
- {
477
- "name": "tooltipHoist",
478
- "type": "boolean"
479
- },
480
- {
481
- "name": "disabled",
482
- "type": "boolean"
483
- },
484
- {
485
- "name": "variant",
486
- "type": "IconButtonVariant"
543
+ "type": "McpTool[]"
487
544
  },
488
545
  {
489
- "name": "reduceIconSize",
490
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
491
- "type": "boolean"
546
+ "name": "stickyTop",
547
+ "type": "number"
492
548
  }
493
549
  ],
494
550
  "events": [],
495
551
  "slots": [],
496
552
  "methods": [],
497
553
  "parts": [],
498
- "description": "构件 `ai-portal.icon-button`"
554
+ "description": "构件 `ai-portal.mcp-tools`"
499
555
  },
500
556
  {
501
- "name": "ai-portal.show-cases",
557
+ "name": "ai-portal.ai-employees",
502
558
  "properties": [
503
559
  {
504
560
  "name": "list",
505
561
  "attribute": false,
506
- "type": "ShowCaseType[]"
562
+ "type": "Employee[]"
507
563
  },
508
564
  {
509
- "name": "limit",
565
+ "name": "industries",
566
+ "attribute": false,
567
+ "type": "string[]"
568
+ },
569
+ {
570
+ "name": "urlTemplate",
571
+ "type": "string"
572
+ },
573
+ {
574
+ "name": "stickyTop",
510
575
  "type": "number"
511
576
  }
512
577
  ],
@@ -514,26 +579,32 @@
514
579
  "slots": [],
515
580
  "methods": [],
516
581
  "parts": [],
517
- "description": "构件 `ai-portal.show-cases`"
582
+ "description": "构件 `ai-portal.ai-employees`"
518
583
  },
519
584
  {
520
- "name": "ai-portal.mcp-tools",
585
+ "name": "ai-portal.ai-agents",
521
586
  "properties": [
522
587
  {
523
588
  "name": "list",
524
589
  "attribute": false,
525
- "type": "McpTool[]"
590
+ "type": "Agent[]"
526
591
  },
527
592
  {
528
- "name": "stickyTop",
529
- "type": "number"
593
+ "name": "urlTemplate",
594
+ "type": "string"
595
+ },
596
+ {
597
+ "name": "withContainer",
598
+ "description": "",
599
+ "deprecated": true,
600
+ "default": "true"
530
601
  }
531
602
  ],
532
603
  "events": [],
533
604
  "slots": [],
534
605
  "methods": [],
535
606
  "parts": [],
536
- "description": "构件 `ai-portal.mcp-tools`"
607
+ "description": "构件 `ai-portal.ai-agents`"
537
608
  },
538
609
  {
539
610
  "name": "ai-portal.chat-stream",
@@ -693,59 +764,6 @@
693
764
  "parts": [],
694
765
  "description": "构件 `ai-portal.chat-stream`"
695
766
  },
696
- {
697
- "name": "ai-portal.ai-employees",
698
- "properties": [
699
- {
700
- "name": "list",
701
- "attribute": false,
702
- "type": "Employee[]"
703
- },
704
- {
705
- "name": "industries",
706
- "attribute": false,
707
- "type": "string[]"
708
- },
709
- {
710
- "name": "urlTemplate",
711
- "type": "string"
712
- },
713
- {
714
- "name": "stickyTop",
715
- "type": "number"
716
- }
717
- ],
718
- "events": [],
719
- "slots": [],
720
- "methods": [],
721
- "parts": [],
722
- "description": "构件 `ai-portal.ai-employees`"
723
- },
724
- {
725
- "name": "ai-portal.ai-agents",
726
- "properties": [
727
- {
728
- "name": "list",
729
- "attribute": false,
730
- "type": "Agent[]"
731
- },
732
- {
733
- "name": "urlTemplate",
734
- "type": "string"
735
- },
736
- {
737
- "name": "withContainer",
738
- "description": "",
739
- "deprecated": true,
740
- "default": "true"
741
- }
742
- ],
743
- "events": [],
744
- "slots": [],
745
- "methods": [],
746
- "parts": [],
747
- "description": "构件 `ai-portal.ai-agents`"
748
- },
749
767
  {
750
768
  "name": "ai-portal.page-container",
751
769
  "properties": [
@@ -1090,6 +1108,78 @@
1090
1108
  "parts": [],
1091
1109
  "description": "构件 `ai-portal.activity-timeline`"
1092
1110
  },
1111
+ {
1112
+ "name": "ai-portal.chat-input",
1113
+ "properties": [
1114
+ {
1115
+ "name": "placeholder",
1116
+ "type": "string"
1117
+ },
1118
+ {
1119
+ "name": "autoFocus",
1120
+ "type": "boolean"
1121
+ },
1122
+ {
1123
+ "name": "submitDisabled",
1124
+ "type": "boolean"
1125
+ },
1126
+ {
1127
+ "name": "supportsTerminate",
1128
+ "type": "boolean"
1129
+ },
1130
+ {
1131
+ "name": "terminating",
1132
+ "type": "boolean"
1133
+ },
1134
+ {
1135
+ "name": "uploadOptions",
1136
+ "attribute": false,
1137
+ "type": "UploadOptions"
1138
+ },
1139
+ {
1140
+ "name": "aiEmployees",
1141
+ "attribute": false,
1142
+ "type": "AIEmployee[]"
1143
+ },
1144
+ {
1145
+ "name": "commands",
1146
+ "attribute": false,
1147
+ "type": "Command[]"
1148
+ },
1149
+ {
1150
+ "name": "suggestionsPlacement",
1151
+ "description": "",
1152
+ "default": "\"bottom\"",
1153
+ "type": "\"top\" | \"bottom\""
1154
+ }
1155
+ ],
1156
+ "events": [
1157
+ {
1158
+ "name": "message.submit",
1159
+ "description": "",
1160
+ "deprecated": "Use `chat.submit` event instead",
1161
+ "detail": {
1162
+ "type": "string"
1163
+ }
1164
+ },
1165
+ {
1166
+ "name": "chat.submit",
1167
+ "detail": {
1168
+ "type": "ChatPayload"
1169
+ }
1170
+ },
1171
+ {
1172
+ "name": "terminate",
1173
+ "detail": {
1174
+ "type": "void"
1175
+ }
1176
+ }
1177
+ ],
1178
+ "slots": [],
1179
+ "methods": [],
1180
+ "parts": [],
1181
+ "description": "小型聊天输入框,用于对话等页面"
1182
+ },
1093
1183
  {
1094
1184
  "name": "ai-portal.elevo-logo",
1095
1185
  "properties": [],
@@ -1344,79 +1434,6 @@
1344
1434
  "parts": [],
1345
1435
  "description": "构件 `ai-portal.running-flow`"
1346
1436
  },
1347
- {
1348
- "name": "ai-portal.notice-dropdown",
1349
- "properties": [
1350
- {
1351
- "name": "dataSource",
1352
- "description": "消息数据列表",
1353
- "attribute": false,
1354
- "type": "NoticeItem[]"
1355
- },
1356
- {
1357
- "name": "popoverPlacement",
1358
- "description": "弹窗位置",
1359
- "type": "Placement"
1360
- },
1361
- {
1362
- "name": "emptyText",
1363
- "description": "空状态文案",
1364
- "type": "string"
1365
- },
1366
- {
1367
- "name": "notifyCenterUrl",
1368
- "description": "通知中心URL",
1369
- "type": "string"
1370
- },
1371
- {
1372
- "name": "urlTemplate",
1373
- "description": "详情链接",
1374
- "type": "string"
1375
- },
1376
- {
1377
- "name": "urlTarget",
1378
- "description": "详情链接目标",
1379
- "type": "Target"
1380
- },
1381
- {
1382
- "name": "dropdownMaxWidth",
1383
- "description": "下拉框最大宽度",
1384
- "type": "string | number"
1385
- },
1386
- {
1387
- "name": "dropdownContentStyle",
1388
- "description": "下拉框内容样式",
1389
- "attribute": false,
1390
- "type": "React.CSSProperties"
1391
- },
1392
- {
1393
- "name": "hideNotifyCenterButton",
1394
- "description": "是否隐藏进入消息中心按钮",
1395
- "type": "boolean"
1396
- }
1397
- ],
1398
- "events": [
1399
- {
1400
- "name": "notice.click",
1401
- "description": "消息项点击事件",
1402
- "detail": {
1403
- "description": "消息 ID",
1404
- "type": "NoticeItem"
1405
- }
1406
- },
1407
- {
1408
- "name": "mark.all.read",
1409
- "description": "全部已读点击事件",
1410
- "detail": {
1411
- "type": "void"
1412
- }
1413
- }
1414
- ],
1415
- "slots": [],
1416
- "methods": [],
1417
- "parts": [],
1418
- "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1419
- },
1420
1437
  {
1421
1438
  "name": "ai-portal.notice-list",
1422
1439
  "properties": [
@@ -1511,67 +1528,68 @@
1511
1528
  "description": "构件 `ai-portal.gantt-chart`"
1512
1529
  },
1513
1530
  {
1514
- "name": "ai-portal.chat-input",
1531
+ "name": "ai-portal.notice-dropdown",
1515
1532
  "properties": [
1516
1533
  {
1517
- "name": "placeholder",
1518
- "type": "string"
1534
+ "name": "dataSource",
1535
+ "description": "消息数据列表",
1536
+ "attribute": false,
1537
+ "type": "NoticeItem[]"
1519
1538
  },
1520
1539
  {
1521
- "name": "autoFocus",
1522
- "type": "boolean"
1540
+ "name": "popoverPlacement",
1541
+ "description": "弹窗位置",
1542
+ "type": "Placement"
1523
1543
  },
1524
1544
  {
1525
- "name": "submitDisabled",
1526
- "type": "boolean"
1545
+ "name": "emptyText",
1546
+ "description": "空状态文案",
1547
+ "type": "string"
1527
1548
  },
1528
1549
  {
1529
- "name": "supportsTerminate",
1530
- "type": "boolean"
1550
+ "name": "notifyCenterUrl",
1551
+ "description": "通知中心URL",
1552
+ "type": "string"
1531
1553
  },
1532
1554
  {
1533
- "name": "terminating",
1534
- "type": "boolean"
1555
+ "name": "urlTemplate",
1556
+ "description": "详情链接",
1557
+ "type": "string"
1535
1558
  },
1536
1559
  {
1537
- "name": "uploadOptions",
1538
- "attribute": false,
1539
- "type": "UploadOptions"
1560
+ "name": "urlTarget",
1561
+ "description": "详情链接目标",
1562
+ "type": "Target"
1540
1563
  },
1541
1564
  {
1542
- "name": "aiEmployees",
1543
- "attribute": false,
1544
- "type": "AIEmployee[]"
1565
+ "name": "dropdownMaxWidth",
1566
+ "description": "下拉框最大宽度",
1567
+ "type": "string | number"
1545
1568
  },
1546
1569
  {
1547
- "name": "commands",
1570
+ "name": "dropdownContentStyle",
1571
+ "description": "下拉框内容样式",
1548
1572
  "attribute": false,
1549
- "type": "Command[]"
1573
+ "type": "React.CSSProperties"
1550
1574
  },
1551
1575
  {
1552
- "name": "suggestionsPlacement",
1553
- "description": "",
1554
- "default": "\"bottom\"",
1555
- "type": "\"top\" | \"bottom\""
1576
+ "name": "hideNotifyCenterButton",
1577
+ "description": "是否隐藏进入消息中心按钮",
1578
+ "type": "boolean"
1556
1579
  }
1557
1580
  ],
1558
1581
  "events": [
1559
1582
  {
1560
- "name": "message.submit",
1561
- "description": "",
1562
- "deprecated": "Use `chat.submit` event instead",
1563
- "detail": {
1564
- "type": "string"
1565
- }
1566
- },
1567
- {
1568
- "name": "chat.submit",
1583
+ "name": "notice.click",
1584
+ "description": "消息项点击事件",
1569
1585
  "detail": {
1570
- "type": "ChatPayload"
1586
+ "description": "消息 ID",
1587
+ "type": "NoticeItem"
1571
1588
  }
1572
1589
  },
1573
1590
  {
1574
- "name": "terminate",
1591
+ "name": "mark.all.read",
1592
+ "description": "全部已读点击事件",
1575
1593
  "detail": {
1576
1594
  "type": "void"
1577
1595
  }
@@ -1580,7 +1598,7 @@
1580
1598
  "slots": [],
1581
1599
  "methods": [],
1582
1600
  "parts": [],
1583
- "description": "小型聊天输入框,用于对话等页面"
1601
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1584
1602
  }
1585
1603
  ],
1586
1604
  "providers": [