sohelp-ele
Version:
SohelpEle Library
95 lines (94 loc) • 4.53 kB
JavaScript
import NProgress from "nprogress";
import { messageLoading } from "./utils/message-loading";
import SohelpNotice from "./utils/SohelpNotice.js";
import SohelpDrawerUtil from "./utils/SohelpDrawer.js";
import SohelpTab from "./utils/SohelpTab.js";
import SohelpCrud from "./utils/SohelpCrud.js";
import SohelpDate from "./sohelp-date";
import SohelpCoder from "./sohelp-coder";
import SohelpTextarea from "./sohelp-textarea";
import SohelpInput from "./sohelp-input";
import SohelpNumberInput from "./sohelp-number-input";
import SohelpRoleSelect from "./sohelp-role-select";
import SohelpTree from "./sohelp-tree";
import SohelpTreeSelect from "./sohelp-tree-select";
import SohelpDynSelect from "./sohelp-dyn-select";
import SohelpDictSelect from "./sohelp-dict-select";
import SohelpTable from "./sohelp-table";
import SohelpDatetime from "./sohelp-datetime";
import SohelpAreaSelect from "./sohelp-area-select";
import SohelpOrgInput from "./sohelp-org-input";
import SohelpOrgSelect from "./sohelp-org-select";
import SohelpOrgTree from "./sohelp-org-tree";
import SohelpUserInput from "./sohelp-user-input";
import SohelpUserSelect from "./sohelp-user-select";
import SohelpOrgUserTree from "./sohelp-org-user-tree";
import SohelpSlot from "./sohelp-slot";
import SohelpModal from "./sohelp-modal";
import SohelpVform from "./sohelp-vform";
import SohelpVformModalPool from "./sohelp-vform-modal-pool";
import SohelpVformModal from "./sohelp-vform-modal";
import SohelpVformRender from "./sohelp-vform-render";
import SohelpVformDrawer from "./sohelp-vform-drawer";
import SohelpVformDrawerPool from "./sohelp-vform-drawer-pool";
import SohelpSelect from "./sohelp-select";
import SohelpTableInput from "./sohelp-table-input";
import SohelpTableSelect from "./sohelp-table-select";
import SohelpAutocomplete from "./sohelp-autocomplete";
import SohelpImageUpload from "./sohelp-upload-image";
import SohelpDrawer from "./sohelp-drawer";
import SohelpTags from "./sohelp-tags";
const installer = {
install: async function(Vue, option) {
Vue.component("SohelpDate", SohelpDate);
Vue.component("SohelpCoder", SohelpCoder);
Vue.component("SohelpNumberInput", SohelpNumberInput);
Vue.component("SohelpTextarea", SohelpTextarea);
Vue.component("SohelpUserSelect", SohelpUserSelect);
Vue.component("SohelpRoleSelect", SohelpRoleSelect);
Vue.component("SohelpTree", SohelpTree);
Vue.component("SohelpTreeSelect", SohelpTreeSelect);
Vue.component("SohelpDynSelect", SohelpDynSelect);
Vue.component("SohelpDictSelect", SohelpDictSelect);
Vue.component("SohelpTable", SohelpTable);
Vue.component("SohelpDatetime", SohelpDatetime);
Vue.component("SohelpModal", SohelpModal);
Vue.component("SohelpVform", SohelpVform);
Vue.component("SohelpVformModal", SohelpVformModal);
Vue.component("SohelpVformModalPool", SohelpVformModalPool);
Vue.component("SohelpVformRender", SohelpVformRender);
Vue.component("SohelpDrawer", SohelpDrawer);
Vue.component("SohelpVformDrawer", SohelpVformDrawer);
Vue.component("SohelpVformDrawerPool", SohelpVformDrawerPool);
Vue.component("SohelpInput", SohelpInput);
Vue.component("SohelpSelect", SohelpSelect);
Vue.component("SohelpAreaSelect", SohelpAreaSelect);
Vue.component("SohelpOrgSelect", SohelpOrgSelect);
Vue.component("SohelpOrgInput", SohelpOrgInput);
Vue.component("SohelpOrgTree", SohelpOrgTree);
Vue.component("SohelpUserInput", SohelpUserInput);
Vue.component("SohelpOrgUserTree", SohelpOrgUserTree);
Vue.component("SohelpTableInput", SohelpTableInput);
Vue.component("SohelpTableSelect", SohelpTableSelect);
Vue.component("SohelpOrgSelect", SohelpOrgSelect);
Vue.component("SohelpSlot", SohelpSlot);
Vue.component("SohelpAutocomplete", SohelpAutocomplete);
Vue.component("SohelpImageUpload", SohelpImageUpload);
Vue.component("SohelpTags", SohelpTags);
Vue.prototype.$messageLoading = messageLoading;
Vue.prototype.$ELEADMIN = Object.assign({}, option);
Vue.prototype.$sohelpCrud = SohelpCrud;
Vue.prototype.$sohelpTab = SohelpTab;
Vue.prototype.$sohelpDrawer = SohelpDrawerUtil;
Vue.prototype.$sohelpNotice = SohelpNotice;
Vue.prototype.$messageLoading = messageLoading;
NProgress.configure(Object.assign({
speed: 200,
minimum: 0.08,
trickleRate: 0.1,
trickleSpeed: 100,
showSpinner: false
}, option == null ? void 0 : option.nProgress));
}
};
export { installer as default };