import dataForm from "./src/dataForm";
import selectGroup from "./src/selectGroup";
import select from "./src/select";
import upload from "./src/upload";
import rangePickerSplit from "./src/rangePickerSplit";
import rangeTimePickerSplit from "./src/rangeTimePickerSplit";
import inputNumberSplit from "./src/inputNumberSplit";
import datePicker from "./src/datePicker";
import timePicker from "./src/timePicker";
import checkbox from "./src/checkbox";
import treeSelect from "./src/treeSelect";
import cascaderEx from "./src/extend/cascader";

import formSetup from "./conf/setup";
dataForm.install = function(Vue) {
  Vue.component(dataForm.name, dataForm);
};
dataForm.setupConfig = formSetup;
dataForm.selectGroup = selectGroup;
dataForm.select = select;
dataForm.upload = upload;
dataForm.rangePickerSplit = rangePickerSplit;
dataForm.rangeTimePickerSplit = rangeTimePickerSplit;
dataForm.inputNumberSplit = inputNumberSplit;
dataForm.datePicker = datePicker;
dataForm.timePicker = timePicker;
dataForm.checkbox = checkbox;
dataForm.treeSelect = treeSelect;
dataForm.cascaderEx = cascaderEx;

export const DataForm = dataForm;

export default dataForm;
