@next-bricks/ai-portal 0.56.2 → 0.57.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.
@@ -152,102 +152,6 @@
152
152
  "parts": [],
153
153
  "description": "构件 `ai-portal.cruise-canvas`"
154
154
  },
155
- {
156
- "name": "ai-portal.chat-box",
157
- "properties": [
158
- {
159
- "name": "disabled",
160
- "type": "boolean"
161
- },
162
- {
163
- "name": "placeholder",
164
- "type": "string"
165
- },
166
- {
167
- "name": "autoFocus",
168
- "type": "boolean"
169
- },
170
- {
171
- "name": "aiEmployees",
172
- "attribute": false,
173
- "type": "AIEmployee[]"
174
- },
175
- {
176
- "name": "commands",
177
- "attribute": false,
178
- "type": "Command[]"
179
- },
180
- {
181
- "name": "uploadFiles",
182
- "attribute": false,
183
- "type": "UploadFileOptions"
184
- }
185
- ],
186
- "events": [
187
- {
188
- "name": "message.submit",
189
- "description": "",
190
- "deprecated": "Use `chat.submit` event instead",
191
- "detail": {
192
- "type": "string"
193
- }
194
- },
195
- {
196
- "name": "chat.submit",
197
- "detail": {
198
- "type": "ChatPayload"
199
- }
200
- },
201
- {
202
- "name": "ai-employee.mention",
203
- "detail": {
204
- "type": "AIEmployee | null"
205
- }
206
- },
207
- {
208
- "name": "command.select",
209
- "detail": {
210
- "type": "CommandPayload | null"
211
- }
212
- }
213
- ],
214
- "slots": [],
215
- "methods": [
216
- {
217
- "name": "setValue",
218
- "params": [
219
- {
220
- "name": "value",
221
- "type": "string"
222
- }
223
- ]
224
- },
225
- {
226
- "name": "getValue",
227
- "params": []
228
- },
229
- {
230
- "name": "focusOnInput",
231
- "params": []
232
- }
233
- ],
234
- "parts": [],
235
- "description": "构件 `ai-portal.chat-box`"
236
- },
237
- {
238
- "name": "ai-portal.home-container",
239
- "properties": [
240
- {
241
- "name": "sticky",
242
- "type": "boolean"
243
- }
244
- ],
245
- "events": [],
246
- "slots": [],
247
- "methods": [],
248
- "parts": [],
249
- "description": "构件 `ai-portal.home-container`"
250
- },
251
155
  {
252
156
  "name": "ai-portal.stat-with-mini-chart",
253
157
  "properties": [
@@ -514,61 +418,6 @@
514
418
  "parts": [],
515
419
  "description": "构件 `ai-portal.mcp-tools`"
516
420
  },
517
- {
518
- "name": "ai-portal.ai-employees",
519
- "properties": [
520
- {
521
- "name": "list",
522
- "attribute": false,
523
- "type": "Employee[]"
524
- },
525
- {
526
- "name": "industries",
527
- "attribute": false,
528
- "type": "string[]"
529
- },
530
- {
531
- "name": "urlTemplate",
532
- "type": "string"
533
- },
534
- {
535
- "name": "withContainer",
536
- "description": "",
537
- "deprecated": true,
538
- "default": "true"
539
- }
540
- ],
541
- "events": [],
542
- "slots": [],
543
- "methods": [],
544
- "parts": [],
545
- "description": "构件 `ai-portal.ai-employees`"
546
- },
547
- {
548
- "name": "ai-portal.ai-agents",
549
- "properties": [
550
- {
551
- "name": "list",
552
- "attribute": false,
553
- "type": "Agent[]"
554
- },
555
- {
556
- "name": "urlTemplate",
557
- "type": "string"
558
- },
559
- {
560
- "name": "withContainer",
561
- "description": "",
562
- "deprecated": true,
563
- "default": "true"
564
- }
565
- ],
566
- "events": [],
567
- "slots": [],
568
- "methods": [],
569
- "parts": [],
570
- "description": "构件 `ai-portal.ai-agents`"
571
- },
572
421
  {
573
422
  "name": "ai-portal.chat-stream",
574
423
  "properties": [
@@ -706,6 +555,75 @@
706
555
  "parts": [],
707
556
  "description": "构件 `ai-portal.chat-stream`"
708
557
  },
558
+ {
559
+ "name": "ai-portal.ai-employees",
560
+ "properties": [
561
+ {
562
+ "name": "list",
563
+ "attribute": false,
564
+ "type": "Employee[]"
565
+ },
566
+ {
567
+ "name": "industries",
568
+ "attribute": false,
569
+ "type": "string[]"
570
+ },
571
+ {
572
+ "name": "urlTemplate",
573
+ "type": "string"
574
+ },
575
+ {
576
+ "name": "withContainer",
577
+ "description": "",
578
+ "deprecated": true,
579
+ "default": "true"
580
+ }
581
+ ],
582
+ "events": [],
583
+ "slots": [],
584
+ "methods": [],
585
+ "parts": [],
586
+ "description": "构件 `ai-portal.ai-employees`"
587
+ },
588
+ {
589
+ "name": "ai-portal.home-container",
590
+ "properties": [
591
+ {
592
+ "name": "sticky",
593
+ "type": "boolean"
594
+ }
595
+ ],
596
+ "events": [],
597
+ "slots": [],
598
+ "methods": [],
599
+ "parts": [],
600
+ "description": "构件 `ai-portal.home-container`"
601
+ },
602
+ {
603
+ "name": "ai-portal.ai-agents",
604
+ "properties": [
605
+ {
606
+ "name": "list",
607
+ "attribute": false,
608
+ "type": "Agent[]"
609
+ },
610
+ {
611
+ "name": "urlTemplate",
612
+ "type": "string"
613
+ },
614
+ {
615
+ "name": "withContainer",
616
+ "description": "",
617
+ "deprecated": true,
618
+ "default": "true"
619
+ }
620
+ ],
621
+ "events": [],
622
+ "slots": [],
623
+ "methods": [],
624
+ "parts": [],
625
+ "description": "构件 `ai-portal.ai-agents`"
626
+ },
709
627
  {
710
628
  "name": "ai-portal.page-container",
711
629
  "properties": [
@@ -751,6 +669,88 @@
751
669
  "parts": [],
752
670
  "description": "构件 `ai-portal.page-container`"
753
671
  },
672
+ {
673
+ "name": "ai-portal.chat-box",
674
+ "properties": [
675
+ {
676
+ "name": "disabled",
677
+ "type": "boolean"
678
+ },
679
+ {
680
+ "name": "placeholder",
681
+ "type": "string"
682
+ },
683
+ {
684
+ "name": "autoFocus",
685
+ "type": "boolean"
686
+ },
687
+ {
688
+ "name": "aiEmployees",
689
+ "attribute": false,
690
+ "type": "AIEmployee[]"
691
+ },
692
+ {
693
+ "name": "commands",
694
+ "attribute": false,
695
+ "type": "Command[]"
696
+ },
697
+ {
698
+ "name": "uploadFiles",
699
+ "attribute": false,
700
+ "type": "UploadFileOptions"
701
+ }
702
+ ],
703
+ "events": [
704
+ {
705
+ "name": "message.submit",
706
+ "description": "",
707
+ "deprecated": "Use `chat.submit` event instead",
708
+ "detail": {
709
+ "type": "string"
710
+ }
711
+ },
712
+ {
713
+ "name": "chat.submit",
714
+ "detail": {
715
+ "type": "ChatPayload"
716
+ }
717
+ },
718
+ {
719
+ "name": "ai-employee.mention",
720
+ "detail": {
721
+ "type": "AIEmployee | null"
722
+ }
723
+ },
724
+ {
725
+ "name": "command.select",
726
+ "detail": {
727
+ "type": "CommandPayload | null"
728
+ }
729
+ }
730
+ ],
731
+ "slots": [],
732
+ "methods": [
733
+ {
734
+ "name": "setValue",
735
+ "params": [
736
+ {
737
+ "name": "value",
738
+ "type": "string"
739
+ }
740
+ ]
741
+ },
742
+ {
743
+ "name": "getValue",
744
+ "params": []
745
+ },
746
+ {
747
+ "name": "focusOnInput",
748
+ "params": []
749
+ }
750
+ ],
751
+ "parts": [],
752
+ "description": "构件 `ai-portal.chat-box`"
753
+ },
754
754
  {
755
755
  "name": "ai-portal.tab-list",
756
756
  "properties": [
@@ -787,25 +787,6 @@
787
787
  ],
788
788
  "description": "构件 `ai-portal.tab-list`"
789
789
  },
790
- {
791
- "name": "ai-portal.preview-container",
792
- "properties": [
793
- {
794
- "name": "source",
795
- "attribute": false,
796
- "type": "string"
797
- },
798
- {
799
- "name": "url",
800
- "type": "string"
801
- }
802
- ],
803
- "events": [],
804
- "slots": [],
805
- "methods": [],
806
- "parts": [],
807
- "description": "构件 `ai-portal.preview-container`"
808
- },
809
790
  {
810
791
  "name": "ai-portal.dropdown-select",
811
792
  "properties": [
@@ -863,6 +844,51 @@
863
844
  "parts": [],
864
845
  "description": "构件 `ai-portal.dropdown-select`"
865
846
  },
847
+ {
848
+ "name": "ai-portal.preview-container",
849
+ "properties": [
850
+ {
851
+ "name": "source",
852
+ "attribute": false,
853
+ "type": "string"
854
+ },
855
+ {
856
+ "name": "url",
857
+ "type": "string"
858
+ }
859
+ ],
860
+ "events": [],
861
+ "slots": [],
862
+ "methods": [],
863
+ "parts": [],
864
+ "description": "构件 `ai-portal.preview-container`"
865
+ },
866
+ {
867
+ "name": "ai-portal.action-buttons",
868
+ "properties": [
869
+ {
870
+ "name": "items",
871
+ "attribute": false,
872
+ "type": "ActionItem[]"
873
+ },
874
+ {
875
+ "name": "activeKey",
876
+ "type": "string | null"
877
+ }
878
+ ],
879
+ "events": [
880
+ {
881
+ "name": "change",
882
+ "detail": {
883
+ "type": "ActionItem | null"
884
+ }
885
+ }
886
+ ],
887
+ "slots": [],
888
+ "methods": [],
889
+ "parts": [],
890
+ "description": "构件 `ai-portal.action-buttons`"
891
+ },
866
892
  {
867
893
  "name": "ai-portal.goal-card-list",
868
894
  "properties": [
@@ -968,32 +994,6 @@
968
994
  "parts": [],
969
995
  "description": "构件 `ai-portal.project-conversations`"
970
996
  },
971
- {
972
- "name": "ai-portal.action-buttons",
973
- "properties": [
974
- {
975
- "name": "items",
976
- "attribute": false,
977
- "type": "ActionItem[]"
978
- },
979
- {
980
- "name": "activeKey",
981
- "type": "string | null"
982
- }
983
- ],
984
- "events": [
985
- {
986
- "name": "change",
987
- "detail": {
988
- "type": "ActionItem | null"
989
- }
990
- }
991
- ],
992
- "slots": [],
993
- "methods": [],
994
- "parts": [],
995
- "description": "构件 `ai-portal.action-buttons`"
996
- },
997
997
  {
998
998
  "name": "ai-portal.project-knowledges",
999
999
  "properties": [
@@ -1050,6 +1050,15 @@
1050
1050
  "parts": [],
1051
1051
  "description": "构件 `ai-portal.activity-timeline`"
1052
1052
  },
1053
+ {
1054
+ "name": "ai-portal.elevo-logo",
1055
+ "properties": [],
1056
+ "events": [],
1057
+ "slots": [],
1058
+ "methods": [],
1059
+ "parts": [],
1060
+ "description": "构件 `ai-portal.elevo-logo`"
1061
+ },
1053
1062
  {
1054
1063
  "name": "ai-portal.chat-input",
1055
1064
  "properties": [
@@ -1093,15 +1102,6 @@
1093
1102
  "parts": [],
1094
1103
  "description": "构件 `ai-portal.chat-input`"
1095
1104
  },
1096
- {
1097
- "name": "ai-portal.elevo-logo",
1098
- "properties": [],
1099
- "events": [],
1100
- "slots": [],
1101
- "methods": [],
1102
- "parts": [],
1103
- "description": "构件 `ai-portal.elevo-logo`"
1104
- },
1105
1105
  {
1106
1106
  "name": "ai-portal.show-case",
1107
1107
  "properties": [
@@ -1346,12 +1346,83 @@
1346
1346
  "methods": [],
1347
1347
  "parts": [],
1348
1348
  "description": "构件 `ai-portal.running-flow`"
1349
+ },
1350
+ {
1351
+ "name": "ai-portal.notice-dropdown",
1352
+ "properties": [
1353
+ {
1354
+ "name": "dataSource",
1355
+ "description": "消息数据列表",
1356
+ "attribute": false,
1357
+ "type": "NoticeItem[]"
1358
+ },
1359
+ {
1360
+ "name": "popoverPlacement",
1361
+ "description": "弹窗位置",
1362
+ "type": "Placement"
1363
+ },
1364
+ {
1365
+ "name": "emptyText",
1366
+ "description": "空状态文案",
1367
+ "type": "string"
1368
+ },
1369
+ {
1370
+ "name": "notifyCenterUrl",
1371
+ "description": "通知中心URL",
1372
+ "type": "string"
1373
+ },
1374
+ {
1375
+ "name": "urlTemplate",
1376
+ "description": "详情链接",
1377
+ "type": "string"
1378
+ },
1379
+ {
1380
+ "name": "dropdownMaxWidth",
1381
+ "description": "下拉框最大宽度",
1382
+ "type": "string | number"
1383
+ },
1384
+ {
1385
+ "name": "dropdownContentStyle",
1386
+ "description": "下拉框内容样式",
1387
+ "attribute": false,
1388
+ "type": "React.CSSProperties"
1389
+ },
1390
+ {
1391
+ "name": "hideNotifyCenterButton",
1392
+ "description": "是否隐藏进入消息中心按钮",
1393
+ "type": "boolean"
1394
+ }
1395
+ ],
1396
+ "events": [
1397
+ {
1398
+ "name": "notice.click",
1399
+ "description": "消息项点击事件",
1400
+ "detail": {
1401
+ "description": "消息 ID",
1402
+ "type": "string"
1403
+ }
1404
+ },
1405
+ {
1406
+ "name": "mark.all.read",
1407
+ "description": "全部已读点击事件",
1408
+ "detail": {
1409
+ "type": "void"
1410
+ }
1411
+ }
1412
+ ],
1413
+ "slots": [],
1414
+ "methods": [],
1415
+ "parts": [],
1416
+ "description": "构件 `ai-portal.notice-dropdown`\n\n消息通知下拉框构件,用于展示消息列表"
1349
1417
  }
1350
1418
  ],
1351
1419
  "providers": [
1352
1420
  {
1353
1421
  "name": "ai-portal.call-tool"
1354
1422
  },
1423
+ {
1424
+ "name": "ai-portal.set-chat-command"
1425
+ },
1355
1426
  {
1356
1427
  "name": "ai-portal.save-request-store"
1357
1428
  },
@@ -1360,9 +1431,6 @@
1360
1431
  },
1361
1432
  {
1362
1433
  "name": "ai-portal.clear-request-store"
1363
- },
1364
- {
1365
- "name": "ai-portal.set-chat-command"
1366
1434
  }
1367
1435
  ]
1368
1436
  }