@next-bricks/ai-portal 0.48.0 → 0.48.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.
Files changed (45) hide show
  1. package/dist/bricks.json +32 -31
  2. package/dist/chunks/1026.a0469066.js +2 -0
  3. package/dist/chunks/1026.a0469066.js.map +1 -0
  4. package/dist/chunks/{1692.e1b92e84.js → 1692.01919eaa.js} +2 -2
  5. package/dist/chunks/{1692.e1b92e84.js.map → 1692.01919eaa.js.map} +1 -1
  6. package/dist/chunks/7431.5093d0d9.js +3 -0
  7. package/dist/chunks/7431.5093d0d9.js.map +1 -0
  8. package/dist/chunks/9328.222dec55.js +2 -0
  9. package/dist/chunks/9328.222dec55.js.map +1 -0
  10. package/dist/chunks/9474.dca1f47c.js +2 -0
  11. package/dist/chunks/9474.dca1f47c.js.map +1 -0
  12. package/dist/chunks/action-buttons.16da8761.js +2 -0
  13. package/dist/chunks/action-buttons.16da8761.js.map +1 -0
  14. package/dist/chunks/{chat-box.57a9d3ec.js → chat-box.0fd70952.js} +2 -2
  15. package/dist/chunks/chat-box.0fd70952.js.map +1 -0
  16. package/dist/chunks/{elevo-sidebar.7f4d37a1.js → elevo-sidebar.aa3aa869.js} +3 -3
  17. package/dist/chunks/elevo-sidebar.aa3aa869.js.map +1 -0
  18. package/dist/chunks/{main.a1c0bc1f.js → main.4486142d.js} +2 -2
  19. package/dist/chunks/{main.a1c0bc1f.js.map → main.4486142d.js.map} +1 -1
  20. package/dist/chunks/{preview-container.547a5036.js → preview-container.89b082ac.js} +2 -2
  21. package/dist/chunks/{preview-container.547a5036.js.map → preview-container.89b082ac.js.map} +1 -1
  22. package/dist/examples.json +16 -16
  23. package/dist/index.416c83ca.js +2 -0
  24. package/dist/index.416c83ca.js.map +1 -0
  25. package/dist/manifest.json +184 -190
  26. package/dist/types.json +199 -225
  27. package/dist-types/action-buttons/index.d.ts +3 -7
  28. package/dist-types/chat-box/index.d.ts +2 -0
  29. package/package.json +2 -2
  30. package/dist/chunks/4144.61537fe5.js +0 -2
  31. package/dist/chunks/4144.61537fe5.js.map +0 -1
  32. package/dist/chunks/7431.a7bb5366.js +0 -3
  33. package/dist/chunks/7431.a7bb5366.js.map +0 -1
  34. package/dist/chunks/9328.283c35b3.js +0 -2
  35. package/dist/chunks/9328.283c35b3.js.map +0 -1
  36. package/dist/chunks/9474.5c89809c.js +0 -2
  37. package/dist/chunks/9474.5c89809c.js.map +0 -1
  38. package/dist/chunks/action-buttons.52180d20.js +0 -2
  39. package/dist/chunks/action-buttons.52180d20.js.map +0 -1
  40. package/dist/chunks/chat-box.57a9d3ec.js.map +0 -1
  41. package/dist/chunks/elevo-sidebar.7f4d37a1.js.map +0 -1
  42. package/dist/index.44fdd150.js +0 -2
  43. package/dist/index.44fdd150.js.map +0 -1
  44. /package/dist/chunks/{7431.a7bb5366.js.LICENSE.txt → 7431.5093d0d9.js.LICENSE.txt} +0 -0
  45. /package/dist/chunks/{elevo-sidebar.7f4d37a1.js.LICENSE.txt → elevo-sidebar.aa3aa869.js.LICENSE.txt} +0 -0
