@next-bricks/ai-portal 0.65.7 → 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.
@@ -3,6 +3,247 @@
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
+ {
77
+ "name": "ai-portal.elevo-sidebar",
78
+ "properties": [
79
+ {
80
+ "name": "userInstanceId",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "behavior",
85
+ "type": "\"default\" | \"drawer\""
86
+ },
87
+ {
88
+ "name": "logoUrl",
89
+ "type": "string"
90
+ },
91
+ {
92
+ "name": "newChatUrl",
93
+ "type": "string"
94
+ },
95
+ {
96
+ "name": "newChatLinkWhenCollapsed",
97
+ "type": "boolean"
98
+ },
99
+ {
100
+ "name": "historyUrlTemplate",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "historyActions",
105
+ "attribute": false,
106
+ "type": "ActionType[]"
107
+ },
108
+ {
109
+ "name": "showProjects",
110
+ "type": "boolean"
111
+ },
112
+ {
113
+ "name": "projectUrlTemplate",
114
+ "type": "string"
115
+ },
116
+ {
117
+ "name": "projectActions",
118
+ "attribute": false,
119
+ "type": "ActionType[]"
120
+ },
121
+ {
122
+ "name": "personalActions",
123
+ "attribute": false,
124
+ "type": "ActionType[]"
125
+ },
126
+ {
127
+ "name": "links",
128
+ "attribute": false,
129
+ "type": "SidebarLink[]"
130
+ },
131
+ {
132
+ "name": "canAddProject",
133
+ "type": "boolean",
134
+ "default": "true"
135
+ },
136
+ {
137
+ "name": "myLinks",
138
+ "attribute": false,
139
+ "type": "SidebarLink[]"
140
+ },
141
+ {
142
+ "name": "scope",
143
+ "description": "",
144
+ "default": "\"default\"",
145
+ "type": "\"default\" | \"space\""
146
+ },
147
+ {
148
+ "name": "spaceNav",
149
+ "attribute": false,
150
+ "type": "SpaceNavProps"
151
+ }
152
+ ],
153
+ "events": [
154
+ {
155
+ "name": "logout",
156
+ "detail": {
157
+ "type": "void"
158
+ }
159
+ },
160
+ {
161
+ "name": "action.click",
162
+ "description": "点击对话历史操作按钮时触发",
163
+ "detail": {
164
+ "type": "ActionClickDetail"
165
+ }
166
+ },
167
+ {
168
+ "name": "project.action.click",
169
+ "description": "点击项目操作按钮时触发",
170
+ "detail": {
171
+ "type": "ProjectActionClickDetail"
172
+ }
173
+ },
174
+ {
175
+ "name": "add.project",
176
+ "detail": {
177
+ "type": "void"
178
+ }
179
+ },
180
+ {
181
+ "name": "add.serviceflow",
182
+ "detail": {
183
+ "type": "void"
184
+ }
185
+ },
186
+ {
187
+ "name": "personal.action.click",
188
+ "description": "点击个人操作按钮时触发",
189
+ "detail": {
190
+ "type": "PersonalActionClickDetail"
191
+ }
192
+ }
193
+ ],
194
+ "slots": [],
195
+ "methods": [
196
+ {
197
+ "name": "pullHistory",
198
+ "params": [
199
+ {
200
+ "name": "delay",
201
+ "description": "Delay in milliseconds before pulling the latest chat history.",
202
+ "type": "number"
203
+ }
204
+ ],
205
+ "description": "",
206
+ "returns": {}
207
+ },
208
+ {
209
+ "name": "open",
210
+ "params": []
211
+ },
212
+ {
213
+ "name": "close",
214
+ "params": []
215
+ },
216
+ {
217
+ "name": "removeProject",
218
+ "params": [
219
+ {
220
+ "name": "projectId",
221
+ "type": "string"
222
+ }
223
+ ]
224
+ },
225
+ {
226
+ "name": "addProject",
227
+ "params": [
228
+ {
229
+ "name": "project",
230
+ "type": "Project"
231
+ }
232
+ ]
233
+ },
234
+ {
235
+ "name": "moveConversation",
236
+ "params": [
237
+ {
238
+ "name": "conversationId",
239
+ "type": "string"
240
+ }
241
+ ]
242
+ }
243
+ ],
244
+ "parts": [],
245
+ "description": "构件 `ai-portal.elevo-sidebar`"
246
+ },
6
247
  {
7
248
  "name": "ai-portal.cruise-canvas",
8
249
  "properties": [
@@ -168,95 +409,20 @@
168
409
  "description": "构件 `ai-portal.cruise-canvas`"
169
410
  },
170
411
  {
171
- "name": "ai-portal.stat-with-mini-chart",
412
+ "name": "ai-portal.icon-button",
172
413
  "properties": [
173
414
  {
174
- "name": "label",
175
- "type": "string"
415
+ "name": "icon",
416
+ "attribute": false,
417
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
176
418
  },
177
419
  {
178
- "name": "value",
420
+ "name": "tooltip",
179
421
  "type": "string"
180
422
  },
181
423
  {
182
- "name": "size",
183
- "description": "",
184
- "default": "\"medium\"",
185
- "type": "\"medium\" | \"small\""
186
- },
187
- {
188
- "name": "lineColor",
189
- "description": "",
190
- "default": "\"var(--color-brand)\"",
191
- "type": "string"
192
- },
193
- {
194
- "name": "showArea",
195
- "type": "boolean"
196
- },
197
- {
198
- "name": "min",
199
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
200
- "type": "number"
201
- },
202
- {
203
- "name": "max",
204
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
205
- "type": "number"
206
- },
207
- {
208
- "name": "xField",
209
- "description": "",
210
- "default": "\"0\"",
211
- "type": "string"
212
- },
213
- {
214
- "name": "yField",
215
- "description": "",
216
- "default": "\"1\"",
217
- "type": "string"
218
- },
219
- {
220
- "name": "data",
221
- "attribute": false,
222
- "type": "Record<string, number>[]"
223
- }
224
- ],
225
- "events": [],
226
- "slots": [],
227
- "methods": [],
228
- "parts": [],
229
- "description": "构件 `ai-portal.stat-with-mini-chart`"
230
- },
231
- {
232
- "name": "ai-portal.home-container",
233
- "properties": [
234
- {
235
- "name": "sticky",
236
- "type": "boolean"
237
- }
238
- ],
239
- "events": [],
240
- "slots": [],
241
- "methods": [],
242
- "parts": [],
243
- "description": "构件 `ai-portal.home-container`"
244
- },
245
- {
246
- "name": "ai-portal.icon-button",
247
- "properties": [
248
- {
249
- "name": "icon",
250
- "attribute": false,
251
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
252
- },
253
- {
254
- "name": "tooltip",
255
- "type": "string"
256
- },
257
- {
258
- "name": "tooltipHoist",
259
- "type": "boolean"
424
+ "name": "tooltipHoist",
425
+ "type": "boolean"
260
426
  },
261
427
  {
262
428
  "name": "active",
@@ -320,6 +486,45 @@
320
486
  "parts": [],
321
487
  "description": "构件 `ai-portal.mcp-tools`"
322
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"
514
+ },
515
+ {
516
+ "name": "withContainer",
517
+ "description": "",
518
+ "deprecated": true,
519
+ "default": "true"
520
+ }
521
+ ],
522
+ "events": [],
523
+ "slots": [],
524
+ "methods": [],
525
+ "parts": [],
526
+ "description": "构件 `ai-portal.ai-agents`"
527
+ },
323
528
  {
324
529
  "name": "ai-portal.ai-employees",
325
530
  "properties": [
@@ -507,29 +712,40 @@
507
712
  "description": "构件 `ai-portal.chat-stream`"
508
713
  },
509
714
  {
510
- "name": "ai-portal.ai-agents",
715
+ "name": "ai-portal.tab-list",
511
716
  "properties": [
512
717
  {
513
- "name": "list",
718
+ "name": "tabs",
514
719
  "attribute": false,
515
- "type": "Agent[]"
720
+ "type": "Tab[]"
516
721
  },
517
722
  {
518
- "name": "urlTemplate",
723
+ "name": "activeTab",
724
+ "attribute": false,
519
725
  "type": "string"
520
- },
726
+ }
727
+ ],
728
+ "events": [
521
729
  {
522
- "name": "withContainer",
523
- "description": "",
524
- "deprecated": true,
525
- "default": "true"
730
+ "name": "tab.click",
731
+ "detail": {
732
+ "type": "Tab"
733
+ }
526
734
  }
527
735
  ],
528
- "events": [],
529
736
  "slots": [],
530
737
  "methods": [],
531
- "parts": [],
532
- "description": "构件 `ai-portal.ai-agents`"
738
+ "parts": [
739
+ {
740
+ "name": "tabs",
741
+ "description": "The tab list container"
742
+ },
743
+ {
744
+ "name": "tab",
745
+ "description": "The individual tab"
746
+ }
747
+ ],
748
+ "description": "构件 `ai-portal.tab-list`"
533
749
  },
534
750
  {
535
751
  "name": "ai-portal.page-container",
@@ -577,40 +793,65 @@
577
793
  "description": "构件 `ai-portal.page-container`"
578
794
  },
579
795
  {
580
- "name": "ai-portal.tab-list",
796
+ "name": "ai-portal.stat-with-mini-chart",
581
797
  "properties": [
582
798
  {
583
- "name": "tabs",
584
- "attribute": false,
585
- "type": "Tab[]"
799
+ "name": "label",
800
+ "type": "string"
586
801
  },
587
802
  {
588
- "name": "activeTab",
589
- "attribute": false,
803
+ "name": "value",
590
804
  "type": "string"
591
- }
592
- ],
593
- "events": [
805
+ },
594
806
  {
595
- "name": "tab.click",
596
- "detail": {
597
- "type": "Tab"
598
- }
599
- }
600
- ],
601
- "slots": [],
602
- "methods": [],
603
- "parts": [
807
+ "name": "size",
808
+ "description": "",
809
+ "default": "\"medium\"",
810
+ "type": "\"medium\" | \"small\""
811
+ },
604
812
  {
605
- "name": "tabs",
606
- "description": "The tab list container"
813
+ "name": "lineColor",
814
+ "description": "",
815
+ "default": "\"var(--color-brand)\"",
816
+ "type": "string"
607
817
  },
608
818
  {
609
- "name": "tab",
610
- "description": "The individual tab"
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>[]"
611
848
  }
612
849
  ],
