"use strict";

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

exports.__esModule = true;
exports.default = _default;
exports.prefix = void 0;

var _bem = _interopRequireDefault(require("../mixins/bem"));

var prefix = 'gd';
exports.prefix = prefix;

var install = function install(Vue) {
  Vue.component(this.name, this);
};

function _default(sfc) {
  sfc.name = `${prefix}-${sfc.name}`;
  sfc.install = sfc.install || install;
  sfc.mixins = sfc.mixins || [];
  sfc.mixins.push(_bem.default);
  return sfc;
}