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

export const option = {
  boxId: 'linearGradientContentTitle03',
  colors: ['#067847','#0EB07D','#1F6B55','#0A392A','#EBBE10','#0CB170','#0CB26F'],
}

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