@xuda.io/runtime-bundle 1.0.442 → 1.0.444

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.
@@ -27820,6 +27820,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
27820
27820
  var $panel_div = $(elem_val);
27821
27821
 
27822
27822
  const panelXuAttributes = $panel_div?.data().xuPanelWrapper?.panelXuAttributes;
27823
+ const panelDivData = $panel_div?.data().xuPanelWrapper?.panelDivData;
27823
27824
 
27824
27825
  if (!panelXuAttributes) continue; // skip if no longer in dom
27825
27826
 
@@ -27834,7 +27835,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
27834
27835
 
27835
27836
  if (!panels_obj[xu_ui_id]) {
27836
27837
  var _session = SESSION_OBJ[SESSION_ID];
27837
- let _ds = _session?.DS_GLB[$panel_div.data().xuData.paramsP.dsSessionP];
27838
+ let _ds = _session?.DS_GLB[panelDivData.xuData.paramsP.dsSessionP];
27838
27839
 
27839
27840
  let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
27840
27841
  if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
@@ -31822,7 +31823,20 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31822
31823
  try {
31823
31824
  // const $org_panel = panel_val.$div.data().xuPanelData.$panel_div;
31824
31825
 
31825
- const new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $div_elm, _.cloneDeep($div_elm.data().xuData.node), {}, $div_elm.data().xuData.paramsP, null, null, $div_elm.data().xuData.key, null, $div_elm.data().xuData.parent_node, null, $div_elm.data().xuData.$root_container);
31826
+ const new_$div = await func.UI.screen.render_ui_tree(
31827
+ SESSION_ID,
31828
+ $div_elm,
31829
+ _.cloneDeep($div_elm.data().xuPanelWrapper.panelDivData.xuData.node),
31830
+ {},
31831
+ $div_elm.data().xuData.paramsP,
31832
+ null,
31833
+ null,
31834
+ $div_elm.data().xuData.key,
31835
+ null,
31836
+ $div_elm.data().xuData.parent_node,
31837
+ null,
31838
+ $div_elm.data().xuData.$root_container,
31839
+ );
31826
31840
 
31827
31841
  // remove old panel content
31828
31842
  $.each(panel_val.ids, async function (key, val) {
@@ -33138,7 +33152,7 @@ func.UI.screen.panel_post_render_handler = async function (
33138
33152
  };
33139
33153
  var $old_panel_div = find_old_panels_elements();
33140
33154
  const set_xuPanelData_to_the_new_rendered_items = () => {
33141
- $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), $panel_div_data: _.clone($wrapper.data()) };
33155
+ $container.data().xuPanelWrapper = { isWrapper: true, panelXuAttributes: _.clone($wrapper.data().xuAttributes), panelDivData: _.clone($wrapper.data()) };
33142
33156
  $.each($wrapper.children(), function (key, val) {
33143
33157
  if (!$(val).data().xuPanelData) {
33144
33158
  $(val).data().xuPanelData = {};