@xuda.io/runtime-bundle 1.0.373 → 1.0.375

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.
@@ -9022,6 +9022,11 @@ func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0
9022
9022
  }
9023
9023
  };
9024
9024
  func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0]) {
9025
+ if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
9026
+ // let dom to finish build
9027
+ return;
9028
+ }
9029
+
9025
9030
  let _session = SESSION_OBJ[SESSION_ID];
9026
9031
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
9027
9032
 
@@ -10569,8 +10574,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
10569
10574
  fields[val.fieldId] = var_Arr[key].value;
10570
10575
 
10571
10576
  const ret = await func.datasource.get_value(SESSION_ID, val.fieldId, dsSessionP, rowIdP); // find field in dataSources
10572
- console.log(valP, val.fieldId, ret);
10573
- debugger;
10577
+
10574
10578
  await replace_value_in_string(ret.ret, ret.fieldIdP);
10575
10579
  }
10576
10580
  }
@@ -11933,8 +11937,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11933
11937
  const props = _ds.in_parameters || {};
11934
11938
  const attributes = $elm?.data()?.xuData?.properties || {};
11935
11939
 
11936
- // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
11937
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
11940
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
11941
+ // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
11938
11942
 
11939
11943
  return {};
11940
11944
  },
@@ -9023,6 +9023,11 @@ func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0
9023
9023
  }
9024
9024
  };
9025
9025
  func.UI.refs_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0]) {
9026
+ if (!_.isEmpty(SCREEN_BLOCKER_OBJ)) {
9027
+ // let dom to finish build
9028
+ return;
9029
+ }
9030
+
9026
9031
  let _session = SESSION_OBJ[SESSION_ID];
9027
9032
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
9028
9033
 
@@ -10003,8 +10008,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10003
10008
  const props = _ds.in_parameters || {};
10004
10009
  const attributes = $elm?.data()?.xuData?.properties || {};
10005
10010
 
10006
- // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
10007
- _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
10011
+ _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, ds: _ds, data, attributes, props };
10012
+ // _ds_0.data_system['SYS_GLOBAL_OBJ_REFS'][val.value] = { $el: $elm, data, attributes, props };
10008
10013
 
10009
10014
  return {};
10010
10015
  },
@@ -14276,8 +14281,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
14276
14281
  fields[val.fieldId] = var_Arr[key].value;
14277
14282
 
14278
14283
  const ret = await func.datasource.get_value(SESSION_ID, val.fieldId, dsSessionP, rowIdP); // find field in dataSources
14279
- console.log(valP, val.fieldId, ret);
14280
- debugger;
14284
+
14281
14285
  await replace_value_in_string(ret.ret, ret.fieldIdP);
14282
14286
  }
14283
14287
  }