@xuda.io/runtime-bundle 1.0.939 → 1.0.940
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-bundle.js +5 -34
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +5 -34
- package/js/xuda-runtime-slim.min.es.js +5 -34
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +1 -1
- package/js/xuda-worker-bundle.js +1 -1
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -27534,33 +27534,6 @@ func.UI.worker.init = async function (SESSION_ID) {
|
|
|
27534
27534
|
}, 1000);
|
|
27535
27535
|
};
|
|
27536
27536
|
func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, paramsP, calling_job, elementP, dsSession, calling_trigger_prop) {
|
|
27537
|
-
// try {
|
|
27538
|
-
// let params = _.cloneDeep(paramsP);
|
|
27539
|
-
|
|
27540
|
-
// if (params?.elem_val?.$elm) {
|
|
27541
|
-
// params = _.cloneDeep(paramsP);
|
|
27542
|
-
// params.elem_val.elm_xu_ui_id = paramsP.elem_val.$elm.attr("xu-ui-id");
|
|
27543
|
-
// delete params.elem_val.$elm;
|
|
27544
|
-
// }
|
|
27545
|
-
|
|
27546
|
-
// func.UI.worker.ID.postMessage({
|
|
27547
|
-
// method: "add_to_queue",
|
|
27548
|
-
// params: {
|
|
27549
|
-
// SESSION_ID,
|
|
27550
|
-
// source,
|
|
27551
|
-
// functionP,
|
|
27552
|
-
// paramsP: params,
|
|
27553
|
-
// calling_job,
|
|
27554
|
-
// xu_ui_id: elementP?.attr("xu-ui-id") || "",
|
|
27555
|
-
// dsSession,
|
|
27556
|
-
// calling_trigger_prop,
|
|
27557
|
-
// },
|
|
27558
|
-
// });
|
|
27559
|
-
// } catch (error) {
|
|
27560
|
-
// debugger;
|
|
27561
|
-
// }
|
|
27562
|
-
|
|
27563
|
-
// return;
|
|
27564
27537
|
var obj = {
|
|
27565
27538
|
SESSION_ID,
|
|
27566
27539
|
source,
|
|
@@ -27572,12 +27545,7 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
27572
27545
|
calling_trigger_prop,
|
|
27573
27546
|
job_num: UI_WORKER_OBJ.num,
|
|
27574
27547
|
};
|
|
27575
|
-
|
|
27576
|
-
// if (typeof dsSessionP !== "undefined" && dsSessionP !== null) {
|
|
27577
|
-
// obj.prog_id = _ds.prog_id;
|
|
27578
|
-
// obj.parentDataSourceNo = _ds.parentDataSourceNo;
|
|
27579
|
-
// obj.nodeId = _ds.nodeId;
|
|
27580
|
-
// }
|
|
27548
|
+
|
|
27581
27549
|
if (functionP === 'execute_xu_all_attributes') {
|
|
27582
27550
|
const queue_key = source + '_' + functionP + '_' + (elementP?.attr('xu-ui-id') || '') + '_' + (paramsP?.fields_arr?.toString() || '');
|
|
27583
27551
|
|
|
@@ -27615,6 +27583,9 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
27615
27583
|
// UI_WORKER_OBJ.jobs.splice(0, 0, obj);
|
|
27616
27584
|
}
|
|
27617
27585
|
} else {
|
|
27586
|
+
// check case of xu-render if queue has child node of the element then delete job
|
|
27587
|
+
// check case of execute attributes that queue not contain the element then add to parallel queue
|
|
27588
|
+
|
|
27618
27589
|
UI_WORKER_OBJ.jobs.push(obj);
|
|
27619
27590
|
}
|
|
27620
27591
|
|
|
@@ -35014,7 +34985,7 @@ func.expression.get = async function (SESSION_ID, valP, dsSessionP, sourceP, row
|
|
|
35014
34985
|
}
|
|
35015
34986
|
if (typeof retP.value !== 'undefined') {
|
|
35016
34987
|
var_Arr[key].type = retP.type;
|
|
35017
|
-
var_Arr[key].value = typeof retP.value === 'string' && !retP.value.includes('<svg xmlns=') && retP.value.indexOf('\\') === -1 &&
|
|
34988
|
+
var_Arr[key].value = typeof retP.value === 'string' && !retP.value.includes('<svg xmlns=') && retP.value.indexOf('\\') === -1 && !['UI Attr EXP', 'update'].includes(sourceP) ? retP.value.replaceAll('"', '\\"') : retP.value; // new Apr 6 2025 fixing "\"how much?\"" // new Jul 29 25 to fix quil extra "\" " source!=="UI Attr EXP"
|
|
35018
34989
|
if ((val.value.indexOf('[') > -1) | (val.value.indexOf('.') > -1)) {
|
|
35019
34990
|
//get values from array '@var==="sss" && @var_B==="sss" && @obj.property===5 && @objA["value"]===123 | @objB["value"].property===1234'
|
|
35020
34991
|
var data = retP.prop;
|