@next-bricks/ai-portal 0.48.3 → 0.48.5
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 +16 -16
- package/dist/chunks/{1692.01919eaa.js → 1692.8b80561d.js} +2 -2
- package/dist/chunks/{1692.01919eaa.js.map → 1692.8b80561d.js.map} +1 -1
- package/dist/chunks/{7431.5093d0d9.js → 7431.daf0c131.js} +3 -3
- package/dist/chunks/7431.daf0c131.js.map +1 -0
- package/dist/chunks/{1026.a0469066.js → 7571.1dea034d.js} +2 -2
- package/dist/chunks/{1026.a0469066.js.map → 7571.1dea034d.js.map} +1 -1
- package/dist/chunks/action-buttons.3a72e5a4.js +2 -0
- package/dist/chunks/action-buttons.3a72e5a4.js.map +1 -0
- package/dist/chunks/{main.10a39675.js → main.974b87ec.js} +2 -2
- package/dist/chunks/{main.10a39675.js.map → main.974b87ec.js.map} +1 -1
- package/dist/chunks/{preview-container.89b082ac.js → preview-container.55c2693a.js} +2 -2
- package/dist/chunks/{preview-container.89b082ac.js.map → preview-container.55c2693a.js.map} +1 -1
- package/dist/chunks/show-cases.afdbbee3.js +2 -0
- package/dist/chunks/show-cases.afdbbee3.js.map +1 -0
- package/dist/examples.json +10 -10
- package/dist/{index.ba671cab.js → index.cf6d8af5.js} +2 -2
- package/dist/{index.ba671cab.js.map → index.cf6d8af5.js.map} +1 -1
- package/dist/manifest.json +114 -110
- package/dist/types.json +59 -52
- package/dist-types/show-cases/index.d.ts +2 -0
- package/package.json +2 -2
- package/dist/chunks/7431.5093d0d9.js.map +0 -1
- package/dist/chunks/action-buttons.16da8761.js +0 -2
- package/dist/chunks/action-buttons.16da8761.js.map +0 -1
- package/dist/chunks/show-cases.5dcf60c0.js +0 -2
- package/dist/chunks/show-cases.5dcf60c0.js.map +0 -1
- /package/dist/chunks/{7431.5093d0d9.js.LICENSE.txt → 7431.daf0c131.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -148,76 +148,6 @@
|
|
|
148
148
|
"parts": [],
|
|
149
149
|
"description": "构件 `ai-portal.cruise-canvas`"
|
|
150
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
151
|
{
|
|
222
152
|
"name": "ai-portal.chat-box",
|
|
223
153
|
"properties": [
|
|
@@ -277,31 +207,74 @@
|
|
|
277
207
|
"description": "构件 `ai-portal.chat-box`"
|
|
278
208
|
},
|
|
279
209
|
{
|
|
280
|
-
"name": "ai-portal.
|
|
210
|
+
"name": "ai-portal.home-container",
|
|
211
|
+
"properties": [],
|
|
212
|
+
"events": [],
|
|
213
|
+
"slots": [],
|
|
214
|
+
"methods": [],
|
|
215
|
+
"parts": [],
|
|
216
|
+
"description": "构件 `ai-portal.home-container`"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "ai-portal.stat-with-mini-chart",
|
|
281
220
|
"properties": [
|
|
282
221
|
{
|
|
283
|
-
"name": "
|
|
284
|
-
"
|
|
285
|
-
"type": "GeneralIconProps"
|
|
222
|
+
"name": "label",
|
|
223
|
+
"type": "string"
|
|
286
224
|
},
|
|
287
225
|
{
|
|
288
|
-
"name": "
|
|
226
|
+
"name": "value",
|
|
289
227
|
"type": "string"
|
|
290
228
|
},
|
|
291
229
|
{
|
|
292
|
-
"name": "
|
|
230
|
+
"name": "size",
|
|
231
|
+
"description": "",
|
|
232
|
+
"default": "\"medium\"",
|
|
233
|
+
"type": "\"medium\" | \"small\""
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"name": "lineColor",
|
|
237
|
+
"description": "",
|
|
238
|
+
"default": "\"var(--color-brand)\"",
|
|
239
|
+
"type": "string"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "showArea",
|
|
293
243
|
"type": "boolean"
|
|
294
244
|
},
|
|
295
245
|
{
|
|
296
|
-
"name": "
|
|
297
|
-
"
|
|
246
|
+
"name": "min",
|
|
247
|
+
"description": "Specify the minimum value of the y-axis.\nIf not specified, the minimum value will be calculated from the data.",
|
|
248
|
+
"type": "number"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "max",
|
|
252
|
+
"description": "Specify the maximum value of the y-axis.\nIf not specified, the maximum value will be calculated from the data.",
|
|
253
|
+
"type": "number"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "xField",
|
|
257
|
+
"description": "",
|
|
258
|
+
"default": "\"0\"",
|
|
259
|
+
"type": "string"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "yField",
|
|
263
|
+
"description": "",
|
|
264
|
+
"default": "\"1\"",
|
|
265
|
+
"type": "string"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "data",
|
|
269
|
+
"attribute": false,
|
|
270
|
+
"type": "Record<string, number>[]"
|
|
298
271
|
}
|
|
299
272
|
],
|
|
300
273
|
"events": [],
|
|
301
274
|
"slots": [],
|
|
302
275
|
"methods": [],
|
|
303
276
|
"parts": [],
|
|
304
|
-
"description": "构件 `ai-portal.
|
|
277
|
+
"description": "构件 `ai-portal.stat-with-mini-chart`"
|
|
305
278
|
},
|
|
306
279
|
{
|
|
307
280
|
"name": "ai-portal.elevo-sidebar",
|
|
@@ -442,6 +415,33 @@
|
|
|
442
415
|
"parts": [],
|
|
443
416
|
"description": "构件 `ai-portal.elevo-sidebar`"
|
|
444
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": [
|
|
@@ -449,6 +449,10 @@
|
|
|
449
449
|
"name": "list",
|
|
450
450
|
"attribute": false,
|
|
451
451
|
"type": "ShowCaseType[]"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "limit",
|
|
455
|
+
"type": "number"
|
|
452
456
|
}
|
|
453
457
|
],
|
|
454
458
|
"events": [],
|
|
@@ -1006,6 +1010,37 @@
|
|
|
1006
1010
|
"parts": [],
|
|
1007
1011
|
"description": "构件 `ai-portal.activity-timeline`"
|
|
1008
1012
|
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "ai-portal.elevo-logo",
|
|
1015
|
+
"properties": [],
|
|
1016
|
+
"events": [],
|
|
1017
|
+
"slots": [],
|
|
1018
|
+
"methods": [],
|
|
1019
|
+
"parts": [],
|
|
1020
|
+
"description": "构件 `ai-portal.elevo-logo`"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"name": "ai-portal.show-case",
|
|
1024
|
+
"properties": [
|
|
1025
|
+
{
|
|
1026
|
+
"name": "caseTitle",
|
|
1027
|
+
"type": "string"
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
"name": "summary",
|
|
1031
|
+
"type": "string"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"name": "url",
|
|
1035
|
+
"type": "string"
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"events": [],
|
|
1039
|
+
"slots": [],
|
|
1040
|
+
"methods": [],
|
|
1041
|
+
"parts": [],
|
|
1042
|
+
"description": "构件 `ai-portal.show-case`"
|
|
1043
|
+
},
|
|
1009
1044
|
{
|
|
1010
1045
|
"name": "ai-portal.chat-input",
|
|
1011
1046
|
"properties": [
|
|
@@ -1048,37 +1083,6 @@
|
|
|
1048
1083
|
"methods": [],
|
|
1049
1084
|
"parts": [],
|
|
1050
1085
|
"description": "构件 `ai-portal.chat-input`"
|
|
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
|
-
},
|
|
1061
|
-
{
|
|
1062
|
-
"name": "ai-portal.show-case",
|
|
1063
|
-
"properties": [
|
|
1064
|
-
{
|
|
1065
|
-
"name": "caseTitle",
|
|
1066
|
-
"type": "string"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "summary",
|
|
1070
|
-
"type": "string"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
"name": "url",
|
|
1074
|
-
"type": "string"
|
|
1075
|
-
}
|
|
1076
|
-
],
|
|
1077
|
-
"events": [],
|
|
1078
|
-
"slots": [],
|
|
1079
|
-
"methods": [],
|
|
1080
|
-
"parts": [],
|
|
1081
|
-
"description": "构件 `ai-portal.show-case`"
|
|
1082
1086
|
}
|
|
1083
1087
|
],
|
|
1084
1088
|
"providers": [
|
package/dist/types.json
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ai-portal.home-container": {
|
|
3
|
+
"properties": [],
|
|
4
|
+
"events": [],
|
|
5
|
+
"methods": []
|
|
6
|
+
},
|
|
2
7
|
"ai-portal.stat-with-mini-chart": {
|
|
3
8
|
"properties": [
|
|
4
9
|
{
|
|
@@ -103,11 +108,6 @@
|
|
|
103
108
|
"events": [],
|
|
104
109
|
"methods": []
|
|
105
110
|
},
|
|
106
|
-
"ai-portal.home-container": {
|
|
107
|
-
"properties": [],
|
|
108
|
-
"events": [],
|
|
109
|
-
"methods": []
|
|
110
|
-
},
|
|
111
111
|
"ai-portal.icon-button": {
|
|
112
112
|
"properties": [
|
|
113
113
|
{
|
|
@@ -820,6 +820,13 @@
|
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
"name": "limit",
|
|
826
|
+
"annotation": {
|
|
827
|
+
"type": "keyword",
|
|
828
|
+
"value": "number"
|
|
829
|
+
}
|
|
823
830
|
}
|
|
824
831
|
],
|
|
825
832
|
"events": [],
|
|
@@ -1403,6 +1410,26 @@
|
|
|
1403
1410
|
}
|
|
1404
1411
|
]
|
|
1405
1412
|
},
|
|
1413
|
+
"ai-portal.preview-container": {
|
|
1414
|
+
"properties": [
|
|
1415
|
+
{
|
|
1416
|
+
"name": "source",
|
|
1417
|
+
"annotation": {
|
|
1418
|
+
"type": "keyword",
|
|
1419
|
+
"value": "string"
|
|
1420
|
+
}
|
|
1421
|
+
},
|
|
1422
|
+
{
|
|
1423
|
+
"name": "url",
|
|
1424
|
+
"annotation": {
|
|
1425
|
+
"type": "keyword",
|
|
1426
|
+
"value": "string"
|
|
1427
|
+
}
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
"events": [],
|
|
1431
|
+
"methods": []
|
|
1432
|
+
},
|
|
1406
1433
|
"ai-portal.action-buttons": {
|
|
1407
1434
|
"properties": [
|
|
1408
1435
|
{
|
|
@@ -1521,26 +1548,6 @@
|
|
|
1521
1548
|
}
|
|
1522
1549
|
]
|
|
1523
1550
|
},
|
|
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
1551
|
"ai-portal.project-conversations": {
|
|
1545
1552
|
"properties": [
|
|
1546
1553
|
{
|
|
@@ -2741,6 +2748,33 @@
|
|
|
2741
2748
|
}
|
|
2742
2749
|
]
|
|
2743
2750
|
},
|
|
2751
|
+
"ai-portal.show-case": {
|
|
2752
|
+
"properties": [
|
|
2753
|
+
{
|
|
2754
|
+
"name": "caseTitle",
|
|
2755
|
+
"annotation": {
|
|
2756
|
+
"type": "keyword",
|
|
2757
|
+
"value": "string"
|
|
2758
|
+
}
|
|
2759
|
+
},
|
|
2760
|
+
{
|
|
2761
|
+
"name": "summary",
|
|
2762
|
+
"annotation": {
|
|
2763
|
+
"type": "keyword",
|
|
2764
|
+
"value": "string"
|
|
2765
|
+
}
|
|
2766
|
+
},
|
|
2767
|
+
{
|
|
2768
|
+
"name": "url",
|
|
2769
|
+
"annotation": {
|
|
2770
|
+
"type": "keyword",
|
|
2771
|
+
"value": "string"
|
|
2772
|
+
}
|
|
2773
|
+
}
|
|
2774
|
+
],
|
|
2775
|
+
"events": [],
|
|
2776
|
+
"methods": []
|
|
2777
|
+
},
|
|
2744
2778
|
"ai-portal.chat-input": {
|
|
2745
2779
|
"properties": [
|
|
2746
2780
|
{
|
|
@@ -2801,33 +2835,6 @@
|
|
|
2801
2835
|
],
|
|
2802
2836
|
"methods": []
|
|
2803
2837
|
},
|
|
2804
|
-
"ai-portal.show-case": {
|
|
2805
|
-
"properties": [
|
|
2806
|
-
{
|
|
2807
|
-
"name": "caseTitle",
|
|
2808
|
-
"annotation": {
|
|
2809
|
-
"type": "keyword",
|
|
2810
|
-
"value": "string"
|
|
2811
|
-
}
|
|
2812
|
-
},
|
|
2813
|
-
{
|
|
2814
|
-
"name": "summary",
|
|
2815
|
-
"annotation": {
|
|
2816
|
-
"type": "keyword",
|
|
2817
|
-
"value": "string"
|
|
2818
|
-
}
|
|
2819
|
-
},
|
|
2820
|
-
{
|
|
2821
|
-
"name": "url",
|
|
2822
|
-
"annotation": {
|
|
2823
|
-
"type": "keyword",
|
|
2824
|
-
"value": "string"
|
|
2825
|
-
}
|
|
2826
|
-
}
|
|
2827
|
-
],
|
|
2828
|
-
"events": [],
|
|
2829
|
-
"methods": []
|
|
2830
|
-
},
|
|
2831
2838
|
"ai-portal.elevo-sidebar": {
|
|
2832
2839
|
"properties": [
|
|
2833
2840
|
{
|
|
@@ -4,11 +4,13 @@ import "@next-core/theme";
|
|
|
4
4
|
import type { ShowCaseType } from "../shared/interfaces.js";
|
|
5
5
|
export interface ShowCasesProps {
|
|
6
6
|
list?: ShowCaseType[];
|
|
7
|
+
limit?: number;
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* 构件 `ai-portal.show-cases`
|
|
10
11
|
*/
|
|
11
12
|
export declare class ShowCases extends ReactNextElement implements ShowCasesProps {
|
|
12
13
|
accessor list: ShowCaseType[] | undefined;
|
|
14
|
+
accessor limit: number | undefined;
|
|
13
15
|
render(): React.JSX.Element;
|
|
14
16
|
}
|
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.5",
|
|
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": "20d0f3e70f7d235fe655648454861b4297d9b810"
|
|
51
51
|
}
|