@next-bricks/ai-portal 0.58.8 → 0.58.9

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 (44) hide show
  1. package/dist/bricks.json +33 -33
  2. package/dist/chunks/151.098c765c.js +2 -0
  3. package/dist/chunks/151.098c765c.js.map +1 -0
  4. package/dist/chunks/2232.3e1796f1.js +2 -0
  5. package/dist/chunks/2232.3e1796f1.js.map +1 -0
  6. package/dist/chunks/{2324.17662f31.js → 2324.d6932d39.js} +2 -2
  7. package/dist/chunks/{2324.17662f31.js.map → 2324.d6932d39.js.map} +1 -1
  8. package/dist/chunks/7848.8261656a.js +2 -0
  9. package/dist/chunks/7848.8261656a.js.map +1 -0
  10. package/dist/chunks/9496.0c35a324.js +2 -0
  11. package/dist/chunks/9496.0c35a324.js.map +1 -0
  12. package/dist/chunks/{elevo-sidebar.08aad53b.js → elevo-sidebar.dcdcd0e4.js} +3 -3
  13. package/dist/chunks/elevo-sidebar.dcdcd0e4.js.map +1 -0
  14. package/dist/chunks/icon-button.ee06d4b6.js +2 -0
  15. package/dist/chunks/icon-button.ee06d4b6.js.map +1 -0
  16. package/dist/chunks/{main.15818e0c.js → main.f6e562f8.js} +2 -2
  17. package/dist/chunks/{main.15818e0c.js.map → main.f6e562f8.js.map} +1 -1
  18. package/dist/examples.json +20 -20
  19. package/dist/{index.c4df1948.js → index.41d721be.js} +2 -2
  20. package/dist/{index.c4df1948.js.map → index.41d721be.js.map} +1 -1
  21. package/dist/manifest.json +288 -288
  22. package/dist/types.json +527 -527
  23. package/dist-types/cruise-canvas/FileList/FileList.d.ts +1 -2
  24. package/dist-types/shared/FilePreview/FilePreview.d.ts +1 -4
  25. package/dist-types/shared/FilePreview/ImagesPreview.d.ts +6 -0
  26. package/dist-types/shared/FilePreview/downloadFile.d.ts +2 -0
  27. package/dist-types/shared/FilePreview/getImageUrl.d.ts +1 -0
  28. package/dist-types/shared/TaskContext.d.ts +3 -1
  29. package/dist-types/shared/constants.d.ts +1 -0
  30. package/dist-types/shared/interfaces.d.ts +4 -0
  31. package/package.json +2 -2
  32. package/dist/chunks/1488.171d8f4f.js +0 -2
  33. package/dist/chunks/1488.171d8f4f.js.map +0 -1
  34. package/dist/chunks/151.98b4630f.js +0 -2
  35. package/dist/chunks/151.98b4630f.js.map +0 -1
  36. package/dist/chunks/2232.fb0bce86.js +0 -2
  37. package/dist/chunks/2232.fb0bce86.js.map +0 -1
  38. package/dist/chunks/9496.e3fa93a9.js +0 -2
  39. package/dist/chunks/9496.e3fa93a9.js.map +0 -1
  40. package/dist/chunks/elevo-sidebar.08aad53b.js.map +0 -1
  41. package/dist/chunks/icon-button.0881c876.js +0 -2
  42. package/dist/chunks/icon-button.0881c876.js.map +0 -1
  43. package/dist-types/shared/FilePreview/FilePreviewDrawer.d.ts +0 -6
  44. /package/dist/chunks/{elevo-sidebar.08aad53b.js.LICENSE.txt → elevo-sidebar.dcdcd0e4.js.LICENSE.txt} +0 -0
@@ -163,65 +163,18 @@
163
163
  "description": "构件 `ai-portal.cruise-canvas`"
164
164
  },
