@next-bricks/ai-portal 0.64.9 → 0.65.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 (66) hide show
  1. package/dist/bricks.json +35 -39
  2. package/dist/chunks/2742.19b8cbd2.js +2 -0
  3. package/dist/chunks/2742.19b8cbd2.js.map +1 -0
  4. package/dist/chunks/3186.5c0ff6ad.js +2 -0
  5. package/dist/chunks/3186.5c0ff6ad.js.map +1 -0
  6. package/dist/chunks/4208.9304234a.js +2 -0
  7. package/dist/chunks/4208.9304234a.js.map +1 -0
  8. package/dist/chunks/5452.a5594a29.js +2 -0
  9. package/dist/chunks/5452.a5594a29.js.map +1 -0
  10. package/dist/chunks/7139.80d52ac3.js +2 -0
  11. package/dist/chunks/7139.80d52ac3.js.map +1 -0
  12. package/dist/chunks/7159.2fdda135.js +2 -0
  13. package/dist/chunks/7159.2fdda135.js.map +1 -0
  14. package/dist/chunks/chat-panel.ca430fc7.js +2 -0
  15. package/dist/chunks/chat-panel.ca430fc7.js.map +1 -0
  16. package/dist/chunks/{chat-stream.c13cfc3f.js → chat-stream.90aa7647.js} +2 -2
  17. package/dist/chunks/{chat-stream.c13cfc3f.js.map → chat-stream.90aa7647.js.map} +1 -1
  18. package/dist/chunks/{elevo-sidebar.4aa42ab3.js → elevo-sidebar.fba49f67.js} +3 -3
  19. package/dist/chunks/elevo-sidebar.fba49f67.js.map +1 -0
  20. package/dist/chunks/main.d8edfa91.js +2 -0
  21. package/dist/chunks/{main.33e078cf.js.map → main.d8edfa91.js.map} +1 -1
  22. package/dist/examples.json +20 -23
  23. package/dist/images/d5f57ce1.png +0 -0
  24. package/dist/index.90d9f9da.js +2 -0
  25. package/dist/index.90d9f9da.js.map +1 -0
  26. package/dist/manifest.json +251 -283
  27. package/dist/types.json +1044 -1185
  28. package/dist-types/bootstrap.d.ts +0 -1
  29. package/dist-types/chat-stream/NodeChunk/NodeReasoning.d.ts +6 -0
  30. package/dist-types/chat-stream/i18n.d.ts +3 -1
  31. package/dist-types/chat-stream/interfaces.d.ts +6 -1
  32. package/dist-types/chat-stream/useConversationStream.d.ts +1 -0
  33. package/dist-types/shared/ActivityPlan/ActivityPlan.d.ts +11 -0
  34. package/dist-types/shared/ActivityPlan/getStateIcon.d.ts +6 -0
  35. package/dist-types/shared/{PlanProgress → ActivityPlan}/i18n.d.ts +3 -2
  36. package/dist-types/shared/ChatBox/i18n.d.ts +3 -1
  37. package/dist-types/shared/TaskContext.d.ts +4 -1
  38. package/dist-types/shared/constants.d.ts +1 -0
  39. package/dist-types/shared/getFlatChunks.d.ts +3 -1
  40. package/dist-types/shared/getOrderedNodes.d.ts +1 -4
  41. package/dist-types/shared/getTaskTree.d.ts +1 -1
  42. package/dist-types/shared/interfaces.d.ts +1 -1
  43. package/package.json +2 -2
  44. package/dist/chunks/1447.32e6384d.js +0 -2
  45. package/dist/chunks/1447.32e6384d.js.map +0 -1
  46. package/dist/chunks/3186.7220c09a.js +0 -2
  47. package/dist/chunks/3186.7220c09a.js.map +0 -1
  48. package/dist/chunks/4208.54a5a7dd.js +0 -2
  49. package/dist/chunks/4208.54a5a7dd.js.map +0 -1
  50. package/dist/chunks/4820.51e9c918.js +0 -2
  51. package/dist/chunks/4820.51e9c918.js.map +0 -1
  52. package/dist/chunks/778.1a43bbd5.js +0 -2
  53. package/dist/chunks/778.1a43bbd5.js.map +0 -1
  54. package/dist/chunks/9273.760f5efc.js +0 -2
  55. package/dist/chunks/9273.760f5efc.js.map +0 -1
  56. package/dist/chunks/chat-panel.abf4cbf4.js +0 -2
  57. package/dist/chunks/chat-panel.abf4cbf4.js.map +0 -1
  58. package/dist/chunks/elevo-sidebar.4aa42ab3.js.map +0 -1
  59. package/dist/chunks/gantt-chart.6c8b41fd.js +0 -2
  60. package/dist/chunks/gantt-chart.6c8b41fd.js.map +0 -1
  61. package/dist/chunks/main.33e078cf.js +0 -2
  62. package/dist/index.a6348301.js +0 -2
  63. package/dist/index.a6348301.js.map +0 -1
  64. package/dist-types/shared/PlanProgress/PlanProgress.d.ts +0 -15
  65. package/docs/gantt-chart.md +0 -37
  66. /package/dist/chunks/{elevo-sidebar.4aa42ab3.js.LICENSE.txt → elevo-sidebar.fba49f67.js.LICENSE.txt} +0 -0
