@xuda.io/runtime-bundle 1.0.300 → 1.0.302
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 +14 -11
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-mini-bundle.js +1 -1
- package/js/xuda-runtime-mini-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +14 -11
- package/js/xuda-runtime-slim.min.es.js +14 -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 +14 -11
- package/js/xuda-worker-bundle.js +14 -11
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -25777,7 +25777,7 @@ func.utils.ws_worker.functions = {
|
|
|
25777
25777
|
);
|
|
25778
25778
|
|
|
25779
25779
|
if (show_log) console.log('DATASOURCE EXECUTION DONE ' + ret.dsSessionP + ' ' + _session.DS_GLB[ret.dsSessionP]?.tree_obj?.menuName || '' + ' SESSION_ID: ' + SESSION_ID, APP_OBJ[_session.app_id].app_name);
|
|
25780
|
-
var obj = func.utils.clean_returned_datasource(SESSION_ID, ret?.dsSessionP
|
|
25780
|
+
var obj = func.utils.clean_returned_datasource(SESSION_ID, ret?.dsSessionP);
|
|
25781
25781
|
obj.dataSourceSessionGlobal = _session.dataSourceSessionGlobal;
|
|
25782
25782
|
|
|
25783
25783
|
worker_post_message({
|
|
@@ -30496,18 +30496,21 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNo
|
|
|
30496
30496
|
} catch (err) {
|
|
30497
30497
|
// console.error(err);
|
|
30498
30498
|
}
|
|
30499
|
+
const datasetOutputField = ds?.progDataSource?.datasetOutputField;
|
|
30500
|
+
if (datasetOutputField) {
|
|
30501
|
+
let ret_get_value = await func.datasource.get_value(SESSION_ID, datasetOutputField, _ds.dsSession);
|
|
30502
|
+
if (ret_get_value.found) {
|
|
30503
|
+
let datasource_changes = {};
|
|
30499
30504
|
|
|
30500
|
-
|
|
30501
|
-
|
|
30502
|
-
|
|
30503
|
-
|
|
30504
|
-
|
|
30505
|
-
}
|
|
30506
|
-
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
30507
|
-
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
30505
|
+
if (!datasource_changes[ret_get_value.dsSessionP]) {
|
|
30506
|
+
datasource_changes[ret_get_value.dsSessionP] = {};
|
|
30507
|
+
}
|
|
30508
|
+
if (!datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId]) {
|
|
30509
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId] = {};
|
|
30508
30510
|
|
|
30509
|
-
|
|
30510
|
-
|
|
30511
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
30512
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
30513
|
+
}
|
|
30511
30514
|
}
|
|
30512
30515
|
}
|
|
30513
30516
|
|