@xuda.io/runtime-bundle 1.0.616 → 1.0.618
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'));
|
|
@@ -13294,7 +13298,10 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
13294
13298
|
}
|
|
13295
13299
|
// handle xu attributes
|
|
13296
13300
|
try {
|
|
13297
|
-
|
|
13301
|
+
if (elm?.data()?.xuAttributes) {
|
|
13302
|
+
// in some cases xu data delete in purpose when refreshing the screen
|
|
13303
|
+
$elm.data().xuAttributes[key] = val;
|
|
13304
|
+
}
|
|
13298
13305
|
} catch (error) {
|
|
13299
13306
|
debugger;
|
|
13300
13307
|
console.error(error);
|
|
@@ -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'));
|
|
@@ -11025,7 +11029,10 @@ func.UI.screen.set_attributes_new = async function (SESSION_ID, is_skeleton, $ro
|
|
|
11025
11029
|
}
|
|
11026
11030
|
// handle xu attributes
|
|
11027
11031
|
try {
|
|
11028
|
-
|
|
11032
|
+
if (elm?.data()?.xuAttributes) {
|
|
11033
|
+
// in some cases xu data delete in purpose when refreshing the screen
|
|
11034
|
+
$elm.data().xuAttributes[key] = val;
|
|
11035
|
+
}
|
|
11029
11036
|
} catch (error) {
|
|
11030
11037
|
debugger;
|
|
11031
11038
|
console.error(error);
|