@@ -4,58 +4,74 @@
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
6
  {
7
- "name": "ai-portal.chat-box",
7
+ "name": "ai-portal.home-container",
8
+ "properties": [],
9
+ "events": [],
10
+ "slots": [],
11
+ "methods": [],
12
+ "parts": [],
13
+ "description": "构件 `ai-portal.home-container`"
14
+ },
15
+ {
16
+ "name": "ai-portal.stat-with-mini-chart",
8
17
  "properties": [
9
18
  {
10
- "name": "disabled",
11
- "type": "boolean"
19
+ "name": "label",
20
+ "type": "string"
12
21
  },
13
22
  {
14
- "name": "placeholder",
23
+ "name": "value",
15
24
  "type": "string"
16
25
  },
17
26
  {
18
- "name": "autoFocus",
27
+ "name": "size",
28
+ "description": "",
29
+ "default": "\"medium\"",
30
+ "type": "\"medium\" | \"small\""
31
+ },
32
+ {
33
+ "name": "lineColor",
34
+ "description": "",
35
+ "default": "\"var(--color-brand)\"",
36
+ "type": "string"
37
+ },
38
+ {
39
+ "name": "showArea",
19
40
  "type": "boolean"
20
41
  },
21
42
  {
22
- "name": "aiEmployees",
23
- "attribute": false,
24
- "type": "AIEmployee[]"
25
- }
26
- ],
27
- "events": [
43
+ "name": "min",
44
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
45
+ "type": "number"
46
+ },
28
47
  {
29
- "name": "message.submit",
30
- "detail": {
31
- "type": "string"
32
- }
48
+ "name": "max",
49
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
50
+ "type": "number"
33
51
  },
34
52
  {
35
- "name": "ai-employee.mention",
36
- "detail": {
37
- "type": "AIEmployee | null"
38
- }
39
- }
40
- ],
41
- "slots": [],
42
- "methods": [
53
+ "name": "xField",
54
+ "description": "",
55
+ "default": "\"0\"",
56
+ "type": "string"
57
+ },
43
58
  {
44
- "name": "setValue",
45
- "params": [
46
- {
47
- "name": "value",
48
- "type": "string"
49
- }
50
- ]
59
+ "name": "yField",
60
+ "description": "",
61
+ "default": "\"1\"",
62
+ "type": "string"
51
63
  },
52
64
  {
53
- "name": "getValue",
54
- "params": []
65
+ "name": "data",
66
+ "attribute": false,
67
+ "type": "Record<string, number>[]"
55
68
  }
56
69
  ],
70
+ "events": [],
71
+ "slots": [],
72
+ "methods": [],
57
73
  "parts": [],
58
- "description": "构件 `ai-portal.chat-box`"
74
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
59
75
  },
60
76
  {
61
77
  "name": "ai-portal.cruise-canvas",
@@ -202,76 +218,6 @@
202
218
  "parts": [],
203
219
  "description": "构件 `ai-portal.cruise-canvas`"
204
220
  },
