@next-bricks/ai-portal 0.64.7 → 0.64.8

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,6 +3,170 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.cruise-canvas",
8
+ "properties": [
9
+ {
10
+ "name": "conversationId",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "name": "initialRequest",
15
+ "description": "初始请求数据。仅初始设置有效。",
16
+ "attribute": false,
17
+ "type": "RequestStore | null"
18
+ },
19
+ {
20
+ "name": "replay",
21
+ "description": "是否启用回放。仅初始设置有效。",
22
+ "type": "boolean"
23
+ },
24
+ {
25
+ "name": "replayDelay",
26
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
27
+ "default": "2",
28
+ "type": "number"
29
+ },
30
+ {
31
+ "name": "supports",
32
+ "attribute": false,
33
+ "type": "Record<string, boolean>"
34
+ },
35
+ {
36
+ "name": "showHiddenJobs",
37
+ "type": "boolean"
38
+ },
39
+ {
40
+ "name": "showHumanActions",
41
+ "type": "boolean"
42
+ },
43
+ {
44
+ "name": "showFeedback",
45
+ "type": "boolean"
46
+ },
47
+ {
48
+ "name": "showFeedbackAfterFailed",
49
+ "type": "boolean"
50
+ },
51
+ {
52
+ "name": "showFeedbackOnView",
53
+ "type": "boolean"
54
+ },
55
+ {
56
+ "name": "showUiSwitch",
57
+ "type": "boolean"
58
+ },
59
+ {
60
+ "name": "hideMermaid",
61
+ "type": "boolean"
62
+ },
63
+ {
64
+ "name": "showJsxEditor",
65
+ "type": "boolean"
66
+ },
67
+ {
68
+ "name": "previewUrlTemplate",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "name": "showCases",
73
+ "attribute": false,
74
+ "type": "ShowCaseType[]"
75
+ },
76
+ {
77
+ "name": "exampleProjects",
78
+ "attribute": false,
79
+ "type": "ExampleProject[]"
80
+ },
81
+ {
82
+ "name": "tryItOutUrl",
83
+ "type": "string"
84
+ },
85
+ {
86
+ "name": "separateInstructions",
87
+ "type": "boolean"
88
+ },
89
+ {
90
+ "name": "aiEmployees",
91
+ "attribute": false,
92
+ "type": "AIEmployee[]"
93
+ },
94
+ {
95
+ "name": "commands",
96
+ "attribute": false,
97
+ "type": "Command[]"
98
+ },
99
+ {
100
+ "name": "uploadOptions",
101
+ "attribute": false,
102
+ "type": "UploadOptions"
103
+ }
104
+ ],
105
+ "events": [
106
+ {
107
+ "name": "share",
108
+ "detail": {
109
+ "type": "void"
110
+ }
111
+ },
112
+ {
113
+ "name": "terminate",
114
+ "detail": {
115
+ "type": "void"
116
+ }
117
+ },
118
+ {
119
+ "name": "feedback.submit",
120
+ "detail": {
121
+ "type": "FeedbackDetail"
122
+ }
123
+ },
124
+ {
125
+ "name": "feedback.on.view",
126
+ "detail": {
127
+ "type": "string"
128
+ }
129
+ },
130
+ {
131
+ "name": "ui.switch",
132
+ "detail": {
133
+ "type": "\"chat\""
134
+ }
135
+ },
136
+ {
137
+ "name": "detail.change",
138
+ "detail": {
139
+ "type": "ConversationDetail"
140
+ }
141
+ }
142
+ ],
143
+ "slots": [],
144
+ "methods": [
145
+ {
146
+ "name": "resumed",
147
+ "params": []
148
+ },
149
+ {
150
+ "name": "feedbackSubmitDone",
151
+ "params": []
152
+ },
153
+ {
154
+ "name": "feedbackSubmitFailed",
155
+ "params": []
156
+ },
157
+ {
158
+ "name": "feedbackOnViewDone",
159
+ "params": [
160
+ {
161
+ "name": "viewId",
162
+ "type": "string"
163
+ }
164
+ ]
165
+ }
166
+ ],
167
+ "parts": [],
168
+ "description": "构件 `ai-portal.cruise-canvas`"
169
+ },
6
170
  {
7
171
  "name": "ai-portal.chat-box",
8
172
  "properties": [
@@ -73,6 +237,60 @@
73
237
  "parts": [],
74
238
  "description": "大型聊天输入框,用于首页"
75
239
  },
240
+ {
241
+ "name": "ai-portal.home-container",
242
+ "properties": [
243
+ {
244
+ "name": "sticky",
245
+ "type": "boolean"
246
+ }
247
+ ],
248
+ "events": [],
249
+ "slots": [],
250
+ "methods": [],
251
+ "parts": [],
252
+ "description": "构件 `ai-portal.home-container`"
253
+ },
254
+ {
255
+ "name": "ai-portal.icon-button",
256
+ "properties": [
257
+ {
258
+ "name": "icon",
259
+ "attribute": false,
260
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
261
+ },
262
+ {
263
+ "name": "tooltip",
264
+ "type": "string"
265
+ },
266
+ {
267
+ "name": "tooltipHoist",
268
+ "type": "boolean"
269
+ },
270
+ {
271
+ "name": "active",
272
+ "type": "boolean"
273
+ },
274
+ {
275
+ "name": "disabled",
276
+ "type": "boolean"
277
+ },
278
+ {
279
+ "name": "variant",
280
+ "type": "IconButtonVariant"
281
+ },
282
+ {
283
+ "name": "reduceIconSize",
284
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
285
+ "type": "boolean"
286
+ }
287
+ ],
288
+ "events": [],
289
+ "slots": [],
290
+ "methods": [],
291
+ "parts": [],
292
+ "description": "构件 `ai-portal.icon-button`"
293
+ },
76
294
  {
77
295
  "name": "ai-portal.stat-with-mini-chart",
78
296
  "properties": [
@@ -135,44 +353,23 @@
135
353
  "description": "构件 `ai-portal.stat-with-mini-chart`"
136
354
  },
137
355
  {
138
- "name": "ai-portal.icon-button",
356
+ "name": "ai-portal.show-cases",
139
357
  "properties": [
140
358
  {
141
- "name": "icon",
359
+ "name": "list",
142
360
  "attribute": false,
143
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
144
- },
145
- {
146
- "name": "tooltip",
147
- "type": "string"
148
- },
149
- {
150
- "name": "tooltipHoist",
151
- "type": "boolean"
152
- },
153
- {
154
- "name": "active",
155
- "type": "boolean"
156
- },
157
- {
158
- "name": "disabled",
159
- "type": "boolean"
160
- },
161
- {
162
- "name": "variant",
163
- "type": "IconButtonVariant"
361
+ "type": "ShowCaseType[]"
164
362
  },
165
363
  {
166
- "name": "reduceIconSize",
167
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
168
- "type": "boolean"
364
+ "name": "limit",
365
+ "type": "number"
169
366
  }
170
367
  ],
171
368
  "events": [],
172
369
  "slots": [],
173
370
  "methods": [],
174
371
  "parts": [],
175
- "description": "构件 `ai-portal.icon-button`"
372
+ "description": "构件 `ai-portal.show-cases`"
176
373
  },
177
374
  {
178
375
  "name": "ai-portal.elevo-sidebar",
@@ -318,234 +515,51 @@
318
515
  "name": "removeProject",
319
516
  "params": [
320
517
  {
321
- "name": "projectId",
322
- "type": "string"
323
- }
324
- ]
325
- },
326
- {
327
- "name": "addProject",
328
- "params": [
329
- {
330
- "name": "project",
331
- "type": "Project"
332
- }
333
- ]
334
- },
335
- {
336
- "name": "moveConversation",
337
- "params": [
338
- {
339
- "name": "conversationId",
340
- "type": "string"
341
- }
342
- ]
343
- }
344
- ],
345
- "parts": [],
346
- "description": "构件 `ai-portal.elevo-sidebar`"
347
- },
348
- {
349
- "name": "ai-portal.mcp-tools",
350
- "properties": [
351
- {
352
- "name": "list",
353
- "attribute": false,
354
- "type": "McpTool[]"
355
- },
356
- {
357
- "name": "stickyTop",
358
- "type": "number"
359
- }
360
- ],
361
- "events": [],
362
- "slots": [],
363
- "methods": [],
364
- "parts": [],
365
- "description": "构件 `ai-portal.mcp-tools`"
366
- },
367
- {
368
- "name": "ai-portal.show-cases",
369
- "properties": [
370
- {
371
- "name": "list",
372
- "attribute": false,
373
- "type": "ShowCaseType[]"
374
- },
375
- {
376
- "name": "limit",
377
- "type": "number"
378
- }
379
- ],
380
- "events": [],
381
- "slots": [],
382
- "methods": [],
383
- "parts": [],
384
- "description": "构件 `ai-portal.show-cases`"
385
- },
386
- {
387
- "name": "ai-portal.cruise-canvas",
388
- "properties": [
389
- {
390
- "name": "conversationId",
391
- "type": "string"
392
- },
393
- {
394
- "name": "initialRequest",
395
- "description": "初始请求数据。仅初始设置有效。",
396
- "attribute": false,
397
- "type": "RequestStore | null"
398
- },
399
- {
400
- "name": "replay",
401
- "description": "是否启用回放。仅初始设置有效。",
402
- "type": "boolean"
403
- },
404
- {
405
- "name": "replayDelay",
406
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
407
- "default": "2",
408
- "type": "number"
409
- },
410
- {
411
- "name": "supports",
412
- "attribute": false,
413
- "type": "Record<string, boolean>"
414
- },
415
- {
416
- "name": "showHiddenJobs",
417
- "type": "boolean"
418
- },
419
- {
420
- "name": "showHumanActions",
421
- "type": "boolean"
422
- },
423
- {
424
- "name": "showFeedback",
425
- "type": "boolean"
426
- },
427
- {
428
- "name": "showFeedbackAfterFailed",
429
- "type": "boolean"
430
- },
431
- {
432
- "name": "showFeedbackOnView",
433
- "type": "boolean"
434
- },
435
- {
436
- "name": "showUiSwitch",
437
- "type": "boolean"
438
- },
439
- {
440
- "name": "hideMermaid",
441
- "type": "boolean"
442
- },
443
- {
444
- "name": "showJsxEditor",
445
- "type": "boolean"
446
- },
447
- {
448
- "name": "previewUrlTemplate",
449
- "type": "string"
450
- },
451
- {
452
- "name": "showCases",
453
- "attribute": false,
454
- "type": "ShowCaseType[]"
455
- },
456
- {
457
- "name": "exampleProjects",
458
- "attribute": false,
459
- "type": "ExampleProject[]"
460
- },
461
- {
462
- "name": "tryItOutUrl",
463
- "type": "string"
464
- },
465
- {
466
- "name": "separateInstructions",
467
- "type": "boolean"
468
- },
469
- {
470
- "name": "aiEmployees",
471
- "attribute": false,
472
- "type": "AIEmployee[]"
473
- },
474
- {
475
- "name": "commands",
476
- "attribute": false,
477
- "type": "Command[]"
478
- },
479
- {
480
- "name": "uploadOptions",
481
- "attribute": false,
482
- "type": "UploadOptions"
483
- }
484
- ],
485
- "events": [
486
- {
487
- "name": "share",
488
- "detail": {
489
- "type": "void"
490
- }
491
- },
492
- {
493
- "name": "terminate",
494
- "detail": {
495
- "type": "void"
496
- }
497
- },
498
- {
499
- "name": "feedback.submit",
500
- "detail": {
501
- "type": "FeedbackDetail"
502
- }
503
- },
504
- {
505
- "name": "feedback.on.view",
506
- "detail": {
507
- "type": "string"
508
- }
509
- },
510
- {
511
- "name": "ui.switch",
512
- "detail": {
513
- "type": "\"chat\""
514
- }
515
- },
516
- {
517
- "name": "detail.change",
518
- "detail": {
519
- "type": "ConversationDetail"
520
- }
521
- }
522
- ],
523
- "slots": [],
524
- "methods": [
525
- {
526
- "name": "resumed",
527
- "params": []
528
- },
529
- {
530
- "name": "feedbackSubmitDone",
531
- "params": []
518
+ "name": "projectId",
519
+ "type": "string"
520
+ }
521
+ ]
532
522
  },
