amis-editor 4.1.0-beta.27 → 4.1.0-beta.28
Sign up to get free protection for your applications and to get access to all the features.
package/dist/manager.d.ts
CHANGED
@@ -44,12 +44,11 @@ export declare class EditorManager {
|
|
44
44
|
readonly dnd: EditorDNDManager;
|
45
45
|
readonly id: string;
|
46
46
|
disableHover: boolean;
|
47
|
-
private renderersId;
|
48
|
-
private panelsId;
|
49
47
|
private clipboardData;
|
50
48
|
readonly hackIn: any;
|
51
49
|
constructor(config: EditorManagerConfig, store: EditorStoreType, parent?: EditorManager | undefined);
|
52
50
|
dynamicAddPlugin(pluginName: string): void;
|
51
|
+
buildRenderersAndPanels(): void;
|
53
52
|
buildEventContext(idOrNode: string | EditorNodeType): {
|
54
53
|
node: {
|
55
54
|
parentId: string;
|
@@ -121,11 +120,7 @@ export declare class EditorManager {
|
|
121
120
|
memberIndex?: number | undefined;
|
122
121
|
}): any;
|
123
122
|
removeChild(child: any): void;
|
124
|
-
toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
125
|
-
* 显示插入面板
|
126
|
-
* @param region
|
127
|
-
* @param preferTag
|
128
|
-
*/
|
123
|
+
toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
129
124
|
patch(store: any, force?: boolean): void;
|
130
125
|
updateSchema(value: any): void;
|
131
126
|
setComponent(value: any): void;
|
@@ -133,11 +128,6 @@ export declare class EditorManager {
|
|
133
128
|
calculateHighlightBox(root?: any): void;
|
134
129
|
resetHighlightBox(root: any): void;
|
135
130
|
updateState(state: any, replace?: boolean): void;
|
136
|
-
/**
|
137
|
-
* 在当前选中元素插入或追加新的元素
|
138
|
-
* @param rendererIdOrSchema
|
139
|
-
* 备注:可以根据渲染器ID添加新元素,也可以根据现有schema片段添加新元素
|
140
|
-
*/
|
141
131
|
setWidthMutable(value: any): void;
|
142
132
|
setHeightMutable(value: any): void;
|
143
133
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
@@ -210,11 +200,7 @@ export declare class EditorManager {
|
|
210
200
|
memberIndex?: number | undefined;
|
211
201
|
}): any;
|
212
202
|
removeChild(child: any): void;
|
213
|
-
toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
214
|
-
* 显示插入面板
|
215
|
-
* @param region
|
216
|
-
* @param preferTag
|
217
|
-
*/
|
203
|
+
toggleFold(e: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>): void;
|
218
204
|
patch(store: any, force?: boolean): void;
|
219
205
|
updateSchema(value: any): void;
|
220
206
|
setComponent(value: any): void;
|
@@ -222,11 +208,6 @@ export declare class EditorManager {
|
|
222
208
|
calculateHighlightBox(root?: any): void;
|
223
209
|
resetHighlightBox(root: any): void;
|
224
210
|
updateState(state: any, replace?: boolean): void;
|
225
|
-
/**
|
226
|
-
* 在当前选中元素插入或追加新的元素
|
227
|
-
* @param rendererIdOrSchema
|
228
|
-
* 备注:可以根据渲染器ID添加新元素,也可以根据现有schema片段添加新元素
|
229
|
-
*/
|
230
211
|
setWidthMutable(value: any): void;
|
231
212
|
setHeightMutable(value: any): void;
|
232
213
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "amis-editor",
|
3
|
-
"version": "4.1.0-beta.
|
3
|
+
"version": "4.1.0-beta.28",
|
4
4
|
"description": "amis 可视化编辑器",
|
5
5
|
"main": "dist/index.min.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -60,7 +60,7 @@
|
|
60
60
|
"@types/react-router": "^4.0.16",
|
61
61
|
"@types/sortablejs": "^1.10.7",
|
62
62
|
"ajv": "^8.8.2",
|
63
|
-
"amis": "^1.9.
|
63
|
+
"amis": "^1.9.1-beta.21",
|
64
64
|
"axios": "0.21.1",
|
65
65
|
"concurrently": "^6.2.0",
|
66
66
|
"css-loader": "^6.2.0",
|