export default {
  background: {
    borderColor: '#ffffff',
    borderWidth: 0,
    borderRadius: [0, 0, 0, 0],
    borderType: 'solid',
    gradientDirection: 'top',
    fillColor: '#15284e',
    fillOpacity: 1,
    boxShadow: 'none'
  },
  liquid_fill: {
    color: '#4b8cf0',
    labelColor: undefined,
    labelSize: undefined,
    value: 20,
    total: 100
  },
  timeline: {
    autoPlay: false,
    playInterval: 1000,
    orient: 'horizontal',
    startTime: '2012',
    endTime: '2019',
    lineColor: '#aaaaaa',
    lineWidth: 2,
    nodeColor: '#fff000',
    nodeSize: 10,
    highlightColor: 'rgba(194, 53, 49, 1)',
    highlightBorderColor: 'rgba(194, 53, 49, 0.5)',
    showLabel: true,
    labelPosition: 'bottom',
    labelColor: '#ff00000',
    labelSize: 12
  },
  button: {
    text: '按钮',
    backgroundColor: '#5685f8',
    fontSize: 18,
    fontColor: '#ffffff',
    width: 50,
    height: 30
  },
  circle: {
    strokeWidth: 10,
    gradientDirection: 'top', // 颜色渐变方向，仅对渐变色有效
    backgroundColor: '#f3f3f3',
    color: '#4b8cf0',
    endShape: 'butt',
    startAngle: 0,
    endAngle: 360,
    showLabel: true,
    labelColor: '#4b8cf0',
    labelSize: 24,
    decimalDigits: 0,
    value: 20,
    total: 100
  },
  image: {
    href: 'javascript:void(0)',
    target: '_blank',
    src: '',
    alt: ''
  },
  page_navigation: {
    pageCount: 10,
    maxShow: 11
  },
  date_picker: {
    borderColor: '#ffffff',
    borderWidth: 1,
    borderRadius: [4, 4, 4, 4],
    borderType: 'solid',
    fontColor: '#ffffff',
    fontSize: 16,
    format: 'yyyy-MM-dd'
  },
  progress_bar: {
    bar: {
      orient: 'horizontal',
      align: 'left',
      gradientDirection: 'left',
      backgroundColor: '#f3f3f3',
      color: '#4b8cf0',
      backgroundImage: '',
      image: '',
      endShape: 'round',
      strokeWidth: 10,
      leftGap: 10,
      rightGap: 10
    },
    label: {
      content: '{percent}', // {percent}为百分比，{value}为数值，{total}为总数，支持HTML
      decimalDigits: 0,
      position: 'right',
      color: '#ffffff',
      fontSize: 16
    },
    data: {
      value: 90,
      total: 100
    }
  },
  select: {
    data: [],
    fontColor: '#ffffff',
    fontSize: 14,
    backgroundColor: 'transparent',
    gradientDirection: 'top',
    borderColor: '#6ba4fd',
    borderRadius: 5,
    optionColor: '#1f4375'
  },
  slider: {
    pages: [],
    autoplay: true,
    interval: 3000
  },
  tab: {
    defaultTab: 0,
    style: {
      fontSize: 14,
      fontColor: '#ffffff',
      borderColor: '#20bdec',
      activeFontColor: '#20bdec',
      activeBackground: 'rgba(21, 130, 162, 0.4)'
    },
    tabs: [
      {
        label: '标签一',
        charts: []
      }
    ]
  },
  button_group: {
    style: {
      orient: 'horizontal',
      fontSize: 14,
      fontColor: '#ffffff',
      borderColor: '#20bdec',
      highlightColor: '#20bdec',
      activeBackground: 'rgba(21, 130, 162, 0.4)'
    },
    tabs: [
      {
        label: '标签一',
        vars: {}
      }
    ]
  },
  video: {
    src: '',
    autoplay: true,
    controls: true,
    muted: false,
    loop: true
  },
  table: {
    autoplay: false,
    head: {
      show: true,
      height: 40,
      backgroundColor: '',
      fontFamily: 'Microsoft YaHei',
      fontSize: 14,
      fontColor: '#ffffff',
      bold: false,
      italic: false
    },
    cols: [
      {
        label: '',
        field: '',
        colWidth: 0,
        sort: 'none'
      }
    ],
    row: {
      count: 0,
      height: 0,
      oddColor: 'rgba(0, 0, 0, 0.4)',
      evenColor: 'rgba(63, 177, 227, 0.4)',
      fontFamily: 'Microsoft YaHei',
      fontSize: 14,
      fontColor: '#ffffff',
      bold: false,
      italic: false
    }
  },
  flop: {
    common: {
      textAlign: 'left',
      orient: 'horizontal',
      interval: 10
    },
    prefix: {
      content: '',
      fontColor: '#ffffff',
      fontSize: 48,
      bold: false
    },
    number: {
      fontFamily: 'LED',
      fontColor: '#00ccff',
      fontSize: 48,
      bold: false,
      decimalDigits: 0,
      commaSeparator: true,
      value: 0
    },
    suffix: {
      content: '元',
      fontColor: '#ffffff',
      fontSize: 32,
      bold: false
    }
  },
  metric: {
    common: {
      fontFamily: 'Microsoft YaHei',
      textAlign: 'left',
      orient: 'horizontal'
    },
    prefix: {
      content: '',
      fontColor: '#ffffff',
      fontSize: 48,
      bold: false,
      lineHeight: 1
    },
    number: {
      fontColor: '#fff000',
      fontSize: 48,
      bold: false,
      decimalDigits: 0,
      commaSeparator: true,
      value: 0,
      lineHeight: 1
    },
    suffix: {
      content: '元',
      fontColor: '#ffffff',
      fontSize: 32,
      bold: false,
      lineHeight: 1
    }
  },
  marquee: {
    text: '',
    textField: '',
    fontSize: 18,
    fontFamily: 'Microsoft YaHei',
    bold: false,
    italic: false,
    fontColor: '#ffffff',
    speed: 6
  },
  scroll_list: {
    textField: '',
    fontSize: 18,
    fontFamily: 'Microsoft YaHei',
    bold: false,
    italic: false,
    fontColor: '#ffffff',
    speed: 6
  },
  text: {
    text: '',
    textField: '',
    fontColor: '#ffffff',
    fontSize: 18,
    fontFamily: 'Microsoft YaHei',
    bold: false,
    italic: false,
    letterSpacing: 0,
    textAlign: 'center',
    lineHeight: 1.5,
    textIndent: 0,
    textWrap: false,
    showBorder: false,
    borderColor: '#0099ff',
    borderWidth: 1,
    borderType: 'solid',
    borderRadius: [0, 0, 0, 0],
    link: '',
    target: '_blank'
  },
  textarea: {
    textField: 'value',
    fontSize: 18,
    fontFamily: 'Microsoft YaHei',
    bold: false,
    italic: false,
    fontColor: '#ffffff',
    textAlign: 'left',
    lineHeight: 1.5,
    textIndent: 0
  },
  timer: {
    fontSize: 18,
    fontColor: '#ffffff',
    bold: false,
    fontFamily: 'Microsoft Yahei',
    timeFormat: 'yyyy-MM-dd HH:mm:ss',
    interval: 1000
  },
  container: {
    border: {
      image: '',
      color: '#ffffff',
      type: 'solid',
      width: 0,
      radius: [0, 0, 0, 0]
    },
    background: {
      image: '',
      color: 'rgba(0, 0, 0, 0.5)',
      repeat: 'norepeat_full',
      gradientDirection: 'top'
    },
    boxShadow: 'none',
    components: []
  },
  admin: {
    level: 'county',
    fontColor: '#ffffff',
    fontSize: 14,
    backgroundColor: 'transparent',
    gradientDirection: 'top',
    borderColor: '#6ba4fd',
    borderRadius: 5,
    optionColor: '#1f4375'
  },
  shape: {
    style: 'star',
    borderColor: '#ffffff',
    borderWidth: 0,
    fillColor: '#0099ff',
    gradientDirection: 'top'
  },
  legend: {
    mapId: '',
    backgroundColor: '#033c63',
    borderColor: '#00ccff',
    borderWidth: 1,
    borderRadius: 5,
    fontColor: '#ffffff',
    itemWidth: 25,
    itemHeight: 15,
    fontSize: 'small'
  }
}
