@next-bricks/ai-portal 0.47.2 → 0.48.0

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 (38) hide show
  1. package/dist/bricks.json +31 -31
  2. package/dist/chunks/4144.61537fe5.js +2 -0
  3. package/dist/chunks/4144.61537fe5.js.map +1 -0
  4. package/dist/chunks/7431.a7bb5366.js +3 -0
  5. package/dist/chunks/7431.a7bb5366.js.map +1 -0
  6. package/dist/chunks/9328.283c35b3.js +2 -0
  7. package/dist/chunks/9328.283c35b3.js.map +1 -0
  8. package/dist/chunks/9474.5c89809c.js +2 -0
  9. package/dist/chunks/9474.5c89809c.js.map +1 -0
  10. package/dist/chunks/elevo-sidebar.7f4d37a1.js +3 -0
  11. package/dist/chunks/elevo-sidebar.7f4d37a1.js.map +1 -0
  12. package/dist/chunks/{main.775b7150.js → main.a1c0bc1f.js} +2 -2
  13. package/dist/chunks/{main.775b7150.js.map → main.a1c0bc1f.js.map} +1 -1
  14. package/dist/chunks/preview-container.547a5036.js +2 -0
  15. package/dist/chunks/preview-container.547a5036.js.map +1 -0
  16. package/dist/examples.json +14 -14
  17. package/dist/{index.d321fd76.js → index.44fdd150.js} +2 -2
  18. package/dist/{index.d321fd76.js.map → index.44fdd150.js.map} +1 -1
  19. package/dist/manifest.json +172 -163
  20. package/dist/types.json +173 -159
  21. package/dist-types/elevo-sidebar/ChatHistory.d.ts +2 -1
  22. package/dist-types/elevo-sidebar/index.d.ts +2 -0
  23. package/dist-types/preview-container/index.d.ts +2 -0
  24. package/package.json +2 -2
  25. package/dist/chunks/4144.e2d748f8.js +0 -2
  26. package/dist/chunks/4144.e2d748f8.js.map +0 -1
  27. package/dist/chunks/7431.796d1a89.js +0 -3
  28. package/dist/chunks/7431.796d1a89.js.map +0 -1
  29. package/dist/chunks/9328.1fc3c9b4.js +0 -2
  30. package/dist/chunks/9328.1fc3c9b4.js.map +0 -1
  31. package/dist/chunks/9474.8a4c4815.js +0 -2
  32. package/dist/chunks/9474.8a4c4815.js.map +0 -1
  33. package/dist/chunks/elevo-sidebar.dcdcf5d3.js +0 -3
  34. package/dist/chunks/elevo-sidebar.dcdcf5d3.js.map +0 -1
  35. package/dist/chunks/preview-container.ebe8c4fc.js +0 -2
  36. package/dist/chunks/preview-container.ebe8c4fc.js.map +0 -1
  37. /package/dist/chunks/{7431.796d1a89.js.LICENSE.txt → 7431.a7bb5366.js.LICENSE.txt} +0 -0
  38. /package/dist/chunks/{elevo-sidebar.dcdcf5d3.js.LICENSE.txt → elevo-sidebar.7f4d37a1.js.LICENSE.txt} +0 -0
