@xuda.io/runtime-bundle 1.0.643 → 1.0.645
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.
|
@@ -32932,50 +32932,55 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32932
32932
|
}
|
|
32933
32933
|
|
|
32934
32934
|
// BEFORE
|
|
32935
|
+
if (!_.isEmpty(nodeP.attributes)) {
|
|
32936
|
+
for await (const [key, attr] of Object.entries(glb.run_xu_before)) {
|
|
32937
|
+
if (_ret.abort) break;
|
|
32938
|
+
if (glb.html5_events_handler.includes(attr) || execute_attributes.includes(attr)) {
|
|
32939
|
+
continue;
|
|
32940
|
+
}
|
|
32935
32941
|
|
|
32936
|
-
|
|
32937
|
-
|
|
32938
|
-
|
|
32939
|
-
continue;
|
|
32940
|
-
}
|
|
32942
|
+
// if (!nodeP.attributes || !nodeP.attributes[attr] & !nodeP.attributes[`xu-exp:${attr}`]) {
|
|
32943
|
+
// continue;
|
|
32944
|
+
// }
|
|
32941
32945
|
|
|
32942
|
-
|
|
32943
|
-
|
|
32944
|
-
|
|
32946
|
+
// if (_.isEmpty(nodeP.attributes)) {
|
|
32947
|
+
// break;
|
|
32948
|
+
// }
|
|
32945
32949
|
|
|
32946
|
-
|
|
32947
|
-
|
|
32948
|
-
|
|
32950
|
+
// if (typeof nodeP.attributes[attr] === 'undefined') {
|
|
32951
|
+
// continue;
|
|
32952
|
+
// }
|
|
32949
32953
|
|
|
32950
|
-
|
|
32951
|
-
|
|
32952
|
-
|
|
32954
|
+
// if (typeof func.UI.screen.fix_val_defaults(attr, (await get_xuExp(attr)) || nodeP.attributes[attr]) === 'undefined') {
|
|
32955
|
+
// continue;
|
|
32956
|
+
// }
|
|
32953
32957
|
|
|
32954
|
-
|
|
32955
|
-
|
|
32956
|
-
|
|
32958
|
+
if (!nodeP.attributes[`xu-exp:${attr}`] && nodeP.attributes.hasOwnProperty('xu-render') && typeof func.UI.screen.fix_val_defaults(attr, nodeP.attributes[attr]) === 'undefined') {
|
|
32959
|
+
continue;
|
|
32960
|
+
}
|
|
32957
32961
|
|
|
32958
|
-
|
|
32959
|
-
|
|
32960
|
-
|
|
32961
|
-
|
|
32962
|
-
|
|
32963
|
-
|
|
32964
|
-
|
|
32965
|
-
|
|
32966
|
-
|
|
32967
|
-
|
|
32968
|
-
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
|
|
32976
|
-
|
|
32977
|
-
|
|
32978
|
-
|
|
32962
|
+
let ret = await func.UI.screen.execute_xu_functions(
|
|
32963
|
+
SESSION_ID,
|
|
32964
|
+
is_skeleton,
|
|
32965
|
+
$root_container,
|
|
32966
|
+
nodeP,
|
|
32967
|
+
$container,
|
|
32968
|
+
paramsP,
|
|
32969
|
+
parent_infoP,
|
|
32970
|
+
jobNoP,
|
|
32971
|
+
keyP,
|
|
32972
|
+
parent_nodeP,
|
|
32973
|
+
attr,
|
|
32974
|
+
$elm,
|
|
32975
|
+
{
|
|
32976
|
+
key: attr,
|
|
32977
|
+
// value: _value,
|
|
32978
|
+
value: (await get_xuExp(attr)) || nodeP.attributes[attr],
|
|
32979
|
+
},
|
|
32980
|
+
is_init,
|
|
32981
|
+
);
|
|
32982
|
+
_ret = _.assignIn(_ret, ret);
|
|
32983
|
+
}
|
|
32979
32984
|
}
|
|
32980
32985
|
|
|
32981
32986
|
// ALL
|