@next-bricks/ai-portal 0.27.2 → 0.27.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.
@@ -3,15 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.home-container",
8
- "properties": [],
9
- "events": [],
10
- "slots": [],
11
- "methods": [],
12
- "parts": [],
13
- "description": "构件 `ai-portal.home-container`"
14
- },
15
6
  {
16
7
  "name": "ai-portal.chat-box",
17
8
  "properties": [
@@ -51,41 +42,65 @@
51
42
  "description": "构件 `ai-portal.chat-box`"
52
43
  },
53
44
  {
54
- "name": "ai-portal.chat-history",
45
+ "name": "ai-portal.stat-with-mini-chart",
55
46
  "properties": [
56
47
  {
57
- "name": "list",
58
- "attribute": false,
59
- "type": "HistoryItem[]"
48
+ "name": "label",
49
+ "type": "string"
60
50
  },
61
51
  {
62
- "name": "actions",
63
- "attribute": false,
64
- "type": "ActionType[]"
52
+ "name": "value",
53
+ "type": "string"
65
54
  },
66
55
  {
67
- "name": "nextToken",
56
+ "name": "size",
57
+ "description": "",
58
+ "default": "\"medium\"",
59
+ "type": "\"medium\" | \"small\""
60
+ },
61
+ {
62
+ "name": "lineColor",
63
+ "description": "",
64
+ "default": "\"var(--color-brand)\"",
68
65
  "type": "string"
69
- }
70
- ],
71
- "events": [
66
+ },
72
67
  {
73
- "name": "action.click",
74
- "detail": {
75
- "type": "ActionClickDetail"
76
- }
68
+ "name": "showArea",
69
+ "type": "boolean"
77
70
  },
78
71
  {
79
- "name": "load.more",
80
- "detail": {
81
- "type": "{ nextToken: string }"
82
- }
72
+ "name": "min",
73
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
74
+ "type": "number"
75
+ },
76
+ {
77
+ "name": "max",
78
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
79
+ "type": "number"
80
+ },
81
+ {
82
+ "name": "xField",
83
+ "description": "",
84
+ "default": "\"0\"",
85
+ "type": "string"
86
+ },
87
+ {
88
+ "name": "yField",
89
+ "description": "",
90
+ "default": "\"1\"",
91
+ "type": "string"
92
+ },
93
+ {
94
+ "name": "data",
95
+ "attribute": false,
96
+ "type": "Record<string, number>[]"
83
97
  }
84
98
  ],
99
+ "events": [],
85
100
  "slots": [],
86
101
  "methods": [],
87
102
  "parts": [],
88
- "description": "构件 `ai-portal.chat-history`"
103
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
89
104
  },
90
105
  {
91
106
  "name": "ai-portal.elevo-logo",
@@ -231,26 +246,6 @@
231
246
  "parts": [],
232
247
  "description": "构件 `ai-portal.mcp-tools`"
233
248
  },
234
- {
235
- "name": "ai-portal.ai-employees",
236
- "properties": [
237
- {
238
- "name": "list",
239
- "attribute": false,
240
- "type": "Employee[]"
241
- },
242
- {
243
- "name": "industries",
244
- "attribute": false,
245
- "type": "string[]"
246
- }
247
- ],
248
- "events": [],
249
- "slots": [],
250
- "methods": [],
251
- "parts": [],
252
- "description": "构件 `ai-portal.ai-employees`"
253
- },
254
249
  {
255
250
  "name": "ai-portal.chat-stream",
256
251
  "properties": [
@@ -350,67 +345,6 @@
350
345
  "parts": [],
351
346
  "description": "构件 `ai-portal.chat-stream`"
352
347
  },
353
- {
354
- "name": "ai-portal.stat-with-mini-chart",
355
- "properties": [
356
- {
357
- "name": "label",
358
- "type": "string"
359
- },
360
- {
361
- "name": "value",
362
- "type": "string"
363
- },
364
- {
365
- "name": "size",
366
- "description": "",
367
- "default": "\"medium\"",
368
- "type": "\"medium\" | \"small\""
369
- },
370
- {
371
- "name": "lineColor",
372
- "description": "",
373
- "default": "\"var(--color-brand)\"",
374
- "type": "string"
375
- },
376
- {
377
- "name": "showArea",
378
- "type": "boolean"
379
- },
380
- {
381
- "name": "min",
382
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
383
- "type": "number"
384
- },
385
- {
386
- "name": "max",
387
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
388
- "type": "number"
389
- },
390
- {
391
- "name": "xField",
392
- "description": "",
393
- "default": "\"0\"",
394
- "type": "string"
395
- },
396
- {
397
- "name": "yField",
398
- "description": "",
399
- "default": "\"1\"",
400
- "type": "string"
401
- },
402
- {
403
- "name": "data",
404
- "attribute": false,
405
- "type": "Record<string, number>[]"
406
- }
407
- ],
408
- "events": [],
409
- "slots": [],
410
- "methods": [],
411
- "parts": [],
412
- "description": "构件 `ai-portal.stat-with-mini-chart`"
413
- },
414
348
  {
415
349
  "name": "ai-portal.cruise-canvas",
416
350
  "properties": [
@@ -538,6 +472,26 @@
538
472
  "parts": [],
539
473
  "description": "构件 `ai-portal.cruise-canvas`"
540
474
  },
475
+ {
476
+ "name": "ai-portal.ai-employees",
477
+ "properties": [
478
+ {
479
+ "name": "list",
480
+ "attribute": false,
481
+ "type": "Employee[]"
482
+ },
483
+ {
484
+ "name": "industries",
485
+ "attribute": false,
486
+ "type": "string[]"
487
+ }
488
+ ],
489
+ "events": [],
490
+ "slots": [],
491
+ "methods": [],
492
+ "parts": [],
493
+ "description": "构件 `ai-portal.ai-employees`"
494
+ },
541
495
  {
542
496
  "name": "ai-portal.ai-agents",
543
497
  "properties": [
@@ -552,6 +506,52 @@
552
506
  "methods": [],
553
507
  "parts": [],
554
508
  "description": "构件 `ai-portal.ai-agents`"
509
+ },
510
+ {
511
+ "name": "ai-portal.home-container",
512
+ "properties": [],
513
+ "events": [],
514
+ "slots": [],
515
+ "methods": [],
516
+ "parts": [],
517
+ "description": "构件 `ai-portal.home-container`"
518
+ },
519
+ {
520
+ "name": "ai-portal.chat-history",
521
+ "properties": [
522
+ {
523
+ "name": "list",
524
+ "attribute": false,
525
+ "type": "HistoryItem[]"
526
+ },
527
+ {
528
+ "name": "actions",
529
+ "attribute": false,
530
+ "type": "ActionType[]"
531
+ },
532
+ {
533
+ "name": "nextToken",
534
+ "type": "string"
535
+ }
536
+ ],
537
+ "events": [
538
+ {
539
+ "name": "action.click",
540
+ "detail": {
541
+ "type": "ActionClickDetail"
542
+ }
543
+ },
544
+ {
545
+ "name": "load.more",
546
+ "detail": {
547
+ "type": "{ nextToken: string }"
548
+ }
549
+ }
550
+ ],
551
+ "slots": [],
552
+ "methods": [],
553
+ "parts": [],
554
+ "description": "构件 `ai-portal.chat-history`"
555
555
  }
556
556
  ],
557
557
  "providers": [