@next-bricks/ai-portal 0.59.0 → 0.59.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.
@@ -157,6 +157,67 @@
157
157
  "parts": [],
158
158
  "description": "构件 `ai-portal.cruise-canvas`"
159
159
  },
160
+ {
161
+ "name": "ai-portal.stat-with-mini-chart",
162
+ "properties": [
163
+ {
164
+ "name": "label",
165
+ "type": "string"
166
+ },
167
+ {
168
+ "name": "value",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "name": "size",
173
+ "description": "",
174
+ "default": "\"medium\"",
175
+ "type": "\"medium\" | \"small\""
176
+ },
177
+ {
178
+ "name": "lineColor",
179
+ "description": "",
180
+ "default": "\"var(--color-brand)\"",
181
+ "type": "string"
182
+ },
183
+ {
184
+ "name": "showArea",
185
+ "type": "boolean"
186
+ },
187
+ {
188
+ "name": "min",
189
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
190
+ "type": "number"
191
+ },
192
+ {
193
+ "name": "max",
194
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
195
+ "type": "number"
196
+ },
197
+ {
198
+ "name": "xField",
199
+ "description": "",
200
+ "default": "\"0\"",
201
+ "type": "string"
202
+ },
203
+ {
204
+ "name": "yField",
205
+ "description": "",
206
+ "default": "\"1\"",
207
+ "type": "string"
208
+ },
209
+ {
210
+ "name": "data",
211
+ "attribute": false,
212
+ "type": "Record<string, number>[]"
213
+ }
214
+ ],
215
+ "events": [],
216
+ "slots": [],
217
+ "methods": [],
218
+ "parts": [],
219
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
220
+ },
160
221
  {
161
222
  "name": "ai-portal.elevo-sidebar",
162
223
  "properties": [
@@ -294,126 +355,48 @@
294
355
  "description": "构件 `ai-portal.elevo-sidebar`"
295
356
  },
296
357
  {
297
- "name": "ai-portal.home-container",
298
- "properties": [
299
- {
300
- "name": "sticky",
301
- "type": "boolean"
302
- }
303
- ],
304
- "events": [],
305
- "slots": [],
306
- "methods": [],
307
- "parts": [],
308
- "description": "构件 `ai-portal.home-container`"
309
- },
310
- {
311
- "name": "ai-portal.icon-button",
358
+ "name": "ai-portal.show-cases",
312
359
  "properties": [
313
360
  {
314
- "name": "icon",
361
+ "name": "list",
315
362
  "attribute": false,
316
- "type": "GeneralIconProps"
317
- },
318
- {
319
- "name": "tooltip",
320
- "type": "string"
321
- },
322
- {
323
- "name": "tooltipHoist",
324
- "type": "boolean"
325
- },
326
- {
327
- "name": "disabled",
328
- "type": "boolean"
329
- },
330
- {
331
- "name": "variant",
332
- "type": "IconButtonVariant"
363
+ "type": "ShowCaseType[]"
333
364
  },
334
365
  {
335
- "name": "reduceIconSize",
336
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
337
- "type": "boolean"
366
+ "name": "limit",
367
+ "type": "number"
338
368
  }
339
369
  ],
340
370
  "events": [],
341
371
  "slots": [],
342
372
  "methods": [],
343
373
  "parts": [],
344
- "description": "构件 `ai-portal.icon-button`"
374
+ "description": "构件 `ai-portal.show-cases`"
345
375
  },
346
376
  {
347
- "name": "ai-portal.stat-with-mini-chart",
377
+ "name": "ai-portal.home-container",
348
378
  "properties": [
349
379
  {
350
- "name": "label",
351
- "type": "string"
352
- },
353
- {
354
- "name": "value",
355
- "type": "string"
356
- },
357
- {
358
- "name": "size",
359
- "description": "",
360
- "default": "\"medium\"",
361
- "type": "\"medium\" | \"small\""
362
- },
363
- {
364
- "name": "lineColor",
365
- "description": "",
366
- "default": "\"var(--color-brand)\"",
367
- "type": "string"
368
- },
369
- {
370
- "name": "showArea",
380
+ "name": "sticky",
371
381
  "type": "boolean"
372
- },
373
- {
374
- "name": "min",
375
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
376
- "type": "number"
377
- },
378
- {
379
- "name": "max",
380
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
381
- "type": "number"
382
- },
383
- {
384
- "name": "xField",
385
- "description": "",
386
- "default": "\"0\"",
387
- "type": "string"
388
- },
389
- {
390
- "name": "yField",
391
- "description": "",
392
- "default": "\"1\"",
393
- "type": "string"
394
- },
395
- {
396
- "name": "data",
397
- "attribute": false,
398
- "type": "Record<string, number>[]"
399
382
  }
400
383
  ],
401
384
  "events": [],
402
385
  "slots": [],
403
386
  "methods": [],
404
387
  "parts": [],
405
- "description": "构件 `ai-portal.stat-with-mini-chart`"
388
+ "description": "构件 `ai-portal.home-container`"
406
389
  },
407
390
  {
408
- "name": "ai-portal.show-cases",
391
+ "name": "ai-portal.mcp-tools",
409
392
  "properties": [
410
393
  {
411
394
  "name": "list",
412
395
  "attribute": false,
413
- "type": "ShowCaseType[]"
396
+ "type": "McpTool[]"
414
397
  },
415
398
  {
416
- "name": "limit",
399
+ "name": "stickyTop",
417
400
  "type": "number"
418
401
  }
419
402
  ],
@@ -421,7 +404,7 @@
421
404
  "slots": [],
422
405
  "methods": [],
423
406
  "parts": [],
424
- "description": "构件 `ai-portal.show-cases`"
407
+ "description": "构件 `ai-portal.mcp-tools`"
425
408
  },
426
409
  {
427
410
  "name": "ai-portal.ai-employees",
@@ -451,50 +434,6 @@
451
434
  "parts": [],
452
435
  "description": "构件 `ai-portal.ai-employees`"
453
436
  },
454
- {
455
- "name": "ai-portal.mcp-tools",
456
- "properties": [
457
- {
458
- "name": "list",
459
- "attribute": false,
460
- "type": "McpTool[]"
461
- },
462
- {
463
- "name": "stickyTop",
464
- "type": "number"
465
- }
466
- ],
467
- "events": [],
468
- "slots": [],
469
- "methods": [],
470
- "parts": [],
471
- "description": "构件 `ai-portal.mcp-tools`"
472
- },
473
- {
474
- "name": "ai-portal.ai-agents",
475
- "properties": [
476
- {
477
- "name": "list",
478
- "attribute": false,
479
- "type": "Agent[]"
480
- },
481
- {
482
- "name": "urlTemplate",
483
- "type": "string"
484
- },
485
- {
486
- "name": "withContainer",
487
- "description": "",
488
- "deprecated": true,
489
- "default": "true"
490
- }
491
- ],
492
- "events": [],
493
- "slots": [],
494
- "methods": [],
495
- "parts": [],
496
- "description": "构件 `ai-portal.ai-agents`"
497
- },
498
437
  {
499
438
  "name": "ai-portal.chat-stream",
500
439
  "properties": [
@@ -608,6 +547,12 @@
608
547
  "detail": {
609
548
  "type": "ConversationDetail"
610
549
  }
550
+ },
551
+ {
552
+ "name": "split.change",
553
+ "detail": {
554
+ "type": "boolean"
555
+ }
611
556
  }
612
557
  ],
613
558
  "slots": [],
@@ -637,6 +582,31 @@
637
582
  "parts": [],
638
583
  "description": "构件 `ai-portal.chat-stream`"
639
584
  },
