@xuda.io/runtime-bundle 1.0.709 → 1.0.711
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 +26 -13
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +26 -13
- package/js/xuda-runtime-slim.min.es.js +26 -13
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +26 -13
- package/js/xuda-worker-bundle.js +26 -13
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30004,6 +30004,19 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30004
30004
|
|
|
30005
30005
|
if (!fields_changed.includes(field_id)) {
|
|
30006
30006
|
fields_changed.push(field_id);
|
|
30007
|
+
|
|
30008
|
+
///// REFRESH PARAMETERS IN
|
|
30009
|
+
|
|
30010
|
+
for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
30011
|
+
if (_ds.args.parameters_raw_obj) {
|
|
30012
|
+
for (const [key, exp] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
30013
|
+
if (exp.includes(field_id)) {
|
|
30014
|
+
let ret = await func.expression.get(SESSION_ID, exp, _dsSession, 'parameters');
|
|
30015
|
+
_ds.in_parameters[key].value = ret.result;
|
|
30016
|
+
}
|
|
30017
|
+
}
|
|
30018
|
+
}
|
|
30019
|
+
}
|
|
30007
30020
|
}
|
|
30008
30021
|
if (!datasource_changed.includes(dataSource)) {
|
|
30009
30022
|
datasource_changed.push(dataSource);
|
|
@@ -30050,19 +30063,19 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30050
30063
|
datasource_changed[0], // refresh the current datasource only
|
|
30051
30064
|
);
|
|
30052
30065
|
}
|
|
30053
|
-
///// REFRESH PARAMETERS IN
|
|
30054
|
-
if (fields_changed.length) {
|
|
30055
|
-
|
|
30056
|
-
|
|
30057
|
-
|
|
30058
|
-
|
|
30059
|
-
|
|
30060
|
-
|
|
30061
|
-
|
|
30062
|
-
|
|
30063
|
-
|
|
30064
|
-
|
|
30065
|
-
}
|
|
30066
|
+
// ///// REFRESH PARAMETERS IN
|
|
30067
|
+
// if (fields_changed.length) {
|
|
30068
|
+
// for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
30069
|
+
// if (_ds.args.parameters_raw_obj) {
|
|
30070
|
+
// for (const [key, val] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
30071
|
+
// if (fields_changed.includes(val)) {
|
|
30072
|
+
// let ret = await func.expression.get(SESSION_ID, '@' + val, _dsSession, 'parameters');
|
|
30073
|
+
// _ds.in_parameters[val].value = ret.result;
|
|
30074
|
+
// }
|
|
30075
|
+
// }
|
|
30076
|
+
// }
|
|
30077
|
+
// }
|
|
30078
|
+
// }
|
|
30066
30079
|
}
|
|
30067
30080
|
resolve();
|
|
30068
30081
|
});
|