tdesign-mobile-vue
Version:
tdesign-mobile-vue
30 lines (26 loc) • 947 B
JavaScript
/**
* tdesign v1.7.0
* (c) 2024 TDesign Group
* @license MIT
*/
import _mergeWith from 'lodash/mergeWith';
import merge from 'lodash/merge';
import isArray from 'lodash/isArray';
import defaultConfig from '../_common/js/global-config/mobile/default-config.js';
import zhCn from '../_common/js/global-config/mobile/locale/zh_CN.js';
import '../_chunks/dep-6c582337.js';
import '@babel/runtime/helpers/typeof';
import '../_chunks/dep-38637d40.js';
import 'dayjs';
import '../_chunks/dep-959cdc59.js';
var defaultGlobalConfig = merge(defaultConfig, zhCn);
var configProviderInjectKey = Symbol("configProvide");
var mergeWith = function mergeWith(defaultGlobalConfig2, injectConfig) {
return _mergeWith(defaultGlobalConfig2, injectConfig, function (objValue, srcValue) {
if (isArray(objValue)) {
return srcValue;
}
});
};
export { configProviderInjectKey, defaultGlobalConfig, mergeWith };
//# sourceMappingURL=context.js.map