import antd from 'ant-design-vue/es/locale-provider/zh_CN';
import momentCN from 'moment/locale/zh-cn';

/** 顶部导航栏 */
import header from './zh-CN/header';
/** 全局按钮 */
import globalBtn from './zh-CN/globalBtn';
/** 全局字典 */
import globalDict from './zh-CN/globalDict';
/** 全局消息提示 */
import globalMessage from './zh-CN/globalMessage';
/** 全局常量 */
import globalConstant from './zh-CN/globalConstant';
/** 规划 */
import plan from './zh-CN/plan';
/** 结构分析 */
import structuralAnalysis from './zh-CN/structuralAnalysis';
/** 调研 */
import research from './zh-CN/research';
/** 功能分析 */
import functionalAnalysis from './zh-CN/functionalAnalysis';
/** 风险分析 */
import riskAnalysis from './zh-CN/riskAnalysis';
/** 措施追踪 */
import measureTrack from './zh-CN/measureTrack';
/** 总结归档 */
import summaryArchive from './zh-CN/summaryArchive';
/** 全局组件 */
import globalComponents from './zh-CN/globalComponents';

const components = {
  antLocale: antd,
  momentName: 'zh-cn',
  momentLocale: momentCN
};

export default {
  ...components,
  ...header,
  ...globalBtn,
  ...globalDict,
  ...globalMessage,
  ...globalConstant,
  ...plan,
  ...structuralAnalysis,
  ...research,
  ...functionalAnalysis,
  ...riskAnalysis,
  ...measureTrack,
  ...summaryArchive,
  ...globalComponents
};
