@next-bricks/ai-portal 0.54.0 → 0.55.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 (76) hide show
  1. package/dist/bricks.json +36 -35
  2. package/dist/chunks/1864.4bd403fd.js +2 -0
  3. package/dist/chunks/1864.4bd403fd.js.map +1 -0
  4. package/dist/chunks/2761.561a580a.js +2 -0
  5. package/dist/chunks/2761.561a580a.js.map +1 -0
  6. package/dist/chunks/3227.689d8678.js +2 -0
  7. package/dist/chunks/3227.689d8678.js.map +1 -0
  8. package/dist/chunks/4888.42dd29a2.js +3 -0
  9. package/dist/chunks/4888.42dd29a2.js.map +1 -0
  10. package/dist/chunks/{6201.610c66e3.js → 6201.fa3b6e24.js} +2 -2
  11. package/dist/chunks/6201.fa3b6e24.js.map +1 -0
  12. package/dist/chunks/{6593.1afe9a04.js → 6593.58eda50f.js} +2 -2
  13. package/dist/chunks/6593.58eda50f.js.map +1 -0
  14. package/dist/chunks/7279.af201b60.js +3 -0
  15. package/dist/chunks/{6947.1cec7258.js.LICENSE.txt → 7279.af201b60.js.LICENSE.txt} +0 -6
  16. package/dist/chunks/7279.af201b60.js.map +1 -0
  17. package/dist/chunks/9388.e48bb229.js +2 -0
  18. package/dist/chunks/9388.e48bb229.js.map +1 -0
  19. package/dist/chunks/chat-box.8e064684.js +2 -0
  20. package/dist/chunks/chat-box.8e064684.js.map +1 -0
  21. package/dist/chunks/chat-input.dd3d2035.js +2 -0
  22. package/dist/chunks/chat-input.dd3d2035.js.map +1 -0
  23. package/dist/chunks/{cruise-canvas.60fa24a3.js → cruise-canvas.c494563b.js} +2 -2
  24. package/dist/chunks/{cruise-canvas.60fa24a3.js.map → cruise-canvas.c494563b.js.map} +1 -1
  25. package/dist/chunks/elevo-card.49b42ed0.js +3 -0
  26. package/dist/chunks/elevo-card.49b42ed0.js.map +1 -0
  27. package/dist/chunks/flow-tabs.ce40cc92.js +2 -0
  28. package/dist/chunks/flow-tabs.ce40cc92.js.map +1 -0
  29. package/dist/chunks/main.6b7402db.js +2 -0
  30. package/dist/chunks/main.6b7402db.js.map +1 -0
  31. package/dist/chunks/stage-flow.4c7ea7d9.js +2 -0
  32. package/dist/chunks/stage-flow.4c7ea7d9.js.map +1 -0
  33. package/dist/examples.json +16 -16
  34. package/dist/images/0e7e6764.png +0 -0
  35. package/dist/images/7944ebaf.png +0 -0
  36. package/dist/images/c7ec12fe.png +0 -0
  37. package/dist/index.14c08956.js +2 -0
  38. package/dist/index.14c08956.js.map +1 -0
  39. package/dist/manifest.json +300 -286
  40. package/dist/types.json +640 -601
  41. package/dist-types/chat-box/FileListComponent.d.ts +8 -0
  42. package/dist-types/chat-box/UploadButton.d.ts +9 -0
  43. package/dist-types/chat-box/bricks.d.ts +8 -0
  44. package/dist-types/chat-box/index.d.ts +3 -0
  45. package/dist-types/chat-box/interfaces.d.ts +8 -0
  46. package/dist-types/stage-flow/index.d.ts +2 -0
  47. package/package.json +2 -2
  48. package/dist/chunks/1334.aae33a33.js +0 -2
  49. package/dist/chunks/1334.aae33a33.js.map +0 -1
  50. package/dist/chunks/2142.0599aecd.js +0 -2
  51. package/dist/chunks/2142.0599aecd.js.map +0 -1
  52. package/dist/chunks/3020.acf9607e.js +0 -2
  53. package/dist/chunks/3020.acf9607e.js.map +0 -1
  54. package/dist/chunks/6201.610c66e3.js.map +0 -1
  55. package/dist/chunks/6593.1afe9a04.js.map +0 -1
  56. package/dist/chunks/6947.1cec7258.js +0 -3
  57. package/dist/chunks/6947.1cec7258.js.map +0 -1
  58. package/dist/chunks/7713.278cfb8b.js +0 -2
  59. package/dist/chunks/7713.278cfb8b.js.map +0 -1
  60. package/dist/chunks/chat-box.279647b5.js +0 -2
  61. package/dist/chunks/chat-box.279647b5.js.map +0 -1
  62. package/dist/chunks/chat-input.b09e4ba0.js +0 -3
  63. package/dist/chunks/chat-input.b09e4ba0.js.map +0 -1
  64. package/dist/chunks/elevo-card.731505e0.js +0 -3
  65. package/dist/chunks/elevo-card.731505e0.js.map +0 -1
  66. package/dist/chunks/flow-tabs.222a11ea.js +0 -3
  67. package/dist/chunks/flow-tabs.222a11ea.js.LICENSE.txt +0 -5
  68. package/dist/chunks/flow-tabs.222a11ea.js.map +0 -1
  69. package/dist/chunks/main.72d51c8f.js +0 -2
  70. package/dist/chunks/main.72d51c8f.js.map +0 -1
  71. package/dist/chunks/stage-flow.1ece0479.js +0 -2
  72. package/dist/chunks/stage-flow.1ece0479.js.map +0 -1
  73. package/dist/index.6e1371ec.js +0 -2
  74. package/dist/index.6e1371ec.js.map +0 -1
  75. /package/dist/chunks/{chat-input.b09e4ba0.js.LICENSE.txt → 4888.42dd29a2.js.LICENSE.txt} +0 -0
  76. /package/dist/chunks/{elevo-card.731505e0.js.LICENSE.txt → elevo-card.49b42ed0.js.LICENSE.txt} +0 -0
