@xuda.io/runtime-bundle 1.0.1055 → 1.0.1057

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.
@@ -12658,14 +12658,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12658
12658
  let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id]?.[xu_render_cache_id]?.$div.clone(true);
12659
12659
 
12660
12660
  if (!new_$div) {
12661
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: new_$div.clone(true) };
12661
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = {};
12662
12662
  nodeP.xu_render_xu_ui_id = xu_ui_id;
12663
12663
  nodeP.xu_render_cache_id = xu_render_cache_id;
12664
12664
  new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, null, keyP, null, parent_nodeP, null, $root_container);
12665
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id].$div = new_$div.clone(true);
12665
12666
  }
12666
12667
  // append order handling
12667
12668
 
12668
- if (!$container.children()) {
12669
+ if (!$container.children().length) {
12669
12670
  new_$div.appendTo($container);
12670
12671
  } else {
12671
12672
  // iterate the container node
@@ -10383,14 +10383,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10383
10383
  let new_$div = UI_WORKER_OBJ?.xu_render_cache?.[xu_ui_id]?.[xu_render_cache_id]?.$div.clone(true);
10384
10384
 
10385
10385
  if (!new_$div) {
10386
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: new_$div.clone(true) };
10386
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = {};
10387
10387
  nodeP.xu_render_xu_ui_id = xu_ui_id;
10388
10388
  nodeP.xu_render_cache_id = xu_render_cache_id;
10389
10389
  new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $container, nodeP, parent_infoP, paramsP, jobNoP, null, keyP, null, parent_nodeP, null, $root_container);
10390
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id].$div = new_$div.clone(true);
10390
10391
  }
10391
10392
  // append order handling
10392
10393
 
10393
- if (!$container.children()) {
10394
+ if (!$container.children().length) {
10394
10395
  new_$div.appendTo($container);
10395
10396
  } else {
10396
10397
  // iterate the container node