@next-bricks/ai-portal 0.61.5 → 0.61.6

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.
@@ -167,76 +167,6 @@
167
167
  "parts": [],
168
168
  "description": "构件 `ai-portal.cruise-canvas`"
169
169
  },
170
- {
171
- "name": "ai-portal.chat-box",
172
- "properties": [
173
- {
174
- "name": "disabled",
175
- "type": "boolean"
176
- },
177
- {
178
- "name": "placeholder",
179
- "type": "string"
180
- },
181
- {
182
- "name": "autoFocus",
183
- "type": "boolean"
184
- },
185
- {
186
- "name": "aiEmployees",
187
- "attribute": false,
188
- "type": "AIEmployee[]"
189
- },
190
- {
191
- "name": "commands",
192
- "attribute": false,
193
- "type": "Command[]"
194
- },
195
- {
196
- "name": "uploadOptions",
197
- "attribute": false,
198
- "type": "UploadOptions"
199
- }
200
- ],
201
- "events": [
202
- {
203
- "name": "message.submit",
204
- "description": "",
205
- "deprecated": "Use `chat.submit` event instead",
206
- "detail": {
207
- "type": "string"
208
- }
209
- },
210
- {
211
- "name": "chat.submit",
212
- "detail": {
213
- "type": "ChatPayload"
214
- }
215
- }
216
- ],
217
- "slots": [],
218
- "methods": [
219
- {
220
- "name": "setValue",
221
- "params": [
222
- {
223
- "name": "value",
224
- "type": "string"
225
- }
226
- ]
227
- },
228
- {
229
- "name": "getValue",
230
- "params": []
231
- },
232
- {
233
- "name": "focusOnInput",
234
- "params": []
235
- }
236
- ],
237
- "parts": [],
238
- "description": "大型聊天输入框,用于首页"
239
- },
240
170
  {
241
171
  "name": "ai-portal.home-container",
242
172
  "properties": [
@@ -252,65 +182,40 @@
252
182
  "description": "构件 `ai-portal.home-container`"
253
183
  },
254
184
  {
255
- "name": "ai-portal.stat-with-mini-chart",
185
+ "name": "ai-portal.icon-button",
256
186
  "properties": [
257
187
  {
258
- "name": "label",
259
- "type": "string"
260
- },
261
- {
262
- "name": "value",
263
- "type": "string"
264
- },
265
- {
266
- "name": "size",
267
- "description": "",
268
- "default": "\"medium\"",
269
- "type": "\"medium\" | \"small\""
188
+ "name": "icon",
189
+ "attribute": false,
190
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
270
191
  },
271
192
  {
272
- "name": "lineColor",
273
- "description": "",
274
- "default": "\"var(--color-brand)\"",
193
+ "name": "tooltip",
275
194
  "type": "string"
276
195
  },
277
196
  {
278
- "name": "showArea",
197
+ "name": "tooltipHoist",
279
198
  "type": "boolean"
280
199
  },
281
200
  {
282
- "name": "min",
283
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
284
- "type": "number"
285
- },
286
- {
287
- "name": "max",
288
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
289
- "type": "number"
290
- },
291
- {
292
- "name": "xField",
293
- "description": "",
294
- "default": "\"0\"",
295
- "type": "string"
201
+ "name": "disabled",
202
+ "type": "boolean"
296
203
  },
297
204
  {
298
- "name": "yField",
299
- "description": "",
300
- "default": "\"1\"",
301
- "type": "string"
205
+ "name": "variant",
206
+ "type": "IconButtonVariant"
302
207
  },
303
208
  {
304
- "name": "data",
305
- "attribute": false,
306
- "type": "Record<string, number>[]"
209
+ "name": "reduceIconSize",
210
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
211
+ "type": "boolean"
307
212
  }
308
213
  ],
309
214
  "events": [],
310
215
  "slots": [],
311
216
  "methods": [],
312
217
  "parts": [],
313
- "description": "构件 `ai-portal.stat-with-mini-chart`"
218
+ "description": "构件 `ai-portal.icon-button`"
314
219
  },
315
220
  {
316
221
  "name": "ai-portal.elevo-sidebar",
@@ -406,6 +311,12 @@
406
311
  "detail": {
407
312
  "type": "void"
408
313
  }
314
+ },
315
+ {
316
+ "name": "add.serviceflow",
317
+ "detail": {
318
+ "type": "void"
319
+ }
409
320
  }
410
321
  ],
