@next-bricks/ai-portal 0.39.3 → 0.39.4

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.
Files changed (30) hide show
  1. package/dist/bricks.json +27 -27
  2. package/dist/chunks/71.fac7051d.js +2 -0
  3. package/dist/chunks/71.fac7051d.js.map +1 -0
  4. package/dist/chunks/action-buttons.bc5e9334.js +2 -0
  5. package/dist/chunks/action-buttons.bc5e9334.js.map +1 -0
  6. package/dist/chunks/dropdown-select.3c0cd96d.js +2 -0
  7. package/dist/chunks/dropdown-select.3c0cd96d.js.map +1 -0
  8. package/dist/chunks/goal-card-list.d0dfa31e.js +3 -0
  9. package/dist/chunks/goal-card-list.d0dfa31e.js.map +1 -0
  10. package/dist/chunks/{main.2e680f23.js → main.34dc1e32.js} +2 -2
  11. package/dist/chunks/{main.2e680f23.js.map → main.34dc1e32.js.map} +1 -1
  12. package/dist/examples.json +14 -14
  13. package/dist/{index.45a33574.js → index.5799bda2.js} +2 -2
  14. package/dist/{index.45a33574.js.map → index.5799bda2.js.map} +1 -1
  15. package/dist/manifest.json +236 -224
  16. package/dist/types.json +316 -301
  17. package/dist-types/action-buttons/index.d.ts +0 -1
  18. package/dist-types/dropdown-select/index.d.ts +2 -0
  19. package/dist-types/goal-card-list/CardItem/CardItem.d.ts +1 -1
  20. package/docs/action-buttons.md +7 -2
  21. package/package.json +2 -2
  22. package/dist/chunks/71.c149a595.js +0 -2
  23. package/dist/chunks/71.c149a595.js.map +0 -1
  24. package/dist/chunks/action-buttons.646a069f.js +0 -2
  25. package/dist/chunks/action-buttons.646a069f.js.map +0 -1
  26. package/dist/chunks/dropdown-select.60c8ff0c.js +0 -2
  27. package/dist/chunks/dropdown-select.60c8ff0c.js.map +0 -1
  28. package/dist/chunks/goal-card-list.e1e50f2f.js +0 -3
  29. package/dist/chunks/goal-card-list.e1e50f2f.js.map +0 -1
  30. /package/dist/chunks/{goal-card-list.e1e50f2f.js.LICENSE.txt → goal-card-list.d0dfa31e.js.LICENSE.txt} +0 -0
package/dist/types.json CHANGED
@@ -70,8 +70,107 @@
70
70
  }
71
71
  ]
72
72
  },
73
- "ai-portal.home-container": {
74
- "properties": [],
73
+ "ai-portal.stat-with-mini-chart": {
74
+ "properties": [
75
+ {
76
+ "name": "label",
77
+ "annotation": {
78
+ "type": "keyword",
79
+ "value": "string"
80
+ }
81
+ },
82
+ {
83
+ "name": "value",
84
+ "annotation": {
85
+ "type": "keyword",
86
+ "value": "string"
87
+ }
88
+ },
89
+ {
90
+ "name": "size",
91
+ "annotation": {
92
+ "type": "union",
93
+ "types": [
94
+ {
95
+ "type": "jsLiteral",
96
+ "value": "medium"
97
+ },
98
+ {
99
+ "type": "jsLiteral",
100
+ "value": "small"
101
+ }
102
+ ]
103
+ }
104
+ },
105
+ {
106
+ "name": "lineColor",
107
+ "annotation": {
108
+ "type": "keyword",
109
+ "value": "string"
110
+ }
111
+ },
112
+ {
113
+ "name": "showArea",
114
+ "annotation": {
115
+ "type": "keyword",
116
+ "value": "boolean"
117
+ }
118
+ },
119
+ {
120
+ "name": "min",
121
+ "annotation": {
122
+ "type": "keyword",
123
+ "value": "number"
124
+ }
125
+ },
126
+ {
127
+ "name": "max",
128
+ "annotation": {
129
+ "type": "keyword",
130
+ "value": "number"
131
+ }
132
+ },
133
+ {
134
+ "name": "xField",
135
+ "annotation": {
136
+ "type": "keyword",
137
+ "value": "string"
138
+ }
139
+ },
140
+ {
141
+ "name": "yField",
142
+ "annotation": {
143
+ "type": "keyword",
144
+ "value": "string"
145
+ }
146
+ },
147
+ {
148
+ "name": "data",
149
+ "annotation": {
150
+ "type": "array",
151
+ "elementType": {
152
+ "type": "reference",
153
+ "typeName": {
154
+ "type": "identifier",
155
+ "name": "Record"
156
+ },
157
+ "typeParameters": {
158
+ "type": "typeParameterInstantiation",
159
+ "params": [
160
+ {
161
+ "type": "keyword",
162
+ "value": "string"
163
+ },
164
+ {
165
+ "type": "keyword",
166
+ "value": "number"
167
+ }
168
+ ]
169
+ }
170
+ }
171
+ }
172
+ }
173
+ ],
75
174
  "events": [],
76
175
  "methods": []
77
176
  },
@@ -361,6 +460,11 @@
361
460
  }
