@xuda.io/runtime-bundle 1.0.295 → 1.0.297

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.
@@ -28989,7 +28989,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
28989
28989
  await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'on_load');
28990
28990
  }
28991
28991
  // }
28992
- return await func.datasource.callback(SESSION_ID, dataSourceSession, args.dataSourceNoP, args.rowIdP, args.jobNoP, null, _ds.prog_id);
28992
+ return await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
28993
28993
  };
28994
28994
 
28995
28995
  const get_limit = async function () {
@@ -29533,7 +29533,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
29533
29533
  await func.datasource.execute_field_init_events(SESSION_ID, dataSourceSession, 'form', 'newRecord');
29534
29534
  }
29535
29535
  }
29536
- await func.datasource.callback(SESSION_ID, dataSourceSession, args.dataSourceNoP, args.rowIdP, args.jobNoP, null, _ds.prog_id);
29536
+ await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
29537
29537
  };
29538
29538
  if (!rows) {
29539
29539
  await row_not_found();
@@ -30294,6 +30294,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
30294
30294
  };
30295
30295
  func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_refresh) {
30296
30296
  return new Promise(async (resolve, reject) => {
30297
+ debugger;
30297
30298
  var _session = SESSION_OBJ[SESSION_ID];
30298
30299
 
30299
30300
  if (_session.IS_API || typeof IS_MASTER_WEBSOCKET !== 'undefined' || typeof IS_PROCESS_SERVER !== 'undefined') {
@@ -30475,7 +30476,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
30475
30476
  });
30476
30477
  };
30477
30478
 
30478
- func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, jobNoP, NA_callingDataSourceP, NA_isInitP, nodeIdP) {
30479
+ func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNoP, nodeIdP) {
30479
30480
  var _session = SESSION_OBJ[SESSION_ID];
30480
30481
  var _ds = _session.DS_GLB[dsSessionP];
30481
30482
 
@@ -30506,7 +30507,7 @@ func.datasource.callback = async function (SESSION_ID, dsSessionP, na, rowIdP, j
30506
30507
  if (!datasource_changes[_ds.dsSession][_ds.currentRecordId]) {
30507
30508
  datasource_changes[_ds.dsSession][_ds.currentRecordId] = {};
30508
30509
 
30509
- datasource_changes[_ds.dsSession][ret_get_value.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
30510
+ datasource_changes[_ds.dsSession][_ds.currentRecordId][_ds?.progDataSource?.datasetOutputField] = _ds?.data_feed?.rows || [];
30510
30511
  await func.datasource.update(SESSION_ID, datasource_changes);
30511
30512
  }
30512
30513
  }