@xuda.io/runtime-bundle 1.0.696 → 1.0.698
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
|
@@ -11852,21 +11852,22 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11852
11852
|
if ($elm?.length) {
|
|
11853
11853
|
const elm_data = $elm.data();
|
|
11854
11854
|
const $wrapper = $elm.parent();
|
|
11855
|
-
const wrapper_data = $wrapper.data();
|
|
11855
|
+
// const wrapper_data = $wrapper.data();
|
|
11856
11856
|
const refreshed_ds = _ds.dsSession;
|
|
11857
11857
|
|
|
11858
11858
|
// let elm_to_delete = [];
|
|
11859
11859
|
// const ts = Date.now();
|
|
11860
|
-
// $.each($elm.find('*'), function (key, val) {
|
|
11860
|
+
// $.each($elm.find('xu-root-component-' + SESSION_ID).find('*'), function (key, val) {
|
|
11861
11861
|
// let xu_ui_id = $(val).attr('xu-ui-id');
|
|
11862
11862
|
// if (xu_ui_id) {
|
|
11863
11863
|
// let new_id = xu_ui_id + ts;
|
|
11864
11864
|
// elm_to_delete.push(new_id);
|
|
11865
11865
|
|
|
11866
11866
|
// $(val).attr('xu-ui-id', new_id).removeData();
|
|
11867
|
-
// } else {
|
|
11868
|
-
// $(val).remove();
|
|
11869
11867
|
// }
|
|
11868
|
+
// // else {
|
|
11869
|
+
// // $(val).remove();
|
|
11870
|
+
// // }
|
|
11870
11871
|
// });
|
|
11871
11872
|
|
|
11872
11873
|
$elm.empty();
|
|
@@ -14195,7 +14196,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
14195
14196
|
if ($nav && $nav.length) {
|
|
14196
14197
|
// refresh made
|
|
14197
14198
|
} else {
|
|
14198
|
-
$nav = $('<xu-nav>');
|
|
14199
|
+
$nav = $('<xu-nav>'); //.attr('xu-ui-id', SESSION_ID);
|
|
14199
14200
|
$container.append($nav);
|
|
14200
14201
|
func.UI.component.init_xu_nav($container, $nav);
|
|
14201
14202
|
}
|
|
@@ -9574,21 +9574,22 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9574
9574
|
if ($elm?.length) {
|
|
9575
9575
|
const elm_data = $elm.data();
|
|
9576
9576
|
const $wrapper = $elm.parent();
|
|
9577
|
-
const wrapper_data = $wrapper.data();
|
|
9577
|
+
// const wrapper_data = $wrapper.data();
|
|
9578
9578
|
const refreshed_ds = _ds.dsSession;
|
|
9579
9579
|
|
|
9580
9580
|
// let elm_to_delete = [];
|
|
9581
9581
|
// const ts = Date.now();
|
|
9582
|
-
// $.each($elm.find('*'), function (key, val) {
|
|
9582
|
+
// $.each($elm.find('xu-root-component-' + SESSION_ID).find('*'), function (key, val) {
|
|
9583
9583
|
// let xu_ui_id = $(val).attr('xu-ui-id');
|
|
9584
9584
|
// if (xu_ui_id) {
|
|
9585
9585
|
// let new_id = xu_ui_id + ts;
|
|
9586
9586
|
// elm_to_delete.push(new_id);
|
|
9587
9587
|
|
|
9588
9588
|
// $(val).attr('xu-ui-id', new_id).removeData();
|
|
9589
|
-
// } else {
|
|
9590
|
-
// $(val).remove();
|
|
9591
9589
|
// }
|
|
9590
|
+
// // else {
|
|
9591
|
+
// // $(val).remove();
|
|
9592
|
+
// // }
|
|
9592
9593
|
// });
|
|
9593
9594
|
|
|
9594
9595
|
$elm.empty();
|
|
@@ -11917,7 +11918,7 @@ func.UI.screen.render_ui_tree = async function (SESSION_ID, $container, nodeP, p
|
|
|
11917
11918
|
if ($nav && $nav.length) {
|
|
11918
11919
|
// refresh made
|
|
11919
11920
|
} else {
|
|
11920
|
-
$nav = $('<xu-nav>');
|
|
11921
|
+
$nav = $('<xu-nav>'); //.attr('xu-ui-id', SESSION_ID);
|
|
11921
11922
|
$container.append($nav);
|
|
11922
11923
|
func.UI.component.init_xu_nav($container, $nav);
|
|
11923
11924
|
}
|