本地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,25 @@
import LogicFlow from '@logicflow/core';
declare type ShapeItem = {
type?: string;
text?: string;
icon?: string;
label?: string;
className?: string;
properties?: Record<string, any>;
callback?: (lf: LogicFlow, container: HTMLElement) => void;
};
declare class DndPanel {
lf: LogicFlow;
shapeList: ShapeItem[];
panelEl: HTMLDivElement;
static pluginName: string;
domContainer: HTMLElement;
constructor({ lf }: {
lf: any;
});
render(lf: any, domContainer: any): void;
destroy(): void;
setPatternItems(shapeList: any): void;
private createDndItem;
}
export { DndPanel, };