@@ -3,6 +3,60 @@
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
+ "events": [
28
+ {
29
+ "name": "message.submit",
30
+ "detail": {
31
+ "type": "string"
32
+ }
33
+ },
34
+ {
35
+ "name": "ai-employee.mention",
36
+ "detail": {
37
+ "type": "AIEmployee | null"
38
+ }
39
+ }
40
+ ],
41
+ "slots": [],
42
+ "methods": [
43
+ {
44
+ "name": "setValue",
45
+ "params": [
46
+ {
47
+ "name": "value",
48
+ "type": "string"
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "name": "getValue",
54
+ "params": []
55
+ }
56
+ ],
57
+ "parts": [],
58
+ "description": "构件 `ai-portal.chat-box`"
59
+ },
6
60
  {
7
61
  "name": "ai-portal.cruise-canvas",
8
62
  "properties": [
@@ -149,67 +203,74 @@
149
203
  "description": "构件 `ai-portal.cruise-canvas`"
150
204
  },
151
205
  {
152
- "name": "ai-portal.chat-box",
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",
153
216
  "properties": [
154
217
  {
155
- "name": "disabled",
156
- "type": "boolean"
218
+ "name": "label",
219
+ "type": "string"
157
220
  },
158
221
  {
159
- "name": "placeholder",
222
+ "name": "value",
160
223
  "type": "string"
161
224
  },
162
225
  {
163
- "name": "autoFocus",
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",
164
239
  "type": "boolean"
165
240
  },
166
241
  {
167
- "name": "aiEmployees",
168
- "attribute": false,
169
- "type": "AIEmployee[]"
170
- }
171
- ],
172
- "events": [
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
+ },
173
246
  {
174
- "name": "message.submit",
175
- "detail": {
176
- "type": "string"
177
- }
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"
178
250
  },
179
251
  {
180
- "name": "ai-employee.mention",
181
- "detail": {
182
- "type": "AIEmployee | null"
183
- }
184
- }
185
- ],
186
- "slots": [],
187
- "methods": [
252
+ "name": "xField",
253
+ "description": "",
254
+ "default": "\"0\"",
255
+ "type": "string"
256
+ },
188
257
  {
189
- "name": "setValue",
190
- "params": [
191
- {
192
- "name": "value",
193
- "type": "string"
194
- }
195
- ]
258
+ "name": "yField",
259
+ "description": "",
260
+ "default": "\"1\"",
261
+ "type": "string"
196
262
  },
197
263
  {
198
- "name": "getValue",
199
- "params": []
264
+ "name": "data",
265
+ "attribute": false,
266
+ "type": "Record<string, number>[]"
200
267
  }
201
268
  ],
202
- "parts": [],
203
- "description": "构件 `ai-portal.chat-box`"
204
- },
205
- {
206
- "name": "ai-portal.home-container",
207
- "properties": [],
208
269
  "events": [],
209
270
  "slots": [],
210
271
  "methods": [],
211
272
  "parts": [],
212
- "description": "构件 `ai-portal.home-container`"
273
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
213
274
  },
214
275
  {
215
276
  "name": "ai-portal.elevo-sidebar",
@@ -268,6 +329,11 @@
268
329
  "name": "links",
269
330
  "attribute": false,
270
331
  "type": "SidebarLink[]"
332
+ },
333
+ {
334
+ "name": "canAddProject",
335
+ "type": "boolean",
336
+ "default": "true"
271
337
  }
272
338
  ],
273
339
  "events": [
@@ -346,92 +412,52 @@
346
412
  "description": "构件 `ai-portal.elevo-sidebar`"
347
413
  },
348
414
  {
349
- "name": "ai-portal.stat-with-mini-chart",
415
+ "name": "ai-portal.icon-button",
350
416
  "properties": [
351
417
  {
352
- "name": "label",
353
- "type": "string"
354
- },
355
- {
356
- "name": "value",
357
- "type": "string"
358
- },
359
- {
360
- "name": "size",
361
- "description": "",
362
- "default": "\"medium\"",
363
- "type": "\"medium\" | \"small\""
418
+ "name": "icon",
419
+ "attribute": false,
420
+ "type": "GeneralIconProps"
364
421
  },
365
422
  {
366
- "name": "lineColor",
367
- "description": "",
368
- "default": "\"var(--color-brand)\"",
423
+ "name": "tooltip",
369
424
  "type": "string"
370
425
  },
371
426
  {
372
- "name": "showArea",
427
+ "name": "disabled",
373
428
  "type": "boolean"
374
429
  },
375
430
  {
376
- "name": "min",
377
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
378
- "type": "number"
379
- },
380
- {
381
- "name": "max",
382
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
383
- "type": "number"
384
- },
385
- {
386
- "name": "xField",
387
- "description": "",
388
- "default": "\"0\"",
389
- "type": "string"
390
- },
391
- {
392
- "name": "yField",
393
- "description": "",
394
- "default": "\"1\"",
395
- "type": "string"
396
- },
397
- {
398
- "name": "data",
399
- "attribute": false,
400
- "type": "Record<string, number>[]"
431
+ "name": "variant",
432
+ "type": "IconButtonVariant"
401
433
  }
402
434
  ],
403
435
  "events": [],
404
436
  "slots": [],
405
437
  "methods": [],
406
438
  "parts": [],
407
- "description": "构件 `ai-portal.stat-with-mini-chart`"
439
+ "description": "构件 `ai-portal.icon-button`"
408
440
  },
409
441
  {
410
- "name": "ai-portal.icon-button",
442
+ "name": "ai-portal.mcp-tools",
411
443
  "properties": [
412
444
  {
413
- "name": "icon",
445
+ "name": "list",
414
446
  "attribute": false,
415
- "type": "GeneralIconProps"
416
- },
417
- {
418
- "name": "tooltip",
419
- "type": "string"
420
- },
421
- {
422
- "name": "disabled",
423
- "type": "boolean"
447
+ "type": "McpTool[]"
424
448
  },
425
449
  {
426
- "name": "variant",
427
- "type": "IconButtonVariant"
450
+ "name": "withContainer",
451
+ "description": "",
452
+ "deprecated": true,
453
+ "default": "true"
428
454
  }
429
455
  ],
430
456
  "events": [],
431
457
  "slots": [],
432
458
  "methods": [],
433
459
  "parts": [],
434
- "description": "构件 `ai-portal.icon-button`"
460
+ "description": "构件 `ai-portal.mcp-tools`"
435
461
  },
