@xuda.io/runtime-bundle 1.0.1083 → 1.0.1085

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.
@@ -12653,16 +12653,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12653
12653
 
12654
12654
  const new_render = async function () {
12655
12655
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
12656
- const has_xu_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
12656
+ const has_xu_render_attribute = true;
12657
+ const has_xu_exp_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
12657
12658
  const init_render = async function () {
12658
12659
  nodeP.xu_render_made = value;
12659
12660
  if (!value) {
12660
- if (has_xu_render_attribute) {
12661
- return { has_xu_render_attribute, xu_render_in_process: true, abort: true };
12661
+ if (has_xu_exp_render_attribute) {
12662
+ return { has_xu_exp_render_attribute, has_xu_render_attribute, xu_render_in_process: true, abort: true };
12662
12663
  }
12663
- return { abort: true };
12664
+ return { has_xu_render_attribute, abort: true };
12664
12665
  }
12665
- return { has_xu_render_attribute };
12666
+ return { has_xu_exp_render_attribute, has_xu_render_attribute };
12666
12667
  };
12667
12668
 
12668
12669
  const post_render = async function () {
@@ -14749,7 +14750,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14749
14750
  // }
14750
14751
  const done = async function (ret = {}) {
14751
14752
  if (glb.new_xu_render) {
14752
- if (ret.has_xu_render_attribute) {
14753
+ if (ret.has_xu_exp_render_attribute) {
14753
14754
  const xu_ui_id = $div.attr('xu-ui-id');
14754
14755
 
14755
14756
  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 || {}));
@@ -14757,7 +14758,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14757
14758
  nodeP.xu_render_xu_ui_id = xu_ui_id;
14758
14759
  nodeP.xu_render_cache_id = xu_render_cache_id;
14759
14760
  if (ret.xu_render_in_process) {
14760
- $([`[xu-ui-id="${xu_ui_id}"]`]).remove;
14761
+ $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
14761
14762
  return $div;
14762
14763
  } //else {
14763
14764
  // $container.append(temp_$container.children());
@@ -14767,6 +14768,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14767
14768
  return $div;
14768
14769
  } else {
14769
14770
  // $container.append(temp_$container.children());
14771
+ if (ret.has_xu_render_attribute) {
14772
+ $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
14773
+ }
14770
14774
  return $div;
14771
14775
  }
14772
14776
  } else {
@@ -10378,16 +10378,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10378
10378
 
10379
10379
  const new_render = async function () {
10380
10380
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
10381
- const has_xu_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
10381
+ const has_xu_render_attribute = true;
10382
+ const has_xu_exp_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
10382
10383
  const init_render = async function () {
10383
10384
  nodeP.xu_render_made = value;
10384
10385
  if (!value) {
10385
- if (has_xu_render_attribute) {
10386
- return { has_xu_render_attribute, xu_render_in_process: true, abort: true };
10386
+ if (has_xu_exp_render_attribute) {
10387
+ return { has_xu_exp_render_attribute, has_xu_render_attribute, xu_render_in_process: true, abort: true };
10387
10388
  }
10388
- return { abort: true };
10389
+ return { has_xu_render_attribute, abort: true };
10389
10390
  }
10390
- return { has_xu_render_attribute };
10391
+ return { has_xu_exp_render_attribute, has_xu_render_attribute };
10391
10392
  };
10392
10393
 
10393
10394
  const post_render = async function () {
@@ -12474,7 +12475,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12474
12475
  // }
12475
12476
  const done = async function (ret = {}) {
12476
12477
  if (glb.new_xu_render) {
12477
- if (ret.has_xu_render_attribute) {
12478
+ if (ret.has_xu_exp_render_attribute) {
12478
12479
  const xu_ui_id = $div.attr('xu-ui-id');
12479
12480
 
12480
12481
  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 || {}));
@@ -12482,7 +12483,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12482
12483
  nodeP.xu_render_xu_ui_id = xu_ui_id;
12483
12484
  nodeP.xu_render_cache_id = xu_render_cache_id;
12484
12485
  if (ret.xu_render_in_process) {
12485
- $([`[xu-ui-id="${xu_ui_id}"]`]).remove;
12486
+ $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
12486
12487
  return $div;
12487
12488
  } //else {
12488
12489
  // $container.append(temp_$container.children());
@@ -12492,6 +12493,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12492
12493
  return $div;
12493
12494
  } else {
12494
12495
  // $container.append(temp_$container.children());
12496
+ if (ret.has_xu_render_attribute) {
12497
+ $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
12498
+ }
12495
12499
  return $div;
12496
12500
  }
12497
12501
  } else {