@next-bricks/ai-portal 0.63.0 → 0.63.1

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,20 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.home-container",
8
+ "properties": [
9
+ {
10
+ "name": "sticky",
11
+ "type": "boolean"
12
+ }
13
+ ],
14
+ "events": [],
15
+ "slots": [],
16
+ "methods": [],
17
+ "parts": [],
18
+ "description": "构件 `ai-portal.home-container`"
19
+ },
6
20
  {
7
21
  "name": "ai-portal.elevo-sidebar",
8
22
  "properties": [
@@ -174,6 +188,150 @@
174
188
  "parts": [],
175
189
  "description": "构件 `ai-portal.elevo-sidebar`"
176
190
  },
191
+ {
192
+ "name": "ai-portal.chat-box",
193
+ "properties": [
194
+ {
195
+ "name": "disabled",
196
+ "type": "boolean"
197
+ },
198
+ {
199
+ "name": "placeholder",
200
+ "type": "string"
201
+ },
202
+ {
203
+ "name": "autoFocus",
204
+ "type": "boolean"
205
+ },
206
+ {
207
+ "name": "aiEmployees",
208
+ "attribute": false,
209
+ "type": "AIEmployee[]"
210
+ },
211
+ {
212
+ "name": "commands",
213
+ "attribute": false,
214
+ "type": "Command[]"
215
+ },
216
+ {
217
+ "name": "uploadOptions",
218
+ "attribute": false,
219
+ "type": "UploadOptions"
220
+ }
221
+ ],
222
+ "events": [
223
+ {
224
+ "name": "message.submit",
225
+ "description": "",
226
+ "deprecated": "Use `chat.submit` event instead",
227
+ "detail": {
228
+ "type": "string"
229
+ }
230
+ },
231
+ {
232
+ "name": "chat.submit",
233
+ "detail": {
234
+ "type": "ChatPayload"
235
+ }
236
+ }
237
+ ],
238
+ "slots": [],
239
+ "methods": [
240
+ {
241
+ "name": "setValue",
242
+ "params": [
243
+ {
244
+ "name": "value",
245
+ "type": "string"
246
+ }
247
+ ]
248
+ },
249
+ {
250
+ "name": "getValue",
251
+ "params": []
252
+ },
253
+ {
254
+ "name": "focusOnInput",
255
+ "params": []
256
+ }
257
+ ],
258
+ "parts": [],
259
+ "description": "大型聊天输入框,用于首页"
260
+ },
261
+ {
262
+ "name": "ai-portal.icon-button",
263
+ "properties": [
264
+ {
265
+ "name": "icon",
266
+ "attribute": false,
267
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
268
+ },
269
+ {
270
+ "name": "tooltip",
271
+ "type": "string"
272
+ },
273
+ {
274
+ "name": "tooltipHoist",
275
+ "type": "boolean"
276
+ },
277
+ {
278
+ "name": "disabled",
279
+ "type": "boolean"
280
+ },
281
+ {
282
+ "name": "variant",
283
+ "type": "IconButtonVariant"
284
+ },
285
+ {
286
+ "name": "reduceIconSize",
287
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
288
+ "type": "boolean"
289
+ }
290
+ ],
291
+ "events": [],
292
+ "slots": [],
293
+ "methods": [],
294
+ "parts": [],
295
+ "description": "构件 `ai-portal.icon-button`"
296
+ },
297
+ {
298
+ "name": "ai-portal.show-cases",
299
+ "properties": [
300
+ {
301
+ "name": "list",
302
+ "attribute": false,
303
+ "type": "ShowCaseType[]"
304
+ },
305
+ {
306
+ "name": "limit",
307
+ "type": "number"
308
+ }
309
+ ],
310
+ "events": [],
311
+ "slots": [],
312
+ "methods": [],
313
+ "parts": [],
314
+ "description": "构件 `ai-portal.show-cases`"
315
+ },
316
+ {
317
+ "name": "ai-portal.mcp-tools",
318
+ "properties": [
319
+ {
320
+ "name": "list",
321
+ "attribute": false,
322
+ "type": "McpTool[]"
323
+ },
324
+ {
325
+ "name": "stickyTop",
326
+ "type": "number"
327
+ }
328
+ ],
329
+ "events": [],
330
+ "slots": [],
331
+ "methods": [],
332
+ "parts": [],
333
+ "description": "构件 `ai-portal.mcp-tools`"
334
+ },
177
335
  {
178
336
  "name": "ai-portal.cruise-canvas",
179
337
  "properties": [
@@ -339,92 +497,57 @@
339
497
  "description": "构件 `ai-portal.cruise-canvas`"
340
498
  },
341
499
  {
342
- "name": "ai-portal.home-container",
343
- "properties": [
344
- {
345
- "name": "sticky",
346
- "type": "boolean"
347
- }
348
- ],
349
- "events": [],
350
- "slots": [],
351
- "methods": [],
352
- "parts": [],
353
- "description": "构件 `ai-portal.home-container`"
354
- },
355
- {
356
- "name": "ai-portal.icon-button",
500
+ "name": "ai-portal.ai-employees",
357
501
  "properties": [
358
502
  {
359
- "name": "icon",
503
+ "name": "list",
360
504
  "attribute": false,
361
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
362
- },
363
- {
364
- "name": "tooltip",
365
- "type": "string"
366
- },
367
- {
368
- "name": "tooltipHoist",
369
- "type": "boolean"
505
+ "type": "Employee[]"
370
506
  },
371
507
  {
372
- "name": "disabled",
373
- "type": "boolean"
508
+ "name": "industries",
509
+ "attribute": false,
510
+ "type": "string[]"
374
511
  },
375
512
  {
376
- "name": "variant",
377
- "type": "IconButtonVariant"
513
+ "name": "urlTemplate",
514
+ "type": "string"
378
515
  },
379
516
  {
380
- "name": "reduceIconSize",
381
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
382
- "type": "boolean"
517
+ "name": "stickyTop",
518
+ "type": "number"
383
519
  }
384
520
  ],
385
521
  "events": [],
386
522
  "slots": [],
387
523
  "methods": [],
388
524
  "parts": [],
389
- "description": "构件 `ai-portal.icon-button`"
525
+ "description": "构件 `ai-portal.ai-employees`"
390
526
  },
391
527
  {
392
- "name": "ai-portal.show-cases",
528
+ "name": "ai-portal.ai-agents",
393
529
  "properties": [
394
530
  {
395
531
  "name": "list",
396
532
  "attribute": false,
397
- "type": "ShowCaseType[]"
533
+ "type": "Agent[]"
398
534
  },
399
535
  {
400
- "name": "limit",
401
- "type": "number"
402
- }
403
- ],
404
- "events": [],
405
- "slots": [],
406
- "methods": [],
407
- "parts": [],
408
- "description": "构件 `ai-portal.show-cases`"
409
- },
410
- {
411
- "name": "ai-portal.mcp-tools",
412
- "properties": [
413
- {
414
- "name": "list",
415
- "attribute": false,
416
- "type": "McpTool[]"
536
+ "name": "urlTemplate",
537
+ "type": "string"
417
538
  },
418
539
  {
419
- "name": "stickyTop",
420
- "type": "number"
540
+ "name": "withContainer",
541
+ "description": "",
542
+ "deprecated": true,
543
+ "default": "true"
421
544
  }
422
545
  ],
423
546
  "events": [],
424
547
  "slots": [],
425
548
  "methods": [],
426
549
  "parts": [],
427
- "description": "构件 `ai-portal.mcp-tools`"
550
+ "description": "构件 `ai-portal.ai-agents`"
428
551
  },
429
552
  {
430
553
  "name": "ai-portal.chat-stream",
@@ -584,59 +707,6 @@
584
707
  "parts": [],
585
708
  "description": "构件 `ai-portal.chat-stream`"
586
709
  },
587
- {
588
- "name": "ai-portal.ai-employees",
589
- "properties": [
590
- {
591
- "name": "list",
592
- "attribute": false,
593
- "type": "Employee[]"
594
- },
595
- {
596
- "name": "industries",
597
- "attribute": false,
598
- "type": "string[]"
599
- },
600
- {
601
- "name": "urlTemplate",
602
- "type": "string"
603
- },
604
- {
605
- "name": "stickyTop",
606
- "type": "number"
607
- }
608
- ],
609
- "events": [],
610
- "slots": [],
611
- "methods": [],
612
- "parts": [],
613
- "description": "构件 `ai-portal.ai-employees`"
614
- },
615
- {
616
- "name": "ai-portal.ai-agents",
617
- "properties": [
618
- {
619
- "name": "list",
620
- "attribute": false,
621
- "type": "Agent[]"
622
- },
623
- {
624
- "name": "urlTemplate",
625
- "type": "string"
626
- },
627
- {
628
- "name": "withContainer",
629
- "description": "",
630
- "deprecated": true,
631
- "default": "true"
632
- }
633
- ],
634
- "events": [],
635
- "slots": [],
636
- "methods": [],
637
- "parts": [],
638
- "description": "构件 `ai-portal.ai-agents`"
639
- },
640
710
  {
641
711
  "name": "ai-portal.page-container",
642
712
  "properties": [
@@ -718,63 +788,6 @@
718
788
  ],
719
789
  "description": "构件 `ai-portal.tab-list`"
720
790
  },
721
- {
722
- "name": "ai-portal.dropdown-select",
723
- "properties": [
724
- {
725
- "name": "value",
726
- "type": "string"
727
- },
728
- {
729
- "name": "options",
730
- "attribute": false,
731
- "type": "DropdownOptions[]"
732
- },
733
- {
734
- "name": "labelMaxWidth",
735
- "attribute": false,
736
- "type": "string | number"
737
- },
738
- {
739
- "name": "loading",
740
- "type": "boolean"
741
- },
742
- {
743
- "name": "searchPlaceholder",
744
- "attribute": false,
745
- "type": "string"
746
- },
747
- {
748
- "name": "dropdownContentStyle",
749
- "attribute": false,
750
- "type": "React.CSSProperties"
751
- },
752
- {
753
- "name": "dropdownMaxWidth",
754
- "description": "",
755
- "default": "\"500px\"",
756
- "attribute": false,
757
- "type": "string | number"
758
- },
759
- {
760
- "name": "showSearch",
761
- "description": "是否展示搜索框",
762
- "type": "boolean"
763
- }
764
- ],
765
- "events": [
766
- {
767
- "name": "change",
768
- "detail": {
769
- "type": "DropdownOptions"
770
- }
771
- }
772
- ],
773
- "slots": [],
774
- "methods": [],
775
- "parts": [],
776
- "description": "构件 `ai-portal.dropdown-select`"
777
- },
778
791
  {
779
792
  "name": "ai-portal.preview-container",
780
793
  "properties": [
@@ -856,74 +869,61 @@
856
869
  "description": "构件 `ai-portal.stat-with-mini-chart`"
857
870
  },
858
871
  {
859
- "name": "ai-portal.chat-box",
872
+ "name": "ai-portal.dropdown-select",
860
873
  "properties": [
861
874
  {
862
- "name": "disabled",
863
- "type": "boolean"
875
+ "name": "value",
876
+ "type": "string"
864
877
  },
865
878
  {
866
- "name": "placeholder",
867
- "type": "string"
879
+ "name": "options",
880
+ "attribute": false,
881
+ "type": "DropdownOptions[]"
868
882
  },
869
883
  {
870
- "name": "autoFocus",
884
+ "name": "labelMaxWidth",
885
+ "attribute": false,
886
+ "type": "string | number"
887
+ },
888
+ {
889
+ "name": "loading",
871
890
  "type": "boolean"
872
891
  },
873
892
  {
874
- "name": "aiEmployees",
893
+ "name": "searchPlaceholder",
875
894
  "attribute": false,
876
- "type": "AIEmployee[]"
895
+ "type": "string"
877
896
  },
878
897
  {
879
- "name": "commands",
898
+ "name": "dropdownContentStyle",
880
899
  "attribute": false,
881
- "type": "Command[]"
900
+ "type": "React.CSSProperties"
882
901
  },
883
902
  {
884
- "name": "uploadOptions",
903
+ "name": "dropdownMaxWidth",
904
+ "description": "",
905
+ "default": "\"500px\"",
885
906
  "attribute": false,
886
- "type": "UploadOptions"
907
+ "type": "string | number"
908
+ },
909
+ {
910
+ "name": "showSearch",
911
+ "description": "是否展示搜索框",
912
+ "type": "boolean"
887
913
  }
888
914
  ],
889
915
  "events": [
890
916
  {
891
- "name": "message.submit",
892
- "description": "",
893
- "deprecated": "Use `chat.submit` event instead",
894
- "detail": {
895
- "type": "string"
896
- }
897
- },
898
- {
899
- "name": "chat.submit",
917
+ "name": "change",
900
918
  "detail": {
901
- "type": "ChatPayload"
919
+ "type": "DropdownOptions"
902
920
  }
903
921
  }
904
922
  ],
905
923
  "slots": [],
906
- "methods": [
907
- {
908
- "name": "setValue",
909
- "params": [
910
- {
911
- "name": "value",
912
- "type": "string"
913
- }
914
- ]
915
- },
916
- {
917
- "name": "getValue",
918
- "params": []
919
- },
920
- {
921
- "name": "focusOnInput",
922
- "params": []
923
- }
924
- ],
924
+ "methods": [],
925
925
  "parts": [],
926
- "description": "大型聊天输入框,用于首页"
926
+ "description": "构件 `ai-portal.dropdown-select`"
927
927
  },
928
928
  {
929
929
  "name": "ai-portal.action-buttons",
@@ -1194,14 +1194,18 @@
1194
1194
  "description": "构件 `ai-portal.elevo-logo`"
1195
1195
  },
1196
1196
  {
1197
- "name": "ai-portal.blank-state",
1197
+ "name": "ai-portal.show-case",
1198
1198
  "properties": [
1199
1199
  {
1200
- "name": "illustration",
1201
- "type": "BlankStateIllustration"
1200
+ "name": "caseTitle",
1201
+ "type": "string"
1202
1202
  },
1203
1203
  {
1204
- "name": "description",
1204
+ "name": "summary",
1205
+ "type": "string"
1206
+ },
1207
+ {
1208
+ "name": "url",
1205
1209
  "type": "string"
1206
1210
  }
1207
1211
  ],
@@ -1209,21 +1213,17 @@
1209
1213
  "slots": [],
1210
1214
  "methods": [],
1211
1215
  "parts": [],
1212
- "description": "构件 `ai-portal.blank-state`"
1216
+ "description": "构件 `ai-portal.show-case`"
1213
1217
  },
1214
1218
  {
1215
- "name": "ai-portal.show-case",
1219
+ "name": "ai-portal.blank-state",
1216
1220
  "properties": [
1217
1221
  {
1218
- "name": "caseTitle",
1219
- "type": "string"
1220
- },
1221
- {
1222
- "name": "summary",
1223
- "type": "string"
1222
+ "name": "illustration",
1223
+ "type": "BlankStateIllustration"
1224
1224
  },
1225
1225
  {
1226
- "name": "url",
1226
+ "name": "description",
1227
1227
  "type": "string"
1228
1228
  }
1229
1229
  ],
@@ -1231,7 +1231,7 @@
1231
1231
  "slots": [],
1232
1232
  "methods": [],
1233
1233
  "parts": [],
1234
- "description": "构件 `ai-portal.show-case`"
1234
+ "description": "构件 `ai-portal.blank-state`"
1235
1235
  },
1236
1236
  {
1237
1237
  "name": "ai-portal.elevo-card",
@@ -1412,6 +1412,32 @@
1412
1412
  "parts": [],
1413
1413
  "description": "构件 `ai-portal.stage-flow`"
1414
1414
  },
1415
+ {
1416
+ "name": "ai-portal.running-flow",
1417
+ "properties": [
1418
+ {
1419
+ "name": "spec",
1420
+ "attribute": false,
1421
+ "type": "FlowStage[]"
1422
+ },
1423
+ {
1424
+ "name": "activeActivityId",
1425
+ "type": "string | null"
1426
+ }
1427
+ ],
1428
+ "events": [
1429
+ {
1430
+ "name": "active.change",
1431
+ "detail": {
1432
+ "type": "string | null"
1433
+ }
1434
+ }
1435
+ ],
1436
+ "slots": [],
1437
+ "methods": [],
1438
+ "parts": [],
1439
+ "description": "构件 `ai-portal.running-flow`"
1440
+ },
1415
1441
  {
1416
1442
  "name": "ai-portal.notice-dropdown",
1417
1443
  "properties": [
@@ -1485,32 +1511,6 @@
1485
1511
  "parts": [],
1486
1512
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1487
1513
  },
1488
- {
1489
- "name": "ai-portal.running-flow",
1490
- "properties": [
1491
- {
1492
- "name": "spec",
1493
- "attribute": false,
1494
- "type": "FlowStage[]"
1495
- },
1496
- {
1497
- "name": "activeActivityId",
1498
- "type": "string | null"
1499
- }
1500
- ],
1501
- "events": [
1502
- {
1503
- "name": "active.change",
1504
- "detail": {
1505
- "type": "string | null"
1506
- }
1507
- }
1508
- ],
1509
- "slots": [],
1510
- "methods": [],
1511
- "parts": [],
1512
- "description": "构件 `ai-portal.running-flow`"
1513
- },
1514
1514
  {
1515
1515
  "name": "ai-portal.notice-list",
1516
1516
  "properties": [
@@ -1612,7 +1612,7 @@
1612
1612
  }
1613
1613
  ],
1614
1614
  "parts": [],
1615
- "description": "弹出式对话面板,支持三种显示模式:抽屉、弹窗、全屏。"
1615
+ "description": "弹出式对话面板。"
1616
1616
  },
1617
1617
  {
1618
1618
  "name": "ai-portal.gantt-chart",
@@ -1651,9 +1651,6 @@
1651
1651
  {
1652
1652
  "name": "ai-portal.call-tool"
1653
1653
  },
1654
- {
1655
- "name": "ai-portal.set-chat-command"
1656
- },
1657
1654
  {
1658
1655
  "name": "ai-portal.save-request-store"
1659
1656
  },
@@ -1662,6 +1659,9 @@
1662
1659
  },
1663
1660
  {
1664
1661
  "name": "ai-portal.clear-request-store"
1662
+ },
1663
+ {
1664
+ "name": "ai-portal.set-chat-command"
1665
1665
  }
1666
1666
  ]
1667
1667
  }