import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
import "core-js/modules/web.dom.iterable";
import AccountDialog from './components/account-dialog';
import AccountMain from './components/account-main';
import Auth from './components/auth';
import AuthModal from './components/auth-modal';
import Badge from './components/badge';
import Button from './components/button';
import Dialog from './components/dialog';
import EditorHelp from './components/editor-help';
import EditorSidebar from './components/editor-sidebar';
import FeedbackModal from './components/feedback-modal';
import Filter from './components/filter';
import Footer from './components/footer';
import Icon from './components/icon';
import Input from './components/input';
import LazyImage from './components/lazy-image';
import Loadmore from './components/loadmore';
import Menu from './components/menu';
import MenuItem from './components/menu-item';
import Message from './components/message';
import Modal from './components/modal';
import Navigation from './components/navigation';
import Pagination from './components/pagination';
import Popover from './components/popover';
import Portal from './components/portal';
import Progress from './components/progress';
import QuickLink from './components/quick-link';
import Select from './components/select';
import SubMenu from './components/sub-menu';
import TabPanel from './components/tab-panel';
import Tabs from './components/tabs';
import Tips from './components/tips';
import Tooltip from './components/tooltip';
import Udesk from './components/udesk';
import Upload from './components/upload';
import cache from './service/cache.js';
import guestUser from './service/guest-user.js';
import ossDprUrl from './service/oss-dpr-url.js';
import oss from './service/oss.js';
import request from './service/request.js';
import udesk from './components/udesk/udesk';
export { default as AccountDialog } from './components/account-dialog';
export { default as AccountMain } from './components/account-main';
export { default as Auth } from './components/auth';
export { default as AuthModal } from './components/auth-modal';
export { default as Badge } from './components/badge';
export { default as Button } from './components/button';
export { default as Dialog } from './components/dialog';
export { default as EditorHelp } from './components/editor-help';
export { default as EditorSidebar } from './components/editor-sidebar';
export { default as FeedbackModal } from './components/feedback-modal';
export { default as Filter } from './components/filter';
export { default as Footer } from './components/footer';
export { default as Icon } from './components/icon';
export { default as Input } from './components/input';
export { default as LazyImage } from './components/lazy-image';
export { default as Loadmore } from './components/loadmore';
export { default as Menu } from './components/menu';
export { default as MenuItem } from './components/menu-item';
export { default as Message } from './components/message';
export { default as Modal } from './components/modal';
export { default as Navigation } from './components/navigation';
export { default as Pagination } from './components/pagination';
export { default as Popover } from './components/popover';
export { default as Portal } from './components/portal';
export { default as Progress } from './components/progress';
export { default as QuickLink } from './components/quick-link';
export { default as Select } from './components/select';
export { default as SubMenu } from './components/sub-menu';
export { default as TabPanel } from './components/tab-panel';
export { default as Tabs } from './components/tabs';
export { default as Tips } from './components/tips';
export { default as Tooltip } from './components/tooltip';
export { default as Udesk } from './components/udesk';
export { default as Upload } from './components/upload';
export { default as cache } from './service/cache.js';
export { default as guestUser } from './service/guest-user.js';
export { default as ossDprUrl } from './service/oss-dpr-url.js';
export { default as oss } from './service/oss.js';
export { default as request } from './service/request.js';
export { default as udesk } from './components/udesk/udesk';
const components = {
  AccountDialog,
  AccountMain,
  Auth,
  AuthModal,
  Badge,
  Button,
  Dialog,
  EditorHelp,
  EditorSidebar,
  FeedbackModal,
  Filter,
  Footer,
  Icon,
  Input,
  LazyImage,
  Loadmore,
  Menu,
  MenuItem,
  Message,
  Modal,
  Navigation,
  Pagination,
  Popover,
  Portal,
  Progress,
  QuickLink,
  Select,
  SubMenu,
  TabPanel,
  Tabs,
  Tips,
  Tooltip,
  Udesk,
  Upload
};
const services = {
  cache,
  guestUser,
  ossDprUrl,
  oss,
  request
};
export function install(Vue) {
  _Object$keys(components).forEach(key => {
    if (components[key].install) {
      Vue.use(components[key]);
    } else {
      Vue.component(components[key].name, components[key]);
    }
  });
}
const gdui = {
  install,
  version: "1.11.16",
  udesk,
  ...services,
  ...components
};
export default gdui;
let GlobalVue = null;

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

if (GlobalVue) {
  install(GlobalVue);
}