@xuda.io/runtime-bundle 1.0.616 → 1.0.617
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -12385,7 +12385,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
12385
12385
|
} else {
|
|
12386
12386
|
$elm.data('xuTeleportData', []);
|
|
12387
12387
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
12388
|
-
const $
|
|
12388
|
+
const $to_container = $(val.value);
|
|
12389
|
+
if (!$to_container?.length) {
|
|
12390
|
+
return console.error(`container ${val.value} for xuTeleportData not found`);
|
|
12391
|
+
}
|
|
12392
|
+
const $teleport_elm = await func.UI.screen.render_ui_tree(SESSION_ID, $to_container, node, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, node, null, $root_container);
|
|
12389
12393
|
|
|
12390
12394
|
$elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
|
|
12391
12395
|
$teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
|
|
@@ -10116,7 +10116,11 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
|
|
|
10116
10116
|
} else {
|
|
10117
10117
|
$elm.data('xuTeleportData', []);
|
|
10118
10118
|
for (const [key, node] of Object.entries(nodeP.children)) {
|
|
10119
|
-
const $
|
|
10119
|
+
const $to_container = $(val.value);
|
|
10120
|
+
if (!$to_container?.length) {
|
|
10121
|
+
return console.error(`container ${val.value} for xuTeleportData not found`);
|
|
10122
|
+
}
|
|
10123
|
+
const $teleport_elm = await func.UI.screen.render_ui_tree(SESSION_ID, $to_container, node, parent_infoP, paramsP, jobNoP, is_skeleton, Number(key), null, node, null, $root_container);
|
|
10120
10124
|
|
|
10121
10125
|
$elm.data().xuTeleportData.push($teleport_elm.attr('xu-ui-id'));
|
|
10122
10126
|
$teleport_elm.attr('xu-teleport-parent-id', $elm.attr('xu-ui-id'));
|