@xuda.io/runtime-bundle 1.0.721 → 1.0.723
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 +2 -2
- 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 +2 -2
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +10 -10
- package/js/xuda-worker-bundle.js +10 -10
- 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);
|
|
@@ -15291,7 +15291,7 @@ func.UI.main.embed_prog_execute = async function (SESSION_ID, prog) {
|
|
|
15291
15291
|
var params_obj = {};
|
|
15292
15292
|
if (_prog?.properties?.progParams) {
|
|
15293
15293
|
for (const [key, val] of Object.entries(_prog.properties.progParams)) {
|
|
15294
|
-
if (val.data.dir !== 'in') continue;
|
|
15294
|
+
// if (val.data.dir !== 'in') continue;
|
|
15295
15295
|
if (typeof _session.url_params?.[val.data.parameter] !== 'undefined') {
|
|
15296
15296
|
params_obj[val.data.parameter] = _session.url_params?.[val.data.parameter];
|
|
15297
15297
|
|
|
@@ -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);
|
|
@@ -15292,7 +15292,7 @@ func.UI.main.embed_prog_execute = async function (SESSION_ID, prog) {
|
|
|
15292
15292
|
var params_obj = {};
|
|
15293
15293
|
if (_prog?.properties?.progParams) {
|
|
15294
15294
|
for (const [key, val] of Object.entries(_prog.properties.progParams)) {
|
|
15295
|
-
if (val.data.dir !== 'in') continue;
|
|
15295
|
+
// if (val.data.dir !== 'in') continue;
|
|
15296
15296
|
if (typeof _session.url_params?.[val.data.parameter] !== 'undefined') {
|
|
15297
15297
|
params_obj[val.data.parameter] = _session.url_params?.[val.data.parameter];
|
|
15298
15298
|
|