@xuda.io/runtime-bundle 1.0.970 → 1.0.972

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.
@@ -8357,7 +8357,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8357
8357
 
8358
8358
  let last_job_in_queue = 0;
8359
8359
  // let run_stat;
8360
- const job_iterator = async function () {
8360
+ const job_iterator2 = async function () {
8361
8361
  let from_job_num_to_run = last_job_in_queue;
8362
8362
  last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
8363
8363
 
@@ -8387,7 +8387,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8387
8387
  }
8388
8388
  };
8389
8389
 
8390
- const job_iterator2 = async function () {
8390
+ const job_iterator = async function () {
8391
8391
  let from_job_num_to_run = last_job_in_queue;
8392
8392
  last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
8393
8393
 
@@ -8433,14 +8433,16 @@ func.UI.worker.init = async function (SESSION_ID) {
8433
8433
 
8434
8434
  // abort - if active job element exist in the current job ui (parent element changed)
8435
8435
  if (active_job_children_elements.includes(running_xu_ui_id)) {
8436
- $.each(active_job_children_elements, function (key, val) {
8437
- const $elm = $(`[xu-ui-id=${val}]`);
8438
- if (!$elm.length) return true;
8439
- if (!$elm.data().xuData) return true;
8440
- $elm.data().xuData.pending_to_delete = true;
8441
- });
8442
- await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8443
- break;
8436
+ if (val.functionP === 'execute_xu_render_attributes') {
8437
+ $.each(active_job_children_elements, function (key, val) {
8438
+ const $elm = $(`[xu-ui-id=${val}]`);
8439
+ if (!$elm.length) return true;
8440
+ if (!$elm.data().xuData) return true;
8441
+ $elm.data().xuData.pending_to_delete = true;
8442
+ });
8443
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8444
+ break;
8445
+ }
8444
8446
  }
8445
8447
  }
8446
8448
 
@@ -11467,7 +11469,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
11467
11469
  const elm_data = $(this).data();
11468
11470
  if (!elm_data.xuData) return true;
11469
11471
 
11470
- if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
11472
+ // if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
11471
11473
 
11472
11474
  let attr = [];
11473
11475
 
@@ -8358,7 +8358,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8358
8358
 
8359
8359
  let last_job_in_queue = 0;
8360
8360
  // let run_stat;
8361
- const job_iterator = async function () {
8361
+ const job_iterator2 = async function () {
8362
8362
  let from_job_num_to_run = last_job_in_queue;
8363
8363
  last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
8364
8364
 
@@ -8388,7 +8388,7 @@ func.UI.worker.init = async function (SESSION_ID) {
8388
8388
  }
8389
8389
  };
8390
8390
 
8391
- const job_iterator2 = async function () {
8391
+ const job_iterator = async function () {
8392
8392
  let from_job_num_to_run = last_job_in_queue;
8393
8393
  last_job_in_queue = UI_WORKER_OBJ.num - from_job_num_to_run;
8394
8394
 
@@ -8434,14 +8434,16 @@ func.UI.worker.init = async function (SESSION_ID) {
8434
8434
 
8435
8435
  // abort - if active job element exist in the current job ui (parent element changed)
8436
8436
  if (active_job_children_elements.includes(running_xu_ui_id)) {
8437
- $.each(active_job_children_elements, function (key, val) {
8438
- const $elm = $(`[xu-ui-id=${val}]`);
8439
- if (!$elm.length) return true;
8440
- if (!$elm.data().xuData) return true;
8441
- $elm.data().xuData.pending_to_delete = true;
8442
- });
8443
- await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8444
- break;
8437
+ if (val.functionP === 'execute_xu_render_attributes') {
8438
+ $.each(active_job_children_elements, function (key, val) {
8439
+ const $elm = $(`[xu-ui-id=${val}]`);
8440
+ if (!$elm.length) return true;
8441
+ if (!$elm.data().xuData) return true;
8442
+ $elm.data().xuData.pending_to_delete = true;
8443
+ });
8444
+ await func.UI.worker.delete_job(SESSION_ID, running_job_obj.job_num);
8445
+ break;
8446
+ }
8445
8447
  }
8446
8448
  }
8447
8449
 
@@ -9194,7 +9196,7 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
9194
9196
  const elm_data = $(this).data();
9195
9197
  if (!elm_data.xuData) return true;
9196
9198
 
9197
- if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
9199
+ // if (typeof dsSession_changed !== 'undefined' && elm_data.xuData.paramsP && elm_data.xuData.paramsP.dsSessionP < dsSession_changed) return true;
9198
9200
 
9199
9201
  let attr = [];
9200
9202