import { ElementTiptapPlugin } from 'element-tiptap';
import ElementUI from 'element-ui';
import Breadcrumb from './core/Breadcrumb.vue';
import CheckableGrid from './common/CheckableGrid.vue';
import CommonGrid from './common/CommonGrid.vue';
import CommonEditableGrid from './common/CommonEditableGrid.vue';
import CommonUserGrid from './common/CommonUserGrid.vue';
import CommonUserModalGrid from './common/CommonUserModalGrid.vue';
import DashboardGrid from './common/DashboardGrid.vue';
import DashboardModal from './common/DashboardModal.vue';
import DatePicker from './common/DatePicker.vue';
import DropDownList from './common/DropDownList.vue';
import ExcelExport from './common/ExcelExport.vue';
import LiquorTree from './common/LiquorTree.vue';
import NoticeComp from './common/NoticeComp.vue';
import NoticeGrid from './common/NoticeGrid.vue';
import NoticeManager from './common/NoticeManager.vue';
import NoticeModal from './common/NoticeModal.vue';
import PivotGrid from './common/PivotGrid.vue';
import Property from './common/Property.vue';
import Search from './common/Search.vue';
import SearchBar from './common/SearchBar.vue';
import SelectTree from './common/SelectTree.vue';
import ValidCheck from './common/ValidCheck.vue';
import CommonLayout from './common/CommonLayout.vue';
import CheckCombo from './common/CheckCombo.vue';
import verticalSplitter from './common/verticalSplitter.vue';
import horizontalSplitter from './common/horizontalSplitter.vue';
import EditableGrid from './common/EditableGrid.vue';
import ButtonBar from './common/ButtonBar.vue';
import GridModal from './common/GridModal.vue';
import UTree from './common/UTree.vue';
import UEditor from './common/UEditor.vue';
import NoticeBoard from './common/NoticeBoard.vue';
import NoticeBoardInfo from './common/NoticeBoardInfo.vue';
import UTreeView from './common/UTreeView.vue';

export {
  Breadcrumb,
  CheckableGrid,
  CommonGrid,
  CommonEditableGrid,
  CommonUserGrid,
  CommonUserModalGrid,
  DashboardGrid,
  DashboardModal,
  DatePicker,
  DropDownList,
  ExcelExport,
  LiquorTree,
  NoticeComp,
  NoticeGrid,
  NoticeManager,
  NoticeModal,
  PivotGrid,
  Property,
  Search,
  SelectTree,
  ValidCheck,
  CommonLayout,
  CheckCombo,
  verticalSplitter,
  horizontalSplitter,
  EditableGrid,
  ButtonBar,
  SearchBar,
  GridModal,
  UTree,
  UEditor,
  NoticeBoard,
  NoticeBoardInfo,
  UTreeView,
};
export default {
  install(Vue) {
    Vue.use(ElementUI);
    Vue.use(ElementTiptapPlugin, { lang: 'ko' });
    Vue.component('Breadcrumb', Breadcrumb);
    Vue.component('CheckableGrid', CheckableGrid);
    Vue.component('CommonGrid', CommonGrid);
    Vue.component('CommonEditableGrid', CommonEditableGrid);
    Vue.component('CommonUserGrid', CommonUserGrid);
    Vue.component('CommonUserModalGrid', CommonUserModalGrid);
    Vue.component('DashboardGrid', DashboardGrid);
    Vue.component('DashboardModal', DashboardModal);
    Vue.component('DatePicker', DatePicker);
    Vue.component('DropDownList', DropDownList);
    Vue.component('ExcelExport', ExcelExport);
    Vue.component('LiquorTree', LiquorTree);
    Vue.component('NoticeComp', NoticeComp);
    Vue.component('NoticeGrid', NoticeGrid);
    Vue.component('NoticeManager', NoticeManager);
    Vue.component('NoticeModal', NoticeModal);
    Vue.component('PivotGrid', PivotGrid);
    Vue.component('Property', Property);
    Vue.component('Search', Search);
    Vue.component('SearchBar', SearchBar);
    Vue.component('SelectTree', SelectTree);
    Vue.component('ValidCheck', ValidCheck);
    Vue.component('CommonLayout', CommonLayout);
    Vue.component('CheckCombo', CheckCombo);
    Vue.component('vSplitter', verticalSplitter);
    Vue.component('hSplitter', horizontalSplitter);
    Vue.component('editableGrid', EditableGrid);
    Vue.component('buttonBar', ButtonBar);
    Vue.component('gridModal', GridModal);
    Vue.component('uTree', UTree);
    Vue.component('UEditor', UEditor);
    Vue.component('NoticeBoard', NoticeBoard);
    Vue.component('NoticeBoardInfo', NoticeBoardInfo);
    Vue.component('UTreeView', UTreeView);
  },
};
