@xuda.io/runtime-bundle 1.0.1099 → 1.0.1100

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.
@@ -14873,7 +14873,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14873
14873
  const draw_html_element = async function (element) {
14874
14874
  const done = async function (ret = {}) {
14875
14875
  const xu_ui_id = $div.attr('xu-ui-id');
14876
- $div.css('display', 'unset');
14876
+
14877
14877
  if (ret.has_xu_exp_render_attribute) {
14878
14878
  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 || {}));
14879
14879
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
@@ -14884,14 +14884,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14884
14884
  // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
14885
14885
  return $div;
14886
14886
  } else {
14887
+ $div.css('display', 'unset');
14887
14888
  temp_$div.replaceWith($div);
14888
14889
  return $div;
14889
14890
  }
14890
14891
  } else {
14891
- // $container.append(temp_$container.children());
14892
14892
  if (ret.has_xu_render_attribute) {
14893
- // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
14893
+ temp_$div.remove();
14894
+ return $div;
14894
14895
  }
14896
+ $div.css('display', 'unset');
14895
14897
  temp_$div.replaceWith($div);
14896
14898
  return $div;
14897
14899
  }
@@ -12598,7 +12598,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12598
12598
  const draw_html_element = async function (element) {
12599
12599
  const done = async function (ret = {}) {
12600
12600
  const xu_ui_id = $div.attr('xu-ui-id');
12601
- $div.css('display', 'unset');
12601
+
12602
12602
  if (ret.has_xu_exp_render_attribute) {
12603
12603
  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 || {}));
12604
12604
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
@@ -12609,14 +12609,16 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12609
12609
  // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
12610
12610
  return $div;
12611
12611
  } else {
12612
+ $div.css('display', 'unset');
12612
12613
  temp_$div.replaceWith($div);
12613
12614
  return $div;
12614
12615
  }
12615
12616
  } else {
12616
- // $container.append(temp_$container.children());
12617
12617
  if (ret.has_xu_render_attribute) {
12618
- // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
12618
+ temp_$div.remove();
12619
+ return $div;
12619
12620
  }
12621
+ $div.css('display', 'unset');
12620
12622
  temp_$div.replaceWith($div);
12621
12623
  return $div;
12622
12624
  }