@next-bricks/ai-portal 0.50.1 → 0.50.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.
package/dist/types.json CHANGED
@@ -116,56 +116,40 @@
116
116
  "events": [],
117
117
  "methods": []
118
118
  },
119
- "ai-portal.page-container": {
119
+ "ai-portal.icon-button": {
120
120
  "properties": [
121
121
  {
122
- "name": "pageTitle",
123
- "annotation": {
124
- "type": "keyword",
125
- "value": "string"
126
- }
127
- },
128
- {
129
- "name": "breadcrumbs",
122
+ "name": "icon",
130
123
  "annotation": {
131
- "type": "array",
132
- "elementType": {
133
- "type": "reference",
134
- "typeName": {
135
- "type": "identifier",
136
- "name": "Breadcrumb"
137
- }
124
+ "type": "reference",
125
+ "typeName": {
126
+ "type": "identifier",
127
+ "name": "GeneralIconProps"
138
128
  }
139
129
  }
140
130
  },
141
131
  {
142
- "name": "size",
132
+ "name": "tooltip",
143
133
  "annotation": {
144
- "type": "union",
145
- "types": [
146
- {
147
- "type": "jsLiteral",
148
- "value": "medium"
149
- },
150
- {
151
- "type": "jsLiteral",
152
- "value": "small"
153
- }
154
- ]
134
+ "type": "keyword",
135
+ "value": "string"
155
136
  }
156
137
  },
157
138
  {
158
- "name": "sticky",
139
+ "name": "disabled",
159
140
  "annotation": {
160
141
  "type": "keyword",
161
142
  "value": "boolean"
162
143
  }
163
144
  },
164
145
  {
165
- "name": "textContent",
146
+ "name": "variant",
166
147
  "annotation": {
167
- "type": "keyword",
168
- "value": "string"
148
+ "type": "reference",
149
+ "typeName": {
150
+ "type": "identifier",
151
+ "name": "IconButtonVariant"
152
+ }
169
153
  }
170
154
  }
171
155
  ],
@@ -173,34 +157,33 @@
173
157
  "methods": [],
174
158
  "types": [
175
159
  {
176
- "type": "interface",
177
- "name": "Breadcrumb",
178
- "body": [
179
- {
180
- "type": "propertySignature",
181
- "key": {
182
- "type": "identifier",
183
- "name": "text"
160
+ "type": "typeAlias",
161
+ "name": "IconButtonVariant",
162
+ "annotation": {
163
+ "type": "union",
164
+ "types": [
165
+ {
166
+ "type": "jsLiteral",
167
+ "value": "default"
184
168
  },
185
- "annotation": {
186
- "type": "keyword",
187
- "value": "string"
169
+ {
170
+ "type": "jsLiteral",
171
+ "value": "light"
188
172
  },
189
- "computed": false
190
- },
191
- {
192
- "type": "propertySignature",
193
- "key": {
194
- "type": "identifier",
195
- "name": "url"
173
+ {
174
+ "type": "jsLiteral",
175
+ "value": "mini"
196
176
  },
197
- "annotation": {
198
- "type": "keyword",
199
- "value": "string"
177
+ {
178
+ "type": "jsLiteral",
179
+ "value": "mini-light"
200
180
  },
201
- "computed": false
202
- }
203
- ]
181
+ {
182
+ "type": "jsLiteral",
183
+ "value": "bordered"
184
+ }
185
+ ]
186
+ }
204
187
  }
205
188
  ]
206
189
  },
@@ -377,54 +360,71 @@
377
360
  }
378
361
  }
379
362
  },
380
- "ai-portal.tab-list": {
363
+ "ai-portal.page-container": {
381
364
  "properties": [
382
365
  {
383
- "name": "tabs",
366
+ "name": "pageTitle",
367
+ "annotation": {
368
+ "type": "keyword",
369
+ "value": "string"
370
+ }
371
+ },
372
+ {
373
+ "name": "breadcrumbs",
384
374
  "annotation": {
385
375
  "type": "array",
386
376
  "elementType": {
387
377
  "type": "reference",
388
378
  "typeName": {
389
379
  "type": "identifier",
390
- "name": "Tab"
380
+ "name": "Breadcrumb"
391
381
  }
392
382
  }
393
383
  }
394
384
  },
395
385
  {
396
- "name": "activeTab",
386
+ "name": "size",
387
+ "annotation": {
388
+ "type": "union",
389
+ "types": [
390
+ {
391
+ "type": "jsLiteral",
392
+ "value": "medium"
393
+ },
394
+ {
395
+ "type": "jsLiteral",
396
+ "value": "small"
397
+ }
398
+ ]
399
+ }
400
+ },
401
+ {
402
+ "name": "sticky",
397
403
  "annotation": {
398
404
  "type": "keyword",
399
- "value": "string"
405
+ "value": "boolean"
400
406
  }
401
- }
402
- ],
403
- "events": [
407
+ },
404
408
  {
405
- "name": "tab.click",
406
- "detail": {
407
- "annotation": {
408
- "type": "reference",
409
- "typeName": {
410
- "type": "identifier",
411
- "name": "Tab"
412
- }
413
- }
409
+ "name": "textContent",
410
+ "annotation": {
411
+ "type": "keyword",
412
+ "value": "string"
414
413
  }
415
414
  }
416
415
  ],
416
+ "events": [],
417
417
  "methods": [],
418
418
  "types": [
419
419
  {
420
420
  "type": "interface",
421
- "name": "Tab",
421
+ "name": "Breadcrumb",
422
422
  "body": [
423
423
  {
424
424
  "type": "propertySignature",
425
425
  "key": {
426
426
  "type": "identifier",
427
- "name": "id"
427
+ "name": "text"
428
428
  },
429
429
  "annotation": {
430
430
  "type": "keyword",
@@ -436,7 +436,7 @@
436
436
  "type": "propertySignature",
437
437
  "key": {
438
438
  "type": "identifier",
439
- "name": "label"
439
+ "name": "url"
440
440
  },
441
441
  "annotation": {
442
442
  "type": "keyword",
@@ -448,74 +448,74 @@
448
448
  }
449
449
  ]
450
450
  },
451
- "ai-portal.icon-button": {
451
+ "ai-portal.tab-list": {
452
452
  "properties": [
453
453
  {
454
- "name": "icon",
454
+ "name": "tabs",
455
455
  "annotation": {
456
- "type": "reference",
457
- "typeName": {
458
- "type": "identifier",
459
- "name": "GeneralIconProps"
456
+ "type": "array",
457
+ "elementType": {
458
+ "type": "reference",
459
+ "typeName": {
460
+ "type": "identifier",
461
+ "name": "Tab"
462
+ }
460
463
  }
461
464
  }
462
465
  },
463
466
  {
464
- "name": "tooltip",
467
+ "name": "activeTab",
465
468
  "annotation": {
466
469
  "type": "keyword",
467
470
  "value": "string"
468
471
  }
469
- },
470
- {
471
- "name": "disabled",
472
- "annotation": {
473
- "type": "keyword",
474
- "value": "boolean"
475
- }
476
- },
472
+ }
473
+ ],
474
+ "events": [
477
475
  {
478
- "name": "variant",
479
- "annotation": {
480
- "type": "reference",
481
- "typeName": {
482
- "type": "identifier",
483
- "name": "IconButtonVariant"
476
+ "name": "tab.click",
477
+ "detail": {
478
+ "annotation": {
479
+ "type": "reference",
480
+ "typeName": {
481
+ "type": "identifier",
482
+ "name": "Tab"
483
+ }
484
484
  }
485
485
  }
486
486
  }
487
487
  ],
488
- "events": [],
489
488
  "methods": [],
490
489
  "types": [
491
490
  {
492
- "type": "typeAlias",
493
- "name": "IconButtonVariant",
494
- "annotation": {
495
- "type": "union",
496
- "types": [
497
- {
498
- "type": "jsLiteral",
499
- "value": "default"
491
+ "type": "interface",
492
+ "name": "Tab",
493
+ "body": [
494
+ {
495
+ "type": "propertySignature",
496
+ "key": {
497
+ "type": "identifier",
498
+ "name": "id"
500
499
  },
501
- {
502
- "type": "jsLiteral",
503
- "value": "light"
500
+ "annotation": {
501
+ "type": "keyword",
502
+ "value": "string"
504
503
  },
505
- {
506
- "type": "jsLiteral",
507
- "value": "mini"
504
+ "computed": false
505
+ },
506
+ {
507
+ "type": "propertySignature",
508
+ "key": {
509
+ "type": "identifier",
510
+ "name": "label"
508
511
  },
509
- {
510
- "type": "jsLiteral",
511
- "value": "mini-light"
512
+ "annotation": {
513
+ "type": "keyword",
514
+ "value": "string"
512
515
  },
513
- {
514
- "type": "jsLiteral",
515
- "value": "bordered"
516
- }
517
- ]
518
- }
516
+ "computed": false
517
+ }
518
+ ]
519
519
  }
520
520
  ]
521
521
  },
@@ -1000,7 +1000,7 @@
1000
1000
  }
1001
1001
  ]
1002
1002
  },
1003
- "ai-portal.ai-employees": {
1003
+ "ai-portal.mcp-tools": {
1004
1004
  "properties": [
1005
1005
  {
1006
1006
  "name": "list",
@@ -1010,33 +1010,16 @@
1010
1010
  "type": "reference",
1011
1011
  "typeName": {
1012
1012
  "type": "identifier",
1013
- "name": "Employee"
1013
+ "name": "McpTool"
1014
1014
  }
1015
1015
  }
1016
1016
  }
1017
1017
  },
1018
1018
  {
1019
- "name": "industries",
1020
- "annotation": {
1021
- "type": "array",
1022
- "elementType": {
1023
- "type": "keyword",
1024
- "value": "string"
1025
- }
1026
- }
1027
- },
1028
- {
1029
- "name": "urlTemplate",
1030
- "annotation": {
1031
- "type": "keyword",
1032
- "value": "string"
1033
- }
1034
- },
1035
- {
1036
- "name": "withContainer",
1019
+ "name": "stickyTop",
1037
1020
  "annotation": {
1038
1021
  "type": "keyword",
1039
- "value": "boolean"
1022
+ "value": "number"
1040
1023
  }
1041
1024
  }
1042
1025
  ],
@@ -1045,7 +1028,7 @@
1045
1028
  "types": [
1046
1029
  {
1047
1030
  "type": "interface",
1048
- "name": "Employee",
1031
+ "name": "McpTool",
1049
1032
  "body": [
1050
1033
  {
1051
1034
  "type": "propertySignature",
@@ -1063,7 +1046,7 @@
1063
1046
  "type": "propertySignature",
1064
1047
  "key": {
1065
1048
  "type": "identifier",
1066
- "name": "industry"
1049
+ "name": "title"
1067
1050
  },
1068
1051
  "annotation": {
1069
1052
  "type": "keyword",
@@ -1075,7 +1058,7 @@
1075
1058
  "type": "propertySignature",
1076
1059
  "key": {
1077
1060
  "type": "identifier",
1078
- "name": "role"
1061
+ "name": "description"
1079
1062
  },
1080
1063
  "annotation": {
1081
1064
  "type": "keyword",
@@ -1087,7 +1070,44 @@
1087
1070
  "type": "propertySignature",
1088
1071
  "key": {
1089
1072
  "type": "identifier",
1090
- "name": "description"
1073
+ "name": "icon"
1074
+ },
1075
+ "annotation": {
1076
+ "type": "reference",
1077
+ "typeName": {
1078
+ "type": "identifier",
1079
+ "name": "GeneralIconProps"
1080
+ }
1081
+ },
1082
+ "optional": true,
1083
+ "computed": false
1084
+ },
1085
+ {
1086
+ "type": "propertySignature",
1087
+ "key": {
1088
+ "type": "identifier",
1089
+ "name": "server"
1090
+ },
1091
+ "annotation": {
1092
+ "type": "reference",
1093
+ "typeName": {
1094
+ "type": "identifier",
1095
+ "name": "McpServer"
1096
+ }
1097
+ },
1098
+ "computed": false
1099
+ }
1100
+ ]
1101
+ },
1102
+ {
1103
+ "type": "interface",
1104
+ "name": "McpServer",
1105
+ "body": [
1106
+ {
1107
+ "type": "propertySignature",
1108
+ "key": {
1109
+ "type": "identifier",
1110
+ "name": "id"
1091
1111
  },
1092
1112
  "annotation": {
1093
1113
  "type": "keyword",
@@ -1099,20 +1119,19 @@
1099
1119
  "type": "propertySignature",
1100
1120
  "key": {
1101
1121
  "type": "identifier",
1102
- "name": "avatar"
1122
+ "name": "name"
1103
1123
  },
1104
1124
  "annotation": {
1105
1125
  "type": "keyword",
1106
1126
  "value": "string"
1107
1127
  },
1108
- "optional": true,
1109
1128
  "computed": false
1110
1129
  }
1111
1130
  ]
1112
1131
  }
1113
1132
  ]
1114
1133
  },
1115
- "ai-portal.mcp-tools": {
1134
+ "ai-portal.ai-employees": {
1116
1135
  "properties": [
1117
1136
  {
1118
1137
  "name": "list",
@@ -1122,16 +1141,33 @@
1122
1141
  "type": "reference",
1123
1142
  "typeName": {
1124
1143
  "type": "identifier",
1125
- "name": "McpTool"
1144
+ "name": "Employee"
1126
1145
  }
1127
1146
  }
1128
1147
  }
1129
1148
  },
1130
1149
  {
1131
- "name": "stickyTop",
1150
+ "name": "industries",
1151
+ "annotation": {
1152
+ "type": "array",
1153
+ "elementType": {
1154
+ "type": "keyword",
1155
+ "value": "string"
1156
+ }
1157
+ }
1158
+ },
1159
+ {
1160
+ "name": "urlTemplate",
1132
1161
  "annotation": {
1133
1162
  "type": "keyword",
1134
- "value": "number"
1163
+ "value": "string"
1164
+ }
1165
+ },
1166
+ {
1167
+ "name": "withContainer",
1168
+ "annotation": {
1169
+ "type": "keyword",
1170
+ "value": "boolean"
1135
1171
  }
1136
1172
  }
1137
1173
  ],
@@ -1140,7 +1176,7 @@
1140
1176
  "types": [
1141
1177
  {
1142
1178
  "type": "interface",
1143
- "name": "McpTool",
1179
+ "name": "Employee",
1144
1180
  "body": [
1145
1181
  {
1146
1182
  "type": "propertySignature",
@@ -1158,7 +1194,7 @@
1158
1194
  "type": "propertySignature",
1159
1195
  "key": {
1160
1196
  "type": "identifier",
1161
- "name": "title"
1197
+ "name": "industry"
1162
1198
  },
1163
1199
  "annotation": {
1164
1200
  "type": "keyword",
@@ -1170,7 +1206,7 @@
1170
1206
  "type": "propertySignature",
1171
1207
  "key": {
1172
1208
  "type": "identifier",
1173
- "name": "description"
1209
+ "name": "role"
1174
1210
  },
1175
1211
  "annotation": {
1176
1212
  "type": "keyword",
@@ -1182,44 +1218,7 @@
1182
1218
  "type": "propertySignature",
1183
1219
  "key": {
1184
1220
  "type": "identifier",
1185
- "name": "icon"
1186
- },
1187
- "annotation": {
1188
- "type": "reference",
1189
- "typeName": {
1190
- "type": "identifier",
1191
- "name": "GeneralIconProps"
1192
- }
1193
- },
1194
- "optional": true,
1195
- "computed": false
1196
- },
1197
- {
1198
- "type": "propertySignature",
1199
- "key": {
1200
- "type": "identifier",
1201
- "name": "server"
1202
- },
1203
- "annotation": {
1204
- "type": "reference",
1205
- "typeName": {
1206
- "type": "identifier",
1207
- "name": "McpServer"
1208
- }
1209
- },
1210
- "computed": false
1211
- }
1212
- ]
1213
- },
1214
- {
1215
- "type": "interface",
1216
- "name": "McpServer",
1217
- "body": [
1218
- {
1219
- "type": "propertySignature",
1220
- "key": {
1221
- "type": "identifier",
1222
- "name": "id"
1221
+ "name": "description"
1223
1222
  },
1224
1223
  "annotation": {
1225
1224
  "type": "keyword",
@@ -1231,12 +1230,13 @@
1231
1230
  "type": "propertySignature",
1232
1231
  "key": {
1233
1232
  "type": "identifier",
1234
- "name": "name"
1233
+ "name": "avatar"
1235
1234
  },
1236
1235
  "annotation": {
1237
1236
  "type": "keyword",
1238
1237
  "value": "string"
1239
1238
  },
1239
+ "optional": true,
1240
1240
  "computed": false
1241
1241
  }
1242
1242
  ]
@@ -1340,26 +1340,6 @@
1340
1340
  }
1341
1341
  ]
1342
1342
  },
1343
- "ai-portal.preview-container": {
1344
- "properties": [
1345
- {
1346
- "name": "source",
1347
- "annotation": {
1348
- "type": "keyword",
1349
- "value": "string"
1350
- }
1351
- },
1352
- {
1353
- "name": "url",
1354
- "annotation": {
1355
- "type": "keyword",
1356
- "value": "string"
1357
- }
1358
- }
1359
- ],
1360
- "events": [],
1361
- "methods": []
1362
- },
1363
1343
  "ai-portal.dropdown-select": {
1364
1344
  "properties": [
1365
1345
  {
@@ -1529,6 +1509,26 @@
1529
1509
  }
1530
1510
  ]
1531
1511
  },
1512
+ "ai-portal.preview-container": {
1513
+ "properties": [
1514
+ {
1515
+ "name": "source",
1516
+ "annotation": {
1517
+ "type": "keyword",
1518
+ "value": "string"
1519
+ }
1520
+ },
1521
+ {
1522
+ "name": "url",
1523
+ "annotation": {
1524
+ "type": "keyword",
1525
+ "value": "string"
1526
+ }
1527
+ }
1528
+ ],
1529
+ "events": [],
1530
+ "methods": []
1531
+ },
1532
1532
  "ai-portal.action-buttons": {
1533
1533
  "properties": [
1534
1534
  {
@@ -8,5 +8,7 @@ export declare const WrappedIcon: import("@next-core/react-element").WrappedBric
8
8
  export declare const WrappedLink: import("@next-core/react-element").WrappedBrick<Link, LinkProps>;
9
9
  export declare const WrappedDropdownActions: import("@next-core/react-element").WrappedBrickWithEventsMap<EoDropdownActions, DropdownActionsProps, DropdownActionsEvents, DropdownActionsEventsMapping>;
10
10
  export declare const WrappedEasyopsAvatar: import("@next-core/react-element").WrappedBrick<EoEasyopsAvatar, EoEasyopsAvatarProps>;
11
- export declare const WrappedMiniActions: import("@next-core/react-element").WrappedBrickWithEventsMap<EoMiniActions, EoMiniActionsProps, EoMiniActionsEvents, EoMiniActionsEventsMapping>;
11
+ export declare const WrappedMiniActions: import("@next-core/react-element").WrappedBrickWithEventsMap<EoMiniActions, EoMiniActionsProps & {
12
+ themeVariant?: "default" | "elevo";
13
+ }, EoMiniActionsEvents, EoMiniActionsEventsMapping>;
12
14
  export declare const WrappedIconButton: import("@next-core/react-element").WrappedBrick<IconButton, IconButtonProps>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.50.1",
3
+ "version": "0.50.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,5 +47,5 @@
47
47
  "@next-bricks/presentational": "*",
48
48
  "@next-bricks/vs": "*"
49
49
  },
50
- "gitHead": "c71800f0392f30a20469149f78b2770c6f435d3a"
50
+ "gitHead": "a2783362462647b17c21eeb1f70d9965d7e0a270"
51
51
  }