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

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

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