@xuda.io/runtime-bundle 1.0.328 → 1.0.330
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-bundle.js +26 -25
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +26 -25
- package/js/xuda-runtime-slim.min.es.js +26 -25
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +3 -2
- package/js/xuda-worker-bundle.js +3 -2
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30462,8 +30462,9 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30462
30462
|
}
|
|
30463
30463
|
///// REFRESH SCREEN
|
|
30464
30464
|
if (!avoid_refresh && fields_changed.length) {
|
|
30465
|
-
await
|
|
30466
|
-
|
|
30465
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
30466
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
30467
|
+
func.UI.screen.refresh_screen(
|
|
30467
30468
|
SESSION_ID,
|
|
30468
30469
|
fields_changed,
|
|
30469
30470
|
null,
|
|
@@ -31854,29 +31855,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
31854
31855
|
// var panels_obj = {};
|
|
31855
31856
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
|
|
31856
31857
|
|
|
31857
|
-
const find_field_in_progUi = function (progUi, field_id) {
|
|
31858
|
-
|
|
31859
|
-
|
|
31860
|
-
|
|
31861
|
-
|
|
31862
|
-
|
|
31863
|
-
|
|
31864
|
-
|
|
31865
|
-
|
|
31866
|
-
|
|
31867
|
-
|
|
31868
|
-
|
|
31869
|
-
|
|
31870
|
-
|
|
31871
|
-
|
|
31872
|
-
|
|
31873
|
-
|
|
31874
|
-
|
|
31875
|
-
|
|
31876
|
-
|
|
31877
|
-
|
|
31878
|
-
|
|
31879
|
-
};
|
|
31858
|
+
// const find_field_in_progUi = function (progUi, field_id) {
|
|
31859
|
+
// let found;
|
|
31860
|
+
// const iterate_progUi = function (node) {
|
|
31861
|
+
// for (let item of node) {
|
|
31862
|
+
// // if (item.tagName === "xu-panel") {
|
|
31863
|
+
// if (!_.isEmpty(item.attributes)) {
|
|
31864
|
+
// for (const [attr, val] of Object.entries(item.attributes)) {
|
|
31865
|
+
// // if (attr === "xu-exp:program" || attr === "xu-exp:xu-for") {
|
|
31866
|
+
// if (attr === 'xu-exp:program') {
|
|
31867
|
+
// found = val.includes('@' + field_id);
|
|
31868
|
+
// }
|
|
31869
|
+
// }
|
|
31870
|
+
// }
|
|
31871
|
+
// if (found) break;
|
|
31872
|
+
// // }
|
|
31873
|
+
// if (item.children) {
|
|
31874
|
+
// iterate_progUi(item.children);
|
|
31875
|
+
// }
|
|
31876
|
+
// }
|
|
31877
|
+
// };
|
|
31878
|
+
// iterate_progUi(progUi);
|
|
31879
|
+
// return found;
|
|
31880
|
+
// };
|
|
31880
31881
|
|
|
31881
31882
|
// // set panels_obj
|
|
31882
31883
|
// for await (const [elem_key, elem_val] of Object.entries($elm)) {
|