@xuda.io/runtime-bundle 1.0.1292 → 1.0.1294

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.
@@ -28678,9 +28678,9 @@ func.datasource.prepare = async function (SESSION_ID, prog_id, dataSourceNoP, pa
28678
28678
  console.log('DATASOURCE_REFRESH', dataSourceNoP);
28679
28679
  IS_DATASOURCE_REFRESH = true;
28680
28680
  _ds.refreshed = true;
28681
+ debugger;
28681
28682
  if (_ds.watcher) {
28682
28683
  _.set(_ds, watcher.path, watcher.newValue);
28683
- debugger;
28684
28684
  }
28685
28685
  try {
28686
28686
  if (!_ds.v) _ds.v = {};
@@ -32041,14 +32041,16 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32041
32041
  var _session = SESSION_OBJ[SESSION_ID];
32042
32042
  var _ds = _session.DS_GLB[paramsP.dsSessionP];
32043
32043
  var _refreshed_ds = _session.DS_GLB[refreshed_ds];
32044
- let create_new_ds = true;
32045
- if (refreshed_ds && _refreshed_ds?.prog_id === prog_id) {
32046
- create_new_ds = false;
32047
- }
32048
32044
 
32049
32045
  const init_program = async function () {
32050
32046
  async function render_panel() {
32051
32047
  const prog_id = val.value?.prog || val.value;
32048
+
32049
+ let create_new_ds = true;
32050
+ if (refreshed_ds && _refreshed_ds?.prog_id === prog_id) {
32051
+ create_new_ds = false;
32052
+ }
32053
+
32052
32054
  const params_obj = await get_params_obj_new(SESSION_ID, prog_id, nodeP, paramsP.dsSessionP);
32053
32055
  //prog_id !== _ds.prog_id ? null : refreshed_ds
32054
32056
  let ret_panel = await func.UI.screen.init(SESSION_ID, prog_id, paramsP.screenId, _ds, $elm, null, _ds.currentRecordId, null, true, params_obj.params_res, 'initXu_panel', undefined, create_new_ds ? null : refreshed_ds, params_obj.params_raw);