'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.ProTable = exports.Affix = exports.install = exports.version = undefined;

var _affix = require('./affix');

var _affix2 = _interopRequireDefault(_affix);

var _proTable = require('./pro-table');

var _proTable2 = _interopRequireDefault(_proTable);

var _version = require('./version');

var _version2 = _interopRequireDefault(_version);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

/* @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.');
}
/* @remove-on-es-build-end */

var components = [_affix2['default'], _proTable2['default']];

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

  // Vue.prototype.$message = message;
  // Vue.prototype.$notification = notification;
  // Vue.prototype.$info = Modal.info;
  // Vue.prototype.$success = Modal.success;
  // Vue.prototype.$error = Modal.error;
  // Vue.prototype.$warning = Modal.warning;
  // Vue.prototype.$confirm = Modal.confirm;
  // Vue.prototype.$destroyAll = Modal.destroyAll;
};

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

exports.version = _version2['default'];
exports.install = install;
exports.Affix = _affix2['default'];
exports.ProTable = _proTable2['default'];
exports['default'] = {
  version: _version2['default'],
  install: install
};