@next-bricks/ai-portal 0.56.2 → 0.58.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 (108) hide show
  1. package/dist/bricks.json +44 -34
  2. package/dist/chunks/1488.89557180.js +2 -0
  3. package/dist/chunks/1488.89557180.js.map +1 -0
  4. package/dist/chunks/151.b87bccc0.js +2 -0
  5. package/dist/chunks/151.b87bccc0.js.map +1 -0
  6. package/dist/chunks/2232.75f1ab0f.js +2 -0
  7. package/dist/chunks/2232.75f1ab0f.js.map +1 -0
  8. package/dist/chunks/3848.01a4987f.js +3 -0
  9. package/dist/chunks/3848.01a4987f.js.map +1 -0
  10. package/dist/chunks/4002.68156a0e.js +3 -0
  11. package/dist/chunks/4002.68156a0e.js.map +1 -0
  12. package/dist/chunks/7041.d7408449.js +2 -0
  13. package/dist/chunks/7041.d7408449.js.map +1 -0
  14. package/dist/chunks/9496.08074e2b.js +2 -0
  15. package/dist/chunks/9496.08074e2b.js.map +1 -0
  16. package/dist/chunks/chat-box.1b2a4a02.js +2 -0
  17. package/dist/chunks/chat-box.1b2a4a02.js.map +1 -0
  18. package/dist/chunks/chat-input.3ca07b82.js +2 -0
  19. package/dist/chunks/chat-input.3ca07b82.js.map +1 -0
  20. package/dist/chunks/chat-stream.a7c4f58d.js +2 -0
  21. package/dist/chunks/chat-stream.a7c4f58d.js.map +1 -0
  22. package/dist/chunks/cruise-canvas.b444c4ca.js +2 -0
  23. package/dist/chunks/cruise-canvas.b444c4ca.js.map +1 -0
  24. package/dist/chunks/{main.e3031a8c.js → main.703a0465.js} +2 -2
  25. package/dist/chunks/{main.e3031a8c.js.map → main.703a0465.js.map} +1 -1
  26. package/dist/chunks/notice-dropdown.37b8ffb2.js +2 -0
  27. package/dist/chunks/notice-dropdown.37b8ffb2.js.map +1 -0
  28. package/dist/examples.json +20 -17
  29. package/dist/images/0155287e.svg +18 -0
  30. package/dist/images/0e89dec0.svg +19 -0
  31. package/dist/images/218d5865.svg +18 -0
  32. package/dist/images/391238ae.png +0 -0
  33. package/dist/images/96be9327.png +0 -0
  34. package/dist/images/dcee4821.svg +12 -0
  35. package/dist/index.7d751c21.js +2 -0
  36. package/dist/index.7d751c21.js.map +1 -0
  37. package/dist/manifest.json +299 -214
  38. package/dist/types.json +1442 -511
  39. package/dist-types/bootstrap.d.ts +1 -0
  40. package/dist-types/chat-box/index.d.ts +3 -12
  41. package/dist-types/chat-input/index.d.ts +5 -2
  42. package/dist-types/chat-stream/ChatStream.d.ts +1 -1
  43. package/dist-types/chat-stream/UserMessage/UserMessage.d.ts +3 -2
  44. package/dist-types/chat-stream/index.d.ts +3 -1
  45. package/dist-types/chat-stream/interfaces.d.ts +2 -1
  46. package/dist-types/cruise-canvas/CanvasContext.d.ts +0 -2
  47. package/dist-types/cruise-canvas/CruiseCanvas.d.ts +1 -1
  48. package/dist-types/cruise-canvas/FileList/FileList.d.ts +2 -1
  49. package/dist-types/cruise-canvas/Nav/Nav.d.ts +3 -6
  50. package/dist-types/cruise-canvas/NodeRequirement/NodeRequirement.d.ts +3 -2
  51. package/dist-types/cruise-canvas/i18n.d.ts +0 -2
  52. package/dist-types/cruise-canvas/index.d.ts +3 -1
  53. package/dist-types/cruise-canvas/interfaces.d.ts +2 -5
  54. package/dist-types/cruise-canvas/useConversationDetail.d.ts +2 -2
  55. package/dist-types/cruise-canvas/useConversationGraph.d.ts +0 -1
  56. package/dist-types/notice-dropdown/i18n.d.ts +18 -0
  57. package/dist-types/notice-dropdown/index.d.ts +61 -0
  58. package/dist-types/notice-dropdown/index.spec.d.ts +1 -0
  59. package/dist-types/shared/FilePreview/FilePreview.d.ts +9 -0
  60. package/dist-types/shared/FilePreview/FilePreviewDrawer.d.ts +6 -0
  61. package/dist-types/shared/FilePreview/i18n.d.ts +18 -0
  62. package/dist-types/shared/FileUpload/GlobalDragOverlay.d.ts +8 -0
  63. package/dist-types/shared/FileUpload/GlobalDragOverlay.spec.d.ts +1 -0
  64. package/dist-types/{chat-box → shared/FileUpload}/UploadButton.d.ts +2 -0
  65. package/dist-types/shared/FileUpload/UploadedFiles.d.ts +10 -0
  66. package/dist-types/shared/FileUpload/acceptFiles.d.ts +1 -0
  67. package/dist-types/shared/FileUpload/acceptFiles.spec.d.ts +1 -0
  68. package/dist-types/shared/FileUpload/i18n.d.ts +18 -0
  69. package/dist-types/{chat-box → shared/FileUpload}/interfaces.d.ts +1 -1
  70. package/dist-types/shared/PlanProgress/PlanProgress.d.ts +15 -0
  71. package/dist-types/shared/PlanProgress/i18n.d.ts +15 -0
  72. package/dist-types/shared/TaskContext.d.ts +4 -2
  73. package/dist-types/shared/bricks.d.ts +1 -0
  74. package/dist-types/shared/interfaces.d.ts +23 -5
  75. package/dist-types/shared/useFilesUploading.d.ts +12 -0
  76. package/dist-types/shared/useFilesUploading.spec.d.ts +1 -0
  77. package/dist-types/shared/useServiceFlowPlan.d.ts +2 -0
  78. package/dist-types/shared/useServiceFlowPlan.spec.d.ts +1 -0
  79. package/docs/notice-dropdown.md +101 -0
  80. package/package.json +2 -2
  81. package/dist/chunks/1510.ba18a788.js +0 -2
  82. package/dist/chunks/1510.ba18a788.js.map +0 -1
  83. package/dist/chunks/161.6c50f07c.js +0 -3
  84. package/dist/chunks/161.6c50f07c.js.map +0 -1
  85. package/dist/chunks/1864.7e31d8fe.js +0 -2
  86. package/dist/chunks/1864.7e31d8fe.js.map +0 -1
  87. package/dist/chunks/6995.65da5073.js +0 -2
  88. package/dist/chunks/6995.65da5073.js.map +0 -1
  89. package/dist/chunks/7279.af201b60.js +0 -3
  90. package/dist/chunks/7279.af201b60.js.map +0 -1
  91. package/dist/chunks/7517.f62fe00f.js +0 -2
  92. package/dist/chunks/7517.f62fe00f.js.map +0 -1
  93. package/dist/chunks/9270.e909e789.js +0 -2
  94. package/dist/chunks/9270.e909e789.js.map +0 -1
  95. package/dist/chunks/chat-box.4d1d4fd9.js +0 -2
  96. package/dist/chunks/chat-box.4d1d4fd9.js.map +0 -1
  97. package/dist/chunks/chat-input.dd3d2035.js +0 -2
  98. package/dist/chunks/chat-input.dd3d2035.js.map +0 -1
  99. package/dist/chunks/chat-stream.9f07e680.js +0 -2
  100. package/dist/chunks/chat-stream.9f07e680.js.map +0 -1
  101. package/dist/chunks/cruise-canvas.eca7469a.js +0 -2
  102. package/dist/chunks/cruise-canvas.eca7469a.js.map +0 -1
  103. package/dist/index.9a811707.js +0 -2
  104. package/dist/index.9a811707.js.map +0 -1
  105. package/dist-types/chat-box/FileListComponent.d.ts +0 -8
  106. package/dist-types/cruise-canvas/FilePreview/FilePreview.d.ts +0 -6
  107. /package/dist/chunks/{7279.af201b60.js.LICENSE.txt → 3848.01a4987f.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{161.6c50f07c.js.LICENSE.txt → 4002.68156a0e.js.LICENSE.txt} +0 -0
@@ -3,6 +3,82 @@
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
+ "name": "command.select",
54
+ "detail": {
55
+ "type": "CommandPayload | null"
56
+ }
57
+ }
58
+ ],
59
+ "slots": [],
60
+ "methods": [
61
+ {
62
+ "name": "setValue",
63
+ "params": [
64
+ {
65
+ "name": "value",
66
+ "type": "string"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "name": "getValue",
72
+ "params": []
73
+ },
74
+ {
75
+ "name": "focusOnInput",
76
+ "params": []
77
+ }
78
+ ],
79
+ "parts": [],
80
+ "description": "构件 `ai-portal.chat-box`"
81
+ },
6
82
  {
7
83
  "name": "ai-portal.cruise-canvas",
8
84
  "properties": [
@@ -85,6 +161,11 @@
85
161
  {
86
162
  "name": "separateInstructions",
87
163
  "type": "boolean"
164
+ },
165
+ {
166
+ "name": "uploadOptions",
167
+ "attribute": false,
168
+ "type": "UploadOptions"
88
169
  }
89
170
  ],
90
171
  "events": [
@@ -152,88 +233,6 @@
152
233
  "parts": [],
153
234
  "description": "构件 `ai-portal.cruise-canvas`"
154
235
  },
155
- {
156
- "name": "ai-portal.chat-box",
157
- "properties": [
158
- {
159
- "name": "disabled",
160
- "type": "boolean"
161
- },
162
- {
163
- "name": "placeholder",
164
- "type": "string"
165
- },
166
- {
167
- "name": "autoFocus",
168
- "type": "boolean"
169
- },
170
- {
171
- "name": "aiEmployees",
172
- "attribute": false,
173
- "type": "AIEmployee[]"
174
- },
175
- {
176
- "name": "commands",
177
- "attribute": false,
178
- "type": "Command[]"
179
- },
180
- {
181
- "name": "uploadFiles",
182
- "attribute": false,
183
- "type": "UploadFileOptions"
184
- }
185
- ],
186
- "events": [
187
- {
188
- "name": "message.submit",
189
- "description": "",
190
- "deprecated": "Use `chat.submit` event instead",
191
- "detail": {
192
- "type": "string"
193
- }
194
- },
195
- {
196
- "name": "chat.submit",
197
- "detail": {
198
- "type": "ChatPayload"
199
- }
200
- },
201
- {
202
- "name": "ai-employee.mention",
203
- "detail": {
204
- "type": "AIEmployee | null"
205
- }
206
- },
207
- {
208
- "name": "command.select",
209
- "detail": {
210
- "type": "CommandPayload | null"
211
- }
212
- }
213
- ],
214
- "slots": [],
215
- "methods": [
216
- {
217
- "name": "setValue",
218
- "params": [
219
- {
220
- "name": "value",
221
- "type": "string"
222
- }
223
- ]
224
- },
225
- {
226
- "name": "getValue",
227
- "params": []
228
- },
229
- {
230
- "name": "focusOnInput",
231
- "params": []
232
- }
233
- ],
234
- "parts": [],
235
- "description": "构件 `ai-portal.chat-box`"
236
- },
237
236
  {
238
237
  "name": "ai-portal.home-container",
239
238
  "properties": [
@@ -544,31 +543,6 @@
544
543
  "parts": [],
545
544
  "description": "构件 `ai-portal.ai-employees`"
546
545
  },
547
- {
548
- "name": "ai-portal.ai-agents",
549
- "properties": [
550
- {
551
- "name": "list",
552
- "attribute": false,
553
- "type": "Agent[]"
554
- },
555
- {
556
- "name": "urlTemplate",
557
- "type": "string"
558
- },
559
- {
560
- "name": "withContainer",
561
- "description": "",
562
- "deprecated": true,
563
- "default": "true"
564
- }
565
- ],
566
- "events": [],
567
- "slots": [],
568
- "methods": [],
569
- "parts": [],
570
- "description": "构件 `ai-portal.ai-agents`"
571
- },
572
546
  {
573
547
  "name": "ai-portal.chat-stream",
574
548
  "properties": [
@@ -639,6 +613,11 @@
639
613
  {
640
614
  "name": "tryItOutUrl",
641
615
  "type": "string"
616
+ },
617
+ {
618
+ "name": "uploadOptions",
619
+ "attribute": false,
620
+ "type": "UploadOptions"
642
621
  }
643
622
  ],
644
623
  "events": [
@@ -707,49 +686,29 @@
707
686
  "description": "构件 `ai-portal.chat-stream`"
708
687
  },
709
688
  {
710
- "name": "ai-portal.page-container",
689
+ "name": "ai-portal.ai-agents",
711
690
  "properties": [
712
691
  {
713
- "name": "pageTitle",
714
- "type": "string"
715
- },
716
- {
717
- "name": "breadcrumbs",
692
+ "name": "list",
718
693
  "attribute": false,
719
- "type": "Breadcrumb[]"
720
- },
721
- {
722
- "name": "size",
723
- "type": "\"medium\" | \"small\" | \"full\""
724
- },
725
- {
726
- "name": "variant",
727
- "type": "\"default\" | \"form\""
694
+ "type": "Agent[]"
728
695
  },
729
696
  {
730
- "name": "sticky",
731
- "type": "boolean"
697
+ "name": "urlTemplate",
698
+ "type": "string"
732
699
  },
733
700
  {
734
- "name": "textContent",
735
- "type": "string",
736
- "description": "文本内容"
701
+ "name": "withContainer",
702
+ "description": "",
703
+ "deprecated": true,
704
+ "default": "true"
737
705
  }
738
706
  ],
739
707
  "events": [],
740
- "slots": [
741
- {
742
- "name": null,
743
- "description": "内容"
744
- },
745
- {
746
- "name": "toolbar",
747
- "description": "工具栏"
748
- }
749
- ],
708
+ "slots": [],
750
709
  "methods": [],
751
710
  "parts": [],
752
- "description": "构件 `ai-portal.page-container`"
711
+ "description": "构件 `ai-portal.ai-agents`"
753
712
  },
754
713
  {
755
714
  "name": "ai-portal.tab-list",
@@ -788,23 +747,49 @@
788
747
  "description": "构件 `ai-portal.tab-list`"
789
748
  },
790
749
  {
791
- "name": "ai-portal.preview-container",
750
+ "name": "ai-portal.page-container",
792
751
  "properties": [
793
752
  {
794
- "name": "source",
795
- "attribute": false,
753
+ "name": "pageTitle",
796
754
  "type": "string"
797
755
  },
798
756
  {
799
- "name": "url",
800
- "type": "string"
757
+ "name": "breadcrumbs",
758
+ "attribute": false,
759
+ "type": "Breadcrumb[]"
760
+ },
761
+ {
762
+ "name": "size",
763
+ "type": "\"medium\" | \"small\" | \"full\""
764
+ },
765
+ {
766
+ "name": "variant",
767
+ "type": "\"default\" | \"form\""
768
+ },
769
+ {
770
+ "name": "sticky",
771
+ "type": "boolean"
772
+ },
773
+ {
774
+ "name": "textContent",
775
+ "type": "string",
776
+ "description": "文本内容"
801
777
  }
802
778
  ],
803
779
  "events": [],
804
- "slots": [],
780
+ "slots": [
781
+ {
782
+ "name": null,
783
+ "description": "内容"
784
+ },
785
+ {
786
+ "name": "toolbar",
787
+ "description": "工具栏"
788
+ }
789
+ ],
805
790
  "methods": [],
806
791
  "parts": [],
807
- "description": "构件 `ai-portal.preview-container`"
792
+ "description": "构件 `ai-portal.page-container`"
808
793
  },
809
794
  {
810
795
  "name": "ai-portal.dropdown-select",
@@ -863,6 +848,51 @@
863
848
  "parts": [],
864
849
  "description": "构件 `ai-portal.dropdown-select`"
865
850
  },
851
+ {
852
+ "name": "ai-portal.preview-container",
853
+ "properties": [
854
+ {
855
+ "name": "source",
856
+ "attribute": false,
857
+ "type": "string"
858
+ },
859
+ {
860
+ "name": "url",
861
+ "type": "string"
862
+ }
863
+ ],
864
+ "events": [],
865
+ "slots": [],
866
+ "methods": [],
867
+ "parts": [],
868
+ "description": "构件 `ai-portal.preview-container`"
869
+ },
870
+ {
871
+ "name": "ai-portal.action-buttons",
872
+ "properties": [
873
+ {
874
+ "name": "items",
875
+ "attribute": false,
876
+ "type": "ActionItem[]"
877
+ },
878
+ {
879
+ "name": "activeKey",
880
+ "type": "string | null"
881
+ }
882
+ ],
883
+ "events": [
884
+ {
885
+ "name": "change",
886
+ "detail": {
887
+ "type": "ActionItem | null"
888
+ }
889
+ }
890
+ ],
891
+ "slots": [],
892
+ "methods": [],
893
+ "parts": [],
894
+ "description": "构件 `ai-portal.action-buttons`"
895
+ },
866
896
  {
867
897
  "name": "ai-portal.goal-card-list",
868
898
  "properties": [
@@ -968,32 +998,6 @@
968
998
  "parts": [],
969
999
  "description": "构件 `ai-portal.project-conversations`"
970
1000
  },
971
- {
972
- "name": "ai-portal.action-buttons",
973
- "properties": [
974
- {
975
- "name": "items",
976
- "attribute": false,
977
- "type": "ActionItem[]"
978
- },
979
- {
980
- "name": "activeKey",
981
- "type": "string | null"
982
- }
983
- ],
984
- "events": [
985
- {
986
- "name": "change",
987
- "detail": {
988
- "type": "ActionItem | null"
989
- }
990
- }
991
- ],
992
- "slots": [],
993
- "methods": [],
994
- "parts": [],
995
- "description": "构件 `ai-portal.action-buttons`"
996
- },
997
1001
  {
998
1002
  "name": "ai-portal.project-knowledges",
999
1003
  "properties": [
@@ -1031,25 +1035,6 @@
1031
1035
  "parts": [],
1032
1036
  "description": "构件 `ai-portal.project-knowledges`"
1033
1037
  },
1034
- {
1035
- "name": "ai-portal.activity-timeline",
1036
- "properties": [
1037
- {
1038
- "name": "list",
1039
- "attribute": false,
1040
- "type": "Activity[]"
1041
- },
1042
- {
1043
- "name": "chatUrlTemplate",
1044
- "type": "string"
1045
- }
1046
- ],
1047
- "events": [],
1048
- "slots": [],
1049
- "methods": [],
1050
- "parts": [],
1051
- "description": "构件 `ai-portal.activity-timeline`"
1052
- },
1053
1038
  {
1054
1039
  "name": "ai-portal.chat-input",
1055
1040
  "properties": [
@@ -1072,15 +1057,28 @@
1072
1057
  {
1073
1058
  "name": "terminating",
1074
1059
  "type": "boolean"
1060
+ },
1061
+ {
1062
+ "name": "uploadOptions",
1063
+ "attribute": false,
1064
+ "type": "UploadOptions"
1075
1065
  }
1076
1066
  ],
1077
1067
  "events": [
1078
1068
  {
1079
1069
  "name": "message.submit",
1070
+ "description": "",
1071
+ "deprecated": "Use `chat.submit` event instead",
1080
1072
  "detail": {
1081
1073
  "type": "string"
1082
1074
  }
1083
1075
  },
1076
+ {
1077
+ "name": "chat.submit",
1078
+ "detail": {
1079
+ "type": "ChatPayload"
1080
+ }
1081
+ },
1084
1082
  {
1085
1083
  "name": "terminate",
1086
1084
  "detail": {
@@ -1094,13 +1092,23 @@
1094
1092
  "description": "构件 `ai-portal.chat-input`"
1095
1093
  },
1096
1094
  {
1097
- "name": "ai-portal.elevo-logo",
1098
- "properties": [],
1095
+ "name": "ai-portal.activity-timeline",
1096
+ "properties": [
1097
+ {
1098
+ "name": "list",
1099
+ "attribute": false,
1100
+ "type": "Activity[]"
1101
+ },
1102
+ {
1103
+ "name": "chatUrlTemplate",
1104
+ "type": "string"
1105
+ }
1106
+ ],
1099
1107
  "events": [],
1100
1108
  "slots": [],
1101
1109
  "methods": [],
1102
1110
  "parts": [],
1103
- "description": "构件 `ai-portal.elevo-logo`"
1111
+ "description": "构件 `ai-portal.activity-timeline`"
1104
1112
  },
1105
1113
  {
1106
1114
  "name": "ai-portal.show-case",
@@ -1124,24 +1132,6 @@
1124
1132
  "parts": [],
1125
1133
  "description": "构件 `ai-portal.show-case`"
1126
1134
  },
1127
- {
1128
- "name": "ai-portal.blank-state",
1129
- "properties": [
1130
- {
1131
- "name": "illustration",
1132
- "type": "BlankStateIllustration"
1133
- },
1134
- {
1135
- "name": "description",
1136
- "type": "string"
1137
- }
1138
- ],
1139
- "events": [],
1140
- "slots": [],
1141
- "methods": [],
1142
- "parts": [],
1143
- "description": "构件 `ai-portal.blank-state`"
1144
- },
1145
1135
  {
1146
1136
  "name": "ai-portal.sticky-container",
1147
1137
  "properties": [
@@ -1176,6 +1166,24 @@
1176
1166
  "parts": [],
1177
1167
  "description": "构件 `ai-portal.sticky-container`"
1178
1168
  },
1169
+ {
1170
+ "name": "ai-portal.blank-state",
1171
+ "properties": [
1172
+ {
1173
+ "name": "illustration",
1174
+ "type": "BlankStateIllustration"
1175
+ },
1176
+ {
1177
+ "name": "description",
1178
+ "type": "string"
1179
+ }
1180
+ ],
1181
+ "events": [],
1182
+ "slots": [],
1183
+ "methods": [],
1184
+ "parts": [],
1185
+ "description": "构件 `ai-portal.blank-state`"
1186
+ },
1179
1187
  {
1180
1188
  "name": "ai-portal.elevo-card",
1181
1189
  "properties": [
@@ -1321,6 +1329,15 @@
1321
1329
  "parts": [],
1322
1330
  "description": "构件 `ai-portal.stage-flow`"
1323
1331
  },
1332
+ {
1333
+ "name": "ai-portal.elevo-logo",
1334
+ "properties": [],
1335
+ "events": [],
1336
+ "slots": [],
1337
+ "methods": [],
1338
+ "parts": [],
1339
+ "description": "构件 `ai-portal.elevo-logo`"
1340
+ },
1324
1341
  {
1325
1342
  "name": "ai-portal.running-flow",
1326
1343
  "properties": [
@@ -1346,12 +1363,77 @@
1346
1363
  "methods": [],
1347
1364
  "parts": [],
1348
1365
  "description": "构件 `ai-portal.running-flow`"
1366
+ },
1367
+ {
1368
+ "name": "ai-portal.notice-dropdown",
1369
+ "properties": [
1370
+ {
1371
+ "name": "dataSource",
1372
+ "description": "消息数据列表",
1373
+ "attribute": false,
1374
+ "type": "NoticeItem[]"
1375
+ },
1376
+ {
1377
+ "name": "popoverPlacement",
1378
+ "description": "弹窗位置",
1379
+ "type": "Placement"
1380
+ },
1381
+ {
1382
+ "name": "emptyText",
1383
+ "description": "空状态文案",
1384
+ "type": "string"
1385
+ },
1386
+ {
1387
+ "name": "notifyCenterUrl",
1388
+ "description": "通知中心URL",
1389
+ "type": "string"
1390
+ },
1391
+ {
1392
+ "name": "urlTemplate",
1393
+ "description": "详情链接",
1394
+ "type": "string"
1395
+ },
1396
+ {
1397
+ "name": "dropdownMaxWidth",
1398
+ "description": "下拉框最大宽度",
1399
+ "type": "string | number"
1400
+ },
1401
+ {
1402
+ "name": "dropdownContentStyle",
1403
+ "description": "下拉框内容样式",
1404
+ "attribute": false,
1405
+ "type": "React.CSSProperties"
1406
+ },
1407
+ {
1408
+ "name": "hideNotifyCenterButton",
1409
+ "description": "是否隐藏进入消息中心按钮",
1410
+ "type": "boolean"
1411
+ }
1412
+ ],
1413
+ "events": [
1414
+ {
1415
+ "name": "notice.click",
1416
+ "description": "消息项点击事件",
1417
+ "detail": {
1418
+ "description": "消息 ID",
1419
+ "type": "string"
1420
+ }
1421
+ },
1422
+ {
1423
+ "name": "mark.all.read",
1424
+ "description": "全部已读点击事件",
1425
+ "detail": {
1426
+ "type": "void"
1427
+ }
1428
+ }
1429
+ ],
1430
+ "slots": [],
1431
+ "methods": [],
1432
+ "parts": [],
1433
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1349
1434
  }
1350
1435
  ],
1351
1436
  "providers": [
1352
- {
1353
- "name": "ai-portal.call-tool"
1354
- },
1355
1437
  {
1356
1438
  "name": "ai-portal.save-request-store"
1357
1439
  },
@@ -1361,6 +1443,9 @@
1361
1443
  {
1362
1444
  "name": "ai-portal.clear-request-store"
1363
1445
  },
1446
+ {
1447
+ "name": "ai-portal.call-tool"
1448
+ },
1364
1449
  {
1365
1450
  "name": "ai-portal.set-chat-command"
1366
1451
  }