@xuda.io/runtime-bundle 1.0.425 → 1.0.426

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.
@@ -27819,15 +27819,15 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
27819
27819
  if (elem_key === 'length') break;
27820
27820
  var $div = $(elem_val);
27821
27821
 
27822
- const panelXuAttributes = $div?.xuPanelWrapper?.panelXuAttributes;
27822
+ const panelXuAttributes = $div?.data().xuPanelWrapper?.panelXuAttributes;
27823
27823
  let prog_id = panelXuAttributes?.program;
27824
27824
  const exp = panelXuAttributes?.['xu-exp:program'];
27825
27825
  if (exp) {
27826
27826
  let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_container?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
27827
27827
  prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
27828
27828
  }
27829
- let prog_obj = await func.utils.DOCS_OBJ.get(SESSION_ID, prog_id);
27830
- if (!ignore_disableAutoRefresh && prog_obj.properties.disableAutoRefresh) {
27829
+ let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, prog_id);
27830
+ if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
27831
27831
  continue;
27832
27832
  }
27833
27833
  const xu_ui_id = $div.attr('xu-ui-id');
@@ -27835,6 +27835,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
27835
27835
  panels_obj[xu_ui_id] = {
27836
27836
  prog_id,
27837
27837
  panelXuAttributes,
27838
+ progUi: prog_doc.progUi,
27838
27839
  };
27839
27840
  }
27840
27841
  }
@@ -31691,8 +31692,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31691
31692
  }
31692
31693
  // run panels
31693
31694
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31694
- const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val.prog_id);
31695
- await iterate_field_in_progUi(prog_doc.progUi, field_id);
31695
+ // const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val.prog_id);
31696
+ await iterate_field_in_progUi(panel_val.progUi, field_id);
31696
31697
  }
31697
31698
 
31698
31699
  // // run invisible panels