@xuda.io/runtime-bundle 1.0.1033 → 1.0.1034

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.
@@ -11772,6 +11772,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11772
11772
  if ($(val).data().xuData.node) {
11773
11773
  $.each($(val).data().xuData.node.children, function (key, node) {
11774
11774
  if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
11775
+ const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
11775
11776
  const obj = {
11776
11777
  SESSION_ID,
11777
11778
  elem_key: _elem_key,
@@ -12652,6 +12653,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12652
12653
 
12653
12654
  // $elm.remove();
12654
12655
  // nodeP.xu_render_made = true;
12656
+
12655
12657
  return { xu_render_in_process: true };
12656
12658
  }
12657
12659
  return {};
@@ -14804,8 +14806,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14804
14806
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
14805
14807
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
14806
14808
  }
14807
- const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
14808
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = { $div: $div.clone(true) };
14809
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
14810
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
14811
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
14812
+ nodeP.xu_render_cache_id = xu_render_cache_id;
14809
14813
  return $div;
14810
14814
  } else {
14811
14815
  $container.append(temp_$container.children());
@@ -9497,6 +9497,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9497
9497
  if ($(val).data().xuData.node) {
9498
9498
  $.each($(val).data().xuData.node.children, function (key, node) {
9499
9499
  if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
9500
+ const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
9500
9501
  const obj = {
9501
9502
  SESSION_ID,
9502
9503
  elem_key: _elem_key,
@@ -10377,6 +10378,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10377
10378
 
10378
10379
  // $elm.remove();
10379
10380
  // nodeP.xu_render_made = true;
10381
+
10380
10382
  return { xu_render_in_process: true };
10381
10383
  }
10382
10384
  return {};
@@ -12529,8 +12531,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12529
12531
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12530
12532
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
12531
12533
  }
12532
- const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
12533
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = { $div: $div.clone(true) };
12534
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
12535
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
12536
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
12537
+ nodeP.xu_render_cache_id = xu_render_cache_id;
12534
12538
  return $div;
12535
12539
  } else {
12536
12540
  $container.append(temp_$container.children());