@next-bricks/ai-portal 0.58.15 → 0.59.0

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 +43 -37
  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.243a2f0f.js} +2 -2
  5. package/dist/chunks/2232.243a2f0f.js.map +1 -0
  6. package/dist/chunks/2621.f3a430d7.js +2 -0
  7. package/dist/chunks/2621.f3a430d7.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.713ffcaf.js +2 -0
  15. package/dist/chunks/chat-stream.713ffcaf.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.a4c13164.js +2 -0
  25. package/dist/chunks/{main.8208534c.js.map → main.a4c13164.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 +20 -17
  34. package/dist/index.c707abd3.js +2 -0
  35. package/dist/index.c707abd3.js.map +1 -0
  36. package/dist/manifest.json +326 -292
  37. package/dist/types.json +1507 -1453
  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 +1 -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": [
@@ -162,67 +157,6 @@
162
157
  "parts": [],
163
158
  "description": "构件 `ai-portal.cruise-canvas`"
164
159
  },
165
- {
166
- "name": "ai-portal.stat-with-mini-chart",
167
- "properties": [
168
- {
169
- "name": "label",
170
- "type": "string"
171
- },
172
- {
173
- "name": "value",
174
- "type": "string"
175
- },
176
- {
177
- "name": "size",
178
- "description": "",
179
- "default": "\"medium\"",
180
- "type": "\"medium\" | \"small\""
181
- },
182
- {
183
- "name": "lineColor",
184
- "description": "",
185
- "default": "\"var(--color-brand)\"",
186
- "type": "string"
187
- },
188
- {
189
- "name": "showArea",
190
- "type": "boolean"
191
- },
192
- {
193
- "name": "min",
194
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
195
- "type": "number"
196
- },
197
- {
198
- "name": "max",
199
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
200
- "type": "number"
201
- },
202
- {
203
- "name": "xField",
204
- "description": "",
205
- "default": "\"0\"",
206
- "type": "string"
207
- },
208
- {
209
- "name": "yField",
210
- "description": "",
211
- "default": "\"1\"",
212
- "type": "string"
213
- },
214
- {
215
- "name": "data",
216
- "attribute": false,
217
- "type": "Record<string, number>[]"
218
- }
219
- ],
220
- "events": [],
221
- "slots": [],
222
- "methods": [],
223
- "parts": [],
224
- "description": "构件 `ai-portal.stat-with-mini-chart`"
225
- },
226
160
  {
227
161
  "name": "ai-portal.elevo-sidebar",
228
162
  "properties": [
@@ -359,6 +293,20 @@
359
293
  "parts": [],
360
294
  "description": "构件 `ai-portal.elevo-sidebar`"
361
295
  },
296
+ {
297
+ "name": "ai-portal.home-container",
298
+ "properties": [
299
+ {
300
+ "name": "sticky",
301
+ "type": "boolean"
302
+ }
303
+ ],
304
+ "events": [],
305
+ "slots": [],
306
+ "methods": [],
307
+ "parts": [],
308
+ "description": "构件 `ai-portal.home-container`"
309
+ },
362
310
  {
363
311
  "name": "ai-portal.icon-button",
364
312
  "properties": [
@@ -382,6 +330,11 @@
382
330
  {
383
331
  "name": "variant",
384
332
  "type": "IconButtonVariant"
333
+ },
334
+ {
335
+ "name": "reduceIconSize",
336
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
337
+ "type": "boolean"
385
338
  }
386
339
  ],
387
340
  "events": [],
@@ -390,6 +343,67 @@
390
343
  "parts": [],
391
344
  "description": "构件 `ai-portal.icon-button`"
392
345
  },
346
+ {
347
+ "name": "ai-portal.stat-with-mini-chart",
348
+ "properties": [
349
+ {
350
+ "name": "label",
351
+ "type": "string"
352
+ },
353
+ {
354
+ "name": "value",
355
+ "type": "string"
356
+ },
357
+ {
358
+ "name": "size",
359
+ "description": "",
360
+ "default": "\"medium\"",
361
+ "type": "\"medium\" | \"small\""
362
+ },
363
+ {
364
+ "name": "lineColor",
365
+ "description": "",
366
+ "default": "\"var(--color-brand)\"",
367
+ "type": "string"
368
+ },
369
+ {
370
+ "name": "showArea",
371
+ "type": "boolean"
372
+ },
373
+ {
374
+ "name": "min",
375
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
376
+ "type": "number"
377
+ },
378
+ {
379
+ "name": "max",
380
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
381
+ "type": "number"
382
+ },
383
+ {
384
+ "name": "xField",
385
+ "description": "",
386
+ "default": "\"0\"",
387
+ "type": "string"
388
+ },
389
+ {
390
+ "name": "yField",
391
+ "description": "",
392
+ "default": "\"1\"",
393
+ "type": "string"
394
+ },
395
+ {
396
+ "name": "data",
397
+ "attribute": false,
398
+ "type": "Record<string, number>[]"
399
+ }
400
+ ],
401
+ "events": [],
402
+ "slots": [],
403
+ "methods": [],
404
+ "parts": [],
405
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
406
+ },
393
407
  {
394
408
  "name": "ai-portal.show-cases",
395
409
  "properties": [
@@ -409,6 +423,34 @@
409
423
  "parts": [],
410
424
  "description": "构件 `ai-portal.show-cases`"
411
425
  },
426
+ {
427
+ "name": "ai-portal.ai-employees",
428
+ "properties": [
429
+ {
430
+ "name": "list",
431
+ "attribute": false,
432
+ "type": "Employee[]"
433
+ },
434
+ {
435
+ "name": "industries",
436
+ "attribute": false,
437
+ "type": "string[]"
438
+ },
439
+ {
440
+ "name": "urlTemplate",
441
+ "type": "string"
442
+ },
443
+ {
444
+ "name": "stickyTop",
445
+ "type": "number"
446
+ }
447
+ ],
448
+ "events": [],
449
+ "slots": [],
450
+ "methods": [],
451
+ "parts": [],
452
+ "description": "构件 `ai-portal.ai-employees`"
453
+ },
412
454
  {
413
455
  "name": "ai-portal.mcp-tools",
414
456
  "properties": [
@@ -428,6 +470,31 @@
428
470
  "parts": [],
429
471
  "description": "构件 `ai-portal.mcp-tools`"
430
472
  },
473
+ {
474
+ "name": "ai-portal.ai-agents",
475
+ "properties": [
476
+ {
477
+ "name": "list",
478
+ "attribute": false,
479
+ "type": "Agent[]"
480
+ },
481
+ {
482
+ "name": "urlTemplate",
483
+ "type": "string"
484
+ },
485
+ {
486
+ "name": "withContainer",
487
+ "description": "",
488
+ "deprecated": true,
489
+ "default": "true"
490
+ }
491
+ ],
492
+ "events": [],
493
+ "slots": [],
494
+ "methods": [],
495
+ "parts": [],
496
+ "description": "构件 `ai-portal.ai-agents`"
497
+ },
431
498
  {
432
499
  "name": "ai-portal.chat-stream",
433
500
  "properties": [
@@ -503,19 +570,6 @@
503
570
  "name": "uploadOptions",
504
571
  "attribute": false,
505
572
  "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
573
  }
520
574
  ],
521
575
  "events": [
@@ -529,202 +583,59 @@
529
583
  "name": "terminate",
530
584
  "detail": {
531
585
  "type": "void"
532
- }
533
- },
534
- {
535
- "name": "feedback.submit",
536
- "detail": {
537
- "type": "FeedbackDetail"
538
- }
539
- },
540
- {
541
- "name": "feedback.on.view",
542
- "detail": {
543
- "type": "string"
544
- }
545
- },
546
- {
547
- "name": "ui.switch",
548
- "detail": {
549
- "type": "\"canvas\""
550
- }
551
- },
552
- {
553
- "name": "detail.change",
554
- "detail": {
555
- "type": "ConversationDetail"
556
- }
557
- },
558
- {
559
- "name": "mark.notices.read",
560
- "detail": {
561
- "type": "void"
562
- }
563
- },
564
- {
565
- "name": "notice.click",
566
- "detail": {
567
- "type": "NoticeItem"
568
- }
569
- }
570
- ],
571
- "slots": [],
572
- "methods": [
573
- {
574
- "name": "resumed",
575
- "params": []
576
- },
577
- {
578
- "name": "feedbackSubmitDone",
579
- "params": []
580
- },
581
- {
582
- "name": "feedbackSubmitFailed",
583
- "params": []
584
- },
585
- {
586
- "name": "feedbackOnViewDone",
587
- "params": [
588
- {
589
- "name": "viewId",
590
- "type": "string"
591
- }
592
- ]
593
- }
594
- ],
595
- "parts": [],
596
- "description": "构件 `ai-portal.chat-stream`"
597
- },
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[]"
586
+ }
672
587
  },
