import ElMenu, {
    ElButton,
    ElLink,
    ElInput,
    ElForm,
    ElSelect,
    ElDatePicker,
    ElOption,
    ElFormItem,
    ElContainer,
    ElMain, ElAside, ElMenuItem, ElHeader, ElSubMenu, ElMenuItemGroup, ElTableColumn, ElBreadcrumbItem,
    ElCheckbox, ElTabPane, ElRadio, ElRadioGroup
} from 'element-plus';
import {app} from "./init";
import ElTable from "element-plus";
import ElPagination from "element-plus";
import ElBreadcrumb from "element-plus";
import ElTooltip from "element-plus";
import ElUpload from "element-plus";
import ElTabs from "element-plus";
import ElDialog from "element-plus";
export function registerUi() {
    const arrs = [
        ElButton,
        ElLink,
        ElInput,
        ElForm,
        ElFormItem,
        ElInput,
        ElSelect,
        ElOption,
        ElDatePicker,
        ElContainer,
        ElMain,
        ElAside,
        ElMenu,
        ElSubMenu,
        ElMenuItemGroup,
        ElMenuItem,
        ElHeader,
        ElTable,
        ElTableColumn,
        ElPagination,
        ElBreadcrumb,
        ElBreadcrumbItem,
        ElCheckbox,
        ElDatePicker,
        ElTooltip,
        ElUpload,
        ElTabs,
        ElTabPane,
        ElDialog,
        ElRadio,
        ElRadioGroup
    ]

    arrs.forEach(ele => {
        app.use(ele)
    })
}