@xuda.io/runtime-bundle 1.0.296 → 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.
- package/js/xuda-runtime-bundle.js +4 -3
- package/js/xuda-runtime-bundle.min.js +1 -1
- package/js/xuda-runtime-slim.js +4 -3
- package/js/xuda-runtime-slim.min.es.js +4 -3
- package/js/xuda-runtime-slim.min.js +1 -1
- package/js/xuda-server-bundle.min.mjs +1 -1
- package/js/xuda-server-bundle.mjs +4 -3
- package/js/xuda-worker-bundle.js +4 -3
- package/js/xuda-worker-bundle.min.js +1 -1
- package/package.json +1 -1
package/js/xuda-runtime-slim.js
CHANGED
|
@@ -3736,7 +3736,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3736
3736
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'on_load');
|
|
3737
3737
|
}
|
|
3738
3738
|
// }
|
|
3739
|
-
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
3739
|
+
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
3740
3740
|
};
|
|
3741
3741
|
|
|
3742
3742
|
const get_limit = async function () {
|
|
@@ -4280,7 +4280,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4280
4280
|
await func.datasource.execute_field_init_events(SESSION_ID, dataSourceSession, 'form', 'newRecord');
|
|
4281
4281
|
}
|
|
4282
4282
|
}
|
|
4283
|
-
await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
4283
|
+
await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
4284
4284
|
};
|
|
4285
4285
|
if (!rows) {
|
|
4286
4286
|
await row_not_found();
|
|
@@ -5041,6 +5041,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
5041
5041
|
};
|
|
5042
5042
|
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_refresh) {
|
|
5043
5043
|
return new Promise(async (resolve, reject) => {
|
|
5044
|
+
debugger;
|
|
5044
5045
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
5045
5046
|
|
|
5046
5047
|
if (_session.IS_API || typeof IS_MASTER_WEBSOCKET !== 'undefined' || typeof IS_PROCESS_SERVER !== 'undefined') {
|
|
@@ -5222,7 +5223,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5222
5223
|
});
|
|
5223
5224
|
};
|
|
5224
5225
|
|
|
5225
|
-
func.datasource.callback = async function (SESSION_ID, dsSessionP,
|
|
5226
|
+
func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNoP, nodeIdP) {
|
|
5226
5227
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
5227
5228
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
5228
5229
|
|
|
@@ -3737,7 +3737,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
3737
3737
|
await func.datasource.execute_view_events(SESSION_ID, dataSourceSession, 'on_load');
|
|
3738
3738
|
}
|
|
3739
3739
|
// }
|
|
3740
|
-
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
3740
|
+
return await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
3741
3741
|
};
|
|
3742
3742
|
|
|
3743
3743
|
const get_limit = async function () {
|
|
@@ -4281,7 +4281,7 @@ func.datasource.execute = async function (SESSION_ID, dataSourceSession, IS_DATA
|
|
|
4281
4281
|
await func.datasource.execute_field_init_events(SESSION_ID, dataSourceSession, 'form', 'newRecord');
|
|
4282
4282
|
}
|
|
4283
4283
|
}
|
|
4284
|
-
await func.datasource.callback(SESSION_ID, dataSourceSession, args.
|
|
4284
|
+
await func.datasource.callback(SESSION_ID, dataSourceSession, args.rowIdP, args.jobNoP, _ds.prog_id);
|
|
4285
4285
|
};
|
|
4286
4286
|
if (!rows) {
|
|
4287
4287
|
await row_not_found();
|
|
@@ -5042,6 +5042,7 @@ func.datasource.del = function (SESSION_ID, dsP) {
|
|
|
5042
5042
|
};
|
|
5043
5043
|
func.datasource.update = async function (SESSION_ID, datasource_changes, update_local_scope_only, avoid_refresh) {
|
|
5044
5044
|
return new Promise(async (resolve, reject) => {
|
|
5045
|
+
debugger;
|
|
5045
5046
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
5046
5047
|
|
|
5047
5048
|
if (_session.IS_API || typeof IS_MASTER_WEBSOCKET !== 'undefined' || typeof IS_PROCESS_SERVER !== 'undefined') {
|
|
@@ -5223,7 +5224,7 @@ func.datasource.update = async function (SESSION_ID, datasource_changes, update_
|
|
|
5223
5224
|
});
|
|
5224
5225
|
};
|
|
5225
5226
|
|
|
5226
|
-
func.datasource.callback = async function (SESSION_ID, dsSessionP,
|
|
5227
|
+
func.datasource.callback = async function (SESSION_ID, dsSessionP, rowIdP, jobNoP, nodeIdP) {
|
|
5227
5228
|
var _session = SESSION_OBJ[SESSION_ID];
|
|
5228
5229
|
var _ds = _session.DS_GLB[dsSessionP];
|
|
5229
5230
|
|