673
588
  {
674
- "name": "commands",
675
- "attribute": false,
676
- "type": "Command[]"
589
+ "name": "feedback.submit",
590
+ "detail": {
591
+ "type": "FeedbackDetail"
592
+ }
677
593
  },
678
594
  {
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",
595
+ "name": "feedback.on.view",
689
596
  "detail": {
690
597
  "type": "string"
691
598
  }
692
599
  },
693
600
  {
694
- "name": "chat.submit",
601
+ "name": "ui.switch",
695
602
  "detail": {
696
- "type": "ChatPayload"
603
+ "type": "\"canvas\""
697
604
  }
698
605
  },
699
606
  {
700
- "name": "command.select",
607
+ "name": "detail.change",
701
608
  "detail": {
702
- "type": "CommandPayload | null"
609
+ "type": "ConversationDetail"
703
610
  }
704
611
  }
705
612
  ],
706
613
  "slots": [],
707
614
  "methods": [
708
615
  {
709
- "name": "setValue",
710
- "params": [
711
- {
712
- "name": "value",
713
- "type": "string"
714
- }
715
- ]
616
+ "name": "resumed",
617
+ "params": []
716
618
  },
717
619
  {
718
- "name": "getValue",
620
+ "name": "feedbackSubmitDone",
719
621
  "params": []
720
622
  },
721
623
  {
722
- "name": "focusOnInput",
624
+ "name": "feedbackSubmitFailed",
723
625
  "params": []
626
+ },
627
+ {
628
+ "name": "feedbackOnViewDone",
629
+ "params": [
630
+ {
631
+ "name": "viewId",
632
+ "type": "string"
633
+ }
634
+ ]
724
635
  }
725
636
  ],
