@next-bricks/ai-portal 0.59.3 → 0.59.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.
@@ -157,103 +157,6 @@
157
157
  "parts": [],
158
158
  "description": "构件 `ai-portal.cruise-canvas`"
159
159
  },
160
- {
161
- "name": "ai-portal.stat-with-mini-chart",
162
- "properties": [
163
- {
164
- "name": "label",
165
- "type": "string"
166
- },
167
- {
168
- "name": "value",
169
- "type": "string"
170
- },
171
- {
172
- "name": "size",
173
- "description": "",
174
- "default": "\"medium\"",
175
- "type": "\"medium\" | \"small\""
176
- },
177
- {
178
- "name": "lineColor",
179
- "description": "",
180
- "default": "\"var(--color-brand)\"",
181
- "type": "string"
182
- },
183
- {
184
- "name": "showArea",
185
- "type": "boolean"
186
- },
187
- {
188
- "name": "min",
189
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
190
- "type": "number"
191
- },
192
- {
193
- "name": "max",
194
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
195
- "type": "number"
196
- },
197
- {
198
- "name": "xField",
199
- "description": "",
200
- "default": "\"0\"",
201
- "type": "string"
202
- },
203
- {
204
- "name": "yField",
205
- "description": "",
206
- "default": "\"1\"",
207
- "type": "string"
208
- },
209
- {
210
- "name": "data",
211
- "attribute": false,
212
- "type": "Record<string, number>[]"
213
- }
214
- ],
215
- "events": [],
216
- "slots": [],
217
- "methods": [],
218
- "parts": [],
219
- "description": "构件 `ai-portal.stat-with-mini-chart`"
220
- },
221
- {
222
- "name": "ai-portal.icon-button",
223
- "properties": [
224
- {
225
- "name": "icon",
226
- "attribute": false,
227
- "type": "GeneralIconProps"
228
- },
229
- {
230
- "name": "tooltip",
231
- "type": "string"
232
- },
233
- {
234
- "name": "tooltipHoist",
235
- "type": "boolean"
236
- },
237
- {
238
- "name": "disabled",
239
- "type": "boolean"
240
- },
241
- {
242
- "name": "variant",
243
- "type": "IconButtonVariant"
244
- },
245
- {
246
- "name": "reduceIconSize",
247
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
248
- "type": "boolean"
249
- }
250
- ],
251
- "events": [],
252
- "slots": [],
253
- "methods": [],
254
- "parts": [],
255
- "description": "构件 `ai-portal.icon-button`"
256
- },
257
160
  {
258
161
  "name": "ai-portal.elevo-sidebar",
259
162
  "properties": [
@@ -391,59 +294,198 @@
391
294
  "description": "构件 `ai-portal.elevo-sidebar`"
392
295
  },
393
296
  {
394
- "name": "ai-portal.show-cases",
297
+ "name": "ai-portal.icon-button",
395
298
  "properties": [
396
299
  {
397
- "name": "list",
300
+ "name": "icon",
398
301
  "attribute": false,
399
- "type": "ShowCaseType[]"
302
+ "type": "GeneralIconProps"
400
303
  },
401
304
  {
402
- "name": "limit",
403
- "type": "number"
305
+ "name": "tooltip",
306
+ "type": "string"
307
+ },
308
+ {
309
+ "name": "tooltipHoist",
310
+ "type": "boolean"
311
+ },
312
+ {
313
+ "name": "disabled",
314
+ "type": "boolean"
315
+ },
316
+ {
317
+ "name": "variant",
318
+ "type": "IconButtonVariant"
319
+ },
320
+ {
321
+ "name": "reduceIconSize",
322
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
323
+ "type": "boolean"
404
324
  }
405
325
  ],
406
326
  "events": [],
407
327
  "slots": [],
408
328
  "methods": [],
409
329
  "parts": [],
410
- "description": "构件 `ai-portal.show-cases`"
330
+ "description": "构件 `ai-portal.icon-button`"
411
331
  },
412
332
  {
413
- "name": "ai-portal.mcp-tools",
333
+ "name": "ai-portal.chat-box",
414
334
  "properties": [
415
335
  {
416
- "name": "list",
336
+ "name": "disabled",
337
+ "type": "boolean"
338
+ },
339
+ {
340
+ "name": "placeholder",
341
+ "type": "string"
342
+ },
343
+ {
344
+ "name": "autoFocus",
345
+ "type": "boolean"
346
+ },
347
+ {
348
+ "name": "aiEmployees",
417
349
  "attribute": false,
418
- "type": "McpTool[]"
350
+ "type": "AIEmployee[]"
419
351
  },
420
352
  {
421
- "name": "stickyTop",
353
+ "name": "commands",
354
+ "attribute": false,
355
+ "type": "Command[]"
356
+ },
357
+ {
358
+ "name": "uploadOptions",
359
+ "attribute": false,
360
+ "type": "UploadOptions"
361
+ }
362
+ ],
363
+ "events": [
364
+ {
365
+ "name": "message.submit",
366
+ "description": "",
367
+ "deprecated": "Use `chat.submit` event instead",
368
+ "detail": {
369
+ "type": "string"
370
+ }
371
+ },
372
+ {
373
+ "name": "chat.submit",
374
+ "detail": {
375
+ "type": "ChatPayload"
376
+ }
377
+ }
378
+ ],
379
+ "slots": [],
380
+ "methods": [
381
+ {
382
+ "name": "setValue",
383
+ "params": [
384
+ {
385
+ "name": "value",
386
+ "type": "string"
387
+ }
388
+ ]
389
+ },
390
+ {
391
+ "name": "getValue",
392
+ "params": []
393
+ },
394
+ {
395
+ "name": "focusOnInput",
396
+ "params": []
397
+ }
398
+ ],
399
+ "parts": [],
400
+ "description": "构件 `ai-portal.chat-box`"
401
+ },
402
+ {
403
+ "name": "ai-portal.stat-with-mini-chart",
404
+ "properties": [
405
+ {
406
+ "name": "label",
407
+ "type": "string"
408
+ },
409
+ {
410
+ "name": "value",
411
+ "type": "string"
412
+ },
413
+ {
414
+ "name": "size",
415
+ "description": "",
416
+ "default": "\"medium\"",
417
+ "type": "\"medium\" | \"small\""
418
+ },
419
+ {
420
+ "name": "lineColor",
421
+ "description": "",
422
+ "default": "\"var(--color-brand)\"",
423
+ "type": "string"
424
+ },
425
+ {
426
+ "name": "showArea",
427
+ "type": "boolean"
428
+ },
429
+ {
430
+ "name": "min",
431
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
432
+ "type": "number"
433
+ },
434
+ {
435
+ "name": "max",
436
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
422
437
  "type": "number"
438
+ },
439
+ {
440
+ "name": "xField",
441
+ "description": "",
442
+ "default": "\"0\"",
443
+ "type": "string"
444
+ },
445
+ {
446
+ "name": "yField",
447
+ "description": "",
448
+ "default": "\"1\"",
449
+ "type": "string"
450
+ },
451
+ {
452
+ "name": "data",
453
+ "attribute": false,
454
+ "type": "Record<string, number>[]"
423
455
  }
424
456
  ],
425
457
  "events": [],
426
458
  "slots": [],
427
459
  "methods": [],
428
460
  "parts": [],
429
- "description": "构件 `ai-portal.mcp-tools`"
461
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
430
462
  },
431
463
  {
432
- "name": "ai-portal.ai-employees",
464
+ "name": "ai-portal.show-cases",
433
465
  "properties": [
434
466
  {
435
467
  "name": "list",
436
468
  "attribute": false,
437
- "type": "Employee[]"
469
+ "type": "ShowCaseType[]"
438
470
  },
439
471
  {
440
- "name": "industries",
441
- "attribute": false,
442
- "type": "string[]"
443
- },
472
+ "name": "limit",
473
+ "type": "number"
474
+ }
475
+ ],
476
+ "events": [],
477
+ "slots": [],
478
+ "methods": [],
479
+ "parts": [],
480
+ "description": "构件 `ai-portal.show-cases`"
481
+ },
482
+ {
483
+ "name": "ai-portal.mcp-tools",
484
+ "properties": [
444
485
  {
445
- "name": "urlTemplate",
446
- "type": "string"
486
+ "name": "list",
487
+ "attribute": false,
488
+ "type": "McpTool[]"
447
489
  },
448
490
  {
449
491
  "name": "stickyTop",
@@ -454,7 +496,7 @@
454
496
  "slots": [],
455
497
  "methods": [],
456
498
  "parts": [],
457
- "description": "构件 `ai-portal.ai-employees`"
499
+ "description": "构件 `ai-portal.mcp-tools`"
458
500
  },
459
501
  {
460
502
  "name": "ai-portal.chat-stream",
@@ -604,6 +646,34 @@
604
646
  "parts": [],
605
647
  "description": "构件 `ai-portal.chat-stream`"
606
648
  },
649
+ {
650
+ "name": "ai-portal.ai-employees",
651
+ "properties": [
652
+ {
653
+ "name": "list",
654
+ "attribute": false,
655
+ "type": "Employee[]"
656
+ },
657
+ {
658
+ "name": "industries",
659
+ "attribute": false,
660
+ "type": "string[]"
661
+ },
662
+ {
663
+ "name": "urlTemplate",
664
+ "type": "string"
665
+ },
666
+ {
667
+ "name": "stickyTop",
668
+ "type": "number"
669
+ }
670
+ ],
671
+ "events": [],
672
+ "slots": [],
673
+ "methods": [],
674
+ "parts": [],
675
+ "description": "构件 `ai-portal.ai-employees`"
676
+ },
607
677
  {
608
678
  "name": "ai-portal.ai-agents",
609
679
  "properties": [
@@ -629,6 +699,20 @@
629
699
  "parts": [],
630
700
  "description": "构件 `ai-portal.ai-agents`"
631
701
  },
702
+ {
703
+ "name": "ai-portal.home-container",
704
+ "properties": [
705
+ {
706
+ "name": "sticky",
707
+ "type": "boolean"
708
+ }
709
+ ],
710
+ "events": [],
711
+ "slots": [],
712
+ "methods": [],
713
+ "parts": [],
714
+ "description": "构件 `ai-portal.home-container`"
715
+ },
632
716
  {
633
717
  "name": "ai-portal.page-container",
634
718
  "properties": [
@@ -767,109 +851,6 @@
767
851
  "parts": [],
768
852
  "description": "构件 `ai-portal.dropdown-select`"
769
853
  },
770
- {
771
- "name": "ai-portal.preview-container",
772
- "properties": [
773
- {
774
- "name": "source",
775
- "attribute": false,
776
- "type": "string"
777
- },
778
- {
779
- "name": "url",
780
- "type": "string"
781
- }
782
- ],
783
- "events": [],
784
- "slots": [],
785
- "methods": [],
786
- "parts": [],
787
- "description": "构件 `ai-portal.preview-container`"
788
- },
789
- {
790
- "name": "ai-portal.chat-box",
791
- "properties": [
792
- {
793
- "name": "disabled",
794
- "type": "boolean"
795
- },
796
- {
797
- "name": "placeholder",
798
- "type": "string"
799
- },
800
- {
801
- "name": "autoFocus",
802
- "type": "boolean"
803
- },
804
- {
805
- "name": "aiEmployees",
806
- "attribute": false,
807
- "type": "AIEmployee[]"
808
- },
809
- {
810
- "name": "commands",
811
- "attribute": false,
812
- "type": "Command[]"
813
- },
814
- {
815
- "name": "uploadOptions",
816
- "attribute": false,
817
- "type": "UploadOptions"
818
- }
819
- ],
820
- "events": [
821
- {
822
- "name": "message.submit",
823
- "description": "",
824
- "deprecated": "Use `chat.submit` event instead",
825
- "detail": {
826
- "type": "string"
827
- }
828
- },
829
- {
830
- "name": "chat.submit",
831
- "detail": {
832
- "type": "ChatPayload"
833
- }
834
- }
835
- ],
836
- "slots": [],
837
- "methods": [
838
- {
839
- "name": "setValue",
840
- "params": [
841
- {
842
- "name": "value",
843
- "type": "string"
844
- }
845
- ]
846
- },
847
- {
848
- "name": "getValue",
849
- "params": []
850
- },
851
- {
852
- "name": "focusOnInput",
853
- "params": []
854
- }
855
- ],
856
- "parts": [],
857
- "description": "构件 `ai-portal.chat-box`"
858
- },
859
- {
860
- "name": "ai-portal.home-container",
861
- "properties": [
862
- {
863
- "name": "sticky",
864
- "type": "boolean"
865
- }
866
- ],
867
- "events": [],
868
- "slots": [],
869
- "methods": [],
870
- "parts": [],
871
- "description": "构件 `ai-portal.home-container`"
872
- },
873
854
  {
874
855
  "name": "ai-portal.action-buttons",
875
856
  "properties": [
@@ -959,6 +940,25 @@
959
940
  "parts": [],
960
941
  "description": "构件 `ai-portal.goal-card-list`"
961
942
  },
943
+ {
944
+ "name": "ai-portal.preview-container",
945
+ "properties": [
946
+ {
947
+ "name": "source",
948
+ "attribute": false,
949
+ "type": "string"
950
+ },
951
+ {
952
+ "name": "url",
953
+ "type": "string"
954
+ }
955
+ ],
956
+ "events": [],
957
+ "slots": [],
958
+ "methods": [],
959
+ "parts": [],
960
+ "description": "构件 `ai-portal.preview-container`"
961
+ },
962
962
  {
963
963
  "name": "ai-portal.project-conversations",
964
964
  "properties": [
@@ -1123,18 +1123,14 @@
1123
1123
  "description": "构件 `ai-portal.elevo-logo`"
1124
1124
  },
1125
1125
  {
1126
- "name": "ai-portal.show-case",
1126
+ "name": "ai-portal.blank-state",
1127
1127
  "properties": [
1128
1128
  {
1129
- "name": "caseTitle",
1130
- "type": "string"
1131
- },
1132
- {
1133
- "name": "summary",
1134
- "type": "string"
1129
+ "name": "illustration",
1130
+ "type": "BlankStateIllustration"
1135
1131
  },
1136
1132
  {
1137
- "name": "url",
1133
+ "name": "description",
1138
1134
  "type": "string"
1139
1135
  }
1140
1136
  ],
@@ -1142,17 +1138,21 @@
1142
1138
  "slots": [],
1143
1139
  "methods": [],
1144
1140
  "parts": [],
1145
- "description": "构件 `ai-portal.show-case`"
1141
+ "description": "构件 `ai-portal.blank-state`"
1146
1142
  },
1147
1143
  {
1148
- "name": "ai-portal.blank-state",
1144
+ "name": "ai-portal.show-case",
1149
1145
  "properties": [
1150
1146
  {
1151
- "name": "illustration",
1152
- "type": "BlankStateIllustration"
1147
+ "name": "caseTitle",
1148
+ "type": "string"
1153
1149
  },
1154
1150
  {
1155
- "name": "description",
1151
+ "name": "summary",
1152
+ "type": "string"
1153
+ },
1154
+ {
1155
+ "name": "url",
1156
1156
  "type": "string"
1157
1157
  }
1158
1158
  ],
@@ -1160,7 +1160,7 @@
1160
1160
  "slots": [],
1161
1161
  "methods": [],
1162
1162
  "parts": [],
1163
- "description": "构件 `ai-portal.blank-state`"
1163
+ "description": "构件 `ai-portal.show-case`"
1164
1164
  },
1165
1165
  {
1166
1166
  "name": "ai-portal.sticky-container",