@xuda.io/runtime-bundle 1.0.446 → 1.0.448

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.
@@ -11721,7 +11721,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11721
11721
  func.events.delete_job(SESSION_ID, jobNoP);
11722
11722
  };
11723
11723
 
11724
- func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
11724
+ func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
11725
11725
  const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
11726
11726
 
11727
11727
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
@@ -11781,7 +11781,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
11781
11781
  }
11782
11782
  }
11783
11783
  if (found) {
11784
- const $div_elm = panel_val.$panel_div;
11784
+ const $div_elm = panel_val.$panel_div.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
11785
11785
  // var $div_elm = panel_val.$div
11786
11786
  // .parent()
11787
11787
  // .parent()
@@ -11805,7 +11805,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
11805
11805
  }
11806
11806
  };
11807
11807
 
11808
- func.UI.screen.refresh_screen_old = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
11808
+ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
11809
11809
  // const $elm = func.UI.utils.find_in_element_data('xuPanelData', $(SESSION_OBJ[SESSION_ID].root_element), 'parent_element_ui_id');
11810
11810
 
11811
11811
  const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
@@ -9794,7 +9794,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9794
9794
  func.events.delete_job(SESSION_ID, jobNoP);
9795
9795
  };
9796
9796
 
9797
- func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
9797
+ func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
9798
9798
  const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
9799
9799
 
9800
9800
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
@@ -9854,7 +9854,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9854
9854
  }
9855
9855
  }
9856
9856
  if (found) {
9857
- const $div_elm = panel_val.$panel_div;
9857
+ const $div_elm = panel_val.$panel_div.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
9858
9858
  // var $div_elm = panel_val.$div
9859
9859
  // .parent()
9860
9860
  // .parent()
@@ -9878,7 +9878,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
9878
9878
  }
9879
9879
  };
9880
9880
 
9881
- func.UI.screen.refresh_screen_old = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
9881
+ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
9882
9882
  // const $elm = func.UI.utils.find_in_element_data('xuPanelData', $(SESSION_OBJ[SESSION_ID].root_element), 'parent_element_ui_id');
9883
9883
 
9884
9884
  const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);