@@ -3,150 +3,6 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
- {
7
- "name": "ai-portal.home-container",
8
- "properties": [
9
- {
10
- "name": "sticky",
11
- "type": "boolean"
12
- }
13
- ],
14
- "events": [],
15
- "slots": [],
16
- "methods": [],
17
- "parts": [],
18
- "description": "构件 `ai-portal.home-container`"
19
- },
20
- {
21
- "name": "ai-portal.chat-box",
22
- "properties": [
23
- {
24
- "name": "disabled",
25
- "type": "boolean"
26
- },
27
- {
28
- "name": "placeholder",
29
- "type": "string"
30
- },
31
- {
32
- "name": "autoFocus",
33
- "type": "boolean"
34
- },
35
- {
36
- "name": "aiEmployees",
37
- "attribute": false,
38
- "type": "AIEmployee[]"
39
- },
40
- {
41
- "name": "commands",
42
- "attribute": false,
43
- "type": "Command[]"
44
- }
45
- ],
46
- "events": [
47
- {
48
- "name": "message.submit",
49
- "detail": {
50
- "type": "string"
51
- }
52
- },
53
- {
54
- "name": "ai-employee.mention",
55
- "detail": {
56
- "type": "AIEmployee | null"
57
- }
58
- },
59
- {
60
- "name": "command.select",
61
- "detail": {
62
- "type": "CommandPayload | null"
63
- }
64
- }
65
- ],
66
- "slots": [],
67
- "methods": [
68
- {
69
- "name": "setValue",
70
- "params": [
71
- {
72
- "name": "value",
73
- "type": "string"
74
- }
75
- ]
76
- },
77
- {
78
- "name": "getValue",
79
- "params": []
80
- },
81
- {
82
- "name": "focusOnInput",
83
- "params": []
84
- }
85
- ],
86
- "parts": [],
87
- "description": "构件 `ai-portal.chat-box`"
88
- },
89
- {
90
- "name": "ai-portal.stat-with-mini-chart",
91
- "properties": [
92
- {
93
- "name": "label",
94
- "type": "string"
95
- },
96
- {
97
- "name": "value",
98
- "type": "string"
99
- },
100
- {
101
- "name": "size",
102
- "description": "",
103
- "default": "\"medium\"",
104
- "type": "\"medium\" | \"small\""
105
- },
106
- {
107
- "name": "lineColor",
108
- "description": "",
109
- "default": "\"var(--color-brand)\"",
110
- "type": "string"
111
- },
112
- {
113
- "name": "showArea",
114
- "type": "boolean"
115
- },
116
- {
117
- "name": "min",
118
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
119
- "type": "number"
120
- },
121
- {
122
- "name": "max",
123
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
124
- "type": "number"
125
- },
126
- {
127
- "name": "xField",
128
- "description": "",
129
- "default": "\"0\"",
130
- "type": "string"
131
- },
132
- {
133
- "name": "yField",
134
- "description": "",
135
- "default": "\"1\"",
136
- "type": "string"
137
- },
138
- {
139
- "name": "data",
140
- "attribute": false,
141
- "type": "Record<string, number>[]"
142
- }
143
- ],
144
- "events": [],
145
- "slots": [],
146
- "methods": [],
147
- "parts": [],
148
- "description": "构件 `ai-portal.stat-with-mini-chart`"
149
- },
150
6
  {
151
7
  "name": "ai-portal.cruise-canvas",
152
8
  "properties": [
@@ -296,6 +152,160 @@
296
152
  "parts": [],
297
153
  "description": "构件 `ai-portal.cruise-canvas`"
298
154
  },
155
+ {
156
+ "name": "ai-portal.chat-box",
157
+ "properties": [
158
+ {
159
+ "name": "disabled",
160
+ "type": "boolean"
161
+ },
162
+ {
163
+ "name": "placeholder",
164
+ "type": "string"
165
+ },
166
+ {
167
+ "name": "autoFocus",
168
+ "type": "boolean"
169
+ },
170
+ {
171
+ "name": "aiEmployees",
172
+ "attribute": false,
173
+ "type": "AIEmployee[]"
174
+ },
175
+ {
176
+ "name": "commands",
177
+ "attribute": false,
178
+ "type": "Command[]"
179
+ },
180
+ {
181
+ "name": "uploadBucket",
182
+ "type": "string"
183
+ }
184
+ ],
185
+ "events": [
186
+ {
187
+ "name": "message.submit",
188
+ "detail": {
189
+ "type": "string"
190
+ }
191
+ },
192
+ {
193
+ "name": "ai-employee.mention",
194
+ "detail": {
195
+ "type": "AIEmployee | null"
196
+ }
197
+ },
198
+ {
199
+ "name": "command.select",
200
+ "detail": {
201
+ "type": "CommandPayload | null"
202
+ }
203
+ },
204
+ {
205
+ "name": "files.change",
206
+ "detail": {
207
+ "type": "string[] | null | undefined"
208
+ }
209
+ }
210
+ ],
211
+ "slots": [],
212
+ "methods": [
213
+ {
214
+ "name": "setValue",
215
+ "params": [
216
+ {
217
+ "name": "value",
218
+ "type": "string"
219
+ }
220
+ ]
221
+ },
222
+ {
223
+ "name": "getValue",
224
+ "params": []
225
+ },
226
+ {
227
+ "name": "focusOnInput",
228
+ "params": []
229
+ }
230
+ ],
231
+ "parts": [],
232
+ "description": "构件 `ai-portal.chat-box`"
233
+ },
234
+ {
235
+ "name": "ai-portal.home-container",
236
+ "properties": [
237
+ {
238
+ "name": "sticky",
239
+ "type": "boolean"
240
+ }
241
+ ],
242
+ "events": [],
243
+ "slots": [],
244
+ "methods": [],
245
+ "parts": [],
246
+ "description": "构件 `ai-portal.home-container`"
247
+ },
248
+ {
249
+ "name": "ai-portal.stat-with-mini-chart",
250
+ "properties": [
251
+ {
252
+ "name": "label",
253
+ "type": "string"
254
+ },
255
+ {
256
+ "name": "value",
257
+ "type": "string"
258
+ },
259
+ {
260
+ "name": "size",
261
+ "description": "",
262
+ "default": "\"medium\"",
263
+ "type": "\"medium\" | \"small\""
264
+ },
265
+ {
266
+ "name": "lineColor",
267
+ "description": "",
268
+ "default": "\"var(--color-brand)\"",
269
+ "type": "string"
270
+ },
271
+ {
272
+ "name": "showArea",
273
+ "type": "boolean"
274
+ },
275
+ {
276
+ "name": "min",
277
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
278
+ "type": "number"
279
+ },
280
+ {
281
+ "name": "max",
282
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
283
+ "type": "number"
284
+ },
285
+ {
286
+ "name": "xField",
287
+ "description": "",
288
+ "default": "\"0\"",
289
+ "type": "string"
290
+ },
291
+ {
292
+ "name": "yField",
293
+ "description": "",
294
+ "default": "\"1\"",
295
+ "type": "string"
296
+ },
297
+ {
298
+ "name": "data",
299
+ "attribute": false,
300
+ "type": "Record<string, number>[]"
301
+ }
302
+ ],
303
+ "events": [],
304
+ "slots": [],
305
+ "methods": [],
306
+ "parts": [],
307
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
308
+ },
299
309
  {
300
310
  "name": "ai-portal.elevo-sidebar",
301
311
  "properties": [
@@ -492,44 +502,14 @@
492
502
  },
493
503
  {
494
504
  "name": "stickyTop",
495
- "type": "number"
496
- }
497
- ],
498
- "events": [],
499
- "slots": [],
500
- "methods": [],
501
- "parts": [],
502
- "description": "构件 `ai-portal.mcp-tools`"
503
- },
504
- {
505
- "name": "ai-portal.ai-employees",
506
- "properties": [
507
- {
508
- "name": "list",
509
- "attribute": false,
510
- "type": "Employee[]"
511
- },
512
- {
513
- "name": "industries",
514
- "attribute": false,
515
- "type": "string[]"
516
- },
517
- {
518
- "name": "urlTemplate",
519
- "type": "string"
520
- },
521
- {
522
- "name": "withContainer",
523
- "description": "",
524
- "deprecated": true,
525
- "default": "true"
505
+ "type": "number"
526
506
  }
527
507
  ],
528
508
  "events": [],
529
509
  "slots": [],
530
510
  "methods": [],
531
511
  "parts": [],
532
- "description": "构件 `ai-portal.ai-employees`"
512
+ "description": "构件 `ai-portal.mcp-tools`"
533
513
  },