362
461
  ]
363
462
  },
463
+ "ai-portal.home-container": {
464
+ "properties": [],
465
+ "events": [],
466
+ "methods": []
467
+ },
364
468
  "ai-portal.tab-list": {
365
469
  "properties": [
366
470
  {
@@ -432,110 +536,6 @@
432
536
  }
433
537
  ]
434
538
  },
435
- "ai-portal.stat-with-mini-chart": {
436
- "properties": [
437
- {
438
- "name": "label",
439
- "annotation": {
440
- "type": "keyword",
441
- "value": "string"
442
- }
443
- },
444
- {
445
- "name": "value",
446
- "annotation": {
447
- "type": "keyword",
448
- "value": "string"
449
- }
450
- },
451
- {
452
- "name": "size",
453
- "annotation": {
454
- "type": "union",
455
- "types": [
456
- {
457
- "type": "jsLiteral",
458
- "value": "medium"
459
- },
460
- {
461
- "type": "jsLiteral",
462
- "value": "small"
463
- }
464
- ]
465
- }
466
- },
467
- {
468
- "name": "lineColor",
469
- "annotation": {
470
- "type": "keyword",
471
- "value": "string"
472
- }
473
- },
474
- {
475
- "name": "showArea",
476
- "annotation": {
477
- "type": "keyword",
478
- "value": "boolean"
479
- }
480
- },
481
- {
482
- "name": "min",
483
- "annotation": {
484
- "type": "keyword",
485
- "value": "number"
486
- }
487
- },
488
- {
489
- "name": "max",
490
- "annotation": {
491
- "type": "keyword",
492
- "value": "number"
493
- }
494
- },
495
- {
496
- "name": "xField",
497
- "annotation": {
498
- "type": "keyword",
499
- "value": "string"
500
- }
501
- },
502
- {
503
- "name": "yField",
504
- "annotation": {
505
- "type": "keyword",
506
- "value": "string"
507
- }
508
- },
509
- {
510
- "name": "data",
511
- "annotation": {
512
- "type": "array",
513
- "elementType": {
514
- "type": "reference",
515
- "typeName": {
516
- "type": "identifier",
517
- "name": "Record"
518
- },
519
- "typeParameters": {
520
- "type": "typeParameterInstantiation",
521
- "params": [
522
- {
523
- "type": "keyword",
524
- "value": "string"
525
- },
526
- {
527
- "type": "keyword",
528
- "value": "number"
529
- }
530
- ]
531
- }
532
- }
533
- }
534
- }
535
- ],
536
- "events": [],
537
- "methods": []
538
- },
539
539
  "ai-portal.project-knowledges": {
540
540
  "properties": [
541
541
  {
@@ -718,137 +718,6 @@
718
718
  ],
719
719
  "methods": []
720
720
  },
721
- "ai-portal.mcp-tools": {
722
- "properties": [
723
- {
724
- "name": "list",
725
- "annotation": {
726
- "type": "array",
727
- "elementType": {
728
- "type": "reference",
729
- "typeName": {
730
- "type": "identifier",
731
- "name": "McpTool"
732
- }
733
- }
734
- }
735
- },
736
- {
737
- "name": "withContainer",
738
- "annotation": {
739
- "type": "keyword",
740
- "value": "boolean"
741
- }
742
- }
743
- ],
744
- "events": [],
745
- "methods": [],
746
- "types": [
747
- {
748
- "type": "interface",
749
- "name": "McpTool",
750
- "body": [
751
- {
752
- "type": "propertySignature",
753
- "key": {
754
- "type": "identifier",
755
- "name": "name"
756
- },
757
- "annotation": {
758
- "type": "keyword",
759
- "value": "string"
760
- },
761
- "computed": false
762
- },
763
- {
764
- "type": "propertySignature",
765
- "key": {
766
- "type": "identifier",
767
- "name": "title"
768
- },
769
- "annotation": {
770
- "type": "keyword",
771
- "value": "string"
772
- },
773
- "computed": false
774
- },
775
- {
776
- "type": "propertySignature",
777
- "key": {
778
- "type": "identifier",
779
- "name": "description"
780
- },
781
- "annotation": {
782
- "type": "keyword",
783
- "value": "string"
784
- },
785
- "computed": false
786
- },
787
- {
788
- "type": "propertySignature",
789
- "key": {
790
- "type": "identifier",
791
- "name": "icon"
792
- },
793
- "annotation": {
794
- "type": "reference",
795
- "typeName": {
796
- "type": "identifier",
797
- "name": "GeneralIconProps"
798
- }
799
- },
800
- "optional": true,
801
- "computed": false
802
- },
803
- {
804
- "type": "propertySignature",
805
- "key": {
806
- "type": "identifier",
807
- "name": "server"
808
- },
809
- "annotation": {
810
- "type": "reference",
811
- "typeName": {
812
- "type": "identifier",
813
- "name": "McpServer"
814
- }
815
- },
816
- "computed": false
817
- }
818
- ]
819
- },
820
- {
821
- "type": "interface",
822
- "name": "McpServer",
823
- "body": [
824
- {
825
- "type": "propertySignature",
826
- "key": {
827
- "type": "identifier",
828
- "name": "id"
829
- },
830
- "annotation": {
831
- "type": "keyword",
832
- "value": "string"
833
- },
834
- "computed": false
835
- },
836
- {
837
- "type": "propertySignature",
838
- "key": {
839
- "type": "identifier",
840
- "name": "name"
841
- },
842
- "annotation": {
843
- "type": "keyword",
844
- "value": "string"
845
- },
846
- "computed": false
847
- }
848
- ]
849
- }
850
- ]
851
- },
852
721
  "ai-portal.show-cases": {
853
722
  "properties": [
854
723
  {
@@ -944,38 +813,21 @@
944
813
  }
945
814
  ]
946
815
  },
947
- "ai-portal.ai-employees": {
816
+ "ai-portal.mcp-tools": {
948
817
  "properties": [
949
818
  {
950
- "name": "list",
951
- "annotation": {
952
- "type": "array",
953
- "elementType": {
954
- "type": "reference",
955
- "typeName": {
956
- "type": "identifier",
957
- "name": "Employee"
958
- }
959
- }
960
- }
961
- },
962
- {
963
- "name": "industries",
819
+ "name": "list",
964
820
  "annotation": {
965
821
  "type": "array",
966
822
  "elementType": {
967
- "type": "keyword",
968
- "value": "string"
823
+ "type": "reference",
824
+ "typeName": {
825
+ "type": "identifier",
826
+ "name": "McpTool"
827
+ }
969
828
  }
970
829
  }
971
830
  },
972
- {
973
- "name": "urlTemplate",
974
- "annotation": {
975
- "type": "keyword",
976
- "value": "string"
977
- }
978
- },
979
831
  {
980
832
  "name": "withContainer",
981
833
  "annotation": {
@@ -989,7 +841,7 @@
989
841
  "types": [
990
842
  {
991
843
  "type": "interface",
992
- "name": "Employee",
844
+ "name": "McpTool",
993
845
  "body": [
994
846
  {
995
847
  "type": "propertySignature",
@@ -1007,7 +859,7 @@
1007
859
  "type": "propertySignature",
1008
860
  "key": {
1009
861
  "type": "identifier",
1010
- "name": "industry"
862
+ "name": "title"
1011
863
  },
1012
864
  "annotation": {
1013
865
  "type": "keyword",
@@ -1019,7 +871,7 @@
1019
871
  "type": "propertySignature",
1020
872
  "key": {
1021
873
  "type": "identifier",
1022
- "name": "role"
874
+ "name": "description"
1023
875
  },
1024
876
  "annotation": {
1025
877
  "type": "keyword",
@@ -1031,7 +883,44 @@
1031
883
  "type": "propertySignature",
1032
884
  "key": {
1033
885
  "type": "identifier",
1034
- "name": "description"
886
+ "name": "icon"
887
+ },
888
+ "annotation": {
889
+ "type": "reference",
890
+ "typeName": {
891
+ "type": "identifier",
892
+ "name": "GeneralIconProps"
893
+ }
894
+ },
895
+ "optional": true,
896
+ "computed": false
897
+ },
898
+ {
899
+ "type": "propertySignature",
900
+ "key": {
901
+ "type": "identifier",
902
+ "name": "server"
903
+ },
904
+ "annotation": {
905
+ "type": "reference",
906
+ "typeName": {
907
+ "type": "identifier",
908
+ "name": "McpServer"
909
+ }
910
+ },
911
+ "computed": false
912
+ }
913
+ ]
914
+ },
915
+ {
916
+ "type": "interface",
917
+ "name": "McpServer",
918
+ "body": [
919
+ {
920
+ "type": "propertySignature",
921
+ "key": {
922
+ "type": "identifier",
923
+ "name": "id"
1035
924
  },
1036
925
  "annotation": {
1037
926
  "type": "keyword",
@@ -1043,13 +932,12 @@
1043
932
  "type": "propertySignature",
1044
933
  "key": {
1045
934
  "type": "identifier",
1046
- "name": "avatar"
935
+ "name": "name"
1047
936
  },
1048
937
  "annotation": {
1049
938
  "type": "keyword",
1050
939
  "value": "string"
1051
940
  },
1052
- "optional": true,
1053
941
  "computed": false
1054
942
  }
1055
943
  ]
@@ -1153,27 +1041,44 @@
1153
1041
  }
1154
1042
  ]
1155
1043
  },
1156
- "ai-portal.project-summary": {
1044
+ "ai-portal.ai-employees": {
1157
1045
  "properties": [
1158
1046
  {
1159
- "name": "chatList",
1047
+ "name": "list",
1160
1048
  "annotation": {
1161
1049
  "type": "array",
1162
1050
  "elementType": {
1163
1051
  "type": "reference",
1164
1052
  "typeName": {
1165
1053
  "type": "identifier",
1166
- "name": "Chat"
1054
+ "name": "Employee"
1167
1055
  }
1168
1056
  }
1169
1057
  }
1170
1058
  },
1171
1059
  {
1172
- "name": "chatUrlTemplate",
1060
+ "name": "industries",
1061
+ "annotation": {
1062
+ "type": "array",
1063
+ "elementType": {
1064
+ "type": "keyword",
1065
+ "value": "string"
1066
+ }
1067
+ }
1068
+ },
1069
+ {
1070
+ "name": "urlTemplate",
1173
1071
  "annotation": {
1174
1072
  "type": "keyword",
1175
1073
  "value": "string"
1176
1074
  }
1075
+ },
1076
+ {
1077
+ "name": "withContainer",
1078
+ "annotation": {
1079
+ "type": "keyword",
1080
+ "value": "boolean"
1081
+ }
1177
1082
  }
1178
1083
  ],
1179
1084
  "events": [],
@@ -1181,13 +1086,13 @@
1181
1086
  "types": [
1182
1087
  {
1183
1088
  "type": "interface",
1184
- "name": "Chat",
1089
+ "name": "Employee",
1185
1090
  "body": [
1186
1091
  {
1187
1092
  "type": "propertySignature",
1188
1093
  "key": {
1189
1094
  "type": "identifier",
1190
- "name": "conversationId"
1095
+ "name": "name"
1191
1096
  },
1192
1097
  "annotation": {
1193
1098
  "type": "keyword",
@@ -1199,7 +1104,7 @@
1199
1104
  "type": "propertySignature",
1200
1105
  "key": {
1201
1106
  "type": "identifier",
1202
- "name": "title"
1107
+ "name": "industry"
1203
1108
  },
1204
1109
  "annotation": {
1205
1110
  "type": "keyword",
@@ -1211,12 +1116,37 @@
1211
1116
  "type": "propertySignature",
1212
1117
  "key": {
1213
1118
  "type": "identifier",
1214
- "name": "startTime"
1119
+ "name": "role"
1215
1120
  },
1216
1121
  "annotation": {
1217
1122
  "type": "keyword",
1218
- "value": "number"
1123
+ "value": "string"
1124
+ },
1125
+ "computed": false
1126
+ },
1127
+ {
1128
+ "type": "propertySignature",
1129
+ "key": {
1130
+ "type": "identifier",
1131
+ "name": "description"
1132
+ },
1133
+ "annotation": {
1134
+ "type": "keyword",
1135
+ "value": "string"
1136
+ },
1137
+ "computed": false
1138
+ },
1139
+ {
1140
+ "type": "propertySignature",
1141
+ "key": {
1142
+ "type": "identifier",
1143
+ "name": "avatar"
1144
+ },
1145
+ "annotation": {
1146
+ "type": "keyword",
1147
+ "value": "string"
1219
1148
  },
1149
+ "optional": true,
1220
1150
  "computed": false
1221
1151
  }
1222
1152
  ]
@@ -1275,6 +1205,23 @@
1275
1205
  "value": "string"
1276
1206
  }
1277
1207
  },
1208
+ {
1209
+ "name": "dropdownContentStyle",
1210
+ "annotation": {
1211
+ "type": "reference",
1212
+ "typeName": {
1213
+ "type": "qualifiedName",
1214
+ "left": {
1215
+ "type": "identifier",
1216
+ "name": "React"
1217
+ },
1218
+ "right": {
1219
+ "type": "identifier",
1220
+ "name": "CSSProperties"
1221
+ }
1222
+ }
1223
+ }
1224
+ },
1278
1225
  {
1279
1226
  "name": "dropdownMaxWidth",
1280
1227
  "annotation": {
@@ -1375,26 +1322,26 @@
1375
1322
  }
1376
1323
  ]
1377
1324
  },
1378
- "ai-portal.action-buttons": {
1325
+ "ai-portal.project-summary": {
1379
1326
  "properties": [
1380
1327
  {
1381
- "name": "items",
1328
+ "name": "chatList",
1382
1329
  "annotation": {
1383
1330
  "type": "array",
1384
1331
  "elementType": {
1385
1332
  "type": "reference",
1386
1333
  "typeName": {
1387
1334
  "type": "identifier",
1388
- "name": "ActionItem"
1335
+ "name": "Chat"
1389
1336
  }
1390
1337
  }
1391
1338
  }
1392
1339
  },
1393
1340
  {
1394
- "name": "multiple",
1341
+ "name": "chatUrlTemplate",
1395
1342
  "annotation": {
1396
1343
  "type": "keyword",
1397
- "value": "boolean"
1344
+ "value": "string"
1398
1345
  }
1399
1346
  }
1400
1347
  ],
@@ -1403,13 +1350,25 @@
1403
1350
  "types": [
1404
1351
  {
1405
1352
  "type": "interface",
1406
- "name": "ActionItem",
1353
+ "name": "Chat",
1407
1354
  "body": [
1408
1355
  {
1409
1356
  "type": "propertySignature",
1410
1357
  "key": {
1411
1358
  "type": "identifier",
1412
- "name": "key"
1359
+ "name": "conversationId"
1360
+ },
1361
+ "annotation": {
1362
+ "type": "keyword",
1363
+ "value": "string"
1364
+ },
1365
+ "computed": false
1366
+ },
1367
+ {
1368
+ "type": "propertySignature",
1369
+ "key": {
1370
+ "type": "identifier",
1371
+ "name": "title"
1413
1372
  },
1414
1373
  "annotation": {
1415
1374
  "type": "keyword",
@@ -1417,6 +1376,78 @@
1417
1376
  },
1418
1377
  "computed": false
1419
1378
  },
1379
+ {
1380
+ "type": "propertySignature",
1381
+ "key": {
1382
+ "type": "identifier",
1383
+ "name": "startTime"
1384
+ },
1385
+ "annotation": {
1386
+ "type": "keyword",
1387
+ "value": "number"
1388
+ },
1389
+ "computed": false
1390
+ }
1391
+ ]
1392
+ }
1393
+ ]
1394
+ },
1395
+ "ai-portal.preview-container": {
1396
+ "properties": [
1397
+ {
1398
+ "name": "source",
1399
+ "annotation": {
1400
+ "type": "keyword",
1401
+ "value": "string"
1402
+ }
1403
+ }
1404
+ ],
1405
+ "events": [],
1406
+ "methods": []
1407
+ },
1408
+ "ai-portal.action-buttons": {
1409
+ "properties": [
1410
+ {
1411
+ "name": "items",
1412
+ "annotation": {
1413
+ "type": "array",
1414
+ "elementType": {
1415
+ "type": "reference",
1416
+ "typeName": {
1417
+ "type": "identifier",
1418
+ "name": "ActionItem"
1419
+ }
1420
+ }
1421
+ }
1422
+ },
1423
+ {
1424
+ "name": "multiple",
1425
+ "annotation": {
1426
+ "type": "keyword",
1427
+ "value": "boolean"
1428
+ }
1429
+ }
1430
+ ],
1431
+ "events": [
1432
+ {
1433
+ "name": "action.click",
1434
+ "detail": {
1435
+ "annotation": {
1436
+ "type": "reference",
1437
+ "typeName": {
1438
+ "type": "identifier",
1439
+ "name": "ActionItem"
1440
+ }
1441
+ }
1442
+ }
1443
+ }
1444
+ ],
1445
+ "methods": [],
1446
+ "types": [
1447
+ {
1448
+ "type": "interface",
1449
+ "name": "ActionItem",
1450
+ "body": [
1420
1451
  {
1421
1452
  "type": "propertySignature",
1422
1453
  "key": {
@@ -1497,19 +1528,6 @@
1497
1528
  }
1498
1529
  ]
1499
1530
  },
1500
- "ai-portal.preview-container": {
1501
- "properties": [
1502
- {
1503
- "name": "source",
1504
- "annotation": {
1505
- "type": "keyword",
1506
- "value": "string"
1507
- }
1508
- }
1509
- ],
1510
- "events": [],
1511
- "methods": []
1512
- },
1513
1531
  "ai-portal.project-conversations": {
1514
1532
  "properties": [
1515
1533
  {
@@ -2495,11 +2513,8 @@
2495
2513
  "name": "conversations"
2496
2514
  },
2497
2515
  "annotation": {
2498
- "type": "array",
2499
- "elementType": {
2500
- "type": "keyword",
2501
- "value": "string"
2502
- }
2516
+ "type": "keyword",
2517
+ "value": "number"
2503
2518
  },
2504
2519
  "optional": true,
2505
2520
  "computed": false