@xuda.io/runtime-bundle 1.0.1060 → 1.0.1061

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.
@@ -4657,7 +4657,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
4657
4657
 
4658
4658
  for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
4659
4659
  for (const [cache_key, cache_val] of Object.entries(ui_cache_val)) {
4660
- if (cache_val.paramsP.dsSession === dsP) {
4660
+ if (cache_val.paramsP.dsSessionP === dsP) {
4661
4661
  delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key][cache_key];
4662
4662
  }
4663
4663
  }
@@ -14913,6 +14913,18 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
14913
14913
  }
14914
14914
  }
14915
14915
  }
14916
+
14917
+ ////////
14918
+ for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
14919
+ for (const [cache_key, cache_val] of Object.entries(ui_cache_val)) {
14920
+ // const dsP=cache_val.paramsP.dsSessionP
14921
+ let prog_obj = await func.utils.VIEWS_OBJ.get(SESSION_ID, cache_val.paramsP.prog_id);
14922
+ if (prog_obj?.progDataSource?.dataSourceTableId === doc_change.table_id) {
14923
+ // UI_WORKER_OBJ.xu_render_cache[ui_cache_key][cache_key];
14924
+ cache_val.$div = null;
14925
+ }
14926
+ }
14927
+ }
14916
14928
  };
14917
14929
 
14918
14930
  const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {
@@ -4658,7 +4658,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
4658
4658
 
4659
4659
  for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
4660
4660
  for (const [cache_key, cache_val] of Object.entries(ui_cache_val)) {
4661
- if (cache_val.paramsP.dsSession === dsP) {
4661
+ if (cache_val.paramsP.dsSessionP === dsP) {
4662
4662
  delete UI_WORKER_OBJ.xu_render_cache[ui_cache_key][cache_key];
4663
4663
  }
4664
4664
  }
@@ -12638,6 +12638,18 @@ func.UI.screen.refresh_document_changes_for_realtime_update = async function (SE
12638
12638
  }
12639
12639
  }
12640
12640
  }
12641
+
12642
+ ////////
12643
+ for (const [ui_cache_key, ui_cache_val] of Object.entries(UI_WORKER_OBJ.xu_render_cache)) {
12644
+ for (const [cache_key, cache_val] of Object.entries(ui_cache_val)) {
12645
+ // const dsP=cache_val.paramsP.dsSessionP
12646
+ let prog_obj = await func.utils.VIEWS_OBJ.get(SESSION_ID, cache_val.paramsP.prog_id);
12647
+ if (prog_obj?.progDataSource?.dataSourceTableId === doc_change.table_id) {
12648
+ // UI_WORKER_OBJ.xu_render_cache[ui_cache_key][cache_key];
12649
+ cache_val.$div = null;
12650
+ }
12651
+ }
12652
+ }
12641
12653
  };
12642
12654
 
12643
12655
  const get_xu_render_cache_str = async function (SESSION_ID, dsSessionP) {