@next-bricks/ai-portal 0.58.3 → 0.58.5

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.
@@ -162,157 +162,6 @@
162
162
  "parts": [],
163
163
  "description": "构件 `ai-portal.cruise-canvas`"
164
164
  },
165
- {
166
- "name": "ai-portal.home-container",
167
- "properties": [
168
- {
169
- "name": "sticky",
170
- "type": "boolean"
171
- }
172
- ],
173
- "events": [],
174
- "slots": [],
175
- "methods": [],
176
- "parts": [],
177
- "description": "构件 `ai-portal.home-container`"
178
- },
179
- {
180
- "name": "ai-portal.stat-with-mini-chart",
181
- "properties": [
182
- {
183
- "name": "label",
184
- "type": "string"
185
- },
186
- {
187
- "name": "value",
188
- "type": "string"
189
- },
190
- {
191
- "name": "size",
192
- "description": "",
193
- "default": "\"medium\"",
194
- "type": "\"medium\" | \"small\""
195
- },
196
- {
197
- "name": "lineColor",
198
- "description": "",
199
- "default": "\"var(--color-brand)\"",
200
- "type": "string"
201
- },
202
- {
203
- "name": "showArea",
204
- "type": "boolean"
205
- },
206
- {
207
- "name": "min",
208
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
209
- "type": "number"
210
- },
211
- {
212
- "name": "max",
213
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
214
- "type": "number"
215
- },
216
- {
217
- "name": "xField",
218
- "description": "",
219
- "default": "\"0\"",
220
- "type": "string"
221
- },
222
- {
223
- "name": "yField",
224
- "description": "",
225
- "default": "\"1\"",
226
- "type": "string"
227
- },
228
- {
229
- "name": "data",
230
- "attribute": false,
231
- "type": "Record<string, number>[]"
232
- }
233
- ],
234
- "events": [],
235
- "slots": [],
236
- "methods": [],
237
- "parts": [],
238
- "description": "构件 `ai-portal.stat-with-mini-chart`"
239
- },
240
- {
241
- "name": "ai-portal.chat-box",
242
- "properties": [
243
- {
244
- "name": "disabled",
245
- "type": "boolean"
246
- },
247
- {
248
- "name": "placeholder",
249
- "type": "string"
250
- },
251
- {
252
- "name": "autoFocus",
253
- "type": "boolean"
254
- },
255
- {
256
- "name": "aiEmployees",
257
- "attribute": false,
258
- "type": "AIEmployee[]"
259
- },
260
- {
261
- "name": "commands",
262
- "attribute": false,
263
- "type": "Command[]"
264
- },
265
- {
266
- "name": "uploadOptions",
267
- "attribute": false,
268
- "type": "UploadOptions"
269
- }
270
- ],
271
- "events": [
272
- {
273
- "name": "message.submit",
274
- "description": "",
275
- "deprecated": "Use `chat.submit` event instead",
276
- "detail": {
277
- "type": "string"
278
- }
279
- },
280
- {
281
- "name": "chat.submit",
282
- "detail": {
283
- "type": "ChatPayload"
284
- }
285
- },
286
- {
287
- "name": "command.select",
288
- "detail": {
289
- "type": "CommandPayload | null"
290
- }
291
- }
292
- ],
293
- "slots": [],
294
- "methods": [
295
- {
296
- "name": "setValue",
297
- "params": [
298
- {
299
- "name": "value",
300
- "type": "string"
301
- }
302
- ]
303
- },
304
- {
305
- "name": "getValue",
306
- "params": []
307
- },
308
- {
309
- "name": "focusOnInput",
310
- "params": []
311
- }
312
- ],
313
- "parts": [],
314
- "description": "构件 `ai-portal.chat-box`"
315
- },
316
165
  {
317
166
  "name": "ai-portal.elevo-sidebar",
318
167
  "properties": [
@@ -499,6 +348,81 @@
499
348
  "parts": [],
500
349
  "description": "构件 `ai-portal.show-cases`"
501
350
  },
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
+ },
502
426
  {
503
427
  "name": "ai-portal.mcp-tools",
504
428
  "properties": [
@@ -548,6 +472,31 @@
548
472
  "parts": [],
549
473
  "description": "构件 `ai-portal.ai-employees`"
550
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
+ },
551
500
  {
552
501
  "name": "ai-portal.chat-stream",
553
502
  "properties": [
@@ -705,31 +654,6 @@
705
654
  "parts": [],
706
655
  "description": "构件 `ai-portal.chat-stream`"
707
656
  },
708
- {
709
- "name": "ai-portal.ai-agents",
710
- "properties": [
711
- {
712
- "name": "list",
713
- "attribute": false,
714
- "type": "Agent[]"
715
- },
716
- {
717
- "name": "urlTemplate",
718
- "type": "string"
719
- },
720
- {
721
- "name": "withContainer",
722
- "description": "",
723
- "deprecated": true,
724
- "default": "true"
725
- }
726
- ],
727
- "events": [],
728
- "slots": [],
729
- "methods": [],
730
- "parts": [],
731
- "description": "构件 `ai-portal.ai-agents`"
732
- },
733
657
  {
734
658
  "name": "ai-portal.page-container",
735
659
  "properties": [
@@ -784,32 +708,108 @@
784
708
  "type": "Tab[]"
785
709
  },
786
710
  {
787
- "name": "activeTab",
788
- "attribute": false,
789
- "type": "string"
790
- }
791
- ],
792
- "events": [
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
+ },
793
784
  {
794
- "name": "tab.click",
785
+ "name": "command.select",
795
786
  "detail": {
796
- "type": "Tab"
787
+ "type": "CommandPayload | null"
797
788
  }
798
789
  }
799
790
  ],
800
791
  "slots": [],
801
- "methods": [],
802
- "parts": [
792
+ "methods": [
803
793
  {
804
- "name": "tabs",
805
- "description": "The tab list container"
794
+ "name": "setValue",
795
+ "params": [
796
+ {
797
+ "name": "value",
798
+ "type": "string"
799
+ }
800
+ ]
806
801
  },
807
802
  {
808
- "name": "tab",
809
- "description": "The individual tab"
803
+ "name": "getValue",
804
+ "params": []
805
+ },
806
+ {
807
+ "name": "focusOnInput",
808
+ "params": []
810
809
  }
811
810
  ],
812
- "description": "构件 `ai-portal.tab-list`"
811
+ "parts": [],
812
+ "description": "构件 `ai-portal.chat-box`"
813
813
  },
814
814
  {
815
815
  "name": "ai-portal.dropdown-select",
@@ -1055,6 +1055,25 @@
1055
1055
  "parts": [],
1056
1056
  "description": "构件 `ai-portal.project-knowledges`"
1057
1057
  },
1058
+ {
1059
+ "name": "ai-portal.activity-timeline",
1060
+ "properties": [
1061
+ {
1062
+ "name": "list",
1063
+ "attribute": false,
1064
+ "type": "Activity[]"
1065
+ },
1066
+ {
1067
+ "name": "chatUrlTemplate",
1068
+ "type": "string"
1069
+ }
1070
+ ],
1071
+ "events": [],
1072
+ "slots": [],
1073
+ "methods": [],
1074
+ "parts": [],
1075
+ "description": "构件 `ai-portal.activity-timeline`"
1076
+ },
1058
1077
  {
1059
1078
  "name": "ai-portal.chat-input",
1060
1079
  "properties": [
@@ -1111,15 +1130,6 @@
1111
1130
  "parts": [],
1112
1131
  "description": "构件 `ai-portal.chat-input`"
1113
1132
  },
1114
- {
1115
- "name": "ai-portal.elevo-logo",
1116
- "properties": [],
1117
- "events": [],
1118
- "slots": [],
1119
- "methods": [],
1120
- "parts": [],
1121
- "description": "构件 `ai-portal.elevo-logo`"
1122
- },
1123
1133
  {
1124
1134
  "name": "ai-portal.show-case",
1125
1135
  "properties": [
@@ -1143,23 +1153,13 @@
1143
1153
  "description": "构件 `ai-portal.show-case`"
1144
1154
  },
1145
1155
  {
1146
- "name": "ai-portal.activity-timeline",
1147
- "properties": [
1148
- {
1149
- "name": "list",
1150
- "attribute": false,
1151
- "type": "Activity[]"
1152
- },
1153
- {
1154
- "name": "chatUrlTemplate",
1155
- "type": "string"
1156
- }
1157
- ],
1156
+ "name": "ai-portal.elevo-logo",
1157
+ "properties": [],
1158
1158
  "events": [],
1159
1159
  "slots": [],
1160
1160
  "methods": [],
1161
1161
  "parts": [],
1162
- "description": "构件 `ai-portal.activity-timeline`"
1162
+ "description": "构件 `ai-portal.elevo-logo`"
1163
1163
  },
1164
1164
  {
1165
1165
  "name": "ai-portal.blank-state",
@@ -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,93 +1451,6 @@
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": [