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

export const option = {
  boxId: 'linearGradientTitlesLeftBtnActive',
  colors: ['#131415','#EA9607','#EBBE11','#EBBE10','#EBBA0F','#EBB90F'],
}

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