@next-bricks/ai-portal 0.65.4 → 0.65.6
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.a91fc4db.js +2 -0
- package/dist/chunks/4864.a91fc4db.js.map +1 -0
- package/dist/chunks/{main.ccf4635e.js → main.ceaa385b.js} +2 -2
- package/dist/chunks/{main.ccf4635e.js.map → main.ceaa385b.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/{index.b10ed910.js → index.a736ada1.js} +2 -2
- package/dist/{index.b10ed910.js.map → index.a736ada1.js.map} +1 -1
- package/dist/manifest.json +173 -173
- package/dist/types.json +2990 -2990
- 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,76 @@
|
|
|
523
378
|
"parts": [],
|
|
524
379
|
"description": "构件 `ai-portal.icon-button`"
|
|
525
380
|
},
|
|
381
|
+
{
|
|
382
|
+
"name": "ai-portal.chat-box",
|
|
383
|
+
"properties": [
|
|
384
|
+
{
|
|
385
|
+
"name": "disabled",
|
|
386
|
+
"type": "boolean"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "placeholder",
|
|
390
|
+
"type": "string"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "autoFocus",
|
|
394
|
+
"type": "boolean"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "aiEmployees",
|
|
398
|
+
"attribute": false,
|
|
399
|
+
"type": "AIEmployee[]"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "commands",
|
|
403
|
+
"attribute": false,
|
|
404
|
+
"type": "Command[]"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "uploadOptions",
|
|
408
|
+
"attribute": false,
|
|
409
|
+
"type": "UploadOptions"
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"events": [
|
|
413
|
+
{
|
|
414
|
+
"name": "message.submit",
|
|
415
|
+
"description": "",
|
|
416
|
+
"deprecated": "Use `chat.submit` event instead",
|
|
417
|
+
"detail": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"name": "chat.submit",
|
|
423
|
+
"detail": {
|
|
424
|
+
"type": "ChatPayload"
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"slots": [],
|
|
429
|
+
"methods": [
|
|
430
|
+
{
|
|
431
|
+
"name": "setValue",
|
|
432
|
+
"params": [
|
|
433
|
+
{
|
|
434
|
+
"name": "value",
|
|
435
|
+
"type": "string"
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"name": "getValue",
|
|
441
|
+
"params": []
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"name": "focusOnInput",
|
|
445
|
+
"params": []
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"parts": [],
|
|
449
|
+
"description": "大型聊天输入框,用于首页"
|
|
450
|
+
},
|
|
526
451
|
{
|
|
527
452
|
"name": "ai-portal.show-cases",
|
|
528
453
|
"properties": [
|
|
@@ -561,6 +486,34 @@
|
|
|
561
486
|
"parts": [],
|
|
562
487
|
"description": "构件 `ai-portal.mcp-tools`"
|
|
563
488
|
},
|
|
489
|
+
{
|
|
490
|
+
"name": "ai-portal.ai-employees",
|
|
491
|
+
"properties": [
|
|
492
|
+
{
|
|
493
|
+
"name": "list",
|
|
494
|
+
"attribute": false,
|
|
495
|
+
"type": "Employee[]"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "industries",
|
|
499
|
+
"attribute": false,
|
|
500
|
+
"type": "string[]"
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"name": "urlTemplate",
|
|
504
|
+
"type": "string"
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"name": "stickyTop",
|
|
508
|
+
"type": "number"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"events": [],
|
|
512
|
+
"slots": [],
|
|
513
|
+
"methods": [],
|
|
514
|
+
"parts": [],
|
|
515
|
+
"description": "构件 `ai-portal.ai-employees`"
|
|
516
|
+
},
|
|
564
517
|
{
|
|
565
518
|
"name": "ai-portal.chat-stream",
|
|
566
519
|
"properties": [
|
|
@@ -720,57 +673,43 @@
|
|
|
720
673
|
"description": "构件 `ai-portal.chat-stream`"
|
|
721
674
|
},
|
|
722
675
|
{
|
|
723
|
-
"name": "ai-portal.
|
|
676
|
+
"name": "ai-portal.home-container",
|
|
724
677
|
"properties": [
|
|
725
678
|
{
|
|
726
|
-
"name": "
|
|
727
|
-
"
|
|
728
|
-
"type": "Agent[]"
|
|
729
|
-
},
|
|
730
|
-
{
|
|
731
|
-
"name": "urlTemplate",
|
|
732
|
-
"type": "string"
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
"name": "withContainer",
|
|
736
|
-
"description": "",
|
|
737
|
-
"deprecated": true,
|
|
738
|
-
"default": "true"
|
|
679
|
+
"name": "sticky",
|
|
680
|
+
"type": "boolean"
|
|
739
681
|
}
|
|
740
682
|
],
|
|
741
683
|
"events": [],
|
|
742
684
|
"slots": [],
|
|
743
685
|
"methods": [],
|
|
744
686
|
"parts": [],
|
|
745
|
-
"description": "构件 `ai-portal.
|
|
687
|
+
"description": "构件 `ai-portal.home-container`"
|
|
746
688
|
},
|
|
747
689
|
{
|
|
748
|
-
"name": "ai-portal.ai-
|
|
690
|
+
"name": "ai-portal.ai-agents",
|
|
749
691
|
"properties": [
|
|
750
692
|
{
|
|
751
693
|
"name": "list",
|
|
752
694
|
"attribute": false,
|
|
753
|
-
"type": "
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
"name": "industries",
|
|
757
|
-
"attribute": false,
|
|
758
|
-
"type": "string[]"
|
|
695
|
+
"type": "Agent[]"
|
|
759
696
|
},
|
|
760
697
|
{
|
|
761
698
|
"name": "urlTemplate",
|
|
762
699
|
"type": "string"
|
|
763
700
|
},
|
|
764
701
|
{
|
|
765
|
-
"name": "
|
|
766
|
-
"
|
|
702
|
+
"name": "withContainer",
|
|
703
|
+
"description": "",
|
|
704
|
+
"deprecated": true,
|
|
705
|
+
"default": "true"
|
|
767
706
|
}
|
|
768
707
|
],
|
|
769
708
|
"events": [],
|
|
770
709
|
"slots": [],
|
|
771
710
|
"methods": [],
|
|
772
711
|
"parts": [],
|
|
773
|
-
"description": "构件 `ai-portal.ai-
|
|
712
|
+
"description": "构件 `ai-portal.ai-agents`"
|
|
774
713
|
},
|
|
775
714
|
{
|
|
776
715
|
"name": "ai-portal.page-container",
|
|
@@ -929,6 +868,67 @@
|
|
|
929
868
|
"parts": [],
|
|
930
869
|
"description": "构件 `ai-portal.preview-container`"
|
|
931
870
|
},
|
|
871
|
+
{
|
|
872
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
873
|
+
"properties": [
|
|
874
|
+
{
|
|
875
|
+
"name": "label",
|
|
876
|
+
"type": "string"
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "value",
|
|
880
|
+
"type": "string"
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
"name": "size",
|
|
884
|
+
"description": "",
|
|
885
|
+
"default": "\"medium\"",
|
|
886
|
+
"type": "\"medium\" | \"small\""
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
"name": "lineColor",
|
|
890
|
+
"description": "",
|
|
891
|
+
"default": "\"var(--color-brand)\"",
|
|
892
|
+
"type": "string"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"name": "showArea",
|
|
896
|
+
"type": "boolean"
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"name": "min",
|
|
900
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
901
|
+
"type": "number"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"name": "max",
|
|
905
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
906
|
+
"type": "number"
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
"name": "xField",
|
|
910
|
+
"description": "",
|
|
911
|
+
"default": "\"0\"",
|
|
912
|
+
"type": "string"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
"name": "yField",
|
|
916
|
+
"description": "",
|
|
917
|
+
"default": "\"1\"",
|
|
918
|
+
"type": "string"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"name": "data",
|
|
922
|
+
"attribute": false,
|
|
923
|
+
"type": "Record<string, number>[]"
|
|
924
|
+
}
|
|
925
|
+
],
|
|
926
|
+
"events": [],
|
|
927
|
+
"slots": [],
|
|
928
|
+
"methods": [],
|
|
929
|
+
"parts": [],
|
|
930
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
931
|
+
},
|
|
932
932
|
{
|
|
933
933
|
"name": "ai-portal.action-buttons",
|
|
934
934
|
"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
|
}
|