@xuda.io/runtime-bundle 1.0.412 → 1.0.413

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.
@@ -11604,7 +11604,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11604
11604
  };
11605
11605
 
11606
11606
  const $xu_embed_div = $('.xu_embed_div');
11607
- let panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
11607
+ const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
11608
+ let inviable_panels_obj = {};
11608
11609
 
11609
11610
  for await (const field_id of fields_arr) {
11610
11611
  // run root
@@ -11620,13 +11621,13 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11620
11621
  if (exp) {
11621
11622
  let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_div?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
11622
11623
  prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
11623
- panels_obj[elm_node.id] = { prog_id };
11624
+ inviable_panels_obj[elm_node.id] = { prog_id };
11624
11625
  }
11625
11626
  }
11626
11627
  }
11627
11628
  // run panels
11628
11629
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
11629
- const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id || panel_val.prog_id);
11630
+ const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
11630
11631
 
11631
11632
  await iterate_field_in_progUi(prog_doc.progUi, field_id);
11632
11633
  }
@@ -9677,7 +9677,8 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9677
9677
  };
9678
9678
 
9679
9679
  const $xu_embed_div = $('.xu_embed_div');
9680
- let panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
9680
+ const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, true);
9681
+ let inviable_panels_obj = {};
9681
9682
 
9682
9683
  for await (const field_id of fields_arr) {
9683
9684
  // run root
@@ -9693,13 +9694,13 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9693
9694
  if (exp) {
9694
9695
  let exp_ret = await func.expression.get(SESSION_ID, exp, $xu_embed_div?.data()?.xuData?.paramsP?.dsSessionP, 'UI Attr EXP');
9695
9696
  prog_id = func.UI.screen.fix_val_defaults('program', exp_ret.result);
9696
- panels_obj[elm_node.id] = { prog_id };
9697
+ inviable_panels_obj[elm_node.id] = { prog_id };
9697
9698
  }
9698
9699
  }
9699
9700
  }
9700
9701
  // run panels
9701
9702
  for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
9702
- const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id || panel_val.prog_id);
9703
+ const prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, panel_val._ds.prog_id);
9703
9704
 
9704
9705
  await iterate_field_in_progUi(prog_doc.progUi, field_id);
9705
9706
  }