import VDistpicker from 'v-distpicker'

// import DatePicker from 'vue2-datepicker';
// import 'vue2-datepicker/index.css';
// import 'vue2-datepicker/locale/zh-cn';

// import edbDetailPopover from '@/components/edbDetailPopover.vue';
// import selectUnit from '@/components/selectUnit.vue'
// import edbHistoryDialog from '@/components/edbHistoryDialog.vue';
// import chartListWrap from '@/components/chart/chartListWrap.vue'
// import chartDetailHandlesWrap from '@/components/chart/chartDetailHandlesWrap.vue'

export function registerComponents(app){
  //地区选择
  app.component('v-distpicker', VDistpicker)

  //日期选择

  // app.component('date-picker',DatePicker)

  //指标搜索浮动显示详情popover
  // app.component('edbDetailPopover',edbDetailPopover)

  //指标添加 单位
  // app.component('selectUnit',selectUnit)

  //查看指标历史
  // app.component('edbHistoryDialog',edbHistoryDialog);

  /* 很多图表模块列表页基本类似 慢慢抽离替换 */
  //列表
  // app.component('chartListWrap',chartListWrap)

  //详情图表操作
  // app.component('chartHandlesWrap',chartDetailHandlesWrap)
}