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

export const option = {
  boxId: 'linearGradientContentTitle05',
  colors: ['#583700','#FF9538','#E3AC5C','#C2742F','#F5A500','#0CB170'],
}

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