@xuda.io/runtime-bundle 1.0.970 → 1.0.971
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.
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
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
|
|
|
@@ -11618,11 +11620,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
11618
11620
|
performed_render = true;
|
|
11619
11621
|
|
|
11620
11622
|
// mark children items ignore list
|
|
11621
|
-
$.each(elem_val.$elm.find('*'), function (key, val) {
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
});
|
|
11623
|
+
// $.each(elem_val.$elm.find('*'), function (key, val) {
|
|
11624
|
+
// if ($(val).data().xuData) {
|
|
11625
|
+
// $(val).data().xuData.pending_to_delete = true;
|
|
11626
|
+
// }
|
|
11627
|
+
// });
|
|
11626
11628
|
|
|
11627
11629
|
if (glb.DEBUG_MODE) {
|
|
11628
11630
|
console.info('execute_xu_render_attributes', obj);
|
|
@@ -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
|
|
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
|
|
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
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
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
|
|
|
@@ -9345,11 +9347,11 @@ func.UI.screen.refresh_xu_attributes = async function (SESSION_ID, fields_arr, j
|
|
|
9345
9347
|
performed_render = true;
|
|
9346
9348
|
|
|
9347
9349
|
// mark children items ignore list
|
|
9348
|
-
$.each(elem_val.$elm.find('*'), function (key, val) {
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
});
|
|
9350
|
+
// $.each(elem_val.$elm.find('*'), function (key, val) {
|
|
9351
|
+
// if ($(val).data().xuData) {
|
|
9352
|
+
// $(val).data().xuData.pending_to_delete = true;
|
|
9353
|
+
// }
|
|
9354
|
+
// });
|
|
9353
9355
|
|
|
9354
9356
|
if (glb.DEBUG_MODE) {
|
|
9355
9357
|
console.info('execute_xu_render_attributes', obj);
|