@xuda.io/runtime-bundle 1.0.684 → 1.0.685

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.
@@ -11846,7 +11846,27 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
11846
11846
  // const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
11847
11847
  validate_change(prog_doc);
11848
11848
  if (found) {
11849
- debugger;
11849
+ const $elm = $('#container_5b1_cmp_3700419d8179_0');
11850
+ const $wrapper = $elm.parent();
11851
+ const wrapper_data = $wrapper.data();
11852
+ const refreshed_ds = _ds.dsSession;
11853
+ $elm.empty();
11854
+ const new_$div = await func.UI.screen.render_ui_tree(
11855
+ SESSION_ID,
11856
+ $wrapper, // the wrapper
11857
+ _.cloneDeep($elm.data().xuData.node), // the xu-panel node
11858
+ {},
11859
+ wrapper_data.xuData.paramsP, // the wrapper params
11860
+ null,
11861
+ null,
11862
+ $elm.data().xuData.key, // the wrapper key
11863
+ refreshed_ds, // the refreshed_ds
11864
+ wrapper_data.xuData.parent_node, // the wrapper parent node
11865
+ null,
11866
+ wrapper_data.xuData.$root_container, // the wrapper root container
11867
+ );
11868
+
11869
+ return;
11850
11870
  }
11851
11871
  }
11852
11872
 
@@ -9568,7 +9568,27 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9568
9568
  // const progDataSource_str = JSON.stringify(prog_doc.progDataSource);
9569
9569
  validate_change(prog_doc);
9570
9570
  if (found) {
9571
- debugger;
9571
+ const $elm = $('#container_5b1_cmp_3700419d8179_0');
9572
+ const $wrapper = $elm.parent();
9573
+ const wrapper_data = $wrapper.data();
9574
+ const refreshed_ds = _ds.dsSession;
9575
+ $elm.empty();
9576
+ const new_$div = await func.UI.screen.render_ui_tree(
9577
+ SESSION_ID,
9578
+ $wrapper, // the wrapper
9579
+ _.cloneDeep($elm.data().xuData.node), // the xu-panel node
9580
+ {},
9581
+ wrapper_data.xuData.paramsP, // the wrapper params
9582
+ null,
9583
+ null,
9584
+ $elm.data().xuData.key, // the wrapper key
9585
+ refreshed_ds, // the refreshed_ds
9586
+ wrapper_data.xuData.parent_node, // the wrapper parent node
9587
+ null,
9588
+ wrapper_data.xuData.$root_container, // the wrapper root container
9589
+ );
9590
+
9591
+ return;
9572
9592
  }
9573
9593
  }
9574
9594