@xuda.io/runtime-bundle 1.0.447 → 1.0.449
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
|
@@ -11721,7 +11721,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11721
11721
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
11722
11722
|
};
|
|
11723
11723
|
|
|
11724
|
-
func.UI.screen.
|
|
11724
|
+
func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
11725
11725
|
const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
11726
11726
|
|
|
11727
11727
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
@@ -11781,7 +11781,8 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11781
11781
|
}
|
|
11782
11782
|
}
|
|
11783
11783
|
if (found) {
|
|
11784
|
-
const $div_elm = panel_val.$panel_div
|
|
11784
|
+
const $div_elm = panel_val.$panel_div; //.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
|
|
11785
|
+
const wrapper_data = $div_elm.data();
|
|
11785
11786
|
// var $div_elm = panel_val.$div
|
|
11786
11787
|
// .parent()
|
|
11787
11788
|
// .parent()
|
|
@@ -11791,7 +11792,20 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11791
11792
|
try {
|
|
11792
11793
|
// const $org_panel = panel_val.$div.data().xuPanelData.$panel_div;
|
|
11793
11794
|
const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
|
|
11794
|
-
const new_$div = await func.UI.screen.render_ui_tree(
|
|
11795
|
+
const new_$div = await func.UI.screen.render_ui_tree(
|
|
11796
|
+
SESSION_ID,
|
|
11797
|
+
$div_elm, // the wrapper
|
|
11798
|
+
_.cloneDeep(panelDivData.xuData.node), // the xu-panel node
|
|
11799
|
+
{},
|
|
11800
|
+
wrapper_data.xuData.paramsP, // the wrapper params
|
|
11801
|
+
null,
|
|
11802
|
+
null,
|
|
11803
|
+
wrapper_data.xuData.key, // the wrapper key
|
|
11804
|
+
null,
|
|
11805
|
+
wrapper_data.xuData.parent_node, // the wrapper parent node
|
|
11806
|
+
null,
|
|
11807
|
+
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
11808
|
+
);
|
|
11795
11809
|
|
|
11796
11810
|
// remove old panel content
|
|
11797
11811
|
$.each(panel_val.ids, async function (key, val) {
|
|
@@ -11805,7 +11819,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11805
11819
|
}
|
|
11806
11820
|
};
|
|
11807
11821
|
|
|
11808
|
-
func.UI.screen.
|
|
11822
|
+
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
11809
11823
|
// const $elm = func.UI.utils.find_in_element_data('xuPanelData', $(SESSION_OBJ[SESSION_ID].root_element), 'parent_element_ui_id');
|
|
11810
11824
|
|
|
11811
11825
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
|
|
@@ -9794,7 +9794,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9794
9794
|
func.events.delete_job(SESSION_ID, jobNoP);
|
|
9795
9795
|
};
|
|
9796
9796
|
|
|
9797
|
-
func.UI.screen.
|
|
9797
|
+
func.UI.screen.refresh_screen2 = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
9798
9798
|
const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
9799
9799
|
|
|
9800
9800
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
@@ -9854,7 +9854,8 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9854
9854
|
}
|
|
9855
9855
|
}
|
|
9856
9856
|
if (found) {
|
|
9857
|
-
const $div_elm = panel_val.$panel_div
|
|
9857
|
+
const $div_elm = panel_val.$panel_div; //.parent().find("[xu-ui-id='" + parent_element_ui_id + "']");
|
|
9858
|
+
const wrapper_data = $div_elm.data();
|
|
9858
9859
|
// var $div_elm = panel_val.$div
|
|
9859
9860
|
// .parent()
|
|
9860
9861
|
// .parent()
|
|
@@ -9864,7 +9865,20 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9864
9865
|
try {
|
|
9865
9866
|
// const $org_panel = panel_val.$div.data().xuPanelData.$panel_div;
|
|
9866
9867
|
const panelDivData = panel_val.$panel_div.data().xuPanelWrapper.panelDivData;
|
|
9867
|
-
const new_$div = await func.UI.screen.render_ui_tree(
|
|
9868
|
+
const new_$div = await func.UI.screen.render_ui_tree(
|
|
9869
|
+
SESSION_ID,
|
|
9870
|
+
$div_elm, // the wrapper
|
|
9871
|
+
_.cloneDeep(panelDivData.xuData.node), // the xu-panel node
|
|
9872
|
+
{},
|
|
9873
|
+
wrapper_data.xuData.paramsP, // the wrapper params
|
|
9874
|
+
null,
|
|
9875
|
+
null,
|
|
9876
|
+
wrapper_data.xuData.key, // the wrapper key
|
|
9877
|
+
null,
|
|
9878
|
+
wrapper_data.xuData.parent_node, // the wrapper parent node
|
|
9879
|
+
null,
|
|
9880
|
+
wrapper_data.xuData.$root_container, // the wrapper root container
|
|
9881
|
+
);
|
|
9868
9882
|
|
|
9869
9883
|
// remove old panel content
|
|
9870
9884
|
$.each(panel_val.ids, async function (key, val) {
|
|
@@ -9878,7 +9892,7 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9878
9892
|
}
|
|
9879
9893
|
};
|
|
9880
9894
|
|
|
9881
|
-
func.UI.screen.
|
|
9895
|
+
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
9882
9896
|
// const $elm = func.UI.utils.find_in_element_data('xuPanelData', $(SESSION_OBJ[SESSION_ID].root_element), 'parent_element_ui_id');
|
|
9883
9897
|
|
|
9884
9898
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
|