@next-bricks/ai-portal 0.26.0 → 0.26.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,44 +3,6 @@
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": "suggestions",
23
- "attribute": false,
24
- "type": "Suggestion[]"
25
- },
26
- {
27
- "name": "suggestionsLabel",
28
- "type": "string"
29
- }
30
- ],
31
- "events": [
32
- {
33
- "name": "message.submit",
34
- "detail": {
35
- "type": "string"
36
- }
37
- }
38
- ],
39
- "slots": [],
40
- "methods": [],
41
- "parts": [],
42
- "description": "构件 `ai-portal.chat-box`"
43
- },
44
6
  {
45
7
  "name": "ai-portal.cruise-canvas",
46
8
  "properties": [
@@ -152,13 +114,41 @@
152
114
  "description": "构件 `ai-portal.cruise-canvas`"
153
115
  },
154
116
  {
155
- "name": "ai-portal.home-container",
156
- "properties": [],
157
- "events": [],
117
+ "name": "ai-portal.chat-history",
118
+ "properties": [
119
+ {
120
+ "name": "list",
121
+ "attribute": false,
122
+ "type": "HistoryItem[]"
123
+ },
124
+ {
125
+ "name": "actions",
126
+ "attribute": false,
127
+ "type": "ActionType[]"
128
+ },
129
+ {
130
+ "name": "nextToken",
131
+ "type": "string"
132
+ }
133
+ ],
134
+ "events": [
135
+ {
136
+ "name": "action.click",
137
+ "detail": {
138
+ "type": "ActionClickDetail"
139
+ }
140
+ },
141
+ {
142
+ "name": "load.more",
143
+ "detail": {
144
+ "type": "{ nextToken: string }"
145
+ }
146
+ }
147
+ ],
158
148
  "slots": [],
159
149
  "methods": [],
160
150
  "parts": [],
161
- "description": "构件 `ai-portal.home-container`"
151
+ "description": "构件 `ai-portal.chat-history`"
162
152
  },
163
153
  {
164
154
  "name": "ai-portal.stat-with-mini-chart",
@@ -221,43 +211,6 @@
221
211
  "parts": [],
222
212
  "description": "构件 `ai-portal.stat-with-mini-chart`"
223
213
  },
224
- {
225
- "name": "ai-portal.chat-history",
226
- "properties": [
227
- {
228
- "name": "list",
229
- "attribute": false,
230
- "type": "HistoryItem[]"
231
- },
232
- {
233
- "name": "actions",
234
- "attribute": false,
235
- "type": "ActionType[]"
236
- },
237
- {
238
- "name": "nextToken",
239
- "type": "string"
240
- }
241
- ],
242
- "events": [
243
- {
244
- "name": "action.click",
245
- "detail": {
246
- "type": "ActionClickDetail"
247
- }
248
- },
249
- {
250
- "name": "load.more",
251
- "detail": {
252
- "type": "{ nextToken: string }"
253
- }
254
- }
255
- ],
256
- "slots": [],
257
- "methods": [],
258
- "parts": [],
259
- "description": "构件 `ai-portal.chat-history`"
260
- },
261
214
  {
262
215
  "name": "ai-portal.elevo-logo",
263
216
  "properties": [],
@@ -267,33 +220,6 @@
267
220
  "parts": [],
268
221
  "description": "Elevo Logo"
269
222
  },
270
- {
271
- "name": "ai-portal.icon-button",
272
- "properties": [
273
- {
274
- "name": "icon",
275
- "attribute": false,
276
- "type": "GeneralIconProps"
277
- },
278
- {
279
- "name": "tooltip",
280
- "type": "string"
281
- },
282
- {
283
- "name": "disabled",
284
- "type": "boolean"
285
- },
286
- {
287
- "name": "variant",
288
- "type": "IconButtonVariant"
289
- }
290
- ],
291
- "events": [],
292
- "slots": [],
293
- "methods": [],
294
- "parts": [],
295
- "description": "构件 `ai-portal.icon-button`"
296
- },
297
223
  {
298
224
  "name": "ai-portal.elevo-sidebar",
299
225
  "properties": [
@@ -368,6 +294,33 @@
368
294
  "parts": [],
369
295
  "description": "构件 `ai-portal.elevo-sidebar`"
370
296
  },
297
+ {
298
+ "name": "ai-portal.icon-button",
299
+ "properties": [
300
+ {
301
+ "name": "icon",
302
+ "attribute": false,
303
+ "type": "GeneralIconProps"
304
+ },
305
+ {
306
+ "name": "tooltip",
307
+ "type": "string"
308
+ },
309
+ {
310
+ "name": "disabled",
311
+ "type": "boolean"
312
+ },
313
+ {
314
+ "name": "variant",
315
+ "type": "IconButtonVariant"
316
+ }
317
+ ],
318
+ "events": [],
319
+ "slots": [],
320
+ "methods": [],
321
+ "parts": [],
322
+ "description": "构件 `ai-portal.icon-button`"
323
+ },
371
324
  {
372
325
  "name": "ai-portal.show-cases",
373
326
  "properties": [
@@ -403,24 +356,13 @@
403
356
  "description": "构件 `ai-portal.mcp-tools`"
404
357
  },
405
358
  {
406
- "name": "ai-portal.ai-employees",
407
- "properties": [
408
- {
409
- "name": "list",
410
- "attribute": false,
411
- "type": "Employee[]"
412
- },
413
- {
414
- "name": "industries",
415
- "attribute": false,
416
- "type": "string[]"
417
- }
418
- ],
359
+ "name": "ai-portal.home-container",
360
+ "properties": [],
419
361
  "events": [],
420
362
  "slots": [],
421
363
  "methods": [],
422
364
  "parts": [],
423
- "description": "构件 `ai-portal.ai-employees`"
365
+ "description": "构件 `ai-portal.home-container`"
424
366
  },
425
367
  {
426
368
  "name": "ai-portal.chat-stream",
@@ -514,6 +456,26 @@
514
456
  "parts": [],
515
457
  "description": "构件 `ai-portal.chat-stream`"
516
458
  },
459
+ {
460
+ "name": "ai-portal.ai-employees",
461
+ "properties": [
462
+ {
463
+ "name": "list",
464
+ "attribute": false,
465
+ "type": "Employee[]"
466
+ },
467
+ {
468
+ "name": "industries",
469
+ "attribute": false,
470
+ "type": "string[]"
471
+ }
472
+ ],
473
+ "events": [],
474
+ "slots": [],
475
+ "methods": [],
476
+ "parts": [],
477
+ "description": "构件 `ai-portal.ai-employees`"
478
+ },
517
479
  {
518
480
  "name": "ai-portal.ai-agents",
519
481
  "properties": [
@@ -528,6 +490,44 @@
528
490
  "methods": [],
529
491
  "parts": [],
530
492
  "description": "构件 `ai-portal.ai-agents`"
493
+ },
494
+ {
495
+ "name": "ai-portal.chat-box",
496
+ "properties": [
497
+ {
498
+ "name": "disabled",
499
+ "type": "boolean"
500
+ },
501
+ {
502
+ "name": "placeholder",
503
+ "type": "string"
504
+ },
505
+ {
506
+ "name": "autoFocus",
507
+ "type": "boolean"
508
+ },
509
+ {
510
+ "name": "suggestions",
511
+ "attribute": false,
512
+ "type": "Suggestion[]"
513
+ },
514
+ {
515
+ "name": "suggestionsLabel",
516
+ "type": "string"
517
+ }
518
+ ],
519
+ "events": [
520
+ {
521
+ "name": "message.submit",
522
+ "detail": {
523
+ "type": "string"
524
+ }
525
+ }
526
+ ],
527
+ "slots": [],
528
+ "methods": [],
529
+ "parts": [],
530
+ "description": "构件 `ai-portal.chat-box`"
531
531
  }
532
532
  ],
533
533
  "providers": []
package/dist/types.json CHANGED
@@ -1,9 +1,4 @@
1
1
  {
2
- "ai-portal.home-container": {
3
- "properties": [],
4
- "events": [],
5
- "methods": []
6
- },
7
2
  "ai-portal.stat-with-mini-chart": {
8
3
  "properties": [
9
4
  {
@@ -176,94 +171,10 @@
176
171
  }
177
172
  ]
178
173
  },
179
- "ai-portal.chat-box": {
180
- "properties": [
181
- {
182
- "name": "disabled",
183
- "annotation": {
184
- "type": "keyword",
185
- "value": "boolean"
186
- }
187
- },
188
- {
189
- "name": "placeholder",
190
- "annotation": {
191
- "type": "keyword",
192
- "value": "string"
193
- }
194
- },
195
- {
196
- "name": "autoFocus",
197
- "annotation": {
198
- "type": "keyword",
199
- "value": "boolean"
200
- }
201
- },
202
- {
203
- "name": "suggestions",
204
- "annotation": {
205
- "type": "array",
206
- "elementType": {
207
- "type": "reference",
208
- "typeName": {
209
- "type": "identifier",
210
- "name": "Suggestion"
211
- }
212
- }
213
- }
214
- },
215
- {
216
- "name": "suggestionsLabel",
217
- "annotation": {
218
- "type": "keyword",
219
- "value": "string"
220
- }
221
- }
222
- ],
223
- "events": [
224
- {
225
- "name": "message.submit",
226
- "detail": {
227
- "annotation": {
228
- "type": "keyword",
229
- "value": "string"
230
- }
231
- }
232
- }
233
- ],
234
- "methods": [],
235
- "types": [
236
- {
237
- "type": "interface",
238
- "name": "Suggestion",
239
- "body": [
240
- {
241
- "type": "propertySignature",
242
- "key": {
243
- "type": "identifier",
244
- "name": "title"
245
- },
246
- "annotation": {
247
- "type": "keyword",
248
- "value": "string"
249
- },
250
- "computed": false
251
- },
252
- {
253
- "type": "propertySignature",
254
- "key": {
255
- "type": "identifier",
256
- "name": "content"
257
- },
258
- "annotation": {
259
- "type": "keyword",
260
- "value": "string"
261
- },
262
- "computed": false
263
- }
264
- ]
265
- }
266
- ]
174
+ "ai-portal.home-container": {
175
+ "properties": [],
176
+ "events": [],
177
+ "methods": []
267
178
  },
268
179
  "ai-portal.chat-history": {
269
180
  "properties": [
@@ -834,6 +745,95 @@
834
745
  }
835
746
  ]
836
747
  },
748
+ "ai-portal.chat-box": {
749
+ "properties": [
750
+ {
751
+ "name": "disabled",
752
+ "annotation": {
753
+ "type": "keyword",
754
+ "value": "boolean"
755
+ }
756
+ },
757
+ {
758
+ "name": "placeholder",
759
+ "annotation": {
760
+ "type": "keyword",
761
+ "value": "string"
762
+ }
763
+ },
764
+ {
765
+ "name": "autoFocus",
766
+ "annotation": {
767
+ "type": "keyword",
768
+ "value": "boolean"
769
+ }
770
+ },
771
+ {
772
+ "name": "suggestions",
773
+ "annotation": {
774
+ "type": "array",
775
+ "elementType": {
776
+ "type": "reference",
777
+ "typeName": {
778
+ "type": "identifier",
779
+ "name": "Suggestion"
780
+ }
781
+ }
782
+ }
783
+ },
784
+ {
785
+ "name": "suggestionsLabel",
786
+ "annotation": {
787
+ "type": "keyword",
788
+ "value": "string"
789
+ }
790
+ }
791
+ ],
792
+ "events": [
793
+ {
794
+ "name": "message.submit",
795
+ "detail": {
796
+ "annotation": {
797
+ "type": "keyword",
798
+ "value": "string"
799
+ }
800
+ }
801
+ }
802
+ ],
803
+ "methods": [],
804
+ "types": [
805
+ {
806
+ "type": "interface",
807
+ "name": "Suggestion",
808
+ "body": [
809
+ {
810
+ "type": "propertySignature",
811
+ "key": {
812
+ "type": "identifier",
813
+ "name": "title"
814
+ },
815
+ "annotation": {
816
+ "type": "keyword",
817
+ "value": "string"
818
+ },
819
+ "computed": false
820
+ },
821
+ {
822
+ "type": "propertySignature",
823
+ "key": {
824
+ "type": "identifier",
825
+ "name": "content"
826
+ },
827
+ "annotation": {
828
+ "type": "keyword",
829
+ "value": "string"
830
+ },
831
+ "computed": false
832
+ }
833
+ ]
834
+ }
835
+ ]
836
+ },
837
837
  "ai-portal.elevo-sidebar": {
838
838
  "properties": [
839
839
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.26.0",
3
+ "version": "0.26.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -46,5 +46,5 @@
46
46
  "@next-bricks/presentational": "*",
47
47
  "@next-bricks/vs": "*"
48
48
  },
49
- "gitHead": "d96470fb1a51a23b996517ea3623c61f44de5022"
49
+ "gitHead": "af170fa7f6a35fd6ee07e0dcc41a02d4323a8d4c"
50
50
  }