@next-bricks/ai-portal 0.61.1 → 0.61.2

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,76 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.chat-box",
8
- "properties": [
9
- {
10
- "name": "disabled",
11
- "type": "boolean"
12
- },
13
- {
14
- "name": "placeholder",
15
- "type": "string"
16
- },
17
- {
18
- "name": "autoFocus",
19
- "type": "boolean"
20
- },
21
- {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
25
- },
26
- {
27
- "name": "commands",
28
- "attribute": false,
29
- "type": "Command[]"
30
- },
31
- {
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
- }
45
- },
46
- {
47
- "name": "chat.submit",
48
- "detail": {
49
- "type": "ChatPayload"
50
- }
51
- }
52
- ],
53
- "slots": [],
54
- "methods": [
55
- {
56
- "name": "setValue",
57
- "params": [
58
- {
59
- "name": "value",
60
- "type": "string"
61
- }
62
- ]
63
- },
64
- {
65
- "name": "getValue",
66
- "params": []
67
- },
68
- {
69
- "name": "focusOnInput",
70
- "params": []
71
- }
72
- ],
73
- "parts": [],
74
- "description": "大型聊天输入框,用于首页"
75
- },
76
6
  {
77
7
  "name": "ai-portal.cruise-canvas",
78
8
  "properties": [
@@ -237,6 +167,76 @@
237
167
  "parts": [],
238
168
  "description": "构件 `ai-portal.cruise-canvas`"
239
169
  },
170
+ {
171
+ "name": "ai-portal.chat-box",
172
+ "properties": [
173
+ {
174
+ "name": "disabled",
175
+ "type": "boolean"
176
+ },
177
+ {
178
+ "name": "placeholder",
179
+ "type": "string"
180
+ },
181
+ {
182
+ "name": "autoFocus",
183
+ "type": "boolean"
184
+ },
185
+ {
186
+ "name": "aiEmployees",
187
+ "attribute": false,
188
+ "type": "AIEmployee[]"
189
+ },
190
+ {
191
+ "name": "commands",
192
+ "attribute": false,
193
+ "type": "Command[]"
194
+ },
195
+ {
196
+ "name": "uploadOptions",
197
+ "attribute": false,
198
+ "type": "UploadOptions"
199
+ }
200
+ ],
201
+ "events": [
202
+ {
203
+ "name": "message.submit",
204
+ "description": "",
205
+ "deprecated": "Use `chat.submit` event instead",
206
+ "detail": {
207
+ "type": "string"
208
+ }
209
+ },
210
+ {
211
+ "name": "chat.submit",
212
+ "detail": {
213
+ "type": "ChatPayload"
214
+ }
215
+ }
216
+ ],
217
+ "slots": [],
218
+ "methods": [
219
+ {
220
+ "name": "setValue",
221
+ "params": [
222
+ {
223
+ "name": "value",
224
+ "type": "string"
225
+ }
226
+ ]
227
+ },
228
+ {
229
+ "name": "getValue",
230
+ "params": []
231
+ },
232
+ {
233
+ "name": "focusOnInput",
234
+ "params": []
235
+ }
236
+ ],
237
+ "parts": [],
238
+ "description": "大型聊天输入框,用于首页"
239
+ },
240
240
  {
241
241
  "name": "ai-portal.home-container",
242
242
  "properties": [
@@ -1290,119 +1290,6 @@
1290
1290
  "parts": [],
1291
1291
  "description": "构件 `ai-portal.flow-tabs`"
1292
1292
  },
1293
- {
1294
- "name": "ai-portal.stage-flow",
1295
- "properties": [
1296
- {
1297
- "name": "spec",
1298
- "attribute": false,
1299
- "type": "Stage[]"
1300
- },
1301
- {
1302
- "name": "aiEmployees",
1303
- "attribute": false,
1304
- "type": "AIEmployee[]"
1305
- },
1306
- {
1307
- "name": "readOnly",
1308
- "type": "boolean"
1309
- }
1310
- ],
1311
- "events": [
1312
- {
1313
- "name": "change",
1314
- "detail": {
1315
- "type": "Stage[]"
1316
- }
1317
- },
1318
- {
1319
- "name": "add.activity",
1320
- "detail": {
1321
- "type": "{ stage: Stage }"
1322
- }
1323
- },
1324
- {
1325
- "name": "edit.activity",
1326
- "detail": {
1327
- "type": "EditActivityDetail"
1328
- }
1329
- }
1330
- ],
1331
- "slots": [],
1332
- "methods": [
1333
- {
1334
- "name": "addActivity",
1335
- "params": [
1336
- {
1337
- "name": "stage",
1338
- "type": "Stage"
1339
- },
1340
- {
1341
- "name": "activity",
1342
- "type": "FlowActivity"
1343
- }
1344
- ]
1345
- },
1346
- {
1347
- "name": "editActivity",
1348
- "params": [
1349
- {
1350
- "name": "stage",
1351
- "type": "Stage"
1352
- },
1353
- {
1354
- "name": "activity",
1355
- "type": "FlowActivity"
1356
- },
1357
- {
1358
- "name": "activityIndex",
1359
- "type": "number"
1360
- }
1361
- ]
1362
- },
1363
- {
1364
- "name": "deleteActivity",
1365
- "params": [
1366
- {
1367
- "name": "stage",
1368
- "type": "Stage"
1369
- },
1370
- {
1371
- "name": "activityIndex",
1372
- "type": "number"
1373
- }
1374
- ]
1375
- }
1376
- ],
1377
- "parts": [],
1378
- "description": "构件 `ai-portal.stage-flow`"
1379
- },
1380
- {
1381
- "name": "ai-portal.running-flow",
1382
- "properties": [
1383
- {
1384
- "name": "spec",
1385
- "attribute": false,
1386
- "type": "FlowStage[]"
1387
- },
1388
- {
1389
- "name": "activeActivityId",
1390
- "type": "string | null"
1391
- }
1392
- ],
1393
- "events": [
1394
- {
1395
- "name": "active.change",
1396
- "detail": {
1397
- "type": "string | null"
1398
- }
1399
- }
1400
- ],
1401
- "slots": [],
1402
- "methods": [],
1403
- "parts": [],
1404
- "description": "构件 `ai-portal.running-flow`"
1405
- },
1406
1293
  {
1407
1294
  "name": "ai-portal.notice-dropdown",
1408
1295
  "properties": [
@@ -1476,6 +1363,32 @@
1476
1363
  "parts": [],
1477
1364
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1478
1365
  },
1366
+ {
1367
+ "name": "ai-portal.running-flow",
1368
+ "properties": [
1369
+ {
1370
+ "name": "spec",
1371
+ "attribute": false,
1372
+ "type": "FlowStage[]"
1373
+ },
1374
+ {
1375
+ "name": "activeActivityId",
1376
+ "type": "string | null"
1377
+ }
1378
+ ],
1379
+ "events": [
1380
+ {
1381
+ "name": "active.change",
1382
+ "detail": {
1383
+ "type": "string | null"
1384
+ }
1385
+ }
1386
+ ],
1387
+ "slots": [],
1388
+ "methods": [],
1389
+ "parts": [],
1390
+ "description": "构件 `ai-portal.running-flow`"
1391
+ },
1479
1392
  {
1480
1393
  "name": "ai-portal.notice-list",
1481
1394
  "properties": [
@@ -1568,6 +1481,93 @@
1568
1481
  "methods": [],
1569
1482
  "parts": [],
1570
1483
  "description": "构件 `ai-portal.gantt-chart`"
1484
+ },
1485
+ {
1486
+ "name": "ai-portal.stage-flow",
1487
+ "properties": [
1488
+ {
1489
+ "name": "spec",
1490
+ "attribute": false,
1491
+ "type": "Stage[]"
1492
+ },
1493
+ {
1494
+ "name": "aiEmployees",
1495
+ "attribute": false,
1496
+ "type": "AIEmployee[]"
1497
+ },
1498
+ {
1499
+ "name": "readOnly",
1500
+ "type": "boolean"
1501
+ }
1502
+ ],
1503
+ "events": [
1504
+ {
1505
+ "name": "change",
1506
+ "detail": {
1507
+ "type": "Stage[]"
1508
+ }
1509
+ },
1510
+ {
1511
+ "name": "add.activity",
1512
+ "detail": {
1513
+ "type": "{ stage: Stage }"
1514
+ }
1515
+ },
1516
+ {
1517
+ "name": "edit.activity",
1518
+ "detail": {
1519
+ "type": "EditActivityDetail"
1520
+ }
1521
+ }
1522
+ ],
1523
+ "slots": [],
1524
+ "methods": [
1525
+ {
1526
+ "name": "addActivity",
1527
+ "params": [
1528
+ {
1529
+ "name": "stage",
1530
+ "type": "Stage"
1531
+ },
1532
+ {
1533
+ "name": "activity",
1534
+ "type": "FlowActivity"
1535
+ }
1536
+ ]
1537
+ },
1538
+ {
1539
+ "name": "editActivity",
1540
+ "params": [
1541
+ {
1542
+ "name": "stage",
1543
+ "type": "Stage"
1544
+ },
1545
+ {
1546
+ "name": "activity",
1547
+ "type": "FlowActivity"
1548
+ },
1549
+ {
1550
+ "name": "activityIndex",
1551
+ "type": "number"
1552
+ }
1553
+ ]
1554
+ },
1555
+ {
1556
+ "name": "deleteActivity",
1557
+ "params": [
1558
+ {
1559
+ "name": "stage",
1560
+ "type": "Stage"
1561
+ },
1562
+ {
1563
+ "name": "activityIndex",
1564
+ "type": "number"
1565
+ }
1566
+ ]
1567
+ }
1568
+ ],
1569
+ "parts": [],
1570
+ "description": "构件 `ai-portal.stage-flow`"
1571
1571
  }
1572
1572
  ],
1573
1573
  "providers": [