533
523
  {
534
- "name": "feedbackSubmitFailed",
535
- "params": []
524
+ "name": "addProject",
525
+ "params": [
526
+ {
527
+ "name": "project",
528
+ "type": "Project"
529
+ }
530
+ ]
536
531
  },
537
532
  {
538
- "name": "feedbackOnViewDone",
533
+ "name": "moveConversation",
539
534
  "params": [
540
535
  {
541
- "name": "viewId",
536
+ "name": "conversationId",
542
537
  "type": "string"
543
538
  }
544
539
  ]
545
540
  }
546
541
  ],
547
542
  "parts": [],
548
- "description": "构件 `ai-portal.cruise-canvas`"
543
+ "description": "构件 `ai-portal.elevo-sidebar`"
544
+ },
545
+ {
546
+ "name": "ai-portal.mcp-tools",
547
+ "properties": [
548
+ {
549
+ "name": "list",
550
+ "attribute": false,
551
+ "type": "McpTool[]"
552
+ },
553
+ {
554
+ "name": "stickyTop",
555
+ "type": "number"
556
+ }
557
+ ],
558
+ "events": [],
559
+ "slots": [],
560
+ "methods": [],
561
+ "parts": [],
562
+ "description": "构件 `ai-portal.mcp-tools`"
549
563
  },