165
165
  {
166
- "name": "ai-portal.stat-with-mini-chart",
166
+ "name": "ai-portal.home-container",
167
167
  "properties": [
168
168
  {
169
- "name": "label",
170
- "type": "string"
171
- },
172
- {
173
- "name": "value",
174
- "type": "string"
175
- },
176
- {
177
- "name": "size",
178
- "description": "",
179
- "default": "\"medium\"",
180
- "type": "\"medium\" | \"small\""
181
- },
182
- {
183
- "name": "lineColor",
184
- "description": "",
185
- "default": "\"var(--color-brand)\"",
186
- "type": "string"
187
- },
188
- {
189
- "name": "showArea",
169
+ "name": "sticky",
190
170
  "type": "boolean"
191
- },
192
- {
193
- "name": "min",
194
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
195
- "type": "number"
196
- },
197
- {
198
- "name": "max",
199
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
200
- "type": "number"
201
- },
202
- {
203
- "name": "xField",
204
- "description": "",
205
- "default": "\"0\"",
206
- "type": "string"
207
- },
208
- {
209
- "name": "yField",
210
- "description": "",
211
- "default": "\"1\"",
212
- "type": "string"
213
- },
214
- {
215
- "name": "data",
216
- "attribute": false,
217
- "type": "Record<string, number>[]"
218
171
  }
219
172
  ],
220
173
  "events": [],
221
174
  "slots": [],
222
175
  "methods": [],
223
176
  "parts": [],
224
- "description": "构件 `ai-portal.stat-with-mini-chart`"
177
+ "description": "构件 `ai-portal.home-container`"
225
178
  },
226
179
  {
227
180
  "name": "ai-portal.elevo-sidebar",
@@ -359,96 +312,6 @@
359
312
  "parts": [],
360
313
  "description": "构件 `ai-portal.elevo-sidebar`"
361
314
  },
