@xuda.io/runtime-bundle 1.0.380 → 1.0.381

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.
@@ -31963,7 +31963,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
31963
31963
  const _session = SESSION_OBJ[SESSION_ID];
31964
31964
  let _ds_0 = _session.DS_GLB[0];
31965
31965
 
31966
- const _ds = _session.DS_GLB[paramsP.dsSessionP];
31966
+ const _ds = func.utils.clean_returned_datasource(SESSION_ID, _session.DS_GLB[paramsP.dsSessionP]);
31967
31967
 
31968
31968
  const row_idx = func.common.find_ROWID_idx(_ds, _ds.currentRecordId);
31969
31969
  const data = _.clone(_ds?.data_feed?.rows?.[row_idx]) || {};
@@ -31971,8 +31971,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
31971
31971
  const props = _ds.in_parameters || {};
31972
31972
  const attributes = $elm?.data()?.xuData?.properties || {};
31973
31973
 
31974
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
31975
- // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
31974
+ // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
31975
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { ds: _ds, data, attributes, props };
31976
31976
 
31977
31977
  return {};
31978
31978
  },
@@ -34983,10 +34983,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
34983
34983
  }
34984
34984
  // extract object
34985
34985
  if (typeof val.value === 'object' && var_Arr.length > 1) {
34986
- debugger;
34987
34986
  if (!Array.isArray(val.value) && !var_Arr[key + 1].value?.includes('.')) {
34988
- // && !["api_rendered_output"].includes(sourceP)
34989
-
34990
34987
  // prevent cast on single value expression
34991
34988
  res[key] = '(' + JSON.stringify(val.value) + ')';
34992
34989
  } else {