@xuda.io/runtime-bundle 1.0.647 → 1.0.649

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.
@@ -32868,14 +32868,16 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32868
32868
  const get_xuExp = async function (attrib) {
32869
32869
  if (is_skeleton) return;
32870
32870
  const attr = `xu-exp:${attrib}`;
32871
+
32872
+ if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
32871
32873
  // const attr = `xu-exp-${attrib}`;
32872
- var value = nodeP.attributes[attr];
32873
- if (!value) return func.UI.screen.fix_val_defaults(attrib, value || nodeP.attributes[attrib]);
32874
+ var exp = nodeP.attributes[attr];
32875
+ // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
32874
32876
 
32875
- var res = await func.expression.get(SESSION_ID, value, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32877
+ var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
32876
32878
  nodeP.attributes[attr] = value; //{ value: value, res: res };
32877
32879
  done_exp.push(attr);
32878
- return func.UI.screen.fix_val_defaults(attrib, res.result);
32880
+ return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
32879
32881
  };
32880
32882
 
32881
32883
  var _ret = {};
@@ -32955,6 +32957,10 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32955
32957
  // continue;
32956
32958
  // }
32957
32959
 
32960
+ if (!nodeP?.attributes?.hasOwnProperty(attr) && !nodeP?.attributes?.hasOwnProperty(`xu-exp:${attr}`)) {
32961
+ continue;
32962
+ }
32963
+
32958
32964
  if (!nodeP.attributes[`xu-exp:${attr}`] && nodeP?.attributes?.hasOwnProperty(attr) && typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
32959
32965
  continue;
32960
32966
  }