@xuda.io/runtime-bundle 1.0.722 → 1.0.724
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 +11 -11
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +11 -11
- package/js/xuda-runtime-slim.min.es.js +11 -11
- 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 -11
- package/js/xuda-worker-bundle.js +11 -11
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4897,16 +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
|
-
|
|
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
|
+
}
|
|
4910
4910
|
}
|
|
4911
4911
|
if (!datasource_changed.includes(dataSource)) {
|
|
4912
4912
|
datasource_changed.push(dataSource);
|
|
@@ -9401,7 +9401,7 @@ func.events.execute = async function (
|
|
|
9401
9401
|
var params_obj = {};
|
|
9402
9402
|
if (_prog?.properties?.progParams) {
|
|
9403
9403
|
for await (const [key, val] of Object.entries(_prog.properties.progParams)) {
|
|
9404
|
-
if (
|
|
9404
|
+
// if (val.data.dir === 'in') continue;
|
|
9405
9405
|
if (typeof args.parameters_obj_inP?.[val.data.parameter] !== 'undefined') {
|
|
9406
9406
|
if (args.parameters_obj_inP?.[val.data.parameter].fx) {
|
|
9407
9407
|
let ret = await func.expression.get(SESSION_ID, args.parameters_obj_inP?.[val.data.parameter].fx, dsSession, 'parameters');
|
|
@@ -4898,16 +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
|
-
|
|
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
|
+
}
|
|
4911
4911
|
}
|
|
4912
4912
|
if (!datasource_changed.includes(dataSource)) {
|
|
4913
4913
|
datasource_changed.push(dataSource);
|
|
@@ -13490,7 +13490,7 @@ func.events.execute = async function (
|
|
|
13490
13490
|
var params_obj = {};
|
|
13491
13491
|
if (_prog?.properties?.progParams) {
|
|
13492
13492
|
for await (const [key, val] of Object.entries(_prog.properties.progParams)) {
|
|
13493
|
-
if (
|
|
13493
|
+
// if (val.data.dir === 'in') continue;
|
|
13494
13494
|
if (typeof args.parameters_obj_inP?.[val.data.parameter] !== 'undefined') {
|
|
13495
13495
|
if (args.parameters_obj_inP?.[val.data.parameter].fx) {
|
|
13496
13496
|
let ret = await func.expression.get(SESSION_ID, args.parameters_obj_inP?.[val.data.parameter].fx, dsSession, 'parameters');
|