362
- {
363
- "name": "ai-portal.home-container",
364
- "properties": [
365
- {
366
- "name": "sticky",
367
- "type": "boolean"
368
- }
369
- ],
370
- "events": [],
371
- "slots": [],
372
- "methods": [],
373
- "parts": [],
374
- "description": "构件 `ai-portal.home-container`"
375
- },
376
- {
377
- "name": "ai-portal.chat-box",
378
- "properties": [
379
- {
380
- "name": "disabled",
381
- "type": "boolean"
382
- },
383
- {
384
- "name": "placeholder",
385
- "type": "string"
386
- },
387
- {
388
- "name": "autoFocus",
389
- "type": "boolean"
390
- },
391
- {
392
- "name": "aiEmployees",
393
- "attribute": false,
394
- "type": "AIEmployee[]"
395
- },
396
- {
397
- "name": "commands",
398
- "attribute": false,
399
- "type": "Command[]"
400
- },
401
- {
402
- "name": "uploadOptions",
403
- "attribute": false,
404
- "type": "UploadOptions"
405
- }
406
- ],
407
- "events": [
408
- {
409
- "name": "message.submit",
410
- "description": "",
411
- "deprecated": "Use `chat.submit` event instead",
412
- "detail": {
413
- "type": "string"
414
- }
415
- },
416
- {
417
- "name": "chat.submit",
418
- "detail": {
419
- "type": "ChatPayload"
420
- }
421
- },
422
- {
423
- "name": "command.select",
424
- "detail": {
425
- "type": "CommandPayload | null"
426
- }
427
- }
428
- ],
429
- "slots": [],
430
- "methods": [
431
- {
432
- "name": "setValue",
433
- "params": [
434
- {
435
- "name": "value",
436
- "type": "string"
437
- }
438
- ]
439
- },
440
- {
441
- "name": "getValue",
442
- "params": []
443
- },
444
- {
445
- "name": "focusOnInput",
446
- "params": []
447
- }
448
- ],
449
- "parts": [],
450
- "description": "构件 `ai-portal.chat-box`"
451
- },
452
315
  {
453
316
  "name": "ai-portal.icon-button",
454
317
  "properties": [
@@ -500,34 +363,23 @@
500
363
  "description": "构件 `ai-portal.show-cases`"
501
364
  },
502
365
  {
503
- "name": "ai-portal.ai-employees",
366
+ "name": "ai-portal.mcp-tools",
504
367
  "properties": [
505
368
  {
506
369
  "name": "list",
507
370
  "attribute": false,
508
- "type": "Employee[]"
509
- },
510
- {
511
- "name": "industries",
512
- "attribute": false,
513
- "type": "string[]"
514
- },
515
- {
516
- "name": "urlTemplate",
517
- "type": "string"
371
+ "type": "McpTool[]"
518
372
  },
519
373
  {
520
- "name": "withContainer",
521
- "description": "",
522
- "deprecated": true,
523
- "default": "true"
374
+ "name": "stickyTop",
375
+ "type": "number"
524
376
  }
525
377
  ],
526
378
  "events": [],
527
379
  "slots": [],
528
380
  "methods": [],
529
381
  "parts": [],
530
- "description": "构件 `ai-portal.ai-employees`"
382
+ "description": "构件 `ai-portal.mcp-tools`"
531
383
  },
532
384
  {
533
385
  "name": "ai-portal.chat-stream",
@@ -693,23 +545,34 @@
693
545
  "description": "构件 `ai-portal.chat-stream`"
694
546
  },
695
547
  {
696
- "name": "ai-portal.mcp-tools",
548
+ "name": "ai-portal.ai-employees",
697
549
  "properties": [
698
550
  {
699
551
  "name": "list",
700
552
  "attribute": false,
701
- "type": "McpTool[]"
553
+ "type": "Employee[]"
702
554
  },
703
555
  {
704
- "name": "stickyTop",
705
- "type": "number"
556
+ "name": "industries",
557
+ "attribute": false,
558
+ "type": "string[]"
559
+ },
560
+ {
561
+ "name": "urlTemplate",
562
+ "type": "string"
563
+ },
564
+ {
565
+ "name": "withContainer",
566
+ "description": "",
567
+ "deprecated": true,
568
+ "default": "true"
706
569
  }
707
570
  ],
708
571
  "events": [],
709
572
  "slots": [],
710
573
  "methods": [],
711
574
  "parts": [],
712
- "description": "构件 `ai-portal.mcp-tools`"
575
+ "description": "构件 `ai-portal.ai-employees`"
713
576
  },
714
577
  {
715
578
  "name": "ai-portal.ai-agents",
@@ -736,6 +599,82 @@
736
599
  "parts": [],
737
600
  "description": "构件 `ai-portal.ai-agents`"
738
601
  },
602
+ {
603
+ "name": "ai-portal.chat-box",
604
+ "properties": [
605
+ {
606
+ "name": "disabled",
607
+ "type": "boolean"
608
+ },
609
+ {
610
+ "name": "placeholder",
611
+ "type": "string"
612
+ },
613
+ {
614
+ "name": "autoFocus",
615
+ "type": "boolean"
616
+ },
617
+ {
618
+ "name": "aiEmployees",
619
+ "attribute": false,
620
+ "type": "AIEmployee[]"
621
+ },
622
+ {
623
+ "name": "commands",
624
+ "attribute": false,
625
+ "type": "Command[]"
626
+ },
627
+ {
628
+ "name": "uploadOptions",
629
+ "attribute": false,
630
+ "type": "UploadOptions"
631
+ }
632
+ ],
633
+ "events": [
634
+ {
635
+ "name": "message.submit",
636
+ "description": "",
637
+ "deprecated": "Use `chat.submit` event instead",
638
+ "detail": {
639
+ "type": "string"
640
+ }
641
+ },
642
+ {
643
+ "name": "chat.submit",
644
+ "detail": {
645
+ "type": "ChatPayload"
646
+ }
647
+ },
648
+ {
649
+ "name": "command.select",
650
+ "detail": {
651
+ "type": "CommandPayload | null"
652
+ }
653
+ }
654
+ ],
655
+ "slots": [],
656
+ "methods": [
657
+ {
658
+ "name": "setValue",
659
+ "params": [
660
+ {
661
+ "name": "value",
662
+ "type": "string"
663
+ }
664
+ ]
665
+ },
666
+ {
667
+ "name": "getValue",
668
+ "params": []
669
+ },
670
+ {
671
+ "name": "focusOnInput",
672
+ "params": []
673
+ }
674
+ ],
675
+ "parts": [],
676
+ "description": "构件 `ai-portal.chat-box`"
677
+ },
739
678
  {
740
679
  "name": "ai-portal.page-container",
741
680
  "properties": [
@@ -785,37 +724,98 @@
785
724
  "name": "ai-portal.tab-list",
786
725
  "properties": [
787
726
  {
788
- "name": "tabs",
789
- "attribute": false,
790
- "type": "Tab[]"
727
+ "name": "tabs",
728
+ "attribute": false,
729
+ "type": "Tab[]"
730
+ },
731
+ {
732
+ "name": "activeTab",
733
+ "attribute": false,
734
+ "type": "string"
735
+ }
736
+ ],
737
+ "events": [
738
+ {
739
+ "name": "tab.click",
740
+ "detail": {
741
+ "type": "Tab"
742
+ }
743
+ }
744
+ ],
745
+ "slots": [],
746
+ "methods": [],
747
+ "parts": [
748
+ {
749
+ "name": "tabs",
750
+ "description": "The tab list container"
751
+ },
752
+ {
753
+ "name": "tab",
754
+ "description": "The individual tab"
755
+ }
756
+ ],
757
+ "description": "构件 `ai-portal.tab-list`"
758
+ },
759
+ {
760
+ "name": "ai-portal.stat-with-mini-chart",
761
+ "properties": [
762
+ {
763
+ "name": "label",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "name": "value",
768
+ "type": "string"
769
+ },
770
+ {
771
+ "name": "size",
772
+ "description": "",
773
+ "default": "\"medium\"",
774
+ "type": "\"medium\" | \"small\""
775
+ },
776
+ {
777
+ "name": "lineColor",
778
+ "description": "",
779
+ "default": "\"var(--color-brand)\"",
780
+ "type": "string"
781
+ },
782
+ {
783
+ "name": "showArea",
784
+ "type": "boolean"
785
+ },
786
+ {
787
+ "name": "min",
788
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
789
+ "type": "number"
791
790
  },
792
791
  {
793
- "name": "activeTab",
794
- "attribute": false,
795
- "type": "string"
796
- }
797
- ],
798
- "events": [
792
+ "name": "max",
793
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
794
+ "type": "number"
795
+ },
799
796
  {
800
- "name": "tab.click",
801
- "detail": {
802
- "type": "Tab"
803
- }
804
- }
805
- ],
806
- "slots": [],
807
- "methods": [],
808
- "parts": [
797
+ "name": "xField",
798
+ "description": "",
799
+ "default": "\"0\"",
800
+ "type": "string"
801
+ },
809
802
  {
810
- "name": "tabs",
811
- "description": "The tab list container"
803
+ "name": "yField",
804
+ "description": "",
805
+ "default": "\"1\"",
806
+ "type": "string"
812
807
  },
813
808
  {
814
- "name": "tab",
815
- "description": "The individual tab"
809
+ "name": "data",
810
+ "attribute": false,
811
+ "type": "Record<string, number>[]"
816
812
  }
817
813
  ],
818
- "description": "构件 `ai-portal.tab-list`"
814
+ "events": [],
815
+ "slots": [],
816
+ "methods": [],
817
+ "parts": [],
818
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
819
819
  },
