// 全局注册自定义
// import myCustomSvg from '@/views/visual/componentsSvg/customSvg.vue';
import myCustomSvg from './svg/customSvg.vue';
import myTree from './tree/index.vue';
import myRichText from './RichText/index.vue';
import mySearch from './retrieval/search.vue';
import myMenu from './menu/index.vue';
import myView from './myView/index.vue';
import mySelectButton from './selectButton/index.vue';
import myFormSearch from './search/search.vue';
import myTimeChoose from './time/timeChoose.vue';

import myContextMenu from './contextMenu/index.vue';
import mySelectTree from './selectTree/index'
import myCard from './card/index'
import myImageViewer from './imageViewer/index'
import myUpload from './upload/index'
import myCascader from './Cascader/index'
import myTooltip from './tooltip/index'

//tab
import myTabs from './tabs/index'
import myTabsItem from './tabs/tabsItem'

var models = {
  myCustomSvg,
  myTree,
  myRichText,
  mySearch,
  
  myMenu,
  myView,
  mySelectButton,
  myFormSearch,
  myTimeChoose,

  myContextMenu,
  mySelectTree,
  myCard,
  myImageViewer,
  myUpload,
  myCascader,
  myTooltip,

  //tab
  myTabs,
  myTabsItem
}
export default {
  install(Vue) {
      Object.keys(models).forEach((key) => {
        Vue.component(key, models[key]);
      });
  },
};