amis-editor-core 6.11.0-beta.2 → 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/lib/layout/flex.d.ts
CHANGED
package/lib/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/lib/store/editor.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { GlobalVariableItem } from 'amis-core';
|
|
2
3
|
import { Instance } from 'mobx-state-tree';
|
|
3
4
|
import { InsertEventContext, PluginEvent, RendererInfo, SubRendererInfo, ToolbarItem, PanelItem, MoveEventContext, ScaffoldForm, PopOverForm, DeleteEventContext, BaseEventContext, IGlobalEvent } from '../plugin';
|
|
@@ -3644,6 +3645,8 @@ export declare const MainStore: import("mobx-state-tree").IModelType<{
|
|
|
3644
3645
|
markReady(): void;
|
|
3645
3646
|
setLayer(value: any): void;
|
|
3646
3647
|
getLayer(): HTMLElement | undefined;
|
|
3648
|
+
setScale(num: number): void;
|
|
3649
|
+
getScale(): number;
|
|
3647
3650
|
setDoc(value: any): void;
|
|
3648
3651
|
getDoc(): Document;
|
|
3649
3652
|
setIframe(value: any): void;
|