@byteluck-fe/model-driven-engine 2.3.1-beta.20 → 2.3.1-beta.22

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.
@@ -1120,7 +1120,8 @@ var Engine = /*#__PURE__*/ function(Watcher) {
1120
1120
  return item === null || item === void 0 ? void 0 : item.controlId;
1121
1121
  });
1122
1122
  var mappingValue = _this.getEmptyState(newMapping === null || newMapping === void 0 ? void 0 : newMapping.controlId);
1123
- var mainStateKeys = Object.keys(newState);
1123
+ var _newState_newMapping_controlId;
1124
+ var mainStateKeys = Object.keys((_newState_newMapping_controlId = newState === null || newState === void 0 ? void 0 : newState[newMapping === null || newMapping === void 0 ? void 0 : newMapping.controlId]) !== null && _newState_newMapping_controlId !== void 0 ? _newState_newMapping_controlId : {});
1124
1125
  mappingKeys.forEach(function(key) {
1125
1126
  if (!mainStateKeys.includes(key) && key !== "uid") {
1126
1127
  if (Object.keys(newState).length) {