@next-bricks/ai-portal 0.58.15 → 0.59.1

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.
Files changed (77) hide show
  1. package/dist/bricks.json +33 -27
  2. package/dist/chunks/2084.ddaad7cc.js +3 -0
  3. package/dist/chunks/2084.ddaad7cc.js.map +1 -0
  4. package/dist/chunks/{2232.db8e7b47.js → 2232.1f623b99.js} +2 -2
  5. package/dist/chunks/2232.1f623b99.js.map +1 -0
  6. package/dist/chunks/2621.6cc2700b.js +2 -0
  7. package/dist/chunks/2621.6cc2700b.js.map +1 -0
  8. package/dist/chunks/5712.50d420b4.js +2 -0
  9. package/dist/chunks/5712.50d420b4.js.map +1 -0
  10. package/dist/chunks/9496.633e2efa.js +2 -0
  11. package/dist/chunks/9496.633e2efa.js.map +1 -0
  12. package/dist/chunks/ai-employees.52fe4443.js +3 -0
  13. package/dist/chunks/ai-employees.52fe4443.js.map +1 -0
  14. package/dist/chunks/chat-stream.362a2292.js +2 -0
  15. package/dist/chunks/chat-stream.362a2292.js.map +1 -0
  16. package/dist/chunks/cruise-canvas.b444c4ca.js +2 -0
  17. package/dist/chunks/cruise-canvas.b444c4ca.js.map +1 -0
  18. package/dist/chunks/{goal-card-list.ca03d258.js → goal-card-list.44c21cf2.js} +3 -3
  19. package/dist/chunks/goal-card-list.44c21cf2.js.map +1 -0
  20. package/dist/chunks/{home-container.3e8a670e.js → home-container.f1829834.js} +2 -2
  21. package/dist/chunks/{home-container.3e8a670e.js.map → home-container.f1829834.js.map} +1 -1
  22. package/dist/chunks/icon-button.66d6d83a.js +2 -0
  23. package/dist/chunks/icon-button.66d6d83a.js.map +1 -0
  24. package/dist/chunks/main.b29fc9bb.js +2 -0
  25. package/dist/chunks/{main.8208534c.js.map → main.b29fc9bb.js.map} +1 -1
  26. package/dist/chunks/{notice-dropdown.4d0fa5c5.js → notice-dropdown.c4604581.js} +2 -2
  27. package/dist/chunks/{notice-dropdown.4d0fa5c5.js.map → notice-dropdown.c4604581.js.map} +1 -1
  28. package/dist/chunks/notice-list.4eda2f51.js +3 -0
  29. package/dist/chunks/notice-list.4eda2f51.js.LICENSE.txt +5 -0
  30. package/dist/chunks/notice-list.4eda2f51.js.map +1 -0
  31. package/dist/chunks/page-container.570e7c6d.js +2 -0
  32. package/dist/chunks/{page-container.97947b50.js.map → page-container.570e7c6d.js.map} +1 -1
  33. package/dist/examples.json +13 -10
  34. package/dist/index.aed8147e.js +2 -0
  35. package/dist/index.aed8147e.js.map +1 -0
  36. package/dist/manifest.json +214 -174
  37. package/dist/types.json +1700 -1637
  38. package/dist-types/ai-employees/index.d.ts +2 -4
  39. package/dist-types/bootstrap.d.ts +1 -0
  40. package/dist-types/chat-stream/ChatStream.d.ts +2 -4
  41. package/dist-types/chat-stream/index.d.ts +1 -7
  42. package/dist-types/cruise-canvas/CruiseCanvas.d.ts +1 -1
  43. package/dist-types/cruise-canvas/index.d.ts +0 -7
  44. package/dist-types/icon-button/index.d.ts +2 -0
  45. package/dist-types/notice-dropdown/index.d.ts +1 -0
  46. package/dist-types/notice-list/i18n.d.ts +17 -0
  47. package/dist-types/notice-list/index.d.ts +43 -0
  48. package/dist-types/notice-list/index.spec.d.ts +1 -0
  49. package/dist-types/shared/bricks.d.ts +0 -13
  50. package/dist-types/shared/interfaces.d.ts +2 -1
  51. package/docs/notice-list.md +66 -0
  52. package/package.json +2 -2
  53. package/dist/chunks/151.a1330dd5.js +0 -2
  54. package/dist/chunks/151.a1330dd5.js.map +0 -1
  55. package/dist/chunks/2084.778e8126.js +0 -3
  56. package/dist/chunks/2084.778e8126.js.map +0 -1
  57. package/dist/chunks/2232.db8e7b47.js.map +0 -1
  58. package/dist/chunks/5712.82a31234.js +0 -2
  59. package/dist/chunks/5712.82a31234.js.map +0 -1
  60. package/dist/chunks/9496.471f9fb9.js +0 -2
  61. package/dist/chunks/9496.471f9fb9.js.map +0 -1
  62. package/dist/chunks/ai-employees.12986d4b.js +0 -3
  63. package/dist/chunks/ai-employees.12986d4b.js.map +0 -1
  64. package/dist/chunks/chat-stream.b713afed.js +0 -2
  65. package/dist/chunks/chat-stream.b713afed.js.map +0 -1
  66. package/dist/chunks/cruise-canvas.12cab553.js +0 -2
  67. package/dist/chunks/cruise-canvas.12cab553.js.map +0 -1
  68. package/dist/chunks/goal-card-list.ca03d258.js.map +0 -1
  69. package/dist/chunks/icon-button.ee06d4b6.js +0 -2
  70. package/dist/chunks/icon-button.ee06d4b6.js.map +0 -1
  71. package/dist/chunks/main.8208534c.js +0 -2
  72. package/dist/chunks/page-container.97947b50.js +0 -2
  73. package/dist/index.cdd388a0.js +0 -2
  74. package/dist/index.cdd388a0.js.map +0 -1
  75. /package/dist/chunks/{2084.778e8126.js.LICENSE.txt → 2084.ddaad7cc.js.LICENSE.txt} +0 -0
  76. /package/dist/chunks/{ai-employees.12986d4b.js.LICENSE.txt → ai-employees.52fe4443.js.LICENSE.txt} +0 -0
  77. /package/dist/chunks/{goal-card-list.ca03d258.js.LICENSE.txt → goal-card-list.44c21cf2.js.LICENSE.txt} +0 -0