613
- "description": "构件 `ai-portal.tab-list`"
850
+ "events": [],
851
+ "slots": [],
852
+ "methods": [],
853
+ "parts": [],
854
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
614
855
  },
615
856
  {
616
857
  "name": "ai-portal.dropdown-select",
@@ -670,220 +911,91 @@
670
911
  "description": "构件 `ai-portal.dropdown-select`"
671
912
  },
672
913
  {
673
- "name": "ai-portal.elevo-sidebar",
914
+ "name": "ai-portal.preview-container",
674
915
  "properties": [
675
916
  {
676
- "name": "userInstanceId",
677
- "type": "string"
678
- },
679
- {
680
- "name": "behavior",
681
- "type": "\"default\" | \"drawer\""
682
- },
683
- {
684
- "name": "logoUrl",
685
- "type": "string"
686
- },
687
- {
688
- "name": "newChatUrl",
689
- "type": "string"
690
- },
691
- {
692
- "name": "newChatLinkWhenCollapsed",
693
- "type": "boolean"
694
- },
695
- {
696
- "name": "historyUrlTemplate",
697
- "type": "string"
698
- },
699
- {
700
- "name": "historyActions",
917
+ "name": "source",
701
918
  "attribute": false,
702
- "type": "ActionType[]"
703
- },
704
- {
705
- "name": "showProjects",
706
- "type": "boolean"
707
- },
708
- {
709
- "name": "projectUrlTemplate",
710
919
  "type": "string"
711
920
  },
712
921
  {
713
- "name": "projectActions",
714
- "attribute": false,
715
- "type": "ActionType[]"
716
- },
717
- {
718
- "name": "personalActions",
719
- "attribute": false,
720
- "type": "ActionType[]"
721
- },
722
- {
723
- "name": "links",
724
- "attribute": false,
725
- "type": "SidebarLink[]"
726
- },
727
- {
728
- "name": "canAddProject",
729
- "type": "boolean",
730
- "default": "true"
731
- },
732
- {
733
- "name": "myLinks",
734
- "attribute": false,
735
- "type": "SidebarLink[]"
736
- },
737
- {
738
- "name": "scope",
739
- "description": "",
740
- "default": "\"default\"",
741
- "type": "\"default\" | \"space\""
742
- },
743
- {
744
- "name": "spaceNav",
745
- "attribute": false,
746
- "type": "SpaceNavProps"
747
- }
748
- ],
749
- "events": [
750
- {
751
- "name": "logout",
752
- "detail": {
753
- "type": "void"
754
- }
755
- },
756
- {
757
- "name": "action.click",
758
- "description": "点击对话历史操作按钮时触发",
759
- "detail": {
760
- "type": "ActionClickDetail"
761
- }
762
- },
763
- {
764
- "name": "project.action.click",
765
- "description": "点击项目操作按钮时触发",
766
- "detail": {
767
- "type": "ProjectActionClickDetail"
768
- }
769
- },
770
- {
771
- "name": "add.project",
772
- "detail": {
773
- "type": "void"
774
- }
775
- },
776
- {
777
- "name": "add.serviceflow",
778
- "detail": {
779
- "type": "void"
780
- }
781
- },
782
- {
783
- "name": "personal.action.click",
784
- "description": "点击个人操作按钮时触发",
785
- "detail": {
786
- "type": "PersonalActionClickDetail"
787
- }
922
+ "name": "url",
923
+ "type": "string"
788
924
  }
789
925
  ],
926
+ "events": [],
790
927
  "slots": [],
791
- "methods": [
792
- {
793
- "name": "pullHistory",
794
- "params": [
795
- {
796
- "name": "delay",
797
- "description": "Delay in milliseconds before pulling the latest chat history.",
798
- "type": "number"
799
- }
800
- ],
801
- "description": "",
802
- "returns": {}
803
- },
804
- {
805
- "name": "open",
806
- "params": []
807
- },
808
- {
809
- "name": "close",
810
- "params": []
811
- },
812
- {
813
- "name": "removeProject",
814
- "params": [
815
- {
816
- "name": "projectId",
817
- "type": "string"
818
- }
819
- ]
820
- },
821
- {
822
- "name": "addProject",
823
- "params": [
824
- {
825
- "name": "project",
826
- "type": "Project"
827
- }
828
- ]
829
- },
830
- {
831
- "name": "moveConversation",
832
- "params": [
833
- {
834
- "name": "conversationId",
835
- "type": "string"
836
- }
837
- ]
838
- }
839
- ],
928
+ "methods": [],
840
929
  "parts": [],
841
- "description": "构件 `ai-portal.elevo-sidebar`"
930
+ "description": "构件 `ai-portal.preview-container`"
842
931
  },
