export default function (device) {
  return device === 'desktop' ?
    new Map([
      ['text', 'el-input'],
      ['textarea', 'el-input'],
      ['date', 'el-date-picker'],
      ['datetime', 'el-date-picker'],
      ['select', 'el-select'],
      ['radio', 'el-radio-group'],
      ['file', 'el-upload'],
      ['label', 'div'],
      ['static', 'el-link'],
      ['hr', 'el-divider'],
      ['choice', 'el-select'],
      ['choices', 'el-select'],
      ['sign', 'el-image'],
      ['relation-flow','el-select']
    ]) :
    new Map([
      ['text', 'van-field'],
      ['textarea', 'van-field'],
      ['date', 'van-cell'],
      ['datetime', 'van-datetime-picker'],
      ['select', 'van-picker'],
      ['radio', 'van-radio-group'],
      ['file', 'el-upload'],
      ['label', 'van-tag'],
      ['static', 'el-link'],
      ['hr', 'van-divide'],
      ['choice', 'van-picker'],
      ['choices', 'van-checkbox'],
      ['sign', 'van-image']
    ])
}
