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

export const option = {
  dataset: {
    value: '火情详情',
  },
  dataStyle: {
    defaultCloseModal: true,
    svgWidth: 44,
    buttonFontColor: '#58FF95',
    buttonFontSize: 20,
  }
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = HuoQingDetailModalCloseConfig.key
  public attr = { ...chartInitConfig, w:150, h: 44, zIndex: 5 }
  public chartConfig = cloneDeep(HuoQingDetailModalCloseConfig)
  public option = cloneDeep(option)
}
