@xuda.io/runtime-bundle 1.0.403 → 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];
|
|
@@ -31993,13 +31994,15 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
31993
31994
|
|
|
31994
31995
|
// Callback function to execute when mutations are observed
|
|
31995
31996
|
const callback = (mutationList, observer) => {
|
|
31996
|
-
|
|
31997
|
-
|
|
31998
|
-
|
|
31999
|
-
|
|
32000
|
-
|
|
32001
|
-
|
|
32002
|
-
}
|
|
31997
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, [val.value]);
|
|
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
|
+
// }
|
|
32003
32006
|
};
|
|
32004
32007
|
|
|
32005
32008
|
// Create an observer instance linked to the callback function
|
|
@@ -32785,7 +32788,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32785
32788
|
|
|
32786
32789
|
// ALL
|
|
32787
32790
|
|
|
32788
|
-
// let svg_attributes_str = ""
|
|
32789
32791
|
for await (const [key, val] of Object.entries(nodeP.attributes)) {
|
|
32790
32792
|
if (_ret.abort) break;
|
|
32791
32793
|
if (glb.html5_events_handler.includes(key) || execute_attributes.includes(key)) {
|
|
@@ -32799,12 +32801,7 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32799
32801
|
) {
|
|
32800
32802
|
// handle common html attributes
|
|
32801
32803
|
try {
|
|
32802
|
-
// $elm.attr(key, val);
|
|
32803
|
-
// if (nodeP.tagName === "svg") {
|
|
32804
|
-
// svg_attributes_str += `${key}="${val}" `
|
|
32805
|
-
// } else {
|
|
32806
32804
|
$elm.get(0).setAttribute(key, val);
|
|
32807
|
-
// }
|
|
32808
32805
|
} catch (err) {
|
|
32809
32806
|
console.error(err.message);
|
|
32810
32807
|
}
|
|
@@ -32813,7 +32810,6 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
32813
32810
|
}
|
|
32814
32811
|
// handle xu attributes
|
|
32815
32812
|
try {
|
|
32816
|
-
// console.log(">>>> attributes", key, val);
|
|
32817
32813
|
$elm.data().xuAttributes[key] = val;
|
|
32818
32814
|
} catch (error) {
|
|
32819
32815
|
debugger;
|