amis-editor-core 6.11.0-beta.3 → 6.11.0-beta.4
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/esm/index.js +3 -3
- package/esm/manager.d.ts +8 -0
- package/esm/store/editor.d.ts +2 -0
- package/lib/dnd/flex.d.ts +1 -1
- package/lib/editor.js +2 -2
- package/lib/index.js +3 -3
- package/lib/layout/flex.d.ts +1 -0
- package/lib/manager.d.ts +8 -0
- package/lib/store/editor.d.ts +3 -0
- package/package.json +1 -1
package/esm/manager.d.ts
CHANGED
|
@@ -996,6 +996,14 @@ export declare class EditorManager {
|
|
|
996
996
|
}): void;
|
|
997
997
|
buildContextMenus(context: ContextMenuEventContext): ContextMenuItem[];
|
|
998
998
|
closeContextMenu(): void;
|
|
999
|
+
/**
|
|
1000
|
+
* 自由容器内元素置于顶层
|
|
1001
|
+
*/
|
|
1002
|
+
moveTop(): void;
|
|
1003
|
+
/**
|
|
1004
|
+
* 自由容器内元素置于底层
|
|
1005
|
+
*/
|
|
1006
|
+
moveBottom(): void;
|
|
999
1007
|
/**
|
|
1000
1008
|
* 将当前选中的节点上移
|
|
1001
1009
|
*/
|
package/esm/store/editor.d.ts
CHANGED
|
@@ -3645,6 +3645,8 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3645
3645
|
markReady(): void;
|
|
3646
3646
|
setLayer(value: any): void;
|
|
3647
3647
|
getLayer(): HTMLElement | undefined;
|
|
3648
|
+
setScale(num: number): void;
|
|
3649
|
+
getScale(): number;
|
|
3648
3650
|
setDoc(value: any): void;
|
|
3649
3651
|
getDoc(): Document;
|
|
3650
3652
|
setIframe(value: any): void;
|
package/lib/dnd/flex.d.ts
CHANGED
|
@@ -45,6 +45,6 @@ export declare class FlexDNDMode implements DNDModeInterface {
|
|
|
45
45
|
* 销毁
|
|
46
46
|
*/
|
|
47
47
|
dispose(): void;
|
|
48
|
-
getDropPosition(): "left" | "right" | "
|
|
48
|
+
getDropPosition(): "left" | "right" | "top" | "bottom" | undefined;
|
|
49
49
|
interruptionDrop(): boolean;
|
|
50
50
|
}
|
package/lib/editor.js
CHANGED