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

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

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