@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.
@@ -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 func.UI.screen.refresh_xu_attributes(SESSION_ID, fields_changed);
30466
- await func.UI.screen.refresh_screen(
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
- let found;
31859
- const iterate_progUi = function (node) {
31860
- for (let item of node) {
31861
- // if (item.tagName === "xu-panel") {
31862
- if (!_.isEmpty(item.attributes)) {
31863
- for (const [attr, val] of Object.entries(item.attributes)) {
31864
- // if (attr === "xu-exp:program" || attr === "xu-exp:xu-for") {
31865
- if (attr === 'xu-exp:program') {
31866
- found = val.includes('@' + field_id);
31867
- }
31868
- }
31869
- }
31870
- if (found) break;
31871
- // }
31872
- if (item.children) {
31873
- iterate_progUi(item.children);
31874
- }
31875
- }
31876
- };
31877
- iterate_progUi(progUi);
31878
- return found;
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)) {