@xuda.io/runtime-bundle 1.0.363 → 1.0.365

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.
@@ -11923,13 +11923,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11923
11923
  const _ds = _session.DS_GLB[paramsP.dsSessionP];
11924
11924
 
11925
11925
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
11926
- const data = _ds?.data_feed?.rows?.[row_idx] || {};
11926
+ const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
11927
11927
 
11928
11928
  const props = _ds.in_parameters || {};
11929
11929
  const attributes = $elm?.data()?.xuData?.properties || {};
11930
11930
 
11931
11931
  // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
11932
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { data, attributes, props };
11932
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
11933
11933
 
11934
11934
  return {};
11935
11935
  },
@@ -9994,13 +9994,13 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
9994
9994
  const _ds = _session.DS_GLB[paramsP.dsSessionP];
9995
9995
 
9996
9996
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
9997
- const data = _ds?.data_feed?.rows?.[row_idx] || {};
9997
+ const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
9998
9998
 
9999
9999
  const props = _ds.in_parameters || {};
10000
10000
  const attributes = $elm?.data()?.xuData?.properties || {};
10001
10001
 
10002
10002
  // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
10003
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { data, attributes, props };
10003
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
10004
10004
 
10005
10005
  return {};
10006
10006
  },