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

export const option = {
  textColor: '#FFFFFF',
  textSize: 14,
  backgroundColor: '#0C2411',
  borderColor: '#00611A',
  dataset: '',
}

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