@xuda.io/runtime-bundle 1.0.721 → 1.0.723

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);
@@ -37757,7 +37757,7 @@ func.UI.main.embed_prog_execute = async function (SESSION_ID, prog) {
37757
37757
  var params_obj = {};
37758
37758
  if (_prog?.properties?.progParams) {
37759
37759
  for (const [key, val] of Object.entries(_prog.properties.progParams)) {
37760
- if (val.data.dir !== 'in') continue;
37760
+ // if (val.data.dir !== 'in') continue;
37761
37761
  if (typeof _session.url_params?.[val.data.parameter] !== 'undefined') {
37762
37762
  params_obj[val.data.parameter] = _session.url_params?.[val.data.parameter];
37763
37763