@xuda.io/runtime-bundle 1.0.533 → 1.0.535

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.
@@ -9250,7 +9250,6 @@ func.UI.worker.find_job_index = function (SESSION_ID, jobNoP) {
9250
9250
  };
9251
9251
 
9252
9252
  func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0], re_check) {
9253
- return;
9254
9253
  let _session = SESSION_OBJ[SESSION_ID];
9255
9254
 
9256
9255
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
@@ -13195,16 +13194,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
13195
13194
 
13196
13195
  const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
13197
13196
  for await (const [cla, cond] of Object.entries(classes_obj)) {
13198
- let res = (
13199
- await func.expression.get(
13200
- SESSION_ID,
13201
- cond,
13202
- paramsP.dsSessionP,
13203
- 'UI Attr EXP',
13204
- $elm.data().xuData.currentRecordId, // SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
13205
- )
13206
- ).result;
13207
- if (res) {
13197
+ let res = await func.expression.get(
13198
+ SESSION_ID,
13199
+ cond,
13200
+ paramsP.dsSessionP,
13201
+ 'UI Attr EXP',
13202
+ $elm.data().xuData.currentRecordId, // SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
13203
+ );
13204
+
13205
+ if (res.result) {
13208
13206
  $elm.addClass(cla);
13209
13207
  } else {
13210
13208
  $elm.removeClass(cla);
@@ -14290,6 +14288,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
14290
14288
  };
14291
14289
  const hover_out = function () {
14292
14290
  if (is_skeleton) return;
14291
+
14293
14292
  CLIENT_ACTIVITY_TS = Date.now();
14294
14293
  if (_$($container)?.data()?.xuData?.debug_info) {
14295
14294
  _$($container).data().xuData.debug_info.hover_item = null;
@@ -9251,7 +9251,6 @@ func.UI.worker.find_job_index = function (SESSION_ID, jobNoP) {
9251
9251
  };
9252
9252
 
9253
9253
  func.UI.ds_garbage_collector = function (SESSION_ID = Object.keys(SESSION_OBJ)[0], re_check) {
9254
- return;
9255
9254
  let _session = SESSION_OBJ[SESSION_ID];
9256
9255
 
9257
9256
  const _data_system = _session?.DS_GLB?.[0]?.data_system;
@@ -10927,16 +10926,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10927
10926
 
10928
10927
  const classes_obj = _.isString(classes_string) ? JSON.parse(classes_string) : _.defaults(classes_string, {});
10929
10928
  for await (const [cla, cond] of Object.entries(classes_obj)) {
10930
- let res = (
10931
- await func.expression.get(
10932
- SESSION_ID,
10933
- cond,
10934
- paramsP.dsSessionP,
10935
- 'UI Attr EXP',
10936
- $elm.data().xuData.currentRecordId, // SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
10937
- )
10938
- ).result;
10939
- if (res) {
10929
+ let res = await func.expression.get(
10930
+ SESSION_ID,
10931
+ cond,
10932
+ paramsP.dsSessionP,
10933
+ 'UI Attr EXP',
10934
+ $elm.data().xuData.currentRecordId, // SESSION_OBJ[SESSION_ID].DS_GLB[paramsP.dsSessionP].currentRecordId
10935
+ );
10936
+
10937
+ if (res.result) {
10940
10938
  $elm.addClass(cla);
10941
10939
  } else {
10942
10940
  $elm.removeClass(cla);
@@ -12022,6 +12020,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
12022
12020
  };
12023
12021
  const hover_out = function () {
12024
12022
  if (is_skeleton) return;
12023
+
12025
12024
  CLIENT_ACTIVITY_TS = Date.now();
12026
12025
  if (_$($container)?.data()?.xuData?.debug_info) {
12027
12026
  _$($container).data().xuData.debug_info.hover_item = null;