585
+ {
586
+ "name": "ai-portal.ai-agents",
587
+ "properties": [
588
+ {
589
+ "name": "list",
590
+ "attribute": false,
591
+ "type": "Agent[]"
592
+ },
593
+ {
594
+ "name": "urlTemplate",
595
+ "type": "string"
596
+ },
597
+ {
598
+ "name": "withContainer",
599
+ "description": "",
600
+ "deprecated": true,
601
+ "default": "true"
602
+ }
603
+ ],
604
+ "events": [],
605
+ "slots": [],
606
+ "methods": [],
607
+ "parts": [],
608
+ "description": "构件 `ai-portal.ai-agents`"
609
+ },
640
610
  {
641
611
  "name": "ai-portal.page-container",
642
612
  "properties": [
@@ -658,29 +628,105 @@
658
628
  "type": "\"default\" | \"form\""
659
629
  },
660
630
  {
661
- "name": "sticky",
662
- "type": "boolean"
631
+ "name": "sticky",
632
+ "type": "boolean"
633
+ },
634
+ {
635
+ "name": "textContent",
636
+ "type": "string",
637
+ "description": "文本内容"
638
+ }
639
+ ],
640
+ "events": [],
641
+ "slots": [
642
+ {
643
+ "name": null,
644
+ "description": "内容"
645
+ },
646
+ {
647
+ "name": "toolbar",
648
+ "description": "工具栏"
649
+ }
650
+ ],
651
+ "methods": [],
652
+ "parts": [],
653
+ "description": "构件 `ai-portal.page-container`"
654
+ },
655
+ {
656
+ "name": "ai-portal.chat-box",
657
+ "properties": [
658
+ {
659
+ "name": "disabled",
660
+ "type": "boolean"
661
+ },
662
+ {
663
+ "name": "placeholder",
664
+ "type": "string"
665
+ },
666
+ {
667
+ "name": "autoFocus",
668
+ "type": "boolean"
669
+ },
670
+ {
671
+ "name": "aiEmployees",
672
+ "attribute": false,
673
+ "type": "AIEmployee[]"
674
+ },
675
+ {
676
+ "name": "commands",
677
+ "attribute": false,
678
+ "type": "Command[]"
679
+ },
680
+ {
681
+ "name": "uploadOptions",
682
+ "attribute": false,
683
+ "type": "UploadOptions"
684
+ }
685
+ ],
686
+ "events": [
687
+ {
688
+ "name": "message.submit",
689
+ "description": "",
690
+ "deprecated": "Use `chat.submit` event instead",
691
+ "detail": {
692
+ "type": "string"
693
+ }
694
+ },
695
+ {
696
+ "name": "chat.submit",
697
+ "detail": {
698
+ "type": "ChatPayload"
699
+ }
663
700
  },
664
701
  {
665
- "name": "textContent",
666
- "type": "string",
667
- "description": "文本内容"
702
+ "name": "command.select",
703
+ "detail": {
704
+ "type": "CommandPayload | null"
705
+ }
668
706
  }
669
707
  ],
670
- "events": [],
671
- "slots": [
708
+ "slots": [],
709
+ "methods": [
672
710
  {
673
- "name": null,
674
- "description": "内容"
711
+ "name": "setValue",
712
+ "params": [
713
+ {
714
+ "name": "value",
715
+ "type": "string"
716
+ }
717
+ ]
675
718
  },
676
719
  {
677
- "name": "toolbar",
678
- "description": "工具栏"
720
+ "name": "getValue",
721
+ "params": []
722
+ },
723
+ {
724
+ "name": "focusOnInput",
725
+ "params": []
679
726
  }
680
727
  ],
681
- "methods": [],
682
728
  "parts": [],
683
- "description": "构件 `ai-portal.page-container`"
729
+ "description": "构件 `ai-portal.chat-box`"
684
730
  },
685
731
  {
686
732
  "name": "ai-portal.tab-list",
@@ -718,6 +764,42 @@
718
764
  ],
719
765
  "description": "构件 `ai-portal.tab-list`"
720
766
  },
