@next-bricks/ai-portal 0.39.3 → 0.39.5
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.
- package/dist/bricks.json +31 -31
- package/dist/chunks/{1967.90a3a911.js → 1967.8a8887a8.js} +2 -2
- package/dist/chunks/{1967.90a3a911.js.map → 1967.8a8887a8.js.map} +1 -1
- package/dist/chunks/3554.d27ba6a7.js +2 -0
- package/dist/chunks/3554.d27ba6a7.js.map +1 -0
- package/dist/chunks/382.7a717a6b.js +2 -0
- package/dist/chunks/382.7a717a6b.js.map +1 -0
- package/dist/chunks/453.bb828a7c.js +2 -0
- package/dist/chunks/453.bb828a7c.js.map +1 -0
- package/dist/chunks/71.dd436f51.js +2 -0
- package/dist/chunks/71.dd436f51.js.map +1 -0
- package/dist/chunks/7774.4418c30b.js +2 -0
- package/dist/chunks/7774.4418c30b.js.map +1 -0
- package/dist/chunks/action-buttons.bc5e9334.js +2 -0
- package/dist/chunks/action-buttons.bc5e9334.js.map +1 -0
- package/dist/chunks/dropdown-select.3c0cd96d.js +2 -0
- package/dist/chunks/dropdown-select.3c0cd96d.js.map +1 -0
- package/dist/chunks/goal-card-list.d0dfa31e.js +3 -0
- package/dist/chunks/goal-card-list.d0dfa31e.js.map +1 -0
- package/dist/chunks/{main.2e680f23.js → main.851452d9.js} +2 -2
- package/dist/chunks/{main.2e680f23.js.map → main.851452d9.js.map} +1 -1
- package/dist/chunks/{preview-container.be444668.js → preview-container.ec727678.js} +2 -2
- package/dist/chunks/{preview-container.be444668.js.map → preview-container.ec727678.js.map} +1 -1
- package/dist/examples.json +16 -16
- package/dist/index.8d65faed.js +2 -0
- package/dist/{index.45a33574.js.map → index.8d65faed.js.map} +1 -1
- package/dist/manifest.json +270 -258
- package/dist/types.json +211 -196
- package/dist-types/action-buttons/index.d.ts +0 -1
- package/dist-types/dropdown-select/index.d.ts +2 -0
- package/dist-types/goal-card-list/CardItem/CardItem.d.ts +1 -1
- package/dist-types/shared/interfaces.d.ts +1 -1
- package/docs/action-buttons.md +7 -2
- package/package.json +2 -2
- package/dist/chunks/2940.8640e146.js +0 -2
- package/dist/chunks/2940.8640e146.js.map +0 -1
- package/dist/chunks/3554.3bd4e85e.js +0 -2
- package/dist/chunks/3554.3bd4e85e.js.map +0 -1
- package/dist/chunks/453.91b3c698.js +0 -2
- package/dist/chunks/453.91b3c698.js.map +0 -1
- package/dist/chunks/71.c149a595.js +0 -2
- package/dist/chunks/71.c149a595.js.map +0 -1
- package/dist/chunks/833.0f19f121.js +0 -2
- package/dist/chunks/833.0f19f121.js.map +0 -1
- package/dist/chunks/action-buttons.646a069f.js +0 -2
- package/dist/chunks/action-buttons.646a069f.js.map +0 -1
- package/dist/chunks/dropdown-select.60c8ff0c.js +0 -2
- package/dist/chunks/dropdown-select.60c8ff0c.js.map +0 -1
- package/dist/chunks/goal-card-list.e1e50f2f.js +0 -3
- package/dist/chunks/goal-card-list.e1e50f2f.js.map +0 -1
- package/dist/index.45a33574.js +0 -2
- /package/dist/chunks/{goal-card-list.e1e50f2f.js.LICENSE.txt → goal-card-list.d0dfa31e.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -1,4 +1,113 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ai-portal.home-container": {
|
|
3
|
+
"properties": [],
|
|
4
|
+
"events": [],
|
|
5
|
+
"methods": []
|
|
6
|
+
},
|
|
7
|
+
"ai-portal.stat-with-mini-chart": {
|
|
8
|
+
"properties": [
|
|
9
|
+
{
|
|
10
|
+
"name": "label",
|
|
11
|
+
"annotation": {
|
|
12
|
+
"type": "keyword",
|
|
13
|
+
"value": "string"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "value",
|
|
18
|
+
"annotation": {
|
|
19
|
+
"type": "keyword",
|
|
20
|
+
"value": "string"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "size",
|
|
25
|
+
"annotation": {
|
|
26
|
+
"type": "union",
|
|
27
|
+
"types": [
|
|
28
|
+
{
|
|
29
|
+
"type": "jsLiteral",
|
|
30
|
+
"value": "medium"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"type": "jsLiteral",
|
|
34
|
+
"value": "small"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "lineColor",
|
|
41
|
+
"annotation": {
|
|
42
|
+
"type": "keyword",
|
|
43
|
+
"value": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"name": "showArea",
|
|
48
|
+
"annotation": {
|
|
49
|
+
"type": "keyword",
|
|
50
|
+
"value": "boolean"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "min",
|
|
55
|
+
"annotation": {
|
|
56
|
+
"type": "keyword",
|
|
57
|
+
"value": "number"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "max",
|
|
62
|
+
"annotation": {
|
|
63
|
+
"type": "keyword",
|
|
64
|
+
"value": "number"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "xField",
|
|
69
|
+
"annotation": {
|
|
70
|
+
"type": "keyword",
|
|
71
|
+
"value": "string"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "yField",
|
|
76
|
+
"annotation": {
|
|
77
|
+
"type": "keyword",
|
|
78
|
+
"value": "string"
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "data",
|
|
83
|
+
"annotation": {
|
|
84
|
+
"type": "array",
|
|
85
|
+
"elementType": {
|
|
86
|
+
"type": "reference",
|
|
87
|
+
"typeName": {
|
|
88
|
+
"type": "identifier",
|
|
89
|
+
"name": "Record"
|
|
90
|
+
},
|
|
91
|
+
"typeParameters": {
|
|
92
|
+
"type": "typeParameterInstantiation",
|
|
93
|
+
"params": [
|
|
94
|
+
{
|
|
95
|
+
"type": "keyword",
|
|
96
|
+
"value": "string"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"type": "keyword",
|
|
100
|
+
"value": "number"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"events": [],
|
|
109
|
+
"methods": []
|
|
110
|
+
},
|
|
2
111
|
"ai-portal.icon-button": {
|
|
3
112
|
"properties": [
|
|
4
113
|
{
|
|
@@ -70,11 +179,6 @@
|
|
|
70
179
|
}
|
|
71
180
|
]
|
|
72
181
|
},
|
|
73
|
-
"ai-portal.home-container": {
|
|
74
|
-
"properties": [],
|
|
75
|
-
"events": [],
|
|
76
|
-
"methods": []
|
|
77
|
-
},
|
|
78
182
|
"ai-portal.entity-sdk-get": {
|
|
79
183
|
"type": "provider",
|
|
80
184
|
"params": [
|
|
@@ -432,110 +536,6 @@
|
|
|
432
536
|
}
|
|
433
537
|
]
|
|
434
538
|
},
|
|
435
|
-
"ai-portal.stat-with-mini-chart": {
|
|
436
|
-
"properties": [
|
|
437
|
-
{
|
|
438
|
-
"name": "label",
|
|
439
|
-
"annotation": {
|
|
440
|
-
"type": "keyword",
|
|
441
|
-
"value": "string"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "value",
|
|
446
|
-
"annotation": {
|
|
447
|
-
"type": "keyword",
|
|
448
|
-
"value": "string"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "size",
|
|
453
|
-
"annotation": {
|
|
454
|
-
"type": "union",
|
|
455
|
-
"types": [
|
|
456
|
-
{
|
|
457
|
-
"type": "jsLiteral",
|
|
458
|
-
"value": "medium"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"type": "jsLiteral",
|
|
462
|
-
"value": "small"
|
|
463
|
-
}
|
|
464
|
-
]
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "lineColor",
|
|
469
|
-
"annotation": {
|
|
470
|
-
"type": "keyword",
|
|
471
|
-
"value": "string"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"name": "showArea",
|
|
476
|
-
"annotation": {
|
|
477
|
-
"type": "keyword",
|
|
478
|
-
"value": "boolean"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "min",
|
|
483
|
-
"annotation": {
|
|
484
|
-
"type": "keyword",
|
|
485
|
-
"value": "number"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "max",
|
|
490
|
-
"annotation": {
|
|
491
|
-
"type": "keyword",
|
|
492
|
-
"value": "number"
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "xField",
|
|
497
|
-
"annotation": {
|
|
498
|
-
"type": "keyword",
|
|
499
|
-
"value": "string"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "yField",
|
|
504
|
-
"annotation": {
|
|
505
|
-
"type": "keyword",
|
|
506
|
-
"value": "string"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "data",
|
|
511
|
-
"annotation": {
|
|
512
|
-
"type": "array",
|
|
513
|
-
"elementType": {
|
|
514
|
-
"type": "reference",
|
|
515
|
-
"typeName": {
|
|
516
|
-
"type": "identifier",
|
|
517
|
-
"name": "Record"
|
|
518
|
-
},
|
|
519
|
-
"typeParameters": {
|
|
520
|
-
"type": "typeParameterInstantiation",
|
|
521
|
-
"params": [
|
|
522
|
-
{
|
|
523
|
-
"type": "keyword",
|
|
524
|
-
"value": "string"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"type": "keyword",
|
|
528
|
-
"value": "number"
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
],
|
|
536
|
-
"events": [],
|
|
537
|
-
"methods": []
|
|
538
|
-
},
|
|
539
539
|
"ai-portal.project-knowledges": {
|
|
540
540
|
"properties": [
|
|
541
541
|
{
|
|
@@ -718,7 +718,7 @@
|
|
|
718
718
|
],
|
|
719
719
|
"methods": []
|
|
720
720
|
},
|
|
721
|
-
"ai-portal.
|
|
721
|
+
"ai-portal.show-cases": {
|
|
722
722
|
"properties": [
|
|
723
723
|
{
|
|
724
724
|
"name": "list",
|
|
@@ -728,16 +728,16 @@
|
|
|
728
728
|
"type": "reference",
|
|
729
729
|
"typeName": {
|
|
730
730
|
"type": "identifier",
|
|
731
|
-
"name": "
|
|
731
|
+
"name": "ShowCase"
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
}
|
|
735
735
|
},
|
|
736
736
|
{
|
|
737
|
-
"name": "
|
|
737
|
+
"name": "taskUrlTemplate",
|
|
738
738
|
"annotation": {
|
|
739
739
|
"type": "keyword",
|
|
740
|
-
"value": "
|
|
740
|
+
"value": "string"
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
],
|
|
@@ -746,13 +746,13 @@
|
|
|
746
746
|
"types": [
|
|
747
747
|
{
|
|
748
748
|
"type": "interface",
|
|
749
|
-
"name": "
|
|
749
|
+
"name": "ShowCase",
|
|
750
750
|
"body": [
|
|
751
751
|
{
|
|
752
752
|
"type": "propertySignature",
|
|
753
753
|
"key": {
|
|
754
754
|
"type": "identifier",
|
|
755
|
-
"name": "
|
|
755
|
+
"name": "taskId"
|
|
756
756
|
},
|
|
757
757
|
"annotation": {
|
|
758
758
|
"type": "keyword",
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
"type": "propertySignature",
|
|
777
777
|
"key": {
|
|
778
778
|
"type": "identifier",
|
|
779
|
-
"name": "
|
|
779
|
+
"name": "summary"
|
|
780
780
|
},
|
|
781
781
|
"annotation": {
|
|
782
782
|
"type": "keyword",
|
|
@@ -788,44 +788,7 @@
|
|
|
788
788
|
"type": "propertySignature",
|
|
789
789
|
"key": {
|
|
790
790
|
"type": "identifier",
|
|
791
|
-
"name": "
|
|
792
|
-
},
|
|
793
|
-
"annotation": {
|
|
794
|
-
"type": "reference",
|
|
795
|
-
"typeName": {
|
|
796
|
-
"type": "identifier",
|
|
797
|
-
"name": "GeneralIconProps"
|
|
798
|
-
}
|
|
799
|
-
},
|
|
800
|
-
"optional": true,
|
|
801
|
-
"computed": false
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
"type": "propertySignature",
|
|
805
|
-
"key": {
|
|
806
|
-
"type": "identifier",
|
|
807
|
-
"name": "server"
|
|
808
|
-
},
|
|
809
|
-
"annotation": {
|
|
810
|
-
"type": "reference",
|
|
811
|
-
"typeName": {
|
|
812
|
-
"type": "identifier",
|
|
813
|
-
"name": "McpServer"
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
"computed": false
|
|
817
|
-
}
|
|
818
|
-
]
|
|
819
|
-
},
|
|
820
|
-
{
|
|
821
|
-
"type": "interface",
|
|
822
|
-
"name": "McpServer",
|
|
823
|
-
"body": [
|
|
824
|
-
{
|
|
825
|
-
"type": "propertySignature",
|
|
826
|
-
"key": {
|
|
827
|
-
"type": "identifier",
|
|
828
|
-
"name": "id"
|
|
791
|
+
"name": "scenario"
|
|
829
792
|
},
|
|
830
793
|
"annotation": {
|
|
831
794
|
"type": "keyword",
|
|
@@ -837,19 +800,20 @@
|
|
|
837
800
|
"type": "propertySignature",
|
|
838
801
|
"key": {
|
|
839
802
|
"type": "identifier",
|
|
840
|
-
"name": "
|
|
803
|
+
"name": "thumbUrl"
|
|
841
804
|
},
|
|
842
805
|
"annotation": {
|
|
843
806
|
"type": "keyword",
|
|
844
807
|
"value": "string"
|
|
845
808
|
},
|
|
809
|
+
"optional": true,
|
|
846
810
|
"computed": false
|
|
847
811
|
}
|
|
848
812
|
]
|
|
849
813
|
}
|
|
850
814
|
]
|
|
851
815
|
},
|
|
852
|
-
"ai-portal.
|
|
816
|
+
"ai-portal.mcp-tools": {
|
|
853
817
|
"properties": [
|
|
854
818
|
{
|
|
855
819
|
"name": "list",
|
|
@@ -859,16 +823,16 @@
|
|
|
859
823
|
"type": "reference",
|
|
860
824
|
"typeName": {
|
|
861
825
|
"type": "identifier",
|
|
862
|
-
"name": "
|
|
826
|
+
"name": "McpTool"
|
|
863
827
|
}
|
|
864
828
|
}
|
|
865
829
|
}
|
|
866
830
|
},
|
|
867
831
|
{
|
|
868
|
-
"name": "
|
|
832
|
+
"name": "withContainer",
|
|
869
833
|
"annotation": {
|
|
870
834
|
"type": "keyword",
|
|
871
|
-
"value": "
|
|
835
|
+
"value": "boolean"
|
|
872
836
|
}
|
|
873
837
|
}
|
|
874
838
|
],
|
|
@@ -877,13 +841,13 @@
|
|
|
877
841
|
"types": [
|
|
878
842
|
{
|
|
879
843
|
"type": "interface",
|
|
880
|
-
"name": "
|
|
844
|
+
"name": "McpTool",
|
|
881
845
|
"body": [
|
|
882
846
|
{
|
|
883
847
|
"type": "propertySignature",
|
|
884
848
|
"key": {
|
|
885
849
|
"type": "identifier",
|
|
886
|
-
"name": "
|
|
850
|
+
"name": "name"
|
|
887
851
|
},
|
|
888
852
|
"annotation": {
|
|
889
853
|
"type": "keyword",
|
|
@@ -907,7 +871,7 @@
|
|
|
907
871
|
"type": "propertySignature",
|
|
908
872
|
"key": {
|
|
909
873
|
"type": "identifier",
|
|
910
|
-
"name": "
|
|
874
|
+
"name": "description"
|
|
911
875
|
},
|
|
912
876
|
"annotation": {
|
|
913
877
|
"type": "keyword",
|
|
@@ -919,7 +883,44 @@
|
|
|
919
883
|
"type": "propertySignature",
|
|
920
884
|
"key": {
|
|
921
885
|
"type": "identifier",
|
|
922
|
-
"name": "
|
|
886
|
+
"name": "icon"
|
|
887
|
+
},
|
|
888
|
+
"annotation": {
|
|
889
|
+
"type": "reference",
|
|
890
|
+
"typeName": {
|
|
891
|
+
"type": "identifier",
|
|
892
|
+
"name": "GeneralIconProps"
|
|
893
|
+
}
|
|
894
|
+
},
|
|
895
|
+
"optional": true,
|
|
896
|
+
"computed": false
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"type": "propertySignature",
|
|
900
|
+
"key": {
|
|
901
|
+
"type": "identifier",
|
|
902
|
+
"name": "server"
|
|
903
|
+
},
|
|
904
|
+
"annotation": {
|
|
905
|
+
"type": "reference",
|
|
906
|
+
"typeName": {
|
|
907
|
+
"type": "identifier",
|
|
908
|
+
"name": "McpServer"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"computed": false
|
|
912
|
+
}
|
|
913
|
+
]
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"type": "interface",
|
|
917
|
+
"name": "McpServer",
|
|
918
|
+
"body": [
|
|
919
|
+
{
|
|
920
|
+
"type": "propertySignature",
|
|
921
|
+
"key": {
|
|
922
|
+
"type": "identifier",
|
|
923
|
+
"name": "id"
|
|
923
924
|
},
|
|
924
925
|
"annotation": {
|
|
925
926
|
"type": "keyword",
|
|
@@ -931,13 +932,12 @@
|
|
|
931
932
|
"type": "propertySignature",
|
|
932
933
|
"key": {
|
|
933
934
|
"type": "identifier",
|
|
934
|
-
"name": "
|
|
935
|
+
"name": "name"
|
|
935
936
|
},
|
|
936
937
|
"annotation": {
|
|
937
938
|
"type": "keyword",
|
|
938
939
|
"value": "string"
|
|
939
940
|
},
|
|
940
|
-
"optional": true,
|
|
941
941
|
"computed": false
|
|
942
942
|
}
|
|
943
943
|
]
|
|
@@ -1275,6 +1275,23 @@
|
|
|
1275
1275
|
"value": "string"
|
|
1276
1276
|
}
|
|
1277
1277
|
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "dropdownContentStyle",
|
|
1280
|
+
"annotation": {
|
|
1281
|
+
"type": "reference",
|
|
1282
|
+
"typeName": {
|
|
1283
|
+
"type": "qualifiedName",
|
|
1284
|
+
"left": {
|
|
1285
|
+
"type": "identifier",
|
|
1286
|
+
"name": "React"
|
|
1287
|
+
},
|
|
1288
|
+
"right": {
|
|
1289
|
+
"type": "identifier",
|
|
1290
|
+
"name": "CSSProperties"
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1278
1295
|
{
|
|
1279
1296
|
"name": "dropdownMaxWidth",
|
|
1280
1297
|
"annotation": {
|
|
@@ -1375,6 +1392,19 @@
|
|
|
1375
1392
|
}
|
|
1376
1393
|
]
|
|
1377
1394
|
},
|
|
1395
|
+
"ai-portal.preview-container": {
|
|
1396
|
+
"properties": [
|
|
1397
|
+
{
|
|
1398
|
+
"name": "source",
|
|
1399
|
+
"annotation": {
|
|
1400
|
+
"type": "keyword",
|
|
1401
|
+
"value": "string"
|
|
1402
|
+
}
|
|
1403
|
+
}
|
|
1404
|
+
],
|
|
1405
|
+
"events": [],
|
|
1406
|
+
"methods": []
|
|
1407
|
+
},
|
|
1378
1408
|
"ai-portal.action-buttons": {
|
|
1379
1409
|
"properties": [
|
|
1380
1410
|
{
|
|
@@ -1398,25 +1428,26 @@
|
|
|
1398
1428
|
}
|
|
1399
1429
|
}
|
|
1400
1430
|
],
|
|
1401
|
-
"events": [
|
|
1431
|
+
"events": [
|
|
1432
|
+
{
|
|
1433
|
+
"name": "action.click",
|
|
1434
|
+
"detail": {
|
|
1435
|
+
"annotation": {
|
|
1436
|
+
"type": "reference",
|
|
1437
|
+
"typeName": {
|
|
1438
|
+
"type": "identifier",
|
|
1439
|
+
"name": "ActionItem"
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1402
1445
|
"methods": [],
|
|
1403
1446
|
"types": [
|
|
1404
1447
|
{
|
|
1405
1448
|
"type": "interface",
|
|
1406
1449
|
"name": "ActionItem",
|
|
1407
1450
|
"body": [
|
|
1408
|
-
{
|
|
1409
|
-
"type": "propertySignature",
|
|
1410
|
-
"key": {
|
|
1411
|
-
"type": "identifier",
|
|
1412
|
-
"name": "key"
|
|
1413
|
-
},
|
|
1414
|
-
"annotation": {
|
|
1415
|
-
"type": "keyword",
|
|
1416
|
-
"value": "string"
|
|
1417
|
-
},
|
|
1418
|
-
"computed": false
|
|
1419
|
-
},
|
|
1420
1451
|
{
|
|
1421
1452
|
"type": "propertySignature",
|
|
1422
1453
|
"key": {
|
|
@@ -1497,19 +1528,6 @@
|
|
|
1497
1528
|
}
|
|
1498
1529
|
]
|
|
1499
1530
|
},
|
|
1500
|
-
"ai-portal.preview-container": {
|
|
1501
|
-
"properties": [
|
|
1502
|
-
{
|
|
1503
|
-
"name": "source",
|
|
1504
|
-
"annotation": {
|
|
1505
|
-
"type": "keyword",
|
|
1506
|
-
"value": "string"
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1509
|
-
],
|
|
1510
|
-
"events": [],
|
|
1511
|
-
"methods": []
|
|
1512
|
-
},
|
|
1513
1531
|
"ai-portal.project-conversations": {
|
|
1514
1532
|
"properties": [
|
|
1515
1533
|
{
|
|
@@ -2495,11 +2513,8 @@
|
|
|
2495
2513
|
"name": "conversations"
|
|
2496
2514
|
},
|
|
2497
2515
|
"annotation": {
|
|
2498
|
-
"type": "
|
|
2499
|
-
"
|
|
2500
|
-
"type": "keyword",
|
|
2501
|
-
"value": "string"
|
|
2502
|
-
}
|
|
2516
|
+
"type": "keyword",
|
|
2517
|
+
"value": "number"
|
|
2503
2518
|
},
|
|
2504
2519
|
"optional": true,
|
|
2505
2520
|
"computed": false
|
|
@@ -4,7 +4,6 @@ import "@next-core/theme";
|
|
|
4
4
|
import type { GeneralIconProps } from "@next-bricks/icons/general-icon";
|
|
5
5
|
import { ButtonProps } from "@next-bricks/basic/button";
|
|
6
6
|
interface ActionItem extends ButtonProps {
|
|
7
|
-
key: string;
|
|
8
7
|
text: string;
|
|
9
8
|
icon?: GeneralIconProps;
|
|
10
9
|
active?: boolean;
|
|
@@ -9,6 +9,7 @@ export interface DropdownSelectProps {
|
|
|
9
9
|
options?: DropdownOptions[];
|
|
10
10
|
labelMaxWidth?: string | number;
|
|
11
11
|
dropdownMaxWidth?: string | number;
|
|
12
|
+
dropdownContentStyle?: React.CSSProperties;
|
|
12
13
|
showSearch?: boolean;
|
|
13
14
|
searchPlaceholder?: string;
|
|
14
15
|
loading?: boolean;
|
|
@@ -29,6 +30,7 @@ export declare class DropdownSelect extends ReactNextElement implements Dropdown
|
|
|
29
30
|
accessor labelMaxWidth: string | number | undefined;
|
|
30
31
|
accessor loading: boolean | undefined;
|
|
31
32
|
accessor searchPlaceholder: string | undefined;
|
|
33
|
+
accessor dropdownContentStyle: React.CSSProperties | undefined;
|
|
32
34
|
/**
|
|
33
35
|
* @default "500px"
|
|
34
36
|
*/
|
|
@@ -17,7 +17,7 @@ export interface Task {
|
|
|
17
17
|
startTime: number;
|
|
18
18
|
endTime?: number;
|
|
19
19
|
}
|
|
20
|
-
export type ConversationState = "working" | "completed" | "failed" | "terminated";
|
|
20
|
+
export type ConversationState = "working" | "completed" | "failed" | "input-required" | "terminated";
|
|
21
21
|
export type TaskState = "free" | "confirming" | "executing" | "completed" | "failed";
|
|
22
22
|
export type JobState = "submitted" | "working" | "input-required" | "completed" | "canceled" | "failed" | "skipped" | "unknown";
|
|
23
23
|
export interface Job {
|
package/docs/action-buttons.md
CHANGED
|
@@ -10,17 +10,22 @@ children:
|
|
|
10
10
|
- brick: ai-portal.action-buttons
|
|
11
11
|
properties:
|
|
12
12
|
items:
|
|
13
|
-
-
|
|
13
|
+
- event: think
|
|
14
14
|
text: 深度思考
|
|
15
15
|
icon:
|
|
16
16
|
- lib: antd
|
|
17
17
|
theme: outlined
|
|
18
18
|
icon: reddit
|
|
19
|
-
-
|
|
19
|
+
- event: networking
|
|
20
20
|
text: 联网搜索
|
|
21
21
|
icon:
|
|
22
22
|
lib: antd
|
|
23
23
|
theme: outlined
|
|
24
24
|
icon: global
|
|
25
|
+
events:
|
|
26
|
+
think:
|
|
27
|
+
action: console.log
|
|
28
|
+
networking:
|
|
29
|
+
action: console.log
|
|
25
30
|
slot: actions
|
|
26
31
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.39.
|
|
3
|
+
"version": "0.39.5",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"@next-bricks/presentational": "*",
|
|
49
49
|
"@next-bricks/vs": "*"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "00dd98af2aa04e96147c2f94c9993bfbc4db966b"
|
|
52
52
|
}
|