@xuda.io/runtime-bundle 1.0.1119 → 1.0.1121

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.
@@ -2678,7 +2678,7 @@ func.common.sha256 = async function (str) {
2678
2678
  return [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
2679
2679
  };
2680
2680
 
2681
- glb.new_xu_render = true;
2681
+ glb.new_xu_render = false;
2682
2682
  glb.DEBUG_INFO_OBJ = {};
2683
2683
  // var CONNECTION_ATTEMPTS = 0;
2684
2684
  glb.APP_INFO = {};
@@ -12769,9 +12769,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12769
12769
  /////////// !value ///////////
12770
12770
 
12771
12771
  const xu_ui_id = $elm.attr('xu-ui-id');
12772
- // if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
12773
- // UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
12774
- // }
12772
+
12775
12773
  const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
12776
12774
  const _$div = $elm.clone(true);
12777
12775
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };
@@ -13957,10 +13955,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
13957
13955
  // debugger;
13958
13956
  }
13959
13957
 
13960
- ///////////
13961
- if (glb.new_xu_render) {
13962
- }
13963
-
13964
13958
  ///////////
13965
13959
  var is_mobile = glb.MOBILE_ARR.includes(paramsP.screenInfo.properties?.menuType) ? true : false;
13966
13960
 
@@ -14807,7 +14801,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14807
14801
  });
14808
14802
  }
14809
14803
 
14810
- let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
14804
+ // let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
14805
+ let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
14811
14806
  if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
14812
14807
  return await done(ret);
14813
14808
  }
@@ -2679,7 +2679,7 @@ func.common.sha256 = async function (str) {
2679
2679
  return [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
2680
2680
  };
2681
2681
 
2682
- glb.new_xu_render = true;
2682
+ glb.new_xu_render = false;
2683
2683
  glb.DEBUG_INFO_OBJ = {};
2684
2684
  // var CONNECTION_ATTEMPTS = 0;
2685
2685
  glb.APP_INFO = {};
@@ -10494,9 +10494,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10494
10494
  /////////// !value ///////////
10495
10495
 
10496
10496
  const xu_ui_id = $elm.attr('xu-ui-id');
10497
- // if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
10498
- // UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
10499
- // }
10497
+
10500
10498
  const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
10501
10499
  const _$div = $elm.clone(true);
10502
10500
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };
@@ -11682,10 +11680,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
11682
11680
  // debugger;
11683
11681
  }
11684
11682
 
11685
- ///////////
11686
- if (glb.new_xu_render) {
11687
- }
11688
-
11689
11683
  ///////////
11690
11684
  var is_mobile = glb.MOBILE_ARR.includes(paramsP.screenInfo.properties?.menuType) ? true : false;
11691
11685
 
@@ -12532,7 +12526,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12532
12526
  });
12533
12527
  }
12534
12528
 
12535
- let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
12529
+ // let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
12530
+ let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
12536
12531
  if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
12537
12532
  return await done(ret);
12538
12533
  }