@next-bricks/ai-portal 0.39.2 → 0.39.4

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 (49) hide show
  1. package/dist/bricks.json +17 -17
  2. package/dist/chunks/1967.90a3a911.js +2 -0
  3. package/dist/chunks/1967.90a3a911.js.map +1 -0
  4. package/dist/chunks/71.fac7051d.js +2 -0
  5. package/dist/chunks/71.fac7051d.js.map +1 -0
  6. package/dist/chunks/action-buttons.bc5e9334.js +2 -0
  7. package/dist/chunks/action-buttons.bc5e9334.js.map +1 -0
  8. package/dist/chunks/dropdown-select.3c0cd96d.js +2 -0
  9. package/dist/chunks/dropdown-select.3c0cd96d.js.map +1 -0
  10. package/dist/chunks/goal-card-list.d0dfa31e.js +3 -0
  11. package/dist/chunks/goal-card-list.d0dfa31e.js.map +1 -0
  12. package/dist/chunks/main.34dc1e32.js +2 -0
  13. package/dist/chunks/{main.638b1708.js.map → main.34dc1e32.js.map} +1 -1
  14. package/dist/chunks/project-conversations.758d7189.js +3 -0
  15. package/dist/chunks/project-conversations.758d7189.js.map +1 -0
  16. package/dist/chunks/project-knowledges.a65a0602.js +3 -0
  17. package/dist/chunks/project-knowledges.a65a0602.js.map +1 -0
  18. package/dist/chunks/project-summary.fab144a8.js +2 -0
  19. package/dist/chunks/project-summary.fab144a8.js.map +1 -0
  20. package/dist/examples.json +13 -13
  21. package/dist/{index.e8994e1b.js → index.5799bda2.js} +2 -2
  22. package/dist/{index.e8994e1b.js.map → index.5799bda2.js.map} +1 -1
  23. package/dist/manifest.json +137 -125
  24. package/dist/types.json +786 -771
  25. package/dist-types/action-buttons/index.d.ts +0 -1
  26. package/dist-types/dropdown-select/index.d.ts +2 -0
  27. package/dist-types/goal-card-list/CardItem/CardItem.d.ts +1 -1
  28. package/docs/action-buttons.md +7 -2
  29. package/package.json +2 -2
  30. package/dist/chunks/1004.2db5e335.js +0 -2
  31. package/dist/chunks/1004.2db5e335.js.map +0 -1
  32. package/dist/chunks/1967.9af40d13.js +0 -2
  33. package/dist/chunks/1967.9af40d13.js.map +0 -1
  34. package/dist/chunks/action-buttons.646a069f.js +0 -2
  35. package/dist/chunks/action-buttons.646a069f.js.map +0 -1
  36. package/dist/chunks/dropdown-select.60c8ff0c.js +0 -2
  37. package/dist/chunks/dropdown-select.60c8ff0c.js.map +0 -1
  38. package/dist/chunks/goal-card-list.e1e50f2f.js +0 -3
  39. package/dist/chunks/goal-card-list.e1e50f2f.js.map +0 -1
  40. package/dist/chunks/main.638b1708.js +0 -2
  41. package/dist/chunks/project-conversations.fcc5b1a6.js +0 -3
  42. package/dist/chunks/project-conversations.fcc5b1a6.js.map +0 -1
  43. package/dist/chunks/project-knowledges.bbbed4a6.js +0 -3
  44. package/dist/chunks/project-knowledges.bbbed4a6.js.map +0 -1
  45. package/dist/chunks/project-summary.9483f9d4.js +0 -2
  46. package/dist/chunks/project-summary.9483f9d4.js.map +0 -1
  47. /package/dist/chunks/{goal-card-list.e1e50f2f.js.LICENSE.txt → goal-card-list.d0dfa31e.js.LICENSE.txt} +0 -0
  48. /package/dist/chunks/{project-conversations.fcc5b1a6.js.LICENSE.txt → project-conversations.758d7189.js.LICENSE.txt} +0 -0
  49. /package/dist/chunks/{project-knowledges.bbbed4a6.js.LICENSE.txt → project-knowledges.a65a0602.js.LICENSE.txt} +0 -0