@@ -3,76 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.chat-box",
8
- "properties": [
9
- {
10
- "name": "disabled",
11
- "type": "boolean"
12
- },
13
- {
14
- "name": "placeholder",
15
- "type": "string"
16
- },
17
- {
18
- "name": "autoFocus",
19
- "type": "boolean"
20
- },
21
- {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
25
- },
26
- {
27
- "name": "commands",
28
- "attribute": false,
29
- "type": "Command[]"
30
- },
31
- {
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
- }
45
- },
46
- {
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
- ]
63
- },
64
- {
65
- "name": "getValue",
66
- "params": []
67
- },
68
- {
69
- "name": "focusOnInput",
70
- "params": []
71
- }
72
- ],
73
- "parts": [],
74
- "description": "大型聊天输入框,用于首页"
75
- },
76
6
  {
77
7
  "name": "ai-portal.cruise-canvas",
78
8
  "properties": [
@@ -470,77 +400,37 @@
470
400
  "description": "构件 `ai-portal.elevo-sidebar`"
471
401
  },
472
402
  {
473
- "name": "ai-portal.home-container",
474
- "properties": [
475
- {
476
- "name": "sticky",
477
- "type": "boolean"
478
- }
479
- ],
480
- "events": [],
481
- "slots": [],
482
- "methods": [],
483
- "parts": [],
484
- "description": "构件 `ai-portal.home-container`"
485
- },
486
- {
487
- "name": "ai-portal.icon-button",
403
+ "name": "ai-portal.show-cases",
488
404
  "properties": [
489
405
  {
490
- "name": "icon",
406
+ "name": "list",
491
407
  "attribute": false,
492
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
493
- },
494
- {
495
- "name": "tooltip",
496
- "type": "string"
497
- },
498
- {
499
- "name": "tooltipHoist",
500
- "type": "boolean"
501
- },
502
- {
503
- "name": "active",
504
- "type": "boolean"
505
- },
506
- {
507
- "name": "disabled",
508
- "type": "boolean"
509
- },
510
- {
511
- "name": "variant",
512
- "type": "IconButtonVariant"
408
+ "type": "ShowCaseType[]"
513
409
  },
514
410
  {
515
- "name": "reduceIconSize",
516
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
517
- "type": "boolean"
411
+ "name": "limit",
412
+ "type": "number"
518
413
  }
519
414
  ],
520
415
  "events": [],
521
416
  "slots": [],
522
417
  "methods": [],
523
418
  "parts": [],
524
- "description": "构件 `ai-portal.icon-button`"
419
+ "description": "构件 `ai-portal.show-cases`"
525
420
  },
526
421
  {
527
- "name": "ai-portal.show-cases",
422
+ "name": "ai-portal.home-container",
528
423
  "properties": [
529
424
  {
530
- "name": "list",
531
- "attribute": false,
532
- "type": "ShowCaseType[]"
533
- },
534
- {
535
- "name": "limit",
536
- "type": "number"
425
+ "name": "sticky",
426
+ "type": "boolean"
537
427
  }
538
428
  ],
539
429
  "events": [],
540
430
  "slots": [],
541
431
  "methods": [],
542
432
  "parts": [],
543
- "description": "构件 `ai-portal.show-cases`"
433
+ "description": "构件 `ai-portal.home-container`"
544
434
  },
545
435
  {
546
436
  "name": "ai-portal.mcp-tools",
@@ -747,6 +637,31 @@
747
637
  "parts": [],
748
638
  "description": "构件 `ai-portal.ai-employees`"
749
639
  },
640
+ {
641
+ "name": "ai-portal.ai-agents",
642
+ "properties": [
643
+ {
644
+ "name": "list",
645
+ "attribute": false,
646
+ "type": "Agent[]"
647
+ },
648
+ {
649
+ "name": "urlTemplate",
650
+ "type": "string"
651
+ },
652
+ {
653
+ "name": "withContainer",
654
+ "description": "",
655
+ "deprecated": true,
656
+ "default": "true"
657
+ }
658
+ ],
659
+ "events": [],
660
+ "slots": [],
661
+ "methods": [],
662
+ "parts": [],
663
+ "description": "构件 `ai-portal.ai-agents`"
664
+ },
750
665
  {
751
666
  "name": "ai-portal.page-container",
752
667
  "properties": [
@@ -792,31 +707,6 @@
792
707
  "parts": [],
793
708
  "description": "构件 `ai-portal.page-container`"
794
709
  },
795
- {
796
- "name": "ai-portal.ai-agents",
797
- "properties": [
798
- {
799
- "name": "list",
800
- "attribute": false,
801
- "type": "Agent[]"
802
- },
803
- {
804
- "name": "urlTemplate",
805
- "type": "string"
806
- },
807
- {
808
- "name": "withContainer",
809
- "description": "",
810
- "deprecated": true,
811
- "default": "true"
812
- }
813
- ],
814
- "events": [],
815
- "slots": [],
816
- "methods": [],
817
- "parts": [],
818
- "description": "构件 `ai-portal.ai-agents`"
819
- },
820
710
  {
821
711
  "name": "ai-portal.tab-list",
822
712
  "properties": [
@@ -853,6 +743,76 @@
853
743
  ],
854
744
  "description": "构件 `ai-portal.tab-list`"
855
745
  },
746
+ {
747
+ "name": "ai-portal.chat-box",
748
+ "properties": [
749
+ {
750
+ "name": "disabled",
751
+ "type": "boolean"
752
+ },
753
+ {
754
+ "name": "placeholder",
755
+ "type": "string"
756
+ },
757
+ {
758
+ "name": "autoFocus",
759
+ "type": "boolean"
760
+ },
761
+ {
762
+ "name": "aiEmployees",
763
+ "attribute": false,
764
+ "type": "AIEmployee[]"
765
+ },
766
+ {
767
+ "name": "commands",
768
+ "attribute": false,
769
+ "type": "Command[]"
770
+ },
771
+ {
772
+ "name": "uploadOptions",
773
+ "attribute": false,
774
+ "type": "UploadOptions"
775
+ }
776
+ ],
777
+ "events": [
778
+ {
779
+ "name": "message.submit",
780
+ "description": "",
781
+ "deprecated": "Use `chat.submit` event instead",
782
+ "detail": {
783
+ "type": "string"
784
+ }
785
+ },
786
+ {
787
+ "name": "chat.submit",
788
+ "detail": {
789
+ "type": "ChatPayload"
790
+ }
791
+ }
792
+ ],
793
+ "slots": [],
794
+ "methods": [
795
+ {
796
+ "name": "setValue",
797
+ "params": [
798
+ {
799
+ "name": "value",
800
+ "type": "string"
801
+ }
802
+ ]
803
+ },
804
+ {
805
+ "name": "getValue",
806
+ "params": []
807
+ },
808
+ {
809
+ "name": "focusOnInput",
810
+ "params": []
811
+ }
812
+ ],
813
+ "parts": [],
814
+ "description": "大型聊天输入框,用于首页"
815
+ },
856
816
  {
857
817
  "name": "ai-portal.dropdown-select",
858
818
  "properties": [
@@ -911,12 +871,52 @@
911
871
  "description": "构件 `ai-portal.dropdown-select`"
912
872
  },
913
873
  {
914
- "name": "ai-portal.preview-container",
874
+ "name": "ai-portal.icon-button",
915
875
  "properties": [
916
876
  {
917
- "name": "source",
877
+ "name": "icon",
918
878
  "attribute": false,
919
- "type": "string"
879
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
880
+ },
881
+ {
882
+ "name": "tooltip",
883
+ "type": "string"
884
+ },
885
+ {
886
+ "name": "tooltipHoist",
887
+ "type": "boolean"
888
+ },
889
+ {
890
+ "name": "active",
891
+ "type": "boolean"
892
+ },
893
+ {
894
+ "name": "disabled",
895
+ "type": "boolean"
896
+ },
897
+ {
898
+ "name": "variant",
899
+ "type": "IconButtonVariant"
900
+ },
901
+ {
902
+ "name": "reduceIconSize",
903
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
904
+ "type": "boolean"
905
+ }
906
+ ],
907
+ "events": [],
908
+ "slots": [],
909
+ "methods": [],
910
+ "parts": [],
911
+ "description": "构件 `ai-portal.icon-button`"
912
+ },
913
+ {
914
+ "name": "ai-portal.preview-container",
915
+ "properties": [
916
+ {
917
+ "name": "source",
918
+ "attribute": false,
919
+ "type": "string"
920
920
  },
921
921
  {
922
922
  "name": "url",
@@ -1097,25 +1097,6 @@
1097
1097
  "parts": [],
1098
1098
  "description": "构件 `ai-portal.project-knowledges`"
1099
1099
  },
1100
- {
1101
- "name": "ai-portal.activity-timeline",
1102
- "properties": [
1103
- {
1104
- "name": "list",
1105
- "attribute": false,
1106
- "type": "Activity[]"
1107
- },
1108
- {
1109
- "name": "chatUrlTemplate",
1110
- "type": "string"
1111
- }
1112
- ],
1113
- "events": [],
1114
- "slots": [],
1115
- "methods": [],
1116
- "parts": [],
1117
- "description": "构件 `ai-portal.activity-timeline`"
1118
- },
1119
1100
  {
1120
1101
  "name": "ai-portal.chat-input",
1121
1102
  "properties": [
@@ -1212,38 +1193,23 @@
1212
1193
  "description": "构件 `ai-portal.elevo-logo`"
1213
1194
  },
1214
1195
  {
1215
- "name": "ai-portal.sticky-container",
1196
+ "name": "ai-portal.activity-timeline",
1216
1197
  "properties": [
1217
1198
  {
1218
- "name": "variant",
1219
- "description": "",
1220
- "default": "\"default\"",
1221
- "type": "StickyContainerVariant"
1199
+ "name": "list",
1200
+ "attribute": false,
1201
+ "type": "Activity[]"
1222
1202
  },
1223
1203
  {
1224
- "name": "textContent",
1225
- "type": "string",
1226
- "description": "文本内容"
1204
+ "name": "chatUrlTemplate",
1205
+ "type": "string"
1227
1206
  }
1228
1207
  ],
1229
1208
  "events": [],
1230
- "slots": [
1231
- {
1232
- "name": null,
1233
- "description": "内容"
1234
- },
1235
- {
1236
- "name": "header",
1237
- "description": "头部"
1238
- },
1239
- {
1240
- "name": "toolbar",
1241
- "description": "工具栏"
1242
- }
1243
- ],
1209
+ "slots": [],
1244
1210
  "methods": [],
1245
1211
  "parts": [],
1246
- "description": "构件 `ai-portal.sticky-container`"
1212
+ "description": "构件 `ai-portal.activity-timeline`"
1247
1213
  },
1248
1214
  {
1249
1215
  "name": "ai-portal.show-case",
@@ -1285,6 +1251,40 @@
1285
1251
  "parts": [],
1286
1252
  "description": "构件 `ai-portal.blank-state`"
1287
1253
  },
1254
+ {
1255
+ "name": "ai-portal.sticky-container",
1256
+ "properties": [
1257
+ {
1258
+ "name": "variant",
1259
+ "description": "",
1260
+ "default": "\"default\"",
1261
+ "type": "StickyContainerVariant"
1262
+ },
1263
+ {
1264
+ "name": "textContent",
1265
+ "type": "string",
1266
+ "description": "文本内容"
1267
+ }
1268
+ ],
1269
+ "events": [],
1270
+ "slots": [
1271
+ {
1272
+ "name": null,
1273
+ "description": "内容"
1274
+ },
1275
+ {
1276
+ "name": "header",
1277
+ "description": "头部"
1278
+ },
1279
+ {
1280
+ "name": "toolbar",
1281
+ "description": "工具栏"
1282
+ }
1283
+ ],
1284
+ "methods": [],
1285
+ "parts": [],
1286
+ "description": "构件 `ai-portal.sticky-container`"
1287
+ },
1288
1288
  {
1289
1289
  "name": "ai-portal.elevo-card",
1290
1290
  "properties": [
@@ -1529,99 +1529,6 @@
1529
1529
  "parts": [],
1530
1530
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1531
1531
  },
1532
- {
1533
- "name": "ai-portal.notice-list",
1534
- "properties": [
1535
- {
1536
- "name": "dataSource",
1537
- "description": "消息数据列表",
1538
- "attribute": false,
1539
- "type": "NoticeItem[]"
1540
- },
1541
- {
1542
- "name": "emptyText",
1543
- "description": "空状态文案",
1544
- "type": "string"
1545
- },
1546
- {
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 数组",
1559
- "attribute": false,
1560
- "type": "string[]"
1561
- }
1562
- ],
1563
- "events": [
1564
- {
1565
- "name": "notice.click",
1566
- "description": "消息项点击事件",
1567
- "detail": {
1568
- "description": "消息项数据",
1569
- "type": "NoticeItem"
1570
- }
1571
- },
1572
- {
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": "全部已读事件",
1583
- "detail": {
1584
- "type": "void"
1585
- }
1586
- }
1587
- ],
1588
- "slots": [],
1589
- "methods": [],
1590
- "parts": [],
1591
- "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1592
- },
1593
- {
1594
- "name": "ai-portal.gantt-chart",
1595
- "properties": [
1596
- {
1597
- "name": "chartTitle",
1598
- "type": "string"
1599
- },
1600
- {
1601
- "name": "nodes",
1602
- "attribute": false,
1603
- "type": "GanttNode[]"
1604
- }
1605
- ],
1606
- "events": [
1607
- {
1608
- "name": "node.click",
1609
- "detail": {
1610
- "type": "GanttNode"
1611
- }
1612
- },
1613
- {
1614
- "name": "fullscreen.click",
1615
- "detail": {
1616
- "type": "void"
1617
- }
1618
- }
1619
- ],
1620
- "slots": [],
1621
- "methods": [],
1622
- "parts": [],
1623
- "description": "构件 `ai-portal.gantt-chart`"
1624
- },
1625
1532
  {
1626
1533
  "name": "ai-portal.chat-panel",
1627
1534
  "properties": [
@@ -1711,6 +1618,67 @@
1711
1618
  ],
1712
1619
  "parts": [],
1713
1620
  "description": "弹出式对话面板。"
1621
+ },
1622
+ {
1623
+ "name": "ai-portal.notice-list",
1624
+ "properties": [
1625
+ {
1626
+ "name": "dataSource",
1627
+ "description": "消息数据列表",
1628
+ "attribute": false,
1629
+ "type": "NoticeItem[]"
1630
+ },
1631
+ {
1632
+ "name": "emptyText",
1633
+ "description": "空状态文案",
1634
+ "type": "string"
1635
+ },
1636
+ {
1637
+ "name": "urlTemplate",
1638
+ "description": "详情链接",
1639
+ "type": "string"
1640
+ },
1641
+ {
1642
+ "name": "urlTarget",
1643
+ "description": "详情链接目标",
1644
+ "type": "Target"
1645
+ },
1646
+ {
1647
+ "name": "selectedIds",
1648
+ "description": "选中的消息 ID 数组",
1649
+ "attribute": false,
1650
+ "type": "string[]"
1651
+ }
1652
+ ],
1653
+ "events": [
1654
+ {
1655
+ "name": "notice.click",
1656
+ "description": "消息项点击事件",
1657
+ "detail": {
1658
+ "description": "消息项数据",
1659
+ "type": "NoticeItem"
1660
+ }
1661
+ },
1662
+ {
1663
+ "name": "mark.items.read",
1664
+ "description": "标记消息项已读事件",
1665
+ "detail": {
1666
+ "description": "选中的消息 ID 数组",
1667
+ "type": "NoticeItem[]"
1668
+ }
1669
+ },
1670
+ {
1671
+ "name": "mark.all.read",
1672
+ "description": "全部已读事件",
1673
+ "detail": {
1674
+ "type": "void"
1675
+ }
1676
+ }
1677
+ ],
1678
+ "slots": [],
1679
+ "methods": [],
1680
+ "parts": [],
1681
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1714
1682
  }
1715
1683
  ],
1716
1684
  "providers": [