767
+ {
768
+ "name": "ai-portal.icon-button",
769
+ "properties": [
770
+ {
771
+ "name": "icon",
772
+ "attribute": false,
773
+ "type": "GeneralIconProps"
774
+ },
775
+ {
776
+ "name": "tooltip",
777
+ "type": "string"
778
+ },
779
+ {
780
+ "name": "tooltipHoist",
781
+ "type": "boolean"
782
+ },
783
+ {
784
+ "name": "disabled",
785
+ "type": "boolean"
786
+ },
787
+ {
788
+ "name": "variant",
789
+ "type": "IconButtonVariant"
790
+ },
791
+ {
792
+ "name": "reduceIconSize",
793
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
794
+ "type": "boolean"
795
+ }
796
+ ],
797
+ "events": [],
798
+ "slots": [],
799
+ "methods": [],
800
+ "parts": [],
801
+ "description": "构件 `ai-portal.icon-button`"
802
+ },
721
803
  {
722
804
  "name": "ai-portal.dropdown-select",
723
805
  "properties": [
@@ -775,82 +857,6 @@
775
857
  "parts": [],
776
858
  "description": "构件 `ai-portal.dropdown-select`"
777
859
  },
778
- {
779
- "name": "ai-portal.chat-box",
780
- "properties": [
781
- {
782
- "name": "disabled",
783
- "type": "boolean"
784
- },
785
- {
786
- "name": "placeholder",
787
- "type": "string"
788
- },
789
- {
790
- "name": "autoFocus",
791
- "type": "boolean"
792
- },
793
- {
794
- "name": "aiEmployees",
795
- "attribute": false,
796
- "type": "AIEmployee[]"
797
- },
798
- {
799
- "name": "commands",
800
- "attribute": false,
801
- "type": "Command[]"
802
- },
803
- {
804
- "name": "uploadOptions",
805
- "attribute": false,
806
- "type": "UploadOptions"
807
- }
808
- ],
809
- "events": [
810
- {
811
- "name": "message.submit",
812
- "description": "",
813
- "deprecated": "Use `chat.submit` event instead",
814
- "detail": {
815
- "type": "string"
816
- }
817
- },
818
- {
819
- "name": "chat.submit",
820
- "detail": {
821
- "type": "ChatPayload"
822
- }
823
- },
824
- {
825
- "name": "command.select",
826
- "detail": {
827
- "type": "CommandPayload | null"
828
- }
829
- }
830
- ],
831
- "slots": [],
832
- "methods": [
833
- {
834
- "name": "setValue",
835
- "params": [
836
- {
837
- "name": "value",
838
- "type": "string"
839
- }
840
- ]
841
- },
842
- {
843
- "name": "getValue",
844
- "params": []
845
- },
846
- {
847
- "name": "focusOnInput",
848
- "params": []
849
- }
850
- ],
851
- "parts": [],
852
- "description": "构件 `ai-portal.chat-box`"
853
- },
854
860
  {
855
861
  "name": "ai-portal.preview-container",
856
862
  "properties": [
@@ -1001,6 +1007,25 @@
1001
1007
  "parts": [],
1002
1008
  "description": "构件 `ai-portal.project-conversations`"
1003
1009
  },
1010
+ {
1011
+ "name": "ai-portal.activity-timeline",
1012
+ "properties": [
1013
+ {
1014
+ "name": "list",
1015
+ "attribute": false,
1016
+ "type": "Activity[]"
1017
+ },
1018
+ {
1019
+ "name": "chatUrlTemplate",
1020
+ "type": "string"
1021
+ }
1022
+ ],
1023
+ "events": [],
1024
+ "slots": [],
1025
+ "methods": [],
1026
+ "parts": [],
1027
+ "description": "构件 `ai-portal.activity-timeline`"
1028
+ },
1004
1029
  {
1005
1030
  "name": "ai-portal.project-knowledges",
1006
1031
  "properties": [
@@ -1038,25 +1063,6 @@
1038
1063
  "parts": [],
1039
1064
  "description": "构件 `ai-portal.project-knowledges`"
1040
1065
  },
1041
- {
1042
- "name": "ai-portal.activity-timeline",
1043
- "properties": [
1044
- {
1045
- "name": "list",
1046
- "attribute": false,
1047
- "type": "Activity[]"
1048
- },
1049
- {
1050
- "name": "chatUrlTemplate",
1051
- "type": "string"
1052
- }
1053
- ],
1054
- "events": [],
1055
- "slots": [],
1056
- "methods": [],
1057
- "parts": [],
1058
- "description": "构件 `ai-portal.activity-timeline`"
1059
- },
1060
1066
  {
1061
1067
  "name": "ai-portal.chat-input",
1062
1068
  "properties": [
@@ -1162,6 +1168,37 @@
1162
1168
  "parts": [],
1163
1169
  "description": "构件 `ai-portal.blank-state`"
1164
1170
  },
1171
+ {
1172
+ "name": "ai-portal.elevo-card",
1173
+ "properties": [
1174
+ {
1175
+ "name": "cardTitle",
1176
+ "type": "string"
1177
+ },
1178
+ {
1179
+ "name": "description",
1180
+ "type": "string"
1181
+ },
1182
+ {
1183
+ "name": "url",
1184
+ "type": "string"
1185
+ },
1186
+ {
1187
+ "name": "avatar",
1188
+ "attribute": false,
1189
+ "type": "string | GeneralIconProps"
1190
+ },
1191
+ {
1192
+ "name": "avatarType",
1193
+ "type": "\"icon\" | \"image\""
1194
+ }
1195
+ ],
1196
+ "events": [],
1197
+ "slots": [],
1198
+ "methods": [],
1199
+ "parts": [],
1200
+ "description": "构件 `ai-portal.elevo-card`"
1201
+ },
1165
1202
  {
1166
1203
  "name": "ai-portal.sticky-container",
1167
1204
  "properties": [
@@ -1409,37 +1446,6 @@
1409
1446
  "parts": [],
1410
1447
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1411
1448
  },
1412
- {
1413
- "name": "ai-portal.elevo-card",
1414
- "properties": [
1415
- {
1416
- "name": "cardTitle",
1417
- "type": "string"
1418
- },
1419
- {
1420
- "name": "description",
1421
- "type": "string"
1422
- },
1423
- {
1424
- "name": "url",
1425
- "type": "string"
1426
- },
1427
- {
1428
- "name": "avatar",
1429
- "attribute": false,
1430
- "type": "string | GeneralIconProps"
1431
- },
1432
- {
1433
- "name": "avatarType",
1434
- "type": "\"icon\" | \"image\""
1435
- }
1436
- ],
1437
- "events": [],
1438
- "slots": [],
1439
- "methods": [],
1440
- "parts": [],
1441
- "description": "构件 `ai-portal.elevo-card`"
1442
- },
1443
1449
  {
1444
1450
  "name": "ai-portal.notice-list",
1445
1451
  "properties": [
@@ -1503,9 +1509,6 @@
1503
1509
  }
1504
1510
  ],
1505
1511
  "providers": [
1506
- {
1507
- "name": "ai-portal.call-tool"
1508
- },
1509
1512
  {
1510
1513
  "name": "ai-portal.save-request-store"
1511
1514
  },
@@ -1515,6 +1518,9 @@
1515
1518
  {
1516
1519
  "name": "ai-portal.clear-request-store"
1517
1520
  },
1521
+ {
1522
+ "name": "ai-portal.call-tool"
1523
+ },
1518
1524
  {
1519
1525
  "name": "ai-portal.set-chat-command"
1520
1526
  }