@@ -3,67 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.stat-with-mini-chart",
8
- "properties": [
9
- {
10
- "name": "label",
11
- "type": "string"
12
- },
13
- {
14
- "name": "value",
15
- "type": "string"
16
- },
17
- {
18
- "name": "size",
19
- "description": "",
20
- "default": "\"medium\"",
21
- "type": "\"medium\" | \"small\""
22
- },
23
- {
24
- "name": "lineColor",
25
- "description": "",
26
- "default": "\"var(--color-brand)\"",
27
- "type": "string"
28
- },
29
- {
30
- "name": "showArea",
31
- "type": "boolean"
32
- },
33
- {
34
- "name": "min",
35
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
36
- "type": "number"
37
- },
38
- {
39
- "name": "max",
40
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
41
- "type": "number"
42
- },
43
- {
44
- "name": "xField",
45
- "description": "",
46
- "default": "\"0\"",
47
- "type": "string"
48
- },
49
- {
50
- "name": "yField",
51
- "description": "",
52
- "default": "\"1\"",
53
- "type": "string"
54
- },
55
- {
56
- "name": "data",
57
- "attribute": false,
58
- "type": "Record<string, number>[]"
59
- }
60
- ],
61
- "events": [],
62
- "slots": [],
63
- "methods": [],
64
- "parts": [],
65
- "description": "构件 `ai-portal.stat-with-mini-chart`"
66
- },
67
6
  {
68
7
  "name": "ai-portal.cruise-canvas",
69
8
  "properties": [
@@ -199,6 +138,35 @@
199
138
  "parts": [],
200
139
  "description": "构件 `ai-portal.cruise-canvas`"
201
140
  },
141
+ {
142
+ "name": "ai-portal.chat-box",
143
+ "properties": [
144
+ {
145
+ "name": "disabled",
146
+ "type": "boolean"
147
+ },
148
+ {
149
+ "name": "placeholder",
150
+ "type": "string"
151
+ },
152
+ {
153
+ "name": "autoFocus",
154
+ "type": "boolean"
155
+ }
156
+ ],
157
+ "events": [
158
+ {
159
+ "name": "message.submit",
160
+ "detail": {
161
+ "type": "string"
162
+ }
163
+ }
164
+ ],
165
+ "slots": [],
166
+ "methods": [],
167
+ "parts": [],
168
+ "description": "构件 `ai-portal.chat-box`"
169
+ },
202
170
  {
203
171
  "name": "ai-portal.elevo-sidebar",
204
172
  "properties": [
@@ -385,6 +353,67 @@
385
353
  "parts": [],
386
354
  "description": "构件 `ai-portal.show-cases`"
387
355
  },
356
+ {
357
+ "name": "ai-portal.stat-with-mini-chart",
358
+ "properties": [
359
+ {
360
+ "name": "label",
361
+ "type": "string"
362
+ },
363
+ {
364
+ "name": "value",
365
+ "type": "string"
366
+ },
367
+ {
368
+ "name": "size",
369
+ "description": "",
370
+ "default": "\"medium\"",
371
+ "type": "\"medium\" | \"small\""
372
+ },
373
+ {
374
+ "name": "lineColor",
375
+ "description": "",
376
+ "default": "\"var(--color-brand)\"",
377
+ "type": "string"
378
+ },
379
+ {
380
+ "name": "showArea",
381
+ "type": "boolean"
382
+ },
383
+ {
384
+ "name": "min",
385
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
386
+ "type": "number"
387
+ },
388
+ {
389
+ "name": "max",
390
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
391
+ "type": "number"
392
+ },
393
+ {
394
+ "name": "xField",
395
+ "description": "",
396
+ "default": "\"0\"",
397
+ "type": "string"
398
+ },
399
+ {
400
+ "name": "yField",
401
+ "description": "",
402
+ "default": "\"1\"",
403
+ "type": "string"
404
+ },
405
+ {
406
+ "name": "data",
407
+ "attribute": false,
408
+ "type": "Record<string, number>[]"
409
+ }
410
+ ],
411
+ "events": [],
412
+ "slots": [],
413
+ "methods": [],
414
+ "parts": [],
415
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
416
+ },
388
417
  {
389
418
  "name": "ai-portal.mcp-tools",
390
419
  "properties": [
@@ -436,6 +465,31 @@
436
465
  "parts": [],
437
466
  "description": "构件 `ai-portal.ai-employees`"
438
467
  },
468
+ {
469
+ "name": "ai-portal.ai-agents",
470
+ "properties": [
471
+ {
472
+ "name": "list",
473
+ "attribute": false,
474
+ "type": "Agent[]"
475
+ },
476
+ {
477
+ "name": "urlTemplate",
478
+ "type": "string"
479
+ },
480
+ {
481
+ "name": "withContainer",
482
+ "description": "",
483
+ "deprecated": true,
484
+ "default": "true"
485
+ }
486
+ ],
487
+ "events": [],
488
+ "slots": [],
489
+ "methods": [],
490
+ "parts": [],
491
+ "description": "构件 `ai-portal.ai-agents`"
492
+ },
439
493
  {
440
494
  "name": "ai-portal.chat-stream",
441
495
  "properties": [
@@ -553,31 +607,6 @@
553
607
  "parts": [],
554
608
  "description": "构件 `ai-portal.chat-stream`"
555
609
  },
556
- {
557
- "name": "ai-portal.ai-agents",
558
- "properties": [
559
- {
560
- "name": "list",
561
- "attribute": false,
562
- "type": "Agent[]"
563
- },
564
- {
565
- "name": "urlTemplate",
566
- "type": "string"
567
- },
568
- {
569
- "name": "withContainer",
570
- "description": "",
571
- "deprecated": true,
572
- "default": "true"
573
- }
574
- ],
575
- "events": [],
576
- "slots": [],
577
- "methods": [],
578
- "parts": [],
579
- "description": "构件 `ai-portal.ai-agents`"
580
- },
581
610
  {
582
611
  "name": "ai-portal.page-container",
583
612
  "properties": [
@@ -634,6 +663,15 @@
634
663
  "parts": [],
635
664
  "description": "构件 `ai-portal.project-summary`"
636
665
  },
666
+ {
667
+ "name": "ai-portal.home-container",
668
+ "properties": [],
669
+ "events": [],
670
+ "slots": [],
671
+ "methods": [],
672
+ "parts": [],
673
+ "description": "构件 `ai-portal.home-container`"
674
+ },
637
675
  {
638
676
  "name": "ai-portal.tab-list",
639
677
  "properties": [
@@ -696,6 +734,11 @@
696
734
  "attribute": false,
697
735
  "type": "string"
698
736
  },
737
+ {
738
+ "name": "dropdownContentStyle",
739
+ "attribute": false,
740
+ "type": "React.CSSProperties"
741
+ },
699
742
  {
700
743
  "name": "dropdownMaxWidth",
701
744
  "description": "",
@@ -722,44 +765,6 @@
722
765
  "parts": [],
723
766
  "description": "构件 `ai-portal.dropdown-select`"
724
767
  },
725
- {
726
- "name": "ai-portal.chat-box",
727
- "properties": [
728
- {
729
- "name": "disabled",
730
- "type": "boolean"
731
- },
732
- {
733
- "name": "placeholder",
734
- "type": "string"
735
- },
736
- {
737
- "name": "autoFocus",
738
- "type": "boolean"
739
- }
740
- ],
741
- "events": [
742
- {
743
- "name": "message.submit",
744
- "detail": {
745
- "type": "string"
746
- }
747
- }
748
- ],
749
- "slots": [],
750
- "methods": [],
751
- "parts": [],
752
- "description": "构件 `ai-portal.chat-box`"
753
- },
754
- {
755
- "name": "ai-portal.home-container",
756
- "properties": [],
757
- "events": [],
758
- "slots": [],
759
- "methods": [],
760
- "parts": [],
761
- "description": "构件 `ai-portal.home-container`"
762
- },
763
768
  {
764
769
  "name": "ai-portal.preview-container",
765
770
  "properties": [
@@ -789,7 +794,14 @@
789
794
  "type": "boolean"
790
795
  }
791
796
  ],
792
- "events": [],
797
+ "events": [
798
+ {
799
+ "name": "action.click",
800
+ "detail": {
801
+ "type": "ActionItem"
802
+ }
803
+ }
804
+ ],
793
805
  "slots": [],
794
806
  "methods": [],
795
807
  "parts": [],