@next-bricks/ai-portal 0.58.14 → 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 (86) hide show
  1. package/dist/bricks.json +57 -51
  2. package/dist/chunks/2084.ddaad7cc.js +3 -0
  3. package/dist/chunks/2084.ddaad7cc.js.map +1 -0
  4. package/dist/chunks/{2232.d36de668.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-box.82360f9a.js → chat-box.2f9b10eb.js} +2 -2
  15. package/dist/chunks/chat-box.2f9b10eb.js.map +1 -0
  16. package/dist/chunks/chat-stream.713ffcaf.js +2 -0
  17. package/dist/chunks/chat-stream.713ffcaf.js.map +1 -0
  18. package/dist/chunks/cruise-canvas.b444c4ca.js +2 -0
  19. package/dist/chunks/cruise-canvas.b444c4ca.js.map +1 -0
  20. package/dist/chunks/elevo-sidebar.0d1f76dd.js +3 -0
  21. package/dist/chunks/elevo-sidebar.0d1f76dd.js.map +1 -0
  22. package/dist/chunks/{home-container.3e8a670e.js → home-container.f1829834.js} +2 -2
  23. package/dist/chunks/{home-container.3e8a670e.js.map → home-container.f1829834.js.map} +1 -1
  24. package/dist/chunks/icon-button.66d6d83a.js +2 -0
  25. package/dist/chunks/icon-button.66d6d83a.js.map +1 -0
  26. package/dist/chunks/main.a4c13164.js +2 -0
  27. package/dist/chunks/{main.fd954a08.js.map → main.a4c13164.js.map} +1 -1
  28. package/dist/chunks/{notice-dropdown.4d0fa5c5.js → notice-dropdown.c4604581.js} +2 -2
  29. package/dist/chunks/{notice-dropdown.4d0fa5c5.js.map → notice-dropdown.c4604581.js.map} +1 -1
  30. package/dist/chunks/notice-list.4eda2f51.js +3 -0
  31. package/dist/chunks/notice-list.4eda2f51.js.LICENSE.txt +5 -0
  32. package/dist/chunks/notice-list.4eda2f51.js.map +1 -0
  33. package/dist/chunks/page-container.570e7c6d.js +2 -0
  34. package/dist/chunks/{page-container.97947b50.js.map → page-container.570e7c6d.js.map} +1 -1
  35. package/dist/examples.json +26 -23
  36. package/dist/index.c707abd3.js +2 -0
  37. package/dist/index.c707abd3.js.map +1 -0
  38. package/dist/manifest.json +363 -329
  39. package/dist/types.json +787 -733
  40. package/dist-types/ai-employees/index.d.ts +2 -4
  41. package/dist-types/bootstrap.d.ts +1 -0
  42. package/dist-types/chat-box/index.d.ts +1 -0
  43. package/dist-types/chat-stream/ChatStream.d.ts +1 -4
  44. package/dist-types/chat-stream/index.d.ts +1 -7
  45. package/dist-types/cruise-canvas/CruiseCanvas.d.ts +1 -1
  46. package/dist-types/cruise-canvas/index.d.ts +0 -7
  47. package/dist-types/elevo-sidebar/bricks.d.ts +3 -1
  48. package/dist-types/icon-button/index.d.ts +2 -0
  49. package/dist-types/notice-dropdown/index.d.ts +1 -0
  50. package/dist-types/notice-list/i18n.d.ts +17 -0
  51. package/dist-types/notice-list/index.d.ts +43 -0
  52. package/dist-types/notice-list/index.spec.d.ts +1 -0
  53. package/dist-types/shared/TaskContext.d.ts +1 -0
  54. package/dist-types/shared/bricks.d.ts +0 -13
  55. package/dist-types/shared/interfaces.d.ts +2 -1
  56. package/dist-types/shared/useHandleEscape.d.ts +2 -0
  57. package/dist-types/shared/useHandleEscape.spec.d.ts +1 -0
  58. package/docs/notice-list.md +66 -0
  59. package/package.json +2 -2
  60. package/dist/chunks/151.0550e056.js +0 -2
  61. package/dist/chunks/151.0550e056.js.map +0 -1
  62. package/dist/chunks/2084.778e8126.js +0 -3
  63. package/dist/chunks/2084.778e8126.js.map +0 -1
  64. package/dist/chunks/2232.d36de668.js.map +0 -1
  65. package/dist/chunks/6811.805d3e28.js +0 -2
  66. package/dist/chunks/6811.805d3e28.js.map +0 -1
  67. package/dist/chunks/9496.065a4fc5.js +0 -2
  68. package/dist/chunks/9496.065a4fc5.js.map +0 -1
  69. package/dist/chunks/ai-employees.12986d4b.js +0 -3
  70. package/dist/chunks/ai-employees.12986d4b.js.map +0 -1
  71. package/dist/chunks/chat-box.82360f9a.js.map +0 -1
  72. package/dist/chunks/chat-stream.b713afed.js +0 -2
  73. package/dist/chunks/chat-stream.b713afed.js.map +0 -1
  74. package/dist/chunks/cruise-canvas.12cab553.js +0 -2
  75. package/dist/chunks/cruise-canvas.12cab553.js.map +0 -1
  76. package/dist/chunks/elevo-sidebar.dcdcd0e4.js +0 -3
  77. package/dist/chunks/elevo-sidebar.dcdcd0e4.js.map +0 -1
  78. package/dist/chunks/icon-button.ee06d4b6.js +0 -2
  79. package/dist/chunks/icon-button.ee06d4b6.js.map +0 -1
  80. package/dist/chunks/main.fd954a08.js +0 -2
  81. package/dist/chunks/page-container.97947b50.js +0 -2
  82. package/dist/index.6a630de6.js +0 -2
  83. package/dist/index.6a630de6.js.map +0 -1
  84. /package/dist/chunks/{2084.778e8126.js.LICENSE.txt → 2084.ddaad7cc.js.LICENSE.txt} +0 -0
  85. /package/dist/chunks/{ai-employees.12986d4b.js.LICENSE.txt → ai-employees.52fe4443.js.LICENSE.txt} +0 -0
  86. /package/dist/chunks/{elevo-sidebar.dcdcd0e4.js.LICENSE.txt → elevo-sidebar.0d1f76dd.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": [
@@ -163,65 +158,154 @@
163
158
  "description": "构件 `ai-portal.cruise-canvas`"
164
159
  },
