@next-bricks/ai-portal 0.58.6 → 0.58.7

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.
Files changed (39) hide show
  1. package/dist/bricks.json +29 -29
  2. package/dist/chunks/1488.171d8f4f.js +2 -0
  3. package/dist/chunks/1488.171d8f4f.js.map +1 -0
  4. package/dist/chunks/151.4fd3b48d.js +2 -0
  5. package/dist/chunks/151.4fd3b48d.js.map +1 -0
  6. package/dist/chunks/2232.db93d1de.js +2 -0
  7. package/dist/chunks/2232.db93d1de.js.map +1 -0
  8. package/dist/chunks/2324.17662f31.js +2 -0
  9. package/dist/chunks/2324.17662f31.js.map +1 -0
  10. package/dist/chunks/{chat-box.041da849.js → chat-box.6eab985e.js} +2 -2
  11. package/dist/chunks/chat-box.6eab985e.js.map +1 -0
  12. package/dist/chunks/chat-input.fce2d021.js +2 -0
  13. package/dist/chunks/chat-input.fce2d021.js.map +1 -0
  14. package/dist/chunks/{main.d38cd700.js → main.9f018556.js} +2 -2
  15. package/dist/chunks/{main.d38cd700.js.map → main.9f018556.js.map} +1 -1
  16. package/dist/examples.json +19 -19
  17. package/dist/{index.95f2837d.js → index.8cc4b995.js} +2 -2
  18. package/dist/{index.95f2837d.js.map → index.8cc4b995.js.map} +1 -1
  19. package/dist/manifest.json +231 -231
  20. package/dist/types.json +1047 -887
  21. package/dist-types/cruise-canvas/FileList/FileList.d.ts +2 -1
  22. package/dist-types/shared/FileUpload/GlobalDragOverlay.d.ts +3 -3
  23. package/dist-types/shared/FileUpload/i18n.d.ts +6 -1
  24. package/dist-types/shared/FileUpload/validateFiles.d.ts +2 -0
  25. package/dist-types/shared/interfaces.d.ts +4 -0
  26. package/package.json +2 -2
  27. package/dist/chunks/1488.8388b745.js +0 -2
  28. package/dist/chunks/1488.8388b745.js.map +0 -1
  29. package/dist/chunks/151.21608da8.js +0 -2
  30. package/dist/chunks/151.21608da8.js.map +0 -1
  31. package/dist/chunks/2232.c2811097.js +0 -2
  32. package/dist/chunks/2232.c2811097.js.map +0 -1
  33. package/dist/chunks/2324.c7c2427a.js +0 -2
  34. package/dist/chunks/2324.c7c2427a.js.map +0 -1
  35. package/dist/chunks/chat-box.041da849.js.map +0 -1
  36. package/dist/chunks/chat-input.2c5e645b.js +0 -2
  37. package/dist/chunks/chat-input.2c5e645b.js.map +0 -1
  38. package/dist-types/shared/FileUpload/acceptFiles.d.ts +0 -1
  39. /package/dist-types/shared/FileUpload/{acceptFiles.spec.d.ts → validateFiles.spec.d.ts} +0 -0
