@next-bricks/ai-portal 0.65.4 → 0.65.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.
- package/dist/bricks.json +22 -22
- package/dist/chunks/4864.1a321da4.js +2 -0
- package/dist/chunks/4864.1a321da4.js.map +1 -0
- package/dist/chunks/{main.ccf4635e.js → main.77fb9cf6.js} +2 -2
- package/dist/chunks/{main.ccf4635e.js.map → main.77fb9cf6.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/{index.b10ed910.js → index.2865b625.js} +2 -2
- package/dist/{index.b10ed910.js.map → index.2865b625.js.map} +1 -1
- package/dist/manifest.json +176 -176
- package/dist/types.json +1496 -1496
- package/package.json +2 -2
- package/dist/chunks/4864.a9badd21.js +0 -2
- package/dist/chunks/4864.a9badd21.js.map +0 -1
package/dist/manifest.json
CHANGED
|
@@ -3,76 +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
|
-
"slots": [],
|
|
54
|
-
"methods": [
|
|
55
|
-
{
|
|
56
|
-
"name": "setValue",
|
|
57
|
-
"params": [
|
|
58
|
-
{
|
|
59
|
-
"name": "value",
|
|
60
|
-
"type": "string"
|
|
61
|
-
}
|
|
62
|
-
]
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "getValue",
|
|
66
|
-
"params": []
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "focusOnInput",
|
|
70
|
-
"params": []
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"parts": [],
|
|
74
|
-
"description": "大型聊天输入框,用于首页"
|
|
75
|
-
},
|
|
76
6
|
{
|
|
77
7
|
"name": "ai-portal.cruise-canvas",
|
|
78
8
|
"properties": [
|
|
@@ -237,81 +167,6 @@
|
|
|
237
167
|
"parts": [],
|
|
238
168
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
239
169
|
},
|
|
240
|
-
{
|
|
241
|
-
"name": "ai-portal.stat-with-mini-chart",
|
|
242
|
-
"properties": [
|
|
243
|
-
{
|
|
244
|
-
"name": "label",
|
|
245
|
-
"type": "string"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"name": "value",
|
|
249
|
-
"type": "string"
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"name": "size",
|
|
253
|
-
"description": "",
|
|
254
|
-
"default": "\"medium\"",
|
|
255
|
-
"type": "\"medium\" | \"small\""
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"name": "lineColor",
|
|
259
|
-
"description": "",
|
|
260
|
-
"default": "\"var(--color-brand)\"",
|
|
261
|
-
"type": "string"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "showArea",
|
|
265
|
-
"type": "boolean"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"name": "min",
|
|
269
|
-
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
270
|
-
"type": "number"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"name": "max",
|
|
274
|
-
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
275
|
-
"type": "number"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "xField",
|
|
279
|
-
"description": "",
|
|
280
|
-
"default": "\"0\"",
|
|
281
|
-
"type": "string"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "yField",
|
|
285
|
-
"description": "",
|
|
286
|
-
"default": "\"1\"",
|
|
287
|
-
"type": "string"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"name": "data",
|
|
291
|
-
"attribute": false,
|
|
292
|
-
"type": "Record<string, number>[]"
|
|
293
|
-
}
|
|
294
|
-
],
|
|
295
|
-
"events": [],
|
|
296
|
-
"slots": [],
|
|
297
|
-
"methods": [],
|
|
298
|
-
"parts": [],
|
|
299
|
-
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
300
|
-
},
|
|
301
|
-
{
|
|
302
|
-
"name": "ai-portal.home-container",
|
|
303
|
-
"properties": [
|
|
304
|
-
{
|
|
305
|
-
"name": "sticky",
|
|
306
|
-
"type": "boolean"
|
|
307
|
-
}
|
|
308
|
-
],
|
|
309
|
-
"events": [],
|
|
310
|
-
"slots": [],
|
|
311
|
-
"methods": [],
|
|
312
|
-
"parts": [],
|
|
313
|
-
"description": "构件 `ai-portal.home-container`"
|
|
314
|
-
},
|
|
315
170
|
{
|
|
316
171
|
"name": "ai-portal.elevo-sidebar",
|
|
317
172
|
"properties": [
|
|
@@ -523,6 +378,137 @@
|
|
|
523
378
|
"parts": [],
|
|
524
379
|
"description": "构件 `ai-portal.icon-button`"
|
|
525
380
|
},
|
|
381
|
+
{
|
|
382
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
383
|
+
"properties": [
|
|
384
|
+
{
|
|
385
|
+
"name": "label",
|
|
386
|
+
"type": "string"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "value",
|
|
390
|
+
"type": "string"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "size",
|
|
394
|
+
"description": "",
|
|
395
|
+
"default": "\"medium\"",
|
|
396
|
+
"type": "\"medium\" | \"small\""
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"name": "lineColor",
|
|
400
|
+
"description": "",
|
|
401
|
+
"default": "\"var(--color-brand)\"",
|
|
402
|
+
"type": "string"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"name": "showArea",
|
|
406
|
+
"type": "boolean"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "min",
|
|
410
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
411
|
+
"type": "number"
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
"name": "max",
|
|
415
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
416
|
+
"type": "number"
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "xField",
|
|
420
|
+
"description": "",
|
|
421
|
+
"default": "\"0\"",
|
|
422
|
+
"type": "string"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "yField",
|
|
426
|
+
"description": "",
|
|
427
|
+
"default": "\"1\"",
|
|
428
|
+
"type": "string"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "data",
|
|
432
|
+
"attribute": false,
|
|
433
|
+
"type": "Record<string, number>[]"
|
|
434
|
+
}
|
|
435
|
+
],
|
|
436
|
+
"events": [],
|
|
437
|
+
"slots": [],
|
|
438
|
+
"methods": [],
|
|
439
|
+
"parts": [],
|
|
440
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "ai-portal.chat-box",
|
|
444
|
+
"properties": [
|
|
445
|
+
{
|
|
446
|
+
"name": "disabled",
|
|
447
|
+
"type": "boolean"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"name": "placeholder",
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "autoFocus",
|
|
455
|
+
"type": "boolean"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"name": "aiEmployees",
|
|
459
|
+
"attribute": false,
|
|
460
|
+
"type": "AIEmployee[]"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "commands",
|
|
464
|
+
"attribute": false,
|
|
465
|
+
"type": "Command[]"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "uploadOptions",
|
|
469
|
+
"attribute": false,
|
|
470
|
+
"type": "UploadOptions"
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"events": [
|
|
474
|
+
{
|
|
475
|
+
"name": "message.submit",
|
|
476
|
+
"description": "",
|
|
477
|
+
"deprecated": "Use `chat.submit` event instead",
|
|
478
|
+
"detail": {
|
|
479
|
+
"type": "string"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"name": "chat.submit",
|
|
484
|
+
"detail": {
|
|
485
|
+
"type": "ChatPayload"
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
],
|
|
489
|
+
"slots": [],
|
|
490
|
+
"methods": [
|
|
491
|
+
{
|
|
492
|
+
"name": "setValue",
|
|
493
|
+
"params": [
|
|
494
|
+
{
|
|
495
|
+
"name": "value",
|
|
496
|
+
"type": "string"
|
|
497
|
+
}
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "getValue",
|
|
502
|
+
"params": []
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "focusOnInput",
|
|
506
|
+
"params": []
|
|
507
|
+
}
|
|
508
|
+
],
|
|
509
|
+
"parts": [],
|
|
510
|
+
"description": "大型聊天输入框,用于首页"
|
|
511
|
+
},
|
|
526
512
|
{
|
|
527
513
|
"name": "ai-portal.show-cases",
|
|
528
514
|
"properties": [
|
|
@@ -561,6 +547,34 @@
|
|
|
561
547
|
"parts": [],
|
|
562
548
|
"description": "构件 `ai-portal.mcp-tools`"
|
|
563
549
|
},
|
|
550
|
+
{
|
|
551
|
+
"name": "ai-portal.ai-employees",
|
|
552
|
+
"properties": [
|
|
553
|
+
{
|
|
554
|
+
"name": "list",
|
|
555
|
+
"attribute": false,
|
|
556
|
+
"type": "Employee[]"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "industries",
|
|
560
|
+
"attribute": false,
|
|
561
|
+
"type": "string[]"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "urlTemplate",
|
|
565
|
+
"type": "string"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "stickyTop",
|
|
569
|
+
"type": "number"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"events": [],
|
|
573
|
+
"slots": [],
|
|
574
|
+
"methods": [],
|
|
575
|
+
"parts": [],
|
|
576
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
577
|
+
},
|
|
564
578
|
{
|
|
565
579
|
"name": "ai-portal.chat-stream",
|
|
566
580
|
"properties": [
|
|
@@ -744,34 +758,6 @@
|
|
|
744
758
|
"parts": [],
|
|
745
759
|
"description": "构件 `ai-portal.ai-agents`"
|
|
746
760
|
},
|
|
747
|
-
{
|
|
748
|
-
"name": "ai-portal.ai-employees",
|
|
749
|
-
"properties": [
|
|
750
|
-
{
|
|
751
|
-
"name": "list",
|
|
752
|
-
"attribute": false,
|
|
753
|
-
"type": "Employee[]"
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"name": "industries",
|
|
757
|
-
"attribute": false,
|
|
758
|
-
"type": "string[]"
|
|
759
|
-
},
|
|
760
|
-
{
|
|
761
|
-
"name": "urlTemplate",
|
|
762
|
-
"type": "string"
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
"name": "stickyTop",
|
|
766
|
-
"type": "number"
|
|
767
|
-
}
|
|
768
|
-
],
|
|
769
|
-
"events": [],
|
|
770
|
-
"slots": [],
|
|
771
|
-
"methods": [],
|
|
772
|
-
"parts": [],
|
|
773
|
-
"description": "构件 `ai-portal.ai-employees`"
|
|
774
|
-
},
|
|
775
761
|
{
|
|
776
762
|
"name": "ai-portal.page-container",
|
|
777
763
|
"properties": [
|
|
@@ -910,6 +896,20 @@
|
|
|
910
896
|
"parts": [],
|
|
911
897
|
"description": "构件 `ai-portal.dropdown-select`"
|
|
912
898
|
},
|
|
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": [
|
|
@@ -1678,6 +1678,9 @@
|
|
|
1678
1678
|
}
|
|
1679
1679
|
],
|
|
1680
1680
|
"providers": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "ai-portal.call-tool"
|
|
1683
|
+
},
|
|
1681
1684
|
{
|
|
1682
1685
|
"name": "ai-portal.save-request-store"
|
|
1683
1686
|
},
|
|
@@ -1687,9 +1690,6 @@
|
|
|
1687
1690
|
{
|
|
1688
1691
|
"name": "ai-portal.clear-request-store"
|
|
1689
1692
|
},
|
|
1690
|
-
{
|
|
1691
|
-
"name": "ai-portal.call-tool"
|
|
1692
|
-
},
|
|
1693
1693
|
{
|
|
1694
1694
|
"name": "ai-portal.set-chat-command"
|
|
1695
1695
|
}
|