@next-bricks/visual-builder 1.10.2 → 1.11.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 +4 -1
- package/dist/chunks/{3748.7b722dad.js → 2154.6e2bf1c1.js} +3 -3
- package/dist/chunks/2154.6e2bf1c1.js.map +1 -0
- package/dist/chunks/{2652.1fe0a40d.js → 2652.a4face90.js} +2 -2
- package/dist/chunks/2652.a4face90.js.map +1 -0
- package/dist/chunks/2980.92b686dc.js +2 -0
- package/dist/chunks/2980.92b686dc.js.map +1 -0
- package/dist/chunks/6828.65e57173.js +3 -0
- package/dist/chunks/6828.65e57173.js.LICENSE.txt +15 -0
- package/dist/chunks/6828.65e57173.js.map +1 -0
- package/dist/chunks/{7115.50b62524.js → 7115.1aeb7468.js} +2 -2
- package/dist/chunks/{7115.50b62524.js.map → 7115.1aeb7468.js.map} +1 -1
- package/dist/chunks/{9027.e6bfe91e.js → 9027.01529a48.js} +2 -2
- package/dist/chunks/{9027.e6bfe91e.js.map → 9027.01529a48.js.map} +1 -1
- package/dist/chunks/{9496.0b94e1c2.js → 9496.9cb3a6aa.js} +2 -2
- package/dist/chunks/{9496.0b94e1c2.js.map → 9496.9cb3a6aa.js.map} +1 -1
- package/dist/chunks/chat-conversation.f6d76e95.js +2 -0
- package/dist/chunks/chat-conversation.f6d76e95.js.map +1 -0
- package/dist/chunks/{chat-preview.eef5647b.js → chat-preview.6733a6b3.js} +2 -2
- package/dist/chunks/{chat-preview.eef5647b.js.map → chat-preview.6733a6b3.js.map} +1 -1
- package/dist/chunks/main.706321b2.js +2 -0
- package/dist/chunks/main.706321b2.js.map +1 -0
- package/dist/chunks/{workbench-action-list.3328d8d7.js → workbench-action-list.4a1aa8df.js} +2 -2
- package/dist/chunks/{workbench-action-list.3328d8d7.js.map → workbench-action-list.4a1aa8df.js.map} +1 -1
- package/dist/chunks/{workbench-history-action.a4cad86f.js → workbench-history-action.2c208c51.js} +3 -3
- package/dist/chunks/{workbench-history-action.a4cad86f.js.map → workbench-history-action.2c208c51.js.map} +1 -1
- package/dist/chunks/workbench-tree.35da5fd0.js +3 -0
- package/dist/chunks/workbench-tree.35da5fd0.js.map +1 -0
- package/dist/index.9573b911.js +2 -0
- package/dist/index.9573b911.js.map +1 -0
- package/dist/types.json +319 -319
- package/dist-types/chat-conversation/MessageComponent.d.ts +6 -0
- package/dist-types/chat-conversation/index.d.ts +2 -2
- package/package.json +2 -2
- package/dist/chunks/2652.1fe0a40d.js.map +0 -1
- package/dist/chunks/3748.7b722dad.js.map +0 -1
- package/dist/chunks/3801.5277ce4c.js +0 -3
- package/dist/chunks/3801.5277ce4c.js.map +0 -1
- package/dist/chunks/chat-conversation.3e002e64.js +0 -3
- package/dist/chunks/chat-conversation.3e002e64.js.LICENSE.txt +0 -5
- package/dist/chunks/chat-conversation.3e002e64.js.map +0 -1
- package/dist/chunks/main.acbfab97.js +0 -2
- package/dist/chunks/main.acbfab97.js.map +0 -1
- package/dist/chunks/workbench-tree.80891e63.js +0 -2
- package/dist/chunks/workbench-tree.80891e63.js.map +0 -1
- package/dist/index.d3d05b35.js +0 -2
- package/dist/index.d3d05b35.js.map +0 -1
- /package/dist/chunks/{3748.7b722dad.js.LICENSE.txt → 2154.6e2bf1c1.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{workbench-history-action.a4cad86f.js.LICENSE.txt → workbench-history-action.2c208c51.js.LICENSE.txt} +0 -0
- /package/dist/chunks/{3801.5277ce4c.js.LICENSE.txt → workbench-tree.35da5fd0.js.LICENSE.txt} +0 -0
package/dist/types.json
CHANGED
|
@@ -379,6 +379,109 @@
|
|
|
379
379
|
}
|
|
380
380
|
]
|
|
381
381
|
},
|
|
382
|
+
"visual-builder.workbench-action-list": {
|
|
383
|
+
"properties": [
|
|
384
|
+
{
|
|
385
|
+
"name": "appId",
|
|
386
|
+
"annotation": {
|
|
387
|
+
"type": "keyword",
|
|
388
|
+
"value": "string"
|
|
389
|
+
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "menu",
|
|
393
|
+
"annotation": {
|
|
394
|
+
"type": "reference",
|
|
395
|
+
"typeName": {
|
|
396
|
+
"type": "identifier",
|
|
397
|
+
"name": "SidebarMenu"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
],
|
|
402
|
+
"events": [],
|
|
403
|
+
"methods": [],
|
|
404
|
+
"types": [
|
|
405
|
+
{
|
|
406
|
+
"type": "interface",
|
|
407
|
+
"name": "SidebarMenu",
|
|
408
|
+
"body": [
|
|
409
|
+
{
|
|
410
|
+
"type": "propertySignature",
|
|
411
|
+
"key": {
|
|
412
|
+
"type": "identifier",
|
|
413
|
+
"name": "title"
|
|
414
|
+
},
|
|
415
|
+
"annotation": {
|
|
416
|
+
"type": "keyword",
|
|
417
|
+
"value": "string"
|
|
418
|
+
},
|
|
419
|
+
"optional": true,
|
|
420
|
+
"computed": false
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"type": "propertySignature",
|
|
424
|
+
"key": {
|
|
425
|
+
"type": "identifier",
|
|
426
|
+
"name": "icon"
|
|
427
|
+
},
|
|
428
|
+
"annotation": {
|
|
429
|
+
"type": "reference",
|
|
430
|
+
"typeName": {
|
|
431
|
+
"type": "identifier",
|
|
432
|
+
"name": "GeneralIconProps"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"optional": true,
|
|
436
|
+
"computed": false
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"type": "propertySignature",
|
|
440
|
+
"key": {
|
|
441
|
+
"type": "identifier",
|
|
442
|
+
"name": "menuItems"
|
|
443
|
+
},
|
|
444
|
+
"annotation": {
|
|
445
|
+
"type": "array",
|
|
446
|
+
"elementType": {
|
|
447
|
+
"type": "reference",
|
|
448
|
+
"typeName": {
|
|
449
|
+
"type": "identifier",
|
|
450
|
+
"name": "SidebarMenuItem"
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
},
|
|
454
|
+
"optional": true,
|
|
455
|
+
"computed": false
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
}
|
|
459
|
+
]
|
|
460
|
+
},
|
|
461
|
+
"visual-builder.collect-used-contracts": {
|
|
462
|
+
"type": "provider",
|
|
463
|
+
"params": [
|
|
464
|
+
{
|
|
465
|
+
"name": "storyboard",
|
|
466
|
+
"annotation": {
|
|
467
|
+
"type": "reference",
|
|
468
|
+
"typeName": {
|
|
469
|
+
"type": "identifier",
|
|
470
|
+
"name": "Storyboard"
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
],
|
|
475
|
+
"returns": {
|
|
476
|
+
"annotation": {
|
|
477
|
+
"type": "array",
|
|
478
|
+
"elementType": {
|
|
479
|
+
"type": "keyword",
|
|
480
|
+
"value": "string"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
},
|
|
382
485
|
"visual-builder.chat-conversation": {
|
|
383
486
|
"properties": [
|
|
384
487
|
{
|
|
@@ -493,109 +596,6 @@
|
|
|
493
596
|
}
|
|
494
597
|
]
|
|
495
598
|
},
|
|
496
|
-
"visual-builder.workbench-action-list": {
|
|
497
|
-
"properties": [
|
|
498
|
-
{
|
|
499
|
-
"name": "appId",
|
|
500
|
-
"annotation": {
|
|
501
|
-
"type": "keyword",
|
|
502
|
-
"value": "string"
|
|
503
|
-
}
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
"name": "menu",
|
|
507
|
-
"annotation": {
|
|
508
|
-
"type": "reference",
|
|
509
|
-
"typeName": {
|
|
510
|
-
"type": "identifier",
|
|
511
|
-
"name": "SidebarMenu"
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
515
|
-
],
|
|
516
|
-
"events": [],
|
|
517
|
-
"methods": [],
|
|
518
|
-
"types": [
|
|
519
|
-
{
|
|
520
|
-
"type": "interface",
|
|
521
|
-
"name": "SidebarMenu",
|
|
522
|
-
"body": [
|
|
523
|
-
{
|
|
524
|
-
"type": "propertySignature",
|
|
525
|
-
"key": {
|
|
526
|
-
"type": "identifier",
|
|
527
|
-
"name": "title"
|
|
528
|
-
},
|
|
529
|
-
"annotation": {
|
|
530
|
-
"type": "keyword",
|
|
531
|
-
"value": "string"
|
|
532
|
-
},
|
|
533
|
-
"optional": true,
|
|
534
|
-
"computed": false
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"type": "propertySignature",
|
|
538
|
-
"key": {
|
|
539
|
-
"type": "identifier",
|
|
540
|
-
"name": "icon"
|
|
541
|
-
},
|
|
542
|
-
"annotation": {
|
|
543
|
-
"type": "reference",
|
|
544
|
-
"typeName": {
|
|
545
|
-
"type": "identifier",
|
|
546
|
-
"name": "GeneralIconProps"
|
|
547
|
-
}
|
|
548
|
-
},
|
|
549
|
-
"optional": true,
|
|
550
|
-
"computed": false
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
"type": "propertySignature",
|
|
554
|
-
"key": {
|
|
555
|
-
"type": "identifier",
|
|
556
|
-
"name": "menuItems"
|
|
557
|
-
},
|
|
558
|
-
"annotation": {
|
|
559
|
-
"type": "array",
|
|
560
|
-
"elementType": {
|
|
561
|
-
"type": "reference",
|
|
562
|
-
"typeName": {
|
|
563
|
-
"type": "identifier",
|
|
564
|
-
"name": "SidebarMenuItem"
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
"optional": true,
|
|
569
|
-
"computed": false
|
|
570
|
-
}
|
|
571
|
-
]
|
|
572
|
-
}
|
|
573
|
-
]
|
|
574
|
-
},
|
|
575
|
-
"visual-builder.collect-used-contracts": {
|
|
576
|
-
"type": "provider",
|
|
577
|
-
"params": [
|
|
578
|
-
{
|
|
579
|
-
"name": "storyboard",
|
|
580
|
-
"annotation": {
|
|
581
|
-
"type": "reference",
|
|
582
|
-
"typeName": {
|
|
583
|
-
"type": "identifier",
|
|
584
|
-
"name": "Storyboard"
|
|
585
|
-
}
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
],
|
|
589
|
-
"returns": {
|
|
590
|
-
"annotation": {
|
|
591
|
-
"type": "array",
|
|
592
|
-
"elementType": {
|
|
593
|
-
"type": "keyword",
|
|
594
|
-
"value": "string"
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
},
|
|
599
599
|
"visual-builder.inject-chat-preview-agent": {
|
|
600
600
|
"type": "provider",
|
|
601
601
|
"params": [],
|
|
@@ -944,228 +944,15 @@
|
|
|
944
944
|
"type": "propertySignature",
|
|
945
945
|
"key": {
|
|
946
946
|
"type": "identifier",
|
|
947
|
-
"name": "uuid"
|
|
948
|
-
},
|
|
949
|
-
"annotation": {
|
|
950
|
-
"type": "keyword",
|
|
951
|
-
"value": "string"
|
|
952
|
-
},
|
|
953
|
-
"computed": false
|
|
954
|
-
}
|
|
955
|
-
]
|
|
956
|
-
}
|
|
957
|
-
]
|
|
958
|
-
},
|
|
959
|
-
"visual-builder.inject-preview-agent": {
|
|
960
|
-
"type": "provider",
|
|
961
|
-
"params": [
|
|
962
|
-
{
|
|
963
|
-
"name": "previewFromOrigin",
|
|
964
|
-
"annotation": {
|
|
965
|
-
"type": "keyword",
|
|
966
|
-
"value": "string"
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
{
|
|
970
|
-
"name": "options",
|
|
971
|
-
"annotation": {
|
|
972
|
-
"type": "reference",
|
|
973
|
-
"typeName": {
|
|
974
|
-
"type": "identifier",
|
|
975
|
-
"name": "PreviewStartOptions"
|
|
976
|
-
}
|
|
977
|
-
}
|
|
978
|
-
}
|
|
979
|
-
],
|
|
980
|
-
"returns": {
|
|
981
|
-
"annotation": {
|
|
982
|
-
"type": "reference",
|
|
983
|
-
"typeName": {
|
|
984
|
-
"type": "identifier",
|
|
985
|
-
"name": "Promise"
|
|
986
|
-
},
|
|
987
|
-
"typeParameters": {
|
|
988
|
-
"type": "typeParameterInstantiation",
|
|
989
|
-
"params": [
|
|
990
|
-
{
|
|
991
|
-
"type": "keyword",
|
|
992
|
-
"value": "unknown"
|
|
993
|
-
}
|
|
994
|
-
]
|
|
995
|
-
}
|
|
996
|
-
}
|
|
997
|
-
},
|
|
998
|
-
"types": [
|
|
999
|
-
{
|
|
1000
|
-
"type": "interface",
|
|
1001
|
-
"name": "PreviewStartOptions",
|
|
1002
|
-
"body": [
|
|
1003
|
-
{
|
|
1004
|
-
"type": "propertySignature",
|
|
1005
|
-
"key": {
|
|
1006
|
-
"type": "identifier",
|
|
1007
|
-
"name": "appId"
|
|
1008
|
-
},
|
|
1009
|
-
"annotation": {
|
|
1010
|
-
"type": "keyword",
|
|
1011
|
-
"value": "string"
|
|
1012
|
-
},
|
|
1013
|
-
"computed": false
|
|
1014
|
-
},
|
|
1015
|
-
{
|
|
1016
|
-
"type": "propertySignature",
|
|
1017
|
-
"key": {
|
|
1018
|
-
"type": "identifier",
|
|
1019
|
-
"name": "templateId"
|
|
1020
|
-
},
|
|
1021
|
-
"annotation": {
|
|
1022
|
-
"type": "keyword",
|
|
1023
|
-
"value": "string"
|
|
1024
|
-
},
|
|
1025
|
-
"optional": true,
|
|
1026
|
-
"computed": false
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"type": "propertySignature",
|
|
1030
|
-
"key": {
|
|
1031
|
-
"type": "identifier",
|
|
1032
|
-
"name": "formId"
|
|
1033
|
-
},
|
|
1034
|
-
"annotation": {
|
|
1035
|
-
"type": "keyword",
|
|
1036
|
-
"value": "string"
|
|
1037
|
-
},
|
|
1038
|
-
"optional": true,
|
|
1039
|
-
"computed": false
|
|
1040
|
-
},
|
|
1041
|
-
{
|
|
1042
|
-
"type": "propertySignature",
|
|
1043
|
-
"key": {
|
|
1044
|
-
"type": "identifier",
|
|
1045
|
-
"name": "snippetData"
|
|
1046
|
-
},
|
|
1047
|
-
"annotation": {
|
|
1048
|
-
"type": "keyword",
|
|
1049
|
-
"value": "any"
|
|
1050
|
-
},
|
|
1051
|
-
"optional": true,
|
|
1052
|
-
"computed": false
|
|
1053
|
-
},
|
|
1054
|
-
{
|
|
1055
|
-
"type": "propertySignature",
|
|
1056
|
-
"key": {
|
|
1057
|
-
"type": "identifier",
|
|
1058
|
-
"name": "routePath"
|
|
1059
|
-
},
|
|
1060
|
-
"annotation": {
|
|
1061
|
-
"type": "keyword",
|
|
1062
|
-
"value": "string"
|
|
1063
|
-
},
|
|
1064
|
-
"optional": true,
|
|
1065
|
-
"computed": false
|
|
1066
|
-
},
|
|
1067
|
-
{
|
|
1068
|
-
"type": "propertySignature",
|
|
1069
|
-
"key": {
|
|
1070
|
-
"type": "identifier",
|
|
1071
|
-
"name": "routeExact"
|
|
1072
|
-
},
|
|
1073
|
-
"annotation": {
|
|
1074
|
-
"type": "keyword",
|
|
1075
|
-
"value": "boolean"
|
|
1076
|
-
},
|
|
1077
|
-
"optional": true,
|
|
1078
|
-
"computed": false
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
"type": "propertySignature",
|
|
1082
|
-
"key": {
|
|
1083
|
-
"type": "identifier",
|
|
1084
|
-
"name": "settings"
|
|
1085
|
-
},
|
|
1086
|
-
"annotation": {
|
|
1087
|
-
"type": "reference",
|
|
1088
|
-
"typeName": {
|
|
1089
|
-
"type": "identifier",
|
|
1090
|
-
"name": "PreviewSettings"
|
|
1091
|
-
}
|
|
1092
|
-
},
|
|
1093
|
-
"optional": true,
|
|
1094
|
-
"computed": false
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
"type": "propertySignature",
|
|
1098
|
-
"key": {
|
|
1099
|
-
"type": "identifier",
|
|
1100
|
-
"name": "updateStoryboardType"
|
|
1101
|
-
},
|
|
1102
|
-
"annotation": {
|
|
1103
|
-
"type": "reference",
|
|
1104
|
-
"typeName": {
|
|
1105
|
-
"type": "identifier",
|
|
1106
|
-
"name": "UpdateStoryboardType"
|
|
1107
|
-
}
|
|
1108
|
-
},
|
|
1109
|
-
"optional": true,
|
|
1110
|
-
"computed": false
|
|
1111
|
-
}
|
|
1112
|
-
]
|
|
1113
|
-
},
|
|
1114
|
-
{
|
|
1115
|
-
"type": "interface",
|
|
1116
|
-
"name": "PreviewSettings",
|
|
1117
|
-
"body": [
|
|
1118
|
-
{
|
|
1119
|
-
"type": "propertySignature",
|
|
1120
|
-
"key": {
|
|
1121
|
-
"type": "identifier",
|
|
1122
|
-
"name": "properties"
|
|
947
|
+
"name": "uuid"
|
|
1123
948
|
},
|
|
1124
949
|
"annotation": {
|
|
1125
|
-
"type": "
|
|
1126
|
-
"
|
|
1127
|
-
"type": "identifier",
|
|
1128
|
-
"name": "Record"
|
|
1129
|
-
},
|
|
1130
|
-
"typeParameters": {
|
|
1131
|
-
"type": "typeParameterInstantiation",
|
|
1132
|
-
"params": [
|
|
1133
|
-
{
|
|
1134
|
-
"type": "keyword",
|
|
1135
|
-
"value": "string"
|
|
1136
|
-
},
|
|
1137
|
-
{
|
|
1138
|
-
"type": "keyword",
|
|
1139
|
-
"value": "unknown"
|
|
1140
|
-
}
|
|
1141
|
-
]
|
|
1142
|
-
}
|
|
950
|
+
"type": "keyword",
|
|
951
|
+
"value": "string"
|
|
1143
952
|
},
|
|
1144
|
-
"optional": true,
|
|
1145
953
|
"computed": false
|
|
1146
954
|
}
|
|
1147
955
|
]
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"type": "typeAlias",
|
|
1151
|
-
"name": "UpdateStoryboardType",
|
|
1152
|
-
"annotation": {
|
|
1153
|
-
"type": "union",
|
|
1154
|
-
"types": [
|
|
1155
|
-
{
|
|
1156
|
-
"type": "jsLiteral",
|
|
1157
|
-
"value": "route"
|
|
1158
|
-
},
|
|
1159
|
-
{
|
|
1160
|
-
"type": "jsLiteral",
|
|
1161
|
-
"value": "template"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
"type": "jsLiteral",
|
|
1165
|
-
"value": "snippet"
|
|
1166
|
-
}
|
|
1167
|
-
]
|
|
1168
|
-
}
|
|
1169
956
|
}
|
|
1170
957
|
]
|
|
1171
958
|
},
|
|
@@ -1922,5 +1709,218 @@
|
|
|
1922
1709
|
]
|
|
1923
1710
|
}
|
|
1924
1711
|
]
|
|
1712
|
+
},
|
|
1713
|
+
"visual-builder.inject-preview-agent": {
|
|
1714
|
+
"type": "provider",
|
|
1715
|
+
"params": [
|
|
1716
|
+
{
|
|
1717
|
+
"name": "previewFromOrigin",
|
|
1718
|
+
"annotation": {
|
|
1719
|
+
"type": "keyword",
|
|
1720
|
+
"value": "string"
|
|
1721
|
+
}
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
"name": "options",
|
|
1725
|
+
"annotation": {
|
|
1726
|
+
"type": "reference",
|
|
1727
|
+
"typeName": {
|
|
1728
|
+
"type": "identifier",
|
|
1729
|
+
"name": "PreviewStartOptions"
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
],
|
|
1734
|
+
"returns": {
|
|
1735
|
+
"annotation": {
|
|
1736
|
+
"type": "reference",
|
|
1737
|
+
"typeName": {
|
|
1738
|
+
"type": "identifier",
|
|
1739
|
+
"name": "Promise"
|
|
1740
|
+
},
|
|
1741
|
+
"typeParameters": {
|
|
1742
|
+
"type": "typeParameterInstantiation",
|
|
1743
|
+
"params": [
|
|
1744
|
+
{
|
|
1745
|
+
"type": "keyword",
|
|
1746
|
+
"value": "unknown"
|
|
1747
|
+
}
|
|
1748
|
+
]
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"types": [
|
|
1753
|
+
{
|
|
1754
|
+
"type": "interface",
|
|
1755
|
+
"name": "PreviewStartOptions",
|
|
1756
|
+
"body": [
|
|
1757
|
+
{
|
|
1758
|
+
"type": "propertySignature",
|
|
1759
|
+
"key": {
|
|
1760
|
+
"type": "identifier",
|
|
1761
|
+
"name": "appId"
|
|
1762
|
+
},
|
|
1763
|
+
"annotation": {
|
|
1764
|
+
"type": "keyword",
|
|
1765
|
+
"value": "string"
|
|
1766
|
+
},
|
|
1767
|
+
"computed": false
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"type": "propertySignature",
|
|
1771
|
+
"key": {
|
|
1772
|
+
"type": "identifier",
|
|
1773
|
+
"name": "templateId"
|
|
1774
|
+
},
|
|
1775
|
+
"annotation": {
|
|
1776
|
+
"type": "keyword",
|
|
1777
|
+
"value": "string"
|
|
1778
|
+
},
|
|
1779
|
+
"optional": true,
|
|
1780
|
+
"computed": false
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
"type": "propertySignature",
|
|
1784
|
+
"key": {
|
|
1785
|
+
"type": "identifier",
|
|
1786
|
+
"name": "formId"
|
|
1787
|
+
},
|
|
1788
|
+
"annotation": {
|
|
1789
|
+
"type": "keyword",
|
|
1790
|
+
"value": "string"
|
|
1791
|
+
},
|
|
1792
|
+
"optional": true,
|
|
1793
|
+
"computed": false
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"type": "propertySignature",
|
|
1797
|
+
"key": {
|
|
1798
|
+
"type": "identifier",
|
|
1799
|
+
"name": "snippetData"
|
|
1800
|
+
},
|
|
1801
|
+
"annotation": {
|
|
1802
|
+
"type": "keyword",
|
|
1803
|
+
"value": "any"
|
|
1804
|
+
},
|
|
1805
|
+
"optional": true,
|
|
1806
|
+
"computed": false
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"type": "propertySignature",
|
|
1810
|
+
"key": {
|
|
1811
|
+
"type": "identifier",
|
|
1812
|
+
"name": "routePath"
|
|
1813
|
+
},
|
|
1814
|
+
"annotation": {
|
|
1815
|
+
"type": "keyword",
|
|
1816
|
+
"value": "string"
|
|
1817
|
+
},
|
|
1818
|
+
"optional": true,
|
|
1819
|
+
"computed": false
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
"type": "propertySignature",
|
|
1823
|
+
"key": {
|
|
1824
|
+
"type": "identifier",
|
|
1825
|
+
"name": "routeExact"
|
|
1826
|
+
},
|
|
1827
|
+
"annotation": {
|
|
1828
|
+
"type": "keyword",
|
|
1829
|
+
"value": "boolean"
|
|
1830
|
+
},
|
|
1831
|
+
"optional": true,
|
|
1832
|
+
"computed": false
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"type": "propertySignature",
|
|
1836
|
+
"key": {
|
|
1837
|
+
"type": "identifier",
|
|
1838
|
+
"name": "settings"
|
|
1839
|
+
},
|
|
1840
|
+
"annotation": {
|
|
1841
|
+
"type": "reference",
|
|
1842
|
+
"typeName": {
|
|
1843
|
+
"type": "identifier",
|
|
1844
|
+
"name": "PreviewSettings"
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
"optional": true,
|
|
1848
|
+
"computed": false
|
|
1849
|
+
},
|
|
1850
|
+
{
|
|
1851
|
+
"type": "propertySignature",
|
|
1852
|
+
"key": {
|
|
1853
|
+
"type": "identifier",
|
|
1854
|
+
"name": "updateStoryboardType"
|
|
1855
|
+
},
|
|
1856
|
+
"annotation": {
|
|
1857
|
+
"type": "reference",
|
|
1858
|
+
"typeName": {
|
|
1859
|
+
"type": "identifier",
|
|
1860
|
+
"name": "UpdateStoryboardType"
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1863
|
+
"optional": true,
|
|
1864
|
+
"computed": false
|
|
1865
|
+
}
|
|
1866
|
+
]
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"type": "interface",
|
|
1870
|
+
"name": "PreviewSettings",
|
|
1871
|
+
"body": [
|
|
1872
|
+
{
|
|
1873
|
+
"type": "propertySignature",
|
|
1874
|
+
"key": {
|
|
1875
|
+
"type": "identifier",
|
|
1876
|
+
"name": "properties"
|
|
1877
|
+
},
|
|
1878
|
+
"annotation": {
|
|
1879
|
+
"type": "reference",
|
|
1880
|
+
"typeName": {
|
|
1881
|
+
"type": "identifier",
|
|
1882
|
+
"name": "Record"
|
|
1883
|
+
},
|
|
1884
|
+
"typeParameters": {
|
|
1885
|
+
"type": "typeParameterInstantiation",
|
|
1886
|
+
"params": [
|
|
1887
|
+
{
|
|
1888
|
+
"type": "keyword",
|
|
1889
|
+
"value": "string"
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
"type": "keyword",
|
|
1893
|
+
"value": "unknown"
|
|
1894
|
+
}
|
|
1895
|
+
]
|
|
1896
|
+
}
|
|
1897
|
+
},
|
|
1898
|
+
"optional": true,
|
|
1899
|
+
"computed": false
|
|
1900
|
+
}
|
|
1901
|
+
]
|
|
1902
|
+
},
|
|
1903
|
+
{
|
|
1904
|
+
"type": "typeAlias",
|
|
1905
|
+
"name": "UpdateStoryboardType",
|
|
1906
|
+
"annotation": {
|
|
1907
|
+
"type": "union",
|
|
1908
|
+
"types": [
|
|
1909
|
+
{
|
|
1910
|
+
"type": "jsLiteral",
|
|
1911
|
+
"value": "route"
|
|
1912
|
+
},
|
|
1913
|
+
{
|
|
1914
|
+
"type": "jsLiteral",
|
|
1915
|
+
"value": "template"
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
"type": "jsLiteral",
|
|
1919
|
+
"value": "snippet"
|
|
1920
|
+
}
|
|
1921
|
+
]
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
]
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
@@ -12,7 +12,6 @@ export interface Message {
|
|
|
12
12
|
export interface ChatConversationProps {
|
|
13
13
|
messages?: Message[];
|
|
14
14
|
}
|
|
15
|
-
export declare const ChatConversationComponent: React.ForwardRefExoticComponent<ChatConversationComponentProps & React.RefAttributes<unknown>>;
|
|
16
15
|
/**
|
|
17
16
|
* 用于 Visual Builder 的智能聊天对话列表
|
|
18
17
|
*/
|
|
@@ -22,6 +21,7 @@ export declare class ChatConversation extends ReactNextElement implements ChatCo
|
|
|
22
21
|
render(): React.JSX.Element;
|
|
23
22
|
}
|
|
24
23
|
export interface ChatConversationComponentProps extends ChatConversationProps {
|
|
24
|
+
host: Element;
|
|
25
25
|
onStoryboardUpdate?: (storyboard: BrickConf[]) => void;
|
|
26
26
|
}
|
|
27
|
-
export declare function
|
|
27
|
+
export declare function ChatConversationComponent({ messages, host, onStoryboardUpdate, }: ChatConversationComponentProps): React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/visual-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@next-bricks/form": "*",
|
|
43
43
|
"@next-bricks/icons": "*"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "7b34e1c2b6b1942c2e65a0dfaf2e6317b9b66565"
|
|
46
46
|
}
|