vue-ant-patterns
Version:
vue-ant-patterns
47 lines (40 loc) • 1.92 kB
JavaScript
/*
* @Author: your name
* @Date: 2020-06-01 15:11:39
* @LastEditTime: 2021-07-25 21:23:38
* @LastEditors: w.pengfei
* @Description: In User Settings Edit
* @FilePath: /vue-patterns/biz/index.js
*/
/* @remove-on-es-build-begin */
// this file is not used if use https://github.com/ant-design/babel-plugin-import
var ENV = process.env.NODE_ENV;
if (ENV !== 'production' && ENV !== 'test' && typeof console !== 'undefined' && console.warn && typeof window !== 'undefined') {
console.warn('You are using a whole package of antd, ' + 'please use https://www.npmjs.com/package/babel-plugin-import to reduce app bundle size.');
}
import { default as BTree } from './b-tree';
import { default as BConstant } from './b-constant';
import { default as BTempTable } from './b-temp-table';
import { default as BSearchHelper } from './b-search-helper';
import { default as BImportExport } from './b-import-export';
import { default as BQueryPanel } from './b-query-panel';
import { default as BQueryCondition } from './b-query-panel/BQueryCondition';
import { default as BVm } from './b-vm';
import { default as BHeaderSearch } from './b-header-search';
import { default as BRecognition } from './b-recognition';
import { default as BBlurQuery } from './b-blur-query';
import { default as BTableCollection } from './b-table-collection';
var components = [BTree, BConstant, BTempTable, BSearchHelper, BImportExport, BVm, BHeaderSearch, BRecognition, BQueryPanel, BBlurQuery, BTableCollection];
var install = function install(Vue) {
components.map(function (component) {
Vue.use(component);
});
};
/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue);
}
export { install, BTree, BConstant, BTempTable, BSearchHelper, BImportExport, BVm, BHeaderSearch, BQueryPanel, BQueryCondition, BRecognition, BBlurQuery, BTableCollection };
export default {
install: install
};