@next-bricks/ai-portal 0.48.3 → 0.48.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.
@@ -3,6 +3,15 @@
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
+ },
6
15
  {
7
16
  "name": "ai-portal.cruise-canvas",
8
17
  "properties": [
@@ -148,161 +157,6 @@
148
157
  "parts": [],
149
158
  "description": "构件 `ai-portal.cruise-canvas`"
150
159
  },
151
- {
152
- "name": "ai-portal.stat-with-mini-chart",
153
- "properties": [
154
- {
155
- "name": "label",
156
- "type": "string"
157
- },
158
- {
159
- "name": "value",
160
- "type": "string"
161
- },
162
- {
163
- "name": "size",
164
- "description": "",
165
- "default": "\"medium\"",
166
- "type": "\"medium\" | \"small\""
167
- },
168
- {
169
- "name": "lineColor",
170
- "description": "",
171
- "default": "\"var(--color-brand)\"",
172
- "type": "string"
173
- },
174
- {
175
- "name": "showArea",
176
- "type": "boolean"
177
- },
178
- {
179
- "name": "min",
180
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
181
- "type": "number"
182
- },
183
- {
184
- "name": "max",
185
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
186
- "type": "number"
187
- },
188
- {
189
- "name": "xField",
190
- "description": "",
191
- "default": "\"0\"",
192
- "type": "string"
193
- },
194
- {
195
- "name": "yField",
196
- "description": "",
197
- "default": "\"1\"",
198
- "type": "string"
199
- },
200
- {
201
- "name": "data",
202
- "attribute": false,
203
- "type": "Record<string, number>[]"
204
- }
205
- ],
206
- "events": [],
207
- "slots": [],
208
- "methods": [],
209
- "parts": [],
210
- "description": "构件 `ai-portal.stat-with-mini-chart`"
211
- },
212
- {
213
- "name": "ai-portal.home-container",
214
- "properties": [],
215
- "events": [],
216
- "slots": [],
217
- "methods": [],
218
- "parts": [],
219
- "description": "构件 `ai-portal.home-container`"
220
- },
221
- {
222
- "name": "ai-portal.chat-box",
223
- "properties": [
224
- {
225
- "name": "disabled",
226
- "type": "boolean"
227
- },
228
- {
229
- "name": "placeholder",
230
- "type": "string"
231
- },
232
- {
233
- "name": "autoFocus",
234
- "type": "boolean"
235
- },
236
- {
237
- "name": "aiEmployees",
238
- "attribute": false,
239
- "type": "AIEmployee[]"
240
- }
241
- ],
242
- "events": [
243
- {
244
- "name": "message.submit",
245
- "detail": {
246
- "type": "string"
247
- }
248
- },
249
- {
250
- "name": "ai-employee.mention",
251
- "detail": {
252
- "type": "AIEmployee | null"
253
- }
254
- }
255
- ],
256
- "slots": [],
257
- "methods": [
258
- {
259
- "name": "setValue",
260
- "params": [
261
- {
262
- "name": "value",
263
- "type": "string"
264
- }
265
- ]
266
- },
267
- {
268
- "name": "getValue",
269
- "params": []
270
- },
271
- {
272
- "name": "focusOnInput",
273
- "params": []
274
- }
275
- ],
276
- "parts": [],
277
- "description": "构件 `ai-portal.chat-box`"
278
- },
279
- {
280
- "name": "ai-portal.icon-button",
281
- "properties": [
282
- {
283
- "name": "icon",
284
- "attribute": false,
285
- "type": "GeneralIconProps"
286
- },
287
- {
288
- "name": "tooltip",
289
- "type": "string"
290
- },
291
- {
292
- "name": "disabled",
293
- "type": "boolean"
294
- },
295
- {
296
- "name": "variant",
297
- "type": "IconButtonVariant"
298
- }
299
- ],
300
- "events": [],
301
- "slots": [],
302
- "methods": [],
303
- "parts": [],
304
- "description": "构件 `ai-portal.icon-button`"
305
- },
306
160
  {
307
161
  "name": "ai-portal.elevo-sidebar",
308
162
  "properties": [
@@ -449,6 +303,10 @@
449
303
  "name": "list",
450
304
  "attribute": false,
451
305
  "type": "ShowCaseType[]"
306
+ },
307
+ {
308
+ "name": "limit",
309
+ "type": "number"
452
310
  }
453
311
  ],
454
312
  "events": [],
@@ -457,6 +315,91 @@
457
315
  "parts": [],
458
316
  "description": "构件 `ai-portal.show-cases`"
459
317
  },