165
160
  {
166
- "name": "ai-portal.stat-with-mini-chart",
161
+ "name": "ai-portal.elevo-sidebar",
167
162
  "properties": [
168
163
  {
169
- "name": "label",
164
+ "name": "userInstanceId",
170
165
  "type": "string"
171
166
  },
172
167
  {
173
- "name": "value",
174
- "type": "string"
168
+ "name": "behavior",
169
+ "type": "\"default\" | \"drawer\""
175
170
  },
176
171
  {
177
- "name": "size",
178
- "description": "",
179
- "default": "\"medium\"",
180
- "type": "\"medium\" | \"small\""
172
+ "name": "logoUrl",
173
+ "type": "string"
181
174
  },
182
175
  {
183
- "name": "lineColor",
184
- "description": "",
185
- "default": "\"var(--color-brand)\"",
176
+ "name": "newChatUrl",
186
177
  "type": "string"
187
178
  },
188
179
  {
189
- "name": "showArea",
180
+ "name": "newChatLinkWhenCollapsed",
190
181
  "type": "boolean"
191
182
  },
192
183
  {
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"
184
+ "name": "historyUrlTemplate",
185
+ "type": "string"
196
186
  },
197
187
  {
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"
188
+ "name": "historyActions",
189
+ "attribute": false,
190
+ "type": "ActionType[]"
201
191
  },
202
192
  {
203
- "name": "xField",
204
- "description": "",
205
- "default": "\"0\"",
193
+ "name": "projectUrlTemplate",
206
194
  "type": "string"
207
195
  },
208
196
  {
209
- "name": "yField",
210
- "description": "",
211
- "default": "\"1\"",
212
- "type": "string"
197
+ "name": "projectActions",
198
+ "attribute": false,
199
+ "type": "ActionType[]"
213
200
  },
214
201
  {
215
- "name": "data",
202
+ "name": "links",
216
203
  "attribute": false,
217
- "type": "Record<string, number>[]"
204
+ "type": "SidebarLink[]"
205
+ },
206
+ {
207
+ "name": "canAddProject",
208
+ "type": "boolean",
209
+ "default": "true"
210
+ },
211
+ {
212
+ "name": "myLinks",
213
+ "attribute": false,
214
+ "type": "SidebarLink[]"
215
+ }
216
+ ],
217
+ "events": [
218
+ {
219
+ "name": "logout",
220
+ "detail": {
221
+ "type": "void"
222
+ }
223
+ },
224
+ {
225
+ "name": "action.click",
226
+ "detail": {
227
+ "type": "ActionClickDetail"
228
+ }
229
+ },
230
+ {
231
+ "name": "project.action.click",
232
+ "detail": {
233
+ "type": "ProjectActionClickDetail"
234
+ }
235
+ },
236
+ {
237
+ "name": "add.project",
238
+ "detail": {
239
+ "type": "void"
240
+ }
241
+ }
242
+ ],
243
+ "slots": [],
244
+ "methods": [
245
+ {
246
+ "name": "pullHistory",
247
+ "params": [
248
+ {
249
+ "name": "delay",
250
+ "description": "Delay in milliseconds before pulling the latest chat history.",
251
+ "type": "number"
252
+ }
253
+ ],
254
+ "description": "",
255
+ "returns": {}
256
+ },
257
+ {
258
+ "name": "open",
259
+ "params": []
260
+ },
261
+ {
262
+ "name": "close",
263
+ "params": []
264
+ },
265
+ {
266
+ "name": "removeProject",
267
+ "params": [
268
+ {
269
+ "name": "projectId",
270
+ "type": "string"
271
+ }
272
+ ]
273
+ },
274
+ {
275
+ "name": "addProject",
276
+ "params": [
277
+ {
278
+ "name": "project",
279
+ "type": "Project"
280
+ }
281
+ ]
282
+ },
283
+ {
284
+ "name": "moveConversation",
285
+ "params": [
286
+ {
287
+ "name": "conversationId",
288
+ "type": "string"
289
+ }
290
+ ]
291
+ }
292
+ ],
293
+ "parts": [],
294
+ "description": "构件 `ai-portal.elevo-sidebar`"
295
+ },
296
+ {
297
+ "name": "ai-portal.home-container",
298
+ "properties": [
299
+ {
300
+ "name": "sticky",
301
+ "type": "boolean"
218
302
  }
219
303
  ],
220
304
  "events": [],
221
305
  "slots": [],
222
306
  "methods": [],
223
307
  "parts": [],
224
- "description": "构件 `ai-portal.stat-with-mini-chart`"
308
+ "description": "构件 `ai-portal.home-container`"
225
309
  },
