@xuda.io/runtime-bundle 1.0.292 → 1.0.293
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 -14
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +14 -14
- package/js/xuda-runtime-slim.min.es.js +14 -14
- 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 -14
- package/js/xuda-worker-bundle.js +14 -14
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
|
@@ -30478,7 +30478,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
30478
30478
|
func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, jobNoP, NA_callingDataSourceP, NA_isInitP, nodeIdP) {
|
|
30479
30479
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
30480
30480
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
30481
|
-
|
|
30481
|
+
|
|
30482
30482
|
try {
|
|
30483
30483
|
const row_idx = func.common.find_ROWID_idx(_ds, 'dataset');
|
|
30484
30484
|
|
|
@@ -30493,23 +30493,23 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, j
|
|
|
30493
30493
|
val.result = _ds.data_feed.rows[row_idx][val.fieldId];
|
|
30494
30494
|
}
|
|
30495
30495
|
}
|
|
30496
|
+
} catch (err) {
|
|
30497
|
+
// console.error(err);
|
|
30498
|
+
}
|
|
30496
30499
|
|
|
30497
|
-
|
|
30498
|
-
|
|
30500
|
+
if (_ds?.progDataSource?.datasetOutputField) {
|
|
30501
|
+
let datasource_changes = {};
|
|
30499
30502
|
|
|
30500
|
-
|
|
30501
|
-
|
|
30502
|
-
|
|
30503
|
-
|
|
30504
|
-
|
|
30505
|
-
|
|
30503
|
+
let _ds = _session.DS_GLB[ret_get_value.dsSessionP];
|
|
30504
|
+
if (!datasource_changes[_ds.dsSession]) {
|
|
30505
|
+
datasource_changes[_ds.dsSession] = {};
|
|
30506
|
+
}
|
|
30507
|
+
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
30508
|
+
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
30506
30509
|
|
|
30507
|
-
|
|
30508
|
-
|
|
30509
|
-
}
|
|
30510
|
+
datasource_changes[_ds.dsSession][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
30511
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
30510
30512
|
}
|
|
30511
|
-
} catch (err) {
|
|
30512
|
-
// console.error(err);
|
|
30513
30513
|
}
|
|
30514
30514
|
|
|
30515
30515
|
func.utils.debug.log(SESSION_ID, nodeIdP, {
|