"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.default = void 0;
exports.install = install;
exports.version = void 0;

var _baseButton = _interopRequireDefault(require("./base-button"));

exports.BaseButton = _baseButton.default;

var _baseRichtext = _interopRequireDefault(require("./base-richtext"));

exports.BaseRichtext = _baseRichtext.default;

var _baseScrollList = _interopRequireDefault(require("./base-scroll-list"));

exports.BaseScrollList = _baseScrollList.default;

var _baseWatermark = _interopRequireDefault(require("./base-watermark"));

exports.BaseWatermark = _baseWatermark.default;

var _businessAudio = _interopRequireDefault(require("./business-audio"));

exports.BusinessAudio = _businessAudio.default;

var _businessVideo = _interopRequireDefault(require("./business-video"));

exports.BusinessVideo = _businessVideo.default;

var _chart = _interopRequireDefault(require("./chart"));

exports.Chart = _chart.default;

var _chartBarProgress = _interopRequireDefault(require("./chart-bar-progress"));

exports.ChartBarProgress = _chartBarProgress.default;

var _chartCircleProgress = _interopRequireDefault(require("./chart-circle-progress"));

exports.ChartCircleProgress = _chartCircleProgress.default;
var version = '0.0.17';
exports.version = version;

function install(Vue) {
  var components = [_baseButton.default, _baseRichtext.default, _baseScrollList.default, _baseWatermark.default, _businessAudio.default, _businessVideo.default, _chart.default, _chartBarProgress.default, _chartCircleProgress.default];
  components.forEach(function (item) {
    if (item.install) {
      Vue.use(item);
    } else if (item.name) {
      Vue.component(item.name, item);
    }
  });
}

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

var _default = {
  install: install,
  version: version
};
exports.default = _default;