534
514
  {
535
515
  "name": "ai-portal.chat-stream",
@@ -668,6 +648,36 @@
668
648
  "parts": [],
669
649
  "description": "构件 `ai-portal.chat-stream`"
670
650
  },
651
+ {
652
+ "name": "ai-portal.ai-employees",
653
+ "properties": [
654
+ {
655
+ "name": "list",
656
+ "attribute": false,
657
+ "type": "Employee[]"
658
+ },
659
+ {
660
+ "name": "industries",
661
+ "attribute": false,
662
+ "type": "string[]"
663
+ },
664
+ {
665
+ "name": "urlTemplate",
666
+ "type": "string"
667
+ },
668
+ {
669
+ "name": "withContainer",
670
+ "description": "",
671
+ "deprecated": true,
672
+ "default": "true"
673
+ }
674
+ ],
675
+ "events": [],
676
+ "slots": [],
677
+ "methods": [],
678
+ "parts": [],
679
+ "description": "构件 `ai-portal.ai-employees`"
680
+ },
671
681
  {
672
682
  "name": "ai-portal.ai-agents",
673
683
  "properties": [
@@ -774,51 +784,6 @@
774
784
  ],
775
785
  "description": "构件 `ai-portal.tab-list`"
776
786
  },
777
- {
778
- "name": "ai-portal.preview-container",
779
- "properties": [
780
- {
781
- "name": "source",
782
- "attribute": false,
783
- "type": "string"
784
- },
785
- {
786
- "name": "url",
787
- "type": "string"
788
- }
789
- ],
790
- "events": [],
791
- "slots": [],
792
- "methods": [],
793
- "parts": [],
794
- "description": "构件 `ai-portal.preview-container`"
795
- },
796
- {
797
- "name": "ai-portal.action-buttons",
798
- "properties": [
799
- {
800
- "name": "items",
801
- "attribute": false,
802
- "type": "ActionItem[]"
803
- },
804
- {
805
- "name": "activeKey",
806
- "type": "string | null"
807
- }
808
- ],
809
- "events": [
810
- {
811
- "name": "change",
812
- "detail": {
813
- "type": "ActionItem | null"
814
- }
815
- }
816
- ],
817
- "slots": [],
818
- "methods": [],
819
- "parts": [],
820
- "description": "构件 `ai-portal.action-buttons`"
821
- },
822
787
  {
823
788
  "name": "ai-portal.dropdown-select",
824
789
  "properties": [
@@ -876,6 +841,51 @@
876
841
  "parts": [],
877
842
  "description": "构件 `ai-portal.dropdown-select`"
878
843
  },
844
+ {
845
+ "name": "ai-portal.preview-container",
846
+ "properties": [
847
+ {
848
+ "name": "source",
849
+ "attribute": false,
850
+ "type": "string"
851
+ },
852
+ {
853
+ "name": "url",
854
+ "type": "string"
855
+ }
856
+ ],
857
+ "events": [],
858
+ "slots": [],
859
+ "methods": [],
860
+ "parts": [],
861
+ "description": "构件 `ai-portal.preview-container`"
862
+ },
863
+ {
864
+ "name": "ai-portal.action-buttons",
865
+ "properties": [
866
+ {
867
+ "name": "items",
868
+ "attribute": false,
869
+ "type": "ActionItem[]"
870
+ },
871
+ {
872
+ "name": "activeKey",
873
+ "type": "string | null"
874
+ }
875
+ ],
876
+ "events": [
877
+ {
878
+ "name": "change",
879
+ "detail": {
880
+ "type": "ActionItem | null"
881
+ }
882
+ }
883
+ ],
884
+ "slots": [],
885
+ "methods": [],
886
+ "parts": [],
887
+ "description": "构件 `ai-portal.action-buttons`"
888
+ },
879
889
  {
880
890
  "name": "ai-portal.goal-card-list",
881
891
  "properties": [
@@ -939,6 +949,48 @@
939
949
  "parts": [],
940
950
  "description": "构件 `ai-portal.goal-card-list`"
941
951
  },
952
+ {
953
+ "name": "ai-portal.project-conversations",
954
+ "properties": [
955
+ {
956
+ "name": "list",
957
+ "attribute": false,
958
+ "type": "Conversation[]"
959
+ },
960
+ {
961
+ "name": "urlTemplate",
962
+ "type": "string"
963
+ },
964
+ {
965
+ "name": "actions",
966
+ "attribute": false,
967
+ "type": "ActionType[]"
968
+ },
969
+ {
970
+ "name": "goals",
971
+ "attribute": false,
972
+ "type": "Goal[]"
973
+ }
974
+ ],
975
+ "events": [
976
+ {
977
+ "name": "goal.click",
978
+ "detail": {
979
+ "type": "Conversation"
980
+ }
981
+ },
982
+ {
983
+ "name": "action.click",
984
+ "detail": {
985
+ "type": "ActionClickDetail"
986
+ }
987
+ }
988
+ ],
989
+ "slots": [],
990
+ "methods": [],
991
+ "parts": [],
992
+ "description": "构件 `ai-portal.project-conversations`"
993
+ },
942
994
  {
943
995
  "name": "ai-portal.project-knowledges",
944
996
  "properties": [
@@ -1070,46 +1122,22 @@
1070
1122
  "description": "构件 `ai-portal.show-case`"
1071
1123
  },
1072
1124
  {
1073
- "name": "ai-portal.project-conversations",
1125
+ "name": "ai-portal.blank-state",
1074
1126
  "properties": [
1075
1127
  {
1076
- "name": "list",
1077
- "attribute": false,
1078
- "type": "Conversation[]"
1128
+ "name": "illustration",
1129
+ "type": "BlankStateIllustration"
1079
1130
  },
1080
1131
  {
1081
- "name": "urlTemplate",
1132
+ "name": "description",
1082
1133
  "type": "string"
1083
- },
1084
- {
1085
- "name": "actions",
1086
- "attribute": false,
1087
- "type": "ActionType[]"
1088
- },
1089
- {
1090
- "name": "goals",
1091
- "attribute": false,
1092
- "type": "Goal[]"
1093
- }
1094
- ],
1095
- "events": [
1096
- {
1097
- "name": "goal.click",
1098
- "detail": {
1099
- "type": "Conversation"
1100
- }
1101
- },
1102
- {
1103
- "name": "action.click",
1104
- "detail": {
1105
- "type": "ActionClickDetail"
1106
- }
1107
1134
  }
1108
1135
  ],
1136
+ "events": [],
1109
1137
  "slots": [],
1110
1138
  "methods": [],
1111
1139
  "parts": [],
1112
- "description": "构件 `ai-portal.project-conversations`"
1140
+ "description": "构件 `ai-portal.blank-state`"
1113
1141
  },
1114
1142
  {
1115
1143
  "name": "ai-portal.sticky-container",
@@ -1146,22 +1174,35 @@
1146
1174
  "description": "构件 `ai-portal.sticky-container`"
1147
1175
  },
1148
1176
  {
1149
- "name": "ai-portal.blank-state",
1177
+ "name": "ai-portal.elevo-card",
1150
1178
  "properties": [
1151
1179
  {
1152
- "name": "illustration",
1153
- "type": "BlankStateIllustration"
1180
+ "name": "cardTitle",
1181
+ "type": "string"
1154
1182
  },
1155
1183
  {
1156
1184
  "name": "description",
1157
1185
  "type": "string"
1186
+ },
1187
+ {
1188
+ "name": "url",
1189
+ "type": "string"
1190
+ },
1191
+ {
1192
+ "name": "avatar",
1193
+ "attribute": false,
1194
+ "type": "string | GeneralIconProps"
1195
+ },
1196
+ {
1197
+ "name": "avatarType",
1198
+ "type": "\"icon\" | \"image\""
1158
1199
  }
1159
1200
  ],
1160
1201
  "events": [],
1161
1202
  "slots": [],
1162
1203
  "methods": [],
1163
1204
  "parts": [],
1164
- "description": "构件 `ai-portal.blank-state`"
1205
+ "description": "构件 `ai-portal.elevo-card`"
1165
1206
  },
1166
1207
  {
1167
1208
  "name": "ai-portal.flow-tabs",
@@ -1190,37 +1231,6 @@
1190
1231
  "parts": [],
1191
1232
  "description": "构件 `ai-portal.flow-tabs`"
1192
1233
  },
1193
- {
1194
- "name": "ai-portal.elevo-card",
1195
- "properties": [
1196
- {
1197
- "name": "cardTitle",
1198
- "type": "string"
1199
- },
1200
- {
1201
- "name": "description",
1202
- "type": "string"
1203
- },
1204
- {
1205
- "name": "url",
1206
- "type": "string"
1207
- },
1208
- {
1209
- "name": "avatar",
1210
- "attribute": false,
1211
- "type": "string | GeneralIconProps"
1212
- },
1213
- {
1214
- "name": "avatarType",
1215
- "type": "\"icon\" | \"image\""
1216
- }
1217
- ],
1218
- "events": [],
1219
- "slots": [],
1220
- "methods": [],
1221
- "parts": [],
1222
- "description": "构件 `ai-portal.elevo-card`"
1223
- },
1224
1234
  {
1225
1235
  "name": "ai-portal.stage-flow",
1226
1236
  "properties": [
@@ -1233,6 +1243,10 @@
1233
1243
  "name": "aiEmployees",
1234
1244
  "attribute": false,
1235
1245
  "type": "AIEmployee[]"
1246
+ },
1247
+ {
1248
+ "name": "readOnly",
1249
+ "type": "boolean"
1236
1250
  }
1237
1251
  ],
1238
1252
  "events": [