@next-bricks/ai-portal 0.47.3 → 0.48.1

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 (43) hide show
  1. package/dist/bricks.json +20 -20
  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.9d8c1ccb.js +3 -0
  7. package/dist/chunks/7431.9d8c1ccb.js.map +1 -0
  8. package/dist/chunks/9328.283c35b3.js +2 -0
  9. package/dist/chunks/9328.283c35b3.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/{chat-box.57a9d3ec.js → chat-box.0fd70952.js} +2 -2
  13. package/dist/chunks/chat-box.0fd70952.js.map +1 -0
  14. package/dist/chunks/{elevo-sidebar.7f4d37a1.js → elevo-sidebar.aa3aa869.js} +3 -3
  15. package/dist/chunks/elevo-sidebar.aa3aa869.js.map +1 -0
  16. package/dist/chunks/{main.3bb7cf04.js → main.040f8a8b.js} +2 -2
  17. package/dist/chunks/{main.3bb7cf04.js.map → main.040f8a8b.js.map} +1 -1
  18. package/dist/chunks/preview-container.89b082ac.js +2 -0
  19. package/dist/chunks/preview-container.89b082ac.js.map +1 -0
  20. package/dist/examples.json +18 -18
  21. package/dist/index.6dbc99ec.js +2 -0
  22. package/dist/index.6dbc99ec.js.map +1 -0
  23. package/dist/manifest.json +197 -189
  24. package/dist/types.json +344 -332
  25. package/dist-types/chat-box/index.d.ts +2 -0
  26. package/dist-types/preview-container/index.d.ts +2 -0
  27. package/package.json +2 -2
  28. package/dist/chunks/4144.e2d748f8.js +0 -2
  29. package/dist/chunks/4144.e2d748f8.js.map +0 -1
  30. package/dist/chunks/7431.59dc7d9e.js +0 -3
  31. package/dist/chunks/7431.59dc7d9e.js.map +0 -1
  32. package/dist/chunks/9328.1fc3c9b4.js +0 -2
  33. package/dist/chunks/9328.1fc3c9b4.js.map +0 -1
  34. package/dist/chunks/9474.8a4c4815.js +0 -2
  35. package/dist/chunks/9474.8a4c4815.js.map +0 -1
  36. package/dist/chunks/chat-box.57a9d3ec.js.map +0 -1
  37. package/dist/chunks/elevo-sidebar.7f4d37a1.js.map +0 -1
  38. package/dist/chunks/preview-container.ebe8c4fc.js +0 -2
  39. package/dist/chunks/preview-container.ebe8c4fc.js.map +0 -1
  40. package/dist/index.96fa671b.js +0 -2
  41. package/dist/index.96fa671b.js.map +0 -1
  42. /package/dist/chunks/{7431.59dc7d9e.js.LICENSE.txt → 7431.9d8c1ccb.js.LICENSE.txt} +0 -0
  43. /package/dist/chunks/{elevo-sidebar.7f4d37a1.js.LICENSE.txt → elevo-sidebar.aa3aa869.js.LICENSE.txt} +0 -0