820
820
  {
821
821
  "name": "ai-portal.dropdown-select",
@@ -919,6 +919,69 @@
919
919
  "parts": [],
920
920
  "description": "构件 `ai-portal.action-buttons`"
921
921
  },
922
+ {
923
+ "name": "ai-portal.goal-card-list",
924
+ "properties": [
925
+ {
926
+ "name": "goalList",
927
+ "attribute": false,
928
+ "type": "GoalItem[]"
929
+ },
930
+ {
931
+ "name": "cardStyle",
932
+ "attribute": false,
933
+ "type": "React.CSSProperties"
934
+ },
935
+ {
936
+ "name": "activeKey",
937
+ "type": "string"
938
+ }
939
+ ],
940
+ "events": [
941
+ {
942
+ "name": "item.click",
943
+ "detail": {
944
+ "type": "GoalItem"
945
+ }
946
+ },
947
+ {
948
+ "name": "item.status.change",
949
+ "detail": {
950
+ "type": "GoalItem"
951
+ }
952
+ },
953
+ {
954
+ "name": "item.title.change",
955
+ "detail": {
956
+ "type": "GoalItem"
957
+ }
958
+ },
959
+ {
960
+ "name": "item.new.chat",
961
+ "detail": {
962
+ "type": "GoalItem"
963
+ }
964
+ }
965
+ ],
966
+ "slots": [],
967
+ "methods": [
968
+ {
969
+ "name": "appendChildDone",
970
+ "params": [
971
+ {
972
+ "name": "pendingId",
973
+ "type": "string"
974
+ },
975
+ {
976
+ "name": "newItem",
977
+ "type": "GoalItem"
978
+ }
979
+ ]
980
+ }
981
+ ],
982
+ "parts": [],
983
+ "description": "构件 `ai-portal.goal-card-list`"
984
+ },
922
985
  {
923
986
  "name": "ai-portal.project-conversations",
924
987
  "properties": [
@@ -961,25 +1024,6 @@
961
1024
  "parts": [],
962
1025
  "description": "构件 `ai-portal.project-conversations`"
963
1026
  },
964
- {
965
- "name": "ai-portal.activity-timeline",
966
- "properties": [
967
- {
968
- "name": "list",
969
- "attribute": false,
970
- "type": "Activity[]"
971
- },
972
- {
973
- "name": "chatUrlTemplate",
974
- "type": "string"
975
- }
976
- ],
977
- "events": [],
978
- "slots": [],
979
- "methods": [],
980
- "parts": [],
981
- "description": "构件 `ai-portal.activity-timeline`"
982
- },
983
1027
  {
984
1028
  "name": "ai-portal.project-knowledges",
985
1029
  "properties": [
@@ -1018,67 +1062,23 @@
1018
1062
  "description": "构件 `ai-portal.project-knowledges`"
1019
1063
  },
1020
1064
  {
1021
- "name": "ai-portal.goal-card-list",
1065
+ "name": "ai-portal.activity-timeline",
1022
1066
  "properties": [
1023
1067
  {
1024
- "name": "goalList",
1025
- "attribute": false,
1026
- "type": "GoalItem[]"
1027
- },
1028
- {
1029
- "name": "cardStyle",
1068
+ "name": "list",
1030
1069
  "attribute": false,
1031
- "type": "React.CSSProperties"
1070
+ "type": "Activity[]"
1032
1071
  },
1033
1072
  {
1034
- "name": "activeKey",
1073
+ "name": "chatUrlTemplate",
1035
1074
  "type": "string"
1036
1075
  }
1037
1076
  ],
1038
- "events": [
1039
- {
1040
- "name": "item.click",
1041
- "detail": {
1042
- "type": "GoalItem"
1043
- }
1044
- },
1045
- {
1046
- "name": "item.status.change",
1047
- "detail": {
1048
- "type": "GoalItem"
1049
- }
1050
- },
1051
- {
1052
- "name": "item.title.change",
1053
- "detail": {
1054
- "type": "GoalItem"
1055
- }
1056
- },
1057
- {
1058
- "name": "item.new.chat",
1059
- "detail": {
1060
- "type": "GoalItem"
1061
- }
1062
- }
1063
- ],
1077
+ "events": [],
1064
1078
  "slots": [],
1065
- "methods": [
1066
- {
1067
- "name": "appendChildDone",
1068
- "params": [
1069
- {
1070
- "name": "pendingId",
1071
- "type": "string"
1072
- },
1073
- {
1074
- "name": "newItem",
1075
- "type": "GoalItem"
1076
- }
1077
- ]
1078
- }
1079
- ],
1079
+ "methods": [],
1080
1080
  "parts": [],
1081
- "description": "构件 `ai-portal.goal-card-list`"
1081
+ "description": "构件 `ai-portal.activity-timeline`"
1082
1082
  },
1083
1083
  {
1084
1084
  "name": "ai-portal.chat-input",
@@ -1185,37 +1185,6 @@
1185
1185
  "parts": [],
1186
1186
  "description": "构件 `ai-portal.blank-state`"
1187
1187
  },
1188
- {
1189
- "name": "ai-portal.elevo-card",
1190
- "properties": [
1191
- {
1192
- "name": "cardTitle",
1193
- "type": "string"
1194
- },
1195
- {
1196
- "name": "description",
1197
- "type": "string"
1198
- },
1199
- {
1200
- "name": "url",
1201
- "type": "string"
1202
- },
1203
- {
1204
- "name": "avatar",
1205
- "attribute": false,
1206
- "type": "string | GeneralIconProps"
1207
- },
1208
- {
1209
- "name": "avatarType",
1210
- "type": "\"icon\" | \"image\""
1211
- }
1212
- ],
1213
- "events": [],
1214
- "slots": [],
1215
- "methods": [],
1216
- "parts": [],
1217
- "description": "构件 `ai-portal.elevo-card`"
1218
- },
1219
1188
  {
1220
1189
  "name": "ai-portal.sticky-container",
1221
1190
  "properties": [
@@ -1250,6 +1219,37 @@
1250
1219
  "parts": [],
1251
1220
  "description": "构件 `ai-portal.sticky-container`"
1252
1221
  },
1222
+ {
1223
+ "name": "ai-portal.elevo-card",
1224
+ "properties": [
1225
+ {
1226
+ "name": "cardTitle",
1227
+ "type": "string"
1228
+ },
1229
+ {
1230
+ "name": "description",
1231
+ "type": "string"
1232
+ },
1233
+ {
1234
+ "name": "url",
1235
+ "type": "string"
1236
+ },
1237
+ {
1238
+ "name": "avatar",
1239
+ "attribute": false,
1240
+ "type": "string | GeneralIconProps"
1241
+ },
1242
+ {
1243
+ "name": "avatarType",
1244
+ "type": "\"icon\" | \"image\""
1245
+ }
1246
+ ],
1247
+ "events": [],
1248
+ "slots": [],
1249
+ "methods": [],
1250
+ "parts": [],
1251
+ "description": "构件 `ai-portal.elevo-card`"
1252
+ },
1253
1253
  {
1254
1254
  "name": "ai-portal.flow-tabs",
1255
1255
  "properties": [
@@ -1465,9 +1465,6 @@
1465
1465
  }
1466
1466
  ],
1467
1467
  "providers": [
1468
- {
1469
- "name": "ai-portal.call-tool"
1470
- },
1471
1468
  {
1472
1469
  "name": "ai-portal.save-request-store"
1473
1470
  },
@@ -1477,6 +1474,9 @@
1477
1474
  {
1478
1475
  "name": "ai-portal.clear-request-store"
1479
1476
  },
1477
+ {
1478
+ "name": "ai-portal.call-tool"
1479
+ },
1480
1480
  {
1481
1481
  "name": "ai-portal.set-chat-command"
1482
1482
  }