@xuda.io/runtime-bundle 1.0.701 → 1.0.702

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.
@@ -28008,7 +28008,7 @@ func.datasource.create = async function (
28008
28008
  rowIdP,
28009
28009
  jobNoP,
28010
28010
  calling_trigger_prop,
28011
- screen_param,
28011
+ parameters_raw_obj,
28012
28012
  NA_isInitP,
28013
28013
  NA_callingSourceP,
28014
28014
  calling_jobP,
@@ -28041,6 +28041,7 @@ func.datasource.create = async function (
28041
28041
  parameters_obj_inP,
28042
28042
  static_refreshP,
28043
28043
  worker_id,
28044
+ parameters_raw_obj,
28044
28045
  };
28045
28046
 
28046
28047
  var IS_DATASOURCE_REFRESH = null;
@@ -31574,6 +31575,13 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31574
31575
  // $("[xu-ui-id='" + elm_to_delete + "']").remove();
31575
31576
  // });
31576
31577
 
31578
+ if (_session.engine_mode === 'live_preview') {
31579
+ console.info('========= refresh main info ==============');
31580
+ console.info('reason:', refresh_reason);
31581
+ console.info('element:', $elm);
31582
+ console.info('==========================================');
31583
+ }
31584
+
31577
31585
  return;
31578
31586
  }
31579
31587
  }
@@ -31848,19 +31856,6 @@ const get_params_obj_new = async function (SESSION_ID, prog_id, nodeP, dsSession
31848
31856
  params_obj[val.data.parameter] = ret.result;
31849
31857
  }
31850
31858
  }
31851
-
31852
- // if (parameters_obj_inP?.[val.data.parameter].fx) {
31853
- // let ret = await func.expression.get(
31854
- // SESSION_ID,
31855
- // parameters_obj_inP?.[val.data.parameter].fx,
31856
- // dsSession,
31857
- // "parameters"
31858
- // );
31859
- // params_obj[val.data.parameter] = ret.result;
31860
- // } else {
31861
- // params_obj[val.data.parameter] =
31862
- // parameters_obj_inP?.[val.data.parameter].value;
31863
- // }
31864
31859
  continue;
31865
31860
  }
31866
31861
  console.warn(`Warning: Program ${_prog.properties.menuName} expected In parameter: ${val.data.parameter} but received null instead`);
@@ -36379,7 +36374,7 @@ func.events.execute = async function (
36379
36374
  var params_obj = {};
36380
36375
  if (_prog?.properties?.progParams) {
36381
36376
  for await (const [key, val] of Object.entries(_prog.properties.progParams)) {
36382
- if (!val.data.dir === 'in') continue;
36377
+ if (val.data.dir !== 'in') continue;
36383
36378
  if (typeof args.parameters_obj_inP?.[val.data.parameter] !== 'undefined') {
36384
36379
  if (args.parameters_obj_inP?.[val.data.parameter].fx) {
36385
36380
  let ret = await func.expression.get(SESSION_ID, args.parameters_obj_inP?.[val.data.parameter].fx, dsSession, 'parameters');