@@ -3,6 +3,64 @@
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
+ "name": "focusOnInput",
58
+ "params": []
59
+ }
60
+ ],
61
+ "parts": [],
62
+ "description": "构件 `ai-portal.chat-box`"
63
+ },
6
64
  {
7
65
  "name": "ai-portal.cruise-canvas",
8
66
  "properties": [
@@ -148,6 +206,76 @@
148
206
  "parts": [],
149
207
  "description": "构件 `ai-portal.cruise-canvas`"
150
208
  },
209
+ {
210
+ "name": "ai-portal.home-container",
211
+ "properties": [],
212
+ "events": [],
213
+ "slots": [],
214
+ "methods": [],
215
+ "parts": [],
216
+ "description": "构件 `ai-portal.home-container`"
217
+ },
218
+ {
219
+ "name": "ai-portal.stat-with-mini-chart",
220
+ "properties": [
221
+ {
222
+ "name": "label",
223
+ "type": "string"
224
+ },
225
+ {
226
+ "name": "value",
227
+ "type": "string"
228
+ },
229
+ {
230
+ "name": "size",
231
+ "description": "",
232
+ "default": "\"medium\"",
233
+ "type": "\"medium\" | \"small\""
234
+ },
235
+ {
236
+ "name": "lineColor",
237
+ "description": "",
238
+ "default": "\"var(--color-brand)\"",
239
+ "type": "string"
240
+ },
241
+ {
242
+ "name": "showArea",
243
+ "type": "boolean"
244
+ },
245
+ {
246
+ "name": "min",
247
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
248
+ "type": "number"
249
+ },
250
+ {
251
+ "name": "max",
252
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
253
+ "type": "number"
254
+ },
255
+ {
256
+ "name": "xField",
257
+ "description": "",
258
+ "default": "\"0\"",
259
+ "type": "string"
260
+ },
261
+ {
262
+ "name": "yField",
263
+ "description": "",
264
+ "default": "\"1\"",
265
+ "type": "string"
266
+ },
267
+ {
268
+ "name": "data",
269
+ "attribute": false,
270
+ "type": "Record<string, number>[]"
271
+ }
272
+ ],
273
+ "events": [],
274
+ "slots": [],
275
+ "methods": [],
276
+ "parts": [],
277
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
278
+ },
151
279
  {
152
280
  "name": "ai-portal.elevo-sidebar",
153
281
  "properties": [
@@ -329,69 +457,6 @@
329
457
  "parts": [],
330
458
  "description": "构件 `ai-portal.show-cases`"
331
459
  },
332
- {
333
- "name": "ai-portal.home-container",
334
- "properties": [],
335
- "events": [],
336
- "slots": [],
337
- "methods": [],
338
- "parts": [],
339
- "description": "构件 `ai-portal.home-container`"
340
- },
341
- {
342
- "name": "ai-portal.chat-box",
343
- "properties": [
344
- {
345
- "name": "disabled",
346
- "type": "boolean"
347
- },
348
- {
349
- "name": "placeholder",
350
- "type": "string"
351
- },
352
- {
353
- "name": "autoFocus",
354
- "type": "boolean"
355
- },
356
- {
357
- "name": "aiEmployees",
358
- "attribute": false,
359
- "type": "AIEmployee[]"
360
- }
361
- ],
362
- "events": [
363
- {
364
- "name": "message.submit",
365
- "detail": {
366
- "type": "string"
367
- }
368
- },
369
- {
370
- "name": "ai-employee.mention",
371
- "detail": {
372
- "type": "AIEmployee | null"
373
- }
374
- }
375
- ],
376
- "slots": [],
377
- "methods": [
378
- {
379
- "name": "setValue",
380
- "params": [
381
- {
382
- "name": "value",
383
- "type": "string"
384
- }
385
- ]
386
- },
387
- {
388
- "name": "getValue",
389
- "params": []
390
- }
391
- ],
392
- "parts": [],
393
- "description": "构件 `ai-portal.chat-box`"
394
- },
395
460
  {
396
461
  "name": "ai-portal.mcp-tools",
397
462
  "properties": [
@@ -413,36 +478,6 @@
413
478
  "parts": [],
414
479
  "description": "构件 `ai-portal.mcp-tools`"
415
480
  },
416
- {
417
- "name": "ai-portal.ai-employees",
418
- "properties": [
419
- {
420
- "name": "list",
421
- "attribute": false,
422
- "type": "Employee[]"
423
- },
424
- {
425
- "name": "industries",
426
- "attribute": false,
427
- "type": "string[]"
428
- },
429
- {
430
- "name": "urlTemplate",
431
- "type": "string"
432
- },
433
- {
434
- "name": "withContainer",
435
- "description": "",
436
- "deprecated": true,
437
- "default": "true"
438
- }
439
- ],
440
- "events": [],
441
- "slots": [],
442
- "methods": [],
443
- "parts": [],
444
- "description": "构件 `ai-portal.ai-employees`"
445
- },
446
481
  {
447
482
  "name": "ai-portal.chat-stream",
448
483
  "properties": [
@@ -581,12 +616,17 @@
581
616
  "description": "构件 `ai-portal.chat-stream`"
582
617
  },
583
618
  {
584
- "name": "ai-portal.ai-agents",
619
+ "name": "ai-portal.ai-employees",
585
620
  "properties": [
586
621
  {
587
622
  "name": "list",
588
623
  "attribute": false,
589
- "type": "Agent[]"
624
+ "type": "Employee[]"
625
+ },
626
+ {
627
+ "name": "industries",
628
+ "attribute": false,
629
+ "type": "string[]"
590
630
  },
591
631
  {
592
632
  "name": "urlTemplate",
@@ -603,43 +643,32 @@
603
643
  "slots": [],
604
644
  "methods": [],
605
645
  "parts": [],
606
- "description": "构件 `ai-portal.ai-agents`"
646
+ "description": "构件 `ai-portal.ai-employees`"
607
647
  },
608
648
  {
609
- "name": "ai-portal.tab-list",
649
+ "name": "ai-portal.ai-agents",
610
650
  "properties": [
611
651
  {
612
- "name": "tabs",
652
+ "name": "list",
613
653
  "attribute": false,
614
- "type": "Tab[]"
654
+ "type": "Agent[]"
615
655
  },
616
656
  {
617
- "name": "activeTab",
618
- "attribute": false,
657
+ "name": "urlTemplate",
619
658
  "type": "string"
620
- }
621
- ],
622
- "events": [
659
+ },
623
660
  {
624
- "name": "tab.click",
625
- "detail": {
626
- "type": "Tab"
627
- }
661
+ "name": "withContainer",
662
+ "description": "",
663
+ "deprecated": true,
664
+ "default": "true"
628
665
  }
629
666
  ],
667
+ "events": [],
630
668
  "slots": [],
631
669
  "methods": [],
632
- "parts": [
633
- {
634
- "name": "tabs",
635
- "description": "The tab list container"
636
- },
637
- {
638
- "name": "tab",
639
- "description": "The individual tab"
640
- }
641
- ],
642
- "description": "构件 `ai-portal.tab-list`"
670
+ "parts": [],
671
+ "description": "构件 `ai-portal.ai-agents`"
643
672
  },
644
673
  {
645
674
  "name": "ai-portal.page-container",
@@ -678,6 +707,42 @@
678
707
  "parts": [],
679
708
  "description": "构件 `ai-portal.page-container`"
680
709
  },
710
+ {
711
+ "name": "ai-portal.tab-list",
712
+ "properties": [
713
+ {
714
+ "name": "tabs",
715
+ "attribute": false,
716
+ "type": "Tab[]"
717
+ },
718
+ {
719
+ "name": "activeTab",
720
+ "attribute": false,
721
+ "type": "string"
722
+ }
723
+ ],
724
+ "events": [
725
+ {
726
+ "name": "tab.click",
727
+ "detail": {
728
+ "type": "Tab"
729
+ }
730
+ }
731
+ ],
732
+ "slots": [],
733
+ "methods": [],
734
+ "parts": [
735
+ {
736
+ "name": "tabs",
737
+ "description": "The tab list container"
738
+ },
739
+ {
740
+ "name": "tab",
741
+ "description": "The individual tab"
742
+ }
743
+ ],
744
+ "description": "构件 `ai-portal.tab-list`"
745
+ },
681
746
  {
682
747
  "name": "ai-portal.dropdown-select",
683
748
  "properties": [
@@ -735,67 +800,6 @@
735
800
  "parts": [],
736
801
  "description": "构件 `ai-portal.dropdown-select`"
737
802
  },
738
- {
739
- "name": "ai-portal.stat-with-mini-chart",
740
- "properties": [
741
- {
742
- "name": "label",
743
- "type": "string"
744
- },
745
- {
746
- "name": "value",
747
- "type": "string"
748
- },
749
- {
750
- "name": "size",
751
- "description": "",
752
- "default": "\"medium\"",
753
- "type": "\"medium\" | \"small\""
754
- },
755
- {
756
- "name": "lineColor",
757
- "description": "",
758
- "default": "\"var(--color-brand)\"",
759
- "type": "string"
760
- },
761
- {
762
- "name": "showArea",
763
- "type": "boolean"
764
- },
765
- {
766
- "name": "min",
767
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
768
- "type": "number"
769
- },
770
- {
771
- "name": "max",
772
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
773
- "type": "number"
774
- },
775
- {
776
- "name": "xField",
777
- "description": "",
778
- "default": "\"0\"",
779
- "type": "string"
780
- },
781
- {
782
- "name": "yField",
783
- "description": "",
784
- "default": "\"1\"",
785
- "type": "string"
786
- },
787
- {
788
- "name": "data",
789
- "attribute": false,
790
- "type": "Record<string, number>[]"
791
- }
792
- ],
793
- "events": [],
794
- "slots": [],
795
- "methods": [],
796
- "parts": [],
797
- "description": "构件 `ai-portal.stat-with-mini-chart`"
798
- },
799
803
  {
800
804
  "name": "ai-portal.preview-container",
801
805
  "properties": [
@@ -803,6 +807,10 @@
803
807
  "name": "source",
804
808
  "attribute": false,
805
809
  "type": "string"
810
+ },
811
+ {
812
+ "name": "url",
813
+ "type": "string"
806
814
  }
807
815
  ],
808
816
  "events": [],
@@ -1051,6 +1059,15 @@
1051
1059
  "parts": [],
1052
1060
  "description": "构件 `ai-portal.chat-input`"
1053
1061
  },
1062
+ {
1063
+ "name": "ai-portal.elevo-logo",
1064
+ "properties": [],
1065
+ "events": [],
1066
+ "slots": [],
1067
+ "methods": [],
1068
+ "parts": [],
1069
+ "description": "构件 `ai-portal.elevo-logo`"
1070
+ },
1054
1071
  {
1055
1072
  "name": "ai-portal.show-case",
1056
1073
  "properties": [
@@ -1072,15 +1089,6 @@
1072
1089
  "methods": [],
1073
1090
  "parts": [],
1074
1091
  "description": "构件 `ai-portal.show-case`"
1075
- },
1076
- {
1077
- "name": "ai-portal.elevo-logo",
1078
- "properties": [],
1079
- "events": [],
1080
- "slots": [],
1081
- "methods": [],
1082
- "parts": [],
1083
- "description": "构件 `ai-portal.elevo-logo`"
1084
1092
  }
1085
1093
  ],
1086
1094
  "providers": [