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

export const option = {
  boxId: 'linearGradientColorLeft',
  colors: ['#0E8A6D','#0F9F73','#054E3C','#02261C','#098965','#052C31','#031F1A','#073128','#1F926B','#FEFEFE']
}

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