@xuda.io/runtime-bundle 1.0.1105 → 1.0.1106

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.
@@ -34596,10 +34596,14 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34596
34596
 
34597
34597
  if (ret.has_xu_exp_render_attribute) {
34598
34598
  // $div.css('display', 'unset');
34599
- const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
34600
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
34601
- nodeP.xu_render_xu_ui_id = xu_ui_id;
34602
- nodeP.xu_render_cache_id = xu_render_cache_id;
34599
+ if (!ret.xu_render_background_processing) {
34600
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($div.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
34601
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
34602
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
34603
+ nodeP.xu_render_cache_id = xu_render_cache_id;
34604
+ temp_$div.replaceWith($div);
34605
+ return $div;
34606
+ }
34603
34607
  if (ret.xu_render_background_processing) {
34604
34608
  temp_$div.remove();
34605
34609
  // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
@@ -34740,11 +34744,14 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34740
34744
  };
34741
34745
  xu_viewport();
34742
34746
  } else {
34743
- if (ret.xu_render_background_processing) {
34744
- // let temp_$div = $div.clone(true);
34747
+ // if (ret.xu_render_background_processing) {
34748
+ // // let temp_$div = $div.clone(true);
34749
+ // iterate_child($div, nodeP, parent_infoP, $root_container);
34750
+ // } else {
34751
+ // await iterate_child($div, nodeP, parent_infoP, $root_container);
34752
+ // }
34753
+ if (!ret.xu_render_background_processing) {
34745
34754
  iterate_child($div, nodeP, parent_infoP, $root_container);
34746
- } else {
34747
- await iterate_child($div, nodeP, parent_infoP, $root_container);
34748
34755
  }
34749
34756
  }
34750
34757