@xuda.io/runtime-bundle 1.0.431 → 1.0.433

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.
@@ -27811,7 +27811,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
27811
27811
  };
27812
27812
 
27813
27813
  func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
27814
- const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
27814
+ const $elm = await func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
27815
27815
  var panels_obj = {};
27816
27816
 
27817
27817
  // set panels_obj
@@ -31744,7 +31744,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31744
31744
  };
31745
31745
 
31746
31746
  func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
31747
- const panels_obj = func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
31747
+ const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
31748
31748
 
31749
31749
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31750
31750
  const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
@@ -31781,7 +31781,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31781
31781
  if (found) break;
31782
31782
 
31783
31783
  // found = find_field_in_progUi(prog_doc.progUi, parameter_in_field_id, 'xu-for');
31784
- found = func.UI.find_field_in_progUi_attributes(prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
31784
+ found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, parameter_in_field_id, 'xu-for').length;
31785
31785
  if (found) break;
31786
31786
  }
31787
31787
  }
@@ -31791,6 +31791,9 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31791
31791
  // search field changed in the target program's progDataSource // @code
31792
31792
  found = progDataSource_str?.includes('@' + field_id);
31793
31793
  if (found) break;
31794
+
31795
+ found = func.UI.find_field_in_progUi_attributes(panel_val.prog_doc.progUi, field_id, 'xu-for').length;
31796
+ if (found) break;
31794
31797
  }
31795
31798
  }
31796
31799