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

export const option = {
  dataset: {
    url: 'src/assets/images/chart/zhigan/component/example1.png'
  },
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = WuRenJiImageConfig.key
  public attr = { ...chartInitConfig, w: 400, h: 273, zIndex: -1 }
  public chartConfig = cloneDeep(WuRenJiImageConfig)
  public option = cloneDeep(option)
}
