@next-bricks/ai-portal 0.58.4 → 0.58.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.
@@ -4,80 +4,65 @@
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
6
  {
7
- "name": "ai-portal.chat-box",
7
+ "name": "ai-portal.stat-with-mini-chart",
8
8
  "properties": [
9
9
  {
10
- "name": "disabled",
11
- "type": "boolean"
10
+ "name": "label",
11
+ "type": "string"
12
12
  },
13
13
  {
14
- "name": "placeholder",
14
+ "name": "value",
15
15
  "type": "string"
16
16
  },
17
17
  {
18
- "name": "autoFocus",
19
- "type": "boolean"
18
+ "name": "size",
19
+ "description": "",
20
+ "default": "\"medium\"",
21
+ "type": "\"medium\" | \"small\""
20
22
  },
21
23
  {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
24
+ "name": "lineColor",
25
+ "description": "",
26
+ "default": "\"var(--color-brand)\"",
27
+ "type": "string"
25
28
  },
26
29
  {
27
- "name": "commands",
28
- "attribute": false,
29
- "type": "Command[]"
30
+ "name": "showArea",
31
+ "type": "boolean"
30
32
  },
31
33
  {
32
- "name": "uploadOptions",
33
- "attribute": false,
34
- "type": "UploadOptions"
35
- }
36
- ],
37
- "events": [
38
- {
39
- "name": "message.submit",
40
- "description": "",
41
- "deprecated": "Use `chat.submit` event instead",
42
- "detail": {
43
- "type": "string"
44
- }
34
+ "name": "min",
35
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
36
+ "type": "number"
45
37
  },
46
38
  {
47
- "name": "chat.submit",
48
- "detail": {
49
- "type": "ChatPayload"
50
- }
39
+ "name": "max",
40
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
41
+ "type": "number"
51
42
  },
52
43
  {
53
- "name": "command.select",
54
- "detail": {
55
- "type": "CommandPayload | null"
56
- }
57
- }
58
- ],
59
- "slots": [],
60
- "methods": [
61
- {
62
- "name": "setValue",
63
- "params": [
64
- {
65
- "name": "value",
66
- "type": "string"
67
- }
68
- ]
44
+ "name": "xField",
45
+ "description": "",
46
+ "default": "\"0\"",
47
+ "type": "string"
69
48
  },
70
49
  {
71
- "name": "getValue",
72
- "params": []
50
+ "name": "yField",
51
+ "description": "",
52
+ "default": "\"1\"",
53
+ "type": "string"
73
54
  },
74
55
  {
75
- "name": "focusOnInput",
76
- "params": []
56
+ "name": "data",
57
+ "attribute": false,
58
+ "type": "Record<string, number>[]"
77
59
  }
78
60
  ],
61
+ "events": [],
62
+ "slots": [],
63
+ "methods": [],
79
64
  "parts": [],
80
- "description": "构件 `ai-portal.chat-box`"
65
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
81
66
  },
82
67
  {
83
68
  "name": "ai-portal.cruise-canvas",
@@ -238,6 +223,82 @@
238
223
  "parts": [],
239
224
  "description": "构件 `ai-portal.cruise-canvas`"
240
225
  },
