@xuda.io/runtime-bundle 1.0.706 → 1.0.708

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.
@@ -30050,6 +30050,19 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30050
30050
  datasource_changed[0], // refresh the current datasource only
30051
30051
  );
30052
30052
  }
30053
+ ///// REFRESH PARAMETERS IN
30054
+ if (fields_changed.length) {
30055
+ for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
30056
+ if (_ds.args.parameters_raw_obj) {
30057
+ for (const [key, val] of Object.entries(_ds.args.parameters_raw_obj)) {
30058
+ if (fields_changed.includes(val)) {
30059
+ let ret = await func.expression.get(SESSION_ID, '@' + val, _dsSession, 'parameters');
30060
+ _ds.args.parameters_obj_inP[val] = ret.result;
30061
+ }
30062
+ }
30063
+ }
30064
+ }
30065
+ }
30053
30066
  }
30054
30067
  resolve();
30055
30068
  });
@@ -31857,7 +31870,7 @@ const get_params_obj_new = async function (SESSION_ID, prog_id, nodeP, dsSession
31857
31870
  // in parameter
31858
31871
  let ret = await func.expression.get(SESSION_ID, nodeP.attributes[`xu-exp:${val.data.parameter}`], dsSession, 'parameters');
31859
31872
  params_res[val.data.parameter] = ret.result;
31860
- params_raw[val.data.parameter] = `xu-exp:${val.data.parameter}`;
31873
+ params_raw[val.data.parameter] = val.data.parameter;
31861
31874
  }
31862
31875
  }
31863
31876
  continue;