@xuda.io/runtime-bundle 1.0.707 → 1.0.708
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 +13 -0
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +13 -0
- package/js/xuda-runtime-slim.min.es.js +13 -0
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +13 -0
- package/js/xuda-worker-bundle.js +13 -0
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -4941,6 +4941,19 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4941
4941
|
datasource_changed[0], // refresh the current datasource only
|
|
4942
4942
|
);
|
|
4943
4943
|
}
|
|
4944
|
+
///// REFRESH PARAMETERS IN
|
|
4945
|
+
if (fields_changed.length) {
|
|
4946
|
+
for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4947
|
+
if (_ds.args.parameters_raw_obj) {
|
|
4948
|
+
for (const [key, val] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
4949
|
+
if (fields_changed.includes(val)) {
|
|
4950
|
+
let ret = await func.expression.get(SESSION_ID, '@' + val, _dsSession, 'parameters');
|
|
4951
|
+
_ds.args.parameters_obj_inP[val] = ret.result;
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4944
4957
|
}
|
|
4945
4958
|
resolve();
|
|
4946
4959
|
});
|
|
@@ -4942,6 +4942,19 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
4942
4942
|
datasource_changed[0], // refresh the current datasource only
|
|
4943
4943
|
);
|
|
4944
4944
|
}
|
|
4945
|
+
///// REFRESH PARAMETERS IN
|
|
4946
|
+
if (fields_changed.length) {
|
|
4947
|
+
for (const [_dsSession, _ds] of Object.entries(_session.DS_GLB)) {
|
|
4948
|
+
if (_ds.args.parameters_raw_obj) {
|
|
4949
|
+
for (const [key, val] of Object.entries(_ds.args.parameters_raw_obj)) {
|
|
4950
|
+
if (fields_changed.includes(val)) {
|
|
4951
|
+
let ret = await func.expression.get(SESSION_ID, '@' + val, _dsSession, 'parameters');
|
|
4952
|
+
_ds.args.parameters_obj_inP[val] = ret.result;
|
|
4953
|
+
}
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
}
|
|
4945
4958
|
}
|
|
4946
4959
|
resolve();
|
|
4947
4960
|
});
|