@xuda.io/runtime-bundle 1.0.973 → 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.
@@ -8540,29 +8540,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
8540
8540
  return;
8541
8541
  }
8542
8542
  }
8543
- calling_job = false;
8544
- if (calling_job) {
8545
- var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8546
8543
 
8547
- if (job_index === null || typeof job_index === 'undefined') return;
8544
+ // if (calling_job) {
8545
+ // var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8548
8546
 
8549
- try {
8550
- if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
8551
- UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
8552
- }
8553
- UI_WORKER_OBJ.jobs[job_index].splice_count++;
8554
- UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
8555
- // }
8556
- } catch (e) {
8557
- console.error('bug');
8558
- // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
8559
- }
8560
- } else {
8561
- // check case of xu-render if queue has child node of the element then delete job
8562
- // check case of execute attributes that queue not contain the element then add to parallel queue
8547
+ // if (job_index === null || typeof job_index === 'undefined') return;
8563
8548
 
8564
- UI_WORKER_OBJ.jobs.push(obj);
8565
- }
8549
+ // try {
8550
+ // if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
8551
+ // UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
8552
+ // }
8553
+ // UI_WORKER_OBJ.jobs[job_index].splice_count++;
8554
+ // UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
8555
+ // // }
8556
+ // } catch (e) {
8557
+ // console.error('bug');
8558
+ // // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
8559
+ // }
8560
+ // } else {
8561
+ // // check case of xu-render if queue has child node of the element then delete job
8562
+ // // check case of execute attributes that queue not contain the element then add to parallel queue
8563
+
8564
+ // UI_WORKER_OBJ.jobs.push(obj);
8565
+ // }
8566
+
8567
+ UI_WORKER_OBJ.jobs.push(obj);
8566
8568
 
8567
8569
  UI_WORKER_OBJ.num++;
8568
8570
  return UI_WORKER_OBJ.num - 1;
@@ -12449,6 +12451,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12449
12451
  let $xurender = $('<xurender>')
12450
12452
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
12451
12453
  .attr('xu-ui-id', $elm.attr('xu-ui-id'))
12454
+ .attr('hidden', true)
12452
12455
  .appendTo($container)
12453
12456
  .hide();
12454
12457
  let original_data_obj = {
@@ -8541,29 +8541,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
8541
8541
  return;
8542
8542
  }
8543
8543
  }
8544
- calling_job = false;
8545
- if (calling_job) {
8546
- var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8547
8544
 
8548
- if (job_index === null || typeof job_index === 'undefined') return;
8545
+ // if (calling_job) {
8546
+ // var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8549
8547
 
8550
- try {
8551
- if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
8552
- UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
8553
- }
8554
- UI_WORKER_OBJ.jobs[job_index].splice_count++;
8555
- UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
8556
- // }
8557
- } catch (e) {
8558
- console.error('bug');
8559
- // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
8560
- }
8561
- } else {
8562
- // check case of xu-render if queue has child node of the element then delete job
8563
- // check case of execute attributes that queue not contain the element then add to parallel queue
8548
+ // if (job_index === null || typeof job_index === 'undefined') return;
8564
8549
 
8565
- UI_WORKER_OBJ.jobs.push(obj);
8566
- }
8550
+ // try {
8551
+ // if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
8552
+ // UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
8553
+ // }
8554
+ // UI_WORKER_OBJ.jobs[job_index].splice_count++;
8555
+ // UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
8556
+ // // }
8557
+ // } catch (e) {
8558
+ // console.error('bug');
8559
+ // // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
8560
+ // }
8561
+ // } else {
8562
+ // // check case of xu-render if queue has child node of the element then delete job
8563
+ // // check case of execute attributes that queue not contain the element then add to parallel queue
8564
+
8565
+ // UI_WORKER_OBJ.jobs.push(obj);
8566
+ // }
8567
+
8568
+ UI_WORKER_OBJ.jobs.push(obj);
8567
8569
 
8568
8570
  UI_WORKER_OBJ.num++;
8569
8571
  return UI_WORKER_OBJ.num - 1;
@@ -10176,6 +10178,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10176
10178
  let $xurender = $('<xurender>')
10177
10179
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
10178
10180
  .attr('xu-ui-id', $elm.attr('xu-ui-id'))
10181
+ .attr('hidden', true)
10179
10182
  .appendTo($container)
10180
10183
  .hide();
10181
10184
  let original_data_obj = {