@next-bricks/ai-portal 0.65.0 → 0.65.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.
Files changed (39) hide show
  1. package/dist/bricks.json +49 -49
  2. package/dist/chunks/{2742.670f78d2.js → 2742.f24782f8.js} +2 -2
  3. package/dist/chunks/2742.f24782f8.js.map +1 -0
  4. package/dist/chunks/4208.7ad3b395.js +2 -0
  5. package/dist/chunks/4208.7ad3b395.js.map +1 -0
  6. package/dist/chunks/7139.b585e5ea.js +2 -0
  7. package/dist/chunks/7139.b585e5ea.js.map +1 -0
  8. package/dist/chunks/7159.bd59ed3e.js +2 -0
  9. package/dist/chunks/7159.bd59ed3e.js.map +1 -0
  10. package/dist/chunks/chat-panel.bbb24c5a.js +2 -0
  11. package/dist/chunks/chat-panel.bbb24c5a.js.map +1 -0
  12. package/dist/chunks/{main.97d00f7b.js → main.51248f49.js} +2 -2
  13. package/dist/chunks/{main.97d00f7b.js.map → main.51248f49.js.map} +1 -1
  14. package/dist/examples.json +22 -22
  15. package/dist/index.16143768.js +2 -0
  16. package/dist/{index.01059b82.js.map → index.16143768.js.map} +1 -1
  17. package/dist/manifest.json +316 -316
  18. package/dist/types.json +840 -840
  19. package/dist-types/chat-stream/StreamContext.d.ts +1 -0
  20. package/dist-types/chat-stream/interfaces.d.ts +0 -1
  21. package/dist-types/chat-stream/useAutoScroll.d.ts +1 -0
  22. package/dist-types/chat-stream/useConversationStream.d.ts +1 -0
  23. package/dist-types/shared/ActivityPlan/getStateIcon.d.ts +6 -0
  24. package/dist-types/shared/TaskContext.d.ts +4 -1
  25. package/dist-types/shared/getFlatChunks.d.ts +3 -1
  26. package/dist-types/shared/getOrderedNodes.d.ts +1 -4
  27. package/dist-types/shared/getTaskTree.d.ts +1 -1
  28. package/dist-types/shared/interfaces.d.ts +1 -1
  29. package/package.json +2 -2
  30. package/dist/chunks/2742.670f78d2.js.map +0 -1
  31. package/dist/chunks/4208.694d7deb.js +0 -2
  32. package/dist/chunks/4208.694d7deb.js.map +0 -1
  33. package/dist/chunks/7139.4195ba95.js +0 -2
  34. package/dist/chunks/7139.4195ba95.js.map +0 -1
  35. package/dist/chunks/7712.06a445a6.js +0 -2
  36. package/dist/chunks/7712.06a445a6.js.map +0 -1
  37. package/dist/chunks/chat-panel.313d3906.js +0 -2
  38. package/dist/chunks/chat-panel.313d3906.js.map +0 -1
  39. package/dist/index.01059b82.js +0 -2
@@ -73,6 +73,121 @@
73
73
  "parts": [],
74
74
  "description": "大型聊天输入框,用于首页"
75
75
  },
