@next-bricks/ai-portal 0.64.2 → 0.64.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": "大型聊天输入框,用于首页"
75
+ },
6
76
  {
7
77
  "name": "ai-portal.cruise-canvas",
8
78
  "properties": [
@@ -228,6 +298,46 @@
228
298
  "parts": [],
229
299
  "description": "构件 `ai-portal.stat-with-mini-chart`"
230
300
  },
301
+ {
302
+ "name": "ai-portal.icon-button",
303
+ "properties": [
304
+ {
305
+ "name": "icon",
306
+ "attribute": false,
307
+ "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
308
+ },
309
+ {
310
+ "name": "tooltip",
311
+ "type": "string"
312
+ },
313
+ {
314
+ "name": "tooltipHoist",
315
+ "type": "boolean"
316
+ },
317
+ {
318
+ "name": "active",
319
+ "type": "boolean"
320
+ },
321
+ {
322
+ "name": "disabled",
323
+ "type": "boolean"
324
+ },
325
+ {
326
+ "name": "variant",
327
+ "type": "IconButtonVariant"
328
+ },
329
+ {
330
+ "name": "reduceIconSize",
331
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
332
+ "type": "boolean"
333
+ }
334
+ ],
335
+ "events": [],
336
+ "slots": [],
337
+ "methods": [],
338
+ "parts": [],
339
+ "description": "构件 `ai-portal.icon-button`"
340
+ },
231
341
  {
232
342
  "name": "ai-portal.elevo-sidebar",
233
343
  "properties": [
@@ -400,36 +510,10 @@
400
510
  "description": "构件 `ai-portal.elevo-sidebar`"
401
511
  },
402
512
  {
403
- "name": "ai-portal.icon-button",
513
+ "name": "ai-portal.home-container",
404
514
  "properties": [
405
515
  {
406
- "name": "icon",
407
- "attribute": false,
408
- "type": "(GeneralIconProps & HTMLAttributes<GeneralIcon>)"
409
- },
410
- {
411
- "name": "tooltip",
412
- "type": "string"
413
- },
414
- {
415
- "name": "tooltipHoist",
416
- "type": "boolean"
417
- },
418
- {
419
- "name": "active",
420
- "type": "boolean"
421
- },
422
- {
423
- "name": "disabled",
424
- "type": "boolean"
425
- },
426
- {
427
- "name": "variant",
428
- "type": "IconButtonVariant"
429
- },
430
- {
431
- "name": "reduceIconSize",
432
- "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
516
+ "name": "sticky",
433
517
  "type": "boolean"
434
518
  }
435
519
  ],
@@ -437,21 +521,26 @@
437
521
  "slots": [],
438
522
  "methods": [],
439
523
  "parts": [],
440
- "description": "构件 `ai-portal.icon-button`"
524
+ "description": "构件 `ai-portal.home-container`"
441
525
  },
442
526
  {
443
- "name": "ai-portal.home-container",
527
+ "name": "ai-portal.show-cases",
444
528
  "properties": [
445
529
  {
446
- "name": "sticky",
447
- "type": "boolean"
530
+ "name": "list",
531
+ "attribute": false,
532
+ "type": "ShowCaseType[]"
533
+ },
534
+ {
535
+ "name": "limit",
536
+ "type": "number"
448
537
  }
449
538
  ],
450
539
  "events": [],
451
540
  "slots": [],
452
541
  "methods": [],
453
542
  "parts": [],
454
- "description": "构件 `ai-portal.home-container`"
543
+ "description": "构件 `ai-portal.show-cases`"
455
544
  },
456
545
  {
457
546
  "name": "ai-portal.mcp-tools",
@@ -630,104 +719,6 @@
630
719
  "parts": [],
631
720
  "description": "构件 `ai-portal.chat-stream`"
632
721
  },
633
- {
634
- "name": "ai-portal.ai-employees",
635
- "properties": [
636
- {
637
- "name": "list",
638
- "attribute": false,
639
- "type": "Employee[]"
640
- },
641
- {
642
- "name": "industries",
643
- "attribute": false,
644
- "type": "string[]"
645
- },
646
- {
647
- "name": "urlTemplate",
648
- "type": "string"
649
- },
650
- {
651
- "name": "stickyTop",
652
- "type": "number"
653
- }
654
- ],
655
- "events": [],
656
- "slots": [],
657
- "methods": [],
658
- "parts": [],
659
- "description": "构件 `ai-portal.ai-employees`"
660
- },
661
- {
662
- "name": "ai-portal.chat-box",
663
- "properties": [
664
- {
665
- "name": "disabled",
666
- "type": "boolean"
667
- },
668
- {
669
- "name": "placeholder",
670
- "type": "string"
671
- },
672
- {
673
- "name": "autoFocus",
674
- "type": "boolean"
675
- },
676
- {
677
- "name": "aiEmployees",
678
- "attribute": false,
679
- "type": "AIEmployee[]"
680
- },
681
- {
682
- "name": "commands",
683
- "attribute": false,
684
- "type": "Command[]"
685
- },
686
- {
687
- "name": "uploadOptions",
688
- "attribute": false,
689
- "type": "UploadOptions"
690
- }
691
- ],
692
- "events": [
693
- {
694
- "name": "message.submit",
695
- "description": "",
696
- "deprecated": "Use `chat.submit` event instead",
697
- "detail": {
698
- "type": "string"
699
- }
700
- },
701
- {
702
- "name": "chat.submit",
703
- "detail": {
704
- "type": "ChatPayload"
705
- }
706
- }
707
- ],
708
- "slots": [],
709
- "methods": [
710
- {
711
- "name": "setValue",
712
- "params": [
713
- {
714
- "name": "value",
715
- "type": "string"
716
- }
717
- ]
718
- },
719
- {
720
- "name": "getValue",
721
- "params": []
722
- },
723
- {
724
- "name": "focusOnInput",
725
- "params": []
726
- }
727
- ],
728
- "parts": [],
729
- "description": "大型聊天输入框,用于首页"
730
- },
731
722
  {
732
723
  "name": "ai-portal.ai-agents",
733
724
  "properties": [
@@ -753,25 +744,6 @@
753
744
  "parts": [],
754
745
  "description": "构件 `ai-portal.ai-agents`"
755
746
  },
756
- {
757
- "name": "ai-portal.show-cases",
758
- "properties": [
759
- {
760
- "name": "list",
761
- "attribute": false,
762
- "type": "ShowCaseType[]"
763
- },
764
- {
765
- "name": "limit",
766
- "type": "number"
767
- }
768
- ],
769
- "events": [],
770
- "slots": [],
771
- "methods": [],
772
- "parts": [],
773
- "description": "构件 `ai-portal.show-cases`"
774
- },
775
747
  {
776
748
  "name": "ai-portal.page-container",
777
749
  "properties": [
@@ -853,6 +825,34 @@
853
825
  ],
854
826
  "description": "构件 `ai-portal.tab-list`"
855
827
  },
828
+ {
829
+ "name": "ai-portal.ai-employees",
830
+ "properties": [
831
+ {
832
+ "name": "list",
833
+ "attribute": false,
834
+ "type": "Employee[]"
835
+ },
836
+ {
837
+ "name": "industries",
838
+ "attribute": false,
839
+ "type": "string[]"
840
+ },
841
+ {
842
+ "name": "urlTemplate",
843
+ "type": "string"
844
+ },
845
+ {
846
+ "name": "stickyTop",
847
+ "type": "number"
848
+ }
849
+ ],
850
+ "events": [],
851
+ "slots": [],
852
+ "methods": [],
853
+ "parts": [],
854
+ "description": "构件 `ai-portal.ai-employees`"
855
+ },
856
856
  {
857
857
  "name": "ai-portal.dropdown-select",
858
858
  "properties": [
@@ -1212,14 +1212,18 @@
1212
1212
  "description": "构件 `ai-portal.elevo-logo`"
1213
1213
  },
1214
1214
  {
1215
- "name": "ai-portal.blank-state",
1215
+ "name": "ai-portal.show-case",
1216
1216
  "properties": [
1217
1217
  {
1218
- "name": "illustration",
1219
- "type": "BlankStateIllustration"
1218
+ "name": "caseTitle",
1219
+ "type": "string"
1220
1220
  },
1221
1221
  {
1222
- "name": "description",
1222
+ "name": "summary",
1223
+ "type": "string"
1224
+ },
1225
+ {
1226
+ "name": "url",
1223
1227
  "type": "string"
1224
1228
  }
1225
1229
  ],
@@ -1227,21 +1231,17 @@
1227
1231
  "slots": [],
1228
1232
  "methods": [],
1229
1233
  "parts": [],
1230
- "description": "构件 `ai-portal.blank-state`"
1234
+ "description": "构件 `ai-portal.show-case`"
1231
1235
  },
1232
1236
  {
1233
- "name": "ai-portal.show-case",
1237
+ "name": "ai-portal.blank-state",
1234
1238
  "properties": [
1235
1239
  {
1236
- "name": "caseTitle",
1237
- "type": "string"
1238
- },
1239
- {
1240
- "name": "summary",
1241
- "type": "string"
1240
+ "name": "illustration",
1241
+ "type": "BlankStateIllustration"
1242
1242
  },
1243
1243
  {
1244
- "name": "url",
1244
+ "name": "description",
1245
1245
  "type": "string"
1246
1246
  }
1247
1247
  ],
@@ -1249,7 +1249,7 @@
1249
1249
  "slots": [],
1250
1250
  "methods": [],
1251
1251
  "parts": [],
1252
- "description": "构件 `ai-portal.show-case`"
1252
+ "description": "构件 `ai-portal.blank-state`"
1253
1253
  },
1254
1254
  {
1255
1255
  "name": "ai-portal.sticky-container",