@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
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -5243,18 +5243,21 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNo
|
|
|
5243
5243
|
} catch (err) {
|
|
5244
5244
|
// console.error(err);
|
|
5245
5245
|
}
|
|
5246
|
+
const datasetOutputField = _ds?.progDataSource?.datasetOutputField;
|
|
5247
|
+
if (datasetOutputField) {
|
|
5248
|
+
let ret_get_value = await func.datasource.get_value(SESSION_ID, datasetOutputField, _ds.dsSession);
|
|
5249
|
+
if (ret_get_value.found) {
|
|
5250
|
+
let datasource_changes = {};
|
|
5246
5251
|
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
}
|
|
5253
|
-
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
5254
|
-
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
5252
|
+
if (!datasource_changes[ret_get_value.dsSessionP]) {
|
|
5253
|
+
datasource_changes[ret_get_value.dsSessionP] = {};
|
|
5254
|
+
}
|
|
5255
|
+
if (!datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId]) {
|
|
5256
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId] = {};
|
|
5255
5257
|
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
5259
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
5260
|
+
}
|
|
5258
5261
|
}
|
|
5259
5262
|
}
|
|
5260
5263
|
|
|
@@ -5244,18 +5244,21 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNo
|
|
|
5244
5244
|
} catch (err) {
|
|
5245
5245
|
// console.error(err);
|
|
5246
5246
|
}
|
|
5247
|
+
const datasetOutputField = _ds?.progDataSource?.datasetOutputField;
|
|
5248
|
+
if (datasetOutputField) {
|
|
5249
|
+
let ret_get_value = await func.datasource.get_value(SESSION_ID, datasetOutputField, _ds.dsSession);
|
|
5250
|
+
if (ret_get_value.found) {
|
|
5251
|
+
let datasource_changes = {};
|
|
5247
5252
|
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
}
|
|
5254
|
-
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
5255
|
-
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
5253
|
+
if (!datasource_changes[ret_get_value.dsSessionP]) {
|
|
5254
|
+
datasource_changes[ret_get_value.dsSessionP] = {};
|
|
5255
|
+
}
|
|
5256
|
+
if (!datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId]) {
|
|
5257
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId] = {};
|
|
5256
5258
|
|
|
5257
|
-
|
|
5258
|
-
|
|
5259
|
+
datasource_changes[ret_get_value.dsSessionP][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
5260
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
5261
|
+
}
|
|
5259
5262
|
}
|
|
5260
5263
|
}
|
|
5261
5264
|
|