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

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

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