"use strict";

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

exports.__esModule = true;
exports.install = install;
exports.default = exports.udesk = exports.request = exports.oss = exports.ossDprUrl = exports.guestUser = exports.cache = exports.Upload = exports.Udesk = exports.Tooltip = exports.Tips = exports.Tabs = exports.TabPanel = exports.SubMenu = exports.Select = exports.QuickLink = exports.Progress = exports.Portal = exports.Popover = exports.Pagination = exports.Navigation = exports.Modal = exports.Message = exports.MenuItem = exports.Menu = exports.Loadmore = exports.LazyImage = exports.Input = exports.Icon = exports.Footer = exports.Filter = exports.FeedbackModal = exports.EditorSidebar = exports.EditorHelp = exports.Dialog = exports.Button = exports.Badge = exports.AuthModal = exports.Auth = exports.AccountMain = exports.AccountDialog = void 0;

var _assign = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/assign"));

require("core-js/modules/web.dom.iterable");

var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));

var _accountDialog = _interopRequireDefault(require("./components/account-dialog"));

exports.AccountDialog = _accountDialog.default;

var _accountMain = _interopRequireDefault(require("./components/account-main"));

exports.AccountMain = _accountMain.default;

var _auth = _interopRequireDefault(require("./components/auth"));

exports.Auth = _auth.default;

var _authModal = _interopRequireDefault(require("./components/auth-modal"));

exports.AuthModal = _authModal.default;

var _badge = _interopRequireDefault(require("./components/badge"));

exports.Badge = _badge.default;

var _button = _interopRequireDefault(require("./components/button"));

exports.Button = _button.default;

var _dialog = _interopRequireDefault(require("./components/dialog"));

exports.Dialog = _dialog.default;

var _editorHelp = _interopRequireDefault(require("./components/editor-help"));

exports.EditorHelp = _editorHelp.default;

var _editorSidebar = _interopRequireDefault(require("./components/editor-sidebar"));

exports.EditorSidebar = _editorSidebar.default;

var _feedbackModal = _interopRequireDefault(require("./components/feedback-modal"));

exports.FeedbackModal = _feedbackModal.default;

var _filter = _interopRequireDefault(require("./components/filter"));

exports.Filter = _filter.default;

var _footer = _interopRequireDefault(require("./components/footer"));

exports.Footer = _footer.default;

var _icon = _interopRequireDefault(require("./components/icon"));

exports.Icon = _icon.default;

var _input = _interopRequireDefault(require("./components/input"));

exports.Input = _input.default;

var _lazyImage = _interopRequireDefault(require("./components/lazy-image"));

exports.LazyImage = _lazyImage.default;

var _loadmore = _interopRequireDefault(require("./components/loadmore"));

exports.Loadmore = _loadmore.default;

var _menu = _interopRequireDefault(require("./components/menu"));

exports.Menu = _menu.default;

var _menuItem = _interopRequireDefault(require("./components/menu-item"));

exports.MenuItem = _menuItem.default;

var _message = _interopRequireDefault(require("./components/message"));

exports.Message = _message.default;

var _modal = _interopRequireDefault(require("./components/modal"));

exports.Modal = _modal.default;

var _navigation = _interopRequireDefault(require("./components/navigation"));

exports.Navigation = _navigation.default;

var _pagination = _interopRequireDefault(require("./components/pagination"));

exports.Pagination = _pagination.default;

var _popover = _interopRequireDefault(require("./components/popover"));

exports.Popover = _popover.default;

var _portal = _interopRequireDefault(require("./components/portal"));

exports.Portal = _portal.default;

var _progress = _interopRequireDefault(require("./components/progress"));

exports.Progress = _progress.default;

var _quickLink = _interopRequireDefault(require("./components/quick-link"));

exports.QuickLink = _quickLink.default;

var _select = _interopRequireDefault(require("./components/select"));

exports.Select = _select.default;

var _subMenu = _interopRequireDefault(require("./components/sub-menu"));

exports.SubMenu = _subMenu.default;

var _tabPanel = _interopRequireDefault(require("./components/tab-panel"));

exports.TabPanel = _tabPanel.default;

var _tabs = _interopRequireDefault(require("./components/tabs"));

exports.Tabs = _tabs.default;

var _tips = _interopRequireDefault(require("./components/tips"));

exports.Tips = _tips.default;

var _tooltip = _interopRequireDefault(require("./components/tooltip"));

exports.Tooltip = _tooltip.default;

var _udesk = _interopRequireDefault(require("./components/udesk"));

exports.Udesk = _udesk.default;

var _upload = _interopRequireDefault(require("./components/upload"));

exports.Upload = _upload.default;

var _cache = _interopRequireDefault(require("./service/cache.js"));

exports.cache = _cache.default;

var _guestUser = _interopRequireDefault(require("./service/guest-user.js"));

exports.guestUser = _guestUser.default;

var _ossDprUrl = _interopRequireDefault(require("./service/oss-dpr-url.js"));

exports.ossDprUrl = _ossDprUrl.default;

var _oss = _interopRequireDefault(require("./service/oss.js"));

exports.oss = _oss.default;

var _request = _interopRequireDefault(require("./service/request.js"));

exports.request = _request.default;

var _udesk2 = _interopRequireDefault(require("./components/udesk/udesk"));

exports.udesk = _udesk2.default;
var components = {
  AccountDialog: _accountDialog.default,
  AccountMain: _accountMain.default,
  Auth: _auth.default,
  AuthModal: _authModal.default,
  Badge: _badge.default,
  Button: _button.default,
  Dialog: _dialog.default,
  EditorHelp: _editorHelp.default,
  EditorSidebar: _editorSidebar.default,
  FeedbackModal: _feedbackModal.default,
  Filter: _filter.default,
  Footer: _footer.default,
  Icon: _icon.default,
  Input: _input.default,
  LazyImage: _lazyImage.default,
  Loadmore: _loadmore.default,
  Menu: _menu.default,
  MenuItem: _menuItem.default,
  Message: _message.default,
  Modal: _modal.default,
  Navigation: _navigation.default,
  Pagination: _pagination.default,
  Popover: _popover.default,
  Portal: _portal.default,
  Progress: _progress.default,
  QuickLink: _quickLink.default,
  Select: _select.default,
  SubMenu: _subMenu.default,
  TabPanel: _tabPanel.default,
  Tabs: _tabs.default,
  Tips: _tips.default,
  Tooltip: _tooltip.default,
  Udesk: _udesk.default,
  Upload: _upload.default
};
var services = {
  cache: _cache.default,
  guestUser: _guestUser.default,
  ossDprUrl: _ossDprUrl.default,
  oss: _oss.default,
  request: _request.default
};

function install(Vue) {
  (0, _keys.default)(components).forEach(function (key) {
    if (components[key].install) {
      Vue.use(components[key]);
    } else {
      Vue.component(components[key].name, components[key]);
    }
  });
}

var gdui = (0, _assign.default)({
  install,
  version: "1.11.16",
  udesk: _udesk2.default
}, services, components);
var _default = gdui;
exports.default = _default;
var GlobalVue = null;

if (typeof window !== 'undefined') {
  GlobalVue = window.Vue;
} else if (typeof global !== 'undefined') {
  GlobalVue = global.Vue;
}

if (GlobalVue) {
  install(GlobalVue);
}