411
322
  "slots": [],
@@ -462,51 +373,34 @@
462
373
  "description": "构件 `ai-portal.elevo-sidebar`"
463
374
  },
464
375
  {
465
- "name": "ai-portal.icon-button",
376
+ "name": "ai-portal.show-cases",
466
377
  "properties": [
467
378
  {
468
- "name": "icon",
379
+ "name": "list",
469
380
  "attribute": false,
470
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
471
- },
472
- {
473
- "name": "tooltip",
474
- "type": "string"
475
- },
476
- {
477
- "name": "tooltipHoist",
478
- "type": "boolean"
479
- },
480
- {
481
- "name": "disabled",
482
- "type": "boolean"
483
- },
484
- {
485
- "name": "variant",
486
- "type": "IconButtonVariant"
381
+ "type": "ShowCaseType[]"
487
382
  },
488
383
  {
489
- "name": "reduceIconSize",
490
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
491
- "type": "boolean"
384
+ "name": "limit",
385
+ "type": "number"
492
386
  }
493
387
  ],
494
388
  "events": [],
495
389
  "slots": [],
496
390
  "methods": [],
497
391
  "parts": [],
498
- "description": "构件 `ai-portal.icon-button`"
392
+ "description": "构件 `ai-portal.show-cases`"
499
393
  },
500
394
  {
501
- "name": "ai-portal.show-cases",
395
+ "name": "ai-portal.mcp-tools",
502
396
  "properties": [
503
397
  {
504
398
  "name": "list",
505
399
  "attribute": false,
506
- "type": "ShowCaseType[]"
400
+ "type": "McpTool[]"
507
401
  },
508
402
  {
509
- "name": "limit",
403
+ "name": "stickyTop",
510
404
  "type": "number"
511
405
  }
512
406
  ],
@@ -514,15 +408,24 @@
514
408
  "slots": [],
515
409
  "methods": [],
516
410
  "parts": [],
517
- "description": "构件 `ai-portal.show-cases`"
411
+ "description": "构件 `ai-portal.mcp-tools`"
518
412
  },
