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

export const option = {
  dataStyle:{
    color: '#005516',
    fontColor: '#FFFFFF'
  },
  dataStyleClone: {
    color: '#005516',
    fontColor: '#FFFFFF'
  },
}

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