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

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

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