726
637
  "parts": [],
727
- "description": "构件 `ai-portal.chat-box`"
638
+ "description": "构件 `ai-portal.chat-stream`"
728
639
  },
729
640
  {
730
641
  "name": "ai-portal.page-container",
@@ -865,37 +776,99 @@
865
776
  "description": "构件 `ai-portal.dropdown-select`"
866
777
  },
867
778
  {
868
- "name": "ai-portal.preview-container",
779
+ "name": "ai-portal.chat-box",
869
780
  "properties": [
870
781
  {
871
- "name": "source",
872
- "attribute": false,
873
- "type": "string"
782
+ "name": "disabled",
783
+ "type": "boolean"
874
784
  },
875
785
  {
876
- "name": "url",
786
+ "name": "placeholder",
877
787
  "type": "string"
788
+ },
789
+ {
790
+ "name": "autoFocus",
791
+ "type": "boolean"
792
+ },
793
+ {
794
+ "name": "aiEmployees",
795
+ "attribute": false,
796
+ "type": "AIEmployee[]"
797
+ },
798
+ {
799
+ "name": "commands",
800
+ "attribute": false,
801
+ "type": "Command[]"
802
+ },
803
+ {
804
+ "name": "uploadOptions",
805
+ "attribute": false,
806
+ "type": "UploadOptions"
807
+ }
808
+ ],
809
+ "events": [
810
+ {
811
+ "name": "message.submit",
812
+ "description": "",
813
+ "deprecated": "Use `chat.submit` event instead",
814
+ "detail": {
815
+ "type": "string"
816
+ }
817
+ },
818
+ {
819
+ "name": "chat.submit",
820
+ "detail": {
821
+ "type": "ChatPayload"
822
+ }
823
+ },
824
+ {
825
+ "name": "command.select",
826
+ "detail": {
827
+ "type": "CommandPayload | null"
828
+ }
878
829
  }
879
830
  ],
880
- "events": [],
881
831
  "slots": [],
882
- "methods": [],
832
+ "methods": [
833
+ {
834
+ "name": "setValue",
835
+ "params": [
836
+ {
837
+ "name": "value",
838
+ "type": "string"
839
+ }
840
+ ]
841
+ },
842
+ {
843
+ "name": "getValue",
844
+ "params": []
845
+ },
846
+ {
847
+ "name": "focusOnInput",
848
+ "params": []
849
+ }
850
+ ],
883
851
  "parts": [],
884
- "description": "构件 `ai-portal.preview-container`"
852
+ "description": "构件 `ai-portal.chat-box`"
885
853
  },
886
854
  {
887
- "name": "ai-portal.home-container",
855
+ "name": "ai-portal.preview-container",
888
856
  "properties": [
889
857
  {
890
- "name": "sticky",
891
- "type": "boolean"
858
+ "name": "source",
859
+ "attribute": false,
860
+ "type": "string"
861
+ },
862
+ {
863
+ "name": "url",
864
+ "type": "string"
892
865
  }
893
866
  ],
894
867
  "events": [],
895
868
  "slots": [],
896
869
  "methods": [],
897
870
  "parts": [],
898
- "description": "构件 `ai-portal.home-container`"
871
+ "description": "构件 `ai-portal.preview-container`"
899
872
  },
900
873
  {
901
874
  "name": "ai-portal.action-buttons",
@@ -1223,37 +1196,6 @@
1223
1196
  "parts": [],
1224
1197
  "description": "构件 `ai-portal.sticky-container`"
1225
1198
  },
