tdesign-mobile-vue
Version:
tdesign-mobile-vue
29 lines (25 loc) • 910 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-d5364bc4.js';
import '@babel/runtime/helpers/typeof';
import '../_chunks/dep-eb734424.js';
import 'dayjs';
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