@next-bricks/ai-portal 0.59.1 → 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.
@@ -355,59 +355,37 @@
355
355
  "description": "构件 `ai-portal.elevo-sidebar`"
356
356
  },
357
357
  {
358
- "name": "ai-portal.icon-button",
358
+ "name": "ai-portal.show-cases",
359
359
  "properties": [
360
360
  {
361
- "name": "icon",
361
+ "name": "list",
362
362
  "attribute": false,
363
- "type": "GeneralIconProps"
364
- },
365
- {
366
- "name": "tooltip",
367
- "type": "string"
368
- },
369
- {
370
- "name": "tooltipHoist",
371
- "type": "boolean"
372
- },
373
- {
374
- "name": "disabled",
375
- "type": "boolean"
376
- },
377
- {
378
- "name": "variant",
379
- "type": "IconButtonVariant"
363
+ "type": "ShowCaseType[]"
380
364
  },
381
365
  {
382
- "name": "reduceIconSize",
383
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
384
- "type": "boolean"
366
+ "name": "limit",
367
+ "type": "number"
385
368
  }
386
369
  ],
387
370
  "events": [],
388
371
  "slots": [],
389
372
  "methods": [],
390
373
  "parts": [],
391
- "description": "构件 `ai-portal.icon-button`"
374
+ "description": "构件 `ai-portal.show-cases`"
392
375
  },
393
376
  {
394
- "name": "ai-portal.show-cases",
377
+ "name": "ai-portal.home-container",
395
378
  "properties": [
396
379
  {
397
- "name": "list",
398
- "attribute": false,
399
- "type": "ShowCaseType[]"
400
- },
401
- {
402
- "name": "limit",
403
- "type": "number"
380
+ "name": "sticky",
381
+ "type": "boolean"
404
382
  }
405
383
  ],
406
384
  "events": [],
407
385
  "slots": [],
408
386
  "methods": [],
409
387
  "parts": [],
410
- "description": "构件 `ai-portal.show-cases`"
388
+ "description": "构件 `ai-portal.home-container`"
411
389
  },
412
390
  {
413
391
  "name": "ai-portal.mcp-tools",
@@ -428,20 +406,6 @@
428
406
  "parts": [],
429
407
  "description": "构件 `ai-portal.mcp-tools`"
430
408
  },
