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

export const option = {
  textColor: '#fff',
  textSize: 28,
  textColor1: '#fff',
  textSize1: 24,
}

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