@next-bricks/ai-portal 0.48.2 → 0.48.3
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.
- package/dist/bricks.json +17 -17
- package/dist/chunks/{9328.222dec55.js → 9328.794ecf59.js} +2 -2
- package/dist/chunks/9328.794ecf59.js.map +1 -0
- package/dist/chunks/{main.4486142d.js → main.10a39675.js} +2 -2
- package/dist/chunks/{main.4486142d.js.map → main.10a39675.js.map} +1 -1
- package/dist/examples.json +8 -8
- package/dist/index.ba671cab.js +2 -0
- package/dist/{index.416c83ca.js.map → index.ba671cab.js.map} +1 -1
- package/dist/manifest.json +164 -164
- package/dist/types.json +25 -25
- package/package.json +2 -2
- package/dist/chunks/9328.222dec55.js.map +0 -1
- package/dist/index.416c83ca.js +0 -2
package/dist/manifest.json
CHANGED
|
@@ -3,76 +3,6 @@
|
|
|
3
3
|
"package": "@next-bricks/ai-portal",
|
|
4
4
|
"name": "ai-portal",
|
|
5
5
|
"bricks": [
|
|
6
|
-
{
|
|
7
|
-
"name": "ai-portal.home-container",
|
|
8
|
-
"properties": [],
|
|
9
|
-
"events": [],
|
|
10
|
-
"slots": [],
|
|
11
|
-
"methods": [],
|
|
12
|
-
"parts": [],
|
|
13
|
-
"description": "构件 `ai-portal.home-container`"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"name": "ai-portal.stat-with-mini-chart",
|
|
17
|
-
"properties": [
|
|
18
|
-
{
|
|
19
|
-
"name": "label",
|
|
20
|
-
"type": "string"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
"name": "value",
|
|
24
|
-
"type": "string"
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"name": "size",
|
|
28
|
-
"description": "",
|
|
29
|
-
"default": "\"medium\"",
|
|
30
|
-
"type": "\"medium\" | \"small\""
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"name": "lineColor",
|
|
34
|
-
"description": "",
|
|
35
|
-
"default": "\"var(--color-brand)\"",
|
|
36
|
-
"type": "string"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "showArea",
|
|
40
|
-
"type": "boolean"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"name": "min",
|
|
44
|
-
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
45
|
-
"type": "number"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"name": "max",
|
|
49
|
-
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
50
|
-
"type": "number"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"name": "xField",
|
|
54
|
-
"description": "",
|
|
55
|
-
"default": "\"0\"",
|
|
56
|
-
"type": "string"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
"name": "yField",
|
|
60
|
-
"description": "",
|
|
61
|
-
"default": "\"1\"",
|
|
62
|
-
"type": "string"
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
"name": "data",
|
|
66
|
-
"attribute": false,
|
|
67
|
-
"type": "Record<string, number>[]"
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
"events": [],
|
|
71
|
-
"slots": [],
|
|
72
|
-
"methods": [],
|
|
73
|
-
"parts": [],
|
|
74
|
-
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
75
|
-
},
|
|
76
6
|
{
|
|
77
7
|
"name": "ai-portal.cruise-canvas",
|
|
78
8
|
"properties": [
|
|
@@ -218,6 +148,161 @@
|
|
|
218
148
|
"parts": [],
|
|
219
149
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
220
150
|
},
|
|
151
|
+
{
|
|
152
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
153
|
+
"properties": [
|
|
154
|
+
{
|
|
155
|
+
"name": "label",
|
|
156
|
+
"type": "string"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "value",
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "size",
|
|
164
|
+
"description": "",
|
|
165
|
+
"default": "\"medium\"",
|
|
166
|
+
"type": "\"medium\" | \"small\""
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"name": "lineColor",
|
|
170
|
+
"description": "",
|
|
171
|
+
"default": "\"var(--color-brand)\"",
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "showArea",
|
|
176
|
+
"type": "boolean"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "min",
|
|
180
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
181
|
+
"type": "number"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "max",
|
|
185
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
186
|
+
"type": "number"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "xField",
|
|
190
|
+
"description": "",
|
|
191
|
+
"default": "\"0\"",
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "yField",
|
|
196
|
+
"description": "",
|
|
197
|
+
"default": "\"1\"",
|
|
198
|
+
"type": "string"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "data",
|
|
202
|
+
"attribute": false,
|
|
203
|
+
"type": "Record<string, number>[]"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"events": [],
|
|
207
|
+
"slots": [],
|
|
208
|
+
"methods": [],
|
|
209
|
+
"parts": [],
|
|
210
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"name": "ai-portal.home-container",
|
|
214
|
+
"properties": [],
|
|
215
|
+
"events": [],
|
|
216
|
+
"slots": [],
|
|
217
|
+
"methods": [],
|
|
218
|
+
"parts": [],
|
|
219
|
+
"description": "构件 `ai-portal.home-container`"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "ai-portal.chat-box",
|
|
223
|
+
"properties": [
|
|
224
|
+
{
|
|
225
|
+
"name": "disabled",
|
|
226
|
+
"type": "boolean"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "placeholder",
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "autoFocus",
|
|
234
|
+
"type": "boolean"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "aiEmployees",
|
|
238
|
+
"attribute": false,
|
|
239
|
+
"type": "AIEmployee[]"
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
"events": [
|
|
243
|
+
{
|
|
244
|
+
"name": "message.submit",
|
|
245
|
+
"detail": {
|
|
246
|
+
"type": "string"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "ai-employee.mention",
|
|
251
|
+
"detail": {
|
|
252
|
+
"type": "AIEmployee | null"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
],
|
|
256
|
+
"slots": [],
|
|
257
|
+
"methods": [
|
|
258
|
+
{
|
|
259
|
+
"name": "setValue",
|
|
260
|
+
"params": [
|
|
261
|
+
{
|
|
262
|
+
"name": "value",
|
|
263
|
+
"type": "string"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "getValue",
|
|
269
|
+
"params": []
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "focusOnInput",
|
|
273
|
+
"params": []
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"parts": [],
|
|
277
|
+
"description": "构件 `ai-portal.chat-box`"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "ai-portal.icon-button",
|
|
281
|
+
"properties": [
|
|
282
|
+
{
|
|
283
|
+
"name": "icon",
|
|
284
|
+
"attribute": false,
|
|
285
|
+
"type": "GeneralIconProps"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "tooltip",
|
|
289
|
+
"type": "string"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "disabled",
|
|
293
|
+
"type": "boolean"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "variant",
|
|
297
|
+
"type": "IconButtonVariant"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
"events": [],
|
|
301
|
+
"slots": [],
|
|
302
|
+
"methods": [],
|
|
303
|
+
"parts": [],
|
|
304
|
+
"description": "构件 `ai-portal.icon-button`"
|
|
305
|
+
},
|
|
221
306
|
{
|
|
222
307
|
"name": "ai-portal.elevo-sidebar",
|
|
223
308
|
"properties": [
|
|
@@ -357,91 +442,6 @@
|
|
|
357
442
|
"parts": [],
|
|
358
443
|
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
359
444
|
},
|
|
360
|
-
{
|
|
361
|
-
"name": "ai-portal.chat-box",
|
|
362
|
-
"properties": [
|
|
363
|
-
{
|
|
364
|
-
"name": "disabled",
|
|
365
|
-
"type": "boolean"
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"name": "placeholder",
|
|
369
|
-
"type": "string"
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"name": "autoFocus",
|
|
373
|
-
"type": "boolean"
|
|
374
|
-
},
|
|
375
|
-
{
|
|
376
|
-
"name": "aiEmployees",
|
|
377
|
-
"attribute": false,
|
|
378
|
-
"type": "AIEmployee[]"
|
|
379
|
-
}
|
|
380
|
-
],
|
|
381
|
-
"events": [
|
|
382
|
-
{
|
|
383
|
-
"name": "message.submit",
|
|
384
|
-
"detail": {
|
|
385
|
-
"type": "string"
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
{
|
|
389
|
-
"name": "ai-employee.mention",
|
|
390
|
-
"detail": {
|
|
391
|
-
"type": "AIEmployee | null"
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
"slots": [],
|
|
396
|
-
"methods": [
|
|
397
|
-
{
|
|
398
|
-
"name": "setValue",
|
|
399
|
-
"params": [
|
|
400
|
-
{
|
|
401
|
-
"name": "value",
|
|
402
|
-
"type": "string"
|
|
403
|
-
}
|
|
404
|
-
]
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
"name": "getValue",
|
|
408
|
-
"params": []
|
|
409
|
-
},
|
|
410
|
-
{
|
|
411
|
-
"name": "focusOnInput",
|
|
412
|
-
"params": []
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
"parts": [],
|
|
416
|
-
"description": "构件 `ai-portal.chat-box`"
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
"name": "ai-portal.icon-button",
|
|
420
|
-
"properties": [
|
|
421
|
-
{
|
|
422
|
-
"name": "icon",
|
|
423
|
-
"attribute": false,
|
|
424
|
-
"type": "GeneralIconProps"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
"name": "tooltip",
|
|
428
|
-
"type": "string"
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
"name": "disabled",
|
|
432
|
-
"type": "boolean"
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"name": "variant",
|
|
436
|
-
"type": "IconButtonVariant"
|
|
437
|
-
}
|
|
438
|
-
],
|
|
439
|
-
"events": [],
|
|
440
|
-
"slots": [],
|
|
441
|
-
"methods": [],
|
|
442
|
-
"parts": [],
|
|
443
|
-
"description": "构件 `ai-portal.icon-button`"
|
|
444
|
-
},
|
|
445
445
|
{
|
|
446
446
|
"name": "ai-portal.show-cases",
|
|
447
447
|
"properties": [
|
|
@@ -1049,6 +1049,15 @@
|
|
|
1049
1049
|
"parts": [],
|
|
1050
1050
|
"description": "构件 `ai-portal.chat-input`"
|
|
1051
1051
|
},
|
|
1052
|
+
{
|
|
1053
|
+
"name": "ai-portal.elevo-logo",
|
|
1054
|
+
"properties": [],
|
|
1055
|
+
"events": [],
|
|
1056
|
+
"slots": [],
|
|
1057
|
+
"methods": [],
|
|
1058
|
+
"parts": [],
|
|
1059
|
+
"description": "构件 `ai-portal.elevo-logo`"
|
|
1060
|
+
},
|
|
1052
1061
|
{
|
|
1053
1062
|
"name": "ai-portal.show-case",
|
|
1054
1063
|
"properties": [
|
|
@@ -1070,15 +1079,6 @@
|
|
|
1070
1079
|
"methods": [],
|
|
1071
1080
|
"parts": [],
|
|
1072
1081
|
"description": "构件 `ai-portal.show-case`"
|
|
1073
|
-
},
|
|
1074
|
-
{
|
|
1075
|
-
"name": "ai-portal.elevo-logo",
|
|
1076
|
-
"properties": [],
|
|
1077
|
-
"events": [],
|
|
1078
|
-
"slots": [],
|
|
1079
|
-
"methods": [],
|
|
1080
|
-
"parts": [],
|
|
1081
|
-
"description": "构件 `ai-portal.elevo-logo`"
|
|
1082
1082
|
}
|
|
1083
1083
|
],
|
|
1084
1084
|
"providers": [
|
package/dist/types.json
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ai-portal.home-container": {
|
|
3
|
-
"properties": [],
|
|
4
|
-
"events": [],
|
|
5
|
-
"methods": []
|
|
6
|
-
},
|
|
7
2
|
"ai-portal.stat-with-mini-chart": {
|
|
8
3
|
"properties": [
|
|
9
4
|
{
|
|
@@ -108,6 +103,11 @@
|
|
|
108
103
|
"events": [],
|
|
109
104
|
"methods": []
|
|
110
105
|
},
|
|
106
|
+
"ai-portal.home-container": {
|
|
107
|
+
"properties": [],
|
|
108
|
+
"events": [],
|
|
109
|
+
"methods": []
|
|
110
|
+
},
|
|
111
111
|
"ai-portal.icon-button": {
|
|
112
112
|
"properties": [
|
|
113
113
|
{
|
|
@@ -1403,26 +1403,6 @@
|
|
|
1403
1403
|
}
|
|
1404
1404
|
]
|
|
1405
1405
|
},
|
|
1406
|
-
"ai-portal.preview-container": {
|
|
1407
|
-
"properties": [
|
|
1408
|
-
{
|
|
1409
|
-
"name": "source",
|
|
1410
|
-
"annotation": {
|
|
1411
|
-
"type": "keyword",
|
|
1412
|
-
"value": "string"
|
|
1413
|
-
}
|
|
1414
|
-
},
|
|
1415
|
-
{
|
|
1416
|
-
"name": "url",
|
|
1417
|
-
"annotation": {
|
|
1418
|
-
"type": "keyword",
|
|
1419
|
-
"value": "string"
|
|
1420
|
-
}
|
|
1421
|
-
}
|
|
1422
|
-
],
|
|
1423
|
-
"events": [],
|
|
1424
|
-
"methods": []
|
|
1425
|
-
},
|
|
1426
1406
|
"ai-portal.action-buttons": {
|
|
1427
1407
|
"properties": [
|
|
1428
1408
|
{
|
|
@@ -1541,6 +1521,26 @@
|
|
|
1541
1521
|
}
|
|
1542
1522
|
]
|
|
1543
1523
|
},
|
|
1524
|
+
"ai-portal.preview-container": {
|
|
1525
|
+
"properties": [
|
|
1526
|
+
{
|
|
1527
|
+
"name": "source",
|
|
1528
|
+
"annotation": {
|
|
1529
|
+
"type": "keyword",
|
|
1530
|
+
"value": "string"
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
{
|
|
1534
|
+
"name": "url",
|
|
1535
|
+
"annotation": {
|
|
1536
|
+
"type": "keyword",
|
|
1537
|
+
"value": "string"
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
],
|
|
1541
|
+
"events": [],
|
|
1542
|
+
"methods": []
|
|
1543
|
+
},
|
|
1544
1544
|
"ai-portal.project-conversations": {
|
|
1545
1545
|
"properties": [
|
|
1546
1546
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.48.
|
|
3
|
+
"version": "0.48.3",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"@next-bricks/presentational": "*",
|
|
48
48
|
"@next-bricks/vs": "*"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "0720eba0a6ef82940dc90e8d1bb17ac91214a190"
|
|
51
51
|
}
|