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

export const option = {
  boxId: "linearGradientColorRight",
  borderTitle: '',
  borderTitleWidth: 456,
  borderTitleHeight: 190,
  borderTitleSize: 18,
  borderTitleColor: '#fff',
  colors: ['#0E8A6D', '#02261C'],
  backgroundColor: '#00000000'
}

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