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

export const option = {
  buttonName: '辅助决策',
  buttonStyle:{
    color: 'yellow',
    fontsize: 16,
    fontcolor: '#FFFFFF',
  }
}

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