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

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

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