@byteluck-fe/model-driven-engine 2.23.0-beta.10 → 2.23.0-beta.12
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 +1 -2
- package/dist/index.umd.js +7 -7
- package/package.json +4 -4
|
@@ -329,7 +329,7 @@ function _ts_generator(thisArg, body) {
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
import { isDataBind } from '@byteluck-fe/model-driven-core';
|
|
332
|
-
import { CONTROL_BASE_TYPE, CONTROL_TYPE, DEFAULT_LOCALE, error, genNonDuplicateId, isString, JSONCopy, log,
|
|
332
|
+
import { CONTROL_BASE_TYPE, CONTROL_TYPE, DEFAULT_LOCALE, error, genNonDuplicateId, isString, JSONCopy, log, updateValueFromKeys, warn, Watcher, isBuiltInControls } from '@byteluck-fe/model-driven-shared';
|
|
333
333
|
import { Runtime } from './Runtime';
|
|
334
334
|
import { Store } from './Store';
|
|
335
335
|
import { findItem, proxyState } from './proxyState';
|
|
@@ -360,7 +360,6 @@ var Engine = /*#__PURE__*/ function(Watcher) {
|
|
|
360
360
|
_this.$options = Object.freeze(props);
|
|
361
361
|
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,
|
|
362
362
|
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;
|
|
363
|
-
RulesMessage.setLocale(language, messagesI18n);
|
|
364
363
|
_this.debug = debug;
|
|
365
364
|
_this.runtime = new Runtime({
|
|
366
365
|
schema: schema,
|