@xuda.io/runtime-bundle 1.0.328 → 1.0.329

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.
@@ -25552,7 +25552,7 @@ func.utils.job_worker = function (session_id) {
25552
25552
  // }
25553
25553
  unlock();
25554
25554
  if (_session.WORKER_OBJ.jobs.length) {
25555
- for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs)) {
25555
+ for await (const [key, val] of Object.entries(_session.WORKER_OBJ.jobs.reverse())) {
25556
25556
  if (val.stat) {
25557
25557
  break;
25558
25558
  }
@@ -31854,29 +31854,29 @@ func.UI.screen.refresh_screen = async function (SESSION_ID, fields_changed_arr,
31854
31854
  // var panels_obj = {};
31855
31855
  const panels_obj = func.UI.utils.get_panels_from_dom(SESSION_ID, false);
31856
31856
 
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
- };
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
+ // };
31880
31880
 
31881
31881
  // // set panels_obj
31882
31882
  // for await (const [elem_key, elem_val] of Object.entries($elm)) {