@next-bricks/ai-portal 0.58.4 → 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.
@@ -3,82 +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
- "name": "command.select",
54
- "detail": {
55
- "type": "CommandPayload | null"
56
- }
57
- }
58
- ],
59
- "slots": [],
60
- "methods": [
61
- {
62
- "name": "setValue",
63
- "params": [
64
- {
65
- "name": "value",
66
- "type": "string"
67
- }
68
- ]
69
- },
70
- {
71
- "name": "getValue",
72
- "params": []
73
- },
74
- {
75
- "name": "focusOnInput",
76
- "params": []
77
- }
78
- ],
79
- "parts": [],
80
- "description": "构件 `ai-portal.chat-box`"
81
- },
82
6
  {
83
7
  "name": "ai-portal.cruise-canvas",
84
8
  "properties": [
@@ -424,6 +348,81 @@
424
348
  "parts": [],
425
349
  "description": "构件 `ai-portal.show-cases`"
426
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
+ },
427
426
  {
428
427
  "name": "ai-portal.mcp-tools",
429
428
  "properties": [
@@ -473,6 +472,31 @@
473
472
  "parts": [],
474
473
  "description": "构件 `ai-portal.ai-employees`"
475
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
+ },
476
500
  {
477
501
  "name": "ai-portal.chat-stream",
478
502
  "properties": [
@@ -631,29 +655,49 @@
631
655
  "description": "构件 `ai-portal.chat-stream`"
632
656
  },
633
657
  {
634
- "name": "ai-portal.ai-agents",
658
+ "name": "ai-portal.page-container",
635
659
  "properties": [
636
660
  {
637
- "name": "list",
661
+ "name": "pageTitle",
662
+ "type": "string"
663
+ },
664
+ {
665
+ "name": "breadcrumbs",
638
666
  "attribute": false,
639
- "type": "Agent[]"
667
+ "type": "Breadcrumb[]"
640
668
  },
641
669
  {
642
- "name": "urlTemplate",
643
- "type": "string"
670
+ "name": "size",
671
+ "type": "\"medium\" | \"small\" | \"full\""
644
672
  },
645
673
  {
646
- "name": "withContainer",
647
- "description": "",
648
- "deprecated": true,
649
- "default": "true"
674
+ "name": "variant",
675
+ "type": "\"default\" | \"form\""
676
+ },
677
+ {
678
+ "name": "sticky",
679
+ "type": "boolean"
680
+ },
681
+ {
682
+ "name": "textContent",
683
+ "type": "string",
684
+ "description": "文本内容"
650
685
  }
651
686
  ],
652
687
  "events": [],
653
- "slots": [],
688
+ "slots": [
689
+ {
690
+ "name": null,
691
+ "description": "内容"
692
+ },
693
+ {
694
+ "name": "toolbar",
695
+ "description": "工具栏"
696
+ }
697
+ ],
654
698
  "methods": [],
655
699
  "parts": [],
656
- "description": "构件 `ai-portal.ai-agents`"
700
+ "description": "构件 `ai-portal.page-container`"
657
701
  },
658
702
  {
659
703
  "name": "ai-portal.tab-list",
@@ -692,49 +736,80 @@
692
736
  "description": "构件 `ai-portal.tab-list`"
693
737
  },
694
738
  {
695
- "name": "ai-portal.page-container",
739
+ "name": "ai-portal.chat-box",
696
740
  "properties": [
697
741
  {
698
- "name": "pageTitle",
742
+ "name": "disabled",
743
+ "type": "boolean"
744
+ },
745
+ {
746
+ "name": "placeholder",
699
747
  "type": "string"
700
748
  },
701
749
  {
702
- "name": "breadcrumbs",
750
+ "name": "autoFocus",
751
+ "type": "boolean"
752
+ },
753
+ {
754
+ "name": "aiEmployees",
703
755
  "attribute": false,
704
- "type": "Breadcrumb[]"
756
+ "type": "AIEmployee[]"
705
757
  },
706
758
  {
707
- "name": "size",
708
- "type": "\"medium\" | \"small\" | \"full\""
759
+ "name": "commands",
760
+ "attribute": false,
761
+ "type": "Command[]"
709
762
  },
710
763
  {
711
- "name": "variant",
712
- "type": "\"default\" | \"form\""
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
+ }
713
777
  },
714
778
  {
715
- "name": "sticky",
716
- "type": "boolean"
779
+ "name": "chat.submit",
780
+ "detail": {
781
+ "type": "ChatPayload"
782
+ }
717
783
  },
718
784
  {
719
- "name": "textContent",
720
- "type": "string",
721
- "description": "文本内容"
785
+ "name": "command.select",
786
+ "detail": {
787
+ "type": "CommandPayload | null"
788
+ }
722
789
  }
723
790
  ],
724
- "events": [],
725
- "slots": [
791
+ "slots": [],
792
+ "methods": [
726
793
  {
727
- "name": null,
728
- "description": "内容"
794
+ "name": "setValue",
795
+ "params": [
796
+ {
797
+ "name": "value",
798
+ "type": "string"
799
+ }
800
+ ]
729
801
  },
730
802
  {
731
- "name": "toolbar",
732
- "description": "工具栏"
803
+ "name": "getValue",
804
+ "params": []
805
+ },
806
+ {
807
+ "name": "focusOnInput",
808
+ "params": []
733
809
  }
734
810
  ],
735
- "methods": [],
736
811
  "parts": [],
737
- "description": "构件 `ai-portal.page-container`"
812
+ "description": "构件 `ai-portal.chat-box`"
738
813
  },
739
814
  {
740
815
  "name": "ai-portal.dropdown-select",
@@ -812,20 +887,6 @@
812
887
  "parts": [],
813
888
  "description": "构件 `ai-portal.preview-container`"
814
889
  },
815
- {
816
- "name": "ai-portal.home-container",
817
- "properties": [
818
- {
819
- "name": "sticky",
820
- "type": "boolean"
821
- }
822
- ],
823
- "events": [],
824
- "slots": [],
825
- "methods": [],
826
- "parts": [],
827
- "description": "构件 `ai-portal.home-container`"
828
- },
829
890
  {
830
891
  "name": "ai-portal.action-buttons",
831
892
  "properties": [
@@ -915,67 +976,6 @@
915
976
  "parts": [],
916
977
  "description": "构件 `ai-portal.goal-card-list`"
917
978
  },
918
- {
919
- "name": "ai-portal.stat-with-mini-chart",
920
- "properties": [
921
- {
922
- "name": "label",
923
- "type": "string"
924
- },
925
- {
926
- "name": "value",
927
- "type": "string"
928
- },
929
- {
930
- "name": "size",
931
- "description": "",
932
- "default": "\"medium\"",
933
- "type": "\"medium\" | \"small\""
934
- },
935
- {
936
- "name": "lineColor",
937
- "description": "",
938
- "default": "\"var(--color-brand)\"",
939
- "type": "string"
940
- },
941
- {
942
- "name": "showArea",
943
- "type": "boolean"
944
- },
945
- {
946
- "name": "min",
947
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
948
- "type": "number"
949
- },
950
- {
951
- "name": "max",
952
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
953
- "type": "number"
954
- },
955
- {
956
- "name": "xField",
957
- "description": "",
958
- "default": "\"0\"",
959
- "type": "string"
960
- },
961
- {
962
- "name": "yField",
963
- "description": "",
964
- "default": "\"1\"",
965
- "type": "string"
966
- },
967
- {
968
- "name": "data",
969
- "attribute": false,
970
- "type": "Record<string, number>[]"
971
- }
972
- ],
973
- "events": [],
974
- "slots": [],
975
- "methods": [],
976
- "parts": [],
977
- "description": "构件 `ai-portal.stat-with-mini-chart`"
978
- },
979
979
  {
980
980
  "name": "ai-portal.project-conversations",
981
981
  "properties": [
@@ -1130,15 +1130,6 @@
1130
1130
  "parts": [],
1131
1131
  "description": "构件 `ai-portal.chat-input`"
1132
1132
  },
1133
- {
1134
- "name": "ai-portal.elevo-logo",
1135
- "properties": [],
1136
- "events": [],
1137
- "slots": [],
1138
- "methods": [],
1139
- "parts": [],
1140
- "description": "构件 `ai-portal.elevo-logo`"
1141
- },
1142
1133
  {
1143
1134
  "name": "ai-portal.show-case",
1144
1135
  "properties": [
@@ -1161,6 +1152,33 @@
1161
1152
  "parts": [],
1162
1153
  "description": "构件 `ai-portal.show-case`"
1163
1154
  },
1155
+ {
1156
+ "name": "ai-portal.elevo-logo",
1157
+ "properties": [],
1158
+ "events": [],
1159
+ "slots": [],
1160
+ "methods": [],
1161
+ "parts": [],
1162
+ "description": "构件 `ai-portal.elevo-logo`"
1163
+ },
1164
+ {
1165
+ "name": "ai-portal.blank-state",
1166
+ "properties": [
1167
+ {
1168
+ "name": "illustration",
1169
+ "type": "BlankStateIllustration"
1170
+ },
1171
+ {
1172
+ "name": "description",
1173
+ "type": "string"
1174
+ }
1175
+ ],
1176
+ "events": [],
1177
+ "slots": [],
1178
+ "methods": [],
1179
+ "parts": [],
1180
+ "description": "构件 `ai-portal.blank-state`"
1181
+ },
1164
1182
  {
1165
1183
  "name": "ai-portal.sticky-container",
1166
1184
  "properties": [
@@ -1195,24 +1213,6 @@
1195
1213
  "parts": [],
1196
1214
  "description": "构件 `ai-portal.sticky-container`"
1197
1215
  },
1198
- {
1199
- "name": "ai-portal.blank-state",
1200
- "properties": [
1201
- {
1202
- "name": "illustration",
1203
- "type": "BlankStateIllustration"
1204
- },
1205
- {
1206
- "name": "description",
1207
- "type": "string"
1208
- }
1209
- ],
1210
- "events": [],
1211
- "slots": [],
1212
- "methods": [],
1213
- "parts": [],
1214
- "description": "构件 `ai-portal.blank-state`"
1215
- },
1216
1216
  {
1217
1217
  "name": "ai-portal.elevo-card",
1218
1218
  "properties": [
@@ -1457,9 +1457,6 @@
1457
1457
  {
1458
1458
  "name": "ai-portal.call-tool"
1459
1459
  },
1460
- {
1461
- "name": "ai-portal.set-chat-command"
1462
- },
1463
1460
  {
1464
1461
  "name": "ai-portal.save-request-store"
1465
1462
  },
@@ -1468,6 +1465,9 @@
1468
1465
  },
1469
1466
  {
1470
1467
  "name": "ai-portal.clear-request-store"
1468
+ },
1469
+ {
1470
+ "name": "ai-portal.set-chat-command"
1471
1471
  }
1472
1472
  ]
1473
1473
  }