436
462
  {
437
463
  "name": "ai-portal.show-cases",
@@ -449,12 +475,21 @@
449
475
  "description": "构件 `ai-portal.show-cases`"
450
476
  },
451
477
  {
452
- "name": "ai-portal.mcp-tools",
478
+ "name": "ai-portal.ai-employees",
453
479
  "properties": [
454
480
  {
455
481
  "name": "list",
456
482
  "attribute": false,
457
- "type": "McpTool[]"
483
+ "type": "Employee[]"
484
+ },
485
+ {
486
+ "name": "industries",
487
+ "attribute": false,
488
+ "type": "string[]"
489
+ },
490
+ {
491
+ "name": "urlTemplate",
492
+ "type": "string"
458
493
  },
459
494
  {
460
495
  "name": "withContainer",
@@ -467,7 +502,7 @@
467
502
  "slots": [],
468
503
  "methods": [],
469
504
  "parts": [],
470
- "description": "构件 `ai-portal.mcp-tools`"
505
+ "description": "构件 `ai-portal.ai-employees`"
471
506
  },
472
507
  {
473
508
  "name": "ai-portal.chat-stream",
@@ -606,36 +641,6 @@
606
641
  "parts": [],
607
642
  "description": "构件 `ai-portal.chat-stream`"
608
643
  },
609
- {
610
- "name": "ai-portal.ai-employees",
611
- "properties": [
612
- {
613
- "name": "list",
614
- "attribute": false,
615
- "type": "Employee[]"
616
- },
617
- {
618
- "name": "industries",
619
- "attribute": false,
620
- "type": "string[]"
621
- },
622
- {
623
- "name": "urlTemplate",
624
- "type": "string"
625
- },
626
- {
627
- "name": "withContainer",
628
- "description": "",
629
- "deprecated": true,
630
- "default": "true"
631
- }
632
- ],
633
- "events": [],
634
- "slots": [],
635
- "methods": [],
636
- "parts": [],
637
- "description": "构件 `ai-portal.ai-employees`"
638
- },
639
644
  {
640
645
  "name": "ai-portal.ai-agents",
641
646
  "properties": [
@@ -734,6 +739,25 @@
734
739
  ],
735
740
  "description": "构件 `ai-portal.tab-list`"
736
741
  },
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
+ },
737
761
  {
738
762
  "name": "ai-portal.dropdown-select",
739
763
  "properties": [
@@ -791,21 +815,6 @@
791
815
  "parts": [],
792
816
  "description": "构件 `ai-portal.dropdown-select`"
793
817
  },
794
- {
795
- "name": "ai-portal.preview-container",
796
- "properties": [
797
- {
798
- "name": "source",
799
- "attribute": false,
800
- "type": "string"
801
- }
802
- ],
803
- "events": [],
804
- "slots": [],
805
- "methods": [],
806
- "parts": [],
807
- "description": "构件 `ai-portal.preview-container`"
808
- },
809
818
  {
810
819
  "name": "ai-portal.action-buttons",
811
820
  "properties": [
@@ -984,25 +993,6 @@
984
993
  "parts": [],
985
994
  "description": "构件 `ai-portal.project-knowledges`"
986
995
  },
987
- {
988
- "name": "ai-portal.activity-timeline",
989
- "properties": [
990
- {
991
- "name": "list",
992
- "attribute": false,
993
- "type": "Activity[]"
994
- },
995
- {
996
- "name": "chatUrlTemplate",
997
- "type": "string"
998
- }
999
- ],
1000
- "events": [],
1001
- "slots": [],
1002
- "methods": [],
1003
- "parts": [],
1004
- "description": "构件 `ai-portal.activity-timeline`"
1005
- },
1006
996
  {
1007
997
  "name": "ai-portal.chat-input",
1008
998
  "properties": [
@@ -1076,6 +1066,25 @@
1076
1066
  "methods": [],
1077
1067
  "parts": [],
1078
1068
  "description": "构件 `ai-portal.show-case`"
1069
+ },
1070
+ {
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
+ ],
1083
+ "events": [],
1084
+ "slots": [],
1085
+ "methods": [],
1086
+ "parts": [],
1087
+ "description": "构件 `ai-portal.activity-timeline`"
1079
1088
  }
1080
1089
  ],
1081
1090
  "providers": [