@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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12097,8 +12097,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12097
12097
|
'xu-attrs': async function ($elm, val) {
|
|
12098
12098
|
if (!val.value) return {};
|
|
12099
12099
|
if (!_.isObject(val.value)) throw 'xu-attrs value us not an object';
|
|
12100
|
-
for (const [
|
|
12101
|
-
nodeP.attributes[
|
|
12100
|
+
for (const [attr_key, attr_val] of Object.entries(val.value)) {
|
|
12101
|
+
nodeP.attributes[attr_key] = attr_val;
|
|
12102
12102
|
}
|
|
12103
12103
|
|
|
12104
12104
|
return {};
|
|
@@ -12974,6 +12974,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
12974
12974
|
|
|
12975
12975
|
// XU-ATTRS
|
|
12976
12976
|
if (nodeP?.attributes?.['xu-attrs']) {
|
|
12977
|
+
const attr = 'xu-attrs';
|
|
12977
12978
|
let ret = await func.UI.screen.execute_xu_functions(
|
|
12978
12979
|
SESSION_ID,
|
|
12979
12980
|
is_skeleton,
|
|
@@ -12985,11 +12986,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
12985
12986
|
jobNoP,
|
|
12986
12987
|
keyP,
|
|
12987
12988
|
parent_nodeP,
|
|
12988
|
-
|
|
12989
|
+
attr,
|
|
12989
12990
|
$elm,
|
|
12990
12991
|
{
|
|
12991
12992
|
key: attr,
|
|
12992
|
-
value: await get_attr_value(
|
|
12993
|
+
value: await get_attr_value(attr),
|
|
12993
12994
|
},
|
|
12994
12995
|
is_init,
|
|
12995
12996
|
);
|
|
@@ -9824,8 +9824,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
9824
9824
|
'xu-attrs': async function ($elm, val) {
|
|
9825
9825
|
if (!val.value) return {};
|
|
9826
9826
|
if (!_.isObject(val.value)) throw 'xu-attrs value us not an object';
|
|
9827
|
-
for (const [
|
|
9828
|
-
nodeP.attributes[
|
|
9827
|
+
for (const [attr_key, attr_val] of Object.entries(val.value)) {
|
|
9828
|
+
nodeP.attributes[attr_key] = attr_val;
|
|
9829
9829
|
}
|
|
9830
9830
|
|
|
9831
9831
|
return {};
|
|
@@ -10701,6 +10701,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10701
10701
|
|
|
10702
10702
|
// XU-ATTRS
|
|
10703
10703
|
if (nodeP?.attributes?.['xu-attrs']) {
|
|
10704
|
+
const attr = 'xu-attrs';
|
|
10704
10705
|
let ret = await func.UI.screen.execute_xu_functions(
|
|
10705
10706
|
SESSION_ID,
|
|
10706
10707
|
is_skeleton,
|
|
@@ -10712,11 +10713,11 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
10712
10713
|
jobNoP,
|
|
10713
10714
|
keyP,
|
|
10714
10715
|
parent_nodeP,
|
|
10715
|
-
|
|
10716
|
+
attr,
|
|
10716
10717
|
$elm,
|
|
10717
10718
|
{
|
|
10718
10719
|
key: attr,
|
|
10719
|
-
value: await get_attr_value(
|
|
10720
|
+
value: await get_attr_value(attr),
|
|
10720
10721
|
},
|
|
10721
10722
|
is_init,
|
|
10722
10723
|
);
|