@xuda.io/runtime-bundle 1.0.722 → 1.0.724

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.
@@ -30007,16 +30007,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30007
30007
  fields_changed.push(field_id);
30008
30008
 
30009
30009
  ///// REFRESH PARAMETERS IN
30010
- // for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
30011
- // if (_ds.args.parameters_raw_obj) {
30012
- // for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
30013
- // if (exp.includes(field_id)) {
30014
- // let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
30015
- // _ds.in_parameters[key].value = ret.result;
30016
- // }
30017
- // }
30018
- // }
30019
- // }
30010
+ for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
30011
+ if (_ds.args.parameters_raw_obj) {
30012
+ for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
30013
+ if (exp.includes(field_id)) {
30014
+ let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
30015
+ _ds.in_parameters[key].value = ret.result;
30016
+ }
30017
+ }
30018
+ }
30019
+ }
30020
30020
  }
30021
30021
  if (!datasource_changed.includes(dataSource)) {
30022
30022
  datasource_changed.push(dataSource);
@@ -36403,7 +36403,7 @@ func.events.execute = async function (
36403
36403
  var params_obj = {};
36404
36404
  if (_prog?.properties?.progParams) {
36405
36405
  for await (const [key, val] of Object.entries(_prog.properties.progParams)) {
36406
- if (!val.data.dir === 'in') continue;
36406
+ // if (val.data.dir === 'in') continue;
36407
36407
  if (typeof args.parameters_obj_inP?.[val.data.parameter] !== 'undefined') {
36408
36408
  if (args.parameters_obj_inP?.[val.data.parameter].fx) {
36409
36409
  let ret = await func.expression.get(SESSION_ID, args.parameters_obj_inP?.[val.data.parameter].fx, dsSession, 'parameters');