843
932
  {
844
- "name": "ai-portal.preview-container",
933
+ "name": "ai-portal.action-buttons",
845
934
  "properties": [
846
935
  {
847
- "name": "source",
936
+ "name": "items",
848
937
  "attribute": false,
849
- "type": "string"
938
+ "type": "ActionItem[]"
850
939
  },
851
940
  {
852
- "name": "url",
853
- "type": "string"
941
+ "name": "activeKey",
942
+ "type": "string | null"
943
+ }
944
+ ],
945
+ "events": [
946
+ {
947
+ "name": "change",
948
+ "detail": {
949
+ "type": "ActionItem | null"
950
+ }
854
951
  }
855
952
  ],
856
- "events": [],
857
953
  "slots": [],
858
954
  "methods": [],
859
955
  "parts": [],
860
- "description": "构件 `ai-portal.preview-container`"
956
+ "description": "构件 `ai-portal.action-buttons`"
861
957
  },
862
958
  {
863
- "name": "ai-portal.action-buttons",
959
+ "name": "ai-portal.project-conversations",
864
960
  "properties": [
865
961
  {
866
- "name": "items",
962
+ "name": "list",
867
963
  "attribute": false,
868
- "type": "ActionItem[]"
964
+ "type": "Conversation[]"
869
965
  },
870
966
  {
871
- "name": "activeKey",
872
- "type": "string | null"
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[]"
873
979
  }
874
980
  ],
875
981
  "events": [
876
982
  {
877
- "name": "change",
983
+ "name": "goal.click",
878
984
  "detail": {
879
- "type": "ActionItem | null"
985
+ "type": "Conversation"
986
+ }
987
+ },
988
+ {
989
+ "name": "action.click",
990
+ "detail": {
991
+ "type": "ActionClickDetail"
880
992
  }
881
993
  }
882
994
  ],
883
995
  "slots": [],
884
996
  "methods": [],
885
997
  "parts": [],
886
- "description": "构件 `ai-portal.action-buttons`"
998
+ "description": "构件 `ai-portal.project-conversations`"
887
999
  },
