@xuda.io/runtime-bundle 1.0.1136 → 1.0.1138

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.
@@ -32854,7 +32854,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32854
32854
 
32855
32855
  const plugin_index_resources = await import(plugin_index_src);
32856
32856
 
32857
- let properties = _.clone(plugin_index_resources.properties);
32857
+ let properties = _.cloneDeep(plugin_index_resources.properties);
32858
32858
  for await (let [prop_name, prop_val] of Object.entries(properties)) {
32859
32859
  prop_val.value = value?.attributes?.[prop_name];
32860
32860
  if (value?.attributes?.[`xu-exp:${prop_name}`]) {
@@ -32862,7 +32862,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32862
32862
  prop_val.value = res.result;
32863
32863
  }
32864
32864
  }
32865
-
32865
+ $elm.data().xu_ui_plugin = { properties };
32866
32866
  const plugin_runtime_src = await func.utils.get_plugin_npm_cdn(SESSION_ID, plugin_name, `${_plugin.manifest['runtime.mjs'].dist ? 'dist/' : ''}runtime.mjs`);
32867
32867
 
32868
32868
  const plugin_runtime_resources = await import(plugin_runtime_src);
@@ -32874,7 +32874,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32874
32874
  }
32875
32875
 
32876
32876
  if (plugin_runtime_resources.fn) {
32877
- await plugin_runtime_resources.fn(plugin_name, $elm?.[0], properties);
32877
+ // await plugin_runtime_resources.fn(plugin_name, $elm?.[0], properties);
32878
+ await plugin_runtime_resources.fn(plugin_name, $elm?.[0], $elm.data().xu_ui_plugin.properties);
32878
32879
  }
32879
32880
  }
32880
32881
  }