519
413
  {
520
- "name": "ai-portal.mcp-tools",
414
+ "name": "ai-portal.ai-employees",
521
415
  "properties": [
522
416
  {
523
417
  "name": "list",
524
418
  "attribute": false,
525
- "type": "McpTool[]"
419
+ "type": "Employee[]"
420
+ },
421
+ {
422
+ "name": "industries",
423
+ "attribute": false,
424
+ "type": "string[]"
425
+ },
426
+ {
427
+ "name": "urlTemplate",
428
+ "type": "string"
526
429
  },
527
430
  {
528
431
  "name": "stickyTop",
@@ -533,7 +436,77 @@
533
436
  "slots": [],
534
437
  "methods": [],
535
438
  "parts": [],
536
- "description": "构件 `ai-portal.mcp-tools`"
439
+ "description": "构件 `ai-portal.ai-employees`"
440
+ },
441
+ {
442
+ "name": "ai-portal.chat-box",
443
+ "properties": [
444
+ {
445
+ "name": "disabled",
446
+ "type": "boolean"
447
+ },
448
+ {
449
+ "name": "placeholder",
450
+ "type": "string"
451
+ },
452
+ {
453
+ "name": "autoFocus",
454
+ "type": "boolean"
455
+ },
456
+ {
457
+ "name": "aiEmployees",
458
+ "attribute": false,
459
+ "type": "AIEmployee[]"
460
+ },
461
+ {
462
+ "name": "commands",
463
+ "attribute": false,
464
+ "type": "Command[]"
465
+ },
466
+ {
467
+ "name": "uploadOptions",
468
+ "attribute": false,
469
+ "type": "UploadOptions"
470
+ }
471
+ ],
472
+ "events": [
473
+ {
474
+ "name": "message.submit",
475
+ "description": "",
476
+ "deprecated": "Use `chat.submit` event instead",
477
+ "detail": {
478
+ "type": "string"
479
+ }
480
+ },
481
+ {
482
+ "name": "chat.submit",
483
+ "detail": {
484
+ "type": "ChatPayload"
485
+ }
486
+ }
487
+ ],
488
+ "slots": [],
489
+ "methods": [
490
+ {
491
+ "name": "setValue",
492
+ "params": [
493
+ {
494
+ "name": "value",
495
+ "type": "string"
496
+ }
497
+ ]
498
+ },
499
+ {
500
+ "name": "getValue",
501
+ "params": []
502
+ },
503
+ {
504
+ "name": "focusOnInput",
505
+ "params": []
506
+ }
507
+ ],
508
+ "parts": [],
509
+ "description": "大型聊天输入框,用于首页"
537
510
  },
538
511
  {
539
512
  "name": "ai-portal.chat-stream",
@@ -693,34 +666,6 @@
693
666
  "parts": [],
694
667
  "description": "构件 `ai-portal.chat-stream`"
695
668
  },
696
- {
697
- "name": "ai-portal.ai-employees",
698
- "properties": [
699
- {
700
- "name": "list",
701
- "attribute": false,
702
- "type": "Employee[]"
703
- },
704
- {
705
- "name": "industries",
706
- "attribute": false,
707
- "type": "string[]"
708
- },
709
- {
710
- "name": "urlTemplate",
711
- "type": "string"
712
- },
713
- {
714
- "name": "stickyTop",
715
- "type": "number"
716
- }
717
- ],
718
- "events": [],
719
- "slots": [],
720
- "methods": [],
721
- "parts": [],
722
- "description": "构件 `ai-portal.ai-employees`"
723
- },
724
669
  {
725
670
  "name": "ai-portal.ai-agents",
726
671
  "properties": [
@@ -854,80 +799,183 @@
854
799
  "type": "string"
855
800
  },
856
801
  {
857
- "name": "dropdownContentStyle",
858
- "attribute": false,
859
- "type": "React.CSSProperties"
802
+ "name": "dropdownContentStyle",
803
+ "attribute": false,
804
+ "type": "React.CSSProperties"
805
+ },
806
+ {
807
+ "name": "dropdownMaxWidth",
808
+ "description": "",
809
+ "default": "\"500px\"",
810
+ "attribute": false,
811
+ "type": "string | number"
812
+ },
813
+ {
814
+ "name": "showSearch",
815
+ "description": "是否展示搜索框",
816
+ "type": "boolean"
817
+ }
818
+ ],
819
+ "events": [
820
+ {
821
+ "name": "change",
822
+ "detail": {
823
+ "type": "DropdownOptions"
824
+ }
825
+ }
826
+ ],
827
+ "slots": [],
828
+ "methods": [],
829
+ "parts": [],
830
+ "description": "构件 `ai-portal.dropdown-select`"
831
+ },
832
+ {
833
+ "name": "ai-portal.preview-container",
834
+ "properties": [
835
+ {
836
+ "name": "source",
837
+ "attribute": false,
838
+ "type": "string"
839
+ },
840
+ {
841
+ "name": "url",
842
+ "type": "string"
843
+ }
844
+ ],
845
+ "events": [],
846
+ "slots": [],
847
+ "methods": [],
848
+ "parts": [],
849
+ "description": "构件 `ai-portal.preview-container`"
850
+ },
851
+ {
852
+ "name": "ai-portal.action-buttons",
853
+ "properties": [
854
+ {
855
+ "name": "items",
856
+ "attribute": false,
857
+ "type": "ActionItem[]"
858
+ },
859
+ {
860
+ "name": "activeKey",
861
+ "type": "string | null"
862
+ }
863
+ ],
864
+ "events": [
865
+ {
866
+ "name": "change",
867
+ "detail": {
868
+ "type": "ActionItem | null"
869
+ }
870
+ }
871
+ ],
872
+ "slots": [],
873
+ "methods": [],
874
+ "parts": [],
875
+ "description": "构件 `ai-portal.action-buttons`"
876
+ },
877
+ {
878
+ "name": "ai-portal.stat-with-mini-chart",
879
+ "properties": [
880
+ {
881
+ "name": "label",
882
+ "type": "string"
883
+ },
884
+ {
885
+ "name": "value",
886
+ "type": "string"
887
+ },
888
+ {
889
+ "name": "size",
890
+ "description": "",
891
+ "default": "\"medium\"",
892
+ "type": "\"medium\" | \"small\""
893
+ },
894
+ {
895
+ "name": "lineColor",
896
+ "description": "",
897
+ "default": "\"var(--color-brand)\"",
898
+ "type": "string"
899
+ },
900
+ {
901
+ "name": "showArea",
902
+ "type": "boolean"
903
+ },
904
+ {
905
+ "name": "min",
906
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
907
+ "type": "number"
908
+ },
909
+ {
910
+ "name": "max",
911
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
912
+ "type": "number"
860
913
  },
861
914
  {
862
- "name": "dropdownMaxWidth",
915
+ "name": "xField",
863
916
  "description": "",
864
- "default": "\"500px\"",
865
- "attribute": false,
866
- "type": "string | number"
917
+ "default": "\"0\"",
918
+ "type": "string"
867
919
  },
868
920
  {
869
- "name": "showSearch",
870
- "description": "是否展示搜索框",
871
- "type": "boolean"
872
- }
873
- ],
874
- "events": [
921
+ "name": "yField",
922
+ "description": "",
923
+ "default": "\"1\"",
924
+ "type": "string"
925
+ },
875
926
  {
876
- "name": "change",
877
- "detail": {
878
- "type": "DropdownOptions"
879
- }
927
+ "name": "data",
928
+ "attribute": false,
929
+ "type": "Record<string, number>[]"
880
930
  }
881
931
  ],
932
+ "events": [],
882
933
  "slots": [],
883
934
  "methods": [],
884
935
  "parts": [],
885
- "description": "构件 `ai-portal.dropdown-select`"
936
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
886
937
  },
