@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
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -5209,8 +5209,9 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5209
5209
|
}
|
|
5210
5210
|
///// REFRESH SCREEN
|
|
5211
5211
|
if (!avoid_refresh && fields_changed.length) {
|
|
5212
|
-
await
|
|
5213
|
-
|
|
5212
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
5213
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
5214
|
+
func.UI.screen.refresh_screen(
|
|
5214
5215
|
SESSION_ID,
|
|
5215
5216
|
fields_changed,
|
|
5216
5217
|
null,
|
|
@@ -11829,29 +11830,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
11829
11830
|
// var panels_obj = {};
|
|
11830
11831
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
|
|
11831
11832
|
|
|
11832
|
-
const find_field_in_progUi = function (progUi, field_id) {
|
|
11833
|
-
|
|
11834
|
-
|
|
11835
|
-
|
|
11836
|
-
|
|
11837
|
-
|
|
11838
|
-
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11847
|
-
|
|
11848
|
-
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
};
|
|
11833
|
+
// const find_field_in_progUi = function (progUi, field_id) {
|
|
11834
|
+
// let found;
|
|
11835
|
+
// const iterate_progUi = function (node) {
|
|
11836
|
+
// for (let item of node) {
|
|
11837
|
+
// // if (item.tagName === "xu-panel") {
|
|
11838
|
+
// if (!_.isEmpty(item.attributes)) {
|
|
11839
|
+
// for (const [attr, val] of Object.entries(item.attributes)) {
|
|
11840
|
+
// // if (attr === "xu-exp:program" || attr === "xu-exp:xu-for") {
|
|
11841
|
+
// if (attr === 'xu-exp:program') {
|
|
11842
|
+
// found = val.includes('@' + field_id);
|
|
11843
|
+
// }
|
|
11844
|
+
// }
|
|
11845
|
+
// }
|
|
11846
|
+
// if (found) break;
|
|
11847
|
+
// // }
|
|
11848
|
+
// if (item.children) {
|
|
11849
|
+
// iterate_progUi(item.children);
|
|
11850
|
+
// }
|
|
11851
|
+
// }
|
|
11852
|
+
// };
|
|
11853
|
+
// iterate_progUi(progUi);
|
|
11854
|
+
// return found;
|
|
11855
|
+
// };
|
|
11855
11856
|
|
|
11856
11857
|
// // set panels_obj
|
|
11857
11858
|
// for await (const [elem_key, elem_val] of Object.entries($elm)) {
|
|
@@ -5210,8 +5210,9 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5210
5210
|
}
|
|
5211
5211
|
///// REFRESH SCREEN
|
|
5212
5212
|
if (!avoid_refresh && fields_changed.length) {
|
|
5213
|
-
await
|
|
5214
|
-
|
|
5213
|
+
// await removed from the below function cause to dead lock Mar 3 25
|
|
5214
|
+
func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
|
|
5215
|
+
func.UI.screen.refresh_screen(
|
|
5215
5216
|
SESSION_ID,
|
|
5216
5217
|
fields_changed,
|
|
5217
5218
|
null,
|
|
@@ -9895,29 +9896,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
|
|
|
9895
9896
|
// var panels_obj = {};
|
|
9896
9897
|
const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
|
|
9897
9898
|
|
|
9898
|
-
const find_field_in_progUi = function (progUi, field_id) {
|
|
9899
|
-
|
|
9900
|
-
|
|
9901
|
-
|
|
9902
|
-
|
|
9903
|
-
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
|
|
9908
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9913
|
-
|
|
9914
|
-
|
|
9915
|
-
|
|
9916
|
-
|
|
9917
|
-
|
|
9918
|
-
|
|
9919
|
-
|
|
9920
|
-
};
|
|
9899
|
+
// const find_field_in_progUi = function (progUi, field_id) {
|
|
9900
|
+
// let found;
|
|
9901
|
+
// const iterate_progUi = function (node) {
|
|
9902
|
+
// for (let item of node) {
|
|
9903
|
+
// // if (item.tagName === "xu-panel") {
|
|
9904
|
+
// if (!_.isEmpty(item.attributes)) {
|
|
9905
|
+
// for (const [attr, val] of Object.entries(item.attributes)) {
|
|
9906
|
+
// // if (attr === "xu-exp:program" || attr === "xu-exp:xu-for") {
|
|
9907
|
+
// if (attr === 'xu-exp:program') {
|
|
9908
|
+
// found = val.includes('@' + field_id);
|
|
9909
|
+
// }
|
|
9910
|
+
// }
|
|
9911
|
+
// }
|
|
9912
|
+
// if (found) break;
|
|
9913
|
+
// // }
|
|
9914
|
+
// if (item.children) {
|
|
9915
|
+
// iterate_progUi(item.children);
|
|
9916
|
+
// }
|
|
9917
|
+
// }
|
|
9918
|
+
// };
|
|
9919
|
+
// iterate_progUi(progUi);
|
|
9920
|
+
// return found;
|
|
9921
|
+
// };
|
|
9921
9922
|
|
|
9922
9923
|
// // set panels_obj
|
|
9923
9924
|
// for await (const [elem_key, elem_val] of Object.entries($elm)) {
|