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

export const option = {
  boxId: 'linearGradientContentTitle04',
  colors: ['#067847','#0EB07D','#FFB111','#FFB217','#457453','#0CB170'],
}

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