205
- {
206
- "name": "ai-portal.home-container",
207
- "properties": [],
208
- "events": [],
209
- "slots": [],
210
- "methods": [],
211
- "parts": [],
212
- "description": "构件 `ai-portal.home-container`"
213
- },
214
- {
215
- "name": "ai-portal.stat-with-mini-chart",
216
- "properties": [
217
- {
218
- "name": "label",
219
- "type": "string"
220
- },
221
- {
222
- "name": "value",
223
- "type": "string"
224
- },
225
- {
226
- "name": "size",
227
- "description": "",
228
- "default": "\"medium\"",
229
- "type": "\"medium\" | \"small\""
230
- },
231
- {
232
- "name": "lineColor",
233
- "description": "",
234
- "default": "\"var(--color-brand)\"",
235
- "type": "string"
236
- },
237
- {
238
- "name": "showArea",
239
- "type": "boolean"
240
- },
241
- {
242
- "name": "min",
243
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
244
- "type": "number"
245
- },
246
- {
247
- "name": "max",
248
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
249
- "type": "number"
250
- },
251
- {
252
- "name": "xField",
253
- "description": "",
254
- "default": "\"0\"",
255
- "type": "string"
256
- },
257
- {
258
- "name": "yField",
259
- "description": "",
260
- "default": "\"1\"",
261
- "type": "string"
262
- },
263
- {
264
- "name": "data",
265
- "attribute": false,
266
- "type": "Record<string, number>[]"
267
- }
268
- ],
269
- "events": [],
270
- "slots": [],
271
- "methods": [],
272
- "parts": [],
273
- "description": "构件 `ai-portal.stat-with-mini-chart`"
274
- },
275
221
  {
276
222
  "name": "ai-portal.elevo-sidebar",
277
223
  "properties": [
@@ -412,52 +358,89 @@
412
358
  "description": "构件 `ai-portal.elevo-sidebar`"
413
359
  },
414
360
  {
415
- "name": "ai-portal.icon-button",
361
+ "name": "ai-portal.chat-box",
416
362
  "properties": [
417
363
  {
418
- "name": "icon",
419
- "attribute": false,
420
- "type": "GeneralIconProps"
364
+ "name": "disabled",
365
+ "type": "boolean"
421
366
  },
422
367
  {
423
- "name": "tooltip",
368
+ "name": "placeholder",
424
369
  "type": "string"
425
370
  },
426
371
  {
427
- "name": "disabled",
372
+ "name": "autoFocus",
428
373
  "type": "boolean"
429
374
  },
430
375
  {
431
- "name": "variant",
432
- "type": "IconButtonVariant"
376
+ "name": "aiEmployees",
377
+ "attribute": false,
378
+ "type": "AIEmployee[]"
379
+ }
380
+ ],
381
+ "events": [
382
+ {
383
+ "name": "message.submit",
384
+ "detail": {
385
+ "type": "string"
386
+ }
387
+ },
388
+ {
389
+ "name": "ai-employee.mention",
390
+ "detail": {
391
+ "type": "AIEmployee | null"
392
+ }
433
393
  }
434
394
  ],
435
- "events": [],
436
395
  "slots": [],
437
- "methods": [],
396
+ "methods": [
397
+ {
398
+ "name": "setValue",
399
+ "params": [
400
+ {
401
+ "name": "value",
402
+ "type": "string"
403
+ }
404
+ ]
405
+ },
406
+ {
407
+ "name": "getValue",
408
+ "params": []
409
+ },
410
+ {
411
+ "name": "focusOnInput",
412
+ "params": []
413
+ }
414
+ ],
438
415
  "parts": [],
439
- "description": "构件 `ai-portal.icon-button`"
416
+ "description": "构件 `ai-portal.chat-box`"
440
417
  },
441
418
  {
442
- "name": "ai-portal.mcp-tools",
419
+ "name": "ai-portal.icon-button",
443
420
  "properties": [
444
421
  {
445
- "name": "list",
422
+ "name": "icon",
446
423
  "attribute": false,
447
- "type": "McpTool[]"
424
+ "type": "GeneralIconProps"
448
425
  },
449
426
  {
450
- "name": "withContainer",
451
- "description": "",
452
- "deprecated": true,
453
- "default": "true"
427
+ "name": "tooltip",
428
+ "type": "string"
429
+ },
430
+ {
431
+ "name": "disabled",
432
+ "type": "boolean"
433
+ },
434
+ {
435
+ "name": "variant",
436
+ "type": "IconButtonVariant"
454
437
  }
455
438
  ],
456
439
  "events": [],
457
440
  "slots": [],
458
441
  "methods": [],
459
442
  "parts": [],
460
- "description": "构件 `ai-portal.mcp-tools`"
443
+ "description": "构件 `ai-portal.icon-button`"
461
444
  },
462
445
  {
463
446
  "name": "ai-portal.show-cases",
@@ -475,21 +458,12 @@
475
458
  "description": "构件 `ai-portal.show-cases`"
476
459
  },
477
460
  {
478
- "name": "ai-portal.ai-employees",
461
+ "name": "ai-portal.mcp-tools",
479
462
  "properties": [
480
463
  {
481
464
  "name": "list",
482
465
  "attribute": false,
483
- "type": "Employee[]"
484
- },
485
- {
486
- "name": "industries",
487
- "attribute": false,
488
- "type": "string[]"
489
- },
490
- {
491
- "name": "urlTemplate",
492
- "type": "string"
466
+ "type": "McpTool[]"
493
467
  },
494
468
  {
495
469
  "name": "withContainer",
@@ -502,7 +476,7 @@
502
476
  "slots": [],
503
477
  "methods": [],
504
478
  "parts": [],
505
- "description": "构件 `ai-portal.ai-employees`"
479
+ "description": "构件 `ai-portal.mcp-tools`"
506
480
  },
507
481
  {
508
482
  "name": "ai-portal.chat-stream",
@@ -641,6 +615,36 @@
641
615
  "parts": [],
642
616
  "description": "构件 `ai-portal.chat-stream`"
643
617
  },
618
+ {
619
+ "name": "ai-portal.ai-employees",
620
+ "properties": [
621
+ {
622
+ "name": "list",
623
+ "attribute": false,
624
+ "type": "Employee[]"
625
+ },
626
+ {
627
+ "name": "industries",
628
+ "attribute": false,
629
+ "type": "string[]"
630
+ },
631
+ {
632
+ "name": "urlTemplate",
633
+ "type": "string"
634
+ },
635
+ {
636
+ "name": "withContainer",
637
+ "description": "",
638
+ "deprecated": true,
639
+ "default": "true"
640
+ }
641
+ ],
642
+ "events": [],
643
+ "slots": [],
644
+ "methods": [],
645
+ "parts": [],
646
+ "description": "构件 `ai-portal.ai-employees`"
647
+ },
644
648
  {
645
649
  "name": "ai-portal.ai-agents",
646
650
  "properties": [
@@ -739,25 +743,6 @@
739
743
  ],
740
744
  "description": "构件 `ai-portal.tab-list`"
741
745
  },
742
- {
743
- "name": "ai-portal.preview-container",
744
- "properties": [
745
- {
746
- "name": "source",
747
- "attribute": false,
748
- "type": "string"
749
- },
750
- {
751
- "name": "url",
752
- "type": "string"
753
- }
754
- ],
755
- "events": [],
756
- "slots": [],
757
- "methods": [],
758
- "parts": [],
759
- "description": "构件 `ai-portal.preview-container`"
760
- },
761
746
  {
762
747
  "name": "ai-portal.dropdown-select",
763
748
  "properties": [
@@ -815,6 +800,25 @@
815
800
  "parts": [],
816
801
  "description": "构件 `ai-portal.dropdown-select`"
817
802
  },
803
+ {
804
+ "name": "ai-portal.preview-container",
805
+ "properties": [
806
+ {
807
+ "name": "source",
808
+ "attribute": false,
809
+ "type": "string"
810
+ },
811
+ {
812
+ "name": "url",
813
+ "type": "string"
814
+ }
815
+ ],
816
+ "events": [],
817
+ "slots": [],
818
+ "methods": [],
819
+ "parts": [],
820
+ "description": "构件 `ai-portal.preview-container`"
821
+ },
818
822
  {
819
823
  "name": "ai-portal.action-buttons",
820
824
  "properties": [
@@ -824,30 +828,20 @@
824
828
  "type": "ActionItem[]"
825
829
  },
826
830
  {
827
- "name": "multiple",
828
- "type": "boolean"
831
+ "name": "activeKey",
832
+ "type": "string | null"
829
833
  }
830
834
  ],
831
835
  "events": [
832
836
  {
833
- "name": "action.click",
837
+ "name": "change",
834
838
  "detail": {
835
- "type": "ActionItem"
839
+ "type": "ActionItem | null"
836
840
  }
837
841
  }
838
842
  ],
839
843
  "slots": [],
840
- "methods": [
841
- {
842
- "name": "setActive",
843
- "params": [
844
- {
845
- "name": "key",
846
- "type": "string"
847
- }
848
- ]
849
- }
850
- ],
844
+ "methods": [],
851
845
  "parts": [],
852
846
  "description": "构件 `ai-portal.action-buttons`"
853
847
  },
@@ -993,6 +987,25 @@
993
987
  "parts": [],
994
988
  "description": "构件 `ai-portal.project-knowledges`"
995
989
  },
990
+ {
991
+ "name": "ai-portal.activity-timeline",
992
+ "properties": [
993
+ {
994
+ "name": "list",
995
+ "attribute": false,
996
+ "type": "Activity[]"
997
+ },
998
+ {
999
+ "name": "chatUrlTemplate",
1000
+ "type": "string"
1001
+ }
1002
+ ],
1003
+ "events": [],
1004
+ "slots": [],
1005
+ "methods": [],
1006
+ "parts": [],
1007
+ "description": "构件 `ai-portal.activity-timeline`"
1008
+ },
996
1009
  {
997
1010
  "name": "ai-portal.chat-input",
998
1011
  "properties": [
@@ -1036,15 +1049,6 @@
1036
1049
  "parts": [],
1037
1050
  "description": "构件 `ai-portal.chat-input`"
1038
1051
  },
1039
- {
1040
- "name": "ai-portal.elevo-logo",
1041
- "properties": [],
1042
- "events": [],
1043
- "slots": [],
1044
- "methods": [],
1045
- "parts": [],
1046
- "description": "构件 `ai-portal.elevo-logo`"
1047
- },
1048
1052
  {
1049
1053
  "name": "ai-portal.show-case",
1050
1054
  "properties": [
@@ -1068,23 +1072,13 @@
1068
1072
  "description": "构件 `ai-portal.show-case`"
1069
1073
  },
1070
1074
  {
1071
- "name": "ai-portal.activity-timeline",
1072
- "properties": [
1073
- {
1074
- "name": "list",
1075
- "attribute": false,
1076
- "type": "Activity[]"
1077
- },
1078
- {
1079
- "name": "chatUrlTemplate",
1080
- "type": "string"
1081
- }
1082
- ],
1075
+ "name": "ai-portal.elevo-logo",
1076
+ "properties": [],
1083
1077
  "events": [],
1084
1078
  "slots": [],
1085
1079
  "methods": [],
1086
1080
  "parts": [],
1087
- "description": "构件 `ai-portal.activity-timeline`"
1081
+ "description": "构件 `ai-portal.elevo-logo`"
1088
1082
  }
1089
1083
  ],
1090
1084
  "providers": [