@next-bricks/ai-portal 0.59.2 → 0.59.3
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 +22 -22
- package/dist/chunks/2232.02cd2bbc.js +2 -0
- package/dist/chunks/2232.02cd2bbc.js.map +1 -0
- package/dist/chunks/{2621.0d56009c.js → 2621.9485ac01.js} +2 -2
- package/dist/chunks/2621.9485ac01.js.map +1 -0
- package/dist/chunks/{5712.a63bddd8.js → 5712.c566ad78.js} +2 -2
- package/dist/chunks/{5712.a63bddd8.js.map → 5712.c566ad78.js.map} +1 -1
- package/dist/chunks/{9496.633e2efa.js → 9496.1d7ebb7f.js} +2 -2
- package/dist/chunks/9496.1d7ebb7f.js.map +1 -0
- package/dist/chunks/chat-box.991e397f.js +3 -0
- package/dist/chunks/chat-box.991e397f.js.LICENSE.txt +1 -0
- package/dist/chunks/chat-box.991e397f.js.map +1 -0
- package/dist/chunks/{main.9309c699.js → main.7a2dc87b.js} +2 -2
- package/dist/chunks/{main.9309c699.js.map → main.7a2dc87b.js.map} +1 -1
- package/dist/chunks/set-chat-command.367b9c88.js.map +1 -1
- package/dist/examples.json +15 -15
- package/dist/{index.457a283c.js → index.9f3c3997.js} +2 -2
- package/dist/{index.457a283c.js.map → index.9f3c3997.js.map} +1 -1
- package/dist/manifest.json +173 -179
- package/dist/types.json +232 -252
- package/dist-types/chat-box/index.d.ts +0 -1
- package/dist-types/data-providers/set-chat-command.d.ts +1 -1
- package/dist-types/shared/ReadableCommand/ReadableCommand.d.ts +1 -0
- package/dist-types/shared/interfaces.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/2232.b162e41f.js +0 -2
- package/dist/chunks/2232.b162e41f.js.map +0 -1
- package/dist/chunks/2621.0d56009c.js.map +0 -1
- package/dist/chunks/9496.633e2efa.js.map +0 -1
- package/dist/chunks/chat-box.5ba0e969.js +0 -2
- package/dist/chunks/chat-box.5ba0e969.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -103,126 +103,146 @@
|
|
|
103
103
|
"events": [],
|
|
104
104
|
"methods": []
|
|
105
105
|
},
|
|
106
|
-
"ai-portal.
|
|
106
|
+
"ai-portal.icon-button": {
|
|
107
107
|
"properties": [
|
|
108
108
|
{
|
|
109
|
-
"name": "
|
|
109
|
+
"name": "icon",
|
|
110
|
+
"annotation": {
|
|
111
|
+
"type": "reference",
|
|
112
|
+
"typeName": {
|
|
113
|
+
"type": "identifier",
|
|
114
|
+
"name": "GeneralIconProps"
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "tooltip",
|
|
120
|
+
"annotation": {
|
|
121
|
+
"type": "keyword",
|
|
122
|
+
"value": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "tooltipHoist",
|
|
110
127
|
"annotation": {
|
|
111
128
|
"type": "keyword",
|
|
112
129
|
"value": "boolean"
|
|
113
130
|
}
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
"events": [],
|
|
117
|
-
"methods": []
|
|
118
|
-
},
|
|
119
|
-
"ai-portal.page-container": {
|
|
120
|
-
"properties": [
|
|
131
|
+
},
|
|
121
132
|
{
|
|
122
|
-
"name": "
|
|
133
|
+
"name": "disabled",
|
|
123
134
|
"annotation": {
|
|
124
135
|
"type": "keyword",
|
|
125
|
-
"value": "
|
|
136
|
+
"value": "boolean"
|
|
126
137
|
}
|
|
127
138
|
},
|
|
128
139
|
{
|
|
129
|
-
"name": "
|
|
140
|
+
"name": "variant",
|
|
130
141
|
"annotation": {
|
|
131
|
-
"type": "
|
|
132
|
-
"
|
|
133
|
-
"type": "
|
|
134
|
-
"
|
|
135
|
-
"type": "identifier",
|
|
136
|
-
"name": "Breadcrumb"
|
|
137
|
-
}
|
|
142
|
+
"type": "reference",
|
|
143
|
+
"typeName": {
|
|
144
|
+
"type": "identifier",
|
|
145
|
+
"name": "IconButtonVariant"
|
|
138
146
|
}
|
|
139
147
|
}
|
|
140
148
|
},
|
|
141
149
|
{
|
|
142
|
-
"name": "
|
|
150
|
+
"name": "reduceIconSize",
|
|
151
|
+
"annotation": {
|
|
152
|
+
"type": "keyword",
|
|
153
|
+
"value": "boolean"
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"events": [],
|
|
158
|
+
"methods": [],
|
|
159
|
+
"types": [
|
|
160
|
+
{
|
|
161
|
+
"type": "typeAlias",
|
|
162
|
+
"name": "IconButtonVariant",
|
|
143
163
|
"annotation": {
|
|
144
164
|
"type": "union",
|
|
145
165
|
"types": [
|
|
146
166
|
{
|
|
147
167
|
"type": "jsLiteral",
|
|
148
|
-
"value": "
|
|
168
|
+
"value": "default"
|
|
149
169
|
},
|
|
150
170
|
{
|
|
151
171
|
"type": "jsLiteral",
|
|
152
|
-
"value": "
|
|
172
|
+
"value": "light"
|
|
153
173
|
},
|
|
154
174
|
{
|
|
155
175
|
"type": "jsLiteral",
|
|
156
|
-
"value": "
|
|
157
|
-
}
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"name": "variant",
|
|
163
|
-
"annotation": {
|
|
164
|
-
"type": "union",
|
|
165
|
-
"types": [
|
|
176
|
+
"value": "mini"
|
|
177
|
+
},
|
|
166
178
|
{
|
|
167
179
|
"type": "jsLiteral",
|
|
168
|
-
"value": "
|
|
180
|
+
"value": "mini-light"
|
|
169
181
|
},
|
|
170
182
|
{
|
|
171
183
|
"type": "jsLiteral",
|
|
172
|
-
"value": "
|
|
184
|
+
"value": "bordered"
|
|
173
185
|
}
|
|
174
186
|
]
|
|
175
187
|
}
|
|
176
|
-
}
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"ai-portal.call-tool": {
|
|
192
|
+
"type": "provider",
|
|
193
|
+
"params": [
|
|
177
194
|
{
|
|
178
|
-
"name": "
|
|
195
|
+
"name": "tool",
|
|
179
196
|
"annotation": {
|
|
180
|
-
"type": "
|
|
181
|
-
"
|
|
197
|
+
"type": "reference",
|
|
198
|
+
"typeName": {
|
|
199
|
+
"type": "identifier",
|
|
200
|
+
"name": "ToolInfo"
|
|
201
|
+
}
|
|
182
202
|
}
|
|
183
203
|
},
|
|
184
204
|
{
|
|
185
|
-
"name": "
|
|
205
|
+
"name": "params",
|
|
186
206
|
"annotation": {
|
|
187
|
-
"type": "
|
|
188
|
-
"
|
|
207
|
+
"type": "reference",
|
|
208
|
+
"typeName": {
|
|
209
|
+
"type": "identifier",
|
|
210
|
+
"name": "Record"
|
|
211
|
+
},
|
|
212
|
+
"typeParameters": {
|
|
213
|
+
"type": "typeParameterInstantiation",
|
|
214
|
+
"params": [
|
|
215
|
+
{
|
|
216
|
+
"type": "keyword",
|
|
217
|
+
"value": "string"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "keyword",
|
|
221
|
+
"value": "unknown"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|
|
189
225
|
}
|
|
190
226
|
}
|
|
191
227
|
],
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
"name": "text"
|
|
204
|
-
},
|
|
205
|
-
"annotation": {
|
|
206
|
-
"type": "keyword",
|
|
207
|
-
"value": "string"
|
|
208
|
-
},
|
|
209
|
-
"computed": false
|
|
210
|
-
},
|
|
211
|
-
{
|
|
212
|
-
"type": "propertySignature",
|
|
213
|
-
"key": {
|
|
214
|
-
"type": "identifier",
|
|
215
|
-
"name": "url"
|
|
216
|
-
},
|
|
217
|
-
"annotation": {
|
|
228
|
+
"returns": {
|
|
229
|
+
"annotation": {
|
|
230
|
+
"type": "reference",
|
|
231
|
+
"typeName": {
|
|
232
|
+
"type": "identifier",
|
|
233
|
+
"name": "Promise"
|
|
234
|
+
},
|
|
235
|
+
"typeParameters": {
|
|
236
|
+
"type": "typeParameterInstantiation",
|
|
237
|
+
"params": [
|
|
238
|
+
{
|
|
218
239
|
"type": "keyword",
|
|
219
|
-
"value": "
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
]
|
|
240
|
+
"value": "unknown"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
224
244
|
}
|
|
225
|
-
|
|
245
|
+
}
|
|
226
246
|
},
|
|
227
247
|
"ai-portal.save-request-store": {
|
|
228
248
|
"type": "provider",
|
|
@@ -725,62 +745,6 @@
|
|
|
725
745
|
}
|
|
726
746
|
}
|
|
727
747
|
},
|
|
728
|
-
"ai-portal.call-tool": {
|
|
729
|
-
"type": "provider",
|
|
730
|
-
"params": [
|
|
731
|
-
{
|
|
732
|
-
"name": "tool",
|
|
733
|
-
"annotation": {
|
|
734
|
-
"type": "reference",
|
|
735
|
-
"typeName": {
|
|
736
|
-
"type": "identifier",
|
|
737
|
-
"name": "ToolInfo"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
"name": "params",
|
|
743
|
-
"annotation": {
|
|
744
|
-
"type": "reference",
|
|
745
|
-
"typeName": {
|
|
746
|
-
"type": "identifier",
|
|
747
|
-
"name": "Record"
|
|
748
|
-
},
|
|
749
|
-
"typeParameters": {
|
|
750
|
-
"type": "typeParameterInstantiation",
|
|
751
|
-
"params": [
|
|
752
|
-
{
|
|
753
|
-
"type": "keyword",
|
|
754
|
-
"value": "string"
|
|
755
|
-
},
|
|
756
|
-
{
|
|
757
|
-
"type": "keyword",
|
|
758
|
-
"value": "unknown"
|
|
759
|
-
}
|
|
760
|
-
]
|
|
761
|
-
}
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
],
|
|
765
|
-
"returns": {
|
|
766
|
-
"annotation": {
|
|
767
|
-
"type": "reference",
|
|
768
|
-
"typeName": {
|
|
769
|
-
"type": "identifier",
|
|
770
|
-
"name": "Promise"
|
|
771
|
-
},
|
|
772
|
-
"typeParameters": {
|
|
773
|
-
"type": "typeParameterInstantiation",
|
|
774
|
-
"params": [
|
|
775
|
-
{
|
|
776
|
-
"type": "keyword",
|
|
777
|
-
"value": "unknown"
|
|
778
|
-
}
|
|
779
|
-
]
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
}
|
|
783
|
-
},
|
|
784
748
|
"ai-portal.set-chat-command": {
|
|
785
749
|
"type": "provider",
|
|
786
750
|
"params": [
|
|
@@ -825,6 +789,7 @@
|
|
|
825
789
|
"type": "keyword",
|
|
826
790
|
"value": "string"
|
|
827
791
|
},
|
|
792
|
+
"optional": true,
|
|
828
793
|
"computed": false
|
|
829
794
|
},
|
|
830
795
|
{
|
|
@@ -846,6 +811,114 @@
|
|
|
846
811
|
}
|
|
847
812
|
]
|
|
848
813
|
},
|
|
814
|
+
"ai-portal.page-container": {
|
|
815
|
+
"properties": [
|
|
816
|
+
{
|
|
817
|
+
"name": "pageTitle",
|
|
818
|
+
"annotation": {
|
|
819
|
+
"type": "keyword",
|
|
820
|
+
"value": "string"
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "breadcrumbs",
|
|
825
|
+
"annotation": {
|
|
826
|
+
"type": "array",
|
|
827
|
+
"elementType": {
|
|
828
|
+
"type": "reference",
|
|
829
|
+
"typeName": {
|
|
830
|
+
"type": "identifier",
|
|
831
|
+
"name": "Breadcrumb"
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
"name": "size",
|
|
838
|
+
"annotation": {
|
|
839
|
+
"type": "union",
|
|
840
|
+
"types": [
|
|
841
|
+
{
|
|
842
|
+
"type": "jsLiteral",
|
|
843
|
+
"value": "medium"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"type": "jsLiteral",
|
|
847
|
+
"value": "small"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"type": "jsLiteral",
|
|
851
|
+
"value": "full"
|
|
852
|
+
}
|
|
853
|
+
]
|
|
854
|
+
}
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
"name": "variant",
|
|
858
|
+
"annotation": {
|
|
859
|
+
"type": "union",
|
|
860
|
+
"types": [
|
|
861
|
+
{
|
|
862
|
+
"type": "jsLiteral",
|
|
863
|
+
"value": "default"
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"type": "jsLiteral",
|
|
867
|
+
"value": "form"
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
}
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"name": "sticky",
|
|
874
|
+
"annotation": {
|
|
875
|
+
"type": "keyword",
|
|
876
|
+
"value": "boolean"
|
|
877
|
+
}
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "textContent",
|
|
881
|
+
"annotation": {
|
|
882
|
+
"type": "keyword",
|
|
883
|
+
"value": "string"
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
],
|
|
887
|
+
"events": [],
|
|
888
|
+
"methods": [],
|
|
889
|
+
"types": [
|
|
890
|
+
{
|
|
891
|
+
"type": "interface",
|
|
892
|
+
"name": "Breadcrumb",
|
|
893
|
+
"body": [
|
|
894
|
+
{
|
|
895
|
+
"type": "propertySignature",
|
|
896
|
+
"key": {
|
|
897
|
+
"type": "identifier",
|
|
898
|
+
"name": "text"
|
|
899
|
+
},
|
|
900
|
+
"annotation": {
|
|
901
|
+
"type": "keyword",
|
|
902
|
+
"value": "string"
|
|
903
|
+
},
|
|
904
|
+
"computed": false
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"type": "propertySignature",
|
|
908
|
+
"key": {
|
|
909
|
+
"type": "identifier",
|
|
910
|
+
"name": "url"
|
|
911
|
+
},
|
|
912
|
+
"annotation": {
|
|
913
|
+
"type": "keyword",
|
|
914
|
+
"value": "string"
|
|
915
|
+
},
|
|
916
|
+
"computed": false
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
}
|
|
920
|
+
]
|
|
921
|
+
},
|
|
849
922
|
"ai-portal.tab-list": {
|
|
850
923
|
"properties": [
|
|
851
924
|
{
|
|
@@ -917,54 +990,41 @@
|
|
|
917
990
|
}
|
|
918
991
|
]
|
|
919
992
|
},
|
|
920
|
-
"ai-portal.
|
|
993
|
+
"ai-portal.home-container": {
|
|
921
994
|
"properties": [
|
|
922
995
|
{
|
|
923
|
-
"name": "
|
|
924
|
-
"annotation": {
|
|
925
|
-
"type": "reference",
|
|
926
|
-
"typeName": {
|
|
927
|
-
"type": "identifier",
|
|
928
|
-
"name": "GeneralIconProps"
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
},
|
|
932
|
-
{
|
|
933
|
-
"name": "tooltip",
|
|
934
|
-
"annotation": {
|
|
935
|
-
"type": "keyword",
|
|
936
|
-
"value": "string"
|
|
937
|
-
}
|
|
938
|
-
},
|
|
939
|
-
{
|
|
940
|
-
"name": "tooltipHoist",
|
|
941
|
-
"annotation": {
|
|
942
|
-
"type": "keyword",
|
|
943
|
-
"value": "boolean"
|
|
944
|
-
}
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"name": "disabled",
|
|
996
|
+
"name": "sticky",
|
|
948
997
|
"annotation": {
|
|
949
998
|
"type": "keyword",
|
|
950
999
|
"value": "boolean"
|
|
951
1000
|
}
|
|
952
|
-
}
|
|
1001
|
+
}
|
|
1002
|
+
],
|
|
1003
|
+
"events": [],
|
|
1004
|
+
"methods": []
|
|
1005
|
+
},
|
|
1006
|
+
"ai-portal.elevo-logo": {
|
|
1007
|
+
"properties": [],
|
|
1008
|
+
"events": [],
|
|
1009
|
+
"methods": []
|
|
1010
|
+
},
|
|
1011
|
+
"ai-portal.blank-state": {
|
|
1012
|
+
"properties": [
|
|
953
1013
|
{
|
|
954
|
-
"name": "
|
|
1014
|
+
"name": "illustration",
|
|
955
1015
|
"annotation": {
|
|
956
1016
|
"type": "reference",
|
|
957
1017
|
"typeName": {
|
|
958
1018
|
"type": "identifier",
|
|
959
|
-
"name": "
|
|
1019
|
+
"name": "BlankStateIllustration"
|
|
960
1020
|
}
|
|
961
1021
|
}
|
|
962
1022
|
},
|
|
963
1023
|
{
|
|
964
|
-
"name": "
|
|
1024
|
+
"name": "description",
|
|
965
1025
|
"annotation": {
|
|
966
1026
|
"type": "keyword",
|
|
967
|
-
"value": "
|
|
1027
|
+
"value": "string"
|
|
968
1028
|
}
|
|
969
1029
|
}
|
|
970
1030
|
],
|
|
@@ -973,54 +1033,45 @@
|
|
|
973
1033
|
"types": [
|
|
974
1034
|
{
|
|
975
1035
|
"type": "typeAlias",
|
|
976
|
-
"name": "
|
|
1036
|
+
"name": "BlankStateIllustration",
|
|
977
1037
|
"annotation": {
|
|
978
1038
|
"type": "union",
|
|
979
1039
|
"types": [
|
|
980
1040
|
{
|
|
981
1041
|
"type": "jsLiteral",
|
|
982
|
-
"value": "
|
|
983
|
-
},
|
|
984
|
-
{
|
|
985
|
-
"type": "jsLiteral",
|
|
986
|
-
"value": "light"
|
|
1042
|
+
"value": "goals"
|
|
987
1043
|
},
|
|
988
1044
|
{
|
|
989
1045
|
"type": "jsLiteral",
|
|
990
|
-
"value": "
|
|
1046
|
+
"value": "activities"
|
|
991
1047
|
},
|
|
992
1048
|
{
|
|
993
1049
|
"type": "jsLiteral",
|
|
994
|
-
"value": "
|
|
1050
|
+
"value": "collaboration-spaces"
|
|
995
1051
|
},
|
|
996
1052
|
{
|
|
997
1053
|
"type": "jsLiteral",
|
|
998
|
-
"value": "
|
|
1054
|
+
"value": "serviceflows"
|
|
999
1055
|
}
|
|
1000
1056
|
]
|
|
1001
1057
|
}
|
|
1002
1058
|
}
|
|
1003
1059
|
]
|
|
1004
1060
|
},
|
|
1005
|
-
"ai-portal.
|
|
1006
|
-
"properties": [],
|
|
1007
|
-
"events": [],
|
|
1008
|
-
"methods": []
|
|
1009
|
-
},
|
|
1010
|
-
"ai-portal.blank-state": {
|
|
1061
|
+
"ai-portal.sticky-container": {
|
|
1011
1062
|
"properties": [
|
|
1012
1063
|
{
|
|
1013
|
-
"name": "
|
|
1064
|
+
"name": "variant",
|
|
1014
1065
|
"annotation": {
|
|
1015
1066
|
"type": "reference",
|
|
1016
1067
|
"typeName": {
|
|
1017
1068
|
"type": "identifier",
|
|
1018
|
-
"name": "
|
|
1069
|
+
"name": "StickyContainerVariant"
|
|
1019
1070
|
}
|
|
1020
1071
|
}
|
|
1021
1072
|
},
|
|
1022
1073
|
{
|
|
1023
|
-
"name": "
|
|
1074
|
+
"name": "textContent",
|
|
1024
1075
|
"annotation": {
|
|
1025
1076
|
"type": "keyword",
|
|
1026
1077
|
"value": "string"
|
|
@@ -1032,25 +1083,17 @@
|
|
|
1032
1083
|
"types": [
|
|
1033
1084
|
{
|
|
1034
1085
|
"type": "typeAlias",
|
|
1035
|
-
"name": "
|
|
1086
|
+
"name": "StickyContainerVariant",
|
|
1036
1087
|
"annotation": {
|
|
1037
1088
|
"type": "union",
|
|
1038
1089
|
"types": [
|
|
1039
1090
|
{
|
|
1040
1091
|
"type": "jsLiteral",
|
|
1041
|
-
"value": "
|
|
1042
|
-
},
|
|
1043
|
-
{
|
|
1044
|
-
"type": "jsLiteral",
|
|
1045
|
-
"value": "activities"
|
|
1046
|
-
},
|
|
1047
|
-
{
|
|
1048
|
-
"type": "jsLiteral",
|
|
1049
|
-
"value": "collaboration-spaces"
|
|
1092
|
+
"value": "default"
|
|
1050
1093
|
},
|
|
1051
1094
|
{
|
|
1052
1095
|
"type": "jsLiteral",
|
|
1053
|
-
"value": "
|
|
1096
|
+
"value": "home"
|
|
1054
1097
|
}
|
|
1055
1098
|
]
|
|
1056
1099
|
}
|
|
@@ -1119,48 +1162,6 @@
|
|
|
1119
1162
|
"events": [],
|
|
1120
1163
|
"methods": []
|
|
1121
1164
|
},
|
|
1122
|
-
"ai-portal.sticky-container": {
|
|
1123
|
-
"properties": [
|
|
1124
|
-
{
|
|
1125
|
-
"name": "variant",
|
|
1126
|
-
"annotation": {
|
|
1127
|
-
"type": "reference",
|
|
1128
|
-
"typeName": {
|
|
1129
|
-
"type": "identifier",
|
|
1130
|
-
"name": "StickyContainerVariant"
|
|
1131
|
-
}
|
|
1132
|
-
}
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
"name": "textContent",
|
|
1136
|
-
"annotation": {
|
|
1137
|
-
"type": "keyword",
|
|
1138
|
-
"value": "string"
|
|
1139
|
-
}
|
|
1140
|
-
}
|
|
1141
|
-
],
|
|
1142
|
-
"events": [],
|
|
1143
|
-
"methods": [],
|
|
1144
|
-
"types": [
|
|
1145
|
-
{
|
|
1146
|
-
"type": "typeAlias",
|
|
1147
|
-
"name": "StickyContainerVariant",
|
|
1148
|
-
"annotation": {
|
|
1149
|
-
"type": "union",
|
|
1150
|
-
"types": [
|
|
1151
|
-
{
|
|
1152
|
-
"type": "jsLiteral",
|
|
1153
|
-
"value": "default"
|
|
1154
|
-
},
|
|
1155
|
-
{
|
|
1156
|
-
"type": "jsLiteral",
|
|
1157
|
-
"value": "home"
|
|
1158
|
-
}
|
|
1159
|
-
]
|
|
1160
|
-
}
|
|
1161
|
-
}
|
|
1162
|
-
]
|
|
1163
|
-
},
|
|
1164
1165
|
"ai-portal.project-knowledges": {
|
|
1165
1166
|
"properties": [
|
|
1166
1167
|
{
|
|
@@ -5658,27 +5659,6 @@
|
|
|
5658
5659
|
}
|
|
5659
5660
|
}
|
|
5660
5661
|
}
|
|
5661
|
-
},
|
|
5662
|
-
{
|
|
5663
|
-
"name": "command.select",
|
|
5664
|
-
"detail": {
|
|
5665
|
-
"annotation": {
|
|
5666
|
-
"type": "union",
|
|
5667
|
-
"types": [
|
|
5668
|
-
{
|
|
5669
|
-
"type": "reference",
|
|
5670
|
-
"typeName": {
|
|
5671
|
-
"type": "identifier",
|
|
5672
|
-
"name": "CommandPayload"
|
|
5673
|
-
}
|
|
5674
|
-
},
|
|
5675
|
-
{
|
|
5676
|
-
"type": "keyword",
|
|
5677
|
-
"value": "null"
|
|
5678
|
-
}
|
|
5679
|
-
]
|
|
5680
|
-
}
|
|
5681
|
-
}
|
|
5682
5662
|
}
|
|
5683
5663
|
],
|
|
5684
5664
|
"methods": [
|
|
@@ -49,7 +49,6 @@ interface ChatBoxComponentProps extends ChatBoxProps {
|
|
|
49
49
|
root: HTMLElement;
|
|
50
50
|
onMessageSubmit: (value: string) => void;
|
|
51
51
|
onChatSubmit: (payload: ChatPayload) => void;
|
|
52
|
-
onCommandSelect: (command: CommandPayload | null) => void;
|
|
53
52
|
ref?: React.Ref<ChatBoxRef>;
|
|
54
53
|
}
|
|
55
54
|
export {};
|
|
@@ -6,3 +6,4 @@ export interface ReadableCommandProps {
|
|
|
6
6
|
size?: "medium" | "small";
|
|
7
7
|
}
|
|
8
8
|
export declare function ReadableCommand({ cmd, mentionedAiEmployeeId, }: ReadableCommandProps): React.JSX.Element;
|
|
9
|
+
export declare function getInitialContent(cmd?: CommandPayload, mentionedAiEmployeeId?: string): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.3",
|
|
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": "64d652c91d75223495dc940639ad773f727e7266"
|
|
51
51
|
}
|