@xuda.io/runtime-bundle 1.0.1032 → 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,8 +11772,8 @@ 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
- ui_type: _elem_val.$elm.data().xuData.ui_type,
11777
11777
  SESSION_ID,
11778
11778
  elem_key: _elem_key,
11779
11779
  elem_val: _elem_val,
@@ -12653,6 +12653,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12653
12653
 
12654
12654
  // $elm.remove();
12655
12655
  // nodeP.xu_render_made = true;
12656
+
12656
12657
  return { xu_render_in_process: true };
12657
12658
  }
12658
12659
  return {};
@@ -14805,8 +14806,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14805
14806
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
14806
14807
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
14807
14808
  }
14808
- const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
14809
- 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;
14810
14813
  return $div;
14811
14814
  } else {
14812
14815
  $container.append(temp_$container.children());
@@ -9497,8 +9497,8 @@ 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
- ui_type: _elem_val.$elm.data().xuData.ui_type,
9502
9502
  SESSION_ID,
9503
9503
  elem_key: _elem_key,
9504
9504
  elem_val: _elem_val,
@@ -10378,6 +10378,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10378
10378
 
10379
10379
  // $elm.remove();
10380
10380
  // nodeP.xu_render_made = true;
10381
+
10381
10382
  return { xu_render_in_process: true };
10382
10383
  }
10383
10384
  return {};
@@ -12530,8 +12531,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12530
12531
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12531
12532
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
12532
12533
  }
12533
- const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
12534
- 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;
12535
12538
  return $div;
12536
12539
  } else {
12537
12540
  $container.append(temp_$container.children());