@xuda.io/runtime-bundle 1.0.1062 → 1.0.1063
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,6 +32868,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32868
32868
|
|
|
32869
32869
|
const get_xuExp = async function (attrib) {
|
|
32870
32870
|
if (is_skeleton) return;
|
|
32871
|
+
|
|
32872
|
+
let _xuData = $elm.data().xuData;
|
|
32873
|
+
if (!_xuData.attr_exp_info) {
|
|
32874
|
+
attr_exp_info = {};
|
|
32875
|
+
}
|
|
32876
|
+
|
|
32871
32877
|
const attr = `xu-exp:${attrib}`;
|
|
32872
32878
|
|
|
32873
32879
|
if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
|
|
@@ -32876,6 +32882,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32876
32882
|
// if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
|
|
32877
32883
|
|
|
32878
32884
|
var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
|
|
32885
|
+
_xuData.attr_exp_info[attrib] = res;
|
|
32879
32886
|
// nodeP.attributes[attr] = value; //{ value: value, res: res };
|
|
32880
32887
|
done_exp.push(attr);
|
|
32881
32888
|
return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
|