@xuda.io/runtime-bundle 1.0.1062 → 1.0.1064

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.
@@ -13184,6 +13184,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13184
13184
 
13185
13185
  const get_xuExp = async function (attrib) {
13186
13186
  if (is_skeleton) return;
13187
+
13188
+ let _xuData = $elm.data().xuData;
13189
+ if (!_xuData.attr_exp_info) {
13190
+ _xuData.attr_exp_info = {};
13191
+ }
13192
+
13187
13193
  const attr = `xu-exp:${attrib}`;
13188
13194
 
13189
13195
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -13192,6 +13198,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
13192
13198
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
13193
13199
 
13194
13200
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
13201
+ _xuData.attr_exp_info[attrib] = res;
13195
13202
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
13196
13203
  done_exp.push(attr);
13197
13204
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
@@ -10909,6 +10909,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10909
10909
 
10910
10910
  const get_xuExp = async function (attrib) {
10911
10911
  if (is_skeleton) return;
10912
+
10913
+ let _xuData = $elm.data().xuData;
10914
+ if (!_xuData.attr_exp_info) {
10915
+ _xuData.attr_exp_info = {};
10916
+ }
10917
+
10912
10918
  const attr = `xu-exp:${attrib}`;
10913
10919
 
10914
10920
  if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
@@ -10917,6 +10923,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10917
10923
  // if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
10918
10924
 
10919
10925
  var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
10926
+ _xuData.attr_exp_info[attrib] = res;
10920
10927
  // nodeP.attributes[attr] = value; //{ value: value, res: res };
10921
10928
  done_exp.push(attr);
10922
10929
  return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);