@next-bricks/ai-portal 0.34.2 → 0.35.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.
- package/dist/bricks.json +29 -22
- package/dist/chunks/2940.31e5896f.js +2 -0
- package/dist/chunks/2940.31e5896f.js.map +1 -0
- package/dist/chunks/407.f65a6bdb.js +2 -0
- package/dist/chunks/407.f65a6bdb.js.map +1 -0
- package/dist/chunks/{4937.d270f5bb.js → 4937.699545da.js} +2 -2
- package/dist/chunks/{4937.d270f5bb.js.map → 4937.699545da.js.map} +1 -1
- package/dist/chunks/4994.58c51a7a.js +2 -0
- package/dist/chunks/4994.58c51a7a.js.map +1 -0
- package/dist/chunks/5067.28b119af.js +2 -0
- package/dist/chunks/5067.28b119af.js.map +1 -0
- package/dist/chunks/6977.3f6d97bc.js +3 -0
- package/dist/chunks/6977.3f6d97bc.js.LICENSE.txt +9 -0
- package/dist/chunks/6977.3f6d97bc.js.map +1 -0
- package/dist/chunks/8794.dc43f083.js +3 -0
- package/dist/chunks/{815.4a1ffe26.js.LICENSE.txt → 8794.dc43f083.js.LICENSE.txt} +0 -10
- package/dist/chunks/8794.dc43f083.js.map +1 -0
- package/dist/chunks/chat-box.8bcfda44.js +2 -0
- package/dist/chunks/chat-box.8bcfda44.js.map +1 -0
- package/dist/chunks/main.0cb8577b.js +2 -0
- package/dist/chunks/main.0cb8577b.js.map +1 -0
- package/dist/chunks/preview-container.bcd6a2e8.js +2 -0
- package/dist/chunks/preview-container.bcd6a2e8.js.map +1 -0
- package/dist/examples.json +17 -14
- package/dist/index.f20bdd55.js +2 -0
- package/dist/index.f20bdd55.js.map +1 -0
- package/dist/manifest.json +158 -143
- package/dist/types.json +252 -239
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/preview-container/i18n.d.ts +15 -0
- package/dist-types/preview-container/index.d.ts +14 -0
- package/dist-types/preview-container/index.spec.d.ts +1 -0
- package/dist-types/shared/CodeDisplay.d.ts +5 -0
- package/docs/preview-container.md +141 -0
- package/package.json +3 -2
- package/dist/chunks/1165.9f35625d.js +0 -2
- package/dist/chunks/1165.9f35625d.js.map +0 -1
- package/dist/chunks/2615.be0e30f5.js +0 -2
- package/dist/chunks/2615.be0e30f5.js.map +0 -1
- package/dist/chunks/407.9c5249e2.js +0 -2
- package/dist/chunks/407.9c5249e2.js.map +0 -1
- package/dist/chunks/815.4a1ffe26.js +0 -3
- package/dist/chunks/815.4a1ffe26.js.map +0 -1
- package/dist/chunks/chat-box.d64330d3.js +0 -2
- package/dist/chunks/chat-box.d64330d3.js.map +0 -1
- package/dist/chunks/main.097732bc.js +0 -2
- package/dist/chunks/main.097732bc.js.map +0 -1
- package/dist/index.60427935.js +0 -2
- package/dist/index.60427935.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -1,4 +1,113 @@
|
|
|
1
1
|
{
|
|
2
|
+
"ai-portal.stat-with-mini-chart": {
|
|
3
|
+
"properties": [
|
|
4
|
+
{
|
|
5
|
+
"name": "label",
|
|
6
|
+
"annotation": {
|
|
7
|
+
"type": "keyword",
|
|
8
|
+
"value": "string"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "value",
|
|
13
|
+
"annotation": {
|
|
14
|
+
"type": "keyword",
|
|
15
|
+
"value": "string"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "size",
|
|
20
|
+
"annotation": {
|
|
21
|
+
"type": "union",
|
|
22
|
+
"types": [
|
|
23
|
+
{
|
|
24
|
+
"type": "jsLiteral",
|
|
25
|
+
"value": "medium"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "jsLiteral",
|
|
29
|
+
"value": "small"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "lineColor",
|
|
36
|
+
"annotation": {
|
|
37
|
+
"type": "keyword",
|
|
38
|
+
"value": "string"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "showArea",
|
|
43
|
+
"annotation": {
|
|
44
|
+
"type": "keyword",
|
|
45
|
+
"value": "boolean"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "min",
|
|
50
|
+
"annotation": {
|
|
51
|
+
"type": "keyword",
|
|
52
|
+
"value": "number"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "max",
|
|
57
|
+
"annotation": {
|
|
58
|
+
"type": "keyword",
|
|
59
|
+
"value": "number"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "xField",
|
|
64
|
+
"annotation": {
|
|
65
|
+
"type": "keyword",
|
|
66
|
+
"value": "string"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "yField",
|
|
71
|
+
"annotation": {
|
|
72
|
+
"type": "keyword",
|
|
73
|
+
"value": "string"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "data",
|
|
78
|
+
"annotation": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"elementType": {
|
|
81
|
+
"type": "reference",
|
|
82
|
+
"typeName": {
|
|
83
|
+
"type": "identifier",
|
|
84
|
+
"name": "Record"
|
|
85
|
+
},
|
|
86
|
+
"typeParameters": {
|
|
87
|
+
"type": "typeParameterInstantiation",
|
|
88
|
+
"params": [
|
|
89
|
+
{
|
|
90
|
+
"type": "keyword",
|
|
91
|
+
"value": "string"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"type": "keyword",
|
|
95
|
+
"value": "number"
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"events": [],
|
|
104
|
+
"methods": []
|
|
105
|
+
},
|
|
106
|
+
"ai-portal.home-container": {
|
|
107
|
+
"properties": [],
|
|
108
|
+
"events": [],
|
|
109
|
+
"methods": []
|
|
110
|
+
},
|
|
2
111
|
"ai-portal.icon-button": {
|
|
3
112
|
"properties": [
|
|
4
113
|
{
|
|
@@ -70,6 +179,87 @@
|
|
|
70
179
|
}
|
|
71
180
|
]
|
|
72
181
|
},
|
|
182
|
+
"ai-portal.page-container": {
|
|
183
|
+
"properties": [
|
|
184
|
+
{
|
|
185
|
+
"name": "pageTitle",
|
|
186
|
+
"annotation": {
|
|
187
|
+
"type": "keyword",
|
|
188
|
+
"value": "string"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "breadcrumbs",
|
|
193
|
+
"annotation": {
|
|
194
|
+
"type": "array",
|
|
195
|
+
"elementType": {
|
|
196
|
+
"type": "reference",
|
|
197
|
+
"typeName": {
|
|
198
|
+
"type": "identifier",
|
|
199
|
+
"name": "Breadcrumb"
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "size",
|
|
206
|
+
"annotation": {
|
|
207
|
+
"type": "union",
|
|
208
|
+
"types": [
|
|
209
|
+
{
|
|
210
|
+
"type": "jsLiteral",
|
|
211
|
+
"value": "medium"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"type": "jsLiteral",
|
|
215
|
+
"value": "small"
|
|
216
|
+
}
|
|
217
|
+
]
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"name": "textContent",
|
|
222
|
+
"annotation": {
|
|
223
|
+
"type": "keyword",
|
|
224
|
+
"value": "string"
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
],
|
|
228
|
+
"events": [],
|
|
229
|
+
"methods": [],
|
|
230
|
+
"types": [
|
|
231
|
+
{
|
|
232
|
+
"type": "interface",
|
|
233
|
+
"name": "Breadcrumb",
|
|
234
|
+
"body": [
|
|
235
|
+
{
|
|
236
|
+
"type": "propertySignature",
|
|
237
|
+
"key": {
|
|
238
|
+
"type": "identifier",
|
|
239
|
+
"name": "text"
|
|
240
|
+
},
|
|
241
|
+
"annotation": {
|
|
242
|
+
"type": "keyword",
|
|
243
|
+
"value": "string"
|
|
244
|
+
},
|
|
245
|
+
"computed": false
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"type": "propertySignature",
|
|
249
|
+
"key": {
|
|
250
|
+
"type": "identifier",
|
|
251
|
+
"name": "url"
|
|
252
|
+
},
|
|
253
|
+
"annotation": {
|
|
254
|
+
"type": "keyword",
|
|
255
|
+
"value": "string"
|
|
256
|
+
},
|
|
257
|
+
"computed": false
|
|
258
|
+
}
|
|
259
|
+
]
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
},
|
|
73
263
|
"ai-portal.entity-sdk-get": {
|
|
74
264
|
"type": "provider",
|
|
75
265
|
"params": [
|
|
@@ -275,87 +465,6 @@
|
|
|
275
465
|
}
|
|
276
466
|
}
|
|
277
467
|
},
|
|
278
|
-
"ai-portal.page-container": {
|
|
279
|
-
"properties": [
|
|
280
|
-
{
|
|
281
|
-
"name": "pageTitle",
|
|
282
|
-
"annotation": {
|
|
283
|
-
"type": "keyword",
|
|
284
|
-
"value": "string"
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "breadcrumbs",
|
|
289
|
-
"annotation": {
|
|
290
|
-
"type": "array",
|
|
291
|
-
"elementType": {
|
|
292
|
-
"type": "reference",
|
|
293
|
-
"typeName": {
|
|
294
|
-
"type": "identifier",
|
|
295
|
-
"name": "Breadcrumb"
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"name": "size",
|
|
302
|
-
"annotation": {
|
|
303
|
-
"type": "union",
|
|
304
|
-
"types": [
|
|
305
|
-
{
|
|
306
|
-
"type": "jsLiteral",
|
|
307
|
-
"value": "medium"
|
|
308
|
-
},
|
|
309
|
-
{
|
|
310
|
-
"type": "jsLiteral",
|
|
311
|
-
"value": "small"
|
|
312
|
-
}
|
|
313
|
-
]
|
|
314
|
-
}
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
"name": "textContent",
|
|
318
|
-
"annotation": {
|
|
319
|
-
"type": "keyword",
|
|
320
|
-
"value": "string"
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
],
|
|
324
|
-
"events": [],
|
|
325
|
-
"methods": [],
|
|
326
|
-
"types": [
|
|
327
|
-
{
|
|
328
|
-
"type": "interface",
|
|
329
|
-
"name": "Breadcrumb",
|
|
330
|
-
"body": [
|
|
331
|
-
{
|
|
332
|
-
"type": "propertySignature",
|
|
333
|
-
"key": {
|
|
334
|
-
"type": "identifier",
|
|
335
|
-
"name": "text"
|
|
336
|
-
},
|
|
337
|
-
"annotation": {
|
|
338
|
-
"type": "keyword",
|
|
339
|
-
"value": "string"
|
|
340
|
-
},
|
|
341
|
-
"computed": false
|
|
342
|
-
},
|
|
343
|
-
{
|
|
344
|
-
"type": "propertySignature",
|
|
345
|
-
"key": {
|
|
346
|
-
"type": "identifier",
|
|
347
|
-
"name": "url"
|
|
348
|
-
},
|
|
349
|
-
"annotation": {
|
|
350
|
-
"type": "keyword",
|
|
351
|
-
"value": "string"
|
|
352
|
-
},
|
|
353
|
-
"computed": false
|
|
354
|
-
}
|
|
355
|
-
]
|
|
356
|
-
}
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
468
|
"ai-portal.tab-list": {
|
|
360
469
|
"properties": [
|
|
361
470
|
{
|
|
@@ -427,115 +536,6 @@
|
|
|
427
536
|
}
|
|
428
537
|
]
|
|
429
538
|
},
|
|
430
|
-
"ai-portal.home-container": {
|
|
431
|
-
"properties": [],
|
|
432
|
-
"events": [],
|
|
433
|
-
"methods": []
|
|
434
|
-
},
|
|
435
|
-
"ai-portal.stat-with-mini-chart": {
|
|
436
|
-
"properties": [
|
|
437
|
-
{
|
|
438
|
-
"name": "label",
|
|
439
|
-
"annotation": {
|
|
440
|
-
"type": "keyword",
|
|
441
|
-
"value": "string"
|
|
442
|
-
}
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"name": "value",
|
|
446
|
-
"annotation": {
|
|
447
|
-
"type": "keyword",
|
|
448
|
-
"value": "string"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"name": "size",
|
|
453
|
-
"annotation": {
|
|
454
|
-
"type": "union",
|
|
455
|
-
"types": [
|
|
456
|
-
{
|
|
457
|
-
"type": "jsLiteral",
|
|
458
|
-
"value": "medium"
|
|
459
|
-
},
|
|
460
|
-
{
|
|
461
|
-
"type": "jsLiteral",
|
|
462
|
-
"value": "small"
|
|
463
|
-
}
|
|
464
|
-
]
|
|
465
|
-
}
|
|
466
|
-
},
|
|
467
|
-
{
|
|
468
|
-
"name": "lineColor",
|
|
469
|
-
"annotation": {
|
|
470
|
-
"type": "keyword",
|
|
471
|
-
"value": "string"
|
|
472
|
-
}
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"name": "showArea",
|
|
476
|
-
"annotation": {
|
|
477
|
-
"type": "keyword",
|
|
478
|
-
"value": "boolean"
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
{
|
|
482
|
-
"name": "min",
|
|
483
|
-
"annotation": {
|
|
484
|
-
"type": "keyword",
|
|
485
|
-
"value": "number"
|
|
486
|
-
}
|
|
487
|
-
},
|
|
488
|
-
{
|
|
489
|
-
"name": "max",
|
|
490
|
-
"annotation": {
|
|
491
|
-
"type": "keyword",
|
|
492
|
-
"value": "number"
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
"name": "xField",
|
|
497
|
-
"annotation": {
|
|
498
|
-
"type": "keyword",
|
|
499
|
-
"value": "string"
|
|
500
|
-
}
|
|
501
|
-
},
|
|
502
|
-
{
|
|
503
|
-
"name": "yField",
|
|
504
|
-
"annotation": {
|
|
505
|
-
"type": "keyword",
|
|
506
|
-
"value": "string"
|
|
507
|
-
}
|
|
508
|
-
},
|
|
509
|
-
{
|
|
510
|
-
"name": "data",
|
|
511
|
-
"annotation": {
|
|
512
|
-
"type": "array",
|
|
513
|
-
"elementType": {
|
|
514
|
-
"type": "reference",
|
|
515
|
-
"typeName": {
|
|
516
|
-
"type": "identifier",
|
|
517
|
-
"name": "Record"
|
|
518
|
-
},
|
|
519
|
-
"typeParameters": {
|
|
520
|
-
"type": "typeParameterInstantiation",
|
|
521
|
-
"params": [
|
|
522
|
-
{
|
|
523
|
-
"type": "keyword",
|
|
524
|
-
"value": "string"
|
|
525
|
-
},
|
|
526
|
-
{
|
|
527
|
-
"type": "keyword",
|
|
528
|
-
"value": "number"
|
|
529
|
-
}
|
|
530
|
-
]
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
],
|
|
536
|
-
"events": [],
|
|
537
|
-
"methods": []
|
|
538
|
-
},
|
|
539
539
|
"ai-portal.chat-box": {
|
|
540
540
|
"properties": [
|
|
541
541
|
{
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
}
|
|
800
800
|
]
|
|
801
801
|
},
|
|
802
|
-
"ai-portal.ai-
|
|
802
|
+
"ai-portal.ai-agents": {
|
|
803
803
|
"properties": [
|
|
804
804
|
{
|
|
805
805
|
"name": "list",
|
|
@@ -809,21 +809,11 @@
|
|
|
809
809
|
"type": "reference",
|
|
810
810
|
"typeName": {
|
|
811
811
|
"type": "identifier",
|
|
812
|
-
"name": "
|
|
812
|
+
"name": "Agent"
|
|
813
813
|
}
|
|
814
814
|
}
|
|
815
815
|
}
|
|
816
816
|
},
|
|
817
|
-
{
|
|
818
|
-
"name": "industries",
|
|
819
|
-
"annotation": {
|
|
820
|
-
"type": "array",
|
|
821
|
-
"elementType": {
|
|
822
|
-
"type": "keyword",
|
|
823
|
-
"value": "string"
|
|
824
|
-
}
|
|
825
|
-
}
|
|
826
|
-
},
|
|
827
817
|
{
|
|
828
818
|
"name": "urlTemplate",
|
|
829
819
|
"annotation": {
|
|
@@ -844,7 +834,7 @@
|
|
|
844
834
|
"types": [
|
|
845
835
|
{
|
|
846
836
|
"type": "interface",
|
|
847
|
-
"name": "
|
|
837
|
+
"name": "Agent",
|
|
848
838
|
"body": [
|
|
849
839
|
{
|
|
850
840
|
"type": "propertySignature",
|
|
@@ -862,19 +852,7 @@
|
|
|
862
852
|
"type": "propertySignature",
|
|
863
853
|
"key": {
|
|
864
854
|
"type": "identifier",
|
|
865
|
-
"name": "
|
|
866
|
-
},
|
|
867
|
-
"annotation": {
|
|
868
|
-
"type": "keyword",
|
|
869
|
-
"value": "string"
|
|
870
|
-
},
|
|
871
|
-
"computed": false
|
|
872
|
-
},
|
|
873
|
-
{
|
|
874
|
-
"type": "propertySignature",
|
|
875
|
-
"key": {
|
|
876
|
-
"type": "identifier",
|
|
877
|
-
"name": "role"
|
|
855
|
+
"name": "description"
|
|
878
856
|
},
|
|
879
857
|
"annotation": {
|
|
880
858
|
"type": "keyword",
|
|
@@ -886,23 +864,30 @@
|
|
|
886
864
|
"type": "propertySignature",
|
|
887
865
|
"key": {
|
|
888
866
|
"type": "identifier",
|
|
889
|
-
"name": "
|
|
867
|
+
"name": "icon"
|
|
890
868
|
},
|
|
891
869
|
"annotation": {
|
|
892
|
-
"type": "
|
|
893
|
-
"
|
|
870
|
+
"type": "reference",
|
|
871
|
+
"typeName": {
|
|
872
|
+
"type": "identifier",
|
|
873
|
+
"name": "GeneralIconProps"
|
|
874
|
+
}
|
|
894
875
|
},
|
|
876
|
+
"optional": true,
|
|
895
877
|
"computed": false
|
|
896
878
|
},
|
|
897
879
|
{
|
|
898
880
|
"type": "propertySignature",
|
|
899
881
|
"key": {
|
|
900
882
|
"type": "identifier",
|
|
901
|
-
"name": "
|
|
883
|
+
"name": "tags"
|
|
902
884
|
},
|
|
903
885
|
"annotation": {
|
|
904
|
-
"type": "
|
|
905
|
-
"
|
|
886
|
+
"type": "array",
|
|
887
|
+
"elementType": {
|
|
888
|
+
"type": "keyword",
|
|
889
|
+
"value": "string"
|
|
890
|
+
}
|
|
906
891
|
},
|
|
907
892
|
"optional": true,
|
|
908
893
|
"computed": false
|
|
@@ -911,7 +896,7 @@
|
|
|
911
896
|
}
|
|
912
897
|
]
|
|
913
898
|
},
|
|
914
|
-
"ai-portal.ai-
|
|
899
|
+
"ai-portal.ai-employees": {
|
|
915
900
|
"properties": [
|
|
916
901
|
{
|
|
917
902
|
"name": "list",
|
|
@@ -921,11 +906,21 @@
|
|
|
921
906
|
"type": "reference",
|
|
922
907
|
"typeName": {
|
|
923
908
|
"type": "identifier",
|
|
924
|
-
"name": "
|
|
909
|
+
"name": "Employee"
|
|
925
910
|
}
|
|
926
911
|
}
|
|
927
912
|
}
|
|
928
913
|
},
|
|
914
|
+
{
|
|
915
|
+
"name": "industries",
|
|
916
|
+
"annotation": {
|
|
917
|
+
"type": "array",
|
|
918
|
+
"elementType": {
|
|
919
|
+
"type": "keyword",
|
|
920
|
+
"value": "string"
|
|
921
|
+
}
|
|
922
|
+
}
|
|
923
|
+
},
|
|
929
924
|
{
|
|
930
925
|
"name": "urlTemplate",
|
|
931
926
|
"annotation": {
|
|
@@ -946,7 +941,7 @@
|
|
|
946
941
|
"types": [
|
|
947
942
|
{
|
|
948
943
|
"type": "interface",
|
|
949
|
-
"name": "
|
|
944
|
+
"name": "Employee",
|
|
950
945
|
"body": [
|
|
951
946
|
{
|
|
952
947
|
"type": "propertySignature",
|
|
@@ -964,7 +959,7 @@
|
|
|
964
959
|
"type": "propertySignature",
|
|
965
960
|
"key": {
|
|
966
961
|
"type": "identifier",
|
|
967
|
-
"name": "
|
|
962
|
+
"name": "industry"
|
|
968
963
|
},
|
|
969
964
|
"annotation": {
|
|
970
965
|
"type": "keyword",
|
|
@@ -976,30 +971,35 @@
|
|
|
976
971
|
"type": "propertySignature",
|
|
977
972
|
"key": {
|
|
978
973
|
"type": "identifier",
|
|
979
|
-
"name": "
|
|
974
|
+
"name": "role"
|
|
980
975
|
},
|
|
981
976
|
"annotation": {
|
|
982
|
-
"type": "
|
|
983
|
-
"
|
|
984
|
-
"type": "identifier",
|
|
985
|
-
"name": "GeneralIconProps"
|
|
986
|
-
}
|
|
977
|
+
"type": "keyword",
|
|
978
|
+
"value": "string"
|
|
987
979
|
},
|
|
988
|
-
"optional": true,
|
|
989
980
|
"computed": false
|
|
990
981
|
},
|
|
991
982
|
{
|
|
992
983
|
"type": "propertySignature",
|
|
993
984
|
"key": {
|
|
994
985
|
"type": "identifier",
|
|
995
|
-
"name": "
|
|
986
|
+
"name": "description"
|
|
996
987
|
},
|
|
997
988
|
"annotation": {
|
|
998
|
-
"type": "
|
|
999
|
-
"
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
989
|
+
"type": "keyword",
|
|
990
|
+
"value": "string"
|
|
991
|
+
},
|
|
992
|
+
"computed": false
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
"type": "propertySignature",
|
|
996
|
+
"key": {
|
|
997
|
+
"type": "identifier",
|
|
998
|
+
"name": "avatar"
|
|
999
|
+
},
|
|
1000
|
+
"annotation": {
|
|
1001
|
+
"type": "keyword",
|
|
1002
|
+
"value": "string"
|
|
1003
1003
|
},
|
|
1004
1004
|
"optional": true,
|
|
1005
1005
|
"computed": false
|
|
@@ -1230,6 +1230,19 @@
|
|
|
1230
1230
|
}
|
|
1231
1231
|
]
|
|
1232
1232
|
},
|
|
1233
|
+
"ai-portal.preview-container": {
|
|
1234
|
+
"properties": [
|
|
1235
|
+
{
|
|
1236
|
+
"name": "source",
|
|
1237
|
+
"annotation": {
|
|
1238
|
+
"type": "keyword",
|
|
1239
|
+
"value": "string"
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
],
|
|
1243
|
+
"events": [],
|
|
1244
|
+
"methods": []
|
|
1245
|
+
},
|
|
1233
1246
|
"ai-portal.elevo-sidebar": {
|
|
1234
1247
|
"properties": [
|
|
1235
1248
|
{
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum K {
|
|
2
|
+
UNTITLED = "UNTITLED"
|
|
3
|
+
}
|
|
4
|
+
export declare const NS = "bricks/ai-portal/preview-container";
|
|
5
|
+
export declare const locales: {
|
|
6
|
+
en: Locale;
|
|
7
|
+
zh: Locale;
|
|
8
|
+
};
|
|
9
|
+
export declare const t: any;
|
|
10
|
+
type Locale = {
|
|
11
|
+
[k in K]: string;
|
|
12
|
+
} & {
|
|
13
|
+
[k in K as `${k}_plural`]?: string;
|
|
14
|
+
};
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import "@next-core/theme";
|
|
4
|
+
export interface PreviewContainerProps {
|
|
5
|
+
source?: string;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 构件 `ai-portal.preview-container`
|
|
9
|
+
*/
|
|
10
|
+
export declare class PreviewContainer extends ReactNextElement implements PreviewContainerProps {
|
|
11
|
+
#private;
|
|
12
|
+
accessor source: string | undefined;
|
|
13
|
+
render(): React.JSX.Element;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
|
@@ -4,4 +4,9 @@ export interface CodeDisplayProps {
|
|
|
4
4
|
source: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* NOTE: This component uses React's experimental `use` hook to handle async rendering.
|
|
9
|
+
*
|
|
10
|
+
* Ensure wrapping it with <Suspense> in the parent component.
|
|
11
|
+
*/
|
|
7
12
|
export declare function CodeDisplay({ source, language }: CodeDisplayProps): React.JSX.Element | JSX.Element;
|