76
+ {
77
+ "name": "ai-portal.stat-with-mini-chart",
78
+ "properties": [
79
+ {
80
+ "name": "label",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "value",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "size",
89
+ "description": "",
90
+ "default": "\"medium\"",
91
+ "type": "\"medium\" | \"small\""
92
+ },
93
+ {
94
+ "name": "lineColor",
95
+ "description": "",
96
+ "default": "\"var(--color-brand)\"",
97
+ "type": "string"
98
+ },
99
+ {
100
+ "name": "showArea",
101
+ "type": "boolean"
102
+ },
103
+ {
104
+ "name": "min",
105
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
106
+ "type": "number"
107
+ },
108
+ {
109
+ "name": "max",
110
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
111
+ "type": "number"
112
+ },
113
+ {
114
+ "name": "xField",
115
+ "description": "",
116
+ "default": "\"0\"",
117
+ "type": "string"
118
+ },
119
+ {
120
+ "name": "yField",
121
+ "description": "",
122
+ "default": "\"1\"",
123
+ "type": "string"
124
+ },
125
+ {
126
+ "name": "data",
127
+ "attribute": false,
128
+ "type": "Record<string, number>[]"
129
+ }
130
+ ],
131
+ "events": [],
132
+ "slots": [],
133
+ "methods": [],
134
+ "parts": [],
135
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
136
+ },
137
+ {
138
+ "name": "ai-portal.home-container",
139
+ "properties": [
140
+ {
141
+ "name": "sticky",
142
+ "type": "boolean"
143
+ }
144
+ ],
145
+ "events": [],
146
+ "slots": [],
147
+ "methods": [],
148
+ "parts": [],
149
+ "description": "构件 `ai-portal.home-container`"
150
+ },
151
+ {
152
+ "name": "ai-portal.icon-button",
153
+ "properties": [
154
+ {
155
+ "name": "icon",
156
+ "attribute": false,
157
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
158
+ },
159
+ {
160
+ "name": "tooltip",
161
+ "type": "string"
162
+ },
163
+ {
164
+ "name": "tooltipHoist",
165
+ "type": "boolean"
166
+ },
167
+ {
168
+ "name": "active",
169
+ "type": "boolean"
170
+ },
171
+ {
172
+ "name": "disabled",
173
+ "type": "boolean"
174
+ },
175
+ {
176
+ "name": "variant",
177
+ "type": "IconButtonVariant"
178
+ },
179
+ {
180
+ "name": "reduceIconSize",
181
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
182
+ "type": "boolean"
183
+ }
184
+ ],
185
+ "events": [],
186
+ "slots": [],
187
+ "methods": [],
188
+ "parts": [],
189
+ "description": "构件 `ai-portal.icon-button`"
190
+ },
76
191
  {
77
192
  "name": "ai-portal.cruise-canvas",
78
193
  "properties": [
@@ -238,65 +353,23 @@
238
353
  "description": "构件 `ai-portal.cruise-canvas`"
239
354
  },
240
355
  {
241
- "name": "ai-portal.stat-with-mini-chart",
356
+ "name": "ai-portal.show-cases",
242
357
  "properties": [
243
358
  {
244
- "name": "label",
245
- "type": "string"
246
- },
247
- {
248
- "name": "value",
249
- "type": "string"
250
- },
251
- {
252
- "name": "size",
253
- "description": "",
254
- "default": "\"medium\"",
255
- "type": "\"medium\" | \"small\""
256
- },
257
- {
258
- "name": "lineColor",
259
- "description": "",
260
- "default": "\"var(--color-brand)\"",
261
- "type": "string"
262
- },
263
- {
264
- "name": "showArea",
265
- "type": "boolean"
266
- },
267
- {
268
- "name": "min",
269
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
270
- "type": "number"
359
+ "name": "list",
360
+ "attribute": false,
361
+ "type": "ShowCaseType[]"
271
362
  },
272
363
  {
273
- "name": "max",
274
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
364
+ "name": "limit",
275
365
  "type": "number"
276
- },
277
- {
278
- "name": "xField",
279
- "description": "",
280
- "default": "\"0\"",
281
- "type": "string"
282
- },
283
- {
284
- "name": "yField",
285
- "description": "",
286
- "default": "\"1\"",
287
- "type": "string"
288
- },
289
- {
290
- "name": "data",
291
- "attribute": false,
292
- "type": "Record<string, number>[]"
293
366
  }
294
367
  ],
295
368
  "events": [],
296
369
  "slots": [],
297
370
  "methods": [],
298
371
  "parts": [],
299
- "description": "构件 `ai-portal.stat-with-mini-chart`"
372
+ "description": "构件 `ai-portal.show-cases`"
300
373
  },
301
374
  {
302
375
  "name": "ai-portal.elevo-sidebar",
@@ -470,96 +543,76 @@
470
543
  "description": "构件 `ai-portal.elevo-sidebar`"
471
544
  },
472
545
  {
473
- "name": "ai-portal.home-container",
546
+ "name": "ai-portal.mcp-tools",
474
547
  "properties": [
475
548
  {
476
- "name": "sticky",
477
- "type": "boolean"
549
+ "name": "list",
550
+ "attribute": false,
551
+ "type": "McpTool[]"
552
+ },
553
+ {
554
+ "name": "stickyTop",
555
+ "type": "number"
478
556
  }
479
557
  ],
480
558
  "events": [],
481
559
  "slots": [],
482
560
  "methods": [],
483
561
  "parts": [],
484
- "description": "构件 `ai-portal.home-container`"
562
+ "description": "构件 `ai-portal.mcp-tools`"
485
563
  },
486
564
  {
487
- "name": "ai-portal.icon-button",
565
+ "name": "ai-portal.ai-employees",
488
566
  "properties": [
489
567
  {
490
- "name": "icon",
568
+ "name": "list",
491
569
  "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"
570
+ "type": "Employee[]"
505
571
  },
506
572
  {
507
- "name": "disabled",
508
- "type": "boolean"
573
+ "name": "industries",
574
+ "attribute": false,
575
+ "type": "string[]"
509
576
  },
510
577
  {
511
- "name": "variant",
512
- "type": "IconButtonVariant"
578
+ "name": "urlTemplate",
579
+ "type": "string"
513
580
  },
514
581
  {
515
- "name": "reduceIconSize",
516
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
517
- "type": "boolean"
582
+ "name": "stickyTop",
583
+ "type": "number"
518
584
  }
519
585
  ],
520
586
  "events": [],
521
587
  "slots": [],
522
588
  "methods": [],
523
589
  "parts": [],
524
- "description": "构件 `ai-portal.icon-button`"
590
+ "description": "构件 `ai-portal.ai-employees`"
525
591
  },
526
592
  {
527
- "name": "ai-portal.show-cases",
593
+ "name": "ai-portal.ai-agents",
528
594
  "properties": [
529
595
  {
530
596
  "name": "list",
531
597
  "attribute": false,
532
- "type": "ShowCaseType[]"
598
+ "type": "Agent[]"
533
599
  },
534
600
  {
535
- "name": "limit",
536
- "type": "number"
537
- }
538
- ],
539
- "events": [],
540
- "slots": [],
541
- "methods": [],
542
- "parts": [],
543
- "description": "构件 `ai-portal.show-cases`"
544
- },
545
- {
546
- "name": "ai-portal.mcp-tools",
547
- "properties": [
548
- {
549
- "name": "list",
550
- "attribute": false,
551
- "type": "McpTool[]"
601
+ "name": "urlTemplate",
602
+ "type": "string"
552
603
  },
553
604
  {
554
- "name": "stickyTop",
555
- "type": "number"
605
+ "name": "withContainer",
606
+ "description": "",
607
+ "deprecated": true,
608
+ "default": "true"
556
609
  }
557
610
  ],
558
611
  "events": [],
559
612
  "slots": [],
560
613
  "methods": [],
561
614
  "parts": [],
562
- "description": "构件 `ai-portal.mcp-tools`"
615
+ "description": "构件 `ai-portal.ai-agents`"
563
616
  },
564
617
  {
565
618
  "name": "ai-portal.chat-stream",
@@ -719,59 +772,6 @@
719
772
  "parts": [],
720
773
  "description": "构件 `ai-portal.chat-stream`"
721
774
  },
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
- },
775
775
  {
776
776
  "name": "ai-portal.page-container",
777
777
  "properties": [
@@ -809,89 +809,13 @@
809
809
  "description": "内容"
810
810
  },
811
811
  {
812
- "name": "toolbar",
813
- "description": "工具栏"
814
- }
815
- ],
816
- "methods": [],
817
- "parts": [],
818
- "description": "构件 `ai-portal.page-container`"
819
- },
820
- {
821
- "name": "ai-portal.dropdown-select",
822
- "properties": [
823
- {
824
- "name": "value",
825
- "type": "string"
826
- },
827
- {
828
- "name": "options",
829
- "attribute": false,
830
- "type": "DropdownOptions[]"
831
- },
832
- {
833
- "name": "labelMaxWidth",
834
- "attribute": false,
835
- "type": "string | number"
836
- },
837
- {
838
- "name": "loading",
839
- "type": "boolean"
840
- },
841
- {
842
- "name": "searchPlaceholder",
843
- "attribute": false,
844
- "type": "string"
845
- },
846
- {
847
- "name": "dropdownContentStyle",
848
- "attribute": false,
849
- "type": "React.CSSProperties"
850
- },
851
- {
852
- "name": "dropdownMaxWidth",
853
- "description": "",
854
- "default": "\"500px\"",
855
- "attribute": false,
856
- "type": "string | number"
857
- },
858
- {
859
- "name": "showSearch",
860
- "description": "是否展示搜索框",
861
- "type": "boolean"
862
- }
863
- ],
864
- "events": [
865
- {
866
- "name": "change",
867
- "detail": {
868
- "type": "DropdownOptions"
869
- }
870
- }
871
- ],
872
- "slots": [],
873
- "methods": [],
874
- "parts": [],
875
- "description": "构件 `ai-portal.dropdown-select`"
876
- },
877
- {
878
- "name": "ai-portal.preview-container",
879
- "properties": [
880
- {
881
- "name": "source",
882
- "attribute": false,
883
- "type": "string"
884
- },
885
- {
886
- "name": "url",
887
- "type": "string"
812
+ "name": "toolbar",
813
+ "description": "工具栏"
888
814
  }
889
815
  ],
890
- "events": [],
891
- "slots": [],
892
816
  "methods": [],
893
817
  "parts": [],
894
- "description": "构件 `ai-portal.preview-container`"
818
+ "description": "构件 `ai-portal.page-container`"
895
819
  },
