@xuda.io/runtime-bundle 1.0.1050 → 1.0.1052

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.
@@ -12666,9 +12666,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12666
12666
  // $elm.remove();
12667
12667
  // nodeP.xu_render_made = true;
12668
12668
 
12669
- return { xu_render_in_process: true };
12669
+ return { has_xu_render_attribute: true, xu_render_in_process: true };
12670
12670
  }
12671
- return {};
12671
+ return { has_xu_render_attribute: true };
12672
12672
  };
12673
12673
 
12674
12674
  const post_render = async function () {
@@ -14819,7 +14819,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14819
14819
  }
14820
14820
  const done = async function (ret = {}) {
14821
14821
  if (glb.new_xu_render) {
14822
- if (ret.xu_render_in_process) {
14822
+ if (ret.has_xu_render_attribute) {
14823
14823
  const xu_ui_id = $div.attr('xu-ui-id');
14824
14824
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
14825
14825
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
@@ -14828,7 +14828,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14828
14828
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
14829
14829
  nodeP.xu_render_xu_ui_id = xu_ui_id;
14830
14830
  nodeP.xu_render_cache_id = xu_render_cache_id;
14831
- return $div;
14831
+ if (ret.xu_render_in_process) {
14832
+ return $div;
14833
+ } else {
14834
+ $container.append(temp_$container.children());
14835
+ return $div;
14836
+ }
14832
14837
  } else {
14833
14838
  $container.append(temp_$container.children());
14834
14839
  return $div;
@@ -10391,9 +10391,9 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10391
10391
  // $elm.remove();
10392
10392
  // nodeP.xu_render_made = true;
10393
10393
 
10394
- return { xu_render_in_process: true };
10394
+ return { has_xu_render_attribute: true, xu_render_in_process: true };
10395
10395
  }
10396
- return {};
10396
+ return { has_xu_render_attribute: true };
10397
10397
  };
10398
10398
 
10399
10399
  const post_render = async function () {
@@ -12544,7 +12544,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12544
12544
  }
12545
12545
  const done = async function (ret = {}) {
12546
12546
  if (glb.new_xu_render) {
12547
- if (ret.xu_render_in_process) {
12547
+ if (ret.has_xu_render_attribute) {
12548
12548
  const xu_ui_id = $div.attr('xu-ui-id');
12549
12549
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12550
12550
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
@@ -12553,7 +12553,12 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12553
12553
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
12554
12554
  nodeP.xu_render_xu_ui_id = xu_ui_id;
12555
12555
  nodeP.xu_render_cache_id = xu_render_cache_id;
12556
- return $div;
12556
+ if (ret.xu_render_in_process) {
12557
+ return $div;
12558
+ } else {
12559
+ $container.append(temp_$container.children());
12560
+ return $div;
12561
+ }
12557
12562
  } else {
12558
12563
  $container.append(temp_$container.children());
12559
12564
  return $div;