
import { default as Base } from './base';

import { default as Map } from './map';

import { default as version } from './version';

import { default as preload } from './preload';

var components = [Base, Map];

var install = function install(Vue) {
  components.map(function (component) {
    Vue.use(component);
  });

  Vue.prototype.$preload = preload;
};

/* istanbul ignore if */
if (typeof window !== 'undefined' && window.Vue) {
  install(window.Vue);
}

export { Base, Map, version, install, preload };

export default {
  version: version,
  install: install
};