@next-bricks/visual-builder 1.15.0 → 1.16.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 +14 -7
- package/dist/chunks/1822.b9d18634.js +3 -0
- package/dist/chunks/1822.b9d18634.js.map +1 -0
- package/dist/chunks/8097.5c42f68b.js +2 -0
- package/dist/chunks/{8097.2a833d82.js.map → 8097.5c42f68b.js.map} +1 -1
- package/dist/chunks/generate-snippets-context-menu.8c78ae9d.js +2 -0
- package/dist/chunks/generate-snippets-context-menu.8c78ae9d.js.map +1 -0
- package/dist/chunks/main.8e745868.js +2 -0
- package/dist/chunks/main.8e745868.js.map +1 -0
- package/dist/index.7e581c1e.js +2 -0
- package/dist/index.7e581c1e.js.map +1 -0
- package/dist/manifest.json +88 -37
- package/dist/types.json +296 -13
- package/dist-types/bootstrap.d.ts +1 -0
- package/dist-types/generate-snippets-context-menu/i18n.d.ts +13 -0
- package/dist-types/generate-snippets-context-menu/index.d.ts +48 -0
- package/dist-types/generate-snippets-context-menu/index.spec.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/478.7e1cd06e.js +0 -2
- package/dist/chunks/478.7e1cd06e.js.map +0 -1
- package/dist/chunks/8097.2a833d82.js +0 -2
- package/dist/chunks/8708.5248d51b.js +0 -3
- package/dist/chunks/8708.5248d51b.js.map +0 -1
- package/dist/chunks/main.9f17f184.js +0 -2
- package/dist/chunks/main.9f17f184.js.map +0 -1
- package/dist/index.36a4f2ac.js +0 -2
- package/dist/index.36a4f2ac.js.map +0 -1
- /package/dist/chunks/{8708.5248d51b.js.LICENSE.txt → 1822.b9d18634.js.LICENSE.txt} +0 -0
package/dist/manifest.json
CHANGED
|
@@ -40,43 +40,16 @@
|
|
|
40
40
|
"insider": true
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
"name": "visual-builder.workbench-
|
|
44
|
-
"properties": [
|
|
45
|
-
{
|
|
46
|
-
"name": "titleLabel",
|
|
47
|
-
"type": "string"
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
"events": [],
|
|
51
|
-
"slots": [],
|
|
52
|
-
"methods": [],
|
|
53
|
-
"parts": [],
|
|
54
|
-
"description": "",
|
|
55
|
-
"insider": true
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"name": "visual-builder.workbench-action",
|
|
43
|
+
"name": "visual-builder.workbench-action-list",
|
|
59
44
|
"properties": [
|
|
60
45
|
{
|
|
61
|
-
"name": "
|
|
62
|
-
"attribute": false,
|
|
63
|
-
"type": "GeneralIconProps"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"name": "to",
|
|
67
|
-
"type": "string"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"name": "active",
|
|
71
|
-
"type": "boolean"
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "href",
|
|
46
|
+
"name": "appId",
|
|
75
47
|
"type": "string"
|
|
76
48
|
},
|
|
77
49
|
{
|
|
78
|
-
"name": "
|
|
79
|
-
"
|
|
50
|
+
"name": "menu",
|
|
51
|
+
"attribute": false,
|
|
52
|
+
"type": "SidebarMenu"
|
|
80
53
|
}
|
|
81
54
|
],
|
|
82
55
|
"events": [],
|
|
@@ -207,16 +180,43 @@
|
|
|
207
180
|
"insider": true
|
|
208
181
|
},
|
|
209
182
|
{
|
|
210
|
-
"name": "visual-builder.workbench-action
|
|
183
|
+
"name": "visual-builder.workbench-action",
|
|
211
184
|
"properties": [
|
|
212
185
|
{
|
|
213
|
-
"name": "
|
|
186
|
+
"name": "icon",
|
|
187
|
+
"attribute": false,
|
|
188
|
+
"type": "GeneralIconProps"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "to",
|
|
214
192
|
"type": "string"
|
|
215
193
|
},
|
|
216
194
|
{
|
|
217
|
-
"name": "
|
|
218
|
-
"
|
|
219
|
-
|
|
195
|
+
"name": "active",
|
|
196
|
+
"type": "boolean"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "href",
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "target",
|
|
204
|
+
"type": "string"
|
|
205
|
+
}
|
|
206
|
+
],
|
|
207
|
+
"events": [],
|
|
208
|
+
"slots": [],
|
|
209
|
+
"methods": [],
|
|
210
|
+
"parts": [],
|
|
211
|
+
"description": "",
|
|
212
|
+
"insider": true
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"name": "visual-builder.workbench-sidebar",
|
|
216
|
+
"properties": [
|
|
217
|
+
{
|
|
218
|
+
"name": "titleLabel",
|
|
219
|
+
"type": "string"
|
|
220
220
|
}
|
|
221
221
|
],
|
|
222
222
|
"events": [],
|
|
@@ -405,6 +405,57 @@
|
|
|
405
405
|
"parts": [],
|
|
406
406
|
"description": "契约选择构件"
|
|
407
407
|
},
|
|
408
|
+
{
|
|
409
|
+
"name": "visual-builder.generate-snippets-context-menu",
|
|
410
|
+
"properties": [
|
|
411
|
+
{
|
|
412
|
+
"name": "options",
|
|
413
|
+
"attribute": false,
|
|
414
|
+
"type": "SnippetOption[]"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "active",
|
|
418
|
+
"type": "boolean"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "position",
|
|
422
|
+
"attribute": false,
|
|
423
|
+
"type": "Position"
|
|
424
|
+
}
|
|
425
|
+
],
|
|
426
|
+
"events": [
|
|
427
|
+
{
|
|
428
|
+
"name": "item.drag.start",
|
|
429
|
+
"detail": {
|
|
430
|
+
"type": "SnippetItem"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "item.drag.end",
|
|
435
|
+
"detail": {
|
|
436
|
+
"type": "SnippetItem"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
],
|
|
440
|
+
"slots": [],
|
|
441
|
+
"methods": [
|
|
442
|
+
{
|
|
443
|
+
"name": "open",
|
|
444
|
+
"params": [
|
|
445
|
+
{
|
|
446
|
+
"name": "param_1",
|
|
447
|
+
"type": "OpenInfo"
|
|
448
|
+
}
|
|
449
|
+
]
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"name": "close",
|
|
453
|
+
"params": []
|
|
454
|
+
}
|
|
455
|
+
],
|
|
456
|
+
"parts": [],
|
|
457
|
+
"description": "构件 `visual-builder.generate-snippets-context-menu`"
|
|
458
|
+
},
|
|
408
459
|
{
|
|
409
460
|
"name": "visual-builder.chat-conversation",
|
|
410
461
|
"properties": [
|
package/dist/types.json
CHANGED
|
@@ -45,19 +45,6 @@
|
|
|
45
45
|
],
|
|
46
46
|
"methods": []
|
|
47
47
|
},
|
|
48
|
-
"visual-builder.workbench-sidebar": {
|
|
49
|
-
"properties": [
|
|
50
|
-
{
|
|
51
|
-
"name": "titleLabel",
|
|
52
|
-
"annotation": {
|
|
53
|
-
"type": "keyword",
|
|
54
|
-
"value": "string"
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"events": [],
|
|
59
|
-
"methods": []
|
|
60
|
-
},
|
|
61
48
|
"visual-builder.workbench-action": {
|
|
62
49
|
"properties": [
|
|
63
50
|
{
|
|
@@ -102,6 +89,19 @@
|
|
|
102
89
|
"events": [],
|
|
103
90
|
"methods": []
|
|
104
91
|
},
|
|
92
|
+
"visual-builder.workbench-sidebar": {
|
|
93
|
+
"properties": [
|
|
94
|
+
{
|
|
95
|
+
"name": "titleLabel",
|
|
96
|
+
"annotation": {
|
|
97
|
+
"type": "keyword",
|
|
98
|
+
"value": "string"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"events": [],
|
|
103
|
+
"methods": []
|
|
104
|
+
},
|
|
105
105
|
"visual-builder.page-arch-node": {
|
|
106
106
|
"properties": [
|
|
107
107
|
{
|
|
@@ -736,6 +736,289 @@
|
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
738
|
},
|
|
739
|
+
"visual-builder.generate-snippets-context-menu": {
|
|
740
|
+
"properties": [
|
|
741
|
+
{
|
|
742
|
+
"name": "options",
|
|
743
|
+
"annotation": {
|
|
744
|
+
"type": "array",
|
|
745
|
+
"elementType": {
|
|
746
|
+
"type": "reference",
|
|
747
|
+
"typeName": {
|
|
748
|
+
"type": "identifier",
|
|
749
|
+
"name": "SnippetOption"
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"name": "active",
|
|
756
|
+
"annotation": {
|
|
757
|
+
"type": "keyword",
|
|
758
|
+
"value": "boolean"
|
|
759
|
+
}
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"name": "position",
|
|
763
|
+
"annotation": {
|
|
764
|
+
"type": "reference",
|
|
765
|
+
"typeName": {
|
|
766
|
+
"type": "identifier",
|
|
767
|
+
"name": "Position"
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
],
|
|
772
|
+
"events": [
|
|
773
|
+
{
|
|
774
|
+
"name": "item.drag.start",
|
|
775
|
+
"detail": {
|
|
776
|
+
"annotation": {
|
|
777
|
+
"type": "reference",
|
|
778
|
+
"typeName": {
|
|
779
|
+
"type": "identifier",
|
|
780
|
+
"name": "SnippetItem"
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "item.drag.end",
|
|
787
|
+
"detail": {
|
|
788
|
+
"annotation": {
|
|
789
|
+
"type": "reference",
|
|
790
|
+
"typeName": {
|
|
791
|
+
"type": "identifier",
|
|
792
|
+
"name": "SnippetItem"
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
}
|
|
797
|
+
],
|
|
798
|
+
"methods": [
|
|
799
|
+
{
|
|
800
|
+
"name": "open",
|
|
801
|
+
"params": [
|
|
802
|
+
{
|
|
803
|
+
"name": "param_1",
|
|
804
|
+
"annotation": {
|
|
805
|
+
"type": "reference",
|
|
806
|
+
"typeName": {
|
|
807
|
+
"type": "identifier",
|
|
808
|
+
"name": "OpenInfo"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
],
|
|
813
|
+
"returns": {}
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "close",
|
|
817
|
+
"params": [],
|
|
818
|
+
"returns": {}
|
|
819
|
+
}
|
|
820
|
+
],
|
|
821
|
+
"types": [
|
|
822
|
+
{
|
|
823
|
+
"type": "interface",
|
|
824
|
+
"name": "SnippetOption",
|
|
825
|
+
"body": [
|
|
826
|
+
{
|
|
827
|
+
"type": "propertySignature",
|
|
828
|
+
"key": {
|
|
829
|
+
"type": "identifier",
|
|
830
|
+
"name": "title"
|
|
831
|
+
},
|
|
832
|
+
"annotation": {
|
|
833
|
+
"type": "keyword",
|
|
834
|
+
"value": "string"
|
|
835
|
+
},
|
|
836
|
+
"optional": true,
|
|
837
|
+
"computed": false
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"type": "propertySignature",
|
|
841
|
+
"key": {
|
|
842
|
+
"type": "identifier",
|
|
843
|
+
"name": "children"
|
|
844
|
+
},
|
|
845
|
+
"annotation": {
|
|
846
|
+
"type": "array",
|
|
847
|
+
"elementType": {
|
|
848
|
+
"type": "reference",
|
|
849
|
+
"typeName": {
|
|
850
|
+
"type": "identifier",
|
|
851
|
+
"name": "SnippetItem"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"optional": true,
|
|
856
|
+
"computed": false
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"type": "interface",
|
|
862
|
+
"name": "SnippetItem",
|
|
863
|
+
"body": [
|
|
864
|
+
{
|
|
865
|
+
"type": "propertySignature",
|
|
866
|
+
"key": {
|
|
867
|
+
"type": "identifier",
|
|
868
|
+
"name": "text"
|
|
869
|
+
},
|
|
870
|
+
"annotation": {
|
|
871
|
+
"type": "keyword",
|
|
872
|
+
"value": "string"
|
|
873
|
+
},
|
|
874
|
+
"computed": false
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"type": "propertySignature",
|
|
878
|
+
"key": {
|
|
879
|
+
"type": "identifier",
|
|
880
|
+
"name": "icon"
|
|
881
|
+
},
|
|
882
|
+
"annotation": {
|
|
883
|
+
"type": "reference",
|
|
884
|
+
"typeName": {
|
|
885
|
+
"type": "identifier",
|
|
886
|
+
"name": "GeneralIconProps"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"optional": true,
|
|
890
|
+
"computed": false
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"type": "propertySignature",
|
|
894
|
+
"key": {
|
|
895
|
+
"type": "identifier",
|
|
896
|
+
"name": "disabled"
|
|
897
|
+
},
|
|
898
|
+
"annotation": {
|
|
899
|
+
"type": "keyword",
|
|
900
|
+
"value": "boolean"
|
|
901
|
+
},
|
|
902
|
+
"optional": true,
|
|
903
|
+
"computed": false
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"type": "propertySignature",
|
|
907
|
+
"key": {
|
|
908
|
+
"type": "identifier",
|
|
909
|
+
"name": "hidden"
|
|
910
|
+
},
|
|
911
|
+
"annotation": {
|
|
912
|
+
"type": "keyword",
|
|
913
|
+
"value": "boolean"
|
|
914
|
+
},
|
|
915
|
+
"optional": true,
|
|
916
|
+
"computed": false
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"type": "propertySignature",
|
|
920
|
+
"key": {
|
|
921
|
+
"type": "identifier",
|
|
922
|
+
"name": "tooltip"
|
|
923
|
+
},
|
|
924
|
+
"annotation": {
|
|
925
|
+
"type": "keyword",
|
|
926
|
+
"value": "string"
|
|
927
|
+
},
|
|
928
|
+
"optional": true,
|
|
929
|
+
"computed": false
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"type": "propertySignature",
|
|
933
|
+
"key": {
|
|
934
|
+
"type": "identifier",
|
|
935
|
+
"name": "dragConf"
|
|
936
|
+
},
|
|
937
|
+
"annotation": {
|
|
938
|
+
"type": "typeLiteral",
|
|
939
|
+
"members": [
|
|
940
|
+
{
|
|
941
|
+
"type": "propertySignature",
|
|
942
|
+
"key": {
|
|
943
|
+
"type": "identifier",
|
|
944
|
+
"name": "format"
|
|
945
|
+
},
|
|
946
|
+
"annotation": {
|
|
947
|
+
"type": "keyword",
|
|
948
|
+
"value": "string"
|
|
949
|
+
},
|
|
950
|
+
"computed": false
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
"type": "propertySignature",
|
|
954
|
+
"key": {
|
|
955
|
+
"type": "identifier",
|
|
956
|
+
"name": "data"
|
|
957
|
+
},
|
|
958
|
+
"annotation": {
|
|
959
|
+
"type": "keyword",
|
|
960
|
+
"value": "unknown"
|
|
961
|
+
},
|
|
962
|
+
"computed": false
|
|
963
|
+
}
|
|
964
|
+
]
|
|
965
|
+
},
|
|
966
|
+
"optional": true,
|
|
967
|
+
"computed": false
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"type": "typeAlias",
|
|
973
|
+
"name": "Position",
|
|
974
|
+
"annotation": {
|
|
975
|
+
"type": "tuple",
|
|
976
|
+
"elementTypes": [
|
|
977
|
+
{
|
|
978
|
+
"type": "namedTupleMember",
|
|
979
|
+
"label": "x",
|
|
980
|
+
"optional": false,
|
|
981
|
+
"elementType": {
|
|
982
|
+
"type": "keyword",
|
|
983
|
+
"value": "number"
|
|
984
|
+
}
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"type": "namedTupleMember",
|
|
988
|
+
"label": "y",
|
|
989
|
+
"optional": false,
|
|
990
|
+
"elementType": {
|
|
991
|
+
"type": "keyword",
|
|
992
|
+
"value": "number"
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
]
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
"type": "interface",
|
|
1000
|
+
"name": "OpenInfo",
|
|
1001
|
+
"body": [
|
|
1002
|
+
{
|
|
1003
|
+
"type": "propertySignature",
|
|
1004
|
+
"key": {
|
|
1005
|
+
"type": "identifier",
|
|
1006
|
+
"name": "position"
|
|
1007
|
+
},
|
|
1008
|
+
"annotation": {
|
|
1009
|
+
"type": "reference",
|
|
1010
|
+
"typeName": {
|
|
1011
|
+
"type": "identifier",
|
|
1012
|
+
"name": "Position"
|
|
1013
|
+
}
|
|
1014
|
+
},
|
|
1015
|
+
"computed": false,
|
|
1016
|
+
"description": "通常设为 `[EVENT.clientX, EVENT.clientY]`"
|
|
1017
|
+
}
|
|
1018
|
+
]
|
|
1019
|
+
}
|
|
1020
|
+
]
|
|
1021
|
+
},
|
|
739
1022
|
"visual-builder.chat-conversation": {
|
|
740
1023
|
"properties": [
|
|
741
1024
|
{
|
|
@@ -7,6 +7,7 @@ import "./data-providers/inject-preview-agent.js";
|
|
|
7
7
|
import "./workbench-history-action/index.js";
|
|
8
8
|
import "./page-arch-node/index.js";
|
|
9
9
|
import "./contract-select/index.js";
|
|
10
|
+
import "./generate-snippets-context-menu/index.js";
|
|
10
11
|
import "./chat-conversation/index.js";
|
|
11
12
|
import "./chat-preview/index.js";
|
|
12
13
|
import "./data-providers/inject-chat-preview-agent.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare enum K {
|
|
2
|
+
}
|
|
3
|
+
export declare const NS = "bricks/visual-builder/generate-snippets-context-menu";
|
|
4
|
+
export declare const locales: {
|
|
5
|
+
en: Locale;
|
|
6
|
+
zh: Locale;
|
|
7
|
+
};
|
|
8
|
+
type Locale = {
|
|
9
|
+
[k in K]: string;
|
|
10
|
+
} & {
|
|
11
|
+
[k in K as `${k}_plural`]?: string;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReactNextElement } from "@next-core/react-element";
|
|
3
|
+
import "@next-core/theme";
|
|
4
|
+
import { GeneralIconProps } from "@next-bricks/icons/general-icon";
|
|
5
|
+
export type Position = [x: number, y: number];
|
|
6
|
+
export interface OpenInfo {
|
|
7
|
+
/**
|
|
8
|
+
* 通常设为 `[EVENT.clientX, EVENT.clientY]`
|
|
9
|
+
*/
|
|
10
|
+
position: Position;
|
|
11
|
+
}
|
|
12
|
+
export interface SnippetItem {
|
|
13
|
+
text: string;
|
|
14
|
+
icon?: GeneralIconProps;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
hidden?: boolean;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
dragConf?: {
|
|
19
|
+
format: string;
|
|
20
|
+
data: unknown;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export interface SnippetOption {
|
|
24
|
+
title?: string;
|
|
25
|
+
children?: SnippetItem[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 构件 `visual-builder.generate-snippets-context-menu`
|
|
29
|
+
*/
|
|
30
|
+
export declare class GenerateSnippetsContextMenu extends ReactNextElement {
|
|
31
|
+
#private;
|
|
32
|
+
accessor options: SnippetOption[] | undefined;
|
|
33
|
+
accessor active: boolean | undefined;
|
|
34
|
+
accessor position: Position | undefined;
|
|
35
|
+
open({ position }: OpenInfo): void;
|
|
36
|
+
close(): void;
|
|
37
|
+
disconnectedCallback(): void;
|
|
38
|
+
render(): React.JSX.Element;
|
|
39
|
+
}
|
|
40
|
+
export interface GenerateSnippetsContextMenuProps {
|
|
41
|
+
options?: SnippetOption[];
|
|
42
|
+
active?: boolean;
|
|
43
|
+
position?: Position;
|
|
44
|
+
element?: GenerateSnippetsContextMenu;
|
|
45
|
+
onItemDragStart?: (data: SnippetItem) => void;
|
|
46
|
+
onItemDragEnd?: (data: SnippetItem) => void;
|
|
47
|
+
}
|
|
48
|
+
export declare function GenerateSnippetsContextMenuComponent({ element, active, onItemDragEnd, onItemDragStart, options, position, }: GenerateSnippetsContextMenuProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/visual-builder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.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": "fd82fa646a70dc4924c991cfa06c2b0d82bcef82"
|
|
46
46
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[]).push([[478,8097],{8097:(i,n,e)=>{e.r(n),e.d(n,{initializeReactI18n:()=>u,useTranslation:()=>a.useTranslation});var t=e(8799),a=e(7825),s=!1;function u(i,n){(0,t.initializeI18n)(i,n),s||(s=!0,a.initReactI18next.init(t.i18n))}}}]);
|
|
2
|
-
//# sourceMappingURL=478.7e1cd06e.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chunks/478.7e1cd06e.js","mappings":"oPAEIA,GAAc,EACX,SAASC,EAAoBC,EAAIC,IACtC,IAAAC,gBAAeF,EAAIC,GACdH,IACHA,GAAc,EACd,EAAAK,iBAAiBC,KAAK,EAAAC,MAE1B,C","sources":["webpack:///../../node_modules/@next-core/i18n/dist/esm/react.js"],"sourcesContent":["import { i18n, initializeI18n } from \"@next-core/i18n\";\nimport { initReactI18next, useTranslation } from \"react-i18next\";\nvar initialized = false;\nexport function initializeReactI18n(NS, locales) {\n initializeI18n(NS, locales);\n if (!initialized) {\n initialized = true;\n initReactI18next.init(i18n);\n }\n}\nexport { useTranslation };\n//# sourceMappingURL=react.js.map"],"names":["initialized","initializeReactI18n","NS","locales","initializeI18n","initReactI18next","init","i18n"],"sourceRoot":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_next_bricks_visual_builder=self.webpackChunk_next_bricks_visual_builder||[]).push([[8097,478],{8097:(i,n,e)=>{e.r(n),e.d(n,{initializeReactI18n:()=>u,useTranslation:()=>a.useTranslation});var t=e(8799),a=e(7825),s=!1;function u(i,n){(0,t.initializeI18n)(i,n),s||(s=!0,a.initReactI18next.init(t.i18n))}}}]);
|
|
2
|
-
//# sourceMappingURL=8097.2a833d82.js.map
|