@next-bricks/visual-builder 1.24.0 → 1.24.1

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,63 +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
- "visual-builder.workbench-action": {
62
- "properties": [
63
- {
64
- "name": "icon",
65
- "annotation": {
66
- "type": "reference",
67
- "typeName": {
68
- "type": "identifier",
69
- "name": "GeneralIconProps"
70
- }
71
- }
72
- },
73
- {
74
- "name": "to",
75
- "annotation": {
76
- "type": "keyword",
77
- "value": "string"
78
- }
79
- },
80
- {
81
- "name": "active",
82
- "annotation": {
83
- "type": "keyword",
84
- "value": "boolean"
85
- }
86
- },
87
- {
88
- "name": "href",
89
- "annotation": {
90
- "type": "keyword",
91
- "value": "string"
92
- }
93
- },
94
- {
95
- "name": "target",
96
- "annotation": {
97
- "type": "keyword",
98
- "value": "string"
99
- }
100
- }
101
- ],
102
- "events": [],
103
- "methods": []
104
- },
105
48
  "visual-builder.check-editor-by-name": {
106
49
  "type": "provider",
107
50
  "params": [
@@ -185,6 +128,63 @@
185
128
  }
186
129
  }
187
130
  },
131
+ "visual-builder.workbench-sidebar": {
132
+ "properties": [
133
+ {
134
+ "name": "titleLabel",
135
+ "annotation": {
136
+ "type": "keyword",
137
+ "value": "string"
138
+ }
139
+ }
140
+ ],
141
+ "events": [],
142
+ "methods": []
143
+ },
144
+ "visual-builder.workbench-action": {
145
+ "properties": [
146
+ {
147
+ "name": "icon",
148
+ "annotation": {
149
+ "type": "reference",
150
+ "typeName": {
151
+ "type": "identifier",
152
+ "name": "GeneralIconProps"
153
+ }
154
+ }
155
+ },
156
+ {
157
+ "name": "to",
158
+ "annotation": {
159
+ "type": "keyword",
160
+ "value": "string"
161
+ }
162
+ },
163
+ {
164
+ "name": "active",
165
+ "annotation": {
166
+ "type": "keyword",
167
+ "value": "boolean"
168
+ }
169
+ },
170
+ {
171
+ "name": "href",
172
+ "annotation": {
173
+ "type": "keyword",
174
+ "value": "string"
175
+ }
176
+ },
177
+ {
178
+ "name": "target",
179
+ "annotation": {
180
+ "type": "keyword",
181
+ "value": "string"
182
+ }
183
+ }
184
+ ],
185
+ "events": [],
186
+ "methods": []
187
+ },
188
188
  "visual-builder.page-arch-node": {
189
189
  "properties": [
190
190
  {
@@ -3,6 +3,7 @@ import { CodeEditorProps } from "@next-bricks/vs/code-editor";
3
3
  interface CodeEditorComponentProps extends CodeEditorProps {
4
4
  onChange?: (value?: any) => void;
5
5
  tokenClick?: (value?: any) => void;
6
+ scope: any;
6
7
  }
7
8
  export declare function CodeEditorComponent(props: CodeEditorComponentProps): React.ReactElement;
8
9
  export {};
@@ -403,7 +403,7 @@ export interface EditorComponentProps {
403
403
  dataList: DataItem[];
404
404
  extraLibs: any;
405
405
  links: any;
406
- tokenClick: (token: string) => void;
406
+ tokenClick: (token: CustomEvent<string>) => void;
407
407
  };
408
408
  }
409
409
  export interface DefinitionItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/visual-builder",
3
- "version": "1.24.0",
3
+ "version": "1.24.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-bricks/tree/master/bricks/visual-builder",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,5 +44,5 @@
44
44
  "@next-bricks/icons": "*",
45
45
  "@next-bricks/vs": "*"
46
46
  },
47
- "gitHead": "a5e9dc77226ee4068fe3c91a0c5bd14410df7600"
47
+ "gitHead": "7c9bf0ff714367dccd2e2b652cbcfbcf6ab681c4"
48
48
  }