import { PublicConfigClass } from '@/packages/public'
import { chartInitConfig } from '@/settings/designSetting'
import { CreateComponentType } from '@/packages/index.d'
import { TaskPlanConfig } from './index'
import cloneDeep from 'lodash/cloneDeep'

export const option = {
  boxId: 'TaskPlan',
  colors: ['#58FF95','#005516','#A6FCC7'],
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = TaskPlanConfig.key
  public attr = { ...chartInitConfig, w: 43, h: 44, zIndex: 1 }
  public chartConfig = cloneDeep(TaskPlanConfig)
  public option = cloneDeep(option)
}