@@ -90,11 +90,6 @@
90
90
  "name": "uploadOptions",
91
91
  "attribute": false,
92
92
  "type": "UploadOptions"
93
- },
94
- {
95
- "name": "toolbarBrick",
96
- "attribute": false,
97
- "type": "{ useBrick: UseSingleBrickConf }"
98
93
  }
99
94
  ],
100
95
  "events": [
@@ -382,6 +377,11 @@
382
377
  {
383
378
  "name": "variant",
384
379
  "type": "IconButtonVariant"
380
+ },
381
+ {
382
+ "name": "reduceIconSize",
383
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
384
+ "type": "boolean"
385
385
  }
386
386
  ],
387
387
  "events": [],
@@ -428,6 +428,48 @@
428
428
  "parts": [],
429
429
  "description": "构件 `ai-portal.mcp-tools`"
430
430
  },
431
+ {
432
+ "name": "ai-portal.home-container",
433
+ "properties": [
434
+ {
435
+ "name": "sticky",
436
+ "type": "boolean"
437
+ }
438
+ ],
439
+ "events": [],
440
+ "slots": [],
441
+ "methods": [],
442
+ "parts": [],
443
+ "description": "构件 `ai-portal.home-container`"
444
+ },
445
+ {
446
+ "name": "ai-portal.ai-employees",
447
+ "properties": [
448
+ {
449
+ "name": "list",
450
+ "attribute": false,
451
+ "type": "Employee[]"
452
+ },
453
+ {
454
+ "name": "industries",
455
+ "attribute": false,
456
+ "type": "string[]"
457
+ },
458
+ {
459
+ "name": "urlTemplate",
460
+ "type": "string"
461
+ },
462
+ {
463
+ "name": "stickyTop",
464
+ "type": "number"
465
+ }
466
+ ],
467
+ "events": [],
468
+ "slots": [],
469
+ "methods": [],
470
+ "parts": [],
471
+ "description": "构件 `ai-portal.ai-employees`"
472
+ },
431
473
  {
432
474
  "name": "ai-portal.chat-stream",
433
475
  "properties": [
@@ -503,19 +545,6 @@
503
545
  "name": "uploadOptions",
504
546
  "attribute": false,
505
547
  "type": "UploadOptions"
506
- },
507
- {
508
- "name": "notices",
509
- "attribute": false,
510
- "type": "NoticeItem[]"
511
- },
512
- {
513
- "name": "showNoticeIcon",
514
- "type": "boolean"
515
- },
516
- {
517
- "name": "noticeUrlTemplate",
518
- "type": "string"
519
548
  }
520
549
  ],
