@xuda.io/runtime-bundle 1.0.412 → 1.0.414

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.
@@ -31121,7 +31121,7 @@ func.UI.screen.init = async function (SESSION_ID, prog_id, sourceScreenP, callin
31121
31121
  id: screenId,
31122
31122
  ui_engine: UI_FRAMEWORK_INSTALLED,
31123
31123
  })
31124
- .addClass('xu_embed_div')
31124
+ .addClass('xu_embed_container')
31125
31125
  .data({
31126
31126
  xuData: {
31127
31127
  paramsP: params,
@@ -31635,13 +31635,14 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31635
31635
  return found;
31636
31636
  };
31637
31637
 
31638
- const $xu_embed_div = $('.xu_embed_div');
31639
- let panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
31638
+ const $xu_embed_container = $('.xu_embed_container');
31639
+ const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
31640
+ let inviable_panels_obj = {};
31640
31641
 
31641
31642
  for await (const field_id of fields_arr) {
31642
31643
  // run root
31643
- if ($xu_embed_div.length) {
31644
- const progUi = $xu_embed_div?.data()?.xuData?.screenInfo?.progUi;
31644
+ if ($xu_embed_container.length) {
31645
+ const progUi = $xu_embed_container?.data()?.xuData?.screenInfo?.progUi;
31645
31646
  if (progUi) {
31646
31647
  await iterate_field_in_progUi(progUi, field_id);
31647
31648
  // find invisible panels
@@ -31650,15 +31651,15 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31650
31651
  let prog_id = elm_node?.attributes?.program;
31651
31652
  const exp = elm_node?.attributes?.['xu-exp:program'];
31652
31653
  if (exp) {
31653
- let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_div?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
31654
+ let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_container?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
31654
31655
  prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
31655
- panels_obj[elm_node.id] = { prog_id };
31656
+ inviable_panels_obj[elm_node.id] = { prog_id };
31656
31657
  }
31657
31658
  }
31658
31659
  }
31659
31660
  // run panels
31660
31661
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
31661
- const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id || panel_val.prog_id);
31662
+ const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
31662
31663
 
31663
31664
  await iterate_field_in_progUi(prog_doc.progUi, field_id);
31664
31665
  }