@xuda.io/runtime-bundle 1.0.404 → 1.0.405

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.
@@ -28078,6 +28078,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
28078
28078
  null,
28079
28079
  queue_obj.paramsP.elem_val.$elm.data().xuData.iterate_info,
28080
28080
  );
28081
+ console.log(res);
28081
28082
  }
28082
28083
 
28083
28084
  const attr_new = attr.split('xu-exp:')[1];
@@ -31994,14 +31995,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
31994
31995
  // Callback function to execute when mutations are observed
31995
31996
  const callback = (mutationList, observer) => {
31996
31997
  func.UI.screen.refresh_xu_attributes(SESSION_ID, [val.value]);
31997
- return;
31998
- for (const mutation of mutationList) {
31999
- if (mutation.type === 'childList') {
32000
- console.log('A child node has been added or removed.');
32001
- } else if (mutation.type === 'attributes') {
32002
- console.log(`The ${mutation.attributeName} attribute was modified.`);
32003
- }
32004
- }
31998
+ // return;
31999
+ // for (const mutation of mutationList) {
32000
+ // if (mutation.type === 'childList') {
32001
+ // console.log('A child node has been added or removed.');
32002
+ // } else if (mutation.type === 'attributes') {
32003
+ // console.log(`The ${mutation.attributeName} attribute was modified.`);
32004
+ // }
32005
+ // }
32005
32006
  };
32006
32007
 
32007
32008
  // Create an observer instance linked to the callback function
@@ -32787,7 +32788,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32787
32788
 
32788
32789
  // ALL
32789
32790
 
32790
- // let svg_attributes_str = ""
32791
32791
  for await (const [key, val] of Object.entries(nodeP.attributes)) {
32792
32792
  if (_ret.abort) break;
32793
32793
  if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
@@ -32801,12 +32801,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32801
32801
  ) {
32802
32802
  // handle common html attributes
32803
32803
  try {
32804
- // $elm.attr(key, val);
32805
- // if (nodeP.tagName === "svg") {
32806
- // svg_attributes_str += `${key}="${val}" `
32807
- // } else {
32808
32804
  $elm.get(0).setAttribute(key, val);
32809
- // }
32810
32805
  } catch (err) {
32811
32806
  console.error(err.message);
32812
32807
  }
@@ -32815,7 +32810,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
32815
32810
  }
32816
32811
  // handle xu attributes
32817
32812
  try {
32818
- // console.log(">>>> attributes", key, val);
32819
32813
  $elm.data().xuAttributes[key] = val;
32820
32814
  } catch (error) {
32821
32815
  debugger;