@xuda.io/runtime-bundle 1.0.707 → 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
  });