@xuda.io/runtime-bundle 1.0.1141 → 1.0.1143

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.
@@ -32790,10 +32790,12 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32790
32790
  var checkExist = setInterval(function () {
32791
32791
  if ($elm.is(':visible')) {
32792
32792
  try {
32793
- var res = eval('(' + val.value + ')');
32794
- if (typeof res === 'function') {
32795
- res($elm[0]);
32796
- }
32793
+ // var res = eval('(' + val.value + ')');
32794
+ const fn = `(function(${$elm[0]}) {${val.value}})();`;
32795
+ var res = eval(fn);
32796
+ // if (typeof res === 'function') {
32797
+ // res($elm[0]);
32798
+ // }
32797
32799
  } catch (e) {
32798
32800
  eval(val.value);
32799
32801
  }
@@ -32863,7 +32865,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32863
32865
  prop_val.value = res.result;
32864
32866
  }
32865
32867
  }
32866
- $elm.data().xu_ui_plugin = { properties };
32868
+ // $elm.data().xu_ui_plugin = { properties };
32867
32869
  const plugin_runtime_src = await func.utils.get_plugin_npm_cdn(SESSION_ID, plugin_name, `${_plugin.manifest['runtime.mjs'].dist ? 'dist/' : ''}runtime.mjs`);
32868
32870
 
32869
32871
  const plugin_runtime_resources = await import(plugin_runtime_src);