@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.
@@ -8896,6 +8896,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8896
8896
  null,
8897
8897
  queue_obj.paramsP.elem_val.$elm.data().xuData.iterate_info,
8898
8898
  );
8899
+ console.log(res);
8899
8900
  }
8900
8901
 
8901
8902
  const attr_new = attr.split('xu-exp:')[1];
@@ -11962,14 +11963,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
11962
11963
  // Callback function to execute when mutations are observed
11963
11964
  const callback = (mutationList, observer) => {
11964
11965
  func.UI.screen.refresh_xu_attributes(SESSION_ID, [val.value]);
11965
- return;
11966
- for (const mutation of mutationList) {
11967
- if (mutation.type === 'childList') {
11968
- console.log('A child node has been added or removed.');
11969
- } else if (mutation.type === 'attributes') {
11970
- console.log(`The ${mutation.attributeName} attribute was modified.`);
11971
- }
11972
- }
11966
+ // return;
11967
+ // for (const mutation of mutationList) {
11968
+ // if (mutation.type === 'childList') {
11969
+ // console.log('A child node has been added or removed.');
11970
+ // } else if (mutation.type === 'attributes') {
11971
+ // console.log(`The ${mutation.attributeName} attribute was modified.`);
11972
+ // }
11973
+ // }
11973
11974
  };
11974
11975
 
11975
11976
  // Create an observer instance linked to the callback function
@@ -12755,7 +12756,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
12755
12756
 
12756
12757
  // ALL
12757
12758
 
12758
- // let svg_attributes_str = ""
12759
12759
  for await (const [key, val] of Object.entries(nodeP.attributes)) {
12760
12760
  if (_ret.abort) break;
12761
12761
  if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
@@ -12769,12 +12769,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
12769
12769
  ) {
12770
12770
  // handle common html attributes
12771
12771
  try {
12772
- // $elm.attr(key, val);
12773
- // if (nodeP.tagName === "svg") {
12774
- // svg_attributes_str += `${key}="${val}" `
12775
- // } else {
12776
12772
  $elm.get(0).setAttribute(key, val);
12777
- // }
12778
12773
  } catch (err) {
12779
12774
  console.error(err.message);
12780
12775
  }
@@ -12783,7 +12778,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
12783
12778
  }
12784
12779
  // handle xu attributes
12785
12780
  try {
12786
- // console.log(">>>> attributes", key, val);
12787
12781
  $elm.data().xuAttributes[key] = val;
12788
12782
  } catch (error) {
12789
12783
  debugger;
@@ -8897,6 +8897,7 @@ func.UI.worker.execute = async function (SESSION_ID, queue_obj) {
8897
8897
  null,
8898
8898
  queue_obj.paramsP.elem_val.$elm.data().xuData.iterate_info,
8899
8899
  );
8900
+ console.log(res);
8900
8901
  }
8901
8902
 
8902
8903
  const attr_new = attr.split('xu-exp:')[1];
@@ -10035,14 +10036,14 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10035
10036
  // Callback function to execute when mutations are observed
10036
10037
  const callback = (mutationList, observer) => {
10037
10038
  func.UI.screen.refresh_xu_attributes(SESSION_ID, [val.value]);
10038
- return;
10039
- for (const mutation of mutationList) {
10040
- if (mutation.type === 'childList') {
10041
- console.log('A child node has been added or removed.');
10042
- } else if (mutation.type === 'attributes') {
10043
- console.log(`The ${mutation.attributeName} attribute was modified.`);
10044
- }
10045
- }
10039
+ // return;
10040
+ // for (const mutation of mutationList) {
10041
+ // if (mutation.type === 'childList') {
10042
+ // console.log('A child node has been added or removed.');
10043
+ // } else if (mutation.type === 'attributes') {
10044
+ // console.log(`The ${mutation.attributeName} attribute was modified.`);
10045
+ // }
10046
+ // }
10046
10047
  };
10047
10048
 
10048
10049
  // Create an observer instance linked to the callback function
@@ -10828,7 +10829,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10828
10829
 
10829
10830
  // ALL
10830
10831
 
10831
- // let svg_attributes_str = ""
10832
10832
  for await (const [key, val] of Object.entries(nodeP.attributes)) {
10833
10833
  if (_ret.abort) break;
10834
10834
  if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
@@ -10842,12 +10842,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10842
10842
  ) {
10843
10843
  // handle common html attributes
10844
10844
  try {
10845
- // $elm.attr(key, val);
10846
- // if (nodeP.tagName === "svg") {
10847
- // svg_attributes_str += `${key}="${val}" `
10848
- // } else {
10849
10845
  $elm.get(0).setAttribute(key, val);
10850
- // }
10851
10846
  } catch (err) {
10852
10847
  console.error(err.message);
10853
10848
  }
@@ -10856,7 +10851,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
10856
10851
  }
10857
10852
  // handle xu attributes
10858
10853
  try {
10859
- // console.log(">>>> attributes", key, val);
10860
10854
  $elm.data().xuAttributes[key] = val;
10861
10855
  } catch (error) {
10862
10856
  debugger;