"use strict";

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

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

var _audioPlayer = _interopRequireDefault(require("./audio-player"));

exports.AudioPlayer = _audioPlayer.default;

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

exports.BarProgress = _barProgress.default;

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

exports.Chart = _chart.default;

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

exports.CircleProgress = _circleProgress.default;

var _richtext = _interopRequireDefault(require("./richtext"));

exports.Richtext = _richtext.default;

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

exports.ScrollList = _scrollList.default;

var _videoPlayer = _interopRequireDefault(require("./video-player"));

exports.VideoPlayer = _videoPlayer.default;

var _watermark = _interopRequireDefault(require("./watermark"));

exports.Watermark = _watermark.default;

var _template = _interopRequireDefault(require("./__template"));

exports.__template = _template.default;
var version = '1.0.0';
exports.version = version;

function install(Vue) {
  var components = [_audioPlayer.default, _barProgress.default, _chart.default, _circleProgress.default, _richtext.default, _scrollList.default, _videoPlayer.default, _watermark.default, _template.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;