888
1000
  {
889
1001
  "name": "ai-portal.goal-card-list",
@@ -948,48 +1060,6 @@
948
1060
  "parts": [],
949
1061
  "description": "构件 `ai-portal.goal-card-list`"
950
1062
  },
951
- {
952
- "name": "ai-portal.project-conversations",
953
- "properties": [
954
- {
955
- "name": "list",
956
- "attribute": false,
957
- "type": "Conversation[]"
958
- },
959
- {
960
- "name": "urlTemplate",
961
- "type": "string"
962
- },
963
- {
964
- "name": "actions",
965
- "attribute": false,
966
- "type": "ActionType[]"
967
- },
968
- {
969
- "name": "goals",
970
- "attribute": false,
971
- "type": "Goal[]"
972
- }
973
- ],
974
- "events": [
975
- {
976
- "name": "goal.click",
977
- "detail": {
978
- "type": "Conversation"
979
- }
980
- },
981
- {
982
- "name": "action.click",
983
- "detail": {
984
- "type": "ActionClickDetail"
985
- }
986
- }
987
- ],
988
- "slots": [],
989
- "methods": [],
990
- "parts": [],
991
- "description": "构件 `ai-portal.project-conversations`"
992
- },
993
1063
  {
994
1064
  "name": "ai-portal.project-knowledges",
995
1065
  "properties": [
@@ -1132,6 +1202,15 @@
1132
1202
  "parts": [],
1133
1203
  "description": "小型聊天输入框,用于对话等页面"
1134
1204
  },
1205
+ {
1206
+ "name": "ai-portal.elevo-logo",
1207
+ "properties": [],
1208
+ "events": [],
1209
+ "slots": [],
1210
+ "methods": [],
1211
+ "parts": [],
1212
+ "description": "构件 `ai-portal.elevo-logo`"
1213
+ },
1135
1214
  {
1136
1215
  "name": "ai-portal.show-case",
1137
1216
  "properties": [
@@ -1154,15 +1233,6 @@
1154
1233
  "parts": [],
1155
1234
  "description": "构件 `ai-portal.show-case`"
1156
1235
  },
1157
- {
1158
- "name": "ai-portal.elevo-logo",
1159
- "properties": [],
1160
- "events": [],
1161
- "slots": [],
1162
- "methods": [],
1163
- "parts": [],
1164
- "description": "构件 `ai-portal.elevo-logo`"
1165
- },
1166
1236
  {
1167
1237
  "name": "ai-portal.blank-state",
1168
1238
  "properties": [
@@ -1382,79 +1452,6 @@
1382
1452
  "parts": [],
1383
1453
  "description": "构件 `ai-portal.running-flow`"
1384
1454
  },
1385
- {
1386
- "name": "ai-portal.notice-dropdown",
1387
- "properties": [
1388
- {
1389
- "name": "dataSource",
1390
- "description": "消息数据列表",
1391
- "attribute": false,
1392
- "type": "NoticeItem[]"
1393
- },
1394
- {
1395
- "name": "popoverPlacement",
1396
- "description": "弹窗位置",
1397
- "type": "Placement"
1398
- },
1399
- {
1400
- "name": "emptyText",
1401
- "description": "空状态文案",
1402
- "type": "string"
1403
- },
1404
- {
1405
- "name": "notifyCenterUrl",
1406
- "description": "通知中心URL",
1407
- "type": "string"
1408
- },
1409
- {
1410
- "name": "urlTemplate",
1411
- "description": "详情链接",
1412
- "type": "string"
1413
- },
1414
- {
1415
- "name": "urlTarget",
1416
- "description": "详情链接目标",
1417
- "type": "Target"
1418
- },
1419
- {
1420
- "name": "dropdownMaxWidth",
1421
- "description": "下拉框最大宽度",
1422
- "type": "string | number"
1423
- },
1424
- {
1425
- "name": "dropdownContentStyle",
1426
- "description": "下拉框内容样式",
1427
- "attribute": false,
1428
- "type": "React.CSSProperties"
1429
- },
1430
- {
1431
- "name": "hideNotifyCenterButton",
1432
- "description": "是否隐藏进入消息中心按钮",
1433
- "type": "boolean"
1434
- }
1435
- ],
1436
- "events": [
1437
- {
1438
- "name": "notice.click",
1439
- "description": "消息项点击事件",
1440
- "detail": {
1441
- "description": "消息 ID",
1442
- "type": "NoticeItem"
1443
- }
1444
- },
1445
- {
1446
- "name": "mark.all.read",
1447
- "description": "全部已读点击事件",
1448
- "detail": {
1449
- "type": "void"
1450
- }
1451
- }
1452
- ],
1453
- "slots": [],
1454
- "methods": [],
1455
- "parts": [],
1456
- "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1457
- },
1458
1455
  {
1459
1456
  "name": "ai-portal.notice-list",
1460
1457
  "properties": [
@@ -1607,80 +1604,80 @@
1607
1604
  "description": "弹出式对话面板。"
1608
1605
  },
1609
1606
  {
1610
- "name": "ai-portal.chat-box",
1607
+ "name": "ai-portal.notice-dropdown",
1611
1608
  "properties": [
1612
1609
  {
1613
- "name": "disabled",
1614
- "type": "boolean"
1610
+ "name": "dataSource",
1611
+ "description": "消息数据列表",
1612
+ "attribute": false,
1613
+ "type": "NoticeItem[]"
1615
1614
  },
1616
1615
  {
1617
- "name": "placeholder",
1616
+ "name": "popoverPlacement",
1617
+ "description": "弹窗位置",
1618
+ "type": "Placement"
1619
+ },
1620
+ {
1621
+ "name": "emptyText",
1622
+ "description": "空状态文案",
1618
1623
  "type": "string"
1619
1624
  },
1620
1625
  {
1621
- "name": "autoFocus",
1622
- "type": "boolean"
1626
+ "name": "notifyCenterUrl",
1627
+ "description": "通知中心URL",
1628
+ "type": "string"
1623
1629
  },
1624
1630
  {
1625
- "name": "aiEmployees",
1626
- "attribute": false,
1627
- "type": "AIEmployee[]"
1631
+ "name": "urlTemplate",
1632
+ "description": "详情链接",
1633
+ "type": "string"
1628
1634
  },
1629
1635
  {
1630
- "name": "commands",
1631
- "attribute": false,
1632
- "type": "Command[]"
1636
+ "name": "urlTarget",
1637
+ "description": "详情链接目标",
1638
+ "type": "Target"
1633
1639
  },
1634
1640
  {
1635
- "name": "uploadOptions",
1641
+ "name": "dropdownMaxWidth",
1642
+ "description": "下拉框最大宽度",
1643
+ "type": "string | number"
1644
+ },
1645
+ {
1646
+ "name": "dropdownContentStyle",
1647
+ "description": "下拉框内容样式",
1636
1648
  "attribute": false,
1637
- "type": "UploadOptions"
1649
+ "type": "React.CSSProperties"
1650
+ },
1651
+ {
1652
+ "name": "hideNotifyCenterButton",
1653
+ "description": "是否隐藏进入消息中心按钮",
1654
+ "type": "boolean"
1638
1655
  }
1639
1656
  ],
1640
1657
  "events": [
1641
1658
  {
1642
- "name": "message.submit",
1643
- "description": "",
1644
- "deprecated": "Use `chat.submit` event instead",
1659
+ "name": "notice.click",
1660
+ "description": "消息项点击事件",
1645
1661
  "detail": {
1646
- "type": "string"
1662
+ "description": "消息 ID",
1663
+ "type": "NoticeItem"
1647
1664
  }
1648
1665
  },
1649
1666
  {
1650
- "name": "chat.submit",
1667
+ "name": "mark.all.read",
1668
+ "description": "全部已读点击事件",
1651
1669
  "detail": {
1652
- "type": "ChatPayload"
1670
+ "type": "void"
1653
1671
  }
1654
1672
  }
1655
1673
  ],
1656
1674
  "slots": [],
1657
- "methods": [
1658
- {
1659
- "name": "setValue",
1660
- "params": [
1661
- {
1662
- "name": "value",
1663
- "type": "string"
1664
- }
1665
- ]
1666
- },
1667
- {
1668
- "name": "getValue",
1669
- "params": []
1670
- },
1671
- {
1672
- "name": "focusOnInput",
1673
- "params": []
1674
- }
1675
- ],
1675
+ "methods": [],
1676
1676
  "parts": [],
1677
- "description": "大型聊天输入框,用于首页"
1677
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1678
1678
  }
1679
1679
  ],
1680
1680
  "providers": [
1681
- {
1682
- "name": "ai-portal.set-chat-command"
1683
- },
1684
1681
  {
1685
1682
  "name": "ai-portal.save-request-store"
1686
1683
  },
@@ -1692,6 +1689,12 @@
1692
1689
  },
1693
1690
  {
1694
1691
  "name": "ai-portal.call-tool"
1692
+ },
1693
+ {
1694
+ "name": "ai-portal.set-chat-command"
1695
+ },
1696
+ {
1697
+ "name": "ai-portal.set-chat-mentioned-employee"
1695
1698
  }
1696
1699
  ]
1697
1700
  }