本地logicflow依赖包

This commit is contained in:
Jam committed 2022-11-28 14:31:03 +08:00
1 parent 8ff82208ad
commit 30f225df00
290 files changed
+18624 -16276

No files matched your search

@@ -0,0 +1,34 @@
declare class ContextMenu {
static pluginName: string;
private __menuDOM;
private lf;
private _activeData;
private menuTypeMap;
container: any;
isShow: boolean;
constructor({ lf }: {
lf: any;
});
render(lf: any, container: any): void;
setContextMenuByType(type: any, menus: any): void;
/**
* 隐藏菜单
*/
hideContextMenu(): void;
/**
* 显示指定元素菜单
* @param data 节点id、节点类型、菜单位置
*/
showContextMenu(data: any): void;
setContextMenuItems(menus: any): void;
/**
* 获取新菜单位置
*/
private getContextMenuPosition;
private createContextMenu;
private addNode;
private showMenu;
listenDelete: () => void;
}
export default ContextMenu;
export { ContextMenu, };