@xuda.io/runtime-bundle 1.0.434 → 1.0.436
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.
|
@@ -27811,7 +27811,7 @@ func.UI.utils.get_panels_from_dom = function (SESSION_ID, ignore_disableAutoRefr
|
|
|
27811
27811
|
};
|
|
27812
27812
|
|
|
27813
27813
|
func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embed_container, ignore_disableAutoRefresh) {
|
|
27814
|
-
const $elm =
|
|
27814
|
+
const $elm = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
|
|
27815
27815
|
var panels_obj = {};
|
|
27816
27816
|
|
|
27817
27817
|
// set panels_obj
|
|
@@ -27841,6 +27841,14 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
27841
27841
|
continue;
|
|
27842
27842
|
}
|
|
27843
27843
|
|
|
27844
|
+
let ids = [];
|
|
27845
|
+
|
|
27846
|
+
$.each($panel_div.children, function (key, val) {
|
|
27847
|
+
if ($(val).data.xuPanelData) {
|
|
27848
|
+
ids.push($(val).attr('xu-ui-id'));
|
|
27849
|
+
}
|
|
27850
|
+
});
|
|
27851
|
+
|
|
27844
27852
|
panels_obj[xu_ui_id] = {
|
|
27845
27853
|
// prog_id,
|
|
27846
27854
|
panelXuAttributes,
|
|
@@ -27848,6 +27856,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
27848
27856
|
prog_doc,
|
|
27849
27857
|
$panel_div,
|
|
27850
27858
|
_ds,
|
|
27859
|
+
ids,
|
|
27851
27860
|
};
|
|
27852
27861
|
}
|
|
27853
27862
|
}
|
|
@@ -31813,7 +31822,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31813
31822
|
try {
|
|
31814
31823
|
// const $org_panel = panel_val.$div.data().xuPanelData.$panel_div;
|
|
31815
31824
|
|
|
31816
|
-
const new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $div_elm, _.cloneDeep(panel_val.$
|
|
31825
|
+
const new_$div = await func.UI.screen.render_ui_tree(SESSION_ID, $div_elm, _.cloneDeep(panel_val.$div_elm.data().xuData.node), {}, $div_elm.data().xuData.paramsP, null, null, $div_elm.data().xuData.key, null, $div_elm.data().xuData.parent_node, null, $div_elm.data().xuData.$root_container);
|
|
31817
31826
|
|
|
31818
31827
|
// remove old panel content
|
|
31819
31828
|
$.each(panel_val.ids, async function (key, val) {
|