550
564
  {
551
565
  "name": "ai-portal.ai-employees",
@@ -575,6 +589,31 @@
575
589
  "parts": [],
576
590
  "description": "构件 `ai-portal.ai-employees`"
577
591
  },
592
+ {
593
+ "name": "ai-portal.ai-agents",
594
+ "properties": [
595
+ {
596
+ "name": "list",
597
+ "attribute": false,
598
+ "type": "Agent[]"
599
+ },
600
+ {
601
+ "name": "urlTemplate",
602
+ "type": "string"
603
+ },
604
+ {
605
+ "name": "withContainer",
606
+ "description": "",
607
+ "deprecated": true,
608
+ "default": "true"
609
+ }
610
+ ],
611
+ "events": [],
612
+ "slots": [],
613
+ "methods": [],
614
+ "parts": [],
615
+ "description": "构件 `ai-portal.ai-agents`"
616
+ },
578
617
  {
579
618
  "name": "ai-portal.chat-stream",
580
619
  "properties": [
@@ -734,29 +773,40 @@
734
773
  "description": "构件 `ai-portal.chat-stream`"
735
774
  },
736
775
  {
737
- "name": "ai-portal.ai-agents",
776
+ "name": "ai-portal.tab-list",
738
777
  "properties": [
739
778
  {
740
- "name": "list",
779
+ "name": "tabs",
741
780
  "attribute": false,
742
- "type": "Agent[]"
781
+ "type": "Tab[]"
743
782
  },
744
783
  {
745
- "name": "urlTemplate",
784
+ "name": "activeTab",
785
+ "attribute": false,
746
786
  "type": "string"
747
- },
787
+ }
788
+ ],
789
+ "events": [
748
790
  {
749
- "name": "withContainer",
750
- "description": "",
751
- "deprecated": true,
752
- "default": "true"
791
+ "name": "tab.click",
792
+ "detail": {
793
+ "type": "Tab"
794
+ }
753
795
  }
754
796
  ],
755
- "events": [],
756
797
  "slots": [],
757
798
  "methods": [],
758
- "parts": [],
759
- "description": "构件 `ai-portal.ai-agents`"
799
+ "parts": [
800
+ {
801
+ "name": "tabs",
802
+ "description": "The tab list container"
803
+ },
804
+ {
805
+ "name": "tab",
806
+ "description": "The individual tab"
807
+ }
808
+ ],
809
+ "description": "构件 `ai-portal.tab-list`"
760
810
  },
