@next-bricks/ai-portal 0.58.5 → 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.
@@ -3,6 +3,67 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.stat-with-mini-chart",
8
+ "properties": [
9
+ {
10
+ "name": "label",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "name": "value",
15
+ "type": "string"
16
+ },
17
+ {
18
+ "name": "size",
19
+ "description": "",
20
+ "default": "\"medium\"",
21
+ "type": "\"medium\" | \"small\""
22
+ },
23
+ {
24
+ "name": "lineColor",
25
+ "description": "",
26
+ "default": "\"var(--color-brand)\"",
27
+ "type": "string"
28
+ },
29
+ {
30
+ "name": "showArea",
31
+ "type": "boolean"
32
+ },
33
+ {
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"
37
+ },
38
+ {
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"
42
+ },
43
+ {
44
+ "name": "xField",
45
+ "description": "",
46
+ "default": "\"0\"",
47
+ "type": "string"
48
+ },
49
+ {
50
+ "name": "yField",
51
+ "description": "",
52
+ "default": "\"1\"",
53
+ "type": "string"
54
+ },
55
+ {
56
+ "name": "data",
57
+ "attribute": false,
58
+ "type": "Record<string, number>[]"
59
+ }
60
+ ],
61
+ "events": [],
62
+ "slots": [],
63
+ "methods": [],
64
+ "parts": [],
65
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
66
+ },
6
67
  {
7
68
  "name": "ai-portal.cruise-canvas",
8
69
  "properties": [
@@ -162,6 +223,82 @@
162
223
  "parts": [],
163
224
  "description": "构件 `ai-portal.cruise-canvas`"
164
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
+ },
165
302
  {
166
303
  "name": "ai-portal.elevo-sidebar",
167
304
  "properties": [
@@ -348,81 +485,6 @@
348
485
  "parts": [],
349
486
  "description": "构件 `ai-portal.show-cases`"
350
487
  },
351
- {
352
- "name": "ai-portal.home-container",
353
- "properties": [
354
- {
355
- "name": "sticky",
356
- "type": "boolean"
357
- }
358
- ],
359
- "events": [],
360
- "slots": [],
361
- "methods": [],
362
- "parts": [],
363
- "description": "构件 `ai-portal.home-container`"
364
- },
365
- {
366
- "name": "ai-portal.stat-with-mini-chart",
367
- "properties": [
368
- {
369
- "name": "label",
370
- "type": "string"
371
- },
372
- {
373
- "name": "value",
374
- "type": "string"
375
- },
376
- {
377
- "name": "size",
378
- "description": "",
379
- "default": "\"medium\"",
380
- "type": "\"medium\" | \"small\""
381
- },
382
- {
383
- "name": "lineColor",
384
- "description": "",
385
- "default": "\"var(--color-brand)\"",
386
- "type": "string"
387
- },
388
- {
389
- "name": "showArea",
390
- "type": "boolean"
391
- },
392
- {
393
- "name": "min",
394
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
395
- "type": "number"
396
- },
397
- {
398
- "name": "max",
399
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
400
- "type": "number"
401
- },
402
- {
403
- "name": "xField",
404
- "description": "",
405
- "default": "\"0\"",
406
- "type": "string"
407
- },
408
- {
409
- "name": "yField",
410
- "description": "",
411
- "default": "\"1\"",
412
- "type": "string"
413
- },
414
- {
415
- "name": "data",
416
- "attribute": false,
417
- "type": "Record<string, number>[]"
418
- }
419
- ],
420
- "events": [],
421
- "slots": [],
422
- "methods": [],
423
- "parts": [],
424
- "description": "构件 `ai-portal.stat-with-mini-chart`"
425
- },
426
488
  {
427
489
  "name": "ai-portal.mcp-tools",
428
490
  "properties": [
@@ -442,61 +504,6 @@
442
504
  "parts": [],
443
505
  "description": "构件 `ai-portal.mcp-tools`"
444
506
  },
445
- {
446
- "name": "ai-portal.ai-employees",
447
- "properties": [
448
- {
449
- "name": "list",
450
- "attribute": false,
451
- "type": "Employee[]"
452
- },
453
- {
454
- "name": "industries",
455
- "attribute": false,
456
- "type": "string[]"
457
- },
458
- {
459
- "name": "urlTemplate",
460
- "type": "string"
461
- },
462
- {
463
- "name": "withContainer",
464
- "description": "",
465
- "deprecated": true,
466
- "default": "true"
467
- }
468
- ],
469
- "events": [],
470
- "slots": [],
471
- "methods": [],
472
- "parts": [],
473
- "description": "构件 `ai-portal.ai-employees`"
474
- },
475
- {
476
- "name": "ai-portal.ai-agents",
477
- "properties": [
478
- {
479
- "name": "list",
480
- "attribute": false,
481
- "type": "Agent[]"
482
- },
483
- {
484
- "name": "urlTemplate",
485
- "type": "string"
486
- },
487
- {
488
- "name": "withContainer",
489
- "description": "",
490
- "deprecated": true,
491
- "default": "true"
492
- }
493
- ],
494
- "events": [],
495
- "slots": [],
496
- "methods": [],
497
- "parts": [],
498
- "description": "构件 `ai-portal.ai-agents`"
499
- },
500
507
  {
501
508
  "name": "ai-portal.chat-stream",
502
509
  "properties": [
@@ -654,6 +661,61 @@
654
661
  "parts": [],
655
662
  "description": "构件 `ai-portal.chat-stream`"
656
663
  },
664
+ {
665
+ "name": "ai-portal.ai-employees",
666
+ "properties": [
667
+ {
668
+ "name": "list",
669
+ "attribute": false,
670
+ "type": "Employee[]"
671
+ },
672
+ {
673
+ "name": "industries",
674
+ "attribute": false,
675
+ "type": "string[]"
676
+ },
677
+ {
678
+ "name": "urlTemplate",
679
+ "type": "string"
680
+ },
681
+ {
682
+ "name": "withContainer",
683
+ "description": "",
684
+ "deprecated": true,
685
+ "default": "true"
686
+ }
687
+ ],
688
+ "events": [],
689
+ "slots": [],
690
+ "methods": [],
691
+ "parts": [],
692
+ "description": "构件 `ai-portal.ai-employees`"
693
+ },
694
+ {
695
+ "name": "ai-portal.ai-agents",
696
+ "properties": [
697
+ {
698
+ "name": "list",
699
+ "attribute": false,
700
+ "type": "Agent[]"
701
+ },
702
+ {
703
+ "name": "urlTemplate",
704
+ "type": "string"
705
+ },
706
+ {
707
+ "name": "withContainer",
708
+ "description": "",
709
+ "deprecated": true,
710
+ "default": "true"
711
+ }
712
+ ],
713
+ "events": [],
714
+ "slots": [],
715
+ "methods": [],
716
+ "parts": [],
717
+ "description": "构件 `ai-portal.ai-agents`"
718
+ },
657
719
  {
658
720
  "name": "ai-portal.page-container",
659
721
  "properties": [
@@ -708,108 +770,51 @@
708
770
  "type": "Tab[]"
709
771
  },
710
772
  {
711
- "name": "activeTab",
712
- "attribute": false,
713
- "type": "string"
714
- }
715
- ],
716
- "events": [
717
- {
718
- "name": "tab.click",
719
- "detail": {
720
- "type": "Tab"
721
- }
722
- }
723
- ],
724
- "slots": [],
725
- "methods": [],
726
- "parts": [
727
- {
728
- "name": "tabs",
729
- "description": "The tab list container"
730
- },
731
- {
732
- "name": "tab",
733
- "description": "The individual tab"
734
- }
735
- ],
736
- "description": "构件 `ai-portal.tab-list`"
737
- },
738
- {
739
- "name": "ai-portal.chat-box",
740
- "properties": [
741
- {
742
- "name": "disabled",
743
- "type": "boolean"
744
- },
745
- {
746
- "name": "placeholder",
747
- "type": "string"
748
- },
749
- {
750
- "name": "autoFocus",
751
- "type": "boolean"
752
- },
753
- {
754
- "name": "aiEmployees",
755
- "attribute": false,
756
- "type": "AIEmployee[]"
757
- },
758
- {
759
- "name": "commands",
760
- "attribute": false,
761
- "type": "Command[]"
762
- },
763
- {
764
- "name": "uploadOptions",
765
- "attribute": false,
766
- "type": "UploadOptions"
767
- }
768
- ],
769
- "events": [
770
- {
771
- "name": "message.submit",
772
- "description": "",
773
- "deprecated": "Use `chat.submit` event instead",
774
- "detail": {
775
- "type": "string"
776
- }
777
- },
778
- {
779
- "name": "chat.submit",
780
- "detail": {
781
- "type": "ChatPayload"
782
- }
783
- },
773
+ "name": "activeTab",
774
+ "attribute": false,
775
+ "type": "string"
776
+ }
777
+ ],
778
+ "events": [
784
779
  {
785
- "name": "command.select",
780
+ "name": "tab.click",
786
781
  "detail": {
787
- "type": "CommandPayload | null"
782
+ "type": "Tab"
788
783
  }
789
784
  }
790
785
  ],
791
786
  "slots": [],
792
- "methods": [
787
+ "methods": [],
788
+ "parts": [
793
789
  {
794
- "name": "setValue",
795
- "params": [
796
- {
797
- "name": "value",
798
- "type": "string"
799
- }
800
- ]
790
+ "name": "tabs",
791
+ "description": "The tab list container"
801
792
  },
802
793
  {
803
- "name": "getValue",
804
- "params": []
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"
805
807
  },
806
808
  {
807
- "name": "focusOnInput",
808
- "params": []
809
+ "name": "url",
810
+ "type": "string"
809
811
  }
810
812
  ],
813
+ "events": [],
814
+ "slots": [],
815
+ "methods": [],
811
816
  "parts": [],
812
- "description": "构件 `ai-portal.chat-box`"
817
+ "description": "构件 `ai-portal.preview-container`"
813
818
  },
814
819
  {
815
820
  "name": "ai-portal.dropdown-select",
@@ -869,23 +874,18 @@
869
874
  "description": "构件 `ai-portal.dropdown-select`"
870
875
  },
871
876
  {
872
- "name": "ai-portal.preview-container",
877
+ "name": "ai-portal.home-container",
873
878
  "properties": [
874
879
  {
875
- "name": "source",
876
- "attribute": false,
877
- "type": "string"
878
- },
879
- {
880
- "name": "url",
881
- "type": "string"
880
+ "name": "sticky",
881
+ "type": "boolean"
882
882
  }
883
883
  ],
884
884
  "events": [],
885
885
  "slots": [],
886
886
  "methods": [],
887
887
  "parts": [],
888
- "description": "构件 `ai-portal.preview-container`"
888
+ "description": "构件 `ai-portal.home-container`"
889
889
  },
890
890
  {
891
891
  "name": "ai-portal.action-buttons",
@@ -1130,6 +1130,15 @@
1130
1130
  "parts": [],
1131
1131
  "description": "构件 `ai-portal.chat-input`"
1132
1132
  },
1133
+ {
1134
+ "name": "ai-portal.elevo-logo",
1135
+ "properties": [],
1136
+ "events": [],
1137
+ "slots": [],
1138
+ "methods": [],
1139
+ "parts": [],
1140
+ "description": "构件 `ai-portal.elevo-logo`"
1141
+ },
1133
1142
  {
1134
1143
  "name": "ai-portal.show-case",
1135
1144
  "properties": [
@@ -1152,15 +1161,6 @@
1152
1161
  "parts": [],
1153
1162
  "description": "构件 `ai-portal.show-case`"
1154
1163
  },
1155
- {
1156
- "name": "ai-portal.elevo-logo",
1157
- "properties": [],
1158
- "events": [],
1159
- "slots": [],
1160
- "methods": [],
1161
- "parts": [],
1162
- "description": "构件 `ai-portal.elevo-logo`"
1163
- },
1164
1164
  {
1165
1165
  "name": "ai-portal.blank-state",
1166
1166
  "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,6 +1364,93 @@
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": [