@next-bricks/ai-portal 0.61.0 → 0.61.1

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.
@@ -3,6 +3,76 @@
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
+ "slots": [],
54
+ "methods": [
55
+ {
56
+ "name": "setValue",
57
+ "params": [
58
+ {
59
+ "name": "value",
60
+ "type": "string"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "getValue",
66
+ "params": []
67
+ },
68
+ {
69
+ "name": "focusOnInput",
70
+ "params": []
71
+ }
72
+ ],
73
+ "parts": [],
74
+ "description": "大型聊天输入框,用于首页"
75
+ },
6
76
  {
7
77
  "name": "ai-portal.cruise-canvas",
8
78
  "properties": [
@@ -167,6 +237,20 @@
167
237
  "parts": [],
168
238
  "description": "构件 `ai-portal.cruise-canvas`"
169
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
+ },
170
254
  {
171
255
  "name": "ai-portal.stat-with-mini-chart",
172
256
  "properties": [
@@ -370,7 +454,7 @@
370
454
  {
371
455
  "name": "icon",
372
456
  "attribute": false,
373
- "type": "GeneralIconProps"
457
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
374
458
  },
375
459
  {
376
460
  "name": "tooltip",
@@ -400,25 +484,6 @@
400
484
  "parts": [],
401
485
  "description": "构件 `ai-portal.icon-button`"
402
486
  },
403
- {
404
- "name": "ai-portal.mcp-tools",
405
- "properties": [
406
- {
407
- "name": "list",
408
- "attribute": false,
409
- "type": "McpTool[]"
410
- },
411
- {
412
- "name": "stickyTop",
413
- "type": "number"
414
- }
415
- ],
416
- "events": [],
417
- "slots": [],
418
- "methods": [],
419
- "parts": [],
420
- "description": "构件 `ai-portal.mcp-tools`"
421
- },
422
487
  {
423
488
  "name": "ai-portal.show-cases",
424
489
  "properties": [
@@ -439,21 +504,12 @@
439
504
  "description": "构件 `ai-portal.show-cases`"
440
505
  },
441
506
  {
442
- "name": "ai-portal.ai-employees",
507
+ "name": "ai-portal.mcp-tools",
443
508
  "properties": [
444
509
  {
445
510
  "name": "list",
446
511
  "attribute": false,
447
- "type": "Employee[]"
448
- },
449
- {
450
- "name": "industries",
451
- "attribute": false,
452
- "type": "string[]"
453
- },
454
- {
455
- "name": "urlTemplate",
456
- "type": "string"
512
+ "type": "McpTool[]"
457
513
  },
458
514
  {
459
515
  "name": "stickyTop",
@@ -464,7 +520,7 @@
464
520
  "slots": [],
465
521
  "methods": [],
466
522
  "parts": [],
467
- "description": "构件 `ai-portal.ai-employees`"
523
+ "description": "构件 `ai-portal.mcp-tools`"
468
524
  },
469
525
  {
470
526
  "name": "ai-portal.chat-stream",
@@ -624,6 +680,34 @@
624
680
  "parts": [],
625
681
  "description": "构件 `ai-portal.chat-stream`"
626
682
  },
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
+ },
627
711
  {
628
712
  "name": "ai-portal.ai-agents",
629
713
  "properties": [
@@ -806,90 +890,6 @@
806
890
  "parts": [],
807
891
  "description": "构件 `ai-portal.preview-container`"
808
892
  },
809
- {
810
- "name": "ai-portal.chat-box",
811
- "properties": [
812
- {
813
- "name": "disabled",
814
- "type": "boolean"
815
- },
816
- {
817
- "name": "placeholder",
818
- "type": "string"
819
- },
820
- {
821
- "name": "autoFocus",
822
- "type": "boolean"
823
- },
824
- {
825
- "name": "aiEmployees",
826
- "attribute": false,
827
- "type": "AIEmployee[]"
828
- },
829
- {
830
- "name": "commands",
831
- "attribute": false,
832
- "type": "Command[]"
833
- },
834
- {
835
- "name": "uploadOptions",
836
- "attribute": false,
837
- "type": "UploadOptions"
838
- }
839
- ],
840
- "events": [
841
- {
842
- "name": "message.submit",
843
- "description": "",
844
- "deprecated": "Use `chat.submit` event instead",
845
- "detail": {
846
- "type": "string"
847
- }
848
- },
849
- {
850
- "name": "chat.submit",
851
- "detail": {
852
- "type": "ChatPayload"
853
- }
854
- }
855
- ],
856
- "slots": [],
857
- "methods": [
858
- {
859
- "name": "setValue",
860
- "params": [
861
- {
862
- "name": "value",
863
- "type": "string"
864
- }
865
- ]
866
- },
867
- {
868
- "name": "getValue",
869
- "params": []
870
- },
871
- {
872
- "name": "focusOnInput",
873
- "params": []
874
- }
875
- ],
876
- "parts": [],
877
- "description": "大型聊天输入框,用于首页"
878
- },
879
- {
880
- "name": "ai-portal.home-container",
881
- "properties": [
882
- {
883
- "name": "sticky",
884
- "type": "boolean"
885
- }
886
- ],
887
- "events": [],
888
- "slots": [],
889
- "methods": [],
890
- "parts": [],
891
- "description": "构件 `ai-portal.home-container`"
892
- },
893
893
  {
894
894
  "name": "ai-portal.action-buttons",
895
895
  "properties": [
@@ -1077,15 +1077,6 @@
1077
1077
  "parts": [],
1078
1078
  "description": "构件 `ai-portal.activity-timeline`"
1079
1079
  },
1080
- {
1081
- "name": "ai-portal.elevo-logo",
1082
- "properties": [],
1083
- "events": [],
1084
- "slots": [],
1085
- "methods": [],
1086
- "parts": [],
1087
- "description": "构件 `ai-portal.elevo-logo`"
1088
- },
1089
1080
  {
1090
1081
  "name": "ai-portal.chat-input",
1091
1082
  "properties": [
@@ -1158,6 +1149,15 @@
1158
1149
  "parts": [],
1159
1150
  "description": "小型聊天输入框,用于对话等页面"
1160
1151
  },
1152
+ {
1153
+ "name": "ai-portal.elevo-logo",
1154
+ "properties": [],
1155
+ "events": [],
1156
+ "slots": [],
1157
+ "methods": [],
1158
+ "parts": [],
1159
+ "description": "构件 `ai-portal.elevo-logo`"
1160
+ },
1161
1161
  {
1162
1162
  "name": "ai-portal.show-case",
1163
1163
  "properties": [