@xuda.io/runtime-bundle 1.0.301 → 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 +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
|
@@ -3619,18 +3619,21 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNo
|
|
|
3619
3619
|
} catch (err) {
|
|
3620
3620
|
// console.error(err);
|
|
3621
3621
|
}
|
|
3622
|
+
const datasetOutputField = ds?.progDataSource?.datasetOutputField;
|
|
3623
|
+
if (datasetOutputField) {
|
|
3624
|
+
let ret_get_value = await func.datasource.get_value(SESSION_ID, datasetOutputField, _ds.dsSession);
|
|
3625
|
+
if (ret_get_value.found) {
|
|
3626
|
+
let datasource_changes = {};
|
|
3622
3627
|
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
}
|
|
3629
|
-
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
3630
|
-
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
3628
|
+
if (!datasource_changes[ret_get_value.dsSessionP]) {
|
|
3629
|
+
datasource_changes[ret_get_value.dsSessionP] = {};
|
|
3630
|
+
}
|
|
3631
|
+
if (!datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId]) {
|
|
3632
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId] = {};
|
|
3631
3633
|
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
3635
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
3636
|
+
}
|
|
3634
3637
|
}
|
|
3635
3638
|
}
|
|
3636
3639
|
|
package/js/xuda-worker-bundle.js
CHANGED
|
@@ -3619,18 +3619,21 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNo
|
|
|
3619
3619
|
} catch (err) {
|
|
3620
3620
|
// console.error(err);
|
|
3621
3621
|
}
|
|
3622
|
+
const datasetOutputField = ds?.progDataSource?.datasetOutputField;
|
|
3623
|
+
if (datasetOutputField) {
|
|
3624
|
+
let ret_get_value = await func.datasource.get_value(SESSION_ID, datasetOutputField, _ds.dsSession);
|
|
3625
|
+
if (ret_get_value.found) {
|
|
3626
|
+
let datasource_changes = {};
|
|
3622
3627
|
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
}
|
|
3629
|
-
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
3630
|
-
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
3628
|
+
if (!datasource_changes[ret_get_value.dsSessionP]) {
|
|
3629
|
+
datasource_changes[ret_get_value.dsSessionP] = {};
|
|
3630
|
+
}
|
|
3631
|
+
if (!datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId]) {
|
|
3632
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId] = {};
|
|
3631
3633
|
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
3635
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
3636
|
+
}
|
|
3634
3637
|
}
|
|
3635
3638
|
}
|
|
3636
3639
|
|