@xuda.io/runtime-bundle 1.0.1120 → 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.
|
@@ -32930,12 +32930,12 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32930
32930
|
|
|
32931
32931
|
const get_xuExp = async function (attrib) {
|
|
32932
32932
|
if (is_skeleton) return;
|
|
32933
|
-
|
|
32934
|
-
|
|
32935
|
-
|
|
32936
|
-
|
|
32933
|
+
if (glb.new_xu_render) {
|
|
32934
|
+
let _xuData = $elm.data().xuData;
|
|
32935
|
+
if (!_xuData.attr_exp_info) {
|
|
32936
|
+
_xuData.attr_exp_info = {};
|
|
32937
|
+
}
|
|
32937
32938
|
}
|
|
32938
|
-
|
|
32939
32939
|
const attr = `xu-exp:${attrib}`;
|
|
32940
32940
|
|
|
32941
32941
|
if (!nodeP?.attributes?.hasOwnProperty(attr)) return;
|
|
@@ -32944,7 +32944,9 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32944
32944
|
// if (!value) return func.UI.screen.fix_val_defaults(attrib, exp || nodeP.attributes[attrib]);
|
|
32945
32945
|
|
|
32946
32946
|
var res = await func.expression.get(SESSION_ID, exp, paramsP.dsSessionP, 'UI Attr EXP', _ds.currentRecordId);
|
|
32947
|
-
|
|
32947
|
+
if (glb.new_xu_render) {
|
|
32948
|
+
_xuData.attr_exp_info[attrib] = res;
|
|
32949
|
+
}
|
|
32948
32950
|
// nodeP.attributes[attr] = value; //{ value: value, res: res };
|
|
32949
32951
|
done_exp.push(attr);
|
|
32950
32952
|
return res.result; //func.UI.screen.fix_val_defaults(attrib, res.result);
|
|
@@ -33639,10 +33641,6 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
33639
33641
|
// debugger;
|
|
33640
33642
|
}
|
|
33641
33643
|
|
|
33642
|
-
///////////
|
|
33643
|
-
if (glb.new_xu_render) {
|
|
33644
|
-
}
|
|
33645
|
-
|
|
33646
33644
|
///////////
|
|
33647
33645
|
var is_mobile = glb.MOBILE_ARR.includes(paramsP.screenInfo.properties?.menuType) ? true : false;
|
|
33648
33646
|
|
|
@@ -34489,7 +34487,8 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
34489
34487
|
});
|
|
34490
34488
|
}
|
|
34491
34489
|
|
|
34492
|
-
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
34490
|
+
// let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $container, nodeP, $div, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
34491
|
+
let ret = await func.UI.screen.set_attributes_new(SESSION_ID, is_skeleton, $root_container, nodeP, $container, paramsP, parent_infoP, jobNoP, keyP, parent_nodeP, $div, true);
|
|
34493
34492
|
if (ret.abort || nodeP.tagName === 'svg' || !_.isEmpty(nodeP?.attributes?.['xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-html']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-text']) || !_.isEmpty(nodeP?.attributes?.['xu-exp:xu-html'])) {
|
|
34494
34493
|
return await done(ret);
|
|
34495
34494
|
}
|