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

export const option = {
  borderTitle: '费县林业防火平台',
  borderTitleWidth: 1920,
  borderTitleHeight: 98,
  borderTitleSize: 18,
  borderTitleColor: '#fff',
  colors: ['#608561','#EEEEEE','#EAEAEA','#DCDCDC','#D8D8D8','#374536','#98B394','#DCFFD9','#687B66','#A1E6AC','#3D6644','#122115','#6C8069','#4E5C4C','#FFE6B3'],
  backgroundColor: '#00000000'
}

export default class Config extends PublicConfigClass implements CreateComponentType {
  public key = Titles01Config.key
  public attr = { ...chartInitConfig, w: 1920, h: 98, zIndex: 1 }
  public chartConfig = cloneDeep(Titles01Config)
  public option = cloneDeep(option)
}
