import globals from './global/zh-CN';
// import routes from './routes/zh-CN';
import pages from './pages/zh-CN';
import antd from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs/locale/zh-cn';
import platform from './platform/zh-CN';
import permission from './permission/zh-CN';
import seniorQuery from './seniorQuery/zh-CN';
import { zhCNIntl } from '@crami/bui';
const locales = {
  localeName: 'zhCN',
  dayjsLocaleName: 'zh-cn',

  dayjs,

  ...globals,
  // ...routes,
  ...pages,
  ...platform,
  ...permission,
  ...seniorQuery,
  // 增加导入buiLocale
  antd: {
    ...antd,
    buiLocale: zhCNIntl,
  },
};

export default {
  ...locales,
};
