@next-bricks/ai-portal 0.48.0 → 0.48.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.
- package/dist/bricks.json +23 -23
- package/dist/chunks/1026.a0469066.js +2 -0
- package/dist/chunks/1026.a0469066.js.map +1 -0
- package/dist/chunks/{1692.e1b92e84.js → 1692.01919eaa.js} +2 -2
- package/dist/chunks/{1692.e1b92e84.js.map → 1692.01919eaa.js.map} +1 -1
- package/dist/chunks/7431.9d8c1ccb.js +3 -0
- package/dist/chunks/7431.9d8c1ccb.js.map +1 -0
- package/dist/chunks/9474.dca1f47c.js +2 -0
- package/dist/chunks/9474.dca1f47c.js.map +1 -0
- package/dist/chunks/{chat-box.57a9d3ec.js → chat-box.0fd70952.js} +2 -2
- package/dist/chunks/chat-box.0fd70952.js.map +1 -0
- package/dist/chunks/{elevo-sidebar.7f4d37a1.js → elevo-sidebar.aa3aa869.js} +3 -3
- package/dist/chunks/elevo-sidebar.aa3aa869.js.map +1 -0
- package/dist/chunks/{main.a1c0bc1f.js → main.040f8a8b.js} +2 -2
- package/dist/chunks/{main.a1c0bc1f.js.map → main.040f8a8b.js.map} +1 -1
- package/dist/chunks/{preview-container.547a5036.js → preview-container.89b082ac.js} +2 -2
- package/dist/chunks/{preview-container.547a5036.js.map → preview-container.89b082ac.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/index.6dbc99ec.js +2 -0
- package/dist/index.6dbc99ec.js.map +1 -0
- package/dist/manifest.json +75 -71
- package/dist/types.json +171 -166
- package/dist-types/chat-box/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunks/4144.61537fe5.js +0 -2
- package/dist/chunks/4144.61537fe5.js.map +0 -1
- package/dist/chunks/7431.a7bb5366.js +0 -3
- package/dist/chunks/7431.a7bb5366.js.map +0 -1
- package/dist/chunks/9474.5c89809c.js +0 -2
- package/dist/chunks/9474.5c89809c.js.map +0 -1
- package/dist/chunks/chat-box.57a9d3ec.js.map +0 -1
- package/dist/chunks/elevo-sidebar.7f4d37a1.js.map +0 -1
- package/dist/index.44fdd150.js +0 -2
- package/dist/index.44fdd150.js.map +0 -1
- /package/dist/chunks/{7431.a7bb5366.js.LICENSE.txt → 7431.9d8c1ccb.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{elevo-sidebar.7f4d37a1.js.LICENSE.txt → elevo-sidebar.aa3aa869.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -52,6 +52,10 @@
|
|
|
52
52
|
{
|
|
53
53
|
"name": "getValue",
|
|
54
54
|
"params": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "focusOnInput",
|
|
58
|
+
"params": []
|
|
55
59
|
}
|
|
56
60
|
],
|
|
57
61
|
"parts": [],
|
|
@@ -438,27 +442,6 @@
|
|
|
438
442
|
"parts": [],
|
|
439
443
|
"description": "构件 `ai-portal.icon-button`"
|
|
440
444
|
},
|
|
441
|
-
{
|
|
442
|
-
"name": "ai-portal.mcp-tools",
|
|
443
|
-
"properties": [
|
|
444
|
-
{
|
|
445
|
-
"name": "list",
|
|
446
|
-
"attribute": false,
|
|
447
|
-
"type": "McpTool[]"
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"name": "withContainer",
|
|
451
|
-
"description": "",
|
|
452
|
-
"deprecated": true,
|
|
453
|
-
"default": "true"
|
|
454
|
-
}
|
|
455
|
-
],
|
|
456
|
-
"events": [],
|
|
457
|
-
"slots": [],
|
|
458
|
-
"methods": [],
|
|
459
|
-
"parts": [],
|
|
460
|
-
"description": "构件 `ai-portal.mcp-tools`"
|
|
461
|
-
},
|
|
462
445
|
{
|
|
463
446
|
"name": "ai-portal.show-cases",
|
|
464
447
|
"properties": [
|
|
@@ -475,21 +458,12 @@
|
|
|
475
458
|
"description": "构件 `ai-portal.show-cases`"
|
|
476
459
|
},
|
|
477
460
|
{
|
|
478
|
-
"name": "ai-portal.
|
|
461
|
+
"name": "ai-portal.mcp-tools",
|
|
479
462
|
"properties": [
|
|
480
463
|
{
|
|
481
464
|
"name": "list",
|
|
482
465
|
"attribute": false,
|
|
483
|
-
"type": "
|
|
484
|
-
},
|
|
485
|
-
{
|
|
486
|
-
"name": "industries",
|
|
487
|
-
"attribute": false,
|
|
488
|
-
"type": "string[]"
|
|
489
|
-
},
|
|
490
|
-
{
|
|
491
|
-
"name": "urlTemplate",
|
|
492
|
-
"type": "string"
|
|
466
|
+
"type": "McpTool[]"
|
|
493
467
|
},
|
|
494
468
|
{
|
|
495
469
|
"name": "withContainer",
|
|
@@ -502,7 +476,7 @@
|
|
|
502
476
|
"slots": [],
|
|
503
477
|
"methods": [],
|
|
504
478
|
"parts": [],
|
|
505
|
-
"description": "构件 `ai-portal.
|
|
479
|
+
"description": "构件 `ai-portal.mcp-tools`"
|
|
506
480
|
},
|
|
507
481
|
{
|
|
508
482
|
"name": "ai-portal.chat-stream",
|
|
@@ -641,6 +615,36 @@
|
|
|
641
615
|
"parts": [],
|
|
642
616
|
"description": "构件 `ai-portal.chat-stream`"
|
|
643
617
|
},
|
|
618
|
+
{
|
|
619
|
+
"name": "ai-portal.ai-employees",
|
|
620
|
+
"properties": [
|
|
621
|
+
{
|
|
622
|
+
"name": "list",
|
|
623
|
+
"attribute": false,
|
|
624
|
+
"type": "Employee[]"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"name": "industries",
|
|
628
|
+
"attribute": false,
|
|
629
|
+
"type": "string[]"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"name": "urlTemplate",
|
|
633
|
+
"type": "string"
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
"name": "withContainer",
|
|
637
|
+
"description": "",
|
|
638
|
+
"deprecated": true,
|
|
639
|
+
"default": "true"
|
|
640
|
+
}
|
|
641
|
+
],
|
|
642
|
+
"events": [],
|
|
643
|
+
"slots": [],
|
|
644
|
+
"methods": [],
|
|
645
|
+
"parts": [],
|
|
646
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
647
|
+
},
|
|
644
648
|
{
|
|
645
649
|
"name": "ai-portal.ai-agents",
|
|
646
650
|
"properties": [
|
|
@@ -739,25 +743,6 @@
|
|
|
739
743
|
],
|
|
740
744
|
"description": "构件 `ai-portal.tab-list`"
|
|
741
745
|
},
|
|
742
|
-
{
|
|
743
|
-
"name": "ai-portal.preview-container",
|
|
744
|
-
"properties": [
|
|
745
|
-
{
|
|
746
|
-
"name": "source",
|
|
747
|
-
"attribute": false,
|
|
748
|
-
"type": "string"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"name": "url",
|
|
752
|
-
"type": "string"
|
|
753
|
-
}
|
|
754
|
-
],
|
|
755
|
-
"events": [],
|
|
756
|
-
"slots": [],
|
|
757
|
-
"methods": [],
|
|
758
|
-
"parts": [],
|
|
759
|
-
"description": "构件 `ai-portal.preview-container`"
|
|
760
|
-
},
|
|
761
746
|
{
|
|
762
747
|
"name": "ai-portal.dropdown-select",
|
|
763
748
|
"properties": [
|
|
@@ -815,6 +800,25 @@
|
|
|
815
800
|
"parts": [],
|
|
816
801
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
817
802
|
},
|
|
803
|
+
{
|
|
804
|
+
"name": "ai-portal.preview-container",
|
|
805
|
+
"properties": [
|
|
806
|
+
{
|
|
807
|
+
"name": "source",
|
|
808
|
+
"attribute": false,
|
|
809
|
+
"type": "string"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "url",
|
|
813
|
+
"type": "string"
|
|
814
|
+
}
|
|
815
|
+
],
|
|
816
|
+
"events": [],
|
|
817
|
+
"slots": [],
|
|
818
|
+
"methods": [],
|
|
819
|
+
"parts": [],
|
|
820
|
+
"description": "构件 `ai-portal.preview-container`"
|
|
821
|
+
},
|
|
818
822
|
{
|
|
819
823
|
"name": "ai-portal.action-buttons",
|
|
820
824
|
"properties": [
|
|
@@ -993,6 +997,25 @@
|
|
|
993
997
|
"parts": [],
|
|
994
998
|
"description": "构件 `ai-portal.project-knowledges`"
|
|
995
999
|
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "ai-portal.activity-timeline",
|
|
1002
|
+
"properties": [
|
|
1003
|
+
{
|
|
1004
|
+
"name": "list",
|
|
1005
|
+
"attribute": false,
|
|
1006
|
+
"type": "Activity[]"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
"name": "chatUrlTemplate",
|
|
1010
|
+
"type": "string"
|
|
1011
|
+
}
|
|
1012
|
+
],
|
|
1013
|
+
"events": [],
|
|
1014
|
+
"slots": [],
|
|
1015
|
+
"methods": [],
|
|
1016
|
+
"parts": [],
|
|
1017
|
+
"description": "构件 `ai-portal.activity-timeline`"
|
|
1018
|
+
},
|
|
996
1019
|
{
|
|
997
1020
|
"name": "ai-portal.chat-input",
|
|
998
1021
|
"properties": [
|
|
@@ -1066,25 +1089,6 @@
|
|
|
1066
1089
|
"methods": [],
|
|
1067
1090
|
"parts": [],
|
|
1068
1091
|
"description": "构件 `ai-portal.show-case`"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
"name": "ai-portal.activity-timeline",
|
|
1072
|
-
"properties": [
|
|
1073
|
-
{
|
|
1074
|
-
"name": "list",
|
|
1075
|
-
"attribute": false,
|
|
1076
|
-
"type": "Activity[]"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
"name": "chatUrlTemplate",
|
|
1080
|
-
"type": "string"
|
|
1081
|
-
}
|
|
1082
|
-
],
|
|
1083
|
-
"events": [],
|
|
1084
|
-
"slots": [],
|
|
1085
|
-
"methods": [],
|
|
1086
|
-
"parts": [],
|
|
1087
|
-
"description": "构件 `ai-portal.activity-timeline`"
|
|
1088
1092
|
}
|
|
1089
1093
|
],
|
|
1090
1094
|
"providers": [
|
package/dist/types.json
CHANGED
|
@@ -766,6 +766,11 @@
|
|
|
766
766
|
"name": "getValue",
|
|
767
767
|
"params": [],
|
|
768
768
|
"returns": {}
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "focusOnInput",
|
|
772
|
+
"params": [],
|
|
773
|
+
"returns": {}
|
|
769
774
|
}
|
|
770
775
|
],
|
|
771
776
|
"types": [
|
|
@@ -801,7 +806,7 @@
|
|
|
801
806
|
}
|
|
802
807
|
]
|
|
803
808
|
},
|
|
804
|
-
"ai-portal.
|
|
809
|
+
"ai-portal.show-cases": {
|
|
805
810
|
"properties": [
|
|
806
811
|
{
|
|
807
812
|
"name": "list",
|
|
@@ -811,17 +816,10 @@
|
|
|
811
816
|
"type": "reference",
|
|
812
817
|
"typeName": {
|
|
813
818
|
"type": "identifier",
|
|
814
|
-
"name": "
|
|
819
|
+
"name": "ShowCaseType"
|
|
815
820
|
}
|
|
816
821
|
}
|
|
817
822
|
}
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"name": "withContainer",
|
|
821
|
-
"annotation": {
|
|
822
|
-
"type": "keyword",
|
|
823
|
-
"value": "boolean"
|
|
824
|
-
}
|
|
825
823
|
}
|
|
826
824
|
],
|
|
827
825
|
"events": [],
|
|
@@ -829,13 +827,13 @@
|
|
|
829
827
|
"types": [
|
|
830
828
|
{
|
|
831
829
|
"type": "interface",
|
|
832
|
-
"name": "
|
|
830
|
+
"name": "ShowCaseType",
|
|
833
831
|
"body": [
|
|
834
832
|
{
|
|
835
833
|
"type": "propertySignature",
|
|
836
834
|
"key": {
|
|
837
835
|
"type": "identifier",
|
|
838
|
-
"name": "
|
|
836
|
+
"name": "conversationId"
|
|
839
837
|
},
|
|
840
838
|
"annotation": {
|
|
841
839
|
"type": "keyword",
|
|
@@ -859,7 +857,7 @@
|
|
|
859
857
|
"type": "propertySignature",
|
|
860
858
|
"key": {
|
|
861
859
|
"type": "identifier",
|
|
862
|
-
"name": "
|
|
860
|
+
"name": "summary"
|
|
863
861
|
},
|
|
864
862
|
"annotation": {
|
|
865
863
|
"type": "keyword",
|
|
@@ -871,44 +869,7 @@
|
|
|
871
869
|
"type": "propertySignature",
|
|
872
870
|
"key": {
|
|
873
871
|
"type": "identifier",
|
|
874
|
-
"name": "
|
|
875
|
-
},
|
|
876
|
-
"annotation": {
|
|
877
|
-
"type": "reference",
|
|
878
|
-
"typeName": {
|
|
879
|
-
"type": "identifier",
|
|
880
|
-
"name": "GeneralIconProps"
|
|
881
|
-
}
|
|
882
|
-
},
|
|
883
|
-
"optional": true,
|
|
884
|
-
"computed": false
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
"type": "propertySignature",
|
|
888
|
-
"key": {
|
|
889
|
-
"type": "identifier",
|
|
890
|
-
"name": "server"
|
|
891
|
-
},
|
|
892
|
-
"annotation": {
|
|
893
|
-
"type": "reference",
|
|
894
|
-
"typeName": {
|
|
895
|
-
"type": "identifier",
|
|
896
|
-
"name": "McpServer"
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
"computed": false
|
|
900
|
-
}
|
|
901
|
-
]
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"type": "interface",
|
|
905
|
-
"name": "McpServer",
|
|
906
|
-
"body": [
|
|
907
|
-
{
|
|
908
|
-
"type": "propertySignature",
|
|
909
|
-
"key": {
|
|
910
|
-
"type": "identifier",
|
|
911
|
-
"name": "id"
|
|
872
|
+
"name": "scenario"
|
|
912
873
|
},
|
|
913
874
|
"annotation": {
|
|
914
875
|
"type": "keyword",
|
|
@@ -920,19 +881,20 @@
|
|
|
920
881
|
"type": "propertySignature",
|
|
921
882
|
"key": {
|
|
922
883
|
"type": "identifier",
|
|
923
|
-
"name": "
|
|
884
|
+
"name": "url"
|
|
924
885
|
},
|
|
925
886
|
"annotation": {
|
|
926
887
|
"type": "keyword",
|
|
927
888
|
"value": "string"
|
|
928
889
|
},
|
|
890
|
+
"optional": true,
|
|
929
891
|
"computed": false
|
|
930
892
|
}
|
|
931
893
|
]
|
|
932
894
|
}
|
|
933
895
|
]
|
|
934
896
|
},
|
|
935
|
-
"ai-portal.
|
|
897
|
+
"ai-portal.mcp-tools": {
|
|
936
898
|
"properties": [
|
|
937
899
|
{
|
|
938
900
|
"name": "list",
|
|
@@ -942,10 +904,17 @@
|
|
|
942
904
|
"type": "reference",
|
|
943
905
|
"typeName": {
|
|
944
906
|
"type": "identifier",
|
|
945
|
-
"name": "
|
|
907
|
+
"name": "McpTool"
|
|
946
908
|
}
|
|
947
909
|
}
|
|
948
910
|
}
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "withContainer",
|
|
914
|
+
"annotation": {
|
|
915
|
+
"type": "keyword",
|
|
916
|
+
"value": "boolean"
|
|
917
|
+
}
|
|
949
918
|
}
|
|
950
919
|
],
|
|
951
920
|
"events": [],
|
|
@@ -953,13 +922,13 @@
|
|
|
953
922
|
"types": [
|
|
954
923
|
{
|
|
955
924
|
"type": "interface",
|
|
956
|
-
"name": "
|
|
925
|
+
"name": "McpTool",
|
|
957
926
|
"body": [
|
|
958
927
|
{
|
|
959
928
|
"type": "propertySignature",
|
|
960
929
|
"key": {
|
|
961
930
|
"type": "identifier",
|
|
962
|
-
"name": "
|
|
931
|
+
"name": "name"
|
|
963
932
|
},
|
|
964
933
|
"annotation": {
|
|
965
934
|
"type": "keyword",
|
|
@@ -983,7 +952,7 @@
|
|
|
983
952
|
"type": "propertySignature",
|
|
984
953
|
"key": {
|
|
985
954
|
"type": "identifier",
|
|
986
|
-
"name": "
|
|
955
|
+
"name": "description"
|
|
987
956
|
},
|
|
988
957
|
"annotation": {
|
|
989
958
|
"type": "keyword",
|
|
@@ -995,7 +964,44 @@
|
|
|
995
964
|
"type": "propertySignature",
|
|
996
965
|
"key": {
|
|
997
966
|
"type": "identifier",
|
|
998
|
-
"name": "
|
|
967
|
+
"name": "icon"
|
|
968
|
+
},
|
|
969
|
+
"annotation": {
|
|
970
|
+
"type": "reference",
|
|
971
|
+
"typeName": {
|
|
972
|
+
"type": "identifier",
|
|
973
|
+
"name": "GeneralIconProps"
|
|
974
|
+
}
|
|
975
|
+
},
|
|
976
|
+
"optional": true,
|
|
977
|
+
"computed": false
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"type": "propertySignature",
|
|
981
|
+
"key": {
|
|
982
|
+
"type": "identifier",
|
|
983
|
+
"name": "server"
|
|
984
|
+
},
|
|
985
|
+
"annotation": {
|
|
986
|
+
"type": "reference",
|
|
987
|
+
"typeName": {
|
|
988
|
+
"type": "identifier",
|
|
989
|
+
"name": "McpServer"
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
"computed": false
|
|
993
|
+
}
|
|
994
|
+
]
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"type": "interface",
|
|
998
|
+
"name": "McpServer",
|
|
999
|
+
"body": [
|
|
1000
|
+
{
|
|
1001
|
+
"type": "propertySignature",
|
|
1002
|
+
"key": {
|
|
1003
|
+
"type": "identifier",
|
|
1004
|
+
"name": "id"
|
|
999
1005
|
},
|
|
1000
1006
|
"annotation": {
|
|
1001
1007
|
"type": "keyword",
|
|
@@ -1007,13 +1013,12 @@
|
|
|
1007
1013
|
"type": "propertySignature",
|
|
1008
1014
|
"key": {
|
|
1009
1015
|
"type": "identifier",
|
|
1010
|
-
"name": "
|
|
1016
|
+
"name": "name"
|
|
1011
1017
|
},
|
|
1012
1018
|
"annotation": {
|
|
1013
1019
|
"type": "keyword",
|
|
1014
1020
|
"value": "string"
|
|
1015
1021
|
},
|
|
1016
|
-
"optional": true,
|
|
1017
1022
|
"computed": false
|
|
1018
1023
|
}
|
|
1019
1024
|
]
|
|
@@ -1229,26 +1234,6 @@
|
|
|
1229
1234
|
}
|
|
1230
1235
|
]
|
|
1231
1236
|
},
|
|
1232
|
-
"ai-portal.preview-container": {
|
|
1233
|
-
"properties": [
|
|
1234
|
-
{
|
|
1235
|
-
"name": "source",
|
|
1236
|
-
"annotation": {
|
|
1237
|
-
"type": "keyword",
|
|
1238
|
-
"value": "string"
|
|
1239
|
-
}
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"name": "url",
|
|
1243
|
-
"annotation": {
|
|
1244
|
-
"type": "keyword",
|
|
1245
|
-
"value": "string"
|
|
1246
|
-
}
|
|
1247
|
-
}
|
|
1248
|
-
],
|
|
1249
|
-
"events": [],
|
|
1250
|
-
"methods": []
|
|
1251
|
-
},
|
|
1252
1237
|
"ai-portal.dropdown-select": {
|
|
1253
1238
|
"properties": [
|
|
1254
1239
|
{
|
|
@@ -1418,6 +1403,26 @@
|
|
|
1418
1403
|
}
|
|
1419
1404
|
]
|
|
1420
1405
|
},
|
|
1406
|
+
"ai-portal.preview-container": {
|
|
1407
|
+
"properties": [
|
|
1408
|
+
{
|
|
1409
|
+
"name": "source",
|
|
1410
|
+
"annotation": {
|
|
1411
|
+
"type": "keyword",
|
|
1412
|
+
"value": "string"
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "url",
|
|
1417
|
+
"annotation": {
|
|
1418
|
+
"type": "keyword",
|
|
1419
|
+
"value": "string"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
],
|
|
1423
|
+
"events": [],
|
|
1424
|
+
"methods": []
|
|
1425
|
+
},
|
|
1421
1426
|
"ai-portal.action-buttons": {
|
|
1422
1427
|
"properties": [
|
|
1423
1428
|
{
|
|
@@ -1793,93 +1798,6 @@
|
|
|
1793
1798
|
}
|
|
1794
1799
|
]
|
|
1795
1800
|
},
|
|
1796
|
-
"ai-portal.chat-input": {
|
|
1797
|
-
"properties": [
|
|
1798
|
-
{
|
|
1799
|
-
"name": "placeholder",
|
|
1800
|
-
"annotation": {
|
|
1801
|
-
"type": "keyword",
|
|
1802
|
-
"value": "string"
|
|
1803
|
-
}
|
|
1804
|
-
},
|
|
1805
|
-
{
|
|
1806
|
-
"name": "autoFocus",
|
|
1807
|
-
"annotation": {
|
|
1808
|
-
"type": "keyword",
|
|
1809
|
-
"value": "boolean"
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
|
-
{
|
|
1813
|
-
"name": "submitDisabled",
|
|
1814
|
-
"annotation": {
|
|
1815
|
-
"type": "keyword",
|
|
1816
|
-
"value": "boolean"
|
|
1817
|
-
}
|
|
1818
|
-
},
|
|
1819
|
-
{
|
|
1820
|
-
"name": "supportsTerminate",
|
|
1821
|
-
"annotation": {
|
|
1822
|
-
"type": "keyword",
|
|
1823
|
-
"value": "boolean"
|
|
1824
|
-
}
|
|
1825
|
-
},
|
|
1826
|
-
{
|
|
1827
|
-
"name": "terminating",
|
|
1828
|
-
"annotation": {
|
|
1829
|
-
"type": "keyword",
|
|
1830
|
-
"value": "boolean"
|
|
1831
|
-
}
|
|
1832
|
-
}
|
|
1833
|
-
],
|
|
1834
|
-
"events": [
|
|
1835
|
-
{
|
|
1836
|
-
"name": "message.submit",
|
|
1837
|
-
"detail": {
|
|
1838
|
-
"annotation": {
|
|
1839
|
-
"type": "keyword",
|
|
1840
|
-
"value": "string"
|
|
1841
|
-
}
|
|
1842
|
-
}
|
|
1843
|
-
},
|
|
1844
|
-
{
|
|
1845
|
-
"name": "terminate",
|
|
1846
|
-
"detail": {
|
|
1847
|
-
"annotation": {
|
|
1848
|
-
"type": "keyword",
|
|
1849
|
-
"value": "void"
|
|
1850
|
-
}
|
|
1851
|
-
}
|
|
1852
|
-
}
|
|
1853
|
-
],
|
|
1854
|
-
"methods": []
|
|
1855
|
-
},
|
|
1856
|
-
"ai-portal.show-case": {
|
|
1857
|
-
"properties": [
|
|
1858
|
-
{
|
|
1859
|
-
"name": "caseTitle",
|
|
1860
|
-
"annotation": {
|
|
1861
|
-
"type": "keyword",
|
|
1862
|
-
"value": "string"
|
|
1863
|
-
}
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"name": "summary",
|
|
1867
|
-
"annotation": {
|
|
1868
|
-
"type": "keyword",
|
|
1869
|
-
"value": "string"
|
|
1870
|
-
}
|
|
1871
|
-
},
|
|
1872
|
-
{
|
|
1873
|
-
"name": "url",
|
|
1874
|
-
"annotation": {
|
|
1875
|
-
"type": "keyword",
|
|
1876
|
-
"value": "string"
|
|
1877
|
-
}
|
|
1878
|
-
}
|
|
1879
|
-
],
|
|
1880
|
-
"events": [],
|
|
1881
|
-
"methods": []
|
|
1882
|
-
},
|
|
1883
1801
|
"ai-portal.activity-timeline": {
|
|
1884
1802
|
"properties": [
|
|
1885
1803
|
{
|
|
@@ -2854,6 +2772,93 @@
|
|
|
2854
2772
|
}
|
|
2855
2773
|
]
|
|
2856
2774
|
},
|
|
2775
|
+
"ai-portal.chat-input": {
|
|
2776
|
+
"properties": [
|
|
2777
|
+
{
|
|
2778
|
+
"name": "placeholder",
|
|
2779
|
+
"annotation": {
|
|
2780
|
+
"type": "keyword",
|
|
2781
|
+
"value": "string"
|
|
2782
|
+
}
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"name": "autoFocus",
|
|
2786
|
+
"annotation": {
|
|
2787
|
+
"type": "keyword",
|
|
2788
|
+
"value": "boolean"
|
|
2789
|
+
}
|
|
2790
|
+
},
|
|
2791
|
+
{
|
|
2792
|
+
"name": "submitDisabled",
|
|
2793
|
+
"annotation": {
|
|
2794
|
+
"type": "keyword",
|
|
2795
|
+
"value": "boolean"
|
|
2796
|
+
}
|
|
2797
|
+
},
|
|
2798
|
+
{
|
|
2799
|
+
"name": "supportsTerminate",
|
|
2800
|
+
"annotation": {
|
|
2801
|
+
"type": "keyword",
|
|
2802
|
+
"value": "boolean"
|
|
2803
|
+
}
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"name": "terminating",
|
|
2807
|
+
"annotation": {
|
|
2808
|
+
"type": "keyword",
|
|
2809
|
+
"value": "boolean"
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
],
|
|
2813
|
+
"events": [
|
|
2814
|
+
{
|
|
2815
|
+
"name": "message.submit",
|
|
2816
|
+
"detail": {
|
|
2817
|
+
"annotation": {
|
|
2818
|
+
"type": "keyword",
|
|
2819
|
+
"value": "string"
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"name": "terminate",
|
|
2825
|
+
"detail": {
|
|
2826
|
+
"annotation": {
|
|
2827
|
+
"type": "keyword",
|
|
2828
|
+
"value": "void"
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
}
|
|
2832
|
+
],
|
|
2833
|
+
"methods": []
|
|
2834
|
+
},
|
|
2835
|
+
"ai-portal.show-case": {
|
|
2836
|
+
"properties": [
|
|
2837
|
+
{
|
|
2838
|
+
"name": "caseTitle",
|
|
2839
|
+
"annotation": {
|
|
2840
|
+
"type": "keyword",
|
|
2841
|
+
"value": "string"
|
|
2842
|
+
}
|
|
2843
|
+
},
|
|
2844
|
+
{
|
|
2845
|
+
"name": "summary",
|
|
2846
|
+
"annotation": {
|
|
2847
|
+
"type": "keyword",
|
|
2848
|
+
"value": "string"
|
|
2849
|
+
}
|
|
2850
|
+
},
|
|
2851
|
+
{
|
|
2852
|
+
"name": "url",
|
|
2853
|
+
"annotation": {
|
|
2854
|
+
"type": "keyword",
|
|
2855
|
+
"value": "string"
|
|
2856
|
+
}
|
|
2857
|
+
}
|
|
2858
|
+
],
|
|
2859
|
+
"events": [],
|
|
2860
|
+
"methods": []
|
|
2861
|
+
},
|
|
2857
2862
|
"ai-portal.elevo-sidebar": {
|
|
2858
2863
|
"properties": [
|
|
2859
2864
|
{
|
|
@@ -15,6 +15,7 @@ export interface AIEmployee {
|
|
|
15
15
|
export interface ChatBoxRef {
|
|
16
16
|
setValue: (value: string) => void;
|
|
17
17
|
getValue: () => string;
|
|
18
|
+
focusOnInput: () => void;
|
|
18
19
|
}
|
|
19
20
|
/**
|
|
20
21
|
* 构件 `ai-portal.chat-box`
|
|
@@ -28,6 +29,7 @@ export declare class ChatBox extends ReactNextElement implements ChatBoxProps {
|
|
|
28
29
|
accessor aiEmployees: AIEmployee[] | undefined;
|
|
29
30
|
setValue(value: string): void;
|
|
30
31
|
getValue(): string | undefined;
|
|
32
|
+
focusOnInput(): void | undefined;
|
|
31
33
|
render(): React.JSX.Element;
|
|
32
34
|
}
|
|
33
35
|
interface ChatBoxComponentProps extends ChatBoxProps {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.1",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@next-bricks/presentational": "*",
|
|
48
48
|
"@next-bricks/vs": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "725d71f78f1d5f946fb2fdfdfc0d8dda06729329"
|
|
51
51
|
}
|