import { common } from '@alilc/lowcode-engine';
import enUS from './en-US.json';
import zhCN from './zh-CN.json';
var intlLocal = function intlLocal() {
  var _common$utils$createI, _common$utils;
  var _ref = ((_common$utils$createI = (_common$utils = common.utils).createIntl) === null || _common$utils$createI === void 0 ? void 0 : _common$utils$createI.call(_common$utils)) || {},
    getLocale = _ref.getLocale;
  var locale = (getLocale === null || getLocale === void 0 ? void 0 : getLocale()) || 'zh-CN';
  var localeSource = {
    'en-US': enUS,
    'zh-CN': zhCN
  };
  return localeSource[locale];
};
export { intlLocal };