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

export const option = {
  textSize: 16,
  textColor: '#FFFFFF',
  textSize1: 14,
  textColor1: '#FFFFFF',
  textSize2: 12,
  textColor2: '#CBE6CD',
  clockInRecordList:[
    {
      Name: '孙宗元',
      CreateTime: '2025-03-25 10:32:00',
      Lng: '118.042384994261',
      Lat: '35.41264994152264'
    }
  ],
  xunChaGuiJiList:[
    {
      name: '孙宗元',
      startTime: '2025-03-25 10:32:00',
      endTime: '2025-03-25 17:32:00'
    }
  ]
}

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