@xuda.io/runtime-bundle 1.0.1033 → 1.0.1035

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.
@@ -31259,7 +31259,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31259
31259
  }
31260
31260
  });
31261
31261
 
31262
- const selector_id = $(this).data()?.xuData?.xu_id;
31262
+ const selector_id = glb.new_xu_render ? $(this).data()?.xuData?.ui_id : $(this).data()?.xuData?.xu_id;
31263
31263
 
31264
31264
  if (attr.length) {
31265
31265
  selectors[selector_id] = selectors[selector_id];
@@ -31456,7 +31456,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31456
31456
  if ($(val).data().xuData.node) {
31457
31457
  $.each($(val).data().xuData.node.children, function (key, node) {
31458
31458
  if (typeof node.xu_render_made !== 'undefined' && !node.xu_render_made) {
31459
+ const node_data = UI_WORKER_OBJ.xu_render_cache[node.xu_render_xu_ui_id][node.xu_render_cache_id];
31460
+ const _elem_key = node.xu_render_xu_ui_id;
31461
+ const _elem_val = { attributes: [attr], $elm: node_data.$div };
31459
31462
  const obj = {
31463
+ ui_type: _elem_val.$elm.data().xuData.ui_type,
31460
31464
  SESSION_ID,
31461
31465
  elem_key: _elem_key,
31462
31466
  elem_val: _elem_val,
@@ -32336,6 +32340,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32336
32340
 
32337
32341
  // $elm.remove();
32338
32342
  // nodeP.xu_render_made = true;
32343
+
32339
32344
  return { xu_render_in_process: true };
32340
32345
  }
32341
32346
  return {};
@@ -34488,8 +34493,10 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
34488
34493
  if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
34489
34494
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
34490
34495
  }
34491
- const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
34492
- UI_WORKER_OBJ.xu_render_cache[xu_ui_id][cache_str] = { $div: $div.clone(true) };
34496
+ const xu_render_cache_id = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP);
34497
+ UI_WORKER_OBJ.xu_render_cache[xu_ui_id][xu_render_cache_id] = { $div: $div.clone(true) };
34498
+ nodeP.xu_render_xu_ui_id = xu_ui_id;
34499
+ nodeP.xu_render_cache_id = xu_render_cache_id;
34493
34500
  return $div;
34494
34501
  } else {
34495
34502
  $container.append(temp_$container.children());