@next-bricks/ai-portal 0.46.2 → 0.47.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 (157) hide show
  1. package/dist/bricks.json +27 -23
  2. package/dist/chunks/114.af61e48a.js +2 -0
  3. package/dist/chunks/{114.86e10cdd.js.map → 114.af61e48a.js.map} +1 -1
  4. package/dist/chunks/{161.a114c103.js → 161.6c50f07c.js} +3 -3
  5. package/dist/chunks/{161.a114c103.js.map → 161.6c50f07c.js.map} +1 -1
  6. package/dist/chunks/1692.fc5b8118.js +2 -0
  7. package/dist/chunks/1692.fc5b8118.js.map +1 -0
  8. package/dist/chunks/1889.b7766f77.js +2 -0
  9. package/dist/chunks/1889.b7766f77.js.map +1 -0
  10. package/dist/chunks/3151.d1fdecfb.js +3 -0
  11. package/dist/chunks/3151.d1fdecfb.js.map +1 -0
  12. package/dist/chunks/{3171.f486ac82.js → 3171.a4a34e43.js} +2 -2
  13. package/dist/chunks/{3171.f486ac82.js.map → 3171.a4a34e43.js.map} +1 -1
  14. package/dist/chunks/{3744.327905d1.js → 3744.8d040aaa.js} +2 -2
  15. package/dist/chunks/{3744.327905d1.js.map → 3744.8d040aaa.js.map} +1 -1
  16. package/dist/chunks/{4228.fb9278c3.js → 4228.ea602510.js} +2 -2
  17. package/dist/chunks/{4228.fb9278c3.js.map → 4228.ea602510.js.map} +1 -1
  18. package/dist/chunks/4306.9e8251b7.js +2 -0
  19. package/dist/chunks/4306.9e8251b7.js.map +1 -0
  20. package/dist/chunks/{7146.c0ae3b12.js → 4765.f5f33140.js} +2 -2
  21. package/dist/chunks/{7146.c0ae3b12.js.map → 4765.f5f33140.js.map} +1 -1
  22. package/dist/chunks/{4837.e8c87fc9.js → 4837.d70e4d5f.js} +2 -2
  23. package/dist/chunks/{9599.ffd509c6.js.map → 4837.d70e4d5f.js.map} +1 -1
  24. package/dist/chunks/495.8b4a1756.js +2 -0
  25. package/dist/chunks/495.8b4a1756.js.map +1 -0
  26. package/dist/chunks/{5552.57a9edba.js → 5552.39ed2457.js} +2 -2
  27. package/dist/chunks/{5552.57a9edba.js.map → 5552.39ed2457.js.map} +1 -1
  28. package/dist/chunks/{6530.dd7ab536.js → 6530.3c295a95.js} +2 -2
  29. package/dist/chunks/6530.3c295a95.js.map +1 -0
  30. package/dist/chunks/{4765.ae81ae59.js → 7146.6cc7fa79.js} +2 -2
  31. package/dist/chunks/{4765.ae81ae59.js.map → 7146.6cc7fa79.js.map} +1 -1
  32. package/dist/chunks/7431.9dd045ca.js +3 -0
  33. package/dist/chunks/{7431.23127b05.js.map → 7431.9dd045ca.js.map} +1 -1
  34. package/dist/chunks/7570.62513e32.js +2 -0
  35. package/dist/chunks/{7570.708bdafd.js.map → 7570.62513e32.js.map} +1 -1
  36. package/dist/chunks/7733.dbb66cbc.js +2 -0
  37. package/dist/chunks/{7733.0615ed85.js.map → 7733.dbb66cbc.js.map} +1 -1
  38. package/dist/chunks/{8882.30a26232.js → 8882.1dd288fd.js} +3 -3
  39. package/dist/chunks/{8882.30a26232.js.map → 8882.1dd288fd.js.map} +1 -1
  40. package/dist/chunks/9328.b23938c7.js +2 -0
  41. package/dist/chunks/9328.b23938c7.js.map +1 -0
  42. package/dist/chunks/{9474.094511f1.js → 9474.59a27cc1.js} +2 -2
  43. package/dist/chunks/9474.59a27cc1.js.map +1 -0
  44. package/dist/chunks/948.85b663ec.js +3 -0
  45. package/dist/chunks/948.85b663ec.js.map +1 -0
  46. package/dist/chunks/{9599.ffd509c6.js → 9599.8bf50b3b.js} +2 -2
  47. package/dist/chunks/{4837.e8c87fc9.js.map → 9599.8bf50b3b.js.map} +1 -1
  48. package/dist/chunks/action-buttons.52180d20.js +2 -0
  49. package/dist/chunks/{action-buttons.e4dbe352.js.map → action-buttons.52180d20.js.map} +1 -1
  50. package/dist/chunks/{activity-timeline.5ea5526f.js → activity-timeline.0c683db9.js} +2 -2
  51. package/dist/chunks/{activity-timeline.5ea5526f.js.map → activity-timeline.0c683db9.js.map} +1 -1
  52. package/dist/chunks/{ai-agents.8bc0db39.js → ai-agents.4b5985d1.js} +3 -3
  53. package/dist/chunks/{ai-agents.8bc0db39.js.map → ai-agents.4b5985d1.js.map} +1 -1
  54. package/dist/chunks/ai-employees.10893372.js +3 -0
  55. package/dist/chunks/{ai-employees.b4cfaf9c.js.map → ai-employees.10893372.js.map} +1 -1
  56. package/dist/chunks/{call-tool.45c76c9a.js → call-tool.1be50464.js} +2 -2
  57. package/dist/chunks/{call-tool.45c76c9a.js.map → call-tool.1be50464.js.map} +1 -1
  58. package/dist/chunks/chat-box.57a9d3ec.js +2 -0
  59. package/dist/chunks/{chat-box.0e8ed3b2.js.map → chat-box.57a9d3ec.js.map} +1 -1
  60. package/dist/chunks/chat-input.6e8da9e5.js +3 -0
  61. package/dist/chunks/{chat-input.2bf76ff7.js.map → chat-input.6e8da9e5.js.map} +1 -1
  62. package/dist/chunks/chat-stream.596a9cf9.js +2 -0
  63. package/dist/chunks/{chat-stream.40fc8941.js.map → chat-stream.596a9cf9.js.map} +1 -1
  64. package/dist/chunks/cruise-canvas.5cd0f774.js +2 -0
  65. package/dist/chunks/{cruise-canvas.f84b9094.js.map → cruise-canvas.5cd0f774.js.map} +1 -1
  66. package/dist/chunks/{dropdown-select.3c0cd96d.js → dropdown-select.3b1915db.js} +2 -2
  67. package/dist/chunks/{dropdown-select.3c0cd96d.js.map → dropdown-select.3b1915db.js.map} +1 -1
  68. package/dist/chunks/{elevo-logo.dc137a3c.js → elevo-logo.93d0f4ab.js} +2 -2
  69. package/dist/chunks/{elevo-logo.dc137a3c.js.map → elevo-logo.93d0f4ab.js.map} +1 -1
  70. package/dist/chunks/{elevo-sidebar.6f74b954.js → elevo-sidebar.877ac231.js} +3 -3
  71. package/dist/chunks/{elevo-sidebar.6f74b954.js.map → elevo-sidebar.877ac231.js.map} +1 -1
  72. package/dist/chunks/goal-card-list.7b4a6342.js +3 -0
  73. package/dist/chunks/{goal-card-list.a9057f02.js.map → goal-card-list.7b4a6342.js.map} +1 -1
  74. package/dist/chunks/{home-container.211ba989.js → home-container.1866b2fa.js} +2 -2
  75. package/dist/chunks/{home-container.211ba989.js.map → home-container.1866b2fa.js.map} +1 -1
  76. package/dist/chunks/{icon-button.1f657055.js → icon-button.1ac30b57.js} +2 -2
  77. package/dist/chunks/{icon-button.1f657055.js.map → icon-button.1ac30b57.js.map} +1 -1
  78. package/dist/chunks/{load-request-store.eb92f754.js → load-request-store.0229141e.js} +2 -2
  79. package/dist/chunks/{load-request-store.eb92f754.js.map → load-request-store.0229141e.js.map} +1 -1
  80. package/dist/chunks/main.83b93022.js +2 -0
  81. package/dist/chunks/{main.0a194943.js.map → main.83b93022.js.map} +1 -1
  82. package/dist/chunks/{mcp-tools.457ff64a.js → mcp-tools.028e5150.js} +2 -2
  83. package/dist/chunks/{mcp-tools.457ff64a.js.map → mcp-tools.028e5150.js.map} +1 -1
  84. package/dist/chunks/{page-container.099db5b9.js → page-container.5da7bbb4.js} +2 -2
  85. package/dist/chunks/{page-container.099db5b9.js.map → page-container.5da7bbb4.js.map} +1 -1
  86. package/dist/chunks/{preview-container.bbde74aa.js → preview-container.6aa7058b.js} +2 -2
  87. package/dist/chunks/{preview-container.bbde74aa.js.map → preview-container.6aa7058b.js.map} +1 -1
  88. package/dist/chunks/project-conversations.5326be22.js +3 -0
  89. package/dist/chunks/{project-conversations.e525349e.js.map → project-conversations.5326be22.js.map} +1 -1
  90. package/dist/chunks/{project-knowledges.e5845df3.js → project-knowledges.7c8e9b0c.js} +3 -3
  91. package/dist/chunks/{project-knowledges.e5845df3.js.map → project-knowledges.7c8e9b0c.js.map} +1 -1
  92. package/dist/chunks/show-case.47b40ba3.js +2 -0
  93. package/dist/chunks/{show-case.e7d8f1a7.js.map → show-case.47b40ba3.js.map} +1 -1
  94. package/dist/chunks/show-cases.5dcf60c0.js +2 -0
  95. package/dist/chunks/{show-cases.b26fafd9.js.map → show-cases.5dcf60c0.js.map} +1 -1
  96. package/dist/chunks/stat-with-mini-chart.c9fde80c.js +2 -0
  97. package/dist/chunks/{stat-with-mini-chart.0c308dd8.js.map → stat-with-mini-chart.c9fde80c.js.map} +1 -1
  98. package/dist/chunks/tab-list.2cbcb36a.js +3 -0
  99. package/dist/chunks/{tab-list.acfe1ff4.js.map → tab-list.2cbcb36a.js.map} +1 -1
  100. package/dist/examples.json +6 -6
  101. package/dist/index.5606be01.js +2 -0
  102. package/dist/index.5606be01.js.map +1 -0
  103. package/dist/manifest.json +215 -215
  104. package/dist/types.json +104 -104
  105. package/dist-types/shared/MarkdownPre.d.ts +5 -0
  106. package/dist-types/shared/bricks.d.ts +2 -0
  107. package/package.json +3 -3
  108. package/dist/chunks/103.8b767f50.js +0 -3
  109. package/dist/chunks/103.8b767f50.js.map +0 -1
  110. package/dist/chunks/114.86e10cdd.js +0 -2
  111. package/dist/chunks/1889.218ea7ea.js +0 -2
  112. package/dist/chunks/1889.218ea7ea.js.map +0 -1
  113. package/dist/chunks/4306.bae21d5d.js +0 -2
  114. package/dist/chunks/4306.bae21d5d.js.map +0 -1
  115. package/dist/chunks/495.ab513dc5.js +0 -2
  116. package/dist/chunks/495.ab513dc5.js.map +0 -1
  117. package/dist/chunks/6530.dd7ab536.js.map +0 -1
  118. package/dist/chunks/7431.23127b05.js +0 -3
  119. package/dist/chunks/7570.708bdafd.js +0 -2
  120. package/dist/chunks/7733.0615ed85.js +0 -2
  121. package/dist/chunks/7954.c1753f33.js +0 -2
  122. package/dist/chunks/7954.c1753f33.js.map +0 -1
  123. package/dist/chunks/9140.8e69fcb4.js +0 -3
  124. package/dist/chunks/9140.8e69fcb4.js.map +0 -1
  125. package/dist/chunks/9328.c93d9ac1.js +0 -2
  126. package/dist/chunks/9328.c93d9ac1.js.map +0 -1
  127. package/dist/chunks/9474.094511f1.js.map +0 -1
  128. package/dist/chunks/action-buttons.e4dbe352.js +0 -2
  129. package/dist/chunks/ai-employees.b4cfaf9c.js +0 -3
  130. package/dist/chunks/chat-box.0e8ed3b2.js +0 -2
  131. package/dist/chunks/chat-input.2bf76ff7.js +0 -3
  132. package/dist/chunks/chat-stream.40fc8941.js +0 -2
  133. package/dist/chunks/cruise-canvas.f84b9094.js +0 -2
  134. package/dist/chunks/goal-card-list.a9057f02.js +0 -3
  135. package/dist/chunks/main.0a194943.js +0 -2
  136. package/dist/chunks/project-conversations.e525349e.js +0 -3
  137. package/dist/chunks/show-case.e7d8f1a7.js +0 -2
  138. package/dist/chunks/show-cases.b26fafd9.js +0 -2
  139. package/dist/chunks/stat-with-mini-chart.0c308dd8.js +0 -2
  140. package/dist/chunks/tab-list.acfe1ff4.js +0 -3
  141. package/dist/index.0ebd0c2a.js +0 -2
  142. package/dist/index.0ebd0c2a.js.map +0 -1
  143. package/dist-types/cruise-canvas/CodeBlock/CodeBlock.d.ts +0 -5
  144. package/dist-types/shared/CodeDisplay.d.ts +0 -12
  145. /package/dist/chunks/{161.a114c103.js.LICENSE.txt → 161.6c50f07c.js.LICENSE.txt} +0 -0
  146. /package/dist/chunks/{103.8b767f50.js.LICENSE.txt → 3151.d1fdecfb.js.LICENSE.txt} +0 -0
  147. /package/dist/chunks/{7431.23127b05.js.LICENSE.txt → 7431.9dd045ca.js.LICENSE.txt} +0 -0
  148. /package/dist/chunks/{8882.30a26232.js.LICENSE.txt → 8882.1dd288fd.js.LICENSE.txt} +0 -0
  149. /package/dist/chunks/{9140.8e69fcb4.js.LICENSE.txt → 948.85b663ec.js.LICENSE.txt} +0 -0
  150. /package/dist/chunks/{ai-agents.8bc0db39.js.LICENSE.txt → ai-agents.4b5985d1.js.LICENSE.txt} +0 -0
  151. /package/dist/chunks/{ai-employees.b4cfaf9c.js.LICENSE.txt → ai-employees.10893372.js.LICENSE.txt} +0 -0
  152. /package/dist/chunks/{chat-input.2bf76ff7.js.LICENSE.txt → chat-input.6e8da9e5.js.LICENSE.txt} +0 -0
  153. /package/dist/chunks/{elevo-sidebar.6f74b954.js.LICENSE.txt → elevo-sidebar.877ac231.js.LICENSE.txt} +0 -0
  154. /package/dist/chunks/{goal-card-list.a9057f02.js.LICENSE.txt → goal-card-list.7b4a6342.js.LICENSE.txt} +0 -0
  155. /package/dist/chunks/{project-conversations.e525349e.js.LICENSE.txt → project-conversations.5326be22.js.LICENSE.txt} +0 -0
  156. /package/dist/chunks/{project-knowledges.e5845df3.js.LICENSE.txt → project-knowledges.7c8e9b0c.js.LICENSE.txt} +0 -0
  157. /package/dist/chunks/{tab-list.acfe1ff4.js.LICENSE.txt → tab-list.2cbcb36a.js.LICENSE.txt} +0 -0
