import { IntfPlatform } from '@imedx/ics-imedx-chromely-plugin-intf-platform' import InterfaceCore from './interface-core' import config from './interface-config' import constants from './constants' import { IXXXXInterface } from './interfaces/interface' /** * 安装组件 * @param Vue Vue对象 * @param opts 配置 */ const install = function(Vue: any, opts = {}) { // 注册核心接口或者实现接口 IntfPlatform.register(constants.INTERFACE_CORE, InterfaceCore, config) } /** * 卸载组件 * @param Vue Vue对象 * @param opts 配置 */ const uninstall = function(Vue: any, opts = {}) {} export default { install, uninstall } export { install, uninstall, IXXXXInterface }