@xuda.io/runtime-bundle 1.0.1118 → 1.0.1120

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.
@@ -24638,7 +24638,7 @@ func.common.sha256 = async function (str) {
24638
24638
  return [...bytes].map((b) => b.toString(16).padStart(2, '0')).join('');
24639
24639
  };
24640
24640
 
24641
- glb.new_xu_render = true;
24641
+ glb.new_xu_render = false;
24642
24642
  glb.DEBUG_INFO_OBJ = {};
24643
24643
  // var CONNECTION_ATTEMPTS = 0;
24644
24644
  glb.APP_INFO = {};
@@ -29886,13 +29886,11 @@ func.datasource.del = function (SESSION_ID, dsP) {
29886
29886
 
29887
29887
  delete_pending_jobs();
29888
29888
 
29889
- for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
29890
- // for (const [cache_key, cache_val] of Object.entries(ui_cache_val)) {
29891
- if (ui_cache_val.paramsP.dsSessionP === dsP) {
29892
- delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
29893
- }
29894
- // }
29895
- }
29889
+ // for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
29890
+ // if (ui_cache_val.paramsP.dsSessionP === dsP) {
29891
+ // delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key];
29892
+ // }
29893
+ // }
29896
29894
  }
29897
29895
  if ($(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav').length) {
29898
29896
  var ds_obj = $(SESSION_OBJ[SESSION_ID].root_element).find('xu-nav')?.data()?.xuData.nav_params;
@@ -32455,9 +32453,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32455
32453
  /////////// !value ///////////
32456
32454
 
32457
32455
  const xu_ui_id = $elm.attr('xu-ui-id');
32458
- // if (!UI_WORKER_OBJ.xu_render_cache[xu_ui_id]) {
32459
- // UI_WORKER_OBJ.xu_render_cache[xu_ui_id] = {};
32460
- // }
32456
+
32461
32457
  const cache_str = await get_xu_render_cache_str(SESSION_ID, paramsP.dsSessionP, Object.keys($elm.data()?.xuData?.attr_exp_info?.['xu-render']?.fields || {}));
32462
32458
  const _$div = $elm.clone(true);
32463
32459
  UI_WORKER_OBJ.xu_render_cache[xu_ui_id + cache_str] = { $div: _$div, data: _$div.data(), paramsP };