@next-bricks/ai-portal 0.58.13 → 0.58.14

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.
@@ -162,82 +162,6 @@
162
162
  "parts": [],
163
163
  "description": "构件 `ai-portal.cruise-canvas`"
164
164
  },
165
- {
166
- "name": "ai-portal.chat-box",
167
- "properties": [
168
- {
169
- "name": "disabled",
170
- "type": "boolean"
171
- },
172
- {
173
- "name": "placeholder",
174
- "type": "string"
175
- },
176
- {
177
- "name": "autoFocus",
178
- "type": "boolean"
179
- },
180
- {
181
- "name": "aiEmployees",
182
- "attribute": false,
183
- "type": "AIEmployee[]"
184
- },
185
- {
186
- "name": "commands",
187
- "attribute": false,
188
- "type": "Command[]"
189
- },
190
- {
191
- "name": "uploadOptions",
192
- "attribute": false,
193
- "type": "UploadOptions"
194
- }
195
- ],
196
- "events": [
197
- {
198
- "name": "message.submit",
199
- "description": "",
200
- "deprecated": "Use `chat.submit` event instead",
201
- "detail": {
202
- "type": "string"
203
- }
204
- },
205
- {
206
- "name": "chat.submit",
207
- "detail": {
208
- "type": "ChatPayload"
209
- }
210
- },
211
- {
212
- "name": "command.select",
213
- "detail": {
214
- "type": "CommandPayload | null"
215
- }
216
- }
217
- ],
218
- "slots": [],
219
- "methods": [
220
- {
221
- "name": "setValue",
222
- "params": [
223
- {
224
- "name": "value",
225
- "type": "string"
226
- }
227
- ]
228
- },
229
- {
230
- "name": "getValue",
231
- "params": []
232
- },
233
- {
234
- "name": "focusOnInput",
235
- "params": []
236
- }
237
- ],
238
- "parts": [],
239
- "description": "构件 `ai-portal.chat-box`"
240
- },
241
165
  {
242
166
  "name": "ai-portal.stat-with-mini-chart",
243
167
  "properties": [
@@ -299,20 +223,6 @@
299
223
  "parts": [],
300
224
  "description": "构件 `ai-portal.stat-with-mini-chart`"
301
225
  },
302
- {
303
- "name": "ai-portal.home-container",
304
- "properties": [
305
- {
306
- "name": "sticky",
307
- "type": "boolean"
308
- }
309
- ],
310
- "events": [],
311
- "slots": [],
312
- "methods": [],
313
- "parts": [],
314
- "description": "构件 `ai-portal.home-container`"
315
- },
316
226
  {
317
227
  "name": "ai-portal.icon-button",
318
228
  "properties": [
@@ -345,140 +255,18 @@
345
255
  "description": "构件 `ai-portal.icon-button`"
346
256
  },
347
257
  {
348
- "name": "ai-portal.elevo-sidebar",
258
+ "name": "ai-portal.home-container",
349
259
  "properties": [
350
260
  {
351
- "name": "userInstanceId",
352
- "type": "string"
353
- },
354
- {
355
- "name": "behavior",
356
- "type": "\"default\" | \"drawer\""
357
- },
358
- {
359
- "name": "logoUrl",
360
- "type": "string"
361
- },
362
- {
363
- "name": "newChatUrl",
364
- "type": "string"
365
- },
366
- {
367
- "name": "newChatLinkWhenCollapsed",
261
+ "name": "sticky",
368
262
  "type": "boolean"
369
- },
370
- {
371
- "name": "historyUrlTemplate",
372
- "type": "string"
373
- },
374
- {
375
- "name": "historyActions",
376
- "attribute": false,
377
- "type": "ActionType[]"
378
- },
379
- {
380
- "name": "projectUrlTemplate",
381
- "type": "string"
382
- },
383
- {
384
- "name": "projectActions",
385
- "attribute": false,
386
- "type": "ActionType[]"
387
- },
388
- {
389
- "name": "links",
390
- "attribute": false,
391
- "type": "SidebarLink[]"
392
- },
393
- {
394
- "name": "canAddProject",
395
- "type": "boolean",
396
- "default": "true"
397
- },
398
- {
399
- "name": "myLinks",
400
- "attribute": false,
401
- "type": "SidebarLink[]"
402
- }
403
- ],
404
- "events": [
405
- {
406
- "name": "logout",
407
- "detail": {
408
- "type": "void"
409
- }
410
- },
411
- {
412
- "name": "action.click",
413
- "detail": {
414
- "type": "ActionClickDetail"
415
- }
416
- },
417
- {
418
- "name": "project.action.click",
419
- "detail": {
420
- "type": "ProjectActionClickDetail"
421
- }
422
- },
423
- {
424
- "name": "add.project",
425
- "detail": {
426
- "type": "void"
427
- }
428
263
  }
429
264
  ],
265
+ "events": [],
430
266
  "slots": [],
431
- "methods": [
432
- {
433
- "name": "pullHistory",
434
- "params": [
435
- {
436
- "name": "delay",
437
- "description": "Delay in milliseconds before pulling the latest chat history.",
438
- "type": "number"
439
- }
440
- ],
441
- "description": "",
442
- "returns": {}
443
- },
444
- {
445
- "name": "open",
446
- "params": []
447
- },
448
- {
449
- "name": "close",
450
- "params": []
451
- },
452
- {
453
- "name": "removeProject",
454
- "params": [
455
- {
456
- "name": "projectId",
457
- "type": "string"
458
- }
459
- ]
460
- },
461
- {
462
- "name": "addProject",
463
- "params": [
464
- {
465
- "name": "project",
466
- "type": "Project"
467
- }
468
- ]
469
- },
470
- {
471
- "name": "moveConversation",
472
- "params": [
473
- {
474
- "name": "conversationId",
475
- "type": "string"
476
- }
477
- ]
478
- }
479
- ],
267
+ "methods": [],
480
268
  "parts": [],
481
- "description": "构件 `ai-portal.elevo-sidebar`"
269
+ "description": "构件 `ai-portal.home-container`"
482
270
  },
483
271
  {
484
272
  "name": "ai-portal.show-cases",
@@ -518,6 +306,36 @@
518
306
  "parts": [],
519
307
  "description": "构件 `ai-portal.mcp-tools`"
520
308
  },
309
+ {
310
+ "name": "ai-portal.ai-employees",
311
+ "properties": [
312
+ {
313
+ "name": "list",
314
+ "attribute": false,
315
+ "type": "Employee[]"
316
+ },
317
+ {
318
+ "name": "industries",
319
+ "attribute": false,
320
+ "type": "string[]"
321
+ },
322
+ {
323
+ "name": "urlTemplate",
324
+ "type": "string"
325
+ },
326
+ {
327
+ "name": "withContainer",
328
+ "description": "",
329
+ "deprecated": true,
330
+ "default": "true"
331
+ }
332
+ ],
333
+ "events": [],
334
+ "slots": [],
335
+ "methods": [],
336
+ "parts": [],
337
+ "description": "构件 `ai-portal.ai-employees`"
338
+ },
521
339
  {
522
340
  "name": "ai-portal.chat-stream",
523
341
  "properties": [
@@ -685,36 +503,6 @@
685
503
  "parts": [],
686
504
  "description": "构件 `ai-portal.chat-stream`"
687
505
  },
688
- {
689
- "name": "ai-portal.ai-employees",
690
- "properties": [
691
- {
692
- "name": "list",
693
- "attribute": false,
694
- "type": "Employee[]"
695
- },
696
- {
697
- "name": "industries",
698
- "attribute": false,
699
- "type": "string[]"
700
- },
701
- {
702
- "name": "urlTemplate",
703
- "type": "string"
704
- },
705
- {
706
- "name": "withContainer",
707
- "description": "",
708
- "deprecated": true,
709
- "default": "true"
710
- }
711
- ],
712
- "events": [],
713
- "slots": [],
714
- "methods": [],
715
- "parts": [],
716
- "description": "构件 `ai-portal.ai-employees`"
717
- },
718
506
  {
719
507
  "name": "ai-portal.ai-agents",
720
508
  "properties": [
@@ -785,6 +573,142 @@
785
573
  "parts": [],
786
574
  "description": "构件 `ai-portal.page-container`"
787
575
  },
576
+ {
577
+ "name": "ai-portal.elevo-sidebar",
578
+ "properties": [
579
+ {
580
+ "name": "userInstanceId",
581
+ "type": "string"
582
+ },
583
+ {
584
+ "name": "behavior",
585
+ "type": "\"default\" | \"drawer\""
586
+ },
587
+ {
588
+ "name": "logoUrl",
589
+ "type": "string"
590
+ },
591
+ {
592
+ "name": "newChatUrl",
593
+ "type": "string"
594
+ },
595
+ {
596
+ "name": "newChatLinkWhenCollapsed",
597
+ "type": "boolean"
598
+ },
599
+ {
600
+ "name": "historyUrlTemplate",
601
+ "type": "string"
602
+ },
603
+ {
604
+ "name": "historyActions",
605
+ "attribute": false,
606
+ "type": "ActionType[]"
607
+ },
608
+ {
609
+ "name": "projectUrlTemplate",
610
+ "type": "string"
611
+ },
612
+ {
613
+ "name": "projectActions",
614
+ "attribute": false,
615
+ "type": "ActionType[]"
616
+ },
617
+ {
618
+ "name": "links",
619
+ "attribute": false,
620
+ "type": "SidebarLink[]"
621
+ },
622
+ {
623
+ "name": "canAddProject",
624
+ "type": "boolean",
625
+ "default": "true"
626
+ },
627
+ {
628
+ "name": "myLinks",
629
+ "attribute": false,
630
+ "type": "SidebarLink[]"
631
+ }
632
+ ],
633
+ "events": [
634
+ {
635
+ "name": "logout",
636
+ "detail": {
637
+ "type": "void"
638
+ }
639
+ },
640
+ {
641
+ "name": "action.click",
642
+ "detail": {
643
+ "type": "ActionClickDetail"
644
+ }
645
+ },
646
+ {
647
+ "name": "project.action.click",
648
+ "detail": {
649
+ "type": "ProjectActionClickDetail"
650
+ }
651
+ },
652
+ {
653
+ "name": "add.project",
654
+ "detail": {
655
+ "type": "void"
656
+ }
657
+ }
658
+ ],
659
+ "slots": [],
660
+ "methods": [
661
+ {
662
+ "name": "pullHistory",
663
+ "params": [
664
+ {
665
+ "name": "delay",
666
+ "description": "Delay in milliseconds before pulling the latest chat history.",
667
+ "type": "number"
668
+ }
669
+ ],
670
+ "description": "",
671
+ "returns": {}
672
+ },
673
+ {
674
+ "name": "open",
675
+ "params": []
676
+ },
677
+ {
678
+ "name": "close",
679
+ "params": []
680
+ },
681
+ {
682
+ "name": "removeProject",
683
+ "params": [
684
+ {
685
+ "name": "projectId",
686
+ "type": "string"
687
+ }
688
+ ]
689
+ },
690
+ {
691
+ "name": "addProject",
692
+ "params": [
693
+ {
694
+ "name": "project",
695
+ "type": "Project"
696
+ }
697
+ ]
698
+ },
699
+ {
700
+ "name": "moveConversation",
701
+ "params": [
702
+ {
703
+ "name": "conversationId",
704
+ "type": "string"
705
+ }
706
+ ]
707
+ }
708
+ ],
709
+ "parts": [],
710
+ "description": "构件 `ai-portal.elevo-sidebar`"
711
+ },
788
712
  {
789
713
  "name": "ai-portal.tab-list",
790
714
  "properties": [
@@ -857,45 +781,121 @@
857
781
  "description": "",
858
782
  "default": "\"500px\"",
859
783
  "attribute": false,
860
- "type": "string | number"
784
+ "type": "string | number"
785
+ },
786
+ {
787
+ "name": "showSearch",
788
+ "description": "是否展示搜索框",
789
+ "type": "boolean"
790
+ }
791
+ ],
792
+ "events": [
793
+ {
794
+ "name": "change",
795
+ "detail": {
796
+ "type": "DropdownOptions"
797
+ }
798
+ }
799
+ ],
800
+ "slots": [],
801
+ "methods": [],
802
+ "parts": [],
803
+ "description": "构件 `ai-portal.dropdown-select`"
804
+ },
805
+ {
806
+ "name": "ai-portal.preview-container",
807
+ "properties": [
808
+ {
809
+ "name": "source",
810
+ "attribute": false,
811
+ "type": "string"
812
+ },
813
+ {
814
+ "name": "url",
815
+ "type": "string"
816
+ }
817
+ ],
818
+ "events": [],
819
+ "slots": [],
820
+ "methods": [],
821
+ "parts": [],
822
+ "description": "构件 `ai-portal.preview-container`"
823
+ },
824
+ {
825
+ "name": "ai-portal.chat-box",
826
+ "properties": [
827
+ {
828
+ "name": "disabled",
829
+ "type": "boolean"
830
+ },
831
+ {
832
+ "name": "placeholder",
833
+ "type": "string"
834
+ },
835
+ {
836
+ "name": "autoFocus",
837
+ "type": "boolean"
838
+ },
839
+ {
840
+ "name": "aiEmployees",
841
+ "attribute": false,
842
+ "type": "AIEmployee[]"
843
+ },
844
+ {
845
+ "name": "commands",
846
+ "attribute": false,
847
+ "type": "Command[]"
861
848
  },
862
849
  {
863
- "name": "showSearch",
864
- "description": "是否展示搜索框",
865
- "type": "boolean"
850
+ "name": "uploadOptions",
851
+ "attribute": false,
852
+ "type": "UploadOptions"
866
853
  }
867
854
  ],
868
855
  "events": [
869
856
  {
870
- "name": "change",
857
+ "name": "message.submit",
858
+ "description": "",
859
+ "deprecated": "Use `chat.submit` event instead",
871
860
  "detail": {
872
- "type": "DropdownOptions"
861
+ "type": "string"
862
+ }
863
+ },
864
+ {
865
+ "name": "chat.submit",
866
+ "detail": {
867
+ "type": "ChatPayload"
868
+ }
869
+ },
870
+ {
871
+ "name": "command.select",
872
+ "detail": {
873
+ "type": "CommandPayload | null"
873
874
  }
874
875
  }
875
876
  ],
876
877
  "slots": [],
877
- "methods": [],
878
- "parts": [],
879
- "description": "构件 `ai-portal.dropdown-select`"
880
- },
881
- {
882
- "name": "ai-portal.preview-container",
883
- "properties": [
878
+ "methods": [
884
879
  {
885
- "name": "source",
886
- "attribute": false,
887
- "type": "string"
880
+ "name": "setValue",
881
+ "params": [
882
+ {
883
+ "name": "value",
884
+ "type": "string"
885
+ }
886
+ ]
888
887
  },
889
888
  {
890
- "name": "url",
891
- "type": "string"
889
+ "name": "getValue",
890
+ "params": []
891
+ },
892
+ {
893
+ "name": "focusOnInput",
894
+ "params": []
892
895
  }
893
896
  ],
894
- "events": [],
895
- "slots": [],
896
- "methods": [],
897
897
  "parts": [],
898
- "description": "构件 `ai-portal.preview-container`"
898
+ "description": "构件 `ai-portal.chat-box`"
899
899
  },
900
900
  {
901
901
  "name": "ai-portal.action-buttons",
@@ -924,65 +924,67 @@
924
924
  "description": "构件 `ai-portal.action-buttons`"
925
925
  },
926
926
  {
927
- "name": "ai-portal.project-conversations",
927
+ "name": "ai-portal.goal-card-list",
928
928
  "properties": [
929
929
  {
930
- "name": "list",
930
+ "name": "goalList",
931
931
  "attribute": false,
932
- "type": "Conversation[]"
933
- },
934
- {
935
- "name": "urlTemplate",
936
- "type": "string"
932
+ "type": "GoalItem[]"
937
933
  },
938
934
  {
939
- "name": "actions",
935
+ "name": "cardStyle",
940
936
  "attribute": false,
941
- "type": "ActionType[]"
937
+ "type": "React.CSSProperties"
942
938
  },
943
939
  {
944
- "name": "goals",
945
- "attribute": false,
946
- "type": "Goal[]"
940
+ "name": "activeKey",
941
+ "type": "string"
947
942
  }
948
943
  ],
949
944
  "events": [
950
945
  {
951
- "name": "goal.click",
946
+ "name": "item.click",
952
947
  "detail": {
953
- "type": "Conversation"
948
+ "type": "GoalItem"
954
949
  }
955
950
  },
956
951
  {
957
- "name": "action.click",
952
+ "name": "item.status.change",
958
953
  "detail": {
959
- "type": "ActionClickDetail"
954
+ "type": "GoalItem"
960
955
  }
961
- }
962
- ],
963
- "slots": [],
964
- "methods": [],
965
- "parts": [],
966
- "description": "构件 `ai-portal.project-conversations`"
967
- },
968
- {
969
- "name": "ai-portal.activity-timeline",
970
- "properties": [
956
+ },
971
957
  {
972
- "name": "list",
973
- "attribute": false,
974
- "type": "Activity[]"
958
+ "name": "item.title.change",
959
+ "detail": {
960
+ "type": "GoalItem"
961
+ }
975
962
  },
976
963
  {
977
- "name": "chatUrlTemplate",
978
- "type": "string"
964
+ "name": "item.new.chat",
965
+ "detail": {
966
+ "type": "GoalItem"
967
+ }
979
968
  }
980
969
  ],
981
- "events": [],
982
970
  "slots": [],
983
- "methods": [],
971
+ "methods": [
972
+ {
973
+ "name": "appendChildDone",
974
+ "params": [
975
+ {
976
+ "name": "pendingId",
977
+ "type": "string"
978
+ },
979
+ {
980
+ "name": "newItem",
981
+ "type": "GoalItem"
982
+ }
983
+ ]
984
+ }
985
+ ],
984
986
  "parts": [],
985
- "description": "构件 `ai-portal.activity-timeline`"
987
+ "description": "构件 `ai-portal.goal-card-list`"
986
988
  },
987
989
  {
988
990
  "name": "ai-portal.project-knowledges",
@@ -1022,67 +1024,65 @@
1022
1024
  "description": "构件 `ai-portal.project-knowledges`"
1023
1025
  },
1024
1026
  {
1025
- "name": "ai-portal.goal-card-list",
1027
+ "name": "ai-portal.activity-timeline",
1026
1028
  "properties": [
1027
1029
  {
1028
- "name": "goalList",
1029
- "attribute": false,
1030
- "type": "GoalItem[]"
1031
- },
1032
- {
1033
- "name": "cardStyle",
1030
+ "name": "list",
1034
1031
  "attribute": false,
1035
- "type": "React.CSSProperties"
1032
+ "type": "Activity[]"
1036
1033
  },
1037
1034
  {
1038
- "name": "activeKey",
1035
+ "name": "chatUrlTemplate",
1039
1036
  "type": "string"
1040
1037
  }
1041
1038
  ],
1042
- "events": [
1039
+ "events": [],
1040
+ "slots": [],
1041
+ "methods": [],
1042
+ "parts": [],
1043
+ "description": "构件 `ai-portal.activity-timeline`"
1044
+ },
1045
+ {
1046
+ "name": "ai-portal.project-conversations",
1047
+ "properties": [
1043
1048
  {
1044
- "name": "item.click",
1045
- "detail": {
1046
- "type": "GoalItem"
1047
- }
1049
+ "name": "list",
1050
+ "attribute": false,
1051
+ "type": "Conversation[]"
1048
1052
  },
1049
1053
  {
1050
- "name": "item.status.change",
1051
- "detail": {
1052
- "type": "GoalItem"
1053
- }
1054
+ "name": "urlTemplate",
1055
+ "type": "string"
1054
1056
  },
1055
1057
  {
1056
- "name": "item.title.change",
1058
+ "name": "actions",
1059
+ "attribute": false,
1060
+ "type": "ActionType[]"
1061
+ },
1062
+ {
1063
+ "name": "goals",
1064
+ "attribute": false,
1065
+ "type": "Goal[]"
1066
+ }
1067
+ ],
1068
+ "events": [
1069
+ {
1070
+ "name": "goal.click",
1057
1071
  "detail": {
1058
- "type": "GoalItem"
1072
+ "type": "Conversation"
1059
1073
  }
1060
1074
  },
1061
1075
  {
1062
- "name": "item.new.chat",
1076
+ "name": "action.click",
1063
1077
  "detail": {
1064
- "type": "GoalItem"
1078
+ "type": "ActionClickDetail"
1065
1079
  }
1066
1080
  }
1067
1081
  ],
1068
1082
  "slots": [],
1069
- "methods": [
1070
- {
1071
- "name": "appendChildDone",
1072
- "params": [
1073
- {
1074
- "name": "pendingId",
1075
- "type": "string"
1076
- },
1077
- {
1078
- "name": "newItem",
1079
- "type": "GoalItem"
1080
- }
1081
- ]
1082
- }
1083
- ],
1083
+ "methods": [],
1084
1084
  "parts": [],
1085
- "description": "构件 `ai-portal.goal-card-list`"
1085
+ "description": "构件 `ai-portal.project-conversations`"
1086
1086
  },
1087
1087
  {
1088
1088
  "name": "ai-portal.elevo-logo",
@@ -1254,6 +1254,33 @@
1254
1254
  "parts": [],
1255
1255
  "description": "构件 `ai-portal.elevo-card`"
1256
1256
  },
1257
+ {
1258
+ "name": "ai-portal.flow-tabs",
1259
+ "properties": [
1260
+ {
1261
+ "name": "tabs",
1262
+ "attribute": false,
1263
+ "type": "Tab[]"
1264
+ },
1265
+ {
1266
+ "name": "activeTab",
1267
+ "attribute": false,
1268
+ "type": "string"
1269
+ }
1270
+ ],
1271
+ "events": [
1272
+ {
1273
+ "name": "tab.click",
1274
+ "detail": {
1275
+ "type": "Tab"
1276
+ }
1277
+ }
1278
+ ],
1279
+ "slots": [],
1280
+ "methods": [],
1281
+ "parts": [],
1282
+ "description": "构件 `ai-portal.flow-tabs`"
1283
+ },
1257
1284
  {
1258
1285
  "name": "ai-portal.stage-flow",
1259
1286
  "properties": [
@@ -1341,33 +1368,6 @@
1341
1368
  "parts": [],
1342
1369
  "description": "构件 `ai-portal.stage-flow`"
1343
1370
  },
1344
- {
1345
- "name": "ai-portal.flow-tabs",
1346
- "properties": [
1347
- {
1348
- "name": "tabs",
1349
- "attribute": false,
1350
- "type": "Tab[]"
1351
- },
1352
- {
1353
- "name": "activeTab",
1354
- "attribute": false,
1355
- "type": "string"
1356
- }
1357
- ],
1358
- "events": [
1359
- {
1360
- "name": "tab.click",
1361
- "detail": {
1362
- "type": "Tab"
1363
- }
1364
- }
1365
- ],
1366
- "slots": [],
1367
- "methods": [],
1368
- "parts": [],
1369
- "description": "构件 `ai-portal.flow-tabs`"
1370
- },
1371
1371
  {
1372
1372
  "name": "ai-portal.running-flow",
1373
1373
  "properties": [