@next-bricks/visual-builder 1.9.0 → 1.9.2

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/types.json CHANGED
@@ -45,6 +45,19 @@
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
+ },
48
61
  "visual-builder.workbench-action": {
49
62
  "properties": [
50
63
  {
@@ -480,19 +493,6 @@
480
493
  }
481
494
  ]
482
495
  },
483
- "visual-builder.workbench-sidebar": {
484
- "properties": [
485
- {
486
- "name": "titleLabel",
487
- "annotation": {
488
- "type": "keyword",
489
- "value": "string"
490
- }
491
- }
492
- ],
493
- "events": [],
494
- "methods": []
495
- },
496
496
  "visual-builder.workbench-action-list": {
497
497
  "properties": [
498
498
  {
@@ -951,6 +951,219 @@
951
951
  }
952
952
  ]
953
953
  },
954
+ "visual-builder.inject-preview-agent": {
955
+ "type": "provider",
956
+ "params": [
957
+ {
958
+ "name": "previewFromOrigin",
959
+ "annotation": {
960
+ "type": "keyword",
961
+ "value": "string"
962
+ }
963
+ },
964
+ {
965
+ "name": "options",
966
+ "annotation": {
967
+ "type": "reference",
968
+ "typeName": {
969
+ "type": "identifier",
970
+ "name": "PreviewStartOptions"
971
+ }
972
+ }
973
+ }
974
+ ],
975
+ "returns": {
976
+ "annotation": {
977
+ "type": "reference",
978
+ "typeName": {
979
+ "type": "identifier",
980
+ "name": "Promise"
981
+ },
982
+ "typeParameters": {
983
+ "type": "typeParameterInstantiation",
984
+ "params": [
985
+ {
986
+ "type": "keyword",
987
+ "value": "unknown"
988
+ }
989
+ ]
990
+ }
991
+ }
992
+ },
993
+ "types": [
994
+ {
995
+ "type": "interface",
996
+ "name": "PreviewStartOptions",
997
+ "body": [
998
+ {
999
+ "type": "propertySignature",
1000
+ "key": {
1001
+ "type": "identifier",
1002
+ "name": "appId"
1003
+ },
1004
+ "annotation": {
1005
+ "type": "keyword",
1006
+ "value": "string"
1007
+ },
1008
+ "computed": false
1009
+ },
1010
+ {
1011
+ "type": "propertySignature",
1012
+ "key": {
1013
+ "type": "identifier",
1014
+ "name": "templateId"
1015
+ },
1016
+ "annotation": {
1017
+ "type": "keyword",
1018
+ "value": "string"
1019
+ },
1020
+ "optional": true,
1021
+ "computed": false
1022
+ },
1023
+ {
1024
+ "type": "propertySignature",
1025
+ "key": {
1026
+ "type": "identifier",
1027
+ "name": "formId"
1028
+ },
1029
+ "annotation": {
1030
+ "type": "keyword",
1031
+ "value": "string"
1032
+ },
1033
+ "optional": true,
1034
+ "computed": false
1035
+ },
1036
+ {
1037
+ "type": "propertySignature",
1038
+ "key": {
1039
+ "type": "identifier",
1040
+ "name": "snippetData"
1041
+ },
1042
+ "annotation": {
1043
+ "type": "keyword",
1044
+ "value": "any"
1045
+ },
1046
+ "optional": true,
1047
+ "computed": false
1048
+ },
1049
+ {
1050
+ "type": "propertySignature",
1051
+ "key": {
1052
+ "type": "identifier",
1053
+ "name": "routePath"
1054
+ },
1055
+ "annotation": {
1056
+ "type": "keyword",
1057
+ "value": "string"
1058
+ },
1059
+ "optional": true,
1060
+ "computed": false
1061
+ },
1062
+ {
1063
+ "type": "propertySignature",
1064
+ "key": {
1065
+ "type": "identifier",
1066
+ "name": "routeExact"
1067
+ },
1068
+ "annotation": {
1069
+ "type": "keyword",
1070
+ "value": "boolean"
1071
+ },
1072
+ "optional": true,
1073
+ "computed": false
1074
+ },
1075
+ {
1076
+ "type": "propertySignature",
1077
+ "key": {
1078
+ "type": "identifier",
1079
+ "name": "settings"
1080
+ },
1081
+ "annotation": {
1082
+ "type": "reference",
1083
+ "typeName": {
1084
+ "type": "identifier",
1085
+ "name": "PreviewSettings"
1086
+ }
1087
+ },
1088
+ "optional": true,
1089
+ "computed": false
1090
+ },
1091
+ {
1092
+ "type": "propertySignature",
1093
+ "key": {
1094
+ "type": "identifier",
1095
+ "name": "updateStoryboardType"
1096
+ },
1097
+ "annotation": {
1098
+ "type": "reference",
1099
+ "typeName": {
1100
+ "type": "identifier",
1101
+ "name": "UpdateStoryboardType"
1102
+ }
1103
+ },
1104
+ "optional": true,
1105
+ "computed": false
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "type": "interface",
1111
+ "name": "PreviewSettings",
1112
+ "body": [
1113
+ {
1114
+ "type": "propertySignature",
1115
+ "key": {
1116
+ "type": "identifier",
1117
+ "name": "properties"
1118
+ },
1119
+ "annotation": {
1120
+ "type": "reference",
1121
+ "typeName": {
1122
+ "type": "identifier",
1123
+ "name": "Record"
1124
+ },
1125
+ "typeParameters": {
1126
+ "type": "typeParameterInstantiation",
1127
+ "params": [
1128
+ {
1129
+ "type": "keyword",
1130
+ "value": "string"
1131
+ },
1132
+ {
1133
+ "type": "keyword",
1134
+ "value": "unknown"
1135
+ }
1136
+ ]
1137
+ }
1138
+ },
1139
+ "optional": true,
1140
+ "computed": false
1141
+ }
1142
+ ]
1143
+ },
1144
+ {
1145
+ "type": "typeAlias",
1146
+ "name": "UpdateStoryboardType",
1147
+ "annotation": {
1148
+ "type": "union",
1149
+ "types": [
1150
+ {
1151
+ "type": "jsLiteral",
1152
+ "value": "route"
1153
+ },
1154
+ {
1155
+ "type": "jsLiteral",
1156
+ "value": "template"
1157
+ },
1158
+ {
1159
+ "type": "jsLiteral",
1160
+ "value": "snippet"
1161
+ }
1162
+ ]
1163
+ }
1164
+ }
1165
+ ]
1166
+ },
954
1167
  "visual-builder.workbench-tree": {
955
1168
  "properties": [
956
1169
  {
@@ -1621,218 +1834,5 @@
1621
1834
  ]
1622
1835
  }
1623
1836
  ]
1624
- },
1625
- "visual-builder.inject-preview-agent": {
1626
- "type": "provider",
1627
- "params": [
1628
- {
1629
- "name": "previewFromOrigin",
1630
- "annotation": {
1631
- "type": "keyword",
1632
- "value": "string"
1633
- }
1634
- },
1635
- {
1636
- "name": "options",
1637
- "annotation": {
1638
- "type": "reference",
1639
- "typeName": {
1640
- "type": "identifier",
1641
- "name": "PreviewStartOptions"
1642
- }
1643
- }
1644
- }
1645
- ],
1646
- "returns": {
1647
- "annotation": {
1648
- "type": "reference",
1649
- "typeName": {
1650
- "type": "identifier",
1651
- "name": "Promise"
1652
- },
1653
- "typeParameters": {
1654
- "type": "typeParameterInstantiation",
1655
- "params": [
1656
- {
1657
- "type": "keyword",
1658
- "value": "unknown"
1659
- }
1660
- ]
1661
- }
1662
- }
1663
- },
1664
- "types": [
1665
- {
1666
- "type": "interface",
1667
- "name": "PreviewStartOptions",
1668
- "body": [
1669
- {
1670
- "type": "propertySignature",
1671
- "key": {
1672
- "type": "identifier",
1673
- "name": "appId"
1674
- },
1675
- "annotation": {
1676
- "type": "keyword",
1677
- "value": "string"
1678
- },
1679
- "computed": false
1680
- },
1681
- {
1682
- "type": "propertySignature",
1683
- "key": {
1684
- "type": "identifier",
1685
- "name": "templateId"
1686
- },
1687
- "annotation": {
1688
- "type": "keyword",
1689
- "value": "string"
1690
- },
1691
- "optional": true,
1692
- "computed": false
1693
- },
1694
- {
1695
- "type": "propertySignature",
1696
- "key": {
1697
- "type": "identifier",
1698
- "name": "formId"
1699
- },
1700
- "annotation": {
1701
- "type": "keyword",
1702
- "value": "string"
1703
- },
1704
- "optional": true,
1705
- "computed": false
1706
- },
1707
- {
1708
- "type": "propertySignature",
1709
- "key": {
1710
- "type": "identifier",
1711
- "name": "snippetData"
1712
- },
1713
- "annotation": {
1714
- "type": "keyword",
1715
- "value": "any"
1716
- },
1717
- "optional": true,
1718
- "computed": false
1719
- },
1720
- {
1721
- "type": "propertySignature",
1722
- "key": {
1723
- "type": "identifier",
1724
- "name": "routePath"
1725
- },
1726
- "annotation": {
1727
- "type": "keyword",
1728
- "value": "string"
1729
- },
1730
- "optional": true,
1731
- "computed": false
1732
- },
1733
- {
1734
- "type": "propertySignature",
1735
- "key": {
1736
- "type": "identifier",
1737
- "name": "routeExact"
1738
- },
1739
- "annotation": {
1740
- "type": "keyword",
1741
- "value": "boolean"
1742
- },
1743
- "optional": true,
1744
- "computed": false
1745
- },
1746
- {
1747
- "type": "propertySignature",
1748
- "key": {
1749
- "type": "identifier",
1750
- "name": "settings"
1751
- },
1752
- "annotation": {
1753
- "type": "reference",
1754
- "typeName": {
1755
- "type": "identifier",
1756
- "name": "PreviewSettings"
1757
- }
1758
- },
1759
- "optional": true,
1760
- "computed": false
1761
- },
1762
- {
1763
- "type": "propertySignature",
1764
- "key": {
1765
- "type": "identifier",
1766
- "name": "updateStoryboardType"
1767
- },
1768
- "annotation": {
1769
- "type": "reference",
1770
- "typeName": {
1771
- "type": "identifier",
1772
- "name": "UpdateStoryboardType"
1773
- }
1774
- },
1775
- "optional": true,
1776
- "computed": false
1777
- }
1778
- ]
1779
- },
1780
- {
1781
- "type": "interface",
1782
- "name": "PreviewSettings",
1783
- "body": [
1784
- {
1785
- "type": "propertySignature",
1786
- "key": {
1787
- "type": "identifier",
1788
- "name": "properties"
1789
- },
1790
- "annotation": {
1791
- "type": "reference",
1792
- "typeName": {
1793
- "type": "identifier",
1794
- "name": "Record"
1795
- },
1796
- "typeParameters": {
1797
- "type": "typeParameterInstantiation",
1798
- "params": [
1799
- {
1800
- "type": "keyword",
1801
- "value": "string"
1802
- },
1803
- {
1804
- "type": "keyword",
1805
- "value": "unknown"
1806
- }
1807
- ]
1808
- }
1809
- },
1810
- "optional": true,
1811
- "computed": false
1812
- }
1813
- ]
1814
- },
1815
- {
1816
- "type": "typeAlias",
1817
- "name": "UpdateStoryboardType",
1818
- "annotation": {
1819
- "type": "union",
1820
- "types": [
1821
- {
1822
- "type": "jsLiteral",
1823
- "value": "route"
1824
- },
1825
- {
1826
- "type": "jsLiteral",
1827
- "value": "template"
1828
- },
1829
- {
1830
- "type": "jsLiteral",
1831
- "value": "snippet"
1832
- }
1833
- ]
1834
- }
1835
- }
1836
- ]
1837
1837
  }
1838
1838
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -40,5 +40,5 @@
40
40
  "@next-bricks/form": "*",
41
41
  "@next-bricks/icons": "*"
42
42
  },
43
- "gitHead": "d610b73c8afcf9a59aeda99f8609a11a05fe84b2"
43
+ "gitHead": "b5fb742d33de1079c9be879c57b5a543690fd495"
44
44
  }