@xuda.io/runtime-bundle 1.0.710 → 1.0.712
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 -4
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +5 -4
- package/js/xuda-runtime-slim.min.es.js +5 -4
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +4 -4
- package/js/xuda-worker-bundle.js +4 -4
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4157,7 +4157,7 @@ func.datasource.run_events_functions = async function (SESSION_ID, dataSourceSes
|
|
|
4157
4157
|
clearInterval(interval);
|
|
4158
4158
|
resolve(job_num);
|
|
4159
4159
|
}
|
|
4160
|
-
if (i >
|
|
4160
|
+
if (i > 50) {
|
|
4161
4161
|
console.error('deadlock detected');
|
|
4162
4162
|
clearInterval(interval);
|
|
4163
4163
|
resolve(job_num);
|
|
@@ -4900,9 +4900,9 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4900
4900
|
|
|
4901
4901
|
for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4902
4902
|
if (_ds.args.parameters_raw_obj) {
|
|
4903
|
-
for (const [key,
|
|
4904
|
-
if (
|
|
4905
|
-
let ret = await func.expression.get(SESSION_ID,
|
|
4903
|
+
for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
4904
|
+
if (exp.includes(field_id)) {
|
|
4905
|
+
let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
|
|
4906
4906
|
_ds.in_parameters[key].value = ret.result;
|
|
4907
4907
|
}
|
|
4908
4908
|
}
|
|
@@ -8540,6 +8540,7 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8540
8540
|
obj.queue_key = queue_key;
|
|
8541
8541
|
|
|
8542
8542
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8543
|
+
return false;
|
|
8543
8544
|
if (e.queue_key === queue_key) {
|
|
8544
8545
|
return e;
|
|
8545
8546
|
}
|
|
@@ -4158,7 +4158,7 @@ func.datasource.run_events_functions = async function (SESSION_ID, dataSourceSes
|
|
|
4158
4158
|
clearInterval(interval);
|
|
4159
4159
|
resolve(job_num);
|
|
4160
4160
|
}
|
|
4161
|
-
if (i >
|
|
4161
|
+
if (i > 50) {
|
|
4162
4162
|
console.error('deadlock detected');
|
|
4163
4163
|
clearInterval(interval);
|
|
4164
4164
|
resolve(job_num);
|
|
@@ -4901,9 +4901,9 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4901
4901
|
|
|
4902
4902
|
for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4903
4903
|
if (_ds.args.parameters_raw_obj) {
|
|
4904
|
-
for (const [key,
|
|
4905
|
-
if (
|
|
4906
|
-
let ret = await func.expression.get(SESSION_ID,
|
|
4904
|
+
for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
4905
|
+
if (exp.includes(field_id)) {
|
|
4906
|
+
let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
|
|
4907
4907
|
_ds.in_parameters[key].value = ret.result;
|
|
4908
4908
|
}
|
|
4909
4909
|
}
|
|
@@ -8541,6 +8541,7 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8541
8541
|
obj.queue_key = queue_key;
|
|
8542
8542
|
|
|
8543
8543
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8544
|
+
return false;
|
|
8544
8545
|
if (e.queue_key === queue_key) {
|
|
8545
8546
|
return e;
|
|
8546
8547
|
}
|