@xuda.io/runtime-bundle 1.0.1121 → 1.0.1122

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.
@@ -13246,12 +13246,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13246
13246
 
13247
13247
  const get_xuExp = async function (attrib) {
13248
13248
  if (is_skeleton) return;
13249
-
13250
- let _xuData = $elm.data().xuData;
13251
- if (!_xuData.attr_exp_info) {
13252
- _xuData.attr_exp_info = {};
13249
+ if (glb.new_xu_render) {
13250
+ let _xuData = $elm.data().xuData;
13251
+ if (!_xuData.attr_exp_info) {
13252
+ _xuData.attr_exp_info = {};
13253
+ }
13253
13254
  }
13254
-
13255
13255
  const attr = `xu-exp:${attrib}`;
13256
13256
 
13257
13257
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -13260,7 +13260,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13260
13260
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
13261
13261
 
13262
13262
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
13263
- _xuData.attr_exp_info[attrib] = res;
13263
+ if (glb.new_xu_render) {
13264
+ _xuData.attr_exp_info[attrib] = res;
13265
+ }
13264
13266
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
13265
13267
  done_exp.push(attr);
13266
13268
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
@@ -10971,12 +10971,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10971
10971
 
10972
10972
  const get_xuExp = async function (attrib) {
10973
10973
  if (is_skeleton) return;
10974
-
10975
- let _xuData = $elm.data().xuData;
10976
- if (!_xuData.attr_exp_info) {
10977
- _xuData.attr_exp_info = {};
10974
+ if (glb.new_xu_render) {
10975
+ let _xuData = $elm.data().xuData;
10976
+ if (!_xuData.attr_exp_info) {
10977
+ _xuData.attr_exp_info = {};
10978
+ }
10978
10979
  }
10979
-
10980
10980
  const attr = `xu-exp:${attrib}`;
10981
10981
 
10982
10982
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -10985,7 +10985,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10985
10985
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
10986
10986
 
10987
10987
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
10988
- _xuData.attr_exp_info[attrib] = res;
10988
+ if (glb.new_xu_render) {
10989
+ _xuData.attr_exp_info[attrib] = res;
10990
+ }
10989
10991
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
10990
10992
  done_exp.push(attr);
10991
10993
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);