const baseConfig: any = {
  version: '2.0.0',
  key: 1,
  configKey: 1,
  component: null,
  name: null,
  layer: null,
  drag: true,
  noResize: false,
  author: '周井磊',
  soComponent: true,
  hideComponent: false,
  theme: 'blue',
  pointerEventsNode: false,
  password: null,
  mark: '',
  tools: {
    lock: false,
    hide: false,
    editName: false,
    checked: false
  },
  teleport: {
    to: null
  },
  position: {
    width: 300,
    height: 60,
    left: 0,
    top: 0,
    scale: [1, 1]
  },
  transform: {
    enable: true,
    rotate: 0,
    scale: 1,
    rotateY: 0,
    rotateX: 0,
    transform3d: false,
    perspective: 500,
    skewX: 0,
    skewY: 0,
    rotateZ: 0,
    padding: [0, 0, 0, 0]
  },
  disabled: false,
  class: '',
  animated: '',
  animateStyle: {},
  backgroundStyle: {
    enable: true,
    colorType: 'solidColor',
    gradualChange: {
      type: 'linear-gradient',
      angle: 180,
      shape: 'ellipse',
      size: 'farthest-corner',
      position: [50, 50],
      gradual: [
        {
          ratio: 0,
          color: '#0a73ff'
        },
        {
          ratio: 100,
          color: 'rgb(126, 198, 188)'
        }
      ]
    },
    backgroundColor: '#0a73ff',
    backgroundImage: '',
    backgroundRepeat: 'repeat',
    backgroundPosition: [0, 0],
    borderRadius: [0, 0, 0, 0],
    backgroundSize: 'intial',
    border: {
      color: '#ffffff',
      style: 'solid',
      width: [0, 0, 0, 0]
    },
    shadow: {
      type: '',
      color: '#00000000',
      x: 0,
      y: 0,
      vague: 10,
      spread: 0
    }
  },
  filter: {
    enable: false,
    hueRotate: 0,
    saturate: 100,
    brightness: 100,
    contrast: 100,
    opacity: 100,
    blur: 0,
    dropShadow: [0, 0, 0, '#00000000']
  },
  style: '',
  parentId: null,
  events: {
    bindGlobalKeys: [],
    bindGlobalFunction: '',
    isWatch: false,
    send: {
      click: {
        enable: false,
        componentEvents: [],
        customEvent: {
          code: ''
        }
      },
      dblclick: {
        enable: false,
        componentEvents: [],
        customEvent: {
          code: ''
        }
      }
    }
  },
  data: {
    autoUpdate: {
      checked: false,
      speed: 10,
      interVal: null,
      type: 'component'
    }
  },
  initStyle: {}
};
export default baseConfig;