226
+ {
227
+ "name": "ai-portal.chat-box",
228
+ "properties": [
229
+ {
230
+ "name": "disabled",
231
+ "type": "boolean"
232
+ },
233
+ {
234
+ "name": "placeholder",
235
+ "type": "string"
236
+ },
237
+ {
238
+ "name": "autoFocus",
239
+ "type": "boolean"
240
+ },
241
+ {
242
+ "name": "aiEmployees",
243
+ "attribute": false,
244
+ "type": "AIEmployee[]"
245
+ },
246
+ {
247
+ "name": "commands",
248
+ "attribute": false,
249
+ "type": "Command[]"
250
+ },
251
+ {
252
+ "name": "uploadOptions",
253
+ "attribute": false,
254
+ "type": "UploadOptions"
255
+ }
256
+ ],
257
+ "events": [
258
+ {
259
+ "name": "message.submit",
260
+ "description": "",
261
+ "deprecated": "Use `chat.submit` event instead",
262
+ "detail": {
263
+ "type": "string"
264
+ }
265
+ },
266
+ {
267
+ "name": "chat.submit",
268
+ "detail": {
269
+ "type": "ChatPayload"
270
+ }
271
+ },
272
+ {
273
+ "name": "command.select",
274
+ "detail": {
275
+ "type": "CommandPayload | null"
276
+ }
277
+ }
278
+ ],
279
+ "slots": [],
280
+ "methods": [
281
+ {
282
+ "name": "setValue",
283
+ "params": [
284
+ {
285
+ "name": "value",
286
+ "type": "string"
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "name": "getValue",
292
+ "params": []
293
+ },
294
+ {
295
+ "name": "focusOnInput",
296
+ "params": []
297
+ }
298
+ ],
299
+ "parts": [],
300
+ "description": "构件 `ai-portal.chat-box`"
301
+ },
241
302
  {
242
303
  "name": "ai-portal.elevo-sidebar",
243
304
  "properties": [
@@ -443,36 +504,6 @@
443
504
  "parts": [],
444
505
  "description": "构件 `ai-portal.mcp-tools`"
445
506
  },
446
- {
447
- "name": "ai-portal.ai-employees",
448
- "properties": [
449
- {
450
- "name": "list",
451
- "attribute": false,
452
- "type": "Employee[]"
453
- },
454
- {
455
- "name": "industries",
456
- "attribute": false,
457
- "type": "string[]"
458
- },
459
- {
460
- "name": "urlTemplate",
461
- "type": "string"
462
- },
463
- {
464
- "name": "withContainer",
465
- "description": "",
466
- "deprecated": true,
467
- "default": "true"
468
- }
469
- ],
470
- "events": [],
471
- "slots": [],
472
- "methods": [],
473
- "parts": [],
474
- "description": "构件 `ai-portal.ai-employees`"
475
- },
476
507
  {
477
508
  "name": "ai-portal.chat-stream",
478
509
  "properties": [
@@ -631,12 +662,17 @@
631
662
  "description": "构件 `ai-portal.chat-stream`"
632
663
  },
633
664
  {
634
- "name": "ai-portal.ai-agents",
665
+ "name": "ai-portal.ai-employees",
635
666
  "properties": [
636
667
  {
637
668
  "name": "list",
638
669
  "attribute": false,
639
- "type": "Agent[]"
670
+ "type": "Employee[]"
671
+ },
672
+ {
673
+ "name": "industries",
674
+ "attribute": false,
675
+ "type": "string[]"
640
676
  },
641
677
  {
642
678
  "name": "urlTemplate",
@@ -653,43 +689,32 @@
653
689
  "slots": [],
654
690
  "methods": [],
655
691
  "parts": [],
656
- "description": "构件 `ai-portal.ai-agents`"
692
+ "description": "构件 `ai-portal.ai-employees`"
657
693
  },
658
694
  {
659
- "name": "ai-portal.tab-list",
695
+ "name": "ai-portal.ai-agents",
660
696
  "properties": [
661
697
  {
662
- "name": "tabs",
698
+ "name": "list",
663
699
  "attribute": false,
664
- "type": "Tab[]"
700
+ "type": "Agent[]"
665
701
  },
666
702
  {
667
- "name": "activeTab",
668
- "attribute": false,
703
+ "name": "urlTemplate",
669
704
  "type": "string"
670
- }
671
- ],
672
- "events": [
705
+ },
673
706
  {
674
- "name": "tab.click",
675
- "detail": {
676
- "type": "Tab"
677
- }
707
+ "name": "withContainer",
708
+ "description": "",
709
+ "deprecated": true,
710
+ "default": "true"
678
711
  }
679
712
  ],
713
+ "events": [],
680
714
  "slots": [],
681
715
  "methods": [],
682
- "parts": [
683
- {
684
- "name": "tabs",
685
- "description": "The tab list container"
686
- },
687
- {
688
- "name": "tab",
689
- "description": "The individual tab"
690
- }
691
- ],
692
- "description": "构件 `ai-portal.tab-list`"
716
+ "parts": [],
717
+ "description": "构件 `ai-portal.ai-agents`"
693
718
  },
694
719
  {
695
720
  "name": "ai-portal.page-container",
@@ -737,24 +762,79 @@
737
762
  "description": "构件 `ai-portal.page-container`"
738
763
  },
739
764
  {
740
- "name": "ai-portal.dropdown-select",
765
+ "name": "ai-portal.tab-list",
741
766
  "properties": [
742
767
  {
743
- "name": "value",
744
- "type": "string"
745
- },
746
- {
747
- "name": "options",
768
+ "name": "tabs",
748
769
  "attribute": false,
749
- "type": "DropdownOptions[]"
770
+ "type": "Tab[]"
750
771
  },
751
772
  {
752
- "name": "labelMaxWidth",
773
+ "name": "activeTab",
753
774
  "attribute": false,
754
- "type": "string | number"
755
- },
775
+ "type": "string"
776
+ }
777
+ ],
778
+ "events": [
756
779
  {
757
- "name": "loading",
780
+ "name": "tab.click",
781
+ "detail": {
782
+ "type": "Tab"
783
+ }
784
+ }
785
+ ],
786
+ "slots": [],
787
+ "methods": [],
788
+ "parts": [
789
+ {
790
+ "name": "tabs",
791
+ "description": "The tab list container"
792
+ },
793
+ {
794
+ "name": "tab",
795
+ "description": "The individual tab"
796
+ }
797
+ ],
798
+ "description": "构件 `ai-portal.tab-list`"
799
+ },
800
+ {
801
+ "name": "ai-portal.preview-container",
802
+ "properties": [
803
+ {
804
+ "name": "source",
805
+ "attribute": false,
806
+ "type": "string"
807
+ },
808
+ {
809
+ "name": "url",
810
+ "type": "string"
811
+ }
812
+ ],
813
+ "events": [],
814
+ "slots": [],
815
+ "methods": [],
816
+ "parts": [],
817
+ "description": "构件 `ai-portal.preview-container`"
818
+ },
819
+ {
820
+ "name": "ai-portal.dropdown-select",
821
+ "properties": [
822
+ {
823
+ "name": "value",
824
+ "type": "string"
825
+ },
826
+ {
827
+ "name": "options",
828
+ "attribute": false,
829
+ "type": "DropdownOptions[]"
830
+ },
831
+ {
832
+ "name": "labelMaxWidth",
833
+ "attribute": false,
834
+ "type": "string | number"
835
+ },
836
+ {
837
+ "name": "loading",
758
838
  "type": "boolean"
759
839
  },
760
840
  {
@@ -793,25 +873,6 @@
793
873
  "parts": [],
794
874
  "description": "构件 `ai-portal.dropdown-select`"
795
875
  },
796
- {
797
- "name": "ai-portal.preview-container",
798
- "properties": [
799
- {
800
- "name": "source",
801
- "attribute": false,
802
- "type": "string"
803
- },
804
- {
805
- "name": "url",
806
- "type": "string"
807
- }
808
- ],
809
- "events": [],
810
- "slots": [],
811
- "methods": [],
812
- "parts": [],
813
- "description": "构件 `ai-portal.preview-container`"
814
- },
815
876
  {
816
877
  "name": "ai-portal.home-container",
817
878
  "properties": [
@@ -915,67 +976,6 @@
915
976
  "parts": [],
916
977
  "description": "构件 `ai-portal.goal-card-list`"
917
978
  },
918
- {
919
- "name": "ai-portal.stat-with-mini-chart",
920
- "properties": [
921
- {
922
- "name": "label",
923
- "type": "string"
924
- },
925
- {
926
- "name": "value",
927
- "type": "string"
928
- },
929
- {
930
- "name": "size",
931
- "description": "",
932
- "default": "\"medium\"",
933
- "type": "\"medium\" | \"small\""
934
- },
935
- {
936
- "name": "lineColor",
937
- "description": "",
938
- "default": "\"var(--color-brand)\"",
939
- "type": "string"
940
- },
941
- {
942
- "name": "showArea",
943
- "type": "boolean"
944
- },
945
- {
946
- "name": "min",
947
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
948
- "type": "number"
949
- },
950
- {
951
- "name": "max",
952
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
953
- "type": "number"
954
- },
955
- {
956
- "name": "xField",
957
- "description": "",
958
- "default": "\"0\"",
959
- "type": "string"
960
- },
961
- {
962
- "name": "yField",
963
- "description": "",
964
- "default": "\"1\"",
965
- "type": "string"
966
- },
967
- {
968
- "name": "data",
969
- "attribute": false,
970
- "type": "Record<string, number>[]"
971
- }
972
- ],
973
- "events": [],
974
- "slots": [],
975
- "methods": [],
976
- "parts": [],
977
- "description": "构件 `ai-portal.stat-with-mini-chart`"
978
- },
979
979
  {
980
980
  "name": "ai-portal.project-conversations",
981
981
  "properties": [
@@ -1161,6 +1161,24 @@
1161
1161
  "parts": [],
1162
1162
  "description": "构件 `ai-portal.show-case`"
1163
1163
  },
1164
+ {
1165
+ "name": "ai-portal.blank-state",
1166
+ "properties": [
1167
+ {
1168
+ "name": "illustration",
1169
+ "type": "BlankStateIllustration"
1170
+ },
1171
+ {
1172
+ "name": "description",
1173
+ "type": "string"
1174
+ }
1175
+ ],
1176
+ "events": [],
1177
+ "slots": [],
1178
+ "methods": [],
1179
+ "parts": [],
1180
+ "description": "构件 `ai-portal.blank-state`"
1181
+ },
1164
1182
  {
1165
1183
  "name": "ai-portal.sticky-container",
1166
1184
  "properties": [
@@ -1195,24 +1213,6 @@
1195
1213
  "parts": [],
1196
1214
  "description": "构件 `ai-portal.sticky-container`"
1197
1215
  },
1198
- {
1199
- "name": "ai-portal.blank-state",
1200
- "properties": [
1201
- {
1202
- "name": "illustration",
1203
- "type": "BlankStateIllustration"
1204
- },
1205
- {
1206
- "name": "description",
1207
- "type": "string"
1208
- }
1209
- ],
1210
- "events": [],
1211
- "slots": [],
1212
- "methods": [],
1213
- "parts": [],
1214
- "description": "构件 `ai-portal.blank-state`"
1215
- },
1216
1216
  {
1217
1217
  "name": "ai-portal.elevo-card",
1218
1218
  "properties": [
@@ -1271,93 +1271,6 @@
1271
1271
  "parts": [],
1272
1272
  "description": "构件 `ai-portal.flow-tabs`"
1273
1273
  },
1274
- {
1275
- "name": "ai-portal.stage-flow",
1276
- "properties": [
1277
- {
1278
- "name": "spec",
1279
- "attribute": false,
1280
- "type": "Stage[]"
1281
- },
1282
- {
1283
- "name": "aiEmployees",
1284
- "attribute": false,
1285
- "type": "AIEmployee[]"
1286
- },
1287
- {
1288
- "name": "readOnly",
1289
- "type": "boolean"
1290
- }
1291
- ],
1292
- "events": [
1293
- {
1294
- "name": "change",
1295
- "detail": {
1296
- "type": "Stage[]"
1297
- }
1298
- },
1299
- {
1300
- "name": "add.activity",
1301
- "detail": {
1302
- "type": "{ stage: Stage }"
1303
- }
1304
- },
1305
- {
1306
- "name": "edit.activity",
1307
- "detail": {
1308
- "type": "EditActivityDetail"
1309
- }
1310
- }
1311
- ],
1312
- "slots": [],
1313
- "methods": [
1314
- {
1315
- "name": "addActivity",
1316
- "params": [
1317
- {
1318
- "name": "stage",
1319
- "type": "Stage"
1320
- },
1321
- {
1322
- "name": "activity",
1323
- "type": "FlowActivity"
1324
- }
1325
- ]
1326
- },
1327
- {
1328
- "name": "editActivity",
1329
- "params": [
1330
- {
1331
- "name": "stage",
1332
- "type": "Stage"
1333
- },
1334
- {
1335
- "name": "activity",
1336
- "type": "FlowActivity"
1337
- },
1338
- {
1339
- "name": "activityIndex",
1340
- "type": "number"
1341
- }
1342
- ]
1343
- },
1344
- {
1345
- "name": "deleteActivity",
1346
- "params": [
1347
- {
1348
- "name": "stage",
1349
- "type": "Stage"
1350
- },
1351
- {
1352
- "name": "activityIndex",
1353
- "type": "number"
1354
- }
1355
- ]
1356
- }
1357
- ],
1358
- "parts": [],
1359
- "description": "构件 `ai-portal.stage-flow`"
1360
- },
1361
1274
  {
1362
1275
  "name": "ai-portal.running-flow",
1363
1276
  "properties": [
@@ -1451,15 +1364,99 @@
1451
1364
  "methods": [],
1452
1365
  "parts": [],
1453
1366
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1367
+ },
1368
+ {
1369
+ "name": "ai-portal.stage-flow",
1370
+ "properties": [
1371
+ {
1372
+ "name": "spec",
1373
+ "attribute": false,
1374
+ "type": "Stage[]"
1375
+ },
1376
+ {
1377
+ "name": "aiEmployees",
1378
+ "attribute": false,
1379
+ "type": "AIEmployee[]"
1380
+ },
1381
+ {
1382
+ "name": "readOnly",
1383
+ "type": "boolean"
1384
+ }
1385
+ ],
1386
+ "events": [
1387
+ {
1388
+ "name": "change",
1389
+ "detail": {
1390
+ "type": "Stage[]"
1391
+ }
1392
+ },
1393
+ {
1394
+ "name": "add.activity",
1395
+ "detail": {
1396
+ "type": "{ stage: Stage }"
1397
+ }
1398
+ },
1399
+ {
1400
+ "name": "edit.activity",
1401
+ "detail": {
1402
+ "type": "EditActivityDetail"
1403
+ }
1404
+ }
1405
+ ],
1406
+ "slots": [],
1407
+ "methods": [
1408
+ {
1409
+ "name": "addActivity",
1410
+ "params": [
1411
+ {
1412
+ "name": "stage",
1413
+ "type": "Stage"
1414
+ },
1415
+ {
1416
+ "name": "activity",
1417
+ "type": "FlowActivity"
1418
+ }
1419
+ ]
1420
+ },
1421
+ {
1422
+ "name": "editActivity",
1423
+ "params": [
1424
+ {
1425
+ "name": "stage",
1426
+ "type": "Stage"
1427
+ },
1428
+ {
1429
+ "name": "activity",
1430
+ "type": "FlowActivity"
1431
+ },
1432
+ {
1433
+ "name": "activityIndex",
1434
+ "type": "number"
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "name": "deleteActivity",
1440
+ "params": [
1441
+ {
1442
+ "name": "stage",
1443
+ "type": "Stage"
1444
+ },
1445
+ {
1446
+ "name": "activityIndex",
1447
+ "type": "number"
1448
+ }
1449
+ ]
1450
+ }
1451
+ ],
1452
+ "parts": [],
1453
+ "description": "构件 `ai-portal.stage-flow`"
1454
1454
  }
1455
1455
  ],
1456
1456
  "providers": [
1457
1457
  {
1458
1458
  "name": "ai-portal.call-tool"
1459
1459
  },
1460
- {
1461
- "name": "ai-portal.set-chat-command"
1462
- },
1463
1460
  {
1464
1461
  "name": "ai-portal.save-request-store"
1465
1462
  },
@@ -1468,6 +1465,9 @@
1468
1465
  },
1469
1466
  {
1470
1467
  "name": "ai-portal.clear-request-store"
1468
+ },
1469
+ {
1470
+ "name": "ai-portal.set-chat-command"
1471
1471
  }
1472
1472
  ]
1473
1473
  }