@next-bricks/ai-portal 0.61.1 → 0.61.3

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.
@@ -73,184 +73,6 @@
73
73
  "parts": [],
74
74
  "description": "大型聊天输入框,用于首页"
75
75
  },
76
- {
77
- "name": "ai-portal.cruise-canvas",
78
- "properties": [
79
- {
80
- "name": "conversationId",
81
- "type": "string"
82
- },
83
- {
84
- "name": "initialRequest",
85
- "description": "初始请求数据。仅初始设置有效。",
86
- "attribute": false,
87
- "type": "RequestStore | null"
88
- },
89
- {
90
- "name": "replay",
91
- "description": "是否启用回放。仅初始设置有效。",
92
- "type": "boolean"
93
- },
94
- {
95
- "name": "replayDelay",
96
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
97
- "default": "2",
98
- "type": "number"
99
- },
100
- {
101
- "name": "supports",
102
- "attribute": false,
103
- "type": "Record<string, boolean>"
104
- },
105
- {
106
- "name": "showHiddenJobs",
107
- "type": "boolean"
108
- },
109
- {
110
- "name": "showHumanActions",
111
- "type": "boolean"
112
- },
113
- {
114
- "name": "showFeedback",
115
- "type": "boolean"
116
- },
117
- {
118
- "name": "showFeedbackAfterFailed",
119
- "type": "boolean"
120
- },
121
- {
122
- "name": "showFeedbackOnView",
123
- "type": "boolean"
124
- },
125
- {
126
- "name": "showUiSwitch",
127
- "type": "boolean"
128
- },
129
- {
130
- "name": "hideMermaid",
131
- "type": "boolean"
132
- },
133
- {
134
- "name": "showJsxEditor",
135
- "type": "boolean"
136
- },
137
- {
138
- "name": "previewUrlTemplate",
139
- "type": "string"
140
- },
141
- {
142
- "name": "showCases",
143
- "attribute": false,
144
- "type": "ShowCaseType[]"
145
- },
146
- {
147
- "name": "exampleProjects",
148
- "attribute": false,
149
- "type": "ExampleProject[]"
150
- },
151
- {
152
- "name": "tryItOutUrl",
153
- "type": "string"
154
- },
155
- {
156
- "name": "separateInstructions",
157
- "type": "boolean"
158
- },
159
- {
160
- "name": "aiEmployees",
161
- "attribute": false,
162
- "type": "AIEmployee[]"
163
- },
164
- {
165
- "name": "commands",
166
- "attribute": false,
167
- "type": "Command[]"
168
- },
169
- {
170
- "name": "uploadOptions",
171
- "attribute": false,
172
- "type": "UploadOptions"
173
- }
174
- ],
175
- "events": [
176
- {
177
- "name": "share",
178
- "detail": {
179
- "type": "void"
180
- }
181
- },
182
- {
183
- "name": "terminate",
184
- "detail": {
185
- "type": "void"
186
- }
187
- },
188
- {
189
- "name": "feedback.submit",
190
- "detail": {
191
- "type": "FeedbackDetail"
192
- }
193
- },
194
- {
195
- "name": "feedback.on.view",
196
- "detail": {
197
- "type": "string"
198
- }
199
- },
200
- {
201
- "name": "ui.switch",
202
- "detail": {
203
- "type": "\"chat\""
204
- }
205
- },
206
- {
207
- "name": "detail.change",
208
- "detail": {
209
- "type": "ConversationDetail"
210
- }
211
- }
212
- ],
213
- "slots": [],
214
- "methods": [
215
- {
216
- "name": "resumed",
217
- "params": []
218
- },
219
- {
220
- "name": "feedbackSubmitDone",
221
- "params": []
222
- },
223
- {
224
- "name": "feedbackSubmitFailed",
225
- "params": []
226
- },
227
- {
228
- "name": "feedbackOnViewDone",
229
- "params": [
230
- {
231
- "name": "viewId",
232
- "type": "string"
233
- }
234
- ]
235
- }
236
- ],
237
- "parts": [],
238
- "description": "构件 `ai-portal.cruise-canvas`"
239
- },
240
- {
241
- "name": "ai-portal.home-container",
242
- "properties": [
243
- {
244
- "name": "sticky",
245
- "type": "boolean"
246
- }
247
- ],
248
- "events": [],
249
- "slots": [],
250
- "methods": [],
251
- "parts": [],
252
- "description": "构件 `ai-portal.home-container`"
253
- },
254
76
  {
255
77
  "name": "ai-portal.stat-with-mini-chart",
256
78
  "properties": [
@@ -312,6 +134,20 @@
312
134
  "parts": [],
313
135
  "description": "构件 `ai-portal.stat-with-mini-chart`"
314
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
+ },
315
151
  {
316
152
  "name": "ai-portal.elevo-sidebar",
317
153
  "properties": [
@@ -522,6 +358,34 @@
522
358
  "parts": [],
523
359
  "description": "构件 `ai-portal.mcp-tools`"
524
360
  },
361
+ {
362
+ "name": "ai-portal.ai-employees",
363
+ "properties": [
364
+ {
365
+ "name": "list",
366
+ "attribute": false,
367
+ "type": "Employee[]"
368
+ },
369
+ {
370
+ "name": "industries",
371
+ "attribute": false,
372
+ "type": "string[]"
373
+ },
374
+ {
375
+ "name": "urlTemplate",
376
+ "type": "string"
377
+ },
378
+ {
379
+ "name": "stickyTop",
380
+ "type": "number"
381
+ }
382
+ ],
383
+ "events": [],
384
+ "slots": [],
385
+ "methods": [],
386
+ "parts": [],
387
+ "description": "构件 `ai-portal.ai-employees`"
388
+ },
525
389
  {
526
390
  "name": "ai-portal.chat-stream",
527
391
  "properties": [
@@ -680,34 +544,6 @@
680
544
  "parts": [],
681
545
  "description": "构件 `ai-portal.chat-stream`"
682
546
  },
683
- {
684
- "name": "ai-portal.ai-employees",
685
- "properties": [
686
- {
687
- "name": "list",
688
- "attribute": false,
689
- "type": "Employee[]"
690
- },
691
- {
692
- "name": "industries",
693
- "attribute": false,
694
- "type": "string[]"
695
- },
696
- {
697
- "name": "urlTemplate",
698
- "type": "string"
699
- },
700
- {
701
- "name": "stickyTop",
702
- "type": "number"
703
- }
704
- ],
705
- "events": [],
706
- "slots": [],
707
- "methods": [],
708
- "parts": [],
709
- "description": "构件 `ai-portal.ai-employees`"
710
- },
711
547
  {
712
548
  "name": "ai-portal.ai-agents",
713
549
  "properties": [
@@ -891,93 +727,194 @@
891
727
  "description": "构件 `ai-portal.preview-container`"
892
728
  },
893
729
  {
894
- "name": "ai-portal.action-buttons",
730
+ "name": "ai-portal.cruise-canvas",
895
731
  "properties": [
896
732
  {
897
- "name": "items",
898
- "attribute": false,
899
- "type": "ActionItem[]"
733
+ "name": "conversationId",
734
+ "type": "string"
900
735
  },
901
736
  {
902
- "name": "activeKey",
903
- "type": "string | null"
904
- }
905
- ],
906
- "events": [
737
+ "name": "initialRequest",
738
+ "description": "初始请求数据。仅初始设置有效。",
739
+ "attribute": false,
740
+ "type": "RequestStore | null"
741
+ },
907
742
  {
908
- "name": "change",
909
- "detail": {
910
- "type": "ActionItem | null"
911
- }
912
- }
913
- ],
914
- "slots": [],
915
- "methods": [],
916
- "parts": [],
917
- "description": "构件 `ai-portal.action-buttons`"
918
- },
919
- {
920
- "name": "ai-portal.goal-card-list",
921
- "properties": [
743
+ "name": "replay",
744
+ "description": "是否启用回放。仅初始设置有效。",
745
+ "type": "boolean"
746
+ },
922
747
  {
923
- "name": "goalList",
748
+ "name": "replayDelay",
749
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
750
+ "default": "2",
751
+ "type": "number"
752
+ },
753
+ {
754
+ "name": "supports",
924
755
  "attribute": false,
925
- "type": "GoalItem[]"
756
+ "type": "Record<string, boolean>"
926
757
  },
927
758
  {
928
- "name": "cardStyle",
759
+ "name": "showHiddenJobs",
760
+ "type": "boolean"
761
+ },
762
+ {
763
+ "name": "showHumanActions",
764
+ "type": "boolean"
765
+ },
766
+ {
767
+ "name": "showFeedback",
768
+ "type": "boolean"
769
+ },
770
+ {
771
+ "name": "showFeedbackAfterFailed",
772
+ "type": "boolean"
773
+ },
774
+ {
775
+ "name": "showFeedbackOnView",
776
+ "type": "boolean"
777
+ },
778
+ {
779
+ "name": "showUiSwitch",
780
+ "type": "boolean"
781
+ },
782
+ {
783
+ "name": "hideMermaid",
784
+ "type": "boolean"
785
+ },
786
+ {
787
+ "name": "showJsxEditor",
788
+ "type": "boolean"
789
+ },
790
+ {
791
+ "name": "previewUrlTemplate",
792
+ "type": "string"
793
+ },
794
+ {
795
+ "name": "showCases",
929
796
  "attribute": false,
930
- "type": "React.CSSProperties"
797
+ "type": "ShowCaseType[]"
931
798
  },
932
799
  {
933
- "name": "activeKey",
800
+ "name": "exampleProjects",
801
+ "attribute": false,
802
+ "type": "ExampleProject[]"
803
+ },
804
+ {
805
+ "name": "tryItOutUrl",
934
806
  "type": "string"
807
+ },
808
+ {
809
+ "name": "separateInstructions",
810
+ "type": "boolean"
811
+ },
812
+ {
813
+ "name": "aiEmployees",
814
+ "attribute": false,
815
+ "type": "AIEmployee[]"
816
+ },
817
+ {
818
+ "name": "commands",
819
+ "attribute": false,
820
+ "type": "Command[]"
821
+ },
822
+ {
823
+ "name": "uploadOptions",
824
+ "attribute": false,
825
+ "type": "UploadOptions"
935
826
  }
936
827
  ],
937
828
  "events": [
938
829
  {
939
- "name": "item.click",
830
+ "name": "share",
940
831
  "detail": {
941
- "type": "GoalItem"
832
+ "type": "void"
942
833
  }
943
834
  },
944
835
  {
945
- "name": "item.status.change",
836
+ "name": "terminate",
946
837
  "detail": {
947
- "type": "GoalItem"
838
+ "type": "void"
948
839
  }
949
840
  },
950
841
  {
951
- "name": "item.title.change",
842
+ "name": "feedback.submit",
952
843
  "detail": {
953
- "type": "GoalItem"
844
+ "type": "FeedbackDetail"
954
845
  }
955
846
  },
956
847
  {
957
- "name": "item.new.chat",
848
+ "name": "feedback.on.view",
958
849
  "detail": {
959
- "type": "GoalItem"
850
+ "type": "string"
851
+ }
852
+ },
853
+ {
854
+ "name": "ui.switch",
855
+ "detail": {
856
+ "type": "\"chat\""
857
+ }
858
+ },
859
+ {
860
+ "name": "detail.change",
861
+ "detail": {
862
+ "type": "ConversationDetail"
960
863
  }
961
864
  }
962
865
  ],
963
866
  "slots": [],
964
867
  "methods": [
965
868
  {
966
- "name": "appendChildDone",
869
+ "name": "resumed",
870
+ "params": []
871
+ },
872
+ {
873
+ "name": "feedbackSubmitDone",
874
+ "params": []
875
+ },
876
+ {
877
+ "name": "feedbackSubmitFailed",
878
+ "params": []
879
+ },
880
+ {
881
+ "name": "feedbackOnViewDone",
967
882
  "params": [
968
883
  {
969
- "name": "pendingId",
884
+ "name": "viewId",
970
885
  "type": "string"
971
- },
972
- {
973
- "name": "newItem",
974
- "type": "GoalItem"
975
886
  }
976
887
  ]
977
888
  }
978
889
  ],
979
890
  "parts": [],
980
- "description": "构件 `ai-portal.goal-card-list`"
891
+ "description": "构件 `ai-portal.cruise-canvas`"
892
+ },
893
+ {
894
+ "name": "ai-portal.action-buttons",
895
+ "properties": [
896
+ {
897
+ "name": "items",
898
+ "attribute": false,
899
+ "type": "ActionItem[]"
900
+ },
901
+ {
902
+ "name": "activeKey",
903
+ "type": "string | null"
904
+ }
905
+ ],
906
+ "events": [
907
+ {
908
+ "name": "change",
909
+ "detail": {
910
+ "type": "ActionItem | null"
911
+ }
912
+ }
913
+ ],
914
+ "slots": [],
915
+ "methods": [],
916
+ "parts": [],
917
+ "description": "构件 `ai-portal.action-buttons`"
981
918
  },
982
919
  {
983
920
  "name": "ai-portal.project-conversations",
@@ -1150,35 +1087,76 @@
1150
1087
  "description": "小型聊天输入框,用于对话等页面"
1151
1088
  },
1152
1089
  {
1153
- "name": "ai-portal.elevo-logo",
1154
- "properties": [],
1155
- "events": [],
1156
- "slots": [],
1157
- "methods": [],
1158
- "parts": [],
1159
- "description": "构件 `ai-portal.elevo-logo`"
1160
- },
1161
- {
1162
- "name": "ai-portal.show-case",
1090
+ "name": "ai-portal.goal-card-list",
1163
1091
  "properties": [
1164
1092
  {
1165
- "name": "caseTitle",
1166
- "type": "string"
1093
+ "name": "goalList",
1094
+ "attribute": false,
1095
+ "type": "GoalItem[]"
1167
1096
  },
1168
1097
  {
1169
- "name": "summary",
1170
- "type": "string"
1098
+ "name": "cardStyle",
1099
+ "attribute": false,
1100
+ "type": "React.CSSProperties"
1171
1101
  },
1172
1102
  {
1173
- "name": "url",
1103
+ "name": "activeKey",
1174
1104
  "type": "string"
1175
1105
  }
1176
1106
  ],
1107
+ "events": [
1108
+ {
1109
+ "name": "item.click",
1110
+ "detail": {
1111
+ "type": "GoalItem"
1112
+ }
1113
+ },
1114
+ {
1115
+ "name": "item.status.change",
1116
+ "detail": {
1117
+ "type": "GoalItem"
1118
+ }
1119
+ },
1120
+ {
1121
+ "name": "item.title.change",
1122
+ "detail": {
1123
+ "type": "GoalItem"
1124
+ }
1125
+ },
1126
+ {
1127
+ "name": "item.new.chat",
1128
+ "detail": {
1129
+ "type": "GoalItem"
1130
+ }
1131
+ }
1132
+ ],
1133
+ "slots": [],
1134
+ "methods": [
1135
+ {
1136
+ "name": "appendChildDone",
1137
+ "params": [
1138
+ {
1139
+ "name": "pendingId",
1140
+ "type": "string"
1141
+ },
1142
+ {
1143
+ "name": "newItem",
1144
+ "type": "GoalItem"
1145
+ }
1146
+ ]
1147
+ }
1148
+ ],
1149
+ "parts": [],
1150
+ "description": "构件 `ai-portal.goal-card-list`"
1151
+ },
1152
+ {
1153
+ "name": "ai-portal.elevo-logo",
1154
+ "properties": [],
1177
1155
  "events": [],
1178
1156
  "slots": [],
1179
1157
  "methods": [],
1180
1158
  "parts": [],
1181
- "description": "构件 `ai-portal.show-case`"
1159
+ "description": "构件 `ai-portal.elevo-logo`"
1182
1160
  },
1183
1161
  {
1184
1162
  "name": "ai-portal.blank-state",
@@ -1199,38 +1177,26 @@
1199
1177
  "description": "构件 `ai-portal.blank-state`"
1200
1178
  },
1201
1179
  {
1202
- "name": "ai-portal.sticky-container",
1180
+ "name": "ai-portal.show-case",
1203
1181
  "properties": [
1204
1182
  {
1205
- "name": "variant",
1206
- "description": "",
1207
- "default": "\"default\"",
1208
- "type": "StickyContainerVariant"
1209
- },
1210
- {
1211
- "name": "textContent",
1212
- "type": "string",
1213
- "description": "文本内容"
1214
- }
1215
- ],
1216
- "events": [],
1217
- "slots": [
1218
- {
1219
- "name": null,
1220
- "description": "内容"
1183
+ "name": "caseTitle",
1184
+ "type": "string"
1221
1185
  },
1222
1186
  {
1223
- "name": "header",
1224
- "description": "头部"
1187
+ "name": "summary",
1188
+ "type": "string"
1225
1189
  },
1226
1190
  {
1227
- "name": "toolbar",
1228
- "description": "工具栏"
1191
+ "name": "url",
1192
+ "type": "string"
1229
1193
  }
1230
1194
  ],
1195
+ "events": [],
1196
+ "slots": [],
1231
1197
  "methods": [],
1232
1198
  "parts": [],
1233
- "description": "构件 `ai-portal.sticky-container`"
1199
+ "description": "构件 `ai-portal.show-case`"
1234
1200
  },
1235
1201
  {
1236
1202
  "name": "ai-portal.elevo-card",
@@ -1264,31 +1230,38 @@
1264
1230
  "description": "构件 `ai-portal.elevo-card`"
1265
1231
  },
1266
1232
  {
1267
- "name": "ai-portal.flow-tabs",
1233
+ "name": "ai-portal.sticky-container",
1268
1234
  "properties": [
1269
1235
  {
1270
- "name": "tabs",
1271
- "attribute": false,
1272
- "type": "Tab[]"
1236
+ "name": "variant",
1237
+ "description": "",
1238
+ "default": "\"default\"",
1239
+ "type": "StickyContainerVariant"
1273
1240
  },
1274
1241
  {
1275
- "name": "activeTab",
1276
- "attribute": false,
1277
- "type": "string"
1242
+ "name": "textContent",
1243
+ "type": "string",
1244
+ "description": "文本内容"
1278
1245
  }
1279
1246
  ],
1280
- "events": [
1247
+ "events": [],
1248
+ "slots": [
1281
1249
  {
1282
- "name": "tab.click",
1283
- "detail": {
1284
- "type": "Tab"
1285
- }
1250
+ "name": null,
1251
+ "description": "内容"
1252
+ },
1253
+ {
1254
+ "name": "header",
1255
+ "description": "头部"
1256
+ },
1257
+ {
1258
+ "name": "toolbar",
1259
+ "description": "工具栏"
1286
1260
  }
1287
1261
  ],
1288
- "slots": [],
1289
1262
  "methods": [],
1290
1263
  "parts": [],
1291
- "description": "构件 `ai-portal.flow-tabs`"
1264
+ "description": "构件 `ai-portal.sticky-container`"
1292
1265
  },
1293
1266
  {
1294
1267
  "name": "ai-portal.stage-flow",
@@ -1378,30 +1351,31 @@
1378
1351
  "description": "构件 `ai-portal.stage-flow`"
1379
1352
  },
1380
1353
  {
1381
- "name": "ai-portal.running-flow",
1354
+ "name": "ai-portal.flow-tabs",
1382
1355
  "properties": [
1383
1356
  {
1384
- "name": "spec",
1357
+ "name": "tabs",
1385
1358
  "attribute": false,
1386
- "type": "FlowStage[]"
1359
+ "type": "Tab[]"
1387
1360
  },
1388
1361
  {
1389
- "name": "activeActivityId",
1390
- "type": "string | null"
1362
+ "name": "activeTab",
1363
+ "attribute": false,
1364
+ "type": "string"
1391
1365
  }
1392
1366
  ],
1393
1367
  "events": [
1394
1368
  {
1395
- "name": "active.change",
1369
+ "name": "tab.click",
1396
1370
  "detail": {
1397
- "type": "string | null"
1371
+ "type": "Tab"
1398
1372
  }
1399
1373
  }
1400
1374
  ],
1401
1375
  "slots": [],
1402
1376
  "methods": [],
1403
1377
  "parts": [],
1404
- "description": "构件 `ai-portal.running-flow`"
1378
+ "description": "构件 `ai-portal.flow-tabs`"
1405
1379
  },
1406
1380
  {
1407
1381
  "name": "ai-portal.notice-dropdown",
@@ -1568,6 +1542,32 @@
1568
1542
  "methods": [],
1569
1543
  "parts": [],
1570
1544
  "description": "构件 `ai-portal.gantt-chart`"
1545
+ },
1546
+ {
1547
+ "name": "ai-portal.running-flow",
1548
+ "properties": [
1549
+ {
1550
+ "name": "spec",
1551
+ "attribute": false,
1552
+ "type": "FlowStage[]"
1553
+ },
1554
+ {
1555
+ "name": "activeActivityId",
1556
+ "type": "string | null"
1557
+ }
1558
+ ],
1559
+ "events": [
1560
+ {
1561
+ "name": "active.change",
1562
+ "detail": {
1563
+ "type": "string | null"
1564
+ }
1565
+ }
1566
+ ],
1567
+ "slots": [],
1568
+ "methods": [],
1569
+ "parts": [],
1570
+ "description": "构件 `ai-portal.running-flow`"
1571
1571
  }
1572
1572
  ],
1573
1573
  "providers": [