896
820
  {
897
821
  "name": "ai-portal.tab-list",
@@ -930,30 +854,61 @@
930
854
  "description": "构件 `ai-portal.tab-list`"
931
855
  },
932
856
  {
933
- "name": "ai-portal.action-buttons",
857
+ "name": "ai-portal.dropdown-select",
934
858
  "properties": [
935
859
  {
936
- "name": "items",
860
+ "name": "value",
861
+ "type": "string"
862
+ },
863
+ {
864
+ "name": "options",
937
865
  "attribute": false,
938
- "type": "ActionItem[]"
866
+ "type": "DropdownOptions[]"
939
867
  },
940
868
  {
941
- "name": "activeKey",
942
- "type": "string | null"
869
+ "name": "labelMaxWidth",
870
+ "attribute": false,
871
+ "type": "string | number"
872
+ },
873
+ {
874
+ "name": "loading",
875
+ "type": "boolean"
876
+ },
877
+ {
878
+ "name": "searchPlaceholder",
879
+ "attribute": false,
880
+ "type": "string"
881
+ },
882
+ {
883
+ "name": "dropdownContentStyle",
884
+ "attribute": false,
885
+ "type": "React.CSSProperties"
886
+ },
887
+ {
888
+ "name": "dropdownMaxWidth",
889
+ "description": "",
890
+ "default": "\"500px\"",
891
+ "attribute": false,
892
+ "type": "string | number"
893
+ },
894
+ {
895
+ "name": "showSearch",
896
+ "description": "是否展示搜索框",
897
+ "type": "boolean"
943
898
  }
944
899
  ],
945
900
  "events": [
946
901
  {
947
902
  "name": "change",
948
903
  "detail": {
949
- "type": "ActionItem | null"
904
+ "type": "DropdownOptions"
950
905
  }
951
906
  }
952
907
  ],
953
908
  "slots": [],
954
909
  "methods": [],
955
910
  "parts": [],
956
- "description": "构件 `ai-portal.action-buttons`"
911
+ "description": "构件 `ai-portal.dropdown-select`"
957
912
  },
