@xuda.io/runtime-bundle 1.0.1098 → 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.
@@ -34557,25 +34557,27 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34557
34557
  const draw_html_element = async function (element) {
34558
34558
  const done = async function (ret = {}) {
34559
34559
  const xu_ui_id = $div.attr('xu-ui-id');
34560
- $div.css('display', 'unset');
34560
+
34561
34561
  if (ret.has_xu_exp_render_attribute) {
34562
34562
  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 || {}));
34563
34563
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + xu_render_cache_id] = { $div: $div.clone(true), paramsP };
34564
34564
  nodeP.xu_render_xu_ui_id = xu_ui_id;
34565
34565
  nodeP.xu_render_cache_id = xu_render_cache_id;
34566
34566
  if (ret.xu_render_background_processing) {
34567
- temp_$container.remove();
34567
+ temp_$div.remove();
34568
34568
  // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
34569
34569
  return $div;
34570
34570
  } else {
34571
+ $div.css('display', 'unset');
34571
34572
  temp_$div.replaceWith($div);
34572
34573
  return $div;
34573
34574
  }
34574
34575
  } else {
34575
- // $container.append(temp_$container.children());
34576
34576
  if (ret.has_xu_render_attribute) {
34577
- // $container.find(`[xu-ui-id="${xu_ui_id}"]`).remove();
34577
+ temp_$div.remove();
34578
+ return $div;
34578
34579
  }
34580
+ $div.css('display', 'unset');
34579
34581
  temp_$div.replaceWith($div);
34580
34582
  return $div;
34581
34583
  }