318
+ {
319
+ "name": "ai-portal.icon-button",
320
+ "properties": [
321
+ {
322
+ "name": "icon",
323
+ "attribute": false,
324
+ "type": "GeneralIconProps"
325
+ },
326
+ {
327
+ "name": "tooltip",
328
+ "type": "string"
329
+ },
330
+ {
331
+ "name": "disabled",
332
+ "type": "boolean"
333
+ },
334
+ {
335
+ "name": "variant",
336
+ "type": "IconButtonVariant"
337
+ }
338
+ ],
339
+ "events": [],
340
+ "slots": [],
341
+ "methods": [],
342
+ "parts": [],
343
+ "description": "构件 `ai-portal.icon-button`"
344
+ },
345
+ {
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
+ },
460
403
  {
461
404
  "name": "ai-portal.mcp-tools",
462
405
  "properties": [
@@ -478,6 +421,36 @@
478
421
  "parts": [],
479
422
  "description": "构件 `ai-portal.mcp-tools`"
480
423
  },
424
+ {
425
+ "name": "ai-portal.ai-employees",
426
+ "properties": [
427
+ {
428
+ "name": "list",
429
+ "attribute": false,
430
+ "type": "Employee[]"
431
+ },
432
+ {
433
+ "name": "industries",
434
+ "attribute": false,
435
+ "type": "string[]"
436
+ },
437
+ {
438
+ "name": "urlTemplate",
439
+ "type": "string"
440
+ },
441
+ {
442
+ "name": "withContainer",
443
+ "description": "",
444
+ "deprecated": true,
445
+ "default": "true"
446
+ }
447
+ ],
448
+ "events": [],
449
+ "slots": [],
450
+ "methods": [],
451
+ "parts": [],
452
+ "description": "构件 `ai-portal.ai-employees`"
453
+ },
481
454
  {
482
455
  "name": "ai-portal.chat-stream",
483
456
  "properties": [
@@ -615,36 +588,6 @@
615
588
  "parts": [],
616
589
  "description": "构件 `ai-portal.chat-stream`"
617
590
  },
618
- {
619
- "name": "ai-portal.ai-employees",
620
- "properties": [
621
- {
622
- "name": "list",
623
- "attribute": false,
624
- "type": "Employee[]"
625
- },
626
- {
627
- "name": "industries",
628
- "attribute": false,
629
- "type": "string[]"
630
- },
631
- {
632
- "name": "urlTemplate",
633
- "type": "string"
634
- },
635
- {
636
- "name": "withContainer",
637
- "description": "",
638
- "deprecated": true,
639
- "default": "true"
640
- }
641
- ],
642
- "events": [],
643
- "slots": [],
644
- "methods": [],
645
- "parts": [],
646
- "description": "构件 `ai-portal.ai-employees`"
647
- },
648
591
  {
649
592
  "name": "ai-portal.ai-agents",
650
593
  "properties": [
@@ -819,6 +762,67 @@
819
762
  "parts": [],
820
763
  "description": "构件 `ai-portal.preview-container`"
821
764
  },
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
+ },
822
826
  {
823
827
  "name": "ai-portal.action-buttons",
824
828
  "properties": [
@@ -845,6 +849,48 @@
845
849
  "parts": [],
846
850
  "description": "构件 `ai-portal.action-buttons`"
847
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
+ },
848
894
  {
849
895
  "name": "ai-portal.goal-card-list",
850
896
  "properties": [
@@ -908,48 +954,6 @@
908
954
  "parts": [],
909
955
  "description": "构件 `ai-portal.goal-card-list`"
910
956
  },
911
- {
912
- "name": "ai-portal.project-conversations",
913
- "properties": [
914
- {
915
- "name": "list",
916
- "attribute": false,
917
- "type": "Conversation[]"
918
- },
919
- {
920
- "name": "urlTemplate",
921
- "type": "string"
922
- },
923
- {
924
- "name": "actions",
925
- "attribute": false,
926
- "type": "ActionType[]"
927
- },
928
- {
929
- "name": "goals",
930
- "attribute": false,
931
- "type": "Goal[]"
932
- }
933
- ],
934
- "events": [
935
- {
936
- "name": "goal.click",
937
- "detail": {
938
- "type": "Conversation"
939
- }
940
- },
941
- {
942
- "name": "action.click",
943
- "detail": {
944
- "type": "ActionClickDetail"
945
- }
946
- }
947
- ],
948
- "slots": [],
949
- "methods": [],
950
- "parts": [],
951
- "description": "构件 `ai-portal.project-conversations`"
952
- },
953
957
  {
954
958
  "name": "ai-portal.project-knowledges",
955
959
  "properties": [
@@ -1082,9 +1086,6 @@
1082
1086
  }
1083
1087
  ],
1084
1088
  "providers": [
1085
- {
1086
- "name": "ai-portal.call-tool"
1087
- },
1088
1089
  {
1089
1090
  "name": "ai-portal.save-request-store"
1090
1091
  },
@@ -1093,6 +1094,9 @@
1093
1094
  },
1094
1095
  {
1095
1096
  "name": "ai-portal.clear-request-store"
1097
+ },
1098
+ {
1099
+ "name": "ai-portal.call-tool"
1096
1100
  }
1097
1101
  ]
1098
1102
  }