887
938
  {
888
- "name": "ai-portal.preview-container",
939
+ "name": "ai-portal.project-conversations",
889
940
  "properties": [
890
941
  {
891
- "name": "source",
942
+ "name": "list",
892
943
  "attribute": false,
893
- "type": "string"
944
+ "type": "Conversation[]"
894
945
  },
895
946
  {
896
- "name": "url",
947
+ "name": "urlTemplate",
897
948
  "type": "string"
898
- }
899
- ],
900
- "events": [],
901
- "slots": [],
902
- "methods": [],
903
- "parts": [],
904
- "description": "构件 `ai-portal.preview-container`"
905
- },
906
- {
907
- "name": "ai-portal.action-buttons",
908
- "properties": [
949
+ },
909
950
  {
910
- "name": "items",
951
+ "name": "actions",
911
952
  "attribute": false,
912
- "type": "ActionItem[]"
953
+ "type": "ActionType[]"
913
954
  },
914
955
  {
915
- "name": "activeKey",
916
- "type": "string | null"
956
+ "name": "goals",
957
+ "attribute": false,
958
+ "type": "Goal[]"
917
959
  }
918
960
  ],
919
961
  "events": [
920
962
  {
921
- "name": "change",
963
+ "name": "goal.click",
922
964
  "detail": {
923
- "type": "ActionItem | null"
965
+ "type": "Conversation"
966
+ }
967
+ },
968
+ {
969
+ "name": "action.click",
970
+ "detail": {
971
+ "type": "ActionClickDetail"
924
972
  }
925
973
  }
926
974
  ],
927
975
  "slots": [],
928
976
  "methods": [],
