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