761
811
  {
762
812
  "name": "ai-portal.page-container",
@@ -803,42 +853,6 @@
803
853
  "parts": [],
804
854
  "description": "构件 `ai-portal.page-container`"
805
855
  },
806
- {
807
- "name": "ai-portal.tab-list",
808
- "properties": [
809
- {
810
- "name": "tabs",
811
- "attribute": false,
812
- "type": "Tab[]"
813
- },
814
- {
815
- "name": "activeTab",
816
- "attribute": false,
817
- "type": "string"
818
- }
819
- ],
820
- "events": [
821
- {
822
- "name": "tab.click",
823
- "detail": {
824
- "type": "Tab"
825
- }
826
- }
827
- ],
828
- "slots": [],
829
- "methods": [],
830
- "parts": [
831
- {
832
- "name": "tabs",
833
- "description": "The tab list container"
834
- },
835
- {
836
- "name": "tab",
837
- "description": "The individual tab"
838
- }
839
- ],
840
- "description": "构件 `ai-portal.tab-list`"
841
- },
842
856
  {
843
857
  "name": "ai-portal.dropdown-select",
844
858
  "properties": [
@@ -896,20 +910,6 @@
896
910
  "parts": [],
897
911
  "description": "构件 `ai-portal.dropdown-select`"
898
912
  },
899
- {
900
- "name": "ai-portal.home-container",
901
- "properties": [
902
- {
903
- "name": "sticky",
904
- "type": "boolean"
905
- }
906
- ],
907
- "events": [],
908
- "slots": [],
909
- "methods": [],
910
- "parts": [],
911
- "description": "构件 `ai-portal.home-container`"
912
- },
913
913
  {
914
914
  "name": "ai-portal.preview-container",
915
915
  "properties": [
@@ -1211,28 +1211,6 @@
1211
1211
  "parts": [],
1212
1212
  "description": "构件 `ai-portal.elevo-logo`"
1213
1213
  },
1214
- {
1215
- "name": "ai-portal.show-case",
1216
- "properties": [
1217
- {
1218
- "name": "caseTitle",
1219
- "type": "string"
1220
- },
1221
- {
1222
- "name": "summary",
1223
- "type": "string"
1224
- },
1225
- {
1226
- "name": "url",
1227
- "type": "string"
1228
- }
1229
- ],
1230
- "events": [],
1231
- "slots": [],
1232
- "methods": [],
1233
- "parts": [],
1234
- "description": "构件 `ai-portal.show-case`"
1235
- },
1236
1214
  {
1237
1215
  "name": "ai-portal.blank-state",
1238
1216
  "properties": [
@@ -1285,6 +1263,28 @@
1285
1263
  "parts": [],
1286
1264
  "description": "构件 `ai-portal.sticky-container`"
1287
1265
  },
1266
+ {
1267
+ "name": "ai-portal.show-case",
1268
+ "properties": [
1269
+ {
1270
+ "name": "caseTitle",
1271
+ "type": "string"
1272
+ },
1273
+ {
1274
+ "name": "summary",
1275
+ "type": "string"
1276
+ },
1277
+ {
1278
+ "name": "url",
1279
+ "type": "string"
1280
+ }
1281
+ ],
1282
+ "events": [],
1283
+ "slots": [],
1284
+ "methods": [],
1285
+ "parts": [],
1286
+ "description": "构件 `ai-portal.show-case`"
1287
+ },
1288
1288
  {
1289
1289
  "name": "ai-portal.elevo-card",
1290
1290
  "properties": [
@@ -1529,6 +1529,38 @@
1529
1529
  "parts": [],
1530
1530
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1531
1531
  },
1532
+ {
1533
+ "name": "ai-portal.gantt-chart",
1534
+ "properties": [
1535
+ {
1536
+ "name": "chartTitle",
1537
+ "type": "string"
1538
+ },
1539
+ {
1540
+ "name": "nodes",
1541
+ "attribute": false,
1542
+ "type": "GanttNode[]"
1543
+ }
1544
+ ],
1545
+ "events": [
1546
+ {
1547
+ "name": "node.click",
1548
+ "detail": {
1549
+ "type": "GanttNode"
1550
+ }
1551
+ },
1552
+ {
1553
+ "name": "fullscreen.click",
1554
+ "detail": {
1555
+ "type": "void"
1556
+ }
1557
+ }
1558
+ ],
1559
+ "slots": [],
1560
+ "methods": [],
1561
+ "parts": [],
1562
+ "description": "构件 `ai-portal.gantt-chart`"
1563
+ },
1532
1564
  {
1533
1565
  "name": "ai-portal.notice-list",
1534
1566
  "properties": [
@@ -1590,38 +1622,6 @@
1590
1622
  "parts": [],
1591
1623
  "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1592
1624
  },
1593
- {
1594
- "name": "ai-portal.gantt-chart",
1595
- "properties": [
1596
- {
1597
- "name": "chartTitle",
1598
- "type": "string"
1599
- },
1600
- {
1601
- "name": "nodes",
1602
- "attribute": false,
1603
- "type": "GanttNode[]"
1604
- }
1605
- ],
1606
- "events": [
1607
- {
1608
- "name": "node.click",
1609
- "detail": {
1610
- "type": "GanttNode"
1611
- }
1612
- },
1613
- {
1614
- "name": "fullscreen.click",
1615
- "detail": {
1616
- "type": "void"
1617
- }
1618
- }
1619
- ],
1620
- "slots": [],
1621
- "methods": [],
1622
- "parts": [],
1623
- "description": "构件 `ai-portal.gantt-chart`"
1624
- },
1625
1625
  {
1626
1626
  "name": "ai-portal.chat-panel",
1627
1627
  "properties": [