@xuda.io/runtime-bundle 1.0.433 → 1.0.435
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
|
@@ -8629,7 +8629,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
|
|
|
8629
8629
|
};
|
|
8630
8630
|
|
|
8631
8631
|
func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
|
|
8632
|
-
const $elm =
|
|
8632
|
+
const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
|
|
8633
8633
|
var panels_obj = {};
|
|
8634
8634
|
|
|
8635
8635
|
// set panels_obj
|
|
@@ -8659,6 +8659,14 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8659
8659
|
continue;
|
|
8660
8660
|
}
|
|
8661
8661
|
|
|
8662
|
+
let ids = [];
|
|
8663
|
+
|
|
8664
|
+
$.each($panel_div.children, function (key, val) {
|
|
8665
|
+
if ($(val).data.xuPanelData) {
|
|
8666
|
+
ids.push($(val).attr('xu-ui-id'));
|
|
8667
|
+
}
|
|
8668
|
+
});
|
|
8669
|
+
|
|
8662
8670
|
panels_obj[xu_ui_id] = {
|
|
8663
8671
|
// prog_id,
|
|
8664
8672
|
panelXuAttributes,
|
|
@@ -8666,6 +8674,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8666
8674
|
prog_doc,
|
|
8667
8675
|
$panel_div,
|
|
8668
8676
|
_ds,
|
|
8677
|
+
ids,
|
|
8669
8678
|
};
|
|
8670
8679
|
}
|
|
8671
8680
|
}
|
|
@@ -11771,10 +11780,11 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11771
11780
|
}
|
|
11772
11781
|
}
|
|
11773
11782
|
if (found) {
|
|
11774
|
-
|
|
11775
|
-
|
|
11776
|
-
|
|
11777
|
-
|
|
11783
|
+
const $div_elm = panel_val.$panel_div;
|
|
11784
|
+
// var $div_elm = panel_val.$div
|
|
11785
|
+
// .parent()
|
|
11786
|
+
// .parent()
|
|
11787
|
+
// .find("[xu-ui-id='" + parent_element_ui_id + "']");
|
|
11778
11788
|
|
|
11779
11789
|
// restore original panel
|
|
11780
11790
|
try {
|
|
@@ -8630,7 +8630,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
|
|
|
8630
8630
|
};
|
|
8631
8631
|
|
|
8632
8632
|
func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
|
|
8633
|
-
const $elm =
|
|
8633
|
+
const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
|
|
8634
8634
|
var panels_obj = {};
|
|
8635
8635
|
|
|
8636
8636
|
// set panels_obj
|
|
@@ -8660,6 +8660,14 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8660
8660
|
continue;
|
|
8661
8661
|
}
|
|
8662
8662
|
|
|
8663
|
+
let ids = [];
|
|
8664
|
+
|
|
8665
|
+
$.each($panel_div.children, function (key, val) {
|
|
8666
|
+
if ($(val).data.xuPanelData) {
|
|
8667
|
+
ids.push($(val).attr('xu-ui-id'));
|
|
8668
|
+
}
|
|
8669
|
+
});
|
|
8670
|
+
|
|
8663
8671
|
panels_obj[xu_ui_id] = {
|
|
8664
8672
|
// prog_id,
|
|
8665
8673
|
panelXuAttributes,
|
|
@@ -8667,6 +8675,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8667
8675
|
prog_doc,
|
|
8668
8676
|
$panel_div,
|
|
8669
8677
|
_ds,
|
|
8678
|
+
ids,
|
|
8670
8679
|
};
|
|
8671
8680
|
}
|
|
8672
8681
|
}
|
|
@@ -9844,10 +9853,11 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9844
9853
|
}
|
|
9845
9854
|
}
|
|
9846
9855
|
if (found) {
|
|
9847
|
-
|
|
9848
|
-
|
|
9849
|
-
|
|
9850
|
-
|
|
9856
|
+
const $div_elm = panel_val.$panel_div;
|
|
9857
|
+
// var $div_elm = panel_val.$div
|
|
9858
|
+
// .parent()
|
|
9859
|
+
// .parent()
|
|
9860
|
+
// .find("[xu-ui-id='" + parent_element_ui_id + "']");
|
|
9851
9861
|
|
|
9852
9862
|
// restore original panel
|
|
9853
9863
|
try {
|