@@ -3,6 +3,151 @@
3
3
  "package": "@next-bricks/ai-portal",
4
4
  "name": "ai-portal",
5
5
  "bricks": [
6
+ {
7
+ "name": "ai-portal.cruise-canvas",
8
+ "properties": [
9
+ {
10
+ "name": "conversationId",
11
+ "type": "string"
12
+ },
13
+ {
14
+ "name": "initialRequest",
15
+ "description": "初始请求数据。仅初始设置有效。",
16
+ "attribute": false,
17
+ "type": "RequestStore | null"
18
+ },
19
+ {
20
+ "name": "replay",
21
+ "description": "是否启用回放。仅初始设置有效。",
22
+ "type": "boolean"
23
+ },
24
+ {
25
+ "name": "replayDelay",
26
+ "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
27
+ "default": "2",
28
+ "type": "number"
29
+ },
30
+ {
31
+ "name": "supports",
32
+ "attribute": false,
33
+ "type": "Record<string, boolean>"
34
+ },
35
+ {
36
+ "name": "showHiddenJobs",
37
+ "type": "boolean"
38
+ },
39
+ {
40
+ "name": "showHumanActions",
41
+ "type": "boolean"
42
+ },
43
+ {
44
+ "name": "showFeedback",
45
+ "type": "boolean"
46
+ },
47
+ {
48
+ "name": "showFeedbackAfterFailed",
49
+ "type": "boolean"
50
+ },
51
+ {
52
+ "name": "showFeedbackOnView",
53
+ "type": "boolean"
54
+ },
55
+ {
56
+ "name": "showUiSwitch",
57
+ "type": "boolean"
58
+ },
59
+ {
60
+ "name": "hideMermaid",
61
+ "type": "boolean"
62
+ },
63
+ {
64
+ "name": "showJsxEditor",
65
+ "type": "boolean"
66
+ },
67
+ {
68
+ "name": "previewUrlTemplate",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "name": "showCases",
73
+ "attribute": false,
74
+ "type": "ShowCaseType[]"
75
+ },
76
+ {
77
+ "name": "exampleProjects",
78
+ "attribute": false,
79
+ "type": "ExampleProject[]"
80
+ },
81
+ {
82
+ "name": "tryItOutUrl",
83
+ "type": "string"
84
+ }
85
+ ],
86
+ "events": [
87
+ {
88
+ "name": "share",
89
+ "detail": {
90
+ "type": "void"
91
+ }
92
+ },
93
+ {
94
+ "name": "terminate",
95
+ "detail": {
96
+ "type": "void"
97
+ }
98
+ },
99
+ {
100
+ "name": "feedback.submit",
101
+ "detail": {
102
+ "type": "FeedbackDetail"
103
+ }
104
+ },
105
+ {
106
+ "name": "feedback.on.view",
107
+ "detail": {
108
+ "type": "string"
109
+ }
110
+ },
111
+ {
112
+ "name": "ui.switch",
113
+ "detail": {
114
+ "type": "\"chat\""
115
+ }
116
+ },
117
+ {
118
+ "name": "detail.change",
119
+ "detail": {
120
+ "type": "ConversationDetail"
121
+ }
122
+ }
123
+ ],
124
+ "slots": [],
125
+ "methods": [
126
+ {
127
+ "name": "resumed",
128
+ "params": []
129
+ },
130
+ {
131
+ "name": "feedbackSubmitDone",
132
+ "params": []
133
+ },
134
+ {
135
+ "name": "feedbackSubmitFailed",
136
+ "params": []
137
+ },
138
+ {
139
+ "name": "feedbackOnViewDone",
140
+ "params": [
141
+ {
142
+ "name": "viewId",
143
+ "type": "string"
144
+ }
145
+ ]
146
+ }
147
+ ],
148
+ "parts": [],
149
+ "description": "构件 `ai-portal.cruise-canvas`"
150
+ },
6
151
  {
7
152
  "name": "ai-portal.chat-box",
8
153
  "properties": [
@@ -57,6 +202,76 @@
57
202
  "parts": [],
58
203
  "description": "构件 `ai-portal.chat-box`"
59
204
  },
205
+ {
206
+ "name": "ai-portal.home-container",
207
+ "properties": [],
208
+ "events": [],
209
+ "slots": [],
210
+ "methods": [],
211
+ "parts": [],
212
+ "description": "构件 `ai-portal.home-container`"
213
+ },
214
+ {
215
+ "name": "ai-portal.stat-with-mini-chart",
216
+ "properties": [
217
+ {
218
+ "name": "label",
219
+ "type": "string"
220
+ },
221
+ {
222
+ "name": "value",
223
+ "type": "string"
224
+ },
225
+ {
226
+ "name": "size",
227
+ "description": "",
228
+ "default": "\"medium\"",
229
+ "type": "\"medium\" | \"small\""
230
+ },
231
+ {
232
+ "name": "lineColor",
233
+ "description": "",
234
+ "default": "\"var(--color-brand)\"",
235
+ "type": "string"
236
+ },
237
+ {
238
+ "name": "showArea",
239
+ "type": "boolean"
240
+ },
241
+ {
242
+ "name": "min",
243
+ "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
244
+ "type": "number"
245
+ },
246
+ {
247
+ "name": "max",
248
+ "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
249
+ "type": "number"
250
+ },
251
+ {
252
+ "name": "xField",
253
+ "description": "",
254
+ "default": "\"0\"",
255
+ "type": "string"
256
+ },
257
+ {
258
+ "name": "yField",
259
+ "description": "",
260
+ "default": "\"1\"",
261
+ "type": "string"
262
+ },
263
+ {
264
+ "name": "data",
265
+ "attribute": false,
266
+ "type": "Record<string, number>[]"
267
+ }
268
+ ],
269
+ "events": [],
270
+ "slots": [],
271
+ "methods": [],
272
+ "parts": [],
273
+ "description": "构件 `ai-portal.stat-with-mini-chart`"
274
+ },
60
275
  {
61
276
  "name": "ai-portal.elevo-sidebar",
62
277
  "properties": [
@@ -191,15 +406,6 @@
191
406
  "parts": [],
192
407
  "description": "构件 `ai-portal.elevo-sidebar`"
193
408
  },
194
- {
195
- "name": "ai-portal.home-container",
196
- "properties": [],
197
- "events": [],
198
- "slots": [],
199
- "methods": [],
200
- "parts": [],
201
- "description": "构件 `ai-portal.home-container`"
202
- },
203
409
  {
204
410
  "name": "ai-portal.icon-button",
205
411
  "properties": [
@@ -400,151 +606,6 @@
400
606
  "parts": [],
401
607
  "description": "构件 `ai-portal.chat-stream`"
402
608
  },
403
- {
404
- "name": "ai-portal.cruise-canvas",
405
- "properties": [
406
- {
407
- "name": "conversationId",
408
- "type": "string"
409
- },
410
- {
411
- "name": "initialRequest",
412
- "description": "初始请求数据。仅初始设置有效。",
413
- "attribute": false,
414
- "type": "RequestStore | null"
415
- },
416
- {
417
- "name": "replay",
418
- "description": "是否启用回放。仅初始设置有效。",
419
- "type": "boolean"
420
- },
421
- {
422
- "name": "replayDelay",
423
- "description": "设置回放时消息之间的时间间隔,单位为秒。仅初始设置有效。",
424
- "default": "2",
425
- "type": "number"
426
- },
427
- {
428
- "name": "supports",
429
- "attribute": false,
430
- "type": "Record<string, boolean>"
431
- },
432
- {
433
- "name": "showHiddenJobs",
434
- "type": "boolean"
435
- },
436
- {
437
- "name": "showHumanActions",
438
- "type": "boolean"
439
- },
440
- {
441
- "name": "showFeedback",
442
- "type": "boolean"
443
- },
444
- {
445
- "name": "showFeedbackAfterFailed",
446
- "type": "boolean"
447
- },
448
- {
449
- "name": "showFeedbackOnView",
450
- "type": "boolean"
451
- },
452
- {
453
- "name": "showUiSwitch",
454
- "type": "boolean"
455
- },
456
- {
457
- "name": "hideMermaid",
458
- "type": "boolean"
459
- },
460
- {
461
- "name": "showJsxEditor",
462
- "type": "boolean"
463
- },
464
- {
465
- "name": "previewUrlTemplate",
466
- "type": "string"
467
- },
468
- {
469
- "name": "showCases",
470
- "attribute": false,
471
- "type": "ShowCaseType[]"
472
- },
473
- {
474
- "name": "exampleProjects",
475
- "attribute": false,
476
- "type": "ExampleProject[]"
477
- },
478
- {
479
- "name": "tryItOutUrl",
480
- "type": "string"
481
- }
482
- ],
483
- "events": [
484
- {
485
- "name": "share",
486
- "detail": {
487
- "type": "void"
488
- }
489
- },
490
- {
491
- "name": "terminate",
492
- "detail": {
493
- "type": "void"
494
- }
495
- },
496
- {
497
- "name": "feedback.submit",
498
- "detail": {
499
- "type": "FeedbackDetail"
500
- }
501
- },
502
- {
503
- "name": "feedback.on.view",
504
- "detail": {
505
- "type": "string"
506
- }
507
- },
508
- {
509
- "name": "ui.switch",
510
- "detail": {
511
- "type": "\"chat\""
512
- }
513
- },
514
- {
515
- "name": "detail.change",
516
- "detail": {
517
- "type": "ConversationDetail"
518
- }
519
- }
520
- ],
521
- "slots": [],
522
- "methods": [
523
- {
524
- "name": "resumed",
525
- "params": []
526
- },
527
- {
528
- "name": "feedbackSubmitDone",
529
- "params": []
530
- },
531
- {
532
- "name": "feedbackSubmitFailed",
533
- "params": []
534
- },
535
- {
536
- "name": "feedbackOnViewDone",
537
- "params": [
538
- {
539
- "name": "viewId",
540
- "type": "string"
541
- }
542
- ]
543
- }
544
- ],
545
- "parts": [],
546
- "description": "构件 `ai-portal.cruise-canvas`"
547
- },
548
609
  {
549
610
  "name": "ai-portal.ai-employees",
550
611
  "properties": [
@@ -600,67 +661,6 @@
600
661
  "parts": [],
601
662
  "description": "构件 `ai-portal.ai-agents`"
602
663
  },
603
- {
604
- "name": "ai-portal.stat-with-mini-chart",
605
- "properties": [
606
- {
607
- "name": "label",
608
- "type": "string"
609
- },
610
- {
611
- "name": "value",
612
- "type": "string"
613
- },
614
- {
615
- "name": "size",
616
- "description": "",
617
- "default": "\"medium\"",
618
- "type": "\"medium\" | \"small\""
619
- },
620
- {
621
- "name": "lineColor",
622
- "description": "",
623
- "default": "\"var(--color-brand)\"",
624
- "type": "string"
625
- },
626
- {
627
- "name": "showArea",
628
- "type": "boolean"
629
- },
630
- {
631
- "name": "min",
632
- "description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
633
- "type": "number"
634
- },
635
- {
636
- "name": "max",
637
- "description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
638
- "type": "number"
639
- },
640
- {
641
- "name": "xField",
642
- "description": "",
643
- "default": "\"0\"",
644
- "type": "string"
645
- },
646
- {
647
- "name": "yField",
648
- "description": "",
649
- "default": "\"1\"",
650
- "type": "string"
651
- },
652
- {
653
- "name": "data",
654
- "attribute": false,
655
- "type": "Record<string, number>[]"
656
- }
657
- ],
658
- "events": [],
659
- "slots": [],
660
- "methods": [],
661
- "parts": [],
662
- "description": "构件 `ai-portal.stat-with-mini-chart`"
663
- },
664
664
  {
665
665
  "name": "ai-portal.page-container",
666
666
  "properties": [
package/dist/types.json CHANGED
@@ -4,6 +4,110 @@
4
4
  "events": [],
5
5
  "methods": []
6
6
  },
7
+ "ai-portal.stat-with-mini-chart": {
8
+ "properties": [
9
+ {
10
+ "name": "label",
11
+ "annotation": {
12
+ "type": "keyword",
13
+ "value": "string"
14
+ }
15
+ },
16
+ {
17
+ "name": "value",
18
+ "annotation": {
19
+ "type": "keyword",
20
+ "value": "string"
21
+ }
22
+ },
23
+ {
24
+ "name": "size",
25
+ "annotation": {
26
+ "type": "union",
27
+ "types": [
28
+ {
29
+ "type": "jsLiteral",
30
+ "value": "medium"
31
+ },
32
+ {
33
+ "type": "jsLiteral",
34
+ "value": "small"
35
+ }
36
+ ]
37
+ }
38
+ },
39
+ {
40
+ "name": "lineColor",
41
+ "annotation": {
42
+ "type": "keyword",
43
+ "value": "string"
44
+ }
45
+ },
46
+ {
47
+ "name": "showArea",
48
+ "annotation": {
49
+ "type": "keyword",
50
+ "value": "boolean"
51
+ }
52
+ },
53
+ {
54
+ "name": "min",
55
+ "annotation": {
56
+ "type": "keyword",
57
+ "value": "number"
58
+ }
59
+ },
60
+ {
61
+ "name": "max",
62
+ "annotation": {
63
+ "type": "keyword",
64
+ "value": "number"
65
+ }
66
+ },
67
+ {
68
+ "name": "xField",
69
+ "annotation": {
70
+ "type": "keyword",
71
+ "value": "string"
72
+ }
73
+ },
74
+ {
75
+ "name": "yField",
76
+ "annotation": {
77
+ "type": "keyword",
78
+ "value": "string"
79
+ }
80
+ },
81
+ {
82
+ "name": "data",
83
+ "annotation": {
84
+ "type": "array",
85
+ "elementType": {
86
+ "type": "reference",
87
+ "typeName": {
88
+ "type": "identifier",
89
+ "name": "Record"
90
+ },
91
+ "typeParameters": {
92
+ "type": "typeParameterInstantiation",
93
+ "params": [
94
+ {
95
+ "type": "keyword",
96
+ "value": "string"
97
+ },
98
+ {
99
+ "type": "keyword",
100
+ "value": "number"
101
+ }
102
+ ]
103
+ }
104
+ }
105
+ }
106
+ }
107
+ ],
108
+ "events": [],
109
+ "methods": []
110
+ },
7
111
  "ai-portal.icon-button": {
8
112
  "properties": [
9
113
  {
@@ -248,110 +352,6 @@
248
352
  }
249
353
  }
250
354
  },
251
- "ai-portal.stat-with-mini-chart": {
252
- "properties": [
253
- {
254
- "name": "label",
255
- "annotation": {
256
- "type": "keyword",
257
- "value": "string"
258
- }
259
- },
260
- {
261
- "name": "value",
262
- "annotation": {
263
- "type": "keyword",
264
- "value": "string"
265
- }
266
- },
267
- {
268
- "name": "size",
269
- "annotation": {
270
- "type": "union",
271
- "types": [
272
- {
273
- "type": "jsLiteral",
274
- "value": "medium"
275
- },
276
- {
277
- "type": "jsLiteral",
278
- "value": "small"
279
- }
280
- ]
281
- }
282
- },
283
- {
284
- "name": "lineColor",
285
- "annotation": {
286
- "type": "keyword",
287
- "value": "string"
288
- }
289
- },
290
- {
291
- "name": "showArea",
292
- "annotation": {
293
- "type": "keyword",
294
- "value": "boolean"
295
- }
296
- },
297
- {
298
- "name": "min",
299
- "annotation": {
300
- "type": "keyword",
301
- "value": "number"
302
- }
303
- },
304
- {
305
- "name": "max",
306
- "annotation": {
307
- "type": "keyword",
308
- "value": "number"
309
- }
310
- },
311
- {
312
- "name": "xField",
313
- "annotation": {
314
- "type": "keyword",
315
- "value": "string"
316
- }
317
- },
318
- {
319
- "name": "yField",
320
- "annotation": {
321
- "type": "keyword",
322
- "value": "string"
323
- }
324
- },
325
- {
326
- "name": "data",
327
- "annotation": {
328
- "type": "array",
329
- "elementType": {
330
- "type": "reference",
331
- "typeName": {
332
- "type": "identifier",
333
- "name": "Record"
334
- },
335
- "typeParameters": {
336
- "type": "typeParameterInstantiation",
337
- "params": [
338
- {
339
- "type": "keyword",
340
- "value": "string"
341
- },
342
- {
343
- "type": "keyword",
344
- "value": "number"
345
- }
346
- ]
347
- }
348
- }
349
- }
350
- }
351
- ],
352
- "events": [],
353
- "methods": []
354
- },
355
355
  "ai-portal.page-container": {
356
356
  "properties": [
357
357
  {
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export type MarkdownComponentProps = JSX.IntrinsicElements["pre"] & {
3
+ node?: unknown;
4
+ };
5
+ export declare function MarkdownPre({ node, ...props }: MarkdownComponentProps): React.JSX.Element;
@@ -6,6 +6,7 @@ import type { EoTooltip, ToolTipProps } from "@next-bricks/basic/tooltip";
6
6
  import type { Drawer, DrawerProps, DrawerEvents, DrawerMapEvents } from "@next-bricks/containers/drawer";
7
7
  import { PopoverProps, Popover } from "@next-bricks/basic/popover";
8
8
  import { EoNextTable, NextTableProps } from "@next-bricks/advanced/next-table";
9
+ import { CodeBlock, CodeBlockProps } from "@next-bricks/presentational/code-block";
9
10
  import type { IconButton, IconButtonProps } from "../icon-button";
10
11
  import type { ChatInput, ChatInputEvents, ChatInputMapEvents, ChatInputProps } from "../chat-input";
11
12
  import type { ShowCase, ShowCaseProps } from "../show-case";
@@ -20,6 +21,7 @@ export declare const WrappedDrawer: import("@next-core/react-element").WrappedBr
20
21
  export declare const WrappedIconButton: import("@next-core/react-element").WrappedBrick<IconButton, IconButtonProps>;
21
22
  export declare const WrappedChatInput: import("@next-core/react-element").WrappedBrickWithEventsMap<ChatInput, ChatInputProps, ChatInputEvents, ChatInputMapEvents>;
22
23
  export declare const WrappedShowCase: import("@next-core/react-element").WrappedBrick<ShowCase, ShowCaseProps>;
24
+ export declare const WrappedCodeBlock: import("@next-core/react-element").WrappedBrick<CodeBlock, CodeBlockProps>;
23
25
  export declare const showDialog: (options: import("@next-bricks/basic/data-providers/show-dialog/show-dialog").DialogOptions) => Promise<void>;
24
26
  export declare const copyToClipboard: (text: string) => Promise<void>;
25
27
  export declare const AsyncWrappedTable: React.LazyExoticComponent<import("@next-core/react-element").WrappedBrick<EoNextTable, NextTableProps>>;