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

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

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