@next-bricks/ai-portal 0.28.5 → 0.28.6

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.
@@ -168,15 +168,6 @@
168
168
  "parts": [],
169
169
  "description": "构件 `ai-portal.chat-box`"
170
170
  },
171
- {
172
- "name": "ai-portal.home-container",
173
- "properties": [],
174
- "events": [],
175
- "slots": [],
176
- "methods": [],
177
- "parts": [],
178
- "description": "构件 `ai-portal.home-container`"
179
- },
180
171
  {
181
172
  "name": "ai-portal.chat-history",
182
173
  "properties": [
@@ -214,67 +205,6 @@
214
205
  "parts": [],
215
206
  "description": "构件 `ai-portal.chat-history`"
216
207
  },
217
- {
218
- "name": "ai-portal.stat-with-mini-chart",
219
- "properties": [
220
- {
221
- "name": "label",
222
- "type": "string"
223
- },
224
- {
225
- "name": "value",
226
- "type": "string"
227
- },
228
- {
229
- "name": "size",
230
- "description": "",
231
- "default": "\"medium\"",
232
- "type": "\"medium\" | \"small\""
233
- },
234
- {
235
- "name": "lineColor",
236
- "description": "",
237
- "default": "\"var(--color-brand)\"",
238
- "type": "string"
239
- },
240
- {
241
- "name": "showArea",
242
- "type": "boolean"
243
- },
244
- {
245
- "name": "min",
246
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
247
- "type": "number"
248
- },
249
- {
250
- "name": "max",
251
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
252
- "type": "number"
253
- },
254
- {
255
- "name": "xField",
256
- "description": "",
257
- "default": "\"0\"",
258
- "type": "string"
259
- },
260
- {
261
- "name": "yField",
262
- "description": "",
263
- "default": "\"1\"",
264
- "type": "string"
265
- },
266
- {
267
- "name": "data",
268
- "attribute": false,
269
- "type": "Record<string, number>[]"
270
- }
271
- ],
272
- "events": [],
273
- "slots": [],
274
- "methods": [],
275
- "parts": [],
276
- "description": "构件 `ai-portal.stat-with-mini-chart`"
277
- },
278
208
  {
279
209
  "name": "ai-portal.elevo-logo",
280
210
  "properties": [],
@@ -414,6 +344,67 @@
414
344
  "parts": [],
415
345
  "description": "构件 `ai-portal.show-cases`"
416
346
  },
347
+ {
348
+ "name": "ai-portal.stat-with-mini-chart",
349
+ "properties": [
350
+ {
351
+ "name": "label",
352
+ "type": "string"
353
+ },
354
+ {
355
+ "name": "value",
356
+ "type": "string"
357
+ },
358
+ {
359
+ "name": "size",
360
+ "description": "",
361
+ "default": "\"medium\"",
362
+ "type": "\"medium\" | \"small\""
363
+ },
364
+ {
365
+ "name": "lineColor",
366
+ "description": "",
367
+ "default": "\"var(--color-brand)\"",
368
+ "type": "string"
369
+ },
370
+ {
371
+ "name": "showArea",
372
+ "type": "boolean"
373
+ },
374
+ {
375
+ "name": "min",
376
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
377
+ "type": "number"
378
+ },
379
+ {
380
+ "name": "max",
381
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
382
+ "type": "number"
383
+ },
384
+ {
385
+ "name": "xField",
386
+ "description": "",
387
+ "default": "\"0\"",
388
+ "type": "string"
389
+ },
390
+ {
391
+ "name": "yField",
392
+ "description": "",
393
+ "default": "\"1\"",
394
+ "type": "string"
395
+ },
396
+ {
397
+ "name": "data",
398
+ "attribute": false,
399
+ "type": "Record<string, number>[]"
400
+ }
401
+ ],
402
+ "events": [],
403
+ "slots": [],
404
+ "methods": [],
405
+ "parts": [],
406
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
407
+ },
417
408
  {
418
409
  "name": "ai-portal.mcp-tools",
419
410
  "properties": [
@@ -429,6 +420,41 @@
429
420
  "parts": [],
430
421
  "description": "构件 `ai-portal.mcp-tools`"
431
422
  },
423
+ {
424
+ "name": "ai-portal.ai-employees",
425
+ "properties": [
426
+ {
427
+ "name": "list",
428
+ "attribute": false,
429
+ "type": "Employee[]"
430
+ },
431
+ {
432
+ "name": "industries",
433
+ "attribute": false,
434
+ "type": "string[]"
435
+ }
436
+ ],
437
+ "events": [],
438
+ "slots": [],
439
+ "methods": [],
440
+ "parts": [],
441
+ "description": "构件 `ai-portal.ai-employees`"
442
+ },
443
+ {
444
+ "name": "ai-portal.ai-agents",
445
+ "properties": [
446
+ {
447
+ "name": "list",
448
+ "attribute": false,
449
+ "type": "Agent[]"
450
+ }
451
+ ],
452
+ "events": [],
453
+ "slots": [],
454
+ "methods": [],
455
+ "parts": [],
456
+ "description": "构件 `ai-portal.ai-agents`"
457
+ },
432
458
  {
433
459
  "name": "ai-portal.chat-stream",
434
460
  "properties": [
@@ -529,39 +555,13 @@
529
555
  "description": "构件 `ai-portal.chat-stream`"
530
556
  },
531
557
  {
532
- "name": "ai-portal.ai-employees",
533
- "properties": [
534
- {
535
- "name": "list",
536
- "attribute": false,
537
- "type": "Employee[]"
538
- },
539
- {
540
- "name": "industries",
541
- "attribute": false,
542
- "type": "string[]"
543
- }
544
- ],
545
- "events": [],
546
- "slots": [],
547
- "methods": [],
548
- "parts": [],
549
- "description": "构件 `ai-portal.ai-employees`"
550
- },
551
- {
552
- "name": "ai-portal.ai-agents",
553
- "properties": [
554
- {
555
- "name": "list",
556
- "attribute": false,
557
- "type": "Agent[]"
558
- }
559
- ],
558
+ "name": "ai-portal.home-container",
559
+ "properties": [],
560
560
  "events": [],
561
561
  "slots": [],
562
562
  "methods": [],
563
563
  "parts": [],
564
- "description": "构件 `ai-portal.ai-agents`"
564
+ "description": "构件 `ai-portal.home-container`"
565
565
  }
566
566
  ],
567
567
  "providers": [
package/dist/types.json CHANGED
@@ -1,9 +1,72 @@
1
1
  {
2
- "ai-portal.home-container": {
2
+ "ai-portal.elevo-logo": {
3
3
  "properties": [],
4
4
  "events": [],
5
5
  "methods": []
6
6
  },
7
+ "ai-portal.icon-button": {
8
+ "properties": [
9
+ {
10
+ "name": "icon",
11
+ "annotation": {
12
+ "type": "reference",
13
+ "typeName": {
14
+ "type": "identifier",
15
+ "name": "GeneralIconProps"
16
+ }
17
+ }
18
+ },
19
+ {
20
+ "name": "tooltip",
21
+ "annotation": {
22
+ "type": "keyword",
23
+ "value": "string"
24
+ }
25
+ },
26
+ {
27
+ "name": "disabled",
28
+ "annotation": {
29
+ "type": "keyword",
30
+ "value": "boolean"
31
+ }
32
+ },
33
+ {
34
+ "name": "variant",
35
+ "annotation": {
36
+ "type": "reference",
37
+ "typeName": {
38
+ "type": "identifier",
39
+ "name": "IconButtonVariant"
40
+ }
41
+ }
42
+ }
43
+ ],
44
+ "events": [],
45
+ "methods": [],
46
+ "types": [
47
+ {
48
+ "type": "typeAlias",
49
+ "name": "IconButtonVariant",
50
+ "annotation": {
51
+ "type": "union",
52
+ "types": [
53
+ {
54
+ "type": "jsLiteral",
55
+ "value": "default"
56
+ },
57
+ {
58
+ "type": "jsLiteral",
59
+ "value": "light"
60
+ },
61
+ {
62
+ "type": "jsLiteral",
63
+ "value": "mini"
64
+ }
65
+ ]
66
+ }
67
+ }
68
+ ]
69
+ },
7
70
  "ai-portal.stat-with-mini-chart": {
8
71
  "properties": [
9
72
  {
@@ -108,74 +171,6 @@
108
171
  "events": [],
109
172
  "methods": []
110
173
  },
111
- "ai-portal.elevo-logo": {
112
- "properties": [],
113
- "events": [],
114
- "methods": []
115
- },
116
- "ai-portal.icon-button": {
117
- "properties": [
118
- {
119
- "name": "icon",
120
- "annotation": {
121
- "type": "reference",
122
- "typeName": {
123
- "type": "identifier",
124
- "name": "GeneralIconProps"
125
- }
126
- }
127
- },
128
- {
129
- "name": "tooltip",
130
- "annotation": {
131
- "type": "keyword",
132
- "value": "string"
133
- }
134
- },
135
- {
136
- "name": "disabled",
137
- "annotation": {
138
- "type": "keyword",
139
- "value": "boolean"
140
- }
141
- },
142
- {
143
- "name": "variant",
144
- "annotation": {
145
- "type": "reference",
146
- "typeName": {
147
- "type": "identifier",
148
- "name": "IconButtonVariant"
149
- }
150
- }
151
- }
152
- ],
153
- "events": [],
154
- "methods": [],
155
- "types": [
156
- {
157
- "type": "typeAlias",
158
- "name": "IconButtonVariant",
159
- "annotation": {
160
- "type": "union",
161
- "types": [
162
- {
163
- "type": "jsLiteral",
164
- "value": "default"
165
- },
166
- {
167
- "type": "jsLiteral",
168
- "value": "light"
169
- },
170
- {
171
- "type": "jsLiteral",
172
- "value": "mini"
173
- }
174
- ]
175
- }
176
- }
177
- ]
178
- },
179
174
  "ai-portal.save-request-store": {
180
175
  "type": "provider",
181
176
  "params": [
@@ -293,6 +288,11 @@
293
288
  }
294
289
  }
295
290
  },
291
+ "ai-portal.home-container": {
292
+ "properties": [],
293
+ "events": [],
294
+ "methods": []
295
+ },
296
296
  "ai-portal.chat-box": {
297
297
  "properties": [
298
298
  {
@@ -1214,7 +1214,7 @@
1214
1214
  "type": "propertySignature",
1215
1215
  "key": {
1216
1216
  "type": "identifier",
1217
- "name": "time"
1217
+ "name": "startTime"
1218
1218
  },
1219
1219
  "annotation": {
1220
1220
  "type": "keyword",
@@ -4,7 +4,7 @@ import type { TaskState } from "../cruise-canvas/interfaces.js";
4
4
  export interface HistoryItem {
5
5
  conversationId: string;
6
6
  title: string;
7
- time: number;
7
+ startTime: number;
8
8
  state?: TaskState;
9
9
  }
10
10
  export interface GroupedHistory {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.28.5",
3
+ "version": "0.28.6",
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": "ef4c4458a81ef7c9b5a24a6c4b034f227245885a"
49
+ "gitHead": "df9b4f8e7bd094b998c4123662052666f31ab0c5"
50
50
  }