@xuda.io/runtime-bundle 1.0.430 → 1.0.432
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 = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
|
|
8632
|
+
const $elm = await 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
|
|
@@ -8652,7 +8652,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8652
8652
|
|
|
8653
8653
|
if (!panels_obj[xu_ui_id]) {
|
|
8654
8654
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
8655
|
-
let _ds = _session?.DS_GLB[$panel_div.data().xuData.dsSessionP];
|
|
8655
|
+
let _ds = _session?.DS_GLB[$panel_div.data().xuData.paramsP.dsSessionP];
|
|
8656
8656
|
|
|
8657
8657
|
let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
8658
8658
|
if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
|
|
@@ -11712,7 +11712,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11712
11712
|
};
|
|
11713
11713
|
|
|
11714
11714
|
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
11715
|
-
const panels_obj = func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
11715
|
+
const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
11716
11716
|
|
|
11717
11717
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
11718
11718
|
const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
|
|
@@ -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 = func.UI.utils.find_in_element_data('xuPanelWrapper', $(SESSION_OBJ[SESSION_ID].root_element), 'isWrapper');
|
|
8633
|
+
const $elm = await 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
|
|
@@ -8653,7 +8653,7 @@ func.UI.utils.get_panels_wrapper_from_dom = async function (SESSION_ID, $xu_embe
|
|
|
8653
8653
|
|
|
8654
8654
|
if (!panels_obj[xu_ui_id]) {
|
|
8655
8655
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
8656
|
-
let _ds = _session?.DS_GLB[$panel_div.data().xuData.dsSessionP];
|
|
8656
|
+
let _ds = _session?.DS_GLB[$panel_div.data().xuData.paramsP.dsSessionP];
|
|
8657
8657
|
|
|
8658
8658
|
let prog_doc = await func.utils.DOCS_OBJ.get(SESSION_ID, _ds.prog_id);
|
|
8659
8659
|
if (!ignore_disableAutoRefresh && prog_doc.properties.disableAutoRefresh) {
|
|
@@ -9785,7 +9785,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9785
9785
|
};
|
|
9786
9786
|
|
|
9787
9787
|
func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr, datasource_changed, fields_changed_datasource) {
|
|
9788
|
-
const panels_obj = func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
9788
|
+
const panels_obj = await func.UI.utils.get_panels_wrapper_from_dom(SESSION_ID, $(SESSION_OBJ[SESSION_ID].root_element), false);
|
|
9789
9789
|
|
|
9790
9790
|
for await (const [parent_element_ui_id, panel_val] of Object.entries(panels_obj)) {
|
|
9791
9791
|
const progDataSource_str = JSON.stringify(panel_val.prog_doc.progDataSource);
|