@xuda.io/runtime-bundle 1.0.301 → 1.0.303
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 -10
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +13 -10
- package/js/xuda-runtime-slim.min.es.js +13 -10
- 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 -10
- package/js/xuda-worker-bundle.js +13 -10
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|