226
310
  {
227
311
  "name": "ai-portal.icon-button",
@@ -246,6 +330,11 @@
246
330
  {
247
331
  "name": "variant",
248
332
  "type": "IconButtonVariant"
333
+ },
334
+ {
335
+ "name": "reduceIconSize",
336
+ "description": "是否缩小图标尺寸(部分 easyops 图标过大)",
337
+ "type": "boolean"
249
338
  }
250
339
  ],
251
340
  "events": [],
@@ -255,18 +344,65 @@
255
344
  "description": "构件 `ai-portal.icon-button`"
256
345
  },
257
346
  {
258
- "name": "ai-portal.home-container",
347
+ "name": "ai-portal.stat-with-mini-chart",
259
348
  "properties": [
260
349
  {
261
- "name": "sticky",
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",
262
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>[]"
263
399
  }
264
400
  ],
265
401
  "events": [],
266
402
  "slots": [],
267
403
  "methods": [],
268
404
  "parts": [],
269
- "description": "构件 `ai-portal.home-container`"
405
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
270
406
  },
271
407
  {
272
408
  "name": "ai-portal.show-cases",
@@ -288,12 +424,21 @@
288
424
  "description": "构件 `ai-portal.show-cases`"
289
425
  },
290
426
  {
291
- "name": "ai-portal.mcp-tools",
427
+ "name": "ai-portal.ai-employees",
292
428
  "properties": [
293
429
  {
294
430
  "name": "list",
295
431
  "attribute": false,
296
- "type": "McpTool[]"
432
+ "type": "Employee[]"
433
+ },
434
+ {
435
+ "name": "industries",
436
+ "attribute": false,
437
+ "type": "string[]"
438
+ },
439
+ {
440
+ "name": "urlTemplate",
441
+ "type": "string"
297
442
  },
298
443
  {
299
444
  "name": "stickyTop",
@@ -304,20 +449,34 @@
304
449
  "slots": [],
305
450
  "methods": [],
306
451
  "parts": [],
307
- "description": "构件 `ai-portal.mcp-tools`"
452
+ "description": "构件 `ai-portal.ai-employees`"
308
453
  },
309
454
  {
310
- "name": "ai-portal.ai-employees",
455
+ "name": "ai-portal.mcp-tools",
311
456
  "properties": [
312
457
  {
313
458
  "name": "list",
314
459
  "attribute": false,
315
- "type": "Employee[]"
460
+ "type": "McpTool[]"
316
461
  },
317
462
  {
318
- "name": "industries",
463
+ "name": "stickyTop",
464
+ "type": "number"
465
+ }
466
+ ],
467
+ "events": [],
468
+ "slots": [],
469
+ "methods": [],
470
+ "parts": [],
471
+ "description": "构件 `ai-portal.mcp-tools`"
472
+ },
473
+ {
474
+ "name": "ai-portal.ai-agents",
475
+ "properties": [
476
+ {
477
+ "name": "list",
319
478
  "attribute": false,
320
- "type": "string[]"
479
+ "type": "Agent[]"
321
480
  },
322
481
  {
323
482
  "name": "urlTemplate",
@@ -334,7 +493,7 @@
334
493
  "slots": [],
335
494
  "methods": [],
336
495
  "parts": [],
337
- "description": "构件 `ai-portal.ai-employees`"
496
+ "description": "构件 `ai-portal.ai-agents`"
338
497
  },
339
498
  {
340
499
  "name": "ai-portal.chat-stream",
@@ -411,19 +570,6 @@
411
570
  "name": "uploadOptions",
412
571
  "attribute": false,
413
572
  "type": "UploadOptions"
414
- },
415
- {
416
- "name": "notices",
417
- "attribute": false,
418
- "type": "NoticeItem[]"
419
- },
420
- {
421
- "name": "showNoticeIcon",
422
- "type": "boolean"
423
- },
424
- {
425
- "name": "noticeUrlTemplate",
426
- "type": "string"
427
573
  }
428
574
  ],
429
575
  "events": [
@@ -462,18 +608,6 @@
462
608
  "detail": {
463
609
  "type": "ConversationDetail"
464
610
  }
465
- },
466
- {
467
- "name": "mark.notices.read",
468
- "detail": {
469
- "type": "void"
470
- }
471
- },
472
- {
473
- "name": "notice.click",
474
- "detail": {
475
- "type": "NoticeItem"
476
- }
477
611
  }
478
612
  ],
479
613
  "slots": [],
@@ -503,31 +637,6 @@
503
637
  "parts": [],
504
638
  "description": "构件 `ai-portal.chat-stream`"
505
639
  },
506
- {
507
- "name": "ai-portal.ai-agents",
508
- "properties": [
509
- {
510
- "name": "list",
511
- "attribute": false,
512
- "type": "Agent[]"
513
- },
514
- {
515
- "name": "urlTemplate",
516
- "type": "string"
517
- },
518
- {
519
- "name": "withContainer",
520
- "description": "",
521
- "deprecated": true,
522
- "default": "true"
523
- }
524
- ],
525
- "events": [],
526
- "slots": [],
527
- "methods": [],
528
- "parts": [],
529
- "description": "构件 `ai-portal.ai-agents`"
530
- },
531
640
  {
532
641
  "name": "ai-portal.page-container",
533
642
  "properties": [
@@ -558,156 +667,20 @@
558
667
  "description": "文本内容"
559
668
  }
560
669
  ],
561
- "events": [],
562
- "slots": [
563
- {
564
- "name": null,
565
- "description": "内容"
566
- },
567
- {
568
- "name": "toolbar",
569
- "description": "工具栏"
570
- }
571
- ],
572
- "methods": [],
573
- "parts": [],
574
- "description": "构件 `ai-portal.page-container`"
575
- },
576
- {
577
- "name": "ai-portal.elevo-sidebar",
578
- "properties": [
579
- {
580
- "name": "userInstanceId",
581
- "type": "string"
582
- },
583
- {
584
- "name": "behavior",
585
- "type": "\"default\" | \"drawer\""
586
- },
587
- {
588
- "name": "logoUrl",
589
- "type": "string"
590
- },
591
- {
592
- "name": "newChatUrl",
593
- "type": "string"
594
- },
595
- {
596
- "name": "newChatLinkWhenCollapsed",
597
- "type": "boolean"
598
- },
599
- {
600
- "name": "historyUrlTemplate",
601
- "type": "string"
602
- },
603
- {
604
- "name": "historyActions",
605
- "attribute": false,
606
- "type": "ActionType[]"
607
- },
608
- {
609
- "name": "projectUrlTemplate",
610
- "type": "string"
611
- },
612
- {
613
- "name": "projectActions",
614
- "attribute": false,
615
- "type": "ActionType[]"
616
- },
617
- {
618
- "name": "links",
619
- "attribute": false,
620
- "type": "SidebarLink[]"
621
- },
622
- {
623
- "name": "canAddProject",
624
- "type": "boolean",
625
- "default": "true"
626
- },
627
- {
628
- "name": "myLinks",
629
- "attribute": false,
630
- "type": "SidebarLink[]"
631
- }
632
- ],
633
- "events": [
634
- {
635
- "name": "logout",
636
- "detail": {
637
- "type": "void"
638
- }
639
- },
640
- {
641
- "name": "action.click",
642
- "detail": {
643
- "type": "ActionClickDetail"
644
- }
645
- },
646
- {
647
- "name": "project.action.click",
648
- "detail": {
649
- "type": "ProjectActionClickDetail"
650
- }
651
- },
652
- {
653
- "name": "add.project",
654
- "detail": {
655
- "type": "void"
656
- }
657
- }
658
- ],
659
- "slots": [],
660
- "methods": [
661
- {
662
- "name": "pullHistory",
663
- "params": [
664
- {
665
- "name": "delay",
666
- "description": "Delay in milliseconds before pulling the latest chat history.",
667
- "type": "number"
668
- }
669
- ],
670
- "description": "",
671
- "returns": {}
672
- },
673
- {
674
- "name": "open",
675
- "params": []
676
- },
677
- {
678
- "name": "close",
679
- "params": []
680
- },
681
- {
682
- "name": "removeProject",
683
- "params": [
684
- {
685
- "name": "projectId",
686
- "type": "string"
687
- }
688
- ]
689
- },
670
+ "events": [],
671
+ "slots": [
690
672
  {
691
- "name": "addProject",
692
- "params": [
693
- {
694
- "name": "project",
695
- "type": "Project"
696
- }
697
- ]
673
+ "name": null,
674
+ "description": "内容"
698
675
  },
699
676
  {
700
- "name": "moveConversation",
701
- "params": [
702
- {
703
- "name": "conversationId",
704
- "type": "string"
705
- }
706
- ]
677
+ "name": "toolbar",
678
+ "description": "工具栏"
707
679
  }
708
680
  ],
681
+ "methods": [],
709
682
  "parts": [],
710
- "description": "构件 `ai-portal.elevo-sidebar`"
683
+ "description": "构件 `ai-portal.page-container`"
711
684
  },
712
685
  {
713
686
  "name": "ai-portal.tab-list",
@@ -802,25 +775,6 @@
802
775
  "parts": [],
803
776
  "description": "构件 `ai-portal.dropdown-select`"
804
777
  },
805
- {
806
- "name": "ai-portal.preview-container",
807
- "properties": [
808
- {
809
- "name": "source",
810
- "attribute": false,
811
- "type": "string"
812
- },
813
- {
814
- "name": "url",
815
- "type": "string"
816
- }
817
- ],
818
- "events": [],
819
- "slots": [],
820
- "methods": [],
821
- "parts": [],
822
- "description": "构件 `ai-portal.preview-container`"
823
- },
824
778
  {
825
779
  "name": "ai-portal.chat-box",
826
780
  "properties": [
@@ -897,6 +851,25 @@
897
851
  "parts": [],
898
852
  "description": "构件 `ai-portal.chat-box`"
899
853
  },
854
+ {
855
+ "name": "ai-portal.preview-container",
856
+ "properties": [
857
+ {
858
+ "name": "source",
859
+ "attribute": false,
860
+ "type": "string"
861
+ },
862
+ {
863
+ "name": "url",
864
+ "type": "string"
865
+ }
866
+ ],
867
+ "events": [],
868
+ "slots": [],
869
+ "methods": [],
870
+ "parts": [],
871
+ "description": "构件 `ai-portal.preview-container`"
872
+ },
900
873
  {
901
874
  "name": "ai-portal.action-buttons",
902
875
  "properties": [
@@ -987,12 +960,12 @@
987
960
  "description": "构件 `ai-portal.goal-card-list`"
988
961
  },
989
962
  {
990
- "name": "ai-portal.project-knowledges",
963
+ "name": "ai-portal.project-conversations",
991
964
  "properties": [
992
965
  {
993
966
  "name": "list",
994
967
  "attribute": false,
995
- "type": "Knowledge[]"
968
+ "type": "Conversation[]"
996
969
  },
997
970
  {
998
971
  "name": "urlTemplate",
@@ -1002,53 +975,39 @@
1002
975
  "name": "actions",
1003
976
  "attribute": false,
1004
977
  "type": "ActionType[]"
978
+ },
979
+ {
980
+ "name": "goals",
981
+ "attribute": false,
982
+ "type": "Goal[]"
1005
983
  }
1006
984
  ],
1007
985
  "events": [
1008
986
  {
1009
- "name": "action.click",
987
+ "name": "goal.click",
1010
988
  "detail": {
1011
- "type": "ActionClickDetail"
989
+ "type": "Conversation"
1012
990
  }
1013
991
  },
1014
992
  {
1015
- "name": "item.click",
993
+ "name": "action.click",
1016
994
  "detail": {
1017
- "type": "Knowledge"
995
+ "type": "ActionClickDetail"
1018
996
  }
1019
997
  }
1020
998
  ],
1021
999
  "slots": [],
1022
1000
  "methods": [],
1023
1001
  "parts": [],
1024
- "description": "构件 `ai-portal.project-knowledges`"
1025
- },
1026
- {
1027
- "name": "ai-portal.activity-timeline",
1028
- "properties": [
1029
- {
1030
- "name": "list",
1031
- "attribute": false,
1032
- "type": "Activity[]"
1033
- },
1034
- {
1035
- "name": "chatUrlTemplate",
1036
- "type": "string"
1037
- }
1038
- ],
1039
- "events": [],
1040
- "slots": [],
1041
- "methods": [],
1042
- "parts": [],
1043
- "description": "构件 `ai-portal.activity-timeline`"
1002
+ "description": "构件 `ai-portal.project-conversations`"
1044
1003
  },
1045
1004
  {
1046
- "name": "ai-portal.project-conversations",
1005
+ "name": "ai-portal.project-knowledges",
1047
1006
  "properties": [
1048
1007
  {
1049
1008
  "name": "list",
1050
1009
  "attribute": false,
1051
- "type": "Conversation[]"
1010
+ "type": "Knowledge[]"
1052
1011
  },
1053
1012
  {
1054
1013
  "name": "urlTemplate",
@@ -1058,40 +1017,45 @@
1058
1017
  "name": "actions",
1059
1018
  "attribute": false,
1060
1019
  "type": "ActionType[]"
1061
- },
1062
- {
1063
- "name": "goals",
1064
- "attribute": false,
1065
- "type": "Goal[]"
1066
1020
  }
1067
1021
  ],
1068
1022
  "events": [
1069
1023
  {
1070
- "name": "goal.click",
1024
+ "name": "action.click",
1071
1025
  "detail": {
1072
- "type": "Conversation"
1026
+ "type": "ActionClickDetail"
1073
1027
  }
1074
1028
  },
1075
1029
  {
1076
- "name": "action.click",
1030
+ "name": "item.click",
1077
1031
  "detail": {
1078
- "type": "ActionClickDetail"
1032
+ "type": "Knowledge"
1079
1033
  }
1080
1034
  }
1081
1035
  ],
1082
1036
  "slots": [],
1083
1037
  "methods": [],
1084
1038
  "parts": [],
1085
- "description": "构件 `ai-portal.project-conversations`"
1039
+ "description": "构件 `ai-portal.project-knowledges`"
1086
1040
  },
1087
1041
  {
1088
- "name": "ai-portal.elevo-logo",
1089
- "properties": [],
1042
+ "name": "ai-portal.activity-timeline",
1043
+ "properties": [
1044
+ {
1045
+ "name": "list",
1046
+ "attribute": false,
1047
+ "type": "Activity[]"
1048
+ },
1049
+ {
1050
+ "name": "chatUrlTemplate",
1051
+ "type": "string"
1052
+ }
1053
+ ],
1090
1054
  "events": [],
1091
1055
  "slots": [],
1092
1056
  "methods": [],
1093
1057
  "parts": [],
1094
- "description": "构件 `ai-portal.elevo-logo`"
1058
+ "description": "构件 `ai-portal.activity-timeline`"
1095
1059
  },
1096
1060
  {
1097
1061
  "name": "ai-portal.chat-input",
@@ -1149,6 +1113,15 @@
1149
1113
  "parts": [],
1150
1114
  "description": "构件 `ai-portal.chat-input`"
1151
1115
  },
1116
+ {
1117
+ "name": "ai-portal.elevo-logo",
1118
+ "properties": [],
1119
+ "events": [],
1120
+ "slots": [],
1121
+ "methods": [],
1122
+ "parts": [],
1123
+ "description": "构件 `ai-portal.elevo-logo`"
1124
+ },
1152
1125
  {
1153
1126
  "name": "ai-portal.show-case",
1154
1127
  "properties": [
@@ -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,6 +1408,98 @@
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": [