ingenious-flow-designer
Version:
[演示地址](http://antd-vben5-pro.madong.tech/)
36 lines (32 loc) • 700 B
text/typescript
export enum PropertyPanelMode {
BUILD_IN = 'build_in',
EXTERNAL = 'external'
}
export enum PropertyPanelType {
START = 'start',
END = 'end',
TASK = 'task',
DECISION = 'decision',
FORK = 'fork',
JOIN = 'join',
SUB_PROCESS = 'subProcess',
CUSTOM = 'custom',
FLOW_SETTINGS = 'flow-settings',
DEFAULT = 'default'
}
export interface EditorProperties {
_width?: number;
_height?: number;
_stroke?: string;
_fill?: string;
_radius?: number;
_strokeWidth?: number;
_opacity?: number;
}
export interface BasePropertyPanelProps {
data: any;
lf: any;
onUpdate: (data: any) => void;
onClose: () => void;
onSave: () => void;
}