{"size": 1056, "ext": "js", "max_stars_repo_path": "sharegoods-ui/src/index.js", "max_stars_repo_name": "majinhui04/vue-admin-template", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "sharegoods-ui/src/index.js", "max_issues_repo_name": "majinhui04/vue-admin-template", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "sharegoods-ui/src/index.js", "max_forks_repo_name": "majinhui04/vue-admin-template", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.4, "max_line_length": 62, "alphanum_fraction": 0.6818181818}
import TableFilter from '../packages/table-filter/index.js';
import TableView from '../packages/table-view/index.js';
import Loading from '../packages/loading/index.js';
import ExportButton from '../packages/export-button/index.js';
import Pagination from '../packages/pagination/index.js';
import Chart from '../packages/chart/index.js';
import Upload from '../packages/upload/index.js';
import PageForm from '../packages/page-form/index.js';
import PageDialog from '../packages/page-dialog/index.js';

import '../packages/styles/index.scss';

const components = [
    PageDialog,
    PageForm,
    Chart,
    Pagination,
    ExportButton,
    TableFilter,
    TableView,
    Loading,
    Upload
];

const install = function (Vue, opts = {}) {
    components.forEach(component => {
        component.opts = opts;
        Vue.component(component.name, component);
    });
};

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
    install(window.Vue);
}
export default {
    version: process.env.Version || 'debug',
    install
};