1226
- {
1227
- "name": "ai-portal.elevo-card",
1228
- "properties": [
1229
- {
1230
- "name": "cardTitle",
1231
- "type": "string"
1232
- },
1233
- {
1234
- "name": "description",
1235
- "type": "string"
1236
- },
1237
- {
1238
- "name": "url",
1239
- "type": "string"
1240
- },
1241
- {
1242
- "name": "avatar",
1243
- "attribute": false,
1244
- "type": "string | GeneralIconProps"
1245
- },
1246
- {
1247
- "name": "avatarType",
1248
- "type": "\"icon\" | \"image\""
1249
- }
1250
- ],
1251
- "events": [],
1252
- "slots": [],
1253
- "methods": [],
1254
- "parts": [],
1255
- "description": "构件 `ai-portal.elevo-card`"
1256
- },
1257
1199
  {
1258
1200
  "name": "ai-portal.flow-tabs",
1259
1201
  "properties": [
@@ -1466,9 +1408,104 @@
1466
1408
  "methods": [],
1467
1409
  "parts": [],
1468
1410
  "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1411
+ },
1412
+ {
1413
+ "name": "ai-portal.elevo-card",
1414
+ "properties": [
1415
+ {
1416
+ "name": "cardTitle",
1417
+ "type": "string"
1418
+ },
1419
+ {
1420
+ "name": "description",
1421
+ "type": "string"
1422
+ },
1423
+ {
1424
+ "name": "url",
1425
+ "type": "string"
1426
+ },
1427
+ {
1428
+ "name": "avatar",
1429
+ "attribute": false,
1430
+ "type": "string | GeneralIconProps"
1431
+ },
1432
+ {
1433
+ "name": "avatarType",
1434
+ "type": "\"icon\" | \"image\""
1435
+ }
1436
+ ],
1437
+ "events": [],
1438
+ "slots": [],
1439
+ "methods": [],
1440
+ "parts": [],
1441
+ "description": "构件 `ai-portal.elevo-card`"
1442
+ },
1443
+ {
1444
+ "name": "ai-portal.notice-list",
1445
+ "properties": [
1446
+ {
1447
+ "name": "dataSource",
1448
+ "description": "消息数据列表",
1449
+ "attribute": false,
1450
+ "type": "NoticeItem[]"
1451
+ },
1452
+ {
1453
+ "name": "emptyText",
1454
+ "description": "空状态文案",
1455
+ "type": "string"
1456
+ },
1457
+ {
1458
+ "name": "urlTemplate",
1459
+ "description": "详情链接",
1460
+ "type": "string"
1461
+ },
1462
+ {
1463
+ "name": "urlTarget",
1464
+ "description": "详情链接目标",
1465
+ "type": "Target"
1466
+ },
1467
+ {
1468
+ "name": "selectedIds",
1469
+ "description": "选中的消息 ID 数组",
1470
+ "attribute": false,
1471
+ "type": "string[]"
1472
+ }
1473
+ ],
1474
+ "events": [
1475
+ {
1476
+ "name": "notice.click",
1477
+ "description": "消息项点击事件",
1478
+ "detail": {
1479
+ "description": "消息项数据",
1480
+ "type": "NoticeItem"
1481
+ }
1482
+ },
1483
+ {
1484
+ "name": "mark.items.read",
1485
+ "description": "标记消息项已读事件",
1486
+ "detail": {
1487
+ "description": "选中的消息 ID 数组",
1488
+ "type": "NoticeItem[]"
1489
+ }
1490
+ },
1491
+ {
1492
+ "name": "mark.all.read",
1493
+ "description": "全部已读事件",
1494
+ "detail": {
1495
+ "type": "void"
1496
+ }
1497
+ }
1498
+ ],
1499
+ "slots": [],
1500
+ "methods": [],
1501
+ "parts": [],
1502
+ "description": "构件 `ai-portal.notice-list`\n\n消息通知列表构件,用于展示消息列表,支持批量操作"
1469
1503
  }
1470
1504
  ],
1471
1505
  "providers": [
1506
+ {
1507
+ "name": "ai-portal.call-tool"
1508
+ },
1472
1509
  {
1473
1510
  "name": "ai-portal.save-request-store"
1474
1511
  },
@@ -1478,9 +1515,6 @@
1478
1515
  {
1479
1516
  "name": "ai-portal.clear-request-store"
1480
1517
  },
1481
- {
1482
- "name": "ai-portal.call-tool"
1483
- },
1484
1518
  {
1485
1519
  "name": "ai-portal.set-chat-command"
1486
1520
  }