@next-bricks/ai-portal 0.27.2 → 0.27.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 +14 -14
- package/dist/chunks/4820.aac100e7.js +2 -0
- package/dist/chunks/4820.aac100e7.js.map +1 -0
- package/dist/chunks/{981.03a72180.js → 981.25399261.js} +2 -2
- package/dist/chunks/981.25399261.js.map +1 -0
- package/dist/chunks/{main.7f69e4a0.js → main.c5b310bc.js} +2 -2
- package/dist/chunks/{main.7f69e4a0.js.map → main.c5b310bc.js.map} +1 -1
- package/dist/examples.json +11 -11
- package/dist/{index.bd7e0061.js → index.ad3daeab.js} +2 -2
- package/dist/{index.bd7e0061.js.map → index.ad3daeab.js.map} +1 -1
- package/dist/manifest.json +110 -110
- package/dist/types.json +255 -255
- package/package.json +2 -2
- package/dist/chunks/4820.e3f1d522.js +0 -2
- package/dist/chunks/4820.e3f1d522.js.map +0 -1
- package/dist/chunks/981.03a72180.js.map +0 -1
package/dist/types.json
CHANGED
|
@@ -1,77 +1,4 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ai-portal.home-container": {
|
|
3
|
-
"properties": [],
|
|
4
|
-
"events": [],
|
|
5
|
-
"methods": []
|
|
6
|
-
},
|
|
7
|
-
"ai-portal.elevo-logo": {
|
|
8
|
-
"properties": [],
|
|
9
|
-
"events": [],
|
|
10
|
-
"methods": []
|
|
11
|
-
},
|
|
12
|
-
"ai-portal.icon-button": {
|
|
13
|
-
"properties": [
|
|
14
|
-
{
|
|
15
|
-
"name": "icon",
|
|
16
|
-
"annotation": {
|
|
17
|
-
"type": "reference",
|
|
18
|
-
"typeName": {
|
|
19
|
-
"type": "identifier",
|
|
20
|
-
"name": "GeneralIconProps"
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"name": "tooltip",
|
|
26
|
-
"annotation": {
|
|
27
|
-
"type": "keyword",
|
|
28
|
-
"value": "string"
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"name": "disabled",
|
|
33
|
-
"annotation": {
|
|
34
|
-
"type": "keyword",
|
|
35
|
-
"value": "boolean"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "variant",
|
|
40
|
-
"annotation": {
|
|
41
|
-
"type": "reference",
|
|
42
|
-
"typeName": {
|
|
43
|
-
"type": "identifier",
|
|
44
|
-
"name": "IconButtonVariant"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
"events": [],
|
|
50
|
-
"methods": [],
|
|
51
|
-
"types": [
|
|
52
|
-
{
|
|
53
|
-
"type": "typeAlias",
|
|
54
|
-
"name": "IconButtonVariant",
|
|
55
|
-
"annotation": {
|
|
56
|
-
"type": "union",
|
|
57
|
-
"types": [
|
|
58
|
-
{
|
|
59
|
-
"type": "jsLiteral",
|
|
60
|
-
"value": "default"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"type": "jsLiteral",
|
|
64
|
-
"value": "light"
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"type": "jsLiteral",
|
|
68
|
-
"value": "mini"
|
|
69
|
-
}
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
]
|
|
74
|
-
},
|
|
75
2
|
"ai-portal.stat-with-mini-chart": {
|
|
76
3
|
"properties": [
|
|
77
4
|
{
|
|
@@ -176,6 +103,74 @@
|
|
|
176
103
|
"events": [],
|
|
177
104
|
"methods": []
|
|
178
105
|
},
|
|
106
|
+
"ai-portal.elevo-logo": {
|
|
107
|
+
"properties": [],
|
|
108
|
+
"events": [],
|
|
109
|
+
"methods": []
|
|
110
|
+
},
|
|
111
|
+
"ai-portal.icon-button": {
|
|
112
|
+
"properties": [
|
|
113
|
+
{
|
|
114
|
+
"name": "icon",
|
|
115
|
+
"annotation": {
|
|
116
|
+
"type": "reference",
|
|
117
|
+
"typeName": {
|
|
118
|
+
"type": "identifier",
|
|
119
|
+
"name": "GeneralIconProps"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "tooltip",
|
|
125
|
+
"annotation": {
|
|
126
|
+
"type": "keyword",
|
|
127
|
+
"value": "string"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "disabled",
|
|
132
|
+
"annotation": {
|
|
133
|
+
"type": "keyword",
|
|
134
|
+
"value": "boolean"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "variant",
|
|
139
|
+
"annotation": {
|
|
140
|
+
"type": "reference",
|
|
141
|
+
"typeName": {
|
|
142
|
+
"type": "identifier",
|
|
143
|
+
"name": "IconButtonVariant"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
"events": [],
|
|
149
|
+
"methods": [],
|
|
150
|
+
"types": [
|
|
151
|
+
{
|
|
152
|
+
"type": "typeAlias",
|
|
153
|
+
"name": "IconButtonVariant",
|
|
154
|
+
"annotation": {
|
|
155
|
+
"type": "union",
|
|
156
|
+
"types": [
|
|
157
|
+
{
|
|
158
|
+
"type": "jsLiteral",
|
|
159
|
+
"value": "default"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"type": "jsLiteral",
|
|
163
|
+
"value": "light"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"type": "jsLiteral",
|
|
167
|
+
"value": "mini"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
179
174
|
"ai-portal.save-request-store": {
|
|
180
175
|
"type": "provider",
|
|
181
176
|
"params": [
|
|
@@ -293,6 +288,11 @@
|
|
|
293
288
|
}
|
|
294
289
|
}
|
|
295
290
|
},
|
|
291
|
+
"ai-portal.home-container": {
|
|
292
|
+
"properties": [],
|
|
293
|
+
"events": [],
|
|
294
|
+
"methods": []
|
|
295
|
+
},
|
|
296
296
|
"ai-portal.chat-box": {
|
|
297
297
|
"properties": [
|
|
298
298
|
{
|
|
@@ -382,188 +382,6 @@
|
|
|
382
382
|
}
|
|
383
383
|
]
|
|
384
384
|
},
|
|
385
|
-
"ai-portal.chat-history": {
|
|
386
|
-
"properties": [
|
|
387
|
-
{
|
|
388
|
-
"name": "list",
|
|
389
|
-
"annotation": {
|
|
390
|
-
"type": "array",
|
|
391
|
-
"elementType": {
|
|
392
|
-
"type": "reference",
|
|
393
|
-
"typeName": {
|
|
394
|
-
"type": "identifier",
|
|
395
|
-
"name": "HistoryItem"
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
"name": "actions",
|
|
402
|
-
"annotation": {
|
|
403
|
-
"type": "array",
|
|
404
|
-
"elementType": {
|
|
405
|
-
"type": "reference",
|
|
406
|
-
"typeName": {
|
|
407
|
-
"type": "identifier",
|
|
408
|
-
"name": "ActionType"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"name": "nextToken",
|
|
415
|
-
"annotation": {
|
|
416
|
-
"type": "keyword",
|
|
417
|
-
"value": "string"
|
|
418
|
-
}
|
|
419
|
-
}
|
|
420
|
-
],
|
|
421
|
-
"events": [
|
|
422
|
-
{
|
|
423
|
-
"name": "action.click",
|
|
424
|
-
"detail": {
|
|
425
|
-
"annotation": {
|
|
426
|
-
"type": "reference",
|
|
427
|
-
"typeName": {
|
|
428
|
-
"type": "identifier",
|
|
429
|
-
"name": "ActionClickDetail"
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
}
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"name": "load.more",
|
|
436
|
-
"detail": {
|
|
437
|
-
"annotation": {
|
|
438
|
-
"type": "typeLiteral",
|
|
439
|
-
"members": [
|
|
440
|
-
{
|
|
441
|
-
"type": "propertySignature",
|
|
442
|
-
"key": {
|
|
443
|
-
"type": "identifier",
|
|
444
|
-
"name": "nextToken"
|
|
445
|
-
},
|
|
446
|
-
"annotation": {
|
|
447
|
-
"type": "keyword",
|
|
448
|
-
"value": "string"
|
|
449
|
-
},
|
|
450
|
-
"computed": false
|
|
451
|
-
}
|
|
452
|
-
]
|
|
453
|
-
}
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
],
|
|
457
|
-
"methods": [],
|
|
458
|
-
"types": [
|
|
459
|
-
{
|
|
460
|
-
"type": "interface",
|
|
461
|
-
"name": "HistoryItem",
|
|
462
|
-
"body": [
|
|
463
|
-
{
|
|
464
|
-
"type": "propertySignature",
|
|
465
|
-
"key": {
|
|
466
|
-
"type": "identifier",
|
|
467
|
-
"name": "id"
|
|
468
|
-
},
|
|
469
|
-
"annotation": {
|
|
470
|
-
"type": "keyword",
|
|
471
|
-
"value": "string"
|
|
472
|
-
},
|
|
473
|
-
"computed": false
|
|
474
|
-
},
|
|
475
|
-
{
|
|
476
|
-
"type": "propertySignature",
|
|
477
|
-
"key": {
|
|
478
|
-
"type": "identifier",
|
|
479
|
-
"name": "url"
|
|
480
|
-
},
|
|
481
|
-
"annotation": {
|
|
482
|
-
"type": "keyword",
|
|
483
|
-
"value": "string"
|
|
484
|
-
},
|
|
485
|
-
"computed": false
|
|
486
|
-
},
|
|
487
|
-
{
|
|
488
|
-
"type": "propertySignature",
|
|
489
|
-
"key": {
|
|
490
|
-
"type": "identifier",
|
|
491
|
-
"name": "title"
|
|
492
|
-
},
|
|
493
|
-
"annotation": {
|
|
494
|
-
"type": "keyword",
|
|
495
|
-
"value": "string"
|
|
496
|
-
},
|
|
497
|
-
"computed": false
|
|
498
|
-
},
|
|
499
|
-
{
|
|
500
|
-
"type": "propertySignature",
|
|
501
|
-
"key": {
|
|
502
|
-
"type": "identifier",
|
|
503
|
-
"name": "startTime"
|
|
504
|
-
},
|
|
505
|
-
"annotation": {
|
|
506
|
-
"type": "keyword",
|
|
507
|
-
"value": "number"
|
|
508
|
-
},
|
|
509
|
-
"computed": false
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
"type": "propertySignature",
|
|
513
|
-
"key": {
|
|
514
|
-
"type": "identifier",
|
|
515
|
-
"name": "state"
|
|
516
|
-
},
|
|
517
|
-
"annotation": {
|
|
518
|
-
"type": "reference",
|
|
519
|
-
"typeName": {
|
|
520
|
-
"type": "identifier",
|
|
521
|
-
"name": "TaskState"
|
|
522
|
-
}
|
|
523
|
-
},
|
|
524
|
-
"optional": true,
|
|
525
|
-
"computed": false
|
|
526
|
-
}
|
|
527
|
-
]
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"type": "interface",
|
|
531
|
-
"name": "ActionClickDetail",
|
|
532
|
-
"body": [
|
|
533
|
-
{
|
|
534
|
-
"type": "propertySignature",
|
|
535
|
-
"key": {
|
|
536
|
-
"type": "identifier",
|
|
537
|
-
"name": "action"
|
|
538
|
-
},
|
|
539
|
-
"annotation": {
|
|
540
|
-
"type": "reference",
|
|
541
|
-
"typeName": {
|
|
542
|
-
"type": "identifier",
|
|
543
|
-
"name": "SimpleActionType"
|
|
544
|
-
}
|
|
545
|
-
},
|
|
546
|
-
"computed": false
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
"type": "propertySignature",
|
|
550
|
-
"key": {
|
|
551
|
-
"type": "identifier",
|
|
552
|
-
"name": "item"
|
|
553
|
-
},
|
|
554
|
-
"annotation": {
|
|
555
|
-
"type": "reference",
|
|
556
|
-
"typeName": {
|
|
557
|
-
"type": "identifier",
|
|
558
|
-
"name": "HistoryItem"
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
"computed": false
|
|
562
|
-
}
|
|
563
|
-
]
|
|
564
|
-
}
|
|
565
|
-
]
|
|
566
|
-
},
|
|
567
385
|
"ai-portal.show-cases": {
|
|
568
386
|
"properties": [
|
|
569
387
|
{
|
|
@@ -951,6 +769,188 @@
|
|
|
951
769
|
}
|
|
952
770
|
]
|
|
953
771
|
},
|
|
772
|
+
"ai-portal.chat-history": {
|
|
773
|
+
"properties": [
|
|
774
|
+
{
|
|
775
|
+
"name": "list",
|
|
776
|
+
"annotation": {
|
|
777
|
+
"type": "array",
|
|
778
|
+
"elementType": {
|
|
779
|
+
"type": "reference",
|
|
780
|
+
"typeName": {
|
|
781
|
+
"type": "identifier",
|
|
782
|
+
"name": "HistoryItem"
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "actions",
|
|
789
|
+
"annotation": {
|
|
790
|
+
"type": "array",
|
|
791
|
+
"elementType": {
|
|
792
|
+
"type": "reference",
|
|
793
|
+
"typeName": {
|
|
794
|
+
"type": "identifier",
|
|
795
|
+
"name": "ActionType"
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "nextToken",
|
|
802
|
+
"annotation": {
|
|
803
|
+
"type": "keyword",
|
|
804
|
+
"value": "string"
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
],
|
|
808
|
+
"events": [
|
|
809
|
+
{
|
|
810
|
+
"name": "action.click",
|
|
811
|
+
"detail": {
|
|
812
|
+
"annotation": {
|
|
813
|
+
"type": "reference",
|
|
814
|
+
"typeName": {
|
|
815
|
+
"type": "identifier",
|
|
816
|
+
"name": "ActionClickDetail"
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"name": "load.more",
|
|
823
|
+
"detail": {
|
|
824
|
+
"annotation": {
|
|
825
|
+
"type": "typeLiteral",
|
|
826
|
+
"members": [
|
|
827
|
+
{
|
|
828
|
+
"type": "propertySignature",
|
|
829
|
+
"key": {
|
|
830
|
+
"type": "identifier",
|
|
831
|
+
"name": "nextToken"
|
|
832
|
+
},
|
|
833
|
+
"annotation": {
|
|
834
|
+
"type": "keyword",
|
|
835
|
+
"value": "string"
|
|
836
|
+
},
|
|
837
|
+
"computed": false
|
|
838
|
+
}
|
|
839
|
+
]
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
],
|
|
844
|
+
"methods": [],
|
|
845
|
+
"types": [
|
|
846
|
+
{
|
|
847
|
+
"type": "interface",
|
|
848
|
+
"name": "HistoryItem",
|
|
849
|
+
"body": [
|
|
850
|
+
{
|
|
851
|
+
"type": "propertySignature",
|
|
852
|
+
"key": {
|
|
853
|
+
"type": "identifier",
|
|
854
|
+
"name": "id"
|
|
855
|
+
},
|
|
856
|
+
"annotation": {
|
|
857
|
+
"type": "keyword",
|
|
858
|
+
"value": "string"
|
|
859
|
+
},
|
|
860
|
+
"computed": false
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
"type": "propertySignature",
|
|
864
|
+
"key": {
|
|
865
|
+
"type": "identifier",
|
|
866
|
+
"name": "url"
|
|
867
|
+
},
|
|
868
|
+
"annotation": {
|
|
869
|
+
"type": "keyword",
|
|
870
|
+
"value": "string"
|
|
871
|
+
},
|
|
872
|
+
"computed": false
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"type": "propertySignature",
|
|
876
|
+
"key": {
|
|
877
|
+
"type": "identifier",
|
|
878
|
+
"name": "title"
|
|
879
|
+
},
|
|
880
|
+
"annotation": {
|
|
881
|
+
"type": "keyword",
|
|
882
|
+
"value": "string"
|
|
883
|
+
},
|
|
884
|
+
"computed": false
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"type": "propertySignature",
|
|
888
|
+
"key": {
|
|
889
|
+
"type": "identifier",
|
|
890
|
+
"name": "startTime"
|
|
891
|
+
},
|
|
892
|
+
"annotation": {
|
|
893
|
+
"type": "keyword",
|
|
894
|
+
"value": "number"
|
|
895
|
+
},
|
|
896
|
+
"computed": false
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
"type": "propertySignature",
|
|
900
|
+
"key": {
|
|
901
|
+
"type": "identifier",
|
|
902
|
+
"name": "state"
|
|
903
|
+
},
|
|
904
|
+
"annotation": {
|
|
905
|
+
"type": "reference",
|
|
906
|
+
"typeName": {
|
|
907
|
+
"type": "identifier",
|
|
908
|
+
"name": "TaskState"
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"optional": true,
|
|
912
|
+
"computed": false
|
|
913
|
+
}
|
|
914
|
+
]
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"type": "interface",
|
|
918
|
+
"name": "ActionClickDetail",
|
|
919
|
+
"body": [
|
|
920
|
+
{
|
|
921
|
+
"type": "propertySignature",
|
|
922
|
+
"key": {
|
|
923
|
+
"type": "identifier",
|
|
924
|
+
"name": "action"
|
|
925
|
+
},
|
|
926
|
+
"annotation": {
|
|
927
|
+
"type": "reference",
|
|
928
|
+
"typeName": {
|
|
929
|
+
"type": "identifier",
|
|
930
|
+
"name": "SimpleActionType"
|
|
931
|
+
}
|
|
932
|
+
},
|
|
933
|
+
"computed": false
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"type": "propertySignature",
|
|
937
|
+
"key": {
|
|
938
|
+
"type": "identifier",
|
|
939
|
+
"name": "item"
|
|
940
|
+
},
|
|
941
|
+
"annotation": {
|
|
942
|
+
"type": "reference",
|
|
943
|
+
"typeName": {
|
|
944
|
+
"type": "identifier",
|
|
945
|
+
"name": "HistoryItem"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
"computed": false
|
|
949
|
+
}
|
|
950
|
+
]
|
|
951
|
+
}
|
|
952
|
+
]
|
|
953
|
+
},
|
|
954
954
|
"ai-portal.elevo-sidebar": {
|
|
955
955
|
"properties": [
|
|
956
956
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.27.
|
|
3
|
+
"version": "0.27.3",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@next-bricks/presentational": "*",
|
|
47
47
|
"@next-bricks/vs": "*"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3c3ec363a9c143148c50138294792d77bfda8070"
|
|
50
50
|
}
|