@xuda.io/runtime-bundle 1.0.1084 → 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.
@@ -32337,16 +32337,17 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32337
32337
 
32338
32338
  const new_render = async function () {
32339
32339
  var value = await func.common.get_cast_val(SESSION_ID, 'common fx', 'xu-render', 'bool', val.value);
32340
- const has_xu_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
32340
+ const has_xu_render_attribute = true;
32341
+ const has_xu_exp_render_attribute = $elm.data()?.xuData?.attr_exp_info?.['xu-render'] ? true : false;
32341
32342
  const init_render = async function () {
32342
32343
  nodeP.xu_render_made = value;
32343
32344
  if (!value) {
32344
- if (has_xu_render_attribute) {
32345
- return { has_xu_render_attribute, xu_render_in_process: true, abort: true };
32345
+ if (has_xu_exp_render_attribute) {
32346
+ return { has_xu_exp_render_attribute, has_xu_render_attribute, xu_render_in_process: true, abort: true };
32346
32347
  }
32347
- return { abort: true };
32348
+ return { has_xu_render_attribute, abort: true };
32348
32349
  }
32349
- return { has_xu_render_attribute };
32350
+ return { has_xu_exp_render_attribute, has_xu_render_attribute };
32350
32351
  };
32351
32352
 
32352
32353
  const post_render = async function () {
@@ -34433,7 +34434,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34433
34434
  // }
34434
34435
  const done = async function (ret = {}) {
34435
34436
  if (glb.new_xu_render) {
34436
- if (ret.has_xu_render_attribute) {
34437
+ if (ret.has_xu_exp_render_attribute) {
34437
34438
  const xu_ui_id = $div.attr('xu-ui-id');
34438
34439
 
34439
34440
  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 || {}));
@@ -34451,6 +34452,9 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34451
34452
  return $div;
34452
34453
  } else {
34453
34454
  // $container.append(temp_$container.children());
34455
+ if (ret.has_xu_render_attribute) {
34456
+ $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove;
34457
+ }
34454
34458
  return $div;
34455
34459
  }
34456
34460
  } else {