@xuda.io/runtime-bundle 1.0.471 → 1.0.473

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.
@@ -11979,9 +11979,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11979
11979
 
11980
11980
  ret = await render_panel();
11981
11981
 
11982
- // if (val.value) {
11983
- // ret = await render_panel();
11984
- // }
11985
11982
  return ret;
11986
11983
  };
11987
11984
  const alter_program = async function () {
@@ -12047,7 +12044,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12047
12044
  return ret;
12048
12045
  },
12049
12046
  'xu-ref': async function ($elm, val) {
12050
- let ret = await common_fx['xu-ref']($elm, val);
12047
+ const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
12048
+ let ret = await common_fx['xu-ref']($wrapper, val);
12051
12049
  return ret;
12052
12050
  },
12053
12051
  },
@@ -12113,6 +12111,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12113
12111
  // Select the node that will be observed for mutations
12114
12112
  const targetNode = $elm[0];
12115
12113
 
12114
+ if (!targetNode) return;
12115
+
12116
12116
  // Options for the observer (which mutations to observe)
12117
12117
  const config = { attributes: true, childList: true, subtree: true };
12118
12118
 
@@ -10052,9 +10052,6 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10052
10052
 
10053
10053
  ret = await render_panel();
10054
10054
 
10055
- // if (val.value) {
10056
- // ret = await render_panel();
10057
- // }
10058
10055
  return ret;
10059
10056
  };
10060
10057
  const alter_program = async function () {
@@ -10120,7 +10117,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10120
10117
  return ret;
10121
10118
  },
10122
10119
  'xu-ref': async function ($elm, val) {
10123
- let ret = await common_fx['xu-ref']($elm, val);
10120
+ const $wrapper = $(`[xu-panel-wrapper-id='${$elm.attr('xu-ui-id')}`);
10121
+ let ret = await common_fx['xu-ref']($wrapper, val);
10124
10122
  return ret;
10125
10123
  },
10126
10124
  },
@@ -10186,6 +10184,8 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10186
10184
  // Select the node that will be observed for mutations
10187
10185
  const targetNode = $elm[0];
10188
10186
 
10187
+ if (!targetNode) return;
10188
+
10189
10189
  // Options for the observer (which mutations to observe)
10190
10190
  const config = { attributes: true, childList: true, subtree: true };
10191
10191