@byteluck-fe/model-driven-engine 2.23.0-beta.3 → 2.23.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/common/Engine.js +2 -2
- package/dist/index.umd.js +51 -7
- package/package.json +4 -4
|
@@ -341,7 +341,7 @@ function _ts_generator(thisArg, body) {
|
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
import { isDataBind } from '@byteluck-fe/model-driven-core';
|
|
344
|
-
import { CONTROL_BASE_TYPE, CONTROL_TYPE, DEFAULT_LOCALE, error, genNonDuplicateId, isString, JSONCopy, log, updateValueFromKeys, warn, Watcher, isBuiltInControls } from '@byteluck-fe/model-driven-shared';
|
|
344
|
+
import { CONTROL_BASE_TYPE, CONTROL_TYPE, DEFAULT_LOCALE, error, genNonDuplicateId, isString, JSONCopy, log, RulesMessage, updateValueFromKeys, warn, Watcher, isBuiltInControls } from '@byteluck-fe/model-driven-shared';
|
|
345
345
|
import { Runtime } from './Runtime';
|
|
346
346
|
import { Store } from './Store';
|
|
347
347
|
import { findItem, proxyState } from './proxyState';
|
|
@@ -388,7 +388,7 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
388
388
|
_this.$options = Object.freeze(props);
|
|
389
389
|
var _this_$options = _this.$options, _this_$options_autoMount = _this_$options.autoMount, autoMount = _this_$options_autoMount === void 0 ? true : _this_$options_autoMount, schema = _this_$options.schema, beforeCreateInstance = _this_$options.beforeCreateInstance, externalParams = _this_$options.externalParams, _this_$options_language = _this_$options.// fieldModel,
|
|
390
390
|
language, language = _this_$options_language === void 0 ? DEFAULT_LOCALE : _this_$options_language, _this_$options_debug = _this_$options.debug, debug = _this_$options_debug === void 0 ? false : _this_$options_debug, messagesI18n = _this_$options.messagesI18n, children = _this_$options.children;
|
|
391
|
-
|
|
391
|
+
RulesMessage.setLocale(language, messagesI18n);
|
|
392
392
|
_this.debug = debug;
|
|
393
393
|
_this.runtime = new Runtime({
|
|
394
394
|
schema: schema,
|