@xuda.io/runtime-bundle 1.0.291 → 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 +13 -13
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +13 -13
- package/js/xuda-runtime-slim.min.es.js +13 -13
- 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 -13
- package/js/xuda-worker-bundle.js +13 -13
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -5240,23 +5240,23 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, j
|
|
|
5240
5240
|
val.result = _ds.data_feed.rows[row_idx][val.fieldId];
|
|
5241
5241
|
}
|
|
5242
5242
|
}
|
|
5243
|
+
} catch (err) {
|
|
5244
|
+
// console.error(err);
|
|
5245
|
+
}
|
|
5243
5246
|
|
|
5244
|
-
|
|
5245
|
-
|
|
5247
|
+
if (_ds?.progDataSource?.datasetOutputField) {
|
|
5248
|
+
let datasource_changes = {};
|
|
5246
5249
|
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5250
|
+
let _ds = _session.DS_GLB[ret_get_value.dsSessionP];
|
|
5251
|
+
if (!datasource_changes[_ds.dsSession]) {
|
|
5252
|
+
datasource_changes[_ds.dsSession] = {};
|
|
5253
|
+
}
|
|
5254
|
+
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
5255
|
+
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
5253
5256
|
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
}
|
|
5257
|
+
datasource_changes[_ds.dsSession][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
5258
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
5257
5259
|
}
|
|
5258
|
-
} catch (err) {
|
|
5259
|
-
// console.error(err);
|
|
5260
5260
|
}
|
|
5261
5261
|
|
|
5262
5262
|
func.utils.debug.log(SESSION_ID, nodeIdP, {
|
|
@@ -5241,23 +5241,23 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, j
|
|
|
5241
5241
|
val.result = _ds.data_feed.rows[row_idx][val.fieldId];
|
|
5242
5242
|
}
|
|
5243
5243
|
}
|
|
5244
|
+
} catch (err) {
|
|
5245
|
+
// console.error(err);
|
|
5246
|
+
}
|
|
5244
5247
|
|
|
5245
|
-
|
|
5246
|
-
|
|
5248
|
+
if (_ds?.progDataSource?.datasetOutputField) {
|
|
5249
|
+
let datasource_changes = {};
|
|
5247
5250
|
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5251
|
+
let _ds = _session.DS_GLB[ret_get_value.dsSessionP];
|
|
5252
|
+
if (!datasource_changes[_ds.dsSession]) {
|
|
5253
|
+
datasource_changes[_ds.dsSession] = {};
|
|
5254
|
+
}
|
|
5255
|
+
if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
|
|
5256
|
+
datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
|
|
5254
5257
|
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
}
|
|
5258
|
+
datasource_changes[_ds.dsSession][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
|
|
5259
|
+
await func.datasource.update(SESSION_ID, datasource_changes);
|
|
5258
5260
|
}
|
|
5259
|
-
} catch (err) {
|
|
5260
|
-
// console.error(err);
|
|
5261
5261
|
}
|
|
5262
5262
|
|
|
5263
5263
|
func.utils.debug.log(SESSION_ID, nodeIdP, {
|