@@ -3,67 +3,6 @@
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
- },
67
6
  {
68
7
  "name": "ai-portal.cruise-canvas",
69
8
  "properties": [
@@ -299,6 +238,81 @@
299
238
  "parts": [],
300
239
  "description": "构件 `ai-portal.chat-box`"
301
240
  },
241
+ {
242
+ "name": "ai-portal.stat-with-mini-chart",
243
+ "properties": [
244
+ {
245
+ "name": "label",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "name": "value",
250
+ "type": "string"
251
+ },
252
+ {
253
+ "name": "size",
254
+ "description": "",
255
+ "default": "\"medium\"",
256
+ "type": "\"medium\" | \"small\""
257
+ },
258
+ {
259
+ "name": "lineColor",
260
+ "description": "",
261
+ "default": "\"var(--color-brand)\"",
262
+ "type": "string"
263
+ },
264
+ {
265
+ "name": "showArea",
266
+ "type": "boolean"
267
+ },
268
+ {
269
+ "name": "min",
270
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
271
+ "type": "number"
272
+ },
273
+ {
274
+ "name": "max",
275
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
276
+ "type": "number"
277
+ },
278
+ {
279
+ "name": "xField",
280
+ "description": "",
281
+ "default": "\"0\"",
282
+ "type": "string"
283
+ },
284
+ {
285
+ "name": "yField",
286
+ "description": "",
287
+ "default": "\"1\"",
288
+ "type": "string"
289
+ },
290
+ {
291
+ "name": "data",
292
+ "attribute": false,
293
+ "type": "Record<string, number>[]"
294
+ }
295
+ ],
296
+ "events": [],
297
+ "slots": [],
298
+ "methods": [],
299
+ "parts": [],
300
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
301
+ },
302
+ {
303
+ "name": "ai-portal.home-container",
304
+ "properties": [
305
+ {
306
+ "name": "sticky",
307
+ "type": "boolean"
308
+ }
309
+ ],
310
+ "events": [],
311
+ "slots": [],
312
+ "methods": [],
313
+ "parts": [],
314
+ "description": "构件 `ai-portal.home-container`"
315
+ },
302
316
  {
303
317
  "name": "ai-portal.elevo-sidebar",
304
318
  "properties": [
@@ -661,36 +675,6 @@
661
675
  "parts": [],
662
676
  "description": "构件 `ai-portal.chat-stream`"
663
677
  },
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
678
  {
695
679
  "name": "ai-portal.ai-agents",
696
680
  "properties": [
@@ -761,6 +745,36 @@
761
745
  "parts": [],
762
746
  "description": "构件 `ai-portal.page-container`"
763
747
  },
748
+ {
749
+ "name": "ai-portal.ai-employees",
750
+ "properties": [
751
+ {
752
+ "name": "list",
753
+ "attribute": false,
754
+ "type": "Employee[]"
755
+ },
756
+ {
757
+ "name": "industries",
758
+ "attribute": false,
759
+ "type": "string[]"
760
+ },
761
+ {
762
+ "name": "urlTemplate",
763
+ "type": "string"
764
+ },
765
+ {
766
+ "name": "withContainer",
767
+ "description": "",
768
+ "deprecated": true,
769
+ "default": "true"
770
+ }
771
+ ],
772
+ "events": [],
773
+ "slots": [],
774
+ "methods": [],
775
+ "parts": [],
776
+ "description": "构件 `ai-portal.ai-employees`"
777
+ },
764
778
  {
765
779
  "name": "ai-portal.tab-list",
766
780
  "properties": [
@@ -797,25 +811,6 @@
797
811
  ],
798
812
  "description": "构件 `ai-portal.tab-list`"
799
813
  },
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
814
  {
820
815
  "name": "ai-portal.dropdown-select",
821
816
  "properties": [
@@ -874,18 +869,23 @@
874
869
  "description": "构件 `ai-portal.dropdown-select`"
875
870
  },
876
871
  {
877
- "name": "ai-portal.home-container",
872
+ "name": "ai-portal.preview-container",
878
873
  "properties": [
879
874
  {
880
- "name": "sticky",
881
- "type": "boolean"
875
+ "name": "source",
876
+ "attribute": false,
877
+ "type": "string"
878
+ },
879
+ {
880
+ "name": "url",
881
+ "type": "string"
882
882
  }
883
883
  ],
884
884
  "events": [],
885
885
  "slots": [],
886
886
  "methods": [],
887
887
  "parts": [],
888
- "description": "构件 `ai-portal.home-container`"
888
+ "description": "构件 `ai-portal.preview-container`"
889
889
  },
890
890
  {
891
891
  "name": "ai-portal.action-buttons",
@@ -1074,6 +1074,15 @@
1074
1074
  "parts": [],
1075
1075
  "description": "构件 `ai-portal.activity-timeline`"
1076
1076
  },
1077
+ {
1078
+ "name": "ai-portal.elevo-logo",
1079
+ "properties": [],
1080
+ "events": [],
1081
+ "slots": [],
1082
+ "methods": [],
1083
+ "parts": [],
1084
+ "description": "构件 `ai-portal.elevo-logo`"
1085
+ },
1077
1086
  {
1078
1087
  "name": "ai-portal.chat-input",
1079
1088
  "properties": [
@@ -1130,15 +1139,6 @@
1130
1139
  "parts": [],
1131
1140
  "description": "构件 `ai-portal.chat-input`"
1132
1141
  },
1133
- {
1134
- "name": "ai-portal.elevo-logo",
1135
- "properties": [],
1136
- "events": [],
1137
- "slots": [],
1138
- "methods": [],
1139
- "parts": [],
1140
- "description": "构件 `ai-portal.elevo-logo`"
1141
- },
1142
1142
  {
1143
1143
  "name": "ai-portal.show-case",
1144
1144
  "properties": [
@@ -1161,24 +1161,6 @@
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
- },
1182
1164
  {
1183
1165
  "name": "ai-portal.sticky-container",
1184
1166
  "properties": [
@@ -1213,6 +1195,24 @@
1213
1195
  "parts": [],
1214
1196
  "description": "构件 `ai-portal.sticky-container`"
1215
1197
  },
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,6 +1271,93 @@
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
+ },
1274
1361
  {
1275
1362
  "name": "ai-portal.running-flow",
1276
1363
  "properties": [
@@ -1364,99 +1451,15 @@
1364
1451
  "methods": [],
1365
1452
  "parts": [],
1366
1453
  "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
+ },
1460
1463
  {
1461
1464
  "name": "ai-portal.save-request-store"
1462
1465
  },
@@ -1465,9 +1468,6 @@
1465
1468
  },
1466
1469
  {
1467
1470
  "name": "ai-portal.clear-request-store"
1468
- },
1469
- {
1470
- "name": "ai-portal.set-chat-command"
1471
1471
  }
1472
1472
  ]
1473
1473
  }