431
- {
432
- "name": "ai-portal.home-container",
433
- "properties": [
434
- {
435
- "name": "sticky",
436
- "type": "boolean"
437
- }
438
- ],
439
- "events": [],
440
- "slots": [],
441
- "methods": [],
442
- "parts": [],
443
- "description": "构件 `ai-portal.home-container`"
444
- },
445
409
  {
446
410
  "name": "ai-portal.ai-employees",
447
411
  "properties": [
@@ -618,6 +582,31 @@
618
582
  "parts": [],
619
583
  "description": "构件 `ai-portal.chat-stream`"
620
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
+ },
621
610
  {
622
611
  "name": "ai-portal.page-container",
623
612
  "properties": [
@@ -664,29 +653,80 @@
664
653
  "description": "构件 `ai-portal.page-container`"
665
654
  },
666
655
  {
667
- "name": "ai-portal.ai-agents",
656
+ "name": "ai-portal.chat-box",
668
657
  "properties": [
669
658
  {
670
- "name": "list",
671
- "attribute": false,
672
- "type": "Agent[]"
659
+ "name": "disabled",
660
+ "type": "boolean"
673
661
  },
674
662
  {
675
- "name": "urlTemplate",
663
+ "name": "placeholder",
676
664
  "type": "string"
677
665
  },
678
666
  {
679
- "name": "withContainer",
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",
680
689
  "description": "",
681
- "deprecated": true,
682
- "default": "true"
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
+ }
700
+ },
701
+ {
702
+ "name": "command.select",
703
+ "detail": {
704
+ "type": "CommandPayload | null"
705
+ }
683
706
  }
684
707
  ],
685
- "events": [],
686
708
  "slots": [],
687
- "methods": [],
709
+ "methods": [
710
+ {
711
+ "name": "setValue",
712
+ "params": [
713
+ {
714
+ "name": "value",
715
+ "type": "string"
716
+ }
717
+ ]
718
+ },
719
+ {
720
+ "name": "getValue",
721
+ "params": []
722
+ },
723
+ {
724
+ "name": "focusOnInput",
725
+ "params": []
726
+ }
727
+ ],
688
728
  "parts": [],
689
- "description": "构件 `ai-portal.ai-agents`"
729
+ "description": "构件 `ai-portal.chat-box`"
690
730
  },
691
731
  {
692
732
  "name": "ai-portal.tab-list",
@@ -724,6 +764,42 @@
724
764
  ],
725
765
  "description": "构件 `ai-portal.tab-list`"
726
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
+ },
727
803
  {
728
804
  "name": "ai-portal.dropdown-select",
729
805
  "properties": [
@@ -781,82 +857,6 @@
781
857
  "parts": [],
782
858
  "description": "构件 `ai-portal.dropdown-select`"
783
859
  },
784
- {
785
- "name": "ai-portal.chat-box",
786
- "properties": [
787
- {
788
- "name": "disabled",
789
- "type": "boolean"
790
- },
791
- {
792
- "name": "placeholder",
793
- "type": "string"
794
- },
795
- {
796
- "name": "autoFocus",
797
- "type": "boolean"
798
- },
799
- {
800
- "name": "aiEmployees",
801
- "attribute": false,
802
- "type": "AIEmployee[]"
803
- },
804
- {
805
- "name": "commands",
806
- "attribute": false,
807
- "type": "Command[]"
808
- },
809
- {
810
- "name": "uploadOptions",
811
- "attribute": false,
812
- "type": "UploadOptions"
813
- }
814
- ],
815
- "events": [
816
- {
817
- "name": "message.submit",
818
- "description": "",
819
- "deprecated": "Use `chat.submit` event instead",
820
- "detail": {
821
- "type": "string"
822
- }
823
- },
824
- {
825
- "name": "chat.submit",
826
- "detail": {
827
- "type": "ChatPayload"
828
- }
829
- },
830
- {
831
- "name": "command.select",
832
- "detail": {
833
- "type": "CommandPayload | null"
834
- }
835
- }
836
- ],
837
- "slots": [],
838
- "methods": [
839
- {
840
- "name": "setValue",
841
- "params": [
842
- {
843
- "name": "value",
844
- "type": "string"
845
- }
846
- ]
847
- },
848
- {
849
- "name": "getValue",
850
- "params": []
851
- },
852
- {
853
- "name": "focusOnInput",
854
- "params": []
855
- }
856
- ],
857
- "parts": [],
858
- "description": "构件 `ai-portal.chat-box`"
859
- },
860
860
  {
861
861
  "name": "ai-portal.preview-container",
862
862
  "properties": [
@@ -1007,6 +1007,25 @@
1007
1007
  "parts": [],
1008
1008
  "description": "构件 `ai-portal.project-conversations`"
1009
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
+ },
1010
1029
  {
1011
1030
  "name": "ai-portal.project-knowledges",
1012
1031
  "properties": [
@@ -1044,25 +1063,6 @@
1044
1063
  "parts": [],
1045
1064
  "description": "构件 `ai-portal.project-knowledges`"
1046
1065
  },
1047
- {
1048
- "name": "ai-portal.activity-timeline",
1049
- "properties": [
1050
- {
1051
- "name": "list",
1052
- "attribute": false,
1053
- "type": "Activity[]"
1054
- },
1055
- {
1056
- "name": "chatUrlTemplate",
1057
- "type": "string"
1058
- }
1059
- ],
1060
- "events": [],
1061
- "slots": [],
1062
- "methods": [],
1063
- "parts": [],
1064
- "description": "构件 `ai-portal.activity-timeline`"
1065
- },
1066
1066
  {
1067
1067
  "name": "ai-portal.chat-input",
1068
1068
  "properties": [
@@ -1168,6 +1168,37 @@
1168
1168
  "parts": [],
1169
1169
  "description": "构件 `ai-portal.blank-state`"
1170
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
+ },
1171
1202
  {
1172
1203
  "name": "ai-portal.sticky-container",
1173
1204
  "properties": [
@@ -1202,37 +1233,6 @@
1202
1233
  "parts": [],
1203
1234
  "description": "构件 `ai-portal.sticky-container`"
1204
1235
  },
1205
- {
1206
- "name": "ai-portal.elevo-card",
1207
- "properties": [
1208
- {
1209
- "name": "cardTitle",
1210
- "type": "string"
1211
- },
1212
- {
1213
- "name": "description",
1214
- "type": "string"
1215
- },
1216
- {
1217
- "name": "url",
1218
- "type": "string"
1219
- },
1220
- {
1221
- "name": "avatar",
1222
- "attribute": false,
1223
- "type": "string | GeneralIconProps"
1224
- },
1225
- {
1226
- "name": "avatarType",
1227
- "type": "\"icon\" | \"image\""
1228
- }
1229
- ],
1230
- "events": [],
1231
- "slots": [],
1232
- "methods": [],
1233
- "parts": [],
1234
- "description": "构件 `ai-portal.elevo-card`"
1235
- },
1236
1236
  {
1237
1237
  "name": "ai-portal.flow-tabs",
1238
1238
  "properties": [
@@ -1510,19 +1510,19 @@
1510
1510
  ],
1511
1511
  "providers": [
1512
1512
  {
1513
- "name": "ai-portal.call-tool"
1513
+ "name": "ai-portal.save-request-store"
1514
1514
  },
1515
1515
  {
1516
- "name": "ai-portal.set-chat-command"
1516
+ "name": "ai-portal.load-request-store"
1517
1517
  },
1518
1518
  {
1519
- "name": "ai-portal.save-request-store"
1519
+ "name": "ai-portal.clear-request-store"
1520
1520
  },
1521
1521
  {
1522
- "name": "ai-portal.load-request-store"
1522
+ "name": "ai-portal.call-tool"
1523
1523
  },
1524
1524
  {
1525
- "name": "ai-portal.clear-request-store"
1525
+ "name": "ai-portal.set-chat-command"
1526
1526
  }
1527
1527
  ]
1528
1528
  }