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;
}