521
550
  "events": [
@@ -556,15 +585,9 @@
556
585
  }
557
586
  },
558
587
  {
559
- "name": "mark.notices.read",
588
+ "name": "split.change",
560
589
  "detail": {
561
- "type": "void"
562
- }
563
- },
564
- {
565
- "name": "notice.click",
566
- "detail": {
567
- "type": "NoticeItem"
590
+ "type": "boolean"
568
591
  }
569
592
  }
570
593
  ],
@@ -595,137 +618,6 @@
595
618
  "parts": [],
596
619
  "description": "构件 `ai-portal.chat-stream`"
597
620
  },
598
- {
599
- "name": "ai-portal.ai-employees",
600
- "properties": [
601
- {
602
- "name": "list",
603
- "attribute": false,
604
- "type": "Employee[]"
605
- },
606
- {
607
- "name": "industries",
608
- "attribute": false,
609
- "type": "string[]"
610
- },
611
- {
612
- "name": "urlTemplate",
613
- "type": "string"
614
- },
615
- {
616
- "name": "withContainer",
617
- "description": "",
618
- "deprecated": true,
619
- "default": "true"
620
- }
621
- ],
622
- "events": [],
623
- "slots": [],
624
- "methods": [],
625
- "parts": [],
626
- "description": "构件 `ai-portal.ai-employees`"
627
- },
628
- {
629
- "name": "ai-portal.ai-agents",
630
- "properties": [
631
- {
632
- "name": "list",
633
- "attribute": false,
634
- "type": "Agent[]"
635
- },
636
- {
637
- "name": "urlTemplate",
638
- "type": "string"
639
- },
640
- {
641
- "name": "withContainer",
642
- "description": "",
643
- "deprecated": true,
644
- "default": "true"
645
- }
646
- ],
647
- "events": [],
648
- "slots": [],
649
- "methods": [],
650
- "parts": [],
651
- "description": "构件 `ai-portal.ai-agents`"
652
- },
653
- {
654
- "name": "ai-portal.chat-box",
655
- "properties": [
656
- {
657
- "name": "disabled",
658
- "type": "boolean"
659
- },
660
- {
661
- "name": "placeholder",
662
- "type": "string"
663
- },
664
- {
665
- "name": "autoFocus",
666
- "type": "boolean"
667
- },
668
- {
669
- "name": "aiEmployees",
670
- "attribute": false,
671
- "type": "AIEmployee[]"
672
- },
673
- {
674
- "name": "commands",
675
- "attribute": false,
676
- "type": "Command[]"
677
- },
678
- {
679
- "name": "uploadOptions",
680
- "attribute": false,
681
- "type": "UploadOptions"
682
- }
683
- ],
684
- "events": [
685
- {
686
- "name": "message.submit",
687
- "description": "",
688
- "deprecated": "Use `chat.submit` event instead",
689
- "detail": {
690
- "type": "string"
691
- }
692
- },
693
- {
694
- "name": "chat.submit",
695
- "detail": {
696
- "type": "ChatPayload"
697
- }
698
- },
699
- {
700
- "name": "command.select",
701
- "detail": {
702
- "type": "CommandPayload | null"
703
- }
704
- }
705
- ],
706
- "slots": [],
707
- "methods": [
708
- {
709
- "name": "setValue",
710
- "params": [
711
- {
712
- "name": "value",
713
- "type": "string"
714
- }
715
- ]
716
- },
717
- {
718
- "name": "getValue",
719
- "params": []
720
- },
721
- {
722
- "name": "focusOnInput",
723
- "params": []
724
- }
725
- ],
726
- "parts": [],
727
- "description": "构件 `ai-portal.chat-box`"
728
- },
729
621
  {
730
622
  "name": "ai-portal.page-container",
731
623
  "properties": [
@@ -771,6 +663,31 @@
771
663
  "parts": [],
772
664
  "description": "构件 `ai-portal.page-container`"
773
665
  },
666
+ {
667
+ "name": "ai-portal.ai-agents",
668
+ "properties": [
669
+ {
670
+ "name": "list",
671
+ "attribute": false,
672
+ "type": "Agent[]"
673
+ },
674
+ {
675
+ "name": "urlTemplate",
676
+ "type": "string"
677
+ },
678
+ {
679
+ "name": "withContainer",
680
+ "description": "",
681
+ "deprecated": true,
682
+ "default": "true"
683
+ }
684
+ ],
685
+ "events": [],
686
+ "slots": [],
687
+ "methods": [],
688
+ "parts": [],
689
+ "description": "构件 `ai-portal.ai-agents`"
690
+ },
774
691
  {
775
692
  "name": "ai-portal.tab-list",
776
693
  "properties": [
@@ -865,37 +782,99 @@
865
782
  "description": "构件 `ai-portal.dropdown-select`"
866
783
  },
867
784
  {
868
- "name": "ai-portal.preview-container",
785
+ "name": "ai-portal.chat-box",
869
786
  "properties": [
870
787
  {
871
- "name": "source",
872
- "attribute": false,
873
- "type": "string"
788
+ "name": "disabled",
789
+ "type": "boolean"
874
790
  },
875
791
  {
876
- "name": "url",
792
+ "name": "placeholder",
877
793
  "type": "string"
794
+ },
795
+ {
796
+ "name": "autoFocus",
797
+ "type": "boolean"
798
+ },
799
+ {
800
+ "name": "aiEmployees",
801
+ "attribute": false,
802
+ "type": "AIEmployee[]"
803
+ },
804
+ {
805
+ "name": "commands",
806
+ "attribute": false,
807
+ "type": "Command[]"
808
+ },
809
+ {
810
+ "name": "uploadOptions",
811
+ "attribute": false,
812
+ "type": "UploadOptions"
813
+ }
814
+ ],
815
+ "events": [
816
+ {
817
+ "name": "message.submit",
818
+ "description": "",
819
+ "deprecated": "Use `chat.submit` event instead",
820
+ "detail": {
821
+ "type": "string"
822
+ }
823
+ },
824
+ {
825
+ "name": "chat.submit",
826
+ "detail": {
827
+ "type": "ChatPayload"
828
+ }
829
+ },
830
+ {
831
+ "name": "command.select",
832
+ "detail": {
833
+ "type": "CommandPayload | null"
834
+ }
878
835
  }
879
836
  ],
880
- "events": [],
881
837
  "slots": [],
882
- "methods": [],
838
+ "methods": [
839
+ {
840
+ "name": "setValue",
841
+ "params": [
842
+ {
843
+ "name": "value",
844
+ "type": "string"
845
+ }
846
+ ]
847
+ },
848
+ {
849
+ "name": "getValue",
850
+ "params": []
851
+ },
852
+ {
853
+ "name": "focusOnInput",
854
+ "params": []
855
+ }
856
+ ],
883
857
  "parts": [],
884
- "description": "构件 `ai-portal.preview-container`"
858
+ "description": "构件 `ai-portal.chat-box`"
885
859
  },
886
860
  {
887
- "name": "ai-portal.home-container",
861
+ "name": "ai-portal.preview-container",
888
862
  "properties": [
889
863
  {
890
- "name": "sticky",
891
- "type": "boolean"
864
+ "name": "source",
865
+ "attribute": false,
866
+ "type": "string"
867
+ },
868
+ {
869
+ "name": "url",
870
+ "type": "string"
892
871
  }
893
872
  ],
894
873
  "events": [],
895
874
  "slots": [],
896
875
  "methods": [],
897
876
  "parts": [],
898
- "description": "构件 `ai-portal.home-container`"
877
+ "description": "构件 `ai-portal.preview-container`"
899
878
  },
900
879
  {
901
880
  "name": "ai-portal.action-buttons",
@@ -1466,23 +1445,84 @@
1466
1445
  "methods": [],
1467
1446
  "parts": [],
1468
1447
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1448
+ },
1449
+ {
1450
+ "name": "ai-portal.notice-list",
1451
+ "properties": [
1452
+ {
1453
+ "name": "dataSource",
1454
+ "description": "消息数据列表",
1455
+ "attribute": false,
1456
+ "type": "NoticeItem[]"
1457
+ },
1458
+ {
1459
+ "name": "emptyText",
1460
+ "description": "空状态文案",
1461
+ "type": "string"
1462
+ },
1463
+ {
1464
+ "name": "urlTemplate",
1465
+ "description": "详情链接",
1466
+ "type": "string"
1467
+ },
1468
+ {
1469
+ "name": "urlTarget",
1470
+ "description": "详情链接目标",
1471
+ "type": "Target"
1472
+ },
1473
+ {
1474
+ "name": "selectedIds",
1475
+ "description": "选中的消息 ID 数组",
1476
+ "attribute": false,
1477
+ "type": "string[]"
1478
+ }
1479
+ ],
1480
+ "events": [
1481
+ {
1482
+ "name": "notice.click",
1483
+ "description": "消息项点击事件",
1484
+ "detail": {
1485
+ "description": "消息项数据",
1486
+ "type": "NoticeItem"
1487
+ }
1488
+ },
1489
+ {
1490
+ "name": "mark.items.read",
1491
+ "description": "标记消息项已读事件",
1492
+ "detail": {
1493
+ "description": "选中的消息 ID 数组",
1494
+ "type": "NoticeItem[]"
1495
+ }
1496
+ },
1497
+ {
1498
+ "name": "mark.all.read",
1499
+ "description": "全部已读事件",
1500
+ "detail": {
1501
+ "type": "void"
1502
+ }
1503
+ }
1504
+ ],
1505
+ "slots": [],
1506
+ "methods": [],
1507
+ "parts": [],
1508
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1469
1509
  }
1470
1510
  ],
1471
1511
  "providers": [
1472
1512
  {
1473
- "name": "ai-portal.save-request-store"
1513
+ "name": "ai-portal.call-tool"
1474
1514
  },
1475
1515
  {
1476
- "name": "ai-portal.load-request-store"
1516
+ "name": "ai-portal.set-chat-command"
1477
1517
  },
1478
1518
  {
1479
- "name": "ai-portal.clear-request-store"
1519
+ "name": "ai-portal.save-request-store"
1480
1520
  },
1481
1521
  {
1482
- "name": "ai-portal.call-tool"
1522
+ "name": "ai-portal.load-request-store"
1483
1523
  },
1484
1524
  {
1485
- "name": "ai-portal.set-chat-command"
1525
+ "name": "ai-portal.clear-request-store"
1486
1526
  }
1487
1527
  ]
1488
1528
  }