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

export const option = {
  showModal: true,
  frameStyle:{
    color: 'yellow',
    fontsize: 16,
    fontcolor: '#FFFFFF',
  }
}

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