929
977
  "parts": [],
930
- "description": "构件 `ai-portal.action-buttons`"
978
+ "description": "构件 `ai-portal.project-conversations`"
931
979
  },
932
980
  {
933
981
  "name": "ai-portal.goal-card-list",
@@ -993,12 +1041,12 @@
993
1041
  "description": "构件 `ai-portal.goal-card-list`"
994
1042
  },
995
1043
  {
996
- "name": "ai-portal.project-conversations",
1044
+ "name": "ai-portal.project-knowledges",
997
1045
  "properties": [
998
1046
  {
999
1047
  "name": "list",
1000
1048
  "attribute": false,
1001
- "type": "Conversation[]"
1049
+ "type": "Knowledge[]"
1002
1050
  },
1003
1051
  {
1004
1052
  "name": "urlTemplate",
@@ -1008,87 +1056,117 @@
1008
1056
  "name": "actions",
1009
1057
  "attribute": false,
1010
1058
  "type": "ActionType[]"
1011
- },
1012
- {
1013
- "name": "goals",
1014
- "attribute": false,
1015
- "type": "Goal[]"
1016
1059
  }
1017
1060
  ],
1018
1061
  "events": [
1019
1062
  {
1020
- "name": "goal.click",
1063
+ "name": "action.click",
1021
1064
  "detail": {
1022
- "type": "Conversation"
1065
+ "type": "ActionClickDetail"
1023
1066
  }
1024
1067
  },
1025
1068
  {
1026
- "name": "action.click",
1069
+ "name": "item.click",
1027
1070
  "detail": {
1028
- "type": "ActionClickDetail"
1071
+ "type": "Knowledge"
1029
1072
  }
1030
1073
  }
1031
1074
  ],
1032
1075
  "slots": [],
1033
1076
  "methods": [],
1034
1077
  "parts": [],
1035
- "description": "构件 `ai-portal.project-conversations`"
1078
+ "description": "构件 `ai-portal.project-knowledges`"
1036
1079
  },
1037
1080
  {
1038
- "name": "ai-portal.project-knowledges",
1081
+ "name": "ai-portal.activity-timeline",
1039
1082
  "properties": [
1040
1083
  {
1041
1084
  "name": "list",
1042
1085
  "attribute": false,
1043
- "type": "Knowledge[]"
1086
+ "type": "Activity[]"
1044
1087
  },
1045
1088
  {
1046
- "name": "urlTemplate",
1089
+ "name": "chatUrlTemplate",
1090
+ "type": "string"
1091
+ }
1092
+ ],
1093
+ "events": [],
1094
+ "slots": [],
1095
+ "methods": [],
1096
+ "parts": [],
1097
+ "description": "构件 `ai-portal.activity-timeline`"
1098
+ },
1099
+ {
1100
+ "name": "ai-portal.chat-input",
1101
+ "properties": [
1102
+ {
1103
+ "name": "placeholder",
1047
1104
  "type": "string"
1048
1105
  },
1049
1106
  {
1050
- "name": "actions",
1107
+ "name": "autoFocus",
1108
+ "type": "boolean"
1109
+ },
1110
+ {
1111
+ "name": "submitDisabled",
1112
+ "type": "boolean"
1113
+ },
1114
+ {
1115
+ "name": "supportsTerminate",
1116
+ "type": "boolean"
1117
+ },
1118
+ {
1119
+ "name": "terminating",
1120
+ "type": "boolean"
1121
+ },
1122
+ {
1123
+ "name": "uploadOptions",
1051
1124
  "attribute": false,
1052
- "type": "ActionType[]"
1125
+ "type": "UploadOptions"
1126
+ },
1127
+ {
1128
+ "name": "aiEmployees",
1129
+ "attribute": false,
1130
+ "type": "AIEmployee[]"
1131
+ },
1132
+ {
1133
+ "name": "commands",
1134
+ "attribute": false,
1135
+ "type": "Command[]"
1136
+ },
1137
+ {
1138
+ "name": "suggestionsPlacement",
1139
+ "description": "",
1140
+ "default": "\"bottom\"",
1141
+ "type": "\"top\" | \"bottom\""
1053
1142
  }
1054
1143
  ],
1055
1144
  "events": [
1056
1145
  {
1057
- "name": "action.click",
1146
+ "name": "message.submit",
1147
+ "description": "",
1148
+ "deprecated": "Use `chat.submit` event instead",
1058
1149
  "detail": {
1059
- "type": "ActionClickDetail"
1150
+ "type": "string"
1060
1151
  }
1061
1152
  },
1062
1153
  {
1063
- "name": "item.click",
1154
+ "name": "chat.submit",
1064
1155
  "detail": {
1065
- "type": "Knowledge"
1156
+ "type": "ChatPayload"
1066
1157
  }
1067
- }
1068
- ],
1069
- "slots": [],
1070
- "methods": [],
1071
- "parts": [],
1072
- "description": "构件 `ai-portal.project-knowledges`"
1073
- },
1074
- {
1075
- "name": "ai-portal.activity-timeline",
1076
- "properties": [
1077
- {
1078
- "name": "list",
1079
- "attribute": false,
1080
- "type": "Activity[]"
1081
1158
  },
1082
1159
  {
1083
- "name": "chatUrlTemplate",
1084
- "type": "string"
1160
+ "name": "terminate",
1161
+ "detail": {
1162
+ "type": "void"
1163
+ }
1085
1164
  }
1086
1165
  ],
1087
- "events": [],
1088
1166
  "slots": [],
1089
1167
  "methods": [],
1090
1168
  "parts": [],
1091
- "description": "构件 `ai-portal.activity-timeline`"
1169
+ "description": "小型聊天输入框,用于对话等页面"
1092
1170
  },
