@next-bricks/ai-portal 0.46.2 → 0.46.3

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.
@@ -57,6 +57,221 @@
57
57
  "parts": [],
58
58
  "description": "构件 `ai-portal.chat-box`"
59
59
  },
60
+ {
61
+ "name": "ai-portal.stat-with-mini-chart",
62
+ "properties": [
63
+ {
64
+ "name": "label",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "value",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "name": "size",
73
+ "description": "",
74
+ "default": "\"medium\"",
75
+ "type": "\"medium\" | \"small\""
76
+ },
77
+ {
78
+ "name": "lineColor",
79
+ "description": "",
80
+ "default": "\"var(--color-brand)\"",
81
+ "type": "string"
82
+ },
83
+ {
84
+ "name": "showArea",
85
+ "type": "boolean"
86
+ },
87
+ {
88
+ "name": "min",
89
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
90
+ "type": "number"
91
+ },
92
+ {
93
+ "name": "max",
94
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
95
+ "type": "number"
96
+ },
97
+ {
98
+ "name": "xField",
99
+ "description": "",
100
+ "default": "\"0\"",
101
+ "type": "string"
102
+ },
103
+ {
104
+ "name": "yField",
105
+ "description": "",
106
+ "default": "\"1\"",
107
+ "type": "string"
108
+ },
109
+ {
110
+ "name": "data",
111
+ "attribute": false,
112
+ "type": "Record<string, number>[]"
113
+ }
114
+ ],
115
+ "events": [],
116
+ "slots": [],
117
+ "methods": [],
118
+ "parts": [],
119
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
120
+ },
121
+ {
122
+ "name": "ai-portal.home-container",
123
+ "properties": [],
124
+ "events": [],
125
+ "slots": [],
126
+ "methods": [],
127
+ "parts": [],
128
+ "description": "构件 `ai-portal.home-container`"
129
+ },
130
+ {
131
+ "name": "ai-portal.cruise-canvas",
132
+ "properties": [
133
+ {
134
+ "name": "conversationId",
135
+ "type": "string"
136
+ },
137
+ {
138
+ "name": "initialRequest",
139
+ "description": "初始请求数据。仅初始设置有效。",
140
+ "attribute": false,
141
+ "type": "RequestStore | null"
142
+ },
143
+ {
144
+ "name": "replay",
145
+ "description": "是否启用回放。仅初始设置有效。",
146
+ "type": "boolean"
147
+ },
148
+ {
149
+ "name": "replayDelay",
150
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
151
+ "default": "2",
152
+ "type": "number"
153
+ },
154
+ {
155
+ "name": "supports",
156
+ "attribute": false,
157
+ "type": "Record<string, boolean>"
158
+ },
159
+ {
160
+ "name": "showHiddenJobs",
161
+ "type": "boolean"
162
+ },
163
+ {
164
+ "name": "showHumanActions",
165
+ "type": "boolean"
166
+ },
167
+ {
168
+ "name": "showFeedback",
169
+ "type": "boolean"
170
+ },
171
+ {
172
+ "name": "showFeedbackAfterFailed",
173
+ "type": "boolean"
174
+ },
175
+ {
176
+ "name": "showFeedbackOnView",
177
+ "type": "boolean"
178
+ },
179
+ {
180
+ "name": "showUiSwitch",
181
+ "type": "boolean"
182
+ },
183
+ {
184
+ "name": "hideMermaid",
185
+ "type": "boolean"
186
+ },
187
+ {
188
+ "name": "showJsxEditor",
189
+ "type": "boolean"
190
+ },
191
+ {
192
+ "name": "previewUrlTemplate",
193
+ "type": "string"
194
+ },
195
+ {
196
+ "name": "showCases",
197
+ "attribute": false,
198
+ "type": "ShowCaseType[]"
199
+ },
200
+ {
201
+ "name": "exampleProjects",
202
+ "attribute": false,
203
+ "type": "ExampleProject[]"
204
+ },
205
+ {
206
+ "name": "tryItOutUrl",
207
+ "type": "string"
208
+ }
209
+ ],
210
+ "events": [
211
+ {
212
+ "name": "share",
213
+ "detail": {
214
+ "type": "void"
215
+ }
216
+ },
217
+ {
218
+ "name": "terminate",
219
+ "detail": {
220
+ "type": "void"
221
+ }
222
+ },
223
+ {
224
+ "name": "feedback.submit",
225
+ "detail": {
226
+ "type": "FeedbackDetail"
227
+ }
228
+ },
229
+ {
230
+ "name": "feedback.on.view",
231
+ "detail": {
232
+ "type": "string"
233
+ }
234
+ },
235
+ {
236
+ "name": "ui.switch",
237
+ "detail": {
238
+ "type": "\"chat\""
239
+ }
240
+ },
241
+ {
242
+ "name": "detail.change",
243
+ "detail": {
244
+ "type": "ConversationDetail"
245
+ }
246
+ }
247
+ ],
248
+ "slots": [],
249
+ "methods": [
250
+ {
251
+ "name": "resumed",
252
+ "params": []
253
+ },
254
+ {
255
+ "name": "feedbackSubmitDone",
256
+ "params": []
257
+ },
258
+ {
259
+ "name": "feedbackSubmitFailed",
260
+ "params": []
261
+ },
262
+ {
263
+ "name": "feedbackOnViewDone",
264
+ "params": [
265
+ {
266
+ "name": "viewId",
267
+ "type": "string"
268
+ }
269
+ ]
270
+ }
271
+ ],
272
+ "parts": [],
273
+ "description": "构件 `ai-portal.cruise-canvas`"
274
+ },
60
275
  {
61
276
  "name": "ai-portal.elevo-sidebar",
62
277
  "properties": [
@@ -191,15 +406,6 @@
191
406
  "parts": [],
192
407
  "description": "构件 `ai-portal.elevo-sidebar`"
193
408
  },
194
- {
195
- "name": "ai-portal.home-container",
196
- "properties": [],
197
- "events": [],
198
- "slots": [],
199
- "methods": [],
200
- "parts": [],
201
- "description": "构件 `ai-portal.home-container`"
202
- },
203
409
  {
204
410
  "name": "ai-portal.icon-button",
205
411
  "properties": [
@@ -231,177 +437,95 @@
231
437
  "name": "ai-portal.show-cases",
232
438
  "properties": [
233
439
  {
234
- "name": "list",
235
- "attribute": false,
236
- "type": "ShowCaseType[]"
237
- }
238
- ],
239
- "events": [],
240
- "slots": [],
241
- "methods": [],
242
- "parts": [],
243
- "description": "构件 `ai-portal.show-cases`"
244
- },
245
- {
246
- "name": "ai-portal.mcp-tools",
247
- "properties": [
248
- {
249
- "name": "list",
250
- "attribute": false,
251
- "type": "McpTool[]"
252
- },
253
- {
254
- "name": "withContainer",
255
- "description": "",
256
- "deprecated": true,
257
- "default": "true"
258
- }
259
- ],
260
- "events": [],
261
- "slots": [],
262
- "methods": [],
263
- "parts": [],
264
- "description": "构件 `ai-portal.mcp-tools`"
265
- },
266
- {
267
- "name": "ai-portal.chat-stream",
268
- "properties": [
269
- {
270
- "name": "conversationId",
271
- "type": "string"
272
- },
273
- {
274
- "name": "initialRequest",
275
- "description": "初始请求数据。仅初始设置有效。",
276
- "attribute": false,
277
- "type": "RequestStore | null"
278
- },
279
- {
280
- "name": "replay",
281
- "description": "是否启用回放。仅初始设置有效。",
282
- "type": "boolean"
283
- },
284
- {
285
- "name": "replayDelay",
286
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
287
- "default": "2",
288
- "type": "number"
289
- },
290
- {
291
- "name": "supports",
292
- "attribute": false,
293
- "type": "Record<string, boolean>"
294
- },
295
- {
296
- "name": "showHumanActions",
297
- "type": "boolean"
298
- },
299
- {
300
- "name": "showFeedback",
301
- "type": "boolean"
302
- },
303
- {
304
- "name": "showFeedbackAfterFailed",
305
- "type": "boolean"
306
- },
307
- {
308
- "name": "showFeedbackOnView",
309
- "type": "boolean"
310
- },
311
- {
312
- "name": "showUiSwitch",
313
- "type": "boolean"
314
- },
315
- {
316
- "name": "hideMermaid",
317
- "type": "boolean"
318
- },
319
- {
320
- "name": "previewUrlTemplate",
321
- "type": "string"
322
- },
323
- {
324
- "name": "showCases",
325
- "attribute": false,
326
- "type": "ShowCaseType[]"
327
- },
328
- {
329
- "name": "exampleProjects",
330
- "attribute": false,
331
- "type": "ExampleProject[]"
332
- },
333
- {
334
- "name": "tryItOutUrl",
335
- "type": "string"
440
+ "name": "list",
441
+ "attribute": false,
442
+ "type": "ShowCaseType[]"
336
443
  }
337
444
  ],
338
- "events": [
445
+ "events": [],
446
+ "slots": [],
447
+ "methods": [],
448
+ "parts": [],
449
+ "description": "构件 `ai-portal.show-cases`"
450
+ },
451
+ {
452
+ "name": "ai-portal.mcp-tools",
453
+ "properties": [
339
454
  {
340
- "name": "share",
341
- "detail": {
342
- "type": "void"
343
- }
455
+ "name": "list",
456
+ "attribute": false,
457
+ "type": "McpTool[]"
344
458
  },
345
459
  {
346
- "name": "terminate",
347
- "detail": {
348
- "type": "void"
349
- }
350
- },
460
+ "name": "withContainer",
461
+ "description": "",
462
+ "deprecated": true,
463
+ "default": "true"
464
+ }
465
+ ],
466
+ "events": [],
467
+ "slots": [],
468
+ "methods": [],
469
+ "parts": [],
470
+ "description": "构件 `ai-portal.mcp-tools`"
471
+ },
472
+ {
473
+ "name": "ai-portal.ai-employees",
474
+ "properties": [
351
475
  {
352
- "name": "feedback.submit",
353
- "detail": {
354
- "type": "FeedbackDetail"
355
- }
476
+ "name": "list",
477
+ "attribute": false,
478
+ "type": "Employee[]"
356
479
  },
357
480
  {
358
- "name": "feedback.on.view",
359
- "detail": {
360
- "type": "string"
361
- }
481
+ "name": "industries",
482
+ "attribute": false,
483
+ "type": "string[]"
362
484
  },
363
485
  {
364
- "name": "ui.switch",
365
- "detail": {
366
- "type": "\"canvas\""
367
- }
486
+ "name": "urlTemplate",
487
+ "type": "string"
368
488
  },
369
489
  {
370
- "name": "detail.change",
371
- "detail": {
372
- "type": "ConversationDetail"
373
- }
490
+ "name": "withContainer",
491
+ "description": "",
492
+ "deprecated": true,
493
+ "default": "true"
374
494
  }
375
495
  ],
496
+ "events": [],
376
497
  "slots": [],
377
- "methods": [
378
- {
379
- "name": "resumed",
380
- "params": []
381
- },
498
+ "methods": [],
499
+ "parts": [],
500
+ "description": "构件 `ai-portal.ai-employees`"
501
+ },
502
+ {
503
+ "name": "ai-portal.ai-agents",
504
+ "properties": [
382
505
  {
383
- "name": "feedbackSubmitDone",
384
- "params": []
506
+ "name": "list",
507
+ "attribute": false,
508
+ "type": "Agent[]"
385
509
  },
386
510
  {
387
- "name": "feedbackSubmitFailed",
388
- "params": []
511
+ "name": "urlTemplate",
512
+ "type": "string"
389
513
  },
390
514
  {
391
- "name": "feedbackOnViewDone",
392
- "params": [
393
- {
394
- "name": "viewId",
395
- "type": "string"
396
- }
397
- ]
515
+ "name": "withContainer",
516
+ "description": "",
517
+ "deprecated": true,
518
+ "default": "true"
398
519
  }
399
520
  ],
521
+ "events": [],
522
+ "slots": [],
523
+ "methods": [],
400
524
  "parts": [],
401
- "description": "构件 `ai-portal.chat-stream`"
525
+ "description": "构件 `ai-portal.ai-agents`"
402
526
  },
403
527
  {
404
- "name": "ai-portal.cruise-canvas",
528
+ "name": "ai-portal.chat-stream",
405
529
  "properties": [
406
530
  {
407
531
  "name": "conversationId",
@@ -429,10 +553,6 @@
429
553
  "attribute": false,
430
554
  "type": "Record<string, boolean>"
431
555
  },
432
- {
433
- "name": "showHiddenJobs",
434
- "type": "boolean"
435
- },
436
556
  {
437
557
  "name": "showHumanActions",
438
558
  "type": "boolean"
@@ -457,10 +577,6 @@
457
577
  "name": "hideMermaid",
458
578
  "type": "boolean"
459
579
  },
460
- {
461
- "name": "showJsxEditor",
462
- "type": "boolean"
463
- },
464
580
  {
465
581
  "name": "previewUrlTemplate",
466
582
  "type": "string"
@@ -508,7 +624,7 @@
508
624
  {
509
625
  "name": "ui.switch",
510
626
  "detail": {
511
- "type": "\"chat\""
627
+ "type": "\"canvas\""
512
628
  }
513
629
  },
514
630
  {
@@ -543,123 +659,7 @@
543
659
  }
544
660
  ],
545
661
  "parts": [],
546
- "description": "构件 `ai-portal.cruise-canvas`"
547
- },
548
- {
549
- "name": "ai-portal.ai-employees",
550
- "properties": [
551
- {
552
- "name": "list",
553
- "attribute": false,
554
- "type": "Employee[]"
555
- },
556
- {
557
- "name": "industries",
558
- "attribute": false,
559
- "type": "string[]"
560
- },
561
- {
562
- "name": "urlTemplate",
563
- "type": "string"
564
- },
565
- {
566
- "name": "withContainer",
567
- "description": "",
568
- "deprecated": true,
569
- "default": "true"
570
- }
571
- ],
572
- "events": [],
573
- "slots": [],
574
- "methods": [],
575
- "parts": [],
576
- "description": "构件 `ai-portal.ai-employees`"
577
- },
578
- {
579
- "name": "ai-portal.ai-agents",
580
- "properties": [
581
- {
582
- "name": "list",
583
- "attribute": false,
584
- "type": "Agent[]"
585
- },
586
- {
587
- "name": "urlTemplate",
588
- "type": "string"
589
- },
590
- {
591
- "name": "withContainer",
592
- "description": "",
593
- "deprecated": true,
594
- "default": "true"
595
- }
596
- ],
597
- "events": [],
598
- "slots": [],
599
- "methods": [],
600
- "parts": [],
601
- "description": "构件 `ai-portal.ai-agents`"
602
- },
603
- {
604
- "name": "ai-portal.stat-with-mini-chart",
605
- "properties": [
606
- {
607
- "name": "label",
608
- "type": "string"
609
- },
610
- {
611
- "name": "value",
612
- "type": "string"
613
- },
614
- {
615
- "name": "size",
616
- "description": "",
617
- "default": "\"medium\"",
618
- "type": "\"medium\" | \"small\""
619
- },
620
- {
621
- "name": "lineColor",
622
- "description": "",
623
- "default": "\"var(--color-brand)\"",
624
- "type": "string"
625
- },
626
- {
627
- "name": "showArea",
628
- "type": "boolean"
629
- },
630
- {
631
- "name": "min",
632
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
633
- "type": "number"
634
- },
635
- {
636
- "name": "max",
637
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
638
- "type": "number"
639
- },
640
- {
641
- "name": "xField",
642
- "description": "",
643
- "default": "\"0\"",
644
- "type": "string"
645
- },
646
- {
647
- "name": "yField",
648
- "description": "",
649
- "default": "\"1\"",
650
- "type": "string"
651
- },
652
- {
653
- "name": "data",
654
- "attribute": false,
655
- "type": "Record<string, number>[]"
656
- }
657
- ],
658
- "events": [],
659
- "slots": [],
660
- "methods": [],
661
- "parts": [],
662
- "description": "构件 `ai-portal.stat-with-mini-chart`"
662
+ "description": "构件 `ai-portal.chat-stream`"
663
663
  },
664
664
  {
665
665
  "name": "ai-portal.page-container",
@@ -1003,6 +1003,15 @@
1003
1003
  "parts": [],
1004
1004
  "description": "构件 `ai-portal.activity-timeline`"
1005
1005
  },
1006
+ {
1007
+ "name": "ai-portal.elevo-logo",
1008
+ "properties": [],
1009
+ "events": [],
1010
+ "slots": [],
1011
+ "methods": [],
1012
+ "parts": [],
1013
+ "description": "构件 `ai-portal.elevo-logo`"
1014
+ },
1006
1015
  {
1007
1016
  "name": "ai-portal.chat-input",
1008
1017
  "properties": [
@@ -1046,15 +1055,6 @@
1046
1055
  "parts": [],
1047
1056
  "description": "构件 `ai-portal.chat-input`"
1048
1057
  },
1049
- {
1050
- "name": "ai-portal.elevo-logo",
1051
- "properties": [],
1052
- "events": [],
1053
- "slots": [],
1054
- "methods": [],
1055
- "parts": [],
1056
- "description": "构件 `ai-portal.elevo-logo`"
1057
- },
1058
1058
  {
1059
1059
  "name": "ai-portal.show-case",
1060
1060
  "properties": [