@xuda.io/runtime-bundle 1.0.972 → 1.0.974

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.
@@ -27675,28 +27675,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
27675
27675
  return;
27676
27676
  }
27677
27677
  }
27678
- if (calling_job) {
27679
- var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
27680
27678
 
27681
- if (job_index === null || typeof job_index === 'undefined') return;
27679
+ // if (calling_job) {
27680
+ // var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
27682
27681
 
27683
- try {
27684
- if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
27685
- UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
27686
- }
27687
- UI_WORKER_OBJ.jobs[job_index].splice_count++;
27688
- UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
27689
- // }
27690
- } catch (e) {
27691
- console.error('bug');
27692
- // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
27693
- }
27694
- } else {
27695
- // check case of xu-render if queue has child node of the element then delete job
27696
- // check case of execute attributes that queue not contain the element then add to parallel queue
27682
+ // if (job_index === null || typeof job_index === 'undefined') return;
27697
27683
 
27698
- UI_WORKER_OBJ.jobs.push(obj);
27699
- }
27684
+ // try {
27685
+ // if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
27686
+ // UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
27687
+ // }
27688
+ // UI_WORKER_OBJ.jobs[job_index].splice_count++;
27689
+ // UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
27690
+ // // }
27691
+ // } catch (e) {
27692
+ // console.error('bug');
27693
+ // // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
27694
+ // }
27695
+ // } else {
27696
+ // // check case of xu-render if queue has child node of the element then delete job
27697
+ // // check case of execute attributes that queue not contain the element then add to parallel queue
27698
+
27699
+ // UI_WORKER_OBJ.jobs.push(obj);
27700
+ // }
27701
+
27702
+ UI_WORKER_OBJ.jobs.push(obj);
27700
27703
 
27701
27704
  UI_WORKER_OBJ.num++;
27702
27705
  return UI_WORKER_OBJ.num - 1;
@@ -31155,7 +31158,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
31155
31158
  const elm_data = $(this).data();
31156
31159
  if (!elm_data.xuData) return true;
31157
31160
 
31158
- // if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
31161
+ if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
31159
31162
 
31160
31163
  let attr = [];
31161
31164
 
@@ -32134,6 +32137,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
32134
32137
  let $xurender = $('<xurender>')
32135
32138
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
32136
32139
  .attr('xu-ui-id', $elm.attr('xu-ui-id'))
32140
+ .attr('hidden', true)
32137
32141
  .appendTo($container)
32138
32142
  .hide();
32139
32143
  let original_data_obj = {