@xuda.io/runtime-bundle 1.0.711 → 1.0.713
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 +12 -12
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +12 -12
- package/js/xuda-runtime-slim.min.es.js +12 -12
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +11 -12
- package/js/xuda-worker-bundle.js +11 -12
- 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);
|
|
@@ -4897,17 +4897,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4897
4897
|
fields_changed.push(field_id);
|
|
4898
4898
|
|
|
4899
4899
|
///// REFRESH PARAMETERS IN
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
}
|
|
4900
|
+
// for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4901
|
+
// if (_ds.args.parameters_raw_obj) {
|
|
4902
|
+
// for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
4903
|
+
// if (exp.includes(field_id)) {
|
|
4904
|
+
// let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
|
|
4905
|
+
// _ds.in_parameters[key].value = ret.result;
|
|
4906
|
+
// }
|
|
4907
|
+
// }
|
|
4908
|
+
// }
|
|
4909
|
+
// }
|
|
4911
4910
|
}
|
|
4912
4911
|
if (!datasource_changed.includes(dataSource)) {
|
|
4913
4912
|
datasource_changed.push(dataSource);
|
|
@@ -8540,6 +8539,7 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8540
8539
|
obj.queue_key = queue_key;
|
|
8541
8540
|
|
|
8542
8541
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8542
|
+
return false;
|
|
8543
8543
|
if (e.queue_key === queue_key) {
|
|
8544
8544
|
return e;
|
|
8545
8545
|
}
|
|
@@ -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);
|
|
@@ -4898,17 +4898,16 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4898
4898
|
fields_changed.push(field_id);
|
|
4899
4899
|
|
|
4900
4900
|
///// REFRESH PARAMETERS IN
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
}
|
|
4901
|
+
// for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4902
|
+
// if (_ds.args.parameters_raw_obj) {
|
|
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
|
+
// _ds.in_parameters[key].value = ret.result;
|
|
4907
|
+
// }
|
|
4908
|
+
// }
|
|
4909
|
+
// }
|
|
4910
|
+
// }
|
|
4912
4911
|
}
|
|
4913
4912
|
if (!datasource_changed.includes(dataSource)) {
|
|
4914
4913
|
datasource_changed.push(dataSource);
|
|
@@ -8541,6 +8540,7 @@ func.UI.worker.add_to_queue = async function (SESSION_ID, source, functionP, par
|
|
|
8541
8540
|
obj.queue_key = queue_key;
|
|
8542
8541
|
|
|
8543
8542
|
let exist_job = UI_WORKER_OBJ.jobs.find((e) => {
|
|
8543
|
+
return false;
|
|
8544
8544
|
if (e.queue_key === queue_key) {
|
|
8545
8545
|
return e;
|
|
8546
8546
|
}
|