@next-bricks/ai-portal 0.48.4 → 0.48.5

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,15 +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
- "events": [],
10
- "slots": [],
11
- "methods": [],
12
- "parts": [],
13
- "description": "构件 `ai-portal.home-container`"
14
- },
15
6
  {
16
7
  "name": "ai-portal.cruise-canvas",
17
8
  "properties": [
@@ -157,6 +148,134 @@
157
148
  "parts": [],
158
149
  "description": "构件 `ai-portal.cruise-canvas`"
159
150
  },
151
+ {
152
+ "name": "ai-portal.chat-box",
153
+ "properties": [
154
+ {
155
+ "name": "disabled",
156
+ "type": "boolean"
157
+ },
158
+ {
159
+ "name": "placeholder",
160
+ "type": "string"
161
+ },
162
+ {
163
+ "name": "autoFocus",
164
+ "type": "boolean"
165
+ },
166
+ {
167
+ "name": "aiEmployees",
168
+ "attribute": false,
169
+ "type": "AIEmployee[]"
170
+ }
171
+ ],
172
+ "events": [
173
+ {
174
+ "name": "message.submit",
175
+ "detail": {
176
+ "type": "string"
177
+ }
178
+ },
179
+ {
180
+ "name": "ai-employee.mention",
181
+ "detail": {
182
+ "type": "AIEmployee | null"
183
+ }
184
+ }
185
+ ],
186
+ "slots": [],
187
+ "methods": [
188
+ {
189
+ "name": "setValue",
190
+ "params": [
191
+ {
192
+ "name": "value",
193
+ "type": "string"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "name": "getValue",
199
+ "params": []
200
+ },
201
+ {
202
+ "name": "focusOnInput",
203
+ "params": []
204
+ }
205
+ ],
206
+ "parts": [],
207
+ "description": "构件 `ai-portal.chat-box`"
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
+ },
160
279
  {
161
280
  "name": "ai-portal.elevo-sidebar",
162
281
  "properties": [
@@ -296,25 +415,6 @@
296
415
  "parts": [],
297
416
  "description": "构件 `ai-portal.elevo-sidebar`"
298
417
  },
299
- {
300
- "name": "ai-portal.show-cases",
301
- "properties": [
302
- {
303
- "name": "list",
304
- "attribute": false,
305
- "type": "ShowCaseType[]"
306
- },
307
- {
308
- "name": "limit",
309
- "type": "number"
310
- }
311
- ],
312
- "events": [],
313
- "slots": [],
314
- "methods": [],
315
- "parts": [],
316
- "description": "构件 `ai-portal.show-cases`"
317
- },
318
418
  {
319
419
  "name": "ai-portal.icon-button",
320
420
  "properties": [
@@ -343,100 +443,31 @@
343
443
  "description": "构件 `ai-portal.icon-button`"
344
444
  },
345
445
  {
346
- "name": "ai-portal.chat-box",
347
- "properties": [
348
- {
349
- "name": "disabled",
350
- "type": "boolean"
351
- },
352
- {
353
- "name": "placeholder",
354
- "type": "string"
355
- },
356
- {
357
- "name": "autoFocus",
358
- "type": "boolean"
359
- },
360
- {
361
- "name": "aiEmployees",
362
- "attribute": false,
363
- "type": "AIEmployee[]"
364
- }
365
- ],
366
- "events": [
367
- {
368
- "name": "message.submit",
369
- "detail": {
370
- "type": "string"
371
- }
372
- },
373
- {
374
- "name": "ai-employee.mention",
375
- "detail": {
376
- "type": "AIEmployee | null"
377
- }
378
- }
379
- ],
380
- "slots": [],
381
- "methods": [
382
- {
383
- "name": "setValue",
384
- "params": [
385
- {
386
- "name": "value",
387
- "type": "string"
388
- }
389
- ]
390
- },
391
- {
392
- "name": "getValue",
393
- "params": []
394
- },
395
- {
396
- "name": "focusOnInput",
397
- "params": []
398
- }
399
- ],
400
- "parts": [],
401
- "description": "构件 `ai-portal.chat-box`"
402
- },
403
- {
404
- "name": "ai-portal.mcp-tools",
446
+ "name": "ai-portal.show-cases",
405
447
  "properties": [
406
448
  {
407
449
  "name": "list",
408
450
  "attribute": false,
409
- "type": "McpTool[]"
451
+ "type": "ShowCaseType[]"
410
452
  },
411
453
  {
412
- "name": "withContainer",
413
- "description": "",
414
- "deprecated": true,
415
- "default": "true"
454
+ "name": "limit",
455
+ "type": "number"
416
456
  }
417
457
  ],
418
458
  "events": [],
419
459
  "slots": [],
420
460
  "methods": [],
421
461
  "parts": [],
422
- "description": "构件 `ai-portal.mcp-tools`"
462
+ "description": "构件 `ai-portal.show-cases`"
423
463
  },
424
464
  {
425
- "name": "ai-portal.ai-employees",
465
+ "name": "ai-portal.mcp-tools",
426
466
  "properties": [
427
467
  {
428
468
  "name": "list",
429
469
  "attribute": false,
430
- "type": "Employee[]"
431
- },
432
- {
433
- "name": "industries",
434
- "attribute": false,
435
- "type": "string[]"
436
- },
437
- {
438
- "name": "urlTemplate",
439
- "type": "string"
470
+ "type": "McpTool[]"
440
471
  },
441
472
  {
442
473
  "name": "withContainer",
@@ -449,7 +480,7 @@
449
480
  "slots": [],
450
481
  "methods": [],
451
482
  "parts": [],
452
- "description": "构件 `ai-portal.ai-employees`"
483
+ "description": "构件 `ai-portal.mcp-tools`"
453
484
  },
454
485
  {
455
486
  "name": "ai-portal.chat-stream",
@@ -588,6 +619,36 @@
588
619
  "parts": [],
589
620
  "description": "构件 `ai-portal.chat-stream`"
590
621
  },
622
+ {
623
+ "name": "ai-portal.ai-employees",
624
+ "properties": [
625
+ {
626
+ "name": "list",
627
+ "attribute": false,
628
+ "type": "Employee[]"
629
+ },
630
+ {
631
+ "name": "industries",
632
+ "attribute": false,
633
+ "type": "string[]"
634
+ },
635
+ {
636
+ "name": "urlTemplate",
637
+ "type": "string"
638
+ },
639
+ {
640
+ "name": "withContainer",
641
+ "description": "",
642
+ "deprecated": true,
643
+ "default": "true"
644
+ }
645
+ ],
646
+ "events": [],
647
+ "slots": [],
648
+ "methods": [],
649
+ "parts": [],
650
+ "description": "构件 `ai-portal.ai-employees`"
651
+ },
591
652
  {
592
653
  "name": "ai-portal.ai-agents",
593
654
  "properties": [
@@ -762,67 +823,6 @@
762
823
  "parts": [],
763
824
  "description": "构件 `ai-portal.preview-container`"
764
825
  },
765
- {
766
- "name": "ai-portal.stat-with-mini-chart",
767
- "properties": [
768
- {
769
- "name": "label",
770
- "type": "string"
771
- },
772
- {
773
- "name": "value",
774
- "type": "string"
775
- },
776
- {
777
- "name": "size",
778
- "description": "",
779
- "default": "\"medium\"",
780
- "type": "\"medium\" | \"small\""
781
- },
782
- {
783
- "name": "lineColor",
784
- "description": "",
785
- "default": "\"var(--color-brand)\"",
786
- "type": "string"
787
- },
788
- {
789
- "name": "showArea",
790
- "type": "boolean"
791
- },
792
- {
793
- "name": "min",
794
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
795
- "type": "number"
796
- },
797
- {
798
- "name": "max",
799
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
800
- "type": "number"
801
- },
802
- {
803
- "name": "xField",
804
- "description": "",
805
- "default": "\"0\"",
806
- "type": "string"
807
- },
808
- {
809
- "name": "yField",
810
- "description": "",
811
- "default": "\"1\"",
812
- "type": "string"
813
- },
814
- {
815
- "name": "data",
816
- "attribute": false,
817
- "type": "Record<string, number>[]"
818
- }
819
- ],
820
- "events": [],
821
- "slots": [],
822
- "methods": [],
823
- "parts": [],
824
- "description": "构件 `ai-portal.stat-with-mini-chart`"
825
- },
826
826
  {
827
827
  "name": "ai-portal.action-buttons",
828
828
  "properties": [
@@ -849,48 +849,6 @@
849
849
  "parts": [],
850
850
  "description": "构件 `ai-portal.action-buttons`"
851
851
  },
852
- {
853
- "name": "ai-portal.project-conversations",
854
- "properties": [
855
- {
856
- "name": "list",
857
- "attribute": false,
858
- "type": "Conversation[]"
859
- },
860
- {
861
- "name": "urlTemplate",
862
- "type": "string"
863
- },
864
- {
865
- "name": "actions",
866
- "attribute": false,
867
- "type": "ActionType[]"
868
- },
869
- {
870
- "name": "goals",
871
- "attribute": false,
872
- "type": "Goal[]"
873
- }
874
- ],
875
- "events": [
876
- {
877
- "name": "goal.click",
878
- "detail": {
879
- "type": "Conversation"
880
- }
881
- },
882
- {
883
- "name": "action.click",
884
- "detail": {
885
- "type": "ActionClickDetail"
886
- }
887
- }
888
- ],
889
- "slots": [],
890
- "methods": [],
891
- "parts": [],
892
- "description": "构件 `ai-portal.project-conversations`"
893
- },
894
852
  {
895
853
  "name": "ai-portal.goal-card-list",
896
854
  "properties": [
@@ -954,6 +912,48 @@
954
912
  "parts": [],
955
913
  "description": "构件 `ai-portal.goal-card-list`"
956
914
  },
915
+ {
916
+ "name": "ai-portal.project-conversations",
917
+ "properties": [
918
+ {
919
+ "name": "list",
920
+ "attribute": false,
921
+ "type": "Conversation[]"
922
+ },
923
+ {
924
+ "name": "urlTemplate",
925
+ "type": "string"
926
+ },
927
+ {
928
+ "name": "actions",
929
+ "attribute": false,
930
+ "type": "ActionType[]"
931
+ },
932
+ {
933
+ "name": "goals",
934
+ "attribute": false,
935
+ "type": "Goal[]"
936
+ }
937
+ ],
938
+ "events": [
939
+ {
940
+ "name": "goal.click",
941
+ "detail": {
942
+ "type": "Conversation"
943
+ }
944
+ },
945
+ {
946
+ "name": "action.click",
947
+ "detail": {
948
+ "type": "ActionClickDetail"
949
+ }
950
+ }
951
+ ],
952
+ "slots": [],
953
+ "methods": [],
954
+ "parts": [],
955
+ "description": "构件 `ai-portal.project-conversations`"
956
+ },
957
957
  {
958
958
  "name": "ai-portal.project-knowledges",
959
959
  "properties": [
@@ -1010,6 +1010,37 @@
1010
1010
  "parts": [],
1011
1011
  "description": "构件 `ai-portal.activity-timeline`"
1012
1012
  },
1013
+ {
1014
+ "name": "ai-portal.elevo-logo",
1015
+ "properties": [],
1016
+ "events": [],
1017
+ "slots": [],
1018
+ "methods": [],
1019
+ "parts": [],
1020
+ "description": "构件 `ai-portal.elevo-logo`"
1021
+ },
1022
+ {
1023
+ "name": "ai-portal.show-case",
1024
+ "properties": [
1025
+ {
1026
+ "name": "caseTitle",
1027
+ "type": "string"
1028
+ },
1029
+ {
1030
+ "name": "summary",
1031
+ "type": "string"
1032
+ },
1033
+ {
1034
+ "name": "url",
1035
+ "type": "string"
1036
+ }
1037
+ ],
1038
+ "events": [],
1039
+ "slots": [],
1040
+ "methods": [],
1041
+ "parts": [],
1042
+ "description": "构件 `ai-portal.show-case`"
1043
+ },
1013
1044
  {
1014
1045
  "name": "ai-portal.chat-input",
1015
1046
  "properties": [
@@ -1052,40 +1083,12 @@
1052
1083
  "methods": [],
1053
1084
  "parts": [],
1054
1085
  "description": "构件 `ai-portal.chat-input`"
1055
- },
1056
- {
1057
- "name": "ai-portal.elevo-logo",
1058
- "properties": [],
1059
- "events": [],
1060
- "slots": [],
1061
- "methods": [],
1062
- "parts": [],
1063
- "description": "构件 `ai-portal.elevo-logo`"
1064
- },
1065
- {
1066
- "name": "ai-portal.show-case",
1067
- "properties": [
1068
- {
1069
- "name": "caseTitle",
1070
- "type": "string"
1071
- },
1072
- {
1073
- "name": "summary",
1074
- "type": "string"
1075
- },
1076
- {
1077
- "name": "url",
1078
- "type": "string"
1079
- }
1080
- ],
1081
- "events": [],
1082
- "slots": [],
1083
- "methods": [],
1084
- "parts": [],
1085
- "description": "构件 `ai-portal.show-case`"
1086
1086
  }
1087
1087
  ],
1088
1088
  "providers": [
1089
+ {
1090
+ "name": "ai-portal.call-tool"
1091
+ },
1089
1092
  {
1090
1093
  "name": "ai-portal.save-request-store"
1091
1094
  },
@@ -1094,9 +1097,6 @@
1094
1097
  },
1095
1098
  {
1096
1099
  "name": "ai-portal.clear-request-store"
1097
- },
1098
- {
1099
- "name": "ai-portal.call-tool"
1100
1100
  }
1101
1101
  ]
1102
1102
  }