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

export const option = {
  dur: 0.5,
  borderTitle: '图标',
  borderTitleWidth: 125,
  borderTitleHeight: 141,
  borderTitleSize: 18,
  borderTitleColor: '#fff',
  colors: ['#8aaafb', '#1f33a2'],
  backgroundColor: '#00000000'
}

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