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

export const option = {
  textSize: 16,
  textColor: '#58FF95',
  textSize1: 14,
  textColor1: '#FFFFFF',
  textSize2: 12,
  textColor2: '#CBE6CD',
}

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