@xuda.io/runtime-bundle 1.0.935 → 1.0.937
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.
|
@@ -31783,8 +31783,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31783
31783
|
'xu-attrs': async function ($elm, val) {
|
|
31784
31784
|
if (!val.value) return {};
|
|
31785
31785
|
if (!_.isObject(val.value)) throw 'xu-attrs value us not an object';
|
|
31786
|
-
for (const [
|
|
31787
|
-
nodeP.attributes[
|
|
31786
|
+
for (const [attr_key, attr_val] of Object.entries(val.value)) {
|
|
31787
|
+
nodeP.attributes[attr_key] = attr_val;
|
|
31788
31788
|
}
|
|
31789
31789
|
|
|
31790
31790
|
return {};
|
|
@@ -32660,6 +32660,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32660
32660
|
|
|
32661
32661
|
// XU-ATTRS
|
|
32662
32662
|
if (nodeP?.attributes?.['xu-attrs']) {
|
|
32663
|
+
const attr = 'xu-attrs';
|
|
32663
32664
|
let ret = await func.UI.screen.execute_xu_functions(
|
|
32664
32665
|
SESSION_ID,
|
|
32665
32666
|
is_skeleton,
|
|
@@ -32671,11 +32672,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32671
32672
|
jobNoP,
|
|
32672
32673
|
keyP,
|
|
32673
32674
|
parent_nodeP,
|
|
32674
|
-
|
|
32675
|
+
attr,
|
|
32675
32676
|
$elm,
|
|
32676
32677
|
{
|
|
32677
32678
|
key: attr,
|
|
32678
|
-
value: await get_attr_value(
|
|
32679
|
+
value: await get_attr_value(attr),
|
|
32679
32680
|
},
|
|
32680
32681
|
is_init,
|
|
32681
32682
|
);
|