958
913
  {
959
914
  "name": "ai-portal.goal-card-list",
@@ -1018,6 +973,25 @@
1018
973
  "parts": [],
1019
974
  "description": "构件 `ai-portal.goal-card-list`"
1020
975
  },
976
+ {
977
+ "name": "ai-portal.preview-container",
978
+ "properties": [
979
+ {
980
+ "name": "source",
981
+ "attribute": false,
982
+ "type": "string"
983
+ },
984
+ {
985
+ "name": "url",
986
+ "type": "string"
987
+ }
988
+ ],
989
+ "events": [],
990
+ "slots": [],
991
+ "methods": [],
992
+ "parts": [],
993
+ "description": "构件 `ai-portal.preview-container`"
994
+ },
1021
995
  {
1022
996
  "name": "ai-portal.project-conversations",
1023
997
  "properties": [
@@ -1060,6 +1034,25 @@
1060
1034
  "parts": [],
1061
1035
  "description": "构件 `ai-portal.project-conversations`"
1062
1036
  },
1037
+ {
1038
+ "name": "ai-portal.activity-timeline",
1039
+ "properties": [
1040
+ {
1041
+ "name": "list",
1042
+ "attribute": false,
1043
+ "type": "Activity[]"
1044
+ },
1045
+ {
1046
+ "name": "chatUrlTemplate",
1047
+ "type": "string"
1048
+ }
1049
+ ],
1050
+ "events": [],
1051
+ "slots": [],
1052
+ "methods": [],
1053
+ "parts": [],
1054
+ "description": "构件 `ai-portal.activity-timeline`"
1055
+ },
1063
1056
  {
1064
1057
  "name": "ai-portal.project-knowledges",
1065
1058
  "properties": [
@@ -1098,23 +1091,30 @@
1098
1091
  "description": "构件 `ai-portal.project-knowledges`"
1099
1092
  },
1100
1093
  {
1101
- "name": "ai-portal.activity-timeline",
1094
+ "name": "ai-portal.action-buttons",
1102
1095
  "properties": [
1103
1096
  {
1104
- "name": "list",
1097
+ "name": "items",
1105
1098
  "attribute": false,
1106
- "type": "Activity[]"
1099
+ "type": "ActionItem[]"
1107
1100
  },
1108
1101
  {
1109
- "name": "chatUrlTemplate",
1110
- "type": "string"
1102
+ "name": "activeKey",
1103
+ "type": "string | null"
1104
+ }
1105
+ ],
1106
+ "events": [
1107
+ {
1108
+ "name": "change",
1109
+ "detail": {
1110
+ "type": "ActionItem | null"
1111
+ }
1111
1112
  }
1112
1113
  ],
1113
- "events": [],
1114
1114
  "slots": [],
1115
1115
  "methods": [],
1116
1116
  "parts": [],
1117
- "description": "构件 `ai-portal.activity-timeline`"
1117
+ "description": "构件 `ai-portal.action-buttons`"
1118
1118
  },
1119
1119
  {
1120
1120
  "name": "ai-portal.chat-input",
@@ -1251,6 +1251,37 @@
1251
1251
  "parts": [],
1252
1252
  "description": "构件 `ai-portal.blank-state`"
1253
1253
  },
1254
+ {
1255
+ "name": "ai-portal.elevo-card",
1256
+ "properties": [
1257
+ {
1258
+ "name": "cardTitle",
1259
+ "type": "string"
1260
+ },
1261
+ {
1262
+ "name": "description",
1263
+ "type": "string"
1264
+ },
1265
+ {
1266
+ "name": "url",
1267
+ "type": "string"
1268
+ },
1269
+ {
1270
+ "name": "avatar",
1271
+ "attribute": false,
1272
+ "type": "string | GeneralIconProps"
1273
+ },
1274
+ {
1275
+ "name": "avatarType",
1276
+ "type": "\"icon\" | \"image\""
1277
+ }
1278
+ ],
1279
+ "events": [],
1280
+ "slots": [],
1281
+ "methods": [],
1282
+ "parts": [],
1283
+ "description": "构件 `ai-portal.elevo-card`"
1284
+ },
1254
1285
  {
1255
1286
  "name": "ai-portal.sticky-container",
1256
1287
  "properties": [
@@ -1285,37 +1316,6 @@
1285
1316
  "parts": [],
1286
1317
  "description": "构件 `ai-portal.sticky-container`"
1287
1318
  },
1288
- {
1289
- "name": "ai-portal.elevo-card",
1290
- "properties": [
1291
- {
1292
- "name": "cardTitle",
1293
- "type": "string"
1294
- },
1295
- {
1296
- "name": "description",
1297
- "type": "string"
1298
- },
1299
- {
1300
- "name": "url",
1301
- "type": "string"
1302
- },
1303
- {
1304
- "name": "avatar",
1305
- "attribute": false,
1306
- "type": "string | GeneralIconProps"
1307
- },
1308
- {
1309
- "name": "avatarType",
1310
- "type": "\"icon\" | \"image\""
1311
- }
1312
- ],
1313
- "events": [],
1314
- "slots": [],
1315
- "methods": [],
1316
- "parts": [],
1317
- "description": "构件 `ai-portal.elevo-card`"
1318
- },
1319
1319
  {
1320
1320
  "name": "ai-portal.flow-tabs",
1321
1321
  "properties": [
@@ -1457,7 +1457,7 @@
1457
1457
  "description": "构件 `ai-portal.running-flow`"
1458
1458
  },
1459
1459
  {
1460
- "name": "ai-portal.notice-list",
1460
+ "name": "ai-portal.notice-dropdown",
1461
1461
  "properties": [
1462
1462
  {
1463
1463
  "name": "dataSource",
@@ -1465,11 +1465,21 @@
1465
1465
  "attribute": false,
1466
1466
  "type": "NoticeItem[]"
1467
1467
  },
1468
+ {
1469
+ "name": "popoverPlacement",
1470
+ "description": "弹窗位置",
1471
+ "type": "Placement"
1472
+ },
1468
1473
  {
1469
1474
  "name": "emptyText",
1470
1475
  "description": "空状态文案",
1471
1476
  "type": "string"
1472
1477
  },
1478
+ {
1479
+ "name": "notifyCenterUrl",
1480
+ "description": "通知中心URL",
1481
+ "type": "string"
1482
+ },
1473
1483
  {
1474
1484
  "name": "urlTemplate",
1475
1485
  "description": "详情链接",
@@ -1481,10 +1491,20 @@
1481
1491
  "type": "Target"
1482
1492
  },
1483
1493
  {
1484
- "name": "selectedIds",
1485
- "description": "选中的消息 ID 数组",
1494
+ "name": "dropdownMaxWidth",
1495
+ "description": "下拉框最大宽度",
1496
+ "type": "string | number"
1497
+ },
1498
+ {
1499
+ "name": "dropdownContentStyle",
1500
+ "description": "下拉框内容样式",
1486
1501
  "attribute": false,
1487
- "type": "string[]"
1502
+ "type": "React.CSSProperties"
1503
+ },
1504
+ {
1505
+ "name": "hideNotifyCenterButton",
1506
+ "description": "是否隐藏进入消息中心按钮",
1507
+ "type": "boolean"
1488
1508
  }
1489
1509
  ],
1490
1510
  "events": [
@@ -1492,21 +1512,13 @@
1492
1512
  "name": "notice.click",
1493
1513
  "description": "消息项点击事件",
1494
1514
  "detail": {
1495
- "description": "消息项数据",
1515
+ "description": "消息 ID",
1496
1516
  "type": "NoticeItem"
1497
1517
  }
1498
1518
  },
1499
- {
1500
- "name": "mark.items.read",
1501
- "description": "标记消息项已读事件",
1502
- "detail": {
1503
- "description": "选中的消息 ID 数组",
1504
- "type": "NoticeItem[]"
1505
- }
1506
- },
1507
1519
  {
1508
1520
  "name": "mark.all.read",
1509
- "description": "全部已读事件",
1521
+ "description": "全部已读点击事件",
1510
1522
  "detail": {
1511
1523
  "type": "void"
1512
1524
  }
@@ -1515,10 +1527,10 @@
1515
1527
  "slots": [],
1516
1528
  "methods": [],
1517
1529
  "parts": [],
1518
- "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1530
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1519
1531
  },
1520
1532
  {
1521
- "name": "ai-portal.notice-dropdown",
1533
+ "name": "ai-portal.notice-list",
1522
1534
  "properties": [
1523
1535
  {
1524
1536
  "name": "dataSource",
@@ -1526,21 +1538,11 @@
1526
1538
  "attribute": false,
1527
1539
  "type": "NoticeItem[]"
1528
1540
  },
1529
- {
1530
- "name": "popoverPlacement",
1531
- "description": "弹窗位置",
1532
- "type": "Placement"
1533
- },
1534
1541
  {
1535
1542
  "name": "emptyText",
1536
1543
  "description": "空状态文案",
1537
1544
  "type": "string"
1538
1545
  },
1539
- {
1540
- "name": "notifyCenterUrl",
1541
- "description": "通知中心URL",
1542
- "type": "string"
1543
- },
1544
1546
  {
1545
1547
  "name": "urlTemplate",
1546
1548
  "description": "详情链接",
@@ -1552,20 +1554,10 @@
1552
1554
  "type": "Target"
1553
1555
  },
1554
1556
  {
1555
- "name": "dropdownMaxWidth",
1556
- "description": "下拉框最大宽度",
1557
- "type": "string | number"
1558
- },
1559
- {
1560
- "name": "dropdownContentStyle",
1561
- "description": "下拉框内容样式",
1557
+ "name": "selectedIds",
1558
+ "description": "选中的消息 ID 数组",
1562
1559
  "attribute": false,
1563
- "type": "React.CSSProperties"
1564
- },
1565
- {
1566
- "name": "hideNotifyCenterButton",
1567
- "description": "是否隐藏进入消息中心按钮",
1568
- "type": "boolean"
1560
+ "type": "string[]"
1569
1561
  }
1570
1562
  ],
1571
1563
  "events": [
@@ -1573,13 +1565,21 @@
1573
1565
  "name": "notice.click",
1574
1566
  "description": "消息项点击事件",
1575
1567
  "detail": {
1576
- "description": "消息 ID",
1568
+ "description": "消息项数据",
1577
1569
  "type": "NoticeItem"
1578
1570
  }
1579
1571
  },
1572
+ {
1573
+ "name": "mark.items.read",
1574
+ "description": "标记消息项已读事件",
1575
+ "detail": {
1576
+ "description": "选中的消息 ID 数组",
1577
+ "type": "NoticeItem[]"
1578
+ }
1579
+ },
1580
1580
  {
1581
1581
  "name": "mark.all.read",
1582
- "description": "全部已读点击事件",
1582
+ "description": "全部已读事件",
1583
1583
  "detail": {
1584
1584
  "type": "void"
1585
1585
  }
@@ -1588,7 +1588,7 @@
1588
1588
  "slots": [],
1589
1589
  "methods": [],
1590
1590
  "parts": [],
1591
- "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1591
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1592
1592
  },
1593
1593
  {
1594
1594
  "name": "ai-portal.chat-panel",