@xuda.io/runtime-bundle 1.0.718 → 1.0.719

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.
@@ -28009,7 +28009,7 @@ func.datasource.create = async function (
28009
28009
  rowIdP,
28010
28010
  jobNoP,
28011
28011
  calling_trigger_prop,
28012
- parameters_raw_obj,
28012
+ screen_param,
28013
28013
  NA_isInitP,
28014
28014
  NA_callingSourceP,
28015
28015
  calling_jobP,
@@ -28042,7 +28042,6 @@ func.datasource.create = async function (
28042
28042
  parameters_obj_inP,
28043
28043
  static_refreshP,
28044
28044
  worker_id,
28045
- parameters_raw_obj,
28046
28045
  };
28047
28046
 
28048
28047
  var IS_DATASOURCE_REFRESH = null;
@@ -28178,7 +28177,7 @@ func.datasource.create = async function (
28178
28177
  args.rowIdP,
28179
28178
  args.jobNoP,
28180
28179
  args.calling_trigger_prop,
28181
- args.parameters_raw_obj,
28180
+ null,
28182
28181
  null,
28183
28182
  null,
28184
28183
  args.calling_jobP,
@@ -28219,7 +28218,7 @@ func.datasource.create = async function (
28219
28218
  return done(SESSION_ID, jsonP.dsSession, true);
28220
28219
  });
28221
28220
  };
28222
- func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, parentDataSourceNoP, containerIdP, rowIdP, jobNoP, calling_trigger_prop, parameters_raw_obj, NA_isInitP, callingSourceP, calling_jobP, NA_screen_dsP, is_panelP, parameters_obj_inP, static_refreshP, run_atP, worker_id) {
28221
+ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, parentDataSourceNoP, containerIdP, rowIdP, jobNoP, calling_trigger_prop, NA_screen_param, NA_isInitP, callingSourceP, calling_jobP, NA_screen_dsP, is_panelP, parameters_obj_inP, static_refreshP, run_atP, worker_id) {
28223
28222
  const set_parameters = async function () {
28224
28223
  var _session = SESSION_OBJ[SESSION_ID];
28225
28224
  const get_Out_parameters = async function (fieldIdP, located_field_param_idxP, param_row_idP) {
@@ -28348,7 +28347,6 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
28348
28347
  static_refreshP,
28349
28348
  run_atP,
28350
28349
  worker_id,
28351
- parameters_raw_obj,
28352
28350
  };
28353
28351
 
28354
28352
  var dataSourceSession = null;
@@ -29267,7 +29265,7 @@ func.datasource.run_events_functions = async function (SESSION_ID, dataSourceSes
29267
29265
  clearInterval(interval);
29268
29266
  resolve(job_num);
29269
29267
  }
29270
- if (i > 50) {
29268
+ if (i > 20) {
29271
29269
  console.error('deadlock detected');
29272
29270
  clearInterval(interval);
29273
29271
  resolve(job_num);
@@ -30005,18 +30003,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30005
30003
 
30006
30004
  if (!fields_changed.includes(field_id)) {
30007
30005
  fields_changed.push(field_id);
30008
-
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
- // }
30020
30006
  }
30021
30007
  if (!datasource_changed.includes(dataSource)) {
30022
30008
  datasource_changed.push(dataSource);
@@ -30063,19 +30049,6 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30063
30049
  datasource_changed[0], // refresh the current datasource only
30064
30050
  );
30065
30051
  }
30066
- // ///// REFRESH PARAMETERS IN
30067
- // if (fields_changed.length) {
30068
- // for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
30069
- // if (_ds.args.parameters_raw_obj) {
30070
- // for (const [key, val] of Object.entries(_ds.args.parameters_raw_obj)) {
30071
- // if (fields_changed.includes(val)) {
30072
- // let ret = await func.expression.get(SESSION_ID, '@' + val, _dsSession, 'parameters');
30073
- // _ds.in_parameters[val].value = ret.result;
30074
- // }
30075
- // }
30076
- // }
30077
- // }
30078
- // }
30079
30052
  }
30080
30053
  resolve();
30081
30054
  });