@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.
@@ -8540,28 +8540,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
8540
8540
  return;
8541
8541
  }
8542
8542
  }
8543
- if (calling_job) {
8544
- var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8545
8543
 
8546
- 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);
8547
8546
 
8548
- try {
8549
- if (!UI_WORKER_OBJ.jobs[job_index].splice_count) {
8550
- UI_WORKER_OBJ.jobs[job_index].splice_count = 0;
8551
- }
8552
- UI_WORKER_OBJ.jobs[job_index].splice_count++;
8553
- UI_WORKER_OBJ.jobs.splice(job_index + UI_WORKER_OBJ.jobs[job_index].splice_count, 0, obj);
8554
- // }
8555
- } catch (e) {
8556
- console.error('bug');
8557
- // UI_WORKER_OBJ.jobs.splice(0, 0, obj);
8558
- }
8559
- } else {
8560
- // check case of xu-render if queue has child node of the element then delete job
8561
- // 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;
8562
8548
 
8563
- UI_WORKER_OBJ.jobs.push(obj);
8564
- }
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);
8565
8568
 
8566
8569
  UI_WORKER_OBJ.num++;
8567
8570
  return UI_WORKER_OBJ.num - 1;
@@ -11469,7 +11472,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11469
11472
  const elm_data = $(this).data();
11470
11473
  if (!elm_data.xuData) return true;
11471
11474
 
11472
- // if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
11475
+ if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
11473
11476
 
11474
11477
  let attr = [];
11475
11478
 
@@ -12448,6 +12451,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
12448
12451
  let $xurender = $('<xurender>')
12449
12452
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
12450
12453
  .attr('xu-ui-id', $elm.attr('xu-ui-id'))
12454
+ .attr('hidden', true)
12451
12455
  .appendTo($container)
12452
12456
  .hide();
12453
12457
  let original_data_obj = {
@@ -8541,28 +8541,31 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
8541
8541
  return;
8542
8542
  }
8543
8543
  }
8544
- if (calling_job) {
8545
- var job_index = func.UI.worker.find_job_index(SESSION_ID, calling_job);
8546
8544
 
8547
- 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);
8548
8547
 
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
8548
+ // if (job_index === null || typeof job_index === 'undefined') return;
8563
8549
 
8564
- UI_WORKER_OBJ.jobs.push(obj);
8565
- }
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);
8566
8569
 
8567
8570
  UI_WORKER_OBJ.num++;
8568
8571
  return UI_WORKER_OBJ.num - 1;
@@ -9196,7 +9199,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9196
9199
  const elm_data = $(this).data();
9197
9200
  if (!elm_data.xuData) return true;
9198
9201
 
9199
- // if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
9202
+ if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
9200
9203
 
9201
9204
  let attr = [];
9202
9205
 
@@ -10175,6 +10178,7 @@ func.UI.screen.execute_xu_functions = async function (SESSION_ID, is_skeleton, $
10175
10178
  let $xurender = $('<xurender>')
10176
10179
  // .attr('xu-ui-id', nodeP.id + '_' + $elm.data().xuData.recordid)
10177
10180
  .attr('xu-ui-id', $elm.attr('xu-ui-id'))
10181
+ .attr('hidden', true)
10178
10182
  .appendTo($container)
10179
10183
  .hide();
10180
10184
  let original_data_obj = {