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

export const option = {
  boxId: '',
  colors: [],
}

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