@xuda.io/runtime-bundle 1.0.936 → 1.0.938

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.
@@ -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 [key, val] of Object.entries(val.value)) {
12101
- nodeP.attributes[key] = val;
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 {};
@@ -12973,7 +12973,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
12973
12973
  }
12974
12974
 
12975
12975
  // XU-ATTRS
12976
- if (nodeP?.attributes?.['xu-attrs']) {
12976
+ if (nodeP?.attributes?.['xu-attrs'] || nodeP?.attributes?.['xu-exp:xu-attrs']) {
12977
12977
  const attr = 'xu-attrs';
12978
12978
  let ret = await func.UI.screen.execute_xu_functions(
12979
12979
  SESSION_ID,
@@ -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 [key, val] of Object.entries(val.value)) {
9828
- nodeP.attributes[key] = val;
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 {};
@@ -10700,7 +10700,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10700
10700
  }
10701
10701
 
10702
10702
  // XU-ATTRS
10703
- if (nodeP?.attributes?.['xu-attrs']) {
10703
+ if (nodeP?.attributes?.['xu-attrs'] || nodeP?.attributes?.['xu-exp:xu-attrs']) {
10704
10704
  const attr = 'xu-attrs';
10705
10705
  let ret = await func.UI.screen.execute_xu_functions(
10706
10706
  SESSION_ID,