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

export const option = {
  boxId: 'taskbackground01',
  colors: ['#02221B','#06463A','#00D586','#00AB4E','#007343','#89E5A1'],
}

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