@next-bricks/ai-portal 0.60.2 → 0.60.3

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.
@@ -3,6 +3,76 @@
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
+ "name": "commands",
28
+ "attribute": false,
29
+ "type": "Command[]"
30
+ },
31
+ {
32
+ "name": "uploadOptions",
33
+ "attribute": false,
34
+ "type": "UploadOptions"
35
+ }
36
+ ],
37
+ "events": [
38
+ {
39
+ "name": "message.submit",
40
+ "description": "",
41
+ "deprecated": "Use `chat.submit` event instead",
42
+ "detail": {
43
+ "type": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "chat.submit",
48
+ "detail": {
49
+ "type": "ChatPayload"
50
+ }
51
+ }
52
+ ],
53
+ "slots": [],
54
+ "methods": [
55
+ {
56
+ "name": "setValue",
57
+ "params": [
58
+ {
59
+ "name": "value",
60
+ "type": "string"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "name": "getValue",
66
+ "params": []
67
+ },
68
+ {
69
+ "name": "focusOnInput",
70
+ "params": []
71
+ }
72
+ ],
73
+ "parts": [],
74
+ "description": "构件 `ai-portal.chat-box`"
75
+ },
6
76
  {
7
77
  "name": "ai-portal.cruise-canvas",
8
78
  "properties": [
@@ -157,151 +227,6 @@
157
227
  "parts": [],
158
228
  "description": "构件 `ai-portal.cruise-canvas`"
159
229
  },
160
- {
161
- "name": "ai-portal.chat-box",
162
- "properties": [
163
- {
164
- "name": "disabled",
165
- "type": "boolean"
166
- },
167
- {
168
- "name": "placeholder",
169
- "type": "string"
170
- },
171
- {
172
- "name": "autoFocus",
173
- "type": "boolean"
174
- },
175
- {
176
- "name": "aiEmployees",
177
- "attribute": false,
178
- "type": "AIEmployee[]"
179
- },
180
- {
181
- "name": "commands",
182
- "attribute": false,
183
- "type": "Command[]"
184
- },
185
- {
186
- "name": "uploadOptions",
187
- "attribute": false,
188
- "type": "UploadOptions"
189
- }
190
- ],
191
- "events": [
192
- {
193
- "name": "message.submit",
194
- "description": "",
195
- "deprecated": "Use `chat.submit` event instead",
196
- "detail": {
197
- "type": "string"
198
- }
199
- },
200
- {
201
- "name": "chat.submit",
202
- "detail": {
203
- "type": "ChatPayload"
204
- }
205
- }
206
- ],
207
- "slots": [],
208
- "methods": [
209
- {
210
- "name": "setValue",
211
- "params": [
212
- {
213
- "name": "value",
214
- "type": "string"
215
- }
216
- ]
217
- },
218
- {
219
- "name": "getValue",
220
- "params": []
221
- },
222
- {
223
- "name": "focusOnInput",
224
- "params": []
225
- }
226
- ],
227
- "parts": [],
228
- "description": "构件 `ai-portal.chat-box`"
229
- },
230
- {
231
- "name": "ai-portal.home-container",
232
- "properties": [
233
- {
234
- "name": "sticky",
235
- "type": "boolean"
236
- }
237
- ],
238
- "events": [],
239
- "slots": [],
240
- "methods": [],
241
- "parts": [],
242
- "description": "构件 `ai-portal.home-container`"
243
- },
244
- {
245
- "name": "ai-portal.stat-with-mini-chart",
246
- "properties": [
247
- {
248
- "name": "label",
249
- "type": "string"
250
- },
251
- {
252
- "name": "value",
253
- "type": "string"
254
- },
255
- {
256
- "name": "size",
257
- "description": "",
258
- "default": "\"medium\"",
259
- "type": "\"medium\" | \"small\""
260
- },
261
- {
262
- "name": "lineColor",
263
- "description": "",
264
- "default": "\"var(--color-brand)\"",
265
- "type": "string"
266
- },
267
- {
268
- "name": "showArea",
269
- "type": "boolean"
270
- },
271
- {
272
- "name": "min",
273
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
274
- "type": "number"
275
- },
276
- {
277
- "name": "max",
278
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
279
- "type": "number"
280
- },
281
- {
282
- "name": "xField",
283
- "description": "",
284
- "default": "\"0\"",
285
- "type": "string"
286
- },
287
- {
288
- "name": "yField",
289
- "description": "",
290
- "default": "\"1\"",
291
- "type": "string"
292
- },
293
- {
294
- "name": "data",
295
- "attribute": false,
296
- "type": "Record<string, number>[]"
297
- }
298
- ],
299
- "events": [],
300
- "slots": [],
301
- "methods": [],
302
- "parts": [],
303
- "description": "构件 `ai-portal.stat-with-mini-chart`"
304
- },
305
230
  {
306
231
  "name": "ai-portal.elevo-sidebar",
307
232
  "properties": [
@@ -512,6 +437,34 @@
512
437
  "parts": [],
513
438
  "description": "构件 `ai-portal.mcp-tools`"
514
439
  },
440
+ {
441
+ "name": "ai-portal.ai-employees",
442
+ "properties": [
443
+ {
444
+ "name": "list",
445
+ "attribute": false,
446
+ "type": "Employee[]"
447
+ },
448
+ {
449
+ "name": "industries",
450
+ "attribute": false,
451
+ "type": "string[]"
452
+ },
453
+ {
454
+ "name": "urlTemplate",
455
+ "type": "string"
456
+ },
457
+ {
458
+ "name": "stickyTop",
459
+ "type": "number"
460
+ }
461
+ ],
462
+ "events": [],
463
+ "slots": [],
464
+ "methods": [],
465
+ "parts": [],
466
+ "description": "构件 `ai-portal.ai-employees`"
467
+ },
515
468
  {
516
469
  "name": "ai-portal.chat-stream",
517
470
  "properties": [
@@ -661,57 +614,90 @@
661
614
  "description": "构件 `ai-portal.chat-stream`"
662
615
  },
663
616
  {
664
- "name": "ai-portal.ai-employees",
617
+ "name": "ai-portal.ai-agents",
665
618
  "properties": [
666
619
  {
667
620
  "name": "list",
668
621
  "attribute": false,
669
- "type": "Employee[]"
670
- },
671
- {
672
- "name": "industries",
673
- "attribute": false,
674
- "type": "string[]"
622
+ "type": "Agent[]"
675
623
  },
676
624
  {
677
625
  "name": "urlTemplate",
678
626
  "type": "string"
679
627
  },
680
628
  {
681
- "name": "stickyTop",
682
- "type": "number"
629
+ "name": "withContainer",
630
+ "description": "",
631
+ "deprecated": true,
632
+ "default": "true"
683
633
  }
684
634
  ],
685
635
  "events": [],
686
636
  "slots": [],
687
637
  "methods": [],
688
638
  "parts": [],
689
- "description": "构件 `ai-portal.ai-employees`"
639
+ "description": "构件 `ai-portal.ai-agents`"
690
640
  },
691
641
  {
692
- "name": "ai-portal.ai-agents",
642
+ "name": "ai-portal.stat-with-mini-chart",
693
643
  "properties": [
694
644
  {
695
- "name": "list",
696
- "attribute": false,
697
- "type": "Agent[]"
645
+ "name": "label",
646
+ "type": "string"
698
647
  },
699
648
  {
700
- "name": "urlTemplate",
649
+ "name": "value",
701
650
  "type": "string"
702
651
  },
703
652
  {
704
- "name": "withContainer",
653
+ "name": "size",
705
654
  "description": "",
706
- "deprecated": true,
707
- "default": "true"
655
+ "default": "\"medium\"",
656
+ "type": "\"medium\" | \"small\""
657
+ },
658
+ {
659
+ "name": "lineColor",
660
+ "description": "",
661
+ "default": "\"var(--color-brand)\"",
662
+ "type": "string"
663
+ },
664
+ {
665
+ "name": "showArea",
666
+ "type": "boolean"
667
+ },
668
+ {
669
+ "name": "min",
670
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
671
+ "type": "number"
672
+ },
673
+ {
674
+ "name": "max",
675
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
676
+ "type": "number"
677
+ },
678
+ {
679
+ "name": "xField",
680
+ "description": "",
681
+ "default": "\"0\"",
682
+ "type": "string"
683
+ },
684
+ {
685
+ "name": "yField",
686
+ "description": "",
687
+ "default": "\"1\"",
688
+ "type": "string"
689
+ },
690
+ {
691
+ "name": "data",
692
+ "attribute": false,
693
+ "type": "Record<string, number>[]"
708
694
  }
709
695
  ],
710
696
  "events": [],
711
697
  "slots": [],
712
698
  "methods": [],
713
699
  "parts": [],
714
- "description": "构件 `ai-portal.ai-agents`"
700
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
715
701
  },
716
702
  {
717
703
  "name": "ai-portal.page-container",
@@ -794,6 +780,20 @@
794
780
  ],
795
781
  "description": "构件 `ai-portal.tab-list`"
796
782
  },
783
+ {
784
+ "name": "ai-portal.home-container",
785
+ "properties": [
786
+ {
787
+ "name": "sticky",
788
+ "type": "boolean"
789
+ }
790
+ ],
791
+ "events": [],
792
+ "slots": [],
793
+ "methods": [],
794
+ "parts": [],
795
+ "description": "构件 `ai-portal.home-container`"
796
+ },
797
797
  {
798
798
  "name": "ai-portal.dropdown-select",
799
799
  "properties": [
@@ -896,69 +896,6 @@
896
896
  "parts": [],
897
897
  "description": "构件 `ai-portal.action-buttons`"
898
898
  },
899
- {
900
- "name": "ai-portal.goal-card-list",
901
- "properties": [
902
- {
903
- "name": "goalList",
904
- "attribute": false,
905
- "type": "GoalItem[]"
906
- },
907
- {
908
- "name": "cardStyle",
909
- "attribute": false,
910
- "type": "React.CSSProperties"
911
- },
912
- {
913
- "name": "activeKey",
914
- "type": "string"
915
- }
916
- ],
917
- "events": [
918
- {
919
- "name": "item.click",
920
- "detail": {
921
- "type": "GoalItem"
922
- }
923
- },
924
- {
925
- "name": "item.status.change",
926
- "detail": {
927
- "type": "GoalItem"
928
- }
929
- },
930
- {
931
- "name": "item.title.change",
932
- "detail": {
933
- "type": "GoalItem"
934
- }
935
- },
936
- {
937
- "name": "item.new.chat",
938
- "detail": {
939
- "type": "GoalItem"
940
- }
941
- }
942
- ],
943
- "slots": [],
944
- "methods": [
945
- {
946
- "name": "appendChildDone",
947
- "params": [
948
- {
949
- "name": "pendingId",
950
- "type": "string"
951
- },
952
- {
953
- "name": "newItem",
954
- "type": "GoalItem"
955
- }
956
- ]
957
- }
958
- ],
959
- "parts": [],
960
- "description": "构件 `ai-portal.goal-card-list`"
961
- },
962
899
  {
963
900
  "name": "ai-portal.project-conversations",
964
901
  "properties": [
@@ -1038,6 +975,69 @@
1038
975
  "parts": [],
1039
976
  "description": "构件 `ai-portal.project-knowledges`"
1040
977
  },
978
+ {
979
+ "name": "ai-portal.goal-card-list",
980
+ "properties": [
981
+ {
982
+ "name": "goalList",
983
+ "attribute": false,
984
+ "type": "GoalItem[]"
985
+ },
986
+ {
987
+ "name": "cardStyle",
988
+ "attribute": false,
989
+ "type": "React.CSSProperties"
990
+ },
991
+ {
992
+ "name": "activeKey",
993
+ "type": "string"
994
+ }
995
+ ],
996
+ "events": [
997
+ {
998
+ "name": "item.click",
999
+ "detail": {
1000
+ "type": "GoalItem"
1001
+ }
1002
+ },
1003
+ {
1004
+ "name": "item.status.change",
1005
+ "detail": {
1006
+ "type": "GoalItem"
1007
+ }
1008
+ },
1009
+ {
1010
+ "name": "item.title.change",
1011
+ "detail": {
1012
+ "type": "GoalItem"
1013
+ }
1014
+ },
1015
+ {
1016
+ "name": "item.new.chat",
1017
+ "detail": {
1018
+ "type": "GoalItem"
1019
+ }
1020
+ }
1021
+ ],
1022
+ "slots": [],
1023
+ "methods": [
1024
+ {
1025
+ "name": "appendChildDone",
1026
+ "params": [
1027
+ {
1028
+ "name": "pendingId",
1029
+ "type": "string"
1030
+ },
1031
+ {
1032
+ "name": "newItem",
1033
+ "type": "GoalItem"
1034
+ }
1035
+ ]
1036
+ }
1037
+ ],
1038
+ "parts": [],
1039
+ "description": "构件 `ai-portal.goal-card-list`"
1040
+ },
1041
1041
  {
1042
1042
  "name": "ai-portal.activity-timeline",
1043
1043
  "properties": [