1093
1171
  {
1094
1172
  "name": "ai-portal.elevo-logo",
@@ -1509,78 +1587,6 @@
1509
1587
  "methods": [],
1510
1588
  "parts": [],
1511
1589
  "description": "构件 `ai-portal.gantt-chart`"
1512
- },
1513
- {
1514
- "name": "ai-portal.chat-input",
1515
- "properties": [
1516
- {
1517
- "name": "placeholder",
1518
- "type": "string"
1519
- },
1520
- {
1521
- "name": "autoFocus",
1522
- "type": "boolean"
1523
- },
1524
- {
1525
- "name": "submitDisabled",
1526
- "type": "boolean"
1527
- },
1528
- {
1529
- "name": "supportsTerminate",
1530
- "type": "boolean"
1531
- },
1532
- {
1533
- "name": "terminating",
1534
- "type": "boolean"
1535
- },
1536
- {
1537
- "name": "uploadOptions",
1538
- "attribute": false,
1539
- "type": "UploadOptions"
1540
- },
1541
- {
1542
- "name": "aiEmployees",
1543
- "attribute": false,
1544
- "type": "AIEmployee[]"
1545
- },
1546
- {
1547
- "name": "commands",
1548
- "attribute": false,
1549
- "type": "Command[]"
1550
- },
1551
- {
1552
- "name": "suggestionsPlacement",
1553
- "description": "",
1554
- "default": "\"bottom\"",
1555
- "type": "\"top\" | \"bottom\""
1556
- }
1557
- ],
1558
- "events": [
1559
- {
1560
- "name": "message.submit",
1561
- "description": "",
1562
- "deprecated": "Use `chat.submit` event instead",
1563
- "detail": {
1564
- "type": "string"
1565
- }
1566
- },
1567
- {
1568
- "name": "chat.submit",
1569
- "detail": {
1570
- "type": "ChatPayload"
1571
- }
1572
- },
1573
- {
1574
- "name": "terminate",
1575
- "detail": {
1576
- "type": "void"
1577
- }
1578
- }
1579
- ],
1580
- "slots": [],
1581
- "methods": [],
1582
- "parts": [],
1583
- "description": "小型聊天输入框,用于对话等页面"
1584
1590
  }
1585
1591
  ],
1586
1592
  "providers": [