@next-bricks/ai-portal 0.58.9 → 0.58.10
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 +27 -27
- package/dist/chunks/2232.4c2a5ea6.js +2 -0
- package/dist/chunks/2232.4c2a5ea6.js.map +1 -0
- package/dist/chunks/6811.122526d0.js +2 -0
- package/dist/chunks/6811.122526d0.js.map +1 -0
- package/dist/chunks/9496.065a4fc5.js +2 -0
- package/dist/chunks/9496.065a4fc5.js.map +1 -0
- package/dist/chunks/{main.f6e562f8.js → main.ec8527dd.js} +2 -2
- package/dist/chunks/{main.f6e562f8.js.map → main.ec8527dd.js.map} +1 -1
- package/dist/examples.json +20 -20
- package/dist/{index.41d721be.js → index.7ed0f10c.js} +2 -2
- package/dist/{index.41d721be.js.map → index.7ed0f10c.js.map} +1 -1
- package/dist/manifest.json +225 -225
- package/dist/types.json +296 -296
- package/dist-types/chat-stream/useConversationStream.d.ts +2 -2
- package/dist-types/{cruise-canvas/FileList → shared/FilePreview}/FileList.d.ts +1 -1
- package/dist-types/shared/FilePreview/i18n.d.ts +3 -1
- package/dist-types/shared/interfaces.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunks/2232.3e1796f1.js +0 -2
- package/dist/chunks/2232.3e1796f1.js.map +0 -1
- package/dist/chunks/7848.8261656a.js +0 -2
- package/dist/chunks/7848.8261656a.js.map +0 -1
- package/dist/chunks/9496.0c35a324.js +0 -2
- package/dist/chunks/9496.0c35a324.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -1,17 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ai-portal.home-container": {
|
|
3
|
-
"properties": [
|
|
4
|
-
{
|
|
5
|
-
"name": "sticky",
|
|
6
|
-
"annotation": {
|
|
7
|
-
"type": "keyword",
|
|
8
|
-
"value": "boolean"
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
],
|
|
12
|
-
"events": [],
|
|
13
|
-
"methods": []
|
|
14
|
-
},
|
|
15
2
|
"ai-portal.icon-button": {
|
|
16
3
|
"properties": [
|
|
17
4
|
{
|
|
@@ -90,6 +77,218 @@
|
|
|
90
77
|
}
|
|
91
78
|
]
|
|
92
79
|
},
|
|
80
|
+
"ai-portal.stat-with-mini-chart": {
|
|
81
|
+
"properties": [
|
|
82
|
+
{
|
|
83
|
+
"name": "label",
|
|
84
|
+
"annotation": {
|
|
85
|
+
"type": "keyword",
|
|
86
|
+
"value": "string"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "value",
|
|
91
|
+
"annotation": {
|
|
92
|
+
"type": "keyword",
|
|
93
|
+
"value": "string"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "size",
|
|
98
|
+
"annotation": {
|
|
99
|
+
"type": "union",
|
|
100
|
+
"types": [
|
|
101
|
+
{
|
|
102
|
+
"type": "jsLiteral",
|
|
103
|
+
"value": "medium"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "jsLiteral",
|
|
107
|
+
"value": "small"
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "lineColor",
|
|
114
|
+
"annotation": {
|
|
115
|
+
"type": "keyword",
|
|
116
|
+
"value": "string"
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "showArea",
|
|
121
|
+
"annotation": {
|
|
122
|
+
"type": "keyword",
|
|
123
|
+
"value": "boolean"
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "min",
|
|
128
|
+
"annotation": {
|
|
129
|
+
"type": "keyword",
|
|
130
|
+
"value": "number"
|
|
131
|
+
}
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "max",
|
|
135
|
+
"annotation": {
|
|
136
|
+
"type": "keyword",
|
|
137
|
+
"value": "number"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "xField",
|
|
142
|
+
"annotation": {
|
|
143
|
+
"type": "keyword",
|
|
144
|
+
"value": "string"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "yField",
|
|
149
|
+
"annotation": {
|
|
150
|
+
"type": "keyword",
|
|
151
|
+
"value": "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "data",
|
|
156
|
+
"annotation": {
|
|
157
|
+
"type": "array",
|
|
158
|
+
"elementType": {
|
|
159
|
+
"type": "reference",
|
|
160
|
+
"typeName": {
|
|
161
|
+
"type": "identifier",
|
|
162
|
+
"name": "Record"
|
|
163
|
+
},
|
|
164
|
+
"typeParameters": {
|
|
165
|
+
"type": "typeParameterInstantiation",
|
|
166
|
+
"params": [
|
|
167
|
+
{
|
|
168
|
+
"type": "keyword",
|
|
169
|
+
"value": "string"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"type": "keyword",
|
|
173
|
+
"value": "number"
|
|
174
|
+
}
|
|
175
|
+
]
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"events": [],
|
|
182
|
+
"methods": []
|
|
183
|
+
},
|
|
184
|
+
"ai-portal.page-container": {
|
|
185
|
+
"properties": [
|
|
186
|
+
{
|
|
187
|
+
"name": "pageTitle",
|
|
188
|
+
"annotation": {
|
|
189
|
+
"type": "keyword",
|
|
190
|
+
"value": "string"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "breadcrumbs",
|
|
195
|
+
"annotation": {
|
|
196
|
+
"type": "array",
|
|
197
|
+
"elementType": {
|
|
198
|
+
"type": "reference",
|
|
199
|
+
"typeName": {
|
|
200
|
+
"type": "identifier",
|
|
201
|
+
"name": "Breadcrumb"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "size",
|
|
208
|
+
"annotation": {
|
|
209
|
+
"type": "union",
|
|
210
|
+
"types": [
|
|
211
|
+
{
|
|
212
|
+
"type": "jsLiteral",
|
|
213
|
+
"value": "medium"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "jsLiteral",
|
|
217
|
+
"value": "small"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "jsLiteral",
|
|
221
|
+
"value": "full"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "variant",
|
|
228
|
+
"annotation": {
|
|
229
|
+
"type": "union",
|
|
230
|
+
"types": [
|
|
231
|
+
{
|
|
232
|
+
"type": "jsLiteral",
|
|
233
|
+
"value": "default"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"type": "jsLiteral",
|
|
237
|
+
"value": "form"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "sticky",
|
|
244
|
+
"annotation": {
|
|
245
|
+
"type": "keyword",
|
|
246
|
+
"value": "boolean"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "textContent",
|
|
251
|
+
"annotation": {
|
|
252
|
+
"type": "keyword",
|
|
253
|
+
"value": "string"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"events": [],
|
|
258
|
+
"methods": [],
|
|
259
|
+
"types": [
|
|
260
|
+
{
|
|
261
|
+
"type": "interface",
|
|
262
|
+
"name": "Breadcrumb",
|
|
263
|
+
"body": [
|
|
264
|
+
{
|
|
265
|
+
"type": "propertySignature",
|
|
266
|
+
"key": {
|
|
267
|
+
"type": "identifier",
|
|
268
|
+
"name": "text"
|
|
269
|
+
},
|
|
270
|
+
"annotation": {
|
|
271
|
+
"type": "keyword",
|
|
272
|
+
"value": "string"
|
|
273
|
+
},
|
|
274
|
+
"computed": false
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"type": "propertySignature",
|
|
278
|
+
"key": {
|
|
279
|
+
"type": "identifier",
|
|
280
|
+
"name": "url"
|
|
281
|
+
},
|
|
282
|
+
"annotation": {
|
|
283
|
+
"type": "keyword",
|
|
284
|
+
"value": "string"
|
|
285
|
+
},
|
|
286
|
+
"computed": false
|
|
287
|
+
}
|
|
288
|
+
]
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
},
|
|
93
292
|
"ai-portal.save-request-store": {
|
|
94
293
|
"type": "provider",
|
|
95
294
|
"params": [
|
|
@@ -697,122 +896,14 @@
|
|
|
697
896
|
"type": "propertySignature",
|
|
698
897
|
"key": {
|
|
699
898
|
"type": "identifier",
|
|
700
|
-
"name": "payload"
|
|
701
|
-
},
|
|
702
|
-
"annotation": {
|
|
703
|
-
"type": "reference",
|
|
704
|
-
"typeName": {
|
|
705
|
-
"type": "identifier",
|
|
706
|
-
"name": "CommandPayload"
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
"computed": false
|
|
710
|
-
}
|
|
711
|
-
]
|
|
712
|
-
}
|
|
713
|
-
]
|
|
714
|
-
},
|
|
715
|
-
"ai-portal.page-container": {
|
|
716
|
-
"properties": [
|
|
717
|
-
{
|
|
718
|
-
"name": "pageTitle",
|
|
719
|
-
"annotation": {
|
|
720
|
-
"type": "keyword",
|
|
721
|
-
"value": "string"
|
|
722
|
-
}
|
|
723
|
-
},
|
|
724
|
-
{
|
|
725
|
-
"name": "breadcrumbs",
|
|
726
|
-
"annotation": {
|
|
727
|
-
"type": "array",
|
|
728
|
-
"elementType": {
|
|
729
|
-
"type": "reference",
|
|
730
|
-
"typeName": {
|
|
731
|
-
"type": "identifier",
|
|
732
|
-
"name": "Breadcrumb"
|
|
733
|
-
}
|
|
734
|
-
}
|
|
735
|
-
}
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
"name": "size",
|
|
739
|
-
"annotation": {
|
|
740
|
-
"type": "union",
|
|
741
|
-
"types": [
|
|
742
|
-
{
|
|
743
|
-
"type": "jsLiteral",
|
|
744
|
-
"value": "medium"
|
|
745
|
-
},
|
|
746
|
-
{
|
|
747
|
-
"type": "jsLiteral",
|
|
748
|
-
"value": "small"
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"type": "jsLiteral",
|
|
752
|
-
"value": "full"
|
|
753
|
-
}
|
|
754
|
-
]
|
|
755
|
-
}
|
|
756
|
-
},
|
|
757
|
-
{
|
|
758
|
-
"name": "variant",
|
|
759
|
-
"annotation": {
|
|
760
|
-
"type": "union",
|
|
761
|
-
"types": [
|
|
762
|
-
{
|
|
763
|
-
"type": "jsLiteral",
|
|
764
|
-
"value": "default"
|
|
765
|
-
},
|
|
766
|
-
{
|
|
767
|
-
"type": "jsLiteral",
|
|
768
|
-
"value": "form"
|
|
769
|
-
}
|
|
770
|
-
]
|
|
771
|
-
}
|
|
772
|
-
},
|
|
773
|
-
{
|
|
774
|
-
"name": "sticky",
|
|
775
|
-
"annotation": {
|
|
776
|
-
"type": "keyword",
|
|
777
|
-
"value": "boolean"
|
|
778
|
-
}
|
|
779
|
-
},
|
|
780
|
-
{
|
|
781
|
-
"name": "textContent",
|
|
782
|
-
"annotation": {
|
|
783
|
-
"type": "keyword",
|
|
784
|
-
"value": "string"
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
],
|
|
788
|
-
"events": [],
|
|
789
|
-
"methods": [],
|
|
790
|
-
"types": [
|
|
791
|
-
{
|
|
792
|
-
"type": "interface",
|
|
793
|
-
"name": "Breadcrumb",
|
|
794
|
-
"body": [
|
|
795
|
-
{
|
|
796
|
-
"type": "propertySignature",
|
|
797
|
-
"key": {
|
|
798
|
-
"type": "identifier",
|
|
799
|
-
"name": "text"
|
|
800
|
-
},
|
|
801
|
-
"annotation": {
|
|
802
|
-
"type": "keyword",
|
|
803
|
-
"value": "string"
|
|
804
|
-
},
|
|
805
|
-
"computed": false
|
|
806
|
-
},
|
|
807
|
-
{
|
|
808
|
-
"type": "propertySignature",
|
|
809
|
-
"key": {
|
|
810
|
-
"type": "identifier",
|
|
811
|
-
"name": "url"
|
|
899
|
+
"name": "payload"
|
|
812
900
|
},
|
|
813
901
|
"annotation": {
|
|
814
|
-
"type": "
|
|
815
|
-
"
|
|
902
|
+
"type": "reference",
|
|
903
|
+
"typeName": {
|
|
904
|
+
"type": "identifier",
|
|
905
|
+
"name": "CommandPayload"
|
|
906
|
+
}
|
|
816
907
|
},
|
|
817
908
|
"computed": false
|
|
818
909
|
}
|
|
@@ -891,115 +982,19 @@
|
|
|
891
982
|
}
|
|
892
983
|
]
|
|
893
984
|
},
|
|
894
|
-
"ai-portal.
|
|
985
|
+
"ai-portal.home-container": {
|
|
895
986
|
"properties": [
|
|
896
987
|
{
|
|
897
|
-
"name": "
|
|
898
|
-
"annotation": {
|
|
899
|
-
"type": "keyword",
|
|
900
|
-
"value": "string"
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
{
|
|
904
|
-
"name": "value",
|
|
905
|
-
"annotation": {
|
|
906
|
-
"type": "keyword",
|
|
907
|
-
"value": "string"
|
|
908
|
-
}
|
|
909
|
-
},
|
|
910
|
-
{
|
|
911
|
-
"name": "size",
|
|
912
|
-
"annotation": {
|
|
913
|
-
"type": "union",
|
|
914
|
-
"types": [
|
|
915
|
-
{
|
|
916
|
-
"type": "jsLiteral",
|
|
917
|
-
"value": "medium"
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
"type": "jsLiteral",
|
|
921
|
-
"value": "small"
|
|
922
|
-
}
|
|
923
|
-
]
|
|
924
|
-
}
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"name": "lineColor",
|
|
928
|
-
"annotation": {
|
|
929
|
-
"type": "keyword",
|
|
930
|
-
"value": "string"
|
|
931
|
-
}
|
|
932
|
-
},
|
|
933
|
-
{
|
|
934
|
-
"name": "showArea",
|
|
988
|
+
"name": "sticky",
|
|
935
989
|
"annotation": {
|
|
936
990
|
"type": "keyword",
|
|
937
991
|
"value": "boolean"
|
|
938
992
|
}
|
|
939
|
-
},
|
|
940
|
-
{
|
|
941
|
-
"name": "min",
|
|
942
|
-
"annotation": {
|
|
943
|
-
"type": "keyword",
|
|
944
|
-
"value": "number"
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"name": "max",
|
|
949
|
-
"annotation": {
|
|
950
|
-
"type": "keyword",
|
|
951
|
-
"value": "number"
|
|
952
|
-
}
|
|
953
|
-
},
|
|
954
|
-
{
|
|
955
|
-
"name": "xField",
|
|
956
|
-
"annotation": {
|
|
957
|
-
"type": "keyword",
|
|
958
|
-
"value": "string"
|
|
959
|
-
}
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
"name": "yField",
|
|
963
|
-
"annotation": {
|
|
964
|
-
"type": "keyword",
|
|
965
|
-
"value": "string"
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
{
|
|
969
|
-
"name": "data",
|
|
970
|
-
"annotation": {
|
|
971
|
-
"type": "array",
|
|
972
|
-
"elementType": {
|
|
973
|
-
"type": "reference",
|
|
974
|
-
"typeName": {
|
|
975
|
-
"type": "identifier",
|
|
976
|
-
"name": "Record"
|
|
977
|
-
},
|
|
978
|
-
"typeParameters": {
|
|
979
|
-
"type": "typeParameterInstantiation",
|
|
980
|
-
"params": [
|
|
981
|
-
{
|
|
982
|
-
"type": "keyword",
|
|
983
|
-
"value": "string"
|
|
984
|
-
},
|
|
985
|
-
{
|
|
986
|
-
"type": "keyword",
|
|
987
|
-
"value": "number"
|
|
988
|
-
}
|
|
989
|
-
]
|
|
990
|
-
}
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
993
|
}
|
|
994
994
|
],
|
|
995
995
|
"events": [],
|
|
996
996
|
"methods": []
|
|
997
997
|
},
|
|
998
|
-
"ai-portal.elevo-logo": {
|
|
999
|
-
"properties": [],
|
|
1000
|
-
"events": [],
|
|
1001
|
-
"methods": []
|
|
1002
|
-
},
|
|
1003
998
|
"ai-portal.blank-state": {
|
|
1004
999
|
"properties": [
|
|
1005
1000
|
{
|
|
@@ -1050,6 +1045,11 @@
|
|
|
1050
1045
|
}
|
|
1051
1046
|
]
|
|
1052
1047
|
},
|
|
1048
|
+
"ai-portal.elevo-logo": {
|
|
1049
|
+
"properties": [],
|
|
1050
|
+
"events": [],
|
|
1051
|
+
"methods": []
|
|
1052
|
+
},
|
|
1053
1053
|
"ai-portal.sticky-container": {
|
|
1054
1054
|
"properties": [
|
|
1055
1055
|
{
|
|
@@ -3698,77 +3698,6 @@
|
|
|
3698
3698
|
"events": [],
|
|
3699
3699
|
"methods": []
|
|
3700
3700
|
},
|
|
3701
|
-
"ai-portal.flow-tabs": {
|
|
3702
|
-
"properties": [
|
|
3703
|
-
{
|
|
3704
|
-
"name": "tabs",
|
|
3705
|
-
"annotation": {
|
|
3706
|
-
"type": "array",
|
|
3707
|
-
"elementType": {
|
|
3708
|
-
"type": "reference",
|
|
3709
|
-
"typeName": {
|
|
3710
|
-
"type": "identifier",
|
|
3711
|
-
"name": "Tab"
|
|
3712
|
-
}
|
|
3713
|
-
}
|
|
3714
|
-
}
|
|
3715
|
-
},
|
|
3716
|
-
{
|
|
3717
|
-
"name": "activeTab",
|
|
3718
|
-
"annotation": {
|
|
3719
|
-
"type": "keyword",
|
|
3720
|
-
"value": "string"
|
|
3721
|
-
}
|
|
3722
|
-
}
|
|
3723
|
-
],
|
|
3724
|
-
"events": [
|
|
3725
|
-
{
|
|
3726
|
-
"name": "tab.click",
|
|
3727
|
-
"detail": {
|
|
3728
|
-
"annotation": {
|
|
3729
|
-
"type": "reference",
|
|
3730
|
-
"typeName": {
|
|
3731
|
-
"type": "identifier",
|
|
3732
|
-
"name": "Tab"
|
|
3733
|
-
}
|
|
3734
|
-
}
|
|
3735
|
-
}
|
|
3736
|
-
}
|
|
3737
|
-
],
|
|
3738
|
-
"methods": [],
|
|
3739
|
-
"types": [
|
|
3740
|
-
{
|
|
3741
|
-
"type": "interface",
|
|
3742
|
-
"name": "Tab",
|
|
3743
|
-
"body": [
|
|
3744
|
-
{
|
|
3745
|
-
"type": "propertySignature",
|
|
3746
|
-
"key": {
|
|
3747
|
-
"type": "identifier",
|
|
3748
|
-
"name": "id"
|
|
3749
|
-
},
|
|
3750
|
-
"annotation": {
|
|
3751
|
-
"type": "keyword",
|
|
3752
|
-
"value": "string"
|
|
3753
|
-
},
|
|
3754
|
-
"computed": false
|
|
3755
|
-
},
|
|
3756
|
-
{
|
|
3757
|
-
"type": "propertySignature",
|
|
3758
|
-
"key": {
|
|
3759
|
-
"type": "identifier",
|
|
3760
|
-
"name": "label"
|
|
3761
|
-
},
|
|
3762
|
-
"annotation": {
|
|
3763
|
-
"type": "keyword",
|
|
3764
|
-
"value": "string"
|
|
3765
|
-
},
|
|
3766
|
-
"computed": false
|
|
3767
|
-
}
|
|
3768
|
-
]
|
|
3769
|
-
}
|
|
3770
|
-
]
|
|
3771
|
-
},
|
|
3772
3701
|
"ai-portal.stage-flow": {
|
|
3773
3702
|
"properties": [
|
|
3774
3703
|
{
|
|
@@ -4131,6 +4060,77 @@
|
|
|
4131
4060
|
}
|
|
4132
4061
|
]
|
|
4133
4062
|
},
|
|
4063
|
+
"ai-portal.flow-tabs": {
|
|
4064
|
+
"properties": [
|
|
4065
|
+
{
|
|
4066
|
+
"name": "tabs",
|
|
4067
|
+
"annotation": {
|
|
4068
|
+
"type": "array",
|
|
4069
|
+
"elementType": {
|
|
4070
|
+
"type": "reference",
|
|
4071
|
+
"typeName": {
|
|
4072
|
+
"type": "identifier",
|
|
4073
|
+
"name": "Tab"
|
|
4074
|
+
}
|
|
4075
|
+
}
|
|
4076
|
+
}
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"name": "activeTab",
|
|
4080
|
+
"annotation": {
|
|
4081
|
+
"type": "keyword",
|
|
4082
|
+
"value": "string"
|
|
4083
|
+
}
|
|
4084
|
+
}
|
|
4085
|
+
],
|
|
4086
|
+
"events": [
|
|
4087
|
+
{
|
|
4088
|
+
"name": "tab.click",
|
|
4089
|
+
"detail": {
|
|
4090
|
+
"annotation": {
|
|
4091
|
+
"type": "reference",
|
|
4092
|
+
"typeName": {
|
|
4093
|
+
"type": "identifier",
|
|
4094
|
+
"name": "Tab"
|
|
4095
|
+
}
|
|
4096
|
+
}
|
|
4097
|
+
}
|
|
4098
|
+
}
|
|
4099
|
+
],
|
|
4100
|
+
"methods": [],
|
|
4101
|
+
"types": [
|
|
4102
|
+
{
|
|
4103
|
+
"type": "interface",
|
|
4104
|
+
"name": "Tab",
|
|
4105
|
+
"body": [
|
|
4106
|
+
{
|
|
4107
|
+
"type": "propertySignature",
|
|
4108
|
+
"key": {
|
|
4109
|
+
"type": "identifier",
|
|
4110
|
+
"name": "id"
|
|
4111
|
+
},
|
|
4112
|
+
"annotation": {
|
|
4113
|
+
"type": "keyword",
|
|
4114
|
+
"value": "string"
|
|
4115
|
+
},
|
|
4116
|
+
"computed": false
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
"type": "propertySignature",
|
|
4120
|
+
"key": {
|
|
4121
|
+
"type": "identifier",
|
|
4122
|
+
"name": "label"
|
|
4123
|
+
},
|
|
4124
|
+
"annotation": {
|
|
4125
|
+
"type": "keyword",
|
|
4126
|
+
"value": "string"
|
|
4127
|
+
},
|
|
4128
|
+
"computed": false
|
|
4129
|
+
}
|
|
4130
|
+
]
|
|
4131
|
+
}
|
|
4132
|
+
]
|
|
4133
|
+
},
|
|
4134
4134
|
"ai-portal.running-flow": {
|
|
4135
4135
|
"properties": [
|
|
4136
4136
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ChatMessage } from "./interfaces.js";
|
|
2
|
-
import type { ActiveDetail, ActivityWithFlow, ConversationError, ServiceFlowRun, Task } from "../shared/interfaces.js";
|
|
3
|
-
export declare function useConversationStream(conversationAvailable: boolean, tasks: Task[], errors: ConversationError[], flowMap?: Map<string, ServiceFlowRun>, activityMap?: Map<string, ActivityWithFlow>, options?: {
|
|
2
|
+
import type { ActiveDetail, ActivityWithFlow, ConversationError, ConversationState, ServiceFlowRun, Task, TaskState } from "../shared/interfaces.js";
|
|
3
|
+
export declare function useConversationStream(conversationAvailable: boolean, state: ConversationState | TaskState | undefined, tasks: Task[], errors: ConversationError[], flowMap?: Map<string, ServiceFlowRun>, activityMap?: Map<string, ActivityWithFlow>, options?: {
|
|
4
4
|
showHumanActions?: boolean;
|
|
5
5
|
skipActivitySubTasks?: boolean;
|
|
6
6
|
}): {
|
|
@@ -2,7 +2,9 @@ export declare enum K {
|
|
|
2
2
|
UNTITLED = "UNTITLED",
|
|
3
3
|
FILE_PREVIEW_UNPREVIEWABLE_TIP_PREFIX = "FILE_PREVIEW_UNPREVIEWABLE_TIP_PREFIX",
|
|
4
4
|
FILE_PREVIEW_UNPREVIEWABLE_TIP_SUFFIX = "FILE_PREVIEW_UNPREVIEWABLE_TIP_SUFFIX",
|
|
5
|
-
DOWNLOAD = "DOWNLOAD"
|
|
5
|
+
DOWNLOAD = "DOWNLOAD",
|
|
6
|
+
SHOW_ALL_FILES = "SHOW_ALL_FILES",
|
|
7
|
+
COLLAPSE = "COLLAPSE"
|
|
6
8
|
}
|
|
7
9
|
export declare const NS = "bricks/ai-portal/FilePreview";
|
|
8
10
|
export declare const locales: {
|
|
@@ -95,7 +95,7 @@ export interface ToolCall {
|
|
|
95
95
|
title?: string;
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
export type ConversationBaseDetail = Omit<Conversation, "tasks">;
|
|
98
|
+
export type ConversationBaseDetail = Omit<Conversation, "tasks" | "serviceFlows">;
|
|
99
99
|
export interface ConversationPatch extends Omit<Partial<Conversation>, "tasks" | "serviceFlows"> {
|
|
100
100
|
tasks?: TaskPatch[];
|
|
101
101
|
error?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.58.
|
|
3
|
+
"version": "0.58.10",
|
|
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": "7d051a8af1c49d930ded32dd752b28a026f5ed84"
|
|
51
51
|
}
|